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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getUsersUseridGames = exports.getUsersUseridFavoriteGames = exports.getGroupsGroupidGamesv2 = exports.getGroupsGroupidGames = exports.getGamesUniverseidMedia = void 0;
3
+ exports.getGroupsGroupidGames = exports.getUsersUseridGames = exports.getUsersUseridFavoriteGames = exports.getGamesUniverseidMedia = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const __1 = require("..");
6
6
  const Roblox_Web_Responses_Games_GameMediaItemResponseV2 = zod_1.z.object({
@@ -18,99 +18,100 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Games_GameM
18
18
  });
19
19
  const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Core_CreatorType_ = zod_1.z.object({
20
20
  id: zod_1.z.number().int(),
21
- type: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1)]),
21
+ type: zod_1.z.enum(['User', 'Group']),
22
22
  name: zod_1.z.string(),
23
23
  });
24
24
  const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_AssetType_ = zod_1.z.object({
25
25
  id: zod_1.z.number().int(),
26
- type: zod_1.z.union([
27
- zod_1.z.literal(1),
28
- zod_1.z.literal(2),
29
- zod_1.z.literal(3),
30
- zod_1.z.literal(4),
31
- zod_1.z.literal(5),
32
- zod_1.z.literal(6),
33
- zod_1.z.literal(7),
34
- zod_1.z.literal(8),
35
- zod_1.z.literal(9),
36
- zod_1.z.literal(10),
37
- zod_1.z.literal(11),
38
- zod_1.z.literal(12),
39
- zod_1.z.literal(13),
40
- zod_1.z.literal(16),
41
- zod_1.z.literal(17),
42
- zod_1.z.literal(18),
43
- zod_1.z.literal(19),
44
- zod_1.z.literal(21),
45
- zod_1.z.literal(22),
46
- zod_1.z.literal(24),
47
- zod_1.z.literal(25),
48
- zod_1.z.literal(26),
49
- zod_1.z.literal(27),
50
- zod_1.z.literal(28),
51
- zod_1.z.literal(29),
52
- zod_1.z.literal(30),
53
- zod_1.z.literal(31),
54
- zod_1.z.literal(32),
55
- zod_1.z.literal(33),
56
- zod_1.z.literal(34),
57
- zod_1.z.literal(35),
58
- zod_1.z.literal(37),
59
- zod_1.z.literal(38),
60
- zod_1.z.literal(39),
61
- zod_1.z.literal(40),
62
- zod_1.z.literal(41),
63
- zod_1.z.literal(42),
64
- zod_1.z.literal(43),
65
- zod_1.z.literal(44),
66
- zod_1.z.literal(45),
67
- zod_1.z.literal(46),
68
- zod_1.z.literal(47),
69
- zod_1.z.literal(48),
70
- zod_1.z.literal(49),
71
- zod_1.z.literal(50),
72
- zod_1.z.literal(51),
73
- zod_1.z.literal(52),
74
- zod_1.z.literal(53),
75
- zod_1.z.literal(54),
76
- zod_1.z.literal(55),
77
- zod_1.z.literal(56),
78
- zod_1.z.literal(59),
79
- zod_1.z.literal(60),
80
- zod_1.z.literal(61),
81
- zod_1.z.literal(62),
82
- zod_1.z.literal(63),
83
- zod_1.z.literal(64),
84
- zod_1.z.literal(65),
85
- zod_1.z.literal(66),
86
- zod_1.z.literal(67),
87
- zod_1.z.literal(68),
88
- zod_1.z.literal(69),
89
- zod_1.z.literal(70),
90
- zod_1.z.literal(71),
91
- zod_1.z.literal(72),
92
- zod_1.z.literal(73),
93
- zod_1.z.literal(74),
94
- zod_1.z.literal(75),
95
- zod_1.z.literal(76),
96
- zod_1.z.literal(77),
97
- zod_1.z.literal(78),
98
- zod_1.z.literal(79),
99
- zod_1.z.literal(80),
100
- zod_1.z.literal(81),
101
- zod_1.z.literal(82),
102
- zod_1.z.literal(83),
103
- zod_1.z.literal(84),
104
- zod_1.z.literal(85),
105
- zod_1.z.literal(86),
106
- zod_1.z.literal(87),
107
- zod_1.z.literal(88),
108
- zod_1.z.literal(89),
109
- zod_1.z.literal(90),
26
+ type: zod_1.z.enum([
27
+ 'Image',
28
+ 'TShirt',
29
+ 'Audio',
30
+ 'Mesh',
31
+ 'Lua',
32
+ 'HTML',
33
+ 'Text',
34
+ 'Hat',
35
+ 'Place',
36
+ 'Model',
37
+ 'Shirt',
38
+ 'Pants',
39
+ 'Decal',
40
+ 'Avatar',
41
+ 'Head',
42
+ 'Face',
43
+ 'Gear',
44
+ 'Badge',
45
+ 'GroupEmblem',
46
+ 'Animation',
47
+ 'Arms',
48
+ 'Legs',
49
+ 'Torso',
50
+ 'RightArm',
51
+ 'LeftArm',
52
+ 'LeftLeg',
53
+ 'RightLeg',
54
+ 'Package',
55
+ 'YouTubeVideo',
56
+ 'GamePass',
57
+ 'App',
58
+ 'Code',
59
+ 'Plugin',
60
+ 'SolidModel',
61
+ 'MeshPart',
62
+ 'HairAccessory',
63
+ 'FaceAccessory',
64
+ 'NeckAccessory',
65
+ 'ShoulderAccessory',
66
+ 'FrontAccessory',
67
+ 'BackAccessory',
68
+ 'WaistAccessory',
69
+ 'ClimbAnimation',
70
+ 'DeathAnimation',
71
+ 'FallAnimation',
72
+ 'IdleAnimation',
73
+ 'JumpAnimation',
74
+ 'RunAnimation',
75
+ 'SwimAnimation',
76
+ 'WalkAnimation',
77
+ 'PoseAnimation',
78
+ 'LocalizationTableManifest',
79
+ 'LocalizationTableTranslation',
80
+ 'EmoteAnimation',
81
+ 'Video',
82
+ 'TexturePack',
83
+ 'TShirtAccessory',
84
+ 'ShirtAccessory',
85
+ 'PantsAccessory',
86
+ 'JacketAccessory',
87
+ 'SweaterAccessory',
88
+ 'ShortsAccessory',
89
+ 'LeftShoeAccessory',
90
+ 'RightShoeAccessory',
91
+ 'DressSkirtAccessory',
92
+ 'FontFamily',
93
+ 'FontFace',
94
+ 'MeshHiddenSurfaceRemoval',
95
+ 'EyebrowAccessory',
96
+ 'EyelashAccessory',
97
+ 'MoodAnimation',
98
+ 'DynamicHead',
99
+ 'CodeSnippet',
100
+ 'AdsVideo',
101
+ 'OtaUpdate',
102
+ 'Screenshot',
103
+ 'RuntimePropertySet',
104
+ 'StorePreviewVideo',
105
+ 'GamePreviewVideo',
106
+ 'CreatorExperienceConfig',
107
+ 'FaceMakeup',
108
+ 'LipMakeup',
109
+ 'EyeMakeup',
110
110
  ]),
111
111
  name: zod_1.z.string(),
112
112
  });
113
- const Roblox_Web_Responses_Games_GameResponseV2 = zod_1.z.object({
113
+ const Roblox_Web_Responses_Games_GameFavoriteResponseModel = zod_1.z.object({
114
+ price: zod_1.z.number().int(),
114
115
  id: zod_1.z.number().int(),
115
116
  name: zod_1.z.string(),
116
117
  description: zod_1.z.string(),
@@ -120,13 +121,12 @@ const Roblox_Web_Responses_Games_GameResponseV2 = zod_1.z.object({
120
121
  updated: zod_1.z.string().datetime({ offset: true }),
121
122
  placeVisits: zod_1.z.number().int(),
122
123
  });
123
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_ = zod_1.z.object({
124
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameFavoriteResponseModel_ = zod_1.z.object({
124
125
  previousPageCursor: zod_1.z.string(),
125
126
  nextPageCursor: zod_1.z.string(),
126
- data: zod_1.z.array(Roblox_Web_Responses_Games_GameResponseV2),
127
+ data: zod_1.z.array(Roblox_Web_Responses_Games_GameFavoriteResponseModel),
127
128
  });
128
- const Roblox_Web_Responses_Games_GameFavoriteResponseModel = zod_1.z.object({
129
- price: zod_1.z.number().int(),
129
+ const Roblox_Web_Responses_Games_GameResponseV2 = zod_1.z.object({
130
130
  id: zod_1.z.number().int(),
131
131
  name: zod_1.z.string(),
132
132
  description: zod_1.z.string(),
@@ -136,10 +136,10 @@ const Roblox_Web_Responses_Games_GameFavoriteResponseModel = zod_1.z.object({
136
136
  updated: zod_1.z.string().datetime({ offset: true }),
137
137
  placeVisits: zod_1.z.number().int(),
138
138
  });
139
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameFavoriteResponseModel_ = zod_1.z.object({
139
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_ = zod_1.z.object({
140
140
  previousPageCursor: zod_1.z.string(),
141
141
  nextPageCursor: zod_1.z.string(),
142
- data: zod_1.z.array(Roblox_Web_Responses_Games_GameFavoriteResponseModel),
142
+ data: zod_1.z.array(Roblox_Web_Responses_Games_GameResponseV2),
143
143
  });
144
144
  /**
145
145
  * @api GET https://games.roblox.com/v2/games/:universeId/media
@@ -178,81 +178,21 @@ exports.getGamesUniverseidMedia = (0, __1.endpoint)({
178
178
  ],
179
179
  });
180
180
  /**
181
- * @api GET https://games.roblox.com/v2/groups/:groupId/games
182
- * @summary Gets games created by the specified group.
183
- * @param groupId The group Id.
184
- * @param accessFilter Filtering option via access level.
185
- * @param limit The number of results per request.
186
- * @param cursor The paging cursor for the previous or next page.
187
- * @param sortOrder The order the results are sorted in.
188
- */
189
- exports.getGroupsGroupidGames = (0, __1.endpoint)({
190
- method: 'GET',
191
- path: '/v2/groups/:groupId/games',
192
- baseUrl: 'https://games.roblox.com',
193
- requestFormat: 'json',
194
- serializationMethod: {
195
- groupId: {
196
- style: 'simple',
197
- },
198
- accessFilter: {
199
- style: 'form',
200
- explode: true,
201
- },
202
- limit: {
203
- style: 'form',
204
- explode: true,
205
- },
206
- cursor: {
207
- style: 'form',
208
- explode: true,
209
- },
210
- sortOrder: {
211
- style: 'form',
212
- explode: true,
213
- },
214
- },
215
- parameters: {
216
- groupId: zod_1.z.number().int(),
217
- accessFilter: zod_1.z
218
- .union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(4)])
219
- .optional()
220
- .default(1),
221
- limit: zod_1.z
222
- .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
223
- .optional()
224
- .default(10),
225
- cursor: zod_1.z.string().optional(),
226
- sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
227
- },
228
- response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_,
229
- errors: [
230
- {
231
- status: 403,
232
- description: `3: Not authorized.`,
233
- },
234
- {
235
- status: 500,
236
- description: `0: Compliance Context service is unavailable.`,
237
- },
238
- ],
239
- });
240
- /**
241
- * @api GET https://games.roblox.com/v2/groups/:groupId/gamesV2
242
- * @summary Gets games created by the specified group. This will replace V1 after validation. Note that this can only used for public/all universes.
243
- * @param groupId The group Id.
181
+ * @api GET https://games.roblox.com/v2/users/:userId/favorite/games
182
+ * @summary Gets users favorite games.
183
+ * @param userId The user Id.
244
184
  * @param accessFilter Filtering option via access level.
245
185
  * @param limit The number of results per request.
246
186
  * @param cursor The paging cursor for the previous or next page.
247
187
  * @param sortOrder The order the results are sorted in.
248
188
  */
249
- exports.getGroupsGroupidGamesv2 = (0, __1.endpoint)({
189
+ exports.getUsersUseridFavoriteGames = (0, __1.endpoint)({
250
190
  method: 'GET',
251
- path: '/v2/groups/:groupId/gamesV2',
191
+ path: '/v2/users/:userId/favorite/games',
252
192
  baseUrl: 'https://games.roblox.com',
253
193
  requestFormat: 'json',
254
194
  serializationMethod: {
255
- groupId: {
195
+ userId: {
256
196
  style: 'simple',
257
197
  },
258
198
  accessFilter: {
@@ -273,42 +213,33 @@ exports.getGroupsGroupidGamesv2 = (0, __1.endpoint)({
273
213
  },
274
214
  },
275
215
  parameters: {
276
- groupId: zod_1.z.number().int(),
216
+ userId: zod_1.z.number().int(),
277
217
  accessFilter: zod_1.z
278
218
  .union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(4)])
279
219
  .optional()
280
- .default(1),
220
+ .default(2),
281
221
  limit: zod_1.z
282
222
  .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
283
223
  .optional()
284
224
  .default(10),
285
225
  cursor: zod_1.z.string().optional(),
286
- sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
226
+ sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Desc'),
287
227
  },
288
- response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_,
289
- errors: [
290
- {
291
- status: 500,
292
- description: `0: Compliance Context service is unavailable.`,
293
- },
294
- {
295
- status: 501,
296
- description: `1: Code path is not Implemented.`,
297
- },
298
- ],
228
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameFavoriteResponseModel_,
229
+ errors: [],
299
230
  });
300
231
  /**
301
- * @api GET https://games.roblox.com/v2/users/:userId/favorite/games
302
- * @summary Gets users favorite games.
232
+ * @api GET https://games.roblox.com/v2/users/:userId/games
233
+ * @summary Gets games created by the specified user.
303
234
  * @param userId The user Id.
304
235
  * @param accessFilter Filtering option via access level.
305
236
  * @param limit The number of results per request.
306
237
  * @param cursor The paging cursor for the previous or next page.
307
238
  * @param sortOrder The order the results are sorted in.
308
239
  */
309
- exports.getUsersUseridFavoriteGames = (0, __1.endpoint)({
240
+ exports.getUsersUseridGames = (0, __1.endpoint)({
310
241
  method: 'GET',
311
- path: '/v2/users/:userId/favorite/games',
242
+ path: '/v2/users/:userId/games',
312
243
  baseUrl: 'https://games.roblox.com',
313
244
  requestFormat: 'json',
314
245
  serializationMethod: {
@@ -339,31 +270,31 @@ exports.getUsersUseridFavoriteGames = (0, __1.endpoint)({
339
270
  .optional()
340
271
  .default(2),
341
272
  limit: zod_1.z
342
- .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
273
+ .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50)])
343
274
  .optional()
344
275
  .default(10),
345
276
  cursor: zod_1.z.string().optional(),
346
- sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Desc'),
277
+ sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
347
278
  },
348
- response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameFavoriteResponseModel_,
279
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_,
349
280
  errors: [],
350
281
  });
351
282
  /**
352
- * @api GET https://games.roblox.com/v2/users/:userId/games
353
- * @summary Gets games created by the specified user.
354
- * @param userId The user Id.
283
+ * @api GET https://games.roblox.com/v2/groups/:groupId/games
284
+ * @summary Gets games created by the specified group.
285
+ * @param groupId The group Id.
355
286
  * @param accessFilter Filtering option via access level.
356
287
  * @param limit The number of results per request.
357
288
  * @param cursor The paging cursor for the previous or next page.
358
289
  * @param sortOrder The order the results are sorted in.
359
290
  */
360
- exports.getUsersUseridGames = (0, __1.endpoint)({
291
+ exports.getGroupsGroupidGames = (0, __1.endpoint)({
361
292
  method: 'GET',
362
- path: '/v2/users/:userId/games',
293
+ path: '/v2/groups/:groupId/games',
363
294
  baseUrl: 'https://games.roblox.com',
364
295
  requestFormat: 'json',
365
296
  serializationMethod: {
366
- userId: {
297
+ groupId: {
367
298
  style: 'simple',
368
299
  },
369
300
  accessFilter: {
@@ -384,18 +315,27 @@ exports.getUsersUseridGames = (0, __1.endpoint)({
384
315
  },
385
316
  },
386
317
  parameters: {
387
- userId: zod_1.z.number().int(),
318
+ groupId: zod_1.z.number().int(),
388
319
  accessFilter: zod_1.z
389
320
  .union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(4)])
390
321
  .optional()
391
- .default(2),
322
+ .default(1),
392
323
  limit: zod_1.z
393
- .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50)])
324
+ .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
394
325
  .optional()
395
326
  .default(10),
396
327
  cursor: zod_1.z.string().optional(),
397
328
  sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
398
329
  },
399
330
  response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameResponseV2_,
400
- errors: [],
331
+ errors: [
332
+ {
333
+ status: 403,
334
+ description: `3: Not authorized.`,
335
+ },
336
+ {
337
+ status: 500,
338
+ description: `0: Compliance Context service is unavailable.`,
339
+ },
340
+ ],
401
341
  });
@@ -189,12 +189,12 @@ const Roblox_Groups_Api_GroupChannelPermissionsModel = z.object({
189
189
  groupForumsPermissions: Roblox_Groups_Api_GroupForumsPermissionsModel,
190
190
  });
191
191
  const Roblox_Groups_Api_GroupNotificationPreferenceData = z.object({
192
- type: z.union([
193
- z.literal(0),
194
- z.literal(1),
195
- z.literal(2),
196
- z.literal(3),
197
- z.literal(4),
192
+ type: z.enum([
193
+ "AnnouncementCreatedNotification",
194
+ "ForumPostCreatedNotification",
195
+ "ForumCommentCreatedNotification",
196
+ "ForumCommentReplyCreatedNotification",
197
+ "ForumSubscriberNotification",
198
198
  ]),
199
199
  enabled: z.boolean(),
200
200
  name: z.string(),
@@ -241,17 +241,17 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutRes
241
241
  z.object({ data: z.array(Roblox_Groups_Api_GroupPayoutResponse) });
242
242
  const Roblox_Groups_Api_PayoutRecipientRequest = z.object({
243
243
  recipientId: z.number().int(),
244
- recipientType: z.union([z.literal(0), z.literal(1)]),
244
+ recipientType: z.enum(["User", "Group"]),
245
245
  amount: z.number().int(),
246
246
  });
247
247
  const Roblox_Groups_Api_PayoutRequest = z.object({
248
- PayoutType: z.union([z.literal(1), z.literal(2)]),
248
+ PayoutType: z.enum(["FixedAmount", "Percentage"]),
249
249
  Recipients: z.array(Roblox_Groups_Api_PayoutRecipientRequest),
250
250
  IdempotencyKey: z.string(),
251
251
  });
252
252
  const Roblox_Groups_Api_GroupRelationshipsResponse = z.object({
253
253
  groupId: z.number().int(),
254
- relationshipType: z.union([z.literal(1), z.literal(2)]),
254
+ relationshipType: z.enum(["Allies", "Enemies"]),
255
255
  totalGroupCount: z.number().int(),
256
256
  relatedGroups: z.array(Roblox_Groups_Api_GroupDetailResponse),
257
257
  nextRowIndex: z.number().int(),
@@ -327,22 +327,29 @@ const Roblox_Groups_Api_UpdateGroupSettingsRequest = z.object({
327
327
  });
328
328
  const Roblox_Groups_Api_SocialLinkResponse = z.object({
329
329
  id: z.number().int(),
330
- type: z.union([
330
+ type: z.enum([
331
+ "Facebook",
332
+ "Twitter",
333
+ "YouTube",
334
+ "Twitch",
335
+ "GooglePlus",
336
+ "Discord",
337
+ "RobloxGroup",
338
+ "Amazon",
339
+ "Guilded",
340
+ ]),
341
+ url: z.string(),
342
+ title: z.string(),
343
+ });
344
+ const Roblox_Groups_Api_GetSocialLinkResponse = z.object({
345
+ data: z.array(Roblox_Groups_Api_SocialLinkResponse),
346
+ socialLinksVerificationStatus: z.union([
331
347
  z.literal(0),
332
348
  z.literal(1),
333
349
  z.literal(2),
334
350
  z.literal(3),
335
- z.literal(4),
336
- z.literal(5),
337
- z.literal(6),
338
- z.literal(7),
339
- z.literal(8),
340
351
  ]),
341
- url: z.string(),
342
- title: z.string(),
343
352
  });
344
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_ =
345
- z.object({ data: z.array(Roblox_Groups_Api_SocialLinkResponse) });
346
353
  const Roblox_Groups_Api_SocialLinkRequest = z.object({
347
354
  type: z.union([
348
355
  z.literal(0),
@@ -515,7 +522,7 @@ const groups_create_body = z.object({
515
522
  Files: z.instanceof(File),
516
523
  });
517
524
  const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ =
518
- z.object({ id: z.number().int(), type: z.literal(0), name: z.string() });
525
+ z.object({ id: z.number().int(), type: z.literal("User"), name: z.string() });
519
526
  const Roblox_Web_Responses_Groups_GroupResponseV2 = z.object({
520
527
  id: z.number().int(),
521
528
  name: z.string(),
@@ -555,12 +562,12 @@ const Roblox_Groups_Api_UpdateGroupNameResponse = z.object({
555
562
  });
556
563
  const Roblox_Groups_Api_UpdateGroupNotificationPreferenceRequest = z.object({
557
564
  notificationsEnabled: z.boolean(),
558
- type: z.union([
559
- z.literal(0),
560
- z.literal(1),
561
- z.literal(2),
562
- z.literal(3),
563
- z.literal(4),
565
+ type: z.enum([
566
+ "AnnouncementCreatedNotification",
567
+ "ForumPostCreatedNotification",
568
+ "ForumCommentCreatedNotification",
569
+ "ForumCommentReplyCreatedNotification",
570
+ "ForumSubscriberNotification",
564
571
  ]),
565
572
  });
566
573
  const Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = z.object({
@@ -2894,8 +2901,7 @@ export const getGroupsGroupidSocialLinks = endpoint({
2894
2901
  parameters: {
2895
2902
  groupId: z.number().int(),
2896
2903
  },
2897
- response:
2898
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_,
2904
+ response: Roblox_Groups_Api_GetSocialLinkResponse,
2899
2905
  errors: [
2900
2906
  {
2901
2907
  status: 400,
@@ -181,7 +181,13 @@ const Roblox_Groups_Api_GroupChannelPermissionsModel = zod_1.z.object({
181
181
  groupForumsPermissions: Roblox_Groups_Api_GroupForumsPermissionsModel,
182
182
  });
183
183
  const Roblox_Groups_Api_GroupNotificationPreferenceData = zod_1.z.object({
184
- type: 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)]),
184
+ type: zod_1.z.enum([
185
+ 'AnnouncementCreatedNotification',
186
+ 'ForumPostCreatedNotification',
187
+ 'ForumCommentCreatedNotification',
188
+ 'ForumCommentReplyCreatedNotification',
189
+ 'ForumSubscriberNotification',
190
+ ]),
185
191
  enabled: zod_1.z.boolean(),
186
192
  name: zod_1.z.string(),
187
193
  description: zod_1.z.string(),
@@ -224,17 +230,17 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutRes
224
230
  });
225
231
  const Roblox_Groups_Api_PayoutRecipientRequest = zod_1.z.object({
226
232
  recipientId: zod_1.z.number().int(),
227
- recipientType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1)]),
233
+ recipientType: zod_1.z.enum(['User', 'Group']),
228
234
  amount: zod_1.z.number().int(),
229
235
  });
230
236
  const Roblox_Groups_Api_PayoutRequest = zod_1.z.object({
231
- PayoutType: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2)]),
237
+ PayoutType: zod_1.z.enum(['FixedAmount', 'Percentage']),
232
238
  Recipients: zod_1.z.array(Roblox_Groups_Api_PayoutRecipientRequest),
233
239
  IdempotencyKey: zod_1.z.string(),
234
240
  });
235
241
  const Roblox_Groups_Api_GroupRelationshipsResponse = zod_1.z.object({
236
242
  groupId: zod_1.z.number().int(),
237
- relationshipType: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2)]),
243
+ relationshipType: zod_1.z.enum(['Allies', 'Enemies']),
238
244
  totalGroupCount: zod_1.z.number().int(),
239
245
  relatedGroups: zod_1.z.array(Roblox_Groups_Api_GroupDetailResponse),
240
246
  nextRowIndex: zod_1.z.number().int(),
@@ -300,22 +306,23 @@ const Roblox_Groups_Api_UpdateGroupSettingsRequest = zod_1.z.object({
300
306
  });
301
307
  const Roblox_Groups_Api_SocialLinkResponse = zod_1.z.object({
302
308
  id: zod_1.z.number().int(),
303
- type: zod_1.z.union([
304
- zod_1.z.literal(0),
305
- zod_1.z.literal(1),
306
- zod_1.z.literal(2),
307
- zod_1.z.literal(3),
308
- zod_1.z.literal(4),
309
- zod_1.z.literal(5),
310
- zod_1.z.literal(6),
311
- zod_1.z.literal(7),
312
- zod_1.z.literal(8),
309
+ type: zod_1.z.enum([
310
+ 'Facebook',
311
+ 'Twitter',
312
+ 'YouTube',
313
+ 'Twitch',
314
+ 'GooglePlus',
315
+ 'Discord',
316
+ 'RobloxGroup',
317
+ 'Amazon',
318
+ 'Guilded',
313
319
  ]),
314
320
  url: zod_1.z.string(),
315
321
  title: zod_1.z.string(),
316
322
  });
317
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_ = zod_1.z.object({
323
+ const Roblox_Groups_Api_GetSocialLinkResponse = zod_1.z.object({
318
324
  data: zod_1.z.array(Roblox_Groups_Api_SocialLinkResponse),
325
+ socialLinksVerificationStatus: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
319
326
  });
320
327
  const Roblox_Groups_Api_SocialLinkRequest = zod_1.z.object({
321
328
  type: zod_1.z.union([
@@ -489,7 +496,7 @@ const groups_create_body = zod_1.z.object({
489
496
  });
490
497
  const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ = zod_1.z.object({
491
498
  id: zod_1.z.number().int(),
492
- type: zod_1.z.literal(0),
499
+ type: zod_1.z.literal('User'),
493
500
  name: zod_1.z.string(),
494
501
  });
495
502
  const Roblox_Web_Responses_Groups_GroupResponseV2 = zod_1.z.object({
@@ -530,7 +537,13 @@ const Roblox_Groups_Api_UpdateGroupNameResponse = zod_1.z.object({
530
537
  });
531
538
  const Roblox_Groups_Api_UpdateGroupNotificationPreferenceRequest = zod_1.z.object({
532
539
  notificationsEnabled: zod_1.z.boolean(),
533
- type: 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)]),
540
+ type: zod_1.z.enum([
541
+ 'AnnouncementCreatedNotification',
542
+ 'ForumPostCreatedNotification',
543
+ 'ForumCommentCreatedNotification',
544
+ 'ForumCommentReplyCreatedNotification',
545
+ 'ForumSubscriberNotification',
546
+ ]),
534
547
  });
535
548
  const Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = zod_1.z.object({
536
549
  name: zod_1.z.string(),
@@ -2847,7 +2860,7 @@ exports.getGroupsGroupidSocialLinks = (0, __1.endpoint)({
2847
2860
  parameters: {
2848
2861
  groupId: zod_1.z.number().int(),
2849
2862
  },
2850
- response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_SocialLinkResponse_,
2863
+ response: Roblox_Groups_Api_GetSocialLinkResponse,
2851
2864
  errors: [
2852
2865
  {
2853
2866
  status: 400,