@workos/openapi-spec 0.179.0 → 0.180.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.
- package/dist/open-api-spec.yaml +248 -0
- package/dist/services.d.mts +1 -1
- package/dist/services.mjs +10 -0
- package/dist/types.d.ts +242 -2
- package/package.json +4 -4
package/dist/open-api-spec.yaml
CHANGED
|
@@ -12659,6 +12659,71 @@ 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
|
+
/organizations/{organization_id}/issuer_trusts/{id}:
|
|
12692
|
+
get:
|
|
12693
|
+
description: Get an issuer trust by its ID.
|
|
12694
|
+
operationId: IssuerTrustsController_get
|
|
12695
|
+
parameters:
|
|
12696
|
+
- name: organization_id
|
|
12697
|
+
required: true
|
|
12698
|
+
in: path
|
|
12699
|
+
description: The ID of the organization.
|
|
12700
|
+
schema:
|
|
12701
|
+
type: string
|
|
12702
|
+
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12703
|
+
- name: id
|
|
12704
|
+
required: true
|
|
12705
|
+
in: path
|
|
12706
|
+
description: The ID of the issuer trust.
|
|
12707
|
+
schema:
|
|
12708
|
+
type: string
|
|
12709
|
+
example: issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
|
|
12710
|
+
responses:
|
|
12711
|
+
'200':
|
|
12712
|
+
description: OK
|
|
12713
|
+
content:
|
|
12714
|
+
application/json:
|
|
12715
|
+
schema:
|
|
12716
|
+
$ref: '#/components/schemas/IssuerTrust'
|
|
12717
|
+
'404':
|
|
12718
|
+
description: Not Found
|
|
12719
|
+
content:
|
|
12720
|
+
application/json:
|
|
12721
|
+
schema:
|
|
12722
|
+
$ref: '#/components/schemas/ErrorBody'
|
|
12723
|
+
summary: Get an issuer trust
|
|
12724
|
+
tags:
|
|
12725
|
+
- organizations.issuer-trusts
|
|
12726
|
+
x-feature-flag: dashboard-claude-issuer-trusts
|
|
12662
12727
|
/organizations/{organization_id}/it_contacts:
|
|
12663
12728
|
get:
|
|
12664
12729
|
description: Get the IT contacts for an organization.
|
|
@@ -20000,6 +20065,8 @@ tags:
|
|
|
20000
20065
|
description: Manage organization-owned data providers and connected accounts.
|
|
20001
20066
|
- name: organizations.feature-flags
|
|
20002
20067
|
description: Manage organization-scoped feature flags.
|
|
20068
|
+
- name: organizations.issuer-trusts
|
|
20069
|
+
description: Manage the issuers an organization trusts.
|
|
20003
20070
|
- name: organizations.it-contacts
|
|
20004
20071
|
description: Manage IT contacts for organizations.
|
|
20005
20072
|
- name: permissions
|
|
@@ -24413,6 +24480,9 @@ components:
|
|
|
24413
24480
|
- invitation.created
|
|
24414
24481
|
- invitation.resent
|
|
24415
24482
|
- invitation.revoked
|
|
24483
|
+
- issuer_trust.created
|
|
24484
|
+
- issuer_trust.deleted
|
|
24485
|
+
- issuer_trust.updated
|
|
24416
24486
|
- magic_auth.created
|
|
24417
24487
|
- organization.created
|
|
24418
24488
|
- organization.deleted
|
|
@@ -30058,6 +30128,58 @@ components:
|
|
|
30058
30128
|
- value
|
|
30059
30129
|
- created_at
|
|
30060
30130
|
- updated_at
|
|
30131
|
+
IssuerTrust:
|
|
30132
|
+
type: object
|
|
30133
|
+
properties:
|
|
30134
|
+
object:
|
|
30135
|
+
type: string
|
|
30136
|
+
description: The Issuer Trust object.
|
|
30137
|
+
example: issuer_trust
|
|
30138
|
+
const: issuer_trust
|
|
30139
|
+
id:
|
|
30140
|
+
type: string
|
|
30141
|
+
description: The unique ID of the Issuer Trust.
|
|
30142
|
+
example: issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
|
|
30143
|
+
organization_id:
|
|
30144
|
+
type: string
|
|
30145
|
+
description: The ID of the Organization that trusts the issuer.
|
|
30146
|
+
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
30147
|
+
type:
|
|
30148
|
+
type: string
|
|
30149
|
+
description: The type of issuer, which identifies who operates it.
|
|
30150
|
+
example: claude
|
|
30151
|
+
const: claude
|
|
30152
|
+
issuer:
|
|
30153
|
+
type: string
|
|
30154
|
+
description: >-
|
|
30155
|
+
The issuer URL. ID-JAGs whose `iss` claim equals this URL are
|
|
30156
|
+
exchanged for access tokens scoped to the Organization.
|
|
30157
|
+
example: https://claude.ai/v1/ema/t/01JZ8X4N2R7Q9M3K5T6V8W0Y1A
|
|
30158
|
+
enabled:
|
|
30159
|
+
type: boolean
|
|
30160
|
+
description: >-
|
|
30161
|
+
Whether ID-JAGs from the issuer are accepted. A trust is created
|
|
30162
|
+
disabled.
|
|
30163
|
+
example: true
|
|
30164
|
+
created_at:
|
|
30165
|
+
format: date-time
|
|
30166
|
+
type: string
|
|
30167
|
+
description: An ISO 8601 timestamp.
|
|
30168
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
30169
|
+
updated_at:
|
|
30170
|
+
format: date-time
|
|
30171
|
+
type: string
|
|
30172
|
+
description: An ISO 8601 timestamp.
|
|
30173
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
30174
|
+
required:
|
|
30175
|
+
- object
|
|
30176
|
+
- id
|
|
30177
|
+
- organization_id
|
|
30178
|
+
- type
|
|
30179
|
+
- issuer
|
|
30180
|
+
- enabled
|
|
30181
|
+
- created_at
|
|
30182
|
+
- updated_at
|
|
30061
30183
|
PipesConnectedAccount:
|
|
30062
30184
|
type: object
|
|
30063
30185
|
properties:
|
|
@@ -37746,6 +37868,93 @@ components:
|
|
|
37746
37868
|
- data
|
|
37747
37869
|
- created_at
|
|
37748
37870
|
- object
|
|
37871
|
+
- type: object
|
|
37872
|
+
properties:
|
|
37873
|
+
id:
|
|
37874
|
+
type: string
|
|
37875
|
+
description: Unique identifier for the event.
|
|
37876
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
37877
|
+
event:
|
|
37878
|
+
type: string
|
|
37879
|
+
const: issuer_trust.created
|
|
37880
|
+
data:
|
|
37881
|
+
$ref: '#/components/schemas/IssuerTrust'
|
|
37882
|
+
description: The event payload.
|
|
37883
|
+
created_at:
|
|
37884
|
+
format: date-time
|
|
37885
|
+
type: string
|
|
37886
|
+
description: An ISO 8601 timestamp.
|
|
37887
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
37888
|
+
context:
|
|
37889
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
37890
|
+
object:
|
|
37891
|
+
type: string
|
|
37892
|
+
description: Distinguishes the Event object.
|
|
37893
|
+
const: event
|
|
37894
|
+
required:
|
|
37895
|
+
- id
|
|
37896
|
+
- event
|
|
37897
|
+
- data
|
|
37898
|
+
- created_at
|
|
37899
|
+
- object
|
|
37900
|
+
- type: object
|
|
37901
|
+
properties:
|
|
37902
|
+
id:
|
|
37903
|
+
type: string
|
|
37904
|
+
description: Unique identifier for the event.
|
|
37905
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
37906
|
+
event:
|
|
37907
|
+
type: string
|
|
37908
|
+
const: issuer_trust.deleted
|
|
37909
|
+
data:
|
|
37910
|
+
$ref: '#/components/schemas/IssuerTrust'
|
|
37911
|
+
description: The event payload.
|
|
37912
|
+
created_at:
|
|
37913
|
+
format: date-time
|
|
37914
|
+
type: string
|
|
37915
|
+
description: An ISO 8601 timestamp.
|
|
37916
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
37917
|
+
context:
|
|
37918
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
37919
|
+
object:
|
|
37920
|
+
type: string
|
|
37921
|
+
description: Distinguishes the Event object.
|
|
37922
|
+
const: event
|
|
37923
|
+
required:
|
|
37924
|
+
- id
|
|
37925
|
+
- event
|
|
37926
|
+
- data
|
|
37927
|
+
- created_at
|
|
37928
|
+
- object
|
|
37929
|
+
- type: object
|
|
37930
|
+
properties:
|
|
37931
|
+
id:
|
|
37932
|
+
type: string
|
|
37933
|
+
description: Unique identifier for the event.
|
|
37934
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
37935
|
+
event:
|
|
37936
|
+
type: string
|
|
37937
|
+
const: issuer_trust.updated
|
|
37938
|
+
data:
|
|
37939
|
+
$ref: '#/components/schemas/IssuerTrust'
|
|
37940
|
+
description: The event payload.
|
|
37941
|
+
created_at:
|
|
37942
|
+
format: date-time
|
|
37943
|
+
type: string
|
|
37944
|
+
description: An ISO 8601 timestamp.
|
|
37945
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
37946
|
+
context:
|
|
37947
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
37948
|
+
object:
|
|
37949
|
+
type: string
|
|
37950
|
+
description: Distinguishes the Event object.
|
|
37951
|
+
const: event
|
|
37952
|
+
required:
|
|
37953
|
+
- id
|
|
37954
|
+
- event
|
|
37955
|
+
- data
|
|
37956
|
+
- created_at
|
|
37957
|
+
- object
|
|
37749
37958
|
- type: object
|
|
37750
37959
|
properties:
|
|
37751
37960
|
id:
|
|
@@ -42192,6 +42401,45 @@ components:
|
|
|
42192
42401
|
- created_at
|
|
42193
42402
|
- updated_at
|
|
42194
42403
|
- value
|
|
42404
|
+
IssuerTrustList:
|
|
42405
|
+
type: object
|
|
42406
|
+
properties:
|
|
42407
|
+
object:
|
|
42408
|
+
type: string
|
|
42409
|
+
description: Indicates this is a list response.
|
|
42410
|
+
const: list
|
|
42411
|
+
data:
|
|
42412
|
+
type: array
|
|
42413
|
+
items:
|
|
42414
|
+
$ref: '#/components/schemas/IssuerTrust'
|
|
42415
|
+
description: The list of records for the current page.
|
|
42416
|
+
list_metadata:
|
|
42417
|
+
type: object
|
|
42418
|
+
properties:
|
|
42419
|
+
before:
|
|
42420
|
+
type:
|
|
42421
|
+
- string
|
|
42422
|
+
- 'null'
|
|
42423
|
+
description: >-
|
|
42424
|
+
An object ID that defines your place in the list. When the ID is
|
|
42425
|
+
not present, you are at the start of the list.
|
|
42426
|
+
example: issuer_trust_01HXYZ123456789ABCDEFGHIJ
|
|
42427
|
+
after:
|
|
42428
|
+
type:
|
|
42429
|
+
- string
|
|
42430
|
+
- 'null'
|
|
42431
|
+
description: >-
|
|
42432
|
+
An object ID that defines your place in the list. When the ID is
|
|
42433
|
+
not present, you are at the end of the list.
|
|
42434
|
+
example: issuer_trust_01HXYZ987654321KJIHGFEDCBA
|
|
42435
|
+
required:
|
|
42436
|
+
- before
|
|
42437
|
+
- after
|
|
42438
|
+
description: Pagination cursors for navigating between pages of results.
|
|
42439
|
+
required:
|
|
42440
|
+
- object
|
|
42441
|
+
- data
|
|
42442
|
+
- list_metadata
|
|
42195
42443
|
ItContact:
|
|
42196
42444
|
type: object
|
|
42197
42445
|
properties:
|
package/dist/services.d.mts
CHANGED
|
@@ -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,15 @@ const serviceEndpoints = {
|
|
|
804
805
|
"name": "get_organization_by_external_id"
|
|
805
806
|
}
|
|
806
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
|
+
}],
|
|
807
817
|
"Pipes": [
|
|
808
818
|
{
|
|
809
819
|
"method": "GET",
|
package/dist/types.d.ts
CHANGED
|
@@ -2428,6 +2428,46 @@ 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
|
+
post?: never;
|
|
2445
|
+
delete?: never;
|
|
2446
|
+
options?: never;
|
|
2447
|
+
head?: never;
|
|
2448
|
+
patch?: never;
|
|
2449
|
+
trace?: never;
|
|
2450
|
+
};
|
|
2451
|
+
"/organizations/{organization_id}/issuer_trusts/{id}": {
|
|
2452
|
+
parameters: {
|
|
2453
|
+
query?: never;
|
|
2454
|
+
header?: never;
|
|
2455
|
+
path?: never;
|
|
2456
|
+
cookie?: never;
|
|
2457
|
+
};
|
|
2458
|
+
/**
|
|
2459
|
+
* Get an issuer trust
|
|
2460
|
+
* @description Get an issuer trust by its ID.
|
|
2461
|
+
*/
|
|
2462
|
+
get: operations["IssuerTrustsController_get"];
|
|
2463
|
+
put?: never;
|
|
2464
|
+
post?: never;
|
|
2465
|
+
delete?: never;
|
|
2466
|
+
options?: never;
|
|
2467
|
+
head?: never;
|
|
2468
|
+
patch?: never;
|
|
2469
|
+
trace?: never;
|
|
2470
|
+
};
|
|
2431
2471
|
"/organizations/{organization_id}/it_contacts": {
|
|
2432
2472
|
parameters: {
|
|
2433
2473
|
query?: never;
|
|
@@ -6642,7 +6682,7 @@ export interface components {
|
|
|
6642
6682
|
* "dsync.user.created"
|
|
6643
6683
|
* ]
|
|
6644
6684
|
*/
|
|
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")[];
|
|
6685
|
+
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
6686
|
};
|
|
6647
6687
|
UpdateWebhookEndpointDto: {
|
|
6648
6688
|
/**
|
|
@@ -6663,7 +6703,7 @@ export interface components {
|
|
|
6663
6703
|
* "dsync.user.created"
|
|
6664
6704
|
* ]
|
|
6665
6705
|
*/
|
|
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")[];
|
|
6706
|
+
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
6707
|
};
|
|
6668
6708
|
WidgetSessionTokenDto: {
|
|
6669
6709
|
/**
|
|
@@ -11285,6 +11325,52 @@ export interface components {
|
|
|
11285
11325
|
*/
|
|
11286
11326
|
updated_at: string;
|
|
11287
11327
|
};
|
|
11328
|
+
IssuerTrust: {
|
|
11329
|
+
/**
|
|
11330
|
+
* @description The Issuer Trust object.
|
|
11331
|
+
* @example issuer_trust
|
|
11332
|
+
* @constant
|
|
11333
|
+
*/
|
|
11334
|
+
object: "issuer_trust";
|
|
11335
|
+
/**
|
|
11336
|
+
* @description The unique ID of the Issuer Trust.
|
|
11337
|
+
* @example issuer_trust_01JZ8X4N2R7Q9M3K5T6V8W0Y1A
|
|
11338
|
+
*/
|
|
11339
|
+
id: string;
|
|
11340
|
+
/**
|
|
11341
|
+
* @description The ID of the Organization that trusts the issuer.
|
|
11342
|
+
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11343
|
+
*/
|
|
11344
|
+
organization_id: string;
|
|
11345
|
+
/**
|
|
11346
|
+
* @description The type of issuer, which identifies who operates it.
|
|
11347
|
+
* @example claude
|
|
11348
|
+
* @constant
|
|
11349
|
+
*/
|
|
11350
|
+
type: "claude";
|
|
11351
|
+
/**
|
|
11352
|
+
* @description The issuer URL. ID-JAGs whose `iss` claim equals this URL are exchanged for access tokens scoped to the Organization.
|
|
11353
|
+
* @example https://claude.ai/v1/ema/t/01JZ8X4N2R7Q9M3K5T6V8W0Y1A
|
|
11354
|
+
*/
|
|
11355
|
+
issuer: string;
|
|
11356
|
+
/**
|
|
11357
|
+
* @description Whether ID-JAGs from the issuer are accepted. A trust is created disabled.
|
|
11358
|
+
* @example true
|
|
11359
|
+
*/
|
|
11360
|
+
enabled: boolean;
|
|
11361
|
+
/**
|
|
11362
|
+
* Format: date-time
|
|
11363
|
+
* @description An ISO 8601 timestamp.
|
|
11364
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
11365
|
+
*/
|
|
11366
|
+
created_at: string;
|
|
11367
|
+
/**
|
|
11368
|
+
* Format: date-time
|
|
11369
|
+
* @description An ISO 8601 timestamp.
|
|
11370
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
11371
|
+
*/
|
|
11372
|
+
updated_at: string;
|
|
11373
|
+
};
|
|
11288
11374
|
PipesConnectedAccount: {
|
|
11289
11375
|
/**
|
|
11290
11376
|
* @description The connected account object.
|
|
@@ -17079,6 +17165,72 @@ export interface components {
|
|
|
17079
17165
|
* @constant
|
|
17080
17166
|
*/
|
|
17081
17167
|
object: "event";
|
|
17168
|
+
} | {
|
|
17169
|
+
/**
|
|
17170
|
+
* @description Unique identifier for the event.
|
|
17171
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
17172
|
+
*/
|
|
17173
|
+
id: string;
|
|
17174
|
+
/** @constant */
|
|
17175
|
+
event: "issuer_trust.created";
|
|
17176
|
+
/** @description The event payload. */
|
|
17177
|
+
data: components["schemas"]["IssuerTrust"];
|
|
17178
|
+
/**
|
|
17179
|
+
* Format: date-time
|
|
17180
|
+
* @description An ISO 8601 timestamp.
|
|
17181
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
17182
|
+
*/
|
|
17183
|
+
created_at: string;
|
|
17184
|
+
context?: components["schemas"]["EventContextDto"];
|
|
17185
|
+
/**
|
|
17186
|
+
* @description Distinguishes the Event object.
|
|
17187
|
+
* @constant
|
|
17188
|
+
*/
|
|
17189
|
+
object: "event";
|
|
17190
|
+
} | {
|
|
17191
|
+
/**
|
|
17192
|
+
* @description Unique identifier for the event.
|
|
17193
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
17194
|
+
*/
|
|
17195
|
+
id: string;
|
|
17196
|
+
/** @constant */
|
|
17197
|
+
event: "issuer_trust.deleted";
|
|
17198
|
+
/** @description The event payload. */
|
|
17199
|
+
data: components["schemas"]["IssuerTrust"];
|
|
17200
|
+
/**
|
|
17201
|
+
* Format: date-time
|
|
17202
|
+
* @description An ISO 8601 timestamp.
|
|
17203
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
17204
|
+
*/
|
|
17205
|
+
created_at: string;
|
|
17206
|
+
context?: components["schemas"]["EventContextDto"];
|
|
17207
|
+
/**
|
|
17208
|
+
* @description Distinguishes the Event object.
|
|
17209
|
+
* @constant
|
|
17210
|
+
*/
|
|
17211
|
+
object: "event";
|
|
17212
|
+
} | {
|
|
17213
|
+
/**
|
|
17214
|
+
* @description Unique identifier for the event.
|
|
17215
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
17216
|
+
*/
|
|
17217
|
+
id: string;
|
|
17218
|
+
/** @constant */
|
|
17219
|
+
event: "issuer_trust.updated";
|
|
17220
|
+
/** @description The event payload. */
|
|
17221
|
+
data: components["schemas"]["IssuerTrust"];
|
|
17222
|
+
/**
|
|
17223
|
+
* Format: date-time
|
|
17224
|
+
* @description An ISO 8601 timestamp.
|
|
17225
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
17226
|
+
*/
|
|
17227
|
+
created_at: string;
|
|
17228
|
+
context?: components["schemas"]["EventContextDto"];
|
|
17229
|
+
/**
|
|
17230
|
+
* @description Distinguishes the Event object.
|
|
17231
|
+
* @constant
|
|
17232
|
+
*/
|
|
17233
|
+
object: "event";
|
|
17082
17234
|
} | {
|
|
17083
17235
|
/**
|
|
17084
17236
|
* @description Unique identifier for the event.
|
|
@@ -20679,6 +20831,28 @@ export interface components {
|
|
|
20679
20831
|
*/
|
|
20680
20832
|
value: string;
|
|
20681
20833
|
};
|
|
20834
|
+
IssuerTrustList: {
|
|
20835
|
+
/**
|
|
20836
|
+
* @description Indicates this is a list response.
|
|
20837
|
+
* @constant
|
|
20838
|
+
*/
|
|
20839
|
+
object: "list";
|
|
20840
|
+
/** @description The list of records for the current page. */
|
|
20841
|
+
data: components["schemas"]["IssuerTrust"][];
|
|
20842
|
+
/** @description Pagination cursors for navigating between pages of results. */
|
|
20843
|
+
list_metadata: {
|
|
20844
|
+
/**
|
|
20845
|
+
* @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.
|
|
20846
|
+
* @example issuer_trust_01HXYZ123456789ABCDEFGHIJ
|
|
20847
|
+
*/
|
|
20848
|
+
before: string | null;
|
|
20849
|
+
/**
|
|
20850
|
+
* @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.
|
|
20851
|
+
* @example issuer_trust_01HXYZ987654321KJIHGFEDCBA
|
|
20852
|
+
*/
|
|
20853
|
+
after: string | null;
|
|
20854
|
+
};
|
|
20855
|
+
};
|
|
20682
20856
|
ItContact: {
|
|
20683
20857
|
/**
|
|
20684
20858
|
* @description The IT Contact object.
|
|
@@ -35213,6 +35387,72 @@ export interface operations {
|
|
|
35213
35387
|
};
|
|
35214
35388
|
};
|
|
35215
35389
|
};
|
|
35390
|
+
IssuerTrustsController_list: {
|
|
35391
|
+
parameters: {
|
|
35392
|
+
query?: never;
|
|
35393
|
+
header?: never;
|
|
35394
|
+
path: {
|
|
35395
|
+
/** @description The ID of the organization. */
|
|
35396
|
+
organization_id: string;
|
|
35397
|
+
};
|
|
35398
|
+
cookie?: never;
|
|
35399
|
+
};
|
|
35400
|
+
requestBody?: never;
|
|
35401
|
+
responses: {
|
|
35402
|
+
/** @description OK */
|
|
35403
|
+
200: {
|
|
35404
|
+
headers: {
|
|
35405
|
+
[name: string]: unknown;
|
|
35406
|
+
};
|
|
35407
|
+
content: {
|
|
35408
|
+
"application/json": components["schemas"]["IssuerTrustList"];
|
|
35409
|
+
};
|
|
35410
|
+
};
|
|
35411
|
+
/** @description Not Found */
|
|
35412
|
+
404: {
|
|
35413
|
+
headers: {
|
|
35414
|
+
[name: string]: unknown;
|
|
35415
|
+
};
|
|
35416
|
+
content: {
|
|
35417
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
35418
|
+
};
|
|
35419
|
+
};
|
|
35420
|
+
};
|
|
35421
|
+
};
|
|
35422
|
+
IssuerTrustsController_get: {
|
|
35423
|
+
parameters: {
|
|
35424
|
+
query?: never;
|
|
35425
|
+
header?: never;
|
|
35426
|
+
path: {
|
|
35427
|
+
/** @description The ID of the organization. */
|
|
35428
|
+
organization_id: string;
|
|
35429
|
+
/** @description The ID of the issuer trust. */
|
|
35430
|
+
id: string;
|
|
35431
|
+
};
|
|
35432
|
+
cookie?: never;
|
|
35433
|
+
};
|
|
35434
|
+
requestBody?: never;
|
|
35435
|
+
responses: {
|
|
35436
|
+
/** @description OK */
|
|
35437
|
+
200: {
|
|
35438
|
+
headers: {
|
|
35439
|
+
[name: string]: unknown;
|
|
35440
|
+
};
|
|
35441
|
+
content: {
|
|
35442
|
+
"application/json": components["schemas"]["IssuerTrust"];
|
|
35443
|
+
};
|
|
35444
|
+
};
|
|
35445
|
+
/** @description Not Found */
|
|
35446
|
+
404: {
|
|
35447
|
+
headers: {
|
|
35448
|
+
[name: string]: unknown;
|
|
35449
|
+
};
|
|
35450
|
+
content: {
|
|
35451
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
35452
|
+
};
|
|
35453
|
+
};
|
|
35454
|
+
};
|
|
35455
|
+
};
|
|
35216
35456
|
ItContactsController_list: {
|
|
35217
35457
|
parameters: {
|
|
35218
35458
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.180.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.
|
|
61
|
-
"@workos/oagen-emitters": "^0.25.
|
|
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.
|
|
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"
|