rozod 6.7.1 → 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.
Files changed (87) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +75 -451
  3. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  4. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  5. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  6. package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
  7. package/lib/endpoints/assetdeliveryv1.js +38 -0
  8. package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
  9. package/lib/endpoints/assetdeliveryv2.js +26 -0
  10. package/lib/endpoints/authv1.d.ts +480 -517
  11. package/lib/endpoints/authv1.js +3 -1
  12. package/lib/endpoints/authv2.d.ts +210 -222
  13. package/lib/endpoints/authv2.js +1 -1
  14. package/lib/endpoints/authv3.d.ts +32 -35
  15. package/lib/endpoints/avatarv1.d.ts +112 -117
  16. package/lib/endpoints/avatarv2.d.ts +71 -76
  17. package/lib/endpoints/avatarv3.d.ts +27 -33
  18. package/lib/endpoints/badgesv1.d.ts +96 -99
  19. package/lib/endpoints/badgesv1.js +4 -0
  20. package/lib/endpoints/catalogv1.d.ts +209 -234
  21. package/lib/endpoints/catalogv1.js +2 -1
  22. package/lib/endpoints/catalogv2.d.ts +106 -136
  23. package/lib/endpoints/catalogv2.js +21 -17
  24. package/lib/endpoints/chatv2.d.ts +778 -778
  25. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  26. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  27. package/lib/endpoints/contactsv1.d.ts +18 -20
  28. package/lib/endpoints/developv1.d.ts +233 -293
  29. package/lib/endpoints/developv1.js +3 -0
  30. package/lib/endpoints/developv2.d.ts +87 -138
  31. package/lib/endpoints/developv2.js +3 -1
  32. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  33. package/lib/endpoints/economyv1.d.ts +6 -6
  34. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  35. package/lib/endpoints/followingsv1.d.ts +33 -34
  36. package/lib/endpoints/followingsv2.d.ts +9 -9
  37. package/lib/endpoints/friendsv1.d.ts +416 -545
  38. package/lib/endpoints/friendsv1.js +213 -313
  39. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  40. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  41. package/lib/endpoints/gamejoinv1.d.ts +458 -458
  42. package/lib/endpoints/gamesv1.d.ts +183 -143
  43. package/lib/endpoints/gamesv1.js +2 -0
  44. package/lib/endpoints/gamesv2.d.ts +161 -158
  45. package/lib/endpoints/gamesv2.js +9 -0
  46. package/lib/endpoints/groupsv1.d.ts +967 -976
  47. package/lib/endpoints/groupsv1.js +48 -4
  48. package/lib/endpoints/groupsv2.d.ts +259 -277
  49. package/lib/endpoints/groupsv2.js +1 -0
  50. package/lib/endpoints/inventoryv1.d.ts +93 -122
  51. package/lib/endpoints/inventoryv1.js +3 -1
  52. package/lib/endpoints/inventoryv2.d.ts +163 -178
  53. package/lib/endpoints/inventoryv2.js +2 -0
  54. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  55. package/lib/endpoints/localev1.d.ts +47 -48
  56. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  57. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  58. package/lib/endpoints/metricsv1.d.ts +88 -88
  59. package/lib/endpoints/notificationsv2.d.ts +144 -158
  60. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  61. package/lib/endpoints/presencev1.d.ts +7 -12
  62. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  63. package/lib/endpoints/publishv1.d.ts +32 -32
  64. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  65. package/lib/endpoints/thumbnailsv1.d.ts +317 -361
  66. package/lib/endpoints/thumbnailsv1.js +25 -0
  67. package/lib/endpoints/tradesv1.d.ts +92 -104
  68. package/lib/endpoints/tradesv2.d.ts +81 -84
  69. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  70. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  71. package/lib/endpoints/usersv1.d.ts +110 -114
  72. package/lib/index.d.ts +152 -4
  73. package/lib/index.js +273 -4
  74. package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
  75. package/lib/opencloud/v1/assets.d.ts +9 -9
  76. package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
  77. package/lib/opencloud/v1/datastores.d.ts +8 -8
  78. package/lib/opencloud/v1/developer-products.d.ts +4 -4
  79. package/lib/opencloud/v1/game-passes.d.ts +4 -4
  80. package/lib/opencloud/v1/messaging.d.ts +1 -1
  81. package/lib/opencloud/v1/open-eval.d.ts +2 -2
  82. package/lib/opencloud/v1/secrets-store.d.ts +5 -5
  83. package/lib/opencloud/v1/toolbox.d.ts +2 -2
  84. package/lib/opencloud/v1/universes.d.ts +1 -1
  85. package/lib/opencloud/v2/cloud.d.ts +172 -84
  86. package/lib/opencloud/v2/cloud.js +25 -9
  87. package/package.json +2 -2
@@ -1,8 +1,8 @@
1
- import { z } from "zod";
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("UncompressedSize"),
5
+ metadataType: z.literal('UncompressedSize'),
6
6
  value: z.string(),
7
7
  });
8
8
  const Roblox_Web_Assets_AssetFormatLocation = z.object({
@@ -14,29 +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
- "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",
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',
40
41
  ]),
41
42
  });
42
43
  const Roblox_Web_Assets_AssetContentRepresentationSpecifier = z.object({
@@ -51,8 +52,7 @@ const Roblox_Web_Assets_AssetResponseItemV2 = z.object({
51
52
  requestId: z.string(),
52
53
  isArchived: z.boolean(),
53
54
  assetTypeId: z.number().int(),
54
- contentRepresentationSpecifier:
55
- Roblox_Web_Assets_AssetContentRepresentationSpecifier,
55
+ contentRepresentationSpecifier: Roblox_Web_Assets_AssetContentRepresentationSpecifier,
56
56
  isRecordable: z.boolean(),
57
57
  });
58
58
  const Roblox_Web_Assets_BatchAssetRequestItem = z.object({
@@ -73,9 +73,10 @@ const Roblox_Web_Assets_BatchAssetRequestItem = z.object({
73
73
  assetVersionId: z.number().int(),
74
74
  modulePlaceId: z.number().int(),
75
75
  assetFormat: z.string(),
76
- "roblox-assetFormat": z.string(),
76
+ 'roblox-assetFormat': z.string(),
77
77
  assetResolutionMode: z.string(),
78
78
  accessContext: z.string(),
79
+ usageContext: z.number().int(),
79
80
  contentRepresentationPriorityList: z.string(),
80
81
  doNotFallbackToBaselineRepresentation: z.boolean(),
81
82
  });
@@ -96,71 +97,76 @@ const Roblox_Web_Assets_BatchAssetRequestItem = z.object({
96
97
  * @param serverplaceid
97
98
  * @param expectedAssetType
98
99
  * @param accessContext
100
+ * @param usageContext
99
101
  */
100
102
  export const getAliasAlias = endpoint({
101
- method: "GET",
102
- path: "/v2/alias/:alias",
103
- baseUrl: "https://assetdelivery.roblox.com",
104
- requestFormat: "json",
103
+ method: 'GET',
104
+ path: '/v2/alias/:alias',
105
+ baseUrl: 'https://assetdelivery.roblox.com',
106
+ requestFormat: 'json',
105
107
  serializationMethod: {
106
108
  alias: {
107
- style: "simple",
109
+ style: 'simple',
108
110
  },
109
- "Accept-Encoding": {
110
- style: "simple",
111
+ 'Accept-Encoding': {
112
+ style: 'simple',
111
113
  },
112
- "Roblox-Place-Id": {
113
- style: "simple",
114
+ 'Roblox-Place-Id': {
115
+ style: 'simple',
114
116
  },
115
117
  AssetType: {
116
- style: "simple",
118
+ style: 'simple',
117
119
  },
118
120
  Accept: {
119
- style: "simple",
121
+ style: 'simple',
120
122
  },
121
123
  AssetFormat: {
122
- style: "simple",
124
+ style: 'simple',
123
125
  },
124
- "Roblox-AssetFormat": {
125
- style: "simple",
126
+ 'Roblox-AssetFormat': {
127
+ style: 'simple',
126
128
  },
127
129
  skipSigningScripts: {
128
- style: "form",
130
+ style: 'form',
129
131
  explode: true,
130
132
  },
131
133
  clientInsert: {
132
- style: "form",
134
+ style: 'form',
133
135
  explode: true,
134
136
  },
135
137
  scriptinsert: {
136
- style: "form",
138
+ style: 'form',
137
139
  explode: true,
138
140
  },
139
141
  modulePlaceId: {
140
- style: "form",
142
+ style: 'form',
141
143
  explode: true,
142
144
  },
143
145
  serverplaceid: {
144
- style: "form",
146
+ style: 'form',
145
147
  explode: true,
146
148
  },
147
149
  expectedAssetType: {
148
- style: "form",
150
+ style: 'form',
149
151
  explode: true,
150
152
  },
151
153
  accessContext: {
152
- style: "form",
154
+ style: 'form',
155
+ explode: true,
156
+ },
157
+ usageContext: {
158
+ style: 'form',
153
159
  explode: true,
154
160
  },
155
161
  },
156
162
  parameters: {
157
163
  alias: z.string().regex(/^[0-9]+\/.+/),
158
- "Accept-Encoding": z.string(),
159
- "Roblox-Place-Id": z.number().int(),
164
+ 'Accept-Encoding': z.string(),
165
+ 'Roblox-Place-Id': z.number().int(),
160
166
  AssetType: z.string(),
161
167
  Accept: z.string(),
162
168
  AssetFormat: z.string(),
163
- "Roblox-AssetFormat": z.string(),
169
+ 'Roblox-AssetFormat': z.string(),
164
170
  skipSigningScripts: z.boolean().optional(),
165
171
  clientInsert: z.number().int().optional(),
166
172
  scriptinsert: z.number().int().optional(),
@@ -168,6 +174,7 @@ export const getAliasAlias = endpoint({
168
174
  serverplaceid: z.number().int().optional(),
169
175
  expectedAssetType: z.string().optional(),
170
176
  accessContext: z.string().optional(),
177
+ usageContext: z.number().int().optional(),
171
178
  },
172
179
  response: Roblox_Web_Assets_AssetResponseItemV2,
173
180
  errors: [],
@@ -199,115 +206,120 @@ export const getAliasAlias = endpoint({
199
206
  * @param doNotFallbackToBaselineRepresentation
200
207
  * @param contentRepresentationPriorityList
201
208
  * @param accessContext
209
+ * @param usageContext
202
210
  */
203
211
  export const getAsset = endpoint({
204
- method: "GET",
205
- path: "/v2/asset",
206
- baseUrl: "https://assetdelivery.roblox.com",
207
- requestFormat: "json",
212
+ method: 'GET',
213
+ path: '/v2/asset',
214
+ baseUrl: 'https://assetdelivery.roblox.com',
215
+ requestFormat: 'json',
208
216
  serializationMethod: {
209
- "Accept-Encoding": {
210
- style: "simple",
217
+ 'Accept-Encoding': {
218
+ style: 'simple',
211
219
  },
212
- "Roblox-Place-Id": {
213
- style: "simple",
220
+ 'Roblox-Place-Id': {
221
+ style: 'simple',
214
222
  },
215
223
  AssetType: {
216
- style: "simple",
224
+ style: 'simple',
217
225
  },
218
226
  Accept: {
219
- style: "simple",
227
+ style: 'simple',
220
228
  },
221
229
  AssetFormat: {
222
- style: "simple",
230
+ style: 'simple',
223
231
  },
224
- "Roblox-AssetFormat": {
225
- style: "simple",
232
+ 'Roblox-AssetFormat': {
233
+ style: 'simple',
226
234
  },
227
235
  id: {
228
- style: "form",
236
+ style: 'form',
229
237
  explode: true,
230
238
  },
231
239
  userAssetId: {
232
- style: "form",
240
+ style: 'form',
233
241
  explode: true,
234
242
  },
235
243
  assetVersionId: {
236
- style: "form",
244
+ style: 'form',
237
245
  explode: true,
238
246
  },
239
247
  version: {
240
- style: "form",
248
+ style: 'form',
241
249
  explode: true,
242
250
  },
243
251
  universeId: {
244
- style: "form",
252
+ style: 'form',
245
253
  explode: true,
246
254
  },
247
255
  clientInsert: {
248
- style: "form",
256
+ style: 'form',
249
257
  explode: true,
250
258
  },
251
259
  scriptinsert: {
252
- style: "form",
260
+ style: 'form',
253
261
  explode: true,
254
262
  },
255
263
  modulePlaceId: {
256
- style: "form",
264
+ style: 'form',
257
265
  explode: true,
258
266
  },
259
267
  serverplaceid: {
260
- style: "form",
268
+ style: 'form',
261
269
  explode: true,
262
270
  },
263
271
  assetName: {
264
- style: "form",
272
+ style: 'form',
265
273
  explode: true,
266
274
  },
267
275
  hash: {
268
- style: "form",
276
+ style: 'form',
269
277
  explode: true,
270
278
  },
271
279
  marAssetHash: {
272
- style: "form",
280
+ style: 'form',
273
281
  explode: true,
274
282
  },
275
283
  marCheckSum: {
276
- style: "form",
284
+ style: 'form',
277
285
  explode: true,
278
286
  },
279
287
  expectedAssetType: {
280
- style: "form",
288
+ style: 'form',
281
289
  explode: true,
282
290
  },
283
291
  skipSigningScripts: {
284
- style: "form",
292
+ style: 'form',
285
293
  explode: true,
286
294
  },
287
295
  permissionContext: {
288
- style: "form",
296
+ style: 'form',
289
297
  explode: true,
290
298
  },
291
299
  doNotFallbackToBaselineRepresentation: {
292
- style: "form",
300
+ style: 'form',
293
301
  explode: true,
294
302
  },
295
303
  contentRepresentationPriorityList: {
296
- style: "form",
304
+ style: 'form',
297
305
  explode: true,
298
306
  },
299
307
  accessContext: {
300
- style: "form",
308
+ style: 'form',
309
+ explode: true,
310
+ },
311
+ usageContext: {
312
+ style: 'form',
301
313
  explode: true,
302
314
  },
303
315
  },
304
316
  parameters: {
305
- "Accept-Encoding": z.string(),
306
- "Roblox-Place-Id": z.number().int(),
317
+ 'Accept-Encoding': z.string(),
318
+ 'Roblox-Place-Id': z.number().int(),
307
319
  AssetType: z.string(),
308
320
  Accept: z.string(),
309
321
  AssetFormat: z.string(),
310
- "Roblox-AssetFormat": z.string(),
322
+ 'Roblox-AssetFormat': z.string(),
311
323
  id: z.number().int().optional(),
312
324
  userAssetId: z.number().int().optional(),
313
325
  assetVersionId: z.number().int().optional(),
@@ -327,6 +339,7 @@ export const getAsset = endpoint({
327
339
  doNotFallbackToBaselineRepresentation: z.boolean().optional(),
328
340
  contentRepresentationPriorityList: z.string().optional(),
329
341
  accessContext: z.string().optional(),
342
+ usageContext: z.number().int().optional(),
330
343
  },
331
344
  response: Roblox_Web_Assets_AssetResponseItemV2,
332
345
  errors: [],
@@ -349,79 +362,84 @@ export const getAsset = endpoint({
349
362
  * @param doNotFallbackToBaselineRepresentation
350
363
  * @param contentRepresentationPriorityList
351
364
  * @param accessContext
365
+ * @param usageContext
352
366
  */
353
367
  export const getAssetidAssetid = endpoint({
354
- method: "GET",
355
- path: "/v2/assetId/:assetId",
356
- baseUrl: "https://assetdelivery.roblox.com",
357
- requestFormat: "json",
368
+ method: 'GET',
369
+ path: '/v2/assetId/:assetId',
370
+ baseUrl: 'https://assetdelivery.roblox.com',
371
+ requestFormat: 'json',
358
372
  serializationMethod: {
359
373
  assetId: {
360
- style: "simple",
374
+ style: 'simple',
361
375
  },
362
- "Accept-Encoding": {
363
- style: "simple",
376
+ 'Accept-Encoding': {
377
+ style: 'simple',
364
378
  },
365
- "Roblox-Place-Id": {
366
- style: "simple",
379
+ 'Roblox-Place-Id': {
380
+ style: 'simple',
367
381
  },
368
382
  AssetType: {
369
- style: "simple",
383
+ style: 'simple',
370
384
  },
371
385
  Accept: {
372
- style: "simple",
386
+ style: 'simple',
373
387
  },
374
388
  AssetFormat: {
375
- style: "simple",
389
+ style: 'simple',
376
390
  },
377
- "Roblox-AssetFormat": {
378
- style: "simple",
391
+ 'Roblox-AssetFormat': {
392
+ style: 'simple',
379
393
  },
380
394
  skipSigningScripts: {
381
- style: "form",
395
+ style: 'form',
382
396
  explode: true,
383
397
  },
384
398
  clientInsert: {
385
- style: "form",
399
+ style: 'form',
386
400
  explode: true,
387
401
  },
388
402
  scriptinsert: {
389
- style: "form",
403
+ style: 'form',
390
404
  explode: true,
391
405
  },
392
406
  modulePlaceId: {
393
- style: "form",
407
+ style: 'form',
394
408
  explode: true,
395
409
  },
396
410
  serverplaceid: {
397
- style: "form",
411
+ style: 'form',
398
412
  explode: true,
399
413
  },
400
414
  expectedAssetType: {
401
- style: "form",
415
+ style: 'form',
402
416
  explode: true,
403
417
  },
404
418
  doNotFallbackToBaselineRepresentation: {
405
- style: "form",
419
+ style: 'form',
406
420
  explode: true,
407
421
  },
408
422
  contentRepresentationPriorityList: {
409
- style: "form",
423
+ style: 'form',
410
424
  explode: true,
411
425
  },
412
426
  accessContext: {
413
- style: "form",
427
+ style: 'form',
428
+ explode: true,
429
+ },
430
+ usageContext: {
431
+ style: 'form',
414
432
  explode: true,
415
433
  },
416
434
  },
417
435
  parameters: {
418
436
  assetId: z.number().int(),
419
- "Accept-Encoding": z.string(),
420
- "Roblox-Place-Id": z.number().int(),
437
+ 'Accept-Encoding': z.string(),
438
+ 'Roblox-Place-Id': z.number().int(),
421
439
  AssetType: z.string(),
422
440
  Accept: z.string(),
423
441
  AssetFormat: z.string(),
424
- "Roblox-AssetFormat": z.string(),
442
+ 'Roblox-AssetFormat': z.string(),
425
443
  skipSigningScripts: z.boolean().optional(),
426
444
  clientInsert: z.number().int().optional(),
427
445
  scriptinsert: z.number().int().optional(),
@@ -431,6 +449,7 @@ export const getAssetidAssetid = endpoint({
431
449
  doNotFallbackToBaselineRepresentation: z.boolean().optional(),
432
450
  contentRepresentationPriorityList: z.string().optional(),
433
451
  accessContext: z.string().optional(),
452
+ usageContext: z.number().int().optional(),
434
453
  },
435
454
  response: Roblox_Web_Assets_AssetResponseItemV2,
436
455
  errors: [],
@@ -454,83 +473,88 @@ export const getAssetidAssetid = endpoint({
454
473
  * @param doNotFallbackToBaselineRepresentation
455
474
  * @param contentRepresentationPriorityList
456
475
  * @param accessContext
476
+ * @param usageContext
457
477
  */
458
478
  export const getAssetidAssetidVersionVersionnumber = endpoint({
459
- method: "GET",
460
- path: "/v2/assetId/:assetId/version/:versionNumber",
461
- baseUrl: "https://assetdelivery.roblox.com",
462
- requestFormat: "json",
479
+ method: 'GET',
480
+ path: '/v2/assetId/:assetId/version/:versionNumber',
481
+ baseUrl: 'https://assetdelivery.roblox.com',
482
+ requestFormat: 'json',
463
483
  serializationMethod: {
464
484
  assetId: {
465
- style: "simple",
485
+ style: 'simple',
466
486
  },
467
487
  versionNumber: {
468
- style: "simple",
488
+ style: 'simple',
469
489
  },
470
- "Accept-Encoding": {
471
- style: "simple",
490
+ 'Accept-Encoding': {
491
+ style: 'simple',
472
492
  },
473
- "Roblox-Place-Id": {
474
- style: "simple",
493
+ 'Roblox-Place-Id': {
494
+ style: 'simple',
475
495
  },
476
496
  AssetType: {
477
- style: "simple",
497
+ style: 'simple',
478
498
  },
479
499
  Accept: {
480
- style: "simple",
500
+ style: 'simple',
481
501
  },
482
502
  AssetFormat: {
483
- style: "simple",
503
+ style: 'simple',
484
504
  },
485
- "Roblox-AssetFormat": {
486
- style: "simple",
505
+ 'Roblox-AssetFormat': {
506
+ style: 'simple',
487
507
  },
488
508
  skipSigningScripts: {
489
- style: "form",
509
+ style: 'form',
490
510
  explode: true,
491
511
  },
492
512
  clientInsert: {
493
- style: "form",
513
+ style: 'form',
494
514
  explode: true,
495
515
  },
496
516
  scriptinsert: {
497
- style: "form",
517
+ style: 'form',
498
518
  explode: true,
499
519
  },
500
520
  modulePlaceId: {
501
- style: "form",
521
+ style: 'form',
502
522
  explode: true,
503
523
  },
504
524
  serverplaceid: {
505
- style: "form",
525
+ style: 'form',
506
526
  explode: true,
507
527
  },
508
528
  expectedAssetType: {
509
- style: "form",
529
+ style: 'form',
510
530
  explode: true,
511
531
  },
512
532
  doNotFallbackToBaselineRepresentation: {
513
- style: "form",
533
+ style: 'form',
514
534
  explode: true,
515
535
  },
516
536
  contentRepresentationPriorityList: {
517
- style: "form",
537
+ style: 'form',
518
538
  explode: true,
519
539
  },
520
540
  accessContext: {
521
- style: "form",
541
+ style: 'form',
542
+ explode: true,
543
+ },
544
+ usageContext: {
545
+ style: 'form',
522
546
  explode: true,
523
547
  },
524
548
  },
525
549
  parameters: {
526
550
  assetId: z.number().int(),
527
551
  versionNumber: z.number().int(),
528
- "Accept-Encoding": z.string(),
529
- "Roblox-Place-Id": z.number().int(),
552
+ 'Accept-Encoding': z.string(),
553
+ 'Roblox-Place-Id': z.number().int(),
530
554
  AssetType: z.string(),
531
555
  Accept: z.string(),
532
556
  AssetFormat: z.string(),
533
- "Roblox-AssetFormat": z.string(),
557
+ 'Roblox-AssetFormat': z.string(),
534
558
  skipSigningScripts: z.boolean().optional(),
535
559
  clientInsert: z.number().int().optional(),
536
560
  scriptinsert: z.number().int().optional(),
@@ -540,6 +564,7 @@ export const getAssetidAssetidVersionVersionnumber = endpoint({
540
564
  doNotFallbackToBaselineRepresentation: z.boolean().optional(),
541
565
  contentRepresentationPriorityList: z.string().optional(),
542
566
  accessContext: z.string().optional(),
567
+ usageContext: z.number().int().optional(),
543
568
  },
544
569
  response: Roblox_Web_Assets_AssetResponseItemV2,
545
570
  errors: [],
@@ -552,26 +577,26 @@ export const getAssetidAssetidVersionVersionnumber = endpoint({
552
577
  * @param Roblox-Browser-Asset-Request
553
578
  */
554
579
  export const postAssetsBatch = endpoint({
555
- method: "POST",
556
- path: "/v2/assets/batch",
557
- baseUrl: "https://assetdelivery.roblox.com",
558
- requestFormat: "json",
580
+ method: 'POST',
581
+ path: '/v2/assets/batch',
582
+ baseUrl: 'https://assetdelivery.roblox.com',
583
+ requestFormat: 'json',
559
584
  serializationMethod: {
560
585
  body: {},
561
- "Roblox-Place-Id": {
562
- style: "simple",
586
+ 'Roblox-Place-Id': {
587
+ style: 'simple',
563
588
  },
564
589
  Accept: {
565
- style: "simple",
590
+ style: 'simple',
566
591
  },
567
- "Roblox-Browser-Asset-Request": {
568
- style: "simple",
592
+ 'Roblox-Browser-Asset-Request': {
593
+ style: 'simple',
569
594
  },
570
595
  },
571
596
  parameters: {
572
- "Roblox-Place-Id": z.number().int(),
597
+ 'Roblox-Place-Id': z.number().int(),
573
598
  Accept: z.string(),
574
- "Roblox-Browser-Asset-Request": z.string(),
599
+ 'Roblox-Browser-Asset-Request': z.string(),
575
600
  },
576
601
  body: z.array(Roblox_Web_Assets_BatchAssetRequestItem),
577
602
  response: z.array(Roblox_Web_Assets_AssetResponseItemV2),
@@ -595,69 +620,69 @@ export const postAssetsBatch = endpoint({
595
620
  * @param expectedAssetType
596
621
  */
597
622
  export const getMarassethashMarassethashMarchecksumMarchecksum = endpoint({
598
- method: "GET",
599
- path: "/v2/marAssetHash/:marAssetHash/marCheckSum/:marCheckSum",
600
- baseUrl: "https://assetdelivery.roblox.com",
601
- requestFormat: "json",
623
+ method: 'GET',
624
+ path: '/v2/marAssetHash/:marAssetHash/marCheckSum/:marCheckSum',
625
+ baseUrl: 'https://assetdelivery.roblox.com',
626
+ requestFormat: 'json',
602
627
  serializationMethod: {
603
628
  marAssetHash: {
604
- style: "simple",
629
+ style: 'simple',
605
630
  },
606
631
  marCheckSum: {
607
- style: "simple",
632
+ style: 'simple',
608
633
  },
609
- "Accept-Encoding": {
610
- style: "simple",
634
+ 'Accept-Encoding': {
635
+ style: 'simple',
611
636
  },
612
- "Roblox-Place-Id": {
613
- style: "simple",
637
+ 'Roblox-Place-Id': {
638
+ style: 'simple',
614
639
  },
615
640
  AssetType: {
616
- style: "simple",
641
+ style: 'simple',
617
642
  },
618
643
  Accept: {
619
- style: "simple",
644
+ style: 'simple',
620
645
  },
621
646
  AssetFormat: {
622
- style: "simple",
647
+ style: 'simple',
623
648
  },
624
- "Roblox-AssetFormat": {
625
- style: "simple",
649
+ 'Roblox-AssetFormat': {
650
+ style: 'simple',
626
651
  },
627
652
  skipSigningScripts: {
628
- style: "form",
653
+ style: 'form',
629
654
  explode: true,
630
655
  },
631
656
  clientInsert: {
632
- style: "form",
657
+ style: 'form',
633
658
  explode: true,
634
659
  },
635
660
  scriptinsert: {
636
- style: "form",
661
+ style: 'form',
637
662
  explode: true,
638
663
  },
639
664
  modulePlaceId: {
640
- style: "form",
665
+ style: 'form',
641
666
  explode: true,
642
667
  },
643
668
  serverplaceid: {
644
- style: "form",
669
+ style: 'form',
645
670
  explode: true,
646
671
  },
647
672
  expectedAssetType: {
648
- style: "form",
673
+ style: 'form',
649
674
  explode: true,
650
675
  },
651
676
  },
652
677
  parameters: {
653
678
  marAssetHash: z.string(),
654
679
  marCheckSum: z.string(),
655
- "Accept-Encoding": z.string(),
656
- "Roblox-Place-Id": z.number().int(),
680
+ 'Accept-Encoding': z.string(),
681
+ 'Roblox-Place-Id': z.number().int(),
657
682
  AssetType: z.string(),
658
683
  Accept: z.string(),
659
684
  AssetFormat: z.string(),
660
- "Roblox-AssetFormat": z.string(),
685
+ 'Roblox-AssetFormat': z.string(),
661
686
  skipSigningScripts: z.boolean().optional(),
662
687
  clientInsert: z.number().int().optional(),
663
688
  scriptinsert: z.number().int().optional(),