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
|
@@ -4,7 +4,7 @@ import { endpoint } from "..";
|
|
|
4
4
|
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_ =
|
|
5
5
|
z.object({
|
|
6
6
|
id: z.number().int(),
|
|
7
|
-
type: z.
|
|
7
|
+
type: z.enum(["User", "Group"]),
|
|
8
8
|
name: z.string(),
|
|
9
9
|
});
|
|
10
10
|
const Roblox_Inventory_Api_V2_AssetOwnerResponse = z.object({
|
|
@@ -25,90 +25,90 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwne
|
|
|
25
25
|
const Roblox_Inventory_Api_V2_UserAssetItemModelV2 = z.object({
|
|
26
26
|
assetId: z.number().int(),
|
|
27
27
|
name: z.string(),
|
|
28
|
-
assetType: z.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
28
|
+
assetType: z.enum([
|
|
29
|
+
"Image",
|
|
30
|
+
"TShirt",
|
|
31
|
+
"Audio",
|
|
32
|
+
"Mesh",
|
|
33
|
+
"Lua",
|
|
34
|
+
"HTML",
|
|
35
|
+
"Text",
|
|
36
|
+
"Hat",
|
|
37
|
+
"Place",
|
|
38
|
+
"Model",
|
|
39
|
+
"Shirt",
|
|
40
|
+
"Pants",
|
|
41
|
+
"Decal",
|
|
42
|
+
"Avatar",
|
|
43
|
+
"Head",
|
|
44
|
+
"Face",
|
|
45
|
+
"Gear",
|
|
46
|
+
"Badge",
|
|
47
|
+
"GroupEmblem",
|
|
48
|
+
"Animation",
|
|
49
|
+
"Arms",
|
|
50
|
+
"Legs",
|
|
51
|
+
"Torso",
|
|
52
|
+
"RightArm",
|
|
53
|
+
"LeftArm",
|
|
54
|
+
"LeftLeg",
|
|
55
|
+
"RightLeg",
|
|
56
|
+
"Package",
|
|
57
|
+
"YouTubeVideo",
|
|
58
|
+
"GamePass",
|
|
59
|
+
"App",
|
|
60
|
+
"Code",
|
|
61
|
+
"Plugin",
|
|
62
|
+
"SolidModel",
|
|
63
|
+
"MeshPart",
|
|
64
|
+
"HairAccessory",
|
|
65
|
+
"FaceAccessory",
|
|
66
|
+
"NeckAccessory",
|
|
67
|
+
"ShoulderAccessory",
|
|
68
|
+
"FrontAccessory",
|
|
69
|
+
"BackAccessory",
|
|
70
|
+
"WaistAccessory",
|
|
71
|
+
"ClimbAnimation",
|
|
72
|
+
"DeathAnimation",
|
|
73
|
+
"FallAnimation",
|
|
74
|
+
"IdleAnimation",
|
|
75
|
+
"JumpAnimation",
|
|
76
|
+
"RunAnimation",
|
|
77
|
+
"SwimAnimation",
|
|
78
|
+
"WalkAnimation",
|
|
79
|
+
"PoseAnimation",
|
|
80
|
+
"LocalizationTableManifest",
|
|
81
|
+
"LocalizationTableTranslation",
|
|
82
|
+
"EmoteAnimation",
|
|
83
|
+
"Video",
|
|
84
|
+
"TexturePack",
|
|
85
|
+
"TShirtAccessory",
|
|
86
|
+
"ShirtAccessory",
|
|
87
|
+
"PantsAccessory",
|
|
88
|
+
"JacketAccessory",
|
|
89
|
+
"SweaterAccessory",
|
|
90
|
+
"ShortsAccessory",
|
|
91
|
+
"LeftShoeAccessory",
|
|
92
|
+
"RightShoeAccessory",
|
|
93
|
+
"DressSkirtAccessory",
|
|
94
|
+
"FontFamily",
|
|
95
|
+
"FontFace",
|
|
96
|
+
"MeshHiddenSurfaceRemoval",
|
|
97
|
+
"EyebrowAccessory",
|
|
98
|
+
"EyelashAccessory",
|
|
99
|
+
"MoodAnimation",
|
|
100
|
+
"DynamicHead",
|
|
101
|
+
"CodeSnippet",
|
|
102
|
+
"AdsVideo",
|
|
103
|
+
"OtaUpdate",
|
|
104
|
+
"Screenshot",
|
|
105
|
+
"RuntimePropertySet",
|
|
106
|
+
"StorePreviewVideo",
|
|
107
|
+
"GamePreviewVideo",
|
|
108
|
+
"CreatorExperienceConfig",
|
|
109
|
+
"FaceMakeup",
|
|
110
|
+
"LipMakeup",
|
|
111
|
+
"EyeMakeup",
|
|
112
112
|
]),
|
|
113
113
|
created: z.string().datetime({ offset: true }),
|
|
114
114
|
});
|
|
@@ -121,12 +121,12 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAsset
|
|
|
121
121
|
const Roblox_Inventory_Api_Models_UserModel = z.object({
|
|
122
122
|
userId: z.number().int(),
|
|
123
123
|
username: z.string(),
|
|
124
|
-
buildersClubMembershipType: z.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
buildersClubMembershipType: z.enum([
|
|
125
|
+
"None",
|
|
126
|
+
"BC",
|
|
127
|
+
"TBC",
|
|
128
|
+
"OBC",
|
|
129
|
+
"RobloxPremium",
|
|
130
130
|
]),
|
|
131
131
|
});
|
|
132
132
|
const Roblox_Inventory_Api_Models_InventoryItemModel = z.object({
|
|
@@ -5,7 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const __1 = require("..");
|
|
6
6
|
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_ = zod_1.z.object({
|
|
7
7
|
id: zod_1.z.number().int(),
|
|
8
|
-
type: zod_1.z.
|
|
8
|
+
type: zod_1.z.enum(['User', 'Group']),
|
|
9
9
|
name: zod_1.z.string(),
|
|
10
10
|
});
|
|
11
11
|
const Roblox_Inventory_Api_V2_AssetOwnerResponse = zod_1.z.object({
|
|
@@ -24,90 +24,90 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwne
|
|
|
24
24
|
const Roblox_Inventory_Api_V2_UserAssetItemModelV2 = zod_1.z.object({
|
|
25
25
|
assetId: zod_1.z.number().int(),
|
|
26
26
|
name: zod_1.z.string(),
|
|
27
|
-
assetType: zod_1.z.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
27
|
+
assetType: zod_1.z.enum([
|
|
28
|
+
'Image',
|
|
29
|
+
'TShirt',
|
|
30
|
+
'Audio',
|
|
31
|
+
'Mesh',
|
|
32
|
+
'Lua',
|
|
33
|
+
'HTML',
|
|
34
|
+
'Text',
|
|
35
|
+
'Hat',
|
|
36
|
+
'Place',
|
|
37
|
+
'Model',
|
|
38
|
+
'Shirt',
|
|
39
|
+
'Pants',
|
|
40
|
+
'Decal',
|
|
41
|
+
'Avatar',
|
|
42
|
+
'Head',
|
|
43
|
+
'Face',
|
|
44
|
+
'Gear',
|
|
45
|
+
'Badge',
|
|
46
|
+
'GroupEmblem',
|
|
47
|
+
'Animation',
|
|
48
|
+
'Arms',
|
|
49
|
+
'Legs',
|
|
50
|
+
'Torso',
|
|
51
|
+
'RightArm',
|
|
52
|
+
'LeftArm',
|
|
53
|
+
'LeftLeg',
|
|
54
|
+
'RightLeg',
|
|
55
|
+
'Package',
|
|
56
|
+
'YouTubeVideo',
|
|
57
|
+
'GamePass',
|
|
58
|
+
'App',
|
|
59
|
+
'Code',
|
|
60
|
+
'Plugin',
|
|
61
|
+
'SolidModel',
|
|
62
|
+
'MeshPart',
|
|
63
|
+
'HairAccessory',
|
|
64
|
+
'FaceAccessory',
|
|
65
|
+
'NeckAccessory',
|
|
66
|
+
'ShoulderAccessory',
|
|
67
|
+
'FrontAccessory',
|
|
68
|
+
'BackAccessory',
|
|
69
|
+
'WaistAccessory',
|
|
70
|
+
'ClimbAnimation',
|
|
71
|
+
'DeathAnimation',
|
|
72
|
+
'FallAnimation',
|
|
73
|
+
'IdleAnimation',
|
|
74
|
+
'JumpAnimation',
|
|
75
|
+
'RunAnimation',
|
|
76
|
+
'SwimAnimation',
|
|
77
|
+
'WalkAnimation',
|
|
78
|
+
'PoseAnimation',
|
|
79
|
+
'LocalizationTableManifest',
|
|
80
|
+
'LocalizationTableTranslation',
|
|
81
|
+
'EmoteAnimation',
|
|
82
|
+
'Video',
|
|
83
|
+
'TexturePack',
|
|
84
|
+
'TShirtAccessory',
|
|
85
|
+
'ShirtAccessory',
|
|
86
|
+
'PantsAccessory',
|
|
87
|
+
'JacketAccessory',
|
|
88
|
+
'SweaterAccessory',
|
|
89
|
+
'ShortsAccessory',
|
|
90
|
+
'LeftShoeAccessory',
|
|
91
|
+
'RightShoeAccessory',
|
|
92
|
+
'DressSkirtAccessory',
|
|
93
|
+
'FontFamily',
|
|
94
|
+
'FontFace',
|
|
95
|
+
'MeshHiddenSurfaceRemoval',
|
|
96
|
+
'EyebrowAccessory',
|
|
97
|
+
'EyelashAccessory',
|
|
98
|
+
'MoodAnimation',
|
|
99
|
+
'DynamicHead',
|
|
100
|
+
'CodeSnippet',
|
|
101
|
+
'AdsVideo',
|
|
102
|
+
'OtaUpdate',
|
|
103
|
+
'Screenshot',
|
|
104
|
+
'RuntimePropertySet',
|
|
105
|
+
'StorePreviewVideo',
|
|
106
|
+
'GamePreviewVideo',
|
|
107
|
+
'CreatorExperienceConfig',
|
|
108
|
+
'FaceMakeup',
|
|
109
|
+
'LipMakeup',
|
|
110
|
+
'EyeMakeup',
|
|
111
111
|
]),
|
|
112
112
|
created: zod_1.z.string().datetime({ offset: true }),
|
|
113
113
|
});
|
|
@@ -119,7 +119,7 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAsset
|
|
|
119
119
|
const Roblox_Inventory_Api_Models_UserModel = zod_1.z.object({
|
|
120
120
|
userId: zod_1.z.number().int(),
|
|
121
121
|
username: zod_1.z.string(),
|
|
122
|
-
buildersClubMembershipType: zod_1.z.
|
|
122
|
+
buildersClubMembershipType: zod_1.z.enum(['None', 'BC', 'TBC', 'OBC', 'RobloxPremium']),
|
|
123
123
|
});
|
|
124
124
|
const Roblox_Inventory_Api_Models_InventoryItemModel = zod_1.z.object({
|
|
125
125
|
expireAt: zod_1.z.string().datetime({ offset: true }),
|
|
@@ -66,7 +66,7 @@ const Roblox_ItemConfiguration_Api_AssetCreationsDetailsResponse = z.object({
|
|
|
66
66
|
"Free",
|
|
67
67
|
]),
|
|
68
68
|
description: z.string(),
|
|
69
|
-
creatorType: z.
|
|
69
|
+
creatorType: z.string(),
|
|
70
70
|
creatorTargetId: z.number().int(),
|
|
71
71
|
price: z.number().int(),
|
|
72
72
|
priceConfiguration: Roblox_ItemConfiguration_Api_PriceConfigurationModel,
|
|
@@ -64,7 +64,7 @@ const Roblox_ItemConfiguration_Api_AssetCreationsDetailsResponse = zod_1.z.objec
|
|
|
64
64
|
'Free',
|
|
65
65
|
]),
|
|
66
66
|
description: zod_1.z.string(),
|
|
67
|
-
creatorType: zod_1.z.
|
|
67
|
+
creatorType: zod_1.z.string(),
|
|
68
68
|
creatorTargetId: zod_1.z.number().int(),
|
|
69
69
|
price: zod_1.z.number().int(),
|
|
70
70
|
priceConfiguration: Roblox_ItemConfiguration_Api_PriceConfigurationModel,
|
|
@@ -64,6 +64,7 @@ const Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = z.object({
|
|
|
64
64
|
format: z.string(),
|
|
65
65
|
isCircular: z.boolean(),
|
|
66
66
|
accessContext: z.string(),
|
|
67
|
+
headShape: z.string(),
|
|
67
68
|
});
|
|
68
69
|
const Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse = z.object({
|
|
69
70
|
requestId: z.string(),
|
|
@@ -57,6 +57,7 @@ const Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = zod_1.z.object({
|
|
|
57
57
|
format: zod_1.z.string(),
|
|
58
58
|
isCircular: zod_1.z.boolean(),
|
|
59
59
|
accessContext: zod_1.z.string(),
|
|
60
|
+
headShape: zod_1.z.string(),
|
|
60
61
|
});
|
|
61
62
|
const Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse = zod_1.z.object({
|
|
62
63
|
requestId: zod_1.z.string(),
|
|
@@ -14,13 +14,7 @@ const Roblox_Trades_Api_UserAssetResponse = z.object({
|
|
|
14
14
|
recentAveragePrice: z.number().int(),
|
|
15
15
|
originalPrice: z.number().int(),
|
|
16
16
|
assetStock: z.number().int(),
|
|
17
|
-
membershipType: z.
|
|
18
|
-
z.literal(0),
|
|
19
|
-
z.literal(1),
|
|
20
|
-
z.literal(2),
|
|
21
|
-
z.literal(3),
|
|
22
|
-
z.literal(4),
|
|
23
|
-
]),
|
|
17
|
+
membershipType: z.enum(["None", "BC", "TBC", "OBC", "RobloxPremium"]),
|
|
24
18
|
});
|
|
25
19
|
const Roblox_Trades_Api_TradeOfferResponse = z.object({
|
|
26
20
|
user: Roblox_Web_Responses_Users_SkinnyUserResponse,
|
|
@@ -85,15 +79,15 @@ const Roblox_Trades_Api_TradeMetadata = z.object({
|
|
|
85
79
|
});
|
|
86
80
|
const Roblox_Trades_Api_CanTradeResponse = z.object({
|
|
87
81
|
canTrade: z.boolean(),
|
|
88
|
-
status: z.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
82
|
+
status: z.enum([
|
|
83
|
+
"Unknown",
|
|
84
|
+
"CanTrade",
|
|
85
|
+
"CannotTradeWithSelf",
|
|
86
|
+
"SenderCannotTrade",
|
|
87
|
+
"ReceiverCannotTrade",
|
|
88
|
+
"SenderPrivacyTooStrict",
|
|
89
|
+
"UsersCannotTrade",
|
|
90
|
+
"TradeAccepterNeedsFriction",
|
|
97
91
|
]),
|
|
98
92
|
});
|
|
99
93
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
@@ -16,7 +16,7 @@ const Roblox_Trades_Api_UserAssetResponse = zod_1.z.object({
|
|
|
16
16
|
recentAveragePrice: zod_1.z.number().int(),
|
|
17
17
|
originalPrice: zod_1.z.number().int(),
|
|
18
18
|
assetStock: zod_1.z.number().int(),
|
|
19
|
-
membershipType: zod_1.z.
|
|
19
|
+
membershipType: zod_1.z.enum(['None', 'BC', 'TBC', 'OBC', 'RobloxPremium']),
|
|
20
20
|
});
|
|
21
21
|
const Roblox_Trades_Api_TradeOfferResponse = zod_1.z.object({
|
|
22
22
|
user: Roblox_Web_Responses_Users_SkinnyUserResponse,
|
|
@@ -80,15 +80,15 @@ const Roblox_Trades_Api_TradeMetadata = zod_1.z.object({
|
|
|
80
80
|
});
|
|
81
81
|
const Roblox_Trades_Api_CanTradeResponse = zod_1.z.object({
|
|
82
82
|
canTrade: zod_1.z.boolean(),
|
|
83
|
-
status: zod_1.z.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
83
|
+
status: zod_1.z.enum([
|
|
84
|
+
'Unknown',
|
|
85
|
+
'CanTrade',
|
|
86
|
+
'CannotTradeWithSelf',
|
|
87
|
+
'SenderCannotTrade',
|
|
88
|
+
'ReceiverCannotTrade',
|
|
89
|
+
'SenderPrivacyTooStrict',
|
|
90
|
+
'UsersCannotTrade',
|
|
91
|
+
'TradeAccepterNeedsFriction',
|
|
92
92
|
]),
|
|
93
93
|
});
|
|
94
94
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
|
|
@@ -34,15 +34,15 @@ const Roblox_TwoStepVerification_Api_MetadataResponse = z.object({
|
|
|
34
34
|
isDelayedUiEnabled: z.boolean(),
|
|
35
35
|
});
|
|
36
36
|
const Roblox_TwoStepVerification_Api_UserConfigurationMethod = z.object({
|
|
37
|
-
mediaType: z.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
mediaType: z.enum([
|
|
38
|
+
"Email",
|
|
39
|
+
"SMS",
|
|
40
|
+
"Authenticator",
|
|
41
|
+
"RecoveryCode",
|
|
42
|
+
"SecurityKey",
|
|
43
|
+
"CrossDevice",
|
|
44
|
+
"Password",
|
|
45
|
+
"Passkey",
|
|
46
46
|
]),
|
|
47
47
|
enabled: z.boolean(),
|
|
48
48
|
updated: z.string().datetime({ offset: true }),
|
|
@@ -66,16 +66,16 @@ const Roblox_TwoStepVerification_Api_RecoveryCodesStatusResponse = z.object({
|
|
|
66
66
|
});
|
|
67
67
|
const Roblox_TwoStepVerification_Api_VerifyCodeRequest = z.object({
|
|
68
68
|
challengeId: z.string(),
|
|
69
|
-
actionType: z.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
69
|
+
actionType: z.enum([
|
|
70
|
+
"Unknown",
|
|
71
|
+
"Login",
|
|
72
|
+
"RobuxSpend",
|
|
73
|
+
"ItemTrade",
|
|
74
|
+
"Resale",
|
|
75
|
+
"PasswordReset",
|
|
76
|
+
"RevertAccount",
|
|
77
|
+
"Generic",
|
|
78
|
+
"GenericWithRecoveryCodes",
|
|
79
79
|
]),
|
|
80
80
|
code: z.string(),
|
|
81
81
|
});
|
|
@@ -84,46 +84,46 @@ const Roblox_TwoStepVerification_Api_VerifyCodeResponse = z.object({
|
|
|
84
84
|
});
|
|
85
85
|
const Roblox_TwoStepVerification_Api_RetractDialogRequest = z.object({
|
|
86
86
|
challengeId: z.string(),
|
|
87
|
-
actionType: z.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
87
|
+
actionType: z.enum([
|
|
88
|
+
"Unknown",
|
|
89
|
+
"Login",
|
|
90
|
+
"RobuxSpend",
|
|
91
|
+
"ItemTrade",
|
|
92
|
+
"Resale",
|
|
93
|
+
"PasswordReset",
|
|
94
|
+
"RevertAccount",
|
|
95
|
+
"Generic",
|
|
96
|
+
"GenericWithRecoveryCodes",
|
|
97
97
|
]),
|
|
98
98
|
});
|
|
99
99
|
const Roblox_TwoStepVerification_Api_RetractDialogResponse = z.object({});
|
|
100
100
|
const Roblox_TwoStepVerification_Api_RetryApprovalRequest = z.object({
|
|
101
101
|
challengeId: z.string(),
|
|
102
|
-
actionType: z.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
102
|
+
actionType: z.enum([
|
|
103
|
+
"Unknown",
|
|
104
|
+
"Login",
|
|
105
|
+
"RobuxSpend",
|
|
106
|
+
"ItemTrade",
|
|
107
|
+
"Resale",
|
|
108
|
+
"PasswordReset",
|
|
109
|
+
"RevertAccount",
|
|
110
|
+
"Generic",
|
|
111
|
+
"GenericWithRecoveryCodes",
|
|
112
112
|
]),
|
|
113
113
|
});
|
|
114
114
|
const Roblox_TwoStepVerification_Api_RetryApprovalResponse = z.object({});
|
|
115
115
|
const Roblox_TwoStepVerification_Api_VerifyApprovalRequest = z.object({
|
|
116
116
|
challengeId: z.string(),
|
|
117
|
-
actionType: z.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
117
|
+
actionType: z.enum([
|
|
118
|
+
"Unknown",
|
|
119
|
+
"Login",
|
|
120
|
+
"RobuxSpend",
|
|
121
|
+
"ItemTrade",
|
|
122
|
+
"Resale",
|
|
123
|
+
"PasswordReset",
|
|
124
|
+
"RevertAccount",
|
|
125
|
+
"Generic",
|
|
126
|
+
"GenericWithRecoveryCodes",
|
|
127
127
|
]),
|
|
128
128
|
});
|
|
129
129
|
const Roblox_TwoStepVerification_Api_VerifyApprovalResponse = z.object({
|
|
@@ -131,16 +131,16 @@ const Roblox_TwoStepVerification_Api_VerifyApprovalResponse = z.object({
|
|
|
131
131
|
});
|
|
132
132
|
const Roblox_TwoStepVerification_Api_SendCodeRequest = z.object({
|
|
133
133
|
challengeId: z.string(),
|
|
134
|
-
actionType: z.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
134
|
+
actionType: z.enum([
|
|
135
|
+
"Unknown",
|
|
136
|
+
"Login",
|
|
137
|
+
"RobuxSpend",
|
|
138
|
+
"ItemTrade",
|
|
139
|
+
"Resale",
|
|
140
|
+
"PasswordReset",
|
|
141
|
+
"RevertAccount",
|
|
142
|
+
"Generic",
|
|
143
|
+
"GenericWithRecoveryCodes",
|
|
144
144
|
]),
|
|
145
145
|
});
|
|
146
146
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|