@wix/auto_sdk_blog_posts 1.0.193 → 1.0.195
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.
- package/build/cjs/index.d.ts +15 -11
- package/build/cjs/index.js +36 -30
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +211 -192
- package/build/cjs/index.typings.js +26 -25
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +182 -175
- package/build/cjs/meta.js +20 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +15 -11
- package/build/es/index.mjs +36 -30
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +211 -192
- package/build/es/index.typings.mjs +26 -25
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +182 -175
- package/build/es/meta.mjs +20 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -11
- package/build/internal/cjs/index.typings.d.ts +265 -246
- package/build/internal/cjs/meta.d.ts +236 -229
- package/build/internal/es/index.d.mts +15 -11
- package/build/internal/es/index.typings.d.mts +265 -246
- package/build/internal/es/meta.d.mts +236 -229
- package/package.json +2 -2
|
@@ -2607,7 +2607,7 @@ interface LayoutData {
|
|
|
2607
2607
|
containerData?: PluginContainerData;
|
|
2608
2608
|
/** Defines where selected design propertied applies to */
|
|
2609
2609
|
designTarget?: DesignTargetWithLiterals;
|
|
2610
|
-
/**
|
|
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
|
-
/**
|
|
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,62 +3804,91 @@ interface GetTotalPostsResponse {
|
|
|
3797
3804
|
/** Total amount of published posts. */
|
|
3798
3805
|
total?: number;
|
|
3799
3806
|
}
|
|
3800
|
-
interface
|
|
3807
|
+
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
3801
3808
|
/**
|
|
3802
|
-
*
|
|
3803
|
-
*
|
|
3804
|
-
* Default: `false`
|
|
3809
|
+
* Member ID of person who triggered the counter update
|
|
3810
|
+
* @format GUID
|
|
3805
3811
|
*/
|
|
3806
|
-
|
|
3812
|
+
memberId?: string | null;
|
|
3807
3813
|
/**
|
|
3808
|
-
*
|
|
3809
|
-
*
|
|
3810
|
-
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3811
|
-
* If omitted, all posts with or without hashtags are returned.
|
|
3812
|
-
* @maxSize 100
|
|
3813
|
-
* @maxLength 100
|
|
3814
|
+
* Visitor ID if person that liked the post is not logged in
|
|
3815
|
+
* @format GUID
|
|
3814
3816
|
*/
|
|
3815
|
-
|
|
3817
|
+
anonymousVisitorId?: string | null;
|
|
3816
3818
|
/**
|
|
3817
|
-
*
|
|
3818
|
-
*
|
|
3819
|
-
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3820
|
-
* If omitted, all posts with or without associated categories are returned.
|
|
3821
|
-
* @maxSize 50
|
|
3819
|
+
* ID of the post which counters were updated.
|
|
3822
3820
|
* @format GUID
|
|
3823
3821
|
*/
|
|
3824
|
-
|
|
3822
|
+
postId?: string;
|
|
3825
3823
|
/**
|
|
3826
|
-
*
|
|
3827
|
-
*
|
|
3828
|
-
*
|
|
3829
|
-
|
|
3830
|
-
|
|
3824
|
+
* Internal ID of the post which counters were updated.
|
|
3825
|
+
* @internal
|
|
3826
|
+
* @maxLength 24
|
|
3827
|
+
*/
|
|
3828
|
+
postInternalId?: string;
|
|
3829
|
+
/** Field of the updated counter. */
|
|
3830
|
+
updatedCounterField?: FieldWithLiterals;
|
|
3831
|
+
/** New counter value. */
|
|
3832
|
+
counter?: number;
|
|
3833
|
+
}
|
|
3834
|
+
/** @oneof */
|
|
3835
|
+
interface PostCountersUpdatedInitiatorOneOf {
|
|
3836
|
+
/**
|
|
3837
|
+
* Member ID of person who triggered the counter update
|
|
3831
3838
|
* @format GUID
|
|
3832
3839
|
*/
|
|
3833
|
-
|
|
3840
|
+
memberId?: string | null;
|
|
3834
3841
|
/**
|
|
3835
|
-
*
|
|
3836
|
-
*
|
|
3837
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3838
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3839
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3840
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3841
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3842
|
-
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3843
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3844
|
-
* - `RATING`: reserved for internal use.
|
|
3845
|
-
*
|
|
3846
|
-
* Default: `FEED`
|
|
3842
|
+
* Visitor ID if person that liked the post is not logged in
|
|
3843
|
+
* @format GUID
|
|
3847
3844
|
*/
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3845
|
+
anonymousVisitorId?: string | null;
|
|
3846
|
+
}
|
|
3847
|
+
declare enum Field {
|
|
3848
|
+
/** Undefined field. */
|
|
3849
|
+
UNKNOWN = "UNKNOWN",
|
|
3850
|
+
/** Total comments field. */
|
|
3851
|
+
TOTAL_COMMENTS = "TOTAL_COMMENTS",
|
|
3852
|
+
/** Like count field. */
|
|
3853
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3854
|
+
/** View count field. */
|
|
3855
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3856
|
+
/** Rating count field. */
|
|
3857
|
+
RATING_COUNT = "RATING_COUNT"
|
|
3858
|
+
}
|
|
3859
|
+
/** @enumType */
|
|
3860
|
+
type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
|
|
3861
|
+
interface PostOwnerChanged {
|
|
3862
|
+
/**
|
|
3863
|
+
* Member ID of the post's owner before the change.
|
|
3864
|
+
* @internal
|
|
3865
|
+
* @format GUID
|
|
3866
|
+
*/
|
|
3867
|
+
oldMemberId?: string;
|
|
3868
|
+
/**
|
|
3869
|
+
* Member ID of the post's owner after the change.
|
|
3870
|
+
* @internal
|
|
3871
|
+
* @format GUID
|
|
3872
|
+
*/
|
|
3873
|
+
newMemberId?: string;
|
|
3874
|
+
}
|
|
3875
|
+
interface InitialPostsCopied {
|
|
3876
|
+
/** Number of posts copied. */
|
|
3877
|
+
count?: number;
|
|
3878
|
+
}
|
|
3879
|
+
interface GetPostRequest {
|
|
3880
|
+
/**
|
|
3881
|
+
* Post ID.
|
|
3882
|
+
* @minLength 1
|
|
3883
|
+
* @maxLength 38
|
|
3884
|
+
*/
|
|
3885
|
+
postId: string;
|
|
3851
3886
|
/**
|
|
3852
3887
|
* __Deprecated.__ Use `fieldsets` instead.
|
|
3853
3888
|
* This parameter will be removed on June 30, 2023.
|
|
3854
3889
|
*
|
|
3855
3890
|
* List of post fields to be included in the response.
|
|
3891
|
+
* @internal
|
|
3856
3892
|
* @maxSize 20
|
|
3857
3893
|
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3858
3894
|
* This parameter will be removed on June 30, 2023.
|
|
@@ -3862,20 +3898,6 @@ interface ListDemoPostsRequest {
|
|
|
3862
3898
|
* @targetRemovalDate 2024-06-30
|
|
3863
3899
|
*/
|
|
3864
3900
|
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3865
|
-
/**
|
|
3866
|
-
* Language filter.
|
|
3867
|
-
*
|
|
3868
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3869
|
-
* Pass a language to only receive posts that are in that language.
|
|
3870
|
-
* If omitted, posts in all languages are returned.
|
|
3871
|
-
* @format LANGUAGE_TAG
|
|
3872
|
-
*/
|
|
3873
|
-
language?: string | null;
|
|
3874
|
-
/**
|
|
3875
|
-
* Post owner's member ID.
|
|
3876
|
-
* @format GUID
|
|
3877
|
-
*/
|
|
3878
|
-
memberId?: string | null;
|
|
3879
3901
|
/**
|
|
3880
3902
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3881
3903
|
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
@@ -3884,52 +3906,6 @@ interface ListDemoPostsRequest {
|
|
|
3884
3906
|
*/
|
|
3885
3907
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3886
3908
|
}
|
|
3887
|
-
declare enum GetPostsSort {
|
|
3888
|
-
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3889
|
-
FEED = "FEED",
|
|
3890
|
-
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3891
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3892
|
-
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3893
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3894
|
-
/** Ordered by total number of views in descending order. */
|
|
3895
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3896
|
-
/** Ordered by total number of likes in descending order. */
|
|
3897
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3898
|
-
/** Ordered by `title` in ascending order. */
|
|
3899
|
-
TITLE_ASC = "TITLE_ASC",
|
|
3900
|
-
/** Ordered by `title` in descending order. */
|
|
3901
|
-
TITLE_DESC = "TITLE_DESC",
|
|
3902
|
-
/**
|
|
3903
|
-
* Sorting by post rating descending.
|
|
3904
|
-
* @internal
|
|
3905
|
-
*/
|
|
3906
|
-
RATING = "RATING"
|
|
3907
|
-
}
|
|
3908
|
-
/** @enumType */
|
|
3909
|
-
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3910
|
-
interface BlogPaging {
|
|
3911
|
-
/**
|
|
3912
|
-
* Number of items to skip in the current sort order.
|
|
3913
|
-
*
|
|
3914
|
-
*
|
|
3915
|
-
* Default: `0`
|
|
3916
|
-
*/
|
|
3917
|
-
offset?: number;
|
|
3918
|
-
/**
|
|
3919
|
-
* Number of items to return.
|
|
3920
|
-
*
|
|
3921
|
-
*
|
|
3922
|
-
* Default:`50`
|
|
3923
|
-
* @min 1
|
|
3924
|
-
* @max 100
|
|
3925
|
-
*/
|
|
3926
|
-
limit?: number;
|
|
3927
|
-
/**
|
|
3928
|
-
* Pointer to the next or previous page in the list of results.
|
|
3929
|
-
* @maxLength 2000
|
|
3930
|
-
*/
|
|
3931
|
-
cursor?: string | null;
|
|
3932
|
-
}
|
|
3933
3909
|
declare enum PostFieldField {
|
|
3934
3910
|
UNKNOWN = "UNKNOWN",
|
|
3935
3911
|
/**
|
|
@@ -4011,127 +3987,6 @@ declare enum PostFieldField {
|
|
|
4011
3987
|
}
|
|
4012
3988
|
/** @enumType */
|
|
4013
3989
|
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
4014
|
-
interface ListDemoPostsResponse {
|
|
4015
|
-
/** List of posts. */
|
|
4016
|
-
posts?: Post[];
|
|
4017
|
-
/** Details on the paged set of results returned. */
|
|
4018
|
-
metaData?: MetaData;
|
|
4019
|
-
}
|
|
4020
|
-
interface MetaData {
|
|
4021
|
-
/** Number of items returned in this response. */
|
|
4022
|
-
count?: number;
|
|
4023
|
-
/** Requested offset. */
|
|
4024
|
-
offset?: number;
|
|
4025
|
-
/** Total number of items that match the query. */
|
|
4026
|
-
total?: number;
|
|
4027
|
-
/**
|
|
4028
|
-
* Pointer to the next or previous page in the list of results.
|
|
4029
|
-
* @maxLength 2000
|
|
4030
|
-
*/
|
|
4031
|
-
cursor?: string | null;
|
|
4032
|
-
}
|
|
4033
|
-
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
4034
|
-
/**
|
|
4035
|
-
* Member ID of person who triggered the counter update
|
|
4036
|
-
* @format GUID
|
|
4037
|
-
*/
|
|
4038
|
-
memberId?: string | null;
|
|
4039
|
-
/**
|
|
4040
|
-
* Visitor ID if person that liked the post is not logged in
|
|
4041
|
-
* @format GUID
|
|
4042
|
-
*/
|
|
4043
|
-
anonymousVisitorId?: string | null;
|
|
4044
|
-
/**
|
|
4045
|
-
* ID of the post which counters were updated.
|
|
4046
|
-
* @format GUID
|
|
4047
|
-
*/
|
|
4048
|
-
postId?: string;
|
|
4049
|
-
/**
|
|
4050
|
-
* Internal ID of the post which counters were updated.
|
|
4051
|
-
* @internal
|
|
4052
|
-
* @maxLength 24
|
|
4053
|
-
*/
|
|
4054
|
-
postInternalId?: string;
|
|
4055
|
-
/** Field of the updated counter. */
|
|
4056
|
-
updatedCounterField?: FieldWithLiterals;
|
|
4057
|
-
/** New counter value. */
|
|
4058
|
-
counter?: number;
|
|
4059
|
-
}
|
|
4060
|
-
/** @oneof */
|
|
4061
|
-
interface PostCountersUpdatedInitiatorOneOf {
|
|
4062
|
-
/**
|
|
4063
|
-
* Member ID of person who triggered the counter update
|
|
4064
|
-
* @format GUID
|
|
4065
|
-
*/
|
|
4066
|
-
memberId?: string | null;
|
|
4067
|
-
/**
|
|
4068
|
-
* Visitor ID if person that liked the post is not logged in
|
|
4069
|
-
* @format GUID
|
|
4070
|
-
*/
|
|
4071
|
-
anonymousVisitorId?: string | null;
|
|
4072
|
-
}
|
|
4073
|
-
declare enum Field {
|
|
4074
|
-
/** Undefined field. */
|
|
4075
|
-
UNKNOWN = "UNKNOWN",
|
|
4076
|
-
/** Total comments field. */
|
|
4077
|
-
TOTAL_COMMENTS = "TOTAL_COMMENTS",
|
|
4078
|
-
/** Like count field. */
|
|
4079
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
4080
|
-
/** View count field. */
|
|
4081
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
4082
|
-
/** Rating count field. */
|
|
4083
|
-
RATING_COUNT = "RATING_COUNT"
|
|
4084
|
-
}
|
|
4085
|
-
/** @enumType */
|
|
4086
|
-
type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
|
|
4087
|
-
interface PostOwnerChanged {
|
|
4088
|
-
/**
|
|
4089
|
-
* Member ID of the post's owner before the change.
|
|
4090
|
-
* @internal
|
|
4091
|
-
* @format GUID
|
|
4092
|
-
*/
|
|
4093
|
-
oldMemberId?: string;
|
|
4094
|
-
/**
|
|
4095
|
-
* Member ID of the post's owner after the change.
|
|
4096
|
-
* @internal
|
|
4097
|
-
* @format GUID
|
|
4098
|
-
*/
|
|
4099
|
-
newMemberId?: string;
|
|
4100
|
-
}
|
|
4101
|
-
interface InitialPostsCopied {
|
|
4102
|
-
/** Number of posts copied. */
|
|
4103
|
-
count?: number;
|
|
4104
|
-
}
|
|
4105
|
-
interface GetPostRequest {
|
|
4106
|
-
/**
|
|
4107
|
-
* Post ID.
|
|
4108
|
-
* @minLength 1
|
|
4109
|
-
* @maxLength 38
|
|
4110
|
-
*/
|
|
4111
|
-
postId: string;
|
|
4112
|
-
/**
|
|
4113
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
4114
|
-
* This parameter will be removed on June 30, 2023.
|
|
4115
|
-
*
|
|
4116
|
-
* List of post fields to be included in the response.
|
|
4117
|
-
* @internal
|
|
4118
|
-
* @maxSize 20
|
|
4119
|
-
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
4120
|
-
* This parameter will be removed on June 30, 2023.
|
|
4121
|
-
*
|
|
4122
|
-
* List of post fields to be included in the response.
|
|
4123
|
-
* @replacedBy fieldsets
|
|
4124
|
-
* @targetRemovalDate 2024-06-30
|
|
4125
|
-
*/
|
|
4126
|
-
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
4127
|
-
/**
|
|
4128
|
-
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
4129
|
-
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
4130
|
-
* only the post’s base fields are returned.
|
|
4131
|
-
* @maxSize 20
|
|
4132
|
-
*/
|
|
4133
|
-
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4134
|
-
}
|
|
4135
3990
|
interface GetPostResponse {
|
|
4136
3991
|
/** Retrieved post info. */
|
|
4137
3992
|
post?: Post;
|
|
@@ -4254,12 +4109,71 @@ interface ListPostsRequest {
|
|
|
4254
4109
|
*/
|
|
4255
4110
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4256
4111
|
}
|
|
4112
|
+
declare enum GetPostsSort {
|
|
4113
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
4114
|
+
FEED = "FEED",
|
|
4115
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
4116
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
4117
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
4118
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
4119
|
+
/** Ordered by total number of views in descending order. */
|
|
4120
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
4121
|
+
/** Ordered by total number of likes in descending order. */
|
|
4122
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
4123
|
+
/** Ordered by `title` in ascending order. */
|
|
4124
|
+
TITLE_ASC = "TITLE_ASC",
|
|
4125
|
+
/** Ordered by `title` in descending order. */
|
|
4126
|
+
TITLE_DESC = "TITLE_DESC",
|
|
4127
|
+
/**
|
|
4128
|
+
* Sorting by post rating descending.
|
|
4129
|
+
* @internal
|
|
4130
|
+
*/
|
|
4131
|
+
RATING = "RATING"
|
|
4132
|
+
}
|
|
4133
|
+
/** @enumType */
|
|
4134
|
+
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
4135
|
+
interface BlogPaging {
|
|
4136
|
+
/**
|
|
4137
|
+
* Number of items to skip in the current sort order.
|
|
4138
|
+
*
|
|
4139
|
+
*
|
|
4140
|
+
* Default: `0`
|
|
4141
|
+
*/
|
|
4142
|
+
offset?: number;
|
|
4143
|
+
/**
|
|
4144
|
+
* Number of items to return.
|
|
4145
|
+
*
|
|
4146
|
+
*
|
|
4147
|
+
* Default:`50`
|
|
4148
|
+
* @min 1
|
|
4149
|
+
* @max 100
|
|
4150
|
+
*/
|
|
4151
|
+
limit?: number;
|
|
4152
|
+
/**
|
|
4153
|
+
* Pointer to the next or previous page in the list of results.
|
|
4154
|
+
* @maxLength 2000
|
|
4155
|
+
*/
|
|
4156
|
+
cursor?: string | null;
|
|
4157
|
+
}
|
|
4257
4158
|
interface ListPostsResponse {
|
|
4258
4159
|
/** List of retrieved posts. */
|
|
4259
4160
|
posts?: Post[];
|
|
4260
4161
|
/** Details on the paged set of results returned. */
|
|
4261
4162
|
metaData?: MetaData;
|
|
4262
4163
|
}
|
|
4164
|
+
interface MetaData {
|
|
4165
|
+
/** Number of items returned in this response. */
|
|
4166
|
+
count?: number;
|
|
4167
|
+
/** Requested offset. */
|
|
4168
|
+
offset?: number;
|
|
4169
|
+
/** Total number of items that match the query. */
|
|
4170
|
+
total?: number;
|
|
4171
|
+
/**
|
|
4172
|
+
* Pointer to the next or previous page in the list of results.
|
|
4173
|
+
* @maxLength 2000
|
|
4174
|
+
*/
|
|
4175
|
+
cursor?: string | null;
|
|
4176
|
+
}
|
|
4263
4177
|
interface QueryPostsRequest {
|
|
4264
4178
|
/**
|
|
4265
4179
|
* __Deprecated.__ Use `query` instead.
|
|
@@ -4711,6 +4625,99 @@ interface PostCount {
|
|
|
4711
4625
|
/** Number of posts. */
|
|
4712
4626
|
postCount?: number;
|
|
4713
4627
|
}
|
|
4628
|
+
interface ListDemoPostsRequest {
|
|
4629
|
+
/**
|
|
4630
|
+
* Whether to return only featured posts.
|
|
4631
|
+
*
|
|
4632
|
+
* Default: `false`
|
|
4633
|
+
*/
|
|
4634
|
+
featured?: boolean;
|
|
4635
|
+
/**
|
|
4636
|
+
* Hashtag filter.
|
|
4637
|
+
*
|
|
4638
|
+
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
4639
|
+
* If omitted, all posts with or without hashtags are returned.
|
|
4640
|
+
* @maxSize 100
|
|
4641
|
+
* @maxLength 100
|
|
4642
|
+
*/
|
|
4643
|
+
hashtags?: string[];
|
|
4644
|
+
/**
|
|
4645
|
+
* Category filter.
|
|
4646
|
+
*
|
|
4647
|
+
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
4648
|
+
* If omitted, all posts with or without associated categories are returned.
|
|
4649
|
+
* @maxSize 50
|
|
4650
|
+
* @format GUID
|
|
4651
|
+
*/
|
|
4652
|
+
categoryIds?: string[];
|
|
4653
|
+
/**
|
|
4654
|
+
* Tag filter.
|
|
4655
|
+
*
|
|
4656
|
+
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
4657
|
+
* If omitted, all posts with or without tags are returned.
|
|
4658
|
+
* @maxSize 50
|
|
4659
|
+
* @format GUID
|
|
4660
|
+
*/
|
|
4661
|
+
tagIds?: string[];
|
|
4662
|
+
/**
|
|
4663
|
+
* Sorting options.
|
|
4664
|
+
*
|
|
4665
|
+
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
4666
|
+
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
4667
|
+
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
4668
|
+
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
4669
|
+
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
4670
|
+
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
4671
|
+
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
4672
|
+
* - `RATING`: reserved for internal use.
|
|
4673
|
+
*
|
|
4674
|
+
* Default: `FEED`
|
|
4675
|
+
*/
|
|
4676
|
+
sort?: GetPostsSortWithLiterals;
|
|
4677
|
+
/** Pagination options. */
|
|
4678
|
+
paging?: BlogPaging;
|
|
4679
|
+
/**
|
|
4680
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
4681
|
+
* This parameter will be removed on June 30, 2023.
|
|
4682
|
+
*
|
|
4683
|
+
* List of post fields to be included in the response.
|
|
4684
|
+
* @maxSize 20
|
|
4685
|
+
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
4686
|
+
* This parameter will be removed on June 30, 2023.
|
|
4687
|
+
*
|
|
4688
|
+
* List of post fields to be included in the response.
|
|
4689
|
+
* @replacedBy fieldsets
|
|
4690
|
+
* @targetRemovalDate 2024-06-30
|
|
4691
|
+
*/
|
|
4692
|
+
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
4693
|
+
/**
|
|
4694
|
+
* Language filter.
|
|
4695
|
+
*
|
|
4696
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
4697
|
+
* Pass a language to only receive posts that are in that language.
|
|
4698
|
+
* If omitted, posts in all languages are returned.
|
|
4699
|
+
* @format LANGUAGE_TAG
|
|
4700
|
+
*/
|
|
4701
|
+
language?: string | null;
|
|
4702
|
+
/**
|
|
4703
|
+
* Post owner's member ID.
|
|
4704
|
+
* @format GUID
|
|
4705
|
+
*/
|
|
4706
|
+
memberId?: string | null;
|
|
4707
|
+
/**
|
|
4708
|
+
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
4709
|
+
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
4710
|
+
* only the post’s base fields are returned.
|
|
4711
|
+
* @maxSize 20
|
|
4712
|
+
*/
|
|
4713
|
+
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4714
|
+
}
|
|
4715
|
+
interface ListDemoPostsResponse {
|
|
4716
|
+
/** List of posts. */
|
|
4717
|
+
posts?: Post[];
|
|
4718
|
+
/** Details on the paged set of results returned. */
|
|
4719
|
+
metaData?: MetaData;
|
|
4720
|
+
}
|
|
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
|
-
*
|
|
4862
|
-
* The
|
|
4863
|
-
*
|
|
4864
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
4865
|
-
*
|
|
4866
|
-
*
|
|
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<
|
|
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
|
-
*
|
|
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
|
-
*
|
|
5058
|
-
*
|
|
5059
|
-
*
|
|
5060
|
-
*
|
|
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 };
|