@workos/openapi-spec 0.178.0 → 0.179.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.
@@ -14469,6 +14469,7 @@ paths:
14469
14469
  - $ref: '#/components/schemas/PasskeyProgressiveEnrollmentErrorBody'
14470
14470
  - $ref: '#/components/schemas/RadarChallengeErrorBody'
14471
14471
  - $ref: '#/components/schemas/RadarSignUpChallengeErrorBody'
14472
+ - $ref: '#/components/schemas/RadarSmsChallengeErrorBody'
14472
14473
  - $ref: '#/components/schemas/RadarSmsSignInChallengeErrorBody'
14473
14474
  - $ref: '#/components/schemas/ApplicationConsentRequiredErrorBody'
14474
14475
  - $ref: '#/components/schemas/PolicyDeniedErrorBody'
@@ -24731,6 +24732,7 @@ components:
24731
24732
  - production_feature_requires_billing
24732
24733
  - radar_challenge
24733
24734
  - radar_sign_up_challenge
24735
+ - radar_sms_challenge
24734
24736
  - radar_sms_sign_in_challenge
24735
24737
  - rate_limit_exceeded
24736
24738
  - resource_has_dependents
@@ -26082,6 +26084,16 @@ components:
26082
26084
  const: radar_sign_up_challenge
26083
26085
  message: *ref_29
26084
26086
  required: *ref_30
26087
+ RadarSmsChallengeErrorBody:
26088
+ type: object
26089
+ properties:
26090
+ code:
26091
+ type: string
26092
+ description: The error code identifying the type of error.
26093
+ example: radar_sms_challenge
26094
+ const: radar_sms_challenge
26095
+ message: *ref_29
26096
+ required: *ref_30
26085
26097
  RadarSmsSignInChallengeErrorBody:
26086
26098
  type: object
26087
26099
  properties:
package/dist/types.d.ts CHANGED
@@ -6746,7 +6746,7 @@ export interface components {
6746
6746
  * @description A machine-readable error code; additional values may be added over time.
6747
6747
  * @enum {string}
6748
6748
  */
6749
- ErrorBodyCode: "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" | "cannot_remove_group_sourced_role" | "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" | "discovery_endpoint_tenant_not_allowed" | "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" | "entities_not_found" | "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" | "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_assignment_update_overlap" | "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";
6749
+ ErrorBodyCode: "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" | "cannot_remove_group_sourced_role" | "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" | "discovery_endpoint_tenant_not_allowed" | "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" | "entities_not_found" | "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" | "production_feature_requires_billing" | "radar_challenge" | "radar_sign_up_challenge" | "radar_sms_challenge" | "radar_sms_sign_in_challenge" | "rate_limit_exceeded" | "resource_has_dependents" | "resource_limit_exceeded" | "resource_type_update_in_progress" | "role_assignment_update_overlap" | "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";
6750
6750
  ErrorBodyWithCode: {
6751
6751
  /**
6752
6752
  * @description The error code identifying the type of error.
@@ -8142,6 +8142,19 @@ export interface components {
8142
8142
  */
8143
8143
  message: string;
8144
8144
  };
8145
+ RadarSmsChallengeErrorBody: {
8146
+ /**
8147
+ * @description The error code identifying the type of error.
8148
+ * @example radar_sms_challenge
8149
+ * @constant
8150
+ */
8151
+ code: "radar_sms_challenge";
8152
+ /**
8153
+ * @description A human-readable description of the error.
8154
+ * @example Request could not be processed.
8155
+ */
8156
+ message: string;
8157
+ };
8145
8158
  RadarSmsSignInChallengeErrorBody: {
8146
8159
  /**
8147
8160
  * @description The error code identifying the type of error.
@@ -36814,7 +36827,7 @@ export interface operations {
36814
36827
  [name: string]: unknown;
36815
36828
  };
36816
36829
  content: {
36817
- "application/json": components["schemas"]["MfaEnrollmentErrorBody"] | components["schemas"]["MfaChallengeErrorBody"] | components["schemas"]["AuthenticationMethodNotAllowedErrorBody"] | components["schemas"]["EmailCompletionRequiredErrorBodyWithEmailCompletionToken"] | components["schemas"]["EmailVerificationRequiredErrorBody"] | components["schemas"]["EmailPasswordAuthDisabledErrorBody"] | components["schemas"]["OrganizationSelectionRequiredErrorBody"] | components["schemas"]["PasskeyProgressiveEnrollmentErrorBody"] | components["schemas"]["RadarChallengeErrorBody"] | components["schemas"]["RadarSignUpChallengeErrorBody"] | components["schemas"]["RadarSmsSignInChallengeErrorBody"] | components["schemas"]["ApplicationConsentRequiredErrorBody"] | components["schemas"]["PolicyDeniedErrorBody"] | components["schemas"]["ActionDeniedErrorBody"];
36830
+ "application/json": components["schemas"]["MfaEnrollmentErrorBody"] | components["schemas"]["MfaChallengeErrorBody"] | components["schemas"]["AuthenticationMethodNotAllowedErrorBody"] | components["schemas"]["EmailCompletionRequiredErrorBodyWithEmailCompletionToken"] | components["schemas"]["EmailVerificationRequiredErrorBody"] | components["schemas"]["EmailPasswordAuthDisabledErrorBody"] | components["schemas"]["OrganizationSelectionRequiredErrorBody"] | components["schemas"]["PasskeyProgressiveEnrollmentErrorBody"] | components["schemas"]["RadarChallengeErrorBody"] | components["schemas"]["RadarSignUpChallengeErrorBody"] | components["schemas"]["RadarSmsChallengeErrorBody"] | components["schemas"]["RadarSmsSignInChallengeErrorBody"] | components["schemas"]["ApplicationConsentRequiredErrorBody"] | components["schemas"]["PolicyDeniedErrorBody"] | components["schemas"]["ActionDeniedErrorBody"];
36818
36831
  };
36819
36832
  };
36820
36833
  /** @description Not Found */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.178.0",
3
+ "version": "0.179.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",