Skip to content

Commit d9eae81

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

File tree

276 files changed

+404
-317
lines changed

Some content is hidden

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

276 files changed

+404
-317
lines changed

docs/LookupEntityBody.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
1111
**permission** | **str** | Name of the permission to check, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes. | [optional]
1212
**subject** | [**Subject**](Subject.md) | | [optional]
1313
**context** | [**Context**](Context.md) | | [optional]
14+
**page_size** | **int** | page_size is the number of tenants to be returned in the response. The value should be between 1 and 100. | [optional]
15+
**continuous_token** | **str** | continuous_token is an optional parameter used for pagination. It should be the value received in the previous response. | [optional]
1416

1517
## Example
1618

docs/LookupEntityStreamBody.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
1111
**permission** | **str** | Name of the permission to check, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes. | [optional]
1212
**subject** | [**Subject**](Subject.md) | | [optional]
1313
**context** | [**Context**](Context.md) | | [optional]
14+
**page_size** | **int** | page_size is the number of tenants to be returned in the response. The value should be between 1 and 100. | [optional]
15+
**continuous_token** | **str** | continuous_token is an optional parameter used for pagination. It should be the value received in the previous response. | [optional]
1416

1517
## Example
1618

docs/LookupSubjectBody.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
1111
**permission** | **str** | Permission to be checked, can be a permission or relation. Required, and must match the pattern \"^([a-zA-Z][a-zA-Z0-9_]{1,62}[a-zA-Z0-9])$\", max 64 bytes. | [optional]
1212
**subject_reference** | [**RelationReference**](RelationReference.md) | | [optional]
1313
**context** | [**Context**](Context.md) | | [optional]
14+
**page_size** | **int** | page_size is the number of tenants to be returned in the response. The value should be between 1 and 100. | [optional]
15+
**continuous_token** | **str** | continuous_token is an optional parameter used for pagination. It should be the value received in the previous response. | [optional]
1416

1517
## Example
1618

docs/PermissionLookupEntityResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PermissionLookupEntityResponse is the response message for the LookupEntity meth
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**entity_ids** | **List[str]** | List of identifiers for entities that match the lookup. | [optional]
10+
**continuous_token** | **str** | continuous_token is a string that can be used to paginate and retrieve the next set of results. | [optional]
1011

1112
## Example
1213

docs/PermissionLookupEntityStreamResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PermissionLookupEntityStreamResponse is the response message for the LookupEntit
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**entity_id** | **str** | Identifier for an entity that matches the lookup. | [optional]
10+
**continuous_token** | **str** | continuous_token is a string that can be used to paginate and retrieve the next set of results. | [optional]
1011

1112
## Example
1213

docs/PermissionLookupSubjectResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PermissionLookupSubjectResponse is the response message for the LookupSubject me
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**subject_ids** | **List[str]** | List of identifiers for subjects that match the lookup. | [optional]
10+
**continuous_token** | **str** | continuous_token is a string that can be used to paginate and retrieve the next set of results. | [optional]
1011

1112
## Example
1213

permify/api/bundle_api.py

Lines changed: 10 additions & 4 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.0.1
8+
The version of the OpenAPI document: v1.0.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -269,7 +269,9 @@ def _bundle_delete_serialize(
269269
_query_params: List[Tuple[str, str]] = []
270270
_header_params: Dict[str, Optional[str]] = _headers or {}
271271
_form_params: List[Tuple[str, str]] = []
272-
_files: Dict[str, Union[str, bytes]] = {}
272+
_files: Dict[
273+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
274+
] = {}
273275
_body_params: Optional[bytes] = None
274276

275277
# process the path parameters
@@ -552,7 +554,9 @@ def _bundle_read_serialize(
552554
_query_params: List[Tuple[str, str]] = []
553555
_header_params: Dict[str, Optional[str]] = _headers or {}
554556
_form_params: List[Tuple[str, str]] = []
555-
_files: Dict[str, Union[str, bytes]] = {}
557+
_files: Dict[
558+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
559+
] = {}
556560
_body_params: Optional[bytes] = None
557561

558562
# process the path parameters
@@ -835,7 +839,9 @@ def _bundle_write_serialize(
835839
_query_params: List[Tuple[str, str]] = []
836840
_header_params: Dict[str, Optional[str]] = _headers or {}
837841
_form_params: List[Tuple[str, str]] = []
838-
_files: Dict[str, Union[str, bytes]] = {}
842+
_files: Dict[
843+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
844+
] = {}
839845
_body_params: Optional[bytes] = None
840846

841847
# process the path parameters

permify/api/data_api.py

Lines changed: 22 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.0.1
8+
The version of the OpenAPI document: v1.0.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -277,7 +277,9 @@ def _bundle_run_serialize(
277277
_query_params: List[Tuple[str, str]] = []
278278
_header_params: Dict[str, Optional[str]] = _headers or {}
279279
_form_params: List[Tuple[str, str]] = []
280-
_files: Dict[str, Union[str, bytes]] = {}
280+
_files: Dict[
281+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
282+
] = {}
281283
_body_params: Optional[bytes] = None
282284

283285
# process the path parameters
@@ -560,7 +562,9 @@ def _data_attributes_read_serialize(
560562
_query_params: List[Tuple[str, str]] = []
561563
_header_params: Dict[str, Optional[str]] = _headers or {}
562564
_form_params: List[Tuple[str, str]] = []
563-
_files: Dict[str, Union[str, bytes]] = {}
565+
_files: Dict[
566+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
567+
] = {}
564568
_body_params: Optional[bytes] = None
565569

566570
# process the path parameters
@@ -843,7 +847,9 @@ def _data_delete_serialize(
843847
_query_params: List[Tuple[str, str]] = []
844848
_header_params: Dict[str, Optional[str]] = _headers or {}
845849
_form_params: List[Tuple[str, str]] = []
846-
_files: Dict[str, Union[str, bytes]] = {}
850+
_files: Dict[
851+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
852+
] = {}
847853
_body_params: Optional[bytes] = None
848854

849855
# process the path parameters
@@ -1126,7 +1132,9 @@ def _data_relationships_read_serialize(
11261132
_query_params: List[Tuple[str, str]] = []
11271133
_header_params: Dict[str, Optional[str]] = _headers or {}
11281134
_form_params: List[Tuple[str, str]] = []
1129-
_files: Dict[str, Union[str, bytes]] = {}
1135+
_files: Dict[
1136+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1137+
] = {}
11301138
_body_params: Optional[bytes] = None
11311139

11321140
# process the path parameters
@@ -1409,7 +1417,9 @@ def _data_write_serialize(
14091417
_query_params: List[Tuple[str, str]] = []
14101418
_header_params: Dict[str, Optional[str]] = _headers or {}
14111419
_form_params: List[Tuple[str, str]] = []
1412-
_files: Dict[str, Union[str, bytes]] = {}
1420+
_files: Dict[
1421+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1422+
] = {}
14131423
_body_params: Optional[bytes] = None
14141424

14151425
# process the path parameters
@@ -1692,7 +1702,9 @@ def _relationships_delete_serialize(
16921702
_query_params: List[Tuple[str, str]] = []
16931703
_header_params: Dict[str, Optional[str]] = _headers or {}
16941704
_form_params: List[Tuple[str, str]] = []
1695-
_files: Dict[str, Union[str, bytes]] = {}
1705+
_files: Dict[
1706+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1707+
] = {}
16961708
_body_params: Optional[bytes] = None
16971709

16981710
# process the path parameters
@@ -1975,7 +1987,9 @@ def _relationships_write_serialize(
19751987
_query_params: List[Tuple[str, str]] = []
19761988
_header_params: Dict[str, Optional[str]] = _headers or {}
19771989
_form_params: List[Tuple[str, str]] = []
1978-
_files: Dict[str, Union[str, bytes]] = {}
1990+
_files: Dict[
1991+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1992+
] = {}
19791993
_body_params: Optional[bytes] = None
19801994

19811995
# process the path parameters

permify/api/health_api.py

Lines changed: 4 additions & 2 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.0.1
8+
The version of the OpenAPI document: v1.0.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -236,7 +236,9 @@ def _health_check_serialize(
236236
_query_params: List[Tuple[str, str]] = []
237237
_header_params: Dict[str, Optional[str]] = _headers or {}
238238
_form_params: List[Tuple[str, str]] = []
239-
_files: Dict[str, Union[str, bytes]] = {}
239+
_files: Dict[
240+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
241+
] = {}
240242
_body_params: Optional[bytes] = None
241243

242244
# process the path parameters

permify/api/permission_api.py

Lines changed: 19 additions & 7 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.0.1
8+
The version of the OpenAPI document: v1.0.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -275,7 +275,9 @@ def _permissions_check_serialize(
275275
_query_params: List[Tuple[str, str]] = []
276276
_header_params: Dict[str, Optional[str]] = _headers or {}
277277
_form_params: List[Tuple[str, str]] = []
278-
_files: Dict[str, Union[str, bytes]] = {}
278+
_files: Dict[
279+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
280+
] = {}
279281
_body_params: Optional[bytes] = None
280282

281283
# process the path parameters
@@ -558,7 +560,9 @@ def _permissions_expand_serialize(
558560
_query_params: List[Tuple[str, str]] = []
559561
_header_params: Dict[str, Optional[str]] = _headers or {}
560562
_form_params: List[Tuple[str, str]] = []
561-
_files: Dict[str, Union[str, bytes]] = {}
563+
_files: Dict[
564+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
565+
] = {}
562566
_body_params: Optional[bytes] = None
563567

564568
# process the path parameters
@@ -841,7 +845,9 @@ def _permissions_lookup_entity_serialize(
841845
_query_params: List[Tuple[str, str]] = []
842846
_header_params: Dict[str, Optional[str]] = _headers or {}
843847
_form_params: List[Tuple[str, str]] = []
844-
_files: Dict[str, Union[str, bytes]] = {}
848+
_files: Dict[
849+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
850+
] = {}
845851
_body_params: Optional[bytes] = None
846852

847853
# process the path parameters
@@ -1124,7 +1130,9 @@ def _permissions_lookup_entity_stream_serialize(
11241130
_query_params: List[Tuple[str, str]] = []
11251131
_header_params: Dict[str, Optional[str]] = _headers or {}
11261132
_form_params: List[Tuple[str, str]] = []
1127-
_files: Dict[str, Union[str, bytes]] = {}
1133+
_files: Dict[
1134+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1135+
] = {}
11281136
_body_params: Optional[bytes] = None
11291137

11301138
# process the path parameters
@@ -1407,7 +1415,9 @@ def _permissions_lookup_subject_serialize(
14071415
_query_params: List[Tuple[str, str]] = []
14081416
_header_params: Dict[str, Optional[str]] = _headers or {}
14091417
_form_params: List[Tuple[str, str]] = []
1410-
_files: Dict[str, Union[str, bytes]] = {}
1418+
_files: Dict[
1419+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1420+
] = {}
14111421
_body_params: Optional[bytes] = None
14121422

14131423
# process the path parameters
@@ -1690,7 +1700,9 @@ def _permissions_subject_permission_serialize(
16901700
_query_params: List[Tuple[str, str]] = []
16911701
_header_params: Dict[str, Optional[str]] = _headers or {}
16921702
_form_params: List[Tuple[str, str]] = []
1693-
_files: Dict[str, Union[str, bytes]] = {}
1703+
_files: Dict[
1704+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1705+
] = {}
16941706
_body_params: Optional[bytes] = None
16951707

16961708
# process the path parameters

permify/api/schema_api.py

Lines changed: 13 additions & 5 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.0.1
8+
The version of the OpenAPI document: v1.0.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -271,7 +271,9 @@ def _schemas_list_serialize(
271271
_query_params: List[Tuple[str, str]] = []
272272
_header_params: Dict[str, Optional[str]] = _headers or {}
273273
_form_params: List[Tuple[str, str]] = []
274-
_files: Dict[str, Union[str, bytes]] = {}
274+
_files: Dict[
275+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
276+
] = {}
275277
_body_params: Optional[bytes] = None
276278

277279
# process the path parameters
@@ -554,7 +556,9 @@ def _schemas_partial_write_serialize(
554556
_query_params: List[Tuple[str, str]] = []
555557
_header_params: Dict[str, Optional[str]] = _headers or {}
556558
_form_params: List[Tuple[str, str]] = []
557-
_files: Dict[str, Union[str, bytes]] = {}
559+
_files: Dict[
560+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
561+
] = {}
558562
_body_params: Optional[bytes] = None
559563

560564
# process the path parameters
@@ -837,7 +841,9 @@ def _schemas_read_serialize(
837841
_query_params: List[Tuple[str, str]] = []
838842
_header_params: Dict[str, Optional[str]] = _headers or {}
839843
_form_params: List[Tuple[str, str]] = []
840-
_files: Dict[str, Union[str, bytes]] = {}
844+
_files: Dict[
845+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
846+
] = {}
841847
_body_params: Optional[bytes] = None
842848

843849
# process the path parameters
@@ -1120,7 +1126,9 @@ def _schemas_write_serialize(
11201126
_query_params: List[Tuple[str, str]] = []
11211127
_header_params: Dict[str, Optional[str]] = _headers or {}
11221128
_form_params: List[Tuple[str, str]] = []
1123-
_files: Dict[str, Union[str, bytes]] = {}
1129+
_files: Dict[
1130+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1131+
] = {}
11241132
_body_params: Optional[bytes] = None
11251133

11261134
# process the path parameters

permify/api/tenancy_api.py

Lines changed: 10 additions & 4 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.0.1
8+
The version of the OpenAPI document: v1.0.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -255,7 +255,9 @@ def _tenants_create_serialize(
255255
_query_params: List[Tuple[str, str]] = []
256256
_header_params: Dict[str, Optional[str]] = _headers or {}
257257
_form_params: List[Tuple[str, str]] = []
258-
_files: Dict[str, Union[str, bytes]] = {}
258+
_files: Dict[
259+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
260+
] = {}
259261
_body_params: Optional[bytes] = None
260262

261263
# process the path parameters
@@ -523,7 +525,9 @@ def _tenants_delete_serialize(
523525
_query_params: List[Tuple[str, str]] = []
524526
_header_params: Dict[str, Optional[str]] = _headers or {}
525527
_form_params: List[Tuple[str, str]] = []
526-
_files: Dict[str, Union[str, bytes]] = {}
528+
_files: Dict[
529+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
530+
] = {}
527531
_body_params: Optional[bytes] = None
528532

529533
# process the path parameters
@@ -778,7 +782,9 @@ def _tenants_list_serialize(
778782
_query_params: List[Tuple[str, str]] = []
779783
_header_params: Dict[str, Optional[str]] = _headers or {}
780784
_form_params: List[Tuple[str, str]] = []
781-
_files: Dict[str, Union[str, bytes]] = {}
785+
_files: Dict[
786+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
787+
] = {}
782788
_body_params: Optional[bytes] = None
783789

784790
# process the path parameters

permify/api/watch_api.py

Lines changed: 4 additions & 2 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.0.1
8+
The version of the OpenAPI document: v1.0.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -265,7 +265,9 @@ def _watch_watch_serialize(
265265
_query_params: List[Tuple[str, str]] = []
266266
_header_params: Dict[str, Optional[str]] = _headers or {}
267267
_form_params: List[Tuple[str, str]] = []
268-
_files: Dict[str, Union[str, bytes]] = {}
268+
_files: Dict[
269+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
270+
] = {}
269271
_body_params: Optional[bytes] = None
270272

271273
# process the path parameters

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.0.1
8+
The version of the OpenAPI document: v1.0.2
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)