@wix/auto_sdk_blog_posts 1.0.161 → 1.0.163

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +15 -11
  2. package/build/cjs/index.js +238 -16
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +90 -52
  5. package/build/cjs/index.typings.js +135 -11
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +59 -33
  8. package/build/cjs/meta.js +129 -5
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +85 -82
  11. package/build/cjs/schemas.js +155 -148
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +15 -11
  14. package/build/es/index.mjs +238 -16
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +90 -52
  17. package/build/es/index.typings.mjs +135 -11
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +59 -33
  20. package/build/es/meta.mjs +129 -5
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +85 -82
  23. package/build/es/schemas.mjs +155 -148
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +15 -11
  26. package/build/internal/cjs/index.js +238 -16
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +90 -52
  29. package/build/internal/cjs/index.typings.js +135 -11
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +59 -33
  32. package/build/internal/cjs/meta.js +129 -5
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +85 -82
  35. package/build/internal/cjs/schemas.js +155 -148
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +15 -11
  38. package/build/internal/es/index.mjs +238 -16
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +90 -52
  41. package/build/internal/es/index.typings.mjs +135 -11
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +59 -33
  44. package/build/internal/es/meta.mjs +129 -5
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +85 -82
  47. package/build/internal/es/schemas.mjs +155 -148
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1137,6 +1137,8 @@ interface ImageData {
1137
1137
  decorative?: boolean | null;
1138
1138
  /** Styling for the image. */
1139
1139
  styles?: ImageDataStyles;
1140
+ /** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
1141
+ crop?: ImageDataCrop;
1140
1142
  }
1141
1143
  interface StylesBorder {
1142
1144
  /** Border width in pixels. */
@@ -1153,6 +1155,16 @@ interface ImageDataStyles {
1153
1155
  /** Border attributes. */
1154
1156
  border?: StylesBorder;
1155
1157
  }
1158
+ interface ImageDataCrop {
1159
+ /** Left edge of the crop, as a fraction (0-1) of the original image width. */
1160
+ x?: number | null;
1161
+ /** Top edge of the crop, as a fraction (0-1) of the original image height. */
1162
+ y?: number | null;
1163
+ /** Visible width of the crop, as a fraction (0-1) of the original image width. */
1164
+ width?: number | null;
1165
+ /** Visible height of the crop, as a fraction (0-1) of the original image height. */
1166
+ height?: number | null;
1167
+ }
1156
1168
  interface LinkPreviewData {
1157
1169
  /** Styling for the link preview's container. */
1158
1170
  containerData?: PluginContainerData;
@@ -2190,6 +2202,27 @@ declare enum ImagePosition {
2190
2202
  }
2191
2203
  /** @enumType */
2192
2204
  type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
2205
+ /** Background styling (color or gradient) */
2206
+ interface LayoutDataBackground {
2207
+ /** Background type. */
2208
+ type?: LayoutDataBackgroundTypeWithLiterals;
2209
+ /**
2210
+ * Background color as a hexadecimal value.
2211
+ * @maxLength 19
2212
+ */
2213
+ color?: string | null;
2214
+ /** Gradient configuration. */
2215
+ gradient?: Gradient;
2216
+ }
2217
+ /** Background type */
2218
+ declare enum LayoutDataBackgroundType {
2219
+ /** Solid color background */
2220
+ COLOR = "COLOR",
2221
+ /** Gradient background */
2222
+ GRADIENT = "GRADIENT"
2223
+ }
2224
+ /** @enumType */
2225
+ type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
2193
2226
  declare enum Origin {
2194
2227
  /** Banner originated from an image */
2195
2228
  IMAGE = "IMAGE",
@@ -2206,15 +2239,6 @@ declare enum BannerPosition {
2206
2239
  }
2207
2240
  /** @enumType */
2208
2241
  type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
2209
- /** Background type */
2210
- declare enum LayoutDataBackgroundType {
2211
- /** Solid color background */
2212
- COLOR = "COLOR",
2213
- /** Gradient background */
2214
- GRADIENT = "GRADIENT"
2215
- }
2216
- /** @enumType */
2217
- type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
2218
2242
  /** Backdrop type */
2219
2243
  declare enum BackdropType {
2220
2244
  /** Solid color backdrop */
@@ -2227,12 +2251,19 @@ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
2227
2251
  interface LayoutDataBackgroundImage {
2228
2252
  /** Background image. */
2229
2253
  media?: V1Media;
2230
- /** Background image opacity. */
2254
+ /**
2255
+ * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
2256
+ * @deprecated
2257
+ */
2231
2258
  opacity?: number | null;
2232
2259
  /** Background image scaling. */
2233
2260
  scaling?: ImageScalingScalingWithLiterals;
2234
2261
  /** Position of background. Defaults to `CENTER`. */
2235
2262
  position?: ImagePositionWithLiterals;
2263
+ /** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
2264
+ blur?: number | null;
2265
+ /** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */
2266
+ overlay?: LayoutDataBackground;
2236
2267
  }
2237
2268
  declare enum VerticalAlignmentAlignment {
2238
2269
  /** Top alignment */
@@ -2266,18 +2297,6 @@ interface Banner {
2266
2297
  /** Position of the banner */
2267
2298
  position?: BannerPositionWithLiterals;
2268
2299
  }
2269
- /** Background styling (color or gradient) */
2270
- interface LayoutDataBackground {
2271
- /** Background type. */
2272
- type?: LayoutDataBackgroundTypeWithLiterals;
2273
- /**
2274
- * Background color as a hexadecimal value.
2275
- * @maxLength 19
2276
- */
2277
- color?: string | null;
2278
- /** Gradient configuration. */
2279
- gradient?: Gradient;
2280
- }
2281
2300
  /** Backdrop styling (color or gradient) */
2282
2301
  interface Backdrop {
2283
2302
  /** Backdrop type. */
@@ -2349,15 +2368,6 @@ declare enum ImagePositionPosition {
2349
2368
  }
2350
2369
  /** @enumType */
2351
2370
  type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
2352
- /** Background type */
2353
- declare enum CardDataBackgroundType {
2354
- /** Solid color background */
2355
- COLOR = "COLOR",
2356
- /** Gradient background */
2357
- GRADIENT = "GRADIENT"
2358
- }
2359
- /** @enumType */
2360
- type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
2361
2371
  /** Background styling (color or gradient) */
2362
2372
  interface CardDataBackground {
2363
2373
  /** Background type. */
@@ -2370,15 +2380,31 @@ interface CardDataBackground {
2370
2380
  /** Gradient configuration. */
2371
2381
  gradient?: Gradient;
2372
2382
  }
2383
+ /** Background type */
2384
+ declare enum CardDataBackgroundType {
2385
+ /** Solid color background */
2386
+ COLOR = "COLOR",
2387
+ /** Gradient background */
2388
+ GRADIENT = "GRADIENT"
2389
+ }
2390
+ /** @enumType */
2391
+ type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
2373
2392
  interface BackgroundImage {
2374
2393
  /** Background image. */
2375
2394
  media?: V1Media;
2376
- /** Background image opacity. */
2395
+ /**
2396
+ * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
2397
+ * @deprecated
2398
+ */
2377
2399
  opacity?: number | null;
2378
2400
  /** Background image scaling. */
2379
2401
  scaling?: ScalingWithLiterals;
2380
2402
  /** Position of background. Defaults to `CENTER`. */
2381
2403
  position?: ImagePositionPositionWithLiterals;
2404
+ /** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */
2405
+ overlay?: CardDataBackground;
2406
+ /** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
2407
+ blur?: number | null;
2382
2408
  }
2383
2409
  interface TocData {
2384
2410
  /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
@@ -3946,13 +3972,14 @@ declare function onPostUpdated(handler: (event: PostUpdatedEnvelope) => void | P
3946
3972
  /**
3947
3973
  * Retrieves the number of published posts per month within a specified time range.
3948
3974
  *
3949
- * The time range is set using the `rangeStart` and `months` properties.
3950
- * The time range always starts on the 1st day of the month set in `rangeStart` and
3951
- * includes the number of `months` following `rangeStart`.
3952
- * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
3953
- * the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.
3954
- * > Note: If there are no published posts in a month within the time range, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
3975
+ *
3976
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
3977
+ *
3978
+ * You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
3979
+ *
3980
+ * >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
3955
3981
  * @public
3982
+ * @param options - Options specifying time frame, sort, and filter.
3956
3983
  * @permissionId BLOG.READ-PUBLICATION
3957
3984
  * @applicableIdentity APP
3958
3985
  * @returns Get Blog Post Count Stats response
@@ -3993,6 +4020,7 @@ interface QueryPostCountStatsOptions {
3993
4020
  /**
3994
4021
  * Retrieves the total amount of published posts of the blog.
3995
4022
  * @public
4023
+ * @param options - Language Options.
3996
4024
  * @permissionId BLOG.READ-PUBLICATION
3997
4025
  * @applicableIdentity APP
3998
4026
  * @fqn com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts
@@ -4013,12 +4041,12 @@ interface GetTotalPostsOptions {
4013
4041
  * @param postId - Post ID.
4014
4042
  * @public
4015
4043
  * @requiredField postId
4044
+ * @param options - Options specifying which fields to return.
4016
4045
  * @permissionId BLOG.READ-PUBLICATION
4017
4046
  * @applicableIdentity APP
4018
- * @returns Retrieved post info.
4019
4047
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost
4020
4048
  */
4021
- declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<Post, `_id` | `title` | `excerpt` | `slug` | `featured` | `pinned` | `categoryIds` | `memberId` | `hashtags` | `commentingEnabled` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `preview` | `moderationDetails.submittedBy` | `moderationDetails.status` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom` | `hasUnpublishedChanges`, 6>>;
4049
+ declare function getPost(postId: string, options?: GetPostOptions): Promise<NonNullablePaths<GetPostResponse, `post._id` | `post.title` | `post.excerpt` | `post.slug` | `post.featured` | `post.pinned` | `post.categoryIds` | `post.memberId` | `post.hashtags` | `post.commentingEnabled` | `post.minutesToRead` | `post.tagIds` | `post.relatedPostIds` | `post.pricingPlanIds` | `post.seoData.tags` | `post.seoData.tags.${number}.type` | `post.seoData.tags.${number}.children` | `post.seoData.tags.${number}.custom` | `post.seoData.tags.${number}.disabled` | `post.seoData.settings.preventAutoRedirect` | `post.seoData.settings.keywords` | `post.seoData.settings.keywords.${number}.term` | `post.seoData.settings.keywords.${number}.isMain` | `post.preview` | `post.moderationDetails.submittedBy` | `post.moderationDetails.status` | `post.media.embedMedia.thumbnail.url` | `post.media.embedMedia.thumbnail.width` | `post.media.embedMedia.thumbnail.height` | `post.media.embedMedia.video.url` | `post.media.embedMedia.video.width` | `post.media.embedMedia.video.height` | `post.media.displayed` | `post.media.custom` | `post.hasUnpublishedChanges`, 7>>;
4022
4050
  interface GetPostOptions {
4023
4051
  /**
4024
4052
  * List of additional post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
@@ -4038,6 +4066,7 @@ interface GetPostOptions {
4038
4066
  * @param slug - Slug of the post to retrieve.
4039
4067
  * @public
4040
4068
  * @requiredField slug
4069
+ * @param options - Options specifying which fields to return.
4041
4070
  * @permissionId BLOG.READ-PUBLICATION
4042
4071
  * @applicableIdentity APP
4043
4072
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug
@@ -4065,6 +4094,7 @@ interface GetPostBySlugOptions {
4065
4094
  * - `paging.limit` is `50`.
4066
4095
  * - `paging.offset` is `0`.
4067
4096
  * @public
4097
+ * @param options - Sort, filter, and paging options.
4068
4098
  * @permissionId BLOG.READ-PUBLICATION
4069
4099
  * @applicableIdentity APP
4070
4100
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts
@@ -4135,18 +4165,26 @@ interface ListPostsOptions {
4135
4165
  fieldsets?: PostFieldFieldWithLiterals[];
4136
4166
  }
4137
4167
  /**
4138
- * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
4168
+ * Creates a query to retrieve a list of posts.
4139
4169
  *
4140
- * Query Posts runs with these defaults, which you can override:
4141
- * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
4142
- * - `paging.limit` is `50`.
4143
- * - `paging.offset` is `0`.
4144
4170
  *
4145
- * To learn about working with _Query_ endpoints, see
4146
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4147
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
4148
- * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
4171
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
4172
+ *
4173
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
4174
+ *
4175
+ * You can refine the query by chaining `PostsQueryBuilder` functions onto the query. `PostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryPosts()` returns.
4176
+ *
4177
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
4178
+ * + `limit(50)`
4179
+ * + `descending('firstPublishedDate')`
4180
+ *
4181
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
4182
+ *
4183
+ * To learn how to query posts, refer to the table below.
4184
+ *
4185
+ * The following `PostsQueryBuilder` functions are supported for the `queryPosts()` function. For a full description of the Posts object, see the object returned for the `items` property in `PostsQueryResult`.
4149
4186
  * @public
4187
+ * @param options - Options specifying which fields to return.
4150
4188
  * @permissionId BLOG.READ-PUBLICATION
4151
4189
  * @applicableIdentity APP
4152
4190
  * @fqn com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts
@@ -4202,7 +4240,7 @@ interface PostsQueryBuilder {
4202
4240
  /** @param propertyName - Property whose value is compared with `string`.
4203
4241
  * @param string - String to compare against. Case-insensitive.
4204
4242
  */
4205
- startsWith: (propertyName: 'title', value: string) => PostsQueryBuilder;
4243
+ startsWith: (propertyName: 'title' | 'slug', value: string) => PostsQueryBuilder;
4206
4244
  /** @param propertyName - Property whose value is compared with `values`.
4207
4245
  * @param values - List of values to compare against.
4208
4246
  */
@@ -4265,7 +4303,7 @@ interface PostQuerySpec extends QuerySpec {
4265
4303
  },
4266
4304
  {
4267
4305
  fields: ['slug'];
4268
- operators: ['$eq', '$hasAll', '$hasSome', '$ne'];
4306
+ operators: ['$eq', '$hasAll', '$hasSome', '$ne', '$startsWith'];
4269
4307
  sort: 'BOTH';
4270
4308
  },
4271
4309
  {
@@ -4412,4 +4450,4 @@ declare const utils: {
4412
4450
  */
4413
4451
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4414
4452
 
4415
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkDeletePostsRequest, type BulkDeletePostsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeletePostRequest, type DeletePostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostCountsRequest, type GetPostCountsResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostsSort, type GetPostsSortWithLiterals, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListItemNodeData, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCount, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts, utils };
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 };
@@ -493,6 +493,10 @@ function getPost(payload) {
493
493
  },
494
494
  { path: "post.richContent.nodes.galleryData.options.item.ratio" },
495
495
  { path: "post.richContent.nodes.imageData.image.duration" },
496
+ { path: "post.richContent.nodes.imageData.crop.x" },
497
+ { path: "post.richContent.nodes.imageData.crop.y" },
498
+ { path: "post.richContent.nodes.imageData.crop.width" },
499
+ { path: "post.richContent.nodes.imageData.crop.height" },
496
500
  { path: "post.richContent.nodes.mapData.mapSettings.lat" },
497
501
  { path: "post.richContent.nodes.mapData.mapSettings.lng" },
498
502
  { path: "post.richContent.nodes.pollData.poll.image.duration" },
@@ -510,9 +514,27 @@ function getPost(payload) {
510
514
  {
511
515
  path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
512
516
  },
517
+ {
518
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
519
+ },
520
+ {
521
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
522
+ },
523
+ {
524
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
525
+ },
513
526
  {
514
527
  path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
515
528
  },
529
+ {
530
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
531
+ },
532
+ {
533
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
534
+ },
535
+ {
536
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
537
+ },
516
538
  {
517
539
  path: "post.richContent.nodes.layoutData.background.gradient.centerX"
518
540
  },
@@ -544,6 +566,15 @@ function getPost(payload) {
544
566
  {
545
567
  path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
546
568
  },
569
+ {
570
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
571
+ },
572
+ {
573
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
574
+ },
575
+ {
576
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
577
+ },
547
578
  { path: "post.richContent.nodes.tocData.fontSize" },
548
579
  { path: "post.richContent.nodes.tocData.itemSpacing" },
549
580
  {
@@ -644,6 +675,10 @@ function getPostBySlug(payload) {
644
675
  },
645
676
  { path: "post.richContent.nodes.galleryData.options.item.ratio" },
646
677
  { path: "post.richContent.nodes.imageData.image.duration" },
678
+ { path: "post.richContent.nodes.imageData.crop.x" },
679
+ { path: "post.richContent.nodes.imageData.crop.y" },
680
+ { path: "post.richContent.nodes.imageData.crop.width" },
681
+ { path: "post.richContent.nodes.imageData.crop.height" },
647
682
  { path: "post.richContent.nodes.mapData.mapSettings.lat" },
648
683
  { path: "post.richContent.nodes.mapData.mapSettings.lng" },
649
684
  { path: "post.richContent.nodes.pollData.poll.image.duration" },
@@ -661,9 +696,27 @@ function getPostBySlug(payload) {
661
696
  {
662
697
  path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
663
698
  },
699
+ {
700
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
701
+ },
702
+ {
703
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
704
+ },
705
+ {
706
+ path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
707
+ },
664
708
  {
665
709
  path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
666
710
  },
711
+ {
712
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
713
+ },
714
+ {
715
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
716
+ },
717
+ {
718
+ path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
719
+ },
667
720
  {
668
721
  path: "post.richContent.nodes.layoutData.background.gradient.centerX"
669
722
  },
@@ -695,6 +748,15 @@ function getPostBySlug(payload) {
695
748
  {
696
749
  path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
697
750
  },
751
+ {
752
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
753
+ },
754
+ {
755
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
756
+ },
757
+ {
758
+ path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
759
+ },
698
760
  { path: "post.richContent.nodes.tocData.fontSize" },
699
761
  { path: "post.richContent.nodes.tocData.itemSpacing" },
700
762
  {
@@ -799,6 +861,10 @@ function listPosts(payload) {
799
861
  path: "posts.richContent.nodes.galleryData.options.item.ratio"
800
862
  },
801
863
  { path: "posts.richContent.nodes.imageData.image.duration" },
864
+ { path: "posts.richContent.nodes.imageData.crop.x" },
865
+ { path: "posts.richContent.nodes.imageData.crop.y" },
866
+ { path: "posts.richContent.nodes.imageData.crop.width" },
867
+ { path: "posts.richContent.nodes.imageData.crop.height" },
802
868
  { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
803
869
  { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
804
870
  { path: "posts.richContent.nodes.pollData.poll.image.duration" },
@@ -816,9 +882,27 @@ function listPosts(payload) {
816
882
  {
817
883
  path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
818
884
  },
885
+ {
886
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
887
+ },
888
+ {
889
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
890
+ },
891
+ {
892
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
893
+ },
819
894
  {
820
895
  path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
821
896
  },
897
+ {
898
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
899
+ },
900
+ {
901
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
902
+ },
903
+ {
904
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
905
+ },
822
906
  {
823
907
  path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
824
908
  },
@@ -850,6 +934,15 @@ function listPosts(payload) {
850
934
  {
851
935
  path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
852
936
  },
937
+ {
938
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
939
+ },
940
+ {
941
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
942
+ },
943
+ {
944
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
945
+ },
853
946
  { path: "posts.richContent.nodes.tocData.fontSize" },
854
947
  { path: "posts.richContent.nodes.tocData.itemSpacing" },
855
948
  {
@@ -954,6 +1047,10 @@ function queryPosts(payload) {
954
1047
  path: "posts.richContent.nodes.galleryData.options.item.ratio"
955
1048
  },
956
1049
  { path: "posts.richContent.nodes.imageData.image.duration" },
1050
+ { path: "posts.richContent.nodes.imageData.crop.x" },
1051
+ { path: "posts.richContent.nodes.imageData.crop.y" },
1052
+ { path: "posts.richContent.nodes.imageData.crop.width" },
1053
+ { path: "posts.richContent.nodes.imageData.crop.height" },
957
1054
  { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
958
1055
  { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
959
1056
  { path: "posts.richContent.nodes.pollData.poll.image.duration" },
@@ -971,9 +1068,27 @@ function queryPosts(payload) {
971
1068
  {
972
1069
  path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
973
1070
  },
1071
+ {
1072
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1073
+ },
1074
+ {
1075
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1076
+ },
1077
+ {
1078
+ path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1079
+ },
974
1080
  {
975
1081
  path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
976
1082
  },
1083
+ {
1084
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1085
+ },
1086
+ {
1087
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1088
+ },
1089
+ {
1090
+ path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1091
+ },
977
1092
  {
978
1093
  path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
979
1094
  },
@@ -1005,6 +1120,15 @@ function queryPosts(payload) {
1005
1120
  {
1006
1121
  path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1007
1122
  },
1123
+ {
1124
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1125
+ },
1126
+ {
1127
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1128
+ },
1129
+ {
1130
+ path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1131
+ },
1008
1132
  { path: "posts.richContent.nodes.tocData.fontSize" },
1009
1133
  { path: "posts.richContent.nodes.tocData.itemSpacing" },
1010
1134
  {
@@ -1360,6 +1484,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1360
1484
  ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1361
1485
  return ImagePosition2;
1362
1486
  })(ImagePosition || {});
1487
+ var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
1488
+ LayoutDataBackgroundType2["COLOR"] = "COLOR";
1489
+ LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
1490
+ return LayoutDataBackgroundType2;
1491
+ })(LayoutDataBackgroundType || {});
1363
1492
  var Origin = /* @__PURE__ */ ((Origin2) => {
1364
1493
  Origin2["IMAGE"] = "IMAGE";
1365
1494
  Origin2["LAYOUT"] = "LAYOUT";
@@ -1370,11 +1499,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
1370
1499
  BannerPosition2["BOTTOM"] = "BOTTOM";
1371
1500
  return BannerPosition2;
1372
1501
  })(BannerPosition || {});
1373
- var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
1374
- LayoutDataBackgroundType2["COLOR"] = "COLOR";
1375
- LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
1376
- return LayoutDataBackgroundType2;
1377
- })(LayoutDataBackgroundType || {});
1378
1502
  var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
1379
1503
  BackdropType2["COLOR"] = "COLOR";
1380
1504
  BackdropType2["GRADIENT"] = "GRADIENT";
@@ -1620,8 +1744,8 @@ async function getPost2(postId, options) {
1620
1744
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1621
1745
  }
1622
1746
  ]),
1623
- ["post.richContent"]
1624
- )?.post;
1747
+ ["post.richContent", "post.rich_content"]
1748
+ );
1625
1749
  } catch (err) {
1626
1750
  const transformedError = (0, import_transform_error.transformError)(
1627
1751
  err,
@@ -1668,7 +1792,7 @@ async function getPostBySlug2(slug, options) {
1668
1792
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1669
1793
  }
1670
1794
  ]),
1671
- ["post.richContent"]
1795
+ ["post.richContent", "post.rich_content"]
1672
1796
  );
1673
1797
  } catch (err) {
1674
1798
  const transformedError = (0, import_transform_error.transformError)(
@@ -1727,7 +1851,7 @@ async function listPosts2(options) {
1727
1851
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1728
1852
  }
1729
1853
  ]),
1730
- ["posts.richContent"]
1854
+ ["posts.richContent", "posts.rich_content"]
1731
1855
  );
1732
1856
  } catch (err) {
1733
1857
  const transformedError = (0, import_transform_error.transformError)(
@@ -1797,7 +1921,7 @@ function queryPosts2(options) {
1797
1921
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1798
1922
  }
1799
1923
  ]),
1800
- ["posts.richContent"]
1924
+ ["posts.richContent", "posts.rich_content"]
1801
1925
  );
1802
1926
  return {
1803
1927
  items: transformedData?.posts,
@@ -1845,7 +1969,7 @@ async function typedQueryPosts(query, options) {
1845
1969
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1846
1970
  }
1847
1971
  ]),
1848
- ["posts.richContent"]
1972
+ ["posts.richContent", "posts.rich_content"]
1849
1973
  );
1850
1974
  } catch (err) {
1851
1975
  const transformedError = (0, import_transform_error.transformError)(