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