@wix/auto_sdk_quick-pages_contents 1.0.12 → 1.0.14

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 (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +21 -6
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +31 -3
  5. package/build/cjs/index.typings.js +21 -6
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +27 -3
  8. package/build/cjs/meta.js +13 -6
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +18 -6
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +31 -3
  14. package/build/es/index.typings.mjs +18 -6
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +27 -3
  17. package/build/es/meta.mjs +13 -6
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +21 -6
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +31 -3
  23. package/build/internal/cjs/index.typings.js +21 -6
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +27 -3
  26. package/build/internal/cjs/meta.js +13 -6
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +18 -6
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +31 -3
  32. package/build/internal/es/index.typings.mjs +18 -6
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +27 -3
  35. package/build/internal/es/meta.mjs +13 -6
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import { MaybeContext, BuildRESTFunction, HttpClient } from '@wix/sdk-types';
2
2
  import { ContentsQueryBuilder, ContentQuery, typedQueryContents } from './index.typings.js';
3
- export { AccountInfo, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundTypeOptionsOneOf, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, Button, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonSize, ButtonSizeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, Center, CodeBlockData, CollapsibleListData, ColorData, ColorOptions, ColorSwatch, ColorSwatchColorTypeOptionsOneOf, ColorSwatchType, ColorSwatchTypeWithLiterals, Colors, CommonQueryWithEntityContext, Content, ContentQuerySpec, ContentsQueryResult, CreateContentRequest, CreateContentResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetContentRequest, GetContentResponse, GetLatestContentByPageIdRequest, GetLatestContentByPageIdResponse, Gradient, GradientGradientTypeOptionsOneOf, GradientStop, GradientType, GradientTypeWithLiterals, Group, GroupWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Hover, IdentificationData, IdentificationDataIdOneOf, Image, ImageBorder, ImageData, ImageDataStyles, ImageDataStylesBorder, ImageOptions, ImagePosition, ImagePositionWithLiterals, ImageScaling, ImageScalingWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemImage, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataImagePosition, LayoutDataImagePositionWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, LockLatestContentByPageIdRequest, LockLatestContentByPageIdResponse, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataDesign, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, QueryContentsRequest, QueryContentsResponse, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, SubmitContentOptions, SubmitContentRequest, SubmitContentResponse, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, Typography, V1TextStyle, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
3
+ export { AccountInfo, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundTypeOptionsOneOf, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, Button, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonSize, ButtonSizeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, Center, CodeBlockData, CollapsibleListData, ColorData, ColorOptions, ColorSwatch, ColorSwatchColorTypeOptionsOneOf, ColorSwatchType, ColorSwatchTypeWithLiterals, Colors, CommonQueryWithEntityContext, Content, ContentQuerySpec, ContentsQueryResult, CreateContentRequest, CreateContentResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, FileData, FileSource, FileSourceDataOneOf, Filter, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetContentRequest, GetContentResponse, GetLatestContentByPageIdRequest, GetLatestContentByPageIdResponse, Gradient, GradientGradientTypeOptionsOneOf, GradientStop, GradientType, GradientTypeWithLiterals, Group, GroupWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Hover, IdentificationData, IdentificationDataIdOneOf, Image, ImageBorder, ImageData, ImageDataStyles, ImageDataStylesBorder, ImageOptions, ImagePosition, ImagePositionWithLiterals, ImageScaling, ImageScalingWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemImage, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataImagePosition, LayoutDataImagePositionWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, LockLatestContentByPageIdRequest, LockLatestContentByPageIdResponse, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataDesign, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, QueryBuilder, QueryContentsRequest, QueryContentsResponse, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, Settings, ShapeData, ShapeDataStyles, Sort, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, SubmitContentOptions, SubmitContentRequest, SubmitContentResponse, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, Typography, V1TextStyle, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function customQueryContents(httpClient: HttpClient): {
6
6
  (): ContentsQueryBuilder;
@@ -32,6 +32,7 @@ __export(index_exports, {
32
32
  DesignTarget: () => DesignTarget,
33
33
  Direction: () => Direction,
34
34
  DividerDataAlignment: () => DividerDataAlignment,
35
+ Filter: () => Filter,
35
36
  FontType: () => FontType,
36
37
  GIFType: () => GIFType,
37
38
  GradientType: () => GradientType,
@@ -53,9 +54,11 @@ __export(index_exports, {
53
54
  PollLayoutDirection: () => PollLayoutDirection,
54
55
  PollLayoutType: () => PollLayoutType,
55
56
  Position: () => Position,
57
+ QueryBuilder: () => QueryBuilder,
56
58
  Resizing: () => Resizing,
57
59
  ResponsivenessBehaviour: () => ResponsivenessBehaviour,
58
60
  Scaling: () => Scaling,
61
+ Sort: () => Sort,
59
62
  SortOrder: () => SortOrder,
60
63
  Source: () => Source,
61
64
  StylesPosition: () => StylesPosition,
@@ -228,7 +231,8 @@ function getContent(payload) {
228
231
  },
229
232
  {
230
233
  path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
231
- }
234
+ },
235
+ { path: "content.richContent.nodes.shapeData.shape.duration" }
232
236
  ]
233
237
  }
234
238
  ])
@@ -315,7 +319,8 @@ function submitContent(payload) {
315
319
  {
316
320
  path: "richContent.nodes.layoutData.backgroundImage.media.duration"
317
321
  },
318
- { path: "richContent.nodes.layoutData.backdropImage.media.duration" }
322
+ { path: "richContent.nodes.layoutData.backdropImage.media.duration" },
323
+ { path: "richContent.nodes.shapeData.shape.duration" }
319
324
  ]
320
325
  },
321
326
  {
@@ -442,7 +447,8 @@ function submitContent(payload) {
442
447
  },
443
448
  {
444
449
  path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
445
- }
450
+ },
451
+ { path: "content.richContent.nodes.shapeData.shape.duration" }
446
452
  ]
447
453
  }
448
454
  ])
@@ -569,7 +575,8 @@ function getLatestContentByPageId(payload) {
569
575
  },
570
576
  {
571
577
  path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
572
- }
578
+ },
579
+ { path: "content.richContent.nodes.shapeData.shape.duration" }
573
580
  ]
574
581
  }
575
582
  ])
@@ -696,7 +703,8 @@ function lockLatestContentByPageId(payload) {
696
703
  },
697
704
  {
698
705
  path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
699
- }
706
+ },
707
+ { path: "content.richContent.nodes.shapeData.shape.duration" }
700
708
  ]
701
709
  }
702
710
  ])
@@ -825,7 +833,8 @@ function queryContents(payload) {
825
833
  },
826
834
  {
827
835
  path: "contents.richContent.nodes.layoutData.backdropImage.media.duration"
828
- }
836
+ },
837
+ { path: "contents.richContent.nodes.shapeData.shape.duration" }
829
838
  ]
830
839
  }
831
840
  ]),
@@ -848,6 +857,7 @@ function queryContents(payload) {
848
857
 
849
858
  // src/quickpages-v1-content-contents.universal.ts
850
859
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
860
+ var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
851
861
  var Group = /* @__PURE__ */ ((Group2) => {
852
862
  Group2["UNKNOWN_FONT_GROUP"] = "UNKNOWN_FONT_GROUP";
853
863
  Group2["LATIN"] = "LATIN";
@@ -938,6 +948,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
938
948
  NodeType2["CAPTION"] = "CAPTION";
939
949
  NodeType2["LAYOUT"] = "LAYOUT";
940
950
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
951
+ NodeType2["SHAPE"] = "SHAPE";
941
952
  return NodeType2;
942
953
  })(NodeType || {});
943
954
  var WidthType = /* @__PURE__ */ ((WidthType2) => {
@@ -1401,6 +1412,7 @@ async function typedQueryContents(query) {
1401
1412
  throw transformedError;
1402
1413
  }
1403
1414
  }
1415
+ var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
1404
1416
 
1405
1417
  // src/quickpages-v1-content-contents.public.ts
1406
1418
  function getContent3(httpClient) {
@@ -1479,6 +1491,7 @@ var queryContents4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
1479
1491
  DesignTarget,
1480
1492
  Direction,
1481
1493
  DividerDataAlignment,
1494
+ Filter,
1482
1495
  FontType,
1483
1496
  GIFType,
1484
1497
  GradientType,
@@ -1500,9 +1513,11 @@ var queryContents4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
1500
1513
  PollLayoutDirection,
1501
1514
  PollLayoutType,
1502
1515
  Position,
1516
+ QueryBuilder,
1503
1517
  Resizing,
1504
1518
  ResponsivenessBehaviour,
1505
1519
  Scaling,
1520
+ Sort,
1506
1521
  SortOrder,
1507
1522
  Source,
1508
1523
  StylesPosition,