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
@@ -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',
@@ -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(),
@@ -29,7 +29,7 @@ const Roblox_Catalog_Api_TimedOption = z.object({
29
29
  });
30
30
  const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
31
31
  id: z.number().int(),
32
- itemType: z.enum(["Asset", "Bundle"]),
32
+ itemType: z.enum(['Asset', 'Bundle']),
33
33
  assetType: z.union([
34
34
  z.literal(1),
35
35
  z.literal(2),
@@ -123,9 +123,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
123
123
  description: z.string(),
124
124
  productId: z.number().int(),
125
125
  bundledItems: z.array(Roblox_Catalog_Api_BundleItemDetailModel),
126
- itemStatus: z.array(
127
- z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])
128
- ),
126
+ itemStatus: z.array(z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])),
129
127
  itemRestrictions: z.array(
130
128
  z.union([
131
129
  z.literal(1),
@@ -137,7 +135,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
137
135
  z.literal(7),
138
136
  z.literal(8),
139
137
  z.literal(9),
140
- ])
138
+ ]),
141
139
  ),
142
140
  creatorHasVerifiedBadge: z.boolean(),
143
141
  creatorType: z.string(),
@@ -153,14 +151,14 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
153
151
  collectibleItemId: z.string(),
154
152
  totalQuantity: z.number().int(),
155
153
  saleLocationType: z.enum([
156
- "NotApplicable",
157
- "ShopOnly",
158
- "MyExperiencesOnly",
159
- "ShopAndMyExperiences",
160
- "ExperiencesById",
161
- "ShopAndAllExperiences",
162
- "ExperiencesDevApiOnly",
163
- "ShopAndExperiencesById",
154
+ 'NotApplicable',
155
+ 'ShopOnly',
156
+ 'MyExperiencesOnly',
157
+ 'ShopAndMyExperiences',
158
+ 'ExperiencesById',
159
+ 'ShopAndAllExperiences',
160
+ 'ExperiencesDevApiOnly',
161
+ 'ShopAndExperiencesById',
164
162
  ]),
165
163
  hasResellers: z.boolean(),
166
164
  isOffSale: z.boolean(),
@@ -168,12 +166,11 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItem = z.object({
168
166
  supportsHeadShapes: z.boolean(),
169
167
  timedOptions: z.array(Roblox_Catalog_Api_TimedOption),
170
168
  });
171
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_ =
172
- z.object({
173
- previousPageCursor: z.string(),
174
- nextPageCursor: z.string(),
175
- data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItem),
176
- });
169
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_ = z.object({
170
+ previousPageCursor: z.string(),
171
+ nextPageCursor: z.string(),
172
+ data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItem),
173
+ });
177
174
  const Roblox_Catalog_Api_ElasticsearchDebugInfo = z.object({
178
175
  elasticsearchQuery: z.string(),
179
176
  isFromCache: z.boolean(),
@@ -202,7 +199,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
202
199
  itemCreatedUtc: z.string().datetime({ offset: true }),
203
200
  discountInformation: Roblox_Catalog_Api_DiscountInformation,
204
201
  id: z.number().int(),
205
- itemType: z.enum(["Asset", "Bundle"]),
202
+ itemType: z.enum(['Asset', 'Bundle']),
206
203
  assetType: z.union([
207
204
  z.literal(1),
208
205
  z.literal(2),
@@ -295,9 +292,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
295
292
  name: z.string(),
296
293
  description: z.string(),
297
294
  productId: z.number().int(),
298
- itemStatus: z.array(
299
- z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])
300
- ),
295
+ itemStatus: z.array(z.union([z.literal(1), z.literal(2), z.literal(7), z.literal(8)])),
301
296
  itemRestrictions: z.array(
302
297
  z.union([
303
298
  z.literal(1),
@@ -309,7 +304,7 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
309
304
  z.literal(7),
310
305
  z.literal(8),
311
306
  z.literal(9),
312
- ])
307
+ ]),
313
308
  ),
314
309
  creatorHasVerifiedBadge: z.boolean(),
315
310
  creatorType: z.string(),
@@ -325,14 +320,14 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
325
320
  collectibleItemId: z.string(),
326
321
  totalQuantity: z.number().int(),
327
322
  saleLocationType: z.enum([
328
- "NotApplicable",
329
- "ShopOnly",
330
- "MyExperiencesOnly",
331
- "ShopAndMyExperiences",
332
- "ExperiencesById",
333
- "ShopAndAllExperiences",
334
- "ExperiencesDevApiOnly",
335
- "ShopAndExperiencesById",
323
+ 'NotApplicable',
324
+ 'ShopOnly',
325
+ 'MyExperiencesOnly',
326
+ 'ShopAndMyExperiences',
327
+ 'ExperiencesById',
328
+ 'ShopAndAllExperiences',
329
+ 'ExperiencesDevApiOnly',
330
+ 'ShopAndExperiencesById',
336
331
  ]),
337
332
  hasResellers: z.boolean(),
338
333
  isOffSale: z.boolean(),
@@ -340,14 +335,13 @@ const Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2 = z.object({
340
335
  supportsHeadShapes: z.boolean(),
341
336
  timedOptions: z.array(Roblox_Catalog_Api_TimedOption),
342
337
  });
343
- const Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_ =
344
- z.object({
345
- keyword: z.string(),
346
- elasticsearchDebugInfo: Roblox_Catalog_Api_ElasticsearchDebugInfo,
347
- previousPageCursor: z.string(),
348
- nextPageCursor: z.string(),
349
- data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2),
350
- });
338
+ const Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_ = z.object({
339
+ keyword: z.string(),
340
+ elasticsearchDebugInfo: Roblox_Catalog_Api_ElasticsearchDebugInfo,
341
+ previousPageCursor: z.string(),
342
+ nextPageCursor: z.string(),
343
+ data: z.array(Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2),
344
+ });
351
345
 
352
346
  /**
353
347
  * @api GET https://catalog.roblox.com/v2/assets/:assetId/bundles
@@ -360,46 +354,45 @@ const Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSea
360
354
  * @param sortOrder The order the results are sorted in.
361
355
  */
362
356
  export const getAssetsAssetidBundles = endpoint({
363
- method: "GET",
364
- path: "/v2/assets/:assetId/bundles",
365
- baseUrl: "https://catalog.roblox.com",
366
- requestFormat: "json",
357
+ method: 'GET',
358
+ path: '/v2/assets/:assetId/bundles',
359
+ baseUrl: 'https://catalog.roblox.com',
360
+ requestFormat: 'json',
367
361
  serializationMethod: {
368
362
  assetId: {
369
- style: "simple",
363
+ style: 'simple',
370
364
  },
371
- "Roblox-Place-Id": {
372
- style: "simple",
365
+ 'Roblox-Place-Id': {
366
+ style: 'simple',
373
367
  },
374
- "Roblox-Game-Id": {
375
- style: "simple",
368
+ 'Roblox-Game-Id': {
369
+ style: 'simple',
376
370
  },
377
371
  limit: {
378
- style: "form",
372
+ style: 'form',
379
373
  explode: true,
380
374
  },
381
375
  cursor: {
382
- style: "form",
376
+ style: 'form',
383
377
  explode: true,
384
378
  },
385
379
  sortOrder: {
386
- style: "form",
380
+ style: 'form',
387
381
  explode: true,
388
382
  },
389
383
  },
390
384
  parameters: {
391
385
  assetId: z.number().int(),
392
- "Roblox-Place-Id": z.number().int(),
393
- "Roblox-Game-Id": z.string(),
386
+ 'Roblox-Place-Id': z.number().int(),
387
+ 'Roblox-Game-Id': z.string(),
394
388
  limit: z
395
389
  .union([z.literal(10), z.literal(25), z.literal(50), z.literal(100)])
396
390
  .optional()
397
391
  .default(10),
398
392
  cursor: z.string().optional(),
399
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Asc"),
393
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
400
394
  },
401
- response:
402
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_,
395
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItem_,
403
396
  errors: [
404
397
  {
405
398
  status: 400,
@@ -437,149 +430,126 @@ export const getAssetsAssetidBundles = endpoint({
437
430
  * @description This endpoint is for search by item type ids.
438
431
  */
439
432
  export const getSearchItemsDetails = endpoint({
440
- method: "GET",
441
- path: "/v2/search/items/details",
442
- baseUrl: "https://catalog.roblox.com",
443
- requestFormat: "json",
433
+ method: 'GET',
434
+ path: '/v2/search/items/details',
435
+ baseUrl: 'https://catalog.roblox.com',
436
+ requestFormat: 'json',
444
437
  serializationMethod: {
445
438
  Taxonomy: {
446
- style: "form",
439
+ style: 'form',
447
440
  explode: true,
448
441
  },
449
442
  AssetTypeIds: {
450
- style: "form",
443
+ style: 'form',
451
444
  explode: true,
452
445
  },
453
446
  BundleTypeIds: {
454
- style: "form",
447
+ style: 'form',
455
448
  explode: true,
456
449
  },
457
450
  CategoryFilter: {
458
- style: "form",
451
+ style: 'form',
459
452
  explode: true,
460
453
  },
461
454
  SortAggregation: {
462
- style: "form",
455
+ style: 'form',
463
456
  explode: true,
464
457
  },
465
458
  SortType: {
466
- style: "form",
459
+ style: 'form',
467
460
  explode: true,
468
461
  },
469
462
  CreatorType: {
470
- style: "form",
463
+ style: 'form',
471
464
  explode: true,
472
465
  },
473
466
  CreatorTargetId: {
474
- style: "form",
467
+ style: 'form',
475
468
  explode: true,
476
469
  },
477
470
  CreatorName: {
478
- style: "form",
471
+ style: 'form',
479
472
  explode: true,
480
473
  },
481
474
  MaxPrice: {
482
- style: "form",
475
+ style: 'form',
483
476
  explode: true,
484
477
  },
485
478
  MinPrice: {
486
- style: "form",
479
+ style: 'form',
487
480
  explode: true,
488
481
  },
489
482
  Keyword: {
490
- style: "form",
483
+ style: 'form',
491
484
  explode: true,
492
485
  },
493
486
  IncludeNotForSale: {
494
- style: "form",
487
+ style: 'form',
495
488
  explode: true,
496
489
  },
497
490
  TriggeredByTopicDiscovery: {
498
- style: "form",
491
+ style: 'form',
499
492
  explode: true,
500
493
  },
501
494
  SalesTypeFilter: {
502
- style: "form",
495
+ style: 'form',
503
496
  explode: true,
504
497
  },
505
498
  Topics: {
506
- style: "form",
499
+ style: 'form',
507
500
  explode: true,
508
501
  },
509
502
  limit: {
510
- style: "form",
503
+ style: 'form',
511
504
  explode: true,
512
505
  },
513
506
  cursor: {
514
- style: "form",
507
+ style: 'form',
515
508
  explode: true,
516
509
  },
517
510
  sortOrder: {
518
- style: "form",
511
+ style: 'form',
519
512
  explode: true,
520
513
  },
521
514
  },
522
515
  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(),
568
- limit: z
516
+ Taxonomy: z.string().optional(),
517
+ AssetTypeIds: z.array(z.number()).optional(),
518
+ BundleTypeIds: z.array(z.number()).optional(),
519
+ CategoryFilter: z
569
520
  .union([
570
- z.literal(10),
571
- z.literal(28),
572
- z.literal(30),
573
- z.literal(60),
574
- z.literal(120),
521
+ z.literal(0),
522
+ z.literal(1),
523
+ z.literal(2),
524
+ z.literal(3),
525
+ z.literal(4),
526
+ z.literal(5),
527
+ z.literal(6),
528
+ z.literal(7),
575
529
  ])
530
+ .optional(),
531
+ SortAggregation: z
532
+ .union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5)])
533
+ .optional(),
534
+ SortType: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5)]).optional(),
535
+ CreatorType: z.union([z.literal(0), z.literal(1), z.literal(2)]).optional(),
536
+ CreatorTargetId: z.number().int().optional(),
537
+ CreatorName: z.string().optional(),
538
+ MaxPrice: z.number().int().optional(),
539
+ MinPrice: z.number().int().optional(),
540
+ Keyword: z.string().optional(),
541
+ IncludeNotForSale: z.boolean().optional(),
542
+ TriggeredByTopicDiscovery: z.boolean().optional(),
543
+ SalesTypeFilter: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)]).optional(),
544
+ Topics: z.string().optional(),
545
+ limit: z
546
+ .union([z.literal(10), z.literal(28), z.literal(30), z.literal(60), z.literal(120)])
576
547
  .optional()
577
548
  .default(10),
578
549
  cursor: z.string().optional(),
579
- sortOrder: z.literal("Desc").optional().default("Desc"),
550
+ sortOrder: z.literal('Desc').optional().default('Desc'),
580
551
  },
581
- response:
582
- Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_,
552
+ response: Roblox_Catalog_Api_CatalogSearchPageResponse_Roblox_Catalog_Api_CatalogSearchDetailedResponseItemV2_,
583
553
  errors: [
584
554
  {
585
555
  status: 400,
@@ -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()