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,599 @@
1
+ import { z } from 'zod';
2
+ export declare const getV1aliasAlias: {
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
+ Location: z.ZodOptional<z.ZodString>;
24
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
25
+ Code: z.ZodOptional<z.ZodNumber>;
26
+ Message: z.ZodOptional<z.ZodString>;
27
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ Code?: number | undefined;
30
+ Message?: string | undefined;
31
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
32
+ }, {
33
+ Code?: number | undefined;
34
+ Message?: string | undefined;
35
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
36
+ }>, "many">>;
37
+ RequestId: z.ZodOptional<z.ZodString>;
38
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
39
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
40
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ Location?: string | undefined;
43
+ Errors?: {
44
+ Code?: number | undefined;
45
+ Message?: string | undefined;
46
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
47
+ }[] | undefined;
48
+ RequestId?: string | undefined;
49
+ IsHashDynamic?: boolean | undefined;
50
+ IsCopyrightProtected?: boolean | undefined;
51
+ IsArchived?: boolean | undefined;
52
+ }, {
53
+ Location?: string | undefined;
54
+ Errors?: {
55
+ Code?: number | undefined;
56
+ Message?: string | undefined;
57
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
58
+ }[] | undefined;
59
+ RequestId?: string | undefined;
60
+ IsHashDynamic?: boolean | undefined;
61
+ IsCopyrightProtected?: boolean | undefined;
62
+ IsArchived?: boolean | undefined;
63
+ }>;
64
+ errors: never[];
65
+ };
66
+ export declare const getV1asset: {
67
+ method: "get";
68
+ path: string;
69
+ baseUrl: string;
70
+ requestFormat: "json";
71
+ parameters: {
72
+ 'Accept-Encoding': z.ZodString;
73
+ 'Roblox-Place-Id': z.ZodNumber;
74
+ AssetType: z.ZodString;
75
+ Accept: z.ZodString;
76
+ AssetFormat: z.ZodString;
77
+ 'Roblox-AssetFormat': z.ZodString;
78
+ id: z.ZodOptional<z.ZodNumber>;
79
+ userAssetId: z.ZodOptional<z.ZodNumber>;
80
+ assetVersionId: z.ZodOptional<z.ZodNumber>;
81
+ version: z.ZodOptional<z.ZodNumber>;
82
+ universeId: z.ZodOptional<z.ZodNumber>;
83
+ clientInsert: z.ZodOptional<z.ZodNumber>;
84
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
85
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
86
+ serverplaceid: z.ZodOptional<z.ZodString>;
87
+ assetName: z.ZodOptional<z.ZodString>;
88
+ hash: z.ZodOptional<z.ZodString>;
89
+ marAssetHash: z.ZodOptional<z.ZodString>;
90
+ marCheckSum: z.ZodOptional<z.ZodString>;
91
+ expectedAssetType: z.ZodOptional<z.ZodString>;
92
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
93
+ permissionContext: z.ZodOptional<z.ZodString>;
94
+ };
95
+ response: z.ZodVoid;
96
+ errors: never[];
97
+ };
98
+ export declare const getV1assetHashHash: {
99
+ method: "get";
100
+ path: string;
101
+ baseUrl: string;
102
+ requestFormat: "json";
103
+ parameters: {
104
+ hash: z.ZodString;
105
+ 'Accept-Encoding': z.ZodString;
106
+ 'Roblox-Place-Id': z.ZodNumber;
107
+ AssetType: z.ZodString;
108
+ Accept: z.ZodString;
109
+ AssetFormat: z.ZodString;
110
+ 'Roblox-AssetFormat': z.ZodString;
111
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
112
+ clientInsert: z.ZodOptional<z.ZodNumber>;
113
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
114
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
115
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
116
+ expectedAssetType: z.ZodOptional<z.ZodString>;
117
+ };
118
+ response: z.ZodObject<{
119
+ Location: z.ZodOptional<z.ZodString>;
120
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
121
+ Code: z.ZodOptional<z.ZodNumber>;
122
+ Message: z.ZodOptional<z.ZodString>;
123
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ Code?: number | undefined;
126
+ Message?: string | undefined;
127
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
128
+ }, {
129
+ Code?: number | undefined;
130
+ Message?: string | undefined;
131
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
132
+ }>, "many">>;
133
+ RequestId: z.ZodOptional<z.ZodString>;
134
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
135
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
136
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ Location?: string | undefined;
139
+ Errors?: {
140
+ Code?: number | undefined;
141
+ Message?: string | undefined;
142
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
143
+ }[] | undefined;
144
+ RequestId?: string | undefined;
145
+ IsHashDynamic?: boolean | undefined;
146
+ IsCopyrightProtected?: boolean | undefined;
147
+ IsArchived?: boolean | undefined;
148
+ }, {
149
+ Location?: string | undefined;
150
+ Errors?: {
151
+ Code?: number | undefined;
152
+ Message?: string | undefined;
153
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
154
+ }[] | undefined;
155
+ RequestId?: string | undefined;
156
+ IsHashDynamic?: boolean | undefined;
157
+ IsCopyrightProtected?: boolean | undefined;
158
+ IsArchived?: boolean | undefined;
159
+ }>;
160
+ errors: never[];
161
+ };
162
+ export declare const getV1assetIdAssetId: {
163
+ method: "get";
164
+ path: string;
165
+ baseUrl: string;
166
+ requestFormat: "json";
167
+ parameters: {
168
+ assetId: z.ZodNumber;
169
+ 'Accept-Encoding': z.ZodString;
170
+ 'Roblox-Place-Id': z.ZodNumber;
171
+ AssetType: z.ZodString;
172
+ Accept: z.ZodString;
173
+ AssetFormat: z.ZodString;
174
+ 'Roblox-AssetFormat': z.ZodString;
175
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
176
+ clientInsert: z.ZodOptional<z.ZodNumber>;
177
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
178
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
179
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
180
+ expectedAssetType: z.ZodOptional<z.ZodString>;
181
+ };
182
+ response: z.ZodObject<{
183
+ Location: z.ZodOptional<z.ZodString>;
184
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
185
+ Code: z.ZodOptional<z.ZodNumber>;
186
+ Message: z.ZodOptional<z.ZodString>;
187
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ Code?: number | undefined;
190
+ Message?: string | undefined;
191
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
192
+ }, {
193
+ Code?: number | undefined;
194
+ Message?: string | undefined;
195
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
196
+ }>, "many">>;
197
+ RequestId: z.ZodOptional<z.ZodString>;
198
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
199
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
200
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ Location?: string | undefined;
203
+ Errors?: {
204
+ Code?: number | undefined;
205
+ Message?: string | undefined;
206
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
207
+ }[] | undefined;
208
+ RequestId?: string | undefined;
209
+ IsHashDynamic?: boolean | undefined;
210
+ IsCopyrightProtected?: boolean | undefined;
211
+ IsArchived?: boolean | undefined;
212
+ }, {
213
+ Location?: string | undefined;
214
+ Errors?: {
215
+ Code?: number | undefined;
216
+ Message?: string | undefined;
217
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
218
+ }[] | undefined;
219
+ RequestId?: string | undefined;
220
+ IsHashDynamic?: boolean | undefined;
221
+ IsCopyrightProtected?: boolean | undefined;
222
+ IsArchived?: boolean | undefined;
223
+ }>;
224
+ errors: never[];
225
+ };
226
+ export declare const getV1assetIdAssetIdversionVersion: {
227
+ method: "get";
228
+ path: string;
229
+ baseUrl: string;
230
+ requestFormat: "json";
231
+ parameters: {
232
+ assetId: z.ZodNumber;
233
+ version: z.ZodNumber;
234
+ 'Accept-Encoding': z.ZodString;
235
+ 'Roblox-Place-Id': z.ZodNumber;
236
+ AssetType: z.ZodString;
237
+ Accept: z.ZodString;
238
+ AssetFormat: z.ZodString;
239
+ 'Roblox-AssetFormat': z.ZodString;
240
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
241
+ clientInsert: z.ZodOptional<z.ZodNumber>;
242
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
243
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
244
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
245
+ expectedAssetType: z.ZodOptional<z.ZodString>;
246
+ };
247
+ response: z.ZodObject<{
248
+ Location: z.ZodOptional<z.ZodString>;
249
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
+ Code: z.ZodOptional<z.ZodNumber>;
251
+ Message: z.ZodOptional<z.ZodString>;
252
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ Code?: number | undefined;
255
+ Message?: string | undefined;
256
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
257
+ }, {
258
+ Code?: number | undefined;
259
+ Message?: string | undefined;
260
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
261
+ }>, "many">>;
262
+ RequestId: z.ZodOptional<z.ZodString>;
263
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
264
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
265
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ Location?: string | undefined;
268
+ Errors?: {
269
+ Code?: number | undefined;
270
+ Message?: string | undefined;
271
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
272
+ }[] | undefined;
273
+ RequestId?: string | undefined;
274
+ IsHashDynamic?: boolean | undefined;
275
+ IsCopyrightProtected?: boolean | undefined;
276
+ IsArchived?: boolean | undefined;
277
+ }, {
278
+ Location?: string | undefined;
279
+ Errors?: {
280
+ Code?: number | undefined;
281
+ Message?: string | undefined;
282
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
283
+ }[] | undefined;
284
+ RequestId?: string | undefined;
285
+ IsHashDynamic?: boolean | undefined;
286
+ IsCopyrightProtected?: boolean | undefined;
287
+ IsArchived?: boolean | undefined;
288
+ }>;
289
+ errors: never[];
290
+ };
291
+ export declare const postV1assetsbatch: {
292
+ method: "post";
293
+ path: string;
294
+ baseUrl: string;
295
+ requestFormat: "json";
296
+ parameters: {
297
+ body: z.ZodArray<z.ZodObject<{
298
+ assetName: z.ZodOptional<z.ZodString>;
299
+ assetType: z.ZodOptional<z.ZodString>;
300
+ clientInsert: z.ZodOptional<z.ZodBoolean>;
301
+ placeId: z.ZodOptional<z.ZodNumber>;
302
+ requestId: z.ZodOptional<z.ZodString>;
303
+ scriptInsert: z.ZodOptional<z.ZodBoolean>;
304
+ serverPlaceId: z.ZodOptional<z.ZodNumber>;
305
+ universeId: z.ZodOptional<z.ZodNumber>;
306
+ accept: z.ZodOptional<z.ZodString>;
307
+ encoding: z.ZodOptional<z.ZodString>;
308
+ hash: z.ZodOptional<z.ZodString>;
309
+ userAssetId: z.ZodOptional<z.ZodNumber>;
310
+ assetId: z.ZodOptional<z.ZodNumber>;
311
+ version: z.ZodOptional<z.ZodNumber>;
312
+ assetVersionId: z.ZodOptional<z.ZodNumber>;
313
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
314
+ assetFormat: z.ZodOptional<z.ZodString>;
315
+ 'roblox-assetFormat': z.ZodOptional<z.ZodString>;
316
+ }, "strip", z.ZodTypeAny, {
317
+ assetName?: string | undefined;
318
+ assetType?: string | undefined;
319
+ clientInsert?: boolean | undefined;
320
+ placeId?: number | undefined;
321
+ requestId?: string | undefined;
322
+ scriptInsert?: boolean | undefined;
323
+ serverPlaceId?: number | undefined;
324
+ universeId?: number | undefined;
325
+ accept?: string | undefined;
326
+ encoding?: string | undefined;
327
+ hash?: string | undefined;
328
+ userAssetId?: number | undefined;
329
+ assetId?: number | undefined;
330
+ version?: number | undefined;
331
+ assetVersionId?: number | undefined;
332
+ modulePlaceId?: number | undefined;
333
+ assetFormat?: string | undefined;
334
+ 'roblox-assetFormat'?: string | undefined;
335
+ }, {
336
+ assetName?: string | undefined;
337
+ assetType?: string | undefined;
338
+ clientInsert?: boolean | undefined;
339
+ placeId?: number | undefined;
340
+ requestId?: string | undefined;
341
+ scriptInsert?: boolean | undefined;
342
+ serverPlaceId?: number | undefined;
343
+ universeId?: number | undefined;
344
+ accept?: string | undefined;
345
+ encoding?: string | undefined;
346
+ hash?: string | undefined;
347
+ userAssetId?: number | undefined;
348
+ assetId?: number | undefined;
349
+ version?: number | undefined;
350
+ assetVersionId?: number | undefined;
351
+ modulePlaceId?: number | undefined;
352
+ assetFormat?: string | undefined;
353
+ 'roblox-assetFormat'?: string | undefined;
354
+ }>, "many">;
355
+ 'Roblox-Place-Id': z.ZodNumber;
356
+ Accept: z.ZodString;
357
+ 'Roblox-Browser-Asset-Request': z.ZodString;
358
+ };
359
+ response: z.ZodArray<z.ZodObject<{
360
+ Location: z.ZodOptional<z.ZodString>;
361
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
362
+ Code: z.ZodOptional<z.ZodNumber>;
363
+ Message: z.ZodOptional<z.ZodString>;
364
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ Code?: number | undefined;
367
+ Message?: string | undefined;
368
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
369
+ }, {
370
+ Code?: number | undefined;
371
+ Message?: string | undefined;
372
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
373
+ }>, "many">>;
374
+ RequestId: z.ZodOptional<z.ZodString>;
375
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
376
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
377
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ Location?: string | undefined;
380
+ Errors?: {
381
+ Code?: number | undefined;
382
+ Message?: string | undefined;
383
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
384
+ }[] | undefined;
385
+ RequestId?: string | undefined;
386
+ IsHashDynamic?: boolean | undefined;
387
+ IsCopyrightProtected?: boolean | undefined;
388
+ IsArchived?: boolean | undefined;
389
+ }, {
390
+ Location?: string | undefined;
391
+ Errors?: {
392
+ Code?: number | undefined;
393
+ Message?: string | undefined;
394
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
395
+ }[] | undefined;
396
+ RequestId?: string | undefined;
397
+ IsHashDynamic?: boolean | undefined;
398
+ IsCopyrightProtected?: boolean | undefined;
399
+ IsArchived?: boolean | undefined;
400
+ }>, "many">;
401
+ errors: never[];
402
+ };
403
+ export declare const getV1assetVersionIdAssetVersionId: {
404
+ method: "get";
405
+ path: string;
406
+ baseUrl: string;
407
+ requestFormat: "json";
408
+ parameters: {
409
+ assetVersionId: z.ZodNumber;
410
+ 'Accept-Encoding': z.ZodString;
411
+ 'Roblox-Place-Id': z.ZodNumber;
412
+ AssetType: z.ZodString;
413
+ Accept: z.ZodString;
414
+ AssetFormat: z.ZodString;
415
+ 'Roblox-AssetFormat': z.ZodString;
416
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
417
+ clientInsert: z.ZodOptional<z.ZodNumber>;
418
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
419
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
420
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
421
+ expectedAssetType: z.ZodOptional<z.ZodString>;
422
+ };
423
+ response: z.ZodObject<{
424
+ Location: z.ZodOptional<z.ZodString>;
425
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
426
+ Code: z.ZodOptional<z.ZodNumber>;
427
+ Message: z.ZodOptional<z.ZodString>;
428
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ Code?: number | undefined;
431
+ Message?: string | undefined;
432
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
433
+ }, {
434
+ Code?: number | undefined;
435
+ Message?: string | undefined;
436
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
437
+ }>, "many">>;
438
+ RequestId: z.ZodOptional<z.ZodString>;
439
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
440
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
441
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ Location?: string | undefined;
444
+ Errors?: {
445
+ Code?: number | undefined;
446
+ Message?: string | undefined;
447
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
448
+ }[] | undefined;
449
+ RequestId?: string | undefined;
450
+ IsHashDynamic?: boolean | undefined;
451
+ IsCopyrightProtected?: boolean | undefined;
452
+ IsArchived?: boolean | undefined;
453
+ }, {
454
+ Location?: string | undefined;
455
+ Errors?: {
456
+ Code?: number | undefined;
457
+ Message?: string | undefined;
458
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
459
+ }[] | undefined;
460
+ RequestId?: string | undefined;
461
+ IsHashDynamic?: boolean | undefined;
462
+ IsCopyrightProtected?: boolean | undefined;
463
+ IsArchived?: boolean | undefined;
464
+ }>;
465
+ errors: never[];
466
+ };
467
+ export declare const getV1marAssetHashMarAssetHashmarCheckSumMarCheckSum: {
468
+ method: "get";
469
+ path: string;
470
+ baseUrl: string;
471
+ requestFormat: "json";
472
+ parameters: {
473
+ marAssetHash: z.ZodString;
474
+ marCheckSum: z.ZodString;
475
+ 'Accept-Encoding': z.ZodString;
476
+ 'Roblox-Place-Id': z.ZodNumber;
477
+ AssetType: z.ZodString;
478
+ Accept: z.ZodString;
479
+ AssetFormat: z.ZodString;
480
+ 'Roblox-AssetFormat': z.ZodString;
481
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
482
+ clientInsert: z.ZodOptional<z.ZodNumber>;
483
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
484
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
485
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
486
+ expectedAssetType: z.ZodOptional<z.ZodString>;
487
+ };
488
+ response: z.ZodObject<{
489
+ Location: z.ZodOptional<z.ZodString>;
490
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
491
+ Code: z.ZodOptional<z.ZodNumber>;
492
+ Message: z.ZodOptional<z.ZodString>;
493
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ Code?: number | undefined;
496
+ Message?: string | undefined;
497
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
498
+ }, {
499
+ Code?: number | undefined;
500
+ Message?: string | undefined;
501
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
502
+ }>, "many">>;
503
+ RequestId: z.ZodOptional<z.ZodString>;
504
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
505
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
506
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
507
+ }, "strip", z.ZodTypeAny, {
508
+ Location?: string | undefined;
509
+ Errors?: {
510
+ Code?: number | undefined;
511
+ Message?: string | undefined;
512
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
513
+ }[] | undefined;
514
+ RequestId?: string | undefined;
515
+ IsHashDynamic?: boolean | undefined;
516
+ IsCopyrightProtected?: boolean | undefined;
517
+ IsArchived?: boolean | undefined;
518
+ }, {
519
+ Location?: string | undefined;
520
+ Errors?: {
521
+ Code?: number | undefined;
522
+ Message?: string | undefined;
523
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
524
+ }[] | undefined;
525
+ RequestId?: string | undefined;
526
+ IsHashDynamic?: boolean | undefined;
527
+ IsCopyrightProtected?: boolean | undefined;
528
+ IsArchived?: boolean | undefined;
529
+ }>;
530
+ errors: {
531
+ status: number;
532
+ description: string;
533
+ schema: z.ZodVoid;
534
+ }[];
535
+ };
536
+ export declare const getV1userAssetIdUserAssetId: {
537
+ method: "get";
538
+ path: string;
539
+ baseUrl: string;
540
+ requestFormat: "json";
541
+ parameters: {
542
+ userAssetId: z.ZodNumber;
543
+ 'Accept-Encoding': z.ZodString;
544
+ 'Roblox-Place-Id': z.ZodNumber;
545
+ AssetType: z.ZodString;
546
+ Accept: z.ZodString;
547
+ AssetFormat: z.ZodString;
548
+ 'Roblox-AssetFormat': z.ZodString;
549
+ skipSigningScripts: z.ZodOptional<z.ZodBoolean>;
550
+ clientInsert: z.ZodOptional<z.ZodNumber>;
551
+ scriptinsert: z.ZodOptional<z.ZodNumber>;
552
+ modulePlaceId: z.ZodOptional<z.ZodNumber>;
553
+ serverplaceid: z.ZodOptional<z.ZodNumber>;
554
+ expectedAssetType: z.ZodOptional<z.ZodString>;
555
+ };
556
+ response: z.ZodObject<{
557
+ Location: z.ZodOptional<z.ZodString>;
558
+ Errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
559
+ Code: z.ZodOptional<z.ZodNumber>;
560
+ Message: z.ZodOptional<z.ZodString>;
561
+ CustomErrorCode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
562
+ }, "strip", z.ZodTypeAny, {
563
+ Code?: number | undefined;
564
+ Message?: string | undefined;
565
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
566
+ }, {
567
+ Code?: number | undefined;
568
+ Message?: string | undefined;
569
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
570
+ }>, "many">>;
571
+ RequestId: z.ZodOptional<z.ZodString>;
572
+ IsHashDynamic: z.ZodOptional<z.ZodBoolean>;
573
+ IsCopyrightProtected: z.ZodOptional<z.ZodBoolean>;
574
+ IsArchived: z.ZodOptional<z.ZodBoolean>;
575
+ }, "strip", z.ZodTypeAny, {
576
+ Location?: string | undefined;
577
+ Errors?: {
578
+ Code?: number | undefined;
579
+ Message?: string | undefined;
580
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
581
+ }[] | undefined;
582
+ RequestId?: string | undefined;
583
+ IsHashDynamic?: boolean | undefined;
584
+ IsCopyrightProtected?: boolean | undefined;
585
+ IsArchived?: boolean | undefined;
586
+ }, {
587
+ Location?: string | undefined;
588
+ Errors?: {
589
+ Code?: number | undefined;
590
+ Message?: string | undefined;
591
+ CustomErrorCode?: 0 | 2 | 1 | undefined;
592
+ }[] | undefined;
593
+ RequestId?: string | undefined;
594
+ IsHashDynamic?: boolean | undefined;
595
+ IsCopyrightProtected?: boolean | undefined;
596
+ IsArchived?: boolean | undefined;
597
+ }>;
598
+ errors: never[];
599
+ };