@workos/openapi-spec 0.180.0 → 0.182.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.
@@ -12688,6 +12688,88 @@ paths:
12688
12688
  tags:
12689
12689
  - organizations.issuer-trusts
12690
12690
  x-feature-flag: dashboard-claude-issuer-trusts
12691
+ post:
12692
+ description: >-
12693
+ Trust an issuer for an organization. WorkOS checks the issuer's OpenID
12694
+ configuration and that the organization has a verified domain. The trust
12695
+ is created disabled; enable it to start accepting ID-JAGs from the
12696
+ issuer.
12697
+ operationId: IssuerTrustsController_create
12698
+ parameters:
12699
+ - name: organization_id
12700
+ required: true
12701
+ in: path
12702
+ description: The ID of the organization.
12703
+ schema:
12704
+ type: string
12705
+ example: org_01EHZNVPK3SFK441A1RGBFSHRT
12706
+ requestBody:
12707
+ required: true
12708
+ content:
12709
+ application/json:
12710
+ schema:
12711
+ type: object
12712
+ properties:
12713
+ type:
12714
+ type: string
12715
+ description: The type of issuer, which identifies who operates it.
12716
+ example: claude
12717
+ const: claude
12718
+ issuer:
12719
+ type: string
12720
+ minLength: 1
12721
+ description: >-
12722
+ The issuer URL. WorkOS fetches the issuer's OpenID
12723
+ configuration to confirm it before creating the trust.
12724
+ example: https://claude.ai/v1/ema/t/01JZ8X4N2R7Q9M3K5T6V8W0Y1A
12725
+ required:
12726
+ - type
12727
+ - issuer
12728
+ additionalProperties: false
12729
+ responses:
12730
+ '201':
12731
+ description: Created
12732
+ content:
12733
+ application/json:
12734
+ schema:
12735
+ $ref: '#/components/schemas/IssuerTrust'
12736
+ example:
12737
+ object: issuer_trust
12738
+ id: issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
12739
+ organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
12740
+ type: claude
12741
+ issuer: https://claude.ai/v1/ema/t/01JZ8X4N2R7Q9M3K5T6V8W0Y1A
12742
+ enabled: false
12743
+ created_at: '2026-01-15T12:00:00.000Z'
12744
+ updated_at: '2026-01-15T12:00:00.000Z'
12745
+ '400':
12746
+ description: Bad Request
12747
+ content:
12748
+ application/json:
12749
+ schema:
12750
+ $ref: '#/components/schemas/ErrorBodyWithCode'
12751
+ '403':
12752
+ description: Forbidden
12753
+ content:
12754
+ application/json:
12755
+ schema:
12756
+ $ref: '#/components/schemas/ErrorBody'
12757
+ '404':
12758
+ description: Not Found
12759
+ content:
12760
+ application/json:
12761
+ schema:
12762
+ $ref: '#/components/schemas/ErrorBody'
12763
+ '422':
12764
+ description: Unprocessable Entity
12765
+ content:
12766
+ application/json:
12767
+ schema:
12768
+ $ref: '#/components/schemas/ErrorBodyWithCodeErrors'
12769
+ summary: Create an issuer trust
12770
+ tags:
12771
+ - organizations.issuer-trusts
12772
+ x-feature-flag: dashboard-claude-issuer-trusts
12691
12773
  /organizations/{organization_id}/issuer_trusts/{id}:
12692
12774
  get:
12693
12775
  description: Get an issuer trust by its ID.
@@ -12724,6 +12806,116 @@ paths:
12724
12806
  tags:
12725
12807
  - organizations.issuer-trusts
12726
12808
  x-feature-flag: dashboard-claude-issuer-trusts
12809
+ patch:
12810
+ description: >-
12811
+ Enable or disable an issuer trust. ID-JAGs from a disabled issuer are
12812
+ rejected. `enabled` is the only field that can be changed, and an
12813
+ omitted field is left unchanged.
12814
+ operationId: IssuerTrustsController_update
12815
+ parameters:
12816
+ - name: organization_id
12817
+ required: true
12818
+ in: path
12819
+ description: The ID of the organization.
12820
+ schema:
12821
+ type: string
12822
+ example: org_01EHZNVPK3SFK441A1RGBFSHRT
12823
+ - name: id
12824
+ required: true
12825
+ in: path
12826
+ description: The ID of the issuer trust.
12827
+ schema:
12828
+ type: string
12829
+ example: issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
12830
+ requestBody:
12831
+ required: true
12832
+ content:
12833
+ application/json:
12834
+ schema:
12835
+ type: object
12836
+ properties:
12837
+ enabled:
12838
+ type: boolean
12839
+ description: Whether ID-JAGs from the issuer are accepted.
12840
+ example: true
12841
+ description: >-
12842
+ Fields to update on the issuer trust. Omitted fields are left
12843
+ unchanged.
12844
+ additionalProperties: false
12845
+ responses:
12846
+ '200':
12847
+ description: OK
12848
+ content:
12849
+ application/json:
12850
+ schema:
12851
+ $ref: '#/components/schemas/IssuerTrust'
12852
+ '400':
12853
+ description: Bad Request
12854
+ content:
12855
+ application/json:
12856
+ schema:
12857
+ $ref: '#/components/schemas/ErrorBodyWithCode'
12858
+ '403':
12859
+ description: Forbidden
12860
+ content:
12861
+ application/json:
12862
+ schema:
12863
+ $ref: '#/components/schemas/ErrorBody'
12864
+ '404':
12865
+ description: Not Found
12866
+ content:
12867
+ application/json:
12868
+ schema:
12869
+ $ref: '#/components/schemas/ErrorBody'
12870
+ '422':
12871
+ description: Unprocessable Entity
12872
+ content:
12873
+ application/json:
12874
+ schema:
12875
+ $ref: '#/components/schemas/ErrorBodyWithCodeErrors'
12876
+ summary: Update an issuer trust
12877
+ tags:
12878
+ - organizations.issuer-trusts
12879
+ x-feature-flag: dashboard-claude-issuer-trusts
12880
+ delete:
12881
+ description: >-
12882
+ Stop trusting an issuer. ID-JAGs from the issuer are rejected from then
12883
+ on.
12884
+ operationId: IssuerTrustsController_delete
12885
+ parameters:
12886
+ - name: organization_id
12887
+ required: true
12888
+ in: path
12889
+ description: The ID of the organization.
12890
+ schema:
12891
+ type: string
12892
+ example: org_01EHZNVPK3SFK441A1RGBFSHRT
12893
+ - name: id
12894
+ required: true
12895
+ in: path
12896
+ description: The ID of the issuer trust.
12897
+ schema:
12898
+ type: string
12899
+ example: issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
12900
+ responses:
12901
+ '204':
12902
+ description: No Content
12903
+ '403':
12904
+ description: Forbidden
12905
+ content:
12906
+ application/json:
12907
+ schema:
12908
+ $ref: '#/components/schemas/ErrorBody'
12909
+ '404':
12910
+ description: Not Found
12911
+ content:
12912
+ application/json:
12913
+ schema:
12914
+ $ref: '#/components/schemas/ErrorBody'
12915
+ summary: Delete an issuer trust
12916
+ tags:
12917
+ - organizations.issuer-trusts
12918
+ x-feature-flag: dashboard-claude-issuer-trusts
12727
12919
  /organizations/{organization_id}/it_contacts:
12728
12920
  get:
12729
12921
  description: Get the IT contacts for an organization.
@@ -24746,6 +24938,8 @@ components:
24746
24938
  - invalid_email
24747
24939
  - invalid_idp_sso_url
24748
24940
  - invalid_invite
24941
+ - invalid_issuer_metadata
24942
+ - invalid_issuer_url
24749
24943
  - invalid_locale
24750
24944
  - invalid_metadata
24751
24945
  - invalid_one_time_code
@@ -24767,6 +24961,7 @@ components:
24767
24961
  - invite_not_pending
24768
24962
  - invite_revoked
24769
24963
  - ip_address_required
24964
+ - issuer_already_trusted
24770
24965
  - it_contact_already_exists
24771
24966
  - it_contact_invitation_already_active
24772
24967
  - key_pair_not_accepted
@@ -24779,16 +24974,20 @@ components:
24779
24974
  - multiple_roles_not_enabled
24780
24975
  - name_already_in_use
24781
24976
  - no_pending_email_change
24977
+ - not_claude_issuer
24782
24978
  - oidc_options_required
24783
24979
  - one_time_code_expired
24784
24980
  - one_time_code_previously_used
24785
24981
  - one_time_code_too_many_attempts
24982
+ - organization_already_has_trust
24786
24983
  - organization_blocked_from_sending_invites
24984
+ - organization_has_idp_managed_ema
24787
24985
  - organization_membership_directory_managed
24788
24986
  - organization_not_found
24789
24987
  - organization_not_invocable
24790
24988
  - organization_role_slug_conflict
24791
24989
  - organization_selection_required
24990
+ - organization_without_verified_domain
24792
24991
  - passkey_progressive_enrollment
24793
24992
  - password_and_password_hash_provided
24794
24993
  - password_and_password_hash_type_provided
@@ -25066,6 +25265,24 @@ components:
25066
25265
  type: number
25067
25266
  description: The HTTP status code.
25068
25267
  example: 400
25268
+ ErrorBodyWithCodeErrors:
25269
+ type: object
25270
+ properties:
25271
+ code:
25272
+ $ref: '#/components/schemas/ErrorBodyCode'
25273
+ message: &ref_31
25274
+ type: string
25275
+ description: A human-readable description of the error.
25276
+ example: Validation failed.
25277
+ errors: &ref_32
25278
+ type: array
25279
+ items:
25280
+ $ref: '#/components/schemas/ErrorBodyWithCode'
25281
+ description: The list of validation errors.
25282
+ required: &ref_33
25283
+ - code
25284
+ - message
25285
+ - errors
25069
25286
  ConnectionFinishErrorBody:
25070
25287
  type: object
25071
25288
  properties:
@@ -25220,24 +25437,6 @@ components:
25220
25437
  required:
25221
25438
  - code
25222
25439
  - message
25223
- ErrorBodyWithCodeErrors:
25224
- type: object
25225
- properties:
25226
- code:
25227
- $ref: '#/components/schemas/ErrorBodyCode'
25228
- message: &ref_31
25229
- type: string
25230
- description: A human-readable description of the error.
25231
- example: Validation failed.
25232
- errors: &ref_32
25233
- type: array
25234
- items:
25235
- $ref: '#/components/schemas/ErrorBodyWithCode'
25236
- description: The list of validation errors.
25237
- required: &ref_33
25238
- - code
25239
- - message
25240
- - errors
25241
25440
  OrganizationConnectedAccountImportErrorBody:
25242
25441
  type: object
25243
25442
  properties:
@@ -44786,6 +44985,7 @@ components:
44786
44985
  - tampered_signals
44787
44986
  - inconsistent_hardware
44788
44987
  - missing_signals
44988
+ - missing_expected_signals
44789
44989
  description: Why the browser looks automated.
44790
44990
  ip_sign_ups:
44791
44991
  $ref: '#/components/schemas/RadarDetectionIpSignUps'
package/dist/services.mjs CHANGED
@@ -805,15 +805,33 @@ const serviceEndpoints = {
805
805
  "name": "get_organization_by_external_id"
806
806
  }
807
807
  ],
808
- "OrganizationsIssuerTrusts": [{
809
- "method": "GET",
810
- "path": "/organizations/{organization_id}/issuer_trusts",
811
- "name": "list_organization_issuer_trusts"
812
- }, {
813
- "method": "GET",
814
- "path": "/organizations/{organization_id}/issuer_trusts/{id}",
815
- "name": "get_organization_issuer_trust"
816
- }],
808
+ "OrganizationsIssuerTrusts": [
809
+ {
810
+ "method": "GET",
811
+ "path": "/organizations/{organization_id}/issuer_trusts",
812
+ "name": "list_organization_issuer_trusts"
813
+ },
814
+ {
815
+ "method": "POST",
816
+ "path": "/organizations/{organization_id}/issuer_trusts",
817
+ "name": "create_organization_issuer_trust"
818
+ },
819
+ {
820
+ "method": "DELETE",
821
+ "path": "/organizations/{organization_id}/issuer_trusts/{id}",
822
+ "name": "delete_organization_issuer_trust"
823
+ },
824
+ {
825
+ "method": "GET",
826
+ "path": "/organizations/{organization_id}/issuer_trusts/{id}",
827
+ "name": "get_organization_issuer_trust"
828
+ },
829
+ {
830
+ "method": "PATCH",
831
+ "path": "/organizations/{organization_id}/issuer_trusts/{id}",
832
+ "name": "update_organization_issuer_trust"
833
+ }
834
+ ],
817
835
  "Pipes": [
818
836
  {
819
837
  "method": "GET",
package/dist/types.d.ts CHANGED
@@ -2441,7 +2441,11 @@ export interface paths {
2441
2441
  */
2442
2442
  get: operations["IssuerTrustsController_list"];
2443
2443
  put?: never;
2444
- post?: never;
2444
+ /**
2445
+ * Create an issuer trust
2446
+ * @description Trust an issuer for an organization. WorkOS checks the issuer's OpenID configuration and that the organization has a verified domain. The trust is created disabled; enable it to start accepting ID-JAGs from the issuer.
2447
+ */
2448
+ post: operations["IssuerTrustsController_create"];
2445
2449
  delete?: never;
2446
2450
  options?: never;
2447
2451
  head?: never;
@@ -2462,10 +2466,18 @@ export interface paths {
2462
2466
  get: operations["IssuerTrustsController_get"];
2463
2467
  put?: never;
2464
2468
  post?: never;
2465
- delete?: never;
2469
+ /**
2470
+ * Delete an issuer trust
2471
+ * @description Stop trusting an issuer. ID-JAGs from the issuer are rejected from then on.
2472
+ */
2473
+ delete: operations["IssuerTrustsController_delete"];
2466
2474
  options?: never;
2467
2475
  head?: never;
2468
- patch?: never;
2476
+ /**
2477
+ * Update an issuer trust
2478
+ * @description Enable or disable an issuer trust. ID-JAGs from a disabled issuer are rejected. `enabled` is the only field that can be changed, and an omitted field is left unchanged.
2479
+ */
2480
+ patch: operations["IssuerTrustsController_update"];
2469
2481
  trace?: never;
2470
2482
  };
2471
2483
  "/organizations/{organization_id}/it_contacts": {
@@ -6786,7 +6798,7 @@ export interface components {
6786
6798
  * @description A machine-readable error code; additional values may be added over time.
6787
6799
  * @enum {string}
6788
6800
  */
6789
- 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";
6801
+ 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_issuer_metadata" | "invalid_issuer_url" | "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" | "issuer_already_trusted" | "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" | "not_claude_issuer" | "oidc_options_required" | "one_time_code_expired" | "one_time_code_previously_used" | "one_time_code_too_many_attempts" | "organization_already_has_trust" | "organization_blocked_from_sending_invites" | "organization_has_idp_managed_ema" | "organization_membership_directory_managed" | "organization_not_found" | "organization_not_invocable" | "organization_role_slug_conflict" | "organization_selection_required" | "organization_without_verified_domain" | "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";
6790
6802
  ErrorBodyWithCode: {
6791
6803
  /**
6792
6804
  * @description The error code identifying the type of error.
@@ -6971,6 +6983,16 @@ export interface components {
6971
6983
  */
6972
6984
  statusCode?: number;
6973
6985
  };
6986
+ ErrorBodyWithCodeErrors: {
6987
+ code: components["schemas"]["ErrorBodyCode"];
6988
+ /**
6989
+ * @description A human-readable description of the error.
6990
+ * @example Validation failed.
6991
+ */
6992
+ message: string;
6993
+ /** @description The list of validation errors. */
6994
+ errors: components["schemas"]["ErrorBodyWithCode"][];
6995
+ };
6974
6996
  ConnectionFinishErrorBody: {
6975
6997
  /**
6976
6998
  * @description The error code identifying the type of error.
@@ -7065,16 +7087,6 @@ export interface components {
7065
7087
  */
7066
7088
  message: string;
7067
7089
  };
7068
- ErrorBodyWithCodeErrors: {
7069
- code: components["schemas"]["ErrorBodyCode"];
7070
- /**
7071
- * @description A human-readable description of the error.
7072
- * @example Validation failed.
7073
- */
7074
- message: string;
7075
- /** @description The list of validation errors. */
7076
- errors: components["schemas"]["ErrorBodyWithCode"][];
7077
- };
7078
7090
  OrganizationConnectedAccountImportErrorBody: {
7079
7091
  /**
7080
7092
  * @description The error code identifying the type of error.
@@ -22409,7 +22421,7 @@ export interface components {
22409
22421
  /** @description Why the email address looks suspicious. */
22410
22422
  email_pattern?: ("generated_looking" | "repeated_format" | "suspicious_domain")[];
22411
22423
  /** @description Why the browser looks automated. */
22412
- browser_signals?: ("automation_framework" | "headless_browser" | "tampered_signals" | "inconsistent_hardware" | "missing_signals")[];
22424
+ browser_signals?: ("automation_framework" | "headless_browser" | "tampered_signals" | "inconsistent_hardware" | "missing_signals" | "missing_expected_signals")[];
22413
22425
  /** @description Recent sign-ups from this IP address. */
22414
22426
  ip_sign_ups?: components["schemas"]["RadarDetectionIpSignUps"];
22415
22427
  /** @description Recent sign-ups from this email domain. */
@@ -35419,6 +35431,93 @@ export interface operations {
35419
35431
  };
35420
35432
  };
35421
35433
  };
35434
+ IssuerTrustsController_create: {
35435
+ parameters: {
35436
+ query?: never;
35437
+ header?: never;
35438
+ path: {
35439
+ /** @description The ID of the organization. */
35440
+ organization_id: string;
35441
+ };
35442
+ cookie?: never;
35443
+ };
35444
+ requestBody: {
35445
+ content: {
35446
+ "application/json": {
35447
+ /**
35448
+ * @description The type of issuer, which identifies who operates it.
35449
+ * @example claude
35450
+ * @constant
35451
+ */
35452
+ type: "claude";
35453
+ /**
35454
+ * @description The issuer URL. WorkOS fetches the issuer's OpenID configuration to confirm it before creating the trust.
35455
+ * @example https://claude.ai/v1/ema/t/01JZ8X4N2R7Q9M3K5T6V8W0Y1A
35456
+ */
35457
+ issuer: string;
35458
+ };
35459
+ };
35460
+ };
35461
+ responses: {
35462
+ /** @description Created */
35463
+ 201: {
35464
+ headers: {
35465
+ [name: string]: unknown;
35466
+ };
35467
+ content: {
35468
+ /**
35469
+ * @example {
35470
+ * "object": "issuer_trust",
35471
+ * "id": "issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A",
35472
+ * "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
35473
+ * "type": "claude",
35474
+ * "issuer": "https://claude.ai/v1/ema/t/01JZ8X4N2R7Q9M3K5T6V8W0Y1A",
35475
+ * "enabled": false,
35476
+ * "created_at": "2026-01-15T12:00:00.000Z",
35477
+ * "updated_at": "2026-01-15T12:00:00.000Z"
35478
+ * }
35479
+ */
35480
+ "application/json": components["schemas"]["IssuerTrust"];
35481
+ };
35482
+ };
35483
+ /** @description Bad Request */
35484
+ 400: {
35485
+ headers: {
35486
+ [name: string]: unknown;
35487
+ };
35488
+ content: {
35489
+ "application/json": components["schemas"]["ErrorBodyWithCode"];
35490
+ };
35491
+ };
35492
+ /** @description Forbidden */
35493
+ 403: {
35494
+ headers: {
35495
+ [name: string]: unknown;
35496
+ };
35497
+ content: {
35498
+ "application/json": components["schemas"]["ErrorBody"];
35499
+ };
35500
+ };
35501
+ /** @description Not Found */
35502
+ 404: {
35503
+ headers: {
35504
+ [name: string]: unknown;
35505
+ };
35506
+ content: {
35507
+ "application/json": components["schemas"]["ErrorBody"];
35508
+ };
35509
+ };
35510
+ /** @description Unprocessable Entity */
35511
+ 422: {
35512
+ headers: {
35513
+ [name: string]: unknown;
35514
+ };
35515
+ content: {
35516
+ "application/json": components["schemas"]["ErrorBodyWithCodeErrors"];
35517
+ };
35518
+ };
35519
+ };
35520
+ };
35422
35521
  IssuerTrustsController_get: {
35423
35522
  parameters: {
35424
35523
  query?: never;
@@ -35453,6 +35552,118 @@ export interface operations {
35453
35552
  };
35454
35553
  };
35455
35554
  };
35555
+ IssuerTrustsController_delete: {
35556
+ parameters: {
35557
+ query?: never;
35558
+ header?: never;
35559
+ path: {
35560
+ /** @description The ID of the organization. */
35561
+ organization_id: string;
35562
+ /** @description The ID of the issuer trust. */
35563
+ id: string;
35564
+ };
35565
+ cookie?: never;
35566
+ };
35567
+ requestBody?: never;
35568
+ responses: {
35569
+ /** @description No Content */
35570
+ 204: {
35571
+ headers: {
35572
+ [name: string]: unknown;
35573
+ };
35574
+ content?: never;
35575
+ };
35576
+ /** @description Forbidden */
35577
+ 403: {
35578
+ headers: {
35579
+ [name: string]: unknown;
35580
+ };
35581
+ content: {
35582
+ "application/json": components["schemas"]["ErrorBody"];
35583
+ };
35584
+ };
35585
+ /** @description Not Found */
35586
+ 404: {
35587
+ headers: {
35588
+ [name: string]: unknown;
35589
+ };
35590
+ content: {
35591
+ "application/json": components["schemas"]["ErrorBody"];
35592
+ };
35593
+ };
35594
+ };
35595
+ };
35596
+ IssuerTrustsController_update: {
35597
+ parameters: {
35598
+ query?: never;
35599
+ header?: never;
35600
+ path: {
35601
+ /** @description The ID of the organization. */
35602
+ organization_id: string;
35603
+ /** @description The ID of the issuer trust. */
35604
+ id: string;
35605
+ };
35606
+ cookie?: never;
35607
+ };
35608
+ requestBody: {
35609
+ content: {
35610
+ "application/json": {
35611
+ /**
35612
+ * @description Whether ID-JAGs from the issuer are accepted.
35613
+ * @example true
35614
+ */
35615
+ enabled?: boolean;
35616
+ };
35617
+ };
35618
+ };
35619
+ responses: {
35620
+ /** @description OK */
35621
+ 200: {
35622
+ headers: {
35623
+ [name: string]: unknown;
35624
+ };
35625
+ content: {
35626
+ "application/json": components["schemas"]["IssuerTrust"];
35627
+ };
35628
+ };
35629
+ /** @description Bad Request */
35630
+ 400: {
35631
+ headers: {
35632
+ [name: string]: unknown;
35633
+ };
35634
+ content: {
35635
+ "application/json": components["schemas"]["ErrorBodyWithCode"];
35636
+ };
35637
+ };
35638
+ /** @description Forbidden */
35639
+ 403: {
35640
+ headers: {
35641
+ [name: string]: unknown;
35642
+ };
35643
+ content: {
35644
+ "application/json": components["schemas"]["ErrorBody"];
35645
+ };
35646
+ };
35647
+ /** @description Not Found */
35648
+ 404: {
35649
+ headers: {
35650
+ [name: string]: unknown;
35651
+ };
35652
+ content: {
35653
+ "application/json": components["schemas"]["ErrorBody"];
35654
+ };
35655
+ };
35656
+ /** @description Unprocessable Entity */
35657
+ 422: {
35658
+ headers: {
35659
+ [name: string]: unknown;
35660
+ };
35661
+ content: {
35662
+ "application/json": components["schemas"]["ErrorBodyWithCodeErrors"];
35663
+ };
35664
+ };
35665
+ };
35666
+ };
35456
35667
  ItContactsController_list: {
35457
35668
  parameters: {
35458
35669
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.180.0",
3
+ "version": "0.182.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",