@wix/auto_sdk_multilingual_translation-published-contents 1.0.39 → 1.0.40

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 +61 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +109 -3
  5. package/build/cjs/index.typings.js +43 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +109 -3
  8. package/build/cjs/meta.js +43 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +57 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +109 -3
  14. package/build/es/index.typings.mjs +39 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +109 -3
  17. package/build/es/meta.mjs +39 -0
  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 +61 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +109 -3
  23. package/build/internal/cjs/index.typings.js +43 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +109 -3
  26. package/build/internal/cjs/meta.js +43 -0
  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 +57 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +109 -3
  32. package/build/internal/es/index.typings.mjs +39 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +109 -3
  35. package/build/internal/es/meta.mjs +39 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -169,7 +169,9 @@ interface Node extends NodeDataOneOf {
169
169
  blockquoteData?: BlockquoteData;
170
170
  /** Data for a caption node. */
171
171
  captionData?: CaptionData;
172
- /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
172
+ /** Data for a layout node. Reserved for future use. */
173
+ layoutData?: LayoutData;
174
+ /** Data for a cell node. */
173
175
  layoutCellData?: LayoutCellData;
174
176
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
175
177
  type?: NodeTypeWithLiterals;
@@ -234,7 +236,9 @@ interface NodeDataOneOf {
234
236
  blockquoteData?: BlockquoteData;
235
237
  /** Data for a caption node. */
236
238
  captionData?: CaptionData;
237
- /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
239
+ /** Data for a layout node. Reserved for future use. */
240
+ layoutData?: LayoutData;
241
+ /** Data for a cell node. */
238
242
  layoutCellData?: LayoutCellData;
239
243
  }
240
244
  declare enum NodeType {
@@ -1791,6 +1795,108 @@ interface BlockquoteData {
1791
1795
  interface CaptionData {
1792
1796
  textStyle?: TextStyle;
1793
1797
  }
1798
+ interface LayoutData {
1799
+ /**
1800
+ * Background color as a hexadecimal value.
1801
+ * @format COLOR_HEX
1802
+ */
1803
+ backgroundColor?: string | null;
1804
+ /** Background image. */
1805
+ backgroundImage?: BackgroundImage;
1806
+ /**
1807
+ * Border color as a hexadecimal value.
1808
+ * @format COLOR_HEX
1809
+ */
1810
+ borderColor?: string | null;
1811
+ /** Border width in pixels. */
1812
+ borderWidth?: number | null;
1813
+ /** Border */
1814
+ borderRadius?: number | null;
1815
+ /**
1816
+ * Backdrop color as a hexadecimal value.
1817
+ * @format COLOR_HEX
1818
+ */
1819
+ backdropColor?: string | null;
1820
+ /** Backdrop image.radius in pixels. */
1821
+ backdropImage?: BackgroundImage;
1822
+ /** Backdrop top padding. */
1823
+ backdropPaddingTop?: number | null;
1824
+ /** Backdrop bottom padding */
1825
+ backdropPaddingBottom?: number | null;
1826
+ /** Horizontal and vertical gap between columns */
1827
+ gap?: number | null;
1828
+ /**
1829
+ * Padding in pixels for cells. Follows CSS order: top, right, bottom, left
1830
+ * @maxSize 4
1831
+ */
1832
+ cellPadding?: number[];
1833
+ /** Vertical alignment for the cell's items. */
1834
+ cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;
1835
+ /** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */
1836
+ responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
1837
+ /** Size in pixels when responsiveness_behaviour applies */
1838
+ responsivenessBreakpoint?: number | null;
1839
+ }
1840
+ declare enum Scaling {
1841
+ /** Auto image scaling */
1842
+ AUTO = "AUTO",
1843
+ /** Contain image scaling */
1844
+ CONTAIN = "CONTAIN",
1845
+ /** Cover image scaling */
1846
+ COVER = "COVER"
1847
+ }
1848
+ /** @enumType */
1849
+ type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
1850
+ declare enum ImagePosition {
1851
+ /** Image positioned at the center */
1852
+ CENTER = "CENTER",
1853
+ /** Image positioned on the left */
1854
+ CENTER_LEFT = "CENTER_LEFT",
1855
+ /** Image positioned on the right */
1856
+ CENTER_RIGHT = "CENTER_RIGHT",
1857
+ /** Image positioned at the center top */
1858
+ TOP = "TOP",
1859
+ /** Image positioned at the top left */
1860
+ TOP_LEFT = "TOP_LEFT",
1861
+ /** Image positioned at the top right */
1862
+ TOP_RIGHT = "TOP_RIGHT",
1863
+ /** Image positioned at the center bottom */
1864
+ BOTTOM = "BOTTOM",
1865
+ /** Image positioned at the bottom left */
1866
+ BOTTOM_LEFT = "BOTTOM_LEFT",
1867
+ /** Image positioned at the bottom right */
1868
+ BOTTOM_RIGHT = "BOTTOM_RIGHT"
1869
+ }
1870
+ /** @enumType */
1871
+ type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
1872
+ interface BackgroundImage {
1873
+ /** Background image. */
1874
+ media?: Media;
1875
+ /** Background image opacity. */
1876
+ opacity?: number | null;
1877
+ /** Background image scaling. */
1878
+ scaling?: ScalingWithLiterals;
1879
+ /** Position of background. Defaults to `CENTER`. */
1880
+ position?: ImagePositionWithLiterals;
1881
+ }
1882
+ declare enum VerticalAlignmentAlignment {
1883
+ /** Top alignment */
1884
+ TOP = "TOP",
1885
+ /** Middle alignment */
1886
+ MIDDLE = "MIDDLE",
1887
+ /** Bottom alignment */
1888
+ BOTTOM = "BOTTOM"
1889
+ }
1890
+ /** @enumType */
1891
+ type VerticalAlignmentAlignmentWithLiterals = VerticalAlignmentAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
1892
+ declare enum ResponsivenessBehaviour {
1893
+ /** Stacking of columns */
1894
+ STACK = "STACK",
1895
+ /** Wrapping of columns */
1896
+ WRAP = "WRAP"
1897
+ }
1898
+ /** @enumType */
1899
+ type ResponsivenessBehaviourWithLiterals = ResponsivenessBehaviour | 'STACK' | 'WRAP';
1794
1900
  interface LayoutCellData {
1795
1901
  /** Size of the cell in 12 columns grid. */
1796
1902
  colSpan?: number | null;
@@ -2359,4 +2465,4 @@ interface PublishedContentQueryBuilder {
2359
2465
  find: () => Promise<PublishedContentQueryResult>;
2360
2466
  }
2361
2467
 
2362
- export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkContentResult, type BulkDeletePublishedContentRequest, type BulkDeletePublishedContentResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePublishedContentByFilterRequest, type DeletePublishedContentByFilterResponse, type DeletePublishedContentRequest, type DeletePublishedContentResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type ExtendedFields, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPublishedContentRequest, type GetPublishedContentResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type PublishedContent, type PublishedContentCreatedEnvelope, type PublishedContentDeletedEnvelope, type PublishedContentField, type PublishedContentFieldValueOneOf, type PublishedContentQueryBuilder, type PublishedContentQueryResult, type PublishedContentUpdatedEnvelope, type QueryPublishedContentRequest, type QueryPublishedContentResponse, type Rel, Resizing, type ResizingWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type SchemaKey, SchemaScope, type SchemaScopeWithLiterals, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, onPublishedContentCreated, onPublishedContentDeleted, onPublishedContentUpdated, queryPublishedContent };
2468
+ export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkContentResult, type BulkDeletePublishedContentRequest, type BulkDeletePublishedContentResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePublishedContentByFilterRequest, type DeletePublishedContentByFilterResponse, type DeletePublishedContentRequest, type DeletePublishedContentResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type ExtendedFields, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPublishedContentRequest, type GetPublishedContentResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type PublishedContent, type PublishedContentCreatedEnvelope, type PublishedContentDeletedEnvelope, type PublishedContentField, type PublishedContentFieldValueOneOf, type PublishedContentQueryBuilder, type PublishedContentQueryResult, type PublishedContentUpdatedEnvelope, type QueryPublishedContentRequest, type QueryPublishedContentResponse, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SchemaKey, SchemaScope, type SchemaScopeWithLiterals, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, onPublishedContentCreated, onPublishedContentDeleted, onPublishedContentUpdated, queryPublishedContent };
@@ -137,6 +137,12 @@ function queryPublishedContent(payload) {
137
137
  {
138
138
  path: "publishedContent.fields.richContent.nodes.audioData.coverImage.duration"
139
139
  },
140
+ {
141
+ path: "publishedContent.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
142
+ },
143
+ {
144
+ path: "publishedContent.fields.richContent.nodes.layoutData.backdropImage.media.duration"
145
+ },
140
146
  { path: "publishedContent.fields.image.focalPoint.x" },
141
147
  { path: "publishedContent.fields.image.focalPoint.y" },
142
148
  {
@@ -470,6 +476,35 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
470
476
  NullValue2["NULL_VALUE"] = "NULL_VALUE";
471
477
  return NullValue2;
472
478
  })(NullValue || {});
479
+ var Scaling = /* @__PURE__ */ ((Scaling2) => {
480
+ Scaling2["AUTO"] = "AUTO";
481
+ Scaling2["CONTAIN"] = "CONTAIN";
482
+ Scaling2["COVER"] = "COVER";
483
+ return Scaling2;
484
+ })(Scaling || {});
485
+ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
486
+ ImagePosition2["CENTER"] = "CENTER";
487
+ ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
488
+ ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
489
+ ImagePosition2["TOP"] = "TOP";
490
+ ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
491
+ ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
492
+ ImagePosition2["BOTTOM"] = "BOTTOM";
493
+ ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
494
+ ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
495
+ return ImagePosition2;
496
+ })(ImagePosition || {});
497
+ var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
498
+ VerticalAlignmentAlignment2["TOP"] = "TOP";
499
+ VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
500
+ VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
501
+ return VerticalAlignmentAlignment2;
502
+ })(VerticalAlignmentAlignment || {});
503
+ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
504
+ ResponsivenessBehaviour2["STACK"] = "STACK";
505
+ ResponsivenessBehaviour2["WRAP"] = "WRAP";
506
+ return ResponsivenessBehaviour2;
507
+ })(ResponsivenessBehaviour || {});
473
508
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
474
509
  SortOrder2["ASC"] = "ASC";
475
510
  SortOrder2["DESC"] = "DESC";
@@ -556,6 +591,7 @@ export {
556
591
  DividerDataAlignment,
557
592
  FontType,
558
593
  GIFType,
594
+ ImagePosition,
559
595
  InitialExpandedItems,
560
596
  Layout,
561
597
  LayoutType,
@@ -570,6 +606,8 @@ export {
570
606
  PollLayoutType,
571
607
  Position,
572
608
  Resizing,
609
+ ResponsivenessBehaviour,
610
+ Scaling,
573
611
  SchemaScope,
574
612
  SortOrder,
575
613
  Source,
@@ -579,6 +617,7 @@ export {
579
617
  ThumbnailsAlignment,
580
618
  Type,
581
619
  VerticalAlignment,
620
+ VerticalAlignmentAlignment,
582
621
  ViewMode,
583
622
  ViewRole,
584
623
  VoteRole,