rozod 6.6.0 → 6.7.1

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 (51) hide show
  1. package/README.md +11 -11
  2. package/lib/endpoints/accountinformationv1.d.ts +50 -87
  3. package/lib/endpoints/accountinformationv1.js +46 -90
  4. package/lib/endpoints/assetdeliveryv1.d.ts +1 -0
  5. package/lib/endpoints/assetdeliveryv1.js +1 -0
  6. package/lib/endpoints/assetdeliveryv2.d.ts +1 -0
  7. package/lib/endpoints/assetdeliveryv2.js +1 -0
  8. package/lib/endpoints/authv1.d.ts +64 -1
  9. package/lib/endpoints/authv1.js +67 -3
  10. package/lib/endpoints/authv2.d.ts +21 -0
  11. package/lib/endpoints/authv2.js +22 -1
  12. package/lib/endpoints/avatarv1.d.ts +9 -6
  13. package/lib/endpoints/avatarv1.js +9 -6
  14. package/lib/endpoints/avatarv2.d.ts +11 -5
  15. package/lib/endpoints/avatarv2.js +11 -5
  16. package/lib/endpoints/avatarv3.d.ts +16 -7
  17. package/lib/endpoints/avatarv3.js +16 -7
  18. package/lib/endpoints/catalogv1.d.ts +23 -2
  19. package/lib/endpoints/catalogv1.js +19 -2
  20. package/lib/endpoints/catalogv2.d.ts +242 -6
  21. package/lib/endpoints/catalogv2.js +235 -7
  22. package/lib/endpoints/chatv2.d.ts +778 -778
  23. package/lib/endpoints/clientsettingsv2.d.ts +6 -0
  24. package/lib/endpoints/clientsettingsv2.js +6 -0
  25. package/lib/endpoints/contactsv1.d.ts +18 -22
  26. package/lib/endpoints/contactsv1.js +14 -22
  27. package/lib/endpoints/developv1.d.ts +33 -1
  28. package/lib/endpoints/developv1.js +9 -3
  29. package/lib/endpoints/developv2.d.ts +29 -2
  30. package/lib/endpoints/developv2.js +13 -4
  31. package/lib/endpoints/gameinternationalizationv1.d.ts +59 -0
  32. package/lib/endpoints/gameinternationalizationv1.js +57 -1
  33. package/lib/endpoints/gamejoinv1.d.ts +458 -458
  34. package/lib/endpoints/gamesv1.d.ts +74 -95
  35. package/lib/endpoints/gamesv1.js +68 -97
  36. package/lib/endpoints/gamesv2.d.ts +2 -0
  37. package/lib/endpoints/gamesv2.js +2 -0
  38. package/lib/endpoints/groupsv1.d.ts +7 -3
  39. package/lib/endpoints/groupsv1.js +7 -3
  40. package/lib/endpoints/groupsv2.d.ts +1 -0
  41. package/lib/endpoints/groupsv2.js +1 -0
  42. package/lib/endpoints/inventoryv2.d.ts +68 -0
  43. package/lib/endpoints/inventoryv2.js +66 -1
  44. package/lib/endpoints/localev1.d.ts +27 -0
  45. package/lib/endpoints/localev1.js +28 -1
  46. package/lib/endpoints/metricsv1.d.ts +88 -88
  47. package/lib/endpoints/publishv1.d.ts +3 -6
  48. package/lib/endpoints/publishv1.js +3 -6
  49. package/lib/opencloud/v2/cloud.d.ts +28 -31
  50. package/lib/opencloud/v2/cloud.js +45 -46
  51. package/package.json +108 -64
@@ -46,6 +46,7 @@ const Roblox_Games_Api_Models_Response_GameDetailResponse = z.object({
46
46
  refundLink: z.string(),
47
47
  localizedFiatPrice: z.string(),
48
48
  refundPolicy: Roblox_Games_Api_Models_Response_RefundPolicy,
49
+ canonicalUrlPath: z.string(),
49
50
  });
50
51
  const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_ =
51
52
  z.object({
@@ -76,12 +77,6 @@ const Roblox_Web_Responses_Games_GameServerResponse = z.object({
76
77
  accessCode: z.string().uuid(),
77
78
  owner: Roblox_Games_Api_Models_Response_VerifiedBadgeUserResponse,
78
79
  });
79
- const Roblox_Games_Api_Models_Response_GetPrivateServerListResponse = z.object({
80
- gameJoinRestricted: z.boolean(),
81
- previousPageCursor: z.string(),
82
- nextPageCursor: z.string(),
83
- data: z.array(Roblox_Web_Responses_Games_GameServerResponse),
84
- });
85
80
  const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameServerResponse_ =
86
81
  z.object({
87
82
  previousPageCursor: z.string(),
@@ -154,6 +149,13 @@ const Roblox_Games_Api_Models_Response_PlayableUxTreatment = z.object({
154
149
  treatment: z.string(),
155
150
  data: Roblox_Games_Api_Models_Response_PlayableUxTreatmentData,
156
151
  });
152
+ const Roblox_Games_Api_Models_Response_UpsellUxTreatmentData = z.object({
153
+ bodyText: z.string(),
154
+ });
155
+ const Roblox_Games_Api_Models_Response_UpsellUxTreatment = z.object({
156
+ treatment: z.string(),
157
+ data: Roblox_Games_Api_Models_Response_UpsellUxTreatmentData,
158
+ });
157
159
  const Roblox_Games_Api_Models_Response_PlayabilityStatusResponse = z.object({
158
160
  playabilityStatus: z.enum([
159
161
  "UnplayableOtherReason",
@@ -182,12 +184,24 @@ const Roblox_Games_Api_Models_Response_PlayabilityStatusResponse = z.object({
182
184
  "ContextualPlayabilityUnrated",
183
185
  "ContextualPlayabilityAgeGatedByDescriptor",
184
186
  "ContextualPlayabilityGeneral",
187
+ "ContextualPlayabilityAgeCheckRequired",
188
+ "ContextualPlayabilityRequireParentApproval",
189
+ "ContextualPlayabilityCoreGated",
185
190
  ]),
186
191
  isPlayable: z.boolean(),
187
192
  universeId: z.number().int(),
188
193
  unplayableDisplayText: z.string(),
189
194
  playableUxTreatment: Roblox_Games_Api_Models_Response_PlayableUxTreatment,
195
+ upsellUxTreatment: Roblox_Games_Api_Models_Response_UpsellUxTreatment,
190
196
  });
197
+ const Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel =
198
+ z.object({
199
+ badgePosition: z.string(),
200
+ badgeAnalyticsId: z.string(),
201
+ badgeType: z.string(),
202
+ badgeIcon: z.string(),
203
+ badgeComponentType: z.string(),
204
+ });
191
205
  const Roblox_Games_Api_Models_Response_GameResponseModel = z.object({
192
206
  creatorId: z.number().int(),
193
207
  creatorName: z.string(),
@@ -209,20 +223,20 @@ const Roblox_Games_Api_Models_Response_GameResponseModel = z.object({
209
223
  genre: z.string(),
210
224
  minimumAge: z.number().int(),
211
225
  ageRecommendationDisplayName: z.string(),
226
+ contentMetadata:
227
+ Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel,
212
228
  canonicalUrlPath: z.string(),
213
229
  });
214
230
  const Roblox_Games_Api_Models_Response_GameRecommendationsResponse = z.object({
215
231
  games: z.array(Roblox_Games_Api_Models_Response_GameResponseModel),
216
232
  nextPaginationKey: z.string(),
217
233
  });
218
- const Roblox_Games_Api_Models_Response_PrivateServersEnabledInUniverseResponse =
219
- z.object({ privateServersEnabled: z.boolean() });
220
234
 
221
235
  /**
222
236
  * @api GET https://games.roblox.com/v1/games
223
237
  * @summary Gets a list of games' detail
224
238
  * @param universeIds A list of universe Ids. Cannot exceed a maximum of 50 IDs.
225
- * @param languageCode The HTML language code [optional].
239
+ * @param fields Optional comma-separated list of field names to include in the response. When omitted, all fields are returned.
226
240
  */
227
241
  export const getGames = endpoint({
228
242
  method: "GET",
@@ -233,14 +247,14 @@ export const getGames = endpoint({
233
247
  universeIds: {
234
248
  style: "form",
235
249
  },
236
- languageCode: {
250
+ fields: {
237
251
  style: "form",
238
252
  explode: true,
239
253
  },
240
254
  },
241
255
  parameters: {
242
256
  universeIds: z.array(z.number()),
243
- languageCode: z.string().optional(),
257
+ fields: z.string().optional(),
244
258
  },
245
259
  response:
246
260
  Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_,
@@ -256,64 +270,6 @@ export const getGames = endpoint({
256
270
  },
257
271
  ],
258
272
  });
259
- /**
260
- * @api GET https://games.roblox.com/v1/games/:placeId/private-servers
261
- * @summary Get list of private servers user can access for given game id.
262
- * @param placeId The Id of the place we are geting the private server list for.
263
- * @param excludeFriendServers
264
- * @param limit The number of results per request.
265
- * @param cursor The paging cursor for the previous or next page.
266
- * @param sortOrder The order the results are sorted in.
267
- */
268
- export const getGamesPlaceidPrivateServers = endpoint({
269
- method: "GET",
270
- path: "/v1/games/:placeId/private-servers",
271
- baseUrl: "https://games.roblox.com",
272
- requestFormat: "json",
273
- serializationMethod: {
274
- placeId: {
275
- style: "simple",
276
- },
277
- excludeFriendServers: {
278
- style: "form",
279
- explode: true,
280
- },
281
- limit: {
282
- style: "form",
283
- explode: true,
284
- },
285
- cursor: {
286
- style: "form",
287
- explode: true,
288
- },
289
- sortOrder: {
290
- style: "form",
291
- explode: true,
292
- },
293
- },
294
- parameters: {
295
- placeId: z.number().int(),
296
- excludeFriendServers: z.boolean().optional(),
297
- limit: z
298
- .union([z.literal(10), z.literal(25), z.literal(50), z.literal(100)])
299
- .optional()
300
- .default(10),
301
- cursor: z.string().optional(),
302
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Asc"),
303
- },
304
- response: Roblox_Games_Api_Models_Response_GetPrivateServerListResponse,
305
- errors: [
306
- {
307
- status: 400,
308
- description: `1: The place is invalid.
309
- 7: Guest users are not allowed.`,
310
- },
311
- {
312
- status: 404,
313
- description: `1: The place is invalid.`,
314
- },
315
- ],
316
- });
317
273
  /**
318
274
  * @api GET https://games.roblox.com/v1/games/:placeId/servers/:serverType
319
275
  * @summary Get the game server list
@@ -654,32 +610,6 @@ export const getGamesRecommendationsGameUniverseid = endpoint({
654
610
  },
655
611
  ],
656
612
  });
657
- /**
658
- * @api GET https://games.roblox.com/v1/private-servers/enabled-in-universe/:universeId
659
- * @summary Checks if the private servers are enabled in the specified universe.
660
- * @param universeId
661
- */
662
- export const getPrivateServersEnabledInUniverseUniverseid = endpoint({
663
- method: "GET",
664
- path: "/v1/private-servers/enabled-in-universe/:universeId",
665
- baseUrl: "https://games.roblox.com",
666
- requestFormat: "json",
667
- serializationMethod: {
668
- universeId: {
669
- style: "simple",
670
- },
671
- },
672
- parameters: {
673
- universeId: z.number().int(),
674
- },
675
- response: z.object({ privateServersEnabled: z.boolean() }),
676
- errors: [
677
- {
678
- status: 400,
679
- description: `8: The universe IDs specified are invalid.`,
680
- },
681
- ],
682
- });
683
613
 
684
614
  // Patched endpoints removed from Roblox API docs (v6.1.0 compat)
685
615
 
@@ -1013,3 +943,52 @@ export const postGamesVipServersUniverseid = endpoint({
1013
943
  { status: 500, description: `16: We are having a problem completing your purchase. Please try again in a few minutes.` },
1014
944
  ],
1015
945
  });
946
+
947
+ const Patch_GetPrivateServerListResponse = z.object({
948
+ gameJoinRestricted: z.boolean(),
949
+ previousPageCursor: z.string(),
950
+ nextPageCursor: z.string(),
951
+ data: z.array(Roblox_Web_Responses_Games_GameServerResponse),
952
+ });
953
+
954
+ export const getGamesPlaceidPrivateServers = endpoint({
955
+ method: 'GET',
956
+ path: '/v1/games/:placeId/private-servers',
957
+ baseUrl: 'https://games.roblox.com',
958
+ requestFormat: 'json',
959
+ serializationMethod: {
960
+ placeId: { style: 'simple' },
961
+ excludeFriendServers: { style: 'form', explode: true },
962
+ limit: { style: 'form', explode: true },
963
+ cursor: { style: 'form', explode: true },
964
+ sortOrder: { style: 'form', explode: true },
965
+ },
966
+ parameters: {
967
+ placeId: z.number().int(),
968
+ excludeFriendServers: z.boolean().optional(),
969
+ limit: z
970
+ .union([z.literal(10), z.literal(25), z.literal(50), z.literal(100)])
971
+ .optional()
972
+ .default(10),
973
+ cursor: z.string().optional(),
974
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
975
+ },
976
+ response: Patch_GetPrivateServerListResponse,
977
+ errors: [
978
+ { status: 400, description: `1: The place is invalid.\n7: Guest users are not allowed.` },
979
+ { status: 404, description: `1: The place is invalid.` },
980
+ ],
981
+ });
982
+
983
+ export const getPrivateServersEnabledInUniverseUniverseid = endpoint({
984
+ method: 'GET',
985
+ path: '/v1/private-servers/enabled-in-universe/:universeId',
986
+ baseUrl: 'https://games.roblox.com',
987
+ requestFormat: 'json',
988
+ serializationMethod: { universeId: { style: 'simple' } },
989
+ parameters: { universeId: z.number().int() },
990
+ response: z.object({ privateServersEnabled: z.boolean() }),
991
+ errors: [
992
+ { status: 400, description: `8: The universe IDs specified are invalid.` },
993
+ ],
994
+ });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.postGamesVipServersUniverseid = exports.patchVipServersIdSubscription = exports.patchVipServersIdPermissions = exports.patchVipServersId = exports.getVipServersId = exports.getVipServerCanInviteUserid = exports.getPrivateServersMyPrivateServers = exports.getGamesVotes = exports.getGamesUniverseidVotesUser = exports.getGamesUniverseidVotes = exports.patchGamesUniverseidUserVotes = exports.getGamesUniverseidGamePasses = exports.getPrivateServersEnabledInUniverseUniverseid = exports.getGamesRecommendationsGameUniverseid = exports.getGamesMultigetPlayabilityStatus = exports.getGamesMultigetPlaceDetails = exports.getGamesGamesProductInfo = exports.getGamesUniverseidMedia = exports.getGamesUniverseidFavoritesCount = exports.postGamesUniverseidFavorites = exports.getGamesUniverseidFavorites = exports.getGamesPlaceidServersServertype = exports.getGamesPlaceidPrivateServers = exports.getGames = void 0;
3
+ exports.getPrivateServersEnabledInUniverseUniverseid = exports.getGamesPlaceidPrivateServers = exports.postGamesVipServersUniverseid = exports.patchVipServersIdSubscription = exports.patchVipServersIdPermissions = exports.patchVipServersId = exports.getVipServersId = exports.getVipServerCanInviteUserid = exports.getPrivateServersMyPrivateServers = exports.getGamesVotes = exports.getGamesUniverseidVotesUser = exports.getGamesUniverseidVotes = exports.patchGamesUniverseidUserVotes = exports.getGamesUniverseidGamePasses = exports.getGamesRecommendationsGameUniverseid = exports.getGamesMultigetPlayabilityStatus = exports.getGamesMultigetPlaceDetails = exports.getGamesGamesProductInfo = exports.getGamesUniverseidMedia = exports.getGamesUniverseidFavoritesCount = exports.postGamesUniverseidFavorites = exports.getGamesUniverseidFavorites = exports.getGamesPlaceidServersServertype = exports.getGames = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const __1 = require("..");
6
6
  const Roblox_Games_Api_Models_Response_GameCreator = zod_1.z.object({
@@ -48,6 +48,7 @@ const Roblox_Games_Api_Models_Response_GameDetailResponse = zod_1.z.object({
48
48
  refundLink: zod_1.z.string(),
49
49
  localizedFiatPrice: zod_1.z.string(),
50
50
  refundPolicy: Roblox_Games_Api_Models_Response_RefundPolicy,
51
+ canonicalUrlPath: zod_1.z.string(),
51
52
  });
52
53
  const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_ = zod_1.z.object({
53
54
  data: zod_1.z.array(Roblox_Games_Api_Models_Response_GameDetailResponse),
@@ -77,12 +78,6 @@ const Roblox_Web_Responses_Games_GameServerResponse = zod_1.z.object({
77
78
  accessCode: zod_1.z.string().uuid(),
78
79
  owner: Roblox_Games_Api_Models_Response_VerifiedBadgeUserResponse,
79
80
  });
80
- const Roblox_Games_Api_Models_Response_GetPrivateServerListResponse = zod_1.z.object({
81
- gameJoinRestricted: zod_1.z.boolean(),
82
- previousPageCursor: zod_1.z.string(),
83
- nextPageCursor: zod_1.z.string(),
84
- data: zod_1.z.array(Roblox_Web_Responses_Games_GameServerResponse),
85
- });
86
81
  const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Web_Responses_Games_GameServerResponse_ = zod_1.z.object({
87
82
  previousPageCursor: zod_1.z.string(),
88
83
  nextPageCursor: zod_1.z.string(),
@@ -154,6 +149,13 @@ const Roblox_Games_Api_Models_Response_PlayableUxTreatment = zod_1.z.object({
154
149
  treatment: zod_1.z.string(),
155
150
  data: Roblox_Games_Api_Models_Response_PlayableUxTreatmentData,
156
151
  });
152
+ const Roblox_Games_Api_Models_Response_UpsellUxTreatmentData = zod_1.z.object({
153
+ bodyText: zod_1.z.string(),
154
+ });
155
+ const Roblox_Games_Api_Models_Response_UpsellUxTreatment = zod_1.z.object({
156
+ treatment: zod_1.z.string(),
157
+ data: Roblox_Games_Api_Models_Response_UpsellUxTreatmentData,
158
+ });
157
159
  const Roblox_Games_Api_Models_Response_PlayabilityStatusResponse = zod_1.z.object({
158
160
  playabilityStatus: zod_1.z.enum([
159
161
  'UnplayableOtherReason',
@@ -182,11 +184,22 @@ const Roblox_Games_Api_Models_Response_PlayabilityStatusResponse = zod_1.z.objec
182
184
  'ContextualPlayabilityUnrated',
183
185
  'ContextualPlayabilityAgeGatedByDescriptor',
184
186
  'ContextualPlayabilityGeneral',
187
+ 'ContextualPlayabilityAgeCheckRequired',
188
+ 'ContextualPlayabilityRequireParentApproval',
189
+ 'ContextualPlayabilityCoreGated',
185
190
  ]),
186
191
  isPlayable: zod_1.z.boolean(),
187
192
  universeId: zod_1.z.number().int(),
188
193
  unplayableDisplayText: zod_1.z.string(),
189
194
  playableUxTreatment: Roblox_Games_Api_Models_Response_PlayableUxTreatment,
195
+ upsellUxTreatment: Roblox_Games_Api_Models_Response_UpsellUxTreatment,
196
+ });
197
+ const Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel = zod_1.z.object({
198
+ badgePosition: zod_1.z.string(),
199
+ badgeAnalyticsId: zod_1.z.string(),
200
+ badgeType: zod_1.z.string(),
201
+ badgeIcon: zod_1.z.string(),
202
+ badgeComponentType: zod_1.z.string(),
190
203
  });
191
204
  const Roblox_Games_Api_Models_Response_GameResponseModel = zod_1.z.object({
192
205
  creatorId: zod_1.z.number().int(),
@@ -209,20 +222,18 @@ const Roblox_Games_Api_Models_Response_GameResponseModel = zod_1.z.object({
209
222
  genre: zod_1.z.string(),
210
223
  minimumAge: zod_1.z.number().int(),
211
224
  ageRecommendationDisplayName: zod_1.z.string(),
225
+ contentMetadata: Roblox_Games_Api_Models_Response_GameContentMetadataResponseModel,
212
226
  canonicalUrlPath: zod_1.z.string(),
213
227
  });
214
228
  const Roblox_Games_Api_Models_Response_GameRecommendationsResponse = zod_1.z.object({
215
229
  games: zod_1.z.array(Roblox_Games_Api_Models_Response_GameResponseModel),
216
230
  nextPaginationKey: zod_1.z.string(),
217
231
  });
218
- const Roblox_Games_Api_Models_Response_PrivateServersEnabledInUniverseResponse = zod_1.z.object({
219
- privateServersEnabled: zod_1.z.boolean(),
220
- });
221
232
  /**
222
233
  * @api GET https://games.roblox.com/v1/games
223
234
  * @summary Gets a list of games' detail
224
235
  * @param universeIds A list of universe Ids. Cannot exceed a maximum of 50 IDs.
225
- * @param languageCode The HTML language code [optional].
236
+ * @param fields Optional comma-separated list of field names to include in the response. When omitted, all fields are returned.
226
237
  */
227
238
  exports.getGames = (0, __1.endpoint)({
228
239
  method: 'GET',
@@ -233,14 +244,14 @@ exports.getGames = (0, __1.endpoint)({
233
244
  universeIds: {
234
245
  style: 'form',
235
246
  },
236
- languageCode: {
247
+ fields: {
237
248
  style: 'form',
238
249
  explode: true,
239
250
  },
240
251
  },
241
252
  parameters: {
242
253
  universeIds: zod_1.z.array(zod_1.z.number()),
243
- languageCode: zod_1.z.string().optional(),
254
+ fields: zod_1.z.string().optional(),
244
255
  },
245
256
  response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Games_Api_Models_Response_GameDetailResponse_,
246
257
  errors: [
@@ -255,64 +266,6 @@ exports.getGames = (0, __1.endpoint)({
255
266
  },
256
267
  ],
257
268
  });
258
- /**
259
- * @api GET https://games.roblox.com/v1/games/:placeId/private-servers
260
- * @summary Get list of private servers user can access for given game id.
261
- * @param placeId The Id of the place we are geting the private server list for.
262
- * @param excludeFriendServers
263
- * @param limit The number of results per request.
264
- * @param cursor The paging cursor for the previous or next page.
265
- * @param sortOrder The order the results are sorted in.
266
- */
267
- exports.getGamesPlaceidPrivateServers = (0, __1.endpoint)({
268
- method: 'GET',
269
- path: '/v1/games/:placeId/private-servers',
270
- baseUrl: 'https://games.roblox.com',
271
- requestFormat: 'json',
272
- serializationMethod: {
273
- placeId: {
274
- style: 'simple',
275
- },
276
- excludeFriendServers: {
277
- style: 'form',
278
- explode: true,
279
- },
280
- limit: {
281
- style: 'form',
282
- explode: true,
283
- },
284
- cursor: {
285
- style: 'form',
286
- explode: true,
287
- },
288
- sortOrder: {
289
- style: 'form',
290
- explode: true,
291
- },
292
- },
293
- parameters: {
294
- placeId: zod_1.z.number().int(),
295
- excludeFriendServers: zod_1.z.boolean().optional(),
296
- limit: zod_1.z
297
- .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
298
- .optional()
299
- .default(10),
300
- cursor: zod_1.z.string().optional(),
301
- sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
302
- },
303
- response: Roblox_Games_Api_Models_Response_GetPrivateServerListResponse,
304
- errors: [
305
- {
306
- status: 400,
307
- description: `1: The place is invalid.
308
- 7: Guest users are not allowed.`,
309
- },
310
- {
311
- status: 404,
312
- description: `1: The place is invalid.`,
313
- },
314
- ],
315
- });
316
269
  /**
317
270
  * @api GET https://games.roblox.com/v1/games/:placeId/servers/:serverType
318
271
  * @summary Get the game server list
@@ -650,32 +603,6 @@ exports.getGamesRecommendationsGameUniverseid = (0, __1.endpoint)({
650
603
  },
651
604
  ],
652
605
  });
653
- /**
654
- * @api GET https://games.roblox.com/v1/private-servers/enabled-in-universe/:universeId
655
- * @summary Checks if the private servers are enabled in the specified universe.
656
- * @param universeId
657
- */
658
- exports.getPrivateServersEnabledInUniverseUniverseid = (0, __1.endpoint)({
659
- method: 'GET',
660
- path: '/v1/private-servers/enabled-in-universe/:universeId',
661
- baseUrl: 'https://games.roblox.com',
662
- requestFormat: 'json',
663
- serializationMethod: {
664
- universeId: {
665
- style: 'simple',
666
- },
667
- },
668
- parameters: {
669
- universeId: zod_1.z.number().int(),
670
- },
671
- response: zod_1.z.object({ privateServersEnabled: zod_1.z.boolean() }),
672
- errors: [
673
- {
674
- status: 400,
675
- description: `8: The universe IDs specified are invalid.`,
676
- },
677
- ],
678
- });
679
606
  // Patched endpoints removed from Roblox API docs (v6.1.0 compat)
680
607
  const Patch_GamePassResponse = zod_1.z.object({
681
608
  id: zod_1.z.number().int(),
@@ -1043,3 +970,47 @@ exports.postGamesVipServersUniverseid = (0, __1.endpoint)({
1043
970
  },
1044
971
  ],
1045
972
  });
973
+ const Patch_GetPrivateServerListResponse = zod_1.z.object({
974
+ gameJoinRestricted: zod_1.z.boolean(),
975
+ previousPageCursor: zod_1.z.string(),
976
+ nextPageCursor: zod_1.z.string(),
977
+ data: zod_1.z.array(Roblox_Web_Responses_Games_GameServerResponse),
978
+ });
979
+ exports.getGamesPlaceidPrivateServers = (0, __1.endpoint)({
980
+ method: 'GET',
981
+ path: '/v1/games/:placeId/private-servers',
982
+ baseUrl: 'https://games.roblox.com',
983
+ requestFormat: 'json',
984
+ serializationMethod: {
985
+ placeId: { style: 'simple' },
986
+ excludeFriendServers: { style: 'form', explode: true },
987
+ limit: { style: 'form', explode: true },
988
+ cursor: { style: 'form', explode: true },
989
+ sortOrder: { style: 'form', explode: true },
990
+ },
991
+ parameters: {
992
+ placeId: zod_1.z.number().int(),
993
+ excludeFriendServers: zod_1.z.boolean().optional(),
994
+ limit: zod_1.z
995
+ .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
996
+ .optional()
997
+ .default(10),
998
+ cursor: zod_1.z.string().optional(),
999
+ sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
1000
+ },
1001
+ response: Patch_GetPrivateServerListResponse,
1002
+ errors: [
1003
+ { status: 400, description: `1: The place is invalid.\n7: Guest users are not allowed.` },
1004
+ { status: 404, description: `1: The place is invalid.` },
1005
+ ],
1006
+ });
1007
+ exports.getPrivateServersEnabledInUniverseUniverseid = (0, __1.endpoint)({
1008
+ method: 'GET',
1009
+ path: '/v1/private-servers/enabled-in-universe/:universeId',
1010
+ baseUrl: 'https://games.roblox.com',
1011
+ requestFormat: 'json',
1012
+ serializationMethod: { universeId: { style: 'simple' } },
1013
+ parameters: { universeId: zod_1.z.number().int() },
1014
+ response: zod_1.z.object({ privateServersEnabled: zod_1.z.boolean() }),
1015
+ errors: [{ status: 400, description: `8: The universe IDs specified are invalid.` }],
1016
+ });
@@ -108,6 +108,8 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
108
108
  "FaceMakeup",
109
109
  "LipMakeup",
110
110
  "EyeMakeup",
111
+ "VoxelFragment",
112
+ "AvatarBackground",
111
113
  ]),
112
114
  name: z.string(),
113
115
  });
@@ -107,6 +107,8 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
107
107
  'FaceMakeup',
108
108
  'LipMakeup',
109
109
  'EyeMakeup',
110
+ 'VoxelFragment',
111
+ 'AvatarBackground',
110
112
  ]),
111
113
  name: zod_1.z.string(),
112
114
  });
@@ -349,6 +349,7 @@ const Roblox_Groups_Api_GroupSettingsResponse = z.object({
349
349
  ]),
350
350
  slowmode: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
351
351
  isMemberListVisibleToPublic: z.boolean(),
352
+ isAutoAssignRoleDisabled: z.boolean(),
352
353
  });
353
354
  const Roblox_Groups_Api_UpdateGroupSettingsRequest = z.object({
354
355
  isApprovalRequired: z.boolean(),
@@ -1674,7 +1675,8 @@ export const getGroupsGroupidJoinRequests = endpoint({
1674
1675
  errors: [
1675
1676
  {
1676
1677
  status: 400,
1677
- description: `1: The group is invalid or does not exist.`,
1678
+ description: `1: The group is invalid or does not exist.
1679
+ 36: The pagination cursor is invalid.`,
1678
1680
  },
1679
1681
  {
1680
1682
  status: 401,
@@ -2783,7 +2785,8 @@ export const getGroupsGroupidRolesRolesetidUsers = endpoint({
2783
2785
  errors: [
2784
2786
  {
2785
2787
  status: 400,
2786
- description: `1: The group is invalid or does not exist.`,
2788
+ description: `1: The group is invalid or does not exist.
2789
+ 36: The pagination cursor is invalid.`,
2787
2790
  },
2788
2791
  {
2789
2792
  status: 403,
@@ -3345,7 +3348,8 @@ export const getGroupsGroupidUsers = endpoint({
3345
3348
  errors: [
3346
3349
  {
3347
3350
  status: 400,
3348
- description: `1: The group is invalid or does not exist.`,
3351
+ description: `1: The group is invalid or does not exist.
3352
+ 36: The pagination cursor is invalid.`,
3349
3353
  },
3350
3354
  {
3351
3355
  status: 403,
@@ -328,6 +328,7 @@ const Roblox_Groups_Api_GroupSettingsResponse = zod_1.z.object({
328
328
  ]),
329
329
  slowmode: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
330
330
  isMemberListVisibleToPublic: zod_1.z.boolean(),
331
+ isAutoAssignRoleDisabled: zod_1.z.boolean(),
331
332
  });
332
333
  const Roblox_Groups_Api_UpdateGroupSettingsRequest = zod_1.z.object({
333
334
  isApprovalRequired: zod_1.z.boolean(),
@@ -1639,7 +1640,8 @@ exports.getGroupsGroupidJoinRequests = (0, __1.endpoint)({
1639
1640
  errors: [
1640
1641
  {
1641
1642
  status: 400,
1642
- description: `1: The group is invalid or does not exist.`,
1643
+ description: `1: The group is invalid or does not exist.
1644
+ 36: The pagination cursor is invalid.`,
1643
1645
  },
1644
1646
  {
1645
1647
  status: 401,
@@ -2738,7 +2740,8 @@ exports.getGroupsGroupidRolesRolesetidUsers = (0, __1.endpoint)({
2738
2740
  errors: [
2739
2741
  {
2740
2742
  status: 400,
2741
- description: `1: The group is invalid or does not exist.`,
2743
+ description: `1: The group is invalid or does not exist.
2744
+ 36: The pagination cursor is invalid.`,
2742
2745
  },
2743
2746
  {
2744
2747
  status: 403,
@@ -3298,7 +3301,8 @@ exports.getGroupsGroupidUsers = (0, __1.endpoint)({
3298
3301
  errors: [
3299
3302
  {
3300
3303
  status: 400,
3301
- description: `1: The group is invalid or does not exist.`,
3304
+ description: `1: The group is invalid or does not exist.
3305
+ 36: The pagination cursor is invalid.`,
3302
3306
  },
3303
3307
  {
3304
3308
  status: 403,
@@ -109,6 +109,7 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
109
109
  "LipMakeup",
110
110
  "EyeMakeup",
111
111
  "VoxelFragment",
112
+ "AvatarBackground",
112
113
  ]),
113
114
  name: z.string(),
114
115
  });
@@ -112,6 +112,7 @@ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Platform_Assets_Asse
112
112
  'LipMakeup',
113
113
  'EyeMakeup',
114
114
  'VoxelFragment',
115
+ 'AvatarBackground',
115
116
  ]),
116
117
  name: zod_1.z.string(),
117
118
  });