@wix/auto_sdk_multilingual_translation-published-contents 1.0.39 → 1.0.41

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 +9 -31
  2. package/build/cjs/index.js +122 -1
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +117 -3
  5. package/build/cjs/index.typings.js +88 -2
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +110 -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 +9 -31
  11. package/build/es/index.mjs +118 -1
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +117 -3
  14. package/build/es/index.typings.mjs +82 -1
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +110 -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 +9 -31
  20. package/build/internal/cjs/index.js +122 -1
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +117 -3
  23. package/build/internal/cjs/index.typings.js +88 -2
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +110 -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 +9 -31
  29. package/build/internal/es/index.mjs +118 -1
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +117 -3
  32. package/build/internal/es/index.typings.mjs +82 -1
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +110 -3
  35. package/build/internal/es/meta.mjs +39 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -1,3 +1,5 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
1
3
  interface PublishedContent {
2
4
  /**
3
5
  * Published content ID.
@@ -169,7 +171,9 @@ interface Node extends NodeDataOneOf {
169
171
  blockquoteData?: BlockquoteData;
170
172
  /** Data for a caption node. */
171
173
  captionData?: CaptionData;
172
- /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
174
+ /** Data for a layout node. Reserved for future use. */
175
+ layoutData?: LayoutData;
176
+ /** Data for a cell node. */
173
177
  layoutCellData?: LayoutCellData;
174
178
  /** 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
179
  type?: NodeTypeWithLiterals;
@@ -234,7 +238,9 @@ interface NodeDataOneOf {
234
238
  blockquoteData?: BlockquoteData;
235
239
  /** Data for a caption node. */
236
240
  captionData?: CaptionData;
237
- /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
241
+ /** Data for a layout node. Reserved for future use. */
242
+ layoutData?: LayoutData;
243
+ /** Data for a cell node. */
238
244
  layoutCellData?: LayoutCellData;
239
245
  }
240
246
  declare enum NodeType {
@@ -1791,6 +1797,108 @@ interface BlockquoteData {
1791
1797
  interface CaptionData {
1792
1798
  textStyle?: TextStyle;
1793
1799
  }
1800
+ interface LayoutData {
1801
+ /**
1802
+ * Background color as a hexadecimal value.
1803
+ * @format COLOR_HEX
1804
+ */
1805
+ backgroundColor?: string | null;
1806
+ /** Background image. */
1807
+ backgroundImage?: BackgroundImage;
1808
+ /**
1809
+ * Border color as a hexadecimal value.
1810
+ * @format COLOR_HEX
1811
+ */
1812
+ borderColor?: string | null;
1813
+ /** Border width in pixels. */
1814
+ borderWidth?: number | null;
1815
+ /** Border */
1816
+ borderRadius?: number | null;
1817
+ /**
1818
+ * Backdrop color as a hexadecimal value.
1819
+ * @format COLOR_HEX
1820
+ */
1821
+ backdropColor?: string | null;
1822
+ /** Backdrop image.radius in pixels. */
1823
+ backdropImage?: BackgroundImage;
1824
+ /** Backdrop top padding. */
1825
+ backdropPaddingTop?: number | null;
1826
+ /** Backdrop bottom padding */
1827
+ backdropPaddingBottom?: number | null;
1828
+ /** Horizontal and vertical gap between columns */
1829
+ gap?: number | null;
1830
+ /**
1831
+ * Padding in pixels for cells. Follows CSS order: top, right, bottom, left
1832
+ * @maxSize 4
1833
+ */
1834
+ cellPadding?: number[];
1835
+ /** Vertical alignment for the cell's items. */
1836
+ cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;
1837
+ /** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */
1838
+ responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
1839
+ /** Size in pixels when responsiveness_behaviour applies */
1840
+ responsivenessBreakpoint?: number | null;
1841
+ }
1842
+ declare enum Scaling {
1843
+ /** Auto image scaling */
1844
+ AUTO = "AUTO",
1845
+ /** Contain image scaling */
1846
+ CONTAIN = "CONTAIN",
1847
+ /** Cover image scaling */
1848
+ COVER = "COVER"
1849
+ }
1850
+ /** @enumType */
1851
+ type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
1852
+ declare enum ImagePosition {
1853
+ /** Image positioned at the center */
1854
+ CENTER = "CENTER",
1855
+ /** Image positioned on the left */
1856
+ CENTER_LEFT = "CENTER_LEFT",
1857
+ /** Image positioned on the right */
1858
+ CENTER_RIGHT = "CENTER_RIGHT",
1859
+ /** Image positioned at the center top */
1860
+ TOP = "TOP",
1861
+ /** Image positioned at the top left */
1862
+ TOP_LEFT = "TOP_LEFT",
1863
+ /** Image positioned at the top right */
1864
+ TOP_RIGHT = "TOP_RIGHT",
1865
+ /** Image positioned at the center bottom */
1866
+ BOTTOM = "BOTTOM",
1867
+ /** Image positioned at the bottom left */
1868
+ BOTTOM_LEFT = "BOTTOM_LEFT",
1869
+ /** Image positioned at the bottom right */
1870
+ BOTTOM_RIGHT = "BOTTOM_RIGHT"
1871
+ }
1872
+ /** @enumType */
1873
+ type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
1874
+ interface BackgroundImage {
1875
+ /** Background image. */
1876
+ media?: Media;
1877
+ /** Background image opacity. */
1878
+ opacity?: number | null;
1879
+ /** Background image scaling. */
1880
+ scaling?: ScalingWithLiterals;
1881
+ /** Position of background. Defaults to `CENTER`. */
1882
+ position?: ImagePositionWithLiterals;
1883
+ }
1884
+ declare enum VerticalAlignmentAlignment {
1885
+ /** Top alignment */
1886
+ TOP = "TOP",
1887
+ /** Middle alignment */
1888
+ MIDDLE = "MIDDLE",
1889
+ /** Bottom alignment */
1890
+ BOTTOM = "BOTTOM"
1891
+ }
1892
+ /** @enumType */
1893
+ type VerticalAlignmentAlignmentWithLiterals = VerticalAlignmentAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
1894
+ declare enum ResponsivenessBehaviour {
1895
+ /** Stacking of columns */
1896
+ STACK = "STACK",
1897
+ /** Wrapping of columns */
1898
+ WRAP = "WRAP"
1899
+ }
1900
+ /** @enumType */
1901
+ type ResponsivenessBehaviourWithLiterals = ResponsivenessBehaviour | 'STACK' | 'WRAP';
1794
1902
  interface LayoutCellData {
1795
1903
  /** Size of the cell in 12 columns grid. */
1796
1904
  colSpan?: number | null;
@@ -2358,5 +2466,11 @@ interface PublishedContentQueryBuilder {
2358
2466
  skipTo: (cursor: string) => PublishedContentQueryBuilder;
2359
2467
  find: () => Promise<PublishedContentQueryResult>;
2360
2468
  }
2469
+ /**
2470
+ * @hidden
2471
+ * @fqn com.wixpress.localizationpublic.v3.TranslationPublishedContent.QueryPublishedContent
2472
+ * @requiredField query
2473
+ */
2474
+ declare function typedQueryPublishedContent(query: CursorQuery): Promise<NonNullablePaths<QueryPublishedContentResponse, `publishedContent` | `publishedContent.${number}.schemaKey.appId` | `publishedContent.${number}.schemaKey.entityType` | `publishedContent.${number}.schemaKey.scope` | `publishedContent.${number}.entityId` | `publishedContent.${number}.locale`, 5>>;
2361
2475
 
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 };
2476
+ 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, typedQueryPublishedContent };
@@ -31,6 +31,7 @@ __export(index_typings_exports, {
31
31
  DividerDataAlignment: () => DividerDataAlignment,
32
32
  FontType: () => FontType,
33
33
  GIFType: () => GIFType,
34
+ ImagePosition: () => ImagePosition,
34
35
  InitialExpandedItems: () => InitialExpandedItems,
35
36
  Layout: () => Layout,
36
37
  LayoutType: () => LayoutType,
@@ -45,6 +46,8 @@ __export(index_typings_exports, {
45
46
  PollLayoutType: () => PollLayoutType,
46
47
  Position: () => Position,
47
48
  Resizing: () => Resizing,
49
+ ResponsivenessBehaviour: () => ResponsivenessBehaviour,
50
+ Scaling: () => Scaling,
48
51
  SchemaScope: () => SchemaScope,
49
52
  SortOrder: () => SortOrder,
50
53
  Source: () => Source,
@@ -54,13 +57,15 @@ __export(index_typings_exports, {
54
57
  ThumbnailsAlignment: () => ThumbnailsAlignment,
55
58
  Type: () => Type,
56
59
  VerticalAlignment: () => VerticalAlignment,
60
+ VerticalAlignmentAlignment: () => VerticalAlignmentAlignment,
57
61
  ViewMode: () => ViewMode,
58
62
  ViewRole: () => ViewRole,
59
63
  VoteRole: () => VoteRole,
60
64
  WebhookIdentityType: () => WebhookIdentityType,
61
65
  Width: () => Width,
62
66
  WidthType: () => WidthType,
63
- queryPublishedContent: () => queryPublishedContent2
67
+ queryPublishedContent: () => queryPublishedContent2,
68
+ typedQueryPublishedContent: () => typedQueryPublishedContent
64
69
  });
65
70
  module.exports = __toCommonJS(index_typings_exports);
66
71
 
@@ -200,6 +205,12 @@ function queryPublishedContent(payload) {
200
205
  {
201
206
  path: "publishedContent.fields.richContent.nodes.audioData.coverImage.duration"
202
207
  },
208
+ {
209
+ path: "publishedContent.fields.richContent.nodes.layoutData.backgroundImage.media.duration"
210
+ },
211
+ {
212
+ path: "publishedContent.fields.richContent.nodes.layoutData.backdropImage.media.duration"
213
+ },
203
214
  { path: "publishedContent.fields.image.focalPoint.x" },
204
215
  { path: "publishedContent.fields.image.focalPoint.y" },
205
216
  {
@@ -533,6 +544,35 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
533
544
  NullValue2["NULL_VALUE"] = "NULL_VALUE";
534
545
  return NullValue2;
535
546
  })(NullValue || {});
547
+ var Scaling = /* @__PURE__ */ ((Scaling2) => {
548
+ Scaling2["AUTO"] = "AUTO";
549
+ Scaling2["CONTAIN"] = "CONTAIN";
550
+ Scaling2["COVER"] = "COVER";
551
+ return Scaling2;
552
+ })(Scaling || {});
553
+ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
554
+ ImagePosition2["CENTER"] = "CENTER";
555
+ ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
556
+ ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
557
+ ImagePosition2["TOP"] = "TOP";
558
+ ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
559
+ ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
560
+ ImagePosition2["BOTTOM"] = "BOTTOM";
561
+ ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
562
+ ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
563
+ return ImagePosition2;
564
+ })(ImagePosition || {});
565
+ var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
566
+ VerticalAlignmentAlignment2["TOP"] = "TOP";
567
+ VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
568
+ VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
569
+ return VerticalAlignmentAlignment2;
570
+ })(VerticalAlignmentAlignment || {});
571
+ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
572
+ ResponsivenessBehaviour2["STACK"] = "STACK";
573
+ ResponsivenessBehaviour2["WRAP"] = "WRAP";
574
+ return ResponsivenessBehaviour2;
575
+ })(ResponsivenessBehaviour || {});
536
576
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
537
577
  SortOrder2["ASC"] = "ASC";
538
578
  SortOrder2["DESC"] = "DESC";
@@ -607,6 +647,47 @@ function queryPublishedContent2() {
607
647
  transformationPaths: {}
608
648
  });
609
649
  }
650
+ async function typedQueryPublishedContent(query) {
651
+ const { httpClient, sideEffects } = arguments[1];
652
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ query }, []);
653
+ const reqOpts = queryPublishedContent(
654
+ payload
655
+ );
656
+ sideEffects?.onSiteCall?.();
657
+ try {
658
+ const result = await httpClient.request(reqOpts);
659
+ sideEffects?.onSuccess?.(result);
660
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
661
+ (0, import_transform_paths2.transformPaths)(result.data, [
662
+ {
663
+ transformFn: import_image.transformRESTImageToSDKImage,
664
+ paths: [{ path: "publishedContent.fields.image" }]
665
+ },
666
+ {
667
+ transformFn: import_video_v2.transformRESTVideoV2ToSDKVideoV2,
668
+ paths: [{ path: "publishedContent.fields.video" }]
669
+ },
670
+ {
671
+ transformFn: import_document.transformRESTDocumentToSDKDocument,
672
+ paths: [{ path: "publishedContent.fields.document" }]
673
+ }
674
+ ]),
675
+ ["publishedContent.fields.richContent"]
676
+ );
677
+ } catch (err) {
678
+ const transformedError = (0, import_transform_error.transformError)(
679
+ err,
680
+ {
681
+ spreadPathsToArguments: {},
682
+ explicitPathsToArguments: { query: "$[0]" },
683
+ singleArgumentUnchanged: false
684
+ },
685
+ ["query"]
686
+ );
687
+ sideEffects?.onError?.(err);
688
+ throw transformedError;
689
+ }
690
+ }
610
691
  // Annotate the CommonJS export names for ESM import in node:
611
692
  0 && (module.exports = {
612
693
  Alignment,
@@ -620,6 +701,7 @@ function queryPublishedContent2() {
620
701
  DividerDataAlignment,
621
702
  FontType,
622
703
  GIFType,
704
+ ImagePosition,
623
705
  InitialExpandedItems,
624
706
  Layout,
625
707
  LayoutType,
@@ -634,6 +716,8 @@ function queryPublishedContent2() {
634
716
  PollLayoutType,
635
717
  Position,
636
718
  Resizing,
719
+ ResponsivenessBehaviour,
720
+ Scaling,
637
721
  SchemaScope,
638
722
  SortOrder,
639
723
  Source,
@@ -643,12 +727,14 @@ function queryPublishedContent2() {
643
727
  ThumbnailsAlignment,
644
728
  Type,
645
729
  VerticalAlignment,
730
+ VerticalAlignmentAlignment,
646
731
  ViewMode,
647
732
  ViewRole,
648
733
  VoteRole,
649
734
  WebhookIdentityType,
650
735
  Width,
651
736
  WidthType,
652
- queryPublishedContent
737
+ queryPublishedContent,
738
+ typedQueryPublishedContent
653
739
  });
654
740
  //# sourceMappingURL=index.typings.js.map