permify 0.0.1__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {permify-0.0.1 → permify-1.0.2}/PKG-INFO +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/api/bundle_api.py +10 -4
- {permify-0.0.1 → permify-1.0.2}/permify/api/data_api.py +22 -8
- permify-1.0.2/permify/api/health_api.py +279 -0
- {permify-0.0.1 → permify-1.0.2}/permify/api/permission_api.py +19 -7
- {permify-0.0.1 → permify-1.0.2}/permify/api/schema_api.py +13 -5
- {permify-0.0.1 → permify-1.0.2}/permify/api/tenancy_api.py +10 -4
- {permify-0.0.1 → permify-1.0.2}/permify/api/watch_api.py +4 -2
- {permify-0.0.1 → permify-1.0.2}/permify/models/abstract_type.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/any.py +3 -3
- {permify-0.0.1 → permify-1.0.2}/permify/models/argument.py +3 -9
- {permify-0.0.1 → permify-1.0.2}/permify/models/attribute.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/attribute_definition.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/attribute_filter.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/attribute_read_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/attribute_read_response.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/attribute_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/bundle_delete_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/bundle_delete_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/bundle_read_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/bundle_read_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/bundle_run_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/bundle_write_body.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/bundle_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/check_body.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/check_result.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/checked_expr.py +7 -7
- {permify-0.0.1 → permify-1.0.2}/permify/models/child.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/comprehension.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/computed_attribute.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/computed_user_set.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/constant.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/context.py +7 -7
- {permify-0.0.1 → permify-1.0.2}/permify/models/context_attribute.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/create_list.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/create_struct.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_bundle.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_change.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_change_operation.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_changes.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_delete_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_delete_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_write_body.py +7 -7
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_write_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/data_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/delete_relationships_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/entity.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/entity_definition.py +10 -10
- {permify-0.0.1 → permify-1.0.2}/permify/models/entity_definition_reference.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/entity_filter.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/entry.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/expand_leaf.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/expand_tree_node.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/expand_tree_node_operation.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/expr.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/expr_call.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/function_type.py +4 -4
- permify-1.0.2/permify/models/health_response.py +88 -0
- {permify-0.0.1 → permify-1.0.2}/permify/models/ident.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/leaf.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/list_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/lookup_entity_body.py +23 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/lookup_entity_stream_body.py +23 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/lookup_subject_body.py +8 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/map_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/partial_write_body.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/partials.py +1 -1
- permify-1.0.2/permify/models/permission_check_body.py +122 -0
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_check_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_check_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_check_response_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_definition.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_expand_body.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_expand_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_expand_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_lookup_entity_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_lookup_entity_response.py +5 -3
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_lookup_entity_stream_response.py +5 -3
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_lookup_subject_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_lookup_subject_response.py +5 -3
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_subject_permission_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/permission_subject_permission_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/primitive_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/read_attributes_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/read_relationships_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/relation_definition.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/relation_reference.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/relationship_delete_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/relationship_read_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/relationship_read_response.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/relationship_write_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/relationship_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/rewrite.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/rewrite_operation.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/rule_definition.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/run_bundle_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_definition.py +7 -7
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_definition_reference.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_list.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_list_body.py +2 -2
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_list_response.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_partial_write_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_partial_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_read_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_read_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_read_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_write_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/schema_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/select.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/source_info.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/status.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/stream_result_of_permission_lookup_entity_stream_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/stream_result_of_watch_response.py +1 -1
- permify-1.0.2/permify/models/string_array_value.py +88 -0
- {permify-0.0.1 → permify-1.0.2}/permify/models/subject.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/subject_filter.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/subject_permission_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/subjects.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/tenant.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/tenant_create_request.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/tenant_create_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/tenant_delete_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/tenant_list_request.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/tenant_list_response.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/tuple.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/tuple_filter.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/tuple_set.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/tuple_to_user_set.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/v1_call.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/v1_expand.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/v1_operation.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/v1alpha1_reference.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/v1alpha1_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/values.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify/models/watch_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/watch_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/well_known_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify/models/write_relationships_body.py +4 -4
- {permify-0.0.1 → permify-1.0.2}/permify.egg-info/PKG-INFO +1 -1
- {permify-0.0.1 → permify-1.0.2}/permify.egg-info/SOURCES.txt +8 -0
- {permify-0.0.1 → permify-1.0.2}/test/test_abstract_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_any.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_argument.py +1 -3
- {permify-0.0.1 → permify-1.0.2}/test/test_attribute.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_attribute_definition.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_attribute_filter.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_attribute_read_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_attribute_read_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_attribute_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_bundle_api.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_bundle_delete_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_bundle_delete_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_bundle_read_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_bundle_read_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_bundle_run_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_bundle_write_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_bundle_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_check_body.py +1 -3
- {permify-0.0.1 → permify-1.0.2}/test/test_check_result.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_checked_expr.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_child.py +3 -7
- {permify-0.0.1 → permify-1.0.2}/test/test_comprehension.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_computed_attribute.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_computed_user_set.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_constant.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_context.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_context_attribute.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_create_list.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_create_struct.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_api.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_bundle.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_change.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_change_operation.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_changes.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_delete_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_delete_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_write_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_write_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_data_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_delete_relationships_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_entity.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_entity_definition.py +2 -4
- {permify-0.0.1 → permify-1.0.2}/test/test_entity_definition_reference.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_entity_filter.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_entry.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_expand_leaf.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_expand_tree_node.py +1 -3
- {permify-0.0.1 → permify-1.0.2}/test/test_expand_tree_node_operation.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_expr.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_expr_call.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_function_type.py +1 -1
- permify-1.0.2/test/test_health_api.py +39 -0
- permify-1.0.2/test/test_health_response.py +52 -0
- {permify-0.0.1 → permify-1.0.2}/test/test_ident.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_leaf.py +1 -3
- {permify-0.0.1 → permify-1.0.2}/test/test_list_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_lookup_entity_body.py +10 -2
- {permify-0.0.1 → permify-1.0.2}/test/test_lookup_entity_stream_body.py +10 -2
- {permify-0.0.1 → permify-1.0.2}/test/test_lookup_subject_body.py +4 -2
- {permify-0.0.1 → permify-1.0.2}/test/test_map_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_partial_write_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_partials.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_api.py +1 -1
- permify-1.0.2/test/test_permission_check_body.py +88 -0
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_check_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_check_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_check_response_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_definition.py +2 -4
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_expand_body.py +1 -3
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_expand_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_expand_response.py +1 -3
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_lookup_entity_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_lookup_entity_response.py +3 -2
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_lookup_entity_stream_response.py +3 -2
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_lookup_subject_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_lookup_subject_response.py +3 -2
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_subject_permission_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_permission_subject_permission_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_primitive_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_read_attributes_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_read_relationships_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_relation_definition.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_relation_reference.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_relationship_delete_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_relationship_read_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_relationship_read_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_relationship_write_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_relationship_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_rewrite.py +2 -4
- {permify-0.0.1 → permify-1.0.2}/test/test_rewrite_operation.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_rule_definition.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_run_bundle_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_api.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_definition.py +2 -4
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_definition_reference.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_list.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_list_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_list_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_partial_write_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_partial_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_read_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_read_request_metadata.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_read_response.py +2 -4
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_write_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_schema_write_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_select.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_source_info.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_status.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_stream_result_of_permission_lookup_entity_stream_response.py +3 -2
- {permify-0.0.1 → permify-1.0.2}/test/test_stream_result_of_watch_response.py +1 -1
- permify-1.0.2/test/test_string_array_value.py +54 -0
- {permify-0.0.1 → permify-1.0.2}/test/test_subject.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_subject_filter.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_subject_permission_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_subjects.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tenancy_api.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tenant.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tenant_create_request.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tenant_create_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tenant_delete_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tenant_list_request.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tenant_list_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tuple.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tuple_filter.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tuple_set.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_tuple_to_user_set.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_v1_call.py +1 -3
- {permify-0.0.1 → permify-1.0.2}/test/test_v1_expand.py +1 -5
- {permify-0.0.1 → permify-1.0.2}/test/test_v1_operation.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_v1alpha1_reference.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_v1alpha1_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_values.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_watch_api.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_watch_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_watch_response.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_well_known_type.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/test/test_write_relationships_body.py +1 -1
- {permify-0.0.1 → permify-1.0.2}/LICENCE +0 -0
- {permify-0.0.1 → permify-1.0.2}/README.md +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/__init__.py +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/api/__init__.py +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/api_client.py +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/api_response.py +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/configuration.py +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/exceptions.py +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/models/__init__.py +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/py.typed +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify/rest.py +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify.egg-info/dependency_links.txt +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify.egg-info/requires.txt +0 -0
- {permify-0.0.1 → permify-1.0.2}/permify.egg-info/top_level.txt +0 -0
- {permify-0.0.1 → permify-1.0.2}/pyproject.toml +0 -0
- {permify-0.0.1 → permify-1.0.2}/setup.cfg +0 -0
- {permify-0.0.1 → permify-1.0.2}/setup.py +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: v1.1.3
|
|
9
9
|
Contact: hello@permify.co
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -269,7 +269,9 @@ class BundleApi:
|
|
|
269
269
|
_query_params: List[Tuple[str, str]] = []
|
|
270
270
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
271
271
|
_form_params: List[Tuple[str, str]] = []
|
|
272
|
-
_files: Dict[
|
|
272
|
+
_files: Dict[
|
|
273
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
274
|
+
] = {}
|
|
273
275
|
_body_params: Optional[bytes] = None
|
|
274
276
|
|
|
275
277
|
# process the path parameters
|
|
@@ -552,7 +554,9 @@ class BundleApi:
|
|
|
552
554
|
_query_params: List[Tuple[str, str]] = []
|
|
553
555
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
554
556
|
_form_params: List[Tuple[str, str]] = []
|
|
555
|
-
_files: Dict[
|
|
557
|
+
_files: Dict[
|
|
558
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
559
|
+
] = {}
|
|
556
560
|
_body_params: Optional[bytes] = None
|
|
557
561
|
|
|
558
562
|
# process the path parameters
|
|
@@ -835,7 +839,9 @@ class BundleApi:
|
|
|
835
839
|
_query_params: List[Tuple[str, str]] = []
|
|
836
840
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
837
841
|
_form_params: List[Tuple[str, str]] = []
|
|
838
|
-
_files: Dict[
|
|
842
|
+
_files: Dict[
|
|
843
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
844
|
+
] = {}
|
|
839
845
|
_body_params: Optional[bytes] = None
|
|
840
846
|
|
|
841
847
|
# process the path parameters
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: v1.1.3
|
|
9
9
|
Contact: hello@permify.co
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -277,7 +277,9 @@ class DataApi:
|
|
|
277
277
|
_query_params: List[Tuple[str, str]] = []
|
|
278
278
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
279
279
|
_form_params: List[Tuple[str, str]] = []
|
|
280
|
-
_files: Dict[
|
|
280
|
+
_files: Dict[
|
|
281
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
282
|
+
] = {}
|
|
281
283
|
_body_params: Optional[bytes] = None
|
|
282
284
|
|
|
283
285
|
# process the path parameters
|
|
@@ -560,7 +562,9 @@ class DataApi:
|
|
|
560
562
|
_query_params: List[Tuple[str, str]] = []
|
|
561
563
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
562
564
|
_form_params: List[Tuple[str, str]] = []
|
|
563
|
-
_files: Dict[
|
|
565
|
+
_files: Dict[
|
|
566
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
567
|
+
] = {}
|
|
564
568
|
_body_params: Optional[bytes] = None
|
|
565
569
|
|
|
566
570
|
# process the path parameters
|
|
@@ -843,7 +847,9 @@ class DataApi:
|
|
|
843
847
|
_query_params: List[Tuple[str, str]] = []
|
|
844
848
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
845
849
|
_form_params: List[Tuple[str, str]] = []
|
|
846
|
-
_files: Dict[
|
|
850
|
+
_files: Dict[
|
|
851
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
852
|
+
] = {}
|
|
847
853
|
_body_params: Optional[bytes] = None
|
|
848
854
|
|
|
849
855
|
# process the path parameters
|
|
@@ -1126,7 +1132,9 @@ class DataApi:
|
|
|
1126
1132
|
_query_params: List[Tuple[str, str]] = []
|
|
1127
1133
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1128
1134
|
_form_params: List[Tuple[str, str]] = []
|
|
1129
|
-
_files: Dict[
|
|
1135
|
+
_files: Dict[
|
|
1136
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1137
|
+
] = {}
|
|
1130
1138
|
_body_params: Optional[bytes] = None
|
|
1131
1139
|
|
|
1132
1140
|
# process the path parameters
|
|
@@ -1409,7 +1417,9 @@ class DataApi:
|
|
|
1409
1417
|
_query_params: List[Tuple[str, str]] = []
|
|
1410
1418
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1411
1419
|
_form_params: List[Tuple[str, str]] = []
|
|
1412
|
-
_files: Dict[
|
|
1420
|
+
_files: Dict[
|
|
1421
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1422
|
+
] = {}
|
|
1413
1423
|
_body_params: Optional[bytes] = None
|
|
1414
1424
|
|
|
1415
1425
|
# process the path parameters
|
|
@@ -1692,7 +1702,9 @@ class DataApi:
|
|
|
1692
1702
|
_query_params: List[Tuple[str, str]] = []
|
|
1693
1703
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1694
1704
|
_form_params: List[Tuple[str, str]] = []
|
|
1695
|
-
_files: Dict[
|
|
1705
|
+
_files: Dict[
|
|
1706
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1707
|
+
] = {}
|
|
1696
1708
|
_body_params: Optional[bytes] = None
|
|
1697
1709
|
|
|
1698
1710
|
# process the path parameters
|
|
@@ -1975,7 +1987,9 @@ class DataApi:
|
|
|
1975
1987
|
_query_params: List[Tuple[str, str]] = []
|
|
1976
1988
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1977
1989
|
_form_params: List[Tuple[str, str]] = []
|
|
1978
|
-
_files: Dict[
|
|
1990
|
+
_files: Dict[
|
|
1991
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1992
|
+
] = {}
|
|
1979
1993
|
_body_params: Optional[bytes] = None
|
|
1980
1994
|
|
|
1981
1995
|
# process the path parameters
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Permify API
|
|
5
|
+
|
|
6
|
+
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1.1.1
|
|
9
|
+
Contact: hello@permify.co
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
import warnings
|
|
16
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
+
from typing_extensions import Annotated
|
|
19
|
+
|
|
20
|
+
from permify.models.health_response import HealthResponse
|
|
21
|
+
|
|
22
|
+
from permify.api_client import ApiClient, RequestSerialized
|
|
23
|
+
from permify.api_response import ApiResponse
|
|
24
|
+
from permify.rest import RESTResponseType
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class HealthApi:
|
|
28
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
29
|
+
Ref: https://openapi-generator.tech
|
|
30
|
+
|
|
31
|
+
Do not edit the class manually.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
def __init__(self, api_client=None) -> None:
|
|
35
|
+
if api_client is None:
|
|
36
|
+
api_client = ApiClient.get_default()
|
|
37
|
+
self.api_client = api_client
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
@validate_call
|
|
41
|
+
def health_check(
|
|
42
|
+
self,
|
|
43
|
+
_request_timeout: Union[
|
|
44
|
+
None,
|
|
45
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
46
|
+
Tuple[
|
|
47
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
48
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
49
|
+
]
|
|
50
|
+
] = None,
|
|
51
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
52
|
+
_content_type: Optional[StrictStr] = None,
|
|
53
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
54
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
55
|
+
) -> HealthResponse:
|
|
56
|
+
"""health api
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
60
|
+
number provided, it will be total request
|
|
61
|
+
timeout. It can also be a pair (tuple) of
|
|
62
|
+
(connection, read) timeouts.
|
|
63
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
64
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
65
|
+
request; this effectively ignores the
|
|
66
|
+
authentication in the spec for a single request.
|
|
67
|
+
:type _request_auth: dict, optional
|
|
68
|
+
:param _content_type: force content-type for the request.
|
|
69
|
+
:type _content_type: str, Optional
|
|
70
|
+
:param _headers: set to override the headers for a single
|
|
71
|
+
request; this effectively ignores the headers
|
|
72
|
+
in the spec for a single request.
|
|
73
|
+
:type _headers: dict, optional
|
|
74
|
+
:param _host_index: set to override the host_index for a single
|
|
75
|
+
request; this effectively ignores the host_index
|
|
76
|
+
in the spec for a single request.
|
|
77
|
+
:type _host_index: int, optional
|
|
78
|
+
:return: Returns the result object.
|
|
79
|
+
""" # noqa: E501
|
|
80
|
+
|
|
81
|
+
_param = self._health_check_serialize(
|
|
82
|
+
_request_auth=_request_auth,
|
|
83
|
+
_content_type=_content_type,
|
|
84
|
+
_headers=_headers,
|
|
85
|
+
_host_index=_host_index
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
89
|
+
'200': "HealthResponse",
|
|
90
|
+
}
|
|
91
|
+
response_data = self.api_client.call_api(
|
|
92
|
+
*_param,
|
|
93
|
+
_request_timeout=_request_timeout
|
|
94
|
+
)
|
|
95
|
+
response_data.read()
|
|
96
|
+
return self.api_client.response_deserialize(
|
|
97
|
+
response_data=response_data,
|
|
98
|
+
response_types_map=_response_types_map,
|
|
99
|
+
).data
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
@validate_call
|
|
103
|
+
def health_check_with_http_info(
|
|
104
|
+
self,
|
|
105
|
+
_request_timeout: Union[
|
|
106
|
+
None,
|
|
107
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
108
|
+
Tuple[
|
|
109
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
110
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
111
|
+
]
|
|
112
|
+
] = None,
|
|
113
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
114
|
+
_content_type: Optional[StrictStr] = None,
|
|
115
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
116
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
117
|
+
) -> ApiResponse[HealthResponse]:
|
|
118
|
+
"""health api
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
122
|
+
number provided, it will be total request
|
|
123
|
+
timeout. It can also be a pair (tuple) of
|
|
124
|
+
(connection, read) timeouts.
|
|
125
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
126
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
127
|
+
request; this effectively ignores the
|
|
128
|
+
authentication in the spec for a single request.
|
|
129
|
+
:type _request_auth: dict, optional
|
|
130
|
+
:param _content_type: force content-type for the request.
|
|
131
|
+
:type _content_type: str, Optional
|
|
132
|
+
:param _headers: set to override the headers for a single
|
|
133
|
+
request; this effectively ignores the headers
|
|
134
|
+
in the spec for a single request.
|
|
135
|
+
:type _headers: dict, optional
|
|
136
|
+
:param _host_index: set to override the host_index for a single
|
|
137
|
+
request; this effectively ignores the host_index
|
|
138
|
+
in the spec for a single request.
|
|
139
|
+
:type _host_index: int, optional
|
|
140
|
+
:return: Returns the result object.
|
|
141
|
+
""" # noqa: E501
|
|
142
|
+
|
|
143
|
+
_param = self._health_check_serialize(
|
|
144
|
+
_request_auth=_request_auth,
|
|
145
|
+
_content_type=_content_type,
|
|
146
|
+
_headers=_headers,
|
|
147
|
+
_host_index=_host_index
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
151
|
+
'200': "HealthResponse",
|
|
152
|
+
}
|
|
153
|
+
response_data = self.api_client.call_api(
|
|
154
|
+
*_param,
|
|
155
|
+
_request_timeout=_request_timeout
|
|
156
|
+
)
|
|
157
|
+
response_data.read()
|
|
158
|
+
return self.api_client.response_deserialize(
|
|
159
|
+
response_data=response_data,
|
|
160
|
+
response_types_map=_response_types_map,
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
@validate_call
|
|
165
|
+
def health_check_without_preload_content(
|
|
166
|
+
self,
|
|
167
|
+
_request_timeout: Union[
|
|
168
|
+
None,
|
|
169
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
170
|
+
Tuple[
|
|
171
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
172
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
173
|
+
]
|
|
174
|
+
] = None,
|
|
175
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
176
|
+
_content_type: Optional[StrictStr] = None,
|
|
177
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
178
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
179
|
+
) -> RESTResponseType:
|
|
180
|
+
"""health api
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
184
|
+
number provided, it will be total request
|
|
185
|
+
timeout. It can also be a pair (tuple) of
|
|
186
|
+
(connection, read) timeouts.
|
|
187
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
188
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
189
|
+
request; this effectively ignores the
|
|
190
|
+
authentication in the spec for a single request.
|
|
191
|
+
:type _request_auth: dict, optional
|
|
192
|
+
:param _content_type: force content-type for the request.
|
|
193
|
+
:type _content_type: str, Optional
|
|
194
|
+
:param _headers: set to override the headers for a single
|
|
195
|
+
request; this effectively ignores the headers
|
|
196
|
+
in the spec for a single request.
|
|
197
|
+
:type _headers: dict, optional
|
|
198
|
+
:param _host_index: set to override the host_index for a single
|
|
199
|
+
request; this effectively ignores the host_index
|
|
200
|
+
in the spec for a single request.
|
|
201
|
+
:type _host_index: int, optional
|
|
202
|
+
:return: Returns the result object.
|
|
203
|
+
""" # noqa: E501
|
|
204
|
+
|
|
205
|
+
_param = self._health_check_serialize(
|
|
206
|
+
_request_auth=_request_auth,
|
|
207
|
+
_content_type=_content_type,
|
|
208
|
+
_headers=_headers,
|
|
209
|
+
_host_index=_host_index
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
213
|
+
'200': "HealthResponse",
|
|
214
|
+
}
|
|
215
|
+
response_data = self.api_client.call_api(
|
|
216
|
+
*_param,
|
|
217
|
+
_request_timeout=_request_timeout
|
|
218
|
+
)
|
|
219
|
+
return response_data.response
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
def _health_check_serialize(
|
|
223
|
+
self,
|
|
224
|
+
_request_auth,
|
|
225
|
+
_content_type,
|
|
226
|
+
_headers,
|
|
227
|
+
_host_index,
|
|
228
|
+
) -> RequestSerialized:
|
|
229
|
+
|
|
230
|
+
_host = None
|
|
231
|
+
|
|
232
|
+
_collection_formats: Dict[str, str] = {
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
_path_params: Dict[str, str] = {}
|
|
236
|
+
_query_params: List[Tuple[str, str]] = []
|
|
237
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
238
|
+
_form_params: List[Tuple[str, str]] = []
|
|
239
|
+
_files: Dict[
|
|
240
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
241
|
+
] = {}
|
|
242
|
+
_body_params: Optional[bytes] = None
|
|
243
|
+
|
|
244
|
+
# process the path parameters
|
|
245
|
+
# process the query parameters
|
|
246
|
+
# process the header parameters
|
|
247
|
+
# process the form parameters
|
|
248
|
+
# process the body parameter
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
# set the HTTP header `Accept`
|
|
252
|
+
if 'Accept' not in _header_params:
|
|
253
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
254
|
+
[
|
|
255
|
+
'application/json'
|
|
256
|
+
]
|
|
257
|
+
)
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
# authentication setting
|
|
261
|
+
_auth_settings: List[str] = [
|
|
262
|
+
]
|
|
263
|
+
|
|
264
|
+
return self.api_client.param_serialize(
|
|
265
|
+
method='GET',
|
|
266
|
+
resource_path='/healthz',
|
|
267
|
+
path_params=_path_params,
|
|
268
|
+
query_params=_query_params,
|
|
269
|
+
header_params=_header_params,
|
|
270
|
+
body=_body_params,
|
|
271
|
+
post_params=_form_params,
|
|
272
|
+
files=_files,
|
|
273
|
+
auth_settings=_auth_settings,
|
|
274
|
+
collection_formats=_collection_formats,
|
|
275
|
+
_host=_host,
|
|
276
|
+
_request_auth=_request_auth
|
|
277
|
+
)
|
|
278
|
+
|
|
279
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: v1.1.3
|
|
9
9
|
Contact: hello@permify.co
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -275,7 +275,9 @@ class PermissionApi:
|
|
|
275
275
|
_query_params: List[Tuple[str, str]] = []
|
|
276
276
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
277
277
|
_form_params: List[Tuple[str, str]] = []
|
|
278
|
-
_files: Dict[
|
|
278
|
+
_files: Dict[
|
|
279
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
280
|
+
] = {}
|
|
279
281
|
_body_params: Optional[bytes] = None
|
|
280
282
|
|
|
281
283
|
# process the path parameters
|
|
@@ -558,7 +560,9 @@ class PermissionApi:
|
|
|
558
560
|
_query_params: List[Tuple[str, str]] = []
|
|
559
561
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
560
562
|
_form_params: List[Tuple[str, str]] = []
|
|
561
|
-
_files: Dict[
|
|
563
|
+
_files: Dict[
|
|
564
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
565
|
+
] = {}
|
|
562
566
|
_body_params: Optional[bytes] = None
|
|
563
567
|
|
|
564
568
|
# process the path parameters
|
|
@@ -841,7 +845,9 @@ class PermissionApi:
|
|
|
841
845
|
_query_params: List[Tuple[str, str]] = []
|
|
842
846
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
843
847
|
_form_params: List[Tuple[str, str]] = []
|
|
844
|
-
_files: Dict[
|
|
848
|
+
_files: Dict[
|
|
849
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
850
|
+
] = {}
|
|
845
851
|
_body_params: Optional[bytes] = None
|
|
846
852
|
|
|
847
853
|
# process the path parameters
|
|
@@ -1124,7 +1130,9 @@ class PermissionApi:
|
|
|
1124
1130
|
_query_params: List[Tuple[str, str]] = []
|
|
1125
1131
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1126
1132
|
_form_params: List[Tuple[str, str]] = []
|
|
1127
|
-
_files: Dict[
|
|
1133
|
+
_files: Dict[
|
|
1134
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1135
|
+
] = {}
|
|
1128
1136
|
_body_params: Optional[bytes] = None
|
|
1129
1137
|
|
|
1130
1138
|
# process the path parameters
|
|
@@ -1407,7 +1415,9 @@ class PermissionApi:
|
|
|
1407
1415
|
_query_params: List[Tuple[str, str]] = []
|
|
1408
1416
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1409
1417
|
_form_params: List[Tuple[str, str]] = []
|
|
1410
|
-
_files: Dict[
|
|
1418
|
+
_files: Dict[
|
|
1419
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1420
|
+
] = {}
|
|
1411
1421
|
_body_params: Optional[bytes] = None
|
|
1412
1422
|
|
|
1413
1423
|
# process the path parameters
|
|
@@ -1690,7 +1700,9 @@ class PermissionApi:
|
|
|
1690
1700
|
_query_params: List[Tuple[str, str]] = []
|
|
1691
1701
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1692
1702
|
_form_params: List[Tuple[str, str]] = []
|
|
1693
|
-
_files: Dict[
|
|
1703
|
+
_files: Dict[
|
|
1704
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1705
|
+
] = {}
|
|
1694
1706
|
_body_params: Optional[bytes] = None
|
|
1695
1707
|
|
|
1696
1708
|
# process the path parameters
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: v1.1.3
|
|
9
9
|
Contact: hello@permify.co
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -271,7 +271,9 @@ class SchemaApi:
|
|
|
271
271
|
_query_params: List[Tuple[str, str]] = []
|
|
272
272
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
273
273
|
_form_params: List[Tuple[str, str]] = []
|
|
274
|
-
_files: Dict[
|
|
274
|
+
_files: Dict[
|
|
275
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
276
|
+
] = {}
|
|
275
277
|
_body_params: Optional[bytes] = None
|
|
276
278
|
|
|
277
279
|
# process the path parameters
|
|
@@ -554,7 +556,9 @@ class SchemaApi:
|
|
|
554
556
|
_query_params: List[Tuple[str, str]] = []
|
|
555
557
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
556
558
|
_form_params: List[Tuple[str, str]] = []
|
|
557
|
-
_files: Dict[
|
|
559
|
+
_files: Dict[
|
|
560
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
561
|
+
] = {}
|
|
558
562
|
_body_params: Optional[bytes] = None
|
|
559
563
|
|
|
560
564
|
# process the path parameters
|
|
@@ -837,7 +841,9 @@ class SchemaApi:
|
|
|
837
841
|
_query_params: List[Tuple[str, str]] = []
|
|
838
842
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
839
843
|
_form_params: List[Tuple[str, str]] = []
|
|
840
|
-
_files: Dict[
|
|
844
|
+
_files: Dict[
|
|
845
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
846
|
+
] = {}
|
|
841
847
|
_body_params: Optional[bytes] = None
|
|
842
848
|
|
|
843
849
|
# process the path parameters
|
|
@@ -1120,7 +1126,9 @@ class SchemaApi:
|
|
|
1120
1126
|
_query_params: List[Tuple[str, str]] = []
|
|
1121
1127
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1122
1128
|
_form_params: List[Tuple[str, str]] = []
|
|
1123
|
-
_files: Dict[
|
|
1129
|
+
_files: Dict[
|
|
1130
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1131
|
+
] = {}
|
|
1124
1132
|
_body_params: Optional[bytes] = None
|
|
1125
1133
|
|
|
1126
1134
|
# process the path parameters
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: v1.1.3
|
|
9
9
|
Contact: hello@permify.co
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -255,7 +255,9 @@ class TenancyApi:
|
|
|
255
255
|
_query_params: List[Tuple[str, str]] = []
|
|
256
256
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
257
257
|
_form_params: List[Tuple[str, str]] = []
|
|
258
|
-
_files: Dict[
|
|
258
|
+
_files: Dict[
|
|
259
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
260
|
+
] = {}
|
|
259
261
|
_body_params: Optional[bytes] = None
|
|
260
262
|
|
|
261
263
|
# process the path parameters
|
|
@@ -523,7 +525,9 @@ class TenancyApi:
|
|
|
523
525
|
_query_params: List[Tuple[str, str]] = []
|
|
524
526
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
525
527
|
_form_params: List[Tuple[str, str]] = []
|
|
526
|
-
_files: Dict[
|
|
528
|
+
_files: Dict[
|
|
529
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
530
|
+
] = {}
|
|
527
531
|
_body_params: Optional[bytes] = None
|
|
528
532
|
|
|
529
533
|
# process the path parameters
|
|
@@ -778,7 +782,9 @@ class TenancyApi:
|
|
|
778
782
|
_query_params: List[Tuple[str, str]] = []
|
|
779
783
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
780
784
|
_form_params: List[Tuple[str, str]] = []
|
|
781
|
-
_files: Dict[
|
|
785
|
+
_files: Dict[
|
|
786
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
787
|
+
] = {}
|
|
782
788
|
_body_params: Optional[bytes] = None
|
|
783
789
|
|
|
784
790
|
# process the path parameters
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: v1.1.3
|
|
9
9
|
Contact: hello@permify.co
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -265,7 +265,9 @@ class WatchApi:
|
|
|
265
265
|
_query_params: List[Tuple[str, str]] = []
|
|
266
266
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
267
267
|
_form_params: List[Tuple[str, str]] = []
|
|
268
|
-
_files: Dict[
|
|
268
|
+
_files: Dict[
|
|
269
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
270
|
+
] = {}
|
|
269
271
|
_body_params: Optional[bytes] = None
|
|
270
272
|
|
|
271
273
|
# process the path parameters
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: v1.1.3
|
|
9
9
|
Contact: hello@permify.co
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -73,9 +73,9 @@ class AbstractType(BaseModel):
|
|
|
73
73
|
# override the default output from pydantic by calling `to_dict()` of each item in parameter_types (list)
|
|
74
74
|
_items = []
|
|
75
75
|
if self.parameter_types:
|
|
76
|
-
for
|
|
77
|
-
if
|
|
78
|
-
_items.append(
|
|
76
|
+
for _item_parameter_types in self.parameter_types:
|
|
77
|
+
if _item_parameter_types:
|
|
78
|
+
_items.append(_item_parameter_types.to_dict())
|
|
79
79
|
_dict['parameterTypes'] = _items
|
|
80
80
|
return _dict
|
|
81
81
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: v1.1.3
|
|
9
9
|
Contact: hello@permify.co
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -25,9 +25,9 @@ from typing_extensions import Self
|
|
|
25
25
|
|
|
26
26
|
class Any(BaseModel):
|
|
27
27
|
"""
|
|
28
|
-
`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); }
|
|
28
|
+
`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\" }
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
type: Optional[StrictStr] = Field(default=None, description="A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" 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 `http`, `https`, 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, `https` 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 `http`, `https` (or the empty scheme) might be used with implementation specific semantics.", alias="@type")
|
|
30
|
+
type: Optional[StrictStr] = Field(default=None, description="A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" 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 `http`, `https`, 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, `https` 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 `http`, `https` (or the empty scheme) might be used with implementation specific semantics.", alias="@type")
|
|
31
31
|
additional_properties: Dict[str, Any] = {}
|
|
32
32
|
__properties: ClassVar[List[str]] = ["@type"]
|
|
33
33
|
|