@wix/auto_sdk_blog_posts 1.0.173 → 1.0.175

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 (49) hide show
  1. package/build/cjs/index.d.ts +11 -15
  2. package/build/cjs/index.js +60 -30
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +124 -36
  5. package/build/cjs/index.typings.js +44 -9
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +106 -2
  8. package/build/cjs/meta.js +37 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +82 -84
  11. package/build/cjs/schemas.js +161 -167
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +11 -15
  14. package/build/es/index.mjs +58 -30
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +124 -36
  17. package/build/es/index.typings.mjs +42 -9
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +106 -2
  20. package/build/es/meta.mjs +35 -0
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +82 -84
  23. package/build/es/schemas.mjs +161 -167
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +11 -15
  26. package/build/internal/cjs/index.js +60 -30
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +124 -36
  29. package/build/internal/cjs/index.typings.js +44 -9
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +106 -2
  32. package/build/internal/cjs/meta.js +37 -0
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +82 -84
  35. package/build/internal/cjs/schemas.js +161 -167
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +11 -15
  38. package/build/internal/es/index.mjs +58 -30
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +124 -36
  41. package/build/internal/es/index.typings.mjs +42 -9
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +106 -2
  44. package/build/internal/es/meta.mjs +35 -0
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +82 -84
  47. package/build/internal/es/schemas.mjs +161 -167
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1,19 +1,18 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
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.js';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, Alignment, AlignmentWithLiterals, AnchorData, Animation, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkDeletePostsRequest, BulkDeletePostsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePostRequest, DeletePostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DividerDataStyles, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntranceAnimation, EntranceEffect, EntranceEffectType, EntranceEffectTypeWithLiterals, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPostBySlugRequest, GetPostCountPerMonthRequest, GetPostCountPerMonthResponse, GetPostCountsRequest, GetPostCountsResponse, GetPostMetricsRequest, GetPostRequest, GetPostsSort, GetPostsSortWithLiterals, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataCrop, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LikePostRequest, LikePostResponse, LineCap, LineCapWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListItemNodeData, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListStyle, ListStyleWithLiterals, ListValue, LoopAnimation, LoopEffect, LoopEffectType, LoopEffectTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, 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, PointerEffect, PointerEffectType, PointerEffectTypeWithLiterals, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Post, PostCategoriesUpdated, PostCount, 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, ShapeData, ShapeDataStyles, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewPostRequest, ViewPostResponse, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia, utils } from './index.typings.js';
2
+ import { QueryPostCountStatsOptions, QueryPostCountStatsResponse, GetTotalPostsOptions, GetTotalPostsResponse, GetPostOptions, Post, GetPostBySlugOptions, GetPostBySlugResponse, ListPostsOptions, ListPostsResponse, GetPostMetricsResponse, PostLikedEnvelope, PostUnlikedEnvelope, PostCreatedEnvelope, PostDeletedEnvelope, PostUpdatedEnvelope, PostQuery, QueryPostsOptions, typedQueryPosts, PostsQueryBuilder } from './index.typings.js';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, Alignment, AlignmentWithLiterals, AnchorData, Animation, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerPosition, BannerPositionWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkDeletePostsRequest, BulkDeletePostsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePostRequest, DeletePostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DividerDataStyles, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntranceAnimation, EntranceEffect, EntranceEffectType, EntranceEffectTypeWithLiterals, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPostBySlugRequest, GetPostCountPerMonthRequest, GetPostCountPerMonthResponse, GetPostCountsRequest, GetPostCountsResponse, GetPostMetricsRequest, GetPostRequest, GetPostResponse, GetPostsSort, GetPostsSortWithLiterals, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataCrop, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, LayerEffect, LayerEffectWithLiterals, Layers, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LikePostRequest, LikePostResponse, LineCap, LineCapWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListItemNodeData, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListStyle, ListStyleWithLiterals, ListValue, LoopAnimation, LoopEffect, LoopEffectType, LoopEffectTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, 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, PointerEffect, PointerEffectType, PointerEffectTypeWithLiterals, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, PostCategoriesUpdated, PostCount, 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, SectionDivider, SeoSchema, Settings, Shape, ShapeData, ShapeDataStyles, ShapeWithLiterals, SketchData, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, Variant, VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewPostRequest, ViewPostResponse, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia, utils } from './index.typings.js';
4
4
 
5
5
  declare function queryPostCountStats$1(httpClient: HttpClient): QueryPostCountStatsSignature;
6
6
  interface QueryPostCountStatsSignature {
7
7
  /**
8
8
  * Retrieves the number of published posts per month within a specified time range.
9
9
  *
10
- *
11
- * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
12
- *
13
- * You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
14
- *
15
- * >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
16
- * @param - Options specifying time frame, sort, and filter.
10
+ * The time range is set using the `rangeStart` and `months` properties.
11
+ * The time range always starts on the 1st day of the month set in `rangeStart` and
12
+ * includes the number of `months` following `rangeStart`.
13
+ * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
14
+ * the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.
15
+ * > Note: If there are no published posts in a month within the time range, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
17
16
  * @returns Get Blog Post Count Stats response
18
17
  */
19
18
  (options?: QueryPostCountStatsOptions): Promise<NonNullablePaths<QueryPostCountStatsResponse, `stats` | `stats.${number}.postCount`, 4>>;
@@ -22,7 +21,6 @@ declare function getTotalPosts$1(httpClient: HttpClient): GetTotalPostsSignature
22
21
  interface GetTotalPostsSignature {
23
22
  /**
24
23
  * Retrieves the total amount of published posts of the blog.
25
- * @param - Language Options.
26
24
  */
27
25
  (options?: GetTotalPostsOptions): Promise<NonNullablePaths<GetTotalPostsResponse, `total`, 2>>;
28
26
  }
@@ -31,9 +29,9 @@ interface GetPostSignature {
31
29
  /**
32
30
  * Retrieves a post by the specified ID.
33
31
  * @param - Post ID.
34
- * @param - Options specifying which fields to return.
32
+ * @returns Retrieved post info.
35
33
  */
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>>;
34
+ (postId: string, options?: GetPostOptions): Promise<NonNullablePaths<Post, `_id` | `title` | `excerpt` | `slug` | `featured` | `pinned` | `categoryIds` | `memberId` | `hashtags` | `commentingEnabled` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `preview` | `moderationDetails.submittedBy` | `moderationDetails.status` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom` | `hasUnpublishedChanges`, 6>>;
37
35
  }
38
36
  declare function getPostBySlug$1(httpClient: HttpClient): GetPostBySlugSignature;
39
37
  interface GetPostBySlugSignature {
@@ -45,7 +43,6 @@ interface GetPostBySlugSignature {
45
43
  * the slug is `my-post-slug`. The slug is case-sensitive, and is generally derived from the post title,
46
44
  * unless specified otherwise.
47
45
  * @param - Slug of the post to retrieve.
48
- * @param - Options specifying which fields to return.
49
46
  */
50
47
  (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
48
  }
@@ -58,7 +55,6 @@ interface ListPostsSignature {
58
55
  * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
59
56
  * - `paging.limit` is `50`.
60
57
  * - `paging.offset` is `0`.
61
- * @param - Sort, filter, and paging options.
62
58
  */
63
59
  (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
60
  }
@@ -106,4 +102,4 @@ declare const onPostDeleted: BuildEventDefinition<typeof onPostDeleted$1> & type
106
102
  */
107
103
  declare const onPostUpdated: BuildEventDefinition<typeof onPostUpdated$1> & typeof onPostUpdated$1;
108
104
 
109
- export { GetPostBySlugOptions, GetPostBySlugResponse, GetPostMetricsResponse, GetPostOptions, GetPostResponse, GetTotalPostsOptions, GetTotalPostsResponse, ListPostsOptions, ListPostsResponse, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostQuery, PostUnlikedEnvelope, PostUpdatedEnvelope, PostsQueryBuilder, QueryPostCountStatsOptions, QueryPostCountStatsResponse, QueryPostsOptions, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts };
105
+ export { GetPostBySlugOptions, GetPostBySlugResponse, GetPostMetricsResponse, GetPostOptions, GetTotalPostsOptions, GetTotalPostsResponse, ListPostsOptions, ListPostsResponse, Post, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostQuery, PostUnlikedEnvelope, PostUpdatedEnvelope, PostsQueryBuilder, QueryPostCountStatsOptions, QueryPostCountStatsResponse, QueryPostsOptions, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts };
@@ -46,6 +46,7 @@ __export(index_exports, {
46
46
  ImageScalingScaling: () => ImageScalingScaling,
47
47
  Indentation: () => Indentation,
48
48
  InitialExpandedItems: () => InitialExpandedItems,
49
+ LayerEffect: () => LayerEffect,
49
50
  Layout: () => Layout,
50
51
  LayoutDataBackgroundType: () => LayoutDataBackgroundType,
51
52
  LayoutType: () => LayoutType,
@@ -71,6 +72,7 @@ __export(index_exports, {
71
72
  Resizing: () => Resizing,
72
73
  ResponsivenessBehaviour: () => ResponsivenessBehaviour,
73
74
  Scaling: () => Scaling,
75
+ Shape: () => Shape,
74
76
  SmartBlockDataType: () => SmartBlockDataType,
75
77
  SortOrder: () => SortOrder,
76
78
  Source: () => Source,
@@ -1590,6 +1592,39 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
1590
1592
  BannerPosition2["BOTTOM"] = "BOTTOM";
1591
1593
  return BannerPosition2;
1592
1594
  })(BannerPosition || {});
1595
+ var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
1596
+ LayerEffect2["CENTER"] = "CENTER";
1597
+ LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
1598
+ LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
1599
+ return LayerEffect2;
1600
+ })(LayerEffect || {});
1601
+ var Shape = /* @__PURE__ */ ((Shape2) => {
1602
+ Shape2["ELLIPSE"] = "ELLIPSE";
1603
+ Shape2["TILT"] = "TILT";
1604
+ Shape2["LIQUID"] = "LIQUID";
1605
+ Shape2["LEFT_WAVE"] = "LEFT_WAVE";
1606
+ Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
1607
+ Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
1608
+ Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
1609
+ Shape2["DUNES"] = "DUNES";
1610
+ Shape2["WAVES"] = "WAVES";
1611
+ Shape2["TRIANGLE"] = "TRIANGLE";
1612
+ Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
1613
+ Shape2["PLANTS"] = "PLANTS";
1614
+ Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
1615
+ Shape2["PIXELS"] = "PIXELS";
1616
+ Shape2["PAINT"] = "PAINT";
1617
+ Shape2["CLOUDS"] = "CLOUDS";
1618
+ Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
1619
+ Shape2["STRIPES"] = "STRIPES";
1620
+ Shape2["BLOBS"] = "BLOBS";
1621
+ Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
1622
+ Shape2["HILL"] = "HILL";
1623
+ Shape2["BRUSH"] = "BRUSH";
1624
+ Shape2["PEAKS"] = "PEAKS";
1625
+ Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
1626
+ return Shape2;
1627
+ })(Shape || {});
1593
1628
  var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
1594
1629
  BackdropType2["COLOR"] = "COLOR";
1595
1630
  BackdropType2["GRADIENT"] = "GRADIENT";
@@ -1848,8 +1883,8 @@ async function getPost2(postId, options) {
1848
1883
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1849
1884
  }
1850
1885
  ]),
1851
- ["post.richContent", "post.rich_content"]
1852
- );
1886
+ ["post.richContent"]
1887
+ )?.post;
1853
1888
  } catch (err) {
1854
1889
  const transformedError = (0, import_transform_error.transformError)(
1855
1890
  err,
@@ -1896,7 +1931,7 @@ async function getPostBySlug2(slug, options) {
1896
1931
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1897
1932
  }
1898
1933
  ]),
1899
- ["post.richContent", "post.rich_content"]
1934
+ ["post.richContent"]
1900
1935
  );
1901
1936
  } catch (err) {
1902
1937
  const transformedError = (0, import_transform_error.transformError)(
@@ -1955,7 +1990,7 @@ async function listPosts2(options) {
1955
1990
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1956
1991
  }
1957
1992
  ]),
1958
- ["posts.richContent", "posts.rich_content"]
1993
+ ["posts.richContent"]
1959
1994
  );
1960
1995
  } catch (err) {
1961
1996
  const transformedError = (0, import_transform_error.transformError)(
@@ -2025,7 +2060,7 @@ function queryPosts2(options) {
2025
2060
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
2026
2061
  }
2027
2062
  ]),
2028
- ["posts.richContent", "posts.rich_content"]
2063
+ ["posts.richContent"]
2029
2064
  );
2030
2065
  return {
2031
2066
  items: transformedData?.posts,
@@ -2073,7 +2108,7 @@ async function typedQueryPosts(query, options) {
2073
2108
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
2074
2109
  }
2075
2110
  ]),
2076
- ["posts.richContent", "posts.rich_content"]
2111
+ ["posts.richContent"]
2077
2112
  );
2078
2113
  } catch (err) {
2079
2114
  const transformedError = (0, import_transform_error.transformError)(
@@ -2090,9 +2125,7 @@ async function typedQueryPosts(query, options) {
2090
2125
  }
2091
2126
  }
2092
2127
  var utils = {
2093
- query: {
2094
- ...(0, import_query_builder_utils.createQueryUtils)()
2095
- }
2128
+ query: /* @__PURE__ */ (0, import_query_builder_utils.createQueryUtils)()
2096
2129
  };
2097
2130
  async function getPostMetrics2(postId) {
2098
2131
  const { httpClient, sideEffects } = arguments[1];
@@ -2178,7 +2211,7 @@ function getPostMetrics3(httpClient) {
2178
2211
  { httpClient }
2179
2212
  );
2180
2213
  }
2181
- var onPostLiked = (0, import_sdk_types.EventDefinition)(
2214
+ var onPostLiked = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
2182
2215
  "wix.blog.v3.post_liked",
2183
2216
  true,
2184
2217
  (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
@@ -2187,11 +2220,10 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
2187
2220
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
2188
2221
  paths: [{ path: "metadata.eventTime" }]
2189
2222
  }
2190
- ]),
2191
- ["entity.rich_content"]
2223
+ ])
2192
2224
  )
2193
2225
  )();
2194
- var onPostUnliked = (0, import_sdk_types.EventDefinition)(
2226
+ var onPostUnliked = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
2195
2227
  "wix.blog.v3.post_unliked",
2196
2228
  true,
2197
2229
  (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
@@ -2200,11 +2232,10 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
2200
2232
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
2201
2233
  paths: [{ path: "metadata.eventTime" }]
2202
2234
  }
2203
- ]),
2204
- ["entity.rich_content"]
2235
+ ])
2205
2236
  )
2206
2237
  )();
2207
- var onPostCreated = (0, import_sdk_types.EventDefinition)(
2238
+ var onPostCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
2208
2239
  "wix.blog.v3.post_created",
2209
2240
  true,
2210
2241
  (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
@@ -2362,11 +2393,10 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
2362
2393
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2363
2394
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2364
2395
  }
2365
- ]),
2366
- ["entity.rich_content"]
2396
+ ])
2367
2397
  )
2368
2398
  )();
2369
- var onPostDeleted = (0, import_sdk_types.EventDefinition)(
2399
+ var onPostDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
2370
2400
  "wix.blog.v3.post_deleted",
2371
2401
  true,
2372
2402
  (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
@@ -2524,11 +2554,10 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
2524
2554
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2525
2555
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2526
2556
  }
2527
- ]),
2528
- ["entity.rich_content"]
2557
+ ])
2529
2558
  )
2530
2559
  )();
2531
- var onPostUpdated = (0, import_sdk_types.EventDefinition)(
2560
+ var onPostUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
2532
2561
  "wix.blog.v3.post_updated",
2533
2562
  true,
2534
2563
  (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
@@ -2686,8 +2715,7 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
2686
2715
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2687
2716
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2688
2717
  }
2689
- ]),
2690
- ["entity.rich_content"]
2718
+ ])
2691
2719
  )
2692
2720
  )();
2693
2721
 
@@ -2696,7 +2724,7 @@ var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
2696
2724
  var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
2697
2725
  var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
2698
2726
  function customQueryPosts(httpClient) {
2699
- const router = (0, import_query_method_router.createQueryOverloadRouter)({
2727
+ const router = /* @__PURE__ */ (0, import_query_method_router.createQueryOverloadRouter)({
2700
2728
  builderQueryFunction: (options) => queryPosts3(httpClient)(options),
2701
2729
  typedQueryFunction: (query, options) => typedQueryPosts2(httpClient)(query, options),
2702
2730
  hasOptionsParameter: true
@@ -2713,11 +2741,11 @@ var getPostBySlug4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
2713
2741
  var listPosts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listPosts3);
2714
2742
  var getPostMetrics4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getPostMetrics3);
2715
2743
  var queryPosts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryPosts);
2716
- var onPostLiked2 = (0, import_event_definition_modules.createEventModule)(onPostLiked);
2717
- var onPostUnliked2 = (0, import_event_definition_modules.createEventModule)(onPostUnliked);
2718
- var onPostCreated2 = (0, import_event_definition_modules.createEventModule)(onPostCreated);
2719
- var onPostDeleted2 = (0, import_event_definition_modules.createEventModule)(onPostDeleted);
2720
- var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPostUpdated);
2744
+ var onPostLiked2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostLiked);
2745
+ var onPostUnliked2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostUnliked);
2746
+ var onPostCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostCreated);
2747
+ var onPostDeleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostDeleted);
2748
+ var onPostUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onPostUpdated);
2721
2749
  // Annotate the CommonJS export names for ESM import in node:
2722
2750
  0 && (module.exports = {
2723
2751
  Alignment,
@@ -2746,6 +2774,7 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
2746
2774
  ImageScalingScaling,
2747
2775
  Indentation,
2748
2776
  InitialExpandedItems,
2777
+ LayerEffect,
2749
2778
  Layout,
2750
2779
  LayoutDataBackgroundType,
2751
2780
  LayoutType,
@@ -2771,6 +2800,7 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
2771
2800
  Resizing,
2772
2801
  ResponsivenessBehaviour,
2773
2802
  Scaling,
2803
+ Shape,
2774
2804
  SmartBlockDataType,
2775
2805
  SortOrder,
2776
2806
  Source,