ory-client 1.17.2 → 1.18.5
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -6
- data/docs/AccountExperienceColors.md +57 -1
- data/docs/CreateProjectNormalizedPayload.md +5 -1
- data/docs/GenericErrorContent.md +2 -0
- data/docs/NormalizedProjectRevision.md +5 -1
- data/docs/NormalizedProjectRevisionSAMLProvider.md +0 -4
- data/docs/UiNode.md +1 -1
- data/docs/UiNodeAnchorAttributes.md +1 -1
- data/docs/UiNodeDivisionAttributes.md +24 -0
- data/docs/UiNodeImageAttributes.md +1 -1
- data/docs/UiNodeInputAttributes.md +1 -1
- data/docs/UiNodeScriptAttributes.md +1 -1
- data/docs/UiNodeTextAttributes.md +1 -1
- data/lib/ory-client/api/courier_api.rb +4 -4
- data/lib/ory-client/api/events_api.rb +6 -6
- data/lib/ory-client/api/frontend_api.rb +34 -34
- data/lib/ory-client/api/identity_api.rb +20 -20
- data/lib/ory-client/api/jwk_api.rb +9 -9
- data/lib/ory-client/api/metadata_api.rb +3 -3
- data/lib/ory-client/api/o_auth2_api.rb +30 -30
- data/lib/ory-client/api/oidc_api.rb +9 -9
- data/lib/ory-client/api/permission_api.rb +8 -8
- data/lib/ory-client/api/project_api.rb +19 -19
- data/lib/ory-client/api/relationship_api.rb +8 -8
- data/lib/ory-client/api/wellknown_api.rb +3 -3
- data/lib/ory-client/api/workspace_api.rb +10 -10
- data/lib/ory-client/api_client.rb +9 -10
- data/lib/ory-client/api_error.rb +2 -2
- data/lib/ory-client/configuration.rb +2 -2
- data/lib/ory-client/models/accept_o_auth2_consent_request.rb +11 -5
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +11 -5
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +21 -5
- data/lib/ory-client/models/account_experience_colors.rb +267 -9
- data/lib/ory-client/models/account_experience_configuration.rb +121 -5
- data/lib/ory-client/models/account_experience_theme_variables.rb +11 -5
- data/lib/ory-client/models/active_project_in_console.rb +11 -5
- data/lib/ory-client/models/add_project_to_workspace_body.rb +11 -5
- data/lib/ory-client/models/attribute.rb +11 -5
- data/lib/ory-client/models/attribute_filter.rb +11 -5
- data/lib/ory-client/models/attributes_count_datapoint.rb +31 -5
- data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
- data/lib/ory-client/models/batch_check_permission_body.rb +11 -5
- data/lib/ory-client/models/batch_check_permission_result.rb +21 -5
- data/lib/ory-client/models/batch_patch_identities_response.rb +11 -5
- data/lib/ory-client/models/billing_period_bucket.rb +11 -5
- data/lib/ory-client/models/check_opl_syntax_result.rb +11 -5
- data/lib/ory-client/models/check_permission_result.rb +21 -5
- data/lib/ory-client/models/check_permission_result_with_error.rb +21 -5
- data/lib/ory-client/models/cloud_account.rb +51 -5
- data/lib/ory-client/models/consistency_request_parameters.rb +11 -5
- data/lib/ory-client/models/continue_with.rb +2 -2
- data/lib/ory-client/models/continue_with_recovery_ui.rb +21 -5
- data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +21 -5
- data/lib/ory-client/models/continue_with_redirect_browser_to.rb +21 -5
- data/lib/ory-client/models/continue_with_set_ory_session_token.rb +21 -5
- data/lib/ory-client/models/continue_with_settings_ui.rb +21 -5
- data/lib/ory-client/models/continue_with_settings_ui_flow.rb +21 -5
- data/lib/ory-client/models/continue_with_verification_ui.rb +21 -5
- data/lib/ory-client/models/continue_with_verification_ui_flow.rb +31 -5
- data/lib/ory-client/models/courier_message_status.rb +2 -2
- data/lib/ory-client/models/courier_message_type.rb +2 -2
- data/lib/ory-client/models/create_custom_domain_body.rb +11 -5
- data/lib/ory-client/models/create_event_stream_body.rb +31 -5
- data/lib/ory-client/models/create_fedcm_flow_response.rb +11 -5
- data/lib/ory-client/models/create_identity_body.rb +31 -5
- data/lib/ory-client/models/create_invite_response.rb +31 -5
- data/lib/ory-client/models/create_json_web_key_set.rb +41 -5
- data/lib/ory-client/models/create_project_api_key_request.rb +21 -5
- data/lib/ory-client/models/create_project_body.rb +21 -5
- data/lib/ory-client/models/create_project_branding.rb +11 -5
- data/lib/ory-client/models/create_project_member_invite_body.rb +11 -5
- data/lib/ory-client/models/create_project_normalized_payload.rb +43 -7
- data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +21 -5
- data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +21 -5
- data/lib/ory-client/models/create_relationship_body.rb +11 -5
- data/lib/ory-client/models/create_subscription_body.rb +31 -5
- data/lib/ory-client/models/create_subscription_common.rb +21 -5
- data/lib/ory-client/models/create_verifiable_credential_request_body.rb +11 -5
- data/lib/ory-client/models/create_workspace_api_key_body.rb +21 -5
- data/lib/ory-client/models/create_workspace_body.rb +21 -5
- data/lib/ory-client/models/create_workspace_member_invite_body.rb +21 -5
- data/lib/ory-client/models/create_workspace_subscription_body.rb +21 -5
- data/lib/ory-client/models/credential_supported_draft00.rb +11 -5
- data/lib/ory-client/models/custom_domain.rb +11 -5
- data/lib/ory-client/models/delete_my_sessions_count.rb +11 -5
- data/lib/ory-client/models/email_template_data.rb +31 -5
- data/lib/ory-client/models/email_template_data_body.rb +31 -5
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +11 -5
- data/lib/ory-client/models/error_browser_location_change_required.rb +11 -5
- data/lib/ory-client/models/error_flow_replaced.rb +11 -5
- data/lib/ory-client/models/error_generic.rb +21 -5
- data/lib/ory-client/models/error_o_auth2.rb +11 -5
- data/lib/ory-client/models/event_stream.rb +11 -5
- data/lib/ory-client/models/expanded_permission_tree.rb +11 -5
- data/lib/ory-client/models/flow_error.rb +21 -5
- data/lib/ory-client/models/generic_error.rb +21 -5
- data/lib/ory-client/models/generic_error_content.rb +56 -6
- data/lib/ory-client/models/generic_usage.rb +31 -5
- data/lib/ory-client/models/get_attributes_count_response.rb +21 -5
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +11 -5
- data/lib/ory-client/models/get_metrics_event_attributes_response.rb +21 -5
- data/lib/ory-client/models/get_metrics_event_types_response.rb +21 -5
- data/lib/ory-client/models/get_organization_response.rb +21 -5
- data/lib/ory-client/models/get_project_events_body.rb +31 -5
- data/lib/ory-client/models/get_project_events_response.rb +21 -5
- data/lib/ory-client/models/get_project_metrics_response.rb +21 -5
- data/lib/ory-client/models/get_session_activity_response.rb +21 -5
- data/lib/ory-client/models/get_version200_response.rb +21 -5
- data/lib/ory-client/models/health_not_ready_status.rb +11 -5
- data/lib/ory-client/models/health_status.rb +11 -5
- data/lib/ory-client/models/identity.rb +41 -5
- data/lib/ory-client/models/identity_credentials.rb +11 -5
- data/lib/ory-client/models/identity_credentials_code.rb +11 -5
- data/lib/ory-client/models/identity_credentials_code_address.rb +11 -5
- data/lib/ory-client/models/identity_credentials_oidc.rb +11 -5
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +11 -5
- data/lib/ory-client/models/identity_credentials_password.rb +11 -5
- data/lib/ory-client/models/identity_patch.rb +11 -5
- data/lib/ory-client/models/identity_patch_response.rb +11 -5
- data/lib/ory-client/models/identity_schema_container.rb +11 -5
- data/lib/ory-client/models/identity_schema_preset.rb +31 -5
- data/lib/ory-client/models/identity_with_credentials.rb +11 -5
- data/lib/ory-client/models/identity_with_credentials_oidc.rb +11 -5
- data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +11 -5
- data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +31 -5
- data/lib/ory-client/models/identity_with_credentials_password.rb +11 -5
- data/lib/ory-client/models/identity_with_credentials_password_config.rb +11 -5
- data/lib/ory-client/models/internal_get_project_branding_body.rb +11 -5
- data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +31 -5
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +31 -5
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_response.rb +21 -5
- data/lib/ory-client/models/introspected_o_auth2_token.rb +21 -5
- data/lib/ory-client/models/invite_token_body.rb +21 -5
- data/lib/ory-client/models/invoice.rb +31 -5
- data/lib/ory-client/models/invoice_data_v1.rb +61 -5
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +31 -5
- data/lib/ory-client/models/json_patch.rb +21 -5
- data/lib/ory-client/models/json_web_key.rb +51 -5
- data/lib/ory-client/models/json_web_key_set.rb +11 -5
- data/lib/ory-client/models/keto_namespace.rb +11 -5
- data/lib/ory-client/models/line_item_v1.rb +11 -5
- data/lib/ory-client/models/list_event_streams.rb +11 -5
- data/lib/ory-client/models/list_invoices_response.rb +41 -5
- data/lib/ory-client/models/list_organizations_response.rb +41 -5
- data/lib/ory-client/models/list_workspace_projects.rb +41 -5
- data/lib/ory-client/models/list_workspaces.rb +41 -5
- data/lib/ory-client/models/login_flow.rb +71 -5
- data/lib/ory-client/models/login_flow_state.rb +2 -2
- data/lib/ory-client/models/logout_flow.rb +31 -5
- data/lib/ory-client/models/managed_identity_schema.rb +71 -5
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +11 -5
- data/lib/ory-client/models/member_invite.rb +71 -5
- data/lib/ory-client/models/message.rb +101 -5
- data/lib/ory-client/models/message_dispatch.rb +51 -5
- data/lib/ory-client/models/metrics_datapoint.rb +31 -5
- data/lib/ory-client/models/money.rb +11 -5
- data/lib/ory-client/models/namespace.rb +11 -5
- data/lib/ory-client/models/needs_privileged_session_error.rb +21 -5
- data/lib/ory-client/models/normalized_project.rb +71 -5
- data/lib/ory-client/models/normalized_project_revision.rb +43 -7
- data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +41 -5
- data/lib/ory-client/models/normalized_project_revision_hook.rb +31 -5
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +11 -5
- data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +12 -26
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +11 -5
- data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +11 -5
- data/lib/ory-client/models/o_auth2_client.rb +11 -5
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +11 -5
- data/lib/ory-client/models/o_auth2_consent_request.rb +21 -5
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +11 -5
- data/lib/ory-client/models/o_auth2_consent_session.rb +11 -5
- data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +11 -5
- data/lib/ory-client/models/o_auth2_login_request.rb +61 -5
- data/lib/ory-client/models/o_auth2_logout_request.rb +11 -5
- data/lib/ory-client/models/o_auth2_redirect_to.rb +21 -5
- data/lib/ory-client/models/o_auth2_token_exchange.rb +11 -5
- data/lib/ory-client/models/oidc_configuration.rb +101 -5
- data/lib/ory-client/models/oidc_user_info.rb +11 -5
- data/lib/ory-client/models/organization.rb +71 -5
- data/lib/ory-client/models/organization_body.rb +11 -5
- data/lib/ory-client/models/pagination.rb +11 -5
- data/lib/ory-client/models/pagination_headers.rb +11 -5
- data/lib/ory-client/models/parse_error.rb +11 -5
- data/lib/ory-client/models/patch_identities_body.rb +11 -5
- data/lib/ory-client/models/perform_native_logout_body.rb +21 -5
- data/lib/ory-client/models/permissions_on_workspace.rb +11 -5
- data/lib/ory-client/models/plan.rb +31 -5
- data/lib/ory-client/models/plan_details.rb +81 -5
- data/lib/ory-client/models/post_check_permission_body.rb +11 -5
- data/lib/ory-client/models/post_check_permission_or_error_body.rb +11 -5
- data/lib/ory-client/models/project.rb +61 -5
- data/lib/ory-client/models/project_api_key.rb +41 -5
- data/lib/ory-client/models/project_branding.rb +71 -5
- data/lib/ory-client/models/project_branding_colors.rb +11 -5
- data/lib/ory-client/models/project_branding_theme.rb +61 -5
- data/lib/ory-client/models/project_cors.rb +11 -5
- data/lib/ory-client/models/project_events_datapoint.rb +41 -5
- data/lib/ory-client/models/project_host.rb +41 -5
- data/lib/ory-client/models/project_member.rb +61 -5
- data/lib/ory-client/models/project_metadata.rb +71 -5
- data/lib/ory-client/models/project_service_identity.rb +21 -5
- data/lib/ory-client/models/project_service_o_auth2.rb +21 -5
- data/lib/ory-client/models/project_service_permission.rb +21 -5
- data/lib/ory-client/models/project_services.rb +11 -5
- data/lib/ory-client/models/provider.rb +11 -5
- data/lib/ory-client/models/quota_usage.rb +71 -5
- data/lib/ory-client/models/recovery_code_for_identity.rb +31 -5
- data/lib/ory-client/models/recovery_flow.rb +71 -5
- data/lib/ory-client/models/recovery_flow_state.rb +2 -2
- data/lib/ory-client/models/recovery_identity_address.rb +41 -5
- data/lib/ory-client/models/recovery_link_for_identity.rb +21 -5
- data/lib/ory-client/models/registration_flow.rb +71 -5
- data/lib/ory-client/models/registration_flow_state.rb +2 -2
- data/lib/ory-client/models/reject_o_auth2_request.rb +11 -5
- data/lib/ory-client/models/relation_query.rb +11 -5
- data/lib/ory-client/models/relationship.rb +41 -5
- data/lib/ory-client/models/relationship_namespaces.rb +11 -5
- data/lib/ory-client/models/relationship_patch.rb +11 -5
- data/lib/ory-client/models/relationships.rb +11 -5
- data/lib/ory-client/models/rfc6749_error_json.rb +11 -5
- data/lib/ory-client/models/schema_patch.rb +31 -5
- data/lib/ory-client/models/self_service_flow_expired_error.rb +11 -5
- data/lib/ory-client/models/session.rb +21 -5
- data/lib/ory-client/models/session_activity_datapoint.rb +41 -5
- data/lib/ory-client/models/session_authentication_method.rb +11 -5
- data/lib/ory-client/models/session_device.rb +21 -5
- data/lib/ory-client/models/set_active_project_in_console_body.rb +21 -5
- data/lib/ory-client/models/set_custom_domain_body.rb +11 -5
- data/lib/ory-client/models/set_event_stream_body.rb +31 -5
- data/lib/ory-client/models/set_project.rb +51 -5
- data/lib/ory-client/models/set_project_branding_theme_body.rb +11 -5
- data/lib/ory-client/models/settings_flow.rb +81 -5
- data/lib/ory-client/models/settings_flow_state.rb +2 -2
- data/lib/ory-client/models/source_position.rb +11 -5
- data/lib/ory-client/models/subject_set.rb +41 -5
- data/lib/ory-client/models/subscription.rb +81 -5
- data/lib/ory-client/models/successful_code_exchange_response.rb +21 -5
- data/lib/ory-client/models/successful_native_login.rb +21 -5
- data/lib/ory-client/models/successful_native_registration.rb +21 -5
- data/lib/ory-client/models/successful_project_update.rb +31 -5
- data/lib/ory-client/models/tax_line_item.rb +11 -5
- data/lib/ory-client/models/time_interval.rb +31 -5
- data/lib/ory-client/models/token_pagination.rb +11 -5
- data/lib/ory-client/models/token_pagination_headers.rb +11 -5
- data/lib/ory-client/models/token_pagination_request_parameters.rb +11 -5
- data/lib/ory-client/models/token_pagination_response_headers.rb +11 -5
- data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +51 -5
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +11 -5
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +11 -5
- data/lib/ory-client/models/ui_container.rb +41 -5
- data/lib/ory-client/models/ui_node.rb +46 -10
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +44 -8
- data/lib/ory-client/models/ui_node_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_division_attributes.rb +312 -0
- data/lib/ory-client/models/ui_node_image_attributes.rb +54 -8
- data/lib/ory-client/models/ui_node_input_attributes.rb +34 -8
- data/lib/ory-client/models/ui_node_meta.rb +11 -5
- data/lib/ory-client/models/ui_node_script_attributes.rb +94 -8
- data/lib/ory-client/models/ui_node_text_attributes.rb +34 -8
- data/lib/ory-client/models/ui_text.rb +31 -5
- data/lib/ory-client/models/update_fedcm_flow_body.rb +31 -5
- data/lib/ory-client/models/update_identity_body.rb +31 -5
- data/lib/ory-client/models/update_login_flow_body.rb +2 -2
- data/lib/ory-client/models/update_login_flow_with_code_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +21 -5
- data/lib/ory-client/models/update_login_flow_with_password_method.rb +41 -5
- data/lib/ory-client/models/update_login_flow_with_totp_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +31 -5
- data/lib/ory-client/models/update_recovery_flow_body.rb +2 -2
- data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +11 -5
- data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +21 -5
- data/lib/ory-client/models/update_registration_flow_body.rb +2 -2
- data/lib/ory-client/models/update_registration_flow_with_code_method.rb +31 -5
- data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +31 -5
- data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +31 -5
- data/lib/ory-client/models/update_registration_flow_with_password_method.rb +41 -5
- data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +31 -5
- data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +31 -5
- data/lib/ory-client/models/update_settings_flow_body.rb +2 -2
- data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +21 -5
- data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +21 -5
- data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +21 -5
- data/lib/ory-client/models/update_settings_flow_with_password_method.rb +31 -5
- data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +31 -5
- data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +21 -5
- data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +21 -5
- data/lib/ory-client/models/update_subscription_body.rb +21 -5
- data/lib/ory-client/models/update_verification_flow_body.rb +2 -2
- data/lib/ory-client/models/update_verification_flow_with_code_method.rb +11 -5
- data/lib/ory-client/models/update_verification_flow_with_link_method.rb +21 -5
- data/lib/ory-client/models/update_workspace_body.rb +21 -5
- data/lib/ory-client/models/usage.rb +11 -5
- data/lib/ory-client/models/verifiable_credential_priming_response.rb +11 -5
- data/lib/ory-client/models/verifiable_credential_proof.rb +11 -5
- data/lib/ory-client/models/verifiable_credential_response.rb +11 -5
- data/lib/ory-client/models/verifiable_identity_address.rb +41 -5
- data/lib/ory-client/models/verification_flow.rb +41 -5
- data/lib/ory-client/models/verification_flow_state.rb +2 -2
- data/lib/ory-client/models/version.rb +11 -5
- data/lib/ory-client/models/warning.rb +11 -5
- data/lib/ory-client/models/workspace.rb +51 -5
- data/lib/ory-client/models/workspace_api_key.rb +41 -5
- data/lib/ory-client/version.rb +3 -3
- data/lib/ory-client.rb +3 -2
- data/ory-client.gemspec +2 -2
- data/spec/api/courier_api_spec.rb +2 -2
- data/spec/api/events_api_spec.rb +2 -2
- data/spec/api/frontend_api_spec.rb +2 -2
- data/spec/api/identity_api_spec.rb +2 -2
- data/spec/api/jwk_api_spec.rb +2 -2
- data/spec/api/metadata_api_spec.rb +2 -2
- data/spec/api/o_auth2_api_spec.rb +2 -2
- data/spec/api/oidc_api_spec.rb +2 -2
- data/spec/api/permission_api_spec.rb +2 -2
- data/spec/api/project_api_spec.rb +2 -2
- data/spec/api/relationship_api_spec.rb +2 -2
- data/spec/api/wellknown_api_spec.rb +2 -2
- data/spec/api/workspace_api_spec.rb +2 -2
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +2 -2
- data/spec/models/accept_o_auth2_consent_request_spec.rb +2 -2
- data/spec/models/accept_o_auth2_login_request_spec.rb +2 -2
- data/spec/models/account_experience_colors_spec.rb +170 -2
- data/spec/models/account_experience_configuration_spec.rb +2 -2
- data/spec/models/account_experience_theme_variables_spec.rb +2 -2
- data/spec/models/active_project_in_console_spec.rb +2 -2
- data/spec/models/add_project_to_workspace_body_spec.rb +2 -2
- data/spec/models/attribute_filter_spec.rb +2 -2
- data/spec/models/attribute_spec.rb +2 -2
- data/spec/models/attributes_count_datapoint_spec.rb +2 -2
- data/spec/models/authenticator_assurance_level_spec.rb +2 -2
- data/spec/models/batch_check_permission_body_spec.rb +2 -2
- data/spec/models/batch_check_permission_result_spec.rb +2 -2
- data/spec/models/batch_patch_identities_response_spec.rb +2 -2
- data/spec/models/billing_period_bucket_spec.rb +2 -2
- data/spec/models/check_opl_syntax_result_spec.rb +2 -2
- data/spec/models/check_permission_result_spec.rb +2 -2
- data/spec/models/check_permission_result_with_error_spec.rb +2 -2
- data/spec/models/cloud_account_spec.rb +2 -2
- data/spec/models/consistency_request_parameters_spec.rb +2 -2
- data/spec/models/continue_with_recovery_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_recovery_ui_spec.rb +2 -2
- data/spec/models/continue_with_redirect_browser_to_spec.rb +2 -2
- data/spec/models/continue_with_set_ory_session_token_spec.rb +2 -2
- data/spec/models/continue_with_settings_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_settings_ui_spec.rb +2 -2
- data/spec/models/continue_with_spec.rb +2 -2
- data/spec/models/continue_with_verification_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_verification_ui_spec.rb +2 -2
- data/spec/models/courier_message_status_spec.rb +2 -2
- data/spec/models/courier_message_type_spec.rb +2 -2
- data/spec/models/create_custom_domain_body_spec.rb +2 -2
- data/spec/models/create_event_stream_body_spec.rb +2 -2
- data/spec/models/create_fedcm_flow_response_spec.rb +2 -2
- data/spec/models/create_identity_body_spec.rb +2 -2
- data/spec/models/create_invite_response_spec.rb +2 -2
- data/spec/models/create_json_web_key_set_spec.rb +2 -2
- data/spec/models/create_project_api_key_request_spec.rb +2 -2
- data/spec/models/create_project_body_spec.rb +2 -2
- data/spec/models/create_project_branding_spec.rb +2 -2
- data/spec/models/create_project_member_invite_body_spec.rb +2 -2
- data/spec/models/create_project_normalized_payload_spec.rb +14 -2
- data/spec/models/create_recovery_code_for_identity_body_spec.rb +2 -2
- data/spec/models/create_recovery_link_for_identity_body_spec.rb +2 -2
- data/spec/models/create_relationship_body_spec.rb +2 -2
- data/spec/models/create_subscription_body_spec.rb +2 -2
- data/spec/models/create_subscription_common_spec.rb +2 -2
- data/spec/models/create_verifiable_credential_request_body_spec.rb +2 -2
- data/spec/models/create_workspace_api_key_body_spec.rb +2 -2
- data/spec/models/create_workspace_body_spec.rb +2 -2
- data/spec/models/create_workspace_member_invite_body_spec.rb +2 -2
- data/spec/models/create_workspace_subscription_body_spec.rb +2 -2
- data/spec/models/credential_supported_draft00_spec.rb +2 -2
- data/spec/models/custom_domain_spec.rb +2 -2
- data/spec/models/delete_my_sessions_count_spec.rb +2 -2
- data/spec/models/email_template_data_body_spec.rb +2 -2
- data/spec/models/email_template_data_spec.rb +2 -2
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
- data/spec/models/error_browser_location_change_required_spec.rb +2 -2
- data/spec/models/error_flow_replaced_spec.rb +2 -2
- data/spec/models/error_generic_spec.rb +2 -2
- data/spec/models/error_o_auth2_spec.rb +2 -2
- data/spec/models/event_stream_spec.rb +2 -2
- data/spec/models/expanded_permission_tree_spec.rb +2 -2
- data/spec/models/flow_error_spec.rb +2 -2
- data/spec/models/generic_error_content_spec.rb +12 -2
- data/spec/models/generic_error_spec.rb +2 -2
- data/spec/models/generic_usage_spec.rb +2 -2
- data/spec/models/get_attributes_count_response_spec.rb +2 -2
- data/spec/models/get_managed_identity_schema_location_spec.rb +2 -2
- data/spec/models/get_metrics_event_attributes_response_spec.rb +2 -2
- data/spec/models/get_metrics_event_types_response_spec.rb +2 -2
- data/spec/models/get_organization_response_spec.rb +2 -2
- data/spec/models/get_project_events_body_spec.rb +2 -2
- data/spec/models/get_project_events_response_spec.rb +2 -2
- data/spec/models/get_project_metrics_response_spec.rb +2 -2
- data/spec/models/get_session_activity_response_spec.rb +2 -2
- data/spec/models/get_version200_response_spec.rb +2 -2
- data/spec/models/health_not_ready_status_spec.rb +2 -2
- data/spec/models/health_status_spec.rb +2 -2
- data/spec/models/identity_credentials_code_address_spec.rb +2 -2
- data/spec/models/identity_credentials_code_spec.rb +2 -2
- data/spec/models/identity_credentials_oidc_provider_spec.rb +2 -2
- data/spec/models/identity_credentials_oidc_spec.rb +2 -2
- data/spec/models/identity_credentials_password_spec.rb +2 -2
- data/spec/models/identity_credentials_spec.rb +2 -2
- data/spec/models/identity_patch_response_spec.rb +2 -2
- data/spec/models/identity_patch_spec.rb +2 -2
- data/spec/models/identity_schema_container_spec.rb +2 -2
- data/spec/models/identity_schema_preset_spec.rb +2 -2
- data/spec/models/identity_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_config_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_spec.rb +2 -2
- data/spec/models/identity_with_credentials_password_config_spec.rb +2 -2
- data/spec/models/identity_with_credentials_password_spec.rb +2 -2
- data/spec/models/identity_with_credentials_spec.rb +2 -2
- data/spec/models/internal_get_project_branding_body_spec.rb +2 -2
- data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +2 -2
- data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +2 -2
- data/spec/models/internal_is_owner_for_project_by_slug_response_spec.rb +2 -2
- data/spec/models/introspected_o_auth2_token_spec.rb +2 -2
- data/spec/models/invite_token_body_spec.rb +2 -2
- data/spec/models/invoice_data_v1_spec.rb +2 -2
- data/spec/models/invoice_spec.rb +2 -2
- data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
- data/spec/models/json_patch_spec.rb +2 -2
- data/spec/models/json_web_key_set_spec.rb +2 -2
- data/spec/models/json_web_key_spec.rb +2 -2
- data/spec/models/keto_namespace_spec.rb +2 -2
- data/spec/models/line_item_v1_spec.rb +2 -2
- data/spec/models/list_event_streams_spec.rb +2 -2
- data/spec/models/list_invoices_response_spec.rb +2 -2
- data/spec/models/list_organizations_response_spec.rb +2 -2
- data/spec/models/list_workspace_projects_spec.rb +2 -2
- data/spec/models/list_workspaces_spec.rb +2 -2
- data/spec/models/login_flow_spec.rb +2 -2
- data/spec/models/login_flow_state_spec.rb +2 -2
- data/spec/models/logout_flow_spec.rb +2 -2
- data/spec/models/managed_identity_schema_spec.rb +2 -2
- data/spec/models/managed_identity_schema_validation_result_spec.rb +2 -2
- data/spec/models/member_invite_spec.rb +2 -2
- data/spec/models/message_dispatch_spec.rb +2 -2
- data/spec/models/message_spec.rb +2 -2
- data/spec/models/metrics_datapoint_spec.rb +2 -2
- data/spec/models/money_spec.rb +2 -2
- data/spec/models/namespace_spec.rb +2 -2
- data/spec/models/needs_privileged_session_error_spec.rb +2 -2
- data/spec/models/normalized_project_revision_courier_channel_spec.rb +2 -2
- data/spec/models/normalized_project_revision_hook_spec.rb +2 -2
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +2 -2
- data/spec/models/normalized_project_revision_saml_provider_spec.rb +2 -14
- data/spec/models/normalized_project_revision_spec.rb +14 -2
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
- data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +2 -2
- data/spec/models/normalized_project_spec.rb +2 -2
- data/spec/models/o_auth2_client_spec.rb +2 -2
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +2 -2
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +2 -2
- data/spec/models/o_auth2_consent_request_spec.rb +2 -2
- data/spec/models/o_auth2_consent_session_expires_at_spec.rb +2 -2
- data/spec/models/o_auth2_consent_session_spec.rb +2 -2
- data/spec/models/o_auth2_login_request_spec.rb +2 -2
- data/spec/models/o_auth2_logout_request_spec.rb +2 -2
- data/spec/models/o_auth2_redirect_to_spec.rb +2 -2
- data/spec/models/o_auth2_token_exchange_spec.rb +2 -2
- data/spec/models/oidc_configuration_spec.rb +2 -2
- data/spec/models/oidc_user_info_spec.rb +2 -2
- data/spec/models/organization_body_spec.rb +2 -2
- data/spec/models/organization_spec.rb +2 -2
- data/spec/models/pagination_headers_spec.rb +2 -2
- data/spec/models/pagination_spec.rb +2 -2
- data/spec/models/parse_error_spec.rb +2 -2
- data/spec/models/patch_identities_body_spec.rb +2 -2
- data/spec/models/perform_native_logout_body_spec.rb +2 -2
- data/spec/models/permissions_on_workspace_spec.rb +2 -2
- data/spec/models/plan_details_spec.rb +2 -2
- data/spec/models/plan_spec.rb +2 -2
- data/spec/models/post_check_permission_body_spec.rb +2 -2
- data/spec/models/post_check_permission_or_error_body_spec.rb +2 -2
- data/spec/models/project_api_key_spec.rb +2 -2
- data/spec/models/project_branding_colors_spec.rb +2 -2
- data/spec/models/project_branding_spec.rb +2 -2
- data/spec/models/project_branding_theme_spec.rb +2 -2
- data/spec/models/project_cors_spec.rb +2 -2
- data/spec/models/project_events_datapoint_spec.rb +2 -2
- data/spec/models/project_host_spec.rb +2 -2
- data/spec/models/project_member_spec.rb +2 -2
- data/spec/models/project_metadata_spec.rb +2 -2
- data/spec/models/project_service_identity_spec.rb +2 -2
- data/spec/models/project_service_o_auth2_spec.rb +2 -2
- data/spec/models/project_service_permission_spec.rb +2 -2
- data/spec/models/project_services_spec.rb +2 -2
- data/spec/models/project_spec.rb +2 -2
- data/spec/models/provider_spec.rb +2 -2
- data/spec/models/quota_usage_spec.rb +2 -2
- data/spec/models/recovery_code_for_identity_spec.rb +2 -2
- data/spec/models/recovery_flow_spec.rb +2 -2
- data/spec/models/recovery_flow_state_spec.rb +2 -2
- data/spec/models/recovery_identity_address_spec.rb +2 -2
- data/spec/models/recovery_link_for_identity_spec.rb +2 -2
- data/spec/models/registration_flow_spec.rb +2 -2
- data/spec/models/registration_flow_state_spec.rb +2 -2
- data/spec/models/reject_o_auth2_request_spec.rb +2 -2
- data/spec/models/relation_query_spec.rb +2 -2
- data/spec/models/relationship_namespaces_spec.rb +2 -2
- data/spec/models/relationship_patch_spec.rb +2 -2
- data/spec/models/relationship_spec.rb +2 -2
- data/spec/models/relationships_spec.rb +2 -2
- data/spec/models/rfc6749_error_json_spec.rb +2 -2
- data/spec/models/schema_patch_spec.rb +2 -2
- data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
- data/spec/models/session_activity_datapoint_spec.rb +2 -2
- data/spec/models/session_authentication_method_spec.rb +2 -2
- data/spec/models/session_device_spec.rb +2 -2
- data/spec/models/session_spec.rb +2 -2
- data/spec/models/set_active_project_in_console_body_spec.rb +2 -2
- data/spec/models/set_custom_domain_body_spec.rb +2 -2
- data/spec/models/set_event_stream_body_spec.rb +2 -2
- data/spec/models/set_project_branding_theme_body_spec.rb +2 -2
- data/spec/models/set_project_spec.rb +2 -2
- data/spec/models/settings_flow_spec.rb +2 -2
- data/spec/models/settings_flow_state_spec.rb +2 -2
- data/spec/models/source_position_spec.rb +2 -2
- data/spec/models/subject_set_spec.rb +2 -2
- data/spec/models/subscription_spec.rb +2 -2
- data/spec/models/successful_code_exchange_response_spec.rb +2 -2
- data/spec/models/successful_native_login_spec.rb +2 -2
- data/spec/models/successful_native_registration_spec.rb +2 -2
- data/spec/models/successful_project_update_spec.rb +2 -2
- data/spec/models/tax_line_item_spec.rb +2 -2
- data/spec/models/time_interval_spec.rb +2 -2
- data/spec/models/token_pagination_headers_spec.rb +2 -2
- data/spec/models/token_pagination_request_parameters_spec.rb +2 -2
- data/spec/models/token_pagination_response_headers_spec.rb +2 -2
- data/spec/models/token_pagination_spec.rb +2 -2
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +2 -2
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +2 -2
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +2 -2
- data/spec/models/ui_container_spec.rb +2 -2
- data/spec/models/ui_node_anchor_attributes_spec.rb +3 -3
- data/spec/models/ui_node_attributes_spec.rb +2 -2
- data/spec/models/ui_node_division_attributes_spec.rb +58 -0
- data/spec/models/ui_node_image_attributes_spec.rb +3 -3
- data/spec/models/ui_node_input_attributes_spec.rb +3 -3
- data/spec/models/ui_node_meta_spec.rb +2 -2
- data/spec/models/ui_node_script_attributes_spec.rb +3 -3
- data/spec/models/ui_node_spec.rb +4 -4
- data/spec/models/ui_node_text_attributes_spec.rb +3 -3
- data/spec/models/ui_text_spec.rb +2 -2
- data/spec/models/update_fedcm_flow_body_spec.rb +2 -2
- data/spec/models/update_identity_body_spec.rb +2 -2
- data/spec/models/update_login_flow_body_spec.rb +2 -2
- data/spec/models/update_login_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_passkey_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_totp_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_recovery_flow_body_spec.rb +2 -2
- data/spec/models/update_recovery_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_recovery_flow_with_link_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_body_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_passkey_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_profile_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_body_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_lookup_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_passkey_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_profile_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_totp_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_subscription_body_spec.rb +2 -2
- data/spec/models/update_verification_flow_body_spec.rb +2 -2
- data/spec/models/update_verification_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_verification_flow_with_link_method_spec.rb +2 -2
- data/spec/models/update_workspace_body_spec.rb +2 -2
- data/spec/models/usage_spec.rb +2 -2
- data/spec/models/verifiable_credential_priming_response_spec.rb +2 -2
- data/spec/models/verifiable_credential_proof_spec.rb +2 -2
- data/spec/models/verifiable_credential_response_spec.rb +2 -2
- data/spec/models/verifiable_identity_address_spec.rb +2 -2
- data/spec/models/verification_flow_spec.rb +2 -2
- data/spec/models/verification_flow_state_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/models/warning_spec.rb +2 -2
- data/spec/models/workspace_api_key_spec.rb +2 -2
- data/spec/models/workspace_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.17.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/jaro_winkler-1.5.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/psych-4.0.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/racc-1.8.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.1.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.17.1/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.5/ext/stringio/Makefile +2 -2
- metadata +7 -3
@@ -0,0 +1,312 @@
|
|
1
|
+
=begin
|
2
|
+
#Ory APIs
|
3
|
+
|
4
|
+
## Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1.18.5
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module OryClient
|
17
|
+
# Division sections are used for interactive widgets that require a hook in the DOM / view.
|
18
|
+
class UiNodeDivisionAttributes
|
19
|
+
# The script MIME type
|
20
|
+
attr_accessor :_class
|
21
|
+
|
22
|
+
# Data is a map of key-value pairs that are passed to the division. They may be used for `data-...` attributes.
|
23
|
+
attr_accessor :data
|
24
|
+
|
25
|
+
# A unique identifier
|
26
|
+
attr_accessor :id
|
27
|
+
|
28
|
+
# NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script div Division
|
29
|
+
attr_accessor :node_type
|
30
|
+
|
31
|
+
class EnumAttributeValidator
|
32
|
+
attr_reader :datatype
|
33
|
+
attr_reader :allowable_values
|
34
|
+
|
35
|
+
def initialize(datatype, allowable_values)
|
36
|
+
@allowable_values = allowable_values.map do |value|
|
37
|
+
case datatype.to_s
|
38
|
+
when /Integer/i
|
39
|
+
value.to_i
|
40
|
+
when /Float/i
|
41
|
+
value.to_f
|
42
|
+
else
|
43
|
+
value
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def valid?(value)
|
49
|
+
!value || allowable_values.include?(value)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
54
|
+
def self.attribute_map
|
55
|
+
{
|
56
|
+
:'_class' => :'class',
|
57
|
+
:'data' => :'data',
|
58
|
+
:'id' => :'id',
|
59
|
+
:'node_type' => :'node_type'
|
60
|
+
}
|
61
|
+
end
|
62
|
+
|
63
|
+
# Returns attribute mapping this model knows about
|
64
|
+
def self.acceptable_attribute_map
|
65
|
+
attribute_map
|
66
|
+
end
|
67
|
+
|
68
|
+
# Returns all the JSON keys this model knows about
|
69
|
+
def self.acceptable_attributes
|
70
|
+
acceptable_attribute_map.values
|
71
|
+
end
|
72
|
+
|
73
|
+
# Attribute type mapping.
|
74
|
+
def self.openapi_types
|
75
|
+
{
|
76
|
+
:'_class' => :'String',
|
77
|
+
:'data' => :'Hash<String, String>',
|
78
|
+
:'id' => :'String',
|
79
|
+
:'node_type' => :'String'
|
80
|
+
}
|
81
|
+
end
|
82
|
+
|
83
|
+
# List of attributes with nullable: true
|
84
|
+
def self.openapi_nullable
|
85
|
+
Set.new([
|
86
|
+
])
|
87
|
+
end
|
88
|
+
|
89
|
+
# Initializes the object
|
90
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
91
|
+
def initialize(attributes = {})
|
92
|
+
if (!attributes.is_a?(Hash))
|
93
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::UiNodeDivisionAttributes` initialize method"
|
94
|
+
end
|
95
|
+
|
96
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
97
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
98
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
99
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
100
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeDivisionAttributes`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
101
|
+
end
|
102
|
+
h[k.to_sym] = v
|
103
|
+
}
|
104
|
+
|
105
|
+
if attributes.key?(:'_class')
|
106
|
+
self._class = attributes[:'_class']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.key?(:'data')
|
110
|
+
if (value = attributes[:'data']).is_a?(Hash)
|
111
|
+
self.data = value
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.key?(:'id')
|
116
|
+
self.id = attributes[:'id']
|
117
|
+
else
|
118
|
+
self.id = nil
|
119
|
+
end
|
120
|
+
|
121
|
+
if attributes.key?(:'node_type')
|
122
|
+
self.node_type = attributes[:'node_type']
|
123
|
+
else
|
124
|
+
self.node_type = nil
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
129
|
+
# @return Array for valid properties with the reasons
|
130
|
+
def list_invalid_properties
|
131
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
132
|
+
invalid_properties = Array.new
|
133
|
+
if @id.nil?
|
134
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
135
|
+
end
|
136
|
+
|
137
|
+
if @node_type.nil?
|
138
|
+
invalid_properties.push('invalid value for "node_type", node_type cannot be nil.')
|
139
|
+
end
|
140
|
+
|
141
|
+
invalid_properties
|
142
|
+
end
|
143
|
+
|
144
|
+
# Check to see if the all the properties in the model are valid
|
145
|
+
# @return true if the model is valid
|
146
|
+
def valid?
|
147
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
148
|
+
return false if @id.nil?
|
149
|
+
return false if @node_type.nil?
|
150
|
+
node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
151
|
+
return false unless node_type_validator.valid?(@node_type)
|
152
|
+
true
|
153
|
+
end
|
154
|
+
|
155
|
+
# Custom attribute writer method with validation
|
156
|
+
# @param [Object] id Value to be assigned
|
157
|
+
def id=(id)
|
158
|
+
if id.nil?
|
159
|
+
fail ArgumentError, 'id cannot be nil'
|
160
|
+
end
|
161
|
+
|
162
|
+
@id = id
|
163
|
+
end
|
164
|
+
|
165
|
+
# Custom attribute writer method checking allowed values (enum).
|
166
|
+
# @param [Object] node_type Object to be assigned
|
167
|
+
def node_type=(node_type)
|
168
|
+
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
169
|
+
unless validator.valid?(node_type)
|
170
|
+
fail ArgumentError, "invalid value for \"node_type\", must be one of #{validator.allowable_values}."
|
171
|
+
end
|
172
|
+
@node_type = node_type
|
173
|
+
end
|
174
|
+
|
175
|
+
# Checks equality by comparing each attribute.
|
176
|
+
# @param [Object] Object to be compared
|
177
|
+
def ==(o)
|
178
|
+
return true if self.equal?(o)
|
179
|
+
self.class == o.class &&
|
180
|
+
_class == o._class &&
|
181
|
+
data == o.data &&
|
182
|
+
id == o.id &&
|
183
|
+
node_type == o.node_type
|
184
|
+
end
|
185
|
+
|
186
|
+
# @see the `==` method
|
187
|
+
# @param [Object] Object to be compared
|
188
|
+
def eql?(o)
|
189
|
+
self == o
|
190
|
+
end
|
191
|
+
|
192
|
+
# Calculates hash code according to all attributes.
|
193
|
+
# @return [Integer] Hash code
|
194
|
+
def hash
|
195
|
+
[_class, data, id, node_type].hash
|
196
|
+
end
|
197
|
+
|
198
|
+
# Builds the object from hash
|
199
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
200
|
+
# @return [Object] Returns the model itself
|
201
|
+
def self.build_from_hash(attributes)
|
202
|
+
return nil unless attributes.is_a?(Hash)
|
203
|
+
attributes = attributes.transform_keys(&:to_sym)
|
204
|
+
transformed_hash = {}
|
205
|
+
openapi_types.each_pair do |key, type|
|
206
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
207
|
+
transformed_hash["#{key}"] = nil
|
208
|
+
elsif type =~ /\AArray<(.*)>/i
|
209
|
+
# check to ensure the input is an array given that the attribute
|
210
|
+
# is documented as an array but the input is not
|
211
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
212
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
213
|
+
end
|
214
|
+
elsif !attributes[attribute_map[key]].nil?
|
215
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
216
|
+
end
|
217
|
+
end
|
218
|
+
new(transformed_hash)
|
219
|
+
end
|
220
|
+
|
221
|
+
# Deserializes the data based on type
|
222
|
+
# @param string type Data type
|
223
|
+
# @param string value Value to be deserialized
|
224
|
+
# @return [Object] Deserialized data
|
225
|
+
def self._deserialize(type, value)
|
226
|
+
case type.to_sym
|
227
|
+
when :Time
|
228
|
+
Time.parse(value)
|
229
|
+
when :Date
|
230
|
+
Date.parse(value)
|
231
|
+
when :String
|
232
|
+
value.to_s
|
233
|
+
when :Integer
|
234
|
+
value.to_i
|
235
|
+
when :Float
|
236
|
+
value.to_f
|
237
|
+
when :Boolean
|
238
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
239
|
+
true
|
240
|
+
else
|
241
|
+
false
|
242
|
+
end
|
243
|
+
when :Object
|
244
|
+
# generic object (usually a Hash), return directly
|
245
|
+
value
|
246
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
247
|
+
inner_type = Regexp.last_match[:inner_type]
|
248
|
+
value.map { |v| _deserialize(inner_type, v) }
|
249
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
250
|
+
k_type = Regexp.last_match[:k_type]
|
251
|
+
v_type = Regexp.last_match[:v_type]
|
252
|
+
{}.tap do |hash|
|
253
|
+
value.each do |k, v|
|
254
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
else # model
|
258
|
+
# models (e.g. Pet) or oneOf
|
259
|
+
klass = OryClient.const_get(type)
|
260
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
# Returns the string representation of the object
|
265
|
+
# @return [String] String presentation of the object
|
266
|
+
def to_s
|
267
|
+
to_hash.to_s
|
268
|
+
end
|
269
|
+
|
270
|
+
# to_body is an alias to to_hash (backward compatibility)
|
271
|
+
# @return [Hash] Returns the object in the form of hash
|
272
|
+
def to_body
|
273
|
+
to_hash
|
274
|
+
end
|
275
|
+
|
276
|
+
# Returns the object in the form of hash
|
277
|
+
# @return [Hash] Returns the object in the form of hash
|
278
|
+
def to_hash
|
279
|
+
hash = {}
|
280
|
+
self.class.attribute_map.each_pair do |attr, param|
|
281
|
+
value = self.send(attr)
|
282
|
+
if value.nil?
|
283
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
284
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
285
|
+
end
|
286
|
+
|
287
|
+
hash[param] = _to_hash(value)
|
288
|
+
end
|
289
|
+
hash
|
290
|
+
end
|
291
|
+
|
292
|
+
# Outputs non-array value in the form of hash
|
293
|
+
# For object, use to_hash. Otherwise, just return the value
|
294
|
+
# @param [Object] value Any valid value
|
295
|
+
# @return [Hash] Returns the value in the form of hash
|
296
|
+
def _to_hash(value)
|
297
|
+
if value.is_a?(Array)
|
298
|
+
value.compact.map { |v| _to_hash(v) }
|
299
|
+
elsif value.is_a?(Hash)
|
300
|
+
{}.tap do |hash|
|
301
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
302
|
+
end
|
303
|
+
elsif value.respond_to? :to_hash
|
304
|
+
value.to_hash
|
305
|
+
else
|
306
|
+
value
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
end
|
311
|
+
|
312
|
+
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.5
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,7 +21,7 @@ module OryClient
|
|
21
21
|
# A unique identifier
|
22
22
|
attr_accessor :id
|
23
23
|
|
24
|
-
# NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script
|
24
|
+
# NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script div Division
|
25
25
|
attr_accessor :node_type
|
26
26
|
|
27
27
|
# The image's source URL. format: uri
|
@@ -63,9 +63,14 @@ module OryClient
|
|
63
63
|
}
|
64
64
|
end
|
65
65
|
|
66
|
+
# Returns attribute mapping this model knows about
|
67
|
+
def self.acceptable_attribute_map
|
68
|
+
attribute_map
|
69
|
+
end
|
70
|
+
|
66
71
|
# Returns all the JSON keys this model knows about
|
67
72
|
def self.acceptable_attributes
|
68
|
-
|
73
|
+
acceptable_attribute_map.values
|
69
74
|
end
|
70
75
|
|
71
76
|
# Attribute type mapping.
|
@@ -93,9 +98,10 @@ module OryClient
|
|
93
98
|
end
|
94
99
|
|
95
100
|
# check to see if the attribute exists and convert string to symbol for hash key
|
101
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
96
102
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
97
|
-
if (!
|
98
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeImageAttributes`. Please check the name to make sure it's valid. List of attributes: " +
|
103
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
104
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeImageAttributes`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
99
105
|
end
|
100
106
|
h[k.to_sym] = v
|
101
107
|
}
|
@@ -166,23 +172,63 @@ module OryClient
|
|
166
172
|
return false if @height.nil?
|
167
173
|
return false if @id.nil?
|
168
174
|
return false if @node_type.nil?
|
169
|
-
node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
|
175
|
+
node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
170
176
|
return false unless node_type_validator.valid?(@node_type)
|
171
177
|
return false if @src.nil?
|
172
178
|
return false if @width.nil?
|
173
179
|
true
|
174
180
|
end
|
175
181
|
|
182
|
+
# Custom attribute writer method with validation
|
183
|
+
# @param [Object] height Value to be assigned
|
184
|
+
def height=(height)
|
185
|
+
if height.nil?
|
186
|
+
fail ArgumentError, 'height cannot be nil'
|
187
|
+
end
|
188
|
+
|
189
|
+
@height = height
|
190
|
+
end
|
191
|
+
|
192
|
+
# Custom attribute writer method with validation
|
193
|
+
# @param [Object] id Value to be assigned
|
194
|
+
def id=(id)
|
195
|
+
if id.nil?
|
196
|
+
fail ArgumentError, 'id cannot be nil'
|
197
|
+
end
|
198
|
+
|
199
|
+
@id = id
|
200
|
+
end
|
201
|
+
|
176
202
|
# Custom attribute writer method checking allowed values (enum).
|
177
203
|
# @param [Object] node_type Object to be assigned
|
178
204
|
def node_type=(node_type)
|
179
|
-
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
|
205
|
+
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
180
206
|
unless validator.valid?(node_type)
|
181
207
|
fail ArgumentError, "invalid value for \"node_type\", must be one of #{validator.allowable_values}."
|
182
208
|
end
|
183
209
|
@node_type = node_type
|
184
210
|
end
|
185
211
|
|
212
|
+
# Custom attribute writer method with validation
|
213
|
+
# @param [Object] src Value to be assigned
|
214
|
+
def src=(src)
|
215
|
+
if src.nil?
|
216
|
+
fail ArgumentError, 'src cannot be nil'
|
217
|
+
end
|
218
|
+
|
219
|
+
@src = src
|
220
|
+
end
|
221
|
+
|
222
|
+
# Custom attribute writer method with validation
|
223
|
+
# @param [Object] width Value to be assigned
|
224
|
+
def width=(width)
|
225
|
+
if width.nil?
|
226
|
+
fail ArgumentError, 'width cannot be nil'
|
227
|
+
end
|
228
|
+
|
229
|
+
@width = width
|
230
|
+
end
|
231
|
+
|
186
232
|
# Checks equality by comparing each attribute.
|
187
233
|
# @param [Object] Object to be compared
|
188
234
|
def ==(o)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.5
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -30,7 +30,7 @@ module OryClient
|
|
30
30
|
# The input's element name.
|
31
31
|
attr_accessor :name
|
32
32
|
|
33
|
-
# NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script
|
33
|
+
# NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script div Division
|
34
34
|
attr_accessor :node_type
|
35
35
|
|
36
36
|
# OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead.
|
@@ -99,9 +99,14 @@ module OryClient
|
|
99
99
|
}
|
100
100
|
end
|
101
101
|
|
102
|
+
# Returns attribute mapping this model knows about
|
103
|
+
def self.acceptable_attribute_map
|
104
|
+
attribute_map
|
105
|
+
end
|
106
|
+
|
102
107
|
# Returns all the JSON keys this model knows about
|
103
108
|
def self.acceptable_attributes
|
104
|
-
|
109
|
+
acceptable_attribute_map.values
|
105
110
|
end
|
106
111
|
|
107
112
|
# Attribute type mapping.
|
@@ -139,9 +144,10 @@ module OryClient
|
|
139
144
|
end
|
140
145
|
|
141
146
|
# check to see if the attribute exists and convert string to symbol for hash key
|
147
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
142
148
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
143
|
-
if (!
|
144
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeInputAttributes`. Please check the name to make sure it's valid. List of attributes: " +
|
149
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
150
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeInputAttributes`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
145
151
|
end
|
146
152
|
h[k.to_sym] = v
|
147
153
|
}
|
@@ -244,7 +250,7 @@ module OryClient
|
|
244
250
|
return false if @disabled.nil?
|
245
251
|
return false if @name.nil?
|
246
252
|
return false if @node_type.nil?
|
247
|
-
node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
|
253
|
+
node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
248
254
|
return false unless node_type_validator.valid?(@node_type)
|
249
255
|
onclick_trigger_validator = EnumAttributeValidator.new('String', ["oryWebAuthnRegistration", "oryWebAuthnLogin", "oryPasskeyLogin", "oryPasskeyLoginAutocompleteInit", "oryPasskeyRegistration", "oryPasskeySettingsRegistration"])
|
250
256
|
return false unless onclick_trigger_validator.valid?(@onclick_trigger)
|
@@ -266,10 +272,30 @@ module OryClient
|
|
266
272
|
@autocomplete = autocomplete
|
267
273
|
end
|
268
274
|
|
275
|
+
# Custom attribute writer method with validation
|
276
|
+
# @param [Object] disabled Value to be assigned
|
277
|
+
def disabled=(disabled)
|
278
|
+
if disabled.nil?
|
279
|
+
fail ArgumentError, 'disabled cannot be nil'
|
280
|
+
end
|
281
|
+
|
282
|
+
@disabled = disabled
|
283
|
+
end
|
284
|
+
|
285
|
+
# Custom attribute writer method with validation
|
286
|
+
# @param [Object] name Value to be assigned
|
287
|
+
def name=(name)
|
288
|
+
if name.nil?
|
289
|
+
fail ArgumentError, 'name cannot be nil'
|
290
|
+
end
|
291
|
+
|
292
|
+
@name = name
|
293
|
+
end
|
294
|
+
|
269
295
|
# Custom attribute writer method checking allowed values (enum).
|
270
296
|
# @param [Object] node_type Object to be assigned
|
271
297
|
def node_type=(node_type)
|
272
|
-
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
|
298
|
+
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
273
299
|
unless validator.valid?(node_type)
|
274
300
|
fail ArgumentError, "invalid value for \"node_type\", must be one of #{validator.allowable_values}."
|
275
301
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.5
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,9 +25,14 @@ module OryClient
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
# Returns attribute mapping this model knows about
|
29
|
+
def self.acceptable_attribute_map
|
30
|
+
attribute_map
|
31
|
+
end
|
32
|
+
|
28
33
|
# Returns all the JSON keys this model knows about
|
29
34
|
def self.acceptable_attributes
|
30
|
-
|
35
|
+
acceptable_attribute_map.values
|
31
36
|
end
|
32
37
|
|
33
38
|
# Attribute type mapping.
|
@@ -51,9 +56,10 @@ module OryClient
|
|
51
56
|
end
|
52
57
|
|
53
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
54
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
|
-
if (!
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeMeta`. Please check the name to make sure it's valid. List of attributes: " +
|
61
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeMeta`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
57
63
|
end
|
58
64
|
h[k.to_sym] = v
|
59
65
|
}
|