Skip to content

Commit dbb23a1

Browse files
author
GitHub Actions Bot
committed
Update python SDK from OpenAPI changes
1 parent a51012d commit dbb23a1

File tree

267 files changed

+277
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+277
-279
lines changed

docs/PermissionApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ check api
2222

2323
```python
2424
import permify
25-
from permify.models.permission_check_body import PermissionCheckBody
25+
from permify.models.check_body import CheckBody
2626
from permify.models.permission_check_response import PermissionCheckResponse
2727
from permify.rest import ApiException
2828
from pprint import pprint
@@ -39,7 +39,7 @@ with permify.ApiClient(configuration) as api_client:
3939
# Create an instance of the API class
4040
api_instance = permify.PermissionApi(api_client)
4141
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 <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.
42-
body = permify.PermissionCheckBody() # PermissionCheckBody |
42+
body = permify.CheckBody() # CheckBody |
4343

4444
try:
4545
# check api
@@ -58,7 +58,7 @@ with permify.ApiClient(configuration) as api_client:
5858
Name | Type | Description | Notes
5959
------------- | ------------- | ------------- | -------------
6060
**tenant_id** | **str**| Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant &lt;code&gt;t1&lt;/code&gt; for this field. Required, and must match the pattern \\[a-zA-Z0-9-,]+\\“, max 64 bytes. |
61-
**body** | [**PermissionCheckBody**](PermissionCheckBody.md)| |
61+
**body** | [**CheckBody**](CheckBody.md)| |
6262

6363
### Return type
6464

permify/api/bundle_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/data_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/permission_api.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -19,10 +19,10 @@
1919

2020
from pydantic import Field, StrictStr
2121
from typing_extensions import Annotated
22+
from permify.models.check_body import CheckBody
2223
from permify.models.lookup_entity_body import LookupEntityBody
2324
from permify.models.lookup_entity_stream_body import LookupEntityStreamBody
2425
from permify.models.lookup_subject_body import LookupSubjectBody
25-
from permify.models.permission_check_body import PermissionCheckBody
2626
from permify.models.permission_check_response import PermissionCheckResponse
2727
from permify.models.permission_expand_body import PermissionExpandBody
2828
from permify.models.permission_expand_response import PermissionExpandResponse
@@ -54,7 +54,7 @@ def __init__(self, api_client=None) -> None:
5454
def permissions_check(
5555
self,
5656
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 <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
57-
body: PermissionCheckBody,
57+
body: CheckBody,
5858
_request_timeout: Union[
5959
None,
6060
Annotated[StrictFloat, Field(gt=0)],
@@ -74,7 +74,7 @@ def permissions_check(
7474
:param tenant_id: 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. (required)
7575
:type tenant_id: str
7676
:param body: (required)
77-
:type body: PermissionCheckBody
77+
:type body: CheckBody
7878
:param _request_timeout: timeout setting for this request. If one
7979
number provided, it will be total request
8080
timeout. It can also be a pair (tuple) of
@@ -124,7 +124,7 @@ def permissions_check(
124124
def permissions_check_with_http_info(
125125
self,
126126
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 <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
127-
body: PermissionCheckBody,
127+
body: CheckBody,
128128
_request_timeout: Union[
129129
None,
130130
Annotated[StrictFloat, Field(gt=0)],
@@ -144,7 +144,7 @@ def permissions_check_with_http_info(
144144
:param tenant_id: 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. (required)
145145
:type tenant_id: str
146146
:param body: (required)
147-
:type body: PermissionCheckBody
147+
:type body: CheckBody
148148
:param _request_timeout: timeout setting for this request. If one
149149
number provided, it will be total request
150150
timeout. It can also be a pair (tuple) of
@@ -194,7 +194,7 @@ def permissions_check_with_http_info(
194194
def permissions_check_without_preload_content(
195195
self,
196196
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 <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
197-
body: PermissionCheckBody,
197+
body: CheckBody,
198198
_request_timeout: Union[
199199
None,
200200
Annotated[StrictFloat, Field(gt=0)],
@@ -214,7 +214,7 @@ def permissions_check_without_preload_content(
214214
:param tenant_id: 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. (required)
215215
:type tenant_id: str
216216
:param body: (required)
217-
:type body: PermissionCheckBody
217+
:type body: CheckBody
218218
:param _request_timeout: timeout setting for this request. If one
219219
number provided, it will be total request
220220
timeout. It can also be a pair (tuple) of

permify/api/schema_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/tenancy_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/watch_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/abstract_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/any.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/argument.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/attribute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/attribute_definition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/attribute_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/attribute_read_request_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/attribute_read_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/attribute_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/bundle_delete_body.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/bundle_delete_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/bundle_read_body.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/bundle_read_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/bundle_run_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/bundle_write_body.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/bundle_write_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/check_body.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v0.10.2
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/check_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/checked_expr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/child.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/comprehension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/computed_attribute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/computed_user_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/constant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/create_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/create_struct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/models/data_bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.1.1
8+
The version of the OpenAPI document: v1.1.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)