@wix/auto_sdk_blog_posts 1.0.121 → 1.0.122

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 +4 -4
  2. package/build/cjs/index.js +71 -74
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +230 -143
  5. package/build/cjs/index.typings.js +47 -55
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +215 -145
  8. package/build/cjs/meta.js +39 -29
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +4 -4
  11. package/build/es/index.mjs +68 -74
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +230 -143
  14. package/build/es/index.typings.mjs +44 -55
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +215 -145
  17. package/build/es/meta.mjs +39 -29
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +4 -4
  20. package/build/internal/cjs/index.js +71 -74
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +231 -144
  23. package/build/internal/cjs/index.typings.js +47 -55
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +215 -145
  26. package/build/internal/cjs/meta.js +39 -29
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +4 -4
  29. package/build/internal/es/index.mjs +68 -74
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +231 -144
  32. package/build/internal/es/index.typings.mjs +44 -55
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +215 -145
  35. package/build/internal/es/meta.mjs +39 -29
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { QueryPostCountStatsOptions, QueryPostCountStatsResponse, GetTotalPostsOptions, GetTotalPostsResponse, GetPostOptions, GetPostResponse, GetPostBySlugOptions, GetPostBySlugResponse, ListPostsOptions, ListPostsResponse, GetPostMetricsResponse, PostLikedEnvelope, PostUnlikedEnvelope, PostCreatedEnvelope, PostDeletedEnvelope, PostUpdatedEnvelope, PostQuery, QueryPostsOptions, typedQueryPosts, PostsQueryBuilder } from './index.typings.mjs';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkDeletePostsRequest, BulkDeletePostsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonQueryWithEntityContext, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePostRequest, DeletePostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftPost, DraftPostTranslation, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPostBySlugRequest, GetPostCountPerMonthRequest, GetPostCountPerMonthResponse, GetPostMetricsRequest, GetPostRequest, GetPostTemplatesSort, GetPostTemplatesSortWithLiterals, GetPostsSort, GetPostsSortWithLiterals, GetTemplateRequest, GetTemplateResponse, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LikePostRequest, LikePostResponse, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListTemplatesRequest, ListTemplatesResponse, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, ModerationStatusStatus, ModerationStatusStatusWithLiterals, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, OldBlogMigratedEvent, Option, OptionDesign, OptionLayout, Order, OrderWithLiterals, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, Placement, PlacementWithLiterals, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Post, PostCategoriesUpdated, PostCountInfo, PostCountPerMonth, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostFieldField, PostFieldFieldWithLiterals, PostLiked, PostLikedInitiatorOneOf, PostOwnerChanged, PostQuerySpec, PostTagsUpdated, PostTranslation, PostUnliked, PostUnlikedInitiatorOneOf, PostsQueryResult, PricingData, QueryPostCountStatsRequest, QueryPostsRequest, QueryPostsResponse, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsRequestOrderWithLiterals, QueryPublicationsCountStatsResponse, Reactions, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, ScheduledPostPublished, SeoSchema, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewPostRequest, ViewPostResponse, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia } from './index.typings.mjs';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkDeletePostsRequest, BulkDeletePostsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonQueryWithEntityContext, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePostRequest, DeletePostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftPost, DraftPostTranslation, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, Filter, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPostBySlugRequest, GetPostCountPerMonthRequest, GetPostCountPerMonthResponse, GetPostMetricsRequest, GetPostRequest, GetPostTemplatesSort, GetPostTemplatesSortWithLiterals, GetPostsSort, GetPostsSortWithLiterals, GetTemplateRequest, GetTemplateResponse, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LikePostRequest, LikePostResponse, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListTemplatesRequest, ListTemplatesResponse, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, ModerationStatusStatus, ModerationStatusStatusWithLiterals, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, Order, OrderWithLiterals, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, Placement, PlacementWithLiterals, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Post, PostCategoriesUpdated, PostCountInfo, PostCountPerMonth, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostFieldField, PostFieldFieldWithLiterals, PostLiked, PostLikedInitiatorOneOf, PostOwnerChanged, PostQuerySpec, PostTagsUpdated, PostTranslation, PostUnliked, PostUnlikedInitiatorOneOf, PostsQueryResult, PricingData, QueryBuilder, QueryPostCountStatsRequest, QueryPostsRequest, QueryPostsResponse, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsRequestOrderWithLiterals, QueryPublicationsCountStatsResponse, Reactions, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, ScheduledPostPublished, SeoSchema, Settings, ShapeData, ShapeDataStyles, Sort, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewPostRequest, ViewPostResponse, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia } from './index.typings.mjs';
4
4
 
5
5
  declare function queryPostCountStats$1(httpClient: HttpClient): QueryPostCountStatsSignature;
6
6
  interface QueryPostCountStatsSignature {
@@ -33,7 +33,7 @@ interface GetPostSignature {
33
33
  * @param - Post ID.
34
34
  * @param - Options specifying which fields to return.
35
35
  */
36
- (postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.coverMedia.enabled` | `post.coverMedia.displayed` | `post.coverMedia.custom` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
36
+ (postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
37
37
  }
38
38
  declare function getPostBySlug$1(httpClient: HttpClient): GetPostBySlugSignature;
39
39
  interface GetPostBySlugSignature {
@@ -47,7 +47,7 @@ interface GetPostBySlugSignature {
47
47
  * @param - Slug of the post to retrieve.
48
48
  * @param - Options specifying which fields to return.
49
49
  */
50
- (slug: string, options?: GetPostBySlugOptions): Promise<NonNullablePaths<GetPostBySlugResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.coverMedia.enabled` | `post.coverMedia.displayed` | `post.coverMedia.custom` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
50
+ (slug: string, options?: GetPostBySlugOptions): Promise<NonNullablePaths<GetPostBySlugResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
51
51
  }
52
52
  declare function listPosts$1(httpClient: HttpClient): ListPostsSignature;
53
53
  interface ListPostsSignature {
@@ -60,7 +60,7 @@ interface ListPostsSignature {
60
60
  * - `paging.offset` is `0`.
61
61
  * @param - Sort, filter, and paging options.
62
62
  */
63
- (options?: ListPostsOptions): Promise<NonNullablePaths<ListPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.coverMedia.enabled` | `posts.${number}.coverMedia.displayed` | `posts.${number}.coverMedia.custom` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges` | `metaData.count` | `metaData.offset` | `metaData.total`, 6>>;
63
+ (options?: ListPostsOptions): Promise<NonNullablePaths<ListPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges` | `metaData.count` | `metaData.offset` | `metaData.total`, 6>>;
64
64
  }
65
65
  declare function getPostMetrics$1(httpClient: HttpClient): GetPostMetricsSignature;
66
66
  interface GetPostMetricsSignature {
@@ -6,7 +6,6 @@ import { transformRESTImageToSDKImage as transformRESTImageToSDKImage2 } from "@
6
6
  import { transformRESTPageURLToSDKPageURL as transformRESTPageURLToSDKPageURL2 } from "@wix/sdk-runtime/transformations/page-url";
7
7
  import { transformRESTTimestampToSDKTimestamp as transformRESTTimestampToSDKTimestamp2 } from "@wix/sdk-runtime/transformations/timestamp";
8
8
  import { transformPaths as transformPaths3 } from "@wix/sdk-runtime/transformations/transform-paths";
9
- import { transformRESTVideoToSDKVideo as transformRESTVideoToSDKVideo2 } from "@wix/sdk-runtime/transformations/video";
10
9
  import { transformRESTVideoV2ToSDKVideoV2 as transformRESTVideoV2ToSDKVideoV22 } from "@wix/sdk-runtime/transformations/video-v2";
11
10
  import { EventDefinition } from "@wix/sdk-types";
12
11
 
@@ -341,8 +340,6 @@ function getPost(payload) {
341
340
  paths: [
342
341
  { path: "post.firstPublishedDate" },
343
342
  { path: "post.lastPublishedDate" },
344
- { path: "post.coverMedia.image.urlExpirationDate" },
345
- { path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
346
343
  { path: "post.heroImage.urlExpirationDate" },
347
344
  { path: "post.richContent.metadata.createdTimestamp" },
348
345
  { path: "post.richContent.metadata.updatedTimestamp" },
@@ -366,10 +363,6 @@ function getPost(payload) {
366
363
  {
367
364
  transformFn: transformRESTFloatToSDKFloat,
368
365
  paths: [
369
- { path: "post.coverMedia.image.focalPoint.x" },
370
- { path: "post.coverMedia.image.focalPoint.y" },
371
- { path: "post.coverMedia.video.thumbnail.focalPoint.x" },
372
- { path: "post.coverMedia.video.thumbnail.focalPoint.y" },
373
366
  { path: "post.heroImage.focalPoint.x" },
374
367
  { path: "post.heroImage.focalPoint.y" },
375
368
  { path: "post.media.wixMedia.image.focalPoint.x" },
@@ -407,7 +400,14 @@ function getPost(payload) {
407
400
  { path: "post.richContent.nodes.videoData.video.duration" },
408
401
  { path: "post.richContent.nodes.videoData.thumbnail.duration" },
409
402
  { path: "post.richContent.nodes.audioData.audio.duration" },
410
- { path: "post.richContent.nodes.audioData.coverImage.duration" }
403
+ { path: "post.richContent.nodes.audioData.coverImage.duration" },
404
+ {
405
+ path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
406
+ },
407
+ {
408
+ path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
409
+ },
410
+ { path: "post.richContent.nodes.shapeData.shape.duration" }
411
411
  ]
412
412
  }
413
413
  ])
@@ -438,8 +438,6 @@ function getPostBySlug(payload) {
438
438
  paths: [
439
439
  { path: "post.firstPublishedDate" },
440
440
  { path: "post.lastPublishedDate" },
441
- { path: "post.coverMedia.image.urlExpirationDate" },
442
- { path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
443
441
  { path: "post.heroImage.urlExpirationDate" },
444
442
  { path: "post.richContent.metadata.createdTimestamp" },
445
443
  { path: "post.richContent.metadata.updatedTimestamp" },
@@ -463,10 +461,6 @@ function getPostBySlug(payload) {
463
461
  {
464
462
  transformFn: transformRESTFloatToSDKFloat,
465
463
  paths: [
466
- { path: "post.coverMedia.image.focalPoint.x" },
467
- { path: "post.coverMedia.image.focalPoint.y" },
468
- { path: "post.coverMedia.video.thumbnail.focalPoint.x" },
469
- { path: "post.coverMedia.video.thumbnail.focalPoint.y" },
470
464
  { path: "post.heroImage.focalPoint.x" },
471
465
  { path: "post.heroImage.focalPoint.y" },
472
466
  { path: "post.media.wixMedia.image.focalPoint.x" },
@@ -504,7 +498,14 @@ function getPostBySlug(payload) {
504
498
  { path: "post.richContent.nodes.videoData.video.duration" },
505
499
  { path: "post.richContent.nodes.videoData.thumbnail.duration" },
506
500
  { path: "post.richContent.nodes.audioData.audio.duration" },
507
- { path: "post.richContent.nodes.audioData.coverImage.duration" }
501
+ { path: "post.richContent.nodes.audioData.coverImage.duration" },
502
+ {
503
+ path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
504
+ },
505
+ {
506
+ path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
507
+ },
508
+ { path: "post.richContent.nodes.shapeData.shape.duration" }
508
509
  ]
509
510
  }
510
511
  ])
@@ -535,8 +536,6 @@ function listPosts(payload) {
535
536
  paths: [
536
537
  { path: "posts.firstPublishedDate" },
537
538
  { path: "posts.lastPublishedDate" },
538
- { path: "posts.coverMedia.image.urlExpirationDate" },
539
- { path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
540
539
  { path: "posts.heroImage.urlExpirationDate" },
541
540
  { path: "posts.richContent.metadata.createdTimestamp" },
542
541
  { path: "posts.richContent.metadata.updatedTimestamp" },
@@ -562,10 +561,6 @@ function listPosts(payload) {
562
561
  {
563
562
  transformFn: transformRESTFloatToSDKFloat,
564
563
  paths: [
565
- { path: "posts.coverMedia.image.focalPoint.x" },
566
- { path: "posts.coverMedia.image.focalPoint.y" },
567
- { path: "posts.coverMedia.video.thumbnail.focalPoint.x" },
568
- { path: "posts.coverMedia.video.thumbnail.focalPoint.y" },
569
564
  { path: "posts.heroImage.focalPoint.x" },
570
565
  { path: "posts.heroImage.focalPoint.y" },
571
566
  { path: "posts.media.wixMedia.image.focalPoint.x" },
@@ -605,7 +600,14 @@ function listPosts(payload) {
605
600
  { path: "posts.richContent.nodes.videoData.video.duration" },
606
601
  { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
607
602
  { path: "posts.richContent.nodes.audioData.audio.duration" },
608
- { path: "posts.richContent.nodes.audioData.coverImage.duration" }
603
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
604
+ {
605
+ path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
606
+ },
607
+ {
608
+ path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
609
+ },
610
+ { path: "posts.richContent.nodes.shapeData.shape.duration" }
609
611
  ]
610
612
  }
611
613
  ])
@@ -636,8 +638,6 @@ function queryPosts(payload) {
636
638
  paths: [
637
639
  { path: "posts.firstPublishedDate" },
638
640
  { path: "posts.lastPublishedDate" },
639
- { path: "posts.coverMedia.image.urlExpirationDate" },
640
- { path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
641
641
  { path: "posts.heroImage.urlExpirationDate" },
642
642
  { path: "posts.richContent.metadata.createdTimestamp" },
643
643
  { path: "posts.richContent.metadata.updatedTimestamp" },
@@ -663,10 +663,6 @@ function queryPosts(payload) {
663
663
  {
664
664
  transformFn: transformRESTFloatToSDKFloat,
665
665
  paths: [
666
- { path: "posts.coverMedia.image.focalPoint.x" },
667
- { path: "posts.coverMedia.image.focalPoint.y" },
668
- { path: "posts.coverMedia.video.thumbnail.focalPoint.x" },
669
- { path: "posts.coverMedia.video.thumbnail.focalPoint.y" },
670
666
  { path: "posts.heroImage.focalPoint.x" },
671
667
  { path: "posts.heroImage.focalPoint.y" },
672
668
  { path: "posts.media.wixMedia.image.focalPoint.x" },
@@ -706,7 +702,14 @@ function queryPosts(payload) {
706
702
  { path: "posts.richContent.nodes.videoData.video.duration" },
707
703
  { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
708
704
  { path: "posts.richContent.nodes.audioData.audio.duration" },
709
- { path: "posts.richContent.nodes.audioData.coverImage.duration" }
705
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
706
+ {
707
+ path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
708
+ },
709
+ {
710
+ path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
711
+ },
712
+ { path: "posts.richContent.nodes.shapeData.shape.duration" }
710
713
  ]
711
714
  }
712
715
  ])
@@ -746,9 +749,9 @@ function getPostMetrics(payload) {
746
749
  // src/blog-v3-post-posts.universal.ts
747
750
  import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
748
751
  import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
749
- import { transformRESTVideoToSDKVideo } from "@wix/sdk-runtime/transformations/video";
750
752
  import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
751
753
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
754
+ import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
752
755
  var NodeType = /* @__PURE__ */ ((NodeType2) => {
753
756
  NodeType2["PARAGRAPH"] = "PARAGRAPH";
754
757
  NodeType2["TEXT"] = "TEXT";
@@ -783,6 +786,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
783
786
  NodeType2["CAPTION"] = "CAPTION";
784
787
  NodeType2["LAYOUT"] = "LAYOUT";
785
788
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
789
+ NodeType2["SHAPE"] = "SHAPE";
786
790
  return NodeType2;
787
791
  })(NodeType || {});
788
792
  var WidthType = /* @__PURE__ */ ((WidthType2) => {
@@ -875,13 +879,14 @@ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
875
879
  return ThumbnailsAlignment2;
876
880
  })(ThumbnailsAlignment || {});
877
881
  var GIFType = /* @__PURE__ */ ((GIFType2) => {
878
- GIFType2["GIF"] = "GIF";
882
+ GIFType2["NORMAL"] = "NORMAL";
879
883
  GIFType2["STICKER"] = "STICKER";
880
884
  return GIFType2;
881
885
  })(GIFType || {});
882
886
  var Source = /* @__PURE__ */ ((Source2) => {
883
887
  Source2["HTML"] = "HTML";
884
888
  Source2["ADSENSE"] = "ADSENSE";
889
+ Source2["AI"] = "AI";
885
890
  return Source2;
886
891
  })(Source || {});
887
892
  var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
@@ -936,6 +941,10 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
936
941
  DecorationType2["COLOR"] = "COLOR";
937
942
  DecorationType2["FONT_SIZE"] = "FONT_SIZE";
938
943
  DecorationType2["EXTERNAL"] = "EXTERNAL";
944
+ DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
945
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
946
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
947
+ DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
939
948
  return DecorationType2;
940
949
  })(DecorationType || {});
941
950
  var FontType = /* @__PURE__ */ ((FontType2) => {
@@ -1239,14 +1248,9 @@ async function getPost2(postId, options) {
1239
1248
  transformFn: transformRESTImageToSDKImage,
1240
1249
  paths: [
1241
1250
  { path: "post.heroImage" },
1242
- { path: "post.coverMedia.image" },
1243
1251
  { path: "post.media.wixMedia.image" }
1244
1252
  ]
1245
1253
  },
1246
- {
1247
- transformFn: transformRESTVideoToSDKVideo,
1248
- paths: [{ path: "post.coverMedia.video" }]
1249
- },
1250
1254
  {
1251
1255
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1252
1256
  paths: [{ path: "post.media.wixMedia.videoV2" }]
@@ -1292,14 +1296,9 @@ async function getPostBySlug2(slug, options) {
1292
1296
  transformFn: transformRESTImageToSDKImage,
1293
1297
  paths: [
1294
1298
  { path: "post.heroImage" },
1295
- { path: "post.coverMedia.image" },
1296
1299
  { path: "post.media.wixMedia.image" }
1297
1300
  ]
1298
1301
  },
1299
- {
1300
- transformFn: transformRESTVideoToSDKVideo,
1301
- paths: [{ path: "post.coverMedia.video" }]
1302
- },
1303
1302
  {
1304
1303
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1305
1304
  paths: [{ path: "post.media.wixMedia.videoV2" }]
@@ -1356,14 +1355,9 @@ async function listPosts2(options) {
1356
1355
  transformFn: transformRESTImageToSDKImage,
1357
1356
  paths: [
1358
1357
  { path: "posts.heroImage" },
1359
- { path: "posts.coverMedia.image" },
1360
1358
  { path: "posts.media.wixMedia.image" }
1361
1359
  ]
1362
1360
  },
1363
- {
1364
- transformFn: transformRESTVideoToSDKVideo,
1365
- paths: [{ path: "posts.coverMedia.video" }]
1366
- },
1367
1361
  {
1368
1362
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1369
1363
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
@@ -1431,14 +1425,9 @@ function queryPosts2(options) {
1431
1425
  transformFn: transformRESTImageToSDKImage,
1432
1426
  paths: [
1433
1427
  { path: "posts.heroImage" },
1434
- { path: "posts.coverMedia.image" },
1435
1428
  { path: "posts.media.wixMedia.image" }
1436
1429
  ]
1437
1430
  },
1438
- {
1439
- transformFn: transformRESTVideoToSDKVideo,
1440
- paths: [{ path: "posts.coverMedia.video" }]
1441
- },
1442
1431
  {
1443
1432
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1444
1433
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
@@ -1484,14 +1473,9 @@ async function typedQueryPosts(query, options) {
1484
1473
  transformFn: transformRESTImageToSDKImage,
1485
1474
  paths: [
1486
1475
  { path: "posts.heroImage" },
1487
- { path: "posts.coverMedia.image" },
1488
1476
  { path: "posts.media.wixMedia.image" }
1489
1477
  ]
1490
1478
  },
1491
- {
1492
- transformFn: transformRESTVideoToSDKVideo,
1493
- paths: [{ path: "posts.coverMedia.video" }]
1494
- },
1495
1479
  {
1496
1480
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1497
1481
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
@@ -1513,6 +1497,7 @@ async function typedQueryPosts(query, options) {
1513
1497
  throw transformedError;
1514
1498
  }
1515
1499
  }
1500
+ var { QueryBuilder, Filter, Sort } = createQueryUtils();
1516
1501
  async function getPostMetrics2(postId) {
1517
1502
  const { httpClient, sideEffects } = arguments[1];
1518
1503
  const payload = renameKeysFromSDKRequestToRESTRequest({ postId }, []);
@@ -1648,7 +1633,6 @@ var onPostCreated = EventDefinition(
1648
1633
  transformFn: transformRESTImageToSDKImage2,
1649
1634
  paths: [
1650
1635
  { path: "entity.heroImage" },
1651
- { path: "entity.coverMedia.image" },
1652
1636
  { path: "entity.media.wixMedia.image" }
1653
1637
  ]
1654
1638
  },
@@ -1656,10 +1640,6 @@ var onPostCreated = EventDefinition(
1656
1640
  transformFn: transformRESTBytesToSDKBytes2,
1657
1641
  paths: [{ path: "entity.richContentCompressed" }]
1658
1642
  },
1659
- {
1660
- transformFn: transformRESTVideoToSDKVideo2,
1661
- paths: [{ path: "entity.coverMedia.video" }]
1662
- },
1663
1643
  {
1664
1644
  transformFn: transformRESTFloatToSDKFloat2,
1665
1645
  paths: [
@@ -1688,7 +1668,14 @@ var onPostCreated = EventDefinition(
1688
1668
  { path: "entity.richContent.nodes.videoData.video.duration" },
1689
1669
  { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
1690
1670
  { path: "entity.richContent.nodes.audioData.audio.duration" },
1691
- { path: "entity.richContent.nodes.audioData.coverImage.duration" }
1671
+ { path: "entity.richContent.nodes.audioData.coverImage.duration" },
1672
+ {
1673
+ path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
1674
+ },
1675
+ {
1676
+ path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
1677
+ },
1678
+ { path: "entity.richContent.nodes.shapeData.shape.duration" }
1692
1679
  ]
1693
1680
  },
1694
1681
  {
@@ -1724,7 +1711,6 @@ var onPostDeleted = EventDefinition(
1724
1711
  transformFn: transformRESTImageToSDKImage2,
1725
1712
  paths: [
1726
1713
  { path: "entity.heroImage" },
1727
- { path: "entity.coverMedia.image" },
1728
1714
  { path: "entity.media.wixMedia.image" }
1729
1715
  ]
1730
1716
  },
@@ -1732,10 +1718,6 @@ var onPostDeleted = EventDefinition(
1732
1718
  transformFn: transformRESTBytesToSDKBytes2,
1733
1719
  paths: [{ path: "entity.richContentCompressed" }]
1734
1720
  },
1735
- {
1736
- transformFn: transformRESTVideoToSDKVideo2,
1737
- paths: [{ path: "entity.coverMedia.video" }]
1738
- },
1739
1721
  {
1740
1722
  transformFn: transformRESTFloatToSDKFloat2,
1741
1723
  paths: [
@@ -1764,7 +1746,14 @@ var onPostDeleted = EventDefinition(
1764
1746
  { path: "entity.richContent.nodes.videoData.video.duration" },
1765
1747
  { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
1766
1748
  { path: "entity.richContent.nodes.audioData.audio.duration" },
1767
- { path: "entity.richContent.nodes.audioData.coverImage.duration" }
1749
+ { path: "entity.richContent.nodes.audioData.coverImage.duration" },
1750
+ {
1751
+ path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
1752
+ },
1753
+ {
1754
+ path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
1755
+ },
1756
+ { path: "entity.richContent.nodes.shapeData.shape.duration" }
1768
1757
  ]
1769
1758
  },
1770
1759
  {
@@ -1800,7 +1789,6 @@ var onPostUpdated = EventDefinition(
1800
1789
  transformFn: transformRESTImageToSDKImage2,
1801
1790
  paths: [
1802
1791
  { path: "entity.heroImage" },
1803
- { path: "entity.coverMedia.image" },
1804
1792
  { path: "entity.media.wixMedia.image" }
1805
1793
  ]
1806
1794
  },
@@ -1808,10 +1796,6 @@ var onPostUpdated = EventDefinition(
1808
1796
  transformFn: transformRESTBytesToSDKBytes2,
1809
1797
  paths: [{ path: "entity.richContentCompressed" }]
1810
1798
  },
1811
- {
1812
- transformFn: transformRESTVideoToSDKVideo2,
1813
- paths: [{ path: "entity.coverMedia.video" }]
1814
- },
1815
1799
  {
1816
1800
  transformFn: transformRESTFloatToSDKFloat2,
1817
1801
  paths: [
@@ -1840,7 +1824,14 @@ var onPostUpdated = EventDefinition(
1840
1824
  { path: "entity.richContent.nodes.videoData.video.duration" },
1841
1825
  { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
1842
1826
  { path: "entity.richContent.nodes.audioData.audio.duration" },
1843
- { path: "entity.richContent.nodes.audioData.coverImage.duration" }
1827
+ { path: "entity.richContent.nodes.audioData.coverImage.duration" },
1828
+ {
1829
+ path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
1830
+ },
1831
+ {
1832
+ path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
1833
+ },
1834
+ { path: "entity.richContent.nodes.shapeData.shape.duration" }
1844
1835
  ]
1845
1836
  },
1846
1837
  {
@@ -1891,6 +1882,7 @@ export {
1891
1882
  Direction,
1892
1883
  DividerDataAlignment,
1893
1884
  Field,
1885
+ Filter,
1894
1886
  FontType,
1895
1887
  GIFType,
1896
1888
  GetPostTemplatesSort,
@@ -1913,10 +1905,12 @@ export {
1913
1905
  PollLayoutType,
1914
1906
  Position,
1915
1907
  PostFieldField,
1908
+ QueryBuilder,
1916
1909
  QueryPublicationsCountStatsRequestOrder,
1917
1910
  Resizing,
1918
1911
  ResponsivenessBehaviour,
1919
1912
  Scaling,
1913
+ Sort,
1920
1914
  SortOrder,
1921
1915
  Source,
1922
1916
  Status,