@wix/auto_sdk_blog_posts 1.0.161 → 1.0.162
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 +264 -42
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +405 -367
- package/build/cjs/index.typings.js +161 -37
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +376 -350
- package/build/cjs/meta.js +155 -31
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +86 -84
- package/build/cjs/schemas.js +153 -147
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +15 -11
- package/build/es/index.mjs +264 -42
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +405 -367
- package/build/es/index.typings.mjs +161 -37
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +376 -350
- package/build/es/meta.mjs +155 -31
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +86 -84
- package/build/es/schemas.mjs +153 -147
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -11
- package/build/internal/cjs/index.js +264 -42
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +405 -367
- package/build/internal/cjs/index.typings.js +161 -37
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +376 -350
- package/build/internal/cjs/meta.js +155 -31
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +86 -84
- package/build/internal/cjs/schemas.js +153 -147
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -11
- package/build/internal/es/index.mjs +264 -42
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +405 -367
- package/build/internal/es/index.typings.mjs +161 -37
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +376 -350
- package/build/internal/es/meta.mjs +155 -31
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +86 -84
- package/build/internal/es/schemas.mjs +153 -147
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1137,6 +1137,8 @@ interface ImageData {
|
|
|
1137
1137
|
decorative?: boolean | null;
|
|
1138
1138
|
/** Styling for the image. */
|
|
1139
1139
|
styles?: ImageDataStyles;
|
|
1140
|
+
/** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
|
|
1141
|
+
crop?: ImageDataCrop;
|
|
1140
1142
|
}
|
|
1141
1143
|
interface StylesBorder {
|
|
1142
1144
|
/** Border width in pixels. */
|
|
@@ -1153,6 +1155,16 @@ interface ImageDataStyles {
|
|
|
1153
1155
|
/** Border attributes. */
|
|
1154
1156
|
border?: StylesBorder;
|
|
1155
1157
|
}
|
|
1158
|
+
interface ImageDataCrop {
|
|
1159
|
+
/** Left edge of the crop, as a fraction (0-1) of the original image width. */
|
|
1160
|
+
x?: number | null;
|
|
1161
|
+
/** Top edge of the crop, as a fraction (0-1) of the original image height. */
|
|
1162
|
+
y?: number | null;
|
|
1163
|
+
/** Visible width of the crop, as a fraction (0-1) of the original image width. */
|
|
1164
|
+
width?: number | null;
|
|
1165
|
+
/** Visible height of the crop, as a fraction (0-1) of the original image height. */
|
|
1166
|
+
height?: number | null;
|
|
1167
|
+
}
|
|
1156
1168
|
interface LinkPreviewData {
|
|
1157
1169
|
/** Styling for the link preview's container. */
|
|
1158
1170
|
containerData?: PluginContainerData;
|
|
@@ -2190,6 +2202,27 @@ declare enum ImagePosition {
|
|
|
2190
2202
|
}
|
|
2191
2203
|
/** @enumType */
|
|
2192
2204
|
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2205
|
+
/** Background styling (color or gradient) */
|
|
2206
|
+
interface LayoutDataBackground {
|
|
2207
|
+
/** Background type. */
|
|
2208
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2209
|
+
/**
|
|
2210
|
+
* Background color as a hexadecimal value.
|
|
2211
|
+
* @maxLength 19
|
|
2212
|
+
*/
|
|
2213
|
+
color?: string | null;
|
|
2214
|
+
/** Gradient configuration. */
|
|
2215
|
+
gradient?: Gradient;
|
|
2216
|
+
}
|
|
2217
|
+
/** Background type */
|
|
2218
|
+
declare enum LayoutDataBackgroundType {
|
|
2219
|
+
/** Solid color background */
|
|
2220
|
+
COLOR = "COLOR",
|
|
2221
|
+
/** Gradient background */
|
|
2222
|
+
GRADIENT = "GRADIENT"
|
|
2223
|
+
}
|
|
2224
|
+
/** @enumType */
|
|
2225
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2193
2226
|
declare enum Origin {
|
|
2194
2227
|
/** Banner originated from an image */
|
|
2195
2228
|
IMAGE = "IMAGE",
|
|
@@ -2206,15 +2239,6 @@ declare enum BannerPosition {
|
|
|
2206
2239
|
}
|
|
2207
2240
|
/** @enumType */
|
|
2208
2241
|
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
2209
|
-
/** Background type */
|
|
2210
|
-
declare enum LayoutDataBackgroundType {
|
|
2211
|
-
/** Solid color background */
|
|
2212
|
-
COLOR = "COLOR",
|
|
2213
|
-
/** Gradient background */
|
|
2214
|
-
GRADIENT = "GRADIENT"
|
|
2215
|
-
}
|
|
2216
|
-
/** @enumType */
|
|
2217
|
-
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2218
2242
|
/** Backdrop type */
|
|
2219
2243
|
declare enum BackdropType {
|
|
2220
2244
|
/** Solid color backdrop */
|
|
@@ -2227,12 +2251,19 @@ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
|
2227
2251
|
interface LayoutDataBackgroundImage {
|
|
2228
2252
|
/** Background image. */
|
|
2229
2253
|
media?: V1Media;
|
|
2230
|
-
/**
|
|
2254
|
+
/**
|
|
2255
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
|
|
2256
|
+
* @deprecated
|
|
2257
|
+
*/
|
|
2231
2258
|
opacity?: number | null;
|
|
2232
2259
|
/** Background image scaling. */
|
|
2233
2260
|
scaling?: ImageScalingScalingWithLiterals;
|
|
2234
2261
|
/** Position of background. Defaults to `CENTER`. */
|
|
2235
2262
|
position?: ImagePositionWithLiterals;
|
|
2263
|
+
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
|
|
2264
|
+
blur?: number | null;
|
|
2265
|
+
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */
|
|
2266
|
+
overlay?: LayoutDataBackground;
|
|
2236
2267
|
}
|
|
2237
2268
|
declare enum VerticalAlignmentAlignment {
|
|
2238
2269
|
/** Top alignment */
|
|
@@ -2266,18 +2297,6 @@ interface Banner {
|
|
|
2266
2297
|
/** Position of the banner */
|
|
2267
2298
|
position?: BannerPositionWithLiterals;
|
|
2268
2299
|
}
|
|
2269
|
-
/** Background styling (color or gradient) */
|
|
2270
|
-
interface LayoutDataBackground {
|
|
2271
|
-
/** Background type. */
|
|
2272
|
-
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2273
|
-
/**
|
|
2274
|
-
* Background color as a hexadecimal value.
|
|
2275
|
-
* @maxLength 19
|
|
2276
|
-
*/
|
|
2277
|
-
color?: string | null;
|
|
2278
|
-
/** Gradient configuration. */
|
|
2279
|
-
gradient?: Gradient;
|
|
2280
|
-
}
|
|
2281
2300
|
/** Backdrop styling (color or gradient) */
|
|
2282
2301
|
interface Backdrop {
|
|
2283
2302
|
/** Backdrop type. */
|
|
@@ -2349,15 +2368,6 @@ declare enum ImagePositionPosition {
|
|
|
2349
2368
|
}
|
|
2350
2369
|
/** @enumType */
|
|
2351
2370
|
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2352
|
-
/** Background type */
|
|
2353
|
-
declare enum CardDataBackgroundType {
|
|
2354
|
-
/** Solid color background */
|
|
2355
|
-
COLOR = "COLOR",
|
|
2356
|
-
/** Gradient background */
|
|
2357
|
-
GRADIENT = "GRADIENT"
|
|
2358
|
-
}
|
|
2359
|
-
/** @enumType */
|
|
2360
|
-
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2361
2371
|
/** Background styling (color or gradient) */
|
|
2362
2372
|
interface CardDataBackground {
|
|
2363
2373
|
/** Background type. */
|
|
@@ -2370,15 +2380,31 @@ interface CardDataBackground {
|
|
|
2370
2380
|
/** Gradient configuration. */
|
|
2371
2381
|
gradient?: Gradient;
|
|
2372
2382
|
}
|
|
2383
|
+
/** Background type */
|
|
2384
|
+
declare enum CardDataBackgroundType {
|
|
2385
|
+
/** Solid color background */
|
|
2386
|
+
COLOR = "COLOR",
|
|
2387
|
+
/** Gradient background */
|
|
2388
|
+
GRADIENT = "GRADIENT"
|
|
2389
|
+
}
|
|
2390
|
+
/** @enumType */
|
|
2391
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2373
2392
|
interface BackgroundImage {
|
|
2374
2393
|
/** Background image. */
|
|
2375
2394
|
media?: V1Media;
|
|
2376
|
-
/**
|
|
2395
|
+
/**
|
|
2396
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
|
|
2397
|
+
* @deprecated
|
|
2398
|
+
*/
|
|
2377
2399
|
opacity?: number | null;
|
|
2378
2400
|
/** Background image scaling. */
|
|
2379
2401
|
scaling?: ScalingWithLiterals;
|
|
2380
2402
|
/** Position of background. Defaults to `CENTER`. */
|
|
2381
2403
|
position?: ImagePositionPositionWithLiterals;
|
|
2404
|
+
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */
|
|
2405
|
+
overlay?: CardDataBackground;
|
|
2406
|
+
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
|
|
2407
|
+
blur?: number | null;
|
|
2382
2408
|
}
|
|
2383
2409
|
interface TocData {
|
|
2384
2410
|
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
@@ -2817,124 +2843,15 @@ interface PostUnlikedInitiatorOneOf {
|
|
|
2817
2843
|
*/
|
|
2818
2844
|
anonymousVisitorId?: string | null;
|
|
2819
2845
|
}
|
|
2820
|
-
|
|
2821
|
-
interface QueryPublicationsCountStatsRequest {
|
|
2822
|
-
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2823
|
-
rangeStart?: Date | null;
|
|
2824
|
-
/** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2825
|
-
rangeEnd?: Date | null;
|
|
2826
|
-
/** Order of the returned results. */
|
|
2827
|
-
order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
|
|
2828
|
-
/** Number of months to include in the response. */
|
|
2829
|
-
months?: number;
|
|
2830
|
-
/**
|
|
2831
|
-
* Language filter
|
|
2832
|
-
*
|
|
2833
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2834
|
-
* @format LANGUAGE_TAG
|
|
2835
|
-
*/
|
|
2836
|
-
language?: string | null;
|
|
2837
|
-
/**
|
|
2838
|
-
* Timezone of the client.
|
|
2839
|
-
* @minLength 3
|
|
2840
|
-
* @maxLength 100
|
|
2841
|
-
*/
|
|
2842
|
-
timeZone?: string | null;
|
|
2843
|
-
}
|
|
2844
|
-
declare enum QueryPublicationsCountStatsRequestOrder {
|
|
2845
|
-
UNKNOWN = "UNKNOWN",
|
|
2846
|
-
OLDEST = "OLDEST",
|
|
2847
|
-
NEWEST = "NEWEST"
|
|
2848
|
-
}
|
|
2849
|
-
/** @enumType */
|
|
2850
|
-
type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
2851
|
-
/** Get Blog Publications Count Stats response */
|
|
2852
|
-
interface QueryPublicationsCountStatsResponse {
|
|
2853
|
-
/** Chronologically ordered list of publications. */
|
|
2854
|
-
stats?: PeriodPublicationsCount[];
|
|
2855
|
-
}
|
|
2856
|
-
/** Publications count for a specific time period */
|
|
2857
|
-
interface PeriodPublicationsCount {
|
|
2858
|
-
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2859
|
-
periodStart?: Date | null;
|
|
2860
|
-
/** Number of posts published during this month. */
|
|
2861
|
-
publicationsCount?: number;
|
|
2862
|
-
}
|
|
2863
|
-
/** Get Blog Post Count Stats request */
|
|
2864
|
-
interface QueryPostCountStatsRequest {
|
|
2865
|
-
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2866
|
-
rangeStart?: Date | null;
|
|
2867
|
-
/**
|
|
2868
|
-
* Order of returned results.
|
|
2869
|
-
*
|
|
2870
|
-
* - `OLDEST`: posts by date in ascending order.
|
|
2871
|
-
* - `NEWEST`: posts by date in descending order.
|
|
2872
|
-
*
|
|
2873
|
-
* Default: `OLDEST`
|
|
2874
|
-
*/
|
|
2875
|
-
order?: OrderWithLiterals;
|
|
2876
|
-
/** Number of months to include in response. */
|
|
2877
|
-
months?: number;
|
|
2878
|
-
/**
|
|
2879
|
-
* Language filter.
|
|
2880
|
-
*
|
|
2881
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2882
|
-
* Pass a language to only receive the period post count for that specified language.
|
|
2883
|
-
* @format LANGUAGE_TAG
|
|
2884
|
-
*/
|
|
2885
|
-
language?: string | null;
|
|
2886
|
-
/**
|
|
2887
|
-
* Time zone to use when calculating the start of the month.
|
|
2888
|
-
*
|
|
2889
|
-
* [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
|
|
2890
|
-
* @minLength 3
|
|
2891
|
-
* @maxLength 100
|
|
2892
|
-
*/
|
|
2893
|
-
timeZone?: string | null;
|
|
2894
|
-
}
|
|
2895
|
-
declare enum Order {
|
|
2896
|
-
UNKNOWN = "UNKNOWN",
|
|
2897
|
-
OLDEST = "OLDEST",
|
|
2898
|
-
NEWEST = "NEWEST"
|
|
2899
|
-
}
|
|
2900
|
-
/** @enumType */
|
|
2901
|
-
type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
2902
|
-
/** Get Blog Post Count Stats response */
|
|
2903
|
-
interface QueryPostCountStatsResponse {
|
|
2904
|
-
/** List of published post counts by month. */
|
|
2905
|
-
stats?: PeriodPostCount[];
|
|
2906
|
-
}
|
|
2907
|
-
/** Post count for a specific time period */
|
|
2908
|
-
interface PeriodPostCount {
|
|
2909
|
-
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2910
|
-
periodStart?: Date | null;
|
|
2911
|
-
/** Number of posts published during this month. */
|
|
2912
|
-
postCount?: number;
|
|
2913
|
-
}
|
|
2914
|
-
interface GetTotalPublicationsRequest {
|
|
2915
|
-
/**
|
|
2916
|
-
* Language filter
|
|
2917
|
-
* @minLength 2
|
|
2918
|
-
* @format LANGUAGE_TAG
|
|
2919
|
-
*/
|
|
2920
|
-
language?: string | null;
|
|
2921
|
-
}
|
|
2922
|
-
interface GetTotalPublicationsResponse {
|
|
2923
|
-
/** Total amount of publications. */
|
|
2924
|
-
total?: number;
|
|
2925
|
-
}
|
|
2926
|
-
interface GetTotalPostsRequest {
|
|
2846
|
+
interface GetTotalLikesPerMemberRequest {
|
|
2927
2847
|
/**
|
|
2928
|
-
*
|
|
2929
|
-
*
|
|
2930
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2931
|
-
* Pass a language to receive the total amount of posts in that specified language.
|
|
2932
|
-
* @format LANGUAGE_TAG
|
|
2848
|
+
* Member ID.
|
|
2849
|
+
* @format GUID
|
|
2933
2850
|
*/
|
|
2934
|
-
|
|
2851
|
+
memberId?: string;
|
|
2935
2852
|
}
|
|
2936
|
-
interface
|
|
2937
|
-
/**
|
|
2853
|
+
interface GetTotalLikesPerMemberResponse {
|
|
2854
|
+
/** The total number of likes of the member. */
|
|
2938
2855
|
total?: number;
|
|
2939
2856
|
}
|
|
2940
2857
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -3090,27 +3007,324 @@ interface AccountInfo {
|
|
|
3090
3007
|
*/
|
|
3091
3008
|
siteId?: string | null;
|
|
3092
3009
|
}
|
|
3093
|
-
|
|
3010
|
+
/** Get Blog Publications Count Stats request */
|
|
3011
|
+
interface QueryPublicationsCountStatsRequest {
|
|
3012
|
+
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3013
|
+
rangeStart?: Date | null;
|
|
3014
|
+
/** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3015
|
+
rangeEnd?: Date | null;
|
|
3016
|
+
/** Order of the returned results. */
|
|
3017
|
+
order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
|
|
3018
|
+
/** Number of months to include in the response. */
|
|
3019
|
+
months?: number;
|
|
3094
3020
|
/**
|
|
3095
|
-
*
|
|
3096
|
-
*
|
|
3021
|
+
* Language filter
|
|
3022
|
+
*
|
|
3023
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3024
|
+
* @format LANGUAGE_TAG
|
|
3097
3025
|
*/
|
|
3098
|
-
|
|
3026
|
+
language?: string | null;
|
|
3027
|
+
/**
|
|
3028
|
+
* Timezone of the client.
|
|
3029
|
+
* @minLength 3
|
|
3030
|
+
* @maxLength 100
|
|
3031
|
+
*/
|
|
3032
|
+
timeZone?: string | null;
|
|
3099
3033
|
}
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3034
|
+
declare enum QueryPublicationsCountStatsRequestOrder {
|
|
3035
|
+
UNKNOWN = "UNKNOWN",
|
|
3036
|
+
OLDEST = "OLDEST",
|
|
3037
|
+
NEWEST = "NEWEST"
|
|
3103
3038
|
}
|
|
3104
|
-
|
|
3039
|
+
/** @enumType */
|
|
3040
|
+
type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
3041
|
+
/** Get Blog Publications Count Stats response */
|
|
3042
|
+
interface QueryPublicationsCountStatsResponse {
|
|
3043
|
+
/** Chronologically ordered list of publications. */
|
|
3044
|
+
stats?: PeriodPublicationsCount[];
|
|
3045
|
+
}
|
|
3046
|
+
/** Publications count for a specific time period */
|
|
3047
|
+
interface PeriodPublicationsCount {
|
|
3048
|
+
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3049
|
+
periodStart?: Date | null;
|
|
3050
|
+
/** Number of posts published during this month. */
|
|
3051
|
+
publicationsCount?: number;
|
|
3052
|
+
}
|
|
3053
|
+
/** Get Blog Post Count Stats request */
|
|
3054
|
+
interface QueryPostCountStatsRequest {
|
|
3055
|
+
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3056
|
+
rangeStart?: Date | null;
|
|
3105
3057
|
/**
|
|
3106
|
-
*
|
|
3107
|
-
*
|
|
3058
|
+
* Order of returned results.
|
|
3059
|
+
*
|
|
3060
|
+
* - `OLDEST`: posts by date in ascending order.
|
|
3061
|
+
* - `NEWEST`: posts by date in descending order.
|
|
3062
|
+
*
|
|
3063
|
+
* Default: `OLDEST`
|
|
3108
3064
|
*/
|
|
3109
|
-
|
|
3065
|
+
order?: OrderWithLiterals;
|
|
3066
|
+
/** Number of months to include in response. */
|
|
3067
|
+
months?: number;
|
|
3110
3068
|
/**
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3113
|
-
|
|
3069
|
+
* Language filter.
|
|
3070
|
+
*
|
|
3071
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3072
|
+
* Pass a language to only receive the period post count for that specified language.
|
|
3073
|
+
* @format LANGUAGE_TAG
|
|
3074
|
+
*/
|
|
3075
|
+
language?: string | null;
|
|
3076
|
+
/**
|
|
3077
|
+
* Time zone to use when calculating the start of the month.
|
|
3078
|
+
*
|
|
3079
|
+
* [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
|
|
3080
|
+
* @minLength 3
|
|
3081
|
+
* @maxLength 100
|
|
3082
|
+
*/
|
|
3083
|
+
timeZone?: string | null;
|
|
3084
|
+
}
|
|
3085
|
+
declare enum Order {
|
|
3086
|
+
UNKNOWN = "UNKNOWN",
|
|
3087
|
+
OLDEST = "OLDEST",
|
|
3088
|
+
NEWEST = "NEWEST"
|
|
3089
|
+
}
|
|
3090
|
+
/** @enumType */
|
|
3091
|
+
type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
3092
|
+
/** Get Blog Post Count Stats response */
|
|
3093
|
+
interface QueryPostCountStatsResponse {
|
|
3094
|
+
/** List of published post counts by month. */
|
|
3095
|
+
stats?: PeriodPostCount[];
|
|
3096
|
+
}
|
|
3097
|
+
/** Post count for a specific time period */
|
|
3098
|
+
interface PeriodPostCount {
|
|
3099
|
+
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3100
|
+
periodStart?: Date | null;
|
|
3101
|
+
/** Number of posts published during this month. */
|
|
3102
|
+
postCount?: number;
|
|
3103
|
+
}
|
|
3104
|
+
interface GetTotalPublicationsRequest {
|
|
3105
|
+
/**
|
|
3106
|
+
* Language filter
|
|
3107
|
+
* @minLength 2
|
|
3108
|
+
* @format LANGUAGE_TAG
|
|
3109
|
+
*/
|
|
3110
|
+
language?: string | null;
|
|
3111
|
+
}
|
|
3112
|
+
interface GetTotalPublicationsResponse {
|
|
3113
|
+
/** Total amount of publications. */
|
|
3114
|
+
total?: number;
|
|
3115
|
+
}
|
|
3116
|
+
interface GetTotalPostsRequest {
|
|
3117
|
+
/**
|
|
3118
|
+
* Language filter.
|
|
3119
|
+
*
|
|
3120
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3121
|
+
* Pass a language to receive the total amount of posts in that specified language.
|
|
3122
|
+
* @format LANGUAGE_TAG
|
|
3123
|
+
*/
|
|
3124
|
+
language?: string | null;
|
|
3125
|
+
}
|
|
3126
|
+
interface GetTotalPostsResponse {
|
|
3127
|
+
/** Total amount of published posts. */
|
|
3128
|
+
total?: number;
|
|
3129
|
+
}
|
|
3130
|
+
interface ListDemoPostsRequest {
|
|
3131
|
+
/**
|
|
3132
|
+
* Whether to return only featured posts.
|
|
3133
|
+
*
|
|
3134
|
+
* Default: `false`
|
|
3135
|
+
*/
|
|
3136
|
+
featured?: boolean;
|
|
3137
|
+
/**
|
|
3138
|
+
* Hashtag filter.
|
|
3139
|
+
*
|
|
3140
|
+
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3141
|
+
* If omitted, all posts with or without hashtags are returned.
|
|
3142
|
+
* @maxSize 100
|
|
3143
|
+
* @maxLength 100
|
|
3144
|
+
*/
|
|
3145
|
+
hashtags?: string[];
|
|
3146
|
+
/**
|
|
3147
|
+
* Category filter.
|
|
3148
|
+
*
|
|
3149
|
+
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3150
|
+
* If omitted, all posts with or without associated categories are returned.
|
|
3151
|
+
* @maxSize 50
|
|
3152
|
+
* @format GUID
|
|
3153
|
+
*/
|
|
3154
|
+
categoryIds?: string[];
|
|
3155
|
+
/**
|
|
3156
|
+
* Tag filter.
|
|
3157
|
+
*
|
|
3158
|
+
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3159
|
+
* If omitted, all posts with or without tags are returned.
|
|
3160
|
+
* @maxSize 50
|
|
3161
|
+
* @format GUID
|
|
3162
|
+
*/
|
|
3163
|
+
tagIds?: string[];
|
|
3164
|
+
/**
|
|
3165
|
+
* Sorting options.
|
|
3166
|
+
*
|
|
3167
|
+
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3168
|
+
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3169
|
+
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3170
|
+
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3171
|
+
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3172
|
+
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3173
|
+
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3174
|
+
* - `RATING`: reserved for internal use.
|
|
3175
|
+
*
|
|
3176
|
+
* Default: `FEED`
|
|
3177
|
+
*/
|
|
3178
|
+
sort?: GetPostsSortWithLiterals;
|
|
3179
|
+
/** Pagination options. */
|
|
3180
|
+
paging?: BlogPaging;
|
|
3181
|
+
/**
|
|
3182
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
3183
|
+
* This parameter will be removed on June 30, 2023.
|
|
3184
|
+
*
|
|
3185
|
+
* List of post fields to be included in the response.
|
|
3186
|
+
* @maxSize 20
|
|
3187
|
+
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3188
|
+
* This parameter will be removed on June 30, 2023.
|
|
3189
|
+
*
|
|
3190
|
+
* List of post fields to be included in the response.
|
|
3191
|
+
* @replacedBy fieldsets
|
|
3192
|
+
* @targetRemovalDate 2024-06-30
|
|
3193
|
+
*/
|
|
3194
|
+
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3195
|
+
/**
|
|
3196
|
+
* Language filter.
|
|
3197
|
+
*
|
|
3198
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3199
|
+
* Pass a language to only receive posts that are in that language.
|
|
3200
|
+
* If omitted, posts in all languages are returned.
|
|
3201
|
+
* @format LANGUAGE_TAG
|
|
3202
|
+
*/
|
|
3203
|
+
language?: string | null;
|
|
3204
|
+
/**
|
|
3205
|
+
* Post owner's member ID.
|
|
3206
|
+
* @format GUID
|
|
3207
|
+
*/
|
|
3208
|
+
memberId?: string | null;
|
|
3209
|
+
/**
|
|
3210
|
+
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3211
|
+
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3212
|
+
* only the post’s base fields are returned.
|
|
3213
|
+
* @maxSize 20
|
|
3214
|
+
*/
|
|
3215
|
+
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3216
|
+
}
|
|
3217
|
+
declare enum GetPostsSort {
|
|
3218
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3219
|
+
FEED = "FEED",
|
|
3220
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3221
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3222
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3223
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3224
|
+
/** Ordered by total number of views in descending order. */
|
|
3225
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3226
|
+
/** Ordered by total number of likes in descending order. */
|
|
3227
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3228
|
+
/** Ordered by `title` in ascending order. */
|
|
3229
|
+
TITLE_ASC = "TITLE_ASC",
|
|
3230
|
+
/** Ordered by `title` in descending order. */
|
|
3231
|
+
TITLE_DESC = "TITLE_DESC"
|
|
3232
|
+
}
|
|
3233
|
+
/** @enumType */
|
|
3234
|
+
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3235
|
+
interface BlogPaging {
|
|
3236
|
+
/**
|
|
3237
|
+
* Number of items to skip in the current sort order.
|
|
3238
|
+
*
|
|
3239
|
+
*
|
|
3240
|
+
* Default: `0`
|
|
3241
|
+
*/
|
|
3242
|
+
offset?: number;
|
|
3243
|
+
/**
|
|
3244
|
+
* Number of items to return.
|
|
3245
|
+
*
|
|
3246
|
+
*
|
|
3247
|
+
* Default:`50`
|
|
3248
|
+
* @min 1
|
|
3249
|
+
* @max 100
|
|
3250
|
+
*/
|
|
3251
|
+
limit?: number;
|
|
3252
|
+
/**
|
|
3253
|
+
* Pointer to the next or previous page in the list of results.
|
|
3254
|
+
* @maxLength 2000
|
|
3255
|
+
*/
|
|
3256
|
+
cursor?: string | null;
|
|
3257
|
+
}
|
|
3258
|
+
declare enum PostFieldField {
|
|
3259
|
+
UNKNOWN = "UNKNOWN",
|
|
3260
|
+
/** Includes post URL when present. */
|
|
3261
|
+
URL = "URL",
|
|
3262
|
+
/** Includes post content text string when present. */
|
|
3263
|
+
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3264
|
+
/** Includes post metrics when present. */
|
|
3265
|
+
METRICS = "METRICS",
|
|
3266
|
+
/** Includes SEO data. */
|
|
3267
|
+
SEO = "SEO",
|
|
3268
|
+
/** Includes post owner's contact ID. */
|
|
3269
|
+
CONTACT_ID = "CONTACT_ID",
|
|
3270
|
+
/** Includes post rich content. */
|
|
3271
|
+
RICH_CONTENT = "RICH_CONTENT",
|
|
3272
|
+
/** Includes post reference ID field. */
|
|
3273
|
+
REFERENCE_ID = "REFERENCE_ID"
|
|
3274
|
+
}
|
|
3275
|
+
/** @enumType */
|
|
3276
|
+
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3277
|
+
interface ListDemoPostsResponse {
|
|
3278
|
+
/** List of posts. */
|
|
3279
|
+
posts?: Post[];
|
|
3280
|
+
/** Details on the paged set of results returned. */
|
|
3281
|
+
metaData?: MetaData;
|
|
3282
|
+
}
|
|
3283
|
+
interface MetaData {
|
|
3284
|
+
/** Number of items returned in this response. */
|
|
3285
|
+
count?: number;
|
|
3286
|
+
/** Requested offset. */
|
|
3287
|
+
offset?: number;
|
|
3288
|
+
/** Total number of items that match the query. */
|
|
3289
|
+
total?: number;
|
|
3290
|
+
/**
|
|
3291
|
+
* Pointer to the next or previous page in the list of results.
|
|
3292
|
+
* @maxLength 2000
|
|
3293
|
+
*/
|
|
3294
|
+
cursor?: string | null;
|
|
3295
|
+
}
|
|
3296
|
+
interface ConvertDraftJsToRichContentRequest {
|
|
3297
|
+
/** DraftJs content to convert to Rich content. */
|
|
3298
|
+
content?: Record<string, any> | null;
|
|
3299
|
+
}
|
|
3300
|
+
interface ConvertDraftJsToRichContentResponse {
|
|
3301
|
+
/**
|
|
3302
|
+
* Rich content converted from DraftJs content.
|
|
3303
|
+
* @maxLength 2000000
|
|
3304
|
+
*/
|
|
3305
|
+
richContent?: string;
|
|
3306
|
+
}
|
|
3307
|
+
interface ConvertRichContentToDraftJsRequest {
|
|
3308
|
+
/**
|
|
3309
|
+
* Rich content to convert to DraftJs content.
|
|
3310
|
+
* @maxLength 2000000
|
|
3311
|
+
*/
|
|
3312
|
+
richContent?: string;
|
|
3313
|
+
}
|
|
3314
|
+
interface ConvertRichContentToDraftJsResponse {
|
|
3315
|
+
/** DraftJs content converted from Rich content. */
|
|
3316
|
+
content?: Record<string, any> | null;
|
|
3317
|
+
}
|
|
3318
|
+
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
3319
|
+
/**
|
|
3320
|
+
* Member ID of person who triggered the counter update
|
|
3321
|
+
* @format GUID
|
|
3322
|
+
*/
|
|
3323
|
+
memberId?: string | null;
|
|
3324
|
+
/**
|
|
3325
|
+
* Visitor ID if person that liked the post is not logged in
|
|
3326
|
+
* @format GUID
|
|
3327
|
+
*/
|
|
3114
3328
|
anonymousVisitorId?: string | null;
|
|
3115
3329
|
/**
|
|
3116
3330
|
* ID of the post which counters were updated.
|
|
@@ -3170,25 +3384,6 @@ interface GetPostRequest {
|
|
|
3170
3384
|
*/
|
|
3171
3385
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3172
3386
|
}
|
|
3173
|
-
declare enum PostFieldField {
|
|
3174
|
-
UNKNOWN = "UNKNOWN",
|
|
3175
|
-
/** Includes post URL when present. */
|
|
3176
|
-
URL = "URL",
|
|
3177
|
-
/** Includes post content text string when present. */
|
|
3178
|
-
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3179
|
-
/** Includes post metrics when present. */
|
|
3180
|
-
METRICS = "METRICS",
|
|
3181
|
-
/** Includes SEO data. */
|
|
3182
|
-
SEO = "SEO",
|
|
3183
|
-
/** Includes post owner's contact ID. */
|
|
3184
|
-
CONTACT_ID = "CONTACT_ID",
|
|
3185
|
-
/** Includes post rich content. */
|
|
3186
|
-
RICH_CONTENT = "RICH_CONTENT",
|
|
3187
|
-
/** Includes post reference ID field. */
|
|
3188
|
-
REFERENCE_ID = "REFERENCE_ID"
|
|
3189
|
-
}
|
|
3190
|
-
/** @enumType */
|
|
3191
|
-
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3192
3387
|
interface GetPostResponse {
|
|
3193
3388
|
/** Retrieved post info. */
|
|
3194
3389
|
post?: Post;
|
|
@@ -3281,66 +3476,12 @@ interface ListPostsRequest {
|
|
|
3281
3476
|
*/
|
|
3282
3477
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3283
3478
|
}
|
|
3284
|
-
declare enum GetPostsSort {
|
|
3285
|
-
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3286
|
-
FEED = "FEED",
|
|
3287
|
-
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3288
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3289
|
-
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3290
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3291
|
-
/** Ordered by total number of views in descending order. */
|
|
3292
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3293
|
-
/** Ordered by total number of likes in descending order. */
|
|
3294
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3295
|
-
/** Ordered by `title` in ascending order. */
|
|
3296
|
-
TITLE_ASC = "TITLE_ASC",
|
|
3297
|
-
/** Ordered by `title` in descending order. */
|
|
3298
|
-
TITLE_DESC = "TITLE_DESC"
|
|
3299
|
-
}
|
|
3300
|
-
/** @enumType */
|
|
3301
|
-
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3302
|
-
interface BlogPaging {
|
|
3303
|
-
/**
|
|
3304
|
-
* Number of items to skip in the current sort order.
|
|
3305
|
-
*
|
|
3306
|
-
*
|
|
3307
|
-
* Default: `0`
|
|
3308
|
-
*/
|
|
3309
|
-
offset?: number;
|
|
3310
|
-
/**
|
|
3311
|
-
* Number of items to return.
|
|
3312
|
-
*
|
|
3313
|
-
*
|
|
3314
|
-
* Default:`50`
|
|
3315
|
-
* @min 1
|
|
3316
|
-
* @max 100
|
|
3317
|
-
*/
|
|
3318
|
-
limit?: number;
|
|
3319
|
-
/**
|
|
3320
|
-
* Pointer to the next or previous page in the list of results.
|
|
3321
|
-
* @maxLength 2000
|
|
3322
|
-
*/
|
|
3323
|
-
cursor?: string | null;
|
|
3324
|
-
}
|
|
3325
3479
|
interface ListPostsResponse {
|
|
3326
3480
|
/** List of retrieved posts. */
|
|
3327
3481
|
posts?: Post[];
|
|
3328
3482
|
/** Details on the paged set of results returned. */
|
|
3329
3483
|
metaData?: MetaData;
|
|
3330
3484
|
}
|
|
3331
|
-
interface MetaData {
|
|
3332
|
-
/** Number of items returned in this response. */
|
|
3333
|
-
count?: number;
|
|
3334
|
-
/** Requested offset. */
|
|
3335
|
-
offset?: number;
|
|
3336
|
-
/** Total number of items that match the query. */
|
|
3337
|
-
total?: number;
|
|
3338
|
-
/**
|
|
3339
|
-
* Pointer to the next or previous page in the list of results.
|
|
3340
|
-
* @maxLength 2000
|
|
3341
|
-
*/
|
|
3342
|
-
cursor?: string | null;
|
|
3343
|
-
}
|
|
3344
3485
|
interface QueryPostsRequest {
|
|
3345
3486
|
/** Query options. */
|
|
3346
3487
|
query?: PlatformQuery;
|
|
@@ -3684,121 +3825,6 @@ interface PostCount {
|
|
|
3684
3825
|
/** Number of posts. */
|
|
3685
3826
|
postCount?: number;
|
|
3686
3827
|
}
|
|
3687
|
-
interface ListDemoPostsRequest {
|
|
3688
|
-
/**
|
|
3689
|
-
* Whether to return only featured posts.
|
|
3690
|
-
*
|
|
3691
|
-
* Default: `false`
|
|
3692
|
-
*/
|
|
3693
|
-
featured?: boolean;
|
|
3694
|
-
/**
|
|
3695
|
-
* Hashtag filter.
|
|
3696
|
-
*
|
|
3697
|
-
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3698
|
-
* If omitted, all posts with or without hashtags are returned.
|
|
3699
|
-
* @maxSize 100
|
|
3700
|
-
* @maxLength 100
|
|
3701
|
-
*/
|
|
3702
|
-
hashtags?: string[];
|
|
3703
|
-
/**
|
|
3704
|
-
* Category filter.
|
|
3705
|
-
*
|
|
3706
|
-
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3707
|
-
* If omitted, all posts with or without associated categories are returned.
|
|
3708
|
-
* @maxSize 50
|
|
3709
|
-
* @format GUID
|
|
3710
|
-
*/
|
|
3711
|
-
categoryIds?: string[];
|
|
3712
|
-
/**
|
|
3713
|
-
* Tag filter.
|
|
3714
|
-
*
|
|
3715
|
-
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3716
|
-
* If omitted, all posts with or without tags are returned.
|
|
3717
|
-
* @maxSize 50
|
|
3718
|
-
* @format GUID
|
|
3719
|
-
*/
|
|
3720
|
-
tagIds?: string[];
|
|
3721
|
-
/**
|
|
3722
|
-
* Sorting options.
|
|
3723
|
-
*
|
|
3724
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3725
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3726
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3727
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3728
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3729
|
-
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3730
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3731
|
-
* - `RATING`: reserved for internal use.
|
|
3732
|
-
*
|
|
3733
|
-
* Default: `FEED`
|
|
3734
|
-
*/
|
|
3735
|
-
sort?: GetPostsSortWithLiterals;
|
|
3736
|
-
/** Pagination options. */
|
|
3737
|
-
paging?: BlogPaging;
|
|
3738
|
-
/**
|
|
3739
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
3740
|
-
* This parameter will be removed on June 30, 2023.
|
|
3741
|
-
*
|
|
3742
|
-
* List of post fields to be included in the response.
|
|
3743
|
-
* @maxSize 20
|
|
3744
|
-
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3745
|
-
* This parameter will be removed on June 30, 2023.
|
|
3746
|
-
*
|
|
3747
|
-
* List of post fields to be included in the response.
|
|
3748
|
-
* @replacedBy fieldsets
|
|
3749
|
-
* @targetRemovalDate 2024-06-30
|
|
3750
|
-
*/
|
|
3751
|
-
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3752
|
-
/**
|
|
3753
|
-
* Language filter.
|
|
3754
|
-
*
|
|
3755
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3756
|
-
* Pass a language to only receive posts that are in that language.
|
|
3757
|
-
* If omitted, posts in all languages are returned.
|
|
3758
|
-
* @format LANGUAGE_TAG
|
|
3759
|
-
*/
|
|
3760
|
-
language?: string | null;
|
|
3761
|
-
/**
|
|
3762
|
-
* Post owner's member ID.
|
|
3763
|
-
* @format GUID
|
|
3764
|
-
*/
|
|
3765
|
-
memberId?: string | null;
|
|
3766
|
-
/**
|
|
3767
|
-
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3768
|
-
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3769
|
-
* only the post’s base fields are returned.
|
|
3770
|
-
* @maxSize 20
|
|
3771
|
-
*/
|
|
3772
|
-
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3773
|
-
}
|
|
3774
|
-
interface ListDemoPostsResponse {
|
|
3775
|
-
/** List of posts. */
|
|
3776
|
-
posts?: Post[];
|
|
3777
|
-
/** Details on the paged set of results returned. */
|
|
3778
|
-
metaData?: MetaData;
|
|
3779
|
-
}
|
|
3780
|
-
interface ConvertDraftJsToRichContentRequest {
|
|
3781
|
-
/** DraftJs content to convert to Rich content. */
|
|
3782
|
-
content?: Record<string, any> | null;
|
|
3783
|
-
}
|
|
3784
|
-
interface ConvertDraftJsToRichContentResponse {
|
|
3785
|
-
/**
|
|
3786
|
-
* Rich content converted from DraftJs content.
|
|
3787
|
-
* @maxLength 2000000
|
|
3788
|
-
*/
|
|
3789
|
-
richContent?: string;
|
|
3790
|
-
}
|
|
3791
|
-
interface ConvertRichContentToDraftJsRequest {
|
|
3792
|
-
/**
|
|
3793
|
-
* Rich content to convert to DraftJs content.
|
|
3794
|
-
* @maxLength 2000000
|
|
3795
|
-
*/
|
|
3796
|
-
richContent?: string;
|
|
3797
|
-
}
|
|
3798
|
-
interface ConvertRichContentToDraftJsResponse {
|
|
3799
|
-
/** DraftJs content converted from Rich content. */
|
|
3800
|
-
content?: Record<string, any> | null;
|
|
3801
|
-
}
|
|
3802
3828
|
interface BaseEventMetadata {
|
|
3803
3829
|
/**
|
|
3804
3830
|
* App instance ID.
|
|
@@ -3946,13 +3972,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
3946
3972
|
/**
|
|
3947
3973
|
* Retrieves the number of published posts per month within a specified time range.
|
|
3948
3974
|
*
|
|
3949
|
-
*
|
|
3950
|
-
* The
|
|
3951
|
-
*
|
|
3952
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
3953
|
-
*
|
|
3954
|
-
*
|
|
3975
|
+
*
|
|
3976
|
+
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
3977
|
+
*
|
|
3978
|
+
* 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.
|
|
3979
|
+
*
|
|
3980
|
+
* >**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.
|
|
3955
3981
|
* @public
|
|
3982
|
+
* @param options - Options specifying time frame, sort, and filter.
|
|
3956
3983
|
* @permissionId BLOG.READ-PUBLICATION
|
|
3957
3984
|
* @applicableIdentity APP
|
|
3958
3985
|
* @returns Get Blog Post Count Stats response
|
|
@@ -3993,6 +4020,7 @@ interface QueryPostCountStatsOptions {
|
|
|
3993
4020
|
/**
|
|
3994
4021
|
* Retrieves the total amount of published posts of the blog.
|
|
3995
4022
|
* @public
|
|
4023
|
+
* @param options - Language Options.
|
|
3996
4024
|
* @permissionId BLOG.READ-PUBLICATION
|
|
3997
4025
|
* @applicableIdentity APP
|
|
3998
4026
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4013,12 +4041,12 @@ interface GetTotalPostsOptions {
|
|
|
4013
4041
|
* @param postId - Post ID.
|
|
4014
4042
|
* @public
|
|
4015
4043
|
* @requiredField postId
|
|
4044
|
+
* @param options - Options specifying which fields to return.
|
|
4016
4045
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4017
4046
|
* @applicableIdentity APP
|
|
4018
|
-
* @returns Retrieved post info.
|
|
4019
4047
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4020
4048
|
*/
|
|
4021
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4049
|
+
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`, 7>>;
|
|
4022
4050
|
interface GetPostOptions {
|
|
4023
4051
|
/**
|
|
4024
4052
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4038,6 +4066,7 @@ interface GetPostOptions {
|
|
|
4038
4066
|
* @param slug - Slug of the post to retrieve.
|
|
4039
4067
|
* @public
|
|
4040
4068
|
* @requiredField slug
|
|
4069
|
+
* @param options - Options specifying which fields to return.
|
|
4041
4070
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4042
4071
|
* @applicableIdentity APP
|
|
4043
4072
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4065,6 +4094,7 @@ interface GetPostBySlugOptions {
|
|
|
4065
4094
|
* - `paging.limit` is `50`.
|
|
4066
4095
|
* - `paging.offset` is `0`.
|
|
4067
4096
|
* @public
|
|
4097
|
+
* @param options - Sort, filter, and paging options.
|
|
4068
4098
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4069
4099
|
* @applicableIdentity APP
|
|
4070
4100
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4135,18 +4165,26 @@ interface ListPostsOptions {
|
|
|
4135
4165
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4136
4166
|
}
|
|
4137
4167
|
/**
|
|
4138
|
-
*
|
|
4168
|
+
* Creates a query to retrieve a list of posts.
|
|
4139
4169
|
*
|
|
4140
|
-
* Query Posts runs with these defaults, which you can override:
|
|
4141
|
-
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4142
|
-
* - `paging.limit` is `50`.
|
|
4143
|
-
* - `paging.offset` is `0`.
|
|
4144
4170
|
*
|
|
4145
|
-
*
|
|
4146
|
-
*
|
|
4147
|
-
*
|
|
4148
|
-
*
|
|
4171
|
+
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4172
|
+
*
|
|
4173
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
4174
|
+
*
|
|
4175
|
+
* 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.
|
|
4176
|
+
*
|
|
4177
|
+
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4178
|
+
* + `limit(50)`
|
|
4179
|
+
* + `descending('firstPublishedDate')`
|
|
4180
|
+
*
|
|
4181
|
+
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4182
|
+
*
|
|
4183
|
+
* To learn how to query posts, refer to the table below.
|
|
4184
|
+
*
|
|
4185
|
+
* 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`.
|
|
4149
4186
|
* @public
|
|
4187
|
+
* @param options - Options specifying which fields to return.
|
|
4150
4188
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4151
4189
|
* @applicableIdentity APP
|
|
4152
4190
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4412,4 +4450,4 @@ declare const utils: {
|
|
|
4412
4450
|
*/
|
|
4413
4451
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4414
4452
|
|
|
4415
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, 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, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, 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 DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type 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 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, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, 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 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 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 SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
|
|
4453
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, 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, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, 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 DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type 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, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, 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 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 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 SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
|