@workos/openapi-spec 0.153.0 → 0.154.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.
@@ -2002,6 +2002,18 @@ paths:
2002
2002
  application/json:
2003
2003
  schema:
2004
2004
  $ref: '#/components/schemas/ErrorBody'
2005
+ '429':
2006
+ headers:
2007
+ Retry-After:
2008
+ description: How many seconds to wait before verification can be retried.
2009
+ schema:
2010
+ type: integer
2011
+ description: ''
2012
+ content:
2013
+ application/json:
2014
+ schema:
2015
+ $ref: >-
2016
+ #/components/schemas/TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter
2005
2017
  summary: Verify Challenge
2006
2018
  tags:
2007
2019
  - multi-factor-auth.challenges
@@ -13874,6 +13886,8 @@ paths:
13874
13886
  schema:
13875
13887
  anyOf:
13876
13888
  - $ref: '#/components/schemas/DailyQuotaExceededErrorBody'
13889
+ - $ref: >-
13890
+ #/components/schemas/TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter
13877
13891
  - $ref: '#/components/schemas/TooManyRequestsOAuthErrorBody'
13878
13892
  summary: Authenticate
13879
13893
  tags:
@@ -23840,6 +23854,7 @@ components:
23840
23854
  - sub_resource_scoped_role_not_allowed
23841
23855
  - team_not_found
23842
23856
  - token_authentication_method_not_supported
23857
+ - too_many_failed_verification_attempts
23843
23858
  - too_many_sp_encryption_certs
23844
23859
  - unsupported_invocation_type
23845
23860
  - user_already_exists
@@ -24004,6 +24019,26 @@ components:
24004
24019
  required:
24005
24020
  - message
24006
24021
  - error
24022
+ TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter:
24023
+ type: object
24024
+ properties:
24025
+ code:
24026
+ type: string
24027
+ const: too_many_failed_verification_attempts
24028
+ description: The error code identifying the type of error.
24029
+ example: too_many_failed_verification_attempts
24030
+ message:
24031
+ type: string
24032
+ description: A human-readable description of the error.
24033
+ example: Request could not be processed.
24034
+ retry_after:
24035
+ type: integer
24036
+ description: How many seconds to wait before verification can be retried.
24037
+ example: 900
24038
+ required:
24039
+ - code
24040
+ - message
24041
+ - retry_after
24007
24042
  RateLimitExceededErrorBodyWithRetryAfter:
24008
24043
  type: object
24009
24044
  properties:
@@ -37768,6 +37803,7 @@ components:
37768
37803
  - directoryUsers
37769
37804
  - scimLogs
37770
37805
  - radarDetections
37806
+ - teamActivityLogEvents
37771
37807
  description: The type of resource being exported.
37772
37808
  example: users
37773
37809
  required:
@@ -37819,6 +37855,7 @@ components:
37819
37855
  - directoryUsers
37820
37856
  - scimLogs
37821
37857
  - radarDetections
37858
+ - teamActivityLogEvents
37822
37859
  description: The type of resource being exported.
37823
37860
  example: users
37824
37861
  required:
@@ -37870,6 +37907,7 @@ components:
37870
37907
  - directoryUsers
37871
37908
  - scimLogs
37872
37909
  - radarDetections
37910
+ - teamActivityLogEvents
37873
37911
  description: The type of resource being exported.
37874
37912
  example: users
37875
37913
  required:
@@ -37921,6 +37959,7 @@ components:
37921
37959
  - directoryUsers
37922
37960
  - scimLogs
37923
37961
  - radarDetections
37962
+ - teamActivityLogEvents
37924
37963
  description: The type of resource being exported.
37925
37964
  example: users
37926
37965
  required:
package/dist/types.d.ts CHANGED
@@ -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" | "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";
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_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";
6530
6530
  ErrorBodyWithCode: {
6531
6531
  /**
6532
6532
  * @description The error code identifying the type of error.
@@ -6641,6 +6641,24 @@ export interface components {
6641
6641
  */
6642
6642
  error: string;
6643
6643
  };
6644
+ TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter: {
6645
+ /**
6646
+ * @description The error code identifying the type of error.
6647
+ * @example too_many_failed_verification_attempts
6648
+ * @constant
6649
+ */
6650
+ code: "too_many_failed_verification_attempts";
6651
+ /**
6652
+ * @description A human-readable description of the error.
6653
+ * @example Request could not be processed.
6654
+ */
6655
+ message: string;
6656
+ /**
6657
+ * @description How many seconds to wait before verification can be retried.
6658
+ * @example 900
6659
+ */
6660
+ retry_after: number;
6661
+ };
6644
6662
  RateLimitExceededErrorBodyWithRetryAfter: {
6645
6663
  /**
6646
6664
  * @description The error code identifying the type of error.
@@ -17717,7 +17735,7 @@ export interface components {
17717
17735
  * @example users
17718
17736
  * @enum {string}
17719
17737
  */
17720
- resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections";
17738
+ resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections" | "teamActivityLogEvents";
17721
17739
  };
17722
17740
  /**
17723
17741
  * Format: date-time
@@ -17751,7 +17769,7 @@ export interface components {
17751
17769
  * @example users
17752
17770
  * @enum {string}
17753
17771
  */
17754
- resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections";
17772
+ resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections" | "teamActivityLogEvents";
17755
17773
  };
17756
17774
  /**
17757
17775
  * Format: date-time
@@ -17785,7 +17803,7 @@ export interface components {
17785
17803
  * @example users
17786
17804
  * @enum {string}
17787
17805
  */
17788
- resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections";
17806
+ resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections" | "teamActivityLogEvents";
17789
17807
  };
17790
17808
  /**
17791
17809
  * Format: date-time
@@ -17819,7 +17837,7 @@ export interface components {
17819
17837
  * @example users
17820
17838
  * @enum {string}
17821
17839
  */
17822
- resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections";
17840
+ resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections" | "teamActivityLogEvents";
17823
17841
  };
17824
17842
  /**
17825
17843
  * Format: date-time
@@ -23750,6 +23768,16 @@ export interface operations {
23750
23768
  "application/json": components["schemas"]["ErrorBody"];
23751
23769
  };
23752
23770
  };
23771
+ 429: {
23772
+ headers: {
23773
+ /** @description How many seconds to wait before verification can be retried. */
23774
+ "Retry-After"?: number;
23775
+ [name: string]: unknown;
23776
+ };
23777
+ content: {
23778
+ "application/json": components["schemas"]["TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter"];
23779
+ };
23780
+ };
23753
23781
  };
23754
23782
  };
23755
23783
  AuthenticationFactorsController_create: {
@@ -34559,7 +34587,7 @@ export interface operations {
34559
34587
  [name: string]: unknown;
34560
34588
  };
34561
34589
  content: {
34562
- "application/json": components["schemas"]["DailyQuotaExceededErrorBody"] | components["schemas"]["TooManyRequestsOAuthErrorBody"];
34590
+ "application/json": components["schemas"]["DailyQuotaExceededErrorBody"] | components["schemas"]["TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter"] | components["schemas"]["TooManyRequestsOAuthErrorBody"];
34563
34591
  };
34564
34592
  };
34565
34593
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.153.0",
3
+ "version": "0.154.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",