@workos/openapi-spec 0.152.0 → 0.153.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.
@@ -13254,7 +13254,9 @@ paths:
13254
13254
  example: inv_tok_01HXYZ123456789ABCDEFGHIJ
13255
13255
  ip_address:
13256
13256
  type: string
13257
- description: The IP address of the user's request.
13257
+ description: >-
13258
+ The IP address of the user's request. Required when
13259
+ Radar is in Decision mode.
13258
13260
  example: 203.0.113.42
13259
13261
  device_id:
13260
13262
  type: string
@@ -13301,7 +13303,9 @@ paths:
13301
13303
  example: inv_tok_01HXYZ123456789ABCDEFGHIJ
13302
13304
  ip_address:
13303
13305
  type: string
13304
- description: The IP address of the user's request.
13306
+ description: >-
13307
+ The IP address of the user's request. Required when
13308
+ Radar is in Decision mode.
13305
13309
  example: 203.0.113.42
13306
13310
  device_id:
13307
13311
  type: string
@@ -13533,7 +13537,9 @@ paths:
13533
13537
  example: marcelina@example.com
13534
13538
  ip_address:
13535
13539
  type: string
13536
- description: The IP address of the user's request.
13540
+ description: >-
13541
+ The IP address of the user's request. Required when
13542
+ Radar is in Decision mode.
13537
13543
  example: 203.0.113.42
13538
13544
  device_id:
13539
13545
  type: string
@@ -15105,7 +15111,7 @@ paths:
15105
15111
  content:
15106
15112
  application/json:
15107
15113
  schema:
15108
- $ref: '#/components/schemas/ErrorBody'
15114
+ $ref: '#/components/schemas/ErrorBodyWithCode'
15109
15115
  '429':
15110
15116
  description: ''
15111
15117
  content:
@@ -22196,7 +22202,9 @@ components:
22196
22202
  example: Z1Y2X3W4V5U6T7S8R9Q0P1O2N3
22197
22203
  ip_address:
22198
22204
  type: string
22199
- description: The IP address of the user's request.
22205
+ description: >-
22206
+ The IP address of the user's request. Required when Radar is in
22207
+ Decision mode.
22200
22208
  example: 203.0.113.42
22201
22209
  user_agent:
22202
22210
  type: string
@@ -22763,7 +22771,9 @@ components:
22763
22771
  type:
22764
22772
  - string
22765
22773
  - 'null'
22766
- description: The IP address of the user's request.
22774
+ description: >-
22775
+ The IP address of the user's request. Required when Radar is in
22776
+ Decision mode.
22767
22777
  example: 203.0.113.42
22768
22778
  user_agent:
22769
22779
  type:
@@ -23772,6 +23782,7 @@ components:
23772
23782
  - invite_has_accepted_user_id
23773
23783
  - invite_not_pending
23774
23784
  - invite_revoked
23785
+ - ip_address_required
23775
23786
  - it_contact_already_exists
23776
23787
  - it_contact_invitation_already_active
23777
23788
  - key_pair_not_accepted
package/dist/types.d.ts CHANGED
@@ -6029,7 +6029,7 @@ export interface components {
6029
6029
  */
6030
6030
  invitation_token?: string;
6031
6031
  /**
6032
- * @description The IP address of the user's request.
6032
+ * @description The IP address of the user's request. Required when Radar is in Decision mode.
6033
6033
  * @example 203.0.113.42
6034
6034
  */
6035
6035
  ip_address?: string;
@@ -6206,7 +6206,7 @@ export interface components {
6206
6206
  */
6207
6207
  external_id?: string | null;
6208
6208
  /**
6209
- * @description The IP address of the user's request.
6209
+ * @description The IP address of the user's request. Required when Radar is in Decision mode.
6210
6210
  * @example 203.0.113.42
6211
6211
  */
6212
6212
  ip_address?: string | null;
@@ -6526,7 +6526,7 @@ export interface components {
6526
6526
  * @description A machine-readable error code; additional values may be added over time.
6527
6527
  * @enum {string}
6528
6528
  */
6529
- 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" | "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" | "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_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";
6529
+ 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" | "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_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";
6530
6530
  ErrorBodyWithCode: {
6531
6531
  /**
6532
6532
  * @description The error code identifying the type of error.
@@ -34035,7 +34035,7 @@ export interface operations {
34035
34035
  */
34036
34036
  invitation_token?: string;
34037
34037
  /**
34038
- * @description The IP address of the user's request.
34038
+ * @description The IP address of the user's request. Required when Radar is in Decision mode.
34039
34039
  * @example 203.0.113.42
34040
34040
  */
34041
34041
  ip_address?: string;
@@ -34083,7 +34083,7 @@ export interface operations {
34083
34083
  */
34084
34084
  invitation_token?: string;
34085
34085
  /**
34086
- * @description The IP address of the user's request.
34086
+ * @description The IP address of the user's request. Required when Radar is in Decision mode.
34087
34087
  * @example 203.0.113.42
34088
34088
  */
34089
34089
  ip_address?: string;
@@ -34301,7 +34301,7 @@ export interface operations {
34301
34301
  */
34302
34302
  email: string;
34303
34303
  /**
34304
- * @description The IP address of the user's request.
34304
+ * @description The IP address of the user's request. Required when Radar is in Decision mode.
34305
34305
  * @example 203.0.113.42
34306
34306
  */
34307
34307
  ip_address?: string;
@@ -35549,7 +35549,7 @@ export interface operations {
35549
35549
  [name: string]: unknown;
35550
35550
  };
35551
35551
  content: {
35552
- "application/json": components["schemas"]["ErrorBody"];
35552
+ "application/json": components["schemas"]["ErrorBodyWithCode"];
35553
35553
  };
35554
35554
  };
35555
35555
  429: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.152.0",
3
+ "version": "0.153.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",