@workos/openapi-spec 0.179.0 → 0.181.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.
@@ -12659,6 +12659,263 @@ paths:
12659
12659
  tags:
12660
12660
  - organizations.data-providers
12661
12661
  x-feature-flag: pipes-org-integrations
12662
+ /organizations/{organization_id}/issuer_trusts:
12663
+ get:
12664
+ description: Get the issuers an organization trusts.
12665
+ operationId: IssuerTrustsController_list
12666
+ parameters:
12667
+ - name: organization_id
12668
+ required: true
12669
+ in: path
12670
+ description: The ID of the organization.
12671
+ schema:
12672
+ type: string
12673
+ example: org_01EHZNVPK3SFK441A1RGBFSHRT
12674
+ responses:
12675
+ '200':
12676
+ description: OK
12677
+ content:
12678
+ application/json:
12679
+ schema:
12680
+ $ref: '#/components/schemas/IssuerTrustList'
12681
+ '404':
12682
+ description: Not Found
12683
+ content:
12684
+ application/json:
12685
+ schema:
12686
+ $ref: '#/components/schemas/ErrorBody'
12687
+ summary: List issuer trusts
12688
+ tags:
12689
+ - organizations.issuer-trusts
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
12773
+ /organizations/{organization_id}/issuer_trusts/{id}:
12774
+ get:
12775
+ description: Get an issuer trust by its ID.
12776
+ operationId: IssuerTrustsController_get
12777
+ parameters:
12778
+ - name: organization_id
12779
+ required: true
12780
+ in: path
12781
+ description: The ID of the organization.
12782
+ schema:
12783
+ type: string
12784
+ example: org_01EHZNVPK3SFK441A1RGBFSHRT
12785
+ - name: id
12786
+ required: true
12787
+ in: path
12788
+ description: The ID of the issuer trust.
12789
+ schema:
12790
+ type: string
12791
+ example: issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
12792
+ responses:
12793
+ '200':
12794
+ description: OK
12795
+ content:
12796
+ application/json:
12797
+ schema:
12798
+ $ref: '#/components/schemas/IssuerTrust'
12799
+ '404':
12800
+ description: Not Found
12801
+ content:
12802
+ application/json:
12803
+ schema:
12804
+ $ref: '#/components/schemas/ErrorBody'
12805
+ summary: Get an issuer trust
12806
+ tags:
12807
+ - organizations.issuer-trusts
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
12662
12919
  /organizations/{organization_id}/it_contacts:
12663
12920
  get:
12664
12921
  description: Get the IT contacts for an organization.
@@ -20000,6 +20257,8 @@ tags:
20000
20257
  description: Manage organization-owned data providers and connected accounts.
20001
20258
  - name: organizations.feature-flags
20002
20259
  description: Manage organization-scoped feature flags.
20260
+ - name: organizations.issuer-trusts
20261
+ description: Manage the issuers an organization trusts.
20003
20262
  - name: organizations.it-contacts
20004
20263
  description: Manage IT contacts for organizations.
20005
20264
  - name: permissions
@@ -24413,6 +24672,9 @@ components:
24413
24672
  - invitation.created
24414
24673
  - invitation.resent
24415
24674
  - invitation.revoked
24675
+ - issuer_trust.created
24676
+ - issuer_trust.deleted
24677
+ - issuer_trust.updated
24416
24678
  - magic_auth.created
24417
24679
  - organization.created
24418
24680
  - organization.deleted
@@ -24676,6 +24938,8 @@ components:
24676
24938
  - invalid_email
24677
24939
  - invalid_idp_sso_url
24678
24940
  - invalid_invite
24941
+ - invalid_issuer_metadata
24942
+ - invalid_issuer_url
24679
24943
  - invalid_locale
24680
24944
  - invalid_metadata
24681
24945
  - invalid_one_time_code
@@ -24697,6 +24961,7 @@ components:
24697
24961
  - invite_not_pending
24698
24962
  - invite_revoked
24699
24963
  - ip_address_required
24964
+ - issuer_already_trusted
24700
24965
  - it_contact_already_exists
24701
24966
  - it_contact_invitation_already_active
24702
24967
  - key_pair_not_accepted
@@ -24709,16 +24974,20 @@ components:
24709
24974
  - multiple_roles_not_enabled
24710
24975
  - name_already_in_use
24711
24976
  - no_pending_email_change
24977
+ - not_claude_issuer
24712
24978
  - oidc_options_required
24713
24979
  - one_time_code_expired
24714
24980
  - one_time_code_previously_used
24715
24981
  - one_time_code_too_many_attempts
24982
+ - organization_already_has_trust
24716
24983
  - organization_blocked_from_sending_invites
24984
+ - organization_has_idp_managed_ema
24717
24985
  - organization_membership_directory_managed
24718
24986
  - organization_not_found
24719
24987
  - organization_not_invocable
24720
24988
  - organization_role_slug_conflict
24721
24989
  - organization_selection_required
24990
+ - organization_without_verified_domain
24722
24991
  - passkey_progressive_enrollment
24723
24992
  - password_and_password_hash_provided
24724
24993
  - password_and_password_hash_type_provided
@@ -24996,6 +25265,24 @@ components:
24996
25265
  type: number
24997
25266
  description: The HTTP status code.
24998
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
24999
25286
  ConnectionFinishErrorBody:
25000
25287
  type: object
25001
25288
  properties:
@@ -25150,24 +25437,6 @@ components:
25150
25437
  required:
25151
25438
  - code
25152
25439
  - message
25153
- ErrorBodyWithCodeErrors:
25154
- type: object
25155
- properties:
25156
- code:
25157
- $ref: '#/components/schemas/ErrorBodyCode'
25158
- message: &ref_31
25159
- type: string
25160
- description: A human-readable description of the error.
25161
- example: Validation failed.
25162
- errors: &ref_32
25163
- type: array
25164
- items:
25165
- $ref: '#/components/schemas/ErrorBodyWithCode'
25166
- description: The list of validation errors.
25167
- required: &ref_33
25168
- - code
25169
- - message
25170
- - errors
25171
25440
  OrganizationConnectedAccountImportErrorBody:
25172
25441
  type: object
25173
25442
  properties:
@@ -30058,6 +30327,58 @@ components:
30058
30327
  - value
30059
30328
  - created_at
30060
30329
  - updated_at
30330
+ IssuerTrust:
30331
+ type: object
30332
+ properties:
30333
+ object:
30334
+ type: string
30335
+ description: The Issuer Trust object.
30336
+ example: issuer_trust
30337
+ const: issuer_trust
30338
+ id:
30339
+ type: string
30340
+ description: The unique ID of the Issuer Trust.
30341
+ example: issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
30342
+ organization_id:
30343
+ type: string
30344
+ description: The ID of the Organization that trusts the issuer.
30345
+ example: org_01EHZNVPK3SFK441A1RGBFSHRT
30346
+ type:
30347
+ type: string
30348
+ description: The type of issuer, which identifies who operates it.
30349
+ example: claude
30350
+ const: claude
30351
+ issuer:
30352
+ type: string
30353
+ description: >-
30354
+ The issuer URL. ID-JAGs whose `iss` claim equals this URL are
30355
+ exchanged for access tokens scoped to the Organization.
30356
+ example: https://claude.ai/v1/ema/t/01JZ8X4N2R7Q9M3K5T6V8W0Y1A
30357
+ enabled:
30358
+ type: boolean
30359
+ description: >-
30360
+ Whether ID-JAGs from the issuer are accepted. A trust is created
30361
+ disabled.
30362
+ example: true
30363
+ created_at:
30364
+ format: date-time
30365
+ type: string
30366
+ description: An ISO 8601 timestamp.
30367
+ example: '2026-01-15T12:00:00.000Z'
30368
+ updated_at:
30369
+ format: date-time
30370
+ type: string
30371
+ description: An ISO 8601 timestamp.
30372
+ example: '2026-01-15T12:00:00.000Z'
30373
+ required:
30374
+ - object
30375
+ - id
30376
+ - organization_id
30377
+ - type
30378
+ - issuer
30379
+ - enabled
30380
+ - created_at
30381
+ - updated_at
30061
30382
  PipesConnectedAccount:
30062
30383
  type: object
30063
30384
  properties:
@@ -37746,6 +38067,93 @@ components:
37746
38067
  - data
37747
38068
  - created_at
37748
38069
  - object
38070
+ - type: object
38071
+ properties:
38072
+ id:
38073
+ type: string
38074
+ description: Unique identifier for the event.
38075
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
38076
+ event:
38077
+ type: string
38078
+ const: issuer_trust.created
38079
+ data:
38080
+ $ref: '#/components/schemas/IssuerTrust'
38081
+ description: The event payload.
38082
+ created_at:
38083
+ format: date-time
38084
+ type: string
38085
+ description: An ISO 8601 timestamp.
38086
+ example: '2026-01-15T12:00:00.000Z'
38087
+ context:
38088
+ $ref: '#/components/schemas/EventContextDto'
38089
+ object:
38090
+ type: string
38091
+ description: Distinguishes the Event object.
38092
+ const: event
38093
+ required:
38094
+ - id
38095
+ - event
38096
+ - data
38097
+ - created_at
38098
+ - object
38099
+ - type: object
38100
+ properties:
38101
+ id:
38102
+ type: string
38103
+ description: Unique identifier for the event.
38104
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
38105
+ event:
38106
+ type: string
38107
+ const: issuer_trust.deleted
38108
+ data:
38109
+ $ref: '#/components/schemas/IssuerTrust'
38110
+ description: The event payload.
38111
+ created_at:
38112
+ format: date-time
38113
+ type: string
38114
+ description: An ISO 8601 timestamp.
38115
+ example: '2026-01-15T12:00:00.000Z'
38116
+ context:
38117
+ $ref: '#/components/schemas/EventContextDto'
38118
+ object:
38119
+ type: string
38120
+ description: Distinguishes the Event object.
38121
+ const: event
38122
+ required:
38123
+ - id
38124
+ - event
38125
+ - data
38126
+ - created_at
38127
+ - object
38128
+ - type: object
38129
+ properties:
38130
+ id:
38131
+ type: string
38132
+ description: Unique identifier for the event.
38133
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
38134
+ event:
38135
+ type: string
38136
+ const: issuer_trust.updated
38137
+ data:
38138
+ $ref: '#/components/schemas/IssuerTrust'
38139
+ description: The event payload.
38140
+ created_at:
38141
+ format: date-time
38142
+ type: string
38143
+ description: An ISO 8601 timestamp.
38144
+ example: '2026-01-15T12:00:00.000Z'
38145
+ context:
38146
+ $ref: '#/components/schemas/EventContextDto'
38147
+ object:
38148
+ type: string
38149
+ description: Distinguishes the Event object.
38150
+ const: event
38151
+ required:
38152
+ - id
38153
+ - event
38154
+ - data
38155
+ - created_at
38156
+ - object
37749
38157
  - type: object
37750
38158
  properties:
37751
38159
  id:
@@ -42192,6 +42600,45 @@ components:
42192
42600
  - created_at
42193
42601
  - updated_at
42194
42602
  - value
42603
+ IssuerTrustList:
42604
+ type: object
42605
+ properties:
42606
+ object:
42607
+ type: string
42608
+ description: Indicates this is a list response.
42609
+ const: list
42610
+ data:
42611
+ type: array
42612
+ items:
42613
+ $ref: '#/components/schemas/IssuerTrust'
42614
+ description: The list of records for the current page.
42615
+ list_metadata:
42616
+ type: object
42617
+ properties:
42618
+ before:
42619
+ type:
42620
+ - string
42621
+ - 'null'
42622
+ description: >-
42623
+ An object ID that defines your place in the list. When the ID is
42624
+ not present, you are at the start of the list.
42625
+ example: issuer_trust_01HXYZ123456789ABCDEFGHIJ
42626
+ after:
42627
+ type:
42628
+ - string
42629
+ - 'null'
42630
+ description: >-
42631
+ An object ID that defines your place in the list. When the ID is
42632
+ not present, you are at the end of the list.
42633
+ example: issuer_trust_01HXYZ987654321KJIHGFEDCBA
42634
+ required:
42635
+ - before
42636
+ - after
42637
+ description: Pagination cursors for navigating between pages of results.
42638
+ required:
42639
+ - object
42640
+ - data
42641
+ - list_metadata
42195
42642
  ItContact:
42196
42643
  type: object
42197
42644
  properties:
@@ -1,4 +1,4 @@
1
- export declare const services: readonly ["AdminPortal", "Agents", "ApiKeys", "AuditLogs", "Authorization", "ClientApi", "Connect", "DirectorySync", "Events", "FeatureFlags", "Groups", "MultiFactorAuth", "OrganizationDomains", "OrganizationMembership", "Organizations", "Pipes", "PipesProvider", "PlatformTeams", "Radar", "SSO", "UserManagement", "Vault", "Webhooks", "Widgets"];
1
+ export declare const services: readonly ["AdminPortal", "Agents", "ApiKeys", "AuditLogs", "Authorization", "ClientApi", "Connect", "DirectorySync", "Events", "FeatureFlags", "Groups", "MultiFactorAuth", "OrganizationDomains", "OrganizationMembership", "Organizations", "OrganizationsIssuerTrusts", "Pipes", "PipesProvider", "PlatformTeams", "Radar", "SSO", "UserManagement", "Vault", "Webhooks", "Widgets"];
2
2
  export type ServiceName = (typeof services)[number];
3
3
  export interface ServiceEndpoint {
4
4
  method: string;
package/dist/services.mjs CHANGED
@@ -15,6 +15,7 @@ const services = [
15
15
  "OrganizationDomains",
16
16
  "OrganizationMembership",
17
17
  "Organizations",
18
+ "OrganizationsIssuerTrusts",
18
19
  "Pipes",
19
20
  "PipesProvider",
20
21
  "PlatformTeams",
@@ -804,6 +805,33 @@ const serviceEndpoints = {
804
805
  "name": "get_organization_by_external_id"
805
806
  }
806
807
  ],
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
+ ],
807
835
  "Pipes": [
808
836
  {
809
837
  "method": "GET",
package/dist/types.d.ts CHANGED
@@ -2428,6 +2428,58 @@ export interface paths {
2428
2428
  patch?: never;
2429
2429
  trace?: never;
2430
2430
  };
2431
+ "/organizations/{organization_id}/issuer_trusts": {
2432
+ parameters: {
2433
+ query?: never;
2434
+ header?: never;
2435
+ path?: never;
2436
+ cookie?: never;
2437
+ };
2438
+ /**
2439
+ * List issuer trusts
2440
+ * @description Get the issuers an organization trusts.
2441
+ */
2442
+ get: operations["IssuerTrustsController_list"];
2443
+ put?: 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"];
2449
+ delete?: never;
2450
+ options?: never;
2451
+ head?: never;
2452
+ patch?: never;
2453
+ trace?: never;
2454
+ };
2455
+ "/organizations/{organization_id}/issuer_trusts/{id}": {
2456
+ parameters: {
2457
+ query?: never;
2458
+ header?: never;
2459
+ path?: never;
2460
+ cookie?: never;
2461
+ };
2462
+ /**
2463
+ * Get an issuer trust
2464
+ * @description Get an issuer trust by its ID.
2465
+ */
2466
+ get: operations["IssuerTrustsController_get"];
2467
+ put?: never;
2468
+ post?: 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"];
2474
+ options?: never;
2475
+ head?: 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"];
2481
+ trace?: never;
2482
+ };
2431
2483
  "/organizations/{organization_id}/it_contacts": {
2432
2484
  parameters: {
2433
2485
  query?: never;
@@ -6642,7 +6694,7 @@ export interface components {
6642
6694
  * "dsync.user.created"
6643
6695
  * ]
6644
6696
  */
6645
- events: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "application.token_exchange_failed" | "application.token_exchange_succeeded" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "feature_flags.flag.created" | "feature_flags.flag.updated" | "feature_flags.flag.deleted" | "feature_flags.flag_rule.created" | "feature_flags.flag_rule.updated" | "feature_flags.flag_target.created" | "feature_flags.flag_rule.deleted" | "feature_flags.flag_target.deleted" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
6697
+ events: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "application.token_exchange_failed" | "application.token_exchange_succeeded" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "feature_flags.flag.created" | "feature_flags.flag.updated" | "feature_flags.flag.deleted" | "feature_flags.flag_rule.created" | "feature_flags.flag_rule.updated" | "feature_flags.flag_target.created" | "feature_flags.flag_rule.deleted" | "feature_flags.flag_target.deleted" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "issuer_trust.created" | "issuer_trust.deleted" | "issuer_trust.updated" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
6646
6698
  };
6647
6699
  UpdateWebhookEndpointDto: {
6648
6700
  /**
@@ -6663,7 +6715,7 @@ export interface components {
6663
6715
  * "dsync.user.created"
6664
6716
  * ]
6665
6717
  */
6666
- events?: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "application.token_exchange_failed" | "application.token_exchange_succeeded" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "feature_flags.flag.created" | "feature_flags.flag.updated" | "feature_flags.flag.deleted" | "feature_flags.flag_rule.created" | "feature_flags.flag_rule.updated" | "feature_flags.flag_target.created" | "feature_flags.flag_rule.deleted" | "feature_flags.flag_target.deleted" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
6718
+ events?: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "application.token_exchange_failed" | "application.token_exchange_succeeded" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "feature_flags.flag.created" | "feature_flags.flag.updated" | "feature_flags.flag.deleted" | "feature_flags.flag_rule.created" | "feature_flags.flag_rule.updated" | "feature_flags.flag_target.created" | "feature_flags.flag_rule.deleted" | "feature_flags.flag_target.deleted" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "issuer_trust.created" | "issuer_trust.deleted" | "issuer_trust.updated" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
6667
6719
  };
6668
6720
  WidgetSessionTokenDto: {
6669
6721
  /**
@@ -6746,7 +6798,7 @@ export interface components {
6746
6798
  * @description A machine-readable error code; additional values may be added over time.
6747
6799
  * @enum {string}
6748
6800
  */
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";
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";
6750
6802
  ErrorBodyWithCode: {
6751
6803
  /**
6752
6804
  * @description The error code identifying the type of error.
@@ -6931,6 +6983,16 @@ export interface components {
6931
6983
  */
6932
6984
  statusCode?: number;
6933
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
+ };
6934
6996
  ConnectionFinishErrorBody: {
6935
6997
  /**
6936
6998
  * @description The error code identifying the type of error.
@@ -7025,16 +7087,6 @@ export interface components {
7025
7087
  */
7026
7088
  message: string;
7027
7089
  };
7028
- ErrorBodyWithCodeErrors: {
7029
- code: components["schemas"]["ErrorBodyCode"];
7030
- /**
7031
- * @description A human-readable description of the error.
7032
- * @example Validation failed.
7033
- */
7034
- message: string;
7035
- /** @description The list of validation errors. */
7036
- errors: components["schemas"]["ErrorBodyWithCode"][];
7037
- };
7038
7090
  OrganizationConnectedAccountImportErrorBody: {
7039
7091
  /**
7040
7092
  * @description The error code identifying the type of error.
@@ -11285,6 +11337,52 @@ export interface components {
11285
11337
  */
11286
11338
  updated_at: string;
11287
11339
  };
11340
+ IssuerTrust: {
11341
+ /**
11342
+ * @description The Issuer Trust object.
11343
+ * @example issuer_trust
11344
+ * @constant
11345
+ */
11346
+ object: "issuer_trust";
11347
+ /**
11348
+ * @description The unique ID of the Issuer Trust.
11349
+ * @example issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
11350
+ */
11351
+ id: string;
11352
+ /**
11353
+ * @description The ID of the Organization that trusts the issuer.
11354
+ * @example org_01EHZNVPK3SFK441A1RGBFSHRT
11355
+ */
11356
+ organization_id: string;
11357
+ /**
11358
+ * @description The type of issuer, which identifies who operates it.
11359
+ * @example claude
11360
+ * @constant
11361
+ */
11362
+ type: "claude";
11363
+ /**
11364
+ * @description The issuer URL. ID-JAGs whose `iss` claim equals this URL are exchanged for access tokens scoped to the Organization.
11365
+ * @example https://claude.ai/v1/ema/t/01JZ8X4N2R7Q9M3K5T6V8W0Y1A
11366
+ */
11367
+ issuer: string;
11368
+ /**
11369
+ * @description Whether ID-JAGs from the issuer are accepted. A trust is created disabled.
11370
+ * @example true
11371
+ */
11372
+ enabled: boolean;
11373
+ /**
11374
+ * Format: date-time
11375
+ * @description An ISO 8601 timestamp.
11376
+ * @example 2026-01-15T12:00:00.000Z
11377
+ */
11378
+ created_at: string;
11379
+ /**
11380
+ * Format: date-time
11381
+ * @description An ISO 8601 timestamp.
11382
+ * @example 2026-01-15T12:00:00.000Z
11383
+ */
11384
+ updated_at: string;
11385
+ };
11288
11386
  PipesConnectedAccount: {
11289
11387
  /**
11290
11388
  * @description The connected account object.
@@ -17079,6 +17177,72 @@ export interface components {
17079
17177
  * @constant
17080
17178
  */
17081
17179
  object: "event";
17180
+ } | {
17181
+ /**
17182
+ * @description Unique identifier for the event.
17183
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
17184
+ */
17185
+ id: string;
17186
+ /** @constant */
17187
+ event: "issuer_trust.created";
17188
+ /** @description The event payload. */
17189
+ data: components["schemas"]["IssuerTrust"];
17190
+ /**
17191
+ * Format: date-time
17192
+ * @description An ISO 8601 timestamp.
17193
+ * @example 2026-01-15T12:00:00.000Z
17194
+ */
17195
+ created_at: string;
17196
+ context?: components["schemas"]["EventContextDto"];
17197
+ /**
17198
+ * @description Distinguishes the Event object.
17199
+ * @constant
17200
+ */
17201
+ object: "event";
17202
+ } | {
17203
+ /**
17204
+ * @description Unique identifier for the event.
17205
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
17206
+ */
17207
+ id: string;
17208
+ /** @constant */
17209
+ event: "issuer_trust.deleted";
17210
+ /** @description The event payload. */
17211
+ data: components["schemas"]["IssuerTrust"];
17212
+ /**
17213
+ * Format: date-time
17214
+ * @description An ISO 8601 timestamp.
17215
+ * @example 2026-01-15T12:00:00.000Z
17216
+ */
17217
+ created_at: string;
17218
+ context?: components["schemas"]["EventContextDto"];
17219
+ /**
17220
+ * @description Distinguishes the Event object.
17221
+ * @constant
17222
+ */
17223
+ object: "event";
17224
+ } | {
17225
+ /**
17226
+ * @description Unique identifier for the event.
17227
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
17228
+ */
17229
+ id: string;
17230
+ /** @constant */
17231
+ event: "issuer_trust.updated";
17232
+ /** @description The event payload. */
17233
+ data: components["schemas"]["IssuerTrust"];
17234
+ /**
17235
+ * Format: date-time
17236
+ * @description An ISO 8601 timestamp.
17237
+ * @example 2026-01-15T12:00:00.000Z
17238
+ */
17239
+ created_at: string;
17240
+ context?: components["schemas"]["EventContextDto"];
17241
+ /**
17242
+ * @description Distinguishes the Event object.
17243
+ * @constant
17244
+ */
17245
+ object: "event";
17082
17246
  } | {
17083
17247
  /**
17084
17248
  * @description Unique identifier for the event.
@@ -20679,6 +20843,28 @@ export interface components {
20679
20843
  */
20680
20844
  value: string;
20681
20845
  };
20846
+ IssuerTrustList: {
20847
+ /**
20848
+ * @description Indicates this is a list response.
20849
+ * @constant
20850
+ */
20851
+ object: "list";
20852
+ /** @description The list of records for the current page. */
20853
+ data: components["schemas"]["IssuerTrust"][];
20854
+ /** @description Pagination cursors for navigating between pages of results. */
20855
+ list_metadata: {
20856
+ /**
20857
+ * @description An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
20858
+ * @example issuer_trust_01HXYZ123456789ABCDEFGHIJ
20859
+ */
20860
+ before: string | null;
20861
+ /**
20862
+ * @description An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
20863
+ * @example issuer_trust_01HXYZ987654321KJIHGFEDCBA
20864
+ */
20865
+ after: string | null;
20866
+ };
20867
+ };
20682
20868
  ItContact: {
20683
20869
  /**
20684
20870
  * @description The IT Contact object.
@@ -35213,6 +35399,271 @@ export interface operations {
35213
35399
  };
35214
35400
  };
35215
35401
  };
35402
+ IssuerTrustsController_list: {
35403
+ parameters: {
35404
+ query?: never;
35405
+ header?: never;
35406
+ path: {
35407
+ /** @description The ID of the organization. */
35408
+ organization_id: string;
35409
+ };
35410
+ cookie?: never;
35411
+ };
35412
+ requestBody?: never;
35413
+ responses: {
35414
+ /** @description OK */
35415
+ 200: {
35416
+ headers: {
35417
+ [name: string]: unknown;
35418
+ };
35419
+ content: {
35420
+ "application/json": components["schemas"]["IssuerTrustList"];
35421
+ };
35422
+ };
35423
+ /** @description Not Found */
35424
+ 404: {
35425
+ headers: {
35426
+ [name: string]: unknown;
35427
+ };
35428
+ content: {
35429
+ "application/json": components["schemas"]["ErrorBody"];
35430
+ };
35431
+ };
35432
+ };
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
+ };
35521
+ IssuerTrustsController_get: {
35522
+ parameters: {
35523
+ query?: never;
35524
+ header?: never;
35525
+ path: {
35526
+ /** @description The ID of the organization. */
35527
+ organization_id: string;
35528
+ /** @description The ID of the issuer trust. */
35529
+ id: string;
35530
+ };
35531
+ cookie?: never;
35532
+ };
35533
+ requestBody?: never;
35534
+ responses: {
35535
+ /** @description OK */
35536
+ 200: {
35537
+ headers: {
35538
+ [name: string]: unknown;
35539
+ };
35540
+ content: {
35541
+ "application/json": components["schemas"]["IssuerTrust"];
35542
+ };
35543
+ };
35544
+ /** @description Not Found */
35545
+ 404: {
35546
+ headers: {
35547
+ [name: string]: unknown;
35548
+ };
35549
+ content: {
35550
+ "application/json": components["schemas"]["ErrorBody"];
35551
+ };
35552
+ };
35553
+ };
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
+ };
35216
35667
  ItContactsController_list: {
35217
35668
  parameters: {
35218
35669
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.179.0",
3
+ "version": "0.181.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",
@@ -57,12 +57,12 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/node": "^26.6.6",
60
- "@workos/oagen": "^0.35.0",
61
- "@workos/oagen-emitters": "^0.25.10",
60
+ "@workos/oagen": "^0.36.0",
61
+ "@workos/oagen-emitters": "^0.25.12",
62
62
  "diff2html": "^3.4.56",
63
63
  "husky": "^9.1.7",
64
64
  "js-yaml": "^5.5.0",
65
- "openapi-to-postmanv2": "^6.4.4",
65
+ "openapi-to-postmanv2": "^6.4.5",
66
66
  "tsdown": "^0.23.7",
67
67
  "tsx": "^4.23.15",
68
68
  "typescript": "^7.0.2"