@wix/categories 1.0.39 → 1.0.41

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.
@@ -1,23 +1,21 @@
1
- /**
2
- * A Category is the main entity of CategoriesService that can be created, customized and managed by the user.
3
- * Category can be organized into a hierarchical tree structure by assigning a parent category.
4
- * This structure can then be used to group similar items in order to make it easier for clients to find them.
5
- */
6
1
  interface Category {
7
2
  /** Category ID. */
8
3
  _id?: string | null;
9
4
  /**
10
- * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision
5
+ * Revision number, which increments by 1 each time the category is updated.
6
+ * To prevent conflicting changes, the current revision must be passed when updating.
7
+ *
8
+ * Ignored when creating a category.
11
9
  * @readonly
12
10
  */
13
11
  revision?: string | null;
14
12
  /**
15
- * Represents the time this Category was created.
13
+ * Date and time the category was created.
16
14
  * @readonly
17
15
  */
18
16
  _createdDate?: Date;
19
17
  /**
20
- * Represents the time this Category was last updated.
18
+ * Date and time the category was updated.
21
19
  * @readonly
22
20
  */
23
21
  _updatedDate?: Date;
@@ -25,77 +23,88 @@ interface Category {
25
23
  name?: string | null;
26
24
  /**
27
25
  * Category image.
28
- * Pass existing media ID for image previously saved in Wix media manager.
29
- * Pass full image URL to upload an image to Wix media manager.
30
- * In case of full url the image will be updated eventually.
26
+ *
27
+ * + Pass WixMedia image ID for media previously saved in the [Wix Media Manager](https://support.wix.com/en/article/wix-media-about-the-media-manager).
28
+ * + Pass full image URL to upload to Wix Media Manager.
31
29
  */
32
30
  image?: string;
33
31
  /**
34
- * Number of items in this category alone.
32
+ * Number of items in this category.
35
33
  * @readonly
36
34
  */
37
35
  itemCounter?: number;
38
- /** Category description. */
36
+ /**
37
+ * Category description.
38
+ * > **Note:** This field is returned only when you pass `fields: "DESCRIPTION"` in the request.
39
+ */
39
40
  description?: string | null;
40
41
  /**
41
- * Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
42
- * Even if visible is `false`, it can still be added manually to static page.
43
- * If parent visibility is updated to `false`, all the children visibility will be updated eventually to `false`.
44
- * It is not allowed to set visible as `true` if at least one of the parent categories has visible `false`.
42
+ * Whether the category is visible to site visitors in dynamic pages.
43
+ *
44
+ * + If the parent category's visibility is set to `false`, all the children categories' visibility will also be set to `false`.
45
+ * + Passing `true` will fail if the visibility of any parent categories is `false`.
46
+ * + Default: `false`.
45
47
  */
46
48
  visible?: boolean | null;
47
49
  /**
48
- * A category's breadcrumbs, Updated on moved to different parent or on renamed.
49
- * > **Note:** This field is returned only when you pass `fields: "BREADCRUMBS"` in the request.
50
+ * Category breadcrumbs.
51
+ *
52
+ * > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
50
53
  * @readonly
51
54
  */
52
55
  breadcrumbs?: BreadcrumbItemValues;
53
- /** The parent category. */
56
+ /** Parent category reference data. */
54
57
  parentCategory?: ParentCategory;
55
58
  /**
56
- * A permanent, friendly URL name.
57
- * If not provided, on create generated automatically.
58
- * When provided, validated and must be unique.
59
+ * Category slug.
60
+ *
61
+ * If not provided, the slug is autogenerated based on the category name.
59
62
  */
60
63
  slug?: string | null;
61
64
  /**
62
- * Category description which supports rich content. It is independent from `description` field and can be used instead of it or in addition to it.
63
- * In order to use this field you have to integrate with "Ricos" on frontend side. To learn how to do it visit https://ricos.js.org/.
65
+ * Category description using rich content.
66
+ *
67
+ * Learn more about [Working with Rich Content](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content).
68
+ * > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
64
69
  */
65
70
  richContentDescription?: RichContent;
66
71
  /**
67
- * Optional - the ID of the app responsible for managing the items within this category.
68
- * If provided, the update of items assigned to this category and the deletion of it will be allowed only to the managing app.
69
- * The default is Empty.
72
+ * ID of the app responsible for managing the items in this category.
73
+ *
74
+ * Pass your app ID to restrict updating and deleting items in this category to your app only.
70
75
  */
71
76
  managingAppId?: string | null;
72
- /** Extensions enabling users to save custom data related to the category. */
77
+ /**
78
+ * Custom extended fields for the category object.
79
+ *
80
+ * [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls.
81
+ */
73
82
  extendedFields?: ExtendedFields;
74
83
  }
75
- /** Wrapper for optional BreadcrumbItem values */
76
84
  interface BreadcrumbItemValues {
77
85
  /**
78
- * The wrapped BreadcrumbItem values
86
+ * List of breadcrumb data.
79
87
  * @readonly
80
88
  */
81
89
  values?: BreadcrumbItem[];
82
90
  }
83
91
  interface BreadcrumbItem {
84
- /** Represents the id of the category. */
92
+ /** Category ID. */
85
93
  categoryId?: string;
86
- /** Represents the name of the category. Translatable */
94
+ /** Category name. */
87
95
  categoryName?: string;
88
- /** Represents the slug. A permanent, friendly URL name of the category. */
96
+ /** Category slug. */
89
97
  categorySlug?: string;
90
98
  }
91
99
  interface ParentCategory {
92
100
  /**
93
- * Represents the id of the parent category.
94
- * If not passed, the default is the root category.
101
+ * Parent category ID.
102
+ *
103
+ * Default: root category ID
95
104
  */
96
105
  _id?: string | null;
97
106
  /**
98
- * Represents the index of current category within the parent category.
107
+ * Index position of the category within the parent category.
99
108
  * @readonly
100
109
  */
101
110
  index?: number | null;
@@ -1381,12 +1390,12 @@ interface TextNodeStyle {
1381
1390
  }
1382
1391
  interface TreeReference {
1383
1392
  /**
1384
- * The unique namespace of an app in dev-center that owns this tree.
1385
- * Should meet the format of @company/app1 where @company is an organizational unit and app1 is the app name.
1386
- * For example: @bookings/bookingslist, @achievements/quizzes
1393
+ * Namespace of the app that manages the tree.
1394
+ *
1395
+ * For example, `"@wix/stores"`, `"@bookings/bookingslist"`, `"@achievements/quizzes"`.
1387
1396
  */
1388
1397
  appNamespace?: string;
1389
- /** Optional - The key of the tree. Must be provided when single app manages more than one tree. */
1398
+ /** Tree key. You must pass this when a single app manages more than one tree. */
1390
1399
  treeKey?: string | null;
1391
1400
  }
1392
1401
  interface ExtendedFields {
@@ -1457,71 +1466,163 @@ interface File {
1457
1466
  /** Invalidate by filename (for media files such as PDFs) */
1458
1467
  fileName?: string;
1459
1468
  }
1469
+ interface CategoryMoved {
1470
+ /** Category ID. */
1471
+ categoryId?: string;
1472
+ /** Parent category details. */
1473
+ parentCategory?: ParentCategory;
1474
+ /** Category tree reference details. */
1475
+ treeReference?: TreeReference;
1476
+ }
1477
+ interface ItemAddedToCategory {
1478
+ /** Category ID. */
1479
+ categoryId?: string;
1480
+ /** Details about the added item. */
1481
+ addedItem?: ItemReference;
1482
+ /** Category tree reference details. */
1483
+ treeReference?: TreeReference;
1484
+ }
1485
+ interface ItemReference {
1486
+ /**
1487
+ * ID of the item within the catalog it belongs to.
1488
+ *
1489
+ * For example, `product.id` for Wix Stores or `event.id` for Wix Events.
1490
+ */
1491
+ catalogItemId?: string;
1492
+ /**
1493
+ * ID of the app providing the catalog.
1494
+ *
1495
+ * You can get your app's ID from its page in the [Wix Dev Center](https://dev.wix.com/apps).
1496
+ *
1497
+ * For items from Wix catalogs, the following values always apply:
1498
+ * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
1499
+ * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
1500
+ * + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
1501
+ */
1502
+ appId?: string;
1503
+ }
1504
+ interface ItemsAddedToCategory {
1505
+ /** Category ID. */
1506
+ categoryId?: string;
1507
+ /** List of added items. */
1508
+ addedItems?: ItemReference[];
1509
+ /** Category tree reference details. */
1510
+ treeReference?: TreeReference;
1511
+ }
1512
+ interface ItemRemovedFromCategory {
1513
+ /** Category ID. */
1514
+ categoryId?: string;
1515
+ /** Details about the removed item. */
1516
+ removedItem?: ItemReference;
1517
+ /** Category tree reference details. */
1518
+ treeReference?: TreeReference;
1519
+ }
1520
+ interface ItemsRemovedFromCategory {
1521
+ /** Category ID. */
1522
+ categoryId?: string;
1523
+ /** List of removed items. */
1524
+ removedItems?: ItemReference[];
1525
+ /** Category tree reference details. */
1526
+ treeReference?: TreeReference;
1527
+ }
1528
+ interface ItemsArrangedInCategory {
1529
+ /** Category ID. */
1530
+ categoryId?: string;
1531
+ /** Category tree reference details. */
1532
+ treeReference?: TreeReference;
1533
+ }
1460
1534
  interface CreateCategoryRequest {
1461
- /** Category to be created. */
1535
+ /** Category to create. */
1462
1536
  category: Category;
1463
- /** A reference to the tree that contains this category. */
1537
+ /** Category tree reference details. */
1464
1538
  treeReference: TreeReference;
1465
- /** Fields to return in the response. When not provided, these fields are not returned. */
1539
+ /**
1540
+ * Fields to include in the response.
1541
+ *
1542
+ * Supported values:
1543
+ * + `BREADCRUMBS`
1544
+ * + `DESCRIPTION`
1545
+ * + `RICH_CONTENT_DESCRIPTION`
1546
+ */
1466
1547
  fields?: SingleEntityOpsRequestedFields[];
1467
1548
  }
1468
1549
  declare enum SingleEntityOpsRequestedFields {
1469
1550
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
1470
- BREADCRUMBS = "BREADCRUMBS"
1551
+ BREADCRUMBS = "BREADCRUMBS",
1552
+ DESCRIPTION = "DESCRIPTION",
1553
+ RICH_CONTENT_DESCRIPTION = "RICH_CONTENT_DESCRIPTION"
1471
1554
  }
1472
1555
  interface CreateCategoryResponse {
1473
- /** The created Category. */
1556
+ /** Created category. */
1474
1557
  category?: Category;
1475
1558
  }
1476
1559
  interface GetCategoryRequest {
1477
- /** Id of the Category to retrieve. */
1560
+ /** Category ID. */
1478
1561
  categoryId: string;
1479
- /** A reference to the tree that contains this category. */
1562
+ /** Category tree reference details. */
1480
1563
  treeReference: TreeReference;
1481
- /** Fields to return in the response. When not provided, these fields are not returned. */
1564
+ /**
1565
+ * Fields to include in the response.
1566
+ *
1567
+ * Supported values:
1568
+ * + `BREADCRUMBS`
1569
+ * + `DESCRIPTION`
1570
+ * + `RICH_CONTENT_DESCRIPTION`
1571
+ */
1482
1572
  fields?: SingleEntityOpsRequestedFields[];
1483
1573
  }
1484
1574
  interface GetCategoryResponse {
1485
- /** The retrieved Category. */
1575
+ /** Category. */
1486
1576
  category?: Category;
1487
1577
  }
1488
1578
  interface UpdateCategoryRequest {
1489
- /** Category to be updated, may be partial. */
1579
+ /** Category to update. */
1490
1580
  category: Category;
1491
- /** A reference to the tree that contains this category. */
1581
+ /** Category tree reference details. */
1492
1582
  treeReference: TreeReference;
1493
- /** Fields to return in the response. When not provided, these fields are not returned. */
1583
+ /**
1584
+ * Fields to include in the response.
1585
+ *
1586
+ * Supported values:
1587
+ * + `BREADCRUMBS`
1588
+ * + `DESCRIPTION`
1589
+ * + `RICH_CONTENT_DESCRIPTION`
1590
+ */
1494
1591
  fields?: SingleEntityOpsRequestedFields[];
1495
1592
  }
1496
1593
  interface UpdateCategoryResponse {
1497
- /** The updated Category. */
1594
+ /** Updated category. */
1498
1595
  category?: Category;
1499
1596
  }
1500
1597
  interface DeleteCategoryRequest {
1501
- /** Id of the Category to delete. */
1598
+ /** Category ID. */
1502
1599
  categoryId: string;
1503
- /** A reference to the tree that contains this category. */
1600
+ /** Category tree reference details. */
1504
1601
  treeReference: TreeReference;
1505
1602
  }
1506
1603
  interface DeleteCategoryResponse {
1507
1604
  }
1508
1605
  interface QueryCategoriesRequest {
1509
- /** WQL query expression. */
1510
- query?: QueryV2;
1511
- /**
1512
- * A reference to the tree that contains this category.
1513
- * Used only in the first request. Following requests use the cursor token.
1514
- */
1515
- treeReference?: TreeReference;
1606
+ /** Query options. */
1607
+ query?: CursorQuery;
1608
+ /** Category tree reference details. */
1609
+ treeReference: TreeReference;
1516
1610
  /**
1517
1611
  * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
1518
1612
  * Used only in the first request. Following requests use the cursor token.
1519
1613
  */
1520
1614
  returnNonVisibleCategories?: boolean;
1521
- /** Fields to return in the response. When not provided, these fields are not returned. */
1615
+ /**
1616
+ * Fields to include in the response.
1617
+ *
1618
+ * Supported values:
1619
+ * + `BREADCRUMBS`
1620
+ * + `DESCRIPTION`
1621
+ * + `RICH_CONTENT_DESCRIPTION`
1622
+ */
1522
1623
  fields?: RequestedFields[];
1523
1624
  }
1524
- interface QueryV2 extends QueryV2PagingMethodOneOf {
1625
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
1525
1626
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
1526
1627
  cursorPaging?: CursorPaging;
1527
1628
  /**
@@ -1540,7 +1641,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
1540
1641
  sort?: Sorting[];
1541
1642
  }
1542
1643
  /** @oneof */
1543
- interface QueryV2PagingMethodOneOf {
1644
+ interface CursorQueryPagingMethodOneOf {
1544
1645
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
1545
1646
  cursorPaging?: CursorPaging;
1546
1647
  }
@@ -1554,12 +1655,6 @@ declare enum SortOrder {
1554
1655
  ASC = "ASC",
1555
1656
  DESC = "DESC"
1556
1657
  }
1557
- interface Paging {
1558
- /** Number of items to load. */
1559
- limit?: number | null;
1560
- /** Number of items to skip in the current sort order. */
1561
- offset?: number | null;
1562
- }
1563
1658
  interface CursorPaging {
1564
1659
  /** Maximum number of items to return in the results. */
1565
1660
  limit?: number | null;
@@ -1610,19 +1705,27 @@ interface CompactCategory {
1610
1705
  name?: string | null;
1611
1706
  }
1612
1707
  interface SearchCategoriesRequest {
1613
- /** WQL query expression. */
1708
+ /** Search options. */
1614
1709
  search?: CursorSearch;
1615
1710
  /**
1616
- * A reference to the tree that contains this category.
1617
- * Used only in the first request. Following requests use the cursor token.
1711
+ * Category tree reference details.
1712
+ * > **Note:** Pass `treeReference` only in the first request. Pass the cursor token in subsequent requests.
1618
1713
  */
1619
1714
  treeReference: TreeReference;
1620
1715
  /**
1621
- * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
1622
- * Used only in the first request. Following requests use the cursor token.
1716
+ * Whether to return the categories with `visible: false`.
1717
+ *
1718
+ * Default: `false` - only visible categories are returned in the response
1623
1719
  */
1624
1720
  returnNonVisibleCategories?: boolean;
1625
- /** Fields to return in the response. When not provided, these fields are not returned. */
1721
+ /**
1722
+ * Fields to include in the response.
1723
+ *
1724
+ * Supported values:
1725
+ * + `BREADCRUMBS`
1726
+ * + `DESCRIPTION`
1727
+ * + `RICH_CONTENT_DESCRIPTION`
1728
+ */
1626
1729
  fields?: RequestedFields[];
1627
1730
  }
1628
1731
  interface CursorSearch extends CursorSearchPagingMethodOneOf {
@@ -1833,13 +1936,23 @@ interface NestedAggregation {
1833
1936
  nestedAggregations?: NestedAggregationItem[];
1834
1937
  }
1835
1938
  interface SearchDetails {
1836
- /** Defines how separate search terms in `expression` are combined */
1939
+ /**
1940
+ * Defines how separate search terms in `expression` are combined.
1941
+ *
1942
+ * Supported values:
1943
+ * + `OR` - Any of the search terms must be present
1944
+ * + `AND` - All search terms must be present
1945
+ */
1837
1946
  mode?: Mode;
1838
- /** Search term or expression */
1947
+ /** Search term or expression. */
1839
1948
  expression?: string | null;
1840
- /** Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path */
1949
+ /**
1950
+ * Fields in which to search for the `expression`. Use dot notation to specify field path.
1951
+ *
1952
+ * When empty - all searchable fields are looked at.
1953
+ */
1841
1954
  fields?: string[];
1842
- /** Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
1955
+ /** Whether to use fuzzy search - allowing typos and other minor errors in the search. */
1843
1956
  fuzzy?: boolean;
1844
1957
  }
1845
1958
  declare enum Mode {
@@ -1849,9 +1962,9 @@ declare enum Mode {
1849
1962
  AND = "AND"
1850
1963
  }
1851
1964
  interface SearchCategoriesResponse {
1852
- /** Categories which satisfy the provided query. */
1965
+ /** List of categories. */
1853
1966
  categories?: Category[];
1854
- /** Paging metadata. Contains cursor which can be used in next query. */
1967
+ /** Paging metadata. */
1855
1968
  pagingMetadata?: CursorPagingMetadata;
1856
1969
  /** Aggregation data. */
1857
1970
  aggregationData?: AggregationData;
@@ -2039,11 +2152,18 @@ interface AggregationResultsResultOneOf {
2039
2152
  interface DeprecatedSearchCategoriesWithOffsetRequest {
2040
2153
  /** WQL query expression. */
2041
2154
  search?: OffsetSearch;
2042
- /** A reference to the tree that contains this category. */
2155
+ /** Category tree reference details. */
2043
2156
  treeReference?: TreeReference;
2044
2157
  /** Whether to return categories with `visible:false`. Default: false so only visible categories will be in response. */
2045
2158
  returnNonVisibleCategories?: boolean;
2046
- /** Fields to return in the response. When not provided, these fields are not returned. */
2159
+ /**
2160
+ * Fields to include in the response.
2161
+ *
2162
+ * Supported values:
2163
+ * + `BREADCRUMBS`
2164
+ * + `DESCRIPTION`
2165
+ * + `RICH_CONTENT_DESCRIPTION`
2166
+ */
2047
2167
  fields?: RequestedFields[];
2048
2168
  }
2049
2169
  interface OffsetSearch extends OffsetSearchPagingMethodOneOf {
@@ -2073,6 +2193,12 @@ interface OffsetSearchPagingMethodOneOf {
2073
2193
  /** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
2074
2194
  paging?: Paging;
2075
2195
  }
2196
+ interface Paging {
2197
+ /** Number of items to load. */
2198
+ limit?: number | null;
2199
+ /** Number of items to skip in the current sort order. */
2200
+ offset?: number | null;
2201
+ }
2076
2202
  interface DeprecatedSearchCategoriesWithOffsetResponse {
2077
2203
  /** Categories which satisfy the provided query. */
2078
2204
  categories?: Category[];
@@ -2093,75 +2219,79 @@ interface PagingMetadata {
2093
2219
  }
2094
2220
  interface CountCategoriesRequest {
2095
2221
  /**
2096
- * A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf)
2097
- * To understand supported filters and limitations see `SearchCategories` method.
2222
+ * Filter object.
2223
+ *
2224
+ * Learn more about the [filter object structure](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
2098
2225
  */
2099
2226
  filter?: Record<string, any> | null;
2100
- /** free text to match in searchable fields */
2227
+ /** Search options. */
2101
2228
  search?: SearchDetails;
2102
- /**
2103
- * A reference to the tree that contains this category.
2104
- * Used only in the first request. Following requests use the cursor token.
2105
- */
2229
+ /** Category tree reference details. */
2106
2230
  treeReference: TreeReference;
2107
2231
  /**
2108
- * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
2109
- * Used only in the first request. Following requests use the cursor token.
2232
+ * Whether to return categories with `visible: false` (hidden categories).
2233
+ *
2234
+ * Default: `false` - only visible categories are returned in the response
2110
2235
  */
2111
2236
  returnNonVisibleCategories?: boolean;
2112
2237
  }
2113
2238
  interface CountCategoriesResponse {
2114
- /** Total count of categories which satisfy the provided request. */
2239
+ /** Total count of categories which satisfy the given filter and/or search. */
2115
2240
  count?: number;
2116
2241
  }
2117
2242
  interface MoveCategoryRequest {
2118
- /** ID of category to place. */
2243
+ /** ID of the category to move. */
2119
2244
  categoryId: string;
2120
- /** A reference to the tree that contains this category. */
2245
+ /** Category tree reference details. */
2121
2246
  treeReference: TreeReference;
2122
2247
  /**
2123
- * ID of parent category.
2124
- * Optional. When not passed it will fallback to the root category
2248
+ * Parent category ID.
2249
+ *
2250
+ * Default: root category ID
2125
2251
  */
2126
2252
  parentCategoryId?: string | null;
2127
2253
  /**
2128
2254
  * Where to place the subcategory.
2129
- * `FIRST` - make category with `category_id` first subcategory with manual arrangement.
2130
- * `LAST` - make category with `category_id` last subcategory with manual arrangement.
2131
- * `BEFORE` - requires `move_before_category_id`, category with `category_id` will be moved before it.
2255
+ *
2256
+ * + `FIRST`: Position the category as the first subcategory.
2257
+ * + `LAST`: Position the category as the last subcategory.
2258
+ * + `AFTER`: Position the category after the category ID passed in `moveAfterCategoryId`.
2132
2259
  */
2133
2260
  position: Position;
2134
- /** Required when `position` is `BEFORE`. Otherwise ignored */
2135
- moveBeforeCategoryId?: string | null;
2261
+ /** Required when passing `position: AFTER`. */
2262
+ moveAfterCategoryId?: string | null;
2136
2263
  }
2137
2264
  declare enum Position {
2138
2265
  UNKNOWN_POSITION = "UNKNOWN_POSITION",
2139
2266
  FIRST = "FIRST",
2140
2267
  LAST = "LAST",
2141
- BEFORE = "BEFORE"
2268
+ AFTER = "AFTER"
2142
2269
  }
2143
2270
  interface MoveCategoryResponse {
2144
- /** ID of parent category. */
2271
+ /** Parent category ID. */
2145
2272
  parentCategoryId?: string | null;
2146
- /** Information about manually arranged categories after move. */
2273
+ /** List of category IDs in the new order of arrangement. */
2147
2274
  categoriesAfterMove?: string[];
2148
2275
  }
2149
- interface CategoryMoved {
2150
- /** Category ID. */
2151
- categoryId?: string;
2152
- /** ID of parent category and index. */
2153
- parentCategory?: ParentCategory;
2154
- /** A reference to the tree that contains this category. */
2155
- treeReference?: TreeReference;
2156
- }
2157
2276
  interface BulkCreateCategoriesRequest {
2158
2277
  /** List of categories to be created. */
2159
2278
  categories?: Category[];
2160
- /** A reference to the tree that contains the categories. */
2279
+ /** Category tree reference details. */
2161
2280
  treeReference?: TreeReference;
2162
- /** Whether to return the category entity in the response. */
2281
+ /**
2282
+ * Whether to return the category entity in the response.
2283
+ *
2284
+ * Default: `false`
2285
+ */
2163
2286
  returnEntity?: boolean;
2164
- /** Fields to return in the response. When not provided, these fields are not returned. */
2287
+ /**
2288
+ * Fields to include in the response.
2289
+ *
2290
+ * Supported values:
2291
+ * + `BREADCRUMBS`
2292
+ * + `DESCRIPTION`
2293
+ * + `RICH_CONTENT_DESCRIPTION`
2294
+ */
2165
2295
  fields?: RequestedFields[];
2166
2296
  }
2167
2297
  interface BulkCreateCategoriesResponse {
@@ -2171,9 +2301,13 @@ interface BulkCreateCategoriesResponse {
2171
2301
  bulkActionMetadata?: BulkActionMetadata;
2172
2302
  }
2173
2303
  interface BulkCategoriesResult {
2174
- /** Information about successful action or error for failure. */
2304
+ /** Bulk action metadata for category. */
2175
2305
  itemMetadata?: ItemMetadata;
2176
- /** Created or updated category. Optional - returned only if requested with `return_entity` set to `true`. */
2306
+ /**
2307
+ * Full category entity.
2308
+ *
2309
+ * Returned only if `returnEntity: true` is passed in the request.
2310
+ */
2177
2311
  category?: Category;
2178
2312
  }
2179
2313
  interface ItemMetadata {
@@ -2203,17 +2337,28 @@ interface BulkActionMetadata {
2203
2337
  undetailedFailures?: number;
2204
2338
  }
2205
2339
  interface BulkUpdateCategoriesRequest {
2206
- /** List of categories to be updated. */
2340
+ /** List of categories to update. */
2207
2341
  categories: MaskedCategory[];
2208
- /** A reference to the tree that contains the categories. */
2342
+ /** Category tree reference details. */
2209
2343
  treeReference: TreeReference;
2210
- /** Whether to return the category entity in the response. */
2344
+ /**
2345
+ * Whether to return the full category entity in the response.
2346
+ *
2347
+ * Default: `false`
2348
+ */
2211
2349
  returnEntity?: boolean;
2212
- /** Fields to return in the response. When not provided, these fields are not returned. */
2350
+ /**
2351
+ * Fields to include in the response.
2352
+ *
2353
+ * Supported values:
2354
+ * + `BREADCRUMBS`
2355
+ * + `DESCRIPTION`
2356
+ * + `RICH_CONTENT_DESCRIPTION`
2357
+ */
2213
2358
  fields?: RequestedFields[];
2214
2359
  }
2215
2360
  interface MaskedCategory {
2216
- /** Category to be updated, may be partial. */
2361
+ /** Category to update. */
2217
2362
  category?: Category;
2218
2363
  }
2219
2364
  interface BulkUpdateCategoriesResponse {
@@ -2223,31 +2368,57 @@ interface BulkUpdateCategoriesResponse {
2223
2368
  bulkActionMetadata?: BulkActionMetadata;
2224
2369
  }
2225
2370
  interface UpdateCategoryVisibilityRequest {
2226
- /** ID of category to be updated */
2371
+ /** Category ID. */
2227
2372
  categoryId: string;
2228
- /** value to set `visible` to */
2373
+ /**
2374
+ * Whether the category is visible to site visitors in dynamic pages.
2375
+ *
2376
+ * + If a parent category's visibility is set to `false`, all the children categories' visibility will also be set to `false`.
2377
+ * + Passing `true` will fail if the visibility of any parent categories is `false`.
2378
+ */
2229
2379
  visible: boolean;
2230
- /** A reference to the tree that contains this category. */
2380
+ /** Category tree reference details. */
2231
2381
  treeReference: TreeReference;
2232
- /** Latest revision of the category. */
2382
+ /**
2383
+ * Latest revision of the category.
2384
+ * To prevent conflicting changes, the current revision must be passed on update.
2385
+ */
2233
2386
  revision: string | null;
2234
- /** Fields to return in the response. When not provided, these fields are not returned. */
2387
+ /**
2388
+ * Fields to include in the response.
2389
+ *
2390
+ * Supported values:
2391
+ * + `BREADCRUMBS`
2392
+ * + `DESCRIPTION`
2393
+ * + `RICH_CONTENT_DESCRIPTION`
2394
+ */
2235
2395
  fields?: SingleEntityOpsRequestedFields[];
2236
2396
  }
2237
2397
  interface UpdateCategoryVisibilityResponse {
2238
- /** The updated Category. */
2398
+ /** Updated category. */
2239
2399
  category?: Category;
2240
2400
  }
2241
2401
  interface BulkUpdateCategoryVisibilityRequest {
2242
- /** IDs of categories to be updated. */
2402
+ /** IDs of the categories to update. */
2243
2403
  categoryIds?: string[];
2244
2404
  /** value to set `visible` to. This value will be set for all categories in the request */
2245
2405
  visible?: boolean;
2246
- /** A reference to the tree that contains this category. */
2406
+ /** Category tree reference details. */
2247
2407
  treeReference?: TreeReference;
2248
- /** Whether to return the category entity in the response. */
2408
+ /**
2409
+ * Whether to return the category entity in the response.
2410
+ *
2411
+ * Default: `false`
2412
+ */
2249
2413
  returnEntity?: boolean;
2250
- /** Fields to return in the response. When not provided, these fields are not returned. */
2414
+ /**
2415
+ * Fields to include in the response.
2416
+ *
2417
+ * Supported values:
2418
+ * + `BREADCRUMBS`
2419
+ * + `DESCRIPTION`
2420
+ * + `RICH_CONTENT_DESCRIPTION`
2421
+ */
2251
2422
  fields?: RequestedFields[];
2252
2423
  }
2253
2424
  interface BulkUpdateCategoryVisibilityResponse {
@@ -2266,13 +2437,17 @@ interface BulkUpdateCategoryVisibilityByFilterRequest {
2266
2437
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
2267
2438
  */
2268
2439
  filter?: Record<string, any> | null;
2269
- /** A reference to the tree that contains the categories. */
2440
+ /** Category tree reference details. */
2270
2441
  treeReference?: TreeReference;
2271
2442
  /** value to set `visible` to. This value will be set for all categories that match the filter */
2272
2443
  visible?: boolean;
2273
2444
  }
2274
2445
  interface BulkUpdateCategoryVisibilityByFilterResponse {
2275
- /** Token that can be used to query "AsyncJobService" */
2446
+ /**
2447
+ * Job ID.
2448
+ *
2449
+ * Pass this ID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction) to retrieve job details and metadata..
2450
+ */
2276
2451
  jobId?: string;
2277
2452
  }
2278
2453
  interface BulkDeleteCategoriesRequest {
@@ -2299,69 +2474,54 @@ interface BulkDeleteCategoriesByFilterRequest {
2299
2474
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
2300
2475
  */
2301
2476
  filter?: Record<string, any> | null;
2302
- /** A reference to the tree that contains the categories. */
2477
+ /** Category tree reference details. */
2303
2478
  treeReference?: TreeReference;
2304
2479
  }
2305
2480
  interface BulkDeleteCategoriesByFilterResponse {
2306
- /** Token that can be used to query "AsyncJobService" */
2481
+ /**
2482
+ * Job ID.
2483
+ *
2484
+ * Pass this ID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction) to retrieve job details and metadata..
2485
+ */
2307
2486
  jobId?: string;
2308
2487
  }
2309
2488
  interface BulkAddItemsToCategoryRequest {
2310
- /** Category id. */
2489
+ /** Category ID. */
2311
2490
  categoryId: string;
2312
- /** List of catalog items with reference info. */
2491
+ /** List of items to add. */
2313
2492
  items: ItemReference[];
2314
- /** A reference to the tree that contains this category. */
2493
+ /** Category tree reference details. */
2315
2494
  treeReference: TreeReference;
2316
2495
  }
2317
- interface ItemReference {
2318
- /** ID of the item within its Wix or 3rd-party catalog. For example, `productId` for Wix Stores or `eventId` for Wix Events. */
2319
- catalogItemId?: string;
2320
- /** ID of the catalog app. For example, the Wix Stores `appId`, or the 3rd-party `appId`. */
2321
- appId?: string;
2322
- }
2323
2496
  interface BulkAddItemsToCategoryResponse {
2324
- /** Items added by bulk action. */
2497
+ /** List of items added to a category by bulk action. */
2325
2498
  results?: BulkItemsToCategoryResult[];
2326
2499
  /** Bulk action metadata. */
2327
2500
  bulkActionMetadata?: BulkActionMetadata;
2328
2501
  }
2329
2502
  interface BulkItemsToCategoryResult {
2330
- /** Information about items that were added successfully and errors for failed items. */
2503
+ /** Bulk action metadata for category. */
2331
2504
  itemMetadata?: ItemReferenceMetadata;
2332
2505
  }
2333
2506
  interface ItemReferenceMetadata {
2334
- /** Item reference from request. */
2507
+ /** Catalog and item reference info. */
2335
2508
  item?: ItemReference;
2336
- /** Index of the item within the request array. Allows for correlation between request and response items. */
2509
+ /** Original index of the item within the request array. Allows for correlation between request and response items. */
2337
2510
  originalIndex?: number;
2338
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
2511
+ /**
2512
+ * Whether the action was successful.
2513
+ * When `false`, the `error` field is populated.
2514
+ */
2339
2515
  success?: boolean;
2340
- /** Details about the error in case of failure. */
2516
+ /** Error details in the case of an unsuccessful action. */
2341
2517
  error?: ApplicationError;
2342
2518
  }
2343
- interface ItemAddedToCategory {
2344
- /** Category ID. */
2345
- categoryId?: string;
2346
- /** Catalog item reference info. */
2347
- addedItem?: ItemReference;
2348
- /** A reference to the tree that contains this category. */
2349
- treeReference?: TreeReference;
2350
- }
2351
- interface ItemsAddedToCategory {
2352
- /** Category ID. */
2353
- categoryId?: string;
2354
- /** List of catalog items with reference info. */
2355
- addedItems?: ItemReference[];
2356
- /** A reference to the tree that contains this category. */
2357
- treeReference?: TreeReference;
2358
- }
2359
2519
  interface BulkAddItemToCategoriesRequest {
2360
- /** Catalog item reference info */
2520
+ /** Item to add. */
2361
2521
  item: ItemReference;
2362
- /** Category ids. */
2522
+ /** IDs of categories to which to add the item. */
2363
2523
  categoryIds: string[];
2364
- /** A reference to the tree that contains the categories. */
2524
+ /** Category tree reference details. */
2365
2525
  treeReference: TreeReference;
2366
2526
  }
2367
2527
  interface BulkAddItemToCategoriesResponse {
@@ -2371,15 +2531,15 @@ interface BulkAddItemToCategoriesResponse {
2371
2531
  bulkActionMetadata?: BulkActionMetadata;
2372
2532
  }
2373
2533
  interface BulkItemToCategoriesResult {
2374
- /** Information about categories to which item was added successfully and errors for failed items. `id` is ID of category. */
2534
+ /** Bulk action metadata for category. */
2375
2535
  itemMetadata?: ItemMetadata;
2376
2536
  }
2377
2537
  interface BulkRemoveItemsFromCategoryRequest {
2378
- /** Category id */
2538
+ /** Category ID. */
2379
2539
  categoryId: string;
2380
- /** List of catalog items with reference info. */
2540
+ /** List of items to remove. */
2381
2541
  items: ItemReference[];
2382
- /** A reference to the tree that contains this category. */
2542
+ /** Category tree reference details. */
2383
2543
  treeReference: TreeReference;
2384
2544
  }
2385
2545
  interface BulkRemoveItemsFromCategoryResponse {
@@ -2388,28 +2548,12 @@ interface BulkRemoveItemsFromCategoryResponse {
2388
2548
  /** Bulk action metadata. */
2389
2549
  bulkActionMetadata?: BulkActionMetadata;
2390
2550
  }
2391
- interface ItemRemovedFromCategory {
2392
- /** Category ID. */
2393
- categoryId?: string;
2394
- /** Catalog item reference info. */
2395
- removedItem?: ItemReference;
2396
- /** A reference to the tree that contains this category. */
2397
- treeReference?: TreeReference;
2398
- }
2399
- interface ItemsRemovedFromCategory {
2400
- /** Category ID. */
2401
- categoryId?: string;
2402
- /** List of catalog items with reference info. */
2403
- removedItems?: ItemReference[];
2404
- /** A reference to the tree that contains this category. */
2405
- treeReference?: TreeReference;
2406
- }
2407
2551
  interface BulkRemoveItemFromCategoriesRequest {
2408
- /** Catalog item reference info */
2552
+ /** Item to remove. */
2409
2553
  item: ItemReference;
2410
- /** Category ids. */
2554
+ /** IDs of categories from which to remove the item. */
2411
2555
  categoryIds: string[];
2412
- /** A reference to the tree that contains the categories. */
2556
+ /** Category tree reference details. */
2413
2557
  treeReference: TreeReference;
2414
2558
  }
2415
2559
  interface BulkRemoveItemFromCategoriesResponse {
@@ -2419,26 +2563,42 @@ interface BulkRemoveItemFromCategoriesResponse {
2419
2563
  bulkActionMetadata?: BulkActionMetadata;
2420
2564
  }
2421
2565
  interface ListItemsInCategoryRequest extends ListItemsInCategoryRequestPagingMethodOneOf {
2422
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `use_category_arrangement` or `include_items_from_subcategories`. */
2566
+ /**
2567
+ * Cursor paging options.
2568
+ *
2569
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
2570
+ */
2423
2571
  cursorPaging?: CursorPaging;
2424
- /** ID of category containing items. */
2572
+ /** Category ID. */
2425
2573
  categoryId: string;
2426
- /** A reference to the tree that contains this category. */
2574
+ /** Category tree reference details. */
2427
2575
  treeReference: TreeReference;
2428
- /** Default: `false`. When `true` items arranged by user will be return before all other items. */
2576
+ /**
2577
+ * Whether to use category arrangement for sorting items.
2578
+ *
2579
+ * Default: `false`
2580
+ */
2429
2581
  useCategoryArrangement?: boolean;
2430
- /** Default: `false`. When `false` only direct items of category will be returned. When `true` response contains also items from all subcategories which current category contains */
2582
+ /**
2583
+ * Whether to include items from subcategories.
2584
+ *
2585
+ * Default: `false` (only direct items of the category will be returned)
2586
+ */
2431
2587
  includeItemsFromSubcategories?: boolean;
2432
2588
  }
2433
2589
  /** @oneof */
2434
2590
  interface ListItemsInCategoryRequestPagingMethodOneOf {
2435
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `use_category_arrangement` or `include_items_from_subcategories`. */
2591
+ /**
2592
+ * Cursor paging options.
2593
+ *
2594
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
2595
+ */
2436
2596
  cursorPaging?: CursorPaging;
2437
2597
  }
2438
2598
  interface ListItemsInCategoryResponse {
2439
- /** Items which satisfy query. */
2599
+ /** List of items in the category. */
2440
2600
  items?: ItemReference[];
2441
- /** Paging metadata. Contains cursor which can be used in next query. */
2601
+ /** Paging metadata. */
2442
2602
  pagingMetadata?: PagingMetadataV2;
2443
2603
  }
2444
2604
  interface PagingMetadataV2 {
@@ -2452,30 +2612,27 @@ interface PagingMetadataV2 {
2452
2612
  cursors?: Cursors;
2453
2613
  }
2454
2614
  interface ListCategoriesForItemRequest {
2455
- /** Catalog item reference info. */
2615
+ /** Item reference info. */
2456
2616
  item: ItemReference;
2457
- /** A reference to the tree that contains the categories. */
2617
+ /** Category tree reference details. */
2458
2618
  treeReference: TreeReference;
2459
2619
  }
2460
2620
  interface ListCategoriesForItemResponse {
2461
- /** A list of category IDs that contain this item directly. */
2621
+ /** List of IDs of categories that directly contain this item. */
2462
2622
  directCategoryIds?: string[];
2463
- /** A list of category IDs that contain this item directly and their parent category IDs. */
2623
+ /** List of IDs of categories that directly contain this item, and their parent category IDs. */
2464
2624
  allCategoryIds?: string[];
2465
2625
  }
2466
2626
  interface ListTreesRequest {
2467
2627
  }
2468
2628
  interface ListTreesResponse {
2469
- /** A list of all trees */
2629
+ /** List of trees. */
2470
2630
  trees?: TreeReference[];
2471
2631
  }
2472
2632
  interface MoveItemInCategoryRequest {
2473
- /**
2474
- * ID of category.
2475
- * Item must be direct child of this category, otherwise error returned
2476
- */
2633
+ /** Category ID. */
2477
2634
  categoryId?: string;
2478
- /** A reference to the tree that contains this category. */
2635
+ /** Category tree reference details. */
2479
2636
  treeReference?: TreeReference;
2480
2637
  /** Item to move. */
2481
2638
  item?: ItemReference;
@@ -2501,39 +2658,30 @@ interface MoveItemInCategoryResponse {
2501
2658
  /** Information about manually arranged items after move. */
2502
2659
  itemsAfterMove?: ItemReference[];
2503
2660
  }
2504
- interface ItemsArrangedInCategory {
2505
- /** Category ID. */
2506
- categoryId?: string;
2507
- /** A reference to the tree that contains this category. */
2508
- treeReference?: TreeReference;
2509
- }
2510
2661
  interface SetArrangedItemsRequest {
2511
- /** ID of category. */
2662
+ /** Category ID. */
2512
2663
  categoryId: string;
2513
- /** A reference to the tree that contains this category. */
2664
+ /** Category tree reference details. */
2514
2665
  treeReference: TreeReference;
2515
- /**
2516
- * List of arranged items to set.
2517
- * All items must be direct children of category with `category_id`, otherwise error returned.
2518
- */
2666
+ /** List of items to set. */
2519
2667
  items?: ItemReference[];
2520
2668
  }
2521
2669
  interface SetArrangedItemsResponse {
2522
- /** The updated list of arranged items in category. */
2670
+ /** List of arranged items. */
2523
2671
  items?: ItemReference[];
2524
2672
  }
2525
2673
  interface GetArrangedItemsRequest {
2526
- /** ID of category. */
2674
+ /** Category ID. */
2527
2675
  categoryId: string;
2528
- /** A reference to the tree that contains this category. */
2676
+ /** Category tree reference details. */
2529
2677
  treeReference: TreeReference;
2530
2678
  }
2531
2679
  interface GetArrangedItemsResponse {
2532
- /** List of arranged items in category. */
2680
+ /** List of arranged items. */
2533
2681
  items?: ItemReference[];
2534
2682
  }
2535
2683
  interface GetCategoriesTreeRequest {
2536
- /** A reference to the tree. */
2684
+ /** Category tree reference details. */
2537
2685
  treeReference?: TreeReference;
2538
2686
  }
2539
2687
  interface GetCategoriesTreeResponse {
@@ -2544,7 +2692,7 @@ interface GetCategoriesTreeResponse {
2544
2692
  interface CategoryTreeNode {
2545
2693
  /** Category ID. */
2546
2694
  _id?: Uint8Array;
2547
- /** A list of child categories. */
2695
+ /** List of subcategories. */
2548
2696
  subcategories?: CategoryTreeNode[];
2549
2697
  }
2550
2698
  interface DomainEvent extends DomainEventBodyOneOf {
@@ -2949,6 +3097,9 @@ interface GetCategoryResponseNonNullableFields {
2949
3097
  interface UpdateCategoryResponseNonNullableFields {
2950
3098
  category?: CategoryNonNullableFields;
2951
3099
  }
3100
+ interface QueryCategoriesResponseNonNullableFields {
3101
+ categories: CategoryNonNullableFields[];
3102
+ }
2952
3103
  interface ValueAggregationResultNonNullableFields {
2953
3104
  value: string;
2954
3105
  count: number;
@@ -3084,104 +3235,48 @@ interface SetArrangedItemsResponseNonNullableFields {
3084
3235
  interface GetArrangedItemsResponseNonNullableFields {
3085
3236
  items: ItemReferenceNonNullableFields[];
3086
3237
  }
3087
- interface BaseEventMetadata {
3088
- /** App instance ID. */
3089
- instanceId?: string | null;
3090
- /** Event type. */
3091
- eventType?: string;
3092
- /** The identification type and identity data. */
3093
- identity?: IdentificationData;
3094
- }
3095
- interface EventMetadata extends BaseEventMetadata {
3096
- /**
3097
- * Unique event ID.
3098
- * Allows clients to ignore duplicate webhooks.
3099
- */
3100
- _id?: string;
3101
- /**
3102
- * Assumes actions are also always typed to an entity_type
3103
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
3104
- */
3105
- entityFqdn?: string;
3106
- /**
3107
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
3108
- * This is although the created/updated/deleted notion is duplication of the oneof types
3109
- * Example: created/updated/deleted/started/completed/email_opened
3110
- */
3111
- slug?: string;
3112
- /** ID of the entity associated with the event. */
3113
- entityId?: string;
3114
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3115
- eventTime?: Date;
3116
- /**
3117
- * Whether the event was triggered as a result of a privacy regulation application
3118
- * (for example, GDPR).
3119
- */
3120
- triggeredByAnonymizeRequest?: boolean | null;
3121
- /** If present, indicates the action that triggered the event. */
3122
- originatedFrom?: string | null;
3123
- /**
3124
- * A sequence number defining the order of updates to the underlying entity.
3125
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
3126
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
3127
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
3128
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
3129
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
3130
- */
3131
- entityEventSequence?: string | null;
3132
- }
3133
- interface CategoryCreatedEnvelope {
3134
- entity: Category;
3135
- metadata: EventMetadata;
3136
- }
3137
- interface CategoryUpdatedEnvelope {
3138
- entity: Category;
3139
- metadata: EventMetadata;
3140
- }
3141
- interface CategoryDeletedEnvelope {
3142
- metadata: EventMetadata;
3143
- }
3144
- interface CategoryMovedEnvelope {
3145
- data: CategoryMoved;
3146
- metadata: EventMetadata;
3147
- }
3148
- interface CategoryItemAddedToCategoryEnvelope {
3149
- data: ItemAddedToCategory;
3150
- metadata: EventMetadata;
3151
- }
3152
- interface CategoryItemRemovedFromCategoryEnvelope {
3153
- data: ItemRemovedFromCategory;
3154
- metadata: EventMetadata;
3155
- }
3156
- interface CategoryItemsArrangedInCategoryEnvelope {
3157
- data: ItemsArrangedInCategory;
3158
- metadata: EventMetadata;
3159
- }
3160
3238
  interface CreateCategoryOptions {
3161
- /** A reference to the tree that contains this category. */
3239
+ /** Category tree reference details. */
3162
3240
  treeReference: TreeReference;
3163
- /** Fields to return in the response. When not provided, these fields are not returned. */
3241
+ /**
3242
+ * Fields to include in the response.
3243
+ *
3244
+ * Supported values:
3245
+ * + `BREADCRUMBS`
3246
+ * + `DESCRIPTION`
3247
+ * + `RICH_CONTENT_DESCRIPTION`
3248
+ */
3164
3249
  fields?: SingleEntityOpsRequestedFields[];
3165
3250
  }
3166
3251
  interface GetCategoryOptions {
3167
- /** Fields to return in the response. When not provided, these fields are not returned. */
3252
+ /**
3253
+ * Fields to include in the response.
3254
+ *
3255
+ * Supported values:
3256
+ * + `BREADCRUMBS`
3257
+ * + `DESCRIPTION`
3258
+ * + `RICH_CONTENT_DESCRIPTION`
3259
+ */
3168
3260
  fields?: SingleEntityOpsRequestedFields[];
3169
3261
  }
3170
3262
  interface UpdateCategory {
3171
3263
  /** Category ID. */
3172
3264
  _id?: string | null;
3173
3265
  /**
3174
- * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision
3266
+ * Revision number, which increments by 1 each time the category is updated.
3267
+ * To prevent conflicting changes, the current revision must be passed when updating.
3268
+ *
3269
+ * Ignored when creating a category.
3175
3270
  * @readonly
3176
3271
  */
3177
3272
  revision?: string | null;
3178
3273
  /**
3179
- * Represents the time this Category was created.
3274
+ * Date and time the category was created.
3180
3275
  * @readonly
3181
3276
  */
3182
3277
  _createdDate?: Date;
3183
3278
  /**
3184
- * Represents the time this Category was last updated.
3279
+ * Date and time the category was updated.
3185
3280
  * @readonly
3186
3281
  */
3187
3282
  _updatedDate?: Date;
@@ -3189,165 +3284,322 @@ interface UpdateCategory {
3189
3284
  name?: string | null;
3190
3285
  /**
3191
3286
  * Category image.
3192
- * Pass existing media ID for image previously saved in Wix media manager.
3193
- * Pass full image URL to upload an image to Wix media manager.
3194
- * In case of full url the image will be updated eventually.
3287
+ *
3288
+ * + Pass WixMedia image ID for media previously saved in the [Wix Media Manager](https://support.wix.com/en/article/wix-media-about-the-media-manager).
3289
+ * + Pass full image URL to upload to Wix Media Manager.
3195
3290
  */
3196
3291
  image?: string;
3197
3292
  /**
3198
- * Number of items in this category alone.
3293
+ * Number of items in this category.
3199
3294
  * @readonly
3200
3295
  */
3201
3296
  itemCounter?: number;
3202
- /** Category description. */
3297
+ /**
3298
+ * Category description.
3299
+ * > **Note:** This field is returned only when you pass `fields: "DESCRIPTION"` in the request.
3300
+ */
3203
3301
  description?: string | null;
3204
3302
  /**
3205
- * Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
3206
- * Even if visible is `false`, it can still be added manually to static page.
3207
- * If parent visibility is updated to `false`, all the children visibility will be updated eventually to `false`.
3208
- * It is not allowed to set visible as `true` if at least one of the parent categories has visible `false`.
3303
+ * Whether the category is visible to site visitors in dynamic pages.
3304
+ *
3305
+ * + If the parent category's visibility is set to `false`, all the children categories' visibility will also be set to `false`.
3306
+ * + Passing `true` will fail if the visibility of any parent categories is `false`.
3307
+ * + Default: `false`.
3209
3308
  */
3210
3309
  visible?: boolean | null;
3211
3310
  /**
3212
- * A category's breadcrumbs, Updated on moved to different parent or on renamed.
3213
- * > **Note:** This field is returned only when you pass `fields: "BREADCRUMBS"` in the request.
3311
+ * Category breadcrumbs.
3312
+ *
3313
+ * > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
3214
3314
  * @readonly
3215
3315
  */
3216
3316
  breadcrumbs?: BreadcrumbItemValues;
3217
- /** The parent category. */
3317
+ /** Parent category reference data. */
3218
3318
  parentCategory?: ParentCategory;
3219
3319
  /**
3220
- * A permanent, friendly URL name.
3221
- * If not provided, on create generated automatically.
3222
- * When provided, validated and must be unique.
3320
+ * Category slug.
3321
+ *
3322
+ * If not provided, the slug is autogenerated based on the category name.
3223
3323
  */
3224
3324
  slug?: string | null;
3225
3325
  /**
3226
- * Category description which supports rich content. It is independent from `description` field and can be used instead of it or in addition to it.
3227
- * In order to use this field you have to integrate with "Ricos" on frontend side. To learn how to do it visit https://ricos.js.org/.
3326
+ * Category description using rich content.
3327
+ *
3328
+ * Learn more about [Working with Rich Content](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content).
3329
+ * > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
3228
3330
  */
3229
3331
  richContentDescription?: RichContent;
3230
3332
  /**
3231
- * Optional - the ID of the app responsible for managing the items within this category.
3232
- * If provided, the update of items assigned to this category and the deletion of it will be allowed only to the managing app.
3233
- * The default is Empty.
3333
+ * ID of the app responsible for managing the items in this category.
3334
+ *
3335
+ * Pass your app ID to restrict updating and deleting items in this category to your app only.
3234
3336
  */
3235
3337
  managingAppId?: string | null;
3236
- /** Extensions enabling users to save custom data related to the category. */
3338
+ /**
3339
+ * Custom extended fields for the category object.
3340
+ *
3341
+ * [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls.
3342
+ */
3237
3343
  extendedFields?: ExtendedFields;
3238
3344
  }
3239
3345
  interface UpdateCategoryOptions {
3240
- /** A reference to the tree that contains this category. */
3346
+ /** Category tree reference details. */
3241
3347
  treeReference: TreeReference;
3242
- /** Fields to return in the response. When not provided, these fields are not returned. */
3348
+ /**
3349
+ * Fields to include in the response.
3350
+ *
3351
+ * Supported values:
3352
+ * + `BREADCRUMBS`
3353
+ * + `DESCRIPTION`
3354
+ * + `RICH_CONTENT_DESCRIPTION`
3355
+ */
3243
3356
  fields?: SingleEntityOpsRequestedFields[];
3244
3357
  }
3358
+ interface QueryCategoriesOptions {
3359
+ /** Category tree reference details. */
3360
+ treeReference: TreeReference;
3361
+ /**
3362
+ * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
3363
+ * Used only in the first request. Following requests use the cursor token.
3364
+ */
3365
+ returnNonVisibleCategories?: boolean | undefined;
3366
+ /**
3367
+ * Fields to include in the response.
3368
+ *
3369
+ * Supported values:
3370
+ * + `BREADCRUMBS`
3371
+ * + `DESCRIPTION`
3372
+ * + `RICH_CONTENT_DESCRIPTION`
3373
+ */
3374
+ fields?: RequestedFields[] | undefined;
3375
+ }
3376
+ interface QueryCursorResult {
3377
+ cursors: Cursors;
3378
+ hasNext: () => boolean;
3379
+ hasPrev: () => boolean;
3380
+ length: number;
3381
+ pageSize: number;
3382
+ }
3383
+ interface CategoriesQueryResult extends QueryCursorResult {
3384
+ items: Category[];
3385
+ query: CategoriesQueryBuilder;
3386
+ next: () => Promise<CategoriesQueryResult>;
3387
+ prev: () => Promise<CategoriesQueryResult>;
3388
+ }
3389
+ interface CategoriesQueryBuilder {
3390
+ /** @param propertyName - Property whose value is compared with `value`.
3391
+ * @param value - Value to compare against.
3392
+ * @documentationMaturity preview
3393
+ */
3394
+ eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
3395
+ /** @param propertyName - Property whose value is compared with `value`.
3396
+ * @param value - Value to compare against.
3397
+ * @documentationMaturity preview
3398
+ */
3399
+ ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
3400
+ /** @param propertyName - Property whose value is compared with `value`.
3401
+ * @param value - Value to compare against.
3402
+ * @documentationMaturity preview
3403
+ */
3404
+ ge: (propertyName: '_createdDate' | '_updatedDate' | 'parentCategory.index', value: any) => CategoriesQueryBuilder;
3405
+ /** @param propertyName - Property whose value is compared with `value`.
3406
+ * @param value - Value to compare against.
3407
+ * @documentationMaturity preview
3408
+ */
3409
+ gt: (propertyName: '_createdDate' | '_updatedDate' | 'parentCategory.index', value: any) => CategoriesQueryBuilder;
3410
+ /** @param propertyName - Property whose value is compared with `value`.
3411
+ * @param value - Value to compare against.
3412
+ * @documentationMaturity preview
3413
+ */
3414
+ le: (propertyName: '_createdDate' | '_updatedDate' | 'parentCategory.index', value: any) => CategoriesQueryBuilder;
3415
+ /** @param propertyName - Property whose value is compared with `value`.
3416
+ * @param value - Value to compare against.
3417
+ * @documentationMaturity preview
3418
+ */
3419
+ lt: (propertyName: '_createdDate' | '_updatedDate' | 'parentCategory.index', value: any) => CategoriesQueryBuilder;
3420
+ /** @param propertyName - Property whose value is compared with `string`.
3421
+ * @param string - String to compare against. Case-insensitive.
3422
+ * @documentationMaturity preview
3423
+ */
3424
+ startsWith: (propertyName: '_id' | 'name' | 'description' | 'parentCategory.id' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: string) => CategoriesQueryBuilder;
3425
+ /** @param propertyName - Property whose value is compared with `values`.
3426
+ * @param values - List of values to compare against.
3427
+ * @documentationMaturity preview
3428
+ */
3429
+ hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any[]) => CategoriesQueryBuilder;
3430
+ /** @documentationMaturity preview */
3431
+ in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
3432
+ /** @documentationMaturity preview */
3433
+ exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: boolean) => CategoriesQueryBuilder;
3434
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3435
+ * @documentationMaturity preview
3436
+ */
3437
+ ascending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'name' | 'parentCategory.id' | 'parentCategory.index' | 'managingAppId'>) => CategoriesQueryBuilder;
3438
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3439
+ * @documentationMaturity preview
3440
+ */
3441
+ descending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'name' | 'parentCategory.id' | 'parentCategory.index' | 'managingAppId'>) => CategoriesQueryBuilder;
3442
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
3443
+ * @documentationMaturity preview
3444
+ */
3445
+ limit: (limit: number) => CategoriesQueryBuilder;
3446
+ /** @param cursor - A pointer to specific record
3447
+ * @documentationMaturity preview
3448
+ */
3449
+ skipTo: (cursor: string) => CategoriesQueryBuilder;
3450
+ /** @documentationMaturity preview */
3451
+ find: () => Promise<CategoriesQueryResult>;
3452
+ }
3245
3453
  interface SearchCategoriesOptions {
3246
- /** WQL query expression. */
3454
+ /** Search options. */
3247
3455
  search?: CursorSearch;
3248
3456
  /**
3249
- * A reference to the tree that contains this category.
3250
- * Used only in the first request. Following requests use the cursor token.
3457
+ * Category tree reference details.
3458
+ * > **Note:** Pass `treeReference` only in the first request. Pass the cursor token in subsequent requests.
3251
3459
  */
3252
3460
  treeReference: TreeReference;
3253
3461
  /**
3254
- * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
3255
- * Used only in the first request. Following requests use the cursor token.
3462
+ * Whether to return the categories with `visible: false`.
3463
+ *
3464
+ * Default: `false` - only visible categories are returned in the response
3256
3465
  */
3257
3466
  returnNonVisibleCategories?: boolean;
3258
- /** Fields to return in the response. When not provided, these fields are not returned. */
3467
+ /**
3468
+ * Fields to include in the response.
3469
+ *
3470
+ * Supported values:
3471
+ * + `BREADCRUMBS`
3472
+ * + `DESCRIPTION`
3473
+ * + `RICH_CONTENT_DESCRIPTION`
3474
+ */
3259
3475
  fields?: RequestedFields[];
3260
3476
  }
3261
3477
  interface CountCategoriesOptions {
3262
3478
  /**
3263
- * A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf)
3264
- * To understand supported filters and limitations see `SearchCategories` method.
3479
+ * Filter object.
3480
+ *
3481
+ * Learn more about the [filter object structure](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
3265
3482
  */
3266
3483
  filter?: Record<string, any> | null;
3267
- /** free text to match in searchable fields */
3484
+ /** Search options. */
3268
3485
  search?: SearchDetails;
3269
- /**
3270
- * A reference to the tree that contains this category.
3271
- * Used only in the first request. Following requests use the cursor token.
3272
- */
3486
+ /** Category tree reference details. */
3273
3487
  treeReference: TreeReference;
3274
3488
  /**
3275
- * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
3276
- * Used only in the first request. Following requests use the cursor token.
3489
+ * Whether to return categories with `visible: false` (hidden categories).
3490
+ *
3491
+ * Default: `false` - only visible categories are returned in the response
3277
3492
  */
3278
3493
  returnNonVisibleCategories?: boolean;
3279
3494
  }
3280
3495
  interface MoveCategoryOptions {
3281
3496
  /**
3282
- * ID of parent category.
3283
- * Optional. When not passed it will fallback to the root category
3497
+ * Parent category ID.
3498
+ *
3499
+ * Default: root category ID
3284
3500
  */
3285
3501
  parentCategoryId?: string | null;
3286
3502
  /**
3287
3503
  * Where to place the subcategory.
3288
- * `FIRST` - make category with `category_id` first subcategory with manual arrangement.
3289
- * `LAST` - make category with `category_id` last subcategory with manual arrangement.
3290
- * `BEFORE` - requires `move_before_category_id`, category with `category_id` will be moved before it.
3504
+ *
3505
+ * + `FIRST`: Position the category as the first subcategory.
3506
+ * + `LAST`: Position the category as the last subcategory.
3507
+ * + `AFTER`: Position the category after the category ID passed in `moveAfterCategoryId`.
3291
3508
  */
3292
3509
  position: Position;
3293
- /** Required when `position` is `BEFORE`. Otherwise ignored */
3294
- moveBeforeCategoryId?: string | null;
3510
+ /** Required when passing `position: AFTER`. */
3511
+ moveAfterCategoryId?: string | null;
3295
3512
  }
3296
3513
  interface BulkUpdateCategoriesOptions {
3297
- /** A reference to the tree that contains the categories. */
3514
+ /** Category tree reference details. */
3298
3515
  treeReference: TreeReference;
3299
- /** Whether to return the category entity in the response. */
3516
+ /**
3517
+ * Whether to return the full category entity in the response.
3518
+ *
3519
+ * Default: `false`
3520
+ */
3300
3521
  returnEntity?: boolean;
3301
- /** Fields to return in the response. When not provided, these fields are not returned. */
3522
+ /**
3523
+ * Fields to include in the response.
3524
+ *
3525
+ * Supported values:
3526
+ * + `BREADCRUMBS`
3527
+ * + `DESCRIPTION`
3528
+ * + `RICH_CONTENT_DESCRIPTION`
3529
+ */
3302
3530
  fields?: RequestedFields[];
3303
3531
  }
3304
3532
  interface UpdateCategoryVisibilityOptions {
3305
- /** value to set `visible` to */
3533
+ /**
3534
+ * Whether the category is visible to site visitors in dynamic pages.
3535
+ *
3536
+ * + If a parent category's visibility is set to `false`, all the children categories' visibility will also be set to `false`.
3537
+ * + Passing `true` will fail if the visibility of any parent categories is `false`.
3538
+ */
3306
3539
  visible: boolean;
3307
- /** A reference to the tree that contains this category. */
3540
+ /** Category tree reference details. */
3308
3541
  treeReference: TreeReference;
3309
- /** Latest revision of the category. */
3542
+ /**
3543
+ * Latest revision of the category.
3544
+ * To prevent conflicting changes, the current revision must be passed on update.
3545
+ */
3310
3546
  revision: string | null;
3311
- /** Fields to return in the response. When not provided, these fields are not returned. */
3547
+ /**
3548
+ * Fields to include in the response.
3549
+ *
3550
+ * Supported values:
3551
+ * + `BREADCRUMBS`
3552
+ * + `DESCRIPTION`
3553
+ * + `RICH_CONTENT_DESCRIPTION`
3554
+ */
3312
3555
  fields?: SingleEntityOpsRequestedFields[];
3313
3556
  }
3314
3557
  interface BulkAddItemsToCategoryOptions {
3315
- /** A reference to the tree that contains this category. */
3558
+ /** Category tree reference details. */
3316
3559
  treeReference: TreeReference;
3317
3560
  }
3318
3561
  interface BulkAddItemToCategoriesOptions {
3319
- /** Category ids. */
3562
+ /** IDs of categories to which to add the item. */
3320
3563
  categoryIds: string[];
3321
- /** A reference to the tree that contains the categories. */
3564
+ /** Category tree reference details. */
3322
3565
  treeReference: TreeReference;
3323
3566
  }
3324
3567
  interface BulkRemoveItemsFromCategoryOptions {
3325
- /** A reference to the tree that contains this category. */
3568
+ /** Category tree reference details. */
3326
3569
  treeReference: TreeReference;
3327
3570
  }
3328
3571
  interface BulkRemoveItemFromCategoriesOptions {
3329
- /** Category ids. */
3572
+ /** IDs of categories from which to remove the item. */
3330
3573
  categoryIds: string[];
3331
- /** A reference to the tree that contains the categories. */
3574
+ /** Category tree reference details. */
3332
3575
  treeReference: TreeReference;
3333
3576
  }
3334
3577
  interface ListItemsInCategoryOptions extends ListItemsInCategoryRequestPagingMethodOneOf {
3335
- /** Default: `false`. When `true` items arranged by user will be return before all other items. */
3578
+ /**
3579
+ * Whether to use category arrangement for sorting items.
3580
+ *
3581
+ * Default: `false`
3582
+ */
3336
3583
  useCategoryArrangement?: boolean;
3337
- /** Default: `false`. When `false` only direct items of category will be returned. When `true` response contains also items from all subcategories which current category contains */
3584
+ /**
3585
+ * Whether to include items from subcategories.
3586
+ *
3587
+ * Default: `false` (only direct items of the category will be returned)
3588
+ */
3338
3589
  includeItemsFromSubcategories?: boolean;
3339
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `use_category_arrangement` or `include_items_from_subcategories`. */
3590
+ /**
3591
+ * Cursor paging options.
3592
+ *
3593
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
3594
+ */
3340
3595
  cursorPaging?: CursorPaging;
3341
3596
  }
3342
3597
  interface ListCategoriesForItemOptions {
3343
- /** A reference to the tree that contains the categories. */
3598
+ /** Category tree reference details. */
3344
3599
  treeReference: TreeReference;
3345
3600
  }
3346
3601
  interface SetArrangedItemsOptions {
3347
- /**
3348
- * List of arranged items to set.
3349
- * All items must be direct children of category with `category_id`, otherwise error returned.
3350
- */
3602
+ /** List of items to set. */
3351
3603
  items?: ItemReference[];
3352
3604
  }
3353
3605
 
@@ -3377,16 +3629,6 @@ type APIMetadata = {
3377
3629
  packageName?: string;
3378
3630
  };
3379
3631
  type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
3380
- type EventDefinition<Payload = unknown, Type extends string = string> = {
3381
- __type: 'event-definition';
3382
- type: Type;
3383
- isDomainEvent?: boolean;
3384
- transformations?: (envelope: unknown) => Payload;
3385
- __payload: Payload;
3386
- };
3387
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
3388
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
3389
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
3390
3632
 
3391
3633
  declare global {
3392
3634
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -3397,12 +3639,11 @@ declare global {
3397
3639
 
3398
3640
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3399
3641
 
3400
- declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3401
-
3402
3642
  declare const createCategory: ReturnType<typeof createRESTModule<typeof publicCreateCategory>>;
3403
3643
  declare const getCategory: ReturnType<typeof createRESTModule<typeof publicGetCategory>>;
3404
3644
  declare const updateCategory: ReturnType<typeof createRESTModule<typeof publicUpdateCategory>>;
3405
3645
  declare const deleteCategory: ReturnType<typeof createRESTModule<typeof publicDeleteCategory>>;
3646
+ declare const queryCategories: ReturnType<typeof createRESTModule<typeof publicQueryCategories>>;
3406
3647
  declare const searchCategories: ReturnType<typeof createRESTModule<typeof publicSearchCategories>>;
3407
3648
  declare const countCategories: ReturnType<typeof createRESTModule<typeof publicCountCategories>>;
3408
3649
  declare const moveCategory: ReturnType<typeof createRESTModule<typeof publicMoveCategory>>;
@@ -3417,13 +3658,6 @@ declare const listCategoriesForItem: ReturnType<typeof createRESTModule<typeof p
3417
3658
  declare const listTrees: ReturnType<typeof createRESTModule<typeof publicListTrees>>;
3418
3659
  declare const setArrangedItems: ReturnType<typeof createRESTModule<typeof publicSetArrangedItems>>;
3419
3660
  declare const getArrangedItems: ReturnType<typeof createRESTModule<typeof publicGetArrangedItems>>;
3420
- declare const onCategoryCreated: ReturnType<typeof createEventModule<typeof publicOnCategoryCreated>>;
3421
- declare const onCategoryUpdated: ReturnType<typeof createEventModule<typeof publicOnCategoryUpdated>>;
3422
- declare const onCategoryDeleted: ReturnType<typeof createEventModule<typeof publicOnCategoryDeleted>>;
3423
- declare const onCategoryMoved: ReturnType<typeof createEventModule<typeof publicOnCategoryMoved>>;
3424
- declare const onCategoryItemAddedToCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemAddedToCategory>>;
3425
- declare const onCategoryItemRemovedFromCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemRemovedFromCategory>>;
3426
- declare const onCategoryItemsArrangedInCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemsArrangedInCategory>>;
3427
3661
 
3428
3662
  type index_d_ActionEvent = ActionEvent;
3429
3663
  type index_d_Aggregation = Aggregation;
@@ -3448,7 +3682,6 @@ type index_d_Background = Background;
3448
3682
  type index_d_BackgroundBackgroundOneOf = BackgroundBackgroundOneOf;
3449
3683
  type index_d_BackgroundType = BackgroundType;
3450
3684
  declare const index_d_BackgroundType: typeof BackgroundType;
3451
- type index_d_BaseEventMetadata = BaseEventMetadata;
3452
3685
  type index_d_BlockquoteData = BlockquoteData;
3453
3686
  type index_d_BookingData = BookingData;
3454
3687
  type index_d_Border = Border;
@@ -3492,17 +3725,12 @@ type index_d_BulkUpdateCategoryVisibilityRequest = BulkUpdateCategoryVisibilityR
3492
3725
  type index_d_BulkUpdateCategoryVisibilityResponse = BulkUpdateCategoryVisibilityResponse;
3493
3726
  type index_d_BulletedListData = BulletedListData;
3494
3727
  type index_d_ButtonData = ButtonData;
3728
+ type index_d_CategoriesQueryBuilder = CategoriesQueryBuilder;
3729
+ type index_d_CategoriesQueryResult = CategoriesQueryResult;
3495
3730
  type index_d_Category = Category;
3496
- type index_d_CategoryCreatedEnvelope = CategoryCreatedEnvelope;
3497
- type index_d_CategoryDeletedEnvelope = CategoryDeletedEnvelope;
3498
- type index_d_CategoryItemAddedToCategoryEnvelope = CategoryItemAddedToCategoryEnvelope;
3499
- type index_d_CategoryItemRemovedFromCategoryEnvelope = CategoryItemRemovedFromCategoryEnvelope;
3500
- type index_d_CategoryItemsArrangedInCategoryEnvelope = CategoryItemsArrangedInCategoryEnvelope;
3501
3731
  type index_d_CategoryMoved = CategoryMoved;
3502
- type index_d_CategoryMovedEnvelope = CategoryMovedEnvelope;
3503
3732
  type index_d_CategoryNonNullableFields = CategoryNonNullableFields;
3504
3733
  type index_d_CategoryTreeNode = CategoryTreeNode;
3505
- type index_d_CategoryUpdatedEnvelope = CategoryUpdatedEnvelope;
3506
3734
  type index_d_CellStyle = CellStyle;
3507
3735
  type index_d_CodeBlockData = CodeBlockData;
3508
3736
  type index_d_CollapsibleListData = CollapsibleListData;
@@ -3522,6 +3750,8 @@ type index_d_Crop = Crop;
3522
3750
  declare const index_d_Crop: typeof Crop;
3523
3751
  type index_d_CursorPaging = CursorPaging;
3524
3752
  type index_d_CursorPagingMetadata = CursorPagingMetadata;
3753
+ type index_d_CursorQuery = CursorQuery;
3754
+ type index_d_CursorQueryPagingMethodOneOf = CursorQueryPagingMethodOneOf;
3525
3755
  type index_d_CursorSearch = CursorSearch;
3526
3756
  type index_d_CursorSearchPagingMethodOneOf = CursorSearchPagingMethodOneOf;
3527
3757
  type index_d_Cursors = Cursors;
@@ -3550,7 +3780,6 @@ type index_d_EntityCreatedEvent = EntityCreatedEvent;
3550
3780
  type index_d_EntityDeletedEvent = EntityDeletedEvent;
3551
3781
  type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
3552
3782
  type index_d_EventData = EventData;
3553
- type index_d_EventMetadata = EventMetadata;
3554
3783
  type index_d_ExtendedFields = ExtendedFields;
3555
3784
  type index_d_File = File;
3556
3785
  type index_d_FileData = FileData;
@@ -3700,10 +3929,10 @@ declare const index_d_PollLayoutType: typeof PollLayoutType;
3700
3929
  type index_d_PollSettings = PollSettings;
3701
3930
  type index_d_Position = Position;
3702
3931
  declare const index_d_Position: typeof Position;
3932
+ type index_d_QueryCategoriesOptions = QueryCategoriesOptions;
3703
3933
  type index_d_QueryCategoriesRequest = QueryCategoriesRequest;
3704
3934
  type index_d_QueryCategoriesResponse = QueryCategoriesResponse;
3705
- type index_d_QueryV2 = QueryV2;
3706
- type index_d_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
3935
+ type index_d_QueryCategoriesResponseNonNullableFields = QueryCategoriesResponseNonNullableFields;
3707
3936
  type index_d_RangeAggregation = RangeAggregation;
3708
3937
  type index_d_RangeAggregationResult = RangeAggregationResult;
3709
3938
  type index_d_RangeBucket = RangeBucket;
@@ -3805,19 +4034,13 @@ declare const index_d_listCategoriesForItem: typeof listCategoriesForItem;
3805
4034
  declare const index_d_listItemsInCategory: typeof listItemsInCategory;
3806
4035
  declare const index_d_listTrees: typeof listTrees;
3807
4036
  declare const index_d_moveCategory: typeof moveCategory;
3808
- declare const index_d_onCategoryCreated: typeof onCategoryCreated;
3809
- declare const index_d_onCategoryDeleted: typeof onCategoryDeleted;
3810
- declare const index_d_onCategoryItemAddedToCategory: typeof onCategoryItemAddedToCategory;
3811
- declare const index_d_onCategoryItemRemovedFromCategory: typeof onCategoryItemRemovedFromCategory;
3812
- declare const index_d_onCategoryItemsArrangedInCategory: typeof onCategoryItemsArrangedInCategory;
3813
- declare const index_d_onCategoryMoved: typeof onCategoryMoved;
3814
- declare const index_d_onCategoryUpdated: typeof onCategoryUpdated;
4037
+ declare const index_d_queryCategories: typeof queryCategories;
3815
4038
  declare const index_d_searchCategories: typeof searchCategories;
3816
4039
  declare const index_d_setArrangedItems: typeof setArrangedItems;
3817
4040
  declare const index_d_updateCategory: typeof updateCategory;
3818
4041
  declare const index_d_updateCategoryVisibility: typeof updateCategoryVisibility;
3819
4042
  declare namespace index_d {
3820
- export { type index_d_ActionEvent as ActionEvent, type index_d_Aggregation as Aggregation, type index_d_AggregationData as AggregationData, type index_d_AggregationKindOneOf as AggregationKindOneOf, type index_d_AggregationResults as AggregationResults, type index_d_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type index_d_AggregationResultsScalarResult as AggregationResultsScalarResult, index_d_AggregationType as AggregationType, index_d_Alignment as Alignment, type index_d_AnchorData as AnchorData, type index_d_App as App, type index_d_AppEmbedData as AppEmbedData, type index_d_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, index_d_AppType as AppType, type index_d_ApplicationError as ApplicationError, type index_d_AudioData as AudioData, type index_d_Background as Background, type index_d_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, index_d_BackgroundType as BackgroundType, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BlockquoteData as BlockquoteData, type index_d_BookingData as BookingData, type index_d_Border as Border, type index_d_BorderColors as BorderColors, type index_d_BreadcrumbItem as BreadcrumbItem, type index_d_BreadcrumbItemValues as BreadcrumbItemValues, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkAddItemToCategoriesOptions as BulkAddItemToCategoriesOptions, type index_d_BulkAddItemToCategoriesRequest as BulkAddItemToCategoriesRequest, type index_d_BulkAddItemToCategoriesResponse as BulkAddItemToCategoriesResponse, type index_d_BulkAddItemToCategoriesResponseNonNullableFields as BulkAddItemToCategoriesResponseNonNullableFields, type index_d_BulkAddItemsToCategoryOptions as BulkAddItemsToCategoryOptions, type index_d_BulkAddItemsToCategoryRequest as BulkAddItemsToCategoryRequest, type index_d_BulkAddItemsToCategoryResponse as BulkAddItemsToCategoryResponse, type index_d_BulkAddItemsToCategoryResponseNonNullableFields as BulkAddItemsToCategoryResponseNonNullableFields, type index_d_BulkCategoriesResult as BulkCategoriesResult, type index_d_BulkCreateCategoriesRequest as BulkCreateCategoriesRequest, type index_d_BulkCreateCategoriesResponse as BulkCreateCategoriesResponse, type index_d_BulkDeleteCategoriesByFilterRequest as BulkDeleteCategoriesByFilterRequest, type index_d_BulkDeleteCategoriesByFilterResponse as BulkDeleteCategoriesByFilterResponse, type index_d_BulkDeleteCategoriesRequest as BulkDeleteCategoriesRequest, type index_d_BulkDeleteCategoriesResponse as BulkDeleteCategoriesResponse, type index_d_BulkDeleteCategoriesResponseBulkCategoriesResult as BulkDeleteCategoriesResponseBulkCategoriesResult, type index_d_BulkItemToCategoriesResult as BulkItemToCategoriesResult, type index_d_BulkItemsToCategoryResult as BulkItemsToCategoryResult, type index_d_BulkRemoveItemFromCategoriesOptions as BulkRemoveItemFromCategoriesOptions, type index_d_BulkRemoveItemFromCategoriesRequest as BulkRemoveItemFromCategoriesRequest, type index_d_BulkRemoveItemFromCategoriesResponse as BulkRemoveItemFromCategoriesResponse, type index_d_BulkRemoveItemFromCategoriesResponseNonNullableFields as BulkRemoveItemFromCategoriesResponseNonNullableFields, type index_d_BulkRemoveItemsFromCategoryOptions as BulkRemoveItemsFromCategoryOptions, type index_d_BulkRemoveItemsFromCategoryRequest as BulkRemoveItemsFromCategoryRequest, type index_d_BulkRemoveItemsFromCategoryResponse as BulkRemoveItemsFromCategoryResponse, type index_d_BulkRemoveItemsFromCategoryResponseNonNullableFields as BulkRemoveItemsFromCategoryResponseNonNullableFields, type index_d_BulkUpdateCategoriesOptions as BulkUpdateCategoriesOptions, type index_d_BulkUpdateCategoriesRequest as BulkUpdateCategoriesRequest, type index_d_BulkUpdateCategoriesResponse as BulkUpdateCategoriesResponse, type index_d_BulkUpdateCategoriesResponseNonNullableFields as BulkUpdateCategoriesResponseNonNullableFields, type index_d_BulkUpdateCategoryVisibilityByFilterRequest as BulkUpdateCategoryVisibilityByFilterRequest, type index_d_BulkUpdateCategoryVisibilityByFilterResponse as BulkUpdateCategoryVisibilityByFilterResponse, type index_d_BulkUpdateCategoryVisibilityRequest as BulkUpdateCategoryVisibilityRequest, type index_d_BulkUpdateCategoryVisibilityResponse as BulkUpdateCategoryVisibilityResponse, type index_d_BulletedListData as BulletedListData, type index_d_ButtonData as ButtonData, type index_d_Category as Category, type index_d_CategoryCreatedEnvelope as CategoryCreatedEnvelope, type index_d_CategoryDeletedEnvelope as CategoryDeletedEnvelope, type index_d_CategoryItemAddedToCategoryEnvelope as CategoryItemAddedToCategoryEnvelope, type index_d_CategoryItemRemovedFromCategoryEnvelope as CategoryItemRemovedFromCategoryEnvelope, type index_d_CategoryItemsArrangedInCategoryEnvelope as CategoryItemsArrangedInCategoryEnvelope, type index_d_CategoryMoved as CategoryMoved, type index_d_CategoryMovedEnvelope as CategoryMovedEnvelope, type index_d_CategoryNonNullableFields as CategoryNonNullableFields, type index_d_CategoryTreeNode as CategoryTreeNode, type index_d_CategoryUpdatedEnvelope as CategoryUpdatedEnvelope, type index_d_CellStyle as CellStyle, type index_d_CodeBlockData as CodeBlockData, type index_d_CollapsibleListData as CollapsibleListData, type index_d_ColorData as ColorData, type index_d_Colors as Colors, type index_d_CommonCursors as CommonCursors, type index_d_CompactCategory as CompactCategory, type index_d_CountCategoriesOptions as CountCategoriesOptions, type index_d_CountCategoriesRequest as CountCategoriesRequest, type index_d_CountCategoriesResponse as CountCategoriesResponse, type index_d_CountCategoriesResponseNonNullableFields as CountCategoriesResponseNonNullableFields, type index_d_CreateCategoryOptions as CreateCategoryOptions, type index_d_CreateCategoryRequest as CreateCategoryRequest, type index_d_CreateCategoryResponse as CreateCategoryResponse, type index_d_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, index_d_Crop as Crop, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorSearch as CursorSearch, type index_d_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DateHistogramAggregation as DateHistogramAggregation, type index_d_DateHistogramResult as DateHistogramResult, type index_d_DateHistogramResults as DateHistogramResults, type index_d_Decoration as Decoration, type index_d_DecorationDataOneOf as DecorationDataOneOf, index_d_DecorationType as DecorationType, type index_d_DeleteCategoryRequest as DeleteCategoryRequest, type index_d_DeleteCategoryResponse as DeleteCategoryResponse, type index_d_DeprecatedSearchCategoriesWithOffsetRequest as DeprecatedSearchCategoriesWithOffsetRequest, type index_d_DeprecatedSearchCategoriesWithOffsetResponse as DeprecatedSearchCategoriesWithOffsetResponse, type index_d_Design as Design, type index_d_Dimensions as Dimensions, index_d_Direction as Direction, type index_d_DividerData as DividerData, type index_d_DocumentStyle as DocumentStyle, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EmbedData as EmbedData, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventData as EventData, type index_d_EventMetadata as EventMetadata, type index_d_ExtendedFields as ExtendedFields, type index_d_File as File, type index_d_FileData as FileData, type index_d_FileSource as FileSource, type index_d_FileSourceDataOneOf as FileSourceDataOneOf, type index_d_FontSizeData as FontSizeData, index_d_FontType as FontType, type index_d_GIF as GIF, type index_d_GIFData as GIFData, type index_d_GalleryData as GalleryData, type index_d_GalleryOptions as GalleryOptions, type index_d_GetArrangedItemsRequest as GetArrangedItemsRequest, type index_d_GetArrangedItemsResponse as GetArrangedItemsResponse, type index_d_GetArrangedItemsResponseNonNullableFields as GetArrangedItemsResponseNonNullableFields, type index_d_GetCategoriesTreeRequest as GetCategoriesTreeRequest, type index_d_GetCategoriesTreeResponse as GetCategoriesTreeResponse, type index_d_GetCategoryOptions as GetCategoryOptions, type index_d_GetCategoryRequest as GetCategoryRequest, type index_d_GetCategoryResponse as GetCategoryResponse, type index_d_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type index_d_Gradient as Gradient, type index_d_GroupByValueResults as GroupByValueResults, type index_d_HTMLData as HTMLData, type index_d_HTMLDataDataOneOf as HTMLDataDataOneOf, type index_d_HeadingData as HeadingData, type index_d_Height as Height, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, type index_d_ImageData as ImageData, type index_d_IncludeMissingValuesOptions as IncludeMissingValuesOptions, index_d_InitialExpandedItems as InitialExpandedItems, index_d_Interval as Interval, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Item as Item, type index_d_ItemAddedToCategory as ItemAddedToCategory, type index_d_ItemDataOneOf as ItemDataOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_ItemReference as ItemReference, type index_d_ItemReferenceMetadata as ItemReferenceMetadata, type index_d_ItemRemovedFromCategory as ItemRemovedFromCategory, type index_d_ItemStyle as ItemStyle, type index_d_ItemsAddedToCategory as ItemsAddedToCategory, type index_d_ItemsArrangedInCategory as ItemsArrangedInCategory, type index_d_ItemsRemovedFromCategory as ItemsRemovedFromCategory, type index_d_Keyword as Keyword, type index_d_Layout as Layout, index_d_LayoutType as LayoutType, index_d_LineStyle as LineStyle, type index_d_Link as Link, type index_d_LinkData as LinkData, type index_d_LinkDataOneOf as LinkDataOneOf, type index_d_LinkPreviewData as LinkPreviewData, type index_d_ListCategoriesForItemOptions as ListCategoriesForItemOptions, type index_d_ListCategoriesForItemRequest as ListCategoriesForItemRequest, type index_d_ListCategoriesForItemResponse as ListCategoriesForItemResponse, type index_d_ListCategoriesForItemResponseNonNullableFields as ListCategoriesForItemResponseNonNullableFields, type index_d_ListCompactCategoriesByIdsRequest as ListCompactCategoriesByIdsRequest, type index_d_ListCompactCategoriesByIdsResponse as ListCompactCategoriesByIdsResponse, type index_d_ListItemsInCategoryOptions as ListItemsInCategoryOptions, type index_d_ListItemsInCategoryRequest as ListItemsInCategoryRequest, type index_d_ListItemsInCategoryRequestPagingMethodOneOf as ListItemsInCategoryRequestPagingMethodOneOf, type index_d_ListItemsInCategoryResponse as ListItemsInCategoryResponse, type index_d_ListItemsInCategoryResponseNonNullableFields as ListItemsInCategoryResponseNonNullableFields, type index_d_ListTreesRequest as ListTreesRequest, type index_d_ListTreesResponse as ListTreesResponse, type index_d_ListTreesResponseNonNullableFields as ListTreesResponseNonNullableFields, type index_d_ListValue as ListValue, type index_d_MapData as MapData, type index_d_MapSettings as MapSettings, index_d_MapType as MapType, type index_d_MaskedCategory as MaskedCategory, type index_d_Media as Media, type index_d_MentionData as MentionData, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Metadata as Metadata, index_d_MissingValues as MissingValues, index_d_Mode as Mode, type index_d_MoveCategoryOptions as MoveCategoryOptions, type index_d_MoveCategoryRequest as MoveCategoryRequest, type index_d_MoveCategoryResponse as MoveCategoryResponse, type index_d_MoveCategoryResponseNonNullableFields as MoveCategoryResponseNonNullableFields, type index_d_MoveItemInCategoryRequest as MoveItemInCategoryRequest, index_d_MoveItemInCategoryRequestPosition as MoveItemInCategoryRequestPosition, type index_d_MoveItemInCategoryResponse as MoveItemInCategoryResponse, type index_d_NestedAggregation as NestedAggregation, type index_d_NestedAggregationItem as NestedAggregationItem, type index_d_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type index_d_NestedAggregationResults as NestedAggregationResults, type index_d_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, index_d_NestedAggregationType as NestedAggregationType, type index_d_NestedResultValue as NestedResultValue, type index_d_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type index_d_NestedResults as NestedResults, type index_d_NestedValueAggregationResult as NestedValueAggregationResult, type index_d_Node as Node, type index_d_NodeDataOneOf as NodeDataOneOf, type index_d_NodeStyle as NodeStyle, index_d_NodeType as NodeType, index_d_NullValue as NullValue, type index_d_Oembed as Oembed, type index_d_OffsetSearch as OffsetSearch, type index_d_OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOf, type index_d_Option as Option, type index_d_OptionDesign as OptionDesign, type index_d_OptionLayout as OptionLayout, type index_d_OrderedListData as OrderedListData, index_d_Orientation as Orientation, type index_d_PDFSettings as PDFSettings, type index_d_Page as Page, type index_d_Paging as Paging, type index_d_PagingMetadata as PagingMetadata, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_ParagraphData as ParagraphData, type index_d_ParentCategory as ParentCategory, type index_d_Permissions as Permissions, type index_d_PlatformPagingMetadataV2 as PlatformPagingMetadataV2, type index_d_PlaybackOptions as PlaybackOptions, type index_d_PluginContainerData as PluginContainerData, index_d_PluginContainerDataAlignment as PluginContainerDataAlignment, type index_d_PluginContainerDataWidth as PluginContainerDataWidth, type index_d_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type index_d_Poll as Poll, type index_d_PollData as PollData, type index_d_PollDataLayout as PollDataLayout, type index_d_PollDesign as PollDesign, type index_d_PollLayout as PollLayout, index_d_PollLayoutDirection as PollLayoutDirection, index_d_PollLayoutType as PollLayoutType, type index_d_PollSettings as PollSettings, index_d_Position as Position, type index_d_QueryCategoriesRequest as QueryCategoriesRequest, type index_d_QueryCategoriesResponse as QueryCategoriesResponse, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_RangeAggregation as RangeAggregation, type index_d_RangeAggregationResult as RangeAggregationResult, type index_d_RangeBucket as RangeBucket, type index_d_RangeResult as RangeResult, type index_d_RangeResults as RangeResults, type index_d_Rel as Rel, index_d_RequestedFields as RequestedFields, type index_d_RestoreInfo as RestoreInfo, type index_d_Results as Results, type index_d_RichContent as RichContent, type index_d_ScalarAggregation as ScalarAggregation, type index_d_ScalarResult as ScalarResult, index_d_ScalarType as ScalarType, type index_d_SearchCategoriesOptions as SearchCategoriesOptions, type index_d_SearchCategoriesRequest as SearchCategoriesRequest, type index_d_SearchCategoriesResponse as SearchCategoriesResponse, type index_d_SearchCategoriesResponseNonNullableFields as SearchCategoriesResponseNonNullableFields, type index_d_SearchDetails as SearchDetails, type index_d_SeoSchema as SeoSchema, type index_d_SetArrangedItemsOptions as SetArrangedItemsOptions, type index_d_SetArrangedItemsRequest as SetArrangedItemsRequest, type index_d_SetArrangedItemsResponse as SetArrangedItemsResponse, type index_d_SetArrangedItemsResponseNonNullableFields as SetArrangedItemsResponseNonNullableFields, type index_d_Settings as Settings, index_d_SingleEntityOpsRequestedFields as SingleEntityOpsRequestedFields, index_d_SortDirection as SortDirection, index_d_SortOrder as SortOrder, index_d_SortType as SortType, type index_d_Sorting as Sorting, index_d_Source as Source, type index_d_Spoiler as Spoiler, type index_d_SpoilerData as SpoilerData, type index_d_Styles as Styles, type index_d_TableCellData as TableCellData, type index_d_TableData as TableData, type index_d_Tag as Tag, index_d_Target as Target, index_d_TextAlignment as TextAlignment, type index_d_TextData as TextData, type index_d_TextNodeStyle as TextNodeStyle, type index_d_TextStyle as TextStyle, type index_d_Thumbnails as Thumbnails, index_d_ThumbnailsAlignment as ThumbnailsAlignment, type index_d_TreeReference as TreeReference, index_d_Type as Type, type index_d_URI as URI, type index_d_UpdateCategory as UpdateCategory, type index_d_UpdateCategoryOptions as UpdateCategoryOptions, type index_d_UpdateCategoryRequest as UpdateCategoryRequest, type index_d_UpdateCategoryResponse as UpdateCategoryResponse, type index_d_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, type index_d_UpdateCategoryVisibilityOptions as UpdateCategoryVisibilityOptions, type index_d_UpdateCategoryVisibilityRequest as UpdateCategoryVisibilityRequest, type index_d_UpdateCategoryVisibilityResponse as UpdateCategoryVisibilityResponse, type index_d_UpdateCategoryVisibilityResponseNonNullableFields as UpdateCategoryVisibilityResponseNonNullableFields, type index_d_ValueAggregation as ValueAggregation, type index_d_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type index_d_ValueAggregationResult as ValueAggregationResult, type index_d_ValueResult as ValueResult, type index_d_ValueResults as ValueResults, index_d_VerticalAlignment as VerticalAlignment, type index_d_Video as Video, type index_d_VideoData as VideoData, index_d_ViewMode as ViewMode, index_d_ViewRole as ViewRole, index_d_VoteRole as VoteRole, index_d_WebhookIdentityType as WebhookIdentityType, index_d_Width as Width, index_d_WidthType as WidthType, index_d_bulkAddItemToCategories as bulkAddItemToCategories, index_d_bulkAddItemsToCategory as bulkAddItemsToCategory, index_d_bulkRemoveItemFromCategories as bulkRemoveItemFromCategories, index_d_bulkRemoveItemsFromCategory as bulkRemoveItemsFromCategory, index_d_bulkUpdateCategories as bulkUpdateCategories, index_d_countCategories as countCategories, index_d_createCategory as createCategory, index_d_deleteCategory as deleteCategory, index_d_getArrangedItems as getArrangedItems, index_d_getCategory as getCategory, index_d_listCategoriesForItem as listCategoriesForItem, index_d_listItemsInCategory as listItemsInCategory, index_d_listTrees as listTrees, index_d_moveCategory as moveCategory, index_d_onCategoryCreated as onCategoryCreated, index_d_onCategoryDeleted as onCategoryDeleted, index_d_onCategoryItemAddedToCategory as onCategoryItemAddedToCategory, index_d_onCategoryItemRemovedFromCategory as onCategoryItemRemovedFromCategory, index_d_onCategoryItemsArrangedInCategory as onCategoryItemsArrangedInCategory, index_d_onCategoryMoved as onCategoryMoved, index_d_onCategoryUpdated as onCategoryUpdated, index_d_searchCategories as searchCategories, index_d_setArrangedItems as setArrangedItems, index_d_updateCategory as updateCategory, index_d_updateCategoryVisibility as updateCategoryVisibility };
4043
+ export { type index_d_ActionEvent as ActionEvent, type index_d_Aggregation as Aggregation, type index_d_AggregationData as AggregationData, type index_d_AggregationKindOneOf as AggregationKindOneOf, type index_d_AggregationResults as AggregationResults, type index_d_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type index_d_AggregationResultsScalarResult as AggregationResultsScalarResult, index_d_AggregationType as AggregationType, index_d_Alignment as Alignment, type index_d_AnchorData as AnchorData, type index_d_App as App, type index_d_AppEmbedData as AppEmbedData, type index_d_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, index_d_AppType as AppType, type index_d_ApplicationError as ApplicationError, type index_d_AudioData as AudioData, type index_d_Background as Background, type index_d_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, index_d_BackgroundType as BackgroundType, type index_d_BlockquoteData as BlockquoteData, type index_d_BookingData as BookingData, type index_d_Border as Border, type index_d_BorderColors as BorderColors, type index_d_BreadcrumbItem as BreadcrumbItem, type index_d_BreadcrumbItemValues as BreadcrumbItemValues, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkAddItemToCategoriesOptions as BulkAddItemToCategoriesOptions, type index_d_BulkAddItemToCategoriesRequest as BulkAddItemToCategoriesRequest, type index_d_BulkAddItemToCategoriesResponse as BulkAddItemToCategoriesResponse, type index_d_BulkAddItemToCategoriesResponseNonNullableFields as BulkAddItemToCategoriesResponseNonNullableFields, type index_d_BulkAddItemsToCategoryOptions as BulkAddItemsToCategoryOptions, type index_d_BulkAddItemsToCategoryRequest as BulkAddItemsToCategoryRequest, type index_d_BulkAddItemsToCategoryResponse as BulkAddItemsToCategoryResponse, type index_d_BulkAddItemsToCategoryResponseNonNullableFields as BulkAddItemsToCategoryResponseNonNullableFields, type index_d_BulkCategoriesResult as BulkCategoriesResult, type index_d_BulkCreateCategoriesRequest as BulkCreateCategoriesRequest, type index_d_BulkCreateCategoriesResponse as BulkCreateCategoriesResponse, type index_d_BulkDeleteCategoriesByFilterRequest as BulkDeleteCategoriesByFilterRequest, type index_d_BulkDeleteCategoriesByFilterResponse as BulkDeleteCategoriesByFilterResponse, type index_d_BulkDeleteCategoriesRequest as BulkDeleteCategoriesRequest, type index_d_BulkDeleteCategoriesResponse as BulkDeleteCategoriesResponse, type index_d_BulkDeleteCategoriesResponseBulkCategoriesResult as BulkDeleteCategoriesResponseBulkCategoriesResult, type index_d_BulkItemToCategoriesResult as BulkItemToCategoriesResult, type index_d_BulkItemsToCategoryResult as BulkItemsToCategoryResult, type index_d_BulkRemoveItemFromCategoriesOptions as BulkRemoveItemFromCategoriesOptions, type index_d_BulkRemoveItemFromCategoriesRequest as BulkRemoveItemFromCategoriesRequest, type index_d_BulkRemoveItemFromCategoriesResponse as BulkRemoveItemFromCategoriesResponse, type index_d_BulkRemoveItemFromCategoriesResponseNonNullableFields as BulkRemoveItemFromCategoriesResponseNonNullableFields, type index_d_BulkRemoveItemsFromCategoryOptions as BulkRemoveItemsFromCategoryOptions, type index_d_BulkRemoveItemsFromCategoryRequest as BulkRemoveItemsFromCategoryRequest, type index_d_BulkRemoveItemsFromCategoryResponse as BulkRemoveItemsFromCategoryResponse, type index_d_BulkRemoveItemsFromCategoryResponseNonNullableFields as BulkRemoveItemsFromCategoryResponseNonNullableFields, type index_d_BulkUpdateCategoriesOptions as BulkUpdateCategoriesOptions, type index_d_BulkUpdateCategoriesRequest as BulkUpdateCategoriesRequest, type index_d_BulkUpdateCategoriesResponse as BulkUpdateCategoriesResponse, type index_d_BulkUpdateCategoriesResponseNonNullableFields as BulkUpdateCategoriesResponseNonNullableFields, type index_d_BulkUpdateCategoryVisibilityByFilterRequest as BulkUpdateCategoryVisibilityByFilterRequest, type index_d_BulkUpdateCategoryVisibilityByFilterResponse as BulkUpdateCategoryVisibilityByFilterResponse, type index_d_BulkUpdateCategoryVisibilityRequest as BulkUpdateCategoryVisibilityRequest, type index_d_BulkUpdateCategoryVisibilityResponse as BulkUpdateCategoryVisibilityResponse, type index_d_BulletedListData as BulletedListData, type index_d_ButtonData as ButtonData, type index_d_CategoriesQueryBuilder as CategoriesQueryBuilder, type index_d_CategoriesQueryResult as CategoriesQueryResult, type index_d_Category as Category, type index_d_CategoryMoved as CategoryMoved, type index_d_CategoryNonNullableFields as CategoryNonNullableFields, type index_d_CategoryTreeNode as CategoryTreeNode, type index_d_CellStyle as CellStyle, type index_d_CodeBlockData as CodeBlockData, type index_d_CollapsibleListData as CollapsibleListData, type index_d_ColorData as ColorData, type index_d_Colors as Colors, type index_d_CommonCursors as CommonCursors, type index_d_CompactCategory as CompactCategory, type index_d_CountCategoriesOptions as CountCategoriesOptions, type index_d_CountCategoriesRequest as CountCategoriesRequest, type index_d_CountCategoriesResponse as CountCategoriesResponse, type index_d_CountCategoriesResponseNonNullableFields as CountCategoriesResponseNonNullableFields, type index_d_CreateCategoryOptions as CreateCategoryOptions, type index_d_CreateCategoryRequest as CreateCategoryRequest, type index_d_CreateCategoryResponse as CreateCategoryResponse, type index_d_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, index_d_Crop as Crop, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_CursorSearch as CursorSearch, type index_d_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DateHistogramAggregation as DateHistogramAggregation, type index_d_DateHistogramResult as DateHistogramResult, type index_d_DateHistogramResults as DateHistogramResults, type index_d_Decoration as Decoration, type index_d_DecorationDataOneOf as DecorationDataOneOf, index_d_DecorationType as DecorationType, type index_d_DeleteCategoryRequest as DeleteCategoryRequest, type index_d_DeleteCategoryResponse as DeleteCategoryResponse, type index_d_DeprecatedSearchCategoriesWithOffsetRequest as DeprecatedSearchCategoriesWithOffsetRequest, type index_d_DeprecatedSearchCategoriesWithOffsetResponse as DeprecatedSearchCategoriesWithOffsetResponse, type index_d_Design as Design, type index_d_Dimensions as Dimensions, index_d_Direction as Direction, type index_d_DividerData as DividerData, type index_d_DocumentStyle as DocumentStyle, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EmbedData as EmbedData, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventData as EventData, type index_d_ExtendedFields as ExtendedFields, type index_d_File as File, type index_d_FileData as FileData, type index_d_FileSource as FileSource, type index_d_FileSourceDataOneOf as FileSourceDataOneOf, type index_d_FontSizeData as FontSizeData, index_d_FontType as FontType, type index_d_GIF as GIF, type index_d_GIFData as GIFData, type index_d_GalleryData as GalleryData, type index_d_GalleryOptions as GalleryOptions, type index_d_GetArrangedItemsRequest as GetArrangedItemsRequest, type index_d_GetArrangedItemsResponse as GetArrangedItemsResponse, type index_d_GetArrangedItemsResponseNonNullableFields as GetArrangedItemsResponseNonNullableFields, type index_d_GetCategoriesTreeRequest as GetCategoriesTreeRequest, type index_d_GetCategoriesTreeResponse as GetCategoriesTreeResponse, type index_d_GetCategoryOptions as GetCategoryOptions, type index_d_GetCategoryRequest as GetCategoryRequest, type index_d_GetCategoryResponse as GetCategoryResponse, type index_d_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type index_d_Gradient as Gradient, type index_d_GroupByValueResults as GroupByValueResults, type index_d_HTMLData as HTMLData, type index_d_HTMLDataDataOneOf as HTMLDataDataOneOf, type index_d_HeadingData as HeadingData, type index_d_Height as Height, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, type index_d_ImageData as ImageData, type index_d_IncludeMissingValuesOptions as IncludeMissingValuesOptions, index_d_InitialExpandedItems as InitialExpandedItems, index_d_Interval as Interval, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Item as Item, type index_d_ItemAddedToCategory as ItemAddedToCategory, type index_d_ItemDataOneOf as ItemDataOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_ItemReference as ItemReference, type index_d_ItemReferenceMetadata as ItemReferenceMetadata, type index_d_ItemRemovedFromCategory as ItemRemovedFromCategory, type index_d_ItemStyle as ItemStyle, type index_d_ItemsAddedToCategory as ItemsAddedToCategory, type index_d_ItemsArrangedInCategory as ItemsArrangedInCategory, type index_d_ItemsRemovedFromCategory as ItemsRemovedFromCategory, type index_d_Keyword as Keyword, type index_d_Layout as Layout, index_d_LayoutType as LayoutType, index_d_LineStyle as LineStyle, type index_d_Link as Link, type index_d_LinkData as LinkData, type index_d_LinkDataOneOf as LinkDataOneOf, type index_d_LinkPreviewData as LinkPreviewData, type index_d_ListCategoriesForItemOptions as ListCategoriesForItemOptions, type index_d_ListCategoriesForItemRequest as ListCategoriesForItemRequest, type index_d_ListCategoriesForItemResponse as ListCategoriesForItemResponse, type index_d_ListCategoriesForItemResponseNonNullableFields as ListCategoriesForItemResponseNonNullableFields, type index_d_ListCompactCategoriesByIdsRequest as ListCompactCategoriesByIdsRequest, type index_d_ListCompactCategoriesByIdsResponse as ListCompactCategoriesByIdsResponse, type index_d_ListItemsInCategoryOptions as ListItemsInCategoryOptions, type index_d_ListItemsInCategoryRequest as ListItemsInCategoryRequest, type index_d_ListItemsInCategoryRequestPagingMethodOneOf as ListItemsInCategoryRequestPagingMethodOneOf, type index_d_ListItemsInCategoryResponse as ListItemsInCategoryResponse, type index_d_ListItemsInCategoryResponseNonNullableFields as ListItemsInCategoryResponseNonNullableFields, type index_d_ListTreesRequest as ListTreesRequest, type index_d_ListTreesResponse as ListTreesResponse, type index_d_ListTreesResponseNonNullableFields as ListTreesResponseNonNullableFields, type index_d_ListValue as ListValue, type index_d_MapData as MapData, type index_d_MapSettings as MapSettings, index_d_MapType as MapType, type index_d_MaskedCategory as MaskedCategory, type index_d_Media as Media, type index_d_MentionData as MentionData, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Metadata as Metadata, index_d_MissingValues as MissingValues, index_d_Mode as Mode, type index_d_MoveCategoryOptions as MoveCategoryOptions, type index_d_MoveCategoryRequest as MoveCategoryRequest, type index_d_MoveCategoryResponse as MoveCategoryResponse, type index_d_MoveCategoryResponseNonNullableFields as MoveCategoryResponseNonNullableFields, type index_d_MoveItemInCategoryRequest as MoveItemInCategoryRequest, index_d_MoveItemInCategoryRequestPosition as MoveItemInCategoryRequestPosition, type index_d_MoveItemInCategoryResponse as MoveItemInCategoryResponse, type index_d_NestedAggregation as NestedAggregation, type index_d_NestedAggregationItem as NestedAggregationItem, type index_d_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type index_d_NestedAggregationResults as NestedAggregationResults, type index_d_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, index_d_NestedAggregationType as NestedAggregationType, type index_d_NestedResultValue as NestedResultValue, type index_d_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type index_d_NestedResults as NestedResults, type index_d_NestedValueAggregationResult as NestedValueAggregationResult, type index_d_Node as Node, type index_d_NodeDataOneOf as NodeDataOneOf, type index_d_NodeStyle as NodeStyle, index_d_NodeType as NodeType, index_d_NullValue as NullValue, type index_d_Oembed as Oembed, type index_d_OffsetSearch as OffsetSearch, type index_d_OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOf, type index_d_Option as Option, type index_d_OptionDesign as OptionDesign, type index_d_OptionLayout as OptionLayout, type index_d_OrderedListData as OrderedListData, index_d_Orientation as Orientation, type index_d_PDFSettings as PDFSettings, type index_d_Page as Page, type index_d_Paging as Paging, type index_d_PagingMetadata as PagingMetadata, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_ParagraphData as ParagraphData, type index_d_ParentCategory as ParentCategory, type index_d_Permissions as Permissions, type index_d_PlatformPagingMetadataV2 as PlatformPagingMetadataV2, type index_d_PlaybackOptions as PlaybackOptions, type index_d_PluginContainerData as PluginContainerData, index_d_PluginContainerDataAlignment as PluginContainerDataAlignment, type index_d_PluginContainerDataWidth as PluginContainerDataWidth, type index_d_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type index_d_Poll as Poll, type index_d_PollData as PollData, type index_d_PollDataLayout as PollDataLayout, type index_d_PollDesign as PollDesign, type index_d_PollLayout as PollLayout, index_d_PollLayoutDirection as PollLayoutDirection, index_d_PollLayoutType as PollLayoutType, type index_d_PollSettings as PollSettings, index_d_Position as Position, type index_d_QueryCategoriesOptions as QueryCategoriesOptions, type index_d_QueryCategoriesRequest as QueryCategoriesRequest, type index_d_QueryCategoriesResponse as QueryCategoriesResponse, type index_d_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type index_d_RangeAggregation as RangeAggregation, type index_d_RangeAggregationResult as RangeAggregationResult, type index_d_RangeBucket as RangeBucket, type index_d_RangeResult as RangeResult, type index_d_RangeResults as RangeResults, type index_d_Rel as Rel, index_d_RequestedFields as RequestedFields, type index_d_RestoreInfo as RestoreInfo, type index_d_Results as Results, type index_d_RichContent as RichContent, type index_d_ScalarAggregation as ScalarAggregation, type index_d_ScalarResult as ScalarResult, index_d_ScalarType as ScalarType, type index_d_SearchCategoriesOptions as SearchCategoriesOptions, type index_d_SearchCategoriesRequest as SearchCategoriesRequest, type index_d_SearchCategoriesResponse as SearchCategoriesResponse, type index_d_SearchCategoriesResponseNonNullableFields as SearchCategoriesResponseNonNullableFields, type index_d_SearchDetails as SearchDetails, type index_d_SeoSchema as SeoSchema, type index_d_SetArrangedItemsOptions as SetArrangedItemsOptions, type index_d_SetArrangedItemsRequest as SetArrangedItemsRequest, type index_d_SetArrangedItemsResponse as SetArrangedItemsResponse, type index_d_SetArrangedItemsResponseNonNullableFields as SetArrangedItemsResponseNonNullableFields, type index_d_Settings as Settings, index_d_SingleEntityOpsRequestedFields as SingleEntityOpsRequestedFields, index_d_SortDirection as SortDirection, index_d_SortOrder as SortOrder, index_d_SortType as SortType, type index_d_Sorting as Sorting, index_d_Source as Source, type index_d_Spoiler as Spoiler, type index_d_SpoilerData as SpoilerData, type index_d_Styles as Styles, type index_d_TableCellData as TableCellData, type index_d_TableData as TableData, type index_d_Tag as Tag, index_d_Target as Target, index_d_TextAlignment as TextAlignment, type index_d_TextData as TextData, type index_d_TextNodeStyle as TextNodeStyle, type index_d_TextStyle as TextStyle, type index_d_Thumbnails as Thumbnails, index_d_ThumbnailsAlignment as ThumbnailsAlignment, type index_d_TreeReference as TreeReference, index_d_Type as Type, type index_d_URI as URI, type index_d_UpdateCategory as UpdateCategory, type index_d_UpdateCategoryOptions as UpdateCategoryOptions, type index_d_UpdateCategoryRequest as UpdateCategoryRequest, type index_d_UpdateCategoryResponse as UpdateCategoryResponse, type index_d_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, type index_d_UpdateCategoryVisibilityOptions as UpdateCategoryVisibilityOptions, type index_d_UpdateCategoryVisibilityRequest as UpdateCategoryVisibilityRequest, type index_d_UpdateCategoryVisibilityResponse as UpdateCategoryVisibilityResponse, type index_d_UpdateCategoryVisibilityResponseNonNullableFields as UpdateCategoryVisibilityResponseNonNullableFields, type index_d_ValueAggregation as ValueAggregation, type index_d_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type index_d_ValueAggregationResult as ValueAggregationResult, type index_d_ValueResult as ValueResult, type index_d_ValueResults as ValueResults, index_d_VerticalAlignment as VerticalAlignment, type index_d_Video as Video, type index_d_VideoData as VideoData, index_d_ViewMode as ViewMode, index_d_ViewRole as ViewRole, index_d_VoteRole as VoteRole, index_d_WebhookIdentityType as WebhookIdentityType, index_d_Width as Width, index_d_WidthType as WidthType, index_d_bulkAddItemToCategories as bulkAddItemToCategories, index_d_bulkAddItemsToCategory as bulkAddItemsToCategory, index_d_bulkRemoveItemFromCategories as bulkRemoveItemFromCategories, index_d_bulkRemoveItemsFromCategory as bulkRemoveItemsFromCategory, index_d_bulkUpdateCategories as bulkUpdateCategories, index_d_countCategories as countCategories, index_d_createCategory as createCategory, index_d_deleteCategory as deleteCategory, index_d_getArrangedItems as getArrangedItems, index_d_getCategory as getCategory, index_d_listCategoriesForItem as listCategoriesForItem, index_d_listItemsInCategory as listItemsInCategory, index_d_listTrees as listTrees, index_d_moveCategory as moveCategory, index_d_queryCategories as queryCategories, index_d_searchCategories as searchCategories, index_d_setArrangedItems as setArrangedItems, index_d_updateCategory as updateCategory, index_d_updateCategoryVisibility as updateCategoryVisibility };
3821
4044
  }
3822
4045
 
3823
4046
  export { index_d as categories };