@workos/openapi-spec 0.20.0 → 0.21.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/policy.mjs +53 -6
- package/package.json +3 -3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.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",
|
|
@@ -67,7 +67,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
|
}
|