Skip to content

Commit b231f52

Browse files
author
mmx86
committed
updated to version 1.0.48
1 parent 963b672 commit b231f52

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

permify_async/models/attribute_definition.py

Lines changed: 3 additions & 3 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.2.3
8+
The version of the OpenAPI document: v1.2.4
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -29,7 +29,7 @@ class AttributeDefinition(BaseModel):
2929
The AttributeDefinition message provides detailed information about a specific attribute.
3030
""" # noqa: E501
3131
name: Optional[StrictStr] = Field(default=None, description="The name of the attribute, which follows a specific string pattern and has a maximum byte size.")
32-
type: Optional[AttributeType] = AttributeType.UNSPECIFIED
32+
type: Optional[AttributeType] = AttributeType.ATTRIBUTE_TYPE_UNSPECIFIED
3333
__properties: ClassVar[List[str]] = ["name", "type"]
3434

3535
model_config = ConfigDict(
@@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
8484

8585
_obj = cls.model_validate({
8686
"name": obj.get("name"),
87-
"type": obj.get("type") if obj.get("type") is not None else AttributeType.UNSPECIFIED
87+
"type": obj.get("type") if obj.get("type") is not None else AttributeType.ATTRIBUTE_TYPE_UNSPECIFIED
8888
})
8989
return _obj
9090

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

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

permify_async/models/data_change.py

Lines changed: 3 additions & 3 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.2.3
8+
The version of the OpenAPI document: v1.2.4
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -30,7 +30,7 @@ class DataChange(BaseModel):
3030
"""
3131
DataChange represents a single change in data, with an operation type and the actual change which could be a tuple or an attribute.
3232
""" # noqa: E501
33-
operation: Optional[DataChangeOperation] = DataChangeOperation.UNSPECIFIED
33+
operation: Optional[DataChangeOperation] = DataChangeOperation.OPERATION_UNSPECIFIED
3434
tuple: Optional[Tuple] = None
3535
attribute: Optional[Attribute] = None
3636
__properties: ClassVar[List[str]] = ["operation", "tuple", "attribute"]
@@ -92,7 +92,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9292
return cls.model_validate(obj)
9393

9494
_obj = cls.model_validate({
95-
"operation": obj.get("operation") if obj.get("operation") is not None else DataChangeOperation.UNSPECIFIED,
95+
"operation": obj.get("operation") if obj.get("operation") is not None else DataChangeOperation.OPERATION_UNSPECIFIED,
9696
"tuple": Tuple.from_dict(obj["tuple"]) if obj.get("tuple") is not None else None,
9797
"attribute": Attribute.from_dict(obj["attribute"]) if obj.get("attribute") is not None else None
9898
})

permify_async/models/permission_check_response.py

Lines changed: 3 additions & 3 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.2.3
8+
The version of the OpenAPI document: v1.2.4
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -29,7 +29,7 @@ class PermissionCheckResponse(BaseModel):
2929
"""
3030
PermissionCheckResponse is the response message for the Check method in the Permission service.
3131
""" # noqa: E501
32-
can: Optional[CheckResult] = CheckResult.UNSPECIFIED
32+
can: Optional[CheckResult] = CheckResult.CHECK_RESULT_UNSPECIFIED
3333
metadata: Optional[PermissionCheckResponseMetadata] = None
3434
__properties: ClassVar[List[str]] = ["can", "metadata"]
3535

@@ -87,7 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
8787
return cls.model_validate(obj)
8888

8989
_obj = cls.model_validate({
90-
"can": obj.get("can") if obj.get("can") is not None else CheckResult.UNSPECIFIED,
90+
"can": obj.get("can") if obj.get("can") is not None else CheckResult.CHECK_RESULT_UNSPECIFIED,
9191
"metadata": PermissionCheckResponseMetadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None
9292
})
9393
return _obj

permify_async/models/rewrite.py

Lines changed: 3 additions & 3 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.2.3
8+
The version of the OpenAPI document: v1.2.4
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -28,7 +28,7 @@ class Rewrite(BaseModel):
2828
"""
2929
The Rewrite message represents a specific rewrite operation. This operation could be one of the following: union, intersection, or exclusion.
3030
""" # noqa: E501
31-
rewrite_operation: Optional[RewriteOperation] = Field(default=RewriteOperation.UNSPECIFIED, alias="rewriteOperation")
31+
rewrite_operation: Optional[RewriteOperation] = Field(default=RewriteOperation.OPERATION_UNSPECIFIED, alias="rewriteOperation")
3232
children: Optional[List[Child]] = Field(default=None, description="A list of children that are operated upon by the rewrite operation.")
3333
__properties: ClassVar[List[str]] = ["rewriteOperation", "children"]
3434

@@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9090
return cls.model_validate(obj)
9191

9292
_obj = cls.model_validate({
93-
"rewriteOperation": obj.get("rewriteOperation") if obj.get("rewriteOperation") is not None else RewriteOperation.UNSPECIFIED,
93+
"rewriteOperation": obj.get("rewriteOperation") if obj.get("rewriteOperation") is not None else RewriteOperation.OPERATION_UNSPECIFIED,
9494
"children": [Child.from_dict(_item) for _item in obj["children"]] if obj.get("children") is not None else None
9595
})
9696
return _obj

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "permify_async"
3-
version = "1.0.47"
3+
version = "1.0.48"
44
description = "Permify API"
55
authors = ["API Support <[email protected]>"]
66
license = "Apache-2.0 license"

0 commit comments

Comments
 (0)