@wix/auto_sdk_comments_comments 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/build/cjs/index.d.ts +56 -21
  2. package/build/cjs/index.js +69 -18
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/{comments-v2-comment-comments.universal-BVp9019z.d.ts → index.typings.d.ts} +656 -19
  5. package/build/cjs/index.typings.js +3890 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +222 -19
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/es/index.d.mts +56 -21
  10. package/build/es/index.mjs +62 -18
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/{comments-v2-comment-comments.universal-BVp9019z.d.mts → index.typings.d.mts} +656 -19
  13. package/build/es/index.typings.mjs +3805 -0
  14. package/build/es/index.typings.mjs.map +1 -0
  15. package/build/es/meta.d.mts +222 -19
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/internal/cjs/index.d.ts +56 -21
  18. package/build/internal/cjs/index.js +69 -18
  19. package/build/internal/cjs/index.js.map +1 -1
  20. package/build/internal/cjs/{comments-v2-comment-comments.universal-BVp9019z.d.ts → index.typings.d.ts} +656 -19
  21. package/build/internal/cjs/index.typings.js +3890 -0
  22. package/build/internal/cjs/index.typings.js.map +1 -0
  23. package/build/internal/cjs/meta.d.ts +222 -19
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/es/index.d.mts +56 -21
  26. package/build/internal/es/index.mjs +62 -18
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/{comments-v2-comment-comments.universal-BVp9019z.d.mts → index.typings.d.mts} +656 -19
  29. package/build/internal/es/index.typings.mjs +3805 -0
  30. package/build/internal/es/index.typings.mjs.map +1 -0
  31. package/build/internal/es/meta.d.mts +222 -19
  32. package/build/internal/es/meta.mjs.map +1 -1
  33. package/package.json +4 -3
@@ -1,4 +1,5 @@
1
- import { c7 as CreateCommentRequest$1, c9 as CreateCommentResponse$1, cb as GetCommentRequest$1, cc as GetCommentResponse$1, cd as UpdateCommentRequest$1, ce as UpdateCommentResponse$1, cg as DeleteCommentRequest$1, ch as DeleteCommentResponse$1, cj as ModerateDraftContentRequest$1, a as ModerateDraftContentResponse$1, cm as QueryCommentsRequest$1, cr as QueryCommentsResponse$1, cu as MarkCommentRequest$1, c as MarkCommentResponse$1, cw as UnmarkCommentRequest$1, d as UnmarkCommentResponse$1, cy as HideCommentRequest$1, H as HideCommentResponse$1, cz as PublishCommentRequest$1, P as PublishCommentResponse$1, cA as CountCommentsRequest$1, f as CountCommentsResponse$1, cB as ListCommentsByResourceRequest$1, g as ListCommentsByResourceResponse$1, cG as GetCommentThreadRequest$1, h as GetCommentThreadResponse$1, cH as BulkPublishCommentRequest$1, i as BulkPublishCommentResponse$1, cI as BulkHideCommentRequest$1, k as BulkHideCommentResponse$1, cJ as BulkDeleteCommentRequest$1, m as BulkDeleteCommentResponse$1, cK as BulkModerateDraftContentRequest$1, o as BulkModerateDraftContentResponse$1, cL as BulkMoveCommentByFilterRequest$1, q as BulkMoveCommentByFilterResponse$1 } from './comments-v2-comment-comments.universal-BVp9019z.mjs';
1
+ import { CreateCommentRequest as CreateCommentRequest$1, CreateCommentResponse as CreateCommentResponse$1, GetCommentRequest as GetCommentRequest$1, GetCommentResponse as GetCommentResponse$1, UpdateCommentRequest as UpdateCommentRequest$1, UpdateCommentResponse as UpdateCommentResponse$1, DeleteCommentRequest as DeleteCommentRequest$1, DeleteCommentResponse as DeleteCommentResponse$1, ModerateDraftContentRequest as ModerateDraftContentRequest$1, ModerateDraftContentResponse as ModerateDraftContentResponse$1, QueryCommentsRequest as QueryCommentsRequest$1, QueryCommentsResponse as QueryCommentsResponse$1, MarkCommentRequest as MarkCommentRequest$1, MarkCommentResponse as MarkCommentResponse$1, UnmarkCommentRequest as UnmarkCommentRequest$1, UnmarkCommentResponse as UnmarkCommentResponse$1, HideCommentRequest as HideCommentRequest$1, HideCommentResponse as HideCommentResponse$1, PublishCommentRequest as PublishCommentRequest$1, PublishCommentResponse as PublishCommentResponse$1, CountCommentsRequest as CountCommentsRequest$1, CountCommentsResponse as CountCommentsResponse$1, ListCommentsByResourceRequest as ListCommentsByResourceRequest$1, ListCommentsByResourceResponse as ListCommentsByResourceResponse$1, GetCommentThreadRequest as GetCommentThreadRequest$1, GetCommentThreadResponse as GetCommentThreadResponse$1, BulkPublishCommentRequest as BulkPublishCommentRequest$1, BulkPublishCommentResponse as BulkPublishCommentResponse$1, BulkHideCommentRequest as BulkHideCommentRequest$1, BulkHideCommentResponse as BulkHideCommentResponse$1, BulkDeleteCommentRequest as BulkDeleteCommentRequest$1, BulkDeleteCommentResponse as BulkDeleteCommentResponse$1, BulkModerateDraftContentRequest as BulkModerateDraftContentRequest$1, BulkModerateDraftContentResponse as BulkModerateDraftContentResponse$1, BulkMoveCommentByFilterRequest as BulkMoveCommentByFilterRequest$1, BulkMoveCommentByFilterResponse as BulkMoveCommentByFilterResponse$1 } from './index.typings.mjs';
2
+ import '@wix/sdk-types';
2
3
 
3
4
  /**
4
5
  * A comment is a user-generated message in response to a specific resource. It allows site visitors
@@ -310,7 +311,7 @@ interface ButtonData {
310
311
  /** Styling for the button's container. */
311
312
  containerData?: PluginContainerData;
312
313
  /** The button type. */
313
- type?: TypeWithLiterals;
314
+ type?: ButtonDataTypeWithLiterals;
314
315
  /** Styling for the button. */
315
316
  styles?: Styles;
316
317
  /** The text to display on the button. */
@@ -418,14 +419,14 @@ interface Height {
418
419
  /** A custom height value in pixels. */
419
420
  custom?: string | null;
420
421
  }
421
- declare enum Type {
422
+ declare enum ButtonDataType {
422
423
  /** Regular link button */
423
424
  LINK = "LINK",
424
425
  /** Triggers custom action that is defined in plugin configuration by the consumer */
425
426
  ACTION = "ACTION"
426
427
  }
427
428
  /** @enumType */
428
- type TypeWithLiterals = Type | 'LINK' | 'ACTION';
429
+ type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
429
430
  interface Styles {
430
431
  /**
431
432
  * Deprecated: Use `borderWidth` and `borderRadius` instead.
@@ -558,7 +559,7 @@ interface DividerData {
558
559
  /** Divider width. */
559
560
  width?: WidthWithLiterals;
560
561
  /** Divider alignment. */
561
- alignment?: AlignmentWithLiterals;
562
+ alignment?: DividerDataAlignmentWithLiterals;
562
563
  }
563
564
  declare enum LineStyle {
564
565
  /** Single Line */
@@ -582,7 +583,7 @@ declare enum Width {
582
583
  }
583
584
  /** @enumType */
584
585
  type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
585
- declare enum Alignment {
586
+ declare enum DividerDataAlignment {
586
587
  /** Center alignment */
587
588
  CENTER = "CENTER",
588
589
  /** Left alignment */
@@ -591,7 +592,7 @@ declare enum Alignment {
591
592
  RIGHT = "RIGHT"
592
593
  }
593
594
  /** @enumType */
594
- type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
595
+ type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
595
596
  interface FileData {
596
597
  /** Styling for the file's container. */
597
598
  containerData?: PluginContainerData;
@@ -716,7 +717,7 @@ interface ItemDataOneOf {
716
717
  }
717
718
  interface GalleryOptions {
718
719
  /** Gallery layout. */
719
- layout?: Layout;
720
+ layout?: GalleryOptionsLayout;
720
721
  /** Styling for gallery items. */
721
722
  item?: ItemStyle;
722
723
  /** Styling for gallery thumbnail images. */
@@ -776,7 +777,7 @@ declare enum ThumbnailsAlignment {
776
777
  }
777
778
  /** @enumType */
778
779
  type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
779
- interface Layout {
780
+ interface GalleryOptionsLayout {
780
781
  /** Gallery layout type. */
781
782
  type?: LayoutTypeWithLiterals;
782
783
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
@@ -938,7 +939,7 @@ interface LinkPreviewData {
938
939
  /** Styling for the link preview. */
939
940
  styles?: LinkPreviewDataStyles;
940
941
  }
941
- declare enum Position {
942
+ declare enum StylesPosition {
942
943
  /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
943
944
  START = "START",
944
945
  /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
@@ -949,7 +950,7 @@ declare enum Position {
949
950
  HIDDEN = "HIDDEN"
950
951
  }
951
952
  /** @enumType */
952
- type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
953
+ type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
953
954
  interface LinkPreviewDataStyles {
954
955
  /**
955
956
  * Background color as a hexadecimal value.
@@ -981,7 +982,7 @@ interface LinkPreviewDataStyles {
981
982
  */
982
983
  borderColor?: string | null;
983
984
  /** Position of thumbnail. Defaults to `START`. */
984
- thumbnailPosition?: PositionWithLiterals;
985
+ thumbnailPosition?: StylesPositionWithLiterals;
985
986
  }
986
987
  interface MapData {
987
988
  /** Styling for the map's container. */
@@ -1335,6 +1336,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1335
1336
  url?: string | null;
1336
1337
  /** An image for the embedded content. */
1337
1338
  image?: Media;
1339
+ /** Whether to hide the image. */
1340
+ hideImage?: boolean | null;
1341
+ /** Whether to hide the title. */
1342
+ hideTitle?: boolean | null;
1343
+ /** Whether to hide the price. */
1344
+ hidePrice?: boolean | null;
1345
+ /** Whether to hide the description (Event and Booking). */
1346
+ hideDescription?: boolean | null;
1347
+ /** Whether to hide the date and time (Event). */
1348
+ hideDateTime?: boolean | null;
1349
+ /** Whether to hide the location (Event). */
1350
+ hideLocation?: boolean | null;
1351
+ /** Whether to hide the duration (Booking). */
1352
+ hideDuration?: boolean | null;
1353
+ /** Whether to hide the button. */
1354
+ hideButton?: boolean | null;
1355
+ /** Whether to hide the ribbon. */
1356
+ hideRibbon?: boolean | null;
1357
+ /** Button styling options. */
1358
+ buttonStyles?: ButtonStyles;
1359
+ /** Image styling options. */
1360
+ imageStyles?: ImageStyles;
1361
+ /** Ribbon styling options. */
1362
+ ribbonStyles?: RibbonStyles;
1363
+ /** Card styling options. */
1364
+ cardStyles?: CardStyles;
1338
1365
  }
1339
1366
  /** @oneof */
1340
1367
  interface AppEmbedDataAppDataOneOf {
@@ -1343,6 +1370,66 @@ interface AppEmbedDataAppDataOneOf {
1343
1370
  /** Data for embedded Wix Events content. */
1344
1371
  eventData?: EventData;
1345
1372
  }
1373
+ declare enum Position {
1374
+ /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
1375
+ START = "START",
1376
+ /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
1377
+ END = "END",
1378
+ /** Image positioned at the top */
1379
+ TOP = "TOP"
1380
+ }
1381
+ /** @enumType */
1382
+ type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
1383
+ declare enum AspectRatio {
1384
+ /** 1:1 aspect ratio */
1385
+ SQUARE = "SQUARE",
1386
+ /** 16:9 aspect ratio */
1387
+ RECTANGLE = "RECTANGLE"
1388
+ }
1389
+ /** @enumType */
1390
+ type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
1391
+ declare enum Resizing {
1392
+ /** Fill the container, may crop the image */
1393
+ FILL = "FILL",
1394
+ /** Fit the image within the container */
1395
+ FIT = "FIT"
1396
+ }
1397
+ /** @enumType */
1398
+ type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
1399
+ declare enum Placement {
1400
+ /** Ribbon placed on the image */
1401
+ IMAGE = "IMAGE",
1402
+ /** Ribbon placed on the product information */
1403
+ PRODUCT_INFO = "PRODUCT_INFO"
1404
+ }
1405
+ /** @enumType */
1406
+ type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
1407
+ declare enum Type {
1408
+ /** Card with visible border and background */
1409
+ CONTAINED = "CONTAINED",
1410
+ /** Card without visible border */
1411
+ FRAMELESS = "FRAMELESS"
1412
+ }
1413
+ /** @enumType */
1414
+ type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
1415
+ declare enum Alignment {
1416
+ /** Content aligned to start (left in LTR layouts, right in RTL layouts) */
1417
+ START = "START",
1418
+ /** Content centered */
1419
+ CENTER = "CENTER",
1420
+ /** Content aligned to end (right in LTR layouts, left in RTL layouts) */
1421
+ END = "END"
1422
+ }
1423
+ /** @enumType */
1424
+ type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
1425
+ declare enum Layout {
1426
+ /** Elements stacked vertically */
1427
+ STACKED = "STACKED",
1428
+ /** Elements arranged horizontally */
1429
+ SIDE_BY_SIDE = "SIDE_BY_SIDE"
1430
+ }
1431
+ /** @enumType */
1432
+ type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
1346
1433
  declare enum AppType {
1347
1434
  PRODUCT = "PRODUCT",
1348
1435
  EVENT = "EVENT",
@@ -1360,6 +1447,122 @@ interface EventData {
1360
1447
  /** Event location. */
1361
1448
  location?: string | null;
1362
1449
  }
1450
+ interface ButtonStyles {
1451
+ /** Text to display on the button. */
1452
+ buttonText?: string | null;
1453
+ /** Border width in pixels. */
1454
+ borderWidth?: number | null;
1455
+ /** Border radius in pixels. */
1456
+ borderRadius?: number | null;
1457
+ /**
1458
+ * Border color as a hexadecimal value.
1459
+ * @format COLOR_HEX
1460
+ */
1461
+ borderColor?: string | null;
1462
+ /**
1463
+ * Text color as a hexadecimal value.
1464
+ * @format COLOR_HEX
1465
+ */
1466
+ textColor?: string | null;
1467
+ /**
1468
+ * Background color as a hexadecimal value.
1469
+ * @format COLOR_HEX
1470
+ */
1471
+ backgroundColor?: string | null;
1472
+ /**
1473
+ * Border color as a hexadecimal value (hover state).
1474
+ * @format COLOR_HEX
1475
+ */
1476
+ borderColorHover?: string | null;
1477
+ /**
1478
+ * Text color as a hexadecimal value (hover state).
1479
+ * @format COLOR_HEX
1480
+ */
1481
+ textColorHover?: string | null;
1482
+ /**
1483
+ * Background color as a hexadecimal value (hover state).
1484
+ * @format COLOR_HEX
1485
+ */
1486
+ backgroundColorHover?: string | null;
1487
+ /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
1488
+ buttonSize?: string | null;
1489
+ }
1490
+ interface ImageStyles {
1491
+ /** Whether to hide the image. */
1492
+ hideImage?: boolean | null;
1493
+ /** Position of image. Defaults to `START`. */
1494
+ imagePosition?: PositionWithLiterals;
1495
+ /** Aspect ratio for the image. Defaults to `SQUARE`. */
1496
+ aspectRatio?: AspectRatioWithLiterals;
1497
+ /** How the image should be resized. Defaults to `FILL`. */
1498
+ resizing?: ResizingWithLiterals;
1499
+ /**
1500
+ * Image border color as a hexadecimal value.
1501
+ * @format COLOR_HEX
1502
+ */
1503
+ borderColor?: string | null;
1504
+ /** Image border width in pixels. */
1505
+ borderWidth?: number | null;
1506
+ /** Image border radius in pixels. */
1507
+ borderRadius?: number | null;
1508
+ }
1509
+ interface RibbonStyles {
1510
+ /** Text to display on the ribbon. */
1511
+ ribbonText?: string | null;
1512
+ /**
1513
+ * Ribbon background color as a hexadecimal value.
1514
+ * @format COLOR_HEX
1515
+ */
1516
+ backgroundColor?: string | null;
1517
+ /**
1518
+ * Ribbon text color as a hexadecimal value.
1519
+ * @format COLOR_HEX
1520
+ */
1521
+ textColor?: string | null;
1522
+ /**
1523
+ * Ribbon border color as a hexadecimal value.
1524
+ * @format COLOR_HEX
1525
+ */
1526
+ borderColor?: string | null;
1527
+ /** Ribbon border width in pixels. */
1528
+ borderWidth?: number | null;
1529
+ /** Ribbon border radius in pixels. */
1530
+ borderRadius?: number | null;
1531
+ /** Placement of the ribbon. Defaults to `IMAGE`. */
1532
+ ribbonPlacement?: PlacementWithLiterals;
1533
+ }
1534
+ interface CardStyles {
1535
+ /**
1536
+ * Card background color as a hexadecimal value.
1537
+ * @format COLOR_HEX
1538
+ */
1539
+ backgroundColor?: string | null;
1540
+ /**
1541
+ * Card border color as a hexadecimal value.
1542
+ * @format COLOR_HEX
1543
+ */
1544
+ borderColor?: string | null;
1545
+ /** Card border width in pixels. */
1546
+ borderWidth?: number | null;
1547
+ /** Card border radius in pixels. */
1548
+ borderRadius?: number | null;
1549
+ /** Card type. Defaults to `CONTAINED`. */
1550
+ type?: TypeWithLiterals;
1551
+ /** Content alignment. Defaults to `START`. */
1552
+ alignment?: AlignmentWithLiterals;
1553
+ /** Layout for title and price. Defaults to `STACKED`. */
1554
+ titlePriceLayout?: LayoutWithLiterals;
1555
+ /**
1556
+ * Title text color as a hexadecimal value.
1557
+ * @format COLOR_HEX
1558
+ */
1559
+ titleColor?: string | null;
1560
+ /**
1561
+ * Text color as a hexadecimal value.
1562
+ * @format COLOR_HEX
1563
+ */
1564
+ textColor?: string | null;
1565
+ }
1363
1566
  interface VideoData {
1364
1567
  /** Styling for the video's container. */
1365
1568
  containerData?: PluginContainerData;
@@ -2030,13 +2233,13 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
2030
2233
  /**
2031
2234
  * Filter object.
2032
2235
  *
2033
- * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
2236
+ * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
2034
2237
  */
2035
2238
  filter?: Record<string, any> | null;
2036
2239
  /**
2037
2240
  * Sort object.
2038
2241
  *
2039
- * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
2242
+ * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
2040
2243
  * @maxSize 5
2041
2244
  */
2042
2245
  sort?: Sorting[];
@@ -2323,7 +2526,7 @@ interface BulkPublishCommentResponse {
2323
2526
  /**
2324
2527
  * Job ID.
2325
2528
  *
2326
- * Pass this ID to Get Async Job to retrieve job details and metadata.
2529
+ * Pass this ID to Get Async Job, in the Async Jobs API, to retrieve job details and metadata.
2327
2530
  * @format GUID
2328
2531
  */
2329
2532
  jobId?: string;
@@ -2341,7 +2544,7 @@ interface BulkHideCommentResponse {
2341
2544
  /**
2342
2545
  * Job ID.
2343
2546
  *
2344
- * Pass this ID to Get Async Job to retrieve job details and metadata.
2547
+ * Pass this ID to Get Async Job, in the Async Jobs API, to retrieve job details and metadata.
2345
2548
  * @format GUID
2346
2549
  */
2347
2550
  jobId?: string;
@@ -2359,7 +2562,7 @@ interface BulkDeleteCommentResponse {
2359
2562
  /**
2360
2563
  * Job ID.
2361
2564
  *
2362
- * Pass this ID to Get Async Job to retrieve job details and metadata.
2565
+ * Pass this ID to Get Async Job, in the Async Jobs API, to retrieve job details and metadata.
2363
2566
  * @format GUID
2364
2567
  */
2365
2568
  jobId?: string;
@@ -2379,7 +2582,7 @@ interface BulkModerateDraftContentResponse {
2379
2582
  /**
2380
2583
  * Job ID.
2381
2584
  *
2382
- * Pass this ID to Get Async Job to retrieve job details and metadata.
2585
+ * Pass this ID to Get Async Job, in the Async Jobs API, to retrieve job details and metadata.
2383
2586
  * @format GUID
2384
2587
  */
2385
2588
  jobId?: string;
@@ -2411,7 +2614,7 @@ interface BulkMoveCommentByFilterResponse {
2411
2614
  /**
2412
2615
  * Job ID.
2413
2616
  *
2414
- * Pass this ID to Get Async Job to retrieve job details and metadata.
2617
+ * Pass this ID to Get Async Job, in the Async Jobs API, to retrieve job details and metadata.
2415
2618
  * @format GUID
2416
2619
  */
2417
2620
  jobId?: string;