rozod 6.8.0 → 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 (53) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  2. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  3. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  4. package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
  5. package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
  6. package/lib/endpoints/authv1.d.ts +479 -521
  7. package/lib/endpoints/authv2.d.ts +209 -221
  8. package/lib/endpoints/authv3.d.ts +32 -35
  9. package/lib/endpoints/avatarv1.d.ts +112 -117
  10. package/lib/endpoints/avatarv2.d.ts +71 -76
  11. package/lib/endpoints/avatarv3.d.ts +27 -33
  12. package/lib/endpoints/badgesv1.d.ts +92 -99
  13. package/lib/endpoints/catalogv1.d.ts +207 -233
  14. package/lib/endpoints/catalogv2.d.ts +81 -119
  15. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  16. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  17. package/lib/endpoints/contactsv1.d.ts +18 -20
  18. package/lib/endpoints/developv1.d.ts +230 -293
  19. package/lib/endpoints/developv2.d.ts +84 -137
  20. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  21. package/lib/endpoints/economyv1.d.ts +6 -6
  22. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  23. package/lib/endpoints/followingsv1.d.ts +33 -34
  24. package/lib/endpoints/followingsv2.d.ts +9 -9
  25. package/lib/endpoints/friendsv1.d.ts +200 -237
  26. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  27. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  28. package/lib/endpoints/gamesv1.d.ts +181 -143
  29. package/lib/endpoints/gamesv2.d.ts +161 -169
  30. package/lib/endpoints/groupsv1.d.ts +938 -988
  31. package/lib/endpoints/groupsv2.d.ts +259 -278
  32. package/lib/endpoints/inventoryv1.d.ts +91 -122
  33. package/lib/endpoints/inventoryv2.d.ts +163 -180
  34. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  35. package/lib/endpoints/localev1.d.ts +47 -48
  36. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  37. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  38. package/lib/endpoints/notificationsv2.d.ts +144 -158
  39. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  40. package/lib/endpoints/presencev1.d.ts +7 -12
  41. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  42. package/lib/endpoints/publishv1.d.ts +32 -32
  43. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  44. package/lib/endpoints/thumbnailsv1.d.ts +325 -326
  45. package/lib/endpoints/thumbnailsv1.js +24 -24
  46. package/lib/endpoints/tradesv1.d.ts +92 -104
  47. package/lib/endpoints/tradesv2.d.ts +81 -84
  48. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  49. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  50. package/lib/endpoints/usersv1.d.ts +110 -114
  51. package/lib/index.d.ts +56 -1
  52. package/lib/index.js +159 -3
  53. 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: {
@@ -670,17 +660,16 @@ export const getBundlesDetails = endpoint({
670
660
  * @description There is an item count limit per request. Exceeding this returns 400 Bad Request.
671
661
  */
672
662
  export const postCatalogItemsDetails = endpoint({
673
- method: "POST",
674
- path: "/v1/catalog/items/details",
675
- baseUrl: "https://catalog.roblox.com",
676
- requestFormat: "json",
663
+ method: 'POST',
664
+ path: '/v1/catalog/items/details',
665
+ baseUrl: 'https://catalog.roblox.com',
666
+ requestFormat: 'json',
677
667
  serializationMethod: {
678
668
  body: {},
679
669
  },
680
670
  parameters: {},
681
671
  body: Roblox_Catalog_Api_MultigetItemDetailsRequestModel,
682
- response:
683
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_,
672
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_,
684
673
  errors: [
685
674
  {
686
675
  status: 400,
@@ -702,10 +691,10 @@ export const postCatalogItemsDetails = endpoint({
702
691
  * @summary Lists Category Names and their Ids.
703
692
  */
704
693
  export const getCategories = endpoint({
705
- method: "GET",
706
- path: "/v1/categories",
707
- baseUrl: "https://catalog.roblox.com",
708
- requestFormat: "json",
694
+ method: 'GET',
695
+ path: '/v1/categories',
696
+ baseUrl: 'https://catalog.roblox.com',
697
+ requestFormat: 'json',
709
698
  response: z.array(Roblox_Catalog_Api_CategoryModel),
710
699
  errors: [],
711
700
  });
@@ -715,13 +704,13 @@ export const getCategories = endpoint({
715
704
  * @param assetId
716
705
  */
717
706
  export const getFavoritesAssetsAssetidCount = endpoint({
718
- method: "GET",
719
- path: "/v1/favorites/assets/:assetId/count",
720
- baseUrl: "https://catalog.roblox.com",
721
- requestFormat: "json",
707
+ method: 'GET',
708
+ path: '/v1/favorites/assets/:assetId/count',
709
+ baseUrl: 'https://catalog.roblox.com',
710
+ requestFormat: 'json',
722
711
  serializationMethod: {
723
712
  assetId: {
724
- style: "simple",
713
+ style: 'simple',
725
714
  },
726
715
  },
727
716
  parameters: {
@@ -741,13 +730,13 @@ export const getFavoritesAssetsAssetidCount = endpoint({
741
730
  * @param bundleId
742
731
  */
743
732
  export const getFavoritesBundlesBundleidCount = endpoint({
744
- method: "GET",
745
- path: "/v1/favorites/bundles/:bundleId/count",
746
- baseUrl: "https://catalog.roblox.com",
747
- requestFormat: "json",
733
+ method: 'GET',
734
+ path: '/v1/favorites/bundles/:bundleId/count',
735
+ baseUrl: 'https://catalog.roblox.com',
736
+ requestFormat: 'json',
748
737
  serializationMethod: {
749
738
  bundleId: {
750
- style: "simple",
739
+ style: 'simple',
751
740
  },
752
741
  },
753
742
  parameters: {
@@ -768,16 +757,16 @@ export const getFavoritesBundlesBundleidCount = endpoint({
768
757
  * @param assetId
769
758
  */
770
759
  export const getFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
771
- method: "GET",
772
- path: "/v1/favorites/users/:userId/assets/:assetId/favorite",
773
- baseUrl: "https://catalog.roblox.com",
774
- requestFormat: "json",
760
+ method: 'GET',
761
+ path: '/v1/favorites/users/:userId/assets/:assetId/favorite',
762
+ baseUrl: 'https://catalog.roblox.com',
763
+ requestFormat: 'json',
775
764
  serializationMethod: {
776
765
  userId: {
777
- style: "simple",
766
+ style: 'simple',
778
767
  },
779
768
  assetId: {
780
- style: "simple",
769
+ style: 'simple',
781
770
  },
782
771
  },
783
772
  parameters: {
@@ -804,16 +793,16 @@ export const getFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
804
793
  * @param assetId
805
794
  */
806
795
  export const postFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
807
- method: "POST",
808
- path: "/v1/favorites/users/:userId/assets/:assetId/favorite",
809
- baseUrl: "https://catalog.roblox.com",
810
- requestFormat: "json",
796
+ method: 'POST',
797
+ path: '/v1/favorites/users/:userId/assets/:assetId/favorite',
798
+ baseUrl: 'https://catalog.roblox.com',
799
+ requestFormat: 'json',
811
800
  serializationMethod: {
812
801
  userId: {
813
- style: "simple",
802
+ style: 'simple',
814
803
  },
815
804
  assetId: {
816
- style: "simple",
805
+ style: 'simple',
817
806
  },
818
807
  },
819
808
  parameters: {
@@ -853,16 +842,16 @@ export const postFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
853
842
  * @param assetId
854
843
  */
855
844
  export const deleteFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
856
- method: "DELETE",
857
- path: "/v1/favorites/users/:userId/assets/:assetId/favorite",
858
- baseUrl: "https://catalog.roblox.com",
859
- requestFormat: "json",
845
+ method: 'DELETE',
846
+ path: '/v1/favorites/users/:userId/assets/:assetId/favorite',
847
+ baseUrl: 'https://catalog.roblox.com',
848
+ requestFormat: 'json',
860
849
  serializationMethod: {
861
850
  userId: {
862
- style: "simple",
851
+ style: 'simple',
863
852
  },
864
853
  assetId: {
865
- style: "simple",
854
+ style: 'simple',
866
855
  },
867
856
  },
868
857
  parameters: {
@@ -902,16 +891,16 @@ export const deleteFavoritesUsersUseridAssetsAssetidFavorite = endpoint({
902
891
  * @param bundleId
903
892
  */
904
893
  export const getFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
905
- method: "GET",
906
- path: "/v1/favorites/users/:userId/bundles/:bundleId/favorite",
907
- baseUrl: "https://catalog.roblox.com",
908
- requestFormat: "json",
894
+ method: 'GET',
895
+ path: '/v1/favorites/users/:userId/bundles/:bundleId/favorite',
896
+ baseUrl: 'https://catalog.roblox.com',
897
+ requestFormat: 'json',
909
898
  serializationMethod: {
910
899
  userId: {
911
- style: "simple",
900
+ style: 'simple',
912
901
  },
913
902
  bundleId: {
914
- style: "simple",
903
+ style: 'simple',
915
904
  },
916
905
  },
917
906
  parameters: {
@@ -938,16 +927,16 @@ export const getFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
938
927
  * @param bundleId
939
928
  */
940
929
  export const postFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
941
- method: "POST",
942
- path: "/v1/favorites/users/:userId/bundles/:bundleId/favorite",
943
- baseUrl: "https://catalog.roblox.com",
944
- requestFormat: "json",
930
+ method: 'POST',
931
+ path: '/v1/favorites/users/:userId/bundles/:bundleId/favorite',
932
+ baseUrl: 'https://catalog.roblox.com',
933
+ requestFormat: 'json',
945
934
  serializationMethod: {
946
935
  userId: {
947
- style: "simple",
936
+ style: 'simple',
948
937
  },
949
938
  bundleId: {
950
- style: "simple",
939
+ style: 'simple',
951
940
  },
952
941
  },
953
942
  parameters: {
@@ -987,16 +976,16 @@ export const postFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
987
976
  * @param bundleId
988
977
  */
989
978
  export const deleteFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
990
- method: "DELETE",
991
- path: "/v1/favorites/users/:userId/bundles/:bundleId/favorite",
992
- baseUrl: "https://catalog.roblox.com",
993
- requestFormat: "json",
979
+ method: 'DELETE',
980
+ path: '/v1/favorites/users/:userId/bundles/:bundleId/favorite',
981
+ baseUrl: 'https://catalog.roblox.com',
982
+ requestFormat: 'json',
994
983
  serializationMethod: {
995
984
  userId: {
996
- style: "simple",
985
+ style: 'simple',
997
986
  },
998
987
  bundleId: {
999
- style: "simple",
988
+ style: 'simple',
1000
989
  },
1001
990
  },
1002
991
  parameters: {
@@ -1039,27 +1028,27 @@ export const deleteFavoritesUsersUseridBundlesBundleidFavorite = endpoint({
1039
1028
  * @param sortOrder The order the results are sorted in.
1040
1029
  */
1041
1030
  export const getFavoritesUsersUseridFavoritesAssettypeidAssets = endpoint({
1042
- method: "GET",
1043
- path: "/v1/favorites/users/:userId/favorites/:assetTypeId/assets",
1044
- baseUrl: "https://catalog.roblox.com",
1045
- requestFormat: "json",
1031
+ method: 'GET',
1032
+ path: '/v1/favorites/users/:userId/favorites/:assetTypeId/assets',
1033
+ baseUrl: 'https://catalog.roblox.com',
1034
+ requestFormat: 'json',
1046
1035
  serializationMethod: {
1047
1036
  userId: {
1048
- style: "simple",
1037
+ style: 'simple',
1049
1038
  },
1050
1039
  assetTypeId: {
1051
- style: "simple",
1040
+ style: 'simple',
1052
1041
  },
1053
1042
  limit: {
1054
- style: "form",
1043
+ style: 'form',
1055
1044
  explode: true,
1056
1045
  },
1057
1046
  cursor: {
1058
- style: "form",
1047
+ style: 'form',
1059
1048
  explode: true,
1060
1049
  },
1061
1050
  sortOrder: {
1062
- style: "form",
1051
+ style: 'form',
1063
1052
  explode: true,
1064
1053
  },
1065
1054
  },
@@ -1067,21 +1056,13 @@ export const getFavoritesUsersUseridFavoritesAssettypeidAssets = endpoint({
1067
1056
  userId: z.number().int(),
1068
1057
  assetTypeId: z.number().int(),
1069
1058
  limit: z
1070
- .union([
1071
- z.literal(10),
1072
- z.literal(18),
1073
- z.literal(24),
1074
- z.literal(25),
1075
- z.literal(50),
1076
- z.literal(100),
1077
- ])
1059
+ .union([z.literal(10), z.literal(18), z.literal(24), z.literal(25), z.literal(50), z.literal(100)])
1078
1060
  .optional()
1079
1061
  .default(10),
1080
1062
  cursor: z.string().optional(),
1081
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Desc"),
1063
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Desc'),
1082
1064
  },
1083
- response:
1084
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_,
1065
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_,
1085
1066
  errors: [
1086
1067
  {
1087
1068
  status: 400,
@@ -1105,27 +1086,27 @@ export const getFavoritesUsersUseridFavoritesAssettypeidAssets = endpoint({
1105
1086
  * @param isPrevious
1106
1087
  */
1107
1088
  export const getFavoritesUsersUseridFavoritesSubtypeidBundles = endpoint({
1108
- method: "GET",
1109
- path: "/v1/favorites/users/:userId/favorites/:subtypeId/bundles",
1110
- baseUrl: "https://catalog.roblox.com",
1111
- requestFormat: "json",
1089
+ method: 'GET',
1090
+ path: '/v1/favorites/users/:userId/favorites/:subtypeId/bundles',
1091
+ baseUrl: 'https://catalog.roblox.com',
1092
+ requestFormat: 'json',
1112
1093
  serializationMethod: {
1113
1094
  userId: {
1114
- style: "simple",
1095
+ style: 'simple',
1115
1096
  },
1116
1097
  subtypeId: {
1117
- style: "simple",
1098
+ style: 'simple',
1118
1099
  },
1119
1100
  itemsPerPage: {
1120
- style: "form",
1101
+ style: 'form',
1121
1102
  explode: true,
1122
1103
  },
1123
1104
  cursor: {
1124
- style: "form",
1105
+ style: 'form',
1125
1106
  explode: true,
1126
1107
  },
1127
1108
  isPrevious: {
1128
- style: "form",
1109
+ style: 'form',
1129
1110
  explode: true,
1130
1111
  },
1131
1112
  },
@@ -1163,10 +1144,10 @@ export const getFavoritesUsersUseridFavoritesSubtypeidBundles = endpoint({
1163
1144
  * @summary Lists Subcategory Names and their Ids.
1164
1145
  */
1165
1146
  export const getSubcategories = endpoint({
1166
- method: "GET",
1167
- path: "/v1/subcategories",
1168
- baseUrl: "https://catalog.roblox.com",
1169
- requestFormat: "json",
1147
+ method: 'GET',
1148
+ path: '/v1/subcategories',
1149
+ baseUrl: 'https://catalog.roblox.com',
1150
+ requestFormat: 'json',
1170
1151
  response: z.number().int(),
1171
1152
  errors: [],
1172
1153
  });
@@ -1176,10 +1157,10 @@ export const getSubcategories = endpoint({
1176
1157
  * @param body
1177
1158
  */
1178
1159
  export const postTopicGetTopics = endpoint({
1179
- method: "POST",
1180
- path: "/v1/topic/get-topics",
1181
- baseUrl: "https://catalog.roblox.com",
1182
- requestFormat: "json",
1160
+ method: 'POST',
1161
+ path: '/v1/topic/get-topics',
1162
+ baseUrl: 'https://catalog.roblox.com',
1163
+ requestFormat: 'json',
1183
1164
  serializationMethod: {
1184
1165
  body: {},
1185
1166
  },
@@ -1202,24 +1183,24 @@ export const postTopicGetTopics = endpoint({
1202
1183
  * @param sortOrder
1203
1184
  */
1204
1185
  export const getUsersUseridBundles = endpoint({
1205
- method: "GET",
1206
- path: "/v1/users/:userId/bundles",
1207
- baseUrl: "https://catalog.roblox.com",
1208
- requestFormat: "json",
1186
+ method: 'GET',
1187
+ path: '/v1/users/:userId/bundles',
1188
+ baseUrl: 'https://catalog.roblox.com',
1189
+ requestFormat: 'json',
1209
1190
  serializationMethod: {
1210
1191
  userId: {
1211
- style: "simple",
1192
+ style: 'simple',
1212
1193
  },
1213
1194
  cursor: {
1214
- style: "form",
1195
+ style: 'form',
1215
1196
  explode: true,
1216
1197
  },
1217
1198
  limit: {
1218
- style: "form",
1199
+ style: 'form',
1219
1200
  explode: true,
1220
1201
  },
1221
1202
  sortOrder: {
1222
- style: "form",
1203
+ style: 'form',
1223
1204
  explode: true,
1224
1205
  },
1225
1206
  },
@@ -1232,8 +1213,7 @@ export const getUsersUseridBundles = endpoint({
1232
1213
  .optional()
1233
1214
  .default(2),
1234
1215
  },
1235
- response:
1236
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_,
1216
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_,
1237
1217
  errors: [
1238
1218
  {
1239
1219
  status: 400,
@@ -1250,38 +1230,33 @@ export const getUsersUseridBundles = endpoint({
1250
1230
  * @param sortOrder
1251
1231
  */
1252
1232
  export const getUsersUseridBundlesBundletype = endpoint({
1253
- method: "GET",
1254
- path: "/v1/users/:userId/bundles/:bundleType",
1255
- baseUrl: "https://catalog.roblox.com",
1256
- requestFormat: "json",
1233
+ method: 'GET',
1234
+ path: '/v1/users/:userId/bundles/:bundleType',
1235
+ baseUrl: 'https://catalog.roblox.com',
1236
+ requestFormat: 'json',
1257
1237
  serializationMethod: {
1258
1238
  userId: {
1259
- style: "simple",
1239
+ style: 'simple',
1260
1240
  },
1261
1241
  bundleType: {
1262
- style: "simple",
1242
+ style: 'simple',
1263
1243
  },
1264
1244
  cursor: {
1265
- style: "form",
1245
+ style: 'form',
1266
1246
  explode: true,
1267
1247
  },
1268
1248
  limit: {
1269
- style: "form",
1249
+ style: 'form',
1270
1250
  explode: true,
1271
1251
  },
1272
1252
  sortOrder: {
1273
- style: "form",
1253
+ style: 'form',
1274
1254
  explode: true,
1275
1255
  },
1276
1256
  },
1277
1257
  parameters: {
1278
1258
  userId: z.number().int(),
1279
- bundleType: z.union([
1280
- z.literal(1),
1281
- z.literal(2),
1282
- z.literal(3),
1283
- z.literal(4),
1284
- ]),
1259
+ bundleType: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4)]),
1285
1260
  cursor: z.string(),
1286
1261
  limit: z.number().int().optional().default(10),
1287
1262
  sortOrder: z
@@ -1289,7 +1264,6 @@ export const getUsersUseridBundlesBundletype = endpoint({
1289
1264
  .optional()
1290
1265
  .default(2),
1291
1266
  },
1292
- response:
1293
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_,
1267
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_OwnedBundleModel_,
1294
1268
  errors: [],
1295
1269
  });