@wix/auto_sdk_blog_posts 1.0.121 → 1.0.123

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 +75 -74
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +352 -144
  5. package/build/cjs/index.typings.js +51 -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 +43 -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 +72 -74
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +352 -144
  14. package/build/es/index.typings.mjs +48 -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 +43 -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 +75 -74
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +353 -145
  23. package/build/internal/cjs/index.typings.js +51 -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 +43 -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 +72 -74
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +353 -145
  32. package/build/internal/es/index.typings.mjs +48 -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 +43 -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
 
@@ -223,6 +222,10 @@ function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opt
223
222
  {
224
223
  srcPath: "/_api/communities-blog-node-api",
225
224
  destPath: ""
225
+ },
226
+ {
227
+ srcPath: "/_api/communities-blog-node-api/v3/multilingual",
228
+ destPath: "/v3/multilingual"
226
229
  }
227
230
  ],
228
231
  "social-blog._base_domain_": [
@@ -341,8 +344,6 @@ function getPost(payload) {
341
344
  paths: [
342
345
  { path: "post.firstPublishedDate" },
343
346
  { path: "post.lastPublishedDate" },
344
- { path: "post.coverMedia.image.urlExpirationDate" },
345
- { path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
346
347
  { path: "post.heroImage.urlExpirationDate" },
347
348
  { path: "post.richContent.metadata.createdTimestamp" },
348
349
  { path: "post.richContent.metadata.updatedTimestamp" },
@@ -366,10 +367,6 @@ function getPost(payload) {
366
367
  {
367
368
  transformFn: transformRESTFloatToSDKFloat,
368
369
  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
370
  { path: "post.heroImage.focalPoint.x" },
374
371
  { path: "post.heroImage.focalPoint.y" },
375
372
  { path: "post.media.wixMedia.image.focalPoint.x" },
@@ -407,7 +404,14 @@ function getPost(payload) {
407
404
  { path: "post.richContent.nodes.videoData.video.duration" },
408
405
  { path: "post.richContent.nodes.videoData.thumbnail.duration" },
409
406
  { path: "post.richContent.nodes.audioData.audio.duration" },
410
- { path: "post.richContent.nodes.audioData.coverImage.duration" }
407
+ { path: "post.richContent.nodes.audioData.coverImage.duration" },
408
+ {
409
+ path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
410
+ },
411
+ {
412
+ path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
413
+ },
414
+ { path: "post.richContent.nodes.shapeData.shape.duration" }
411
415
  ]
412
416
  }
413
417
  ])
@@ -438,8 +442,6 @@ function getPostBySlug(payload) {
438
442
  paths: [
439
443
  { path: "post.firstPublishedDate" },
440
444
  { path: "post.lastPublishedDate" },
441
- { path: "post.coverMedia.image.urlExpirationDate" },
442
- { path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
443
445
  { path: "post.heroImage.urlExpirationDate" },
444
446
  { path: "post.richContent.metadata.createdTimestamp" },
445
447
  { path: "post.richContent.metadata.updatedTimestamp" },
@@ -463,10 +465,6 @@ function getPostBySlug(payload) {
463
465
  {
464
466
  transformFn: transformRESTFloatToSDKFloat,
465
467
  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
468
  { path: "post.heroImage.focalPoint.x" },
471
469
  { path: "post.heroImage.focalPoint.y" },
472
470
  { path: "post.media.wixMedia.image.focalPoint.x" },
@@ -504,7 +502,14 @@ function getPostBySlug(payload) {
504
502
  { path: "post.richContent.nodes.videoData.video.duration" },
505
503
  { path: "post.richContent.nodes.videoData.thumbnail.duration" },
506
504
  { path: "post.richContent.nodes.audioData.audio.duration" },
507
- { path: "post.richContent.nodes.audioData.coverImage.duration" }
505
+ { path: "post.richContent.nodes.audioData.coverImage.duration" },
506
+ {
507
+ path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
508
+ },
509
+ {
510
+ path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
511
+ },
512
+ { path: "post.richContent.nodes.shapeData.shape.duration" }
508
513
  ]
509
514
  }
510
515
  ])
@@ -535,8 +540,6 @@ function listPosts(payload) {
535
540
  paths: [
536
541
  { path: "posts.firstPublishedDate" },
537
542
  { path: "posts.lastPublishedDate" },
538
- { path: "posts.coverMedia.image.urlExpirationDate" },
539
- { path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
540
543
  { path: "posts.heroImage.urlExpirationDate" },
541
544
  { path: "posts.richContent.metadata.createdTimestamp" },
542
545
  { path: "posts.richContent.metadata.updatedTimestamp" },
@@ -562,10 +565,6 @@ function listPosts(payload) {
562
565
  {
563
566
  transformFn: transformRESTFloatToSDKFloat,
564
567
  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
568
  { path: "posts.heroImage.focalPoint.x" },
570
569
  { path: "posts.heroImage.focalPoint.y" },
571
570
  { path: "posts.media.wixMedia.image.focalPoint.x" },
@@ -605,7 +604,14 @@ function listPosts(payload) {
605
604
  { path: "posts.richContent.nodes.videoData.video.duration" },
606
605
  { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
607
606
  { path: "posts.richContent.nodes.audioData.audio.duration" },
608
- { path: "posts.richContent.nodes.audioData.coverImage.duration" }
607
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
608
+ {
609
+ path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
610
+ },
611
+ {
612
+ path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
613
+ },
614
+ { path: "posts.richContent.nodes.shapeData.shape.duration" }
609
615
  ]
610
616
  }
611
617
  ])
@@ -636,8 +642,6 @@ function queryPosts(payload) {
636
642
  paths: [
637
643
  { path: "posts.firstPublishedDate" },
638
644
  { path: "posts.lastPublishedDate" },
639
- { path: "posts.coverMedia.image.urlExpirationDate" },
640
- { path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
641
645
  { path: "posts.heroImage.urlExpirationDate" },
642
646
  { path: "posts.richContent.metadata.createdTimestamp" },
643
647
  { path: "posts.richContent.metadata.updatedTimestamp" },
@@ -663,10 +667,6 @@ function queryPosts(payload) {
663
667
  {
664
668
  transformFn: transformRESTFloatToSDKFloat,
665
669
  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
670
  { path: "posts.heroImage.focalPoint.x" },
671
671
  { path: "posts.heroImage.focalPoint.y" },
672
672
  { path: "posts.media.wixMedia.image.focalPoint.x" },
@@ -706,7 +706,14 @@ function queryPosts(payload) {
706
706
  { path: "posts.richContent.nodes.videoData.video.duration" },
707
707
  { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
708
708
  { path: "posts.richContent.nodes.audioData.audio.duration" },
709
- { path: "posts.richContent.nodes.audioData.coverImage.duration" }
709
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
710
+ {
711
+ path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
712
+ },
713
+ {
714
+ path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
715
+ },
716
+ { path: "posts.richContent.nodes.shapeData.shape.duration" }
710
717
  ]
711
718
  }
712
719
  ])
@@ -746,9 +753,9 @@ function getPostMetrics(payload) {
746
753
  // src/blog-v3-post-posts.universal.ts
747
754
  import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
748
755
  import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
749
- import { transformRESTVideoToSDKVideo } from "@wix/sdk-runtime/transformations/video";
750
756
  import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
751
757
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
758
+ import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
752
759
  var NodeType = /* @__PURE__ */ ((NodeType2) => {
753
760
  NodeType2["PARAGRAPH"] = "PARAGRAPH";
754
761
  NodeType2["TEXT"] = "TEXT";
@@ -783,6 +790,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
783
790
  NodeType2["CAPTION"] = "CAPTION";
784
791
  NodeType2["LAYOUT"] = "LAYOUT";
785
792
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
793
+ NodeType2["SHAPE"] = "SHAPE";
786
794
  return NodeType2;
787
795
  })(NodeType || {});
788
796
  var WidthType = /* @__PURE__ */ ((WidthType2) => {
@@ -875,13 +883,14 @@ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
875
883
  return ThumbnailsAlignment2;
876
884
  })(ThumbnailsAlignment || {});
877
885
  var GIFType = /* @__PURE__ */ ((GIFType2) => {
878
- GIFType2["GIF"] = "GIF";
886
+ GIFType2["NORMAL"] = "NORMAL";
879
887
  GIFType2["STICKER"] = "STICKER";
880
888
  return GIFType2;
881
889
  })(GIFType || {});
882
890
  var Source = /* @__PURE__ */ ((Source2) => {
883
891
  Source2["HTML"] = "HTML";
884
892
  Source2["ADSENSE"] = "ADSENSE";
893
+ Source2["AI"] = "AI";
885
894
  return Source2;
886
895
  })(Source || {});
887
896
  var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
@@ -936,6 +945,10 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
936
945
  DecorationType2["COLOR"] = "COLOR";
937
946
  DecorationType2["FONT_SIZE"] = "FONT_SIZE";
938
947
  DecorationType2["EXTERNAL"] = "EXTERNAL";
948
+ DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
949
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
950
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
951
+ DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
939
952
  return DecorationType2;
940
953
  })(DecorationType || {});
941
954
  var FontType = /* @__PURE__ */ ((FontType2) => {
@@ -1239,14 +1252,9 @@ async function getPost2(postId, options) {
1239
1252
  transformFn: transformRESTImageToSDKImage,
1240
1253
  paths: [
1241
1254
  { path: "post.heroImage" },
1242
- { path: "post.coverMedia.image" },
1243
1255
  { path: "post.media.wixMedia.image" }
1244
1256
  ]
1245
1257
  },
1246
- {
1247
- transformFn: transformRESTVideoToSDKVideo,
1248
- paths: [{ path: "post.coverMedia.video" }]
1249
- },
1250
1258
  {
1251
1259
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1252
1260
  paths: [{ path: "post.media.wixMedia.videoV2" }]
@@ -1292,14 +1300,9 @@ async function getPostBySlug2(slug, options) {
1292
1300
  transformFn: transformRESTImageToSDKImage,
1293
1301
  paths: [
1294
1302
  { path: "post.heroImage" },
1295
- { path: "post.coverMedia.image" },
1296
1303
  { path: "post.media.wixMedia.image" }
1297
1304
  ]
1298
1305
  },
1299
- {
1300
- transformFn: transformRESTVideoToSDKVideo,
1301
- paths: [{ path: "post.coverMedia.video" }]
1302
- },
1303
1306
  {
1304
1307
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1305
1308
  paths: [{ path: "post.media.wixMedia.videoV2" }]
@@ -1356,14 +1359,9 @@ async function listPosts2(options) {
1356
1359
  transformFn: transformRESTImageToSDKImage,
1357
1360
  paths: [
1358
1361
  { path: "posts.heroImage" },
1359
- { path: "posts.coverMedia.image" },
1360
1362
  { path: "posts.media.wixMedia.image" }
1361
1363
  ]
1362
1364
  },
1363
- {
1364
- transformFn: transformRESTVideoToSDKVideo,
1365
- paths: [{ path: "posts.coverMedia.video" }]
1366
- },
1367
1365
  {
1368
1366
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1369
1367
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
@@ -1431,14 +1429,9 @@ function queryPosts2(options) {
1431
1429
  transformFn: transformRESTImageToSDKImage,
1432
1430
  paths: [
1433
1431
  { path: "posts.heroImage" },
1434
- { path: "posts.coverMedia.image" },
1435
1432
  { path: "posts.media.wixMedia.image" }
1436
1433
  ]
1437
1434
  },
1438
- {
1439
- transformFn: transformRESTVideoToSDKVideo,
1440
- paths: [{ path: "posts.coverMedia.video" }]
1441
- },
1442
1435
  {
1443
1436
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1444
1437
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
@@ -1484,14 +1477,9 @@ async function typedQueryPosts(query, options) {
1484
1477
  transformFn: transformRESTImageToSDKImage,
1485
1478
  paths: [
1486
1479
  { path: "posts.heroImage" },
1487
- { path: "posts.coverMedia.image" },
1488
1480
  { path: "posts.media.wixMedia.image" }
1489
1481
  ]
1490
1482
  },
1491
- {
1492
- transformFn: transformRESTVideoToSDKVideo,
1493
- paths: [{ path: "posts.coverMedia.video" }]
1494
- },
1495
1483
  {
1496
1484
  transformFn: transformRESTVideoV2ToSDKVideoV2,
1497
1485
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
@@ -1513,6 +1501,7 @@ async function typedQueryPosts(query, options) {
1513
1501
  throw transformedError;
1514
1502
  }
1515
1503
  }
1504
+ var { QueryBuilder, Filter, Sort } = createQueryUtils();
1516
1505
  async function getPostMetrics2(postId) {
1517
1506
  const { httpClient, sideEffects } = arguments[1];
1518
1507
  const payload = renameKeysFromSDKRequestToRESTRequest({ postId }, []);
@@ -1648,7 +1637,6 @@ var onPostCreated = EventDefinition(
1648
1637
  transformFn: transformRESTImageToSDKImage2,
1649
1638
  paths: [
1650
1639
  { path: "entity.heroImage" },
1651
- { path: "entity.coverMedia.image" },
1652
1640
  { path: "entity.media.wixMedia.image" }
1653
1641
  ]
1654
1642
  },
@@ -1656,10 +1644,6 @@ var onPostCreated = EventDefinition(
1656
1644
  transformFn: transformRESTBytesToSDKBytes2,
1657
1645
  paths: [{ path: "entity.richContentCompressed" }]
1658
1646
  },
1659
- {
1660
- transformFn: transformRESTVideoToSDKVideo2,
1661
- paths: [{ path: "entity.coverMedia.video" }]
1662
- },
1663
1647
  {
1664
1648
  transformFn: transformRESTFloatToSDKFloat2,
1665
1649
  paths: [
@@ -1688,7 +1672,14 @@ var onPostCreated = EventDefinition(
1688
1672
  { path: "entity.richContent.nodes.videoData.video.duration" },
1689
1673
  { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
1690
1674
  { path: "entity.richContent.nodes.audioData.audio.duration" },
1691
- { path: "entity.richContent.nodes.audioData.coverImage.duration" }
1675
+ { path: "entity.richContent.nodes.audioData.coverImage.duration" },
1676
+ {
1677
+ path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
1678
+ },
1679
+ {
1680
+ path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
1681
+ },
1682
+ { path: "entity.richContent.nodes.shapeData.shape.duration" }
1692
1683
  ]
1693
1684
  },
1694
1685
  {
@@ -1724,7 +1715,6 @@ var onPostDeleted = EventDefinition(
1724
1715
  transformFn: transformRESTImageToSDKImage2,
1725
1716
  paths: [
1726
1717
  { path: "entity.heroImage" },
1727
- { path: "entity.coverMedia.image" },
1728
1718
  { path: "entity.media.wixMedia.image" }
1729
1719
  ]
1730
1720
  },
@@ -1732,10 +1722,6 @@ var onPostDeleted = EventDefinition(
1732
1722
  transformFn: transformRESTBytesToSDKBytes2,
1733
1723
  paths: [{ path: "entity.richContentCompressed" }]
1734
1724
  },
1735
- {
1736
- transformFn: transformRESTVideoToSDKVideo2,
1737
- paths: [{ path: "entity.coverMedia.video" }]
1738
- },
1739
1725
  {
1740
1726
  transformFn: transformRESTFloatToSDKFloat2,
1741
1727
  paths: [
@@ -1764,7 +1750,14 @@ var onPostDeleted = EventDefinition(
1764
1750
  { path: "entity.richContent.nodes.videoData.video.duration" },
1765
1751
  { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
1766
1752
  { path: "entity.richContent.nodes.audioData.audio.duration" },
1767
- { path: "entity.richContent.nodes.audioData.coverImage.duration" }
1753
+ { path: "entity.richContent.nodes.audioData.coverImage.duration" },
1754
+ {
1755
+ path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
1756
+ },
1757
+ {
1758
+ path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
1759
+ },
1760
+ { path: "entity.richContent.nodes.shapeData.shape.duration" }
1768
1761
  ]
1769
1762
  },
1770
1763
  {
@@ -1800,7 +1793,6 @@ var onPostUpdated = EventDefinition(
1800
1793
  transformFn: transformRESTImageToSDKImage2,
1801
1794
  paths: [
1802
1795
  { path: "entity.heroImage" },
1803
- { path: "entity.coverMedia.image" },
1804
1796
  { path: "entity.media.wixMedia.image" }
1805
1797
  ]
1806
1798
  },
@@ -1808,10 +1800,6 @@ var onPostUpdated = EventDefinition(
1808
1800
  transformFn: transformRESTBytesToSDKBytes2,
1809
1801
  paths: [{ path: "entity.richContentCompressed" }]
1810
1802
  },
1811
- {
1812
- transformFn: transformRESTVideoToSDKVideo2,
1813
- paths: [{ path: "entity.coverMedia.video" }]
1814
- },
1815
1803
  {
1816
1804
  transformFn: transformRESTFloatToSDKFloat2,
1817
1805
  paths: [
@@ -1840,7 +1828,14 @@ var onPostUpdated = EventDefinition(
1840
1828
  { path: "entity.richContent.nodes.videoData.video.duration" },
1841
1829
  { path: "entity.richContent.nodes.videoData.thumbnail.duration" },
1842
1830
  { path: "entity.richContent.nodes.audioData.audio.duration" },
1843
- { path: "entity.richContent.nodes.audioData.coverImage.duration" }
1831
+ { path: "entity.richContent.nodes.audioData.coverImage.duration" },
1832
+ {
1833
+ path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
1834
+ },
1835
+ {
1836
+ path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
1837
+ },
1838
+ { path: "entity.richContent.nodes.shapeData.shape.duration" }
1844
1839
  ]
1845
1840
  },
1846
1841
  {
@@ -1891,6 +1886,7 @@ export {
1891
1886
  Direction,
1892
1887
  DividerDataAlignment,
1893
1888
  Field,
1889
+ Filter,
1894
1890
  FontType,
1895
1891
  GIFType,
1896
1892
  GetPostTemplatesSort,
@@ -1913,10 +1909,12 @@ export {
1913
1909
  PollLayoutType,
1914
1910
  Position,
1915
1911
  PostFieldField,
1912
+ QueryBuilder,
1916
1913
  QueryPublicationsCountStatsRequestOrder,
1917
1914
  Resizing,
1918
1915
  ResponsivenessBehaviour,
1919
1916
  Scaling,
1917
+ Sort,
1920
1918
  SortOrder,
1921
1919
  Source,
1922
1920
  Status,