@wix/auto_sdk_blog_posts 1.0.163 → 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 (41) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +56 -37
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +364 -338
  5. package/build/cjs/index.typings.js +52 -33
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +359 -338
  8. package/build/cjs/meta.js +52 -33
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +2 -2
  11. package/build/es/index.d.mts +1 -1
  12. package/build/es/index.mjs +46 -28
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +364 -338
  15. package/build/es/index.typings.mjs +46 -28
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +359 -338
  18. package/build/es/meta.mjs +46 -28
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +2 -2
  21. package/build/internal/cjs/index.d.ts +1 -1
  22. package/build/internal/cjs/index.js +56 -37
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +364 -338
  25. package/build/internal/cjs/index.typings.js +52 -33
  26. package/build/internal/cjs/index.typings.js.map +1 -1
  27. package/build/internal/cjs/meta.d.ts +359 -338
  28. package/build/internal/cjs/meta.js +52 -33
  29. package/build/internal/cjs/meta.js.map +1 -1
  30. package/build/internal/cjs/schemas.d.ts +2 -2
  31. package/build/internal/es/index.d.mts +1 -1
  32. package/build/internal/es/index.mjs +46 -28
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +364 -338
  35. package/build/internal/es/index.typings.mjs +46 -28
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +359 -338
  38. package/build/internal/es/meta.mjs +46 -28
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/schemas.d.mts +2 -2
  41. 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. */
@@ -2843,124 +2875,15 @@ interface PostUnlikedInitiatorOneOf {
2843
2875
  */
2844
2876
  anonymousVisitorId?: string | null;
2845
2877
  }
2846
- /** Get Blog Publications Count Stats request */
2847
- interface QueryPublicationsCountStatsRequest {
2848
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2849
- rangeStart?: Date | null;
2850
- /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2851
- rangeEnd?: Date | null;
2852
- /** Order of the returned results. */
2853
- order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
2854
- /** Number of months to include in the response. */
2855
- months?: number;
2856
- /**
2857
- * Language filter
2858
- *
2859
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2860
- * @format LANGUAGE_TAG
2861
- */
2862
- language?: string | null;
2863
- /**
2864
- * Timezone of the client.
2865
- * @minLength 3
2866
- * @maxLength 100
2867
- */
2868
- timeZone?: string | null;
2869
- }
2870
- declare enum QueryPublicationsCountStatsRequestOrder {
2871
- UNKNOWN = "UNKNOWN",
2872
- OLDEST = "OLDEST",
2873
- NEWEST = "NEWEST"
2874
- }
2875
- /** @enumType */
2876
- type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2877
- /** Get Blog Publications Count Stats response */
2878
- interface QueryPublicationsCountStatsResponse {
2879
- /** Chronologically ordered list of publications. */
2880
- stats?: PeriodPublicationsCount[];
2881
- }
2882
- /** Publications count for a specific time period */
2883
- interface PeriodPublicationsCount {
2884
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2885
- periodStart?: Date | null;
2886
- /** Number of posts published during this month. */
2887
- publicationsCount?: number;
2888
- }
2889
- /** Get Blog Post Count Stats request */
2890
- interface QueryPostCountStatsRequest {
2891
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2892
- rangeStart?: Date | null;
2893
- /**
2894
- * Order of returned results.
2895
- *
2896
- * - `OLDEST`: posts by date in ascending order.
2897
- * - `NEWEST`: posts by date in descending order.
2898
- *
2899
- * Default: `OLDEST`
2900
- */
2901
- order?: OrderWithLiterals;
2902
- /** Number of months to include in response. */
2903
- months?: number;
2904
- /**
2905
- * Language filter.
2906
- *
2907
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2908
- * Pass a language to only receive the period post count for that specified language.
2909
- * @format LANGUAGE_TAG
2910
- */
2911
- language?: string | null;
2912
- /**
2913
- * Time zone to use when calculating the start of the month.
2914
- *
2915
- * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
2916
- * @minLength 3
2917
- * @maxLength 100
2918
- */
2919
- timeZone?: string | null;
2920
- }
2921
- declare enum Order {
2922
- UNKNOWN = "UNKNOWN",
2923
- OLDEST = "OLDEST",
2924
- NEWEST = "NEWEST"
2925
- }
2926
- /** @enumType */
2927
- type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2928
- /** Get Blog Post Count Stats response */
2929
- interface QueryPostCountStatsResponse {
2930
- /** List of published post counts by month. */
2931
- stats?: PeriodPostCount[];
2932
- }
2933
- /** Post count for a specific time period */
2934
- interface PeriodPostCount {
2935
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2936
- periodStart?: Date | null;
2937
- /** Number of posts published during this month. */
2938
- postCount?: number;
2939
- }
2940
- interface GetTotalPublicationsRequest {
2941
- /**
2942
- * Language filter
2943
- * @minLength 2
2944
- * @format LANGUAGE_TAG
2945
- */
2946
- language?: string | null;
2947
- }
2948
- interface GetTotalPublicationsResponse {
2949
- /** Total amount of publications. */
2950
- total?: number;
2951
- }
2952
- interface GetTotalPostsRequest {
2878
+ interface GetTotalLikesPerMemberRequest {
2953
2879
  /**
2954
- * Language filter.
2955
- *
2956
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2957
- * Pass a language to receive the total amount of posts in that specified language.
2958
- * @format LANGUAGE_TAG
2880
+ * Member ID.
2881
+ * @format GUID
2959
2882
  */
2960
- language?: string | null;
2883
+ memberId?: string;
2961
2884
  }
2962
- interface GetTotalPostsResponse {
2963
- /** Total amount of published posts. */
2885
+ interface GetTotalLikesPerMemberResponse {
2886
+ /** The total number of likes of the member. */
2964
2887
  total?: number;
2965
2888
  }
2966
2889
  interface DomainEvent extends DomainEventBodyOneOf {
@@ -3116,134 +3039,127 @@ interface AccountInfo {
3116
3039
  */
3117
3040
  siteId?: string | null;
3118
3041
  }
3119
- interface GetTotalLikesPerMemberRequest {
3120
- /**
3121
- * Member ID.
3122
- * @format GUID
3123
- */
3124
- memberId?: string;
3125
- }
3126
- interface GetTotalLikesPerMemberResponse {
3127
- /** The total number of likes of the member. */
3128
- total?: number;
3129
- }
3130
- interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
3042
+ /** Get Blog Publications Count Stats request */
3043
+ interface QueryPublicationsCountStatsRequest {
3044
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3045
+ rangeStart?: Date | null;
3046
+ /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3047
+ rangeEnd?: Date | null;
3048
+ /** Order of the returned results. */
3049
+ order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
3050
+ /** Number of months to include in the response. */
3051
+ months?: number;
3131
3052
  /**
3132
- * Member ID of person who triggered the counter update
3133
- * @format GUID
3053
+ * Language filter
3054
+ *
3055
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3056
+ * @format LANGUAGE_TAG
3134
3057
  */
3135
- memberId?: string | null;
3058
+ language?: string | null;
3136
3059
  /**
3137
- * Visitor ID if person that liked the post is not logged in
3138
- * @format GUID
3060
+ * Timezone of the client.
3061
+ * @minLength 3
3062
+ * @maxLength 100
3139
3063
  */
3140
- anonymousVisitorId?: string | null;
3064
+ timeZone?: string | null;
3065
+ }
3066
+ declare enum QueryPublicationsCountStatsRequestOrder {
3067
+ UNKNOWN = "UNKNOWN",
3068
+ OLDEST = "OLDEST",
3069
+ NEWEST = "NEWEST"
3070
+ }
3071
+ /** @enumType */
3072
+ type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
3073
+ /** Get Blog Publications Count Stats response */
3074
+ interface QueryPublicationsCountStatsResponse {
3075
+ /** Chronologically ordered list of publications. */
3076
+ stats?: PeriodPublicationsCount[];
3077
+ }
3078
+ /** Publications count for a specific time period */
3079
+ interface PeriodPublicationsCount {
3080
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3081
+ periodStart?: Date | null;
3082
+ /** Number of posts published during this month. */
3083
+ publicationsCount?: number;
3084
+ }
3085
+ /** Get Blog Post Count Stats request */
3086
+ interface QueryPostCountStatsRequest {
3087
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3088
+ rangeStart?: Date | null;
3141
3089
  /**
3142
- * ID of the post which counters were updated.
3143
- * @format GUID
3090
+ * Order of returned results.
3091
+ *
3092
+ * - `OLDEST`: posts by date in ascending order.
3093
+ * - `NEWEST`: posts by date in descending order.
3094
+ *
3095
+ * Default: `OLDEST`
3144
3096
  */
3145
- postId?: string;
3146
- /** Field of the updated counter. */
3147
- updatedCounterField?: FieldWithLiterals;
3148
- /** New counter value. */
3149
- counter?: number;
3150
- }
3151
- /** @oneof */
3152
- interface PostCountersUpdatedInitiatorOneOf {
3097
+ order?: OrderWithLiterals;
3098
+ /** Number of months to include in response. */
3099
+ months?: number;
3153
3100
  /**
3154
- * Member ID of person who triggered the counter update
3155
- * @format GUID
3101
+ * Language filter.
3102
+ *
3103
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3104
+ * Pass a language to only receive the period post count for that specified language.
3105
+ * @format LANGUAGE_TAG
3156
3106
  */
3157
- memberId?: string | null;
3107
+ language?: string | null;
3158
3108
  /**
3159
- * Visitor ID if person that liked the post is not logged in
3160
- * @format GUID
3109
+ * Time zone to use when calculating the start of the month.
3110
+ *
3111
+ * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
3112
+ * @minLength 3
3113
+ * @maxLength 100
3161
3114
  */
3162
- anonymousVisitorId?: string | null;
3115
+ timeZone?: string | null;
3163
3116
  }
3164
- declare enum Field {
3165
- /** Undefined field. */
3117
+ declare enum Order {
3166
3118
  UNKNOWN = "UNKNOWN",
3167
- /** Total comments field. */
3168
- TOTAL_COMMENTS = "TOTAL_COMMENTS",
3169
- /** Like count field. */
3170
- LIKE_COUNT = "LIKE_COUNT",
3171
- /** View count field. */
3172
- VIEW_COUNT = "VIEW_COUNT",
3173
- /** Rating count field. */
3174
- RATING_COUNT = "RATING_COUNT"
3119
+ OLDEST = "OLDEST",
3120
+ NEWEST = "NEWEST"
3175
3121
  }
3176
3122
  /** @enumType */
3177
- type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
3178
- interface PostOwnerChanged {
3179
- }
3180
- interface InitialPostsCopied {
3181
- /** Number of posts copied. */
3182
- count?: number;
3123
+ type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
3124
+ /** Get Blog Post Count Stats response */
3125
+ interface QueryPostCountStatsResponse {
3126
+ /** List of published post counts by month. */
3127
+ stats?: PeriodPostCount[];
3183
3128
  }
3184
- interface GetPostRequest {
3185
- /**
3186
- * Post ID.
3187
- * @minLength 1
3188
- * @maxLength 38
3189
- */
3190
- postId: string;
3129
+ /** Post count for a specific time period */
3130
+ interface PeriodPostCount {
3131
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3132
+ periodStart?: Date | null;
3133
+ /** Number of posts published during this month. */
3134
+ postCount?: number;
3135
+ }
3136
+ interface GetTotalPublicationsRequest {
3191
3137
  /**
3192
- * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3193
- * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3194
- * only the post’s base fields are returned.
3195
- * @maxSize 20
3138
+ * Language filter
3139
+ * @minLength 2
3140
+ * @format LANGUAGE_TAG
3196
3141
  */
3197
- fieldsets?: PostFieldFieldWithLiterals[];
3198
- }
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"
3142
+ language?: string | null;
3215
3143
  }
3216
- /** @enumType */
3217
- type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
3218
- interface GetPostResponse {
3219
- /** Retrieved post info. */
3220
- post?: Post;
3144
+ interface GetTotalPublicationsResponse {
3145
+ /** Total amount of publications. */
3146
+ total?: number;
3221
3147
  }
3222
- interface GetPostBySlugRequest {
3223
- /**
3224
- * Slug of the post to retrieve.
3225
- * @minLength 1
3226
- * @maxLength 200
3227
- */
3228
- slug: string;
3229
- /**
3230
- * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3231
- * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3232
- * only the post’s base fields are returned.
3233
- * @maxSize 20
3234
- */
3235
- fieldsets?: PostFieldFieldWithLiterals[];
3148
+ interface GetTotalPostsRequest {
3236
3149
  /**
3237
- * Language of the post.
3150
+ * Language filter.
3151
+ *
3152
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3153
+ * Pass a language to receive the total amount of posts in that specified language.
3238
3154
  * @format LANGUAGE_TAG
3239
3155
  */
3240
3156
  language?: string | null;
3241
3157
  }
3242
- interface GetPostBySlugResponse {
3243
- /** Retrieved post info. */
3244
- post?: Post;
3158
+ interface GetTotalPostsResponse {
3159
+ /** Total amount of published posts. */
3160
+ total?: number;
3245
3161
  }
3246
- interface ListPostsRequest {
3162
+ interface ListDemoPostsRequest {
3247
3163
  /**
3248
3164
  * Whether to return only featured posts.
3249
3165
  *
@@ -3265,7 +3181,7 @@ interface ListPostsRequest {
3265
3181
  * Pass an array of category IDs to return only posts with any of the provided categories.
3266
3182
  * If omitted, all posts with or without associated categories are returned.
3267
3183
  * @maxSize 50
3268
- * @maxLength 38
3184
+ * @format GUID
3269
3185
  */
3270
3186
  categoryIds?: string[];
3271
3187
  /**
@@ -3274,17 +3190,40 @@ interface ListPostsRequest {
3274
3190
  * Pass an array of tag IDs to return only posts with any of the provided tags.
3275
3191
  * If omitted, all posts with or without tags are returned.
3276
3192
  * @maxSize 50
3277
- * @maxLength 38
3193
+ * @format GUID
3278
3194
  */
3279
3195
  tagIds?: string[];
3280
3196
  /**
3281
3197
  * Sorting options.
3282
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
+ *
3283
3208
  * Default: `FEED`
3284
3209
  */
3285
3210
  sort?: GetPostsSortWithLiterals;
3286
3211
  /** Pagination options. */
3287
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[];
3288
3227
  /**
3289
3228
  * Language filter.
3290
3229
  *
@@ -3348,8 +3287,27 @@ interface BlogPaging {
3348
3287
  */
3349
3288
  cursor?: string | null;
3350
3289
  }
3351
- interface ListPostsResponse {
3352
- /** List of retrieved posts. */
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. */
3353
3311
  posts?: Post[];
3354
3312
  /** Details on the paged set of results returned. */
3355
3313
  metaData?: MetaData;
@@ -3367,6 +3325,173 @@ interface MetaData {
3367
3325
  */
3368
3326
  cursor?: string | null;
3369
3327
  }
3328
+ interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
3329
+ /**
3330
+ * Member ID of person who triggered the counter update
3331
+ * @format GUID
3332
+ */
3333
+ memberId?: string | null;
3334
+ /**
3335
+ * Visitor ID if person that liked the post is not logged in
3336
+ * @format GUID
3337
+ */
3338
+ anonymousVisitorId?: string | null;
3339
+ /**
3340
+ * ID of the post which counters were updated.
3341
+ * @format GUID
3342
+ */
3343
+ postId?: string;
3344
+ /** Field of the updated counter. */
3345
+ updatedCounterField?: FieldWithLiterals;
3346
+ /** New counter value. */
3347
+ counter?: number;
3348
+ }
3349
+ /** @oneof */
3350
+ interface PostCountersUpdatedInitiatorOneOf {
3351
+ /**
3352
+ * Member ID of person who triggered the counter update
3353
+ * @format GUID
3354
+ */
3355
+ memberId?: string | null;
3356
+ /**
3357
+ * Visitor ID if person that liked the post is not logged in
3358
+ * @format GUID
3359
+ */
3360
+ anonymousVisitorId?: string | null;
3361
+ }
3362
+ declare enum Field {
3363
+ /** Undefined field. */
3364
+ UNKNOWN = "UNKNOWN",
3365
+ /** Total comments field. */
3366
+ TOTAL_COMMENTS = "TOTAL_COMMENTS",
3367
+ /** Like count field. */
3368
+ LIKE_COUNT = "LIKE_COUNT",
3369
+ /** View count field. */
3370
+ VIEW_COUNT = "VIEW_COUNT",
3371
+ /** Rating count field. */
3372
+ RATING_COUNT = "RATING_COUNT"
3373
+ }
3374
+ /** @enumType */
3375
+ type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
3376
+ interface PostOwnerChanged {
3377
+ }
3378
+ interface InitialPostsCopied {
3379
+ /** Number of posts copied. */
3380
+ count?: number;
3381
+ }
3382
+ interface GetPostRequest {
3383
+ /**
3384
+ * Post ID.
3385
+ * @minLength 1
3386
+ * @maxLength 38
3387
+ */
3388
+ postId: string;
3389
+ /**
3390
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3391
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3392
+ * only the post’s base fields are returned.
3393
+ * @maxSize 20
3394
+ */
3395
+ fieldsets?: PostFieldFieldWithLiterals[];
3396
+ }
3397
+ interface GetPostResponse {
3398
+ /** Retrieved post info. */
3399
+ post?: Post;
3400
+ }
3401
+ interface GetPostBySlugRequest {
3402
+ /**
3403
+ * Slug of the post to retrieve.
3404
+ * @minLength 1
3405
+ * @maxLength 200
3406
+ */
3407
+ slug: string;
3408
+ /**
3409
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3410
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3411
+ * only the post’s base fields are returned.
3412
+ * @maxSize 20
3413
+ */
3414
+ fieldsets?: PostFieldFieldWithLiterals[];
3415
+ /**
3416
+ * Language of the post.
3417
+ * @format LANGUAGE_TAG
3418
+ */
3419
+ language?: string | null;
3420
+ }
3421
+ interface GetPostBySlugResponse {
3422
+ /** Retrieved post info. */
3423
+ post?: Post;
3424
+ }
3425
+ interface ListPostsRequest {
3426
+ /**
3427
+ * Whether to return only featured posts.
3428
+ *
3429
+ * Default: `false`
3430
+ */
3431
+ featured?: boolean;
3432
+ /**
3433
+ * Hashtag filter.
3434
+ *
3435
+ * Pass an array of hashtags to return only posts containing any of the provided hashtags.
3436
+ * If omitted, all posts with or without hashtags are returned.
3437
+ * @maxSize 100
3438
+ * @maxLength 100
3439
+ */
3440
+ hashtags?: string[];
3441
+ /**
3442
+ * Category filter.
3443
+ *
3444
+ * Pass an array of category IDs to return only posts with any of the provided categories.
3445
+ * If omitted, all posts with or without associated categories are returned.
3446
+ * @maxSize 50
3447
+ * @maxLength 38
3448
+ */
3449
+ categoryIds?: string[];
3450
+ /**
3451
+ * Tag filter.
3452
+ *
3453
+ * Pass an array of tag IDs to return only posts with any of the provided tags.
3454
+ * If omitted, all posts with or without tags are returned.
3455
+ * @maxSize 50
3456
+ * @maxLength 38
3457
+ */
3458
+ tagIds?: string[];
3459
+ /**
3460
+ * Sorting options.
3461
+ *
3462
+ * Default: `FEED`
3463
+ */
3464
+ sort?: GetPostsSortWithLiterals;
3465
+ /** Pagination options. */
3466
+ paging?: BlogPaging;
3467
+ /**
3468
+ * Language filter.
3469
+ *
3470
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3471
+ * Pass a language to only receive posts that are in that language.
3472
+ * If omitted, posts in all languages are returned.
3473
+ * @format LANGUAGE_TAG
3474
+ */
3475
+ language?: string | null;
3476
+ /**
3477
+ * Post owner's member ID.
3478
+ * @format GUID
3479
+ */
3480
+ memberId?: string | null;
3481
+ /**
3482
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3483
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3484
+ * only the post’s base fields are returned.
3485
+ * @maxSize 20
3486
+ */
3487
+ fieldsets?: PostFieldFieldWithLiterals[];
3488
+ }
3489
+ interface ListPostsResponse {
3490
+ /** List of retrieved posts. */
3491
+ posts?: Post[];
3492
+ /** Details on the paged set of results returned. */
3493
+ metaData?: MetaData;
3494
+ }
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.
@@ -4428,6 +4449,11 @@ type PostQuery = {
4428
4449
  Sort order.
4429
4450
  */
4430
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'];
4431
4457
  }[];
4432
4458
  };
4433
4459
  declare const utils: {
@@ -4450,4 +4476,4 @@ declare const utils: {
4450
4476
  */
4451
4477
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4452
4478
 
4453
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
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 };