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_AuthMethodsMetadataResponse = z.object({
5
5
  isEligibleForALSignup: z.boolean(),
@@ -18,8 +18,7 @@ const Roblox_Web_WebAPI_Models_ApiSuccessResponse = z.object({
18
18
  const Roblox_Authentication_Api_Models_AuthMetaDataResponse = z.object({
19
19
  cookieLawNoticeTimeout: z.number().int(),
20
20
  });
21
- const Roblox_Authentication_Api_Models_Response_GetClientAssertionResponse =
22
- z.object({ clientAssertion: z.string() });
21
+ const Roblox_Authentication_Api_Models_Response_GetClientAssertionResponse = z.object({ clientAssertion: z.string() });
23
22
  const Roblox_Authentication_Api_Models_MetadataResponse = z.object({
24
23
  isUpdateUsernameEnabled: z.boolean(),
25
24
  ftuxAvatarAssetMap: z.string(),
@@ -33,16 +32,17 @@ const Roblox_Authentication_Api_Models_MetadataResponse = z.object({
33
32
  IsAltBrowserTracker: z.boolean(),
34
33
  IsLoginRedirectPageEnabled: z.boolean(),
35
34
  });
36
- const Roblox_Authentication_Api_Models_Response_SilentUpgradeEligibilityResponse =
37
- z.object({ suEligibility: z.boolean() });
35
+ const Roblox_Authentication_Api_Models_Response_SilentUpgradeEligibilityResponse = z.object({
36
+ suEligibility: z.boolean(),
37
+ });
38
38
  const Roblox_Authentication_Api_Models_PasswordValidationResponse = z.object({
39
39
  code: z.enum([
40
- "ValidPassword",
41
- "WeakPasswordError",
42
- "PasswordLengthError",
43
- "PasswordSameAsUsernameError",
44
- "ForbiddenPasswordError",
45
- "DumbStringsError",
40
+ 'ValidPassword',
41
+ 'WeakPasswordError',
42
+ 'PasswordLengthError',
43
+ 'PasswordSameAsUsernameError',
44
+ 'ForbiddenPasswordError',
45
+ 'DumbStringsError',
46
46
  ]),
47
47
  message: z.string(),
48
48
  });
@@ -80,24 +80,22 @@ const Roblox_Web_Responses_Users_SkinnyUserResponse = z.object({
80
80
  name: z.string(),
81
81
  displayName: z.string(),
82
82
  });
83
- const Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse =
84
- z.object({
85
- mediaType: z.enum([
86
- "Email",
87
- "SMS",
88
- "Authenticator",
89
- "RecoveryCode",
90
- "SecurityKey",
91
- "CrossDevice",
92
- "Password",
93
- "Passkey",
94
- ]),
95
- ticket: z.string(),
96
- });
83
+ const Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse = z.object({
84
+ mediaType: z.enum([
85
+ 'Email',
86
+ 'SMS',
87
+ 'Authenticator',
88
+ 'RecoveryCode',
89
+ 'SecurityKey',
90
+ 'CrossDevice',
91
+ 'Password',
92
+ 'Passkey',
93
+ ]),
94
+ ticket: z.string(),
95
+ });
97
96
  const Roblox_Authentication_Api_Models_LoginResponse = z.object({
98
97
  user: Roblox_Web_Responses_Users_SkinnyUserResponse,
99
- twoStepVerificationData:
100
- Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse,
98
+ twoStepVerificationData: Roblox_Authentication_Api_Models_TwoStepVerificationSentResponse,
101
99
  identityVerificationLoginTicket: z.string(),
102
100
  isBanned: z.boolean(),
103
101
  accountBlob: z.string(),
@@ -124,16 +122,16 @@ const Roblox_Authentication_Api_Models_UsernamesResponse = z.object({
124
122
  });
125
123
  const Roblox_Authentication_Api_Models_UsernameValidationResponse = z.object({
126
124
  code: z.enum([
127
- "ValidUsername",
128
- "AlreadyInUseError",
129
- "ModerationError",
130
- "InvalidLengthError",
131
- "StartsOrEndsWithUnderscoreError",
132
- "TooManyUnderscoresError",
133
- "ContainsSpacesError",
134
- "InvalidCharactersError",
135
- "ContainsPiiError",
136
- "ContainsReservedUsernameError",
125
+ 'ValidUsername',
126
+ 'AlreadyInUseError',
127
+ 'ModerationError',
128
+ 'InvalidLengthError',
129
+ 'StartsOrEndsWithUnderscoreError',
130
+ 'TooManyUnderscoresError',
131
+ 'ContainsSpacesError',
132
+ 'InvalidCharactersError',
133
+ 'ContainsPiiError',
134
+ 'ContainsReservedUsernameError',
137
135
  ]),
138
136
  message: z.string(),
139
137
  });
@@ -149,11 +147,10 @@ const Roblox_Authentication_Api_Models_RecommendedUsernameResponse = z.object({
149
147
  didGenerateNewUsername: z.boolean(),
150
148
  suggestedUsernames: z.array(z.string()),
151
149
  });
152
- const Roblox_Authentication_Api_Models_RecommendedUsernameFromDisplayNameRequest =
153
- z.object({
154
- displayName: z.string(),
155
- birthday: z.string().datetime({ offset: true }),
156
- });
150
+ const Roblox_Authentication_Api_Models_RecommendedUsernameFromDisplayNameRequest = z.object({
151
+ displayName: z.string(),
152
+ birthday: z.string().datetime({ offset: true }),
153
+ });
157
154
  const Roblox_Authentication_Api_Models_RecommendedUsernameRequest = z.object({
158
155
  username: z.string(),
159
156
  birthday: z.string().datetime({ offset: true }),
@@ -162,29 +159,20 @@ const Roblox_Authentication_Api_Models_XboxConnectionModel = z.object({
162
159
  hasConnectedXboxAccount: z.boolean(),
163
160
  gamertag: z.string(),
164
161
  });
165
- const Roblox_Authentication_Api_Models_XboxLoginConsecutiveDaysResponse =
166
- z.object({ count: z.number().int() });
162
+ const Roblox_Authentication_Api_Models_XboxLoginConsecutiveDaysResponse = z.object({ count: z.number().int() });
167
163
  const Roblox_Authentication_Api_Models_AccountPinResponse = z.object({
168
164
  unlockedUntil: z.number(),
169
165
  });
170
- const Roblox_Authentication_Api_Models_Request_ExternalAccessRequest = z.object(
171
- {
172
- authenticationProof: z.string(),
173
- identityProviderPlatformType: z.enum([
174
- "Undefined",
175
- "Xbox",
176
- "Playstation",
177
- "Web",
178
- ]),
179
- additionalInfoPayload: z.object({}),
180
- }
181
- );
182
- const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalIdentityAccessResponse =
183
- z.object({
184
- placeId: z.number().int(),
185
- isolationContext: z.string(),
186
- launchData: z.string(),
187
- });
166
+ const Roblox_Authentication_Api_Models_Request_ExternalAccessRequest = z.object({
167
+ authenticationProof: z.string(),
168
+ identityProviderPlatformType: z.enum(['Undefined', 'Xbox', 'Playstation', 'Web']),
169
+ additionalInfoPayload: z.object({}),
170
+ });
171
+ const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalIdentityAccessResponse = z.object({
172
+ placeId: z.number().int(),
173
+ isolationContext: z.string(),
174
+ launchData: z.string(),
175
+ });
188
176
  const Roblox_Authentication_Api_Models_Request_ExternalLoginRequest = z.object({
189
177
  identityProvider: z.union([
190
178
  z.literal(0),
@@ -201,132 +189,111 @@ const Roblox_Authentication_Api_Models_Request_ExternalLoginRequest = z.object({
201
189
  additionalData: z.object({}),
202
190
  authenticationProof: z.string(),
203
191
  });
204
- const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalLoginResponse =
205
- z.object({ success: z.boolean() });
206
- const Roblox_Authentication_Api_Models_Request_ExternalLoginAndLinkRequest =
207
- z.object({
208
- ctype: z.enum([
209
- "Email",
210
- "Username",
211
- "PhoneNumber",
212
- "EmailOtpSessionToken",
213
- "AuthToken",
214
- "Passkey",
215
- "AsUser",
216
- "TwoStepVerification",
217
- "XboxLive",
218
- "PlatformLive",
219
- ]),
220
- cvalue: z.string(),
221
- password: z.string(),
222
- authenticationProof: z.string(),
223
- IdentityProviderPlatformType: z.enum([
224
- "Undefined",
225
- "Xbox",
226
- "Playstation",
227
- "Web",
228
- ]),
229
- additionalInfoPayload: z.object({}),
230
- });
231
- const Roblox_Authentication_Api_Models_Request_ExternalSignupRequest = z.object(
232
- {
233
- username: z.string(),
234
- password: z.string(),
235
- birthday: z.string().datetime({ offset: true }),
236
- locale: z.string(),
237
- authenticationProof: z.string(),
238
- IdentityProviderPlatformType: z.enum([
239
- "Undefined",
240
- "Xbox",
241
- "Playstation",
242
- "Web",
243
- ]),
244
- additionalInfoPayload: z.object({}),
245
- }
246
- );
247
- const Roblox_Authentication_Api_Models_Request_ExternalUnlinkRequest = z.object(
248
- {
249
- IdentityProviderPlatformType: z.enum([
250
- "Undefined",
251
- "Xbox",
252
- "Playstation",
253
- "Web",
254
- ]),
255
- additionalInfoPayload: z.object({}),
256
- }
257
- );
258
- const Roblox_Authentication_Api_Models_Request_IdentityVerificationLoginRequest =
259
- z.object({ loginTicket: z.string(), resultToken: z.string() });
192
+ const Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalLoginResponse = z.object({
193
+ success: z.boolean(),
194
+ });
195
+ const Roblox_Authentication_Api_Models_Request_ExternalLoginAndLinkRequest = z.object({
196
+ ctype: z.enum([
197
+ 'Email',
198
+ 'Username',
199
+ 'PhoneNumber',
200
+ 'EmailOtpSessionToken',
201
+ 'AuthToken',
202
+ 'Passkey',
203
+ 'AsUser',
204
+ 'TwoStepVerification',
205
+ 'XboxLive',
206
+ 'PlatformLive',
207
+ ]),
208
+ cvalue: z.string(),
209
+ password: z.string(),
210
+ authenticationProof: z.string(),
211
+ IdentityProviderPlatformType: z.enum(['Undefined', 'Xbox', 'Playstation', 'Web']),
212
+ additionalInfoPayload: z.object({}),
213
+ });
214
+ const Roblox_Authentication_Api_Models_Request_ExternalSignupRequest = z.object({
215
+ username: z.string(),
216
+ password: z.string(),
217
+ birthday: z.string().datetime({ offset: true }),
218
+ locale: z.string(),
219
+ authenticationProof: z.string(),
220
+ IdentityProviderPlatformType: z.enum(['Undefined', 'Xbox', 'Playstation', 'Web']),
221
+ additionalInfoPayload: z.object({}),
222
+ });
223
+ const Roblox_Authentication_Api_Models_Request_ExternalUnlinkRequest = z.object({
224
+ IdentityProviderPlatformType: z.enum(['Undefined', 'Xbox', 'Playstation', 'Web']),
225
+ additionalInfoPayload: z.object({}),
226
+ });
227
+ const Roblox_Authentication_Api_Models_Request_IdentityVerificationLoginRequest = z.object({
228
+ loginTicket: z.string(),
229
+ resultToken: z.string(),
230
+ });
260
231
  const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
261
- const Roblox_Authentication_Api_Models_Request_InitializeLoginRequest =
262
- z.object({
263
- ctype: z.union([
264
- z.literal(0),
265
- z.literal(1),
266
- z.literal(2),
267
- z.literal(3),
268
- z.literal(4),
269
- z.literal(5),
270
- z.literal(6),
271
- z.literal(7),
272
- z.literal(8),
273
- z.literal(9),
274
- ]),
275
- cvalue: z.string().min(1),
276
- captchaId: z.string().optional(),
277
- captchaToken: z.string().optional(),
278
- captchaProvider: z.string().optional(),
279
- challengeId: z.string().optional(),
280
- });
232
+ const Roblox_Authentication_Api_Models_Request_InitializeLoginRequest = z.object({
233
+ ctype: z.union([
234
+ z.literal(0),
235
+ z.literal(1),
236
+ z.literal(2),
237
+ z.literal(3),
238
+ z.literal(4),
239
+ z.literal(5),
240
+ z.literal(6),
241
+ z.literal(7),
242
+ z.literal(8),
243
+ z.literal(9),
244
+ ]),
245
+ cvalue: z.string().min(1),
246
+ captchaId: z.string().optional(),
247
+ captchaToken: z.string().optional(),
248
+ captchaProvider: z.string().optional(),
249
+ challengeId: z.string().optional(),
250
+ });
281
251
  const Roblox_Authentication_Api_Models_LoginMethodModel = z.object({
282
- method: z.enum(["EmailOtp", "Passkey", "Password"]),
252
+ method: z.enum(['EmailOtp', 'Passkey', 'Password']),
283
253
  priority: z.number().int(),
284
254
  });
285
- const Roblox_Authentication_Api_Models_Response_InitializeLoginResponse =
286
- z.object({
287
- loginMethods: z.array(Roblox_Authentication_Api_Models_LoginMethodModel),
288
- });
289
- const Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel =
290
- z.object({
291
- clientPublicKey: z.string(),
292
- clientEpochTimestamp: z.number().int(),
293
- saiSignature: z.string(),
294
- serverNonce: z.string(),
295
- });
255
+ const Roblox_Authentication_Api_Models_Response_InitializeLoginResponse = z.object({
256
+ loginMethods: z.array(Roblox_Authentication_Api_Models_LoginMethodModel),
257
+ });
258
+ const Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel = z.object({
259
+ clientPublicKey: z.string(),
260
+ clientEpochTimestamp: z.number().int(),
261
+ saiSignature: z.string(),
262
+ serverNonce: z.string(),
263
+ });
296
264
  const Roblox_Authentication_Api_Models_AccountLinkParameters = z.object({
297
265
  LinkingPlatform: z.enum([
298
- "Invalid",
299
- "Xbox",
300
- "Qq",
301
- "WeChat",
302
- "Facebook",
303
- "RobloxDeveloper",
304
- "RobloxGroupCreator",
305
- "Playstation",
306
- "ExternalProvider",
307
- "Example",
266
+ 'Invalid',
267
+ 'Xbox',
268
+ 'Qq',
269
+ 'WeChat',
270
+ 'Facebook',
271
+ 'RobloxDeveloper',
272
+ 'RobloxGroupCreator',
273
+ 'Playstation',
274
+ 'ExternalProvider',
275
+ 'Example',
308
276
  ]),
309
277
  });
310
278
  const Roblox_Authentication_Api_Models_LoginRequest = z.object({
311
279
  ctype: z.enum([
312
- "Email",
313
- "Username",
314
- "PhoneNumber",
315
- "EmailOtpSessionToken",
316
- "AuthToken",
317
- "Passkey",
318
- "AsUser",
319
- "TwoStepVerification",
320
- "XboxLive",
321
- "PlatformLive",
280
+ 'Email',
281
+ 'Username',
282
+ 'PhoneNumber',
283
+ 'EmailOtpSessionToken',
284
+ 'AuthToken',
285
+ 'Passkey',
286
+ 'AsUser',
287
+ 'TwoStepVerification',
288
+ 'XboxLive',
289
+ 'PlatformLive',
322
290
  ]),
323
291
  cvalue: z.string(),
324
292
  password: z.string(),
325
293
  userId: z.number().int(),
326
294
  securityQuestionSessionId: z.string(),
327
295
  securityQuestionRedemptionToken: z.string(),
328
- secureAuthenticationIntent:
329
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
296
+ secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
330
297
  accountBlob: z.string(),
331
298
  accountLinkParameters: Roblox_Authentication_Api_Models_AccountLinkParameters,
332
299
  captchaId: z.string(),
@@ -334,76 +301,77 @@ const Roblox_Authentication_Api_Models_LoginRequest = z.object({
334
301
  captchaProvider: z.string(),
335
302
  challengeId: z.string(),
336
303
  });
337
- const Roblox_Authentication_Api_Models_Request_LogoutFromAllSessionsAndReauthenticateRequest =
338
- z.object({
339
- SecureAuthenticationIntent:
340
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
341
- });
342
- const Roblox_Authentication_Api_Models_Request_DeletePasskeysRequest = z.object(
343
- { credentialNicknames: z.array(z.string()) }
344
- );
345
- const Roblox_Authentication_Api_Models_Request_FinishARPreAuthPasskeyRegistrationRequest =
346
- z.object({
347
- recoverySession: z.string(),
348
- passkeySessionId: z.string(),
349
- passkeyRegistrationResponse: z.string(),
350
- userId: z.number().int(),
351
- isPostRecovery: z.boolean(),
352
- source: z.string(),
353
- });
354
- const Roblox_Authentication_Api_Models_Request_FinishPasskeyPreauthRegistrationRequest =
355
- z.object({
356
- sessionId: z.string(),
357
- registrationResponse: z.string(),
358
- source: z.string(),
359
- });
360
- const Roblox_Authentication_Api_Models_Request_FinishPasskeyRegistrationRequest =
361
- z.object({
362
- sessionId: z.string(),
363
- credentialNickname: z.string(),
364
- attestationResponse: z.string(),
365
- source: z.string(),
366
- });
304
+ const Roblox_Authentication_Api_Models_Request_LogoutFromAllSessionsAndReauthenticateRequest = z.object({
305
+ SecureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
306
+ });
307
+ const Roblox_Authentication_Api_Models_Request_DeletePasskeysRequest = z.object({
308
+ credentialNicknames: z.array(z.string()),
309
+ });
310
+ const Roblox_Authentication_Api_Models_Request_FinishARPreAuthPasskeyRegistrationRequest = z.object({
311
+ recoverySession: z.string(),
312
+ passkeySessionId: z.string(),
313
+ passkeyRegistrationResponse: z.string(),
314
+ userId: z.number().int(),
315
+ isPostRecovery: z.boolean(),
316
+ source: z.string(),
317
+ });
318
+ const Roblox_Authentication_Api_Models_Request_FinishPasskeyPreauthRegistrationRequest = z.object({
319
+ sessionId: z.string(),
320
+ registrationResponse: z.string(),
321
+ source: z.string(),
322
+ });
323
+ const Roblox_Authentication_Api_Models_Request_FinishPasskeyRegistrationRequest = z.object({
324
+ sessionId: z.string(),
325
+ credentialNickname: z.string(),
326
+ attestationResponse: z.string(),
327
+ source: z.string(),
328
+ });
367
329
  const Roblox_Authentication_Api_Models_Request_ListPasskeysRequest = z.object({
368
330
  all: z.boolean(),
369
331
  });
370
332
  const Roblox_Authentication_Api_Models_Response_PasskeyCredential = z.object({
371
333
  nickname: z.string(),
372
334
  });
373
- const Roblox_Authentication_Api_Models_Response_ListPasskeyCredentialResponse =
374
- z.object({
375
- credentials: z.array(
376
- Roblox_Authentication_Api_Models_Response_PasskeyCredential
377
- ),
378
- });
379
- const Roblox_Authentication_Api_Models_Request_StartAuthenticationByUserRequest =
380
- z.object({
381
- ctype: z.union([
382
- z.literal(0),
383
- z.literal(1),
384
- z.literal(2),
385
- z.literal(3),
386
- z.literal(4),
387
- z.literal(5),
388
- z.literal(6),
389
- z.literal(7),
390
- z.literal(8),
391
- z.literal(9),
392
- ]),
393
- cvalue: z.string().min(1),
394
- });
395
- const Roblox_Authentication_Api_Models_Response_StartAuthenticationByUserResponse =
396
- z.object({ authenticationOptions: z.string(), sessionId: z.string() });
397
- const Roblox_Authentication_Api_Models_Request_StartPasskeyPreauthRegistrationRequest =
398
- z.object({ username: z.string() });
399
- const Roblox_Authentication_Api_Models_Response_StartPasskeyPreauthRegistrationResponse =
400
- z.object({ creationOptions: z.string(), sessionId: z.string() });
401
- const Roblox_Authentication_Api_Models_Response_StartAuthenticationResponse =
402
- z.object({ authenticationOptions: z.string(), sessionId: z.string() });
403
- const Roblox_Authentication_Api_Models_Request_StartPasskeyRegistrationRequest =
404
- z.object({ isSilentUpgrade: z.boolean() });
405
- const Roblox_Authentication_Api_Models_Response_StartPasskeyRegistrationResponse =
406
- z.object({ creationOptions: z.string(), sessionId: z.string() });
335
+ const Roblox_Authentication_Api_Models_Response_ListPasskeyCredentialResponse = z.object({
336
+ credentials: z.array(Roblox_Authentication_Api_Models_Response_PasskeyCredential),
337
+ });
338
+ const Roblox_Authentication_Api_Models_Request_StartAuthenticationByUserRequest = z.object({
339
+ ctype: z.union([
340
+ z.literal(0),
341
+ z.literal(1),
342
+ z.literal(2),
343
+ z.literal(3),
344
+ z.literal(4),
345
+ z.literal(5),
346
+ z.literal(6),
347
+ z.literal(7),
348
+ z.literal(8),
349
+ z.literal(9),
350
+ ]),
351
+ cvalue: z.string().min(1),
352
+ });
353
+ const Roblox_Authentication_Api_Models_Response_StartAuthenticationByUserResponse = z.object({
354
+ authenticationOptions: z.string(),
355
+ sessionId: z.string(),
356
+ });
357
+ const Roblox_Authentication_Api_Models_Request_StartPasskeyPreauthRegistrationRequest = z.object({
358
+ username: z.string(),
359
+ });
360
+ const Roblox_Authentication_Api_Models_Response_StartPasskeyPreauthRegistrationResponse = z.object({
361
+ creationOptions: z.string(),
362
+ sessionId: z.string(),
363
+ });
364
+ const Roblox_Authentication_Api_Models_Response_StartAuthenticationResponse = z.object({
365
+ authenticationOptions: z.string(),
366
+ sessionId: z.string(),
367
+ });
368
+ const Roblox_Authentication_Api_Models_Request_StartPasskeyRegistrationRequest = z.object({
369
+ isSilentUpgrade: z.boolean(),
370
+ });
371
+ const Roblox_Authentication_Api_Models_Response_StartPasskeyRegistrationResponse = z.object({
372
+ creationOptions: z.string(),
373
+ sessionId: z.string(),
374
+ });
407
375
  const Roblox_Authentication_Api_Models_ReferralDataModel = z.object({
408
376
  acquisitionTime: z.string().datetime({ offset: true }),
409
377
  acquisitionReferrer: z.string(),
@@ -419,7 +387,7 @@ const Roblox_Authentication_Api_Models_ReferralDataModel = z.object({
419
387
  });
420
388
  const Roblox_Authentication_Api_Models_Request_OtpSessionModel = z.object({
421
389
  otpSessionToken: z.string(),
422
- otpContactType: z.enum(["Unset", "Email"]),
390
+ otpContactType: z.enum(['Unset', 'Email']),
423
391
  });
424
392
  const Roblox_Authentication_Api_Models_Request_AuditContentValue = z.object({
425
393
  translationKey: z.string(),
@@ -434,7 +402,7 @@ const Roblox_Authentication_Api_Models_Request_AuditSystemContent = z.object({
434
402
  const Roblox_Authentication_Api_Models_SignupRequest = z.object({
435
403
  username: z.string(),
436
404
  password: z.string(),
437
- gender: z.enum(["Unknown", "Male", "Female"]),
405
+ gender: z.enum(['Unknown', 'Male', 'Female']),
438
406
  birthday: z.string().datetime({ offset: true }),
439
407
  displayName: z.string(),
440
408
  isTosAgreementBoxChecked: z.boolean(),
@@ -450,16 +418,14 @@ const Roblox_Authentication_Api_Models_SignupRequest = z.object({
450
418
  referralData: Roblox_Authentication_Api_Models_ReferralDataModel,
451
419
  agreementIds: z.array(z.string()),
452
420
  identityVerificationResultToken: z.string(),
453
- secureAuthenticationIntent:
454
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
421
+ secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
455
422
  otpSession: Roblox_Authentication_Api_Models_Request_OtpSessionModel,
456
423
  dataToken: z.string(),
457
424
  accountBlob: z.string(),
458
425
  passkeySessionId: z.string(),
459
426
  passkeyRegistrationResponse: z.string(),
460
427
  accountLinkParameters: Roblox_Authentication_Api_Models_AccountLinkParameters,
461
- auditSystemContent:
462
- Roblox_Authentication_Api_Models_Request_AuditSystemContent,
428
+ auditSystemContent: Roblox_Authentication_Api_Models_Request_AuditSystemContent,
463
429
  captchaId: z.string(),
464
430
  captchaToken: z.string(),
465
431
  captchaProvider: z.string(),
@@ -471,20 +437,18 @@ const Roblox_Authentication_Api_Models_SignupResponse = z.object({
471
437
  returnUrl: z.string(),
472
438
  accountBlob: z.string(),
473
439
  });
474
- const Roblox_Authentication_Api_Models_SocialAuthenticationDisconnectRequest =
475
- z.object({ Password: z.string() });
440
+ const Roblox_Authentication_Api_Models_SocialAuthenticationDisconnectRequest = z.object({ Password: z.string() });
476
441
  const Roblox_Authentication_Api_Models_PasswordChangeModel = z.object({
477
442
  currentPassword: z.string(),
478
443
  newPassword: z.string(),
479
- secureAuthenticationIntent:
480
- Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
444
+ secureAuthenticationIntent: Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel,
481
445
  });
482
446
  const Roblox_Authentication_Api_Models_UsernameChangeRequest = z.object({
483
447
  username: z.string(),
484
448
  password: z.string(),
485
449
  });
486
450
  const Roblox_Authentication_Api_Models_RecoverUsernameRequest = z.object({
487
- targetType: z.enum(["Email", "PhoneNumber", "RecoverySessionID"]),
451
+ targetType: z.enum(['Email', 'PhoneNumber', 'RecoverySessionID']),
488
452
  target: z.string(),
489
453
  });
490
454
  const Roblox_Authentication_Api_Models_RecoverUsernameResponse = z.object({
@@ -498,19 +462,19 @@ const Roblox_Authentication_Api_Models_XboxUserModel = z.object({
498
462
  UserId: z.number().int(),
499
463
  Username: z.string(),
500
464
  });
501
- const Roblox_Authentication_Api_Models_XboxCollectionsOfUserResponse = z.object(
502
- { Users: z.array(Roblox_Authentication_Api_Models_XboxUserModel) }
503
- );
465
+ const Roblox_Authentication_Api_Models_XboxCollectionsOfUserResponse = z.object({
466
+ Users: z.array(Roblox_Authentication_Api_Models_XboxUserModel),
467
+ });
504
468
 
505
469
  /**
506
470
  * @api GET https://auth.roblox.com/v1/account-creation/metadata
507
471
  * @summary Get metadata for adding auth methods.
508
472
  */
509
473
  export const getAccountCreationMetadata = endpoint({
510
- method: "GET",
511
- path: "/v1/account-creation/metadata",
512
- baseUrl: "https://auth.roblox.com",
513
- requestFormat: "json",
474
+ method: 'GET',
475
+ path: '/v1/account-creation/metadata',
476
+ baseUrl: 'https://auth.roblox.com',
477
+ requestFormat: 'json',
514
478
  response: z.object({ isEligibleForALSignup: z.boolean() }),
515
479
  errors: [],
516
480
  });
@@ -519,10 +483,10 @@ export const getAccountCreationMetadata = endpoint({
519
483
  * @summary Gets the account pin status.
520
484
  */
521
485
  export const getAccountPin = endpoint({
522
- method: "GET",
523
- path: "/v1/account/pin",
524
- baseUrl: "https://auth.roblox.com",
525
- requestFormat: "json",
486
+ method: 'GET',
487
+ path: '/v1/account/pin',
488
+ baseUrl: 'https://auth.roblox.com',
489
+ requestFormat: 'json',
526
490
  response: Roblox_Authentication_Api_Models_AccountPinStatusResponse,
527
491
  errors: [
528
492
  {
@@ -537,10 +501,10 @@ export const getAccountPin = endpoint({
537
501
  * @param body The Roblox.Authentication.Api.Models.AccountPinRequest.
538
502
  */
539
503
  export const postAccountPin = endpoint({
540
- method: "POST",
541
- path: "/v1/account/pin",
542
- baseUrl: "https://auth.roblox.com",
543
- requestFormat: "json",
504
+ method: 'POST',
505
+ path: '/v1/account/pin',
506
+ baseUrl: 'https://auth.roblox.com',
507
+ requestFormat: 'json',
544
508
  serializationMethod: {
545
509
  body: {},
546
510
  },
@@ -564,10 +528,10 @@ export const postAccountPin = endpoint({
564
528
  * @param body
565
529
  */
566
530
  export const deleteAccountPin = endpoint({
567
- method: "DELETE",
568
- path: "/v1/account/pin",
569
- baseUrl: "https://auth.roblox.com",
570
- requestFormat: "json",
531
+ method: 'DELETE',
532
+ path: '/v1/account/pin',
533
+ baseUrl: 'https://auth.roblox.com',
534
+ requestFormat: 'json',
571
535
  serializationMethod: {
572
536
  body: {},
573
537
  },
@@ -591,10 +555,10 @@ export const deleteAccountPin = endpoint({
591
555
  * @param body The request body.
592
556
  */
593
557
  export const patchAccountPin = endpoint({
594
- method: "PATCH",
595
- path: "/v1/account/pin",
596
- baseUrl: "https://auth.roblox.com",
597
- requestFormat: "json",
558
+ method: 'PATCH',
559
+ path: '/v1/account/pin',
560
+ baseUrl: 'https://auth.roblox.com',
561
+ requestFormat: 'json',
598
562
  serializationMethod: {
599
563
  body: {},
600
564
  },
@@ -617,10 +581,10 @@ export const patchAccountPin = endpoint({
617
581
  * @summary Request to locks the account which has an account pin enabled.
618
582
  */
619
583
  export const postAccountPinLock = endpoint({
620
- method: "POST",
621
- path: "/v1/account/pin/lock",
622
- baseUrl: "https://auth.roblox.com",
623
- requestFormat: "json",
584
+ method: 'POST',
585
+ path: '/v1/account/pin/lock',
586
+ baseUrl: 'https://auth.roblox.com',
587
+ requestFormat: 'json',
624
588
  response: z.object({ success: z.boolean() }),
625
589
  errors: [
626
590
  {
@@ -639,10 +603,10 @@ export const postAccountPinLock = endpoint({
639
603
  * @param body The Roblox.Authentication.Api.Models.AccountPinRequest containing the entered pin.
640
604
  */
641
605
  export const postAccountPinUnlock = endpoint({
642
- method: "POST",
643
- path: "/v1/account/pin/unlock",
644
- baseUrl: "https://auth.roblox.com",
645
- requestFormat: "json",
606
+ method: 'POST',
607
+ path: '/v1/account/pin/unlock',
608
+ baseUrl: 'https://auth.roblox.com',
609
+ requestFormat: 'json',
646
610
  serializationMethod: {
647
611
  body: {},
648
612
  },
@@ -665,10 +629,10 @@ export const postAccountPinUnlock = endpoint({
665
629
  * @summary Gets Auth meta data
666
630
  */
667
631
  export const getAuthMetadata = endpoint({
668
- method: "GET",
669
- path: "/v1/auth/metadata",
670
- baseUrl: "https://auth.roblox.com",
671
- requestFormat: "json",
632
+ method: 'GET',
633
+ path: '/v1/auth/metadata',
634
+ baseUrl: 'https://auth.roblox.com',
635
+ requestFormat: 'json',
672
636
  response: z.object({ cookieLawNoticeTimeout: z.number().int() }),
673
637
  errors: [],
674
638
  });
@@ -677,10 +641,10 @@ export const getAuthMetadata = endpoint({
677
641
  * @summary Creates a client assertion to be used when generating an auth ticket.
678
642
  */
679
643
  export const getClientAssertion = endpoint({
680
- method: "GET",
681
- path: "/v1/client-assertion",
682
- baseUrl: "https://auth.roblox.com",
683
- requestFormat: "json",
644
+ method: 'GET',
645
+ path: '/v1/client-assertion',
646
+ baseUrl: 'https://auth.roblox.com',
647
+ requestFormat: 'json',
684
648
  response: z.object({ clientAssertion: z.string() }),
685
649
  errors: [
686
650
  {
@@ -697,20 +661,20 @@ export const getClientAssertion = endpoint({
697
661
  * @param state
698
662
  */
699
663
  export const getExternalIdentityprovideridSsoOauthCallback = endpoint({
700
- method: "GET",
701
- path: "/v1/external/:identityProviderId/sso/oauth/callback",
702
- baseUrl: "https://auth.roblox.com",
703
- requestFormat: "json",
664
+ method: 'GET',
665
+ path: '/v1/external/:identityProviderId/sso/oauth/callback',
666
+ baseUrl: 'https://auth.roblox.com',
667
+ requestFormat: 'json',
704
668
  serializationMethod: {
705
669
  identityProviderId: {
706
- style: "simple",
670
+ style: 'simple',
707
671
  },
708
672
  code: {
709
- style: "form",
673
+ style: 'form',
710
674
  explode: true,
711
675
  },
712
676
  state: {
713
- style: "form",
677
+ style: 'form',
714
678
  explode: true,
715
679
  },
716
680
  },
@@ -733,13 +697,13 @@ export const getExternalIdentityprovideridSsoOauthCallback = endpoint({
733
697
  * @param identityProviderId
734
698
  */
735
699
  export const getExternalIdentityprovideridSsoOauthInit = endpoint({
736
- method: "GET",
737
- path: "/v1/external/:identityProviderId/sso/oauth/init",
738
- baseUrl: "https://auth.roblox.com",
739
- requestFormat: "json",
700
+ method: 'GET',
701
+ path: '/v1/external/:identityProviderId/sso/oauth/init',
702
+ baseUrl: 'https://auth.roblox.com',
703
+ requestFormat: 'json',
740
704
  serializationMethod: {
741
705
  identityProviderId: {
742
- style: "simple",
706
+ style: 'simple',
743
707
  },
744
708
  },
745
709
  parameters: {
@@ -759,17 +723,16 @@ export const getExternalIdentityprovideridSsoOauthInit = endpoint({
759
723
  * @param body
760
724
  */
761
725
  export const postExternalAccess = endpoint({
762
- method: "POST",
763
- path: "/v1/external/access",
764
- baseUrl: "https://auth.roblox.com",
765
- requestFormat: "json",
726
+ method: 'POST',
727
+ path: '/v1/external/access',
728
+ baseUrl: 'https://auth.roblox.com',
729
+ requestFormat: 'json',
766
730
  serializationMethod: {
767
731
  body: {},
768
732
  },
769
733
  parameters: {},
770
734
  body: Roblox_Authentication_Api_Models_Request_ExternalAccessRequest,
771
- response:
772
- Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalIdentityAccessResponse,
735
+ response: Roblox_Authentication_Api_Models_Response_ExternalIdentityGateway_ExternalIdentityAccessResponse,
773
736
  errors: [],
774
737
  });
775
738
  /**
@@ -778,10 +741,10 @@ export const postExternalAccess = endpoint({
778
741
  * @param body
779
742
  */
780
743
  export const postExternalLogin = endpoint({
781
- method: "POST",
782
- path: "/v1/external/login",
783
- baseUrl: "https://auth.roblox.com",
784
- requestFormat: "json",
744
+ method: 'POST',
745
+ path: '/v1/external/login',
746
+ baseUrl: 'https://auth.roblox.com',
747
+ requestFormat: 'json',
785
748
  serializationMethod: {
786
749
  body: {},
787
750
  },
@@ -818,10 +781,10 @@ Logins in a user to Roblox, then links the Roblox account to the external provid
818
781
  * @param body
819
782
  */
820
783
  export const postExternalLoginandlink = endpoint({
821
- method: "POST",
822
- path: "/v1/external/loginAndLink",
823
- baseUrl: "https://auth.roblox.com",
824
- requestFormat: "json",
784
+ method: 'POST',
785
+ path: '/v1/external/loginAndLink',
786
+ baseUrl: 'https://auth.roblox.com',
787
+ requestFormat: 'json',
825
788
  serializationMethod: {
826
789
  body: {},
827
790
  },
@@ -841,10 +804,10 @@ export const postExternalLoginandlink = endpoint({
841
804
  * @param body
842
805
  */
843
806
  export const postExternalSignup = endpoint({
844
- method: "POST",
845
- path: "/v1/external/signup",
846
- baseUrl: "https://auth.roblox.com",
847
- requestFormat: "json",
807
+ method: 'POST',
808
+ path: '/v1/external/signup',
809
+ baseUrl: 'https://auth.roblox.com',
810
+ requestFormat: 'json',
848
811
  serializationMethod: {
849
812
  body: {},
850
813
  },
@@ -864,10 +827,10 @@ export const postExternalSignup = endpoint({
864
827
  * @param body
865
828
  */
866
829
  export const postExternalUnlink = endpoint({
867
- method: "POST",
868
- path: "/v1/external/unlink",
869
- baseUrl: "https://auth.roblox.com",
870
- requestFormat: "json",
830
+ method: 'POST',
831
+ path: '/v1/external/unlink',
832
+ baseUrl: 'https://auth.roblox.com',
833
+ requestFormat: 'json',
871
834
  serializationMethod: {
872
835
  body: {},
873
836
  },
@@ -887,10 +850,10 @@ export const postExternalUnlink = endpoint({
887
850
  * @param body
888
851
  */
889
852
  export const postIdentityVerificationLogin = endpoint({
890
- method: "POST",
891
- path: "/v1/identity-verification/login",
892
- baseUrl: "https://auth.roblox.com",
893
- requestFormat: "json",
853
+ method: 'POST',
854
+ path: '/v1/identity-verification/login',
855
+ baseUrl: 'https://auth.roblox.com',
856
+ requestFormat: 'json',
894
857
  serializationMethod: {
895
858
  body: {},
896
859
  },
@@ -914,10 +877,10 @@ export const postIdentityVerificationLogin = endpoint({
914
877
  * @param body
915
878
  */
916
879
  export const postIdentityInitializeLogin = endpoint({
917
- method: "POST",
918
- path: "/v1/identity/initialize-login",
919
- baseUrl: "https://auth.roblox.com",
920
- requestFormat: "json",
880
+ method: 'POST',
881
+ path: '/v1/identity/initialize-login',
882
+ baseUrl: 'https://auth.roblox.com',
883
+ requestFormat: 'json',
921
884
  serializationMethod: {
922
885
  body: {},
923
886
  },
@@ -951,10 +914,10 @@ export const postIdentityInitializeLogin = endpoint({
951
914
  * @param body Roblox.Authentication.Api.Models.LoginRequest.
952
915
  */
953
916
  export const postLogin = endpoint({
954
- method: "POST",
955
- path: "/v1/login",
956
- baseUrl: "https://auth.roblox.com",
957
- requestFormat: "json",
917
+ method: 'POST',
918
+ path: '/v1/login',
919
+ baseUrl: 'https://auth.roblox.com',
920
+ requestFormat: 'json',
958
921
  serializationMethod: {
959
922
  body: {},
960
923
  },
@@ -1000,10 +963,10 @@ authentication on PCGDK
1000
963
  * @param body Roblox.Authentication.Api.Models.LoginRequest
1001
964
  */
1002
965
  export const postLoginLinked = endpoint({
1003
- method: "POST",
1004
- path: "/v1/login/linked",
1005
- baseUrl: "https://auth.roblox.com",
1006
- requestFormat: "json",
966
+ method: 'POST',
967
+ path: '/v1/login/linked',
968
+ baseUrl: 'https://auth.roblox.com',
969
+ requestFormat: 'json',
1007
970
  serializationMethod: {
1008
971
  body: {},
1009
972
  },
@@ -1047,10 +1010,10 @@ export const postLoginLinked = endpoint({
1047
1010
  * @summary Destroys the current authentication session.
1048
1011
  */
1049
1012
  export const postLogout = endpoint({
1050
- method: "POST",
1051
- path: "/v1/logout",
1052
- baseUrl: "https://auth.roblox.com",
1053
- requestFormat: "json",
1013
+ method: 'POST',
1014
+ path: '/v1/logout',
1015
+ baseUrl: 'https://auth.roblox.com',
1016
+ requestFormat: 'json',
1054
1017
  response: z.object({}),
1055
1018
  errors: [
1056
1019
  {
@@ -1069,10 +1032,10 @@ export const postLogout = endpoint({
1069
1032
  * @param body
1070
1033
  */
1071
1034
  export const postLogoutfromallsessionsandreauthenticate = endpoint({
1072
- method: "POST",
1073
- path: "/v1/logoutfromallsessionsandreauthenticate",
1074
- baseUrl: "https://auth.roblox.com",
1075
- requestFormat: "json",
1035
+ method: 'POST',
1036
+ path: '/v1/logoutfromallsessionsandreauthenticate',
1037
+ baseUrl: 'https://auth.roblox.com',
1038
+ requestFormat: 'json',
1076
1039
  serializationMethod: {
1077
1040
  body: {},
1078
1041
  },
@@ -1095,10 +1058,10 @@ export const postLogoutfromallsessionsandreauthenticate = endpoint({
1095
1058
  * @summary Get the metadata
1096
1059
  */
1097
1060
  export const getMetadata = endpoint({
1098
- method: "GET",
1099
- path: "/v1/metadata",
1100
- baseUrl: "https://auth.roblox.com",
1101
- requestFormat: "json",
1061
+ method: 'GET',
1062
+ path: '/v1/metadata',
1063
+ baseUrl: 'https://auth.roblox.com',
1064
+ requestFormat: 'json',
1102
1065
  response: Roblox_Authentication_Api_Models_MetadataResponse,
1103
1066
  errors: [],
1104
1067
  });
@@ -1108,10 +1071,10 @@ export const getMetadata = endpoint({
1108
1071
  * @param body The request body!:DisableTwoStepVerificationRequest.
1109
1072
  */
1110
1073
  export const postPasskeyDeletecredentialbatch = endpoint({
1111
- method: "POST",
1112
- path: "/v1/passkey/DeleteCredentialBatch",
1113
- baseUrl: "https://auth.roblox.com",
1114
- requestFormat: "json",
1074
+ method: 'POST',
1075
+ path: '/v1/passkey/DeleteCredentialBatch',
1076
+ baseUrl: 'https://auth.roblox.com',
1077
+ requestFormat: 'json',
1115
1078
  serializationMethod: {
1116
1079
  body: {},
1117
1080
  },
@@ -1141,10 +1104,10 @@ deactivating the user's password, and completing passkey registration.
1141
1104
  * @param body The request body containing recovery session and passkey details.
1142
1105
  */
1143
1106
  export const postPasskeyFinishArPreauthRegistration = endpoint({
1144
- method: "POST",
1145
- path: "/v1/passkey/finish-ar-preauth-registration",
1146
- baseUrl: "https://auth.roblox.com",
1147
- requestFormat: "json",
1107
+ method: 'POST',
1108
+ path: '/v1/passkey/finish-ar-preauth-registration',
1109
+ baseUrl: 'https://auth.roblox.com',
1110
+ requestFormat: 'json',
1148
1111
  serializationMethod: {
1149
1112
  body: {},
1150
1113
  },
@@ -1180,10 +1143,10 @@ export const postPasskeyFinishArPreauthRegistration = endpoint({
1180
1143
  * @param body
1181
1144
  */
1182
1145
  export const postPasskeyFinishPreauthRegistration = endpoint({
1183
- method: "POST",
1184
- path: "/v1/passkey/finish-preauth-registration",
1185
- baseUrl: "https://auth.roblox.com",
1186
- requestFormat: "json",
1146
+ method: 'POST',
1147
+ path: '/v1/passkey/finish-preauth-registration',
1148
+ baseUrl: 'https://auth.roblox.com',
1149
+ requestFormat: 'json',
1187
1150
  serializationMethod: {
1188
1151
  body: {},
1189
1152
  },
@@ -1221,10 +1184,10 @@ export const postPasskeyFinishPreauthRegistration = endpoint({
1221
1184
  * @param body The request body.Roblox.Authentication.Api.Models.Request.FinishPasskeyRegistrationRequest.
1222
1185
  */
1223
1186
  export const postPasskeyFinishregistration = endpoint({
1224
- method: "POST",
1225
- path: "/v1/passkey/FinishRegistration",
1226
- baseUrl: "https://auth.roblox.com",
1227
- requestFormat: "json",
1187
+ method: 'POST',
1188
+ path: '/v1/passkey/FinishRegistration',
1189
+ baseUrl: 'https://auth.roblox.com',
1190
+ requestFormat: 'json',
1228
1191
  serializationMethod: {
1229
1192
  body: {},
1230
1193
  },
@@ -1259,17 +1222,16 @@ export const postPasskeyFinishregistration = endpoint({
1259
1222
  * @param body
1260
1223
  */
1261
1224
  export const postPasskeyListcredentials = endpoint({
1262
- method: "POST",
1263
- path: "/v1/passkey/ListCredentials",
1264
- baseUrl: "https://auth.roblox.com",
1265
- requestFormat: "json",
1225
+ method: 'POST',
1226
+ path: '/v1/passkey/ListCredentials',
1227
+ baseUrl: 'https://auth.roblox.com',
1228
+ requestFormat: 'json',
1266
1229
  serializationMethod: {
1267
1230
  body: {},
1268
1231
  },
1269
1232
  parameters: {},
1270
1233
  body: z.object({ all: z.boolean() }),
1271
- response:
1272
- Roblox_Authentication_Api_Models_Response_ListPasskeyCredentialResponse,
1234
+ response: Roblox_Authentication_Api_Models_Response_ListPasskeyCredentialResponse,
1273
1235
  errors: [
1274
1236
  {
1275
1237
  status: 401,
@@ -1292,17 +1254,16 @@ export const postPasskeyListcredentials = endpoint({
1292
1254
  * @param body
1293
1255
  */
1294
1256
  export const postPasskeyStartAuthenticationByUser = endpoint({
1295
- method: "POST",
1296
- path: "/v1/passkey/start-authentication-by-user",
1297
- baseUrl: "https://auth.roblox.com",
1298
- requestFormat: "json",
1257
+ method: 'POST',
1258
+ path: '/v1/passkey/start-authentication-by-user',
1259
+ baseUrl: 'https://auth.roblox.com',
1260
+ requestFormat: 'json',
1299
1261
  serializationMethod: {
1300
1262
  body: {},
1301
1263
  },
1302
1264
  parameters: {},
1303
1265
  body: Roblox_Authentication_Api_Models_Request_StartAuthenticationByUserRequest,
1304
- response:
1305
- Roblox_Authentication_Api_Models_Response_StartAuthenticationByUserResponse,
1266
+ response: Roblox_Authentication_Api_Models_Response_StartAuthenticationByUserResponse,
1306
1267
  errors: [
1307
1268
  {
1308
1269
  status: 400,
@@ -1326,17 +1287,16 @@ export const postPasskeyStartAuthenticationByUser = endpoint({
1326
1287
  * @param body
1327
1288
  */
1328
1289
  export const postPasskeyStartPreauthRegistration = endpoint({
1329
- method: "POST",
1330
- path: "/v1/passkey/start-preauth-registration",
1331
- baseUrl: "https://auth.roblox.com",
1332
- requestFormat: "json",
1290
+ method: 'POST',
1291
+ path: '/v1/passkey/start-preauth-registration',
1292
+ baseUrl: 'https://auth.roblox.com',
1293
+ requestFormat: 'json',
1333
1294
  serializationMethod: {
1334
1295
  body: {},
1335
1296
  },
1336
1297
  parameters: {},
1337
1298
  body: z.object({ username: z.string() }),
1338
- response:
1339
- Roblox_Authentication_Api_Models_Response_StartPasskeyPreauthRegistrationResponse,
1299
+ response: Roblox_Authentication_Api_Models_Response_StartPasskeyPreauthRegistrationResponse,
1340
1300
  errors: [
1341
1301
  {
1342
1302
  status: 403,
@@ -1353,12 +1313,11 @@ export const postPasskeyStartPreauthRegistration = endpoint({
1353
1313
  * @summary Provides a challenge for the Passkey to authenticate.
1354
1314
  */
1355
1315
  export const postPasskeyStartauthentication = endpoint({
1356
- method: "POST",
1357
- path: "/v1/passkey/StartAuthentication",
1358
- baseUrl: "https://auth.roblox.com",
1359
- requestFormat: "json",
1360
- response:
1361
- Roblox_Authentication_Api_Models_Response_StartAuthenticationResponse,
1316
+ method: 'POST',
1317
+ path: '/v1/passkey/StartAuthentication',
1318
+ baseUrl: 'https://auth.roblox.com',
1319
+ requestFormat: 'json',
1320
+ response: Roblox_Authentication_Api_Models_Response_StartAuthenticationResponse,
1362
1321
  errors: [
1363
1322
  {
1364
1323
  status: 403,
@@ -1377,14 +1336,14 @@ export const postPasskeyStartauthentication = endpoint({
1377
1336
  * @param flow
1378
1337
  */
1379
1338
  export const postPasskeyStartregistration = endpoint({
1380
- method: "POST",
1381
- path: "/v1/passkey/StartRegistration",
1382
- baseUrl: "https://auth.roblox.com",
1383
- requestFormat: "json",
1339
+ method: 'POST',
1340
+ path: '/v1/passkey/StartRegistration',
1341
+ baseUrl: 'https://auth.roblox.com',
1342
+ requestFormat: 'json',
1384
1343
  serializationMethod: {
1385
1344
  body: {},
1386
1345
  flow: {
1387
- style: "form",
1346
+ style: 'form',
1388
1347
  explode: true,
1389
1348
  },
1390
1349
  },
@@ -1392,8 +1351,7 @@ export const postPasskeyStartregistration = endpoint({
1392
1351
  flow: z.string().optional(),
1393
1352
  },
1394
1353
  body: z.object({ isSilentUpgrade: z.boolean() }),
1395
- response:
1396
- Roblox_Authentication_Api_Models_Response_StartPasskeyRegistrationResponse,
1354
+ response: Roblox_Authentication_Api_Models_Response_StartPasskeyRegistrationResponse,
1397
1355
  errors: [
1398
1356
  {
1399
1357
  status: 401,
@@ -1417,10 +1375,10 @@ export const postPasskeyStartregistration = endpoint({
1417
1375
  Route and response are intentionally obfuscated ("su-eligibility" = "silent-upgrade-eligibility").
1418
1376
  */
1419
1377
  export const getPasskeySuEligibility = endpoint({
1420
- method: "GET",
1421
- path: "/v1/passkey/su-eligibility",
1422
- baseUrl: "https://auth.roblox.com",
1423
- requestFormat: "json",
1378
+ method: 'GET',
1379
+ path: '/v1/passkey/su-eligibility',
1380
+ baseUrl: 'https://auth.roblox.com',
1381
+ requestFormat: 'json',
1424
1382
  response: z.object({ suEligibility: z.boolean() }),
1425
1383
  errors: [
1426
1384
  {
@@ -1441,17 +1399,17 @@ export const getPasskeySuEligibility = endpoint({
1441
1399
  * @param Password
1442
1400
  */
1443
1401
  export const getPasswordsValidate = endpoint({
1444
- method: "GET",
1445
- path: "/v1/passwords/validate",
1446
- baseUrl: "https://auth.roblox.com",
1447
- requestFormat: "json",
1402
+ method: 'GET',
1403
+ path: '/v1/passwords/validate',
1404
+ baseUrl: 'https://auth.roblox.com',
1405
+ requestFormat: 'json',
1448
1406
  serializationMethod: {
1449
1407
  Username: {
1450
- style: "form",
1408
+ style: 'form',
1451
1409
  explode: true,
1452
1410
  },
1453
1411
  Password: {
1454
- style: "form",
1412
+ style: 'form',
1455
1413
  explode: true,
1456
1414
  },
1457
1415
  },
@@ -1473,10 +1431,10 @@ export const getPasswordsValidate = endpoint({
1473
1431
  * @param body The Roblox.Authentication.Api.Models.PasswordValidationModel.
1474
1432
  */
1475
1433
  export const postPasswordsValidate = endpoint({
1476
- method: "POST",
1477
- path: "/v1/passwords/validate",
1478
- baseUrl: "https://auth.roblox.com",
1479
- requestFormat: "json",
1434
+ method: 'POST',
1435
+ path: '/v1/passwords/validate',
1436
+ baseUrl: 'https://auth.roblox.com',
1437
+ requestFormat: 'json',
1480
1438
  serializationMethod: {
1481
1439
  body: {},
1482
1440
  },
@@ -1499,10 +1457,10 @@ export const postPasswordsValidate = endpoint({
1499
1457
  * @summary Get metadata for forgot endpoints
1500
1458
  */
1501
1459
  export const getRecoveryMetadata = endpoint({
1502
- method: "GET",
1503
- path: "/v1/recovery/metadata",
1504
- baseUrl: "https://auth.roblox.com",
1505
- requestFormat: "json",
1460
+ method: 'GET',
1461
+ path: '/v1/recovery/metadata',
1462
+ baseUrl: 'https://auth.roblox.com',
1463
+ requestFormat: 'json',
1506
1464
  response: Roblox_Authentication_Api_Models_RecoveryMetadataResponse,
1507
1465
  errors: [
1508
1466
  {
@@ -1517,13 +1475,13 @@ export const getRecoveryMetadata = endpoint({
1517
1475
  * @param ticket Ticket Guid to revert account.
1518
1476
  */
1519
1477
  export const getRevertAccount = endpoint({
1520
- method: "GET",
1521
- path: "/v1/revert/account",
1522
- baseUrl: "https://auth.roblox.com",
1523
- requestFormat: "json",
1478
+ method: 'GET',
1479
+ path: '/v1/revert/account',
1480
+ baseUrl: 'https://auth.roblox.com',
1481
+ requestFormat: 'json',
1524
1482
  serializationMethod: {
1525
1483
  ticket: {
1526
- style: "form",
1484
+ style: 'form',
1527
1485
  explode: true,
1528
1486
  },
1529
1487
  },
@@ -1552,10 +1510,10 @@ export const getRevertAccount = endpoint({
1552
1510
  * @param body The Roblox.Authentication.Api.Models.RevertAccountSubmitRequest containing the necessary information to revert account.
1553
1511
  */
1554
1512
  export const postRevertAccount = endpoint({
1555
- method: "POST",
1556
- path: "/v1/revert/account",
1557
- baseUrl: "https://auth.roblox.com",
1558
- requestFormat: "json",
1513
+ method: 'POST',
1514
+ path: '/v1/revert/account',
1515
+ baseUrl: 'https://auth.roblox.com',
1516
+ requestFormat: 'json',
1559
1517
  serializationMethod: {
1560
1518
  body: {},
1561
1519
  },
@@ -1588,10 +1546,10 @@ export const postRevertAccount = endpoint({
1588
1546
  This endpoint should be called before enrolling in EPP to ensure old revert links cannot be used.
1589
1547
  */
1590
1548
  export const postRevertInvalidateTickets = endpoint({
1591
- method: "POST",
1592
- path: "/v1/revert/invalidate-tickets",
1593
- baseUrl: "https://auth.roblox.com",
1594
- requestFormat: "json",
1549
+ method: 'POST',
1550
+ path: '/v1/revert/invalidate-tickets',
1551
+ baseUrl: 'https://auth.roblox.com',
1552
+ requestFormat: 'json',
1595
1553
  response: z.object({}),
1596
1554
  errors: [
1597
1555
  {
@@ -1613,10 +1571,10 @@ export const postRevertInvalidateTickets = endpoint({
1613
1571
  * @summary Logs out user from the current session and create a new one.
1614
1572
  */
1615
1573
  export const postSessionRefresh = endpoint({
1616
- method: "POST",
1617
- path: "/v1/session/refresh",
1618
- baseUrl: "https://auth.roblox.com",
1619
- requestFormat: "json",
1574
+ method: 'POST',
1575
+ path: '/v1/session/refresh',
1576
+ baseUrl: 'https://auth.roblox.com',
1577
+ requestFormat: 'json',
1620
1578
  response: z.object({}),
1621
1579
  errors: [
1622
1580
  {
@@ -1635,10 +1593,10 @@ export const postSessionRefresh = endpoint({
1635
1593
  * @param body Roblox.Authentication.Api.Models.SignupRequest
1636
1594
  */
1637
1595
  export const postSignup = endpoint({
1638
- method: "POST",
1639
- path: "/v1/signup",
1640
- baseUrl: "https://auth.roblox.com",
1641
- requestFormat: "json",
1596
+ method: 'POST',
1597
+ path: '/v1/signup',
1598
+ baseUrl: 'https://auth.roblox.com',
1599
+ requestFormat: 'json',
1642
1600
  serializationMethod: {
1643
1601
  body: {},
1644
1602
  },
@@ -1691,10 +1649,10 @@ authentication on PCGDK
1691
1649
  * @param body Roblox.Authentication.Api.Models.SignupRequest
1692
1650
  */
1693
1651
  export const postSignupLinked = endpoint({
1694
- method: "POST",
1695
- path: "/v1/signup/linked",
1696
- baseUrl: "https://auth.roblox.com",
1697
- requestFormat: "json",
1652
+ method: 'POST',
1653
+ path: '/v1/signup/linked',
1654
+ baseUrl: 'https://auth.roblox.com',
1655
+ requestFormat: 'json',
1698
1656
  serializationMethod: {
1699
1657
  body: {},
1700
1658
  },
@@ -1743,14 +1701,14 @@ export const postSignupLinked = endpoint({
1743
1701
  * @param provider The social authentication provider, e.g. Facebook
1744
1702
  */
1745
1703
  export const postSocialProviderDisconnect = endpoint({
1746
- method: "POST",
1747
- path: "/v1/social/:provider/disconnect",
1748
- baseUrl: "https://auth.roblox.com",
1749
- requestFormat: "json",
1704
+ method: 'POST',
1705
+ path: '/v1/social/:provider/disconnect',
1706
+ baseUrl: 'https://auth.roblox.com',
1707
+ requestFormat: 'json',
1750
1708
  serializationMethod: {
1751
1709
  body: {},
1752
1710
  provider: {
1753
- style: "simple",
1711
+ style: 'simple',
1754
1712
  },
1755
1713
  },
1756
1714
  parameters: {
@@ -1786,10 +1744,10 @@ export const postSocialProviderDisconnect = endpoint({
1786
1744
  * @summary Get social network user information if the given social auth method is connected to current user.
1787
1745
  */
1788
1746
  export const getSocialConnectedProviders = endpoint({
1789
- method: "GET",
1790
- path: "/v1/social/connected-providers",
1791
- baseUrl: "https://auth.roblox.com",
1792
- requestFormat: "json",
1747
+ method: 'GET',
1748
+ path: '/v1/social/connected-providers',
1749
+ baseUrl: 'https://auth.roblox.com',
1750
+ requestFormat: 'json',
1793
1751
  response: Roblox_Authentication_Api_Models_SocialProvidersResponse,
1794
1752
  errors: [
1795
1753
  {
@@ -1805,10 +1763,10 @@ export const getSocialConnectedProviders = endpoint({
1805
1763
  * @description The current password is needed for verification that the password can be changed.
1806
1764
  */
1807
1765
  export const postUserPasswordsChange = endpoint({
1808
- method: "POST",
1809
- path: "/v1/user/passwords/change",
1810
- baseUrl: "https://auth.roblox.com",
1811
- requestFormat: "json",
1766
+ method: 'POST',
1767
+ path: '/v1/user/passwords/change',
1768
+ baseUrl: 'https://auth.roblox.com',
1769
+ requestFormat: 'json',
1812
1770
  serializationMethod: {
1813
1771
  body: {},
1814
1772
  },
@@ -1843,10 +1801,10 @@ export const postUserPasswordsChange = endpoint({
1843
1801
  * @param body The Roblox.Authentication.Api.Models.UsernameChangeRequest
1844
1802
  */
1845
1803
  export const postUsername = endpoint({
1846
- method: "POST",
1847
- path: "/v1/username",
1848
- baseUrl: "https://auth.roblox.com",
1849
- requestFormat: "json",
1804
+ method: 'POST',
1805
+ path: '/v1/username',
1806
+ baseUrl: 'https://auth.roblox.com',
1807
+ requestFormat: 'json',
1850
1808
  serializationMethod: {
1851
1809
  body: {},
1852
1810
  },
@@ -1895,10 +1853,10 @@ export const postUsername = endpoint({
1895
1853
  * @summary Get the current price for a username change
1896
1854
  */
1897
1855
  export const getUsernameChangePrice = endpoint({
1898
- method: "GET",
1899
- path: "/v1/username/change/price",
1900
- baseUrl: "https://auth.roblox.com",
1901
- requestFormat: "json",
1856
+ method: 'GET',
1857
+ path: '/v1/username/change/price',
1858
+ baseUrl: 'https://auth.roblox.com',
1859
+ requestFormat: 'json',
1902
1860
  response: Roblox_Authentication_Api_Models_UsernameChangePriceResponse,
1903
1861
  errors: [
1904
1862
  {
@@ -1914,13 +1872,13 @@ export const getUsernameChangePrice = endpoint({
1914
1872
  * @description This endpoint can be expanded in the future to include other query parameters such as "startsWith"
1915
1873
  */
1916
1874
  export const getUsernames = endpoint({
1917
- method: "GET",
1918
- path: "/v1/usernames",
1919
- baseUrl: "https://auth.roblox.com",
1920
- requestFormat: "json",
1875
+ method: 'GET',
1876
+ path: '/v1/usernames',
1877
+ baseUrl: 'https://auth.roblox.com',
1878
+ requestFormat: 'json',
1921
1879
  serializationMethod: {
1922
1880
  username: {
1923
- style: "form",
1881
+ style: 'form',
1924
1882
  explode: true,
1925
1883
  },
1926
1884
  },
@@ -1936,10 +1894,10 @@ export const getUsernames = endpoint({
1936
1894
  * @param body
1937
1895
  */
1938
1896
  export const postUsernamesRecover = endpoint({
1939
- method: "POST",
1940
- path: "/v1/usernames/recover",
1941
- baseUrl: "https://auth.roblox.com",
1942
- requestFormat: "json",
1897
+ method: 'POST',
1898
+ path: '/v1/usernames/recover',
1899
+ baseUrl: 'https://auth.roblox.com',
1900
+ requestFormat: 'json',
1943
1901
  serializationMethod: {
1944
1902
  body: {},
1945
1903
  },
@@ -1972,21 +1930,21 @@ export const postUsernamesRecover = endpoint({
1972
1930
  * @param Context
1973
1931
  */
1974
1932
  export const getUsernamesValidate = endpoint({
1975
- method: "GET",
1976
- path: "/v1/usernames/validate",
1977
- baseUrl: "https://auth.roblox.com",
1978
- requestFormat: "json",
1933
+ method: 'GET',
1934
+ path: '/v1/usernames/validate',
1935
+ baseUrl: 'https://auth.roblox.com',
1936
+ requestFormat: 'json',
1979
1937
  serializationMethod: {
1980
1938
  Username: {
1981
- style: "form",
1939
+ style: 'form',
1982
1940
  explode: true,
1983
1941
  },
1984
1942
  Birthday: {
1985
- style: "form",
1943
+ style: 'form',
1986
1944
  explode: true,
1987
1945
  },
1988
1946
  Context: {
1989
- style: "form",
1947
+ style: 'form',
1990
1948
  explode: true,
1991
1949
  },
1992
1950
  },
@@ -2010,10 +1968,10 @@ export const getUsernamesValidate = endpoint({
2010
1968
  * @param body The Roblox.Authentication.Api.Models.UsernameValidationRequest.
2011
1969
  */
2012
1970
  export const postUsernamesValidate = endpoint({
2013
- method: "POST",
2014
- path: "/v1/usernames/validate",
2015
- baseUrl: "https://auth.roblox.com",
2016
- requestFormat: "json",
1971
+ method: 'POST',
1972
+ path: '/v1/usernames/validate',
1973
+ baseUrl: 'https://auth.roblox.com',
1974
+ requestFormat: 'json',
2017
1975
  serializationMethod: {
2018
1976
  body: {},
2019
1977
  },
@@ -2038,13 +1996,13 @@ export const postUsernamesValidate = endpoint({
2038
1996
  * @param Email
2039
1997
  */
2040
1998
  export const getValidatorsEmail = endpoint({
2041
- method: "GET",
2042
- path: "/v1/validators/email",
2043
- baseUrl: "https://auth.roblox.com",
2044
- requestFormat: "json",
1999
+ method: 'GET',
2000
+ path: '/v1/validators/email',
2001
+ baseUrl: 'https://auth.roblox.com',
2002
+ requestFormat: 'json',
2045
2003
  serializationMethod: {
2046
2004
  Email: {
2047
- style: "form",
2005
+ style: 'form',
2048
2006
  explode: true,
2049
2007
  },
2050
2008
  },
@@ -2061,17 +2019,17 @@ export const getValidatorsEmail = endpoint({
2061
2019
  * @param BirthDay
2062
2020
  */
2063
2021
  export const getValidatorsRecommendedusernamefromdisplayname = endpoint({
2064
- method: "GET",
2065
- path: "/v1/validators/recommendedUsernameFromDisplayName",
2066
- baseUrl: "https://auth.roblox.com",
2067
- requestFormat: "json",
2022
+ method: 'GET',
2023
+ path: '/v1/validators/recommendedUsernameFromDisplayName',
2024
+ baseUrl: 'https://auth.roblox.com',
2025
+ requestFormat: 'json',
2068
2026
  serializationMethod: {
2069
2027
  DisplayName: {
2070
- style: "form",
2028
+ style: 'form',
2071
2029
  explode: true,
2072
2030
  },
2073
2031
  BirthDay: {
2074
- style: "form",
2032
+ style: 'form',
2075
2033
  explode: true,
2076
2034
  },
2077
2035
  },
@@ -2090,10 +2048,10 @@ This is a POST request and explicitly does not receive the parameter values from
2090
2048
  * @param body
2091
2049
  */
2092
2050
  export const postValidatorsRecommendedusernamefromdisplayname = endpoint({
2093
- method: "POST",
2094
- path: "/v1/validators/recommendedUsernameFromDisplayName",
2095
- baseUrl: "https://auth.roblox.com",
2096
- requestFormat: "json",
2051
+ method: 'POST',
2052
+ path: '/v1/validators/recommendedUsernameFromDisplayName',
2053
+ baseUrl: 'https://auth.roblox.com',
2054
+ requestFormat: 'json',
2097
2055
  serializationMethod: {
2098
2056
  body: {},
2099
2057
  },
@@ -2114,17 +2072,17 @@ export const postValidatorsRecommendedusernamefromdisplayname = endpoint({
2114
2072
  * @param BirthDay
2115
2073
  */
2116
2074
  export const getValidatorsUsername = endpoint({
2117
- method: "GET",
2118
- path: "/v1/validators/username",
2119
- baseUrl: "https://auth.roblox.com",
2120
- requestFormat: "json",
2075
+ method: 'GET',
2076
+ path: '/v1/validators/username',
2077
+ baseUrl: 'https://auth.roblox.com',
2078
+ requestFormat: 'json',
2121
2079
  serializationMethod: {
2122
2080
  Username: {
2123
- style: "form",
2081
+ style: 'form',
2124
2082
  explode: true,
2125
2083
  },
2126
2084
  BirthDay: {
2127
- style: "form",
2085
+ style: 'form',
2128
2086
  explode: true,
2129
2087
  },
2130
2088
  },
@@ -2142,10 +2100,10 @@ This is a POST request and explicitly does not receive the parameter values from
2142
2100
  * @param body
2143
2101
  */
2144
2102
  export const postValidatorsUsername = endpoint({
2145
- method: "POST",
2146
- path: "/v1/validators/username",
2147
- baseUrl: "https://auth.roblox.com",
2148
- requestFormat: "json",
2103
+ method: 'POST',
2104
+ path: '/v1/validators/username',
2105
+ baseUrl: 'https://auth.roblox.com',
2106
+ requestFormat: 'json',
2149
2107
  serializationMethod: {
2150
2108
  body: {},
2151
2109
  },
@@ -2165,10 +2123,10 @@ export const postValidatorsUsername = endpoint({
2165
2123
  Also returns the gamertag of the Xbox account if connected.
2166
2124
  */
2167
2125
  export const getXboxConnection = endpoint({
2168
- method: "GET",
2169
- path: "/v1/xbox/connection",
2170
- baseUrl: "https://auth.roblox.com",
2171
- requestFormat: "json",
2126
+ method: 'GET',
2127
+ path: '/v1/xbox/connection',
2128
+ baseUrl: 'https://auth.roblox.com',
2129
+ requestFormat: 'json',
2172
2130
  response: Roblox_Authentication_Api_Models_XboxConnectionModel,
2173
2131
  errors: [
2174
2132
  {
@@ -2185,10 +2143,10 @@ export const getXboxConnection = endpoint({
2185
2143
  * @summary Unlink the current ROBLOX account from the Xbox live account.
2186
2144
  */
2187
2145
  export const postXboxDisconnect = endpoint({
2188
- method: "POST",
2189
- path: "/v1/xbox/disconnect",
2190
- baseUrl: "https://auth.roblox.com",
2191
- requestFormat: "json",
2146
+ method: 'POST',
2147
+ path: '/v1/xbox/disconnect',
2148
+ baseUrl: 'https://auth.roblox.com',
2149
+ requestFormat: 'json',
2192
2150
  response: z.object({ success: z.boolean() }),
2193
2151
  errors: [
2194
2152
  {
@@ -2207,10 +2165,10 @@ export const postXboxDisconnect = endpoint({
2207
2165
  * @summary Get the consecutive days the xbox user has been logged in.
2208
2166
  */
2209
2167
  export const getXboxGetLoginConsecutiveDays = endpoint({
2210
- method: "GET",
2211
- path: "/v1/xbox/get-login-consecutive-days",
2212
- baseUrl: "https://auth.roblox.com",
2213
- requestFormat: "json",
2168
+ method: 'GET',
2169
+ path: '/v1/xbox/get-login-consecutive-days',
2170
+ baseUrl: 'https://auth.roblox.com',
2171
+ requestFormat: 'json',
2214
2172
  response: z.object({ count: z.number().int() }),
2215
2173
  errors: [
2216
2174
  {
@@ -2232,10 +2190,10 @@ export const getXboxGetLoginConsecutiveDays = endpoint({
2232
2190
  * @param body
2233
2191
  */
2234
2192
  export const postXboxTranslate = endpoint({
2235
- method: "POST",
2236
- path: "/v1/xbox/translate",
2237
- baseUrl: "https://auth.roblox.com",
2238
- requestFormat: "json",
2193
+ method: 'POST',
2194
+ path: '/v1/xbox/translate',
2195
+ baseUrl: 'https://auth.roblox.com',
2196
+ requestFormat: 'json',
2239
2197
  serializationMethod: {
2240
2198
  body: {},
2241
2199
  },