@wix/auto_sdk_categories_categories 1.0.61 → 1.0.62
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/build/{categories-v1-category-categories.universal-Bn_iHkbq.d.mts → cjs/categories-v1-category-categories.universal-CAAW-EQ5.d.ts} +1057 -101
- package/build/cjs/index.d.ts +311 -0
- package/build/{internal → cjs}/index.js +75 -20
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +36 -0
- package/build/cjs/index.typings.js +2572 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/{internal → cjs}/meta.d.ts +261 -46
- package/build/{categories-v1-category-categories.universal-Bn_iHkbq.d.ts → es/categories-v1-category-categories.universal-CAAW-EQ5.d.mts} +1057 -101
- package/build/es/index.d.mts +311 -0
- package/build/{internal → es}/index.mjs +68 -20
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +36 -0
- package/build/es/index.typings.mjs +2477 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/{internal → es}/meta.d.mts +261 -46
- package/build/es/package.json +3 -0
- package/build/internal/{categories-v1-category-categories.universal-Bn_iHkbq.d.mts → cjs/categories-v1-category-categories.universal-CAAW-EQ5.d.ts} +1057 -101
- package/build/internal/cjs/index.d.ts +311 -0
- package/build/{index.js → internal/cjs/index.js} +75 -20
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +36 -0
- package/build/internal/cjs/index.typings.js +2572 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/{meta.d.ts → internal/cjs/meta.d.ts} +261 -46
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/{categories-v1-category-categories.universal-Bn_iHkbq.d.ts → es/categories-v1-category-categories.universal-CAAW-EQ5.d.mts} +1057 -101
- package/build/internal/es/index.d.mts +311 -0
- package/build/{index.mjs → internal/es/index.mjs} +68 -20
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +36 -0
- package/build/internal/es/index.typings.mjs +2477 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/{meta.d.mts → internal/es/meta.d.mts} +261 -46
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/index.d.mts +0 -279
- package/build/index.d.ts +0 -279
- package/build/index.js.map +0 -1
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -279
- package/build/internal/index.d.ts +0 -279
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs.map +0 -1
- package/build/meta.js.map +0 -1
- package/build/meta.mjs.map +0 -1
- /package/build/{internal → cjs}/meta.js +0 -0
- /package/build/{internal → cjs}/meta.js.map +0 -0
- /package/build/{internal → es}/meta.mjs +0 -0
- /package/build/{internal → es}/meta.mjs.map +0 -0
- /package/build/{meta.js → internal/cjs/meta.js} +0 -0
- /package/build/{meta.mjs → internal/es/meta.mjs} +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SearchSpec, Search, NonNullablePaths } from '@wix/sdk-types';
|
|
2
|
+
|
|
1
3
|
interface Category {
|
|
2
4
|
/**
|
|
3
5
|
* Category ID.
|
|
@@ -378,7 +380,7 @@ interface ButtonData {
|
|
|
378
380
|
/** Styling for the button's container. */
|
|
379
381
|
containerData?: PluginContainerData;
|
|
380
382
|
/** The button type. */
|
|
381
|
-
type?:
|
|
383
|
+
type?: ButtonDataTypeWithLiterals;
|
|
382
384
|
/** Styling for the button. */
|
|
383
385
|
styles?: Styles;
|
|
384
386
|
/** The text to display on the button. */
|
|
@@ -486,14 +488,14 @@ interface Height {
|
|
|
486
488
|
/** A custom height value in pixels. */
|
|
487
489
|
custom?: string | null;
|
|
488
490
|
}
|
|
489
|
-
declare enum
|
|
491
|
+
declare enum ButtonDataType {
|
|
490
492
|
/** Regular link button */
|
|
491
493
|
LINK = "LINK",
|
|
492
494
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
493
495
|
ACTION = "ACTION"
|
|
494
496
|
}
|
|
495
497
|
/** @enumType */
|
|
496
|
-
type
|
|
498
|
+
type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
|
|
497
499
|
interface Styles {
|
|
498
500
|
/**
|
|
499
501
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
@@ -626,7 +628,7 @@ interface DividerData {
|
|
|
626
628
|
/** Divider width. */
|
|
627
629
|
width?: WidthWithLiterals;
|
|
628
630
|
/** Divider alignment. */
|
|
629
|
-
alignment?:
|
|
631
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
630
632
|
}
|
|
631
633
|
declare enum LineStyle {
|
|
632
634
|
/** Single Line */
|
|
@@ -650,7 +652,7 @@ declare enum Width {
|
|
|
650
652
|
}
|
|
651
653
|
/** @enumType */
|
|
652
654
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
653
|
-
declare enum
|
|
655
|
+
declare enum DividerDataAlignment {
|
|
654
656
|
/** Center alignment */
|
|
655
657
|
CENTER = "CENTER",
|
|
656
658
|
/** Left alignment */
|
|
@@ -659,7 +661,7 @@ declare enum Alignment {
|
|
|
659
661
|
RIGHT = "RIGHT"
|
|
660
662
|
}
|
|
661
663
|
/** @enumType */
|
|
662
|
-
type
|
|
664
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
663
665
|
interface FileData {
|
|
664
666
|
/** Styling for the file's container. */
|
|
665
667
|
containerData?: PluginContainerData;
|
|
@@ -784,7 +786,7 @@ interface ItemDataOneOf {
|
|
|
784
786
|
}
|
|
785
787
|
interface GalleryOptions {
|
|
786
788
|
/** Gallery layout. */
|
|
787
|
-
layout?:
|
|
789
|
+
layout?: GalleryOptionsLayout;
|
|
788
790
|
/** Styling for gallery items. */
|
|
789
791
|
item?: ItemStyle;
|
|
790
792
|
/** Styling for gallery thumbnail images. */
|
|
@@ -844,7 +846,7 @@ declare enum ThumbnailsAlignment {
|
|
|
844
846
|
}
|
|
845
847
|
/** @enumType */
|
|
846
848
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
847
|
-
interface
|
|
849
|
+
interface GalleryOptionsLayout {
|
|
848
850
|
/** Gallery layout type. */
|
|
849
851
|
type?: LayoutTypeWithLiterals;
|
|
850
852
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -1294,6 +1296,10 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1294
1296
|
spoilerData?: SpoilerData;
|
|
1295
1297
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1296
1298
|
strikethroughData?: boolean | null;
|
|
1299
|
+
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1300
|
+
superscriptData?: boolean | null;
|
|
1301
|
+
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1302
|
+
subscriptData?: boolean | null;
|
|
1297
1303
|
/** The type of decoration to apply. */
|
|
1298
1304
|
type?: DecorationTypeWithLiterals;
|
|
1299
1305
|
}
|
|
@@ -1319,6 +1325,10 @@ interface DecorationDataOneOf {
|
|
|
1319
1325
|
spoilerData?: SpoilerData;
|
|
1320
1326
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1321
1327
|
strikethroughData?: boolean | null;
|
|
1328
|
+
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1329
|
+
superscriptData?: boolean | null;
|
|
1330
|
+
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1331
|
+
subscriptData?: boolean | null;
|
|
1322
1332
|
}
|
|
1323
1333
|
declare enum DecorationType {
|
|
1324
1334
|
BOLD = "BOLD",
|
|
@@ -1331,10 +1341,12 @@ declare enum DecorationType {
|
|
|
1331
1341
|
COLOR = "COLOR",
|
|
1332
1342
|
FONT_SIZE = "FONT_SIZE",
|
|
1333
1343
|
EXTERNAL = "EXTERNAL",
|
|
1334
|
-
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1344
|
+
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1345
|
+
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1346
|
+
SUBSCRIPT = "SUBSCRIPT"
|
|
1335
1347
|
}
|
|
1336
1348
|
/** @enumType */
|
|
1337
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
|
1349
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
|
|
1338
1350
|
interface AnchorData {
|
|
1339
1351
|
/** The target node's ID. */
|
|
1340
1352
|
anchor?: string;
|
|
@@ -1393,6 +1405,34 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1393
1405
|
url?: string | null;
|
|
1394
1406
|
/** An image for the embedded content. */
|
|
1395
1407
|
image?: Media;
|
|
1408
|
+
/** Whether to hide the image. */
|
|
1409
|
+
hideImage?: boolean | null;
|
|
1410
|
+
/** Whether to hide the title. */
|
|
1411
|
+
hideTitle?: boolean | null;
|
|
1412
|
+
/** Whether to hide the price. */
|
|
1413
|
+
hidePrice?: boolean | null;
|
|
1414
|
+
/** Whether to hide the description (Event and Booking). */
|
|
1415
|
+
hideDescription?: boolean | null;
|
|
1416
|
+
/** Whether to hide the date and time (Event). */
|
|
1417
|
+
hideDateTime?: boolean | null;
|
|
1418
|
+
/** Whether to hide the location (Event). */
|
|
1419
|
+
hideLocation?: boolean | null;
|
|
1420
|
+
/** Whether to hide the duration (Booking). */
|
|
1421
|
+
hideDuration?: boolean | null;
|
|
1422
|
+
/** Whether to hide the button. */
|
|
1423
|
+
hideButton?: boolean | null;
|
|
1424
|
+
/** Whether to hide the ribbon. */
|
|
1425
|
+
hideRibbon?: boolean | null;
|
|
1426
|
+
/** Button styling options. */
|
|
1427
|
+
buttonStyles?: ButtonStyles;
|
|
1428
|
+
/** Image styling options. */
|
|
1429
|
+
imageStyles?: ImageStyles;
|
|
1430
|
+
/** Ribbon styling options. */
|
|
1431
|
+
ribbonStyles?: RibbonStyles;
|
|
1432
|
+
/** Card styling options. */
|
|
1433
|
+
cardStyles?: CardStyles;
|
|
1434
|
+
/** Styling for the app embed's container. */
|
|
1435
|
+
containerData?: PluginContainerData;
|
|
1396
1436
|
}
|
|
1397
1437
|
/** @oneof */
|
|
1398
1438
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1401,6 +1441,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
1401
1441
|
/** Data for embedded Wix Events content. */
|
|
1402
1442
|
eventData?: EventData;
|
|
1403
1443
|
}
|
|
1444
|
+
declare enum ImageStylesPosition {
|
|
1445
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1446
|
+
START = "START",
|
|
1447
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
1448
|
+
END = "END",
|
|
1449
|
+
/** Image positioned at the top */
|
|
1450
|
+
TOP = "TOP"
|
|
1451
|
+
}
|
|
1452
|
+
/** @enumType */
|
|
1453
|
+
type ImageStylesPositionWithLiterals = ImageStylesPosition | 'START' | 'END' | 'TOP';
|
|
1454
|
+
declare enum AspectRatio {
|
|
1455
|
+
/** 1:1 aspect ratio */
|
|
1456
|
+
SQUARE = "SQUARE",
|
|
1457
|
+
/** 16:9 aspect ratio */
|
|
1458
|
+
RECTANGLE = "RECTANGLE"
|
|
1459
|
+
}
|
|
1460
|
+
/** @enumType */
|
|
1461
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
1462
|
+
declare enum Resizing {
|
|
1463
|
+
/** Fill the container, may crop the image */
|
|
1464
|
+
FILL = "FILL",
|
|
1465
|
+
/** Fit the image within the container */
|
|
1466
|
+
FIT = "FIT"
|
|
1467
|
+
}
|
|
1468
|
+
/** @enumType */
|
|
1469
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
1470
|
+
declare enum Placement {
|
|
1471
|
+
/** Ribbon placed on the image */
|
|
1472
|
+
IMAGE = "IMAGE",
|
|
1473
|
+
/** Ribbon placed on the product information */
|
|
1474
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
1475
|
+
}
|
|
1476
|
+
/** @enumType */
|
|
1477
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
1478
|
+
declare enum Type {
|
|
1479
|
+
/** Card with visible border and background */
|
|
1480
|
+
CONTAINED = "CONTAINED",
|
|
1481
|
+
/** Card without visible border */
|
|
1482
|
+
FRAMELESS = "FRAMELESS"
|
|
1483
|
+
}
|
|
1484
|
+
/** @enumType */
|
|
1485
|
+
type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
|
|
1486
|
+
declare enum Alignment {
|
|
1487
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
1488
|
+
START = "START",
|
|
1489
|
+
/** Content centered */
|
|
1490
|
+
CENTER = "CENTER",
|
|
1491
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
1492
|
+
END = "END"
|
|
1493
|
+
}
|
|
1494
|
+
/** @enumType */
|
|
1495
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
1496
|
+
declare enum Layout {
|
|
1497
|
+
/** Elements stacked vertically */
|
|
1498
|
+
STACKED = "STACKED",
|
|
1499
|
+
/** Elements arranged horizontally */
|
|
1500
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
1501
|
+
}
|
|
1502
|
+
/** @enumType */
|
|
1503
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
1404
1504
|
declare enum AppType {
|
|
1405
1505
|
PRODUCT = "PRODUCT",
|
|
1406
1506
|
EVENT = "EVENT",
|
|
@@ -1418,6 +1518,122 @@ interface EventData {
|
|
|
1418
1518
|
/** Event location. */
|
|
1419
1519
|
location?: string | null;
|
|
1420
1520
|
}
|
|
1521
|
+
interface ButtonStyles {
|
|
1522
|
+
/** Text to display on the button. */
|
|
1523
|
+
buttonText?: string | null;
|
|
1524
|
+
/** Border width in pixels. */
|
|
1525
|
+
borderWidth?: number | null;
|
|
1526
|
+
/** Border radius in pixels. */
|
|
1527
|
+
borderRadius?: number | null;
|
|
1528
|
+
/**
|
|
1529
|
+
* Border color as a hexadecimal value.
|
|
1530
|
+
* @format COLOR_HEX
|
|
1531
|
+
*/
|
|
1532
|
+
borderColor?: string | null;
|
|
1533
|
+
/**
|
|
1534
|
+
* Text color as a hexadecimal value.
|
|
1535
|
+
* @format COLOR_HEX
|
|
1536
|
+
*/
|
|
1537
|
+
textColor?: string | null;
|
|
1538
|
+
/**
|
|
1539
|
+
* Background color as a hexadecimal value.
|
|
1540
|
+
* @format COLOR_HEX
|
|
1541
|
+
*/
|
|
1542
|
+
backgroundColor?: string | null;
|
|
1543
|
+
/**
|
|
1544
|
+
* Border color as a hexadecimal value (hover state).
|
|
1545
|
+
* @format COLOR_HEX
|
|
1546
|
+
*/
|
|
1547
|
+
borderColorHover?: string | null;
|
|
1548
|
+
/**
|
|
1549
|
+
* Text color as a hexadecimal value (hover state).
|
|
1550
|
+
* @format COLOR_HEX
|
|
1551
|
+
*/
|
|
1552
|
+
textColorHover?: string | null;
|
|
1553
|
+
/**
|
|
1554
|
+
* Background color as a hexadecimal value (hover state).
|
|
1555
|
+
* @format COLOR_HEX
|
|
1556
|
+
*/
|
|
1557
|
+
backgroundColorHover?: string | null;
|
|
1558
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1559
|
+
buttonSize?: string | null;
|
|
1560
|
+
}
|
|
1561
|
+
interface ImageStyles {
|
|
1562
|
+
/** Whether to hide the image. */
|
|
1563
|
+
hideImage?: boolean | null;
|
|
1564
|
+
/** Position of image. Defaults to `START`. */
|
|
1565
|
+
imagePosition?: ImageStylesPositionWithLiterals;
|
|
1566
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
1567
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
1568
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
1569
|
+
resizing?: ResizingWithLiterals;
|
|
1570
|
+
/**
|
|
1571
|
+
* Image border color as a hexadecimal value.
|
|
1572
|
+
* @format COLOR_HEX
|
|
1573
|
+
*/
|
|
1574
|
+
borderColor?: string | null;
|
|
1575
|
+
/** Image border width in pixels. */
|
|
1576
|
+
borderWidth?: number | null;
|
|
1577
|
+
/** Image border radius in pixels. */
|
|
1578
|
+
borderRadius?: number | null;
|
|
1579
|
+
}
|
|
1580
|
+
interface RibbonStyles {
|
|
1581
|
+
/** Text to display on the ribbon. */
|
|
1582
|
+
ribbonText?: string | null;
|
|
1583
|
+
/**
|
|
1584
|
+
* Ribbon background color as a hexadecimal value.
|
|
1585
|
+
* @format COLOR_HEX
|
|
1586
|
+
*/
|
|
1587
|
+
backgroundColor?: string | null;
|
|
1588
|
+
/**
|
|
1589
|
+
* Ribbon text color as a hexadecimal value.
|
|
1590
|
+
* @format COLOR_HEX
|
|
1591
|
+
*/
|
|
1592
|
+
textColor?: string | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Ribbon border color as a hexadecimal value.
|
|
1595
|
+
* @format COLOR_HEX
|
|
1596
|
+
*/
|
|
1597
|
+
borderColor?: string | null;
|
|
1598
|
+
/** Ribbon border width in pixels. */
|
|
1599
|
+
borderWidth?: number | null;
|
|
1600
|
+
/** Ribbon border radius in pixels. */
|
|
1601
|
+
borderRadius?: number | null;
|
|
1602
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
1603
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
1604
|
+
}
|
|
1605
|
+
interface CardStyles {
|
|
1606
|
+
/**
|
|
1607
|
+
* Card background color as a hexadecimal value.
|
|
1608
|
+
* @format COLOR_HEX
|
|
1609
|
+
*/
|
|
1610
|
+
backgroundColor?: string | null;
|
|
1611
|
+
/**
|
|
1612
|
+
* Card border color as a hexadecimal value.
|
|
1613
|
+
* @format COLOR_HEX
|
|
1614
|
+
*/
|
|
1615
|
+
borderColor?: string | null;
|
|
1616
|
+
/** Card border width in pixels. */
|
|
1617
|
+
borderWidth?: number | null;
|
|
1618
|
+
/** Card border radius in pixels. */
|
|
1619
|
+
borderRadius?: number | null;
|
|
1620
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
1621
|
+
type?: TypeWithLiterals;
|
|
1622
|
+
/** Content alignment. Defaults to `START`. */
|
|
1623
|
+
alignment?: AlignmentWithLiterals;
|
|
1624
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
1625
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
1626
|
+
/**
|
|
1627
|
+
* Title text color as a hexadecimal value.
|
|
1628
|
+
* @format COLOR_HEX
|
|
1629
|
+
*/
|
|
1630
|
+
titleColor?: string | null;
|
|
1631
|
+
/**
|
|
1632
|
+
* Text color as a hexadecimal value.
|
|
1633
|
+
* @format COLOR_HEX
|
|
1634
|
+
*/
|
|
1635
|
+
textColor?: string | null;
|
|
1636
|
+
}
|
|
1421
1637
|
interface VideoData {
|
|
1422
1638
|
/** Styling for the video's container. */
|
|
1423
1639
|
containerData?: PluginContainerData;
|
|
@@ -1590,6 +1806,8 @@ declare enum NullValue {
|
|
|
1590
1806
|
/** Null value. */
|
|
1591
1807
|
NULL_VALUE = "NULL_VALUE"
|
|
1592
1808
|
}
|
|
1809
|
+
/** @enumType */
|
|
1810
|
+
type NullValueWithLiterals = NullValue | 'NULL_VALUE';
|
|
1593
1811
|
/**
|
|
1594
1812
|
* `ListValue` is a wrapper around a repeated field of values.
|
|
1595
1813
|
*
|
|
@@ -2790,17 +3008,17 @@ interface MoveCategoryResponse {
|
|
|
2790
3008
|
*/
|
|
2791
3009
|
categoriesAfterMove?: string[];
|
|
2792
3010
|
}
|
|
2793
|
-
interface
|
|
3011
|
+
interface BulkUpdateCategoriesRequest {
|
|
2794
3012
|
/**
|
|
2795
|
-
* List of categories to
|
|
3013
|
+
* List of categories to update.
|
|
2796
3014
|
* @minSize 1
|
|
2797
3015
|
* @maxSize 100
|
|
2798
3016
|
*/
|
|
2799
|
-
categories
|
|
3017
|
+
categories: MaskedCategory[];
|
|
2800
3018
|
/** Category tree reference details. */
|
|
2801
|
-
treeReference
|
|
3019
|
+
treeReference: TreeReference;
|
|
2802
3020
|
/**
|
|
2803
|
-
* Whether to return the category entity in the response.
|
|
3021
|
+
* Whether to return the full category entity in the response.
|
|
2804
3022
|
*
|
|
2805
3023
|
* Default: `false`
|
|
2806
3024
|
*/
|
|
@@ -2811,9 +3029,13 @@ interface BulkCreateCategoriesRequest {
|
|
|
2811
3029
|
*/
|
|
2812
3030
|
fields?: RequestedFieldsWithLiterals[];
|
|
2813
3031
|
}
|
|
2814
|
-
interface
|
|
3032
|
+
interface MaskedCategory {
|
|
3033
|
+
/** Category to update. */
|
|
3034
|
+
category?: Category;
|
|
3035
|
+
}
|
|
3036
|
+
interface BulkUpdateCategoriesResponse {
|
|
2815
3037
|
/**
|
|
2816
|
-
* Categories
|
|
3038
|
+
* Categories updated by bulk action.
|
|
2817
3039
|
* @minSize 1
|
|
2818
3040
|
* @maxSize 100
|
|
2819
3041
|
*/
|
|
@@ -2860,41 +3082,6 @@ interface BulkActionMetadata {
|
|
|
2860
3082
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
2861
3083
|
undetailedFailures?: number;
|
|
2862
3084
|
}
|
|
2863
|
-
interface BulkUpdateCategoriesRequest {
|
|
2864
|
-
/**
|
|
2865
|
-
* List of categories to update.
|
|
2866
|
-
* @minSize 1
|
|
2867
|
-
* @maxSize 100
|
|
2868
|
-
*/
|
|
2869
|
-
categories: MaskedCategory[];
|
|
2870
|
-
/** Category tree reference details. */
|
|
2871
|
-
treeReference: TreeReference;
|
|
2872
|
-
/**
|
|
2873
|
-
* Whether to return the full category entity in the response.
|
|
2874
|
-
*
|
|
2875
|
-
* Default: `false`
|
|
2876
|
-
*/
|
|
2877
|
-
returnEntity?: boolean;
|
|
2878
|
-
/**
|
|
2879
|
-
* Fields to include in the response.
|
|
2880
|
-
* @maxSize 100
|
|
2881
|
-
*/
|
|
2882
|
-
fields?: RequestedFieldsWithLiterals[];
|
|
2883
|
-
}
|
|
2884
|
-
interface MaskedCategory {
|
|
2885
|
-
/** Category to update. */
|
|
2886
|
-
category?: Category;
|
|
2887
|
-
}
|
|
2888
|
-
interface BulkUpdateCategoriesResponse {
|
|
2889
|
-
/**
|
|
2890
|
-
* Categories updated by bulk action.
|
|
2891
|
-
* @minSize 1
|
|
2892
|
-
* @maxSize 100
|
|
2893
|
-
*/
|
|
2894
|
-
results?: BulkCategoriesResult[];
|
|
2895
|
-
/** Bulk action metadata. */
|
|
2896
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
2897
|
-
}
|
|
2898
3085
|
interface UpdateCategoryVisibilityRequest {
|
|
2899
3086
|
/**
|
|
2900
3087
|
* Category ID.
|
|
@@ -2957,30 +3144,6 @@ interface BulkShowCategoriesResponse {
|
|
|
2957
3144
|
/** Bulk action metadata. */
|
|
2958
3145
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2959
3146
|
}
|
|
2960
|
-
interface BulkUpdateCategoryVisibilityByFilterRequest {
|
|
2961
|
-
/**
|
|
2962
|
-
* Filter object in the following format:
|
|
2963
|
-
* `"filter" : {
|
|
2964
|
-
* "fieldName1": "value1",
|
|
2965
|
-
* "fieldName2":{"$operator":"value2"}
|
|
2966
|
-
* }`
|
|
2967
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2968
|
-
*/
|
|
2969
|
-
filter?: Record<string, any> | null;
|
|
2970
|
-
/** Category tree reference details. */
|
|
2971
|
-
treeReference?: TreeReference;
|
|
2972
|
-
/** value to set `visible` to. This value will be set for all categories that match the filter */
|
|
2973
|
-
visible?: boolean;
|
|
2974
|
-
}
|
|
2975
|
-
interface BulkUpdateCategoryVisibilityByFilterResponse {
|
|
2976
|
-
/**
|
|
2977
|
-
* Job ID.
|
|
2978
|
-
*
|
|
2979
|
-
* Pass this ID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction) to retrieve job details and metadata..
|
|
2980
|
-
* @format GUID
|
|
2981
|
-
*/
|
|
2982
|
-
jobId?: string;
|
|
2983
|
-
}
|
|
2984
3147
|
interface BulkDeleteCategoriesRequest {
|
|
2985
3148
|
/**
|
|
2986
3149
|
* IDs of categories to be deleted.
|
|
@@ -3004,28 +3167,6 @@ interface BulkDeleteCategoriesResponseBulkCategoriesResult {
|
|
|
3004
3167
|
/** Information about successful action or error for failure. */
|
|
3005
3168
|
itemMetadata?: ItemMetadata;
|
|
3006
3169
|
}
|
|
3007
|
-
interface BulkDeleteCategoriesByFilterRequest {
|
|
3008
|
-
/**
|
|
3009
|
-
* Filter object in the following format:
|
|
3010
|
-
* `"filter" : {
|
|
3011
|
-
* "fieldName1": "value1",
|
|
3012
|
-
* "fieldName2":{"$operator":"value2"}
|
|
3013
|
-
* }`
|
|
3014
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
3015
|
-
*/
|
|
3016
|
-
filter?: Record<string, any> | null;
|
|
3017
|
-
/** Category tree reference details. */
|
|
3018
|
-
treeReference?: TreeReference;
|
|
3019
|
-
}
|
|
3020
|
-
interface BulkDeleteCategoriesByFilterResponse {
|
|
3021
|
-
/**
|
|
3022
|
-
* Job ID.
|
|
3023
|
-
*
|
|
3024
|
-
* Pass this ID to [Get Async Job](https://dev.wix.com/docs/rest/business-management/async-job/introduction) to retrieve job details and metadata..
|
|
3025
|
-
* @format GUID
|
|
3026
|
-
*/
|
|
3027
|
-
jobId?: string;
|
|
3028
|
-
}
|
|
3029
3170
|
interface BulkAddItemsToCategoryRequest {
|
|
3030
3171
|
/**
|
|
3031
3172
|
* Category ID.
|
|
@@ -3487,6 +3628,105 @@ declare enum WebhookIdentityType {
|
|
|
3487
3628
|
}
|
|
3488
3629
|
/** @enumType */
|
|
3489
3630
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
3631
|
+
type CreateCategoryApplicationErrors = {
|
|
3632
|
+
code?: 'NAMESPACE_NOT_FOUND_IN_DEV_CENTER';
|
|
3633
|
+
description?: string;
|
|
3634
|
+
data?: Record<string, any>;
|
|
3635
|
+
} | {
|
|
3636
|
+
code?: 'DUPLICATE_SLUG';
|
|
3637
|
+
description?: string;
|
|
3638
|
+
data?: Record<string, any>;
|
|
3639
|
+
} | {
|
|
3640
|
+
code?: 'CATEGORIES_LIMIT_PER_TREE_EXCEEDED';
|
|
3641
|
+
description?: string;
|
|
3642
|
+
data?: Record<string, any>;
|
|
3643
|
+
} | {
|
|
3644
|
+
code?: 'PARENT_CATEGORY_NOT_IN_TREE';
|
|
3645
|
+
description?: string;
|
|
3646
|
+
data?: Record<string, any>;
|
|
3647
|
+
} | {
|
|
3648
|
+
code?: 'TREES_LIMIT_EXCEEDED';
|
|
3649
|
+
description?: string;
|
|
3650
|
+
data?: Record<string, any>;
|
|
3651
|
+
} | {
|
|
3652
|
+
code?: 'CATEGORY_DEPTH_LIMIT_EXCEEDED';
|
|
3653
|
+
description?: string;
|
|
3654
|
+
data?: Record<string, any>;
|
|
3655
|
+
} | {
|
|
3656
|
+
code?: 'PARENT_CATEGORY_HIDDEN';
|
|
3657
|
+
description?: string;
|
|
3658
|
+
data?: Record<string, any>;
|
|
3659
|
+
};
|
|
3660
|
+
type UpdateCategoryApplicationErrors = {
|
|
3661
|
+
code?: 'DUPLICATE_SLUG';
|
|
3662
|
+
description?: string;
|
|
3663
|
+
data?: Record<string, any>;
|
|
3664
|
+
} | {
|
|
3665
|
+
code?: 'REMOVED_SLUG';
|
|
3666
|
+
description?: string;
|
|
3667
|
+
data?: Record<string, any>;
|
|
3668
|
+
};
|
|
3669
|
+
type DeleteCategoryApplicationErrors = {
|
|
3670
|
+
code?: 'MANAGED_CATEGORY_OPERATION_NOT_ALLOWED';
|
|
3671
|
+
description?: string;
|
|
3672
|
+
data?: Record<string, any>;
|
|
3673
|
+
};
|
|
3674
|
+
type MoveCategoryApplicationErrors = {
|
|
3675
|
+
code?: 'PARENT_CATEGORY_NOT_IN_TREE';
|
|
3676
|
+
description?: string;
|
|
3677
|
+
data?: Record<string, any>;
|
|
3678
|
+
} | {
|
|
3679
|
+
code?: 'CATEGORY_DEPTH_LIMIT_EXCEEDED';
|
|
3680
|
+
description?: string;
|
|
3681
|
+
data?: Record<string, any>;
|
|
3682
|
+
} | {
|
|
3683
|
+
code?: 'TREE_CYCLE_DETECTED';
|
|
3684
|
+
description?: string;
|
|
3685
|
+
data?: Record<string, any>;
|
|
3686
|
+
} | {
|
|
3687
|
+
code?: 'MISSING_AFTER_CATEGORY';
|
|
3688
|
+
description?: string;
|
|
3689
|
+
data?: Record<string, any>;
|
|
3690
|
+
} | {
|
|
3691
|
+
code?: 'AFTER_CATEGORY_NOT_IN_PARENT';
|
|
3692
|
+
description?: string;
|
|
3693
|
+
data?: Record<string, any>;
|
|
3694
|
+
};
|
|
3695
|
+
type BulkUpdateCategoriesApplicationErrors = {
|
|
3696
|
+
code?: 'UPDATE_OF_FIELD_NOT_ALLOWED';
|
|
3697
|
+
description?: string;
|
|
3698
|
+
data?: Record<string, any>;
|
|
3699
|
+
};
|
|
3700
|
+
type UpdateCategoryVisibilityApplicationErrors = {
|
|
3701
|
+
code?: 'PARENT_CATEGORY_HIDDEN';
|
|
3702
|
+
description?: string;
|
|
3703
|
+
data?: Record<string, any>;
|
|
3704
|
+
};
|
|
3705
|
+
type BulkAddItemsToCategoryApplicationErrors = {
|
|
3706
|
+
code?: 'MANAGED_CATEGORY_OPERATION_NOT_ALLOWED';
|
|
3707
|
+
description?: string;
|
|
3708
|
+
data?: Record<string, any>;
|
|
3709
|
+
};
|
|
3710
|
+
type BulkAddItemToCategoriesApplicationErrors = {
|
|
3711
|
+
code?: 'MANAGED_CATEGORY_OPERATION_NOT_ALLOWED';
|
|
3712
|
+
description?: string;
|
|
3713
|
+
data?: Record<string, any>;
|
|
3714
|
+
};
|
|
3715
|
+
type BulkRemoveItemsFromCategoryApplicationErrors = {
|
|
3716
|
+
code?: 'MANAGED_CATEGORY_OPERATION_NOT_ALLOWED';
|
|
3717
|
+
description?: string;
|
|
3718
|
+
data?: Record<string, any>;
|
|
3719
|
+
};
|
|
3720
|
+
type BulkRemoveItemFromCategoriesApplicationErrors = {
|
|
3721
|
+
code?: 'MANAGED_CATEGORY_OPERATION_NOT_ALLOWED';
|
|
3722
|
+
description?: string;
|
|
3723
|
+
data?: Record<string, any>;
|
|
3724
|
+
};
|
|
3725
|
+
type SetArrangedItemsApplicationErrors = {
|
|
3726
|
+
code?: 'ITEM_NOT_IN_CATEGORY';
|
|
3727
|
+
description?: string;
|
|
3728
|
+
data?: Record<string, any>;
|
|
3729
|
+
};
|
|
3490
3730
|
interface BaseEventMetadata {
|
|
3491
3731
|
/**
|
|
3492
3732
|
* App instance ID.
|
|
@@ -3535,29 +3775,245 @@ interface CategoryMovedEnvelope {
|
|
|
3535
3775
|
data: CategoryMoved;
|
|
3536
3776
|
metadata: EventMetadata;
|
|
3537
3777
|
}
|
|
3778
|
+
/**
|
|
3779
|
+
* Triggered when a category is moved.
|
|
3780
|
+
* @permissionScope Manage Stores - all permissions
|
|
3781
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
3782
|
+
* @permissionScope Manage Stores
|
|
3783
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3784
|
+
* @permissionScope Read categories
|
|
3785
|
+
* @permissionScopeId SCOPE.CATEGORIES.CATEGORY_READ
|
|
3786
|
+
* @permissionScope Read v3 catalog
|
|
3787
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
3788
|
+
* @permissionScope Manage Products
|
|
3789
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
3790
|
+
* @permissionScope Read Stores - all read permissions
|
|
3791
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
3792
|
+
* @permissionScope Read Products
|
|
3793
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
3794
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
3795
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
3796
|
+
* @permissionScope Manage v3 catalog
|
|
3797
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
3798
|
+
* @permissionScope Manage Orders
|
|
3799
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
3800
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
3801
|
+
* @webhook
|
|
3802
|
+
* @eventType wix.categories.v1.category_category_moved
|
|
3803
|
+
* @slug category_moved
|
|
3804
|
+
* @documentationMaturity preview
|
|
3805
|
+
*/
|
|
3806
|
+
declare function onCategoryMoved(handler: (event: CategoryMovedEnvelope) => void | Promise<void>): void;
|
|
3538
3807
|
interface CategoryCreatedEnvelope {
|
|
3539
3808
|
entity: Category;
|
|
3540
3809
|
metadata: EventMetadata;
|
|
3541
3810
|
}
|
|
3811
|
+
/** @permissionScope Manage Stores - all permissions
|
|
3812
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
3813
|
+
* @permissionScope Manage Stores
|
|
3814
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3815
|
+
* @permissionScope Read categories
|
|
3816
|
+
* @permissionScopeId SCOPE.CATEGORIES.CATEGORY_READ
|
|
3817
|
+
* @permissionScope Read v3 catalog
|
|
3818
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
3819
|
+
* @permissionScope Manage Products
|
|
3820
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
3821
|
+
* @permissionScope Read Stores - all read permissions
|
|
3822
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
3823
|
+
* @permissionScope Read Products
|
|
3824
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
3825
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
3826
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
3827
|
+
* @permissionScope Manage v3 catalog
|
|
3828
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
3829
|
+
* @permissionScope Manage Orders
|
|
3830
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
3831
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
3832
|
+
* @webhook
|
|
3833
|
+
* @eventType wix.categories.v1.category_created
|
|
3834
|
+
* @slug created
|
|
3835
|
+
* @documentationMaturity preview
|
|
3836
|
+
*/
|
|
3837
|
+
declare function onCategoryCreated(handler: (event: CategoryCreatedEnvelope) => void | Promise<void>): void;
|
|
3542
3838
|
interface CategoryDeletedEnvelope {
|
|
3543
3839
|
metadata: EventMetadata;
|
|
3544
3840
|
}
|
|
3841
|
+
/** @permissionScope Manage Stores - all permissions
|
|
3842
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
3843
|
+
* @permissionScope Manage Stores
|
|
3844
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3845
|
+
* @permissionScope Read categories
|
|
3846
|
+
* @permissionScopeId SCOPE.CATEGORIES.CATEGORY_READ
|
|
3847
|
+
* @permissionScope Read v3 catalog
|
|
3848
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
3849
|
+
* @permissionScope Manage Products
|
|
3850
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
3851
|
+
* @permissionScope Read Stores - all read permissions
|
|
3852
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
3853
|
+
* @permissionScope Read Products
|
|
3854
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
3855
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
3856
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
3857
|
+
* @permissionScope Manage v3 catalog
|
|
3858
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
3859
|
+
* @permissionScope Manage Orders
|
|
3860
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
3861
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
3862
|
+
* @webhook
|
|
3863
|
+
* @eventType wix.categories.v1.category_deleted
|
|
3864
|
+
* @slug deleted
|
|
3865
|
+
* @documentationMaturity preview
|
|
3866
|
+
*/
|
|
3867
|
+
declare function onCategoryDeleted(handler: (event: CategoryDeletedEnvelope) => void | Promise<void>): void;
|
|
3545
3868
|
interface CategoryItemAddedToCategoryEnvelope {
|
|
3546
3869
|
data: ItemAddedToCategory;
|
|
3547
3870
|
metadata: EventMetadata;
|
|
3548
3871
|
}
|
|
3872
|
+
/**
|
|
3873
|
+
* Triggered when an item is added to a category.
|
|
3874
|
+
* @permissionScope Manage Stores - all permissions
|
|
3875
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
3876
|
+
* @permissionScope Manage Stores
|
|
3877
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3878
|
+
* @permissionScope Read categories
|
|
3879
|
+
* @permissionScopeId SCOPE.CATEGORIES.CATEGORY_READ
|
|
3880
|
+
* @permissionScope Read v3 catalog
|
|
3881
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
3882
|
+
* @permissionScope Manage Products
|
|
3883
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
3884
|
+
* @permissionScope Read Stores - all read permissions
|
|
3885
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
3886
|
+
* @permissionScope Read Products
|
|
3887
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
3888
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
3889
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
3890
|
+
* @permissionScope Manage v3 catalog
|
|
3891
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
3892
|
+
* @permissionScope Manage Orders
|
|
3893
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
3894
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
3895
|
+
* @webhook
|
|
3896
|
+
* @eventType wix.categories.v1.category_item_added_to_category
|
|
3897
|
+
* @slug item_added_to_category
|
|
3898
|
+
* @documentationMaturity preview
|
|
3899
|
+
*/
|
|
3900
|
+
declare function onCategoryItemAddedToCategory(handler: (event: CategoryItemAddedToCategoryEnvelope) => void | Promise<void>): void;
|
|
3549
3901
|
interface CategoryItemRemovedFromCategoryEnvelope {
|
|
3550
3902
|
data: ItemRemovedFromCategory;
|
|
3551
3903
|
metadata: EventMetadata;
|
|
3552
3904
|
}
|
|
3905
|
+
/**
|
|
3906
|
+
* Triggered when an item is removed from a category.
|
|
3907
|
+
* @permissionScope Manage Stores - all permissions
|
|
3908
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
3909
|
+
* @permissionScope Manage Stores
|
|
3910
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3911
|
+
* @permissionScope Read categories
|
|
3912
|
+
* @permissionScopeId SCOPE.CATEGORIES.CATEGORY_READ
|
|
3913
|
+
* @permissionScope Read v3 catalog
|
|
3914
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
3915
|
+
* @permissionScope Manage Products
|
|
3916
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
3917
|
+
* @permissionScope Read Stores - all read permissions
|
|
3918
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
3919
|
+
* @permissionScope Read Products
|
|
3920
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
3921
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
3922
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
3923
|
+
* @permissionScope Manage v3 catalog
|
|
3924
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
3925
|
+
* @permissionScope Manage Orders
|
|
3926
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
3927
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
3928
|
+
* @webhook
|
|
3929
|
+
* @eventType wix.categories.v1.category_item_removed_from_category
|
|
3930
|
+
* @slug item_removed_from_category
|
|
3931
|
+
* @documentationMaturity preview
|
|
3932
|
+
*/
|
|
3933
|
+
declare function onCategoryItemRemovedFromCategory(handler: (event: CategoryItemRemovedFromCategoryEnvelope) => void | Promise<void>): void;
|
|
3553
3934
|
interface CategoryItemsArrangedInCategoryEnvelope {
|
|
3554
3935
|
data: ItemsArrangedInCategory;
|
|
3555
3936
|
metadata: EventMetadata;
|
|
3556
3937
|
}
|
|
3938
|
+
/**
|
|
3939
|
+
* Triggered when items arrangement in category is changed.
|
|
3940
|
+
* @permissionScope Manage Stores - all permissions
|
|
3941
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
3942
|
+
* @permissionScope Manage Stores
|
|
3943
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3944
|
+
* @permissionScope Read categories
|
|
3945
|
+
* @permissionScopeId SCOPE.CATEGORIES.CATEGORY_READ
|
|
3946
|
+
* @permissionScope Read v3 catalog
|
|
3947
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
3948
|
+
* @permissionScope Manage Products
|
|
3949
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
3950
|
+
* @permissionScope Read Stores - all read permissions
|
|
3951
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
3952
|
+
* @permissionScope Read Products
|
|
3953
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
3954
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
3955
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
3956
|
+
* @permissionScope Manage v3 catalog
|
|
3957
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
3958
|
+
* @permissionScope Manage Orders
|
|
3959
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
3960
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
3961
|
+
* @webhook
|
|
3962
|
+
* @eventType wix.categories.v1.category_items_arranged_in_category
|
|
3963
|
+
* @slug items_arranged_in_category
|
|
3964
|
+
* @documentationMaturity preview
|
|
3965
|
+
*/
|
|
3966
|
+
declare function onCategoryItemsArrangedInCategory(handler: (event: CategoryItemsArrangedInCategoryEnvelope) => void | Promise<void>): void;
|
|
3557
3967
|
interface CategoryUpdatedEnvelope {
|
|
3558
3968
|
entity: Category;
|
|
3559
3969
|
metadata: EventMetadata;
|
|
3560
3970
|
}
|
|
3971
|
+
/** @permissionScope Manage Stores - all permissions
|
|
3972
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
3973
|
+
* @permissionScope Manage Stores
|
|
3974
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3975
|
+
* @permissionScope Read categories
|
|
3976
|
+
* @permissionScopeId SCOPE.CATEGORIES.CATEGORY_READ
|
|
3977
|
+
* @permissionScope Read v3 catalog
|
|
3978
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_READ
|
|
3979
|
+
* @permissionScope Manage Products
|
|
3980
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
3981
|
+
* @permissionScope Read Stores - all read permissions
|
|
3982
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
3983
|
+
* @permissionScope Read Products
|
|
3984
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
3985
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
3986
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
3987
|
+
* @permissionScope Manage v3 catalog
|
|
3988
|
+
* @permissionScopeId SCOPE.STORES.CATALOG_WRITE
|
|
3989
|
+
* @permissionScope Manage Orders
|
|
3990
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
3991
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
3992
|
+
* @webhook
|
|
3993
|
+
* @eventType wix.categories.v1.category_updated
|
|
3994
|
+
* @slug updated
|
|
3995
|
+
* @documentationMaturity preview
|
|
3996
|
+
*/
|
|
3997
|
+
declare function onCategoryUpdated(handler: (event: CategoryUpdatedEnvelope) => void | Promise<void>): void;
|
|
3998
|
+
type CategoryNonNullablePaths = `itemCounter` | `breadcrumbsInfo.breadcrumbs` | `breadcrumbsInfo.breadcrumbs.${number}.categoryId` | `breadcrumbsInfo.breadcrumbs.${number}.categoryName` | `breadcrumbsInfo.breadcrumbs.${number}.categorySlug`;
|
|
3999
|
+
/**
|
|
4000
|
+
* Creates a category.
|
|
4001
|
+
* @param category - Category to create.
|
|
4002
|
+
* @public
|
|
4003
|
+
* @documentationMaturity preview
|
|
4004
|
+
* @requiredField category
|
|
4005
|
+
* @requiredField category.name
|
|
4006
|
+
* @requiredField category.parentCategory._id
|
|
4007
|
+
* @requiredField options.treeReference
|
|
4008
|
+
* @requiredField options.treeReference.appNamespace
|
|
4009
|
+
* @permissionId CATEGORIES.CATEGORY_CREATE
|
|
4010
|
+
* @applicableIdentity APP
|
|
4011
|
+
* @returns Created category.
|
|
4012
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.CreateCategory
|
|
4013
|
+
*/
|
|
4014
|
+
declare function createCategory(category: NonNullablePaths<Category, `name` | `parentCategory._id`>, options?: NonNullablePaths<CreateCategoryOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<Category, CategoryNonNullablePaths> & {
|
|
4015
|
+
__applicationErrorsType?: CreateCategoryApplicationErrors;
|
|
4016
|
+
}>;
|
|
3561
4017
|
interface CreateCategoryOptions {
|
|
3562
4018
|
/** Category tree reference details. */
|
|
3563
4019
|
treeReference: TreeReference;
|
|
@@ -3567,6 +4023,22 @@ interface CreateCategoryOptions {
|
|
|
3567
4023
|
*/
|
|
3568
4024
|
fields?: SingleEntityOpsRequestedFieldsWithLiterals[];
|
|
3569
4025
|
}
|
|
4026
|
+
/**
|
|
4027
|
+
* Retrieves a category.
|
|
4028
|
+
* @param categoryId - Category ID.
|
|
4029
|
+
* @param treeReference - Category tree reference details.
|
|
4030
|
+
* @public
|
|
4031
|
+
* @documentationMaturity preview
|
|
4032
|
+
* @requiredField categoryId
|
|
4033
|
+
* @requiredField treeReference
|
|
4034
|
+
* @requiredField treeReference.appNamespace
|
|
4035
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4036
|
+
* @applicableIdentity APP
|
|
4037
|
+
* @applicableIdentity VISITOR
|
|
4038
|
+
* @returns Category.
|
|
4039
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.GetCategory
|
|
4040
|
+
*/
|
|
4041
|
+
declare function getCategory(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`>, options?: GetCategoryOptions): Promise<NonNullablePaths<Category, CategoryNonNullablePaths>>;
|
|
3570
4042
|
interface GetCategoryOptions {
|
|
3571
4043
|
/**
|
|
3572
4044
|
* Fields to include in the response.
|
|
@@ -3574,6 +4046,28 @@ interface GetCategoryOptions {
|
|
|
3574
4046
|
*/
|
|
3575
4047
|
fields?: SingleEntityOpsRequestedFieldsWithLiterals[];
|
|
3576
4048
|
}
|
|
4049
|
+
/**
|
|
4050
|
+
* Updates a category.
|
|
4051
|
+
*
|
|
4052
|
+
* Each time the category is updated, `revision` increments by 1.
|
|
4053
|
+
* The current `revision` must be passed when updating the category.
|
|
4054
|
+
* This ensures you're working with the latest category and prevents unintended overwrites.
|
|
4055
|
+
* @param _id - Category ID.
|
|
4056
|
+
* @public
|
|
4057
|
+
* @documentationMaturity preview
|
|
4058
|
+
* @requiredField _id
|
|
4059
|
+
* @requiredField category
|
|
4060
|
+
* @requiredField category.revision
|
|
4061
|
+
* @requiredField options.treeReference
|
|
4062
|
+
* @requiredField options.treeReference.appNamespace
|
|
4063
|
+
* @permissionId CATEGORIES.CATEGORY_UPDATE
|
|
4064
|
+
* @applicableIdentity APP
|
|
4065
|
+
* @returns Updated category.
|
|
4066
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.UpdateCategory
|
|
4067
|
+
*/
|
|
4068
|
+
declare function updateCategory(_id: string, category: NonNullablePaths<UpdateCategory, `revision`>, options?: NonNullablePaths<UpdateCategoryOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<Category, CategoryNonNullablePaths> & {
|
|
4069
|
+
__applicationErrorsType?: UpdateCategoryApplicationErrors;
|
|
4070
|
+
}>;
|
|
3577
4071
|
interface UpdateCategory {
|
|
3578
4072
|
/**
|
|
3579
4073
|
* Category ID.
|
|
@@ -3685,6 +4179,40 @@ interface UpdateCategoryOptions {
|
|
|
3685
4179
|
*/
|
|
3686
4180
|
fields?: SingleEntityOpsRequestedFieldsWithLiterals[];
|
|
3687
4181
|
}
|
|
4182
|
+
/**
|
|
4183
|
+
* Deletes a category.
|
|
4184
|
+
* @param categoryId - Category ID.
|
|
4185
|
+
* @param treeReference - Category tree reference details.
|
|
4186
|
+
* @public
|
|
4187
|
+
* @documentationMaturity preview
|
|
4188
|
+
* @requiredField categoryId
|
|
4189
|
+
* @requiredField treeReference
|
|
4190
|
+
* @requiredField treeReference.appNamespace
|
|
4191
|
+
* @permissionId CATEGORIES.CATEGORY_DELETE
|
|
4192
|
+
* @applicableIdentity APP
|
|
4193
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.DeleteCategory
|
|
4194
|
+
*/
|
|
4195
|
+
declare function deleteCategory(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`>): Promise<void & {
|
|
4196
|
+
__applicationErrorsType?: DeleteCategoryApplicationErrors;
|
|
4197
|
+
}>;
|
|
4198
|
+
/**
|
|
4199
|
+
* Retrieves a list of up to 1,000 categories, given the provided filtering, sorting, and cursor paging.
|
|
4200
|
+
* Pass supported values to the `fields` array in the request to include those fields in the response.
|
|
4201
|
+
*
|
|
4202
|
+
* For field support for filters and sorting,
|
|
4203
|
+
* see [Categories: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/categories/supported-filters-and-sorting).
|
|
4204
|
+
*
|
|
4205
|
+
* To learn about working with _Query_ endpoints, see
|
|
4206
|
+
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language),
|
|
4207
|
+
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
4208
|
+
* @public
|
|
4209
|
+
* @documentationMaturity preview
|
|
4210
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4211
|
+
* @applicableIdentity APP
|
|
4212
|
+
* @applicableIdentity VISITOR
|
|
4213
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.QueryCategories
|
|
4214
|
+
*/
|
|
4215
|
+
declare function queryCategories(options: QueryCategoriesOptions): CategoriesQueryBuilder;
|
|
3688
4216
|
interface QueryCategoriesOptions {
|
|
3689
4217
|
/** Category tree reference details. */
|
|
3690
4218
|
treeReference: TreeReference;
|
|
@@ -3778,8 +4306,6 @@ interface CategoriesQueryBuilder {
|
|
|
3778
4306
|
find: () => Promise<CategoriesQueryResult>;
|
|
3779
4307
|
}
|
|
3780
4308
|
interface SearchCategoriesOptions {
|
|
3781
|
-
/** Search options. */
|
|
3782
|
-
search?: CursorSearch;
|
|
3783
4309
|
/**
|
|
3784
4310
|
* Category tree reference details.
|
|
3785
4311
|
* > **Note:** Pass `treeReference` only in the first request. Pass the cursor token in subsequent requests.
|
|
@@ -3797,6 +4323,181 @@ interface SearchCategoriesOptions {
|
|
|
3797
4323
|
*/
|
|
3798
4324
|
fields?: RequestedFieldsWithLiterals[];
|
|
3799
4325
|
}
|
|
4326
|
+
interface CategorySearchSpec extends SearchSpec {
|
|
4327
|
+
searchable: ['description', 'name'];
|
|
4328
|
+
aggregatable: [
|
|
4329
|
+
'_createdDate',
|
|
4330
|
+
'_id',
|
|
4331
|
+
'_updatedDate',
|
|
4332
|
+
'managingAppId',
|
|
4333
|
+
'name',
|
|
4334
|
+
'parentCategory._id',
|
|
4335
|
+
'parentCategory.index',
|
|
4336
|
+
'slug',
|
|
4337
|
+
'treeReference.appNamespace',
|
|
4338
|
+
'treeReference.treeKey',
|
|
4339
|
+
'visible'
|
|
4340
|
+
];
|
|
4341
|
+
paging: 'cursor';
|
|
4342
|
+
wql: [
|
|
4343
|
+
{
|
|
4344
|
+
operators: '*';
|
|
4345
|
+
fields: [
|
|
4346
|
+
'_id',
|
|
4347
|
+
'slug',
|
|
4348
|
+
'treeReference.appNamespace',
|
|
4349
|
+
'treeReference.treeKey',
|
|
4350
|
+
'visible'
|
|
4351
|
+
];
|
|
4352
|
+
sort: 'NONE';
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
operators: '*';
|
|
4356
|
+
fields: [
|
|
4357
|
+
'_createdDate',
|
|
4358
|
+
'_updatedDate',
|
|
4359
|
+
'managingAppId',
|
|
4360
|
+
'name',
|
|
4361
|
+
'parentCategory._id',
|
|
4362
|
+
'parentCategory.index'
|
|
4363
|
+
];
|
|
4364
|
+
sort: 'BOTH';
|
|
4365
|
+
}
|
|
4366
|
+
];
|
|
4367
|
+
}
|
|
4368
|
+
type CommonSearchWithEntityContext = Search<Category, CategorySearchSpec>;
|
|
4369
|
+
type CategorySearch = {
|
|
4370
|
+
/**
|
|
4371
|
+
Cursor pointing to page of results.
|
|
4372
|
+
When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.
|
|
4373
|
+
*/
|
|
4374
|
+
cursorPaging?: {
|
|
4375
|
+
/**
|
|
4376
|
+
Maximum number of items to return in the results.
|
|
4377
|
+
@max: 1000
|
|
4378
|
+
*/
|
|
4379
|
+
limit?: NonNullable<CommonSearchWithEntityContext['cursorPaging']>['limit'] | null;
|
|
4380
|
+
/**
|
|
4381
|
+
Pointer to the next or previous page in the list of results.
|
|
4382
|
+
|
|
4383
|
+
Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
4384
|
+
Not relevant for the first request.
|
|
4385
|
+
@maxLength: 16000
|
|
4386
|
+
*/
|
|
4387
|
+
cursor?: NonNullable<CommonSearchWithEntityContext['cursorPaging']>['cursor'] | null;
|
|
4388
|
+
};
|
|
4389
|
+
/**
|
|
4390
|
+
A filter object. Learn more about [API query language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
|
|
4391
|
+
*/
|
|
4392
|
+
filter?: CommonSearchWithEntityContext['filter'] | null;
|
|
4393
|
+
/**
|
|
4394
|
+
Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
|
|
4395
|
+
@maxSize: 10
|
|
4396
|
+
*/
|
|
4397
|
+
sort?: {
|
|
4398
|
+
/**
|
|
4399
|
+
Name of the field to sort by.
|
|
4400
|
+
@maxLength: 512
|
|
4401
|
+
*/
|
|
4402
|
+
fieldName?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['fieldName'];
|
|
4403
|
+
/**
|
|
4404
|
+
Sort order.
|
|
4405
|
+
*/
|
|
4406
|
+
order?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['order'];
|
|
4407
|
+
}[];
|
|
4408
|
+
/**
|
|
4409
|
+
Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
|
|
4410
|
+
@maxSize: 10
|
|
4411
|
+
*/
|
|
4412
|
+
aggregations?: {
|
|
4413
|
+
/**
|
|
4414
|
+
Value aggregation
|
|
4415
|
+
*/
|
|
4416
|
+
value?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['value'];
|
|
4417
|
+
/**
|
|
4418
|
+
Range aggregation
|
|
4419
|
+
*/
|
|
4420
|
+
range?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['range'];
|
|
4421
|
+
/**
|
|
4422
|
+
Scalar aggregation
|
|
4423
|
+
*/
|
|
4424
|
+
scalar?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['scalar'];
|
|
4425
|
+
/**
|
|
4426
|
+
Date histogram aggregation
|
|
4427
|
+
*/
|
|
4428
|
+
dateHistogram?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['dateHistogram'];
|
|
4429
|
+
/**
|
|
4430
|
+
Nested aggregation
|
|
4431
|
+
*/
|
|
4432
|
+
nested?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['nested'];
|
|
4433
|
+
/**
|
|
4434
|
+
User-defined name of aggregation, should be unique, will appear in aggregation results
|
|
4435
|
+
@maxLength: 100
|
|
4436
|
+
*/
|
|
4437
|
+
name?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['name'] | null;
|
|
4438
|
+
/**
|
|
4439
|
+
Type of aggregation, client must provide matching aggregation field below
|
|
4440
|
+
*/
|
|
4441
|
+
type?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['type'];
|
|
4442
|
+
/**
|
|
4443
|
+
Field to aggregate by, use dot notation to specify json path
|
|
4444
|
+
@maxLength: 200
|
|
4445
|
+
*/
|
|
4446
|
+
fieldPath?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['fieldPath'];
|
|
4447
|
+
}[];
|
|
4448
|
+
/**
|
|
4449
|
+
Free text to match in searchable fields
|
|
4450
|
+
*/
|
|
4451
|
+
search?: {
|
|
4452
|
+
/**
|
|
4453
|
+
Defines how separate search terms in `expression` are combined.
|
|
4454
|
+
*/
|
|
4455
|
+
mode?: NonNullable<CommonSearchWithEntityContext['search']>['mode'];
|
|
4456
|
+
/**
|
|
4457
|
+
Search term or expression.
|
|
4458
|
+
@maxLength: 100
|
|
4459
|
+
*/
|
|
4460
|
+
expression?: NonNullable<CommonSearchWithEntityContext['search']>['expression'] | null;
|
|
4461
|
+
/**
|
|
4462
|
+
Fields in which to search for the `expression`. Use dot notation to specify field path.
|
|
4463
|
+
|
|
4464
|
+
When empty - all searchable fields are looked at.
|
|
4465
|
+
@maxLength: 200,
|
|
4466
|
+
@maxSize: 20
|
|
4467
|
+
*/
|
|
4468
|
+
fields?: NonNullable<CommonSearchWithEntityContext['search']>['fields'];
|
|
4469
|
+
/**
|
|
4470
|
+
Whether to use fuzzy search - allowing typos and other minor errors in the search.
|
|
4471
|
+
*/
|
|
4472
|
+
fuzzy?: NonNullable<CommonSearchWithEntityContext['search']>['fuzzy'];
|
|
4473
|
+
};
|
|
4474
|
+
/**
|
|
4475
|
+
UTC offset or IANA time zone. Valid values are
|
|
4476
|
+
ISO 8601 UTC offsets, such as +02:00 or -06:00,
|
|
4477
|
+
and IANA time zone IDs, such as Europe/Rome
|
|
4478
|
+
|
|
4479
|
+
Affects all filters and aggregations returned values.
|
|
4480
|
+
You may override this behavior in a specific filter by providing
|
|
4481
|
+
timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
|
|
4482
|
+
@maxLength: 50
|
|
4483
|
+
*/
|
|
4484
|
+
timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
|
|
4485
|
+
};
|
|
4486
|
+
/**
|
|
4487
|
+
* Counts the number of categories that match the provided filtering.
|
|
4488
|
+
*
|
|
4489
|
+
* For field support for filters and sorting,
|
|
4490
|
+
* see [Categories: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/categories/supported-filters-and-sorting).
|
|
4491
|
+
* @public
|
|
4492
|
+
* @documentationMaturity preview
|
|
4493
|
+
* @requiredField options.treeReference
|
|
4494
|
+
* @requiredField options.treeReference.appNamespace
|
|
4495
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4496
|
+
* @applicableIdentity APP
|
|
4497
|
+
* @applicableIdentity VISITOR
|
|
4498
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.CountCategories
|
|
4499
|
+
*/
|
|
4500
|
+
declare function countCategories(options?: NonNullablePaths<CountCategoriesOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<CountCategoriesResponse, `count`>>;
|
|
3800
4501
|
interface CountCategoriesOptions {
|
|
3801
4502
|
/**
|
|
3802
4503
|
* Filter object.
|
|
@@ -3815,6 +4516,23 @@ interface CountCategoriesOptions {
|
|
|
3815
4516
|
*/
|
|
3816
4517
|
returnNonVisibleCategories?: boolean;
|
|
3817
4518
|
}
|
|
4519
|
+
/**
|
|
4520
|
+
* Moves a category within its parent category, or to a different parent category.
|
|
4521
|
+
* @param categoryId - ID of the category to move.
|
|
4522
|
+
* @param treeReference - Category tree reference details.
|
|
4523
|
+
* @public
|
|
4524
|
+
* @documentationMaturity preview
|
|
4525
|
+
* @requiredField categoryId
|
|
4526
|
+
* @requiredField options.position
|
|
4527
|
+
* @requiredField treeReference
|
|
4528
|
+
* @requiredField treeReference.appNamespace
|
|
4529
|
+
* @permissionId CATEGORIES.CATEGORY_MOVE
|
|
4530
|
+
* @applicableIdentity APP
|
|
4531
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.MoveCategory
|
|
4532
|
+
*/
|
|
4533
|
+
declare function moveCategory(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`>, options?: NonNullablePaths<MoveCategoryOptions, `position`>): Promise<NonNullablePaths<MoveCategoryResponse, `categoriesAfterMove`> & {
|
|
4534
|
+
__applicationErrorsType?: MoveCategoryApplicationErrors;
|
|
4535
|
+
}>;
|
|
3818
4536
|
interface MoveCategoryOptions {
|
|
3819
4537
|
/**
|
|
3820
4538
|
* Parent category ID.
|
|
@@ -3837,6 +4555,30 @@ interface MoveCategoryOptions {
|
|
|
3837
4555
|
*/
|
|
3838
4556
|
moveAfterCategoryId?: string | null;
|
|
3839
4557
|
}
|
|
4558
|
+
/**
|
|
4559
|
+
* Updates multiple categories.
|
|
4560
|
+
*
|
|
4561
|
+
* Each time a category is updated, `revision` increments by 1.
|
|
4562
|
+
* The current `revision` must be passed when updating a category.
|
|
4563
|
+
* This ensures you're working with the latest category and prevents unintended overwrites.
|
|
4564
|
+
* @param categories - List of categories to update.
|
|
4565
|
+
* @public
|
|
4566
|
+
* @documentationMaturity preview
|
|
4567
|
+
* @requiredField categories
|
|
4568
|
+
* @requiredField categories.category
|
|
4569
|
+
* @requiredField categories.category._id
|
|
4570
|
+
* @requiredField categories.category.revision
|
|
4571
|
+
* @requiredField options.treeReference
|
|
4572
|
+
* @requiredField options.treeReference.appNamespace
|
|
4573
|
+
* @permissionId CATEGORIES.CATEGORY_UPDATE
|
|
4574
|
+
* @applicableIdentity APP
|
|
4575
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.BulkUpdateCategories
|
|
4576
|
+
*/
|
|
4577
|
+
declare function bulkUpdateCategories(categories: NonNullablePaths<MaskedCategory, `category` | `category._id` | `category.revision`>[], options?: NonNullablePaths<BulkUpdateCategoriesOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<BulkUpdateCategoriesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
4578
|
+
[P in CategoryNonNullablePaths]: `results.${number}.category.${P}`;
|
|
4579
|
+
}[CategoryNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
4580
|
+
__applicationErrorsType?: BulkUpdateCategoriesApplicationErrors;
|
|
4581
|
+
}>;
|
|
3840
4582
|
interface BulkUpdateCategoriesOptions {
|
|
3841
4583
|
/** Category tree reference details. */
|
|
3842
4584
|
treeReference: TreeReference;
|
|
@@ -3852,6 +4594,30 @@ interface BulkUpdateCategoriesOptions {
|
|
|
3852
4594
|
*/
|
|
3853
4595
|
fields?: RequestedFieldsWithLiterals[];
|
|
3854
4596
|
}
|
|
4597
|
+
/**
|
|
4598
|
+
* Updates category visibility.
|
|
4599
|
+
*
|
|
4600
|
+
*
|
|
4601
|
+
* Each time a category is updated, `revision` increments by 1.
|
|
4602
|
+
* The current `revision` must be passed when updating a category.
|
|
4603
|
+
* This ensures you're working with the latest category and prevents unintended overwrites.
|
|
4604
|
+
* @param categoryId - Category ID.
|
|
4605
|
+
* @public
|
|
4606
|
+
* @documentationMaturity preview
|
|
4607
|
+
* @requiredField categoryId
|
|
4608
|
+
* @requiredField options.revision
|
|
4609
|
+
* @requiredField options.treeReference
|
|
4610
|
+
* @requiredField options.treeReference.appNamespace
|
|
4611
|
+
* @requiredField options.visible
|
|
4612
|
+
* @permissionId CATEGORIES.CATEGORY_UPDATE
|
|
4613
|
+
* @applicableIdentity APP
|
|
4614
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.UpdateCategoryVisibility
|
|
4615
|
+
*/
|
|
4616
|
+
declare function updateCategoryVisibility(categoryId: string, options?: NonNullablePaths<UpdateCategoryVisibilityOptions, `revision` | `treeReference` | `treeReference.appNamespace` | `visible`>): Promise<NonNullablePaths<UpdateCategoryVisibilityResponse, {
|
|
4617
|
+
[P in CategoryNonNullablePaths]: `category.${P}`;
|
|
4618
|
+
}[CategoryNonNullablePaths]> & {
|
|
4619
|
+
__applicationErrorsType?: UpdateCategoryVisibilityApplicationErrors;
|
|
4620
|
+
}>;
|
|
3855
4621
|
interface UpdateCategoryVisibilityOptions {
|
|
3856
4622
|
/**
|
|
3857
4623
|
* Whether the category is visible to site visitors in dynamic pages.
|
|
@@ -3873,6 +4639,24 @@ interface UpdateCategoryVisibilityOptions {
|
|
|
3873
4639
|
*/
|
|
3874
4640
|
fields?: SingleEntityOpsRequestedFieldsWithLiterals[];
|
|
3875
4641
|
}
|
|
4642
|
+
/**
|
|
4643
|
+
* Updates the visibility of multiple categories so that they are visible to site visitors in dynamic pages.
|
|
4644
|
+
*
|
|
4645
|
+
* Calling this method sets each category's `visible` field to `true`.
|
|
4646
|
+
* > **Note:** If one of the passed categories has a parent category that is not visible, the passed category will not be updated.
|
|
4647
|
+
* @param categoryIds - IDs of the categories to update.
|
|
4648
|
+
* @public
|
|
4649
|
+
* @documentationMaturity preview
|
|
4650
|
+
* @requiredField categoryIds
|
|
4651
|
+
* @requiredField options.treeReference
|
|
4652
|
+
* @requiredField options.treeReference.appNamespace
|
|
4653
|
+
* @permissionId CATEGORIES.CATEGORY_UPDATE
|
|
4654
|
+
* @applicableIdentity APP
|
|
4655
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.BulkShowCategories
|
|
4656
|
+
*/
|
|
4657
|
+
declare function bulkShowCategories(categoryIds: string[], options?: NonNullablePaths<BulkShowCategoriesOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<BulkShowCategoriesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
4658
|
+
[P in CategoryNonNullablePaths]: `results.${number}.category.${P}`;
|
|
4659
|
+
}[CategoryNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
3876
4660
|
interface BulkShowCategoriesOptions {
|
|
3877
4661
|
/** Category tree reference details. */
|
|
3878
4662
|
treeReference: TreeReference;
|
|
@@ -3888,10 +4672,49 @@ interface BulkShowCategoriesOptions {
|
|
|
3888
4672
|
*/
|
|
3889
4673
|
fields?: RequestedFieldsWithLiterals[];
|
|
3890
4674
|
}
|
|
4675
|
+
/**
|
|
4676
|
+
* Adds multiple items to a single category.
|
|
4677
|
+
* @param categoryId - Category ID.
|
|
4678
|
+
* @param items - List of items to add.
|
|
4679
|
+
* @public
|
|
4680
|
+
* @documentationMaturity preview
|
|
4681
|
+
* @requiredField categoryId
|
|
4682
|
+
* @requiredField items
|
|
4683
|
+
* @requiredField items.appId
|
|
4684
|
+
* @requiredField items.catalogItemId
|
|
4685
|
+
* @requiredField options
|
|
4686
|
+
* @requiredField options.treeReference
|
|
4687
|
+
* @requiredField options.treeReference.appNamespace
|
|
4688
|
+
* @permissionId CATEGORIES.CATEGORY_ADD_ITEM
|
|
4689
|
+
* @applicableIdentity APP
|
|
4690
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.BulkAddItemsToCategory
|
|
4691
|
+
*/
|
|
4692
|
+
declare function bulkAddItemsToCategory(categoryId: string, items: NonNullablePaths<ItemReference, `appId` | `catalogItemId`>[], options: NonNullablePaths<BulkAddItemsToCategoryOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<BulkAddItemsToCategoryResponse, `results` | `results.${number}.itemMetadata.item.catalogItemId` | `results.${number}.itemMetadata.item.appId` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
4693
|
+
__applicationErrorsType?: BulkAddItemsToCategoryApplicationErrors;
|
|
4694
|
+
}>;
|
|
3891
4695
|
interface BulkAddItemsToCategoryOptions {
|
|
3892
4696
|
/** Category tree reference details. */
|
|
3893
4697
|
treeReference: TreeReference;
|
|
3894
4698
|
}
|
|
4699
|
+
/**
|
|
4700
|
+
* Adds a single item to multiple categories.
|
|
4701
|
+
* @param item - Item to add.
|
|
4702
|
+
* @public
|
|
4703
|
+
* @documentationMaturity preview
|
|
4704
|
+
* @requiredField item
|
|
4705
|
+
* @requiredField item.appId
|
|
4706
|
+
* @requiredField item.catalogItemId
|
|
4707
|
+
* @requiredField options
|
|
4708
|
+
* @requiredField options.categoryIds
|
|
4709
|
+
* @requiredField options.treeReference
|
|
4710
|
+
* @requiredField options.treeReference.appNamespace
|
|
4711
|
+
* @permissionId CATEGORIES.CATEGORY_ADD_ITEM
|
|
4712
|
+
* @applicableIdentity APP
|
|
4713
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.BulkAddItemToCategories
|
|
4714
|
+
*/
|
|
4715
|
+
declare function bulkAddItemToCategories(item: NonNullablePaths<ItemReference, `appId` | `catalogItemId`>, options: NonNullablePaths<BulkAddItemToCategoriesOptions, `categoryIds` | `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<BulkAddItemToCategoriesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
4716
|
+
__applicationErrorsType?: BulkAddItemToCategoriesApplicationErrors;
|
|
4717
|
+
}>;
|
|
3895
4718
|
interface BulkAddItemToCategoriesOptions {
|
|
3896
4719
|
/**
|
|
3897
4720
|
* IDs of categories to which to add the item.
|
|
@@ -3903,10 +4726,49 @@ interface BulkAddItemToCategoriesOptions {
|
|
|
3903
4726
|
/** Category tree reference details. */
|
|
3904
4727
|
treeReference: TreeReference;
|
|
3905
4728
|
}
|
|
4729
|
+
/**
|
|
4730
|
+
* Removes multiple items from a single category.
|
|
4731
|
+
* @param categoryId - Category ID.
|
|
4732
|
+
* @param items - List of items to remove.
|
|
4733
|
+
* @public
|
|
4734
|
+
* @documentationMaturity preview
|
|
4735
|
+
* @requiredField categoryId
|
|
4736
|
+
* @requiredField items
|
|
4737
|
+
* @requiredField items.appId
|
|
4738
|
+
* @requiredField items.catalogItemId
|
|
4739
|
+
* @requiredField options
|
|
4740
|
+
* @requiredField options.treeReference
|
|
4741
|
+
* @requiredField options.treeReference.appNamespace
|
|
4742
|
+
* @permissionId CATEGORIES.CATEGORY_REMOVE_ITEM
|
|
4743
|
+
* @applicableIdentity APP
|
|
4744
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.BulkRemoveItemsFromCategory
|
|
4745
|
+
*/
|
|
4746
|
+
declare function bulkRemoveItemsFromCategory(categoryId: string, items: NonNullablePaths<ItemReference, `appId` | `catalogItemId`>[], options: NonNullablePaths<BulkRemoveItemsFromCategoryOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<BulkRemoveItemsFromCategoryResponse, `results` | `results.${number}.itemMetadata.item.catalogItemId` | `results.${number}.itemMetadata.item.appId` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
4747
|
+
__applicationErrorsType?: BulkRemoveItemsFromCategoryApplicationErrors;
|
|
4748
|
+
}>;
|
|
3906
4749
|
interface BulkRemoveItemsFromCategoryOptions {
|
|
3907
4750
|
/** Category tree reference details. */
|
|
3908
4751
|
treeReference: TreeReference;
|
|
3909
4752
|
}
|
|
4753
|
+
/**
|
|
4754
|
+
* Removes a single item from multiple categories.
|
|
4755
|
+
* @param item - Item to remove.
|
|
4756
|
+
* @public
|
|
4757
|
+
* @documentationMaturity preview
|
|
4758
|
+
* @requiredField item
|
|
4759
|
+
* @requiredField item.appId
|
|
4760
|
+
* @requiredField item.catalogItemId
|
|
4761
|
+
* @requiredField options
|
|
4762
|
+
* @requiredField options.categoryIds
|
|
4763
|
+
* @requiredField options.treeReference
|
|
4764
|
+
* @requiredField options.treeReference.appNamespace
|
|
4765
|
+
* @permissionId CATEGORIES.CATEGORY_REMOVE_ITEM
|
|
4766
|
+
* @applicableIdentity APP
|
|
4767
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.BulkRemoveItemFromCategories
|
|
4768
|
+
*/
|
|
4769
|
+
declare function bulkRemoveItemFromCategories(item: NonNullablePaths<ItemReference, `appId` | `catalogItemId`>, options: NonNullablePaths<BulkRemoveItemFromCategoriesOptions, `categoryIds` | `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<BulkRemoveItemFromCategoriesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
|
|
4770
|
+
__applicationErrorsType?: BulkRemoveItemFromCategoriesApplicationErrors;
|
|
4771
|
+
}>;
|
|
3910
4772
|
interface BulkRemoveItemFromCategoriesOptions {
|
|
3911
4773
|
/**
|
|
3912
4774
|
* IDs of categories from which to remove the item.
|
|
@@ -3918,6 +4780,24 @@ interface BulkRemoveItemFromCategoriesOptions {
|
|
|
3918
4780
|
/** Category tree reference details. */
|
|
3919
4781
|
treeReference: TreeReference;
|
|
3920
4782
|
}
|
|
4783
|
+
/**
|
|
4784
|
+
* Retrieves a list of up to 100 items from a single category, given the provided cursor paging.
|
|
4785
|
+
*
|
|
4786
|
+
*
|
|
4787
|
+
* List Items In Categories defaults to sorting by the time the item was added to the category, in descending order.
|
|
4788
|
+
* @param categoryId - Category ID.
|
|
4789
|
+
* @param treeReference - Category tree reference details.
|
|
4790
|
+
* @public
|
|
4791
|
+
* @documentationMaturity preview
|
|
4792
|
+
* @requiredField categoryId
|
|
4793
|
+
* @requiredField treeReference
|
|
4794
|
+
* @requiredField treeReference.appNamespace
|
|
4795
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4796
|
+
* @applicableIdentity APP
|
|
4797
|
+
* @applicableIdentity VISITOR
|
|
4798
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.ListItemsInCategory
|
|
4799
|
+
*/
|
|
4800
|
+
declare function listItemsInCategory(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`>, options?: ListItemsInCategoryOptions): Promise<NonNullablePaths<ListItemsInCategoryResponse, `items` | `items.${number}.catalogItemId` | `items.${number}.appId`>>;
|
|
3921
4801
|
interface ListItemsInCategoryOptions extends ListItemsInCategoryOptionsPagingMethodOneOf {
|
|
3922
4802
|
/**
|
|
3923
4803
|
* Whether to use category arrangement for sorting items.
|
|
@@ -3947,14 +4827,75 @@ interface ListItemsInCategoryOptionsPagingMethodOneOf {
|
|
|
3947
4827
|
*/
|
|
3948
4828
|
cursorPaging?: CursorPaging;
|
|
3949
4829
|
}
|
|
4830
|
+
/**
|
|
4831
|
+
* Retrieves a list of categories that contain the specified item.
|
|
4832
|
+
* @param item - Item reference info.
|
|
4833
|
+
* @public
|
|
4834
|
+
* @documentationMaturity preview
|
|
4835
|
+
* @requiredField item
|
|
4836
|
+
* @requiredField options
|
|
4837
|
+
* @requiredField options.treeReference
|
|
4838
|
+
* @requiredField options.treeReference.appNamespace
|
|
4839
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4840
|
+
* @applicableIdentity APP
|
|
4841
|
+
* @applicableIdentity VISITOR
|
|
4842
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.ListCategoriesForItem
|
|
4843
|
+
*/
|
|
4844
|
+
declare function listCategoriesForItem(item: ItemReference, options: NonNullablePaths<ListCategoriesForItemOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<ListCategoriesForItemResponse, `directCategoryIds` | `allCategoryIds`>>;
|
|
3950
4845
|
interface ListCategoriesForItemOptions {
|
|
3951
4846
|
/** Category tree reference details. */
|
|
3952
4847
|
treeReference: TreeReference;
|
|
3953
4848
|
}
|
|
4849
|
+
/**
|
|
4850
|
+
* Retrieves a map where the keys are ItemReferences, and the values are lists of categories that contain the corresponding item.
|
|
4851
|
+
* @param items - List of Item reference info.
|
|
4852
|
+
* @public
|
|
4853
|
+
* @documentationMaturity preview
|
|
4854
|
+
* @requiredField items
|
|
4855
|
+
* @requiredField items.appId
|
|
4856
|
+
* @requiredField items.catalogItemId
|
|
4857
|
+
* @requiredField options
|
|
4858
|
+
* @requiredField options.treeReference
|
|
4859
|
+
* @requiredField options.treeReference.appNamespace
|
|
4860
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4861
|
+
* @applicableIdentity APP
|
|
4862
|
+
* @applicableIdentity VISITOR
|
|
4863
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.ListCategoriesForItems
|
|
4864
|
+
*/
|
|
4865
|
+
declare function listCategoriesForItems(items: NonNullablePaths<ItemReference, `appId` | `catalogItemId`>[], options: NonNullablePaths<ListCategoriesForItemsOptions, `treeReference` | `treeReference.appNamespace`>): Promise<NonNullablePaths<ListCategoriesForItemsResponse, `categoriesForItems` | `categoriesForItems.${number}.item.catalogItemId` | `categoriesForItems.${number}.item.appId`>>;
|
|
3954
4866
|
interface ListCategoriesForItemsOptions {
|
|
3955
4867
|
/** Category tree reference details. */
|
|
3956
4868
|
treeReference: TreeReference;
|
|
3957
4869
|
}
|
|
4870
|
+
/**
|
|
4871
|
+
* Retrieves a list of all trees installed on the site, sorted by `appNamespace` in ascending order.
|
|
4872
|
+
* @public
|
|
4873
|
+
* @documentationMaturity preview
|
|
4874
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4875
|
+
* @applicableIdentity APP
|
|
4876
|
+
* @applicableIdentity VISITOR
|
|
4877
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.ListTrees
|
|
4878
|
+
*/
|
|
4879
|
+
declare function listTrees(): Promise<NonNullablePaths<ListTreesResponse, `trees` | `trees.${number}.appNamespace`>>;
|
|
4880
|
+
/**
|
|
4881
|
+
* Sets arranged items in a category.
|
|
4882
|
+
*
|
|
4883
|
+
* The order of items in the `items` array determines the order of items in the category.
|
|
4884
|
+
* The category's existing list of arranged items will be overridden.
|
|
4885
|
+
* @param categoryId - Category ID.
|
|
4886
|
+
* @param treeReference - Category tree reference details.
|
|
4887
|
+
* @public
|
|
4888
|
+
* @documentationMaturity preview
|
|
4889
|
+
* @requiredField categoryId
|
|
4890
|
+
* @requiredField treeReference
|
|
4891
|
+
* @requiredField treeReference.appNamespace
|
|
4892
|
+
* @permissionId CATEGORIES.CATEGORY_MOVE_ITEM
|
|
4893
|
+
* @applicableIdentity APP
|
|
4894
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.SetArrangedItems
|
|
4895
|
+
*/
|
|
4896
|
+
declare function setArrangedItems(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`>, options?: SetArrangedItemsOptions): Promise<NonNullablePaths<SetArrangedItemsResponse, `items` | `items.${number}.catalogItemId` | `items.${number}.appId`> & {
|
|
4897
|
+
__applicationErrorsType?: SetArrangedItemsApplicationErrors;
|
|
4898
|
+
}>;
|
|
3958
4899
|
interface SetArrangedItemsOptions {
|
|
3959
4900
|
/**
|
|
3960
4901
|
* List of items to set.
|
|
@@ -3962,5 +4903,20 @@ interface SetArrangedItemsOptions {
|
|
|
3962
4903
|
*/
|
|
3963
4904
|
items?: ItemReference[];
|
|
3964
4905
|
}
|
|
4906
|
+
/**
|
|
4907
|
+
* Retrieves a list of arranged items in a category.
|
|
4908
|
+
* @param categoryId - Category ID.
|
|
4909
|
+
* @param treeReference - Category tree reference details.
|
|
4910
|
+
* @public
|
|
4911
|
+
* @documentationMaturity preview
|
|
4912
|
+
* @requiredField categoryId
|
|
4913
|
+
* @requiredField treeReference
|
|
4914
|
+
* @requiredField treeReference.appNamespace
|
|
4915
|
+
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4916
|
+
* @applicableIdentity APP
|
|
4917
|
+
* @applicableIdentity VISITOR
|
|
4918
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.GetArrangedItems
|
|
4919
|
+
*/
|
|
4920
|
+
declare function getArrangedItems(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`>): Promise<NonNullablePaths<GetArrangedItemsResponse, `items` | `items.${number}.catalogItemId` | `items.${number}.appId`>>;
|
|
3965
4921
|
|
|
3966
|
-
export { LineStyle as $, type ListTreesResponse as A, type BulkUpdateCategoriesOptions as B, type Category as C, type SetArrangedItemsOptions as D, type SetArrangedItemsResponse as E, type GetArrangedItemsResponse as F, type GetCategoryOptions as G, type CategoryMovedEnvelope as H, type ItemReference as I, type CategoryCreatedEnvelope as J, type CategoryDeletedEnvelope as K, type ListItemsInCategoryOptions as L, type MoveCategoryOptions as M, type CategoryItemAddedToCategoryEnvelope as N, type CategoryItemRemovedFromCategoryEnvelope as O, type CategoryItemsArrangedInCategoryEnvelope as P, type QueryCategoriesOptions as Q, type CategoryUpdatedEnvelope as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, NodeType as V, WidthType as W, PluginContainerDataAlignment as X, Type as Y, Target as Z, TextAlignment as _, type CreateCategoryOptions as a, type FileData as a$, Width as a0, Alignment as a1, ViewMode as a2, LayoutType as a3, Orientation as a4, Crop as a5, ThumbnailsAlignment as a6, GIFType as a7, Source as a8, StylesPosition as a9, WebhookIdentityType as aA, type BreadcrumbsInfo as aB, type Breadcrumb as aC, type ParentCategory as aD, type SeoSchema as aE, type Keyword as aF, type Tag as aG, type Settings as aH, type RichContent as aI, type Node as aJ, type NodeDataOneOf as aK, type NodeStyle as aL, type ButtonData as aM, type Border as aN, type Colors as aO, type PluginContainerData as aP, type PluginContainerDataWidth as aQ, type PluginContainerDataWidthDataOneOf as aR, type Spoiler as aS, type Height as aT, type Styles as aU, type Link as aV, type LinkDataOneOf as aW, type Rel as aX, type CodeBlockData as aY, type TextStyle as aZ, type DividerData as a_, MapType as aa, ViewRole as ab, VoteRole as ac, PollLayoutType as ad, PollLayoutDirection as ae, BackgroundType as af, DecorationType as ag, FontType as ah, AppType as ai, InitialExpandedItems as aj, Direction as ak, VerticalAlignment as al, NullValue as am, SingleEntityOpsRequestedFields as an, SortOrder as ao, RequestedFields as ap, SortType as aq, SortDirection as ar, MissingValues as as, ScalarType as at, NestedAggregationType as au, Interval as av, AggregationType as aw, Mode as ax, Position as ay, MoveItemInCategoryRequestPosition as az, type UpdateCategoryOptions as b, type ListValue as b$, type FileSource as b0, type FileSourceDataOneOf as b1, type PDFSettings as b2, type GalleryData as b3, type Media as b4, type Image as b5, type Video as b6, type Item as b7, type ItemDataOneOf as b8, type GalleryOptions as b9, type OptionDesign as bA, type Poll as bB, type PollDataLayout as bC, type Design as bD, type TextData as bE, type Decoration as bF, type DecorationDataOneOf as bG, type AnchorData as bH, type ColorData as bI, type LinkData as bJ, type MentionData as bK, type FontSizeData as bL, type SpoilerData as bM, type AppEmbedData as bN, type AppEmbedDataAppDataOneOf as bO, type BookingData as bP, type EventData as bQ, type VideoData as bR, type PlaybackOptions as bS, type EmbedData as bT, type Oembed as bU, type CollapsibleListData as bV, type TableData as bW, type Dimensions as bX, type TableCellData as bY, type CellStyle as bZ, type BorderColors as b_, type Layout as ba, type ItemStyle as bb, type Thumbnails as bc, type GIFData as bd, type GIF as be, type HeadingData as bf, type HTMLData as bg, type HTMLDataDataOneOf as bh, type ImageData as bi, type StylesBorder as bj, type ImageDataStyles as bk, type LinkPreviewData as bl, type LinkPreviewDataStyles as bm, type MapData as bn, type MapSettings as bo, type ParagraphData as bp, type PollData as bq, type Permissions as br, type Option as bs, type PollSettings as bt, type PollLayout as bu, type OptionLayout as bv, type Gradient as bw, type Background as bx, type BackgroundBackgroundOneOf as by, type PollDesign as bz, type CategoriesQueryBuilder as c, type ValueResults as c$, type AudioData as c0, type OrderedListData as c1, type BulletedListData as c2, type BlockquoteData as c3, type CaptionData as c4, type LayoutCellData as c5, type Metadata as c6, type DocumentStyle as c7, type TextNodeStyle as c8, type ExtendedFields as c9, type QueryCategoriesResponse as cA, type CursorPagingMetadata as cB, type Cursors as cC, type ListCompactCategoriesByIdsRequest as cD, type ListCompactCategoriesByIdsResponse as cE, type CompactCategory as cF, type SearchCategoriesRequest as cG, type CursorSearch as cH, type CursorSearchPagingMethodOneOf as cI, type Aggregation as cJ, type AggregationKindOneOf as cK, type RangeBucket as cL, type IncludeMissingValuesOptions as cM, type ValueAggregation as cN, type ValueAggregationOptionsOneOf as cO, type RangeAggregation as cP, type ScalarAggregation as cQ, type DateHistogramAggregation as cR, type NestedAggregationItem as cS, type NestedAggregationItemKindOneOf as cT, type NestedAggregation as cU, type SearchDetails as cV, type AggregationData as cW, type ValueAggregationResult as cX, type RangeAggregationResult as cY, type NestedAggregationResults as cZ, type NestedAggregationResultsResultOneOf as c_, type InvalidateCache as ca, type InvalidateCacheGetByOneOf as cb, type App as cc, type Page as cd, type URI as ce, type File as cf, type CustomTag as cg, type CategoryMoved as ch, type ItemAddedToCategory as ci, type ItemsAddedToCategory as cj, type ItemRemovedFromCategory as ck, type ItemsRemovedFromCategory as cl, type ItemsArrangedInCategory as cm, type CreateCategoryRequest as cn, type CreateCategoryResponse as co, type GetCategoryRequest as cp, type GetCategoryResponse as cq, type UpdateCategoryRequest as cr, type UpdateCategoryResponse as cs, type DeleteCategoryRequest as ct, type DeleteCategoryResponse as cu, type QueryCategoriesRequest as cv, type CursorQuery as cw, type CursorQueryPagingMethodOneOf as cx, type Sorting as cy, type CursorPaging as cz, type SearchCategoriesResponse as d, type EntityCreatedEvent as d$, type RangeResults as d0, type AggregationResultsScalarResult as d1, type NestedValueAggregationResult as d2, type ValueResult as d3, type RangeResult as d4, type ScalarResult as d5, type NestedResultValue as d6, type NestedResultValueResultOneOf as d7, type Results as d8, type DateHistogramResult as d9, type BulkDeleteCategoriesResponse as dA, type BulkDeleteCategoriesResponseBulkCategoriesResult as dB, type BulkDeleteCategoriesByFilterRequest as dC, type BulkDeleteCategoriesByFilterResponse as dD, type BulkAddItemsToCategoryRequest as dE, type BulkItemsToCategoryResult as dF, type ItemReferenceMetadata as dG, type BulkAddItemToCategoriesRequest as dH, type BulkItemToCategoriesResult as dI, type BulkRemoveItemsFromCategoryRequest as dJ, type BulkRemoveItemFromCategoriesRequest as dK, type ListItemsInCategoryRequest as dL, type ListItemsInCategoryRequestPagingMethodOneOf as dM, type PagingMetadataV2 as dN, type ListCategoriesForItemRequest as dO, type ListCategoriesForItemsRequest as dP, type MapItemToCategories as dQ, type ListTreesRequest as dR, type MoveItemInCategoryRequest as dS, type MoveItemInCategoryResponse as dT, type SetArrangedItemsRequest as dU, type GetArrangedItemsRequest as dV, type GetCategoriesTreeRequest as dW, type GetCategoriesTreeResponse as dX, type CategoryTreeNode as dY, type DomainEvent as dZ, type DomainEventBodyOneOf as d_, type GroupByValueResults as da, type DateHistogramResults as db, type NestedResults as dc, type AggregationResults as dd, type AggregationResultsResultOneOf as de, type DeprecatedSearchCategoriesWithOffsetRequest as df, type OffsetSearch as dg, type OffsetSearchPagingMethodOneOf as dh, type Paging as di, type DeprecatedSearchCategoriesWithOffsetResponse as dj, type PagingMetadata as dk, type CountCategoriesRequest as dl, type MoveCategoryRequest as dm, type BulkCreateCategoriesRequest as dn, type BulkCreateCategoriesResponse as dp, type BulkCategoriesResult as dq, type ItemMetadata as dr, type ApplicationError as ds, type BulkActionMetadata as dt, type BulkUpdateCategoriesRequest as du, type UpdateCategoryVisibilityRequest as dv, type BulkShowCategoriesRequest as dw, type BulkUpdateCategoryVisibilityByFilterRequest as dx, type BulkUpdateCategoryVisibilityByFilterResponse as dy, type BulkDeleteCategoriesRequest as dz, type CountCategoriesOptions as e, type RestoreInfo as e0, type EntityUpdatedEvent as e1, type EntityDeletedEvent as e2, type ActionEvent as e3, type Empty as e4, type MessageEnvelope as e5, type IdentificationData as e6, type IdentificationDataIdOneOf as e7, type BaseEventMetadata as e8, type EventMetadata as e9, type CategoriesQueryResult as ea, type ListItemsInCategoryOptionsPagingMethodOneOf as eb, type CountCategoriesResponse as f, type MoveCategoryResponse as g, type MaskedCategory as h, type BulkUpdateCategoriesResponse as i, type UpdateCategoryVisibilityOptions as j, type UpdateCategoryVisibilityResponse as k, type BulkShowCategoriesOptions as l, type BulkShowCategoriesResponse as m, type BulkAddItemsToCategoryOptions as n, type BulkAddItemsToCategoryResponse as o, type BulkAddItemToCategoriesOptions as p, type BulkAddItemToCategoriesResponse as q, type BulkRemoveItemsFromCategoryOptions as r, type BulkRemoveItemsFromCategoryResponse as s, type BulkRemoveItemFromCategoriesOptions as t, type BulkRemoveItemFromCategoriesResponse as u, type ListItemsInCategoryResponse as v, type ListCategoriesForItemOptions as w, type ListCategoriesForItemResponse as x, type ListCategoriesForItemsOptions as y, type ListCategoriesForItemsResponse as z };
|
|
4922
|
+
export { type CategoryCreatedEnvelope as $, type BulkRemoveItemsFromCategoryResponse as A, type BulkUpdateCategoriesOptions as B, type Category as C, type DeleteCategoryApplicationErrors as D, type BulkRemoveItemsFromCategoryApplicationErrors as E, type BulkRemoveItemFromCategoriesOptions as F, type GetCategoryOptions as G, type BulkRemoveItemFromCategoriesResponse as H, type ItemReference as I, type BulkRemoveItemFromCategoriesApplicationErrors as J, type ListItemsInCategoryResponse as K, type ListItemsInCategoryOptions as L, type MoveCategoryOptions as M, type ListCategoriesForItemOptions as N, type ListCategoriesForItemResponse as O, type ListCategoriesForItemsOptions as P, type QueryCategoriesOptions as Q, type ListCategoriesForItemsResponse as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, type ListTreesResponse as V, type SetArrangedItemsOptions as W, type SetArrangedItemsResponse as X, type SetArrangedItemsApplicationErrors as Y, type GetArrangedItemsResponse as Z, type CategoryMovedEnvelope as _, type CreateCategoryOptions as a, type RichContent as a$, type CategoryDeletedEnvelope as a0, type CategoryItemAddedToCategoryEnvelope as a1, type CategoryItemRemovedFromCategoryEnvelope as a2, type CategoryItemsArrangedInCategoryEnvelope as a3, type CategoryUpdatedEnvelope as a4, NodeType as a5, WidthType as a6, PluginContainerDataAlignment as a7, ButtonDataType as a8, Target as a9, Layout as aA, AppType as aB, InitialExpandedItems as aC, Direction as aD, VerticalAlignment as aE, NullValue as aF, SingleEntityOpsRequestedFields as aG, SortOrder as aH, RequestedFields as aI, SortType as aJ, SortDirection as aK, MissingValues as aL, ScalarType as aM, NestedAggregationType as aN, Interval as aO, AggregationType as aP, Mode as aQ, Position as aR, MoveItemInCategoryRequestPosition as aS, WebhookIdentityType as aT, type BreadcrumbsInfo as aU, type Breadcrumb as aV, type ParentCategory as aW, type SeoSchema as aX, type Keyword as aY, type Tag as aZ, type Settings as a_, TextAlignment as aa, LineStyle as ab, Width as ac, DividerDataAlignment as ad, ViewMode as ae, LayoutType as af, Orientation as ag, Crop as ah, ThumbnailsAlignment as ai, GIFType as aj, Source as ak, StylesPosition as al, MapType as am, ViewRole as an, VoteRole as ao, PollLayoutType as ap, PollLayoutDirection as aq, BackgroundType as ar, DecorationType as as, FontType as at, ImageStylesPosition as au, AspectRatio as av, Resizing as aw, Placement as ax, Type as ay, Alignment as az, type CreateCategoryApplicationErrors as b, type ColorData as b$, type Node as b0, type NodeDataOneOf as b1, type NodeStyle as b2, type ButtonData as b3, type Border as b4, type Colors as b5, type PluginContainerData as b6, type PluginContainerDataWidth as b7, type PluginContainerDataWidthDataOneOf as b8, type Spoiler as b9, type HTMLDataDataOneOf as bA, type ImageData as bB, type StylesBorder as bC, type ImageDataStyles as bD, type LinkPreviewData as bE, type LinkPreviewDataStyles as bF, type MapData as bG, type MapSettings as bH, type ParagraphData as bI, type PollData as bJ, type Permissions as bK, type Option as bL, type PollSettings as bM, type PollLayout as bN, type OptionLayout as bO, type Gradient as bP, type Background as bQ, type BackgroundBackgroundOneOf as bR, type PollDesign as bS, type OptionDesign as bT, type Poll as bU, type PollDataLayout as bV, type Design as bW, type TextData as bX, type Decoration as bY, type DecorationDataOneOf as bZ, type AnchorData as b_, type Height as ba, type Styles as bb, type Link as bc, type LinkDataOneOf as bd, type Rel as be, type CodeBlockData as bf, type TextStyle as bg, type DividerData as bh, type FileData as bi, type FileSource as bj, type FileSourceDataOneOf as bk, type PDFSettings as bl, type GalleryData as bm, type Media as bn, type Image as bo, type Video as bp, type Item as bq, type ItemDataOneOf as br, type GalleryOptions as bs, type GalleryOptionsLayout as bt, type ItemStyle as bu, type Thumbnails as bv, type GIFData as bw, type GIF as bx, type HeadingData as by, type HTMLData as bz, type UpdateCategoryOptions as c, type ListCompactCategoriesByIdsResponse as c$, type LinkData as c0, type MentionData as c1, type FontSizeData as c2, type SpoilerData as c3, type AppEmbedData as c4, type AppEmbedDataAppDataOneOf as c5, type BookingData as c6, type EventData as c7, type ButtonStyles as c8, type ImageStyles as c9, type Page as cA, type URI as cB, type File as cC, type CustomTag as cD, type CategoryMoved as cE, type ItemAddedToCategory as cF, type ItemsAddedToCategory as cG, type ItemRemovedFromCategory as cH, type ItemsRemovedFromCategory as cI, type ItemsArrangedInCategory as cJ, type CreateCategoryRequest as cK, type CreateCategoryResponse as cL, type GetCategoryRequest as cM, type GetCategoryResponse as cN, type UpdateCategoryRequest as cO, type UpdateCategoryResponse as cP, type DeleteCategoryRequest as cQ, type DeleteCategoryResponse as cR, type QueryCategoriesRequest as cS, type CursorQuery as cT, type CursorQueryPagingMethodOneOf as cU, type Sorting as cV, type CursorPaging as cW, type QueryCategoriesResponse as cX, type CursorPagingMetadata as cY, type Cursors as cZ, type ListCompactCategoriesByIdsRequest as c_, type RibbonStyles as ca, type CardStyles as cb, type VideoData as cc, type PlaybackOptions as cd, type EmbedData as ce, type Oembed as cf, type CollapsibleListData as cg, type TableData as ch, type Dimensions as ci, type TableCellData as cj, type CellStyle as ck, type BorderColors as cl, type ListValue as cm, type AudioData as cn, type OrderedListData as co, type BulletedListData as cp, type BlockquoteData as cq, type CaptionData as cr, type LayoutCellData as cs, type Metadata as ct, type DocumentStyle as cu, type TextNodeStyle as cv, type ExtendedFields as cw, type InvalidateCache as cx, type InvalidateCacheGetByOneOf as cy, type App as cz, type UpdateCategoryApplicationErrors as d, type BulkRemoveItemFromCategoriesRequest as d$, type CompactCategory as d0, type SearchCategoriesRequest as d1, type CursorSearch as d2, type CursorSearchPagingMethodOneOf as d3, type Aggregation as d4, type AggregationKindOneOf as d5, type RangeBucket as d6, type IncludeMissingValuesOptions as d7, type ValueAggregation as d8, type ValueAggregationOptionsOneOf as d9, type NestedResults as dA, type AggregationResults as dB, type AggregationResultsResultOneOf as dC, type DeprecatedSearchCategoriesWithOffsetRequest as dD, type OffsetSearch as dE, type OffsetSearchPagingMethodOneOf as dF, type Paging as dG, type DeprecatedSearchCategoriesWithOffsetResponse as dH, type PagingMetadata as dI, type CountCategoriesRequest as dJ, type MoveCategoryRequest as dK, type BulkUpdateCategoriesRequest as dL, type BulkCategoriesResult as dM, type ItemMetadata as dN, type ApplicationError as dO, type BulkActionMetadata as dP, type UpdateCategoryVisibilityRequest as dQ, type BulkShowCategoriesRequest as dR, type BulkDeleteCategoriesRequest as dS, type BulkDeleteCategoriesResponse as dT, type BulkDeleteCategoriesResponseBulkCategoriesResult as dU, type BulkAddItemsToCategoryRequest as dV, type BulkItemsToCategoryResult as dW, type ItemReferenceMetadata as dX, type BulkAddItemToCategoriesRequest as dY, type BulkItemToCategoriesResult as dZ, type BulkRemoveItemsFromCategoryRequest as d_, type RangeAggregation as da, type ScalarAggregation as db, type DateHistogramAggregation as dc, type NestedAggregationItem as dd, type NestedAggregationItemKindOneOf as de, type NestedAggregation as df, type SearchDetails as dg, type AggregationData as dh, type ValueAggregationResult as di, type RangeAggregationResult as dj, type NestedAggregationResults as dk, type NestedAggregationResultsResultOneOf as dl, type ValueResults as dm, type RangeResults as dn, type AggregationResultsScalarResult as dp, type NestedValueAggregationResult as dq, type ValueResult as dr, type RangeResult as ds, type ScalarResult as dt, type NestedResultValue as du, type NestedResultValueResultOneOf as dv, type Results as dw, type DateHistogramResult as dx, type GroupByValueResults as dy, type DateHistogramResults as dz, type CategoriesQueryBuilder as e, type InitialExpandedItemsWithLiterals as e$, type ListItemsInCategoryRequest as e0, type ListItemsInCategoryRequestPagingMethodOneOf as e1, type PagingMetadataV2 as e2, type ListCategoriesForItemRequest as e3, type ListCategoriesForItemsRequest as e4, type MapItemToCategories as e5, type ListTreesRequest as e6, type MoveItemInCategoryRequest as e7, type MoveItemInCategoryResponse as e8, type SetArrangedItemsRequest as e9, type LineStyleWithLiterals as eA, type WidthWithLiterals as eB, type DividerDataAlignmentWithLiterals as eC, type ViewModeWithLiterals as eD, type LayoutTypeWithLiterals as eE, type OrientationWithLiterals as eF, type CropWithLiterals as eG, type ThumbnailsAlignmentWithLiterals as eH, type GIFTypeWithLiterals as eI, type SourceWithLiterals as eJ, type StylesPositionWithLiterals as eK, type MapTypeWithLiterals as eL, type ViewRoleWithLiterals as eM, type VoteRoleWithLiterals as eN, type PollLayoutTypeWithLiterals as eO, type PollLayoutDirectionWithLiterals as eP, type BackgroundTypeWithLiterals as eQ, type DecorationTypeWithLiterals as eR, type FontTypeWithLiterals as eS, type ImageStylesPositionWithLiterals as eT, type AspectRatioWithLiterals as eU, type ResizingWithLiterals as eV, type PlacementWithLiterals as eW, type TypeWithLiterals as eX, type AlignmentWithLiterals as eY, type LayoutWithLiterals as eZ, type AppTypeWithLiterals as e_, type GetArrangedItemsRequest as ea, type GetCategoriesTreeRequest as eb, type GetCategoriesTreeResponse as ec, type CategoryTreeNode as ed, type DomainEvent as ee, type DomainEventBodyOneOf as ef, type EntityCreatedEvent as eg, type RestoreInfo as eh, type EntityUpdatedEvent as ei, type EntityDeletedEvent as ej, type ActionEvent as ek, type Empty as el, type MessageEnvelope as em, type IdentificationData as en, type IdentificationDataIdOneOf as eo, type BaseEventMetadata as ep, type EventMetadata as eq, type CategoriesQueryResult as er, type CategorySearchSpec as es, type ListItemsInCategoryOptionsPagingMethodOneOf as et, type NodeTypeWithLiterals as eu, type WidthTypeWithLiterals as ev, type PluginContainerDataAlignmentWithLiterals as ew, type ButtonDataTypeWithLiterals as ex, type TargetWithLiterals as ey, type TextAlignmentWithLiterals as ez, type CategorySearch as f, type DirectionWithLiterals as f0, type VerticalAlignmentWithLiterals as f1, type NullValueWithLiterals as f2, type SingleEntityOpsRequestedFieldsWithLiterals as f3, type SortOrderWithLiterals as f4, type RequestedFieldsWithLiterals as f5, type SortTypeWithLiterals as f6, type SortDirectionWithLiterals as f7, type MissingValuesWithLiterals as f8, type ScalarTypeWithLiterals as f9, bulkAddItemToCategories as fA, bulkRemoveItemsFromCategory as fB, bulkRemoveItemFromCategories as fC, listItemsInCategory as fD, listCategoriesForItem as fE, listCategoriesForItems as fF, listTrees as fG, setArrangedItems as fH, getArrangedItems as fI, type NestedAggregationTypeWithLiterals as fa, type IntervalWithLiterals as fb, type AggregationTypeWithLiterals as fc, type ModeWithLiterals as fd, type PositionWithLiterals as fe, type MoveItemInCategoryRequestPositionWithLiterals as ff, type WebhookIdentityTypeWithLiterals as fg, onCategoryMoved as fh, onCategoryCreated as fi, onCategoryDeleted as fj, onCategoryItemAddedToCategory as fk, onCategoryItemRemovedFromCategory as fl, onCategoryItemsArrangedInCategory as fm, onCategoryUpdated as fn, createCategory as fo, getCategory as fp, updateCategory as fq, deleteCategory as fr, queryCategories as fs, type CommonSearchWithEntityContext as ft, countCategories as fu, moveCategory as fv, bulkUpdateCategories as fw, updateCategoryVisibility as fx, bulkShowCategories as fy, bulkAddItemsToCategory as fz, type SearchCategoriesResponse as g, type CountCategoriesOptions as h, type CountCategoriesResponse as i, type MoveCategoryResponse as j, type MoveCategoryApplicationErrors as k, type MaskedCategory as l, type BulkUpdateCategoriesResponse as m, type BulkUpdateCategoriesApplicationErrors as n, type UpdateCategoryVisibilityOptions as o, type UpdateCategoryVisibilityResponse as p, type UpdateCategoryVisibilityApplicationErrors as q, type BulkShowCategoriesOptions as r, type BulkShowCategoriesResponse as s, type BulkAddItemsToCategoryOptions as t, type BulkAddItemsToCategoryResponse as u, type BulkAddItemsToCategoryApplicationErrors as v, type BulkAddItemToCategoriesOptions as w, type BulkAddItemToCategoriesResponse as x, type BulkAddItemToCategoriesApplicationErrors as y, type BulkRemoveItemsFromCategoryOptions as z };
|