ory-client 1.17.1 → 1.18.4
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 +2 -0
- data/docs/GenericErrorContent.md +2 -0
- data/docs/NormalizedProjectRevision.md +2 -0
- 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 +32 -6
- 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 +32 -6
- 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 +8 -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 +8 -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
@@ -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.4
|
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
|
|
@@ -45,9 +45,14 @@ module OryClient
|
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
48
|
+
# Returns attribute mapping this model knows about
|
49
|
+
def self.acceptable_attribute_map
|
50
|
+
attribute_map
|
51
|
+
end
|
52
|
+
|
48
53
|
# Returns all the JSON keys this model knows about
|
49
54
|
def self.acceptable_attributes
|
50
|
-
|
55
|
+
acceptable_attribute_map.values
|
51
56
|
end
|
52
57
|
|
53
58
|
# Attribute type mapping.
|
@@ -76,9 +81,10 @@ module OryClient
|
|
76
81
|
end
|
77
82
|
|
78
83
|
# check to see if the attribute exists and convert string to symbol for hash key
|
84
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
79
85
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
80
|
-
if (!
|
81
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::TrustOAuth2JwtGrantIssuer`. Please check the name to make sure it's valid. List of attributes: " +
|
86
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
87
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::TrustOAuth2JwtGrantIssuer`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
82
88
|
end
|
83
89
|
h[k.to_sym] = v
|
84
90
|
}
|
@@ -153,6 +159,46 @@ module OryClient
|
|
153
159
|
true
|
154
160
|
end
|
155
161
|
|
162
|
+
# Custom attribute writer method with validation
|
163
|
+
# @param [Object] expires_at Value to be assigned
|
164
|
+
def expires_at=(expires_at)
|
165
|
+
if expires_at.nil?
|
166
|
+
fail ArgumentError, 'expires_at cannot be nil'
|
167
|
+
end
|
168
|
+
|
169
|
+
@expires_at = expires_at
|
170
|
+
end
|
171
|
+
|
172
|
+
# Custom attribute writer method with validation
|
173
|
+
# @param [Object] issuer Value to be assigned
|
174
|
+
def issuer=(issuer)
|
175
|
+
if issuer.nil?
|
176
|
+
fail ArgumentError, 'issuer cannot be nil'
|
177
|
+
end
|
178
|
+
|
179
|
+
@issuer = issuer
|
180
|
+
end
|
181
|
+
|
182
|
+
# Custom attribute writer method with validation
|
183
|
+
# @param [Object] jwk Value to be assigned
|
184
|
+
def jwk=(jwk)
|
185
|
+
if jwk.nil?
|
186
|
+
fail ArgumentError, 'jwk cannot be nil'
|
187
|
+
end
|
188
|
+
|
189
|
+
@jwk = jwk
|
190
|
+
end
|
191
|
+
|
192
|
+
# Custom attribute writer method with validation
|
193
|
+
# @param [Object] scope Value to be assigned
|
194
|
+
def scope=(scope)
|
195
|
+
if scope.nil?
|
196
|
+
fail ArgumentError, 'scope cannot be nil'
|
197
|
+
end
|
198
|
+
|
199
|
+
@scope = scope
|
200
|
+
end
|
201
|
+
|
156
202
|
# Checks equality by comparing each attribute.
|
157
203
|
# @param [Object] Object to be compared
|
158
204
|
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.4
|
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
|
|
@@ -52,9 +52,14 @@ module OryClient
|
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
55
|
+
# Returns attribute mapping this model knows about
|
56
|
+
def self.acceptable_attribute_map
|
57
|
+
attribute_map
|
58
|
+
end
|
59
|
+
|
55
60
|
# Returns all the JSON keys this model knows about
|
56
61
|
def self.acceptable_attributes
|
57
|
-
|
62
|
+
acceptable_attribute_map.values
|
58
63
|
end
|
59
64
|
|
60
65
|
# Attribute type mapping.
|
@@ -85,9 +90,10 @@ module OryClient
|
|
85
90
|
end
|
86
91
|
|
87
92
|
# check to see if the attribute exists and convert string to symbol for hash key
|
93
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
88
94
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
89
|
-
if (!
|
90
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::TrustedOAuth2JwtGrantIssuer`. Please check the name to make sure it's valid. List of attributes: " +
|
95
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
96
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::TrustedOAuth2JwtGrantIssuer`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
91
97
|
end
|
92
98
|
h[k.to_sym] = v
|
93
99
|
}
|
@@ -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.4
|
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,9 +30,14 @@ module OryClient
|
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
33
|
+
# Returns attribute mapping this model knows about
|
34
|
+
def self.acceptable_attribute_map
|
35
|
+
attribute_map
|
36
|
+
end
|
37
|
+
|
33
38
|
# Returns all the JSON keys this model knows about
|
34
39
|
def self.acceptable_attributes
|
35
|
-
|
40
|
+
acceptable_attribute_map.values
|
36
41
|
end
|
37
42
|
|
38
43
|
# Attribute type mapping.
|
@@ -57,9 +62,10 @@ module OryClient
|
|
57
62
|
end
|
58
63
|
|
59
64
|
# check to see if the attribute exists and convert string to symbol for hash key
|
65
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
60
66
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
|
-
if (!
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::TrustedOAuth2JwtGrantJsonWebKey`. Please check the name to make sure it's valid. List of attributes: " +
|
67
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::TrustedOAuth2JwtGrantJsonWebKey`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
63
69
|
end
|
64
70
|
h[k.to_sym] = v
|
65
71
|
}
|
@@ -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.4
|
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
|
|
@@ -36,9 +36,14 @@ module OryClient
|
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
39
|
+
# Returns attribute mapping this model knows about
|
40
|
+
def self.acceptable_attribute_map
|
41
|
+
attribute_map
|
42
|
+
end
|
43
|
+
|
39
44
|
# Returns all the JSON keys this model knows about
|
40
45
|
def self.acceptable_attributes
|
41
|
-
|
46
|
+
acceptable_attribute_map.values
|
42
47
|
end
|
43
48
|
|
44
49
|
# Attribute type mapping.
|
@@ -65,9 +70,10 @@ module OryClient
|
|
65
70
|
end
|
66
71
|
|
67
72
|
# check to see if the attribute exists and convert string to symbol for hash key
|
73
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
68
74
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
|
-
if (!
|
70
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiContainer`. Please check the name to make sure it's valid. List of attributes: " +
|
75
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
76
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiContainer`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
71
77
|
end
|
72
78
|
h[k.to_sym] = v
|
73
79
|
}
|
@@ -129,6 +135,36 @@ module OryClient
|
|
129
135
|
true
|
130
136
|
end
|
131
137
|
|
138
|
+
# Custom attribute writer method with validation
|
139
|
+
# @param [Object] action Value to be assigned
|
140
|
+
def action=(action)
|
141
|
+
if action.nil?
|
142
|
+
fail ArgumentError, 'action cannot be nil'
|
143
|
+
end
|
144
|
+
|
145
|
+
@action = action
|
146
|
+
end
|
147
|
+
|
148
|
+
# Custom attribute writer method with validation
|
149
|
+
# @param [Object] method Value to be assigned
|
150
|
+
def method=(method)
|
151
|
+
if method.nil?
|
152
|
+
fail ArgumentError, 'method cannot be nil'
|
153
|
+
end
|
154
|
+
|
155
|
+
@method = method
|
156
|
+
end
|
157
|
+
|
158
|
+
# Custom attribute writer method with validation
|
159
|
+
# @param [Object] nodes Value to be assigned
|
160
|
+
def nodes=(nodes)
|
161
|
+
if nodes.nil?
|
162
|
+
fail ArgumentError, 'nodes cannot be nil'
|
163
|
+
end
|
164
|
+
|
165
|
+
@nodes = nodes
|
166
|
+
end
|
167
|
+
|
132
168
|
# Checks equality by comparing each attribute.
|
133
169
|
# @param [Object] Object to be compared
|
134
170
|
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.4
|
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,7 +25,7 @@ module OryClient
|
|
25
25
|
|
26
26
|
attr_accessor :meta
|
27
27
|
|
28
|
-
# The node's type text Text input Input img Image a Anchor script Script
|
28
|
+
# The node's type text Text input Input img Image a Anchor script Script div Division
|
29
29
|
attr_accessor :type
|
30
30
|
|
31
31
|
class EnumAttributeValidator
|
@@ -61,9 +61,14 @@ module OryClient
|
|
61
61
|
}
|
62
62
|
end
|
63
63
|
|
64
|
+
# Returns attribute mapping this model knows about
|
65
|
+
def self.acceptable_attribute_map
|
66
|
+
attribute_map
|
67
|
+
end
|
68
|
+
|
64
69
|
# Returns all the JSON keys this model knows about
|
65
70
|
def self.acceptable_attributes
|
66
|
-
|
71
|
+
acceptable_attribute_map.values
|
67
72
|
end
|
68
73
|
|
69
74
|
# Attribute type mapping.
|
@@ -91,9 +96,10 @@ module OryClient
|
|
91
96
|
end
|
92
97
|
|
93
98
|
# check to see if the attribute exists and convert string to symbol for hash key
|
99
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
94
100
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
95
|
-
if (!
|
96
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNode`. Please check the name to make sure it's valid. List of attributes: " +
|
101
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
102
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNode`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
97
103
|
end
|
98
104
|
h[k.to_sym] = v
|
99
105
|
}
|
@@ -165,30 +171,60 @@ module OryClient
|
|
165
171
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
166
172
|
return false if @attributes.nil?
|
167
173
|
return false if @group.nil?
|
168
|
-
group_validator = EnumAttributeValidator.new('String', ["default", "password", "oidc", "profile", "link", "code", "totp", "lookup_secret", "webauthn", "passkey", "identifier_first", "captcha", "saml"])
|
174
|
+
group_validator = EnumAttributeValidator.new('String', ["default", "password", "oidc", "profile", "link", "code", "totp", "lookup_secret", "webauthn", "passkey", "identifier_first", "captcha", "saml", "oauth2_consent"])
|
169
175
|
return false unless group_validator.valid?(@group)
|
170
176
|
return false if @messages.nil?
|
171
177
|
return false if @meta.nil?
|
172
178
|
return false if @type.nil?
|
173
|
-
type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
|
179
|
+
type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
174
180
|
return false unless type_validator.valid?(@type)
|
175
181
|
true
|
176
182
|
end
|
177
183
|
|
184
|
+
# Custom attribute writer method with validation
|
185
|
+
# @param [Object] attributes Value to be assigned
|
186
|
+
def attributes=(attributes)
|
187
|
+
if attributes.nil?
|
188
|
+
fail ArgumentError, 'attributes cannot be nil'
|
189
|
+
end
|
190
|
+
|
191
|
+
@attributes = attributes
|
192
|
+
end
|
193
|
+
|
178
194
|
# Custom attribute writer method checking allowed values (enum).
|
179
195
|
# @param [Object] group Object to be assigned
|
180
196
|
def group=(group)
|
181
|
-
validator = EnumAttributeValidator.new('String', ["default", "password", "oidc", "profile", "link", "code", "totp", "lookup_secret", "webauthn", "passkey", "identifier_first", "captcha", "saml"])
|
197
|
+
validator = EnumAttributeValidator.new('String', ["default", "password", "oidc", "profile", "link", "code", "totp", "lookup_secret", "webauthn", "passkey", "identifier_first", "captcha", "saml", "oauth2_consent"])
|
182
198
|
unless validator.valid?(group)
|
183
199
|
fail ArgumentError, "invalid value for \"group\", must be one of #{validator.allowable_values}."
|
184
200
|
end
|
185
201
|
@group = group
|
186
202
|
end
|
187
203
|
|
204
|
+
# Custom attribute writer method with validation
|
205
|
+
# @param [Object] messages Value to be assigned
|
206
|
+
def messages=(messages)
|
207
|
+
if messages.nil?
|
208
|
+
fail ArgumentError, 'messages cannot be nil'
|
209
|
+
end
|
210
|
+
|
211
|
+
@messages = messages
|
212
|
+
end
|
213
|
+
|
214
|
+
# Custom attribute writer method with validation
|
215
|
+
# @param [Object] meta Value to be assigned
|
216
|
+
def meta=(meta)
|
217
|
+
if meta.nil?
|
218
|
+
fail ArgumentError, 'meta cannot be nil'
|
219
|
+
end
|
220
|
+
|
221
|
+
@meta = meta
|
222
|
+
end
|
223
|
+
|
188
224
|
# Custom attribute writer method checking allowed values (enum).
|
189
225
|
# @param [Object] type Object to be assigned
|
190
226
|
def type=(type)
|
191
|
-
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
|
227
|
+
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
192
228
|
unless validator.valid?(type)
|
193
229
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
194
230
|
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.4
|
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 \"a\". 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 \"a\". text Text input Input img Image a Anchor script Script div Division
|
25
25
|
attr_accessor :node_type
|
26
26
|
|
27
27
|
attr_accessor :title
|
@@ -58,9 +58,14 @@ module OryClient
|
|
58
58
|
}
|
59
59
|
end
|
60
60
|
|
61
|
+
# Returns attribute mapping this model knows about
|
62
|
+
def self.acceptable_attribute_map
|
63
|
+
attribute_map
|
64
|
+
end
|
65
|
+
|
61
66
|
# Returns all the JSON keys this model knows about
|
62
67
|
def self.acceptable_attributes
|
63
|
-
|
68
|
+
acceptable_attribute_map.values
|
64
69
|
end
|
65
70
|
|
66
71
|
# Attribute type mapping.
|
@@ -87,9 +92,10 @@ module OryClient
|
|
87
92
|
end
|
88
93
|
|
89
94
|
# check to see if the attribute exists and convert string to symbol for hash key
|
95
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
90
96
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
91
|
-
if (!
|
92
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeAnchorAttributes`. Please check the name to make sure it's valid. List of attributes: " +
|
97
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
98
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeAnchorAttributes`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
93
99
|
end
|
94
100
|
h[k.to_sym] = v
|
95
101
|
}
|
@@ -150,22 +156,52 @@ module OryClient
|
|
150
156
|
return false if @href.nil?
|
151
157
|
return false if @id.nil?
|
152
158
|
return false if @node_type.nil?
|
153
|
-
node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
|
159
|
+
node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
154
160
|
return false unless node_type_validator.valid?(@node_type)
|
155
161
|
return false if @title.nil?
|
156
162
|
true
|
157
163
|
end
|
158
164
|
|
165
|
+
# Custom attribute writer method with validation
|
166
|
+
# @param [Object] href Value to be assigned
|
167
|
+
def href=(href)
|
168
|
+
if href.nil?
|
169
|
+
fail ArgumentError, 'href cannot be nil'
|
170
|
+
end
|
171
|
+
|
172
|
+
@href = href
|
173
|
+
end
|
174
|
+
|
175
|
+
# Custom attribute writer method with validation
|
176
|
+
# @param [Object] id Value to be assigned
|
177
|
+
def id=(id)
|
178
|
+
if id.nil?
|
179
|
+
fail ArgumentError, 'id cannot be nil'
|
180
|
+
end
|
181
|
+
|
182
|
+
@id = id
|
183
|
+
end
|
184
|
+
|
159
185
|
# Custom attribute writer method checking allowed values (enum).
|
160
186
|
# @param [Object] node_type Object to be assigned
|
161
187
|
def node_type=(node_type)
|
162
|
-
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
|
188
|
+
validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
|
163
189
|
unless validator.valid?(node_type)
|
164
190
|
fail ArgumentError, "invalid value for \"node_type\", must be one of #{validator.allowable_values}."
|
165
191
|
end
|
166
192
|
@node_type = node_type
|
167
193
|
end
|
168
194
|
|
195
|
+
# Custom attribute writer method with validation
|
196
|
+
# @param [Object] title Value to be assigned
|
197
|
+
def title=(title)
|
198
|
+
if title.nil?
|
199
|
+
fail ArgumentError, 'title cannot be nil'
|
200
|
+
end
|
201
|
+
|
202
|
+
@title = title
|
203
|
+
end
|
204
|
+
|
169
205
|
# Checks equality by comparing each attribute.
|
170
206
|
# @param [Object] Object to be compared
|
171
207
|
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.4
|
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
|
|