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.
Files changed (87) hide show
  1. package/lib/endpoints/accountsettingsv1.d.ts +27 -33
  2. package/lib/endpoints/accountsettingsv1.js +11 -22
  3. package/lib/endpoints/adconfigurationv2.d.ts +104 -119
  4. package/lib/endpoints/adconfigurationv2.js +32 -48
  5. package/lib/endpoints/assetdeliveryv1.d.ts +25 -24
  6. package/lib/endpoints/assetdeliveryv1.js +25 -24
  7. package/lib/endpoints/assetdeliveryv2.d.ts +25 -24
  8. package/lib/endpoints/assetdeliveryv2.js +25 -24
  9. package/lib/endpoints/authv1.d.ts +132 -84
  10. package/lib/endpoints/authv1.js +118 -64
  11. package/lib/endpoints/authv2.d.ts +56 -56
  12. package/lib/endpoints/authv2.js +57 -50
  13. package/lib/endpoints/authv3.d.ts +11 -11
  14. package/lib/endpoints/authv3.js +11 -11
  15. package/lib/endpoints/avatarv1.d.ts +1 -0
  16. package/lib/endpoints/avatarv1.js +1 -0
  17. package/lib/endpoints/avatarv2.d.ts +1 -0
  18. package/lib/endpoints/avatarv2.js +1 -0
  19. package/lib/endpoints/avatarv3.d.ts +1 -0
  20. package/lib/endpoints/avatarv3.js +1 -0
  21. package/lib/endpoints/badgesv1.d.ts +6 -22
  22. package/lib/endpoints/badgesv1.js +2 -22
  23. package/lib/endpoints/catalogv1.d.ts +39 -113
  24. package/lib/endpoints/catalogv1.js +39 -107
  25. package/lib/endpoints/catalogv2.d.ts +11 -11
  26. package/lib/endpoints/catalogv2.js +11 -11
  27. package/lib/endpoints/clientsettingsv2.d.ts +8 -7
  28. package/lib/endpoints/clientsettingsv2.js +9 -1
  29. package/lib/endpoints/developv1.d.ts +31 -31
  30. package/lib/endpoints/developv1.js +26 -26
  31. package/lib/endpoints/developv2.d.ts +27 -27
  32. package/lib/endpoints/developv2.js +22 -22
  33. package/lib/endpoints/economycreatorstatsv1.d.ts +1 -1
  34. package/lib/endpoints/economycreatorstatsv1.js +1 -1
  35. package/lib/endpoints/followingsv2.d.ts +2 -2
  36. package/lib/endpoints/followingsv2.js +2 -2
  37. package/lib/endpoints/friendsv1.d.ts +24 -98
  38. package/lib/endpoints/friendsv1.js +25 -91
  39. package/lib/endpoints/gamesv1.d.ts +31 -615
  40. package/lib/endpoints/gamesv1.js +32 -608
  41. package/lib/endpoints/gamesv2.d.ts +187 -260
  42. package/lib/endpoints/gamesv2.js +130 -190
  43. package/lib/endpoints/groupsv1.d.ts +34 -28
  44. package/lib/endpoints/groupsv1.js +31 -18
  45. package/lib/endpoints/groupsv2.d.ts +92 -92
  46. package/lib/endpoints/groupsv2.js +93 -87
  47. package/lib/endpoints/inventoryv1.d.ts +9 -21
  48. package/lib/endpoints/inventoryv1.js +4 -4
  49. package/lib/endpoints/inventoryv2.d.ts +91 -91
  50. package/lib/endpoints/inventoryv2.js +86 -86
  51. package/lib/endpoints/itemconfigurationv1.d.ts +1 -1
  52. package/lib/endpoints/itemconfigurationv1.js +1 -1
  53. package/lib/endpoints/thumbnailsv1.d.ts +1 -0
  54. package/lib/endpoints/thumbnailsv1.js +1 -0
  55. package/lib/endpoints/tradesv1.d.ts +10 -16
  56. package/lib/endpoints/tradesv1.js +10 -10
  57. package/lib/endpoints/twostepverificationv1.d.ts +59 -59
  58. package/lib/endpoints/twostepverificationv1.js +59 -59
  59. package/lib/endpoints/usersv1.d.ts +1 -1
  60. package/lib/endpoints/usersv1.js +1 -1
  61. package/lib/index.d.ts +1 -0
  62. package/lib/index.js +29 -3
  63. package/lib/opencloud/v1/asset-permissions.d.ts +7 -2
  64. package/lib/opencloud/v1/asset-permissions.js +9 -3
  65. package/lib/opencloud/v1/assets.d.ts +59 -32
  66. package/lib/opencloud/v1/assets.js +77 -41
  67. package/lib/opencloud/v1/datastores-ordered.d.ts +50 -14
  68. package/lib/opencloud/v1/datastores-ordered.js +62 -20
  69. package/lib/opencloud/v1/datastores.d.ts +99 -42
  70. package/lib/opencloud/v1/datastores.js +123 -50
  71. package/lib/opencloud/v1/developer-products.d.ts +29 -11
  72. package/lib/opencloud/v1/developer-products.js +37 -15
  73. package/lib/opencloud/v1/game-passes.d.ts +29 -11
  74. package/lib/opencloud/v1/game-passes.js +37 -15
  75. package/lib/opencloud/v1/messaging.d.ts +6 -2
  76. package/lib/opencloud/v1/messaging.js +8 -3
  77. package/lib/opencloud/v1/open-eval.d.ts +14 -4
  78. package/lib/opencloud/v1/open-eval.js +18 -6
  79. package/lib/opencloud/v1/secrets-store.d.ts +46 -26
  80. package/lib/opencloud/v1/secrets-store.js +56 -31
  81. package/lib/opencloud/v1/toolbox.d.ts +14 -6
  82. package/lib/opencloud/v1/toolbox.js +18 -8
  83. package/lib/opencloud/v1/universes.d.ts +6 -2
  84. package/lib/opencloud/v1/universes.js +8 -3
  85. package/lib/opencloud/v2/cloud.d.ts +854 -395
  86. package/lib/opencloud/v2/cloud.js +967 -395
  87. 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.union([z.literal(1), z.literal(2)]),
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.union([
29
- z.literal(1),
30
- z.literal(2),
31
- z.literal(3),
32
- z.literal(4),
33
- z.literal(5),
34
- z.literal(6),
35
- z.literal(7),
36
- z.literal(8),
37
- z.literal(9),
38
- z.literal(10),
39
- z.literal(11),
40
- z.literal(12),
41
- z.literal(13),
42
- z.literal(16),
43
- z.literal(17),
44
- z.literal(18),
45
- z.literal(19),
46
- z.literal(21),
47
- z.literal(22),
48
- z.literal(24),
49
- z.literal(25),
50
- z.literal(26),
51
- z.literal(27),
52
- z.literal(28),
53
- z.literal(29),
54
- z.literal(30),
55
- z.literal(31),
56
- z.literal(32),
57
- z.literal(33),
58
- z.literal(34),
59
- z.literal(35),
60
- z.literal(37),
61
- z.literal(38),
62
- z.literal(39),
63
- z.literal(40),
64
- z.literal(41),
65
- z.literal(42),
66
- z.literal(43),
67
- z.literal(44),
68
- z.literal(45),
69
- z.literal(46),
70
- z.literal(47),
71
- z.literal(48),
72
- z.literal(49),
73
- z.literal(50),
74
- z.literal(51),
75
- z.literal(52),
76
- z.literal(53),
77
- z.literal(54),
78
- z.literal(55),
79
- z.literal(56),
80
- z.literal(59),
81
- z.literal(60),
82
- z.literal(61),
83
- z.literal(62),
84
- z.literal(63),
85
- z.literal(64),
86
- z.literal(65),
87
- z.literal(66),
88
- z.literal(67),
89
- z.literal(68),
90
- z.literal(69),
91
- z.literal(70),
92
- z.literal(71),
93
- z.literal(72),
94
- z.literal(73),
95
- z.literal(74),
96
- z.literal(75),
97
- z.literal(76),
98
- z.literal(77),
99
- z.literal(78),
100
- z.literal(79),
101
- z.literal(80),
102
- z.literal(81),
103
- z.literal(82),
104
- z.literal(83),
105
- z.literal(84),
106
- z.literal(85),
107
- z.literal(86),
108
- z.literal(87),
109
- z.literal(88),
110
- z.literal(89),
111
- z.literal(90),
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.union([
125
- z.literal(0),
126
- z.literal(1),
127
- z.literal(2),
128
- z.literal(3),
129
- z.literal(4),
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.union([zod_1.z.literal(1), zod_1.z.literal(2)]),
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.union([
28
- zod_1.z.literal(1),
29
- zod_1.z.literal(2),
30
- zod_1.z.literal(3),
31
- zod_1.z.literal(4),
32
- zod_1.z.literal(5),
33
- zod_1.z.literal(6),
34
- zod_1.z.literal(7),
35
- zod_1.z.literal(8),
36
- zod_1.z.literal(9),
37
- zod_1.z.literal(10),
38
- zod_1.z.literal(11),
39
- zod_1.z.literal(12),
40
- zod_1.z.literal(13),
41
- zod_1.z.literal(16),
42
- zod_1.z.literal(17),
43
- zod_1.z.literal(18),
44
- zod_1.z.literal(19),
45
- zod_1.z.literal(21),
46
- zod_1.z.literal(22),
47
- zod_1.z.literal(24),
48
- zod_1.z.literal(25),
49
- zod_1.z.literal(26),
50
- zod_1.z.literal(27),
51
- zod_1.z.literal(28),
52
- zod_1.z.literal(29),
53
- zod_1.z.literal(30),
54
- zod_1.z.literal(31),
55
- zod_1.z.literal(32),
56
- zod_1.z.literal(33),
57
- zod_1.z.literal(34),
58
- zod_1.z.literal(35),
59
- zod_1.z.literal(37),
60
- zod_1.z.literal(38),
61
- zod_1.z.literal(39),
62
- zod_1.z.literal(40),
63
- zod_1.z.literal(41),
64
- zod_1.z.literal(42),
65
- zod_1.z.literal(43),
66
- zod_1.z.literal(44),
67
- zod_1.z.literal(45),
68
- zod_1.z.literal(46),
69
- zod_1.z.literal(47),
70
- zod_1.z.literal(48),
71
- zod_1.z.literal(49),
72
- zod_1.z.literal(50),
73
- zod_1.z.literal(51),
74
- zod_1.z.literal(52),
75
- zod_1.z.literal(53),
76
- zod_1.z.literal(54),
77
- zod_1.z.literal(55),
78
- zod_1.z.literal(56),
79
- zod_1.z.literal(59),
80
- zod_1.z.literal(60),
81
- zod_1.z.literal(61),
82
- zod_1.z.literal(62),
83
- zod_1.z.literal(63),
84
- zod_1.z.literal(64),
85
- zod_1.z.literal(65),
86
- zod_1.z.literal(66),
87
- zod_1.z.literal(67),
88
- zod_1.z.literal(68),
89
- zod_1.z.literal(69),
90
- zod_1.z.literal(70),
91
- zod_1.z.literal(71),
92
- zod_1.z.literal(72),
93
- zod_1.z.literal(73),
94
- zod_1.z.literal(74),
95
- zod_1.z.literal(75),
96
- zod_1.z.literal(76),
97
- zod_1.z.literal(77),
98
- zod_1.z.literal(78),
99
- zod_1.z.literal(79),
100
- zod_1.z.literal(80),
101
- zod_1.z.literal(81),
102
- zod_1.z.literal(82),
103
- zod_1.z.literal(83),
104
- zod_1.z.literal(84),
105
- zod_1.z.literal(85),
106
- zod_1.z.literal(86),
107
- zod_1.z.literal(87),
108
- zod_1.z.literal(88),
109
- zod_1.z.literal(89),
110
- zod_1.z.literal(90),
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.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)]),
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.enum(["Unknown", "User", "Group"]),
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.enum(['Unknown', 'User', 'Group']),
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.union([
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.union([
89
- z.literal(0),
90
- z.literal(1),
91
- z.literal(2),
92
- z.literal(3),
93
- z.literal(4),
94
- z.literal(5),
95
- z.literal(6),
96
- z.literal(7),
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.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)]),
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.union([
84
- zod_1.z.literal(0),
85
- zod_1.z.literal(1),
86
- zod_1.z.literal(2),
87
- zod_1.z.literal(3),
88
- zod_1.z.literal(4),
89
- zod_1.z.literal(5),
90
- zod_1.z.literal(6),
91
- zod_1.z.literal(7),
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.union([
38
- z.literal(0),
39
- z.literal(1),
40
- z.literal(2),
41
- z.literal(3),
42
- z.literal(4),
43
- z.literal(5),
44
- z.literal(6),
45
- z.literal(7),
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.union([
70
- z.literal(0),
71
- z.literal(1),
72
- z.literal(2),
73
- z.literal(3),
74
- z.literal(4),
75
- z.literal(5),
76
- z.literal(6),
77
- z.literal(7),
78
- z.literal(8),
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.union([
88
- z.literal(0),
89
- z.literal(1),
90
- z.literal(2),
91
- z.literal(3),
92
- z.literal(4),
93
- z.literal(5),
94
- z.literal(6),
95
- z.literal(7),
96
- z.literal(8),
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.union([
103
- z.literal(0),
104
- z.literal(1),
105
- z.literal(2),
106
- z.literal(3),
107
- z.literal(4),
108
- z.literal(5),
109
- z.literal(6),
110
- z.literal(7),
111
- z.literal(8),
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.union([
118
- z.literal(0),
119
- z.literal(1),
120
- z.literal(2),
121
- z.literal(3),
122
- z.literal(4),
123
- z.literal(5),
124
- z.literal(6),
125
- z.literal(7),
126
- z.literal(8),
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.union([
135
- z.literal(0),
136
- z.literal(1),
137
- z.literal(2),
138
- z.literal(3),
139
- z.literal(4),
140
- z.literal(5),
141
- z.literal(6),
142
- z.literal(7),
143
- z.literal(8),
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({});