@wix/auto_sdk_categories_categories 1.0.1 → 1.0.2

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 (21) hide show
  1. package/build/cjs/src/categories-v1-category-categories.types.d.ts +639 -145
  2. package/build/cjs/src/categories-v1-category-categories.types.js.map +1 -1
  3. package/build/cjs/src/categories-v1-category-categories.universal.d.ts +741 -160
  4. package/build/cjs/src/categories-v1-category-categories.universal.js +24 -0
  5. package/build/cjs/src/categories-v1-category-categories.universal.js.map +1 -1
  6. package/build/es/src/categories-v1-category-categories.types.d.ts +639 -145
  7. package/build/es/src/categories-v1-category-categories.types.js.map +1 -1
  8. package/build/es/src/categories-v1-category-categories.universal.d.ts +741 -160
  9. package/build/es/src/categories-v1-category-categories.universal.js +24 -0
  10. package/build/es/src/categories-v1-category-categories.universal.js.map +1 -1
  11. package/build/internal/cjs/src/categories-v1-category-categories.types.d.ts +639 -145
  12. package/build/internal/cjs/src/categories-v1-category-categories.types.js.map +1 -1
  13. package/build/internal/cjs/src/categories-v1-category-categories.universal.d.ts +741 -160
  14. package/build/internal/cjs/src/categories-v1-category-categories.universal.js +24 -0
  15. package/build/internal/cjs/src/categories-v1-category-categories.universal.js.map +1 -1
  16. package/build/internal/es/src/categories-v1-category-categories.types.d.ts +639 -145
  17. package/build/internal/es/src/categories-v1-category-categories.types.js.map +1 -1
  18. package/build/internal/es/src/categories-v1-category-categories.universal.d.ts +741 -160
  19. package/build/internal/es/src/categories-v1-category-categories.universal.js +24 -0
  20. package/build/internal/es/src/categories-v1-category-categories.universal.js.map +1 -1
  21. package/package.json +2 -2
@@ -1,5 +1,9 @@
1
1
  export interface Category {
2
- /** Category ID. */
2
+ /**
3
+ * Category ID.
4
+ * @format GUID
5
+ * @immutable
6
+ */
3
7
  id?: string | null;
4
8
  /**
5
9
  * Revision number, which increments by 1 each time the category is updated.
@@ -19,7 +23,11 @@ export interface Category {
19
23
  * @readonly
20
24
  */
21
25
  updatedDate?: Date | null;
22
- /** Category name. */
26
+ /**
27
+ * Category name.
28
+ * @minLength 1
29
+ * @maxLength 80
30
+ */
23
31
  name?: string | null;
24
32
  /**
25
33
  * Category image.
@@ -36,6 +44,8 @@ export interface Category {
36
44
  /**
37
45
  * Category description.
38
46
  * > **Note:** This field is returned only when you pass `fields: "DESCRIPTION"` in the request.
47
+ * @minLength 1
48
+ * @maxLength 600
39
49
  */
40
50
  description?: string | null;
41
51
  /**
@@ -44,6 +54,7 @@ export interface Category {
44
54
  * + If the parent category's visibility is set to `false`, all the children categories' visibility will also be set to `false`.
45
55
  * + Passing `true` will fail if the visibility of any parent categories is `false`.
46
56
  * + Default: `false`.
57
+ * @immutable
47
58
  */
48
59
  visible?: boolean | null;
49
60
  /**
@@ -53,12 +64,16 @@ export interface Category {
53
64
  * @readonly
54
65
  */
55
66
  breadcrumbsInfo?: BreadcrumbsInfo;
56
- /** Parent category reference data. */
67
+ /**
68
+ * Parent category reference data.
69
+ * @immutable
70
+ */
57
71
  parentCategory?: ParentCategory;
58
72
  /**
59
73
  * Category slug.
60
74
  *
61
75
  * If not provided, the slug is autogenerated based on the category name.
76
+ * @format URL_SLUG
62
77
  */
63
78
  slug?: string | null;
64
79
  /**
@@ -74,6 +89,8 @@ export interface Category {
74
89
  * ID of the app responsible for managing the items in this category.
75
90
  *
76
91
  * Pass your app ID to restrict updating and deleting items in this category to your app only.
92
+ * @format GUID
93
+ * @immutable
77
94
  */
78
95
  managingAppId?: string | null;
79
96
  /**
@@ -84,9 +101,15 @@ export interface Category {
84
101
  extendedFields?: ExtendedFields;
85
102
  }
86
103
  export interface Image {
87
- /** WixMedia image ID. */
104
+ /**
105
+ * WixMedia image ID.
106
+ * @maxLength 400
107
+ */
88
108
  id?: string;
89
- /** Image URL. */
109
+ /**
110
+ * Image URL.
111
+ * @format WEB_URL
112
+ */
90
113
  url?: string;
91
114
  /**
92
115
  * Original image height.
@@ -98,11 +121,15 @@ export interface Image {
98
121
  * @readonly
99
122
  */
100
123
  width?: number;
101
- /** Image alt text. */
124
+ /**
125
+ * Image alt text.
126
+ * @maxLength 200
127
+ */
102
128
  altText?: string | null;
103
129
  /**
104
130
  * Image filename.
105
131
  * @readonly
132
+ * @maxLength 200
106
133
  */
107
134
  filename?: string | null;
108
135
  }
@@ -110,15 +137,27 @@ export interface BreadcrumbsInfo {
110
137
  /**
111
138
  * List of breadcrumb data. The current category isn't included in the list.
112
139
  * @readonly
140
+ * @maxSize 5
113
141
  */
114
142
  breadcrumbs?: Breadcrumb[];
115
143
  }
116
144
  export interface Breadcrumb {
117
- /** Category ID. */
145
+ /**
146
+ * Category ID.
147
+ * @format GUID
148
+ */
118
149
  categoryId?: string;
119
- /** Category name. */
150
+ /**
151
+ * Category name.
152
+ * @minLength 1
153
+ * @maxLength 80
154
+ */
120
155
  categoryName?: string;
121
- /** Category slug. */
156
+ /**
157
+ * Category slug.
158
+ * @minLength 1
159
+ * @maxLength 100
160
+ */
122
161
  categorySlug?: string;
123
162
  }
124
163
  export interface ParentCategory {
@@ -126,6 +165,7 @@ export interface ParentCategory {
126
165
  * Parent category ID.
127
166
  *
128
167
  * Default: root category ID
168
+ * @format GUID
129
169
  */
130
170
  id?: string | null;
131
171
  /**
@@ -150,7 +190,10 @@ export interface Keyword {
150
190
  term?: string;
151
191
  /** Whether the keyword is the main focus keyword. */
152
192
  isMain?: boolean;
153
- /** The source that added the keyword terms to the SEO settings. */
193
+ /**
194
+ * The source that added the keyword terms to the SEO settings.
195
+ * @maxLength 1000
196
+ */
154
197
  origin?: string | null;
155
198
  }
156
199
  export interface Tag {
@@ -183,7 +226,10 @@ export interface Settings {
183
226
  * Default: `false` (Auto Redirect is enabled.)
184
227
  */
185
228
  preventAutoRedirect?: boolean;
186
- /** User-selected keyword terms for a specific page. */
229
+ /**
230
+ * User-selected keyword terms for a specific page.
231
+ * @maxSize 5
232
+ */
187
233
  keywords?: Keyword[];
188
234
  }
189
235
  export interface RichContent {
@@ -784,11 +830,20 @@ export interface GIFData {
784
830
  gifType?: GIFType;
785
831
  }
786
832
  export interface GIF {
787
- /** GIF format URL. */
833
+ /**
834
+ * GIF format URL.
835
+ * @format WEB_URL
836
+ */
788
837
  gif?: string | null;
789
- /** MP4 format URL. */
838
+ /**
839
+ * MP4 format URL.
840
+ * @format WEB_URL
841
+ */
790
842
  mp4?: string | null;
791
- /** Thumbnail URL. */
843
+ /**
844
+ * Thumbnail URL.
845
+ * @format WEB_URL
846
+ */
792
847
  still?: string | null;
793
848
  }
794
849
  export declare enum GIFType {
@@ -1016,13 +1071,22 @@ export declare enum BackgroundType {
1016
1071
  export interface Gradient {
1017
1072
  /** The gradient angle in degrees. */
1018
1073
  angle?: number | null;
1019
- /** The start color as a hexademical value. */
1074
+ /**
1075
+ * The start color as a hexademical value.
1076
+ * @format COLOR_HEX
1077
+ */
1020
1078
  startColor?: string | null;
1021
- /** The end color as a hexademical value. */
1079
+ /**
1080
+ * The end color as a hexademical value.
1081
+ * @format COLOR_HEX
1082
+ */
1022
1083
  lastColor?: string | null;
1023
1084
  }
1024
1085
  export interface Background extends BackgroundBackgroundOneOf {
1025
- /** The background color as a hexademical value. */
1086
+ /**
1087
+ * The background color as a hexademical value.
1088
+ * @format COLOR_HEX
1089
+ */
1026
1090
  color?: string | null;
1027
1091
  /** An image to use for the background. */
1028
1092
  image?: Media;
@@ -1033,7 +1097,10 @@ export interface Background extends BackgroundBackgroundOneOf {
1033
1097
  }
1034
1098
  /** @oneof */
1035
1099
  export interface BackgroundBackgroundOneOf {
1036
- /** The background color as a hexademical value. */
1100
+ /**
1101
+ * The background color as a hexademical value.
1102
+ * @format COLOR_HEX
1103
+ */
1037
1104
  color?: string | null;
1038
1105
  /** An image to use for the background. */
1039
1106
  image?: Media;
@@ -1345,17 +1412,32 @@ export declare enum VerticalAlignment {
1345
1412
  export interface CellStyle {
1346
1413
  /** Vertical alignment for the cell's text. */
1347
1414
  verticalAlignment?: VerticalAlignment;
1348
- /** Cell background color as a hexadecimal value. */
1415
+ /**
1416
+ * Cell background color as a hexadecimal value.
1417
+ * @format COLOR_HEX
1418
+ */
1349
1419
  backgroundColor?: string | null;
1350
1420
  }
1351
1421
  export interface BorderColors {
1352
- /** Left border color as a hexadecimal value. */
1422
+ /**
1423
+ * Left border color as a hexadecimal value.
1424
+ * @format COLOR_HEX
1425
+ */
1353
1426
  left?: string | null;
1354
- /** Right border color as a hexadecimal value. */
1427
+ /**
1428
+ * Right border color as a hexadecimal value.
1429
+ * @format COLOR_HEX
1430
+ */
1355
1431
  right?: string | null;
1356
- /** Top border color as a hexadecimal value. */
1432
+ /**
1433
+ * Top border color as a hexadecimal value.
1434
+ * @format COLOR_HEX
1435
+ */
1357
1436
  top?: string | null;
1358
- /** Bottom border color as a hexadecimal value. */
1437
+ /**
1438
+ * Bottom border color as a hexadecimal value.
1439
+ * @format COLOR_HEX
1440
+ */
1359
1441
  bottom?: string | null;
1360
1442
  }
1361
1443
  /**
@@ -1468,9 +1550,15 @@ export interface TreeReference {
1468
1550
  * Namespace of the app that manages the tree.
1469
1551
  *
1470
1552
  * For example, `"@wix/stores"`, `"@bookings/bookingslist"`, `"@achievements/quizzes"`.
1553
+ * @minLength 4
1554
+ * @maxLength 150
1471
1555
  */
1472
1556
  appNamespace?: string;
1473
- /** Tree key. You must pass this when a single app manages more than one tree. */
1557
+ /**
1558
+ * Tree key. You must pass this when a single app manages more than one tree.
1559
+ * @minLength 1
1560
+ * @maxLength 44
1561
+ */
1474
1562
  treeKey?: string | null;
1475
1563
  }
1476
1564
  export interface ExtendedFields {
@@ -1485,9 +1573,15 @@ export interface ExtendedFields {
1485
1573
  namespaces?: Record<string, Record<string, any>>;
1486
1574
  }
1487
1575
  export interface InvalidateCache extends InvalidateCacheGetByOneOf {
1488
- /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
1576
+ /**
1577
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
1578
+ * @format GUID
1579
+ */
1489
1580
  metaSiteId?: string;
1490
- /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
1581
+ /**
1582
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
1583
+ * @format GUID
1584
+ */
1491
1585
  siteId?: string;
1492
1586
  /** Invalidate by App */
1493
1587
  app?: App;
@@ -1497,7 +1591,10 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
1497
1591
  uri?: URI;
1498
1592
  /** Invalidate by file (for media files such as PDFs) */
1499
1593
  file?: File;
1500
- /** tell us why you're invalidating the cache. You don't need to add your app name */
1594
+ /**
1595
+ * tell us why you're invalidating the cache. You don't need to add your app name
1596
+ * @maxLength 256
1597
+ */
1501
1598
  reason?: string | null;
1502
1599
  /** Is local DS */
1503
1600
  localDc?: boolean;
@@ -1505,9 +1602,15 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
1505
1602
  }
1506
1603
  /** @oneof */
1507
1604
  export interface InvalidateCacheGetByOneOf {
1508
- /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
1605
+ /**
1606
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
1607
+ * @format GUID
1608
+ */
1509
1609
  metaSiteId?: string;
1510
- /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
1610
+ /**
1611
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
1612
+ * @format GUID
1613
+ */
1511
1614
  siteId?: string;
1512
1615
  /** Invalidate by App */
1513
1616
  app?: App;
@@ -1519,31 +1622,59 @@ export interface InvalidateCacheGetByOneOf {
1519
1622
  file?: File;
1520
1623
  }
1521
1624
  export interface App {
1522
- /** The AppDefId */
1625
+ /**
1626
+ * The AppDefId
1627
+ * @minLength 1
1628
+ */
1523
1629
  appDefId?: string;
1524
- /** The instance Id */
1630
+ /**
1631
+ * The instance Id
1632
+ * @format GUID
1633
+ */
1525
1634
  instanceId?: string;
1526
1635
  }
1527
1636
  export interface Page {
1528
- /** the msid the page is on */
1637
+ /**
1638
+ * the msid the page is on
1639
+ * @format GUID
1640
+ */
1529
1641
  metaSiteId?: string;
1530
- /** Invalidate by Page ID */
1642
+ /**
1643
+ * Invalidate by Page ID
1644
+ * @minLength 1
1645
+ */
1531
1646
  pageId?: string;
1532
1647
  }
1533
1648
  export interface URI {
1534
- /** the msid the URI is on */
1649
+ /**
1650
+ * the msid the URI is on
1651
+ * @format GUID
1652
+ */
1535
1653
  metaSiteId?: string;
1536
- /** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
1654
+ /**
1655
+ * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
1656
+ * @minLength 1
1657
+ */
1537
1658
  uriPath?: string;
1538
1659
  }
1539
1660
  export interface File {
1540
- /** the msid the file is related to */
1661
+ /**
1662
+ * the msid the file is related to
1663
+ * @format GUID
1664
+ */
1541
1665
  metaSiteId?: string;
1542
- /** Invalidate by filename (for media files such as PDFs) */
1666
+ /**
1667
+ * Invalidate by filename (for media files such as PDFs)
1668
+ * @minLength 1
1669
+ * @maxLength 256
1670
+ */
1543
1671
  fileName?: string;
1544
1672
  }
1545
1673
  export interface CategoryMoved {
1546
- /** Category ID. */
1674
+ /**
1675
+ * Category ID.
1676
+ * @format GUID
1677
+ */
1547
1678
  categoryId?: string;
1548
1679
  /** Parent category details. */
1549
1680
  parentCategory?: ParentCategory;
@@ -1551,7 +1682,10 @@ export interface CategoryMoved {
1551
1682
  treeReference?: TreeReference;
1552
1683
  }
1553
1684
  export interface ItemAddedToCategory {
1554
- /** Category ID. */
1685
+ /**
1686
+ * Category ID.
1687
+ * @format GUID
1688
+ */
1555
1689
  categoryId?: string;
1556
1690
  /** Details about the added item. */
1557
1691
  addedItem?: ItemReference;
@@ -1563,6 +1697,8 @@ export interface ItemReference {
1563
1697
  * ID of the item within the catalog it belongs to.
1564
1698
  *
1565
1699
  * For example, `product.id` for Wix Stores or `event.id` for Wix Events.
1700
+ * @minLength 1
1701
+ * @maxLength 36
1566
1702
  */
1567
1703
  catalogItemId?: string;
1568
1704
  /**
@@ -1574,19 +1710,30 @@ export interface ItemReference {
1574
1710
  * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
1575
1711
  * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
1576
1712
  * + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
1713
+ * @minLength 1
1714
+ * @maxLength 36
1577
1715
  */
1578
1716
  appId?: string;
1579
1717
  }
1580
1718
  export interface ItemsAddedToCategory {
1581
- /** Category ID. */
1719
+ /**
1720
+ * Category ID.
1721
+ * @format GUID
1722
+ */
1582
1723
  categoryId?: string;
1583
- /** List of added items. */
1724
+ /**
1725
+ * List of added items.
1726
+ * @maxSize 100
1727
+ */
1584
1728
  addedItems?: ItemReference[];
1585
1729
  /** Category tree reference details. */
1586
1730
  treeReference?: TreeReference;
1587
1731
  }
1588
1732
  export interface ItemRemovedFromCategory {
1589
- /** Category ID. */
1733
+ /**
1734
+ * Category ID.
1735
+ * @format GUID
1736
+ */
1590
1737
  categoryId?: string;
1591
1738
  /** Details about the removed item. */
1592
1739
  removedItem?: ItemReference;
@@ -1594,15 +1741,24 @@ export interface ItemRemovedFromCategory {
1594
1741
  treeReference?: TreeReference;
1595
1742
  }
1596
1743
  export interface ItemsRemovedFromCategory {
1597
- /** Category ID. */
1744
+ /**
1745
+ * Category ID.
1746
+ * @format GUID
1747
+ */
1598
1748
  categoryId?: string;
1599
- /** List of removed items. */
1749
+ /**
1750
+ * List of removed items.
1751
+ * @maxSize 100
1752
+ */
1600
1753
  removedItems?: ItemReference[];
1601
1754
  /** Category tree reference details. */
1602
1755
  treeReference?: TreeReference;
1603
1756
  }
1604
1757
  export interface ItemsArrangedInCategory {
1605
- /** Category ID. */
1758
+ /**
1759
+ * Category ID.
1760
+ * @format GUID
1761
+ */
1606
1762
  categoryId?: string;
1607
1763
  /** Category tree reference details. */
1608
1764
  treeReference?: TreeReference;
@@ -1612,7 +1768,10 @@ export interface CreateCategoryRequest {
1612
1768
  category: Category;
1613
1769
  /** Category tree reference details. */
1614
1770
  treeReference: TreeReference;
1615
- /** Fields to include in the response. */
1771
+ /**
1772
+ * Fields to include in the response.
1773
+ * @maxSize 100
1774
+ */
1616
1775
  fields?: SingleEntityOpsRequestedFields[];
1617
1776
  }
1618
1777
  export declare enum SingleEntityOpsRequestedFields {
@@ -1627,11 +1786,17 @@ export interface CreateCategoryResponse {
1627
1786
  category?: Category;
1628
1787
  }
1629
1788
  export interface GetCategoryRequest {
1630
- /** Category ID. */
1789
+ /**
1790
+ * Category ID.
1791
+ * @format GUID
1792
+ */
1631
1793
  categoryId: string;
1632
1794
  /** Category tree reference details. */
1633
1795
  treeReference: TreeReference;
1634
- /** Fields to include in the response. */
1796
+ /**
1797
+ * Fields to include in the response.
1798
+ * @maxSize 100
1799
+ */
1635
1800
  fields?: SingleEntityOpsRequestedFields[];
1636
1801
  }
1637
1802
  export interface GetCategoryResponse {
@@ -1643,7 +1808,10 @@ export interface UpdateCategoryRequest {
1643
1808
  category: Category;
1644
1809
  /** Category tree reference details. */
1645
1810
  treeReference: TreeReference;
1646
- /** Fields to include in the response. */
1811
+ /**
1812
+ * Fields to include in the response.
1813
+ * @maxSize 100
1814
+ */
1647
1815
  fields?: SingleEntityOpsRequestedFields[];
1648
1816
  }
1649
1817
  export interface UpdateCategoryResponse {
@@ -1651,7 +1819,10 @@ export interface UpdateCategoryResponse {
1651
1819
  category?: Category;
1652
1820
  }
1653
1821
  export interface DeleteCategoryRequest {
1654
- /** Category ID. */
1822
+ /**
1823
+ * Category ID.
1824
+ * @format GUID
1825
+ */
1655
1826
  categoryId: string;
1656
1827
  /** Category tree reference details. */
1657
1828
  treeReference: TreeReference;
@@ -1669,7 +1840,10 @@ export interface QueryCategoriesRequest {
1669
1840
  * Default: `false` (only visible categories are returned)
1670
1841
  */
1671
1842
  returnNonVisibleCategories?: boolean;
1672
- /** Fields to include in the response. */
1843
+ /**
1844
+ * Fields to include in the response.
1845
+ * @maxSize 100
1846
+ */
1673
1847
  fields?: RequestedFields[];
1674
1848
  }
1675
1849
  export interface CursorQuery extends CursorQueryPagingMethodOneOf {
@@ -1687,6 +1861,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
1687
1861
  /**
1688
1862
  * Sort object in the following format:
1689
1863
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
1864
+ * @maxSize 5
1690
1865
  */
1691
1866
  sort?: Sorting[];
1692
1867
  }
@@ -1696,7 +1871,10 @@ export interface CursorQueryPagingMethodOneOf {
1696
1871
  cursorPaging?: CursorPaging;
1697
1872
  }
1698
1873
  export interface Sorting {
1699
- /** Name of the field to sort by. */
1874
+ /**
1875
+ * Name of the field to sort by.
1876
+ * @maxLength 512
1877
+ */
1700
1878
  fieldName?: string;
1701
1879
  /** Sort order. */
1702
1880
  order?: SortOrder;
@@ -1708,13 +1886,17 @@ export declare enum SortOrder {
1708
1886
  DESC = "DESC"
1709
1887
  }
1710
1888
  export interface CursorPaging {
1711
- /** Maximum number of items to return in the results. */
1889
+ /**
1890
+ * Maximum number of items to return in the results.
1891
+ * @max 1000
1892
+ */
1712
1893
  limit?: number | null;
1713
1894
  /**
1714
1895
  * Pointer to the next or previous page in the list of results.
1715
1896
  *
1716
1897
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
1717
1898
  * Not relevant for the first request.
1899
+ * @maxLength 16000
1718
1900
  */
1719
1901
  cursor?: string | null;
1720
1902
  }
@@ -1724,7 +1906,10 @@ export declare enum RequestedFields {
1724
1906
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO"
1725
1907
  }
1726
1908
  export interface QueryCategoriesResponse {
1727
- /** List of categories. */
1909
+ /**
1910
+ * List of categories.
1911
+ * @maxSize 1000
1912
+ */
1728
1913
  categories?: Category[];
1729
1914
  /** Paging metadata. */
1730
1915
  pagingMetadata?: CursorPagingMetadata;
@@ -1743,13 +1928,24 @@ export interface CursorPagingMetadata {
1743
1928
  hasNext?: boolean | null;
1744
1929
  }
1745
1930
  export interface Cursors {
1746
- /** Cursor string pointing to the next page in the list of results. */
1931
+ /**
1932
+ * Cursor string pointing to the next page in the list of results.
1933
+ * @maxLength 16000
1934
+ */
1747
1935
  next?: string | null;
1748
- /** Cursor pointing to the previous page in the list of results. */
1936
+ /**
1937
+ * Cursor pointing to the previous page in the list of results.
1938
+ * @maxLength 16000
1939
+ */
1749
1940
  prev?: string | null;
1750
1941
  }
1751
1942
  export interface ListCompactCategoriesByIdsRequest {
1752
- /** List of category ids. */
1943
+ /**
1944
+ * List of category ids.
1945
+ * @format GUID
1946
+ * @minSize 1
1947
+ * @maxSize 1000
1948
+ */
1753
1949
  categoryIds?: string[];
1754
1950
  /** A reference to the tree that contains the categories. */
1755
1951
  treeReference?: TreeReference;
@@ -1759,9 +1955,16 @@ export interface ListCompactCategoriesByIdsResponse {
1759
1955
  categories?: CompactCategory[];
1760
1956
  }
1761
1957
  export interface CompactCategory {
1762
- /** Category ID. */
1958
+ /**
1959
+ * Category ID.
1960
+ * @format GUID
1961
+ */
1763
1962
  id?: string | null;
1764
- /** Category name. */
1963
+ /**
1964
+ * Category name.
1965
+ * @minLength 1
1966
+ * @maxLength 80
1967
+ */
1765
1968
  name?: string | null;
1766
1969
  }
1767
1970
  export interface SearchCategoriesRequest {
@@ -1778,7 +1981,10 @@ export interface SearchCategoriesRequest {
1778
1981
  * Default: `false` - only visible categories are returned in the response
1779
1982
  */
1780
1983
  returnNonVisibleCategories?: boolean;
1781
- /** Fields to include in the response. */
1984
+ /**
1985
+ * Fields to include in the response.
1986
+ * @maxSize 100
1987
+ */
1782
1988
  fields?: RequestedFields[];
1783
1989
  }
1784
1990
  export interface CursorSearch extends CursorSearchPagingMethodOneOf {
@@ -1789,9 +1995,15 @@ export interface CursorSearch extends CursorSearchPagingMethodOneOf {
1789
1995
  cursorPaging?: CursorPaging;
1790
1996
  /** A filter object. Learn more about [API query language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language). */
1791
1997
  filter?: Record<string, any> | null;
1792
- /** Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}] */
1998
+ /**
1999
+ * Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
2000
+ * @maxSize 10
2001
+ */
1793
2002
  sort?: Sorting[];
1794
- /** Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition. */
2003
+ /**
2004
+ * Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
2005
+ * @maxSize 10
2006
+ */
1795
2007
  aggregations?: Aggregation[];
1796
2008
  /** Free text to match in searchable fields */
1797
2009
  search?: SearchDetails;
@@ -1803,6 +2015,7 @@ export interface CursorSearch extends CursorSearchPagingMethodOneOf {
1803
2015
  * Affects all filters and aggregations returned values.
1804
2016
  * You may override this behavior in a specific filter by providing
1805
2017
  * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
2018
+ * @maxLength 50
1806
2019
  */
1807
2020
  timeZone?: string | null;
1808
2021
  }
@@ -1825,11 +2038,17 @@ export interface Aggregation extends AggregationKindOneOf {
1825
2038
  dateHistogram?: DateHistogramAggregation;
1826
2039
  /** Nested aggregation */
1827
2040
  nested?: NestedAggregation;
1828
- /** User-defined name of aggregation, should be unique, will appear in aggregation results */
2041
+ /**
2042
+ * User-defined name of aggregation, should be unique, will appear in aggregation results
2043
+ * @maxLength 100
2044
+ */
1829
2045
  name?: string | null;
1830
2046
  /** Type of aggregation, client must provide matching aggregation field below */
1831
2047
  type?: AggregationType;
1832
- /** Field to aggregate by, use dot notation to specify json path */
2048
+ /**
2049
+ * Field to aggregate by, use dot notation to specify json path
2050
+ * @maxLength 200
2051
+ */
1833
2052
  fieldPath?: string;
1834
2053
  }
1835
2054
  /** @oneof */
@@ -1870,7 +2089,10 @@ export declare enum MissingValues {
1870
2089
  INCLUDE = "INCLUDE"
1871
2090
  }
1872
2091
  export interface IncludeMissingValuesOptions {
1873
- /** Can specify custom bucket name. Defaults are [string -> "N/A"], [int -> "0"], [bool -> "false"] ... */
2092
+ /**
2093
+ * Can specify custom bucket name. Defaults are [string -> "N/A"], [int -> "0"], [bool -> "false"] ...
2094
+ * @maxLength 20
2095
+ */
1874
2096
  addToBucket?: string;
1875
2097
  }
1876
2098
  export declare enum ScalarType {
@@ -1915,7 +2137,10 @@ export declare enum NestedAggregationType {
1915
2137
  DATE_HISTOGRAM = "DATE_HISTOGRAM"
1916
2138
  }
1917
2139
  export interface RangeAggregation {
1918
- /** List of range buckets, where during aggregation each entity will be placed in the first bucket where its value falls into based on provided range bounds */
2140
+ /**
2141
+ * List of range buckets, where during aggregation each entity will be placed in the first bucket where its value falls into based on provided range bounds
2142
+ * @maxSize 50
2143
+ */
1919
2144
  buckets?: RangeBucket[];
1920
2145
  }
1921
2146
  export interface ScalarAggregation {
@@ -1952,11 +2177,17 @@ export interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
1952
2177
  scalar?: ScalarAggregation;
1953
2178
  /** Date histogram aggregation */
1954
2179
  dateHistogram?: DateHistogramAggregation;
1955
- /** User-defined name of aggregation, should be unique, will appear in aggregation results */
2180
+ /**
2181
+ * User-defined name of aggregation, should be unique, will appear in aggregation results
2182
+ * @maxLength 100
2183
+ */
1956
2184
  name?: string | null;
1957
2185
  /** Type of aggregation client must provide matching aggregation field below */
1958
2186
  type?: NestedAggregationType;
1959
- /** Field to aggregate by, use dont notation to specify json path */
2187
+ /**
2188
+ * Field to aggregate by, use dont notation to specify json path
2189
+ * @maxLength 200
2190
+ */
1960
2191
  fieldPath?: string;
1961
2192
  }
1962
2193
  /** @oneof */
@@ -1985,18 +2216,27 @@ export declare enum AggregationType {
1985
2216
  }
1986
2217
  /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
1987
2218
  export interface NestedAggregation {
1988
- /** Flattened list of aggregations, where each next aggregation is nested within previous one */
2219
+ /**
2220
+ * Flattened list of aggregations, where each next aggregation is nested within previous one
2221
+ * @minSize 2
2222
+ * @maxSize 3
2223
+ */
1989
2224
  nestedAggregations?: NestedAggregationItem[];
1990
2225
  }
1991
2226
  export interface SearchDetails {
1992
2227
  /** Defines how separate search terms in `expression` are combined. */
1993
2228
  mode?: Mode;
1994
- /** Search term or expression. */
2229
+ /**
2230
+ * Search term or expression.
2231
+ * @maxLength 100
2232
+ */
1995
2233
  expression?: string | null;
1996
2234
  /**
1997
2235
  * Fields in which to search for the `expression`. Use dot notation to specify field path.
1998
2236
  *
1999
2237
  * When empty - all searchable fields are looked at.
2238
+ * @maxLength 200
2239
+ * @maxSize 20
2000
2240
  */
2001
2241
  fields?: string[];
2002
2242
  /** Whether to use fuzzy search - allowing typos and other minor errors in the search. */
@@ -2009,7 +2249,10 @@ export declare enum Mode {
2009
2249
  AND = "AND"
2010
2250
  }
2011
2251
  export interface SearchCategoriesResponse {
2012
- /** List of categories. */
2252
+ /**
2253
+ * List of categories.
2254
+ * @maxSize 1000
2255
+ */
2013
2256
  categories?: Category[];
2014
2257
  /** Paging metadata. */
2015
2258
  pagingMetadata?: CursorPagingMetadata;
@@ -2017,11 +2260,17 @@ export interface SearchCategoriesResponse {
2017
2260
  aggregationData?: AggregationData;
2018
2261
  }
2019
2262
  export interface AggregationData {
2020
- /** key = aggregation name (as derived from search request) */
2263
+ /**
2264
+ * key = aggregation name (as derived from search request)
2265
+ * @maxSize 10000
2266
+ */
2021
2267
  results?: AggregationResults[];
2022
2268
  }
2023
2269
  export interface ValueAggregationResult {
2024
- /** Value of the field */
2270
+ /**
2271
+ * Value of the field
2272
+ * @maxLength 100
2273
+ */
2025
2274
  value?: string;
2026
2275
  /** Count of entities with this value */
2027
2276
  count?: number;
@@ -2041,11 +2290,17 @@ export interface NestedAggregationResults extends NestedAggregationResultsResult
2041
2290
  ranges?: RangeResults;
2042
2291
  /** Scalar aggregation results */
2043
2292
  scalar?: AggregationResultsScalarResult;
2044
- /** User-defined name of aggregation, matches the one provided in request */
2293
+ /**
2294
+ * User-defined name of aggregation, matches the one provided in request
2295
+ * @maxLength 100
2296
+ */
2045
2297
  name?: string;
2046
2298
  /** Type of aggregation that matches result */
2047
2299
  type?: AggregationType;
2048
- /** Field to aggregate by, matches the one provided in request */
2300
+ /**
2301
+ * Field to aggregate by, matches the one provided in request
2302
+ * @maxLength 200
2303
+ */
2049
2304
  fieldPath?: string;
2050
2305
  }
2051
2306
  /** @oneof */
@@ -2058,11 +2313,17 @@ export interface NestedAggregationResultsResultOneOf {
2058
2313
  scalar?: AggregationResultsScalarResult;
2059
2314
  }
2060
2315
  export interface ValueResults {
2061
- /** List of value aggregations */
2316
+ /**
2317
+ * List of value aggregations
2318
+ * @maxSize 250
2319
+ */
2062
2320
  results?: ValueAggregationResult[];
2063
2321
  }
2064
2322
  export interface RangeResults {
2065
- /** List of ranges returned in same order as requested */
2323
+ /**
2324
+ * List of ranges returned in same order as requested
2325
+ * @maxSize 50
2326
+ */
2066
2327
  results?: RangeAggregationResult[];
2067
2328
  }
2068
2329
  export interface AggregationResultsScalarResult {
@@ -2072,13 +2333,19 @@ export interface AggregationResultsScalarResult {
2072
2333
  value?: number;
2073
2334
  }
2074
2335
  export interface NestedValueAggregationResult {
2075
- /** Value of the field */
2336
+ /**
2337
+ * Value of the field
2338
+ * @maxLength 1000
2339
+ */
2076
2340
  value?: string;
2077
2341
  /** Nested aggregations */
2078
2342
  nestedResults?: NestedAggregationResults;
2079
2343
  }
2080
2344
  export interface ValueResult {
2081
- /** Value of the field */
2345
+ /**
2346
+ * Value of the field
2347
+ * @maxLength 1000
2348
+ */
2082
2349
  value?: string;
2083
2350
  /** Count of entities with this value */
2084
2351
  count?: number | null;
@@ -2121,17 +2388,26 @@ export interface Results {
2121
2388
  results?: Record<string, NestedResultValue>;
2122
2389
  }
2123
2390
  export interface DateHistogramResult {
2124
- /** Date in ISO 8601 format */
2391
+ /**
2392
+ * Date in ISO 8601 format
2393
+ * @maxLength 100
2394
+ */
2125
2395
  value?: string;
2126
2396
  /** Count of documents in the bucket */
2127
2397
  count?: number;
2128
2398
  }
2129
2399
  export interface GroupByValueResults {
2130
- /** List of value aggregations */
2400
+ /**
2401
+ * List of value aggregations
2402
+ * @maxSize 1000
2403
+ */
2131
2404
  results?: NestedValueAggregationResult[];
2132
2405
  }
2133
2406
  export interface DateHistogramResults {
2134
- /** List of date histogram aggregations */
2407
+ /**
2408
+ * List of date histogram aggregations
2409
+ * @maxSize 200
2410
+ */
2135
2411
  results?: DateHistogramResult[];
2136
2412
  }
2137
2413
  /**
@@ -2139,7 +2415,10 @@ export interface DateHistogramResults {
2139
2415
  * aggregations in resulting array are keyed by requested aggregation `name`.
2140
2416
  */
2141
2417
  export interface NestedResults {
2142
- /** List of nested aggregations */
2418
+ /**
2419
+ * List of nested aggregations
2420
+ * @maxSize 1000
2421
+ */
2143
2422
  results?: Results[];
2144
2423
  }
2145
2424
  export interface AggregationResults extends AggregationResultsResultOneOf {
@@ -2155,11 +2434,17 @@ export interface AggregationResults extends AggregationResultsResultOneOf {
2155
2434
  dateHistogram?: DateHistogramResults;
2156
2435
  /** Nested aggregation results */
2157
2436
  nested?: NestedResults;
2158
- /** User-defined name of aggregation as derived from search request */
2437
+ /**
2438
+ * User-defined name of aggregation as derived from search request
2439
+ * @maxLength 100
2440
+ */
2159
2441
  name?: string;
2160
2442
  /** Type of aggregation that must match provided kind as derived from search request */
2161
2443
  type?: AggregationType;
2162
- /** Field to aggregate by as derived from search request */
2444
+ /**
2445
+ * Field to aggregate by as derived from search request
2446
+ * @maxLength 200
2447
+ */
2163
2448
  fieldPath?: string;
2164
2449
  }
2165
2450
  /** @oneof */
@@ -2184,7 +2469,10 @@ export interface DeprecatedSearchCategoriesWithOffsetRequest {
2184
2469
  treeReference?: TreeReference;
2185
2470
  /** Whether to return categories with `visible:false`. Default: false so only visible categories will be in response. */
2186
2471
  returnNonVisibleCategories?: boolean;
2187
- /** Fields to include in the response. */
2472
+ /**
2473
+ * Fields to include in the response.
2474
+ * @maxSize 100
2475
+ */
2188
2476
  fields?: RequestedFields[];
2189
2477
  }
2190
2478
  export interface OffsetSearch extends OffsetSearchPagingMethodOneOf {
@@ -2192,9 +2480,15 @@ export interface OffsetSearch extends OffsetSearchPagingMethodOneOf {
2192
2480
  paging?: Paging;
2193
2481
  /** A filter object. Learn more about [API query language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language). */
2194
2482
  filter?: Record<string, any> | null;
2195
- /** Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}] */
2483
+ /**
2484
+ * Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
2485
+ * @maxSize 10
2486
+ */
2196
2487
  sort?: Sorting[];
2197
- /** Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition. */
2488
+ /**
2489
+ * Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
2490
+ * @maxSize 10
2491
+ */
2198
2492
  aggregations?: Aggregation[];
2199
2493
  /** Free text to match in searchable fields */
2200
2494
  search?: SearchDetails;
@@ -2206,6 +2500,7 @@ export interface OffsetSearch extends OffsetSearchPagingMethodOneOf {
2206
2500
  * Affects all filters and aggregations returned values.
2207
2501
  * You may override this behavior in a specific filter by providing
2208
2502
  * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
2503
+ * @maxLength 50
2209
2504
  */
2210
2505
  timeZone?: string | null;
2211
2506
  }
@@ -2215,13 +2510,19 @@ export interface OffsetSearchPagingMethodOneOf {
2215
2510
  paging?: Paging;
2216
2511
  }
2217
2512
  export interface Paging {
2218
- /** Number of items to load. */
2513
+ /**
2514
+ * Number of items to load.
2515
+ * @max 1000
2516
+ */
2219
2517
  limit?: number | null;
2220
2518
  /** Number of items to skip in the current sort order. */
2221
2519
  offset?: number | null;
2222
2520
  }
2223
2521
  export interface DeprecatedSearchCategoriesWithOffsetResponse {
2224
- /** Categories which satisfy the provided query. */
2522
+ /**
2523
+ * Categories which satisfy the provided query.
2524
+ * @maxSize 1000
2525
+ */
2225
2526
  categories?: Category[];
2226
2527
  /** Paging metadata. */
2227
2528
  pagingMetadata?: PagingMetadata;
@@ -2261,7 +2562,10 @@ export interface CountCategoriesResponse {
2261
2562
  count?: number;
2262
2563
  }
2263
2564
  export interface MoveCategoryRequest {
2264
- /** ID of the category to move. */
2565
+ /**
2566
+ * ID of the category to move.
2567
+ * @format GUID
2568
+ */
2265
2569
  categoryId: string;
2266
2570
  /** Category tree reference details. */
2267
2571
  treeReference: TreeReference;
@@ -2269,6 +2573,7 @@ export interface MoveCategoryRequest {
2269
2573
  * Parent category ID.
2270
2574
  *
2271
2575
  * Default: root category ID
2576
+ * @format GUID
2272
2577
  */
2273
2578
  parentCategoryId?: string | null;
2274
2579
  /**
@@ -2279,7 +2584,10 @@ export interface MoveCategoryRequest {
2279
2584
  * + `AFTER`: Position the category after the category ID passed in `moveAfterCategoryId`.
2280
2585
  */
2281
2586
  position: Position;
2282
- /** Required when passing `position: AFTER`. */
2587
+ /**
2588
+ * Required when passing `position: AFTER`.
2589
+ * @format GUID
2590
+ */
2283
2591
  moveAfterCategoryId?: string | null;
2284
2592
  }
2285
2593
  export declare enum Position {
@@ -2289,13 +2597,24 @@ export declare enum Position {
2289
2597
  AFTER = "AFTER"
2290
2598
  }
2291
2599
  export interface MoveCategoryResponse {
2292
- /** Parent category ID. */
2600
+ /**
2601
+ * Parent category ID.
2602
+ * @format GUID
2603
+ */
2293
2604
  parentCategoryId?: string | null;
2294
- /** List of category IDs in the new order of arrangement. */
2605
+ /**
2606
+ * List of category IDs in the new order of arrangement.
2607
+ * @format GUID
2608
+ * @maxSize 100
2609
+ */
2295
2610
  categoriesAfterMove?: string[];
2296
2611
  }
2297
2612
  export interface BulkCreateCategoriesRequest {
2298
- /** List of categories to be created. */
2613
+ /**
2614
+ * List of categories to be created.
2615
+ * @minSize 1
2616
+ * @maxSize 100
2617
+ */
2299
2618
  categories?: Category[];
2300
2619
  /** Category tree reference details. */
2301
2620
  treeReference?: TreeReference;
@@ -2305,11 +2624,18 @@ export interface BulkCreateCategoriesRequest {
2305
2624
  * Default: `false`
2306
2625
  */
2307
2626
  returnEntity?: boolean;
2308
- /** Fields to include in the response. */
2627
+ /**
2628
+ * Fields to include in the response.
2629
+ * @maxSize 100
2630
+ */
2309
2631
  fields?: RequestedFields[];
2310
2632
  }
2311
2633
  export interface BulkCreateCategoriesResponse {
2312
- /** Categories created by bulk action. */
2634
+ /**
2635
+ * Categories created by bulk action.
2636
+ * @minSize 1
2637
+ * @maxSize 100
2638
+ */
2313
2639
  results?: BulkCategoriesResult[];
2314
2640
  /** Bulk action metadata. */
2315
2641
  bulkActionMetadata?: BulkActionMetadata;
@@ -2325,7 +2651,10 @@ export interface BulkCategoriesResult {
2325
2651
  category?: Category;
2326
2652
  }
2327
2653
  export interface ItemMetadata {
2328
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
2654
+ /**
2655
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
2656
+ * @format GUID
2657
+ */
2329
2658
  id?: string | null;
2330
2659
  /** Index of the item within the request array. Allows for correlation between request and response items. */
2331
2660
  originalIndex?: number;
@@ -2351,7 +2680,11 @@ export interface BulkActionMetadata {
2351
2680
  undetailedFailures?: number;
2352
2681
  }
2353
2682
  export interface BulkUpdateCategoriesRequest {
2354
- /** List of categories to update. */
2683
+ /**
2684
+ * List of categories to update.
2685
+ * @minSize 1
2686
+ * @maxSize 100
2687
+ */
2355
2688
  categories: MaskedCategory[];
2356
2689
  /** Category tree reference details. */
2357
2690
  treeReference: TreeReference;
@@ -2361,7 +2694,10 @@ export interface BulkUpdateCategoriesRequest {
2361
2694
  * Default: `false`
2362
2695
  */
2363
2696
  returnEntity?: boolean;
2364
- /** Fields to include in the response. */
2697
+ /**
2698
+ * Fields to include in the response.
2699
+ * @maxSize 100
2700
+ */
2365
2701
  fields?: RequestedFields[];
2366
2702
  }
2367
2703
  export interface MaskedCategory {
@@ -2369,13 +2705,20 @@ export interface MaskedCategory {
2369
2705
  category?: Category;
2370
2706
  }
2371
2707
  export interface BulkUpdateCategoriesResponse {
2372
- /** Categories updated by bulk action. */
2708
+ /**
2709
+ * Categories updated by bulk action.
2710
+ * @minSize 1
2711
+ * @maxSize 100
2712
+ */
2373
2713
  results?: BulkCategoriesResult[];
2374
2714
  /** Bulk action metadata. */
2375
2715
  bulkActionMetadata?: BulkActionMetadata;
2376
2716
  }
2377
2717
  export interface UpdateCategoryVisibilityRequest {
2378
- /** Category ID. */
2718
+ /**
2719
+ * Category ID.
2720
+ * @format GUID
2721
+ */
2379
2722
  categoryId: string;
2380
2723
  /**
2381
2724
  * Whether the category is visible to site visitors in dynamic pages.
@@ -2391,7 +2734,10 @@ export interface UpdateCategoryVisibilityRequest {
2391
2734
  * To prevent conflicting changes, the current revision must be passed on update.
2392
2735
  */
2393
2736
  revision: string | null;
2394
- /** Fields to include in the response. */
2737
+ /**
2738
+ * Fields to include in the response.
2739
+ * @maxSize 100
2740
+ */
2395
2741
  fields?: SingleEntityOpsRequestedFields[];
2396
2742
  }
2397
2743
  export interface UpdateCategoryVisibilityResponse {
@@ -2399,7 +2745,12 @@ export interface UpdateCategoryVisibilityResponse {
2399
2745
  category?: Category;
2400
2746
  }
2401
2747
  export interface BulkShowCategoriesRequest {
2402
- /** IDs of the categories to update. */
2748
+ /**
2749
+ * IDs of the categories to update.
2750
+ * @format GUID
2751
+ * @minSize 1
2752
+ * @maxSize 100
2753
+ */
2403
2754
  categoryIds: string[];
2404
2755
  /** Category tree reference details. */
2405
2756
  treeReference: TreeReference;
@@ -2409,11 +2760,18 @@ export interface BulkShowCategoriesRequest {
2409
2760
  * Default: `false`
2410
2761
  */
2411
2762
  returnEntity?: boolean;
2412
- /** Fields to include in the response. */
2763
+ /**
2764
+ * Fields to include in the response.
2765
+ * @maxSize 100
2766
+ */
2413
2767
  fields?: RequestedFields[];
2414
2768
  }
2415
2769
  export interface BulkShowCategoriesResponse {
2416
- /** Categories updated by bulk action. */
2770
+ /**
2771
+ * Categories updated by bulk action.
2772
+ * @minSize 1
2773
+ * @maxSize 100
2774
+ */
2417
2775
  results?: BulkCategoriesResult[];
2418
2776
  /** Bulk action metadata. */
2419
2777
  bulkActionMetadata?: BulkActionMetadata;
@@ -2438,15 +2796,25 @@ export interface BulkUpdateCategoryVisibilityByFilterResponse {
2438
2796
  * Job ID.
2439
2797
  *
2440
2798
  * Pass this ID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction) to retrieve job details and metadata..
2799
+ * @format GUID
2441
2800
  */
2442
2801
  jobId?: string;
2443
2802
  }
2444
2803
  export interface BulkDeleteCategoriesRequest {
2445
- /** IDs of categories to be deleted. */
2804
+ /**
2805
+ * IDs of categories to be deleted.
2806
+ * @format GUID
2807
+ * @minSize 1
2808
+ * @maxSize 100
2809
+ */
2446
2810
  categoryIds?: string[];
2447
2811
  }
2448
2812
  export interface BulkDeleteCategoriesResponse {
2449
- /** Categories deleted by bulk action. */
2813
+ /**
2814
+ * Categories deleted by bulk action.
2815
+ * @minSize 1
2816
+ * @maxSize 100
2817
+ */
2450
2818
  results?: BulkDeleteCategoriesResponseBulkCategoriesResult[];
2451
2819
  /** Bulk action metadata. */
2452
2820
  bulkActionMetadata?: BulkActionMetadata;
@@ -2473,19 +2841,31 @@ export interface BulkDeleteCategoriesByFilterResponse {
2473
2841
  * Job ID.
2474
2842
  *
2475
2843
  * Pass this ID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction) to retrieve job details and metadata..
2844
+ * @format GUID
2476
2845
  */
2477
2846
  jobId?: string;
2478
2847
  }
2479
2848
  export interface BulkAddItemsToCategoryRequest {
2480
- /** Category ID. */
2849
+ /**
2850
+ * Category ID.
2851
+ * @format GUID
2852
+ */
2481
2853
  categoryId: string;
2482
- /** List of items to add. */
2854
+ /**
2855
+ * List of items to add.
2856
+ * @minSize 1
2857
+ * @maxSize 1000
2858
+ */
2483
2859
  items: ItemReference[];
2484
2860
  /** Category tree reference details. */
2485
2861
  treeReference: TreeReference;
2486
2862
  }
2487
2863
  export interface BulkAddItemsToCategoryResponse {
2488
- /** List of items added to a category by bulk action. */
2864
+ /**
2865
+ * List of items added to a category by bulk action.
2866
+ * @minSize 1
2867
+ * @maxSize 100
2868
+ */
2489
2869
  results?: BulkItemsToCategoryResult[];
2490
2870
  /** Bulk action metadata. */
2491
2871
  bulkActionMetadata?: BulkActionMetadata;
@@ -2510,13 +2890,22 @@ export interface ItemReferenceMetadata {
2510
2890
  export interface BulkAddItemToCategoriesRequest {
2511
2891
  /** Item to add. */
2512
2892
  item: ItemReference;
2513
- /** IDs of categories to which to add the item. */
2893
+ /**
2894
+ * IDs of categories to which to add the item.
2895
+ * @format GUID
2896
+ * @minSize 1
2897
+ * @maxSize 100
2898
+ */
2514
2899
  categoryIds: string[];
2515
2900
  /** Category tree reference details. */
2516
2901
  treeReference: TreeReference;
2517
2902
  }
2518
2903
  export interface BulkAddItemToCategoriesResponse {
2519
- /** Items added by bulk action. */
2904
+ /**
2905
+ * Items added by bulk action.
2906
+ * @minSize 1
2907
+ * @maxSize 100
2908
+ */
2520
2909
  results?: BulkItemToCategoriesResult[];
2521
2910
  /** Bulk action metadata. */
2522
2911
  bulkActionMetadata?: BulkActionMetadata;
@@ -2526,15 +2915,26 @@ export interface BulkItemToCategoriesResult {
2526
2915
  itemMetadata?: ItemMetadata;
2527
2916
  }
2528
2917
  export interface BulkRemoveItemsFromCategoryRequest {
2529
- /** Category ID. */
2918
+ /**
2919
+ * Category ID.
2920
+ * @format GUID
2921
+ */
2530
2922
  categoryId: string;
2531
- /** List of items to remove. */
2923
+ /**
2924
+ * List of items to remove.
2925
+ * @minSize 1
2926
+ * @maxSize 100
2927
+ */
2532
2928
  items: ItemReference[];
2533
2929
  /** Category tree reference details. */
2534
2930
  treeReference: TreeReference;
2535
2931
  }
2536
2932
  export interface BulkRemoveItemsFromCategoryResponse {
2537
- /** Items removed by bulk action. */
2933
+ /**
2934
+ * Items removed by bulk action.
2935
+ * @minSize 1
2936
+ * @maxSize 100
2937
+ */
2538
2938
  results?: BulkItemsToCategoryResult[];
2539
2939
  /** Bulk action metadata. */
2540
2940
  bulkActionMetadata?: BulkActionMetadata;
@@ -2542,13 +2942,22 @@ export interface BulkRemoveItemsFromCategoryResponse {
2542
2942
  export interface BulkRemoveItemFromCategoriesRequest {
2543
2943
  /** Item to remove. */
2544
2944
  item: ItemReference;
2545
- /** IDs of categories from which to remove the item. */
2945
+ /**
2946
+ * IDs of categories from which to remove the item.
2947
+ * @format GUID
2948
+ * @minSize 1
2949
+ * @maxSize 100
2950
+ */
2546
2951
  categoryIds: string[];
2547
2952
  /** Category tree reference details. */
2548
2953
  treeReference: TreeReference;
2549
2954
  }
2550
2955
  export interface BulkRemoveItemFromCategoriesResponse {
2551
- /** Items removed by bulk action. */
2956
+ /**
2957
+ * Items removed by bulk action.
2958
+ * @minSize 1
2959
+ * @maxSize 100
2960
+ */
2552
2961
  results?: BulkItemToCategoriesResult[];
2553
2962
  /** Bulk action metadata. */
2554
2963
  bulkActionMetadata?: BulkActionMetadata;
@@ -2560,7 +2969,10 @@ export interface ListItemsInCategoryRequest extends ListItemsInCategoryRequestPa
2560
2969
  * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
2561
2970
  */
2562
2971
  cursorPaging?: CursorPaging;
2563
- /** Category ID. */
2972
+ /**
2973
+ * Category ID.
2974
+ * @format GUID
2975
+ */
2564
2976
  categoryId: string;
2565
2977
  /** Category tree reference details. */
2566
2978
  treeReference: TreeReference;
@@ -2587,7 +2999,10 @@ export interface ListItemsInCategoryRequestPagingMethodOneOf {
2587
2999
  cursorPaging?: CursorPaging;
2588
3000
  }
2589
3001
  export interface ListItemsInCategoryResponse {
2590
- /** List of items in the category. */
3002
+ /**
3003
+ * List of items in the category.
3004
+ * @maxSize 100
3005
+ */
2591
3006
  items?: ItemReference[];
2592
3007
  /** Paging metadata. */
2593
3008
  pagingMetadata?: PagingMetadataV2;
@@ -2609,37 +3024,65 @@ export interface ListCategoriesForItemRequest {
2609
3024
  treeReference: TreeReference;
2610
3025
  }
2611
3026
  export interface ListCategoriesForItemResponse {
2612
- /** List of IDs of categories that directly contain this item. */
3027
+ /**
3028
+ * List of IDs of categories that directly contain this item.
3029
+ * @format GUID
3030
+ * @maxSize 1000
3031
+ */
2613
3032
  directCategoryIds?: string[];
2614
- /** List of IDs of categories that directly contain this item, and their parent category IDs. */
3033
+ /**
3034
+ * List of IDs of categories that directly contain this item, and their parent category IDs.
3035
+ * @format GUID
3036
+ * @maxSize 1000
3037
+ */
2615
3038
  allCategoryIds?: string[];
2616
3039
  }
2617
3040
  export interface ListCategoriesForItemsRequest {
2618
- /** List of Item reference info. */
3041
+ /**
3042
+ * List of Item reference info.
3043
+ * @maxSize 100
3044
+ */
2619
3045
  items: ItemReference[];
2620
3046
  /** Category tree reference details. */
2621
3047
  treeReference: TreeReference;
2622
3048
  }
2623
3049
  export interface ListCategoriesForItemsResponse {
2624
- /** Map of item references to lists of direct category IDs and all category IDs, including parent categories and direct ones. */
3050
+ /**
3051
+ * Map of item references to lists of direct category IDs and all category IDs, including parent categories and direct ones.
3052
+ * @maxSize 100
3053
+ */
2625
3054
  categoriesForItems?: MapItemToCategories[];
2626
3055
  }
2627
3056
  export interface MapItemToCategories {
2628
3057
  /** Item reference info. */
2629
3058
  item?: ItemReference;
2630
- /** List of IDs of categories that directly contain this item. */
3059
+ /**
3060
+ * List of IDs of categories that directly contain this item.
3061
+ * @format GUID
3062
+ * @maxSize 1000
3063
+ */
2631
3064
  directCategoryIds?: string[];
2632
- /** List of IDs of categories that indirectly contain this item, including all ancestors of its direct categories in the hierarchy. */
3065
+ /**
3066
+ * List of IDs of categories that indirectly contain this item, including all ancestors of its direct categories in the hierarchy.
3067
+ * @format GUID
3068
+ * @maxSize 1000
3069
+ */
2633
3070
  indirectCategoryIds?: string[];
2634
3071
  }
2635
3072
  export interface ListTreesRequest {
2636
3073
  }
2637
3074
  export interface ListTreesResponse {
2638
- /** List of trees. */
3075
+ /**
3076
+ * List of trees.
3077
+ * @maxSize 20
3078
+ */
2639
3079
  trees?: TreeReference[];
2640
3080
  }
2641
3081
  export interface MoveItemInCategoryRequest {
2642
- /** Category ID. */
3082
+ /**
3083
+ * Category ID.
3084
+ * @format GUID
3085
+ */
2643
3086
  categoryId?: string;
2644
3087
  /** Category tree reference details. */
2645
3088
  treeReference?: TreeReference;
@@ -2664,29 +3107,47 @@ export declare enum MoveItemInCategoryRequestPosition {
2664
3107
  NONE = "NONE"
2665
3108
  }
2666
3109
  export interface MoveItemInCategoryResponse {
2667
- /** Information about manually arranged items after move. */
3110
+ /**
3111
+ * Information about manually arranged items after move.
3112
+ * @maxSize 100
3113
+ */
2668
3114
  itemsAfterMove?: ItemReference[];
2669
3115
  }
2670
3116
  export interface SetArrangedItemsRequest {
2671
- /** Category ID. */
3117
+ /**
3118
+ * Category ID.
3119
+ * @format GUID
3120
+ */
2672
3121
  categoryId: string;
2673
3122
  /** Category tree reference details. */
2674
3123
  treeReference: TreeReference;
2675
- /** List of items to set. */
3124
+ /**
3125
+ * List of items to set.
3126
+ * @maxSize 100
3127
+ */
2676
3128
  items?: ItemReference[];
2677
3129
  }
2678
3130
  export interface SetArrangedItemsResponse {
2679
- /** List of arranged items. */
3131
+ /**
3132
+ * List of arranged items.
3133
+ * @maxSize 100
3134
+ */
2680
3135
  items?: ItemReference[];
2681
3136
  }
2682
3137
  export interface GetArrangedItemsRequest {
2683
- /** Category ID. */
3138
+ /**
3139
+ * Category ID.
3140
+ * @format GUID
3141
+ */
2684
3142
  categoryId: string;
2685
3143
  /** Category tree reference details. */
2686
3144
  treeReference: TreeReference;
2687
3145
  }
2688
3146
  export interface GetArrangedItemsResponse {
2689
- /** List of arranged items. */
3147
+ /**
3148
+ * List of arranged items.
3149
+ * @maxSize 100
3150
+ */
2690
3151
  items?: ItemReference[];
2691
3152
  }
2692
3153
  export interface GetCategoriesTreeRequest {
@@ -2701,7 +3162,10 @@ export interface GetCategoriesTreeResponse {
2701
3162
  export interface CategoryTreeNode {
2702
3163
  /** Category ID. */
2703
3164
  id?: Uint8Array;
2704
- /** List of subcategories. */
3165
+ /**
3166
+ * List of subcategories.
3167
+ * @maxSize 1000
3168
+ */
2705
3169
  subcategories?: CategoryTreeNode[];
2706
3170
  }
2707
3171
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -2779,9 +3243,15 @@ export interface ActionEvent {
2779
3243
  export interface Empty {
2780
3244
  }
2781
3245
  export interface MessageEnvelope {
2782
- /** App instance ID. */
3246
+ /**
3247
+ * App instance ID.
3248
+ * @format GUID
3249
+ */
2783
3250
  instanceId?: string | null;
2784
- /** Event type. */
3251
+ /**
3252
+ * Event type.
3253
+ * @maxLength 150
3254
+ */
2785
3255
  eventType?: string;
2786
3256
  /** The identification type and identity data. */
2787
3257
  identity?: IdentificationData;
@@ -2789,26 +3259,50 @@ export interface MessageEnvelope {
2789
3259
  data?: string;
2790
3260
  }
2791
3261
  export interface IdentificationData extends IdentificationDataIdOneOf {
2792
- /** ID of a site visitor that has not logged in to the site. */
3262
+ /**
3263
+ * ID of a site visitor that has not logged in to the site.
3264
+ * @format GUID
3265
+ */
2793
3266
  anonymousVisitorId?: string;
2794
- /** ID of a site visitor that has logged in to the site. */
3267
+ /**
3268
+ * ID of a site visitor that has logged in to the site.
3269
+ * @format GUID
3270
+ */
2795
3271
  memberId?: string;
2796
- /** ID of a Wix user (site owner, contributor, etc.). */
3272
+ /**
3273
+ * ID of a Wix user (site owner, contributor, etc.).
3274
+ * @format GUID
3275
+ */
2797
3276
  wixUserId?: string;
2798
- /** ID of an app. */
3277
+ /**
3278
+ * ID of an app.
3279
+ * @format GUID
3280
+ */
2799
3281
  appId?: string;
2800
3282
  /** @readonly */
2801
3283
  identityType?: WebhookIdentityType;
2802
3284
  }
2803
3285
  /** @oneof */
2804
3286
  export interface IdentificationDataIdOneOf {
2805
- /** ID of a site visitor that has not logged in to the site. */
3287
+ /**
3288
+ * ID of a site visitor that has not logged in to the site.
3289
+ * @format GUID
3290
+ */
2806
3291
  anonymousVisitorId?: string;
2807
- /** ID of a site visitor that has logged in to the site. */
3292
+ /**
3293
+ * ID of a site visitor that has logged in to the site.
3294
+ * @format GUID
3295
+ */
2808
3296
  memberId?: string;
2809
- /** ID of a Wix user (site owner, contributor, etc.). */
3297
+ /**
3298
+ * ID of a Wix user (site owner, contributor, etc.).
3299
+ * @format GUID
3300
+ */
2810
3301
  wixUserId?: string;
2811
- /** ID of an app. */
3302
+ /**
3303
+ * ID of an app.
3304
+ * @format GUID
3305
+ */
2812
3306
  appId?: string;
2813
3307
  }
2814
3308
  export declare enum WebhookIdentityType {