rozod 6.7.1 → 6.9.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/LICENSE +1 -1
- package/README.md +75 -451
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_TwoStepVerification_Api_MetadataResponse = z.object({
|
|
5
5
|
twoStepVerificationEnabled: z.boolean(),
|
|
@@ -37,14 +37,14 @@ const Roblox_TwoStepVerification_Api_MetadataResponse = z.object({
|
|
|
37
37
|
});
|
|
38
38
|
const Roblox_TwoStepVerification_Api_UserConfigurationMethod = z.object({
|
|
39
39
|
mediaType: z.enum([
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
'Email',
|
|
41
|
+
'SMS',
|
|
42
|
+
'Authenticator',
|
|
43
|
+
'RecoveryCode',
|
|
44
|
+
'SecurityKey',
|
|
45
|
+
'CrossDevice',
|
|
46
|
+
'Password',
|
|
47
|
+
'Passkey',
|
|
48
48
|
]),
|
|
49
49
|
enabled: z.boolean(),
|
|
50
50
|
updated: z.string().datetime({ offset: true }),
|
|
@@ -69,15 +69,15 @@ const Roblox_TwoStepVerification_Api_RecoveryCodesStatusResponse = z.object({
|
|
|
69
69
|
const Roblox_TwoStepVerification_Api_VerifyCodeRequest = z.object({
|
|
70
70
|
challengeId: z.string(),
|
|
71
71
|
actionType: z.enum([
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
72
|
+
'Unknown',
|
|
73
|
+
'Login',
|
|
74
|
+
'RobuxSpend',
|
|
75
|
+
'ItemTrade',
|
|
76
|
+
'Resale',
|
|
77
|
+
'PasswordReset',
|
|
78
|
+
'RevertAccount',
|
|
79
|
+
'Generic',
|
|
80
|
+
'GenericWithRecoveryCodes',
|
|
81
81
|
]),
|
|
82
82
|
code: z.string(),
|
|
83
83
|
});
|
|
@@ -87,45 +87,45 @@ const Roblox_TwoStepVerification_Api_VerifyCodeResponse = z.object({
|
|
|
87
87
|
const Roblox_TwoStepVerification_Api_RetractDialogRequest = z.object({
|
|
88
88
|
challengeId: z.string(),
|
|
89
89
|
actionType: z.enum([
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
90
|
+
'Unknown',
|
|
91
|
+
'Login',
|
|
92
|
+
'RobuxSpend',
|
|
93
|
+
'ItemTrade',
|
|
94
|
+
'Resale',
|
|
95
|
+
'PasswordReset',
|
|
96
|
+
'RevertAccount',
|
|
97
|
+
'Generic',
|
|
98
|
+
'GenericWithRecoveryCodes',
|
|
99
99
|
]),
|
|
100
100
|
});
|
|
101
101
|
const Roblox_TwoStepVerification_Api_RetractDialogResponse = z.object({});
|
|
102
102
|
const Roblox_TwoStepVerification_Api_RetryApprovalRequest = z.object({
|
|
103
103
|
challengeId: z.string(),
|
|
104
104
|
actionType: z.enum([
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
105
|
+
'Unknown',
|
|
106
|
+
'Login',
|
|
107
|
+
'RobuxSpend',
|
|
108
|
+
'ItemTrade',
|
|
109
|
+
'Resale',
|
|
110
|
+
'PasswordReset',
|
|
111
|
+
'RevertAccount',
|
|
112
|
+
'Generic',
|
|
113
|
+
'GenericWithRecoveryCodes',
|
|
114
114
|
]),
|
|
115
115
|
});
|
|
116
116
|
const Roblox_TwoStepVerification_Api_RetryApprovalResponse = z.object({});
|
|
117
117
|
const Roblox_TwoStepVerification_Api_VerifyApprovalRequest = z.object({
|
|
118
118
|
challengeId: z.string(),
|
|
119
119
|
actionType: z.enum([
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
120
|
+
'Unknown',
|
|
121
|
+
'Login',
|
|
122
|
+
'RobuxSpend',
|
|
123
|
+
'ItemTrade',
|
|
124
|
+
'Resale',
|
|
125
|
+
'PasswordReset',
|
|
126
|
+
'RevertAccount',
|
|
127
|
+
'Generic',
|
|
128
|
+
'GenericWithRecoveryCodes',
|
|
129
129
|
]),
|
|
130
130
|
});
|
|
131
131
|
const Roblox_TwoStepVerification_Api_VerifyApprovalResponse = z.object({
|
|
@@ -134,15 +134,15 @@ const Roblox_TwoStepVerification_Api_VerifyApprovalResponse = z.object({
|
|
|
134
134
|
const Roblox_TwoStepVerification_Api_SendCodeRequest = z.object({
|
|
135
135
|
challengeId: z.string(),
|
|
136
136
|
actionType: z.enum([
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
137
|
+
'Unknown',
|
|
138
|
+
'Login',
|
|
139
|
+
'RobuxSpend',
|
|
140
|
+
'ItemTrade',
|
|
141
|
+
'Resale',
|
|
142
|
+
'PasswordReset',
|
|
143
|
+
'RevertAccount',
|
|
144
|
+
'Generic',
|
|
145
|
+
'GenericWithRecoveryCodes',
|
|
146
146
|
]),
|
|
147
147
|
});
|
|
148
148
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
@@ -154,36 +154,34 @@ const Roblox_TwoStepVerification_Api_VerifyStartSecurityKeyResponse = z.object({
|
|
|
154
154
|
authenticationOptions: z.string(),
|
|
155
155
|
sessionId: z.string(),
|
|
156
156
|
});
|
|
157
|
-
const Roblox_TwoStepVerification_Api_DisableTwoStepVerificationRequest =
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
});
|
|
157
|
+
const Roblox_TwoStepVerification_Api_DisableTwoStepVerificationRequest = z.object({
|
|
158
|
+
password: z.string(),
|
|
159
|
+
reauthenticationToken: z.string(),
|
|
160
|
+
});
|
|
161
|
+
const Roblox_TwoStepVerification_Api_Models_Request_SecureAuthenticationIntentModel = z.object({
|
|
162
|
+
clientPublicKey: z.string(),
|
|
163
|
+
clientEpochTimestamp: z.number().int(),
|
|
164
|
+
saiSignature: z.string(),
|
|
165
|
+
serverNonce: z.string(),
|
|
166
|
+
});
|
|
167
|
+
const Roblox_TwoStepVerification_Api_EnableTwoStepVerificationRequest = z.object({
|
|
168
|
+
password: z.string(),
|
|
169
|
+
secureAuthenticationIntent: Roblox_TwoStepVerification_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
170
|
+
});
|
|
172
171
|
const Roblox_TwoStepVerification_Api_EnableAuthenticatorResponse = z.object({
|
|
173
172
|
setupToken: z.string(),
|
|
174
173
|
qrCodeImageUrl: z.string(),
|
|
175
174
|
manualEntryKey: z.string(),
|
|
176
175
|
});
|
|
177
|
-
const Roblox_TwoStepVerification_Api_EnableVerifyAuthenticatorRequest =
|
|
178
|
-
z.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
z.object({ recoveryCodes: z.array(z.string()) });
|
|
176
|
+
const Roblox_TwoStepVerification_Api_EnableVerifyAuthenticatorRequest = z.object({
|
|
177
|
+
setupToken: z.string(),
|
|
178
|
+
code: z.string(),
|
|
179
|
+
password: z.string(),
|
|
180
|
+
secureAuthenticationIntent: Roblox_TwoStepVerification_Api_Models_Request_SecureAuthenticationIntentModel,
|
|
181
|
+
});
|
|
182
|
+
const Roblox_TwoStepVerification_Api_EnableVerifyAuthenticatorResponse = z.object({
|
|
183
|
+
recoveryCodes: z.array(z.string()),
|
|
184
|
+
});
|
|
187
185
|
const Roblox_TwoStepVerification_Api_DisableSecurityKeyRequest = z.object({
|
|
188
186
|
credentialNicknames: z.array(z.string()),
|
|
189
187
|
});
|
|
@@ -208,9 +206,7 @@ const Roblox_TwoStepVerification_Api_ClearRecoveryCodesRequest = z.object({
|
|
|
208
206
|
const Roblox_TwoStepVerification_Api_RegenerateRecoveryCodesRequest = z.object({
|
|
209
207
|
password: z.string(),
|
|
210
208
|
});
|
|
211
|
-
const Roblox_TwoStepVerification_Api_RegenerateRecoveryCodesResponse = z.object(
|
|
212
|
-
{ recoveryCodes: z.array(z.string()) }
|
|
213
|
-
);
|
|
209
|
+
const Roblox_TwoStepVerification_Api_RegenerateRecoveryCodesResponse = z.object({ recoveryCodes: z.array(z.string()) });
|
|
214
210
|
|
|
215
211
|
/**
|
|
216
212
|
* @api GET https://twostepverification.roblox.com/v1/metadata
|
|
@@ -224,21 +220,21 @@ for when the user is unauthenticated but attempting to login with two step verif
|
|
|
224
220
|
When supplied, all three request parameters must be sent and match up.
|
|
225
221
|
*/
|
|
226
222
|
export const getMetadata = endpoint({
|
|
227
|
-
method:
|
|
228
|
-
path:
|
|
229
|
-
baseUrl:
|
|
230
|
-
requestFormat:
|
|
223
|
+
method: 'GET',
|
|
224
|
+
path: '/v1/metadata',
|
|
225
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
226
|
+
requestFormat: 'json',
|
|
231
227
|
serializationMethod: {
|
|
232
228
|
userId: {
|
|
233
|
-
style:
|
|
229
|
+
style: 'form',
|
|
234
230
|
explode: true,
|
|
235
231
|
},
|
|
236
232
|
challengeId: {
|
|
237
|
-
style:
|
|
233
|
+
style: 'form',
|
|
238
234
|
explode: true,
|
|
239
235
|
},
|
|
240
236
|
actionType: {
|
|
241
|
-
style:
|
|
237
|
+
style: 'form',
|
|
242
238
|
explode: true,
|
|
243
239
|
},
|
|
244
240
|
},
|
|
@@ -269,14 +265,14 @@ export const getMetadata = endpoint({
|
|
|
269
265
|
* @param userId The user ID.
|
|
270
266
|
*/
|
|
271
267
|
export const postUsersUseridChallengesAuthenticatorVerify = endpoint({
|
|
272
|
-
method:
|
|
273
|
-
path:
|
|
274
|
-
baseUrl:
|
|
275
|
-
requestFormat:
|
|
268
|
+
method: 'POST',
|
|
269
|
+
path: '/v1/users/:userId/challenges/authenticator/verify',
|
|
270
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
271
|
+
requestFormat: 'json',
|
|
276
272
|
serializationMethod: {
|
|
277
273
|
body: {},
|
|
278
274
|
userId: {
|
|
279
|
-
style:
|
|
275
|
+
style: 'simple',
|
|
280
276
|
},
|
|
281
277
|
},
|
|
282
278
|
parameters: {
|
|
@@ -312,14 +308,14 @@ export const postUsersUseridChallengesAuthenticatorVerify = endpoint({
|
|
|
312
308
|
* @param userId The user ID.
|
|
313
309
|
*/
|
|
314
310
|
export const postUsersUseridChallengesCrossDeviceRetract = endpoint({
|
|
315
|
-
method:
|
|
316
|
-
path:
|
|
317
|
-
baseUrl:
|
|
318
|
-
requestFormat:
|
|
311
|
+
method: 'POST',
|
|
312
|
+
path: '/v1/users/:userId/challenges/cross-device/retract',
|
|
313
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
314
|
+
requestFormat: 'json',
|
|
319
315
|
serializationMethod: {
|
|
320
316
|
body: {},
|
|
321
317
|
userId: {
|
|
322
|
-
style:
|
|
318
|
+
style: 'simple',
|
|
323
319
|
},
|
|
324
320
|
},
|
|
325
321
|
parameters: {
|
|
@@ -351,14 +347,14 @@ export const postUsersUseridChallengesCrossDeviceRetract = endpoint({
|
|
|
351
347
|
* @param userId The user ID.
|
|
352
348
|
*/
|
|
353
349
|
export const postUsersUseridChallengesCrossDeviceRetry = endpoint({
|
|
354
|
-
method:
|
|
355
|
-
path:
|
|
356
|
-
baseUrl:
|
|
357
|
-
requestFormat:
|
|
350
|
+
method: 'POST',
|
|
351
|
+
path: '/v1/users/:userId/challenges/cross-device/retry',
|
|
352
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
353
|
+
requestFormat: 'json',
|
|
358
354
|
serializationMethod: {
|
|
359
355
|
body: {},
|
|
360
356
|
userId: {
|
|
361
|
-
style:
|
|
357
|
+
style: 'simple',
|
|
362
358
|
},
|
|
363
359
|
},
|
|
364
360
|
parameters: {
|
|
@@ -390,14 +386,14 @@ export const postUsersUseridChallengesCrossDeviceRetry = endpoint({
|
|
|
390
386
|
* @param userId The user ID.
|
|
391
387
|
*/
|
|
392
388
|
export const postUsersUseridChallengesCrossDeviceVerify = endpoint({
|
|
393
|
-
method:
|
|
394
|
-
path:
|
|
395
|
-
baseUrl:
|
|
396
|
-
requestFormat:
|
|
389
|
+
method: 'POST',
|
|
390
|
+
path: '/v1/users/:userId/challenges/cross-device/verify',
|
|
391
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
392
|
+
requestFormat: 'json',
|
|
397
393
|
serializationMethod: {
|
|
398
394
|
body: {},
|
|
399
395
|
userId: {
|
|
400
|
-
style:
|
|
396
|
+
style: 'simple',
|
|
401
397
|
},
|
|
402
398
|
},
|
|
403
399
|
parameters: {
|
|
@@ -430,14 +426,14 @@ export const postUsersUseridChallengesCrossDeviceVerify = endpoint({
|
|
|
430
426
|
* @param userId The user ID.
|
|
431
427
|
*/
|
|
432
428
|
export const postUsersUseridChallengesEmailSendCode = endpoint({
|
|
433
|
-
method:
|
|
434
|
-
path:
|
|
435
|
-
baseUrl:
|
|
436
|
-
requestFormat:
|
|
429
|
+
method: 'POST',
|
|
430
|
+
path: '/v1/users/:userId/challenges/email/send-code',
|
|
431
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
432
|
+
requestFormat: 'json',
|
|
437
433
|
serializationMethod: {
|
|
438
434
|
body: {},
|
|
439
435
|
userId: {
|
|
440
|
-
style:
|
|
436
|
+
style: 'simple',
|
|
441
437
|
},
|
|
442
438
|
},
|
|
443
439
|
parameters: {
|
|
@@ -472,14 +468,14 @@ export const postUsersUseridChallengesEmailSendCode = endpoint({
|
|
|
472
468
|
* @param userId The user ID.
|
|
473
469
|
*/
|
|
474
470
|
export const postUsersUseridChallengesEmailVerify = endpoint({
|
|
475
|
-
method:
|
|
476
|
-
path:
|
|
477
|
-
baseUrl:
|
|
478
|
-
requestFormat:
|
|
471
|
+
method: 'POST',
|
|
472
|
+
path: '/v1/users/:userId/challenges/email/verify',
|
|
473
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
474
|
+
requestFormat: 'json',
|
|
479
475
|
serializationMethod: {
|
|
480
476
|
body: {},
|
|
481
477
|
userId: {
|
|
482
|
-
style:
|
|
478
|
+
style: 'simple',
|
|
483
479
|
},
|
|
484
480
|
},
|
|
485
481
|
parameters: {
|
|
@@ -515,14 +511,14 @@ export const postUsersUseridChallengesEmailVerify = endpoint({
|
|
|
515
511
|
* @param userId The user ID.
|
|
516
512
|
*/
|
|
517
513
|
export const postUsersUseridChallengesPasskeyVerifyFinish = endpoint({
|
|
518
|
-
method:
|
|
519
|
-
path:
|
|
520
|
-
baseUrl:
|
|
521
|
-
requestFormat:
|
|
514
|
+
method: 'POST',
|
|
515
|
+
path: '/v1/users/:userId/challenges/passkey/verify-finish',
|
|
516
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
517
|
+
requestFormat: 'json',
|
|
522
518
|
serializationMethod: {
|
|
523
519
|
body: {},
|
|
524
520
|
userId: {
|
|
525
|
-
style:
|
|
521
|
+
style: 'simple',
|
|
526
522
|
},
|
|
527
523
|
},
|
|
528
524
|
parameters: {
|
|
@@ -554,14 +550,14 @@ export const postUsersUseridChallengesPasskeyVerifyFinish = endpoint({
|
|
|
554
550
|
* @param userId The user ID.
|
|
555
551
|
*/
|
|
556
552
|
export const postUsersUseridChallengesPasskeyVerifyStart = endpoint({
|
|
557
|
-
method:
|
|
558
|
-
path:
|
|
559
|
-
baseUrl:
|
|
560
|
-
requestFormat:
|
|
553
|
+
method: 'POST',
|
|
554
|
+
path: '/v1/users/:userId/challenges/passkey/verify-start',
|
|
555
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
556
|
+
requestFormat: 'json',
|
|
561
557
|
serializationMethod: {
|
|
562
558
|
body: {},
|
|
563
559
|
userId: {
|
|
564
|
-
style:
|
|
560
|
+
style: 'simple',
|
|
565
561
|
},
|
|
566
562
|
},
|
|
567
563
|
parameters: {
|
|
@@ -593,14 +589,14 @@ export const postUsersUseridChallengesPasskeyVerifyStart = endpoint({
|
|
|
593
589
|
* @param userId The user ID.
|
|
594
590
|
*/
|
|
595
591
|
export const postUsersUseridChallengesPasswordVerify = endpoint({
|
|
596
|
-
method:
|
|
597
|
-
path:
|
|
598
|
-
baseUrl:
|
|
599
|
-
requestFormat:
|
|
592
|
+
method: 'POST',
|
|
593
|
+
path: '/v1/users/:userId/challenges/password/verify',
|
|
594
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
595
|
+
requestFormat: 'json',
|
|
600
596
|
serializationMethod: {
|
|
601
597
|
body: {},
|
|
602
598
|
userId: {
|
|
603
|
-
style:
|
|
599
|
+
style: 'simple',
|
|
604
600
|
},
|
|
605
601
|
},
|
|
606
602
|
parameters: {
|
|
@@ -637,14 +633,14 @@ export const postUsersUseridChallengesPasswordVerify = endpoint({
|
|
|
637
633
|
* @description Once a recovery code has been used to verify a challenge it cannot be used again.
|
|
638
634
|
*/
|
|
639
635
|
export const postUsersUseridChallengesRecoveryCodesVerify = endpoint({
|
|
640
|
-
method:
|
|
641
|
-
path:
|
|
642
|
-
baseUrl:
|
|
643
|
-
requestFormat:
|
|
636
|
+
method: 'POST',
|
|
637
|
+
path: '/v1/users/:userId/challenges/recovery-codes/verify',
|
|
638
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
639
|
+
requestFormat: 'json',
|
|
644
640
|
serializationMethod: {
|
|
645
641
|
body: {},
|
|
646
642
|
userId: {
|
|
647
|
-
style:
|
|
643
|
+
style: 'simple',
|
|
648
644
|
},
|
|
649
645
|
},
|
|
650
646
|
parameters: {
|
|
@@ -680,14 +676,14 @@ export const postUsersUseridChallengesRecoveryCodesVerify = endpoint({
|
|
|
680
676
|
* @param userId The user ID.
|
|
681
677
|
*/
|
|
682
678
|
export const postUsersUseridChallengesSecurityKeyVerifyFinish = endpoint({
|
|
683
|
-
method:
|
|
684
|
-
path:
|
|
685
|
-
baseUrl:
|
|
686
|
-
requestFormat:
|
|
679
|
+
method: 'POST',
|
|
680
|
+
path: '/v1/users/:userId/challenges/security-key/verify-finish',
|
|
681
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
682
|
+
requestFormat: 'json',
|
|
687
683
|
serializationMethod: {
|
|
688
684
|
body: {},
|
|
689
685
|
userId: {
|
|
690
|
-
style:
|
|
686
|
+
style: 'simple',
|
|
691
687
|
},
|
|
692
688
|
},
|
|
693
689
|
parameters: {
|
|
@@ -719,14 +715,14 @@ export const postUsersUseridChallengesSecurityKeyVerifyFinish = endpoint({
|
|
|
719
715
|
* @param userId The user ID.
|
|
720
716
|
*/
|
|
721
717
|
export const postUsersUseridChallengesSecurityKeyVerifyStart = endpoint({
|
|
722
|
-
method:
|
|
723
|
-
path:
|
|
724
|
-
baseUrl:
|
|
725
|
-
requestFormat:
|
|
718
|
+
method: 'POST',
|
|
719
|
+
path: '/v1/users/:userId/challenges/security-key/verify-start',
|
|
720
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
721
|
+
requestFormat: 'json',
|
|
726
722
|
serializationMethod: {
|
|
727
723
|
body: {},
|
|
728
724
|
userId: {
|
|
729
|
-
style:
|
|
725
|
+
style: 'simple',
|
|
730
726
|
},
|
|
731
727
|
},
|
|
732
728
|
parameters: {
|
|
@@ -758,14 +754,14 @@ export const postUsersUseridChallengesSecurityKeyVerifyStart = endpoint({
|
|
|
758
754
|
* @param userId The user ID.
|
|
759
755
|
*/
|
|
760
756
|
export const postUsersUseridChallengesSmsSendCode = endpoint({
|
|
761
|
-
method:
|
|
762
|
-
path:
|
|
763
|
-
baseUrl:
|
|
764
|
-
requestFormat:
|
|
757
|
+
method: 'POST',
|
|
758
|
+
path: '/v1/users/:userId/challenges/sms/send-code',
|
|
759
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
760
|
+
requestFormat: 'json',
|
|
765
761
|
serializationMethod: {
|
|
766
762
|
body: {},
|
|
767
763
|
userId: {
|
|
768
|
-
style:
|
|
764
|
+
style: 'simple',
|
|
769
765
|
},
|
|
770
766
|
},
|
|
771
767
|
parameters: {
|
|
@@ -800,14 +796,14 @@ export const postUsersUseridChallengesSmsSendCode = endpoint({
|
|
|
800
796
|
* @param userId The user ID.
|
|
801
797
|
*/
|
|
802
798
|
export const postUsersUseridChallengesSmsVerify = endpoint({
|
|
803
|
-
method:
|
|
804
|
-
path:
|
|
805
|
-
baseUrl:
|
|
806
|
-
requestFormat:
|
|
799
|
+
method: 'POST',
|
|
800
|
+
path: '/v1/users/:userId/challenges/sms/verify',
|
|
801
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
802
|
+
requestFormat: 'json',
|
|
807
803
|
serializationMethod: {
|
|
808
804
|
body: {},
|
|
809
805
|
userId: {
|
|
810
|
-
style:
|
|
806
|
+
style: 'simple',
|
|
811
807
|
},
|
|
812
808
|
},
|
|
813
809
|
parameters: {
|
|
@@ -844,20 +840,20 @@ export const postUsersUseridChallengesSmsVerify = endpoint({
|
|
|
844
840
|
* @param actionType The action type the challengeId is associated with.
|
|
845
841
|
*/
|
|
846
842
|
export const getUsersUseridConfiguration = endpoint({
|
|
847
|
-
method:
|
|
848
|
-
path:
|
|
849
|
-
baseUrl:
|
|
850
|
-
requestFormat:
|
|
843
|
+
method: 'GET',
|
|
844
|
+
path: '/v1/users/:userId/configuration',
|
|
845
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
846
|
+
requestFormat: 'json',
|
|
851
847
|
serializationMethod: {
|
|
852
848
|
userId: {
|
|
853
|
-
style:
|
|
849
|
+
style: 'simple',
|
|
854
850
|
},
|
|
855
851
|
challengeId: {
|
|
856
|
-
style:
|
|
852
|
+
style: 'form',
|
|
857
853
|
explode: true,
|
|
858
854
|
},
|
|
859
855
|
actionType: {
|
|
860
|
-
style:
|
|
856
|
+
style: 'form',
|
|
861
857
|
explode: true,
|
|
862
858
|
},
|
|
863
859
|
},
|
|
@@ -897,14 +893,14 @@ export const getUsersUseridConfiguration = endpoint({
|
|
|
897
893
|
* @param userId The user ID.
|
|
898
894
|
*/
|
|
899
895
|
export const postUsersUseridConfigurationAuthenticatorDisable = endpoint({
|
|
900
|
-
method:
|
|
901
|
-
path:
|
|
902
|
-
baseUrl:
|
|
903
|
-
requestFormat:
|
|
896
|
+
method: 'POST',
|
|
897
|
+
path: '/v1/users/:userId/configuration/authenticator/disable',
|
|
898
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
899
|
+
requestFormat: 'json',
|
|
904
900
|
serializationMethod: {
|
|
905
901
|
body: {},
|
|
906
902
|
userId: {
|
|
907
|
-
style:
|
|
903
|
+
style: 'simple',
|
|
908
904
|
},
|
|
909
905
|
},
|
|
910
906
|
parameters: {
|
|
@@ -944,14 +940,14 @@ export const postUsersUseridConfigurationAuthenticatorDisable = endpoint({
|
|
|
944
940
|
* @param userId The user ID.
|
|
945
941
|
*/
|
|
946
942
|
export const postUsersUseridConfigurationAuthenticatorEnable = endpoint({
|
|
947
|
-
method:
|
|
948
|
-
path:
|
|
949
|
-
baseUrl:
|
|
950
|
-
requestFormat:
|
|
943
|
+
method: 'POST',
|
|
944
|
+
path: '/v1/users/:userId/configuration/authenticator/enable',
|
|
945
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
946
|
+
requestFormat: 'json',
|
|
951
947
|
serializationMethod: {
|
|
952
948
|
body: {},
|
|
953
949
|
userId: {
|
|
954
|
-
style:
|
|
950
|
+
style: 'simple',
|
|
955
951
|
},
|
|
956
952
|
},
|
|
957
953
|
parameters: {
|
|
@@ -990,14 +986,14 @@ export const postUsersUseridConfigurationAuthenticatorEnable = endpoint({
|
|
|
990
986
|
the user has properly stored the authenticator key in their authenticator app.
|
|
991
987
|
*/
|
|
992
988
|
export const postUsersUseridConfigurationAuthenticatorEnableVerify = endpoint({
|
|
993
|
-
method:
|
|
994
|
-
path:
|
|
995
|
-
baseUrl:
|
|
996
|
-
requestFormat:
|
|
989
|
+
method: 'POST',
|
|
990
|
+
path: '/v1/users/:userId/configuration/authenticator/enable-verify',
|
|
991
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
992
|
+
requestFormat: 'json',
|
|
997
993
|
serializationMethod: {
|
|
998
994
|
body: {},
|
|
999
995
|
userId: {
|
|
1000
|
-
style:
|
|
996
|
+
style: 'simple',
|
|
1001
997
|
},
|
|
1002
998
|
},
|
|
1003
999
|
parameters: {
|
|
@@ -1035,14 +1031,14 @@ export const postUsersUseridConfigurationAuthenticatorEnableVerify = endpoint({
|
|
|
1035
1031
|
* @param userId The user ID.
|
|
1036
1032
|
*/
|
|
1037
1033
|
export const postUsersUseridConfigurationEmailDisable = endpoint({
|
|
1038
|
-
method:
|
|
1039
|
-
path:
|
|
1040
|
-
baseUrl:
|
|
1041
|
-
requestFormat:
|
|
1034
|
+
method: 'POST',
|
|
1035
|
+
path: '/v1/users/:userId/configuration/email/disable',
|
|
1036
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1037
|
+
requestFormat: 'json',
|
|
1042
1038
|
serializationMethod: {
|
|
1043
1039
|
body: {},
|
|
1044
1040
|
userId: {
|
|
1045
|
-
style:
|
|
1041
|
+
style: 'simple',
|
|
1046
1042
|
},
|
|
1047
1043
|
},
|
|
1048
1044
|
parameters: {
|
|
@@ -1082,14 +1078,14 @@ export const postUsersUseridConfigurationEmailDisable = endpoint({
|
|
|
1082
1078
|
* @param userId The user ID.
|
|
1083
1079
|
*/
|
|
1084
1080
|
export const postUsersUseridConfigurationEmailEnable = endpoint({
|
|
1085
|
-
method:
|
|
1086
|
-
path:
|
|
1087
|
-
baseUrl:
|
|
1088
|
-
requestFormat:
|
|
1081
|
+
method: 'POST',
|
|
1082
|
+
path: '/v1/users/:userId/configuration/email/enable',
|
|
1083
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1084
|
+
requestFormat: 'json',
|
|
1089
1085
|
serializationMethod: {
|
|
1090
1086
|
body: {},
|
|
1091
1087
|
userId: {
|
|
1092
|
-
style:
|
|
1088
|
+
style: 'simple',
|
|
1093
1089
|
},
|
|
1094
1090
|
},
|
|
1095
1091
|
parameters: {
|
|
@@ -1125,14 +1121,14 @@ export const postUsersUseridConfigurationEmailEnable = endpoint({
|
|
|
1125
1121
|
* @param userId The user ID.
|
|
1126
1122
|
*/
|
|
1127
1123
|
export const postUsersUseridConfigurationSecurityKeyDisable = endpoint({
|
|
1128
|
-
method:
|
|
1129
|
-
path:
|
|
1130
|
-
baseUrl:
|
|
1131
|
-
requestFormat:
|
|
1124
|
+
method: 'POST',
|
|
1125
|
+
path: '/v1/users/:userId/configuration/security-key/disable',
|
|
1126
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1127
|
+
requestFormat: 'json',
|
|
1132
1128
|
serializationMethod: {
|
|
1133
1129
|
body: {},
|
|
1134
1130
|
userId: {
|
|
1135
|
-
style:
|
|
1131
|
+
style: 'simple',
|
|
1136
1132
|
},
|
|
1137
1133
|
},
|
|
1138
1134
|
parameters: {
|
|
@@ -1167,14 +1163,14 @@ export const postUsersUseridConfigurationSecurityKeyDisable = endpoint({
|
|
|
1167
1163
|
* @param userId The user ID.
|
|
1168
1164
|
*/
|
|
1169
1165
|
export const postUsersUseridConfigurationSecurityKeyEnable = endpoint({
|
|
1170
|
-
method:
|
|
1171
|
-
path:
|
|
1172
|
-
baseUrl:
|
|
1173
|
-
requestFormat:
|
|
1166
|
+
method: 'POST',
|
|
1167
|
+
path: '/v1/users/:userId/configuration/security-key/enable',
|
|
1168
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1169
|
+
requestFormat: 'json',
|
|
1174
1170
|
serializationMethod: {
|
|
1175
1171
|
body: {},
|
|
1176
1172
|
userId: {
|
|
1177
|
-
style:
|
|
1173
|
+
style: 'simple',
|
|
1178
1174
|
},
|
|
1179
1175
|
},
|
|
1180
1176
|
parameters: {
|
|
@@ -1211,14 +1207,14 @@ export const postUsersUseridConfigurationSecurityKeyEnable = endpoint({
|
|
|
1211
1207
|
* @param userId The user ID.
|
|
1212
1208
|
*/
|
|
1213
1209
|
export const postUsersUseridConfigurationSecurityKeyEnableVerify = endpoint({
|
|
1214
|
-
method:
|
|
1215
|
-
path:
|
|
1216
|
-
baseUrl:
|
|
1217
|
-
requestFormat:
|
|
1210
|
+
method: 'POST',
|
|
1211
|
+
path: '/v1/users/:userId/configuration/security-key/enable-verify',
|
|
1212
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1213
|
+
requestFormat: 'json',
|
|
1218
1214
|
serializationMethod: {
|
|
1219
1215
|
body: {},
|
|
1220
1216
|
userId: {
|
|
1221
|
-
style:
|
|
1217
|
+
style: 'simple',
|
|
1222
1218
|
},
|
|
1223
1219
|
},
|
|
1224
1220
|
parameters: {
|
|
@@ -1253,13 +1249,13 @@ export const postUsersUseridConfigurationSecurityKeyEnableVerify = endpoint({
|
|
|
1253
1249
|
* @param userId The user ID.
|
|
1254
1250
|
*/
|
|
1255
1251
|
export const postUsersUseridConfigurationSecurityKeyList = endpoint({
|
|
1256
|
-
method:
|
|
1257
|
-
path:
|
|
1258
|
-
baseUrl:
|
|
1259
|
-
requestFormat:
|
|
1252
|
+
method: 'POST',
|
|
1253
|
+
path: '/v1/users/:userId/configuration/security-key/list',
|
|
1254
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1255
|
+
requestFormat: 'json',
|
|
1260
1256
|
serializationMethod: {
|
|
1261
1257
|
userId: {
|
|
1262
|
-
style:
|
|
1258
|
+
style: 'simple',
|
|
1263
1259
|
},
|
|
1264
1260
|
},
|
|
1265
1261
|
parameters: {
|
|
@@ -1292,14 +1288,14 @@ export const postUsersUseridConfigurationSecurityKeyList = endpoint({
|
|
|
1292
1288
|
* @param userId The user ID.
|
|
1293
1289
|
*/
|
|
1294
1290
|
export const postUsersUseridConfigurationSmsDisable = endpoint({
|
|
1295
|
-
method:
|
|
1296
|
-
path:
|
|
1297
|
-
baseUrl:
|
|
1298
|
-
requestFormat:
|
|
1291
|
+
method: 'POST',
|
|
1292
|
+
path: '/v1/users/:userId/configuration/sms/disable',
|
|
1293
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1294
|
+
requestFormat: 'json',
|
|
1299
1295
|
serializationMethod: {
|
|
1300
1296
|
body: {},
|
|
1301
1297
|
userId: {
|
|
1302
|
-
style:
|
|
1298
|
+
style: 'simple',
|
|
1303
1299
|
},
|
|
1304
1300
|
},
|
|
1305
1301
|
parameters: {
|
|
@@ -1339,14 +1335,14 @@ export const postUsersUseridConfigurationSmsDisable = endpoint({
|
|
|
1339
1335
|
* @param userId The user ID.
|
|
1340
1336
|
*/
|
|
1341
1337
|
export const postUsersUseridConfigurationSmsEnable = endpoint({
|
|
1342
|
-
method:
|
|
1343
|
-
path:
|
|
1344
|
-
baseUrl:
|
|
1345
|
-
requestFormat:
|
|
1338
|
+
method: 'POST',
|
|
1339
|
+
path: '/v1/users/:userId/configuration/sms/enable',
|
|
1340
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1341
|
+
requestFormat: 'json',
|
|
1346
1342
|
serializationMethod: {
|
|
1347
1343
|
body: {},
|
|
1348
1344
|
userId: {
|
|
1349
|
-
style:
|
|
1345
|
+
style: 'simple',
|
|
1350
1346
|
},
|
|
1351
1347
|
},
|
|
1352
1348
|
parameters: {
|
|
@@ -1382,13 +1378,13 @@ export const postUsersUseridConfigurationSmsEnable = endpoint({
|
|
|
1382
1378
|
* @param userId The user ID.
|
|
1383
1379
|
*/
|
|
1384
1380
|
export const getUsersUseridRecoveryCodes = endpoint({
|
|
1385
|
-
method:
|
|
1386
|
-
path:
|
|
1387
|
-
baseUrl:
|
|
1388
|
-
requestFormat:
|
|
1381
|
+
method: 'GET',
|
|
1382
|
+
path: '/v1/users/:userId/recovery-codes',
|
|
1383
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1384
|
+
requestFormat: 'json',
|
|
1389
1385
|
serializationMethod: {
|
|
1390
1386
|
userId: {
|
|
1391
|
-
style:
|
|
1387
|
+
style: 'simple',
|
|
1392
1388
|
},
|
|
1393
1389
|
},
|
|
1394
1390
|
parameters: {
|
|
@@ -1419,14 +1415,14 @@ export const getUsersUseridRecoveryCodes = endpoint({
|
|
|
1419
1415
|
New recovery codes will have to be generated to pass two step verification via recovery code.
|
|
1420
1416
|
*/
|
|
1421
1417
|
export const postUsersUseridRecoveryCodesClear = endpoint({
|
|
1422
|
-
method:
|
|
1423
|
-
path:
|
|
1424
|
-
baseUrl:
|
|
1425
|
-
requestFormat:
|
|
1418
|
+
method: 'POST',
|
|
1419
|
+
path: '/v1/users/:userId/recovery-codes/clear',
|
|
1420
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1421
|
+
requestFormat: 'json',
|
|
1426
1422
|
serializationMethod: {
|
|
1427
1423
|
body: {},
|
|
1428
1424
|
userId: {
|
|
1429
|
-
style:
|
|
1425
|
+
style: 'simple',
|
|
1430
1426
|
},
|
|
1431
1427
|
},
|
|
1432
1428
|
parameters: {
|
|
@@ -1472,14 +1468,14 @@ Recovery codes generated by this endpoint do not have an expiration.
|
|
|
1472
1468
|
Once a recovery code generated by this endpoint has been used it cannot be used again.
|
|
1473
1469
|
*/
|
|
1474
1470
|
export const postUsersUseridRecoveryCodesRegenerate = endpoint({
|
|
1475
|
-
method:
|
|
1476
|
-
path:
|
|
1477
|
-
baseUrl:
|
|
1478
|
-
requestFormat:
|
|
1471
|
+
method: 'POST',
|
|
1472
|
+
path: '/v1/users/:userId/recovery-codes/regenerate',
|
|
1473
|
+
baseUrl: 'https://twostepverification.roblox.com',
|
|
1474
|
+
requestFormat: 'json',
|
|
1479
1475
|
serializationMethod: {
|
|
1480
1476
|
body: {},
|
|
1481
1477
|
userId: {
|
|
1482
|
-
style:
|
|
1478
|
+
style: 'simple',
|
|
1483
1479
|
},
|
|
1484
1480
|
},
|
|
1485
1481
|
parameters: {
|