@wix/auto_sdk_blog_posts 1.0.157 → 1.0.159

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 +23 -16
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +49 -35
  5. package/build/cjs/index.typings.js +18 -6
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +30 -4
  8. package/build/cjs/meta.js +12 -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 +147 -153
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +11 -15
  14. package/build/es/index.mjs +22 -16
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +49 -35
  17. package/build/es/index.typings.mjs +17 -6
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +30 -4
  20. package/build/es/meta.mjs +11 -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 +147 -153
  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 +23 -16
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +49 -35
  29. package/build/internal/cjs/index.typings.js +18 -6
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +30 -4
  32. package/build/internal/cjs/meta.js +12 -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 +147 -153
  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 +22 -16
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +49 -35
  41. package/build/internal/es/index.typings.mjs +17 -6
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +30 -4
  44. package/build/internal/es/meta.mjs +11 -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 +147 -153
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1463,6 +1463,8 @@ interface Decoration extends DecorationDataOneOf {
1463
1463
  subscriptData?: boolean | null;
1464
1464
  /** Data for a font family decoration. */
1465
1465
  fontFamilyData?: FontFamilyData;
1466
+ /** Data for a hand-drawn sketch annotation decoration. */
1467
+ sketchData?: SketchData;
1466
1468
  /** The type of decoration to apply. */
1467
1469
  type?: DecorationTypeWithLiterals;
1468
1470
  }
@@ -1494,6 +1496,8 @@ interface DecorationDataOneOf {
1494
1496
  subscriptData?: boolean | null;
1495
1497
  /** Data for a font family decoration. */
1496
1498
  fontFamilyData?: FontFamilyData;
1499
+ /** Data for a hand-drawn sketch annotation decoration. */
1500
+ sketchData?: SketchData;
1497
1501
  }
1498
1502
  declare enum DecorationType {
1499
1503
  BOLD = "BOLD",
@@ -1509,10 +1513,11 @@ declare enum DecorationType {
1509
1513
  STRIKETHROUGH = "STRIKETHROUGH",
1510
1514
  SUPERSCRIPT = "SUPERSCRIPT",
1511
1515
  SUBSCRIPT = "SUBSCRIPT",
1512
- FONT_FAMILY = "FONT_FAMILY"
1516
+ FONT_FAMILY = "FONT_FAMILY",
1517
+ SKETCH = "SKETCH"
1513
1518
  }
1514
1519
  /** @enumType */
1515
- type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
1520
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY' | 'SKETCH';
1516
1521
  interface AnchorData {
1517
1522
  /** The target node's ID. */
1518
1523
  anchor?: string;
@@ -1555,6 +1560,27 @@ interface FontFamilyData {
1555
1560
  /** @maxLength 1000 */
1556
1561
  value?: string | null;
1557
1562
  }
1563
+ interface SketchData {
1564
+ /** The sketch annotation variant to draw over the text. */
1565
+ variant?: VariantWithLiterals;
1566
+ /**
1567
+ * Annotation color. Defaults to the theme action color.
1568
+ * @maxLength 19
1569
+ */
1570
+ color?: string | null;
1571
+ /** Whether the annotation animates on first paint. Defaults to `true`. */
1572
+ animate?: boolean | null;
1573
+ }
1574
+ declare enum Variant {
1575
+ UNDERLINE = "UNDERLINE",
1576
+ BOX = "BOX",
1577
+ CIRCLE = "CIRCLE",
1578
+ HIGHLIGHT = "HIGHLIGHT",
1579
+ STRIKETHROUGH = "STRIKETHROUGH",
1580
+ CROSSED_OFF = "CROSSED_OFF"
1581
+ }
1582
+ /** @enumType */
1583
+ type VariantWithLiterals = Variant | 'UNDERLINE' | 'BOX' | 'CIRCLE' | 'HIGHLIGHT' | 'STRIKETHROUGH' | 'CROSSED_OFF';
1558
1584
  interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1559
1585
  /** Data for embedded Wix Bookings content. */
1560
1586
  bookingData?: BookingData;
@@ -3248,7 +3274,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
3248
3274
  /** If present, indicates the action that triggered the event. */
3249
3275
  originatedFrom?: string | null;
3250
3276
  /**
3251
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
3277
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
3252
3278
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
3253
3279
  */
3254
3280
  entityEventSequence?: string | null;
@@ -4206,7 +4232,7 @@ interface EventMetadata extends BaseEventMetadata {
4206
4232
  /** If present, indicates the action that triggered the event. */
4207
4233
  originatedFrom?: string | null;
4208
4234
  /**
4209
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
4235
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
4210
4236
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
4211
4237
  */
4212
4238
  entityEventSequence?: string | null;
@@ -4312,14 +4338,13 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
4312
4338
  /**
4313
4339
  * Retrieves the number of published posts per month within a specified time range.
4314
4340
  *
4315
- *
4316
- * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
4317
- *
4318
- * 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.
4319
- *
4320
- * >**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.
4341
+ * The time range is set using the `rangeStart` and `months` properties.
4342
+ * The time range always starts on the 1st day of the month set in `rangeStart` and
4343
+ * includes the number of `months` following `rangeStart`.
4344
+ * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
4345
+ * 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.
4346
+ * > 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.
4321
4347
  * @public
4322
- * @param options - Options specifying time frame, sort, and filter.
4323
4348
  * @permissionId BLOG.READ-PUBLICATION
4324
4349
  * @applicableIdentity APP
4325
4350
  * @returns Get Blog Post Count Stats response
@@ -4360,7 +4385,6 @@ interface QueryPostCountStatsOptions {
4360
4385
  /**
4361
4386
  * Retrieves the total amount of published posts of the blog.
4362
4387
  * @public
4363
- * @param options - Language Options.
4364
4388
  * @permissionId BLOG.READ-PUBLICATION
4365
4389
  * @applicableIdentity APP
4366
4390
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4381,12 +4405,12 @@ interface GetTotalPostsOptions {
4381
4405
  * @param postId - Post ID.
4382
4406
  * @public
4383
4407
  * @requiredField postId
4384
- * @param options - Options specifying which fields to return.
4385
4408
  * @permissionId BLOG.READ-PUBLICATION
4386
4409
  * @applicableIdentity APP
4410
+ * @returns Retrieved post info.
4387
4411
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4388
4412
  */
4389
- 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>>;
4413
+ 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>>;
4390
4414
  interface GetPostOptions {
4391
4415
  /**
4392
4416
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4406,7 +4430,6 @@ interface GetPostOptions {
4406
4430
  * @param slug - Slug of the post to retrieve.
4407
4431
  * @public
4408
4432
  * @requiredField slug
4409
- * @param options - Options specifying which fields to return.
4410
4433
  * @permissionId BLOG.READ-PUBLICATION
4411
4434
  * @applicableIdentity APP
4412
4435
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4434,7 +4457,6 @@ interface GetPostBySlugOptions {
4434
4457
  * - `paging.limit` is `50`.
4435
4458
  * - `paging.offset` is `0`.
4436
4459
  * @public
4437
- * @param options - Sort, filter, and paging options.
4438
4460
  * @permissionId BLOG.READ-PUBLICATION
4439
4461
  * @applicableIdentity APP
4440
4462
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -4505,26 +4527,18 @@ interface ListPostsOptions {
4505
4527
  fieldsets?: PostFieldFieldWithLiterals[];
4506
4528
  }
4507
4529
  /**
4508
- * Creates a query to retrieve a list of posts.
4509
- *
4510
- *
4511
- * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
4512
- *
4513
- * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4514
- *
4515
- * 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.
4530
+ * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
4516
4531
  *
4517
- * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
4518
- * + `limit(50)`
4519
- * + `descending('firstPublishedDate')`
4520
- *
4521
- * Note that the default limit is `'50'`, but the max limit is `'100'`.
4522
- *
4523
- * To learn how to query posts, refer to the table below.
4532
+ * Query Posts runs with these defaults, which you can override:
4533
+ * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
4534
+ * - `paging.limit` is `50`.
4535
+ * - `paging.offset` is `0`.
4524
4536
  *
4525
- * 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`.
4537
+ * To learn about working with _Query_ endpoints, see
4538
+ * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4539
+ * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
4540
+ * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
4526
4541
  * @public
4527
- * @param options - Options specifying which fields to return.
4528
4542
  * @permissionId BLOG.READ-PUBLICATION
4529
4543
  * @applicableIdentity APP
4530
4544
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -4774,7 +4788,7 @@ declare const utils: {
4774
4788
  query: {
4775
4789
  QueryBuilder: () => _wix_sdk_types.QueryBuilder<Post, PostQuerySpec, PostQuery>;
4776
4790
  Filter: _wix_sdk_types.FilterFactory<Post, PostQuerySpec>;
4777
- Sort: _wix_sdk_types.SortFactory<PostQuerySpec>; /** Data for a color decoration. */
4791
+ Sort: _wix_sdk_types.SortFactory<PostQuerySpec>;
4778
4792
  };
4779
4793
  };
4780
4794
  /**
@@ -4790,4 +4804,4 @@ declare const utils: {
4790
4804
  */
4791
4805
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4792
4806
 
4793
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, 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, BannerOrigin, type BannerOriginWithLiterals, 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, type Category, type CategoryTranslation, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, 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 DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, 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, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, 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 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, 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 ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, 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 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, 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 };
4807
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, 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, BannerOrigin, type BannerOriginWithLiterals, 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, type Category, type CategoryTranslation, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, 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 DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, 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, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, 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 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, 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 ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, 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 };
@@ -1166,6 +1166,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
1166
1166
  DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
1167
1167
  DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
1168
1168
  DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
1169
+ DecorationType2["SKETCH"] = "SKETCH";
1169
1170
  return DecorationType2;
1170
1171
  })(DecorationType || {});
1171
1172
  var FontType = /* @__PURE__ */ ((FontType2) => {
@@ -1173,6 +1174,15 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
1173
1174
  FontType2["EM"] = "EM";
1174
1175
  return FontType2;
1175
1176
  })(FontType || {});
1177
+ var Variant = /* @__PURE__ */ ((Variant2) => {
1178
+ Variant2["UNDERLINE"] = "UNDERLINE";
1179
+ Variant2["BOX"] = "BOX";
1180
+ Variant2["CIRCLE"] = "CIRCLE";
1181
+ Variant2["HIGHLIGHT"] = "HIGHLIGHT";
1182
+ Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
1183
+ Variant2["CROSSED_OFF"] = "CROSSED_OFF";
1184
+ return Variant2;
1185
+ })(Variant || {});
1176
1186
  var Position = /* @__PURE__ */ ((Position2) => {
1177
1187
  Position2["START"] = "START";
1178
1188
  Position2["END"] = "END";
@@ -1568,8 +1578,8 @@ async function getPost2(postId, options) {
1568
1578
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1569
1579
  }
1570
1580
  ]),
1571
- ["post.richContent", "post.rich_content"]
1572
- );
1581
+ ["post.richContent"]
1582
+ )?.post;
1573
1583
  } catch (err) {
1574
1584
  const transformedError = sdkTransformError(
1575
1585
  err,
@@ -1616,7 +1626,7 @@ async function getPostBySlug2(slug, options) {
1616
1626
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1617
1627
  }
1618
1628
  ]),
1619
- ["post.richContent", "post.rich_content"]
1629
+ ["post.richContent"]
1620
1630
  );
1621
1631
  } catch (err) {
1622
1632
  const transformedError = sdkTransformError(
@@ -1675,7 +1685,7 @@ async function listPosts2(options) {
1675
1685
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1676
1686
  }
1677
1687
  ]),
1678
- ["posts.richContent", "posts.rich_content"]
1688
+ ["posts.richContent"]
1679
1689
  );
1680
1690
  } catch (err) {
1681
1691
  const transformedError = sdkTransformError(
@@ -1745,7 +1755,7 @@ function queryPosts2(options) {
1745
1755
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1746
1756
  }
1747
1757
  ]),
1748
- ["posts.richContent", "posts.rich_content"]
1758
+ ["posts.richContent"]
1749
1759
  );
1750
1760
  return {
1751
1761
  items: transformedData?.posts,
@@ -1793,7 +1803,7 @@ async function typedQueryPosts(query, options) {
1793
1803
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1794
1804
  }
1795
1805
  ]),
1796
- ["posts.richContent", "posts.rich_content"]
1806
+ ["posts.richContent"]
1797
1807
  );
1798
1808
  } catch (err) {
1799
1809
  const transformedError = sdkTransformError(
@@ -1896,6 +1906,7 @@ export {
1896
1906
  TextAlignment,
1897
1907
  ThumbnailsAlignment,
1898
1908
  Type,
1909
+ Variant,
1899
1910
  VerticalAlignment,
1900
1911
  VerticalAlignmentAlignment,
1901
1912
  ViewMode,