@wix/auto_sdk_blog_posts 1.0.192 → 1.0.194

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.
@@ -2607,7 +2607,7 @@ interface LayoutData {
2607
2607
  containerData?: PluginContainerData;
2608
2608
  /** Defines where selected design propertied applies to */
2609
2609
  designTarget?: DesignTargetWithLiterals;
2610
- /** Banner configuration. When present, this layout is attached to a document edge (top or bottom). */
2610
+ /** Where this layout sits: an edge banner, or the paywall cut. One field, so the two can never be combined. */
2611
2611
  banner?: Banner;
2612
2612
  /** Background styling (color or gradient). */
2613
2613
  background?: LayoutDataBackground;
@@ -2682,13 +2682,15 @@ declare enum Origin {
2682
2682
  /** @enumType */
2683
2683
  type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
2684
2684
  declare enum BannerPosition {
2685
- /** Attached to the top edge (banner) */
2685
+ /** Attached to the top edge (banner). The default, so a banner written before this field existed decodes as TOP. */
2686
2686
  TOP = "TOP",
2687
- /** Attached to the bottom edge (footer) */
2688
- BOTTOM = "BOTTOM"
2687
+ /** Attached to the bottom edge (footer). */
2688
+ BOTTOM = "BOTTOM",
2689
+ /** The cut between free and paid content, not an edge banner. `origin` carries no meaning for it. */
2690
+ PAYWALL = "PAYWALL"
2689
2691
  }
2690
2692
  /** @enumType */
2691
- type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
2693
+ type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM' | 'PAYWALL';
2692
2694
  /** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */
2693
2695
  declare enum LayerEffect {
2694
2696
  /** Shape keeps its height, a solid filler bar pushes it away from the edge */
@@ -2816,12 +2818,17 @@ declare enum DesignTarget {
2816
2818
  }
2817
2819
  /** @enumType */
2818
2820
  type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
2819
- interface Banner {
2820
- /** Origin of the banner */
2821
+ interface Banner extends BannerOriginPresenceOneOf {
2822
+ /** Origin of the banner. Edge positions only. */
2821
2823
  origin?: OriginWithLiterals;
2822
- /** Position of the banner */
2824
+ /** Where the layout sits: an edge, or the paywall cut. */
2823
2825
  position?: BannerPositionWithLiterals;
2824
2826
  }
2827
+ /** @oneof */
2828
+ interface BannerOriginPresenceOneOf {
2829
+ /** Origin of the banner. Edge positions only. */
2830
+ origin?: OriginWithLiterals;
2831
+ }
2825
2832
  /** Backdrop styling (color or gradient) */
2826
2833
  interface Backdrop {
2827
2834
  /** Backdrop type. */
@@ -3797,91 +3804,62 @@ interface GetTotalPostsResponse {
3797
3804
  /** Total amount of published posts. */
3798
3805
  total?: number;
3799
3806
  }
3800
- interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
3801
- /**
3802
- * Member ID of person who triggered the counter update
3803
- * @format GUID
3804
- */
3805
- memberId?: string | null;
3806
- /**
3807
- * Visitor ID if person that liked the post is not logged in
3808
- * @format GUID
3809
- */
3810
- anonymousVisitorId?: string | null;
3811
- /**
3812
- * ID of the post which counters were updated.
3813
- * @format GUID
3814
- */
3815
- postId?: string;
3816
- /**
3817
- * Internal ID of the post which counters were updated.
3818
- * @internal
3819
- * @maxLength 24
3820
- */
3821
- postInternalId?: string;
3822
- /** Field of the updated counter. */
3823
- updatedCounterField?: FieldWithLiterals;
3824
- /** New counter value. */
3825
- counter?: number;
3826
- }
3827
- /** @oneof */
3828
- interface PostCountersUpdatedInitiatorOneOf {
3807
+ interface ListDemoPostsRequest {
3829
3808
  /**
3830
- * Member ID of person who triggered the counter update
3831
- * @format GUID
3809
+ * Whether to return only featured posts.
3810
+ *
3811
+ * Default: `false`
3832
3812
  */
3833
- memberId?: string | null;
3813
+ featured?: boolean;
3834
3814
  /**
3835
- * Visitor ID if person that liked the post is not logged in
3836
- * @format GUID
3815
+ * Hashtag filter.
3816
+ *
3817
+ * Pass an array of hashtags to return only posts containing any of the provided hashtags.
3818
+ * If omitted, all posts with or without hashtags are returned.
3819
+ * @maxSize 100
3820
+ * @maxLength 100
3837
3821
  */
3838
- anonymousVisitorId?: string | null;
3839
- }
3840
- declare enum Field {
3841
- /** Undefined field. */
3842
- UNKNOWN = "UNKNOWN",
3843
- /** Total comments field. */
3844
- TOTAL_COMMENTS = "TOTAL_COMMENTS",
3845
- /** Like count field. */
3846
- LIKE_COUNT = "LIKE_COUNT",
3847
- /** View count field. */
3848
- VIEW_COUNT = "VIEW_COUNT",
3849
- /** Rating count field. */
3850
- RATING_COUNT = "RATING_COUNT"
3851
- }
3852
- /** @enumType */
3853
- type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
3854
- interface PostOwnerChanged {
3822
+ hashtags?: string[];
3855
3823
  /**
3856
- * Member ID of the post's owner before the change.
3857
- * @internal
3824
+ * Category filter.
3825
+ *
3826
+ * Pass an array of category IDs to return only posts with any of the provided categories.
3827
+ * If omitted, all posts with or without associated categories are returned.
3828
+ * @maxSize 50
3858
3829
  * @format GUID
3859
3830
  */
3860
- oldMemberId?: string;
3831
+ categoryIds?: string[];
3861
3832
  /**
3862
- * Member ID of the post's owner after the change.
3863
- * @internal
3833
+ * Tag filter.
3834
+ *
3835
+ * Pass an array of tag IDs to return only posts with any of the provided tags.
3836
+ * If omitted, all posts with or without tags are returned.
3837
+ * @maxSize 50
3864
3838
  * @format GUID
3865
3839
  */
3866
- newMemberId?: string;
3867
- }
3868
- interface InitialPostsCopied {
3869
- /** Number of posts copied. */
3870
- count?: number;
3871
- }
3872
- interface GetPostRequest {
3840
+ tagIds?: string[];
3873
3841
  /**
3874
- * Post ID.
3875
- * @minLength 1
3876
- * @maxLength 38
3842
+ * Sorting options.
3843
+ *
3844
+ * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
3845
+ * - `VIEW_COUNT`: Ordered by total number of views in descending order.
3846
+ * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
3847
+ * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
3848
+ * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
3849
+ * - `TITLE_ASC`: Ordered by `title` in ascending order.
3850
+ * - `TITLE_DESC`: Ordered by `title` in descending order.
3851
+ * - `RATING`: reserved for internal use.
3852
+ *
3853
+ * Default: `FEED`
3877
3854
  */
3878
- postId: string;
3855
+ sort?: GetPostsSortWithLiterals;
3856
+ /** Pagination options. */
3857
+ paging?: BlogPaging;
3879
3858
  /**
3880
3859
  * __Deprecated.__ Use `fieldsets` instead.
3881
3860
  * This parameter will be removed on June 30, 2023.
3882
3861
  *
3883
3862
  * List of post fields to be included in the response.
3884
- * @internal
3885
3863
  * @maxSize 20
3886
3864
  * @deprecated __Deprecated.__ Use `fieldsets` instead.
3887
3865
  * This parameter will be removed on June 30, 2023.
@@ -3891,6 +3869,20 @@ interface GetPostRequest {
3891
3869
  * @targetRemovalDate 2024-06-30
3892
3870
  */
3893
3871
  fieldsToInclude?: PostFieldFieldWithLiterals[];
3872
+ /**
3873
+ * Language filter.
3874
+ *
3875
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3876
+ * Pass a language to only receive posts that are in that language.
3877
+ * If omitted, posts in all languages are returned.
3878
+ * @format LANGUAGE_TAG
3879
+ */
3880
+ language?: string | null;
3881
+ /**
3882
+ * Post owner's member ID.
3883
+ * @format GUID
3884
+ */
3885
+ memberId?: string | null;
3894
3886
  /**
3895
3887
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3896
3888
  * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
@@ -3899,6 +3891,52 @@ interface GetPostRequest {
3899
3891
  */
3900
3892
  fieldsets?: PostFieldFieldWithLiterals[];
3901
3893
  }
3894
+ declare enum GetPostsSort {
3895
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
3896
+ FEED = "FEED",
3897
+ /** Ordered by `firstPublishedDate` in ascending order. */
3898
+ PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
3899
+ /** Ordered by `firstPublishedDate` in descending order. */
3900
+ PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
3901
+ /** Ordered by total number of views in descending order. */
3902
+ VIEW_COUNT = "VIEW_COUNT",
3903
+ /** Ordered by total number of likes in descending order. */
3904
+ LIKE_COUNT = "LIKE_COUNT",
3905
+ /** Ordered by `title` in ascending order. */
3906
+ TITLE_ASC = "TITLE_ASC",
3907
+ /** Ordered by `title` in descending order. */
3908
+ TITLE_DESC = "TITLE_DESC",
3909
+ /**
3910
+ * Sorting by post rating descending.
3911
+ * @internal
3912
+ */
3913
+ RATING = "RATING"
3914
+ }
3915
+ /** @enumType */
3916
+ type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
3917
+ interface BlogPaging {
3918
+ /**
3919
+ * Number of items to skip in the current sort order.
3920
+ *
3921
+ *
3922
+ * Default: `0`
3923
+ */
3924
+ offset?: number;
3925
+ /**
3926
+ * Number of items to return.
3927
+ *
3928
+ *
3929
+ * Default:`50`
3930
+ * @min 1
3931
+ * @max 100
3932
+ */
3933
+ limit?: number;
3934
+ /**
3935
+ * Pointer to the next or previous page in the list of results.
3936
+ * @maxLength 2000
3937
+ */
3938
+ cursor?: string | null;
3939
+ }
3902
3940
  declare enum PostFieldField {
3903
3941
  UNKNOWN = "UNKNOWN",
3904
3942
  /**
@@ -3980,6 +4018,127 @@ declare enum PostFieldField {
3980
4018
  }
3981
4019
  /** @enumType */
3982
4020
  type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
4021
+ interface ListDemoPostsResponse {
4022
+ /** List of posts. */
4023
+ posts?: Post[];
4024
+ /** Details on the paged set of results returned. */
4025
+ metaData?: MetaData;
4026
+ }
4027
+ interface MetaData {
4028
+ /** Number of items returned in this response. */
4029
+ count?: number;
4030
+ /** Requested offset. */
4031
+ offset?: number;
4032
+ /** Total number of items that match the query. */
4033
+ total?: number;
4034
+ /**
4035
+ * Pointer to the next or previous page in the list of results.
4036
+ * @maxLength 2000
4037
+ */
4038
+ cursor?: string | null;
4039
+ }
4040
+ interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
4041
+ /**
4042
+ * Member ID of person who triggered the counter update
4043
+ * @format GUID
4044
+ */
4045
+ memberId?: string | null;
4046
+ /**
4047
+ * Visitor ID if person that liked the post is not logged in
4048
+ * @format GUID
4049
+ */
4050
+ anonymousVisitorId?: string | null;
4051
+ /**
4052
+ * ID of the post which counters were updated.
4053
+ * @format GUID
4054
+ */
4055
+ postId?: string;
4056
+ /**
4057
+ * Internal ID of the post which counters were updated.
4058
+ * @internal
4059
+ * @maxLength 24
4060
+ */
4061
+ postInternalId?: string;
4062
+ /** Field of the updated counter. */
4063
+ updatedCounterField?: FieldWithLiterals;
4064
+ /** New counter value. */
4065
+ counter?: number;
4066
+ }
4067
+ /** @oneof */
4068
+ interface PostCountersUpdatedInitiatorOneOf {
4069
+ /**
4070
+ * Member ID of person who triggered the counter update
4071
+ * @format GUID
4072
+ */
4073
+ memberId?: string | null;
4074
+ /**
4075
+ * Visitor ID if person that liked the post is not logged in
4076
+ * @format GUID
4077
+ */
4078
+ anonymousVisitorId?: string | null;
4079
+ }
4080
+ declare enum Field {
4081
+ /** Undefined field. */
4082
+ UNKNOWN = "UNKNOWN",
4083
+ /** Total comments field. */
4084
+ TOTAL_COMMENTS = "TOTAL_COMMENTS",
4085
+ /** Like count field. */
4086
+ LIKE_COUNT = "LIKE_COUNT",
4087
+ /** View count field. */
4088
+ VIEW_COUNT = "VIEW_COUNT",
4089
+ /** Rating count field. */
4090
+ RATING_COUNT = "RATING_COUNT"
4091
+ }
4092
+ /** @enumType */
4093
+ type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
4094
+ interface PostOwnerChanged {
4095
+ /**
4096
+ * Member ID of the post's owner before the change.
4097
+ * @internal
4098
+ * @format GUID
4099
+ */
4100
+ oldMemberId?: string;
4101
+ /**
4102
+ * Member ID of the post's owner after the change.
4103
+ * @internal
4104
+ * @format GUID
4105
+ */
4106
+ newMemberId?: string;
4107
+ }
4108
+ interface InitialPostsCopied {
4109
+ /** Number of posts copied. */
4110
+ count?: number;
4111
+ }
4112
+ interface GetPostRequest {
4113
+ /**
4114
+ * Post ID.
4115
+ * @minLength 1
4116
+ * @maxLength 38
4117
+ */
4118
+ postId: string;
4119
+ /**
4120
+ * __Deprecated.__ Use `fieldsets` instead.
4121
+ * This parameter will be removed on June 30, 2023.
4122
+ *
4123
+ * List of post fields to be included in the response.
4124
+ * @internal
4125
+ * @maxSize 20
4126
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
4127
+ * This parameter will be removed on June 30, 2023.
4128
+ *
4129
+ * List of post fields to be included in the response.
4130
+ * @replacedBy fieldsets
4131
+ * @targetRemovalDate 2024-06-30
4132
+ */
4133
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
4134
+ /**
4135
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4136
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
4137
+ * only the post’s base fields are returned.
4138
+ * @maxSize 20
4139
+ */
4140
+ fieldsets?: PostFieldFieldWithLiterals[];
4141
+ }
3983
4142
  interface GetPostResponse {
3984
4143
  /** Retrieved post info. */
3985
4144
  post?: Post;
@@ -4102,71 +4261,12 @@ interface ListPostsRequest {
4102
4261
  */
4103
4262
  fieldsets?: PostFieldFieldWithLiterals[];
4104
4263
  }
4105
- declare enum GetPostsSort {
4106
- /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
4107
- FEED = "FEED",
4108
- /** Ordered by `firstPublishedDate` in ascending order. */
4109
- PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
4110
- /** Ordered by `firstPublishedDate` in descending order. */
4111
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
4112
- /** Ordered by total number of views in descending order. */
4113
- VIEW_COUNT = "VIEW_COUNT",
4114
- /** Ordered by total number of likes in descending order. */
4115
- LIKE_COUNT = "LIKE_COUNT",
4116
- /** Ordered by `title` in ascending order. */
4117
- TITLE_ASC = "TITLE_ASC",
4118
- /** Ordered by `title` in descending order. */
4119
- TITLE_DESC = "TITLE_DESC",
4120
- /**
4121
- * Sorting by post rating descending.
4122
- * @internal
4123
- */
4124
- RATING = "RATING"
4125
- }
4126
- /** @enumType */
4127
- type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
4128
- interface BlogPaging {
4129
- /**
4130
- * Number of items to skip in the current sort order.
4131
- *
4132
- *
4133
- * Default: `0`
4134
- */
4135
- offset?: number;
4136
- /**
4137
- * Number of items to return.
4138
- *
4139
- *
4140
- * Default:`50`
4141
- * @min 1
4142
- * @max 100
4143
- */
4144
- limit?: number;
4145
- /**
4146
- * Pointer to the next or previous page in the list of results.
4147
- * @maxLength 2000
4148
- */
4149
- cursor?: string | null;
4150
- }
4151
4264
  interface ListPostsResponse {
4152
4265
  /** List of retrieved posts. */
4153
4266
  posts?: Post[];
4154
4267
  /** Details on the paged set of results returned. */
4155
4268
  metaData?: MetaData;
4156
4269
  }
4157
- interface MetaData {
4158
- /** Number of items returned in this response. */
4159
- count?: number;
4160
- /** Requested offset. */
4161
- offset?: number;
4162
- /** Total number of items that match the query. */
4163
- total?: number;
4164
- /**
4165
- * Pointer to the next or previous page in the list of results.
4166
- * @maxLength 2000
4167
- */
4168
- cursor?: string | null;
4169
- }
4170
4270
  interface QueryPostsRequest {
4171
4271
  /**
4172
4272
  * __Deprecated.__ Use `query` instead.
@@ -4618,99 +4718,6 @@ interface PostCount {
4618
4718
  /** Number of posts. */
4619
4719
  postCount?: number;
4620
4720
  }
4621
- interface ListDemoPostsRequest {
4622
- /**
4623
- * Whether to return only featured posts.
4624
- *
4625
- * Default: `false`
4626
- */
4627
- featured?: boolean;
4628
- /**
4629
- * Hashtag filter.
4630
- *
4631
- * Pass an array of hashtags to return only posts containing any of the provided hashtags.
4632
- * If omitted, all posts with or without hashtags are returned.
4633
- * @maxSize 100
4634
- * @maxLength 100
4635
- */
4636
- hashtags?: string[];
4637
- /**
4638
- * Category filter.
4639
- *
4640
- * Pass an array of category IDs to return only posts with any of the provided categories.
4641
- * If omitted, all posts with or without associated categories are returned.
4642
- * @maxSize 50
4643
- * @format GUID
4644
- */
4645
- categoryIds?: string[];
4646
- /**
4647
- * Tag filter.
4648
- *
4649
- * Pass an array of tag IDs to return only posts with any of the provided tags.
4650
- * If omitted, all posts with or without tags are returned.
4651
- * @maxSize 50
4652
- * @format GUID
4653
- */
4654
- tagIds?: string[];
4655
- /**
4656
- * Sorting options.
4657
- *
4658
- * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
4659
- * - `VIEW_COUNT`: Ordered by total number of views in descending order.
4660
- * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
4661
- * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
4662
- * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
4663
- * - `TITLE_ASC`: Ordered by `title` in ascending order.
4664
- * - `TITLE_DESC`: Ordered by `title` in descending order.
4665
- * - `RATING`: reserved for internal use.
4666
- *
4667
- * Default: `FEED`
4668
- */
4669
- sort?: GetPostsSortWithLiterals;
4670
- /** Pagination options. */
4671
- paging?: BlogPaging;
4672
- /**
4673
- * __Deprecated.__ Use `fieldsets` instead.
4674
- * This parameter will be removed on June 30, 2023.
4675
- *
4676
- * List of post fields to be included in the response.
4677
- * @maxSize 20
4678
- * @deprecated __Deprecated.__ Use `fieldsets` instead.
4679
- * This parameter will be removed on June 30, 2023.
4680
- *
4681
- * List of post fields to be included in the response.
4682
- * @replacedBy fieldsets
4683
- * @targetRemovalDate 2024-06-30
4684
- */
4685
- fieldsToInclude?: PostFieldFieldWithLiterals[];
4686
- /**
4687
- * Language filter.
4688
- *
4689
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
4690
- * Pass a language to only receive posts that are in that language.
4691
- * If omitted, posts in all languages are returned.
4692
- * @format LANGUAGE_TAG
4693
- */
4694
- language?: string | null;
4695
- /**
4696
- * Post owner's member ID.
4697
- * @format GUID
4698
- */
4699
- memberId?: string | null;
4700
- /**
4701
- * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4702
- * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
4703
- * only the post’s base fields are returned.
4704
- * @maxSize 20
4705
- */
4706
- fieldsets?: PostFieldFieldWithLiterals[];
4707
- }
4708
- interface ListDemoPostsResponse {
4709
- /** List of posts. */
4710
- posts?: Post[];
4711
- /** Details on the paged set of results returned. */
4712
- metaData?: MetaData;
4713
- }
4714
4721
  interface BaseEventMetadata {
4715
4722
  /**
4716
4723
  * App instance ID.
@@ -4858,13 +4865,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
4858
4865
  /**
4859
4866
  * Retrieves the number of published posts per month within a specified time range.
4860
4867
  *
4861
- * The time range is set using the `rangeStart` and `months` properties.
4862
- * The time range always starts on the 1st day of the month set in `rangeStart` and
4863
- * includes the number of `months` following `rangeStart`.
4864
- * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
4865
- * the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.
4866
- * > 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.
4868
+ *
4869
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
4870
+ *
4871
+ * 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.
4872
+ *
4873
+ * >**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.
4867
4874
  * @public
4875
+ * @param options - Options specifying time frame, sort, and filter.
4868
4876
  * @permissionId BLOG.READ-PUBLICATION
4869
4877
  * @applicableIdentity APP
4870
4878
  * @returns Get Blog Post Count Stats response
@@ -4905,6 +4913,7 @@ interface QueryPostCountStatsOptions {
4905
4913
  /**
4906
4914
  * Retrieves the total amount of published posts of the blog.
4907
4915
  * @public
4916
+ * @param options - Language Options.
4908
4917
  * @permissionId BLOG.READ-PUBLICATION
4909
4918
  * @applicableIdentity APP
4910
4919
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4925,12 +4934,12 @@ interface GetTotalPostsOptions {
4925
4934
  * @param postId - Post ID.
4926
4935
  * @public
4927
4936
  * @requiredField postId
4937
+ * @param options - Options specifying which fields to return.
4928
4938
  * @permissionId BLOG.READ-PUBLICATION
4929
4939
  * @applicableIdentity APP
4930
- * @returns Retrieved post info.
4931
4940
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4932
4941
  */
4933
- 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>>;
4942
+ declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 5>>;
4934
4943
  interface GetPostOptions {
4935
4944
  /**
4936
4945
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4950,6 +4959,7 @@ interface GetPostOptions {
4950
4959
  * @param slug - Slug of the post to retrieve.
4951
4960
  * @public
4952
4961
  * @requiredField slug
4962
+ * @param options - Options specifying which fields to return.
4953
4963
  * @permissionId BLOG.READ-PUBLICATION
4954
4964
  * @applicableIdentity APP
4955
4965
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4977,6 +4987,7 @@ interface GetPostBySlugOptions {
4977
4987
  * - `paging.limit` is `50`.
4978
4988
  * - `paging.offset` is `0`.
4979
4989
  * @public
4990
+ * @param options - Sort, filter, and paging options.
4980
4991
  * @permissionId BLOG.READ-PUBLICATION
4981
4992
  * @applicableIdentity APP
4982
4993
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -5047,18 +5058,26 @@ interface ListPostsOptions {
5047
5058
  fieldsets?: PostFieldFieldWithLiterals[];
5048
5059
  }
5049
5060
  /**
5050
- * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
5061
+ * Creates a query to retrieve a list of posts.
5051
5062
  *
5052
- * Query Posts runs with these defaults, which you can override:
5053
- * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
5054
- * - `paging.limit` is `50`.
5055
- * - `paging.offset` is `0`.
5056
5063
  *
5057
- * To learn about working with _Query_ endpoints, see
5058
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
5059
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
5060
- * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
5064
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
5065
+ *
5066
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
5067
+ *
5068
+ * 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.
5069
+ *
5070
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
5071
+ * + `limit(50)`
5072
+ * + `descending('firstPublishedDate')`
5073
+ *
5074
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
5075
+ *
5076
+ * To learn how to query posts, refer to the table below.
5077
+ *
5078
+ * 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`.
5061
5079
  * @public
5080
+ * @param options - Options specifying which fields to return.
5062
5081
  * @permissionId BLOG.READ-PUBLICATION
5063
5082
  * @applicableIdentity APP
5064
5083
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -5413,4 +5432,4 @@ declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPos
5413
5432
  */
5414
5433
  declare function viewPost(postId: string): Promise<NonNullablePaths<ViewPostResponse, `views`, 0>>;
5415
5434
 
5416
- 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 ColorDataBackground, ColorDataBackgroundType, type ColorDataBackgroundTypeWithLiterals, 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 SlotData, type SlotDesign, 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, viewPost };
5435
+ 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, type BannerOriginPresenceOneOf, 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 ColorDataBackground, ColorDataBackgroundType, type ColorDataBackgroundTypeWithLiterals, 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 SlotData, type SlotDesign, 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, viewPost };