rozod 6.7.1 → 6.9.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/LICENSE +1 -1
  2. package/README.md +75 -451
  3. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  4. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  5. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  6. package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
  7. package/lib/endpoints/assetdeliveryv1.js +38 -0
  8. package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
  9. package/lib/endpoints/assetdeliveryv2.js +26 -0
  10. package/lib/endpoints/authv1.d.ts +480 -517
  11. package/lib/endpoints/authv1.js +3 -1
  12. package/lib/endpoints/authv2.d.ts +210 -222
  13. package/lib/endpoints/authv2.js +1 -1
  14. package/lib/endpoints/authv3.d.ts +32 -35
  15. package/lib/endpoints/avatarv1.d.ts +112 -117
  16. package/lib/endpoints/avatarv2.d.ts +71 -76
  17. package/lib/endpoints/avatarv3.d.ts +27 -33
  18. package/lib/endpoints/badgesv1.d.ts +96 -99
  19. package/lib/endpoints/badgesv1.js +4 -0
  20. package/lib/endpoints/catalogv1.d.ts +209 -234
  21. package/lib/endpoints/catalogv1.js +2 -1
  22. package/lib/endpoints/catalogv2.d.ts +106 -136
  23. package/lib/endpoints/catalogv2.js +21 -17
  24. package/lib/endpoints/chatv2.d.ts +778 -778
  25. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  26. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  27. package/lib/endpoints/contactsv1.d.ts +18 -20
  28. package/lib/endpoints/developv1.d.ts +233 -293
  29. package/lib/endpoints/developv1.js +3 -0
  30. package/lib/endpoints/developv2.d.ts +87 -138
  31. package/lib/endpoints/developv2.js +3 -1
  32. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  33. package/lib/endpoints/economyv1.d.ts +6 -6
  34. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  35. package/lib/endpoints/followingsv1.d.ts +33 -34
  36. package/lib/endpoints/followingsv2.d.ts +9 -9
  37. package/lib/endpoints/friendsv1.d.ts +416 -545
  38. package/lib/endpoints/friendsv1.js +213 -313
  39. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  40. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  41. package/lib/endpoints/gamejoinv1.d.ts +458 -458
  42. package/lib/endpoints/gamesv1.d.ts +183 -143
  43. package/lib/endpoints/gamesv1.js +2 -0
  44. package/lib/endpoints/gamesv2.d.ts +161 -158
  45. package/lib/endpoints/gamesv2.js +9 -0
  46. package/lib/endpoints/groupsv1.d.ts +967 -976
  47. package/lib/endpoints/groupsv1.js +48 -4
  48. package/lib/endpoints/groupsv2.d.ts +259 -277
  49. package/lib/endpoints/groupsv2.js +1 -0
  50. package/lib/endpoints/inventoryv1.d.ts +93 -122
  51. package/lib/endpoints/inventoryv1.js +3 -1
  52. package/lib/endpoints/inventoryv2.d.ts +163 -178
  53. package/lib/endpoints/inventoryv2.js +2 -0
  54. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  55. package/lib/endpoints/localev1.d.ts +47 -48
  56. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  57. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  58. package/lib/endpoints/metricsv1.d.ts +88 -88
  59. package/lib/endpoints/notificationsv2.d.ts +144 -158
  60. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  61. package/lib/endpoints/presencev1.d.ts +7 -12
  62. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  63. package/lib/endpoints/publishv1.d.ts +32 -32
  64. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  65. package/lib/endpoints/thumbnailsv1.d.ts +317 -361
  66. package/lib/endpoints/thumbnailsv1.js +25 -0
  67. package/lib/endpoints/tradesv1.d.ts +92 -104
  68. package/lib/endpoints/tradesv2.d.ts +81 -84
  69. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  70. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  71. package/lib/endpoints/usersv1.d.ts +110 -114
  72. package/lib/index.d.ts +152 -4
  73. package/lib/index.js +273 -4
  74. package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
  75. package/lib/opencloud/v1/assets.d.ts +9 -9
  76. package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
  77. package/lib/opencloud/v1/datastores.d.ts +8 -8
  78. package/lib/opencloud/v1/developer-products.d.ts +4 -4
  79. package/lib/opencloud/v1/game-passes.d.ts +4 -4
  80. package/lib/opencloud/v1/messaging.d.ts +1 -1
  81. package/lib/opencloud/v1/open-eval.d.ts +2 -2
  82. package/lib/opencloud/v1/secrets-store.d.ts +5 -5
  83. package/lib/opencloud/v1/toolbox.d.ts +2 -2
  84. package/lib/opencloud/v1/universes.d.ts +1 -1
  85. package/lib/opencloud/v2/cloud.d.ts +172 -84
  86. package/lib/opencloud/v2/cloud.js +25 -9
  87. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
4
  const Roblox_Catalog_Api_BundleItemDetailModel = z.object({
5
5
  owned: z.boolean(),
@@ -31,14 +31,14 @@ const Roblox_Catalog_Api_BundleProductModel = z.object({
31
31
  });
32
32
  const Roblox_Catalog_Api_SaleLocation = z.object({
33
33
  saleLocationType: z.enum([
34
- "NotApplicable",
35
- "ShopOnly",
36
- "MyExperiencesOnly",
37
- "ShopAndMyExperiences",
38
- "ExperiencesById",
39
- "ShopAndAllExperiences",
40
- "ExperiencesDevApiOnly",
41
- "ShopAndExperiencesById",
34
+ 'NotApplicable',
35
+ 'ShopOnly',
36
+ 'MyExperiencesOnly',
37
+ 'ShopAndMyExperiences',
38
+ 'ExperiencesById',
39
+ 'ShopAndAllExperiences',
40
+ 'ExperiencesDevApiOnly',
41
+ 'ShopAndExperiencesById',
42
42
  ]),
43
43
  saleLocationTypeId: z.number().int(),
44
44
  universeIds: z.array(z.number()),
@@ -54,13 +54,13 @@ const Roblox_Catalog_Api_CollectibleItemDetail = z.object({
54
54
  unitsAvailable: z.number().int(),
55
55
  saleLocation: Roblox_Catalog_Api_SaleLocation,
56
56
  hasResellers: z.boolean(),
57
- saleStatus: z.enum(["Invalid", "Draft", "OffSale", "OnSale", "PendingSale"]),
57
+ saleStatus: z.enum(['Invalid', 'Draft', 'OffSale', 'OnSale', 'PendingSale']),
58
58
  quantityLimitPerUser: z.number().int(),
59
59
  offSaleDeadline: z.string().datetime({ offset: true }),
60
- collectibleItemType: z.enum(["Invalid", "Limited", "NonLimited"]),
60
+ collectibleItemType: z.enum(['Invalid', 'Limited', 'NonLimited']),
61
61
  lowestAvailableResaleProductId: z.string(),
62
62
  lowestAvailableResaleItemInstanceId: z.string(),
63
- resaleRestriction: z.enum(["Invalid", "None", "Disabled"]),
63
+ resaleRestriction: z.enum(['Invalid', 'None', 'Disabled']),
64
64
  });
65
65
  const Roblox_Catalog_Api_Discount = z.object({
66
66
  robuxDiscountAmount: z.number().int(),
@@ -94,19 +94,19 @@ const Roblox_Catalog_Api_BundleDetailsModel = z.object({
94
94
  z.literal(7),
95
95
  z.literal(8),
96
96
  z.literal(9),
97
- ])
97
+ ]),
98
98
  ),
99
99
  collectibleItemDetail: Roblox_Catalog_Api_CollectibleItemDetail,
100
100
  discountInformation: Roblox_Catalog_Api_DiscountInformation,
101
101
  });
102
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_BundleDetailsModel_ =
103
- z.object({
104
- previousPageCursor: z.string(),
105
- nextPageCursor: z.string(),
106
- data: z.array(Roblox_Catalog_Api_BundleDetailsModel),
107
- });
108
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_BundleDetailsModel_ =
109
- z.object({ data: z.array(Roblox_Catalog_Api_BundleDetailsModel) });
102
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_BundleDetailsModel_ = z.object({
103
+ previousPageCursor: z.string(),
104
+ nextPageCursor: z.string(),
105
+ data: z.array(Roblox_Catalog_Api_BundleDetailsModel),
106
+ });
107
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_BundleDetailsModel_ = z.object({
108
+ data: z.array(Roblox_Catalog_Api_BundleDetailsModel),
109
+ });
110
110
  const Roblox_Catalog_Api_SubcategoryModel = z.object({
111
111
  subcategory: z.string(),
112
112
  taxonomy: z.string(),
@@ -146,7 +146,7 @@ const Roblox_Catalog_Api_TimedOption = z.object({
146
146
  });
147
147
  const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
148
148
  id: z.number().int(),
149
- itemType: z.enum(["Asset", "Bundle"]),
149
+ itemType: z.enum(['Asset', 'Bundle']),
150
150
  assetType: z.union([
151
151
  z.literal(1),
152
152
  z.literal(2),
@@ -240,9 +240,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
240
240
  description: z.string(),
241
241
  productId: z.number().int(),
242
242
  bundledItems: z.array(Roblox_Catalog_Api_BundleItemDetailModel),
243
- itemStatus: z.array(
244
- z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])
245
- ),
243
+ itemStatus: z.array(z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])),
246
244
  itemRestrictions: z.array(
247
245
  z.union([
248
246
  z.literal(1),
@@ -254,7 +252,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
254
252
  z.literal(7),
255
253
  z.literal(8),
256
254
  z.literal(9),
257
- ])
255
+ ]),
258
256
  ),
259
257
  creatorHasVerifiedBadge: z.boolean(),
260
258
  creatorType: z.string(),
@@ -270,14 +268,14 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
270
268
  collectibleItemId: z.string(),
271
269
  totalQuantity: z.number().int(),
272
270
  saleLocationType: z.enum([
273
- "NotApplicable",
274
- "ShopOnly",
275
- "MyExperiencesOnly",
276
- "ShopAndMyExperiences",
277
- "ExperiencesById",
278
- "ShopAndAllExperiences",
279
- "ExperiencesDevApiOnly",
280
- "ShopAndExperiencesById",
271
+ 'NotApplicable',
272
+ 'ShopOnly',
273
+ 'MyExperiencesOnly',
274
+ 'ShopAndMyExperiences',
275
+ 'ExperiencesById',
276
+ 'ShopAndAllExperiences',
277
+ 'ExperiencesDevApiOnly',
278
+ 'ShopAndExperiencesById',
281
279
  ]),
282
280
  hasResellers: z.boolean(),
283
281
  isOffSale: z.boolean(),
@@ -285,12 +283,11 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
285
283
  supportsHeadShapes: z.boolean(),
286
284
  timedOptions: z.array(Roblox_Catalog_Api_TimedOption),
287
285
  });
288
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_ =
289
- z.object({
290
- previousPageCursor: z.string(),
291
- nextPageCursor: z.string(),
292
- data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItem),
293
- });
286
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_ = z.object({
287
+ previousPageCursor: z.string(),
288
+ nextPageCursor: z.string(),
289
+ data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItem),
290
+ });
294
291
  const Roblox_Catalog_Api_FavoriteBundlesResponse = z.object({
295
292
  favorites: z.array(Roblox_Catalog_Api_BundleDetailsModel),
296
293
  moreFavorites: z.boolean(),
@@ -303,14 +300,13 @@ const Roblox_Catalog_Api_OwnedBundleModel = z.object({
303
300
  bundleType: z.string(),
304
301
  creator: Roblox_Catalog_Api_BundleCreatorModel,
305
302
  });
306
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_ =
307
- z.object({
308
- previousPageCursor: z.string(),
309
- nextPageCursor: z.string(),
310
- data: z.array(Roblox_Catalog_Api_OwnedBundleModel),
311
- });
303
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_ = z.object({
304
+ previousPageCursor: z.string(),
305
+ nextPageCursor: z.string(),
306
+ data: z.array(Roblox_Catalog_Api_OwnedBundleModel),
307
+ });
312
308
  const Roblox_Catalog_Api_MultigetItemDetailsRequestItem = z.object({
313
- itemType: z.enum(["Asset", "Bundle"]),
309
+ itemType: z.enum(['Asset', 'Bundle']),
314
310
  id: z.number().int(),
315
311
  });
316
312
  const Roblox_Catalog_Api_MultigetItemDetailsRequestModel = z.object({
@@ -334,7 +330,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
334
330
  itemCreatedUtc: z.string().datetime({ offset: true }),
335
331
  discountInformation: Roblox_Catalog_Api_DiscountInformation,
336
332
  id: z.number().int(),
337
- itemType: z.enum(["Asset", "Bundle"]),
333
+ itemType: z.enum(['Asset', 'Bundle']),
338
334
  assetType: z.union([
339
335
  z.literal(1),
340
336
  z.literal(2),
@@ -427,9 +423,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
427
423
  name: z.string(),
428
424
  description: z.string(),
429
425
  productId: z.number().int(),
430
- itemStatus: z.array(
431
- z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])
432
- ),
426
+ itemStatus: z.array(z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])),
433
427
  itemRestrictions: z.array(
434
428
  z.union([
435
429
  z.literal(1),
@@ -441,7 +435,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
441
435
  z.literal(7),
442
436
  z.literal(8),
443
437
  z.literal(9),
444
- ])
438
+ ]),
445
439
  ),
446
440
  creatorHasVerifiedBadge: z.boolean(),
447
441
  creatorType: z.string(),
@@ -457,14 +451,14 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
457
451
  collectibleItemId: z.string(),
458
452
  totalQuantity: z.number().int(),
459
453
  saleLocationType: z.enum([
460
- "NotApplicable",
461
- "ShopOnly",
462
- "MyExperiencesOnly",
463
- "ShopAndMyExperiences",
464
- "ExperiencesById",
465
- "ShopAndAllExperiences",
466
- "ExperiencesDevApiOnly",
467
- "ShopAndExperiencesById",
454
+ 'NotApplicable',
455
+ 'ShopOnly',
456
+ 'MyExperiencesOnly',
457
+ 'ShopAndMyExperiences',
458
+ 'ExperiencesById',
459
+ 'ShopAndAllExperiences',
460
+ 'ExperiencesDevApiOnly',
461
+ 'ShopAndExperiencesById',
468
462
  ]),
469
463
  hasResellers: z.boolean(),
470
464
  isOffSale: z.boolean(),
@@ -472,30 +466,28 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
472
466
  supportsHeadShapes: z.boolean(),
473
467
  timedOptions: z.array(Roblox_Catalog_Api_TimedOption),
474
468
  });
475
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_ =
476
- z.object({
477
- data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2),
478
- });
479
- const Roblox_MarketplaceTopicDiscovery_TopicDiscoveryService_V1Beta1_AvatarItem =
480
- z.object({
481
- TargetId: z.number().int(),
482
- ItemType: z.enum(["Invalid", "Asset", "Bundle"]),
483
- });
469
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_ = z.object({
470
+ data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2),
471
+ });
472
+ const Roblox_MarketplaceTopicDiscovery_TopicDiscoveryService_V1Beta1_AvatarItem = z.object({
473
+ TargetId: z.number().int(),
474
+ ItemType: z.enum(['Invalid', 'Asset', 'Bundle']),
475
+ });
484
476
  const Roblox_Catalog_Api_TopicRequestModel = z.object({
485
- items: z.array(
486
- Roblox_MarketplaceTopicDiscovery_TopicDiscoveryService_V1Beta1_AvatarItem
487
- ),
477
+ items: z.array(Roblox_MarketplaceTopicDiscovery_TopicDiscoveryService_V1Beta1_AvatarItem),
488
478
  selectTopics: z.array(z.string()),
489
479
  inputQuery: z.string(),
490
480
  maxResult: z.number().int(),
491
- genderType: z.enum(["Unknown", "Male", "Female"]),
481
+ genderType: z.enum(['Unknown', 'Male', 'Female']),
492
482
  });
493
483
  const Roblox_Catalog_Api_TopicModel = z.object({
494
484
  displayName: z.string(),
495
485
  originalTopicName: z.string(),
496
486
  });
497
- const Roblox_MarketplaceTopicDiscovery_TopicDiscoveryService_V1Beta1_Error =
498
- z.object({ Message: z.string(), Code: z.number().int() });
487
+ const Roblox_MarketplaceTopicDiscovery_TopicDiscoveryService_V1Beta1_Error = z.object({
488
+ Message: z.string(),
489
+ Code: z.number().int(),
490
+ });
499
491
  const Roblox_Catalog_Api_TopicResponse = z.object({
500
492
  topics: z.array(Roblox_Catalog_Api_TopicModel),
501
493
  error: Roblox_MarketplaceTopicDiscovery_TopicDiscoveryService_V1Beta1_Error,
@@ -506,10 +498,10 @@ const Roblox_Catalog_Api_TopicResponse = z.object({
506
498
  * @summary Lists a mapping for assets to category IDs to convert from inventory ID to catalog ID. Creates a mapping to link 'Get More' button in inventory page to the relevant catalog page.
507
499
  */
508
500
  export const getAssetToCategory = endpoint({
509
- method: "GET",
510
- path: "/v1/asset-to-category",
511
- baseUrl: "https://catalog.roblox.com",
512
- requestFormat: "json",
501
+ method: 'GET',
502
+ path: '/v1/asset-to-category',
503
+ baseUrl: 'https://catalog.roblox.com',
504
+ requestFormat: 'json',
513
505
  response: z.number().int(),
514
506
  errors: [],
515
507
  });
@@ -518,10 +510,10 @@ export const getAssetToCategory = endpoint({
518
510
  * @summary Lists a mapping for assets to subcategory IDs to convert from inventory ID to catalog ID. Creates a mapping to link 'Get More' button in inventory page to the relevant catalog page.
519
511
  */
520
512
  export const getAssetToSubcategory = endpoint({
521
- method: "GET",
522
- path: "/v1/asset-to-subcategory",
523
- baseUrl: "https://catalog.roblox.com",
524
- requestFormat: "json",
513
+ method: 'GET',
514
+ path: '/v1/asset-to-subcategory',
515
+ baseUrl: 'https://catalog.roblox.com',
516
+ requestFormat: 'json',
525
517
  response: z.number().int(),
526
518
  errors: [],
527
519
  });
@@ -534,24 +526,24 @@ export const getAssetToSubcategory = endpoint({
534
526
  * @param sortOrder The order the results are sorted in.
535
527
  */
536
528
  export const getAssetsAssetidBundles = endpoint({
537
- method: "GET",
538
- path: "/v1/assets/:assetId/bundles",
539
- baseUrl: "https://catalog.roblox.com",
540
- requestFormat: "json",
529
+ method: 'GET',
530
+ path: '/v1/assets/:assetId/bundles',
531
+ baseUrl: 'https://catalog.roblox.com',
532
+ requestFormat: 'json',
541
533
  serializationMethod: {
542
534
  assetId: {
543
- style: "simple",
535
+ style: 'simple',
544
536
  },
545
537
  limit: {
546
- style: "form",
538
+ style: 'form',
547
539
  explode: true,
548
540
  },
549
541
  cursor: {
550
- style: "form",
542
+ style: 'form',
551
543
  explode: true,
552
544
  },
553
545
  sortOrder: {
554
- style: "form",
546
+ style: 'form',
555
547
  explode: true,
556
548
  },
557
549
  },
@@ -562,10 +554,9 @@ export const getAssetsAssetidBundles = endpoint({
562
554
  .optional()
563
555
  .default(10),
564
556
  cursor: z.string().optional(),
565
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Asc"),
557
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
566
558
  },
567
- response:
568
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_BundleDetailsModel_,
559
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_BundleDetailsModel_,
569
560
  errors: [
570
561
  {
571
562
  status: 400,
@@ -580,13 +571,13 @@ export const getAssetsAssetidBundles = endpoint({
580
571
  * @param bundleId
581
572
  */
582
573
  export const getBundlesBundleidDetails = endpoint({
583
- method: "GET",
584
- path: "/v1/bundles/:bundleId/details",
585
- baseUrl: "https://catalog.roblox.com",
586
- requestFormat: "json",
574
+ method: 'GET',
575
+ path: '/v1/bundles/:bundleId/details',
576
+ baseUrl: 'https://catalog.roblox.com',
577
+ requestFormat: 'json',
587
578
  serializationMethod: {
588
579
  bundleId: {
589
- style: "simple",
580
+ style: 'simple',
590
581
  },
591
582
  },
592
583
  parameters: {
@@ -608,16 +599,16 @@ export const getBundlesBundleidDetails = endpoint({
608
599
  * @param numItems The number of recommended items to return.
609
600
  */
610
601
  export const getBundlesBundleidRecommendations = endpoint({
611
- method: "GET",
612
- path: "/v1/bundles/:bundleId/recommendations",
613
- baseUrl: "https://catalog.roblox.com",
614
- requestFormat: "json",
602
+ method: 'GET',
603
+ path: '/v1/bundles/:bundleId/recommendations',
604
+ baseUrl: 'https://catalog.roblox.com',
605
+ requestFormat: 'json',
615
606
  serializationMethod: {
616
607
  bundleId: {
617
- style: "simple",
608
+ style: 'simple',
618
609
  },
619
610
  numItems: {
620
- style: "form",
611
+ style: 'form',
621
612
  explode: true,
622
613
  },
623
614
  },
@@ -625,8 +616,7 @@ export const getBundlesBundleidRecommendations = endpoint({
625
616
  bundleId: z.number().int(),
626
617
  numItems: z.number().int().optional().default(20),
627
618
  },
628
- response:
629
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_BundleDetailsModel_,
619
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_BundleDetailsModel_,
630
620
  errors: [
631
621
  {
632
622
  status: 400,
@@ -643,13 +633,13 @@ export const getBundlesBundleidRecommendations = endpoint({
643
633
  * @param bundleIds
644
634
  */
645
635
  export const getBundlesDetails = endpoint({
646
- method: "GET",
647
- path: "/v1/bundles/details",
648
- baseUrl: "https://catalog.roblox.com",
649
- requestFormat: "json",
636
+ method: 'GET',
637
+ path: '/v1/bundles/details',
638
+ baseUrl: 'https://catalog.roblox.com',
639
+ requestFormat: 'json',
650
640
  serializationMethod: {
651
641
  bundleIds: {
652
- style: "form",
642
+ style: 'form',
653
643
  },
654
644
  },
655
645
  parameters: {
@@ -665,21 +655,21 @@ export const getBundlesDetails = endpoint({
665
655
  });
666
656
  /**
667
657
  * @api POST https://catalog.roblox.com/v1/catalog/items/details
668
- * @summary Returns list of item details.
658
+ * @summary Returns details for one or more catalog items.
669
659
  * @param body Roblox.Catalog.Api.MultigetItemDetailsRequestModel.
660
+ * @description There is an item count limit per request. Exceeding this returns 400 Bad Request.
670
661
  */
671
662
  export const postCatalogItemsDetails = endpoint({
672
- method: "POST",
673
- path: "/v1/catalog/items/details",
674
- baseUrl: "https://catalog.roblox.com",
675
- requestFormat: "json",
663
+ method: 'POST',
664
+ path: '/v1/catalog/items/details',
665
+ baseUrl: 'https://catalog.roblox.com',
666
+ requestFormat: 'json',
676
667
  serializationMethod: {
677
668
  body: {},
678
669
  },
679
670
  parameters: {},
680
671
  body: Roblox_Catalog_Api_MultigetItemDetailsRequestModel,
681
- response:
682
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_,
672
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_,
683
673
  errors: [
684
674
  {
685
675
  status: 400,
@@ -701,10 +691,10 @@ export const postCatalogItemsDetails = endpoint({
701
691
  * @summary Lists Category Names and their Ids.
702
692
  */
703
693
  export const getCategories = endpoint({
704
- method: "GET",
705
- path: "/v1/categories",
706
- baseUrl: "https://catalog.roblox.com",
707
- requestFormat: "json",
694
+ method: 'GET',
695
+ path: '/v1/categories',
696
+ baseUrl: 'https://catalog.roblox.com',
697
+ requestFormat: 'json',
708
698
  response: z.array(Roblox_Catalog_Api_CategoryModel),
709
699
  errors: [],
710
700
  });
@@ -714,13 +704,13 @@ export const getCategories = endpoint({
714
704
  * @param assetId
715
705
  */
716
706
  export const getFavoritesAssetsAssetidCount = endpoint({
717
- method: "GET",
718
- path: "/v1/favorites/assets/:assetId/count",
719
- baseUrl: "https://catalog.roblox.com",
720
- requestFormat: "json",
707
+ method: 'GET',
708
+ path: '/v1/favorites/assets/:assetId/count',
709
+ baseUrl: 'https://catalog.roblox.com',
710
+ requestFormat: 'json',
721
711
  serializationMethod: {
722
712
  assetId: {
723
- style: "simple",
713
+ style: 'simple',
724
714
  },
725
715
  },
726
716
  parameters: {
@@ -740,13 +730,13 @@ export const getFavoritesAssetsAssetidCount = endpoint({
740
730
  * @param bundleId
741
731
  */
742
732
  export const getFavoritesBundlesBundleidCount = endpoint({
743
- method: "GET",
744
- path: "/v1/favorites/bundles/:bundleId/count",
745
- baseUrl: "https://catalog.roblox.com",
746
- requestFormat: "json",
733
+ method: 'GET',
734
+ path: '/v1/favorites/bundles/:bundleId/count',
735
+ baseUrl: 'https://catalog.roblox.com',
736
+ requestFormat: 'json',
747
737
  serializationMethod: {
748
738
  bundleId: {
749
- style: "simple",
739
+ style: 'simple',
750
740
  },
751
741
  },
752
742
  parameters: {
@@ -767,16 +757,16 @@ export const getFavoritesBundlesBundleidCount = endpoint({
767
757
  * @param assetId
768
758
  */
769
759
  export const getFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
770
- method: "GET",
771
- path: "/v1/favorites/users/:userId/assets/:assetId/favorite",
772
- baseUrl: "https://catalog.roblox.com",
773
- requestFormat: "json",
760
+ method: 'GET',
761
+ path: '/v1/favorites/users/:userId/assets/:assetId/favorite',
762
+ baseUrl: 'https://catalog.roblox.com',
763
+ requestFormat: 'json',
774
764
  serializationMethod: {
775
765
  userId: {
776
- style: "simple",
766
+ style: 'simple',
777
767
  },
778
768
  assetId: {
779
- style: "simple",
769
+ style: 'simple',
780
770
  },
781
771
  },
782
772
  parameters: {
@@ -803,16 +793,16 @@ export const getFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
803
793
  * @param assetId
804
794
  */
805
795
  export const postFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
806
- method: "POST",
807
- path: "/v1/favorites/users/:userId/assets/:assetId/favorite",
808
- baseUrl: "https://catalog.roblox.com",
809
- requestFormat: "json",
796
+ method: 'POST',
797
+ path: '/v1/favorites/users/:userId/assets/:assetId/favorite',
798
+ baseUrl: 'https://catalog.roblox.com',
799
+ requestFormat: 'json',
810
800
  serializationMethod: {
811
801
  userId: {
812
- style: "simple",
802
+ style: 'simple',
813
803
  },
814
804
  assetId: {
815
- style: "simple",
805
+ style: 'simple',
816
806
  },
817
807
  },
818
808
  parameters: {
@@ -852,16 +842,16 @@ export const postFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
852
842
  * @param assetId
853
843
  */
854
844
  export const deleteFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
855
- method: "DELETE",
856
- path: "/v1/favorites/users/:userId/assets/:assetId/favorite",
857
- baseUrl: "https://catalog.roblox.com",
858
- requestFormat: "json",
845
+ method: 'DELETE',
846
+ path: '/v1/favorites/users/:userId/assets/:assetId/favorite',
847
+ baseUrl: 'https://catalog.roblox.com',
848
+ requestFormat: 'json',
859
849
  serializationMethod: {
860
850
  userId: {
861
- style: "simple",
851
+ style: 'simple',
862
852
  },
863
853
  assetId: {
864
- style: "simple",
854
+ style: 'simple',
865
855
  },
866
856
  },
867
857
  parameters: {
@@ -901,16 +891,16 @@ export const deleteFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
901
891
  * @param bundleId
902
892
  */
903
893
  export const getFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
904
- method: "GET",
905
- path: "/v1/favorites/users/:userId/bundles/:bundleId/favorite",
906
- baseUrl: "https://catalog.roblox.com",
907
- requestFormat: "json",
894
+ method: 'GET',
895
+ path: '/v1/favorites/users/:userId/bundles/:bundleId/favorite',
896
+ baseUrl: 'https://catalog.roblox.com',
897
+ requestFormat: 'json',
908
898
  serializationMethod: {
909
899
  userId: {
910
- style: "simple",
900
+ style: 'simple',
911
901
  },
912
902
  bundleId: {
913
- style: "simple",
903
+ style: 'simple',
914
904
  },
915
905
  },
916
906
  parameters: {
@@ -937,16 +927,16 @@ export const getFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
937
927
  * @param bundleId
938
928
  */
939
929
  export const postFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
940
- method: "POST",
941
- path: "/v1/favorites/users/:userId/bundles/:bundleId/favorite",
942
- baseUrl: "https://catalog.roblox.com",
943
- requestFormat: "json",
930
+ method: 'POST',
931
+ path: '/v1/favorites/users/:userId/bundles/:bundleId/favorite',
932
+ baseUrl: 'https://catalog.roblox.com',
933
+ requestFormat: 'json',
944
934
  serializationMethod: {
945
935
  userId: {
946
- style: "simple",
936
+ style: 'simple',
947
937
  },
948
938
  bundleId: {
949
- style: "simple",
939
+ style: 'simple',
950
940
  },
951
941
  },
952
942
  parameters: {
@@ -986,16 +976,16 @@ export const postFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
986
976
  * @param bundleId
987
977
  */
988
978
  export const deleteFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
989
- method: "DELETE",
990
- path: "/v1/favorites/users/:userId/bundles/:bundleId/favorite",
991
- baseUrl: "https://catalog.roblox.com",
992
- requestFormat: "json",
979
+ method: 'DELETE',
980
+ path: '/v1/favorites/users/:userId/bundles/:bundleId/favorite',
981
+ baseUrl: 'https://catalog.roblox.com',
982
+ requestFormat: 'json',
993
983
  serializationMethod: {
994
984
  userId: {
995
- style: "simple",
985
+ style: 'simple',
996
986
  },
997
987
  bundleId: {
998
- style: "simple",
988
+ style: 'simple',
999
989
  },
1000
990
  },
1001
991
  parameters: {
@@ -1038,27 +1028,27 @@ export const deleteFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
1038
1028
  * @param sortOrder The order the results are sorted in.
1039
1029
  */
1040
1030
  export const getFavoritesUsersUseridFavoritesAssettypeidAssets = endpoint({
1041
- method: "GET",
1042
- path: "/v1/favorites/users/:userId/favorites/:assetTypeId/assets",
1043
- baseUrl: "https://catalog.roblox.com",
1044
- requestFormat: "json",
1031
+ method: 'GET',
1032
+ path: '/v1/favorites/users/:userId/favorites/:assetTypeId/assets',
1033
+ baseUrl: 'https://catalog.roblox.com',
1034
+ requestFormat: 'json',
1045
1035
  serializationMethod: {
1046
1036
  userId: {
1047
- style: "simple",
1037
+ style: 'simple',
1048
1038
  },
1049
1039
  assetTypeId: {
1050
- style: "simple",
1040
+ style: 'simple',
1051
1041
  },
1052
1042
  limit: {
1053
- style: "form",
1043
+ style: 'form',
1054
1044
  explode: true,
1055
1045
  },
1056
1046
  cursor: {
1057
- style: "form",
1047
+ style: 'form',
1058
1048
  explode: true,
1059
1049
  },
1060
1050
  sortOrder: {
1061
- style: "form",
1051
+ style: 'form',
1062
1052
  explode: true,
1063
1053
  },
1064
1054
  },
@@ -1066,21 +1056,13 @@ export const getFavoritesUsersUseridFavoritesAssettypeidAssets = endpoint({
1066
1056
  userId: z.number().int(),
1067
1057
  assetTypeId: z.number().int(),
1068
1058
  limit: z
1069
- .union([
1070
- z.literal(10),
1071
- z.literal(18),
1072
- z.literal(24),
1073
- z.literal(25),
1074
- z.literal(50),
1075
- z.literal(100),
1076
- ])
1059
+ .union([z.literal(10), z.literal(18), z.literal(24), z.literal(25), z.literal(50), z.literal(100)])
1077
1060
  .optional()
1078
1061
  .default(10),
1079
1062
  cursor: z.string().optional(),
1080
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Desc"),
1063
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Desc'),
1081
1064
  },
1082
- response:
1083
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_,
1065
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_,
1084
1066
  errors: [
1085
1067
  {
1086
1068
  status: 400,
@@ -1104,27 +1086,27 @@ export const getFavoritesUsersUseridFavoritesAssettypeidAssets = endpoint({
1104
1086
  * @param isPrevious
1105
1087
  */
1106
1088
  export const getFavoritesUsersUseridFavoritesSubtypeidBundles = endpoint({
1107
- method: "GET",
1108
- path: "/v1/favorites/users/:userId/favorites/:subtypeId/bundles",
1109
- baseUrl: "https://catalog.roblox.com",
1110
- requestFormat: "json",
1089
+ method: 'GET',
1090
+ path: '/v1/favorites/users/:userId/favorites/:subtypeId/bundles',
1091
+ baseUrl: 'https://catalog.roblox.com',
1092
+ requestFormat: 'json',
1111
1093
  serializationMethod: {
1112
1094
  userId: {
1113
- style: "simple",
1095
+ style: 'simple',
1114
1096
  },
1115
1097
  subtypeId: {
1116
- style: "simple",
1098
+ style: 'simple',
1117
1099
  },
1118
1100
  itemsPerPage: {
1119
- style: "form",
1101
+ style: 'form',
1120
1102
  explode: true,
1121
1103
  },
1122
1104
  cursor: {
1123
- style: "form",
1105
+ style: 'form',
1124
1106
  explode: true,
1125
1107
  },
1126
1108
  isPrevious: {
1127
- style: "form",
1109
+ style: 'form',
1128
1110
  explode: true,
1129
1111
  },
1130
1112
  },
@@ -1162,10 +1144,10 @@ export const getFavoritesUsersUseridFavoritesSubtypeidBundles = endpoint({
1162
1144
  * @summary Lists Subcategory Names and their Ids.
1163
1145
  */
1164
1146
  export const getSubcategories = endpoint({
1165
- method: "GET",
1166
- path: "/v1/subcategories",
1167
- baseUrl: "https://catalog.roblox.com",
1168
- requestFormat: "json",
1147
+ method: 'GET',
1148
+ path: '/v1/subcategories',
1149
+ baseUrl: 'https://catalog.roblox.com',
1150
+ requestFormat: 'json',
1169
1151
  response: z.number().int(),
1170
1152
  errors: [],
1171
1153
  });
@@ -1175,10 +1157,10 @@ export const getSubcategories = endpoint({
1175
1157
  * @param body
1176
1158
  */
1177
1159
  export const postTopicGetTopics = endpoint({
1178
- method: "POST",
1179
- path: "/v1/topic/get-topics",
1180
- baseUrl: "https://catalog.roblox.com",
1181
- requestFormat: "json",
1160
+ method: 'POST',
1161
+ path: '/v1/topic/get-topics',
1162
+ baseUrl: 'https://catalog.roblox.com',
1163
+ requestFormat: 'json',
1182
1164
  serializationMethod: {
1183
1165
  body: {},
1184
1166
  },
@@ -1201,24 +1183,24 @@ export const postTopicGetTopics = endpoint({
1201
1183
  * @param sortOrder
1202
1184
  */
1203
1185
  export const getUsersUseridBundles = endpoint({
1204
- method: "GET",
1205
- path: "/v1/users/:userId/bundles",
1206
- baseUrl: "https://catalog.roblox.com",
1207
- requestFormat: "json",
1186
+ method: 'GET',
1187
+ path: '/v1/users/:userId/bundles',
1188
+ baseUrl: 'https://catalog.roblox.com',
1189
+ requestFormat: 'json',
1208
1190
  serializationMethod: {
1209
1191
  userId: {
1210
- style: "simple",
1192
+ style: 'simple',
1211
1193
  },
1212
1194
  cursor: {
1213
- style: "form",
1195
+ style: 'form',
1214
1196
  explode: true,
1215
1197
  },
1216
1198
  limit: {
1217
- style: "form",
1199
+ style: 'form',
1218
1200
  explode: true,
1219
1201
  },
1220
1202
  sortOrder: {
1221
- style: "form",
1203
+ style: 'form',
1222
1204
  explode: true,
1223
1205
  },
1224
1206
  },
@@ -1231,8 +1213,7 @@ export const getUsersUseridBundles = endpoint({
1231
1213
  .optional()
1232
1214
  .default(2),
1233
1215
  },
1234
- response:
1235
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_,
1216
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_,
1236
1217
  errors: [
1237
1218
  {
1238
1219
  status: 400,
@@ -1249,38 +1230,33 @@ export const getUsersUseridBundles = endpoint({
1249
1230
  * @param sortOrder
1250
1231
  */
1251
1232
  export const getUsersUseridBundlesBundletype = endpoint({
1252
- method: "GET",
1253
- path: "/v1/users/:userId/bundles/:bundleType",
1254
- baseUrl: "https://catalog.roblox.com",
1255
- requestFormat: "json",
1233
+ method: 'GET',
1234
+ path: '/v1/users/:userId/bundles/:bundleType',
1235
+ baseUrl: 'https://catalog.roblox.com',
1236
+ requestFormat: 'json',
1256
1237
  serializationMethod: {
1257
1238
  userId: {
1258
- style: "simple",
1239
+ style: 'simple',
1259
1240
  },
1260
1241
  bundleType: {
1261
- style: "simple",
1242
+ style: 'simple',
1262
1243
  },
1263
1244
  cursor: {
1264
- style: "form",
1245
+ style: 'form',
1265
1246
  explode: true,
1266
1247
  },
1267
1248
  limit: {
1268
- style: "form",
1249
+ style: 'form',
1269
1250
  explode: true,
1270
1251
  },
1271
1252
  sortOrder: {
1272
- style: "form",
1253
+ style: 'form',
1273
1254
  explode: true,
1274
1255
  },
1275
1256
  },
1276
1257
  parameters: {
1277
1258
  userId: z.number().int(),
1278
- bundleType: z.union([
1279
- z.literal(1),
1280
- z.literal(2),
1281
- z.literal(3),
1282
- z.literal(4),
1283
- ]),
1259
+ bundleType: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4)]),
1284
1260
  cursor: z.string(),
1285
1261
  limit: z.number().int().optional().default(10),
1286
1262
  sortOrder: z
@@ -1288,7 +1264,6 @@ export const getUsersUseridBundlesBundletype = endpoint({
1288
1264
  .optional()
1289
1265
  .default(2),
1290
1266
  },
1291
- response:
1292
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_,
1267
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_,
1293
1268
  errors: [],
1294
1269
  });