rozod 6.7.1 → 6.8.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 (55) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +75 -451
  3. package/lib/endpoints/assetdeliveryv1.d.ts +38 -0
  4. package/lib/endpoints/assetdeliveryv1.js +38 -0
  5. package/lib/endpoints/assetdeliveryv2.d.ts +26 -0
  6. package/lib/endpoints/assetdeliveryv2.js +26 -0
  7. package/lib/endpoints/authv1.d.ts +7 -2
  8. package/lib/endpoints/authv1.js +3 -1
  9. package/lib/endpoints/authv2.d.ts +1 -1
  10. package/lib/endpoints/authv2.js +1 -1
  11. package/lib/endpoints/badgesv1.d.ts +4 -0
  12. package/lib/endpoints/badgesv1.js +4 -0
  13. package/lib/endpoints/catalogv1.d.ts +2 -1
  14. package/lib/endpoints/catalogv1.js +2 -1
  15. package/lib/endpoints/catalogv2.d.ts +53 -45
  16. package/lib/endpoints/catalogv2.js +21 -17
  17. package/lib/endpoints/chatv2.d.ts +778 -778
  18. package/lib/endpoints/developv1.d.ts +3 -0
  19. package/lib/endpoints/developv1.js +3 -0
  20. package/lib/endpoints/developv2.d.ts +3 -1
  21. package/lib/endpoints/developv2.js +3 -1
  22. package/lib/endpoints/friendsv1.d.ts +222 -314
  23. package/lib/endpoints/friendsv1.js +213 -313
  24. package/lib/endpoints/gamejoinv1.d.ts +458 -458
  25. package/lib/endpoints/gamesv1.d.ts +2 -0
  26. package/lib/endpoints/gamesv1.js +2 -0
  27. package/lib/endpoints/gamesv2.d.ts +11 -0
  28. package/lib/endpoints/gamesv2.js +9 -0
  29. package/lib/endpoints/groupsv1.d.ts +42 -1
  30. package/lib/endpoints/groupsv1.js +48 -4
  31. package/lib/endpoints/groupsv2.d.ts +1 -0
  32. package/lib/endpoints/groupsv2.js +1 -0
  33. package/lib/endpoints/inventoryv1.d.ts +3 -1
  34. package/lib/endpoints/inventoryv1.js +3 -1
  35. package/lib/endpoints/inventoryv2.d.ts +2 -0
  36. package/lib/endpoints/inventoryv2.js +2 -0
  37. package/lib/endpoints/metricsv1.d.ts +88 -88
  38. package/lib/endpoints/thumbnailsv1.d.ts +44 -87
  39. package/lib/endpoints/thumbnailsv1.js +25 -0
  40. package/lib/index.d.ts +96 -3
  41. package/lib/index.js +114 -1
  42. package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
  43. package/lib/opencloud/v1/assets.d.ts +9 -9
  44. package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
  45. package/lib/opencloud/v1/datastores.d.ts +8 -8
  46. package/lib/opencloud/v1/developer-products.d.ts +4 -4
  47. package/lib/opencloud/v1/game-passes.d.ts +4 -4
  48. package/lib/opencloud/v1/messaging.d.ts +1 -1
  49. package/lib/opencloud/v1/open-eval.d.ts +2 -2
  50. package/lib/opencloud/v1/secrets-store.d.ts +5 -5
  51. package/lib/opencloud/v1/toolbox.d.ts +2 -2
  52. package/lib/opencloud/v1/universes.d.ts +1 -1
  53. package/lib/opencloud/v2/cloud.d.ts +172 -84
  54. package/lib/opencloud/v2/cloud.js +25 -9
  55. package/package.json +1 -1
@@ -650,8 +650,9 @@ exports.getBundlesDetails = (0, __1.endpoint)({
650
650
  });
651
651
  /**
652
652
  * @api POST https://catalog.roblox.com/v1/catalog/items/details
653
- * @summary Returns list of item details.
653
+ * @summary Returns details for one or more catalog items.
654
654
  * @param body Roblox.Catalog.Api.MultigetItemDetailsRequestModel.
655
+ * @description There is an item count limit per request. Exceeding this returns 400 Bad Request.
655
656
  */
656
657
  exports.postCatalogItemsDetails = (0, __1.endpoint)({
657
658
  method: 'POST',
@@ -520,51 +520,59 @@ export const getSearchItemsDetails = endpoint({
520
520
  },
521
521
  },
522
522
  parameters: {
523
- Taxonomy: z.string(),
524
- AssetTypeIds: z.array(z.number()),
525
- BundleTypeIds: z.array(z.number()),
526
- CategoryFilter: z.union([
527
- z.literal(0),
528
- z.literal(1),
529
- z.literal(2),
530
- z.literal(3),
531
- z.literal(4),
532
- z.literal(5),
533
- z.literal(6),
534
- z.literal(7),
535
- ]),
536
- SortAggregation: z.union([
537
- z.literal(0),
538
- z.literal(1),
539
- z.literal(2),
540
- z.literal(3),
541
- z.literal(4),
542
- z.literal(5),
543
- ]),
544
- SortType: z.union([
545
- z.literal(0),
546
- z.literal(1),
547
- z.literal(2),
548
- z.literal(3),
549
- z.literal(4),
550
- z.literal(5),
551
- ]),
552
- CreatorType: z.union([z.literal(0), z.literal(1), z.literal(2)]),
553
- CreatorTargetId: z.number().int(),
554
- CreatorName: z.string(),
555
- MaxPrice: z.number().int(),
556
- MinPrice: z.number().int(),
557
- Keyword: z.string(),
558
- IncludeNotForSale: z.boolean(),
559
- TriggeredByTopicDiscovery: z.boolean(),
560
- SalesTypeFilter: z.union([
561
- z.literal(0),
562
- z.literal(1),
563
- z.literal(2),
564
- z.literal(3),
565
- z.literal(4),
566
- ]),
567
- Topics: z.string(),
523
+ Taxonomy: z.string().optional(),
524
+ AssetTypeIds: z.array(z.number()).optional(),
525
+ BundleTypeIds: z.array(z.number()).optional(),
526
+ CategoryFilter: z
527
+ .union([
528
+ z.literal(0),
529
+ z.literal(1),
530
+ z.literal(2),
531
+ z.literal(3),
532
+ z.literal(4),
533
+ z.literal(5),
534
+ z.literal(6),
535
+ z.literal(7),
536
+ ])
537
+ .optional(),
538
+ SortAggregation: z
539
+ .union([
540
+ z.literal(0),
541
+ z.literal(1),
542
+ z.literal(2),
543
+ z.literal(3),
544
+ z.literal(4),
545
+ z.literal(5),
546
+ ])
547
+ .optional(),
548
+ SortType: z
549
+ .union([
550
+ z.literal(0),
551
+ z.literal(1),
552
+ z.literal(2),
553
+ z.literal(3),
554
+ z.literal(4),
555
+ z.literal(5),
556
+ ])
557
+ .optional(),
558
+ CreatorType: z.union([z.literal(0), z.literal(1), z.literal(2)]).optional(),
559
+ CreatorTargetId: z.number().int().optional(),
560
+ CreatorName: z.string().optional(),
561
+ MaxPrice: z.number().int().optional(),
562
+ MinPrice: z.number().int().optional(),
563
+ Keyword: z.string().optional(),
564
+ IncludeNotForSale: z.boolean().optional(),
565
+ TriggeredByTopicDiscovery: z.boolean().optional(),
566
+ SalesTypeFilter: z
567
+ .union([
568
+ z.literal(0),
569
+ z.literal(1),
570
+ z.literal(2),
571
+ z.literal(3),
572
+ z.literal(4),
573
+ ])
574
+ .optional(),
575
+ Topics: z.string().optional(),
568
576
  limit: z
569
577
  .union([
570
578
  z.literal(10),
@@ -510,10 +510,11 @@ exports.getSearchItemsDetails = (0, __1.endpoint)({
510
510
  },
511
511
  },
512
512
  parameters: {
513
- Taxonomy: zod_1.z.string(),
514
- AssetTypeIds: zod_1.z.array(zod_1.z.number()),
515
- BundleTypeIds: zod_1.z.array(zod_1.z.number()),
516
- CategoryFilter: zod_1.z.union([
513
+ Taxonomy: zod_1.z.string().optional(),
514
+ AssetTypeIds: zod_1.z.array(zod_1.z.number()).optional(),
515
+ BundleTypeIds: zod_1.z.array(zod_1.z.number()).optional(),
516
+ CategoryFilter: zod_1.z
517
+ .union([
517
518
  zod_1.z.literal(0),
518
519
  zod_1.z.literal(1),
519
520
  zod_1.z.literal(2),
@@ -522,19 +523,22 @@ exports.getSearchItemsDetails = (0, __1.endpoint)({
522
523
  zod_1.z.literal(5),
523
524
  zod_1.z.literal(6),
524
525
  zod_1.z.literal(7),
525
- ]),
526
- SortAggregation: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5)]),
527
- SortType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5)]),
528
- CreatorType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2)]),
529
- CreatorTargetId: zod_1.z.number().int(),
530
- CreatorName: zod_1.z.string(),
531
- MaxPrice: zod_1.z.number().int(),
532
- MinPrice: zod_1.z.number().int(),
533
- Keyword: zod_1.z.string(),
534
- IncludeNotForSale: zod_1.z.boolean(),
535
- TriggeredByTopicDiscovery: zod_1.z.boolean(),
536
- SalesTypeFilter: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)]),
537
- Topics: zod_1.z.string(),
526
+ ])
527
+ .optional(),
528
+ SortAggregation: zod_1.z
529
+ .union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5)])
530
+ .optional(),
531
+ SortType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5)]).optional(),
532
+ CreatorType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2)]).optional(),
533
+ CreatorTargetId: zod_1.z.number().int().optional(),
534
+ CreatorName: zod_1.z.string().optional(),
535
+ MaxPrice: zod_1.z.number().int().optional(),
536
+ MinPrice: zod_1.z.number().int().optional(),
537
+ Keyword: zod_1.z.string().optional(),
538
+ IncludeNotForSale: zod_1.z.boolean().optional(),
539
+ TriggeredByTopicDiscovery: zod_1.z.boolean().optional(),
540
+ SalesTypeFilter: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)]).optional(),
541
+ Topics: zod_1.z.string().optional(),
538
542
  limit: zod_1.z
539
543
  .union([zod_1.z.literal(10), zod_1.z.literal(28), zod_1.z.literal(30), zod_1.z.literal(60), zod_1.z.literal(120)])
540
544
  .optional()