ory-client 1.11.7__py3-none-any.whl → 1.11.11__py3-none-any.whl
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.
- ory_client/__init__.py +19 -9
- ory_client/api/__init__.py +1 -0
- ory_client/api/courier_api.py +1 -1
- ory_client/api/events_api.py +33 -21
- ory_client/api/frontend_api.py +1 -1
- ory_client/api/identity_api.py +7 -4
- ory_client/api/jwk_api.py +1 -1
- ory_client/api/metadata_api.py +1 -1
- ory_client/api/o_auth2_api.py +1 -1
- ory_client/api/oidc_api.py +1 -1
- ory_client/api/permission_api.py +1 -1
- ory_client/api/project_api.py +201 -967
- ory_client/api/relationship_api.py +1 -1
- ory_client/api/wellknown_api.py +1 -1
- ory_client/api/workspace_api.py +1463 -0
- ory_client/api_client.py +2 -2
- ory_client/configuration.py +34 -6
- ory_client/exceptions.py +1 -1
- ory_client/models/__init__.py +17 -8
- ory_client/models/accept_o_auth2_consent_request.py +1 -1
- ory_client/models/accept_o_auth2_consent_request_session.py +1 -1
- ory_client/models/accept_o_auth2_login_request.py +1 -1
- ory_client/models/account_experience_configuration.py +109 -0
- ory_client/models/account_experience_theme_variables.py +282 -0
- ory_client/models/active_project_in_console.py +1 -1
- ory_client/models/{migration_options.py → add_project_to_workspace_body.py} +5 -5
- ory_client/models/attribute.py +1 -1
- ory_client/models/attribute_filter.py +1 -1
- ory_client/models/attributes_count_datapoint.py +1 -1
- ory_client/models/authenticator_assurance_level.py +1 -1
- ory_client/models/batch_patch_identities_response.py +1 -1
- ory_client/models/billing_period_bucket.py +120 -0
- ory_client/models/check_opl_syntax_result.py +1 -1
- ory_client/models/check_permission_result.py +1 -1
- ory_client/models/cloud_account.py +1 -1
- ory_client/models/consistency_request_parameters.py +1 -1
- ory_client/models/continue_with.py +1 -1
- ory_client/models/continue_with_recovery_ui.py +1 -1
- ory_client/models/continue_with_recovery_ui_flow.py +1 -1
- ory_client/models/continue_with_set_ory_session_token.py +1 -1
- ory_client/models/continue_with_settings_ui.py +1 -1
- ory_client/models/continue_with_settings_ui_flow.py +1 -1
- ory_client/models/continue_with_verification_ui.py +1 -1
- ory_client/models/continue_with_verification_ui_flow.py +1 -1
- ory_client/models/courier_message_status.py +1 -1
- ory_client/models/courier_message_type.py +1 -1
- ory_client/models/create_custom_domain_body.py +1 -1
- ory_client/models/create_event_stream_body.py +1 -1
- ory_client/models/create_identity_body.py +1 -1
- ory_client/models/create_invite_response.py +1 -1
- ory_client/models/create_json_web_key_set.py +1 -1
- ory_client/models/create_project_api_key_request.py +1 -1
- ory_client/models/create_project_body.py +14 -2
- ory_client/models/create_project_branding.py +1 -1
- ory_client/models/create_project_member_invite_body.py +1 -1
- ory_client/models/create_project_normalized_payload.py +27 -3
- ory_client/models/create_recovery_code_for_identity_body.py +4 -2
- ory_client/models/create_recovery_link_for_identity_body.py +1 -1
- ory_client/models/create_relationship_body.py +1 -1
- ory_client/models/create_subscription_body.py +1 -1
- ory_client/models/create_subscription_common.py +1 -1
- ory_client/models/create_verifiable_credential_request_body.py +1 -1
- ory_client/models/{create_workspace_payload.py → create_workspace_body.py} +5 -5
- ory_client/models/create_workspace_member_invite_body.py +1 -1
- ory_client/models/create_workspace_subscription_body.py +1 -1
- ory_client/models/credential_supported_draft00.py +1 -1
- ory_client/models/custom_domain.py +1 -1
- ory_client/models/delete_my_sessions_count.py +1 -1
- ory_client/models/email_template_data.py +1 -1
- ory_client/models/email_template_data_body.py +1 -1
- ory_client/models/error_authenticator_assurance_level_not_satisfied.py +1 -1
- ory_client/models/error_browser_location_change_required.py +1 -1
- ory_client/models/error_flow_replaced.py +1 -1
- ory_client/models/error_generic.py +1 -1
- ory_client/models/error_o_auth2.py +1 -1
- ory_client/models/event_stream.py +1 -1
- ory_client/models/expanded_permission_tree.py +1 -1
- ory_client/models/flow_error.py +1 -1
- ory_client/models/generic_error.py +1 -1
- ory_client/models/generic_error_content.py +1 -1
- ory_client/models/generic_usage.py +7 -3
- ory_client/models/get_attributes_count_response.py +1 -1
- ory_client/models/get_managed_identity_schema_location.py +1 -1
- ory_client/models/get_metrics_event_attributes_response.py +1 -1
- ory_client/models/get_metrics_event_types_response.py +1 -1
- ory_client/models/get_organization_response.py +1 -1
- ory_client/models/get_project_events_body.py +1 -1
- ory_client/models/get_project_events_response.py +1 -1
- ory_client/models/get_project_metrics_response.py +1 -1
- ory_client/models/get_session_activity_response.py +1 -1
- ory_client/models/get_version200_response.py +1 -1
- ory_client/models/health_not_ready_status.py +1 -1
- ory_client/models/health_status.py +1 -1
- ory_client/models/identity.py +1 -1
- ory_client/models/identity_credentials.py +1 -1
- ory_client/models/identity_credentials_code.py +1 -1
- ory_client/models/identity_credentials_oidc.py +1 -1
- ory_client/models/identity_credentials_oidc_provider.py +1 -1
- ory_client/models/identity_credentials_password.py +1 -1
- ory_client/models/identity_patch.py +1 -1
- ory_client/models/identity_patch_response.py +1 -1
- ory_client/models/identity_schema_container.py +1 -1
- ory_client/models/identity_schema_preset.py +1 -1
- ory_client/models/identity_with_credentials.py +1 -1
- ory_client/models/identity_with_credentials_oidc.py +1 -1
- ory_client/models/identity_with_credentials_oidc_config.py +1 -1
- ory_client/models/identity_with_credentials_oidc_config_provider.py +1 -1
- ory_client/models/identity_with_credentials_password.py +1 -1
- ory_client/models/identity_with_credentials_password_config.py +1 -1
- ory_client/models/internal_get_project_branding_body.py +1 -1
- ory_client/models/internal_is_ax_welcome_screen_enabled_for_project_body.py +1 -1
- ory_client/models/internal_is_owner_for_project_by_slug_body.py +1 -1
- ory_client/models/internal_is_owner_for_project_by_slug_response.py +1 -1
- ory_client/models/introspected_o_auth2_token.py +1 -1
- ory_client/models/{workspace_meta.py → invoice.py} +31 -28
- ory_client/models/invoice_data_v1.py +149 -0
- ory_client/models/is_owner_for_project_by_slug.py +1 -1
- ory_client/models/json_patch.py +1 -1
- ory_client/models/json_web_key.py +1 -1
- ory_client/models/json_web_key_set.py +1 -1
- ory_client/models/keto_namespace.py +1 -1
- ory_client/models/line_item_v1.py +120 -0
- ory_client/models/list_event_streams.py +1 -1
- ory_client/models/list_invoices_response.py +113 -0
- ory_client/models/list_organizations_response.py +8 -4
- ory_client/models/{list_workspace_projects_response.py → list_workspace_projects.py} +5 -5
- ory_client/models/{list_my_workspaces_response.py → list_workspaces.py} +8 -8
- ory_client/models/login_flow.py +1 -1
- ory_client/models/login_flow_state.py +1 -1
- ory_client/models/logout_flow.py +1 -1
- ory_client/models/managed_identity_schema.py +1 -1
- ory_client/models/managed_identity_schema_validation_result.py +1 -1
- ory_client/models/member_invite.py +1 -1
- ory_client/models/message.py +1 -1
- ory_client/models/message_dispatch.py +1 -1
- ory_client/models/metrics_datapoint.py +1 -1
- ory_client/models/money.py +105 -0
- ory_client/models/namespace.py +1 -1
- ory_client/models/needs_privileged_session_error.py +1 -1
- ory_client/models/normalized_project.py +13 -2
- ory_client/models/normalized_project_revision.py +15 -3
- ory_client/models/normalized_project_revision_courier_channel.py +1 -1
- ory_client/models/normalized_project_revision_hook.py +1 -1
- ory_client/models/normalized_project_revision_identity_schema.py +1 -1
- ory_client/models/normalized_project_revision_third_party_provider.py +1 -1
- ory_client/models/normalized_project_revision_tokenizer_template.py +1 -1
- ory_client/models/o_auth2_client.py +1 -1
- ory_client/models/o_auth2_client_token_lifespans.py +1 -1
- ory_client/models/o_auth2_consent_request.py +1 -1
- ory_client/models/o_auth2_consent_request_open_id_connect_context.py +1 -1
- ory_client/models/o_auth2_consent_session.py +1 -1
- ory_client/models/o_auth2_consent_session_expires_at.py +1 -1
- ory_client/models/o_auth2_login_request.py +1 -1
- ory_client/models/o_auth2_logout_request.py +1 -1
- ory_client/models/o_auth2_redirect_to.py +1 -1
- ory_client/models/o_auth2_token_exchange.py +1 -1
- ory_client/models/oidc_configuration.py +1 -1
- ory_client/models/oidc_user_info.py +1 -1
- ory_client/models/organization.py +1 -1
- ory_client/models/organization_body.py +1 -1
- ory_client/models/pagination.py +1 -1
- ory_client/models/pagination_headers.py +1 -1
- ory_client/models/parse_error.py +1 -1
- ory_client/models/patch_identities_body.py +1 -1
- ory_client/models/perform_native_logout_body.py +1 -1
- ory_client/models/{permissions_on_workpace_response.py → permissions_on_workspace.py} +4 -4
- ory_client/models/plan.py +1 -1
- ory_client/models/plan_details.py +1 -1
- ory_client/models/post_check_permission_body.py +1 -1
- ory_client/models/post_check_permission_or_error_body.py +1 -1
- ory_client/models/project.py +20 -2
- ory_client/models/project_api_key.py +1 -1
- ory_client/models/project_branding.py +1 -1
- ory_client/models/project_branding_colors.py +1 -1
- ory_client/models/project_branding_theme.py +14 -2
- ory_client/models/project_cors.py +1 -1
- ory_client/models/project_events_datapoint.py +1 -1
- ory_client/models/project_host.py +1 -1
- ory_client/models/project_member.py +1 -1
- ory_client/models/project_metadata.py +12 -3
- ory_client/models/project_service_identity.py +1 -1
- ory_client/models/project_service_o_auth2.py +1 -1
- ory_client/models/project_service_permission.py +1 -1
- ory_client/models/project_services.py +1 -1
- ory_client/models/quota_usage.py +5 -5
- ory_client/models/recovery_code_for_identity.py +1 -1
- ory_client/models/recovery_flow.py +1 -1
- ory_client/models/recovery_flow_state.py +1 -1
- ory_client/models/recovery_identity_address.py +1 -1
- ory_client/models/recovery_link_for_identity.py +1 -1
- ory_client/models/registration_flow.py +1 -1
- ory_client/models/registration_flow_state.py +1 -1
- ory_client/models/reject_o_auth2_request.py +1 -1
- ory_client/models/relation_query.py +1 -1
- ory_client/models/relationship.py +1 -1
- ory_client/models/relationship_namespaces.py +1 -1
- ory_client/models/relationship_patch.py +1 -1
- ory_client/models/relationships.py +1 -1
- ory_client/models/rfc6749_error_json.py +1 -1
- ory_client/models/schema_patch.py +1 -1
- ory_client/models/self_service_flow_expired_error.py +1 -1
- ory_client/models/session.py +1 -1
- ory_client/models/session_activity_datapoint.py +1 -1
- ory_client/models/session_authentication_method.py +1 -1
- ory_client/models/session_device.py +1 -1
- ory_client/models/set_active_project_in_console_body.py +1 -1
- ory_client/models/set_custom_domain_body.py +1 -1
- ory_client/models/set_event_stream_body.py +1 -1
- ory_client/models/set_project.py +1 -1
- ory_client/models/set_project_branding_theme_body.py +1 -1
- ory_client/models/settings_flow.py +1 -1
- ory_client/models/settings_flow_state.py +1 -1
- ory_client/models/source_position.py +1 -1
- ory_client/models/subject_set.py +1 -1
- ory_client/models/subscription.py +1 -1
- ory_client/models/successful_code_exchange_response.py +1 -1
- ory_client/models/successful_native_login.py +1 -1
- ory_client/models/successful_native_registration.py +1 -1
- ory_client/models/successful_project_update.py +1 -1
- ory_client/models/tax_line_item.py +103 -0
- ory_client/models/time_interval.py +104 -0
- ory_client/models/token_pagination.py +1 -1
- ory_client/models/token_pagination_headers.py +1 -1
- ory_client/models/token_pagination_request_parameters.py +1 -1
- ory_client/models/token_pagination_response_headers.py +1 -1
- ory_client/models/trust_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/models/trusted_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/models/trusted_o_auth2_jwt_grant_json_web_key.py +1 -1
- ory_client/models/ui_container.py +1 -1
- ory_client/models/ui_node.py +1 -1
- ory_client/models/ui_node_anchor_attributes.py +1 -1
- ory_client/models/ui_node_attributes.py +1 -1
- ory_client/models/ui_node_image_attributes.py +1 -1
- ory_client/models/ui_node_input_attributes.py +1 -1
- ory_client/models/ui_node_meta.py +1 -1
- ory_client/models/ui_node_script_attributes.py +1 -1
- ory_client/models/ui_node_text_attributes.py +1 -1
- ory_client/models/ui_text.py +1 -1
- ory_client/models/update_identity_body.py +1 -1
- ory_client/models/update_login_flow_body.py +1 -1
- ory_client/models/update_login_flow_with_code_method.py +1 -1
- ory_client/models/update_login_flow_with_lookup_secret_method.py +1 -1
- ory_client/models/update_login_flow_with_oidc_method.py +1 -1
- ory_client/models/update_login_flow_with_passkey_method.py +1 -1
- ory_client/models/update_login_flow_with_password_method.py +1 -1
- ory_client/models/update_login_flow_with_totp_method.py +1 -1
- ory_client/models/update_login_flow_with_web_authn_method.py +1 -1
- ory_client/models/update_recovery_flow_body.py +1 -1
- ory_client/models/update_recovery_flow_with_code_method.py +1 -1
- ory_client/models/update_recovery_flow_with_link_method.py +1 -1
- ory_client/models/update_registration_flow_body.py +1 -1
- ory_client/models/update_registration_flow_with_code_method.py +1 -1
- ory_client/models/update_registration_flow_with_oidc_method.py +1 -1
- ory_client/models/update_registration_flow_with_passkey_method.py +1 -1
- ory_client/models/update_registration_flow_with_password_method.py +1 -1
- ory_client/models/update_registration_flow_with_profile_method.py +1 -1
- ory_client/models/update_registration_flow_with_web_authn_method.py +1 -1
- ory_client/models/update_settings_flow_body.py +1 -1
- ory_client/models/update_settings_flow_with_lookup_method.py +1 -1
- ory_client/models/update_settings_flow_with_oidc_method.py +1 -1
- ory_client/models/update_settings_flow_with_passkey_method.py +1 -1
- ory_client/models/update_settings_flow_with_password_method.py +1 -1
- ory_client/models/update_settings_flow_with_profile_method.py +1 -1
- ory_client/models/update_settings_flow_with_totp_method.py +1 -1
- ory_client/models/update_settings_flow_with_web_authn_method.py +1 -1
- ory_client/models/update_subscription_body.py +1 -1
- ory_client/models/update_verification_flow_body.py +1 -1
- ory_client/models/update_verification_flow_with_code_method.py +1 -1
- ory_client/models/update_verification_flow_with_link_method.py +1 -1
- ory_client/models/{update_workspace_payload.py → update_workspace_body.py} +5 -5
- ory_client/models/usage.py +1 -1
- ory_client/models/verifiable_credential_priming_response.py +1 -1
- ory_client/models/verifiable_credential_proof.py +1 -1
- ory_client/models/verifiable_credential_response.py +1 -1
- ory_client/models/verifiable_identity_address.py +1 -1
- ory_client/models/verification_flow.py +1 -1
- ory_client/models/verification_flow_state.py +1 -1
- ory_client/models/version.py +1 -1
- ory_client/models/warning.py +1 -1
- ory_client/models/workspace.py +9 -2
- ory_client/rest.py +1 -1
- {ory_client-1.11.7.dist-info → ory_client-1.11.11.dist-info}/METADATA +1 -1
- ory_client-1.11.11.dist-info/RECORD +288 -0
- ory_client-1.11.7.dist-info/RECORD +0 -278
- {ory_client-1.11.7.dist-info → ory_client-1.11.11.dist-info}/LICENSE +0 -0
- {ory_client-1.11.7.dist-info → ory_client-1.11.11.dist-info}/WHEEL +0 -0
- {ory_client-1.11.7.dist-info → ory_client-1.11.11.dist-info}/top_level.txt +0 -0
ory_client/api_client.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.11.
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -88,7 +88,7 @@ class ApiClient:
|
|
88
88
|
self.default_headers[header_name] = header_value
|
89
89
|
self.cookie = cookie
|
90
90
|
# Set default User-Agent.
|
91
|
-
self.user_agent = 'OpenAPI-Generator/v1.11.
|
91
|
+
self.user_agent = 'OpenAPI-Generator/v1.11.11/python'
|
92
92
|
self.client_side_validation = configuration.client_side_validation
|
93
93
|
|
94
94
|
def __enter__(self):
|
ory_client/configuration.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.11.
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -58,6 +58,25 @@ class Configuration:
|
|
58
58
|
|
59
59
|
:Example:
|
60
60
|
|
61
|
+
API Key Authentication Example.
|
62
|
+
Given the following security scheme in the OpenAPI specification:
|
63
|
+
components:
|
64
|
+
securitySchemes:
|
65
|
+
cookieAuth: # name for the security scheme
|
66
|
+
type: apiKey
|
67
|
+
in: cookie
|
68
|
+
name: JSESSIONID # cookie name
|
69
|
+
|
70
|
+
You can programmatically set the cookie:
|
71
|
+
|
72
|
+
conf = ory_client.Configuration(
|
73
|
+
api_key={'cookieAuth': 'abc123'}
|
74
|
+
api_key_prefix={'cookieAuth': 'JSESSIONID'}
|
75
|
+
)
|
76
|
+
|
77
|
+
The following cookie will be added to the HTTP request:
|
78
|
+
Cookie: JSESSIONID abc123
|
79
|
+
|
61
80
|
HTTP Basic Authentication Example.
|
62
81
|
Given the following security scheme in the OpenAPI specification:
|
63
82
|
components:
|
@@ -87,7 +106,7 @@ conf = ory_client.Configuration(
|
|
87
106
|
) -> None:
|
88
107
|
"""Constructor
|
89
108
|
"""
|
90
|
-
self._base_path = "https
|
109
|
+
self._base_path = "https://.projects.oryapis.com" if host is None else host
|
91
110
|
"""Default Base url
|
92
111
|
"""
|
93
112
|
self.server_index = 0 if server_index is None and host is None else server_index
|
@@ -405,6 +424,15 @@ conf = ory_client.Configuration(
|
|
405
424
|
'key': 'Authorization',
|
406
425
|
'value': 'Bearer ' + self.access_token
|
407
426
|
}
|
427
|
+
if 'oryNetworkCookie' in self.api_key:
|
428
|
+
auth['oryNetworkCookie'] = {
|
429
|
+
'type': 'api_key',
|
430
|
+
'in': 'cookie',
|
431
|
+
'key': 'ory_session_ory',
|
432
|
+
'value': self.get_api_key_with_prefix(
|
433
|
+
'oryNetworkCookie',
|
434
|
+
),
|
435
|
+
}
|
408
436
|
return auth
|
409
437
|
|
410
438
|
def to_debug_report(self):
|
@@ -415,8 +443,8 @@ conf = ory_client.Configuration(
|
|
415
443
|
return "Python SDK Debug Report:\n"\
|
416
444
|
"OS: {env}\n"\
|
417
445
|
"Python Version: {pyversion}\n"\
|
418
|
-
"Version of the API: v1.11.
|
419
|
-
"SDK Package Version: v1.11.
|
446
|
+
"Version of the API: v1.11.11\n"\
|
447
|
+
"SDK Package Version: v1.11.11".\
|
420
448
|
format(env=sys.platform, pyversion=sys.version)
|
421
449
|
|
422
450
|
def get_host_settings(self):
|
@@ -426,11 +454,11 @@ conf = ory_client.Configuration(
|
|
426
454
|
"""
|
427
455
|
return [
|
428
456
|
{
|
429
|
-
'url': "https://{project}.projects.oryapis.com",
|
457
|
+
'url': "https://{project-slug}.projects.oryapis.com",
|
430
458
|
'description': "No description provided",
|
431
459
|
'variables': {
|
432
460
|
'project': {
|
433
|
-
'description': "Project slug
|
461
|
+
'description': "Your Ory Network Project slug. You can find it in the [Ory Network Console](https://console.ory.sh/projects/current/developers/guides).",
|
434
462
|
'default_value': "playground",
|
435
463
|
}
|
436
464
|
}
|
ory_client/exceptions.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.11.
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
ory_client/models/__init__.py
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
8
8
|
|
9
|
-
The version of the OpenAPI document: v1.11.
|
9
|
+
The version of the OpenAPI document: v1.11.11
|
10
10
|
Contact: support@ory.sh
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
@@ -18,12 +18,16 @@
|
|
18
18
|
from ory_client.models.accept_o_auth2_consent_request import AcceptOAuth2ConsentRequest
|
19
19
|
from ory_client.models.accept_o_auth2_consent_request_session import AcceptOAuth2ConsentRequestSession
|
20
20
|
from ory_client.models.accept_o_auth2_login_request import AcceptOAuth2LoginRequest
|
21
|
+
from ory_client.models.account_experience_configuration import AccountExperienceConfiguration
|
22
|
+
from ory_client.models.account_experience_theme_variables import AccountExperienceThemeVariables
|
21
23
|
from ory_client.models.active_project_in_console import ActiveProjectInConsole
|
24
|
+
from ory_client.models.add_project_to_workspace_body import AddProjectToWorkspaceBody
|
22
25
|
from ory_client.models.attribute import Attribute
|
23
26
|
from ory_client.models.attribute_filter import AttributeFilter
|
24
27
|
from ory_client.models.attributes_count_datapoint import AttributesCountDatapoint
|
25
28
|
from ory_client.models.authenticator_assurance_level import AuthenticatorAssuranceLevel
|
26
29
|
from ory_client.models.batch_patch_identities_response import BatchPatchIdentitiesResponse
|
30
|
+
from ory_client.models.billing_period_bucket import BillingPeriodBucket
|
27
31
|
from ory_client.models.check_opl_syntax_result import CheckOplSyntaxResult
|
28
32
|
from ory_client.models.check_permission_result import CheckPermissionResult
|
29
33
|
from ory_client.models.cloud_account import CloudAccount
|
@@ -54,8 +58,8 @@ from ory_client.models.create_relationship_body import CreateRelationshipBody
|
|
54
58
|
from ory_client.models.create_subscription_body import CreateSubscriptionBody
|
55
59
|
from ory_client.models.create_subscription_common import CreateSubscriptionCommon
|
56
60
|
from ory_client.models.create_verifiable_credential_request_body import CreateVerifiableCredentialRequestBody
|
61
|
+
from ory_client.models.create_workspace_body import CreateWorkspaceBody
|
57
62
|
from ory_client.models.create_workspace_member_invite_body import CreateWorkspaceMemberInviteBody
|
58
|
-
from ory_client.models.create_workspace_payload import CreateWorkspacePayload
|
59
63
|
from ory_client.models.create_workspace_subscription_body import CreateWorkspaceSubscriptionBody
|
60
64
|
from ory_client.models.credential_supported_draft00 import CredentialSupportedDraft00
|
61
65
|
from ory_client.models.custom_domain import CustomDomain
|
@@ -106,15 +110,19 @@ from ory_client.models.internal_is_ax_welcome_screen_enabled_for_project_body im
|
|
106
110
|
from ory_client.models.internal_is_owner_for_project_by_slug_body import InternalIsOwnerForProjectBySlugBody
|
107
111
|
from ory_client.models.internal_is_owner_for_project_by_slug_response import InternalIsOwnerForProjectBySlugResponse
|
108
112
|
from ory_client.models.introspected_o_auth2_token import IntrospectedOAuth2Token
|
113
|
+
from ory_client.models.invoice import Invoice
|
114
|
+
from ory_client.models.invoice_data_v1 import InvoiceDataV1
|
109
115
|
from ory_client.models.is_owner_for_project_by_slug import IsOwnerForProjectBySlug
|
110
116
|
from ory_client.models.json_patch import JsonPatch
|
111
117
|
from ory_client.models.json_web_key import JsonWebKey
|
112
118
|
from ory_client.models.json_web_key_set import JsonWebKeySet
|
113
119
|
from ory_client.models.keto_namespace import KetoNamespace
|
120
|
+
from ory_client.models.line_item_v1 import LineItemV1
|
114
121
|
from ory_client.models.list_event_streams import ListEventStreams
|
115
|
-
from ory_client.models.
|
122
|
+
from ory_client.models.list_invoices_response import ListInvoicesResponse
|
116
123
|
from ory_client.models.list_organizations_response import ListOrganizationsResponse
|
117
|
-
from ory_client.models.
|
124
|
+
from ory_client.models.list_workspace_projects import ListWorkspaceProjects
|
125
|
+
from ory_client.models.list_workspaces import ListWorkspaces
|
118
126
|
from ory_client.models.login_flow import LoginFlow
|
119
127
|
from ory_client.models.login_flow_state import LoginFlowState
|
120
128
|
from ory_client.models.logout_flow import LogoutFlow
|
@@ -124,7 +132,7 @@ from ory_client.models.member_invite import MemberInvite
|
|
124
132
|
from ory_client.models.message import Message
|
125
133
|
from ory_client.models.message_dispatch import MessageDispatch
|
126
134
|
from ory_client.models.metrics_datapoint import MetricsDatapoint
|
127
|
-
from ory_client.models.
|
135
|
+
from ory_client.models.money import Money
|
128
136
|
from ory_client.models.namespace import Namespace
|
129
137
|
from ory_client.models.needs_privileged_session_error import NeedsPrivilegedSessionError
|
130
138
|
from ory_client.models.normalized_project import NormalizedProject
|
@@ -153,7 +161,7 @@ from ory_client.models.pagination_headers import PaginationHeaders
|
|
153
161
|
from ory_client.models.parse_error import ParseError
|
154
162
|
from ory_client.models.patch_identities_body import PatchIdentitiesBody
|
155
163
|
from ory_client.models.perform_native_logout_body import PerformNativeLogoutBody
|
156
|
-
from ory_client.models.
|
164
|
+
from ory_client.models.permissions_on_workspace import PermissionsOnWorkspace
|
157
165
|
from ory_client.models.plan import Plan
|
158
166
|
from ory_client.models.plan_details import PlanDetails
|
159
167
|
from ory_client.models.post_check_permission_body import PostCheckPermissionBody
|
@@ -207,6 +215,8 @@ from ory_client.models.successful_code_exchange_response import SuccessfulCodeEx
|
|
207
215
|
from ory_client.models.successful_native_login import SuccessfulNativeLogin
|
208
216
|
from ory_client.models.successful_native_registration import SuccessfulNativeRegistration
|
209
217
|
from ory_client.models.successful_project_update import SuccessfulProjectUpdate
|
218
|
+
from ory_client.models.tax_line_item import TaxLineItem
|
219
|
+
from ory_client.models.time_interval import TimeInterval
|
210
220
|
from ory_client.models.token_pagination import TokenPagination
|
211
221
|
from ory_client.models.token_pagination_headers import TokenPaginationHeaders
|
212
222
|
from ory_client.models.token_pagination_request_parameters import TokenPaginationRequestParameters
|
@@ -255,7 +265,7 @@ from ory_client.models.update_subscription_body import UpdateSubscriptionBody
|
|
255
265
|
from ory_client.models.update_verification_flow_body import UpdateVerificationFlowBody
|
256
266
|
from ory_client.models.update_verification_flow_with_code_method import UpdateVerificationFlowWithCodeMethod
|
257
267
|
from ory_client.models.update_verification_flow_with_link_method import UpdateVerificationFlowWithLinkMethod
|
258
|
-
from ory_client.models.
|
268
|
+
from ory_client.models.update_workspace_body import UpdateWorkspaceBody
|
259
269
|
from ory_client.models.usage import Usage
|
260
270
|
from ory_client.models.verifiable_credential_priming_response import VerifiableCredentialPrimingResponse
|
261
271
|
from ory_client.models.verifiable_credential_proof import VerifiableCredentialProof
|
@@ -266,4 +276,3 @@ from ory_client.models.verification_flow_state import VerificationFlowState
|
|
266
276
|
from ory_client.models.version import Version
|
267
277
|
from ory_client.models.warning import Warning
|
268
278
|
from ory_client.models.workspace import Workspace
|
269
|
-
from ory_client.models.workspace_meta import WorkspaceMeta
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.11.
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.11.
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.11.
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Ory APIs
|
5
|
+
|
6
|
+
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
|
+
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
|
+
Contact: support@ory.sh
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
|
+
|
12
|
+
Do not edit the class manually.
|
13
|
+
""" # noqa: E501
|
14
|
+
|
15
|
+
|
16
|
+
from __future__ import annotations
|
17
|
+
import pprint
|
18
|
+
import re # noqa: F401
|
19
|
+
import json
|
20
|
+
|
21
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
23
|
+
from typing import Optional, Set
|
24
|
+
from typing_extensions import Self
|
25
|
+
|
26
|
+
class AccountExperienceConfiguration(BaseModel):
|
27
|
+
"""
|
28
|
+
AccountExperienceConfiguration
|
29
|
+
""" # noqa: E501
|
30
|
+
account_experience_theme_stylesheet: Optional[StrictStr] = None
|
31
|
+
kratos_selfservice_flows_recovery_enabled: Optional[StrictBool] = None
|
32
|
+
kratos_selfservice_flows_registration_enabled: Optional[StrictBool] = None
|
33
|
+
kratos_selfservice_flows_verification_enabled: Optional[StrictBool] = None
|
34
|
+
organization_map: Optional[Dict[str, StrictStr]] = None
|
35
|
+
additional_properties: Dict[str, Any] = {}
|
36
|
+
__properties: ClassVar[List[str]] = ["account_experience_theme_stylesheet", "kratos_selfservice_flows_recovery_enabled", "kratos_selfservice_flows_registration_enabled", "kratos_selfservice_flows_verification_enabled", "organization_map"]
|
37
|
+
|
38
|
+
model_config = ConfigDict(
|
39
|
+
populate_by_name=True,
|
40
|
+
validate_assignment=True,
|
41
|
+
protected_namespaces=(),
|
42
|
+
)
|
43
|
+
|
44
|
+
|
45
|
+
def to_str(self) -> str:
|
46
|
+
"""Returns the string representation of the model using alias"""
|
47
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
48
|
+
|
49
|
+
def to_json(self) -> str:
|
50
|
+
"""Returns the JSON representation of the model using alias"""
|
51
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
52
|
+
return json.dumps(self.to_dict())
|
53
|
+
|
54
|
+
@classmethod
|
55
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
56
|
+
"""Create an instance of AccountExperienceConfiguration from a JSON string"""
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
58
|
+
|
59
|
+
def to_dict(self) -> Dict[str, Any]:
|
60
|
+
"""Return the dictionary representation of the model using alias.
|
61
|
+
|
62
|
+
This has the following differences from calling pydantic's
|
63
|
+
`self.model_dump(by_alias=True)`:
|
64
|
+
|
65
|
+
* `None` is only added to the output dict for nullable fields that
|
66
|
+
were set at model initialization. Other fields with value `None`
|
67
|
+
are ignored.
|
68
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
69
|
+
"""
|
70
|
+
excluded_fields: Set[str] = set([
|
71
|
+
"additional_properties",
|
72
|
+
])
|
73
|
+
|
74
|
+
_dict = self.model_dump(
|
75
|
+
by_alias=True,
|
76
|
+
exclude=excluded_fields,
|
77
|
+
exclude_none=True,
|
78
|
+
)
|
79
|
+
# puts key-value pairs in additional_properties in the top level
|
80
|
+
if self.additional_properties is not None:
|
81
|
+
for _key, _value in self.additional_properties.items():
|
82
|
+
_dict[_key] = _value
|
83
|
+
|
84
|
+
return _dict
|
85
|
+
|
86
|
+
@classmethod
|
87
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
88
|
+
"""Create an instance of AccountExperienceConfiguration from a dict"""
|
89
|
+
if obj is None:
|
90
|
+
return None
|
91
|
+
|
92
|
+
if not isinstance(obj, dict):
|
93
|
+
return cls.model_validate(obj)
|
94
|
+
|
95
|
+
_obj = cls.model_validate({
|
96
|
+
"account_experience_theme_stylesheet": obj.get("account_experience_theme_stylesheet"),
|
97
|
+
"kratos_selfservice_flows_recovery_enabled": obj.get("kratos_selfservice_flows_recovery_enabled"),
|
98
|
+
"kratos_selfservice_flows_registration_enabled": obj.get("kratos_selfservice_flows_registration_enabled"),
|
99
|
+
"kratos_selfservice_flows_verification_enabled": obj.get("kratos_selfservice_flows_verification_enabled"),
|
100
|
+
"organization_map": obj.get("organization_map")
|
101
|
+
})
|
102
|
+
# store additional fields in additional_properties
|
103
|
+
for _key in obj.keys():
|
104
|
+
if _key not in cls.__properties:
|
105
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
106
|
+
|
107
|
+
return _obj
|
108
|
+
|
109
|
+
|
@@ -0,0 +1,282 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Ory APIs
|
5
|
+
|
6
|
+
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
|
+
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
|
+
Contact: support@ory.sh
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
|
+
|
12
|
+
Do not edit the class manually.
|
13
|
+
""" # noqa: E501
|
14
|
+
|
15
|
+
|
16
|
+
from __future__ import annotations
|
17
|
+
import pprint
|
18
|
+
import re # noqa: F401
|
19
|
+
import json
|
20
|
+
|
21
|
+
from datetime import datetime
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
23
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
24
|
+
from typing import Optional, Set
|
25
|
+
from typing_extensions import Self
|
26
|
+
|
27
|
+
class AccountExperienceThemeVariables(BaseModel):
|
28
|
+
"""
|
29
|
+
AccountExperienceThemeVariables
|
30
|
+
""" # noqa: E501
|
31
|
+
accent: Optional[StrictStr] = None
|
32
|
+
bg_default: Optional[StrictStr] = Field(default=None, alias="bg-default")
|
33
|
+
border_radius_branding: Optional[StrictStr] = Field(default=None, alias="border-radius-branding")
|
34
|
+
border_radius_buttons: Optional[StrictStr] = Field(default=None, alias="border-radius-buttons")
|
35
|
+
border_radius_cards: Optional[StrictStr] = Field(default=None, alias="border-radius-cards")
|
36
|
+
border_radius_forms: Optional[StrictStr] = Field(default=None, alias="border-radius-forms")
|
37
|
+
border_radius_general: Optional[StrictStr] = Field(default=None, alias="border-radius-general")
|
38
|
+
button_primary_bg_default: Optional[StrictStr] = Field(default=None, alias="button-primary-bg-default")
|
39
|
+
button_primary_bg_disabled: Optional[StrictStr] = Field(default=None, alias="button-primary-bg-disabled")
|
40
|
+
button_primary_bg_hover: Optional[StrictStr] = Field(default=None, alias="button-primary-bg-hover")
|
41
|
+
button_primary_border_default: Optional[StrictStr] = Field(default=None, alias="button-primary-border-default")
|
42
|
+
button_primary_border_disabled: Optional[StrictStr] = Field(default=None, alias="button-primary-border-disabled")
|
43
|
+
button_primary_border_hover: Optional[StrictStr] = Field(default=None, alias="button-primary-border-hover")
|
44
|
+
button_primary_fg_default: Optional[StrictStr] = Field(default=None, alias="button-primary-fg-default")
|
45
|
+
button_primary_fg_disabled: Optional[StrictStr] = Field(default=None, alias="button-primary-fg-disabled")
|
46
|
+
button_primary_fg_hover: Optional[StrictStr] = Field(default=None, alias="button-primary-fg-hover")
|
47
|
+
button_secondary_bg_default: Optional[StrictStr] = Field(default=None, alias="button-secondary-bg-default")
|
48
|
+
button_secondary_bg_disabled: Optional[StrictStr] = Field(default=None, alias="button-secondary-bg-disabled")
|
49
|
+
button_secondary_bg_hover: Optional[StrictStr] = Field(default=None, alias="button-secondary-bg-hover")
|
50
|
+
button_secondary_border_default: Optional[StrictStr] = Field(default=None, alias="button-secondary-border-default")
|
51
|
+
button_secondary_border_disabled: Optional[StrictStr] = Field(default=None, alias="button-secondary-border-disabled")
|
52
|
+
button_secondary_border_hover: Optional[StrictStr] = Field(default=None, alias="button-secondary-border-hover")
|
53
|
+
button_secondary_fg_default: Optional[StrictStr] = Field(default=None, alias="button-secondary-fg-default")
|
54
|
+
button_secondary_fg_disabled: Optional[StrictStr] = Field(default=None, alias="button-secondary-fg-disabled")
|
55
|
+
button_secondary_fg_hover: Optional[StrictStr] = Field(default=None, alias="button-secondary-fg-hover")
|
56
|
+
button_social_bg_default: Optional[StrictStr] = Field(default=None, alias="button-social-bg-default")
|
57
|
+
button_social_bg_disabled: Optional[StrictStr] = Field(default=None, alias="button-social-bg-disabled")
|
58
|
+
button_social_bg_hover: Optional[StrictStr] = Field(default=None, alias="button-social-bg-hover")
|
59
|
+
button_social_bg_provider: Optional[StrictStr] = Field(default=None, alias="button-social-bg-provider")
|
60
|
+
button_social_border_default: Optional[StrictStr] = Field(default=None, alias="button-social-border-default")
|
61
|
+
button_social_border_disabled: Optional[StrictStr] = Field(default=None, alias="button-social-border-disabled")
|
62
|
+
button_social_border_hover: Optional[StrictStr] = Field(default=None, alias="button-social-border-hover")
|
63
|
+
button_social_border_provider: Optional[StrictStr] = Field(default=None, alias="button-social-border-provider")
|
64
|
+
button_social_fg_default: Optional[StrictStr] = Field(default=None, alias="button-social-fg-default")
|
65
|
+
button_social_fg_disabled: Optional[StrictStr] = Field(default=None, alias="button-social-fg-disabled")
|
66
|
+
button_social_fg_hover: Optional[StrictStr] = Field(default=None, alias="button-social-fg-hover")
|
67
|
+
button_social_fg_provider: Optional[StrictStr] = Field(default=None, alias="button-social-fg-provider")
|
68
|
+
created_at: Optional[datetime] = None
|
69
|
+
dialog_bg_default: Optional[StrictStr] = Field(default=None, alias="dialog-bg-default")
|
70
|
+
dialog_bg_subtle: Optional[StrictStr] = Field(default=None, alias="dialog-bg-subtle")
|
71
|
+
dialog_border_default: Optional[StrictStr] = Field(default=None, alias="dialog-border-default")
|
72
|
+
dialog_fg_default: Optional[StrictStr] = Field(default=None, alias="dialog-fg-default")
|
73
|
+
dialog_fg_mute: Optional[StrictStr] = Field(default=None, alias="dialog-fg-mute")
|
74
|
+
dialog_fg_subtle: Optional[StrictStr] = Field(default=None, alias="dialog-fg-subtle")
|
75
|
+
forms_bg_default: Optional[StrictStr] = Field(default=None, alias="forms-bg-default")
|
76
|
+
forms_bg_disabled: Optional[StrictStr] = Field(default=None, alias="forms-bg-disabled")
|
77
|
+
forms_bg_hover: Optional[StrictStr] = Field(default=None, alias="forms-bg-hover")
|
78
|
+
forms_border_default: Optional[StrictStr] = Field(default=None, alias="forms-border-default")
|
79
|
+
forms_border_disabled: Optional[StrictStr] = Field(default=None, alias="forms-border-disabled")
|
80
|
+
forms_border_error: Optional[StrictStr] = Field(default=None, alias="forms-border-error")
|
81
|
+
forms_border_focus: Optional[StrictStr] = Field(default=None, alias="forms-border-focus")
|
82
|
+
forms_border_hover: Optional[StrictStr] = Field(default=None, alias="forms-border-hover")
|
83
|
+
forms_border_success: Optional[StrictStr] = Field(default=None, alias="forms-border-success")
|
84
|
+
forms_border_warn: Optional[StrictStr] = Field(default=None, alias="forms-border-warn")
|
85
|
+
forms_checkbox_bg_checked: Optional[StrictStr] = Field(default=None, alias="forms-checkbox-bg-checked")
|
86
|
+
forms_checkbox_bg_default: Optional[StrictStr] = Field(default=None, alias="forms-checkbox-bg-default")
|
87
|
+
forms_checkbox_border_checked: Optional[StrictStr] = Field(default=None, alias="forms-checkbox-border-checked")
|
88
|
+
forms_checkbox_border_default: Optional[StrictStr] = Field(default=None, alias="forms-checkbox-border-default")
|
89
|
+
forms_checkbox_fg_checked: Optional[StrictStr] = Field(default=None, alias="forms-checkbox-fg-checked")
|
90
|
+
forms_checkbox_fg_default: Optional[StrictStr] = Field(default=None, alias="forms-checkbox-fg-default")
|
91
|
+
forms_fg_default: Optional[StrictStr] = Field(default=None, alias="forms-fg-default")
|
92
|
+
forms_fg_error: Optional[StrictStr] = Field(default=None, alias="forms-fg-error")
|
93
|
+
forms_fg_mute: Optional[StrictStr] = Field(default=None, alias="forms-fg-mute")
|
94
|
+
forms_fg_subtle: Optional[StrictStr] = Field(default=None, alias="forms-fg-subtle")
|
95
|
+
forms_fg_success: Optional[StrictStr] = Field(default=None, alias="forms-fg-success")
|
96
|
+
forms_fg_warn: Optional[StrictStr] = Field(default=None, alias="forms-fg-warn")
|
97
|
+
forms_radio_bg_checked: Optional[StrictStr] = Field(default=None, alias="forms-radio-bg-checked")
|
98
|
+
forms_radio_bg_default: Optional[StrictStr] = Field(default=None, alias="forms-radio-bg-default")
|
99
|
+
forms_radio_border_checked: Optional[StrictStr] = Field(default=None, alias="forms-radio-border-checked")
|
100
|
+
forms_radio_border_default: Optional[StrictStr] = Field(default=None, alias="forms-radio-border-default")
|
101
|
+
forms_radio_fg_checked: Optional[StrictStr] = Field(default=None, alias="forms-radio-fg-checked")
|
102
|
+
forms_radio_fg_default: Optional[StrictStr] = Field(default=None, alias="forms-radio-fg-default")
|
103
|
+
forms_toggle_bg_checked: Optional[StrictStr] = Field(default=None, alias="forms-toggle-bg-checked")
|
104
|
+
forms_toggle_bg_default: Optional[StrictStr] = Field(default=None, alias="forms-toggle-bg-default")
|
105
|
+
forms_toggle_border_checked: Optional[StrictStr] = Field(default=None, alias="forms-toggle-border-checked")
|
106
|
+
forms_toggle_border_default: Optional[StrictStr] = Field(default=None, alias="forms-toggle-border-default")
|
107
|
+
forms_toggle_fg_checked: Optional[StrictStr] = Field(default=None, alias="forms-toggle-fg-checked")
|
108
|
+
forms_toggle_fg_default: Optional[StrictStr] = Field(default=None, alias="forms-toggle-fg-default")
|
109
|
+
id: Optional[StrictStr] = None
|
110
|
+
links_link_default: Optional[StrictStr] = Field(default=None, alias="links-link-default")
|
111
|
+
links_link_disabled: Optional[StrictStr] = Field(default=None, alias="links-link-disabled")
|
112
|
+
links_link_hover: Optional[StrictStr] = Field(default=None, alias="links-link-hover")
|
113
|
+
links_link_inverted_default: Optional[StrictStr] = Field(default=None, alias="links-link-inverted-default")
|
114
|
+
links_link_inverted_hover: Optional[StrictStr] = Field(default=None, alias="links-link-inverted-hover")
|
115
|
+
links_link_mute_default: Optional[StrictStr] = Field(default=None, alias="links-link-mute-default")
|
116
|
+
links_link_mute_hover: Optional[StrictStr] = Field(default=None, alias="links-link-mute-hover")
|
117
|
+
syntax_syntax: Optional[StrictStr] = Field(default=None, alias="syntax-syntax")
|
118
|
+
syntax_syntax_key: Optional[StrictStr] = Field(default=None, alias="syntax-syntax-key")
|
119
|
+
syntax_syntax_num: Optional[StrictStr] = Field(default=None, alias="syntax-syntax-num")
|
120
|
+
syntax_syntax_value: Optional[StrictStr] = Field(default=None, alias="syntax-syntax-value")
|
121
|
+
updated_at: Optional[datetime] = None
|
122
|
+
additional_properties: Dict[str, Any] = {}
|
123
|
+
__properties: ClassVar[List[str]] = ["accent", "bg-default", "border-radius-branding", "border-radius-buttons", "border-radius-cards", "border-radius-forms", "border-radius-general", "button-primary-bg-default", "button-primary-bg-disabled", "button-primary-bg-hover", "button-primary-border-default", "button-primary-border-disabled", "button-primary-border-hover", "button-primary-fg-default", "button-primary-fg-disabled", "button-primary-fg-hover", "button-secondary-bg-default", "button-secondary-bg-disabled", "button-secondary-bg-hover", "button-secondary-border-default", "button-secondary-border-disabled", "button-secondary-border-hover", "button-secondary-fg-default", "button-secondary-fg-disabled", "button-secondary-fg-hover", "button-social-bg-default", "button-social-bg-disabled", "button-social-bg-hover", "button-social-bg-provider", "button-social-border-default", "button-social-border-disabled", "button-social-border-hover", "button-social-border-provider", "button-social-fg-default", "button-social-fg-disabled", "button-social-fg-hover", "button-social-fg-provider", "created_at", "dialog-bg-default", "dialog-bg-subtle", "dialog-border-default", "dialog-fg-default", "dialog-fg-mute", "dialog-fg-subtle", "forms-bg-default", "forms-bg-disabled", "forms-bg-hover", "forms-border-default", "forms-border-disabled", "forms-border-error", "forms-border-focus", "forms-border-hover", "forms-border-success", "forms-border-warn", "forms-checkbox-bg-checked", "forms-checkbox-bg-default", "forms-checkbox-border-checked", "forms-checkbox-border-default", "forms-checkbox-fg-checked", "forms-checkbox-fg-default", "forms-fg-default", "forms-fg-error", "forms-fg-mute", "forms-fg-subtle", "forms-fg-success", "forms-fg-warn", "forms-radio-bg-checked", "forms-radio-bg-default", "forms-radio-border-checked", "forms-radio-border-default", "forms-radio-fg-checked", "forms-radio-fg-default", "forms-toggle-bg-checked", "forms-toggle-bg-default", "forms-toggle-border-checked", "forms-toggle-border-default", "forms-toggle-fg-checked", "forms-toggle-fg-default", "id", "links-link-default", "links-link-disabled", "links-link-hover", "links-link-inverted-default", "links-link-inverted-hover", "links-link-mute-default", "links-link-mute-hover", "syntax-syntax", "syntax-syntax-key", "syntax-syntax-num", "syntax-syntax-value", "updated_at"]
|
124
|
+
|
125
|
+
model_config = ConfigDict(
|
126
|
+
populate_by_name=True,
|
127
|
+
validate_assignment=True,
|
128
|
+
protected_namespaces=(),
|
129
|
+
)
|
130
|
+
|
131
|
+
|
132
|
+
def to_str(self) -> str:
|
133
|
+
"""Returns the string representation of the model using alias"""
|
134
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
135
|
+
|
136
|
+
def to_json(self) -> str:
|
137
|
+
"""Returns the JSON representation of the model using alias"""
|
138
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
139
|
+
return json.dumps(self.to_dict())
|
140
|
+
|
141
|
+
@classmethod
|
142
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
143
|
+
"""Create an instance of AccountExperienceThemeVariables from a JSON string"""
|
144
|
+
return cls.from_dict(json.loads(json_str))
|
145
|
+
|
146
|
+
def to_dict(self) -> Dict[str, Any]:
|
147
|
+
"""Return the dictionary representation of the model using alias.
|
148
|
+
|
149
|
+
This has the following differences from calling pydantic's
|
150
|
+
`self.model_dump(by_alias=True)`:
|
151
|
+
|
152
|
+
* `None` is only added to the output dict for nullable fields that
|
153
|
+
were set at model initialization. Other fields with value `None`
|
154
|
+
are ignored.
|
155
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
156
|
+
"""
|
157
|
+
excluded_fields: Set[str] = set([
|
158
|
+
"additional_properties",
|
159
|
+
])
|
160
|
+
|
161
|
+
_dict = self.model_dump(
|
162
|
+
by_alias=True,
|
163
|
+
exclude=excluded_fields,
|
164
|
+
exclude_none=True,
|
165
|
+
)
|
166
|
+
# puts key-value pairs in additional_properties in the top level
|
167
|
+
if self.additional_properties is not None:
|
168
|
+
for _key, _value in self.additional_properties.items():
|
169
|
+
_dict[_key] = _value
|
170
|
+
|
171
|
+
return _dict
|
172
|
+
|
173
|
+
@classmethod
|
174
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
175
|
+
"""Create an instance of AccountExperienceThemeVariables from a dict"""
|
176
|
+
if obj is None:
|
177
|
+
return None
|
178
|
+
|
179
|
+
if not isinstance(obj, dict):
|
180
|
+
return cls.model_validate(obj)
|
181
|
+
|
182
|
+
_obj = cls.model_validate({
|
183
|
+
"accent": obj.get("accent"),
|
184
|
+
"bg-default": obj.get("bg-default"),
|
185
|
+
"border-radius-branding": obj.get("border-radius-branding"),
|
186
|
+
"border-radius-buttons": obj.get("border-radius-buttons"),
|
187
|
+
"border-radius-cards": obj.get("border-radius-cards"),
|
188
|
+
"border-radius-forms": obj.get("border-radius-forms"),
|
189
|
+
"border-radius-general": obj.get("border-radius-general"),
|
190
|
+
"button-primary-bg-default": obj.get("button-primary-bg-default"),
|
191
|
+
"button-primary-bg-disabled": obj.get("button-primary-bg-disabled"),
|
192
|
+
"button-primary-bg-hover": obj.get("button-primary-bg-hover"),
|
193
|
+
"button-primary-border-default": obj.get("button-primary-border-default"),
|
194
|
+
"button-primary-border-disabled": obj.get("button-primary-border-disabled"),
|
195
|
+
"button-primary-border-hover": obj.get("button-primary-border-hover"),
|
196
|
+
"button-primary-fg-default": obj.get("button-primary-fg-default"),
|
197
|
+
"button-primary-fg-disabled": obj.get("button-primary-fg-disabled"),
|
198
|
+
"button-primary-fg-hover": obj.get("button-primary-fg-hover"),
|
199
|
+
"button-secondary-bg-default": obj.get("button-secondary-bg-default"),
|
200
|
+
"button-secondary-bg-disabled": obj.get("button-secondary-bg-disabled"),
|
201
|
+
"button-secondary-bg-hover": obj.get("button-secondary-bg-hover"),
|
202
|
+
"button-secondary-border-default": obj.get("button-secondary-border-default"),
|
203
|
+
"button-secondary-border-disabled": obj.get("button-secondary-border-disabled"),
|
204
|
+
"button-secondary-border-hover": obj.get("button-secondary-border-hover"),
|
205
|
+
"button-secondary-fg-default": obj.get("button-secondary-fg-default"),
|
206
|
+
"button-secondary-fg-disabled": obj.get("button-secondary-fg-disabled"),
|
207
|
+
"button-secondary-fg-hover": obj.get("button-secondary-fg-hover"),
|
208
|
+
"button-social-bg-default": obj.get("button-social-bg-default"),
|
209
|
+
"button-social-bg-disabled": obj.get("button-social-bg-disabled"),
|
210
|
+
"button-social-bg-hover": obj.get("button-social-bg-hover"),
|
211
|
+
"button-social-bg-provider": obj.get("button-social-bg-provider"),
|
212
|
+
"button-social-border-default": obj.get("button-social-border-default"),
|
213
|
+
"button-social-border-disabled": obj.get("button-social-border-disabled"),
|
214
|
+
"button-social-border-hover": obj.get("button-social-border-hover"),
|
215
|
+
"button-social-border-provider": obj.get("button-social-border-provider"),
|
216
|
+
"button-social-fg-default": obj.get("button-social-fg-default"),
|
217
|
+
"button-social-fg-disabled": obj.get("button-social-fg-disabled"),
|
218
|
+
"button-social-fg-hover": obj.get("button-social-fg-hover"),
|
219
|
+
"button-social-fg-provider": obj.get("button-social-fg-provider"),
|
220
|
+
"created_at": obj.get("created_at"),
|
221
|
+
"dialog-bg-default": obj.get("dialog-bg-default"),
|
222
|
+
"dialog-bg-subtle": obj.get("dialog-bg-subtle"),
|
223
|
+
"dialog-border-default": obj.get("dialog-border-default"),
|
224
|
+
"dialog-fg-default": obj.get("dialog-fg-default"),
|
225
|
+
"dialog-fg-mute": obj.get("dialog-fg-mute"),
|
226
|
+
"dialog-fg-subtle": obj.get("dialog-fg-subtle"),
|
227
|
+
"forms-bg-default": obj.get("forms-bg-default"),
|
228
|
+
"forms-bg-disabled": obj.get("forms-bg-disabled"),
|
229
|
+
"forms-bg-hover": obj.get("forms-bg-hover"),
|
230
|
+
"forms-border-default": obj.get("forms-border-default"),
|
231
|
+
"forms-border-disabled": obj.get("forms-border-disabled"),
|
232
|
+
"forms-border-error": obj.get("forms-border-error"),
|
233
|
+
"forms-border-focus": obj.get("forms-border-focus"),
|
234
|
+
"forms-border-hover": obj.get("forms-border-hover"),
|
235
|
+
"forms-border-success": obj.get("forms-border-success"),
|
236
|
+
"forms-border-warn": obj.get("forms-border-warn"),
|
237
|
+
"forms-checkbox-bg-checked": obj.get("forms-checkbox-bg-checked"),
|
238
|
+
"forms-checkbox-bg-default": obj.get("forms-checkbox-bg-default"),
|
239
|
+
"forms-checkbox-border-checked": obj.get("forms-checkbox-border-checked"),
|
240
|
+
"forms-checkbox-border-default": obj.get("forms-checkbox-border-default"),
|
241
|
+
"forms-checkbox-fg-checked": obj.get("forms-checkbox-fg-checked"),
|
242
|
+
"forms-checkbox-fg-default": obj.get("forms-checkbox-fg-default"),
|
243
|
+
"forms-fg-default": obj.get("forms-fg-default"),
|
244
|
+
"forms-fg-error": obj.get("forms-fg-error"),
|
245
|
+
"forms-fg-mute": obj.get("forms-fg-mute"),
|
246
|
+
"forms-fg-subtle": obj.get("forms-fg-subtle"),
|
247
|
+
"forms-fg-success": obj.get("forms-fg-success"),
|
248
|
+
"forms-fg-warn": obj.get("forms-fg-warn"),
|
249
|
+
"forms-radio-bg-checked": obj.get("forms-radio-bg-checked"),
|
250
|
+
"forms-radio-bg-default": obj.get("forms-radio-bg-default"),
|
251
|
+
"forms-radio-border-checked": obj.get("forms-radio-border-checked"),
|
252
|
+
"forms-radio-border-default": obj.get("forms-radio-border-default"),
|
253
|
+
"forms-radio-fg-checked": obj.get("forms-radio-fg-checked"),
|
254
|
+
"forms-radio-fg-default": obj.get("forms-radio-fg-default"),
|
255
|
+
"forms-toggle-bg-checked": obj.get("forms-toggle-bg-checked"),
|
256
|
+
"forms-toggle-bg-default": obj.get("forms-toggle-bg-default"),
|
257
|
+
"forms-toggle-border-checked": obj.get("forms-toggle-border-checked"),
|
258
|
+
"forms-toggle-border-default": obj.get("forms-toggle-border-default"),
|
259
|
+
"forms-toggle-fg-checked": obj.get("forms-toggle-fg-checked"),
|
260
|
+
"forms-toggle-fg-default": obj.get("forms-toggle-fg-default"),
|
261
|
+
"id": obj.get("id"),
|
262
|
+
"links-link-default": obj.get("links-link-default"),
|
263
|
+
"links-link-disabled": obj.get("links-link-disabled"),
|
264
|
+
"links-link-hover": obj.get("links-link-hover"),
|
265
|
+
"links-link-inverted-default": obj.get("links-link-inverted-default"),
|
266
|
+
"links-link-inverted-hover": obj.get("links-link-inverted-hover"),
|
267
|
+
"links-link-mute-default": obj.get("links-link-mute-default"),
|
268
|
+
"links-link-mute-hover": obj.get("links-link-mute-hover"),
|
269
|
+
"syntax-syntax": obj.get("syntax-syntax"),
|
270
|
+
"syntax-syntax-key": obj.get("syntax-syntax-key"),
|
271
|
+
"syntax-syntax-num": obj.get("syntax-syntax-num"),
|
272
|
+
"syntax-syntax-value": obj.get("syntax-syntax-value"),
|
273
|
+
"updated_at": obj.get("updated_at")
|
274
|
+
})
|
275
|
+
# store additional fields in additional_properties
|
276
|
+
for _key in obj.keys():
|
277
|
+
if _key not in cls.__properties:
|
278
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
279
|
+
|
280
|
+
return _obj
|
281
|
+
|
282
|
+
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.11.
|
8
|
+
The version of the OpenAPI document: v1.11.11
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|