@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
@@ -881,7 +881,7 @@ interface Animation {
881
881
  /**
882
882
  * POINTER carries its fields directly on the union member in the JTD wall, hence
883
883
  * flat fields here (ts-proto camelCase must equal the JTD property names). A future
884
- * SCROLL variant will contend for the `effect` JSON name — resolve when it lands.
884
+ * kind that also needs an `effect` field would contend for this JSON name.
885
885
  */
886
886
  effect?: PointerEffect;
887
887
  /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
@@ -2553,6 +2553,10 @@ interface LayoutData {
2553
2553
  backdrop?: Backdrop;
2554
2554
  /** Node animation. */
2555
2555
  animation?: Animation;
2556
+ /** Shape divider at the top edge of the layout. */
2557
+ topDivider?: SectionDivider;
2558
+ /** Shape divider at the bottom edge of the layout. */
2559
+ bottomDivider?: SectionDivider;
2556
2560
  }
2557
2561
  declare enum ImageScalingScaling {
2558
2562
  /** Auto image scaling */
@@ -2623,6 +2627,81 @@ declare enum BannerPosition {
2623
2627
  }
2624
2628
  /** @enumType */
2625
2629
  type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
2630
+ /** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */
2631
+ declare enum LayerEffect {
2632
+ /** Shape keeps its height, a solid filler bar pushes it away from the edge */
2633
+ CENTER = "CENTER",
2634
+ /** Deeper (more transparent) layers shrink toward the edge inside the original band while a solid filler bar keeps its full height, so the faded copies hug the top of the band */
2635
+ FADE_TO_TOP = "FADE_TO_TOP",
2636
+ /** Deeper (more transparent) layers stretch taller into the section, so the faded copies fan out above the base shape and descend to the layout edge */
2637
+ FADE_TO_BOTTOM = "FADE_TO_BOTTOM"
2638
+ }
2639
+ /** @enumType */
2640
+ type LayerEffectWithLiterals = LayerEffect | 'CENTER' | 'FADE_TO_TOP' | 'FADE_TO_BOTTOM';
2641
+ /** Divider shape preset */
2642
+ declare enum Shape {
2643
+ /** Ellipse shape */
2644
+ ELLIPSE = "ELLIPSE",
2645
+ /** Tilt shape */
2646
+ TILT = "TILT",
2647
+ /** Liquid shape */
2648
+ LIQUID = "LIQUID",
2649
+ /** Left wave shape */
2650
+ LEFT_WAVE = "LEFT_WAVE",
2651
+ /** Paint scribble shape */
2652
+ PAINT_SCRIBBLE = "PAINT_SCRIBBLE",
2653
+ /** Inverted ellipse shape */
2654
+ INVERTED_ELLIPSE = "INVERTED_ELLIPSE",
2655
+ /** Right wave shape */
2656
+ RIGHT_WAVE = "RIGHT_WAVE",
2657
+ /** Dunes shape */
2658
+ DUNES = "DUNES",
2659
+ /** Waves shape */
2660
+ WAVES = "WAVES",
2661
+ /** Triangle shape */
2662
+ TRIANGLE = "TRIANGLE",
2663
+ /** Semi-ellipse shape */
2664
+ SEMI_ELLIPSE = "SEMI_ELLIPSE",
2665
+ /** Plants shape */
2666
+ PLANTS = "PLANTS",
2667
+ /** Layered ellipse shape */
2668
+ LAYERED_ELLIPSE = "LAYERED_ELLIPSE",
2669
+ /** Pixels shape */
2670
+ PIXELS = "PIXELS",
2671
+ /** Paint shape */
2672
+ PAINT = "PAINT",
2673
+ /** Clouds shape */
2674
+ CLOUDS = "CLOUDS",
2675
+ /** Optical illusion shape */
2676
+ OPTICAL_ILLUSION = "OPTICAL_ILLUSION",
2677
+ /** Stripes shape */
2678
+ STRIPES = "STRIPES",
2679
+ /** Blobs shape */
2680
+ BLOBS = "BLOBS",
2681
+ /** Semi-circles shape */
2682
+ SEMI_CIRCLES = "SEMI_CIRCLES",
2683
+ /** Hill shape */
2684
+ HILL = "HILL",
2685
+ /** Brush shape */
2686
+ BRUSH = "BRUSH",
2687
+ /** Peaks shape */
2688
+ PEAKS = "PEAKS",
2689
+ /** Angled triangle shape */
2690
+ ANGLED_TRIANGLE = "ANGLED_TRIANGLE"
2691
+ }
2692
+ /** @enumType */
2693
+ type ShapeWithLiterals = Shape | 'ELLIPSE' | 'TILT' | 'LIQUID' | 'LEFT_WAVE' | 'PAINT_SCRIBBLE' | 'INVERTED_ELLIPSE' | 'RIGHT_WAVE' | 'DUNES' | 'WAVES' | 'TRIANGLE' | 'SEMI_ELLIPSE' | 'PLANTS' | 'LAYERED_ELLIPSE' | 'PIXELS' | 'PAINT' | 'CLOUDS' | 'OPTICAL_ILLUSION' | 'STRIPES' | 'BLOBS' | 'SEMI_CIRCLES' | 'HILL' | 'BRUSH' | 'PEAKS' | 'ANGLED_TRIANGLE';
2694
+ /** Layers effect - stacked semi-transparent copies of the divider shape */
2695
+ interface Layers {
2696
+ /** Total number of layers including the base shape (1-4). Absent or 1 disables the effect. */
2697
+ count?: number | null;
2698
+ /** Vertical distance in pixels between the silhouettes of consecutive layers: each successive layer's silhouette is offset from the previous one by this amount. The divider's own `height` is unchanged. Defaults to 20. */
2699
+ offsetY?: number | null;
2700
+ /** How the stacked layers fade relative to the base shape. */
2701
+ layerEffect?: LayerEffectWithLiterals;
2702
+ /** Horizontal distance between consecutive layers in pixels. Defaults to 0. Only applies to shapes that support horizontal offset. */
2703
+ offsetX?: number | null;
2704
+ }
2626
2705
  /** Backdrop type */
2627
2706
  declare enum BackdropType {
2628
2707
  /** Solid color backdrop */
@@ -2693,6 +2772,24 @@ interface Backdrop {
2693
2772
  /** Gradient configuration. */
2694
2773
  gradient?: Gradient;
2695
2774
  }
2775
+ /** Decorative shape divider at a layout edge */
2776
+ interface SectionDivider {
2777
+ /** Divider shape preset. Determines which customization properties apply. */
2778
+ type?: ShapeWithLiterals;
2779
+ /**
2780
+ * Divider fill color as a hexadecimal value (may include alpha).
2781
+ * @maxLength 19
2782
+ */
2783
+ color?: string | null;
2784
+ /** Divider height in pixels. */
2785
+ height?: number | null;
2786
+ /** Horizontal offset in pixels. */
2787
+ offsetX?: number | null;
2788
+ /** Whether the shape is flipped horizontally. */
2789
+ flipped?: boolean | null;
2790
+ /** Layers effect - stacked semi-transparent copies of the divider shape. */
2791
+ layers?: Layers;
2792
+ }
2696
2793
  interface LayoutCellData {
2697
2794
  /** Size of the cell in 12 columns grid. */
2698
2795
  colSpan?: number | null;
@@ -2706,6 +2803,13 @@ interface ShapeData {
2706
2803
  styles?: ShapeDataStyles;
2707
2804
  /** Node animation. */
2708
2805
  animation?: Animation;
2806
+ /** Link details for shapes that are links. */
2807
+ link?: Link;
2808
+ /**
2809
+ * Alternate text describing the link's purpose for accessibility. Applies only when `link` is set.
2810
+ * @maxLength 1000
2811
+ */
2812
+ altText?: string | null;
2709
2813
  }
2710
2814
  interface ShapeDataStyles {
2711
2815
  /**
@@ -4652,14 +4756,13 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
4652
4756
  /**
4653
4757
  * Retrieves the number of published posts per month within a specified time range.
4654
4758
  *
4655
- *
4656
- * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
4657
- *
4658
- * 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.
4659
- *
4660
- * >**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.
4759
+ * The time range is set using the `rangeStart` and `months` properties.
4760
+ * The time range always starts on the 1st day of the month set in `rangeStart` and
4761
+ * includes the number of `months` following `rangeStart`.
4762
+ * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
4763
+ * 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.
4764
+ * > 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.
4661
4765
  * @public
4662
- * @param options - Options specifying time frame, sort, and filter.
4663
4766
  * @permissionId BLOG.READ-PUBLICATION
4664
4767
  * @applicableIdentity APP
4665
4768
  * @returns Get Blog Post Count Stats response
@@ -4700,7 +4803,6 @@ interface QueryPostCountStatsOptions {
4700
4803
  /**
4701
4804
  * Retrieves the total amount of published posts of the blog.
4702
4805
  * @public
4703
- * @param options - Language Options.
4704
4806
  * @permissionId BLOG.READ-PUBLICATION
4705
4807
  * @applicableIdentity APP
4706
4808
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4721,12 +4823,12 @@ interface GetTotalPostsOptions {
4721
4823
  * @param postId - Post ID.
4722
4824
  * @public
4723
4825
  * @requiredField postId
4724
- * @param options - Options specifying which fields to return.
4725
4826
  * @permissionId BLOG.READ-PUBLICATION
4726
4827
  * @applicableIdentity APP
4828
+ * @returns Retrieved post info.
4727
4829
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4728
4830
  */
4729
- declare function getPost(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>>;
4831
+ declare function getPost(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>>;
4730
4832
  interface GetPostOptions {
4731
4833
  /**
4732
4834
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4746,7 +4848,6 @@ interface GetPostOptions {
4746
4848
  * @param slug - Slug of the post to retrieve.
4747
4849
  * @public
4748
4850
  * @requiredField slug
4749
- * @param options - Options specifying which fields to return.
4750
4851
  * @permissionId BLOG.READ-PUBLICATION
4751
4852
  * @applicableIdentity APP
4752
4853
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4774,7 +4875,6 @@ interface GetPostBySlugOptions {
4774
4875
  * - `paging.limit` is `50`.
4775
4876
  * - `paging.offset` is `0`.
4776
4877
  * @public
4777
- * @param options - Sort, filter, and paging options.
4778
4878
  * @permissionId BLOG.READ-PUBLICATION
4779
4879
  * @applicableIdentity APP
4780
4880
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -4845,26 +4945,18 @@ interface ListPostsOptions {
4845
4945
  fieldsets?: PostFieldFieldWithLiterals[];
4846
4946
  }
4847
4947
  /**
4848
- * Creates a query to retrieve a list of posts.
4849
- *
4850
- *
4851
- * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
4948
+ * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
4852
4949
  *
4853
- * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4854
- *
4855
- * You can refine the query by chaining `PostsQueryBuilder` functions onto the query. `PostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryPosts()` returns.
4856
- *
4857
- * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
4858
- * + `limit(50)`
4859
- * + `descending('firstPublishedDate')`
4860
- *
4861
- * Note that the default limit is `'50'`, but the max limit is `'100'`.
4862
- *
4863
- * To learn how to query posts, refer to the table below.
4950
+ * Query Posts runs with these defaults, which you can override:
4951
+ * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
4952
+ * - `paging.limit` is `50`.
4953
+ * - `paging.offset` is `0`.
4864
4954
  *
4865
- * The following `PostsQueryBuilder` functions are supported for the `queryPosts()` function. For a full description of the Posts object, see the object returned for the `items` property in `PostsQueryResult`.
4955
+ * To learn about working with _Query_ endpoints, see
4956
+ * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4957
+ * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
4958
+ * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
4866
4959
  * @public
4867
- * @param options - Options specifying which fields to return.
4868
4960
  * @permissionId BLOG.READ-PUBLICATION
4869
4961
  * @applicableIdentity APP
4870
4962
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -5188,11 +5280,7 @@ type PostQuery = {
5188
5280
  }[];
5189
5281
  };
5190
5282
  declare const utils: {
5191
- query: {
5192
- QueryBuilder: () => _wix_sdk_types.QueryBuilder<Post, PostQuerySpec, PostQuery>;
5193
- Filter: _wix_sdk_types.FilterFactory<Post, PostQuerySpec>;
5194
- Sort: _wix_sdk_types.SortFactory<PostQuerySpec>;
5195
- };
5283
+ query: _wix_sdk_types.QueryHelpers<Post, PostQuerySpec, PostQuery>;
5196
5284
  };
5197
5285
  /**
5198
5286
  * Retrieves a post's metrics.
@@ -5207,4 +5295,4 @@ declare const utils: {
5207
5295
  */
5208
5296
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
5209
5297
 
5210
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
5298
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, LayerEffect, type LayerEffectWithLiterals, type Layers, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SectionDivider, type SeoSchema, type Settings, Shape, type ShapeData, type ShapeDataStyles, type ShapeWithLiterals, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
@@ -1475,6 +1475,39 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
1475
1475
  BannerPosition2["BOTTOM"] = "BOTTOM";
1476
1476
  return BannerPosition2;
1477
1477
  })(BannerPosition || {});
1478
+ var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
1479
+ LayerEffect2["CENTER"] = "CENTER";
1480
+ LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
1481
+ LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
1482
+ return LayerEffect2;
1483
+ })(LayerEffect || {});
1484
+ var Shape = /* @__PURE__ */ ((Shape2) => {
1485
+ Shape2["ELLIPSE"] = "ELLIPSE";
1486
+ Shape2["TILT"] = "TILT";
1487
+ Shape2["LIQUID"] = "LIQUID";
1488
+ Shape2["LEFT_WAVE"] = "LEFT_WAVE";
1489
+ Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
1490
+ Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
1491
+ Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
1492
+ Shape2["DUNES"] = "DUNES";
1493
+ Shape2["WAVES"] = "WAVES";
1494
+ Shape2["TRIANGLE"] = "TRIANGLE";
1495
+ Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
1496
+ Shape2["PLANTS"] = "PLANTS";
1497
+ Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
1498
+ Shape2["PIXELS"] = "PIXELS";
1499
+ Shape2["PAINT"] = "PAINT";
1500
+ Shape2["CLOUDS"] = "CLOUDS";
1501
+ Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
1502
+ Shape2["STRIPES"] = "STRIPES";
1503
+ Shape2["BLOBS"] = "BLOBS";
1504
+ Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
1505
+ Shape2["HILL"] = "HILL";
1506
+ Shape2["BRUSH"] = "BRUSH";
1507
+ Shape2["PEAKS"] = "PEAKS";
1508
+ Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
1509
+ return Shape2;
1510
+ })(Shape || {});
1478
1511
  var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
1479
1512
  BackdropType2["COLOR"] = "COLOR";
1480
1513
  BackdropType2["GRADIENT"] = "GRADIENT";
@@ -1733,8 +1766,8 @@ async function getPost2(postId, options) {
1733
1766
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1734
1767
  }
1735
1768
  ]),
1736
- ["post.richContent", "post.rich_content"]
1737
- );
1769
+ ["post.richContent"]
1770
+ )?.post;
1738
1771
  } catch (err) {
1739
1772
  const transformedError = sdkTransformError(
1740
1773
  err,
@@ -1781,7 +1814,7 @@ async function getPostBySlug2(slug, options) {
1781
1814
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1782
1815
  }
1783
1816
  ]),
1784
- ["post.richContent", "post.rich_content"]
1817
+ ["post.richContent"]
1785
1818
  );
1786
1819
  } catch (err) {
1787
1820
  const transformedError = sdkTransformError(
@@ -1840,7 +1873,7 @@ async function listPosts2(options) {
1840
1873
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1841
1874
  }
1842
1875
  ]),
1843
- ["posts.richContent", "posts.rich_content"]
1876
+ ["posts.richContent"]
1844
1877
  );
1845
1878
  } catch (err) {
1846
1879
  const transformedError = sdkTransformError(
@@ -1910,7 +1943,7 @@ function queryPosts2(options) {
1910
1943
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1911
1944
  }
1912
1945
  ]),
1913
- ["posts.richContent", "posts.rich_content"]
1946
+ ["posts.richContent"]
1914
1947
  );
1915
1948
  return {
1916
1949
  items: transformedData?.posts,
@@ -1958,7 +1991,7 @@ async function typedQueryPosts(query, options) {
1958
1991
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1959
1992
  }
1960
1993
  ]),
1961
- ["posts.richContent", "posts.rich_content"]
1994
+ ["posts.richContent"]
1962
1995
  );
1963
1996
  } catch (err) {
1964
1997
  const transformedError = sdkTransformError(
@@ -1975,9 +2008,7 @@ async function typedQueryPosts(query, options) {
1975
2008
  }
1976
2009
  }
1977
2010
  var utils = {
1978
- query: {
1979
- ...createQueryUtils()
1980
- }
2011
+ query: /* @__PURE__ */ createQueryUtils()
1981
2012
  };
1982
2013
  async function getPostMetrics2(postId) {
1983
2014
  const { httpClient, sideEffects } = arguments[1];
@@ -2029,6 +2060,7 @@ export {
2029
2060
  ImageScalingScaling,
2030
2061
  Indentation,
2031
2062
  InitialExpandedItems,
2063
+ LayerEffect,
2032
2064
  Layout,
2033
2065
  LayoutDataBackgroundType,
2034
2066
  LayoutType,
@@ -2054,6 +2086,7 @@ export {
2054
2086
  Resizing,
2055
2087
  ResponsivenessBehaviour,
2056
2088
  Scaling,
2089
+ Shape,
2057
2090
  SmartBlockDataType,
2058
2091
  SortOrder,
2059
2092
  Source,