@wix/auto_sdk_blog_draft-posts 1.0.64 → 1.0.65

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 +49 -14
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +29 -3
  5. package/build/cjs/index.typings.js +43 -11
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +25 -3
  8. package/build/cjs/meta.js +35 -11
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +46 -14
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +29 -3
  14. package/build/es/index.typings.mjs +40 -11
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +25 -3
  17. package/build/es/meta.mjs +35 -11
  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 +49 -14
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +29 -3
  23. package/build/internal/cjs/index.typings.js +43 -11
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +25 -3
  26. package/build/internal/cjs/meta.js +35 -11
  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 +46 -14
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +29 -3
  32. package/build/internal/es/index.typings.mjs +40 -11
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +25 -3
  35. package/build/internal/es/meta.mjs +35 -11
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1,3 +1,4 @@
1
+ import * as _wix_sdk_types from '@wix/sdk-types';
1
2
  import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
2
3
 
3
4
  interface DraftPost {
@@ -285,6 +286,8 @@ interface Node extends NodeDataOneOf {
285
286
  layoutData?: LayoutData;
286
287
  /** Data for a cell node. */
287
288
  layoutCellData?: LayoutCellData;
289
+ /** Data for a shape node. */
290
+ shapeData?: ShapeData;
288
291
  /** 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. */
289
292
  type?: NodeTypeWithLiterals;
290
293
  /** Node ID. */
@@ -352,6 +355,8 @@ interface NodeDataOneOf {
352
355
  layoutData?: LayoutData;
353
356
  /** Data for a cell node. */
354
357
  layoutCellData?: LayoutCellData;
358
+ /** Data for a shape node. */
359
+ shapeData?: ShapeData;
355
360
  }
356
361
  declare enum NodeType {
357
362
  PARAGRAPH = "PARAGRAPH",
@@ -387,10 +392,11 @@ declare enum NodeType {
387
392
  AUDIO = "AUDIO",
388
393
  CAPTION = "CAPTION",
389
394
  LAYOUT = "LAYOUT",
390
- LAYOUT_CELL = "LAYOUT_CELL"
395
+ LAYOUT_CELL = "LAYOUT_CELL",
396
+ SHAPE = "SHAPE"
391
397
  }
392
398
  /** @enumType */
393
- type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
399
+ type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE';
394
400
  interface NodeStyle {
395
401
  /** The top padding value in pixels. */
396
402
  paddingTop?: string | null;
@@ -2057,6 +2063,23 @@ interface LayoutCellData {
2057
2063
  /** Size of the cell in 12 columns grid. */
2058
2064
  colSpan?: number | null;
2059
2065
  }
2066
+ interface ShapeData {
2067
+ /** Styling for the shape's container. */
2068
+ containerData?: PluginContainerData;
2069
+ /** Shape file details. */
2070
+ shape?: V1Media;
2071
+ /** Styling for the shape. */
2072
+ styles?: ShapeDataStyles;
2073
+ }
2074
+ interface ShapeDataStyles {
2075
+ /**
2076
+ * Shape fill color as a hexadecimal value.
2077
+ * @format COLOR_HEX
2078
+ */
2079
+ color?: string | null;
2080
+ /** Map of original color keys to their new color values. */
2081
+ colors?: Record<string, string>;
2082
+ }
2060
2083
  interface Metadata {
2061
2084
  /** Schema version. */
2062
2085
  version?: number;
@@ -4019,6 +4042,9 @@ type DraftPostQuery = {
4019
4042
  order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
4020
4043
  }[];
4021
4044
  };
4045
+ declare const QueryBuilder: () => _wix_sdk_types.QueryBuilder<DraftPost, DraftPostQuerySpec, DraftPostQuery>;
4046
+ declare const Filter: _wix_sdk_types.FilterFactory<DraftPost, DraftPostQuerySpec>;
4047
+ declare const Sort: _wix_sdk_types.SortFactory<DraftPostQuerySpec>;
4022
4048
  /**
4023
4049
  * Publishes a draft post by ID. This creates a new [post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)
4024
4050
  * with the data from the draft post.
@@ -4034,4 +4060,4 @@ type DraftPostQuery = {
4034
4060
  */
4035
4061
  declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
4036
4062
 
4037
- export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, 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, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, 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, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, 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, type PollSettings, Position, type PositionWithLiterals, type PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, 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, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, typedQueryDraftPosts, updateDraftPost };
4063
+ export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, Filter, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, 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, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, 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, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, 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, type PollSettings, Position, type PositionWithLiterals, type PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, QueryBuilder, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, Sort, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, 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, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, typedQueryDraftPosts, updateDraftPost };
@@ -224,7 +224,8 @@ function createDraftPost(payload) {
224
224
  },
225
225
  {
226
226
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
227
- }
227
+ },
228
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
228
229
  ]
229
230
  }
230
231
  ]);
@@ -321,7 +322,8 @@ function createDraftPost(payload) {
321
322
  },
322
323
  {
323
324
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
324
- }
325
+ },
326
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
325
327
  ]
326
328
  }
327
329
  ])
@@ -407,7 +409,8 @@ function bulkCreateDraftPosts(payload) {
407
409
  },
408
410
  {
409
411
  path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
410
- }
412
+ },
413
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" }
411
414
  ]
412
415
  }
413
416
  ]);
@@ -518,6 +521,9 @@ function bulkCreateDraftPosts(payload) {
518
521
  },
519
522
  {
520
523
  path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
524
+ },
525
+ {
526
+ path: "results.item.richContent.nodes.shapeData.shape.duration"
521
527
  }
522
528
  ]
523
529
  }
@@ -637,6 +643,9 @@ function bulkUpdateDraftPosts(payload) {
637
643
  },
638
644
  {
639
645
  path: "draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
646
+ },
647
+ {
648
+ path: "draftPosts.draftPost.richContent.nodes.shapeData.shape.duration"
640
649
  }
641
650
  ]
642
651
  }
@@ -748,6 +757,9 @@ function bulkUpdateDraftPosts(payload) {
748
757
  },
749
758
  {
750
759
  path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
760
+ },
761
+ {
762
+ path: "results.item.richContent.nodes.shapeData.shape.duration"
751
763
  }
752
764
  ]
753
765
  }
@@ -856,7 +868,8 @@ function listDeletedDraftPosts(payload) {
856
868
  },
857
869
  {
858
870
  path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
859
- }
871
+ },
872
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" }
860
873
  ]
861
874
  }
862
875
  ])
@@ -960,7 +973,8 @@ function getDraftPost(payload) {
960
973
  },
961
974
  {
962
975
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
963
- }
976
+ },
977
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
964
978
  ]
965
979
  }
966
980
  ])
@@ -1049,7 +1063,8 @@ function updateDraftPost(payload) {
1049
1063
  },
1050
1064
  {
1051
1065
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1052
- }
1066
+ },
1067
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1053
1068
  ]
1054
1069
  }
1055
1070
  ]);
@@ -1150,7 +1165,8 @@ function updateDraftPost(payload) {
1150
1165
  },
1151
1166
  {
1152
1167
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1153
- }
1168
+ },
1169
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1154
1170
  ]
1155
1171
  }
1156
1172
  ])
@@ -1310,6 +1326,9 @@ function bulkDeleteDraftPosts(payload) {
1310
1326
  },
1311
1327
  {
1312
1328
  path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
1329
+ },
1330
+ {
1331
+ path: "results.item.richContent.nodes.shapeData.shape.duration"
1313
1332
  }
1314
1333
  ]
1315
1334
  }
@@ -1418,7 +1437,8 @@ function listDraftPosts(payload) {
1418
1437
  },
1419
1438
  {
1420
1439
  path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
1421
- }
1440
+ },
1441
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" }
1422
1442
  ]
1423
1443
  }
1424
1444
  ])
@@ -1526,7 +1546,8 @@ function getDeletedDraftPost(payload) {
1526
1546
  },
1527
1547
  {
1528
1548
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1529
- }
1549
+ },
1550
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1530
1551
  ]
1531
1552
  }
1532
1553
  ])
@@ -1634,7 +1655,8 @@ function restoreFromTrashBin(payload) {
1634
1655
  },
1635
1656
  {
1636
1657
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1637
- }
1658
+ },
1659
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1638
1660
  ]
1639
1661
  }
1640
1662
  ])
@@ -1742,7 +1764,8 @@ function queryDraftPosts(payload) {
1742
1764
  },
1743
1765
  {
1744
1766
  path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
1745
- }
1767
+ },
1768
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" }
1746
1769
  ]
1747
1770
  }
1748
1771
  ])
@@ -1783,6 +1806,7 @@ import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformatio
1783
1806
  import { transformSDKPageURLToRESTPageURL } from "@wix/sdk-runtime/transformations/page-url";
1784
1807
  import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
1785
1808
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
1809
+ import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
1786
1810
  var Origin = /* @__PURE__ */ ((Origin2) => {
1787
1811
  Origin2["UNKNOWN"] = "UNKNOWN";
1788
1812
  Origin2["ADMIN"] = "ADMIN";
@@ -1856,6 +1880,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
1856
1880
  NodeType2["CAPTION"] = "CAPTION";
1857
1881
  NodeType2["LAYOUT"] = "LAYOUT";
1858
1882
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
1883
+ NodeType2["SHAPE"] = "SHAPE";
1859
1884
  return NodeType2;
1860
1885
  })(NodeType || {});
1861
1886
  var WidthType = /* @__PURE__ */ ((WidthType2) => {
@@ -2989,6 +3014,7 @@ async function typedQueryDraftPosts(query, options) {
2989
3014
  throw transformedError;
2990
3015
  }
2991
3016
  }
3017
+ var { QueryBuilder, Filter, Sort } = createQueryUtils();
2992
3018
  async function publishDraftPost2(draftPostId) {
2993
3019
  const { httpClient, sideEffects } = arguments[1];
2994
3020
  const payload = renameKeysFromSDKRequestToRESTRequest(
@@ -3029,6 +3055,7 @@ export {
3029
3055
  Direction,
3030
3056
  DividerDataAlignment,
3031
3057
  Field,
3058
+ Filter,
3032
3059
  FontType,
3033
3060
  GIFType,
3034
3061
  GetDraftPostsSort,
@@ -3048,9 +3075,11 @@ export {
3048
3075
  PollLayoutDirection,
3049
3076
  PollLayoutType,
3050
3077
  Position,
3078
+ QueryBuilder,
3051
3079
  Resizing,
3052
3080
  ResponsivenessBehaviour,
3053
3081
  Scaling,
3082
+ Sort,
3054
3083
  SortOrder,
3055
3084
  Source,
3056
3085
  Status,