@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 };
@@ -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";
@@ -544,6 +579,47 @@ function queryPublishedContent2() {
544
579
  transformationPaths: {}
545
580
  });
546
581
  }
582
+ async function typedQueryPublishedContent(query) {
583
+ const { httpClient, sideEffects } = arguments[1];
584
+ const payload = renameKeysFromSDKRequestToRESTRequest({ query }, []);
585
+ const reqOpts = queryPublishedContent(
586
+ payload
587
+ );
588
+ sideEffects?.onSiteCall?.();
589
+ try {
590
+ const result = await httpClient.request(reqOpts);
591
+ sideEffects?.onSuccess?.(result);
592
+ return renameKeysFromRESTResponseToSDKResponse(
593
+ transformPaths2(result.data, [
594
+ {
595
+ transformFn: transformRESTImageToSDKImage,
596
+ paths: [{ path: "publishedContent.fields.image" }]
597
+ },
598
+ {
599
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
600
+ paths: [{ path: "publishedContent.fields.video" }]
601
+ },
602
+ {
603
+ transformFn: transformRESTDocumentToSDKDocument,
604
+ paths: [{ path: "publishedContent.fields.document" }]
605
+ }
606
+ ]),
607
+ ["publishedContent.fields.richContent"]
608
+ );
609
+ } catch (err) {
610
+ const transformedError = sdkTransformError(
611
+ err,
612
+ {
613
+ spreadPathsToArguments: {},
614
+ explicitPathsToArguments: { query: "$[0]" },
615
+ singleArgumentUnchanged: false
616
+ },
617
+ ["query"]
618
+ );
619
+ sideEffects?.onError?.(err);
620
+ throw transformedError;
621
+ }
622
+ }
547
623
  export {
548
624
  Alignment,
549
625
  AppType,
@@ -556,6 +632,7 @@ export {
556
632
  DividerDataAlignment,
557
633
  FontType,
558
634
  GIFType,
635
+ ImagePosition,
559
636
  InitialExpandedItems,
560
637
  Layout,
561
638
  LayoutType,
@@ -570,6 +647,8 @@ export {
570
647
  PollLayoutType,
571
648
  Position,
572
649
  Resizing,
650
+ ResponsivenessBehaviour,
651
+ Scaling,
573
652
  SchemaScope,
574
653
  SortOrder,
575
654
  Source,
@@ -579,12 +658,14 @@ export {
579
658
  ThumbnailsAlignment,
580
659
  Type,
581
660
  VerticalAlignment,
661
+ VerticalAlignmentAlignment,
582
662
  ViewMode,
583
663
  ViewRole,
584
664
  VoteRole,
585
665
  WebhookIdentityType,
586
666
  Width,
587
667
  WidthType,
588
- queryPublishedContent2 as queryPublishedContent
668
+ queryPublishedContent2 as queryPublishedContent,
669
+ typedQueryPublishedContent
589
670
  };
590
671
  //# sourceMappingURL=index.typings.mjs.map