@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
|
@@ -1144,6 +1144,8 @@ interface ImageData {
|
|
|
1144
1144
|
decorative?: boolean | null;
|
|
1145
1145
|
/** Styling for the image. */
|
|
1146
1146
|
styles?: ImageDataStyles;
|
|
1147
|
+
/** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
|
|
1148
|
+
crop?: ImageDataCrop;
|
|
1147
1149
|
}
|
|
1148
1150
|
interface StylesBorder {
|
|
1149
1151
|
/** Border width in pixels. */
|
|
@@ -1160,6 +1162,16 @@ interface ImageDataStyles {
|
|
|
1160
1162
|
/** Border attributes. */
|
|
1161
1163
|
border?: StylesBorder;
|
|
1162
1164
|
}
|
|
1165
|
+
interface ImageDataCrop {
|
|
1166
|
+
/** Left edge of the crop, as a fraction (0-1) of the original image width. */
|
|
1167
|
+
x?: number | null;
|
|
1168
|
+
/** Top edge of the crop, as a fraction (0-1) of the original image height. */
|
|
1169
|
+
y?: number | null;
|
|
1170
|
+
/** Visible width of the crop, as a fraction (0-1) of the original image width. */
|
|
1171
|
+
width?: number | null;
|
|
1172
|
+
/** Visible height of the crop, as a fraction (0-1) of the original image height. */
|
|
1173
|
+
height?: number | null;
|
|
1174
|
+
}
|
|
1163
1175
|
interface LinkPreviewData {
|
|
1164
1176
|
/** Styling for the link preview's container. */
|
|
1165
1177
|
containerData?: PluginContainerData;
|
|
@@ -2197,6 +2209,27 @@ declare enum ImagePosition {
|
|
|
2197
2209
|
}
|
|
2198
2210
|
/** @enumType */
|
|
2199
2211
|
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2212
|
+
/** Background styling (color or gradient) */
|
|
2213
|
+
interface LayoutDataBackground {
|
|
2214
|
+
/** Background type. */
|
|
2215
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2216
|
+
/**
|
|
2217
|
+
* Background color as a hexadecimal value.
|
|
2218
|
+
* @maxLength 19
|
|
2219
|
+
*/
|
|
2220
|
+
color?: string | null;
|
|
2221
|
+
/** Gradient configuration. */
|
|
2222
|
+
gradient?: Gradient;
|
|
2223
|
+
}
|
|
2224
|
+
/** Background type */
|
|
2225
|
+
declare enum LayoutDataBackgroundType {
|
|
2226
|
+
/** Solid color background */
|
|
2227
|
+
COLOR = "COLOR",
|
|
2228
|
+
/** Gradient background */
|
|
2229
|
+
GRADIENT = "GRADIENT"
|
|
2230
|
+
}
|
|
2231
|
+
/** @enumType */
|
|
2232
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2200
2233
|
declare enum Origin {
|
|
2201
2234
|
/** Banner originated from an image */
|
|
2202
2235
|
IMAGE = "IMAGE",
|
|
@@ -2213,15 +2246,6 @@ declare enum BannerPosition {
|
|
|
2213
2246
|
}
|
|
2214
2247
|
/** @enumType */
|
|
2215
2248
|
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
2216
|
-
/** Background type */
|
|
2217
|
-
declare enum LayoutDataBackgroundType {
|
|
2218
|
-
/** Solid color background */
|
|
2219
|
-
COLOR = "COLOR",
|
|
2220
|
-
/** Gradient background */
|
|
2221
|
-
GRADIENT = "GRADIENT"
|
|
2222
|
-
}
|
|
2223
|
-
/** @enumType */
|
|
2224
|
-
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2225
2249
|
/** Backdrop type */
|
|
2226
2250
|
declare enum BackdropType {
|
|
2227
2251
|
/** Solid color backdrop */
|
|
@@ -2234,12 +2258,19 @@ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
|
2234
2258
|
interface LayoutDataBackgroundImage {
|
|
2235
2259
|
/** Background image. */
|
|
2236
2260
|
media?: V1Media;
|
|
2237
|
-
/**
|
|
2261
|
+
/**
|
|
2262
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
|
|
2263
|
+
* @deprecated
|
|
2264
|
+
*/
|
|
2238
2265
|
opacity?: number | null;
|
|
2239
2266
|
/** Background image scaling. */
|
|
2240
2267
|
scaling?: ImageScalingScalingWithLiterals;
|
|
2241
2268
|
/** Position of background. Defaults to `CENTER`. */
|
|
2242
2269
|
position?: ImagePositionWithLiterals;
|
|
2270
|
+
/** 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. */
|
|
2271
|
+
blur?: number | null;
|
|
2272
|
+
/** 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`). */
|
|
2273
|
+
overlay?: LayoutDataBackground;
|
|
2243
2274
|
}
|
|
2244
2275
|
declare enum VerticalAlignmentAlignment {
|
|
2245
2276
|
/** Top alignment */
|
|
@@ -2273,18 +2304,6 @@ interface Banner {
|
|
|
2273
2304
|
/** Position of the banner */
|
|
2274
2305
|
position?: BannerPositionWithLiterals;
|
|
2275
2306
|
}
|
|
2276
|
-
/** Background styling (color or gradient) */
|
|
2277
|
-
interface LayoutDataBackground {
|
|
2278
|
-
/** Background type. */
|
|
2279
|
-
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2280
|
-
/**
|
|
2281
|
-
* Background color as a hexadecimal value.
|
|
2282
|
-
* @maxLength 19
|
|
2283
|
-
*/
|
|
2284
|
-
color?: string | null;
|
|
2285
|
-
/** Gradient configuration. */
|
|
2286
|
-
gradient?: Gradient;
|
|
2287
|
-
}
|
|
2288
2307
|
/** Backdrop styling (color or gradient) */
|
|
2289
2308
|
interface Backdrop {
|
|
2290
2309
|
/** Backdrop type. */
|
|
@@ -2356,15 +2375,6 @@ declare enum ImagePositionPosition {
|
|
|
2356
2375
|
}
|
|
2357
2376
|
/** @enumType */
|
|
2358
2377
|
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2359
|
-
/** Background type */
|
|
2360
|
-
declare enum CardDataBackgroundType {
|
|
2361
|
-
/** Solid color background */
|
|
2362
|
-
COLOR = "COLOR",
|
|
2363
|
-
/** Gradient background */
|
|
2364
|
-
GRADIENT = "GRADIENT"
|
|
2365
|
-
}
|
|
2366
|
-
/** @enumType */
|
|
2367
|
-
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2368
2378
|
/** Background styling (color or gradient) */
|
|
2369
2379
|
interface CardDataBackground {
|
|
2370
2380
|
/** Background type. */
|
|
@@ -2377,15 +2387,31 @@ interface CardDataBackground {
|
|
|
2377
2387
|
/** Gradient configuration. */
|
|
2378
2388
|
gradient?: Gradient;
|
|
2379
2389
|
}
|
|
2390
|
+
/** Background type */
|
|
2391
|
+
declare enum CardDataBackgroundType {
|
|
2392
|
+
/** Solid color background */
|
|
2393
|
+
COLOR = "COLOR",
|
|
2394
|
+
/** Gradient background */
|
|
2395
|
+
GRADIENT = "GRADIENT"
|
|
2396
|
+
}
|
|
2397
|
+
/** @enumType */
|
|
2398
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2380
2399
|
interface BackgroundImage {
|
|
2381
2400
|
/** Background image. */
|
|
2382
2401
|
media?: V1Media;
|
|
2383
|
-
/**
|
|
2402
|
+
/**
|
|
2403
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
|
|
2404
|
+
* @deprecated
|
|
2405
|
+
*/
|
|
2384
2406
|
opacity?: number | null;
|
|
2385
2407
|
/** Background image scaling. */
|
|
2386
2408
|
scaling?: ScalingWithLiterals;
|
|
2387
2409
|
/** Position of background. Defaults to `CENTER`. */
|
|
2388
2410
|
position?: ImagePositionPositionWithLiterals;
|
|
2411
|
+
/** 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`). */
|
|
2412
|
+
overlay?: CardDataBackground;
|
|
2413
|
+
/** 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. */
|
|
2414
|
+
blur?: number | null;
|
|
2389
2415
|
}
|
|
2390
2416
|
interface TocData {
|
|
2391
2417
|
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
@@ -2824,124 +2850,15 @@ interface PostUnlikedInitiatorOneOf {
|
|
|
2824
2850
|
*/
|
|
2825
2851
|
anonymousVisitorId?: string | null;
|
|
2826
2852
|
}
|
|
2827
|
-
|
|
2828
|
-
interface QueryPublicationsCountStatsRequest {
|
|
2829
|
-
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2830
|
-
rangeStart?: Date | null;
|
|
2831
|
-
/** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2832
|
-
rangeEnd?: Date | null;
|
|
2833
|
-
/** Order of the returned results. */
|
|
2834
|
-
order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
|
|
2835
|
-
/** Number of months to include in the response. */
|
|
2836
|
-
months?: number;
|
|
2837
|
-
/**
|
|
2838
|
-
* Language filter
|
|
2839
|
-
*
|
|
2840
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2841
|
-
* @format LANGUAGE_TAG
|
|
2842
|
-
*/
|
|
2843
|
-
language?: string | null;
|
|
2844
|
-
/**
|
|
2845
|
-
* Timezone of the client.
|
|
2846
|
-
* @minLength 3
|
|
2847
|
-
* @maxLength 100
|
|
2848
|
-
*/
|
|
2849
|
-
timeZone?: string | null;
|
|
2850
|
-
}
|
|
2851
|
-
declare enum QueryPublicationsCountStatsRequestOrder {
|
|
2852
|
-
UNKNOWN = "UNKNOWN",
|
|
2853
|
-
OLDEST = "OLDEST",
|
|
2854
|
-
NEWEST = "NEWEST"
|
|
2855
|
-
}
|
|
2856
|
-
/** @enumType */
|
|
2857
|
-
type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
2858
|
-
/** Get Blog Publications Count Stats response */
|
|
2859
|
-
interface QueryPublicationsCountStatsResponse {
|
|
2860
|
-
/** Chronologically ordered list of publications. */
|
|
2861
|
-
stats?: PeriodPublicationsCount[];
|
|
2862
|
-
}
|
|
2863
|
-
/** Publications count for a specific time period */
|
|
2864
|
-
interface PeriodPublicationsCount {
|
|
2865
|
-
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2866
|
-
periodStart?: Date | null;
|
|
2867
|
-
/** Number of posts published during this month. */
|
|
2868
|
-
publicationsCount?: number;
|
|
2869
|
-
}
|
|
2870
|
-
/** Get Blog Post Count Stats request */
|
|
2871
|
-
interface QueryPostCountStatsRequest {
|
|
2872
|
-
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2873
|
-
rangeStart?: Date | null;
|
|
2874
|
-
/**
|
|
2875
|
-
* Order of returned results.
|
|
2876
|
-
*
|
|
2877
|
-
* - `OLDEST`: posts by date in ascending order.
|
|
2878
|
-
* - `NEWEST`: posts by date in descending order.
|
|
2879
|
-
*
|
|
2880
|
-
* Default: `OLDEST`
|
|
2881
|
-
*/
|
|
2882
|
-
order?: OrderWithLiterals;
|
|
2883
|
-
/** Number of months to include in response. */
|
|
2884
|
-
months?: number;
|
|
2885
|
-
/**
|
|
2886
|
-
* Language filter.
|
|
2887
|
-
*
|
|
2888
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2889
|
-
* Pass a language to only receive the period post count for that specified language.
|
|
2890
|
-
* @format LANGUAGE_TAG
|
|
2891
|
-
*/
|
|
2892
|
-
language?: string | null;
|
|
2893
|
-
/**
|
|
2894
|
-
* Time zone to use when calculating the start of the month.
|
|
2895
|
-
*
|
|
2896
|
-
* [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
|
|
2897
|
-
* @minLength 3
|
|
2898
|
-
* @maxLength 100
|
|
2899
|
-
*/
|
|
2900
|
-
timeZone?: string | null;
|
|
2901
|
-
}
|
|
2902
|
-
declare enum Order {
|
|
2903
|
-
UNKNOWN = "UNKNOWN",
|
|
2904
|
-
OLDEST = "OLDEST",
|
|
2905
|
-
NEWEST = "NEWEST"
|
|
2906
|
-
}
|
|
2907
|
-
/** @enumType */
|
|
2908
|
-
type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
2909
|
-
/** Get Blog Post Count Stats response */
|
|
2910
|
-
interface QueryPostCountStatsResponse {
|
|
2911
|
-
/** List of published post counts by month. */
|
|
2912
|
-
stats?: PeriodPostCount[];
|
|
2913
|
-
}
|
|
2914
|
-
/** Post count for a specific time period */
|
|
2915
|
-
interface PeriodPostCount {
|
|
2916
|
-
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2917
|
-
periodStart?: Date | null;
|
|
2918
|
-
/** Number of posts published during this month. */
|
|
2919
|
-
postCount?: number;
|
|
2920
|
-
}
|
|
2921
|
-
interface GetTotalPublicationsRequest {
|
|
2922
|
-
/**
|
|
2923
|
-
* Language filter
|
|
2924
|
-
* @minLength 2
|
|
2925
|
-
* @format LANGUAGE_TAG
|
|
2926
|
-
*/
|
|
2927
|
-
language?: string | null;
|
|
2928
|
-
}
|
|
2929
|
-
interface GetTotalPublicationsResponse {
|
|
2930
|
-
/** Total amount of publications. */
|
|
2931
|
-
total?: number;
|
|
2932
|
-
}
|
|
2933
|
-
interface GetTotalPostsRequest {
|
|
2853
|
+
interface GetTotalLikesPerMemberRequest {
|
|
2934
2854
|
/**
|
|
2935
|
-
*
|
|
2936
|
-
*
|
|
2937
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2938
|
-
* Pass a language to receive the total amount of posts in that specified language.
|
|
2939
|
-
* @format LANGUAGE_TAG
|
|
2855
|
+
* Member ID.
|
|
2856
|
+
* @format GUID
|
|
2940
2857
|
*/
|
|
2941
|
-
|
|
2858
|
+
memberId?: string;
|
|
2942
2859
|
}
|
|
2943
|
-
interface
|
|
2944
|
-
/**
|
|
2860
|
+
interface GetTotalLikesPerMemberResponse {
|
|
2861
|
+
/** The total number of likes of the member. */
|
|
2945
2862
|
total?: number;
|
|
2946
2863
|
}
|
|
2947
2864
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -3097,27 +3014,324 @@ interface AccountInfo {
|
|
|
3097
3014
|
*/
|
|
3098
3015
|
siteId?: string | null;
|
|
3099
3016
|
}
|
|
3100
|
-
|
|
3017
|
+
/** Get Blog Publications Count Stats request */
|
|
3018
|
+
interface QueryPublicationsCountStatsRequest {
|
|
3019
|
+
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3020
|
+
rangeStart?: Date | null;
|
|
3021
|
+
/** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3022
|
+
rangeEnd?: Date | null;
|
|
3023
|
+
/** Order of the returned results. */
|
|
3024
|
+
order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
|
|
3025
|
+
/** Number of months to include in the response. */
|
|
3026
|
+
months?: number;
|
|
3101
3027
|
/**
|
|
3102
|
-
*
|
|
3103
|
-
*
|
|
3028
|
+
* Language filter
|
|
3029
|
+
*
|
|
3030
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3031
|
+
* @format LANGUAGE_TAG
|
|
3104
3032
|
*/
|
|
3105
|
-
|
|
3033
|
+
language?: string | null;
|
|
3034
|
+
/**
|
|
3035
|
+
* Timezone of the client.
|
|
3036
|
+
* @minLength 3
|
|
3037
|
+
* @maxLength 100
|
|
3038
|
+
*/
|
|
3039
|
+
timeZone?: string | null;
|
|
3106
3040
|
}
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3041
|
+
declare enum QueryPublicationsCountStatsRequestOrder {
|
|
3042
|
+
UNKNOWN = "UNKNOWN",
|
|
3043
|
+
OLDEST = "OLDEST",
|
|
3044
|
+
NEWEST = "NEWEST"
|
|
3110
3045
|
}
|
|
3111
|
-
|
|
3046
|
+
/** @enumType */
|
|
3047
|
+
type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
3048
|
+
/** Get Blog Publications Count Stats response */
|
|
3049
|
+
interface QueryPublicationsCountStatsResponse {
|
|
3050
|
+
/** Chronologically ordered list of publications. */
|
|
3051
|
+
stats?: PeriodPublicationsCount[];
|
|
3052
|
+
}
|
|
3053
|
+
/** Publications count for a specific time period */
|
|
3054
|
+
interface PeriodPublicationsCount {
|
|
3055
|
+
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3056
|
+
periodStart?: Date | null;
|
|
3057
|
+
/** Number of posts published during this month. */
|
|
3058
|
+
publicationsCount?: number;
|
|
3059
|
+
}
|
|
3060
|
+
/** Get Blog Post Count Stats request */
|
|
3061
|
+
interface QueryPostCountStatsRequest {
|
|
3062
|
+
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3063
|
+
rangeStart?: Date | null;
|
|
3112
3064
|
/**
|
|
3113
|
-
*
|
|
3114
|
-
*
|
|
3065
|
+
* Order of returned results.
|
|
3066
|
+
*
|
|
3067
|
+
* - `OLDEST`: posts by date in ascending order.
|
|
3068
|
+
* - `NEWEST`: posts by date in descending order.
|
|
3069
|
+
*
|
|
3070
|
+
* Default: `OLDEST`
|
|
3115
3071
|
*/
|
|
3116
|
-
|
|
3072
|
+
order?: OrderWithLiterals;
|
|
3073
|
+
/** Number of months to include in response. */
|
|
3074
|
+
months?: number;
|
|
3117
3075
|
/**
|
|
3118
|
-
*
|
|
3119
|
-
*
|
|
3120
|
-
|
|
3076
|
+
* Language filter.
|
|
3077
|
+
*
|
|
3078
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3079
|
+
* Pass a language to only receive the period post count for that specified language.
|
|
3080
|
+
* @format LANGUAGE_TAG
|
|
3081
|
+
*/
|
|
3082
|
+
language?: string | null;
|
|
3083
|
+
/**
|
|
3084
|
+
* Time zone to use when calculating the start of the month.
|
|
3085
|
+
*
|
|
3086
|
+
* [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
|
|
3087
|
+
* @minLength 3
|
|
3088
|
+
* @maxLength 100
|
|
3089
|
+
*/
|
|
3090
|
+
timeZone?: string | null;
|
|
3091
|
+
}
|
|
3092
|
+
declare enum Order {
|
|
3093
|
+
UNKNOWN = "UNKNOWN",
|
|
3094
|
+
OLDEST = "OLDEST",
|
|
3095
|
+
NEWEST = "NEWEST"
|
|
3096
|
+
}
|
|
3097
|
+
/** @enumType */
|
|
3098
|
+
type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
3099
|
+
/** Get Blog Post Count Stats response */
|
|
3100
|
+
interface QueryPostCountStatsResponse {
|
|
3101
|
+
/** List of published post counts by month. */
|
|
3102
|
+
stats?: PeriodPostCount[];
|
|
3103
|
+
}
|
|
3104
|
+
/** Post count for a specific time period */
|
|
3105
|
+
interface PeriodPostCount {
|
|
3106
|
+
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
3107
|
+
periodStart?: Date | null;
|
|
3108
|
+
/** Number of posts published during this month. */
|
|
3109
|
+
postCount?: number;
|
|
3110
|
+
}
|
|
3111
|
+
interface GetTotalPublicationsRequest {
|
|
3112
|
+
/**
|
|
3113
|
+
* Language filter
|
|
3114
|
+
* @minLength 2
|
|
3115
|
+
* @format LANGUAGE_TAG
|
|
3116
|
+
*/
|
|
3117
|
+
language?: string | null;
|
|
3118
|
+
}
|
|
3119
|
+
interface GetTotalPublicationsResponse {
|
|
3120
|
+
/** Total amount of publications. */
|
|
3121
|
+
total?: number;
|
|
3122
|
+
}
|
|
3123
|
+
interface GetTotalPostsRequest {
|
|
3124
|
+
/**
|
|
3125
|
+
* Language filter.
|
|
3126
|
+
*
|
|
3127
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3128
|
+
* Pass a language to receive the total amount of posts in that specified language.
|
|
3129
|
+
* @format LANGUAGE_TAG
|
|
3130
|
+
*/
|
|
3131
|
+
language?: string | null;
|
|
3132
|
+
}
|
|
3133
|
+
interface GetTotalPostsResponse {
|
|
3134
|
+
/** Total amount of published posts. */
|
|
3135
|
+
total?: number;
|
|
3136
|
+
}
|
|
3137
|
+
interface ListDemoPostsRequest {
|
|
3138
|
+
/**
|
|
3139
|
+
* Whether to return only featured posts.
|
|
3140
|
+
*
|
|
3141
|
+
* Default: `false`
|
|
3142
|
+
*/
|
|
3143
|
+
featured?: boolean;
|
|
3144
|
+
/**
|
|
3145
|
+
* Hashtag filter.
|
|
3146
|
+
*
|
|
3147
|
+
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3148
|
+
* If omitted, all posts with or without hashtags are returned.
|
|
3149
|
+
* @maxSize 100
|
|
3150
|
+
* @maxLength 100
|
|
3151
|
+
*/
|
|
3152
|
+
hashtags?: string[];
|
|
3153
|
+
/**
|
|
3154
|
+
* Category filter.
|
|
3155
|
+
*
|
|
3156
|
+
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3157
|
+
* If omitted, all posts with or without associated categories are returned.
|
|
3158
|
+
* @maxSize 50
|
|
3159
|
+
* @format GUID
|
|
3160
|
+
*/
|
|
3161
|
+
categoryIds?: string[];
|
|
3162
|
+
/**
|
|
3163
|
+
* Tag filter.
|
|
3164
|
+
*
|
|
3165
|
+
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3166
|
+
* If omitted, all posts with or without tags are returned.
|
|
3167
|
+
* @maxSize 50
|
|
3168
|
+
* @format GUID
|
|
3169
|
+
*/
|
|
3170
|
+
tagIds?: string[];
|
|
3171
|
+
/**
|
|
3172
|
+
* Sorting options.
|
|
3173
|
+
*
|
|
3174
|
+
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3175
|
+
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3176
|
+
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3177
|
+
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3178
|
+
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3179
|
+
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3180
|
+
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3181
|
+
* - `RATING`: reserved for internal use.
|
|
3182
|
+
*
|
|
3183
|
+
* Default: `FEED`
|
|
3184
|
+
*/
|
|
3185
|
+
sort?: GetPostsSortWithLiterals;
|
|
3186
|
+
/** Pagination options. */
|
|
3187
|
+
paging?: BlogPaging;
|
|
3188
|
+
/**
|
|
3189
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
3190
|
+
* This parameter will be removed on June 30, 2023.
|
|
3191
|
+
*
|
|
3192
|
+
* List of post fields to be included in the response.
|
|
3193
|
+
* @maxSize 20
|
|
3194
|
+
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3195
|
+
* This parameter will be removed on June 30, 2023.
|
|
3196
|
+
*
|
|
3197
|
+
* List of post fields to be included in the response.
|
|
3198
|
+
* @replacedBy fieldsets
|
|
3199
|
+
* @targetRemovalDate 2024-06-30
|
|
3200
|
+
*/
|
|
3201
|
+
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3202
|
+
/**
|
|
3203
|
+
* Language filter.
|
|
3204
|
+
*
|
|
3205
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3206
|
+
* Pass a language to only receive posts that are in that language.
|
|
3207
|
+
* If omitted, posts in all languages are returned.
|
|
3208
|
+
* @format LANGUAGE_TAG
|
|
3209
|
+
*/
|
|
3210
|
+
language?: string | null;
|
|
3211
|
+
/**
|
|
3212
|
+
* Post owner's member ID.
|
|
3213
|
+
* @format GUID
|
|
3214
|
+
*/
|
|
3215
|
+
memberId?: string | null;
|
|
3216
|
+
/**
|
|
3217
|
+
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3218
|
+
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3219
|
+
* only the post’s base fields are returned.
|
|
3220
|
+
* @maxSize 20
|
|
3221
|
+
*/
|
|
3222
|
+
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3223
|
+
}
|
|
3224
|
+
declare enum GetPostsSort {
|
|
3225
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3226
|
+
FEED = "FEED",
|
|
3227
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3228
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3229
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3230
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3231
|
+
/** Ordered by total number of views in descending order. */
|
|
3232
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3233
|
+
/** Ordered by total number of likes in descending order. */
|
|
3234
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3235
|
+
/** Ordered by `title` in ascending order. */
|
|
3236
|
+
TITLE_ASC = "TITLE_ASC",
|
|
3237
|
+
/** Ordered by `title` in descending order. */
|
|
3238
|
+
TITLE_DESC = "TITLE_DESC"
|
|
3239
|
+
}
|
|
3240
|
+
/** @enumType */
|
|
3241
|
+
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3242
|
+
interface BlogPaging {
|
|
3243
|
+
/**
|
|
3244
|
+
* Number of items to skip in the current sort order.
|
|
3245
|
+
*
|
|
3246
|
+
*
|
|
3247
|
+
* Default: `0`
|
|
3248
|
+
*/
|
|
3249
|
+
offset?: number;
|
|
3250
|
+
/**
|
|
3251
|
+
* Number of items to return.
|
|
3252
|
+
*
|
|
3253
|
+
*
|
|
3254
|
+
* Default:`50`
|
|
3255
|
+
* @min 1
|
|
3256
|
+
* @max 100
|
|
3257
|
+
*/
|
|
3258
|
+
limit?: number;
|
|
3259
|
+
/**
|
|
3260
|
+
* Pointer to the next or previous page in the list of results.
|
|
3261
|
+
* @maxLength 2000
|
|
3262
|
+
*/
|
|
3263
|
+
cursor?: string | null;
|
|
3264
|
+
}
|
|
3265
|
+
declare enum PostFieldField {
|
|
3266
|
+
UNKNOWN = "UNKNOWN",
|
|
3267
|
+
/** Includes post URL when present. */
|
|
3268
|
+
URL = "URL",
|
|
3269
|
+
/** Includes post content text string when present. */
|
|
3270
|
+
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3271
|
+
/** Includes post metrics when present. */
|
|
3272
|
+
METRICS = "METRICS",
|
|
3273
|
+
/** Includes SEO data. */
|
|
3274
|
+
SEO = "SEO",
|
|
3275
|
+
/** Includes post owner's contact ID. */
|
|
3276
|
+
CONTACT_ID = "CONTACT_ID",
|
|
3277
|
+
/** Includes post rich content. */
|
|
3278
|
+
RICH_CONTENT = "RICH_CONTENT",
|
|
3279
|
+
/** Includes post reference ID field. */
|
|
3280
|
+
REFERENCE_ID = "REFERENCE_ID"
|
|
3281
|
+
}
|
|
3282
|
+
/** @enumType */
|
|
3283
|
+
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3284
|
+
interface ListDemoPostsResponse {
|
|
3285
|
+
/** List of posts. */
|
|
3286
|
+
posts?: Post[];
|
|
3287
|
+
/** Details on the paged set of results returned. */
|
|
3288
|
+
metaData?: MetaData;
|
|
3289
|
+
}
|
|
3290
|
+
interface MetaData {
|
|
3291
|
+
/** Number of items returned in this response. */
|
|
3292
|
+
count?: number;
|
|
3293
|
+
/** Requested offset. */
|
|
3294
|
+
offset?: number;
|
|
3295
|
+
/** Total number of items that match the query. */
|
|
3296
|
+
total?: number;
|
|
3297
|
+
/**
|
|
3298
|
+
* Pointer to the next or previous page in the list of results.
|
|
3299
|
+
* @maxLength 2000
|
|
3300
|
+
*/
|
|
3301
|
+
cursor?: string | null;
|
|
3302
|
+
}
|
|
3303
|
+
interface ConvertDraftJsToRichContentRequest {
|
|
3304
|
+
/** DraftJs content to convert to Rich content. */
|
|
3305
|
+
content?: Record<string, any> | null;
|
|
3306
|
+
}
|
|
3307
|
+
interface ConvertDraftJsToRichContentResponse {
|
|
3308
|
+
/**
|
|
3309
|
+
* Rich content converted from DraftJs content.
|
|
3310
|
+
* @maxLength 2000000
|
|
3311
|
+
*/
|
|
3312
|
+
richContent?: string;
|
|
3313
|
+
}
|
|
3314
|
+
interface ConvertRichContentToDraftJsRequest {
|
|
3315
|
+
/**
|
|
3316
|
+
* Rich content to convert to DraftJs content.
|
|
3317
|
+
* @maxLength 2000000
|
|
3318
|
+
*/
|
|
3319
|
+
richContent?: string;
|
|
3320
|
+
}
|
|
3321
|
+
interface ConvertRichContentToDraftJsResponse {
|
|
3322
|
+
/** DraftJs content converted from Rich content. */
|
|
3323
|
+
content?: Record<string, any> | null;
|
|
3324
|
+
}
|
|
3325
|
+
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
3326
|
+
/**
|
|
3327
|
+
* Member ID of person who triggered the counter update
|
|
3328
|
+
* @format GUID
|
|
3329
|
+
*/
|
|
3330
|
+
memberId?: string | null;
|
|
3331
|
+
/**
|
|
3332
|
+
* Visitor ID if person that liked the post is not logged in
|
|
3333
|
+
* @format GUID
|
|
3334
|
+
*/
|
|
3121
3335
|
anonymousVisitorId?: string | null;
|
|
3122
3336
|
/**
|
|
3123
3337
|
* ID of the post which counters were updated.
|
|
@@ -3177,25 +3391,6 @@ interface GetPostRequest {
|
|
|
3177
3391
|
*/
|
|
3178
3392
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3179
3393
|
}
|
|
3180
|
-
declare enum PostFieldField {
|
|
3181
|
-
UNKNOWN = "UNKNOWN",
|
|
3182
|
-
/** Includes post URL when present. */
|
|
3183
|
-
URL = "URL",
|
|
3184
|
-
/** Includes post content text string when present. */
|
|
3185
|
-
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3186
|
-
/** Includes post metrics when present. */
|
|
3187
|
-
METRICS = "METRICS",
|
|
3188
|
-
/** Includes SEO data. */
|
|
3189
|
-
SEO = "SEO",
|
|
3190
|
-
/** Includes post owner's contact ID. */
|
|
3191
|
-
CONTACT_ID = "CONTACT_ID",
|
|
3192
|
-
/** Includes post rich content. */
|
|
3193
|
-
RICH_CONTENT = "RICH_CONTENT",
|
|
3194
|
-
/** Includes post reference ID field. */
|
|
3195
|
-
REFERENCE_ID = "REFERENCE_ID"
|
|
3196
|
-
}
|
|
3197
|
-
/** @enumType */
|
|
3198
|
-
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3199
3394
|
interface GetPostResponse {
|
|
3200
3395
|
/** Retrieved post info. */
|
|
3201
3396
|
post?: Post;
|
|
@@ -3288,66 +3483,12 @@ interface ListPostsRequest {
|
|
|
3288
3483
|
*/
|
|
3289
3484
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3290
3485
|
}
|
|
3291
|
-
declare enum GetPostsSort {
|
|
3292
|
-
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3293
|
-
FEED = "FEED",
|
|
3294
|
-
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3295
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3296
|
-
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3297
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3298
|
-
/** Ordered by total number of views in descending order. */
|
|
3299
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3300
|
-
/** Ordered by total number of likes in descending order. */
|
|
3301
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3302
|
-
/** Ordered by `title` in ascending order. */
|
|
3303
|
-
TITLE_ASC = "TITLE_ASC",
|
|
3304
|
-
/** Ordered by `title` in descending order. */
|
|
3305
|
-
TITLE_DESC = "TITLE_DESC"
|
|
3306
|
-
}
|
|
3307
|
-
/** @enumType */
|
|
3308
|
-
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3309
|
-
interface BlogPaging {
|
|
3310
|
-
/**
|
|
3311
|
-
* Number of items to skip in the current sort order.
|
|
3312
|
-
*
|
|
3313
|
-
*
|
|
3314
|
-
* Default: `0`
|
|
3315
|
-
*/
|
|
3316
|
-
offset?: number;
|
|
3317
|
-
/**
|
|
3318
|
-
* Number of items to return.
|
|
3319
|
-
*
|
|
3320
|
-
*
|
|
3321
|
-
* Default:`50`
|
|
3322
|
-
* @min 1
|
|
3323
|
-
* @max 100
|
|
3324
|
-
*/
|
|
3325
|
-
limit?: number;
|
|
3326
|
-
/**
|
|
3327
|
-
* Pointer to the next or previous page in the list of results.
|
|
3328
|
-
* @maxLength 2000
|
|
3329
|
-
*/
|
|
3330
|
-
cursor?: string | null;
|
|
3331
|
-
}
|
|
3332
3486
|
interface ListPostsResponse {
|
|
3333
3487
|
/** List of retrieved posts. */
|
|
3334
3488
|
posts?: Post[];
|
|
3335
3489
|
/** Details on the paged set of results returned. */
|
|
3336
3490
|
metaData?: MetaData;
|
|
3337
3491
|
}
|
|
3338
|
-
interface MetaData {
|
|
3339
|
-
/** Number of items returned in this response. */
|
|
3340
|
-
count?: number;
|
|
3341
|
-
/** Requested offset. */
|
|
3342
|
-
offset?: number;
|
|
3343
|
-
/** Total number of items that match the query. */
|
|
3344
|
-
total?: number;
|
|
3345
|
-
/**
|
|
3346
|
-
* Pointer to the next or previous page in the list of results.
|
|
3347
|
-
* @maxLength 2000
|
|
3348
|
-
*/
|
|
3349
|
-
cursor?: string | null;
|
|
3350
|
-
}
|
|
3351
3492
|
interface QueryPostsRequest {
|
|
3352
3493
|
/** Query options. */
|
|
3353
3494
|
query?: PlatformQuery;
|
|
@@ -3691,121 +3832,6 @@ interface PostCount {
|
|
|
3691
3832
|
/** Number of posts. */
|
|
3692
3833
|
postCount?: number;
|
|
3693
3834
|
}
|
|
3694
|
-
interface ListDemoPostsRequest {
|
|
3695
|
-
/**
|
|
3696
|
-
* Whether to return only featured posts.
|
|
3697
|
-
*
|
|
3698
|
-
* Default: `false`
|
|
3699
|
-
*/
|
|
3700
|
-
featured?: boolean;
|
|
3701
|
-
/**
|
|
3702
|
-
* Hashtag filter.
|
|
3703
|
-
*
|
|
3704
|
-
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3705
|
-
* If omitted, all posts with or without hashtags are returned.
|
|
3706
|
-
* @maxSize 100
|
|
3707
|
-
* @maxLength 100
|
|
3708
|
-
*/
|
|
3709
|
-
hashtags?: string[];
|
|
3710
|
-
/**
|
|
3711
|
-
* Category filter.
|
|
3712
|
-
*
|
|
3713
|
-
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3714
|
-
* If omitted, all posts with or without associated categories are returned.
|
|
3715
|
-
* @maxSize 50
|
|
3716
|
-
* @format GUID
|
|
3717
|
-
*/
|
|
3718
|
-
categoryIds?: string[];
|
|
3719
|
-
/**
|
|
3720
|
-
* Tag filter.
|
|
3721
|
-
*
|
|
3722
|
-
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3723
|
-
* If omitted, all posts with or without tags are returned.
|
|
3724
|
-
* @maxSize 50
|
|
3725
|
-
* @format GUID
|
|
3726
|
-
*/
|
|
3727
|
-
tagIds?: string[];
|
|
3728
|
-
/**
|
|
3729
|
-
* Sorting options.
|
|
3730
|
-
*
|
|
3731
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3732
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3733
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3734
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3735
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3736
|
-
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3737
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3738
|
-
* - `RATING`: reserved for internal use.
|
|
3739
|
-
*
|
|
3740
|
-
* Default: `FEED`
|
|
3741
|
-
*/
|
|
3742
|
-
sort?: GetPostsSortWithLiterals;
|
|
3743
|
-
/** Pagination options. */
|
|
3744
|
-
paging?: BlogPaging;
|
|
3745
|
-
/**
|
|
3746
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
3747
|
-
* This parameter will be removed on June 30, 2023.
|
|
3748
|
-
*
|
|
3749
|
-
* List of post fields to be included in the response.
|
|
3750
|
-
* @maxSize 20
|
|
3751
|
-
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3752
|
-
* This parameter will be removed on June 30, 2023.
|
|
3753
|
-
*
|
|
3754
|
-
* List of post fields to be included in the response.
|
|
3755
|
-
* @replacedBy fieldsets
|
|
3756
|
-
* @targetRemovalDate 2024-06-30
|
|
3757
|
-
*/
|
|
3758
|
-
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3759
|
-
/**
|
|
3760
|
-
* Language filter.
|
|
3761
|
-
*
|
|
3762
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3763
|
-
* Pass a language to only receive posts that are in that language.
|
|
3764
|
-
* If omitted, posts in all languages are returned.
|
|
3765
|
-
* @format LANGUAGE_TAG
|
|
3766
|
-
*/
|
|
3767
|
-
language?: string | null;
|
|
3768
|
-
/**
|
|
3769
|
-
* Post owner's member ID.
|
|
3770
|
-
* @format GUID
|
|
3771
|
-
*/
|
|
3772
|
-
memberId?: string | null;
|
|
3773
|
-
/**
|
|
3774
|
-
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3775
|
-
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3776
|
-
* only the post’s base fields are returned.
|
|
3777
|
-
* @maxSize 20
|
|
3778
|
-
*/
|
|
3779
|
-
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3780
|
-
}
|
|
3781
|
-
interface ListDemoPostsResponse {
|
|
3782
|
-
/** List of posts. */
|
|
3783
|
-
posts?: Post[];
|
|
3784
|
-
/** Details on the paged set of results returned. */
|
|
3785
|
-
metaData?: MetaData;
|
|
3786
|
-
}
|
|
3787
|
-
interface ConvertDraftJsToRichContentRequest {
|
|
3788
|
-
/** DraftJs content to convert to Rich content. */
|
|
3789
|
-
content?: Record<string, any> | null;
|
|
3790
|
-
}
|
|
3791
|
-
interface ConvertDraftJsToRichContentResponse {
|
|
3792
|
-
/**
|
|
3793
|
-
* Rich content converted from DraftJs content.
|
|
3794
|
-
* @maxLength 2000000
|
|
3795
|
-
*/
|
|
3796
|
-
richContent?: string;
|
|
3797
|
-
}
|
|
3798
|
-
interface ConvertRichContentToDraftJsRequest {
|
|
3799
|
-
/**
|
|
3800
|
-
* Rich content to convert to DraftJs content.
|
|
3801
|
-
* @maxLength 2000000
|
|
3802
|
-
*/
|
|
3803
|
-
richContent?: string;
|
|
3804
|
-
}
|
|
3805
|
-
interface ConvertRichContentToDraftJsResponse {
|
|
3806
|
-
/** DraftJs content converted from Rich content. */
|
|
3807
|
-
content?: Record<string, any> | null;
|
|
3808
|
-
}
|
|
3809
3835
|
interface BaseEventMetadata {
|
|
3810
3836
|
/**
|
|
3811
3837
|
* App instance ID.
|
|
@@ -3953,13 +3979,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
3953
3979
|
/**
|
|
3954
3980
|
* Retrieves the number of published posts per month within a specified time range.
|
|
3955
3981
|
*
|
|
3956
|
-
*
|
|
3957
|
-
* The
|
|
3958
|
-
*
|
|
3959
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
3960
|
-
*
|
|
3961
|
-
*
|
|
3982
|
+
*
|
|
3983
|
+
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
3984
|
+
*
|
|
3985
|
+
* 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.
|
|
3986
|
+
*
|
|
3987
|
+
* >**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.
|
|
3962
3988
|
* @public
|
|
3989
|
+
* @param options - Options specifying time frame, sort, and filter.
|
|
3963
3990
|
* @permissionId BLOG.READ-PUBLICATION
|
|
3964
3991
|
* @applicableIdentity APP
|
|
3965
3992
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4000,6 +4027,7 @@ interface QueryPostCountStatsOptions {
|
|
|
4000
4027
|
/**
|
|
4001
4028
|
* Retrieves the total amount of published posts of the blog.
|
|
4002
4029
|
* @public
|
|
4030
|
+
* @param options - Language Options.
|
|
4003
4031
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4004
4032
|
* @applicableIdentity APP
|
|
4005
4033
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4020,12 +4048,12 @@ interface GetTotalPostsOptions {
|
|
|
4020
4048
|
* @param postId - Post ID.
|
|
4021
4049
|
* @public
|
|
4022
4050
|
* @requiredField postId
|
|
4051
|
+
* @param options - Options specifying which fields to return.
|
|
4023
4052
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4024
4053
|
* @applicableIdentity APP
|
|
4025
|
-
* @returns Retrieved post info.
|
|
4026
4054
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4027
4055
|
*/
|
|
4028
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4056
|
+
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>>;
|
|
4029
4057
|
interface GetPostOptions {
|
|
4030
4058
|
/**
|
|
4031
4059
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4045,6 +4073,7 @@ interface GetPostOptions {
|
|
|
4045
4073
|
* @param slug - Slug of the post to retrieve.
|
|
4046
4074
|
* @public
|
|
4047
4075
|
* @requiredField slug
|
|
4076
|
+
* @param options - Options specifying which fields to return.
|
|
4048
4077
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4049
4078
|
* @applicableIdentity APP
|
|
4050
4079
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4072,6 +4101,7 @@ interface GetPostBySlugOptions {
|
|
|
4072
4101
|
* - `paging.limit` is `50`.
|
|
4073
4102
|
* - `paging.offset` is `0`.
|
|
4074
4103
|
* @public
|
|
4104
|
+
* @param options - Sort, filter, and paging options.
|
|
4075
4105
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4076
4106
|
* @applicableIdentity APP
|
|
4077
4107
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4142,18 +4172,26 @@ interface ListPostsOptions {
|
|
|
4142
4172
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4143
4173
|
}
|
|
4144
4174
|
/**
|
|
4145
|
-
*
|
|
4175
|
+
* Creates a query to retrieve a list of posts.
|
|
4146
4176
|
*
|
|
4147
|
-
* Query Posts runs with these defaults, which you can override:
|
|
4148
|
-
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4149
|
-
* - `paging.limit` is `50`.
|
|
4150
|
-
* - `paging.offset` is `0`.
|
|
4151
4177
|
*
|
|
4152
|
-
*
|
|
4153
|
-
*
|
|
4154
|
-
*
|
|
4155
|
-
*
|
|
4178
|
+
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4179
|
+
*
|
|
4180
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
4181
|
+
*
|
|
4182
|
+
* 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.
|
|
4183
|
+
*
|
|
4184
|
+
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4185
|
+
* + `limit(50)`
|
|
4186
|
+
* + `descending('firstPublishedDate')`
|
|
4187
|
+
*
|
|
4188
|
+
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4189
|
+
*
|
|
4190
|
+
* To learn how to query posts, refer to the table below.
|
|
4191
|
+
*
|
|
4192
|
+
* 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`.
|
|
4156
4193
|
* @public
|
|
4194
|
+
* @param options - Options specifying which fields to return.
|
|
4157
4195
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4158
4196
|
* @applicableIdentity APP
|
|
4159
4197
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4419,4 +4457,4 @@ declare const utils: {
|
|
|
4419
4457
|
*/
|
|
4420
4458
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4421
4459
|
|
|
4422
|
-
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 };
|
|
4460
|
+
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 };
|