@wix/auto_sdk_blog_posts 1.0.33 → 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.
Files changed (33) hide show
  1. package/build/cjs/index.d.ts +31 -24
  2. package/build/cjs/index.js +15 -10
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/{blog-v3-post-posts.universal-hTPKKRYx.d.ts → index.typings.d.ts} +211 -1
  5. package/build/cjs/index.typings.js +1630 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +2 -1
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/es/index.d.mts +31 -24
  10. package/build/es/index.mjs +15 -10
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/{blog-v3-post-posts.universal-hTPKKRYx.d.mts → index.typings.d.mts} +211 -1
  13. package/build/es/index.typings.mjs +1559 -0
  14. package/build/es/index.typings.mjs.map +1 -0
  15. package/build/es/meta.d.mts +2 -1
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/internal/cjs/index.d.ts +31 -24
  18. package/build/internal/cjs/index.js +15 -10
  19. package/build/internal/cjs/index.js.map +1 -1
  20. package/build/internal/cjs/{blog-v3-post-posts.universal-D8MomLjA.d.ts → index.typings.d.ts} +211 -1
  21. package/build/internal/cjs/index.typings.js +1630 -0
  22. package/build/internal/cjs/index.typings.js.map +1 -0
  23. package/build/internal/cjs/meta.d.ts +2 -1
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/es/index.d.mts +31 -24
  26. package/build/internal/es/index.mjs +15 -10
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/{blog-v3-post-posts.universal-D8MomLjA.d.mts → index.typings.d.mts} +211 -1
  29. package/build/internal/es/index.typings.mjs +1559 -0
  30. package/build/internal/es/index.typings.mjs.map +1 -0
  31. package/build/internal/es/meta.d.mts +2 -1
  32. package/build/internal/es/meta.mjs.map +1 -1
  33. package/package.json +3 -3
@@ -1,3 +1,5 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
1
3
  interface Post {
2
4
  /**
3
5
  * Post ID.
@@ -1626,6 +1628,8 @@ declare enum NullValue {
1626
1628
  /** Null value. */
1627
1629
  NULL_VALUE = "NULL_VALUE"
1628
1630
  }
1631
+ /** @enumType */
1632
+ type NullValueWithLiterals = NullValue | 'NULL_VALUE';
1629
1633
  /**
1630
1634
  * `ListValue` is a wrapper around a repeated field of values.
1631
1635
  *
@@ -2529,6 +2533,8 @@ declare enum Origin {
2529
2533
  /** Saved automatically by AI tool. */
2530
2534
  AI_AUTO_SAVE = "AI_AUTO_SAVE"
2531
2535
  }
2536
+ /** @enumType */
2537
+ 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';
2532
2538
  declare enum Status {
2533
2539
  UNKNOWN = "UNKNOWN",
2534
2540
  /** Status indicating the draft post is published. */
@@ -3305,22 +3311,126 @@ interface PostCreatedEnvelope {
3305
3311
  entity: Post;
3306
3312
  metadata: EventMetadata;
3307
3313
  }
3314
+ /**
3315
+ * Triggered when a post is created.
3316
+ * @permissionScope Read Blog
3317
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3318
+ * @permissionScope Manage Blog
3319
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3320
+ * @permissionScope Manage Blog
3321
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3322
+ * @permissionScope Read Draft Blog Posts
3323
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3324
+ * @permissionId BLOG.READ-PUBLICATION
3325
+ * @webhook
3326
+ * @eventType wix.blog.v3.post_created
3327
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3328
+ * @slug created
3329
+ */
3330
+ declare function onPostCreated(handler: (event: PostCreatedEnvelope) => void | Promise<void>): void;
3308
3331
  interface PostDeletedEnvelope {
3309
3332
  entity: Post;
3310
3333
  metadata: EventMetadata;
3311
3334
  }
3335
+ /**
3336
+ * Triggered when a post is deleted.
3337
+ * @permissionScope Read Blog
3338
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3339
+ * @permissionScope Manage Blog
3340
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3341
+ * @permissionScope Manage Blog
3342
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3343
+ * @permissionScope Read Draft Blog Posts
3344
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3345
+ * @permissionId BLOG.READ-PUBLICATION
3346
+ * @webhook
3347
+ * @eventType wix.blog.v3.post_deleted
3348
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3349
+ * @slug deleted
3350
+ */
3351
+ declare function onPostDeleted(handler: (event: PostDeletedEnvelope) => void | Promise<void>): void;
3312
3352
  interface PostLikedEnvelope {
3313
3353
  data: PostLiked;
3314
3354
  metadata: EventMetadata;
3315
3355
  }
3356
+ /**
3357
+ * Triggered when a post is liked.
3358
+ * @permissionScope Read Blog
3359
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3360
+ * @permissionScope Manage Blog
3361
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3362
+ * @permissionScope Manage Blog
3363
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3364
+ * @permissionScope Read Draft Blog Posts
3365
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3366
+ * @permissionId BLOG.READ-PUBLICATION
3367
+ * @webhook
3368
+ * @eventType wix.blog.v3.post_liked
3369
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3370
+ * @slug liked
3371
+ */
3372
+ declare function onPostLiked(handler: (event: PostLikedEnvelope) => void | Promise<void>): void;
3316
3373
  interface PostUnlikedEnvelope {
3317
3374
  data: PostUnliked;
3318
3375
  metadata: EventMetadata;
3319
3376
  }
3377
+ /**
3378
+ * Triggered when a post is unliked.
3379
+ * @permissionScope Read Blog
3380
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3381
+ * @permissionScope Manage Blog
3382
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3383
+ * @permissionScope Manage Blog
3384
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3385
+ * @permissionScope Read Draft Blog Posts
3386
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3387
+ * @permissionId BLOG.READ-PUBLICATION
3388
+ * @webhook
3389
+ * @eventType wix.blog.v3.post_unliked
3390
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3391
+ * @slug unliked
3392
+ */
3393
+ declare function onPostUnliked(handler: (event: PostUnlikedEnvelope) => void | Promise<void>): void;
3320
3394
  interface PostUpdatedEnvelope {
3321
3395
  entity: Post;
3322
3396
  metadata: EventMetadata;
3323
3397
  }
3398
+ /**
3399
+ * Triggered when a post is updated.
3400
+ * @permissionScope Read Blog
3401
+ * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
3402
+ * @permissionScope Manage Blog
3403
+ * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
3404
+ * @permissionScope Manage Blog
3405
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3406
+ * @permissionScope Read Draft Blog Posts
3407
+ * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
3408
+ * @permissionId BLOG.READ-PUBLICATION
3409
+ * @webhook
3410
+ * @eventType wix.blog.v3.post_updated
3411
+ * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.PostService
3412
+ * @slug updated
3413
+ */
3414
+ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | Promise<void>): void;
3415
+ 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`;
3416
+ /**
3417
+ * Retrieves the number of published posts per month within a specified time range.
3418
+ *
3419
+ *
3420
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
3421
+ *
3422
+ * 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.
3423
+ *
3424
+ * >**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.
3425
+ * @public
3426
+ * @param options - Options specifying time frame, sort, and filter.
3427
+ * @permissionId BLOG.READ-PUBLICATION
3428
+ * @applicableIdentity APP
3429
+ * @applicableIdentity VISITOR
3430
+ * @returns Get Blog Post Count Stats response
3431
+ * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats
3432
+ */
3433
+ declare function queryPostCountStats(options?: QueryPostCountStatsOptions): Promise<NonNullablePaths<QueryPostCountStatsResponse, `stats` | `stats.${number}.postCount`>>;
3324
3434
  interface QueryPostCountStatsOptions {
3325
3435
  /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3326
3436
  rangeStart?: Date | null;
@@ -3352,6 +3462,16 @@ interface QueryPostCountStatsOptions {
3352
3462
  */
3353
3463
  timeZone?: string | null;
3354
3464
  }
3465
+ /**
3466
+ * Retrieves the total amount of published posts of the blog.
3467
+ * @public
3468
+ * @param options - Language Options.
3469
+ * @permissionId BLOG.READ-PUBLICATION
3470
+ * @applicableIdentity APP
3471
+ * @applicableIdentity VISITOR
3472
+ * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
3473
+ */
3474
+ declare function getTotalPosts(options?: GetTotalPostsOptions): Promise<NonNullablePaths<GetTotalPostsResponse, `total`>>;
3355
3475
  interface GetTotalPostsOptions {
3356
3476
  /**
3357
3477
  * Language filter.
@@ -3362,6 +3482,20 @@ interface GetTotalPostsOptions {
3362
3482
  */
3363
3483
  language?: string | null;
3364
3484
  }
3485
+ /**
3486
+ * Retrieves a post by the specified ID.
3487
+ * @param postId - Post ID.
3488
+ * @public
3489
+ * @requiredField postId
3490
+ * @param options - Options specifying which fields to return.
3491
+ * @permissionId BLOG.READ-PUBLICATION
3492
+ * @applicableIdentity APP
3493
+ * @applicableIdentity VISITOR
3494
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
3495
+ */
3496
+ declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, {
3497
+ [P in PostNonNullablePaths]: `post.${P}`;
3498
+ }[PostNonNullablePaths]>>;
3365
3499
  interface GetPostOptions {
3366
3500
  /**
3367
3501
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -3371,6 +3505,25 @@ interface GetPostOptions {
3371
3505
  */
3372
3506
  fieldsets?: PostFieldFieldWithLiterals[];
3373
3507
  }
3508
+ /**
3509
+ * Retrieves a post with the provided slug.
3510
+ *
3511
+ * The slug is the end of a post's URL that refers to a specific post.
3512
+ * For example, if a post's URL is `https:/example.com/blog/post/my-post-slug`,
3513
+ * the slug is `my-post-slug`. The slug is case-sensitive, and is generally derived from the post title,
3514
+ * unless specified otherwise.
3515
+ * @param slug - Slug of the post to retrieve.
3516
+ * @public
3517
+ * @requiredField slug
3518
+ * @param options - Options specifying which fields to return.
3519
+ * @permissionId BLOG.READ-PUBLICATION
3520
+ * @applicableIdentity APP
3521
+ * @applicableIdentity VISITOR
3522
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
3523
+ */
3524
+ declare function getPostBySlug(slug: string, options?: GetPostBySlugOptions): Promise<NonNullablePaths<GetPostBySlugResponse, {
3525
+ [P in PostNonNullablePaths]: `post.${P}`;
3526
+ }[PostNonNullablePaths]>>;
3374
3527
  interface GetPostBySlugOptions {
3375
3528
  /**
3376
3529
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -3380,6 +3533,23 @@ interface GetPostBySlugOptions {
3380
3533
  */
3381
3534
  fieldsets?: PostFieldFieldWithLiterals[];
3382
3535
  }
3536
+ /**
3537
+ * Retrieves a list of up to 100 published posts per request.
3538
+ *
3539
+ * List Posts runs with these defaults, which you can override:
3540
+ * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
3541
+ * - `paging.limit` is `50`.
3542
+ * - `paging.offset` is `0`.
3543
+ * @public
3544
+ * @param options - Sort, filter, and paging options.
3545
+ * @permissionId BLOG.READ-PUBLICATION
3546
+ * @applicableIdentity APP
3547
+ * @applicableIdentity VISITOR
3548
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
3549
+ */
3550
+ declare function listPosts(options?: ListPostsOptions): Promise<NonNullablePaths<ListPostsResponse, {
3551
+ [P in PostNonNullablePaths]: `posts.${number}.${P}`;
3552
+ }[PostNonNullablePaths] | `metaData.count` | `metaData.offset` | `metaData.total`>>;
3383
3553
  interface ListPostsOptions {
3384
3554
  /**
3385
3555
  * Whether to return only featured posts.
@@ -3444,6 +3614,33 @@ interface ListPostsOptions {
3444
3614
  */
3445
3615
  fieldsets?: PostFieldFieldWithLiterals[];
3446
3616
  }
3617
+ /**
3618
+ * Creates a query to retrieve a list of posts.
3619
+ *
3620
+ *
3621
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
3622
+ *
3623
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
3624
+ *
3625
+ * 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.
3626
+ *
3627
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
3628
+ * + `limit(50)`
3629
+ * + `descending('firstPublishedDate')`
3630
+ *
3631
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
3632
+ *
3633
+ * To learn how to query posts, refer to the table below.
3634
+ *
3635
+ * 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`.
3636
+ * @public
3637
+ * @param options - Options specifying which fields to return.
3638
+ * @permissionId BLOG.READ-PUBLICATION
3639
+ * @applicableIdentity APP
3640
+ * @applicableIdentity VISITOR
3641
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
3642
+ */
3643
+ declare function queryPosts(options?: QueryPostsOptions): PostsQueryBuilder;
3447
3644
  interface QueryPostsOptions {
3448
3645
  /**
3449
3646
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -3515,5 +3712,18 @@ interface PostsQueryBuilder {
3515
3712
  skipTo: (cursor: string) => PostsQueryBuilder;
3516
3713
  find: () => Promise<PostsQueryResult>;
3517
3714
  }
3715
+ /**
3716
+ * Retrieves a post's metrics.
3717
+ *
3718
+ * A post's metrics include the comments, likes, and views the post receives.
3719
+ * @param postId - Post ID to retrieve metrics for.
3720
+ * @public
3721
+ * @requiredField postId
3722
+ * @permissionId BLOG.READ-PUBLICATION
3723
+ * @applicableIdentity APP
3724
+ * @applicableIdentity VISITOR
3725
+ * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics
3726
+ */
3727
+ declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`>>;
3518
3728
 
3519
- 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 Post 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 PollSettings as a$, Status as a0, Field as a1, PostFieldField as a2, GetPostsSort as a3, SortOrder as a4, type CoverMedia as a5, type CoverMediaMediaOneOf as a6, type FocalPoint as a7, type PostCountInfo as a8, type Metrics as a9, type PDFSettings as aA, type GalleryData as aB, type V1Media as aC, type Image as aD, type Video as aE, type Item as aF, type ItemDataOneOf as aG, type GalleryOptions as aH, type Layout as aI, type ItemStyle as aJ, type Thumbnails as aK, type GIFData as aL, type GIF as aM, type HeadingData as aN, type HTMLData as aO, type HTMLDataDataOneOf as aP, type ImageData as aQ, type StylesBorder as aR, type ImageDataStyles as aS, type LinkPreviewData as aT, type LinkPreviewDataStyles as aU, type MapData as aV, type MapSettings as aW, type ParagraphData as aX, type PollData as aY, type Permissions as aZ, type Option as a_, type SeoSchema as aa, type Keyword as ab, type Tag as ac, type Settings as ad, type RichContent as ae, type Node as af, type NodeDataOneOf as ag, type NodeStyle as ah, type ButtonData as ai, type Border as aj, type Colors as ak, type PluginContainerData as al, type PluginContainerDataWidth as am, type PluginContainerDataWidthDataOneOf as an, type Spoiler as ao, type Height as ap, type Styles as aq, type Link as ar, type LinkDataOneOf as as, type Rel as at, type CodeBlockData as au, type TextStyle as av, type DividerData as aw, type FileData as ax, type FileSource as ay, type FileSourceDataOneOf as az, type GetTotalPostsResponse as b, type DomainEvent as b$, type PollLayout as b0, type OptionLayout as b1, type Gradient as b2, type Background as b3, type BackgroundBackgroundOneOf as b4, type PollDesign as b5, type OptionDesign as b6, type Poll as b7, type PollDataLayout as b8, type Design as b9, type BulletedListData as bA, type BlockquoteData as bB, type CaptionData as bC, type LayoutCellData as bD, type Metadata as bE, type DocumentStyle as bF, type TextNodeStyle as bG, type ModerationDetails as bH, type Media as bI, type MediaMediaOneOf as bJ, type WixMedia as bK, type VideoResolution as bL, type EmbedMedia as bM, type EmbedThumbnail as bN, type EmbedVideo as bO, type PostTranslation as bP, type PostCategoriesUpdated as bQ, type PostTagsUpdated as bR, type ScheduledPostPublished as bS, type QueryPublicationsCountStatsRequest as bT, type QueryPublicationsCountStatsResponse as bU, type PeriodPublicationsCount as bV, type QueryPostCountStatsRequest as bW, type PeriodPostCount as bX, type GetTotalPublicationsRequest as bY, type GetTotalPublicationsResponse as bZ, type GetTotalPostsRequest as b_, type TextData as ba, type Decoration as bb, type DecorationDataOneOf as bc, type AnchorData as bd, type ColorData as be, type LinkData as bf, type MentionData as bg, type FontSizeData as bh, type SpoilerData as bi, type AppEmbedData as bj, type AppEmbedDataAppDataOneOf as bk, type BookingData as bl, type EventData as bm, type VideoData as bn, type PlaybackOptions as bo, type EmbedData as bp, type Oembed as bq, type CollapsibleListData as br, type TableData as bs, type Dimensions as bt, type TableCellData as bu, type CellStyle as bv, type BorderColors as bw, type ListValue as bx, type AudioData as by, type OrderedListData as bz, type GetPostOptions as c, type ListDemoPostsResponse as c$, type DomainEventBodyOneOf as c0, type EntityCreatedEvent as c1, type RestoreInfo as c2, type EntityUpdatedEvent as c3, type EntityDeletedEvent as c4, type ActionEvent as c5, type MessageEnvelope as c6, type IdentificationData as c7, type IdentificationDataIdOneOf as c8, type ListTemplatesRequest 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 BlogPaging as ca, type ListTemplatesResponse as cb, type MetaData as cc, type Category as cd, type CategoryTranslation as ce, type GetTemplateRequest as cf, type GetTemplateResponse as cg, type CreateDraftPostFromTemplateRequest as ch, type CreateDraftPostFromTemplateResponse as ci, type DraftPost as cj, type DraftPostTranslation as ck, type GetTotalLikesPerMemberRequest as cl, type GetTotalLikesPerMemberResponse as cm, type PostLiked as cn, type PostLikedInitiatorOneOf as co, type PostUnliked as cp, type PostUnlikedInitiatorOneOf as cq, type PostCountersUpdated as cr, type PostCountersUpdatedInitiatorOneOf as cs, type PostOwnerChanged as ct, type InitialPostsCopied as cu, type GetPostRequest as cv, type GetPostResponse as cw, type GetPostBySlugRequest as cx, type ListPostsRequest as cy, type QueryPostsRequest as cz, type GetPostBySlugOptions 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 GetPostBySlugResponse as e, type ListPostsResponse as f, type QueryPostsOptions as g, type PostsQueryBuilder 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 };
3729
+ 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 };