@wix/auto_sdk_blog_posts 1.0.169 → 1.0.170

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 +31 -11
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +87 -22
  5. package/build/cjs/index.typings.js +21 -6
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +58 -5
  8. package/build/cjs/meta.js +15 -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 +153 -147
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +15 -11
  14. package/build/es/index.mjs +30 -11
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +87 -22
  17. package/build/es/index.typings.mjs +20 -6
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +58 -5
  20. package/build/es/meta.mjs +14 -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 +153 -147
  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 +31 -11
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +87 -22
  29. package/build/internal/cjs/index.typings.js +21 -6
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +58 -5
  32. package/build/internal/cjs/meta.js +15 -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 +153 -147
  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 +30 -11
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +87 -22
  41. package/build/internal/es/index.typings.mjs +20 -6
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +58 -5
  44. package/build/internal/es/meta.mjs +14 -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 +153 -147
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -754,17 +754,27 @@ interface Rel {
754
754
  interface Animation {
755
755
  /** Animation kind. */
756
756
  type?: TypeWithLiterals;
757
- /** Entrance animation, played once when the node first enters the viewport. */
757
+ /** Entrance animation, played once when the node first enters the viewport (VIEW). */
758
758
  entrance?: EntranceAnimation;
759
- /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes. */
759
+ /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */
760
760
  loop?: LoopAnimation;
761
+ /**
762
+ * POINTER carries its fields directly on the union member in the JTD wall, hence
763
+ * flat fields here (ts-proto camelCase must equal the JTD property names). A future
764
+ * SCROLL variant will contend for the `effect` JSON name — resolve when it lands.
765
+ */
766
+ effect?: PointerEffect;
767
+ /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
768
+ transitionDuration?: number | null;
761
769
  }
762
770
  declare enum Type {
763
771
  /** Animations that play while the node is in view. */
764
- VIEW = "VIEW"
772
+ VIEW = "VIEW",
773
+ /** Animations driven by the visitor's mouse position. */
774
+ POINTER = "POINTER"
765
775
  }
766
776
  /** @enumType */
767
- type TypeWithLiterals = Type | 'VIEW';
777
+ type TypeWithLiterals = Type | 'VIEW' | 'POINTER';
768
778
  interface EntranceAnimation {
769
779
  /** The entrance effect to play. */
770
780
  effect?: EntranceEffect;
@@ -884,6 +894,49 @@ declare enum LoopEffectType {
884
894
  }
885
895
  /** @enumType */
886
896
  type LoopEffectTypeWithLiterals = LoopEffectType | 'BOUNCE' | 'BREATHE' | 'CROSS' | 'FLASH' | 'FLIP' | 'FOLD' | 'JELLO' | 'POKE' | 'PULSE' | 'RUBBER' | 'SPIN' | 'SWING' | 'WIGGLE';
897
+ interface PointerEffect {
898
+ /** The mouse effect type. */
899
+ type?: PointerEffectTypeWithLiterals;
900
+ /** Reacts away from the pointer instead of toward it. */
901
+ inverted?: boolean | null;
902
+ /**
903
+ * One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.
904
+ * @maxLength 20
905
+ */
906
+ axis?: string | null;
907
+ /**
908
+ * Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).
909
+ * @maxLength 8
910
+ */
911
+ direction?: string | null;
912
+ /**
913
+ * Motion style: GENTLE, MODERATE, or INTENSE.
914
+ * @maxLength 100
915
+ */
916
+ easing?: string | null;
917
+ }
918
+ declare enum PointerEffectType {
919
+ /** Drifts loosely after the pointer with a light rotation. */
920
+ AIRY = "AIRY",
921
+ /** Squashes and stretches toward the pointer. */
922
+ BLOB = "BLOB",
923
+ /** Shifts after the pointer while blurring. */
924
+ BLUR = "BLUR",
925
+ /** Scales as the pointer approaches. */
926
+ SCALE = "SCALE",
927
+ /** Skews toward the pointer. */
928
+ SKEW = "SKEW",
929
+ /** Rotates around a pivot edge or axis, following the pointer. */
930
+ SWIVEL = "SWIVEL",
931
+ /** Tilts in 3D perspective toward the pointer. */
932
+ TILT_3D = "TILT_3D",
933
+ /** Follows the pointer's position. */
934
+ TRACK = "TRACK",
935
+ /** Follows the pointer with a 3D depth motion. */
936
+ TRACK_3D = "TRACK_3D"
937
+ }
938
+ /** @enumType */
939
+ type PointerEffectTypeWithLiterals = PointerEffectType | 'AIRY' | 'BLOB' | 'BLUR' | 'SCALE' | 'SKEW' | 'SWIVEL' | 'TILT_3D' | 'TRACK' | 'TRACK_3D';
887
940
  interface CodeBlockData {
888
941
  /** Styling for the code block's text. */
889
942
  textStyle?: TextStyle;
@@ -4182,13 +4235,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
4182
4235
  /**
4183
4236
  * Retrieves the number of published posts per month within a specified time range.
4184
4237
  *
4185
- * The time range is set using the `rangeStart` and `months` properties.
4186
- * The time range always starts on the 1st day of the month set in `rangeStart` and
4187
- * includes the number of `months` following `rangeStart`.
4188
- * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
4189
- * 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.
4190
- * > 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.
4238
+ *
4239
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
4240
+ *
4241
+ * 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.
4242
+ *
4243
+ * >**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.
4191
4244
  * @public
4245
+ * @param options - Options specifying time frame, sort, and filter.
4192
4246
  * @permissionId BLOG.READ-PUBLICATION
4193
4247
  * @applicableIdentity APP
4194
4248
  * @returns Get Blog Post Count Stats response
@@ -4229,6 +4283,7 @@ interface QueryPostCountStatsOptions {
4229
4283
  /**
4230
4284
  * Retrieves the total amount of published posts of the blog.
4231
4285
  * @public
4286
+ * @param options - Language Options.
4232
4287
  * @permissionId BLOG.READ-PUBLICATION
4233
4288
  * @applicableIdentity APP
4234
4289
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4249,12 +4304,12 @@ interface GetTotalPostsOptions {
4249
4304
  * @param postId - Post ID.
4250
4305
  * @public
4251
4306
  * @requiredField postId
4307
+ * @param options - Options specifying which fields to return.
4252
4308
  * @permissionId BLOG.READ-PUBLICATION
4253
4309
  * @applicableIdentity APP
4254
- * @returns Retrieved post info.
4255
4310
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4256
4311
  */
4257
- 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>>;
4312
+ 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>>;
4258
4313
  interface GetPostOptions {
4259
4314
  /**
4260
4315
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4274,6 +4329,7 @@ interface GetPostOptions {
4274
4329
  * @param slug - Slug of the post to retrieve.
4275
4330
  * @public
4276
4331
  * @requiredField slug
4332
+ * @param options - Options specifying which fields to return.
4277
4333
  * @permissionId BLOG.READ-PUBLICATION
4278
4334
  * @applicableIdentity APP
4279
4335
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4301,6 +4357,7 @@ interface GetPostBySlugOptions {
4301
4357
  * - `paging.limit` is `50`.
4302
4358
  * - `paging.offset` is `0`.
4303
4359
  * @public
4360
+ * @param options - Sort, filter, and paging options.
4304
4361
  * @permissionId BLOG.READ-PUBLICATION
4305
4362
  * @applicableIdentity APP
4306
4363
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -4371,18 +4428,26 @@ interface ListPostsOptions {
4371
4428
  fieldsets?: PostFieldFieldWithLiterals[];
4372
4429
  }
4373
4430
  /**
4374
- * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
4431
+ * Creates a query to retrieve a list of posts.
4375
4432
  *
4376
- * Query Posts runs with these defaults, which you can override:
4377
- * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
4378
- * - `paging.limit` is `50`.
4379
- * - `paging.offset` is `0`.
4380
4433
  *
4381
- * To learn about working with _Query_ endpoints, see
4382
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4383
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
4384
- * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
4434
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
4435
+ *
4436
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4437
+ *
4438
+ * 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.
4439
+ *
4440
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
4441
+ * + `limit(50)`
4442
+ * + `descending('firstPublishedDate')`
4443
+ *
4444
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
4445
+ *
4446
+ * To learn how to query posts, refer to the table below.
4447
+ *
4448
+ * 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`.
4385
4449
  * @public
4450
+ * @param options - Options specifying which fields to return.
4386
4451
  * @permissionId BLOG.READ-PUBLICATION
4387
4452
  * @applicableIdentity APP
4388
4453
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -4653,4 +4718,4 @@ declare const utils: {
4653
4718
  */
4654
4719
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4655
4720
 
4656
- 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 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 };
4721
+ 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 };
@@ -1172,6 +1172,7 @@ var Target = /* @__PURE__ */ ((Target2) => {
1172
1172
  })(Target || {});
1173
1173
  var Type = /* @__PURE__ */ ((Type2) => {
1174
1174
  Type2["VIEW"] = "VIEW";
1175
+ Type2["POINTER"] = "POINTER";
1175
1176
  return Type2;
1176
1177
  })(Type || {});
1177
1178
  var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
@@ -1211,6 +1212,18 @@ var LoopEffectType = /* @__PURE__ */ ((LoopEffectType2) => {
1211
1212
  LoopEffectType2["WIGGLE"] = "WIGGLE";
1212
1213
  return LoopEffectType2;
1213
1214
  })(LoopEffectType || {});
1215
+ var PointerEffectType = /* @__PURE__ */ ((PointerEffectType2) => {
1216
+ PointerEffectType2["AIRY"] = "AIRY";
1217
+ PointerEffectType2["BLOB"] = "BLOB";
1218
+ PointerEffectType2["BLUR"] = "BLUR";
1219
+ PointerEffectType2["SCALE"] = "SCALE";
1220
+ PointerEffectType2["SKEW"] = "SKEW";
1221
+ PointerEffectType2["SWIVEL"] = "SWIVEL";
1222
+ PointerEffectType2["TILT_3D"] = "TILT_3D";
1223
+ PointerEffectType2["TRACK"] = "TRACK";
1224
+ PointerEffectType2["TRACK_3D"] = "TRACK_3D";
1225
+ return PointerEffectType2;
1226
+ })(PointerEffectType || {});
1214
1227
  var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
1215
1228
  TextAlignment2["AUTO"] = "AUTO";
1216
1229
  TextAlignment2["LEFT"] = "LEFT";
@@ -1720,8 +1733,8 @@ async function getPost2(postId, options) {
1720
1733
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1721
1734
  }
1722
1735
  ]),
1723
- ["post.richContent"]
1724
- )?.post;
1736
+ ["post.richContent", "post.rich_content"]
1737
+ );
1725
1738
  } catch (err) {
1726
1739
  const transformedError = sdkTransformError(
1727
1740
  err,
@@ -1768,7 +1781,7 @@ async function getPostBySlug2(slug, options) {
1768
1781
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1769
1782
  }
1770
1783
  ]),
1771
- ["post.richContent"]
1784
+ ["post.richContent", "post.rich_content"]
1772
1785
  );
1773
1786
  } catch (err) {
1774
1787
  const transformedError = sdkTransformError(
@@ -1827,7 +1840,7 @@ async function listPosts2(options) {
1827
1840
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1828
1841
  }
1829
1842
  ]),
1830
- ["posts.richContent"]
1843
+ ["posts.richContent", "posts.rich_content"]
1831
1844
  );
1832
1845
  } catch (err) {
1833
1846
  const transformedError = sdkTransformError(
@@ -1897,7 +1910,7 @@ function queryPosts2(options) {
1897
1910
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1898
1911
  }
1899
1912
  ]),
1900
- ["posts.richContent"]
1913
+ ["posts.richContent", "posts.rich_content"]
1901
1914
  );
1902
1915
  return {
1903
1916
  items: transformedData?.posts,
@@ -1945,7 +1958,7 @@ async function typedQueryPosts(query, options) {
1945
1958
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1946
1959
  }
1947
1960
  ]),
1948
- ["posts.richContent"]
1961
+ ["posts.richContent", "posts.rich_content"]
1949
1962
  );
1950
1963
  } catch (err) {
1951
1964
  const transformedError = sdkTransformError(
@@ -2031,6 +2044,7 @@ export {
2031
2044
  Origin,
2032
2045
  Placement,
2033
2046
  PluginContainerDataAlignment,
2047
+ PointerEffectType,
2034
2048
  PollDesignBackgroundType,
2035
2049
  PollLayoutDirection,
2036
2050
  PollLayoutType,