rozod 4.7.3 → 4.8.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 +0 -25
- package/lib/endpoints/accountinformationv1.js +17 -1
- package/lib/endpoints/accountsettingsv1.d.ts +3 -32
- package/lib/endpoints/accountsettingsv1.js +3 -0
- package/lib/endpoints/assetdeliveryv1.d.ts +51 -7
- package/lib/endpoints/assetdeliveryv1.js +59 -1
- package/lib/endpoints/assetdeliveryv2.d.ts +51 -9
- package/lib/endpoints/assetdeliveryv2.js +60 -1
- package/lib/endpoints/authv1.d.ts +77 -65
- package/lib/endpoints/authv1.js +191 -143
- package/lib/endpoints/authv2.d.ts +29 -53
- package/lib/endpoints/authv2.js +32 -157
- package/lib/endpoints/authv3.d.ts +0 -6
- package/lib/endpoints/avatarv1.d.ts +215 -50
- package/lib/endpoints/avatarv1.js +215 -21
- package/lib/endpoints/avatarv2.d.ts +18 -23
- package/lib/endpoints/avatarv2.js +18 -3
- package/lib/endpoints/avatarv3.d.ts +19 -66
- package/lib/endpoints/avatarv3.js +20 -53
- package/lib/endpoints/badgesv1.d.ts +0 -16
- package/lib/endpoints/badgesv1.js +32 -1
- package/lib/endpoints/catalogv1.d.ts +50 -64
- package/lib/endpoints/catalogv1.js +52 -40
- package/lib/endpoints/chatv2.d.ts +1 -39
- package/lib/endpoints/chatv2.js +2 -0
- package/lib/endpoints/developv1.d.ts +0 -396
- package/lib/endpoints/developv1.js +4 -463
- package/lib/endpoints/developv2.d.ts +0 -15
- package/lib/endpoints/developv2.js +3 -4
- package/lib/endpoints/economyv1.d.ts +0 -4
- package/lib/endpoints/friendsv1.d.ts +3 -33
- package/lib/endpoints/friendsv1.js +7 -3
- package/lib/endpoints/gamejoinv1.d.ts +11 -15
- package/lib/endpoints/gamejoinv1.js +32 -0
- package/lib/endpoints/gamesv1.d.ts +2 -55
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +1 -9
- package/lib/endpoints/gamesv2.js +2 -0
- package/lib/endpoints/groupsv1.d.ts +57 -85
- package/lib/endpoints/groupsv1.js +61 -8
- package/lib/endpoints/groupsv2.d.ts +8 -18
- package/lib/endpoints/groupsv2.js +8 -2
- package/lib/endpoints/inventoryv1.d.ts +2 -14
- package/lib/endpoints/inventoryv1.js +2 -0
- package/lib/endpoints/inventoryv2.d.ts +1 -11
- package/lib/endpoints/inventoryv2.js +1 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +1 -17
- package/lib/endpoints/itemconfigurationv1.js +3 -1
- package/lib/endpoints/presencev1.d.ts +0 -11
- package/lib/endpoints/privatemessagesv1.d.ts +0 -16
- package/lib/endpoints/thumbnailsv1.d.ts +35 -25
- package/lib/endpoints/thumbnailsv1.js +36 -15
- package/lib/endpoints/tradesv1.d.ts +2 -17
- package/lib/endpoints/tradesv1.js +2 -1
- package/lib/endpoints/translationsv1.d.ts +15 -5
- package/lib/endpoints/translationsv1.js +15 -0
- package/lib/endpoints/usersv1.d.ts +6 -29
- package/lib/endpoints/usersv1.js +6 -3
- package/lib/index.d.ts +3 -1
- package/package.json +3 -3
|
@@ -107,31 +107,6 @@ const Roblox_AccountInformation_Api_Models_VerifyEmailResponse = z
|
|
|
107
107
|
const Roblox_AccountInformation_Api_Models_EmptyRequest = z.object({}).passthrough();
|
|
108
108
|
const Roblox_AccountInformation_Api_Models_VerifyPhoneRequest = z.object({ code: z.string() }).passthrough();
|
|
109
109
|
|
|
110
|
-
const schemas = {
|
|
111
|
-
Roblox_AccountInformation_Api_Models_BirthdateResponse,
|
|
112
|
-
Roblox_AccountInformation_Api_Models_BirthdateRequest,
|
|
113
|
-
Roblox_Web_WebAPI_ApiEmptyResponseModel,
|
|
114
|
-
Roblox_AccountInformation_Api_Models_DescriptionResponse,
|
|
115
|
-
Roblox_AccountInformation_Api_Models_DescriptionRequest,
|
|
116
|
-
Roblox_AccountInformation_Api_Models_GenderResponse,
|
|
117
|
-
Roblox_AccountInformation_Api_Models_GenderRequest,
|
|
118
|
-
Roblox_AccountInformation_Api_Models_MetadataResponse,
|
|
119
|
-
Roblox_AccountInformation_Api_Models_PhoneResponse,
|
|
120
|
-
Roblox_AccountInformation_Api_Models_PhoneRequest,
|
|
121
|
-
Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse,
|
|
122
|
-
Roblox_AccountInformation_Api_Models_PromotionChannelsResponse,
|
|
123
|
-
Roblox_AccountInformation_Api_Models_PromotionChannelsRequest,
|
|
124
|
-
Roblox_AccountInformation_Api_Models_StarCodeAffiliateResponse,
|
|
125
|
-
Roblox_AccountInformation_Api_Models_StarCodeAffiliateRequest,
|
|
126
|
-
Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse,
|
|
127
|
-
Roblox_AccountInformation_Api_RobloxBadgeResponse,
|
|
128
|
-
Roblox_AccountInformation_Api_Models_ConsecutiveLoginDaysResponse,
|
|
129
|
-
Roblox_AccountInformation_Api_Models_VerifyEmailRequest,
|
|
130
|
-
Roblox_AccountInformation_Api_Models_VerifyEmailResponse,
|
|
131
|
-
Roblox_AccountInformation_Api_Models_EmptyRequest,
|
|
132
|
-
Roblox_AccountInformation_Api_Models_VerifyPhoneRequest,
|
|
133
|
-
};
|
|
134
|
-
|
|
135
110
|
/**
|
|
136
111
|
* @api GET https://accountinformation.roblox.com/v1/birthdate
|
|
137
112
|
* @summary Get the user's birthdate
|
|
@@ -520,12 +520,22 @@ exports.postPhoneVerify = (0, __1.endpoint)({
|
|
|
520
520
|
/**
|
|
521
521
|
* @api GET https://accountinformation.roblox.com/v1/promotion-channels
|
|
522
522
|
* @summary Get the user's promotion channels
|
|
523
|
+
* @param alwaysReturnUrls Whether all promotion channel links should be returned as full URLs.
|
|
523
524
|
*/
|
|
524
525
|
exports.getPromotionChannels = (0, __1.endpoint)({
|
|
525
526
|
method: 'get',
|
|
526
527
|
path: '/v1/promotion-channels',
|
|
527
528
|
baseUrl: 'https://accountinformation.roblox.com',
|
|
528
529
|
requestFormat: 'json',
|
|
530
|
+
serializationMethod: {
|
|
531
|
+
alwaysReturnUrls: {
|
|
532
|
+
style: 'form',
|
|
533
|
+
explode: true,
|
|
534
|
+
},
|
|
535
|
+
},
|
|
536
|
+
parameters: {
|
|
537
|
+
alwaysReturnUrls: zod_1.z.boolean().optional(),
|
|
538
|
+
},
|
|
529
539
|
response: Roblox_AccountInformation_Api_Models_PromotionChannelsResponse,
|
|
530
540
|
errors: [
|
|
531
541
|
{
|
|
@@ -660,7 +670,8 @@ exports.deleteStarCodeAffiliates = (0, __1.endpoint)({
|
|
|
660
670
|
/**
|
|
661
671
|
* @api GET https://accountinformation.roblox.com/v1/users/:userId/promotion-channels
|
|
662
672
|
* @summary Get promotion channels for a given user ID
|
|
663
|
-
* @param userId
|
|
673
|
+
* @param userId The ID of the user to fetch the promotion channels for.
|
|
674
|
+
* @param alwaysReturnUrls Whether all promotion channel links should be returned as full URLs.
|
|
664
675
|
*/
|
|
665
676
|
exports.getUsersUseridPromotionChannels = (0, __1.endpoint)({
|
|
666
677
|
method: 'get',
|
|
@@ -671,9 +682,14 @@ exports.getUsersUseridPromotionChannels = (0, __1.endpoint)({
|
|
|
671
682
|
userId: {
|
|
672
683
|
style: 'simple',
|
|
673
684
|
},
|
|
685
|
+
alwaysReturnUrls: {
|
|
686
|
+
style: 'form',
|
|
687
|
+
explode: true,
|
|
688
|
+
},
|
|
674
689
|
},
|
|
675
690
|
parameters: {
|
|
676
691
|
userId: zod_1.z.number().int(),
|
|
692
|
+
alwaysReturnUrls: zod_1.z.boolean().optional(),
|
|
677
693
|
},
|
|
678
694
|
response: Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse,
|
|
679
695
|
errors: [
|
|
@@ -149,38 +149,6 @@ const Roblox_AccountSettings_Api_SendVerifyEmailRequest = z
|
|
|
149
149
|
.object({ freeItem: z.boolean(), isAdsAccount: z.boolean() })
|
|
150
150
|
.passthrough();
|
|
151
151
|
|
|
152
|
-
const schemas = {
|
|
153
|
-
Roblox_AccountSettings_Api_Models_Response_UserAccountCountry,
|
|
154
|
-
Roblox_AccountSettings_Api_Models_Response_AccountCountrySettingsResponse,
|
|
155
|
-
Roblox_AccountSettings_Api_UpdateAccountCountryRequest,
|
|
156
|
-
Roblox_AccountSettings_Api_Models_Response_UpdateAccountCountryResponse,
|
|
157
|
-
Roblox_AccountSettings_Api_Models_AccountsSettingsMetadataModel,
|
|
158
|
-
Roblox_AccountSettings_Api_AppChatPrivacyResponse,
|
|
159
|
-
Roblox_AccountSettings_Api_AppChatPrivacyRequest,
|
|
160
|
-
Roblox_Web_WebAPI_ApiEmptyResponseModel,
|
|
161
|
-
Roblox_AccountSettings_Api_EmailResponse,
|
|
162
|
-
Roblox_AccountSettings_Api_UpdateEmailRequest,
|
|
163
|
-
Roblox_AccountSettings_Api_GameChatPrivacyResponse,
|
|
164
|
-
Roblox_AccountSettings_Api_GameChatPrivacyRequest,
|
|
165
|
-
Roblox_AccountSettings_Api_InventoryPrivacyResponse,
|
|
166
|
-
Roblox_AccountSettings_Api_InventoryPrivacyRequest,
|
|
167
|
-
Roblox_AccountSettings_Api_InventoryPrivacyUpdateResponse,
|
|
168
|
-
Roblox_AccountSettings_Api_PrivateMessagePrivacyResponse,
|
|
169
|
-
Roblox_AccountSettings_Api_PrivateMessagePrivacyRequest,
|
|
170
|
-
Roblox_AccountSettings_Api_ThemeConfigurationResponse,
|
|
171
|
-
Roblox_AccountSettings_Api_ThemeConfigurationRequest,
|
|
172
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_System_String_,
|
|
173
|
-
Roblox_AccountSettings_Api_TradePrivacyResponse,
|
|
174
|
-
Roblox_AccountSettings_Api_UpdateTradePrivacyRequest,
|
|
175
|
-
Roblox_AccountSettings_Api_TradePrivacyUpdateResponse,
|
|
176
|
-
Roblox_AccountSettings_Api_TradeValueResponse,
|
|
177
|
-
Roblox_AccountSettings_Api_TradeValueRequest,
|
|
178
|
-
Roblox_AccountSettings_Api_Models_Response_GetBlockedUsersResponse,
|
|
179
|
-
Roblox_AccountSettings_Api_Models_BlockedUser,
|
|
180
|
-
Roblox_AccountSettings_Api_Models_Response_GetDetailedBlockedUsersResponse,
|
|
181
|
-
Roblox_AccountSettings_Api_SendVerifyEmailRequest,
|
|
182
|
-
};
|
|
183
|
-
|
|
184
152
|
/**
|
|
185
153
|
* @api GET https://accountsettings.roblox.com/v1/account/settings/account-country
|
|
186
154
|
* @summary Get a user's current account country setting.
|
|
@@ -353,6 +321,7 @@ export const postEmail = endpoint({
|
|
|
353
321
|
status: 403,
|
|
354
322
|
description: `0: Token Validation Failed
|
|
355
323
|
1: PIN is locked.
|
|
324
|
+
2: This feature is currently disabled. Please try again later.
|
|
356
325
|
3: There are too many accounts associated with this email address.
|
|
357
326
|
11: You must be on the Corporate network to log in.`,
|
|
358
327
|
},
|
|
@@ -401,6 +370,7 @@ export const patchEmail = endpoint({
|
|
|
401
370
|
status: 403,
|
|
402
371
|
description: `0: Token Validation Failed
|
|
403
372
|
1: PIN is locked.
|
|
373
|
+
2: This feature is currently disabled. Please try again later.
|
|
404
374
|
3: There are too many accounts associated with this email address.
|
|
405
375
|
11: You must be on the Corporate network to log in.`,
|
|
406
376
|
},
|
|
@@ -448,6 +418,7 @@ export const postEmailVerify = endpoint({
|
|
|
448
418
|
status: 403,
|
|
449
419
|
description: `0: Token Validation Failed
|
|
450
420
|
1: PIN is locked.
|
|
421
|
+
2: This feature is currently disabled. Please try again later.
|
|
451
422
|
11: You must be on the Corporate network to log in.`,
|
|
452
423
|
},
|
|
453
424
|
{
|
|
@@ -322,6 +322,7 @@ exports.postEmail = (0, __1.endpoint)({
|
|
|
322
322
|
status: 403,
|
|
323
323
|
description: `0: Token Validation Failed
|
|
324
324
|
1: PIN is locked.
|
|
325
|
+
2: This feature is currently disabled. Please try again later.
|
|
325
326
|
3: There are too many accounts associated with this email address.
|
|
326
327
|
11: You must be on the Corporate network to log in.`,
|
|
327
328
|
},
|
|
@@ -370,6 +371,7 @@ exports.patchEmail = (0, __1.endpoint)({
|
|
|
370
371
|
status: 403,
|
|
371
372
|
description: `0: Token Validation Failed
|
|
372
373
|
1: PIN is locked.
|
|
374
|
+
2: This feature is currently disabled. Please try again later.
|
|
373
375
|
3: There are too many accounts associated with this email address.
|
|
374
376
|
11: You must be on the Corporate network to log in.`,
|
|
375
377
|
},
|
|
@@ -417,6 +419,7 @@ exports.postEmailVerify = (0, __1.endpoint)({
|
|
|
417
419
|
status: 403,
|
|
418
420
|
description: `0: Token Validation Failed
|
|
419
421
|
1: PIN is locked.
|
|
422
|
+
2: This feature is currently disabled. Please try again later.
|
|
420
423
|
11: You must be on the Corporate network to log in.`,
|
|
421
424
|
},
|
|
422
425
|
{
|
|
@@ -5,7 +5,19 @@ const Roblox_Web_Assets_IAssetItemError = z
|
|
|
5
5
|
.object({
|
|
6
6
|
Code: z.number().int(),
|
|
7
7
|
Message: z.string(),
|
|
8
|
-
CustomErrorCode: z.union([
|
|
8
|
+
CustomErrorCode: z.union([
|
|
9
|
+
z.literal(0),
|
|
10
|
+
z.literal(1),
|
|
11
|
+
z.literal(2),
|
|
12
|
+
z.literal(3),
|
|
13
|
+
z.literal(4),
|
|
14
|
+
z.literal(5),
|
|
15
|
+
z.literal(6),
|
|
16
|
+
z.literal(7),
|
|
17
|
+
z.literal(8),
|
|
18
|
+
z.literal(9),
|
|
19
|
+
z.literal(10),
|
|
20
|
+
]),
|
|
9
21
|
})
|
|
10
22
|
.passthrough();
|
|
11
23
|
const Roblox_Web_Assets_IAssetResponseItem = z
|
|
@@ -38,15 +50,11 @@ const Roblox_Web_Assets_BatchAssetRequestItem = z
|
|
|
38
50
|
modulePlaceId: z.number().int(),
|
|
39
51
|
assetFormat: z.string(),
|
|
40
52
|
'roblox-assetFormat': z.string(),
|
|
53
|
+
contentRepresentationPriorityList: z.string(),
|
|
54
|
+
doNotFallbackToBaselineRepresentation: z.boolean(),
|
|
41
55
|
})
|
|
42
56
|
.passthrough();
|
|
43
57
|
|
|
44
|
-
const schemas = {
|
|
45
|
-
Roblox_Web_Assets_IAssetItemError,
|
|
46
|
-
Roblox_Web_Assets_IAssetResponseItem,
|
|
47
|
-
Roblox_Web_Assets_BatchAssetRequestItem,
|
|
48
|
-
};
|
|
49
|
-
|
|
50
58
|
/**
|
|
51
59
|
* @api GET https://assetdelivery.roblox.com/v1/alias/:alias
|
|
52
60
|
* @summary Retrieves an asset by its alias (universeID/name)
|
|
@@ -158,6 +166,8 @@ export const getAliasAlias = endpoint({
|
|
|
158
166
|
* @param expectedAssetType
|
|
159
167
|
* @param skipSigningScripts
|
|
160
168
|
* @param permissionContext
|
|
169
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
170
|
+
* @param contentRepresentationPriorityList
|
|
161
171
|
*/
|
|
162
172
|
export const getAsset = endpoint({
|
|
163
173
|
method: 'get' as const,
|
|
@@ -247,6 +257,14 @@ export const getAsset = endpoint({
|
|
|
247
257
|
style: 'form',
|
|
248
258
|
explode: true,
|
|
249
259
|
},
|
|
260
|
+
doNotFallbackToBaselineRepresentation: {
|
|
261
|
+
style: 'form',
|
|
262
|
+
explode: true,
|
|
263
|
+
},
|
|
264
|
+
contentRepresentationPriorityList: {
|
|
265
|
+
style: 'form',
|
|
266
|
+
explode: true,
|
|
267
|
+
},
|
|
250
268
|
},
|
|
251
269
|
parameters: {
|
|
252
270
|
'Accept-Encoding': z.string(),
|
|
@@ -271,6 +289,8 @@ export const getAsset = endpoint({
|
|
|
271
289
|
expectedAssetType: z.string().optional(),
|
|
272
290
|
skipSigningScripts: z.boolean().optional(),
|
|
273
291
|
permissionContext: z.string().optional(),
|
|
292
|
+
doNotFallbackToBaselineRepresentation: z.boolean().optional(),
|
|
293
|
+
contentRepresentationPriorityList: z.string().optional(),
|
|
274
294
|
},
|
|
275
295
|
response: z.void(),
|
|
276
296
|
errors: [],
|
|
@@ -378,6 +398,8 @@ export const getAssethashHash = endpoint({
|
|
|
378
398
|
* @param modulePlaceId
|
|
379
399
|
* @param serverplaceid
|
|
380
400
|
* @param expectedAssetType
|
|
401
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
402
|
+
* @param contentRepresentationPriorityList
|
|
381
403
|
*/
|
|
382
404
|
export const getAssetidAssetid = endpoint({
|
|
383
405
|
method: 'get' as const,
|
|
@@ -430,6 +452,14 @@ export const getAssetidAssetid = endpoint({
|
|
|
430
452
|
style: 'form',
|
|
431
453
|
explode: true,
|
|
432
454
|
},
|
|
455
|
+
doNotFallbackToBaselineRepresentation: {
|
|
456
|
+
style: 'form',
|
|
457
|
+
explode: true,
|
|
458
|
+
},
|
|
459
|
+
contentRepresentationPriorityList: {
|
|
460
|
+
style: 'form',
|
|
461
|
+
explode: true,
|
|
462
|
+
},
|
|
433
463
|
},
|
|
434
464
|
parameters: {
|
|
435
465
|
assetId: z.number().int(),
|
|
@@ -445,6 +475,8 @@ export const getAssetidAssetid = endpoint({
|
|
|
445
475
|
modulePlaceId: z.number().int().optional(),
|
|
446
476
|
serverplaceid: z.number().int().optional(),
|
|
447
477
|
expectedAssetType: z.string().optional(),
|
|
478
|
+
doNotFallbackToBaselineRepresentation: z.boolean().optional(),
|
|
479
|
+
contentRepresentationPriorityList: z.string().optional(),
|
|
448
480
|
},
|
|
449
481
|
response: Roblox_Web_Assets_IAssetResponseItem,
|
|
450
482
|
errors: [],
|
|
@@ -466,6 +498,8 @@ export const getAssetidAssetid = endpoint({
|
|
|
466
498
|
* @param modulePlaceId
|
|
467
499
|
* @param serverplaceid
|
|
468
500
|
* @param expectedAssetType
|
|
501
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
502
|
+
* @param contentRepresentationPriorityList
|
|
469
503
|
*/
|
|
470
504
|
export const getAssetidAssetidVersionVersion = endpoint({
|
|
471
505
|
method: 'get' as const,
|
|
@@ -521,6 +555,14 @@ export const getAssetidAssetidVersionVersion = endpoint({
|
|
|
521
555
|
style: 'form',
|
|
522
556
|
explode: true,
|
|
523
557
|
},
|
|
558
|
+
doNotFallbackToBaselineRepresentation: {
|
|
559
|
+
style: 'form',
|
|
560
|
+
explode: true,
|
|
561
|
+
},
|
|
562
|
+
contentRepresentationPriorityList: {
|
|
563
|
+
style: 'form',
|
|
564
|
+
explode: true,
|
|
565
|
+
},
|
|
524
566
|
},
|
|
525
567
|
parameters: {
|
|
526
568
|
assetId: z.number().int(),
|
|
@@ -537,6 +579,8 @@ export const getAssetidAssetidVersionVersion = endpoint({
|
|
|
537
579
|
modulePlaceId: z.number().int().optional(),
|
|
538
580
|
serverplaceid: z.number().int().optional(),
|
|
539
581
|
expectedAssetType: z.string().optional(),
|
|
582
|
+
doNotFallbackToBaselineRepresentation: z.boolean().optional(),
|
|
583
|
+
contentRepresentationPriorityList: z.string().optional(),
|
|
540
584
|
},
|
|
541
585
|
response: Roblox_Web_Assets_IAssetResponseItem,
|
|
542
586
|
errors: [],
|
|
@@ -7,7 +7,26 @@ const Roblox_Web_Assets_IAssetItemError = zod_1.z
|
|
|
7
7
|
.object({
|
|
8
8
|
Code: zod_1.z.number().int(),
|
|
9
9
|
Message: zod_1.z.string(),
|
|
10
|
-
CustomErrorCode: zod_1.z.union([
|
|
10
|
+
CustomErrorCode: zod_1.z.union([
|
|
11
|
+
zod_1.z.literal(0),
|
|
12
|
+
zod_1.z.literal(1),
|
|
13
|
+
zod_1.z.literal(2),
|
|
14
|
+
zod_1.z.literal(3),
|
|
15
|
+
zod_1.z.literal(4),
|
|
16
|
+
zod_1.z.literal(5),
|
|
17
|
+
zod_1.z.literal(6),
|
|
18
|
+
zod_1.z.literal(7),
|
|
19
|
+
zod_1.z.literal(8),
|
|
20
|
+
zod_1.z.literal(9),
|
|
21
|
+
zod_1.z.literal(10),
|
|
22
|
+
]),
|
|
23
|
+
})
|
|
24
|
+
.passthrough();
|
|
25
|
+
const Roblox_Web_Assets_AssetContentRepresentationSpecifier = zod_1.z
|
|
26
|
+
.object({
|
|
27
|
+
format: zod_1.z.string(),
|
|
28
|
+
majorVersion: zod_1.z.string(),
|
|
29
|
+
fidelity: zod_1.z.string(),
|
|
11
30
|
})
|
|
12
31
|
.passthrough();
|
|
13
32
|
const Roblox_Web_Assets_IAssetResponseItem = zod_1.z
|
|
@@ -18,6 +37,7 @@ const Roblox_Web_Assets_IAssetResponseItem = zod_1.z
|
|
|
18
37
|
IsHashDynamic: zod_1.z.boolean(),
|
|
19
38
|
IsCopyrightProtected: zod_1.z.boolean(),
|
|
20
39
|
IsArchived: zod_1.z.boolean(),
|
|
40
|
+
ContentRepresentationSpecifier: Roblox_Web_Assets_AssetContentRepresentationSpecifier,
|
|
21
41
|
})
|
|
22
42
|
.passthrough();
|
|
23
43
|
const Roblox_Web_Assets_BatchAssetRequestItem = zod_1.z
|
|
@@ -40,6 +60,8 @@ const Roblox_Web_Assets_BatchAssetRequestItem = zod_1.z
|
|
|
40
60
|
modulePlaceId: zod_1.z.number().int(),
|
|
41
61
|
assetFormat: zod_1.z.string(),
|
|
42
62
|
'roblox-assetFormat': zod_1.z.string(),
|
|
63
|
+
contentRepresentationPriorityList: zod_1.z.string(),
|
|
64
|
+
doNotFallbackToBaselineRepresentation: zod_1.z.boolean(),
|
|
43
65
|
})
|
|
44
66
|
.passthrough();
|
|
45
67
|
/**
|
|
@@ -153,6 +175,8 @@ exports.getAliasAlias = (0, __1.endpoint)({
|
|
|
153
175
|
* @param expectedAssetType
|
|
154
176
|
* @param skipSigningScripts
|
|
155
177
|
* @param permissionContext
|
|
178
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
179
|
+
* @param contentRepresentationPriorityList
|
|
156
180
|
*/
|
|
157
181
|
exports.getAsset = (0, __1.endpoint)({
|
|
158
182
|
method: 'get',
|
|
@@ -242,6 +266,14 @@ exports.getAsset = (0, __1.endpoint)({
|
|
|
242
266
|
style: 'form',
|
|
243
267
|
explode: true,
|
|
244
268
|
},
|
|
269
|
+
doNotFallbackToBaselineRepresentation: {
|
|
270
|
+
style: 'form',
|
|
271
|
+
explode: true,
|
|
272
|
+
},
|
|
273
|
+
contentRepresentationPriorityList: {
|
|
274
|
+
style: 'form',
|
|
275
|
+
explode: true,
|
|
276
|
+
},
|
|
245
277
|
},
|
|
246
278
|
parameters: {
|
|
247
279
|
'Accept-Encoding': zod_1.z.string(),
|
|
@@ -266,6 +298,8 @@ exports.getAsset = (0, __1.endpoint)({
|
|
|
266
298
|
expectedAssetType: zod_1.z.string().optional(),
|
|
267
299
|
skipSigningScripts: zod_1.z.boolean().optional(),
|
|
268
300
|
permissionContext: zod_1.z.string().optional(),
|
|
301
|
+
doNotFallbackToBaselineRepresentation: zod_1.z.boolean().optional(),
|
|
302
|
+
contentRepresentationPriorityList: zod_1.z.string().optional(),
|
|
269
303
|
},
|
|
270
304
|
response: zod_1.z.void(),
|
|
271
305
|
errors: [],
|
|
@@ -373,6 +407,8 @@ exports.getAssethashHash = (0, __1.endpoint)({
|
|
|
373
407
|
* @param modulePlaceId
|
|
374
408
|
* @param serverplaceid
|
|
375
409
|
* @param expectedAssetType
|
|
410
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
411
|
+
* @param contentRepresentationPriorityList
|
|
376
412
|
*/
|
|
377
413
|
exports.getAssetidAssetid = (0, __1.endpoint)({
|
|
378
414
|
method: 'get',
|
|
@@ -425,6 +461,14 @@ exports.getAssetidAssetid = (0, __1.endpoint)({
|
|
|
425
461
|
style: 'form',
|
|
426
462
|
explode: true,
|
|
427
463
|
},
|
|
464
|
+
doNotFallbackToBaselineRepresentation: {
|
|
465
|
+
style: 'form',
|
|
466
|
+
explode: true,
|
|
467
|
+
},
|
|
468
|
+
contentRepresentationPriorityList: {
|
|
469
|
+
style: 'form',
|
|
470
|
+
explode: true,
|
|
471
|
+
},
|
|
428
472
|
},
|
|
429
473
|
parameters: {
|
|
430
474
|
assetId: zod_1.z.number().int(),
|
|
@@ -440,6 +484,8 @@ exports.getAssetidAssetid = (0, __1.endpoint)({
|
|
|
440
484
|
modulePlaceId: zod_1.z.number().int().optional(),
|
|
441
485
|
serverplaceid: zod_1.z.number().int().optional(),
|
|
442
486
|
expectedAssetType: zod_1.z.string().optional(),
|
|
487
|
+
doNotFallbackToBaselineRepresentation: zod_1.z.boolean().optional(),
|
|
488
|
+
contentRepresentationPriorityList: zod_1.z.string().optional(),
|
|
443
489
|
},
|
|
444
490
|
response: Roblox_Web_Assets_IAssetResponseItem,
|
|
445
491
|
errors: [],
|
|
@@ -461,6 +507,8 @@ exports.getAssetidAssetid = (0, __1.endpoint)({
|
|
|
461
507
|
* @param modulePlaceId
|
|
462
508
|
* @param serverplaceid
|
|
463
509
|
* @param expectedAssetType
|
|
510
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
511
|
+
* @param contentRepresentationPriorityList
|
|
464
512
|
*/
|
|
465
513
|
exports.getAssetidAssetidVersionVersion = (0, __1.endpoint)({
|
|
466
514
|
method: 'get',
|
|
@@ -516,6 +564,14 @@ exports.getAssetidAssetidVersionVersion = (0, __1.endpoint)({
|
|
|
516
564
|
style: 'form',
|
|
517
565
|
explode: true,
|
|
518
566
|
},
|
|
567
|
+
doNotFallbackToBaselineRepresentation: {
|
|
568
|
+
style: 'form',
|
|
569
|
+
explode: true,
|
|
570
|
+
},
|
|
571
|
+
contentRepresentationPriorityList: {
|
|
572
|
+
style: 'form',
|
|
573
|
+
explode: true,
|
|
574
|
+
},
|
|
519
575
|
},
|
|
520
576
|
parameters: {
|
|
521
577
|
assetId: zod_1.z.number().int(),
|
|
@@ -532,6 +588,8 @@ exports.getAssetidAssetidVersionVersion = (0, __1.endpoint)({
|
|
|
532
588
|
modulePlaceId: zod_1.z.number().int().optional(),
|
|
533
589
|
serverplaceid: zod_1.z.number().int().optional(),
|
|
534
590
|
expectedAssetType: zod_1.z.string().optional(),
|
|
591
|
+
doNotFallbackToBaselineRepresentation: zod_1.z.boolean().optional(),
|
|
592
|
+
contentRepresentationPriorityList: zod_1.z.string().optional(),
|
|
535
593
|
},
|
|
536
594
|
response: Roblox_Web_Assets_IAssetResponseItem,
|
|
537
595
|
errors: [],
|
|
@@ -6,7 +6,19 @@ const Roblox_Web_Assets_IAssetItemError = z
|
|
|
6
6
|
.object({
|
|
7
7
|
Code: z.number().int(),
|
|
8
8
|
Message: z.string(),
|
|
9
|
-
CustomErrorCode: z.union([
|
|
9
|
+
CustomErrorCode: z.union([
|
|
10
|
+
z.literal(0),
|
|
11
|
+
z.literal(1),
|
|
12
|
+
z.literal(2),
|
|
13
|
+
z.literal(3),
|
|
14
|
+
z.literal(4),
|
|
15
|
+
z.literal(5),
|
|
16
|
+
z.literal(6),
|
|
17
|
+
z.literal(7),
|
|
18
|
+
z.literal(8),
|
|
19
|
+
z.literal(9),
|
|
20
|
+
z.literal(10),
|
|
21
|
+
]),
|
|
10
22
|
})
|
|
11
23
|
.passthrough();
|
|
12
24
|
const Roblox_Web_Assets_IAssetResponseItemV2 = z
|
|
@@ -50,17 +62,11 @@ const Roblox_Web_Assets_BatchAssetRequestItem = z
|
|
|
50
62
|
modulePlaceId: z.number().int(),
|
|
51
63
|
assetFormat: z.string(),
|
|
52
64
|
'roblox-assetFormat': z.string(),
|
|
65
|
+
contentRepresentationPriorityList: z.string(),
|
|
66
|
+
doNotFallbackToBaselineRepresentation: z.boolean(),
|
|
53
67
|
})
|
|
54
68
|
.passthrough();
|
|
55
69
|
|
|
56
|
-
const schemas = {
|
|
57
|
-
Roblox_Web_Assets_AssetFormatLocation,
|
|
58
|
-
Roblox_Web_Assets_IAssetItemError,
|
|
59
|
-
Roblox_Web_Assets_IAssetResponseItemV2,
|
|
60
|
-
Roblox_Web_Assets_IAssetResponseItem,
|
|
61
|
-
Roblox_Web_Assets_BatchAssetRequestItem,
|
|
62
|
-
};
|
|
63
|
-
|
|
64
70
|
/**
|
|
65
71
|
* @api GET https://assetdelivery.roblox.com/v2/alias/:alias
|
|
66
72
|
* @param alias
|
|
@@ -171,6 +177,8 @@ export const getAliasAlias = endpoint({
|
|
|
171
177
|
* @param expectedAssetType
|
|
172
178
|
* @param skipSigningScripts
|
|
173
179
|
* @param permissionContext
|
|
180
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
181
|
+
* @param contentRepresentationPriorityList
|
|
174
182
|
*/
|
|
175
183
|
export const getAsset = endpoint({
|
|
176
184
|
method: 'get' as const,
|
|
@@ -260,6 +268,14 @@ export const getAsset = endpoint({
|
|
|
260
268
|
style: 'form',
|
|
261
269
|
explode: true,
|
|
262
270
|
},
|
|
271
|
+
doNotFallbackToBaselineRepresentation: {
|
|
272
|
+
style: 'form',
|
|
273
|
+
explode: true,
|
|
274
|
+
},
|
|
275
|
+
contentRepresentationPriorityList: {
|
|
276
|
+
style: 'form',
|
|
277
|
+
explode: true,
|
|
278
|
+
},
|
|
263
279
|
},
|
|
264
280
|
parameters: {
|
|
265
281
|
'Accept-Encoding': z.string(),
|
|
@@ -284,6 +300,8 @@ export const getAsset = endpoint({
|
|
|
284
300
|
expectedAssetType: z.string().optional(),
|
|
285
301
|
skipSigningScripts: z.boolean().optional(),
|
|
286
302
|
permissionContext: z.string().optional(),
|
|
303
|
+
doNotFallbackToBaselineRepresentation: z.boolean().optional(),
|
|
304
|
+
contentRepresentationPriorityList: z.string().optional(),
|
|
287
305
|
},
|
|
288
306
|
response: Roblox_Web_Assets_IAssetResponseItemV2,
|
|
289
307
|
errors: [],
|
|
@@ -389,6 +407,8 @@ export const getAssethashHash = endpoint({
|
|
|
389
407
|
* @param modulePlaceId
|
|
390
408
|
* @param serverplaceid
|
|
391
409
|
* @param expectedAssetType
|
|
410
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
411
|
+
* @param contentRepresentationPriorityList
|
|
392
412
|
*/
|
|
393
413
|
export const getAssetidAssetid = endpoint({
|
|
394
414
|
method: 'get' as const,
|
|
@@ -441,6 +461,14 @@ export const getAssetidAssetid = endpoint({
|
|
|
441
461
|
style: 'form',
|
|
442
462
|
explode: true,
|
|
443
463
|
},
|
|
464
|
+
doNotFallbackToBaselineRepresentation: {
|
|
465
|
+
style: 'form',
|
|
466
|
+
explode: true,
|
|
467
|
+
},
|
|
468
|
+
contentRepresentationPriorityList: {
|
|
469
|
+
style: 'form',
|
|
470
|
+
explode: true,
|
|
471
|
+
},
|
|
444
472
|
},
|
|
445
473
|
parameters: {
|
|
446
474
|
assetId: z.number().int(),
|
|
@@ -456,6 +484,8 @@ export const getAssetidAssetid = endpoint({
|
|
|
456
484
|
modulePlaceId: z.number().int().optional(),
|
|
457
485
|
serverplaceid: z.number().int().optional(),
|
|
458
486
|
expectedAssetType: z.string().optional(),
|
|
487
|
+
doNotFallbackToBaselineRepresentation: z.boolean().optional(),
|
|
488
|
+
contentRepresentationPriorityList: z.string().optional(),
|
|
459
489
|
},
|
|
460
490
|
response: Roblox_Web_Assets_IAssetResponseItemV2,
|
|
461
491
|
errors: [],
|
|
@@ -476,6 +506,8 @@ export const getAssetidAssetid = endpoint({
|
|
|
476
506
|
* @param modulePlaceId
|
|
477
507
|
* @param serverplaceid
|
|
478
508
|
* @param expectedAssetType
|
|
509
|
+
* @param doNotFallbackToBaselineRepresentation
|
|
510
|
+
* @param contentRepresentationPriorityList
|
|
479
511
|
*/
|
|
480
512
|
export const getAssetidAssetidVersionVersion = endpoint({
|
|
481
513
|
method: 'get' as const,
|
|
@@ -531,6 +563,14 @@ export const getAssetidAssetidVersionVersion = endpoint({
|
|
|
531
563
|
style: 'form',
|
|
532
564
|
explode: true,
|
|
533
565
|
},
|
|
566
|
+
doNotFallbackToBaselineRepresentation: {
|
|
567
|
+
style: 'form',
|
|
568
|
+
explode: true,
|
|
569
|
+
},
|
|
570
|
+
contentRepresentationPriorityList: {
|
|
571
|
+
style: 'form',
|
|
572
|
+
explode: true,
|
|
573
|
+
},
|
|
534
574
|
},
|
|
535
575
|
parameters: {
|
|
536
576
|
assetId: z.number().int(),
|
|
@@ -547,6 +587,8 @@ export const getAssetidAssetidVersionVersion = endpoint({
|
|
|
547
587
|
modulePlaceId: z.number().int().optional(),
|
|
548
588
|
serverplaceid: z.number().int().optional(),
|
|
549
589
|
expectedAssetType: z.string().optional(),
|
|
590
|
+
doNotFallbackToBaselineRepresentation: z.boolean().optional(),
|
|
591
|
+
contentRepresentationPriorityList: z.string().optional(),
|
|
550
592
|
},
|
|
551
593
|
response: Roblox_Web_Assets_IAssetResponseItemV2,
|
|
552
594
|
errors: [],
|