@workos/openapi-spec 0.20.0 → 0.22.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 +7 -0
- package/dist/policy.mjs +53 -6
- package/dist/types.d.ts +5 -0
- package/package.json +4 -4
package/dist/open-api-spec.yaml
CHANGED
|
@@ -23939,6 +23939,13 @@ components:
|
|
|
23939
23939
|
- object
|
|
23940
23940
|
- domain
|
|
23941
23941
|
description: List of Organization Domains.
|
|
23942
|
+
callback_endpoint:
|
|
23943
|
+
type: string
|
|
23944
|
+
description: >-
|
|
23945
|
+
The immutable callback endpoint for this Connection. For SAML
|
|
23946
|
+
connections this is the ACS URL; for OIDC connections this is the
|
|
23947
|
+
redirect URI.
|
|
23948
|
+
example: https://auth.workos.com/sso/saml/acs/conn_externalkey
|
|
23942
23949
|
options:
|
|
23943
23950
|
type: object
|
|
23944
23951
|
properties:
|
package/dist/policy.mjs
CHANGED
|
@@ -106,13 +106,17 @@ const operationHints = {
|
|
|
106
106
|
"invitation_token",
|
|
107
107
|
"ip_address",
|
|
108
108
|
"device_id",
|
|
109
|
-
"user_agent"
|
|
109
|
+
"user_agent",
|
|
110
|
+
"signals_id",
|
|
111
|
+
"radar_auth_attempt_id"
|
|
110
112
|
],
|
|
111
113
|
optionalParams: [
|
|
112
114
|
"invitation_token",
|
|
113
115
|
"ip_address",
|
|
114
116
|
"device_id",
|
|
115
|
-
"user_agent"
|
|
117
|
+
"user_agent",
|
|
118
|
+
"signals_id",
|
|
119
|
+
"radar_auth_attempt_id"
|
|
116
120
|
]
|
|
117
121
|
},
|
|
118
122
|
{
|
|
@@ -126,14 +130,16 @@ const operationHints = {
|
|
|
126
130
|
"invitation_token",
|
|
127
131
|
"ip_address",
|
|
128
132
|
"device_id",
|
|
129
|
-
"user_agent"
|
|
133
|
+
"user_agent",
|
|
134
|
+
"signals_id"
|
|
130
135
|
],
|
|
131
136
|
optionalParams: [
|
|
132
137
|
"code_verifier",
|
|
133
138
|
"invitation_token",
|
|
134
139
|
"ip_address",
|
|
135
140
|
"device_id",
|
|
136
|
-
"user_agent"
|
|
141
|
+
"user_agent",
|
|
142
|
+
"signals_id"
|
|
137
143
|
]
|
|
138
144
|
},
|
|
139
145
|
{
|
|
@@ -166,13 +172,15 @@ const operationHints = {
|
|
|
166
172
|
"invitation_token",
|
|
167
173
|
"ip_address",
|
|
168
174
|
"device_id",
|
|
169
|
-
"user_agent"
|
|
175
|
+
"user_agent",
|
|
176
|
+
"radar_auth_attempt_id"
|
|
170
177
|
],
|
|
171
178
|
optionalParams: [
|
|
172
179
|
"invitation_token",
|
|
173
180
|
"ip_address",
|
|
174
181
|
"device_id",
|
|
175
|
-
"user_agent"
|
|
182
|
+
"user_agent",
|
|
183
|
+
"radar_auth_attempt_id"
|
|
176
184
|
]
|
|
177
185
|
},
|
|
178
186
|
{
|
|
@@ -246,6 +254,45 @@ const operationHints = {
|
|
|
246
254
|
"device_id",
|
|
247
255
|
"user_agent"
|
|
248
256
|
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: "authenticate_with_radar_email_challenge",
|
|
260
|
+
targetVariant: "RadarEmailChallengeCodeSessionAuthenticateRequest",
|
|
261
|
+
defaults: { grant_type: "urn:workos:oauth:grant-type:radar-email-challenge:code" },
|
|
262
|
+
inferFromClient: ["client_id", "client_secret"],
|
|
263
|
+
exposedParams: [
|
|
264
|
+
"code",
|
|
265
|
+
"radar_challenge_id",
|
|
266
|
+
"pending_authentication_token",
|
|
267
|
+
"ip_address",
|
|
268
|
+
"device_id",
|
|
269
|
+
"user_agent"
|
|
270
|
+
],
|
|
271
|
+
optionalParams: [
|
|
272
|
+
"ip_address",
|
|
273
|
+
"device_id",
|
|
274
|
+
"user_agent"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: "authenticate_with_radar_sms_challenge",
|
|
279
|
+
targetVariant: "RadarSmsChallengeCodeSessionAuthenticateRequest",
|
|
280
|
+
defaults: { grant_type: "urn:workos:oauth:grant-type:radar-sms-challenge:code" },
|
|
281
|
+
inferFromClient: ["client_id", "client_secret"],
|
|
282
|
+
exposedParams: [
|
|
283
|
+
"code",
|
|
284
|
+
"verification_id",
|
|
285
|
+
"phone_number",
|
|
286
|
+
"pending_authentication_token",
|
|
287
|
+
"ip_address",
|
|
288
|
+
"device_id",
|
|
289
|
+
"user_agent"
|
|
290
|
+
],
|
|
291
|
+
optionalParams: [
|
|
292
|
+
"ip_address",
|
|
293
|
+
"device_id",
|
|
294
|
+
"user_agent"
|
|
295
|
+
]
|
|
249
296
|
}
|
|
250
297
|
] },
|
|
251
298
|
"POST /connect/applications": { split: [{
|
package/dist/types.d.ts
CHANGED
|
@@ -6606,6 +6606,11 @@ export interface components {
|
|
|
6606
6606
|
*/
|
|
6607
6607
|
domain: string;
|
|
6608
6608
|
}[];
|
|
6609
|
+
/**
|
|
6610
|
+
* @description The immutable callback endpoint for this Connection. For SAML connections this is the ACS URL; for OIDC connections this is the redirect URI.
|
|
6611
|
+
* @example https://auth.workos.com/sso/saml/acs/conn_externalkey
|
|
6612
|
+
*/
|
|
6613
|
+
callback_endpoint?: string;
|
|
6609
6614
|
/** @description Configuration options for SAML connections. Only present for SAML connection types. */
|
|
6610
6615
|
options?: {
|
|
6611
6616
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"./package.json": "./package.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@workos/oagen": "^0.24.
|
|
33
|
+
"@workos/oagen": "^0.24.6"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"generate:services": "node scripts/generate-services.mjs",
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/js-yaml": "^4.0.9",
|
|
63
63
|
"@types/node": "^26.1.0",
|
|
64
|
-
"@workos/oagen-emitters": "^0.19.
|
|
64
|
+
"@workos/oagen-emitters": "^0.19.9",
|
|
65
65
|
"diff2html": "^3.4.56",
|
|
66
66
|
"husky": "^9.1.7",
|
|
67
67
|
"js-yaml": "^4.1.1",
|
|
68
68
|
"openapi-to-postmanv2": "^6.2.0",
|
|
69
69
|
"tsdown": "^0.22.3",
|
|
70
|
-
"tsx": "^4.
|
|
70
|
+
"tsx": "^4.23.0",
|
|
71
71
|
"typescript": "^6.0.3"
|
|
72
72
|
}
|
|
73
73
|
}
|