@wix/auto_sdk_blog_posts 1.0.183 → 1.0.185

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.
@@ -15,14 +15,14 @@ interface QueryPostCountStatsSignature {
15
15
  * > 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.
16
16
  * @returns Get Blog Post Count Stats response
17
17
  */
18
- (options?: QueryPostCountStatsOptions): Promise<NonNullablePaths<QueryPostCountStatsResponse, `stats` | `stats.${number}.postCount`, 4>>;
18
+ (options?: QueryPostCountStatsOptions): Promise<NonNullablePaths<QueryPostCountStatsResponse, `stats` | `stats.${number}.postCount`, 2>>;
19
19
  }
20
20
  declare function getTotalPosts$1(httpClient: HttpClient): GetTotalPostsSignature;
21
21
  interface GetTotalPostsSignature {
22
22
  /**
23
23
  * Retrieves the total amount of published posts of the blog.
24
24
  */
25
- (options?: GetTotalPostsOptions): Promise<NonNullablePaths<GetTotalPostsResponse, `total`, 2>>;
25
+ (options?: GetTotalPostsOptions): Promise<NonNullablePaths<GetTotalPostsResponse, `total`, 0>>;
26
26
  }
27
27
  declare function getPost$1(httpClient: HttpClient): GetPostSignature;
28
28
  interface GetPostSignature {
@@ -31,7 +31,7 @@ interface GetPostSignature {
31
31
  * @param - Post ID.
32
32
  * @returns Retrieved post info.
33
33
  */
34
- (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>>;
34
+ (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`, 4>>;
35
35
  }
36
36
  declare function getPostBySlug$1(httpClient: HttpClient): GetPostBySlugSignature;
37
37
  interface GetPostBySlugSignature {
@@ -44,7 +44,7 @@ interface GetPostBySlugSignature {
44
44
  * unless specified otherwise.
45
45
  * @param - Slug of the post to retrieve.
46
46
  */
47
- (slug: string, options?: GetPostBySlugOptions): Promise<NonNullablePaths<GetPostBySlugResponse, `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>>;
47
+ (slug: string, options?: GetPostBySlugOptions): Promise<NonNullablePaths<GetPostBySlugResponse, `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`, 5>>;
48
48
  }
49
49
  declare function listPosts$1(httpClient: HttpClient): ListPostsSignature;
50
50
  interface ListPostsSignature {
@@ -56,7 +56,7 @@ interface ListPostsSignature {
56
56
  * - `paging.limit` is `50`.
57
57
  * - `paging.offset` is `0`.
58
58
  */
59
- (options?: ListPostsOptions): Promise<NonNullablePaths<ListPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges` | `metaData.count` | `metaData.offset` | `metaData.total`, 6>>;
59
+ (options?: ListPostsOptions): Promise<NonNullablePaths<ListPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges` | `metaData.count` | `metaData.offset` | `metaData.total`, 4>>;
60
60
  }
61
61
  declare function getPostMetrics$1(httpClient: HttpClient): GetPostMetricsSignature;
62
62
  interface GetPostMetricsSignature {
@@ -66,7 +66,7 @@ interface GetPostMetricsSignature {
66
66
  * A post's metrics include the comments, likes, and views the post receives.
67
67
  * @param - Post ID to retrieve metrics for.
68
68
  */
69
- (postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
69
+ (postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 1>>;
70
70
  }
71
71
  declare const onPostLiked$1: EventDefinition<PostLikedEnvelope, "wix.blog.v3.post_liked">;
72
72
  declare const onPostUnliked$1: EventDefinition<PostUnlikedEnvelope, "wix.blog.v3.post_unliked">;
@@ -3725,91 +3725,62 @@ interface GetTotalPostsResponse {
3725
3725
  /** Total amount of published posts. */
3726
3726
  total?: number;
3727
3727
  }
3728
- interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
3729
- /**
3730
- * Member ID of person who triggered the counter update
3731
- * @format GUID
3732
- */
3733
- memberId?: string | null;
3734
- /**
3735
- * Visitor ID if person that liked the post is not logged in
3736
- * @format GUID
3737
- */
3738
- anonymousVisitorId?: string | null;
3739
- /**
3740
- * ID of the post which counters were updated.
3741
- * @format GUID
3742
- */
3743
- postId?: string;
3744
- /**
3745
- * Internal ID of the post which counters were updated.
3746
- * @internal
3747
- * @maxLength 24
3748
- */
3749
- postInternalId?: string;
3750
- /** Field of the updated counter. */
3751
- updatedCounterField?: FieldWithLiterals;
3752
- /** New counter value. */
3753
- counter?: number;
3754
- }
3755
- /** @oneof */
3756
- interface PostCountersUpdatedInitiatorOneOf {
3728
+ interface ListDemoPostsRequest {
3757
3729
  /**
3758
- * Member ID of person who triggered the counter update
3759
- * @format GUID
3730
+ * Whether to return only featured posts.
3731
+ *
3732
+ * Default: `false`
3760
3733
  */
3761
- memberId?: string | null;
3734
+ featured?: boolean;
3762
3735
  /**
3763
- * Visitor ID if person that liked the post is not logged in
3764
- * @format GUID
3736
+ * Hashtag filter.
3737
+ *
3738
+ * Pass an array of hashtags to return only posts containing any of the provided hashtags.
3739
+ * If omitted, all posts with or without hashtags are returned.
3740
+ * @maxSize 100
3741
+ * @maxLength 100
3765
3742
  */
3766
- anonymousVisitorId?: string | null;
3767
- }
3768
- declare enum Field {
3769
- /** Undefined field. */
3770
- UNKNOWN = "UNKNOWN",
3771
- /** Total comments field. */
3772
- TOTAL_COMMENTS = "TOTAL_COMMENTS",
3773
- /** Like count field. */
3774
- LIKE_COUNT = "LIKE_COUNT",
3775
- /** View count field. */
3776
- VIEW_COUNT = "VIEW_COUNT",
3777
- /** Rating count field. */
3778
- RATING_COUNT = "RATING_COUNT"
3779
- }
3780
- /** @enumType */
3781
- type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
3782
- interface PostOwnerChanged {
3743
+ hashtags?: string[];
3783
3744
  /**
3784
- * Member ID of the post's owner before the change.
3785
- * @internal
3745
+ * Category filter.
3746
+ *
3747
+ * Pass an array of category IDs to return only posts with any of the provided categories.
3748
+ * If omitted, all posts with or without associated categories are returned.
3749
+ * @maxSize 50
3786
3750
  * @format GUID
3787
3751
  */
3788
- oldMemberId?: string;
3752
+ categoryIds?: string[];
3789
3753
  /**
3790
- * Member ID of the post's owner after the change.
3791
- * @internal
3754
+ * Tag filter.
3755
+ *
3756
+ * Pass an array of tag IDs to return only posts with any of the provided tags.
3757
+ * If omitted, all posts with or without tags are returned.
3758
+ * @maxSize 50
3792
3759
  * @format GUID
3793
3760
  */
3794
- newMemberId?: string;
3795
- }
3796
- interface InitialPostsCopied {
3797
- /** Number of posts copied. */
3798
- count?: number;
3799
- }
3800
- interface GetPostRequest {
3761
+ tagIds?: string[];
3801
3762
  /**
3802
- * Post ID.
3803
- * @minLength 1
3804
- * @maxLength 38
3763
+ * Sorting options.
3764
+ *
3765
+ * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
3766
+ * - `VIEW_COUNT`: Ordered by total number of views in descending order.
3767
+ * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
3768
+ * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
3769
+ * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
3770
+ * - `TITLE_ASC`: Ordered by `title` in ascending order.
3771
+ * - `TITLE_DESC`: Ordered by `title` in descending order.
3772
+ * - `RATING`: reserved for internal use.
3773
+ *
3774
+ * Default: `FEED`
3805
3775
  */
3806
- postId: string;
3776
+ sort?: GetPostsSortWithLiterals;
3777
+ /** Pagination options. */
3778
+ paging?: BlogPaging;
3807
3779
  /**
3808
3780
  * __Deprecated.__ Use `fieldsets` instead.
3809
3781
  * This parameter will be removed on June 30, 2023.
3810
3782
  *
3811
3783
  * List of post fields to be included in the response.
3812
- * @internal
3813
3784
  * @maxSize 20
3814
3785
  * @deprecated __Deprecated.__ Use `fieldsets` instead.
3815
3786
  * This parameter will be removed on June 30, 2023.
@@ -3819,6 +3790,20 @@ interface GetPostRequest {
3819
3790
  * @targetRemovalDate 2024-06-30
3820
3791
  */
3821
3792
  fieldsToInclude?: PostFieldFieldWithLiterals[];
3793
+ /**
3794
+ * Language filter.
3795
+ *
3796
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3797
+ * Pass a language to only receive posts that are in that language.
3798
+ * If omitted, posts in all languages are returned.
3799
+ * @format LANGUAGE_TAG
3800
+ */
3801
+ language?: string | null;
3802
+ /**
3803
+ * Post owner's member ID.
3804
+ * @format GUID
3805
+ */
3806
+ memberId?: string | null;
3822
3807
  /**
3823
3808
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3824
3809
  * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
@@ -3827,6 +3812,52 @@ interface GetPostRequest {
3827
3812
  */
3828
3813
  fieldsets?: PostFieldFieldWithLiterals[];
3829
3814
  }
3815
+ declare enum GetPostsSort {
3816
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
3817
+ FEED = "FEED",
3818
+ /** Ordered by `firstPublishedDate` in ascending order. */
3819
+ PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
3820
+ /** Ordered by `firstPublishedDate` in descending order. */
3821
+ PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
3822
+ /** Ordered by total number of views in descending order. */
3823
+ VIEW_COUNT = "VIEW_COUNT",
3824
+ /** Ordered by total number of likes in descending order. */
3825
+ LIKE_COUNT = "LIKE_COUNT",
3826
+ /** Ordered by `title` in ascending order. */
3827
+ TITLE_ASC = "TITLE_ASC",
3828
+ /** Ordered by `title` in descending order. */
3829
+ TITLE_DESC = "TITLE_DESC",
3830
+ /**
3831
+ * Sorting by post rating descending.
3832
+ * @internal
3833
+ */
3834
+ RATING = "RATING"
3835
+ }
3836
+ /** @enumType */
3837
+ type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
3838
+ interface BlogPaging {
3839
+ /**
3840
+ * Number of items to skip in the current sort order.
3841
+ *
3842
+ *
3843
+ * Default: `0`
3844
+ */
3845
+ offset?: number;
3846
+ /**
3847
+ * Number of items to return.
3848
+ *
3849
+ *
3850
+ * Default:`50`
3851
+ * @min 1
3852
+ * @max 100
3853
+ */
3854
+ limit?: number;
3855
+ /**
3856
+ * Pointer to the next or previous page in the list of results.
3857
+ * @maxLength 2000
3858
+ */
3859
+ cursor?: string | null;
3860
+ }
3830
3861
  declare enum PostFieldField {
3831
3862
  UNKNOWN = "UNKNOWN",
3832
3863
  /**
@@ -3908,6 +3939,127 @@ declare enum PostFieldField {
3908
3939
  }
3909
3940
  /** @enumType */
3910
3941
  type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
3942
+ interface ListDemoPostsResponse {
3943
+ /** List of posts. */
3944
+ posts?: Post[];
3945
+ /** Details on the paged set of results returned. */
3946
+ metaData?: MetaData;
3947
+ }
3948
+ interface MetaData {
3949
+ /** Number of items returned in this response. */
3950
+ count?: number;
3951
+ /** Requested offset. */
3952
+ offset?: number;
3953
+ /** Total number of items that match the query. */
3954
+ total?: number;
3955
+ /**
3956
+ * Pointer to the next or previous page in the list of results.
3957
+ * @maxLength 2000
3958
+ */
3959
+ cursor?: string | null;
3960
+ }
3961
+ interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
3962
+ /**
3963
+ * Member ID of person who triggered the counter update
3964
+ * @format GUID
3965
+ */
3966
+ memberId?: string | null;
3967
+ /**
3968
+ * Visitor ID if person that liked the post is not logged in
3969
+ * @format GUID
3970
+ */
3971
+ anonymousVisitorId?: string | null;
3972
+ /**
3973
+ * ID of the post which counters were updated.
3974
+ * @format GUID
3975
+ */
3976
+ postId?: string;
3977
+ /**
3978
+ * Internal ID of the post which counters were updated.
3979
+ * @internal
3980
+ * @maxLength 24
3981
+ */
3982
+ postInternalId?: string;
3983
+ /** Field of the updated counter. */
3984
+ updatedCounterField?: FieldWithLiterals;
3985
+ /** New counter value. */
3986
+ counter?: number;
3987
+ }
3988
+ /** @oneof */
3989
+ interface PostCountersUpdatedInitiatorOneOf {
3990
+ /**
3991
+ * Member ID of person who triggered the counter update
3992
+ * @format GUID
3993
+ */
3994
+ memberId?: string | null;
3995
+ /**
3996
+ * Visitor ID if person that liked the post is not logged in
3997
+ * @format GUID
3998
+ */
3999
+ anonymousVisitorId?: string | null;
4000
+ }
4001
+ declare enum Field {
4002
+ /** Undefined field. */
4003
+ UNKNOWN = "UNKNOWN",
4004
+ /** Total comments field. */
4005
+ TOTAL_COMMENTS = "TOTAL_COMMENTS",
4006
+ /** Like count field. */
4007
+ LIKE_COUNT = "LIKE_COUNT",
4008
+ /** View count field. */
4009
+ VIEW_COUNT = "VIEW_COUNT",
4010
+ /** Rating count field. */
4011
+ RATING_COUNT = "RATING_COUNT"
4012
+ }
4013
+ /** @enumType */
4014
+ type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
4015
+ interface PostOwnerChanged {
4016
+ /**
4017
+ * Member ID of the post's owner before the change.
4018
+ * @internal
4019
+ * @format GUID
4020
+ */
4021
+ oldMemberId?: string;
4022
+ /**
4023
+ * Member ID of the post's owner after the change.
4024
+ * @internal
4025
+ * @format GUID
4026
+ */
4027
+ newMemberId?: string;
4028
+ }
4029
+ interface InitialPostsCopied {
4030
+ /** Number of posts copied. */
4031
+ count?: number;
4032
+ }
4033
+ interface GetPostRequest {
4034
+ /**
4035
+ * Post ID.
4036
+ * @minLength 1
4037
+ * @maxLength 38
4038
+ */
4039
+ postId: string;
4040
+ /**
4041
+ * __Deprecated.__ Use `fieldsets` instead.
4042
+ * This parameter will be removed on June 30, 2023.
4043
+ *
4044
+ * List of post fields to be included in the response.
4045
+ * @internal
4046
+ * @maxSize 20
4047
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
4048
+ * This parameter will be removed on June 30, 2023.
4049
+ *
4050
+ * List of post fields to be included in the response.
4051
+ * @replacedBy fieldsets
4052
+ * @targetRemovalDate 2024-06-30
4053
+ */
4054
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
4055
+ /**
4056
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4057
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
4058
+ * only the post’s base fields are returned.
4059
+ * @maxSize 20
4060
+ */
4061
+ fieldsets?: PostFieldFieldWithLiterals[];
4062
+ }
3911
4063
  interface GetPostResponse {
3912
4064
  /** Retrieved post info. */
3913
4065
  post?: Post;
@@ -4030,71 +4182,12 @@ interface ListPostsRequest {
4030
4182
  */
4031
4183
  fieldsets?: PostFieldFieldWithLiterals[];
4032
4184
  }
4033
- declare enum GetPostsSort {
4034
- /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
4035
- FEED = "FEED",
4036
- /** Ordered by `firstPublishedDate` in ascending order. */
4037
- PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
4038
- /** Ordered by `firstPublishedDate` in descending order. */
4039
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
4040
- /** Ordered by total number of views in descending order. */
4041
- VIEW_COUNT = "VIEW_COUNT",
4042
- /** Ordered by total number of likes in descending order. */
4043
- LIKE_COUNT = "LIKE_COUNT",
4044
- /** Ordered by `title` in ascending order. */
4045
- TITLE_ASC = "TITLE_ASC",
4046
- /** Ordered by `title` in descending order. */
4047
- TITLE_DESC = "TITLE_DESC",
4048
- /**
4049
- * Sorting by post rating descending.
4050
- * @internal
4051
- */
4052
- RATING = "RATING"
4053
- }
4054
- /** @enumType */
4055
- type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
4056
- interface BlogPaging {
4057
- /**
4058
- * Number of items to skip in the current sort order.
4059
- *
4060
- *
4061
- * Default: `0`
4062
- */
4063
- offset?: number;
4064
- /**
4065
- * Number of items to return.
4066
- *
4067
- *
4068
- * Default:`50`
4069
- * @min 1
4070
- * @max 100
4071
- */
4072
- limit?: number;
4073
- /**
4074
- * Pointer to the next or previous page in the list of results.
4075
- * @maxLength 2000
4076
- */
4077
- cursor?: string | null;
4078
- }
4079
4185
  interface ListPostsResponse {
4080
4186
  /** List of retrieved posts. */
4081
4187
  posts?: Post[];
4082
4188
  /** Details on the paged set of results returned. */
4083
4189
  metaData?: MetaData;
4084
4190
  }
4085
- interface MetaData {
4086
- /** Number of items returned in this response. */
4087
- count?: number;
4088
- /** Requested offset. */
4089
- offset?: number;
4090
- /** Total number of items that match the query. */
4091
- total?: number;
4092
- /**
4093
- * Pointer to the next or previous page in the list of results.
4094
- * @maxLength 2000
4095
- */
4096
- cursor?: string | null;
4097
- }
4098
4191
  interface QueryPostsRequest {
4099
4192
  /**
4100
4193
  * __Deprecated.__ Use `query` instead.
@@ -4546,99 +4639,6 @@ interface PostCount {
4546
4639
  /** Number of posts. */
4547
4640
  postCount?: number;
4548
4641
  }
4549
- interface ListDemoPostsRequest {
4550
- /**
4551
- * Whether to return only featured posts.
4552
- *
4553
- * Default: `false`
4554
- */
4555
- featured?: boolean;
4556
- /**
4557
- * Hashtag filter.
4558
- *
4559
- * Pass an array of hashtags to return only posts containing any of the provided hashtags.
4560
- * If omitted, all posts with or without hashtags are returned.
4561
- * @maxSize 100
4562
- * @maxLength 100
4563
- */
4564
- hashtags?: string[];
4565
- /**
4566
- * Category filter.
4567
- *
4568
- * Pass an array of category IDs to return only posts with any of the provided categories.
4569
- * If omitted, all posts with or without associated categories are returned.
4570
- * @maxSize 50
4571
- * @format GUID
4572
- */
4573
- categoryIds?: string[];
4574
- /**
4575
- * Tag filter.
4576
- *
4577
- * Pass an array of tag IDs to return only posts with any of the provided tags.
4578
- * If omitted, all posts with or without tags are returned.
4579
- * @maxSize 50
4580
- * @format GUID
4581
- */
4582
- tagIds?: string[];
4583
- /**
4584
- * Sorting options.
4585
- *
4586
- * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
4587
- * - `VIEW_COUNT`: Ordered by total number of views in descending order.
4588
- * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
4589
- * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
4590
- * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
4591
- * - `TITLE_ASC`: Ordered by `title` in ascending order.
4592
- * - `TITLE_DESC`: Ordered by `title` in descending order.
4593
- * - `RATING`: reserved for internal use.
4594
- *
4595
- * Default: `FEED`
4596
- */
4597
- sort?: GetPostsSortWithLiterals;
4598
- /** Pagination options. */
4599
- paging?: BlogPaging;
4600
- /**
4601
- * __Deprecated.__ Use `fieldsets` instead.
4602
- * This parameter will be removed on June 30, 2023.
4603
- *
4604
- * List of post fields to be included in the response.
4605
- * @maxSize 20
4606
- * @deprecated __Deprecated.__ Use `fieldsets` instead.
4607
- * This parameter will be removed on June 30, 2023.
4608
- *
4609
- * List of post fields to be included in the response.
4610
- * @replacedBy fieldsets
4611
- * @targetRemovalDate 2024-06-30
4612
- */
4613
- fieldsToInclude?: PostFieldFieldWithLiterals[];
4614
- /**
4615
- * Language filter.
4616
- *
4617
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
4618
- * Pass a language to only receive posts that are in that language.
4619
- * If omitted, posts in all languages are returned.
4620
- * @format LANGUAGE_TAG
4621
- */
4622
- language?: string | null;
4623
- /**
4624
- * Post owner's member ID.
4625
- * @format GUID
4626
- */
4627
- memberId?: string | null;
4628
- /**
4629
- * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4630
- * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
4631
- * only the post’s base fields are returned.
4632
- * @maxSize 20
4633
- */
4634
- fieldsets?: PostFieldFieldWithLiterals[];
4635
- }
4636
- interface ListDemoPostsResponse {
4637
- /** List of posts. */
4638
- posts?: Post[];
4639
- /** Details on the paged set of results returned. */
4640
- metaData?: MetaData;
4641
- }
4642
4642
  interface BaseEventMetadata {
4643
4643
  /**
4644
4644
  * App instance ID.
@@ -4798,7 +4798,7 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
4798
4798
  * @returns Get Blog Post Count Stats response
4799
4799
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats
4800
4800
  */
4801
- declare function queryPostCountStats(options?: QueryPostCountStatsOptions): Promise<NonNullablePaths<QueryPostCountStatsResponse, `stats` | `stats.${number}.postCount`, 4>>;
4801
+ declare function queryPostCountStats(options?: QueryPostCountStatsOptions): Promise<NonNullablePaths<QueryPostCountStatsResponse, `stats` | `stats.${number}.postCount`, 2>>;
4802
4802
  interface QueryPostCountStatsOptions {
4803
4803
  /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
4804
4804
  rangeStart?: Date | null;
@@ -4837,7 +4837,7 @@ interface QueryPostCountStatsOptions {
4837
4837
  * @applicableIdentity APP
4838
4838
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
4839
4839
  */
4840
- declare function getTotalPosts(options?: GetTotalPostsOptions): Promise<NonNullablePaths<GetTotalPostsResponse, `total`, 2>>;
4840
+ declare function getTotalPosts(options?: GetTotalPostsOptions): Promise<NonNullablePaths<GetTotalPostsResponse, `total`, 0>>;
4841
4841
  interface GetTotalPostsOptions {
4842
4842
  /**
4843
4843
  * Language filter.
@@ -4858,7 +4858,7 @@ interface GetTotalPostsOptions {
4858
4858
  * @returns Retrieved post info.
4859
4859
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4860
4860
  */
4861
- 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>>;
4861
+ 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`, 4>>;
4862
4862
  interface GetPostOptions {
4863
4863
  /**
4864
4864
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4882,7 +4882,7 @@ interface GetPostOptions {
4882
4882
  * @applicableIdentity APP
4883
4883
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
4884
4884
  */
4885
- declare function getPostBySlug(slug: string, options?: GetPostBySlugOptions): Promise<NonNullablePaths<GetPostBySlugResponse, `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>>;
4885
+ declare function getPostBySlug(slug: string, options?: GetPostBySlugOptions): Promise<NonNullablePaths<GetPostBySlugResponse, `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`, 5>>;
4886
4886
  interface GetPostBySlugOptions {
4887
4887
  /**
4888
4888
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4909,7 +4909,7 @@ interface GetPostBySlugOptions {
4909
4909
  * @applicableIdentity APP
4910
4910
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
4911
4911
  */
4912
- declare function listPosts(options?: ListPostsOptions): Promise<NonNullablePaths<ListPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges` | `metaData.count` | `metaData.offset` | `metaData.total`, 6>>;
4912
+ declare function listPosts(options?: ListPostsOptions): Promise<NonNullablePaths<ListPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges` | `metaData.count` | `metaData.offset` | `metaData.total`, 4>>;
4913
4913
  interface ListPostsOptions {
4914
4914
  /**
4915
4915
  * Whether to return only featured posts.
@@ -5128,7 +5128,7 @@ interface PostsQueryBuilder {
5128
5128
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
5129
5129
  * @requiredField query
5130
5130
  */
5131
- declare function typedQueryPosts(query: PostQuery, options?: QueryPostsOptions): Promise<NonNullablePaths<QueryPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges`, 6>>;
5131
+ declare function typedQueryPosts(query: PostQuery, options?: QueryPostsOptions): Promise<NonNullablePaths<QueryPostsResponse, `posts` | `posts.${number}._id` | `posts.${number}.title` | `posts.${number}.excerpt` | `posts.${number}.slug` | `posts.${number}.featured` | `posts.${number}.pinned` | `posts.${number}.memberId` | `posts.${number}.commentingEnabled` | `posts.${number}.minutesToRead` | `posts.${number}.seoData.settings.preventAutoRedirect` | `posts.${number}.preview` | `posts.${number}.moderationDetails.submittedBy` | `posts.${number}.moderationDetails.status` | `posts.${number}.media.displayed` | `posts.${number}.media.custom` | `posts.${number}.hasUnpublishedChanges`, 4>>;
5132
5132
  interface PostQuerySpec extends QuerySpec {
5133
5133
  paging: 'cursor';
5134
5134
  wql: [
@@ -5325,6 +5325,6 @@ declare const utils: {
5325
5325
  * @applicableIdentity APP
5326
5326
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics
5327
5327
  */
5328
- declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
5328
+ declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 1>>;
5329
5329
 
5330
5330
  export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, LayerEffect, type LayerEffectWithLiterals, type Layers, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SectionDivider, type SeoSchema, type Settings, Shape, type ShapeData, type ShapeDataStyles, type ShapeWithLiterals, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };