rozod 6.2.0 → 6.4.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/accountsettingsv1.d.ts +27 -33
- package/lib/endpoints/accountsettingsv1.js +11 -22
- package/lib/endpoints/adconfigurationv2.d.ts +104 -119
- package/lib/endpoints/adconfigurationv2.js +32 -48
- package/lib/endpoints/assetdeliveryv1.d.ts +25 -24
- package/lib/endpoints/assetdeliveryv1.js +25 -24
- package/lib/endpoints/assetdeliveryv2.d.ts +25 -24
- package/lib/endpoints/assetdeliveryv2.js +25 -24
- package/lib/endpoints/authv1.d.ts +132 -84
- package/lib/endpoints/authv1.js +118 -64
- package/lib/endpoints/authv2.d.ts +56 -56
- package/lib/endpoints/authv2.js +57 -50
- package/lib/endpoints/authv3.d.ts +11 -11
- package/lib/endpoints/authv3.js +11 -11
- package/lib/endpoints/avatarv1.d.ts +1 -0
- package/lib/endpoints/avatarv1.js +1 -0
- package/lib/endpoints/avatarv2.d.ts +1 -0
- package/lib/endpoints/avatarv2.js +1 -0
- package/lib/endpoints/avatarv3.d.ts +1 -0
- package/lib/endpoints/avatarv3.js +1 -0
- package/lib/endpoints/badgesv1.d.ts +6 -22
- package/lib/endpoints/badgesv1.js +2 -22
- package/lib/endpoints/catalogv1.d.ts +39 -113
- package/lib/endpoints/catalogv1.js +39 -107
- package/lib/endpoints/catalogv2.d.ts +11 -11
- package/lib/endpoints/catalogv2.js +11 -11
- package/lib/endpoints/clientsettingsv2.d.ts +8 -7
- package/lib/endpoints/clientsettingsv2.js +9 -1
- package/lib/endpoints/developv1.d.ts +31 -31
- package/lib/endpoints/developv1.js +26 -26
- package/lib/endpoints/developv2.d.ts +27 -27
- package/lib/endpoints/developv2.js +22 -22
- package/lib/endpoints/economycreatorstatsv1.d.ts +1 -1
- package/lib/endpoints/economycreatorstatsv1.js +1 -1
- package/lib/endpoints/followingsv2.d.ts +2 -2
- package/lib/endpoints/followingsv2.js +2 -2
- package/lib/endpoints/friendsv1.d.ts +24 -98
- package/lib/endpoints/friendsv1.js +25 -91
- package/lib/endpoints/gamesv1.d.ts +31 -615
- package/lib/endpoints/gamesv1.js +32 -608
- package/lib/endpoints/gamesv2.d.ts +187 -260
- package/lib/endpoints/gamesv2.js +130 -190
- package/lib/endpoints/groupsv1.d.ts +34 -28
- package/lib/endpoints/groupsv1.js +31 -18
- package/lib/endpoints/groupsv2.d.ts +92 -92
- package/lib/endpoints/groupsv2.js +93 -87
- package/lib/endpoints/inventoryv1.d.ts +9 -21
- package/lib/endpoints/inventoryv1.js +4 -4
- package/lib/endpoints/inventoryv2.d.ts +91 -91
- package/lib/endpoints/inventoryv2.js +86 -86
- package/lib/endpoints/itemconfigurationv1.d.ts +1 -1
- package/lib/endpoints/itemconfigurationv1.js +1 -1
- package/lib/endpoints/thumbnailsv1.d.ts +1 -0
- package/lib/endpoints/thumbnailsv1.js +1 -0
- package/lib/endpoints/tradesv1.d.ts +10 -16
- package/lib/endpoints/tradesv1.js +10 -10
- package/lib/endpoints/twostepverificationv1.d.ts +59 -59
- package/lib/endpoints/twostepverificationv1.js +59 -59
- package/lib/endpoints/usersv1.d.ts +1 -1
- package/lib/endpoints/usersv1.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +29 -3
- package/lib/opencloud/v1/asset-permissions.d.ts +7 -2
- package/lib/opencloud/v1/asset-permissions.js +9 -3
- package/lib/opencloud/v1/assets.d.ts +59 -32
- package/lib/opencloud/v1/assets.js +77 -41
- package/lib/opencloud/v1/datastores-ordered.d.ts +50 -14
- package/lib/opencloud/v1/datastores-ordered.js +62 -20
- package/lib/opencloud/v1/datastores.d.ts +99 -42
- package/lib/opencloud/v1/datastores.js +123 -50
- package/lib/opencloud/v1/developer-products.d.ts +29 -11
- package/lib/opencloud/v1/developer-products.js +37 -15
- package/lib/opencloud/v1/game-passes.d.ts +29 -11
- package/lib/opencloud/v1/game-passes.js +37 -15
- package/lib/opencloud/v1/messaging.d.ts +6 -2
- package/lib/opencloud/v1/messaging.js +8 -3
- package/lib/opencloud/v1/open-eval.d.ts +14 -4
- package/lib/opencloud/v1/open-eval.js +18 -6
- package/lib/opencloud/v1/secrets-store.d.ts +46 -26
- package/lib/opencloud/v1/secrets-store.js +56 -31
- package/lib/opencloud/v1/toolbox.d.ts +14 -6
- package/lib/opencloud/v1/toolbox.js +18 -8
- package/lib/opencloud/v1/universes.d.ts +6 -2
- package/lib/opencloud/v1/universes.js +8 -3
- package/lib/opencloud/v2/cloud.d.ts +854 -395
- package/lib/opencloud/v2/cloud.js +967 -395
- package/package.json +1 -1
|
@@ -15,17 +15,17 @@ const Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel =
|
|
|
15
15
|
serverNonce: z.string(),
|
|
16
16
|
});
|
|
17
17
|
const Roblox_Authentication_Api_Models_AccountLinkParameters = z.object({
|
|
18
|
-
LinkingPlatform: z.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
LinkingPlatform: z.enum([
|
|
19
|
+
"Invalid",
|
|
20
|
+
"Xbox",
|
|
21
|
+
"Qq",
|
|
22
|
+
"WeChat",
|
|
23
|
+
"Facebook",
|
|
24
|
+
"RobloxDeveloper",
|
|
25
|
+
"RobloxGroupCreator",
|
|
26
|
+
"Playstation",
|
|
27
|
+
"ExternalProvider",
|
|
28
|
+
"Example",
|
|
29
29
|
]),
|
|
30
30
|
});
|
|
31
31
|
const Roblox_Authentication_Api_TwoStepVerificationLoginRequest = z.object({
|
package/lib/endpoints/authv3.js
CHANGED
|
@@ -16,17 +16,17 @@ const Roblox_Authentication_Api_Models_Request_SecureAuthenticationIntentModel =
|
|
|
16
16
|
serverNonce: zod_1.z.string(),
|
|
17
17
|
});
|
|
18
18
|
const Roblox_Authentication_Api_Models_AccountLinkParameters = zod_1.z.object({
|
|
19
|
-
LinkingPlatform: zod_1.z.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
LinkingPlatform: zod_1.z.enum([
|
|
20
|
+
'Invalid',
|
|
21
|
+
'Xbox',
|
|
22
|
+
'Qq',
|
|
23
|
+
'WeChat',
|
|
24
|
+
'Facebook',
|
|
25
|
+
'RobloxDeveloper',
|
|
26
|
+
'RobloxGroupCreator',
|
|
27
|
+
'Playstation',
|
|
28
|
+
'ExternalProvider',
|
|
29
|
+
'Example',
|
|
30
30
|
]),
|
|
31
31
|
});
|
|
32
32
|
const Roblox_Authentication_Api_TwoStepVerificationLoginRequest = zod_1.z.object({
|
|
@@ -76,6 +76,7 @@ const Roblox_Api_Avatar_Models_AssetMetaModelV1 = zod_1.z.object({
|
|
|
76
76
|
zod_1.z.literal(28),
|
|
77
77
|
zod_1.z.literal(29),
|
|
78
78
|
]),
|
|
79
|
+
staticFacialAnimation: zod_1.z.boolean(),
|
|
79
80
|
version: zod_1.z.number().int(),
|
|
80
81
|
});
|
|
81
82
|
const Roblox_Api_Avatar_Models_AssetModelV2 = zod_1.z.object({
|
|
@@ -76,6 +76,7 @@ const Roblox_Api_Avatar_Models_AssetMetaModelV1 = zod_1.z.object({
|
|
|
76
76
|
zod_1.z.literal(28),
|
|
77
77
|
zod_1.z.literal(29),
|
|
78
78
|
]),
|
|
79
|
+
staticFacialAnimation: zod_1.z.boolean(),
|
|
79
80
|
version: zod_1.z.number().int(),
|
|
80
81
|
});
|
|
81
82
|
const Roblox_Api_Avatar_Models_AssetModelV2 = zod_1.z.object({
|
|
@@ -60,6 +60,7 @@ const Roblox_Api_Avatar_Models_AssetMetaModelV1 = zod_1.z.object({
|
|
|
60
60
|
zod_1.z.literal(28),
|
|
61
61
|
zod_1.z.literal(29),
|
|
62
62
|
]),
|
|
63
|
+
staticFacialAnimation: zod_1.z.boolean(),
|
|
63
64
|
version: zod_1.z.number().int(),
|
|
64
65
|
});
|
|
65
66
|
const Roblox_Api_Avatar_Models_AssetModelV2 = zod_1.z.object({
|
|
@@ -45,13 +45,17 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Badges_Api_BadgeResponse_
|
|
|
45
45
|
const universeId_badges_body = z.object({
|
|
46
46
|
name: z.string(),
|
|
47
47
|
description: z.string(),
|
|
48
|
-
paymentSourceType: z.
|
|
48
|
+
paymentSourceType: z.enum(["User", "Group"]),
|
|
49
49
|
files: z.instanceof(File),
|
|
50
50
|
expectedCost: z.number().int(),
|
|
51
51
|
isActive: z.boolean(),
|
|
52
52
|
});
|
|
53
53
|
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Badges_BadgeAwarderType_ =
|
|
54
|
-
z.object({
|
|
54
|
+
z.object({
|
|
55
|
+
id: z.number().int(),
|
|
56
|
+
type: z.literal("Place"),
|
|
57
|
+
name: z.string(),
|
|
58
|
+
});
|
|
55
59
|
const Roblox_Web_Responses_Badges_BadgeResponseV2 = z.object({
|
|
56
60
|
id: z.number().int(),
|
|
57
61
|
name: z.string(),
|
|
@@ -455,8 +459,6 @@ export const getUsersUseridBadges = endpoint({
|
|
|
455
459
|
* @summary Gets timestamp for when a single badge was awarded to a user.
|
|
456
460
|
* @param userId User id.
|
|
457
461
|
* @param badgeId Badge id.
|
|
458
|
-
* @param RequestUserIdIsInGameServer Whether the user with the request userId is present in the game server.
|
|
459
|
-
* @param Roblox-Place-Id Place identifier of the requesting place.
|
|
460
462
|
*/
|
|
461
463
|
export const getUsersUseridBadgesBadgeidAwardedDate = endpoint({
|
|
462
464
|
method: "GET",
|
|
@@ -470,18 +472,10 @@ export const getUsersUseridBadgesBadgeidAwardedDate = endpoint({
|
|
|
470
472
|
badgeId: {
|
|
471
473
|
style: "simple",
|
|
472
474
|
},
|
|
473
|
-
RequestUserIdIsInGameServer: {
|
|
474
|
-
style: "simple",
|
|
475
|
-
},
|
|
476
|
-
"Roblox-Place-Id": {
|
|
477
|
-
style: "simple",
|
|
478
|
-
},
|
|
479
475
|
},
|
|
480
476
|
parameters: {
|
|
481
477
|
userId: z.number().int(),
|
|
482
478
|
badgeId: z.number().int(),
|
|
483
|
-
RequestUserIdIsInGameServer: z.boolean(),
|
|
484
|
-
"Roblox-Place-Id": z.number().int(),
|
|
485
479
|
},
|
|
486
480
|
response: z.void(),
|
|
487
481
|
errors: [
|
|
@@ -496,8 +490,6 @@ export const getUsersUseridBadgesBadgeidAwardedDate = endpoint({
|
|
|
496
490
|
* @summary Gets timestamps for when badges were awarded to a user.
|
|
497
491
|
* @param userId The user Id.
|
|
498
492
|
* @param badgeIds The CSV of badge Ids.
|
|
499
|
-
* @param RequestUserIdIsInGameServer Whether the user with the request userId is present in the game server.
|
|
500
|
-
* @param Roblox-Place-Id Place identifier of the requesting place.
|
|
501
493
|
*/
|
|
502
494
|
export const getUsersUseridBadgesAwardedDates = endpoint({
|
|
503
495
|
method: "GET",
|
|
@@ -511,18 +503,10 @@ export const getUsersUseridBadgesAwardedDates = endpoint({
|
|
|
511
503
|
badgeIds: {
|
|
512
504
|
style: "form",
|
|
513
505
|
},
|
|
514
|
-
RequestUserIdIsInGameServer: {
|
|
515
|
-
style: "simple",
|
|
516
|
-
},
|
|
517
|
-
"Roblox-Place-Id": {
|
|
518
|
-
style: "simple",
|
|
519
|
-
},
|
|
520
506
|
},
|
|
521
507
|
parameters: {
|
|
522
508
|
userId: z.number().int(),
|
|
523
509
|
badgeIds: z.array(z.number()),
|
|
524
|
-
RequestUserIdIsInGameServer: z.boolean(),
|
|
525
|
-
"Roblox-Place-Id": z.number().int(),
|
|
526
510
|
},
|
|
527
511
|
response:
|
|
528
512
|
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Badges_Api_BadgeAwardResponse_,
|
|
@@ -46,14 +46,14 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Badges_Api_BadgeResponse_
|
|
|
46
46
|
const universeId_badges_body = zod_1.z.object({
|
|
47
47
|
name: zod_1.z.string(),
|
|
48
48
|
description: zod_1.z.string(),
|
|
49
|
-
paymentSourceType: zod_1.z.
|
|
49
|
+
paymentSourceType: zod_1.z.enum(['User', 'Group']),
|
|
50
50
|
files: zod_1.z.instanceof(File),
|
|
51
51
|
expectedCost: zod_1.z.number().int(),
|
|
52
52
|
isActive: zod_1.z.boolean(),
|
|
53
53
|
});
|
|
54
54
|
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Badges_BadgeAwarderType_ = zod_1.z.object({
|
|
55
55
|
id: zod_1.z.number().int(),
|
|
56
|
-
type: zod_1.z.literal(
|
|
56
|
+
type: zod_1.z.literal('Place'),
|
|
57
57
|
name: zod_1.z.string(),
|
|
58
58
|
});
|
|
59
59
|
const Roblox_Web_Responses_Badges_BadgeResponseV2 = zod_1.z.object({
|
|
@@ -454,8 +454,6 @@ exports.getUsersUseridBadges = (0, __1.endpoint)({
|
|
|
454
454
|
* @summary Gets timestamp for when a single badge was awarded to a user.
|
|
455
455
|
* @param userId User id.
|
|
456
456
|
* @param badgeId Badge id.
|
|
457
|
-
* @param RequestUserIdIsInGameServer Whether the user with the request userId is present in the game server.
|
|
458
|
-
* @param Roblox-Place-Id Place identifier of the requesting place.
|
|
459
457
|
*/
|
|
460
458
|
exports.getUsersUseridBadgesBadgeidAwardedDate = (0, __1.endpoint)({
|
|
461
459
|
method: 'GET',
|
|
@@ -469,18 +467,10 @@ exports.getUsersUseridBadgesBadgeidAwardedDate = (0, __1.endpoint)({
|
|
|
469
467
|
badgeId: {
|
|
470
468
|
style: 'simple',
|
|
471
469
|
},
|
|
472
|
-
RequestUserIdIsInGameServer: {
|
|
473
|
-
style: 'simple',
|
|
474
|
-
},
|
|
475
|
-
'Roblox-Place-Id': {
|
|
476
|
-
style: 'simple',
|
|
477
|
-
},
|
|
478
470
|
},
|
|
479
471
|
parameters: {
|
|
480
472
|
userId: zod_1.z.number().int(),
|
|
481
473
|
badgeId: zod_1.z.number().int(),
|
|
482
|
-
RequestUserIdIsInGameServer: zod_1.z.boolean(),
|
|
483
|
-
'Roblox-Place-Id': zod_1.z.number().int(),
|
|
484
474
|
},
|
|
485
475
|
response: zod_1.z.void(),
|
|
486
476
|
errors: [
|
|
@@ -495,8 +485,6 @@ exports.getUsersUseridBadgesBadgeidAwardedDate = (0, __1.endpoint)({
|
|
|
495
485
|
* @summary Gets timestamps for when badges were awarded to a user.
|
|
496
486
|
* @param userId The user Id.
|
|
497
487
|
* @param badgeIds The CSV of badge Ids.
|
|
498
|
-
* @param RequestUserIdIsInGameServer Whether the user with the request userId is present in the game server.
|
|
499
|
-
* @param Roblox-Place-Id Place identifier of the requesting place.
|
|
500
488
|
*/
|
|
501
489
|
exports.getUsersUseridBadgesAwardedDates = (0, __1.endpoint)({
|
|
502
490
|
method: 'GET',
|
|
@@ -510,18 +498,10 @@ exports.getUsersUseridBadgesAwardedDates = (0, __1.endpoint)({
|
|
|
510
498
|
badgeIds: {
|
|
511
499
|
style: 'form',
|
|
512
500
|
},
|
|
513
|
-
RequestUserIdIsInGameServer: {
|
|
514
|
-
style: 'simple',
|
|
515
|
-
},
|
|
516
|
-
'Roblox-Place-Id': {
|
|
517
|
-
style: 'simple',
|
|
518
|
-
},
|
|
519
501
|
},
|
|
520
502
|
parameters: {
|
|
521
503
|
userId: zod_1.z.number().int(),
|
|
522
504
|
badgeIds: zod_1.z.array(zod_1.z.number()),
|
|
523
|
-
RequestUserIdIsInGameServer: zod_1.z.boolean(),
|
|
524
|
-
'Roblox-Place-Id': zod_1.z.number().int(),
|
|
525
505
|
},
|
|
526
506
|
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Badges_Api_BadgeAwardResponse_,
|
|
527
507
|
errors: [
|
|
@@ -30,15 +30,15 @@ const Roblox_Catalog_Api_BundleProductModel = z.object({
|
|
|
30
30
|
premiumPricing: Roblox_Catalog_Api_PremiumPricingModel,
|
|
31
31
|
});
|
|
32
32
|
const Roblox_Catalog_Api_SaleLocation = z.object({
|
|
33
|
-
saleLocationType: z.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
saleLocationType: z.enum([
|
|
34
|
+
"NotApplicable",
|
|
35
|
+
"ShopOnly",
|
|
36
|
+
"MyExperiencesOnly",
|
|
37
|
+
"ShopAndMyExperiences",
|
|
38
|
+
"ExperiencesById",
|
|
39
|
+
"ShopAndAllExperiences",
|
|
40
|
+
"ExperiencesDevApiOnly",
|
|
41
|
+
"ShopAndExperiencesById",
|
|
42
42
|
]),
|
|
43
43
|
saleLocationTypeId: z.number().int(),
|
|
44
44
|
universeIds: z.array(z.number()),
|
|
@@ -54,19 +54,13 @@ const Roblox_Catalog_Api_CollectibleItemDetail = z.object({
|
|
|
54
54
|
unitsAvailable: z.number().int(),
|
|
55
55
|
saleLocation: Roblox_Catalog_Api_SaleLocation,
|
|
56
56
|
hasResellers: z.boolean(),
|
|
57
|
-
saleStatus: z.
|
|
58
|
-
z.literal(0),
|
|
59
|
-
z.literal(1),
|
|
60
|
-
z.literal(2),
|
|
61
|
-
z.literal(3),
|
|
62
|
-
z.literal(4),
|
|
63
|
-
]),
|
|
57
|
+
saleStatus: z.enum(["Invalid", "Draft", "OffSale", "OnSale", "PendingSale"]),
|
|
64
58
|
quantityLimitPerUser: z.number().int(),
|
|
65
59
|
offSaleDeadline: z.string().datetime({ offset: true }),
|
|
66
|
-
collectibleItemType: z.
|
|
60
|
+
collectibleItemType: z.enum(["Invalid", "Limited", "NonLimited"]),
|
|
67
61
|
lowestAvailableResaleProductId: z.string(),
|
|
68
62
|
lowestAvailableResaleItemInstanceId: z.string(),
|
|
69
|
-
resaleRestriction: z.
|
|
63
|
+
resaleRestriction: z.enum(["Invalid", "None", "Disabled"]),
|
|
70
64
|
});
|
|
71
65
|
const Roblox_Catalog_Api_BundleDetailsModel = z.object({
|
|
72
66
|
id: z.number().int(),
|
|
@@ -101,60 +95,7 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_BundleDetailsM
|
|
|
101
95
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_BundleDetailsModel_ =
|
|
102
96
|
z.object({ data: z.array(Roblox_Catalog_Api_BundleDetailsModel) });
|
|
103
97
|
const Roblox_Catalog_Api_SubcategoryModel = z.object({
|
|
104
|
-
subcategory: z.
|
|
105
|
-
z.literal(0),
|
|
106
|
-
z.literal(1),
|
|
107
|
-
z.literal(2),
|
|
108
|
-
z.literal(3),
|
|
109
|
-
z.literal(4),
|
|
110
|
-
z.literal(5),
|
|
111
|
-
z.literal(9),
|
|
112
|
-
z.literal(10),
|
|
113
|
-
z.literal(12),
|
|
114
|
-
z.literal(13),
|
|
115
|
-
z.literal(14),
|
|
116
|
-
z.literal(15),
|
|
117
|
-
z.literal(19),
|
|
118
|
-
z.literal(20),
|
|
119
|
-
z.literal(21),
|
|
120
|
-
z.literal(22),
|
|
121
|
-
z.literal(23),
|
|
122
|
-
z.literal(24),
|
|
123
|
-
z.literal(25),
|
|
124
|
-
z.literal(26),
|
|
125
|
-
z.literal(27),
|
|
126
|
-
z.literal(37),
|
|
127
|
-
z.literal(38),
|
|
128
|
-
z.literal(39),
|
|
129
|
-
z.literal(40),
|
|
130
|
-
z.literal(41),
|
|
131
|
-
z.literal(42),
|
|
132
|
-
z.literal(43),
|
|
133
|
-
z.literal(44),
|
|
134
|
-
z.literal(45),
|
|
135
|
-
z.literal(46),
|
|
136
|
-
z.literal(47),
|
|
137
|
-
z.literal(48),
|
|
138
|
-
z.literal(49),
|
|
139
|
-
z.literal(50),
|
|
140
|
-
z.literal(51),
|
|
141
|
-
z.literal(52),
|
|
142
|
-
z.literal(53),
|
|
143
|
-
z.literal(54),
|
|
144
|
-
z.literal(55),
|
|
145
|
-
z.literal(56),
|
|
146
|
-
z.literal(57),
|
|
147
|
-
z.literal(58),
|
|
148
|
-
z.literal(59),
|
|
149
|
-
z.literal(60),
|
|
150
|
-
z.literal(61),
|
|
151
|
-
z.literal(62),
|
|
152
|
-
z.literal(63),
|
|
153
|
-
z.literal(64),
|
|
154
|
-
z.literal(65),
|
|
155
|
-
z.literal(66),
|
|
156
|
-
z.literal(67),
|
|
157
|
-
]),
|
|
98
|
+
subcategory: z.string(),
|
|
158
99
|
taxonomy: z.string(),
|
|
159
100
|
assetTypeIds: z.array(z.number()),
|
|
160
101
|
bundleTypeIds: z.array(z.number()),
|
|
@@ -163,22 +104,7 @@ const Roblox_Catalog_Api_SubcategoryModel = z.object({
|
|
|
163
104
|
shortName: z.string(),
|
|
164
105
|
});
|
|
165
106
|
const Roblox_Catalog_Api_CategoryModel = z.object({
|
|
166
|
-
category: z.
|
|
167
|
-
z.literal(0),
|
|
168
|
-
z.literal(1),
|
|
169
|
-
z.literal(2),
|
|
170
|
-
z.literal(3),
|
|
171
|
-
z.literal(4),
|
|
172
|
-
z.literal(5),
|
|
173
|
-
z.literal(11),
|
|
174
|
-
z.literal(12),
|
|
175
|
-
z.literal(13),
|
|
176
|
-
z.literal(14),
|
|
177
|
-
z.literal(15),
|
|
178
|
-
z.literal(16),
|
|
179
|
-
z.literal(17),
|
|
180
|
-
z.literal(18),
|
|
181
|
-
]),
|
|
107
|
+
category: z.string(),
|
|
182
108
|
taxonomy: z.string(),
|
|
183
109
|
assetTypeIds: z.array(z.number()),
|
|
184
110
|
bundleTypeIds: z.array(z.number()),
|
|
@@ -206,7 +132,7 @@ const Roblox_Catalog_Api_TimedOption = z.object({
|
|
|
206
132
|
});
|
|
207
133
|
const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
|
|
208
134
|
id: z.number().int(),
|
|
209
|
-
itemType: z.
|
|
135
|
+
itemType: z.enum(["Asset", "Bundle"]),
|
|
210
136
|
assetType: z.union([
|
|
211
137
|
z.literal(1),
|
|
212
138
|
z.literal(2),
|
|
@@ -313,7 +239,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
|
|
|
313
239
|
])
|
|
314
240
|
),
|
|
315
241
|
creatorHasVerifiedBadge: z.boolean(),
|
|
316
|
-
creatorType: z.
|
|
242
|
+
creatorType: z.string(),
|
|
317
243
|
creatorTargetId: z.number().int(),
|
|
318
244
|
creatorName: z.string(),
|
|
319
245
|
price: z.number().int(),
|
|
@@ -325,15 +251,15 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
|
|
|
325
251
|
offSaleDeadline: z.string().datetime({ offset: true }),
|
|
326
252
|
collectibleItemId: z.string(),
|
|
327
253
|
totalQuantity: z.number().int(),
|
|
328
|
-
saleLocationType: z.
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
254
|
+
saleLocationType: z.enum([
|
|
255
|
+
"NotApplicable",
|
|
256
|
+
"ShopOnly",
|
|
257
|
+
"MyExperiencesOnly",
|
|
258
|
+
"ShopAndMyExperiences",
|
|
259
|
+
"ExperiencesById",
|
|
260
|
+
"ShopAndAllExperiences",
|
|
261
|
+
"ExperiencesDevApiOnly",
|
|
262
|
+
"ShopAndExperiencesById",
|
|
337
263
|
]),
|
|
338
264
|
hasResellers: z.boolean(),
|
|
339
265
|
isOffSale: z.boolean(),
|
|
@@ -366,7 +292,7 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleMod
|
|
|
366
292
|
data: z.array(Roblox_Catalog_Api_OwnedBundleModel),
|
|
367
293
|
});
|
|
368
294
|
const Roblox_Catalog_Api_MultigetItemDetailsRequestItem = z.object({
|
|
369
|
-
itemType: z.
|
|
295
|
+
itemType: z.enum(["Asset", "Bundle"]),
|
|
370
296
|
id: z.number().int(),
|
|
371
297
|
});
|
|
372
298
|
const Roblox_Catalog_Api_MultigetItemDetailsRequestModel = z.object({
|
|
@@ -388,7 +314,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
|
|
|
388
314
|
bundledItems: z.array(Roblox_Catalog_Api_BundleItemDetailModelV2),
|
|
389
315
|
taxonomy: z.array(Roblox_Catalog_Api_TaxonomyModel),
|
|
390
316
|
id: z.number().int(),
|
|
391
|
-
itemType: z.
|
|
317
|
+
itemType: z.enum(["Asset", "Bundle"]),
|
|
392
318
|
assetType: z.union([
|
|
393
319
|
z.literal(1),
|
|
394
320
|
z.literal(2),
|
|
@@ -494,7 +420,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
|
|
|
494
420
|
])
|
|
495
421
|
),
|
|
496
422
|
creatorHasVerifiedBadge: z.boolean(),
|
|
497
|
-
creatorType: z.
|
|
423
|
+
creatorType: z.string(),
|
|
498
424
|
creatorTargetId: z.number().int(),
|
|
499
425
|
creatorName: z.string(),
|
|
500
426
|
price: z.number().int(),
|
|
@@ -506,15 +432,15 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
|
|
|
506
432
|
offSaleDeadline: z.string().datetime({ offset: true }),
|
|
507
433
|
collectibleItemId: z.string(),
|
|
508
434
|
totalQuantity: z.number().int(),
|
|
509
|
-
saleLocationType: z.
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
435
|
+
saleLocationType: z.enum([
|
|
436
|
+
"NotApplicable",
|
|
437
|
+
"ShopOnly",
|
|
438
|
+
"MyExperiencesOnly",
|
|
439
|
+
"ShopAndMyExperiences",
|
|
440
|
+
"ExperiencesById",
|
|
441
|
+
"ShopAndAllExperiences",
|
|
442
|
+
"ExperiencesDevApiOnly",
|
|
443
|
+
"ShopAndExperiencesById",
|
|
518
444
|
]),
|
|
519
445
|
hasResellers: z.boolean(),
|
|
520
446
|
isOffSale: z.boolean(),
|
|
@@ -529,7 +455,7 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_CatalogSearch
|
|
|
529
455
|
const Roblox_MarketplaceTopicDiscovery_TopicDiscoveryService_V1Beta1_AvatarItem =
|
|
530
456
|
z.object({
|
|
531
457
|
TargetId: z.number().int(),
|
|
532
|
-
ItemType: z.
|
|
458
|
+
ItemType: z.enum(["Invalid", "Asset", "Bundle"]),
|
|
533
459
|
});
|
|
534
460
|
const Roblox_Catalog_Api_TopicRequestModel = z.object({
|
|
535
461
|
items: z.array(
|
|
@@ -538,7 +464,7 @@ const Roblox_Catalog_Api_TopicRequestModel = z.object({
|
|
|
538
464
|
selectTopics: z.array(z.string()),
|
|
539
465
|
inputQuery: z.string(),
|
|
540
466
|
maxResult: z.number().int(),
|
|
541
|
-
genderType: z.
|
|
467
|
+
genderType: z.enum(["Unknown", "Male", "Female"]),
|
|
542
468
|
});
|
|
543
469
|
const Roblox_Catalog_Api_TopicModel = z.object({
|
|
544
470
|
displayName: z.string(),
|