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.
Files changed (87) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +75 -451
  3. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  4. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  5. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  6. package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
  7. package/lib/endpoints/assetdeliveryv1.js +38 -0
  8. package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
  9. package/lib/endpoints/assetdeliveryv2.js +26 -0
  10. package/lib/endpoints/authv1.d.ts +480 -517
  11. package/lib/endpoints/authv1.js +3 -1
  12. package/lib/endpoints/authv2.d.ts +210 -222
  13. package/lib/endpoints/authv2.js +1 -1
  14. package/lib/endpoints/authv3.d.ts +32 -35
  15. package/lib/endpoints/avatarv1.d.ts +112 -117
  16. package/lib/endpoints/avatarv2.d.ts +71 -76
  17. package/lib/endpoints/avatarv3.d.ts +27 -33
  18. package/lib/endpoints/badgesv1.d.ts +96 -99
  19. package/lib/endpoints/badgesv1.js +4 -0
  20. package/lib/endpoints/catalogv1.d.ts +209 -234
  21. package/lib/endpoints/catalogv1.js +2 -1
  22. package/lib/endpoints/catalogv2.d.ts +106 -136
  23. package/lib/endpoints/catalogv2.js +21 -17
  24. package/lib/endpoints/chatv2.d.ts +778 -778
  25. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  26. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  27. package/lib/endpoints/contactsv1.d.ts +18 -20
  28. package/lib/endpoints/developv1.d.ts +233 -293
  29. package/lib/endpoints/developv1.js +3 -0
  30. package/lib/endpoints/developv2.d.ts +87 -138
  31. package/lib/endpoints/developv2.js +3 -1
  32. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  33. package/lib/endpoints/economyv1.d.ts +6 -6
  34. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  35. package/lib/endpoints/followingsv1.d.ts +33 -34
  36. package/lib/endpoints/followingsv2.d.ts +9 -9
  37. package/lib/endpoints/friendsv1.d.ts +416 -545
  38. package/lib/endpoints/friendsv1.js +213 -313
  39. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  40. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  41. package/lib/endpoints/gamejoinv1.d.ts +458 -458
  42. package/lib/endpoints/gamesv1.d.ts +183 -143
  43. package/lib/endpoints/gamesv1.js +2 -0
  44. package/lib/endpoints/gamesv2.d.ts +161 -158
  45. package/lib/endpoints/gamesv2.js +9 -0
  46. package/lib/endpoints/groupsv1.d.ts +967 -976
  47. package/lib/endpoints/groupsv1.js +48 -4
  48. package/lib/endpoints/groupsv2.d.ts +259 -277
  49. package/lib/endpoints/groupsv2.js +1 -0
  50. package/lib/endpoints/inventoryv1.d.ts +93 -122
  51. package/lib/endpoints/inventoryv1.js +3 -1
  52. package/lib/endpoints/inventoryv2.d.ts +163 -178
  53. package/lib/endpoints/inventoryv2.js +2 -0
  54. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  55. package/lib/endpoints/localev1.d.ts +47 -48
  56. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  57. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  58. package/lib/endpoints/metricsv1.d.ts +88 -88
  59. package/lib/endpoints/notificationsv2.d.ts +144 -158
  60. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  61. package/lib/endpoints/presencev1.d.ts +7 -12
  62. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  63. package/lib/endpoints/publishv1.d.ts +32 -32
  64. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  65. package/lib/endpoints/thumbnailsv1.d.ts +317 -361
  66. package/lib/endpoints/thumbnailsv1.js +25 -0
  67. package/lib/endpoints/tradesv1.d.ts +92 -104
  68. package/lib/endpoints/tradesv2.d.ts +81 -84
  69. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  70. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  71. package/lib/endpoints/usersv1.d.ts +110 -114
  72. package/lib/index.d.ts +152 -4
  73. package/lib/index.js +273 -4
  74. package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
  75. package/lib/opencloud/v1/assets.d.ts +9 -9
  76. package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
  77. package/lib/opencloud/v1/datastores.d.ts +8 -8
  78. package/lib/opencloud/v1/developer-products.d.ts +4 -4
  79. package/lib/opencloud/v1/game-passes.d.ts +4 -4
  80. package/lib/opencloud/v1/messaging.d.ts +1 -1
  81. package/lib/opencloud/v1/open-eval.d.ts +2 -2
  82. package/lib/opencloud/v1/secrets-store.d.ts +5 -5
  83. package/lib/opencloud/v1/toolbox.d.ts +2 -2
  84. package/lib/opencloud/v1/universes.d.ts +1 -1
  85. package/lib/opencloud/v2/cloud.d.ts +172 -84
  86. package/lib/opencloud/v2/cloud.js +25 -9
  87. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { z } from "zod";
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
- "Email",
41
- "SMS",
42
- "Authenticator",
43
- "RecoveryCode",
44
- "SecurityKey",
45
- "CrossDevice",
46
- "Password",
47
- "Passkey",
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
- "Unknown",
73
- "Login",
74
- "RobuxSpend",
75
- "ItemTrade",
76
- "Resale",
77
- "PasswordReset",
78
- "RevertAccount",
79
- "Generic",
80
- "GenericWithRecoveryCodes",
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
- "Unknown",
91
- "Login",
92
- "RobuxSpend",
93
- "ItemTrade",
94
- "Resale",
95
- "PasswordReset",
96
- "RevertAccount",
97
- "Generic",
98
- "GenericWithRecoveryCodes",
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
- "Unknown",
106
- "Login",
107
- "RobuxSpend",
108
- "ItemTrade",
109
- "Resale",
110
- "PasswordReset",
111
- "RevertAccount",
112
- "Generic",
113
- "GenericWithRecoveryCodes",
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
- "Unknown",
121
- "Login",
122
- "RobuxSpend",
123
- "ItemTrade",
124
- "Resale",
125
- "PasswordReset",
126
- "RevertAccount",
127
- "Generic",
128
- "GenericWithRecoveryCodes",
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
- "Unknown",
138
- "Login",
139
- "RobuxSpend",
140
- "ItemTrade",
141
- "Resale",
142
- "PasswordReset",
143
- "RevertAccount",
144
- "Generic",
145
- "GenericWithRecoveryCodes",
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
- z.object({ password: z.string(), reauthenticationToken: z.string() });
159
- const Roblox_TwoStepVerification_Api_Models_Request_SecureAuthenticationIntentModel =
160
- z.object({
161
- clientPublicKey: z.string(),
162
- clientEpochTimestamp: z.number().int(),
163
- saiSignature: z.string(),
164
- serverNonce: z.string(),
165
- });
166
- const Roblox_TwoStepVerification_Api_EnableTwoStepVerificationRequest =
167
- z.object({
168
- password: z.string(),
169
- secureAuthenticationIntent:
170
- Roblox_TwoStepVerification_Api_Models_Request_SecureAuthenticationIntentModel,
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.object({
179
- setupToken: z.string(),
180
- code: z.string(),
181
- password: z.string(),
182
- secureAuthenticationIntent:
183
- Roblox_TwoStepVerification_Api_Models_Request_SecureAuthenticationIntentModel,
184
- });
185
- const Roblox_TwoStepVerification_Api_EnableVerifyAuthenticatorResponse =
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: "GET",
228
- path: "/v1/metadata",
229
- baseUrl: "https://twostepverification.roblox.com",
230
- requestFormat: "json",
223
+ method: 'GET',
224
+ path: '/v1/metadata',
225
+ baseUrl: 'https://twostepverification.roblox.com',
226
+ requestFormat: 'json',
231
227
  serializationMethod: {
232
228
  userId: {
233
- style: "form",
229
+ style: 'form',
234
230
  explode: true,
235
231
  },
236
232
  challengeId: {
237
- style: "form",
233
+ style: 'form',
238
234
  explode: true,
239
235
  },
240
236
  actionType: {
241
- style: "form",
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: "POST",
273
- path: "/v1/users/:userId/challenges/authenticator/verify",
274
- baseUrl: "https://twostepverification.roblox.com",
275
- requestFormat: "json",
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: "simple",
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: "POST",
316
- path: "/v1/users/:userId/challenges/cross-device/retract",
317
- baseUrl: "https://twostepverification.roblox.com",
318
- requestFormat: "json",
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: "simple",
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: "POST",
355
- path: "/v1/users/:userId/challenges/cross-device/retry",
356
- baseUrl: "https://twostepverification.roblox.com",
357
- requestFormat: "json",
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: "simple",
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: "POST",
394
- path: "/v1/users/:userId/challenges/cross-device/verify",
395
- baseUrl: "https://twostepverification.roblox.com",
396
- requestFormat: "json",
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: "simple",
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: "POST",
434
- path: "/v1/users/:userId/challenges/email/send-code",
435
- baseUrl: "https://twostepverification.roblox.com",
436
- requestFormat: "json",
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: "simple",
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: "POST",
476
- path: "/v1/users/:userId/challenges/email/verify",
477
- baseUrl: "https://twostepverification.roblox.com",
478
- requestFormat: "json",
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: "simple",
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: "POST",
519
- path: "/v1/users/:userId/challenges/passkey/verify-finish",
520
- baseUrl: "https://twostepverification.roblox.com",
521
- requestFormat: "json",
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: "simple",
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: "POST",
558
- path: "/v1/users/:userId/challenges/passkey/verify-start",
559
- baseUrl: "https://twostepverification.roblox.com",
560
- requestFormat: "json",
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: "simple",
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: "POST",
597
- path: "/v1/users/:userId/challenges/password/verify",
598
- baseUrl: "https://twostepverification.roblox.com",
599
- requestFormat: "json",
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: "simple",
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: "POST",
641
- path: "/v1/users/:userId/challenges/recovery-codes/verify",
642
- baseUrl: "https://twostepverification.roblox.com",
643
- requestFormat: "json",
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: "simple",
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: "POST",
684
- path: "/v1/users/:userId/challenges/security-key/verify-finish",
685
- baseUrl: "https://twostepverification.roblox.com",
686
- requestFormat: "json",
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: "simple",
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: "POST",
723
- path: "/v1/users/:userId/challenges/security-key/verify-start",
724
- baseUrl: "https://twostepverification.roblox.com",
725
- requestFormat: "json",
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: "simple",
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: "POST",
762
- path: "/v1/users/:userId/challenges/sms/send-code",
763
- baseUrl: "https://twostepverification.roblox.com",
764
- requestFormat: "json",
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: "simple",
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: "POST",
804
- path: "/v1/users/:userId/challenges/sms/verify",
805
- baseUrl: "https://twostepverification.roblox.com",
806
- requestFormat: "json",
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: "simple",
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: "GET",
848
- path: "/v1/users/:userId/configuration",
849
- baseUrl: "https://twostepverification.roblox.com",
850
- requestFormat: "json",
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: "simple",
849
+ style: 'simple',
854
850
  },
855
851
  challengeId: {
856
- style: "form",
852
+ style: 'form',
857
853
  explode: true,
858
854
  },
859
855
  actionType: {
860
- style: "form",
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: "POST",
901
- path: "/v1/users/:userId/configuration/authenticator/disable",
902
- baseUrl: "https://twostepverification.roblox.com",
903
- requestFormat: "json",
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: "simple",
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: "POST",
948
- path: "/v1/users/:userId/configuration/authenticator/enable",
949
- baseUrl: "https://twostepverification.roblox.com",
950
- requestFormat: "json",
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: "simple",
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: "POST",
994
- path: "/v1/users/:userId/configuration/authenticator/enable-verify",
995
- baseUrl: "https://twostepverification.roblox.com",
996
- requestFormat: "json",
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: "simple",
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: "POST",
1039
- path: "/v1/users/:userId/configuration/email/disable",
1040
- baseUrl: "https://twostepverification.roblox.com",
1041
- requestFormat: "json",
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: "simple",
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: "POST",
1086
- path: "/v1/users/:userId/configuration/email/enable",
1087
- baseUrl: "https://twostepverification.roblox.com",
1088
- requestFormat: "json",
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: "simple",
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: "POST",
1129
- path: "/v1/users/:userId/configuration/security-key/disable",
1130
- baseUrl: "https://twostepverification.roblox.com",
1131
- requestFormat: "json",
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: "simple",
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: "POST",
1171
- path: "/v1/users/:userId/configuration/security-key/enable",
1172
- baseUrl: "https://twostepverification.roblox.com",
1173
- requestFormat: "json",
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: "simple",
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: "POST",
1215
- path: "/v1/users/:userId/configuration/security-key/enable-verify",
1216
- baseUrl: "https://twostepverification.roblox.com",
1217
- requestFormat: "json",
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: "simple",
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: "POST",
1257
- path: "/v1/users/:userId/configuration/security-key/list",
1258
- baseUrl: "https://twostepverification.roblox.com",
1259
- requestFormat: "json",
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: "simple",
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: "POST",
1296
- path: "/v1/users/:userId/configuration/sms/disable",
1297
- baseUrl: "https://twostepverification.roblox.com",
1298
- requestFormat: "json",
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: "simple",
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: "POST",
1343
- path: "/v1/users/:userId/configuration/sms/enable",
1344
- baseUrl: "https://twostepverification.roblox.com",
1345
- requestFormat: "json",
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: "simple",
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: "GET",
1386
- path: "/v1/users/:userId/recovery-codes",
1387
- baseUrl: "https://twostepverification.roblox.com",
1388
- requestFormat: "json",
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: "simple",
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: "POST",
1423
- path: "/v1/users/:userId/recovery-codes/clear",
1424
- baseUrl: "https://twostepverification.roblox.com",
1425
- requestFormat: "json",
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: "simple",
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: "POST",
1476
- path: "/v1/users/:userId/recovery-codes/regenerate",
1477
- baseUrl: "https://twostepverification.roblox.com",
1478
- requestFormat: "json",
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: "simple",
1478
+ style: 'simple',
1483
1479
  },
1484
1480
  },
1485
1481
  parameters: {