@wix/auto_sdk_blog_posts 1.0.164 → 1.0.165
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 +64 -40
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +244 -206
- package/build/cjs/index.typings.js +50 -31
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +210 -189
- package/build/cjs/meta.js +44 -25
- 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 +54 -31
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +244 -206
- package/build/es/index.typings.mjs +44 -26
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +210 -189
- package/build/es/meta.mjs +38 -20
- 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 +64 -40
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +244 -206
- package/build/internal/cjs/index.typings.js +50 -31
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +210 -189
- package/build/internal/cjs/meta.js +44 -25
- 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 +54 -31
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +244 -206
- package/build/internal/es/index.typings.mjs +44 -26
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +210 -189
- package/build/internal/es/meta.mjs +38 -20
- 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
|
@@ -789,7 +789,17 @@ interface DividerData {
|
|
|
789
789
|
width?: WidthWithLiterals;
|
|
790
790
|
/** Divider alignment. */
|
|
791
791
|
alignment?: DividerDataAlignmentWithLiterals;
|
|
792
|
+
/** Visual styling for the divider lines. */
|
|
793
|
+
styles?: DividerDataStyles;
|
|
792
794
|
}
|
|
795
|
+
declare enum LineCap {
|
|
796
|
+
/** Square line endings. */
|
|
797
|
+
SQUARE = "SQUARE",
|
|
798
|
+
/** Rounded line endings. */
|
|
799
|
+
ROUND = "ROUND"
|
|
800
|
+
}
|
|
801
|
+
/** @enumType */
|
|
802
|
+
type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';
|
|
793
803
|
declare enum LineStyle {
|
|
794
804
|
/** Single Line */
|
|
795
805
|
SINGLE = "SINGLE",
|
|
@@ -822,6 +832,26 @@ declare enum DividerDataAlignment {
|
|
|
822
832
|
}
|
|
823
833
|
/** @enumType */
|
|
824
834
|
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
835
|
+
interface DividerDataStyles {
|
|
836
|
+
/**
|
|
837
|
+
* Divider color as a hexadecimal value. An alpha channel controls opacity.
|
|
838
|
+
* @maxLength 19
|
|
839
|
+
*/
|
|
840
|
+
color?: string | null;
|
|
841
|
+
/** Divider line ending shape. */
|
|
842
|
+
lineCap?: LineCapWithLiterals;
|
|
843
|
+
/**
|
|
844
|
+
* Line thicknesses in pixels, ordered from first line to last line.
|
|
845
|
+
* @maxSize 10
|
|
846
|
+
*/
|
|
847
|
+
lineThickness?: number[];
|
|
848
|
+
/** Dash length in pixels for dashed dividers. */
|
|
849
|
+
dashLength?: number | null;
|
|
850
|
+
/** Gap between dashes or dots in pixels. */
|
|
851
|
+
dashGap?: number | null;
|
|
852
|
+
/** Gap between divider lines in pixels. */
|
|
853
|
+
lineGap?: number | null;
|
|
854
|
+
}
|
|
825
855
|
interface FileData {
|
|
826
856
|
/** Styling for the file's container. */
|
|
827
857
|
containerData?: PluginContainerData;
|
|
@@ -1146,6 +1176,8 @@ interface ImageData {
|
|
|
1146
1176
|
styles?: ImageDataStyles;
|
|
1147
1177
|
/** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
|
|
1148
1178
|
crop?: ImageDataCrop;
|
|
1179
|
+
/** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */
|
|
1180
|
+
cropShape?: string | null;
|
|
1149
1181
|
}
|
|
1150
1182
|
interface StylesBorder {
|
|
1151
1183
|
/** Border width in pixels. */
|
|
@@ -3134,6 +3166,172 @@ interface GetTotalPostsResponse {
|
|
|
3134
3166
|
/** Total amount of published posts. */
|
|
3135
3167
|
total?: number;
|
|
3136
3168
|
}
|
|
3169
|
+
interface ListDemoPostsRequest {
|
|
3170
|
+
/**
|
|
3171
|
+
* Whether to return only featured posts.
|
|
3172
|
+
*
|
|
3173
|
+
* Default: `false`
|
|
3174
|
+
*/
|
|
3175
|
+
featured?: boolean;
|
|
3176
|
+
/**
|
|
3177
|
+
* Hashtag filter.
|
|
3178
|
+
*
|
|
3179
|
+
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3180
|
+
* If omitted, all posts with or without hashtags are returned.
|
|
3181
|
+
* @maxSize 100
|
|
3182
|
+
* @maxLength 100
|
|
3183
|
+
*/
|
|
3184
|
+
hashtags?: string[];
|
|
3185
|
+
/**
|
|
3186
|
+
* Category filter.
|
|
3187
|
+
*
|
|
3188
|
+
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3189
|
+
* If omitted, all posts with or without associated categories are returned.
|
|
3190
|
+
* @maxSize 50
|
|
3191
|
+
* @format GUID
|
|
3192
|
+
*/
|
|
3193
|
+
categoryIds?: string[];
|
|
3194
|
+
/**
|
|
3195
|
+
* Tag filter.
|
|
3196
|
+
*
|
|
3197
|
+
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3198
|
+
* If omitted, all posts with or without tags are returned.
|
|
3199
|
+
* @maxSize 50
|
|
3200
|
+
* @format GUID
|
|
3201
|
+
*/
|
|
3202
|
+
tagIds?: string[];
|
|
3203
|
+
/**
|
|
3204
|
+
* Sorting options.
|
|
3205
|
+
*
|
|
3206
|
+
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3207
|
+
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3208
|
+
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3209
|
+
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3210
|
+
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3211
|
+
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3212
|
+
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3213
|
+
* - `RATING`: reserved for internal use.
|
|
3214
|
+
*
|
|
3215
|
+
* Default: `FEED`
|
|
3216
|
+
*/
|
|
3217
|
+
sort?: GetPostsSortWithLiterals;
|
|
3218
|
+
/** Pagination options. */
|
|
3219
|
+
paging?: BlogPaging;
|
|
3220
|
+
/**
|
|
3221
|
+
* __Deprecated.__ Use `fieldsets` instead.
|
|
3222
|
+
* This parameter will be removed on June 30, 2023.
|
|
3223
|
+
*
|
|
3224
|
+
* List of post fields to be included in the response.
|
|
3225
|
+
* @maxSize 20
|
|
3226
|
+
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3227
|
+
* This parameter will be removed on June 30, 2023.
|
|
3228
|
+
*
|
|
3229
|
+
* List of post fields to be included in the response.
|
|
3230
|
+
* @replacedBy fieldsets
|
|
3231
|
+
* @targetRemovalDate 2024-06-30
|
|
3232
|
+
*/
|
|
3233
|
+
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3234
|
+
/**
|
|
3235
|
+
* Language filter.
|
|
3236
|
+
*
|
|
3237
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3238
|
+
* Pass a language to only receive posts that are in that language.
|
|
3239
|
+
* If omitted, posts in all languages are returned.
|
|
3240
|
+
* @format LANGUAGE_TAG
|
|
3241
|
+
*/
|
|
3242
|
+
language?: string | null;
|
|
3243
|
+
/**
|
|
3244
|
+
* Post owner's member ID.
|
|
3245
|
+
* @format GUID
|
|
3246
|
+
*/
|
|
3247
|
+
memberId?: string | null;
|
|
3248
|
+
/**
|
|
3249
|
+
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3250
|
+
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3251
|
+
* only the post’s base fields are returned.
|
|
3252
|
+
* @maxSize 20
|
|
3253
|
+
*/
|
|
3254
|
+
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3255
|
+
}
|
|
3256
|
+
declare enum GetPostsSort {
|
|
3257
|
+
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3258
|
+
FEED = "FEED",
|
|
3259
|
+
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3260
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3261
|
+
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3262
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3263
|
+
/** Ordered by total number of views in descending order. */
|
|
3264
|
+
VIEW_COUNT = "VIEW_COUNT",
|
|
3265
|
+
/** Ordered by total number of likes in descending order. */
|
|
3266
|
+
LIKE_COUNT = "LIKE_COUNT",
|
|
3267
|
+
/** Ordered by `title` in ascending order. */
|
|
3268
|
+
TITLE_ASC = "TITLE_ASC",
|
|
3269
|
+
/** Ordered by `title` in descending order. */
|
|
3270
|
+
TITLE_DESC = "TITLE_DESC"
|
|
3271
|
+
}
|
|
3272
|
+
/** @enumType */
|
|
3273
|
+
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3274
|
+
interface BlogPaging {
|
|
3275
|
+
/**
|
|
3276
|
+
* Number of items to skip in the current sort order.
|
|
3277
|
+
*
|
|
3278
|
+
*
|
|
3279
|
+
* Default: `0`
|
|
3280
|
+
*/
|
|
3281
|
+
offset?: number;
|
|
3282
|
+
/**
|
|
3283
|
+
* Number of items to return.
|
|
3284
|
+
*
|
|
3285
|
+
*
|
|
3286
|
+
* Default:`50`
|
|
3287
|
+
* @min 1
|
|
3288
|
+
* @max 100
|
|
3289
|
+
*/
|
|
3290
|
+
limit?: number;
|
|
3291
|
+
/**
|
|
3292
|
+
* Pointer to the next or previous page in the list of results.
|
|
3293
|
+
* @maxLength 2000
|
|
3294
|
+
*/
|
|
3295
|
+
cursor?: string | null;
|
|
3296
|
+
}
|
|
3297
|
+
declare enum PostFieldField {
|
|
3298
|
+
UNKNOWN = "UNKNOWN",
|
|
3299
|
+
/** Includes post URL when present. */
|
|
3300
|
+
URL = "URL",
|
|
3301
|
+
/** Includes post content text string when present. */
|
|
3302
|
+
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3303
|
+
/** Includes post metrics when present. */
|
|
3304
|
+
METRICS = "METRICS",
|
|
3305
|
+
/** Includes SEO data. */
|
|
3306
|
+
SEO = "SEO",
|
|
3307
|
+
/** Includes post owner's contact ID. */
|
|
3308
|
+
CONTACT_ID = "CONTACT_ID",
|
|
3309
|
+
/** Includes post rich content. */
|
|
3310
|
+
RICH_CONTENT = "RICH_CONTENT",
|
|
3311
|
+
/** Includes post reference ID field. */
|
|
3312
|
+
REFERENCE_ID = "REFERENCE_ID"
|
|
3313
|
+
}
|
|
3314
|
+
/** @enumType */
|
|
3315
|
+
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3316
|
+
interface ListDemoPostsResponse {
|
|
3317
|
+
/** List of posts. */
|
|
3318
|
+
posts?: Post[];
|
|
3319
|
+
/** Details on the paged set of results returned. */
|
|
3320
|
+
metaData?: MetaData;
|
|
3321
|
+
}
|
|
3322
|
+
interface MetaData {
|
|
3323
|
+
/** Number of items returned in this response. */
|
|
3324
|
+
count?: number;
|
|
3325
|
+
/** Requested offset. */
|
|
3326
|
+
offset?: number;
|
|
3327
|
+
/** Total number of items that match the query. */
|
|
3328
|
+
total?: number;
|
|
3329
|
+
/**
|
|
3330
|
+
* Pointer to the next or previous page in the list of results.
|
|
3331
|
+
* @maxLength 2000
|
|
3332
|
+
*/
|
|
3333
|
+
cursor?: string | null;
|
|
3334
|
+
}
|
|
3137
3335
|
interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
|
|
3138
3336
|
/**
|
|
3139
3337
|
* Member ID of person who triggered the counter update
|
|
@@ -3203,25 +3401,6 @@ interface GetPostRequest {
|
|
|
3203
3401
|
*/
|
|
3204
3402
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3205
3403
|
}
|
|
3206
|
-
declare enum PostFieldField {
|
|
3207
|
-
UNKNOWN = "UNKNOWN",
|
|
3208
|
-
/** Includes post URL when present. */
|
|
3209
|
-
URL = "URL",
|
|
3210
|
-
/** Includes post content text string when present. */
|
|
3211
|
-
CONTENT_TEXT = "CONTENT_TEXT",
|
|
3212
|
-
/** Includes post metrics when present. */
|
|
3213
|
-
METRICS = "METRICS",
|
|
3214
|
-
/** Includes SEO data. */
|
|
3215
|
-
SEO = "SEO",
|
|
3216
|
-
/** Includes post owner's contact ID. */
|
|
3217
|
-
CONTACT_ID = "CONTACT_ID",
|
|
3218
|
-
/** Includes post rich content. */
|
|
3219
|
-
RICH_CONTENT = "RICH_CONTENT",
|
|
3220
|
-
/** Includes post reference ID field. */
|
|
3221
|
-
REFERENCE_ID = "REFERENCE_ID"
|
|
3222
|
-
}
|
|
3223
|
-
/** @enumType */
|
|
3224
|
-
type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
|
|
3225
3404
|
interface GetPostResponse {
|
|
3226
3405
|
/** Retrieved post info. */
|
|
3227
3406
|
post?: Post;
|
|
@@ -3314,66 +3493,12 @@ interface ListPostsRequest {
|
|
|
3314
3493
|
*/
|
|
3315
3494
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3316
3495
|
}
|
|
3317
|
-
declare enum GetPostsSort {
|
|
3318
|
-
/** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
|
|
3319
|
-
FEED = "FEED",
|
|
3320
|
-
/** Ordered by `firstPublishedDate` in ascending order. */
|
|
3321
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
3322
|
-
/** Ordered by `firstPublishedDate` in descending order. */
|
|
3323
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
|
|
3324
|
-
/** Ordered by total number of views in descending order. */
|
|
3325
|
-
VIEW_COUNT = "VIEW_COUNT",
|
|
3326
|
-
/** Ordered by total number of likes in descending order. */
|
|
3327
|
-
LIKE_COUNT = "LIKE_COUNT",
|
|
3328
|
-
/** Ordered by `title` in ascending order. */
|
|
3329
|
-
TITLE_ASC = "TITLE_ASC",
|
|
3330
|
-
/** Ordered by `title` in descending order. */
|
|
3331
|
-
TITLE_DESC = "TITLE_DESC"
|
|
3332
|
-
}
|
|
3333
|
-
/** @enumType */
|
|
3334
|
-
type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
|
|
3335
|
-
interface BlogPaging {
|
|
3336
|
-
/**
|
|
3337
|
-
* Number of items to skip in the current sort order.
|
|
3338
|
-
*
|
|
3339
|
-
*
|
|
3340
|
-
* Default: `0`
|
|
3341
|
-
*/
|
|
3342
|
-
offset?: number;
|
|
3343
|
-
/**
|
|
3344
|
-
* Number of items to return.
|
|
3345
|
-
*
|
|
3346
|
-
*
|
|
3347
|
-
* Default:`50`
|
|
3348
|
-
* @min 1
|
|
3349
|
-
* @max 100
|
|
3350
|
-
*/
|
|
3351
|
-
limit?: number;
|
|
3352
|
-
/**
|
|
3353
|
-
* Pointer to the next or previous page in the list of results.
|
|
3354
|
-
* @maxLength 2000
|
|
3355
|
-
*/
|
|
3356
|
-
cursor?: string | null;
|
|
3357
|
-
}
|
|
3358
3496
|
interface ListPostsResponse {
|
|
3359
3497
|
/** List of retrieved posts. */
|
|
3360
3498
|
posts?: Post[];
|
|
3361
3499
|
/** Details on the paged set of results returned. */
|
|
3362
3500
|
metaData?: MetaData;
|
|
3363
3501
|
}
|
|
3364
|
-
interface MetaData {
|
|
3365
|
-
/** Number of items returned in this response. */
|
|
3366
|
-
count?: number;
|
|
3367
|
-
/** Requested offset. */
|
|
3368
|
-
offset?: number;
|
|
3369
|
-
/** Total number of items that match the query. */
|
|
3370
|
-
total?: number;
|
|
3371
|
-
/**
|
|
3372
|
-
* Pointer to the next or previous page in the list of results.
|
|
3373
|
-
* @maxLength 2000
|
|
3374
|
-
*/
|
|
3375
|
-
cursor?: string | null;
|
|
3376
|
-
}
|
|
3377
3502
|
interface QueryPostsRequest {
|
|
3378
3503
|
/** Query options. */
|
|
3379
3504
|
query?: PlatformQuery;
|
|
@@ -3393,6 +3518,11 @@ interface Sorting {
|
|
|
3393
3518
|
fieldName?: string;
|
|
3394
3519
|
/** Sort order. */
|
|
3395
3520
|
order?: SortOrderWithLiterals;
|
|
3521
|
+
/**
|
|
3522
|
+
* Origin point for geo-distance sorting on a GEO field
|
|
3523
|
+
* results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
3524
|
+
*/
|
|
3525
|
+
origin?: AddressLocation;
|
|
3396
3526
|
}
|
|
3397
3527
|
declare enum SortOrder {
|
|
3398
3528
|
ASC = "ASC",
|
|
@@ -3400,6 +3530,12 @@ declare enum SortOrder {
|
|
|
3400
3530
|
}
|
|
3401
3531
|
/** @enumType */
|
|
3402
3532
|
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
3533
|
+
interface AddressLocation {
|
|
3534
|
+
/** Address latitude. */
|
|
3535
|
+
latitude?: number | null;
|
|
3536
|
+
/** Address longitude. */
|
|
3537
|
+
longitude?: number | null;
|
|
3538
|
+
}
|
|
3403
3539
|
interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
3404
3540
|
/** Paging options to limit and skip the number of items. */
|
|
3405
3541
|
paging?: Paging;
|
|
@@ -3717,121 +3853,6 @@ interface PostCount {
|
|
|
3717
3853
|
/** Number of posts. */
|
|
3718
3854
|
postCount?: number;
|
|
3719
3855
|
}
|
|
3720
|
-
interface ListDemoPostsRequest {
|
|
3721
|
-
/**
|
|
3722
|
-
* Whether to return only featured posts.
|
|
3723
|
-
*
|
|
3724
|
-
* Default: `false`
|
|
3725
|
-
*/
|
|
3726
|
-
featured?: boolean;
|
|
3727
|
-
/**
|
|
3728
|
-
* Hashtag filter.
|
|
3729
|
-
*
|
|
3730
|
-
* Pass an array of hashtags to return only posts containing any of the provided hashtags.
|
|
3731
|
-
* If omitted, all posts with or without hashtags are returned.
|
|
3732
|
-
* @maxSize 100
|
|
3733
|
-
* @maxLength 100
|
|
3734
|
-
*/
|
|
3735
|
-
hashtags?: string[];
|
|
3736
|
-
/**
|
|
3737
|
-
* Category filter.
|
|
3738
|
-
*
|
|
3739
|
-
* Pass an array of category IDs to return only posts with any of the provided categories.
|
|
3740
|
-
* If omitted, all posts with or without associated categories are returned.
|
|
3741
|
-
* @maxSize 50
|
|
3742
|
-
* @format GUID
|
|
3743
|
-
*/
|
|
3744
|
-
categoryIds?: string[];
|
|
3745
|
-
/**
|
|
3746
|
-
* Tag filter.
|
|
3747
|
-
*
|
|
3748
|
-
* Pass an array of tag IDs to return only posts with any of the provided tags.
|
|
3749
|
-
* If omitted, all posts with or without tags are returned.
|
|
3750
|
-
* @maxSize 50
|
|
3751
|
-
* @format GUID
|
|
3752
|
-
*/
|
|
3753
|
-
tagIds?: string[];
|
|
3754
|
-
/**
|
|
3755
|
-
* Sorting options.
|
|
3756
|
-
*
|
|
3757
|
-
* - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
|
|
3758
|
-
* - `VIEW_COUNT`: Ordered by total number of views in descending order.
|
|
3759
|
-
* - `LIKE_COUNT`: Ordered by total number of likes in descending order.
|
|
3760
|
-
* - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
|
|
3761
|
-
* - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
|
|
3762
|
-
* - `TITLE_ASC`: Ordered by `title` in ascending order.
|
|
3763
|
-
* - `TITLE_DESC`: Ordered by `title` in descending order.
|
|
3764
|
-
* - `RATING`: reserved for internal use.
|
|
3765
|
-
*
|
|
3766
|
-
* Default: `FEED`
|
|
3767
|
-
*/
|
|
3768
|
-
sort?: GetPostsSortWithLiterals;
|
|
3769
|
-
/** Pagination options. */
|
|
3770
|
-
paging?: BlogPaging;
|
|
3771
|
-
/**
|
|
3772
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
3773
|
-
* This parameter will be removed on June 30, 2023.
|
|
3774
|
-
*
|
|
3775
|
-
* List of post fields to be included in the response.
|
|
3776
|
-
* @maxSize 20
|
|
3777
|
-
* @deprecated __Deprecated.__ Use `fieldsets` instead.
|
|
3778
|
-
* This parameter will be removed on June 30, 2023.
|
|
3779
|
-
*
|
|
3780
|
-
* List of post fields to be included in the response.
|
|
3781
|
-
* @replacedBy fieldsets
|
|
3782
|
-
* @targetRemovalDate 2024-06-30
|
|
3783
|
-
*/
|
|
3784
|
-
fieldsToInclude?: PostFieldFieldWithLiterals[];
|
|
3785
|
-
/**
|
|
3786
|
-
* Language filter.
|
|
3787
|
-
*
|
|
3788
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
3789
|
-
* Pass a language to only receive posts that are in that language.
|
|
3790
|
-
* If omitted, posts in all languages are returned.
|
|
3791
|
-
* @format LANGUAGE_TAG
|
|
3792
|
-
*/
|
|
3793
|
-
language?: string | null;
|
|
3794
|
-
/**
|
|
3795
|
-
* Post owner's member ID.
|
|
3796
|
-
* @format GUID
|
|
3797
|
-
*/
|
|
3798
|
-
memberId?: string | null;
|
|
3799
|
-
/**
|
|
3800
|
-
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
3801
|
-
* the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
3802
|
-
* only the post’s base fields are returned.
|
|
3803
|
-
* @maxSize 20
|
|
3804
|
-
*/
|
|
3805
|
-
fieldsets?: PostFieldFieldWithLiterals[];
|
|
3806
|
-
}
|
|
3807
|
-
interface ListDemoPostsResponse {
|
|
3808
|
-
/** List of posts. */
|
|
3809
|
-
posts?: Post[];
|
|
3810
|
-
/** Details on the paged set of results returned. */
|
|
3811
|
-
metaData?: MetaData;
|
|
3812
|
-
}
|
|
3813
|
-
interface ConvertDraftJsToRichContentRequest {
|
|
3814
|
-
/** DraftJs content to convert to Rich content. */
|
|
3815
|
-
content?: Record<string, any> | null;
|
|
3816
|
-
}
|
|
3817
|
-
interface ConvertDraftJsToRichContentResponse {
|
|
3818
|
-
/**
|
|
3819
|
-
* Rich content converted from DraftJs content.
|
|
3820
|
-
* @maxLength 2000000
|
|
3821
|
-
*/
|
|
3822
|
-
richContent?: string;
|
|
3823
|
-
}
|
|
3824
|
-
interface ConvertRichContentToDraftJsRequest {
|
|
3825
|
-
/**
|
|
3826
|
-
* Rich content to convert to DraftJs content.
|
|
3827
|
-
* @maxLength 2000000
|
|
3828
|
-
*/
|
|
3829
|
-
richContent?: string;
|
|
3830
|
-
}
|
|
3831
|
-
interface ConvertRichContentToDraftJsResponse {
|
|
3832
|
-
/** DraftJs content converted from Rich content. */
|
|
3833
|
-
content?: Record<string, any> | null;
|
|
3834
|
-
}
|
|
3835
3856
|
interface BaseEventMetadata {
|
|
3836
3857
|
/**
|
|
3837
3858
|
* App instance ID.
|
|
@@ -3979,13 +4000,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
|
|
|
3979
4000
|
/**
|
|
3980
4001
|
* Retrieves the number of published posts per month within a specified time range.
|
|
3981
4002
|
*
|
|
3982
|
-
*
|
|
3983
|
-
* The
|
|
3984
|
-
*
|
|
3985
|
-
* For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
|
|
3986
|
-
*
|
|
3987
|
-
*
|
|
4003
|
+
*
|
|
4004
|
+
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
4005
|
+
*
|
|
4006
|
+
* 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.
|
|
4007
|
+
*
|
|
4008
|
+
* >**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.
|
|
3988
4009
|
* @public
|
|
4010
|
+
* @param options - Options specifying time frame, sort, and filter.
|
|
3989
4011
|
* @permissionId BLOG.READ-PUBLICATION
|
|
3990
4012
|
* @applicableIdentity APP
|
|
3991
4013
|
* @returns Get Blog Post Count Stats response
|
|
@@ -4026,6 +4048,7 @@ interface QueryPostCountStatsOptions {
|
|
|
4026
4048
|
/**
|
|
4027
4049
|
* Retrieves the total amount of published posts of the blog.
|
|
4028
4050
|
* @public
|
|
4051
|
+
* @param options - Language Options.
|
|
4029
4052
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4030
4053
|
* @applicableIdentity APP
|
|
4031
4054
|
* @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
|
|
@@ -4046,12 +4069,12 @@ interface GetTotalPostsOptions {
|
|
|
4046
4069
|
* @param postId - Post ID.
|
|
4047
4070
|
* @public
|
|
4048
4071
|
* @requiredField postId
|
|
4072
|
+
* @param options - Options specifying which fields to return.
|
|
4049
4073
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4050
4074
|
* @applicableIdentity APP
|
|
4051
|
-
* @returns Retrieved post info.
|
|
4052
4075
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
|
|
4053
4076
|
*/
|
|
4054
|
-
declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<
|
|
4077
|
+
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>>;
|
|
4055
4078
|
interface GetPostOptions {
|
|
4056
4079
|
/**
|
|
4057
4080
|
* List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4071,6 +4094,7 @@ interface GetPostOptions {
|
|
|
4071
4094
|
* @param slug - Slug of the post to retrieve.
|
|
4072
4095
|
* @public
|
|
4073
4096
|
* @requiredField slug
|
|
4097
|
+
* @param options - Options specifying which fields to return.
|
|
4074
4098
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4075
4099
|
* @applicableIdentity APP
|
|
4076
4100
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
|
|
@@ -4098,6 +4122,7 @@ interface GetPostBySlugOptions {
|
|
|
4098
4122
|
* - `paging.limit` is `50`.
|
|
4099
4123
|
* - `paging.offset` is `0`.
|
|
4100
4124
|
* @public
|
|
4125
|
+
* @param options - Sort, filter, and paging options.
|
|
4101
4126
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4102
4127
|
* @applicableIdentity APP
|
|
4103
4128
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
|
|
@@ -4168,18 +4193,26 @@ interface ListPostsOptions {
|
|
|
4168
4193
|
fieldsets?: PostFieldFieldWithLiterals[];
|
|
4169
4194
|
}
|
|
4170
4195
|
/**
|
|
4171
|
-
*
|
|
4196
|
+
* Creates a query to retrieve a list of posts.
|
|
4172
4197
|
*
|
|
4173
|
-
* Query Posts runs with these defaults, which you can override:
|
|
4174
|
-
* - `firstPublishedDate` is sorted in descending order, with pinned posts first.
|
|
4175
|
-
* - `paging.limit` is `50`.
|
|
4176
|
-
* - `paging.offset` is `0`.
|
|
4177
4198
|
*
|
|
4178
|
-
*
|
|
4179
|
-
*
|
|
4180
|
-
*
|
|
4181
|
-
*
|
|
4199
|
+
* The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
|
|
4200
|
+
*
|
|
4201
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
4202
|
+
*
|
|
4203
|
+
* 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.
|
|
4204
|
+
*
|
|
4205
|
+
* `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
|
|
4206
|
+
* + `limit(50)`
|
|
4207
|
+
* + `descending('firstPublishedDate')`
|
|
4208
|
+
*
|
|
4209
|
+
* Note that the default limit is `'50'`, but the max limit is `'100'`.
|
|
4210
|
+
*
|
|
4211
|
+
* To learn how to query posts, refer to the table below.
|
|
4212
|
+
*
|
|
4213
|
+
* 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`.
|
|
4182
4214
|
* @public
|
|
4215
|
+
* @param options - Options specifying which fields to return.
|
|
4183
4216
|
* @permissionId BLOG.READ-PUBLICATION
|
|
4184
4217
|
* @applicableIdentity APP
|
|
4185
4218
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
|
|
@@ -4423,6 +4456,11 @@ type PostQuery = {
|
|
|
4423
4456
|
Sort order.
|
|
4424
4457
|
*/
|
|
4425
4458
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
4459
|
+
/**
|
|
4460
|
+
Origin point for geo-distance sorting on a GEO field
|
|
4461
|
+
results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
4462
|
+
*/
|
|
4463
|
+
origin?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['origin'];
|
|
4426
4464
|
}[];
|
|
4427
4465
|
};
|
|
4428
4466
|
declare const utils: {
|
|
@@ -4445,4 +4483,4 @@ declare const utils: {
|
|
|
4445
4483
|
*/
|
|
4446
4484
|
declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
|
|
4447
4485
|
|
|
4448
|
-
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,
|
|
4486
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, 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, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type 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, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type 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 };
|