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,780 @@
1
+ import { z } from 'zod';
2
+ export declare const getV2aliasAlias: {
3
+ method: "get";
4
+ path: string;
5
+ baseUrl: string;
6
+ requestFormat: "json";
7
+ parameters: {
8
+ alias: z.ZodString;
9
+ 'Accept-Encoding': z.ZodString;
10
+ 'Roblox-Place-Id': z.ZodNumber;
11
+ AssetType: z.ZodString;
12
+ Accept: z.ZodString;
13
+ AssetFormat: z.ZodString;
14
+ 'Roblox-AssetFormat': z.ZodString;
15
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
16
+ clientInsert: z.ZodOptional<z.ZodNumber>;
17
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
18
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
19
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
20
+ expectedAssetType: z.ZodOptional<z.ZodString>;
21
+ };
22
+ response: z.ZodObject<{
23
+ Locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
24
+ assetFormat: z.ZodOptional<z.ZodString>;
25
+ location: z.ZodOptional<z.ZodString>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ assetFormat?: string | undefined;
28
+ location?: string | undefined;
29
+ }, {
30
+ assetFormat?: string | undefined;
31
+ location?: string | undefined;
32
+ }>, "many">>;
33
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
34
+ Code: z.ZodOptional<z.ZodNumber>;
35
+ Message: z.ZodOptional<z.ZodString>;
36
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ Code?: number | undefined;
39
+ Message?: string | undefined;
40
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
41
+ }, {
42
+ Code?: number | undefined;
43
+ Message?: string | undefined;
44
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
45
+ }>, "many">>;
46
+ RequestId: z.ZodOptional<z.ZodString>;
47
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
48
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
49
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
50
+ AssetTypeId: z.ZodOptional<z.ZodNumber>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ Locations?: {
53
+ assetFormat?: string | undefined;
54
+ location?: string | undefined;
55
+ }[] | undefined;
56
+ Errors?: {
57
+ Code?: number | undefined;
58
+ Message?: string | undefined;
59
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
60
+ }[] | undefined;
61
+ RequestId?: string | undefined;
62
+ IsHashDynamic?: boolean | undefined;
63
+ IsCopyrightProtected?: boolean | undefined;
64
+ IsArchived?: boolean | undefined;
65
+ AssetTypeId?: number | undefined;
66
+ }, {
67
+ Locations?: {
68
+ assetFormat?: string | undefined;
69
+ location?: string | undefined;
70
+ }[] | undefined;
71
+ Errors?: {
72
+ Code?: number | undefined;
73
+ Message?: string | undefined;
74
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
75
+ }[] | undefined;
76
+ RequestId?: string | undefined;
77
+ IsHashDynamic?: boolean | undefined;
78
+ IsCopyrightProtected?: boolean | undefined;
79
+ IsArchived?: boolean | undefined;
80
+ AssetTypeId?: number | undefined;
81
+ }>;
82
+ errors: never[];
83
+ };
84
+ export declare const getV2asset: {
85
+ method: "get";
86
+ path: string;
87
+ baseUrl: string;
88
+ requestFormat: "json";
89
+ parameters: {
90
+ 'Accept-Encoding': z.ZodString;
91
+ 'Roblox-Place-Id': z.ZodNumber;
92
+ AssetType: z.ZodString;
93
+ Accept: z.ZodString;
94
+ AssetFormat: z.ZodString;
95
+ 'Roblox-AssetFormat': z.ZodString;
96
+ id: z.ZodOptional<z.ZodNumber>;
97
+ userAssetId: z.ZodOptional<z.ZodNumber>;
98
+ assetVersionId: z.ZodOptional<z.ZodNumber>;
99
+ version: z.ZodOptional<z.ZodNumber>;
100
+ universeId: z.ZodOptional<z.ZodNumber>;
101
+ clientInsert: z.ZodOptional<z.ZodNumber>;
102
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
103
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
104
+ serverplaceid: z.ZodOptional<z.ZodString>;
105
+ assetName: z.ZodOptional<z.ZodString>;
106
+ hash: z.ZodOptional<z.ZodString>;
107
+ marAssetHash: z.ZodOptional<z.ZodString>;
108
+ marCheckSum: z.ZodOptional<z.ZodString>;
109
+ expectedAssetType: z.ZodOptional<z.ZodString>;
110
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
111
+ permissionContext: z.ZodOptional<z.ZodString>;
112
+ };
113
+ response: z.ZodObject<{
114
+ Locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
115
+ assetFormat: z.ZodOptional<z.ZodString>;
116
+ location: z.ZodOptional<z.ZodString>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ assetFormat?: string | undefined;
119
+ location?: string | undefined;
120
+ }, {
121
+ assetFormat?: string | undefined;
122
+ location?: string | undefined;
123
+ }>, "many">>;
124
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
+ Code: z.ZodOptional<z.ZodNumber>;
126
+ Message: z.ZodOptional<z.ZodString>;
127
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ Code?: number | undefined;
130
+ Message?: string | undefined;
131
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
132
+ }, {
133
+ Code?: number | undefined;
134
+ Message?: string | undefined;
135
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
136
+ }>, "many">>;
137
+ RequestId: z.ZodOptional<z.ZodString>;
138
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
139
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
140
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
141
+ AssetTypeId: z.ZodOptional<z.ZodNumber>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ Locations?: {
144
+ assetFormat?: string | undefined;
145
+ location?: string | undefined;
146
+ }[] | undefined;
147
+ Errors?: {
148
+ Code?: number | undefined;
149
+ Message?: string | undefined;
150
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
151
+ }[] | undefined;
152
+ RequestId?: string | undefined;
153
+ IsHashDynamic?: boolean | undefined;
154
+ IsCopyrightProtected?: boolean | undefined;
155
+ IsArchived?: boolean | undefined;
156
+ AssetTypeId?: number | undefined;
157
+ }, {
158
+ Locations?: {
159
+ assetFormat?: string | undefined;
160
+ location?: string | undefined;
161
+ }[] | undefined;
162
+ Errors?: {
163
+ Code?: number | undefined;
164
+ Message?: string | undefined;
165
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
166
+ }[] | undefined;
167
+ RequestId?: string | undefined;
168
+ IsHashDynamic?: boolean | undefined;
169
+ IsCopyrightProtected?: boolean | undefined;
170
+ IsArchived?: boolean | undefined;
171
+ AssetTypeId?: number | undefined;
172
+ }>;
173
+ errors: never[];
174
+ };
175
+ export declare const getV2assetHashHash: {
176
+ method: "get";
177
+ path: string;
178
+ baseUrl: string;
179
+ requestFormat: "json";
180
+ parameters: {
181
+ hash: z.ZodString;
182
+ 'Accept-Encoding': z.ZodString;
183
+ 'Roblox-Place-Id': z.ZodNumber;
184
+ AssetType: z.ZodString;
185
+ Accept: z.ZodString;
186
+ AssetFormat: z.ZodString;
187
+ 'Roblox-AssetFormat': z.ZodString;
188
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
189
+ clientInsert: z.ZodOptional<z.ZodNumber>;
190
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
191
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
192
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
193
+ expectedAssetType: z.ZodOptional<z.ZodString>;
194
+ };
195
+ response: z.ZodObject<{
196
+ Locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
197
+ assetFormat: z.ZodOptional<z.ZodString>;
198
+ location: z.ZodOptional<z.ZodString>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ assetFormat?: string | undefined;
201
+ location?: string | undefined;
202
+ }, {
203
+ assetFormat?: string | undefined;
204
+ location?: string | undefined;
205
+ }>, "many">>;
206
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
207
+ Code: z.ZodOptional<z.ZodNumber>;
208
+ Message: z.ZodOptional<z.ZodString>;
209
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ Code?: number | undefined;
212
+ Message?: string | undefined;
213
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
214
+ }, {
215
+ Code?: number | undefined;
216
+ Message?: string | undefined;
217
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
218
+ }>, "many">>;
219
+ RequestId: z.ZodOptional<z.ZodString>;
220
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
221
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
222
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
223
+ AssetTypeId: z.ZodOptional<z.ZodNumber>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ Locations?: {
226
+ assetFormat?: string | undefined;
227
+ location?: string | undefined;
228
+ }[] | undefined;
229
+ Errors?: {
230
+ Code?: number | undefined;
231
+ Message?: string | undefined;
232
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
233
+ }[] | undefined;
234
+ RequestId?: string | undefined;
235
+ IsHashDynamic?: boolean | undefined;
236
+ IsCopyrightProtected?: boolean | undefined;
237
+ IsArchived?: boolean | undefined;
238
+ AssetTypeId?: number | undefined;
239
+ }, {
240
+ Locations?: {
241
+ assetFormat?: string | undefined;
242
+ location?: string | undefined;
243
+ }[] | undefined;
244
+ Errors?: {
245
+ Code?: number | undefined;
246
+ Message?: string | undefined;
247
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
248
+ }[] | undefined;
249
+ RequestId?: string | undefined;
250
+ IsHashDynamic?: boolean | undefined;
251
+ IsCopyrightProtected?: boolean | undefined;
252
+ IsArchived?: boolean | undefined;
253
+ AssetTypeId?: number | undefined;
254
+ }>;
255
+ errors: never[];
256
+ };
257
+ export declare const getV2assetIdAssetId: {
258
+ method: "get";
259
+ path: string;
260
+ baseUrl: string;
261
+ requestFormat: "json";
262
+ parameters: {
263
+ assetId: z.ZodNumber;
264
+ 'Accept-Encoding': z.ZodString;
265
+ 'Roblox-Place-Id': z.ZodNumber;
266
+ AssetType: z.ZodString;
267
+ Accept: z.ZodString;
268
+ AssetFormat: z.ZodString;
269
+ 'Roblox-AssetFormat': z.ZodString;
270
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
271
+ clientInsert: z.ZodOptional<z.ZodNumber>;
272
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
273
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
274
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
275
+ expectedAssetType: z.ZodOptional<z.ZodString>;
276
+ };
277
+ response: z.ZodObject<{
278
+ Locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
279
+ assetFormat: z.ZodOptional<z.ZodString>;
280
+ location: z.ZodOptional<z.ZodString>;
281
+ }, "strip", z.ZodTypeAny, {
282
+ assetFormat?: string | undefined;
283
+ location?: string | undefined;
284
+ }, {
285
+ assetFormat?: string | undefined;
286
+ location?: string | undefined;
287
+ }>, "many">>;
288
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
+ Code: z.ZodOptional<z.ZodNumber>;
290
+ Message: z.ZodOptional<z.ZodString>;
291
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ Code?: number | undefined;
294
+ Message?: string | undefined;
295
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
296
+ }, {
297
+ Code?: number | undefined;
298
+ Message?: string | undefined;
299
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
300
+ }>, "many">>;
301
+ RequestId: z.ZodOptional<z.ZodString>;
302
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
303
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
304
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
305
+ AssetTypeId: z.ZodOptional<z.ZodNumber>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ Locations?: {
308
+ assetFormat?: string | undefined;
309
+ location?: string | undefined;
310
+ }[] | undefined;
311
+ Errors?: {
312
+ Code?: number | undefined;
313
+ Message?: string | undefined;
314
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
315
+ }[] | undefined;
316
+ RequestId?: string | undefined;
317
+ IsHashDynamic?: boolean | undefined;
318
+ IsCopyrightProtected?: boolean | undefined;
319
+ IsArchived?: boolean | undefined;
320
+ AssetTypeId?: number | undefined;
321
+ }, {
322
+ Locations?: {
323
+ assetFormat?: string | undefined;
324
+ location?: string | undefined;
325
+ }[] | undefined;
326
+ Errors?: {
327
+ Code?: number | undefined;
328
+ Message?: string | undefined;
329
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
330
+ }[] | undefined;
331
+ RequestId?: string | undefined;
332
+ IsHashDynamic?: boolean | undefined;
333
+ IsCopyrightProtected?: boolean | undefined;
334
+ IsArchived?: boolean | undefined;
335
+ AssetTypeId?: number | undefined;
336
+ }>;
337
+ errors: never[];
338
+ };
339
+ export declare const getV2assetIdAssetIdversionVersion: {
340
+ method: "get";
341
+ path: string;
342
+ baseUrl: string;
343
+ requestFormat: "json";
344
+ parameters: {
345
+ assetId: z.ZodNumber;
346
+ version: z.ZodNumber;
347
+ 'Accept-Encoding': z.ZodString;
348
+ 'Roblox-Place-Id': z.ZodNumber;
349
+ AssetType: z.ZodString;
350
+ Accept: z.ZodString;
351
+ AssetFormat: z.ZodString;
352
+ 'Roblox-AssetFormat': z.ZodString;
353
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
354
+ clientInsert: z.ZodOptional<z.ZodNumber>;
355
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
356
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
357
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
358
+ expectedAssetType: z.ZodOptional<z.ZodString>;
359
+ };
360
+ response: z.ZodObject<{
361
+ Locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
362
+ assetFormat: z.ZodOptional<z.ZodString>;
363
+ location: z.ZodOptional<z.ZodString>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ assetFormat?: string | undefined;
366
+ location?: string | undefined;
367
+ }, {
368
+ assetFormat?: string | undefined;
369
+ location?: string | undefined;
370
+ }>, "many">>;
371
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
372
+ Code: z.ZodOptional<z.ZodNumber>;
373
+ Message: z.ZodOptional<z.ZodString>;
374
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ Code?: number | undefined;
377
+ Message?: string | undefined;
378
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
379
+ }, {
380
+ Code?: number | undefined;
381
+ Message?: string | undefined;
382
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
383
+ }>, "many">>;
384
+ RequestId: z.ZodOptional<z.ZodString>;
385
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
386
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
387
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
388
+ AssetTypeId: z.ZodOptional<z.ZodNumber>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ Locations?: {
391
+ assetFormat?: string | undefined;
392
+ location?: string | undefined;
393
+ }[] | undefined;
394
+ Errors?: {
395
+ Code?: number | undefined;
396
+ Message?: string | undefined;
397
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
398
+ }[] | undefined;
399
+ RequestId?: string | undefined;
400
+ IsHashDynamic?: boolean | undefined;
401
+ IsCopyrightProtected?: boolean | undefined;
402
+ IsArchived?: boolean | undefined;
403
+ AssetTypeId?: number | undefined;
404
+ }, {
405
+ Locations?: {
406
+ assetFormat?: string | undefined;
407
+ location?: string | undefined;
408
+ }[] | undefined;
409
+ Errors?: {
410
+ Code?: number | undefined;
411
+ Message?: string | undefined;
412
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
413
+ }[] | undefined;
414
+ RequestId?: string | undefined;
415
+ IsHashDynamic?: boolean | undefined;
416
+ IsCopyrightProtected?: boolean | undefined;
417
+ IsArchived?: boolean | undefined;
418
+ AssetTypeId?: number | undefined;
419
+ }>;
420
+ errors: never[];
421
+ };
422
+ export declare const postV2assetsbatch: {
423
+ method: "post";
424
+ path: string;
425
+ baseUrl: string;
426
+ requestFormat: "json";
427
+ parameters: {
428
+ body: z.ZodArray<z.ZodObject<{
429
+ assetName: z.ZodOptional<z.ZodString>;
430
+ assetType: z.ZodOptional<z.ZodString>;
431
+ clientInsert: z.ZodOptional<z.ZodBoolean>;
432
+ placeId: z.ZodOptional<z.ZodNumber>;
433
+ requestId: z.ZodOptional<z.ZodString>;
434
+ scriptInsert: z.ZodOptional<z.ZodBoolean>;
435
+ serverPlaceId: z.ZodOptional<z.ZodNumber>;
436
+ universeId: z.ZodOptional<z.ZodNumber>;
437
+ accept: z.ZodOptional<z.ZodString>;
438
+ encoding: z.ZodOptional<z.ZodString>;
439
+ hash: z.ZodOptional<z.ZodString>;
440
+ userAssetId: z.ZodOptional<z.ZodNumber>;
441
+ assetId: z.ZodOptional<z.ZodNumber>;
442
+ version: z.ZodOptional<z.ZodNumber>;
443
+ assetVersionId: z.ZodOptional<z.ZodNumber>;
444
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
445
+ assetFormat: z.ZodOptional<z.ZodString>;
446
+ 'roblox-assetFormat': z.ZodOptional<z.ZodString>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ assetName?: string | undefined;
449
+ assetType?: string | undefined;
450
+ clientInsert?: boolean | undefined;
451
+ placeId?: number | undefined;
452
+ requestId?: string | undefined;
453
+ scriptInsert?: boolean | undefined;
454
+ serverPlaceId?: number | undefined;
455
+ universeId?: number | undefined;
456
+ accept?: string | undefined;
457
+ encoding?: string | undefined;
458
+ hash?: string | undefined;
459
+ userAssetId?: number | undefined;
460
+ assetId?: number | undefined;
461
+ version?: number | undefined;
462
+ assetVersionId?: number | undefined;
463
+ modulePlaceId?: number | undefined;
464
+ assetFormat?: string | undefined;
465
+ 'roblox-assetFormat'?: string | undefined;
466
+ }, {
467
+ assetName?: string | undefined;
468
+ assetType?: string | undefined;
469
+ clientInsert?: boolean | undefined;
470
+ placeId?: number | undefined;
471
+ requestId?: string | undefined;
472
+ scriptInsert?: boolean | undefined;
473
+ serverPlaceId?: number | undefined;
474
+ universeId?: number | undefined;
475
+ accept?: string | undefined;
476
+ encoding?: string | undefined;
477
+ hash?: string | undefined;
478
+ userAssetId?: number | undefined;
479
+ assetId?: number | undefined;
480
+ version?: number | undefined;
481
+ assetVersionId?: number | undefined;
482
+ modulePlaceId?: number | undefined;
483
+ assetFormat?: string | undefined;
484
+ 'roblox-assetFormat'?: string | undefined;
485
+ }>, "many">;
486
+ 'Roblox-Place-Id': z.ZodNumber;
487
+ Accept: z.ZodString;
488
+ 'Roblox-Browser-Asset-Request': z.ZodString;
489
+ };
490
+ response: z.ZodArray<z.ZodObject<{
491
+ Locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
492
+ assetFormat: z.ZodOptional<z.ZodString>;
493
+ location: z.ZodOptional<z.ZodString>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ assetFormat?: string | undefined;
496
+ location?: string | undefined;
497
+ }, {
498
+ assetFormat?: string | undefined;
499
+ location?: string | undefined;
500
+ }>, "many">>;
501
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
502
+ Code: z.ZodOptional<z.ZodNumber>;
503
+ Message: z.ZodOptional<z.ZodString>;
504
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
505
+ }, "strip", z.ZodTypeAny, {
506
+ Code?: number | undefined;
507
+ Message?: string | undefined;
508
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
509
+ }, {
510
+ Code?: number | undefined;
511
+ Message?: string | undefined;
512
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
513
+ }>, "many">>;
514
+ RequestId: z.ZodOptional<z.ZodString>;
515
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
516
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
517
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
518
+ AssetTypeId: z.ZodOptional<z.ZodNumber>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ Locations?: {
521
+ assetFormat?: string | undefined;
522
+ location?: string | undefined;
523
+ }[] | undefined;
524
+ Errors?: {
525
+ Code?: number | undefined;
526
+ Message?: string | undefined;
527
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
528
+ }[] | undefined;
529
+ RequestId?: string | undefined;
530
+ IsHashDynamic?: boolean | undefined;
531
+ IsCopyrightProtected?: boolean | undefined;
532
+ IsArchived?: boolean | undefined;
533
+ AssetTypeId?: number | undefined;
534
+ }, {
535
+ Locations?: {
536
+ assetFormat?: string | undefined;
537
+ location?: string | undefined;
538
+ }[] | undefined;
539
+ Errors?: {
540
+ Code?: number | undefined;
541
+ Message?: string | undefined;
542
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
543
+ }[] | undefined;
544
+ RequestId?: string | undefined;
545
+ IsHashDynamic?: boolean | undefined;
546
+ IsCopyrightProtected?: boolean | undefined;
547
+ IsArchived?: boolean | undefined;
548
+ AssetTypeId?: number | undefined;
549
+ }>, "many">;
550
+ errors: never[];
551
+ };
552
+ export declare const getV2assetVersionIdAssetVersionId: {
553
+ method: "get";
554
+ path: string;
555
+ baseUrl: string;
556
+ requestFormat: "json";
557
+ parameters: {
558
+ assetVersionId: z.ZodNumber;
559
+ 'Accept-Encoding': z.ZodString;
560
+ 'Roblox-Place-Id': z.ZodNumber;
561
+ AssetType: z.ZodString;
562
+ Accept: z.ZodString;
563
+ AssetFormat: z.ZodString;
564
+ 'Roblox-AssetFormat': z.ZodString;
565
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
566
+ clientInsert: z.ZodOptional<z.ZodNumber>;
567
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
568
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
569
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
570
+ expectedAssetType: z.ZodOptional<z.ZodString>;
571
+ };
572
+ response: z.ZodObject<{
573
+ Locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
574
+ assetFormat: z.ZodOptional<z.ZodString>;
575
+ location: z.ZodOptional<z.ZodString>;
576
+ }, "strip", z.ZodTypeAny, {
577
+ assetFormat?: string | undefined;
578
+ location?: string | undefined;
579
+ }, {
580
+ assetFormat?: string | undefined;
581
+ location?: string | undefined;
582
+ }>, "many">>;
583
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
584
+ Code: z.ZodOptional<z.ZodNumber>;
585
+ Message: z.ZodOptional<z.ZodString>;
586
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ Code?: number | undefined;
589
+ Message?: string | undefined;
590
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
591
+ }, {
592
+ Code?: number | undefined;
593
+ Message?: string | undefined;
594
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
595
+ }>, "many">>;
596
+ RequestId: z.ZodOptional<z.ZodString>;
597
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
598
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
599
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
600
+ AssetTypeId: z.ZodOptional<z.ZodNumber>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ Locations?: {
603
+ assetFormat?: string | undefined;
604
+ location?: string | undefined;
605
+ }[] | undefined;
606
+ Errors?: {
607
+ Code?: number | undefined;
608
+ Message?: string | undefined;
609
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
610
+ }[] | undefined;
611
+ RequestId?: string | undefined;
612
+ IsHashDynamic?: boolean | undefined;
613
+ IsCopyrightProtected?: boolean | undefined;
614
+ IsArchived?: boolean | undefined;
615
+ AssetTypeId?: number | undefined;
616
+ }, {
617
+ Locations?: {
618
+ assetFormat?: string | undefined;
619
+ location?: string | undefined;
620
+ }[] | undefined;
621
+ Errors?: {
622
+ Code?: number | undefined;
623
+ Message?: string | undefined;
624
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
625
+ }[] | undefined;
626
+ RequestId?: string | undefined;
627
+ IsHashDynamic?: boolean | undefined;
628
+ IsCopyrightProtected?: boolean | undefined;
629
+ IsArchived?: boolean | undefined;
630
+ AssetTypeId?: number | undefined;
631
+ }>;
632
+ errors: never[];
633
+ };
634
+ export declare const getV2marAssetHashMarAssetHashmarCheckSumMarCheckSum: {
635
+ method: "get";
636
+ path: string;
637
+ baseUrl: string;
638
+ requestFormat: "json";
639
+ parameters: {
640
+ marAssetHash: z.ZodString;
641
+ marCheckSum: z.ZodString;
642
+ 'Accept-Encoding': z.ZodString;
643
+ 'Roblox-Place-Id': z.ZodNumber;
644
+ AssetType: z.ZodString;
645
+ Accept: z.ZodString;
646
+ AssetFormat: z.ZodString;
647
+ 'Roblox-AssetFormat': z.ZodString;
648
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
649
+ clientInsert: z.ZodOptional<z.ZodNumber>;
650
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
651
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
652
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
653
+ expectedAssetType: z.ZodOptional<z.ZodString>;
654
+ };
655
+ response: z.ZodObject<{
656
+ Location: z.ZodOptional<z.ZodString>;
657
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
658
+ Code: z.ZodOptional<z.ZodNumber>;
659
+ Message: z.ZodOptional<z.ZodString>;
660
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ Code?: number | undefined;
663
+ Message?: string | undefined;
664
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
665
+ }, {
666
+ Code?: number | undefined;
667
+ Message?: string | undefined;
668
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
669
+ }>, "many">>;
670
+ RequestId: z.ZodOptional<z.ZodString>;
671
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
672
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
673
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ Location?: string | undefined;
676
+ Errors?: {
677
+ Code?: number | undefined;
678
+ Message?: string | undefined;
679
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
680
+ }[] | undefined;
681
+ RequestId?: string | undefined;
682
+ IsHashDynamic?: boolean | undefined;
683
+ IsCopyrightProtected?: boolean | undefined;
684
+ IsArchived?: boolean | undefined;
685
+ }, {
686
+ Location?: string | undefined;
687
+ Errors?: {
688
+ Code?: number | undefined;
689
+ Message?: string | undefined;
690
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
691
+ }[] | undefined;
692
+ RequestId?: string | undefined;
693
+ IsHashDynamic?: boolean | undefined;
694
+ IsCopyrightProtected?: boolean | undefined;
695
+ IsArchived?: boolean | undefined;
696
+ }>;
697
+ errors: never[];
698
+ };
699
+ export declare const getV2userAssetIdUserAssetId: {
700
+ method: "get";
701
+ path: string;
702
+ baseUrl: string;
703
+ requestFormat: "json";
704
+ parameters: {
705
+ userAssetId: z.ZodNumber;
706
+ 'Accept-Encoding': z.ZodString;
707
+ 'Roblox-Place-Id': z.ZodNumber;
708
+ AssetType: z.ZodString;
709
+ Accept: z.ZodString;
710
+ AssetFormat: z.ZodString;
711
+ 'Roblox-AssetFormat': z.ZodString;
712
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
713
+ clientInsert: z.ZodOptional<z.ZodNumber>;
714
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
715
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
716
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
717
+ expectedAssetType: z.ZodOptional<z.ZodString>;
718
+ };
719
+ response: z.ZodObject<{
720
+ Locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
721
+ assetFormat: z.ZodOptional<z.ZodString>;
722
+ location: z.ZodOptional<z.ZodString>;
723
+ }, "strip", z.ZodTypeAny, {
724
+ assetFormat?: string | undefined;
725
+ location?: string | undefined;
726
+ }, {
727
+ assetFormat?: string | undefined;
728
+ location?: string | undefined;
729
+ }>, "many">>;
730
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
731
+ Code: z.ZodOptional<z.ZodNumber>;
732
+ Message: z.ZodOptional<z.ZodString>;
733
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
734
+ }, "strip", z.ZodTypeAny, {
735
+ Code?: number | undefined;
736
+ Message?: string | undefined;
737
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
738
+ }, {
739
+ Code?: number | undefined;
740
+ Message?: string | undefined;
741
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
742
+ }>, "many">>;
743
+ RequestId: z.ZodOptional<z.ZodString>;
744
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
745
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
746
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
747
+ AssetTypeId: z.ZodOptional<z.ZodNumber>;
748
+ }, "strip", z.ZodTypeAny, {
749
+ Locations?: {
750
+ assetFormat?: string | undefined;
751
+ location?: string | undefined;
752
+ }[] | undefined;
753
+ Errors?: {
754
+ Code?: number | undefined;
755
+ Message?: string | undefined;
756
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
757
+ }[] | undefined;
758
+ RequestId?: string | undefined;
759
+ IsHashDynamic?: boolean | undefined;
760
+ IsCopyrightProtected?: boolean | undefined;
761
+ IsArchived?: boolean | undefined;
762
+ AssetTypeId?: number | undefined;
763
+ }, {
764
+ Locations?: {
765
+ assetFormat?: string | undefined;
766
+ location?: string | undefined;
767
+ }[] | undefined;
768
+ Errors?: {
769
+ Code?: number | undefined;
770
+ Message?: string | undefined;
771
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
772
+ }[] | undefined;
773
+ RequestId?: string | undefined;
774
+ IsHashDynamic?: boolean | undefined;
775
+ IsCopyrightProtected?: boolean | undefined;
776
+ IsArchived?: boolean | undefined;
777
+ AssetTypeId?: number | undefined;
778
+ }>;
779
+ errors: never[];
780
+ };