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
@@ -20,6 +20,53 @@ export declare const getAliasAlias: {
20
20
  path: string;
21
21
  baseUrl: string;
22
22
  requestFormat: "json";
23
+ serializationMethod: {
24
+ alias: {
25
+ style: string;
26
+ };
27
+ 'Accept-Encoding': {
28
+ style: string;
29
+ };
30
+ 'Roblox-Place-Id': {
31
+ style: string;
32
+ };
33
+ AssetType: {
34
+ style: string;
35
+ };
36
+ Accept: {
37
+ style: string;
38
+ };
39
+ AssetFormat: {
40
+ style: string;
41
+ };
42
+ 'Roblox-AssetFormat': {
43
+ style: string;
44
+ };
45
+ skipSigningScripts: {
46
+ style: string;
47
+ explode: boolean;
48
+ };
49
+ clientInsert: {
50
+ style: string;
51
+ explode: boolean;
52
+ };
53
+ scriptinsert: {
54
+ style: string;
55
+ explode: boolean;
56
+ };
57
+ modulePlaceId: {
58
+ style: string;
59
+ explode: boolean;
60
+ };
61
+ serverplaceid: {
62
+ style: string;
63
+ explode: boolean;
64
+ };
65
+ expectedAssetType: {
66
+ style: string;
67
+ explode: boolean;
68
+ };
69
+ };
23
70
  parameters: {
24
71
  alias: z.ZodString;
25
72
  'Accept-Encoding': z.ZodString;
@@ -109,6 +156,90 @@ export declare const getAsset: {
109
156
  path: string;
110
157
  baseUrl: string;
111
158
  requestFormat: "json";
159
+ serializationMethod: {
160
+ 'Accept-Encoding': {
161
+ style: string;
162
+ };
163
+ 'Roblox-Place-Id': {
164
+ style: string;
165
+ };
166
+ AssetType: {
167
+ style: string;
168
+ };
169
+ Accept: {
170
+ style: string;
171
+ };
172
+ AssetFormat: {
173
+ style: string;
174
+ };
175
+ 'Roblox-AssetFormat': {
176
+ style: string;
177
+ };
178
+ id: {
179
+ style: string;
180
+ explode: boolean;
181
+ };
182
+ userAssetId: {
183
+ style: string;
184
+ explode: boolean;
185
+ };
186
+ assetVersionId: {
187
+ style: string;
188
+ explode: boolean;
189
+ };
190
+ version: {
191
+ style: string;
192
+ explode: boolean;
193
+ };
194
+ universeId: {
195
+ style: string;
196
+ explode: boolean;
197
+ };
198
+ clientInsert: {
199
+ style: string;
200
+ explode: boolean;
201
+ };
202
+ scriptinsert: {
203
+ style: string;
204
+ explode: boolean;
205
+ };
206
+ modulePlaceId: {
207
+ style: string;
208
+ explode: boolean;
209
+ };
210
+ serverplaceid: {
211
+ style: string;
212
+ explode: boolean;
213
+ };
214
+ assetName: {
215
+ style: string;
216
+ explode: boolean;
217
+ };
218
+ hash: {
219
+ style: string;
220
+ explode: boolean;
221
+ };
222
+ marAssetHash: {
223
+ style: string;
224
+ explode: boolean;
225
+ };
226
+ marCheckSum: {
227
+ style: string;
228
+ explode: boolean;
229
+ };
230
+ expectedAssetType: {
231
+ style: string;
232
+ explode: boolean;
233
+ };
234
+ skipSigningScripts: {
235
+ style: string;
236
+ explode: boolean;
237
+ };
238
+ permissionContext: {
239
+ style: string;
240
+ explode: boolean;
241
+ };
242
+ };
112
243
  parameters: {
113
244
  'Accept-Encoding': z.ZodString;
114
245
  'Roblox-Place-Id': z.ZodNumber;
@@ -157,6 +288,53 @@ export declare const getAssethashHash: {
157
288
  path: string;
158
289
  baseUrl: string;
159
290
  requestFormat: "json";
291
+ serializationMethod: {
292
+ hash: {
293
+ style: string;
294
+ };
295
+ 'Accept-Encoding': {
296
+ style: string;
297
+ };
298
+ 'Roblox-Place-Id': {
299
+ style: string;
300
+ };
301
+ AssetType: {
302
+ style: string;
303
+ };
304
+ Accept: {
305
+ style: string;
306
+ };
307
+ AssetFormat: {
308
+ style: string;
309
+ };
310
+ 'Roblox-AssetFormat': {
311
+ style: string;
312
+ };
313
+ skipSigningScripts: {
314
+ style: string;
315
+ explode: boolean;
316
+ };
317
+ clientInsert: {
318
+ style: string;
319
+ explode: boolean;
320
+ };
321
+ scriptinsert: {
322
+ style: string;
323
+ explode: boolean;
324
+ };
325
+ modulePlaceId: {
326
+ style: string;
327
+ explode: boolean;
328
+ };
329
+ serverplaceid: {
330
+ style: string;
331
+ explode: boolean;
332
+ };
333
+ expectedAssetType: {
334
+ style: string;
335
+ explode: boolean;
336
+ };
337
+ };
160
338
  parameters: {
161
339
  hash: z.ZodString;
162
340
  'Accept-Encoding': z.ZodString;
@@ -237,6 +415,53 @@ export declare const getAssetidAssetid: {
237
415
  path: string;
238
416
  baseUrl: string;
239
417
  requestFormat: "json";
418
+ serializationMethod: {
419
+ assetId: {
420
+ style: string;
421
+ };
422
+ 'Accept-Encoding': {
423
+ style: string;
424
+ };
425
+ 'Roblox-Place-Id': {
426
+ style: string;
427
+ };
428
+ AssetType: {
429
+ style: string;
430
+ };
431
+ Accept: {
432
+ style: string;
433
+ };
434
+ AssetFormat: {
435
+ style: string;
436
+ };
437
+ 'Roblox-AssetFormat': {
438
+ style: string;
439
+ };
440
+ skipSigningScripts: {
441
+ style: string;
442
+ explode: boolean;
443
+ };
444
+ clientInsert: {
445
+ style: string;
446
+ explode: boolean;
447
+ };
448
+ scriptinsert: {
449
+ style: string;
450
+ explode: boolean;
451
+ };
452
+ modulePlaceId: {
453
+ style: string;
454
+ explode: boolean;
455
+ };
456
+ serverplaceid: {
457
+ style: string;
458
+ explode: boolean;
459
+ };
460
+ expectedAssetType: {
461
+ style: string;
462
+ explode: boolean;
463
+ };
464
+ };
240
465
  parameters: {
241
466
  assetId: z.ZodNumber;
242
467
  'Accept-Encoding': z.ZodString;
@@ -318,6 +543,56 @@ export declare const getAssetidAssetidVersionVersion: {
318
543
  path: string;
319
544
  baseUrl: string;
320
545
  requestFormat: "json";
546
+ serializationMethod: {
547
+ assetId: {
548
+ style: string;
549
+ };
550
+ version: {
551
+ style: string;
552
+ };
553
+ 'Accept-Encoding': {
554
+ style: string;
555
+ };
556
+ 'Roblox-Place-Id': {
557
+ style: string;
558
+ };
559
+ AssetType: {
560
+ style: string;
561
+ };
562
+ Accept: {
563
+ style: string;
564
+ };
565
+ AssetFormat: {
566
+ style: string;
567
+ };
568
+ 'Roblox-AssetFormat': {
569
+ style: string;
570
+ };
571
+ skipSigningScripts: {
572
+ style: string;
573
+ explode: boolean;
574
+ };
575
+ clientInsert: {
576
+ style: string;
577
+ explode: boolean;
578
+ };
579
+ scriptinsert: {
580
+ style: string;
581
+ explode: boolean;
582
+ };
583
+ modulePlaceId: {
584
+ style: string;
585
+ explode: boolean;
586
+ };
587
+ serverplaceid: {
588
+ style: string;
589
+ explode: boolean;
590
+ };
591
+ expectedAssetType: {
592
+ style: string;
593
+ explode: boolean;
594
+ };
595
+ };
321
596
  parameters: {
322
597
  assetId: z.ZodNumber;
323
598
  version: z.ZodNumber;
@@ -390,6 +665,18 @@ export declare const postAssetsBatch: {
390
665
  path: string;
391
666
  baseUrl: string;
392
667
  requestFormat: "json";
668
+ serializationMethod: {
669
+ body: {};
670
+ 'Roblox-Place-Id': {
671
+ style: string;
672
+ };
673
+ Accept: {
674
+ style: string;
675
+ };
676
+ 'Roblox-Browser-Asset-Request': {
677
+ style: string;
678
+ };
679
+ };
393
680
  parameters: {
394
681
  body: z.ZodArray<z.ZodObject<{
395
682
  assetName: z.ZodString;
@@ -518,6 +805,53 @@ export declare const getAssetversionidAssetversionid: {
518
805
  path: string;
519
806
  baseUrl: string;
520
807
  requestFormat: "json";
808
+ serializationMethod: {
809
+ assetVersionId: {
810
+ style: string;
811
+ };
812
+ 'Accept-Encoding': {
813
+ style: string;
814
+ };
815
+ 'Roblox-Place-Id': {
816
+ style: string;
817
+ };
818
+ AssetType: {
819
+ style: string;
820
+ };
821
+ Accept: {
822
+ style: string;
823
+ };
824
+ AssetFormat: {
825
+ style: string;
826
+ };
827
+ 'Roblox-AssetFormat': {
828
+ style: string;
829
+ };
830
+ skipSigningScripts: {
831
+ style: string;
832
+ explode: boolean;
833
+ };
834
+ clientInsert: {
835
+ style: string;
836
+ explode: boolean;
837
+ };
838
+ scriptinsert: {
839
+ style: string;
840
+ explode: boolean;
841
+ };
842
+ modulePlaceId: {
843
+ style: string;
844
+ explode: boolean;
845
+ };
846
+ serverplaceid: {
847
+ style: string;
848
+ explode: boolean;
849
+ };
850
+ expectedAssetType: {
851
+ style: string;
852
+ explode: boolean;
853
+ };
854
+ };
521
855
  parameters: {
522
856
  assetVersionId: z.ZodNumber;
523
857
  'Accept-Encoding': z.ZodString;
@@ -599,6 +933,56 @@ export declare const getMarassethashMarassethashMarchecksumMarchecksum: {
599
933
  path: string;
600
934
  baseUrl: string;
601
935
  requestFormat: "json";
936
+ serializationMethod: {
937
+ marAssetHash: {
938
+ style: string;
939
+ };
940
+ marCheckSum: {
941
+ style: string;
942
+ };
943
+ 'Accept-Encoding': {
944
+ style: string;
945
+ };
946
+ 'Roblox-Place-Id': {
947
+ style: string;
948
+ };
949
+ AssetType: {
950
+ style: string;
951
+ };
952
+ Accept: {
953
+ style: string;
954
+ };
955
+ AssetFormat: {
956
+ style: string;
957
+ };
958
+ 'Roblox-AssetFormat': {
959
+ style: string;
960
+ };
961
+ skipSigningScripts: {
962
+ style: string;
963
+ explode: boolean;
964
+ };
965
+ clientInsert: {
966
+ style: string;
967
+ explode: boolean;
968
+ };
969
+ scriptinsert: {
970
+ style: string;
971
+ explode: boolean;
972
+ };
973
+ modulePlaceId: {
974
+ style: string;
975
+ explode: boolean;
976
+ };
977
+ serverplaceid: {
978
+ style: string;
979
+ explode: boolean;
980
+ };
981
+ expectedAssetType: {
982
+ style: string;
983
+ explode: boolean;
984
+ };
985
+ };
602
986
  parameters: {
603
987
  marAssetHash: z.ZodString;
604
988
  marCheckSum: z.ZodString;
@@ -684,6 +1068,53 @@ export declare const getUserassetidUserassetid: {
684
1068
  path: string;
685
1069
  baseUrl: string;
686
1070
  requestFormat: "json";
1071
+ serializationMethod: {
1072
+ userAssetId: {
1073
+ style: string;
1074
+ };
1075
+ 'Accept-Encoding': {
1076
+ style: string;
1077
+ };
1078
+ 'Roblox-Place-Id': {
1079
+ style: string;
1080
+ };
1081
+ AssetType: {
1082
+ style: string;
1083
+ };
1084
+ Accept: {
1085
+ style: string;
1086
+ };
1087
+ AssetFormat: {
1088
+ style: string;
1089
+ };
1090
+ 'Roblox-AssetFormat': {
1091
+ style: string;
1092
+ };
1093
+ skipSigningScripts: {
1094
+ style: string;
1095
+ explode: boolean;
1096
+ };
1097
+ clientInsert: {
1098
+ style: string;
1099
+ explode: boolean;
1100
+ };
1101
+ scriptinsert: {
1102
+ style: string;
1103
+ explode: boolean;
1104
+ };
1105
+ modulePlaceId: {
1106
+ style: string;
1107
+ explode: boolean;
1108
+ };
1109
+ serverplaceid: {
1110
+ style: string;
1111
+ explode: boolean;
1112
+ };
1113
+ expectedAssetType: {
1114
+ style: string;
1115
+ explode: boolean;
1116
+ };
1117
+ };
687
1118
  parameters: {
688
1119
  userAssetId: z.ZodNumber;
689
1120
  'Accept-Encoding': z.ZodString;