workos 10.5.0 → 10.6.0
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/.github/workflows/release-please.yml +3 -3
- data/.last-synced-sha +1 -1
- data/.oagen-manifest.json +387 -25
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +112 -0
- data/Gemfile.lock +2 -2
- data/README.md +2 -2
- data/lib/workos/agents/list_metadata.rb +22 -0
- data/lib/workos/api_keys/api_key_data_integration_vended_credential.rb +28 -0
- data/lib/workos/authorization/patch_group_role_assignments.rb +22 -0
- data/lib/workos/authorization.rb +26 -0
- data/lib/workos/base_client.rb +3 -0
- data/lib/workos/connect/connect_application.rb +3 -0
- data/lib/workos/connect/create_oauth_application.rb +3 -0
- data/lib/workos/connect/update_oauth_application.rb +5 -2
- data/lib/workos/connect.rb +6 -0
- data/lib/workos/events.rb +3 -11
- data/lib/workos/feature_flags/flag_created_data.rb +1 -46
- data/lib/workos/feature_flags/flag_deleted_data.rb +1 -1
- data/lib/workos/feature_flags/flag_rule.rb +49 -0
- data/lib/workos/feature_flags/flag_rule_updated_data.rb +1 -1
- data/lib/workos/feature_flags/flag_target.rb +52 -0
- data/lib/workos/feature_flags/flag_target_with_rule_id.rb +46 -0
- data/lib/workos/feature_flags/flag_target_with_value_type.rb +49 -0
- data/lib/workos/feature_flags/flag_updated_context_previous_attribute.rb +1 -12
- data/lib/workos/feature_flags/flag_updated_context_previous_attribute_data.rb +1 -28
- data/lib/workos/feature_flags/flag_updated_data.rb +1 -1
- data/lib/workos/groups/patch_group_memberships.rb +22 -0
- data/lib/workos/groups.rb +28 -0
- data/lib/workos/inflections.rb +30 -0
- data/lib/workos/organizations/it_contact_list_list_metadata.rb +22 -0
- data/lib/workos/organizations/organization_authentication_methods_required_oauth_error_body.rb +22 -0
- data/lib/workos/organizations/organization_connected_account_import_error_body.rb +22 -0
- data/lib/workos/organizations/organization_membership_not_found_oauth_error_body.rb +22 -0
- data/lib/workos/organizations/organization_not_found_oauth_error_body.rb +22 -0
- data/lib/workos/organizations/organization_selection_required_error_body.rb +22 -0
- data/lib/workos/organizations/organization_selection_required_error_body_with_organization.rb +7 -0
- data/lib/workos/organizations/organization_selection_required_error_body_with_organizations.rb +25 -0
- data/lib/workos/pipes/connected_account.rb +5 -2
- data/lib/workos/pipes/{connected_account_write_response_warning.rb → connected_account_warning.rb} +1 -1
- data/lib/workos/pipes/data_integration_authorize_url_response.rb +9 -2
- data/lib/workos/pipes/data_integration_finish_connection_response.rb +18 -0
- data/lib/workos/pipes/data_integration_vended_credential.rb +5 -5
- data/lib/workos/pipes/data_integrations_finish_connection_request.rb +25 -0
- data/lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb +14 -2
- data/lib/workos/pipes/data_integrations_list_response_data_connected_account.rb +4 -1
- data/lib/workos/pipes/data_integrations_list_response_data_connected_account_warning.rb +7 -0
- data/lib/workos/pipes/data_integrations_upsert_api_key_request.rb +8 -2
- data/lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb +8 -2
- data/lib/workos/pipes.rb +62 -27
- data/lib/workos/shared/access_denied_oauth_error_body.rb +22 -0
- data/lib/workos/shared/account_selection_required_error_body.rb +7 -0
- data/lib/workos/shared/already_claimed_error_body.rb +22 -0
- data/lib/workos/shared/application_consent_required_error_body.rb +22 -0
- data/lib/workos/shared/auth_method_mismatch_error_body.rb +7 -0
- data/lib/workos/shared/authorization_pending_oauth_error_body.rb +22 -0
- data/lib/workos/shared/authorization_url_not_found_error_body.rb +22 -0
- data/lib/workos/shared/authorization_url_request_error_body.rb +22 -0
- data/lib/workos/shared/client_credentials_data_integration_vended_credential.rb +40 -0
- data/lib/workos/shared/code_challenge_not_found_error_body.rb +22 -0
- data/lib/workos/shared/connect_application_oauth.rb +3 -0
- data/lib/workos/shared/connected_account_limit_reached_error_body.rb +22 -0
- data/lib/workos/shared/daily_quota_exceeded_error_body.rb +22 -0
- data/lib/workos/shared/data_integration_access_token_response_with_access_token.rb +22 -0
- data/lib/workos/shared/data_integration_access_token_response_with_access_token_access_token.rb +7 -0
- data/lib/workos/shared/data_integration_access_token_response_with_error.rb +22 -0
- data/lib/workos/shared/data_integration_credentials_response_with_credential.rb +22 -0
- data/lib/workos/shared/data_integration_credentials_response_with_error.rb +22 -0
- data/lib/workos/shared/entity_not_found_error_body.rb +22 -0
- data/lib/workos/shared/error_body.rb +7 -0
- data/lib/workos/shared/error_body_with_code.rb +7 -0
- data/lib/workos/shared/error_body_with_code_errors.rb +25 -0
- data/lib/workos/shared/error_body_with_code_field_error.rb +22 -0
- data/lib/workos/shared/error_body_with_code_field_errors.rb +22 -0
- data/lib/workos/shared/error_body_with_code_instance_path_error.rb +18 -0
- data/lib/workos/shared/error_body_with_code_instance_path_errors.rb +25 -0
- data/lib/workos/shared/error_body_with_code_status_code.rb +25 -0
- data/lib/workos/shared/error_body_with_constraints_property_error.rb +22 -0
- data/lib/workos/shared/error_body_with_constraints_property_errors.rb +22 -0
- data/lib/workos/shared/error_body_with_error.rb +22 -0
- data/lib/workos/shared/error_body_with_error_message_list.rb +22 -0
- data/lib/workos/shared/error_body_with_message_or_message_list.rb +18 -0
- data/lib/workos/shared/expired_token_oauth_error_body.rb +22 -0
- data/lib/workos/shared/external_auth_session_already_completed_error_body.rb +22 -0
- data/lib/workos/shared/external_id_already_used_error_body.rb +22 -0
- data/lib/workos/shared/extra_attributes_required_oauth_error_body.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_created.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_created_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_created_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_created_data.rb +52 -0
- data/lib/workos/shared/feature_flags_flag_created_data_owner.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_deleted.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_deleted_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_deleted_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_deleted_data.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_deleted_data_owner.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_rule_created.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_rule_created_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_rule_created_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_rule_deleted.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_rule_deleted_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_rule_deleted_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated_context.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated_context_previous_attribute.rb +18 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated_context_previous_attribute_data.rb +18 -0
- data/lib/workos/shared/feature_flags_flag_target_created.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_target_created_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_target_created_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_target_deleted.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_target_deleted_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_target_deleted_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_updated.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_updated_context.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_updated_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_updated_context_previous_attribute.rb +18 -0
- data/lib/workos/shared/feature_flags_flag_updated_context_previous_attribute_data.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_updated_context_previous_attribute_data_owner.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_updated_data.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_updated_data_owner.rb +7 -0
- data/lib/workos/shared/idp_metadata_fetch_failed_error_body.rb +22 -0
- data/lib/workos/shared/invalid_client_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_connection_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_credentials_error_body.rb +22 -0
- data/lib/workos/shared/invalid_email_error_body.rb +22 -0
- data/lib/workos/shared/invalid_grant_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_idp_sso_url_error_body.rb +22 -0
- data/lib/workos/shared/invalid_link_authorization_code_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_locale_error_body.rb +22 -0
- data/lib/workos/shared/invalid_metadata_error_body.rb +22 -0
- data/lib/workos/shared/invalid_one_time_code_error_body.rb +22 -0
- data/lib/workos/shared/invalid_organization_id_error_body.rb +22 -0
- data/lib/workos/shared/invalid_password_hash_error_body.rb +22 -0
- data/lib/workos/shared/invalid_pending_authentication_token_error_body.rb +22 -0
- data/lib/workos/shared/invalid_profile_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_refresh_token_error_body.rb +22 -0
- data/lib/workos/shared/invalid_request_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_request_parameters_error_body.rb +22 -0
- data/lib/workos/shared/invalid_request_parameters_error_body_with_errors.rb +25 -0
- data/lib/workos/shared/invalid_role_error_body.rb +22 -0
- data/lib/workos/shared/invalid_url_error_body.rb +22 -0
- data/lib/workos/shared/mfa_challenge_error_body.rb +22 -0
- data/lib/workos/shared/mfa_enrollment_error_body.rb +22 -0
- data/lib/workos/shared/mfa_enrollment_oauth_error_body.rb +22 -0
- data/lib/workos/shared/multiple_roles_not_enabled_error_body.rb +22 -0
- data/lib/workos/shared/must_use_sso_for_selected_organization_message_error_body.rb +18 -0
- data/lib/workos/shared/oauth_data_integration_vended_credential.rb +40 -0
- data/lib/workos/shared/oauth_error_body.rb +22 -0
- data/lib/workos/shared/one_time_code_expired_error_body.rb +22 -0
- data/lib/workos/shared/one_time_code_previously_used_error_body.rb +22 -0
- data/lib/workos/shared/one_time_code_too_many_attempts_error_body.rb +22 -0
- data/lib/workos/shared/passkey_progressive_enrollment_error_body.rb +22 -0
- data/lib/workos/shared/phone_number_required_error_body.rb +22 -0
- data/lib/workos/shared/pkce_not_supported_oauth_error_body.rb +22 -0
- data/lib/workos/shared/policy_denied_error_body.rb +22 -0
- data/lib/workos/shared/radar_challenge_error_body.rb +22 -0
- data/lib/workos/shared/radar_sign_up_challenge_error_body.rb +22 -0
- data/lib/workos/shared/radar_sms_sign_in_challenge_error_body.rb +22 -0
- data/lib/workos/shared/rate_limit_exceeded_error_body_with_retry_after.rb +25 -0
- data/lib/workos/shared/sign_up_not_allowed_oauth_error_body.rb +22 -0
- data/lib/workos/shared/slow_down_oauth_error_body.rb +22 -0
- data/lib/workos/shared/sms_challenge_quota_reached_error_body.rb +22 -0
- data/lib/workos/shared/sms_challenge_rate_limited_error_body.rb +22 -0
- data/lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb +31 -0
- data/lib/workos/shared/sub_resource_scoped_role_not_allowed_error_body_with_role_slug.rb +25 -0
- data/lib/workos/shared/token_too_big_oauth_error_body.rb +22 -0
- data/lib/workos/shared/too_many_failed_verification_attempts_error_body_with_retry_after.rb +25 -0
- data/lib/workos/shared/too_many_requests_oauth_error_body.rb +22 -0
- data/lib/workos/shared/unauthorized_client_oauth_error_body.rb +22 -0
- data/lib/workos/shared/unauthorized_error_body.rb +18 -0
- data/lib/workos/shared/update_audit_logs_retention_with_retention_period.rb +18 -0
- data/lib/workos/shared/update_audit_logs_retention_with_retention_period_in_days.rb +26 -0
- data/lib/workos/shared/update_user_organization_membership_with_role_slug.rb +18 -0
- data/lib/workos/shared/update_user_organization_membership_with_role_slugs.rb +18 -0
- data/lib/workos/shared/verification_id_required_error_body.rb +22 -0
- data/lib/workos/sso/connection_could_not_be_verified_error_body.rb +22 -0
- data/lib/workos/sso/connection_creation_conflict_error_body.rb +22 -0
- data/lib/workos/sso/connection_creation_not_found_error_body.rb +22 -0
- data/lib/workos/sso/connection_finish_error_body.rb +22 -0
- data/lib/workos/sso/connection_type_not_updatable_error_body.rb +22 -0
- data/lib/workos/types/authorization_url_not_found_error_body_code.rb +14 -0
- data/lib/workos/types/authorization_url_request_error_body_code.rb +14 -0
- data/lib/workos/types/connection_creation_conflict_error_body_code.rb +13 -0
- data/lib/workos/types/connection_creation_not_found_error_body_code.rb +13 -0
- data/lib/workos/types/connection_finish_error_body_code.rb +29 -0
- data/lib/workos/types/create_data_integration_ownership.rb +5 -1
- data/lib/workos/types/create_magic_code_and_return_locale.rb +101 -0
- data/lib/workos/types/{connected_account_write_response_auth_method.rb → create_password_reset_token_locale.rb} +1 -1
- data/lib/workos/types/create_user_invite_options_locale.rb +1 -93
- data/lib/workos/types/create_webhook_endpoint_events.rb +9 -1
- data/lib/workos/types/data_integration_access_token_response_with_error_error.rb +9 -0
- data/lib/workos/types/data_integration_credentials_response_with_error_error.rb +9 -0
- data/lib/workos/types/data_integration_ownership.rb +1 -1
- data/lib/workos/types/data_integrations_create_api_key_connection_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_create_client_credentials_connection_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_get_data_integration_authorize_url_request_connection_intent.rb +13 -0
- data/lib/workos/types/data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_get_user_token_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_list_response_data_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_upsert_api_key_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_upsert_client_credentials_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_vend_credentials_request_connection_owner.rb +1 -1
- data/lib/workos/types/error_body_code.rb +183 -0
- data/lib/workos/types/{connected_account_write_response_connection_role.rb → feature_flags_flag_created_context_actor_source.rb} +1 -1
- data/lib/workos/types/feature_flags_flag_deleted_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_rule_created_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_rule_deleted_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_rule_updated_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_target_created_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_target_deleted_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_updated_context_actor_source.rb +9 -0
- data/lib/workos/types/organization_connected_account_import_error_body_code.rb +14 -0
- data/lib/workos/types/pipes_ownership.rb +1 -1
- data/lib/workos/types/resend_user_invite_options_locale.rb +1 -1
- data/lib/workos/types/resource_export_completed_data_resource_type.rb +3 -1
- data/lib/workos/types/{connected_account_write_response_state.rb → send_email_change_locale.rb} +1 -1
- data/lib/workos/types/send_verification_email_locale.rb +9 -0
- data/lib/workos/types/update_audit_logs_retention_with_retention_period_retention_period.rb +9 -0
- data/lib/workos/types/user_connected_account_import_error_body_code.rb +15 -0
- data/lib/workos/types/widget_session_token_scopes.rb +3 -1
- data/lib/workos/user_management/action_denied_error_body.rb +22 -0
- data/lib/workos/user_management/authentication_method_not_allowed_error_body.rb +22 -0
- data/lib/workos/user_management/authentication_method_not_allowed_oauth_error_body.rb +22 -0
- data/lib/workos/user_management/create_magic_code_and_return.rb +5 -2
- data/lib/workos/user_management/create_password_reset_token.rb +16 -1
- data/lib/workos/user_management/email_already_in_use_error_body.rb +22 -0
- data/lib/workos/user_management/email_already_verified_error_body.rb +22 -0
- data/lib/workos/user_management/email_change_not_allowed_error_body.rb +22 -0
- data/lib/workos/user_management/email_completion_required_error_body_with_email_completion_token.rb +25 -0
- data/lib/workos/user_management/email_domain_not_deliverable_error_body.rb +22 -0
- data/lib/workos/user_management/email_not_available_error_body.rb +22 -0
- data/lib/workos/user_management/email_password_auth_disabled_error_body.rb +22 -0
- data/lib/workos/user_management/email_verification_required_error_body.rb +22 -0
- data/lib/workos/user_management/invitation_cannot_be_used_for_email_oauth_error_body.rb +22 -0
- data/lib/workos/user_management/invitation_invalid_oauth_error_body.rb +22 -0
- data/lib/workos/user_management/password_and_password_hash_provided_error_body.rb +22 -0
- data/lib/workos/user_management/password_and_password_hash_type_provided_error_body.rb +22 -0
- data/lib/workos/user_management/password_salt_position_requires_password_hash_error_body.rb +22 -0
- data/lib/workos/user_management/password_strength_error_error_body_with_errors.rb +25 -0
- data/lib/workos/user_management/send_email_change.rb +6 -2
- data/lib/workos/user_management/send_verification_email.rb +18 -0
- data/lib/workos/user_management/user_connected_account_import_error_body.rb +22 -0
- data/lib/workos/user_management/user_consent_options_not_supported_error_body.rb +22 -0
- data/lib/workos/user_management/user_creation_error_error_body_with_errors.rb +25 -0
- data/lib/workos/user_management/user_mismatch_error_body.rb +22 -0
- data/lib/workos/user_management/waitlist_list_response.rb +25 -0
- data/lib/workos/user_management/waitlist_list_response_list_metadata.rb +7 -0
- data/lib/workos/user_management.rb +25 -10
- data/lib/workos/version.rb +1 -1
- data/rbi/workos/access_denied_oauth_error_body.rbi +30 -0
- data/rbi/workos/{connected_account_write_response_warning.rbi → account_selection_required_error_body.rbi} +1 -1
- data/rbi/workos/action_denied_error_body.rbi +30 -0
- data/rbi/workos/admin_portal.rbi +2 -2
- data/rbi/workos/agents.rbi +20 -20
- data/rbi/workos/already_claimed_error_body.rbi +30 -0
- data/rbi/workos/api_key_data_integration_vended_credential.rbi +42 -0
- data/rbi/workos/api_keys.rbi +5 -5
- data/rbi/workos/application_consent_required_error_body.rbi +30 -0
- data/rbi/workos/audit_logs.rbi +10 -10
- data/rbi/workos/auth_method_mismatch_error_body.rbi +30 -0
- data/rbi/workos/authentication_method_not_allowed_error_body.rbi +30 -0
- data/rbi/workos/authentication_method_not_allowed_oauth_error_body.rbi +30 -0
- data/rbi/workos/authorization.rbi +55 -45
- data/rbi/workos/authorization_pending_oauth_error_body.rbi +30 -0
- data/rbi/workos/authorization_url_not_found_error_body.rbi +30 -0
- data/rbi/workos/authorization_url_request_error_body.rbi +30 -0
- data/rbi/workos/client_api.rbi +1 -1
- data/rbi/workos/client_credentials_data_integration_vended_credential.rbi +66 -0
- data/rbi/workos/code_challenge_not_found_error_body.rbi +30 -0
- data/rbi/workos/connect.rbi +12 -10
- data/rbi/workos/connect_application_oauth.rbi +6 -0
- data/rbi/workos/connected_account.rbi +6 -0
- data/rbi/workos/connected_account_limit_reached_error_body.rbi +30 -0
- data/rbi/workos/connected_account_warning.rbi +30 -0
- data/rbi/workos/connection_could_not_be_verified_error_body.rbi +30 -0
- data/rbi/workos/connection_creation_conflict_error_body.rbi +30 -0
- data/rbi/workos/connection_creation_not_found_error_body.rbi +30 -0
- data/rbi/workos/connection_finish_error_body.rbi +30 -0
- data/rbi/workos/connection_type_not_updatable_error_body.rbi +30 -0
- data/rbi/workos/create_magic_code_and_return.rbi +6 -0
- data/rbi/workos/create_oauth_application.rbi +6 -0
- data/rbi/workos/create_password_reset_token.rbi +6 -0
- data/rbi/workos/daily_quota_exceeded_error_body.rbi +30 -0
- data/rbi/workos/data_integration_access_token_response_with_access_token.rbi +30 -0
- data/rbi/workos/data_integration_access_token_response_with_access_token_access_token.rbi +48 -0
- data/rbi/workos/data_integration_access_token_response_with_error.rbi +30 -0
- data/rbi/workos/data_integration_authorize_url_response.rbi +12 -0
- data/rbi/workos/data_integration_credentials_response_with_credential.rbi +30 -0
- data/rbi/workos/data_integration_credentials_response_with_error.rbi +30 -0
- data/rbi/workos/data_integration_finish_connection_response.rbi +24 -0
- data/rbi/workos/data_integration_vended_credential.rbi +6 -6
- data/rbi/workos/data_integrations_finish_connection_request.rbi +36 -0
- data/rbi/workos/data_integrations_get_data_integration_authorize_url_request.rbi +24 -0
- data/rbi/workos/data_integrations_list_response_data_connected_account.rbi +6 -0
- data/rbi/workos/data_integrations_list_response_data_connected_account_warning.rbi +30 -0
- data/rbi/workos/data_integrations_upsert_api_key_request.rbi +12 -0
- data/rbi/workos/data_integrations_upsert_client_credentials_request.rbi +12 -0
- data/rbi/workos/directory_sync.rbi +8 -8
- data/rbi/workos/email_already_in_use_error_body.rbi +30 -0
- data/rbi/workos/email_already_verified_error_body.rbi +30 -0
- data/rbi/workos/email_change_not_allowed_error_body.rbi +30 -0
- data/rbi/workos/email_completion_required_error_body_with_email_completion_token.rbi +36 -0
- data/rbi/workos/email_domain_not_deliverable_error_body.rbi +30 -0
- data/rbi/workos/email_not_available_error_body.rbi +30 -0
- data/rbi/workos/email_password_auth_disabled_error_body.rbi +30 -0
- data/rbi/workos/email_verification_required_error_body.rbi +30 -0
- data/rbi/workos/entity_not_found_error_body.rbi +30 -0
- data/rbi/workos/error_body.rbi +24 -0
- data/rbi/workos/error_body_with_code.rbi +30 -0
- data/rbi/workos/error_body_with_code_errors.rbi +36 -0
- data/rbi/workos/error_body_with_code_field_error.rbi +30 -0
- data/rbi/workos/error_body_with_code_field_errors.rbi +30 -0
- data/rbi/workos/error_body_with_code_instance_path_error.rbi +24 -0
- data/rbi/workos/error_body_with_code_instance_path_errors.rbi +36 -0
- data/rbi/workos/error_body_with_code_status_code.rbi +36 -0
- data/rbi/workos/error_body_with_constraints_property_error.rbi +30 -0
- data/rbi/workos/error_body_with_constraints_property_errors.rbi +30 -0
- data/rbi/workos/error_body_with_error.rbi +30 -0
- data/rbi/workos/error_body_with_error_message_list.rbi +30 -0
- data/rbi/workos/error_body_with_message_or_message_list.rbi +24 -0
- data/rbi/workos/events.rbi +1 -3
- data/rbi/workos/expired_token_oauth_error_body.rbi +30 -0
- data/rbi/workos/external_auth_session_already_completed_error_body.rbi +30 -0
- data/rbi/workos/external_id_already_used_error_body.rbi +30 -0
- data/rbi/workos/extra_attributes_required_oauth_error_body.rbi +30 -0
- data/rbi/workos/feature_flags.rbi +8 -8
- data/rbi/workos/feature_flags_flag_created.rbi +54 -0
- data/rbi/workos/feature_flags_flag_created_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_created_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_created_data.rbi +90 -0
- data/rbi/workos/feature_flags_flag_created_data_owner.rbi +36 -0
- data/rbi/workos/feature_flags_flag_deleted.rbi +54 -0
- data/rbi/workos/feature_flags_flag_deleted_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_deleted_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_deleted_data.rbi +90 -0
- data/rbi/workos/feature_flags_flag_deleted_data_owner.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_created.rbi +54 -0
- data/rbi/workos/feature_flags_flag_rule_created_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_rule_created_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_deleted.rbi +54 -0
- data/rbi/workos/feature_flags_flag_rule_deleted_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_rule_deleted_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_updated.rbi +54 -0
- data/rbi/workos/feature_flags_flag_rule_updated_context.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_updated_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_updated_context_previous_attribute.rbi +24 -0
- data/rbi/workos/feature_flags_flag_rule_updated_context_previous_attribute_data.rbi +24 -0
- data/rbi/workos/feature_flags_flag_target_created.rbi +54 -0
- data/rbi/workos/feature_flags_flag_target_created_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_target_created_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_target_deleted.rbi +54 -0
- data/rbi/workos/feature_flags_flag_target_deleted_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_target_deleted_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_updated.rbi +54 -0
- data/rbi/workos/feature_flags_flag_updated_context.rbi +36 -0
- data/rbi/workos/feature_flags_flag_updated_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_updated_context_previous_attribute.rbi +24 -0
- data/rbi/workos/feature_flags_flag_updated_context_previous_attribute_data.rbi +54 -0
- data/rbi/workos/feature_flags_flag_updated_context_previous_attribute_data_owner.rbi +36 -0
- data/rbi/workos/feature_flags_flag_updated_data.rbi +90 -0
- data/rbi/workos/feature_flags_flag_updated_data_owner.rbi +36 -0
- data/rbi/workos/flag_rule.rbi +84 -0
- data/rbi/workos/flag_target.rbi +90 -0
- data/rbi/workos/flag_target_with_rule_id.rbi +78 -0
- data/rbi/workos/flag_target_with_value_type.rbi +84 -0
- data/rbi/workos/group_role_assignment_list.rbi +36 -0
- data/rbi/workos/groups.rbi +19 -8
- data/rbi/workos/idp_metadata_fetch_failed_error_body.rbi +30 -0
- data/rbi/workos/invalid_client_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_connection_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_credentials_error_body.rbi +30 -0
- data/rbi/workos/invalid_email_error_body.rbi +30 -0
- data/rbi/workos/invalid_grant_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_idp_sso_url_error_body.rbi +30 -0
- data/rbi/workos/invalid_link_authorization_code_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_locale_error_body.rbi +30 -0
- data/rbi/workos/invalid_metadata_error_body.rbi +30 -0
- data/rbi/workos/invalid_one_time_code_error_body.rbi +30 -0
- data/rbi/workos/invalid_organization_id_error_body.rbi +30 -0
- data/rbi/workos/invalid_password_hash_error_body.rbi +30 -0
- data/rbi/workos/invalid_pending_authentication_token_error_body.rbi +30 -0
- data/rbi/workos/invalid_profile_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_refresh_token_error_body.rbi +30 -0
- data/rbi/workos/invalid_request_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_request_parameters_error_body.rbi +30 -0
- data/rbi/workos/invalid_request_parameters_error_body_with_errors.rbi +36 -0
- data/rbi/workos/invalid_role_error_body.rbi +30 -0
- data/rbi/workos/invalid_url_error_body.rbi +30 -0
- data/rbi/workos/invitation_cannot_be_used_for_email_oauth_error_body.rbi +30 -0
- data/rbi/workos/invitation_invalid_oauth_error_body.rbi +30 -0
- data/rbi/workos/it_contact_list.rbi +36 -0
- data/rbi/workos/it_contact_list_list_metadata.rbi +30 -0
- data/rbi/workos/list_metadata.rbi +30 -0
- data/rbi/workos/mfa_challenge_error_body.rbi +30 -0
- data/rbi/workos/mfa_enrollment_error_body.rbi +30 -0
- data/rbi/workos/mfa_enrollment_oauth_error_body.rbi +30 -0
- data/rbi/workos/multi_factor_auth.rbi +7 -7
- data/rbi/workos/multiple_roles_not_enabled_error_body.rbi +30 -0
- data/rbi/workos/must_use_sso_for_selected_organization_message_error_body.rbi +24 -0
- data/rbi/workos/oauth_data_integration_vended_credential.rbi +66 -0
- data/rbi/workos/oauth_error_body.rbi +30 -0
- data/rbi/workos/one_time_code_expired_error_body.rbi +30 -0
- data/rbi/workos/one_time_code_previously_used_error_body.rbi +30 -0
- data/rbi/workos/one_time_code_too_many_attempts_error_body.rbi +30 -0
- data/rbi/workos/organization_authentication_methods_required_oauth_error_body.rbi +30 -0
- data/rbi/workos/organization_connected_account_import_error_body.rbi +30 -0
- data/rbi/workos/organization_domains.rbi +4 -4
- data/rbi/workos/organization_membership_not_found_oauth_error_body.rbi +30 -0
- data/rbi/workos/organization_membership_service.rbi +8 -8
- data/rbi/workos/organization_not_found_oauth_error_body.rbi +30 -0
- data/rbi/workos/organization_selection_required_error_body.rbi +30 -0
- data/rbi/workos/organization_selection_required_error_body_with_organization.rbi +30 -0
- data/rbi/workos/organization_selection_required_error_body_with_organizations.rbi +36 -0
- data/rbi/workos/organizations.rbi +13 -13
- data/rbi/workos/passkey_progressive_enrollment_error_body.rbi +30 -0
- data/rbi/workos/password_and_password_hash_provided_error_body.rbi +30 -0
- data/rbi/workos/password_and_password_hash_type_provided_error_body.rbi +30 -0
- data/rbi/workos/password_salt_position_requires_password_hash_error_body.rbi +30 -0
- data/rbi/workos/password_strength_error_error_body_with_errors.rbi +36 -0
- data/rbi/workos/patch_group_memberships.rbi +30 -0
- data/rbi/workos/patch_group_role_assignments.rbi +30 -0
- data/rbi/workos/phone_number_required_error_body.rbi +30 -0
- data/rbi/workos/pipes.rbi +51 -33
- data/rbi/workos/pipes_provider.rbi +2 -2
- data/rbi/workos/pkce_not_supported_oauth_error_body.rbi +30 -0
- data/rbi/workos/platform_teams.rbi +2 -2
- data/rbi/workos/policy_denied_error_body.rbi +30 -0
- data/rbi/workos/radar.rbi +4 -4
- data/rbi/workos/radar_challenge_error_body.rbi +30 -0
- data/rbi/workos/radar_sign_up_challenge_error_body.rbi +30 -0
- data/rbi/workos/radar_sms_sign_in_challenge_error_body.rbi +30 -0
- data/rbi/workos/rate_limit_exceeded_error_body_with_retry_after.rbi +36 -0
- data/rbi/workos/send_email_change.rbi +6 -0
- data/rbi/workos/send_verification_email.rbi +24 -0
- data/rbi/workos/sign_up_not_allowed_oauth_error_body.rbi +30 -0
- data/rbi/workos/slow_down_oauth_error_body.rbi +30 -0
- data/rbi/workos/sms_challenge_quota_reached_error_body.rbi +30 -0
- data/rbi/workos/sms_challenge_rate_limited_error_body.rbi +30 -0
- data/rbi/workos/sso.rbi +18 -18
- data/rbi/workos/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rbi +48 -0
- data/rbi/workos/sub_resource_scoped_role_not_allowed_error_body_with_role_slug.rbi +36 -0
- data/rbi/workos/token_too_big_oauth_error_body.rbi +30 -0
- data/rbi/workos/too_many_failed_verification_attempts_error_body_with_retry_after.rbi +36 -0
- data/rbi/workos/too_many_requests_oauth_error_body.rbi +30 -0
- data/rbi/workos/unauthorized_client_oauth_error_body.rbi +30 -0
- data/rbi/workos/unauthorized_error_body.rbi +24 -0
- data/rbi/workos/update_audit_logs_retention_with_retention_period.rbi +24 -0
- data/rbi/workos/update_audit_logs_retention_with_retention_period_in_days.rbi +24 -0
- data/rbi/workos/update_oauth_application.rbi +6 -0
- data/rbi/workos/update_user_organization_membership_with_role_slug.rbi +24 -0
- data/rbi/workos/update_user_organization_membership_with_role_slugs.rbi +24 -0
- data/rbi/workos/user_connected_account_import_error_body.rbi +30 -0
- data/rbi/workos/user_consent_options_not_supported_error_body.rbi +30 -0
- data/rbi/workos/user_creation_error_error_body_with_errors.rbi +36 -0
- data/rbi/workos/user_management.rbi +77 -61
- data/rbi/workos/user_mismatch_error_body.rbi +30 -0
- data/rbi/workos/vault.rbi +11 -11
- data/rbi/workos/verification_id_required_error_body.rbi +30 -0
- data/rbi/workos/version_list_response.rbi +30 -0
- data/rbi/workos/waitlist_list_response.rbi +36 -0
- data/rbi/workos/waitlist_list_response_list_metadata.rbi +30 -0
- data/rbi/workos/webhooks.rbi +4 -4
- data/rbi/workos/widgets.rbi +1 -1
- data/test/workos/test_agents_model_round_trip.rb +11 -0
- data/test/workos/test_api_keys_model_round_trip.rb +14 -0
- data/test/workos/test_authorization.rb +8 -0
- data/test/workos/test_authorization_model_round_trip.rb +23 -0
- data/test/workos/test_base_client.rb +4 -3
- data/test/workos/test_connect_model_round_trip.rb +3 -1
- data/test/workos/test_feature_flags_model_round_trip.rb +107 -0
- data/test/workos/test_groups.rb +8 -0
- data/test/workos/test_groups_model_round_trip.rb +11 -0
- data/test/workos/test_organizations_model_round_trip.rb +111 -0
- data/test/workos/test_pipes.rb +8 -0
- data/test/workos/test_pipes_model_round_trip.rb +94 -200
- data/test/workos/test_shared_model_round_trip.rb +2051 -432
- data/test/workos/test_sso_model_round_trip.rb +60 -0
- data/test/workos/test_user_management_model_round_trip.rb +297 -3
- data/test/workos/test_vault_model_round_trip.rb +30 -0
- metadata +376 -26
- data/lib/workos/pipes/add_data_integrations_get_data_integration_authorize_url_request.rb +0 -37
- data/lib/workos/pipes/connected_account_write_response.rb +0 -73
- data/lib/workos/pipes/data_integrations_upsert_api_key_request_2.rb +0 -37
- data/lib/workos/pipes/data_integrations_upsert_client_credentials_request_2.rb +0 -43
- data/lib/workos/pipes/reauthorize_data_integrations_get_data_integration_authorize_url_request.rb +0 -40
- data/lib/workos/pipes/reauthorize_data_integrations_upsert_api_key_request.rb +0 -40
- data/lib/workos/pipes/reauthorize_data_integrations_upsert_client_credentials_request.rb +0 -46
- data/lib/workos/types/add_data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +0 -13
- data/lib/workos/types/data_integrations_upsert_api_key_request_2_connection_owner.rb +0 -9
- data/lib/workos/types/data_integrations_upsert_client_credentials_request_2_connection_owner.rb +0 -9
- data/lib/workos/types/reauthorize_data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +0 -9
- data/lib/workos/types/reauthorize_data_integrations_upsert_api_key_request_connection_owner.rb +0 -9
- data/lib/workos/types/reauthorize_data_integrations_upsert_client_credentials_request_connection_owner.rb +0 -9
- data/rbi/workos/add_data_integrations_get_data_integration_authorize_url_request.rbi +0 -60
- data/rbi/workos/connected_account_write_response.rbi +0 -132
- data/rbi/workos/data_integrations_upsert_api_key_request_2.rbi +0 -60
- data/rbi/workos/data_integrations_upsert_client_credentials_request_2.rbi +0 -72
- data/rbi/workos/reauthorize_data_integrations_get_data_integration_authorize_url_request.rbi +0 -66
- data/rbi/workos/reauthorize_data_integrations_upsert_api_key_request.rbi +0 -66
- data/rbi/workos/reauthorize_data_integrations_upsert_client_credentials_request.rbi +0 -78
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
module Types
|
|
7
|
+
class ErrorBodyCode
|
|
8
|
+
ACCOUNT_SELECTION_REQUIRED = "account_selection_required"
|
|
9
|
+
ACTION_DENIED = "action_denied"
|
|
10
|
+
ALREADY_CLAIMED = "already_claimed"
|
|
11
|
+
AMBIGUOUS_SAML_OPTIONS = "ambiguous_saml_options"
|
|
12
|
+
API_KEY_ALREADY_EXPIRED = "api_key_already_expired"
|
|
13
|
+
APPLICATION_CONSENT_REQUIRED = "application_consent_required"
|
|
14
|
+
AUTH_METHOD_DISABLED = "auth_method_disabled"
|
|
15
|
+
AUTH_METHOD_MISMATCH = "auth_method_mismatch"
|
|
16
|
+
AUTHENTICATION_METHOD_NOT_ALLOWED = "authentication_method_not_allowed"
|
|
17
|
+
AUTHORIZATION_RESOURCE_EXTERNAL_ID_CONFLICT = "authorization_resource_external_id_conflict"
|
|
18
|
+
BAD_REQUEST = "bad_request"
|
|
19
|
+
BOTH_SAML_AND_OIDC_OPTIONS_PROVIDED = "both_saml_and_oidc_options_provided"
|
|
20
|
+
CANNOT_DEACTIVATE_PENDING_ORGANIZATION_MEMBERSHIP = "cannot_deactivate_pending_organization_membership"
|
|
21
|
+
CANNOT_DELETE_LAST_CERTIFICATE = "cannot_delete_last_certificate"
|
|
22
|
+
CANNOT_REACTIVATE_PENDING_ORGANIZATION_MEMBERSHIP = "cannot_reactivate_pending_organization_membership"
|
|
23
|
+
CERTIFICATE_EXPIRED = "certificate_expired"
|
|
24
|
+
CHAIN_DEPTH_EXCEEDED = "chain_depth_exceeded"
|
|
25
|
+
CLAIM_DENIED = "claim_denied"
|
|
26
|
+
CLAIM_EXPIRED = "claim_expired"
|
|
27
|
+
CLIENT_SECRET_NOT_ACCEPTED = "client_secret_not_accepted"
|
|
28
|
+
CLIENT_SECRET_REQUIRED = "client_secret_required"
|
|
29
|
+
CODE_CHALLENGE_NOT_FOUND = "code_challenge_not_found"
|
|
30
|
+
CONCURRENT_FLAG_TARGET_UPDATE = "concurrent_flag_target_update"
|
|
31
|
+
CONCURRENT_REQUEST = "concurrent_request"
|
|
32
|
+
CONNECTED_ACCOUNT_LIMIT_REACHED = "connected_account_limit_reached"
|
|
33
|
+
CONNECTION_COULD_NOT_BE_VERIFIED = "connection_could_not_be_verified"
|
|
34
|
+
CONNECTION_DELETION_IN_PROGRESS = "connection_deletion_in_progress"
|
|
35
|
+
CONNECTION_IS_NOT_SAML = "connection_is_not_saml"
|
|
36
|
+
CONNECTION_TYPE_CONFLICTS_WITH_OPTIONS = "connection_type_conflicts_with_options"
|
|
37
|
+
CONNECTION_TYPE_NOT_SUPPORTED = "connection_type_not_supported"
|
|
38
|
+
CONNECTION_TYPE_NOT_UPDATABLE = "connection_type_not_updatable"
|
|
39
|
+
CONNECTION_TYPE_OR_OPTIONS_REQUIRED = "connection_type_or_options_required"
|
|
40
|
+
DAILY_QUOTA_EXCEEDED = "daily_quota_exceeded"
|
|
41
|
+
DIRECTORY_SYNC_DISABLED = "directory_sync_disabled"
|
|
42
|
+
DIRECTORY_SYNC_IN_PROGRESS = "directory_sync_in_progress"
|
|
43
|
+
DIRECTORY_SYNC_RATE_LIMITED = "directory_sync_rate_limited"
|
|
44
|
+
DIRECTORY_SYNC_UNSUPPORTED = "directory_sync_unsupported"
|
|
45
|
+
DISCOVERY_ENDPOINT_MUST_USE_HTTPS = "discovery_endpoint_must_use_https"
|
|
46
|
+
DOMAIN_ALREADY_EXISTS = "domain_already_exists"
|
|
47
|
+
DOMAIN_ALREADY_VERIFIED = "domain_already_verified"
|
|
48
|
+
DUPLICATE_ENDPOINT = "duplicate_endpoint"
|
|
49
|
+
DUPLICATE_GROUP_ROLE_ASSIGNMENT = "duplicate_group_role_assignment"
|
|
50
|
+
EMAIL_ALREADY_IN_USE = "email_already_in_use"
|
|
51
|
+
EMAIL_ALREADY_INVITED = "email_already_invited"
|
|
52
|
+
EMAIL_ALREADY_INVITED_TO_ORGANIZATION = "email_already_invited_to_organization"
|
|
53
|
+
EMAIL_ALREADY_VERIFIED = "email_already_verified"
|
|
54
|
+
EMAIL_CHANGE_CODE_EXPIRED = "email_change_code_expired"
|
|
55
|
+
EMAIL_CHANGE_CODE_INCORRECT = "email_change_code_incorrect"
|
|
56
|
+
EMAIL_CHANGE_CODE_PREVIOUSLY_USED = "email_change_code_previously_used"
|
|
57
|
+
EMAIL_CHANGE_NOT_ALLOWED = "email_change_not_allowed"
|
|
58
|
+
EMAIL_CHANGE_NOT_NEEDED = "email_change_not_needed"
|
|
59
|
+
EMAIL_CHANGE_TOO_MANY_ATTEMPTS = "email_change_too_many_attempts"
|
|
60
|
+
EMAIL_COMPLETION_REQUIRED = "email_completion_required"
|
|
61
|
+
EMAIL_DOMAIN_NOT_DELIVERABLE = "email_domain_not_deliverable"
|
|
62
|
+
EMAIL_MISMATCH = "email_mismatch"
|
|
63
|
+
EMAIL_NOT_AVAILABLE = "email_not_available"
|
|
64
|
+
EMAIL_PASSWORD_AUTH_DISABLED = "email_password_auth_disabled"
|
|
65
|
+
EMAIL_PREVIOUSLY_VERIFIED = "email_previously_verified"
|
|
66
|
+
EMAIL_VERIFICATION_CODE_EXPIRED = "email_verification_code_expired"
|
|
67
|
+
EMAIL_VERIFICATION_CODE_INCORRECT = "email_verification_code_incorrect"
|
|
68
|
+
EMAIL_VERIFICATION_CODE_PREVIOUSLY_USED = "email_verification_code_previously_used"
|
|
69
|
+
EMAIL_VERIFICATION_REQUIRED = "email_verification_required"
|
|
70
|
+
ENTITY_NOT_FOUND = "entity_not_found"
|
|
71
|
+
EXPIRES_IN_DAYS_TOO_LONG = "expires_in_days_too_long"
|
|
72
|
+
EXPIRES_IN_DAYS_TOO_SHORT = "expires_in_days_too_short"
|
|
73
|
+
EXTERNAL_AUTH_SESSION_ALREADY_COMPLETED = "external_auth_session_already_completed"
|
|
74
|
+
EXTERNAL_ID_ALREADY_IN_USE = "external_id_already_in_use"
|
|
75
|
+
EXTERNAL_ID_ALREADY_USED = "external_id_already_used"
|
|
76
|
+
GROUP_MEMBERSHIP_LIMIT_EXCEEDED = "group_membership_limit_exceeded"
|
|
77
|
+
GROUP_MEMBERSHIP_UPDATE_OVERLAP = "group_membership_update_overlap"
|
|
78
|
+
GROUP_ROLE_ASSIGNMENT_UPDATE_OVERLAP = "group_role_assignment_update_overlap"
|
|
79
|
+
ID_TOKEN_SIGNATURE_ALGORITHM_NOT_SUPPORTED = "id_token_signature_algorithm_not_supported"
|
|
80
|
+
IDP_METADATA_FETCH_FAILED = "idp_metadata_fetch_failed"
|
|
81
|
+
INCOMPLETE_SAML_OPTIONS = "incomplete_saml_options"
|
|
82
|
+
INVALID_AGENT_ACCESS_TOKEN = "invalid_agent_access_token"
|
|
83
|
+
INVALID_CERTIFICATE = "invalid_certificate"
|
|
84
|
+
INVALID_CLAIM = "invalid_claim"
|
|
85
|
+
INVALID_CREDENTIALS = "invalid_credentials"
|
|
86
|
+
INVALID_EMAIL = "invalid_email"
|
|
87
|
+
INVALID_IDP_SSO_URL = "invalid_idp_sso_url"
|
|
88
|
+
INVALID_INVITE = "invalid_invite"
|
|
89
|
+
INVALID_LOCALE = "invalid_locale"
|
|
90
|
+
INVALID_METADATA = "invalid_metadata"
|
|
91
|
+
INVALID_ONE_TIME_CODE = "invalid_one_time_code"
|
|
92
|
+
INVALID_ORGANIZATION = "invalid_organization"
|
|
93
|
+
INVALID_ORGANIZATION_ID = "invalid_organization_id"
|
|
94
|
+
INVALID_PASSWORD_HASH = "invalid_password_hash"
|
|
95
|
+
INVALID_PENDING_AUTHENTICATION_TOKEN = "invalid_pending_authentication_token"
|
|
96
|
+
INVALID_REFRESH_TOKEN = "invalid_refresh_token"
|
|
97
|
+
INVALID_REQUEST = "invalid_request"
|
|
98
|
+
INVALID_REQUEST_PARAMETERS = "invalid_request_parameters"
|
|
99
|
+
INVALID_ROLE = "invalid_role"
|
|
100
|
+
INVALID_STATE = "invalid_state"
|
|
101
|
+
INVALID_URL = "invalid_url"
|
|
102
|
+
INVALID_USER_ACCESS_TOKEN = "invalid_user_access_token"
|
|
103
|
+
INVITATION_EMAIL_NOT_SENT = "invitation_email_not_sent"
|
|
104
|
+
INVITE_ACCEPTED = "invite_accepted"
|
|
105
|
+
INVITE_EXPIRED = "invite_expired"
|
|
106
|
+
INVITE_HAS_ACCEPTED_USER_ID = "invite_has_accepted_user_id"
|
|
107
|
+
INVITE_NOT_PENDING = "invite_not_pending"
|
|
108
|
+
INVITE_REVOKED = "invite_revoked"
|
|
109
|
+
IP_ADDRESS_REQUIRED = "ip_address_required"
|
|
110
|
+
IT_CONTACT_ALREADY_EXISTS = "it_contact_already_exists"
|
|
111
|
+
IT_CONTACT_INVITATION_ALREADY_ACTIVE = "it_contact_invitation_already_active"
|
|
112
|
+
KEY_PAIR_NOT_ACCEPTED = "key_pair_not_accepted"
|
|
113
|
+
LOCK_TIMEOUT = "lock_timeout"
|
|
114
|
+
MAX_AGE_EXCEEDED = "max_age_exceeded"
|
|
115
|
+
MFA_CHALLENGE = "mfa_challenge"
|
|
116
|
+
MFA_ENROLLMENT = "mfa_enrollment"
|
|
117
|
+
MISSING_ORGANIZATION_ID_OR_RESOURCE_TYPE_SLUG = "missing_organization_id_or_resource_type_slug"
|
|
118
|
+
MISSING_USER_ID_OR_ORGANIZATION_ID = "missing_user_id_or_organization_id"
|
|
119
|
+
MULTIPLE_ROLES_NOT_ENABLED = "multiple_roles_not_enabled"
|
|
120
|
+
NAME_ALREADY_IN_USE = "name_already_in_use"
|
|
121
|
+
NO_PENDING_EMAIL_CHANGE = "no_pending_email_change"
|
|
122
|
+
OIDC_OPTIONS_REQUIRED = "oidc_options_required"
|
|
123
|
+
ONE_TIME_CODE_EXPIRED = "one_time_code_expired"
|
|
124
|
+
ONE_TIME_CODE_PREVIOUSLY_USED = "one_time_code_previously_used"
|
|
125
|
+
ONE_TIME_CODE_TOO_MANY_ATTEMPTS = "one_time_code_too_many_attempts"
|
|
126
|
+
ORGANIZATION_BLOCKED_FROM_SENDING_INVITES = "organization_blocked_from_sending_invites"
|
|
127
|
+
ORGANIZATION_MEMBERSHIP_DIRECTORY_MANAGED = "organization_membership_directory_managed"
|
|
128
|
+
ORGANIZATION_NOT_FOUND = "organization_not_found"
|
|
129
|
+
ORGANIZATION_NOT_INVOCABLE = "organization_not_invocable"
|
|
130
|
+
ORGANIZATION_ROLE_SLUG_CONFLICT = "organization_role_slug_conflict"
|
|
131
|
+
ORGANIZATION_SELECTION_REQUIRED = "organization_selection_required"
|
|
132
|
+
PASSKEY_PROGRESSIVE_ENROLLMENT = "passkey_progressive_enrollment"
|
|
133
|
+
PASSWORD_AND_PASSWORD_HASH_PROVIDED = "password_and_password_hash_provided"
|
|
134
|
+
PASSWORD_AND_PASSWORD_HASH_TYPE_PROVIDED = "password_and_password_hash_type_provided"
|
|
135
|
+
PASSWORD_RESET_ERROR = "password_reset_error"
|
|
136
|
+
PASSWORD_RESET_NOT_ALLOWED = "password_reset_not_allowed"
|
|
137
|
+
PASSWORD_SALT_POSITION_REQUIRES_PASSWORD_HASH = "password_salt_position_requires_password_hash"
|
|
138
|
+
PASSWORD_STRENGTH_ERROR = "password_strength_error"
|
|
139
|
+
PERMISSION_NOT_FOUND = "permission_not_found"
|
|
140
|
+
PERMISSION_SLUG_CONFLICT = "permission_slug_conflict"
|
|
141
|
+
PHONE_NUMBER_REQUIRED = "phone_number_required"
|
|
142
|
+
POLICY_DENIED = "policy_denied"
|
|
143
|
+
PRODUCTION_FEATURE_REQUIRES_BILLING = "production_feature_requires_billing"
|
|
144
|
+
RADAR_CHALLENGE = "radar_challenge"
|
|
145
|
+
RADAR_SIGN_UP_CHALLENGE = "radar_sign_up_challenge"
|
|
146
|
+
RADAR_SMS_SIGN_IN_CHALLENGE = "radar_sms_sign_in_challenge"
|
|
147
|
+
RATE_LIMIT_EXCEEDED = "rate_limit_exceeded"
|
|
148
|
+
RESOURCE_HAS_DEPENDENTS = "resource_has_dependents"
|
|
149
|
+
RESOURCE_LIMIT_EXCEEDED = "resource_limit_exceeded"
|
|
150
|
+
RESOURCE_TYPE_UPDATE_IN_PROGRESS = "resource_type_update_in_progress"
|
|
151
|
+
ROLE_HAS_ASSIGNMENTS = "role_has_assignments"
|
|
152
|
+
ROLE_HAS_GROUP_ROLE_MAPPINGS = "role_has_group_role_mappings"
|
|
153
|
+
ROLE_NOT_FOUND = "role_not_found"
|
|
154
|
+
ROLE_NOT_INVOCABLE = "role_not_invocable"
|
|
155
|
+
ROLE_SLUG_CONFLICT = "role_slug_conflict"
|
|
156
|
+
SAML_OPTIONS_REQUIRED = "saml_options_required"
|
|
157
|
+
SESSION_EXPIRED = "session_expired"
|
|
158
|
+
SESSION_REVOKED = "session_revoked"
|
|
159
|
+
SESSION_SETTINGS_NOT_FOUND = "session_settings_not_found"
|
|
160
|
+
SMS_CHALLENGE_QUOTA_REACHED = "sms_challenge_quota_reached"
|
|
161
|
+
SMS_CHALLENGE_RATE_LIMITED = "sms_challenge_rate_limited"
|
|
162
|
+
SP_SIGNING_CERT_ALREADY_EXISTS = "sp_signing_cert_already_exists"
|
|
163
|
+
STRIPE_CUSTOMER_ID_ALREADY_USED = "stripe_customer_id_already_used"
|
|
164
|
+
SUB_RESOURCE_SCOPED_ROLE_NOT_ALLOWED = "sub_resource_scoped_role_not_allowed"
|
|
165
|
+
TEAM_NOT_FOUND = "team_not_found"
|
|
166
|
+
TOKEN_AUTHENTICATION_METHOD_NOT_SUPPORTED = "token_authentication_method_not_supported"
|
|
167
|
+
TOO_MANY_FAILED_VERIFICATION_ATTEMPTS = "too_many_failed_verification_attempts"
|
|
168
|
+
TOO_MANY_SP_ENCRYPTION_CERTS = "too_many_sp_encryption_certs"
|
|
169
|
+
UNSUPPORTED_INVOCATION_TYPE = "unsupported_invocation_type"
|
|
170
|
+
USER_ALREADY_EXISTS = "user_already_exists"
|
|
171
|
+
USER_ALREADY_ORGANIZATION_MEMBER = "user_already_organization_member"
|
|
172
|
+
USER_CODE_EXPIRED = "user_code_expired"
|
|
173
|
+
USER_CONSENT_OPTIONS_NOT_SUPPORTED = "user_consent_options_not_supported"
|
|
174
|
+
USER_CREATION_ERROR = "user_creation_error"
|
|
175
|
+
USER_MISMATCH = "user_mismatch"
|
|
176
|
+
USER_NOT_MEMBER_OF_ORGANIZATION = "user_not_member_of_organization"
|
|
177
|
+
USER_SESSION_ENDED = "user_session_ended"
|
|
178
|
+
VERIFICATION_ID_REQUIRED = "verification_id_required"
|
|
179
|
+
WRONG_ACCOUNT = "wrong_account"
|
|
180
|
+
ALL = [ACCOUNT_SELECTION_REQUIRED, ACTION_DENIED, ALREADY_CLAIMED, AMBIGUOUS_SAML_OPTIONS, API_KEY_ALREADY_EXPIRED, APPLICATION_CONSENT_REQUIRED, AUTH_METHOD_DISABLED, AUTH_METHOD_MISMATCH, AUTHENTICATION_METHOD_NOT_ALLOWED, AUTHORIZATION_RESOURCE_EXTERNAL_ID_CONFLICT, BAD_REQUEST, BOTH_SAML_AND_OIDC_OPTIONS_PROVIDED, CANNOT_DEACTIVATE_PENDING_ORGANIZATION_MEMBERSHIP, CANNOT_DELETE_LAST_CERTIFICATE, CANNOT_REACTIVATE_PENDING_ORGANIZATION_MEMBERSHIP, CERTIFICATE_EXPIRED, CHAIN_DEPTH_EXCEEDED, CLAIM_DENIED, CLAIM_EXPIRED, CLIENT_SECRET_NOT_ACCEPTED, CLIENT_SECRET_REQUIRED, CODE_CHALLENGE_NOT_FOUND, CONCURRENT_FLAG_TARGET_UPDATE, CONCURRENT_REQUEST, CONNECTED_ACCOUNT_LIMIT_REACHED, CONNECTION_COULD_NOT_BE_VERIFIED, CONNECTION_DELETION_IN_PROGRESS, CONNECTION_IS_NOT_SAML, CONNECTION_TYPE_CONFLICTS_WITH_OPTIONS, CONNECTION_TYPE_NOT_SUPPORTED, CONNECTION_TYPE_NOT_UPDATABLE, CONNECTION_TYPE_OR_OPTIONS_REQUIRED, DAILY_QUOTA_EXCEEDED, DIRECTORY_SYNC_DISABLED, DIRECTORY_SYNC_IN_PROGRESS, DIRECTORY_SYNC_RATE_LIMITED, DIRECTORY_SYNC_UNSUPPORTED, DISCOVERY_ENDPOINT_MUST_USE_HTTPS, DOMAIN_ALREADY_EXISTS, DOMAIN_ALREADY_VERIFIED, DUPLICATE_ENDPOINT, DUPLICATE_GROUP_ROLE_ASSIGNMENT, EMAIL_ALREADY_IN_USE, EMAIL_ALREADY_INVITED, EMAIL_ALREADY_INVITED_TO_ORGANIZATION, EMAIL_ALREADY_VERIFIED, EMAIL_CHANGE_CODE_EXPIRED, EMAIL_CHANGE_CODE_INCORRECT, EMAIL_CHANGE_CODE_PREVIOUSLY_USED, EMAIL_CHANGE_NOT_ALLOWED, EMAIL_CHANGE_NOT_NEEDED, EMAIL_CHANGE_TOO_MANY_ATTEMPTS, EMAIL_COMPLETION_REQUIRED, EMAIL_DOMAIN_NOT_DELIVERABLE, EMAIL_MISMATCH, EMAIL_NOT_AVAILABLE, EMAIL_PASSWORD_AUTH_DISABLED, EMAIL_PREVIOUSLY_VERIFIED, EMAIL_VERIFICATION_CODE_EXPIRED, EMAIL_VERIFICATION_CODE_INCORRECT, EMAIL_VERIFICATION_CODE_PREVIOUSLY_USED, EMAIL_VERIFICATION_REQUIRED, ENTITY_NOT_FOUND, EXPIRES_IN_DAYS_TOO_LONG, EXPIRES_IN_DAYS_TOO_SHORT, EXTERNAL_AUTH_SESSION_ALREADY_COMPLETED, EXTERNAL_ID_ALREADY_IN_USE, EXTERNAL_ID_ALREADY_USED, GROUP_MEMBERSHIP_LIMIT_EXCEEDED, GROUP_MEMBERSHIP_UPDATE_OVERLAP, GROUP_ROLE_ASSIGNMENT_UPDATE_OVERLAP, ID_TOKEN_SIGNATURE_ALGORITHM_NOT_SUPPORTED, IDP_METADATA_FETCH_FAILED, INCOMPLETE_SAML_OPTIONS, INVALID_AGENT_ACCESS_TOKEN, INVALID_CERTIFICATE, INVALID_CLAIM, INVALID_CREDENTIALS, INVALID_EMAIL, INVALID_IDP_SSO_URL, INVALID_INVITE, INVALID_LOCALE, INVALID_METADATA, INVALID_ONE_TIME_CODE, INVALID_ORGANIZATION, INVALID_ORGANIZATION_ID, INVALID_PASSWORD_HASH, INVALID_PENDING_AUTHENTICATION_TOKEN, INVALID_REFRESH_TOKEN, INVALID_REQUEST, INVALID_REQUEST_PARAMETERS, INVALID_ROLE, INVALID_STATE, INVALID_URL, INVALID_USER_ACCESS_TOKEN, INVITATION_EMAIL_NOT_SENT, INVITE_ACCEPTED, INVITE_EXPIRED, INVITE_HAS_ACCEPTED_USER_ID, INVITE_NOT_PENDING, INVITE_REVOKED, IP_ADDRESS_REQUIRED, IT_CONTACT_ALREADY_EXISTS, IT_CONTACT_INVITATION_ALREADY_ACTIVE, KEY_PAIR_NOT_ACCEPTED, LOCK_TIMEOUT, MAX_AGE_EXCEEDED, MFA_CHALLENGE, MFA_ENROLLMENT, MISSING_ORGANIZATION_ID_OR_RESOURCE_TYPE_SLUG, MISSING_USER_ID_OR_ORGANIZATION_ID, MULTIPLE_ROLES_NOT_ENABLED, NAME_ALREADY_IN_USE, NO_PENDING_EMAIL_CHANGE, OIDC_OPTIONS_REQUIRED, ONE_TIME_CODE_EXPIRED, ONE_TIME_CODE_PREVIOUSLY_USED, ONE_TIME_CODE_TOO_MANY_ATTEMPTS, ORGANIZATION_BLOCKED_FROM_SENDING_INVITES, ORGANIZATION_MEMBERSHIP_DIRECTORY_MANAGED, ORGANIZATION_NOT_FOUND, ORGANIZATION_NOT_INVOCABLE, ORGANIZATION_ROLE_SLUG_CONFLICT, ORGANIZATION_SELECTION_REQUIRED, PASSKEY_PROGRESSIVE_ENROLLMENT, PASSWORD_AND_PASSWORD_HASH_PROVIDED, PASSWORD_AND_PASSWORD_HASH_TYPE_PROVIDED, PASSWORD_RESET_ERROR, PASSWORD_RESET_NOT_ALLOWED, PASSWORD_SALT_POSITION_REQUIRES_PASSWORD_HASH, PASSWORD_STRENGTH_ERROR, PERMISSION_NOT_FOUND, PERMISSION_SLUG_CONFLICT, PHONE_NUMBER_REQUIRED, POLICY_DENIED, PRODUCTION_FEATURE_REQUIRES_BILLING, RADAR_CHALLENGE, RADAR_SIGN_UP_CHALLENGE, RADAR_SMS_SIGN_IN_CHALLENGE, RATE_LIMIT_EXCEEDED, RESOURCE_HAS_DEPENDENTS, RESOURCE_LIMIT_EXCEEDED, RESOURCE_TYPE_UPDATE_IN_PROGRESS, ROLE_HAS_ASSIGNMENTS, ROLE_HAS_GROUP_ROLE_MAPPINGS, ROLE_NOT_FOUND, ROLE_NOT_INVOCABLE, ROLE_SLUG_CONFLICT, SAML_OPTIONS_REQUIRED, SESSION_EXPIRED, SESSION_REVOKED, SESSION_SETTINGS_NOT_FOUND, SMS_CHALLENGE_QUOTA_REACHED, SMS_CHALLENGE_RATE_LIMITED, SP_SIGNING_CERT_ALREADY_EXISTS, STRIPE_CUSTOMER_ID_ALREADY_USED, SUB_RESOURCE_SCOPED_ROLE_NOT_ALLOWED, TEAM_NOT_FOUND, TOKEN_AUTHENTICATION_METHOD_NOT_SUPPORTED, TOO_MANY_FAILED_VERIFICATION_ATTEMPTS, TOO_MANY_SP_ENCRYPTION_CERTS, UNSUPPORTED_INVOCATION_TYPE, USER_ALREADY_EXISTS, USER_ALREADY_ORGANIZATION_MEMBER, USER_CODE_EXPIRED, USER_CONSENT_OPTIONS_NOT_SUPPORTED, USER_CREATION_ERROR, USER_MISMATCH, USER_NOT_MEMBER_OF_ORGANIZATION, USER_SESSION_ENDED, VERIFICATION_ID_REQUIRED, WRONG_ACCOUNT].freeze
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
module Types
|
|
7
|
+
class OrganizationConnectedAccountImportErrorBodyCode
|
|
8
|
+
INVALID_TOKEN_COMBINATION = "invalid_token_combination"
|
|
9
|
+
INVALID_DATA_INTEGRATION_STATE = "invalid_data_integration_state"
|
|
10
|
+
CLIENT_CREDENTIALS_NOT_CONFIGURED = "client_credentials_not_configured"
|
|
11
|
+
ALL = [INVALID_TOKEN_COMBINATION, INVALID_DATA_INTEGRATION_STATE, CLIENT_CREDENTIALS_NOT_CONFIGURED].freeze
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -13,7 +13,9 @@ module WorkOS
|
|
|
13
13
|
CONNECTIONS = "connections"
|
|
14
14
|
DIRECTORY_USERS = "directoryUsers"
|
|
15
15
|
SCIM_LOGS = "scimLogs"
|
|
16
|
-
|
|
16
|
+
RADAR_DETECTIONS = "radarDetections"
|
|
17
|
+
TEAM_ACTIVITY_LOG_EVENTS = "teamActivityLogEvents"
|
|
18
|
+
ALL = [USERS, ORGANIZATIONS, EVENTS, SESSIONS, AUDIT_LOG_EVENTS, CONNECTIONS, DIRECTORY_USERS, SCIM_LOGS, RADAR_DETECTIONS, TEAM_ACTIVITY_LOG_EVENTS].freeze
|
|
17
19
|
end
|
|
18
20
|
end
|
|
19
21
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
module Types
|
|
7
|
+
class UserConnectedAccountImportErrorBodyCode
|
|
8
|
+
INVALID_REFRESH_TOKEN = "invalid_refresh_token"
|
|
9
|
+
INVALID_TOKEN_COMBINATION = "invalid_token_combination"
|
|
10
|
+
INVALID_DATA_INTEGRATION_STATE = "invalid_data_integration_state"
|
|
11
|
+
CLIENT_CREDENTIALS_NOT_CONFIGURED = "client_credentials_not_configured"
|
|
12
|
+
ALL = [INVALID_REFRESH_TOKEN, INVALID_TOKEN_COMBINATION, INVALID_DATA_INTEGRATION_STATE, CLIENT_CREDENTIALS_NOT_CONFIGURED].freeze
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -6,13 +6,15 @@ module WorkOS
|
|
|
6
6
|
module Types
|
|
7
7
|
class WidgetSessionTokenScopes
|
|
8
8
|
WIDGETS_USERS_TABLE_MANAGE = "widgets:users-table:manage"
|
|
9
|
+
WIDGETS_USER_API_KEYS_MANAGE_SELF = "widgets:user-api-keys:manage-self"
|
|
10
|
+
WIDGETS_USER_API_KEYS_MANAGE_ALL = "widgets:user-api-keys:manage-all"
|
|
9
11
|
WIDGETS_DOMAIN_VERIFICATION_MANAGE = "widgets:domain-verification:manage"
|
|
10
12
|
WIDGETS_SSO_MANAGE = "widgets:sso:manage"
|
|
11
13
|
WIDGETS_API_KEYS_MANAGE = "widgets:api-keys:manage"
|
|
12
14
|
WIDGETS_DSYNC_MANAGE = "widgets:dsync:manage"
|
|
13
15
|
WIDGETS_AUDIT_LOG_STREAMING_MANAGE = "widgets:audit-log-streaming:manage"
|
|
14
16
|
WIDGETS_PIPES_MANAGE = "widgets:pipes:manage"
|
|
15
|
-
ALL = [WIDGETS_USERS_TABLE_MANAGE, WIDGETS_DOMAIN_VERIFICATION_MANAGE, WIDGETS_SSO_MANAGE, WIDGETS_API_KEYS_MANAGE, WIDGETS_DSYNC_MANAGE, WIDGETS_AUDIT_LOG_STREAMING_MANAGE, WIDGETS_PIPES_MANAGE].freeze
|
|
17
|
+
ALL = [WIDGETS_USERS_TABLE_MANAGE, WIDGETS_USER_API_KEYS_MANAGE_SELF, WIDGETS_USER_API_KEYS_MANAGE_ALL, WIDGETS_DOMAIN_VERIFICATION_MANAGE, WIDGETS_SSO_MANAGE, WIDGETS_API_KEYS_MANAGE, WIDGETS_DSYNC_MANAGE, WIDGETS_AUDIT_LOG_STREAMING_MANAGE, WIDGETS_PIPES_MANAGE].freeze
|
|
16
18
|
end
|
|
17
19
|
end
|
|
18
20
|
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class ActionDeniedErrorBody < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:code,
|
|
14
|
+
:message
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@code = hash[:code]
|
|
19
|
+
@message = hash[:message]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class AuthenticationMethodNotAllowedErrorBody < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:code,
|
|
14
|
+
:message
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@code = hash[:code]
|
|
19
|
+
@message = hash[:message]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class AuthenticationMethodNotAllowedOAuthErrorBody < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
error: :error,
|
|
9
|
+
error_description: :error_description
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:error,
|
|
14
|
+
:error_description
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@error = hash[:error]
|
|
19
|
+
@error_description = hash[:error_description]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -10,7 +10,8 @@ module WorkOS
|
|
|
10
10
|
ip_address: :ip_address,
|
|
11
11
|
user_agent: :user_agent,
|
|
12
12
|
radar_auth_attempt_id: :radar_auth_attempt_id,
|
|
13
|
-
signals_id: :signals_id
|
|
13
|
+
signals_id: :signals_id,
|
|
14
|
+
locale: :locale
|
|
14
15
|
}.freeze
|
|
15
16
|
|
|
16
17
|
attr_accessor \
|
|
@@ -19,7 +20,8 @@ module WorkOS
|
|
|
19
20
|
:ip_address,
|
|
20
21
|
:user_agent,
|
|
21
22
|
:radar_auth_attempt_id,
|
|
22
|
-
:signals_id
|
|
23
|
+
:signals_id,
|
|
24
|
+
:locale
|
|
23
25
|
|
|
24
26
|
def initialize(json)
|
|
25
27
|
hash = self.class.normalize(json)
|
|
@@ -29,6 +31,7 @@ module WorkOS
|
|
|
29
31
|
@user_agent = hash[:user_agent]
|
|
30
32
|
@radar_auth_attempt_id = hash[:radar_auth_attempt_id]
|
|
31
33
|
@signals_id = hash[:signals_id]
|
|
34
|
+
@locale = hash[:locale]
|
|
32
35
|
end
|
|
33
36
|
end
|
|
34
37
|
end
|
|
@@ -3,5 +3,20 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module WorkOS
|
|
6
|
-
CreatePasswordResetToken
|
|
6
|
+
class CreatePasswordResetToken < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
email: :email,
|
|
9
|
+
locale: :locale
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:email,
|
|
14
|
+
:locale
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@email = hash[:email]
|
|
19
|
+
@locale = hash[:locale]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
7
22
|
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class EmailAlreadyInUseErrorBody < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:code,
|
|
14
|
+
:message
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@code = hash[:code]
|
|
19
|
+
@message = hash[:message]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class EmailAlreadyVerifiedErrorBody < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:code,
|
|
14
|
+
:message
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@code = hash[:code]
|
|
19
|
+
@message = hash[:message]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class EmailChangeNotAllowedErrorBody < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:code,
|
|
14
|
+
:message
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@code = hash[:code]
|
|
19
|
+
@message = hash[:message]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
data/lib/workos/user_management/email_completion_required_error_body_with_email_completion_token.rb
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class EmailCompletionRequiredErrorBodyWithEmailCompletionToken < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message,
|
|
10
|
+
email_completion_token: :email_completion_token
|
|
11
|
+
}.freeze
|
|
12
|
+
|
|
13
|
+
attr_accessor \
|
|
14
|
+
:code,
|
|
15
|
+
:message,
|
|
16
|
+
:email_completion_token
|
|
17
|
+
|
|
18
|
+
def initialize(json)
|
|
19
|
+
hash = self.class.normalize(json)
|
|
20
|
+
@code = hash[:code]
|
|
21
|
+
@message = hash[:message]
|
|
22
|
+
@email_completion_token = hash[:email_completion_token]
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class EmailDomainNotDeliverableErrorBody < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:code,
|
|
14
|
+
:message
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@code = hash[:code]
|
|
19
|
+
@message = hash[:message]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class EmailNotAvailableErrorBody < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:code,
|
|
14
|
+
:message
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@code = hash[:code]
|
|
19
|
+
@message = hash[:message]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|