ory-client 1.22.22 → 1.22.24
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 +2 -2
- data/README.md +10 -8
- data/docs/CloudAccount.md +3 -1
- data/docs/CreateOnboardingLinkResponse.md +18 -0
- data/docs/CreateWorkspaceOrganizationBody.md +18 -0
- data/docs/GenericOIDCProvider.md +22 -0
- data/docs/IdentityApi.md +1 -1
- data/docs/InternalIsOwnerForProjectBySlugBody.md +2 -0
- data/docs/NormalizedProjectRevisionSAMLProvider.md +3 -1
- data/docs/NormalizedProjectRevisionThirdPartyProvider.md +1 -1
- data/docs/ProjectMember.md +2 -0
- data/docs/QuotaUsage.md +1 -1
- data/docs/UpdateWorkspaceBody.md +2 -0
- data/docs/Workspace.md +4 -0
- data/docs/WorkspaceOrganization.md +28 -0
- data/lib/ory-client/api/courier_api.rb +2 -2
- data/lib/ory-client/api/events_api.rb +2 -2
- data/lib/ory-client/api/frontend_api.rb +2 -2
- data/lib/ory-client/api/identity_api.rb +4 -4
- data/lib/ory-client/api/jwk_api.rb +2 -2
- data/lib/ory-client/api/metadata_api.rb +2 -2
- data/lib/ory-client/api/o_auth2_api.rb +2 -2
- data/lib/ory-client/api/oidc_api.rb +2 -2
- data/lib/ory-client/api/permission_api.rb +2 -2
- data/lib/ory-client/api/project_api.rb +2 -2
- data/lib/ory-client/api/relationship_api.rb +2 -2
- data/lib/ory-client/api/wellknown_api.rb +2 -2
- data/lib/ory-client/api/workspace_api.rb +2 -2
- data/lib/ory-client/api_client.rb +2 -2
- data/lib/ory-client/api_error.rb +2 -2
- data/lib/ory-client/api_model_base.rb +88 -0
- data/lib/ory-client/configuration.rb +2 -2
- data/lib/ory-client/models/accept_device_user_code_request.rb +3 -76
- data/lib/ory-client/models/accept_o_auth2_consent_request.rb +3 -76
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +3 -76
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +3 -76
- data/lib/ory-client/models/account_experience_colors.rb +3 -76
- data/lib/ory-client/models/account_experience_configuration.rb +3 -76
- data/lib/ory-client/models/add_project_to_workspace_body.rb +3 -76
- data/lib/ory-client/models/attribute.rb +3 -76
- data/lib/ory-client/models/attribute_filter.rb +3 -76
- data/lib/ory-client/models/attributes_count_datapoint.rb +3 -76
- data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
- data/lib/ory-client/models/basic_organization.rb +3 -76
- data/lib/ory-client/models/batch_check_permission_body.rb +3 -76
- data/lib/ory-client/models/batch_check_permission_result.rb +3 -76
- data/lib/ory-client/models/batch_patch_identities_response.rb +3 -76
- data/lib/ory-client/models/billing_period_bucket.rb +3 -76
- data/lib/ory-client/models/check_opl_syntax_result.rb +3 -76
- data/lib/ory-client/models/check_permission_result.rb +3 -76
- data/lib/ory-client/models/check_permission_result_with_error.rb +3 -76
- data/lib/ory-client/models/cloud_account.rb +17 -80
- data/lib/ory-client/models/consistency_request_parameters.rb +3 -76
- data/lib/ory-client/models/continue_with.rb +2 -2
- data/lib/ory-client/models/continue_with_recovery_ui.rb +3 -76
- data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +3 -76
- data/lib/ory-client/models/continue_with_redirect_browser_to.rb +3 -76
- data/lib/ory-client/models/continue_with_set_ory_session_token.rb +3 -76
- data/lib/ory-client/models/continue_with_settings_ui.rb +3 -76
- data/lib/ory-client/models/continue_with_settings_ui_flow.rb +3 -76
- data/lib/ory-client/models/continue_with_verification_ui.rb +3 -76
- data/lib/ory-client/models/continue_with_verification_ui_flow.rb +3 -76
- 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 +3 -76
- data/lib/ory-client/models/create_event_stream_body.rb +3 -76
- data/lib/ory-client/models/create_fedcm_flow_response.rb +3 -76
- data/lib/ory-client/models/create_identity_body.rb +3 -76
- data/lib/ory-client/models/create_invite_response.rb +3 -76
- data/lib/ory-client/models/create_json_web_key_set.rb +3 -76
- data/lib/ory-client/models/{set_active_project_in_console_body.rb → create_onboarding_link_response.rb} +22 -96
- data/lib/ory-client/models/create_organization_onboarding_portal_link_body.rb +3 -76
- data/lib/ory-client/models/create_project_api_key_request.rb +3 -76
- data/lib/ory-client/models/create_project_body.rb +3 -76
- data/lib/ory-client/models/create_project_branding.rb +3 -76
- data/lib/ory-client/models/create_project_member_invite_body.rb +3 -76
- data/lib/ory-client/models/create_project_normalized_payload.rb +3 -76
- data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +3 -76
- data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +3 -76
- data/lib/ory-client/models/create_relationship_body.rb +3 -76
- data/lib/ory-client/models/create_subscription_body.rb +3 -76
- data/lib/ory-client/models/create_subscription_common.rb +3 -76
- data/lib/ory-client/models/create_verifiable_credential_request_body.rb +3 -76
- data/lib/ory-client/models/create_workspace_api_key_body.rb +3 -76
- data/lib/ory-client/models/create_workspace_body.rb +3 -76
- data/lib/ory-client/models/create_workspace_member_invite_body.rb +3 -76
- data/lib/ory-client/models/create_workspace_organization_body.rb +147 -0
- data/lib/ory-client/models/create_workspace_subscription_body.rb +3 -76
- data/lib/ory-client/models/credential_supported_draft00.rb +3 -76
- data/lib/ory-client/models/custom_domain.rb +3 -76
- data/lib/ory-client/models/delete_my_sessions_count.rb +3 -76
- data/lib/ory-client/models/device_authorization.rb +3 -76
- data/lib/ory-client/models/device_user_auth_request.rb +3 -76
- data/lib/ory-client/models/email_template_data.rb +3 -76
- data/lib/ory-client/models/email_template_data_body.rb +3 -76
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +3 -76
- data/lib/ory-client/models/error_browser_location_change_required.rb +3 -76
- data/lib/ory-client/models/error_flow_replaced.rb +3 -76
- data/lib/ory-client/models/error_generic.rb +3 -76
- data/lib/ory-client/models/error_o_auth2.rb +3 -76
- data/lib/ory-client/models/event_stream.rb +3 -76
- data/lib/ory-client/models/expanded_permission_tree.rb +3 -76
- data/lib/ory-client/models/flow_error.rb +3 -76
- data/lib/ory-client/models/generic_error.rb +3 -76
- data/lib/ory-client/models/generic_error_content.rb +3 -76
- data/lib/ory-client/models/{active_project_in_console.rb → generic_oidc_provider.rb} +84 -87
- data/lib/ory-client/models/generic_usage.rb +3 -76
- data/lib/ory-client/models/get_attributes_count.rb +3 -76
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +3 -76
- data/lib/ory-client/models/get_metrics_count.rb +3 -76
- data/lib/ory-client/models/get_metrics_event_attributes.rb +3 -76
- data/lib/ory-client/models/get_metrics_event_types.rb +3 -76
- data/lib/ory-client/models/get_organization_response.rb +3 -76
- data/lib/ory-client/models/get_project_events.rb +3 -76
- data/lib/ory-client/models/get_project_events_body.rb +3 -76
- data/lib/ory-client/models/get_project_metrics.rb +3 -76
- data/lib/ory-client/models/get_session_activity.rb +3 -76
- data/lib/ory-client/models/get_version200_response.rb +3 -76
- data/lib/ory-client/models/health_not_ready_status.rb +3 -76
- data/lib/ory-client/models/health_status.rb +3 -76
- data/lib/ory-client/models/identity.rb +3 -76
- data/lib/ory-client/models/identity_credentials.rb +3 -76
- data/lib/ory-client/models/identity_credentials_code.rb +3 -76
- data/lib/ory-client/models/identity_credentials_code_address.rb +3 -76
- data/lib/ory-client/models/identity_credentials_oidc.rb +3 -76
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +3 -76
- data/lib/ory-client/models/identity_credentials_password.rb +3 -76
- data/lib/ory-client/models/identity_patch.rb +3 -76
- data/lib/ory-client/models/identity_patch_response.rb +3 -76
- data/lib/ory-client/models/identity_schema_container.rb +3 -76
- data/lib/ory-client/models/identity_schema_preset.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials_oidc.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials_password.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials_password_config.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials_saml.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials_saml_config.rb +3 -76
- data/lib/ory-client/models/identity_with_credentials_saml_config_provider.rb +3 -76
- data/lib/ory-client/models/internal_get_project_branding_body.rb +3 -76
- data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +3 -76
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug.rb +3 -76
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +14 -77
- data/lib/ory-client/models/introspected_o_auth2_token.rb +3 -76
- data/lib/ory-client/models/invite_token_body.rb +3 -76
- data/lib/ory-client/models/invoice.rb +3 -76
- data/lib/ory-client/models/invoice_data_v1.rb +3 -76
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +3 -76
- data/lib/ory-client/models/json_patch.rb +3 -76
- data/lib/ory-client/models/json_web_key.rb +3 -76
- data/lib/ory-client/models/json_web_key_set.rb +3 -76
- data/lib/ory-client/models/keto_namespace.rb +3 -76
- data/lib/ory-client/models/keyset_pagination_request_parameters.rb +3 -76
- data/lib/ory-client/models/keyset_pagination_response_headers.rb +3 -76
- data/lib/ory-client/models/line_item_v1.rb +3 -76
- data/lib/ory-client/models/list_event_streams.rb +3 -76
- data/lib/ory-client/models/list_invoices_response.rb +3 -76
- data/lib/ory-client/models/list_organizations_response.rb +3 -76
- data/lib/ory-client/models/list_workspace_projects.rb +3 -76
- data/lib/ory-client/models/list_workspaces.rb +3 -76
- data/lib/ory-client/models/login_flow.rb +3 -76
- data/lib/ory-client/models/login_flow_state.rb +2 -2
- data/lib/ory-client/models/logout_flow.rb +3 -76
- data/lib/ory-client/models/managed_identity_schema.rb +3 -76
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +3 -76
- data/lib/ory-client/models/member_invite.rb +3 -76
- data/lib/ory-client/models/message.rb +3 -76
- data/lib/ory-client/models/message_dispatch.rb +3 -76
- data/lib/ory-client/models/metrics_datapoint.rb +3 -76
- data/lib/ory-client/models/money.rb +3 -76
- data/lib/ory-client/models/namespace.rb +3 -76
- data/lib/ory-client/models/needs_privileged_session_error.rb +3 -76
- data/lib/ory-client/models/normalized_project.rb +3 -76
- data/lib/ory-client/models/normalized_project_revision.rb +3 -76
- data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +3 -76
- data/lib/ory-client/models/normalized_project_revision_hook.rb +3 -76
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +3 -76
- data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +18 -80
- data/lib/ory-client/models/normalized_project_revision_scim_client.rb +3 -76
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +4 -77
- data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +3 -76
- data/lib/ory-client/models/o_auth2_client.rb +3 -76
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +3 -76
- data/lib/ory-client/models/o_auth2_consent_request.rb +3 -76
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +3 -76
- data/lib/ory-client/models/o_auth2_consent_session.rb +3 -76
- data/lib/ory-client/models/o_auth2_login_request.rb +3 -76
- data/lib/ory-client/models/o_auth2_logout_request.rb +3 -76
- data/lib/ory-client/models/o_auth2_redirect_to.rb +3 -76
- data/lib/ory-client/models/o_auth2_token_exchange.rb +3 -76
- data/lib/ory-client/models/oidc_configuration.rb +3 -76
- data/lib/ory-client/models/oidc_user_info.rb +3 -76
- data/lib/ory-client/models/onboarding_portal_link.rb +3 -76
- data/lib/ory-client/models/onboarding_portal_organization.rb +3 -76
- data/lib/ory-client/models/organization.rb +3 -76
- data/lib/ory-client/models/organization_body.rb +3 -76
- data/lib/ory-client/models/organization_onboarding_portal_links_response.rb +3 -76
- data/lib/ory-client/models/parse_error.rb +3 -76
- data/lib/ory-client/models/patch_identities_body.rb +3 -76
- data/lib/ory-client/models/perform_native_logout_body.rb +3 -76
- data/lib/ory-client/models/permissions_on_workspace.rb +3 -76
- data/lib/ory-client/models/plan.rb +3 -76
- data/lib/ory-client/models/plan_details.rb +3 -76
- data/lib/ory-client/models/post_check_permission_body.rb +3 -76
- data/lib/ory-client/models/post_check_permission_or_error_body.rb +3 -76
- data/lib/ory-client/models/project.rb +3 -76
- data/lib/ory-client/models/project_api_key.rb +3 -76
- data/lib/ory-client/models/project_branding.rb +3 -76
- data/lib/ory-client/models/project_branding_colors.rb +3 -76
- data/lib/ory-client/models/project_branding_theme.rb +3 -76
- data/lib/ory-client/models/project_cors.rb +3 -76
- data/lib/ory-client/models/project_events_datapoint.rb +3 -76
- data/lib/ory-client/models/project_host.rb +3 -76
- data/lib/ory-client/models/project_member.rb +14 -77
- data/lib/ory-client/models/project_metadata.rb +3 -76
- data/lib/ory-client/models/project_service_account_experience.rb +3 -76
- data/lib/ory-client/models/project_service_identity.rb +3 -76
- data/lib/ory-client/models/project_service_o_auth2.rb +3 -76
- data/lib/ory-client/models/project_service_permission.rb +3 -76
- data/lib/ory-client/models/project_services.rb +3 -76
- data/lib/ory-client/models/provider.rb +3 -76
- data/lib/ory-client/models/quota_usage.rb +6 -79
- data/lib/ory-client/models/recovery_code_for_identity.rb +3 -76
- data/lib/ory-client/models/recovery_flow.rb +3 -76
- data/lib/ory-client/models/recovery_flow_state.rb +2 -2
- data/lib/ory-client/models/recovery_identity_address.rb +3 -76
- data/lib/ory-client/models/recovery_link_for_identity.rb +3 -76
- data/lib/ory-client/models/registration_flow.rb +3 -76
- data/lib/ory-client/models/registration_flow_state.rb +2 -2
- data/lib/ory-client/models/reject_o_auth2_request.rb +3 -76
- data/lib/ory-client/models/relation_query.rb +3 -76
- data/lib/ory-client/models/relationship.rb +3 -76
- data/lib/ory-client/models/relationship_namespaces.rb +3 -76
- data/lib/ory-client/models/relationship_patch.rb +3 -76
- data/lib/ory-client/models/relationships.rb +3 -76
- data/lib/ory-client/models/revision_account_experience_custom_translation.rb +3 -76
- data/lib/ory-client/models/rfc6749_error_json.rb +3 -76
- data/lib/ory-client/models/schema_patch.rb +3 -76
- data/lib/ory-client/models/self_service_flow_expired_error.rb +3 -76
- data/lib/ory-client/models/session.rb +3 -76
- data/lib/ory-client/models/session_activity_datapoint.rb +3 -76
- data/lib/ory-client/models/session_authentication_method.rb +3 -76
- data/lib/ory-client/models/session_device.rb +3 -76
- data/lib/ory-client/models/set_custom_domain_body.rb +3 -76
- data/lib/ory-client/models/set_event_stream_body.rb +3 -76
- data/lib/ory-client/models/set_organization_from_onboarding_portal_link_body.rb +3 -76
- data/lib/ory-client/models/set_project.rb +3 -76
- data/lib/ory-client/models/set_project_branding_theme_body.rb +3 -76
- data/lib/ory-client/models/settings_flow.rb +3 -76
- data/lib/ory-client/models/settings_flow_state.rb +2 -2
- data/lib/ory-client/models/source_position.rb +3 -76
- data/lib/ory-client/models/subject_set.rb +3 -76
- data/lib/ory-client/models/subscription.rb +3 -76
- data/lib/ory-client/models/successful_code_exchange_response.rb +3 -76
- data/lib/ory-client/models/successful_native_login.rb +3 -76
- data/lib/ory-client/models/successful_native_registration.rb +3 -76
- data/lib/ory-client/models/successful_project_update.rb +3 -76
- data/lib/ory-client/models/tax_line_item.rb +3 -76
- data/lib/ory-client/models/time_interval.rb +3 -76
- data/lib/ory-client/models/token_pagination.rb +3 -76
- data/lib/ory-client/models/token_pagination_headers.rb +3 -76
- data/lib/ory-client/models/token_pagination_request_parameters.rb +3 -76
- data/lib/ory-client/models/token_pagination_response_headers.rb +3 -76
- data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +3 -76
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +3 -76
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +3 -76
- data/lib/ory-client/models/ui_container.rb +3 -76
- data/lib/ory-client/models/ui_node.rb +3 -76
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +3 -76
- data/lib/ory-client/models/ui_node_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_division_attributes.rb +3 -76
- data/lib/ory-client/models/ui_node_image_attributes.rb +3 -76
- data/lib/ory-client/models/ui_node_input_attributes.rb +3 -76
- data/lib/ory-client/models/ui_node_meta.rb +3 -76
- data/lib/ory-client/models/ui_node_script_attributes.rb +3 -76
- data/lib/ory-client/models/ui_node_text_attributes.rb +3 -76
- data/lib/ory-client/models/ui_text.rb +3 -76
- data/lib/ory-client/models/update_fedcm_flow_body.rb +3 -76
- data/lib/ory-client/models/update_identity_body.rb +3 -76
- data/lib/ory-client/models/update_login_flow_body.rb +2 -2
- data/lib/ory-client/models/update_login_flow_with_code_method.rb +3 -76
- data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +3 -76
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +3 -76
- data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +3 -76
- data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +3 -76
- data/lib/ory-client/models/update_login_flow_with_password_method.rb +3 -76
- data/lib/ory-client/models/update_login_flow_with_saml_method.rb +3 -76
- data/lib/ory-client/models/update_login_flow_with_totp_method.rb +3 -76
- data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +3 -76
- data/lib/ory-client/models/update_organization_onboarding_portal_link_body.rb +3 -76
- data/lib/ory-client/models/update_recovery_flow_body.rb +2 -2
- data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +3 -76
- data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +3 -76
- data/lib/ory-client/models/update_registration_flow_body.rb +2 -2
- data/lib/ory-client/models/update_registration_flow_with_code_method.rb +3 -76
- data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +3 -76
- data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +3 -76
- data/lib/ory-client/models/update_registration_flow_with_password_method.rb +3 -76
- data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +3 -76
- data/lib/ory-client/models/update_registration_flow_with_saml_method.rb +3 -76
- data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +3 -76
- data/lib/ory-client/models/update_settings_flow_body.rb +2 -2
- data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +3 -76
- data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +3 -76
- data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +3 -76
- data/lib/ory-client/models/update_settings_flow_with_password_method.rb +3 -76
- data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +3 -76
- data/lib/ory-client/models/update_settings_flow_with_saml_method.rb +3 -76
- data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +3 -76
- data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +3 -76
- data/lib/ory-client/models/update_subscription_body.rb +3 -76
- data/lib/ory-client/models/update_verification_flow_body.rb +2 -2
- data/lib/ory-client/models/update_verification_flow_with_code_method.rb +3 -76
- data/lib/ory-client/models/update_verification_flow_with_link_method.rb +3 -76
- data/lib/ory-client/models/update_workspace_body.rb +48 -77
- data/lib/ory-client/models/usage.rb +3 -76
- data/lib/ory-client/models/verifiable_credential_priming_response.rb +3 -76
- data/lib/ory-client/models/verifiable_credential_proof.rb +3 -76
- data/lib/ory-client/models/verifiable_credential_response.rb +3 -76
- data/lib/ory-client/models/verifiable_identity_address.rb +3 -76
- data/lib/ory-client/models/verification_flow.rb +3 -76
- data/lib/ory-client/models/verification_flow_state.rb +2 -2
- data/lib/ory-client/models/verify_user_code_request.rb +3 -76
- data/lib/ory-client/models/version.rb +3 -76
- data/lib/ory-client/models/warning.rb +3 -76
- data/lib/ory-client/models/workspace.rb +58 -77
- data/lib/ory-client/models/workspace_api_key.rb +3 -76
- data/lib/ory-client/models/workspace_organization.rb +283 -0
- data/lib/ory-client/version.rb +3 -3
- data/lib/ory-client.rb +7 -4
- 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 +3 -3
- 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_device_user_code_request_spec.rb +3 -3
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +3 -3
- data/spec/models/accept_o_auth2_consent_request_spec.rb +3 -3
- data/spec/models/accept_o_auth2_login_request_spec.rb +3 -3
- data/spec/models/account_experience_colors_spec.rb +3 -3
- data/spec/models/account_experience_configuration_spec.rb +3 -3
- data/spec/models/add_project_to_workspace_body_spec.rb +3 -3
- data/spec/models/attribute_filter_spec.rb +3 -3
- data/spec/models/attribute_spec.rb +3 -3
- data/spec/models/attributes_count_datapoint_spec.rb +3 -3
- data/spec/models/authenticator_assurance_level_spec.rb +3 -3
- data/spec/models/basic_organization_spec.rb +3 -3
- data/spec/models/batch_check_permission_body_spec.rb +3 -3
- data/spec/models/batch_check_permission_result_spec.rb +3 -3
- data/spec/models/batch_patch_identities_response_spec.rb +3 -3
- data/spec/models/billing_period_bucket_spec.rb +3 -3
- data/spec/models/check_opl_syntax_result_spec.rb +3 -3
- data/spec/models/check_permission_result_spec.rb +3 -3
- data/spec/models/check_permission_result_with_error_spec.rb +3 -3
- data/spec/models/cloud_account_spec.rb +9 -3
- data/spec/models/consistency_request_parameters_spec.rb +3 -3
- data/spec/models/continue_with_recovery_ui_flow_spec.rb +3 -3
- data/spec/models/continue_with_recovery_ui_spec.rb +3 -3
- data/spec/models/continue_with_redirect_browser_to_spec.rb +3 -3
- data/spec/models/continue_with_set_ory_session_token_spec.rb +3 -3
- data/spec/models/continue_with_settings_ui_flow_spec.rb +3 -3
- data/spec/models/continue_with_settings_ui_spec.rb +3 -3
- data/spec/models/continue_with_spec.rb +2 -2
- data/spec/models/continue_with_verification_ui_flow_spec.rb +3 -3
- data/spec/models/continue_with_verification_ui_spec.rb +3 -3
- data/spec/models/courier_message_status_spec.rb +3 -3
- data/spec/models/courier_message_type_spec.rb +3 -3
- data/spec/models/create_custom_domain_body_spec.rb +3 -3
- data/spec/models/create_event_stream_body_spec.rb +3 -3
- data/spec/models/create_fedcm_flow_response_spec.rb +3 -3
- data/spec/models/create_identity_body_spec.rb +3 -3
- data/spec/models/create_invite_response_spec.rb +3 -3
- data/spec/models/create_json_web_key_set_spec.rb +3 -3
- data/spec/models/{set_active_project_in_console_body_spec.rb → create_onboarding_link_response_spec.rb} +9 -9
- data/spec/models/create_organization_onboarding_portal_link_body_spec.rb +3 -3
- data/spec/models/create_project_api_key_request_spec.rb +3 -3
- data/spec/models/create_project_body_spec.rb +3 -3
- data/spec/models/create_project_branding_spec.rb +3 -3
- data/spec/models/create_project_member_invite_body_spec.rb +3 -3
- data/spec/models/create_project_normalized_payload_spec.rb +3 -3
- data/spec/models/create_recovery_code_for_identity_body_spec.rb +3 -3
- data/spec/models/create_recovery_link_for_identity_body_spec.rb +3 -3
- data/spec/models/create_relationship_body_spec.rb +3 -3
- data/spec/models/create_subscription_body_spec.rb +3 -3
- data/spec/models/create_subscription_common_spec.rb +3 -3
- data/spec/models/create_verifiable_credential_request_body_spec.rb +3 -3
- data/spec/models/create_workspace_api_key_body_spec.rb +3 -3
- data/spec/models/create_workspace_body_spec.rb +3 -3
- data/spec/models/create_workspace_member_invite_body_spec.rb +3 -3
- data/spec/models/{active_project_in_console_spec.rb → create_workspace_organization_body_spec.rb} +9 -9
- data/spec/models/create_workspace_subscription_body_spec.rb +3 -3
- data/spec/models/credential_supported_draft00_spec.rb +3 -3
- data/spec/models/custom_domain_spec.rb +3 -3
- data/spec/models/delete_my_sessions_count_spec.rb +3 -3
- data/spec/models/device_authorization_spec.rb +3 -3
- data/spec/models/device_user_auth_request_spec.rb +3 -3
- data/spec/models/email_template_data_body_spec.rb +3 -3
- data/spec/models/email_template_data_spec.rb +3 -3
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +3 -3
- data/spec/models/error_browser_location_change_required_spec.rb +3 -3
- data/spec/models/error_flow_replaced_spec.rb +3 -3
- data/spec/models/error_generic_spec.rb +3 -3
- data/spec/models/error_o_auth2_spec.rb +3 -3
- data/spec/models/event_stream_spec.rb +3 -3
- data/spec/models/expanded_permission_tree_spec.rb +3 -3
- data/spec/models/flow_error_spec.rb +3 -3
- data/spec/models/generic_error_content_spec.rb +3 -3
- data/spec/models/generic_error_spec.rb +3 -3
- data/spec/models/generic_oidc_provider_spec.rb +48 -0
- data/spec/models/generic_usage_spec.rb +3 -3
- data/spec/models/get_attributes_count_spec.rb +3 -3
- data/spec/models/get_managed_identity_schema_location_spec.rb +3 -3
- data/spec/models/get_metrics_count_spec.rb +3 -3
- data/spec/models/get_metrics_event_attributes_spec.rb +3 -3
- data/spec/models/get_metrics_event_types_spec.rb +3 -3
- data/spec/models/get_organization_response_spec.rb +3 -3
- data/spec/models/get_project_events_body_spec.rb +3 -3
- data/spec/models/get_project_events_spec.rb +3 -3
- data/spec/models/get_project_metrics_spec.rb +3 -3
- data/spec/models/get_session_activity_spec.rb +3 -3
- data/spec/models/get_version200_response_spec.rb +3 -3
- data/spec/models/health_not_ready_status_spec.rb +3 -3
- data/spec/models/health_status_spec.rb +3 -3
- data/spec/models/identity_credentials_code_address_spec.rb +3 -3
- data/spec/models/identity_credentials_code_spec.rb +3 -3
- data/spec/models/identity_credentials_oidc_provider_spec.rb +3 -3
- data/spec/models/identity_credentials_oidc_spec.rb +3 -3
- data/spec/models/identity_credentials_password_spec.rb +3 -3
- data/spec/models/identity_credentials_spec.rb +3 -3
- data/spec/models/identity_patch_response_spec.rb +3 -3
- data/spec/models/identity_patch_spec.rb +3 -3
- data/spec/models/identity_schema_container_spec.rb +3 -3
- data/spec/models/identity_schema_preset_spec.rb +3 -3
- data/spec/models/identity_spec.rb +3 -3
- data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +3 -3
- data/spec/models/identity_with_credentials_oidc_config_spec.rb +3 -3
- data/spec/models/identity_with_credentials_oidc_spec.rb +3 -3
- data/spec/models/identity_with_credentials_password_config_spec.rb +3 -3
- data/spec/models/identity_with_credentials_password_spec.rb +3 -3
- data/spec/models/identity_with_credentials_saml_config_provider_spec.rb +3 -3
- data/spec/models/identity_with_credentials_saml_config_spec.rb +3 -3
- data/spec/models/identity_with_credentials_saml_spec.rb +3 -3
- data/spec/models/identity_with_credentials_spec.rb +3 -3
- data/spec/models/internal_get_project_branding_body_spec.rb +3 -3
- data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +3 -3
- data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +9 -3
- data/spec/models/internal_is_owner_for_project_by_slug_spec.rb +3 -3
- data/spec/models/introspected_o_auth2_token_spec.rb +3 -3
- data/spec/models/invite_token_body_spec.rb +3 -3
- data/spec/models/invoice_data_v1_spec.rb +3 -3
- data/spec/models/invoice_spec.rb +3 -3
- data/spec/models/is_owner_for_project_by_slug_spec.rb +3 -3
- data/spec/models/json_patch_spec.rb +3 -3
- data/spec/models/json_web_key_set_spec.rb +3 -3
- data/spec/models/json_web_key_spec.rb +3 -3
- data/spec/models/keto_namespace_spec.rb +3 -3
- data/spec/models/keyset_pagination_request_parameters_spec.rb +3 -3
- data/spec/models/keyset_pagination_response_headers_spec.rb +3 -3
- data/spec/models/line_item_v1_spec.rb +3 -3
- data/spec/models/list_event_streams_spec.rb +3 -3
- data/spec/models/list_invoices_response_spec.rb +3 -3
- data/spec/models/list_organizations_response_spec.rb +3 -3
- data/spec/models/list_workspace_projects_spec.rb +3 -3
- data/spec/models/list_workspaces_spec.rb +3 -3
- data/spec/models/login_flow_spec.rb +3 -3
- data/spec/models/login_flow_state_spec.rb +3 -3
- data/spec/models/logout_flow_spec.rb +3 -3
- data/spec/models/managed_identity_schema_spec.rb +3 -3
- data/spec/models/managed_identity_schema_validation_result_spec.rb +3 -3
- data/spec/models/member_invite_spec.rb +3 -3
- data/spec/models/message_dispatch_spec.rb +3 -3
- data/spec/models/message_spec.rb +3 -3
- data/spec/models/metrics_datapoint_spec.rb +3 -3
- data/spec/models/money_spec.rb +3 -3
- data/spec/models/namespace_spec.rb +3 -3
- data/spec/models/needs_privileged_session_error_spec.rb +3 -3
- data/spec/models/normalized_project_revision_courier_channel_spec.rb +3 -3
- data/spec/models/normalized_project_revision_hook_spec.rb +3 -3
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +3 -3
- data/spec/models/normalized_project_revision_saml_provider_spec.rb +9 -3
- data/spec/models/normalized_project_revision_scim_client_spec.rb +3 -3
- data/spec/models/normalized_project_revision_spec.rb +3 -3
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +3 -3
- data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +3 -3
- data/spec/models/normalized_project_spec.rb +3 -3
- data/spec/models/o_auth2_client_spec.rb +3 -3
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +3 -3
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +3 -3
- data/spec/models/o_auth2_consent_request_spec.rb +3 -3
- data/spec/models/o_auth2_consent_session_spec.rb +3 -3
- data/spec/models/o_auth2_login_request_spec.rb +3 -3
- data/spec/models/o_auth2_logout_request_spec.rb +3 -3
- data/spec/models/o_auth2_redirect_to_spec.rb +3 -3
- data/spec/models/o_auth2_token_exchange_spec.rb +3 -3
- data/spec/models/oidc_configuration_spec.rb +3 -3
- data/spec/models/oidc_user_info_spec.rb +3 -3
- data/spec/models/onboarding_portal_link_spec.rb +3 -3
- data/spec/models/onboarding_portal_organization_spec.rb +3 -3
- data/spec/models/organization_body_spec.rb +3 -3
- data/spec/models/organization_onboarding_portal_links_response_spec.rb +3 -3
- data/spec/models/organization_spec.rb +3 -3
- data/spec/models/parse_error_spec.rb +3 -3
- data/spec/models/patch_identities_body_spec.rb +3 -3
- data/spec/models/perform_native_logout_body_spec.rb +3 -3
- data/spec/models/permissions_on_workspace_spec.rb +3 -3
- data/spec/models/plan_details_spec.rb +3 -3
- data/spec/models/plan_spec.rb +3 -3
- data/spec/models/post_check_permission_body_spec.rb +3 -3
- data/spec/models/post_check_permission_or_error_body_spec.rb +3 -3
- data/spec/models/project_api_key_spec.rb +3 -3
- data/spec/models/project_branding_colors_spec.rb +3 -3
- data/spec/models/project_branding_spec.rb +3 -3
- data/spec/models/project_branding_theme_spec.rb +3 -3
- data/spec/models/project_cors_spec.rb +3 -3
- data/spec/models/project_events_datapoint_spec.rb +3 -3
- data/spec/models/project_host_spec.rb +3 -3
- data/spec/models/project_member_spec.rb +9 -3
- data/spec/models/project_metadata_spec.rb +3 -3
- data/spec/models/project_service_account_experience_spec.rb +3 -3
- data/spec/models/project_service_identity_spec.rb +3 -3
- data/spec/models/project_service_o_auth2_spec.rb +3 -3
- data/spec/models/project_service_permission_spec.rb +3 -3
- data/spec/models/project_services_spec.rb +3 -3
- data/spec/models/project_spec.rb +3 -3
- data/spec/models/provider_spec.rb +3 -3
- data/spec/models/quota_usage_spec.rb +4 -4
- data/spec/models/recovery_code_for_identity_spec.rb +3 -3
- data/spec/models/recovery_flow_spec.rb +3 -3
- data/spec/models/recovery_flow_state_spec.rb +3 -3
- data/spec/models/recovery_identity_address_spec.rb +3 -3
- data/spec/models/recovery_link_for_identity_spec.rb +3 -3
- data/spec/models/registration_flow_spec.rb +3 -3
- data/spec/models/registration_flow_state_spec.rb +3 -3
- data/spec/models/reject_o_auth2_request_spec.rb +3 -3
- data/spec/models/relation_query_spec.rb +3 -3
- data/spec/models/relationship_namespaces_spec.rb +3 -3
- data/spec/models/relationship_patch_spec.rb +3 -3
- data/spec/models/relationship_spec.rb +3 -3
- data/spec/models/relationships_spec.rb +3 -3
- data/spec/models/revision_account_experience_custom_translation_spec.rb +3 -3
- data/spec/models/rfc6749_error_json_spec.rb +3 -3
- data/spec/models/schema_patch_spec.rb +3 -3
- data/spec/models/self_service_flow_expired_error_spec.rb +3 -3
- data/spec/models/session_activity_datapoint_spec.rb +3 -3
- data/spec/models/session_authentication_method_spec.rb +3 -3
- data/spec/models/session_device_spec.rb +3 -3
- data/spec/models/session_spec.rb +3 -3
- data/spec/models/set_custom_domain_body_spec.rb +3 -3
- data/spec/models/set_event_stream_body_spec.rb +3 -3
- data/spec/models/set_organization_from_onboarding_portal_link_body_spec.rb +3 -3
- data/spec/models/set_project_branding_theme_body_spec.rb +3 -3
- data/spec/models/set_project_spec.rb +3 -3
- data/spec/models/settings_flow_spec.rb +3 -3
- data/spec/models/settings_flow_state_spec.rb +3 -3
- data/spec/models/source_position_spec.rb +3 -3
- data/spec/models/subject_set_spec.rb +3 -3
- data/spec/models/subscription_spec.rb +3 -3
- data/spec/models/successful_code_exchange_response_spec.rb +3 -3
- data/spec/models/successful_native_login_spec.rb +3 -3
- data/spec/models/successful_native_registration_spec.rb +3 -3
- data/spec/models/successful_project_update_spec.rb +3 -3
- data/spec/models/tax_line_item_spec.rb +3 -3
- data/spec/models/time_interval_spec.rb +3 -3
- data/spec/models/token_pagination_headers_spec.rb +3 -3
- data/spec/models/token_pagination_request_parameters_spec.rb +3 -3
- data/spec/models/token_pagination_response_headers_spec.rb +3 -3
- data/spec/models/token_pagination_spec.rb +3 -3
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +3 -3
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +3 -3
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +3 -3
- data/spec/models/ui_container_spec.rb +3 -3
- 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 +3 -3
- 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 +3 -3
- data/spec/models/ui_node_script_attributes_spec.rb +3 -3
- data/spec/models/ui_node_spec.rb +3 -3
- data/spec/models/ui_node_text_attributes_spec.rb +3 -3
- data/spec/models/ui_text_spec.rb +3 -3
- data/spec/models/update_fedcm_flow_body_spec.rb +3 -3
- data/spec/models/update_identity_body_spec.rb +3 -3
- data/spec/models/update_login_flow_body_spec.rb +2 -2
- data/spec/models/update_login_flow_with_code_method_spec.rb +3 -3
- data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +3 -3
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +3 -3
- data/spec/models/update_login_flow_with_oidc_method_spec.rb +3 -3
- data/spec/models/update_login_flow_with_passkey_method_spec.rb +3 -3
- data/spec/models/update_login_flow_with_password_method_spec.rb +3 -3
- data/spec/models/update_login_flow_with_saml_method_spec.rb +3 -3
- data/spec/models/update_login_flow_with_totp_method_spec.rb +3 -3
- data/spec/models/update_login_flow_with_web_authn_method_spec.rb +3 -3
- data/spec/models/update_organization_onboarding_portal_link_body_spec.rb +3 -3
- data/spec/models/update_recovery_flow_body_spec.rb +2 -2
- data/spec/models/update_recovery_flow_with_code_method_spec.rb +3 -3
- data/spec/models/update_recovery_flow_with_link_method_spec.rb +3 -3
- data/spec/models/update_registration_flow_body_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_code_method_spec.rb +3 -3
- data/spec/models/update_registration_flow_with_oidc_method_spec.rb +3 -3
- data/spec/models/update_registration_flow_with_passkey_method_spec.rb +3 -3
- data/spec/models/update_registration_flow_with_password_method_spec.rb +3 -3
- data/spec/models/update_registration_flow_with_profile_method_spec.rb +3 -3
- data/spec/models/update_registration_flow_with_saml_method_spec.rb +3 -3
- data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +3 -3
- data/spec/models/update_settings_flow_body_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_lookup_method_spec.rb +3 -3
- data/spec/models/update_settings_flow_with_oidc_method_spec.rb +3 -3
- data/spec/models/update_settings_flow_with_passkey_method_spec.rb +3 -3
- data/spec/models/update_settings_flow_with_password_method_spec.rb +3 -3
- data/spec/models/update_settings_flow_with_profile_method_spec.rb +3 -3
- data/spec/models/update_settings_flow_with_saml_method_spec.rb +3 -3
- data/spec/models/update_settings_flow_with_totp_method_spec.rb +3 -3
- data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +3 -3
- data/spec/models/update_subscription_body_spec.rb +3 -3
- data/spec/models/update_verification_flow_body_spec.rb +2 -2
- data/spec/models/update_verification_flow_with_code_method_spec.rb +3 -3
- data/spec/models/update_verification_flow_with_link_method_spec.rb +3 -3
- data/spec/models/update_workspace_body_spec.rb +13 -3
- data/spec/models/usage_spec.rb +3 -3
- data/spec/models/verifiable_credential_priming_response_spec.rb +3 -3
- data/spec/models/verifiable_credential_proof_spec.rb +3 -3
- data/spec/models/verifiable_credential_response_spec.rb +3 -3
- data/spec/models/verifiable_identity_address_spec.rb +3 -3
- data/spec/models/verification_flow_spec.rb +3 -3
- data/spec/models/verification_flow_state_spec.rb +3 -3
- data/spec/models/verify_user_code_request_spec.rb +3 -3
- data/spec/models/version_spec.rb +3 -3
- data/spec/models/warning_spec.rb +3 -3
- data/spec/models/workspace_api_key_spec.rb +3 -3
- data/spec/models/workspace_organization_spec.rb +66 -0
- data/spec/models/workspace_spec.rb +19 -3
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/3.1.0/cache/parser-3.3.10.2.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-12.0.0/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.17.3/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.2.0/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/byebug-12.0.0/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.17.3/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/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/meta.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/version.rb +1 -1
- 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.2.0/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/specifications/{parser-3.3.10.1.gemspec → parser-3.3.10.2.gemspec} +4 -4
- metadata +103 -94
- data/docs/ActiveProjectInConsole.md +0 -18
- data/docs/SetActiveProjectInConsoleBody.md +0 -18
- data/vendor/bundle/ruby/3.1.0/cache/parser-3.3.10.1.gem +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/gauntlet_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/all.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ast/node.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ast/processor.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/base.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/builders/default.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/clobbering_error.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/context.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/current.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/current_arg_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/deprecation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/diagnostic/engine.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/diagnostic.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer/dedenter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer/explanation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer/literal.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer/stack_state.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer-F0.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer-F1.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer-strings.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/macruby.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/max_numparam_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby18.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby19.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby20.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby21.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby22.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby23.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby24.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby25.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby26.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby27.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby30.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby31.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby32.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby33.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby34.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/rubymotion.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/runner/ruby_parse.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/runner.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/buffer.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/comment/associator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/comment.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/collection.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/condition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/constant.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/definition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/for.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/heredoc.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/index.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/keyword.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/method_definition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/operator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/rescue_body.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/send.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/ternary.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/variable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/range.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/static_environment.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/variables_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/parser.gemspec +0 -0
|
@@ -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.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.24
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module OryClient
|
|
17
|
-
class NormalizedProjectRevision
|
|
17
|
+
class NormalizedProjectRevision < ApiModelBase
|
|
18
18
|
# The Account Experience's Custom Translations Contains all Custom Translations for this project.
|
|
19
19
|
attr_accessor :account_experience_custom_translations
|
|
20
20
|
|
|
@@ -2771,61 +2771,6 @@ module OryClient
|
|
|
2771
2771
|
new(transformed_hash)
|
|
2772
2772
|
end
|
|
2773
2773
|
|
|
2774
|
-
# Deserializes the data based on type
|
|
2775
|
-
# @param string type Data type
|
|
2776
|
-
# @param string value Value to be deserialized
|
|
2777
|
-
# @return [Object] Deserialized data
|
|
2778
|
-
def self._deserialize(type, value)
|
|
2779
|
-
case type.to_sym
|
|
2780
|
-
when :Time
|
|
2781
|
-
Time.parse(value)
|
|
2782
|
-
when :Date
|
|
2783
|
-
Date.parse(value)
|
|
2784
|
-
when :String
|
|
2785
|
-
value.to_s
|
|
2786
|
-
when :Integer
|
|
2787
|
-
value.to_i
|
|
2788
|
-
when :Float
|
|
2789
|
-
value.to_f
|
|
2790
|
-
when :Boolean
|
|
2791
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
2792
|
-
true
|
|
2793
|
-
else
|
|
2794
|
-
false
|
|
2795
|
-
end
|
|
2796
|
-
when :Object
|
|
2797
|
-
# generic object (usually a Hash), return directly
|
|
2798
|
-
value
|
|
2799
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
2800
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
2801
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
2802
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
2803
|
-
k_type = Regexp.last_match[:k_type]
|
|
2804
|
-
v_type = Regexp.last_match[:v_type]
|
|
2805
|
-
{}.tap do |hash|
|
|
2806
|
-
value.each do |k, v|
|
|
2807
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
2808
|
-
end
|
|
2809
|
-
end
|
|
2810
|
-
else # model
|
|
2811
|
-
# models (e.g. Pet) or oneOf
|
|
2812
|
-
klass = OryClient.const_get(type)
|
|
2813
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
2814
|
-
end
|
|
2815
|
-
end
|
|
2816
|
-
|
|
2817
|
-
# Returns the string representation of the object
|
|
2818
|
-
# @return [String] String presentation of the object
|
|
2819
|
-
def to_s
|
|
2820
|
-
to_hash.to_s
|
|
2821
|
-
end
|
|
2822
|
-
|
|
2823
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
2824
|
-
# @return [Hash] Returns the object in the form of hash
|
|
2825
|
-
def to_body
|
|
2826
|
-
to_hash
|
|
2827
|
-
end
|
|
2828
|
-
|
|
2829
2774
|
# Returns the object in the form of hash
|
|
2830
2775
|
# @return [Hash] Returns the object in the form of hash
|
|
2831
2776
|
def to_hash
|
|
@@ -2842,24 +2787,6 @@ module OryClient
|
|
|
2842
2787
|
hash
|
|
2843
2788
|
end
|
|
2844
2789
|
|
|
2845
|
-
# Outputs non-array value in the form of hash
|
|
2846
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
2847
|
-
# @param [Object] value Any valid value
|
|
2848
|
-
# @return [Hash] Returns the value in the form of hash
|
|
2849
|
-
def _to_hash(value)
|
|
2850
|
-
if value.is_a?(Array)
|
|
2851
|
-
value.compact.map { |v| _to_hash(v) }
|
|
2852
|
-
elsif value.is_a?(Hash)
|
|
2853
|
-
{}.tap do |hash|
|
|
2854
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
2855
|
-
end
|
|
2856
|
-
elsif value.respond_to? :to_hash
|
|
2857
|
-
value.to_hash
|
|
2858
|
-
else
|
|
2859
|
-
value
|
|
2860
|
-
end
|
|
2861
|
-
end
|
|
2862
|
-
|
|
2863
2790
|
end
|
|
2864
2791
|
|
|
2865
2792
|
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.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.24
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module OryClient
|
|
17
|
-
class NormalizedProjectRevisionCourierChannel
|
|
17
|
+
class NormalizedProjectRevisionCourierChannel < ApiModelBase
|
|
18
18
|
# The Channel's public ID
|
|
19
19
|
attr_accessor :channel_id
|
|
20
20
|
|
|
@@ -332,61 +332,6 @@ module OryClient
|
|
|
332
332
|
new(transformed_hash)
|
|
333
333
|
end
|
|
334
334
|
|
|
335
|
-
# Deserializes the data based on type
|
|
336
|
-
# @param string type Data type
|
|
337
|
-
# @param string value Value to be deserialized
|
|
338
|
-
# @return [Object] Deserialized data
|
|
339
|
-
def self._deserialize(type, value)
|
|
340
|
-
case type.to_sym
|
|
341
|
-
when :Time
|
|
342
|
-
Time.parse(value)
|
|
343
|
-
when :Date
|
|
344
|
-
Date.parse(value)
|
|
345
|
-
when :String
|
|
346
|
-
value.to_s
|
|
347
|
-
when :Integer
|
|
348
|
-
value.to_i
|
|
349
|
-
when :Float
|
|
350
|
-
value.to_f
|
|
351
|
-
when :Boolean
|
|
352
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
353
|
-
true
|
|
354
|
-
else
|
|
355
|
-
false
|
|
356
|
-
end
|
|
357
|
-
when :Object
|
|
358
|
-
# generic object (usually a Hash), return directly
|
|
359
|
-
value
|
|
360
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
361
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
362
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
363
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
364
|
-
k_type = Regexp.last_match[:k_type]
|
|
365
|
-
v_type = Regexp.last_match[:v_type]
|
|
366
|
-
{}.tap do |hash|
|
|
367
|
-
value.each do |k, v|
|
|
368
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
369
|
-
end
|
|
370
|
-
end
|
|
371
|
-
else # model
|
|
372
|
-
# models (e.g. Pet) or oneOf
|
|
373
|
-
klass = OryClient.const_get(type)
|
|
374
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
375
|
-
end
|
|
376
|
-
end
|
|
377
|
-
|
|
378
|
-
# Returns the string representation of the object
|
|
379
|
-
# @return [String] String presentation of the object
|
|
380
|
-
def to_s
|
|
381
|
-
to_hash.to_s
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
385
|
-
# @return [Hash] Returns the object in the form of hash
|
|
386
|
-
def to_body
|
|
387
|
-
to_hash
|
|
388
|
-
end
|
|
389
|
-
|
|
390
335
|
# Returns the object in the form of hash
|
|
391
336
|
# @return [Hash] Returns the object in the form of hash
|
|
392
337
|
def to_hash
|
|
@@ -403,24 +348,6 @@ module OryClient
|
|
|
403
348
|
hash
|
|
404
349
|
end
|
|
405
350
|
|
|
406
|
-
# Outputs non-array value in the form of hash
|
|
407
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
408
|
-
# @param [Object] value Any valid value
|
|
409
|
-
# @return [Hash] Returns the value in the form of hash
|
|
410
|
-
def _to_hash(value)
|
|
411
|
-
if value.is_a?(Array)
|
|
412
|
-
value.compact.map { |v| _to_hash(v) }
|
|
413
|
-
elsif value.is_a?(Hash)
|
|
414
|
-
{}.tap do |hash|
|
|
415
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
416
|
-
end
|
|
417
|
-
elsif value.respond_to? :to_hash
|
|
418
|
-
value.to_hash
|
|
419
|
-
else
|
|
420
|
-
value
|
|
421
|
-
end
|
|
422
|
-
end
|
|
423
|
-
|
|
424
351
|
end
|
|
425
352
|
|
|
426
353
|
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.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.24
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module OryClient
|
|
17
|
-
class NormalizedProjectRevisionHook
|
|
17
|
+
class NormalizedProjectRevisionHook < ApiModelBase
|
|
18
18
|
# The Hooks Config Key
|
|
19
19
|
attr_accessor :config_key
|
|
20
20
|
|
|
@@ -331,61 +331,6 @@ module OryClient
|
|
|
331
331
|
new(transformed_hash)
|
|
332
332
|
end
|
|
333
333
|
|
|
334
|
-
# Deserializes the data based on type
|
|
335
|
-
# @param string type Data type
|
|
336
|
-
# @param string value Value to be deserialized
|
|
337
|
-
# @return [Object] Deserialized data
|
|
338
|
-
def self._deserialize(type, value)
|
|
339
|
-
case type.to_sym
|
|
340
|
-
when :Time
|
|
341
|
-
Time.parse(value)
|
|
342
|
-
when :Date
|
|
343
|
-
Date.parse(value)
|
|
344
|
-
when :String
|
|
345
|
-
value.to_s
|
|
346
|
-
when :Integer
|
|
347
|
-
value.to_i
|
|
348
|
-
when :Float
|
|
349
|
-
value.to_f
|
|
350
|
-
when :Boolean
|
|
351
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
352
|
-
true
|
|
353
|
-
else
|
|
354
|
-
false
|
|
355
|
-
end
|
|
356
|
-
when :Object
|
|
357
|
-
# generic object (usually a Hash), return directly
|
|
358
|
-
value
|
|
359
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
360
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
361
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
362
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
363
|
-
k_type = Regexp.last_match[:k_type]
|
|
364
|
-
v_type = Regexp.last_match[:v_type]
|
|
365
|
-
{}.tap do |hash|
|
|
366
|
-
value.each do |k, v|
|
|
367
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
368
|
-
end
|
|
369
|
-
end
|
|
370
|
-
else # model
|
|
371
|
-
# models (e.g. Pet) or oneOf
|
|
372
|
-
klass = OryClient.const_get(type)
|
|
373
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
374
|
-
end
|
|
375
|
-
end
|
|
376
|
-
|
|
377
|
-
# Returns the string representation of the object
|
|
378
|
-
# @return [String] String presentation of the object
|
|
379
|
-
def to_s
|
|
380
|
-
to_hash.to_s
|
|
381
|
-
end
|
|
382
|
-
|
|
383
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
384
|
-
# @return [Hash] Returns the object in the form of hash
|
|
385
|
-
def to_body
|
|
386
|
-
to_hash
|
|
387
|
-
end
|
|
388
|
-
|
|
389
334
|
# Returns the object in the form of hash
|
|
390
335
|
# @return [Hash] Returns the object in the form of hash
|
|
391
336
|
def to_hash
|
|
@@ -402,24 +347,6 @@ module OryClient
|
|
|
402
347
|
hash
|
|
403
348
|
end
|
|
404
349
|
|
|
405
|
-
# Outputs non-array value in the form of hash
|
|
406
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
407
|
-
# @param [Object] value Any valid value
|
|
408
|
-
# @return [Hash] Returns the value in the form of hash
|
|
409
|
-
def _to_hash(value)
|
|
410
|
-
if value.is_a?(Array)
|
|
411
|
-
value.compact.map { |v| _to_hash(v) }
|
|
412
|
-
elsif value.is_a?(Hash)
|
|
413
|
-
{}.tap do |hash|
|
|
414
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
415
|
-
end
|
|
416
|
-
elsif value.respond_to? :to_hash
|
|
417
|
-
value.to_hash
|
|
418
|
-
else
|
|
419
|
-
value
|
|
420
|
-
end
|
|
421
|
-
end
|
|
422
|
-
|
|
423
350
|
end
|
|
424
351
|
|
|
425
352
|
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.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.24
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module OryClient
|
|
17
|
-
class NormalizedProjectRevisionIdentitySchema
|
|
17
|
+
class NormalizedProjectRevisionIdentitySchema < ApiModelBase
|
|
18
18
|
# The Project's Revision Creation Date
|
|
19
19
|
attr_accessor :created_at
|
|
20
20
|
|
|
@@ -225,61 +225,6 @@ module OryClient
|
|
|
225
225
|
new(transformed_hash)
|
|
226
226
|
end
|
|
227
227
|
|
|
228
|
-
# Deserializes the data based on type
|
|
229
|
-
# @param string type Data type
|
|
230
|
-
# @param string value Value to be deserialized
|
|
231
|
-
# @return [Object] Deserialized data
|
|
232
|
-
def self._deserialize(type, value)
|
|
233
|
-
case type.to_sym
|
|
234
|
-
when :Time
|
|
235
|
-
Time.parse(value)
|
|
236
|
-
when :Date
|
|
237
|
-
Date.parse(value)
|
|
238
|
-
when :String
|
|
239
|
-
value.to_s
|
|
240
|
-
when :Integer
|
|
241
|
-
value.to_i
|
|
242
|
-
when :Float
|
|
243
|
-
value.to_f
|
|
244
|
-
when :Boolean
|
|
245
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
246
|
-
true
|
|
247
|
-
else
|
|
248
|
-
false
|
|
249
|
-
end
|
|
250
|
-
when :Object
|
|
251
|
-
# generic object (usually a Hash), return directly
|
|
252
|
-
value
|
|
253
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
254
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
255
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
256
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
257
|
-
k_type = Regexp.last_match[:k_type]
|
|
258
|
-
v_type = Regexp.last_match[:v_type]
|
|
259
|
-
{}.tap do |hash|
|
|
260
|
-
value.each do |k, v|
|
|
261
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
262
|
-
end
|
|
263
|
-
end
|
|
264
|
-
else # model
|
|
265
|
-
# models (e.g. Pet) or oneOf
|
|
266
|
-
klass = OryClient.const_get(type)
|
|
267
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
268
|
-
end
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
# Returns the string representation of the object
|
|
272
|
-
# @return [String] String presentation of the object
|
|
273
|
-
def to_s
|
|
274
|
-
to_hash.to_s
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
278
|
-
# @return [Hash] Returns the object in the form of hash
|
|
279
|
-
def to_body
|
|
280
|
-
to_hash
|
|
281
|
-
end
|
|
282
|
-
|
|
283
228
|
# Returns the object in the form of hash
|
|
284
229
|
# @return [Hash] Returns the object in the form of hash
|
|
285
230
|
def to_hash
|
|
@@ -296,24 +241,6 @@ module OryClient
|
|
|
296
241
|
hash
|
|
297
242
|
end
|
|
298
243
|
|
|
299
|
-
# Outputs non-array value in the form of hash
|
|
300
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
301
|
-
# @param [Object] value Any valid value
|
|
302
|
-
# @return [Hash] Returns the value in the form of hash
|
|
303
|
-
def _to_hash(value)
|
|
304
|
-
if value.is_a?(Array)
|
|
305
|
-
value.compact.map { |v| _to_hash(v) }
|
|
306
|
-
elsif value.is_a?(Hash)
|
|
307
|
-
{}.tap do |hash|
|
|
308
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
309
|
-
end
|
|
310
|
-
elsif value.respond_to? :to_hash
|
|
311
|
-
value.to_hash
|
|
312
|
-
else
|
|
313
|
-
value
|
|
314
|
-
end
|
|
315
|
-
end
|
|
316
|
-
|
|
317
244
|
end
|
|
318
245
|
|
|
319
246
|
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.22.
|
|
6
|
+
The version of the OpenAPI document: v1.22.24
|
|
7
7
|
Contact: support@ory.sh
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module OryClient
|
|
17
|
-
class NormalizedProjectRevisionSAMLProvider
|
|
17
|
+
class NormalizedProjectRevisionSAMLProvider < ApiModelBase
|
|
18
18
|
attr_accessor :audience_override_base_url
|
|
19
19
|
|
|
20
20
|
# The Project's Revision Creation Date
|
|
@@ -49,6 +49,8 @@ module OryClient
|
|
|
49
49
|
# Last Time Project's Revision was Updated
|
|
50
50
|
attr_accessor :updated_at
|
|
51
51
|
|
|
52
|
+
attr_accessor :valid_to
|
|
53
|
+
|
|
52
54
|
class EnumAttributeValidator
|
|
53
55
|
attr_reader :datatype
|
|
54
56
|
attr_reader :allowable_values
|
|
@@ -86,7 +88,8 @@ module OryClient
|
|
|
86
88
|
:'proxy_saml_audience_override' => :'proxy_saml_audience_override',
|
|
87
89
|
:'raw_idp_metadata_xml' => :'raw_idp_metadata_xml',
|
|
88
90
|
:'state' => :'state',
|
|
89
|
-
:'updated_at' => :'updated_at'
|
|
91
|
+
:'updated_at' => :'updated_at',
|
|
92
|
+
:'valid_to' => :'valid_to'
|
|
90
93
|
}
|
|
91
94
|
end
|
|
92
95
|
|
|
@@ -115,7 +118,8 @@ module OryClient
|
|
|
115
118
|
:'proxy_saml_audience_override' => :'String',
|
|
116
119
|
:'raw_idp_metadata_xml' => :'String',
|
|
117
120
|
:'state' => :'String',
|
|
118
|
-
:'updated_at' => :'Time'
|
|
121
|
+
:'updated_at' => :'Time',
|
|
122
|
+
:'valid_to' => :'Array<String>'
|
|
119
123
|
}
|
|
120
124
|
end
|
|
121
125
|
|
|
@@ -196,6 +200,12 @@ module OryClient
|
|
|
196
200
|
if attributes.key?(:'updated_at')
|
|
197
201
|
self.updated_at = attributes[:'updated_at']
|
|
198
202
|
end
|
|
203
|
+
|
|
204
|
+
if attributes.key?(:'valid_to')
|
|
205
|
+
if (value = attributes[:'valid_to']).is_a?(Array)
|
|
206
|
+
self.valid_to = value
|
|
207
|
+
end
|
|
208
|
+
end
|
|
199
209
|
end
|
|
200
210
|
|
|
201
211
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -242,7 +252,8 @@ module OryClient
|
|
|
242
252
|
proxy_saml_audience_override == o.proxy_saml_audience_override &&
|
|
243
253
|
raw_idp_metadata_xml == o.raw_idp_metadata_xml &&
|
|
244
254
|
state == o.state &&
|
|
245
|
-
updated_at == o.updated_at
|
|
255
|
+
updated_at == o.updated_at &&
|
|
256
|
+
valid_to == o.valid_to
|
|
246
257
|
end
|
|
247
258
|
|
|
248
259
|
# @see the `==` method
|
|
@@ -254,7 +265,7 @@ module OryClient
|
|
|
254
265
|
# Calculates hash code according to all attributes.
|
|
255
266
|
# @return [Integer] Hash code
|
|
256
267
|
def hash
|
|
257
|
-
[audience_override_base_url, created_at, id, label, mapper_url, organization_id, project_revision_id, provider_id, proxy_acs_url, proxy_saml_audience_override, raw_idp_metadata_xml, state, updated_at].hash
|
|
268
|
+
[audience_override_base_url, created_at, id, label, mapper_url, organization_id, project_revision_id, provider_id, proxy_acs_url, proxy_saml_audience_override, raw_idp_metadata_xml, state, updated_at, valid_to].hash
|
|
258
269
|
end
|
|
259
270
|
|
|
260
271
|
# Builds the object from hash
|
|
@@ -280,61 +291,6 @@ module OryClient
|
|
|
280
291
|
new(transformed_hash)
|
|
281
292
|
end
|
|
282
293
|
|
|
283
|
-
# Deserializes the data based on type
|
|
284
|
-
# @param string type Data type
|
|
285
|
-
# @param string value Value to be deserialized
|
|
286
|
-
# @return [Object] Deserialized data
|
|
287
|
-
def self._deserialize(type, value)
|
|
288
|
-
case type.to_sym
|
|
289
|
-
when :Time
|
|
290
|
-
Time.parse(value)
|
|
291
|
-
when :Date
|
|
292
|
-
Date.parse(value)
|
|
293
|
-
when :String
|
|
294
|
-
value.to_s
|
|
295
|
-
when :Integer
|
|
296
|
-
value.to_i
|
|
297
|
-
when :Float
|
|
298
|
-
value.to_f
|
|
299
|
-
when :Boolean
|
|
300
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
301
|
-
true
|
|
302
|
-
else
|
|
303
|
-
false
|
|
304
|
-
end
|
|
305
|
-
when :Object
|
|
306
|
-
# generic object (usually a Hash), return directly
|
|
307
|
-
value
|
|
308
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
309
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
310
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
311
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
312
|
-
k_type = Regexp.last_match[:k_type]
|
|
313
|
-
v_type = Regexp.last_match[:v_type]
|
|
314
|
-
{}.tap do |hash|
|
|
315
|
-
value.each do |k, v|
|
|
316
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
317
|
-
end
|
|
318
|
-
end
|
|
319
|
-
else # model
|
|
320
|
-
# models (e.g. Pet) or oneOf
|
|
321
|
-
klass = OryClient.const_get(type)
|
|
322
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
323
|
-
end
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
# Returns the string representation of the object
|
|
327
|
-
# @return [String] String presentation of the object
|
|
328
|
-
def to_s
|
|
329
|
-
to_hash.to_s
|
|
330
|
-
end
|
|
331
|
-
|
|
332
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
333
|
-
# @return [Hash] Returns the object in the form of hash
|
|
334
|
-
def to_body
|
|
335
|
-
to_hash
|
|
336
|
-
end
|
|
337
|
-
|
|
338
294
|
# Returns the object in the form of hash
|
|
339
295
|
# @return [Hash] Returns the object in the form of hash
|
|
340
296
|
def to_hash
|
|
@@ -351,24 +307,6 @@ module OryClient
|
|
|
351
307
|
hash
|
|
352
308
|
end
|
|
353
309
|
|
|
354
|
-
# Outputs non-array value in the form of hash
|
|
355
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
356
|
-
# @param [Object] value Any valid value
|
|
357
|
-
# @return [Hash] Returns the value in the form of hash
|
|
358
|
-
def _to_hash(value)
|
|
359
|
-
if value.is_a?(Array)
|
|
360
|
-
value.compact.map { |v| _to_hash(v) }
|
|
361
|
-
elsif value.is_a?(Hash)
|
|
362
|
-
{}.tap do |hash|
|
|
363
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
364
|
-
end
|
|
365
|
-
elsif value.respond_to? :to_hash
|
|
366
|
-
value.to_hash
|
|
367
|
-
else
|
|
368
|
-
value
|
|
369
|
-
end
|
|
370
|
-
end
|
|
371
|
-
|
|
372
310
|
end
|
|
373
311
|
|
|
374
312
|
end
|