rozod 6.8.0 → 6.9.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.
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
- package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
- package/lib/endpoints/authv1.d.ts +479 -521
- package/lib/endpoints/authv2.d.ts +209 -221
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +92 -99
- package/lib/endpoints/catalogv1.d.ts +207 -233
- package/lib/endpoints/catalogv2.d.ts +81 -119
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +230 -293
- package/lib/endpoints/developv2.d.ts +84 -137
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +200 -237
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamesv1.d.ts +181 -143
- package/lib/endpoints/gamesv2.d.ts +161 -169
- package/lib/endpoints/groupsv1.d.ts +938 -988
- package/lib/endpoints/groupsv2.d.ts +259 -278
- package/lib/endpoints/inventoryv1.d.ts +91 -122
- package/lib/endpoints/inventoryv2.d.ts +163 -180
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +325 -326
- package/lib/endpoints/thumbnailsv1.js +24 -24
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +56 -1
- package/lib/index.js +159 -3
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_AssetDelivery_Api_AssetMetadata = z.object({
|
|
5
|
-
metadataType: z.literal(
|
|
5
|
+
metadataType: z.literal('UncompressedSize'),
|
|
6
6
|
value: z.string(),
|
|
7
7
|
});
|
|
8
8
|
const Roblox_Web_Assets_AssetFormatLocation = z.object({
|
|
@@ -14,30 +14,30 @@ const Roblox_Web_Assets_IAssetItemError = z.object({
|
|
|
14
14
|
Code: z.number().int(),
|
|
15
15
|
Message: z.string(),
|
|
16
16
|
CustomErrorCode: z.enum([
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
17
|
+
'UnknownError',
|
|
18
|
+
'NoPermissionToAsset',
|
|
19
|
+
'AssetPermissionCheckFailed',
|
|
20
|
+
'NotAuthorizedForAgeRecommendation',
|
|
21
|
+
'AgeRecommendationCheckFailed',
|
|
22
|
+
'InvalidPlaceRequestFromGameServer',
|
|
23
|
+
'BlockedAssetTypeRequestedFromInsertService',
|
|
24
|
+
'BlockedAssetTypeRequestedFromGameServer',
|
|
25
|
+
'AssetTypeMismatch',
|
|
26
|
+
'MissingAssetTypeInRequestHeader',
|
|
27
|
+
'AssetNotTrustedForPlace',
|
|
28
|
+
'NoAuthentication',
|
|
29
|
+
'AssetContentRepresentationBlockedDueToModeration',
|
|
30
|
+
'AssetNotFound',
|
|
31
|
+
'AssetVersionNotFound',
|
|
32
|
+
'AssetContentRepresentationNotFound',
|
|
33
|
+
'BlockedByAgeGeoRestriction',
|
|
34
|
+
'BlockedAssetTypeRequestedFromNonGameServer',
|
|
35
|
+
'AssetPendingReview',
|
|
36
|
+
'NotApprovedForRequestor',
|
|
37
|
+
'NotApprovedByContentCompliance',
|
|
38
|
+
'AssetContentRepresentationGenerating',
|
|
39
|
+
'AssetArchived',
|
|
40
|
+
'AssetUsageNotAllowed',
|
|
41
41
|
]),
|
|
42
42
|
});
|
|
43
43
|
const Roblox_Web_Assets_AssetContentRepresentationSpecifier = z.object({
|
|
@@ -52,8 +52,7 @@ const Roblox_Web_Assets_AssetResponseItemV2 = z.object({
|
|
|
52
52
|
requestId: z.string(),
|
|
53
53
|
isArchived: z.boolean(),
|
|
54
54
|
assetTypeId: z.number().int(),
|
|
55
|
-
contentRepresentationSpecifier:
|
|
56
|
-
Roblox_Web_Assets_AssetContentRepresentationSpecifier,
|
|
55
|
+
contentRepresentationSpecifier: Roblox_Web_Assets_AssetContentRepresentationSpecifier,
|
|
57
56
|
isRecordable: z.boolean(),
|
|
58
57
|
});
|
|
59
58
|
const Roblox_Web_Assets_BatchAssetRequestItem = z.object({
|
|
@@ -74,7 +73,7 @@ const Roblox_Web_Assets_BatchAssetRequestItem = z.object({
|
|
|
74
73
|
assetVersionId: z.number().int(),
|
|
75
74
|
modulePlaceId: z.number().int(),
|
|
76
75
|
assetFormat: z.string(),
|
|
77
|
-
|
|
76
|
+
'roblox-assetFormat': z.string(),
|
|
78
77
|
assetResolutionMode: z.string(),
|
|
79
78
|
accessContext: z.string(),
|
|
80
79
|
usageContext: z.number().int(),
|
|
@@ -101,73 +100,73 @@ const Roblox_Web_Assets_BatchAssetRequestItem = z.object({
|
|
|
101
100
|
* @param usageContext
|
|
102
101
|
*/
|
|
103
102
|
export const getAliasAlias = endpoint({
|
|
104
|
-
method:
|
|
105
|
-
path:
|
|
106
|
-
baseUrl:
|
|
107
|
-
requestFormat:
|
|
103
|
+
method: 'GET',
|
|
104
|
+
path: '/v2/alias/:alias',
|
|
105
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
106
|
+
requestFormat: 'json',
|
|
108
107
|
serializationMethod: {
|
|
109
108
|
alias: {
|
|
110
|
-
style:
|
|
109
|
+
style: 'simple',
|
|
111
110
|
},
|
|
112
|
-
|
|
113
|
-
style:
|
|
111
|
+
'Accept-Encoding': {
|
|
112
|
+
style: 'simple',
|
|
114
113
|
},
|
|
115
|
-
|
|
116
|
-
style:
|
|
114
|
+
'Roblox-Place-Id': {
|
|
115
|
+
style: 'simple',
|
|
117
116
|
},
|
|
118
117
|
AssetType: {
|
|
119
|
-
style:
|
|
118
|
+
style: 'simple',
|
|
120
119
|
},
|
|
121
120
|
Accept: {
|
|
122
|
-
style:
|
|
121
|
+
style: 'simple',
|
|
123
122
|
},
|
|
124
123
|
AssetFormat: {
|
|
125
|
-
style:
|
|
124
|
+
style: 'simple',
|
|
126
125
|
},
|
|
127
|
-
|
|
128
|
-
style:
|
|
126
|
+
'Roblox-AssetFormat': {
|
|
127
|
+
style: 'simple',
|
|
129
128
|
},
|
|
130
129
|
skipSigningScripts: {
|
|
131
|
-
style:
|
|
130
|
+
style: 'form',
|
|
132
131
|
explode: true,
|
|
133
132
|
},
|
|
134
133
|
clientInsert: {
|
|
135
|
-
style:
|
|
134
|
+
style: 'form',
|
|
136
135
|
explode: true,
|
|
137
136
|
},
|
|
138
137
|
scriptinsert: {
|
|
139
|
-
style:
|
|
138
|
+
style: 'form',
|
|
140
139
|
explode: true,
|
|
141
140
|
},
|
|
142
141
|
modulePlaceId: {
|
|
143
|
-
style:
|
|
142
|
+
style: 'form',
|
|
144
143
|
explode: true,
|
|
145
144
|
},
|
|
146
145
|
serverplaceid: {
|
|
147
|
-
style:
|
|
146
|
+
style: 'form',
|
|
148
147
|
explode: true,
|
|
149
148
|
},
|
|
150
149
|
expectedAssetType: {
|
|
151
|
-
style:
|
|
150
|
+
style: 'form',
|
|
152
151
|
explode: true,
|
|
153
152
|
},
|
|
154
153
|
accessContext: {
|
|
155
|
-
style:
|
|
154
|
+
style: 'form',
|
|
156
155
|
explode: true,
|
|
157
156
|
},
|
|
158
157
|
usageContext: {
|
|
159
|
-
style:
|
|
158
|
+
style: 'form',
|
|
160
159
|
explode: true,
|
|
161
160
|
},
|
|
162
161
|
},
|
|
163
162
|
parameters: {
|
|
164
163
|
alias: z.string().regex(/^[0-9]+\/.+/),
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
'Accept-Encoding': z.string(),
|
|
165
|
+
'Roblox-Place-Id': z.number().int(),
|
|
167
166
|
AssetType: z.string(),
|
|
168
167
|
Accept: z.string(),
|
|
169
168
|
AssetFormat: z.string(),
|
|
170
|
-
|
|
169
|
+
'Roblox-AssetFormat': z.string(),
|
|
171
170
|
skipSigningScripts: z.boolean().optional(),
|
|
172
171
|
clientInsert: z.number().int().optional(),
|
|
173
172
|
scriptinsert: z.number().int().optional(),
|
|
@@ -210,117 +209,117 @@ export const getAliasAlias = endpoint({
|
|
|
210
209
|
* @param usageContext
|
|
211
210
|
*/
|
|
212
211
|
export const getAsset = endpoint({
|
|
213
|
-
method:
|
|
214
|
-
path:
|
|
215
|
-
baseUrl:
|
|
216
|
-
requestFormat:
|
|
212
|
+
method: 'GET',
|
|
213
|
+
path: '/v2/asset',
|
|
214
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
215
|
+
requestFormat: 'json',
|
|
217
216
|
serializationMethod: {
|
|
218
|
-
|
|
219
|
-
style:
|
|
217
|
+
'Accept-Encoding': {
|
|
218
|
+
style: 'simple',
|
|
220
219
|
},
|
|
221
|
-
|
|
222
|
-
style:
|
|
220
|
+
'Roblox-Place-Id': {
|
|
221
|
+
style: 'simple',
|
|
223
222
|
},
|
|
224
223
|
AssetType: {
|
|
225
|
-
style:
|
|
224
|
+
style: 'simple',
|
|
226
225
|
},
|
|
227
226
|
Accept: {
|
|
228
|
-
style:
|
|
227
|
+
style: 'simple',
|
|
229
228
|
},
|
|
230
229
|
AssetFormat: {
|
|
231
|
-
style:
|
|
230
|
+
style: 'simple',
|
|
232
231
|
},
|
|
233
|
-
|
|
234
|
-
style:
|
|
232
|
+
'Roblox-AssetFormat': {
|
|
233
|
+
style: 'simple',
|
|
235
234
|
},
|
|
236
235
|
id: {
|
|
237
|
-
style:
|
|
236
|
+
style: 'form',
|
|
238
237
|
explode: true,
|
|
239
238
|
},
|
|
240
239
|
userAssetId: {
|
|
241
|
-
style:
|
|
240
|
+
style: 'form',
|
|
242
241
|
explode: true,
|
|
243
242
|
},
|
|
244
243
|
assetVersionId: {
|
|
245
|
-
style:
|
|
244
|
+
style: 'form',
|
|
246
245
|
explode: true,
|
|
247
246
|
},
|
|
248
247
|
version: {
|
|
249
|
-
style:
|
|
248
|
+
style: 'form',
|
|
250
249
|
explode: true,
|
|
251
250
|
},
|
|
252
251
|
universeId: {
|
|
253
|
-
style:
|
|
252
|
+
style: 'form',
|
|
254
253
|
explode: true,
|
|
255
254
|
},
|
|
256
255
|
clientInsert: {
|
|
257
|
-
style:
|
|
256
|
+
style: 'form',
|
|
258
257
|
explode: true,
|
|
259
258
|
},
|
|
260
259
|
scriptinsert: {
|
|
261
|
-
style:
|
|
260
|
+
style: 'form',
|
|
262
261
|
explode: true,
|
|
263
262
|
},
|
|
264
263
|
modulePlaceId: {
|
|
265
|
-
style:
|
|
264
|
+
style: 'form',
|
|
266
265
|
explode: true,
|
|
267
266
|
},
|
|
268
267
|
serverplaceid: {
|
|
269
|
-
style:
|
|
268
|
+
style: 'form',
|
|
270
269
|
explode: true,
|
|
271
270
|
},
|
|
272
271
|
assetName: {
|
|
273
|
-
style:
|
|
272
|
+
style: 'form',
|
|
274
273
|
explode: true,
|
|
275
274
|
},
|
|
276
275
|
hash: {
|
|
277
|
-
style:
|
|
276
|
+
style: 'form',
|
|
278
277
|
explode: true,
|
|
279
278
|
},
|
|
280
279
|
marAssetHash: {
|
|
281
|
-
style:
|
|
280
|
+
style: 'form',
|
|
282
281
|
explode: true,
|
|
283
282
|
},
|
|
284
283
|
marCheckSum: {
|
|
285
|
-
style:
|
|
284
|
+
style: 'form',
|
|
286
285
|
explode: true,
|
|
287
286
|
},
|
|
288
287
|
expectedAssetType: {
|
|
289
|
-
style:
|
|
288
|
+
style: 'form',
|
|
290
289
|
explode: true,
|
|
291
290
|
},
|
|
292
291
|
skipSigningScripts: {
|
|
293
|
-
style:
|
|
292
|
+
style: 'form',
|
|
294
293
|
explode: true,
|
|
295
294
|
},
|
|
296
295
|
permissionContext: {
|
|
297
|
-
style:
|
|
296
|
+
style: 'form',
|
|
298
297
|
explode: true,
|
|
299
298
|
},
|
|
300
299
|
doNotFallbackToBaselineRepresentation: {
|
|
301
|
-
style:
|
|
300
|
+
style: 'form',
|
|
302
301
|
explode: true,
|
|
303
302
|
},
|
|
304
303
|
contentRepresentationPriorityList: {
|
|
305
|
-
style:
|
|
304
|
+
style: 'form',
|
|
306
305
|
explode: true,
|
|
307
306
|
},
|
|
308
307
|
accessContext: {
|
|
309
|
-
style:
|
|
308
|
+
style: 'form',
|
|
310
309
|
explode: true,
|
|
311
310
|
},
|
|
312
311
|
usageContext: {
|
|
313
|
-
style:
|
|
312
|
+
style: 'form',
|
|
314
313
|
explode: true,
|
|
315
314
|
},
|
|
316
315
|
},
|
|
317
316
|
parameters: {
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
'Accept-Encoding': z.string(),
|
|
318
|
+
'Roblox-Place-Id': z.number().int(),
|
|
320
319
|
AssetType: z.string(),
|
|
321
320
|
Accept: z.string(),
|
|
322
321
|
AssetFormat: z.string(),
|
|
323
|
-
|
|
322
|
+
'Roblox-AssetFormat': z.string(),
|
|
324
323
|
id: z.number().int().optional(),
|
|
325
324
|
userAssetId: z.number().int().optional(),
|
|
326
325
|
assetVersionId: z.number().int().optional(),
|
|
@@ -366,81 +365,81 @@ export const getAsset = endpoint({
|
|
|
366
365
|
* @param usageContext
|
|
367
366
|
*/
|
|
368
367
|
export const getAssetidAssetid = endpoint({
|
|
369
|
-
method:
|
|
370
|
-
path:
|
|
371
|
-
baseUrl:
|
|
372
|
-
requestFormat:
|
|
368
|
+
method: 'GET',
|
|
369
|
+
path: '/v2/assetId/:assetId',
|
|
370
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
371
|
+
requestFormat: 'json',
|
|
373
372
|
serializationMethod: {
|
|
374
373
|
assetId: {
|
|
375
|
-
style:
|
|
374
|
+
style: 'simple',
|
|
376
375
|
},
|
|
377
|
-
|
|
378
|
-
style:
|
|
376
|
+
'Accept-Encoding': {
|
|
377
|
+
style: 'simple',
|
|
379
378
|
},
|
|
380
|
-
|
|
381
|
-
style:
|
|
379
|
+
'Roblox-Place-Id': {
|
|
380
|
+
style: 'simple',
|
|
382
381
|
},
|
|
383
382
|
AssetType: {
|
|
384
|
-
style:
|
|
383
|
+
style: 'simple',
|
|
385
384
|
},
|
|
386
385
|
Accept: {
|
|
387
|
-
style:
|
|
386
|
+
style: 'simple',
|
|
388
387
|
},
|
|
389
388
|
AssetFormat: {
|
|
390
|
-
style:
|
|
389
|
+
style: 'simple',
|
|
391
390
|
},
|
|
392
|
-
|
|
393
|
-
style:
|
|
391
|
+
'Roblox-AssetFormat': {
|
|
392
|
+
style: 'simple',
|
|
394
393
|
},
|
|
395
394
|
skipSigningScripts: {
|
|
396
|
-
style:
|
|
395
|
+
style: 'form',
|
|
397
396
|
explode: true,
|
|
398
397
|
},
|
|
399
398
|
clientInsert: {
|
|
400
|
-
style:
|
|
399
|
+
style: 'form',
|
|
401
400
|
explode: true,
|
|
402
401
|
},
|
|
403
402
|
scriptinsert: {
|
|
404
|
-
style:
|
|
403
|
+
style: 'form',
|
|
405
404
|
explode: true,
|
|
406
405
|
},
|
|
407
406
|
modulePlaceId: {
|
|
408
|
-
style:
|
|
407
|
+
style: 'form',
|
|
409
408
|
explode: true,
|
|
410
409
|
},
|
|
411
410
|
serverplaceid: {
|
|
412
|
-
style:
|
|
411
|
+
style: 'form',
|
|
413
412
|
explode: true,
|
|
414
413
|
},
|
|
415
414
|
expectedAssetType: {
|
|
416
|
-
style:
|
|
415
|
+
style: 'form',
|
|
417
416
|
explode: true,
|
|
418
417
|
},
|
|
419
418
|
doNotFallbackToBaselineRepresentation: {
|
|
420
|
-
style:
|
|
419
|
+
style: 'form',
|
|
421
420
|
explode: true,
|
|
422
421
|
},
|
|
423
422
|
contentRepresentationPriorityList: {
|
|
424
|
-
style:
|
|
423
|
+
style: 'form',
|
|
425
424
|
explode: true,
|
|
426
425
|
},
|
|
427
426
|
accessContext: {
|
|
428
|
-
style:
|
|
427
|
+
style: 'form',
|
|
429
428
|
explode: true,
|
|
430
429
|
},
|
|
431
430
|
usageContext: {
|
|
432
|
-
style:
|
|
431
|
+
style: 'form',
|
|
433
432
|
explode: true,
|
|
434
433
|
},
|
|
435
434
|
},
|
|
436
435
|
parameters: {
|
|
437
436
|
assetId: z.number().int(),
|
|
438
|
-
|
|
439
|
-
|
|
437
|
+
'Accept-Encoding': z.string(),
|
|
438
|
+
'Roblox-Place-Id': z.number().int(),
|
|
440
439
|
AssetType: z.string(),
|
|
441
440
|
Accept: z.string(),
|
|
442
441
|
AssetFormat: z.string(),
|
|
443
|
-
|
|
442
|
+
'Roblox-AssetFormat': z.string(),
|
|
444
443
|
skipSigningScripts: z.boolean().optional(),
|
|
445
444
|
clientInsert: z.number().int().optional(),
|
|
446
445
|
scriptinsert: z.number().int().optional(),
|
|
@@ -477,85 +476,85 @@ export const getAssetidAssetid = endpoint({
|
|
|
477
476
|
* @param usageContext
|
|
478
477
|
*/
|
|
479
478
|
export const getAssetidAssetidVersionVersionnumber = endpoint({
|
|
480
|
-
method:
|
|
481
|
-
path:
|
|
482
|
-
baseUrl:
|
|
483
|
-
requestFormat:
|
|
479
|
+
method: 'GET',
|
|
480
|
+
path: '/v2/assetId/:assetId/version/:versionNumber',
|
|
481
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
482
|
+
requestFormat: 'json',
|
|
484
483
|
serializationMethod: {
|
|
485
484
|
assetId: {
|
|
486
|
-
style:
|
|
485
|
+
style: 'simple',
|
|
487
486
|
},
|
|
488
487
|
versionNumber: {
|
|
489
|
-
style:
|
|
488
|
+
style: 'simple',
|
|
490
489
|
},
|
|
491
|
-
|
|
492
|
-
style:
|
|
490
|
+
'Accept-Encoding': {
|
|
491
|
+
style: 'simple',
|
|
493
492
|
},
|
|
494
|
-
|
|
495
|
-
style:
|
|
493
|
+
'Roblox-Place-Id': {
|
|
494
|
+
style: 'simple',
|
|
496
495
|
},
|
|
497
496
|
AssetType: {
|
|
498
|
-
style:
|
|
497
|
+
style: 'simple',
|
|
499
498
|
},
|
|
500
499
|
Accept: {
|
|
501
|
-
style:
|
|
500
|
+
style: 'simple',
|
|
502
501
|
},
|
|
503
502
|
AssetFormat: {
|
|
504
|
-
style:
|
|
503
|
+
style: 'simple',
|
|
505
504
|
},
|
|
506
|
-
|
|
507
|
-
style:
|
|
505
|
+
'Roblox-AssetFormat': {
|
|
506
|
+
style: 'simple',
|
|
508
507
|
},
|
|
509
508
|
skipSigningScripts: {
|
|
510
|
-
style:
|
|
509
|
+
style: 'form',
|
|
511
510
|
explode: true,
|
|
512
511
|
},
|
|
513
512
|
clientInsert: {
|
|
514
|
-
style:
|
|
513
|
+
style: 'form',
|
|
515
514
|
explode: true,
|
|
516
515
|
},
|
|
517
516
|
scriptinsert: {
|
|
518
|
-
style:
|
|
517
|
+
style: 'form',
|
|
519
518
|
explode: true,
|
|
520
519
|
},
|
|
521
520
|
modulePlaceId: {
|
|
522
|
-
style:
|
|
521
|
+
style: 'form',
|
|
523
522
|
explode: true,
|
|
524
523
|
},
|
|
525
524
|
serverplaceid: {
|
|
526
|
-
style:
|
|
525
|
+
style: 'form',
|
|
527
526
|
explode: true,
|
|
528
527
|
},
|
|
529
528
|
expectedAssetType: {
|
|
530
|
-
style:
|
|
529
|
+
style: 'form',
|
|
531
530
|
explode: true,
|
|
532
531
|
},
|
|
533
532
|
doNotFallbackToBaselineRepresentation: {
|
|
534
|
-
style:
|
|
533
|
+
style: 'form',
|
|
535
534
|
explode: true,
|
|
536
535
|
},
|
|
537
536
|
contentRepresentationPriorityList: {
|
|
538
|
-
style:
|
|
537
|
+
style: 'form',
|
|
539
538
|
explode: true,
|
|
540
539
|
},
|
|
541
540
|
accessContext: {
|
|
542
|
-
style:
|
|
541
|
+
style: 'form',
|
|
543
542
|
explode: true,
|
|
544
543
|
},
|
|
545
544
|
usageContext: {
|
|
546
|
-
style:
|
|
545
|
+
style: 'form',
|
|
547
546
|
explode: true,
|
|
548
547
|
},
|
|
549
548
|
},
|
|
550
549
|
parameters: {
|
|
551
550
|
assetId: z.number().int(),
|
|
552
551
|
versionNumber: z.number().int(),
|
|
553
|
-
|
|
554
|
-
|
|
552
|
+
'Accept-Encoding': z.string(),
|
|
553
|
+
'Roblox-Place-Id': z.number().int(),
|
|
555
554
|
AssetType: z.string(),
|
|
556
555
|
Accept: z.string(),
|
|
557
556
|
AssetFormat: z.string(),
|
|
558
|
-
|
|
557
|
+
'Roblox-AssetFormat': z.string(),
|
|
559
558
|
skipSigningScripts: z.boolean().optional(),
|
|
560
559
|
clientInsert: z.number().int().optional(),
|
|
561
560
|
scriptinsert: z.number().int().optional(),
|
|
@@ -578,26 +577,26 @@ export const getAssetidAssetidVersionVersionnumber = endpoint({
|
|
|
578
577
|
* @param Roblox-Browser-Asset-Request
|
|
579
578
|
*/
|
|
580
579
|
export const postAssetsBatch = endpoint({
|
|
581
|
-
method:
|
|
582
|
-
path:
|
|
583
|
-
baseUrl:
|
|
584
|
-
requestFormat:
|
|
580
|
+
method: 'POST',
|
|
581
|
+
path: '/v2/assets/batch',
|
|
582
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
583
|
+
requestFormat: 'json',
|
|
585
584
|
serializationMethod: {
|
|
586
585
|
body: {},
|
|
587
|
-
|
|
588
|
-
style:
|
|
586
|
+
'Roblox-Place-Id': {
|
|
587
|
+
style: 'simple',
|
|
589
588
|
},
|
|
590
589
|
Accept: {
|
|
591
|
-
style:
|
|
590
|
+
style: 'simple',
|
|
592
591
|
},
|
|
593
|
-
|
|
594
|
-
style:
|
|
592
|
+
'Roblox-Browser-Asset-Request': {
|
|
593
|
+
style: 'simple',
|
|
595
594
|
},
|
|
596
595
|
},
|
|
597
596
|
parameters: {
|
|
598
|
-
|
|
597
|
+
'Roblox-Place-Id': z.number().int(),
|
|
599
598
|
Accept: z.string(),
|
|
600
|
-
|
|
599
|
+
'Roblox-Browser-Asset-Request': z.string(),
|
|
601
600
|
},
|
|
602
601
|
body: z.array(Roblox_Web_Assets_BatchAssetRequestItem),
|
|
603
602
|
response: z.array(Roblox_Web_Assets_AssetResponseItemV2),
|
|
@@ -621,69 +620,69 @@ export const postAssetsBatch = endpoint({
|
|
|
621
620
|
* @param expectedAssetType
|
|
622
621
|
*/
|
|
623
622
|
export const getMarassethashMarassethashMarchecksumMarchecksum = endpoint({
|
|
624
|
-
method:
|
|
625
|
-
path:
|
|
626
|
-
baseUrl:
|
|
627
|
-
requestFormat:
|
|
623
|
+
method: 'GET',
|
|
624
|
+
path: '/v2/marAssetHash/:marAssetHash/marCheckSum/:marCheckSum',
|
|
625
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
626
|
+
requestFormat: 'json',
|
|
628
627
|
serializationMethod: {
|
|
629
628
|
marAssetHash: {
|
|
630
|
-
style:
|
|
629
|
+
style: 'simple',
|
|
631
630
|
},
|
|
632
631
|
marCheckSum: {
|
|
633
|
-
style:
|
|
632
|
+
style: 'simple',
|
|
634
633
|
},
|
|
635
|
-
|
|
636
|
-
style:
|
|
634
|
+
'Accept-Encoding': {
|
|
635
|
+
style: 'simple',
|
|
637
636
|
},
|
|
638
|
-
|
|
639
|
-
style:
|
|
637
|
+
'Roblox-Place-Id': {
|
|
638
|
+
style: 'simple',
|
|
640
639
|
},
|
|
641
640
|
AssetType: {
|
|
642
|
-
style:
|
|
641
|
+
style: 'simple',
|
|
643
642
|
},
|
|
644
643
|
Accept: {
|
|
645
|
-
style:
|
|
644
|
+
style: 'simple',
|
|
646
645
|
},
|
|
647
646
|
AssetFormat: {
|
|
648
|
-
style:
|
|
647
|
+
style: 'simple',
|
|
649
648
|
},
|
|
650
|
-
|
|
651
|
-
style:
|
|
649
|
+
'Roblox-AssetFormat': {
|
|
650
|
+
style: 'simple',
|
|
652
651
|
},
|
|
653
652
|
skipSigningScripts: {
|
|
654
|
-
style:
|
|
653
|
+
style: 'form',
|
|
655
654
|
explode: true,
|
|
656
655
|
},
|
|
657
656
|
clientInsert: {
|
|
658
|
-
style:
|
|
657
|
+
style: 'form',
|
|
659
658
|
explode: true,
|
|
660
659
|
},
|
|
661
660
|
scriptinsert: {
|
|
662
|
-
style:
|
|
661
|
+
style: 'form',
|
|
663
662
|
explode: true,
|
|
664
663
|
},
|
|
665
664
|
modulePlaceId: {
|
|
666
|
-
style:
|
|
665
|
+
style: 'form',
|
|
667
666
|
explode: true,
|
|
668
667
|
},
|
|
669
668
|
serverplaceid: {
|
|
670
|
-
style:
|
|
669
|
+
style: 'form',
|
|
671
670
|
explode: true,
|
|
672
671
|
},
|
|
673
672
|
expectedAssetType: {
|
|
674
|
-
style:
|
|
673
|
+
style: 'form',
|
|
675
674
|
explode: true,
|
|
676
675
|
},
|
|
677
676
|
},
|
|
678
677
|
parameters: {
|
|
679
678
|
marAssetHash: z.string(),
|
|
680
679
|
marCheckSum: z.string(),
|
|
681
|
-
|
|
682
|
-
|
|
680
|
+
'Accept-Encoding': z.string(),
|
|
681
|
+
'Roblox-Place-Id': z.number().int(),
|
|
683
682
|
AssetType: z.string(),
|
|
684
683
|
Accept: z.string(),
|
|
685
684
|
AssetFormat: z.string(),
|
|
686
|
-
|
|
685
|
+
'Roblox-AssetFormat': z.string(),
|
|
687
686
|
skipSigningScripts: z.boolean().optional(),
|
|
688
687
|
clientInsert: z.number().int().optional(),
|
|
689
688
|
scriptinsert: z.number().int().optional(),
|