Skip to content

Commit 963b672

Browse files
author
mmx86
committed
updated to version 1.0.47
1 parent 18653e3 commit 963b672

File tree

331 files changed

+2364
-1774
lines changed

Some content is hidden

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

331 files changed

+2364
-1774
lines changed

README.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ Permify is an open source authorization service for creating fine-grained and sc
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: v0.8.7
6+
- API version: v1.2.4
77
- Package version: 1.0.0
8-
- Generator version: 7.7.0-SNAPSHOT
8+
- Generator version: 7.11.0-SNAPSHOT
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://github.com/Permify/permify/issues](https://github.com/Permify/permify/issues)
1111

1212
## Requirements.
1313

14-
Python 3.7+
14+
Python 3.8+
1515

1616
## Installation & Usage
1717
### pip install
@@ -69,7 +69,7 @@ async with permify_async.ApiClient(configuration) as api_client:
6969
# Create an instance of the API class
7070
api_instance = permify_async.BundleApi(api_client)
7171
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.
72-
body = permify_async.BundleDeleteRequest() # BundleDeleteRequest |
72+
body = permify_async.BundleDeleteBody() # BundleDeleteBody |
7373

7474
try:
7575
# delete bundle
@@ -124,14 +124,14 @@ Class | Method | HTTP request | Description
124124
- [AttributeReadRequestMetadata](docs/AttributeReadRequestMetadata.md)
125125
- [AttributeReadResponse](docs/AttributeReadResponse.md)
126126
- [AttributeType](docs/AttributeType.md)
127-
- [BundleDeleteRequest](docs/BundleDeleteRequest.md)
127+
- [BundleDeleteBody](docs/BundleDeleteBody.md)
128128
- [BundleDeleteResponse](docs/BundleDeleteResponse.md)
129-
- [BundleReadRequest](docs/BundleReadRequest.md)
129+
- [BundleReadBody](docs/BundleReadBody.md)
130130
- [BundleReadResponse](docs/BundleReadResponse.md)
131-
- [BundleRunRequest](docs/BundleRunRequest.md)
132131
- [BundleRunResponse](docs/BundleRunResponse.md)
133-
- [BundleWriteRequest](docs/BundleWriteRequest.md)
132+
- [BundleWriteBody](docs/BundleWriteBody.md)
134133
- [BundleWriteResponse](docs/BundleWriteResponse.md)
134+
- [CheckBody](docs/CheckBody.md)
135135
- [CheckResult](docs/CheckResult.md)
136136
- [CheckedExpr](docs/CheckedExpr.md)
137137
- [Child](docs/Child.md)
@@ -140,26 +140,23 @@ Class | Method | HTTP request | Description
140140
- [ComputedUserSet](docs/ComputedUserSet.md)
141141
- [Constant](docs/Constant.md)
142142
- [Context](docs/Context.md)
143-
- [ContextAttribute](docs/ContextAttribute.md)
144143
- [CreateList](docs/CreateList.md)
145144
- [CreateStruct](docs/CreateStruct.md)
146-
- [DataAttributesReadRequest](docs/DataAttributesReadRequest.md)
147145
- [DataBundle](docs/DataBundle.md)
148146
- [DataChange](docs/DataChange.md)
149147
- [DataChangeOperation](docs/DataChangeOperation.md)
150148
- [DataChanges](docs/DataChanges.md)
151-
- [DataDeleteRequest](docs/DataDeleteRequest.md)
149+
- [DataDeleteBody](docs/DataDeleteBody.md)
152150
- [DataDeleteResponse](docs/DataDeleteResponse.md)
153-
- [DataRelationshipsReadRequest](docs/DataRelationshipsReadRequest.md)
154-
- [DataWriteRequest](docs/DataWriteRequest.md)
151+
- [DataWriteBody](docs/DataWriteBody.md)
155152
- [DataWriteRequestMetadata](docs/DataWriteRequestMetadata.md)
156153
- [DataWriteResponse](docs/DataWriteResponse.md)
154+
- [DeleteRelationshipsBody](docs/DeleteRelationshipsBody.md)
157155
- [Entity](docs/Entity.md)
158156
- [EntityDefinition](docs/EntityDefinition.md)
159157
- [EntityDefinitionReference](docs/EntityDefinitionReference.md)
160158
- [EntityFilter](docs/EntityFilter.md)
161159
- [Entry](docs/Entry.md)
162-
- [Expand](docs/Expand.md)
163160
- [ExpandLeaf](docs/ExpandLeaf.md)
164161
- [ExpandTreeNode](docs/ExpandTreeNode.md)
165162
- [ExpandTreeNodeOperation](docs/ExpandTreeNodeOperation.md)
@@ -169,13 +166,18 @@ Class | Method | HTTP request | Description
169166
- [Ident](docs/Ident.md)
170167
- [Leaf](docs/Leaf.md)
171168
- [ListType](docs/ListType.md)
169+
- [LookupEntityBody](docs/LookupEntityBody.md)
170+
- [LookupEntityStreamBody](docs/LookupEntityStreamBody.md)
171+
- [LookupSubjectBody](docs/LookupSubjectBody.md)
172172
- [MapType](docs/MapType.md)
173173
- [NullValue](docs/NullValue.md)
174+
- [PartialWriteBody](docs/PartialWriteBody.md)
174175
- [Partials](docs/Partials.md)
175176
- [PermissionCheckRequestMetadata](docs/PermissionCheckRequestMetadata.md)
176177
- [PermissionCheckResponse](docs/PermissionCheckResponse.md)
177178
- [PermissionCheckResponseMetadata](docs/PermissionCheckResponseMetadata.md)
178179
- [PermissionDefinition](docs/PermissionDefinition.md)
180+
- [PermissionExpandBody](docs/PermissionExpandBody.md)
179181
- [PermissionExpandRequestMetadata](docs/PermissionExpandRequestMetadata.md)
180182
- [PermissionExpandResponse](docs/PermissionExpandResponse.md)
181183
- [PermissionLookupEntityRequestMetadata](docs/PermissionLookupEntityRequestMetadata.md)
@@ -185,44 +187,41 @@ Class | Method | HTTP request | Description
185187
- [PermissionLookupSubjectResponse](docs/PermissionLookupSubjectResponse.md)
186188
- [PermissionSubjectPermissionRequestMetadata](docs/PermissionSubjectPermissionRequestMetadata.md)
187189
- [PermissionSubjectPermissionResponse](docs/PermissionSubjectPermissionResponse.md)
188-
- [PermissionsCheckRequest](docs/PermissionsCheckRequest.md)
189-
- [PermissionsExpandRequest](docs/PermissionsExpandRequest.md)
190-
- [PermissionsLookupEntityRequest](docs/PermissionsLookupEntityRequest.md)
191-
- [PermissionsLookupSubjectRequest](docs/PermissionsLookupSubjectRequest.md)
192-
- [PermissionsSubjectPermissionRequest](docs/PermissionsSubjectPermissionRequest.md)
193190
- [PrimitiveType](docs/PrimitiveType.md)
191+
- [ReadAttributesBody](docs/ReadAttributesBody.md)
192+
- [ReadRelationshipsBody](docs/ReadRelationshipsBody.md)
194193
- [RelationDefinition](docs/RelationDefinition.md)
195194
- [RelationReference](docs/RelationReference.md)
196-
- [RelationshipDeleteRequest](docs/RelationshipDeleteRequest.md)
197195
- [RelationshipDeleteResponse](docs/RelationshipDeleteResponse.md)
198196
- [RelationshipReadRequestMetadata](docs/RelationshipReadRequestMetadata.md)
199197
- [RelationshipReadResponse](docs/RelationshipReadResponse.md)
200198
- [RelationshipWriteRequestMetadata](docs/RelationshipWriteRequestMetadata.md)
201199
- [RelationshipWriteResponse](docs/RelationshipWriteResponse.md)
202-
- [RelationshipsWriteRequest](docs/RelationshipsWriteRequest.md)
203200
- [Rewrite](docs/Rewrite.md)
204201
- [RewriteOperation](docs/RewriteOperation.md)
205202
- [RuleDefinition](docs/RuleDefinition.md)
203+
- [RunBundleBody](docs/RunBundleBody.md)
206204
- [SchemaDefinition](docs/SchemaDefinition.md)
207205
- [SchemaDefinitionReference](docs/SchemaDefinitionReference.md)
208206
- [SchemaList](docs/SchemaList.md)
207+
- [SchemaListBody](docs/SchemaListBody.md)
209208
- [SchemaListResponse](docs/SchemaListResponse.md)
210209
- [SchemaPartialWriteRequestMetadata](docs/SchemaPartialWriteRequestMetadata.md)
211210
- [SchemaPartialWriteResponse](docs/SchemaPartialWriteResponse.md)
211+
- [SchemaReadBody](docs/SchemaReadBody.md)
212212
- [SchemaReadRequestMetadata](docs/SchemaReadRequestMetadata.md)
213213
- [SchemaReadResponse](docs/SchemaReadResponse.md)
214+
- [SchemaWriteBody](docs/SchemaWriteBody.md)
214215
- [SchemaWriteResponse](docs/SchemaWriteResponse.md)
215-
- [SchemasListRequest](docs/SchemasListRequest.md)
216-
- [SchemasPartialWriteRequest](docs/SchemasPartialWriteRequest.md)
217-
- [SchemasReadRequest](docs/SchemasReadRequest.md)
218-
- [SchemasWriteRequest](docs/SchemasWriteRequest.md)
219216
- [Select](docs/Select.md)
220217
- [SourceInfo](docs/SourceInfo.md)
221218
- [Status](docs/Status.md)
222219
- [StreamResultOfPermissionLookupEntityStreamResponse](docs/StreamResultOfPermissionLookupEntityStreamResponse.md)
223220
- [StreamResultOfWatchResponse](docs/StreamResultOfWatchResponse.md)
221+
- [StringArrayValue](docs/StringArrayValue.md)
224222
- [Subject](docs/Subject.md)
225223
- [SubjectFilter](docs/SubjectFilter.md)
224+
- [SubjectPermissionBody](docs/SubjectPermissionBody.md)
226225
- [Subjects](docs/Subjects.md)
227226
- [Tenant](docs/Tenant.md)
228227
- [TenantCreateRequest](docs/TenantCreateRequest.md)
@@ -235,13 +234,15 @@ Class | Method | HTTP request | Description
235234
- [TupleSet](docs/TupleSet.md)
236235
- [TupleToUserSet](docs/TupleToUserSet.md)
237236
- [V1Call](docs/V1Call.md)
237+
- [V1Expand](docs/V1Expand.md)
238238
- [V1Operation](docs/V1Operation.md)
239239
- [V1alpha1Reference](docs/V1alpha1Reference.md)
240240
- [V1alpha1Type](docs/V1alpha1Type.md)
241241
- [Values](docs/Values.md)
242+
- [WatchBody](docs/WatchBody.md)
242243
- [WatchResponse](docs/WatchResponse.md)
243-
- [WatchWatchRequest](docs/WatchWatchRequest.md)
244244
- [WellKnownType](docs/WellKnownType.md)
245+
- [WriteRelationshipsBody](docs/WriteRelationshipsBody.md)
245246

246247

247248
<a id="documentation-for-authorization"></a>

docs/Any.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Any
22

3-
`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\". JSON The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { \"@type\": \"type.googleapis.com/google.profile.Person\", \"firstName\": <string>, \"lastName\": <string> } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" }
3+
`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { \"@type\": \"type.googleapis.com/google.profile.Person\", \"firstName\": <string>, \"lastName\": <string> } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" }
44

55
## Properties
66

77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
9-
**type** | **str** | A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \&quot;/\&quot; character. The last segment of the URL&#39;s path must represent the fully qualified name of the type (as in &#x60;path/google.protobuf.Duration&#x60;). The name should be in a canonical form (e.g., leading \&quot;.\&quot; is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme &#x60;http&#x60;, &#x60;https&#x60;, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, &#x60;https&#x60; is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than &#x60;http&#x60;, &#x60;https&#x60; (or the empty scheme) might be used with implementation specific semantics. | [optional]
9+
**type** | **str** | A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \&quot;/\&quot; character. The last segment of the URL&#39;s path must represent the fully qualified name of the type (as in &#x60;path/google.protobuf.Duration&#x60;). The name should be in a canonical form (e.g., leading \&quot;.\&quot; is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme &#x60;http&#x60;, &#x60;https&#x60;, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, &#x60;https&#x60; is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than &#x60;http&#x60;, &#x60;https&#x60; (or the empty scheme) might be used with implementation specific semantics. | [optional]
1010

1111
## Example
1212

docs/Argument.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Argument defines the type of argument in a Call. It can be either a ComputedAttr
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**computed_attribute** | [**ComputedAttribute**](ComputedAttribute.md) | | [optional]
10-
**context_attribute** | [**ContextAttribute**](ContextAttribute.md) | | [optional]
1110

1211
## Example
1312

docs/AttributeDefinition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The AttributeDefinition message provides detailed information about a specific a
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**name** | **str** | The name of the attribute, which follows a specific string pattern and has a maximum byte size. | [optional]
10-
**type** | [**AttributeType**](AttributeType.md) | | [optional]
10+
**type** | [**AttributeType**](AttributeType.md) | | [optional] [default to AttributeType.UNSPECIFIED]
1111

1212
## Example
1313

docs/AttributeType.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,25 @@
22

33
Enumerates the types of attribute. - ATTRIBUTE_TYPE_UNSPECIFIED: Not specified attribute type. This is the default value. - ATTRIBUTE_TYPE_BOOLEAN: A boolean attribute type. - ATTRIBUTE_TYPE_BOOLEAN_ARRAY: A boolean array attribute type. - ATTRIBUTE_TYPE_STRING: A string attribute type. - ATTRIBUTE_TYPE_STRING_ARRAY: A string array attribute type. - ATTRIBUTE_TYPE_INTEGER: An integer attribute type. - ATTRIBUTE_TYPE_INTEGER_ARRAY: An integer array attribute type. - ATTRIBUTE_TYPE_DOUBLE: A double attribute type. - ATTRIBUTE_TYPE_DOUBLE_ARRAY: A double array attribute type.
44

5-
## Properties
5+
## Enum
66

7-
Name | Type | Description | Notes
8-
------------ | ------------- | ------------- | -------------
7+
* `ATTRIBUTE_TYPE_UNSPECIFIED` (value: `'ATTRIBUTE_TYPE_UNSPECIFIED'`)
8+
9+
* `ATTRIBUTE_TYPE_BOOLEAN` (value: `'ATTRIBUTE_TYPE_BOOLEAN'`)
10+
11+
* `ATTRIBUTE_TYPE_BOOLEAN_ARRAY` (value: `'ATTRIBUTE_TYPE_BOOLEAN_ARRAY'`)
12+
13+
* `ATTRIBUTE_TYPE_STRING` (value: `'ATTRIBUTE_TYPE_STRING'`)
14+
15+
* `ATTRIBUTE_TYPE_STRING_ARRAY` (value: `'ATTRIBUTE_TYPE_STRING_ARRAY'`)
16+
17+
* `ATTRIBUTE_TYPE_INTEGER` (value: `'ATTRIBUTE_TYPE_INTEGER'`)
18+
19+
* `ATTRIBUTE_TYPE_INTEGER_ARRAY` (value: `'ATTRIBUTE_TYPE_INTEGER_ARRAY'`)
20+
21+
* `ATTRIBUTE_TYPE_DOUBLE` (value: `'ATTRIBUTE_TYPE_DOUBLE'`)
22+
23+
* `ATTRIBUTE_TYPE_DOUBLE_ARRAY` (value: `'ATTRIBUTE_TYPE_DOUBLE_ARRAY'`)
924

1025
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1126

0 commit comments

Comments
 (0)