rozod 6.3.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 +84 -84
- package/lib/endpoints/authv1.js +69 -62
- 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/badgesv1.d.ts +6 -2
- package/lib/endpoints/badgesv1.js +2 -2
- package/lib/endpoints/catalogv1.d.ts +37 -43
- package/lib/endpoints/catalogv1.js +37 -37
- package/lib/endpoints/catalogv2.d.ts +11 -11
- package/lib/endpoints/catalogv2.js +11 -11
- package/lib/endpoints/clientsettingsv2.d.ts +7 -7
- package/lib/endpoints/clientsettingsv2.js +8 -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 -23
- package/lib/endpoints/friendsv1.js +24 -23
- package/lib/endpoints/gamesv1.d.ts +27 -615
- package/lib/endpoints/gamesv1.js +28 -608
- package/lib/endpoints/gamesv2.d.ts +187 -260
- package/lib/endpoints/gamesv2.js +130 -190
- package/lib/endpoints/groupsv1.d.ts +26 -26
- package/lib/endpoints/groupsv1.js +28 -16
- 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/tradesv1.d.ts +10 -16
- package/lib/endpoints/tradesv1.js +10 -10
- package/lib/endpoints/twostepverificationv1.d.ts +59 -60
- package/lib/endpoints/twostepverificationv1.js +59 -60
- package/lib/endpoints/usersv1.d.ts +1 -1
- package/lib/endpoints/usersv1.js +1 -1
- package/lib/index.js +29 -3
- 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,
|
|
@@ -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({});
|
|
@@ -32,18 +32,17 @@ const Roblox_TwoStepVerification_Api_MetadataResponse = z.object({
|
|
|
32
32
|
maskedUserEmail: z.string(),
|
|
33
33
|
isUserU13: z.boolean(),
|
|
34
34
|
isDelayedUiEnabled: z.boolean(),
|
|
35
|
-
is2svRecoveryEnabled: z.boolean(),
|
|
36
35
|
});
|
|
37
36
|
const Roblox_TwoStepVerification_Api_UserConfigurationMethod = z.object({
|
|
38
|
-
mediaType: z.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
mediaType: z.enum([
|
|
38
|
+
"Email",
|
|
39
|
+
"SMS",
|
|
40
|
+
"Authenticator",
|
|
41
|
+
"RecoveryCode",
|
|
42
|
+
"SecurityKey",
|
|
43
|
+
"CrossDevice",
|
|
44
|
+
"Password",
|
|
45
|
+
"Passkey",
|
|
47
46
|
]),
|
|
48
47
|
enabled: z.boolean(),
|
|
49
48
|
updated: z.string().datetime({ offset: true }),
|
|
@@ -67,16 +66,16 @@ const Roblox_TwoStepVerification_Api_RecoveryCodesStatusResponse = z.object({
|
|
|
67
66
|
});
|
|
68
67
|
const Roblox_TwoStepVerification_Api_VerifyCodeRequest = z.object({
|
|
69
68
|
challengeId: z.string(),
|
|
70
|
-
actionType: z.
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
69
|
+
actionType: z.enum([
|
|
70
|
+
"Unknown",
|
|
71
|
+
"Login",
|
|
72
|
+
"RobuxSpend",
|
|
73
|
+
"ItemTrade",
|
|
74
|
+
"Resale",
|
|
75
|
+
"PasswordReset",
|
|
76
|
+
"RevertAccount",
|
|
77
|
+
"Generic",
|
|
78
|
+
"GenericWithRecoveryCodes",
|
|
80
79
|
]),
|
|
81
80
|
code: z.string(),
|
|
82
81
|
});
|
|
@@ -85,46 +84,46 @@ const Roblox_TwoStepVerification_Api_VerifyCodeResponse = z.object({
|
|
|
85
84
|
});
|
|
86
85
|
const Roblox_TwoStepVerification_Api_RetractDialogRequest = z.object({
|
|
87
86
|
challengeId: z.string(),
|
|
88
|
-
actionType: z.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
87
|
+
actionType: z.enum([
|
|
88
|
+
"Unknown",
|
|
89
|
+
"Login",
|
|
90
|
+
"RobuxSpend",
|
|
91
|
+
"ItemTrade",
|
|
92
|
+
"Resale",
|
|
93
|
+
"PasswordReset",
|
|
94
|
+
"RevertAccount",
|
|
95
|
+
"Generic",
|
|
96
|
+
"GenericWithRecoveryCodes",
|
|
98
97
|
]),
|
|
99
98
|
});
|
|
100
99
|
const Roblox_TwoStepVerification_Api_RetractDialogResponse = z.object({});
|
|
101
100
|
const Roblox_TwoStepVerification_Api_RetryApprovalRequest = z.object({
|
|
102
101
|
challengeId: z.string(),
|
|
103
|
-
actionType: z.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
102
|
+
actionType: z.enum([
|
|
103
|
+
"Unknown",
|
|
104
|
+
"Login",
|
|
105
|
+
"RobuxSpend",
|
|
106
|
+
"ItemTrade",
|
|
107
|
+
"Resale",
|
|
108
|
+
"PasswordReset",
|
|
109
|
+
"RevertAccount",
|
|
110
|
+
"Generic",
|
|
111
|
+
"GenericWithRecoveryCodes",
|
|
113
112
|
]),
|
|
114
113
|
});
|
|
115
114
|
const Roblox_TwoStepVerification_Api_RetryApprovalResponse = z.object({});
|
|
116
115
|
const Roblox_TwoStepVerification_Api_VerifyApprovalRequest = z.object({
|
|
117
116
|
challengeId: z.string(),
|
|
118
|
-
actionType: z.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
117
|
+
actionType: z.enum([
|
|
118
|
+
"Unknown",
|
|
119
|
+
"Login",
|
|
120
|
+
"RobuxSpend",
|
|
121
|
+
"ItemTrade",
|
|
122
|
+
"Resale",
|
|
123
|
+
"PasswordReset",
|
|
124
|
+
"RevertAccount",
|
|
125
|
+
"Generic",
|
|
126
|
+
"GenericWithRecoveryCodes",
|
|
128
127
|
]),
|
|
129
128
|
});
|
|
130
129
|
const Roblox_TwoStepVerification_Api_VerifyApprovalResponse = z.object({
|
|
@@ -132,16 +131,16 @@ const Roblox_TwoStepVerification_Api_VerifyApprovalResponse = z.object({
|
|
|
132
131
|
});
|
|
133
132
|
const Roblox_TwoStepVerification_Api_SendCodeRequest = z.object({
|
|
134
133
|
challengeId: z.string(),
|
|
135
|
-
actionType: z.
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
134
|
+
actionType: z.enum([
|
|
135
|
+
"Unknown",
|
|
136
|
+
"Login",
|
|
137
|
+
"RobuxSpend",
|
|
138
|
+
"ItemTrade",
|
|
139
|
+
"Resale",
|
|
140
|
+
"PasswordReset",
|
|
141
|
+
"RevertAccount",
|
|
142
|
+
"Generic",
|
|
143
|
+
"GenericWithRecoveryCodes",
|
|
145
144
|
]),
|
|
146
145
|
});
|
|
147
146
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|