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.
- package/lib/endpoints/accountinformationv1.d.ts +55 -15
- package/lib/endpoints/accountinformationv1.js +193 -128
- package/lib/endpoints/accountsettingsv1.d.ts +60 -6
- package/lib/endpoints/accountsettingsv1.js +204 -118
- package/lib/endpoints/assetdeliveryv1.d.ts +431 -0
- package/lib/endpoints/assetdeliveryv1.js +442 -10
- package/lib/endpoints/assetdeliveryv2.d.ts +431 -0
- package/lib/endpoints/assetdeliveryv2.js +443 -12
- package/lib/endpoints/authv1.d.ts +162 -36
- package/lib/endpoints/authv1.js +399 -201
- package/lib/endpoints/authv2.d.ts +108 -0
- package/lib/endpoints/authv2.js +353 -160
- package/lib/endpoints/authv3.d.ts +6 -0
- package/lib/endpoints/authv3.js +16 -8
- package/lib/endpoints/avatarv1.d.ts +94 -0
- package/lib/endpoints/avatarv1.js +239 -111
- package/lib/endpoints/avatarv2.d.ts +26 -0
- package/lib/endpoints/avatarv2.js +109 -59
- package/lib/endpoints/avatarv3.d.ts +20 -0
- package/lib/endpoints/avatarv3.js +83 -41
- package/lib/endpoints/badgesv1.d.ts +80 -3
- package/lib/endpoints/badgesv1.js +137 -51
- package/lib/endpoints/catalogv1.d.ts +183 -25
- package/lib/endpoints/catalogv1.js +307 -131
- package/lib/endpoints/chatv2.d.ts +105 -0
- package/lib/endpoints/chatv2.js +219 -114
- package/lib/endpoints/developv1.d.ts +411 -36
- package/lib/endpoints/developv1.js +707 -254
- package/lib/endpoints/developv2.d.ts +46 -0
- package/lib/endpoints/developv2.js +108 -36
- package/lib/endpoints/economyv1.js +7 -7
- package/lib/endpoints/friendsv1.d.ts +147 -0
- package/lib/endpoints/friendsv1.js +309 -114
- package/lib/endpoints/gamejoinv1.d.ts +2321 -0
- package/lib/endpoints/gamejoinv1.js +416 -0
- package/lib/endpoints/gamesv1.d.ts +319 -14
- package/lib/endpoints/gamesv1.js +531 -188
- package/lib/endpoints/gamesv2.d.ts +89 -0
- package/lib/endpoints/gamesv2.js +108 -19
- package/lib/endpoints/groupsv1.d.ts +602 -94
- package/lib/endpoints/groupsv1.js +1131 -456
- package/lib/endpoints/groupsv2.d.ts +33 -0
- package/lib/endpoints/groupsv2.js +74 -37
- package/lib/endpoints/inventoryv1.d.ts +108 -9
- package/lib/endpoints/inventoryv1.js +166 -45
- package/lib/endpoints/inventoryv2.d.ts +62 -1
- package/lib/endpoints/inventoryv2.js +91 -26
- package/lib/endpoints/presencev1.d.ts +14 -5
- package/lib/endpoints/presencev1.js +30 -21
- package/lib/endpoints/privatemessagesv1.d.ts +39 -0
- package/lib/endpoints/privatemessagesv1.js +90 -51
- package/lib/endpoints/thumbnailsv1.d.ts +309 -21
- package/lib/endpoints/thumbnailsv1.js +410 -63
- package/lib/endpoints/tradesv1.d.ts +51 -0
- package/lib/endpoints/tradesv1.js +148 -59
- package/lib/endpoints/translationsv1.d.ts +33 -0
- package/lib/endpoints/translationsv1.js +49 -14
- package/lib/endpoints/usersv1.d.ts +67 -0
- package/lib/endpoints/usersv1.js +138 -58
- package/lib/index.d.ts +4 -0
- package/lib/index.js +151 -240
- package/package.json +6 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getUserassetidUserassetid = exports.getMarassethashMarassethashMarchecksumMarchecksum = exports.getAssetversionidAssetversionid = exports.postAssetsBatch = exports.getAssetidAssetidVersionVersion = exports.getAssetidAssetid = exports.getAssethashHash = exports.getAsset = exports.getAliasAlias = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const Roblox_Web_Assets_IAssetItemError = zod_1.z.object({
|
|
6
6
|
Code: zod_1.z.number().int(),
|
|
7
7
|
Message: zod_1.z.string(),
|
|
8
8
|
CustomErrorCode: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2)]),
|
|
9
9
|
});
|
|
10
|
-
|
|
10
|
+
const Roblox_Web_Assets_IAssetResponseItem = zod_1.z.object({
|
|
11
11
|
Location: zod_1.z.string(),
|
|
12
12
|
Errors: zod_1.z.array(Roblox_Web_Assets_IAssetItemError),
|
|
13
13
|
RequestId: zod_1.z.string(),
|
|
@@ -15,7 +15,7 @@ var Roblox_Web_Assets_IAssetResponseItem = zod_1.z.object({
|
|
|
15
15
|
IsCopyrightProtected: zod_1.z.boolean(),
|
|
16
16
|
IsArchived: zod_1.z.boolean(),
|
|
17
17
|
});
|
|
18
|
-
|
|
18
|
+
const Roblox_Web_Assets_BatchAssetRequestItem = zod_1.z.object({
|
|
19
19
|
assetName: zod_1.z.string(),
|
|
20
20
|
assetType: zod_1.z.string(),
|
|
21
21
|
clientInsert: zod_1.z.boolean(),
|
|
@@ -35,10 +35,10 @@ var Roblox_Web_Assets_BatchAssetRequestItem = zod_1.z.object({
|
|
|
35
35
|
assetFormat: zod_1.z.string(),
|
|
36
36
|
'roblox-assetFormat': zod_1.z.string(),
|
|
37
37
|
});
|
|
38
|
-
|
|
39
|
-
Roblox_Web_Assets_IAssetItemError
|
|
40
|
-
Roblox_Web_Assets_IAssetResponseItem
|
|
41
|
-
Roblox_Web_Assets_BatchAssetRequestItem
|
|
38
|
+
const schemas = {
|
|
39
|
+
Roblox_Web_Assets_IAssetItemError,
|
|
40
|
+
Roblox_Web_Assets_IAssetResponseItem,
|
|
41
|
+
Roblox_Web_Assets_BatchAssetRequestItem,
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
44
|
* @api get https://assetdelivery.roblox.com/v1/alias/:alias
|
|
@@ -61,6 +61,53 @@ exports.getAliasAlias = {
|
|
|
61
61
|
path: '/v1/alias/:alias',
|
|
62
62
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
63
63
|
requestFormat: 'json',
|
|
64
|
+
serializationMethod: {
|
|
65
|
+
alias: {
|
|
66
|
+
style: 'simple',
|
|
67
|
+
},
|
|
68
|
+
'Accept-Encoding': {
|
|
69
|
+
style: 'simple',
|
|
70
|
+
},
|
|
71
|
+
'Roblox-Place-Id': {
|
|
72
|
+
style: 'simple',
|
|
73
|
+
},
|
|
74
|
+
AssetType: {
|
|
75
|
+
style: 'simple',
|
|
76
|
+
},
|
|
77
|
+
Accept: {
|
|
78
|
+
style: 'simple',
|
|
79
|
+
},
|
|
80
|
+
AssetFormat: {
|
|
81
|
+
style: 'simple',
|
|
82
|
+
},
|
|
83
|
+
'Roblox-AssetFormat': {
|
|
84
|
+
style: 'simple',
|
|
85
|
+
},
|
|
86
|
+
skipSigningScripts: {
|
|
87
|
+
style: 'form',
|
|
88
|
+
explode: true,
|
|
89
|
+
},
|
|
90
|
+
clientInsert: {
|
|
91
|
+
style: 'form',
|
|
92
|
+
explode: true,
|
|
93
|
+
},
|
|
94
|
+
scriptinsert: {
|
|
95
|
+
style: 'form',
|
|
96
|
+
explode: true,
|
|
97
|
+
},
|
|
98
|
+
modulePlaceId: {
|
|
99
|
+
style: 'form',
|
|
100
|
+
explode: true,
|
|
101
|
+
},
|
|
102
|
+
serverplaceid: {
|
|
103
|
+
style: 'form',
|
|
104
|
+
explode: true,
|
|
105
|
+
},
|
|
106
|
+
expectedAssetType: {
|
|
107
|
+
style: 'form',
|
|
108
|
+
explode: true,
|
|
109
|
+
},
|
|
110
|
+
},
|
|
64
111
|
parameters: {
|
|
65
112
|
alias: zod_1.z.string().regex(/^[0-9]+\\/),
|
|
66
113
|
'Accept-Encoding': zod_1.z.string(),
|
|
@@ -109,6 +156,90 @@ exports.getAsset = {
|
|
|
109
156
|
path: '/v1/asset',
|
|
110
157
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
111
158
|
requestFormat: 'json',
|
|
159
|
+
serializationMethod: {
|
|
160
|
+
'Accept-Encoding': {
|
|
161
|
+
style: 'simple',
|
|
162
|
+
},
|
|
163
|
+
'Roblox-Place-Id': {
|
|
164
|
+
style: 'simple',
|
|
165
|
+
},
|
|
166
|
+
AssetType: {
|
|
167
|
+
style: 'simple',
|
|
168
|
+
},
|
|
169
|
+
Accept: {
|
|
170
|
+
style: 'simple',
|
|
171
|
+
},
|
|
172
|
+
AssetFormat: {
|
|
173
|
+
style: 'simple',
|
|
174
|
+
},
|
|
175
|
+
'Roblox-AssetFormat': {
|
|
176
|
+
style: 'simple',
|
|
177
|
+
},
|
|
178
|
+
id: {
|
|
179
|
+
style: 'form',
|
|
180
|
+
explode: true,
|
|
181
|
+
},
|
|
182
|
+
userAssetId: {
|
|
183
|
+
style: 'form',
|
|
184
|
+
explode: true,
|
|
185
|
+
},
|
|
186
|
+
assetVersionId: {
|
|
187
|
+
style: 'form',
|
|
188
|
+
explode: true,
|
|
189
|
+
},
|
|
190
|
+
version: {
|
|
191
|
+
style: 'form',
|
|
192
|
+
explode: true,
|
|
193
|
+
},
|
|
194
|
+
universeId: {
|
|
195
|
+
style: 'form',
|
|
196
|
+
explode: true,
|
|
197
|
+
},
|
|
198
|
+
clientInsert: {
|
|
199
|
+
style: 'form',
|
|
200
|
+
explode: true,
|
|
201
|
+
},
|
|
202
|
+
scriptinsert: {
|
|
203
|
+
style: 'form',
|
|
204
|
+
explode: true,
|
|
205
|
+
},
|
|
206
|
+
modulePlaceId: {
|
|
207
|
+
style: 'form',
|
|
208
|
+
explode: true,
|
|
209
|
+
},
|
|
210
|
+
serverplaceid: {
|
|
211
|
+
style: 'form',
|
|
212
|
+
explode: true,
|
|
213
|
+
},
|
|
214
|
+
assetName: {
|
|
215
|
+
style: 'form',
|
|
216
|
+
explode: true,
|
|
217
|
+
},
|
|
218
|
+
hash: {
|
|
219
|
+
style: 'form',
|
|
220
|
+
explode: true,
|
|
221
|
+
},
|
|
222
|
+
marAssetHash: {
|
|
223
|
+
style: 'form',
|
|
224
|
+
explode: true,
|
|
225
|
+
},
|
|
226
|
+
marCheckSum: {
|
|
227
|
+
style: 'form',
|
|
228
|
+
explode: true,
|
|
229
|
+
},
|
|
230
|
+
expectedAssetType: {
|
|
231
|
+
style: 'form',
|
|
232
|
+
explode: true,
|
|
233
|
+
},
|
|
234
|
+
skipSigningScripts: {
|
|
235
|
+
style: 'form',
|
|
236
|
+
explode: true,
|
|
237
|
+
},
|
|
238
|
+
permissionContext: {
|
|
239
|
+
style: 'form',
|
|
240
|
+
explode: true,
|
|
241
|
+
},
|
|
242
|
+
},
|
|
112
243
|
parameters: {
|
|
113
244
|
'Accept-Encoding': zod_1.z.string(),
|
|
114
245
|
'Roblox-Place-Id': zod_1.z.number().int(),
|
|
@@ -157,6 +288,53 @@ exports.getAssethashHash = {
|
|
|
157
288
|
path: '/v1/assetHash/:hash',
|
|
158
289
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
159
290
|
requestFormat: 'json',
|
|
291
|
+
serializationMethod: {
|
|
292
|
+
hash: {
|
|
293
|
+
style: 'simple',
|
|
294
|
+
},
|
|
295
|
+
'Accept-Encoding': {
|
|
296
|
+
style: 'simple',
|
|
297
|
+
},
|
|
298
|
+
'Roblox-Place-Id': {
|
|
299
|
+
style: 'simple',
|
|
300
|
+
},
|
|
301
|
+
AssetType: {
|
|
302
|
+
style: 'simple',
|
|
303
|
+
},
|
|
304
|
+
Accept: {
|
|
305
|
+
style: 'simple',
|
|
306
|
+
},
|
|
307
|
+
AssetFormat: {
|
|
308
|
+
style: 'simple',
|
|
309
|
+
},
|
|
310
|
+
'Roblox-AssetFormat': {
|
|
311
|
+
style: 'simple',
|
|
312
|
+
},
|
|
313
|
+
skipSigningScripts: {
|
|
314
|
+
style: 'form',
|
|
315
|
+
explode: true,
|
|
316
|
+
},
|
|
317
|
+
clientInsert: {
|
|
318
|
+
style: 'form',
|
|
319
|
+
explode: true,
|
|
320
|
+
},
|
|
321
|
+
scriptinsert: {
|
|
322
|
+
style: 'form',
|
|
323
|
+
explode: true,
|
|
324
|
+
},
|
|
325
|
+
modulePlaceId: {
|
|
326
|
+
style: 'form',
|
|
327
|
+
explode: true,
|
|
328
|
+
},
|
|
329
|
+
serverplaceid: {
|
|
330
|
+
style: 'form',
|
|
331
|
+
explode: true,
|
|
332
|
+
},
|
|
333
|
+
expectedAssetType: {
|
|
334
|
+
style: 'form',
|
|
335
|
+
explode: true,
|
|
336
|
+
},
|
|
337
|
+
},
|
|
160
338
|
parameters: {
|
|
161
339
|
hash: zod_1.z.string(),
|
|
162
340
|
'Accept-Encoding': zod_1.z.string(),
|
|
@@ -196,6 +374,53 @@ exports.getAssetidAssetid = {
|
|
|
196
374
|
path: '/v1/assetId/:assetId',
|
|
197
375
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
198
376
|
requestFormat: 'json',
|
|
377
|
+
serializationMethod: {
|
|
378
|
+
assetId: {
|
|
379
|
+
style: 'simple',
|
|
380
|
+
},
|
|
381
|
+
'Accept-Encoding': {
|
|
382
|
+
style: 'simple',
|
|
383
|
+
},
|
|
384
|
+
'Roblox-Place-Id': {
|
|
385
|
+
style: 'simple',
|
|
386
|
+
},
|
|
387
|
+
AssetType: {
|
|
388
|
+
style: 'simple',
|
|
389
|
+
},
|
|
390
|
+
Accept: {
|
|
391
|
+
style: 'simple',
|
|
392
|
+
},
|
|
393
|
+
AssetFormat: {
|
|
394
|
+
style: 'simple',
|
|
395
|
+
},
|
|
396
|
+
'Roblox-AssetFormat': {
|
|
397
|
+
style: 'simple',
|
|
398
|
+
},
|
|
399
|
+
skipSigningScripts: {
|
|
400
|
+
style: 'form',
|
|
401
|
+
explode: true,
|
|
402
|
+
},
|
|
403
|
+
clientInsert: {
|
|
404
|
+
style: 'form',
|
|
405
|
+
explode: true,
|
|
406
|
+
},
|
|
407
|
+
scriptinsert: {
|
|
408
|
+
style: 'form',
|
|
409
|
+
explode: true,
|
|
410
|
+
},
|
|
411
|
+
modulePlaceId: {
|
|
412
|
+
style: 'form',
|
|
413
|
+
explode: true,
|
|
414
|
+
},
|
|
415
|
+
serverplaceid: {
|
|
416
|
+
style: 'form',
|
|
417
|
+
explode: true,
|
|
418
|
+
},
|
|
419
|
+
expectedAssetType: {
|
|
420
|
+
style: 'form',
|
|
421
|
+
explode: true,
|
|
422
|
+
},
|
|
423
|
+
},
|
|
199
424
|
parameters: {
|
|
200
425
|
assetId: zod_1.z.number().int(),
|
|
201
426
|
'Accept-Encoding': zod_1.z.string(),
|
|
@@ -236,6 +461,56 @@ exports.getAssetidAssetidVersionVersion = {
|
|
|
236
461
|
path: '/v1/assetId/:assetId/version/:version',
|
|
237
462
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
238
463
|
requestFormat: 'json',
|
|
464
|
+
serializationMethod: {
|
|
465
|
+
assetId: {
|
|
466
|
+
style: 'simple',
|
|
467
|
+
},
|
|
468
|
+
version: {
|
|
469
|
+
style: 'simple',
|
|
470
|
+
},
|
|
471
|
+
'Accept-Encoding': {
|
|
472
|
+
style: 'simple',
|
|
473
|
+
},
|
|
474
|
+
'Roblox-Place-Id': {
|
|
475
|
+
style: 'simple',
|
|
476
|
+
},
|
|
477
|
+
AssetType: {
|
|
478
|
+
style: 'simple',
|
|
479
|
+
},
|
|
480
|
+
Accept: {
|
|
481
|
+
style: 'simple',
|
|
482
|
+
},
|
|
483
|
+
AssetFormat: {
|
|
484
|
+
style: 'simple',
|
|
485
|
+
},
|
|
486
|
+
'Roblox-AssetFormat': {
|
|
487
|
+
style: 'simple',
|
|
488
|
+
},
|
|
489
|
+
skipSigningScripts: {
|
|
490
|
+
style: 'form',
|
|
491
|
+
explode: true,
|
|
492
|
+
},
|
|
493
|
+
clientInsert: {
|
|
494
|
+
style: 'form',
|
|
495
|
+
explode: true,
|
|
496
|
+
},
|
|
497
|
+
scriptinsert: {
|
|
498
|
+
style: 'form',
|
|
499
|
+
explode: true,
|
|
500
|
+
},
|
|
501
|
+
modulePlaceId: {
|
|
502
|
+
style: 'form',
|
|
503
|
+
explode: true,
|
|
504
|
+
},
|
|
505
|
+
serverplaceid: {
|
|
506
|
+
style: 'form',
|
|
507
|
+
explode: true,
|
|
508
|
+
},
|
|
509
|
+
expectedAssetType: {
|
|
510
|
+
style: 'form',
|
|
511
|
+
explode: true,
|
|
512
|
+
},
|
|
513
|
+
},
|
|
239
514
|
parameters: {
|
|
240
515
|
assetId: zod_1.z.number().int(),
|
|
241
516
|
version: zod_1.z.number().int(),
|
|
@@ -267,6 +542,18 @@ exports.postAssetsBatch = {
|
|
|
267
542
|
path: '/v1/assets/batch',
|
|
268
543
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
269
544
|
requestFormat: 'json',
|
|
545
|
+
serializationMethod: {
|
|
546
|
+
body: {},
|
|
547
|
+
'Roblox-Place-Id': {
|
|
548
|
+
style: 'simple',
|
|
549
|
+
},
|
|
550
|
+
Accept: {
|
|
551
|
+
style: 'simple',
|
|
552
|
+
},
|
|
553
|
+
'Roblox-Browser-Asset-Request': {
|
|
554
|
+
style: 'simple',
|
|
555
|
+
},
|
|
556
|
+
},
|
|
270
557
|
parameters: {
|
|
271
558
|
body: zod_1.z.array(Roblox_Web_Assets_BatchAssetRequestItem),
|
|
272
559
|
'Roblox-Place-Id': zod_1.z.number().int(),
|
|
@@ -297,6 +584,53 @@ exports.getAssetversionidAssetversionid = {
|
|
|
297
584
|
path: '/v1/assetVersionId/:assetVersionId',
|
|
298
585
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
299
586
|
requestFormat: 'json',
|
|
587
|
+
serializationMethod: {
|
|
588
|
+
assetVersionId: {
|
|
589
|
+
style: 'simple',
|
|
590
|
+
},
|
|
591
|
+
'Accept-Encoding': {
|
|
592
|
+
style: 'simple',
|
|
593
|
+
},
|
|
594
|
+
'Roblox-Place-Id': {
|
|
595
|
+
style: 'simple',
|
|
596
|
+
},
|
|
597
|
+
AssetType: {
|
|
598
|
+
style: 'simple',
|
|
599
|
+
},
|
|
600
|
+
Accept: {
|
|
601
|
+
style: 'simple',
|
|
602
|
+
},
|
|
603
|
+
AssetFormat: {
|
|
604
|
+
style: 'simple',
|
|
605
|
+
},
|
|
606
|
+
'Roblox-AssetFormat': {
|
|
607
|
+
style: 'simple',
|
|
608
|
+
},
|
|
609
|
+
skipSigningScripts: {
|
|
610
|
+
style: 'form',
|
|
611
|
+
explode: true,
|
|
612
|
+
},
|
|
613
|
+
clientInsert: {
|
|
614
|
+
style: 'form',
|
|
615
|
+
explode: true,
|
|
616
|
+
},
|
|
617
|
+
scriptinsert: {
|
|
618
|
+
style: 'form',
|
|
619
|
+
explode: true,
|
|
620
|
+
},
|
|
621
|
+
modulePlaceId: {
|
|
622
|
+
style: 'form',
|
|
623
|
+
explode: true,
|
|
624
|
+
},
|
|
625
|
+
serverplaceid: {
|
|
626
|
+
style: 'form',
|
|
627
|
+
explode: true,
|
|
628
|
+
},
|
|
629
|
+
expectedAssetType: {
|
|
630
|
+
style: 'form',
|
|
631
|
+
explode: true,
|
|
632
|
+
},
|
|
633
|
+
},
|
|
300
634
|
parameters: {
|
|
301
635
|
assetVersionId: zod_1.z.number().int(),
|
|
302
636
|
'Accept-Encoding': zod_1.z.string(),
|
|
@@ -337,6 +671,56 @@ exports.getMarassethashMarassethashMarchecksumMarchecksum = {
|
|
|
337
671
|
path: '/v1/marAssetHash/:marAssetHash/marCheckSum/:marCheckSum',
|
|
338
672
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
339
673
|
requestFormat: 'json',
|
|
674
|
+
serializationMethod: {
|
|
675
|
+
marAssetHash: {
|
|
676
|
+
style: 'simple',
|
|
677
|
+
},
|
|
678
|
+
marCheckSum: {
|
|
679
|
+
style: 'simple',
|
|
680
|
+
},
|
|
681
|
+
'Accept-Encoding': {
|
|
682
|
+
style: 'simple',
|
|
683
|
+
},
|
|
684
|
+
'Roblox-Place-Id': {
|
|
685
|
+
style: 'simple',
|
|
686
|
+
},
|
|
687
|
+
AssetType: {
|
|
688
|
+
style: 'simple',
|
|
689
|
+
},
|
|
690
|
+
Accept: {
|
|
691
|
+
style: 'simple',
|
|
692
|
+
},
|
|
693
|
+
AssetFormat: {
|
|
694
|
+
style: 'simple',
|
|
695
|
+
},
|
|
696
|
+
'Roblox-AssetFormat': {
|
|
697
|
+
style: 'simple',
|
|
698
|
+
},
|
|
699
|
+
skipSigningScripts: {
|
|
700
|
+
style: 'form',
|
|
701
|
+
explode: true,
|
|
702
|
+
},
|
|
703
|
+
clientInsert: {
|
|
704
|
+
style: 'form',
|
|
705
|
+
explode: true,
|
|
706
|
+
},
|
|
707
|
+
scriptinsert: {
|
|
708
|
+
style: 'form',
|
|
709
|
+
explode: true,
|
|
710
|
+
},
|
|
711
|
+
modulePlaceId: {
|
|
712
|
+
style: 'form',
|
|
713
|
+
explode: true,
|
|
714
|
+
},
|
|
715
|
+
serverplaceid: {
|
|
716
|
+
style: 'form',
|
|
717
|
+
explode: true,
|
|
718
|
+
},
|
|
719
|
+
expectedAssetType: {
|
|
720
|
+
style: 'form',
|
|
721
|
+
explode: true,
|
|
722
|
+
},
|
|
723
|
+
},
|
|
340
724
|
parameters: {
|
|
341
725
|
marAssetHash: zod_1.z.string(),
|
|
342
726
|
marCheckSum: zod_1.z.string(),
|
|
@@ -357,12 +741,13 @@ exports.getMarassethashMarassethashMarchecksumMarchecksum = {
|
|
|
357
741
|
errors: [
|
|
358
742
|
{
|
|
359
743
|
status: 400,
|
|
360
|
-
description:
|
|
744
|
+
description: `2: invalid server request
|
|
745
|
+
3: Encoding cannot be empty`,
|
|
361
746
|
schema: zod_1.z.void(),
|
|
362
747
|
},
|
|
363
748
|
{
|
|
364
749
|
status: 404,
|
|
365
|
-
description:
|
|
750
|
+
description: `5: Asset hash cannot be empty`,
|
|
366
751
|
schema: zod_1.z.void(),
|
|
367
752
|
},
|
|
368
753
|
],
|
|
@@ -388,6 +773,53 @@ exports.getUserassetidUserassetid = {
|
|
|
388
773
|
path: '/v1/userAssetId/:userAssetId',
|
|
389
774
|
baseUrl: 'https://assetdelivery.roblox.com',
|
|
390
775
|
requestFormat: 'json',
|
|
776
|
+
serializationMethod: {
|
|
777
|
+
userAssetId: {
|
|
778
|
+
style: 'simple',
|
|
779
|
+
},
|
|
780
|
+
'Accept-Encoding': {
|
|
781
|
+
style: 'simple',
|
|
782
|
+
},
|
|
783
|
+
'Roblox-Place-Id': {
|
|
784
|
+
style: 'simple',
|
|
785
|
+
},
|
|
786
|
+
AssetType: {
|
|
787
|
+
style: 'simple',
|
|
788
|
+
},
|
|
789
|
+
Accept: {
|
|
790
|
+
style: 'simple',
|
|
791
|
+
},
|
|
792
|
+
AssetFormat: {
|
|
793
|
+
style: 'simple',
|
|
794
|
+
},
|
|
795
|
+
'Roblox-AssetFormat': {
|
|
796
|
+
style: 'simple',
|
|
797
|
+
},
|
|
798
|
+
skipSigningScripts: {
|
|
799
|
+
style: 'form',
|
|
800
|
+
explode: true,
|
|
801
|
+
},
|
|
802
|
+
clientInsert: {
|
|
803
|
+
style: 'form',
|
|
804
|
+
explode: true,
|
|
805
|
+
},
|
|
806
|
+
scriptinsert: {
|
|
807
|
+
style: 'form',
|
|
808
|
+
explode: true,
|
|
809
|
+
},
|
|
810
|
+
modulePlaceId: {
|
|
811
|
+
style: 'form',
|
|
812
|
+
explode: true,
|
|
813
|
+
},
|
|
814
|
+
serverplaceid: {
|
|
815
|
+
style: 'form',
|
|
816
|
+
explode: true,
|
|
817
|
+
},
|
|
818
|
+
expectedAssetType: {
|
|
819
|
+
style: 'form',
|
|
820
|
+
explode: true,
|
|
821
|
+
},
|
|
822
|
+
},
|
|
391
823
|
parameters: {
|
|
392
824
|
userAssetId: zod_1.z.number().int(),
|
|
393
825
|
'Accept-Encoding': zod_1.z.string(),
|