diff --git a/docs/BulkCheckBody.md b/docs/BulkCheckBody.md
new file mode 100644
index 00000000..a9413e43
--- /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 00000000..6aafd21e
--- /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 839063ff..30f26934 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 00000000..ec5e917d
--- /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 938f5e6d..2a025ba5 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 00000000..f80ec336
--- /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 00000000..081da4c8
--- /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 e98a7820..621339ab 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 00000000..7b308af1
--- /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 6b606798..c9f5c0f5 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 96969117..070eef22 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 5c5bb421..065d690e 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 b941c331..2636c740 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 89a76828..34749a4c 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 055d476a..bea8c626 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 bdbe9dc4..4a93f07d 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 db7b8338..00261dc6 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 9d0fe377..dc4d3d02 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 0a1c1424..34b0e229 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 afdf5a4a..3812dfa5 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 45046342..baca84e8 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 65b2630e..89cdff15 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 aafe4233..e6f9e3bb 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 208c4ffd..08b4a9d0 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 6fc80a9c..8ba0cbc8 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 af60a04d..de5134c0 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 b7caeb25..fb79b1a4 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 fd36b541..a238bc65 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 18890918..224e3638 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 e6b27b2f..e8a14740 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 00000000..99c753e6
--- /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 7105e57c..ebf1dd37 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 3a95de54..8797740d 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 aba753b1..4f2d062a 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 258b8e87..f6cc62ad 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 586598d1..bbcfcd30 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 977f2fce..e9899d2d 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 ff0732a2..eb7a2755 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 751967ec..e4ff8018 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 2c71eee5..b0fe0599 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 4c2212f8..a9e01b11 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 556a99db..4349e882 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 00000000..9fcb1f64
--- /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 9ff57cb4..648b6df5 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 7c332ff8..37d77be0 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 c5a10c93..d04e1466 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 2f3a7220..cef5fd24 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 7231e399..6b7e59f2 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 0b1eb14c..5b4c217f 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 6d4a8500..c927ff0f 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 85e3ece7..0d769d3b 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 74ff3da9..119a4a3e 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 cbfbebf4..2f624557 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 6ece8cff..ed852359 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 3e16dcb6..85902352 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 74856153..62ec35da 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 41073801..78c1d59b 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 8fbcffe2..e2f2bfd2 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 7f4961b7..f6dd4ccc 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 f10da022..b324559f 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 44379484..ce7bd7f3 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 1ac001ba..473370db 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 cc288228..eb5004d1 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 176af288..0d8f9a5b 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 7ca59b85..bd478f42 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 1a8045ed..a2989664 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 853718db..7e04f309 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 fe6fda38..3fb9b6d5 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 fab6639c..6295eb8c 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 1347470e..16707cd1 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 00000000..b3c131b2
--- /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 e218f16d..aedc29ec 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 aa650b58..1c0a1fb7 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 ed43a1fe..07d73015 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 ce354fb8..03071153 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 980e450b..1f9199f2 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 abe78848..1187229e 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 fd88c804..c5456c7c 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 6aa1f324..5afc2f4f 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 71576987..87a25e6d 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 0e8b9574..aa122ccd 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 00000000..edea792e
--- /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 00000000..d63b60de
--- /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 8e74adb5..1e4ef82a 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 ba74105f..f0877458 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 01453d98..f5611d14 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 82391d66..be151f5d 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 fe3bc176..8d7e8cd1 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 e2995f0b..f0a40670 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 cdc489a6..b73e9e9c 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 c7d97510..cc7bdb20 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 c96ee7ec..fd777761 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 b859507f..55c850ff 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 3e73be22..32c40deb 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 861d2043..32886b72 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 71aa8f86..ef6af896 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 fca6d270..3dd4b394 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 99294b70..25b169cf 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 c74e48ed..7695cf74 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 ed81ecd8..6ff565a3 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 fee9211f..977a7ae6 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 a9707617..719ceb74 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 21b23fbc..26878f31 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 a7312840..76fc24d2 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 c02b7dac..0043a114 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 98dada13..d7366b56 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 5de0a7f6..3b5ce3e4 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 7b20fa42..8e389892 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 437f7585..44f2a24f 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 20ccd4e5..af8ecb16 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 a2377f88..e4df70d0 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 2f3f3bb8..8905ef39 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 dc9949be..0ff6c76b 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 39454e30..752e0231 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 fd69c6d5..f2494e20 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 2852245c..46477acf 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 0bc843fd..547b95a3 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 1f534d69..b17a21af 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 d90f7eb2..147cf59f 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 7a6c4caf..377da450 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 5c1378a2..7f0b8325 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 71848775..a972b428 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 e2284863..214fe454 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 80df3be2..8e342dae 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 4e74f9a0..0aa01d19 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 7d9c08ab..013039df 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 e8e50e5a..a05f7e2d 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 37f4e9ea..9c9db608 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 754f43b7..b828c09a 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 6f0b465c..25568be3 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 e1ea2025..70cc9832 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 fe8595d4..d69f6ecd 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 1edd2358..c59e48d1 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 8c4e5afb..40e7abee 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 ac947600..8da41a15 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 2040e00b..d22c5ba0 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 1713384e..fb819ddf 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 00f18bb2..023c8d55 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 97509f78..36787418 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 ac89c973..1b4660c0 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 71b44a82..201f2e63 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 0b4c634f..cea941ef 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 5c016cac..bc904d63 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 115bafcc..2291fbfa 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 5dd8480a..1d37aafa 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 9c3ebfb0..deb69f26 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 d9f26fc1..1ca64841 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 d354158a..b768634a 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 d57a30a6..803b1ef9 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 00000000..44390dfd
--- /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 861b1101..24bfa2cf 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 ea125308..78d4a28a 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 b40a4e9e..fdf05b96 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 59288374..f76a2d74 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 bea1838d..4d73f062 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 d34fe167..680e10c1 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 42c3f0e6..c1a7ef17 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 cdd54ca4..c5997350 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 854f1647..7a8baa10 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 acd19261..40b0488b 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 3ae6dda9..c3db8c16 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 8b894fdf..e6b19fe7 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 b4b5c89f..c3bf91f9 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 2e472503..4db32f8c 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 581399f1..98a837f4 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 7847e9fc..bf5cf672 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 00000000..add4aa14
--- /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 b874a807..59fdc128 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 6da4b95f..cd0cef27 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 2126eb89..60248d12 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 33da732d..f77a5f1c 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 427426ef..7f00cdb7 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 404240de..2cc60dd8 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 147ab027..567d9f2d 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 af6541e2..e96c95f1 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 2461d69c..60ef29c3 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 491e811b..c70eec41 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 1130fa9c..e328b218 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 68e52903..846f5b7a 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 00000000..4c2c7aa0
--- /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 c1add128..713c128c 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 cfba75a6..b6b8ef4c 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 d081bf83..5810632b 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 7fa47552..68c31da0 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 f296ba17..429f6e88 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 835cec74..74de7b8f 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 91d23149..b32c6b1c 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 cbcbbf45..1ac855f4 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 b08b5182..725fbfb5 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 8e39ddfe..6a0bfea6 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 70f457f0..10ec56ad 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 1441e6ad..191516d3 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 f50ee915..2e6ff0e0 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 42c08270..ba07e5e0 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 46356494..250ff13e 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 a37405c0..4c1c2f4a 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 f3d48741..9514a6e6 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 eeeb2598..80efafcb 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 9fc0b25e..61f6bcb2 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 bb759ef9..da3a7f8b 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 cc4287ce..b8634595 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 2a4650d0..4ec0d891 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 79c558c4..2c4ed856 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 d1d65ebb..487818d0 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 6753bda6..2057ea4d 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 5411dc44..65a12957 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 f0656651..a89bc181 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 de3262d2..e9f26b7f 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 00000000..96bb5677
--- /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 6ed63e3b..c7489582 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 7699115a..6f055042 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 bc9faa5f..6c1ab287 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 6e3e1260..76b7ded7 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 a2443ab7..0b6b3103 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 86906c59..dee904d6 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 86386dc5..2f0c7769 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 4cf043bf..01f99e73 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 900d5035..993fa4d2 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 0c6e7341..83d29710 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 3416d2fe..4ce25bf9 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 00000000..6d627229
--- /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 00000000..8be0daee
--- /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 1844f94b..8181e56d 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 b47ab5df..5775a73c 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 3a358137..7aaaba1b 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 a4de0d1a..03f0c01b 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 8a8956c8..2eec4fd0 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 1a64d155..992436a2 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 03fce8c1..e1b502d7 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 99a47949..174c0085 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 b0bdfc24..c9afb3ad 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 80a7cbbf..0ba781f0 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 6e8cddf9..9a1ef2c9 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 07266c51..d5a937ba 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 741c37a8..a52f6ea2 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 69ec8232..9bc174e0 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 d97cebbc..5fff0482 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 6b933a09..f868d9f8 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 cf1a7a48..e44fdca8 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 ea6e72ba..ed835a74 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 5add0f8a..5b8862e9 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 9f2cdd8d..4c4e131a 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 6c750fda..2cb66a67 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 de8e5571..294a78a7 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 4b937310..df9969eb 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 b6eda44f..dffb2594 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 1fee558b..1dadc5cd 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 d563f134..17126239 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 f2bdebad..28a42387 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 6beddcc2..334eafba 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 19dacce2..a00c1d6c 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 3c30276b..369c68b0 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 80dc8b18..87ab0087 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 d99731c7..2bd06b98 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 e08cc0ff..f3edab66 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 2e0c97b3..bf551829 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 438ee50e..85f4ccff 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 0675acb5..7adb5d2c 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 9b3c5bf6..042879b1 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 50b7165c..65a6809e 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 e2dec077..4a3d39f2 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 5827062c..2932c15f 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 8a486d83..5cd7d176 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 97b9f277..8d0df723 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 b4cf5fad..1ca4b42d 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 ceecb498..038a6f3a 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 78feba1c..5f845b6d 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 7b5991c1..72d44833 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 54c2a1bf..5c69fc1a 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 d24f77fa..ed4782d0 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 e3ccb8c4..b159ad05 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 4d7c12a3..52c4df23 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 90e94ee7..6484fded 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 b8a5db0a..bb4efa32 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 b570a97f..1c17ba4f 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 c0108e17..25fceea4 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 51139e72..83603255 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 e084e1ba..64d2f844 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 e2b4eeeb..03fcf25a 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 4321ccd6..1ac58de7 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 6b0c8dd7..6275aeda 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 2c0abb35..92c5df25 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 524b1f89..e913f895 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 01ffc87c..4c1319d2 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 767d66ad..c0311126 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 9f48e593..a996d259 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 b0c64422..d0e52a6d 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 8ae021b7..1151ea8f 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 8ea2fa80..3a17d021 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 205bd1c0..541af81d 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 00000000..81225634
--- /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 e6a948b8..d3ee7111 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 329cb939..60675976 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 356102b8..e5f40b16 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 81da6658..20a2bf27 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 fd415448..37e4f280 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)