@wix/auto_sdk_quick-pages_contents 1.0.13 → 1.0.15

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 +28 -8
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +45 -3
  5. package/build/cjs/index.typings.js +28 -8
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +39 -3
  8. package/build/cjs/meta.js +20 -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 +25 -7
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +45 -3
  14. package/build/es/index.typings.mjs +25 -7
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +39 -3
  17. package/build/es/meta.mjs +19 -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 +28 -8
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +45 -3
  23. package/build/internal/cjs/index.typings.js +28 -8
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +39 -3
  26. package/build/internal/cjs/meta.js +20 -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 +25 -7
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +45 -3
  32. package/build/internal/es/index.typings.mjs +25 -7
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +39 -3
  35. package/build/internal/es/meta.mjs +19 -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, Banner, 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, Origin, OriginWithLiterals, 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, ShapeData, ShapeDataStyles, 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, utils } from './index.typings.js';
4
4
 
5
5
  declare function customQueryContents(httpClient: HttpClient): {
6
6
  (): ContentsQueryBuilder;
@@ -47,6 +47,7 @@ __export(index_exports, {
47
47
  NodeType: () => NodeType,
48
48
  NullValue: () => NullValue,
49
49
  Orientation: () => Orientation,
50
+ Origin: () => Origin,
50
51
  Placement: () => Placement,
51
52
  PluginContainerDataAlignment: () => PluginContainerDataAlignment,
52
53
  PollDesignBackgroundType: () => PollDesignBackgroundType,
@@ -75,7 +76,8 @@ __export(index_exports, {
75
76
  getLatestContentByPageId: () => getLatestContentByPageId4,
76
77
  lockLatestContentByPageId: () => lockLatestContentByPageId4,
77
78
  queryContents: () => queryContents4,
78
- submitContent: () => submitContent4
79
+ submitContent: () => submitContent4,
80
+ utils: () => utils
79
81
  });
80
82
  module.exports = __toCommonJS(index_exports);
81
83
 
@@ -228,7 +230,8 @@ function getContent(payload) {
228
230
  },
229
231
  {
230
232
  path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
231
- }
233
+ },
234
+ { path: "content.richContent.nodes.shapeData.shape.duration" }
232
235
  ]
233
236
  }
234
237
  ])
@@ -315,7 +318,8 @@ function submitContent(payload) {
315
318
  {
316
319
  path: "richContent.nodes.layoutData.backgroundImage.media.duration"
317
320
  },
318
- { path: "richContent.nodes.layoutData.backdropImage.media.duration" }
321
+ { path: "richContent.nodes.layoutData.backdropImage.media.duration" },
322
+ { path: "richContent.nodes.shapeData.shape.duration" }
319
323
  ]
320
324
  },
321
325
  {
@@ -442,7 +446,8 @@ function submitContent(payload) {
442
446
  },
443
447
  {
444
448
  path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
445
- }
449
+ },
450
+ { path: "content.richContent.nodes.shapeData.shape.duration" }
446
451
  ]
447
452
  }
448
453
  ])
@@ -569,7 +574,8 @@ function getLatestContentByPageId(payload) {
569
574
  },
570
575
  {
571
576
  path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
572
- }
577
+ },
578
+ { path: "content.richContent.nodes.shapeData.shape.duration" }
573
579
  ]
574
580
  }
575
581
  ])
@@ -696,7 +702,8 @@ function lockLatestContentByPageId(payload) {
696
702
  },
697
703
  {
698
704
  path: "content.richContent.nodes.layoutData.backdropImage.media.duration"
699
- }
705
+ },
706
+ { path: "content.richContent.nodes.shapeData.shape.duration" }
700
707
  ]
701
708
  }
702
709
  ])
@@ -825,7 +832,8 @@ function queryContents(payload) {
825
832
  },
826
833
  {
827
834
  path: "contents.richContent.nodes.layoutData.backdropImage.media.duration"
828
- }
835
+ },
836
+ { path: "contents.richContent.nodes.shapeData.shape.duration" }
829
837
  ]
830
838
  }
831
839
  ]),
@@ -848,6 +856,7 @@ function queryContents(payload) {
848
856
 
849
857
  // src/quickpages-v1-content-contents.universal.ts
850
858
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
859
+ var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
851
860
  var Group = /* @__PURE__ */ ((Group2) => {
852
861
  Group2["UNKNOWN_FONT_GROUP"] = "UNKNOWN_FONT_GROUP";
853
862
  Group2["LATIN"] = "LATIN";
@@ -938,6 +947,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
938
947
  NodeType2["CAPTION"] = "CAPTION";
939
948
  NodeType2["LAYOUT"] = "LAYOUT";
940
949
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
950
+ NodeType2["SHAPE"] = "SHAPE";
941
951
  return NodeType2;
942
952
  })(NodeType || {});
943
953
  var WidthType = /* @__PURE__ */ ((WidthType2) => {
@@ -1185,6 +1195,11 @@ var LayoutDataImagePosition = /* @__PURE__ */ ((LayoutDataImagePosition2) => {
1185
1195
  LayoutDataImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1186
1196
  return LayoutDataImagePosition2;
1187
1197
  })(LayoutDataImagePosition || {});
1198
+ var Origin = /* @__PURE__ */ ((Origin2) => {
1199
+ Origin2["IMAGE"] = "IMAGE";
1200
+ Origin2["LAYOUT"] = "LAYOUT";
1201
+ return Origin2;
1202
+ })(Origin || {});
1188
1203
  var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
1189
1204
  VerticalAlignmentAlignment2["TOP"] = "TOP";
1190
1205
  VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
@@ -1401,6 +1416,9 @@ async function typedQueryContents(query) {
1401
1416
  throw transformedError;
1402
1417
  }
1403
1418
  }
1419
+ var utils = {
1420
+ ...(0, import_query_builder_utils.createQueryUtils)()
1421
+ };
1404
1422
 
1405
1423
  // src/quickpages-v1-content-contents.public.ts
1406
1424
  function getContent3(httpClient) {
@@ -1494,6 +1512,7 @@ var queryContents4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
1494
1512
  NodeType,
1495
1513
  NullValue,
1496
1514
  Orientation,
1515
+ Origin,
1497
1516
  Placement,
1498
1517
  PluginContainerDataAlignment,
1499
1518
  PollDesignBackgroundType,
@@ -1522,6 +1541,7 @@ var queryContents4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
1522
1541
  getLatestContentByPageId,
1523
1542
  lockLatestContentByPageId,
1524
1543
  queryContents,
1525
- submitContent
1544
+ submitContent,
1545
+ utils
1526
1546
  });
1527
1547
  //# sourceMappingURL=index.js.map