rozod 6.8.0 → 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 (53) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  2. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  3. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  4. package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
  5. package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
  6. package/lib/endpoints/authv1.d.ts +479 -521
  7. package/lib/endpoints/authv2.d.ts +209 -221
  8. package/lib/endpoints/authv3.d.ts +32 -35
  9. package/lib/endpoints/avatarv1.d.ts +112 -117
  10. package/lib/endpoints/avatarv2.d.ts +71 -76
  11. package/lib/endpoints/avatarv3.d.ts +27 -33
  12. package/lib/endpoints/badgesv1.d.ts +92 -99
  13. package/lib/endpoints/catalogv1.d.ts +207 -233
  14. package/lib/endpoints/catalogv2.d.ts +81 -119
  15. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  16. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  17. package/lib/endpoints/contactsv1.d.ts +18 -20
  18. package/lib/endpoints/developv1.d.ts +230 -293
  19. package/lib/endpoints/developv2.d.ts +84 -137
  20. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  21. package/lib/endpoints/economyv1.d.ts +6 -6
  22. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  23. package/lib/endpoints/followingsv1.d.ts +33 -34
  24. package/lib/endpoints/followingsv2.d.ts +9 -9
  25. package/lib/endpoints/friendsv1.d.ts +200 -237
  26. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  27. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  28. package/lib/endpoints/gamesv1.d.ts +181 -143
  29. package/lib/endpoints/gamesv2.d.ts +161 -169
  30. package/lib/endpoints/groupsv1.d.ts +938 -988
  31. package/lib/endpoints/groupsv2.d.ts +259 -278
  32. package/lib/endpoints/inventoryv1.d.ts +91 -122
  33. package/lib/endpoints/inventoryv2.d.ts +163 -180
  34. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  35. package/lib/endpoints/localev1.d.ts +47 -48
  36. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  37. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  38. package/lib/endpoints/notificationsv2.d.ts +144 -158
  39. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  40. package/lib/endpoints/presencev1.d.ts +7 -12
  41. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  42. package/lib/endpoints/publishv1.d.ts +32 -32
  43. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  44. package/lib/endpoints/thumbnailsv1.d.ts +325 -326
  45. package/lib/endpoints/thumbnailsv1.js +24 -24
  46. package/lib/endpoints/tradesv1.d.ts +92 -104
  47. package/lib/endpoints/tradesv2.d.ts +81 -84
  48. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  49. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  50. package/lib/endpoints/usersv1.d.ts +110 -114
  51. package/lib/index.d.ts +56 -1
  52. package/lib/index.js +159 -3
  53. 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_Authentication_Api_Models_AuthMetaDataResponse = z.object({
5
5
  cookieLawNoticeTimeout: z.number().int(),
@@ -25,18 +25,17 @@ const Roblox_Web_Responses_Users_LegacyUserResponse = z.object({
25
25
  username: z.string(),
26
26
  displayName: z.string(),
27
27
  });
28
- const Roblox_Authentication_Api_Models_PasswordResetMetadataResponse = z.object(
29
- { users: z.array(Roblox_Web_Responses_Users_LegacyUserResponse) }
30
- );
31
- const Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel =
32
- z.object({
33
- clientPublicKey: z.string(),
34
- clientEpochTimestamp: z.number().int(),
35
- saiSignature: z.string(),
36
- serverNonce: z.string(),
37
- });
28
+ const Roblox_Authentication_Api_Models_PasswordResetMetadataResponse = z.object({
29
+ users: z.array(Roblox_Web_Responses_Users_LegacyUserResponse),
30
+ });
31
+ const Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel = z.object({
32
+ clientPublicKey: z.string(),
33
+ clientEpochTimestamp: z.number().int(),
34
+ saiSignature: z.string(),
35
+ serverNonce: z.string(),
36
+ });
38
37
  const Roblox_Authentication_Api_Models_PasswordResetModel = z.object({
39
- targetType: z.enum(["Email", "PhoneNumber", "RecoverySessionID"]),
38
+ targetType: z.enum(['Email', 'PhoneNumber', 'RecoverySessionID']),
40
39
  ticket: z.string(),
41
40
  userId: z.number().int(),
42
41
  password: z.string(),
@@ -44,8 +43,7 @@ const Roblox_Authentication_Api_Models_PasswordResetModel = z.object({
44
43
  twoStepVerificationChallengeId: z.string(),
45
44
  twoStepVerificationToken: z.string(),
46
45
  accountBlob: z.string(),
47
- secureAuthenticationIntent:
48
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
46
+ secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
49
47
  newEmail: z.string(),
50
48
  passkeySessionId: z.string(),
51
49
  passkeyRegistrationResponse: z.string(),
@@ -55,24 +53,22 @@ const Roblox_Web_Responses_Users_SkinnyUserResponse = z.object({
55
53
  name: z.string(),
56
54
  displayName: z.string(),
57
55
  });
58
- const Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse =
59
- z.object({
60
- mediaType: z.enum([
61
- "Email",
62
- "SMS",
63
- "Authenticator",
64
- "RecoveryCode",
65
- "SecurityKey",
66
- "CrossDevice",
67
- "Password",
68
- "Passkey",
69
- ]),
70
- ticket: z.string(),
71
- });
56
+ const Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse = z.object({
57
+ mediaType: z.enum([
58
+ 'Email',
59
+ 'SMS',
60
+ 'Authenticator',
61
+ 'RecoveryCode',
62
+ 'SecurityKey',
63
+ 'CrossDevice',
64
+ 'Password',
65
+ 'Passkey',
66
+ ]),
67
+ ticket: z.string(),
68
+ });
72
69
  const Roblox_Authentication_Api_Models_LoginResponse = z.object({
73
70
  user: Roblox_Web_Responses_Users_SkinnyUserResponse,
74
- twoStepVerificationData:
75
- Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse,
71
+ twoStepVerificationData: Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse,
76
72
  identityVerificationLoginTicket: z.string(),
77
73
  isBanned: z.boolean(),
78
74
  accountBlob: z.string(),
@@ -85,12 +81,12 @@ const Roblox_Authentication_Api_Models_LoginResponse = z.object({
85
81
  });
86
82
  const Roblox_Authentication_Api_Models_PasswordValidationResponse = z.object({
87
83
  code: z.enum([
88
- "ValidPassword",
89
- "WeakPasswordError",
90
- "PasswordLengthError",
91
- "PasswordSameAsUsernameError",
92
- "ForbiddenPasswordError",
93
- "DumbStringsError",
84
+ 'ValidPassword',
85
+ 'WeakPasswordError',
86
+ 'PasswordLengthError',
87
+ 'PasswordSameAsUsernameError',
88
+ 'ForbiddenPasswordError',
89
+ 'DumbStringsError',
94
90
  ]),
95
91
  message: z.string(),
96
92
  });
@@ -132,16 +128,16 @@ const Roblox_Authentication_Api_Models_UsernamesResponse = z.object({
132
128
  });
133
129
  const Roblox_Authentication_Api_Models_UsernameValidationResponse = z.object({
134
130
  code: z.enum([
135
- "ValidUsername",
136
- "AlreadyInUseError",
137
- "ModerationError",
138
- "InvalidLengthError",
139
- "StartsOrEndsWithUnderscoreError",
140
- "TooManyUnderscoresError",
141
- "ContainsSpacesError",
142
- "InvalidCharactersError",
143
- "ContainsPiiError",
144
- "ContainsReservedUsernameError",
131
+ 'ValidUsername',
132
+ 'AlreadyInUseError',
133
+ 'ModerationError',
134
+ 'InvalidLengthError',
135
+ 'StartsOrEndsWithUnderscoreError',
136
+ 'TooManyUnderscoresError',
137
+ 'ContainsSpacesError',
138
+ 'InvalidCharactersError',
139
+ 'ContainsPiiError',
140
+ 'ContainsReservedUsernameError',
145
141
  ]),
146
142
  message: z.string(),
147
143
  });
@@ -150,43 +146,44 @@ const Roblox_Authentication_Api_Models_UsernameValidationRequest = z.object({
150
146
  birthday: z.string().datetime({ offset: true }),
151
147
  context: z.union([z.literal(0), z.literal(1), z.literal(2)]),
152
148
  });
153
- const Roblox_Authentication_Api_Models_Request_IdentityVerificationLoginRequest =
154
- z.object({ loginTicket: z.string(), resultToken: z.string() });
149
+ const Roblox_Authentication_Api_Models_Request_IdentityVerificationLoginRequest = z.object({
150
+ loginTicket: z.string(),
151
+ resultToken: z.string(),
152
+ });
155
153
  const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
156
154
  const Roblox_Authentication_Api_Models_AccountLinkParameters = z.object({
157
155
  LinkingPlatform: z.enum([
158
- "Invalid",
159
- "Xbox",
160
- "Qq",
161
- "WeChat",
162
- "Facebook",
163
- "RobloxDeveloper",
164
- "RobloxGroupCreator",
165
- "Playstation",
166
- "ExternalProvider",
167
- "Example",
156
+ 'Invalid',
157
+ 'Xbox',
158
+ 'Qq',
159
+ 'WeChat',
160
+ 'Facebook',
161
+ 'RobloxDeveloper',
162
+ 'RobloxGroupCreator',
163
+ 'Playstation',
164
+ 'ExternalProvider',
165
+ 'Example',
168
166
  ]),
169
167
  });
170
168
  const Roblox_Authentication_Api_Models_LoginRequest = z.object({
171
169
  ctype: z.enum([
172
- "Email",
173
- "Username",
174
- "PhoneNumber",
175
- "EmailOtpSessionToken",
176
- "AuthToken",
177
- "Passkey",
178
- "AsUser",
179
- "TwoStepVerification",
180
- "XboxLive",
181
- "PlatformLive",
170
+ 'Email',
171
+ 'Username',
172
+ 'PhoneNumber',
173
+ 'EmailOtpSessionToken',
174
+ 'AuthToken',
175
+ 'Passkey',
176
+ 'AsUser',
177
+ 'TwoStepVerification',
178
+ 'XboxLive',
179
+ 'PlatformLive',
182
180
  ]),
183
181
  cvalue: z.string(),
184
182
  password: z.string(),
185
183
  userId: z.number().int(),
186
184
  securityQuestionSessionId: z.string(),
187
185
  securityQuestionRedemptionToken: z.string(),
188
- secureAuthenticationIntent:
189
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
186
+ secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
190
187
  accountBlob: z.string(),
191
188
  accountLinkParameters: Roblox_Authentication_Api_Models_AccountLinkParameters,
192
189
  captchaId: z.string(),
@@ -194,13 +191,11 @@ const Roblox_Authentication_Api_Models_LoginRequest = z.object({
194
191
  captchaProvider: z.string(),
195
192
  challengeId: z.string(),
196
193
  });
197
- const Roblox_Authentication_Api_Models_Request_LogoutFromAllSessionsAndReauthenticateRequest =
198
- z.object({
199
- SecureAuthenticationIntent:
200
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
201
- });
194
+ const Roblox_Authentication_Api_Models_Request_LogoutFromAllSessionsAndReauthenticateRequest = z.object({
195
+ SecureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
196
+ });
202
197
  const Roblox_Authentication_Api_Models_SendResetPasswordRequest = z.object({
203
- targetType: z.enum(["Email", "PhoneNumber", "RecoverySessionID"]),
198
+ targetType: z.enum(['Email', 'PhoneNumber', 'RecoverySessionID']),
204
199
  target: z.string(),
205
200
  captchaId: z.string(),
206
201
  captchaToken: z.string(),
@@ -209,24 +204,20 @@ const Roblox_Authentication_Api_Models_SendResetPasswordRequest = z.object({
209
204
  });
210
205
  const Roblox_Authentication_Api_Models_SendResetPasswordResponse = z.object({
211
206
  nonce: z.string(),
212
- transmissionType: z.enum(["Sms", "Email"]),
213
- });
214
- const Roblox_Authentication_Api_Models_PasswordResetVerificationRequest =
215
- z.object({
216
- targetType: z.enum(["Email", "PhoneNumber", "RecoverySessionID"]),
217
- nonce: z.string(),
218
- code: z.string(),
219
- });
207
+ transmissionType: z.enum(['Sms', 'Email']),
208
+ });
209
+ const Roblox_Authentication_Api_Models_PasswordResetVerificationRequest = z.object({
210
+ targetType: z.enum(['Email', 'PhoneNumber', 'RecoverySessionID']),
211
+ nonce: z.string(),
212
+ code: z.string(),
213
+ });
220
214
  const Roblox_Authentication_Api_Models_ForgotPasswordUserResponse = z.object({
221
215
  user: Roblox_Web_Responses_Users_LegacyUserResponse,
222
216
  ticket: z.string(),
223
217
  });
224
- const Roblox_Authentication_Api_Models_PasswordResetVerificationResponse =
225
- z.object({
226
- userTickets: z.array(
227
- Roblox_Authentication_Api_Models_ForgotPasswordUserResponse
228
- ),
229
- });
218
+ const Roblox_Authentication_Api_Models_PasswordResetVerificationResponse = z.object({
219
+ userTickets: z.array(Roblox_Authentication_Api_Models_ForgotPasswordUserResponse),
220
+ });
230
221
  const Roblox_Authentication_Api_Models_ReferralDataModel = z.object({
231
222
  acquisitionTime: z.string().datetime({ offset: true }),
232
223
  acquisitionReferrer: z.string(),
@@ -242,7 +233,7 @@ const Roblox_Authentication_Api_Models_ReferralDataModel = z.object({
242
233
  });
243
234
  const Roblox_Authentication_Api_Models_Request_OtpSessionModel = z.object({
244
235
  otpSessionToken: z.string(),
245
- otpContactType: z.enum(["Unset", "Email"]),
236
+ otpContactType: z.enum(['Unset', 'Email']),
246
237
  });
247
238
  const Roblox_Authentication_Api_Models_Request_AuditContentValue = z.object({
248
239
  translationKey: z.string(),
@@ -257,7 +248,7 @@ const Roblox_Authentication_Api_Models_Request_AuditSystemContent = z.object({
257
248
  const Roblox_Authentication_Api_Models_SignupRequest = z.object({
258
249
  username: z.string(),
259
250
  password: z.string(),
260
- gender: z.enum(["Unknown", "Male", "Female"]),
251
+ gender: z.enum(['Unknown', 'Male', 'Female']),
261
252
  birthday: z.string().datetime({ offset: true }),
262
253
  displayName: z.string(),
263
254
  isTosAgreementBoxChecked: z.boolean(),
@@ -273,16 +264,14 @@ const Roblox_Authentication_Api_Models_SignupRequest = z.object({
273
264
  referralData: Roblox_Authentication_Api_Models_ReferralDataModel,
274
265
  agreementIds: z.array(z.string()),
275
266
  identityVerificationResultToken: z.string(),
276
- secureAuthenticationIntent:
277
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
267
+ secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
278
268
  otpSession: Roblox_Authentication_Api_Models_Request_OtpSessionModel,
279
269
  dataToken: z.string(),
280
270
  accountBlob: z.string(),
281
271
  passkeySessionId: z.string(),
282
272
  passkeyRegistrationResponse: z.string(),
283
273
  accountLinkParameters: Roblox_Authentication_Api_Models_AccountLinkParameters,
284
- auditSystemContent:
285
- Roblox_Authentication_Api_Models_Request_AuditSystemContent,
274
+ auditSystemContent: Roblox_Authentication_Api_Models_Request_AuditSystemContent,
286
275
  captchaId: z.string(),
287
276
  captchaToken: z.string(),
288
277
  captchaProvider: z.string(),
@@ -297,15 +286,14 @@ const Roblox_Authentication_Api_Models_SignupResponse = z.object({
297
286
  const Roblox_Authentication_Api_Models_PasswordChangeModel = z.object({
298
287
  currentPassword: z.string(),
299
288
  newPassword: z.string(),
300
- secureAuthenticationIntent:
301
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
289
+ secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
302
290
  });
303
291
  const Roblox_Authentication_Api_Models_UsernameChangeRequest = z.object({
304
292
  username: z.string(),
305
293
  password: z.string(),
306
294
  });
307
295
  const Roblox_Authentication_Api_Models_RecoverUsernameRequest = z.object({
308
- targetType: z.enum(["Email", "PhoneNumber", "RecoverySessionID"]),
296
+ targetType: z.enum(['Email', 'PhoneNumber', 'RecoverySessionID']),
309
297
  target: z.string(),
310
298
  });
311
299
  const Roblox_Authentication_Api_Models_RecoverUsernameResponse = z.object({
@@ -317,10 +305,10 @@ const Roblox_Authentication_Api_Models_RecoverUsernameResponse = z.object({
317
305
  * @summary Gets Auth meta data
318
306
  */
319
307
  export const getAuthMetadata = endpoint({
320
- method: "GET",
321
- path: "/v2/auth/metadata",
322
- baseUrl: "https://auth.roblox.com",
323
- requestFormat: "json",
308
+ method: 'GET',
309
+ path: '/v2/auth/metadata',
310
+ baseUrl: 'https://auth.roblox.com',
311
+ requestFormat: 'json',
324
312
  response: z.object({ cookieLawNoticeTimeout: z.number().int() }),
325
313
  errors: [],
326
314
  });
@@ -330,10 +318,10 @@ export const getAuthMetadata = endpoint({
330
318
  * @param body
331
319
  */
332
320
  export const postIdentityVerificationLogin = endpoint({
333
- method: "POST",
334
- path: "/v2/identity-verification/login",
335
- baseUrl: "https://auth.roblox.com",
336
- requestFormat: "json",
321
+ method: 'POST',
322
+ path: '/v2/identity-verification/login',
323
+ baseUrl: 'https://auth.roblox.com',
324
+ requestFormat: 'json',
337
325
  serializationMethod: {
338
326
  body: {},
339
327
  },
@@ -357,10 +345,10 @@ export const postIdentityVerificationLogin = endpoint({
357
345
  * @param body Roblox.Authentication.Api.Models.LoginRequest.
358
346
  */
359
347
  export const postLogin = endpoint({
360
- method: "POST",
361
- path: "/v2/login",
362
- baseUrl: "https://auth.roblox.com",
363
- requestFormat: "json",
348
+ method: 'POST',
349
+ path: '/v2/login',
350
+ baseUrl: 'https://auth.roblox.com',
351
+ requestFormat: 'json',
364
352
  serializationMethod: {
365
353
  body: {},
366
354
  },
@@ -406,10 +394,10 @@ authentication on PCGDK
406
394
  * @param body Roblox.Authentication.Api.Models.LoginRequest
407
395
  */
408
396
  export const postLoginLinked = endpoint({
409
- method: "POST",
410
- path: "/v2/login/linked",
411
- baseUrl: "https://auth.roblox.com",
412
- requestFormat: "json",
397
+ method: 'POST',
398
+ path: '/v2/login/linked',
399
+ baseUrl: 'https://auth.roblox.com',
400
+ requestFormat: 'json',
413
401
  serializationMethod: {
414
402
  body: {},
415
403
  },
@@ -453,10 +441,10 @@ export const postLoginLinked = endpoint({
453
441
  * @summary Destroys the current authentication session.
454
442
  */
455
443
  export const postLogout = endpoint({
456
- method: "POST",
457
- path: "/v2/logout",
458
- baseUrl: "https://auth.roblox.com",
459
- requestFormat: "json",
444
+ method: 'POST',
445
+ path: '/v2/logout',
446
+ baseUrl: 'https://auth.roblox.com',
447
+ requestFormat: 'json',
460
448
  response: z.object({}),
461
449
  errors: [
462
450
  {
@@ -475,10 +463,10 @@ export const postLogout = endpoint({
475
463
  * @param body
476
464
  */
477
465
  export const postLogoutfromallsessionsandreauthenticate = endpoint({
478
- method: "POST",
479
- path: "/v2/logoutfromallsessionsandreauthenticate",
480
- baseUrl: "https://auth.roblox.com",
481
- requestFormat: "json",
466
+ method: 'POST',
467
+ path: '/v2/logoutfromallsessionsandreauthenticate',
468
+ baseUrl: 'https://auth.roblox.com',
469
+ requestFormat: 'json',
482
470
  serializationMethod: {
483
471
  body: {},
484
472
  },
@@ -501,10 +489,10 @@ export const postLogoutfromallsessionsandreauthenticate = endpoint({
501
489
  * @summary Get the metadata
502
490
  */
503
491
  export const getMetadata = endpoint({
504
- method: "GET",
505
- path: "/v2/metadata",
506
- baseUrl: "https://auth.roblox.com",
507
- requestFormat: "json",
492
+ method: 'GET',
493
+ path: '/v2/metadata',
494
+ baseUrl: 'https://auth.roblox.com',
495
+ requestFormat: 'json',
508
496
  response: Roblox_Authentication_Api_Models_MetadataResponse,
509
497
  errors: [],
510
498
  });
@@ -513,10 +501,10 @@ export const getMetadata = endpoint({
513
501
  * @summary Returns password status for current user, asynchronously.
514
502
  */
515
503
  export const getPasswordsCurrentStatus = endpoint({
516
- method: "GET",
517
- path: "/v2/passwords/current-status",
518
- baseUrl: "https://auth.roblox.com",
519
- requestFormat: "json",
504
+ method: 'GET',
505
+ path: '/v2/passwords/current-status',
506
+ baseUrl: 'https://auth.roblox.com',
507
+ requestFormat: 'json',
520
508
  response: z.object({ valid: z.boolean() }),
521
509
  errors: [
522
510
  {
@@ -532,17 +520,17 @@ export const getPasswordsCurrentStatus = endpoint({
532
520
  * @param Ticket
533
521
  */
534
522
  export const getPasswordsReset = endpoint({
535
- method: "GET",
536
- path: "/v2/passwords/reset",
537
- baseUrl: "https://auth.roblox.com",
538
- requestFormat: "json",
523
+ method: 'GET',
524
+ path: '/v2/passwords/reset',
525
+ baseUrl: 'https://auth.roblox.com',
526
+ requestFormat: 'json',
539
527
  serializationMethod: {
540
528
  TargetType: {
541
- style: "form",
529
+ style: 'form',
542
530
  explode: true,
543
531
  },
544
532
  Ticket: {
545
- style: "form",
533
+ style: 'form',
546
534
  explode: true,
547
535
  },
548
536
  },
@@ -581,10 +569,10 @@ export const getPasswordsReset = endpoint({
581
569
  * @description This will log the user out of all sessions and re-authenticate.
582
570
  */
583
571
  export const postPasswordsReset = endpoint({
584
- method: "POST",
585
- path: "/v2/passwords/reset",
586
- baseUrl: "https://auth.roblox.com",
587
- requestFormat: "json",
572
+ method: 'POST',
573
+ path: '/v2/passwords/reset',
574
+ baseUrl: 'https://auth.roblox.com',
575
+ requestFormat: 'json',
588
576
  serializationMethod: {
589
577
  body: {},
590
578
  },
@@ -623,10 +611,10 @@ export const postPasswordsReset = endpoint({
623
611
  * @description Phone target must be a csv with 3 values: "internationalPrefixNumber,nationalNumber,countryCode"
624
612
  */
625
613
  export const postPasswordsResetSend = endpoint({
626
- method: "POST",
627
- path: "/v2/passwords/reset/send",
628
- baseUrl: "https://auth.roblox.com",
629
- requestFormat: "json",
614
+ method: 'POST',
615
+ path: '/v2/passwords/reset/send',
616
+ baseUrl: 'https://auth.roblox.com',
617
+ requestFormat: 'json',
630
618
  serializationMethod: {
631
619
  body: {},
632
620
  },
@@ -668,10 +656,10 @@ export const postPasswordsResetSend = endpoint({
668
656
  * @param body The request model containing the nonce and the solution. Roblox.Authentication.Api.Models.PasswordResetVerificationRequest
669
657
  */
670
658
  export const postPasswordsResetVerify = endpoint({
671
- method: "POST",
672
- path: "/v2/passwords/reset/verify",
673
- baseUrl: "https://auth.roblox.com",
674
- requestFormat: "json",
659
+ method: 'POST',
660
+ path: '/v2/passwords/reset/verify',
661
+ baseUrl: 'https://auth.roblox.com',
662
+ requestFormat: 'json',
675
663
  serializationMethod: {
676
664
  body: {},
677
665
  },
@@ -707,17 +695,17 @@ export const postPasswordsResetVerify = endpoint({
707
695
  * @param Password
708
696
  */
709
697
  export const getPasswordsValidate = endpoint({
710
- method: "GET",
711
- path: "/v2/passwords/validate",
712
- baseUrl: "https://auth.roblox.com",
713
- requestFormat: "json",
698
+ method: 'GET',
699
+ path: '/v2/passwords/validate',
700
+ baseUrl: 'https://auth.roblox.com',
701
+ requestFormat: 'json',
714
702
  serializationMethod: {
715
703
  Username: {
716
- style: "form",
704
+ style: 'form',
717
705
  explode: true,
718
706
  },
719
707
  Password: {
720
- style: "form",
708
+ style: 'form',
721
709
  explode: true,
722
710
  },
723
711
  },
@@ -739,10 +727,10 @@ export const getPasswordsValidate = endpoint({
739
727
  * @param body The Roblox.Authentication.Api.Models.PasswordValidationModel.
740
728
  */
741
729
  export const postPasswordsValidate = endpoint({
742
- method: "POST",
743
- path: "/v2/passwords/validate",
744
- baseUrl: "https://auth.roblox.com",
745
- requestFormat: "json",
730
+ method: 'POST',
731
+ path: '/v2/passwords/validate',
732
+ baseUrl: 'https://auth.roblox.com',
733
+ requestFormat: 'json',
746
734
  serializationMethod: {
747
735
  body: {},
748
736
  },
@@ -765,10 +753,10 @@ export const postPasswordsValidate = endpoint({
765
753
  * @summary Get metadata for forgot endpoints
766
754
  */
767
755
  export const getRecoveryMetadata = endpoint({
768
- method: "GET",
769
- path: "/v2/recovery/metadata",
770
- baseUrl: "https://auth.roblox.com",
771
- requestFormat: "json",
756
+ method: 'GET',
757
+ path: '/v2/recovery/metadata',
758
+ baseUrl: 'https://auth.roblox.com',
759
+ requestFormat: 'json',
772
760
  response: Roblox_Authentication_Api_Models_RecoveryMetadataResponse,
773
761
  errors: [
774
762
  {
@@ -783,13 +771,13 @@ export const getRecoveryMetadata = endpoint({
783
771
  * @param ticket Ticket Guid to revert account.
784
772
  */
785
773
  export const getRevertAccount = endpoint({
786
- method: "GET",
787
- path: "/v2/revert/account",
788
- baseUrl: "https://auth.roblox.com",
789
- requestFormat: "json",
774
+ method: 'GET',
775
+ path: '/v2/revert/account',
776
+ baseUrl: 'https://auth.roblox.com',
777
+ requestFormat: 'json',
790
778
  serializationMethod: {
791
779
  ticket: {
792
- style: "form",
780
+ style: 'form',
793
781
  explode: true,
794
782
  },
795
783
  },
@@ -818,10 +806,10 @@ export const getRevertAccount = endpoint({
818
806
  * @param body The Roblox.Authentication.Api.Models.RevertAccountSubmitRequest containing the necessary information to revert account.
819
807
  */
820
808
  export const postRevertAccount = endpoint({
821
- method: "POST",
822
- path: "/v2/revert/account",
823
- baseUrl: "https://auth.roblox.com",
824
- requestFormat: "json",
809
+ method: 'POST',
810
+ path: '/v2/revert/account',
811
+ baseUrl: 'https://auth.roblox.com',
812
+ requestFormat: 'json',
825
813
  serializationMethod: {
826
814
  body: {},
827
815
  },
@@ -854,10 +842,10 @@ export const postRevertAccount = endpoint({
854
842
  This endpoint should be called before enrolling in EPP to ensure old revert links cannot be used.
855
843
  */
856
844
  export const postRevertInvalidateTickets = endpoint({
857
- method: "POST",
858
- path: "/v2/revert/invalidate-tickets",
859
- baseUrl: "https://auth.roblox.com",
860
- requestFormat: "json",
845
+ method: 'POST',
846
+ path: '/v2/revert/invalidate-tickets',
847
+ baseUrl: 'https://auth.roblox.com',
848
+ requestFormat: 'json',
861
849
  response: z.object({}),
862
850
  errors: [
863
851
  {
@@ -879,10 +867,10 @@ export const postRevertInvalidateTickets = endpoint({
879
867
  * @summary Logs out user from the current session and create a new one.
880
868
  */
881
869
  export const postSessionRefresh = endpoint({
882
- method: "POST",
883
- path: "/v2/session/refresh",
884
- baseUrl: "https://auth.roblox.com",
885
- requestFormat: "json",
870
+ method: 'POST',
871
+ path: '/v2/session/refresh',
872
+ baseUrl: 'https://auth.roblox.com',
873
+ requestFormat: 'json',
886
874
  response: z.object({}),
887
875
  errors: [
888
876
  {
@@ -901,10 +889,10 @@ export const postSessionRefresh = endpoint({
901
889
  * @param body Roblox.Authentication.Api.Models.SignupRequest
902
890
  */
903
891
  export const postSignup = endpoint({
904
- method: "POST",
905
- path: "/v2/signup",
906
- baseUrl: "https://auth.roblox.com",
907
- requestFormat: "json",
892
+ method: 'POST',
893
+ path: '/v2/signup',
894
+ baseUrl: 'https://auth.roblox.com',
895
+ requestFormat: 'json',
908
896
  serializationMethod: {
909
897
  body: {},
910
898
  },
@@ -957,10 +945,10 @@ authentication on PCGDK
957
945
  * @param body Roblox.Authentication.Api.Models.SignupRequest
958
946
  */
959
947
  export const postSignupLinked = endpoint({
960
- method: "POST",
961
- path: "/v2/signup/linked",
962
- baseUrl: "https://auth.roblox.com",
963
- requestFormat: "json",
948
+ method: 'POST',
949
+ path: '/v2/signup/linked',
950
+ baseUrl: 'https://auth.roblox.com',
951
+ requestFormat: 'json',
964
952
  serializationMethod: {
965
953
  body: {},
966
954
  },
@@ -1009,10 +997,10 @@ export const postSignupLinked = endpoint({
1009
997
  * @description The current password is needed for verification that the password can be changed.
1010
998
  */
1011
999
  export const postUserPasswordsChange = endpoint({
1012
- method: "POST",
1013
- path: "/v2/user/passwords/change",
1014
- baseUrl: "https://auth.roblox.com",
1015
- requestFormat: "json",
1000
+ method: 'POST',
1001
+ path: '/v2/user/passwords/change',
1002
+ baseUrl: 'https://auth.roblox.com',
1003
+ requestFormat: 'json',
1016
1004
  serializationMethod: {
1017
1005
  body: {},
1018
1006
  },
@@ -1047,10 +1035,10 @@ export const postUserPasswordsChange = endpoint({
1047
1035
  * @param body The Roblox.Authentication.Api.Models.UsernameChangeRequest
1048
1036
  */
1049
1037
  export const postUsername = endpoint({
1050
- method: "POST",
1051
- path: "/v2/username",
1052
- baseUrl: "https://auth.roblox.com",
1053
- requestFormat: "json",
1038
+ method: 'POST',
1039
+ path: '/v2/username',
1040
+ baseUrl: 'https://auth.roblox.com',
1041
+ requestFormat: 'json',
1054
1042
  serializationMethod: {
1055
1043
  body: {},
1056
1044
  },
@@ -1099,10 +1087,10 @@ export const postUsername = endpoint({
1099
1087
  * @summary Get the current price for a username change
1100
1088
  */
1101
1089
  export const getUsernameChangePrice = endpoint({
1102
- method: "GET",
1103
- path: "/v2/username/change/price",
1104
- baseUrl: "https://auth.roblox.com",
1105
- requestFormat: "json",
1090
+ method: 'GET',
1091
+ path: '/v2/username/change/price',
1092
+ baseUrl: 'https://auth.roblox.com',
1093
+ requestFormat: 'json',
1106
1094
  response: Roblox_Authentication_Api_Models_UsernameChangePriceResponse,
1107
1095
  errors: [
1108
1096
  {
@@ -1118,13 +1106,13 @@ export const getUsernameChangePrice = endpoint({
1118
1106
  * @description This endpoint can be expanded in the future to include other query parameters such as "startsWith"
1119
1107
  */
1120
1108
  export const getUsernames = endpoint({
1121
- method: "GET",
1122
- path: "/v2/usernames",
1123
- baseUrl: "https://auth.roblox.com",
1124
- requestFormat: "json",
1109
+ method: 'GET',
1110
+ path: '/v2/usernames',
1111
+ baseUrl: 'https://auth.roblox.com',
1112
+ requestFormat: 'json',
1125
1113
  serializationMethod: {
1126
1114
  username: {
1127
- style: "form",
1115
+ style: 'form',
1128
1116
  explode: true,
1129
1117
  },
1130
1118
  },
@@ -1140,10 +1128,10 @@ export const getUsernames = endpoint({
1140
1128
  * @param body
1141
1129
  */
1142
1130
  export const postUsernamesRecover = endpoint({
1143
- method: "POST",
1144
- path: "/v2/usernames/recover",
1145
- baseUrl: "https://auth.roblox.com",
1146
- requestFormat: "json",
1131
+ method: 'POST',
1132
+ path: '/v2/usernames/recover',
1133
+ baseUrl: 'https://auth.roblox.com',
1134
+ requestFormat: 'json',
1147
1135
  serializationMethod: {
1148
1136
  body: {},
1149
1137
  },
@@ -1176,21 +1164,21 @@ export const postUsernamesRecover = endpoint({
1176
1164
  * @param Context
1177
1165
  */
1178
1166
  export const getUsernamesValidate = endpoint({
1179
- method: "GET",
1180
- path: "/v2/usernames/validate",
1181
- baseUrl: "https://auth.roblox.com",
1182
- requestFormat: "json",
1167
+ method: 'GET',
1168
+ path: '/v2/usernames/validate',
1169
+ baseUrl: 'https://auth.roblox.com',
1170
+ requestFormat: 'json',
1183
1171
  serializationMethod: {
1184
1172
  Username: {
1185
- style: "form",
1173
+ style: 'form',
1186
1174
  explode: true,
1187
1175
  },
1188
1176
  Birthday: {
1189
- style: "form",
1177
+ style: 'form',
1190
1178
  explode: true,
1191
1179
  },
1192
1180
  Context: {
1193
- style: "form",
1181
+ style: 'form',
1194
1182
  explode: true,
1195
1183
  },
1196
1184
  },
@@ -1214,10 +1202,10 @@ export const getUsernamesValidate = endpoint({
1214
1202
  * @param body The Roblox.Authentication.Api.Models.UsernameValidationRequest.
1215
1203
  */
1216
1204
  export const postUsernamesValidate = endpoint({
1217
- method: "POST",
1218
- path: "/v2/usernames/validate",
1219
- baseUrl: "https://auth.roblox.com",
1220
- requestFormat: "json",
1205
+ method: 'POST',
1206
+ path: '/v2/usernames/validate',
1207
+ baseUrl: 'https://auth.roblox.com',
1208
+ requestFormat: 'json',
1221
1209
  serializationMethod: {
1222
1210
  body: {},
1223
1211
  },