@wix/auto_sdk_blog_posts 1.0.34 → 1.0.35

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.
@@ -1,3 +1,5 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
1
3
  interface Post {
2
4
  /**
3
5
  * Post ID.
@@ -1619,6 +1621,8 @@ declare enum NullValue {
1619
1621
  /** Null value. */
1620
1622
  NULL_VALUE = "NULL_VALUE"
1621
1623
  }
1624
+ /** @enumType */
1625
+ type NullValueWithLiterals = NullValue | 'NULL_VALUE';
1622
1626
  /**
1623
1627
  * `ListValue` is a wrapper around a repeated field of values.
1624
1628
  *
@@ -2522,6 +2526,8 @@ declare enum Origin {
2522
2526
  /** Saved automatically by AI tool. */
2523
2527
  AI_AUTO_SAVE = "AI_AUTO_SAVE"
2524
2528
  }
2529
+ /** @enumType */
2530
+ type OriginWithLiterals = Origin | 'UNKNOWN' | 'ADMIN' | 'ADD_CATEGORIES' | 'AUTO_SAVE' | 'COPY_TEMPLATE' | 'IMPORT' | 'IMPORT_BULK' | 'IMPORT_HTML' | 'IMPORT_PATCH' | 'LANGUAGE_CHANGE' | 'MANUAL_SAVE' | 'MIGRATION' | 'MODERATION' | 'MOVE_TO_TRASH' | 'PRICING_PLANS_CHANGE' | 'PROVISION' | 'PUBLISH' | 'REASSIGN_OWNER' | 'REBLOG' | 'RESTORE' | 'REVERT_TO_DRAFT' | 'TRANSLATION' | 'UNPUBLISH' | 'UNSCHEDULE' | 'NEW_EDIT_SESSION' | 'SCHEDULING_SERVICE_SCHEDULE' | 'SCHEDULING_SERVICE_UNSCHEDULE' | 'SCHEDULING_SERVICE_PUBLISH' | 'SCHEDULE' | 'REMOVE_FROM_MODERATION' | 'REJECT_FROM_MODERATION' | 'APPROVE_IN_MODERATION' | 'DELETE_TAG' | 'PIN' | 'UNPIN' | 'AI_AUTO_SAVE';
2525
2531
  declare enum Status {
2526
2532
  UNKNOWN = "UNKNOWN",
2527
2533
  /** Status indicating the draft post is published. */
@@ -3298,22 +3304,126 @@ interface PostCreatedEnvelope {
3298
3304
  entity: Post;
3299
3305
  metadata: EventMetadata;
3300
3306
  }
3307
+ /**
3308
+ * Triggered when a post is created.
3309
+ * @permissionScope Read Blog
3310
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3311
+ * @permissionScope Manage Blog
3312
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3313
+ * @permissionScope Manage Blog
3314
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3315
+ * @permissionScope Read Draft Blog Posts
3316
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3317
+ * @permissionId BLOG.READ-PUBLICATION
3318
+ * @webhook
3319
+ * @eventType wix.blog.v3.post_created
3320
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3321
+ * @slug created
3322
+ */
3323
+ declare function onPostCreated(handler: (event: PostCreatedEnvelope) => void | Promise<void>): void;
3301
3324
  interface PostDeletedEnvelope {
3302
3325
  entity: Post;
3303
3326
  metadata: EventMetadata;
3304
3327
  }
3328
+ /**
3329
+ * Triggered when a post is deleted.
3330
+ * @permissionScope Read Blog
3331
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3332
+ * @permissionScope Manage Blog
3333
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3334
+ * @permissionScope Manage Blog
3335
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3336
+ * @permissionScope Read Draft Blog Posts
3337
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3338
+ * @permissionId BLOG.READ-PUBLICATION
3339
+ * @webhook
3340
+ * @eventType wix.blog.v3.post_deleted
3341
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3342
+ * @slug deleted
3343
+ */
3344
+ declare function onPostDeleted(handler: (event: PostDeletedEnvelope) => void | Promise<void>): void;
3305
3345
  interface PostLikedEnvelope {
3306
3346
  data: PostLiked;
3307
3347
  metadata: EventMetadata;
3308
3348
  }
3349
+ /**
3350
+ * Triggered when a post is liked.
3351
+ * @permissionScope Read Blog
3352
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3353
+ * @permissionScope Manage Blog
3354
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3355
+ * @permissionScope Manage Blog
3356
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3357
+ * @permissionScope Read Draft Blog Posts
3358
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3359
+ * @permissionId BLOG.READ-PUBLICATION
3360
+ * @webhook
3361
+ * @eventType wix.blog.v3.post_liked
3362
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3363
+ * @slug liked
3364
+ */
3365
+ declare function onPostLiked(handler: (event: PostLikedEnvelope) => void | Promise<void>): void;
3309
3366
  interface PostUnlikedEnvelope {
3310
3367
  data: PostUnliked;
3311
3368
  metadata: EventMetadata;
3312
3369
  }
3370
+ /**
3371
+ * Triggered when a post is unliked.
3372
+ * @permissionScope Read Blog
3373
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3374
+ * @permissionScope Manage Blog
3375
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3376
+ * @permissionScope Manage Blog
3377
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3378
+ * @permissionScope Read Draft Blog Posts
3379
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3380
+ * @permissionId BLOG.READ-PUBLICATION
3381
+ * @webhook
3382
+ * @eventType wix.blog.v3.post_unliked
3383
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3384
+ * @slug unliked
3385
+ */
3386
+ declare function onPostUnliked(handler: (event: PostUnlikedEnvelope) => void | Promise<void>): void;
3313
3387
  interface PostUpdatedEnvelope {
3314
3388
  entity: Post;
3315
3389
  metadata: EventMetadata;
3316
3390
  }
3391
+ /**
3392
+ * Triggered when a post is updated.
3393
+ * @permissionScope Read Blog
3394
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3395
+ * @permissionScope Manage Blog
3396
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3397
+ * @permissionScope Manage Blog
3398
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3399
+ * @permissionScope Read Draft Blog Posts
3400
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3401
+ * @permissionId BLOG.READ-PUBLICATION
3402
+ * @webhook
3403
+ * @eventType wix.blog.v3.post_updated
3404
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3405
+ * @slug updated
3406
+ */
3407
+ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | Promise<void>): void;
3408
+ type PostNonNullablePaths = `_id` | `title` | `excerpt` | `slug` | `featured` | `pinned` | `categoryIds` | `coverMedia.enabled` | `coverMedia.displayed` | `coverMedia.custom` | `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`;
3409
+ /**
3410
+ * Retrieves the number of published posts per month within a specified time range.
3411
+ *
3412
+ *
3413
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
3414
+ *
3415
+ * 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.
3416
+ *
3417
+ * >**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.
3418
+ * @public
3419
+ * @param options - Options specifying time frame, sort, and filter.
3420
+ * @permissionId BLOG.READ-PUBLICATION
3421
+ * @applicableIdentity APP
3422
+ * @applicableIdentity VISITOR
3423
+ * @returns Get Blog Post Count Stats response
3424
+ * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats
3425
+ */
3426
+ declare function queryPostCountStats(options?: QueryPostCountStatsOptions): Promise<NonNullablePaths<QueryPostCountStatsResponse, `stats` | `stats.${number}.postCount`>>;
3317
3427
  interface QueryPostCountStatsOptions {
3318
3428
  /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3319
3429
  rangeStart?: Date | null;
@@ -3345,6 +3455,16 @@ interface QueryPostCountStatsOptions {
3345
3455
  */
3346
3456
  timeZone?: string | null;
3347
3457
  }
3458
+ /**
3459
+ * Retrieves the total amount of published posts of the blog.
3460
+ * @public
3461
+ * @param options - Language Options.
3462
+ * @permissionId BLOG.READ-PUBLICATION
3463
+ * @applicableIdentity APP
3464
+ * @applicableIdentity VISITOR
3465
+ * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
3466
+ */
3467
+ declare function getTotalPosts(options?: GetTotalPostsOptions): Promise<NonNullablePaths<GetTotalPostsResponse, `total`>>;
3348
3468
  interface GetTotalPostsOptions {
3349
3469
  /**
3350
3470
  * Language filter.
@@ -3355,6 +3475,20 @@ interface GetTotalPostsOptions {
3355
3475
  */
3356
3476
  language?: string | null;
3357
3477
  }
3478
+ /**
3479
+ * Retrieves a post by the specified ID.
3480
+ * @param postId - Post ID.
3481
+ * @public
3482
+ * @requiredField postId
3483
+ * @param options - Options specifying which fields to return.
3484
+ * @permissionId BLOG.READ-PUBLICATION
3485
+ * @applicableIdentity APP
3486
+ * @applicableIdentity VISITOR
3487
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
3488
+ */
3489
+ declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, {
3490
+ [P in PostNonNullablePaths]: `post.${P}`;
3491
+ }[PostNonNullablePaths]>>;
3358
3492
  interface GetPostOptions {
3359
3493
  /**
3360
3494
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -3364,6 +3498,25 @@ interface GetPostOptions {
3364
3498
  */
3365
3499
  fieldsets?: PostFieldFieldWithLiterals[];
3366
3500
  }
3501
+ /**
3502
+ * Retrieves a post with the provided slug.
3503
+ *
3504
+ * The slug is the end of a post's URL that refers to a specific post.
3505
+ * For example, if a post's URL is `https:/example.com/blog/post/my-post-slug`,
3506
+ * the slug is `my-post-slug`. The slug is case-sensitive, and is generally derived from the post title,
3507
+ * unless specified otherwise.
3508
+ * @param slug - Slug of the post to retrieve.
3509
+ * @public
3510
+ * @requiredField slug
3511
+ * @param options - Options specifying which fields to return.
3512
+ * @permissionId BLOG.READ-PUBLICATION
3513
+ * @applicableIdentity APP
3514
+ * @applicableIdentity VISITOR
3515
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
3516
+ */
3517
+ declare function getPostBySlug(slug: string, options?: GetPostBySlugOptions): Promise<NonNullablePaths<GetPostBySlugResponse, {
3518
+ [P in PostNonNullablePaths]: `post.${P}`;
3519
+ }[PostNonNullablePaths]>>;
3367
3520
  interface GetPostBySlugOptions {
3368
3521
  /**
3369
3522
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -3373,6 +3526,23 @@ interface GetPostBySlugOptions {
3373
3526
  */
3374
3527
  fieldsets?: PostFieldFieldWithLiterals[];
3375
3528
  }
3529
+ /**
3530
+ * Retrieves a list of up to 100 published posts per request.
3531
+ *
3532
+ * List Posts runs with these defaults, which you can override:
3533
+ * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
3534
+ * - `paging.limit` is `50`.
3535
+ * - `paging.offset` is `0`.
3536
+ * @public
3537
+ * @param options - Sort, filter, and paging options.
3538
+ * @permissionId BLOG.READ-PUBLICATION
3539
+ * @applicableIdentity APP
3540
+ * @applicableIdentity VISITOR
3541
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
3542
+ */
3543
+ declare function listPosts(options?: ListPostsOptions): Promise<NonNullablePaths<ListPostsResponse, {
3544
+ [P in PostNonNullablePaths]: `posts.${number}.${P}`;
3545
+ }[PostNonNullablePaths] | `metaData.count` | `metaData.offset` | `metaData.total`>>;
3376
3546
  interface ListPostsOptions {
3377
3547
  /**
3378
3548
  * Whether to return only featured posts.
@@ -3437,6 +3607,33 @@ interface ListPostsOptions {
3437
3607
  */
3438
3608
  fieldsets?: PostFieldFieldWithLiterals[];
3439
3609
  }
3610
+ /**
3611
+ * Creates a query to retrieve a list of posts.
3612
+ *
3613
+ *
3614
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
3615
+ *
3616
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
3617
+ *
3618
+ * 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.
3619
+ *
3620
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
3621
+ * + `limit(50)`
3622
+ * + `descending('firstPublishedDate')`
3623
+ *
3624
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
3625
+ *
3626
+ * To learn how to query posts, refer to the table below.
3627
+ *
3628
+ * 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`.
3629
+ * @public
3630
+ * @param options - Options specifying which fields to return.
3631
+ * @permissionId BLOG.READ-PUBLICATION
3632
+ * @applicableIdentity APP
3633
+ * @applicableIdentity VISITOR
3634
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
3635
+ */
3636
+ declare function queryPosts(options?: QueryPostsOptions): PostsQueryBuilder;
3440
3637
  interface QueryPostsOptions {
3441
3638
  /**
3442
3639
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -3508,5 +3705,18 @@ interface PostsQueryBuilder {
3508
3705
  skipTo: (cursor: string) => PostsQueryBuilder;
3509
3706
  find: () => Promise<PostsQueryResult>;
3510
3707
  }
3708
+ /**
3709
+ * Retrieves a post's metrics.
3710
+ *
3711
+ * A post's metrics include the comments, likes, and views the post receives.
3712
+ * @param postId - Post ID to retrieve metrics for.
3713
+ * @public
3714
+ * @requiredField postId
3715
+ * @permissionId BLOG.READ-PUBLICATION
3716
+ * @applicableIdentity APP
3717
+ * @applicableIdentity VISITOR
3718
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics
3719
+ */
3720
+ declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`>>;
3511
3721
 
3512
- export { Origin as $, Alignment as A, PollLayoutDirection as B, Crop as C, BackgroundType as D, DecorationType as E, FontType as F, type GetTotalPostsOptions as G, AppType as H, InitialExpandedItems as I, Direction as J, VerticalAlignment as K, type ListPostsOptions as L, MapType as M, NodeType as N, Orientation as O, type PostsQueryBuilder as P, type QueryPostCountStatsOptions as Q, NullValue as R, Source as S, Type as T, ModerationStatusStatus as U, ViewMode as V, WidthType as W, QueryPublicationsCountStatsRequestOrder as X, Order as Y, WebhookIdentityType as Z, GetPostTemplatesSort as _, type QueryPostCountStatsResponse as a, type Option as a$, Status as a0, Field as a1, PostFieldField as a2, GetPostsSort as a3, SortOrder as a4, type Post as a5, type CoverMedia as a6, type CoverMediaMediaOneOf as a7, type FocalPoint as a8, type PostCountInfo as a9, type FileSourceDataOneOf as aA, type PDFSettings as aB, type GalleryData as aC, type V1Media as aD, type Image as aE, type Video as aF, type Item as aG, type ItemDataOneOf as aH, type GalleryOptions as aI, type Layout as aJ, type ItemStyle as aK, type Thumbnails as aL, type GIFData as aM, type GIF as aN, type HeadingData as aO, type HTMLData as aP, type HTMLDataDataOneOf as aQ, type ImageData as aR, type StylesBorder as aS, type ImageDataStyles as aT, type LinkPreviewData as aU, type LinkPreviewDataStyles as aV, type MapData as aW, type MapSettings as aX, type ParagraphData as aY, type PollData as aZ, type Permissions as a_, type Metrics as aa, type SeoSchema as ab, type Keyword as ac, type Tag as ad, type Settings as ae, type RichContent as af, type Node as ag, type NodeDataOneOf as ah, type NodeStyle as ai, type ButtonData as aj, type Border as ak, type Colors as al, type PluginContainerData as am, type PluginContainerDataWidth as an, type PluginContainerDataWidthDataOneOf as ao, type Spoiler as ap, type Height as aq, type Styles as ar, type Link as as, type LinkDataOneOf as at, type Rel as au, type CodeBlockData as av, type TextStyle as aw, type DividerData as ax, type FileData as ay, type FileSource as az, type GetTotalPostsResponse as b, type GetTotalPostsRequest as b$, type PollSettings as b0, type PollLayout as b1, type OptionLayout as b2, type Gradient as b3, type Background as b4, type BackgroundBackgroundOneOf as b5, type PollDesign as b6, type OptionDesign as b7, type Poll as b8, type PollDataLayout as b9, type OrderedListData as bA, type BulletedListData as bB, type BlockquoteData as bC, type CaptionData as bD, type LayoutCellData as bE, type Metadata as bF, type DocumentStyle as bG, type TextNodeStyle as bH, type ModerationDetails as bI, type Media as bJ, type MediaMediaOneOf as bK, type WixMedia as bL, type VideoResolution as bM, type EmbedMedia as bN, type EmbedThumbnail as bO, type EmbedVideo as bP, type PostTranslation as bQ, type PostCategoriesUpdated as bR, type PostTagsUpdated as bS, type ScheduledPostPublished as bT, type QueryPublicationsCountStatsRequest as bU, type QueryPublicationsCountStatsResponse as bV, type PeriodPublicationsCount as bW, type QueryPostCountStatsRequest as bX, type PeriodPostCount as bY, type GetTotalPublicationsRequest as bZ, type GetTotalPublicationsResponse as b_, type Design as ba, type TextData as bb, type Decoration as bc, type DecorationDataOneOf as bd, type AnchorData as be, type ColorData as bf, type LinkData as bg, type MentionData as bh, type FontSizeData as bi, type SpoilerData as bj, type AppEmbedData as bk, type AppEmbedDataAppDataOneOf as bl, type BookingData as bm, type EventData as bn, type VideoData as bo, type PlaybackOptions as bp, type EmbedData as bq, type Oembed as br, type CollapsibleListData as bs, type TableData as bt, type Dimensions as bu, type TableCellData as bv, type CellStyle as bw, type BorderColors as bx, type ListValue as by, type AudioData as bz, type GetPostOptions as c, type ListDemoPostsResponse as c$, type DomainEvent as c0, type DomainEventBodyOneOf as c1, type EntityCreatedEvent as c2, type RestoreInfo as c3, type EntityUpdatedEvent as c4, type EntityDeletedEvent as c5, type ActionEvent as c6, type MessageEnvelope as c7, type IdentificationData as c8, type IdentificationDataIdOneOf as c9, type Sorting as cA, type PlatformQuery as cB, type PlatformQueryPagingMethodOneOf as cC, type Paging as cD, type CursorPaging as cE, type QueryPostsResponse as cF, type PagingMetadataV2 as cG, type Cursors as cH, type GetPostMetricsRequest as cI, type BulkGetPostMetricsRequest as cJ, type BulkGetPostMetricsResponse as cK, type ViewPostRequest as cL, type ViewPostResponse as cM, type LikePostRequest as cN, type LikePostResponse as cO, type UnlikePostRequest as cP, type UnlikePostResponse as cQ, type PinPostRequest as cR, type PinPostResponse as cS, type UnpinPostRequest as cT, type UnpinPostResponse as cU, type ListPostsArchiveRequest as cV, type ListPostsArchiveResponse as cW, type BulkGetPostReactionsRequest as cX, type BulkGetPostReactionsResponse as cY, type Reactions as cZ, type ListDemoPostsRequest as c_, type ListTemplatesRequest as ca, type BlogPaging as cb, type ListTemplatesResponse as cc, type MetaData as cd, type Category as ce, type CategoryTranslation as cf, type GetTemplateRequest as cg, type GetTemplateResponse as ch, type CreateDraftPostFromTemplateRequest as ci, type CreateDraftPostFromTemplateResponse as cj, type DraftPost as ck, type DraftPostTranslation as cl, type GetTotalLikesPerMemberRequest as cm, type GetTotalLikesPerMemberResponse as cn, type PostLiked as co, type PostLikedInitiatorOneOf as cp, type PostUnliked as cq, type PostUnlikedInitiatorOneOf as cr, type PostCountersUpdated as cs, type PostCountersUpdatedInitiatorOneOf as ct, type PostOwnerChanged as cu, type InitialPostsCopied as cv, type GetPostRequest as cw, type GetPostBySlugRequest as cx, type ListPostsRequest as cy, type QueryPostsRequest as cz, type GetPostResponse as d, type ConvertDraftJsToRichContentRequest as d0, type ConvertDraftJsToRichContentResponse as d1, type ConvertRichContentToDraftJsRequest as d2, type ConvertRichContentToDraftJsResponse as d3, type OldBlogMigratedEvent as d4, type BaseEventMetadata as d5, type EventMetadata as d6, type PostsQueryResult as d7, type GetPostBySlugOptions as e, type GetPostBySlugResponse as f, type ListPostsResponse as g, type QueryPostsOptions as h, type GetPostMetricsResponse as i, type PostCreatedEnvelope as j, type PostDeletedEnvelope as k, type PostLikedEnvelope as l, type PostUnlikedEnvelope as m, type PostUpdatedEnvelope as n, PluginContainerDataAlignment as o, Target as p, TextAlignment as q, LineStyle as r, Width as s, LayoutType as t, ThumbnailsAlignment as u, GIFType as v, Position as w, ViewRole as x, VoteRole as y, PollLayoutType as z };
3722
+ export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BulkGetPostMetricsRequest, type BulkGetPostMetricsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, type CaptionData, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CoverMedia, type CoverMediaMediaOneOf, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, 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 FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, 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, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, 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 OldBlogMigratedEvent, 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, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCountInfo, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, type RestoreInfo, type RichContent, type ScheduledPostPublished, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, 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 };