rozod 1.0.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 (62) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +551 -0
  2. package/lib/endpoints/accountinformationv1.js +652 -0
  3. package/lib/endpoints/accountsettingsv1.d.ts +548 -0
  4. package/lib/endpoints/accountsettingsv1.js +712 -0
  5. package/lib/endpoints/assetdeliveryv1.d.ts +599 -0
  6. package/lib/endpoints/assetdeliveryv1.js +268 -0
  7. package/lib/endpoints/assetdeliveryv2.d.ts +780 -0
  8. package/lib/endpoints/assetdeliveryv2.js +271 -0
  9. package/lib/endpoints/authv1.d.ts +1328 -0
  10. package/lib/endpoints/authv1.js +1168 -0
  11. package/lib/endpoints/authv2.d.ts +1239 -0
  12. package/lib/endpoints/authv2.js +1057 -0
  13. package/lib/endpoints/authv3.d.ts +35 -0
  14. package/lib/endpoints/authv3.js +41 -0
  15. package/lib/endpoints/avatarv1.d.ts +1841 -0
  16. package/lib/endpoints/avatarv1.js +726 -0
  17. package/lib/endpoints/avatarv2.d.ts +1077 -0
  18. package/lib/endpoints/avatarv2.js +316 -0
  19. package/lib/endpoints/avatarv3.d.ts +656 -0
  20. package/lib/endpoints/avatarv3.js +219 -0
  21. package/lib/endpoints/badgesv1.d.ts +641 -0
  22. package/lib/endpoints/badgesv1.js +345 -0
  23. package/lib/endpoints/catalogv1.d.ts +1715 -0
  24. package/lib/endpoints/catalogv1.js +792 -0
  25. package/lib/endpoints/chatv2.d.ts +2179 -0
  26. package/lib/endpoints/chatv2.js +721 -0
  27. package/lib/endpoints/developv1.d.ts +2097 -0
  28. package/lib/endpoints/developv1.js +1537 -0
  29. package/lib/endpoints/developv2.d.ts +619 -0
  30. package/lib/endpoints/developv2.js +316 -0
  31. package/lib/endpoints/economyv1.d.ts +20 -0
  32. package/lib/endpoints/economyv1.js +28 -0
  33. package/lib/endpoints/friendsv1.d.ts +1093 -0
  34. package/lib/endpoints/friendsv1.js +818 -0
  35. package/lib/endpoints/gamesv1.d.ts +2749 -0
  36. package/lib/endpoints/gamesv1.js +1294 -0
  37. package/lib/endpoints/gamesv2.d.ts +582 -0
  38. package/lib/endpoints/gamesv2.js +258 -0
  39. package/lib/endpoints/groupsv1.d.ts +5528 -0
  40. package/lib/endpoints/groupsv1.js +2434 -0
  41. package/lib/endpoints/groupsv2.d.ts +530 -0
  42. package/lib/endpoints/groupsv2.js +201 -0
  43. package/lib/endpoints/inventoryv1.d.ts +436 -0
  44. package/lib/endpoints/inventoryv1.js +434 -0
  45. package/lib/endpoints/inventoryv2.d.ts +256 -0
  46. package/lib/endpoints/inventoryv2.js +241 -0
  47. package/lib/endpoints/presencev1.d.ts +134 -0
  48. package/lib/endpoints/presencev1.js +93 -0
  49. package/lib/endpoints/privatemessagesv1.d.ts +620 -0
  50. package/lib/endpoints/privatemessagesv1.js +338 -0
  51. package/lib/endpoints/thumbnailsv1.d.ts +897 -0
  52. package/lib/endpoints/thumbnailsv1.js +560 -0
  53. package/lib/endpoints/tradesv1.d.ts +473 -0
  54. package/lib/endpoints/tradesv1.js +403 -0
  55. package/lib/endpoints/translationsv1.d.ts +80 -0
  56. package/lib/endpoints/translationsv1.js +122 -0
  57. package/lib/endpoints/usersv1.d.ts +391 -0
  58. package/lib/endpoints/usersv1.js +344 -0
  59. package/lib/index.d.ts +85 -0
  60. package/lib/index.js +293 -0
  61. package/package.json +39 -0
  62. package/readme.md +99 -0
@@ -0,0 +1,1328 @@
1
+ import { z } from 'zod';
2
+ export declare const deleteV1accountpin: {
3
+ method: "delete";
4
+ path: string;
5
+ baseUrl: string;
6
+ requestFormat: "json";
7
+ parameters: {
8
+ body: z.ZodObject<{
9
+ pin: z.ZodOptional<z.ZodString>;
10
+ reauthenticationToken: z.ZodOptional<z.ZodString>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ pin?: string | undefined;
13
+ reauthenticationToken?: string | undefined;
14
+ }, {
15
+ pin?: string | undefined;
16
+ reauthenticationToken?: string | undefined;
17
+ }>;
18
+ };
19
+ response: z.ZodObject<{
20
+ success: z.ZodOptional<z.ZodBoolean>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ success?: boolean | undefined;
23
+ }, {
24
+ success?: boolean | undefined;
25
+ }>;
26
+ errors: {
27
+ status: number;
28
+ description: string;
29
+ schema: z.ZodVoid;
30
+ }[];
31
+ };
32
+ export declare const getV1accountpin: {
33
+ method: "get";
34
+ path: string;
35
+ baseUrl: string;
36
+ requestFormat: "json";
37
+ response: z.ZodObject<{
38
+ isEnabled: z.ZodOptional<z.ZodBoolean>;
39
+ unlockedUntil: z.ZodOptional<z.ZodNumber>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ isEnabled?: boolean | undefined;
42
+ unlockedUntil?: number | undefined;
43
+ }, {
44
+ isEnabled?: boolean | undefined;
45
+ unlockedUntil?: number | undefined;
46
+ }>;
47
+ errors: {
48
+ status: number;
49
+ description: string;
50
+ schema: z.ZodVoid;
51
+ }[];
52
+ };
53
+ export declare const patchV1accountpin: {
54
+ method: "patch";
55
+ path: string;
56
+ baseUrl: string;
57
+ requestFormat: "json";
58
+ parameters: {
59
+ body: z.ZodObject<{
60
+ pin: z.ZodOptional<z.ZodString>;
61
+ reauthenticationToken: z.ZodOptional<z.ZodString>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ pin?: string | undefined;
64
+ reauthenticationToken?: string | undefined;
65
+ }, {
66
+ pin?: string | undefined;
67
+ reauthenticationToken?: string | undefined;
68
+ }>;
69
+ };
70
+ response: z.ZodObject<{
71
+ success: z.ZodOptional<z.ZodBoolean>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ success?: boolean | undefined;
74
+ }, {
75
+ success?: boolean | undefined;
76
+ }>;
77
+ errors: {
78
+ status: number;
79
+ description: string;
80
+ schema: z.ZodVoid;
81
+ }[];
82
+ };
83
+ export declare const postV1accountpin: {
84
+ method: "post";
85
+ path: string;
86
+ baseUrl: string;
87
+ requestFormat: "json";
88
+ parameters: {
89
+ body: z.ZodObject<{
90
+ pin: z.ZodOptional<z.ZodString>;
91
+ reauthenticationToken: z.ZodOptional<z.ZodString>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ pin?: string | undefined;
94
+ reauthenticationToken?: string | undefined;
95
+ }, {
96
+ pin?: string | undefined;
97
+ reauthenticationToken?: string | undefined;
98
+ }>;
99
+ };
100
+ response: z.ZodObject<{
101
+ success: z.ZodOptional<z.ZodBoolean>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ success?: boolean | undefined;
104
+ }, {
105
+ success?: boolean | undefined;
106
+ }>;
107
+ errors: {
108
+ status: number;
109
+ description: string;
110
+ schema: z.ZodVoid;
111
+ }[];
112
+ };
113
+ export declare const postV1accountpinlock: {
114
+ method: "post";
115
+ path: string;
116
+ baseUrl: string;
117
+ requestFormat: "json";
118
+ response: z.ZodObject<{
119
+ success: z.ZodOptional<z.ZodBoolean>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ success?: boolean | undefined;
122
+ }, {
123
+ success?: boolean | undefined;
124
+ }>;
125
+ errors: {
126
+ status: number;
127
+ description: string;
128
+ schema: z.ZodVoid;
129
+ }[];
130
+ };
131
+ export declare const postV1accountpinunlock: {
132
+ method: "post";
133
+ path: string;
134
+ baseUrl: string;
135
+ requestFormat: "json";
136
+ parameters: {
137
+ body: z.ZodObject<{
138
+ pin: z.ZodOptional<z.ZodString>;
139
+ reauthenticationToken: z.ZodOptional<z.ZodString>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ pin?: string | undefined;
142
+ reauthenticationToken?: string | undefined;
143
+ }, {
144
+ pin?: string | undefined;
145
+ reauthenticationToken?: string | undefined;
146
+ }>;
147
+ };
148
+ response: z.ZodObject<{
149
+ unlockedUntil: z.ZodOptional<z.ZodNumber>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ unlockedUntil?: number | undefined;
152
+ }, {
153
+ unlockedUntil?: number | undefined;
154
+ }>;
155
+ errors: {
156
+ status: number;
157
+ description: string;
158
+ schema: z.ZodVoid;
159
+ }[];
160
+ };
161
+ export declare const getV1authmetadata: {
162
+ method: "get";
163
+ path: string;
164
+ baseUrl: string;
165
+ requestFormat: "json";
166
+ response: z.ZodObject<{
167
+ cookieLawNoticeTimeout: z.ZodOptional<z.ZodNumber>;
168
+ }, "strip", z.ZodTypeAny, {
169
+ cookieLawNoticeTimeout?: number | undefined;
170
+ }, {
171
+ cookieLawNoticeTimeout?: number | undefined;
172
+ }>;
173
+ errors: never[];
174
+ };
175
+ export declare const getV1credentialsverification: {
176
+ method: "get";
177
+ path: string;
178
+ baseUrl: string;
179
+ requestFormat: "json";
180
+ parameters: {
181
+ CredentialType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
182
+ CredentialValue: z.ZodString;
183
+ Password: z.ZodString;
184
+ };
185
+ response: z.ZodObject<{
186
+ canSend: z.ZodOptional<z.ZodBoolean>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ canSend?: boolean | undefined;
189
+ }, {
190
+ canSend?: boolean | undefined;
191
+ }>;
192
+ errors: {
193
+ status: number;
194
+ description: string;
195
+ schema: z.ZodVoid;
196
+ }[];
197
+ };
198
+ export declare const postV1credentialsverification: {
199
+ method: "post";
200
+ path: string;
201
+ baseUrl: string;
202
+ requestFormat: "json";
203
+ parameters: {
204
+ body: z.ZodObject<{
205
+ credentialType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
206
+ credentialValue: z.ZodOptional<z.ZodString>;
207
+ password: z.ZodOptional<z.ZodString>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ credentialType?: 0 | 2 | 1 | 3 | 4 | undefined;
210
+ credentialValue?: string | undefined;
211
+ password?: string | undefined;
212
+ }, {
213
+ credentialType?: 0 | 2 | 1 | 3 | 4 | undefined;
214
+ credentialValue?: string | undefined;
215
+ password?: string | undefined;
216
+ }>;
217
+ };
218
+ response: z.ZodObject<{
219
+ canSend: z.ZodOptional<z.ZodBoolean>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ canSend?: boolean | undefined;
222
+ }, {
223
+ canSend?: boolean | undefined;
224
+ }>;
225
+ errors: {
226
+ status: number;
227
+ description: string;
228
+ schema: z.ZodVoid;
229
+ }[];
230
+ };
231
+ export declare const postV1credentialsverificationsend: {
232
+ method: "post";
233
+ path: string;
234
+ baseUrl: string;
235
+ requestFormat: "json";
236
+ parameters: {
237
+ body: z.ZodObject<{
238
+ credentialType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
239
+ credentialValue: z.ZodOptional<z.ZodString>;
240
+ password: z.ZodOptional<z.ZodString>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ credentialType?: 0 | 2 | 1 | 3 | 4 | undefined;
243
+ credentialValue?: string | undefined;
244
+ password?: string | undefined;
245
+ }, {
246
+ credentialType?: 0 | 2 | 1 | 3 | 4 | undefined;
247
+ credentialValue?: string | undefined;
248
+ password?: string | undefined;
249
+ }>;
250
+ };
251
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
252
+ errors: {
253
+ status: number;
254
+ description: string;
255
+ schema: z.ZodVoid;
256
+ }[];
257
+ };
258
+ export declare const postV1identityVerificationlogin: {
259
+ method: "post";
260
+ path: string;
261
+ baseUrl: string;
262
+ requestFormat: "json";
263
+ parameters: {
264
+ body: z.ZodObject<{
265
+ loginTicket: z.ZodOptional<z.ZodString>;
266
+ resultToken: z.ZodOptional<z.ZodString>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ loginTicket?: string | undefined;
269
+ resultToken?: string | undefined;
270
+ }, {
271
+ loginTicket?: string | undefined;
272
+ resultToken?: string | undefined;
273
+ }>;
274
+ };
275
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
276
+ errors: {
277
+ status: number;
278
+ description: string;
279
+ schema: z.ZodVoid;
280
+ }[];
281
+ };
282
+ export declare const postV1login: {
283
+ method: "post";
284
+ path: string;
285
+ baseUrl: string;
286
+ requestFormat: "json";
287
+ parameters: {
288
+ body: z.ZodObject<{
289
+ ctype: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
290
+ cvalue: z.ZodOptional<z.ZodString>;
291
+ password: z.ZodOptional<z.ZodString>;
292
+ userId: z.ZodOptional<z.ZodNumber>;
293
+ securityQuestionSessionId: z.ZodOptional<z.ZodString>;
294
+ securityQuestionRedemptionToken: z.ZodOptional<z.ZodString>;
295
+ secureAuthenticationIntent: z.ZodOptional<z.ZodObject<{
296
+ clientPublicKey: z.ZodOptional<z.ZodString>;
297
+ clientEpochTimestamp: z.ZodOptional<z.ZodNumber>;
298
+ saiSignature: z.ZodOptional<z.ZodString>;
299
+ serverNonce: z.ZodOptional<z.ZodString>;
300
+ }, "strip", z.ZodTypeAny, {
301
+ clientPublicKey?: string | undefined;
302
+ clientEpochTimestamp?: number | undefined;
303
+ saiSignature?: string | undefined;
304
+ serverNonce?: string | undefined;
305
+ }, {
306
+ clientPublicKey?: string | undefined;
307
+ clientEpochTimestamp?: number | undefined;
308
+ saiSignature?: string | undefined;
309
+ serverNonce?: string | undefined;
310
+ }>>;
311
+ captchaId: z.ZodOptional<z.ZodString>;
312
+ captchaToken: z.ZodOptional<z.ZodString>;
313
+ captchaProvider: z.ZodOptional<z.ZodString>;
314
+ challengeId: z.ZodOptional<z.ZodString>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ ctype?: 0 | 2 | 1 | 3 | 4 | undefined;
317
+ cvalue?: string | undefined;
318
+ password?: string | undefined;
319
+ userId?: number | undefined;
320
+ securityQuestionSessionId?: string | undefined;
321
+ securityQuestionRedemptionToken?: string | undefined;
322
+ secureAuthenticationIntent?: {
323
+ clientPublicKey?: string | undefined;
324
+ clientEpochTimestamp?: number | undefined;
325
+ saiSignature?: string | undefined;
326
+ serverNonce?: string | undefined;
327
+ } | undefined;
328
+ captchaId?: string | undefined;
329
+ captchaToken?: string | undefined;
330
+ captchaProvider?: string | undefined;
331
+ challengeId?: string | undefined;
332
+ }, {
333
+ ctype?: 0 | 2 | 1 | 3 | 4 | undefined;
334
+ cvalue?: string | undefined;
335
+ password?: string | undefined;
336
+ userId?: number | undefined;
337
+ securityQuestionSessionId?: string | undefined;
338
+ securityQuestionRedemptionToken?: string | undefined;
339
+ secureAuthenticationIntent?: {
340
+ clientPublicKey?: string | undefined;
341
+ clientEpochTimestamp?: number | undefined;
342
+ saiSignature?: string | undefined;
343
+ serverNonce?: string | undefined;
344
+ } | undefined;
345
+ captchaId?: string | undefined;
346
+ captchaToken?: string | undefined;
347
+ captchaProvider?: string | undefined;
348
+ challengeId?: string | undefined;
349
+ }>;
350
+ };
351
+ response: z.ZodObject<{
352
+ user: z.ZodOptional<z.ZodObject<{
353
+ id: z.ZodOptional<z.ZodNumber>;
354
+ name: z.ZodOptional<z.ZodString>;
355
+ displayName: z.ZodOptional<z.ZodString>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ id?: number | undefined;
358
+ name?: string | undefined;
359
+ displayName?: string | undefined;
360
+ }, {
361
+ id?: number | undefined;
362
+ name?: string | undefined;
363
+ displayName?: string | undefined;
364
+ }>>;
365
+ twoStepVerificationData: z.ZodOptional<z.ZodObject<{
366
+ mediaType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
367
+ ticket: z.ZodOptional<z.ZodString>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
370
+ ticket?: string | undefined;
371
+ }, {
372
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
373
+ ticket?: string | undefined;
374
+ }>>;
375
+ identityVerificationLoginTicket: z.ZodOptional<z.ZodString>;
376
+ isBanned: z.ZodOptional<z.ZodBoolean>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ user?: {
379
+ id?: number | undefined;
380
+ name?: string | undefined;
381
+ displayName?: string | undefined;
382
+ } | undefined;
383
+ twoStepVerificationData?: {
384
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
385
+ ticket?: string | undefined;
386
+ } | undefined;
387
+ identityVerificationLoginTicket?: string | undefined;
388
+ isBanned?: boolean | undefined;
389
+ }, {
390
+ user?: {
391
+ id?: number | undefined;
392
+ name?: string | undefined;
393
+ displayName?: string | undefined;
394
+ } | undefined;
395
+ twoStepVerificationData?: {
396
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
397
+ ticket?: string | undefined;
398
+ } | undefined;
399
+ identityVerificationLoginTicket?: string | undefined;
400
+ isBanned?: boolean | undefined;
401
+ }>;
402
+ errors: {
403
+ status: number;
404
+ description: string;
405
+ schema: z.ZodVoid;
406
+ }[];
407
+ };
408
+ export declare const postV1logout: {
409
+ method: "post";
410
+ path: string;
411
+ baseUrl: string;
412
+ requestFormat: "json";
413
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
414
+ errors: {
415
+ status: number;
416
+ description: string;
417
+ schema: z.ZodVoid;
418
+ }[];
419
+ };
420
+ export declare const postV1logoutfromallsessionsandreauthenticate: {
421
+ method: "post";
422
+ path: string;
423
+ baseUrl: string;
424
+ requestFormat: "json";
425
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
426
+ errors: {
427
+ status: number;
428
+ description: string;
429
+ schema: z.ZodVoid;
430
+ }[];
431
+ };
432
+ export declare const getV1metadata: {
433
+ method: "get";
434
+ path: string;
435
+ baseUrl: string;
436
+ requestFormat: "json";
437
+ response: z.ZodObject<{
438
+ isUpdateUsernameEnabled: z.ZodOptional<z.ZodBoolean>;
439
+ ftuxAvatarAssetMap: z.ZodOptional<z.ZodString>;
440
+ IsEmailUpsellAtLogoutEnabled: z.ZodOptional<z.ZodBoolean>;
441
+ ShouldFetchEmailUpsellIXPValuesAtLogout: z.ZodOptional<z.ZodBoolean>;
442
+ IsAccountRecoveryPromptEnabled: z.ZodOptional<z.ZodBoolean>;
443
+ IsContactMethodRequiredAtSignup: z.ZodOptional<z.ZodBoolean>;
444
+ IsUserAgreementsSignupIntegrationEnabled: z.ZodOptional<z.ZodBoolean>;
445
+ IsKoreaIdVerificationEnabled: z.ZodOptional<z.ZodBoolean>;
446
+ IsPasswordRequiredForUsernameChange: z.ZodOptional<z.ZodBoolean>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ isUpdateUsernameEnabled?: boolean | undefined;
449
+ ftuxAvatarAssetMap?: string | undefined;
450
+ IsEmailUpsellAtLogoutEnabled?: boolean | undefined;
451
+ ShouldFetchEmailUpsellIXPValuesAtLogout?: boolean | undefined;
452
+ IsAccountRecoveryPromptEnabled?: boolean | undefined;
453
+ IsContactMethodRequiredAtSignup?: boolean | undefined;
454
+ IsUserAgreementsSignupIntegrationEnabled?: boolean | undefined;
455
+ IsKoreaIdVerificationEnabled?: boolean | undefined;
456
+ IsPasswordRequiredForUsernameChange?: boolean | undefined;
457
+ }, {
458
+ isUpdateUsernameEnabled?: boolean | undefined;
459
+ ftuxAvatarAssetMap?: string | undefined;
460
+ IsEmailUpsellAtLogoutEnabled?: boolean | undefined;
461
+ ShouldFetchEmailUpsellIXPValuesAtLogout?: boolean | undefined;
462
+ IsAccountRecoveryPromptEnabled?: boolean | undefined;
463
+ IsContactMethodRequiredAtSignup?: boolean | undefined;
464
+ IsUserAgreementsSignupIntegrationEnabled?: boolean | undefined;
465
+ IsKoreaIdVerificationEnabled?: boolean | undefined;
466
+ IsPasswordRequiredForUsernameChange?: boolean | undefined;
467
+ }>;
468
+ errors: never[];
469
+ };
470
+ export declare const getV1passwordsvalidate: {
471
+ method: "get";
472
+ path: string;
473
+ baseUrl: string;
474
+ requestFormat: "json";
475
+ parameters: {
476
+ Username: z.ZodString;
477
+ Password: z.ZodString;
478
+ };
479
+ response: z.ZodObject<{
480
+ code: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>;
481
+ message: z.ZodOptional<z.ZodString>;
482
+ }, "strip", z.ZodTypeAny, {
483
+ code?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
484
+ message?: string | undefined;
485
+ }, {
486
+ code?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
487
+ message?: string | undefined;
488
+ }>;
489
+ errors: {
490
+ status: number;
491
+ description: string;
492
+ schema: z.ZodVoid;
493
+ }[];
494
+ };
495
+ export declare const postV1passwordsvalidate: {
496
+ method: "post";
497
+ path: string;
498
+ baseUrl: string;
499
+ requestFormat: "json";
500
+ parameters: {
501
+ body: z.ZodObject<{
502
+ username: z.ZodOptional<z.ZodString>;
503
+ password: z.ZodOptional<z.ZodString>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ username?: string | undefined;
506
+ password?: string | undefined;
507
+ }, {
508
+ username?: string | undefined;
509
+ password?: string | undefined;
510
+ }>;
511
+ };
512
+ response: z.ZodObject<{
513
+ code: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>;
514
+ message: z.ZodOptional<z.ZodString>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ code?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
517
+ message?: string | undefined;
518
+ }, {
519
+ code?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
520
+ message?: string | undefined;
521
+ }>;
522
+ errors: {
523
+ status: number;
524
+ description: string;
525
+ schema: z.ZodVoid;
526
+ }[];
527
+ };
528
+ export declare const getV1recoverymetadata: {
529
+ method: "get";
530
+ path: string;
531
+ baseUrl: string;
532
+ requestFormat: "json";
533
+ response: z.ZodObject<{
534
+ isOnPhone: z.ZodOptional<z.ZodBoolean>;
535
+ codeLength: z.ZodOptional<z.ZodNumber>;
536
+ isPhoneFeatureEnabledForUsername: z.ZodOptional<z.ZodBoolean>;
537
+ isPhoneFeatureEnabledForPassword: z.ZodOptional<z.ZodBoolean>;
538
+ isBedev2CaptchaEnabledForPasswordReset: z.ZodOptional<z.ZodBoolean>;
539
+ }, "strip", z.ZodTypeAny, {
540
+ isOnPhone?: boolean | undefined;
541
+ codeLength?: number | undefined;
542
+ isPhoneFeatureEnabledForUsername?: boolean | undefined;
543
+ isPhoneFeatureEnabledForPassword?: boolean | undefined;
544
+ isBedev2CaptchaEnabledForPasswordReset?: boolean | undefined;
545
+ }, {
546
+ isOnPhone?: boolean | undefined;
547
+ codeLength?: number | undefined;
548
+ isPhoneFeatureEnabledForUsername?: boolean | undefined;
549
+ isPhoneFeatureEnabledForPassword?: boolean | undefined;
550
+ isBedev2CaptchaEnabledForPasswordReset?: boolean | undefined;
551
+ }>;
552
+ errors: {
553
+ status: number;
554
+ description: string;
555
+ schema: z.ZodVoid;
556
+ }[];
557
+ };
558
+ export declare const getV1revertaccount: {
559
+ method: "get";
560
+ path: string;
561
+ baseUrl: string;
562
+ requestFormat: "json";
563
+ parameters: {
564
+ ticket: z.ZodString;
565
+ };
566
+ response: z.ZodObject<{
567
+ isTwoStepVerificationEnabled: z.ZodOptional<z.ZodBoolean>;
568
+ isEmailVerified: z.ZodOptional<z.ZodBoolean>;
569
+ isEmailChanged: z.ZodOptional<z.ZodBoolean>;
570
+ isPhoneVerified: z.ZodOptional<z.ZodBoolean>;
571
+ userId: z.ZodOptional<z.ZodNumber>;
572
+ username: z.ZodOptional<z.ZodString>;
573
+ ticket: z.ZodOptional<z.ZodString>;
574
+ }, "strip", z.ZodTypeAny, {
575
+ isTwoStepVerificationEnabled?: boolean | undefined;
576
+ isEmailVerified?: boolean | undefined;
577
+ isEmailChanged?: boolean | undefined;
578
+ isPhoneVerified?: boolean | undefined;
579
+ userId?: number | undefined;
580
+ username?: string | undefined;
581
+ ticket?: string | undefined;
582
+ }, {
583
+ isTwoStepVerificationEnabled?: boolean | undefined;
584
+ isEmailVerified?: boolean | undefined;
585
+ isEmailChanged?: boolean | undefined;
586
+ isPhoneVerified?: boolean | undefined;
587
+ userId?: number | undefined;
588
+ username?: string | undefined;
589
+ ticket?: string | undefined;
590
+ }>;
591
+ errors: {
592
+ status: number;
593
+ description: string;
594
+ schema: z.ZodVoid;
595
+ }[];
596
+ };
597
+ export declare const postV1revertaccount: {
598
+ method: "post";
599
+ path: string;
600
+ baseUrl: string;
601
+ requestFormat: "json";
602
+ parameters: {
603
+ body: z.ZodObject<{
604
+ UserId: z.ZodOptional<z.ZodNumber>;
605
+ NewPassword: z.ZodOptional<z.ZodString>;
606
+ NewPasswordRepeated: z.ZodOptional<z.ZodString>;
607
+ Ticket: z.ZodOptional<z.ZodString>;
608
+ TwoStepVerificationChallengeId: z.ZodOptional<z.ZodString>;
609
+ TwoStepVerificationToken: z.ZodOptional<z.ZodString>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ UserId?: number | undefined;
612
+ NewPassword?: string | undefined;
613
+ NewPasswordRepeated?: string | undefined;
614
+ Ticket?: string | undefined;
615
+ TwoStepVerificationChallengeId?: string | undefined;
616
+ TwoStepVerificationToken?: string | undefined;
617
+ }, {
618
+ UserId?: number | undefined;
619
+ NewPassword?: string | undefined;
620
+ NewPasswordRepeated?: string | undefined;
621
+ Ticket?: string | undefined;
622
+ TwoStepVerificationChallengeId?: string | undefined;
623
+ TwoStepVerificationToken?: string | undefined;
624
+ }>;
625
+ };
626
+ response: z.ZodObject<{
627
+ user: z.ZodOptional<z.ZodObject<{
628
+ id: z.ZodOptional<z.ZodNumber>;
629
+ name: z.ZodOptional<z.ZodString>;
630
+ displayName: z.ZodOptional<z.ZodString>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ id?: number | undefined;
633
+ name?: string | undefined;
634
+ displayName?: string | undefined;
635
+ }, {
636
+ id?: number | undefined;
637
+ name?: string | undefined;
638
+ displayName?: string | undefined;
639
+ }>>;
640
+ twoStepVerificationData: z.ZodOptional<z.ZodObject<{
641
+ mediaType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
642
+ ticket: z.ZodOptional<z.ZodString>;
643
+ }, "strip", z.ZodTypeAny, {
644
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
645
+ ticket?: string | undefined;
646
+ }, {
647
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
648
+ ticket?: string | undefined;
649
+ }>>;
650
+ identityVerificationLoginTicket: z.ZodOptional<z.ZodString>;
651
+ isBanned: z.ZodOptional<z.ZodBoolean>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ user?: {
654
+ id?: number | undefined;
655
+ name?: string | undefined;
656
+ displayName?: string | undefined;
657
+ } | undefined;
658
+ twoStepVerificationData?: {
659
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
660
+ ticket?: string | undefined;
661
+ } | undefined;
662
+ identityVerificationLoginTicket?: string | undefined;
663
+ isBanned?: boolean | undefined;
664
+ }, {
665
+ user?: {
666
+ id?: number | undefined;
667
+ name?: string | undefined;
668
+ displayName?: string | undefined;
669
+ } | undefined;
670
+ twoStepVerificationData?: {
671
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
672
+ ticket?: string | undefined;
673
+ } | undefined;
674
+ identityVerificationLoginTicket?: string | undefined;
675
+ isBanned?: boolean | undefined;
676
+ }>;
677
+ errors: {
678
+ status: number;
679
+ description: string;
680
+ schema: z.ZodVoid;
681
+ }[];
682
+ };
683
+ export declare const postV1signup: {
684
+ method: "post";
685
+ path: string;
686
+ baseUrl: string;
687
+ requestFormat: "json";
688
+ parameters: {
689
+ body: z.ZodObject<{
690
+ username: z.ZodOptional<z.ZodString>;
691
+ password: z.ZodOptional<z.ZodString>;
692
+ gender: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
693
+ birthday: z.ZodOptional<z.ZodString>;
694
+ isTosAgreementBoxChecked: z.ZodOptional<z.ZodBoolean>;
695
+ email: z.ZodOptional<z.ZodString>;
696
+ locale: z.ZodOptional<z.ZodString>;
697
+ assetIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
698
+ bodyColorId: z.ZodOptional<z.ZodNumber>;
699
+ bodyTypeScale: z.ZodOptional<z.ZodNumber>;
700
+ headScale: z.ZodOptional<z.ZodNumber>;
701
+ heightScale: z.ZodOptional<z.ZodNumber>;
702
+ widthScale: z.ZodOptional<z.ZodNumber>;
703
+ proportionScale: z.ZodOptional<z.ZodNumber>;
704
+ referralData: z.ZodOptional<z.ZodObject<{
705
+ acquisitionTime: z.ZodOptional<z.ZodString>;
706
+ acquisitionReferrer: z.ZodOptional<z.ZodString>;
707
+ medium: z.ZodOptional<z.ZodString>;
708
+ source: z.ZodOptional<z.ZodString>;
709
+ campaign: z.ZodOptional<z.ZodString>;
710
+ adGroup: z.ZodOptional<z.ZodString>;
711
+ keyword: z.ZodOptional<z.ZodString>;
712
+ matchType: z.ZodOptional<z.ZodString>;
713
+ sendInfo: z.ZodOptional<z.ZodBoolean>;
714
+ requestSessionId: z.ZodOptional<z.ZodString>;
715
+ offerId: z.ZodOptional<z.ZodString>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ acquisitionTime?: string | undefined;
718
+ acquisitionReferrer?: string | undefined;
719
+ medium?: string | undefined;
720
+ source?: string | undefined;
721
+ campaign?: string | undefined;
722
+ adGroup?: string | undefined;
723
+ keyword?: string | undefined;
724
+ matchType?: string | undefined;
725
+ sendInfo?: boolean | undefined;
726
+ requestSessionId?: string | undefined;
727
+ offerId?: string | undefined;
728
+ }, {
729
+ acquisitionTime?: string | undefined;
730
+ acquisitionReferrer?: string | undefined;
731
+ medium?: string | undefined;
732
+ source?: string | undefined;
733
+ campaign?: string | undefined;
734
+ adGroup?: string | undefined;
735
+ keyword?: string | undefined;
736
+ matchType?: string | undefined;
737
+ sendInfo?: boolean | undefined;
738
+ requestSessionId?: string | undefined;
739
+ offerId?: string | undefined;
740
+ }>>;
741
+ agreementIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
742
+ identityVerificationResultToken: z.ZodOptional<z.ZodString>;
743
+ secureAuthenticationIntent: z.ZodOptional<z.ZodObject<{
744
+ clientPublicKey: z.ZodOptional<z.ZodString>;
745
+ clientEpochTimestamp: z.ZodOptional<z.ZodNumber>;
746
+ saiSignature: z.ZodOptional<z.ZodString>;
747
+ serverNonce: z.ZodOptional<z.ZodString>;
748
+ }, "strip", z.ZodTypeAny, {
749
+ clientPublicKey?: string | undefined;
750
+ clientEpochTimestamp?: number | undefined;
751
+ saiSignature?: string | undefined;
752
+ serverNonce?: string | undefined;
753
+ }, {
754
+ clientPublicKey?: string | undefined;
755
+ clientEpochTimestamp?: number | undefined;
756
+ saiSignature?: string | undefined;
757
+ serverNonce?: string | undefined;
758
+ }>>;
759
+ otpSession: z.ZodOptional<z.ZodObject<{
760
+ otpSessionToken: z.ZodOptional<z.ZodString>;
761
+ otpContactType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ otpSessionToken?: string | undefined;
764
+ otpContactType?: 2 | 1 | undefined;
765
+ }, {
766
+ otpSessionToken?: string | undefined;
767
+ otpContactType?: 2 | 1 | undefined;
768
+ }>>;
769
+ captchaId: z.ZodOptional<z.ZodString>;
770
+ captchaToken: z.ZodOptional<z.ZodString>;
771
+ captchaProvider: z.ZodOptional<z.ZodString>;
772
+ challengeId: z.ZodOptional<z.ZodString>;
773
+ }, "strip", z.ZodTypeAny, {
774
+ username?: string | undefined;
775
+ password?: string | undefined;
776
+ gender?: 2 | 1 | 3 | undefined;
777
+ birthday?: string | undefined;
778
+ isTosAgreementBoxChecked?: boolean | undefined;
779
+ email?: string | undefined;
780
+ locale?: string | undefined;
781
+ assetIds?: number[] | undefined;
782
+ bodyColorId?: number | undefined;
783
+ bodyTypeScale?: number | undefined;
784
+ headScale?: number | undefined;
785
+ heightScale?: number | undefined;
786
+ widthScale?: number | undefined;
787
+ proportionScale?: number | undefined;
788
+ referralData?: {
789
+ acquisitionTime?: string | undefined;
790
+ acquisitionReferrer?: string | undefined;
791
+ medium?: string | undefined;
792
+ source?: string | undefined;
793
+ campaign?: string | undefined;
794
+ adGroup?: string | undefined;
795
+ keyword?: string | undefined;
796
+ matchType?: string | undefined;
797
+ sendInfo?: boolean | undefined;
798
+ requestSessionId?: string | undefined;
799
+ offerId?: string | undefined;
800
+ } | undefined;
801
+ agreementIds?: string[] | undefined;
802
+ identityVerificationResultToken?: string | undefined;
803
+ secureAuthenticationIntent?: {
804
+ clientPublicKey?: string | undefined;
805
+ clientEpochTimestamp?: number | undefined;
806
+ saiSignature?: string | undefined;
807
+ serverNonce?: string | undefined;
808
+ } | undefined;
809
+ otpSession?: {
810
+ otpSessionToken?: string | undefined;
811
+ otpContactType?: 2 | 1 | undefined;
812
+ } | undefined;
813
+ captchaId?: string | undefined;
814
+ captchaToken?: string | undefined;
815
+ captchaProvider?: string | undefined;
816
+ challengeId?: string | undefined;
817
+ }, {
818
+ username?: string | undefined;
819
+ password?: string | undefined;
820
+ gender?: 2 | 1 | 3 | undefined;
821
+ birthday?: string | undefined;
822
+ isTosAgreementBoxChecked?: boolean | undefined;
823
+ email?: string | undefined;
824
+ locale?: string | undefined;
825
+ assetIds?: number[] | undefined;
826
+ bodyColorId?: number | undefined;
827
+ bodyTypeScale?: number | undefined;
828
+ headScale?: number | undefined;
829
+ heightScale?: number | undefined;
830
+ widthScale?: number | undefined;
831
+ proportionScale?: number | undefined;
832
+ referralData?: {
833
+ acquisitionTime?: string | undefined;
834
+ acquisitionReferrer?: string | undefined;
835
+ medium?: string | undefined;
836
+ source?: string | undefined;
837
+ campaign?: string | undefined;
838
+ adGroup?: string | undefined;
839
+ keyword?: string | undefined;
840
+ matchType?: string | undefined;
841
+ sendInfo?: boolean | undefined;
842
+ requestSessionId?: string | undefined;
843
+ offerId?: string | undefined;
844
+ } | undefined;
845
+ agreementIds?: string[] | undefined;
846
+ identityVerificationResultToken?: string | undefined;
847
+ secureAuthenticationIntent?: {
848
+ clientPublicKey?: string | undefined;
849
+ clientEpochTimestamp?: number | undefined;
850
+ saiSignature?: string | undefined;
851
+ serverNonce?: string | undefined;
852
+ } | undefined;
853
+ otpSession?: {
854
+ otpSessionToken?: string | undefined;
855
+ otpContactType?: 2 | 1 | undefined;
856
+ } | undefined;
857
+ captchaId?: string | undefined;
858
+ captchaToken?: string | undefined;
859
+ captchaProvider?: string | undefined;
860
+ challengeId?: string | undefined;
861
+ }>;
862
+ };
863
+ response: z.ZodObject<{
864
+ userId: z.ZodOptional<z.ZodNumber>;
865
+ starterPlaceId: z.ZodOptional<z.ZodNumber>;
866
+ }, "strip", z.ZodTypeAny, {
867
+ userId?: number | undefined;
868
+ starterPlaceId?: number | undefined;
869
+ }, {
870
+ userId?: number | undefined;
871
+ starterPlaceId?: number | undefined;
872
+ }>;
873
+ errors: {
874
+ status: number;
875
+ description: string;
876
+ schema: z.ZodVoid;
877
+ }[];
878
+ };
879
+ export declare const postV1socialProviderdisconnect: {
880
+ method: "post";
881
+ path: string;
882
+ baseUrl: string;
883
+ requestFormat: "json";
884
+ parameters: {
885
+ body: z.ZodObject<{
886
+ Password: z.ZodOptional<z.ZodString>;
887
+ }, "strip", z.ZodTypeAny, {
888
+ Password?: string | undefined;
889
+ }, {
890
+ Password?: string | undefined;
891
+ }>;
892
+ provider: z.ZodString;
893
+ };
894
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
895
+ errors: {
896
+ status: number;
897
+ description: string;
898
+ schema: z.ZodVoid;
899
+ }[];
900
+ };
901
+ export declare const getV1socialconnectedProviders: {
902
+ method: "get";
903
+ path: string;
904
+ baseUrl: string;
905
+ requestFormat: "json";
906
+ response: z.ZodObject<{
907
+ providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
908
+ provider: z.ZodOptional<z.ZodString>;
909
+ identifier: z.ZodOptional<z.ZodString>;
910
+ }, "strip", z.ZodTypeAny, {
911
+ provider?: string | undefined;
912
+ identifier?: string | undefined;
913
+ }, {
914
+ provider?: string | undefined;
915
+ identifier?: string | undefined;
916
+ }>, "many">>;
917
+ }, "strip", z.ZodTypeAny, {
918
+ providers?: {
919
+ provider?: string | undefined;
920
+ identifier?: string | undefined;
921
+ }[] | undefined;
922
+ }, {
923
+ providers?: {
924
+ provider?: string | undefined;
925
+ identifier?: string | undefined;
926
+ }[] | undefined;
927
+ }>;
928
+ errors: {
929
+ status: number;
930
+ description: string;
931
+ schema: z.ZodVoid;
932
+ }[];
933
+ };
934
+ export declare const getV1twostepverificationmetadata: {
935
+ method: "get";
936
+ path: string;
937
+ baseUrl: string;
938
+ requestFormat: "json";
939
+ response: z.ZodObject<{
940
+ codeLength: z.ZodOptional<z.ZodNumber>;
941
+ loadingImageUrl: z.ZodOptional<z.ZodString>;
942
+ supportUrl: z.ZodOptional<z.ZodString>;
943
+ }, "strip", z.ZodTypeAny, {
944
+ codeLength?: number | undefined;
945
+ loadingImageUrl?: string | undefined;
946
+ supportUrl?: string | undefined;
947
+ }, {
948
+ codeLength?: number | undefined;
949
+ loadingImageUrl?: string | undefined;
950
+ supportUrl?: string | undefined;
951
+ }>;
952
+ errors: never[];
953
+ };
954
+ export declare const postV1twostepverificationresend: {
955
+ method: "post";
956
+ path: string;
957
+ baseUrl: string;
958
+ requestFormat: "json";
959
+ parameters: {
960
+ body: z.ZodObject<{
961
+ username: z.ZodOptional<z.ZodString>;
962
+ ticket: z.ZodOptional<z.ZodString>;
963
+ actionType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>]>>;
964
+ }, "strip", z.ZodTypeAny, {
965
+ username?: string | undefined;
966
+ ticket?: string | undefined;
967
+ actionType?: 0 | 2 | 1 | 3 | 4 | 8 | 5 | 6 | 7 | undefined;
968
+ }, {
969
+ username?: string | undefined;
970
+ ticket?: string | undefined;
971
+ actionType?: 0 | 2 | 1 | 3 | 4 | 8 | 5 | 6 | 7 | undefined;
972
+ }>;
973
+ };
974
+ response: z.ZodObject<{
975
+ mediaType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
976
+ ticket: z.ZodOptional<z.ZodString>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
979
+ ticket?: string | undefined;
980
+ }, {
981
+ mediaType?: 0 | 2 | 1 | 3 | 4 | undefined;
982
+ ticket?: string | undefined;
983
+ }>;
984
+ errors: {
985
+ status: number;
986
+ description: string;
987
+ schema: z.ZodVoid;
988
+ }[];
989
+ };
990
+ export declare const postV1twostepverificationverify: {
991
+ method: "post";
992
+ path: string;
993
+ baseUrl: string;
994
+ requestFormat: "json";
995
+ parameters: {
996
+ body: z.ZodObject<{
997
+ username: z.ZodOptional<z.ZodString>;
998
+ ticket: z.ZodOptional<z.ZodString>;
999
+ code: z.ZodOptional<z.ZodString>;
1000
+ rememberDevice: z.ZodOptional<z.ZodBoolean>;
1001
+ actionType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>]>>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ username?: string | undefined;
1004
+ ticket?: string | undefined;
1005
+ code?: string | undefined;
1006
+ rememberDevice?: boolean | undefined;
1007
+ actionType?: 0 | 2 | 1 | 3 | 4 | 8 | 5 | 6 | 7 | undefined;
1008
+ }, {
1009
+ username?: string | undefined;
1010
+ ticket?: string | undefined;
1011
+ code?: string | undefined;
1012
+ rememberDevice?: boolean | undefined;
1013
+ actionType?: 0 | 2 | 1 | 3 | 4 | 8 | 5 | 6 | 7 | undefined;
1014
+ }>;
1015
+ };
1016
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1017
+ errors: {
1018
+ status: number;
1019
+ description: string;
1020
+ schema: z.ZodVoid;
1021
+ }[];
1022
+ };
1023
+ export declare const postV1userpasswordschange: {
1024
+ method: "post";
1025
+ path: string;
1026
+ baseUrl: string;
1027
+ description: string;
1028
+ requestFormat: "json";
1029
+ parameters: {
1030
+ body: z.ZodObject<{
1031
+ currentPassword: z.ZodOptional<z.ZodString>;
1032
+ newPassword: z.ZodOptional<z.ZodString>;
1033
+ }, "strip", z.ZodTypeAny, {
1034
+ currentPassword?: string | undefined;
1035
+ newPassword?: string | undefined;
1036
+ }, {
1037
+ currentPassword?: string | undefined;
1038
+ newPassword?: string | undefined;
1039
+ }>;
1040
+ };
1041
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1042
+ errors: {
1043
+ status: number;
1044
+ description: string;
1045
+ schema: z.ZodVoid;
1046
+ }[];
1047
+ };
1048
+ export declare const postV1username: {
1049
+ method: "post";
1050
+ path: string;
1051
+ baseUrl: string;
1052
+ requestFormat: "json";
1053
+ parameters: {
1054
+ body: z.ZodObject<{
1055
+ username: z.ZodOptional<z.ZodString>;
1056
+ password: z.ZodOptional<z.ZodString>;
1057
+ }, "strip", z.ZodTypeAny, {
1058
+ username?: string | undefined;
1059
+ password?: string | undefined;
1060
+ }, {
1061
+ username?: string | undefined;
1062
+ password?: string | undefined;
1063
+ }>;
1064
+ };
1065
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1066
+ errors: {
1067
+ status: number;
1068
+ description: string;
1069
+ schema: z.ZodVoid;
1070
+ }[];
1071
+ };
1072
+ export declare const getV1usernames: {
1073
+ method: "get";
1074
+ path: string;
1075
+ baseUrl: string;
1076
+ description: string;
1077
+ requestFormat: "json";
1078
+ parameters: {
1079
+ username: z.ZodOptional<z.ZodString>;
1080
+ };
1081
+ response: z.ZodObject<{
1082
+ usernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1083
+ }, "strip", z.ZodTypeAny, {
1084
+ usernames?: string[] | undefined;
1085
+ }, {
1086
+ usernames?: string[] | undefined;
1087
+ }>;
1088
+ errors: never[];
1089
+ };
1090
+ export declare const postV1usernamesrecover: {
1091
+ method: "post";
1092
+ path: string;
1093
+ baseUrl: string;
1094
+ requestFormat: "json";
1095
+ parameters: {
1096
+ body: z.ZodObject<{
1097
+ targetType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
1098
+ target: z.ZodOptional<z.ZodString>;
1099
+ }, "strip", z.ZodTypeAny, {
1100
+ targetType?: 0 | 1 | undefined;
1101
+ target?: string | undefined;
1102
+ }, {
1103
+ targetType?: 0 | 1 | undefined;
1104
+ target?: string | undefined;
1105
+ }>;
1106
+ };
1107
+ response: z.ZodObject<{
1108
+ transmissionType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ transmissionType?: 0 | 1 | undefined;
1111
+ }, {
1112
+ transmissionType?: 0 | 1 | undefined;
1113
+ }>;
1114
+ errors: {
1115
+ status: number;
1116
+ description: string;
1117
+ schema: z.ZodVoid;
1118
+ }[];
1119
+ };
1120
+ export declare const getV1usernamesvalidate: {
1121
+ method: "get";
1122
+ path: string;
1123
+ baseUrl: string;
1124
+ requestFormat: "json";
1125
+ parameters: {
1126
+ Username: z.ZodString;
1127
+ Birthday: z.ZodString;
1128
+ Context: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1129
+ };
1130
+ response: z.ZodObject<{
1131
+ code: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<10>, z.ZodLiteral<12>]>>;
1132
+ message: z.ZodOptional<z.ZodString>;
1133
+ }, "strip", z.ZodTypeAny, {
1134
+ code?: 0 | 2 | 1 | 3 | 4 | 5 | 6 | 10 | 7 | 12 | undefined;
1135
+ message?: string | undefined;
1136
+ }, {
1137
+ code?: 0 | 2 | 1 | 3 | 4 | 5 | 6 | 10 | 7 | 12 | undefined;
1138
+ message?: string | undefined;
1139
+ }>;
1140
+ errors: {
1141
+ status: number;
1142
+ description: string;
1143
+ schema: z.ZodVoid;
1144
+ }[];
1145
+ };
1146
+ export declare const postV1usernamesvalidate: {
1147
+ method: "post";
1148
+ path: string;
1149
+ baseUrl: string;
1150
+ requestFormat: "json";
1151
+ parameters: {
1152
+ body: z.ZodObject<{
1153
+ username: z.ZodOptional<z.ZodString>;
1154
+ birthday: z.ZodOptional<z.ZodString>;
1155
+ context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
1156
+ }, "strip", z.ZodTypeAny, {
1157
+ username?: string | undefined;
1158
+ birthday?: string | undefined;
1159
+ context?: 0 | 2 | 1 | undefined;
1160
+ }, {
1161
+ username?: string | undefined;
1162
+ birthday?: string | undefined;
1163
+ context?: 0 | 2 | 1 | undefined;
1164
+ }>;
1165
+ };
1166
+ response: z.ZodObject<{
1167
+ code: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<10>, z.ZodLiteral<12>]>>;
1168
+ message: z.ZodOptional<z.ZodString>;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ code?: 0 | 2 | 1 | 3 | 4 | 5 | 6 | 10 | 7 | 12 | undefined;
1171
+ message?: string | undefined;
1172
+ }, {
1173
+ code?: 0 | 2 | 1 | 3 | 4 | 5 | 6 | 10 | 7 | 12 | undefined;
1174
+ message?: string | undefined;
1175
+ }>;
1176
+ errors: {
1177
+ status: number;
1178
+ description: string;
1179
+ schema: z.ZodVoid;
1180
+ }[];
1181
+ };
1182
+ export declare const getV1validatorsemail: {
1183
+ method: "get";
1184
+ path: string;
1185
+ baseUrl: string;
1186
+ requestFormat: "json";
1187
+ parameters: {
1188
+ Email: z.ZodString;
1189
+ };
1190
+ response: z.ZodObject<{
1191
+ isEmailValid: z.ZodOptional<z.ZodBoolean>;
1192
+ }, "strip", z.ZodTypeAny, {
1193
+ isEmailValid?: boolean | undefined;
1194
+ }, {
1195
+ isEmailValid?: boolean | undefined;
1196
+ }>;
1197
+ errors: never[];
1198
+ };
1199
+ export declare const getV1validatorsusername: {
1200
+ method: "get";
1201
+ path: string;
1202
+ baseUrl: string;
1203
+ requestFormat: "json";
1204
+ parameters: {
1205
+ Username: z.ZodString;
1206
+ BirthDay: z.ZodString;
1207
+ };
1208
+ response: z.ZodObject<{
1209
+ didGenerateNewUsername: z.ZodOptional<z.ZodBoolean>;
1210
+ suggestedUsernames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1211
+ }, "strip", z.ZodTypeAny, {
1212
+ didGenerateNewUsername?: boolean | undefined;
1213
+ suggestedUsernames?: string[] | undefined;
1214
+ }, {
1215
+ didGenerateNewUsername?: boolean | undefined;
1216
+ suggestedUsernames?: string[] | undefined;
1217
+ }>;
1218
+ errors: never[];
1219
+ };
1220
+ export declare const getV1xboxconnection: {
1221
+ method: "get";
1222
+ path: string;
1223
+ baseUrl: string;
1224
+ requestFormat: "json";
1225
+ response: z.ZodObject<{
1226
+ hasConnectedXboxAccount: z.ZodOptional<z.ZodBoolean>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ hasConnectedXboxAccount?: boolean | undefined;
1229
+ }, {
1230
+ hasConnectedXboxAccount?: boolean | undefined;
1231
+ }>;
1232
+ errors: ({
1233
+ status: number;
1234
+ description: string;
1235
+ schema: z.ZodVoid;
1236
+ } | {
1237
+ status: number;
1238
+ schema: z.ZodVoid;
1239
+ description?: undefined;
1240
+ })[];
1241
+ };
1242
+ export declare const postV1xboxdisconnect: {
1243
+ method: "post";
1244
+ path: string;
1245
+ baseUrl: string;
1246
+ requestFormat: "json";
1247
+ response: z.ZodObject<{
1248
+ success: z.ZodOptional<z.ZodBoolean>;
1249
+ }, "strip", z.ZodTypeAny, {
1250
+ success?: boolean | undefined;
1251
+ }, {
1252
+ success?: boolean | undefined;
1253
+ }>;
1254
+ errors: {
1255
+ status: number;
1256
+ description: string;
1257
+ schema: z.ZodVoid;
1258
+ }[];
1259
+ };
1260
+ export declare const getV1xboxgetLoginConsecutiveDays: {
1261
+ method: "get";
1262
+ path: string;
1263
+ baseUrl: string;
1264
+ requestFormat: "json";
1265
+ response: z.ZodObject<{
1266
+ count: z.ZodOptional<z.ZodNumber>;
1267
+ }, "strip", z.ZodTypeAny, {
1268
+ count?: number | undefined;
1269
+ }, {
1270
+ count?: number | undefined;
1271
+ }>;
1272
+ errors: ({
1273
+ status: number;
1274
+ description: string;
1275
+ schema: z.ZodVoid;
1276
+ } | {
1277
+ status: number;
1278
+ schema: z.ZodVoid;
1279
+ description?: undefined;
1280
+ })[];
1281
+ };
1282
+ export declare const postV1xboxtranslate: {
1283
+ method: "post";
1284
+ path: string;
1285
+ baseUrl: string;
1286
+ requestFormat: "json";
1287
+ parameters: {
1288
+ body: z.ZodObject<{
1289
+ ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ ids?: string[] | undefined;
1292
+ }, {
1293
+ ids?: string[] | undefined;
1294
+ }>;
1295
+ };
1296
+ response: z.ZodObject<{
1297
+ Users: z.ZodOptional<z.ZodArray<z.ZodObject<{
1298
+ Id: z.ZodOptional<z.ZodString>;
1299
+ UserId: z.ZodOptional<z.ZodNumber>;
1300
+ Username: z.ZodOptional<z.ZodString>;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ Id?: string | undefined;
1303
+ UserId?: number | undefined;
1304
+ Username?: string | undefined;
1305
+ }, {
1306
+ Id?: string | undefined;
1307
+ UserId?: number | undefined;
1308
+ Username?: string | undefined;
1309
+ }>, "many">>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ Users?: {
1312
+ Id?: string | undefined;
1313
+ UserId?: number | undefined;
1314
+ Username?: string | undefined;
1315
+ }[] | undefined;
1316
+ }, {
1317
+ Users?: {
1318
+ Id?: string | undefined;
1319
+ UserId?: number | undefined;
1320
+ Username?: string | undefined;
1321
+ }[] | undefined;
1322
+ }>;
1323
+ errors: {
1324
+ status: number;
1325
+ description: string;
1326
+ schema: z.ZodVoid;
1327
+ }[];
1328
+ };