Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions generator/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Permify API",
"description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.",
"version": "v1.4.2",
"version": "v1.4.3",
"contact": {
"name": "API Support",
"url": "https://github.com/Permify/permify/issues",
Expand Down Expand Up @@ -418,7 +418,7 @@
{
"label": "cURL",
"lang": "curl",
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/attributes/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"metadata\": {\n \"snap_token\": \"\"\n },\n \"filter\": {\n \"entity\": {\n \"type\": \"organization\",\n \"ids\": [\n \"1\"\n ]\n },\n \"attributes\": [\n \"private\"\n ]\n }\n}'"
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/attributes/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n metadata: {\n snap_token: \"\",\n },\n filter: {\n entity: {\n type: \"organization\",\n ids: [\n \"1\"\n ]\n },\n attributes: [\n \"private\"\n ],\n }\n}'"
}
]
}
Expand Down Expand Up @@ -532,7 +532,7 @@
{
"label": "cURL",
"lang": "curl",
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/relationships/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"metadata\": {\n \"snap_token\": \"\"\n },\n \"filter\": {\n \"entity\": {\n \"type\": \"organization\",\n \"ids\": [\n \"1\"\n ]\n },\n \"relation\": \"member\",\n \"subject\": {\n \"type\": \"\",\n \"ids\": [],\n \"relation\": \"\"\n }\n }\n}'"
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/relationships/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n metadata: {\n snap_token: \"\",\n },\n filter: {\n entity: {\n type: \"organization\",\n ids: [\n \"1\"\n ]\n },\n relation: \"member\",\n subject: {\n type: \"\",\n ids: [],\n relation: \"\"\n }\n }\n}'"
}
]
}
Expand Down Expand Up @@ -3534,4 +3534,4 @@
"in": "header"
}
}
}
}
4 changes: 2 additions & 2 deletions permify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501


__version__ = "v1.4.2"
__version__ = "v1.4.3"

# import apis into sdk package
from permify.api.bundle_api import BundleApi
Expand Down
2 changes: 1 addition & 1 deletion permify/api/bundle_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/api/data_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/api/permission_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/api/schema_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/api/tenancy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/api/watch_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
4 changes: 2 additions & 2 deletions permify/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down Expand Up @@ -87,7 +87,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/v1.4.2/python'
self.user_agent = 'OpenAPI-Generator/v1.4.3/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
6 changes: 3 additions & 3 deletions permify/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down Expand Up @@ -397,8 +397,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1.4.2\n"\
"SDK Package Version: v1.4.2".\
"Version of the API: v1.4.3\n"\
"SDK Package Version: v1.4.3".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion permify/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/abstract_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/any.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/argument.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_read_request_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_read_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_delete_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_delete_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_read_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_read_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_run_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_write_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_write_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/check_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/check_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/checked_expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/child.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/comprehension.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/computed_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/computed_user_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion permify/models/create_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Permify is an open source authorization service for creating fine-grained and scalable authorization systems.

The version of the OpenAPI document: v1.4.2
The version of the OpenAPI document: v1.4.3
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
Loading