@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.
- package/package.json +3 -3
- package/type-bundles/context.bundle.d.ts +630 -415
- package/type-bundles/index.bundle.d.ts +630 -415
- package/type-bundles/meta.bundle.d.ts +639 -301
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
13
|
+
* Date and time the category was created.
|
|
16
14
|
* @readonly
|
|
17
15
|
*/
|
|
18
16
|
_createdDate?: Date;
|
|
19
17
|
/**
|
|
20
|
-
*
|
|
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
|
-
*
|
|
29
|
-
* Pass
|
|
30
|
-
*
|
|
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
|
|
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
|
|
45
|
-
*
|
|
46
|
-
* If parent visibility is
|
|
47
|
-
*
|
|
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
|
-
*
|
|
52
|
-
*
|
|
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
|
-
/**
|
|
56
|
+
/** Parent category reference data. */
|
|
57
57
|
parentCategory?: ParentCategory;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
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
|
|
66
|
-
*
|
|
67
|
-
*
|
|
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
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
86
|
+
* List of breadcrumb data.
|
|
83
87
|
* @readonly
|
|
84
88
|
*/
|
|
85
89
|
values?: BreadcrumbItem[];
|
|
86
90
|
}
|
|
87
91
|
interface BreadcrumbItem {
|
|
88
|
-
/**
|
|
92
|
+
/** Category ID. */
|
|
89
93
|
categoryId?: string;
|
|
90
|
-
/**
|
|
94
|
+
/** Category name. */
|
|
91
95
|
categoryName?: string;
|
|
92
|
-
/**
|
|
96
|
+
/** Category slug. */
|
|
93
97
|
categorySlug?: string;
|
|
94
98
|
}
|
|
95
99
|
interface ParentCategory {
|
|
96
100
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
101
|
+
* Parent category ID.
|
|
102
|
+
*
|
|
103
|
+
* Default: root category ID
|
|
99
104
|
*/
|
|
100
105
|
_id?: string | null;
|
|
101
106
|
/**
|
|
102
|
-
*
|
|
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
|
-
*
|
|
1389
|
-
*
|
|
1390
|
-
* For example
|
|
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
|
-
/**
|
|
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
|
|
1537
|
+
/** Category to create. */
|
|
1466
1538
|
category: Category;
|
|
1467
|
-
/**
|
|
1539
|
+
/** Category tree reference details. */
|
|
1468
1540
|
treeReference: TreeReference;
|
|
1469
|
-
/**
|
|
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
|
-
/**
|
|
1558
|
+
/** Created category. */
|
|
1480
1559
|
category?: Category;
|
|
1481
1560
|
}
|
|
1482
1561
|
interface GetCategoryRequest {
|
|
1483
|
-
/**
|
|
1562
|
+
/** Category ID. */
|
|
1484
1563
|
categoryId: string;
|
|
1485
|
-
/**
|
|
1564
|
+
/** Category tree reference details. */
|
|
1486
1565
|
treeReference: TreeReference;
|
|
1487
|
-
/**
|
|
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
|
-
/**
|
|
1577
|
+
/** Category. */
|
|
1492
1578
|
category?: Category;
|
|
1493
1579
|
}
|
|
1494
1580
|
interface UpdateCategoryRequest {
|
|
1495
|
-
/** Category to
|
|
1581
|
+
/** Category to update. */
|
|
1496
1582
|
category: Category;
|
|
1497
|
-
/**
|
|
1583
|
+
/** Category tree reference details. */
|
|
1498
1584
|
treeReference: TreeReference;
|
|
1499
|
-
/**
|
|
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
|
-
/**
|
|
1596
|
+
/** Updated category. */
|
|
1504
1597
|
category?: Category;
|
|
1505
1598
|
}
|
|
1506
1599
|
interface DeleteCategoryRequest {
|
|
1507
|
-
/**
|
|
1600
|
+
/** Category ID. */
|
|
1508
1601
|
categoryId: string;
|
|
1509
|
-
/**
|
|
1602
|
+
/** Category tree reference details. */
|
|
1510
1603
|
treeReference: TreeReference;
|
|
1511
1604
|
}
|
|
1512
1605
|
interface DeleteCategoryResponse {
|
|
1513
1606
|
}
|
|
1514
1607
|
interface QueryCategoriesRequest {
|
|
1515
|
-
/**
|
|
1516
|
-
query?:
|
|
1517
|
-
/**
|
|
1518
|
-
|
|
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
|
-
/**
|
|
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
|
|
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
|
|
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
|
-
/**
|
|
1710
|
+
/** Search options. */
|
|
1620
1711
|
search?: CursorSearch;
|
|
1621
1712
|
/**
|
|
1622
|
-
*
|
|
1623
|
-
*
|
|
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`.
|
|
1628
|
-
*
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
1967
|
+
/** List of categories. */
|
|
1859
1968
|
categories?: Category[];
|
|
1860
|
-
/** Paging metadata.
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
2103
|
-
*
|
|
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
|
-
/**
|
|
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:
|
|
2115
|
-
*
|
|
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
|
|
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
|
|
2245
|
+
/** ID of the category to move. */
|
|
2125
2246
|
categoryId: string;
|
|
2126
|
-
/**
|
|
2247
|
+
/** Category tree reference details. */
|
|
2127
2248
|
treeReference: TreeReference;
|
|
2128
2249
|
/**
|
|
2129
|
-
*
|
|
2130
|
-
*
|
|
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
|
-
*
|
|
2136
|
-
* `
|
|
2137
|
-
* `
|
|
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
|
|
2141
|
-
|
|
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
|
-
|
|
2270
|
+
AFTER = "AFTER"
|
|
2148
2271
|
}
|
|
2149
2272
|
interface MoveCategoryResponse {
|
|
2150
|
-
/**
|
|
2273
|
+
/** Parent category ID. */
|
|
2151
2274
|
parentCategoryId?: string | null;
|
|
2152
|
-
/**
|
|
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
|
-
/**
|
|
2281
|
+
/** Category tree reference details. */
|
|
2167
2282
|
treeReference?: TreeReference;
|
|
2168
|
-
/**
|
|
2283
|
+
/**
|
|
2284
|
+
* Whether to return the category entity in the response.
|
|
2285
|
+
*
|
|
2286
|
+
* Default: `false`
|
|
2287
|
+
*/
|
|
2169
2288
|
returnEntity?: boolean;
|
|
2170
|
-
/**
|
|
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
|
-
/**
|
|
2306
|
+
/** Bulk action metadata for category. */
|
|
2181
2307
|
itemMetadata?: ItemMetadata;
|
|
2182
|
-
/**
|
|
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
|
|
2342
|
+
/** List of categories to update. */
|
|
2213
2343
|
categories: MaskedCategory[];
|
|
2214
|
-
/**
|
|
2344
|
+
/** Category tree reference details. */
|
|
2215
2345
|
treeReference: TreeReference;
|
|
2216
|
-
/**
|
|
2346
|
+
/**
|
|
2347
|
+
* Whether to return the full category entity in the response.
|
|
2348
|
+
*
|
|
2349
|
+
* Default: `false`
|
|
2350
|
+
*/
|
|
2217
2351
|
returnEntity?: boolean;
|
|
2218
|
-
/**
|
|
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
|
|
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
|
|
2373
|
+
/** Category ID. */
|
|
2233
2374
|
categoryId: string;
|
|
2234
|
-
/**
|
|
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
|
-
/**
|
|
2382
|
+
/** Category tree reference details. */
|
|
2237
2383
|
treeReference: TreeReference;
|
|
2238
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
2400
|
+
/** Updated category. */
|
|
2245
2401
|
category?: Category;
|
|
2246
2402
|
}
|
|
2247
2403
|
interface BulkUpdateCategoryVisibilityRequest {
|
|
2248
|
-
/** IDs of categories to
|
|
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
|
-
/**
|
|
2408
|
+
/** Category tree reference details. */
|
|
2253
2409
|
treeReference?: TreeReference;
|
|
2254
|
-
/**
|
|
2410
|
+
/**
|
|
2411
|
+
* Whether to return the category entity in the response.
|
|
2412
|
+
*
|
|
2413
|
+
* Default: `false`
|
|
2414
|
+
*/
|
|
2255
2415
|
returnEntity?: boolean;
|
|
2256
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
2479
|
+
/** Category tree reference details. */
|
|
2309
2480
|
treeReference?: TreeReference;
|
|
2310
2481
|
}
|
|
2311
2482
|
interface BulkDeleteCategoriesByFilterResponse {
|
|
2312
|
-
/**
|
|
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
|
|
2491
|
+
/** Category ID. */
|
|
2317
2492
|
categoryId: string;
|
|
2318
|
-
/** List of
|
|
2493
|
+
/** List of items to add. */
|
|
2319
2494
|
items: ItemReference[];
|
|
2320
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
2505
|
+
/** Bulk action metadata for category. */
|
|
2337
2506
|
itemMetadata?: ItemReferenceMetadata;
|
|
2338
2507
|
}
|
|
2339
2508
|
interface ItemReferenceMetadata {
|
|
2340
|
-
/**
|
|
2509
|
+
/** Catalog and item reference info. */
|
|
2341
2510
|
item?: ItemReference;
|
|
2342
|
-
/**
|
|
2511
|
+
/** Original index of the item within the request array. Allows for correlation between request and response items. */
|
|
2343
2512
|
originalIndex?: number;
|
|
2344
|
-
/**
|
|
2513
|
+
/**
|
|
2514
|
+
* Whether the action was successful.
|
|
2515
|
+
* When `false`, the `error` field is populated.
|
|
2516
|
+
*/
|
|
2345
2517
|
success?: boolean;
|
|
2346
|
-
/**
|
|
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
|
-
/**
|
|
2522
|
+
/** Item to add. */
|
|
2367
2523
|
item: ItemReference;
|
|
2368
|
-
/**
|
|
2524
|
+
/** IDs of categories to which to add the item. */
|
|
2369
2525
|
categoryIds: string[];
|
|
2370
|
-
/**
|
|
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
|
-
/**
|
|
2536
|
+
/** Bulk action metadata for category. */
|
|
2381
2537
|
itemMetadata?: ItemMetadata;
|
|
2382
2538
|
}
|
|
2383
2539
|
interface BulkRemoveItemsFromCategoryRequest {
|
|
2384
|
-
/** Category
|
|
2540
|
+
/** Category ID. */
|
|
2385
2541
|
categoryId: string;
|
|
2386
|
-
/** List of
|
|
2542
|
+
/** List of items to remove. */
|
|
2387
2543
|
items: ItemReference[];
|
|
2388
|
-
/**
|
|
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
|
-
/**
|
|
2554
|
+
/** Item to remove. */
|
|
2415
2555
|
item: ItemReference;
|
|
2416
|
-
/**
|
|
2556
|
+
/** IDs of categories from which to remove the item. */
|
|
2417
2557
|
categoryIds: string[];
|
|
2418
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
2574
|
+
/** Category ID. */
|
|
2431
2575
|
categoryId: string;
|
|
2432
|
-
/**
|
|
2576
|
+
/** Category tree reference details. */
|
|
2433
2577
|
treeReference: TreeReference;
|
|
2434
|
-
/**
|
|
2578
|
+
/**
|
|
2579
|
+
* Whether to use category arrangement for sorting items.
|
|
2580
|
+
*
|
|
2581
|
+
* Default: `false`
|
|
2582
|
+
*/
|
|
2435
2583
|
useCategoryArrangement?: boolean;
|
|
2436
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
2601
|
+
/** List of items in the category. */
|
|
2446
2602
|
items?: ItemReference[];
|
|
2447
|
-
/** Paging metadata.
|
|
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
|
-
/**
|
|
2617
|
+
/** Item reference info. */
|
|
2462
2618
|
item: ItemReference;
|
|
2463
|
-
/**
|
|
2619
|
+
/** Category tree reference details. */
|
|
2464
2620
|
treeReference: TreeReference;
|
|
2465
2621
|
}
|
|
2466
2622
|
interface ListCategoriesForItemResponse {
|
|
2467
|
-
/**
|
|
2623
|
+
/** List of IDs of categories that directly contain this item. */
|
|
2468
2624
|
directCategoryIds?: string[];
|
|
2469
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
2664
|
+
/** Category ID. */
|
|
2518
2665
|
categoryId: string;
|
|
2519
|
-
/**
|
|
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
|
-
/**
|
|
2672
|
+
/** List of arranged items. */
|
|
2529
2673
|
items?: ItemReference[];
|
|
2530
2674
|
}
|
|
2531
2675
|
interface GetArrangedItemsRequest {
|
|
2532
|
-
/** ID
|
|
2676
|
+
/** Category ID. */
|
|
2533
2677
|
categoryId: string;
|
|
2534
|
-
/**
|
|
2678
|
+
/** Category tree reference details. */
|
|
2535
2679
|
treeReference: TreeReference;
|
|
2536
2680
|
}
|
|
2537
2681
|
interface GetArrangedItemsResponse {
|
|
2538
|
-
/** List of arranged items
|
|
2682
|
+
/** List of arranged items. */
|
|
2539
2683
|
items?: ItemReference[];
|
|
2540
2684
|
}
|
|
2541
2685
|
interface GetCategoriesTreeRequest {
|
|
2542
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
3241
|
+
/** Category tree reference details. */
|
|
3168
3242
|
treeReference: TreeReference;
|
|
3169
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
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
|
-
*
|
|
3276
|
+
* Date and time the category was created.
|
|
3186
3277
|
* @readonly
|
|
3187
3278
|
*/
|
|
3188
3279
|
_createdDate?: Date;
|
|
3189
3280
|
/**
|
|
3190
|
-
*
|
|
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
|
-
*
|
|
3199
|
-
* Pass
|
|
3200
|
-
*
|
|
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
|
|
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
|
|
3215
|
-
*
|
|
3216
|
-
* If parent visibility is
|
|
3217
|
-
*
|
|
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
|
-
*
|
|
3222
|
-
*
|
|
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
|
-
/**
|
|
3319
|
+
/** Parent category reference data. */
|
|
3227
3320
|
parentCategory?: ParentCategory;
|
|
3228
3321
|
/**
|
|
3229
|
-
*
|
|
3230
|
-
*
|
|
3231
|
-
*
|
|
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
|
|
3236
|
-
*
|
|
3237
|
-
*
|
|
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
|
-
*
|
|
3242
|
-
*
|
|
3243
|
-
*
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
3348
|
+
/** Category tree reference details. */
|
|
3251
3349
|
treeReference: TreeReference;
|
|
3252
|
-
/**
|
|
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
|
-
/**
|
|
3456
|
+
/** Search options. */
|
|
3257
3457
|
search?: CursorSearch;
|
|
3258
3458
|
/**
|
|
3259
|
-
*
|
|
3260
|
-
*
|
|
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`.
|
|
3265
|
-
*
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
3274
|
-
*
|
|
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
|
-
/**
|
|
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:
|
|
3286
|
-
*
|
|
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
|
-
*
|
|
3293
|
-
*
|
|
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
|
-
*
|
|
3299
|
-
* `
|
|
3300
|
-
* `
|
|
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
|
|
3304
|
-
|
|
3512
|
+
/** Required when passing `position: AFTER`. */
|
|
3513
|
+
moveAfterCategoryId?: string | null;
|
|
3305
3514
|
}
|
|
3306
3515
|
interface BulkUpdateCategoriesOptions {
|
|
3307
|
-
/**
|
|
3516
|
+
/** Category tree reference details. */
|
|
3308
3517
|
treeReference: TreeReference;
|
|
3309
|
-
/**
|
|
3518
|
+
/**
|
|
3519
|
+
* Whether to return the full category entity in the response.
|
|
3520
|
+
*
|
|
3521
|
+
* Default: `false`
|
|
3522
|
+
*/
|
|
3310
3523
|
returnEntity?: boolean;
|
|
3311
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
3542
|
+
/** Category tree reference details. */
|
|
3318
3543
|
treeReference: TreeReference;
|
|
3319
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
3560
|
+
/** Category tree reference details. */
|
|
3326
3561
|
treeReference: TreeReference;
|
|
3327
3562
|
}
|
|
3328
3563
|
interface BulkAddItemToCategoriesOptions {
|
|
3329
|
-
/**
|
|
3564
|
+
/** IDs of categories to which to add the item. */
|
|
3330
3565
|
categoryIds: string[];
|
|
3331
|
-
/**
|
|
3566
|
+
/** Category tree reference details. */
|
|
3332
3567
|
treeReference: TreeReference;
|
|
3333
3568
|
}
|
|
3334
3569
|
interface BulkRemoveItemsFromCategoryOptions {
|
|
3335
|
-
/**
|
|
3570
|
+
/** Category tree reference details. */
|
|
3336
3571
|
treeReference: TreeReference;
|
|
3337
3572
|
}
|
|
3338
3573
|
interface BulkRemoveItemFromCategoriesOptions {
|
|
3339
|
-
/**
|
|
3574
|
+
/** IDs of categories from which to remove the item. */
|
|
3340
3575
|
categoryIds: string[];
|
|
3341
|
-
/**
|
|
3576
|
+
/** Category tree reference details. */
|
|
3342
3577
|
treeReference: TreeReference;
|
|
3343
3578
|
}
|
|
3344
3579
|
interface ListItemsInCategoryOptions extends ListItemsInCategoryRequestPagingMethodOneOf {
|
|
3345
|
-
/**
|
|
3580
|
+
/**
|
|
3581
|
+
* Whether to use category arrangement for sorting items.
|
|
3582
|
+
*
|
|
3583
|
+
* Default: `false`
|
|
3584
|
+
*/
|
|
3346
3585
|
useCategoryArrangement?: boolean;
|
|
3347
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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 context_ActionEvent = ActionEvent;
|
|
3439
3665
|
type context_Aggregation = Aggregation;
|
|
@@ -3458,7 +3684,6 @@ type context_Background = Background;
|
|
|
3458
3684
|
type context_BackgroundBackgroundOneOf = BackgroundBackgroundOneOf;
|
|
3459
3685
|
type context_BackgroundType = BackgroundType;
|
|
3460
3686
|
declare const context_BackgroundType: typeof BackgroundType;
|
|
3461
|
-
type context_BaseEventMetadata = BaseEventMetadata;
|
|
3462
3687
|
type context_BlockquoteData = BlockquoteData;
|
|
3463
3688
|
type context_BookingData = BookingData;
|
|
3464
3689
|
type context_Border = Border;
|
|
@@ -3502,17 +3727,12 @@ type context_BulkUpdateCategoryVisibilityRequest = BulkUpdateCategoryVisibilityR
|
|
|
3502
3727
|
type context_BulkUpdateCategoryVisibilityResponse = BulkUpdateCategoryVisibilityResponse;
|
|
3503
3728
|
type context_BulletedListData = BulletedListData;
|
|
3504
3729
|
type context_ButtonData = ButtonData;
|
|
3730
|
+
type context_CategoriesQueryBuilder = CategoriesQueryBuilder;
|
|
3731
|
+
type context_CategoriesQueryResult = CategoriesQueryResult;
|
|
3505
3732
|
type context_Category = Category;
|
|
3506
|
-
type context_CategoryCreatedEnvelope = CategoryCreatedEnvelope;
|
|
3507
|
-
type context_CategoryDeletedEnvelope = CategoryDeletedEnvelope;
|
|
3508
|
-
type context_CategoryItemAddedToCategoryEnvelope = CategoryItemAddedToCategoryEnvelope;
|
|
3509
|
-
type context_CategoryItemRemovedFromCategoryEnvelope = CategoryItemRemovedFromCategoryEnvelope;
|
|
3510
|
-
type context_CategoryItemsArrangedInCategoryEnvelope = CategoryItemsArrangedInCategoryEnvelope;
|
|
3511
3733
|
type context_CategoryMoved = CategoryMoved;
|
|
3512
|
-
type context_CategoryMovedEnvelope = CategoryMovedEnvelope;
|
|
3513
3734
|
type context_CategoryNonNullableFields = CategoryNonNullableFields;
|
|
3514
3735
|
type context_CategoryTreeNode = CategoryTreeNode;
|
|
3515
|
-
type context_CategoryUpdatedEnvelope = CategoryUpdatedEnvelope;
|
|
3516
3736
|
type context_CellStyle = CellStyle;
|
|
3517
3737
|
type context_CodeBlockData = CodeBlockData;
|
|
3518
3738
|
type context_CollapsibleListData = CollapsibleListData;
|
|
@@ -3532,6 +3752,8 @@ type context_Crop = Crop;
|
|
|
3532
3752
|
declare const context_Crop: typeof Crop;
|
|
3533
3753
|
type context_CursorPaging = CursorPaging;
|
|
3534
3754
|
type context_CursorPagingMetadata = CursorPagingMetadata;
|
|
3755
|
+
type context_CursorQuery = CursorQuery;
|
|
3756
|
+
type context_CursorQueryPagingMethodOneOf = CursorQueryPagingMethodOneOf;
|
|
3535
3757
|
type context_CursorSearch = CursorSearch;
|
|
3536
3758
|
type context_CursorSearchPagingMethodOneOf = CursorSearchPagingMethodOneOf;
|
|
3537
3759
|
type context_Cursors = Cursors;
|
|
@@ -3560,7 +3782,6 @@ type context_EntityCreatedEvent = EntityCreatedEvent;
|
|
|
3560
3782
|
type context_EntityDeletedEvent = EntityDeletedEvent;
|
|
3561
3783
|
type context_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
3562
3784
|
type context_EventData = EventData;
|
|
3563
|
-
type context_EventMetadata = EventMetadata;
|
|
3564
3785
|
type context_ExtendedFields = ExtendedFields;
|
|
3565
3786
|
type context_File = File;
|
|
3566
3787
|
type context_FileData = FileData;
|
|
@@ -3710,10 +3931,10 @@ declare const context_PollLayoutType: typeof PollLayoutType;
|
|
|
3710
3931
|
type context_PollSettings = PollSettings;
|
|
3711
3932
|
type context_Position = Position;
|
|
3712
3933
|
declare const context_Position: typeof Position;
|
|
3934
|
+
type context_QueryCategoriesOptions = QueryCategoriesOptions;
|
|
3713
3935
|
type context_QueryCategoriesRequest = QueryCategoriesRequest;
|
|
3714
3936
|
type context_QueryCategoriesResponse = QueryCategoriesResponse;
|
|
3715
|
-
type
|
|
3716
|
-
type context_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
3937
|
+
type context_QueryCategoriesResponseNonNullableFields = QueryCategoriesResponseNonNullableFields;
|
|
3717
3938
|
type context_RangeAggregation = RangeAggregation;
|
|
3718
3939
|
type context_RangeAggregationResult = RangeAggregationResult;
|
|
3719
3940
|
type context_RangeBucket = RangeBucket;
|
|
@@ -3815,19 +4036,13 @@ declare const context_listCategoriesForItem: typeof listCategoriesForItem;
|
|
|
3815
4036
|
declare const context_listItemsInCategory: typeof listItemsInCategory;
|
|
3816
4037
|
declare const context_listTrees: typeof listTrees;
|
|
3817
4038
|
declare const context_moveCategory: typeof moveCategory;
|
|
3818
|
-
declare const
|
|
3819
|
-
declare const context_onCategoryDeleted: typeof onCategoryDeleted;
|
|
3820
|
-
declare const context_onCategoryItemAddedToCategory: typeof onCategoryItemAddedToCategory;
|
|
3821
|
-
declare const context_onCategoryItemRemovedFromCategory: typeof onCategoryItemRemovedFromCategory;
|
|
3822
|
-
declare const context_onCategoryItemsArrangedInCategory: typeof onCategoryItemsArrangedInCategory;
|
|
3823
|
-
declare const context_onCategoryMoved: typeof onCategoryMoved;
|
|
3824
|
-
declare const context_onCategoryUpdated: typeof onCategoryUpdated;
|
|
4039
|
+
declare const context_queryCategories: typeof queryCategories;
|
|
3825
4040
|
declare const context_searchCategories: typeof searchCategories;
|
|
3826
4041
|
declare const context_setArrangedItems: typeof setArrangedItems;
|
|
3827
4042
|
declare const context_updateCategory: typeof updateCategory;
|
|
3828
4043
|
declare const context_updateCategoryVisibility: typeof updateCategoryVisibility;
|
|
3829
4044
|
declare namespace context {
|
|
3830
|
-
export { type context_ActionEvent as ActionEvent, type context_Aggregation as Aggregation, type context_AggregationData as AggregationData, type context_AggregationKindOneOf as AggregationKindOneOf, type context_AggregationResults as AggregationResults, type context_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context_AggregationResultsScalarResult as AggregationResultsScalarResult, context_AggregationType as AggregationType, context_Alignment as Alignment, type context_AnchorData as AnchorData, type context_App as App, type context_AppEmbedData as AppEmbedData, type context_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context_AppType as AppType, type context_ApplicationError as ApplicationError, type context_AudioData as AudioData, type context_Background as Background, type context_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context_BackgroundType as BackgroundType, type context_BaseEventMetadata as BaseEventMetadata, type context_BlockquoteData as BlockquoteData, type context_BookingData as BookingData, type context_Border as Border, type context_BorderColors as BorderColors, type context_BreadcrumbItem as BreadcrumbItem, type context_BreadcrumbItemValues as BreadcrumbItemValues, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkAddItemToCategoriesOptions as BulkAddItemToCategoriesOptions, type context_BulkAddItemToCategoriesRequest as BulkAddItemToCategoriesRequest, type context_BulkAddItemToCategoriesResponse as BulkAddItemToCategoriesResponse, type context_BulkAddItemToCategoriesResponseNonNullableFields as BulkAddItemToCategoriesResponseNonNullableFields, type context_BulkAddItemsToCategoryOptions as BulkAddItemsToCategoryOptions, type context_BulkAddItemsToCategoryRequest as BulkAddItemsToCategoryRequest, type context_BulkAddItemsToCategoryResponse as BulkAddItemsToCategoryResponse, type context_BulkAddItemsToCategoryResponseNonNullableFields as BulkAddItemsToCategoryResponseNonNullableFields, type context_BulkCategoriesResult as BulkCategoriesResult, type context_BulkCreateCategoriesRequest as BulkCreateCategoriesRequest, type context_BulkCreateCategoriesResponse as BulkCreateCategoriesResponse, type context_BulkDeleteCategoriesByFilterRequest as BulkDeleteCategoriesByFilterRequest, type context_BulkDeleteCategoriesByFilterResponse as BulkDeleteCategoriesByFilterResponse, type context_BulkDeleteCategoriesRequest as BulkDeleteCategoriesRequest, type context_BulkDeleteCategoriesResponse as BulkDeleteCategoriesResponse, type context_BulkDeleteCategoriesResponseBulkCategoriesResult as BulkDeleteCategoriesResponseBulkCategoriesResult, type context_BulkItemToCategoriesResult as BulkItemToCategoriesResult, type context_BulkItemsToCategoryResult as BulkItemsToCategoryResult, type context_BulkRemoveItemFromCategoriesOptions as BulkRemoveItemFromCategoriesOptions, type context_BulkRemoveItemFromCategoriesRequest as BulkRemoveItemFromCategoriesRequest, type context_BulkRemoveItemFromCategoriesResponse as BulkRemoveItemFromCategoriesResponse, type context_BulkRemoveItemFromCategoriesResponseNonNullableFields as BulkRemoveItemFromCategoriesResponseNonNullableFields, type context_BulkRemoveItemsFromCategoryOptions as BulkRemoveItemsFromCategoryOptions, type context_BulkRemoveItemsFromCategoryRequest as BulkRemoveItemsFromCategoryRequest, type context_BulkRemoveItemsFromCategoryResponse as BulkRemoveItemsFromCategoryResponse, type context_BulkRemoveItemsFromCategoryResponseNonNullableFields as BulkRemoveItemsFromCategoryResponseNonNullableFields, type context_BulkUpdateCategoriesOptions as BulkUpdateCategoriesOptions, type context_BulkUpdateCategoriesRequest as BulkUpdateCategoriesRequest, type context_BulkUpdateCategoriesResponse as BulkUpdateCategoriesResponse, type context_BulkUpdateCategoriesResponseNonNullableFields as BulkUpdateCategoriesResponseNonNullableFields, type context_BulkUpdateCategoryVisibilityByFilterRequest as BulkUpdateCategoryVisibilityByFilterRequest, type context_BulkUpdateCategoryVisibilityByFilterResponse as BulkUpdateCategoryVisibilityByFilterResponse, type context_BulkUpdateCategoryVisibilityRequest as BulkUpdateCategoryVisibilityRequest, type context_BulkUpdateCategoryVisibilityResponse as BulkUpdateCategoryVisibilityResponse, type context_BulletedListData as BulletedListData, type context_ButtonData as ButtonData, type context_Category as Category, type context_CategoryCreatedEnvelope as CategoryCreatedEnvelope, type context_CategoryDeletedEnvelope as CategoryDeletedEnvelope, type context_CategoryItemAddedToCategoryEnvelope as CategoryItemAddedToCategoryEnvelope, type context_CategoryItemRemovedFromCategoryEnvelope as CategoryItemRemovedFromCategoryEnvelope, type context_CategoryItemsArrangedInCategoryEnvelope as CategoryItemsArrangedInCategoryEnvelope, type context_CategoryMoved as CategoryMoved, type context_CategoryMovedEnvelope as CategoryMovedEnvelope, type context_CategoryNonNullableFields as CategoryNonNullableFields, type context_CategoryTreeNode as CategoryTreeNode, type context_CategoryUpdatedEnvelope as CategoryUpdatedEnvelope, type context_CellStyle as CellStyle, type context_CodeBlockData as CodeBlockData, type context_CollapsibleListData as CollapsibleListData, type context_ColorData as ColorData, type context_Colors as Colors, type context_CommonCursors as CommonCursors, type context_CompactCategory as CompactCategory, type context_CountCategoriesOptions as CountCategoriesOptions, type context_CountCategoriesRequest as CountCategoriesRequest, type context_CountCategoriesResponse as CountCategoriesResponse, type context_CountCategoriesResponseNonNullableFields as CountCategoriesResponseNonNullableFields, type context_CreateCategoryOptions as CreateCategoryOptions, type context_CreateCategoryRequest as CreateCategoryRequest, type context_CreateCategoryResponse as CreateCategoryResponse, type context_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, context_Crop as Crop, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorSearch as CursorSearch, type context_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type context_Cursors as Cursors, type context_DateHistogramAggregation as DateHistogramAggregation, type context_DateHistogramResult as DateHistogramResult, type context_DateHistogramResults as DateHistogramResults, type context_Decoration as Decoration, type context_DecorationDataOneOf as DecorationDataOneOf, context_DecorationType as DecorationType, type context_DeleteCategoryRequest as DeleteCategoryRequest, type context_DeleteCategoryResponse as DeleteCategoryResponse, type context_DeprecatedSearchCategoriesWithOffsetRequest as DeprecatedSearchCategoriesWithOffsetRequest, type context_DeprecatedSearchCategoriesWithOffsetResponse as DeprecatedSearchCategoriesWithOffsetResponse, type context_Design as Design, type context_Dimensions as Dimensions, context_Direction as Direction, type context_DividerData as DividerData, type context_DocumentStyle as DocumentStyle, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EmbedData as EmbedData, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventData as EventData, type context_EventMetadata as EventMetadata, type context_ExtendedFields as ExtendedFields, type context_File as File, type context_FileData as FileData, type context_FileSource as FileSource, type context_FileSourceDataOneOf as FileSourceDataOneOf, type context_FontSizeData as FontSizeData, context_FontType as FontType, type context_GIF as GIF, type context_GIFData as GIFData, type context_GalleryData as GalleryData, type context_GalleryOptions as GalleryOptions, type context_GetArrangedItemsRequest as GetArrangedItemsRequest, type context_GetArrangedItemsResponse as GetArrangedItemsResponse, type context_GetArrangedItemsResponseNonNullableFields as GetArrangedItemsResponseNonNullableFields, type context_GetCategoriesTreeRequest as GetCategoriesTreeRequest, type context_GetCategoriesTreeResponse as GetCategoriesTreeResponse, type context_GetCategoryOptions as GetCategoryOptions, type context_GetCategoryRequest as GetCategoryRequest, type context_GetCategoryResponse as GetCategoryResponse, type context_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type context_Gradient as Gradient, type context_GroupByValueResults as GroupByValueResults, type context_HTMLData as HTMLData, type context_HTMLDataDataOneOf as HTMLDataDataOneOf, type context_HeadingData as HeadingData, type context_Height as Height, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, type context_ImageData as ImageData, type context_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context_InitialExpandedItems as InitialExpandedItems, context_Interval as Interval, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemAddedToCategory as ItemAddedToCategory, type context_ItemDataOneOf as ItemDataOneOf, type context_ItemMetadata as ItemMetadata, type context_ItemReference as ItemReference, type context_ItemReferenceMetadata as ItemReferenceMetadata, type context_ItemRemovedFromCategory as ItemRemovedFromCategory, type context_ItemStyle as ItemStyle, type context_ItemsAddedToCategory as ItemsAddedToCategory, type context_ItemsArrangedInCategory as ItemsArrangedInCategory, type context_ItemsRemovedFromCategory as ItemsRemovedFromCategory, type context_Keyword as Keyword, type context_Layout as Layout, context_LayoutType as LayoutType, context_LineStyle as LineStyle, type context_Link as Link, type context_LinkData as LinkData, type context_LinkDataOneOf as LinkDataOneOf, type context_LinkPreviewData as LinkPreviewData, type context_ListCategoriesForItemOptions as ListCategoriesForItemOptions, type context_ListCategoriesForItemRequest as ListCategoriesForItemRequest, type context_ListCategoriesForItemResponse as ListCategoriesForItemResponse, type context_ListCategoriesForItemResponseNonNullableFields as ListCategoriesForItemResponseNonNullableFields, type context_ListCompactCategoriesByIdsRequest as ListCompactCategoriesByIdsRequest, type context_ListCompactCategoriesByIdsResponse as ListCompactCategoriesByIdsResponse, type context_ListItemsInCategoryOptions as ListItemsInCategoryOptions, type context_ListItemsInCategoryRequest as ListItemsInCategoryRequest, type context_ListItemsInCategoryRequestPagingMethodOneOf as ListItemsInCategoryRequestPagingMethodOneOf, type context_ListItemsInCategoryResponse as ListItemsInCategoryResponse, type context_ListItemsInCategoryResponseNonNullableFields as ListItemsInCategoryResponseNonNullableFields, type context_ListTreesRequest as ListTreesRequest, type context_ListTreesResponse as ListTreesResponse, type context_ListTreesResponseNonNullableFields as ListTreesResponseNonNullableFields, type context_ListValue as ListValue, type context_MapData as MapData, type context_MapSettings as MapSettings, context_MapType as MapType, type context_MaskedCategory as MaskedCategory, type context_Media as Media, type context_MentionData as MentionData, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, context_MissingValues as MissingValues, context_Mode as Mode, type context_MoveCategoryOptions as MoveCategoryOptions, type context_MoveCategoryRequest as MoveCategoryRequest, type context_MoveCategoryResponse as MoveCategoryResponse, type context_MoveCategoryResponseNonNullableFields as MoveCategoryResponseNonNullableFields, type context_MoveItemInCategoryRequest as MoveItemInCategoryRequest, context_MoveItemInCategoryRequestPosition as MoveItemInCategoryRequestPosition, type context_MoveItemInCategoryResponse as MoveItemInCategoryResponse, type context_NestedAggregation as NestedAggregation, type context_NestedAggregationItem as NestedAggregationItem, type context_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context_NestedAggregationResults as NestedAggregationResults, type context_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context_NestedAggregationType as NestedAggregationType, type context_NestedResultValue as NestedResultValue, type context_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context_NestedResults as NestedResults, type context_NestedValueAggregationResult as NestedValueAggregationResult, type context_Node as Node, type context_NodeDataOneOf as NodeDataOneOf, type context_NodeStyle as NodeStyle, context_NodeType as NodeType, context_NullValue as NullValue, type context_Oembed as Oembed, type context_OffsetSearch as OffsetSearch, type context_OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOf, type context_Option as Option, type context_OptionDesign as OptionDesign, type context_OptionLayout as OptionLayout, type context_OrderedListData as OrderedListData, context_Orientation as Orientation, type context_PDFSettings as PDFSettings, type context_Page as Page, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, type context_PagingMetadataV2 as PagingMetadataV2, type context_ParagraphData as ParagraphData, type context_ParentCategory as ParentCategory, type context_Permissions as Permissions, type context_PlatformPagingMetadataV2 as PlatformPagingMetadataV2, type context_PlaybackOptions as PlaybackOptions, type context_PluginContainerData as PluginContainerData, context_PluginContainerDataAlignment as PluginContainerDataAlignment, type context_PluginContainerDataWidth as PluginContainerDataWidth, type context_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context_Poll as Poll, type context_PollData as PollData, type context_PollDataLayout as PollDataLayout, type context_PollDesign as PollDesign, type context_PollLayout as PollLayout, context_PollLayoutDirection as PollLayoutDirection, context_PollLayoutType as PollLayoutType, type context_PollSettings as PollSettings, context_Position as Position, type context_QueryCategoriesRequest as QueryCategoriesRequest, type context_QueryCategoriesResponse as QueryCategoriesResponse, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context_RangeAggregation as RangeAggregation, type context_RangeAggregationResult as RangeAggregationResult, type context_RangeBucket as RangeBucket, type context_RangeResult as RangeResult, type context_RangeResults as RangeResults, type context_Rel as Rel, context_RequestedFields as RequestedFields, type context_RestoreInfo as RestoreInfo, type context_Results as Results, type context_RichContent as RichContent, type context_ScalarAggregation as ScalarAggregation, type context_ScalarResult as ScalarResult, context_ScalarType as ScalarType, type context_SearchCategoriesOptions as SearchCategoriesOptions, type context_SearchCategoriesRequest as SearchCategoriesRequest, type context_SearchCategoriesResponse as SearchCategoriesResponse, type context_SearchCategoriesResponseNonNullableFields as SearchCategoriesResponseNonNullableFields, type context_SearchDetails as SearchDetails, type context_SeoSchema as SeoSchema, type context_SetArrangedItemsOptions as SetArrangedItemsOptions, type context_SetArrangedItemsRequest as SetArrangedItemsRequest, type context_SetArrangedItemsResponse as SetArrangedItemsResponse, type context_SetArrangedItemsResponseNonNullableFields as SetArrangedItemsResponseNonNullableFields, type context_Settings as Settings, context_SingleEntityOpsRequestedFields as SingleEntityOpsRequestedFields, context_SortDirection as SortDirection, context_SortOrder as SortOrder, context_SortType as SortType, type context_Sorting as Sorting, context_Source as Source, type context_Spoiler as Spoiler, type context_SpoilerData as SpoilerData, type context_Styles as Styles, type context_TableCellData as TableCellData, type context_TableData as TableData, type context_Tag as Tag, context_Target as Target, context_TextAlignment as TextAlignment, type context_TextData as TextData, type context_TextNodeStyle as TextNodeStyle, type context_TextStyle as TextStyle, type context_Thumbnails as Thumbnails, context_ThumbnailsAlignment as ThumbnailsAlignment, type context_TreeReference as TreeReference, context_Type as Type, type context_URI as URI, type context_UpdateCategory as UpdateCategory, type context_UpdateCategoryOptions as UpdateCategoryOptions, type context_UpdateCategoryRequest as UpdateCategoryRequest, type context_UpdateCategoryResponse as UpdateCategoryResponse, type context_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, type context_UpdateCategoryVisibilityOptions as UpdateCategoryVisibilityOptions, type context_UpdateCategoryVisibilityRequest as UpdateCategoryVisibilityRequest, type context_UpdateCategoryVisibilityResponse as UpdateCategoryVisibilityResponse, type context_UpdateCategoryVisibilityResponseNonNullableFields as UpdateCategoryVisibilityResponseNonNullableFields, type context_ValueAggregation as ValueAggregation, type context_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context_ValueAggregationResult as ValueAggregationResult, type context_ValueResult as ValueResult, type context_ValueResults as ValueResults, context_VerticalAlignment as VerticalAlignment, type context_Video as Video, type context_VideoData as VideoData, context_ViewMode as ViewMode, context_ViewRole as ViewRole, context_VoteRole as VoteRole, context_WebhookIdentityType as WebhookIdentityType, context_Width as Width, context_WidthType as WidthType, context_bulkAddItemToCategories as bulkAddItemToCategories, context_bulkAddItemsToCategory as bulkAddItemsToCategory, context_bulkRemoveItemFromCategories as bulkRemoveItemFromCategories, context_bulkRemoveItemsFromCategory as bulkRemoveItemsFromCategory, context_bulkUpdateCategories as bulkUpdateCategories, context_countCategories as countCategories, context_createCategory as createCategory, context_deleteCategory as deleteCategory, context_getArrangedItems as getArrangedItems, context_getCategory as getCategory, context_listCategoriesForItem as listCategoriesForItem, context_listItemsInCategory as listItemsInCategory, context_listTrees as listTrees, context_moveCategory as moveCategory, context_onCategoryCreated as onCategoryCreated, context_onCategoryDeleted as onCategoryDeleted, context_onCategoryItemAddedToCategory as onCategoryItemAddedToCategory, context_onCategoryItemRemovedFromCategory as onCategoryItemRemovedFromCategory, context_onCategoryItemsArrangedInCategory as onCategoryItemsArrangedInCategory, context_onCategoryMoved as onCategoryMoved, context_onCategoryUpdated as onCategoryUpdated, context_searchCategories as searchCategories, context_setArrangedItems as setArrangedItems, context_updateCategory as updateCategory, context_updateCategoryVisibility as updateCategoryVisibility };
|
|
4045
|
+
export { type context_ActionEvent as ActionEvent, type context_Aggregation as Aggregation, type context_AggregationData as AggregationData, type context_AggregationKindOneOf as AggregationKindOneOf, type context_AggregationResults as AggregationResults, type context_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context_AggregationResultsScalarResult as AggregationResultsScalarResult, context_AggregationType as AggregationType, context_Alignment as Alignment, type context_AnchorData as AnchorData, type context_App as App, type context_AppEmbedData as AppEmbedData, type context_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context_AppType as AppType, type context_ApplicationError as ApplicationError, type context_AudioData as AudioData, type context_Background as Background, type context_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context_BackgroundType as BackgroundType, type context_BlockquoteData as BlockquoteData, type context_BookingData as BookingData, type context_Border as Border, type context_BorderColors as BorderColors, type context_BreadcrumbItem as BreadcrumbItem, type context_BreadcrumbItemValues as BreadcrumbItemValues, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkAddItemToCategoriesOptions as BulkAddItemToCategoriesOptions, type context_BulkAddItemToCategoriesRequest as BulkAddItemToCategoriesRequest, type context_BulkAddItemToCategoriesResponse as BulkAddItemToCategoriesResponse, type context_BulkAddItemToCategoriesResponseNonNullableFields as BulkAddItemToCategoriesResponseNonNullableFields, type context_BulkAddItemsToCategoryOptions as BulkAddItemsToCategoryOptions, type context_BulkAddItemsToCategoryRequest as BulkAddItemsToCategoryRequest, type context_BulkAddItemsToCategoryResponse as BulkAddItemsToCategoryResponse, type context_BulkAddItemsToCategoryResponseNonNullableFields as BulkAddItemsToCategoryResponseNonNullableFields, type context_BulkCategoriesResult as BulkCategoriesResult, type context_BulkCreateCategoriesRequest as BulkCreateCategoriesRequest, type context_BulkCreateCategoriesResponse as BulkCreateCategoriesResponse, type context_BulkDeleteCategoriesByFilterRequest as BulkDeleteCategoriesByFilterRequest, type context_BulkDeleteCategoriesByFilterResponse as BulkDeleteCategoriesByFilterResponse, type context_BulkDeleteCategoriesRequest as BulkDeleteCategoriesRequest, type context_BulkDeleteCategoriesResponse as BulkDeleteCategoriesResponse, type context_BulkDeleteCategoriesResponseBulkCategoriesResult as BulkDeleteCategoriesResponseBulkCategoriesResult, type context_BulkItemToCategoriesResult as BulkItemToCategoriesResult, type context_BulkItemsToCategoryResult as BulkItemsToCategoryResult, type context_BulkRemoveItemFromCategoriesOptions as BulkRemoveItemFromCategoriesOptions, type context_BulkRemoveItemFromCategoriesRequest as BulkRemoveItemFromCategoriesRequest, type context_BulkRemoveItemFromCategoriesResponse as BulkRemoveItemFromCategoriesResponse, type context_BulkRemoveItemFromCategoriesResponseNonNullableFields as BulkRemoveItemFromCategoriesResponseNonNullableFields, type context_BulkRemoveItemsFromCategoryOptions as BulkRemoveItemsFromCategoryOptions, type context_BulkRemoveItemsFromCategoryRequest as BulkRemoveItemsFromCategoryRequest, type context_BulkRemoveItemsFromCategoryResponse as BulkRemoveItemsFromCategoryResponse, type context_BulkRemoveItemsFromCategoryResponseNonNullableFields as BulkRemoveItemsFromCategoryResponseNonNullableFields, type context_BulkUpdateCategoriesOptions as BulkUpdateCategoriesOptions, type context_BulkUpdateCategoriesRequest as BulkUpdateCategoriesRequest, type context_BulkUpdateCategoriesResponse as BulkUpdateCategoriesResponse, type context_BulkUpdateCategoriesResponseNonNullableFields as BulkUpdateCategoriesResponseNonNullableFields, type context_BulkUpdateCategoryVisibilityByFilterRequest as BulkUpdateCategoryVisibilityByFilterRequest, type context_BulkUpdateCategoryVisibilityByFilterResponse as BulkUpdateCategoryVisibilityByFilterResponse, type context_BulkUpdateCategoryVisibilityRequest as BulkUpdateCategoryVisibilityRequest, type context_BulkUpdateCategoryVisibilityResponse as BulkUpdateCategoryVisibilityResponse, type context_BulletedListData as BulletedListData, type context_ButtonData as ButtonData, type context_CategoriesQueryBuilder as CategoriesQueryBuilder, type context_CategoriesQueryResult as CategoriesQueryResult, type context_Category as Category, type context_CategoryMoved as CategoryMoved, type context_CategoryNonNullableFields as CategoryNonNullableFields, type context_CategoryTreeNode as CategoryTreeNode, type context_CellStyle as CellStyle, type context_CodeBlockData as CodeBlockData, type context_CollapsibleListData as CollapsibleListData, type context_ColorData as ColorData, type context_Colors as Colors, type context_CommonCursors as CommonCursors, type context_CompactCategory as CompactCategory, type context_CountCategoriesOptions as CountCategoriesOptions, type context_CountCategoriesRequest as CountCategoriesRequest, type context_CountCategoriesResponse as CountCategoriesResponse, type context_CountCategoriesResponseNonNullableFields as CountCategoriesResponseNonNullableFields, type context_CreateCategoryOptions as CreateCategoryOptions, type context_CreateCategoryRequest as CreateCategoryRequest, type context_CreateCategoryResponse as CreateCategoryResponse, type context_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, context_Crop as Crop, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_CursorSearch as CursorSearch, type context_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type context_Cursors as Cursors, type context_DateHistogramAggregation as DateHistogramAggregation, type context_DateHistogramResult as DateHistogramResult, type context_DateHistogramResults as DateHistogramResults, type context_Decoration as Decoration, type context_DecorationDataOneOf as DecorationDataOneOf, context_DecorationType as DecorationType, type context_DeleteCategoryRequest as DeleteCategoryRequest, type context_DeleteCategoryResponse as DeleteCategoryResponse, type context_DeprecatedSearchCategoriesWithOffsetRequest as DeprecatedSearchCategoriesWithOffsetRequest, type context_DeprecatedSearchCategoriesWithOffsetResponse as DeprecatedSearchCategoriesWithOffsetResponse, type context_Design as Design, type context_Dimensions as Dimensions, context_Direction as Direction, type context_DividerData as DividerData, type context_DocumentStyle as DocumentStyle, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EmbedData as EmbedData, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventData as EventData, type context_ExtendedFields as ExtendedFields, type context_File as File, type context_FileData as FileData, type context_FileSource as FileSource, type context_FileSourceDataOneOf as FileSourceDataOneOf, type context_FontSizeData as FontSizeData, context_FontType as FontType, type context_GIF as GIF, type context_GIFData as GIFData, type context_GalleryData as GalleryData, type context_GalleryOptions as GalleryOptions, type context_GetArrangedItemsRequest as GetArrangedItemsRequest, type context_GetArrangedItemsResponse as GetArrangedItemsResponse, type context_GetArrangedItemsResponseNonNullableFields as GetArrangedItemsResponseNonNullableFields, type context_GetCategoriesTreeRequest as GetCategoriesTreeRequest, type context_GetCategoriesTreeResponse as GetCategoriesTreeResponse, type context_GetCategoryOptions as GetCategoryOptions, type context_GetCategoryRequest as GetCategoryRequest, type context_GetCategoryResponse as GetCategoryResponse, type context_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type context_Gradient as Gradient, type context_GroupByValueResults as GroupByValueResults, type context_HTMLData as HTMLData, type context_HTMLDataDataOneOf as HTMLDataDataOneOf, type context_HeadingData as HeadingData, type context_Height as Height, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, type context_ImageData as ImageData, type context_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context_InitialExpandedItems as InitialExpandedItems, context_Interval as Interval, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemAddedToCategory as ItemAddedToCategory, type context_ItemDataOneOf as ItemDataOneOf, type context_ItemMetadata as ItemMetadata, type context_ItemReference as ItemReference, type context_ItemReferenceMetadata as ItemReferenceMetadata, type context_ItemRemovedFromCategory as ItemRemovedFromCategory, type context_ItemStyle as ItemStyle, type context_ItemsAddedToCategory as ItemsAddedToCategory, type context_ItemsArrangedInCategory as ItemsArrangedInCategory, type context_ItemsRemovedFromCategory as ItemsRemovedFromCategory, type context_Keyword as Keyword, type context_Layout as Layout, context_LayoutType as LayoutType, context_LineStyle as LineStyle, type context_Link as Link, type context_LinkData as LinkData, type context_LinkDataOneOf as LinkDataOneOf, type context_LinkPreviewData as LinkPreviewData, type context_ListCategoriesForItemOptions as ListCategoriesForItemOptions, type context_ListCategoriesForItemRequest as ListCategoriesForItemRequest, type context_ListCategoriesForItemResponse as ListCategoriesForItemResponse, type context_ListCategoriesForItemResponseNonNullableFields as ListCategoriesForItemResponseNonNullableFields, type context_ListCompactCategoriesByIdsRequest as ListCompactCategoriesByIdsRequest, type context_ListCompactCategoriesByIdsResponse as ListCompactCategoriesByIdsResponse, type context_ListItemsInCategoryOptions as ListItemsInCategoryOptions, type context_ListItemsInCategoryRequest as ListItemsInCategoryRequest, type context_ListItemsInCategoryRequestPagingMethodOneOf as ListItemsInCategoryRequestPagingMethodOneOf, type context_ListItemsInCategoryResponse as ListItemsInCategoryResponse, type context_ListItemsInCategoryResponseNonNullableFields as ListItemsInCategoryResponseNonNullableFields, type context_ListTreesRequest as ListTreesRequest, type context_ListTreesResponse as ListTreesResponse, type context_ListTreesResponseNonNullableFields as ListTreesResponseNonNullableFields, type context_ListValue as ListValue, type context_MapData as MapData, type context_MapSettings as MapSettings, context_MapType as MapType, type context_MaskedCategory as MaskedCategory, type context_Media as Media, type context_MentionData as MentionData, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, context_MissingValues as MissingValues, context_Mode as Mode, type context_MoveCategoryOptions as MoveCategoryOptions, type context_MoveCategoryRequest as MoveCategoryRequest, type context_MoveCategoryResponse as MoveCategoryResponse, type context_MoveCategoryResponseNonNullableFields as MoveCategoryResponseNonNullableFields, type context_MoveItemInCategoryRequest as MoveItemInCategoryRequest, context_MoveItemInCategoryRequestPosition as MoveItemInCategoryRequestPosition, type context_MoveItemInCategoryResponse as MoveItemInCategoryResponse, type context_NestedAggregation as NestedAggregation, type context_NestedAggregationItem as NestedAggregationItem, type context_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context_NestedAggregationResults as NestedAggregationResults, type context_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context_NestedAggregationType as NestedAggregationType, type context_NestedResultValue as NestedResultValue, type context_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context_NestedResults as NestedResults, type context_NestedValueAggregationResult as NestedValueAggregationResult, type context_Node as Node, type context_NodeDataOneOf as NodeDataOneOf, type context_NodeStyle as NodeStyle, context_NodeType as NodeType, context_NullValue as NullValue, type context_Oembed as Oembed, type context_OffsetSearch as OffsetSearch, type context_OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOf, type context_Option as Option, type context_OptionDesign as OptionDesign, type context_OptionLayout as OptionLayout, type context_OrderedListData as OrderedListData, context_Orientation as Orientation, type context_PDFSettings as PDFSettings, type context_Page as Page, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, type context_PagingMetadataV2 as PagingMetadataV2, type context_ParagraphData as ParagraphData, type context_ParentCategory as ParentCategory, type context_Permissions as Permissions, type context_PlatformPagingMetadataV2 as PlatformPagingMetadataV2, type context_PlaybackOptions as PlaybackOptions, type context_PluginContainerData as PluginContainerData, context_PluginContainerDataAlignment as PluginContainerDataAlignment, type context_PluginContainerDataWidth as PluginContainerDataWidth, type context_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context_Poll as Poll, type context_PollData as PollData, type context_PollDataLayout as PollDataLayout, type context_PollDesign as PollDesign, type context_PollLayout as PollLayout, context_PollLayoutDirection as PollLayoutDirection, context_PollLayoutType as PollLayoutType, type context_PollSettings as PollSettings, context_Position as Position, type context_QueryCategoriesOptions as QueryCategoriesOptions, type context_QueryCategoriesRequest as QueryCategoriesRequest, type context_QueryCategoriesResponse as QueryCategoriesResponse, type context_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type context_RangeAggregation as RangeAggregation, type context_RangeAggregationResult as RangeAggregationResult, type context_RangeBucket as RangeBucket, type context_RangeResult as RangeResult, type context_RangeResults as RangeResults, type context_Rel as Rel, context_RequestedFields as RequestedFields, type context_RestoreInfo as RestoreInfo, type context_Results as Results, type context_RichContent as RichContent, type context_ScalarAggregation as ScalarAggregation, type context_ScalarResult as ScalarResult, context_ScalarType as ScalarType, type context_SearchCategoriesOptions as SearchCategoriesOptions, type context_SearchCategoriesRequest as SearchCategoriesRequest, type context_SearchCategoriesResponse as SearchCategoriesResponse, type context_SearchCategoriesResponseNonNullableFields as SearchCategoriesResponseNonNullableFields, type context_SearchDetails as SearchDetails, type context_SeoSchema as SeoSchema, type context_SetArrangedItemsOptions as SetArrangedItemsOptions, type context_SetArrangedItemsRequest as SetArrangedItemsRequest, type context_SetArrangedItemsResponse as SetArrangedItemsResponse, type context_SetArrangedItemsResponseNonNullableFields as SetArrangedItemsResponseNonNullableFields, type context_Settings as Settings, context_SingleEntityOpsRequestedFields as SingleEntityOpsRequestedFields, context_SortDirection as SortDirection, context_SortOrder as SortOrder, context_SortType as SortType, type context_Sorting as Sorting, context_Source as Source, type context_Spoiler as Spoiler, type context_SpoilerData as SpoilerData, type context_Styles as Styles, type context_TableCellData as TableCellData, type context_TableData as TableData, type context_Tag as Tag, context_Target as Target, context_TextAlignment as TextAlignment, type context_TextData as TextData, type context_TextNodeStyle as TextNodeStyle, type context_TextStyle as TextStyle, type context_Thumbnails as Thumbnails, context_ThumbnailsAlignment as ThumbnailsAlignment, type context_TreeReference as TreeReference, context_Type as Type, type context_URI as URI, type context_UpdateCategory as UpdateCategory, type context_UpdateCategoryOptions as UpdateCategoryOptions, type context_UpdateCategoryRequest as UpdateCategoryRequest, type context_UpdateCategoryResponse as UpdateCategoryResponse, type context_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, type context_UpdateCategoryVisibilityOptions as UpdateCategoryVisibilityOptions, type context_UpdateCategoryVisibilityRequest as UpdateCategoryVisibilityRequest, type context_UpdateCategoryVisibilityResponse as UpdateCategoryVisibilityResponse, type context_UpdateCategoryVisibilityResponseNonNullableFields as UpdateCategoryVisibilityResponseNonNullableFields, type context_ValueAggregation as ValueAggregation, type context_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context_ValueAggregationResult as ValueAggregationResult, type context_ValueResult as ValueResult, type context_ValueResults as ValueResults, context_VerticalAlignment as VerticalAlignment, type context_Video as Video, type context_VideoData as VideoData, context_ViewMode as ViewMode, context_ViewRole as ViewRole, context_VoteRole as VoteRole, context_WebhookIdentityType as WebhookIdentityType, context_Width as Width, context_WidthType as WidthType, context_bulkAddItemToCategories as bulkAddItemToCategories, context_bulkAddItemsToCategory as bulkAddItemsToCategory, context_bulkRemoveItemFromCategories as bulkRemoveItemFromCategories, context_bulkRemoveItemsFromCategory as bulkRemoveItemsFromCategory, context_bulkUpdateCategories as bulkUpdateCategories, context_countCategories as countCategories, context_createCategory as createCategory, context_deleteCategory as deleteCategory, context_getArrangedItems as getArrangedItems, context_getCategory as getCategory, context_listCategoriesForItem as listCategoriesForItem, context_listItemsInCategory as listItemsInCategory, context_listTrees as listTrees, context_moveCategory as moveCategory, context_queryCategories as queryCategories, context_searchCategories as searchCategories, context_setArrangedItems as setArrangedItems, context_updateCategory as updateCategory, context_updateCategoryVisibility as updateCategoryVisibility };
|
|
3831
4046
|
}
|
|
3832
4047
|
|
|
3833
4048
|
export { context as categories };
|