@wix/auto_sdk_blog_posts 1.0.166 → 1.0.168

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 +49 -18
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +223 -167
  5. package/build/cjs/index.typings.js +49 -18
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +223 -167
  8. package/build/cjs/meta.js +49 -18
  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 +48 -18
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +223 -167
  15. package/build/es/index.typings.mjs +48 -18
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +223 -167
  18. package/build/es/meta.mjs +48 -18
  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 +49 -18
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +694 -171
  25. package/build/internal/cjs/index.typings.js +49 -18
  26. package/build/internal/cjs/index.typings.js.map +1 -1
  27. package/build/internal/cjs/meta.d.ts +748 -176
  28. package/build/internal/cjs/meta.js +49 -18
  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 +48 -18
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +694 -171
  35. package/build/internal/es/index.typings.mjs +48 -18
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +748 -176
  38. package/build/internal/es/meta.mjs +48 -18
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/schemas.d.mts +2 -2
  41. package/package.json +4 -4
@@ -65,6 +65,14 @@ interface Post {
65
65
  hashtags?: string[];
66
66
  /** Whether commenting on the post is enabled. */
67
67
  commentingEnabled?: boolean;
68
+ /**
69
+ * Dynamic post count info Comment Count, Like Count, View Count.
70
+ * @internal
71
+ * @deprecated Dynamic post count info Comment Count, Like Count, View Count.
72
+ * @replacedBy metrics
73
+ * @targetRemovalDate 2024-06-30
74
+ */
75
+ postCountInfo?: PostCountInfo;
68
76
  /** Estimated reading time (calculated automatically). */
69
77
  minutesToRead?: number;
70
78
  /** Image placed at the top of the blog page. Only displays on mobile devices. */
@@ -104,8 +112,22 @@ interface Post {
104
112
  * @format LANGUAGE_TAG
105
113
  */
106
114
  language?: string | null;
115
+ /**
116
+ * Post metrics.
117
+ * Deprecated on '2022-02-15', data can be inconsistent, for consistent data please use 'PostService#GetPostMetrics' API instead
118
+ * @internal
119
+ * @deprecated
120
+ */
121
+ metrics?: Metrics;
107
122
  /** SEO data. */
108
123
  seoData?: SeoSchema;
124
+ /**
125
+ * Reserved for internal use.
126
+ * @internal
127
+ * @readonly
128
+ * @maxLength 400000
129
+ */
130
+ content?: string | null;
109
131
  /**
110
132
  * Contact ID of the post's owner. See the Contacts API for more info.
111
133
  * @format GUID
@@ -126,6 +148,19 @@ interface Post {
126
148
  * @readonly
127
149
  */
128
150
  preview?: boolean;
151
+ /**
152
+ * Reserved for internal use.
153
+ * @internal
154
+ * @maxLength 24
155
+ */
156
+ contentId?: string | null;
157
+ /**
158
+ * Reserved for internal use.
159
+ * @internal
160
+ * @readonly
161
+ * @format GUID
162
+ */
163
+ mostRecentContributorId?: string | null;
129
164
  /**
130
165
  * Post moderation details. Only relevant to posts submitted by [guest writers](https://support.wix.com/en/article/wix-blog-moderating-blog-posts-from-your-guest-writers).
131
166
  *
@@ -135,17 +170,75 @@ interface Post {
135
170
  moderationDetails?: ModerationDetails;
136
171
  /** Post cover media. */
137
172
  media?: Media;
173
+ /**
174
+ * Post rich content as a string.
175
+ * @internal
176
+ * @readonly
177
+ * @maxLength 8000000
178
+ */
179
+ richContentString?: string | null;
180
+ /**
181
+ * Post rich content as compressed binary data
182
+ * @internal
183
+ * @readonly
184
+ */
185
+ richContentCompressed?: Uint8Array | null;
138
186
  /**
139
187
  * Indicates if there is a draft post with changes that have not yet been published.
140
188
  * @readonly
141
189
  */
142
190
  hasUnpublishedChanges?: boolean;
191
+ /**
192
+ * List of the post's translated posts.
193
+ * @internal
194
+ * @readonly
195
+ * @maxSize 1000
196
+ */
197
+ translations?: PostTranslation[];
198
+ /**
199
+ * Identifies whether excerpt was set by contributor.
200
+ * True - excerpt was set by contributor.
201
+ * False - excerpt was generated from content.
202
+ * @internal
203
+ * @readonly
204
+ */
205
+ customExcerpt?: boolean;
143
206
  /**
144
207
  * Post reference ID. You can reference the post from other entities, for example, comments.
145
208
  * @readonly
146
209
  * @maxLength 24
147
210
  */
148
211
  referenceId?: string | null;
212
+ /**
213
+ * Reserved for internal use.
214
+ * @internal
215
+ * @readonly
216
+ * @maxLength 24
217
+ */
218
+ internalId?: string | null;
219
+ /**
220
+ * Reserved for internal use.
221
+ * @internal
222
+ * @readonly
223
+ * @maxSize 10
224
+ * @maxLength 24
225
+ */
226
+ internalCategoryIds?: string[];
227
+ /**
228
+ * Reserved for internal use.
229
+ * @internal
230
+ * @readonly
231
+ * @maxSize 3
232
+ * @maxLength 24
233
+ */
234
+ internalRelatedPostIds?: string[];
235
+ /**
236
+ * Identifies if post is created from template
237
+ * Reserved for internal use.
238
+ * @internal
239
+ * @readonly
240
+ */
241
+ isDemo?: boolean | null;
149
242
  }
150
243
  interface PageUrl {
151
244
  /** The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`. */
@@ -187,11 +280,29 @@ interface Image {
187
280
  width?: number;
188
281
  /** Image alt text. */
189
282
  altText?: string | null;
283
+ /**
284
+ * Image URL expiration date (when relevant).
285
+ * @internal
286
+ * @readonly
287
+ */
288
+ urlExpirationDate?: Date | null;
190
289
  /**
191
290
  * Image filename.
192
291
  * @readonly
193
292
  */
194
293
  filename?: string | null;
294
+ /**
295
+ * Image size in bytes.
296
+ * @internal
297
+ * @readonly
298
+ * @format DECIMAL_VALUE
299
+ */
300
+ sizeInBytes?: string | null;
301
+ /**
302
+ * Focal point of the image.
303
+ * @internal
304
+ */
305
+ focalPoint?: FocalPoint;
195
306
  }
196
307
  interface FocalPoint {
197
308
  /** X-coordinate of the focal point. */
@@ -219,6 +330,18 @@ interface Metrics {
219
330
  * @readonly
220
331
  */
221
332
  views?: number;
333
+ /**
334
+ * Total number of post ratings.
335
+ * @internal
336
+ * @readonly
337
+ */
338
+ totalRatings?: number;
339
+ /**
340
+ * Average rating of post from 1 to 5.
341
+ * @internal
342
+ * @readonly
343
+ */
344
+ averageRating?: number;
222
345
  }
223
346
  /**
224
347
  * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
@@ -785,6 +908,8 @@ interface Animation {
785
908
  type?: TypeWithLiterals;
786
909
  /** Entrance animation, played once when the node first enters the viewport. */
787
910
  entrance?: EntranceAnimation;
911
+ /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes. */
912
+ loop?: LoopAnimation;
788
913
  }
789
914
  declare enum Type {
790
915
  /** Animations that play while the node is in view. */
@@ -859,6 +984,58 @@ declare enum EntranceEffectType {
859
984
  }
860
985
  /** @enumType */
861
986
  type EntranceEffectTypeWithLiterals = EntranceEffectType | 'FADE' | 'ARC' | 'BLUR' | 'BOUNCE' | 'DROP' | 'EXPAND' | 'FLIP' | 'FLOAT' | 'FOLD' | 'GLIDE' | 'REVEAL' | 'SHAPE' | 'SHUTTERS' | 'SLIDE' | 'SPIN' | 'TILT' | 'TURN' | 'WINK';
987
+ interface LoopAnimation {
988
+ /** The looping effect to repeat. */
989
+ effect?: LoopEffect;
990
+ /** Duration of a single iteration in milliseconds. Each effect has its own default. */
991
+ duration?: number | null;
992
+ /** Pause between iterations in milliseconds. */
993
+ iterationDelay?: number | null;
994
+ }
995
+ interface LoopEffect {
996
+ /** The looping effect type. */
997
+ type?: LoopEffectTypeWithLiterals;
998
+ /**
999
+ * Direction of the effect. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, LEFT/RIGHT, HORIZONTAL/VERTICAL with or without CENTER, CLOCKWISE/COUNTER_CLOCKWISE).
1000
+ * @maxLength 20
1001
+ */
1002
+ direction?: string | null;
1003
+ /**
1004
+ * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.
1005
+ * @maxLength 100
1006
+ */
1007
+ easing?: string | null;
1008
+ }
1009
+ declare enum LoopEffectType {
1010
+ /** Bounces up and down in place. */
1011
+ BOUNCE = "BOUNCE",
1012
+ /** Scales gently in and out along an axis. */
1013
+ BREATHE = "BREATHE",
1014
+ /** Drifts toward one side, then re-enters from the opposite side. */
1015
+ CROSS = "CROSS",
1016
+ /** Fades out to fully transparent and back in. */
1017
+ FLASH = "FLASH",
1018
+ /** Rotates a full turn around its horizontal or vertical axis. */
1019
+ FLIP = "FLIP",
1020
+ /** Folds back and forth around a hinged edge. */
1021
+ FOLD = "FOLD",
1022
+ /** Wobbles with a jelly-like skew. */
1023
+ JELLO = "JELLO",
1024
+ /** Nudges repeatedly toward a direction. */
1025
+ POKE = "POKE",
1026
+ /** Scales up and back down rhythmically. */
1027
+ PULSE = "PULSE",
1028
+ /** Stretches and squashes like a rubber band. */
1029
+ RUBBER = "RUBBER",
1030
+ /** Rotates continuously around its center. */
1031
+ SPIN = "SPIN",
1032
+ /** Swings back and forth around an edge pivot. */
1033
+ SWING = "SWING",
1034
+ /** Rocks side to side with an accumulating rotation. */
1035
+ WIGGLE = "WIGGLE"
1036
+ }
1037
+ /** @enumType */
1038
+ type LoopEffectTypeWithLiterals = LoopEffectType | 'BOUNCE' | 'BREATHE' | 'CROSS' | 'FLASH' | 'FLIP' | 'FOLD' | 'JELLO' | 'POKE' | 'PULSE' | 'RUBBER' | 'SPIN' | 'SWING' | 'WIGGLE';
862
1039
  interface CodeBlockData {
863
1040
  /** Styling for the code block's text. */
864
1041
  textStyle?: TextStyle;
@@ -1715,6 +1892,8 @@ interface MentionData {
1715
1892
  slug?: string;
1716
1893
  /** Mentioned user's ID. */
1717
1894
  id?: string | null;
1895
+ /** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */
1896
+ type?: string | null;
1718
1897
  }
1719
1898
  interface FontSizeData {
1720
1899
  /** The units used for the font size. */
@@ -2872,6 +3051,11 @@ interface WixMedia {
2872
3051
  interface VideoV2 {
2873
3052
  /** WixMedia ID. */
2874
3053
  id?: string;
3054
+ /**
3055
+ * Original video URL.
3056
+ * @internal
3057
+ */
3058
+ url?: string;
2875
3059
  /**
2876
3060
  * Available resolutions for the video, starting with the optimal resolution.
2877
3061
  * @readonly
@@ -2883,6 +3067,55 @@ interface VideoV2 {
2883
3067
  * @readonly
2884
3068
  */
2885
3069
  filename?: string | null;
3070
+ /**
3071
+ * Video posters.
3072
+ * @internal
3073
+ * @readonly
3074
+ */
3075
+ posters?: Image[];
3076
+ /**
3077
+ * Original video size in bytes.
3078
+ * @internal
3079
+ * @readonly
3080
+ * @format DECIMAL_VALUE
3081
+ */
3082
+ sizeInBytes?: string | null;
3083
+ /**
3084
+ * Video URL expiration date (when relevant).
3085
+ * @internal
3086
+ * @readonly
3087
+ */
3088
+ urlExpirationDate?: Date | null;
3089
+ /**
3090
+ * Original video duration in milliseconds.
3091
+ * @internal
3092
+ * @readonly
3093
+ */
3094
+ durationInMilliseconds?: number | null;
3095
+ /**
3096
+ * A short title for the video. will be used for SEO purposes.
3097
+ * @internal
3098
+ * @maxLength 300
3099
+ */
3100
+ title?: string | null;
3101
+ /**
3102
+ * A long description for the video. will be used for SEO purposes.
3103
+ * @internal
3104
+ * @maxLength 2000
3105
+ */
3106
+ description?: string | null;
3107
+ /**
3108
+ * Original video height.
3109
+ * @internal
3110
+ * @readonly
3111
+ */
3112
+ height?: number | null;
3113
+ /**
3114
+ * Original video width.
3115
+ * @internal
3116
+ * @readonly
3117
+ */
3118
+ width?: number | null;
2886
3119
  }
2887
3120
  interface VideoResolution {
2888
3121
  /** Video URL. */
@@ -2891,8 +3124,68 @@ interface VideoResolution {
2891
3124
  height?: number;
2892
3125
  /** Video width. */
2893
3126
  width?: number;
3127
+ /**
3128
+ * Deprecated. Use the `posters` property in the parent entity instead.
3129
+ * @internal
3130
+ * @deprecated
3131
+ */
3132
+ poster?: Image;
2894
3133
  /** Video format for example, mp4, hls. */
2895
3134
  format?: string;
3135
+ /**
3136
+ * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.
3137
+ * @internal
3138
+ * @deprecated
3139
+ */
3140
+ urlExpirationDate?: Date | null;
3141
+ /**
3142
+ * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.
3143
+ * @internal
3144
+ * @format DECIMAL_VALUE
3145
+ * @deprecated
3146
+ */
3147
+ sizeInBytes?: string | null;
3148
+ /**
3149
+ * Video quality. For example: 480p, 720p.
3150
+ * @internal
3151
+ */
3152
+ quality?: string | null;
3153
+ /**
3154
+ * Video filename.
3155
+ * @internal
3156
+ */
3157
+ filename?: string | null;
3158
+ /**
3159
+ * Video duration in seconds.
3160
+ * @internal
3161
+ * @readonly
3162
+ * @deprecated Video duration in seconds.
3163
+ * @replacedBy duration_in_milliseconds
3164
+ * @targetRemovalDate 2024-08-01
3165
+ */
3166
+ durationInSeconds?: number | null;
3167
+ /**
3168
+ * Video duration in milliseconds.
3169
+ * @internal
3170
+ * @readonly
3171
+ */
3172
+ durationInMilliseconds?: number | null;
3173
+ /**
3174
+ * When true, this is a protected asset, and calling the URL will return a 403 error.
3175
+ * In order to access private assets, make a request to:
3176
+ * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request
3177
+ * @internal
3178
+ * @readonly
3179
+ */
3180
+ private?: boolean | null;
3181
+ /**
3182
+ * Key to identify the video resolution's relationship to the original media in WixMedia.
3183
+ * Can be used to request a download for the specific video resolution.
3184
+ * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4
3185
+ * @internal
3186
+ * @readonly
3187
+ */
3188
+ assetKey?: string | null;
2896
3189
  }
2897
3190
  interface EmbedMedia {
2898
3191
  /** Thumbnail details. */
@@ -3106,8 +3399,18 @@ interface DomainEventBodyOneOf {
3106
3399
  }
3107
3400
  interface EntityCreatedEvent {
3108
3401
  entityAsJson?: string;
3402
+ /**
3403
+ * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
3404
+ * @internal
3405
+ */
3406
+ triggeredByUndelete?: boolean | null;
3109
3407
  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
3110
3408
  restoreInfo?: RestoreInfo;
3409
+ /**
3410
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
3411
+ * @internal
3412
+ */
3413
+ additionalMetadataAsJson?: string | null;
3111
3414
  }
3112
3415
  interface RestoreInfo {
3113
3416
  deletedDate?: Date | null;
@@ -3119,10 +3422,42 @@ interface EntityUpdatedEvent {
3119
3422
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
3120
3423
  */
3121
3424
  currentEntityAsJson?: string;
3425
+ /**
3426
+ * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
3427
+ * wont populate it / have any reference to it in the API.
3428
+ * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
3429
+ * the developer should send only the new (current) entity.
3430
+ * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
3431
+ * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
3432
+ * @internal
3433
+ * @deprecated
3434
+ */
3435
+ previousEntityAsJson?: string | null;
3436
+ /**
3437
+ * Map of fully qualified field paths to their previous values for fields that changed.
3438
+ * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
3439
+ * @internal
3440
+ */
3441
+ modifiedFields?: Record<string, any>;
3442
+ /**
3443
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
3444
+ * @internal
3445
+ */
3446
+ additionalMetadataAsJson?: string | null;
3122
3447
  }
3123
3448
  interface EntityDeletedEvent {
3449
+ /**
3450
+ * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
3451
+ * @internal
3452
+ */
3453
+ movedToTrash?: boolean | null;
3124
3454
  /** Entity that was deleted. */
3125
3455
  deletedEntityAsJson?: string | null;
3456
+ /**
3457
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
3458
+ * @internal
3459
+ */
3460
+ additionalMetadataAsJson?: string | null;
3126
3461
  }
3127
3462
  interface ActionEvent {
3128
3463
  bodyAsJson?: string;
@@ -3265,6 +3600,20 @@ interface PeriodPublicationsCount {
3265
3600
  interface QueryPostCountStatsRequest {
3266
3601
  /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3267
3602
  rangeStart?: Date | null;
3603
+ /**
3604
+ * __Deprecated.__ Use `months` instead.
3605
+ * This property will be removed on June 30, 2023.
3606
+ *
3607
+ * Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format.
3608
+ * @internal
3609
+ * @deprecated __Deprecated.__ Use `months` instead.
3610
+ * This property will be removed on June 30, 2023.
3611
+ *
3612
+ * Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format.
3613
+ * @replacedBy months
3614
+ * @targetRemovalDate 2024-06-30
3615
+ */
3616
+ rangeEnd?: Date | null;
3268
3617
  /**
3269
3618
  * Order of returned results.
3270
3619
  *
@@ -3338,136 +3687,115 @@ interface GetTotalPostsResponse {
3338
3687
  /** Total amount of published posts. */
3339
3688
  total?: number;
3340
3689
  }
3341
- interface ListDemoPostsRequest {
3342
- /**
3343
- * Whether to return only featured posts.
3344
- *
3345
- * Default: `false`
3346
- */
3347
- featured?: boolean;
3348
- /**
3349
- * Hashtag filter.
3350
- *
3351
- * Pass an array of hashtags to return only posts containing any of the provided hashtags.
3352
- * If omitted, all posts with or without hashtags are returned.
3353
- * @maxSize 100
3354
- * @maxLength 100
3355
- */
3356
- hashtags?: string[];
3690
+ interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
3357
3691
  /**
3358
- * Category filter.
3359
- *
3360
- * Pass an array of category IDs to return only posts with any of the provided categories.
3361
- * If omitted, all posts with or without associated categories are returned.
3362
- * @maxSize 50
3692
+ * Member ID of person who triggered the counter update
3363
3693
  * @format GUID
3364
3694
  */
3365
- categoryIds?: string[];
3695
+ memberId?: string | null;
3366
3696
  /**
3367
- * Tag filter.
3368
- *
3369
- * Pass an array of tag IDs to return only posts with any of the provided tags.
3370
- * If omitted, all posts with or without tags are returned.
3371
- * @maxSize 50
3697
+ * Visitor ID if person that liked the post is not logged in
3372
3698
  * @format GUID
3373
3699
  */
3374
- tagIds?: string[];
3375
- /**
3376
- * Sorting options.
3377
- *
3378
- * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
3379
- * - `VIEW_COUNT`: Ordered by total number of views in descending order.
3380
- * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
3381
- * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
3382
- * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
3383
- * - `TITLE_ASC`: Ordered by `title` in ascending order.
3384
- * - `TITLE_DESC`: Ordered by `title` in descending order.
3385
- * - `RATING`: reserved for internal use.
3386
- *
3387
- * Default: `FEED`
3388
- */
3389
- sort?: GetPostsSortWithLiterals;
3390
- /** Pagination options. */
3391
- paging?: BlogPaging;
3700
+ anonymousVisitorId?: string | null;
3392
3701
  /**
3393
- * __Deprecated.__ Use `fieldsets` instead.
3394
- * This parameter will be removed on June 30, 2023.
3395
- *
3396
- * List of post fields to be included in the response.
3397
- * @maxSize 20
3398
- * @deprecated __Deprecated.__ Use `fieldsets` instead.
3399
- * This parameter will be removed on June 30, 2023.
3400
- *
3401
- * List of post fields to be included in the response.
3402
- * @replacedBy fieldsets
3403
- * @targetRemovalDate 2024-06-30
3702
+ * ID of the post which counters were updated.
3703
+ * @format GUID
3404
3704
  */
3405
- fieldsToInclude?: PostFieldFieldWithLiterals[];
3705
+ postId?: string;
3406
3706
  /**
3407
- * Language filter.
3408
- *
3409
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3410
- * Pass a language to only receive posts that are in that language.
3411
- * If omitted, posts in all languages are returned.
3412
- * @format LANGUAGE_TAG
3707
+ * Internal ID of the post which counters were updated.
3708
+ * @internal
3709
+ * @maxLength 24
3413
3710
  */
3414
- language?: string | null;
3711
+ postInternalId?: string;
3712
+ /** Field of the updated counter. */
3713
+ updatedCounterField?: FieldWithLiterals;
3714
+ /** New counter value. */
3715
+ counter?: number;
3716
+ }
3717
+ /** @oneof */
3718
+ interface PostCountersUpdatedInitiatorOneOf {
3415
3719
  /**
3416
- * Post owner's member ID.
3720
+ * Member ID of person who triggered the counter update
3417
3721
  * @format GUID
3418
3722
  */
3419
3723
  memberId?: string | null;
3420
3724
  /**
3421
- * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3422
- * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3423
- * only the post’s base fields are returned.
3424
- * @maxSize 20
3725
+ * Visitor ID if person that liked the post is not logged in
3726
+ * @format GUID
3425
3727
  */
3426
- fieldsets?: PostFieldFieldWithLiterals[];
3728
+ anonymousVisitorId?: string | null;
3427
3729
  }
3428
- declare enum GetPostsSort {
3429
- /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
3430
- FEED = "FEED",
3431
- /** Ordered by `firstPublishedDate` in ascending order. */
3432
- PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
3433
- /** Ordered by `firstPublishedDate` in descending order. */
3434
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
3435
- /** Ordered by total number of views in descending order. */
3436
- VIEW_COUNT = "VIEW_COUNT",
3437
- /** Ordered by total number of likes in descending order. */
3730
+ declare enum Field {
3731
+ /** Undefined field. */
3732
+ UNKNOWN = "UNKNOWN",
3733
+ /** Total comments field. */
3734
+ TOTAL_COMMENTS = "TOTAL_COMMENTS",
3735
+ /** Like count field. */
3438
3736
  LIKE_COUNT = "LIKE_COUNT",
3439
- /** Ordered by `title` in ascending order. */
3440
- TITLE_ASC = "TITLE_ASC",
3441
- /** Ordered by `title` in descending order. */
3442
- TITLE_DESC = "TITLE_DESC"
3737
+ /** View count field. */
3738
+ VIEW_COUNT = "VIEW_COUNT",
3739
+ /** Rating count field. */
3740
+ RATING_COUNT = "RATING_COUNT"
3443
3741
  }
3444
3742
  /** @enumType */
3445
- type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
3446
- interface BlogPaging {
3743
+ type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
3744
+ interface PostOwnerChanged {
3447
3745
  /**
3448
- * Number of items to skip in the current sort order.
3449
- *
3450
- *
3451
- * Default: `0`
3746
+ * Member ID of the post's owner before the change.
3747
+ * @internal
3748
+ * @format GUID
3452
3749
  */
3453
- offset?: number;
3750
+ oldMemberId?: string;
3454
3751
  /**
3455
- * Number of items to return.
3752
+ * Member ID of the post's owner after the change.
3753
+ * @internal
3754
+ * @format GUID
3755
+ */
3756
+ newMemberId?: string;
3757
+ }
3758
+ interface InitialPostsCopied {
3759
+ /** Number of posts copied. */
3760
+ count?: number;
3761
+ }
3762
+ interface GetPostRequest {
3763
+ /**
3764
+ * Post ID.
3765
+ * @minLength 1
3766
+ * @maxLength 38
3767
+ */
3768
+ postId: string;
3769
+ /**
3770
+ * __Deprecated.__ Use `fieldsets` instead.
3771
+ * This parameter will be removed on June 30, 2023.
3456
3772
  *
3773
+ * List of post fields to be included in the response.
3774
+ * @internal
3775
+ * @maxSize 20
3776
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
3777
+ * This parameter will be removed on June 30, 2023.
3457
3778
  *
3458
- * Default:`50`
3459
- * @min 1
3460
- * @max 100
3779
+ * List of post fields to be included in the response.
3780
+ * @replacedBy fieldsets
3781
+ * @targetRemovalDate 2024-06-30
3461
3782
  */
3462
- limit?: number;
3783
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
3463
3784
  /**
3464
- * Pointer to the next or previous page in the list of results.
3465
- * @maxLength 2000
3785
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3786
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3787
+ * only the post’s base fields are returned.
3788
+ * @maxSize 20
3466
3789
  */
3467
- cursor?: string | null;
3790
+ fieldsets?: PostFieldFieldWithLiterals[];
3468
3791
  }
3469
3792
  declare enum PostFieldField {
3470
3793
  UNKNOWN = "UNKNOWN",
3794
+ /**
3795
+ * Deprecated use `METRICS` instead.
3796
+ * @internal
3797
+ */
3798
+ COUNTERS = "COUNTERS",
3471
3799
  /** Includes post URL when present. */
3472
3800
  URL = "URL",
3473
3801
  /** Includes post content text string when present. */
@@ -3476,103 +3804,72 @@ declare enum PostFieldField {
3476
3804
  METRICS = "METRICS",
3477
3805
  /** Includes SEO data. */
3478
3806
  SEO = "SEO",
3807
+ /**
3808
+ * Includes post content as a stringified DraftJS document.
3809
+ * Reserved for internal use.
3810
+ * @internal
3811
+ */
3812
+ CONTENT = "CONTENT",
3813
+ /**
3814
+ * Includes internal ID field.
3815
+ * Reserved for internal use.
3816
+ * @internal
3817
+ */
3818
+ INTERNAL_ID = "INTERNAL_ID",
3479
3819
  /** Includes post owner's contact ID. */
3480
3820
  CONTACT_ID = "CONTACT_ID",
3481
3821
  /** Includes post rich content. */
3482
3822
  RICH_CONTENT = "RICH_CONTENT",
3483
- /** Includes post reference ID field. */
3484
- REFERENCE_ID = "REFERENCE_ID"
3485
- }
3486
- /** @enumType */
3487
- type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
3488
- interface ListDemoPostsResponse {
3489
- /** List of posts. */
3490
- posts?: Post[];
3491
- /** Details on the paged set of results returned. */
3492
- metaData?: MetaData;
3493
- }
3494
- interface MetaData {
3495
- /** Number of items returned in this response. */
3496
- count?: number;
3497
- /** Requested offset. */
3498
- offset?: number;
3499
- /** Total number of items that match the query. */
3500
- total?: number;
3501
3823
  /**
3502
- * Pointer to the next or previous page in the list of results.
3503
- * @maxLength 2000
3824
+ * Includes post rich content string.
3825
+ * @internal
3504
3826
  */
3505
- cursor?: string | null;
3506
- }
3507
- interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
3827
+ RICH_CONTENT_STRING = "RICH_CONTENT_STRING",
3508
3828
  /**
3509
- * Member ID of person who triggered the counter update
3510
- * @format GUID
3829
+ * Includes compressed post rich content string.
3830
+ * @internal
3511
3831
  */
3512
- memberId?: string | null;
3832
+ RICH_CONTENT_COMPRESSED = "RICH_CONTENT_COMPRESSED",
3513
3833
  /**
3514
- * Visitor ID if person that liked the post is not logged in
3515
- * @format GUID
3834
+ * Includes post translations.
3835
+ * @internal
3516
3836
  */
3517
- anonymousVisitorId?: string | null;
3837
+ TRANSLATIONS = "TRANSLATIONS",
3838
+ /** Includes post reference ID field. */
3839
+ REFERENCE_ID = "REFERENCE_ID",
3518
3840
  /**
3519
- * ID of the post which counters were updated.
3520
- * @format GUID
3841
+ * If provided, all content fields exclude paid content.
3842
+ * @internal
3521
3843
  */
3522
- postId?: string;
3523
- /** Field of the updated counter. */
3524
- updatedCounterField?: FieldWithLiterals;
3525
- /** New counter value. */
3526
- counter?: number;
3527
- }
3528
- /** @oneof */
3529
- interface PostCountersUpdatedInitiatorOneOf {
3844
+ EXCLUDE_PAID_CONTENT = "EXCLUDE_PAID_CONTENT",
3530
3845
  /**
3531
- * Member ID of person who triggered the counter update
3532
- * @format GUID
3846
+ * Needed for post proxy to work correctly.
3847
+ * @internal
3533
3848
  */
3534
- memberId?: string | null;
3849
+ SEO_DATA = "SEO_DATA",
3535
3850
  /**
3536
- * Visitor ID if person that liked the post is not logged in
3537
- * @format GUID
3851
+ * Needed for post proxy to work correctly.
3852
+ * @internal
3538
3853
  */
3539
- anonymousVisitorId?: string | null;
3540
- }
3541
- declare enum Field {
3542
- /** Undefined field. */
3543
- UNKNOWN = "UNKNOWN",
3544
- /** Total comments field. */
3545
- TOTAL_COMMENTS = "TOTAL_COMMENTS",
3546
- /** Like count field. */
3547
- LIKE_COUNT = "LIKE_COUNT",
3548
- /** View count field. */
3549
- VIEW_COUNT = "VIEW_COUNT",
3550
- /** Rating count field. */
3551
- RATING_COUNT = "RATING_COUNT"
3552
- }
3553
- /** @enumType */
3554
- type FieldWithLiterals = Field | 'UNKNOWN' | 'TOTAL_COMMENTS' | 'LIKE_COUNT' | 'VIEW_COUNT' | 'RATING_COUNT';
3555
- interface PostOwnerChanged {
3556
- }
3557
- interface InitialPostsCopied {
3558
- /** Number of posts copied. */
3559
- count?: number;
3560
- }
3561
- interface GetPostRequest {
3854
+ OWNER = "OWNER",
3562
3855
  /**
3563
- * Post ID.
3564
- * @minLength 1
3565
- * @maxLength 38
3856
+ * Needed for post proxy to work correctly.
3857
+ * @internal
3566
3858
  */
3567
- postId: string;
3859
+ HAS_UNPUBLISHED_CHANGES = "HAS_UNPUBLISHED_CHANGES",
3568
3860
  /**
3569
- * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3570
- * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
3571
- * only the post’s base fields are returned.
3572
- * @maxSize 20
3861
+ * Needed for post proxy to work correctly.
3862
+ * @internal
3573
3863
  */
3574
- fieldsets?: PostFieldFieldWithLiterals[];
3864
+ HEADING = "HEADING",
3865
+ /**
3866
+ * Needed for post proxy to work correctly.
3867
+ * @internal
3868
+ */
3869
+ IMAGE = "IMAGE"
3575
3870
  }
3871
+ /** @enumType */
3872
+ type PostFieldFieldWithLiterals = PostFieldField | 'UNKNOWN' | 'URL' | 'CONTENT_TEXT' | 'METRICS' | 'SEO' | 'CONTACT_ID' | 'RICH_CONTENT' | 'REFERENCE_ID';
3576
3873
  interface GetPostResponse {
3577
3874
  /** Retrieved post info. */
3578
3875
  post?: Post;
@@ -3584,6 +3881,21 @@ interface GetPostBySlugRequest {
3584
3881
  * @maxLength 200
3585
3882
  */
3586
3883
  slug: string;
3884
+ /**
3885
+ * __Deprecated.__ Use `fieldsets` instead.
3886
+ * This parameter will be removed on June 30, 2023.
3887
+ *
3888
+ * List of post fields to be included in the response.
3889
+ * @internal
3890
+ * @maxSize 20
3891
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
3892
+ * This parameter will be removed on June 30, 2023.
3893
+ *
3894
+ * List of post fields to be included in the response.
3895
+ * @replacedBy fieldsets
3896
+ * @targetRemovalDate 2024-06-30
3897
+ */
3898
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
3587
3899
  /**
3588
3900
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3589
3901
  * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
@@ -3643,6 +3955,21 @@ interface ListPostsRequest {
3643
3955
  sort?: GetPostsSortWithLiterals;
3644
3956
  /** Pagination options. */
3645
3957
  paging?: BlogPaging;
3958
+ /**
3959
+ * __Deprecated.__ Use `fieldsets` instead.
3960
+ * This parameter will be removed on June 30, 2023.
3961
+ *
3962
+ * List of post fields to be included in the response.
3963
+ * @internal
3964
+ * @maxSize 20
3965
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
3966
+ * This parameter will be removed on June 30, 2023.
3967
+ *
3968
+ * List of post fields to be included in the response.
3969
+ * @replacedBy fieldsets
3970
+ * @targetRemovalDate 2024-06-30
3971
+ */
3972
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
3646
3973
  /**
3647
3974
  * Language filter.
3648
3975
  *
@@ -3665,13 +3992,130 @@ interface ListPostsRequest {
3665
3992
  */
3666
3993
  fieldsets?: PostFieldFieldWithLiterals[];
3667
3994
  }
3995
+ declare enum GetPostsSort {
3996
+ /** Ordered by `firstPublishedDate` in descending order with pinned posts first. */
3997
+ FEED = "FEED",
3998
+ /** Ordered by `firstPublishedDate` in ascending order. */
3999
+ PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
4000
+ /** Ordered by `firstPublishedDate` in descending order. */
4001
+ PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC",
4002
+ /** Ordered by total number of views in descending order. */
4003
+ VIEW_COUNT = "VIEW_COUNT",
4004
+ /** Ordered by total number of likes in descending order. */
4005
+ LIKE_COUNT = "LIKE_COUNT",
4006
+ /** Ordered by `title` in ascending order. */
4007
+ TITLE_ASC = "TITLE_ASC",
4008
+ /** Ordered by `title` in descending order. */
4009
+ TITLE_DESC = "TITLE_DESC",
4010
+ /**
4011
+ * Sorting by post rating descending.
4012
+ * @internal
4013
+ */
4014
+ RATING = "RATING"
4015
+ }
4016
+ /** @enumType */
4017
+ type GetPostsSortWithLiterals = GetPostsSort | 'FEED' | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC' | 'VIEW_COUNT' | 'LIKE_COUNT' | 'TITLE_ASC' | 'TITLE_DESC';
4018
+ interface BlogPaging {
4019
+ /**
4020
+ * Number of items to skip in the current sort order.
4021
+ *
4022
+ *
4023
+ * Default: `0`
4024
+ */
4025
+ offset?: number;
4026
+ /**
4027
+ * Number of items to return.
4028
+ *
4029
+ *
4030
+ * Default:`50`
4031
+ * @min 1
4032
+ * @max 100
4033
+ */
4034
+ limit?: number;
4035
+ /**
4036
+ * Pointer to the next or previous page in the list of results.
4037
+ * @maxLength 2000
4038
+ */
4039
+ cursor?: string | null;
4040
+ }
3668
4041
  interface ListPostsResponse {
3669
4042
  /** List of retrieved posts. */
3670
4043
  posts?: Post[];
3671
4044
  /** Details on the paged set of results returned. */
3672
4045
  metaData?: MetaData;
3673
4046
  }
4047
+ interface MetaData {
4048
+ /** Number of items returned in this response. */
4049
+ count?: number;
4050
+ /** Requested offset. */
4051
+ offset?: number;
4052
+ /** Total number of items that match the query. */
4053
+ total?: number;
4054
+ /**
4055
+ * Pointer to the next or previous page in the list of results.
4056
+ * @maxLength 2000
4057
+ */
4058
+ cursor?: string | null;
4059
+ }
3674
4060
  interface QueryPostsRequest {
4061
+ /**
4062
+ * __Deprecated.__ Use `query` instead.
4063
+ * This parameter will be removed on June 30, 2023.
4064
+ *
4065
+ * Pagination options.
4066
+ * @internal
4067
+ * @deprecated __Deprecated.__ Use `query` instead.
4068
+ * This parameter will be removed on June 30, 2023.
4069
+ *
4070
+ * Pagination options.
4071
+ * @replacedBy query
4072
+ * @targetRemovalDate 2024-06-30
4073
+ */
4074
+ paging?: BlogPaging;
4075
+ /**
4076
+ * __Deprecated.__ Use `query` instead.
4077
+ * This parameter will be removed on June 30, 2023.
4078
+ *
4079
+ * Filter object.
4080
+ * @internal
4081
+ * @deprecated __Deprecated.__ Use `query` instead.
4082
+ * This parameter will be removed on June 30, 2023.
4083
+ *
4084
+ * Filter object.
4085
+ * @replacedBy query
4086
+ * @targetRemovalDate 2024-06-30
4087
+ */
4088
+ filter?: Record<string, any> | null;
4089
+ /**
4090
+ * __Deprecated.__ Use `query` instead.
4091
+ * This parameter will be removed on June 30, 2023.
4092
+ *
4093
+ * Sorting options.
4094
+ * @internal
4095
+ * @maxSize 3
4096
+ * @deprecated __Deprecated.__ Use `query` instead.
4097
+ * This parameter will be removed on June 30, 2023.
4098
+ *
4099
+ * Sorting options.
4100
+ * @replacedBy query
4101
+ * @targetRemovalDate 2024-06-30
4102
+ */
4103
+ sort?: Sorting[];
4104
+ /**
4105
+ * __Deprecated.__ Use `fieldsets` instead.
4106
+ * This parameter will be removed on June 30, 2023.
4107
+ *
4108
+ * List of post fields to be included in the response.
4109
+ * @internal
4110
+ * @maxSize 20
4111
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
4112
+ * This parameter will be removed on June 30, 2023.
4113
+ *
4114
+ * List of post fields to be included in the response.
4115
+ * @replacedBy fieldsets
4116
+ * @targetRemovalDate 2024-06-30
4117
+ */
4118
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
3675
4119
  /** Query options. */
3676
4120
  query?: PlatformQuery;
3677
4121
  /**
@@ -3690,6 +4134,20 @@ interface Sorting {
3690
4134
  fieldName?: string;
3691
4135
  /** Sort order. */
3692
4136
  order?: SortOrderWithLiterals;
4137
+ /**
4138
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
4139
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
4140
+ *
4141
+ * If multiple filters are provided, they are combined with AND operator.
4142
+ *
4143
+ * Example:
4144
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
4145
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
4146
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
4147
+ * @internal
4148
+ * @maxSize 10
4149
+ */
4150
+ selectItemsBy?: Record<string, any>[] | null;
3693
4151
  /**
3694
4152
  * Origin point for geo-distance sorting on a GEO field
3695
4153
  * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
@@ -3764,6 +4222,20 @@ interface CursorPaging {
3764
4222
  interface QueryPostsResponse {
3765
4223
  /** List of retrieved posts. */
3766
4224
  posts?: Post[];
4225
+ /**
4226
+ * __Deprecated.__ Use `pagingMetadata` instead.
4227
+ * This property will be removed on June 30, 2023.
4228
+ *
4229
+ * Details on the paged set of results returned.
4230
+ * @internal
4231
+ * @deprecated __Deprecated.__ Use `pagingMetadata` instead.
4232
+ * This property will be removed on June 30, 2023.
4233
+ *
4234
+ * Details on the paged set of results returned.
4235
+ * @replacedBy pagingMetadata
4236
+ * @targetRemovalDate 2024-06-30
4237
+ */
4238
+ metaData?: MetaData;
3767
4239
  /** Details on the paged set of results returned. */
3768
4240
  pagingMetadata?: PagingMetadataV2;
3769
4241
  }
@@ -3778,6 +4250,13 @@ interface PagingMetadataV2 {
3778
4250
  tooManyToCount?: boolean | null;
3779
4251
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
3780
4252
  cursors?: Cursors;
4253
+ /**
4254
+ * Indicates if there are more results after the current page.
4255
+ * If `true`, another page of results can be retrieved.
4256
+ * If `false`, this is the last page.
4257
+ * @internal
4258
+ */
4259
+ hasNext?: boolean | null;
3781
4260
  }
3782
4261
  interface Cursors {
3783
4262
  /**
@@ -4025,6 +4504,99 @@ interface PostCount {
4025
4504
  /** Number of posts. */
4026
4505
  postCount?: number;
4027
4506
  }
4507
+ interface ListDemoPostsRequest {
4508
+ /**
4509
+ * Whether to return only featured posts.
4510
+ *
4511
+ * Default: `false`
4512
+ */
4513
+ featured?: boolean;
4514
+ /**
4515
+ * Hashtag filter.
4516
+ *
4517
+ * Pass an array of hashtags to return only posts containing any of the provided hashtags.
4518
+ * If omitted, all posts with or without hashtags are returned.
4519
+ * @maxSize 100
4520
+ * @maxLength 100
4521
+ */
4522
+ hashtags?: string[];
4523
+ /**
4524
+ * Category filter.
4525
+ *
4526
+ * Pass an array of category IDs to return only posts with any of the provided categories.
4527
+ * If omitted, all posts with or without associated categories are returned.
4528
+ * @maxSize 50
4529
+ * @format GUID
4530
+ */
4531
+ categoryIds?: string[];
4532
+ /**
4533
+ * Tag filter.
4534
+ *
4535
+ * Pass an array of tag IDs to return only posts with any of the provided tags.
4536
+ * If omitted, all posts with or without tags are returned.
4537
+ * @maxSize 50
4538
+ * @format GUID
4539
+ */
4540
+ tagIds?: string[];
4541
+ /**
4542
+ * Sorting options.
4543
+ *
4544
+ * - `FEED`: Ordered by `firstPublishedDate` in descending order with pinned posts first.
4545
+ * - `VIEW_COUNT`: Ordered by total number of views in descending order.
4546
+ * - `LIKE_COUNT`: Ordered by total number of likes in descending order.
4547
+ * - `PUBLISHED_DATE_ASC`: Ordered by `firstPublishedDate` in ascending order.
4548
+ * - `PUBLISHED_DATE_DESC`: Ordered by `firstPublishedDate` in descending order.
4549
+ * - `TITLE_ASC`: Ordered by `title` in ascending order.
4550
+ * - `TITLE_DESC`: Ordered by `title` in descending order.
4551
+ * - `RATING`: reserved for internal use.
4552
+ *
4553
+ * Default: `FEED`
4554
+ */
4555
+ sort?: GetPostsSortWithLiterals;
4556
+ /** Pagination options. */
4557
+ paging?: BlogPaging;
4558
+ /**
4559
+ * __Deprecated.__ Use `fieldsets` instead.
4560
+ * This parameter will be removed on June 30, 2023.
4561
+ *
4562
+ * List of post fields to be included in the response.
4563
+ * @maxSize 20
4564
+ * @deprecated __Deprecated.__ Use `fieldsets` instead.
4565
+ * This parameter will be removed on June 30, 2023.
4566
+ *
4567
+ * List of post fields to be included in the response.
4568
+ * @replacedBy fieldsets
4569
+ * @targetRemovalDate 2024-06-30
4570
+ */
4571
+ fieldsToInclude?: PostFieldFieldWithLiterals[];
4572
+ /**
4573
+ * Language filter.
4574
+ *
4575
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
4576
+ * Pass a language to only receive posts that are in that language.
4577
+ * If omitted, posts in all languages are returned.
4578
+ * @format LANGUAGE_TAG
4579
+ */
4580
+ language?: string | null;
4581
+ /**
4582
+ * Post owner's member ID.
4583
+ * @format GUID
4584
+ */
4585
+ memberId?: string | null;
4586
+ /**
4587
+ * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4588
+ * the response in addition to the post’s base fields. Base fields don’t include any of the supported fieldset values. By default
4589
+ * only the post’s base fields are returned.
4590
+ * @maxSize 20
4591
+ */
4592
+ fieldsets?: PostFieldFieldWithLiterals[];
4593
+ }
4594
+ interface ListDemoPostsResponse {
4595
+ /** List of posts. */
4596
+ posts?: Post[];
4597
+ /** Details on the paged set of results returned. */
4598
+ metaData?: MetaData;
4599
+ }
4028
4600
 
4029
4601
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4030
4602
  getUrl: (context: any) => string;
@@ -4050,4 +4622,4 @@ declare function getPostMetrics(): __PublicMethodMetaInfo<'GET', {
4050
4622
  postId: string;
4051
4623
  }, GetPostMetricsRequest$1, GetPostMetricsRequest, GetPostMetricsResponse$1, GetPostMetricsResponse>;
4052
4624
 
4053
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type Animation as AnimationOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkDeletePostsRequest as BulkDeletePostsRequestOriginal, type BulkDeletePostsResponse as BulkDeletePostsResponseOriginal, type BulkGetPostReactionsRequest as BulkGetPostReactionsRequestOriginal, type BulkGetPostReactionsResponse as BulkGetPostReactionsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckboxListData as CheckboxListDataOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeletePostRequest as DeletePostRequestOriginal, type DeletePostResponse as DeletePostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntranceAnimation as EntranceAnimationOriginal, type EntranceEffect as EntranceEffectOriginal, EntranceEffectType as EntranceEffectTypeOriginal, type EntranceEffectTypeWithLiterals as EntranceEffectTypeWithLiteralsOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetPostBySlugRequest as GetPostBySlugRequestOriginal, type GetPostBySlugResponse as GetPostBySlugResponseOriginal, type GetPostCountPerMonthRequest as GetPostCountPerMonthRequestOriginal, type GetPostCountPerMonthResponse as GetPostCountPerMonthResponseOriginal, type GetPostCountsRequest as GetPostCountsRequestOriginal, type GetPostCountsResponse as GetPostCountsResponseOriginal, type GetPostMetricsRequest as GetPostMetricsRequestOriginal, type GetPostMetricsResponse as GetPostMetricsResponseOriginal, type GetPostRequest as GetPostRequestOriginal, type GetPostResponse as GetPostResponseOriginal, GetPostsSort as GetPostsSortOriginal, type GetPostsSortWithLiterals as GetPostsSortWithLiteralsOriginal, type GetTotalLikesPerMemberRequest as GetTotalLikesPerMemberRequestOriginal, type GetTotalLikesPerMemberResponse as GetTotalLikesPerMemberResponseOriginal, type GetTotalPostsRequest as GetTotalPostsRequestOriginal, type GetTotalPostsResponse as GetTotalPostsResponseOriginal, type GetTotalPublicationsRequest as GetTotalPublicationsRequestOriginal, type GetTotalPublicationsResponse as GetTotalPublicationsResponseOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type InitialPostsCopied as InitialPostsCopiedOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, type LikePostRequest as LikePostRequestOriginal, type LikePostResponse as LikePostResponseOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDemoPostsRequest as ListDemoPostsRequestOriginal, type ListDemoPostsResponse as ListDemoPostsResponseOriginal, type ListItemNodeData as ListItemNodeDataOriginal, type ListPostsArchiveRequest as ListPostsArchiveRequestOriginal, type ListPostsArchiveResponse as ListPostsArchiveResponseOriginal, type ListPostsRequest as ListPostsRequestOriginal, type ListPostsResponse as ListPostsResponseOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type Metrics as MetricsOriginal, type ModerationDetails as ModerationDetailsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, Order as OrderOriginal, type OrderWithLiterals as OrderWithLiteralsOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type PeriodPostCount as PeriodPostCountOriginal, type PeriodPublicationsCount as PeriodPublicationsCountOriginal, type Permissions as PermissionsOriginal, type PinPostRequest as PinPostRequestOriginal, type PinPostResponse as PinPostResponseOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PostCategoriesUpdated as PostCategoriesUpdatedOriginal, type PostCountInfo as PostCountInfoOriginal, type PostCount as PostCountOriginal, type PostCountPerMonth as PostCountPerMonthOriginal, type PostCountersUpdatedInitiatorOneOf as PostCountersUpdatedInitiatorOneOfOriginal, type PostCountersUpdated as PostCountersUpdatedOriginal, PostFieldField as PostFieldFieldOriginal, type PostFieldFieldWithLiterals as PostFieldFieldWithLiteralsOriginal, type PostLikedInitiatorOneOf as PostLikedInitiatorOneOfOriginal, type PostLiked as PostLikedOriginal, type Post as PostOriginal, type PostOwnerChanged as PostOwnerChangedOriginal, type PostTagsUpdated as PostTagsUpdatedOriginal, type PostTranslation as PostTranslationOriginal, type PostUnlikedInitiatorOneOf as PostUnlikedInitiatorOneOfOriginal, type PostUnliked as PostUnlikedOriginal, type PricingData as PricingDataOriginal, type QueryPostCountStatsRequest as QueryPostCountStatsRequestOriginal, type QueryPostCountStatsResponse as QueryPostCountStatsResponseOriginal, type QueryPostsRequest as QueryPostsRequestOriginal, type QueryPostsResponse as QueryPostsResponseOriginal, QueryPublicationsCountStatsRequestOrder as QueryPublicationsCountStatsRequestOrderOriginal, type QueryPublicationsCountStatsRequestOrderWithLiterals as QueryPublicationsCountStatsRequestOrderWithLiteralsOriginal, type QueryPublicationsCountStatsRequest as QueryPublicationsCountStatsRequestOriginal, type QueryPublicationsCountStatsResponse as QueryPublicationsCountStatsResponseOriginal, type Reactions as ReactionsOriginal, type Rel as RelOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type ScheduledPostPublished as ScheduledPostPublishedOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, type SketchData as SketchDataOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnlikePostRequest as UnlikePostRequestOriginal, type UnlikePostResponse as UnlikePostResponseOriginal, type UnpinPostRequest as UnpinPostRequestOriginal, type UnpinPostResponse as UnpinPostResponseOriginal, type V1Media as V1MediaOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, type ViewPostRequest as ViewPostRequestOriginal, type ViewPostResponse as ViewPostResponseOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, queryPostCountStats, queryPosts };
4625
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type Animation as AnimationOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkDeletePostsRequest as BulkDeletePostsRequestOriginal, type BulkDeletePostsResponse as BulkDeletePostsResponseOriginal, type BulkGetPostReactionsRequest as BulkGetPostReactionsRequestOriginal, type BulkGetPostReactionsResponse as BulkGetPostReactionsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckboxListData as CheckboxListDataOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeletePostRequest as DeletePostRequestOriginal, type DeletePostResponse as DeletePostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntranceAnimation as EntranceAnimationOriginal, type EntranceEffect as EntranceEffectOriginal, EntranceEffectType as EntranceEffectTypeOriginal, type EntranceEffectTypeWithLiterals as EntranceEffectTypeWithLiteralsOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetPostBySlugRequest as GetPostBySlugRequestOriginal, type GetPostBySlugResponse as GetPostBySlugResponseOriginal, type GetPostCountPerMonthRequest as GetPostCountPerMonthRequestOriginal, type GetPostCountPerMonthResponse as GetPostCountPerMonthResponseOriginal, type GetPostCountsRequest as GetPostCountsRequestOriginal, type GetPostCountsResponse as GetPostCountsResponseOriginal, type GetPostMetricsRequest as GetPostMetricsRequestOriginal, type GetPostMetricsResponse as GetPostMetricsResponseOriginal, type GetPostRequest as GetPostRequestOriginal, type GetPostResponse as GetPostResponseOriginal, GetPostsSort as GetPostsSortOriginal, type GetPostsSortWithLiterals as GetPostsSortWithLiteralsOriginal, type GetTotalLikesPerMemberRequest as GetTotalLikesPerMemberRequestOriginal, type GetTotalLikesPerMemberResponse as GetTotalLikesPerMemberResponseOriginal, type GetTotalPostsRequest as GetTotalPostsRequestOriginal, type GetTotalPostsResponse as GetTotalPostsResponseOriginal, type GetTotalPublicationsRequest as GetTotalPublicationsRequestOriginal, type GetTotalPublicationsResponse as GetTotalPublicationsResponseOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type InitialPostsCopied as InitialPostsCopiedOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, type LikePostRequest as LikePostRequestOriginal, type LikePostResponse as LikePostResponseOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDemoPostsRequest as ListDemoPostsRequestOriginal, type ListDemoPostsResponse as ListDemoPostsResponseOriginal, type ListItemNodeData as ListItemNodeDataOriginal, type ListPostsArchiveRequest as ListPostsArchiveRequestOriginal, type ListPostsArchiveResponse as ListPostsArchiveResponseOriginal, type ListPostsRequest as ListPostsRequestOriginal, type ListPostsResponse as ListPostsResponseOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type LoopAnimation as LoopAnimationOriginal, type LoopEffect as LoopEffectOriginal, LoopEffectType as LoopEffectTypeOriginal, type LoopEffectTypeWithLiterals as LoopEffectTypeWithLiteralsOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type Metrics as MetricsOriginal, type ModerationDetails as ModerationDetailsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, Order as OrderOriginal, type OrderWithLiterals as OrderWithLiteralsOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type PeriodPostCount as PeriodPostCountOriginal, type PeriodPublicationsCount as PeriodPublicationsCountOriginal, type Permissions as PermissionsOriginal, type PinPostRequest as PinPostRequestOriginal, type PinPostResponse as PinPostResponseOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PostCategoriesUpdated as PostCategoriesUpdatedOriginal, type PostCountInfo as PostCountInfoOriginal, type PostCount as PostCountOriginal, type PostCountPerMonth as PostCountPerMonthOriginal, type PostCountersUpdatedInitiatorOneOf as PostCountersUpdatedInitiatorOneOfOriginal, type PostCountersUpdated as PostCountersUpdatedOriginal, PostFieldField as PostFieldFieldOriginal, type PostFieldFieldWithLiterals as PostFieldFieldWithLiteralsOriginal, type PostLikedInitiatorOneOf as PostLikedInitiatorOneOfOriginal, type PostLiked as PostLikedOriginal, type Post as PostOriginal, type PostOwnerChanged as PostOwnerChangedOriginal, type PostTagsUpdated as PostTagsUpdatedOriginal, type PostTranslation as PostTranslationOriginal, type PostUnlikedInitiatorOneOf as PostUnlikedInitiatorOneOfOriginal, type PostUnliked as PostUnlikedOriginal, type PricingData as PricingDataOriginal, type QueryPostCountStatsRequest as QueryPostCountStatsRequestOriginal, type QueryPostCountStatsResponse as QueryPostCountStatsResponseOriginal, type QueryPostsRequest as QueryPostsRequestOriginal, type QueryPostsResponse as QueryPostsResponseOriginal, QueryPublicationsCountStatsRequestOrder as QueryPublicationsCountStatsRequestOrderOriginal, type QueryPublicationsCountStatsRequestOrderWithLiterals as QueryPublicationsCountStatsRequestOrderWithLiteralsOriginal, type QueryPublicationsCountStatsRequest as QueryPublicationsCountStatsRequestOriginal, type QueryPublicationsCountStatsResponse as QueryPublicationsCountStatsResponseOriginal, type Reactions as ReactionsOriginal, type Rel as RelOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type ScheduledPostPublished as ScheduledPostPublishedOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, type SketchData as SketchDataOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnlikePostRequest as UnlikePostRequestOriginal, type UnlikePostResponse as UnlikePostResponseOriginal, type UnpinPostRequest as UnpinPostRequestOriginal, type UnpinPostResponse as UnpinPostResponseOriginal, type V1Media as V1MediaOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, type ViewPostRequest as ViewPostRequestOriginal, type ViewPostResponse as ViewPostResponseOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, queryPostCountStats, queryPosts };