rozod 2.0.0 → 2.0.2

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 +55 -15
  2. package/lib/endpoints/accountinformationv1.js +193 -128
  3. package/lib/endpoints/accountsettingsv1.d.ts +60 -6
  4. package/lib/endpoints/accountsettingsv1.js +204 -118
  5. package/lib/endpoints/assetdeliveryv1.d.ts +431 -0
  6. package/lib/endpoints/assetdeliveryv1.js +442 -10
  7. package/lib/endpoints/assetdeliveryv2.d.ts +431 -0
  8. package/lib/endpoints/assetdeliveryv2.js +443 -12
  9. package/lib/endpoints/authv1.d.ts +162 -36
  10. package/lib/endpoints/authv1.js +399 -201
  11. package/lib/endpoints/authv2.d.ts +108 -0
  12. package/lib/endpoints/authv2.js +353 -160
  13. package/lib/endpoints/authv3.d.ts +6 -0
  14. package/lib/endpoints/authv3.js +16 -8
  15. package/lib/endpoints/avatarv1.d.ts +94 -0
  16. package/lib/endpoints/avatarv1.js +239 -111
  17. package/lib/endpoints/avatarv2.d.ts +26 -0
  18. package/lib/endpoints/avatarv2.js +109 -59
  19. package/lib/endpoints/avatarv3.d.ts +20 -0
  20. package/lib/endpoints/avatarv3.js +83 -41
  21. package/lib/endpoints/badgesv1.d.ts +80 -3
  22. package/lib/endpoints/badgesv1.js +137 -51
  23. package/lib/endpoints/catalogv1.d.ts +183 -25
  24. package/lib/endpoints/catalogv1.js +307 -131
  25. package/lib/endpoints/chatv2.d.ts +105 -0
  26. package/lib/endpoints/chatv2.js +219 -114
  27. package/lib/endpoints/developv1.d.ts +411 -36
  28. package/lib/endpoints/developv1.js +707 -254
  29. package/lib/endpoints/developv2.d.ts +46 -0
  30. package/lib/endpoints/developv2.js +108 -36
  31. package/lib/endpoints/economyv1.js +7 -7
  32. package/lib/endpoints/friendsv1.d.ts +147 -0
  33. package/lib/endpoints/friendsv1.js +309 -114
  34. package/lib/endpoints/gamejoinv1.d.ts +2321 -0
  35. package/lib/endpoints/gamejoinv1.js +416 -0
  36. package/lib/endpoints/gamesv1.d.ts +319 -14
  37. package/lib/endpoints/gamesv1.js +531 -188
  38. package/lib/endpoints/gamesv2.d.ts +89 -0
  39. package/lib/endpoints/gamesv2.js +108 -19
  40. package/lib/endpoints/groupsv1.d.ts +602 -94
  41. package/lib/endpoints/groupsv1.js +1131 -456
  42. package/lib/endpoints/groupsv2.d.ts +33 -0
  43. package/lib/endpoints/groupsv2.js +74 -37
  44. package/lib/endpoints/inventoryv1.d.ts +108 -9
  45. package/lib/endpoints/inventoryv1.js +166 -45
  46. package/lib/endpoints/inventoryv2.d.ts +62 -1
  47. package/lib/endpoints/inventoryv2.js +91 -26
  48. package/lib/endpoints/presencev1.d.ts +14 -5
  49. package/lib/endpoints/presencev1.js +30 -21
  50. package/lib/endpoints/privatemessagesv1.d.ts +39 -0
  51. package/lib/endpoints/privatemessagesv1.js +90 -51
  52. package/lib/endpoints/thumbnailsv1.d.ts +309 -21
  53. package/lib/endpoints/thumbnailsv1.js +410 -63
  54. package/lib/endpoints/tradesv1.d.ts +51 -0
  55. package/lib/endpoints/tradesv1.js +148 -59
  56. package/lib/endpoints/translationsv1.d.ts +33 -0
  57. package/lib/endpoints/translationsv1.js +49 -14
  58. package/lib/endpoints/usersv1.d.ts +67 -0
  59. package/lib/endpoints/usersv1.js +138 -58
  60. package/lib/index.d.ts +4 -0
  61. package/lib/index.js +151 -240
  62. package/package.json +6 -3
@@ -35,6 +35,9 @@ export declare const postBirthdate: {
35
35
  path: string;
36
36
  baseUrl: string;
37
37
  requestFormat: "json";
38
+ serializationMethod: {
39
+ body: {};
40
+ };
38
41
  parameters: {
39
42
  body: z.ZodObject<{
40
43
  birthMonth: z.ZodNumber;
@@ -90,6 +93,9 @@ export declare const postDescription: {
90
93
  path: string;
91
94
  baseUrl: string;
92
95
  requestFormat: "json";
96
+ serializationMethod: {
97
+ body: {};
98
+ };
93
99
  parameters: {
94
100
  body: z.ZodObject<{
95
101
  description: z.ZodString;
@@ -121,6 +127,9 @@ export declare const postEmailVerify: {
121
127
  path: string;
122
128
  baseUrl: string;
123
129
  requestFormat: "json";
130
+ serializationMethod: {
131
+ body: {};
132
+ };
124
133
  parameters: {
125
134
  body: z.ZodObject<{
126
135
  ticket: z.ZodString;
@@ -173,6 +182,9 @@ export declare const postGender: {
173
182
  path: string;
174
183
  baseUrl: string;
175
184
  requestFormat: "json";
185
+ serializationMethod: {
186
+ body: {};
187
+ };
176
188
  parameters: {
177
189
  body: z.ZodObject<{
178
190
  gender: z.ZodString;
@@ -278,6 +290,9 @@ export declare const postPhone: {
278
290
  path: string;
279
291
  baseUrl: string;
280
292
  requestFormat: "json";
293
+ serializationMethod: {
294
+ body: {};
295
+ };
281
296
  parameters: {
282
297
  body: z.ZodObject<{
283
298
  countryCode: z.ZodString;
@@ -312,6 +327,9 @@ export declare const postPhoneDelete: {
312
327
  path: string;
313
328
  baseUrl: string;
314
329
  requestFormat: "json";
330
+ serializationMethod: {
331
+ body: {};
332
+ };
315
333
  parameters: {
316
334
  body: z.ZodObject<{
317
335
  countryCode: z.ZodString;
@@ -346,6 +364,9 @@ export declare const postPhoneResend: {
346
364
  path: string;
347
365
  baseUrl: string;
348
366
  requestFormat: "json";
367
+ serializationMethod: {
368
+ body: {};
369
+ };
349
370
  parameters: {
350
371
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
351
372
  };
@@ -365,6 +386,9 @@ export declare const postPhoneVerify: {
365
386
  path: string;
366
387
  baseUrl: string;
367
388
  requestFormat: "json";
389
+ serializationMethod: {
390
+ body: {};
391
+ };
368
392
  parameters: {
369
393
  body: z.ZodObject<{
370
394
  code: z.ZodString;
@@ -426,6 +450,9 @@ export declare const postPromotionChannels: {
426
450
  path: string;
427
451
  baseUrl: string;
428
452
  requestFormat: "json";
453
+ serializationMethod: {
454
+ body: {};
455
+ };
429
456
  parameters: {
430
457
  body: z.ZodObject<{
431
458
  facebook: z.ZodString;
@@ -457,21 +484,6 @@ export declare const postPromotionChannels: {
457
484
  schema: z.ZodVoid;
458
485
  }[];
459
486
  };
460
- /**
461
- * @api delete https://accountinformation.roblox.com/v1/star-code-affiliates
462
- */
463
- export declare const deleteStarCodeAffiliates: {
464
- method: "delete";
465
- path: string;
466
- baseUrl: string;
467
- requestFormat: "json";
468
- response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
469
- errors: {
470
- status: number;
471
- description: string;
472
- schema: z.ZodVoid;
473
- }[];
474
- };
475
487
  /**
476
488
  * @api get https://accountinformation.roblox.com/v1/star-code-affiliates
477
489
  */
@@ -508,6 +520,9 @@ export declare const postStarCodeAffiliates: {
508
520
  path: string;
509
521
  baseUrl: string;
510
522
  requestFormat: "json";
523
+ serializationMethod: {
524
+ body: {};
525
+ };
511
526
  parameters: {
512
527
  body: z.ZodObject<{
513
528
  code: z.ZodString;
@@ -536,6 +551,21 @@ export declare const postStarCodeAffiliates: {
536
551
  schema: z.ZodVoid;
537
552
  }[];
538
553
  };
554
+ /**
555
+ * @api delete https://accountinformation.roblox.com/v1/star-code-affiliates
556
+ */
557
+ export declare const deleteStarCodeAffiliates: {
558
+ method: "delete";
559
+ path: string;
560
+ baseUrl: string;
561
+ requestFormat: "json";
562
+ response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
563
+ errors: {
564
+ status: number;
565
+ description: string;
566
+ schema: z.ZodVoid;
567
+ }[];
568
+ };
539
569
  /**
540
570
  * @api get https://accountinformation.roblox.com/v1/users/:userId/promotion-channels
541
571
  * @param userId
@@ -545,6 +575,11 @@ export declare const getUsersUseridPromotionChannels: {
545
575
  path: string;
546
576
  baseUrl: string;
547
577
  requestFormat: "json";
578
+ serializationMethod: {
579
+ userId: {
580
+ style: string;
581
+ };
582
+ };
548
583
  parameters: {
549
584
  userId: z.ZodNumber;
550
585
  };
@@ -582,6 +617,11 @@ export declare const getUsersUseridRobloxBadges: {
582
617
  path: string;
583
618
  baseUrl: string;
584
619
  requestFormat: "json";
620
+ serializationMethod: {
621
+ userId: {
622
+ style: string;
623
+ };
624
+ };
585
625
  parameters: {
586
626
  userId: z.ZodNumber;
587
627
  };