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.
- package/LICENSE +1 -1
- package/README.md +75 -451
- 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 +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- 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 +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- 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 +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- 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 +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- 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/metricsv1.d.ts +88 -88
- 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 +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- 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 +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -30,6 +30,7 @@ const Roblox_Web_Assets_IAssetItemError = zod_1.z.object({
|
|
|
30
30
|
'NotApprovedByContentCompliance',
|
|
31
31
|
'AssetContentRepresentationGenerating',
|
|
32
32
|
'AssetArchived',
|
|
33
|
+
'AssetUsageNotAllowed',
|
|
33
34
|
]),
|
|
34
35
|
});
|
|
35
36
|
const Roblox_Web_Assets_AssetContentRepresentationSpecifier = zod_1.z.object({
|
|
@@ -73,6 +74,7 @@ const Roblox_Web_Assets_BatchAssetRequestItem = zod_1.z.object({
|
|
|
73
74
|
'roblox-assetFormat': zod_1.z.string(),
|
|
74
75
|
assetResolutionMode: zod_1.z.string(),
|
|
75
76
|
accessContext: zod_1.z.string(),
|
|
77
|
+
usageContext: zod_1.z.number().int(),
|
|
76
78
|
contentRepresentationPriorityList: zod_1.z.string(),
|
|
77
79
|
doNotFallbackToBaselineRepresentation: zod_1.z.boolean(),
|
|
78
80
|
});
|
|
@@ -93,6 +95,7 @@ const Roblox_Web_Assets_BatchAssetRequestItem = zod_1.z.object({
|
|
|
93
95
|
* @param serverplaceid
|
|
94
96
|
* @param expectedAssetType
|
|
95
97
|
* @param accessContext
|
|
98
|
+
* @param usageContext
|
|
96
99
|
*/
|
|
97
100
|
exports.getAliasAlias = (0, __1.endpoint)({
|
|
98
101
|
method: 'GET',
|
|
@@ -149,6 +152,10 @@ exports.getAliasAlias = (0, __1.endpoint)({
|
|
|
149
152
|
style: 'form',
|
|
150
153
|
explode: true,
|
|
151
154
|
},
|
|
155
|
+
usageContext: {
|
|
156
|
+
style: 'form',
|
|
157
|
+
explode: true,
|
|
158
|
+
},
|
|
152
159
|
},
|
|
153
160
|
parameters: {
|
|
154
161
|
alias: zod_1.z.string().regex(/^[0-9]+\/.+/),
|
|
@@ -165,6 +172,7 @@ exports.getAliasAlias = (0, __1.endpoint)({
|
|
|
165
172
|
serverplaceid: zod_1.z.number().int().optional(),
|
|
166
173
|
expectedAssetType: zod_1.z.string().optional(),
|
|
167
174
|
accessContext: zod_1.z.string().optional(),
|
|
175
|
+
usageContext: zod_1.z.number().int().optional(),
|
|
168
176
|
},
|
|
169
177
|
response: Roblox_Web_Assets_AssetResponseItemV1,
|
|
170
178
|
errors: [],
|
|
@@ -197,6 +205,7 @@ exports.getAliasAlias = (0, __1.endpoint)({
|
|
|
197
205
|
* @param contentRepresentationPriorityList
|
|
198
206
|
* @param assetResolutionMode
|
|
199
207
|
* @param accessContext
|
|
208
|
+
* @param usageContext
|
|
200
209
|
*/
|
|
201
210
|
exports.getAsset = (0, __1.endpoint)({
|
|
202
211
|
method: 'GET',
|
|
@@ -302,6 +311,10 @@ exports.getAsset = (0, __1.endpoint)({
|
|
|
302
311
|
style: 'form',
|
|
303
312
|
explode: true,
|
|
304
313
|
},
|
|
314
|
+
usageContext: {
|
|
315
|
+
style: 'form',
|
|
316
|
+
explode: true,
|
|
317
|
+
},
|
|
305
318
|
},
|
|
306
319
|
parameters: {
|
|
307
320
|
'Accept-Encoding': zod_1.z.string(),
|
|
@@ -330,6 +343,7 @@ exports.getAsset = (0, __1.endpoint)({
|
|
|
330
343
|
contentRepresentationPriorityList: zod_1.z.string().optional(),
|
|
331
344
|
assetResolutionMode: zod_1.z.string().optional(),
|
|
332
345
|
accessContext: zod_1.z.string().optional(),
|
|
346
|
+
usageContext: zod_1.z.number().int().optional(),
|
|
333
347
|
},
|
|
334
348
|
response: zod_1.z.void(),
|
|
335
349
|
errors: [],
|
|
@@ -353,6 +367,7 @@ exports.getAsset = (0, __1.endpoint)({
|
|
|
353
367
|
* @param doNotFallbackToBaselineRepresentation
|
|
354
368
|
* @param contentRepresentationPriorityList
|
|
355
369
|
* @param accessContext
|
|
370
|
+
* @param usageContext
|
|
356
371
|
*/
|
|
357
372
|
exports.getAssetidAssetid = (0, __1.endpoint)({
|
|
358
373
|
method: 'GET',
|
|
@@ -417,6 +432,10 @@ exports.getAssetidAssetid = (0, __1.endpoint)({
|
|
|
417
432
|
style: 'form',
|
|
418
433
|
explode: true,
|
|
419
434
|
},
|
|
435
|
+
usageContext: {
|
|
436
|
+
style: 'form',
|
|
437
|
+
explode: true,
|
|
438
|
+
},
|
|
420
439
|
},
|
|
421
440
|
parameters: {
|
|
422
441
|
assetId: zod_1.z.number().int(),
|
|
@@ -435,6 +454,7 @@ exports.getAssetidAssetid = (0, __1.endpoint)({
|
|
|
435
454
|
doNotFallbackToBaselineRepresentation: zod_1.z.boolean().optional(),
|
|
436
455
|
contentRepresentationPriorityList: zod_1.z.string().optional(),
|
|
437
456
|
accessContext: zod_1.z.string().optional(),
|
|
457
|
+
usageContext: zod_1.z.number().int().optional(),
|
|
438
458
|
},
|
|
439
459
|
response: Roblox_Web_Assets_AssetResponseItemV1,
|
|
440
460
|
errors: [],
|
|
@@ -459,6 +479,7 @@ exports.getAssetidAssetid = (0, __1.endpoint)({
|
|
|
459
479
|
* @param doNotFallbackToBaselineRepresentation
|
|
460
480
|
* @param contentRepresentationPriorityList
|
|
461
481
|
* @param accessContext
|
|
482
|
+
* @param usageContext
|
|
462
483
|
*/
|
|
463
484
|
exports.getAssetidAssetidVersionVersionnumber = (0, __1.endpoint)({
|
|
464
485
|
method: 'GET',
|
|
@@ -526,6 +547,10 @@ exports.getAssetidAssetidVersionVersionnumber = (0, __1.endpoint)({
|
|
|
526
547
|
style: 'form',
|
|
527
548
|
explode: true,
|
|
528
549
|
},
|
|
550
|
+
usageContext: {
|
|
551
|
+
style: 'form',
|
|
552
|
+
explode: true,
|
|
553
|
+
},
|
|
529
554
|
},
|
|
530
555
|
parameters: {
|
|
531
556
|
assetId: zod_1.z.number().int(),
|
|
@@ -545,6 +570,7 @@ exports.getAssetidAssetidVersionVersionnumber = (0, __1.endpoint)({
|
|
|
545
570
|
doNotFallbackToBaselineRepresentation: zod_1.z.boolean().optional(),
|
|
546
571
|
contentRepresentationPriorityList: zod_1.z.string().optional(),
|
|
547
572
|
accessContext: zod_1.z.string().optional(),
|
|
573
|
+
usageContext: zod_1.z.number().int().optional(),
|
|
548
574
|
},
|
|
549
575
|
response: Roblox_Web_Assets_AssetResponseItemV1,
|
|
550
576
|
errors: [],
|
|
@@ -703,6 +729,7 @@ exports.getMarassethashMarassethashMarchecksumMarchecksum = (0, __1.endpoint)({
|
|
|
703
729
|
* @param doNotFallbackToBaselineRepresentation Whether to prevent fallback to baseline representation when specific content representations are not available.
|
|
704
730
|
* @param contentRepresentationPriorityList Base64URL-encoded JSON string specifying the priority list of desired content representations (format, version, fidelity).
|
|
705
731
|
* @param accessContext
|
|
732
|
+
* @param usageContext
|
|
706
733
|
* @description Returns an object containing a `location` property which is a temporary CDN URL for the asset content. All asset types are supported.
|
|
707
734
|
You should request that URL with the `Accept-Encoding: gzip` header and decompress the result if the response is gzipped. If you are using cURL, the `--compressed` flag will automate these steps for you.
|
|
708
735
|
This endpoint is expected to be called with API key authentication through `apis.roblox.com/asset-delivery-api/v1/assetId/{assetId}`.
|
|
@@ -772,6 +799,10 @@ exports.getOpencloudAssetidAssetid = (0, __1.endpoint)({
|
|
|
772
799
|
style: 'form',
|
|
773
800
|
explode: true,
|
|
774
801
|
},
|
|
802
|
+
usageContext: {
|
|
803
|
+
style: 'form',
|
|
804
|
+
explode: true,
|
|
805
|
+
},
|
|
775
806
|
},
|
|
776
807
|
parameters: {
|
|
777
808
|
assetId: zod_1.z.number().int(),
|
|
@@ -790,6 +821,7 @@ exports.getOpencloudAssetidAssetid = (0, __1.endpoint)({
|
|
|
790
821
|
doNotFallbackToBaselineRepresentation: zod_1.z.boolean().optional(),
|
|
791
822
|
contentRepresentationPriorityList: zod_1.z.string().optional(),
|
|
792
823
|
accessContext: zod_1.z.string().optional(),
|
|
824
|
+
usageContext: zod_1.z.number().int().optional(),
|
|
793
825
|
},
|
|
794
826
|
response: Roblox_Web_Assets_AssetResponseItemV1,
|
|
795
827
|
errors: [
|
|
@@ -819,6 +851,7 @@ exports.getOpencloudAssetidAssetid = (0, __1.endpoint)({
|
|
|
819
851
|
* @param doNotFallbackToBaselineRepresentation
|
|
820
852
|
* @param contentRepresentationPriorityList
|
|
821
853
|
* @param accessContext
|
|
854
|
+
* @param usageContext
|
|
822
855
|
* @description Refer to the assetId endpoint for details on usage.
|
|
823
856
|
This endpoint is expected to be called with API key authentication through `apis.roblox.com/asset-delivery-api/v1/assetId/{assetId}/version/{versionNumber}`.
|
|
824
857
|
While you are able to make requests to this endpoint with Cookie authentication via `assetdelivery.roblox.com/v1/openCloud/assetId/{assetId}/version/{versionNumber}`, we highly discourage use this way.
|
|
@@ -890,6 +923,10 @@ exports.getOpencloudAssetidAssetidVersionVersionnumber = (0, __1.endpoint)({
|
|
|
890
923
|
style: 'form',
|
|
891
924
|
explode: true,
|
|
892
925
|
},
|
|
926
|
+
usageContext: {
|
|
927
|
+
style: 'form',
|
|
928
|
+
explode: true,
|
|
929
|
+
},
|
|
893
930
|
},
|
|
894
931
|
parameters: {
|
|
895
932
|
assetId: zod_1.z.number().int(),
|
|
@@ -909,6 +946,7 @@ exports.getOpencloudAssetidAssetidVersionVersionnumber = (0, __1.endpoint)({
|
|
|
909
946
|
doNotFallbackToBaselineRepresentation: zod_1.z.boolean().optional(),
|
|
910
947
|
contentRepresentationPriorityList: zod_1.z.string().optional(),
|
|
911
948
|
accessContext: zod_1.z.string().optional(),
|
|
949
|
+
usageContext: zod_1.z.number().int().optional(),
|
|
912
950
|
},
|
|
913
951
|
response: Roblox_Web_Assets_AssetResponseItemV1,
|
|
914
952
|
errors: [
|