@wix/auto_sdk_blog_posts 1.0.172 → 1.0.174

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 +65 -25
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +136 -24
  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 +84 -82
  11. package/build/cjs/schemas.js +167 -161
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +15 -11
  14. package/build/es/index.mjs +63 -25
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +136 -24
  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 +84 -82
  23. package/build/es/schemas.mjs +167 -161
  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 +65 -25
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +136 -24
  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 +84 -82
  35. package/build/internal/cjs/schemas.js +167 -161
  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 +63 -25
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +136 -24
  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 +84 -82
  47. package/build/internal/es/schemas.mjs +167 -161
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -776,7 +776,7 @@ interface Animation {
776
776
  /**
777
777
  * POINTER carries its fields directly on the union member in the JTD wall, hence
778
778
  * flat fields here (ts-proto camelCase must equal the JTD property names). A future
779
- * SCROLL variant will contend for the `effect` JSON name — resolve when it lands.
779
+ * kind that also needs an `effect` field would contend for this JSON name.
780
780
  */
781
781
  effect?: PointerEffect;
782
782
  /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
@@ -2448,6 +2448,10 @@ interface LayoutData {
2448
2448
  backdrop?: Backdrop;
2449
2449
  /** Node animation. */
2450
2450
  animation?: Animation;
2451
+ /** Shape divider at the top edge of the layout. */
2452
+ topDivider?: SectionDivider;
2453
+ /** Shape divider at the bottom edge of the layout. */
2454
+ bottomDivider?: SectionDivider;
2451
2455
  }
2452
2456
  declare enum ImageScalingScaling {
2453
2457
  /** Auto image scaling */
@@ -2518,6 +2522,81 @@ declare enum BannerPosition {
2518
2522
  }
2519
2523
  /** @enumType */
2520
2524
  type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
2525
+ /** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */
2526
+ declare enum LayerEffect {
2527
+ /** Shape keeps its height, a solid filler bar pushes it away from the edge */
2528
+ CENTER = "CENTER",
2529
+ /** 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 */
2530
+ FADE_TO_TOP = "FADE_TO_TOP",
2531
+ /** 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 */
2532
+ FADE_TO_BOTTOM = "FADE_TO_BOTTOM"
2533
+ }
2534
+ /** @enumType */
2535
+ type LayerEffectWithLiterals = LayerEffect | 'CENTER' | 'FADE_TO_TOP' | 'FADE_TO_BOTTOM';
2536
+ /** Divider shape preset */
2537
+ declare enum Shape {
2538
+ /** Ellipse shape */
2539
+ ELLIPSE = "ELLIPSE",
2540
+ /** Tilt shape */
2541
+ TILT = "TILT",
2542
+ /** Liquid shape */
2543
+ LIQUID = "LIQUID",
2544
+ /** Left wave shape */
2545
+ LEFT_WAVE = "LEFT_WAVE",
2546
+ /** Paint scribble shape */
2547
+ PAINT_SCRIBBLE = "PAINT_SCRIBBLE",
2548
+ /** Inverted ellipse shape */
2549
+ INVERTED_ELLIPSE = "INVERTED_ELLIPSE",
2550
+ /** Right wave shape */
2551
+ RIGHT_WAVE = "RIGHT_WAVE",
2552
+ /** Dunes shape */
2553
+ DUNES = "DUNES",
2554
+ /** Waves shape */
2555
+ WAVES = "WAVES",
2556
+ /** Triangle shape */
2557
+ TRIANGLE = "TRIANGLE",
2558
+ /** Semi-ellipse shape */
2559
+ SEMI_ELLIPSE = "SEMI_ELLIPSE",
2560
+ /** Plants shape */
2561
+ PLANTS = "PLANTS",
2562
+ /** Layered ellipse shape */
2563
+ LAYERED_ELLIPSE = "LAYERED_ELLIPSE",
2564
+ /** Pixels shape */
2565
+ PIXELS = "PIXELS",
2566
+ /** Paint shape */
2567
+ PAINT = "PAINT",
2568
+ /** Clouds shape */
2569
+ CLOUDS = "CLOUDS",
2570
+ /** Optical illusion shape */
2571
+ OPTICAL_ILLUSION = "OPTICAL_ILLUSION",
2572
+ /** Stripes shape */
2573
+ STRIPES = "STRIPES",
2574
+ /** Blobs shape */
2575
+ BLOBS = "BLOBS",
2576
+ /** Semi-circles shape */
2577
+ SEMI_CIRCLES = "SEMI_CIRCLES",
2578
+ /** Hill shape */
2579
+ HILL = "HILL",
2580
+ /** Brush shape */
2581
+ BRUSH = "BRUSH",
2582
+ /** Peaks shape */
2583
+ PEAKS = "PEAKS",
2584
+ /** Angled triangle shape */
2585
+ ANGLED_TRIANGLE = "ANGLED_TRIANGLE"
2586
+ }
2587
+ /** @enumType */
2588
+ 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';
2589
+ /** Layers effect - stacked semi-transparent copies of the divider shape */
2590
+ interface Layers {
2591
+ /** Total number of layers including the base shape (1-4). Absent or 1 disables the effect. */
2592
+ count?: number | null;
2593
+ /** 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. */
2594
+ offsetY?: number | null;
2595
+ /** How the stacked layers fade relative to the base shape. */
2596
+ layerEffect?: LayerEffectWithLiterals;
2597
+ /** Horizontal distance between consecutive layers in pixels. Defaults to 0. Only applies to shapes that support horizontal offset. */
2598
+ offsetX?: number | null;
2599
+ }
2521
2600
  /** Backdrop type */
2522
2601
  declare enum BackdropType {
2523
2602
  /** Solid color backdrop */
@@ -2588,6 +2667,24 @@ interface Backdrop {
2588
2667
  /** Gradient configuration. */
2589
2668
  gradient?: Gradient;
2590
2669
  }
2670
+ /** Decorative shape divider at a layout edge */
2671
+ interface SectionDivider {
2672
+ /** Divider shape preset. Determines which customization properties apply. */
2673
+ type?: ShapeWithLiterals;
2674
+ /**
2675
+ * Divider fill color as a hexadecimal value (may include alpha).
2676
+ * @maxLength 19
2677
+ */
2678
+ color?: string | null;
2679
+ /** Divider height in pixels. */
2680
+ height?: number | null;
2681
+ /** Horizontal offset in pixels. */
2682
+ offsetX?: number | null;
2683
+ /** Whether the shape is flipped horizontally. */
2684
+ flipped?: boolean | null;
2685
+ /** Layers effect - stacked semi-transparent copies of the divider shape. */
2686
+ layers?: Layers;
2687
+ }
2591
2688
  interface LayoutCellData {
2592
2689
  /** Size of the cell in 12 columns grid. */
2593
2690
  colSpan?: number | null;
@@ -2601,6 +2698,13 @@ interface ShapeData {
2601
2698
  styles?: ShapeDataStyles;
2602
2699
  /** Node animation. */
2603
2700
  animation?: Animation;
2701
+ /** Link details for shapes that are links. */
2702
+ link?: Link;
2703
+ /**
2704
+ * Alternate text describing the link's purpose for accessibility. Applies only when `link` is set.
2705
+ * @maxLength 1000
2706
+ */
2707
+ altText?: string | null;
2604
2708
  }
2605
2709
  interface ShapeDataStyles {
2606
2710
  /**
@@ -4250,13 +4354,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
4250
4354
  /**
4251
4355
  * Retrieves the number of published posts per month within a specified time range.
4252
4356
  *
4253
- * The time range is set using the `rangeStart` and `months` properties.
4254
- * The time range always starts on the 1st day of the month set in `rangeStart` and
4255
- * includes the number of `months` following `rangeStart`.
4256
- * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
4257
- * 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.
4258
- * > 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.
4357
+ *
4358
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
4359
+ *
4360
+ * 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.
4361
+ *
4362
+ * >**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.
4259
4363
  * @public
4364
+ * @param options - Options specifying time frame, sort, and filter.
4260
4365
  * @permissionId BLOG.READ-PUBLICATION
4261
4366
  * @applicableIdentity APP
4262
4367
  * @returns Get Blog Post Count Stats response
@@ -4297,6 +4402,7 @@ interface QueryPostCountStatsOptions {
4297
4402
  /**
4298
4403
  * Retrieves the total amount of published posts of the blog.
4299
4404
  * @public
4405
+ * @param options - Language Options.
4300
4406
  * @permissionId BLOG.READ-PUBLICATION
4301
4407
  * @applicableIdentity APP
4302
4408
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4317,12 +4423,12 @@ interface GetTotalPostsOptions {
4317
4423
  * @param postId - Post ID.
4318
4424
  * @public
4319
4425
  * @requiredField postId
4426
+ * @param options - Options specifying which fields to return.
4320
4427
  * @permissionId BLOG.READ-PUBLICATION
4321
4428
  * @applicableIdentity APP
4322
- * @returns Retrieved post info.
4323
4429
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4324
4430
  */
4325
- 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>>;
4431
+ 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>>;
4326
4432
  interface GetPostOptions {
4327
4433
  /**
4328
4434
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4342,6 +4448,7 @@ interface GetPostOptions {
4342
4448
  * @param slug - Slug of the post to retrieve.
4343
4449
  * @public
4344
4450
  * @requiredField slug
4451
+ * @param options - Options specifying which fields to return.
4345
4452
  * @permissionId BLOG.READ-PUBLICATION
4346
4453
  * @applicableIdentity APP
4347
4454
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4369,6 +4476,7 @@ interface GetPostBySlugOptions {
4369
4476
  * - `paging.limit` is `50`.
4370
4477
  * - `paging.offset` is `0`.
4371
4478
  * @public
4479
+ * @param options - Sort, filter, and paging options.
4372
4480
  * @permissionId BLOG.READ-PUBLICATION
4373
4481
  * @applicableIdentity APP
4374
4482
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -4439,18 +4547,26 @@ interface ListPostsOptions {
4439
4547
  fieldsets?: PostFieldFieldWithLiterals[];
4440
4548
  }
4441
4549
  /**
4442
- * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
4550
+ * Creates a query to retrieve a list of posts.
4443
4551
  *
4444
- * Query Posts runs with these defaults, which you can override:
4445
- * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
4446
- * - `paging.limit` is `50`.
4447
- * - `paging.offset` is `0`.
4448
4552
  *
4449
- * To learn about working with _Query_ endpoints, see
4450
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4451
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
4452
- * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
4553
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
4554
+ *
4555
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4556
+ *
4557
+ * 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.
4558
+ *
4559
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
4560
+ * + `limit(50)`
4561
+ * + `descending('firstPublishedDate')`
4562
+ *
4563
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
4564
+ *
4565
+ * To learn how to query posts, refer to the table below.
4566
+ *
4567
+ * 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`.
4453
4568
  * @public
4569
+ * @param options - Options specifying which fields to return.
4454
4570
  * @permissionId BLOG.READ-PUBLICATION
4455
4571
  * @applicableIdentity APP
4456
4572
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -4702,11 +4818,7 @@ type PostQuery = {
4702
4818
  }[];
4703
4819
  };
4704
4820
  declare const utils: {
4705
- query: {
4706
- QueryBuilder: () => _wix_sdk_types.QueryBuilder<Post, PostQuerySpec, PostQuery>;
4707
- Filter: _wix_sdk_types.FilterFactory<Post, PostQuerySpec>;
4708
- Sort: _wix_sdk_types.SortFactory<PostQuerySpec>;
4709
- };
4821
+ query: _wix_sdk_types.QueryHelpers<Post, PostQuerySpec, PostQuery>;
4710
4822
  };
4711
4823
  /**
4712
4824
  * Retrieves a post's metrics.
@@ -4721,4 +4833,4 @@ declare const utils: {
4721
4833
  */
4722
4834
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4723
4835
 
4724
- 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 };
4836
+ 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"]
1737
- )?.post;
1769
+ ["post.richContent", "post.rich_content"]
1770
+ );
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"]
1817
+ ["post.richContent", "post.rich_content"]
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"]
1876
+ ["posts.richContent", "posts.rich_content"]
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"]
1946
+ ["posts.richContent", "posts.rich_content"]
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"]
1994
+ ["posts.richContent", "posts.rich_content"]
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,