@wix/categories 1.0.40 → 1.0.42

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,13 +23,13 @@ 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;
@@ -41,65 +39,72 @@ interface Category {
41
39
  */
42
40
  description?: string | null;
43
41
  /**
44
- * Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
45
- * Even if visible is `false`, it can still be added manually to static page.
46
- * If parent visibility is updated to `false`, all the children visibility will be updated eventually to `false`.
47
- * 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`.
48
47
  */
49
48
  visible?: boolean | null;
50
49
  /**
51
- * A category's breadcrumbs, Updated on moved to different parent or on renamed.
52
- * > **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.
53
53
  * @readonly
54
54
  */
55
55
  breadcrumbs?: BreadcrumbItemValues;
56
- /** The parent category. */
56
+ /** Parent category reference data. */
57
57
  parentCategory?: ParentCategory;
58
58
  /**
59
- * A permanent, friendly URL name.
60
- * If not provided, on create generated automatically.
61
- * When provided, validated and must be unique.
59
+ * Category slug.
60
+ *
61
+ * If not provided, the slug is autogenerated based on the category name.
62
62
  */
63
63
  slug?: string | null;
64
64
  /**
65
- * Category description which supports rich content. It is independent from `description` field and can be used instead of it or in addition to it.
66
- * 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/.
67
- * > **Note:** This field is returned only when you pass `fields: "RICH_CONTENT_DESCRIPTION"` in the request.
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.
68
69
  */
69
70
  richContentDescription?: RichContent;
70
71
  /**
71
- * Optional - the ID of the app responsible for managing the items within this category.
72
- * If provided, the update of items assigned to this category and the deletion of it will be allowed only to the managing app.
73
- * 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.
74
75
  */
75
76
  managingAppId?: string | null;
76
- /** 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
+ */
77
82
  extendedFields?: ExtendedFields;
78
83
  }
79
- /** Wrapper for optional BreadcrumbItem values */
80
84
  interface BreadcrumbItemValues {
81
85
  /**
82
- * The wrapped BreadcrumbItem values
86
+ * List of breadcrumb data.
83
87
  * @readonly
84
88
  */
85
89
  values?: BreadcrumbItem[];
86
90
  }
87
91
  interface BreadcrumbItem {
88
- /** Represents the id of the category. */
92
+ /** Category ID. */
89
93
  categoryId?: string;
90
- /** Represents the name of the category. Translatable */
94
+ /** Category name. */
91
95
  categoryName?: string;
92
- /** Represents the slug. A permanent, friendly URL name of the category. */
96
+ /** Category slug. */
93
97
  categorySlug?: string;
94
98
  }
95
99
  interface ParentCategory {
96
100
  /**
97
- * Represents the id of the parent category.
98
- * If not passed, the default is the root category.
101
+ * Parent category ID.
102
+ *
103
+ * Default: root category ID
99
104
  */
100
105
  _id?: string | null;
101
106
  /**
102
- * Represents the index of current category within the parent category.
107
+ * Index position of the category within the parent category.
103
108
  * @readonly
104
109
  */
105
110
  index?: number | null;
@@ -120,6 +125,8 @@ interface Keyword {
120
125
  term?: string;
121
126
  /** Whether the keyword is the main focus keyword. */
122
127
  isMain?: boolean;
128
+ /** Who added the keyword to the settings */
129
+ origin?: string | null;
123
130
  }
124
131
  interface Tag {
125
132
  /**
@@ -1385,12 +1392,12 @@ interface TextNodeStyle {
1385
1392
  }
1386
1393
  interface TreeReference {
1387
1394
  /**
1388
- * The unique namespace of an app in dev-center that owns this tree.
1389
- * Should meet the format of @company/app1 where @company is an organizational unit and app1 is the app name.
1390
- * For example: @bookings/bookingslist, @achievements/quizzes
1395
+ * Namespace of the app that manages the tree.
1396
+ *
1397
+ * For example, `"@wix/stores"`, `"@bookings/bookingslist"`, `"@achievements/quizzes"`.
1391
1398
  */
1392
1399
  appNamespace?: string;
1393
- /** Optional - The key of the tree. Must be provided when single app manages more than one tree. */
1400
+ /** Tree key. You must pass this when a single app manages more than one tree. */
1394
1401
  treeKey?: string | null;
1395
1402
  }
1396
1403
  interface ExtendedFields {
@@ -1461,12 +1468,84 @@ interface File {
1461
1468
  /** Invalidate by filename (for media files such as PDFs) */
1462
1469
  fileName?: string;
1463
1470
  }
1471
+ interface CategoryMoved {
1472
+ /** Category ID. */
1473
+ categoryId?: string;
1474
+ /** Parent category details. */
1475
+ parentCategory?: ParentCategory;
1476
+ /** Category tree reference details. */
1477
+ treeReference?: TreeReference;
1478
+ }
1479
+ interface ItemAddedToCategory {
1480
+ /** Category ID. */
1481
+ categoryId?: string;
1482
+ /** Details about the added item. */
1483
+ addedItem?: ItemReference;
1484
+ /** Category tree reference details. */
1485
+ treeReference?: TreeReference;
1486
+ }
1487
+ interface ItemReference {
1488
+ /**
1489
+ * ID of the item within the catalog it belongs to.
1490
+ *
1491
+ * For example, `product.id` for Wix Stores or `event.id` for Wix Events.
1492
+ */
1493
+ catalogItemId?: string;
1494
+ /**
1495
+ * ID of the app providing the catalog.
1496
+ *
1497
+ * You can get your app's ID from its page in the [Wix Dev Center](https://dev.wix.com/apps).
1498
+ *
1499
+ * For items from Wix catalogs, the following values always apply:
1500
+ * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
1501
+ * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
1502
+ * + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
1503
+ */
1504
+ appId?: string;
1505
+ }
1506
+ interface ItemsAddedToCategory {
1507
+ /** Category ID. */
1508
+ categoryId?: string;
1509
+ /** List of added items. */
1510
+ addedItems?: ItemReference[];
1511
+ /** Category tree reference details. */
1512
+ treeReference?: TreeReference;
1513
+ }
1514
+ interface ItemRemovedFromCategory {
1515
+ /** Category ID. */
1516
+ categoryId?: string;
1517
+ /** Details about the removed item. */
1518
+ removedItem?: ItemReference;
1519
+ /** Category tree reference details. */
1520
+ treeReference?: TreeReference;
1521
+ }
1522
+ interface ItemsRemovedFromCategory {
1523
+ /** Category ID. */
1524
+ categoryId?: string;
1525
+ /** List of removed items. */
1526
+ removedItems?: ItemReference[];
1527
+ /** Category tree reference details. */
1528
+ treeReference?: TreeReference;
1529
+ }
1530
+ interface ItemsArrangedInCategory {
1531
+ /** Category ID. */
1532
+ categoryId?: string;
1533
+ /** Category tree reference details. */
1534
+ treeReference?: TreeReference;
1535
+ }
1464
1536
  interface CreateCategoryRequest {
1465
- /** Category to be created. */
1537
+ /** Category to create. */
1466
1538
  category: Category;
1467
- /** A reference to the tree that contains this category. */
1539
+ /** Category tree reference details. */
1468
1540
  treeReference: TreeReference;
1469
- /** Fields to return in the response. When not provided, these fields are not returned. */
1541
+ /**
1542
+ * Fields to include in the response.
1543
+ *
1544
+ * Supported values:
1545
+ * + `BREADCRUMBS`
1546
+ * + `DESCRIPTION`
1547
+ * + `RICH_CONTENT_DESCRIPTION`
1548
+ */
1470
1549
  fields?: SingleEntityOpsRequestedFields[];
1471
1550
  }
1472
1551
  declare enum SingleEntityOpsRequestedFields {
@@ -1476,58 +1555,76 @@ declare enum SingleEntityOpsRequestedFields {
1476
1555
  RICH_CONTENT_DESCRIPTION = "RICH_CONTENT_DESCRIPTION"
1477
1556
  }
1478
1557
  interface CreateCategoryResponse {
1479
- /** The created Category. */
1558
+ /** Created category. */
1480
1559
  category?: Category;
1481
1560
  }
1482
1561
  interface GetCategoryRequest {
1483
- /** Id of the Category to retrieve. */
1562
+ /** Category ID. */
1484
1563
  categoryId: string;
1485
- /** A reference to the tree that contains this category. */
1564
+ /** Category tree reference details. */
1486
1565
  treeReference: TreeReference;
1487
- /** Fields to return in the response. When not provided, these fields are not returned. */
1566
+ /**
1567
+ * Fields to include in the response.
1568
+ *
1569
+ * Supported values:
1570
+ * + `BREADCRUMBS`
1571
+ * + `DESCRIPTION`
1572
+ * + `RICH_CONTENT_DESCRIPTION`
1573
+ */
1488
1574
  fields?: SingleEntityOpsRequestedFields[];
1489
1575
  }
1490
1576
  interface GetCategoryResponse {
1491
- /** The retrieved Category. */
1577
+ /** Category. */
1492
1578
  category?: Category;
1493
1579
  }
1494
1580
  interface UpdateCategoryRequest {
1495
- /** Category to be updated, may be partial. */
1581
+ /** Category to update. */
1496
1582
  category: Category;
1497
- /** A reference to the tree that contains this category. */
1583
+ /** Category tree reference details. */
1498
1584
  treeReference: TreeReference;
1499
- /** Fields to return in the response. When not provided, these fields are not returned. */
1585
+ /**
1586
+ * Fields to include in the response.
1587
+ *
1588
+ * Supported values:
1589
+ * + `BREADCRUMBS`
1590
+ * + `DESCRIPTION`
1591
+ * + `RICH_CONTENT_DESCRIPTION`
1592
+ */
1500
1593
  fields?: SingleEntityOpsRequestedFields[];
1501
1594
  }
1502
1595
  interface UpdateCategoryResponse {
1503
- /** The updated Category. */
1596
+ /** Updated category. */
1504
1597
  category?: Category;
1505
1598
  }
1506
1599
  interface DeleteCategoryRequest {
1507
- /** Id of the Category to delete. */
1600
+ /** Category ID. */
1508
1601
  categoryId: string;
1509
- /** A reference to the tree that contains this category. */
1602
+ /** Category tree reference details. */
1510
1603
  treeReference: TreeReference;
1511
1604
  }
1512
1605
  interface DeleteCategoryResponse {
1513
1606
  }
1514
1607
  interface QueryCategoriesRequest {
1515
- /** WQL query expression. */
1516
- query?: QueryV2;
1517
- /**
1518
- * A reference to the tree that contains this category.
1519
- * Used only in the first request. Following requests use the cursor token.
1520
- */
1521
- treeReference?: TreeReference;
1608
+ /** Query options. */
1609
+ query?: CursorQuery;
1610
+ /** Category tree reference details. */
1611
+ treeReference: TreeReference;
1522
1612
  /**
1523
1613
  * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
1524
1614
  * Used only in the first request. Following requests use the cursor token.
1525
1615
  */
1526
1616
  returnNonVisibleCategories?: boolean;
1527
- /** Fields to return in the response. When not provided, these fields are not returned. */
1617
+ /**
1618
+ * Fields to include in the response.
1619
+ *
1620
+ * Supported values:
1621
+ * + `BREADCRUMBS`
1622
+ * + `DESCRIPTION`
1623
+ * + `RICH_CONTENT_DESCRIPTION`
1624
+ */
1528
1625
  fields?: RequestedFields[];
1529
1626
  }
1530
- interface QueryV2 extends QueryV2PagingMethodOneOf {
1627
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
1531
1628
  /** 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`. */
1532
1629
  cursorPaging?: CursorPaging;
1533
1630
  /**
@@ -1546,7 +1643,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
1546
1643
  sort?: Sorting[];
1547
1644
  }
1548
1645
  /** @oneof */
1549
- interface QueryV2PagingMethodOneOf {
1646
+ interface CursorQueryPagingMethodOneOf {
1550
1647
  /** 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`. */
1551
1648
  cursorPaging?: CursorPaging;
1552
1649
  }
@@ -1560,12 +1657,6 @@ declare enum SortOrder {
1560
1657
  ASC = "ASC",
1561
1658
  DESC = "DESC"
1562
1659
  }
1563
- interface Paging {
1564
- /** Number of items to load. */
1565
- limit?: number | null;
1566
- /** Number of items to skip in the current sort order. */
1567
- offset?: number | null;
1568
- }
1569
1660
  interface CursorPaging {
1570
1661
  /** Maximum number of items to return in the results. */
1571
1662
  limit?: number | null;
@@ -1616,19 +1707,27 @@ interface CompactCategory {
1616
1707
  name?: string | null;
1617
1708
  }
1618
1709
  interface SearchCategoriesRequest {
1619
- /** WQL query expression. */
1710
+ /** Search options. */
1620
1711
  search?: CursorSearch;
1621
1712
  /**
1622
- * A reference to the tree that contains this category.
1623
- * Used only in the first request. Following requests use the cursor token.
1713
+ * Category tree reference details.
1714
+ * > **Note:** Pass `treeReference` only in the first request. Pass the cursor token in subsequent requests.
1624
1715
  */
1625
1716
  treeReference: TreeReference;
1626
1717
  /**
1627
- * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
1628
- * Used only in the first request. Following requests use the cursor token.
1718
+ * Whether to return the categories with `visible: false`.
1719
+ *
1720
+ * Default: `false` - only visible categories are returned in the response
1629
1721
  */
1630
1722
  returnNonVisibleCategories?: boolean;
1631
- /** Fields to return in the response. When not provided, these fields are not returned. */
1723
+ /**
1724
+ * Fields to include in the response.
1725
+ *
1726
+ * Supported values:
1727
+ * + `BREADCRUMBS`
1728
+ * + `DESCRIPTION`
1729
+ * + `RICH_CONTENT_DESCRIPTION`
1730
+ */
1632
1731
  fields?: RequestedFields[];
1633
1732
  }
1634
1733
  interface CursorSearch extends CursorSearchPagingMethodOneOf {
@@ -1839,13 +1938,23 @@ interface NestedAggregation {
1839
1938
  nestedAggregations?: NestedAggregationItem[];
1840
1939
  }
1841
1940
  interface SearchDetails {
1842
- /** Defines how separate search terms in `expression` are combined */
1941
+ /**
1942
+ * Defines how separate search terms in `expression` are combined.
1943
+ *
1944
+ * Supported values:
1945
+ * + `OR` - Any of the search terms must be present
1946
+ * + `AND` - All search terms must be present
1947
+ */
1843
1948
  mode?: Mode;
1844
- /** Search term or expression */
1949
+ /** Search term or expression. */
1845
1950
  expression?: string | null;
1846
- /** Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path */
1951
+ /**
1952
+ * Fields in which to search for the `expression`. Use dot notation to specify field path.
1953
+ *
1954
+ * When empty - all searchable fields are looked at.
1955
+ */
1847
1956
  fields?: string[];
1848
- /** Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
1957
+ /** Whether to use fuzzy search - allowing typos and other minor errors in the search. */
1849
1958
  fuzzy?: boolean;
1850
1959
  }
1851
1960
  declare enum Mode {
@@ -1855,9 +1964,9 @@ declare enum Mode {
1855
1964
  AND = "AND"
1856
1965
  }
1857
1966
  interface SearchCategoriesResponse {
1858
- /** Categories which satisfy the provided query. */
1967
+ /** List of categories. */
1859
1968
  categories?: Category[];
1860
- /** Paging metadata. Contains cursor which can be used in next query. */
1969
+ /** Paging metadata. */
1861
1970
  pagingMetadata?: CursorPagingMetadata;
1862
1971
  /** Aggregation data. */
1863
1972
  aggregationData?: AggregationData;
@@ -2045,11 +2154,18 @@ interface AggregationResultsResultOneOf {
2045
2154
  interface DeprecatedSearchCategoriesWithOffsetRequest {
2046
2155
  /** WQL query expression. */
2047
2156
  search?: OffsetSearch;
2048
- /** A reference to the tree that contains this category. */
2157
+ /** Category tree reference details. */
2049
2158
  treeReference?: TreeReference;
2050
2159
  /** Whether to return categories with `visible:false`. Default: false so only visible categories will be in response. */
2051
2160
  returnNonVisibleCategories?: boolean;
2052
- /** Fields to return in the response. When not provided, these fields are not returned. */
2161
+ /**
2162
+ * Fields to include in the response.
2163
+ *
2164
+ * Supported values:
2165
+ * + `BREADCRUMBS`
2166
+ * + `DESCRIPTION`
2167
+ * + `RICH_CONTENT_DESCRIPTION`
2168
+ */
2053
2169
  fields?: RequestedFields[];
2054
2170
  }
2055
2171
  interface OffsetSearch extends OffsetSearchPagingMethodOneOf {
@@ -2079,6 +2195,12 @@ interface OffsetSearchPagingMethodOneOf {
2079
2195
  /** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */
2080
2196
  paging?: Paging;
2081
2197
  }
2198
+ interface Paging {
2199
+ /** Number of items to load. */
2200
+ limit?: number | null;
2201
+ /** Number of items to skip in the current sort order. */
2202
+ offset?: number | null;
2203
+ }
2082
2204
  interface DeprecatedSearchCategoriesWithOffsetResponse {
2083
2205
  /** Categories which satisfy the provided query. */
2084
2206
  categories?: Category[];
@@ -2099,75 +2221,79 @@ interface PagingMetadata {
2099
2221
  }
2100
2222
  interface CountCategoriesRequest {
2101
2223
  /**
2102
- * 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)
2103
- * To understand supported filters and limitations see `SearchCategories` method.
2224
+ * Filter object.
2225
+ *
2226
+ * Learn more about the [filter object structure](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
2104
2227
  */
2105
2228
  filter?: Record<string, any> | null;
2106
- /** free text to match in searchable fields */
2229
+ /** Search options. */
2107
2230
  search?: SearchDetails;
2108
- /**
2109
- * A reference to the tree that contains this category.
2110
- * Used only in the first request. Following requests use the cursor token.
2111
- */
2231
+ /** Category tree reference details. */
2112
2232
  treeReference: TreeReference;
2113
2233
  /**
2114
- * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
2115
- * Used only in the first request. Following requests use the cursor token.
2234
+ * Whether to return categories with `visible: false` (hidden categories).
2235
+ *
2236
+ * Default: `false` - only visible categories are returned in the response
2116
2237
  */
2117
2238
  returnNonVisibleCategories?: boolean;
2118
2239
  }
2119
2240
  interface CountCategoriesResponse {
2120
- /** Total count of categories which satisfy the provided request. */
2241
+ /** Total count of categories which satisfy the given filter and/or search. */
2121
2242
  count?: number;
2122
2243
  }
2123
2244
  interface MoveCategoryRequest {
2124
- /** ID of category to place. */
2245
+ /** ID of the category to move. */
2125
2246
  categoryId: string;
2126
- /** A reference to the tree that contains this category. */
2247
+ /** Category tree reference details. */
2127
2248
  treeReference: TreeReference;
2128
2249
  /**
2129
- * ID of parent category.
2130
- * Optional. When not passed it will fallback to the root category
2250
+ * Parent category ID.
2251
+ *
2252
+ * Default: root category ID
2131
2253
  */
2132
2254
  parentCategoryId?: string | null;
2133
2255
  /**
2134
2256
  * Where to place the subcategory.
2135
- * `FIRST` - make category with `category_id` first subcategory with manual arrangement.
2136
- * `LAST` - make category with `category_id` last subcategory with manual arrangement.
2137
- * `BEFORE` - requires `move_before_category_id`, category with `category_id` will be moved before it.
2257
+ *
2258
+ * + `FIRST`: Position the category as the first subcategory.
2259
+ * + `LAST`: Position the category as the last subcategory.
2260
+ * + `AFTER`: Position the category after the category ID passed in `moveAfterCategoryId`.
2138
2261
  */
2139
2262
  position: Position;
2140
- /** Required when `position` is `BEFORE`. Otherwise ignored */
2141
- moveBeforeCategoryId?: string | null;
2263
+ /** Required when passing `position: AFTER`. */
2264
+ moveAfterCategoryId?: string | null;
2142
2265
  }
2143
2266
  declare enum Position {
2144
2267
  UNKNOWN_POSITION = "UNKNOWN_POSITION",
2145
2268
  FIRST = "FIRST",
2146
2269
  LAST = "LAST",
2147
- BEFORE = "BEFORE"
2270
+ AFTER = "AFTER"
2148
2271
  }
2149
2272
  interface MoveCategoryResponse {
2150
- /** ID of parent category. */
2273
+ /** Parent category ID. */
2151
2274
  parentCategoryId?: string | null;
2152
- /** Information about manually arranged categories after move. */
2275
+ /** List of category IDs in the new order of arrangement. */
2153
2276
  categoriesAfterMove?: string[];
2154
2277
  }
2155
- interface CategoryMoved {
2156
- /** Category ID. */
2157
- categoryId?: string;
2158
- /** ID of parent category and index. */
2159
- parentCategory?: ParentCategory;
2160
- /** A reference to the tree that contains this category. */
2161
- treeReference?: TreeReference;
2162
- }
2163
2278
  interface BulkCreateCategoriesRequest {
2164
2279
  /** List of categories to be created. */
2165
2280
  categories?: Category[];
2166
- /** A reference to the tree that contains the categories. */
2281
+ /** Category tree reference details. */
2167
2282
  treeReference?: TreeReference;
2168
- /** Whether to return the category entity in the response. */
2283
+ /**
2284
+ * Whether to return the category entity in the response.
2285
+ *
2286
+ * Default: `false`
2287
+ */
2169
2288
  returnEntity?: boolean;
2170
- /** Fields to return in the response. When not provided, these fields are not returned. */
2289
+ /**
2290
+ * Fields to include in the response.
2291
+ *
2292
+ * Supported values:
2293
+ * + `BREADCRUMBS`
2294
+ * + `DESCRIPTION`
2295
+ * + `RICH_CONTENT_DESCRIPTION`
2296
+ */
2171
2297
  fields?: RequestedFields[];
2172
2298
  }
2173
2299
  interface BulkCreateCategoriesResponse {
@@ -2177,9 +2303,13 @@ interface BulkCreateCategoriesResponse {
2177
2303
  bulkActionMetadata?: BulkActionMetadata;
2178
2304
  }
2179
2305
  interface BulkCategoriesResult {
2180
- /** Information about successful action or error for failure. */
2306
+ /** Bulk action metadata for category. */
2181
2307
  itemMetadata?: ItemMetadata;
2182
- /** Created or updated category. Optional - returned only if requested with `return_entity` set to `true`. */
2308
+ /**
2309
+ * Full category entity.
2310
+ *
2311
+ * Returned only if `returnEntity: true` is passed in the request.
2312
+ */
2183
2313
  category?: Category;
2184
2314
  }
2185
2315
  interface ItemMetadata {
@@ -2209,17 +2339,28 @@ interface BulkActionMetadata {
2209
2339
  undetailedFailures?: number;
2210
2340
  }
2211
2341
  interface BulkUpdateCategoriesRequest {
2212
- /** List of categories to be updated. */
2342
+ /** List of categories to update. */
2213
2343
  categories: MaskedCategory[];
2214
- /** A reference to the tree that contains the categories. */
2344
+ /** Category tree reference details. */
2215
2345
  treeReference: TreeReference;
2216
- /** Whether to return the category entity in the response. */
2346
+ /**
2347
+ * Whether to return the full category entity in the response.
2348
+ *
2349
+ * Default: `false`
2350
+ */
2217
2351
  returnEntity?: boolean;
2218
- /** Fields to return in the response. When not provided, these fields are not returned. */
2352
+ /**
2353
+ * Fields to include in the response.
2354
+ *
2355
+ * Supported values:
2356
+ * + `BREADCRUMBS`
2357
+ * + `DESCRIPTION`
2358
+ * + `RICH_CONTENT_DESCRIPTION`
2359
+ */
2219
2360
  fields?: RequestedFields[];
2220
2361
  }
2221
2362
  interface MaskedCategory {
2222
- /** Category to be updated, may be partial. */
2363
+ /** Category to update. */
2223
2364
  category?: Category;
2224
2365
  }
2225
2366
  interface BulkUpdateCategoriesResponse {
@@ -2229,31 +2370,57 @@ interface BulkUpdateCategoriesResponse {
2229
2370
  bulkActionMetadata?: BulkActionMetadata;
2230
2371
  }
2231
2372
  interface UpdateCategoryVisibilityRequest {
2232
- /** ID of category to be updated */
2373
+ /** Category ID. */
2233
2374
  categoryId: string;
2234
- /** value to set `visible` to */
2375
+ /**
2376
+ * Whether the category is visible to site visitors in dynamic pages.
2377
+ *
2378
+ * + If a parent category's visibility is set to `false`, all the children categories' visibility will also be set to `false`.
2379
+ * + Passing `true` will fail if the visibility of any parent categories is `false`.
2380
+ */
2235
2381
  visible: boolean;
2236
- /** A reference to the tree that contains this category. */
2382
+ /** Category tree reference details. */
2237
2383
  treeReference: TreeReference;
2238
- /** Latest revision of the category. */
2384
+ /**
2385
+ * Latest revision of the category.
2386
+ * To prevent conflicting changes, the current revision must be passed on update.
2387
+ */
2239
2388
  revision: string | null;
2240
- /** Fields to return in the response. When not provided, these fields are not returned. */
2389
+ /**
2390
+ * Fields to include in the response.
2391
+ *
2392
+ * Supported values:
2393
+ * + `BREADCRUMBS`
2394
+ * + `DESCRIPTION`
2395
+ * + `RICH_CONTENT_DESCRIPTION`
2396
+ */
2241
2397
  fields?: SingleEntityOpsRequestedFields[];
2242
2398
  }
2243
2399
  interface UpdateCategoryVisibilityResponse {
2244
- /** The updated Category. */
2400
+ /** Updated category. */
2245
2401
  category?: Category;
2246
2402
  }
2247
2403
  interface BulkUpdateCategoryVisibilityRequest {
2248
- /** IDs of categories to be updated. */
2404
+ /** IDs of the categories to update. */
2249
2405
  categoryIds?: string[];
2250
2406
  /** value to set `visible` to. This value will be set for all categories in the request */
2251
2407
  visible?: boolean;
2252
- /** A reference to the tree that contains this category. */
2408
+ /** Category tree reference details. */
2253
2409
  treeReference?: TreeReference;
2254
- /** Whether to return the category entity in the response. */
2410
+ /**
2411
+ * Whether to return the category entity in the response.
2412
+ *
2413
+ * Default: `false`
2414
+ */
2255
2415
  returnEntity?: boolean;
2256
- /** Fields to return in the response. When not provided, these fields are not returned. */
2416
+ /**
2417
+ * Fields to include in the response.
2418
+ *
2419
+ * Supported values:
2420
+ * + `BREADCRUMBS`
2421
+ * + `DESCRIPTION`
2422
+ * + `RICH_CONTENT_DESCRIPTION`
2423
+ */
2257
2424
  fields?: RequestedFields[];
2258
2425
  }
2259
2426
  interface BulkUpdateCategoryVisibilityResponse {
@@ -2272,13 +2439,17 @@ interface BulkUpdateCategoryVisibilityByFilterRequest {
2272
2439
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
2273
2440
  */
2274
2441
  filter?: Record<string, any> | null;
2275
- /** A reference to the tree that contains the categories. */
2442
+ /** Category tree reference details. */
2276
2443
  treeReference?: TreeReference;
2277
2444
  /** value to set `visible` to. This value will be set for all categories that match the filter */
2278
2445
  visible?: boolean;
2279
2446
  }
2280
2447
  interface BulkUpdateCategoryVisibilityByFilterResponse {
2281
- /** Token that can be used to query "AsyncJobService" */
2448
+ /**
2449
+ * Job ID.
2450
+ *
2451
+ * Pass this ID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction) to retrieve job details and metadata..
2452
+ */
2282
2453
  jobId?: string;
2283
2454
  }
2284
2455
  interface BulkDeleteCategoriesRequest {
@@ -2305,69 +2476,54 @@ interface BulkDeleteCategoriesByFilterRequest {
2305
2476
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
2306
2477
  */
2307
2478
  filter?: Record<string, any> | null;
2308
- /** A reference to the tree that contains the categories. */
2479
+ /** Category tree reference details. */
2309
2480
  treeReference?: TreeReference;
2310
2481
  }
2311
2482
  interface BulkDeleteCategoriesByFilterResponse {
2312
- /** Token that can be used to query "AsyncJobService" */
2483
+ /**
2484
+ * Job ID.
2485
+ *
2486
+ * Pass this ID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction) to retrieve job details and metadata..
2487
+ */
2313
2488
  jobId?: string;
2314
2489
  }
2315
2490
  interface BulkAddItemsToCategoryRequest {
2316
- /** Category id. */
2491
+ /** Category ID. */
2317
2492
  categoryId: string;
2318
- /** List of catalog items with reference info. */
2493
+ /** List of items to add. */
2319
2494
  items: ItemReference[];
2320
- /** A reference to the tree that contains this category. */
2495
+ /** Category tree reference details. */
2321
2496
  treeReference: TreeReference;
2322
2497
  }
2323
- interface ItemReference {
2324
- /** ID of the item within its Wix or 3rd-party catalog. For example, `productId` for Wix Stores or `eventId` for Wix Events. */
2325
- catalogItemId?: string;
2326
- /** ID of the catalog app. For example, the Wix Stores `appId`, or the 3rd-party `appId`. */
2327
- appId?: string;
2328
- }
2329
2498
  interface BulkAddItemsToCategoryResponse {
2330
- /** Items added by bulk action. */
2499
+ /** List of items added to a category by bulk action. */
2331
2500
  results?: BulkItemsToCategoryResult[];
2332
2501
  /** Bulk action metadata. */
2333
2502
  bulkActionMetadata?: BulkActionMetadata;
2334
2503
  }
2335
2504
  interface BulkItemsToCategoryResult {
2336
- /** Information about items that were added successfully and errors for failed items. */
2505
+ /** Bulk action metadata for category. */
2337
2506
  itemMetadata?: ItemReferenceMetadata;
2338
2507
  }
2339
2508
  interface ItemReferenceMetadata {
2340
- /** Item reference from request. */
2509
+ /** Catalog and item reference info. */
2341
2510
  item?: ItemReference;
2342
- /** Index of the item within the request array. Allows for correlation between request and response items. */
2511
+ /** Original index of the item within the request array. Allows for correlation between request and response items. */
2343
2512
  originalIndex?: number;
2344
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
2513
+ /**
2514
+ * Whether the action was successful.
2515
+ * When `false`, the `error` field is populated.
2516
+ */
2345
2517
  success?: boolean;
2346
- /** Details about the error in case of failure. */
2518
+ /** Error details in the case of an unsuccessful action. */
2347
2519
  error?: ApplicationError;
2348
2520
  }
2349
- interface ItemAddedToCategory {
2350
- /** Category ID. */
2351
- categoryId?: string;
2352
- /** Catalog item reference info. */
2353
- addedItem?: ItemReference;
2354
- /** A reference to the tree that contains this category. */
2355
- treeReference?: TreeReference;
2356
- }
2357
- interface ItemsAddedToCategory {
2358
- /** Category ID. */
2359
- categoryId?: string;
2360
- /** List of catalog items with reference info. */
2361
- addedItems?: ItemReference[];
2362
- /** A reference to the tree that contains this category. */
2363
- treeReference?: TreeReference;
2364
- }
2365
2521
  interface BulkAddItemToCategoriesRequest {
2366
- /** Catalog item reference info */
2522
+ /** Item to add. */
2367
2523
  item: ItemReference;
2368
- /** Category ids. */
2524
+ /** IDs of categories to which to add the item. */
2369
2525
  categoryIds: string[];
2370
- /** A reference to the tree that contains the categories. */
2526
+ /** Category tree reference details. */
2371
2527
  treeReference: TreeReference;
2372
2528
  }
2373
2529
  interface BulkAddItemToCategoriesResponse {
@@ -2377,15 +2533,15 @@ interface BulkAddItemToCategoriesResponse {
2377
2533
  bulkActionMetadata?: BulkActionMetadata;
2378
2534
  }
2379
2535
  interface BulkItemToCategoriesResult {
2380
- /** Information about categories to which item was added successfully and errors for failed items. `id` is ID of category. */
2536
+ /** Bulk action metadata for category. */
2381
2537
  itemMetadata?: ItemMetadata;
2382
2538
  }
2383
2539
  interface BulkRemoveItemsFromCategoryRequest {
2384
- /** Category id */
2540
+ /** Category ID. */
2385
2541
  categoryId: string;
2386
- /** List of catalog items with reference info. */
2542
+ /** List of items to remove. */
2387
2543
  items: ItemReference[];
2388
- /** A reference to the tree that contains this category. */
2544
+ /** Category tree reference details. */
2389
2545
  treeReference: TreeReference;
2390
2546
  }
2391
2547
  interface BulkRemoveItemsFromCategoryResponse {
@@ -2394,28 +2550,12 @@ interface BulkRemoveItemsFromCategoryResponse {
2394
2550
  /** Bulk action metadata. */
2395
2551
  bulkActionMetadata?: BulkActionMetadata;
2396
2552
  }
2397
- interface ItemRemovedFromCategory {
2398
- /** Category ID. */
2399
- categoryId?: string;
2400
- /** Catalog item reference info. */
2401
- removedItem?: ItemReference;
2402
- /** A reference to the tree that contains this category. */
2403
- treeReference?: TreeReference;
2404
- }
2405
- interface ItemsRemovedFromCategory {
2406
- /** Category ID. */
2407
- categoryId?: string;
2408
- /** List of catalog items with reference info. */
2409
- removedItems?: ItemReference[];
2410
- /** A reference to the tree that contains this category. */
2411
- treeReference?: TreeReference;
2412
- }
2413
2553
  interface BulkRemoveItemFromCategoriesRequest {
2414
- /** Catalog item reference info */
2554
+ /** Item to remove. */
2415
2555
  item: ItemReference;
2416
- /** Category ids. */
2556
+ /** IDs of categories from which to remove the item. */
2417
2557
  categoryIds: string[];
2418
- /** A reference to the tree that contains the categories. */
2558
+ /** Category tree reference details. */
2419
2559
  treeReference: TreeReference;
2420
2560
  }
2421
2561
  interface BulkRemoveItemFromCategoriesResponse {
@@ -2425,26 +2565,42 @@ interface BulkRemoveItemFromCategoriesResponse {
2425
2565
  bulkActionMetadata?: BulkActionMetadata;
2426
2566
  }
2427
2567
  interface ListItemsInCategoryRequest extends ListItemsInCategoryRequestPagingMethodOneOf {
2428
- /** 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`. */
2568
+ /**
2569
+ * Cursor paging options.
2570
+ *
2571
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
2572
+ */
2429
2573
  cursorPaging?: CursorPaging;
2430
- /** ID of category containing items. */
2574
+ /** Category ID. */
2431
2575
  categoryId: string;
2432
- /** A reference to the tree that contains this category. */
2576
+ /** Category tree reference details. */
2433
2577
  treeReference: TreeReference;
2434
- /** Default: `false`. When `true` items arranged by user will be return before all other items. */
2578
+ /**
2579
+ * Whether to use category arrangement for sorting items.
2580
+ *
2581
+ * Default: `false`
2582
+ */
2435
2583
  useCategoryArrangement?: boolean;
2436
- /** 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 */
2584
+ /**
2585
+ * Whether to include items from subcategories.
2586
+ *
2587
+ * Default: `false` (only direct items of the category will be returned)
2588
+ */
2437
2589
  includeItemsFromSubcategories?: boolean;
2438
2590
  }
2439
2591
  /** @oneof */
2440
2592
  interface ListItemsInCategoryRequestPagingMethodOneOf {
2441
- /** 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`. */
2593
+ /**
2594
+ * Cursor paging options.
2595
+ *
2596
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
2597
+ */
2442
2598
  cursorPaging?: CursorPaging;
2443
2599
  }
2444
2600
  interface ListItemsInCategoryResponse {
2445
- /** Items which satisfy query. */
2601
+ /** List of items in the category. */
2446
2602
  items?: ItemReference[];
2447
- /** Paging metadata. Contains cursor which can be used in next query. */
2603
+ /** Paging metadata. */
2448
2604
  pagingMetadata?: PagingMetadataV2;
2449
2605
  }
2450
2606
  interface PagingMetadataV2 {
@@ -2458,30 +2614,27 @@ interface PagingMetadataV2 {
2458
2614
  cursors?: Cursors;
2459
2615
  }
2460
2616
  interface ListCategoriesForItemRequest {
2461
- /** Catalog item reference info. */
2617
+ /** Item reference info. */
2462
2618
  item: ItemReference;
2463
- /** A reference to the tree that contains the categories. */
2619
+ /** Category tree reference details. */
2464
2620
  treeReference: TreeReference;
2465
2621
  }
2466
2622
  interface ListCategoriesForItemResponse {
2467
- /** A list of category IDs that contain this item directly. */
2623
+ /** List of IDs of categories that directly contain this item. */
2468
2624
  directCategoryIds?: string[];
2469
- /** A list of category IDs that contain this item directly and their parent category IDs. */
2625
+ /** List of IDs of categories that directly contain this item, and their parent category IDs. */
2470
2626
  allCategoryIds?: string[];
2471
2627
  }
2472
2628
  interface ListTreesRequest {
2473
2629
  }
2474
2630
  interface ListTreesResponse {
2475
- /** A list of all trees */
2631
+ /** List of trees. */
2476
2632
  trees?: TreeReference[];
2477
2633
  }
2478
2634
  interface MoveItemInCategoryRequest {
2479
- /**
2480
- * ID of category.
2481
- * Item must be direct child of this category, otherwise error returned
2482
- */
2635
+ /** Category ID. */
2483
2636
  categoryId?: string;
2484
- /** A reference to the tree that contains this category. */
2637
+ /** Category tree reference details. */
2485
2638
  treeReference?: TreeReference;
2486
2639
  /** Item to move. */
2487
2640
  item?: ItemReference;
@@ -2507,39 +2660,30 @@ interface MoveItemInCategoryResponse {
2507
2660
  /** Information about manually arranged items after move. */
2508
2661
  itemsAfterMove?: ItemReference[];
2509
2662
  }
2510
- interface ItemsArrangedInCategory {
2511
- /** Category ID. */
2512
- categoryId?: string;
2513
- /** A reference to the tree that contains this category. */
2514
- treeReference?: TreeReference;
2515
- }
2516
2663
  interface SetArrangedItemsRequest {
2517
- /** ID of category. */
2664
+ /** Category ID. */
2518
2665
  categoryId: string;
2519
- /** A reference to the tree that contains this category. */
2666
+ /** Category tree reference details. */
2520
2667
  treeReference: TreeReference;
2521
- /**
2522
- * List of arranged items to set.
2523
- * All items must be direct children of category with `category_id`, otherwise error returned.
2524
- */
2668
+ /** List of items to set. */
2525
2669
  items?: ItemReference[];
2526
2670
  }
2527
2671
  interface SetArrangedItemsResponse {
2528
- /** The updated list of arranged items in category. */
2672
+ /** List of arranged items. */
2529
2673
  items?: ItemReference[];
2530
2674
  }
2531
2675
  interface GetArrangedItemsRequest {
2532
- /** ID of category. */
2676
+ /** Category ID. */
2533
2677
  categoryId: string;
2534
- /** A reference to the tree that contains this category. */
2678
+ /** Category tree reference details. */
2535
2679
  treeReference: TreeReference;
2536
2680
  }
2537
2681
  interface GetArrangedItemsResponse {
2538
- /** List of arranged items in category. */
2682
+ /** List of arranged items. */
2539
2683
  items?: ItemReference[];
2540
2684
  }
2541
2685
  interface GetCategoriesTreeRequest {
2542
- /** A reference to the tree. */
2686
+ /** Category tree reference details. */
2543
2687
  treeReference?: TreeReference;
2544
2688
  }
2545
2689
  interface GetCategoriesTreeResponse {
@@ -2550,7 +2694,7 @@ interface GetCategoriesTreeResponse {
2550
2694
  interface CategoryTreeNode {
2551
2695
  /** Category ID. */
2552
2696
  _id?: Uint8Array;
2553
- /** A list of child categories. */
2697
+ /** List of subcategories. */
2554
2698
  subcategories?: CategoryTreeNode[];
2555
2699
  }
2556
2700
  interface DomainEvent extends DomainEventBodyOneOf {
@@ -2955,6 +3099,9 @@ interface GetCategoryResponseNonNullableFields {
2955
3099
  interface UpdateCategoryResponseNonNullableFields {
2956
3100
  category?: CategoryNonNullableFields;
2957
3101
  }
3102
+ interface QueryCategoriesResponseNonNullableFields {
3103
+ categories: CategoryNonNullableFields[];
3104
+ }
2958
3105
  interface ValueAggregationResultNonNullableFields {
2959
3106
  value: string;
2960
3107
  count: number;
@@ -3090,104 +3237,48 @@ interface SetArrangedItemsResponseNonNullableFields {
3090
3237
  interface GetArrangedItemsResponseNonNullableFields {
3091
3238
  items: ItemReferenceNonNullableFields[];
3092
3239
  }
3093
- interface BaseEventMetadata {
3094
- /** App instance ID. */
3095
- instanceId?: string | null;
3096
- /** Event type. */
3097
- eventType?: string;
3098
- /** The identification type and identity data. */
3099
- identity?: IdentificationData;
3100
- }
3101
- interface EventMetadata extends BaseEventMetadata {
3102
- /**
3103
- * Unique event ID.
3104
- * Allows clients to ignore duplicate webhooks.
3105
- */
3106
- _id?: string;
3107
- /**
3108
- * Assumes actions are also always typed to an entity_type
3109
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
3110
- */
3111
- entityFqdn?: string;
3112
- /**
3113
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
3114
- * This is although the created/updated/deleted notion is duplication of the oneof types
3115
- * Example: created/updated/deleted/started/completed/email_opened
3116
- */
3117
- slug?: string;
3118
- /** ID of the entity associated with the event. */
3119
- entityId?: string;
3120
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3121
- eventTime?: Date;
3122
- /**
3123
- * Whether the event was triggered as a result of a privacy regulation application
3124
- * (for example, GDPR).
3125
- */
3126
- triggeredByAnonymizeRequest?: boolean | null;
3127
- /** If present, indicates the action that triggered the event. */
3128
- originatedFrom?: string | null;
3129
- /**
3130
- * A sequence number defining the order of updates to the underlying entity.
3131
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
3132
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
3133
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
3134
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
3135
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
3136
- */
3137
- entityEventSequence?: string | null;
3138
- }
3139
- interface CategoryCreatedEnvelope {
3140
- entity: Category;
3141
- metadata: EventMetadata;
3142
- }
3143
- interface CategoryUpdatedEnvelope {
3144
- entity: Category;
3145
- metadata: EventMetadata;
3146
- }
3147
- interface CategoryDeletedEnvelope {
3148
- metadata: EventMetadata;
3149
- }
3150
- interface CategoryMovedEnvelope {
3151
- data: CategoryMoved;
3152
- metadata: EventMetadata;
3153
- }
3154
- interface CategoryItemAddedToCategoryEnvelope {
3155
- data: ItemAddedToCategory;
3156
- metadata: EventMetadata;
3157
- }
3158
- interface CategoryItemRemovedFromCategoryEnvelope {
3159
- data: ItemRemovedFromCategory;
3160
- metadata: EventMetadata;
3161
- }
3162
- interface CategoryItemsArrangedInCategoryEnvelope {
3163
- data: ItemsArrangedInCategory;
3164
- metadata: EventMetadata;
3165
- }
3166
3240
  interface CreateCategoryOptions {
3167
- /** A reference to the tree that contains this category. */
3241
+ /** Category tree reference details. */
3168
3242
  treeReference: TreeReference;
3169
- /** Fields to return in the response. When not provided, these fields are not returned. */
3243
+ /**
3244
+ * Fields to include in the response.
3245
+ *
3246
+ * Supported values:
3247
+ * + `BREADCRUMBS`
3248
+ * + `DESCRIPTION`
3249
+ * + `RICH_CONTENT_DESCRIPTION`
3250
+ */
3170
3251
  fields?: SingleEntityOpsRequestedFields[];
3171
3252
  }
3172
3253
  interface GetCategoryOptions {
3173
- /** Fields to return in the response. When not provided, these fields are not returned. */
3254
+ /**
3255
+ * Fields to include in the response.
3256
+ *
3257
+ * Supported values:
3258
+ * + `BREADCRUMBS`
3259
+ * + `DESCRIPTION`
3260
+ * + `RICH_CONTENT_DESCRIPTION`
3261
+ */
3174
3262
  fields?: SingleEntityOpsRequestedFields[];
3175
3263
  }
3176
3264
  interface UpdateCategory {
3177
3265
  /** Category ID. */
3178
3266
  _id?: string | null;
3179
3267
  /**
3180
- * 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
3268
+ * Revision number, which increments by 1 each time the category is updated.
3269
+ * To prevent conflicting changes, the current revision must be passed when updating.
3270
+ *
3271
+ * Ignored when creating a category.
3181
3272
  * @readonly
3182
3273
  */
3183
3274
  revision?: string | null;
3184
3275
  /**
3185
- * Represents the time this Category was created.
3276
+ * Date and time the category was created.
3186
3277
  * @readonly
3187
3278
  */
3188
3279
  _createdDate?: Date;
3189
3280
  /**
3190
- * Represents the time this Category was last updated.
3281
+ * Date and time the category was updated.
3191
3282
  * @readonly
3192
3283
  */
3193
3284
  _updatedDate?: Date;
@@ -3195,13 +3286,13 @@ interface UpdateCategory {
3195
3286
  name?: string | null;
3196
3287
  /**
3197
3288
  * Category image.
3198
- * Pass existing media ID for image previously saved in Wix media manager.
3199
- * Pass full image URL to upload an image to Wix media manager.
3200
- * In case of full url the image will be updated eventually.
3289
+ *
3290
+ * + 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).
3291
+ * + Pass full image URL to upload to Wix Media Manager.
3201
3292
  */
3202
3293
  image?: string;
3203
3294
  /**
3204
- * Number of items in this category alone.
3295
+ * Number of items in this category.
3205
3296
  * @readonly
3206
3297
  */
3207
3298
  itemCounter?: number;
@@ -3211,153 +3302,306 @@ interface UpdateCategory {
3211
3302
  */
3212
3303
  description?: string | null;
3213
3304
  /**
3214
- * Whether the category is visible to site visitors in dynamic pages (If not passed, the default is `false`).
3215
- * Even if visible is `false`, it can still be added manually to static page.
3216
- * If parent visibility is updated to `false`, all the children visibility will be updated eventually to `false`.
3217
- * It is not allowed to set visible as `true` if at least one of the parent categories has visible `false`.
3305
+ * Whether the category is visible to site visitors in dynamic pages.
3306
+ *
3307
+ * + If the parent category's visibility is set to `false`, all the children categories' visibility will also be set to `false`.
3308
+ * + Passing `true` will fail if the visibility of any parent categories is `false`.
3309
+ * + Default: `false`.
3218
3310
  */
3219
3311
  visible?: boolean | null;
3220
3312
  /**
3221
- * A category's breadcrumbs, Updated on moved to different parent or on renamed.
3222
- * > **Note:** This field is returned only when you pass `fields: "BREADCRUMBS"` in the request.
3313
+ * Category breadcrumbs.
3314
+ *
3315
+ * > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
3223
3316
  * @readonly
3224
3317
  */
3225
3318
  breadcrumbs?: BreadcrumbItemValues;
3226
- /** The parent category. */
3319
+ /** Parent category reference data. */
3227
3320
  parentCategory?: ParentCategory;
3228
3321
  /**
3229
- * A permanent, friendly URL name.
3230
- * If not provided, on create generated automatically.
3231
- * When provided, validated and must be unique.
3322
+ * Category slug.
3323
+ *
3324
+ * If not provided, the slug is autogenerated based on the category name.
3232
3325
  */
3233
3326
  slug?: string | null;
3234
3327
  /**
3235
- * Category description which supports rich content. It is independent from `description` field and can be used instead of it or in addition to it.
3236
- * 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/.
3237
- * > **Note:** This field is returned only when you pass `fields: "RICH_CONTENT_DESCRIPTION"` in the request.
3328
+ * Category description using rich content.
3329
+ *
3330
+ * Learn more about [Working with Rich Content](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content).
3331
+ * > **Note:** Returned only when you pass `"BREADCRUMBS"` to the `fields` array in Categories API requests.
3238
3332
  */
3239
3333
  richContentDescription?: RichContent;
3240
3334
  /**
3241
- * Optional - the ID of the app responsible for managing the items within this category.
3242
- * If provided, the update of items assigned to this category and the deletion of it will be allowed only to the managing app.
3243
- * The default is Empty.
3335
+ * ID of the app responsible for managing the items in this category.
3336
+ *
3337
+ * Pass your app ID to restrict updating and deleting items in this category to your app only.
3244
3338
  */
3245
3339
  managingAppId?: string | null;
3246
- /** Extensions enabling users to save custom data related to the category. */
3340
+ /**
3341
+ * Custom extended fields for the category object.
3342
+ *
3343
+ * [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.
3344
+ */
3247
3345
  extendedFields?: ExtendedFields;
3248
3346
  }
3249
3347
  interface UpdateCategoryOptions {
3250
- /** A reference to the tree that contains this category. */
3348
+ /** Category tree reference details. */
3251
3349
  treeReference: TreeReference;
3252
- /** Fields to return in the response. When not provided, these fields are not returned. */
3350
+ /**
3351
+ * Fields to include in the response.
3352
+ *
3353
+ * Supported values:
3354
+ * + `BREADCRUMBS`
3355
+ * + `DESCRIPTION`
3356
+ * + `RICH_CONTENT_DESCRIPTION`
3357
+ */
3253
3358
  fields?: SingleEntityOpsRequestedFields[];
3254
3359
  }
3360
+ interface QueryCategoriesOptions {
3361
+ /** Category tree reference details. */
3362
+ treeReference: TreeReference;
3363
+ /**
3364
+ * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
3365
+ * Used only in the first request. Following requests use the cursor token.
3366
+ */
3367
+ returnNonVisibleCategories?: boolean | undefined;
3368
+ /**
3369
+ * Fields to include in the response.
3370
+ *
3371
+ * Supported values:
3372
+ * + `BREADCRUMBS`
3373
+ * + `DESCRIPTION`
3374
+ * + `RICH_CONTENT_DESCRIPTION`
3375
+ */
3376
+ fields?: RequestedFields[] | undefined;
3377
+ }
3378
+ interface QueryCursorResult {
3379
+ cursors: Cursors;
3380
+ hasNext: () => boolean;
3381
+ hasPrev: () => boolean;
3382
+ length: number;
3383
+ pageSize: number;
3384
+ }
3385
+ interface CategoriesQueryResult extends QueryCursorResult {
3386
+ items: Category[];
3387
+ query: CategoriesQueryBuilder;
3388
+ next: () => Promise<CategoriesQueryResult>;
3389
+ prev: () => Promise<CategoriesQueryResult>;
3390
+ }
3391
+ interface CategoriesQueryBuilder {
3392
+ /** @param propertyName - Property whose value is compared with `value`.
3393
+ * @param value - Value to compare against.
3394
+ * @documentationMaturity preview
3395
+ */
3396
+ eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
3397
+ /** @param propertyName - Property whose value is compared with `value`.
3398
+ * @param value - Value to compare against.
3399
+ * @documentationMaturity preview
3400
+ */
3401
+ ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
3402
+ /** @param propertyName - Property whose value is compared with `value`.
3403
+ * @param value - Value to compare against.
3404
+ * @documentationMaturity preview
3405
+ */
3406
+ ge: (propertyName: '_createdDate' | '_updatedDate' | 'parentCategory.index', value: any) => CategoriesQueryBuilder;
3407
+ /** @param propertyName - Property whose value is compared with `value`.
3408
+ * @param value - Value to compare against.
3409
+ * @documentationMaturity preview
3410
+ */
3411
+ gt: (propertyName: '_createdDate' | '_updatedDate' | 'parentCategory.index', value: any) => CategoriesQueryBuilder;
3412
+ /** @param propertyName - Property whose value is compared with `value`.
3413
+ * @param value - Value to compare against.
3414
+ * @documentationMaturity preview
3415
+ */
3416
+ le: (propertyName: '_createdDate' | '_updatedDate' | 'parentCategory.index', value: any) => CategoriesQueryBuilder;
3417
+ /** @param propertyName - Property whose value is compared with `value`.
3418
+ * @param value - Value to compare against.
3419
+ * @documentationMaturity preview
3420
+ */
3421
+ lt: (propertyName: '_createdDate' | '_updatedDate' | 'parentCategory.index', value: any) => CategoriesQueryBuilder;
3422
+ /** @param propertyName - Property whose value is compared with `string`.
3423
+ * @param string - String to compare against. Case-insensitive.
3424
+ * @documentationMaturity preview
3425
+ */
3426
+ startsWith: (propertyName: '_id' | 'name' | 'description' | 'parentCategory.id' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: string) => CategoriesQueryBuilder;
3427
+ /** @param propertyName - Property whose value is compared with `values`.
3428
+ * @param values - List of values to compare against.
3429
+ * @documentationMaturity preview
3430
+ */
3431
+ hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any[]) => CategoriesQueryBuilder;
3432
+ /** @documentationMaturity preview */
3433
+ in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
3434
+ /** @documentationMaturity preview */
3435
+ exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: boolean) => CategoriesQueryBuilder;
3436
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3437
+ * @documentationMaturity preview
3438
+ */
3439
+ ascending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'name' | 'parentCategory.id' | 'parentCategory.index' | 'managingAppId'>) => CategoriesQueryBuilder;
3440
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3441
+ * @documentationMaturity preview
3442
+ */
3443
+ descending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'name' | 'parentCategory.id' | 'parentCategory.index' | 'managingAppId'>) => CategoriesQueryBuilder;
3444
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
3445
+ * @documentationMaturity preview
3446
+ */
3447
+ limit: (limit: number) => CategoriesQueryBuilder;
3448
+ /** @param cursor - A pointer to specific record
3449
+ * @documentationMaturity preview
3450
+ */
3451
+ skipTo: (cursor: string) => CategoriesQueryBuilder;
3452
+ /** @documentationMaturity preview */
3453
+ find: () => Promise<CategoriesQueryResult>;
3454
+ }
3255
3455
  interface SearchCategoriesOptions {
3256
- /** WQL query expression. */
3456
+ /** Search options. */
3257
3457
  search?: CursorSearch;
3258
3458
  /**
3259
- * A reference to the tree that contains this category.
3260
- * Used only in the first request. Following requests use the cursor token.
3459
+ * Category tree reference details.
3460
+ * > **Note:** Pass `treeReference` only in the first request. Pass the cursor token in subsequent requests.
3261
3461
  */
3262
3462
  treeReference: TreeReference;
3263
3463
  /**
3264
- * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
3265
- * Used only in the first request. Following requests use the cursor token.
3464
+ * Whether to return the categories with `visible: false`.
3465
+ *
3466
+ * Default: `false` - only visible categories are returned in the response
3266
3467
  */
3267
3468
  returnNonVisibleCategories?: boolean;
3268
- /** Fields to return in the response. When not provided, these fields are not returned. */
3469
+ /**
3470
+ * Fields to include in the response.
3471
+ *
3472
+ * Supported values:
3473
+ * + `BREADCRUMBS`
3474
+ * + `DESCRIPTION`
3475
+ * + `RICH_CONTENT_DESCRIPTION`
3476
+ */
3269
3477
  fields?: RequestedFields[];
3270
3478
  }
3271
3479
  interface CountCategoriesOptions {
3272
3480
  /**
3273
- * 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)
3274
- * To understand supported filters and limitations see `SearchCategories` method.
3481
+ * Filter object.
3482
+ *
3483
+ * Learn more about the [filter object structure](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
3275
3484
  */
3276
3485
  filter?: Record<string, any> | null;
3277
- /** free text to match in searchable fields */
3486
+ /** Search options. */
3278
3487
  search?: SearchDetails;
3279
- /**
3280
- * A reference to the tree that contains this category.
3281
- * Used only in the first request. Following requests use the cursor token.
3282
- */
3488
+ /** Category tree reference details. */
3283
3489
  treeReference: TreeReference;
3284
3490
  /**
3285
- * Whether to return categories with `visible:false`. Default: false so only visible categories will be in response.
3286
- * Used only in the first request. Following requests use the cursor token.
3491
+ * Whether to return categories with `visible: false` (hidden categories).
3492
+ *
3493
+ * Default: `false` - only visible categories are returned in the response
3287
3494
  */
3288
3495
  returnNonVisibleCategories?: boolean;
3289
3496
  }
3290
3497
  interface MoveCategoryOptions {
3291
3498
  /**
3292
- * ID of parent category.
3293
- * Optional. When not passed it will fallback to the root category
3499
+ * Parent category ID.
3500
+ *
3501
+ * Default: root category ID
3294
3502
  */
3295
3503
  parentCategoryId?: string | null;
3296
3504
  /**
3297
3505
  * Where to place the subcategory.
3298
- * `FIRST` - make category with `category_id` first subcategory with manual arrangement.
3299
- * `LAST` - make category with `category_id` last subcategory with manual arrangement.
3300
- * `BEFORE` - requires `move_before_category_id`, category with `category_id` will be moved before it.
3506
+ *
3507
+ * + `FIRST`: Position the category as the first subcategory.
3508
+ * + `LAST`: Position the category as the last subcategory.
3509
+ * + `AFTER`: Position the category after the category ID passed in `moveAfterCategoryId`.
3301
3510
  */
3302
3511
  position: Position;
3303
- /** Required when `position` is `BEFORE`. Otherwise ignored */
3304
- moveBeforeCategoryId?: string | null;
3512
+ /** Required when passing `position: AFTER`. */
3513
+ moveAfterCategoryId?: string | null;
3305
3514
  }
3306
3515
  interface BulkUpdateCategoriesOptions {
3307
- /** A reference to the tree that contains the categories. */
3516
+ /** Category tree reference details. */
3308
3517
  treeReference: TreeReference;
3309
- /** Whether to return the category entity in the response. */
3518
+ /**
3519
+ * Whether to return the full category entity in the response.
3520
+ *
3521
+ * Default: `false`
3522
+ */
3310
3523
  returnEntity?: boolean;
3311
- /** Fields to return in the response. When not provided, these fields are not returned. */
3524
+ /**
3525
+ * Fields to include in the response.
3526
+ *
3527
+ * Supported values:
3528
+ * + `BREADCRUMBS`
3529
+ * + `DESCRIPTION`
3530
+ * + `RICH_CONTENT_DESCRIPTION`
3531
+ */
3312
3532
  fields?: RequestedFields[];
3313
3533
  }
3314
3534
  interface UpdateCategoryVisibilityOptions {
3315
- /** value to set `visible` to */
3535
+ /**
3536
+ * Whether the category is visible to site visitors in dynamic pages.
3537
+ *
3538
+ * + If a parent category's visibility is set to `false`, all the children categories' visibility will also be set to `false`.
3539
+ * + Passing `true` will fail if the visibility of any parent categories is `false`.
3540
+ */
3316
3541
  visible: boolean;
3317
- /** A reference to the tree that contains this category. */
3542
+ /** Category tree reference details. */
3318
3543
  treeReference: TreeReference;
3319
- /** Latest revision of the category. */
3544
+ /**
3545
+ * Latest revision of the category.
3546
+ * To prevent conflicting changes, the current revision must be passed on update.
3547
+ */
3320
3548
  revision: string | null;
3321
- /** Fields to return in the response. When not provided, these fields are not returned. */
3549
+ /**
3550
+ * Fields to include in the response.
3551
+ *
3552
+ * Supported values:
3553
+ * + `BREADCRUMBS`
3554
+ * + `DESCRIPTION`
3555
+ * + `RICH_CONTENT_DESCRIPTION`
3556
+ */
3322
3557
  fields?: SingleEntityOpsRequestedFields[];
3323
3558
  }
3324
3559
  interface BulkAddItemsToCategoryOptions {
3325
- /** A reference to the tree that contains this category. */
3560
+ /** Category tree reference details. */
3326
3561
  treeReference: TreeReference;
3327
3562
  }
3328
3563
  interface BulkAddItemToCategoriesOptions {
3329
- /** Category ids. */
3564
+ /** IDs of categories to which to add the item. */
3330
3565
  categoryIds: string[];
3331
- /** A reference to the tree that contains the categories. */
3566
+ /** Category tree reference details. */
3332
3567
  treeReference: TreeReference;
3333
3568
  }
3334
3569
  interface BulkRemoveItemsFromCategoryOptions {
3335
- /** A reference to the tree that contains this category. */
3570
+ /** Category tree reference details. */
3336
3571
  treeReference: TreeReference;
3337
3572
  }
3338
3573
  interface BulkRemoveItemFromCategoriesOptions {
3339
- /** Category ids. */
3574
+ /** IDs of categories from which to remove the item. */
3340
3575
  categoryIds: string[];
3341
- /** A reference to the tree that contains the categories. */
3576
+ /** Category tree reference details. */
3342
3577
  treeReference: TreeReference;
3343
3578
  }
3344
3579
  interface ListItemsInCategoryOptions extends ListItemsInCategoryRequestPagingMethodOneOf {
3345
- /** Default: `false`. When `true` items arranged by user will be return before all other items. */
3580
+ /**
3581
+ * Whether to use category arrangement for sorting items.
3582
+ *
3583
+ * Default: `false`
3584
+ */
3346
3585
  useCategoryArrangement?: boolean;
3347
- /** 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 */
3586
+ /**
3587
+ * Whether to include items from subcategories.
3588
+ *
3589
+ * Default: `false` (only direct items of the category will be returned)
3590
+ */
3348
3591
  includeItemsFromSubcategories?: boolean;
3349
- /** 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`. */
3592
+ /**
3593
+ * Cursor paging options.
3594
+ *
3595
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
3596
+ */
3350
3597
  cursorPaging?: CursorPaging;
3351
3598
  }
3352
3599
  interface ListCategoriesForItemOptions {
3353
- /** A reference to the tree that contains the categories. */
3600
+ /** Category tree reference details. */
3354
3601
  treeReference: TreeReference;
3355
3602
  }
3356
3603
  interface SetArrangedItemsOptions {
3357
- /**
3358
- * List of arranged items to set.
3359
- * All items must be direct children of category with `category_id`, otherwise error returned.
3360
- */
3604
+ /** List of items to set. */
3361
3605
  items?: ItemReference[];
3362
3606
  }
3363
3607
 
@@ -3387,16 +3631,6 @@ type APIMetadata = {
3387
3631
  packageName?: string;
3388
3632
  };
3389
3633
  type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
3390
- type EventDefinition<Payload = unknown, Type extends string = string> = {
3391
- __type: 'event-definition';
3392
- type: Type;
3393
- isDomainEvent?: boolean;
3394
- transformations?: (envelope: unknown) => Payload;
3395
- __payload: Payload;
3396
- };
3397
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
3398
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
3399
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
3400
3634
 
3401
3635
  declare global {
3402
3636
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -3407,12 +3641,11 @@ declare global {
3407
3641
 
3408
3642
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3409
3643
 
3410
- declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3411
-
3412
3644
  declare const createCategory: ReturnType<typeof createRESTModule<typeof publicCreateCategory>>;
3413
3645
  declare const getCategory: ReturnType<typeof createRESTModule<typeof publicGetCategory>>;
3414
3646
  declare const updateCategory: ReturnType<typeof createRESTModule<typeof publicUpdateCategory>>;
3415
3647
  declare const deleteCategory: ReturnType<typeof createRESTModule<typeof publicDeleteCategory>>;
3648
+ declare const queryCategories: ReturnType<typeof createRESTModule<typeof publicQueryCategories>>;
3416
3649
  declare const searchCategories: ReturnType<typeof createRESTModule<typeof publicSearchCategories>>;
3417
3650
  declare const countCategories: ReturnType<typeof createRESTModule<typeof publicCountCategories>>;
3418
3651
  declare const moveCategory: ReturnType<typeof createRESTModule<typeof publicMoveCategory>>;
@@ -3427,13 +3660,6 @@ declare const listCategoriesForItem: ReturnType<typeof createRESTModule<typeof p
3427
3660
  declare const listTrees: ReturnType<typeof createRESTModule<typeof publicListTrees>>;
3428
3661
  declare const setArrangedItems: ReturnType<typeof createRESTModule<typeof publicSetArrangedItems>>;
3429
3662
  declare const getArrangedItems: ReturnType<typeof createRESTModule<typeof publicGetArrangedItems>>;
3430
- declare const onCategoryCreated: ReturnType<typeof createEventModule<typeof publicOnCategoryCreated>>;
3431
- declare const onCategoryUpdated: ReturnType<typeof createEventModule<typeof publicOnCategoryUpdated>>;
3432
- declare const onCategoryDeleted: ReturnType<typeof createEventModule<typeof publicOnCategoryDeleted>>;
3433
- declare const onCategoryMoved: ReturnType<typeof createEventModule<typeof publicOnCategoryMoved>>;
3434
- declare const onCategoryItemAddedToCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemAddedToCategory>>;
3435
- declare const onCategoryItemRemovedFromCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemRemovedFromCategory>>;
3436
- declare const onCategoryItemsArrangedInCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemsArrangedInCategory>>;
3437
3663
 
3438
3664
  type index_d_ActionEvent = ActionEvent;
3439
3665
  type index_d_Aggregation = Aggregation;
@@ -3458,7 +3684,6 @@ type index_d_Background = Background;
3458
3684
  type index_d_BackgroundBackgroundOneOf = BackgroundBackgroundOneOf;
3459
3685
  type index_d_BackgroundType = BackgroundType;
3460
3686
  declare const index_d_BackgroundType: typeof BackgroundType;
3461
- type index_d_BaseEventMetadata = BaseEventMetadata;
3462
3687
  type index_d_BlockquoteData = BlockquoteData;
3463
3688
  type index_d_BookingData = BookingData;
3464
3689
  type index_d_Border = Border;
@@ -3502,17 +3727,12 @@ type index_d_BulkUpdateCategoryVisibilityRequest = BulkUpdateCategoryVisibilityR
3502
3727
  type index_d_BulkUpdateCategoryVisibilityResponse = BulkUpdateCategoryVisibilityResponse;
3503
3728
  type index_d_BulletedListData = BulletedListData;
3504
3729
  type index_d_ButtonData = ButtonData;
3730
+ type index_d_CategoriesQueryBuilder = CategoriesQueryBuilder;
3731
+ type index_d_CategoriesQueryResult = CategoriesQueryResult;
3505
3732
  type index_d_Category = Category;
3506
- type index_d_CategoryCreatedEnvelope = CategoryCreatedEnvelope;
3507
- type index_d_CategoryDeletedEnvelope = CategoryDeletedEnvelope;
3508
- type index_d_CategoryItemAddedToCategoryEnvelope = CategoryItemAddedToCategoryEnvelope;
3509
- type index_d_CategoryItemRemovedFromCategoryEnvelope = CategoryItemRemovedFromCategoryEnvelope;
3510
- type index_d_CategoryItemsArrangedInCategoryEnvelope = CategoryItemsArrangedInCategoryEnvelope;
3511
3733
  type index_d_CategoryMoved = CategoryMoved;
3512
- type index_d_CategoryMovedEnvelope = CategoryMovedEnvelope;
3513
3734
  type index_d_CategoryNonNullableFields = CategoryNonNullableFields;
3514
3735
  type index_d_CategoryTreeNode = CategoryTreeNode;
3515
- type index_d_CategoryUpdatedEnvelope = CategoryUpdatedEnvelope;
3516
3736
  type index_d_CellStyle = CellStyle;
3517
3737
  type index_d_CodeBlockData = CodeBlockData;
3518
3738
  type index_d_CollapsibleListData = CollapsibleListData;
@@ -3532,6 +3752,8 @@ type index_d_Crop = Crop;
3532
3752
  declare const index_d_Crop: typeof Crop;
3533
3753
  type index_d_CursorPaging = CursorPaging;
3534
3754
  type index_d_CursorPagingMetadata = CursorPagingMetadata;
3755
+ type index_d_CursorQuery = CursorQuery;
3756
+ type index_d_CursorQueryPagingMethodOneOf = CursorQueryPagingMethodOneOf;
3535
3757
  type index_d_CursorSearch = CursorSearch;
3536
3758
  type index_d_CursorSearchPagingMethodOneOf = CursorSearchPagingMethodOneOf;
3537
3759
  type index_d_Cursors = Cursors;
@@ -3560,7 +3782,6 @@ type index_d_EntityCreatedEvent = EntityCreatedEvent;
3560
3782
  type index_d_EntityDeletedEvent = EntityDeletedEvent;
3561
3783
  type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
3562
3784
  type index_d_EventData = EventData;
3563
- type index_d_EventMetadata = EventMetadata;
3564
3785
  type index_d_ExtendedFields = ExtendedFields;
3565
3786
  type index_d_File = File;
3566
3787
  type index_d_FileData = FileData;
@@ -3710,10 +3931,10 @@ declare const index_d_PollLayoutType: typeof PollLayoutType;
3710
3931
  type index_d_PollSettings = PollSettings;
3711
3932
  type index_d_Position = Position;
3712
3933
  declare const index_d_Position: typeof Position;
3934
+ type index_d_QueryCategoriesOptions = QueryCategoriesOptions;
3713
3935
  type index_d_QueryCategoriesRequest = QueryCategoriesRequest;
3714
3936
  type index_d_QueryCategoriesResponse = QueryCategoriesResponse;
3715
- type index_d_QueryV2 = QueryV2;
3716
- type index_d_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
3937
+ type index_d_QueryCategoriesResponseNonNullableFields = QueryCategoriesResponseNonNullableFields;
3717
3938
  type index_d_RangeAggregation = RangeAggregation;
3718
3939
  type index_d_RangeAggregationResult = RangeAggregationResult;
3719
3940
  type index_d_RangeBucket = RangeBucket;
@@ -3815,19 +4036,13 @@ declare const index_d_listCategoriesForItem: typeof listCategoriesForItem;
3815
4036
  declare const index_d_listItemsInCategory: typeof listItemsInCategory;
3816
4037
  declare const index_d_listTrees: typeof listTrees;
3817
4038
  declare const index_d_moveCategory: typeof moveCategory;
3818
- declare const index_d_onCategoryCreated: typeof onCategoryCreated;
3819
- declare const index_d_onCategoryDeleted: typeof onCategoryDeleted;
3820
- declare const index_d_onCategoryItemAddedToCategory: typeof onCategoryItemAddedToCategory;
3821
- declare const index_d_onCategoryItemRemovedFromCategory: typeof onCategoryItemRemovedFromCategory;
3822
- declare const index_d_onCategoryItemsArrangedInCategory: typeof onCategoryItemsArrangedInCategory;
3823
- declare const index_d_onCategoryMoved: typeof onCategoryMoved;
3824
- declare const index_d_onCategoryUpdated: typeof onCategoryUpdated;
4039
+ declare const index_d_queryCategories: typeof queryCategories;
3825
4040
  declare const index_d_searchCategories: typeof searchCategories;
3826
4041
  declare const index_d_setArrangedItems: typeof setArrangedItems;
3827
4042
  declare const index_d_updateCategory: typeof updateCategory;
3828
4043
  declare const index_d_updateCategoryVisibility: typeof updateCategoryVisibility;
3829
4044
  declare namespace index_d {
3830
- 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 };
4045
+ 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 };
3831
4046
  }
3832
4047
 
3833
4048
  export { index_d as categories };