@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 };
@@ -33,6 +33,7 @@ __export(index_typings_exports, {
33
33
  Direction: () => Direction,
34
34
  DividerDataAlignment: () => DividerDataAlignment,
35
35
  Field: () => Field,
36
+ Filter: () => Filter,
36
37
  FontType: () => FontType,
37
38
  GIFType: () => GIFType,
38
39
  GetDraftPostsSort: () => GetDraftPostsSort,
@@ -52,9 +53,11 @@ __export(index_typings_exports, {
52
53
  PollLayoutDirection: () => PollLayoutDirection,
53
54
  PollLayoutType: () => PollLayoutType,
54
55
  Position: () => Position,
56
+ QueryBuilder: () => QueryBuilder,
55
57
  Resizing: () => Resizing,
56
58
  ResponsivenessBehaviour: () => ResponsivenessBehaviour,
57
59
  Scaling: () => Scaling,
60
+ Sort: () => Sort,
58
61
  SortOrder: () => SortOrder,
59
62
  Source: () => Source,
60
63
  Status: () => Status,
@@ -313,7 +316,8 @@ function createDraftPost(payload) {
313
316
  },
314
317
  {
315
318
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
316
- }
319
+ },
320
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
317
321
  ]
318
322
  }
319
323
  ]);
@@ -410,7 +414,8 @@ function createDraftPost(payload) {
410
414
  },
411
415
  {
412
416
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
413
- }
417
+ },
418
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
414
419
  ]
415
420
  }
416
421
  ])
@@ -496,7 +501,8 @@ function bulkCreateDraftPosts(payload) {
496
501
  },
497
502
  {
498
503
  path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
499
- }
504
+ },
505
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" }
500
506
  ]
501
507
  }
502
508
  ]);
@@ -607,6 +613,9 @@ function bulkCreateDraftPosts(payload) {
607
613
  },
608
614
  {
609
615
  path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
616
+ },
617
+ {
618
+ path: "results.item.richContent.nodes.shapeData.shape.duration"
610
619
  }
611
620
  ]
612
621
  }
@@ -726,6 +735,9 @@ function bulkUpdateDraftPosts(payload) {
726
735
  },
727
736
  {
728
737
  path: "draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
738
+ },
739
+ {
740
+ path: "draftPosts.draftPost.richContent.nodes.shapeData.shape.duration"
729
741
  }
730
742
  ]
731
743
  }
@@ -837,6 +849,9 @@ function bulkUpdateDraftPosts(payload) {
837
849
  },
838
850
  {
839
851
  path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
852
+ },
853
+ {
854
+ path: "results.item.richContent.nodes.shapeData.shape.duration"
840
855
  }
841
856
  ]
842
857
  }
@@ -945,7 +960,8 @@ function listDeletedDraftPosts(payload) {
945
960
  },
946
961
  {
947
962
  path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
948
- }
963
+ },
964
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" }
949
965
  ]
950
966
  }
951
967
  ])
@@ -1049,7 +1065,8 @@ function getDraftPost(payload) {
1049
1065
  },
1050
1066
  {
1051
1067
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1052
- }
1068
+ },
1069
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1053
1070
  ]
1054
1071
  }
1055
1072
  ])
@@ -1138,7 +1155,8 @@ function updateDraftPost(payload) {
1138
1155
  },
1139
1156
  {
1140
1157
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1141
- }
1158
+ },
1159
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1142
1160
  ]
1143
1161
  }
1144
1162
  ]);
@@ -1239,7 +1257,8 @@ function updateDraftPost(payload) {
1239
1257
  },
1240
1258
  {
1241
1259
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1242
- }
1260
+ },
1261
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1243
1262
  ]
1244
1263
  }
1245
1264
  ])
@@ -1399,6 +1418,9 @@ function bulkDeleteDraftPosts(payload) {
1399
1418
  },
1400
1419
  {
1401
1420
  path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
1421
+ },
1422
+ {
1423
+ path: "results.item.richContent.nodes.shapeData.shape.duration"
1402
1424
  }
1403
1425
  ]
1404
1426
  }
@@ -1507,7 +1529,8 @@ function listDraftPosts(payload) {
1507
1529
  },
1508
1530
  {
1509
1531
  path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
1510
- }
1532
+ },
1533
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" }
1511
1534
  ]
1512
1535
  }
1513
1536
  ])
@@ -1615,7 +1638,8 @@ function getDeletedDraftPost(payload) {
1615
1638
  },
1616
1639
  {
1617
1640
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1618
- }
1641
+ },
1642
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1619
1643
  ]
1620
1644
  }
1621
1645
  ])
@@ -1723,7 +1747,8 @@ function restoreFromTrashBin(payload) {
1723
1747
  },
1724
1748
  {
1725
1749
  path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
1726
- }
1750
+ },
1751
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" }
1727
1752
  ]
1728
1753
  }
1729
1754
  ])
@@ -1831,7 +1856,8 @@ function queryDraftPosts(payload) {
1831
1856
  },
1832
1857
  {
1833
1858
  path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
1834
- }
1859
+ },
1860
+ { path: "draftPosts.richContent.nodes.shapeData.shape.duration" }
1835
1861
  ]
1836
1862
  }
1837
1863
  ])
@@ -1872,6 +1898,7 @@ var import_video_v22 = require("@wix/sdk-runtime/transformations/video-v2");
1872
1898
  var import_page_url = require("@wix/sdk-runtime/transformations/page-url");
1873
1899
  var import_page_url2 = require("@wix/sdk-runtime/transformations/page-url");
1874
1900
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
1901
+ var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
1875
1902
  var Origin = /* @__PURE__ */ ((Origin2) => {
1876
1903
  Origin2["UNKNOWN"] = "UNKNOWN";
1877
1904
  Origin2["ADMIN"] = "ADMIN";
@@ -1945,6 +1972,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
1945
1972
  NodeType2["CAPTION"] = "CAPTION";
1946
1973
  NodeType2["LAYOUT"] = "LAYOUT";
1947
1974
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
1975
+ NodeType2["SHAPE"] = "SHAPE";
1948
1976
  return NodeType2;
1949
1977
  })(NodeType || {});
1950
1978
  var WidthType = /* @__PURE__ */ ((WidthType2) => {
@@ -3078,6 +3106,7 @@ async function typedQueryDraftPosts(query, options) {
3078
3106
  throw transformedError;
3079
3107
  }
3080
3108
  }
3109
+ var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
3081
3110
  async function publishDraftPost2(draftPostId) {
3082
3111
  const { httpClient, sideEffects } = arguments[1];
3083
3112
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
@@ -3119,6 +3148,7 @@ async function publishDraftPost2(draftPostId) {
3119
3148
  Direction,
3120
3149
  DividerDataAlignment,
3121
3150
  Field,
3151
+ Filter,
3122
3152
  FontType,
3123
3153
  GIFType,
3124
3154
  GetDraftPostsSort,
@@ -3138,9 +3168,11 @@ async function publishDraftPost2(draftPostId) {
3138
3168
  PollLayoutDirection,
3139
3169
  PollLayoutType,
3140
3170
  Position,
3171
+ QueryBuilder,
3141
3172
  Resizing,
3142
3173
  ResponsivenessBehaviour,
3143
3174
  Scaling,
3175
+ Sort,
3144
3176
  SortOrder,
3145
3177
  Source,
3146
3178
  Status,