@workos/openapi-spec 0.88.0 → 0.90.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 +42 -0
- package/dist/types.d.ts +41 -0
- package/package.json +2 -2
package/dist/open-api-spec.yaml
CHANGED
|
@@ -1425,6 +1425,7 @@ paths:
|
|
|
1425
1425
|
credential:
|
|
1426
1426
|
type: string
|
|
1427
1427
|
minLength: 1
|
|
1428
|
+
format: password
|
|
1428
1429
|
description: >-
|
|
1429
1430
|
The credential value to validate: the API key value for
|
|
1430
1431
|
`api_key`, or the access token (JWT) for `access_token`.
|
|
@@ -1443,6 +1444,7 @@ paths:
|
|
|
1443
1444
|
credential:
|
|
1444
1445
|
type: string
|
|
1445
1446
|
minLength: 1
|
|
1447
|
+
format: password
|
|
1446
1448
|
description: >-
|
|
1447
1449
|
The credential value to validate: the API key value for
|
|
1448
1450
|
`api_key`, or the access token (JWT) for `access_token`.
|
|
@@ -2736,6 +2738,7 @@ paths:
|
|
|
2736
2738
|
properties:
|
|
2737
2739
|
code:
|
|
2738
2740
|
type: string
|
|
2741
|
+
format: password
|
|
2739
2742
|
description: The one-time code to verify.
|
|
2740
2743
|
example: '123456'
|
|
2741
2744
|
required:
|
|
@@ -15694,6 +15697,7 @@ paths:
|
|
|
15694
15697
|
The authorization code received from the authorization callback.
|
|
15695
15698
|
Required when `grant_type` is `authorization_code`.
|
|
15696
15699
|
schema:
|
|
15700
|
+
format: password
|
|
15697
15701
|
example: authorization_code_value
|
|
15698
15702
|
type: string
|
|
15699
15703
|
- name: grant_type
|
|
@@ -15836,10 +15840,12 @@ paths:
|
|
|
15836
15840
|
const: authorization_code
|
|
15837
15841
|
code:
|
|
15838
15842
|
type: string
|
|
15843
|
+
format: password
|
|
15839
15844
|
description: The authorization code received from the redirect.
|
|
15840
15845
|
example: vBqZKaPpsnJlPfXiDqN7b6VTz
|
|
15841
15846
|
code_verifier:
|
|
15842
15847
|
type: string
|
|
15848
|
+
format: password
|
|
15843
15849
|
description: >-
|
|
15844
15850
|
The PKCE code verifier used to derive the code challenge
|
|
15845
15851
|
passed to the authorization URL.
|
|
@@ -15980,6 +15986,7 @@ paths:
|
|
|
15980
15986
|
const: urn:workos:oauth:grant-type:magic-auth:code
|
|
15981
15987
|
code:
|
|
15982
15988
|
type: string
|
|
15989
|
+
format: password
|
|
15983
15990
|
description: The one-time code for Magic Auth authentication.
|
|
15984
15991
|
example: '123456'
|
|
15985
15992
|
email:
|
|
@@ -16029,6 +16036,7 @@ paths:
|
|
|
16029
16036
|
const: urn:workos:oauth:grant-type:email-verification:code
|
|
16030
16037
|
code:
|
|
16031
16038
|
type: string
|
|
16039
|
+
format: password
|
|
16032
16040
|
description: The email verification code.
|
|
16033
16041
|
example: '123456'
|
|
16034
16042
|
pending_authentication_token:
|
|
@@ -16070,6 +16078,7 @@ paths:
|
|
|
16070
16078
|
const: urn:workos:oauth:grant-type:mfa-totp
|
|
16071
16079
|
code:
|
|
16072
16080
|
type: string
|
|
16081
|
+
format: password
|
|
16073
16082
|
description: The TOTP code from the authenticator app.
|
|
16074
16083
|
example: '123456'
|
|
16075
16084
|
pending_authentication_token:
|
|
@@ -16204,6 +16213,7 @@ paths:
|
|
|
16204
16213
|
const: urn:workos:oauth:grant-type:radar-email-challenge:code
|
|
16205
16214
|
code:
|
|
16206
16215
|
type: string
|
|
16216
|
+
format: password
|
|
16207
16217
|
description: The one-time code from the Radar email challenge.
|
|
16208
16218
|
example: '123456'
|
|
16209
16219
|
radar_challenge_id:
|
|
@@ -16250,6 +16260,7 @@ paths:
|
|
|
16250
16260
|
const: urn:workos:oauth:grant-type:radar-sms-challenge:code
|
|
16251
16261
|
code:
|
|
16252
16262
|
type: string
|
|
16263
|
+
format: password
|
|
16253
16264
|
description: The one-time code from the Radar SMS challenge.
|
|
16254
16265
|
example: '123456'
|
|
16255
16266
|
verification_id:
|
|
@@ -16303,6 +16314,7 @@ paths:
|
|
|
16303
16314
|
const: urn:ietf:params:oauth:grant-type:device_code
|
|
16304
16315
|
device_code:
|
|
16305
16316
|
type: string
|
|
16317
|
+
format: password
|
|
16306
16318
|
description: The device verification code.
|
|
16307
16319
|
example: Ao4fMrDS...
|
|
16308
16320
|
ip_address:
|
|
@@ -18053,6 +18065,7 @@ paths:
|
|
|
18053
18065
|
example: Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
18054
18066
|
accept_invitation_url:
|
|
18055
18067
|
type: string
|
|
18068
|
+
format: password
|
|
18056
18069
|
description: The URL where the recipient can accept the invitation.
|
|
18057
18070
|
example: >-
|
|
18058
18071
|
https://your-app.com/invite?invitation_token=Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
@@ -18340,6 +18353,7 @@ paths:
|
|
|
18340
18353
|
example: Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
18341
18354
|
accept_invitation_url:
|
|
18342
18355
|
type: string
|
|
18356
|
+
format: password
|
|
18343
18357
|
description: The URL where the recipient can accept the invitation.
|
|
18344
18358
|
example: >-
|
|
18345
18359
|
https://your-app.com/invite?invitation_token=Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
@@ -24476,6 +24490,7 @@ components:
|
|
|
24476
24490
|
type: string
|
|
24477
24491
|
description: The value for an API key.
|
|
24478
24492
|
example: sk_example_1234567890abcdef
|
|
24493
|
+
format: password
|
|
24479
24494
|
required:
|
|
24480
24495
|
- value
|
|
24481
24496
|
ExpireApiKeyDto:
|
|
@@ -25565,6 +25580,7 @@ components:
|
|
|
25565
25580
|
-----BEGIN PRIVATE KEY-----
|
|
25566
25581
|
MIIE...
|
|
25567
25582
|
-----END PRIVATE KEY-----
|
|
25583
|
+
format: password
|
|
25568
25584
|
cert:
|
|
25569
25585
|
type: string
|
|
25570
25586
|
description: The PEM-encoded X.509 certificate for the key.
|
|
@@ -27593,6 +27609,7 @@ components:
|
|
|
27593
27609
|
type: string
|
|
27594
27610
|
description: The one-time email verification code.
|
|
27595
27611
|
example: '123456'
|
|
27612
|
+
format: password
|
|
27596
27613
|
required:
|
|
27597
27614
|
- code
|
|
27598
27615
|
CreatePasswordResetTokenDto:
|
|
@@ -27635,6 +27652,7 @@ components:
|
|
|
27635
27652
|
type: string
|
|
27636
27653
|
description: The one-time code used to confirm the email change.
|
|
27637
27654
|
example: '123456'
|
|
27655
|
+
format: password
|
|
27638
27656
|
required:
|
|
27639
27657
|
- code
|
|
27640
27658
|
UserlandRevokeSessionDto:
|
|
@@ -27883,6 +27901,7 @@ components:
|
|
|
27883
27901
|
The authorization code received from the authorization callback.
|
|
27884
27902
|
Required when `grant_type` is `authorization_code`.
|
|
27885
27903
|
example: authorization_code_value
|
|
27904
|
+
format: password
|
|
27886
27905
|
grant_type:
|
|
27887
27906
|
type: string
|
|
27888
27907
|
description: The grant type for the token request.
|
|
@@ -27994,6 +28013,7 @@ components:
|
|
|
27994
28013
|
maxLength: 200
|
|
27995
28014
|
type: string
|
|
27996
28015
|
value:
|
|
28016
|
+
format: password
|
|
27997
28017
|
description: Plaintext data to encrypt and store.
|
|
27998
28018
|
example: s3cr3t-v4lu3
|
|
27999
28019
|
type: string
|
|
@@ -28086,6 +28106,7 @@ components:
|
|
|
28086
28106
|
example: my-secret
|
|
28087
28107
|
type: string
|
|
28088
28108
|
value:
|
|
28109
|
+
format: password
|
|
28089
28110
|
description: Decrypted plaintext value.
|
|
28090
28111
|
example: s3cr3t-v4lu3
|
|
28091
28112
|
type: string
|
|
@@ -28252,6 +28273,7 @@ components:
|
|
|
28252
28273
|
UpdateObjectRequest:
|
|
28253
28274
|
properties:
|
|
28254
28275
|
value:
|
|
28276
|
+
format: password
|
|
28255
28277
|
description: New plaintext value.
|
|
28256
28278
|
example: upd4t3d-v4lu3
|
|
28257
28279
|
type: string
|
|
@@ -28485,6 +28507,7 @@ components:
|
|
|
28485
28507
|
description: Current status of the agent registration.
|
|
28486
28508
|
user_code:
|
|
28487
28509
|
type: string
|
|
28510
|
+
format: password
|
|
28488
28511
|
description: The user code the agent needs to complete the claim.
|
|
28489
28512
|
example: BCDF-GHJK
|
|
28490
28513
|
organizations:
|
|
@@ -29534,6 +29557,7 @@ components:
|
|
|
29534
29557
|
example: '2026-01-15T12:00:00.000Z'
|
|
29535
29558
|
code:
|
|
29536
29559
|
type: string
|
|
29560
|
+
format: password
|
|
29537
29561
|
description: The one-time code for the challenge.
|
|
29538
29562
|
example: '123456'
|
|
29539
29563
|
authentication_factor_id:
|
|
@@ -29620,16 +29644,19 @@ components:
|
|
|
29620
29644
|
example: user@example.com
|
|
29621
29645
|
secret:
|
|
29622
29646
|
type: string
|
|
29647
|
+
format: password
|
|
29623
29648
|
description: >-
|
|
29624
29649
|
TOTP secret that can be manually entered into some authenticator
|
|
29625
29650
|
apps in place of scanning a QR code.
|
|
29626
29651
|
example: JBSWY3DPEHPK3PXP
|
|
29627
29652
|
qr_code:
|
|
29628
29653
|
type: string
|
|
29654
|
+
format: password
|
|
29629
29655
|
description: Base64 encoded image containing scannable QR code.
|
|
29630
29656
|
example: data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...
|
|
29631
29657
|
uri:
|
|
29632
29658
|
type: string
|
|
29659
|
+
format: password
|
|
29633
29660
|
description: The `otpauth` URI that is encoded by the provided `qr_code`.
|
|
29634
29661
|
example: >-
|
|
29635
29662
|
otpauth://totp/WorkOS:user@example.com?secret=JBSWY3DPEHPK3PXP&issuer=WorkOS
|
|
@@ -41902,6 +41929,7 @@ components:
|
|
|
41902
41929
|
example: '2026-01-15T12:00:00.000Z'
|
|
41903
41930
|
value:
|
|
41904
41931
|
type: string
|
|
41932
|
+
format: password
|
|
41905
41933
|
description: The full API Key value. Only returned once at creation time.
|
|
41906
41934
|
example: sk_abcdefghijklmnop123456
|
|
41907
41935
|
required:
|
|
@@ -42914,6 +42942,7 @@ components:
|
|
|
42914
42942
|
const: oauth
|
|
42915
42943
|
value:
|
|
42916
42944
|
type: string
|
|
42945
|
+
format: password
|
|
42917
42946
|
description: The OAuth access token.
|
|
42918
42947
|
example: gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
42919
42948
|
expires_at:
|
|
@@ -42977,6 +43006,7 @@ components:
|
|
|
42977
43006
|
const: api_key
|
|
42978
43007
|
value:
|
|
42979
43008
|
type: string
|
|
43009
|
+
format: password
|
|
42980
43010
|
description: The API key secret.
|
|
42981
43011
|
example: sk-1234567890abcdef
|
|
42982
43012
|
required:
|
|
@@ -43013,6 +43043,7 @@ components:
|
|
|
43013
43043
|
const: client_credentials
|
|
43014
43044
|
value:
|
|
43015
43045
|
type: string
|
|
43046
|
+
format: password
|
|
43016
43047
|
description: The client-credentials access token.
|
|
43017
43048
|
example: 00D5g000000XXXX!AQEAQ...
|
|
43018
43049
|
expires_at:
|
|
@@ -43632,6 +43663,7 @@ components:
|
|
|
43632
43663
|
properties:
|
|
43633
43664
|
link:
|
|
43634
43665
|
type: string
|
|
43666
|
+
format: password
|
|
43635
43667
|
description: An ephemeral link to initiate the Admin Portal.
|
|
43636
43668
|
example: >-
|
|
43637
43669
|
https://setup.workos.com?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
|
|
@@ -43678,6 +43710,7 @@ components:
|
|
|
43678
43710
|
example: '2026-01-15T12:00:00.000Z'
|
|
43679
43711
|
code:
|
|
43680
43712
|
type: string
|
|
43713
|
+
format: password
|
|
43681
43714
|
description: The code used to verify the Radar Challenge.
|
|
43682
43715
|
example: '123456'
|
|
43683
43716
|
required:
|
|
@@ -44112,6 +44145,7 @@ components:
|
|
|
44112
44145
|
example: '2026-01-15T12:00:00.000Z'
|
|
44113
44146
|
code:
|
|
44114
44147
|
type: string
|
|
44148
|
+
format: password
|
|
44115
44149
|
description: The code used to verify the Magic Auth code.
|
|
44116
44150
|
example: '123456'
|
|
44117
44151
|
required:
|
|
@@ -44215,6 +44249,7 @@ components:
|
|
|
44215
44249
|
example: Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
44216
44250
|
accept_invitation_url:
|
|
44217
44251
|
type: string
|
|
44252
|
+
format: password
|
|
44218
44253
|
description: The URL where the recipient can accept the invitation.
|
|
44219
44254
|
example: >-
|
|
44220
44255
|
https://your-app.com/invite?invitation_token=Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
@@ -44596,6 +44631,7 @@ components:
|
|
|
44596
44631
|
example: '2026-01-15T12:00:00.000Z'
|
|
44597
44632
|
value:
|
|
44598
44633
|
type: string
|
|
44634
|
+
format: password
|
|
44599
44635
|
description: The full API Key value. Only returned once at creation time.
|
|
44600
44636
|
example: sk_abcdefghijklmnop123456
|
|
44601
44637
|
required:
|
|
@@ -44685,6 +44721,7 @@ components:
|
|
|
44685
44721
|
example: '2026-01-15T12:00:00.000Z'
|
|
44686
44722
|
code:
|
|
44687
44723
|
type: string
|
|
44724
|
+
format: password
|
|
44688
44725
|
description: The code used to verify the email.
|
|
44689
44726
|
example: '123456'
|
|
44690
44727
|
required:
|
|
@@ -44747,6 +44784,7 @@ components:
|
|
|
44747
44784
|
example: Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
44748
44785
|
password_reset_url:
|
|
44749
44786
|
type: string
|
|
44787
|
+
format: password
|
|
44750
44788
|
description: The URL where the user can reset their password.
|
|
44751
44789
|
example: https://your-app.com/reset-password?token=Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
44752
44790
|
required:
|
|
@@ -44807,6 +44845,7 @@ components:
|
|
|
44807
44845
|
example: org_01H945H0YD4F97JN9MATX7BYAG
|
|
44808
44846
|
authkit_authorization_code:
|
|
44809
44847
|
type: string
|
|
44848
|
+
format: password
|
|
44810
44849
|
description: >-
|
|
44811
44850
|
An authorization code that can be exchanged for tokens by a
|
|
44812
44851
|
different application.
|
|
@@ -44915,10 +44954,12 @@ components:
|
|
|
44915
44954
|
properties:
|
|
44916
44955
|
device_code:
|
|
44917
44956
|
type: string
|
|
44957
|
+
format: password
|
|
44918
44958
|
description: The device verification code.
|
|
44919
44959
|
example: CVE2wOfIFK4vhmiDBntpX9s8KT2f0qngpWYL0LGy9HxYgBRXUKIUkZB9BgIFho5h
|
|
44920
44960
|
user_code:
|
|
44921
44961
|
type: string
|
|
44962
|
+
format: password
|
|
44922
44963
|
description: The end-user verification code.
|
|
44923
44964
|
example: BCDF-GHJK
|
|
44924
44965
|
verification_uri:
|
|
@@ -45376,6 +45417,7 @@ components:
|
|
|
45376
45417
|
properties:
|
|
45377
45418
|
logout_url:
|
|
45378
45419
|
type: string
|
|
45420
|
+
format: password
|
|
45379
45421
|
description: >-
|
|
45380
45422
|
The URL to redirect the user to in order to log out ([Logout
|
|
45381
45423
|
Redirect](/reference/sso/logout) endpoint ready to use).
|
package/dist/types.d.ts
CHANGED
|
@@ -3936,6 +3936,7 @@ export interface components {
|
|
|
3936
3936
|
PaginationOrder: "normal" | "desc" | "asc";
|
|
3937
3937
|
ValidateApiKeyDto: {
|
|
3938
3938
|
/**
|
|
3939
|
+
* Format: password
|
|
3939
3940
|
* @description The value for an API key.
|
|
3940
3941
|
* @example sk_example_1234567890abcdef
|
|
3941
3942
|
*/
|
|
@@ -4647,6 +4648,7 @@ export interface components {
|
|
|
4647
4648
|
});
|
|
4648
4649
|
CreateConnectionKeyPairDto: {
|
|
4649
4650
|
/**
|
|
4651
|
+
* Format: password
|
|
4650
4652
|
* @description The PEM-encoded private key.
|
|
4651
4653
|
* @example -----BEGIN PRIVATE KEY-----
|
|
4652
4654
|
* MIIE...
|
|
@@ -5845,6 +5847,7 @@ export interface components {
|
|
|
5845
5847
|
});
|
|
5846
5848
|
VerifyEmailAddressDto: {
|
|
5847
5849
|
/**
|
|
5850
|
+
* Format: password
|
|
5848
5851
|
* @description The one-time email verification code.
|
|
5849
5852
|
* @example 123456
|
|
5850
5853
|
*/
|
|
@@ -5879,6 +5882,7 @@ export interface components {
|
|
|
5879
5882
|
};
|
|
5880
5883
|
ConfirmEmailChangeDto: {
|
|
5881
5884
|
/**
|
|
5885
|
+
* Format: password
|
|
5882
5886
|
* @description The one-time code used to confirm the email change.
|
|
5883
5887
|
* @example 123456
|
|
5884
5888
|
*/
|
|
@@ -5993,6 +5997,7 @@ export interface components {
|
|
|
5993
5997
|
*/
|
|
5994
5998
|
client_secret: string;
|
|
5995
5999
|
/**
|
|
6000
|
+
* Format: password
|
|
5996
6001
|
* @description The authorization code received from the authorization callback. Required when `grant_type` is `authorization_code`.
|
|
5997
6002
|
* @example authorization_code_value
|
|
5998
6003
|
*/
|
|
@@ -6092,6 +6097,7 @@ export interface components {
|
|
|
6092
6097
|
*/
|
|
6093
6098
|
name: string;
|
|
6094
6099
|
/**
|
|
6100
|
+
* Format: password
|
|
6095
6101
|
* @description Plaintext data to encrypt and store.
|
|
6096
6102
|
* @example s3cr3t-v4lu3
|
|
6097
6103
|
*/
|
|
@@ -6175,6 +6181,7 @@ export interface components {
|
|
|
6175
6181
|
*/
|
|
6176
6182
|
name: string;
|
|
6177
6183
|
/**
|
|
6184
|
+
* Format: password
|
|
6178
6185
|
* @description Decrypted plaintext value.
|
|
6179
6186
|
* @example s3cr3t-v4lu3
|
|
6180
6187
|
*/
|
|
@@ -6319,6 +6326,7 @@ export interface components {
|
|
|
6319
6326
|
/** UpdateObjectRequest */
|
|
6320
6327
|
UpdateObjectRequest: {
|
|
6321
6328
|
/**
|
|
6329
|
+
* Format: password
|
|
6322
6330
|
* @description New plaintext value.
|
|
6323
6331
|
* @example upd4t3d-v4lu3
|
|
6324
6332
|
*/
|
|
@@ -6491,6 +6499,7 @@ export interface components {
|
|
|
6491
6499
|
*/
|
|
6492
6500
|
status: "unverified" | "verified" | "expired" | "revoked";
|
|
6493
6501
|
/**
|
|
6502
|
+
* Format: password
|
|
6494
6503
|
* @description The user code the agent needs to complete the claim.
|
|
6495
6504
|
* @example BCDF-GHJK
|
|
6496
6505
|
*/
|
|
@@ -7334,6 +7343,7 @@ export interface components {
|
|
|
7334
7343
|
*/
|
|
7335
7344
|
expires_at?: string;
|
|
7336
7345
|
/**
|
|
7346
|
+
* Format: password
|
|
7337
7347
|
* @description The one-time code for the challenge.
|
|
7338
7348
|
* @example 123456
|
|
7339
7349
|
*/
|
|
@@ -7408,16 +7418,19 @@ export interface components {
|
|
|
7408
7418
|
*/
|
|
7409
7419
|
user: string;
|
|
7410
7420
|
/**
|
|
7421
|
+
* Format: password
|
|
7411
7422
|
* @description TOTP secret that can be manually entered into some authenticator apps in place of scanning a QR code.
|
|
7412
7423
|
* @example JBSWY3DPEHPK3PXP
|
|
7413
7424
|
*/
|
|
7414
7425
|
secret: string;
|
|
7415
7426
|
/**
|
|
7427
|
+
* Format: password
|
|
7416
7428
|
* @description Base64 encoded image containing scannable QR code.
|
|
7417
7429
|
* @example data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...
|
|
7418
7430
|
*/
|
|
7419
7431
|
qr_code: string;
|
|
7420
7432
|
/**
|
|
7433
|
+
* Format: password
|
|
7421
7434
|
* @description The `otpauth` URI that is encoded by the provided `qr_code`.
|
|
7422
7435
|
* @example otpauth://totp/WorkOS:user@example.com?secret=JBSWY3DPEHPK3PXP&issuer=WorkOS
|
|
7423
7436
|
*/
|
|
@@ -16934,6 +16947,7 @@ export interface components {
|
|
|
16934
16947
|
*/
|
|
16935
16948
|
updated_at: string;
|
|
16936
16949
|
/**
|
|
16950
|
+
* Format: password
|
|
16937
16951
|
* @description The full API Key value. Only returned once at creation time.
|
|
16938
16952
|
* @example sk_abcdefghijklmnop123456
|
|
16939
16953
|
*/
|
|
@@ -17625,6 +17639,7 @@ export interface components {
|
|
|
17625
17639
|
*/
|
|
17626
17640
|
auth_method: "oauth";
|
|
17627
17641
|
/**
|
|
17642
|
+
* Format: password
|
|
17628
17643
|
* @description The OAuth access token.
|
|
17629
17644
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
17630
17645
|
*/
|
|
@@ -17667,6 +17682,7 @@ export interface components {
|
|
|
17667
17682
|
*/
|
|
17668
17683
|
auth_method: "api_key";
|
|
17669
17684
|
/**
|
|
17685
|
+
* Format: password
|
|
17670
17686
|
* @description The API key secret.
|
|
17671
17687
|
* @example sk-1234567890abcdef
|
|
17672
17688
|
*/
|
|
@@ -17691,6 +17707,7 @@ export interface components {
|
|
|
17691
17707
|
*/
|
|
17692
17708
|
auth_method: "client_credentials";
|
|
17693
17709
|
/**
|
|
17710
|
+
* Format: password
|
|
17694
17711
|
* @description The client-credentials access token.
|
|
17695
17712
|
* @example 00D5g000000XXXX!AQEAQ...
|
|
17696
17713
|
*/
|
|
@@ -18113,6 +18130,7 @@ export interface components {
|
|
|
18113
18130
|
};
|
|
18114
18131
|
PortalLinkResponse: {
|
|
18115
18132
|
/**
|
|
18133
|
+
* Format: password
|
|
18116
18134
|
* @description An ephemeral link to initiate the Admin Portal.
|
|
18117
18135
|
* @example https://setup.workos.com?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
|
|
18118
18136
|
*/
|
|
@@ -18164,6 +18182,7 @@ export interface components {
|
|
|
18164
18182
|
*/
|
|
18165
18183
|
updated_at: string;
|
|
18166
18184
|
/**
|
|
18185
|
+
* Format: password
|
|
18167
18186
|
* @description The code used to verify the Radar Challenge.
|
|
18168
18187
|
* @example 123456
|
|
18169
18188
|
*/
|
|
@@ -18482,6 +18501,7 @@ export interface components {
|
|
|
18482
18501
|
*/
|
|
18483
18502
|
updated_at: string;
|
|
18484
18503
|
/**
|
|
18504
|
+
* Format: password
|
|
18485
18505
|
* @description The code used to verify the Magic Auth code.
|
|
18486
18506
|
* @example 123456
|
|
18487
18507
|
*/
|
|
@@ -18565,6 +18585,7 @@ export interface components {
|
|
|
18565
18585
|
*/
|
|
18566
18586
|
token: string;
|
|
18567
18587
|
/**
|
|
18588
|
+
* Format: password
|
|
18568
18589
|
* @description The URL where the recipient can accept the invitation.
|
|
18569
18590
|
* @example https://your-app.com/invite?invitation_token=Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
18570
18591
|
*/
|
|
@@ -18849,6 +18870,7 @@ export interface components {
|
|
|
18849
18870
|
*/
|
|
18850
18871
|
updated_at: string;
|
|
18851
18872
|
/**
|
|
18873
|
+
* Format: password
|
|
18852
18874
|
* @description The full API Key value. Only returned once at creation time.
|
|
18853
18875
|
* @example sk_abcdefghijklmnop123456
|
|
18854
18876
|
*/
|
|
@@ -18916,6 +18938,7 @@ export interface components {
|
|
|
18916
18938
|
*/
|
|
18917
18939
|
updated_at: string;
|
|
18918
18940
|
/**
|
|
18941
|
+
* Format: password
|
|
18919
18942
|
* @description The code used to verify the email.
|
|
18920
18943
|
* @example 123456
|
|
18921
18944
|
*/
|
|
@@ -18968,6 +18991,7 @@ export interface components {
|
|
|
18968
18991
|
*/
|
|
18969
18992
|
password_reset_token: string;
|
|
18970
18993
|
/**
|
|
18994
|
+
* Format: password
|
|
18971
18995
|
* @description The URL where the user can reset their password.
|
|
18972
18996
|
* @example https://your-app.com/reset-password?token=Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
18973
18997
|
*/
|
|
@@ -19011,6 +19035,7 @@ export interface components {
|
|
|
19011
19035
|
*/
|
|
19012
19036
|
organization_id?: string;
|
|
19013
19037
|
/**
|
|
19038
|
+
* Format: password
|
|
19014
19039
|
* @description An authorization code that can be exchanged for tokens by a different application.
|
|
19015
19040
|
* @example authkit_authz_code_abc123
|
|
19016
19041
|
*/
|
|
@@ -19079,11 +19104,13 @@ export interface components {
|
|
|
19079
19104
|
};
|
|
19080
19105
|
DeviceAuthorizationResponse: {
|
|
19081
19106
|
/**
|
|
19107
|
+
* Format: password
|
|
19082
19108
|
* @description The device verification code.
|
|
19083
19109
|
* @example CVE2wOfIFK4vhmiDBntpX9s8KT2f0qngpWYL0LGy9HxYgBRXUKIUkZB9BgIFho5h
|
|
19084
19110
|
*/
|
|
19085
19111
|
device_code: string;
|
|
19086
19112
|
/**
|
|
19113
|
+
* Format: password
|
|
19087
19114
|
* @description The end-user verification code.
|
|
19088
19115
|
* @example BCDF-GHJK
|
|
19089
19116
|
*/
|
|
@@ -19409,6 +19436,7 @@ export interface components {
|
|
|
19409
19436
|
};
|
|
19410
19437
|
SsoLogoutAuthorizeResponse: {
|
|
19411
19438
|
/**
|
|
19439
|
+
* Format: password
|
|
19412
19440
|
* @description The URL to redirect the user to in order to log out ([Logout Redirect](/reference/sso/logout) endpoint ready to use).
|
|
19413
19441
|
* @example https://auth.workos.com/sso/logout?token=eyJhbGciOiJSUzI1NiJ9
|
|
19414
19442
|
*/
|
|
@@ -20641,6 +20669,7 @@ export interface operations {
|
|
|
20641
20669
|
*/
|
|
20642
20670
|
type: "api_key";
|
|
20643
20671
|
/**
|
|
20672
|
+
* Format: password
|
|
20644
20673
|
* @description The credential value to validate: the API key value for `api_key`, or the access token (JWT) for `access_token`.
|
|
20645
20674
|
* @example sk_agent_example_1234567890
|
|
20646
20675
|
*/
|
|
@@ -20652,6 +20681,7 @@ export interface operations {
|
|
|
20652
20681
|
*/
|
|
20653
20682
|
type: "access_token";
|
|
20654
20683
|
/**
|
|
20684
|
+
* Format: password
|
|
20655
20685
|
* @description The credential value to validate: the API key value for `api_key`, or the access token (JWT) for `access_token`.
|
|
20656
20686
|
* @example eyJhbGciOiJSUzI1NiIsImtpZCI6...
|
|
20657
20687
|
*/
|
|
@@ -21735,6 +21765,7 @@ export interface operations {
|
|
|
21735
21765
|
content: {
|
|
21736
21766
|
"application/json": {
|
|
21737
21767
|
/**
|
|
21768
|
+
* Format: password
|
|
21738
21769
|
* @description The one-time code to verify.
|
|
21739
21770
|
* @example 123456
|
|
21740
21771
|
*/
|
|
@@ -33492,11 +33523,13 @@ export interface operations {
|
|
|
33492
33523
|
/** @constant */
|
|
33493
33524
|
grant_type: "authorization_code";
|
|
33494
33525
|
/**
|
|
33526
|
+
* Format: password
|
|
33495
33527
|
* @description The authorization code received from the redirect.
|
|
33496
33528
|
* @example vBqZKaPpsnJlPfXiDqN7b6VTz
|
|
33497
33529
|
*/
|
|
33498
33530
|
code: string;
|
|
33499
33531
|
/**
|
|
33532
|
+
* Format: password
|
|
33500
33533
|
* @description The PKCE code verifier used to derive the code challenge passed to the authorization URL.
|
|
33501
33534
|
* @example dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
|
|
33502
33535
|
*/
|
|
@@ -33631,6 +33664,7 @@ export interface operations {
|
|
|
33631
33664
|
/** @constant */
|
|
33632
33665
|
grant_type: "urn:workos:oauth:grant-type:magic-auth:code";
|
|
33633
33666
|
/**
|
|
33667
|
+
* Format: password
|
|
33634
33668
|
* @description The one-time code for Magic Auth authentication.
|
|
33635
33669
|
* @example 123456
|
|
33636
33670
|
*/
|
|
@@ -33679,6 +33713,7 @@ export interface operations {
|
|
|
33679
33713
|
/** @constant */
|
|
33680
33714
|
grant_type: "urn:workos:oauth:grant-type:email-verification:code";
|
|
33681
33715
|
/**
|
|
33716
|
+
* Format: password
|
|
33682
33717
|
* @description The email verification code.
|
|
33683
33718
|
* @example 123456
|
|
33684
33719
|
*/
|
|
@@ -33717,6 +33752,7 @@ export interface operations {
|
|
|
33717
33752
|
/** @constant */
|
|
33718
33753
|
grant_type: "urn:workos:oauth:grant-type:mfa-totp";
|
|
33719
33754
|
/**
|
|
33755
|
+
* Format: password
|
|
33720
33756
|
* @description The TOTP code from the authenticator app.
|
|
33721
33757
|
* @example 123456
|
|
33722
33758
|
*/
|
|
@@ -33841,6 +33877,7 @@ export interface operations {
|
|
|
33841
33877
|
/** @constant */
|
|
33842
33878
|
grant_type: "urn:workos:oauth:grant-type:radar-email-challenge:code";
|
|
33843
33879
|
/**
|
|
33880
|
+
* Format: password
|
|
33844
33881
|
* @description The one-time code from the Radar email challenge.
|
|
33845
33882
|
* @example 123456
|
|
33846
33883
|
*/
|
|
@@ -33884,6 +33921,7 @@ export interface operations {
|
|
|
33884
33921
|
/** @constant */
|
|
33885
33922
|
grant_type: "urn:workos:oauth:grant-type:radar-sms-challenge:code";
|
|
33886
33923
|
/**
|
|
33924
|
+
* Format: password
|
|
33887
33925
|
* @description The one-time code from the Radar SMS challenge.
|
|
33888
33926
|
* @example 123456
|
|
33889
33927
|
*/
|
|
@@ -33927,6 +33965,7 @@ export interface operations {
|
|
|
33927
33965
|
/** @constant */
|
|
33928
33966
|
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
33929
33967
|
/**
|
|
33968
|
+
* Format: password
|
|
33930
33969
|
* @description The device verification code.
|
|
33931
33970
|
* @example Ao4fMrDS...
|
|
33932
33971
|
*/
|
|
@@ -35328,6 +35367,7 @@ export interface operations {
|
|
|
35328
35367
|
*/
|
|
35329
35368
|
token: string;
|
|
35330
35369
|
/**
|
|
35370
|
+
* Format: password
|
|
35331
35371
|
* @description The URL where the recipient can accept the invitation.
|
|
35332
35372
|
* @example https://your-app.com/invite?invitation_token=Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
35333
35373
|
*/
|
|
@@ -35573,6 +35613,7 @@ export interface operations {
|
|
|
35573
35613
|
*/
|
|
35574
35614
|
token: string;
|
|
35575
35615
|
/**
|
|
35616
|
+
* Format: password
|
|
35576
35617
|
* @description The URL where the recipient can accept the invitation.
|
|
35577
35618
|
* @example https://your-app.com/invite?invitation_token=Z1uX3RbwcIl5fIGJJJCXXisdI
|
|
35578
35619
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^26.5.0",
|
|
60
60
|
"@workos/oagen": "^0.30.2",
|
|
61
|
-
"@workos/oagen-emitters": "^0.24.
|
|
61
|
+
"@workos/oagen-emitters": "^0.24.13",
|
|
62
62
|
"diff2html": "^3.4.56",
|
|
63
63
|
"husky": "^9.1.7",
|
|
64
64
|
"js-yaml": "^5.4.1",
|