Skip to content

Commit d9eae81

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

276 files changed

Lines changed: 404 additions & 317 deletions

File tree

Some content is hidden

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

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
Contact: hello@permify.co
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
Contact: hello@permify.co
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
Contact: hello@permify.co
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
Contact: hello@permify.co
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

0 commit comments

Comments
 (0)