@wix/auto_sdk_blog_posts 1.0.161 → 1.0.163

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 +15 -11
  2. package/build/cjs/index.js +238 -16
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +90 -52
  5. package/build/cjs/index.typings.js +135 -11
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +59 -33
  8. package/build/cjs/meta.js +129 -5
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +85 -82
  11. package/build/cjs/schemas.js +155 -148
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +15 -11
  14. package/build/es/index.mjs +238 -16
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +90 -52
  17. package/build/es/index.typings.mjs +135 -11
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +59 -33
  20. package/build/es/meta.mjs +129 -5
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +85 -82
  23. package/build/es/schemas.mjs +155 -148
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +15 -11
  26. package/build/internal/cjs/index.js +238 -16
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +90 -52
  29. package/build/internal/cjs/index.typings.js +135 -11
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +59 -33
  32. package/build/internal/cjs/meta.js +129 -5
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +85 -82
  35. package/build/internal/cjs/schemas.js +155 -148
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +15 -11
  38. package/build/internal/es/index.mjs +238 -16
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +90 -52
  41. package/build/internal/es/index.typings.mjs +135 -11
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +59 -33
  44. package/build/internal/es/meta.mjs +129 -5
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +85 -82
  47. package/build/internal/es/schemas.mjs +155 -148
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1,18 +1,19 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
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, Alignment, AlignmentWithLiterals, AnchorData, 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, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePostRequest, DeletePostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, 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, GetPostCountsRequest, GetPostCountsResponse, GetPostMetricsRequest, GetPostRequest, GetPostResponse, GetPostsSort, GetPostsSortWithLiterals, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, 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, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListItemNodeData, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListStyle, ListStyleWithLiterals, ListValue, 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, 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, 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, GetPostResponse, GetPostBySlugOptions, GetPostBySlugResponse, ListPostsOptions, ListPostsResponse, GetPostMetricsResponse, PostLikedEnvelope, PostUnlikedEnvelope, PostCreatedEnvelope, PostDeletedEnvelope, PostUpdatedEnvelope, PostQuery, QueryPostsOptions, typedQueryPosts, PostsQueryBuilder } from './index.typings.js';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, 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, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeletePostRequest, DeletePostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, 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, 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, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListItemNodeData, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListStyle, ListStyleWithLiterals, ListValue, 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, 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';
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
- * 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.
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.
16
17
  * @returns Get Blog Post Count Stats response
17
18
  */
18
19
  (options?: QueryPostCountStatsOptions): Promise<NonNullablePaths<QueryPostCountStatsResponse, `stats` | `stats.${number}.postCount`, 4>>;
@@ -21,6 +22,7 @@ declare function getTotalPosts$1(httpClient: HttpClient): GetTotalPostsSignature
21
22
  interface GetTotalPostsSignature {
22
23
  /**
23
24
  * Retrieves the total amount of published posts of the blog.
25
+ * @param - Language Options.
24
26
  */
25
27
  (options?: GetTotalPostsOptions): Promise<NonNullablePaths<GetTotalPostsResponse, `total`, 2>>;
26
28
  }
@@ -29,9 +31,9 @@ interface GetPostSignature {
29
31
  /**
30
32
  * Retrieves a post by the specified ID.
31
33
  * @param - Post ID.
32
- * @returns Retrieved post info.
34
+ * @param - Options specifying which fields to return.
33
35
  */
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>>;
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>>;
35
37
  }
36
38
  declare function getPostBySlug$1(httpClient: HttpClient): GetPostBySlugSignature;
37
39
  interface GetPostBySlugSignature {
@@ -43,6 +45,7 @@ interface GetPostBySlugSignature {
43
45
  * the slug is `my-post-slug`. The slug is case-sensitive, and is generally derived from the post title,
44
46
  * unless specified otherwise.
45
47
  * @param - Slug of the post to retrieve.
48
+ * @param - Options specifying which fields to return.
46
49
  */
47
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>>;
48
51
  }
@@ -55,6 +58,7 @@ interface ListPostsSignature {
55
58
  * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
56
59
  * - `paging.limit` is `50`.
57
60
  * - `paging.offset` is `0`.
61
+ * @param - Sort, filter, and paging options.
58
62
  */
59
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>>;
60
64
  }
@@ -102,4 +106,4 @@ declare const onPostDeleted: BuildEventDefinition<typeof onPostDeleted$1> & type
102
106
  */
103
107
  declare const onPostUpdated: BuildEventDefinition<typeof onPostUpdated$1> & typeof onPostUpdated$1;
104
108
 
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 };
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 };
@@ -508,6 +508,10 @@ function getPost(payload) {
508
508
  },
509
509
  { path: "post.richContent.nodes.galleryData.options.item.ratio" },
510
510
  { path: "post.richContent.nodes.imageData.image.duration" },
511
+ { path: "post.richContent.nodes.imageData.crop.x" },
512
+ { path: "post.richContent.nodes.imageData.crop.y" },
513
+ { path: "post.richContent.nodes.imageData.crop.width" },
514
+ { path: "post.richContent.nodes.imageData.crop.height" },
511
515
  { path: "post.richContent.nodes.mapData.mapSettings.lat" },
512
516
  { path: "post.richContent.nodes.mapData.mapSettings.lng" },
513
517
  { path: "post.richContent.nodes.pollData.poll.image.duration" },
@@ -525,9 +529,27 @@ function getPost(payload) {
525
529
  {
526
530
  path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
527
531
  },
532
+ {
533
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
534
+ },
535
+ {
536
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
537
+ },
538
+ {
539
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
540
+ },
528
541
  {
529
542
  path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
530
543
  },
544
+ {
545
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
546
+ },
547
+ {
548
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
549
+ },
550
+ {
551
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
552
+ },
531
553
  {
532
554
  path: "post.richContent.nodes.layoutData.background.gradient.centerX"
533
555
  },
@@ -559,6 +581,15 @@ function getPost(payload) {
559
581
  {
560
582
  path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
561
583
  },
584
+ {
585
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
586
+ },
587
+ {
588
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
589
+ },
590
+ {
591
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
592
+ },
562
593
  { path: "post.richContent.nodes.tocData.fontSize" },
563
594
  { path: "post.richContent.nodes.tocData.itemSpacing" },
564
595
  {
@@ -659,6 +690,10 @@ function getPostBySlug(payload) {
659
690
  },
660
691
  { path: "post.richContent.nodes.galleryData.options.item.ratio" },
661
692
  { path: "post.richContent.nodes.imageData.image.duration" },
693
+ { path: "post.richContent.nodes.imageData.crop.x" },
694
+ { path: "post.richContent.nodes.imageData.crop.y" },
695
+ { path: "post.richContent.nodes.imageData.crop.width" },
696
+ { path: "post.richContent.nodes.imageData.crop.height" },
662
697
  { path: "post.richContent.nodes.mapData.mapSettings.lat" },
663
698
  { path: "post.richContent.nodes.mapData.mapSettings.lng" },
664
699
  { path: "post.richContent.nodes.pollData.poll.image.duration" },
@@ -676,9 +711,27 @@ function getPostBySlug(payload) {
676
711
  {
677
712
  path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
678
713
  },
714
+ {
715
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
716
+ },
717
+ {
718
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
719
+ },
720
+ {
721
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
722
+ },
679
723
  {
680
724
  path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
681
725
  },
726
+ {
727
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
728
+ },
729
+ {
730
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
731
+ },
732
+ {
733
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
734
+ },
682
735
  {
683
736
  path: "post.richContent.nodes.layoutData.background.gradient.centerX"
684
737
  },
@@ -710,6 +763,15 @@ function getPostBySlug(payload) {
710
763
  {
711
764
  path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
712
765
  },
766
+ {
767
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
768
+ },
769
+ {
770
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
771
+ },
772
+ {
773
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
774
+ },
713
775
  { path: "post.richContent.nodes.tocData.fontSize" },
714
776
  { path: "post.richContent.nodes.tocData.itemSpacing" },
715
777
  {
@@ -814,6 +876,10 @@ function listPosts(payload) {
814
876
  path: "posts.richContent.nodes.galleryData.options.item.ratio"
815
877
  },
816
878
  { path: "posts.richContent.nodes.imageData.image.duration" },
879
+ { path: "posts.richContent.nodes.imageData.crop.x" },
880
+ { path: "posts.richContent.nodes.imageData.crop.y" },
881
+ { path: "posts.richContent.nodes.imageData.crop.width" },
882
+ { path: "posts.richContent.nodes.imageData.crop.height" },
817
883
  { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
818
884
  { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
819
885
  { path: "posts.richContent.nodes.pollData.poll.image.duration" },
@@ -831,9 +897,27 @@ function listPosts(payload) {
831
897
  {
832
898
  path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
833
899
  },
900
+ {
901
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
902
+ },
903
+ {
904
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
905
+ },
906
+ {
907
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
908
+ },
834
909
  {
835
910
  path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
836
911
  },
912
+ {
913
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
914
+ },
915
+ {
916
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
917
+ },
918
+ {
919
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
920
+ },
837
921
  {
838
922
  path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
839
923
  },
@@ -865,6 +949,15 @@ function listPosts(payload) {
865
949
  {
866
950
  path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
867
951
  },
952
+ {
953
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
954
+ },
955
+ {
956
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
957
+ },
958
+ {
959
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
960
+ },
868
961
  { path: "posts.richContent.nodes.tocData.fontSize" },
869
962
  { path: "posts.richContent.nodes.tocData.itemSpacing" },
870
963
  {
@@ -969,6 +1062,10 @@ function queryPosts(payload) {
969
1062
  path: "posts.richContent.nodes.galleryData.options.item.ratio"
970
1063
  },
971
1064
  { path: "posts.richContent.nodes.imageData.image.duration" },
1065
+ { path: "posts.richContent.nodes.imageData.crop.x" },
1066
+ { path: "posts.richContent.nodes.imageData.crop.y" },
1067
+ { path: "posts.richContent.nodes.imageData.crop.width" },
1068
+ { path: "posts.richContent.nodes.imageData.crop.height" },
972
1069
  { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
973
1070
  { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
974
1071
  { path: "posts.richContent.nodes.pollData.poll.image.duration" },
@@ -986,9 +1083,27 @@ function queryPosts(payload) {
986
1083
  {
987
1084
  path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
988
1085
  },
1086
+ {
1087
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1088
+ },
1089
+ {
1090
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1091
+ },
1092
+ {
1093
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1094
+ },
989
1095
  {
990
1096
  path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
991
1097
  },
1098
+ {
1099
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1100
+ },
1101
+ {
1102
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1103
+ },
1104
+ {
1105
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1106
+ },
992
1107
  {
993
1108
  path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
994
1109
  },
@@ -1020,6 +1135,15 @@ function queryPosts(payload) {
1020
1135
  {
1021
1136
  path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1022
1137
  },
1138
+ {
1139
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1140
+ },
1141
+ {
1142
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1143
+ },
1144
+ {
1145
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1146
+ },
1023
1147
  { path: "posts.richContent.nodes.tocData.fontSize" },
1024
1148
  { path: "posts.richContent.nodes.tocData.itemSpacing" },
1025
1149
  {
@@ -1375,6 +1499,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1375
1499
  ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1376
1500
  return ImagePosition2;
1377
1501
  })(ImagePosition || {});
1502
+ var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
1503
+ LayoutDataBackgroundType2["COLOR"] = "COLOR";
1504
+ LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
1505
+ return LayoutDataBackgroundType2;
1506
+ })(LayoutDataBackgroundType || {});
1378
1507
  var Origin = /* @__PURE__ */ ((Origin2) => {
1379
1508
  Origin2["IMAGE"] = "IMAGE";
1380
1509
  Origin2["LAYOUT"] = "LAYOUT";
@@ -1385,11 +1514,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
1385
1514
  BannerPosition2["BOTTOM"] = "BOTTOM";
1386
1515
  return BannerPosition2;
1387
1516
  })(BannerPosition || {});
1388
- var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
1389
- LayoutDataBackgroundType2["COLOR"] = "COLOR";
1390
- LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
1391
- return LayoutDataBackgroundType2;
1392
- })(LayoutDataBackgroundType || {});
1393
1517
  var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
1394
1518
  BackdropType2["COLOR"] = "COLOR";
1395
1519
  BackdropType2["GRADIENT"] = "GRADIENT";
@@ -1635,8 +1759,8 @@ async function getPost2(postId, options) {
1635
1759
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1636
1760
  }
1637
1761
  ]),
1638
- ["post.richContent"]
1639
- )?.post;
1762
+ ["post.richContent", "post.rich_content"]
1763
+ );
1640
1764
  } catch (err) {
1641
1765
  const transformedError = (0, import_transform_error.transformError)(
1642
1766
  err,
@@ -1683,7 +1807,7 @@ async function getPostBySlug2(slug, options) {
1683
1807
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1684
1808
  }
1685
1809
  ]),
1686
- ["post.richContent"]
1810
+ ["post.richContent", "post.rich_content"]
1687
1811
  );
1688
1812
  } catch (err) {
1689
1813
  const transformedError = (0, import_transform_error.transformError)(
@@ -1742,7 +1866,7 @@ async function listPosts2(options) {
1742
1866
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1743
1867
  }
1744
1868
  ]),
1745
- ["posts.richContent"]
1869
+ ["posts.richContent", "posts.rich_content"]
1746
1870
  );
1747
1871
  } catch (err) {
1748
1872
  const transformedError = (0, import_transform_error.transformError)(
@@ -1812,7 +1936,7 @@ function queryPosts2(options) {
1812
1936
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1813
1937
  }
1814
1938
  ]),
1815
- ["posts.richContent"]
1939
+ ["posts.richContent", "posts.rich_content"]
1816
1940
  );
1817
1941
  return {
1818
1942
  items: transformedData?.posts,
@@ -1860,7 +1984,7 @@ async function typedQueryPosts(query, options) {
1860
1984
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1861
1985
  }
1862
1986
  ]),
1863
- ["posts.richContent"]
1987
+ ["posts.richContent", "posts.rich_content"]
1864
1988
  );
1865
1989
  } catch (err) {
1866
1990
  const transformedError = (0, import_transform_error.transformError)(
@@ -1974,7 +2098,8 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
1974
2098
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1975
2099
  paths: [{ path: "metadata.eventTime" }]
1976
2100
  }
1977
- ])
2101
+ ]),
2102
+ ["entity.rich_content"]
1978
2103
  )
1979
2104
  )();
1980
2105
  var onPostUnliked = (0, import_sdk_types.EventDefinition)(
@@ -1986,7 +2111,8 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
1986
2111
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1987
2112
  paths: [{ path: "metadata.eventTime" }]
1988
2113
  }
1989
- ])
2114
+ ]),
2115
+ ["entity.rich_content"]
1990
2116
  )
1991
2117
  )();
1992
2118
  var onPostCreated = (0, import_sdk_types.EventDefinition)(
@@ -2054,6 +2180,10 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
2054
2180
  },
2055
2181
  { path: "entity.richContent.nodes.galleryData.options.item.ratio" },
2056
2182
  { path: "entity.richContent.nodes.imageData.image.duration" },
2183
+ { path: "entity.richContent.nodes.imageData.crop.x" },
2184
+ { path: "entity.richContent.nodes.imageData.crop.y" },
2185
+ { path: "entity.richContent.nodes.imageData.crop.width" },
2186
+ { path: "entity.richContent.nodes.imageData.crop.height" },
2057
2187
  { path: "entity.richContent.nodes.mapData.mapSettings.lat" },
2058
2188
  { path: "entity.richContent.nodes.mapData.mapSettings.lng" },
2059
2189
  { path: "entity.richContent.nodes.pollData.poll.image.duration" },
@@ -2071,9 +2201,27 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
2071
2201
  {
2072
2202
  path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
2073
2203
  },
2204
+ {
2205
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2206
+ },
2207
+ {
2208
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2209
+ },
2210
+ {
2211
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2212
+ },
2074
2213
  {
2075
2214
  path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
2076
2215
  },
2216
+ {
2217
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2218
+ },
2219
+ {
2220
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2221
+ },
2222
+ {
2223
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2224
+ },
2077
2225
  {
2078
2226
  path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
2079
2227
  },
@@ -2105,6 +2253,15 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
2105
2253
  {
2106
2254
  path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
2107
2255
  },
2256
+ {
2257
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2258
+ },
2259
+ {
2260
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2261
+ },
2262
+ {
2263
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2264
+ },
2108
2265
  { path: "entity.richContent.nodes.tocData.fontSize" },
2109
2266
  { path: "entity.richContent.nodes.tocData.itemSpacing" },
2110
2267
  {
@@ -2116,7 +2273,8 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
2116
2273
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2117
2274
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2118
2275
  }
2119
- ])
2276
+ ]),
2277
+ ["entity.rich_content"]
2120
2278
  )
2121
2279
  )();
2122
2280
  var onPostDeleted = (0, import_sdk_types.EventDefinition)(
@@ -2184,6 +2342,10 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
2184
2342
  },
2185
2343
  { path: "entity.richContent.nodes.galleryData.options.item.ratio" },
2186
2344
  { path: "entity.richContent.nodes.imageData.image.duration" },
2345
+ { path: "entity.richContent.nodes.imageData.crop.x" },
2346
+ { path: "entity.richContent.nodes.imageData.crop.y" },
2347
+ { path: "entity.richContent.nodes.imageData.crop.width" },
2348
+ { path: "entity.richContent.nodes.imageData.crop.height" },
2187
2349
  { path: "entity.richContent.nodes.mapData.mapSettings.lat" },
2188
2350
  { path: "entity.richContent.nodes.mapData.mapSettings.lng" },
2189
2351
  { path: "entity.richContent.nodes.pollData.poll.image.duration" },
@@ -2201,9 +2363,27 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
2201
2363
  {
2202
2364
  path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
2203
2365
  },
2366
+ {
2367
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2368
+ },
2369
+ {
2370
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2371
+ },
2372
+ {
2373
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2374
+ },
2204
2375
  {
2205
2376
  path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
2206
2377
  },
2378
+ {
2379
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2380
+ },
2381
+ {
2382
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2383
+ },
2384
+ {
2385
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2386
+ },
2207
2387
  {
2208
2388
  path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
2209
2389
  },
@@ -2235,6 +2415,15 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
2235
2415
  {
2236
2416
  path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
2237
2417
  },
2418
+ {
2419
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2420
+ },
2421
+ {
2422
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2423
+ },
2424
+ {
2425
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2426
+ },
2238
2427
  { path: "entity.richContent.nodes.tocData.fontSize" },
2239
2428
  { path: "entity.richContent.nodes.tocData.itemSpacing" },
2240
2429
  {
@@ -2246,7 +2435,8 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
2246
2435
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2247
2436
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2248
2437
  }
2249
- ])
2438
+ ]),
2439
+ ["entity.rich_content"]
2250
2440
  )
2251
2441
  )();
2252
2442
  var onPostUpdated = (0, import_sdk_types.EventDefinition)(
@@ -2314,6 +2504,10 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
2314
2504
  },
2315
2505
  { path: "entity.richContent.nodes.galleryData.options.item.ratio" },
2316
2506
  { path: "entity.richContent.nodes.imageData.image.duration" },
2507
+ { path: "entity.richContent.nodes.imageData.crop.x" },
2508
+ { path: "entity.richContent.nodes.imageData.crop.y" },
2509
+ { path: "entity.richContent.nodes.imageData.crop.width" },
2510
+ { path: "entity.richContent.nodes.imageData.crop.height" },
2317
2511
  { path: "entity.richContent.nodes.mapData.mapSettings.lat" },
2318
2512
  { path: "entity.richContent.nodes.mapData.mapSettings.lng" },
2319
2513
  { path: "entity.richContent.nodes.pollData.poll.image.duration" },
@@ -2331,9 +2525,27 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
2331
2525
  {
2332
2526
  path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
2333
2527
  },
2528
+ {
2529
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
2530
+ },
2531
+ {
2532
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
2533
+ },
2534
+ {
2535
+ path: "entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
2536
+ },
2334
2537
  {
2335
2538
  path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
2336
2539
  },
2540
+ {
2541
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
2542
+ },
2543
+ {
2544
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
2545
+ },
2546
+ {
2547
+ path: "entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
2548
+ },
2337
2549
  {
2338
2550
  path: "entity.richContent.nodes.layoutData.background.gradient.centerX"
2339
2551
  },
@@ -2365,6 +2577,15 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
2365
2577
  {
2366
2578
  path: "entity.richContent.nodes.cardData.backgroundImage.media.duration"
2367
2579
  },
2580
+ {
2581
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2582
+ },
2583
+ {
2584
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2585
+ },
2586
+ {
2587
+ path: "entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2588
+ },
2368
2589
  { path: "entity.richContent.nodes.tocData.fontSize" },
2369
2590
  { path: "entity.richContent.nodes.tocData.itemSpacing" },
2370
2591
  {
@@ -2376,7 +2597,8 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
2376
2597
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2377
2598
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2378
2599
  }
2379
- ])
2600
+ ]),
2601
+ ["entity.rich_content"]
2380
2602
  )
2381
2603
  )();
2382
2604