@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.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +15 -11
  2. package/build/cjs/index.js +64 -40
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +244 -206
  5. package/build/cjs/index.typings.js +50 -31
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +210 -189
  8. package/build/cjs/meta.js +44 -25
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +86 -84
  11. package/build/cjs/schemas.js +153 -147
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +15 -11
  14. package/build/es/index.mjs +54 -31
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +244 -206
  17. package/build/es/index.typings.mjs +44 -26
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +210 -189
  20. package/build/es/meta.mjs +38 -20
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +86 -84
  23. package/build/es/schemas.mjs +153 -147
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +15 -11
  26. package/build/internal/cjs/index.js +64 -40
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +244 -206
  29. package/build/internal/cjs/index.typings.js +50 -31
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +210 -189
  32. package/build/internal/cjs/meta.js +44 -25
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +86 -84
  35. package/build/internal/cjs/schemas.js +153 -147
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +15 -11
  38. package/build/internal/es/index.mjs +54 -31
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +244 -206
  41. package/build/internal/es/index.typings.mjs +44 -26
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +210 -189
  44. package/build/internal/es/meta.mjs +38 -20
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +86 -84
  47. package/build/internal/es/schemas.mjs +153 -147
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -782,7 +782,17 @@ interface DividerData {
782
782
  width?: WidthWithLiterals;
783
783
  /** Divider alignment. */
784
784
  alignment?: DividerDataAlignmentWithLiterals;
785
+ /** Visual styling for the divider lines. */
786
+ styles?: DividerDataStyles;
785
787
  }
788
+ declare enum LineCap {
789
+ /** Square line endings. */
790
+ SQUARE = "SQUARE",
791
+ /** Rounded line endings. */
792
+ ROUND = "ROUND"
793
+ }
794
+ /** @enumType */
795
+ type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';
786
796
  declare enum LineStyle {
787
797
  /** Single Line */
788
798
  SINGLE = "SINGLE",
@@ -815,6 +825,26 @@ declare enum DividerDataAlignment {
815
825
  }
816
826
  /** @enumType */
817
827
  type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
828
+ interface DividerDataStyles {
829
+ /**
830
+ * Divider color as a hexadecimal value. An alpha channel controls opacity.
831
+ * @maxLength 19
832
+ */
833
+ color?: string | null;
834
+ /** Divider line ending shape. */
835
+ lineCap?: LineCapWithLiterals;
836
+ /**
837
+ * Line thicknesses in pixels, ordered from first line to last line.
838
+ * @maxSize 10
839
+ */
840
+ lineThickness?: number[];
841
+ /** Dash length in pixels for dashed dividers. */
842
+ dashLength?: number | null;
843
+ /** Gap between dashes or dots in pixels. */
844
+ dashGap?: number | null;
845
+ /** Gap between divider lines in pixels. */
846
+ lineGap?: number | null;
847
+ }
818
848
  interface FileData {
819
849
  /** Styling for the file's container. */
820
850
  containerData?: PluginContainerData;
@@ -1139,6 +1169,8 @@ interface ImageData {
1139
1169
  styles?: ImageDataStyles;
1140
1170
  /** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
1141
1171
  crop?: ImageDataCrop;
1172
+ /** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */
1173
+ cropShape?: string | null;
1142
1174
  }
1143
1175
  interface StylesBorder {
1144
1176
  /** Border width in pixels. */
@@ -3127,6 +3159,172 @@ interface GetTotalPostsResponse {
3127
3159
  /** Total amount of published posts. */
3128
3160
  total?: number;
3129
3161
  }
3162
+ interface ListDemoPostsRequest {
3163
+ /**
3164
+ * Whether to return only featured posts.
3165
+ *
3166
+ * Default: `false`
3167
+ */
3168
+ featured?: boolean;
3169
+ /**
3170
+ * Hashtag filter.
3171
+ *
3172
+ * Pass an array of hashtags to return only posts containing any of the provided hashtags.
3173
+ * If omitted, all posts with or without hashtags are returned.
3174
+ * @maxSize 100
3175
+ * @maxLength 100
3176
+ */
3177
+ hashtags?: string[];
3178
+ /**
3179
+ * Category filter.
3180
+ *
3181
+ * Pass an array of category IDs to return only posts with any of the provided categories.
3182
+ * If omitted, all posts with or without associated categories are returned.
3183
+ * @maxSize 50
3184
+ * @format GUID
3185
+ */
3186
+ categoryIds?: string[];
3187
+ /**
3188
+ * Tag filter.
3189
+ *
3190
+ * Pass an array of tag IDs to return only posts with any of the provided tags.
3191
+ * If omitted, all posts with or without tags are returned.
3192
+ * @maxSize 50
3193
+ * @format GUID
3194
+ */
3195
+ tagIds?: string[];
3196
+ /**
3197
+ * Sorting options.
3198
+ *
3199
+ * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
3200
+ * - `VIEW_COUNT`: Ordered by total number of views in descending order.
3201
+ * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
3202
+ * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
3203
+ * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
3204
+ * - `TITLE_ASC`: Ordered by `title` in ascending order.
3205
+ * - `TITLE_DESC`: Ordered by `title` in descending order.
3206
+ * - `RATING`: reserved for internal use.
3207
+ *
3208
+ * Default: `FEED`
3209
+ */
3210
+ sort?: GetPostsSortWithLiterals;
3211
+ /** Pagination options. */
3212
+ paging?: BlogPaging;
3213
+ /**
3214
+ * __Deprecated.__ Use `fieldsets` instead.
3215
+ * This parameter will be removed on June 30, 2023.
3216
+ *
3217
+ * List of post fields to be included in the response.
3218
+ * @maxSize 20
3219
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
3220
+ * This parameter will be removed on June 30, 2023.
3221
+ *
3222
+ * List of post fields to be included in the response.
3223
+ * @replacedBy fieldsets
3224
+ * @targetRemovalDate 2024-06-30
3225
+ */
3226
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
3227
+ /**
3228
+ * Language filter.
3229
+ *
3230
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3231
+ * Pass a language to only receive posts that are in that language.
3232
+ * If omitted, posts in all languages are returned.
3233
+ * @format LANGUAGE_TAG
3234
+ */
3235
+ language?: string | null;
3236
+ /**
3237
+ * Post owner's member ID.
3238
+ * @format GUID
3239
+ */
3240
+ memberId?: string | null;
3241
+ /**
3242
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3243
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3244
+ * only the post’s base fields are returned.
3245
+ * @maxSize 20
3246
+ */
3247
+ fieldsets?: PostFieldFieldWithLiterals[];
3248
+ }
3249
+ declare enum GetPostsSort {
3250
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
3251
+ FEED = "FEED",
3252
+ /** Ordered by `firstPublishedDate` in ascending order. */
3253
+ PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
3254
+ /** Ordered by `firstPublishedDate` in descending order. */
3255
+ PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
3256
+ /** Ordered by total number of views in descending order. */
3257
+ VIEW_COUNT = "VIEW_COUNT",
3258
+ /** Ordered by total number of likes in descending order. */
3259
+ LIKE_COUNT = "LIKE_COUNT",
3260
+ /** Ordered by `title` in ascending order. */
3261
+ TITLE_ASC = "TITLE_ASC",
3262
+ /** Ordered by `title` in descending order. */
3263
+ TITLE_DESC = "TITLE_DESC"
3264
+ }
3265
+ /** @enumType */
3266
+ type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
3267
+ interface BlogPaging {
3268
+ /**
3269
+ * Number of items to skip in the current sort order.
3270
+ *
3271
+ *
3272
+ * Default: `0`
3273
+ */
3274
+ offset?: number;
3275
+ /**
3276
+ * Number of items to return.
3277
+ *
3278
+ *
3279
+ * Default:`50`
3280
+ * @min 1
3281
+ * @max 100
3282
+ */
3283
+ limit?: number;
3284
+ /**
3285
+ * Pointer to the next or previous page in the list of results.
3286
+ * @maxLength 2000
3287
+ */
3288
+ cursor?: string | null;
3289
+ }
3290
+ declare enum PostFieldField {
3291
+ UNKNOWN = "UNKNOWN",
3292
+ /** Includes post URL when present. */
3293
+ URL = "URL",
3294
+ /** Includes post content text string when present. */
3295
+ CONTENT_TEXT = "CONTENT_TEXT",
3296
+ /** Includes post metrics when present. */
3297
+ METRICS = "METRICS",
3298
+ /** Includes SEO data. */
3299
+ SEO = "SEO",
3300
+ /** Includes post owner's contact ID. */
3301
+ CONTACT_ID = "CONTACT_ID",
3302
+ /** Includes post rich content. */
3303
+ RICH_CONTENT = "RICH_CONTENT",
3304
+ /** Includes post reference ID field. */
3305
+ REFERENCE_ID = "REFERENCE_ID"
3306
+ }
3307
+ /** @enumType */
3308
+ type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
3309
+ interface ListDemoPostsResponse {
3310
+ /** List of posts. */
3311
+ posts?: Post[];
3312
+ /** Details on the paged set of results returned. */
3313
+ metaData?: MetaData;
3314
+ }
3315
+ interface MetaData {
3316
+ /** Number of items returned in this response. */
3317
+ count?: number;
3318
+ /** Requested offset. */
3319
+ offset?: number;
3320
+ /** Total number of items that match the query. */
3321
+ total?: number;
3322
+ /**
3323
+ * Pointer to the next or previous page in the list of results.
3324
+ * @maxLength 2000
3325
+ */
3326
+ cursor?: string | null;
3327
+ }
3130
3328
  interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
3131
3329
  /**
3132
3330
  * Member ID of person who triggered the counter update
@@ -3196,25 +3394,6 @@ interface GetPostRequest {
3196
3394
  */
3197
3395
  fieldsets?: PostFieldFieldWithLiterals[];
3198
3396
  }
3199
- declare enum PostFieldField {
3200
- UNKNOWN = "UNKNOWN",
3201
- /** Includes post URL when present. */
3202
- URL = "URL",
3203
- /** Includes post content text string when present. */
3204
- CONTENT_TEXT = "CONTENT_TEXT",
3205
- /** Includes post metrics when present. */
3206
- METRICS = "METRICS",
3207
- /** Includes SEO data. */
3208
- SEO = "SEO",
3209
- /** Includes post owner's contact ID. */
3210
- CONTACT_ID = "CONTACT_ID",
3211
- /** Includes post rich content. */
3212
- RICH_CONTENT = "RICH_CONTENT",
3213
- /** Includes post reference ID field. */
3214
- REFERENCE_ID = "REFERENCE_ID"
3215
- }
3216
- /** @enumType */
3217
- type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
3218
3397
  interface GetPostResponse {
3219
3398
  /** Retrieved post info. */
3220
3399
  post?: Post;
@@ -3307,66 +3486,12 @@ interface ListPostsRequest {
3307
3486
  */
3308
3487
  fieldsets?: PostFieldFieldWithLiterals[];
3309
3488
  }
3310
- declare enum GetPostsSort {
3311
- /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
3312
- FEED = "FEED",
3313
- /** Ordered by `firstPublishedDate` in ascending order. */
3314
- PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
3315
- /** Ordered by `firstPublishedDate` in descending order. */
3316
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
3317
- /** Ordered by total number of views in descending order. */
3318
- VIEW_COUNT = "VIEW_COUNT",
3319
- /** Ordered by total number of likes in descending order. */
3320
- LIKE_COUNT = "LIKE_COUNT",
3321
- /** Ordered by `title` in ascending order. */
3322
- TITLE_ASC = "TITLE_ASC",
3323
- /** Ordered by `title` in descending order. */
3324
- TITLE_DESC = "TITLE_DESC"
3325
- }
3326
- /** @enumType */
3327
- type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
3328
- interface BlogPaging {
3329
- /**
3330
- * Number of items to skip in the current sort order.
3331
- *
3332
- *
3333
- * Default: `0`
3334
- */
3335
- offset?: number;
3336
- /**
3337
- * Number of items to return.
3338
- *
3339
- *
3340
- * Default:`50`
3341
- * @min 1
3342
- * @max 100
3343
- */
3344
- limit?: 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
3489
  interface ListPostsResponse {
3352
3490
  /** List of retrieved posts. */
3353
3491
  posts?: Post[];
3354
3492
  /** Details on the paged set of results returned. */
3355
3493
  metaData?: MetaData;
3356
3494
  }
3357
- interface MetaData {
3358
- /** Number of items returned in this response. */
3359
- count?: number;
3360
- /** Requested offset. */
3361
- offset?: number;
3362
- /** Total number of items that match the query. */
3363
- total?: number;
3364
- /**
3365
- * Pointer to the next or previous page in the list of results.
3366
- * @maxLength 2000
3367
- */
3368
- cursor?: string | null;
3369
- }
3370
3495
  interface QueryPostsRequest {
3371
3496
  /** Query options. */
3372
3497
  query?: PlatformQuery;
@@ -3386,6 +3511,11 @@ interface Sorting {
3386
3511
  fieldName?: string;
3387
3512
  /** Sort order. */
3388
3513
  order?: SortOrderWithLiterals;
3514
+ /**
3515
+ * Origin point for geo-distance sorting on a GEO field
3516
+ * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
3517
+ */
3518
+ origin?: AddressLocation;
3389
3519
  }
3390
3520
  declare enum SortOrder {
3391
3521
  ASC = "ASC",
@@ -3393,6 +3523,12 @@ declare enum SortOrder {
3393
3523
  }
3394
3524
  /** @enumType */
3395
3525
  type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
3526
+ interface AddressLocation {
3527
+ /** Address latitude. */
3528
+ latitude?: number | null;
3529
+ /** Address longitude. */
3530
+ longitude?: number | null;
3531
+ }
3396
3532
  interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
3397
3533
  /** Paging options to limit and skip the number of items. */
3398
3534
  paging?: Paging;
@@ -3710,121 +3846,6 @@ interface PostCount {
3710
3846
  /** Number of posts. */
3711
3847
  postCount?: number;
3712
3848
  }
3713
- interface ListDemoPostsRequest {
3714
- /**
3715
- * Whether to return only featured posts.
3716
- *
3717
- * Default: `false`
3718
- */
3719
- featured?: boolean;
3720
- /**
3721
- * Hashtag filter.
3722
- *
3723
- * Pass an array of hashtags to return only posts containing any of the provided hashtags.
3724
- * If omitted, all posts with or without hashtags are returned.
3725
- * @maxSize 100
3726
- * @maxLength 100
3727
- */
3728
- hashtags?: string[];
3729
- /**
3730
- * Category filter.
3731
- *
3732
- * Pass an array of category IDs to return only posts with any of the provided categories.
3733
- * If omitted, all posts with or without associated categories are returned.
3734
- * @maxSize 50
3735
- * @format GUID
3736
- */
3737
- categoryIds?: string[];
3738
- /**
3739
- * Tag filter.
3740
- *
3741
- * Pass an array of tag IDs to return only posts with any of the provided tags.
3742
- * If omitted, all posts with or without tags are returned.
3743
- * @maxSize 50
3744
- * @format GUID
3745
- */
3746
- tagIds?: string[];
3747
- /**
3748
- * Sorting options.
3749
- *
3750
- * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
3751
- * - `VIEW_COUNT`: Ordered by total number of views in descending order.
3752
- * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
3753
- * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
3754
- * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
3755
- * - `TITLE_ASC`: Ordered by `title` in ascending order.
3756
- * - `TITLE_DESC`: Ordered by `title` in descending order.
3757
- * - `RATING`: reserved for internal use.
3758
- *
3759
- * Default: `FEED`
3760
- */
3761
- sort?: GetPostsSortWithLiterals;
3762
- /** Pagination options. */
3763
- paging?: BlogPaging;
3764
- /**
3765
- * __Deprecated.__ Use `fieldsets` instead.
3766
- * This parameter will be removed on June 30, 2023.
3767
- *
3768
- * List of post fields to be included in the response.
3769
- * @maxSize 20
3770
- * @deprecated __Deprecated.__ Use `fieldsets` instead.
3771
- * This parameter will be removed on June 30, 2023.
3772
- *
3773
- * List of post fields to be included in the response.
3774
- * @replacedBy fieldsets
3775
- * @targetRemovalDate 2024-06-30
3776
- */
3777
- fieldsToInclude?: PostFieldFieldWithLiterals[];
3778
- /**
3779
- * Language filter.
3780
- *
3781
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3782
- * Pass a language to only receive posts that are in that language.
3783
- * If omitted, posts in all languages are returned.
3784
- * @format LANGUAGE_TAG
3785
- */
3786
- language?: string | null;
3787
- /**
3788
- * Post owner's member ID.
3789
- * @format GUID
3790
- */
3791
- memberId?: string | null;
3792
- /**
3793
- * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3794
- * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3795
- * only the post’s base fields are returned.
3796
- * @maxSize 20
3797
- */
3798
- fieldsets?: PostFieldFieldWithLiterals[];
3799
- }
3800
- interface ListDemoPostsResponse {
3801
- /** List of posts. */
3802
- posts?: Post[];
3803
- /** Details on the paged set of results returned. */
3804
- metaData?: MetaData;
3805
- }
3806
- interface ConvertDraftJsToRichContentRequest {
3807
- /** DraftJs content to convert to Rich content. */
3808
- content?: Record<string, any> | null;
3809
- }
3810
- interface ConvertDraftJsToRichContentResponse {
3811
- /**
3812
- * Rich content converted from DraftJs content.
3813
- * @maxLength 2000000
3814
- */
3815
- richContent?: string;
3816
- }
3817
- interface ConvertRichContentToDraftJsRequest {
3818
- /**
3819
- * Rich content to convert to DraftJs content.
3820
- * @maxLength 2000000
3821
- */
3822
- richContent?: string;
3823
- }
3824
- interface ConvertRichContentToDraftJsResponse {
3825
- /** DraftJs content converted from Rich content. */
3826
- content?: Record<string, any> | null;
3827
- }
3828
3849
  interface BaseEventMetadata {
3829
3850
  /**
3830
3851
  * App instance ID.
@@ -3972,13 +3993,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
3972
3993
  /**
3973
3994
  * Retrieves the number of published posts per month within a specified time range.
3974
3995
  *
3975
- * The time range is set using the `rangeStart` and `months` properties.
3976
- * The time range always starts on the 1st day of the month set in `rangeStart` and
3977
- * includes the number of `months` following `rangeStart`.
3978
- * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
3979
- * the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.
3980
- * > Note: If there are no published posts in a month within the time range, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
3996
+ *
3997
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
3998
+ *
3999
+ * 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.
4000
+ *
4001
+ * >**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.
3981
4002
  * @public
4003
+ * @param options - Options specifying time frame, sort, and filter.
3982
4004
  * @permissionId BLOG.READ-PUBLICATION
3983
4005
  * @applicableIdentity APP
3984
4006
  * @returns Get Blog Post Count Stats response
@@ -4019,6 +4041,7 @@ interface QueryPostCountStatsOptions {
4019
4041
  /**
4020
4042
  * Retrieves the total amount of published posts of the blog.
4021
4043
  * @public
4044
+ * @param options - Language Options.
4022
4045
  * @permissionId BLOG.READ-PUBLICATION
4023
4046
  * @applicableIdentity APP
4024
4047
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4039,12 +4062,12 @@ interface GetTotalPostsOptions {
4039
4062
  * @param postId - Post ID.
4040
4063
  * @public
4041
4064
  * @requiredField postId
4065
+ * @param options - Options specifying which fields to return.
4042
4066
  * @permissionId BLOG.READ-PUBLICATION
4043
4067
  * @applicableIdentity APP
4044
- * @returns Retrieved post info.
4045
4068
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4046
4069
  */
4047
- declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<Post, `_id` | `title` | `excerpt` | `slug` | `featured` | `pinned` | `categoryIds` | `memberId` | `hashtags` | `commentingEnabled` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `preview` | `moderationDetails.submittedBy` | `moderationDetails.status` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom` | `hasUnpublishedChanges`, 6>>;
4070
+ 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>>;
4048
4071
  interface GetPostOptions {
4049
4072
  /**
4050
4073
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4064,6 +4087,7 @@ interface GetPostOptions {
4064
4087
  * @param slug - Slug of the post to retrieve.
4065
4088
  * @public
4066
4089
  * @requiredField slug
4090
+ * @param options - Options specifying which fields to return.
4067
4091
  * @permissionId BLOG.READ-PUBLICATION
4068
4092
  * @applicableIdentity APP
4069
4093
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4091,6 +4115,7 @@ interface GetPostBySlugOptions {
4091
4115
  * - `paging.limit` is `50`.
4092
4116
  * - `paging.offset` is `0`.
4093
4117
  * @public
4118
+ * @param options - Sort, filter, and paging options.
4094
4119
  * @permissionId BLOG.READ-PUBLICATION
4095
4120
  * @applicableIdentity APP
4096
4121
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -4161,18 +4186,26 @@ interface ListPostsOptions {
4161
4186
  fieldsets?: PostFieldFieldWithLiterals[];
4162
4187
  }
4163
4188
  /**
4164
- * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
4189
+ * Creates a query to retrieve a list of posts.
4165
4190
  *
4166
- * Query Posts runs with these defaults, which you can override:
4167
- * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
4168
- * - `paging.limit` is `50`.
4169
- * - `paging.offset` is `0`.
4170
4191
  *
4171
- * To learn about working with _Query_ endpoints, see
4172
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4173
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
4174
- * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
4192
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
4193
+ *
4194
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4195
+ *
4196
+ * 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.
4197
+ *
4198
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
4199
+ * + `limit(50)`
4200
+ * + `descending('firstPublishedDate')`
4201
+ *
4202
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
4203
+ *
4204
+ * To learn how to query posts, refer to the table below.
4205
+ *
4206
+ * 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`.
4175
4207
  * @public
4208
+ * @param options - Options specifying which fields to return.
4176
4209
  * @permissionId BLOG.READ-PUBLICATION
4177
4210
  * @applicableIdentity APP
4178
4211
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -4416,6 +4449,11 @@ type PostQuery = {
4416
4449
  Sort order.
4417
4450
  */
4418
4451
  order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
4452
+ /**
4453
+ Origin point for geo-distance sorting on a GEO field
4454
+ results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
4455
+ */
4456
+ origin?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['origin'];
4419
4457
  }[];
4420
4458
  };
4421
4459
  declare const utils: {
@@ -4438,4 +4476,4 @@ declare const utils: {
4438
4476
  */
4439
4477
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4440
4478
 
4441
- 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 };
4479
+ 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 };