diff --git a/docs/BulkCheckBody.md b/docs/BulkCheckBody.md
new file mode 100644
index 0000000..a9413e4
--- /dev/null
+++ b/docs/BulkCheckBody.md
@@ -0,0 +1,33 @@
+# BulkCheckBody
+
+PermissionBulkCheckRequest is the request message for the BulkCheck method in the Permission service.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**metadata** | [**PermissionCheckRequestMetadata**](PermissionCheckRequestMetadata.md) | | [optional]
+**items** | [**List[PermissionBulkCheckRequestItem]**](PermissionBulkCheckRequestItem.md) | List of permission check requests, maximum 100 items. | [optional]
+**context** | [**Context**](Context.md) | | [optional]
+**arguments** | [**List[Argument]**](Argument.md) | Additional arguments associated with this request. | [optional]
+
+## Example
+
+```python
+from permify.models.bulk_check_body import BulkCheckBody
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of BulkCheckBody from a JSON string
+bulk_check_body_instance = BulkCheckBody.from_json(json)
+# print the JSON string representation of the object
+print BulkCheckBody.to_json()
+
+# convert the object into a dict
+bulk_check_body_dict = bulk_check_body_instance.to_dict()
+# create an instance of BulkCheckBody from a dict
+bulk_check_body_form_dict = bulk_check_body.from_dict(bulk_check_body_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/Component.md b/docs/Component.md
new file mode 100644
index 0000000..6aafd21
--- /dev/null
+++ b/docs/Component.md
@@ -0,0 +1,12 @@
+# Component
+
+CEL component specifier. - COMPONENT_PARSER: Parser. Converts a CEL string to an AST. - COMPONENT_TYPE_CHECKER: Type checker. Checks that references in an AST are defined and types agree. - COMPONENT_RUNTIME: Runtime. Evaluates a parsed and optionally checked CEL AST against a context.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/Comprehension.md b/docs/Comprehension.md
index 839063f..30f2693 100644
--- a/docs/Comprehension.md
+++ b/docs/Comprehension.md
@@ -1,12 +1,13 @@
# Comprehension
-A comprehension expression applied to a list or map. Comprehensions are not part of the core syntax, but enabled with macros. A macro matches a specific call signature within a parsed AST and replaces the call with an alternate AST block. Macro expansion happens at parse time. The following macros are supported within CEL: Aggregate type macros may be applied to all elements in a list or all keys in a map: * `all`, `exists`, `exists_one` - test a predicate expression against the inputs and return `true` if the predicate is satisfied for all, any, or only one value `list.all(x, x < 10)`. * `filter` - test a predicate expression against the inputs and return the subset of elements which satisfy the predicate: `payments.filter(p, p > 1000)`. * `map` - apply an expression to all elements in the input and return the output aggregate type: `[1, 2, 3].map(i, i * i)`. The `has(m.x)` macro tests whether the property `x` is present in struct `m`. The semantics of this macro depend on the type of `m`. For proto2 messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the macro tests whether the property is set to its default. For map and struct types, the macro tests whether the property `x` is defined on `m`.
+A comprehension expression applied to a list or map. Comprehensions are not part of the core syntax, but enabled with macros. A macro matches a specific call signature within a parsed AST and replaces the call with an alternate AST block. Macro expansion happens at parse time. The following macros are supported within CEL: Aggregate type macros may be applied to all elements in a list or all keys in a map: * `all`, `exists`, `exists_one` - test a predicate expression against the inputs and return `true` if the predicate is satisfied for all, any, or only one value `list.all(x, x < 10)`. * `filter` - test a predicate expression against the inputs and return the subset of elements which satisfy the predicate: `payments.filter(p, p > 1000)`. * `map` - apply an expression to all elements in the input and return the output aggregate type: `[1, 2, 3].map(i, i * i)`. The `has(m.x)` macro tests whether the property `x` is present in struct `m`. The semantics of this macro depend on the type of `m`. For proto2 messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the macro tests whether the property is set to its default. For map and struct types, the macro tests whether the property `x` is defined on `m`. Comprehensions for the standard environment macros evaluation can be best visualized as the following pseudocode: ``` let `accu_var` = `accu_init` for (let `iter_var` in `iter_range`) { if (!`loop_condition`) { break } `accu_var` = `loop_step` } return `result` ``` Comprehensions for the optional V2 macros which support map-to-map translation differ slightly from the standard environment macros in that they expose both the key or index in addition to the value for each list or map entry: ``` let `accu_var` = `accu_init` for (let `iter_var`, `iter_var2` in `iter_range`) { if (!`loop_condition`) { break } `accu_var` = `loop_step` } return `result` ```
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**iter_var** | **str** | The name of the iteration variable. | [optional]
+**iter_var** | **str** | The name of the first iteration variable. When the iter_range is a list, this variable is the list element. When the iter_range is a map, this variable is the map entry key. | [optional]
+**iter_var2** | **str** | The name of the second iteration variable, empty if not set. When the iter_range is a list, this variable is the integer index. When the iter_range is a map, this variable is the map entry value. This field is only set for comprehension v2 macros. | [optional]
**iter_range** | [**Expr**](Expr.md) | | [optional]
**accu_var** | **str** | The name of the variable used for accumulation of the result. | [optional]
**accu_init** | [**Expr**](Expr.md) | | [optional]
diff --git a/docs/Extension.md b/docs/Extension.md
new file mode 100644
index 0000000..ec5e917
--- /dev/null
+++ b/docs/Extension.md
@@ -0,0 +1,32 @@
+# Extension
+
+An extension that was requested for the source expression.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | | [optional]
+**affected_components** | [**List[Component]**](Component.md) | If set, the listed components must understand the extension for the expression to evaluate correctly. This field has set semantics, repeated values should be deduplicated. | [optional]
+**version** | [**Version**](Version.md) | | [optional]
+
+## Example
+
+```python
+from permify.models.extension import Extension
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of Extension from a JSON string
+extension_instance = Extension.from_json(json)
+# print the JSON string representation of the object
+print Extension.to_json()
+
+# convert the object into a dict
+extension_dict = extension_instance.to_dict()
+# create an instance of Extension from a dict
+extension_form_dict = extension.from_dict(extension_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PermissionApi.md b/docs/PermissionApi.md
index 938f5e6..2a025ba 100644
--- a/docs/PermissionApi.md
+++ b/docs/PermissionApi.md
@@ -4,6 +4,7 @@ All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
+[**permissions_bulk_check**](PermissionApi.md#permissions_bulk_check) | **POST** /v1/tenants/{tenant_id}/permissions/bulk-check | bulk check api
[**permissions_check**](PermissionApi.md#permissions_check) | **POST** /v1/tenants/{tenant_id}/permissions/check | check api
[**permissions_expand**](PermissionApi.md#permissions_expand) | **POST** /v1/tenants/{tenant_id}/permissions/expand | expand api
[**permissions_lookup_entity**](PermissionApi.md#permissions_lookup_entity) | **POST** /v1/tenants/{tenant_id}/permissions/lookup-entity | lookup entity
@@ -12,6 +13,80 @@ Method | HTTP request | Description
[**permissions_subject_permission**](PermissionApi.md#permissions_subject_permission) | **POST** /v1/tenants/{tenant_id}/permissions/subject-permission | subject permission
+# **permissions_bulk_check**
+> PermissionBulkCheckResponse permissions_bulk_check(tenant_id, body)
+
+bulk check api
+
+Check multiple permissions in a single request. Maximum 100 requests allowed.
+
+### Example
+
+
+```python
+import time
+import os
+import permify
+from permify.models.bulk_check_body import BulkCheckBody
+from permify.models.permission_bulk_check_response import PermissionBulkCheckResponse
+from permify.rest import ApiException
+from pprint import pprint
+
+# Defining the host is optional and defaults to http://localhost
+# See configuration.py for a list of all supported configuration parameters.
+configuration = permify.Configuration(
+ host = "http://localhost"
+)
+
+
+# Enter a context with an instance of the API client
+with permify.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = permify.PermissionApi(api_client)
+ tenant_id = 'tenant_id_example' # str | Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant t1 for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.
+ body = permify.BulkCheckBody() # BulkCheckBody |
+
+ try:
+ # bulk check api
+ api_response = api_instance.permissions_bulk_check(tenant_id, body)
+ print("The response of PermissionApi->permissions_bulk_check:\n")
+ pprint(api_response)
+ except Exception as e:
+ print("Exception when calling PermissionApi->permissions_bulk_check: %s\n" % e)
+```
+
+
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **tenant_id** | **str**| Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. |
+ **body** | [**BulkCheckBody**](BulkCheckBody.md)| |
+
+### Return type
+
+[**PermissionBulkCheckResponse**](PermissionBulkCheckResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | A successful response. | - |
+**0** | An unexpected error response. | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **permissions_check**
> PermissionCheckResponse permissions_check(tenant_id, body)
diff --git a/docs/PermissionBulkCheckRequestItem.md b/docs/PermissionBulkCheckRequestItem.md
new file mode 100644
index 0000000..f80ec33
--- /dev/null
+++ b/docs/PermissionBulkCheckRequestItem.md
@@ -0,0 +1,31 @@
+# PermissionBulkCheckRequestItem
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**entity** | [**Entity**](Entity.md) | | [optional]
+**permission** | **str** | The action the user wants to perform on the resource | [optional]
+**subject** | [**Subject**](Subject.md) | | [optional]
+
+## Example
+
+```python
+from permify.models.permission_bulk_check_request_item import PermissionBulkCheckRequestItem
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of PermissionBulkCheckRequestItem from a JSON string
+permission_bulk_check_request_item_instance = PermissionBulkCheckRequestItem.from_json(json)
+# print the JSON string representation of the object
+print PermissionBulkCheckRequestItem.to_json()
+
+# convert the object into a dict
+permission_bulk_check_request_item_dict = permission_bulk_check_request_item_instance.to_dict()
+# create an instance of PermissionBulkCheckRequestItem from a dict
+permission_bulk_check_request_item_form_dict = permission_bulk_check_request_item.from_dict(permission_bulk_check_request_item_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PermissionBulkCheckResponse.md b/docs/PermissionBulkCheckResponse.md
new file mode 100644
index 0000000..081da4c
--- /dev/null
+++ b/docs/PermissionBulkCheckResponse.md
@@ -0,0 +1,30 @@
+# PermissionBulkCheckResponse
+
+PermissionBulkCheckResponse is the response message for the BulkCheck method in the Permission service.
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**results** | [**List[PermissionCheckResponse]**](PermissionCheckResponse.md) | List of permission check responses corresponding to each request. | [optional]
+
+## Example
+
+```python
+from permify.models.permission_bulk_check_response import PermissionBulkCheckResponse
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of PermissionBulkCheckResponse from a JSON string
+permission_bulk_check_response_instance = PermissionBulkCheckResponse.from_json(json)
+# print the JSON string representation of the object
+print PermissionBulkCheckResponse.to_json()
+
+# convert the object into a dict
+permission_bulk_check_response_dict = permission_bulk_check_response_instance.to_dict()
+# create an instance of PermissionBulkCheckResponse from a dict
+permission_bulk_check_response_form_dict = permission_bulk_check_response.from_dict(permission_bulk_check_response_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/SourceInfo.md b/docs/SourceInfo.md
index e98a782..621339a 100644
--- a/docs/SourceInfo.md
+++ b/docs/SourceInfo.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**line_offsets** | **List[int]** | Monotonically increasing list of code point offsets where newlines `\\n` appear. The line number of a given position is the index `i` where for a given `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The column may be derivd from `id_positions[id] - line_offsets[i]`. | [optional]
**positions** | **Dict[str, int]** | A map from the parse node id (e.g. `Expr.id`) to the code point offset within the source. | [optional]
**macro_calls** | [**Dict[str, Expr]**](Expr.md) | A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion. For example, `has(value.field)` is a function call that is replaced by a `test_only` field selection in the AST. Likewise, the call `list.exists(e, e > 10)` translates to a comprehension expression. The key in the map corresponds to the expression id of the expanded macro, and the value is the call `Expr` that was replaced. | [optional]
+**extensions** | [**List[Extension]**](Extension.md) | A list of tags for extensions that were used while parsing or type checking the source expression. For example, optimizations that require special runtime support may be specified. These are used to check feature support between components in separate implementations. This can be used to either skip redundant work or report an error if the extension is unsupported. | [optional]
## Example
diff --git a/docs/Version.md b/docs/Version.md
new file mode 100644
index 0000000..7b308af
--- /dev/null
+++ b/docs/Version.md
@@ -0,0 +1,30 @@
+# Version
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**major** | **str** | Major version changes indicate different required support level from the required components. | [optional]
+**minor** | **str** | Minor version changes must not change the observed behavior from existing implementations, but may be provided informationally. | [optional]
+
+## Example
+
+```python
+from permify.models.version import Version
+
+# TODO update the JSON string below
+json = "{}"
+# create an instance of Version from a JSON string
+version_instance = Version.from_json(json)
+# print the JSON string representation of the object
+print Version.to_json()
+
+# convert the object into a dict
+version_dict = version_instance.to_dict()
+# create an instance of Version from a dict
+version_form_dict = version.from_dict(version_dict)
+```
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/generator/openapi.json b/generator/openapi.json
index 6b60679..c9f5c0f 100644
--- a/generator/openapi.json
+++ b/generator/openapi.json
@@ -3,7 +3,7 @@
"info": {
"title": "Permify API",
"description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.",
- "version": "v1.4.4",
+ "version": "v1.5.4",
"contact": {
"name": "API Support",
"url": "https://github.com/Permify/permify/issues",
@@ -651,6 +651,47 @@
]
}
},
+ "/v1/tenants/{tenant_id}/permissions/bulk-check": {
+ "post": {
+ "summary": "bulk check api",
+ "description": "Check multiple permissions in a single request. Maximum 100 requests allowed.",
+ "operationId": "permissions.bulk-check",
+ "responses": {
+ "200": {
+ "description": "A successful response.",
+ "schema": {
+ "$ref": "#/definitions/PermissionBulkCheckResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/Status"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "tenant_id",
+ "description": "Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant \u003ccode\u003et1\u003c/code\u003e for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BulkCheckBody"
+ }
+ }
+ ],
+ "tags": [
+ "Permission"
+ ]
+ }
+ },
"/v1/tenants/{tenant_id}/permissions/check": {
"post": {
"summary": "check api",
@@ -1477,6 +1518,36 @@
],
"description": "Enumerates the types of attribute.\n\n - ATTRIBUTE_TYPE_BOOLEAN: A boolean attribute type.\n - ATTRIBUTE_TYPE_BOOLEAN_ARRAY: A boolean array attribute type.\n - ATTRIBUTE_TYPE_STRING: A string attribute type.\n - ATTRIBUTE_TYPE_STRING_ARRAY: A string array attribute type.\n - ATTRIBUTE_TYPE_INTEGER: An integer attribute type.\n - ATTRIBUTE_TYPE_INTEGER_ARRAY: An integer array attribute type.\n - ATTRIBUTE_TYPE_DOUBLE: A double attribute type.\n - ATTRIBUTE_TYPE_DOUBLE_ARRAY: A double array attribute type."
},
+ "BulkCheckBody": {
+ "type": "object",
+ "properties": {
+ "metadata": {
+ "$ref": "#/definitions/PermissionCheckRequestMetadata",
+ "description": "Metadata associated with this request, required."
+ },
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/PermissionBulkCheckRequestItem"
+ },
+ "description": "List of permission check requests, maximum 100 items."
+ },
+ "context": {
+ "$ref": "#/definitions/Context",
+ "description": "Contextual data that can be dynamically added to permission check requests. See details on [Contextual Data](../../operations/contextual-tuples)"
+ },
+ "arguments": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/Argument"
+ },
+ "description": "Additional arguments associated with this request."
+ }
+ },
+ "description": "PermissionBulkCheckRequest is the request message for the BulkCheck method in the Permission service."
+ },
"Bundle.DeleteBody": {
"type": "object",
"properties": {
@@ -1637,16 +1708,29 @@
},
"description": "Child represents a node in the permission tree."
},
+ "Component": {
+ "type": "string",
+ "enum": [
+ "COMPONENT_PARSER",
+ "COMPONENT_TYPE_CHECKER",
+ "COMPONENT_RUNTIME"
+ ],
+ "description": "CEL component specifier.\n\n - COMPONENT_PARSER: Parser. Converts a CEL string to an AST.\n - COMPONENT_TYPE_CHECKER: Type checker. Checks that references in an AST are defined and types\nagree.\n - COMPONENT_RUNTIME: Runtime. Evaluates a parsed and optionally checked CEL AST against a\ncontext."
+ },
"Comprehension": {
"type": "object",
"properties": {
"iterVar": {
"type": "string",
- "description": "The name of the iteration variable."
+ "description": "The name of the first iteration variable.\nWhen the iter_range is a list, this variable is the list element.\nWhen the iter_range is a map, this variable is the map entry key."
+ },
+ "iterVar2": {
+ "type": "string",
+ "description": "The name of the second iteration variable, empty if not set.\nWhen the iter_range is a list, this variable is the integer index.\nWhen the iter_range is a map, this variable is the map entry value.\nThis field is only set for comprehension v2 macros."
},
"iterRange": {
"$ref": "#/definitions/Expr",
- "description": "The range over which var iterates."
+ "description": "The range over which the comprehension iterates."
},
"accuVar": {
"type": "string",
@@ -1658,18 +1742,18 @@
},
"loopCondition": {
"$ref": "#/definitions/Expr",
- "description": "An expression which can contain iter_var and accu_var.\n\nReturns false when the result has been computed and may be used as\na hint to short-circuit the remainder of the comprehension."
+ "description": "An expression which can contain iter_var, iter_var2, and accu_var.\n\nReturns false when the result has been computed and may be used as\na hint to short-circuit the remainder of the comprehension."
},
"loopStep": {
"$ref": "#/definitions/Expr",
- "description": "An expression which can contain iter_var and accu_var.\n\nComputes the next value of accu_var."
+ "description": "An expression which can contain iter_var, iter_var2, and accu_var.\n\nComputes the next value of accu_var."
},
"result": {
"$ref": "#/definitions/Expr",
"description": "An expression which can contain accu_var.\n\nComputes the result."
}
},
- "description": "A comprehension expression applied to a list or map.\n\nComprehensions are not part of the core syntax, but enabled with macros.\nA macro matches a specific call signature within a parsed AST and replaces\nthe call with an alternate AST block. Macro expansion happens at parse\ntime.\n\nThe following macros are supported within CEL:\n\nAggregate type macros may be applied to all elements in a list or all keys\nin a map:\n\n* `all`, `exists`, `exists_one` - test a predicate expression against\n the inputs and return `true` if the predicate is satisfied for all,\n any, or only one value `list.all(x, x \u003c 10)`.\n* `filter` - test a predicate expression against the inputs and return\n the subset of elements which satisfy the predicate:\n `payments.filter(p, p \u003e 1000)`.\n* `map` - apply an expression to all elements in the input and return the\n output aggregate type: `[1, 2, 3].map(i, i * i)`.\n\nThe `has(m.x)` macro tests whether the property `x` is present in struct\n`m`. The semantics of this macro depend on the type of `m`. For proto2\nmessages `has(m.x)` is defined as 'defined, but not set`. For proto3, the\nmacro tests whether the property is set to its default. For map and struct\ntypes, the macro tests whether the property `x` is defined on `m`."
+ "description": "A comprehension expression applied to a list or map.\n\nComprehensions are not part of the core syntax, but enabled with macros.\nA macro matches a specific call signature within a parsed AST and replaces\nthe call with an alternate AST block. Macro expansion happens at parse\ntime.\n\nThe following macros are supported within CEL:\n\nAggregate type macros may be applied to all elements in a list or all keys\nin a map:\n\n* `all`, `exists`, `exists_one` - test a predicate expression against\n the inputs and return `true` if the predicate is satisfied for all,\n any, or only one value `list.all(x, x \u003c 10)`.\n* `filter` - test a predicate expression against the inputs and return\n the subset of elements which satisfy the predicate:\n `payments.filter(p, p \u003e 1000)`.\n* `map` - apply an expression to all elements in the input and return the\n output aggregate type: `[1, 2, 3].map(i, i * i)`.\n\nThe `has(m.x)` macro tests whether the property `x` is present in struct\n`m`. The semantics of this macro depend on the type of `m`. For proto2\nmessages `has(m.x)` is defined as 'defined, but not set`. For proto3, the\nmacro tests whether the property is set to its default. For map and struct\ntypes, the macro tests whether the property `x` is defined on `m`.\n\nComprehensions for the standard environment macros evaluation can be best\nvisualized as the following pseudocode:\n\n```\nlet `accu_var` = `accu_init`\nfor (let `iter_var` in `iter_range`) {\n if (!`loop_condition`) {\n break\n }\n `accu_var` = `loop_step`\n}\nreturn `result`\n```\n\nComprehensions for the optional V2 macros which support map-to-map\ntranslation differ slightly from the standard environment macros in that\nthey expose both the key or index in addition to the value for each list\nor map entry:\n\n```\nlet `accu_var` = `accu_init`\nfor (let `iter_var`, `iter_var2` in `iter_range`) {\n if (!`loop_condition`) {\n break\n }\n `accu_var` = `loop_step`\n}\nreturn `result`\n```"
},
"ComputedAttribute": {
"type": "object",
@@ -1736,7 +1820,7 @@
"description": "protobuf.Timestamp value.\n\nDeprecated: timestamp is no longer considered a builtin cel type."
}
},
- "description": "Represents a primitive literal.\n\nNamed 'Constant' here for backwards compatibility.\n\nThis is similar as the primitives supported in the well-known type\n`google.protobuf.Value`, but richer so it can represent CEL's full range of\nprimitives.\n\nLists and structs are not included as constants as these aggregate types may\ncontain [Expr][google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant.\n\nExamples of literals include: `\"hello\"`, `b'bytes'`, `1u`, `4.2`, `-2`,\n`true`, `null`."
+ "description": "Represents a primitive literal.\n\nNamed 'Constant' here for backwards compatibility.\n\nThis is similar as the primitives supported in the well-known type\n`google.protobuf.Value`, but richer so it can represent CEL's full range of\nprimitives.\n\nLists and structs are not included as constants as these aggregate types may\ncontain [Expr][google.api.expr.v1alpha1.Expr] elements which require\nevaluation and are thus not constant.\n\nExamples of literals include: `\"hello\"`, `b'bytes'`, `1u`, `4.2`, `-2`,\n`true`, `null`."
},
"Context": {
"type": "object",
@@ -2137,7 +2221,7 @@
"description": "A comprehension expression."
}
},
- "description": "An abstract representation of a common expression.\n\nExpressions are abstractly represented as a collection of identifiers,\nselect statements, function calls, literals, and comprehensions. All\noperators with the exception of the '.' operator are modelled as function\ncalls. This makes it easy to represent new operators into the existing AST.\n\nAll references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at\ntype-check for an expression to be valid. A reference may either be a bare\nidentifier `name` or a qualified identifier `google.api.name`. References\nmay either refer to a value or a function declaration.\n\nFor example, the expression `google.api.name.startsWith('expr')` references\nthe declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and\nthe function declaration `startsWith`."
+ "description": "An abstract representation of a common expression.\n\nExpressions are abstractly represented as a collection of identifiers,\nselect statements, function calls, literals, and comprehensions. All\noperators with the exception of the '.' operator are modelled as function\ncalls. This makes it easy to represent new operators into the existing AST.\n\nAll references within expressions must resolve to a\n[Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an\nexpression to be valid. A reference may either be a bare identifier `name` or\na qualified identifier `google.api.name`. References may either refer to a\nvalue or a function declaration.\n\nFor example, the expression `google.api.name.startsWith('expr')` references\nthe declaration `google.api.name` within a\n[Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the\nfunction declaration `startsWith`."
},
"Expr.Call": {
"type": "object",
@@ -2161,6 +2245,27 @@
},
"description": "A call expression, including calls to predefined functions and operators.\n\nFor example, `value == 10`, `size(map_value)`."
},
+ "Extension": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "Identifier for the extension. Example: constant_folding"
+ },
+ "affectedComponents": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Component"
+ },
+ "description": "If set, the listed components must understand the extension for the\nexpression to evaluate correctly.\n\nThis field has set semantics, repeated values should be deduplicated."
+ },
+ "version": {
+ "$ref": "#/definitions/Version",
+ "description": "Version info. May be skipped if it isn't meaningful for the extension.\n(for example constant_folding might always be v0.0)."
+ }
+ },
+ "description": "An extension that was requested for the source expression."
+ },
"FunctionType": {
"type": "object",
"properties": {
@@ -2184,7 +2289,7 @@
"properties": {
"name": {
"type": "string",
- "description": "Required. Holds a single, unqualified identifier, possibly preceded by a\n'.'.\n\nQualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression."
+ "description": "Required. Holds a single, unqualified identifier, possibly preceded by a\n'.'.\n\nQualified names are represented by the\n[Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression."
}
},
"description": "An identifier expression. e.g. `request`."
@@ -2437,6 +2542,39 @@
},
"description": "PermissionExpandRequest is the request message for the Expand method in the Permission service."
},
+ "PermissionBulkCheckRequestItem": {
+ "type": "object",
+ "properties": {
+ "entity": {
+ "$ref": "#/definitions/Entity",
+ "example": "repository:1",
+ "description": "Entity on which the permission needs to be checked, required."
+ },
+ "permission": {
+ "type": "string",
+ "description": "The action the user wants to perform on the resource"
+ },
+ "subject": {
+ "$ref": "#/definitions/Subject",
+ "description": "Subject for which the permission needs to be checked, required."
+ }
+ },
+ "title": "BULK CHECK"
+ },
+ "PermissionBulkCheckResponse": {
+ "type": "object",
+ "properties": {
+ "results": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/PermissionCheckResponse"
+ },
+ "description": "List of permission check responses corresponding to each request."
+ }
+ },
+ "description": "PermissionBulkCheckResponse is the response message for the BulkCheck method in the Permission service."
+ },
"PermissionCheckRequestMetadata": {
"type": "object",
"properties": {
@@ -3058,6 +3196,14 @@
"$ref": "#/definitions/Expr"
},
"description": "A map from the parse node id where a macro replacement was made to the\ncall `Expr` that resulted in a macro expansion.\n\nFor example, `has(value.field)` is a function call that is replaced by a\n`test_only` field selection in the AST. Likewise, the call\n`list.exists(e, e \u003e 10)` translates to a comprehension expression. The key\nin the map corresponds to the expression id of the expanded macro, and the\nvalue is the call `Expr` that was replaced."
+ },
+ "extensions": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/Extension"
+ },
+ "description": "A list of tags for extensions that were used while parsing or type checking\nthe source expression. For example, optimizations that require special\nruntime support may be specified.\n\nThese are used to check feature support between components in separate\nimplementations. This can be used to either skip redundant work or\nreport an error if the extension is unsupported."
}
},
"description": "Source information collected at parse time."
@@ -3316,6 +3462,22 @@
}
}
},
+ "Version": {
+ "type": "object",
+ "properties": {
+ "major": {
+ "type": "string",
+ "format": "int64",
+ "description": "Major version changes indicate different required support level from\nthe required components."
+ },
+ "minor": {
+ "type": "string",
+ "format": "int64",
+ "description": "Minor version changes must not change the observed behavior from\nexisting implementations, but may be provided informationally."
+ }
+ },
+ "title": "Version"
+ },
"WatchBody": {
"type": "object",
"properties": {
diff --git a/permify/__init__.py b/permify/__init__.py
index 9696911..070eef2 100644
--- a/permify/__init__.py
+++ b/permify/__init__.py
@@ -7,7 +7,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -15,7 +15,7 @@
""" # noqa: E501
-__version__ = "v1.4.4"
+__version__ = "v1.5.4"
# import apis into sdk package
from permify.api.bundle_api import BundleApi
@@ -46,6 +46,7 @@
from permify.models.attribute_read_request_metadata import AttributeReadRequestMetadata
from permify.models.attribute_read_response import AttributeReadResponse
from permify.models.attribute_type import AttributeType
+from permify.models.bulk_check_body import BulkCheckBody
from permify.models.bundle_delete_body import BundleDeleteBody
from permify.models.bundle_delete_response import BundleDeleteResponse
from permify.models.bundle_read_body import BundleReadBody
@@ -57,6 +58,7 @@
from permify.models.check_result import CheckResult
from permify.models.checked_expr import CheckedExpr
from permify.models.child import Child
+from permify.models.component import Component
from permify.models.comprehension import Comprehension
from permify.models.computed_attribute import ComputedAttribute
from permify.models.computed_user_set import ComputedUserSet
@@ -84,6 +86,7 @@
from permify.models.expand_tree_node_operation import ExpandTreeNodeOperation
from permify.models.expr import Expr
from permify.models.expr_call import ExprCall
+from permify.models.extension import Extension
from permify.models.function_type import FunctionType
from permify.models.ident import Ident
from permify.models.leaf import Leaf
@@ -94,6 +97,8 @@
from permify.models.map_type import MapType
from permify.models.partial_write_body import PartialWriteBody
from permify.models.partials import Partials
+from permify.models.permission_bulk_check_request_item import PermissionBulkCheckRequestItem
+from permify.models.permission_bulk_check_response import PermissionBulkCheckResponse
from permify.models.permission_check_request_metadata import PermissionCheckRequestMetadata
from permify.models.permission_check_response import PermissionCheckResponse
from permify.models.permission_check_response_metadata import PermissionCheckResponseMetadata
@@ -160,6 +165,7 @@
from permify.models.v1alpha1_reference import V1alpha1Reference
from permify.models.v1alpha1_type import V1alpha1Type
from permify.models.values import Values
+from permify.models.version import Version
from permify.models.watch_body import WatchBody
from permify.models.watch_response import WatchResponse
from permify.models.well_known_type import WellKnownType
diff --git a/permify/api/bundle_api.py b/permify/api/bundle_api.py
index 5c5bb42..065d690 100644
--- a/permify/api/bundle_api.py
+++ b/permify/api/bundle_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/api/data_api.py b/permify/api/data_api.py
index b941c33..2636c74 100644
--- a/permify/api/data_api.py
+++ b/permify/api/data_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/api/permission_api.py b/permify/api/permission_api.py
index 89a7682..34749a4 100644
--- a/permify/api/permission_api.py
+++ b/permify/api/permission_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -28,10 +28,12 @@
from typing_extensions import Annotated
from pydantic import StrictStr
+from permify.models.bulk_check_body import BulkCheckBody
from permify.models.check_body import CheckBody
from permify.models.lookup_entity_body import LookupEntityBody
from permify.models.lookup_entity_stream_body import LookupEntityStreamBody
from permify.models.lookup_subject_body import LookupSubjectBody
+from permify.models.permission_bulk_check_response import PermissionBulkCheckResponse
from permify.models.permission_check_response import PermissionCheckResponse
from permify.models.permission_expand_body import PermissionExpandBody
from permify.models.permission_expand_response import PermissionExpandResponse
@@ -59,6 +61,291 @@ def __init__(self, api_client=None) -> None:
self.api_client = api_client
+ @validate_call
+ def permissions_bulk_check(
+ self,
+ tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant t1 for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
+ body: BulkCheckBody,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> PermissionBulkCheckResponse:
+ """bulk check api
+
+ Check multiple permissions in a single request. Maximum 100 requests allowed.
+
+ :param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant t1 for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
+ :type tenant_id: str
+ :param body: (required)
+ :type body: BulkCheckBody
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._permissions_bulk_check_serialize(
+ tenant_id=tenant_id,
+ body=body,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "PermissionBulkCheckResponse",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ ).data
+
+
+ @validate_call
+ def permissions_bulk_check_with_http_info(
+ self,
+ tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant t1 for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
+ body: BulkCheckBody,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> ApiResponse[PermissionBulkCheckResponse]:
+ """bulk check api
+
+ Check multiple permissions in a single request. Maximum 100 requests allowed.
+
+ :param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant t1 for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
+ :type tenant_id: str
+ :param body: (required)
+ :type body: BulkCheckBody
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._permissions_bulk_check_serialize(
+ tenant_id=tenant_id,
+ body=body,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "PermissionBulkCheckResponse",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ response_data.read()
+ return self.api_client.response_deserialize(
+ response_data=response_data,
+ response_types_map=_response_types_map,
+ )
+
+
+ @validate_call
+ def permissions_bulk_check_without_preload_content(
+ self,
+ tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant t1 for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
+ body: BulkCheckBody,
+ _request_timeout: Union[
+ None,
+ Annotated[StrictFloat, Field(gt=0)],
+ Tuple[
+ Annotated[StrictFloat, Field(gt=0)],
+ Annotated[StrictFloat, Field(gt=0)]
+ ]
+ ] = None,
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
+ _content_type: Optional[StrictStr] = None,
+ _headers: Optional[Dict[StrictStr, Any]] = None,
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
+ ) -> RESTResponseType:
+ """bulk check api
+
+ Check multiple permissions in a single request. Maximum 100 requests allowed.
+
+ :param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant t1 for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
+ :type tenant_id: str
+ :param body: (required)
+ :type body: BulkCheckBody
+ :param _request_timeout: timeout setting for this request. If one
+ number provided, it will be total request
+ timeout. It can also be a pair (tuple) of
+ (connection, read) timeouts.
+ :type _request_timeout: int, tuple(int, int), optional
+ :param _request_auth: set to override the auth_settings for an a single
+ request; this effectively ignores the
+ authentication in the spec for a single request.
+ :type _request_auth: dict, optional
+ :param _content_type: force content-type for the request.
+ :type _content_type: str, Optional
+ :param _headers: set to override the headers for a single
+ request; this effectively ignores the headers
+ in the spec for a single request.
+ :type _headers: dict, optional
+ :param _host_index: set to override the host_index for a single
+ request; this effectively ignores the host_index
+ in the spec for a single request.
+ :type _host_index: int, optional
+ :return: Returns the result object.
+ """ # noqa: E501
+
+ _param = self._permissions_bulk_check_serialize(
+ tenant_id=tenant_id,
+ body=body,
+ _request_auth=_request_auth,
+ _content_type=_content_type,
+ _headers=_headers,
+ _host_index=_host_index
+ )
+
+ _response_types_map: Dict[str, Optional[str]] = {
+ '200': "PermissionBulkCheckResponse",
+ }
+ response_data = self.api_client.call_api(
+ *_param,
+ _request_timeout=_request_timeout
+ )
+ return response_data.response
+
+
+ def _permissions_bulk_check_serialize(
+ self,
+ tenant_id,
+ body,
+ _request_auth,
+ _content_type,
+ _headers,
+ _host_index,
+ ) -> Tuple:
+
+ _host = None
+
+ _collection_formats: Dict[str, str] = {
+ }
+
+ _path_params: Dict[str, str] = {}
+ _query_params: List[Tuple[str, str]] = []
+ _header_params: Dict[str, Optional[str]] = _headers or {}
+ _form_params: List[Tuple[str, str]] = []
+ _files: Dict[str, str] = {}
+ _body_params: Optional[bytes] = None
+
+ # process the path parameters
+ if tenant_id is not None:
+ _path_params['tenant_id'] = tenant_id
+ # process the query parameters
+ # process the header parameters
+ # process the form parameters
+ # process the body parameter
+ if body is not None:
+ _body_params = body
+
+
+ # set the HTTP header `Accept`
+ _header_params['Accept'] = self.api_client.select_header_accept(
+ [
+ 'application/json'
+ ]
+ )
+
+ # set the HTTP header `Content-Type`
+ if _content_type:
+ _header_params['Content-Type'] = _content_type
+ else:
+ _default_content_type = (
+ self.api_client.select_header_content_type(
+ [
+ 'application/json'
+ ]
+ )
+ )
+ if _default_content_type is not None:
+ _header_params['Content-Type'] = _default_content_type
+
+ # authentication setting
+ _auth_settings: List[str] = [
+ ]
+
+ return self.api_client.param_serialize(
+ method='POST',
+ resource_path='/v1/tenants/{tenant_id}/permissions/bulk-check',
+ path_params=_path_params,
+ query_params=_query_params,
+ header_params=_header_params,
+ body=_body_params,
+ post_params=_form_params,
+ files=_files,
+ auth_settings=_auth_settings,
+ collection_formats=_collection_formats,
+ _host=_host,
+ _request_auth=_request_auth
+ )
+
+
+
+
@validate_call
def permissions_check(
self,
diff --git a/permify/api/schema_api.py b/permify/api/schema_api.py
index 055d476..bea8c62 100644
--- a/permify/api/schema_api.py
+++ b/permify/api/schema_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/api/tenancy_api.py b/permify/api/tenancy_api.py
index bdbe9dc..4a93f07 100644
--- a/permify/api/tenancy_api.py
+++ b/permify/api/tenancy_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/api/watch_api.py b/permify/api/watch_api.py
index db7b833..00261dc 100644
--- a/permify/api/watch_api.py
+++ b/permify/api/watch_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/api_client.py b/permify/api_client.py
index 9d0fe37..dc4d3d0 100644
--- a/permify/api_client.py
+++ b/permify/api_client.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -87,7 +87,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
- self.user_agent = 'OpenAPI-Generator/v1.4.4/python'
+ self.user_agent = 'OpenAPI-Generator/v1.5.4/python'
self.client_side_validation = configuration.client_side_validation
def __enter__(self):
diff --git a/permify/configuration.py b/permify/configuration.py
index 0a1c142..34b0e22 100644
--- a/permify/configuration.py
+++ b/permify/configuration.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -397,8 +397,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
- "Version of the API: v1.4.4\n"\
- "SDK Package Version: v1.4.4".\
+ "Version of the API: v1.5.4\n"\
+ "SDK Package Version: v1.5.4".\
format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self):
diff --git a/permify/exceptions.py b/permify/exceptions.py
index afdf5a4..3812dfa 100644
--- a/permify/exceptions.py
+++ b/permify/exceptions.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/__init__.py b/permify/models/__init__.py
index 4504634..baca84e 100644
--- a/permify/models/__init__.py
+++ b/permify/models/__init__.py
@@ -6,7 +6,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -24,6 +24,7 @@
from permify.models.attribute_read_request_metadata import AttributeReadRequestMetadata
from permify.models.attribute_read_response import AttributeReadResponse
from permify.models.attribute_type import AttributeType
+from permify.models.bulk_check_body import BulkCheckBody
from permify.models.bundle_delete_body import BundleDeleteBody
from permify.models.bundle_delete_response import BundleDeleteResponse
from permify.models.bundle_read_body import BundleReadBody
@@ -35,6 +36,7 @@
from permify.models.check_result import CheckResult
from permify.models.checked_expr import CheckedExpr
from permify.models.child import Child
+from permify.models.component import Component
from permify.models.comprehension import Comprehension
from permify.models.computed_attribute import ComputedAttribute
from permify.models.computed_user_set import ComputedUserSet
@@ -62,6 +64,7 @@
from permify.models.expand_tree_node_operation import ExpandTreeNodeOperation
from permify.models.expr import Expr
from permify.models.expr_call import ExprCall
+from permify.models.extension import Extension
from permify.models.function_type import FunctionType
from permify.models.ident import Ident
from permify.models.leaf import Leaf
@@ -72,6 +75,8 @@
from permify.models.map_type import MapType
from permify.models.partial_write_body import PartialWriteBody
from permify.models.partials import Partials
+from permify.models.permission_bulk_check_request_item import PermissionBulkCheckRequestItem
+from permify.models.permission_bulk_check_response import PermissionBulkCheckResponse
from permify.models.permission_check_request_metadata import PermissionCheckRequestMetadata
from permify.models.permission_check_response import PermissionCheckResponse
from permify.models.permission_check_response_metadata import PermissionCheckResponseMetadata
@@ -138,6 +143,7 @@
from permify.models.v1alpha1_reference import V1alpha1Reference
from permify.models.v1alpha1_type import V1alpha1Type
from permify.models.values import Values
+from permify.models.version import Version
from permify.models.watch_body import WatchBody
from permify.models.watch_response import WatchResponse
from permify.models.well_known_type import WellKnownType
diff --git a/permify/models/abstract_type.py b/permify/models/abstract_type.py
index 65b2630..89cdff1 100644
--- a/permify/models/abstract_type.py
+++ b/permify/models/abstract_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/any.py b/permify/models/any.py
index aafe423..e6f9e3b 100644
--- a/permify/models/any.py
+++ b/permify/models/any.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/argument.py b/permify/models/argument.py
index 208c4ff..08b4a9d 100644
--- a/permify/models/argument.py
+++ b/permify/models/argument.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/attribute.py b/permify/models/attribute.py
index 6fc80a9..8ba0cbc 100644
--- a/permify/models/attribute.py
+++ b/permify/models/attribute.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/attribute_definition.py b/permify/models/attribute_definition.py
index af60a04..de5134c 100644
--- a/permify/models/attribute_definition.py
+++ b/permify/models/attribute_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/attribute_filter.py b/permify/models/attribute_filter.py
index b7caeb2..fb79b1a 100644
--- a/permify/models/attribute_filter.py
+++ b/permify/models/attribute_filter.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/attribute_read_request_metadata.py b/permify/models/attribute_read_request_metadata.py
index fd36b54..a238bc6 100644
--- a/permify/models/attribute_read_request_metadata.py
+++ b/permify/models/attribute_read_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/attribute_read_response.py b/permify/models/attribute_read_response.py
index 1889091..224e363 100644
--- a/permify/models/attribute_read_response.py
+++ b/permify/models/attribute_read_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/attribute_type.py b/permify/models/attribute_type.py
index e6b27b2..e8a1474 100644
--- a/permify/models/attribute_type.py
+++ b/permify/models/attribute_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/bulk_check_body.py b/permify/models/bulk_check_body.py
new file mode 100644
index 0000000..99c753e
--- /dev/null
+++ b/permify/models/bulk_check_body.py
@@ -0,0 +1,120 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+
+from typing import Any, ClassVar, Dict, List, Optional
+from pydantic import BaseModel
+from pydantic import Field
+from permify.models.argument import Argument
+from permify.models.context import Context
+from permify.models.permission_bulk_check_request_item import PermissionBulkCheckRequestItem
+from permify.models.permission_check_request_metadata import PermissionCheckRequestMetadata
+try:
+ from typing import Self
+except ImportError:
+ from typing_extensions import Self
+
+class BulkCheckBody(BaseModel):
+ """
+ PermissionBulkCheckRequest is the request message for the BulkCheck method in the Permission service.
+ """ # noqa: E501
+ metadata: Optional[PermissionCheckRequestMetadata] = None
+ items: Optional[List[PermissionBulkCheckRequestItem]] = Field(default=None, description="List of permission check requests, maximum 100 items.")
+ context: Optional[Context] = None
+ arguments: Optional[List[Argument]] = Field(default=None, description="Additional arguments associated with this request.")
+ __properties: ClassVar[List[str]] = ["metadata", "items", "context", "arguments"]
+
+ model_config = {
+ "populate_by_name": True,
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
+ return json.dumps(self.to_dict())
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Create an instance of BulkCheckBody from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude={
+ },
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of metadata
+ if self.metadata:
+ _dict['metadata'] = self.metadata.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in items (list)
+ _items = []
+ if self.items:
+ for _item in self.items:
+ if _item:
+ _items.append(_item.to_dict())
+ _dict['items'] = _items
+ # override the default output from pydantic by calling `to_dict()` of context
+ if self.context:
+ _dict['context'] = self.context.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of each item in arguments (list)
+ _items = []
+ if self.arguments:
+ for _item in self.arguments:
+ if _item:
+ _items.append(_item.to_dict())
+ _dict['arguments'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Dict) -> Self:
+ """Create an instance of BulkCheckBody from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "metadata": PermissionCheckRequestMetadata.from_dict(obj.get("metadata")) if obj.get("metadata") is not None else None,
+ "items": [PermissionBulkCheckRequestItem.from_dict(_item) for _item in obj.get("items")] if obj.get("items") is not None else None,
+ "context": Context.from_dict(obj.get("context")) if obj.get("context") is not None else None,
+ "arguments": [Argument.from_dict(_item) for _item in obj.get("arguments")] if obj.get("arguments") is not None else None
+ })
+ return _obj
+
+
diff --git a/permify/models/bundle_delete_body.py b/permify/models/bundle_delete_body.py
index 7105e57..ebf1dd3 100644
--- a/permify/models/bundle_delete_body.py
+++ b/permify/models/bundle_delete_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/bundle_delete_response.py b/permify/models/bundle_delete_response.py
index 3a95de5..8797740 100644
--- a/permify/models/bundle_delete_response.py
+++ b/permify/models/bundle_delete_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/bundle_read_body.py b/permify/models/bundle_read_body.py
index aba753b..4f2d062 100644
--- a/permify/models/bundle_read_body.py
+++ b/permify/models/bundle_read_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/bundle_read_response.py b/permify/models/bundle_read_response.py
index 258b8e8..f6cc62a 100644
--- a/permify/models/bundle_read_response.py
+++ b/permify/models/bundle_read_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/bundle_run_response.py b/permify/models/bundle_run_response.py
index 586598d..bbcfcd3 100644
--- a/permify/models/bundle_run_response.py
+++ b/permify/models/bundle_run_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/bundle_write_body.py b/permify/models/bundle_write_body.py
index 977f2fc..e9899d2 100644
--- a/permify/models/bundle_write_body.py
+++ b/permify/models/bundle_write_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/bundle_write_response.py b/permify/models/bundle_write_response.py
index ff0732a..eb7a275 100644
--- a/permify/models/bundle_write_response.py
+++ b/permify/models/bundle_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/check_body.py b/permify/models/check_body.py
index 751967e..e4ff801 100644
--- a/permify/models/check_body.py
+++ b/permify/models/check_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/check_result.py b/permify/models/check_result.py
index 2c71eee..b0fe059 100644
--- a/permify/models/check_result.py
+++ b/permify/models/check_result.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/checked_expr.py b/permify/models/checked_expr.py
index 4c2212f..a9e01b1 100644
--- a/permify/models/checked_expr.py
+++ b/permify/models/checked_expr.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/child.py b/permify/models/child.py
index 556a99d..4349e88 100644
--- a/permify/models/child.py
+++ b/permify/models/child.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/component.py b/permify/models/component.py
new file mode 100644
index 0000000..9fcb1f6
--- /dev/null
+++ b/permify/models/component.py
@@ -0,0 +1,47 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import json
+import pprint
+import re # noqa: F401
+from enum import Enum
+
+
+
+try:
+ from typing import Self
+except ImportError:
+ from typing_extensions import Self
+
+
+class Component(str, Enum):
+ """
+ CEL component specifier. - COMPONENT_PARSER: Parser. Converts a CEL string to an AST. - COMPONENT_TYPE_CHECKER: Type checker. Checks that references in an AST are defined and types agree. - COMPONENT_RUNTIME: Runtime. Evaluates a parsed and optionally checked CEL AST against a context.
+ """
+
+ """
+ allowed enum values
+ """
+ COMPONENT_PARSER = 'COMPONENT_PARSER'
+ COMPONENT_TYPE_CHECKER = 'COMPONENT_TYPE_CHECKER'
+ COMPONENT_RUNTIME = 'COMPONENT_RUNTIME'
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Create an instance of Component from a JSON string"""
+ return cls(json.loads(json_str))
+
+
diff --git a/permify/models/comprehension.py b/permify/models/comprehension.py
index 9ff57cb..648b6df 100644
--- a/permify/models/comprehension.py
+++ b/permify/models/comprehension.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -29,16 +29,17 @@
class Comprehension(BaseModel):
"""
- A comprehension expression applied to a list or map. Comprehensions are not part of the core syntax, but enabled with macros. A macro matches a specific call signature within a parsed AST and replaces the call with an alternate AST block. Macro expansion happens at parse time. The following macros are supported within CEL: Aggregate type macros may be applied to all elements in a list or all keys in a map: * `all`, `exists`, `exists_one` - test a predicate expression against the inputs and return `true` if the predicate is satisfied for all, any, or only one value `list.all(x, x < 10)`. * `filter` - test a predicate expression against the inputs and return the subset of elements which satisfy the predicate: `payments.filter(p, p > 1000)`. * `map` - apply an expression to all elements in the input and return the output aggregate type: `[1, 2, 3].map(i, i * i)`. The `has(m.x)` macro tests whether the property `x` is present in struct `m`. The semantics of this macro depend on the type of `m`. For proto2 messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the macro tests whether the property is set to its default. For map and struct types, the macro tests whether the property `x` is defined on `m`.
+ A comprehension expression applied to a list or map. Comprehensions are not part of the core syntax, but enabled with macros. A macro matches a specific call signature within a parsed AST and replaces the call with an alternate AST block. Macro expansion happens at parse time. The following macros are supported within CEL: Aggregate type macros may be applied to all elements in a list or all keys in a map: * `all`, `exists`, `exists_one` - test a predicate expression against the inputs and return `true` if the predicate is satisfied for all, any, or only one value `list.all(x, x < 10)`. * `filter` - test a predicate expression against the inputs and return the subset of elements which satisfy the predicate: `payments.filter(p, p > 1000)`. * `map` - apply an expression to all elements in the input and return the output aggregate type: `[1, 2, 3].map(i, i * i)`. The `has(m.x)` macro tests whether the property `x` is present in struct `m`. The semantics of this macro depend on the type of `m`. For proto2 messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the macro tests whether the property is set to its default. For map and struct types, the macro tests whether the property `x` is defined on `m`. Comprehensions for the standard environment macros evaluation can be best visualized as the following pseudocode: ``` let `accu_var` = `accu_init` for (let `iter_var` in `iter_range`) { if (!`loop_condition`) { break } `accu_var` = `loop_step` } return `result` ``` Comprehensions for the optional V2 macros which support map-to-map translation differ slightly from the standard environment macros in that they expose both the key or index in addition to the value for each list or map entry: ``` let `accu_var` = `accu_init` for (let `iter_var`, `iter_var2` in `iter_range`) { if (!`loop_condition`) { break } `accu_var` = `loop_step` } return `result` ```
""" # noqa: E501
- iter_var: Optional[StrictStr] = Field(default=None, description="The name of the iteration variable.", alias="iterVar")
+ iter_var: Optional[StrictStr] = Field(default=None, description="The name of the first iteration variable. When the iter_range is a list, this variable is the list element. When the iter_range is a map, this variable is the map entry key.", alias="iterVar")
+ iter_var2: Optional[StrictStr] = Field(default=None, description="The name of the second iteration variable, empty if not set. When the iter_range is a list, this variable is the integer index. When the iter_range is a map, this variable is the map entry value. This field is only set for comprehension v2 macros.", alias="iterVar2")
iter_range: Optional[Expr] = Field(default=None, alias="iterRange")
accu_var: Optional[StrictStr] = Field(default=None, description="The name of the variable used for accumulation of the result.", alias="accuVar")
accu_init: Optional[Expr] = Field(default=None, alias="accuInit")
loop_condition: Optional[Expr] = Field(default=None, alias="loopCondition")
loop_step: Optional[Expr] = Field(default=None, alias="loopStep")
result: Optional[Expr] = None
- __properties: ClassVar[List[str]] = ["iterVar", "iterRange", "accuVar", "accuInit", "loopCondition", "loopStep", "result"]
+ __properties: ClassVar[List[str]] = ["iterVar", "iterVar2", "iterRange", "accuVar", "accuInit", "loopCondition", "loopStep", "result"]
model_config = {
"populate_by_name": True,
@@ -105,6 +106,7 @@ def from_dict(cls, obj: Dict) -> Self:
_obj = cls.model_validate({
"iterVar": obj.get("iterVar"),
+ "iterVar2": obj.get("iterVar2"),
"iterRange": Expr.from_dict(obj.get("iterRange")) if obj.get("iterRange") is not None else None,
"accuVar": obj.get("accuVar"),
"accuInit": Expr.from_dict(obj.get("accuInit")) if obj.get("accuInit") is not None else None,
diff --git a/permify/models/computed_attribute.py b/permify/models/computed_attribute.py
index 7c332ff..37d77be 100644
--- a/permify/models/computed_attribute.py
+++ b/permify/models/computed_attribute.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/computed_user_set.py b/permify/models/computed_user_set.py
index c5a10c9..d04e146 100644
--- a/permify/models/computed_user_set.py
+++ b/permify/models/computed_user_set.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/constant.py b/permify/models/constant.py
index 2f3a722..cef5fd2 100644
--- a/permify/models/constant.py
+++ b/permify/models/constant.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/context.py b/permify/models/context.py
index 7231e39..6b7e59f 100644
--- a/permify/models/context.py
+++ b/permify/models/context.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/create_list.py b/permify/models/create_list.py
index 0b1eb14..5b4c217 100644
--- a/permify/models/create_list.py
+++ b/permify/models/create_list.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/create_struct.py b/permify/models/create_struct.py
index 6d4a850..c927ff0 100644
--- a/permify/models/create_struct.py
+++ b/permify/models/create_struct.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_bundle.py b/permify/models/data_bundle.py
index 85e3ece..0d769d3 100644
--- a/permify/models/data_bundle.py
+++ b/permify/models/data_bundle.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_change.py b/permify/models/data_change.py
index 74ff3da..119a4a3 100644
--- a/permify/models/data_change.py
+++ b/permify/models/data_change.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_change_operation.py b/permify/models/data_change_operation.py
index cbfbebf..2f62455 100644
--- a/permify/models/data_change_operation.py
+++ b/permify/models/data_change_operation.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_changes.py b/permify/models/data_changes.py
index 6ece8cf..ed85235 100644
--- a/permify/models/data_changes.py
+++ b/permify/models/data_changes.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_delete_body.py b/permify/models/data_delete_body.py
index 3e16dcb..8590235 100644
--- a/permify/models/data_delete_body.py
+++ b/permify/models/data_delete_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_delete_response.py b/permify/models/data_delete_response.py
index 7485615..62ec35d 100644
--- a/permify/models/data_delete_response.py
+++ b/permify/models/data_delete_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_write_body.py b/permify/models/data_write_body.py
index 4107380..78c1d59 100644
--- a/permify/models/data_write_body.py
+++ b/permify/models/data_write_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_write_request_metadata.py b/permify/models/data_write_request_metadata.py
index 8fbcffe..e2f2bfd 100644
--- a/permify/models/data_write_request_metadata.py
+++ b/permify/models/data_write_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/data_write_response.py b/permify/models/data_write_response.py
index 7f4961b..f6dd4cc 100644
--- a/permify/models/data_write_response.py
+++ b/permify/models/data_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/delete_relationships_body.py b/permify/models/delete_relationships_body.py
index f10da02..b324559 100644
--- a/permify/models/delete_relationships_body.py
+++ b/permify/models/delete_relationships_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/entity.py b/permify/models/entity.py
index 4437948..ce7bd7f 100644
--- a/permify/models/entity.py
+++ b/permify/models/entity.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/entity_definition.py b/permify/models/entity_definition.py
index 1ac001b..473370d 100644
--- a/permify/models/entity_definition.py
+++ b/permify/models/entity_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/entity_definition_reference.py b/permify/models/entity_definition_reference.py
index cc28822..eb5004d 100644
--- a/permify/models/entity_definition_reference.py
+++ b/permify/models/entity_definition_reference.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/entity_filter.py b/permify/models/entity_filter.py
index 176af28..0d8f9a5 100644
--- a/permify/models/entity_filter.py
+++ b/permify/models/entity_filter.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/entry.py b/permify/models/entry.py
index 7ca59b8..bd478f4 100644
--- a/permify/models/entry.py
+++ b/permify/models/entry.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/expand_leaf.py b/permify/models/expand_leaf.py
index 1a8045e..a298966 100644
--- a/permify/models/expand_leaf.py
+++ b/permify/models/expand_leaf.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/expand_tree_node.py b/permify/models/expand_tree_node.py
index 853718d..7e04f30 100644
--- a/permify/models/expand_tree_node.py
+++ b/permify/models/expand_tree_node.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/expand_tree_node_operation.py b/permify/models/expand_tree_node_operation.py
index fe6fda3..3fb9b6d 100644
--- a/permify/models/expand_tree_node_operation.py
+++ b/permify/models/expand_tree_node_operation.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/expr.py b/permify/models/expr.py
index fab6639..6295eb8 100644
--- a/permify/models/expr.py
+++ b/permify/models/expr.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/expr_call.py b/permify/models/expr_call.py
index 1347470..16707cd 100644
--- a/permify/models/expr_call.py
+++ b/permify/models/expr_call.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/extension.py b/permify/models/extension.py
new file mode 100644
index 0000000..b3c131b
--- /dev/null
+++ b/permify/models/extension.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+
+from typing import Any, ClassVar, Dict, List, Optional
+from pydantic import BaseModel, StrictStr
+from pydantic import Field
+from permify.models.component import Component
+from permify.models.version import Version
+try:
+ from typing import Self
+except ImportError:
+ from typing_extensions import Self
+
+class Extension(BaseModel):
+ """
+ An extension that was requested for the source expression.
+ """ # noqa: E501
+ id: Optional[StrictStr] = None
+ affected_components: Optional[List[Component]] = Field(default=None, description="If set, the listed components must understand the extension for the expression to evaluate correctly. This field has set semantics, repeated values should be deduplicated.", alias="affectedComponents")
+ version: Optional[Version] = None
+ __properties: ClassVar[List[str]] = ["id", "affectedComponents", "version"]
+
+ model_config = {
+ "populate_by_name": True,
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
+ return json.dumps(self.to_dict())
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Create an instance of Extension from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude={
+ },
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of version
+ if self.version:
+ _dict['version'] = self.version.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Dict) -> Self:
+ """Create an instance of Extension from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "id": obj.get("id"),
+ "affectedComponents": obj.get("affectedComponents"),
+ "version": Version.from_dict(obj.get("version")) if obj.get("version") is not None else None
+ })
+ return _obj
+
+
diff --git a/permify/models/function_type.py b/permify/models/function_type.py
index e218f16..aedc29e 100644
--- a/permify/models/function_type.py
+++ b/permify/models/function_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/ident.py b/permify/models/ident.py
index aa650b5..1c0a1fb 100644
--- a/permify/models/ident.py
+++ b/permify/models/ident.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/leaf.py b/permify/models/leaf.py
index ed43a1f..07d7301 100644
--- a/permify/models/leaf.py
+++ b/permify/models/leaf.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/list_type.py b/permify/models/list_type.py
index ce354fb..0307115 100644
--- a/permify/models/list_type.py
+++ b/permify/models/list_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/lookup_entity_body.py b/permify/models/lookup_entity_body.py
index 980e450..1f9199f 100644
--- a/permify/models/lookup_entity_body.py
+++ b/permify/models/lookup_entity_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/lookup_entity_stream_body.py b/permify/models/lookup_entity_stream_body.py
index abe7884..1187229 100644
--- a/permify/models/lookup_entity_stream_body.py
+++ b/permify/models/lookup_entity_stream_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/lookup_subject_body.py b/permify/models/lookup_subject_body.py
index fd88c80..c5456c7 100644
--- a/permify/models/lookup_subject_body.py
+++ b/permify/models/lookup_subject_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/map_type.py b/permify/models/map_type.py
index 6aa1f32..5afc2f4 100644
--- a/permify/models/map_type.py
+++ b/permify/models/map_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/partial_write_body.py b/permify/models/partial_write_body.py
index 7157698..87a25e6 100644
--- a/permify/models/partial_write_body.py
+++ b/permify/models/partial_write_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/partials.py b/permify/models/partials.py
index 0e8b957..aa122cc 100644
--- a/permify/models/partials.py
+++ b/permify/models/partials.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_bulk_check_request_item.py b/permify/models/permission_bulk_check_request_item.py
new file mode 100644
index 0000000..edea792
--- /dev/null
+++ b/permify/models/permission_bulk_check_request_item.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+
+from typing import Any, ClassVar, Dict, List, Optional
+from pydantic import BaseModel, StrictStr
+from pydantic import Field
+from permify.models.entity import Entity
+from permify.models.subject import Subject
+try:
+ from typing import Self
+except ImportError:
+ from typing_extensions import Self
+
+class PermissionBulkCheckRequestItem(BaseModel):
+ """
+ PermissionBulkCheckRequestItem
+ """ # noqa: E501
+ entity: Optional[Entity] = None
+ permission: Optional[StrictStr] = Field(default=None, description="The action the user wants to perform on the resource")
+ subject: Optional[Subject] = None
+ __properties: ClassVar[List[str]] = ["entity", "permission", "subject"]
+
+ model_config = {
+ "populate_by_name": True,
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
+ return json.dumps(self.to_dict())
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Create an instance of PermissionBulkCheckRequestItem from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude={
+ },
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of entity
+ if self.entity:
+ _dict['entity'] = self.entity.to_dict()
+ # override the default output from pydantic by calling `to_dict()` of subject
+ if self.subject:
+ _dict['subject'] = self.subject.to_dict()
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Dict) -> Self:
+ """Create an instance of PermissionBulkCheckRequestItem from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "entity": Entity.from_dict(obj.get("entity")) if obj.get("entity") is not None else None,
+ "permission": obj.get("permission"),
+ "subject": Subject.from_dict(obj.get("subject")) if obj.get("subject") is not None else None
+ })
+ return _obj
+
+
diff --git a/permify/models/permission_bulk_check_response.py b/permify/models/permission_bulk_check_response.py
new file mode 100644
index 0000000..d63b60d
--- /dev/null
+++ b/permify/models/permission_bulk_check_response.py
@@ -0,0 +1,98 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+
+from typing import Any, ClassVar, Dict, List, Optional
+from pydantic import BaseModel
+from pydantic import Field
+from permify.models.permission_check_response import PermissionCheckResponse
+try:
+ from typing import Self
+except ImportError:
+ from typing_extensions import Self
+
+class PermissionBulkCheckResponse(BaseModel):
+ """
+ PermissionBulkCheckResponse is the response message for the BulkCheck method in the Permission service.
+ """ # noqa: E501
+ results: Optional[List[PermissionCheckResponse]] = Field(default=None, description="List of permission check responses corresponding to each request.")
+ __properties: ClassVar[List[str]] = ["results"]
+
+ model_config = {
+ "populate_by_name": True,
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
+ return json.dumps(self.to_dict())
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Create an instance of PermissionBulkCheckResponse from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude={
+ },
+ exclude_none=True,
+ )
+ # override the default output from pydantic by calling `to_dict()` of each item in results (list)
+ _items = []
+ if self.results:
+ for _item in self.results:
+ if _item:
+ _items.append(_item.to_dict())
+ _dict['results'] = _items
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Dict) -> Self:
+ """Create an instance of PermissionBulkCheckResponse from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "results": [PermissionCheckResponse.from_dict(_item) for _item in obj.get("results")] if obj.get("results") is not None else None
+ })
+ return _obj
+
+
diff --git a/permify/models/permission_check_request_metadata.py b/permify/models/permission_check_request_metadata.py
index 8e74adb..1e4ef82 100644
--- a/permify/models/permission_check_request_metadata.py
+++ b/permify/models/permission_check_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_check_response.py b/permify/models/permission_check_response.py
index ba74105..f087745 100644
--- a/permify/models/permission_check_response.py
+++ b/permify/models/permission_check_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_check_response_metadata.py b/permify/models/permission_check_response_metadata.py
index 01453d9..f5611d1 100644
--- a/permify/models/permission_check_response_metadata.py
+++ b/permify/models/permission_check_response_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_definition.py b/permify/models/permission_definition.py
index 82391d6..be151f5 100644
--- a/permify/models/permission_definition.py
+++ b/permify/models/permission_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_expand_body.py b/permify/models/permission_expand_body.py
index fe3bc17..8d7e8cd 100644
--- a/permify/models/permission_expand_body.py
+++ b/permify/models/permission_expand_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_expand_request_metadata.py b/permify/models/permission_expand_request_metadata.py
index e2995f0..f0a4067 100644
--- a/permify/models/permission_expand_request_metadata.py
+++ b/permify/models/permission_expand_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_expand_response.py b/permify/models/permission_expand_response.py
index cdc489a..b73e9e9 100644
--- a/permify/models/permission_expand_response.py
+++ b/permify/models/permission_expand_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_lookup_entity_request_metadata.py b/permify/models/permission_lookup_entity_request_metadata.py
index c7d9751..cc7bdb2 100644
--- a/permify/models/permission_lookup_entity_request_metadata.py
+++ b/permify/models/permission_lookup_entity_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_lookup_entity_response.py b/permify/models/permission_lookup_entity_response.py
index c96ee7e..fd77776 100644
--- a/permify/models/permission_lookup_entity_response.py
+++ b/permify/models/permission_lookup_entity_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_lookup_entity_stream_response.py b/permify/models/permission_lookup_entity_stream_response.py
index b859507..55c850f 100644
--- a/permify/models/permission_lookup_entity_stream_response.py
+++ b/permify/models/permission_lookup_entity_stream_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_lookup_subject_request_metadata.py b/permify/models/permission_lookup_subject_request_metadata.py
index 3e73be2..32c40de 100644
--- a/permify/models/permission_lookup_subject_request_metadata.py
+++ b/permify/models/permission_lookup_subject_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_lookup_subject_response.py b/permify/models/permission_lookup_subject_response.py
index 861d204..32886b7 100644
--- a/permify/models/permission_lookup_subject_response.py
+++ b/permify/models/permission_lookup_subject_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_subject_permission_request_metadata.py b/permify/models/permission_subject_permission_request_metadata.py
index 71aa8f8..ef6af89 100644
--- a/permify/models/permission_subject_permission_request_metadata.py
+++ b/permify/models/permission_subject_permission_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/permission_subject_permission_response.py b/permify/models/permission_subject_permission_response.py
index fca6d27..3dd4b39 100644
--- a/permify/models/permission_subject_permission_response.py
+++ b/permify/models/permission_subject_permission_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/primitive_type.py b/permify/models/primitive_type.py
index 99294b7..25b169c 100644
--- a/permify/models/primitive_type.py
+++ b/permify/models/primitive_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/read_attributes_body.py b/permify/models/read_attributes_body.py
index c74e48e..7695cf7 100644
--- a/permify/models/read_attributes_body.py
+++ b/permify/models/read_attributes_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/read_relationships_body.py b/permify/models/read_relationships_body.py
index ed81ecd..6ff565a 100644
--- a/permify/models/read_relationships_body.py
+++ b/permify/models/read_relationships_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/relation_definition.py b/permify/models/relation_definition.py
index fee9211..977a7ae 100644
--- a/permify/models/relation_definition.py
+++ b/permify/models/relation_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/relation_reference.py b/permify/models/relation_reference.py
index a970761..719ceb7 100644
--- a/permify/models/relation_reference.py
+++ b/permify/models/relation_reference.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/relationship_delete_response.py b/permify/models/relationship_delete_response.py
index 21b23fb..26878f3 100644
--- a/permify/models/relationship_delete_response.py
+++ b/permify/models/relationship_delete_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/relationship_read_request_metadata.py b/permify/models/relationship_read_request_metadata.py
index a731284..76fc24d 100644
--- a/permify/models/relationship_read_request_metadata.py
+++ b/permify/models/relationship_read_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/relationship_read_response.py b/permify/models/relationship_read_response.py
index c02b7da..0043a11 100644
--- a/permify/models/relationship_read_response.py
+++ b/permify/models/relationship_read_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/relationship_write_request_metadata.py b/permify/models/relationship_write_request_metadata.py
index 98dada1..d7366b5 100644
--- a/permify/models/relationship_write_request_metadata.py
+++ b/permify/models/relationship_write_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/relationship_write_response.py b/permify/models/relationship_write_response.py
index 5de0a7f..3b5ce3e 100644
--- a/permify/models/relationship_write_response.py
+++ b/permify/models/relationship_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/rewrite.py b/permify/models/rewrite.py
index 7b20fa4..8e38989 100644
--- a/permify/models/rewrite.py
+++ b/permify/models/rewrite.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/rewrite_operation.py b/permify/models/rewrite_operation.py
index 437f758..44f2a24 100644
--- a/permify/models/rewrite_operation.py
+++ b/permify/models/rewrite_operation.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/rule_definition.py b/permify/models/rule_definition.py
index 20ccd4e..af8ecb1 100644
--- a/permify/models/rule_definition.py
+++ b/permify/models/rule_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/run_bundle_body.py b/permify/models/run_bundle_body.py
index a2377f8..e4df70d 100644
--- a/permify/models/run_bundle_body.py
+++ b/permify/models/run_bundle_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_definition.py b/permify/models/schema_definition.py
index 2f3f3bb..8905ef3 100644
--- a/permify/models/schema_definition.py
+++ b/permify/models/schema_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_definition_reference.py b/permify/models/schema_definition_reference.py
index dc9949b..0ff6c76 100644
--- a/permify/models/schema_definition_reference.py
+++ b/permify/models/schema_definition_reference.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_list.py b/permify/models/schema_list.py
index 39454e3..752e023 100644
--- a/permify/models/schema_list.py
+++ b/permify/models/schema_list.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_list_body.py b/permify/models/schema_list_body.py
index fd69c6d..f2494e2 100644
--- a/permify/models/schema_list_body.py
+++ b/permify/models/schema_list_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_list_response.py b/permify/models/schema_list_response.py
index 2852245..46477ac 100644
--- a/permify/models/schema_list_response.py
+++ b/permify/models/schema_list_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_partial_write_request_metadata.py b/permify/models/schema_partial_write_request_metadata.py
index 0bc843f..547b95a 100644
--- a/permify/models/schema_partial_write_request_metadata.py
+++ b/permify/models/schema_partial_write_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_partial_write_response.py b/permify/models/schema_partial_write_response.py
index 1f534d6..b17a21a 100644
--- a/permify/models/schema_partial_write_response.py
+++ b/permify/models/schema_partial_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_read_body.py b/permify/models/schema_read_body.py
index d90f7eb..147cf59 100644
--- a/permify/models/schema_read_body.py
+++ b/permify/models/schema_read_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_read_request_metadata.py b/permify/models/schema_read_request_metadata.py
index 7a6c4ca..377da45 100644
--- a/permify/models/schema_read_request_metadata.py
+++ b/permify/models/schema_read_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_read_response.py b/permify/models/schema_read_response.py
index 5c1378a..7f0b832 100644
--- a/permify/models/schema_read_response.py
+++ b/permify/models/schema_read_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_write_body.py b/permify/models/schema_write_body.py
index 7184877..a972b42 100644
--- a/permify/models/schema_write_body.py
+++ b/permify/models/schema_write_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/schema_write_response.py b/permify/models/schema_write_response.py
index e228486..214fe45 100644
--- a/permify/models/schema_write_response.py
+++ b/permify/models/schema_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/select.py b/permify/models/select.py
index 80df3be..8e342da 100644
--- a/permify/models/select.py
+++ b/permify/models/select.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/source_info.py b/permify/models/source_info.py
index 4e74f9a..0aa01d1 100644
--- a/permify/models/source_info.py
+++ b/permify/models/source_info.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -23,6 +23,7 @@
from pydantic import BaseModel, StrictInt, StrictStr
from pydantic import Field
from permify.models.expr import Expr
+from permify.models.extension import Extension
try:
from typing import Self
except ImportError:
@@ -37,7 +38,8 @@ class SourceInfo(BaseModel):
line_offsets: Optional[List[StrictInt]] = Field(default=None, description="Monotonically increasing list of code point offsets where newlines `\\n` appear. The line number of a given position is the index `i` where for a given `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The column may be derivd from `id_positions[id] - line_offsets[i]`.", alias="lineOffsets")
positions: Optional[Dict[str, StrictInt]] = Field(default=None, description="A map from the parse node id (e.g. `Expr.id`) to the code point offset within the source.")
macro_calls: Optional[Dict[str, Expr]] = Field(default=None, description="A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion. For example, `has(value.field)` is a function call that is replaced by a `test_only` field selection in the AST. Likewise, the call `list.exists(e, e > 10)` translates to a comprehension expression. The key in the map corresponds to the expression id of the expanded macro, and the value is the call `Expr` that was replaced.", alias="macroCalls")
- __properties: ClassVar[List[str]] = ["syntaxVersion", "location", "lineOffsets", "positions", "macroCalls"]
+ extensions: Optional[List[Extension]] = Field(default=None, description="A list of tags for extensions that were used while parsing or type checking the source expression. For example, optimizations that require special runtime support may be specified. These are used to check feature support between components in separate implementations. This can be used to either skip redundant work or report an error if the extension is unsupported.")
+ __properties: ClassVar[List[str]] = ["syntaxVersion", "location", "lineOffsets", "positions", "macroCalls", "extensions"]
model_config = {
"populate_by_name": True,
@@ -83,6 +85,13 @@ def to_dict(self) -> Dict[str, Any]:
if self.macro_calls[_key]:
_field_dict[_key] = self.macro_calls[_key].to_dict()
_dict['macroCalls'] = _field_dict
+ # override the default output from pydantic by calling `to_dict()` of each item in extensions (list)
+ _items = []
+ if self.extensions:
+ for _item in self.extensions:
+ if _item:
+ _items.append(_item.to_dict())
+ _dict['extensions'] = _items
return _dict
@classmethod
@@ -104,7 +113,8 @@ def from_dict(cls, obj: Dict) -> Self:
for _k, _v in obj.get("macroCalls").items()
)
if obj.get("macroCalls") is not None
- else None
+ else None,
+ "extensions": [Extension.from_dict(_item) for _item in obj.get("extensions")] if obj.get("extensions") is not None else None
})
return _obj
diff --git a/permify/models/status.py b/permify/models/status.py
index 7d9c08a..013039d 100644
--- a/permify/models/status.py
+++ b/permify/models/status.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/stream_result_of_permission_lookup_entity_stream_response.py b/permify/models/stream_result_of_permission_lookup_entity_stream_response.py
index e8e50e5..a05f7e2 100644
--- a/permify/models/stream_result_of_permission_lookup_entity_stream_response.py
+++ b/permify/models/stream_result_of_permission_lookup_entity_stream_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/stream_result_of_watch_response.py b/permify/models/stream_result_of_watch_response.py
index 37f4e9e..9c9db60 100644
--- a/permify/models/stream_result_of_watch_response.py
+++ b/permify/models/stream_result_of_watch_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/string_array_value.py b/permify/models/string_array_value.py
index 754f43b..b828c09 100644
--- a/permify/models/string_array_value.py
+++ b/permify/models/string_array_value.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/subject.py b/permify/models/subject.py
index 6f0b465..25568be 100644
--- a/permify/models/subject.py
+++ b/permify/models/subject.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/subject_filter.py b/permify/models/subject_filter.py
index e1ea202..70cc983 100644
--- a/permify/models/subject_filter.py
+++ b/permify/models/subject_filter.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/subject_permission_body.py b/permify/models/subject_permission_body.py
index fe8595d..d69f6ec 100644
--- a/permify/models/subject_permission_body.py
+++ b/permify/models/subject_permission_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/subjects.py b/permify/models/subjects.py
index 1edd235..c59e48d 100644
--- a/permify/models/subjects.py
+++ b/permify/models/subjects.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tenant.py b/permify/models/tenant.py
index 8c4e5af..40e7abe 100644
--- a/permify/models/tenant.py
+++ b/permify/models/tenant.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tenant_create_request.py b/permify/models/tenant_create_request.py
index ac94760..8da41a1 100644
--- a/permify/models/tenant_create_request.py
+++ b/permify/models/tenant_create_request.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tenant_create_response.py b/permify/models/tenant_create_response.py
index 2040e00..d22c5ba 100644
--- a/permify/models/tenant_create_response.py
+++ b/permify/models/tenant_create_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tenant_delete_response.py b/permify/models/tenant_delete_response.py
index 1713384..fb819dd 100644
--- a/permify/models/tenant_delete_response.py
+++ b/permify/models/tenant_delete_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tenant_list_request.py b/permify/models/tenant_list_request.py
index 00f18bb..023c8d5 100644
--- a/permify/models/tenant_list_request.py
+++ b/permify/models/tenant_list_request.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tenant_list_response.py b/permify/models/tenant_list_response.py
index 97509f7..3678741 100644
--- a/permify/models/tenant_list_response.py
+++ b/permify/models/tenant_list_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tuple.py b/permify/models/tuple.py
index ac89c97..1b4660c 100644
--- a/permify/models/tuple.py
+++ b/permify/models/tuple.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tuple_filter.py b/permify/models/tuple_filter.py
index 71b44a8..201f2e6 100644
--- a/permify/models/tuple_filter.py
+++ b/permify/models/tuple_filter.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tuple_set.py b/permify/models/tuple_set.py
index 0b4c634..cea941e 100644
--- a/permify/models/tuple_set.py
+++ b/permify/models/tuple_set.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/tuple_to_user_set.py b/permify/models/tuple_to_user_set.py
index 5c016ca..bc904d6 100644
--- a/permify/models/tuple_to_user_set.py
+++ b/permify/models/tuple_to_user_set.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/v1_call.py b/permify/models/v1_call.py
index 115bafc..2291fbf 100644
--- a/permify/models/v1_call.py
+++ b/permify/models/v1_call.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/v1_expand.py b/permify/models/v1_expand.py
index 5dd8480..1d37aaf 100644
--- a/permify/models/v1_expand.py
+++ b/permify/models/v1_expand.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/v1_operation.py b/permify/models/v1_operation.py
index 9c3ebfb..deb69f2 100644
--- a/permify/models/v1_operation.py
+++ b/permify/models/v1_operation.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/v1alpha1_reference.py b/permify/models/v1alpha1_reference.py
index d9f26fc..1ca6484 100644
--- a/permify/models/v1alpha1_reference.py
+++ b/permify/models/v1alpha1_reference.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/v1alpha1_type.py b/permify/models/v1alpha1_type.py
index d354158..b768634 100644
--- a/permify/models/v1alpha1_type.py
+++ b/permify/models/v1alpha1_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/values.py b/permify/models/values.py
index d57a30a..803b1ef 100644
--- a/permify/models/values.py
+++ b/permify/models/values.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/version.py b/permify/models/version.py
new file mode 100644
index 0000000..44390df
--- /dev/null
+++ b/permify/models/version.py
@@ -0,0 +1,92 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+from __future__ import annotations
+import pprint
+import re # noqa: F401
+import json
+
+
+from typing import Any, ClassVar, Dict, List, Optional
+from pydantic import BaseModel, StrictStr
+from pydantic import Field
+try:
+ from typing import Self
+except ImportError:
+ from typing_extensions import Self
+
+class Version(BaseModel):
+ """
+ Version
+ """ # noqa: E501
+ major: Optional[StrictStr] = Field(default=None, description="Major version changes indicate different required support level from the required components.")
+ minor: Optional[StrictStr] = Field(default=None, description="Minor version changes must not change the observed behavior from existing implementations, but may be provided informationally.")
+ __properties: ClassVar[List[str]] = ["major", "minor"]
+
+ model_config = {
+ "populate_by_name": True,
+ "validate_assignment": True,
+ "protected_namespaces": (),
+ }
+
+
+ def to_str(self) -> str:
+ """Returns the string representation of the model using alias"""
+ return pprint.pformat(self.model_dump(by_alias=True))
+
+ def to_json(self) -> str:
+ """Returns the JSON representation of the model using alias"""
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
+ return json.dumps(self.to_dict())
+
+ @classmethod
+ def from_json(cls, json_str: str) -> Self:
+ """Create an instance of Version from a JSON string"""
+ return cls.from_dict(json.loads(json_str))
+
+ def to_dict(self) -> Dict[str, Any]:
+ """Return the dictionary representation of the model using alias.
+
+ This has the following differences from calling pydantic's
+ `self.model_dump(by_alias=True)`:
+
+ * `None` is only added to the output dict for nullable fields that
+ were set at model initialization. Other fields with value `None`
+ are ignored.
+ """
+ _dict = self.model_dump(
+ by_alias=True,
+ exclude={
+ },
+ exclude_none=True,
+ )
+ return _dict
+
+ @classmethod
+ def from_dict(cls, obj: Dict) -> Self:
+ """Create an instance of Version from a dict"""
+ if obj is None:
+ return None
+
+ if not isinstance(obj, dict):
+ return cls.model_validate(obj)
+
+ _obj = cls.model_validate({
+ "major": obj.get("major"),
+ "minor": obj.get("minor")
+ })
+ return _obj
+
+
diff --git a/permify/models/watch_body.py b/permify/models/watch_body.py
index 861b110..24bfa2c 100644
--- a/permify/models/watch_body.py
+++ b/permify/models/watch_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/watch_response.py b/permify/models/watch_response.py
index ea12530..78d4a28 100644
--- a/permify/models/watch_response.py
+++ b/permify/models/watch_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/well_known_type.py b/permify/models/well_known_type.py
index b40a4e9..fdf05b9 100644
--- a/permify/models/well_known_type.py
+++ b/permify/models/well_known_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/models/write_relationships_body.py b/permify/models/write_relationships_body.py
index 5928837..f76a2d7 100644
--- a/permify/models/write_relationships_body.py
+++ b/permify/models/write_relationships_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/permify/rest.py b/permify/rest.py
index bea1838..4d73f06 100644
--- a/permify/rest.py
+++ b/permify/rest.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/pyproject.toml b/pyproject.toml
index d34fe16..680e10c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "permify"
-version = "1.4.4"
+version = "1.5.4"
description = "Permify API"
authors = ["API Support "]
license = "Apache-2.0 license"
diff --git a/setup.py b/setup.py
index 42c3f0e..c1a7ef1 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "permify"
-VERSION = "v1.4.4"
+VERSION = "v1.5.4"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
diff --git a/test/test_abstract_type.py b/test/test_abstract_type.py
index cdd54ca..c599735 100644
--- a/test/test_abstract_type.py
+++ b/test/test_abstract_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_any.py b/test/test_any.py
index 854f164..7a8baa1 100644
--- a/test/test_any.py
+++ b/test/test_any.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_argument.py b/test/test_argument.py
index acd1926..40b0488 100644
--- a/test/test_argument.py
+++ b/test/test_argument.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_attribute.py b/test/test_attribute.py
index 3ae6dda..c3db8c1 100644
--- a/test/test_attribute.py
+++ b/test/test_attribute.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_attribute_definition.py b/test/test_attribute_definition.py
index 8b894fd..e6b19fe 100644
--- a/test/test_attribute_definition.py
+++ b/test/test_attribute_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_attribute_filter.py b/test/test_attribute_filter.py
index b4b5c89..c3bf91f 100644
--- a/test/test_attribute_filter.py
+++ b/test/test_attribute_filter.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_attribute_read_request_metadata.py b/test/test_attribute_read_request_metadata.py
index 2e47250..4db32f8 100644
--- a/test/test_attribute_read_request_metadata.py
+++ b/test/test_attribute_read_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_attribute_read_response.py b/test/test_attribute_read_response.py
index 581399f..98a837f 100644
--- a/test/test_attribute_read_response.py
+++ b/test/test_attribute_read_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_attribute_type.py b/test/test_attribute_type.py
index 7847e9f..bf5cf67 100644
--- a/test/test_attribute_type.py
+++ b/test/test_attribute_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_bulk_check_body.py b/test/test_bulk_check_body.py
new file mode 100644
index 0000000..add4aa1
--- /dev/null
+++ b/test/test_bulk_check_body.py
@@ -0,0 +1,92 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+import datetime
+
+from permify.models.bulk_check_body import BulkCheckBody
+
+class TestBulkCheckBody(unittest.TestCase):
+ """BulkCheckBody unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> BulkCheckBody:
+ """Test BulkCheckBody
+ include_option is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `BulkCheckBody`
+ """
+ model = BulkCheckBody()
+ if include_optional:
+ return BulkCheckBody(
+ metadata = permify.models.permission_check_request_metadata.PermissionCheckRequestMetadata(
+ schema_version = '',
+ snap_token = '',
+ depth = 56, ),
+ items = [
+ permify.models.bulk_check.BULK CHECK(
+ entity = permify.models.entity.Entity(
+ type = '',
+ id = '', ),
+ permission = '',
+ subject = permify.models.subject.Subject(
+ type = '',
+ id = '',
+ relation = '', ), )
+ ],
+ context = permify.models.context.Context(
+ tuples = [
+ permify.models.tuple.Tuple(
+ entity = permify.models.entity.Entity(
+ type = '',
+ id = '', ),
+ relation = '',
+ subject = permify.models.subject.Subject(
+ type = '',
+ id = '',
+ relation = '', ), )
+ ],
+ attributes = [
+ permify.models.attribute.Attribute(
+ attribute = '',
+ value = {
+ 'key' : None
+ }, )
+ ],
+ data = permify.models.data.data(), ),
+ arguments = [
+ permify.models.argument.Argument(
+ computed_attribute = permify.models.computed_attribute.ComputedAttribute(
+ name = '', ), )
+ ]
+ )
+ else:
+ return BulkCheckBody(
+ )
+ """
+
+ def testBulkCheckBody(self):
+ """Test BulkCheckBody"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_bundle_api.py b/test/test_bundle_api.py
index b874a80..59fdc12 100644
--- a/test/test_bundle_api.py
+++ b/test/test_bundle_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_bundle_delete_body.py b/test/test_bundle_delete_body.py
index 6da4b95..cd0cef2 100644
--- a/test/test_bundle_delete_body.py
+++ b/test/test_bundle_delete_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_bundle_delete_response.py b/test/test_bundle_delete_response.py
index 2126eb8..60248d1 100644
--- a/test/test_bundle_delete_response.py
+++ b/test/test_bundle_delete_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_bundle_read_body.py b/test/test_bundle_read_body.py
index 33da732..f77a5f1 100644
--- a/test/test_bundle_read_body.py
+++ b/test/test_bundle_read_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_bundle_read_response.py b/test/test_bundle_read_response.py
index 427426e..7f00cdb 100644
--- a/test/test_bundle_read_response.py
+++ b/test/test_bundle_read_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_bundle_run_response.py b/test/test_bundle_run_response.py
index 404240d..2cc60dd 100644
--- a/test/test_bundle_run_response.py
+++ b/test/test_bundle_run_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_bundle_write_body.py b/test/test_bundle_write_body.py
index 147ab02..567d9f2 100644
--- a/test/test_bundle_write_body.py
+++ b/test/test_bundle_write_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_bundle_write_response.py b/test/test_bundle_write_response.py
index af6541e..e96c95f 100644
--- a/test/test_bundle_write_response.py
+++ b/test/test_bundle_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_check_body.py b/test/test_check_body.py
index 2461d69..60ef29c 100644
--- a/test/test_check_body.py
+++ b/test/test_check_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_check_result.py b/test/test_check_result.py
index 491e811..c70eec4 100644
--- a/test/test_check_result.py
+++ b/test/test_check_result.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_checked_expr.py b/test/test_checked_expr.py
index 1130fa9..e328b21 100644
--- a/test/test_checked_expr.py
+++ b/test/test_checked_expr.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -143,6 +143,7 @@ def make_instance(self, include_optional) -> CheckedExpr:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -158,8 +159,19 @@ def make_instance(self, include_optional) -> CheckedExpr:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
- }, ),
+ },
+ extensions = [
+ permify.models.extension.Extension(
+ id = '',
+ affected_components = [
+ 'COMPONENT_PARSER'
+ ],
+ version = permify.models.version.Version(
+ major = '',
+ minor = '', ), )
+ ], ),
expr_version = '',
expr = permify.models.expr.Expr(
id = '',
@@ -203,6 +215,7 @@ def make_instance(self, include_optional) -> CheckedExpr:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -218,6 +231,7 @@ def make_instance(self, include_optional) -> CheckedExpr:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
)
else:
diff --git a/test/test_child.py b/test/test_child.py
index 68e5290..846f5b7 100644
--- a/test/test_child.py
+++ b/test/test_child.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_component.py b/test/test_component.py
new file mode 100644
index 0000000..4c2c7aa
--- /dev/null
+++ b/test/test_component.py
@@ -0,0 +1,35 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+import datetime
+
+from permify.models.component import Component
+
+class TestComponent(unittest.TestCase):
+ """Component unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testComponent(self):
+ """Test Component"""
+ # inst = Component()
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_comprehension.py b/test/test_comprehension.py
index c1add12..713c128 100644
--- a/test/test_comprehension.py
+++ b/test/test_comprehension.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> Comprehension:
if include_optional:
return Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = permify.models.expr.Expr(
id = '',
const_expr = permify.models.constant.Constant(
@@ -80,6 +81,7 @@ def make_instance(self, include_optional) -> Comprehension:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '',
accu_init = ,
loop_condition = ,
@@ -94,6 +96,7 @@ def make_instance(self, include_optional) -> Comprehension:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
accu_var = '',
accu_init = permify.models.expr.Expr(
@@ -138,6 +141,7 @@ def make_instance(self, include_optional) -> Comprehension:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
loop_condition = ,
@@ -152,6 +156,7 @@ def make_instance(self, include_optional) -> Comprehension:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
loop_condition = permify.models.expr.Expr(
id = '',
@@ -195,6 +200,7 @@ def make_instance(self, include_optional) -> Comprehension:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -209,6 +215,7 @@ def make_instance(self, include_optional) -> Comprehension:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
loop_step = permify.models.expr.Expr(
id = '',
@@ -252,6 +259,7 @@ def make_instance(self, include_optional) -> Comprehension:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -266,6 +274,7 @@ def make_instance(self, include_optional) -> Comprehension:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
result = permify.models.expr.Expr(
id = '',
@@ -309,6 +318,7 @@ def make_instance(self, include_optional) -> Comprehension:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -323,6 +333,7 @@ def make_instance(self, include_optional) -> Comprehension:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
)
else:
diff --git a/test/test_computed_attribute.py b/test/test_computed_attribute.py
index cfba75a..b6b8ef4 100644
--- a/test/test_computed_attribute.py
+++ b/test/test_computed_attribute.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_computed_user_set.py b/test/test_computed_user_set.py
index d081bf8..5810632 100644
--- a/test/test_computed_user_set.py
+++ b/test/test_computed_user_set.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_constant.py b/test/test_constant.py
index 7fa4755..68c31da 100644
--- a/test/test_constant.py
+++ b/test/test_constant.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_context.py b/test/test_context.py
index f296ba1..429f6e8 100644
--- a/test/test_context.py
+++ b/test/test_context.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_create_list.py b/test/test_create_list.py
index 835cec7..74de7b8 100644
--- a/test/test_create_list.py
+++ b/test/test_create_list.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -77,6 +77,7 @@ def make_instance(self, include_optional) -> CreateList:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -92,6 +93,7 @@ def make_instance(self, include_optional) -> CreateList:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
],
optional_indices = [
diff --git a/test/test_create_struct.py b/test/test_create_struct.py
index 91d2314..b32c6b1 100644
--- a/test/test_create_struct.py
+++ b/test/test_create_struct.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -76,6 +76,7 @@ def make_instance(self, include_optional) -> CreateStruct:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -91,6 +92,7 @@ def make_instance(self, include_optional) -> CreateStruct:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
value = ,
optional_entry = True, )
diff --git a/test/test_data_api.py b/test/test_data_api.py
index cbcbbf4..1ac855f 100644
--- a/test/test_data_api.py
+++ b/test/test_data_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_bundle.py b/test/test_data_bundle.py
index b08b518..725fbfb 100644
--- a/test/test_data_bundle.py
+++ b/test/test_data_bundle.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_change.py b/test/test_data_change.py
index 8e39ddf..6a0bfea 100644
--- a/test/test_data_change.py
+++ b/test/test_data_change.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_change_operation.py b/test/test_data_change_operation.py
index 70f457f..10ec56a 100644
--- a/test/test_data_change_operation.py
+++ b/test/test_data_change_operation.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_changes.py b/test/test_data_changes.py
index 1441e6a..191516d 100644
--- a/test/test_data_changes.py
+++ b/test/test_data_changes.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_delete_body.py b/test/test_data_delete_body.py
index f50ee91..2e6ff0e 100644
--- a/test/test_data_delete_body.py
+++ b/test/test_data_delete_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_delete_response.py b/test/test_data_delete_response.py
index 42c0827..ba07e5e 100644
--- a/test/test_data_delete_response.py
+++ b/test/test_data_delete_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_write_body.py b/test/test_data_write_body.py
index 4635649..250ff13 100644
--- a/test/test_data_write_body.py
+++ b/test/test_data_write_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_write_request_metadata.py b/test/test_data_write_request_metadata.py
index a37405c..4c1c2f4 100644
--- a/test/test_data_write_request_metadata.py
+++ b/test/test_data_write_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_data_write_response.py b/test/test_data_write_response.py
index f3d4874..9514a6e 100644
--- a/test/test_data_write_response.py
+++ b/test/test_data_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_delete_relationships_body.py b/test/test_delete_relationships_body.py
index eeeb259..80efafc 100644
--- a/test/test_delete_relationships_body.py
+++ b/test/test_delete_relationships_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_entity.py b/test/test_entity.py
index 9fc0b25..61f6bcb 100644
--- a/test/test_entity.py
+++ b/test/test_entity.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_entity_definition.py b/test/test_entity_definition.py
index bb759ef..da3a7f8 100644
--- a/test/test_entity_definition.py
+++ b/test/test_entity_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_entity_definition_reference.py b/test/test_entity_definition_reference.py
index cc4287c..b863459 100644
--- a/test/test_entity_definition_reference.py
+++ b/test/test_entity_definition_reference.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_entity_filter.py b/test/test_entity_filter.py
index 2a4650d..4ec0d89 100644
--- a/test/test_entity_filter.py
+++ b/test/test_entity_filter.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_entry.py b/test/test_entry.py
index 79c558c..2c4ed85 100644
--- a/test/test_entry.py
+++ b/test/test_entry.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -80,6 +80,7 @@ def make_instance(self, include_optional) -> Entry:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -95,6 +96,7 @@ def make_instance(self, include_optional) -> Entry:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
value = permify.models.expr.Expr(
id = '',
@@ -137,6 +139,7 @@ def make_instance(self, include_optional) -> Entry:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -152,6 +155,7 @@ def make_instance(self, include_optional) -> Entry:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
optional_entry = True
)
diff --git a/test/test_expand_leaf.py b/test/test_expand_leaf.py
index d1d65eb..487818d 100644
--- a/test/test_expand_leaf.py
+++ b/test/test_expand_leaf.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_expand_tree_node.py b/test/test_expand_tree_node.py
index 6753bda..2057ea4 100644
--- a/test/test_expand_tree_node.py
+++ b/test/test_expand_tree_node.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_expand_tree_node_operation.py b/test/test_expand_tree_node_operation.py
index 5411dc4..65a1295 100644
--- a/test/test_expand_tree_node_operation.py
+++ b/test/test_expand_tree_node_operation.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_expr.py b/test/test_expr.py
index f065665..a89bc18 100644
--- a/test/test_expr.py
+++ b/test/test_expr.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -87,6 +87,7 @@ def make_instance(self, include_optional) -> Expr:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -102,6 +103,7 @@ def make_instance(self, include_optional) -> Expr:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
field = '',
test_only = True, ),
@@ -142,6 +144,7 @@ def make_instance(self, include_optional) -> Expr:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -155,6 +158,7 @@ def make_instance(self, include_optional) -> Expr:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
function = '',
args = [
@@ -197,6 +201,7 @@ def make_instance(self, include_optional) -> Expr:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -211,6 +216,7 @@ def make_instance(self, include_optional) -> Expr:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
],
optional_indices = [
@@ -254,6 +260,7 @@ def make_instance(self, include_optional) -> Expr:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -267,12 +274,14 @@ def make_instance(self, include_optional) -> Expr:
list_expr = permify.models.create_list.CreateList(),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
value = ,
optional_entry = True, )
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = permify.models.expr.Expr(
id = '',
const_expr = permify.models.constant.Constant(
diff --git a/test/test_expr_call.py b/test/test_expr_call.py
index de3262d..e9f26b7 100644
--- a/test/test_expr_call.py
+++ b/test/test_expr_call.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -78,6 +78,7 @@ def make_instance(self, include_optional) -> ExprCall:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -93,6 +94,7 @@ def make_instance(self, include_optional) -> ExprCall:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
function = '',
args = [
@@ -135,6 +137,7 @@ def make_instance(self, include_optional) -> ExprCall:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -150,6 +153,7 @@ def make_instance(self, include_optional) -> ExprCall:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
]
)
diff --git a/test/test_extension.py b/test/test_extension.py
new file mode 100644
index 0000000..96bb567
--- /dev/null
+++ b/test/test_extension.py
@@ -0,0 +1,59 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+import datetime
+
+from permify.models.extension import Extension
+
+class TestExtension(unittest.TestCase):
+ """Extension unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> Extension:
+ """Test Extension
+ include_option is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `Extension`
+ """
+ model = Extension()
+ if include_optional:
+ return Extension(
+ id = '',
+ affected_components = [
+ 'COMPONENT_PARSER'
+ ],
+ version = permify.models.version.Version(
+ major = '',
+ minor = '', )
+ )
+ else:
+ return Extension(
+ )
+ """
+
+ def testExtension(self):
+ """Test Extension"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_function_type.py b/test/test_function_type.py
index 6ed63e3..c748958 100644
--- a/test/test_function_type.py
+++ b/test/test_function_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_ident.py b/test/test_ident.py
index 7699115..6f05504 100644
--- a/test/test_ident.py
+++ b/test/test_ident.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_leaf.py b/test/test_leaf.py
index bc9faa5..6c1ab28 100644
--- a/test/test_leaf.py
+++ b/test/test_leaf.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_list_type.py b/test/test_list_type.py
index 6e3e126..76b7ded 100644
--- a/test/test_list_type.py
+++ b/test/test_list_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_lookup_entity_body.py b/test/test_lookup_entity_body.py
index a2443ab..0b6b310 100644
--- a/test/test_lookup_entity_body.py
+++ b/test/test_lookup_entity_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_lookup_entity_stream_body.py b/test/test_lookup_entity_stream_body.py
index 86906c5..dee904d 100644
--- a/test/test_lookup_entity_stream_body.py
+++ b/test/test_lookup_entity_stream_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_lookup_subject_body.py b/test/test_lookup_subject_body.py
index 86386dc..2f0c776 100644
--- a/test/test_lookup_subject_body.py
+++ b/test/test_lookup_subject_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_map_type.py b/test/test_map_type.py
index 4cf043b..01f99e7 100644
--- a/test/test_map_type.py
+++ b/test/test_map_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_partial_write_body.py b/test/test_partial_write_body.py
index 900d503..993fa4d 100644
--- a/test/test_partial_write_body.py
+++ b/test/test_partial_write_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_partials.py b/test/test_partials.py
index 0c6e734..83d2971 100644
--- a/test/test_partials.py
+++ b/test/test_partials.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_api.py b/test/test_permission_api.py
index 3416d2f..4ce25bf 100644
--- a/test/test_permission_api.py
+++ b/test/test_permission_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -27,6 +27,13 @@ def setUp(self) -> None:
def tearDown(self) -> None:
pass
+ def test_permissions_bulk_check(self) -> None:
+ """Test case for permissions_bulk_check
+
+ bulk check api
+ """
+ pass
+
def test_permissions_check(self) -> None:
"""Test case for permissions_check
diff --git a/test/test_permission_bulk_check_request_item.py b/test/test_permission_bulk_check_request_item.py
new file mode 100644
index 0000000..6d62722
--- /dev/null
+++ b/test/test_permission_bulk_check_request_item.py
@@ -0,0 +1,60 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+import datetime
+
+from permify.models.permission_bulk_check_request_item import PermissionBulkCheckRequestItem
+
+class TestPermissionBulkCheckRequestItem(unittest.TestCase):
+ """PermissionBulkCheckRequestItem unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> PermissionBulkCheckRequestItem:
+ """Test PermissionBulkCheckRequestItem
+ include_option is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `PermissionBulkCheckRequestItem`
+ """
+ model = PermissionBulkCheckRequestItem()
+ if include_optional:
+ return PermissionBulkCheckRequestItem(
+ entity = permify.models.entity.Entity(
+ type = '',
+ id = '', ),
+ permission = '',
+ subject = permify.models.subject.Subject(
+ type = '',
+ id = '',
+ relation = '', )
+ )
+ else:
+ return PermissionBulkCheckRequestItem(
+ )
+ """
+
+ def testPermissionBulkCheckRequestItem(self):
+ """Test PermissionBulkCheckRequestItem"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_permission_bulk_check_response.py b/test/test_permission_bulk_check_response.py
new file mode 100644
index 0000000..8be0dae
--- /dev/null
+++ b/test/test_permission_bulk_check_response.py
@@ -0,0 +1,58 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+import datetime
+
+from permify.models.permission_bulk_check_response import PermissionBulkCheckResponse
+
+class TestPermissionBulkCheckResponse(unittest.TestCase):
+ """PermissionBulkCheckResponse unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> PermissionBulkCheckResponse:
+ """Test PermissionBulkCheckResponse
+ include_option is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `PermissionBulkCheckResponse`
+ """
+ model = PermissionBulkCheckResponse()
+ if include_optional:
+ return PermissionBulkCheckResponse(
+ results = [
+ permify.models.permission_check_response.PermissionCheckResponse(
+ can = 'CHECK_RESULT_ALLOWED',
+ metadata = permify.models.permission_check_response_metadata.PermissionCheckResponseMetadata(
+ check_count = 56, ), )
+ ]
+ )
+ else:
+ return PermissionBulkCheckResponse(
+ )
+ """
+
+ def testPermissionBulkCheckResponse(self):
+ """Test PermissionBulkCheckResponse"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_permission_check_request_metadata.py b/test/test_permission_check_request_metadata.py
index 1844f94..8181e56 100644
--- a/test/test_permission_check_request_metadata.py
+++ b/test/test_permission_check_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_check_response.py b/test/test_permission_check_response.py
index b47ab5d..5775a73 100644
--- a/test/test_permission_check_response.py
+++ b/test/test_permission_check_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_check_response_metadata.py b/test/test_permission_check_response_metadata.py
index 3a35813..7aaaba1 100644
--- a/test/test_permission_check_response_metadata.py
+++ b/test/test_permission_check_response_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_definition.py b/test/test_permission_definition.py
index a4de0d1..03f0c01 100644
--- a/test/test_permission_definition.py
+++ b/test/test_permission_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_expand_body.py b/test/test_permission_expand_body.py
index 8a8956c..2eec4fd 100644
--- a/test/test_permission_expand_body.py
+++ b/test/test_permission_expand_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_expand_request_metadata.py b/test/test_permission_expand_request_metadata.py
index 1a64d15..992436a 100644
--- a/test/test_permission_expand_request_metadata.py
+++ b/test/test_permission_expand_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_expand_response.py b/test/test_permission_expand_response.py
index 03fce8c..e1b502d 100644
--- a/test/test_permission_expand_response.py
+++ b/test/test_permission_expand_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_lookup_entity_request_metadata.py b/test/test_permission_lookup_entity_request_metadata.py
index 99a4794..174c008 100644
--- a/test/test_permission_lookup_entity_request_metadata.py
+++ b/test/test_permission_lookup_entity_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_lookup_entity_response.py b/test/test_permission_lookup_entity_response.py
index b0bdfc2..c9afb3a 100644
--- a/test/test_permission_lookup_entity_response.py
+++ b/test/test_permission_lookup_entity_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_lookup_entity_stream_response.py b/test/test_permission_lookup_entity_stream_response.py
index 80a7cbb..0ba781f 100644
--- a/test/test_permission_lookup_entity_stream_response.py
+++ b/test/test_permission_lookup_entity_stream_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_lookup_subject_request_metadata.py b/test/test_permission_lookup_subject_request_metadata.py
index 6e8cddf..9a1ef2c 100644
--- a/test/test_permission_lookup_subject_request_metadata.py
+++ b/test/test_permission_lookup_subject_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_lookup_subject_response.py b/test/test_permission_lookup_subject_response.py
index 07266c5..d5a937b 100644
--- a/test/test_permission_lookup_subject_response.py
+++ b/test/test_permission_lookup_subject_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_subject_permission_request_metadata.py b/test/test_permission_subject_permission_request_metadata.py
index 741c37a..a52f6ea 100644
--- a/test/test_permission_subject_permission_request_metadata.py
+++ b/test/test_permission_subject_permission_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_permission_subject_permission_response.py b/test/test_permission_subject_permission_response.py
index 69ec823..9bc174e 100644
--- a/test/test_permission_subject_permission_response.py
+++ b/test/test_permission_subject_permission_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_primitive_type.py b/test/test_primitive_type.py
index d97cebb..5fff048 100644
--- a/test/test_primitive_type.py
+++ b/test/test_primitive_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_read_attributes_body.py b/test/test_read_attributes_body.py
index 6b933a0..f868d9f 100644
--- a/test/test_read_attributes_body.py
+++ b/test/test_read_attributes_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_read_relationships_body.py b/test/test_read_relationships_body.py
index cf1a7a4..e44fdca 100644
--- a/test/test_read_relationships_body.py
+++ b/test/test_read_relationships_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_relation_definition.py b/test/test_relation_definition.py
index ea6e72b..ed835a7 100644
--- a/test/test_relation_definition.py
+++ b/test/test_relation_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_relation_reference.py b/test/test_relation_reference.py
index 5add0f8..5b8862e 100644
--- a/test/test_relation_reference.py
+++ b/test/test_relation_reference.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_relationship_delete_response.py b/test/test_relationship_delete_response.py
index 9f2cdd8..4c4e131 100644
--- a/test/test_relationship_delete_response.py
+++ b/test/test_relationship_delete_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_relationship_read_request_metadata.py b/test/test_relationship_read_request_metadata.py
index 6c750fd..2cb66a6 100644
--- a/test/test_relationship_read_request_metadata.py
+++ b/test/test_relationship_read_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_relationship_read_response.py b/test/test_relationship_read_response.py
index de8e557..294a78a 100644
--- a/test/test_relationship_read_response.py
+++ b/test/test_relationship_read_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_relationship_write_request_metadata.py b/test/test_relationship_write_request_metadata.py
index 4b93731..df9969e 100644
--- a/test/test_relationship_write_request_metadata.py
+++ b/test/test_relationship_write_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_relationship_write_response.py b/test/test_relationship_write_response.py
index b6eda44..dffb259 100644
--- a/test/test_relationship_write_response.py
+++ b/test/test_relationship_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_rewrite.py b/test/test_rewrite.py
index 1fee558..1dadc5c 100644
--- a/test/test_rewrite.py
+++ b/test/test_rewrite.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_rewrite_operation.py b/test/test_rewrite_operation.py
index d563f13..1712623 100644
--- a/test/test_rewrite_operation.py
+++ b/test/test_rewrite_operation.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_rule_definition.py b/test/test_rule_definition.py
index f2bdeba..28a4238 100644
--- a/test/test_rule_definition.py
+++ b/test/test_rule_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -146,6 +146,7 @@ def make_instance(self, include_optional) -> RuleDefinition:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -160,8 +161,19 @@ def make_instance(self, include_optional) -> RuleDefinition:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
- }, ),
+ },
+ extensions = [
+ permify.models.extension.Extension(
+ id = '',
+ affected_components = [
+ 'COMPONENT_PARSER'
+ ],
+ version = permify.models.version.Version(
+ major = '',
+ minor = '', ), )
+ ], ),
expr_version = '',
expr = , )
)
diff --git a/test/test_run_bundle_body.py b/test/test_run_bundle_body.py
index 6beddcc..334eafb 100644
--- a/test/test_run_bundle_body.py
+++ b/test/test_run_bundle_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_api.py b/test/test_schema_api.py
index 19dacce..a00c1d6 100644
--- a/test/test_schema_api.py
+++ b/test/test_schema_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_definition.py b/test/test_schema_definition.py
index 3c30276..369c68b 100644
--- a/test/test_schema_definition.py
+++ b/test/test_schema_definition.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -194,6 +194,7 @@ def make_instance(self, include_optional) -> SchemaDefinition:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -208,8 +209,19 @@ def make_instance(self, include_optional) -> SchemaDefinition:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
- }, ),
+ },
+ extensions = [
+ permify.models.extension.Extension(
+ id = '',
+ affected_components = [
+ 'COMPONENT_PARSER'
+ ],
+ version = permify.models.version.Version(
+ major = '',
+ minor = '', ), )
+ ], ),
expr_version = '',
expr = , ), )
},
diff --git a/test/test_schema_definition_reference.py b/test/test_schema_definition_reference.py
index 80dc8b1..87ab008 100644
--- a/test/test_schema_definition_reference.py
+++ b/test/test_schema_definition_reference.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_list.py b/test/test_schema_list.py
index d99731c..2bd06b9 100644
--- a/test/test_schema_list.py
+++ b/test/test_schema_list.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_list_body.py b/test/test_schema_list_body.py
index e08cc0f..f3edab6 100644
--- a/test/test_schema_list_body.py
+++ b/test/test_schema_list_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_list_response.py b/test/test_schema_list_response.py
index 2e0c97b..bf55182 100644
--- a/test/test_schema_list_response.py
+++ b/test/test_schema_list_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_partial_write_request_metadata.py b/test/test_schema_partial_write_request_metadata.py
index 438ee50..85f4ccf 100644
--- a/test/test_schema_partial_write_request_metadata.py
+++ b/test/test_schema_partial_write_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_partial_write_response.py b/test/test_schema_partial_write_response.py
index 0675acb..7adb5d2 100644
--- a/test/test_schema_partial_write_response.py
+++ b/test/test_schema_partial_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_read_body.py b/test/test_schema_read_body.py
index 9b3c5bf..042879b 100644
--- a/test/test_schema_read_body.py
+++ b/test/test_schema_read_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_read_request_metadata.py b/test/test_schema_read_request_metadata.py
index 50b7165..65a6809 100644
--- a/test/test_schema_read_request_metadata.py
+++ b/test/test_schema_read_request_metadata.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_read_response.py b/test/test_schema_read_response.py
index e2dec07..4a3d39f 100644
--- a/test/test_schema_read_response.py
+++ b/test/test_schema_read_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -193,6 +193,7 @@ def make_instance(self, include_optional) -> SchemaReadResponse:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -207,8 +208,19 @@ def make_instance(self, include_optional) -> SchemaReadResponse:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
- }, ),
+ },
+ extensions = [
+ permify.models.extension.Extension(
+ id = '',
+ affected_components = [
+ 'COMPONENT_PARSER'
+ ],
+ version = permify.models.version.Version(
+ major = '',
+ minor = '', ), )
+ ], ),
expr_version = '',
expr = , ), )
},
diff --git a/test/test_schema_write_body.py b/test/test_schema_write_body.py
index 5827062..2932c15 100644
--- a/test/test_schema_write_body.py
+++ b/test/test_schema_write_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_schema_write_response.py b/test/test_schema_write_response.py
index 8a486d8..5cd7d17 100644
--- a/test/test_schema_write_response.py
+++ b/test/test_schema_write_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_select.py b/test/test_select.py
index 97b9f27..8d0df72 100644
--- a/test/test_select.py
+++ b/test/test_select.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -76,6 +76,7 @@ def make_instance(self, include_optional) -> Select:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -91,6 +92,7 @@ def make_instance(self, include_optional) -> Select:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), ),
field = '',
test_only = True
diff --git a/test/test_source_info.py b/test/test_source_info.py
index b4cf5fa..1ca4b42 100644
--- a/test/test_source_info.py
+++ b/test/test_source_info.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -88,6 +88,7 @@ def make_instance(self, include_optional) -> SourceInfo:
], ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
iter_range = ,
accu_var = '',
accu_init = ,
@@ -103,8 +104,19 @@ def make_instance(self, include_optional) -> SourceInfo:
message_name = '', ),
comprehension_expr = permify.models.comprehension.Comprehension(
iter_var = '',
+ iter_var2 = '',
accu_var = '', ), )
- }
+ },
+ extensions = [
+ permify.models.extension.Extension(
+ id = '',
+ affected_components = [
+ 'COMPONENT_PARSER'
+ ],
+ version = permify.models.version.Version(
+ major = '',
+ minor = '', ), )
+ ]
)
else:
return SourceInfo(
diff --git a/test/test_status.py b/test/test_status.py
index ceecb49..038a6f3 100644
--- a/test/test_status.py
+++ b/test/test_status.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_stream_result_of_permission_lookup_entity_stream_response.py b/test/test_stream_result_of_permission_lookup_entity_stream_response.py
index 78feba1..5f845b6 100644
--- a/test/test_stream_result_of_permission_lookup_entity_stream_response.py
+++ b/test/test_stream_result_of_permission_lookup_entity_stream_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_stream_result_of_watch_response.py b/test/test_stream_result_of_watch_response.py
index 7b5991c..72d4483 100644
--- a/test/test_stream_result_of_watch_response.py
+++ b/test/test_stream_result_of_watch_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_string_array_value.py b/test/test_string_array_value.py
index 54c2a1b..5c69fc1 100644
--- a/test/test_string_array_value.py
+++ b/test/test_string_array_value.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_subject.py b/test/test_subject.py
index d24f77f..ed4782d 100644
--- a/test/test_subject.py
+++ b/test/test_subject.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_subject_filter.py b/test/test_subject_filter.py
index e3ccb8c..b159ad0 100644
--- a/test/test_subject_filter.py
+++ b/test/test_subject_filter.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_subject_permission_body.py b/test/test_subject_permission_body.py
index 4d7c12a..52c4df2 100644
--- a/test/test_subject_permission_body.py
+++ b/test/test_subject_permission_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_subjects.py b/test/test_subjects.py
index 90e94ee..6484fde 100644
--- a/test/test_subjects.py
+++ b/test/test_subjects.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tenancy_api.py b/test/test_tenancy_api.py
index b8a5db0..bb4efa3 100644
--- a/test/test_tenancy_api.py
+++ b/test/test_tenancy_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tenant.py b/test/test_tenant.py
index b570a97..1c17ba4 100644
--- a/test/test_tenant.py
+++ b/test/test_tenant.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tenant_create_request.py b/test/test_tenant_create_request.py
index c0108e1..25fceea 100644
--- a/test/test_tenant_create_request.py
+++ b/test/test_tenant_create_request.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tenant_create_response.py b/test/test_tenant_create_response.py
index 51139e7..8360325 100644
--- a/test/test_tenant_create_response.py
+++ b/test/test_tenant_create_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tenant_delete_response.py b/test/test_tenant_delete_response.py
index e084e1b..64d2f84 100644
--- a/test/test_tenant_delete_response.py
+++ b/test/test_tenant_delete_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tenant_list_request.py b/test/test_tenant_list_request.py
index e2b4eee..03fcf25 100644
--- a/test/test_tenant_list_request.py
+++ b/test/test_tenant_list_request.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tenant_list_response.py b/test/test_tenant_list_response.py
index 4321ccd..1ac58de 100644
--- a/test/test_tenant_list_response.py
+++ b/test/test_tenant_list_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tuple.py b/test/test_tuple.py
index 6b0c8dd..6275aed 100644
--- a/test/test_tuple.py
+++ b/test/test_tuple.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tuple_filter.py b/test/test_tuple_filter.py
index 2c0abb3..92c5df2 100644
--- a/test/test_tuple_filter.py
+++ b/test/test_tuple_filter.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tuple_set.py b/test/test_tuple_set.py
index 524b1f8..e913f89 100644
--- a/test/test_tuple_set.py
+++ b/test/test_tuple_set.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_tuple_to_user_set.py b/test/test_tuple_to_user_set.py
index 01ffc87..4c1319d 100644
--- a/test/test_tuple_to_user_set.py
+++ b/test/test_tuple_to_user_set.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_v1_call.py b/test/test_v1_call.py
index 767d66a..c031112 100644
--- a/test/test_v1_call.py
+++ b/test/test_v1_call.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_v1_expand.py b/test/test_v1_expand.py
index 9f48e59..a996d25 100644
--- a/test/test_v1_expand.py
+++ b/test/test_v1_expand.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_v1_operation.py b/test/test_v1_operation.py
index b0c6442..d0e52a6 100644
--- a/test/test_v1_operation.py
+++ b/test/test_v1_operation.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_v1alpha1_reference.py b/test/test_v1alpha1_reference.py
index 8ae021b..1151ea8 100644
--- a/test/test_v1alpha1_reference.py
+++ b/test/test_v1alpha1_reference.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_v1alpha1_type.py b/test/test_v1alpha1_type.py
index 8ea2fa8..3a17d02 100644
--- a/test/test_v1alpha1_type.py
+++ b/test/test_v1alpha1_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_values.py b/test/test_values.py
index 205bd1c..541af81 100644
--- a/test/test_values.py
+++ b/test/test_values.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_version.py b/test/test_version.py
new file mode 100644
index 0000000..8122563
--- /dev/null
+++ b/test/test_version.py
@@ -0,0 +1,54 @@
+# coding: utf-8
+
+"""
+ Permify API
+
+ Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
+
+ The version of the OpenAPI document: v1.5.4
+ Contact: hello@permify.co
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
+
+ Do not edit the class manually.
+""" # noqa: E501
+
+
+import unittest
+import datetime
+
+from permify.models.version import Version
+
+class TestVersion(unittest.TestCase):
+ """Version unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def make_instance(self, include_optional) -> Version:
+ """Test Version
+ include_option is a boolean, when False only required
+ params are included, when True both required and
+ optional params are included """
+ # uncomment below to create an instance of `Version`
+ """
+ model = Version()
+ if include_optional:
+ return Version(
+ major = '',
+ minor = ''
+ )
+ else:
+ return Version(
+ )
+ """
+
+ def testVersion(self):
+ """Test Version"""
+ # inst_req_only = self.make_instance(include_optional=False)
+ # inst_req_and_optional = self.make_instance(include_optional=True)
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/test/test_watch_api.py b/test/test_watch_api.py
index e6a948b..d3ee711 100644
--- a/test/test_watch_api.py
+++ b/test/test_watch_api.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_watch_body.py b/test/test_watch_body.py
index 329cb93..6067597 100644
--- a/test/test_watch_body.py
+++ b/test/test_watch_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_watch_response.py b/test/test_watch_response.py
index 356102b..e5f40b1 100644
--- a/test/test_watch_response.py
+++ b/test/test_watch_response.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_well_known_type.py b/test/test_well_known_type.py
index 81da665..20a2bf2 100644
--- a/test/test_well_known_type.py
+++ b/test/test_well_known_type.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
diff --git a/test/test_write_relationships_body.py b/test/test_write_relationships_body.py
index fd41544..37e4f28 100644
--- a/test/test_write_relationships_body.py
+++ b/test/test_write_relationships_body.py
@@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
- The version of the OpenAPI document: v1.4.4
+ The version of the OpenAPI document: v1.5.4
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)