@wix/auto_sdk_blog_draft-posts 1.0.95 → 1.0.96

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 (45) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +45 -10
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +99 -6
  5. package/build/cjs/index.typings.js +38 -3
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +98 -1
  8. package/build/cjs/meta.js +37 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.js +28 -28
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.d.mts +1 -1
  13. package/build/es/index.mjs +43 -10
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +99 -6
  16. package/build/es/index.typings.mjs +36 -3
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +98 -1
  19. package/build/es/meta.mjs +35 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/es/schemas.mjs +28 -28
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/index.d.ts +1 -1
  24. package/build/internal/cjs/index.js +45 -10
  25. package/build/internal/cjs/index.js.map +1 -1
  26. package/build/internal/cjs/index.typings.d.ts +99 -6
  27. package/build/internal/cjs/index.typings.js +38 -3
  28. package/build/internal/cjs/index.typings.js.map +1 -1
  29. package/build/internal/cjs/meta.d.ts +98 -1
  30. package/build/internal/cjs/meta.js +37 -0
  31. package/build/internal/cjs/meta.js.map +1 -1
  32. package/build/internal/cjs/schemas.js +28 -28
  33. package/build/internal/cjs/schemas.js.map +1 -1
  34. package/build/internal/es/index.d.mts +1 -1
  35. package/build/internal/es/index.mjs +43 -10
  36. package/build/internal/es/index.mjs.map +1 -1
  37. package/build/internal/es/index.typings.d.mts +99 -6
  38. package/build/internal/es/index.typings.mjs +36 -3
  39. package/build/internal/es/index.typings.mjs.map +1 -1
  40. package/build/internal/es/meta.d.mts +98 -1
  41. package/build/internal/es/meta.mjs +35 -0
  42. package/build/internal/es/meta.mjs.map +1 -1
  43. package/build/internal/es/schemas.mjs +28 -28
  44. package/build/internal/es/schemas.mjs.map +1 -1
  45. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts","../../src/blog-v3-draft-draft-posts.public.ts","../../src/blog-v3-draft-draft-posts.universal.ts","../../src/blog-v3-draft-draft-posts.http.ts","../../src/blog-v3-draft-draft-posts.context.ts"],"sourcesContent":["export * from './src/blog-v3-draft-draft-posts.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { transformRESTVideoV2ToSDKVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkCreateDraftPostsOptions,\n BulkCreateDraftPostsResponse,\n BulkDeleteDraftPostsOptions,\n BulkDeleteDraftPostsResponse,\n BulkUpdateDraftPostsOptions,\n BulkUpdateDraftPostsResponse,\n CreateDraftPostOptions,\n CreateDraftPostResponse,\n DeleteDraftPostOptions,\n DraftCreatedEnvelope,\n DraftDeletedEnvelope,\n DraftPost,\n DraftPostQuery,\n DraftPostsQueryBuilder,\n DraftUpdatedEnvelope,\n GetDeletedDraftPostResponse,\n GetDraftPostOptions,\n GetDraftPostResponse,\n ListDeletedDraftPostsOptions,\n ListDeletedDraftPostsResponse,\n ListDraftPostsOptions,\n ListDraftPostsResponse,\n PublishDraftPostResponse,\n QueryDraftPostsOptions,\n QueryDraftPostsResponse,\n RestoreFromTrashBinResponse,\n UpdateDraftPost,\n UpdateDraftPostOptions,\n UpdateDraftPostResponse,\n bulkCreateDraftPosts as universalBulkCreateDraftPosts,\n bulkDeleteDraftPosts as universalBulkDeleteDraftPosts,\n bulkUpdateDraftPosts as universalBulkUpdateDraftPosts,\n createDraftPost as universalCreateDraftPost,\n deleteDraftPost as universalDeleteDraftPost,\n getDeletedDraftPost as universalGetDeletedDraftPost,\n getDraftPost as universalGetDraftPost,\n listDeletedDraftPosts as universalListDeletedDraftPosts,\n listDraftPosts as universalListDraftPosts,\n publishDraftPost as universalPublishDraftPost,\n queryDraftPosts as universalQueryDraftPosts,\n removeFromTrashBin as universalRemoveFromTrashBin,\n restoreFromTrashBin as universalRestoreFromTrashBin,\n typedQueryDraftPosts as universalTypedQueryDraftPosts,\n updateDraftPost as universalUpdateDraftPost,\n} from './blog-v3-draft-draft-posts.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/blog' };\n\nexport function createDraftPost(\n httpClient: HttpClient\n): CreateDraftPostSignature {\n return (\n draftPost: NonNullablePaths<DraftPost, `title`, 2>,\n options?: CreateDraftPostOptions\n ) =>\n universalCreateDraftPost(\n draftPost,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateDraftPostSignature {\n /**\n * Creates a draft post.\n *\n * For 3rd-party apps, `memberId` is a required field.\n *\n * In `categoryIds`, only categories that already exist will be added to the draft post. Including\n * `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.\n * If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.\n * You can check which categories are available with\n * [List Categories](https://dev.wix.com/docs/rest/business-solutions/blog/category/list-categories).\n * @param - Draft post to create.\n * @param - Options for creating a draft post.\n */\n (\n draftPost: NonNullablePaths<DraftPost, `title`, 2>,\n options?: CreateDraftPostOptions\n ): Promise<\n NonNullablePaths<\n CreateDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function bulkCreateDraftPosts(\n httpClient: HttpClient\n): BulkCreateDraftPostsSignature {\n return (\n draftPosts: NonNullablePaths<DraftPost, `title`, 2>[],\n options?: BulkCreateDraftPostsOptions\n ) =>\n universalBulkCreateDraftPosts(\n draftPosts,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkCreateDraftPostsSignature {\n /**\n * Creates multiple draft posts.\n * @param - Draft posts to create.\n * @param - Options for creating multiple draft posts.\n */\n (\n draftPosts: NonNullablePaths<DraftPost, `title`, 2>[],\n options?: BulkCreateDraftPostsOptions\n ): Promise<\n NonNullablePaths<\n BulkCreateDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\nexport function bulkUpdateDraftPosts(\n httpClient: HttpClient\n): BulkUpdateDraftPostsSignature {\n return (\n options?: NonNullablePaths<\n BulkUpdateDraftPostsOptions,\n `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`,\n 5\n >\n ) =>\n universalBulkUpdateDraftPosts(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdateDraftPostsSignature {\n /**\n * Updates multiple draft posts.\n * @param - Options for updating multiple draft posts.\n */\n (\n options?: NonNullablePaths<\n BulkUpdateDraftPostsOptions,\n `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`,\n 5\n >\n ): Promise<\n NonNullablePaths<\n BulkUpdateDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\nexport function listDeletedDraftPosts(\n httpClient: HttpClient\n): ListDeletedDraftPostsSignature {\n return (options?: ListDeletedDraftPostsOptions) =>\n universalListDeletedDraftPosts(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ListDeletedDraftPostsSignature {\n /**\n * Retrieves a list of up to 100 deleted draft posts.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n * @param - Options for listing deleted draft posts.\n */\n (options?: ListDeletedDraftPostsOptions): Promise<\n NonNullablePaths<\n ListDeletedDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`,\n 6\n >\n >;\n}\n\nexport function getDraftPost(httpClient: HttpClient): GetDraftPostSignature {\n return (draftPostId: string, options?: GetDraftPostOptions) =>\n universalGetDraftPost(\n draftPostId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetDraftPostSignature {\n /**\n * Retrieves a draft post by the provided ID.\n * @param - Draft post ID.\n * @param - Options for getting a draft post.\n */\n (draftPostId: string, options?: GetDraftPostOptions): Promise<\n NonNullablePaths<\n GetDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function updateDraftPost(\n httpClient: HttpClient\n): UpdateDraftPostSignature {\n return (\n _id: string,\n draftPost: UpdateDraftPost,\n options?: UpdateDraftPostOptions\n ) =>\n universalUpdateDraftPost(\n _id,\n draftPost,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdateDraftPostSignature {\n /**\n * Updates a draft post.\n * @param - Draft post ID.\n * @param - Options for updating a draft post.\n * @param - Draft Post info.\n */\n (\n _id: string,\n draftPost: UpdateDraftPost,\n options?: UpdateDraftPostOptions\n ): Promise<\n NonNullablePaths<\n UpdateDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function deleteDraftPost(\n httpClient: HttpClient\n): DeleteDraftPostSignature {\n return (draftPostId: string, options?: DeleteDraftPostOptions) =>\n universalDeleteDraftPost(\n draftPostId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteDraftPostSignature {\n /**\n * Moves a draft post to the trash bin.\n * A published post can also be deleted by the `post.id`. See the [Posts API](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object) for more information about posts.\n *\n * To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.\n * @param - Draft post ID.\n * @param - Options for deleting a draft post.\n */\n (draftPostId: string, options?: DeleteDraftPostOptions): Promise<void>;\n}\n\nexport function removeFromTrashBin(\n httpClient: HttpClient\n): RemoveFromTrashBinSignature {\n return (draftPostId: string) =>\n universalRemoveFromTrashBin(\n draftPostId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface RemoveFromTrashBinSignature {\n /**\n * Permanently deletes a draft post that is currently in the trash bin.\n *\n * This action is permanent and can't be reversed.\n * @param - Draft post ID.\n */\n (draftPostId: string): Promise<void>;\n}\n\nexport function bulkDeleteDraftPosts(\n httpClient: HttpClient\n): BulkDeleteDraftPostsSignature {\n return (postIds: string[], options?: BulkDeleteDraftPostsOptions) =>\n universalBulkDeleteDraftPosts(\n postIds,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkDeleteDraftPostsSignature {\n /**\n * Deletes multiple draft posts.\n * @param - Post IDs.\n * @param - Options for deleting multiple draft posts.\n */\n (postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<\n NonNullablePaths<\n BulkDeleteDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\nexport function listDraftPosts(\n httpClient: HttpClient\n): ListDraftPostsSignature {\n return (options?: ListDraftPostsOptions) =>\n universalListDraftPosts(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ListDraftPostsSignature {\n /**\n * Retrieves a list of up to 100 draft posts per request.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n * @param - Options for listing multiple draft posts.\n */\n (options?: ListDraftPostsOptions): Promise<\n NonNullablePaths<\n ListDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`\n | `metaData.count`\n | `metaData.offset`\n | `metaData.total`,\n 6\n >\n >;\n}\n\nexport function getDeletedDraftPost(\n httpClient: HttpClient\n): GetDeletedDraftPostSignature {\n return (draftPostId: string) =>\n universalGetDeletedDraftPost(\n draftPostId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetDeletedDraftPostSignature {\n /**\n * Retrieves a deleted draft post from the trash bin by the provided ID.\n * @param - Draft post ID.\n */\n (draftPostId: string): Promise<\n NonNullablePaths<\n GetDeletedDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function restoreFromTrashBin(\n httpClient: HttpClient\n): RestoreFromTrashBinSignature {\n return (draftPostId: string) =>\n universalRestoreFromTrashBin(\n draftPostId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface RestoreFromTrashBinSignature {\n /**\n * Restores a deleted draft post from the trash bin by the provided ID.\n * @param - Draft post ID.\n */\n (draftPostId: string): Promise<\n NonNullablePaths<\n RestoreFromTrashBinResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function queryDraftPosts(\n httpClient: HttpClient\n): QueryDraftPostsSignature {\n return (options?: QueryDraftPostsOptions) =>\n universalQueryDraftPosts(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryDraftPostsSignature {\n /**\n * Creates a query to retrieve a list of up to 100 draft posts.\n *\n *\n * The `queryDraftPosts()` function builds a query to retrieve a list of up to 100 draft posts, and returns a `DraftPostsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the `find()` function.\n *\n * You can refine the query by chaining `DraftPostsQueryBuilder` functions onto the query. `DraftPostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryDraftPosts()` returns.\n *\n * `queryDraftPosts()` runs with these `DraftPostsQueryBuilder` defaults that can be overridden:\n * - `limit(50)`\n * - `ascending('_id')`\n *\n * The following `DraftPostsQueryBuilder` functions are supported for `queryDraftPosts()`. For a full description of the Draft Posts object, see the object returned for the `items` property in `DraftPostsQueryResult`.\n * @param - Options for querying draft posts.\n */\n (options?: QueryDraftPostsOptions): DraftPostsQueryBuilder;\n}\n\nexport function typedQueryDraftPosts(\n httpClient: HttpClient\n): TypedQueryDraftPostsSignature {\n return (query: DraftPostQuery, options?: QueryDraftPostsOptions) =>\n universalTypedQueryDraftPosts(\n query,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQueryDraftPostsSignature {\n /** */\n (query: DraftPostQuery, options?: QueryDraftPostsOptions): Promise<\n NonNullablePaths<\n QueryDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`,\n 6\n >\n >;\n}\n\nexport function publishDraftPost(\n httpClient: HttpClient\n): PublishDraftPostSignature {\n return (draftPostId: string) =>\n universalPublishDraftPost(\n draftPostId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface PublishDraftPostSignature {\n /**\n * Publishes a draft post by ID. This creates a new [post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)\n * with the data from the draft post.\n *\n * If the draft post was already published, the published post will be updated with the latest values\n * from the draft post.\n * @param - Draft post ID.\n */\n (draftPostId: string): Promise<\n NonNullablePaths<PublishDraftPostResponse, `postId`, 2>\n >;\n}\n\nexport const onDraftCreated = EventDefinition(\n 'wix.blog.v3.draft_created',\n true,\n (event: DraftCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'entity.heroImage' },\n { path: 'entity.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.editedDate' },\n { path: 'entity.scheduledPublishDate' },\n { path: 'entity.firstPublishedDate' },\n { path: 'entity.createdDate' },\n { path: 'entity.richContent.metadata.createdTimestamp' },\n { path: 'entity.richContent.metadata.updatedTimestamp' },\n { path: 'entity.moderationDetails.submittedDate' },\n { path: 'entity.moderationDetails.moderationDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.url' }, { path: 'entity.translations.url' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'entity.richContent.nodes.imageData.image.duration' },\n { path: 'entity.richContent.nodes.imageData.crop.x' },\n { path: 'entity.richContent.nodes.imageData.crop.y' },\n { path: 'entity.richContent.nodes.imageData.crop.width' },\n { path: 'entity.richContent.nodes.imageData.crop.height' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'entity.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.richContent.nodes.appEmbedData.image.duration' },\n { path: 'entity.richContent.nodes.videoData.video.duration' },\n { path: 'entity.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'entity.richContent.nodes.audioData.audio.duration' },\n { path: 'entity.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.tocData.fontSize' },\n { path: 'entity.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'entity.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'entity.media.wixMedia.videoV2' }],\n },\n ])\n )\n)<DraftCreatedEnvelope>();\nexport const onDraftDeleted = EventDefinition(\n 'wix.blog.v3.draft_deleted',\n true,\n (event: DraftDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'entity.heroImage' },\n { path: 'entity.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.editedDate' },\n { path: 'entity.scheduledPublishDate' },\n { path: 'entity.firstPublishedDate' },\n { path: 'entity.createdDate' },\n { path: 'entity.richContent.metadata.createdTimestamp' },\n { path: 'entity.richContent.metadata.updatedTimestamp' },\n { path: 'entity.moderationDetails.submittedDate' },\n { path: 'entity.moderationDetails.moderationDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.url' }, { path: 'entity.translations.url' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'entity.richContent.nodes.imageData.image.duration' },\n { path: 'entity.richContent.nodes.imageData.crop.x' },\n { path: 'entity.richContent.nodes.imageData.crop.y' },\n { path: 'entity.richContent.nodes.imageData.crop.width' },\n { path: 'entity.richContent.nodes.imageData.crop.height' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'entity.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.richContent.nodes.appEmbedData.image.duration' },\n { path: 'entity.richContent.nodes.videoData.video.duration' },\n { path: 'entity.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'entity.richContent.nodes.audioData.audio.duration' },\n { path: 'entity.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.tocData.fontSize' },\n { path: 'entity.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'entity.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'entity.media.wixMedia.videoV2' }],\n },\n ])\n )\n)<DraftDeletedEnvelope>();\nexport const onDraftUpdated = EventDefinition(\n 'wix.blog.v3.draft_updated',\n true,\n (event: DraftUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'entity.heroImage' },\n { path: 'entity.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.editedDate' },\n { path: 'entity.scheduledPublishDate' },\n { path: 'entity.firstPublishedDate' },\n { path: 'entity.createdDate' },\n { path: 'entity.richContent.metadata.createdTimestamp' },\n { path: 'entity.richContent.metadata.updatedTimestamp' },\n { path: 'entity.moderationDetails.submittedDate' },\n { path: 'entity.moderationDetails.moderationDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.url' }, { path: 'entity.translations.url' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'entity.richContent.nodes.imageData.image.duration' },\n { path: 'entity.richContent.nodes.imageData.crop.x' },\n { path: 'entity.richContent.nodes.imageData.crop.y' },\n { path: 'entity.richContent.nodes.imageData.crop.width' },\n { path: 'entity.richContent.nodes.imageData.crop.height' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'entity.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.richContent.nodes.appEmbedData.image.duration' },\n { path: 'entity.richContent.nodes.videoData.video.duration' },\n { path: 'entity.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'entity.richContent.nodes.audioData.audio.duration' },\n { path: 'entity.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.tocData.fontSize' },\n { path: 'entity.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'entity.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'entity.media.wixMedia.videoV2' }],\n },\n ])\n )\n)<DraftUpdatedEnvelope>();\n\nexport {\n AccountInfo,\n AccountInfoMetadata,\n Action,\n ActionEvent,\n AddressLocation,\n Alignment,\n AnchorData,\n Animation,\n AnimationType,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n AppType,\n ApplicationError,\n ApproveDraftPostRequest,\n ApproveDraftPostResponse,\n AspectRatio,\n AudioData,\n Backdrop,\n BackdropType,\n Background,\n BackgroundGradient,\n BackgroundImage,\n BackgroundType,\n Banner,\n BannerOrigin,\n BannerPosition,\n BaseEventMetadata,\n BlockquoteData,\n BlogPaging,\n BookingData,\n Border,\n BorderColors,\n BorderWidths,\n BulkActionMetadata,\n BulkCreateDraftPostsOptions,\n BulkCreateDraftPostsRequest,\n BulkCreateDraftPostsResponse,\n BulkDeleteDraftPostsOptions,\n BulkDeleteDraftPostsRequest,\n BulkDeleteDraftPostsResponse,\n BulkDraftPostResult,\n BulkRejectDraftPostRequest,\n BulkRejectDraftPostResponse,\n BulkRevertToUnpublishedRequest,\n BulkRevertToUnpublishedResponse,\n BulkUpdateDraftPostsOptions,\n BulkUpdateDraftPostsRequest,\n BulkUpdateDraftPostsResponse,\n BulletedListData,\n ButtonData,\n ButtonDataType,\n ButtonStyles,\n CaptionData,\n CardData,\n CardDataBackground,\n CardDataBackgroundType,\n CardStyles,\n CardStylesType,\n CellStyle,\n CheckboxListData,\n CodeBlockData,\n CollapsibleListData,\n ColorData,\n Colors,\n ColumnSize,\n CreateDraftPostOptions,\n CreateDraftPostRequest,\n CreateDraftPostResponse,\n Crop,\n CursorPaging,\n Cursors,\n Decoration,\n DecorationDataOneOf,\n DecorationType,\n DeleteDraftPostOptions,\n DeleteDraftPostRequest,\n DeleteDraftPostResponse,\n Design,\n DesignTarget,\n Dimensions,\n Direction,\n DividerData,\n DividerDataAlignment,\n DividerDataStyles,\n DocumentStyle,\n DomainEvent,\n DomainEventBodyOneOf,\n DraftCategoriesUpdated,\n DraftCreatedEnvelope,\n DraftDeletedEnvelope,\n DraftPost,\n DraftPostCount,\n DraftPostOwnerChanged,\n DraftPostQuerySpec,\n DraftPostTranslation,\n DraftPostsQueryBuilder,\n DraftPostsQueryResult,\n DraftTagsUpdated,\n DraftUpdatedEnvelope,\n EmbedData,\n EmbedMedia,\n EmbedThumbnail,\n EmbedVideo,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EntranceAnimation,\n EntranceEffect,\n EntranceEffectType,\n EventData,\n EventMetadata,\n Field,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n FocalPoint,\n FontFamilyData,\n FontSizeData,\n FontType,\n GIF,\n GIFData,\n GIFType,\n GalleryData,\n GalleryOptions,\n GalleryOptionsLayout,\n GetDeletedDraftPostRequest,\n GetDeletedDraftPostResponse,\n GetDraftPostCountsRequest,\n GetDraftPostCountsResponse,\n GetDraftPostOptions,\n GetDraftPostRequest,\n GetDraftPostResponse,\n GetDraftPostTotalsRequest,\n GetDraftPostTotalsResponse,\n GetDraftPostsSort,\n Gradient,\n GradientType,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataCrop,\n ImageDataStyles,\n ImagePosition,\n ImagePositionPosition,\n ImageScalingScaling,\n ImageStyles,\n Indentation,\n InitialDraftPostsCopied,\n InitialExpandedItems,\n IsDraftPostAutoTranslatableRequest,\n IsDraftPostAutoTranslatableResponse,\n Item,\n ItemDataOneOf,\n ItemMetadata,\n ItemStyle,\n Keyword,\n Layout,\n LayoutCellData,\n LayoutData,\n LayoutDataBackground,\n LayoutDataBackgroundImage,\n LayoutDataBackgroundType,\n LayoutType,\n LineCap,\n LineStyle,\n Link,\n LinkData,\n LinkDataOneOf,\n LinkPreviewData,\n LinkPreviewDataStyles,\n ListDeletedDraftPostsOptions,\n ListDeletedDraftPostsRequest,\n ListDeletedDraftPostsResponse,\n ListDraftPostsOptions,\n ListDraftPostsRequest,\n ListDraftPostsResponse,\n ListItemNodeData,\n ListStyle,\n ListValue,\n LoopAnimation,\n LoopEffect,\n LoopEffectType,\n MapData,\n MapSettings,\n MapType,\n MarkPostAsInModerationRequest,\n MarkPostAsInModerationResponse,\n MaskedDraftPosts,\n Media,\n MediaMediaOneOf,\n MentionData,\n MessageEnvelope,\n MetaData,\n Metadata,\n ModerationDetails,\n ModerationStatusStatus,\n Node,\n NodeDataOneOf,\n NodeStyle,\n NodeType,\n NullValue,\n Oembed,\n Option,\n OptionDesign,\n OptionLayout,\n OrderedListData,\n Orientation,\n Origin,\n PDFSettings,\n Paging,\n PagingMetadataV2,\n ParagraphData,\n Permissions,\n Placement,\n PlatformQuery,\n PlatformQueryPagingMethodOneOf,\n PlaybackOptions,\n PluginContainerData,\n PluginContainerDataAlignment,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n PointerEffect,\n PointerEffectType,\n Poll,\n PollData,\n PollDataLayout,\n PollDesign,\n PollDesignBackground,\n PollDesignBackgroundBackgroundOneOf,\n PollDesignBackgroundType,\n PollLayout,\n PollLayoutDirection,\n PollLayoutType,\n PollSettings,\n Position,\n PricingData,\n PublishDraftPostRequest,\n PublishDraftPostResponse,\n QueryDraftPostsOptions,\n QueryDraftPostsRequest,\n QueryDraftPostsResponse,\n RejectDraftPostRequest,\n RejectDraftPostResponse,\n Rel,\n RemoveFromTrashBinRequest,\n RemoveFromTrashBinResponse,\n Resizing,\n ResponsivenessBehaviour,\n RestoreFromTrashBinRequest,\n RestoreFromTrashBinResponse,\n RestoreInfo,\n RevertToUnpublishedRequest,\n RevertToUnpublishedResponse,\n RibbonStyles,\n RichContent,\n Scaling,\n SeoSchema,\n Settings,\n ShapeData,\n ShapeDataStyles,\n SketchData,\n SmartBlockCellData,\n SmartBlockData,\n SmartBlockDataType,\n SortOrder,\n Sorting,\n Source,\n Spoiler,\n SpoilerData,\n Status,\n Stop,\n Styles,\n StylesBorder,\n StylesPosition,\n TableCellData,\n TableData,\n Tag,\n Target,\n TextAlignment,\n TextData,\n TextNodeStyle,\n TextStyle,\n Thumbnails,\n ThumbnailsAlignment,\n TocData,\n TotalDraftPosts,\n TotalDraftPostsGroupingField,\n TranslateDraftRequest,\n TranslateDraftResponse,\n Type,\n UnpublishPostRequest,\n UnpublishPostResponse,\n UpdateDraftPost,\n UpdateDraftPostContentRequest,\n UpdateDraftPostContentResponse,\n UpdateDraftPostLanguageRequest,\n UpdateDraftPostLanguageResponse,\n UpdateDraftPostOptions,\n UpdateDraftPostRequest,\n UpdateDraftPostResponse,\n V1Media,\n Variant,\n VerticalAlignment,\n VerticalAlignmentAlignment,\n Video,\n VideoData,\n VideoResolution,\n ViewMode,\n ViewRole,\n VoteRole,\n WebhookIdentityType,\n Width,\n WidthType,\n WixMedia,\n utils,\n} from './blog-v3-draft-draft-posts.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixBlogV3Draft from './blog-v3-draft-draft-posts.http.js';\n// @ts-ignore\nimport { transformSDKImageToRESTImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformSDKVideoV2ToRESTVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { transformRESTVideoV2ToSDKVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { transformSDKPageURLToRESTPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\nexport interface DraftPost {\n /**\n * Draft post ID.\n * @readonly\n * @maxLength 38\n */\n _id?: string;\n /**\n * Draft post title.\n * @maxLength 200\n */\n title?: string;\n /**\n * Draft post excerpt.\n *\n * If no excerpt has been manually set, an excerpt is automatically generated from the post's text.\n * This can be retrieved using the `GENERATED_EXCERPT` fieldset.\n * @maxLength 500\n */\n excerpt?: string | null;\n /** Whether the draft post is marked as featured. */\n featured?: boolean | null;\n /**\n * Category IDs of the draft post.\n * @maxSize 10\n * @maxLength 38\n */\n categoryIds?: string[];\n /**\n * Draft post owner's member ID.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Hashtags in the post.\n * @maxSize 100\n * @maxLength 100\n */\n hashtags?: string[];\n /** Whether commenting on the draft post is enabled. */\n commentingEnabled?: boolean | null;\n /**\n * Estimated reading time of the draft post (calculated automatically).\n * @readonly\n */\n minutesToRead?: number;\n /** Image placed at the top of the blog page. */\n heroImage?: string;\n /**\n * Tag IDs the draft post is tagged with.\n * @maxSize 30\n * @maxLength 38\n */\n tagIds?: string[];\n /**\n * IDs of posts related to this draft post.\n * @maxSize 3\n * @maxLength 38\n */\n relatedPostIds?: string[];\n /**\n * Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info.\n * @maxSize 100\n * @format GUID\n */\n pricingPlanIds?: string[];\n /**\n * ID of the draft post's translations.\n *\n * All translations of a single post share the same `translationId`.\n * Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.\n * @format GUID\n */\n translationId?: string | null;\n /**\n * Language the draft post is written in.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n */\n changeOrigin?: OriginWithLiterals;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxLength 24\n */\n contentId?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @format GUID\n */\n editingSessionId?: string | null;\n /**\n * Draft Post rich content.\n *\n * <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" plugins=\"image.gallery.video.audio.divider.linkButton.html.giphy.codeBlock.file.hashtag.lineSpacing.indent.link.textColor.textHighlight.heading.verticalEmbed.table.collapsibleList.poll\" exampleid=\"72c23a25-524f-4f70-a260-4a2777b6f5d5\">\n * <a href=\"https://dev.wix.com/docs/ricos/api-reference/ricos-document\">See Ricos document reference</a>\n * </widget>\n */\n richContent?: RichContent;\n /**\n * Status of the draft post.\n * @readonly\n */\n status?: StatusWithLiterals;\n /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */\n moderationDetails?: ModerationDetails;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @format GUID\n */\n mostRecentContributorId?: string | null;\n /**\n * Indicates if there are changes made to the draft post that have not yet been published.\n * @readonly\n */\n hasUnpublishedChanges?: boolean;\n /**\n * Date the draft post was last edited.\n * @readonly\n */\n editedDate?: Date | null;\n /**\n * Date the draft post is scheduled to be published.\n * @readonly\n */\n scheduledPublishDate?: Date | null;\n /**\n * Reserved for internal use.\n * @internal\n */\n content?: Record<string, any> | null;\n /** Date the post was first published. */\n firstPublishedDate?: Date | null;\n /** SEO data. */\n seoData?: SeoSchema;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxSize 5000\n * @maxLength 100\n */\n slugs?: string[];\n /**\n * Draft post URL preview. What the URL will look like once the post is published.\n * @readonly\n */\n url?: string;\n /**\n * Date the draft post was first created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * SEO slug.\n * @maxLength 100\n */\n seoSlug?: string | null;\n /** Post cover media. */\n media?: Media;\n /** Number of paragraphs to display in a paid content preview for non-paying users. */\n previewTextParagraph?: number | null;\n /**\n * List of the post's translated posts.\n * @internal\n * @readonly\n * @maxSize 1000\n */\n translations?: DraftPostTranslation[];\n /**\n * Reserved for internal use, not included in base response.\n * @internal\n * @format GUID\n */\n originPostId?: string | null;\n /**\n * Reserved for internal use, not included in base response.\n * @internal\n * @format GUID\n */\n originPostInstanceId?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxLength 24\n */\n internalId?: string | null;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport enum Origin {\n UNKNOWN = 'UNKNOWN',\n /** Changed by admin */\n ADMIN = 'ADMIN',\n /** Categories were changed */\n ADD_CATEGORIES = 'ADD_CATEGORIES',\n /** Saved automatically */\n AUTO_SAVE = 'AUTO_SAVE',\n /** Copied from template */\n COPY_TEMPLATE = 'COPY_TEMPLATE',\n /** Imported */\n IMPORT = 'IMPORT',\n /** Imported in bulk */\n IMPORT_BULK = 'IMPORT_BULK',\n /** Imported with html import */\n IMPORT_HTML = 'IMPORT_HTML',\n /** Patch import */\n IMPORT_PATCH = 'IMPORT_PATCH',\n /** Changed language */\n LANGUAGE_CHANGE = 'LANGUAGE_CHANGE',\n /** Saved manually */\n MANUAL_SAVE = 'MANUAL_SAVE',\n /** Affected by migration */\n MIGRATION = 'MIGRATION',\n /** Affected by moderation */\n MODERATION = 'MODERATION',\n /** Moved to trash */\n MOVE_TO_TRASH = 'MOVE_TO_TRASH',\n /** Pricing plans were changed */\n PRICING_PLANS_CHANGE = 'PRICING_PLANS_CHANGE',\n /** Was provisioned */\n PROVISION = 'PROVISION',\n /** Was published */\n PUBLISH = 'PUBLISH',\n /** Owner was reassigned */\n REASSIGN_OWNER = 'REASSIGN_OWNER',\n /** Was reblogged */\n REBLOG = 'REBLOG',\n /** Was restored */\n RESTORE = 'RESTORE',\n /** Reverted to draft */\n REVERT_TO_DRAFT = 'REVERT_TO_DRAFT',\n /** Was translated */\n TRANSLATION = 'TRANSLATION',\n /** Was unpublished */\n UNPUBLISH = 'UNPUBLISH',\n /** Was unscheduled */\n UNSCHEDULE = 'UNSCHEDULE',\n /** New edit session started which updated editing_session_id id */\n NEW_EDIT_SESSION = 'NEW_EDIT_SESSION',\n /** Was scheduled by Later */\n SCHEDULING_SERVICE_SCHEDULE = 'SCHEDULING_SERVICE_SCHEDULE',\n /** Was unscheduled by Later */\n SCHEDULING_SERVICE_UNSCHEDULE = 'SCHEDULING_SERVICE_UNSCHEDULE',\n /** Was published by Later */\n SCHEDULING_SERVICE_PUBLISH = 'SCHEDULING_SERVICE_PUBLISH',\n /** Was scheduled */\n SCHEDULE = 'SCHEDULE',\n /** Was removed from moderation */\n REMOVE_FROM_MODERATION = 'REMOVE_FROM_MODERATION',\n /** Was rejected from moderation */\n REJECT_FROM_MODERATION = 'REJECT_FROM_MODERATION',\n /** Was approved in moderation */\n APPROVE_IN_MODERATION = 'APPROVE_IN_MODERATION',\n /** Tag was deleted */\n DELETE_TAG = 'DELETE_TAG',\n /** Post was pinned */\n PIN = 'PIN',\n /** Post was unpinned */\n UNPIN = 'UNPIN',\n /** Saved automatically by AI tool. */\n AI_AUTO_SAVE = 'AI_AUTO_SAVE',\n}\n\n/** @enumType */\nexport type OriginWithLiterals =\n | Origin\n | 'UNKNOWN'\n | 'ADMIN'\n | 'ADD_CATEGORIES'\n | 'AUTO_SAVE'\n | 'COPY_TEMPLATE'\n | 'IMPORT'\n | 'IMPORT_BULK'\n | 'IMPORT_HTML'\n | 'IMPORT_PATCH'\n | 'LANGUAGE_CHANGE'\n | 'MANUAL_SAVE'\n | 'MIGRATION'\n | 'MODERATION'\n | 'MOVE_TO_TRASH'\n | 'PRICING_PLANS_CHANGE'\n | 'PROVISION'\n | 'PUBLISH'\n | 'REASSIGN_OWNER'\n | 'REBLOG'\n | 'RESTORE'\n | 'REVERT_TO_DRAFT'\n | 'TRANSLATION'\n | 'UNPUBLISH'\n | 'UNSCHEDULE'\n | 'NEW_EDIT_SESSION'\n | 'SCHEDULING_SERVICE_SCHEDULE'\n | 'SCHEDULING_SERVICE_UNSCHEDULE'\n | 'SCHEDULING_SERVICE_PUBLISH'\n | 'SCHEDULE'\n | 'REMOVE_FROM_MODERATION'\n | 'REJECT_FROM_MODERATION'\n | 'APPROVE_IN_MODERATION'\n | 'DELETE_TAG'\n | 'PIN'\n | 'UNPIN'\n | 'AI_AUTO_SAVE';\n\nexport interface RichContent {\n /** Node objects representing a rich content document. */\n nodes?: Node[];\n /** Object metadata. */\n metadata?: Metadata;\n /** Global styling for header, paragraph, block quote, and code block nodes in the object. */\n documentStyle?: DocumentStyle;\n}\n\nexport interface Node extends NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** Data for a layout node. Reserved for future use. */\n layoutData?: LayoutData;\n /** Data for a cell node. */\n layoutCellData?: LayoutCellData;\n /** Data for a shape node. */\n shapeData?: ShapeData;\n /** Data for a card node. */\n cardData?: CardData;\n /** Data for a table of contents node. */\n tocData?: TocData;\n /** Data for a smart block node. */\n smartBlockData?: SmartBlockData;\n /** Data for a smart block cell node. */\n smartBlockCellData?: SmartBlockCellData;\n /** Data for a checkbox list node. */\n checkboxListData?: CheckboxListData;\n /** Data for a list item node. */\n listItemData?: ListItemNodeData;\n /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */\n type?: NodeTypeWithLiterals;\n /** Node ID. */\n id?: string;\n /** A list of child nodes. */\n nodes?: Node[];\n /** Padding and background color styling for the node. */\n style?: NodeStyle;\n}\n\n/** @oneof */\nexport interface NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** Data for a layout node. Reserved for future use. */\n layoutData?: LayoutData;\n /** Data for a cell node. */\n layoutCellData?: LayoutCellData;\n /** Data for a shape node. */\n shapeData?: ShapeData;\n /** Data for a card node. */\n cardData?: CardData;\n /** Data for a table of contents node. */\n tocData?: TocData;\n /** Data for a smart block node. */\n smartBlockData?: SmartBlockData;\n /** Data for a smart block cell node. */\n smartBlockCellData?: SmartBlockCellData;\n /** Data for a checkbox list node. */\n checkboxListData?: CheckboxListData;\n /** Data for a list item node. */\n listItemData?: ListItemNodeData;\n}\n\nexport enum NodeType {\n PARAGRAPH = 'PARAGRAPH',\n TEXT = 'TEXT',\n HEADING = 'HEADING',\n BULLETED_LIST = 'BULLETED_LIST',\n ORDERED_LIST = 'ORDERED_LIST',\n LIST_ITEM = 'LIST_ITEM',\n BLOCKQUOTE = 'BLOCKQUOTE',\n CODE_BLOCK = 'CODE_BLOCK',\n VIDEO = 'VIDEO',\n DIVIDER = 'DIVIDER',\n FILE = 'FILE',\n GALLERY = 'GALLERY',\n GIF = 'GIF',\n HTML = 'HTML',\n IMAGE = 'IMAGE',\n LINK_PREVIEW = 'LINK_PREVIEW',\n /** @deprecated */\n MAP = 'MAP',\n POLL = 'POLL',\n APP_EMBED = 'APP_EMBED',\n BUTTON = 'BUTTON',\n COLLAPSIBLE_LIST = 'COLLAPSIBLE_LIST',\n TABLE = 'TABLE',\n EMBED = 'EMBED',\n COLLAPSIBLE_ITEM = 'COLLAPSIBLE_ITEM',\n COLLAPSIBLE_ITEM_TITLE = 'COLLAPSIBLE_ITEM_TITLE',\n COLLAPSIBLE_ITEM_BODY = 'COLLAPSIBLE_ITEM_BODY',\n TABLE_CELL = 'TABLE_CELL',\n TABLE_ROW = 'TABLE_ROW',\n EXTERNAL = 'EXTERNAL',\n AUDIO = 'AUDIO',\n CAPTION = 'CAPTION',\n LAYOUT = 'LAYOUT',\n LAYOUT_CELL = 'LAYOUT_CELL',\n SHAPE = 'SHAPE',\n CARD = 'CARD',\n TOC = 'TOC',\n SMART_BLOCK = 'SMART_BLOCK',\n SMART_BLOCK_CELL = 'SMART_BLOCK_CELL',\n CHECKBOX_LIST = 'CHECKBOX_LIST',\n}\n\n/** @enumType */\nexport type NodeTypeWithLiterals =\n | NodeType\n | 'PARAGRAPH'\n | 'TEXT'\n | 'HEADING'\n | 'BULLETED_LIST'\n | 'ORDERED_LIST'\n | 'LIST_ITEM'\n | 'BLOCKQUOTE'\n | 'CODE_BLOCK'\n | 'VIDEO'\n | 'DIVIDER'\n | 'FILE'\n | 'GALLERY'\n | 'GIF'\n | 'HTML'\n | 'IMAGE'\n | 'LINK_PREVIEW'\n | 'MAP'\n | 'POLL'\n | 'APP_EMBED'\n | 'BUTTON'\n | 'COLLAPSIBLE_LIST'\n | 'TABLE'\n | 'EMBED'\n | 'COLLAPSIBLE_ITEM'\n | 'COLLAPSIBLE_ITEM_TITLE'\n | 'COLLAPSIBLE_ITEM_BODY'\n | 'TABLE_CELL'\n | 'TABLE_ROW'\n | 'EXTERNAL'\n | 'AUDIO'\n | 'CAPTION'\n | 'LAYOUT'\n | 'LAYOUT_CELL'\n | 'SHAPE'\n | 'CARD'\n | 'TOC'\n | 'SMART_BLOCK'\n | 'SMART_BLOCK_CELL'\n | 'CHECKBOX_LIST';\n\nexport interface NodeStyle {\n /** The top padding value in pixels. */\n paddingTop?: string | null;\n /** The bottom padding value in pixels. */\n paddingBottom?: string | null;\n /** The background color as a hexadecimal value. */\n backgroundColor?: string | null;\n}\n\nexport interface ButtonData {\n /** Styling for the button's container. */\n containerData?: PluginContainerData;\n /** The button type. */\n type?: ButtonDataTypeWithLiterals;\n /** Styling for the button. */\n styles?: Styles;\n /** The text to display on the button. */\n text?: string | null;\n /** Button link details. */\n link?: Link;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** Background type */\nexport enum BackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';\n\nexport interface Gradient {\n /** Gradient type. */\n type?: GradientTypeWithLiterals;\n /**\n * Color stops for the gradient.\n * @maxSize 1000\n */\n stops?: Stop[];\n /** Angle in degrees for linear gradient (0-360). */\n angle?: number | null;\n /**\n * Horizontal center position for radial gradient (0-100).\n * @max 100\n */\n centerX?: number | null;\n /**\n * Vertical center position for radial gradient (0-100).\n * @max 100\n */\n centerY?: number | null;\n}\n\n/** Gradient type. */\nexport enum GradientType {\n /** Linear gradient. */\n LINEAR = 'LINEAR',\n /** Radial gradient. */\n RADIAL = 'RADIAL',\n}\n\n/** @enumType */\nexport type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';\n\n/** A single color stop in the gradient. */\nexport interface Stop {\n /**\n * Stop color as hex value.\n * @maxLength 19\n */\n color?: string | null;\n /** Stop position (0-1). */\n position?: number | null;\n}\n\nexport interface Border {\n /**\n * Deprecated: Use `borderWidth` in `styles` instead.\n * @deprecated\n */\n width?: number | null;\n /**\n * Deprecated: Use `borderRadius` in `styles` instead.\n * @deprecated\n */\n radius?: number | null;\n}\n\nexport interface Colors {\n /**\n * Deprecated: Use `textColor` in `styles` instead.\n * @deprecated\n */\n text?: string | null;\n /**\n * Deprecated: Use `borderColor` in `styles` instead.\n * @deprecated\n */\n border?: string | null;\n /**\n * Deprecated: Use `backgroundColor` in `styles` instead.\n * @deprecated\n */\n background?: string | null;\n}\n\n/** Background styling (color or gradient) */\nexport interface Background {\n /** Background type. */\n type?: BackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\nexport interface PluginContainerData {\n /** The width of the node when it's displayed. */\n width?: PluginContainerDataWidth;\n /** The node's alignment within its container. */\n alignment?: PluginContainerDataAlignmentWithLiterals;\n /** Spoiler cover settings for the node. */\n spoiler?: Spoiler;\n /** The height of the node when it's displayed. */\n height?: Height;\n /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */\n textWrap?: boolean | null;\n}\n\nexport enum WidthType {\n /** Width matches the content width */\n CONTENT = 'CONTENT',\n /** Small Width */\n SMALL = 'SMALL',\n /** Width will match the original asset width */\n ORIGINAL = 'ORIGINAL',\n /** coast-to-coast display */\n FULL_WIDTH = 'FULL_WIDTH',\n}\n\n/** @enumType */\nexport type WidthTypeWithLiterals =\n | WidthType\n | 'CONTENT'\n | 'SMALL'\n | 'ORIGINAL'\n | 'FULL_WIDTH';\n\nexport interface PluginContainerDataWidth\n extends PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\n/** @oneof */\nexport interface PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\nexport enum PluginContainerDataAlignment {\n /** Center Alignment */\n CENTER = 'CENTER',\n /** Left Alignment */\n LEFT = 'LEFT',\n /** Right Alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type PluginContainerDataAlignmentWithLiterals =\n | PluginContainerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface Spoiler {\n /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */\n enabled?: boolean | null;\n /** The description displayed on top of the spoiler cover. */\n description?: string | null;\n /** The text for the button used to remove the spoiler cover. */\n buttonText?: string | null;\n}\n\nexport interface Height {\n /** A custom height value in pixels. */\n custom?: string | null;\n}\n\nexport enum ButtonDataType {\n /** Regular link button */\n LINK = 'LINK',\n /** Triggers custom action that is defined in plugin configuration by the consumer */\n ACTION = 'ACTION',\n}\n\n/** @enumType */\nexport type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';\n\nexport interface Styles {\n /**\n * Deprecated: Use `borderWidth` and `borderRadius` instead.\n * @deprecated\n */\n border?: Border;\n /**\n * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.\n * @deprecated\n */\n colors?: Colors;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /**\n * Deprecated: Use `borderWidth` for normal/hover states instead.\n * @deprecated\n */\n borderWidthHover?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n textColorHover?: string | null;\n /**\n * Deprecated: Use `background` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColor?: string | null;\n /**\n * Deprecated: Use `backgroundHover` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n /** Background styling (color or gradient). */\n background?: Background;\n /** Background styling for hover state (color or gradient). */\n backgroundHover?: Background;\n}\n\nexport interface Link extends LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n /**\n * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:\n * `SELF` - Default. Opens the linked document in the same frame as the link.\n * `BLANK` - Opens the linked document in a new browser tab or window.\n * `PARENT` - Opens the linked document in the link's parent frame.\n * `TOP` - Opens the linked document in the full body of the link's browser tab or window.\n */\n target?: TargetWithLiterals;\n /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */\n rel?: Rel;\n /** A serialized object used for a custom or external link panel. */\n customData?: string | null;\n}\n\n/** @oneof */\nexport interface LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n}\n\nexport enum Target {\n /** Opens the linked document in the same frame as it was clicked (this is default) */\n SELF = 'SELF',\n /** Opens the linked document in a new window or tab */\n BLANK = 'BLANK',\n /** Opens the linked document in the parent frame */\n PARENT = 'PARENT',\n /** Opens the linked document in the full body of the window */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';\n\nexport interface Rel {\n /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */\n nofollow?: boolean | null;\n /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */\n sponsored?: boolean | null;\n /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */\n ugc?: boolean | null;\n /** Indicates that this link protect referral information from being passed to the target website. */\n noreferrer?: boolean | null;\n}\n\nexport interface Animation {\n /** Animation kind. */\n type?: AnimationTypeWithLiterals;\n /** Entrance animation, played once when the node first enters the viewport (VIEW). */\n entrance?: EntranceAnimation;\n /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */\n loop?: LoopAnimation;\n /**\n * POINTER carries its fields directly on the union member in the JTD wall, hence\n * flat fields here (ts-proto camelCase must equal the JTD property names). A future\n * kind that also needs an `effect` field would contend for this JSON name.\n */\n effect?: PointerEffect;\n /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */\n transitionDuration?: number | null;\n}\n\nexport enum AnimationType {\n /** Animations that play while the node is in view. */\n VIEW = 'VIEW',\n /** Animations driven by the visitor's mouse position. */\n POINTER = 'POINTER',\n}\n\n/** @enumType */\nexport type AnimationTypeWithLiterals = AnimationType | 'VIEW' | 'POINTER';\n\nexport interface EntranceAnimation {\n /** The entrance effect to play. */\n effect?: EntranceEffect;\n /** Effect duration in milliseconds. Each effect has its own default. */\n duration?: number | null;\n /** Delay before the effect starts, in milliseconds. */\n delay?: number | null;\n}\n\nexport interface EntranceEffect {\n /** The entrance effect type. */\n type?: EntranceEffectTypeWithLiterals;\n /**\n * Direction the effect enters from. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, the diagonals with or without CENTER, corners, HORIZONTAL/VERTICAL, CLOCKWISE/COUNTER_CLOCKWISE).\n * @maxLength 20\n */\n direction?: string | null;\n /**\n * Clip-path shape: ELLIPSE, CIRCLE, RECTANGLE, or DIAMOND (SHAPE).\n * @maxLength 12\n */\n shape?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum EntranceEffectType {\n /** Fades in from fully transparent to fully opaque. */\n FADE = 'FADE',\n /** Enters along a 3D arc path. */\n ARC = 'ARC',\n /** Transitions from blurred to sharp. */\n BLUR = 'BLUR',\n /** Bounces into place with an elastic curve. */\n BOUNCE = 'BOUNCE',\n /** Shrinks down from a larger size. */\n DROP = 'DROP',\n /** Expands from a point, scaling to full size. */\n EXPAND = 'EXPAND',\n /** Flips into view with a 3D rotation. */\n FLIP = 'FLIP',\n /** Drifts gently into place. */\n FLOAT = 'FLOAT',\n /** Unfolds from an edge as if hinged. */\n FOLD = 'FOLD',\n /** Glides in smoothly from off-screen. */\n GLIDE = 'GLIDE',\n /** Progressively revealed by an expanding clip-path. */\n REVEAL = 'REVEAL',\n /** Appears through an expanding geometric clip-path shape. */\n SHAPE = 'SHAPE',\n /** Revealed through shutter-like strips. */\n SHUTTERS = 'SHUTTERS',\n /** Slides in from one side. */\n SLIDE = 'SLIDE',\n /** Spins into view while scaling up. */\n SPIN = 'SPIN',\n /** Tilts in from the side with 3D rotation. */\n TILT = 'TILT',\n /** Rotates into view around a corner pivot. */\n TURN = 'TURN',\n /** Expands from its horizontal or vertical center. */\n WINK = 'WINK',\n}\n\n/** @enumType */\nexport type EntranceEffectTypeWithLiterals =\n | EntranceEffectType\n | 'FADE'\n | 'ARC'\n | 'BLUR'\n | 'BOUNCE'\n | 'DROP'\n | 'EXPAND'\n | 'FLIP'\n | 'FLOAT'\n | 'FOLD'\n | 'GLIDE'\n | 'REVEAL'\n | 'SHAPE'\n | 'SHUTTERS'\n | 'SLIDE'\n | 'SPIN'\n | 'TILT'\n | 'TURN'\n | 'WINK';\n\nexport interface LoopAnimation {\n /** The looping effect to repeat. */\n effect?: LoopEffect;\n /** Duration of a single iteration in milliseconds. Each effect has its own default. */\n duration?: number | null;\n /** Pause between iterations in milliseconds. */\n iterationDelay?: number | null;\n}\n\nexport interface LoopEffect {\n /** The looping effect type. */\n type?: LoopEffectTypeWithLiterals;\n /**\n * 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).\n * @maxLength 20\n */\n direction?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum LoopEffectType {\n /** Bounces up and down in place. */\n BOUNCE = 'BOUNCE',\n /** Scales gently in and out along an axis. */\n BREATHE = 'BREATHE',\n /** Drifts toward one side, then re-enters from the opposite side. */\n CROSS = 'CROSS',\n /** Fades out to fully transparent and back in. */\n FLASH = 'FLASH',\n /** Rotates a full turn around its horizontal or vertical axis. */\n FLIP = 'FLIP',\n /** Folds back and forth around a hinged edge. */\n FOLD = 'FOLD',\n /** Wobbles with a jelly-like skew. */\n JELLO = 'JELLO',\n /** Nudges repeatedly toward a direction. */\n POKE = 'POKE',\n /** Scales up and back down rhythmically. */\n PULSE = 'PULSE',\n /** Stretches and squashes like a rubber band. */\n RUBBER = 'RUBBER',\n /** Rotates continuously around its center. */\n SPIN = 'SPIN',\n /** Swings back and forth around an edge pivot. */\n SWING = 'SWING',\n /** Rocks side to side with an accumulating rotation. */\n WIGGLE = 'WIGGLE',\n}\n\n/** @enumType */\nexport type LoopEffectTypeWithLiterals =\n | LoopEffectType\n | 'BOUNCE'\n | 'BREATHE'\n | 'CROSS'\n | 'FLASH'\n | 'FLIP'\n | 'FOLD'\n | 'JELLO'\n | 'POKE'\n | 'PULSE'\n | 'RUBBER'\n | 'SPIN'\n | 'SWING'\n | 'WIGGLE';\n\nexport interface PointerEffect {\n /** The mouse effect type. */\n type?: PointerEffectTypeWithLiterals;\n /** Reacts away from the pointer instead of toward it. */\n inverted?: boolean | null;\n /**\n * One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.\n * @maxLength 20\n */\n axis?: string | null;\n /**\n * Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).\n * @maxLength 8\n */\n direction?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum PointerEffectType {\n /** Drifts loosely after the pointer with a light rotation. */\n AIRY = 'AIRY',\n /** Squashes and stretches toward the pointer. */\n BLOB = 'BLOB',\n /** Shifts after the pointer while blurring. */\n BLUR = 'BLUR',\n /** Scales as the pointer approaches. */\n SCALE = 'SCALE',\n /** Skews toward the pointer. */\n SKEW = 'SKEW',\n /** Rotates around a pivot edge or axis, following the pointer. */\n SWIVEL = 'SWIVEL',\n /** Tilts in 3D perspective toward the pointer. */\n TILT_3D = 'TILT_3D',\n /** Follows the pointer's position. */\n TRACK = 'TRACK',\n /** Follows the pointer with a 3D depth motion. */\n TRACK_3D = 'TRACK_3D',\n}\n\n/** @enumType */\nexport type PointerEffectTypeWithLiterals =\n | PointerEffectType\n | 'AIRY'\n | 'BLOB'\n | 'BLUR'\n | 'SCALE'\n | 'SKEW'\n | 'SWIVEL'\n | 'TILT_3D'\n | 'TRACK'\n | 'TRACK_3D';\n\nexport interface CodeBlockData {\n /** Styling for the code block's text. */\n textStyle?: TextStyle;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface TextStyle {\n /** Text alignment. Defaults to `AUTO`. */\n textAlignment?: TextAlignmentWithLiterals;\n /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */\n lineHeight?: string | null;\n}\n\nexport enum TextAlignment {\n /** browser default, eqivalent to `initial` */\n AUTO = 'AUTO',\n /** Left align */\n LEFT = 'LEFT',\n /** Right align */\n RIGHT = 'RIGHT',\n /** Center align */\n CENTER = 'CENTER',\n /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */\n JUSTIFY = 'JUSTIFY',\n}\n\n/** @enumType */\nexport type TextAlignmentWithLiterals =\n | TextAlignment\n | 'AUTO'\n | 'LEFT'\n | 'RIGHT'\n | 'CENTER'\n | 'JUSTIFY';\n\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyleWithLiterals;\n /** Divider width. */\n width?: WidthWithLiterals;\n /** Divider alignment. */\n alignment?: DividerDataAlignmentWithLiterals;\n /** Visual styling for the divider lines. */\n styles?: DividerDataStyles;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum LineCap {\n /** Square line endings. */\n SQUARE = 'SQUARE',\n /** Rounded line endings. */\n ROUND = 'ROUND',\n}\n\n/** @enumType */\nexport type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';\n\nexport enum LineStyle {\n /** Single Line */\n SINGLE = 'SINGLE',\n /** Double Line */\n DOUBLE = 'DOUBLE',\n /** Dashed Line */\n DASHED = 'DASHED',\n /** Dotted Line */\n DOTTED = 'DOTTED',\n}\n\n/** @enumType */\nexport type LineStyleWithLiterals =\n | LineStyle\n | 'SINGLE'\n | 'DOUBLE'\n | 'DASHED'\n | 'DOTTED';\n\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\n/** @enumType */\nexport type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';\n\nexport enum DividerDataAlignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type DividerDataAlignmentWithLiterals =\n | DividerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface DividerDataStyles {\n /**\n * Divider color as a hexadecimal value. An alpha channel controls opacity.\n * @maxLength 19\n */\n color?: string | null;\n /** Divider line ending shape. */\n lineCap?: LineCapWithLiterals;\n /**\n * Line thicknesses in pixels, ordered from first line to last line.\n * @maxSize 10\n */\n lineThickness?: number[];\n /** Visible dash length for dashed dividers, in pixels. The pattern is snapped to a whole number of dashes so that the first and last dash touch the divider's edges - narrower containers show fewer dashes at the same size. */\n dashLength?: number | null;\n /** Visible gap between dashes or dots, in pixels. */\n dashGap?: number | null;\n /** Gap between divider lines in pixels. */\n lineGap?: number | null;\n}\n\nexport interface FileData {\n /** Styling for the file's container. */\n containerData?: PluginContainerData;\n /** The source for the file's data. */\n src?: FileSource;\n /** File name. */\n name?: string | null;\n /** File type. */\n type?: string | null;\n /**\n * Use `sizeInKb` instead.\n * @deprecated\n */\n size?: number | null;\n /** Settings for PDF files. */\n pdfSettings?: PDFSettings;\n /** File MIME type. */\n mimeType?: string | null;\n /** File path. */\n path?: string | null;\n /** File size in KB. */\n sizeInKb?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ViewMode {\n /** No PDF view */\n NONE = 'NONE',\n /** Full PDF view */\n FULL = 'FULL',\n /** Mini PDF view */\n MINI = 'MINI',\n}\n\n/** @enumType */\nexport type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';\n\nexport interface FileSource extends FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n /** Indicates whether the file's source is private. Defaults to `false`. */\n private?: boolean | null;\n}\n\n/** @oneof */\nexport interface FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n}\n\nexport interface PDFSettings {\n /**\n * PDF view mode. One of the following:\n * `NONE` : The PDF isn't displayed.\n * `FULL` : A full page view of the PDF is displayed.\n * `MINI` : A mini view of the PDF is displayed.\n */\n viewMode?: ViewModeWithLiterals;\n /** Sets whether the PDF download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the PDF print button is disabled. Defaults to `false`. */\n disablePrint?: boolean | null;\n}\n\nexport interface GalleryData {\n /** Styling for the gallery's container. */\n containerData?: PluginContainerData;\n /** The items in the gallery. */\n items?: Item[];\n /** Options for defining the gallery's appearance. */\n options?: GalleryOptions;\n /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */\n disableExpand?: boolean | null;\n /** Sets whether the gallery's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface V1Media {\n /** The source for the media's data. */\n src?: FileSource;\n /** Media width in pixels. */\n width?: number | null;\n /** Media height in pixels. */\n height?: number | null;\n /** Media duration in seconds. Only relevant for audio and video files. */\n duration?: number | null;\n}\n\nexport interface Image {\n /** Image file details. */\n media?: V1Media;\n /** Link details for images that are links. */\n link?: Link;\n}\n\nexport interface Video {\n /** Video file details. */\n media?: V1Media;\n /** Video thumbnail file details. */\n thumbnail?: V1Media;\n}\n\nexport interface Item extends ItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n /** Item title. */\n title?: string | null;\n /** Item's alternative text. */\n altText?: string | null;\n}\n\n/** @oneof */\nexport interface ItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n}\n\nexport interface GalleryOptions {\n /** Gallery layout. */\n layout?: GalleryOptionsLayout;\n /** Styling for gallery items. */\n item?: ItemStyle;\n /** Styling for gallery thumbnail images. */\n thumbnails?: Thumbnails;\n}\n\nexport enum LayoutType {\n /** Collage type */\n COLLAGE = 'COLLAGE',\n /** Masonry type */\n MASONRY = 'MASONRY',\n /** Grid type */\n GRID = 'GRID',\n /** Thumbnail type */\n THUMBNAIL = 'THUMBNAIL',\n /** Slider type */\n SLIDER = 'SLIDER',\n /** Slideshow type */\n SLIDESHOW = 'SLIDESHOW',\n /** Panorama type */\n PANORAMA = 'PANORAMA',\n /** Column type */\n COLUMN = 'COLUMN',\n /** Magic type */\n MAGIC = 'MAGIC',\n /** Fullsize images type */\n FULLSIZE = 'FULLSIZE',\n}\n\n/** @enumType */\nexport type LayoutTypeWithLiterals =\n | LayoutType\n | 'COLLAGE'\n | 'MASONRY'\n | 'GRID'\n | 'THUMBNAIL'\n | 'SLIDER'\n | 'SLIDESHOW'\n | 'PANORAMA'\n | 'COLUMN'\n | 'MAGIC'\n | 'FULLSIZE';\n\nexport enum Orientation {\n /** Rows Orientation */\n ROWS = 'ROWS',\n /** Columns Orientation */\n COLUMNS = 'COLUMNS',\n}\n\n/** @enumType */\nexport type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';\n\nexport enum Crop {\n /** Crop to fill */\n FILL = 'FILL',\n /** Crop to fit */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type CropWithLiterals = Crop | 'FILL' | 'FIT';\n\nexport enum ThumbnailsAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Right alignment */\n RIGHT = 'RIGHT',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n /** Left alignment */\n LEFT = 'LEFT',\n /** No thumbnail */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type ThumbnailsAlignmentWithLiterals =\n | ThumbnailsAlignment\n | 'TOP'\n | 'RIGHT'\n | 'BOTTOM'\n | 'LEFT'\n | 'NONE';\n\nexport interface GalleryOptionsLayout {\n /** Gallery layout type. */\n type?: LayoutTypeWithLiterals;\n /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */\n horizontalScroll?: boolean | null;\n /** Gallery orientation. */\n orientation?: OrientationWithLiterals;\n /** The number of columns to display on full size screens. */\n numberOfColumns?: number | null;\n /** The number of columns to display on mobile screens. */\n mobileNumberOfColumns?: number | null;\n}\n\nexport interface ItemStyle {\n /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */\n targetSize?: number | null;\n /** Item ratio */\n ratio?: number | null;\n /** Sets how item images are cropped. */\n crop?: CropWithLiterals;\n /** The spacing between items in pixels. */\n spacing?: number | null;\n}\n\nexport interface Thumbnails {\n /** Thumbnail alignment. */\n placement?: ThumbnailsAlignmentWithLiterals;\n /** Spacing between thumbnails in pixels. */\n spacing?: number | null;\n}\n\nexport interface GIFData {\n /** Styling for the GIF's container. */\n containerData?: PluginContainerData;\n /** The source of the full size GIF. */\n original?: GIF;\n /** The source of the downsized GIF. */\n downsized?: GIF;\n /** Height in pixels. */\n height?: number;\n /** Width in pixels. */\n width?: number;\n /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */\n gifType?: GIFTypeWithLiterals;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface GIF {\n /**\n * GIF format URL.\n * @format WEB_URL\n */\n gif?: string | null;\n /**\n * MP4 format URL.\n * @format WEB_URL\n */\n mp4?: string | null;\n /**\n * Thumbnail URL.\n * @format WEB_URL\n */\n still?: string | null;\n}\n\nexport enum GIFType {\n NORMAL = 'NORMAL',\n STICKER = 'STICKER',\n}\n\n/** @enumType */\nexport type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';\n\nexport interface HeadingData {\n /** Heading level from 1-6. */\n level?: number;\n /** Styling for the heading text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */\n renderedLevel?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface HTMLData extends HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n /** The WixelWidget ID for AI_WIDGET source nodes. */\n widgetId?: string;\n /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */\n containerData?: PluginContainerData;\n /** The type of HTML code. */\n source?: SourceWithLiterals;\n /** If container height is aligned with its content height. Defaults to `true`. */\n autoHeight?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** @oneof */\nexport interface HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n /** The WixelWidget ID for AI_WIDGET source nodes. */\n widgetId?: string;\n}\n\nexport enum Source {\n HTML = 'HTML',\n ADSENSE = 'ADSENSE',\n AI = 'AI',\n AI_WIDGET = 'AI_WIDGET',\n}\n\n/** @enumType */\nexport type SourceWithLiterals =\n | Source\n | 'HTML'\n | 'ADSENSE'\n | 'AI'\n | 'AI_WIDGET';\n\nexport interface ImageData {\n /** Styling for the image's container. */\n containerData?: PluginContainerData;\n /** Image file details. */\n image?: V1Media;\n /** Link details for images that are links. */\n link?: Link;\n /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */\n disableExpand?: boolean | null;\n /** Image's alternative text. */\n altText?: string | null;\n /**\n * Deprecated: use Caption node instead.\n * @deprecated\n */\n caption?: string | null;\n /** Sets whether the image's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */\n decorative?: boolean | null;\n /** Styling for the image. */\n styles?: ImageDataStyles;\n /** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */\n crop?: ImageDataCrop;\n /** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */\n cropShape?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface StylesBorder {\n /** Border width in pixels. */\n width?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Border radius in pixels. */\n radius?: number | null;\n}\n\nexport interface ImageDataStyles {\n /** Border attributes. */\n border?: StylesBorder;\n}\n\nexport interface ImageDataCrop {\n /** Left edge of the crop, as a fraction (0-1) of the original image width. */\n x?: number | null;\n /** Top edge of the crop, as a fraction (0-1) of the original image height. */\n y?: number | null;\n /** Visible width of the crop, as a fraction (0-1) of the original image width. */\n width?: number | null;\n /** Visible height of the crop, as a fraction (0-1) of the original image height. */\n height?: number | null;\n}\n\nexport interface LinkPreviewData {\n /** Styling for the link preview's container. */\n containerData?: PluginContainerData;\n /** Link details. */\n link?: Link;\n /** Preview title. */\n title?: string | null;\n /** Preview thumbnail URL. */\n thumbnailUrl?: string | null;\n /** Preview description. */\n description?: string | null;\n /** The preview content as HTML. */\n html?: string | null;\n /** Styling for the link preview. */\n styles?: LinkPreviewDataStyles;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum StylesPosition {\n /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Thumbnail positioned at the top */\n TOP = 'TOP',\n /** Thumbnail hidden and not displayed */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StylesPositionWithLiterals =\n | StylesPosition\n | 'START'\n | 'END'\n | 'TOP'\n | 'HIDDEN';\n\nexport interface LinkPreviewDataStyles {\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Title color as a hexadecimal value.\n * @maxLength 19\n */\n titleColor?: string | null;\n /**\n * Subtitle color as a hexadecimal value.\n * @maxLength 19\n */\n subtitleColor?: string | null;\n /**\n * Link color as a hexadecimal value.\n * @maxLength 19\n */\n linkColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Position of thumbnail. Defaults to `START`. */\n thumbnailPosition?: StylesPositionWithLiterals;\n}\n\nexport interface MapData {\n /** Styling for the map's container. */\n containerData?: PluginContainerData;\n /** Map settings. */\n mapSettings?: MapSettings;\n}\n\nexport interface MapSettings {\n /** The address to display on the map. */\n address?: string | null;\n /** Sets whether the map is draggable. */\n draggable?: boolean | null;\n /** Sets whether the location marker is visible. */\n marker?: boolean | null;\n /** Sets whether street view control is enabled. */\n streetViewControl?: boolean | null;\n /** Sets whether zoom control is enabled. */\n zoomControl?: boolean | null;\n /** Location latitude. */\n lat?: number | null;\n /** Location longitude. */\n lng?: number | null;\n /** Location name. */\n locationName?: string | null;\n /** Sets whether view mode control is enabled. */\n viewModeControl?: boolean | null;\n /** Initial zoom value. */\n initialZoom?: number | null;\n /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */\n mapType?: MapTypeWithLiterals;\n}\n\nexport enum MapType {\n /** Roadmap map type */\n ROADMAP = 'ROADMAP',\n /** Satellite map type */\n SATELITE = 'SATELITE',\n /** Hybrid map type */\n HYBRID = 'HYBRID',\n /** Terrain map type */\n TERRAIN = 'TERRAIN',\n}\n\n/** @enumType */\nexport type MapTypeWithLiterals =\n | MapType\n | 'ROADMAP'\n | 'SATELITE'\n | 'HYBRID'\n | 'TERRAIN';\n\nexport interface ParagraphData {\n /** Styling for the paragraph text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Paragraph level */\n level?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface PollData {\n /** Styling for the poll's container. */\n containerData?: PluginContainerData;\n /** Poll data. */\n poll?: Poll;\n /** Layout settings for the poll and voting options. */\n layout?: PollDataLayout;\n /** Styling for the poll and voting options. */\n design?: Design;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ViewRole {\n /** Only Poll creator can view the results */\n CREATOR = 'CREATOR',\n /** Anyone who voted can see the results */\n VOTERS = 'VOTERS',\n /** Anyone can see the results, even if one didn't vote */\n EVERYONE = 'EVERYONE',\n}\n\n/** @enumType */\nexport type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';\n\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRoleWithLiterals;\n /** Sets who can vote. */\n vote?: VoteRoleWithLiterals;\n /** Sets whether one voter can vote multiple times. Defaults to `false`. */\n allowMultipleVotes?: boolean | null;\n}\n\nexport interface Option {\n /** Option ID. */\n id?: string | null;\n /** Option title. */\n title?: string | null;\n /** The image displayed with the option. */\n image?: V1Media;\n}\n\nexport interface PollSettings {\n /** Permissions settings for voting. */\n permissions?: Permissions;\n /** Sets whether voters are displayed in the vote results. Defaults to `true`. */\n showVoters?: boolean | null;\n /** Sets whether the vote count is displayed. Defaults to `true`. */\n showVotesCount?: boolean | null;\n}\n\nexport enum PollLayoutType {\n /** List */\n LIST = 'LIST',\n /** Grid */\n GRID = 'GRID',\n}\n\n/** @enumType */\nexport type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';\n\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type PollLayoutDirectionWithLiterals =\n | PollLayoutDirection\n | 'LTR'\n | 'RTL';\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutTypeWithLiterals;\n /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */\n direction?: PollLayoutDirectionWithLiterals;\n /** Sets whether to display the main poll image. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport interface OptionLayout {\n /** Sets whether to display option images. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport enum PollDesignBackgroundType {\n /** Color background type */\n COLOR = 'COLOR',\n /** Image background type */\n IMAGE = 'IMAGE',\n /** Gradiant background type */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type PollDesignBackgroundTypeWithLiterals =\n | PollDesignBackgroundType\n | 'COLOR'\n | 'IMAGE'\n | 'GRADIENT';\n\nexport interface BackgroundGradient {\n /** The gradient angle in degrees. */\n angle?: number | null;\n /**\n * The start color as a hexademical value.\n * @maxLength 19\n */\n startColor?: string | null;\n /**\n * The end color as a hexademical value.\n * @maxLength 19\n */\n lastColor?: string | null;\n}\n\nexport interface PollDesignBackground\n extends PollDesignBackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @maxLength 19\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: V1Media;\n /** Details for a gradient background. */\n gradient?: BackgroundGradient;\n /** Background type. For each option, include the relevant details. */\n type?: PollDesignBackgroundTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface PollDesignBackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @maxLength 19\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: V1Media;\n /** Details for a gradient background. */\n gradient?: BackgroundGradient;\n}\n\nexport interface PollDesign {\n /** Background styling. */\n background?: PollDesignBackground;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface OptionDesign {\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface Poll {\n /** Poll ID. */\n id?: string | null;\n /** Poll title. */\n title?: string | null;\n /** Poll creator ID. */\n creatorId?: string | null;\n /** Main poll image. */\n image?: V1Media;\n /** Voting options. */\n options?: Option[];\n /** The poll's permissions and display settings. */\n settings?: PollSettings;\n}\n\nexport interface PollDataLayout {\n /** Poll layout settings. */\n poll?: PollLayout;\n /** Voting otpions layout settings. */\n options?: OptionLayout;\n}\n\nexport interface Design {\n /** Styling for the poll. */\n poll?: PollDesign;\n /** Styling for voting options. */\n options?: OptionDesign;\n}\n\nexport interface TextData {\n /** The text to apply decorations to. */\n text?: string;\n /** The decorations to apply. */\n decorations?: Decoration[];\n}\n\n/** Adds appearence changes to text */\nexport interface Decoration extends DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\n /** Data for a hand-drawn sketch annotation decoration. */\n sketchData?: SketchData;\n /** The type of decoration to apply. */\n type?: DecorationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\n /** Data for a hand-drawn sketch annotation decoration. */\n sketchData?: SketchData;\n}\n\nexport enum DecorationType {\n BOLD = 'BOLD',\n ITALIC = 'ITALIC',\n UNDERLINE = 'UNDERLINE',\n SPOILER = 'SPOILER',\n ANCHOR = 'ANCHOR',\n MENTION = 'MENTION',\n LINK = 'LINK',\n COLOR = 'COLOR',\n FONT_SIZE = 'FONT_SIZE',\n EXTERNAL = 'EXTERNAL',\n STRIKETHROUGH = 'STRIKETHROUGH',\n SUPERSCRIPT = 'SUPERSCRIPT',\n SUBSCRIPT = 'SUBSCRIPT',\n FONT_FAMILY = 'FONT_FAMILY',\n SKETCH = 'SKETCH',\n}\n\n/** @enumType */\nexport type DecorationTypeWithLiterals =\n | DecorationType\n | 'BOLD'\n | 'ITALIC'\n | 'UNDERLINE'\n | 'SPOILER'\n | 'ANCHOR'\n | 'MENTION'\n | 'LINK'\n | 'COLOR'\n | 'FONT_SIZE'\n | 'EXTERNAL'\n | 'STRIKETHROUGH'\n | 'SUPERSCRIPT'\n | 'SUBSCRIPT'\n | 'FONT_FAMILY'\n | 'SKETCH';\n\nexport interface AnchorData {\n /** The target node's ID. */\n anchor?: string;\n}\n\nexport interface ColorData {\n /** The text's background color as a hexadecimal value. */\n background?: string | null;\n /** The text's foreground color as a hexadecimal value. */\n foreground?: string | null;\n}\n\nexport interface LinkData {\n /** Link details. */\n link?: Link;\n}\n\nexport interface MentionData {\n /** The mentioned user's name. */\n name?: string;\n /** The version of the user's name that appears after the `@` character in the mention. */\n slug?: string;\n /** Mentioned user's ID. */\n id?: string | null;\n /** 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. */\n type?: string | null;\n}\n\nexport interface FontSizeData {\n /** The units used for the font size. */\n unit?: FontTypeWithLiterals;\n /** Font size value. */\n value?: number | null;\n}\n\nexport enum FontType {\n PX = 'PX',\n EM = 'EM',\n}\n\n/** @enumType */\nexport type FontTypeWithLiterals = FontType | 'PX' | 'EM';\n\nexport interface SpoilerData {\n /** Spoiler ID. */\n id?: string | null;\n}\n\nexport interface FontFamilyData {\n /** @maxLength 1000 */\n value?: string | null;\n}\n\nexport interface SketchData {\n /** The sketch annotation variant to draw over the text. */\n variant?: VariantWithLiterals;\n /**\n * Annotation color. Defaults to the theme action color.\n * @maxLength 19\n */\n color?: string | null;\n /** Whether the annotation animates on first paint. Defaults to `true`. */\n animate?: boolean | null;\n}\n\nexport enum Variant {\n UNDERLINE = 'UNDERLINE',\n BOX = 'BOX',\n CIRCLE = 'CIRCLE',\n HIGHLIGHT = 'HIGHLIGHT',\n STRIKETHROUGH = 'STRIKETHROUGH',\n CROSSED_OFF = 'CROSSED_OFF',\n}\n\n/** @enumType */\nexport type VariantWithLiterals =\n | Variant\n | 'UNDERLINE'\n | 'BOX'\n | 'CIRCLE'\n | 'HIGHLIGHT'\n | 'STRIKETHROUGH'\n | 'CROSSED_OFF';\n\nexport interface AppEmbedData extends AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n /** The type of Wix App content being embedded. */\n type?: AppTypeWithLiterals;\n /** The ID of the embedded content. */\n itemId?: string | null;\n /** The name of the embedded content. */\n name?: string | null;\n /**\n * Deprecated: Use `image` instead.\n * @deprecated\n */\n imageSrc?: string | null;\n /** The URL for the embedded content. */\n url?: string | null;\n /** An image for the embedded content. */\n image?: V1Media;\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Whether to hide the title. */\n hideTitle?: boolean | null;\n /** Whether to hide the price. */\n hidePrice?: boolean | null;\n /** Whether to hide the description (Event and Booking). */\n hideDescription?: boolean | null;\n /** Whether to hide the date and time (Event). */\n hideDateTime?: boolean | null;\n /** Whether to hide the location (Event). */\n hideLocation?: boolean | null;\n /** Whether to hide the duration (Booking). */\n hideDuration?: boolean | null;\n /** Whether to hide the button. */\n hideButton?: boolean | null;\n /** Whether to hide the ribbon. */\n hideRibbon?: boolean | null;\n /** Button styling options. */\n buttonStyles?: ButtonStyles;\n /** Image styling options. */\n imageStyles?: ImageStyles;\n /** Ribbon styling options. */\n ribbonStyles?: RibbonStyles;\n /** Card styling options. */\n cardStyles?: CardStyles;\n /** Styling for the app embed's container. */\n containerData?: PluginContainerData;\n /** Pricing data for embedded Wix App content. */\n pricingData?: PricingData;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** @oneof */\nexport interface AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n}\n\nexport enum Position {\n /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Image positioned at the top */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';\n\nexport enum AspectRatio {\n /** 1:1 aspect ratio */\n SQUARE = 'SQUARE',\n /** 16:9 aspect ratio */\n RECTANGLE = 'RECTANGLE',\n}\n\n/** @enumType */\nexport type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';\n\nexport enum Resizing {\n /** Fill the container, may crop the image */\n FILL = 'FILL',\n /** Fit the image within the container */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';\n\nexport enum Placement {\n /** Ribbon placed on the image */\n IMAGE = 'IMAGE',\n /** Ribbon placed on the product information */\n PRODUCT_INFO = 'PRODUCT_INFO',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';\n\nexport enum CardStylesType {\n /** Card with visible border and background */\n CONTAINED = 'CONTAINED',\n /** Card without visible border */\n FRAMELESS = 'FRAMELESS',\n}\n\n/** @enumType */\nexport type CardStylesTypeWithLiterals =\n | CardStylesType\n | 'CONTAINED'\n | 'FRAMELESS';\n\nexport enum Alignment {\n /** Content aligned to start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Content centered */\n CENTER = 'CENTER',\n /** Content aligned to end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';\n\nexport enum Layout {\n /** Elements stacked vertically */\n STACKED = 'STACKED',\n /** Elements arranged horizontally */\n SIDE_BY_SIDE = 'SIDE_BY_SIDE',\n}\n\n/** @enumType */\nexport type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';\n\nexport enum AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\n\n/** @enumType */\nexport type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';\n\nexport interface BookingData {\n /** Booking duration in minutes. */\n durations?: string | null;\n}\n\nexport interface EventData {\n /** Event schedule. */\n scheduling?: string | null;\n /** Event location. */\n location?: string | null;\n}\n\nexport interface ButtonStyles {\n /** Text to display on the button. */\n buttonText?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface ImageStyles {\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Position of image. Defaults to `START`. */\n imagePosition?: PositionWithLiterals;\n /** Aspect ratio for the image. Defaults to `SQUARE`. */\n aspectRatio?: AspectRatioWithLiterals;\n /** How the image should be resized. Defaults to `FILL`. */\n resizing?: ResizingWithLiterals;\n /**\n * Image border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Image border width in pixels. */\n borderWidth?: number | null;\n /** Image border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface RibbonStyles {\n /** Text to display on the ribbon. */\n ribbonText?: string | null;\n /**\n * Ribbon background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Ribbon text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Ribbon border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Ribbon border width in pixels. */\n borderWidth?: number | null;\n /** Ribbon border radius in pixels. */\n borderRadius?: number | null;\n /** Placement of the ribbon. Defaults to `IMAGE`. */\n ribbonPlacement?: PlacementWithLiterals;\n}\n\nexport interface CardStyles {\n /**\n * Card background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Card border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Card border width in pixels. */\n borderWidth?: number | null;\n /** Card border radius in pixels. */\n borderRadius?: number | null;\n /** Card type. Defaults to `CONTAINED`. */\n type?: CardStylesTypeWithLiterals;\n /** Content alignment. Defaults to `START`. */\n alignment?: AlignmentWithLiterals;\n /** Layout for title and price. Defaults to `STACKED`. */\n titlePriceLayout?: LayoutWithLiterals;\n /**\n * Title text color as a hexadecimal value.\n * @maxLength 19\n */\n titleColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n}\n\nexport interface PricingData {\n /**\n * Minimum numeric price value as string (e.g., \"10.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueFrom?: string | null;\n /**\n * Maximum numeric price value as string (e.g., \"19.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueTo?: string | null;\n /**\n * Numeric price value as string after discount application (e.g., \"15.99\").\n * @decimalValue options { maxScale:2 }\n */\n discountedValue?: string | null;\n /**\n * Currency of the value in ISO 4217 format (e.g., \"USD\", \"EUR\").\n * @format CURRENCY\n */\n currency?: string | null;\n /**\n * Pricing plan ID.\n * @format GUID\n */\n pricingPlanId?: string | null;\n}\n\nexport interface VideoData {\n /** Styling for the video's container. */\n containerData?: PluginContainerData;\n /** Video details. */\n video?: V1Media;\n /** Video thumbnail details. */\n thumbnail?: V1Media;\n /** Sets whether the video's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Video title. */\n title?: string | null;\n /** Video options. */\n options?: PlaybackOptions;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface PlaybackOptions {\n /** Sets whether the media will automatically start playing. */\n autoPlay?: boolean | null;\n /** Sets whether media's will be looped. */\n playInLoop?: boolean | null;\n /** Sets whether media's controls will be shown. */\n showControls?: boolean | null;\n}\n\nexport interface EmbedData {\n /** Styling for the oEmbed node's container. */\n containerData?: PluginContainerData;\n /** An [oEmbed](https://www.oembed.com) object. */\n oembed?: Oembed;\n /** Origin asset source. */\n src?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface Oembed {\n /** The resource type. */\n type?: string | null;\n /** The width of the resource specified in the `url` property in pixels. */\n width?: number | null;\n /** The height of the resource specified in the `url` property in pixels. */\n height?: number | null;\n /** Resource title. */\n title?: string | null;\n /** The source URL for the resource. */\n url?: string | null;\n /** HTML for embedding a video player. The HTML should have no padding or margins. */\n html?: string | null;\n /** The name of the author or owner of the resource. */\n authorName?: string | null;\n /** The URL for the author or owner of the resource. */\n authorUrl?: string | null;\n /** The name of the resource provider. */\n providerName?: string | null;\n /** The URL for the resource provider. */\n providerUrl?: string | null;\n /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */\n thumbnailUrl?: string | null;\n /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */\n thumbnailWidth?: string | null;\n /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */\n thumbnailHeight?: string | null;\n /** The URL for an embedded viedo. */\n videoUrl?: string | null;\n /** The oEmbed version number. This value must be `1.0`. */\n version?: string | null;\n}\n\nexport interface CollapsibleListData {\n /** Styling for the collapsible list's container. */\n containerData?: PluginContainerData;\n /** If `true`, only one item can be expanded at a time. Defaults to `false`. */\n expandOnlyOne?: boolean | null;\n /** Sets which items are expanded when the page loads. */\n initialExpandedItems?: InitialExpandedItemsWithLiterals;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: DirectionWithLiterals;\n /** If `true`, The collapsible item will appear in search results as an FAQ. */\n isQapageData?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum InitialExpandedItems {\n /** First item will be expended initally */\n FIRST = 'FIRST',\n /** All items will expended initally */\n ALL = 'ALL',\n /** All items collapsed initally */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type InitialExpandedItemsWithLiterals =\n | InitialExpandedItems\n | 'FIRST'\n | 'ALL'\n | 'NONE';\n\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals = Direction | 'LTR' | 'RTL';\n\nexport interface TableData {\n /** Styling for the table's container. */\n containerData?: PluginContainerData;\n /** The table's dimensions. */\n dimensions?: Dimensions;\n /**\n * Deprecated: Use `rowHeader` and `columnHeader` instead.\n * @deprecated\n */\n header?: boolean | null;\n /** Sets whether the table's first row is a header. Defaults to `false`. */\n rowHeader?: boolean | null;\n /** Sets whether the table's first column is a header. Defaults to `false`. */\n columnHeader?: boolean | null;\n /** The spacing between cells in pixels. Defaults to `0`. */\n cellSpacing?: number | null;\n /**\n * Padding in pixels for cells. Follows CSS order: top, right, bottom, left.\n * @maxSize 4\n */\n cellPadding?: number[];\n /** Table's alternative text. */\n altText?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface Dimensions {\n /** An array representing relative width of each column in relation to the other columns. */\n colsWidthRatio?: number[];\n /** An array representing the height of each row in pixels. */\n rowsHeight?: number[];\n /** An array representing the minimum width of each column in pixels. */\n colsMinWidth?: number[];\n}\n\nexport interface TableCellData {\n /** Styling for the cell's background color and text alignment. */\n cellStyle?: CellStyle;\n /** The cell's border colors. */\n borderColors?: BorderColors;\n /** Defines how many columns the cell spans. Default: 1. */\n colspan?: number | null;\n /** Defines how many rows the cell spans. Default: 1. */\n rowspan?: number | null;\n /** The cell's border widths. */\n borderWidths?: BorderWidths;\n}\n\nexport enum VerticalAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentWithLiterals =\n | VerticalAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport interface CellStyle {\n /** Vertical alignment for the cell's text. */\n verticalAlignment?: VerticalAlignmentWithLiterals;\n /**\n * Cell background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n}\n\nexport interface BorderColors {\n /**\n * Left border color as a hexadecimal value.\n * @maxLength 19\n */\n left?: string | null;\n /**\n * Right border color as a hexadecimal value.\n * @maxLength 19\n */\n right?: string | null;\n /**\n * Top border color as a hexadecimal value.\n * @maxLength 19\n */\n top?: string | null;\n /**\n * Bottom border color as a hexadecimal value.\n * @maxLength 19\n */\n bottom?: string | null;\n}\n\nexport interface BorderWidths {\n /** Left border width in pixels. */\n left?: number | null;\n /** Right border width in pixels. */\n right?: number | null;\n /** Top border width in pixels. */\n top?: number | null;\n /** Bottom border width in pixels. */\n bottom?: number | null;\n}\n\n/**\n * `NullValue` is a singleton enumeration to represent the null value for the\n * `Value` type union.\n *\n * The JSON representation for `NullValue` is JSON `null`.\n */\nexport enum NullValue {\n /** Null value. */\n NULL_VALUE = 'NULL_VALUE',\n}\n\n/** @enumType */\nexport type NullValueWithLiterals = NullValue | 'NULL_VALUE';\n\n/**\n * `ListValue` is a wrapper around a repeated field of values.\n *\n * The JSON representation for `ListValue` is JSON array.\n */\nexport interface ListValue {\n /** Repeated field of dynamically typed values. */\n values?: any[];\n}\n\nexport interface AudioData {\n /** Styling for the audio node's container. */\n containerData?: PluginContainerData;\n /** Audio file details. */\n audio?: V1Media;\n /** Sets whether the audio node's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Cover image. */\n coverImage?: V1Media;\n /** Track name. */\n name?: string | null;\n /** Author name. */\n authorName?: string | null;\n /** An HTML version of the audio node. */\n html?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface OrderedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** List start number. */\n start?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface BulletedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface BlockquoteData {\n /** Indentation level from 1-4. */\n indentation?: number;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface CaptionData {\n textStyle?: TextStyle;\n}\n\nexport interface LayoutData {\n /**\n * Deprecated: Use `background` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColor?: string | null;\n /** Background image. */\n backgroundImage?: LayoutDataBackgroundImage;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Deprecated: Use `backdrop` instead.\n * @maxLength 19\n * @deprecated\n */\n backdropColor?: string | null;\n /** Backdrop image. */\n backdropImage?: LayoutDataBackgroundImage;\n /** Backdrop top padding. */\n backdropPaddingTop?: number | null;\n /** Backdrop bottom padding */\n backdropPaddingBottom?: number | null;\n /** Horizontal and vertical gap between columns */\n gap?: number | null;\n /**\n * Padding in pixels for cells. Follows CSS order: top, right, bottom, left\n * @maxSize 4\n */\n cellPadding?: number[];\n /** Vertical alignment for the cell's items. */\n cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;\n /** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */\n responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;\n /** Size in pixels when responsiveness_behaviour applies */\n responsivenessBreakpoint?: number | null;\n /** Styling for the layout's container. */\n containerData?: PluginContainerData;\n /** Defines where selected design propertied applies to */\n designTarget?: DesignTargetWithLiterals;\n /** Banner configuration. When present, this layout is attached to a document edge (top or bottom). */\n banner?: Banner;\n /** Background styling (color or gradient). */\n background?: LayoutDataBackground;\n /** Backdrop styling (color or gradient). */\n backdrop?: Backdrop;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ImageScalingScaling {\n /** Auto image scaling */\n AUTO = 'AUTO',\n /** Contain image scaling */\n CONTAIN = 'CONTAIN',\n /** Cover image scaling */\n COVER = 'COVER',\n}\n\n/** @enumType */\nexport type ImageScalingScalingWithLiterals =\n | ImageScalingScaling\n | 'AUTO'\n | 'CONTAIN'\n | 'COVER';\n\nexport enum ImagePosition {\n /** Image positioned at the center */\n CENTER = 'CENTER',\n /** Image positioned on the left */\n CENTER_LEFT = 'CENTER_LEFT',\n /** Image positioned on the right */\n CENTER_RIGHT = 'CENTER_RIGHT',\n /** Image positioned at the center top */\n TOP = 'TOP',\n /** Image positioned at the top left */\n TOP_LEFT = 'TOP_LEFT',\n /** Image positioned at the top right */\n TOP_RIGHT = 'TOP_RIGHT',\n /** Image positioned at the center bottom */\n BOTTOM = 'BOTTOM',\n /** Image positioned at the bottom left */\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n /** Image positioned at the bottom right */\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type ImagePositionWithLiterals =\n | ImagePosition\n | 'CENTER'\n | 'CENTER_LEFT'\n | 'CENTER_RIGHT'\n | 'TOP'\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** Background styling (color or gradient) */\nexport interface LayoutDataBackground {\n /** Background type. */\n type?: LayoutDataBackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Background type */\nexport enum LayoutDataBackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type LayoutDataBackgroundTypeWithLiterals =\n | LayoutDataBackgroundType\n | 'COLOR'\n | 'GRADIENT';\n\nexport enum BannerOrigin {\n /** Banner originated from an image */\n IMAGE = 'IMAGE',\n /** Banner originated from a layout */\n LAYOUT = 'LAYOUT',\n}\n\n/** @enumType */\nexport type BannerOriginWithLiterals = BannerOrigin | 'IMAGE' | 'LAYOUT';\n\nexport enum BannerPosition {\n /** Attached to the top edge (banner) */\n TOP = 'TOP',\n /** Attached to the bottom edge (footer) */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';\n\n/** Backdrop type */\nexport enum BackdropType {\n /** Solid color backdrop */\n COLOR = 'COLOR',\n /** Gradient backdrop */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';\n\nexport interface LayoutDataBackgroundImage {\n /** Background image. */\n media?: V1Media;\n /**\n * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.\n * @deprecated\n */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ImageScalingScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionWithLiterals;\n /** 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. */\n blur?: number | null;\n /** 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`). */\n overlay?: LayoutDataBackground;\n}\n\nexport enum VerticalAlignmentAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentAlignmentWithLiterals =\n | VerticalAlignmentAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport enum ResponsivenessBehaviour {\n /** Stacking of columns */\n STACK = 'STACK',\n /** Wrapping of columns */\n WRAP = 'WRAP',\n}\n\n/** @enumType */\nexport type ResponsivenessBehaviourWithLiterals =\n | ResponsivenessBehaviour\n | 'STACK'\n | 'WRAP';\n\nexport enum DesignTarget {\n /** Design applied to layout */\n LAYOUT = 'LAYOUT',\n /** Design applied to cells */\n CELL = 'CELL',\n}\n\n/** @enumType */\nexport type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';\n\nexport interface Banner {\n /** Origin of the banner */\n origin?: BannerOriginWithLiterals;\n /** Position of the banner */\n position?: BannerPositionWithLiterals;\n}\n\n/** Backdrop styling (color or gradient) */\nexport interface Backdrop {\n /** Backdrop type. */\n type?: BackdropTypeWithLiterals;\n /**\n * Backdrop color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\nexport interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface ShapeData {\n /** Styling for the shape's container. */\n containerData?: PluginContainerData;\n /** Shape file details. */\n shape?: V1Media;\n /** Styling for the shape. */\n styles?: ShapeDataStyles;\n /** Node animation. */\n animation?: Animation;\n /** Link details for shapes that are links. */\n link?: Link;\n /**\n * Alternate text describing the link's purpose for accessibility. Applies only when `link` is set.\n * @maxLength 1000\n */\n altText?: string | null;\n}\n\nexport interface ShapeDataStyles {\n /**\n * Shape fill color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Map of original color keys to their new color values. */\n colors?: Record<string, string>;\n}\n\nexport interface CardData {\n /** Background styling (color or gradient). */\n background?: CardDataBackground;\n /** Background image. */\n backgroundImage?: BackgroundImage;\n}\n\nexport enum Scaling {\n /** Auto image scaling */\n AUTO = 'AUTO',\n /** Contain image scaling */\n CONTAIN = 'CONTAIN',\n /** Cover image scaling */\n COVER = 'COVER',\n}\n\n/** @enumType */\nexport type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';\n\nexport enum ImagePositionPosition {\n /** Image positioned at the center */\n CENTER = 'CENTER',\n /** Image positioned on the left */\n CENTER_LEFT = 'CENTER_LEFT',\n /** Image positioned on the right */\n CENTER_RIGHT = 'CENTER_RIGHT',\n /** Image positioned at the center top */\n TOP = 'TOP',\n /** Image positioned at the top left */\n TOP_LEFT = 'TOP_LEFT',\n /** Image positioned at the top right */\n TOP_RIGHT = 'TOP_RIGHT',\n /** Image positioned at the center bottom */\n BOTTOM = 'BOTTOM',\n /** Image positioned at the bottom left */\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n /** Image positioned at the bottom right */\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type ImagePositionPositionWithLiterals =\n | ImagePositionPosition\n | 'CENTER'\n | 'CENTER_LEFT'\n | 'CENTER_RIGHT'\n | 'TOP'\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** Background styling (color or gradient) */\nexport interface CardDataBackground {\n /** Background type. */\n type?: CardDataBackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Background type */\nexport enum CardDataBackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type CardDataBackgroundTypeWithLiterals =\n | CardDataBackgroundType\n | 'COLOR'\n | 'GRADIENT';\n\nexport interface BackgroundImage {\n /** Background image. */\n media?: V1Media;\n /**\n * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.\n * @deprecated\n */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionPositionWithLiterals;\n /** 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`). */\n overlay?: CardDataBackground;\n /** 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. */\n blur?: number | null;\n}\n\nexport interface TocData {\n /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */\n includedHeadings?: number[];\n /** List style. Default: PLAIN. */\n listStyle?: ListStyleWithLiterals;\n /** Optional override for the font size in pixels. */\n fontSize?: number | null;\n /** Optional override for the vertical spacing between items in pixels. */\n itemSpacing?: number | null;\n /**\n * Optional override for the text color.\n * @maxLength 19\n */\n color?: string | null;\n /** Indentation style. Default: NESTED. */\n indentation?: IndentationWithLiterals;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** List style. */\nexport enum ListStyle {\n /** No markers (default) */\n PLAIN = 'PLAIN',\n /** Numbered list */\n NUMBERED = 'NUMBERED',\n /** Alphabetic letters */\n LETTERS = 'LETTERS',\n /** Roman numerals */\n ROMAN = 'ROMAN',\n /** Bulleted list */\n BULLETED = 'BULLETED',\n /** Alphabetical index */\n ALPHABETICAL_INDEX = 'ALPHABETICAL_INDEX',\n /** Alphabetical index (compact top-row only) */\n ALPHABETICAL_INDEX_COMPACT = 'ALPHABETICAL_INDEX_COMPACT',\n}\n\n/** @enumType */\nexport type ListStyleWithLiterals =\n | ListStyle\n | 'PLAIN'\n | 'NUMBERED'\n | 'LETTERS'\n | 'ROMAN'\n | 'BULLETED'\n | 'ALPHABETICAL_INDEX'\n | 'ALPHABETICAL_INDEX_COMPACT';\n\n/** Indentation style. */\nexport enum Indentation {\n /** Sub-headings indented under parents (default) */\n NESTED = 'NESTED',\n /** All items at the same level */\n FLAT = 'FLAT',\n}\n\n/** @enumType */\nexport type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';\n\n/** Data for a smart block node. */\nexport interface SmartBlockData {\n /** The type of the smart block. */\n type?: SmartBlockDataTypeWithLiterals;\n /** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */\n orientation?: string | null;\n /** Column size controlling cells per row. */\n columnSize?: ColumnSizeWithLiterals;\n /**\n * Border color (for SOLID_JOINED_BOXES variant).\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels (for SOLID_JOINED_BOXES variant). */\n borderWidth?: number | null;\n /** Border radius in pixels (for SOLID_JOINED_BOXES variant). */\n borderRadius?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** Layout type of the smart block */\nexport enum SmartBlockDataType {\n /** Grid-based layouts with solid box items containing title, body, and icon/image. */\n SOLID_BOXES = 'SOLID_BOXES',\n /** Numbered boxes. */\n NUMBERED_BOXES = 'NUMBERED_BOXES',\n /** Statistics display with large numbers/values. */\n STATS = 'STATS',\n /** Statistics with circular visual elements. */\n CIRCLE_STATS = 'CIRCLE_STATS',\n /** Staggered/zigzag grid layout with alternating box positions. */\n SOLID_BOXES_ALTERNATING = 'SOLID_BOXES_ALTERNATING',\n /** Grid layout with boxes visually joined (no gaps, shared container border). */\n SOLID_JOINED_BOXES = 'SOLID_JOINED_BOXES',\n /** Transparent cells with only a left side line. */\n SIDE_LINE_TEXT = 'SIDE_LINE_TEXT',\n /** Transparent cells with only a top line. */\n TOP_LINE_TEXT = 'TOP_LINE_TEXT',\n /** Outlined boxes with a numbered/icon circle at the top. */\n OUTLINE_BOXES_WITH_TOP_CIRCLE = 'OUTLINE_BOXES_WITH_TOP_CIRCLE',\n /** Large icon bullets with text content. */\n BIG_BULLETS = 'BIG_BULLETS',\n /** Small dot bullets with text content. */\n SMALL_BULLETS = 'SMALL_BULLETS',\n /** Arrow icon bullets with text content. */\n ARROW_BULLETS = 'ARROW_BULLETS',\n /** Process steps with numbered/icon labels above a horizontal line. */\n PROCESS_STEPS = 'PROCESS_STEPS',\n /** Statistics with bar visual elements. */\n BAR_STATS = 'BAR_STATS',\n /** Timeline layout with numbered chips on a connecting line; cells alternate around the line. */\n TIMELINE = 'TIMELINE',\n /** Timeline layout with plain dot indicators; no numbers or shapes; cells alternate around the line. */\n MINIMAL_TIMELINE = 'MINIMAL_TIMELINE',\n /** Numbered pill-shaped labels (stadium chips) with text content; supports HORIZONTAL (pill on top) and VERTICAL (pill on left) orientations. */\n PILLS = 'PILLS',\n /** Star rating display with stars and a numeric value per cell. */\n STAR_RATING = 'STAR_RATING',\n /** Outlined boxes with decorative quote glyphs at the top-left and bottom-right corners. */\n QUOTE_BOXES = 'QUOTE_BOXES',\n /** Donut/ring with numbered annular-sector segments; cell text labels sit outside the ring. */\n CIRCLE = 'CIRCLE',\n /** Hierarchical pyramid where each cell renders as a horizontal slice (apex at top, base at bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the pyramid. */\n PYRAMID = 'PYRAMID',\n /** Cells render a horizontal bar whose width scales with cell index, creating a staircase pattern; bar carries the cell number or a custom shape. */\n STAIRCASE = 'STAIRCASE',\n /** Hierarchical funnel where each cell renders as a horizontal slice (wide at top, narrowing toward the bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the funnel. */\n VERTICAL_FUNNEL = 'VERTICAL_FUNNEL',\n}\n\n/** @enumType */\nexport type SmartBlockDataTypeWithLiterals =\n | SmartBlockDataType\n | 'SOLID_BOXES'\n | 'NUMBERED_BOXES'\n | 'STATS'\n | 'CIRCLE_STATS'\n | 'SOLID_BOXES_ALTERNATING'\n | 'SOLID_JOINED_BOXES'\n | 'SIDE_LINE_TEXT'\n | 'TOP_LINE_TEXT'\n | 'OUTLINE_BOXES_WITH_TOP_CIRCLE'\n | 'BIG_BULLETS'\n | 'SMALL_BULLETS'\n | 'ARROW_BULLETS'\n | 'PROCESS_STEPS'\n | 'BAR_STATS'\n | 'TIMELINE'\n | 'MINIMAL_TIMELINE'\n | 'PILLS'\n | 'STAR_RATING'\n | 'QUOTE_BOXES'\n | 'CIRCLE'\n | 'PYRAMID'\n | 'STAIRCASE'\n | 'VERTICAL_FUNNEL';\n\n/** Column size controlling how many cells appear per row. */\nexport enum ColumnSize {\n /** Up to 4 cells in a row. */\n SMALL = 'SMALL',\n /** Up to 3 cells in a row (default). */\n MEDIUM = 'MEDIUM',\n /** Up to 2 cells in a row. */\n LARGE = 'LARGE',\n /** 1 cell in a row. */\n EXTRA_LARGE = 'EXTRA_LARGE',\n}\n\n/** @enumType */\nexport type ColumnSizeWithLiterals =\n | ColumnSize\n | 'SMALL'\n | 'MEDIUM'\n | 'LARGE'\n | 'EXTRA_LARGE';\n\n/** Data for a smart block cell node. */\nexport interface SmartBlockCellData {\n /** Optional label text for the cell (e.g., for stats variants). */\n label?: string | null;\n /** Shape file details. */\n shape?: V1Media;\n /**\n * Border color of the cell.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /** The type of the parent smart block (must match parent). */\n type?: SmartBlockDataTypeWithLiterals;\n /**\n * Accent color for non-background variants (e.g., line, bullet, label color).\n * @maxLength 19\n */\n accentColor?: string | null;\n /**\n * Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES).\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Shape fill color as a hexadecimal value.\n * @maxLength 19\n */\n shapeColor?: string | null;\n}\n\nexport interface CheckboxListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface ListItemNodeData {\n /** Checkbox list item state. Defaults to `false`. */\n checked?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface Metadata {\n /** Schema version. */\n version?: number;\n /**\n * When the object was created.\n * @readonly\n * @deprecated\n */\n createdTimestamp?: Date | null;\n /**\n * When the object was most recently updated.\n * @deprecated\n */\n updatedTimestamp?: Date | null;\n /** Object ID. */\n _id?: string | null;\n}\n\nexport interface DocumentStyle {\n /** Styling for H1 nodes. */\n headerOne?: TextNodeStyle;\n /** Styling for H2 nodes. */\n headerTwo?: TextNodeStyle;\n /** Styling for H3 nodes. */\n headerThree?: TextNodeStyle;\n /** Styling for H4 nodes. */\n headerFour?: TextNodeStyle;\n /** Styling for H5 nodes. */\n headerFive?: TextNodeStyle;\n /** Styling for H6 nodes. */\n headerSix?: TextNodeStyle;\n /** Styling for paragraph nodes. */\n paragraph?: TextNodeStyle;\n /** Styling for block quote nodes. */\n blockquote?: TextNodeStyle;\n /** Styling for code block nodes. */\n codeBlock?: TextNodeStyle;\n}\n\nexport interface TextNodeStyle {\n /** The decorations to apply to the node. */\n decorations?: Decoration[];\n /** Padding and background color for the node. */\n nodeStyle?: NodeStyle;\n /** Line height for text in the node. */\n lineHeight?: string | null;\n}\n\nexport enum Status {\n UNKNOWN = 'UNKNOWN',\n /** Status indicating the draft post is published. */\n PUBLISHED = 'PUBLISHED',\n /** Status indicating the draft post is unpublished. */\n UNPUBLISHED = 'UNPUBLISHED',\n /** Status indicating the draft post is scheduled for publication. */\n SCHEDULED = 'SCHEDULED',\n /** Status indicating the draft post is deleted. */\n DELETED = 'DELETED',\n /**\n * Deprecated. Use `IN_REVIEW` instead. Status indicating the draft post is in review.\n * Target removal date 2024-06-30\n * Reserved for internal use.\n * @internal\n */\n IN_MODERATION = 'IN_MODERATION',\n /** Status indicating the draft post is in review. */\n IN_REVIEW = 'IN_REVIEW',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UNKNOWN'\n | 'PUBLISHED'\n | 'UNPUBLISHED'\n | 'SCHEDULED'\n | 'DELETED'\n | 'IN_REVIEW';\n\nexport interface ModerationDetails {\n /**\n * Member ID of the person submitting the draft post for review.\n * @format GUID\n */\n submittedBy?: string;\n /** Date the post was submitted for review. */\n submittedDate?: Date | null;\n /** Status indicating whether the submission was approved or rejected by the moderator. */\n status?: ModerationStatusStatusWithLiterals;\n /**\n * Member ID of the person who approved or rejected the post.\n * @format GUID\n */\n moderatedBy?: string | null;\n /** Date the post was approved or rejected. */\n moderationDate?: Date | null;\n}\n\nexport enum ModerationStatusStatus {\n UNKNOWN = 'UNKNOWN',\n APPROVED = 'APPROVED',\n REJECTED = 'REJECTED',\n}\n\n/** @enumType */\nexport type ModerationStatusStatusWithLiterals =\n | ModerationStatusStatus\n | 'UNKNOWN'\n | 'APPROVED'\n | 'REJECTED';\n\n/**\n * 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.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /**\n * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n * i.e. an entry from the site's Advanced/Custom Tags list.\n *\n * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\n * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n * a live page reflects a manual per-page SEO edit.\n *\n * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n * Pass `seoData` explicitly to resolve against a known set of tags.\n */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface Media extends MediaMediaOneOf {\n /** Wix Media details. */\n wixMedia?: WixMedia;\n /** Embed media details. */\n embedMedia?: EmbedMedia;\n /** Whether cover media is displayed. */\n displayed?: boolean;\n /** Whether custom cover media has been specified. If `false`, the first media item in the post's content serves as cover media. */\n custom?: boolean;\n /**\n * Media alternative text.\n * @minLength 1\n * @maxLength 1000\n */\n altText?: string | null;\n}\n\n/** @oneof */\nexport interface MediaMediaOneOf {\n /** Wix Media details. */\n wixMedia?: WixMedia;\n /** Embed media details. */\n embedMedia?: EmbedMedia;\n}\n\nexport interface WixMedia {\n /** Image details. */\n image?: string;\n /** Video details. */\n videoV2?: string;\n}\n\nexport interface VideoResolution {\n /** Video URL. */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /**\n * Deprecated. Use the `posters` property in the parent entity instead.\n * @internal\n * @deprecated\n */\n poster?: string;\n /** Video format for example, mp4, hls. */\n format?: string;\n /**\n * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n * @internal\n * @deprecated\n */\n urlExpirationDate?: Date | null;\n /**\n * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n * @internal\n * @format DECIMAL_VALUE\n * @deprecated\n */\n sizeInBytes?: string | null;\n /**\n * Video quality. For example: 480p, 720p.\n * @internal\n */\n quality?: string | null;\n /**\n * Video filename.\n * @internal\n */\n filename?: string | null;\n /**\n * Video duration in seconds.\n * @internal\n * @readonly\n * @deprecated Video duration in seconds.\n * @replacedBy duration_in_milliseconds\n * @targetRemovalDate 2024-08-01\n */\n durationInSeconds?: number | null;\n /**\n * Video duration in milliseconds.\n * @internal\n * @readonly\n */\n durationInMilliseconds?: number | null;\n /**\n * When true, this is a protected asset, and calling the URL will return a 403 error.\n * In order to access private assets, make a request to:\n * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n * @internal\n * @readonly\n */\n private?: boolean | null;\n /**\n * Key to identify the video resolution's relationship to the original media in WixMedia.\n * Can be used to request a download for the specific video resolution.\n * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n * @internal\n * @readonly\n */\n assetKey?: string | null;\n}\n\nexport interface EmbedMedia {\n /** Thumbnail details. */\n thumbnail?: EmbedThumbnail;\n /** Video details. */\n video?: EmbedVideo;\n}\n\nexport interface EmbedThumbnail {\n /**\n * Thumbnail url.\n * @maxLength 2000\n */\n url?: string;\n /** Thumbnail width. */\n width?: number;\n /** Thumbnail height. */\n height?: number;\n}\n\nexport interface EmbedVideo {\n /**\n * Video url.\n * @maxLength 2000\n */\n url?: string;\n /** Video width. */\n width?: number;\n /** Video height. */\n height?: number;\n}\n\nexport interface DraftPostTranslation {\n /**\n * Post ID.\n * @format GUID\n */\n _id?: string;\n /** Post status. */\n status?: StatusWithLiterals;\n /**\n * Language the post is written in.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Post slug. For example, 'post-slug'.\n * @maxLength 100\n */\n slug?: string | null;\n /** SEO data. */\n seoData?: SeoSchema;\n /** Post URL. */\n url?: string;\n}\n\nexport interface DraftCategoriesUpdated {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId?: string;\n /**\n * Current categories of the draft.\n * @maxSize 10\n * @format GUID\n */\n categories?: string[];\n /**\n * Previous categories of the draft.\n * @maxSize 10\n * @format GUID\n */\n previousCategories?: string[];\n}\n\nexport interface DraftTagsUpdated {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId?: string;\n /**\n * Current tags of the draft.\n * @maxSize 30\n * @format GUID\n */\n tags?: string[];\n /**\n * Previous tags of the draft.\n * @maxSize 30\n * @format GUID\n */\n previousTags?: string[];\n}\n\nexport interface GetDraftPostTotalsRequest {\n /**\n * Group results by fields (defaults to grouping by status).\n * If, for example, grouping by language is passed, language values in response will be filled.\n * If, for example, grouping by language is not passed, null values will be filled in language field in response.\n * @maxSize 10\n */\n groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];\n /**\n * Optional language filter by provided language code. Useful in multilingual context.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n}\n\nexport enum TotalDraftPostsGroupingField {\n /** Groups results by status. */\n STATUS = 'STATUS',\n /** Groups results by language. */\n LANGUAGE = 'LANGUAGE',\n}\n\n/** @enumType */\nexport type TotalDraftPostsGroupingFieldWithLiterals =\n | TotalDraftPostsGroupingField\n | 'STATUS'\n | 'LANGUAGE';\n\nexport interface GetDraftPostTotalsResponse {\n /** Draft post totals. */\n totalDraftPosts?: TotalDraftPosts[];\n}\n\nexport interface TotalDraftPosts {\n /** Draft post totals in that group. */\n total?: number;\n /** Draft post status (only has value when grouping by status, otherwise null). */\n status?: StatusWithLiterals;\n /**\n * Draft post language code (only has value when grouping by language, otherwise null).\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\nexport interface InitialDraftPostsCopied {\n /** Number of draft posts copied. */\n count?: number;\n}\n\nexport interface CreateDraftPostRequest {\n /** Draft post to create. */\n draftPost: DraftPost;\n /**\n * Whether the draft post should be published on creation.\n *\n * Default: `false`\n */\n publish?: boolean;\n /**\n * Save type.\n * @internal\n */\n saveType?: TypeWithLiterals;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport enum Type {\n UNKNOWN = 'UNKNOWN',\n /** Manually saved. */\n MANUAL = 'MANUAL',\n /** Triggered by autosave. */\n AUTO_SAVE = 'AUTO_SAVE',\n /** Copied from template during provisioning flow. */\n PROVISIONING = 'PROVISIONING',\n /** Imported from another blog. */\n IMPORT = 'IMPORT',\n /** Triggered by autosave when post created by AI tool. */\n AI_AUTO_SAVE = 'AI_AUTO_SAVE',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'UNKNOWN'\n | 'MANUAL'\n | 'AUTO_SAVE'\n | 'PROVISIONING'\n | 'IMPORT'\n | 'AI_AUTO_SAVE';\n\nexport enum Field {\n /** Unknown field. */\n UNKNOWN = 'UNKNOWN',\n /** Includes draft post preview URL. */\n URL = 'URL',\n /**\n * Includes internal id field.\n * Reserved for internal use.\n * @internal\n */\n INTERNAL_ID = 'INTERNAL_ID',\n /** Includes content field. */\n CONTENT = 'CONTENT',\n /** Includes rich content field. */\n RICH_CONTENT = 'RICH_CONTENT',\n /**\n * Includes draft post translations when present.\n * @internal\n */\n TRANSLATIONS = 'TRANSLATIONS',\n /** If the user has not set excerpt, returns the one autogenerated from content. */\n GENERATED_EXCERPT = 'GENERATED_EXCERPT',\n}\n\n/** @enumType */\nexport type FieldWithLiterals =\n | Field\n | 'UNKNOWN'\n | 'URL'\n | 'CONTENT'\n | 'RICH_CONTENT'\n | 'GENERATED_EXCERPT';\n\nexport interface CreateDraftPostResponse {\n /** Created draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface BulkCreateDraftPostsRequest {\n /**\n * Draft posts to create.\n * @minSize 1\n * @maxSize 20\n */\n draftPosts: DraftPost[];\n /** Whether the draft post should be published after creation. */\n publish?: boolean;\n /**\n * Save type.\n * @internal\n */\n saveType?: TypeWithLiterals;\n /** Whether to return the full created draft post entities in the response. */\n returnFullEntity?: boolean;\n /**\n * List of draft post fields to be included in the response if the entities are present.\n * Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).\n * For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface BulkCreateDraftPostsResponse {\n /** Draft posts created by bulk action. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDraftPostResult {\n /** Bulk actions metadata for draft post. */\n itemMetadata?: ItemMetadata;\n /** Optional full draft post. */\n item?: DraftPost;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdateDraftPostsRequest {\n /**\n * Draft posts to update.\n * @minSize 1\n * @maxSize 20\n */\n draftPosts?: MaskedDraftPosts[];\n /**\n * Action to perform on the posts.\n *\n * Default: `UPDATE`\n */\n action?: ActionWithLiterals;\n /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */\n scheduledPublishDate?: Date | null;\n /**\n * Save type.\n * @internal\n */\n saveType?: TypeWithLiterals;\n /** Whether to return the full updated draft post entities in the response. */\n returnFullEntity?: boolean;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface MaskedDraftPosts {\n /** Draft post */\n draftPost?: DraftPost;\n /** Field mask of fields to update. */\n fieldMask?: string[];\n}\n\nexport enum Action {\n /** Update the draft post. */\n UPDATE = 'UPDATE',\n /** Update and publish a draft post. */\n UPDATE_PUBLISH = 'UPDATE_PUBLISH',\n /** Update the draft post and schedule a publish date. */\n UPDATE_SCHEDULE = 'UPDATE_SCHEDULE',\n /** Update the post and revert it to draft. */\n UPDATE_REVERT_TO_DRAFT = 'UPDATE_REVERT_TO_DRAFT',\n /** Update the draft post and cancel the scheduled publish date. */\n UPDATE_CANCEL_SCHEDULE = 'UPDATE_CANCEL_SCHEDULE',\n /** Update and reject draft post. */\n UPDATE_REJECT = 'UPDATE_REJECT',\n /** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */\n UPDATE_PUBLICATION = 'UPDATE_PUBLICATION',\n}\n\n/** @enumType */\nexport type ActionWithLiterals =\n | Action\n | 'UPDATE'\n | 'UPDATE_PUBLISH'\n | 'UPDATE_SCHEDULE'\n | 'UPDATE_REVERT_TO_DRAFT'\n | 'UPDATE_CANCEL_SCHEDULE'\n | 'UPDATE_REJECT'\n | 'UPDATE_PUBLICATION';\n\nexport interface BulkUpdateDraftPostsResponse {\n /** Draft posts updated by bulk action. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface DraftPostOwnerChanged {\n /**\n * Member ID of the draft post's owner before the change.\n * @internal\n * @format GUID\n */\n oldMemberId?: string;\n /**\n * Member ID of the draft post's owner after the change.\n * @internal\n * @format GUID\n */\n newMemberId?: string;\n}\n\nexport interface ListDeletedDraftPostsRequest {\n /**\n * Language filter.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * If omitted, deleted draft posts in all languages are returned.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Sorting options.\n *\n * Default: `EDITING_DATE_DESCENDING`\n */\n sort?: GetDraftPostsSortWithLiterals;\n /** Pagination options. */\n paging?: BlogPaging;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /**\n * Draft post ids.\n * @maxSize 100\n * @format GUID\n */\n draftPostIds?: string[];\n}\n\nexport enum GetDraftPostsSort {\n /** Sort by `editedDate` in descending order. */\n EDITING_DATE_DESC = 'EDITING_DATE_DESC',\n /** Sort by `editedDate` in ascending order. */\n EDITING_DATE_ASC = 'EDITING_DATE_ASC',\n}\n\n/** @enumType */\nexport type GetDraftPostsSortWithLiterals =\n | GetDraftPostsSort\n | 'EDITING_DATE_DESC'\n | 'EDITING_DATE_ASC';\n\nexport interface BlogPaging {\n /**\n * Number of items to skip in the current sort order.\n *\n *\n * Default: `0`\n */\n offset?: number;\n /**\n * Number of items to return.\n *\n *\n * Default:`50`\n * @min 1\n * @max 100\n */\n limit?: number;\n /**\n * Pointer to the next or previous page in the list of results.\n * @maxLength 2000\n */\n cursor?: string | null;\n}\n\nexport interface ListDeletedDraftPostsResponse {\n /** List of draft posts. */\n draftPosts?: DraftPost[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n * @internal\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor pointing to next page in the list of results.\n * @maxLength 2000\n */\n next?: string | null;\n /**\n * Cursor pointing to previous page in the list of results.\n * @maxLength 2000\n */\n prev?: string | null;\n}\n\nexport interface GetDraftPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface GetDraftPostResponse {\n /** Draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface UpdateDraftPostContentRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId?: string;\n /** Change origin. */\n changeOrigin?: OriginWithLiterals;\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /** Draft Post rich content. */\n richContent?: RichContent;\n}\n\nexport interface UpdateDraftPostContentResponse {\n /** Updated draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface UpdateDraftPostRequest {\n /** Draft post to update. */\n draftPost: DraftPost;\n /**\n * Field mask of fields to update.\n * @internal\n */\n fieldMask?: string[];\n /**\n * Save type.\n * @internal\n */\n saveType?: TypeWithLiterals;\n /**\n * Action to perform on the post.\n *\n * Default: `UPDATE`\n */\n action?: ActionWithLiterals;\n /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */\n scheduledPublishDate?: Date | null;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface UpdateDraftPostResponse {\n /** Updated draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface DeleteDraftPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n /**\n * Whether to bypass the trash bin and delete the post permanently.\n *\n * Default: `false`\n */\n permanent?: boolean;\n}\n\nexport interface DeleteDraftPostResponse {}\n\nexport interface RemoveFromTrashBinRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n}\n\nexport interface RemoveFromTrashBinResponse {}\n\nexport interface BulkDeleteDraftPostsRequest {\n /**\n * Post IDs.\n * @minSize 1\n * @maxSize 100\n * @maxLength 38\n */\n postIds: string[];\n /** Should delete bypassing the trash-bin. */\n permanent?: boolean;\n}\n\nexport interface BulkDeleteDraftPostsResponse {\n /** Bulk action results. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ListDraftPostsRequest {\n /**\n * Draft post status filter.\n *\n * If omitted, draft posts with all statuses are returned.\n */\n status?: StatusWithLiterals;\n /**\n * Language filter.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * If omitted, draft posts in all languages are returned.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Sort options.\n *\n * Default: `EDITING_DATE_DESCENDING`\n */\n sort?: GetDraftPostsSortWithLiterals;\n /** Pagination options. */\n paging?: BlogPaging;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface ListDraftPostsResponse {\n /** List of draft posts. */\n draftPosts?: DraftPost[];\n /** Details on the paged set of results returned. */\n metaData?: MetaData;\n}\n\nexport interface MetaData {\n /** Number of items returned in this response. */\n count?: number;\n /** Requested offset. */\n offset?: number;\n /** Total number of items that match the query. */\n total?: number;\n /**\n * Pointer to the next or previous page in the list of results.\n * @maxLength 2000\n */\n cursor?: string | null;\n}\n\nexport interface GetDeletedDraftPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n}\n\nexport interface GetDeletedDraftPostResponse {\n /** Draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface RestoreFromTrashBinRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n}\n\nexport interface RestoreFromTrashBinResponse {\n /** Restored draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface QueryDraftPostsRequest {\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /** Query options. */\n query?: PlatformQuery;\n}\n\nexport interface PlatformQuery extends PlatformQueryPagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 3\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface PlatformQueryPagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n /**\n * Origin point for geo-distance sorting on a GEO field\n * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n */\n origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface Paging {\n /**\n * Number of items to load.\n * @max 100\n */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Number of items to load.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * You can get the relevant cursor token\n * from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 2000\n */\n cursor?: string | null;\n}\n\nexport interface QueryDraftPostsResponse {\n /** List of posts. */\n draftPosts?: DraftPost[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PublishDraftPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n}\n\nexport interface PublishDraftPostResponse {\n /**\n * Published post ID.\n * @format GUID\n */\n postId?: string;\n}\n\nexport interface UnpublishPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId?: string;\n}\n\nexport interface UnpublishPostResponse {}\n\nexport interface GetDraftPostCountsRequest {\n /**\n * Tag IDs to count draft posts for.\n * @maxSize 50\n * @format GUID\n */\n tagIds?: string[];\n /**\n * Category IDs to count draft posts for.\n * @maxSize 50\n * @format GUID\n */\n categoryIds?: string[];\n}\n\nexport interface GetDraftPostCountsResponse {\n /** Draft post counts per tag. */\n tagPostCounts?: DraftPostCount[];\n /** Draft post counts per category. */\n categoryPostCounts?: DraftPostCount[];\n}\n\nexport interface DraftPostCount {\n /**\n * Tag or Category ID.\n * @format GUID\n */\n _id?: string;\n /** Number of posts. */\n postCount?: number;\n}\n\nexport interface BulkRevertToUnpublishedRequest {\n /**\n * Source post IDs.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n postIds?: string[];\n /** Should full draft post be returned. */\n returnFullEntity?: boolean;\n}\n\nexport interface BulkRevertToUnpublishedResponse {\n /** Bulk action results. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkRejectDraftPostRequest {\n /**\n * Source post IDs.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n postIds?: string[];\n /** Should full draft post be returned. */\n returnFullEntity?: boolean;\n}\n\nexport interface BulkRejectDraftPostResponse {\n /** Bulk action results. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface RevertToUnpublishedRequest {\n /**\n * Source post ID.\n * @format GUID\n */\n postId?: string;\n /**\n * List of draft post fields to be included in the response.\n * @internal\n * @maxSize 10\n * @deprecated List of draft post fields to be included in the response.\n * @replacedBy fieldsets\n * @targetRemovalDate 2024-06-30\n */\n fieldsToInclude?: FieldWithLiterals[];\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface RevertToUnpublishedResponse {\n /** Updated post draft. */\n draftPost?: DraftPost;\n}\n\nexport interface RejectDraftPostRequest {\n /**\n * Source post ID.\n * @format GUID\n */\n postId?: string;\n /**\n * List of draft post fields to be included in the response.\n * @internal\n * @maxSize 10\n * @deprecated List of draft post fields to be included in the response.\n * @replacedBy fieldsets\n * @targetRemovalDate 2024-06-30\n */\n fieldsToInclude?: FieldWithLiterals[];\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface RejectDraftPostResponse {\n /** Draft post. */\n draftPost?: DraftPost;\n}\n\nexport interface ApproveDraftPostRequest {\n /**\n * Source post ID.\n * @format GUID\n */\n postId?: string;\n /**\n * Scheduled publish date if should be not immediately published.\n * @maxLength 24\n */\n scheduledPublishDate?: string | null;\n /**\n * List of draft post fields to be included in the response.\n * @internal\n * @maxSize 10\n * @deprecated List of draft post fields to be included in the response.\n * @replacedBy fieldsets\n * @targetRemovalDate 2024-06-30\n */\n fieldsToInclude?: FieldWithLiterals[];\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface ApproveDraftPostResponse {\n /** Updated post draft. */\n draftPost?: DraftPost;\n}\n\nexport interface MarkPostAsInModerationRequest {\n /**\n * Source post ID.\n * @maxLength 38\n */\n postId?: string;\n /**\n * List of draft post fields to be included in the response.\n * @internal\n * @maxSize 10\n * @deprecated List of draft post fields to be included in the response.\n * @replacedBy fieldsets\n * @targetRemovalDate 2024-06-30\n */\n fieldsToInclude?: FieldWithLiterals[];\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface MarkPostAsInModerationResponse {\n /** Updated post draft. */\n draftPost?: DraftPost;\n}\n\nexport interface TranslateDraftRequest {\n /**\n * Source post or draft ID\n * @format GUID\n */\n postId?: string;\n /**\n * Translation language\n * @format LANGUAGE_TAG\n */\n language?: string;\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /**\n * Performs automatic translation of the title and the content of the draft post to the target language.\n * @internal\n */\n useAutoTranslation?: boolean;\n}\n\nexport interface TranslateDraftResponse {\n /** Draft post. */\n draftPost?: DraftPost;\n}\n\nexport interface IsDraftPostAutoTranslatableRequest {\n /**\n * Source post or draft ID.\n * @format GUID\n */\n draftPostId?: string;\n}\n\nexport interface IsDraftPostAutoTranslatableResponse {\n /**\n * Source draft post ID.\n * @format GUID\n */\n draftPostId?: string;\n /** Indicates if enough machine translation credits are available for the draft post translation. */\n translatable?: boolean;\n /** Draft post title word count. */\n titleWordCount?: number;\n /** Draft post content word count. */\n contentWordCount?: number;\n /** Word credits available for auto translation. */\n availableAutoTranslateWords?: number;\n /** Word credits available after auto translation would be done. */\n availableAutoTranslateWordsAfter?: number;\n /** Content text character count. */\n contentTextCharacterCount?: number;\n}\n\nexport interface UpdateDraftPostLanguageRequest {\n /**\n * Source draft post ID\n * @format GUID\n */\n postId?: string;\n /**\n * New language to replace to\n * @minLength 2\n * @format LANGUAGE_TAG\n */\n language?: string;\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface UpdateDraftPostLanguageResponse {\n /** Draft post */\n draftPost?: DraftPost;\n}\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n accountInfo?: AccountInfoMetadata;\n}\n\nexport interface AccountInfoMetadata {\n /** ID of the Wix account associated with the event */\n accountId: string;\n /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */\n siteId?: string;\n /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */\n parentAccountId?: string;\n}\n\nexport interface DraftCreatedEnvelope {\n entity: DraftPost;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a draft post is created.\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionScope Read Blog\n * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionId BLOG.READ_ANY_DRAFT\n * @permissionId BLOG.READ-PUBLICATION\n * @webhook\n * @eventType wix.blog.v3.draft_created\n * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService\n * @slug created\n */\nexport declare function onDraftCreated(\n handler: (event: DraftCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface DraftDeletedEnvelope {\n entity: DraftPost;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a draft post is deleted.\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionScope Read Blog\n * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionId BLOG.READ_ANY_DRAFT\n * @permissionId BLOG.READ-PUBLICATION\n * @webhook\n * @eventType wix.blog.v3.draft_deleted\n * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService\n * @slug deleted\n */\nexport declare function onDraftDeleted(\n handler: (event: DraftDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface DraftUpdatedEnvelope {\n entity: DraftPost;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a draft post is updated.\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionScope Read Blog\n * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionId BLOG.READ_ANY_DRAFT\n * @permissionId BLOG.READ-PUBLICATION\n * @webhook\n * @eventType wix.blog.v3.draft_updated\n * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService\n * @slug updated\n */\nexport declare function onDraftUpdated(\n handler: (event: DraftUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a draft post.\n *\n * For 3rd-party apps, `memberId` is a required field.\n *\n * In `categoryIds`, only categories that already exist will be added to the draft post. Including\n * `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.\n * If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.\n * You can check which categories are available with\n * [List Categories](https://dev.wix.com/docs/rest/business-solutions/blog/category/list-categories).\n * @param draftPost - Draft post to create.\n * @public\n * @requiredField draftPost\n * @requiredField draftPost.title\n * @param options - Options for creating a draft post.\n * @permissionId BLOG.CREATE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost\n */\nexport async function createDraftPost(\n draftPost: NonNullablePaths<DraftPost, `title`, 2>,\n options?: CreateDraftPostOptions\n): Promise<\n NonNullablePaths<\n CreateDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n draftPost: draftPost,\n publish: options?.publish,\n fieldsets: options?.fieldsets,\n },\n ['draftPost.richContent']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.createDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPost: '$[0]',\n publish: '$[1].publish',\n fieldsets: '$[1].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['draftPost', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateDraftPostOptions {\n /**\n * Whether the draft post should be published on creation.\n *\n * Default: `false`\n */\n publish?: boolean;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Creates multiple draft posts.\n * @param draftPosts - Draft posts to create.\n * @public\n * @requiredField draftPosts\n * @requiredField draftPosts.title\n * @param options - Options for creating multiple draft posts.\n * @permissionId BLOG.CREATE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts\n */\nexport async function bulkCreateDraftPosts(\n draftPosts: NonNullablePaths<DraftPost, `title`, 2>[],\n options?: BulkCreateDraftPostsOptions\n): Promise<\n NonNullablePaths<\n BulkCreateDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n draftPosts: draftPosts,\n publish: options?.publish,\n returnFullEntity: options?.returnFullEntity,\n fieldsets: options?.fieldsets,\n },\n ['draftPosts.richContent']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.bulkCreateDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'results.item.heroImage' },\n { path: 'results.item.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'results.item.url' },\n { path: 'results.item.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.media.wixMedia.videoV2' }],\n },\n ]),\n ['results.item.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPosts: '$[0]',\n publish: '$[1].publish',\n returnFullEntity: '$[1].returnFullEntity',\n fieldsets: '$[1].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['draftPosts', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkCreateDraftPostsOptions {\n /** Whether the draft post should be published after creation. */\n publish?: boolean;\n /** Whether to return the full created draft post entities in the response. */\n returnFullEntity?: boolean;\n /**\n * List of draft post fields to be included in the response if the entities are present.\n * Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).\n * For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Updates multiple draft posts.\n * @public\n * @requiredField options.draftPosts.draftPost\n * @requiredField options.draftPosts.draftPost._id\n * @param options - Options for updating multiple draft posts.\n * @permissionId BLOG.EDIT-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts\n */\nexport async function bulkUpdateDraftPosts(\n options?: NonNullablePaths<\n BulkUpdateDraftPostsOptions,\n `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`,\n 5\n >\n): Promise<\n NonNullablePaths<\n BulkUpdateDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n draftPosts: options?.draftPosts,\n action: options?.action,\n scheduledPublishDate: options?.scheduledPublishDate,\n returnFullEntity: options?.returnFullEntity,\n fieldsets: options?.fieldsets,\n },\n ['draftPosts.draftPost.richContent']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [\n { path: 'draftPosts.draftPost.heroImage' },\n { path: 'draftPosts.draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'draftPosts.draftPost.url' },\n { path: 'draftPosts.draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'draftPosts.draftPost.media.wixMedia.videoV2' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.bulkUpdateDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'results.item.heroImage' },\n { path: 'results.item.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'results.item.url' },\n { path: 'results.item.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.media.wixMedia.videoV2' }],\n },\n ]),\n ['results.item.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPosts: '$[0].draftPosts',\n action: '$[0].action',\n scheduledPublishDate: '$[0].scheduledPublishDate',\n returnFullEntity: '$[0].returnFullEntity',\n fieldsets: '$[0].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdateDraftPostsOptions {\n /**\n * Draft posts to update.\n * @minSize 1\n * @maxSize 20\n */\n draftPosts?: MaskedDraftPosts[];\n /**\n * Action to perform on the posts.\n *\n * Default: `UPDATE`\n */\n action?: ActionWithLiterals;\n /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */\n scheduledPublishDate?: Date | null;\n /** Whether to return the full updated draft post entities in the response. */\n returnFullEntity?: boolean;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Retrieves a list of up to 100 deleted draft posts.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n * @public\n * @param options - Options for listing deleted draft posts.\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts\n */\nexport async function listDeletedDraftPosts(\n options?: ListDeletedDraftPostsOptions\n): Promise<\n NonNullablePaths<\n ListDeletedDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n {\n language: options?.language,\n sort: options?.sort,\n paging: options?.paging,\n fieldsets: options?.fieldsets,\n draftPostIds: options?.draftPostIds,\n },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.listDeletedDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPosts.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n language: '$[0].language',\n sort: '$[0].sort',\n paging: '$[0].paging',\n fieldsets: '$[0].fieldsets',\n draftPostIds: '$[0].draftPostIds',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListDeletedDraftPostsOptions {\n /**\n * Language filter.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * If omitted, deleted draft posts in all languages are returned.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Sorting options.\n *\n * Default: `EDITING_DATE_DESCENDING`\n */\n sort?: GetDraftPostsSortWithLiterals;\n /** Pagination options. */\n paging?: BlogPaging;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /**\n * Draft post ids.\n * @maxSize 100\n * @format GUID\n */\n draftPostIds?: string[];\n}\n\n/**\n * Retrieves a draft post by the provided ID.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @param options - Options for getting a draft post.\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost\n */\nexport async function getDraftPost(\n draftPostId: string,\n options?: GetDraftPostOptions\n): Promise<\n NonNullablePaths<\n GetDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId, fieldsets: options?.fieldsets },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.getDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPostId: '$[0]',\n fieldsets: '$[1].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['draftPostId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetDraftPostOptions {\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Updates a draft post.\n * @param _id - Draft post ID.\n * @public\n * @requiredField _id\n * @requiredField draftPost\n * @param options - Options for updating a draft post.\n * @param draftPost - Draft Post info.\n * @permissionId BLOG.EDIT-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost\n */\nexport async function updateDraftPost(\n _id: string,\n draftPost: UpdateDraftPost,\n options?: UpdateDraftPostOptions\n): Promise<\n NonNullablePaths<\n UpdateDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[3] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n draftPost: { ...draftPost, id: _id },\n action: options?.action,\n scheduledPublishDate: options?.scheduledPublishDate,\n fieldsets: options?.fieldsets,\n },\n ['draftPost.richContent']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.updateDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { draftPost: '$[1]' },\n explicitPathsToArguments: {\n 'draftPost.id': '$[0]',\n action: '$[2].action',\n scheduledPublishDate: '$[2].scheduledPublishDate',\n fieldsets: '$[2].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'draftPost', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateDraftPost {\n /**\n * Draft post ID.\n * @readonly\n * @maxLength 38\n */\n _id?: string;\n /**\n * Draft post title.\n * @maxLength 200\n */\n title?: string;\n /**\n * Draft post excerpt.\n *\n * If no excerpt has been manually set, an excerpt is automatically generated from the post's text.\n * This can be retrieved using the `GENERATED_EXCERPT` fieldset.\n * @maxLength 500\n */\n excerpt?: string | null;\n /** Whether the draft post is marked as featured. */\n featured?: boolean | null;\n /**\n * Category IDs of the draft post.\n * @maxSize 10\n * @maxLength 38\n */\n categoryIds?: string[];\n /**\n * Draft post owner's member ID.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Hashtags in the post.\n * @maxSize 100\n * @maxLength 100\n */\n hashtags?: string[];\n /** Whether commenting on the draft post is enabled. */\n commentingEnabled?: boolean | null;\n /**\n * Estimated reading time of the draft post (calculated automatically).\n * @readonly\n */\n minutesToRead?: number;\n /** Image placed at the top of the blog page. */\n heroImage?: string;\n /**\n * Tag IDs the draft post is tagged with.\n * @maxSize 30\n * @maxLength 38\n */\n tagIds?: string[];\n /**\n * IDs of posts related to this draft post.\n * @maxSize 3\n * @maxLength 38\n */\n relatedPostIds?: string[];\n /**\n * Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info.\n * @maxSize 100\n * @format GUID\n */\n pricingPlanIds?: string[];\n /**\n * ID of the draft post's translations.\n *\n * All translations of a single post share the same `translationId`.\n * Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.\n * @format GUID\n */\n translationId?: string | null;\n /**\n * Language the draft post is written in.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n */\n changeOrigin?: OriginWithLiterals;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxLength 24\n */\n contentId?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @format GUID\n */\n editingSessionId?: string | null;\n /**\n * Draft Post rich content.\n *\n * <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" plugins=\"image.gallery.video.audio.divider.linkButton.html.giphy.codeBlock.file.hashtag.lineSpacing.indent.link.textColor.textHighlight.heading.verticalEmbed.table.collapsibleList.poll\" exampleid=\"72c23a25-524f-4f70-a260-4a2777b6f5d5\">\n * <a href=\"https://dev.wix.com/docs/ricos/api-reference/ricos-document\">See Ricos document reference</a>\n * </widget>\n */\n richContent?: RichContent;\n /**\n * Status of the draft post.\n * @readonly\n */\n status?: StatusWithLiterals;\n /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */\n moderationDetails?: ModerationDetails;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @format GUID\n */\n mostRecentContributorId?: string | null;\n /**\n * Indicates if there are changes made to the draft post that have not yet been published.\n * @readonly\n */\n hasUnpublishedChanges?: boolean;\n /**\n * Date the draft post was last edited.\n * @readonly\n */\n editedDate?: Date | null;\n /**\n * Date the draft post is scheduled to be published.\n * @readonly\n */\n scheduledPublishDate?: Date | null;\n /**\n * Reserved for internal use.\n * @internal\n */\n content?: Record<string, any> | null;\n /** Date the post was first published. */\n firstPublishedDate?: Date | null;\n /** SEO data. */\n seoData?: SeoSchema;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxSize 5000\n * @maxLength 100\n */\n slugs?: string[];\n /**\n * Draft post URL preview. What the URL will look like once the post is published.\n * @readonly\n */\n url?: string;\n /**\n * Date the draft post was first created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * SEO slug.\n * @maxLength 100\n */\n seoSlug?: string | null;\n /** Post cover media. */\n media?: Media;\n /** Number of paragraphs to display in a paid content preview for non-paying users. */\n previewTextParagraph?: number | null;\n /**\n * List of the post's translated posts.\n * @internal\n * @readonly\n * @maxSize 1000\n */\n translations?: DraftPostTranslation[];\n /**\n * Reserved for internal use, not included in base response.\n * @internal\n * @format GUID\n */\n originPostId?: string | null;\n /**\n * Reserved for internal use, not included in base response.\n * @internal\n * @format GUID\n */\n originPostInstanceId?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxLength 24\n */\n internalId?: string | null;\n}\n\nexport interface UpdateDraftPostOptions {\n /**\n * Action to perform on the post.\n *\n * Default: `UPDATE`\n */\n action?: ActionWithLiterals;\n /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */\n scheduledPublishDate?: Date | null;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Moves a draft post to the trash bin.\n * A published post can also be deleted by the `post.id`. See the [Posts API](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object) for more information about posts.\n *\n * To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @param options - Options for deleting a draft post.\n * @permissionId BLOG.DELETE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost\n */\nexport async function deleteDraftPost(\n draftPostId: string,\n options?: DeleteDraftPostOptions\n): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId, permanent: options?.permanent },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.deleteDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPostId: '$[0]',\n permanent: '$[1].permanent',\n },\n singleArgumentUnchanged: false,\n },\n ['draftPostId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface DeleteDraftPostOptions {\n /**\n * Whether to bypass the trash bin and delete the post permanently.\n *\n * Default: `false`\n */\n permanent?: boolean;\n}\n\n/**\n * Permanently deletes a draft post that is currently in the trash bin.\n *\n * This action is permanent and can't be reversed.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @permissionId BLOG.DELETE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin\n */\nexport async function removeFromTrashBin(draftPostId: string): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.removeFromTrashBin(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { draftPostId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['draftPostId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Deletes multiple draft posts.\n * @param postIds - Post IDs.\n * @public\n * @requiredField postIds\n * @param options - Options for deleting multiple draft posts.\n * @permissionId BLOG.DELETE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts\n */\nexport async function bulkDeleteDraftPosts(\n postIds: string[],\n options?: BulkDeleteDraftPostsOptions\n): Promise<\n NonNullablePaths<\n BulkDeleteDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { postIds: postIds, permanent: options?.permanent },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.bulkDeleteDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'results.item.heroImage' },\n { path: 'results.item.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'results.item.url' },\n { path: 'results.item.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.media.wixMedia.videoV2' }],\n },\n ]),\n ['results.item.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n postIds: '$[0]',\n permanent: '$[1].permanent',\n },\n singleArgumentUnchanged: false,\n },\n ['postIds', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkDeleteDraftPostsOptions {\n /** Should delete bypassing the trash-bin. */\n permanent?: boolean;\n}\n\n/**\n * Retrieves a list of up to 100 draft posts per request.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n * @public\n * @param options - Options for listing multiple draft posts.\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts\n */\nexport async function listDraftPosts(\n options?: ListDraftPostsOptions\n): Promise<\n NonNullablePaths<\n ListDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`\n | `metaData.count`\n | `metaData.offset`\n | `metaData.total`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n {\n status: options?.status,\n language: options?.language,\n sort: options?.sort,\n paging: options?.paging,\n fieldsets: options?.fieldsets,\n },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.listDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPosts.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n status: '$[0].status',\n language: '$[0].language',\n sort: '$[0].sort',\n paging: '$[0].paging',\n fieldsets: '$[0].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListDraftPostsOptions {\n /**\n * Draft post status filter.\n *\n * If omitted, draft posts with all statuses are returned.\n */\n status?: StatusWithLiterals;\n /**\n * Language filter.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * If omitted, draft posts in all languages are returned.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Sort options.\n *\n * Default: `EDITING_DATE_DESCENDING`\n */\n sort?: GetDraftPostsSortWithLiterals;\n /** Pagination options. */\n paging?: BlogPaging;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Retrieves a deleted draft post from the trash bin by the provided ID.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost\n */\nexport async function getDeletedDraftPost(\n draftPostId: string\n): Promise<\n NonNullablePaths<\n GetDeletedDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.getDeletedDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { draftPostId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['draftPostId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Restores a deleted draft post from the trash bin by the provided ID.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @permissionId BLOG.EDIT-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin\n */\nexport async function restoreFromTrashBin(\n draftPostId: string\n): Promise<\n NonNullablePaths<\n RestoreFromTrashBinResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.restoreFromTrashBin(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { draftPostId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['draftPostId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Creates a query to retrieve a list of up to 100 draft posts.\n *\n *\n * The `queryDraftPosts()` function builds a query to retrieve a list of up to 100 draft posts, and returns a `DraftPostsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the `find()` function.\n *\n * You can refine the query by chaining `DraftPostsQueryBuilder` functions onto the query. `DraftPostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryDraftPosts()` returns.\n *\n * `queryDraftPosts()` runs with these `DraftPostsQueryBuilder` defaults that can be overridden:\n * - `limit(50)`\n * - `ascending('_id')`\n *\n * The following `DraftPostsQueryBuilder` functions are supported for `queryDraftPosts()`. For a full description of the Draft Posts object, see the object returned for the `items` property in `DraftPostsQueryResult`.\n * @public\n * @param options - Options for querying draft posts.\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts\n */\nexport function queryDraftPosts(\n options?: QueryDraftPostsOptions\n): DraftPostsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n DraftPost,\n 'CURSOR',\n QueryDraftPostsRequest,\n QueryDraftPostsResponse\n >({\n func: async (payload: QueryDraftPostsRequest) => {\n const reqOpts = ambassadorWixBlogV3Draft.queryDraftPosts({\n ...payload,\n ...(options ?? {}),\n });\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryDraftPostsRequest['query']) => {\n const args = [query, options] as [\n QueryDraftPostsRequest['query'],\n QueryDraftPostsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest(\n { ...args?.[1], query: args?.[0] },\n []\n );\n },\n responseTransformer: ({ data }: HttpResponse<QueryDraftPostsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPosts.richContent']\n );\n\n return {\n items: transformedData?.draftPosts,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\nexport interface QueryDraftPostsOptions {\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface DraftPostsQueryResult extends QueryCursorResult {\n items: DraftPost[];\n query: DraftPostsQueryBuilder;\n next: () => Promise<DraftPostsQueryResult>;\n prev: () => Promise<DraftPostsQueryResult>;\n}\n\nexport interface DraftPostsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n eq: (\n propertyName:\n | '_id'\n | 'title'\n | 'excerpt'\n | 'featured'\n | 'commentingEnabled'\n | 'minutesToRead'\n | 'translationId'\n | 'language'\n | 'status'\n | 'hasUnpublishedChanges'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ne: (\n propertyName:\n | '_id'\n | 'title'\n | 'excerpt'\n | 'featured'\n | 'commentingEnabled'\n | 'minutesToRead'\n | 'translationId'\n | 'language'\n | 'status'\n | 'hasUnpublishedChanges'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ge: (\n propertyName:\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n gt: (\n propertyName:\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n le: (\n propertyName:\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n lt: (\n propertyName:\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n */\n startsWith: (\n propertyName: 'title' | 'excerpt',\n value: string\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n */\n hasSome: (propertyName: string, value: any[]) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n */\n hasAll: (propertyName: string, value: any[]) => DraftPostsQueryBuilder;\n in: (\n propertyName:\n | '_id'\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'translationId'\n | 'language'\n | 'status'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n exists: (\n propertyName: 'title' | 'excerpt' | 'translationId' | 'language',\n value: boolean\n ) => DraftPostsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | 'title'\n | 'excerpt'\n | 'featured'\n | 'commentingEnabled'\n | 'status'\n | 'hasUnpublishedChanges'\n | 'editedDate'\n | 'scheduledPublishDate'\n >\n ) => DraftPostsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | 'title'\n | 'excerpt'\n | 'featured'\n | 'commentingEnabled'\n | 'status'\n | 'hasUnpublishedChanges'\n | 'editedDate'\n | 'scheduledPublishDate'\n >\n ) => DraftPostsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n limit: (limit: number) => DraftPostsQueryBuilder;\n /** @param cursor - A pointer to specific record */\n skipTo: (cursor: string) => DraftPostsQueryBuilder;\n find: () => Promise<DraftPostsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts\n * @requiredField query\n */\nexport async function typedQueryDraftPosts(\n query: DraftPostQuery,\n options?: QueryDraftPostsOptions\n): Promise<\n NonNullablePaths<\n QueryDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { query: query, ...options },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.queryDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPosts.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface DraftPostQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: ['_id'];\n operators: ['$eq', '$in', '$ne', '$nin'];\n sort: 'BOTH';\n },\n {\n fields: ['excerpt', 'title'];\n operators: [\n '$eq',\n '$exists',\n '$gt',\n '$gte',\n '$in',\n '$lt',\n '$lte',\n '$ne',\n '$startsWith'\n ];\n sort: 'BOTH';\n },\n {\n fields: ['status'];\n operators: ['$eq', '$in', '$ne', '$nin'];\n sort: 'BOTH';\n },\n {\n fields: ['editedDate', 'scheduledPublishDate'];\n operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'BOTH';\n },\n {\n fields: ['categoryIds', 'hashtags', 'pricingPlanIds', 'tagIds'];\n operators: ['$hasAll', '$hasSome'];\n sort: 'NONE';\n },\n {\n fields: ['memberId'];\n operators: [];\n sort: 'NONE';\n },\n {\n fields: ['commentingEnabled', 'featured', 'hasUnpublishedChanges'];\n operators: ['$eq', '$ne'];\n sort: 'BOTH';\n },\n {\n fields: ['minutesToRead'];\n operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'NONE';\n },\n {\n fields: ['language', 'translationId'];\n operators: ['$eq', '$exists', '$in', '$ne', '$nin'];\n sort: 'NONE';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n DraftPost,\n DraftPostQuerySpec\n>;\nexport type DraftPostQuery = {\n /** \n Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. \n */\n cursorPaging?: {\n /** \n Number of items to load. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n You can get the relevant cursor token\n from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 2000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object in the following format:\n `\"filter\" : {\n \"fieldName1\": \"value1\",\n \"fieldName2\":{\"$operator\":\"value2\"}\n }`\n Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains` \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object in the following format:\n `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]` \n @maxSize: 3 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n /** \n When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n\n If multiple filters are provided, they are combined with AND operator.\n\n Example:\n Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] } \n @internal: undefined,\n @maxSize: 10 \n */\n selectItemsBy?:\n | NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['selectItemsBy']\n | null;\n /** \n Origin point for geo-distance sorting on a GEO field\n results are ordered by distance from this point (ASC = nearest first, DESC = farthest first). \n */\n origin?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['origin'];\n }[];\n};\n\nexport const utils = {\n query: {\n ...createQueryUtils<DraftPost, DraftPostQuerySpec, DraftPostQuery>(),\n },\n};\n\n/**\n * Publishes a draft post by ID. This creates a new [post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)\n * with the data from the draft post.\n *\n * If the draft post was already published, the published post will be updated with the latest values\n * from the draft post.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @permissionId BLOG.PUBLISH-POST\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost\n */\nexport async function publishDraftPost(\n draftPostId: string\n): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.publishDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data, [])!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { draftPostId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['draftPostId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _api_base_domain_: [\n {\n srcPath: '/draft-post-service-api-proxy',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts/create',\n destPath: '/v3/bulk/draft-posts/create',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts',\n destPath: '/v3/bulk/draft-posts',\n },\n ],\n '*.pub.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n _: [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts/create',\n destPath: '/v3/bulk/draft-posts/create',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts',\n destPath: '/v3/bulk/draft-posts',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/_api/draft-post-service-api-proxy/v3/bulk/draft-posts',\n destPath: '/v3/bulk/draft-posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/multilingual',\n destPath: '/v3/multilingual',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/stats',\n destPath: '/v3/stats',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/moderation',\n destPath: '/v3/moderation',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/bulk/moderation',\n destPath: '/v3/bulk/moderation',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/bulk/draft-posts/create',\n destPath: '/v3/bulk/draft-posts/create',\n },\n ],\n 'social-blog._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/blog/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts/create',\n destPath: '/v3/bulk/draft-posts/create',\n },\n {\n srcPath: '/blog/v3/draft-posts/',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts',\n destPath: '/v3/bulk/draft-posts',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_blog_draft-posts';\n\n/**\n * Creates a draft post.\n *\n * For 3rd-party apps, `memberId` is a required field.\n *\n * In `categoryIds`, only categories that already exist will be added to the draft post. Including\n * `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.\n * If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.\n * You can check which categories are available with\n * [List Categories](https://dev.wix.com/docs/rest/business-solutions/blog/category/list-categories).\n */\nexport function createDraftPost(payload: object): RequestOptionsFactory<any> {\n function __createDraftPost({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'draftPost.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'draftPost.richContent.nodes.appEmbedData.image.duration' },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n { path: 'draftPost.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n { path: 'draftPost.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDraftPost;\n}\n\n/** Creates multiple draft posts. */\nexport function bulkCreateDraftPosts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateDraftPosts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'draftPosts.editedDate' },\n { path: 'draftPosts.scheduledPublishDate' },\n { path: 'draftPosts.firstPublishedDate' },\n { path: 'draftPosts.createdDate' },\n { path: 'draftPosts.heroImage.urlExpirationDate' },\n { path: 'draftPosts.richContent.metadata.createdTimestamp' },\n { path: 'draftPosts.richContent.metadata.updatedTimestamp' },\n { path: 'draftPosts.moderationDetails.submittedDate' },\n { path: 'draftPosts.moderationDetails.moderationDate' },\n { path: 'draftPosts.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPosts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'draftPosts.heroImage.focalPoint.x' },\n { path: 'draftPosts.heroImage.focalPoint.y' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPosts.richContent.nodes.imageData.image.duration' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.y' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.width' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.height' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'draftPosts.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'draftPosts.richContent.nodes.appEmbedData.image.duration' },\n { path: 'draftPosts.richContent.nodes.videoData.video.duration' },\n { path: 'draftPosts.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'draftPosts.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPosts.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.tocData.fontSize' },\n { path: 'draftPosts.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPosts.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/bulk/draft-posts/create', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.editedDate' },\n { path: 'results.item.scheduledPublishDate' },\n { path: 'results.item.firstPublishedDate' },\n { path: 'results.item.createdDate' },\n { path: 'results.item.heroImage.urlExpirationDate' },\n { path: 'results.item.richContent.metadata.createdTimestamp' },\n { path: 'results.item.richContent.metadata.updatedTimestamp' },\n { path: 'results.item.moderationDetails.submittedDate' },\n { path: 'results.item.moderationDetails.moderationDate' },\n { path: 'results.item.media.wixMedia.image.urlExpirationDate' },\n { path: 'results.item.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.heroImage.focalPoint.x' },\n { path: 'results.item.heroImage.focalPoint.y' },\n { path: 'results.item.media.wixMedia.image.focalPoint.x' },\n { path: 'results.item.media.wixMedia.image.focalPoint.y' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.options.item.ratio',\n },\n {\n path: 'results.item.richContent.nodes.imageData.image.duration',\n },\n { path: 'results.item.richContent.nodes.imageData.crop.x' },\n { path: 'results.item.richContent.nodes.imageData.crop.y' },\n { path: 'results.item.richContent.nodes.imageData.crop.width' },\n { path: 'results.item.richContent.nodes.imageData.crop.height' },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lat',\n },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lng',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.appEmbedData.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.video.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.audio.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.shapeData.shape.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'results.item.richContent.nodes.tocData.fontSize' },\n { path: 'results.item.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'results.item.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateDraftPosts;\n}\n\n/** Updates multiple draft posts. */\nexport function bulkUpdateDraftPosts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDraftPosts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'scheduledPublishDate' },\n { path: 'draftPosts.draftPost.editedDate' },\n { path: 'draftPosts.draftPost.scheduledPublishDate' },\n { path: 'draftPosts.draftPost.firstPublishedDate' },\n { path: 'draftPosts.draftPost.createdDate' },\n { path: 'draftPosts.draftPost.heroImage.urlExpirationDate' },\n {\n path: 'draftPosts.draftPost.richContent.metadata.createdTimestamp',\n },\n {\n path: 'draftPosts.draftPost.richContent.metadata.updatedTimestamp',\n },\n { path: 'draftPosts.draftPost.moderationDetails.submittedDate' },\n { path: 'draftPosts.draftPost.moderationDetails.moderationDate' },\n {\n path: 'draftPosts.draftPost.media.wixMedia.image.urlExpirationDate',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.urlExpirationDate',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'draftPosts.fieldMask' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'draftPosts.draftPost.heroImage.focalPoint.x' },\n { path: 'draftPosts.draftPost.heroImage.focalPoint.y' },\n { path: 'draftPosts.draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.imageData.image.duration',\n },\n { path: 'draftPosts.draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.draftPost.richContent.nodes.imageData.crop.y' },\n {\n path: 'draftPosts.draftPost.richContent.nodes.imageData.crop.width',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.imageData.crop.height',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.mapData.mapSettings.lat',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.mapData.mapSettings.lng',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.videoData.video.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.audioData.audio.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.shapeData.shape.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.draftPost.richContent.nodes.tocData.fontSize' },\n {\n path: 'draftPosts.draftPost.richContent.nodes.tocData.itemSpacing',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/update', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.editedDate' },\n { path: 'results.item.scheduledPublishDate' },\n { path: 'results.item.firstPublishedDate' },\n { path: 'results.item.createdDate' },\n { path: 'results.item.heroImage.urlExpirationDate' },\n { path: 'results.item.richContent.metadata.createdTimestamp' },\n { path: 'results.item.richContent.metadata.updatedTimestamp' },\n { path: 'results.item.moderationDetails.submittedDate' },\n { path: 'results.item.moderationDetails.moderationDate' },\n { path: 'results.item.media.wixMedia.image.urlExpirationDate' },\n { path: 'results.item.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.heroImage.focalPoint.x' },\n { path: 'results.item.heroImage.focalPoint.y' },\n { path: 'results.item.media.wixMedia.image.focalPoint.x' },\n { path: 'results.item.media.wixMedia.image.focalPoint.y' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.options.item.ratio',\n },\n {\n path: 'results.item.richContent.nodes.imageData.image.duration',\n },\n { path: 'results.item.richContent.nodes.imageData.crop.x' },\n { path: 'results.item.richContent.nodes.imageData.crop.y' },\n { path: 'results.item.richContent.nodes.imageData.crop.width' },\n { path: 'results.item.richContent.nodes.imageData.crop.height' },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lat',\n },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lng',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.appEmbedData.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.video.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.audio.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.shapeData.shape.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'results.item.richContent.nodes.tocData.fontSize' },\n { path: 'results.item.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'results.item.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateDraftPosts;\n}\n\n/**\n * Retrieves a list of up to 100 deleted draft posts.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n */\nexport function listDeletedDraftPosts(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeletedDraftPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/trash-bin', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPosts.editedDate' },\n { path: 'draftPosts.scheduledPublishDate' },\n { path: 'draftPosts.firstPublishedDate' },\n { path: 'draftPosts.createdDate' },\n { path: 'draftPosts.heroImage.urlExpirationDate' },\n { path: 'draftPosts.richContent.metadata.createdTimestamp' },\n { path: 'draftPosts.richContent.metadata.updatedTimestamp' },\n { path: 'draftPosts.moderationDetails.submittedDate' },\n { path: 'draftPosts.moderationDetails.moderationDate' },\n { path: 'draftPosts.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPosts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPosts.heroImage.focalPoint.x' },\n { path: 'draftPosts.heroImage.focalPoint.y' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPosts.richContent.nodes.imageData.image.duration' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.y' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.width' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.height' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPosts.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPosts.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPosts.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPosts.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.tocData.fontSize' },\n { path: 'draftPosts.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPosts.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDeletedDraftPosts;\n}\n\n/** Retrieves a draft post by the provided ID. */\nexport function getDraftPost(payload: object): RequestOptionsFactory<any> {\n function __getDraftPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/{draftPostId}', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDraftPost;\n}\n\n/** Updates a draft post. */\nexport function updateDraftPost(payload: object): RequestOptionsFactory<any> {\n function __updateDraftPost({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'scheduledPublishDate' },\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'draftPost.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'draftPost.richContent.nodes.appEmbedData.image.duration' },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n { path: 'draftPost.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n { path: 'draftPost.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/{draftPost.id}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDraftPost;\n}\n\n/**\n * Moves a draft post to the trash bin.\n * A published post can also be deleted by the `post.id`. See the [Posts API](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object) for more information about posts.\n *\n * To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.\n */\nexport function deleteDraftPost(payload: object): RequestOptionsFactory<any> {\n function __deleteDraftPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/{draftPostId}', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDraftPost;\n}\n\n/**\n * Permanently deletes a draft post that is currently in the trash bin.\n *\n * This action is permanent and can't be reversed.\n */\nexport function removeFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/trash-bin/{draftPostId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __removeFromTrashBin;\n}\n\n/** Deletes multiple draft posts. */\nexport function bulkDeleteDraftPosts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteDraftPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/bulk/draft-posts', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.editedDate' },\n { path: 'results.item.scheduledPublishDate' },\n { path: 'results.item.firstPublishedDate' },\n { path: 'results.item.createdDate' },\n { path: 'results.item.heroImage.urlExpirationDate' },\n { path: 'results.item.richContent.metadata.createdTimestamp' },\n { path: 'results.item.richContent.metadata.updatedTimestamp' },\n { path: 'results.item.moderationDetails.submittedDate' },\n { path: 'results.item.moderationDetails.moderationDate' },\n { path: 'results.item.media.wixMedia.image.urlExpirationDate' },\n { path: 'results.item.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.heroImage.focalPoint.x' },\n { path: 'results.item.heroImage.focalPoint.y' },\n { path: 'results.item.media.wixMedia.image.focalPoint.x' },\n { path: 'results.item.media.wixMedia.image.focalPoint.y' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.options.item.ratio',\n },\n {\n path: 'results.item.richContent.nodes.imageData.image.duration',\n },\n { path: 'results.item.richContent.nodes.imageData.crop.x' },\n { path: 'results.item.richContent.nodes.imageData.crop.y' },\n { path: 'results.item.richContent.nodes.imageData.crop.width' },\n { path: 'results.item.richContent.nodes.imageData.crop.height' },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lat',\n },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lng',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.appEmbedData.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.video.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.audio.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.shapeData.shape.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'results.item.richContent.nodes.tocData.fontSize' },\n { path: 'results.item.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'results.item.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkDeleteDraftPosts;\n}\n\n/**\n * Retrieves a list of up to 100 draft posts per request.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n */\nexport function listDraftPosts(payload: object): RequestOptionsFactory<any> {\n function __listDraftPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPosts.editedDate' },\n { path: 'draftPosts.scheduledPublishDate' },\n { path: 'draftPosts.firstPublishedDate' },\n { path: 'draftPosts.createdDate' },\n { path: 'draftPosts.heroImage.urlExpirationDate' },\n { path: 'draftPosts.richContent.metadata.createdTimestamp' },\n { path: 'draftPosts.richContent.metadata.updatedTimestamp' },\n { path: 'draftPosts.moderationDetails.submittedDate' },\n { path: 'draftPosts.moderationDetails.moderationDate' },\n { path: 'draftPosts.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPosts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPosts.heroImage.focalPoint.x' },\n { path: 'draftPosts.heroImage.focalPoint.y' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPosts.richContent.nodes.imageData.image.duration' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.y' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.width' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.height' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPosts.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPosts.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPosts.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPosts.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.tocData.fontSize' },\n { path: 'draftPosts.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPosts.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDraftPosts;\n}\n\n/** Retrieves a deleted draft post from the trash bin by the provided ID. */\nexport function getDeletedDraftPost(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeletedDraftPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/trash-bin/{draftPostId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeletedDraftPost;\n}\n\n/** Restores a deleted draft post from the trash bin by the provided ID. */\nexport function restoreFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __restoreFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/trash-bin/{draftPostId}/restore',\n data: payload,\n host,\n }\n ),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreFromTrashBin;\n}\n\n/**\n * Creates a query to retrieve a list of up to 100 draft posts.\n *\n *\n * The `queryDraftPosts()` function builds a query to retrieve a list of up to 100 draft posts, and returns a `DraftPostsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the `find()` function.\n *\n * You can refine the query by chaining `DraftPostsQueryBuilder` functions onto the query. `DraftPostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryDraftPosts()` returns.\n *\n * `queryDraftPosts()` runs with these `DraftPostsQueryBuilder` defaults that can be overridden:\n * - `limit(50)`\n * - `ascending('_id')`\n *\n * The following `DraftPostsQueryBuilder` functions are supported for `queryDraftPosts()`. For a full description of the Draft Posts object, see the object returned for the `items` property in `DraftPostsQueryResult`.\n */\nexport function queryDraftPosts(payload: object): RequestOptionsFactory<any> {\n function __queryDraftPosts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'query.sort.origin.latitude' },\n { path: 'query.sort.origin.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/query', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPosts.editedDate' },\n { path: 'draftPosts.scheduledPublishDate' },\n { path: 'draftPosts.firstPublishedDate' },\n { path: 'draftPosts.createdDate' },\n { path: 'draftPosts.heroImage.urlExpirationDate' },\n { path: 'draftPosts.richContent.metadata.createdTimestamp' },\n { path: 'draftPosts.richContent.metadata.updatedTimestamp' },\n { path: 'draftPosts.moderationDetails.submittedDate' },\n { path: 'draftPosts.moderationDetails.moderationDate' },\n { path: 'draftPosts.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPosts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPosts.heroImage.focalPoint.x' },\n { path: 'draftPosts.heroImage.focalPoint.y' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPosts.richContent.nodes.imageData.image.duration' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.y' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.width' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.height' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPosts.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPosts.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPosts.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPosts.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.tocData.fontSize' },\n { path: 'draftPosts.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPosts.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryDraftPosts;\n}\n\n/**\n * Publishes a draft post by ID. This creates a new [post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)\n * with the data from the draft post.\n *\n * If the draft post was already published, the published post will be updated with the latest values\n * from the draft post.\n */\nexport function publishDraftPost(payload: object): RequestOptionsFactory<any> {\n function __publishDraftPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/{draftPostId}/publish',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __publishDraftPost;\n}\n","import {\n createDraftPost as publicCreateDraftPost,\n bulkCreateDraftPosts as publicBulkCreateDraftPosts,\n bulkUpdateDraftPosts as publicBulkUpdateDraftPosts,\n listDeletedDraftPosts as publicListDeletedDraftPosts,\n getDraftPost as publicGetDraftPost,\n updateDraftPost as publicUpdateDraftPost,\n deleteDraftPost as publicDeleteDraftPost,\n removeFromTrashBin as publicRemoveFromTrashBin,\n bulkDeleteDraftPosts as publicBulkDeleteDraftPosts,\n listDraftPosts as publicListDraftPosts,\n getDeletedDraftPost as publicGetDeletedDraftPost,\n restoreFromTrashBin as publicRestoreFromTrashBin,\n queryDraftPosts as publicQueryDraftPosts,\n typedQueryDraftPosts as publicTypedQueryDraftPosts,\n publishDraftPost as publicPublishDraftPost,\n} from './blog-v3-draft-draft-posts.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n DraftPostQuery,\n DraftPostsQueryBuilder,\n QueryDraftPostsOptions,\n typedQueryDraftPosts as universalTypedQueryDraftPosts,\n} from './blog-v3-draft-draft-posts.universal.js';\nimport { onDraftCreated as publicOnDraftCreated } from './blog-v3-draft-draft-posts.public.js';\nimport { onDraftDeleted as publicOnDraftDeleted } from './blog-v3-draft-draft-posts.public.js';\nimport { onDraftUpdated as publicOnDraftUpdated } from './blog-v3-draft-draft-posts.public.js';\n\nfunction customQueryDraftPosts(httpClient: HttpClient) {\n const router = createQueryOverloadRouter({\n builderQueryFunction: (options?: QueryDraftPostsOptions) =>\n publicQueryDraftPosts(httpClient)(options),\n typedQueryFunction: (\n query: DraftPostQuery,\n options?: QueryDraftPostsOptions\n ) => publicTypedQueryDraftPosts(httpClient)(query, options),\n hasOptionsParameter: true,\n });\n\n function overloadedQuery(\n query: DraftPostQuery,\n options?: QueryDraftPostsOptions\n ): ReturnType<typeof universalTypedQueryDraftPosts>;\n function overloadedQuery(\n options?: QueryDraftPostsOptions\n ): DraftPostsQueryBuilder;\n function overloadedQuery(\n queryOrOptions?: DraftPostQuery | QueryDraftPostsOptions,\n options?: QueryDraftPostsOptions\n ): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\nexport const createDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicCreateDraftPost> & typeof publicCreateDraftPost\n> = /*#__PURE__*/ createRESTModule(publicCreateDraftPost);\nexport const bulkCreateDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicBulkCreateDraftPosts> &\n typeof publicBulkCreateDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicBulkCreateDraftPosts);\nexport const bulkUpdateDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdateDraftPosts> &\n typeof publicBulkUpdateDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateDraftPosts);\nexport const listDeletedDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicListDeletedDraftPosts> &\n typeof publicListDeletedDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicListDeletedDraftPosts);\nexport const getDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicGetDraftPost> & typeof publicGetDraftPost\n> = /*#__PURE__*/ createRESTModule(publicGetDraftPost);\nexport const updateDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicUpdateDraftPost> & typeof publicUpdateDraftPost\n> = /*#__PURE__*/ createRESTModule(publicUpdateDraftPost);\nexport const deleteDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicDeleteDraftPost> & typeof publicDeleteDraftPost\n> = /*#__PURE__*/ createRESTModule(publicDeleteDraftPost);\nexport const removeFromTrashBin: MaybeContext<\n BuildRESTFunction<typeof publicRemoveFromTrashBin> &\n typeof publicRemoveFromTrashBin\n> = /*#__PURE__*/ createRESTModule(publicRemoveFromTrashBin);\nexport const bulkDeleteDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicBulkDeleteDraftPosts> &\n typeof publicBulkDeleteDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicBulkDeleteDraftPosts);\nexport const listDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicListDraftPosts> & typeof publicListDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicListDraftPosts);\nexport const getDeletedDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicGetDeletedDraftPost> &\n typeof publicGetDeletedDraftPost\n> = /*#__PURE__*/ createRESTModule(publicGetDeletedDraftPost);\nexport const restoreFromTrashBin: MaybeContext<\n BuildRESTFunction<typeof publicRestoreFromTrashBin> &\n typeof publicRestoreFromTrashBin\n> = /*#__PURE__*/ createRESTModule(publicRestoreFromTrashBin);\nexport const publishDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicPublishDraftPost> &\n typeof publicPublishDraftPost\n> = /*#__PURE__*/ createRESTModule(publicPublishDraftPost);\nexport const queryDraftPosts: MaybeContext<\n BuildRESTFunction<typeof customQueryDraftPosts> & typeof customQueryDraftPosts\n> = /*#__PURE__*/ createRESTModule(customQueryDraftPosts);\n/**\n * Triggered when a draft post is created.\n */\nexport const onDraftCreated: BuildEventDefinition<typeof publicOnDraftCreated> &\n typeof publicOnDraftCreated = createEventModule(publicOnDraftCreated);\n/**\n * Triggered when a draft post is deleted.\n */\nexport const onDraftDeleted: BuildEventDefinition<typeof publicOnDraftDeleted> &\n typeof publicOnDraftDeleted = createEventModule(publicOnDraftDeleted);\n/**\n * Triggered when a draft post is updated.\n */\nexport const onDraftUpdated: BuildEventDefinition<typeof publicOnDraftUpdated> &\n typeof publicOnDraftUpdated = createEventModule(publicOnDraftUpdated);\n\nexport {\n Origin,\n NodeType,\n BackgroundType,\n GradientType,\n WidthType,\n PluginContainerDataAlignment,\n ButtonDataType,\n Target,\n AnimationType,\n EntranceEffectType,\n LoopEffectType,\n PointerEffectType,\n TextAlignment,\n LineCap,\n LineStyle,\n Width,\n DividerDataAlignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n StylesPosition,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n PollDesignBackgroundType,\n DecorationType,\n FontType,\n Variant,\n Position,\n AspectRatio,\n Resizing,\n Placement,\n CardStylesType,\n Alignment,\n Layout,\n AppType,\n InitialExpandedItems,\n Direction,\n VerticalAlignment,\n NullValue,\n ImageScalingScaling,\n ImagePosition,\n LayoutDataBackgroundType,\n BannerOrigin,\n BannerPosition,\n BackdropType,\n VerticalAlignmentAlignment,\n ResponsivenessBehaviour,\n DesignTarget,\n Scaling,\n ImagePositionPosition,\n CardDataBackgroundType,\n ListStyle,\n Indentation,\n SmartBlockDataType,\n ColumnSize,\n Status,\n ModerationStatusStatus,\n TotalDraftPostsGroupingField,\n WebhookIdentityType,\n Type,\n Field,\n Action,\n GetDraftPostsSort,\n SortOrder,\n} from './blog-v3-draft-draft-posts.universal.js';\nexport {\n DraftPost,\n FocalPoint,\n RichContent,\n Node,\n NodeDataOneOf,\n NodeStyle,\n ButtonData,\n Gradient,\n Stop,\n Border,\n Colors,\n Background,\n PluginContainerData,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Spoiler,\n Height,\n Styles,\n Link,\n LinkDataOneOf,\n Rel,\n Animation,\n EntranceAnimation,\n EntranceEffect,\n LoopAnimation,\n LoopEffect,\n PointerEffect,\n CodeBlockData,\n TextStyle,\n DividerData,\n DividerDataStyles,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n PDFSettings,\n GalleryData,\n V1Media,\n Image,\n Video,\n Item,\n ItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n ItemStyle,\n Thumbnails,\n GIFData,\n GIF,\n HeadingData,\n HTMLData,\n HTMLDataDataOneOf,\n ImageData,\n StylesBorder,\n ImageDataStyles,\n ImageDataCrop,\n LinkPreviewData,\n LinkPreviewDataStyles,\n MapData,\n MapSettings,\n ParagraphData,\n PollData,\n Permissions,\n Option,\n PollSettings,\n PollLayout,\n OptionLayout,\n BackgroundGradient,\n PollDesignBackground,\n PollDesignBackgroundBackgroundOneOf,\n PollDesign,\n OptionDesign,\n Poll,\n PollDataLayout,\n Design,\n TextData,\n Decoration,\n DecorationDataOneOf,\n AnchorData,\n ColorData,\n LinkData,\n MentionData,\n FontSizeData,\n SpoilerData,\n FontFamilyData,\n SketchData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n BookingData,\n EventData,\n ButtonStyles,\n ImageStyles,\n RibbonStyles,\n CardStyles,\n PricingData,\n VideoData,\n PlaybackOptions,\n EmbedData,\n Oembed,\n CollapsibleListData,\n TableData,\n Dimensions,\n TableCellData,\n CellStyle,\n BorderColors,\n BorderWidths,\n ListValue,\n AudioData,\n OrderedListData,\n BulletedListData,\n BlockquoteData,\n CaptionData,\n LayoutData,\n LayoutDataBackground,\n LayoutDataBackgroundImage,\n Banner,\n Backdrop,\n LayoutCellData,\n ShapeData,\n ShapeDataStyles,\n CardData,\n CardDataBackground,\n BackgroundImage,\n TocData,\n SmartBlockData,\n SmartBlockCellData,\n CheckboxListData,\n ListItemNodeData,\n Metadata,\n DocumentStyle,\n TextNodeStyle,\n ModerationDetails,\n SeoSchema,\n Keyword,\n Tag,\n Settings,\n Media,\n MediaMediaOneOf,\n WixMedia,\n VideoResolution,\n EmbedMedia,\n EmbedThumbnail,\n EmbedVideo,\n DraftPostTranslation,\n DraftCategoriesUpdated,\n DraftTagsUpdated,\n GetDraftPostTotalsRequest,\n GetDraftPostTotalsResponse,\n TotalDraftPosts,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n InitialDraftPostsCopied,\n CreateDraftPostRequest,\n CreateDraftPostResponse,\n BulkCreateDraftPostsRequest,\n BulkCreateDraftPostsResponse,\n BulkDraftPostResult,\n ItemMetadata,\n ApplicationError,\n BulkActionMetadata,\n BulkUpdateDraftPostsRequest,\n MaskedDraftPosts,\n BulkUpdateDraftPostsResponse,\n DraftPostOwnerChanged,\n ListDeletedDraftPostsRequest,\n BlogPaging,\n ListDeletedDraftPostsResponse,\n PagingMetadataV2,\n Cursors,\n GetDraftPostRequest,\n GetDraftPostResponse,\n UpdateDraftPostContentRequest,\n UpdateDraftPostContentResponse,\n UpdateDraftPostRequest,\n UpdateDraftPostResponse,\n DeleteDraftPostRequest,\n DeleteDraftPostResponse,\n RemoveFromTrashBinRequest,\n RemoveFromTrashBinResponse,\n BulkDeleteDraftPostsRequest,\n BulkDeleteDraftPostsResponse,\n ListDraftPostsRequest,\n ListDraftPostsResponse,\n MetaData,\n GetDeletedDraftPostRequest,\n GetDeletedDraftPostResponse,\n RestoreFromTrashBinRequest,\n RestoreFromTrashBinResponse,\n QueryDraftPostsRequest,\n PlatformQuery,\n PlatformQueryPagingMethodOneOf,\n Sorting,\n AddressLocation,\n Paging,\n CursorPaging,\n QueryDraftPostsResponse,\n PublishDraftPostRequest,\n PublishDraftPostResponse,\n UnpublishPostRequest,\n UnpublishPostResponse,\n GetDraftPostCountsRequest,\n GetDraftPostCountsResponse,\n DraftPostCount,\n BulkRevertToUnpublishedRequest,\n BulkRevertToUnpublishedResponse,\n BulkRejectDraftPostRequest,\n BulkRejectDraftPostResponse,\n RevertToUnpublishedRequest,\n RevertToUnpublishedResponse,\n RejectDraftPostRequest,\n RejectDraftPostResponse,\n ApproveDraftPostRequest,\n ApproveDraftPostResponse,\n MarkPostAsInModerationRequest,\n MarkPostAsInModerationResponse,\n TranslateDraftRequest,\n TranslateDraftResponse,\n IsDraftPostAutoTranslatableRequest,\n IsDraftPostAutoTranslatableResponse,\n UpdateDraftPostLanguageRequest,\n UpdateDraftPostLanguageResponse,\n BaseEventMetadata,\n EventMetadata,\n AccountInfoMetadata,\n DraftCreatedEnvelope,\n DraftDeletedEnvelope,\n DraftUpdatedEnvelope,\n CreateDraftPostOptions,\n BulkCreateDraftPostsOptions,\n BulkUpdateDraftPostsOptions,\n ListDeletedDraftPostsOptions,\n GetDraftPostOptions,\n UpdateDraftPost,\n UpdateDraftPostOptions,\n DeleteDraftPostOptions,\n BulkDeleteDraftPostsOptions,\n ListDraftPostsOptions,\n QueryDraftPostsOptions,\n DraftPostsQueryResult,\n DraftPostsQueryBuilder,\n DraftPostQuerySpec,\n} from './blog-v3-draft-draft-posts.universal.js';\nexport { utils } from './blog-v3-draft-draft-posts.universal.js';\nexport {\n OriginWithLiterals,\n NodeTypeWithLiterals,\n BackgroundTypeWithLiterals,\n GradientTypeWithLiterals,\n WidthTypeWithLiterals,\n PluginContainerDataAlignmentWithLiterals,\n ButtonDataTypeWithLiterals,\n TargetWithLiterals,\n AnimationTypeWithLiterals,\n EntranceEffectTypeWithLiterals,\n LoopEffectTypeWithLiterals,\n PointerEffectTypeWithLiterals,\n TextAlignmentWithLiterals,\n LineCapWithLiterals,\n LineStyleWithLiterals,\n WidthWithLiterals,\n DividerDataAlignmentWithLiterals,\n ViewModeWithLiterals,\n LayoutTypeWithLiterals,\n OrientationWithLiterals,\n CropWithLiterals,\n ThumbnailsAlignmentWithLiterals,\n GIFTypeWithLiterals,\n SourceWithLiterals,\n StylesPositionWithLiterals,\n MapTypeWithLiterals,\n ViewRoleWithLiterals,\n VoteRoleWithLiterals,\n PollLayoutTypeWithLiterals,\n PollLayoutDirectionWithLiterals,\n PollDesignBackgroundTypeWithLiterals,\n DecorationTypeWithLiterals,\n FontTypeWithLiterals,\n VariantWithLiterals,\n PositionWithLiterals,\n AspectRatioWithLiterals,\n ResizingWithLiterals,\n PlacementWithLiterals,\n CardStylesTypeWithLiterals,\n AlignmentWithLiterals,\n LayoutWithLiterals,\n AppTypeWithLiterals,\n InitialExpandedItemsWithLiterals,\n DirectionWithLiterals,\n VerticalAlignmentWithLiterals,\n NullValueWithLiterals,\n ImageScalingScalingWithLiterals,\n ImagePositionWithLiterals,\n LayoutDataBackgroundTypeWithLiterals,\n BannerOriginWithLiterals,\n BannerPositionWithLiterals,\n BackdropTypeWithLiterals,\n VerticalAlignmentAlignmentWithLiterals,\n ResponsivenessBehaviourWithLiterals,\n DesignTargetWithLiterals,\n ScalingWithLiterals,\n ImagePositionPositionWithLiterals,\n CardDataBackgroundTypeWithLiterals,\n ListStyleWithLiterals,\n IndentationWithLiterals,\n SmartBlockDataTypeWithLiterals,\n ColumnSizeWithLiterals,\n StatusWithLiterals,\n ModerationStatusStatusWithLiterals,\n TotalDraftPostsGroupingFieldWithLiterals,\n WebhookIdentityTypeWithLiterals,\n TypeWithLiterals,\n FieldWithLiterals,\n ActionWithLiterals,\n GetDraftPostsSortWithLiterals,\n SortOrderWithLiterals,\n CommonQueryWithEntityContext,\n DraftPostQuery,\n} from './blog-v3-draft-draft-posts.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAAA;AAAA,EAAA,4BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA;AAAA;AAAA;;;ACAA,IAAAC,iCAAwD;AACxD,IAAAC,gBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,IAAAC,mBAAiD;AACjD,IAAAC,oBAAqD;AACrD,IAAAC,0BAA+B;AAC/B,IAAAC,mBAAiD;AACjD,uBAA8D;;;ACP9D,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;AC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AoB;","names":["bulkCreateDraftPosts","bulkDeleteDraftPosts","bulkUpdateDraftPosts","createDraftPost","deleteDraftPost","getDeletedDraftPost","getDraftPost","listDeletedDraftPosts","listDraftPosts","onDraftCreated","onDraftDeleted","onDraftUpdated","publishDraftPost","queryDraftPosts","removeFromTrashBin","restoreFromTrashBin","updateDraftPost","import_rename_all_nested_keys","import_float","import_image","import_page_url","import_timestamp","import_transform_paths","import_video_v2","import_float","import_timestamp","import_rest_modules","payload","import_image","import_video_v2","import_page_url","import_transform_paths","Origin","NodeType","BackgroundType","GradientType","WidthType","PluginContainerDataAlignment","ButtonDataType","Target","AnimationType","EntranceEffectType","LoopEffectType","PointerEffectType","TextAlignment","LineCap","LineStyle","Width","DividerDataAlignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","StylesPosition","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","PollDesignBackgroundType","DecorationType","FontType","Variant","Position","AspectRatio","Resizing","Placement","CardStylesType","Alignment","Layout","AppType","InitialExpandedItems","Direction","VerticalAlignment","NullValue","ImageScalingScaling","ImagePosition","LayoutDataBackgroundType","BannerOrigin","BannerPosition","BackdropType","VerticalAlignmentAlignment","ResponsivenessBehaviour","DesignTarget","Scaling","ImagePositionPosition","CardDataBackgroundType","ListStyle","Indentation","SmartBlockDataType","ColumnSize","Status","ModerationStatusStatus","TotalDraftPostsGroupingField","WebhookIdentityType","Type","Field","Action","GetDraftPostsSort","SortOrder","createDraftPost","sdkTransformError","bulkCreateDraftPosts","bulkUpdateDraftPosts","listDeletedDraftPosts","getDraftPost","updateDraftPost","deleteDraftPost","removeFromTrashBin","bulkDeleteDraftPosts","listDraftPosts","getDeletedDraftPost","restoreFromTrashBin","queryDraftPosts","publishDraftPost","createDraftPost","bulkCreateDraftPosts","bulkUpdateDraftPosts","listDeletedDraftPosts","getDraftPost","updateDraftPost","deleteDraftPost","removeFromTrashBin","bulkDeleteDraftPosts","listDraftPosts","getDeletedDraftPost","restoreFromTrashBin","queryDraftPosts","typedQueryDraftPosts","publishDraftPost","import_rest_modules","queryDraftPosts","typedQueryDraftPosts","createDraftPost","bulkCreateDraftPosts","bulkUpdateDraftPosts","listDeletedDraftPosts","getDraftPost","updateDraftPost","deleteDraftPost","removeFromTrashBin","bulkDeleteDraftPosts","listDraftPosts","getDeletedDraftPost","restoreFromTrashBin","publishDraftPost","onDraftCreated","onDraftDeleted","onDraftUpdated"]}
1
+ {"version":3,"sources":["../../index.ts","../../src/blog-v3-draft-draft-posts.public.ts","../../src/blog-v3-draft-draft-posts.universal.ts","../../src/blog-v3-draft-draft-posts.http.ts","../../src/blog-v3-draft-draft-posts.context.ts"],"sourcesContent":["export * from './src/blog-v3-draft-draft-posts.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { transformRESTVideoV2ToSDKVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkCreateDraftPostsOptions,\n BulkCreateDraftPostsResponse,\n BulkDeleteDraftPostsOptions,\n BulkDeleteDraftPostsResponse,\n BulkUpdateDraftPostsOptions,\n BulkUpdateDraftPostsResponse,\n CreateDraftPostOptions,\n CreateDraftPostResponse,\n DeleteDraftPostOptions,\n DraftCreatedEnvelope,\n DraftDeletedEnvelope,\n DraftPost,\n DraftPostQuery,\n DraftPostsQueryBuilder,\n DraftUpdatedEnvelope,\n GetDeletedDraftPostResponse,\n GetDraftPostOptions,\n GetDraftPostResponse,\n ListDeletedDraftPostsOptions,\n ListDeletedDraftPostsResponse,\n ListDraftPostsOptions,\n ListDraftPostsResponse,\n PublishDraftPostResponse,\n QueryDraftPostsOptions,\n QueryDraftPostsResponse,\n RestoreFromTrashBinResponse,\n UpdateDraftPost,\n UpdateDraftPostOptions,\n UpdateDraftPostResponse,\n bulkCreateDraftPosts as universalBulkCreateDraftPosts,\n bulkDeleteDraftPosts as universalBulkDeleteDraftPosts,\n bulkUpdateDraftPosts as universalBulkUpdateDraftPosts,\n createDraftPost as universalCreateDraftPost,\n deleteDraftPost as universalDeleteDraftPost,\n getDeletedDraftPost as universalGetDeletedDraftPost,\n getDraftPost as universalGetDraftPost,\n listDeletedDraftPosts as universalListDeletedDraftPosts,\n listDraftPosts as universalListDraftPosts,\n publishDraftPost as universalPublishDraftPost,\n queryDraftPosts as universalQueryDraftPosts,\n removeFromTrashBin as universalRemoveFromTrashBin,\n restoreFromTrashBin as universalRestoreFromTrashBin,\n typedQueryDraftPosts as universalTypedQueryDraftPosts,\n updateDraftPost as universalUpdateDraftPost,\n} from './blog-v3-draft-draft-posts.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/blog' };\n\nexport function createDraftPost(\n httpClient: HttpClient\n): CreateDraftPostSignature {\n return (\n draftPost: NonNullablePaths<DraftPost, `title`, 2>,\n options?: CreateDraftPostOptions\n ) =>\n universalCreateDraftPost(\n draftPost,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateDraftPostSignature {\n /**\n * Creates a draft post.\n *\n * For 3rd-party apps, `memberId` is a required field.\n *\n * In `categoryIds`, only categories that already exist will be added to the draft post. Including\n * `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.\n * If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.\n * You can check which categories are available with\n * [List Categories](https://dev.wix.com/docs/rest/business-solutions/blog/category/list-categories).\n * @param - Draft post to create.\n * @param - Options for creating a draft post.\n */\n (\n draftPost: NonNullablePaths<DraftPost, `title`, 2>,\n options?: CreateDraftPostOptions\n ): Promise<\n NonNullablePaths<\n CreateDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function bulkCreateDraftPosts(\n httpClient: HttpClient\n): BulkCreateDraftPostsSignature {\n return (\n draftPosts: NonNullablePaths<DraftPost, `title`, 2>[],\n options?: BulkCreateDraftPostsOptions\n ) =>\n universalBulkCreateDraftPosts(\n draftPosts,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkCreateDraftPostsSignature {\n /**\n * Creates multiple draft posts.\n * @param - Draft posts to create.\n * @param - Options for creating multiple draft posts.\n */\n (\n draftPosts: NonNullablePaths<DraftPost, `title`, 2>[],\n options?: BulkCreateDraftPostsOptions\n ): Promise<\n NonNullablePaths<\n BulkCreateDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\nexport function bulkUpdateDraftPosts(\n httpClient: HttpClient\n): BulkUpdateDraftPostsSignature {\n return (\n options?: NonNullablePaths<\n BulkUpdateDraftPostsOptions,\n `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`,\n 5\n >\n ) =>\n universalBulkUpdateDraftPosts(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdateDraftPostsSignature {\n /**\n * Updates multiple draft posts.\n * @param - Options for updating multiple draft posts.\n */\n (\n options?: NonNullablePaths<\n BulkUpdateDraftPostsOptions,\n `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`,\n 5\n >\n ): Promise<\n NonNullablePaths<\n BulkUpdateDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\nexport function listDeletedDraftPosts(\n httpClient: HttpClient\n): ListDeletedDraftPostsSignature {\n return (options?: ListDeletedDraftPostsOptions) =>\n universalListDeletedDraftPosts(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ListDeletedDraftPostsSignature {\n /**\n * Retrieves a list of up to 100 deleted draft posts.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n * @param - Options for listing deleted draft posts.\n */\n (options?: ListDeletedDraftPostsOptions): Promise<\n NonNullablePaths<\n ListDeletedDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`,\n 6\n >\n >;\n}\n\nexport function getDraftPost(httpClient: HttpClient): GetDraftPostSignature {\n return (draftPostId: string, options?: GetDraftPostOptions) =>\n universalGetDraftPost(\n draftPostId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetDraftPostSignature {\n /**\n * Retrieves a draft post by the provided ID.\n * @param - Draft post ID.\n * @param - Options for getting a draft post.\n */\n (draftPostId: string, options?: GetDraftPostOptions): Promise<\n NonNullablePaths<\n GetDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function updateDraftPost(\n httpClient: HttpClient\n): UpdateDraftPostSignature {\n return (\n _id: string,\n draftPost: UpdateDraftPost,\n options?: UpdateDraftPostOptions\n ) =>\n universalUpdateDraftPost(\n _id,\n draftPost,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdateDraftPostSignature {\n /**\n * Updates a draft post.\n * @param - Draft post ID.\n * @param - Options for updating a draft post.\n * @param - Draft Post info.\n */\n (\n _id: string,\n draftPost: UpdateDraftPost,\n options?: UpdateDraftPostOptions\n ): Promise<\n NonNullablePaths<\n UpdateDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function deleteDraftPost(\n httpClient: HttpClient\n): DeleteDraftPostSignature {\n return (draftPostId: string, options?: DeleteDraftPostOptions) =>\n universalDeleteDraftPost(\n draftPostId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteDraftPostSignature {\n /**\n * Moves a draft post to the trash bin.\n * A published post can also be deleted by the `post.id`. See the [Posts API](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object) for more information about posts.\n *\n * To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.\n * @param - Draft post ID.\n * @param - Options for deleting a draft post.\n */\n (draftPostId: string, options?: DeleteDraftPostOptions): Promise<void>;\n}\n\nexport function removeFromTrashBin(\n httpClient: HttpClient\n): RemoveFromTrashBinSignature {\n return (draftPostId: string) =>\n universalRemoveFromTrashBin(\n draftPostId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface RemoveFromTrashBinSignature {\n /**\n * Permanently deletes a draft post that is currently in the trash bin.\n *\n * This action is permanent and can't be reversed.\n * @param - Draft post ID.\n */\n (draftPostId: string): Promise<void>;\n}\n\nexport function bulkDeleteDraftPosts(\n httpClient: HttpClient\n): BulkDeleteDraftPostsSignature {\n return (postIds: string[], options?: BulkDeleteDraftPostsOptions) =>\n universalBulkDeleteDraftPosts(\n postIds,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkDeleteDraftPostsSignature {\n /**\n * Deletes multiple draft posts.\n * @param - Post IDs.\n * @param - Options for deleting multiple draft posts.\n */\n (postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<\n NonNullablePaths<\n BulkDeleteDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\nexport function listDraftPosts(\n httpClient: HttpClient\n): ListDraftPostsSignature {\n return (options?: ListDraftPostsOptions) =>\n universalListDraftPosts(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ListDraftPostsSignature {\n /**\n * Retrieves a list of up to 100 draft posts per request.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n * @param - Options for listing multiple draft posts.\n */\n (options?: ListDraftPostsOptions): Promise<\n NonNullablePaths<\n ListDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`\n | `metaData.count`\n | `metaData.offset`\n | `metaData.total`,\n 6\n >\n >;\n}\n\nexport function getDeletedDraftPost(\n httpClient: HttpClient\n): GetDeletedDraftPostSignature {\n return (draftPostId: string) =>\n universalGetDeletedDraftPost(\n draftPostId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetDeletedDraftPostSignature {\n /**\n * Retrieves a deleted draft post from the trash bin by the provided ID.\n * @param - Draft post ID.\n */\n (draftPostId: string): Promise<\n NonNullablePaths<\n GetDeletedDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function restoreFromTrashBin(\n httpClient: HttpClient\n): RestoreFromTrashBinSignature {\n return (draftPostId: string) =>\n universalRestoreFromTrashBin(\n draftPostId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface RestoreFromTrashBinSignature {\n /**\n * Restores a deleted draft post from the trash bin by the provided ID.\n * @param - Draft post ID.\n */\n (draftPostId: string): Promise<\n NonNullablePaths<\n RestoreFromTrashBinResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n >;\n}\n\nexport function queryDraftPosts(\n httpClient: HttpClient\n): QueryDraftPostsSignature {\n return (options?: QueryDraftPostsOptions) =>\n universalQueryDraftPosts(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryDraftPostsSignature {\n /**\n * Creates a query to retrieve a list of up to 100 draft posts.\n *\n *\n * The `queryDraftPosts()` function builds a query to retrieve a list of up to 100 draft posts, and returns a `DraftPostsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the `find()` function.\n *\n * You can refine the query by chaining `DraftPostsQueryBuilder` functions onto the query. `DraftPostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryDraftPosts()` returns.\n *\n * `queryDraftPosts()` runs with these `DraftPostsQueryBuilder` defaults that can be overridden:\n * - `limit(50)`\n * - `ascending('_id')`\n *\n * The following `DraftPostsQueryBuilder` functions are supported for `queryDraftPosts()`. For a full description of the Draft Posts object, see the object returned for the `items` property in `DraftPostsQueryResult`.\n * @param - Options for querying draft posts.\n */\n (options?: QueryDraftPostsOptions): DraftPostsQueryBuilder;\n}\n\nexport function typedQueryDraftPosts(\n httpClient: HttpClient\n): TypedQueryDraftPostsSignature {\n return (query: DraftPostQuery, options?: QueryDraftPostsOptions) =>\n universalTypedQueryDraftPosts(\n query,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQueryDraftPostsSignature {\n /** */\n (query: DraftPostQuery, options?: QueryDraftPostsOptions): Promise<\n NonNullablePaths<\n QueryDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`,\n 6\n >\n >;\n}\n\nexport function publishDraftPost(\n httpClient: HttpClient\n): PublishDraftPostSignature {\n return (draftPostId: string) =>\n universalPublishDraftPost(\n draftPostId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface PublishDraftPostSignature {\n /**\n * Publishes a draft post by ID. This creates a new [post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)\n * with the data from the draft post.\n *\n * If the draft post was already published, the published post will be updated with the latest values\n * from the draft post.\n * @param - Draft post ID.\n */\n (draftPostId: string): Promise<\n NonNullablePaths<PublishDraftPostResponse, `postId`, 2>\n >;\n}\n\nexport const onDraftCreated = /*#__PURE__*/ EventDefinition(\n 'wix.blog.v3.draft_created',\n true,\n (event: DraftCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'entity.heroImage' },\n { path: 'entity.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.editedDate' },\n { path: 'entity.scheduledPublishDate' },\n { path: 'entity.firstPublishedDate' },\n { path: 'entity.createdDate' },\n { path: 'entity.richContent.metadata.createdTimestamp' },\n { path: 'entity.richContent.metadata.updatedTimestamp' },\n { path: 'entity.moderationDetails.submittedDate' },\n { path: 'entity.moderationDetails.moderationDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.url' }, { path: 'entity.translations.url' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'entity.richContent.nodes.imageData.image.duration' },\n { path: 'entity.richContent.nodes.imageData.crop.x' },\n { path: 'entity.richContent.nodes.imageData.crop.y' },\n { path: 'entity.richContent.nodes.imageData.crop.width' },\n { path: 'entity.richContent.nodes.imageData.crop.height' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'entity.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.richContent.nodes.appEmbedData.image.duration' },\n { path: 'entity.richContent.nodes.videoData.video.duration' },\n { path: 'entity.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'entity.richContent.nodes.audioData.audio.duration' },\n { path: 'entity.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.tocData.fontSize' },\n { path: 'entity.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'entity.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'entity.media.wixMedia.videoV2' }],\n },\n ])\n )\n)<DraftCreatedEnvelope>();\nexport const onDraftDeleted = /*#__PURE__*/ EventDefinition(\n 'wix.blog.v3.draft_deleted',\n true,\n (event: DraftDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'entity.heroImage' },\n { path: 'entity.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.editedDate' },\n { path: 'entity.scheduledPublishDate' },\n { path: 'entity.firstPublishedDate' },\n { path: 'entity.createdDate' },\n { path: 'entity.richContent.metadata.createdTimestamp' },\n { path: 'entity.richContent.metadata.updatedTimestamp' },\n { path: 'entity.moderationDetails.submittedDate' },\n { path: 'entity.moderationDetails.moderationDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.url' }, { path: 'entity.translations.url' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'entity.richContent.nodes.imageData.image.duration' },\n { path: 'entity.richContent.nodes.imageData.crop.x' },\n { path: 'entity.richContent.nodes.imageData.crop.y' },\n { path: 'entity.richContent.nodes.imageData.crop.width' },\n { path: 'entity.richContent.nodes.imageData.crop.height' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'entity.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.richContent.nodes.appEmbedData.image.duration' },\n { path: 'entity.richContent.nodes.videoData.video.duration' },\n { path: 'entity.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'entity.richContent.nodes.audioData.audio.duration' },\n { path: 'entity.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.tocData.fontSize' },\n { path: 'entity.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'entity.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'entity.media.wixMedia.videoV2' }],\n },\n ])\n )\n)<DraftDeletedEnvelope>();\nexport const onDraftUpdated = /*#__PURE__*/ EventDefinition(\n 'wix.blog.v3.draft_updated',\n true,\n (event: DraftUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'entity.heroImage' },\n { path: 'entity.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.editedDate' },\n { path: 'entity.scheduledPublishDate' },\n { path: 'entity.firstPublishedDate' },\n { path: 'entity.createdDate' },\n { path: 'entity.richContent.metadata.createdTimestamp' },\n { path: 'entity.richContent.metadata.updatedTimestamp' },\n { path: 'entity.moderationDetails.submittedDate' },\n { path: 'entity.moderationDetails.moderationDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [{ path: 'entity.url' }, { path: 'entity.translations.url' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'entity.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'entity.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'entity.richContent.nodes.imageData.image.duration' },\n { path: 'entity.richContent.nodes.imageData.crop.x' },\n { path: 'entity.richContent.nodes.imageData.crop.y' },\n { path: 'entity.richContent.nodes.imageData.crop.width' },\n { path: 'entity.richContent.nodes.imageData.crop.height' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'entity.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'entity.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'entity.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'entity.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'entity.richContent.nodes.appEmbedData.image.duration' },\n { path: 'entity.richContent.nodes.videoData.video.duration' },\n { path: 'entity.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'entity.richContent.nodes.audioData.audio.duration' },\n { path: 'entity.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'entity.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'entity.richContent.nodes.tocData.fontSize' },\n { path: 'entity.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'entity.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'entity.media.wixMedia.videoV2' }],\n },\n ])\n )\n)<DraftUpdatedEnvelope>();\n\nexport {\n AccountInfo,\n AccountInfoMetadata,\n Action,\n ActionEvent,\n AddressLocation,\n Alignment,\n AnchorData,\n Animation,\n AnimationType,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n AppType,\n ApplicationError,\n ApproveDraftPostRequest,\n ApproveDraftPostResponse,\n AspectRatio,\n AudioData,\n Backdrop,\n BackdropType,\n Background,\n BackgroundGradient,\n BackgroundImage,\n BackgroundType,\n Banner,\n BannerOrigin,\n BannerPosition,\n BaseEventMetadata,\n BlockquoteData,\n BlogPaging,\n BookingData,\n Border,\n BorderColors,\n BorderWidths,\n BulkActionMetadata,\n BulkCreateDraftPostsOptions,\n BulkCreateDraftPostsRequest,\n BulkCreateDraftPostsResponse,\n BulkDeleteDraftPostsOptions,\n BulkDeleteDraftPostsRequest,\n BulkDeleteDraftPostsResponse,\n BulkDraftPostResult,\n BulkRejectDraftPostRequest,\n BulkRejectDraftPostResponse,\n BulkRevertToUnpublishedRequest,\n BulkRevertToUnpublishedResponse,\n BulkUpdateDraftPostsOptions,\n BulkUpdateDraftPostsRequest,\n BulkUpdateDraftPostsResponse,\n BulletedListData,\n ButtonData,\n ButtonDataType,\n ButtonStyles,\n CaptionData,\n CardData,\n CardDataBackground,\n CardDataBackgroundType,\n CardStyles,\n CardStylesType,\n CellStyle,\n CheckboxListData,\n CodeBlockData,\n CollapsibleListData,\n ColorData,\n Colors,\n ColumnSize,\n CreateDraftPostOptions,\n CreateDraftPostRequest,\n CreateDraftPostResponse,\n Crop,\n CursorPaging,\n Cursors,\n Decoration,\n DecorationDataOneOf,\n DecorationType,\n DeleteDraftPostOptions,\n DeleteDraftPostRequest,\n DeleteDraftPostResponse,\n Design,\n DesignTarget,\n Dimensions,\n Direction,\n DividerData,\n DividerDataAlignment,\n DividerDataStyles,\n DocumentStyle,\n DomainEvent,\n DomainEventBodyOneOf,\n DraftCategoriesUpdated,\n DraftCreatedEnvelope,\n DraftDeletedEnvelope,\n DraftPost,\n DraftPostCount,\n DraftPostOwnerChanged,\n DraftPostQuerySpec,\n DraftPostTranslation,\n DraftPostsQueryBuilder,\n DraftPostsQueryResult,\n DraftTagsUpdated,\n DraftUpdatedEnvelope,\n EmbedData,\n EmbedMedia,\n EmbedThumbnail,\n EmbedVideo,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EntranceAnimation,\n EntranceEffect,\n EntranceEffectType,\n EventData,\n EventMetadata,\n Field,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n FocalPoint,\n FontFamilyData,\n FontSizeData,\n FontType,\n GIF,\n GIFData,\n GIFType,\n GalleryData,\n GalleryOptions,\n GalleryOptionsLayout,\n GetDeletedDraftPostRequest,\n GetDeletedDraftPostResponse,\n GetDraftPostCountsRequest,\n GetDraftPostCountsResponse,\n GetDraftPostOptions,\n GetDraftPostRequest,\n GetDraftPostResponse,\n GetDraftPostTotalsRequest,\n GetDraftPostTotalsResponse,\n GetDraftPostsSort,\n Gradient,\n GradientType,\n HTMLData,\n HTMLDataDataOneOf,\n HeadingData,\n Height,\n IdentificationData,\n IdentificationDataIdOneOf,\n Image,\n ImageData,\n ImageDataCrop,\n ImageDataStyles,\n ImagePosition,\n ImagePositionPosition,\n ImageScalingScaling,\n ImageStyles,\n Indentation,\n InitialDraftPostsCopied,\n InitialExpandedItems,\n IsDraftPostAutoTranslatableRequest,\n IsDraftPostAutoTranslatableResponse,\n Item,\n ItemDataOneOf,\n ItemMetadata,\n ItemStyle,\n Keyword,\n LayerEffect,\n Layers,\n Layout,\n LayoutCellData,\n LayoutData,\n LayoutDataBackground,\n LayoutDataBackgroundImage,\n LayoutDataBackgroundType,\n LayoutType,\n LineCap,\n LineStyle,\n Link,\n LinkData,\n LinkDataOneOf,\n LinkPreviewData,\n LinkPreviewDataStyles,\n ListDeletedDraftPostsOptions,\n ListDeletedDraftPostsRequest,\n ListDeletedDraftPostsResponse,\n ListDraftPostsOptions,\n ListDraftPostsRequest,\n ListDraftPostsResponse,\n ListItemNodeData,\n ListStyle,\n ListValue,\n LoopAnimation,\n LoopEffect,\n LoopEffectType,\n MapData,\n MapSettings,\n MapType,\n MarkPostAsInModerationRequest,\n MarkPostAsInModerationResponse,\n MaskedDraftPosts,\n Media,\n MediaMediaOneOf,\n MentionData,\n MessageEnvelope,\n MetaData,\n Metadata,\n ModerationDetails,\n ModerationStatusStatus,\n Node,\n NodeDataOneOf,\n NodeStyle,\n NodeType,\n NullValue,\n Oembed,\n Option,\n OptionDesign,\n OptionLayout,\n OrderedListData,\n Orientation,\n Origin,\n PDFSettings,\n Paging,\n PagingMetadataV2,\n ParagraphData,\n Permissions,\n Placement,\n PlatformQuery,\n PlatformQueryPagingMethodOneOf,\n PlaybackOptions,\n PluginContainerData,\n PluginContainerDataAlignment,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n PointerEffect,\n PointerEffectType,\n Poll,\n PollData,\n PollDataLayout,\n PollDesign,\n PollDesignBackground,\n PollDesignBackgroundBackgroundOneOf,\n PollDesignBackgroundType,\n PollLayout,\n PollLayoutDirection,\n PollLayoutType,\n PollSettings,\n Position,\n PricingData,\n PublishDraftPostRequest,\n PublishDraftPostResponse,\n QueryDraftPostsOptions,\n QueryDraftPostsRequest,\n QueryDraftPostsResponse,\n RejectDraftPostRequest,\n RejectDraftPostResponse,\n Rel,\n RemoveFromTrashBinRequest,\n RemoveFromTrashBinResponse,\n Resizing,\n ResponsivenessBehaviour,\n RestoreFromTrashBinRequest,\n RestoreFromTrashBinResponse,\n RestoreInfo,\n RevertToUnpublishedRequest,\n RevertToUnpublishedResponse,\n RibbonStyles,\n RichContent,\n Scaling,\n SectionDivider,\n SeoSchema,\n Settings,\n Shape,\n ShapeData,\n ShapeDataStyles,\n SketchData,\n SmartBlockCellData,\n SmartBlockData,\n SmartBlockDataType,\n SortOrder,\n Sorting,\n Source,\n Spoiler,\n SpoilerData,\n Status,\n Stop,\n Styles,\n StylesBorder,\n StylesPosition,\n TableCellData,\n TableData,\n Tag,\n Target,\n TextAlignment,\n TextData,\n TextNodeStyle,\n TextStyle,\n Thumbnails,\n ThumbnailsAlignment,\n TocData,\n TotalDraftPosts,\n TotalDraftPostsGroupingField,\n TranslateDraftRequest,\n TranslateDraftResponse,\n Type,\n UnpublishPostRequest,\n UnpublishPostResponse,\n UpdateDraftPost,\n UpdateDraftPostContentRequest,\n UpdateDraftPostContentResponse,\n UpdateDraftPostLanguageRequest,\n UpdateDraftPostLanguageResponse,\n UpdateDraftPostOptions,\n UpdateDraftPostRequest,\n UpdateDraftPostResponse,\n V1Media,\n Variant,\n VerticalAlignment,\n VerticalAlignmentAlignment,\n Video,\n VideoData,\n VideoResolution,\n ViewMode,\n ViewRole,\n VoteRole,\n WebhookIdentityType,\n Width,\n WidthType,\n WixMedia,\n utils,\n} from './blog-v3-draft-draft-posts.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixBlogV3Draft from './blog-v3-draft-draft-posts.http.js';\n// @ts-ignore\nimport { transformSDKImageToRESTImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformSDKVideoV2ToRESTVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { transformRESTVideoV2ToSDKVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { transformSDKPageURLToRESTPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformRESTPageURLToSDKPageURL } from '@wix/sdk-runtime/transformations/page-url';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\nexport interface DraftPost {\n /**\n * Draft post ID.\n * @readonly\n * @maxLength 38\n */\n _id?: string;\n /**\n * Draft post title.\n * @maxLength 200\n */\n title?: string;\n /**\n * Draft post excerpt.\n *\n * If no excerpt has been manually set, an excerpt is automatically generated from the post's text.\n * This can be retrieved using the `GENERATED_EXCERPT` fieldset.\n * @maxLength 500\n */\n excerpt?: string | null;\n /** Whether the draft post is marked as featured. */\n featured?: boolean | null;\n /**\n * Category IDs of the draft post.\n * @maxSize 10\n * @maxLength 38\n */\n categoryIds?: string[];\n /**\n * Draft post owner's member ID.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Hashtags in the post.\n * @maxSize 100\n * @maxLength 100\n */\n hashtags?: string[];\n /** Whether commenting on the draft post is enabled. */\n commentingEnabled?: boolean | null;\n /**\n * Estimated reading time of the draft post (calculated automatically).\n * @readonly\n */\n minutesToRead?: number;\n /** Image placed at the top of the blog page. */\n heroImage?: string;\n /**\n * Tag IDs the draft post is tagged with.\n * @maxSize 30\n * @maxLength 38\n */\n tagIds?: string[];\n /**\n * IDs of posts related to this draft post.\n * @maxSize 3\n * @maxLength 38\n */\n relatedPostIds?: string[];\n /**\n * Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info.\n * @maxSize 100\n * @format GUID\n */\n pricingPlanIds?: string[];\n /**\n * ID of the draft post's translations.\n *\n * All translations of a single post share the same `translationId`.\n * Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.\n * @format GUID\n */\n translationId?: string | null;\n /**\n * Language the draft post is written in.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n */\n changeOrigin?: OriginWithLiterals;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxLength 24\n */\n contentId?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @format GUID\n */\n editingSessionId?: string | null;\n /**\n * Draft Post rich content.\n *\n * <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" plugins=\"image.gallery.video.audio.divider.linkButton.html.giphy.codeBlock.file.hashtag.lineSpacing.indent.link.textColor.textHighlight.heading.verticalEmbed.table.collapsibleList.poll\" exampleid=\"72c23a25-524f-4f70-a260-4a2777b6f5d5\">\n * <a href=\"https://dev.wix.com/docs/ricos/api-reference/ricos-document\">See Ricos document reference</a>\n * </widget>\n */\n richContent?: RichContent;\n /**\n * Status of the draft post.\n * @readonly\n */\n status?: StatusWithLiterals;\n /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */\n moderationDetails?: ModerationDetails;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @format GUID\n */\n mostRecentContributorId?: string | null;\n /**\n * Indicates if there are changes made to the draft post that have not yet been published.\n * @readonly\n */\n hasUnpublishedChanges?: boolean;\n /**\n * Date the draft post was last edited.\n * @readonly\n */\n editedDate?: Date | null;\n /**\n * Date the draft post is scheduled to be published.\n * @readonly\n */\n scheduledPublishDate?: Date | null;\n /**\n * Reserved for internal use.\n * @internal\n */\n content?: Record<string, any> | null;\n /** Date the post was first published. */\n firstPublishedDate?: Date | null;\n /** SEO data. */\n seoData?: SeoSchema;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxSize 5000\n * @maxLength 100\n */\n slugs?: string[];\n /**\n * Draft post URL preview. What the URL will look like once the post is published.\n * @readonly\n */\n url?: string;\n /**\n * Date the draft post was first created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * SEO slug.\n * @maxLength 100\n */\n seoSlug?: string | null;\n /** Post cover media. */\n media?: Media;\n /** Number of paragraphs to display in a paid content preview for non-paying users. */\n previewTextParagraph?: number | null;\n /**\n * List of the post's translated posts.\n * @internal\n * @readonly\n * @maxSize 1000\n */\n translations?: DraftPostTranslation[];\n /**\n * Reserved for internal use, not included in base response.\n * @internal\n * @format GUID\n */\n originPostId?: string | null;\n /**\n * Reserved for internal use, not included in base response.\n * @internal\n * @format GUID\n */\n originPostInstanceId?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxLength 24\n */\n internalId?: string | null;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport enum Origin {\n UNKNOWN = 'UNKNOWN',\n /** Changed by admin */\n ADMIN = 'ADMIN',\n /** Categories were changed */\n ADD_CATEGORIES = 'ADD_CATEGORIES',\n /** Saved automatically */\n AUTO_SAVE = 'AUTO_SAVE',\n /** Copied from template */\n COPY_TEMPLATE = 'COPY_TEMPLATE',\n /** Imported */\n IMPORT = 'IMPORT',\n /** Imported in bulk */\n IMPORT_BULK = 'IMPORT_BULK',\n /** Imported with html import */\n IMPORT_HTML = 'IMPORT_HTML',\n /** Patch import */\n IMPORT_PATCH = 'IMPORT_PATCH',\n /** Changed language */\n LANGUAGE_CHANGE = 'LANGUAGE_CHANGE',\n /** Saved manually */\n MANUAL_SAVE = 'MANUAL_SAVE',\n /** Affected by migration */\n MIGRATION = 'MIGRATION',\n /** Affected by moderation */\n MODERATION = 'MODERATION',\n /** Moved to trash */\n MOVE_TO_TRASH = 'MOVE_TO_TRASH',\n /** Pricing plans were changed */\n PRICING_PLANS_CHANGE = 'PRICING_PLANS_CHANGE',\n /** Was provisioned */\n PROVISION = 'PROVISION',\n /** Was published */\n PUBLISH = 'PUBLISH',\n /** Owner was reassigned */\n REASSIGN_OWNER = 'REASSIGN_OWNER',\n /** Was reblogged */\n REBLOG = 'REBLOG',\n /** Was restored */\n RESTORE = 'RESTORE',\n /** Reverted to draft */\n REVERT_TO_DRAFT = 'REVERT_TO_DRAFT',\n /** Was translated */\n TRANSLATION = 'TRANSLATION',\n /** Was unpublished */\n UNPUBLISH = 'UNPUBLISH',\n /** Was unscheduled */\n UNSCHEDULE = 'UNSCHEDULE',\n /** New edit session started which updated editing_session_id id */\n NEW_EDIT_SESSION = 'NEW_EDIT_SESSION',\n /** Was scheduled by Later */\n SCHEDULING_SERVICE_SCHEDULE = 'SCHEDULING_SERVICE_SCHEDULE',\n /** Was unscheduled by Later */\n SCHEDULING_SERVICE_UNSCHEDULE = 'SCHEDULING_SERVICE_UNSCHEDULE',\n /** Was published by Later */\n SCHEDULING_SERVICE_PUBLISH = 'SCHEDULING_SERVICE_PUBLISH',\n /** Was scheduled */\n SCHEDULE = 'SCHEDULE',\n /** Was removed from moderation */\n REMOVE_FROM_MODERATION = 'REMOVE_FROM_MODERATION',\n /** Was rejected from moderation */\n REJECT_FROM_MODERATION = 'REJECT_FROM_MODERATION',\n /** Was approved in moderation */\n APPROVE_IN_MODERATION = 'APPROVE_IN_MODERATION',\n /** Tag was deleted */\n DELETE_TAG = 'DELETE_TAG',\n /** Post was pinned */\n PIN = 'PIN',\n /** Post was unpinned */\n UNPIN = 'UNPIN',\n /** Saved automatically by AI tool. */\n AI_AUTO_SAVE = 'AI_AUTO_SAVE',\n}\n\n/** @enumType */\nexport type OriginWithLiterals =\n | Origin\n | 'UNKNOWN'\n | 'ADMIN'\n | 'ADD_CATEGORIES'\n | 'AUTO_SAVE'\n | 'COPY_TEMPLATE'\n | 'IMPORT'\n | 'IMPORT_BULK'\n | 'IMPORT_HTML'\n | 'IMPORT_PATCH'\n | 'LANGUAGE_CHANGE'\n | 'MANUAL_SAVE'\n | 'MIGRATION'\n | 'MODERATION'\n | 'MOVE_TO_TRASH'\n | 'PRICING_PLANS_CHANGE'\n | 'PROVISION'\n | 'PUBLISH'\n | 'REASSIGN_OWNER'\n | 'REBLOG'\n | 'RESTORE'\n | 'REVERT_TO_DRAFT'\n | 'TRANSLATION'\n | 'UNPUBLISH'\n | 'UNSCHEDULE'\n | 'NEW_EDIT_SESSION'\n | 'SCHEDULING_SERVICE_SCHEDULE'\n | 'SCHEDULING_SERVICE_UNSCHEDULE'\n | 'SCHEDULING_SERVICE_PUBLISH'\n | 'SCHEDULE'\n | 'REMOVE_FROM_MODERATION'\n | 'REJECT_FROM_MODERATION'\n | 'APPROVE_IN_MODERATION'\n | 'DELETE_TAG'\n | 'PIN'\n | 'UNPIN'\n | 'AI_AUTO_SAVE';\n\nexport interface RichContent {\n /** Node objects representing a rich content document. */\n nodes?: Node[];\n /** Object metadata. */\n metadata?: Metadata;\n /** Global styling for header, paragraph, block quote, and code block nodes in the object. */\n documentStyle?: DocumentStyle;\n}\n\nexport interface Node extends NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** Data for a layout node. Reserved for future use. */\n layoutData?: LayoutData;\n /** Data for a cell node. */\n layoutCellData?: LayoutCellData;\n /** Data for a shape node. */\n shapeData?: ShapeData;\n /** Data for a card node. */\n cardData?: CardData;\n /** Data for a table of contents node. */\n tocData?: TocData;\n /** Data for a smart block node. */\n smartBlockData?: SmartBlockData;\n /** Data for a smart block cell node. */\n smartBlockCellData?: SmartBlockCellData;\n /** Data for a checkbox list node. */\n checkboxListData?: CheckboxListData;\n /** Data for a list item node. */\n listItemData?: ListItemNodeData;\n /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */\n type?: NodeTypeWithLiterals;\n /** Node ID. */\n id?: string;\n /** A list of child nodes. */\n nodes?: Node[];\n /** Padding and background color styling for the node. */\n style?: NodeStyle;\n}\n\n/** @oneof */\nexport interface NodeDataOneOf {\n /** Data for a button node. */\n buttonData?: ButtonData;\n /** Data for a code block node. */\n codeBlockData?: CodeBlockData;\n /** Data for a divider node. */\n dividerData?: DividerData;\n /** Data for a file node. */\n fileData?: FileData;\n /** Data for a gallery node. */\n galleryData?: GalleryData;\n /** Data for a GIF node. */\n gifData?: GIFData;\n /** Data for a heading node. */\n headingData?: HeadingData;\n /** Data for an embedded HTML node. */\n htmlData?: HTMLData;\n /** Data for an image node. */\n imageData?: ImageData;\n /** Data for a link preview node. */\n linkPreviewData?: LinkPreviewData;\n /** @deprecated */\n mapData?: MapData;\n /** Data for a paragraph node. */\n paragraphData?: ParagraphData;\n /** Data for a poll node. */\n pollData?: PollData;\n /** Data for a text node. Used to apply decorations to text. */\n textData?: TextData;\n /** Data for an app embed node. */\n appEmbedData?: AppEmbedData;\n /** Data for a video node. */\n videoData?: VideoData;\n /** Data for an oEmbed node. */\n embedData?: EmbedData;\n /** Data for a collapsible list node. */\n collapsibleListData?: CollapsibleListData;\n /** Data for a table node. */\n tableData?: TableData;\n /** Data for a table cell node. */\n tableCellData?: TableCellData;\n /** Data for a custom external node. */\n externalData?: Record<string, any> | null;\n /** Data for an audio node. */\n audioData?: AudioData;\n /** Data for an ordered list node. */\n orderedListData?: OrderedListData;\n /** Data for a bulleted list node. */\n bulletedListData?: BulletedListData;\n /** Data for a block quote node. */\n blockquoteData?: BlockquoteData;\n /** Data for a caption node. */\n captionData?: CaptionData;\n /** Data for a layout node. Reserved for future use. */\n layoutData?: LayoutData;\n /** Data for a cell node. */\n layoutCellData?: LayoutCellData;\n /** Data for a shape node. */\n shapeData?: ShapeData;\n /** Data for a card node. */\n cardData?: CardData;\n /** Data for a table of contents node. */\n tocData?: TocData;\n /** Data for a smart block node. */\n smartBlockData?: SmartBlockData;\n /** Data for a smart block cell node. */\n smartBlockCellData?: SmartBlockCellData;\n /** Data for a checkbox list node. */\n checkboxListData?: CheckboxListData;\n /** Data for a list item node. */\n listItemData?: ListItemNodeData;\n}\n\nexport enum NodeType {\n PARAGRAPH = 'PARAGRAPH',\n TEXT = 'TEXT',\n HEADING = 'HEADING',\n BULLETED_LIST = 'BULLETED_LIST',\n ORDERED_LIST = 'ORDERED_LIST',\n LIST_ITEM = 'LIST_ITEM',\n BLOCKQUOTE = 'BLOCKQUOTE',\n CODE_BLOCK = 'CODE_BLOCK',\n VIDEO = 'VIDEO',\n DIVIDER = 'DIVIDER',\n FILE = 'FILE',\n GALLERY = 'GALLERY',\n GIF = 'GIF',\n HTML = 'HTML',\n IMAGE = 'IMAGE',\n LINK_PREVIEW = 'LINK_PREVIEW',\n /** @deprecated */\n MAP = 'MAP',\n POLL = 'POLL',\n APP_EMBED = 'APP_EMBED',\n BUTTON = 'BUTTON',\n COLLAPSIBLE_LIST = 'COLLAPSIBLE_LIST',\n TABLE = 'TABLE',\n EMBED = 'EMBED',\n COLLAPSIBLE_ITEM = 'COLLAPSIBLE_ITEM',\n COLLAPSIBLE_ITEM_TITLE = 'COLLAPSIBLE_ITEM_TITLE',\n COLLAPSIBLE_ITEM_BODY = 'COLLAPSIBLE_ITEM_BODY',\n TABLE_CELL = 'TABLE_CELL',\n TABLE_ROW = 'TABLE_ROW',\n EXTERNAL = 'EXTERNAL',\n AUDIO = 'AUDIO',\n CAPTION = 'CAPTION',\n LAYOUT = 'LAYOUT',\n LAYOUT_CELL = 'LAYOUT_CELL',\n SHAPE = 'SHAPE',\n CARD = 'CARD',\n TOC = 'TOC',\n SMART_BLOCK = 'SMART_BLOCK',\n SMART_BLOCK_CELL = 'SMART_BLOCK_CELL',\n CHECKBOX_LIST = 'CHECKBOX_LIST',\n}\n\n/** @enumType */\nexport type NodeTypeWithLiterals =\n | NodeType\n | 'PARAGRAPH'\n | 'TEXT'\n | 'HEADING'\n | 'BULLETED_LIST'\n | 'ORDERED_LIST'\n | 'LIST_ITEM'\n | 'BLOCKQUOTE'\n | 'CODE_BLOCK'\n | 'VIDEO'\n | 'DIVIDER'\n | 'FILE'\n | 'GALLERY'\n | 'GIF'\n | 'HTML'\n | 'IMAGE'\n | 'LINK_PREVIEW'\n | 'MAP'\n | 'POLL'\n | 'APP_EMBED'\n | 'BUTTON'\n | 'COLLAPSIBLE_LIST'\n | 'TABLE'\n | 'EMBED'\n | 'COLLAPSIBLE_ITEM'\n | 'COLLAPSIBLE_ITEM_TITLE'\n | 'COLLAPSIBLE_ITEM_BODY'\n | 'TABLE_CELL'\n | 'TABLE_ROW'\n | 'EXTERNAL'\n | 'AUDIO'\n | 'CAPTION'\n | 'LAYOUT'\n | 'LAYOUT_CELL'\n | 'SHAPE'\n | 'CARD'\n | 'TOC'\n | 'SMART_BLOCK'\n | 'SMART_BLOCK_CELL'\n | 'CHECKBOX_LIST';\n\nexport interface NodeStyle {\n /** The top padding value in pixels. */\n paddingTop?: string | null;\n /** The bottom padding value in pixels. */\n paddingBottom?: string | null;\n /** The background color as a hexadecimal value. */\n backgroundColor?: string | null;\n}\n\nexport interface ButtonData {\n /** Styling for the button's container. */\n containerData?: PluginContainerData;\n /** The button type. */\n type?: ButtonDataTypeWithLiterals;\n /** Styling for the button. */\n styles?: Styles;\n /** The text to display on the button. */\n text?: string | null;\n /** Button link details. */\n link?: Link;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** Background type */\nexport enum BackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';\n\nexport interface Gradient {\n /** Gradient type. */\n type?: GradientTypeWithLiterals;\n /**\n * Color stops for the gradient.\n * @maxSize 1000\n */\n stops?: Stop[];\n /** Angle in degrees for linear gradient (0-360). */\n angle?: number | null;\n /**\n * Horizontal center position for radial gradient (0-100).\n * @max 100\n */\n centerX?: number | null;\n /**\n * Vertical center position for radial gradient (0-100).\n * @max 100\n */\n centerY?: number | null;\n}\n\n/** Gradient type. */\nexport enum GradientType {\n /** Linear gradient. */\n LINEAR = 'LINEAR',\n /** Radial gradient. */\n RADIAL = 'RADIAL',\n}\n\n/** @enumType */\nexport type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';\n\n/** A single color stop in the gradient. */\nexport interface Stop {\n /**\n * Stop color as hex value.\n * @maxLength 19\n */\n color?: string | null;\n /** Stop position (0-1). */\n position?: number | null;\n}\n\nexport interface Border {\n /**\n * Deprecated: Use `borderWidth` in `styles` instead.\n * @deprecated\n */\n width?: number | null;\n /**\n * Deprecated: Use `borderRadius` in `styles` instead.\n * @deprecated\n */\n radius?: number | null;\n}\n\nexport interface Colors {\n /**\n * Deprecated: Use `textColor` in `styles` instead.\n * @deprecated\n */\n text?: string | null;\n /**\n * Deprecated: Use `borderColor` in `styles` instead.\n * @deprecated\n */\n border?: string | null;\n /**\n * Deprecated: Use `backgroundColor` in `styles` instead.\n * @deprecated\n */\n background?: string | null;\n}\n\n/** Background styling (color or gradient) */\nexport interface Background {\n /** Background type. */\n type?: BackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\nexport interface PluginContainerData {\n /** The width of the node when it's displayed. */\n width?: PluginContainerDataWidth;\n /** The node's alignment within its container. */\n alignment?: PluginContainerDataAlignmentWithLiterals;\n /** Spoiler cover settings for the node. */\n spoiler?: Spoiler;\n /** The height of the node when it's displayed. */\n height?: Height;\n /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */\n textWrap?: boolean | null;\n}\n\nexport enum WidthType {\n /** Width matches the content width */\n CONTENT = 'CONTENT',\n /** Small Width */\n SMALL = 'SMALL',\n /** Width will match the original asset width */\n ORIGINAL = 'ORIGINAL',\n /** coast-to-coast display */\n FULL_WIDTH = 'FULL_WIDTH',\n}\n\n/** @enumType */\nexport type WidthTypeWithLiterals =\n | WidthType\n | 'CONTENT'\n | 'SMALL'\n | 'ORIGINAL'\n | 'FULL_WIDTH';\n\nexport interface PluginContainerDataWidth\n extends PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\n/** @oneof */\nexport interface PluginContainerDataWidthDataOneOf {\n /**\n * One of the following predefined width options:\n * `CONTENT`: The width of the container matches the content width.\n * `SMALL`: A small width.\n * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.\n * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.\n */\n size?: WidthTypeWithLiterals;\n /** A custom width value in pixels. */\n custom?: string | null;\n}\n\nexport enum PluginContainerDataAlignment {\n /** Center Alignment */\n CENTER = 'CENTER',\n /** Left Alignment */\n LEFT = 'LEFT',\n /** Right Alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type PluginContainerDataAlignmentWithLiterals =\n | PluginContainerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface Spoiler {\n /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */\n enabled?: boolean | null;\n /** The description displayed on top of the spoiler cover. */\n description?: string | null;\n /** The text for the button used to remove the spoiler cover. */\n buttonText?: string | null;\n}\n\nexport interface Height {\n /** A custom height value in pixels. */\n custom?: string | null;\n}\n\nexport enum ButtonDataType {\n /** Regular link button */\n LINK = 'LINK',\n /** Triggers custom action that is defined in plugin configuration by the consumer */\n ACTION = 'ACTION',\n}\n\n/** @enumType */\nexport type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';\n\nexport interface Styles {\n /**\n * Deprecated: Use `borderWidth` and `borderRadius` instead.\n * @deprecated\n */\n border?: Border;\n /**\n * Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.\n * @deprecated\n */\n colors?: Colors;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /**\n * Deprecated: Use `borderWidth` for normal/hover states instead.\n * @deprecated\n */\n borderWidthHover?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n textColorHover?: string | null;\n /**\n * Deprecated: Use `background` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColor?: string | null;\n /**\n * Deprecated: Use `backgroundHover` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n /** Background styling (color or gradient). */\n background?: Background;\n /** Background styling for hover state (color or gradient). */\n backgroundHover?: Background;\n}\n\nexport interface Link extends LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n /**\n * he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:\n * `SELF` - Default. Opens the linked document in the same frame as the link.\n * `BLANK` - Opens the linked document in a new browser tab or window.\n * `PARENT` - Opens the linked document in the link's parent frame.\n * `TOP` - Opens the linked document in the full body of the link's browser tab or window.\n */\n target?: TargetWithLiterals;\n /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */\n rel?: Rel;\n /** A serialized object used for a custom or external link panel. */\n customData?: string | null;\n}\n\n/** @oneof */\nexport interface LinkDataOneOf {\n /** The absolute URL for the linked document. */\n url?: string;\n /** The target node's ID. Used for linking to another node in this object. */\n anchor?: string;\n}\n\nexport enum Target {\n /** Opens the linked document in the same frame as it was clicked (this is default) */\n SELF = 'SELF',\n /** Opens the linked document in a new window or tab */\n BLANK = 'BLANK',\n /** Opens the linked document in the parent frame */\n PARENT = 'PARENT',\n /** Opens the linked document in the full body of the window */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';\n\nexport interface Rel {\n /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */\n nofollow?: boolean | null;\n /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */\n sponsored?: boolean | null;\n /** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */\n ugc?: boolean | null;\n /** Indicates that this link protect referral information from being passed to the target website. */\n noreferrer?: boolean | null;\n}\n\nexport interface Animation {\n /** Animation kind. */\n type?: AnimationTypeWithLiterals;\n /** Entrance animation, played once when the node first enters the viewport (VIEW). */\n entrance?: EntranceAnimation;\n /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */\n loop?: LoopAnimation;\n /**\n * POINTER carries its fields directly on the union member in the JTD wall, hence\n * flat fields here (ts-proto camelCase must equal the JTD property names). A future\n * kind that also needs an `effect` field would contend for this JSON name.\n */\n effect?: PointerEffect;\n /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */\n transitionDuration?: number | null;\n}\n\nexport enum AnimationType {\n /** Animations that play while the node is in view. */\n VIEW = 'VIEW',\n /** Animations driven by the visitor's mouse position. */\n POINTER = 'POINTER',\n}\n\n/** @enumType */\nexport type AnimationTypeWithLiterals = AnimationType | 'VIEW' | 'POINTER';\n\nexport interface EntranceAnimation {\n /** The entrance effect to play. */\n effect?: EntranceEffect;\n /** Effect duration in milliseconds. Each effect has its own default. */\n duration?: number | null;\n /** Delay before the effect starts, in milliseconds. */\n delay?: number | null;\n}\n\nexport interface EntranceEffect {\n /** The entrance effect type. */\n type?: EntranceEffectTypeWithLiterals;\n /**\n * Direction the effect enters from. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, the diagonals with or without CENTER, corners, HORIZONTAL/VERTICAL, CLOCKWISE/COUNTER_CLOCKWISE).\n * @maxLength 20\n */\n direction?: string | null;\n /**\n * Clip-path shape: ELLIPSE, CIRCLE, RECTANGLE, or DIAMOND (SHAPE).\n * @maxLength 12\n */\n shape?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum EntranceEffectType {\n /** Fades in from fully transparent to fully opaque. */\n FADE = 'FADE',\n /** Enters along a 3D arc path. */\n ARC = 'ARC',\n /** Transitions from blurred to sharp. */\n BLUR = 'BLUR',\n /** Bounces into place with an elastic curve. */\n BOUNCE = 'BOUNCE',\n /** Shrinks down from a larger size. */\n DROP = 'DROP',\n /** Expands from a point, scaling to full size. */\n EXPAND = 'EXPAND',\n /** Flips into view with a 3D rotation. */\n FLIP = 'FLIP',\n /** Drifts gently into place. */\n FLOAT = 'FLOAT',\n /** Unfolds from an edge as if hinged. */\n FOLD = 'FOLD',\n /** Glides in smoothly from off-screen. */\n GLIDE = 'GLIDE',\n /** Progressively revealed by an expanding clip-path. */\n REVEAL = 'REVEAL',\n /** Appears through an expanding geometric clip-path shape. */\n SHAPE = 'SHAPE',\n /** Revealed through shutter-like strips. */\n SHUTTERS = 'SHUTTERS',\n /** Slides in from one side. */\n SLIDE = 'SLIDE',\n /** Spins into view while scaling up. */\n SPIN = 'SPIN',\n /** Tilts in from the side with 3D rotation. */\n TILT = 'TILT',\n /** Rotates into view around a corner pivot. */\n TURN = 'TURN',\n /** Expands from its horizontal or vertical center. */\n WINK = 'WINK',\n}\n\n/** @enumType */\nexport type EntranceEffectTypeWithLiterals =\n | EntranceEffectType\n | 'FADE'\n | 'ARC'\n | 'BLUR'\n | 'BOUNCE'\n | 'DROP'\n | 'EXPAND'\n | 'FLIP'\n | 'FLOAT'\n | 'FOLD'\n | 'GLIDE'\n | 'REVEAL'\n | 'SHAPE'\n | 'SHUTTERS'\n | 'SLIDE'\n | 'SPIN'\n | 'TILT'\n | 'TURN'\n | 'WINK';\n\nexport interface LoopAnimation {\n /** The looping effect to repeat. */\n effect?: LoopEffect;\n /** Duration of a single iteration in milliseconds. Each effect has its own default. */\n duration?: number | null;\n /** Pause between iterations in milliseconds. */\n iterationDelay?: number | null;\n}\n\nexport interface LoopEffect {\n /** The looping effect type. */\n type?: LoopEffectTypeWithLiterals;\n /**\n * 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).\n * @maxLength 20\n */\n direction?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum LoopEffectType {\n /** Bounces up and down in place. */\n BOUNCE = 'BOUNCE',\n /** Scales gently in and out along an axis. */\n BREATHE = 'BREATHE',\n /** Drifts toward one side, then re-enters from the opposite side. */\n CROSS = 'CROSS',\n /** Fades out to fully transparent and back in. */\n FLASH = 'FLASH',\n /** Rotates a full turn around its horizontal or vertical axis. */\n FLIP = 'FLIP',\n /** Folds back and forth around a hinged edge. */\n FOLD = 'FOLD',\n /** Wobbles with a jelly-like skew. */\n JELLO = 'JELLO',\n /** Nudges repeatedly toward a direction. */\n POKE = 'POKE',\n /** Scales up and back down rhythmically. */\n PULSE = 'PULSE',\n /** Stretches and squashes like a rubber band. */\n RUBBER = 'RUBBER',\n /** Rotates continuously around its center. */\n SPIN = 'SPIN',\n /** Swings back and forth around an edge pivot. */\n SWING = 'SWING',\n /** Rocks side to side with an accumulating rotation. */\n WIGGLE = 'WIGGLE',\n}\n\n/** @enumType */\nexport type LoopEffectTypeWithLiterals =\n | LoopEffectType\n | 'BOUNCE'\n | 'BREATHE'\n | 'CROSS'\n | 'FLASH'\n | 'FLIP'\n | 'FOLD'\n | 'JELLO'\n | 'POKE'\n | 'PULSE'\n | 'RUBBER'\n | 'SPIN'\n | 'SWING'\n | 'WIGGLE';\n\nexport interface PointerEffect {\n /** The mouse effect type. */\n type?: PointerEffectTypeWithLiterals;\n /** Reacts away from the pointer instead of toward it. */\n inverted?: boolean | null;\n /**\n * One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.\n * @maxLength 20\n */\n axis?: string | null;\n /**\n * Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).\n * @maxLength 8\n */\n direction?: string | null;\n /**\n * Motion style: GENTLE, MODERATE, or INTENSE.\n * @maxLength 100\n */\n easing?: string | null;\n}\n\nexport enum PointerEffectType {\n /** Drifts loosely after the pointer with a light rotation. */\n AIRY = 'AIRY',\n /** Squashes and stretches toward the pointer. */\n BLOB = 'BLOB',\n /** Shifts after the pointer while blurring. */\n BLUR = 'BLUR',\n /** Scales as the pointer approaches. */\n SCALE = 'SCALE',\n /** Skews toward the pointer. */\n SKEW = 'SKEW',\n /** Rotates around a pivot edge or axis, following the pointer. */\n SWIVEL = 'SWIVEL',\n /** Tilts in 3D perspective toward the pointer. */\n TILT_3D = 'TILT_3D',\n /** Follows the pointer's position. */\n TRACK = 'TRACK',\n /** Follows the pointer with a 3D depth motion. */\n TRACK_3D = 'TRACK_3D',\n}\n\n/** @enumType */\nexport type PointerEffectTypeWithLiterals =\n | PointerEffectType\n | 'AIRY'\n | 'BLOB'\n | 'BLUR'\n | 'SCALE'\n | 'SKEW'\n | 'SWIVEL'\n | 'TILT_3D'\n | 'TRACK'\n | 'TRACK_3D';\n\nexport interface CodeBlockData {\n /** Styling for the code block's text. */\n textStyle?: TextStyle;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface TextStyle {\n /** Text alignment. Defaults to `AUTO`. */\n textAlignment?: TextAlignmentWithLiterals;\n /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */\n lineHeight?: string | null;\n}\n\nexport enum TextAlignment {\n /** browser default, eqivalent to `initial` */\n AUTO = 'AUTO',\n /** Left align */\n LEFT = 'LEFT',\n /** Right align */\n RIGHT = 'RIGHT',\n /** Center align */\n CENTER = 'CENTER',\n /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */\n JUSTIFY = 'JUSTIFY',\n}\n\n/** @enumType */\nexport type TextAlignmentWithLiterals =\n | TextAlignment\n | 'AUTO'\n | 'LEFT'\n | 'RIGHT'\n | 'CENTER'\n | 'JUSTIFY';\n\nexport interface DividerData {\n /** Styling for the divider's container. */\n containerData?: PluginContainerData;\n /** Divider line style. */\n lineStyle?: LineStyleWithLiterals;\n /** Divider width. */\n width?: WidthWithLiterals;\n /** Divider alignment. */\n alignment?: DividerDataAlignmentWithLiterals;\n /** Visual styling for the divider lines. */\n styles?: DividerDataStyles;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum LineCap {\n /** Square line endings. */\n SQUARE = 'SQUARE',\n /** Rounded line endings. */\n ROUND = 'ROUND',\n}\n\n/** @enumType */\nexport type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';\n\nexport enum LineStyle {\n /** Single Line */\n SINGLE = 'SINGLE',\n /** Double Line */\n DOUBLE = 'DOUBLE',\n /** Dashed Line */\n DASHED = 'DASHED',\n /** Dotted Line */\n DOTTED = 'DOTTED',\n}\n\n/** @enumType */\nexport type LineStyleWithLiterals =\n | LineStyle\n | 'SINGLE'\n | 'DOUBLE'\n | 'DASHED'\n | 'DOTTED';\n\nexport enum Width {\n /** Large line */\n LARGE = 'LARGE',\n /** Medium line */\n MEDIUM = 'MEDIUM',\n /** Small line */\n SMALL = 'SMALL',\n}\n\n/** @enumType */\nexport type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';\n\nexport enum DividerDataAlignment {\n /** Center alignment */\n CENTER = 'CENTER',\n /** Left alignment */\n LEFT = 'LEFT',\n /** Right alignment */\n RIGHT = 'RIGHT',\n}\n\n/** @enumType */\nexport type DividerDataAlignmentWithLiterals =\n | DividerDataAlignment\n | 'CENTER'\n | 'LEFT'\n | 'RIGHT';\n\nexport interface DividerDataStyles {\n /**\n * Divider color as a hexadecimal value. An alpha channel controls opacity.\n * @maxLength 19\n */\n color?: string | null;\n /** Divider line ending shape. */\n lineCap?: LineCapWithLiterals;\n /**\n * Line thicknesses in pixels, ordered from first line to last line.\n * @maxSize 10\n */\n lineThickness?: number[];\n /** Visible dash length for dashed dividers, in pixels. The pattern is snapped to a whole number of dashes so that the first and last dash touch the divider's edges - narrower containers show fewer dashes at the same size. */\n dashLength?: number | null;\n /** Visible gap between dashes or dots, in pixels. */\n dashGap?: number | null;\n /** Gap between divider lines in pixels. */\n lineGap?: number | null;\n}\n\nexport interface FileData {\n /** Styling for the file's container. */\n containerData?: PluginContainerData;\n /** The source for the file's data. */\n src?: FileSource;\n /** File name. */\n name?: string | null;\n /** File type. */\n type?: string | null;\n /**\n * Use `sizeInKb` instead.\n * @deprecated\n */\n size?: number | null;\n /** Settings for PDF files. */\n pdfSettings?: PDFSettings;\n /** File MIME type. */\n mimeType?: string | null;\n /** File path. */\n path?: string | null;\n /** File size in KB. */\n sizeInKb?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ViewMode {\n /** No PDF view */\n NONE = 'NONE',\n /** Full PDF view */\n FULL = 'FULL',\n /** Mini PDF view */\n MINI = 'MINI',\n}\n\n/** @enumType */\nexport type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';\n\nexport interface FileSource extends FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n /** Indicates whether the file's source is private. Defaults to `false`. */\n private?: boolean | null;\n}\n\n/** @oneof */\nexport interface FileSourceDataOneOf {\n /** The absolute URL for the file's source. */\n url?: string | null;\n /**\n * Custom ID. Use `id` instead.\n * @deprecated\n */\n custom?: string | null;\n /** An ID that's resolved to a URL by a resolver function. */\n id?: string | null;\n}\n\nexport interface PDFSettings {\n /**\n * PDF view mode. One of the following:\n * `NONE` : The PDF isn't displayed.\n * `FULL` : A full page view of the PDF is displayed.\n * `MINI` : A mini view of the PDF is displayed.\n */\n viewMode?: ViewModeWithLiterals;\n /** Sets whether the PDF download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the PDF print button is disabled. Defaults to `false`. */\n disablePrint?: boolean | null;\n}\n\nexport interface GalleryData {\n /** Styling for the gallery's container. */\n containerData?: PluginContainerData;\n /** The items in the gallery. */\n items?: Item[];\n /** Options for defining the gallery's appearance. */\n options?: GalleryOptions;\n /** Sets whether the gallery's expand button is disabled. Defaults to `false`. */\n disableExpand?: boolean | null;\n /** Sets whether the gallery's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface V1Media {\n /** The source for the media's data. */\n src?: FileSource;\n /** Media width in pixels. */\n width?: number | null;\n /** Media height in pixels. */\n height?: number | null;\n /** Media duration in seconds. Only relevant for audio and video files. */\n duration?: number | null;\n}\n\nexport interface Image {\n /** Image file details. */\n media?: V1Media;\n /** Link details for images that are links. */\n link?: Link;\n}\n\nexport interface Video {\n /** Video file details. */\n media?: V1Media;\n /** Video thumbnail file details. */\n thumbnail?: V1Media;\n}\n\nexport interface Item extends ItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n /** Item title. */\n title?: string | null;\n /** Item's alternative text. */\n altText?: string | null;\n}\n\n/** @oneof */\nexport interface ItemDataOneOf {\n /** An image item. */\n image?: Image;\n /** A video item. */\n video?: Video;\n}\n\nexport interface GalleryOptions {\n /** Gallery layout. */\n layout?: GalleryOptionsLayout;\n /** Styling for gallery items. */\n item?: ItemStyle;\n /** Styling for gallery thumbnail images. */\n thumbnails?: Thumbnails;\n}\n\nexport enum LayoutType {\n /** Collage type */\n COLLAGE = 'COLLAGE',\n /** Masonry type */\n MASONRY = 'MASONRY',\n /** Grid type */\n GRID = 'GRID',\n /** Thumbnail type */\n THUMBNAIL = 'THUMBNAIL',\n /** Slider type */\n SLIDER = 'SLIDER',\n /** Slideshow type */\n SLIDESHOW = 'SLIDESHOW',\n /** Panorama type */\n PANORAMA = 'PANORAMA',\n /** Column type */\n COLUMN = 'COLUMN',\n /** Magic type */\n MAGIC = 'MAGIC',\n /** Fullsize images type */\n FULLSIZE = 'FULLSIZE',\n}\n\n/** @enumType */\nexport type LayoutTypeWithLiterals =\n | LayoutType\n | 'COLLAGE'\n | 'MASONRY'\n | 'GRID'\n | 'THUMBNAIL'\n | 'SLIDER'\n | 'SLIDESHOW'\n | 'PANORAMA'\n | 'COLUMN'\n | 'MAGIC'\n | 'FULLSIZE';\n\nexport enum Orientation {\n /** Rows Orientation */\n ROWS = 'ROWS',\n /** Columns Orientation */\n COLUMNS = 'COLUMNS',\n}\n\n/** @enumType */\nexport type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';\n\nexport enum Crop {\n /** Crop to fill */\n FILL = 'FILL',\n /** Crop to fit */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type CropWithLiterals = Crop | 'FILL' | 'FIT';\n\nexport enum ThumbnailsAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Right alignment */\n RIGHT = 'RIGHT',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n /** Left alignment */\n LEFT = 'LEFT',\n /** No thumbnail */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type ThumbnailsAlignmentWithLiterals =\n | ThumbnailsAlignment\n | 'TOP'\n | 'RIGHT'\n | 'BOTTOM'\n | 'LEFT'\n | 'NONE';\n\nexport interface GalleryOptionsLayout {\n /** Gallery layout type. */\n type?: LayoutTypeWithLiterals;\n /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */\n horizontalScroll?: boolean | null;\n /** Gallery orientation. */\n orientation?: OrientationWithLiterals;\n /** The number of columns to display on full size screens. */\n numberOfColumns?: number | null;\n /** The number of columns to display on mobile screens. */\n mobileNumberOfColumns?: number | null;\n}\n\nexport interface ItemStyle {\n /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */\n targetSize?: number | null;\n /** Item ratio */\n ratio?: number | null;\n /** Sets how item images are cropped. */\n crop?: CropWithLiterals;\n /** The spacing between items in pixels. */\n spacing?: number | null;\n}\n\nexport interface Thumbnails {\n /** Thumbnail alignment. */\n placement?: ThumbnailsAlignmentWithLiterals;\n /** Spacing between thumbnails in pixels. */\n spacing?: number | null;\n}\n\nexport interface GIFData {\n /** Styling for the GIF's container. */\n containerData?: PluginContainerData;\n /** The source of the full size GIF. */\n original?: GIF;\n /** The source of the downsized GIF. */\n downsized?: GIF;\n /** Height in pixels. */\n height?: number;\n /** Width in pixels. */\n width?: number;\n /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */\n gifType?: GIFTypeWithLiterals;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface GIF {\n /**\n * GIF format URL.\n * @format WEB_URL\n */\n gif?: string | null;\n /**\n * MP4 format URL.\n * @format WEB_URL\n */\n mp4?: string | null;\n /**\n * Thumbnail URL.\n * @format WEB_URL\n */\n still?: string | null;\n}\n\nexport enum GIFType {\n NORMAL = 'NORMAL',\n STICKER = 'STICKER',\n}\n\n/** @enumType */\nexport type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';\n\nexport interface HeadingData {\n /** Heading level from 1-6. */\n level?: number;\n /** Styling for the heading text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */\n renderedLevel?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface HTMLData extends HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n /** The WixelWidget ID for AI_WIDGET source nodes. */\n widgetId?: string;\n /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */\n containerData?: PluginContainerData;\n /** The type of HTML code. */\n source?: SourceWithLiterals;\n /** If container height is aligned with its content height. Defaults to `true`. */\n autoHeight?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** @oneof */\nexport interface HTMLDataDataOneOf {\n /** The URL for the HTML code for the node. */\n url?: string;\n /** The HTML code for the node. */\n html?: string;\n /**\n * Whether this is an AdSense element. Use `source` instead.\n * @deprecated\n */\n isAdsense?: boolean | null;\n /** The WixelWidget ID for AI_WIDGET source nodes. */\n widgetId?: string;\n}\n\nexport enum Source {\n HTML = 'HTML',\n ADSENSE = 'ADSENSE',\n AI = 'AI',\n AI_WIDGET = 'AI_WIDGET',\n}\n\n/** @enumType */\nexport type SourceWithLiterals =\n | Source\n | 'HTML'\n | 'ADSENSE'\n | 'AI'\n | 'AI_WIDGET';\n\nexport interface ImageData {\n /** Styling for the image's container. */\n containerData?: PluginContainerData;\n /** Image file details. */\n image?: V1Media;\n /** Link details for images that are links. */\n link?: Link;\n /** Sets whether the image expands to full screen when clicked. Defaults to `false`. */\n disableExpand?: boolean | null;\n /** Image's alternative text. */\n altText?: string | null;\n /**\n * Deprecated: use Caption node instead.\n * @deprecated\n */\n caption?: string | null;\n /** Sets whether the image's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */\n decorative?: boolean | null;\n /** Styling for the image. */\n styles?: ImageDataStyles;\n /** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */\n crop?: ImageDataCrop;\n /** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */\n cropShape?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface StylesBorder {\n /** Border width in pixels. */\n width?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Border radius in pixels. */\n radius?: number | null;\n}\n\nexport interface ImageDataStyles {\n /** Border attributes. */\n border?: StylesBorder;\n}\n\nexport interface ImageDataCrop {\n /** Left edge of the crop, as a fraction (0-1) of the original image width. */\n x?: number | null;\n /** Top edge of the crop, as a fraction (0-1) of the original image height. */\n y?: number | null;\n /** Visible width of the crop, as a fraction (0-1) of the original image width. */\n width?: number | null;\n /** Visible height of the crop, as a fraction (0-1) of the original image height. */\n height?: number | null;\n}\n\nexport interface LinkPreviewData {\n /** Styling for the link preview's container. */\n containerData?: PluginContainerData;\n /** Link details. */\n link?: Link;\n /** Preview title. */\n title?: string | null;\n /** Preview thumbnail URL. */\n thumbnailUrl?: string | null;\n /** Preview description. */\n description?: string | null;\n /** The preview content as HTML. */\n html?: string | null;\n /** Styling for the link preview. */\n styles?: LinkPreviewDataStyles;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum StylesPosition {\n /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Thumbnail positioned at the top */\n TOP = 'TOP',\n /** Thumbnail hidden and not displayed */\n HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StylesPositionWithLiterals =\n | StylesPosition\n | 'START'\n | 'END'\n | 'TOP'\n | 'HIDDEN';\n\nexport interface LinkPreviewDataStyles {\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Title color as a hexadecimal value.\n * @maxLength 19\n */\n titleColor?: string | null;\n /**\n * Subtitle color as a hexadecimal value.\n * @maxLength 19\n */\n subtitleColor?: string | null;\n /**\n * Link color as a hexadecimal value.\n * @maxLength 19\n */\n linkColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Position of thumbnail. Defaults to `START`. */\n thumbnailPosition?: StylesPositionWithLiterals;\n}\n\nexport interface MapData {\n /** Styling for the map's container. */\n containerData?: PluginContainerData;\n /** Map settings. */\n mapSettings?: MapSettings;\n}\n\nexport interface MapSettings {\n /** The address to display on the map. */\n address?: string | null;\n /** Sets whether the map is draggable. */\n draggable?: boolean | null;\n /** Sets whether the location marker is visible. */\n marker?: boolean | null;\n /** Sets whether street view control is enabled. */\n streetViewControl?: boolean | null;\n /** Sets whether zoom control is enabled. */\n zoomControl?: boolean | null;\n /** Location latitude. */\n lat?: number | null;\n /** Location longitude. */\n lng?: number | null;\n /** Location name. */\n locationName?: string | null;\n /** Sets whether view mode control is enabled. */\n viewModeControl?: boolean | null;\n /** Initial zoom value. */\n initialZoom?: number | null;\n /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */\n mapType?: MapTypeWithLiterals;\n}\n\nexport enum MapType {\n /** Roadmap map type */\n ROADMAP = 'ROADMAP',\n /** Satellite map type */\n SATELITE = 'SATELITE',\n /** Hybrid map type */\n HYBRID = 'HYBRID',\n /** Terrain map type */\n TERRAIN = 'TERRAIN',\n}\n\n/** @enumType */\nexport type MapTypeWithLiterals =\n | MapType\n | 'ROADMAP'\n | 'SATELITE'\n | 'HYBRID'\n | 'TERRAIN';\n\nexport interface ParagraphData {\n /** Styling for the paragraph text. */\n textStyle?: TextStyle;\n /** Indentation level from 1-4. */\n indentation?: number | null;\n /** Paragraph level */\n level?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface PollData {\n /** Styling for the poll's container. */\n containerData?: PluginContainerData;\n /** Poll data. */\n poll?: Poll;\n /** Layout settings for the poll and voting options. */\n layout?: PollDataLayout;\n /** Styling for the poll and voting options. */\n design?: Design;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum ViewRole {\n /** Only Poll creator can view the results */\n CREATOR = 'CREATOR',\n /** Anyone who voted can see the results */\n VOTERS = 'VOTERS',\n /** Anyone can see the results, even if one didn't vote */\n EVERYONE = 'EVERYONE',\n}\n\n/** @enumType */\nexport type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';\n\nexport enum VoteRole {\n /** Logged in member */\n SITE_MEMBERS = 'SITE_MEMBERS',\n /** Anyone */\n ALL = 'ALL',\n}\n\n/** @enumType */\nexport type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';\n\nexport interface Permissions {\n /** Sets who can view the poll results. */\n view?: ViewRoleWithLiterals;\n /** Sets who can vote. */\n vote?: VoteRoleWithLiterals;\n /** Sets whether one voter can vote multiple times. Defaults to `false`. */\n allowMultipleVotes?: boolean | null;\n}\n\nexport interface Option {\n /** Option ID. */\n id?: string | null;\n /** Option title. */\n title?: string | null;\n /** The image displayed with the option. */\n image?: V1Media;\n}\n\nexport interface PollSettings {\n /** Permissions settings for voting. */\n permissions?: Permissions;\n /** Sets whether voters are displayed in the vote results. Defaults to `true`. */\n showVoters?: boolean | null;\n /** Sets whether the vote count is displayed. Defaults to `true`. */\n showVotesCount?: boolean | null;\n}\n\nexport enum PollLayoutType {\n /** List */\n LIST = 'LIST',\n /** Grid */\n GRID = 'GRID',\n}\n\n/** @enumType */\nexport type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';\n\nexport enum PollLayoutDirection {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type PollLayoutDirectionWithLiterals =\n | PollLayoutDirection\n | 'LTR'\n | 'RTL';\n\nexport interface PollLayout {\n /** The layout for displaying the voting options. */\n type?: PollLayoutTypeWithLiterals;\n /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */\n direction?: PollLayoutDirectionWithLiterals;\n /** Sets whether to display the main poll image. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport interface OptionLayout {\n /** Sets whether to display option images. Defaults to `false`. */\n enableImage?: boolean | null;\n}\n\nexport enum PollDesignBackgroundType {\n /** Color background type */\n COLOR = 'COLOR',\n /** Image background type */\n IMAGE = 'IMAGE',\n /** Gradiant background type */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type PollDesignBackgroundTypeWithLiterals =\n | PollDesignBackgroundType\n | 'COLOR'\n | 'IMAGE'\n | 'GRADIENT';\n\nexport interface BackgroundGradient {\n /** The gradient angle in degrees. */\n angle?: number | null;\n /**\n * The start color as a hexademical value.\n * @maxLength 19\n */\n startColor?: string | null;\n /**\n * The end color as a hexademical value.\n * @maxLength 19\n */\n lastColor?: string | null;\n}\n\nexport interface PollDesignBackground\n extends PollDesignBackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @maxLength 19\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: V1Media;\n /** Details for a gradient background. */\n gradient?: BackgroundGradient;\n /** Background type. For each option, include the relevant details. */\n type?: PollDesignBackgroundTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface PollDesignBackgroundBackgroundOneOf {\n /**\n * The background color as a hexademical value.\n * @maxLength 19\n */\n color?: string | null;\n /** An image to use for the background. */\n image?: V1Media;\n /** Details for a gradient background. */\n gradient?: BackgroundGradient;\n}\n\nexport interface PollDesign {\n /** Background styling. */\n background?: PollDesignBackground;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface OptionDesign {\n /** Border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface Poll {\n /** Poll ID. */\n id?: string | null;\n /** Poll title. */\n title?: string | null;\n /** Poll creator ID. */\n creatorId?: string | null;\n /** Main poll image. */\n image?: V1Media;\n /** Voting options. */\n options?: Option[];\n /** The poll's permissions and display settings. */\n settings?: PollSettings;\n}\n\nexport interface PollDataLayout {\n /** Poll layout settings. */\n poll?: PollLayout;\n /** Voting otpions layout settings. */\n options?: OptionLayout;\n}\n\nexport interface Design {\n /** Styling for the poll. */\n poll?: PollDesign;\n /** Styling for voting options. */\n options?: OptionDesign;\n}\n\nexport interface TextData {\n /** The text to apply decorations to. */\n text?: string;\n /** The decorations to apply. */\n decorations?: Decoration[];\n}\n\n/** Adds appearence changes to text */\nexport interface Decoration extends DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\n /** Data for a hand-drawn sketch annotation decoration. */\n sketchData?: SketchData;\n /** The type of decoration to apply. */\n type?: DecorationTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DecorationDataOneOf {\n /** Data for an anchor link decoration. */\n anchorData?: AnchorData;\n /** Data for a color decoration. */\n colorData?: ColorData;\n /** Data for an external link decoration. */\n linkData?: LinkData;\n /** Data for a mention decoration. */\n mentionData?: MentionData;\n /** Data for a font size decoration. */\n fontSizeData?: FontSizeData;\n /** Font weight for a bold decoration. */\n fontWeightValue?: number | null;\n /** Data for an italic decoration. Defaults to `true`. */\n italicData?: boolean | null;\n /** Data for an underline decoration. Defaults to `true`. */\n underlineData?: boolean | null;\n /** Data for a spoiler decoration. */\n spoilerData?: SpoilerData;\n /** Data for a strikethrough decoration. Defaults to `true`. */\n strikethroughData?: boolean | null;\n /** Data for a superscript decoration. Defaults to `true`. */\n superscriptData?: boolean | null;\n /** Data for a subscript decoration. Defaults to `true`. */\n subscriptData?: boolean | null;\n /** Data for a font family decoration. */\n fontFamilyData?: FontFamilyData;\n /** Data for a hand-drawn sketch annotation decoration. */\n sketchData?: SketchData;\n}\n\nexport enum DecorationType {\n BOLD = 'BOLD',\n ITALIC = 'ITALIC',\n UNDERLINE = 'UNDERLINE',\n SPOILER = 'SPOILER',\n ANCHOR = 'ANCHOR',\n MENTION = 'MENTION',\n LINK = 'LINK',\n COLOR = 'COLOR',\n FONT_SIZE = 'FONT_SIZE',\n EXTERNAL = 'EXTERNAL',\n STRIKETHROUGH = 'STRIKETHROUGH',\n SUPERSCRIPT = 'SUPERSCRIPT',\n SUBSCRIPT = 'SUBSCRIPT',\n FONT_FAMILY = 'FONT_FAMILY',\n SKETCH = 'SKETCH',\n}\n\n/** @enumType */\nexport type DecorationTypeWithLiterals =\n | DecorationType\n | 'BOLD'\n | 'ITALIC'\n | 'UNDERLINE'\n | 'SPOILER'\n | 'ANCHOR'\n | 'MENTION'\n | 'LINK'\n | 'COLOR'\n | 'FONT_SIZE'\n | 'EXTERNAL'\n | 'STRIKETHROUGH'\n | 'SUPERSCRIPT'\n | 'SUBSCRIPT'\n | 'FONT_FAMILY'\n | 'SKETCH';\n\nexport interface AnchorData {\n /** The target node's ID. */\n anchor?: string;\n}\n\nexport interface ColorData {\n /** The text's background color as a hexadecimal value. */\n background?: string | null;\n /** The text's foreground color as a hexadecimal value. */\n foreground?: string | null;\n}\n\nexport interface LinkData {\n /** Link details. */\n link?: Link;\n}\n\nexport interface MentionData {\n /** The mentioned user's name. */\n name?: string;\n /** The version of the user's name that appears after the `@` character in the mention. */\n slug?: string;\n /** Mentioned user's ID. */\n id?: string | null;\n /** 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. */\n type?: string | null;\n}\n\nexport interface FontSizeData {\n /** The units used for the font size. */\n unit?: FontTypeWithLiterals;\n /** Font size value. */\n value?: number | null;\n}\n\nexport enum FontType {\n PX = 'PX',\n EM = 'EM',\n}\n\n/** @enumType */\nexport type FontTypeWithLiterals = FontType | 'PX' | 'EM';\n\nexport interface SpoilerData {\n /** Spoiler ID. */\n id?: string | null;\n}\n\nexport interface FontFamilyData {\n /** @maxLength 1000 */\n value?: string | null;\n}\n\nexport interface SketchData {\n /** The sketch annotation variant to draw over the text. */\n variant?: VariantWithLiterals;\n /**\n * Annotation color. Defaults to the theme action color.\n * @maxLength 19\n */\n color?: string | null;\n /** Whether the annotation animates on first paint. Defaults to `true`. */\n animate?: boolean | null;\n}\n\nexport enum Variant {\n UNDERLINE = 'UNDERLINE',\n BOX = 'BOX',\n CIRCLE = 'CIRCLE',\n HIGHLIGHT = 'HIGHLIGHT',\n STRIKETHROUGH = 'STRIKETHROUGH',\n CROSSED_OFF = 'CROSSED_OFF',\n}\n\n/** @enumType */\nexport type VariantWithLiterals =\n | Variant\n | 'UNDERLINE'\n | 'BOX'\n | 'CIRCLE'\n | 'HIGHLIGHT'\n | 'STRIKETHROUGH'\n | 'CROSSED_OFF';\n\nexport interface AppEmbedData extends AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n /** The type of Wix App content being embedded. */\n type?: AppTypeWithLiterals;\n /** The ID of the embedded content. */\n itemId?: string | null;\n /** The name of the embedded content. */\n name?: string | null;\n /**\n * Deprecated: Use `image` instead.\n * @deprecated\n */\n imageSrc?: string | null;\n /** The URL for the embedded content. */\n url?: string | null;\n /** An image for the embedded content. */\n image?: V1Media;\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Whether to hide the title. */\n hideTitle?: boolean | null;\n /** Whether to hide the price. */\n hidePrice?: boolean | null;\n /** Whether to hide the description (Event and Booking). */\n hideDescription?: boolean | null;\n /** Whether to hide the date and time (Event). */\n hideDateTime?: boolean | null;\n /** Whether to hide the location (Event). */\n hideLocation?: boolean | null;\n /** Whether to hide the duration (Booking). */\n hideDuration?: boolean | null;\n /** Whether to hide the button. */\n hideButton?: boolean | null;\n /** Whether to hide the ribbon. */\n hideRibbon?: boolean | null;\n /** Button styling options. */\n buttonStyles?: ButtonStyles;\n /** Image styling options. */\n imageStyles?: ImageStyles;\n /** Ribbon styling options. */\n ribbonStyles?: RibbonStyles;\n /** Card styling options. */\n cardStyles?: CardStyles;\n /** Styling for the app embed's container. */\n containerData?: PluginContainerData;\n /** Pricing data for embedded Wix App content. */\n pricingData?: PricingData;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** @oneof */\nexport interface AppEmbedDataAppDataOneOf {\n /** Data for embedded Wix Bookings content. */\n bookingData?: BookingData;\n /** Data for embedded Wix Events content. */\n eventData?: EventData;\n}\n\nexport enum Position {\n /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n /** Image positioned at the top */\n TOP = 'TOP',\n}\n\n/** @enumType */\nexport type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';\n\nexport enum AspectRatio {\n /** 1:1 aspect ratio */\n SQUARE = 'SQUARE',\n /** 16:9 aspect ratio */\n RECTANGLE = 'RECTANGLE',\n}\n\n/** @enumType */\nexport type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';\n\nexport enum Resizing {\n /** Fill the container, may crop the image */\n FILL = 'FILL',\n /** Fit the image within the container */\n FIT = 'FIT',\n}\n\n/** @enumType */\nexport type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';\n\nexport enum Placement {\n /** Ribbon placed on the image */\n IMAGE = 'IMAGE',\n /** Ribbon placed on the product information */\n PRODUCT_INFO = 'PRODUCT_INFO',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';\n\nexport enum CardStylesType {\n /** Card with visible border and background */\n CONTAINED = 'CONTAINED',\n /** Card without visible border */\n FRAMELESS = 'FRAMELESS',\n}\n\n/** @enumType */\nexport type CardStylesTypeWithLiterals =\n | CardStylesType\n | 'CONTAINED'\n | 'FRAMELESS';\n\nexport enum Alignment {\n /** Content aligned to start (left in LTR layouts, right in RTL layouts) */\n START = 'START',\n /** Content centered */\n CENTER = 'CENTER',\n /** Content aligned to end (right in LTR layouts, left in RTL layouts) */\n END = 'END',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';\n\nexport enum Layout {\n /** Elements stacked vertically */\n STACKED = 'STACKED',\n /** Elements arranged horizontally */\n SIDE_BY_SIDE = 'SIDE_BY_SIDE',\n}\n\n/** @enumType */\nexport type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';\n\nexport enum AppType {\n PRODUCT = 'PRODUCT',\n EVENT = 'EVENT',\n BOOKING = 'BOOKING',\n}\n\n/** @enumType */\nexport type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';\n\nexport interface BookingData {\n /** Booking duration in minutes. */\n durations?: string | null;\n}\n\nexport interface EventData {\n /** Event schedule. */\n scheduling?: string | null;\n /** Event location. */\n location?: string | null;\n}\n\nexport interface ButtonStyles {\n /** Text to display on the button. */\n buttonText?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Border color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n borderColorHover?: string | null;\n /**\n * Text color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n textColorHover?: string | null;\n /**\n * Background color as a hexadecimal value (hover state).\n * @maxLength 19\n */\n backgroundColorHover?: string | null;\n /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */\n buttonSize?: string | null;\n}\n\nexport interface ImageStyles {\n /** Whether to hide the image. */\n hideImage?: boolean | null;\n /** Position of image. Defaults to `START`. */\n imagePosition?: PositionWithLiterals;\n /** Aspect ratio for the image. Defaults to `SQUARE`. */\n aspectRatio?: AspectRatioWithLiterals;\n /** How the image should be resized. Defaults to `FILL`. */\n resizing?: ResizingWithLiterals;\n /**\n * Image border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Image border width in pixels. */\n borderWidth?: number | null;\n /** Image border radius in pixels. */\n borderRadius?: number | null;\n}\n\nexport interface RibbonStyles {\n /** Text to display on the ribbon. */\n ribbonText?: string | null;\n /**\n * Ribbon background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Ribbon text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n /**\n * Ribbon border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Ribbon border width in pixels. */\n borderWidth?: number | null;\n /** Ribbon border radius in pixels. */\n borderRadius?: number | null;\n /** Placement of the ribbon. Defaults to `IMAGE`. */\n ribbonPlacement?: PlacementWithLiterals;\n}\n\nexport interface CardStyles {\n /**\n * Card background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Card border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Card border width in pixels. */\n borderWidth?: number | null;\n /** Card border radius in pixels. */\n borderRadius?: number | null;\n /** Card type. Defaults to `CONTAINED`. */\n type?: CardStylesTypeWithLiterals;\n /** Content alignment. Defaults to `START`. */\n alignment?: AlignmentWithLiterals;\n /** Layout for title and price. Defaults to `STACKED`. */\n titlePriceLayout?: LayoutWithLiterals;\n /**\n * Title text color as a hexadecimal value.\n * @maxLength 19\n */\n titleColor?: string | null;\n /**\n * Text color as a hexadecimal value.\n * @maxLength 19\n */\n textColor?: string | null;\n}\n\nexport interface PricingData {\n /**\n * Minimum numeric price value as string (e.g., \"10.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueFrom?: string | null;\n /**\n * Maximum numeric price value as string (e.g., \"19.99\").\n * @decimalValue options { maxScale:2 }\n */\n valueTo?: string | null;\n /**\n * Numeric price value as string after discount application (e.g., \"15.99\").\n * @decimalValue options { maxScale:2 }\n */\n discountedValue?: string | null;\n /**\n * Currency of the value in ISO 4217 format (e.g., \"USD\", \"EUR\").\n * @format CURRENCY\n */\n currency?: string | null;\n /**\n * Pricing plan ID.\n * @format GUID\n */\n pricingPlanId?: string | null;\n}\n\nexport interface VideoData {\n /** Styling for the video's container. */\n containerData?: PluginContainerData;\n /** Video details. */\n video?: V1Media;\n /** Video thumbnail details. */\n thumbnail?: V1Media;\n /** Sets whether the video's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Video title. */\n title?: string | null;\n /** Video options. */\n options?: PlaybackOptions;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface PlaybackOptions {\n /** Sets whether the media will automatically start playing. */\n autoPlay?: boolean | null;\n /** Sets whether media's will be looped. */\n playInLoop?: boolean | null;\n /** Sets whether media's controls will be shown. */\n showControls?: boolean | null;\n}\n\nexport interface EmbedData {\n /** Styling for the oEmbed node's container. */\n containerData?: PluginContainerData;\n /** An [oEmbed](https://www.oembed.com) object. */\n oembed?: Oembed;\n /** Origin asset source. */\n src?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface Oembed {\n /** The resource type. */\n type?: string | null;\n /** The width of the resource specified in the `url` property in pixels. */\n width?: number | null;\n /** The height of the resource specified in the `url` property in pixels. */\n height?: number | null;\n /** Resource title. */\n title?: string | null;\n /** The source URL for the resource. */\n url?: string | null;\n /** HTML for embedding a video player. The HTML should have no padding or margins. */\n html?: string | null;\n /** The name of the author or owner of the resource. */\n authorName?: string | null;\n /** The URL for the author or owner of the resource. */\n authorUrl?: string | null;\n /** The name of the resource provider. */\n providerName?: string | null;\n /** The URL for the resource provider. */\n providerUrl?: string | null;\n /** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */\n thumbnailUrl?: string | null;\n /** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */\n thumbnailWidth?: string | null;\n /** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */\n thumbnailHeight?: string | null;\n /** The URL for an embedded viedo. */\n videoUrl?: string | null;\n /** The oEmbed version number. This value must be `1.0`. */\n version?: string | null;\n}\n\nexport interface CollapsibleListData {\n /** Styling for the collapsible list's container. */\n containerData?: PluginContainerData;\n /** If `true`, only one item can be expanded at a time. Defaults to `false`. */\n expandOnlyOne?: boolean | null;\n /** Sets which items are expanded when the page loads. */\n initialExpandedItems?: InitialExpandedItemsWithLiterals;\n /** The direction of the text in the list. Either left-to-right or right-to-left. */\n direction?: DirectionWithLiterals;\n /** If `true`, The collapsible item will appear in search results as an FAQ. */\n isQapageData?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport enum InitialExpandedItems {\n /** First item will be expended initally */\n FIRST = 'FIRST',\n /** All items will expended initally */\n ALL = 'ALL',\n /** All items collapsed initally */\n NONE = 'NONE',\n}\n\n/** @enumType */\nexport type InitialExpandedItemsWithLiterals =\n | InitialExpandedItems\n | 'FIRST'\n | 'ALL'\n | 'NONE';\n\nexport enum Direction {\n /** Left-to-right */\n LTR = 'LTR',\n /** Right-to-left */\n RTL = 'RTL',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals = Direction | 'LTR' | 'RTL';\n\nexport interface TableData {\n /** Styling for the table's container. */\n containerData?: PluginContainerData;\n /** The table's dimensions. */\n dimensions?: Dimensions;\n /**\n * Deprecated: Use `rowHeader` and `columnHeader` instead.\n * @deprecated\n */\n header?: boolean | null;\n /** Sets whether the table's first row is a header. Defaults to `false`. */\n rowHeader?: boolean | null;\n /** Sets whether the table's first column is a header. Defaults to `false`. */\n columnHeader?: boolean | null;\n /** The spacing between cells in pixels. Defaults to `0`. */\n cellSpacing?: number | null;\n /**\n * Padding in pixels for cells. Follows CSS order: top, right, bottom, left.\n * @maxSize 4\n */\n cellPadding?: number[];\n /** Table's alternative text. */\n altText?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface Dimensions {\n /** An array representing relative width of each column in relation to the other columns. */\n colsWidthRatio?: number[];\n /** An array representing the height of each row in pixels. */\n rowsHeight?: number[];\n /** An array representing the minimum width of each column in pixels. */\n colsMinWidth?: number[];\n}\n\nexport interface TableCellData {\n /** Styling for the cell's background color and text alignment. */\n cellStyle?: CellStyle;\n /** The cell's border colors. */\n borderColors?: BorderColors;\n /** Defines how many columns the cell spans. Default: 1. */\n colspan?: number | null;\n /** Defines how many rows the cell spans. Default: 1. */\n rowspan?: number | null;\n /** The cell's border widths. */\n borderWidths?: BorderWidths;\n}\n\nexport enum VerticalAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentWithLiterals =\n | VerticalAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport interface CellStyle {\n /** Vertical alignment for the cell's text. */\n verticalAlignment?: VerticalAlignmentWithLiterals;\n /**\n * Cell background color as a hexadecimal value.\n * @maxLength 19\n */\n backgroundColor?: string | null;\n}\n\nexport interface BorderColors {\n /**\n * Left border color as a hexadecimal value.\n * @maxLength 19\n */\n left?: string | null;\n /**\n * Right border color as a hexadecimal value.\n * @maxLength 19\n */\n right?: string | null;\n /**\n * Top border color as a hexadecimal value.\n * @maxLength 19\n */\n top?: string | null;\n /**\n * Bottom border color as a hexadecimal value.\n * @maxLength 19\n */\n bottom?: string | null;\n}\n\nexport interface BorderWidths {\n /** Left border width in pixels. */\n left?: number | null;\n /** Right border width in pixels. */\n right?: number | null;\n /** Top border width in pixels. */\n top?: number | null;\n /** Bottom border width in pixels. */\n bottom?: number | null;\n}\n\n/**\n * `NullValue` is a singleton enumeration to represent the null value for the\n * `Value` type union.\n *\n * The JSON representation for `NullValue` is JSON `null`.\n */\nexport enum NullValue {\n /** Null value. */\n NULL_VALUE = 'NULL_VALUE',\n}\n\n/** @enumType */\nexport type NullValueWithLiterals = NullValue | 'NULL_VALUE';\n\n/**\n * `ListValue` is a wrapper around a repeated field of values.\n *\n * The JSON representation for `ListValue` is JSON array.\n */\nexport interface ListValue {\n /** Repeated field of dynamically typed values. */\n values?: any[];\n}\n\nexport interface AudioData {\n /** Styling for the audio node's container. */\n containerData?: PluginContainerData;\n /** Audio file details. */\n audio?: V1Media;\n /** Sets whether the audio node's download button is disabled. Defaults to `false`. */\n disableDownload?: boolean | null;\n /** Cover image. */\n coverImage?: V1Media;\n /** Track name. */\n name?: string | null;\n /** Author name. */\n authorName?: string | null;\n /** An HTML version of the audio node. */\n html?: string | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface OrderedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** List start number. */\n start?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface BulletedListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface BlockquoteData {\n /** Indentation level from 1-4. */\n indentation?: number;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface CaptionData {\n textStyle?: TextStyle;\n}\n\nexport interface LayoutData {\n /**\n * Deprecated: Use `background` instead.\n * @maxLength 19\n * @deprecated\n */\n backgroundColor?: string | null;\n /** Background image. */\n backgroundImage?: LayoutDataBackgroundImage;\n /**\n * Border color as a hexadecimal value.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /**\n * Deprecated: Use `backdrop` instead.\n * @maxLength 19\n * @deprecated\n */\n backdropColor?: string | null;\n /** Backdrop image. */\n backdropImage?: LayoutDataBackgroundImage;\n /** Backdrop top padding. */\n backdropPaddingTop?: number | null;\n /** Backdrop bottom padding */\n backdropPaddingBottom?: number | null;\n /** Horizontal and vertical gap between columns */\n gap?: number | null;\n /**\n * Padding in pixels for cells. Follows CSS order: top, right, bottom, left\n * @maxSize 4\n */\n cellPadding?: number[];\n /** Vertical alignment for the cell's items. */\n cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;\n /** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */\n responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;\n /** Size in pixels when responsiveness_behaviour applies */\n responsivenessBreakpoint?: number | null;\n /** Styling for the layout's container. */\n containerData?: PluginContainerData;\n /** Defines where selected design propertied applies to */\n designTarget?: DesignTargetWithLiterals;\n /** Banner configuration. When present, this layout is attached to a document edge (top or bottom). */\n banner?: Banner;\n /** Background styling (color or gradient). */\n background?: LayoutDataBackground;\n /** Backdrop styling (color or gradient). */\n backdrop?: Backdrop;\n /** Node animation. */\n animation?: Animation;\n /** Shape divider at the top edge of the layout. */\n topDivider?: SectionDivider;\n /** Shape divider at the bottom edge of the layout. */\n bottomDivider?: SectionDivider;\n}\n\nexport enum ImageScalingScaling {\n /** Auto image scaling */\n AUTO = 'AUTO',\n /** Contain image scaling */\n CONTAIN = 'CONTAIN',\n /** Cover image scaling */\n COVER = 'COVER',\n}\n\n/** @enumType */\nexport type ImageScalingScalingWithLiterals =\n | ImageScalingScaling\n | 'AUTO'\n | 'CONTAIN'\n | 'COVER';\n\nexport enum ImagePosition {\n /** Image positioned at the center */\n CENTER = 'CENTER',\n /** Image positioned on the left */\n CENTER_LEFT = 'CENTER_LEFT',\n /** Image positioned on the right */\n CENTER_RIGHT = 'CENTER_RIGHT',\n /** Image positioned at the center top */\n TOP = 'TOP',\n /** Image positioned at the top left */\n TOP_LEFT = 'TOP_LEFT',\n /** Image positioned at the top right */\n TOP_RIGHT = 'TOP_RIGHT',\n /** Image positioned at the center bottom */\n BOTTOM = 'BOTTOM',\n /** Image positioned at the bottom left */\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n /** Image positioned at the bottom right */\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type ImagePositionWithLiterals =\n | ImagePosition\n | 'CENTER'\n | 'CENTER_LEFT'\n | 'CENTER_RIGHT'\n | 'TOP'\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** Background styling (color or gradient) */\nexport interface LayoutDataBackground {\n /** Background type. */\n type?: LayoutDataBackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Background type */\nexport enum LayoutDataBackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type LayoutDataBackgroundTypeWithLiterals =\n | LayoutDataBackgroundType\n | 'COLOR'\n | 'GRADIENT';\n\nexport enum BannerOrigin {\n /** Banner originated from an image */\n IMAGE = 'IMAGE',\n /** Banner originated from a layout */\n LAYOUT = 'LAYOUT',\n}\n\n/** @enumType */\nexport type BannerOriginWithLiterals = BannerOrigin | 'IMAGE' | 'LAYOUT';\n\nexport enum BannerPosition {\n /** Attached to the top edge (banner) */\n TOP = 'TOP',\n /** Attached to the bottom edge (footer) */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';\n\n/** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */\nexport enum LayerEffect {\n /** Shape keeps its height, a solid filler bar pushes it away from the edge */\n CENTER = 'CENTER',\n /** Deeper (more transparent) layers shrink toward the edge inside the original band while a solid filler bar keeps its full height, so the faded copies hug the top of the band */\n FADE_TO_TOP = 'FADE_TO_TOP',\n /** Deeper (more transparent) layers stretch taller into the section, so the faded copies fan out above the base shape and descend to the layout edge */\n FADE_TO_BOTTOM = 'FADE_TO_BOTTOM',\n}\n\n/** @enumType */\nexport type LayerEffectWithLiterals =\n | LayerEffect\n | 'CENTER'\n | 'FADE_TO_TOP'\n | 'FADE_TO_BOTTOM';\n\n/** Divider shape preset */\nexport enum Shape {\n /** Ellipse shape */\n ELLIPSE = 'ELLIPSE',\n /** Tilt shape */\n TILT = 'TILT',\n /** Liquid shape */\n LIQUID = 'LIQUID',\n /** Left wave shape */\n LEFT_WAVE = 'LEFT_WAVE',\n /** Paint scribble shape */\n PAINT_SCRIBBLE = 'PAINT_SCRIBBLE',\n /** Inverted ellipse shape */\n INVERTED_ELLIPSE = 'INVERTED_ELLIPSE',\n /** Right wave shape */\n RIGHT_WAVE = 'RIGHT_WAVE',\n /** Dunes shape */\n DUNES = 'DUNES',\n /** Waves shape */\n WAVES = 'WAVES',\n /** Triangle shape */\n TRIANGLE = 'TRIANGLE',\n /** Semi-ellipse shape */\n SEMI_ELLIPSE = 'SEMI_ELLIPSE',\n /** Plants shape */\n PLANTS = 'PLANTS',\n /** Layered ellipse shape */\n LAYERED_ELLIPSE = 'LAYERED_ELLIPSE',\n /** Pixels shape */\n PIXELS = 'PIXELS',\n /** Paint shape */\n PAINT = 'PAINT',\n /** Clouds shape */\n CLOUDS = 'CLOUDS',\n /** Optical illusion shape */\n OPTICAL_ILLUSION = 'OPTICAL_ILLUSION',\n /** Stripes shape */\n STRIPES = 'STRIPES',\n /** Blobs shape */\n BLOBS = 'BLOBS',\n /** Semi-circles shape */\n SEMI_CIRCLES = 'SEMI_CIRCLES',\n /** Hill shape */\n HILL = 'HILL',\n /** Brush shape */\n BRUSH = 'BRUSH',\n /** Peaks shape */\n PEAKS = 'PEAKS',\n /** Angled triangle shape */\n ANGLED_TRIANGLE = 'ANGLED_TRIANGLE',\n}\n\n/** @enumType */\nexport type ShapeWithLiterals =\n | Shape\n | 'ELLIPSE'\n | 'TILT'\n | 'LIQUID'\n | 'LEFT_WAVE'\n | 'PAINT_SCRIBBLE'\n | 'INVERTED_ELLIPSE'\n | 'RIGHT_WAVE'\n | 'DUNES'\n | 'WAVES'\n | 'TRIANGLE'\n | 'SEMI_ELLIPSE'\n | 'PLANTS'\n | 'LAYERED_ELLIPSE'\n | 'PIXELS'\n | 'PAINT'\n | 'CLOUDS'\n | 'OPTICAL_ILLUSION'\n | 'STRIPES'\n | 'BLOBS'\n | 'SEMI_CIRCLES'\n | 'HILL'\n | 'BRUSH'\n | 'PEAKS'\n | 'ANGLED_TRIANGLE';\n\n/** Layers effect - stacked semi-transparent copies of the divider shape */\nexport interface Layers {\n /** Total number of layers including the base shape (1-4). Absent or 1 disables the effect. */\n count?: number | null;\n /** Vertical distance in pixels between the silhouettes of consecutive layers: each successive layer's silhouette is offset from the previous one by this amount. The divider's own `height` is unchanged. Defaults to 20. */\n offsetY?: number | null;\n /** How the stacked layers fade relative to the base shape. */\n layerEffect?: LayerEffectWithLiterals;\n /** Horizontal distance between consecutive layers in pixels. Defaults to 0. Only applies to shapes that support horizontal offset. */\n offsetX?: number | null;\n}\n\n/** Backdrop type */\nexport enum BackdropType {\n /** Solid color backdrop */\n COLOR = 'COLOR',\n /** Gradient backdrop */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';\n\nexport interface LayoutDataBackgroundImage {\n /** Background image. */\n media?: V1Media;\n /**\n * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.\n * @deprecated\n */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ImageScalingScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionWithLiterals;\n /** 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. */\n blur?: number | null;\n /** 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`). */\n overlay?: LayoutDataBackground;\n}\n\nexport enum VerticalAlignmentAlignment {\n /** Top alignment */\n TOP = 'TOP',\n /** Middle alignment */\n MIDDLE = 'MIDDLE',\n /** Bottom alignment */\n BOTTOM = 'BOTTOM',\n}\n\n/** @enumType */\nexport type VerticalAlignmentAlignmentWithLiterals =\n | VerticalAlignmentAlignment\n | 'TOP'\n | 'MIDDLE'\n | 'BOTTOM';\n\nexport enum ResponsivenessBehaviour {\n /** Stacking of columns */\n STACK = 'STACK',\n /** Wrapping of columns */\n WRAP = 'WRAP',\n}\n\n/** @enumType */\nexport type ResponsivenessBehaviourWithLiterals =\n | ResponsivenessBehaviour\n | 'STACK'\n | 'WRAP';\n\nexport enum DesignTarget {\n /** Design applied to layout */\n LAYOUT = 'LAYOUT',\n /** Design applied to cells */\n CELL = 'CELL',\n}\n\n/** @enumType */\nexport type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';\n\nexport interface Banner {\n /** Origin of the banner */\n origin?: BannerOriginWithLiterals;\n /** Position of the banner */\n position?: BannerPositionWithLiterals;\n}\n\n/** Backdrop styling (color or gradient) */\nexport interface Backdrop {\n /** Backdrop type. */\n type?: BackdropTypeWithLiterals;\n /**\n * Backdrop color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Decorative shape divider at a layout edge */\nexport interface SectionDivider {\n /** Divider shape preset. Determines which customization properties apply. */\n type?: ShapeWithLiterals;\n /**\n * Divider fill color as a hexadecimal value (may include alpha).\n * @maxLength 19\n */\n color?: string | null;\n /** Divider height in pixels. */\n height?: number | null;\n /** Horizontal offset in pixels. */\n offsetX?: number | null;\n /** Whether the shape is flipped horizontally. */\n flipped?: boolean | null;\n /** Layers effect - stacked semi-transparent copies of the divider shape. */\n layers?: Layers;\n}\n\nexport interface LayoutCellData {\n /** Size of the cell in 12 columns grid. */\n colSpan?: number | null;\n}\n\nexport interface ShapeData {\n /** Styling for the shape's container. */\n containerData?: PluginContainerData;\n /** Shape file details. */\n shape?: V1Media;\n /** Styling for the shape. */\n styles?: ShapeDataStyles;\n /** Node animation. */\n animation?: Animation;\n /** Link details for shapes that are links. */\n link?: Link;\n /**\n * Alternate text describing the link's purpose for accessibility. Applies only when `link` is set.\n * @maxLength 1000\n */\n altText?: string | null;\n}\n\nexport interface ShapeDataStyles {\n /**\n * Shape fill color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Map of original color keys to their new color values. */\n colors?: Record<string, string>;\n}\n\nexport interface CardData {\n /** Background styling (color or gradient). */\n background?: CardDataBackground;\n /** Background image. */\n backgroundImage?: BackgroundImage;\n}\n\nexport enum Scaling {\n /** Auto image scaling */\n AUTO = 'AUTO',\n /** Contain image scaling */\n CONTAIN = 'CONTAIN',\n /** Cover image scaling */\n COVER = 'COVER',\n}\n\n/** @enumType */\nexport type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';\n\nexport enum ImagePositionPosition {\n /** Image positioned at the center */\n CENTER = 'CENTER',\n /** Image positioned on the left */\n CENTER_LEFT = 'CENTER_LEFT',\n /** Image positioned on the right */\n CENTER_RIGHT = 'CENTER_RIGHT',\n /** Image positioned at the center top */\n TOP = 'TOP',\n /** Image positioned at the top left */\n TOP_LEFT = 'TOP_LEFT',\n /** Image positioned at the top right */\n TOP_RIGHT = 'TOP_RIGHT',\n /** Image positioned at the center bottom */\n BOTTOM = 'BOTTOM',\n /** Image positioned at the bottom left */\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n /** Image positioned at the bottom right */\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type ImagePositionPositionWithLiterals =\n | ImagePositionPosition\n | 'CENTER'\n | 'CENTER_LEFT'\n | 'CENTER_RIGHT'\n | 'TOP'\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** Background styling (color or gradient) */\nexport interface CardDataBackground {\n /** Background type. */\n type?: CardDataBackgroundTypeWithLiterals;\n /**\n * Background color as a hexadecimal value.\n * @maxLength 19\n */\n color?: string | null;\n /** Gradient configuration. */\n gradient?: Gradient;\n}\n\n/** Background type */\nexport enum CardDataBackgroundType {\n /** Solid color background */\n COLOR = 'COLOR',\n /** Gradient background */\n GRADIENT = 'GRADIENT',\n}\n\n/** @enumType */\nexport type CardDataBackgroundTypeWithLiterals =\n | CardDataBackgroundType\n | 'COLOR'\n | 'GRADIENT';\n\nexport interface BackgroundImage {\n /** Background image. */\n media?: V1Media;\n /**\n * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.\n * @deprecated\n */\n opacity?: number | null;\n /** Background image scaling. */\n scaling?: ScalingWithLiterals;\n /** Position of background. Defaults to `CENTER`. */\n position?: ImagePositionPositionWithLiterals;\n /** 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`). */\n overlay?: CardDataBackground;\n /** 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. */\n blur?: number | null;\n}\n\nexport interface TocData {\n /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */\n includedHeadings?: number[];\n /** List style. Default: PLAIN. */\n listStyle?: ListStyleWithLiterals;\n /** Optional override for the font size in pixels. */\n fontSize?: number | null;\n /** Optional override for the vertical spacing between items in pixels. */\n itemSpacing?: number | null;\n /**\n * Optional override for the text color.\n * @maxLength 19\n */\n color?: string | null;\n /** Indentation style. Default: NESTED. */\n indentation?: IndentationWithLiterals;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** List style. */\nexport enum ListStyle {\n /** No markers (default) */\n PLAIN = 'PLAIN',\n /** Numbered list */\n NUMBERED = 'NUMBERED',\n /** Alphabetic letters */\n LETTERS = 'LETTERS',\n /** Roman numerals */\n ROMAN = 'ROMAN',\n /** Bulleted list */\n BULLETED = 'BULLETED',\n /** Alphabetical index */\n ALPHABETICAL_INDEX = 'ALPHABETICAL_INDEX',\n /** Alphabetical index (compact top-row only) */\n ALPHABETICAL_INDEX_COMPACT = 'ALPHABETICAL_INDEX_COMPACT',\n}\n\n/** @enumType */\nexport type ListStyleWithLiterals =\n | ListStyle\n | 'PLAIN'\n | 'NUMBERED'\n | 'LETTERS'\n | 'ROMAN'\n | 'BULLETED'\n | 'ALPHABETICAL_INDEX'\n | 'ALPHABETICAL_INDEX_COMPACT';\n\n/** Indentation style. */\nexport enum Indentation {\n /** Sub-headings indented under parents (default) */\n NESTED = 'NESTED',\n /** All items at the same level */\n FLAT = 'FLAT',\n}\n\n/** @enumType */\nexport type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';\n\n/** Data for a smart block node. */\nexport interface SmartBlockData {\n /** The type of the smart block. */\n type?: SmartBlockDataTypeWithLiterals;\n /** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */\n orientation?: string | null;\n /** Column size controlling cells per row. */\n columnSize?: ColumnSizeWithLiterals;\n /**\n * Border color (for SOLID_JOINED_BOXES variant).\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels (for SOLID_JOINED_BOXES variant). */\n borderWidth?: number | null;\n /** Border radius in pixels (for SOLID_JOINED_BOXES variant). */\n borderRadius?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\n/** Layout type of the smart block */\nexport enum SmartBlockDataType {\n /** Grid-based layouts with solid box items containing title, body, and icon/image. */\n SOLID_BOXES = 'SOLID_BOXES',\n /** Numbered boxes. */\n NUMBERED_BOXES = 'NUMBERED_BOXES',\n /** Statistics display with large numbers/values. */\n STATS = 'STATS',\n /** Statistics with circular visual elements. */\n CIRCLE_STATS = 'CIRCLE_STATS',\n /** Staggered/zigzag grid layout with alternating box positions. */\n SOLID_BOXES_ALTERNATING = 'SOLID_BOXES_ALTERNATING',\n /** Grid layout with boxes visually joined (no gaps, shared container border). */\n SOLID_JOINED_BOXES = 'SOLID_JOINED_BOXES',\n /** Transparent cells with only a left side line. */\n SIDE_LINE_TEXT = 'SIDE_LINE_TEXT',\n /** Transparent cells with only a top line. */\n TOP_LINE_TEXT = 'TOP_LINE_TEXT',\n /** Outlined boxes with a numbered/icon circle at the top. */\n OUTLINE_BOXES_WITH_TOP_CIRCLE = 'OUTLINE_BOXES_WITH_TOP_CIRCLE',\n /** Large icon bullets with text content. */\n BIG_BULLETS = 'BIG_BULLETS',\n /** Small dot bullets with text content. */\n SMALL_BULLETS = 'SMALL_BULLETS',\n /** Arrow icon bullets with text content. */\n ARROW_BULLETS = 'ARROW_BULLETS',\n /** Process steps with numbered/icon labels above a horizontal line. */\n PROCESS_STEPS = 'PROCESS_STEPS',\n /** Statistics with bar visual elements. */\n BAR_STATS = 'BAR_STATS',\n /** Timeline layout with numbered chips on a connecting line; cells alternate around the line. */\n TIMELINE = 'TIMELINE',\n /** Timeline layout with plain dot indicators; no numbers or shapes; cells alternate around the line. */\n MINIMAL_TIMELINE = 'MINIMAL_TIMELINE',\n /** Numbered pill-shaped labels (stadium chips) with text content; supports HORIZONTAL (pill on top) and VERTICAL (pill on left) orientations. */\n PILLS = 'PILLS',\n /** Star rating display with stars and a numeric value per cell. */\n STAR_RATING = 'STAR_RATING',\n /** Outlined boxes with decorative quote glyphs at the top-left and bottom-right corners. */\n QUOTE_BOXES = 'QUOTE_BOXES',\n /** Donut/ring with numbered annular-sector segments; cell text labels sit outside the ring. */\n CIRCLE = 'CIRCLE',\n /** Hierarchical pyramid where each cell renders as a horizontal slice (apex at top, base at bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the pyramid. */\n PYRAMID = 'PYRAMID',\n /** Cells render a horizontal bar whose width scales with cell index, creating a staircase pattern; bar carries the cell number or a custom shape. */\n STAIRCASE = 'STAIRCASE',\n /** Hierarchical funnel where each cell renders as a horizontal slice (wide at top, narrowing toward the bottom) with the cell number or shape centered inside; text content sits beside (desktop) or below (mobile) the funnel. */\n VERTICAL_FUNNEL = 'VERTICAL_FUNNEL',\n}\n\n/** @enumType */\nexport type SmartBlockDataTypeWithLiterals =\n | SmartBlockDataType\n | 'SOLID_BOXES'\n | 'NUMBERED_BOXES'\n | 'STATS'\n | 'CIRCLE_STATS'\n | 'SOLID_BOXES_ALTERNATING'\n | 'SOLID_JOINED_BOXES'\n | 'SIDE_LINE_TEXT'\n | 'TOP_LINE_TEXT'\n | 'OUTLINE_BOXES_WITH_TOP_CIRCLE'\n | 'BIG_BULLETS'\n | 'SMALL_BULLETS'\n | 'ARROW_BULLETS'\n | 'PROCESS_STEPS'\n | 'BAR_STATS'\n | 'TIMELINE'\n | 'MINIMAL_TIMELINE'\n | 'PILLS'\n | 'STAR_RATING'\n | 'QUOTE_BOXES'\n | 'CIRCLE'\n | 'PYRAMID'\n | 'STAIRCASE'\n | 'VERTICAL_FUNNEL';\n\n/** Column size controlling how many cells appear per row. */\nexport enum ColumnSize {\n /** Up to 4 cells in a row. */\n SMALL = 'SMALL',\n /** Up to 3 cells in a row (default). */\n MEDIUM = 'MEDIUM',\n /** Up to 2 cells in a row. */\n LARGE = 'LARGE',\n /** 1 cell in a row. */\n EXTRA_LARGE = 'EXTRA_LARGE',\n}\n\n/** @enumType */\nexport type ColumnSizeWithLiterals =\n | ColumnSize\n | 'SMALL'\n | 'MEDIUM'\n | 'LARGE'\n | 'EXTRA_LARGE';\n\n/** Data for a smart block cell node. */\nexport interface SmartBlockCellData {\n /** Optional label text for the cell (e.g., for stats variants). */\n label?: string | null;\n /** Shape file details. */\n shape?: V1Media;\n /**\n * Border color of the cell.\n * @maxLength 19\n */\n borderColor?: string | null;\n /** Border width in pixels. */\n borderWidth?: number | null;\n /** Border radius in pixels. */\n borderRadius?: number | null;\n /** The type of the parent smart block (must match parent). */\n type?: SmartBlockDataTypeWithLiterals;\n /**\n * Accent color for non-background variants (e.g., line, bullet, label color).\n * @maxLength 19\n */\n accentColor?: string | null;\n /**\n * Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES).\n * @maxLength 19\n */\n backgroundColor?: string | null;\n /**\n * Shape fill color as a hexadecimal value.\n * @maxLength 19\n */\n shapeColor?: string | null;\n}\n\nexport interface CheckboxListData {\n /** Indentation level from 0-4. */\n indentation?: number;\n /** Offset level from 0-4. */\n offset?: number | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface ListItemNodeData {\n /** Checkbox list item state. Defaults to `false`. */\n checked?: boolean | null;\n /** Node animation. */\n animation?: Animation;\n}\n\nexport interface Metadata {\n /** Schema version. */\n version?: number;\n /**\n * When the object was created.\n * @readonly\n * @deprecated\n */\n createdTimestamp?: Date | null;\n /**\n * When the object was most recently updated.\n * @deprecated\n */\n updatedTimestamp?: Date | null;\n /** Object ID. */\n _id?: string | null;\n}\n\nexport interface DocumentStyle {\n /** Styling for H1 nodes. */\n headerOne?: TextNodeStyle;\n /** Styling for H2 nodes. */\n headerTwo?: TextNodeStyle;\n /** Styling for H3 nodes. */\n headerThree?: TextNodeStyle;\n /** Styling for H4 nodes. */\n headerFour?: TextNodeStyle;\n /** Styling for H5 nodes. */\n headerFive?: TextNodeStyle;\n /** Styling for H6 nodes. */\n headerSix?: TextNodeStyle;\n /** Styling for paragraph nodes. */\n paragraph?: TextNodeStyle;\n /** Styling for block quote nodes. */\n blockquote?: TextNodeStyle;\n /** Styling for code block nodes. */\n codeBlock?: TextNodeStyle;\n}\n\nexport interface TextNodeStyle {\n /** The decorations to apply to the node. */\n decorations?: Decoration[];\n /** Padding and background color for the node. */\n nodeStyle?: NodeStyle;\n /** Line height for text in the node. */\n lineHeight?: string | null;\n}\n\nexport enum Status {\n UNKNOWN = 'UNKNOWN',\n /** Status indicating the draft post is published. */\n PUBLISHED = 'PUBLISHED',\n /** Status indicating the draft post is unpublished. */\n UNPUBLISHED = 'UNPUBLISHED',\n /** Status indicating the draft post is scheduled for publication. */\n SCHEDULED = 'SCHEDULED',\n /** Status indicating the draft post is deleted. */\n DELETED = 'DELETED',\n /**\n * Deprecated. Use `IN_REVIEW` instead. Status indicating the draft post is in review.\n * Target removal date 2024-06-30\n * Reserved for internal use.\n * @internal\n */\n IN_MODERATION = 'IN_MODERATION',\n /** Status indicating the draft post is in review. */\n IN_REVIEW = 'IN_REVIEW',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UNKNOWN'\n | 'PUBLISHED'\n | 'UNPUBLISHED'\n | 'SCHEDULED'\n | 'DELETED'\n | 'IN_REVIEW';\n\nexport interface ModerationDetails {\n /**\n * Member ID of the person submitting the draft post for review.\n * @format GUID\n */\n submittedBy?: string;\n /** Date the post was submitted for review. */\n submittedDate?: Date | null;\n /** Status indicating whether the submission was approved or rejected by the moderator. */\n status?: ModerationStatusStatusWithLiterals;\n /**\n * Member ID of the person who approved or rejected the post.\n * @format GUID\n */\n moderatedBy?: string | null;\n /** Date the post was approved or rejected. */\n moderationDate?: Date | null;\n}\n\nexport enum ModerationStatusStatus {\n UNKNOWN = 'UNKNOWN',\n APPROVED = 'APPROVED',\n REJECTED = 'REJECTED',\n}\n\n/** @enumType */\nexport type ModerationStatusStatusWithLiterals =\n | ModerationStatusStatus\n | 'UNKNOWN'\n | 'APPROVED'\n | 'REJECTED';\n\n/**\n * 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.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /**\n * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n * i.e. an entry from the site's Advanced/Custom Tags list.\n *\n * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\n * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n * a live page reflects a manual per-page SEO edit.\n *\n * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n * Pass `seoData` explicitly to resolve against a known set of tags.\n */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface Media extends MediaMediaOneOf {\n /** Wix Media details. */\n wixMedia?: WixMedia;\n /** Embed media details. */\n embedMedia?: EmbedMedia;\n /** Whether cover media is displayed. */\n displayed?: boolean;\n /** Whether custom cover media has been specified. If `false`, the first media item in the post's content serves as cover media. */\n custom?: boolean;\n /**\n * Media alternative text.\n * @minLength 1\n * @maxLength 1000\n */\n altText?: string | null;\n}\n\n/** @oneof */\nexport interface MediaMediaOneOf {\n /** Wix Media details. */\n wixMedia?: WixMedia;\n /** Embed media details. */\n embedMedia?: EmbedMedia;\n}\n\nexport interface WixMedia {\n /** Image details. */\n image?: string;\n /** Video details. */\n videoV2?: string;\n}\n\nexport interface VideoResolution {\n /** Video URL. */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /**\n * Deprecated. Use the `posters` property in the parent entity instead.\n * @internal\n * @deprecated\n */\n poster?: string;\n /** Video format for example, mp4, hls. */\n format?: string;\n /**\n * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n * @internal\n * @deprecated\n */\n urlExpirationDate?: Date | null;\n /**\n * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n * @internal\n * @format DECIMAL_VALUE\n * @deprecated\n */\n sizeInBytes?: string | null;\n /**\n * Video quality. For example: 480p, 720p.\n * @internal\n */\n quality?: string | null;\n /**\n * Video filename.\n * @internal\n */\n filename?: string | null;\n /**\n * Video duration in seconds.\n * @internal\n * @readonly\n * @deprecated Video duration in seconds.\n * @replacedBy duration_in_milliseconds\n * @targetRemovalDate 2024-08-01\n */\n durationInSeconds?: number | null;\n /**\n * Video duration in milliseconds.\n * @internal\n * @readonly\n */\n durationInMilliseconds?: number | null;\n /**\n * When true, this is a protected asset, and calling the URL will return a 403 error.\n * In order to access private assets, make a request to:\n * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n * @internal\n * @readonly\n */\n private?: boolean | null;\n /**\n * Key to identify the video resolution's relationship to the original media in WixMedia.\n * Can be used to request a download for the specific video resolution.\n * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n * @internal\n * @readonly\n */\n assetKey?: string | null;\n}\n\nexport interface EmbedMedia {\n /** Thumbnail details. */\n thumbnail?: EmbedThumbnail;\n /** Video details. */\n video?: EmbedVideo;\n}\n\nexport interface EmbedThumbnail {\n /**\n * Thumbnail url.\n * @maxLength 2000\n */\n url?: string;\n /** Thumbnail width. */\n width?: number;\n /** Thumbnail height. */\n height?: number;\n}\n\nexport interface EmbedVideo {\n /**\n * Video url.\n * @maxLength 2000\n */\n url?: string;\n /** Video width. */\n width?: number;\n /** Video height. */\n height?: number;\n}\n\nexport interface DraftPostTranslation {\n /**\n * Post ID.\n * @format GUID\n */\n _id?: string;\n /** Post status. */\n status?: StatusWithLiterals;\n /**\n * Language the post is written in.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Post slug. For example, 'post-slug'.\n * @maxLength 100\n */\n slug?: string | null;\n /** SEO data. */\n seoData?: SeoSchema;\n /** Post URL. */\n url?: string;\n}\n\nexport interface DraftCategoriesUpdated {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId?: string;\n /**\n * Current categories of the draft.\n * @maxSize 10\n * @format GUID\n */\n categories?: string[];\n /**\n * Previous categories of the draft.\n * @maxSize 10\n * @format GUID\n */\n previousCategories?: string[];\n}\n\nexport interface DraftTagsUpdated {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId?: string;\n /**\n * Current tags of the draft.\n * @maxSize 30\n * @format GUID\n */\n tags?: string[];\n /**\n * Previous tags of the draft.\n * @maxSize 30\n * @format GUID\n */\n previousTags?: string[];\n}\n\nexport interface GetDraftPostTotalsRequest {\n /**\n * Group results by fields (defaults to grouping by status).\n * If, for example, grouping by language is passed, language values in response will be filled.\n * If, for example, grouping by language is not passed, null values will be filled in language field in response.\n * @maxSize 10\n */\n groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];\n /**\n * Optional language filter by provided language code. Useful in multilingual context.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n}\n\nexport enum TotalDraftPostsGroupingField {\n /** Groups results by status. */\n STATUS = 'STATUS',\n /** Groups results by language. */\n LANGUAGE = 'LANGUAGE',\n}\n\n/** @enumType */\nexport type TotalDraftPostsGroupingFieldWithLiterals =\n | TotalDraftPostsGroupingField\n | 'STATUS'\n | 'LANGUAGE';\n\nexport interface GetDraftPostTotalsResponse {\n /** Draft post totals. */\n totalDraftPosts?: TotalDraftPosts[];\n}\n\nexport interface TotalDraftPosts {\n /** Draft post totals in that group. */\n total?: number;\n /** Draft post status (only has value when grouping by status, otherwise null). */\n status?: StatusWithLiterals;\n /**\n * Draft post language code (only has value when grouping by language, otherwise null).\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\nexport interface InitialDraftPostsCopied {\n /** Number of draft posts copied. */\n count?: number;\n}\n\nexport interface CreateDraftPostRequest {\n /** Draft post to create. */\n draftPost: DraftPost;\n /**\n * Whether the draft post should be published on creation.\n *\n * Default: `false`\n */\n publish?: boolean;\n /**\n * Save type.\n * @internal\n */\n saveType?: TypeWithLiterals;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport enum Type {\n UNKNOWN = 'UNKNOWN',\n /** Manually saved. */\n MANUAL = 'MANUAL',\n /** Triggered by autosave. */\n AUTO_SAVE = 'AUTO_SAVE',\n /** Copied from template during provisioning flow. */\n PROVISIONING = 'PROVISIONING',\n /** Imported from another blog. */\n IMPORT = 'IMPORT',\n /** Triggered by autosave when post created by AI tool. */\n AI_AUTO_SAVE = 'AI_AUTO_SAVE',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'UNKNOWN'\n | 'MANUAL'\n | 'AUTO_SAVE'\n | 'PROVISIONING'\n | 'IMPORT'\n | 'AI_AUTO_SAVE';\n\nexport enum Field {\n /** Unknown field. */\n UNKNOWN = 'UNKNOWN',\n /** Includes draft post preview URL. */\n URL = 'URL',\n /**\n * Includes internal id field.\n * Reserved for internal use.\n * @internal\n */\n INTERNAL_ID = 'INTERNAL_ID',\n /** Includes content field. */\n CONTENT = 'CONTENT',\n /** Includes rich content field. */\n RICH_CONTENT = 'RICH_CONTENT',\n /**\n * Includes draft post translations when present.\n * @internal\n */\n TRANSLATIONS = 'TRANSLATIONS',\n /** If the user has not set excerpt, returns the one autogenerated from content. */\n GENERATED_EXCERPT = 'GENERATED_EXCERPT',\n}\n\n/** @enumType */\nexport type FieldWithLiterals =\n | Field\n | 'UNKNOWN'\n | 'URL'\n | 'CONTENT'\n | 'RICH_CONTENT'\n | 'GENERATED_EXCERPT';\n\nexport interface CreateDraftPostResponse {\n /** Created draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface BulkCreateDraftPostsRequest {\n /**\n * Draft posts to create.\n * @minSize 1\n * @maxSize 20\n */\n draftPosts: DraftPost[];\n /** Whether the draft post should be published after creation. */\n publish?: boolean;\n /**\n * Save type.\n * @internal\n */\n saveType?: TypeWithLiterals;\n /** Whether to return the full created draft post entities in the response. */\n returnFullEntity?: boolean;\n /**\n * List of draft post fields to be included in the response if the entities are present.\n * Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).\n * For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface BulkCreateDraftPostsResponse {\n /** Draft posts created by bulk action. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDraftPostResult {\n /** Bulk actions metadata for draft post. */\n itemMetadata?: ItemMetadata;\n /** Optional full draft post. */\n item?: DraftPost;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdateDraftPostsRequest {\n /**\n * Draft posts to update.\n * @minSize 1\n * @maxSize 20\n */\n draftPosts?: MaskedDraftPosts[];\n /**\n * Action to perform on the posts.\n *\n * Default: `UPDATE`\n */\n action?: ActionWithLiterals;\n /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */\n scheduledPublishDate?: Date | null;\n /**\n * Save type.\n * @internal\n */\n saveType?: TypeWithLiterals;\n /** Whether to return the full updated draft post entities in the response. */\n returnFullEntity?: boolean;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface MaskedDraftPosts {\n /** Draft post */\n draftPost?: DraftPost;\n /** Field mask of fields to update. */\n fieldMask?: string[];\n}\n\nexport enum Action {\n /** Update the draft post. */\n UPDATE = 'UPDATE',\n /** Update and publish a draft post. */\n UPDATE_PUBLISH = 'UPDATE_PUBLISH',\n /** Update the draft post and schedule a publish date. */\n UPDATE_SCHEDULE = 'UPDATE_SCHEDULE',\n /** Update the post and revert it to draft. */\n UPDATE_REVERT_TO_DRAFT = 'UPDATE_REVERT_TO_DRAFT',\n /** Update the draft post and cancel the scheduled publish date. */\n UPDATE_CANCEL_SCHEDULE = 'UPDATE_CANCEL_SCHEDULE',\n /** Update and reject draft post. */\n UPDATE_REJECT = 'UPDATE_REJECT',\n /** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */\n UPDATE_PUBLICATION = 'UPDATE_PUBLICATION',\n}\n\n/** @enumType */\nexport type ActionWithLiterals =\n | Action\n | 'UPDATE'\n | 'UPDATE_PUBLISH'\n | 'UPDATE_SCHEDULE'\n | 'UPDATE_REVERT_TO_DRAFT'\n | 'UPDATE_CANCEL_SCHEDULE'\n | 'UPDATE_REJECT'\n | 'UPDATE_PUBLICATION';\n\nexport interface BulkUpdateDraftPostsResponse {\n /** Draft posts updated by bulk action. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface DraftPostOwnerChanged {\n /**\n * Member ID of the draft post's owner before the change.\n * @internal\n * @format GUID\n */\n oldMemberId?: string;\n /**\n * Member ID of the draft post's owner after the change.\n * @internal\n * @format GUID\n */\n newMemberId?: string;\n}\n\nexport interface ListDeletedDraftPostsRequest {\n /**\n * Language filter.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * If omitted, deleted draft posts in all languages are returned.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Sorting options.\n *\n * Default: `EDITING_DATE_DESCENDING`\n */\n sort?: GetDraftPostsSortWithLiterals;\n /** Pagination options. */\n paging?: BlogPaging;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /**\n * Draft post ids.\n * @maxSize 100\n * @format GUID\n */\n draftPostIds?: string[];\n}\n\nexport enum GetDraftPostsSort {\n /** Sort by `editedDate` in descending order. */\n EDITING_DATE_DESC = 'EDITING_DATE_DESC',\n /** Sort by `editedDate` in ascending order. */\n EDITING_DATE_ASC = 'EDITING_DATE_ASC',\n}\n\n/** @enumType */\nexport type GetDraftPostsSortWithLiterals =\n | GetDraftPostsSort\n | 'EDITING_DATE_DESC'\n | 'EDITING_DATE_ASC';\n\nexport interface BlogPaging {\n /**\n * Number of items to skip in the current sort order.\n *\n *\n * Default: `0`\n */\n offset?: number;\n /**\n * Number of items to return.\n *\n *\n * Default:`50`\n * @min 1\n * @max 100\n */\n limit?: number;\n /**\n * Pointer to the next or previous page in the list of results.\n * @maxLength 2000\n */\n cursor?: string | null;\n}\n\nexport interface ListDeletedDraftPostsResponse {\n /** List of draft posts. */\n draftPosts?: DraftPost[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n * @internal\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor pointing to next page in the list of results.\n * @maxLength 2000\n */\n next?: string | null;\n /**\n * Cursor pointing to previous page in the list of results.\n * @maxLength 2000\n */\n prev?: string | null;\n}\n\nexport interface GetDraftPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface GetDraftPostResponse {\n /** Draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface UpdateDraftPostContentRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId?: string;\n /** Change origin. */\n changeOrigin?: OriginWithLiterals;\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /** Draft Post rich content. */\n richContent?: RichContent;\n}\n\nexport interface UpdateDraftPostContentResponse {\n /** Updated draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface UpdateDraftPostRequest {\n /** Draft post to update. */\n draftPost: DraftPost;\n /**\n * Field mask of fields to update.\n * @internal\n */\n fieldMask?: string[];\n /**\n * Save type.\n * @internal\n */\n saveType?: TypeWithLiterals;\n /**\n * Action to perform on the post.\n *\n * Default: `UPDATE`\n */\n action?: ActionWithLiterals;\n /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */\n scheduledPublishDate?: Date | null;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface UpdateDraftPostResponse {\n /** Updated draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface DeleteDraftPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n /**\n * Whether to bypass the trash bin and delete the post permanently.\n *\n * Default: `false`\n */\n permanent?: boolean;\n}\n\nexport interface DeleteDraftPostResponse {}\n\nexport interface RemoveFromTrashBinRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n}\n\nexport interface RemoveFromTrashBinResponse {}\n\nexport interface BulkDeleteDraftPostsRequest {\n /**\n * Post IDs.\n * @minSize 1\n * @maxSize 100\n * @maxLength 38\n */\n postIds: string[];\n /** Should delete bypassing the trash-bin. */\n permanent?: boolean;\n}\n\nexport interface BulkDeleteDraftPostsResponse {\n /** Bulk action results. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ListDraftPostsRequest {\n /**\n * Draft post status filter.\n *\n * If omitted, draft posts with all statuses are returned.\n */\n status?: StatusWithLiterals;\n /**\n * Language filter.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * If omitted, draft posts in all languages are returned.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Sort options.\n *\n * Default: `EDITING_DATE_DESCENDING`\n */\n sort?: GetDraftPostsSortWithLiterals;\n /** Pagination options. */\n paging?: BlogPaging;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface ListDraftPostsResponse {\n /** List of draft posts. */\n draftPosts?: DraftPost[];\n /** Details on the paged set of results returned. */\n metaData?: MetaData;\n}\n\nexport interface MetaData {\n /** Number of items returned in this response. */\n count?: number;\n /** Requested offset. */\n offset?: number;\n /** Total number of items that match the query. */\n total?: number;\n /**\n * Pointer to the next or previous page in the list of results.\n * @maxLength 2000\n */\n cursor?: string | null;\n}\n\nexport interface GetDeletedDraftPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n}\n\nexport interface GetDeletedDraftPostResponse {\n /** Draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface RestoreFromTrashBinRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n}\n\nexport interface RestoreFromTrashBinResponse {\n /** Restored draft post info. */\n draftPost?: DraftPost;\n}\n\nexport interface QueryDraftPostsRequest {\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /** Query options. */\n query?: PlatformQuery;\n}\n\nexport interface PlatformQuery extends PlatformQueryPagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 3\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface PlatformQueryPagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n /**\n * Origin point for geo-distance sorting on a GEO field\n * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n */\n origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface Paging {\n /**\n * Number of items to load.\n * @max 100\n */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Number of items to load.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * You can get the relevant cursor token\n * from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 2000\n */\n cursor?: string | null;\n}\n\nexport interface QueryDraftPostsResponse {\n /** List of posts. */\n draftPosts?: DraftPost[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PublishDraftPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId: string;\n}\n\nexport interface PublishDraftPostResponse {\n /**\n * Published post ID.\n * @format GUID\n */\n postId?: string;\n}\n\nexport interface UnpublishPostRequest {\n /**\n * Draft post ID.\n * @maxLength 38\n */\n draftPostId?: string;\n}\n\nexport interface UnpublishPostResponse {}\n\nexport interface GetDraftPostCountsRequest {\n /**\n * Tag IDs to count draft posts for.\n * @maxSize 50\n * @format GUID\n */\n tagIds?: string[];\n /**\n * Category IDs to count draft posts for.\n * @maxSize 50\n * @format GUID\n */\n categoryIds?: string[];\n}\n\nexport interface GetDraftPostCountsResponse {\n /** Draft post counts per tag. */\n tagPostCounts?: DraftPostCount[];\n /** Draft post counts per category. */\n categoryPostCounts?: DraftPostCount[];\n}\n\nexport interface DraftPostCount {\n /**\n * Tag or Category ID.\n * @format GUID\n */\n _id?: string;\n /** Number of posts. */\n postCount?: number;\n}\n\nexport interface BulkRevertToUnpublishedRequest {\n /**\n * Source post IDs.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n postIds?: string[];\n /** Should full draft post be returned. */\n returnFullEntity?: boolean;\n}\n\nexport interface BulkRevertToUnpublishedResponse {\n /** Bulk action results. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkRejectDraftPostRequest {\n /**\n * Source post IDs.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n postIds?: string[];\n /** Should full draft post be returned. */\n returnFullEntity?: boolean;\n}\n\nexport interface BulkRejectDraftPostResponse {\n /** Bulk action results. */\n results?: BulkDraftPostResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface RevertToUnpublishedRequest {\n /**\n * Source post ID.\n * @format GUID\n */\n postId?: string;\n /**\n * List of draft post fields to be included in the response.\n * @internal\n * @maxSize 10\n * @deprecated List of draft post fields to be included in the response.\n * @replacedBy fieldsets\n * @targetRemovalDate 2024-06-30\n */\n fieldsToInclude?: FieldWithLiterals[];\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface RevertToUnpublishedResponse {\n /** Updated post draft. */\n draftPost?: DraftPost;\n}\n\nexport interface RejectDraftPostRequest {\n /**\n * Source post ID.\n * @format GUID\n */\n postId?: string;\n /**\n * List of draft post fields to be included in the response.\n * @internal\n * @maxSize 10\n * @deprecated List of draft post fields to be included in the response.\n * @replacedBy fieldsets\n * @targetRemovalDate 2024-06-30\n */\n fieldsToInclude?: FieldWithLiterals[];\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface RejectDraftPostResponse {\n /** Draft post. */\n draftPost?: DraftPost;\n}\n\nexport interface ApproveDraftPostRequest {\n /**\n * Source post ID.\n * @format GUID\n */\n postId?: string;\n /**\n * Scheduled publish date if should be not immediately published.\n * @maxLength 24\n */\n scheduledPublishDate?: string | null;\n /**\n * List of draft post fields to be included in the response.\n * @internal\n * @maxSize 10\n * @deprecated List of draft post fields to be included in the response.\n * @replacedBy fieldsets\n * @targetRemovalDate 2024-06-30\n */\n fieldsToInclude?: FieldWithLiterals[];\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface ApproveDraftPostResponse {\n /** Updated post draft. */\n draftPost?: DraftPost;\n}\n\nexport interface MarkPostAsInModerationRequest {\n /**\n * Source post ID.\n * @maxLength 38\n */\n postId?: string;\n /**\n * List of draft post fields to be included in the response.\n * @internal\n * @maxSize 10\n * @deprecated List of draft post fields to be included in the response.\n * @replacedBy fieldsets\n * @targetRemovalDate 2024-06-30\n */\n fieldsToInclude?: FieldWithLiterals[];\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface MarkPostAsInModerationResponse {\n /** Updated post draft. */\n draftPost?: DraftPost;\n}\n\nexport interface TranslateDraftRequest {\n /**\n * Source post or draft ID\n * @format GUID\n */\n postId?: string;\n /**\n * Translation language\n * @format LANGUAGE_TAG\n */\n language?: string;\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /**\n * Performs automatic translation of the title and the content of the draft post to the target language.\n * @internal\n */\n useAutoTranslation?: boolean;\n}\n\nexport interface TranslateDraftResponse {\n /** Draft post. */\n draftPost?: DraftPost;\n}\n\nexport interface IsDraftPostAutoTranslatableRequest {\n /**\n * Source post or draft ID.\n * @format GUID\n */\n draftPostId?: string;\n}\n\nexport interface IsDraftPostAutoTranslatableResponse {\n /**\n * Source draft post ID.\n * @format GUID\n */\n draftPostId?: string;\n /** Indicates if enough machine translation credits are available for the draft post translation. */\n translatable?: boolean;\n /** Draft post title word count. */\n titleWordCount?: number;\n /** Draft post content word count. */\n contentWordCount?: number;\n /** Word credits available for auto translation. */\n availableAutoTranslateWords?: number;\n /** Word credits available after auto translation would be done. */\n availableAutoTranslateWordsAfter?: number;\n /** Content text character count. */\n contentTextCharacterCount?: number;\n}\n\nexport interface UpdateDraftPostLanguageRequest {\n /**\n * Source draft post ID\n * @format GUID\n */\n postId?: string;\n /**\n * New language to replace to\n * @minLength 2\n * @format LANGUAGE_TAG\n */\n language?: string;\n /**\n * List of draft post fields to be included if entities are present in the response.\n * Base fieldset, which is default, will return all core draft post properties.\n * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\nexport interface UpdateDraftPostLanguageResponse {\n /** Draft post */\n draftPost?: DraftPost;\n}\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n accountInfo?: AccountInfoMetadata;\n}\n\nexport interface AccountInfoMetadata {\n /** ID of the Wix account associated with the event */\n accountId: string;\n /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */\n siteId?: string;\n /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */\n parentAccountId?: string;\n}\n\nexport interface DraftCreatedEnvelope {\n entity: DraftPost;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a draft post is created.\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionScope Read Blog\n * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionId BLOG.READ_ANY_DRAFT\n * @permissionId BLOG.READ-PUBLICATION\n * @webhook\n * @eventType wix.blog.v3.draft_created\n * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService\n * @slug created\n */\nexport declare function onDraftCreated(\n handler: (event: DraftCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface DraftDeletedEnvelope {\n entity: DraftPost;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a draft post is deleted.\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionScope Read Blog\n * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionId BLOG.READ_ANY_DRAFT\n * @permissionId BLOG.READ-PUBLICATION\n * @webhook\n * @eventType wix.blog.v3.draft_deleted\n * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService\n * @slug deleted\n */\nexport declare function onDraftDeleted(\n handler: (event: DraftDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface DraftUpdatedEnvelope {\n entity: DraftPost;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a draft post is updated.\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionScope Read Blog\n * @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS\n * @permissionScope Manage Blog\n * @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG\n * @permissionScope Read Draft Blog Posts\n * @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS\n * @permissionId BLOG.READ_ANY_DRAFT\n * @permissionId BLOG.READ-PUBLICATION\n * @webhook\n * @eventType wix.blog.v3.draft_updated\n * @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.DraftPostService\n * @slug updated\n */\nexport declare function onDraftUpdated(\n handler: (event: DraftUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a draft post.\n *\n * For 3rd-party apps, `memberId` is a required field.\n *\n * In `categoryIds`, only categories that already exist will be added to the draft post. Including\n * `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.\n * If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.\n * You can check which categories are available with\n * [List Categories](https://dev.wix.com/docs/rest/business-solutions/blog/category/list-categories).\n * @param draftPost - Draft post to create.\n * @public\n * @requiredField draftPost\n * @requiredField draftPost.title\n * @param options - Options for creating a draft post.\n * @permissionId BLOG.CREATE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost\n */\nexport async function createDraftPost(\n draftPost: NonNullablePaths<DraftPost, `title`, 2>,\n options?: CreateDraftPostOptions\n): Promise<\n NonNullablePaths<\n CreateDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n draftPost: draftPost,\n publish: options?.publish,\n fieldsets: options?.fieldsets,\n },\n ['draftPost.richContent']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.createDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPost: '$[0]',\n publish: '$[1].publish',\n fieldsets: '$[1].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['draftPost', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateDraftPostOptions {\n /**\n * Whether the draft post should be published on creation.\n *\n * Default: `false`\n */\n publish?: boolean;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Creates multiple draft posts.\n * @param draftPosts - Draft posts to create.\n * @public\n * @requiredField draftPosts\n * @requiredField draftPosts.title\n * @param options - Options for creating multiple draft posts.\n * @permissionId BLOG.CREATE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts\n */\nexport async function bulkCreateDraftPosts(\n draftPosts: NonNullablePaths<DraftPost, `title`, 2>[],\n options?: BulkCreateDraftPostsOptions\n): Promise<\n NonNullablePaths<\n BulkCreateDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n draftPosts: draftPosts,\n publish: options?.publish,\n returnFullEntity: options?.returnFullEntity,\n fieldsets: options?.fieldsets,\n },\n ['draftPosts.richContent']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.bulkCreateDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'results.item.heroImage' },\n { path: 'results.item.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'results.item.url' },\n { path: 'results.item.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.media.wixMedia.videoV2' }],\n },\n ]),\n ['results.item.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPosts: '$[0]',\n publish: '$[1].publish',\n returnFullEntity: '$[1].returnFullEntity',\n fieldsets: '$[1].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['draftPosts', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkCreateDraftPostsOptions {\n /** Whether the draft post should be published after creation. */\n publish?: boolean;\n /** Whether to return the full created draft post entities in the response. */\n returnFullEntity?: boolean;\n /**\n * List of draft post fields to be included in the response if the entities are present.\n * Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).\n * For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Updates multiple draft posts.\n * @public\n * @requiredField options.draftPosts.draftPost\n * @requiredField options.draftPosts.draftPost._id\n * @param options - Options for updating multiple draft posts.\n * @permissionId BLOG.EDIT-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts\n */\nexport async function bulkUpdateDraftPosts(\n options?: NonNullablePaths<\n BulkUpdateDraftPostsOptions,\n `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`,\n 5\n >\n): Promise<\n NonNullablePaths<\n BulkUpdateDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n draftPosts: options?.draftPosts,\n action: options?.action,\n scheduledPublishDate: options?.scheduledPublishDate,\n returnFullEntity: options?.returnFullEntity,\n fieldsets: options?.fieldsets,\n },\n ['draftPosts.draftPost.richContent']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [\n { path: 'draftPosts.draftPost.heroImage' },\n { path: 'draftPosts.draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'draftPosts.draftPost.url' },\n { path: 'draftPosts.draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'draftPosts.draftPost.media.wixMedia.videoV2' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.bulkUpdateDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'results.item.heroImage' },\n { path: 'results.item.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'results.item.url' },\n { path: 'results.item.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.media.wixMedia.videoV2' }],\n },\n ]),\n ['results.item.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPosts: '$[0].draftPosts',\n action: '$[0].action',\n scheduledPublishDate: '$[0].scheduledPublishDate',\n returnFullEntity: '$[0].returnFullEntity',\n fieldsets: '$[0].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdateDraftPostsOptions {\n /**\n * Draft posts to update.\n * @minSize 1\n * @maxSize 20\n */\n draftPosts?: MaskedDraftPosts[];\n /**\n * Action to perform on the posts.\n *\n * Default: `UPDATE`\n */\n action?: ActionWithLiterals;\n /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */\n scheduledPublishDate?: Date | null;\n /** Whether to return the full updated draft post entities in the response. */\n returnFullEntity?: boolean;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Retrieves a list of up to 100 deleted draft posts.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n * @public\n * @param options - Options for listing deleted draft posts.\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts\n */\nexport async function listDeletedDraftPosts(\n options?: ListDeletedDraftPostsOptions\n): Promise<\n NonNullablePaths<\n ListDeletedDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n {\n language: options?.language,\n sort: options?.sort,\n paging: options?.paging,\n fieldsets: options?.fieldsets,\n draftPostIds: options?.draftPostIds,\n },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.listDeletedDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPosts.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n language: '$[0].language',\n sort: '$[0].sort',\n paging: '$[0].paging',\n fieldsets: '$[0].fieldsets',\n draftPostIds: '$[0].draftPostIds',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListDeletedDraftPostsOptions {\n /**\n * Language filter.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * If omitted, deleted draft posts in all languages are returned.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Sorting options.\n *\n * Default: `EDITING_DATE_DESCENDING`\n */\n sort?: GetDraftPostsSortWithLiterals;\n /** Pagination options. */\n paging?: BlogPaging;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n /**\n * Draft post ids.\n * @maxSize 100\n * @format GUID\n */\n draftPostIds?: string[];\n}\n\n/**\n * Retrieves a draft post by the provided ID.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @param options - Options for getting a draft post.\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost\n */\nexport async function getDraftPost(\n draftPostId: string,\n options?: GetDraftPostOptions\n): Promise<\n NonNullablePaths<\n GetDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId, fieldsets: options?.fieldsets },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.getDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPostId: '$[0]',\n fieldsets: '$[1].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['draftPostId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetDraftPostOptions {\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Updates a draft post.\n * @param _id - Draft post ID.\n * @public\n * @requiredField _id\n * @requiredField draftPost\n * @param options - Options for updating a draft post.\n * @param draftPost - Draft Post info.\n * @permissionId BLOG.EDIT-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost\n */\nexport async function updateDraftPost(\n _id: string,\n draftPost: UpdateDraftPost,\n options?: UpdateDraftPostOptions\n): Promise<\n NonNullablePaths<\n UpdateDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[3] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest(\n {\n draftPost: { ...draftPost, id: _id },\n action: options?.action,\n scheduledPublishDate: options?.scheduledPublishDate,\n fieldsets: options?.fieldsets,\n },\n ['draftPost.richContent']\n ),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformSDKPageURLToRESTPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.updateDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { draftPost: '$[1]' },\n explicitPathsToArguments: {\n 'draftPost.id': '$[0]',\n action: '$[2].action',\n scheduledPublishDate: '$[2].scheduledPublishDate',\n fieldsets: '$[2].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'draftPost', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateDraftPost {\n /**\n * Draft post ID.\n * @readonly\n * @maxLength 38\n */\n _id?: string;\n /**\n * Draft post title.\n * @maxLength 200\n */\n title?: string;\n /**\n * Draft post excerpt.\n *\n * If no excerpt has been manually set, an excerpt is automatically generated from the post's text.\n * This can be retrieved using the `GENERATED_EXCERPT` fieldset.\n * @maxLength 500\n */\n excerpt?: string | null;\n /** Whether the draft post is marked as featured. */\n featured?: boolean | null;\n /**\n * Category IDs of the draft post.\n * @maxSize 10\n * @maxLength 38\n */\n categoryIds?: string[];\n /**\n * Draft post owner's member ID.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Hashtags in the post.\n * @maxSize 100\n * @maxLength 100\n */\n hashtags?: string[];\n /** Whether commenting on the draft post is enabled. */\n commentingEnabled?: boolean | null;\n /**\n * Estimated reading time of the draft post (calculated automatically).\n * @readonly\n */\n minutesToRead?: number;\n /** Image placed at the top of the blog page. */\n heroImage?: string;\n /**\n * Tag IDs the draft post is tagged with.\n * @maxSize 30\n * @maxLength 38\n */\n tagIds?: string[];\n /**\n * IDs of posts related to this draft post.\n * @maxSize 3\n * @maxLength 38\n */\n relatedPostIds?: string[];\n /**\n * Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info.\n * @maxSize 100\n * @format GUID\n */\n pricingPlanIds?: string[];\n /**\n * ID of the draft post's translations.\n *\n * All translations of a single post share the same `translationId`.\n * Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.\n * @format GUID\n */\n translationId?: string | null;\n /**\n * Language the draft post is written in.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n */\n changeOrigin?: OriginWithLiterals;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxLength 24\n */\n contentId?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @format GUID\n */\n editingSessionId?: string | null;\n /**\n * Draft Post rich content.\n *\n * <widget src=\"https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component\" plugins=\"image.gallery.video.audio.divider.linkButton.html.giphy.codeBlock.file.hashtag.lineSpacing.indent.link.textColor.textHighlight.heading.verticalEmbed.table.collapsibleList.poll\" exampleid=\"72c23a25-524f-4f70-a260-4a2777b6f5d5\">\n * <a href=\"https://dev.wix.com/docs/ricos/api-reference/ricos-document\">See Ricos document reference</a>\n * </widget>\n */\n richContent?: RichContent;\n /**\n * Status of the draft post.\n * @readonly\n */\n status?: StatusWithLiterals;\n /** Details of the draft post in review. Only relevant to posts submitted by guest writers. */\n moderationDetails?: ModerationDetails;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @format GUID\n */\n mostRecentContributorId?: string | null;\n /**\n * Indicates if there are changes made to the draft post that have not yet been published.\n * @readonly\n */\n hasUnpublishedChanges?: boolean;\n /**\n * Date the draft post was last edited.\n * @readonly\n */\n editedDate?: Date | null;\n /**\n * Date the draft post is scheduled to be published.\n * @readonly\n */\n scheduledPublishDate?: Date | null;\n /**\n * Reserved for internal use.\n * @internal\n */\n content?: Record<string, any> | null;\n /** Date the post was first published. */\n firstPublishedDate?: Date | null;\n /** SEO data. */\n seoData?: SeoSchema;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxSize 5000\n * @maxLength 100\n */\n slugs?: string[];\n /**\n * Draft post URL preview. What the URL will look like once the post is published.\n * @readonly\n */\n url?: string;\n /**\n * Date the draft post was first created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * SEO slug.\n * @maxLength 100\n */\n seoSlug?: string | null;\n /** Post cover media. */\n media?: Media;\n /** Number of paragraphs to display in a paid content preview for non-paying users. */\n previewTextParagraph?: number | null;\n /**\n * List of the post's translated posts.\n * @internal\n * @readonly\n * @maxSize 1000\n */\n translations?: DraftPostTranslation[];\n /**\n * Reserved for internal use, not included in base response.\n * @internal\n * @format GUID\n */\n originPostId?: string | null;\n /**\n * Reserved for internal use, not included in base response.\n * @internal\n * @format GUID\n */\n originPostInstanceId?: string | null;\n /**\n * Reserved for internal use.\n * @internal\n * @readonly\n * @maxLength 24\n */\n internalId?: string | null;\n}\n\nexport interface UpdateDraftPostOptions {\n /**\n * Action to perform on the post.\n *\n * Default: `UPDATE`\n */\n action?: ActionWithLiterals;\n /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */\n scheduledPublishDate?: Date | null;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Moves a draft post to the trash bin.\n * A published post can also be deleted by the `post.id`. See the [Posts API](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object) for more information about posts.\n *\n * To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @param options - Options for deleting a draft post.\n * @permissionId BLOG.DELETE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost\n */\nexport async function deleteDraftPost(\n draftPostId: string,\n options?: DeleteDraftPostOptions\n): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId, permanent: options?.permanent },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.deleteDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n draftPostId: '$[0]',\n permanent: '$[1].permanent',\n },\n singleArgumentUnchanged: false,\n },\n ['draftPostId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface DeleteDraftPostOptions {\n /**\n * Whether to bypass the trash bin and delete the post permanently.\n *\n * Default: `false`\n */\n permanent?: boolean;\n}\n\n/**\n * Permanently deletes a draft post that is currently in the trash bin.\n *\n * This action is permanent and can't be reversed.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @permissionId BLOG.DELETE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin\n */\nexport async function removeFromTrashBin(draftPostId: string): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.removeFromTrashBin(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { draftPostId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['draftPostId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Deletes multiple draft posts.\n * @param postIds - Post IDs.\n * @public\n * @requiredField postIds\n * @param options - Options for deleting multiple draft posts.\n * @permissionId BLOG.DELETE-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts\n */\nexport async function bulkDeleteDraftPosts(\n postIds: string[],\n options?: BulkDeleteDraftPostsOptions\n): Promise<\n NonNullablePaths<\n BulkDeleteDraftPostsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item._id`\n | `results.${number}.item.title`\n | `results.${number}.item.minutesToRead`\n | `results.${number}.item.status`\n | `results.${number}.item.moderationDetails.submittedBy`\n | `results.${number}.item.moderationDetails.status`\n | `results.${number}.item.hasUnpublishedChanges`\n | `results.${number}.item.media.displayed`\n | `results.${number}.item.media.custom`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { postIds: postIds, permanent: options?.permanent },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.bulkDeleteDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'results.item.heroImage' },\n { path: 'results.item.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'results.item.url' },\n { path: 'results.item.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.media.wixMedia.videoV2' }],\n },\n ]),\n ['results.item.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n postIds: '$[0]',\n permanent: '$[1].permanent',\n },\n singleArgumentUnchanged: false,\n },\n ['postIds', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkDeleteDraftPostsOptions {\n /** Should delete bypassing the trash-bin. */\n permanent?: boolean;\n}\n\n/**\n * Retrieves a list of up to 100 draft posts per request.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n * @public\n * @param options - Options for listing multiple draft posts.\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts\n */\nexport async function listDraftPosts(\n options?: ListDraftPostsOptions\n): Promise<\n NonNullablePaths<\n ListDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`\n | `metaData.count`\n | `metaData.offset`\n | `metaData.total`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n {\n status: options?.status,\n language: options?.language,\n sort: options?.sort,\n paging: options?.paging,\n fieldsets: options?.fieldsets,\n },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.listDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPosts.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n status: '$[0].status',\n language: '$[0].language',\n sort: '$[0].sort',\n paging: '$[0].paging',\n fieldsets: '$[0].fieldsets',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListDraftPostsOptions {\n /**\n * Draft post status filter.\n *\n * If omitted, draft posts with all statuses are returned.\n */\n status?: StatusWithLiterals;\n /**\n * Language filter.\n *\n * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\n * If omitted, draft posts in all languages are returned.\n * @format LANGUAGE_TAG\n */\n language?: string | null;\n /**\n * Sort options.\n *\n * Default: `EDITING_DATE_DESCENDING`\n */\n sort?: GetDraftPostsSortWithLiterals;\n /** Pagination options. */\n paging?: BlogPaging;\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[];\n}\n\n/**\n * Retrieves a deleted draft post from the trash bin by the provided ID.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost\n */\nexport async function getDeletedDraftPost(\n draftPostId: string\n): Promise<\n NonNullablePaths<\n GetDeletedDraftPostResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.getDeletedDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { draftPostId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['draftPostId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Restores a deleted draft post from the trash bin by the provided ID.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @permissionId BLOG.EDIT-DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin\n */\nexport async function restoreFromTrashBin(\n draftPostId: string\n): Promise<\n NonNullablePaths<\n RestoreFromTrashBinResponse,\n | `draftPost._id`\n | `draftPost.title`\n | `draftPost.categoryIds`\n | `draftPost.hashtags`\n | `draftPost.minutesToRead`\n | `draftPost.tagIds`\n | `draftPost.relatedPostIds`\n | `draftPost.pricingPlanIds`\n | `draftPost.status`\n | `draftPost.moderationDetails.submittedBy`\n | `draftPost.moderationDetails.status`\n | `draftPost.hasUnpublishedChanges`\n | `draftPost.seoData.tags`\n | `draftPost.seoData.tags.${number}.type`\n | `draftPost.seoData.tags.${number}.children`\n | `draftPost.seoData.tags.${number}.custom`\n | `draftPost.seoData.tags.${number}.disabled`\n | `draftPost.seoData.settings.preventAutoRedirect`\n | `draftPost.seoData.settings.keywords`\n | `draftPost.seoData.settings.keywords.${number}.term`\n | `draftPost.seoData.settings.keywords.${number}.isMain`\n | `draftPost.media.embedMedia.thumbnail.url`\n | `draftPost.media.embedMedia.thumbnail.width`\n | `draftPost.media.embedMedia.thumbnail.height`\n | `draftPost.media.embedMedia.video.url`\n | `draftPost.media.embedMedia.video.width`\n | `draftPost.media.embedMedia.video.height`\n | `draftPost.media.displayed`\n | `draftPost.media.custom`,\n 7\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.restoreFromTrashBin(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPost.heroImage' },\n { path: 'draftPost.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPost.url' },\n { path: 'draftPost.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPost.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPost.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { draftPostId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['draftPostId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Creates a query to retrieve a list of up to 100 draft posts.\n *\n *\n * The `queryDraftPosts()` function builds a query to retrieve a list of up to 100 draft posts, and returns a `DraftPostsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the `find()` function.\n *\n * You can refine the query by chaining `DraftPostsQueryBuilder` functions onto the query. `DraftPostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryDraftPosts()` returns.\n *\n * `queryDraftPosts()` runs with these `DraftPostsQueryBuilder` defaults that can be overridden:\n * - `limit(50)`\n * - `ascending('_id')`\n *\n * The following `DraftPostsQueryBuilder` functions are supported for `queryDraftPosts()`. For a full description of the Draft Posts object, see the object returned for the `items` property in `DraftPostsQueryResult`.\n * @public\n * @param options - Options for querying draft posts.\n * @permissionId BLOG.READ_DRAFT\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts\n */\nexport function queryDraftPosts(\n options?: QueryDraftPostsOptions\n): DraftPostsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n DraftPost,\n 'CURSOR',\n QueryDraftPostsRequest,\n QueryDraftPostsResponse\n >({\n func: async (payload: QueryDraftPostsRequest) => {\n const reqOpts = ambassadorWixBlogV3Draft.queryDraftPosts({\n ...payload,\n ...(options ?? {}),\n });\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryDraftPostsRequest['query']) => {\n const args = [query, options] as [\n QueryDraftPostsRequest['query'],\n QueryDraftPostsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest(\n { ...args?.[1], query: args?.[0] },\n []\n );\n },\n responseTransformer: ({ data }: HttpResponse<QueryDraftPostsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPosts.richContent']\n );\n\n return {\n items: transformedData?.draftPosts,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\nexport interface QueryDraftPostsOptions {\n /**\n * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in\n * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default\n * only the draft post's base fields are returned.\n * @maxSize 10\n */\n fieldsets?: FieldWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface DraftPostsQueryResult extends QueryCursorResult {\n items: DraftPost[];\n query: DraftPostsQueryBuilder;\n next: () => Promise<DraftPostsQueryResult>;\n prev: () => Promise<DraftPostsQueryResult>;\n}\n\nexport interface DraftPostsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n eq: (\n propertyName:\n | '_id'\n | 'title'\n | 'excerpt'\n | 'featured'\n | 'commentingEnabled'\n | 'minutesToRead'\n | 'translationId'\n | 'language'\n | 'status'\n | 'hasUnpublishedChanges'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ne: (\n propertyName:\n | '_id'\n | 'title'\n | 'excerpt'\n | 'featured'\n | 'commentingEnabled'\n | 'minutesToRead'\n | 'translationId'\n | 'language'\n | 'status'\n | 'hasUnpublishedChanges'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ge: (\n propertyName:\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n gt: (\n propertyName:\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n le: (\n propertyName:\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n lt: (\n propertyName:\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n */\n startsWith: (\n propertyName: 'title' | 'excerpt',\n value: string\n ) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n */\n hasSome: (propertyName: string, value: any[]) => DraftPostsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n */\n hasAll: (propertyName: string, value: any[]) => DraftPostsQueryBuilder;\n in: (\n propertyName:\n | '_id'\n | 'title'\n | 'excerpt'\n | 'minutesToRead'\n | 'translationId'\n | 'language'\n | 'status'\n | 'editedDate'\n | 'scheduledPublishDate',\n value: any\n ) => DraftPostsQueryBuilder;\n exists: (\n propertyName: 'title' | 'excerpt' | 'translationId' | 'language',\n value: boolean\n ) => DraftPostsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | 'title'\n | 'excerpt'\n | 'featured'\n | 'commentingEnabled'\n | 'status'\n | 'hasUnpublishedChanges'\n | 'editedDate'\n | 'scheduledPublishDate'\n >\n ) => DraftPostsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | 'title'\n | 'excerpt'\n | 'featured'\n | 'commentingEnabled'\n | 'status'\n | 'hasUnpublishedChanges'\n | 'editedDate'\n | 'scheduledPublishDate'\n >\n ) => DraftPostsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n limit: (limit: number) => DraftPostsQueryBuilder;\n /** @param cursor - A pointer to specific record */\n skipTo: (cursor: string) => DraftPostsQueryBuilder;\n find: () => Promise<DraftPostsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts\n * @requiredField query\n */\nexport async function typedQueryDraftPosts(\n query: DraftPostQuery,\n options?: QueryDraftPostsOptions\n): Promise<\n NonNullablePaths<\n QueryDraftPostsResponse,\n | `draftPosts`\n | `draftPosts.${number}._id`\n | `draftPosts.${number}.title`\n | `draftPosts.${number}.minutesToRead`\n | `draftPosts.${number}.status`\n | `draftPosts.${number}.moderationDetails.submittedBy`\n | `draftPosts.${number}.moderationDetails.status`\n | `draftPosts.${number}.hasUnpublishedChanges`\n | `draftPosts.${number}.seoData.settings.preventAutoRedirect`\n | `draftPosts.${number}.media.displayed`\n | `draftPosts.${number}.media.custom`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { query: query, ...options },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.queryDraftPosts(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [\n { path: 'draftPosts.heroImage' },\n { path: 'draftPosts.media.wixMedia.image' },\n ],\n },\n {\n transformFn: transformRESTPageURLToSDKPageURL,\n paths: [\n { path: 'draftPosts.url' },\n { path: 'draftPosts.translations.url' },\n ],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'draftPosts.media.wixMedia.videoV2' }],\n },\n ]),\n ['draftPosts.richContent']\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface DraftPostQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: ['_id'];\n operators: ['$eq', '$in', '$ne', '$nin'];\n sort: 'BOTH';\n },\n {\n fields: ['excerpt', 'title'];\n operators: [\n '$eq',\n '$exists',\n '$gt',\n '$gte',\n '$in',\n '$lt',\n '$lte',\n '$ne',\n '$startsWith'\n ];\n sort: 'BOTH';\n },\n {\n fields: ['status'];\n operators: ['$eq', '$in', '$ne', '$nin'];\n sort: 'BOTH';\n },\n {\n fields: ['editedDate', 'scheduledPublishDate'];\n operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'BOTH';\n },\n {\n fields: ['categoryIds', 'hashtags', 'pricingPlanIds', 'tagIds'];\n operators: ['$hasAll', '$hasSome'];\n sort: 'NONE';\n },\n {\n fields: ['memberId'];\n operators: [];\n sort: 'NONE';\n },\n {\n fields: ['commentingEnabled', 'featured', 'hasUnpublishedChanges'];\n operators: ['$eq', '$ne'];\n sort: 'BOTH';\n },\n {\n fields: ['minutesToRead'];\n operators: ['$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'NONE';\n },\n {\n fields: ['language', 'translationId'];\n operators: ['$eq', '$exists', '$in', '$ne', '$nin'];\n sort: 'NONE';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n DraftPost,\n DraftPostQuerySpec\n>;\nexport type DraftPostQuery = {\n /** \n Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. \n */\n cursorPaging?: {\n /** \n Number of items to load. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n You can get the relevant cursor token\n from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 2000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object in the following format:\n `\"filter\" : {\n \"fieldName1\": \"value1\",\n \"fieldName2\":{\"$operator\":\"value2\"}\n }`\n Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains` \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object in the following format:\n `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]` \n @maxSize: 3 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n /** \n When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n\n If multiple filters are provided, they are combined with AND operator.\n\n Example:\n Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] } \n @internal: undefined,\n @maxSize: 10 \n */\n selectItemsBy?:\n | NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['selectItemsBy']\n | null;\n /** \n Origin point for geo-distance sorting on a GEO field\n results are ordered by distance from this point (ASC = nearest first, DESC = farthest first). \n */\n origin?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['origin'];\n }[];\n};\n\nexport const utils = {\n query: /*#__PURE__*/ createQueryUtils<\n DraftPost,\n DraftPostQuerySpec,\n DraftPostQuery\n >(),\n};\n\n/**\n * Publishes a draft post by ID. This creates a new [post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)\n * with the data from the draft post.\n *\n * If the draft post was already published, the published post will be updated with the latest values\n * from the draft post.\n * @param draftPostId - Draft post ID.\n * @public\n * @requiredField draftPostId\n * @permissionId BLOG.PUBLISH-POST\n * @applicableIdentity APP\n * @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost\n */\nexport async function publishDraftPost(\n draftPostId: string\n): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest(\n { draftPostId: draftPostId },\n []\n );\n\n const reqOpts = ambassadorWixBlogV3Draft.publishDraftPost(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data, [])!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { draftPostId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['draftPostId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _api_base_domain_: [\n {\n srcPath: '/draft-post-service-api-proxy',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts/create',\n destPath: '/v3/bulk/draft-posts/create',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts',\n destPath: '/v3/bulk/draft-posts',\n },\n ],\n '*.pub.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n _: [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts/create',\n destPath: '/v3/bulk/draft-posts/create',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts',\n destPath: '/v3/bulk/draft-posts',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/_api/draft-post-service-api-proxy/v3/bulk/draft-posts',\n destPath: '/v3/bulk/draft-posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/multilingual',\n destPath: '/v3/multilingual',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/stats',\n destPath: '/v3/stats',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/moderation',\n destPath: '/v3/moderation',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/bulk/moderation',\n destPath: '/v3/bulk/moderation',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/bulk/draft-posts/create',\n destPath: '/v3/bulk/draft-posts/create',\n },\n ],\n 'social-blog._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/blog/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts/create',\n destPath: '/v3/bulk/draft-posts/create',\n },\n {\n srcPath: '/blog/v3/draft-posts/',\n destPath: '/v3/draft-posts',\n },\n {\n srcPath: '/blog/v3/bulk/draft-posts',\n destPath: '/v3/bulk/draft-posts',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api/v3/draft-posts',\n destPath: '/v3/draft-posts',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_blog_draft-posts';\n\n/**\n * Creates a draft post.\n *\n * For 3rd-party apps, `memberId` is a required field.\n *\n * In `categoryIds`, only categories that already exist will be added to the draft post. Including\n * `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.\n * If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.\n * You can check which categories are available with\n * [List Categories](https://dev.wix.com/docs/rest/business-solutions/blog/category/list-categories).\n */\nexport function createDraftPost(payload: object): RequestOptionsFactory<any> {\n function __createDraftPost({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'draftPost.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'draftPost.richContent.nodes.appEmbedData.image.duration' },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n { path: 'draftPost.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n { path: 'draftPost.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDraftPost;\n}\n\n/** Creates multiple draft posts. */\nexport function bulkCreateDraftPosts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateDraftPosts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'draftPosts.editedDate' },\n { path: 'draftPosts.scheduledPublishDate' },\n { path: 'draftPosts.firstPublishedDate' },\n { path: 'draftPosts.createdDate' },\n { path: 'draftPosts.heroImage.urlExpirationDate' },\n { path: 'draftPosts.richContent.metadata.createdTimestamp' },\n { path: 'draftPosts.richContent.metadata.updatedTimestamp' },\n { path: 'draftPosts.moderationDetails.submittedDate' },\n { path: 'draftPosts.moderationDetails.moderationDate' },\n { path: 'draftPosts.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPosts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'draftPosts.heroImage.focalPoint.x' },\n { path: 'draftPosts.heroImage.focalPoint.y' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPosts.richContent.nodes.imageData.image.duration' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.y' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.width' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.height' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'draftPosts.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'draftPosts.richContent.nodes.appEmbedData.image.duration' },\n { path: 'draftPosts.richContent.nodes.videoData.video.duration' },\n { path: 'draftPosts.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'draftPosts.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPosts.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.tocData.fontSize' },\n { path: 'draftPosts.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPosts.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/bulk/draft-posts/create', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.editedDate' },\n { path: 'results.item.scheduledPublishDate' },\n { path: 'results.item.firstPublishedDate' },\n { path: 'results.item.createdDate' },\n { path: 'results.item.heroImage.urlExpirationDate' },\n { path: 'results.item.richContent.metadata.createdTimestamp' },\n { path: 'results.item.richContent.metadata.updatedTimestamp' },\n { path: 'results.item.moderationDetails.submittedDate' },\n { path: 'results.item.moderationDetails.moderationDate' },\n { path: 'results.item.media.wixMedia.image.urlExpirationDate' },\n { path: 'results.item.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.heroImage.focalPoint.x' },\n { path: 'results.item.heroImage.focalPoint.y' },\n { path: 'results.item.media.wixMedia.image.focalPoint.x' },\n { path: 'results.item.media.wixMedia.image.focalPoint.y' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.options.item.ratio',\n },\n {\n path: 'results.item.richContent.nodes.imageData.image.duration',\n },\n { path: 'results.item.richContent.nodes.imageData.crop.x' },\n { path: 'results.item.richContent.nodes.imageData.crop.y' },\n { path: 'results.item.richContent.nodes.imageData.crop.width' },\n { path: 'results.item.richContent.nodes.imageData.crop.height' },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lat',\n },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lng',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.appEmbedData.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.video.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.audio.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.shapeData.shape.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'results.item.richContent.nodes.tocData.fontSize' },\n { path: 'results.item.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'results.item.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateDraftPosts;\n}\n\n/** Updates multiple draft posts. */\nexport function bulkUpdateDraftPosts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDraftPosts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'scheduledPublishDate' },\n { path: 'draftPosts.draftPost.editedDate' },\n { path: 'draftPosts.draftPost.scheduledPublishDate' },\n { path: 'draftPosts.draftPost.firstPublishedDate' },\n { path: 'draftPosts.draftPost.createdDate' },\n { path: 'draftPosts.draftPost.heroImage.urlExpirationDate' },\n {\n path: 'draftPosts.draftPost.richContent.metadata.createdTimestamp',\n },\n {\n path: 'draftPosts.draftPost.richContent.metadata.updatedTimestamp',\n },\n { path: 'draftPosts.draftPost.moderationDetails.submittedDate' },\n { path: 'draftPosts.draftPost.moderationDetails.moderationDate' },\n {\n path: 'draftPosts.draftPost.media.wixMedia.image.urlExpirationDate',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.urlExpirationDate',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'draftPosts.fieldMask' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'draftPosts.draftPost.heroImage.focalPoint.x' },\n { path: 'draftPosts.draftPost.heroImage.focalPoint.y' },\n { path: 'draftPosts.draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'draftPosts.draftPost.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.imageData.image.duration',\n },\n { path: 'draftPosts.draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.draftPost.richContent.nodes.imageData.crop.y' },\n {\n path: 'draftPosts.draftPost.richContent.nodes.imageData.crop.width',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.imageData.crop.height',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.mapData.mapSettings.lat',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.mapData.mapSettings.lng',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.videoData.video.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.audioData.audio.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.shapeData.shape.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.draftPost.richContent.nodes.tocData.fontSize' },\n {\n path: 'draftPosts.draftPost.richContent.nodes.tocData.itemSpacing',\n },\n {\n path: 'draftPosts.draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/update', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.editedDate' },\n { path: 'results.item.scheduledPublishDate' },\n { path: 'results.item.firstPublishedDate' },\n { path: 'results.item.createdDate' },\n { path: 'results.item.heroImage.urlExpirationDate' },\n { path: 'results.item.richContent.metadata.createdTimestamp' },\n { path: 'results.item.richContent.metadata.updatedTimestamp' },\n { path: 'results.item.moderationDetails.submittedDate' },\n { path: 'results.item.moderationDetails.moderationDate' },\n { path: 'results.item.media.wixMedia.image.urlExpirationDate' },\n { path: 'results.item.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.heroImage.focalPoint.x' },\n { path: 'results.item.heroImage.focalPoint.y' },\n { path: 'results.item.media.wixMedia.image.focalPoint.x' },\n { path: 'results.item.media.wixMedia.image.focalPoint.y' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.options.item.ratio',\n },\n {\n path: 'results.item.richContent.nodes.imageData.image.duration',\n },\n { path: 'results.item.richContent.nodes.imageData.crop.x' },\n { path: 'results.item.richContent.nodes.imageData.crop.y' },\n { path: 'results.item.richContent.nodes.imageData.crop.width' },\n { path: 'results.item.richContent.nodes.imageData.crop.height' },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lat',\n },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lng',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.appEmbedData.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.video.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.audio.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.shapeData.shape.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'results.item.richContent.nodes.tocData.fontSize' },\n { path: 'results.item.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'results.item.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateDraftPosts;\n}\n\n/**\n * Retrieves a list of up to 100 deleted draft posts.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order. In this case,`editedDate` implies the date the post was deleted.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n */\nexport function listDeletedDraftPosts(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeletedDraftPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/trash-bin', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPosts.editedDate' },\n { path: 'draftPosts.scheduledPublishDate' },\n { path: 'draftPosts.firstPublishedDate' },\n { path: 'draftPosts.createdDate' },\n { path: 'draftPosts.heroImage.urlExpirationDate' },\n { path: 'draftPosts.richContent.metadata.createdTimestamp' },\n { path: 'draftPosts.richContent.metadata.updatedTimestamp' },\n { path: 'draftPosts.moderationDetails.submittedDate' },\n { path: 'draftPosts.moderationDetails.moderationDate' },\n { path: 'draftPosts.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPosts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPosts.heroImage.focalPoint.x' },\n { path: 'draftPosts.heroImage.focalPoint.y' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPosts.richContent.nodes.imageData.image.duration' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.y' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.width' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.height' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPosts.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPosts.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPosts.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPosts.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.tocData.fontSize' },\n { path: 'draftPosts.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPosts.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDeletedDraftPosts;\n}\n\n/** Retrieves a draft post by the provided ID. */\nexport function getDraftPost(payload: object): RequestOptionsFactory<any> {\n function __getDraftPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/{draftPostId}', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDraftPost;\n}\n\n/** Updates a draft post. */\nexport function updateDraftPost(payload: object): RequestOptionsFactory<any> {\n function __updateDraftPost({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'scheduledPublishDate' },\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'draftPost.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'draftPost.richContent.nodes.appEmbedData.image.duration' },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n { path: 'draftPost.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n { path: 'draftPost.richContent.nodes.audioData.coverImage.duration' },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/{draftPost.id}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDraftPost;\n}\n\n/**\n * Moves a draft post to the trash bin.\n * A published post can also be deleted by the `post.id`. See the [Posts API](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object) for more information about posts.\n *\n * To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.\n */\nexport function deleteDraftPost(payload: object): RequestOptionsFactory<any> {\n function __deleteDraftPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/{draftPostId}', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDraftPost;\n}\n\n/**\n * Permanently deletes a draft post that is currently in the trash bin.\n *\n * This action is permanent and can't be reversed.\n */\nexport function removeFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/trash-bin/{draftPostId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __removeFromTrashBin;\n}\n\n/** Deletes multiple draft posts. */\nexport function bulkDeleteDraftPosts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteDraftPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/bulk/draft-posts', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.editedDate' },\n { path: 'results.item.scheduledPublishDate' },\n { path: 'results.item.firstPublishedDate' },\n { path: 'results.item.createdDate' },\n { path: 'results.item.heroImage.urlExpirationDate' },\n { path: 'results.item.richContent.metadata.createdTimestamp' },\n { path: 'results.item.richContent.metadata.updatedTimestamp' },\n { path: 'results.item.moderationDetails.submittedDate' },\n { path: 'results.item.moderationDetails.moderationDate' },\n { path: 'results.item.media.wixMedia.image.urlExpirationDate' },\n { path: 'results.item.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.heroImage.focalPoint.x' },\n { path: 'results.item.heroImage.focalPoint.y' },\n { path: 'results.item.media.wixMedia.image.focalPoint.x' },\n { path: 'results.item.media.wixMedia.image.focalPoint.y' },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'results.item.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.galleryData.options.item.ratio',\n },\n {\n path: 'results.item.richContent.nodes.imageData.image.duration',\n },\n { path: 'results.item.richContent.nodes.imageData.crop.x' },\n { path: 'results.item.richContent.nodes.imageData.crop.y' },\n { path: 'results.item.richContent.nodes.imageData.crop.width' },\n { path: 'results.item.richContent.nodes.imageData.crop.height' },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lat',\n },\n {\n path: 'results.item.richContent.nodes.mapData.mapSettings.lng',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.appEmbedData.image.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.video.duration',\n },\n {\n path: 'results.item.richContent.nodes.videoData.thumbnail.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.audio.duration',\n },\n {\n path: 'results.item.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.shapeData.shape.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'results.item.richContent.nodes.tocData.fontSize' },\n { path: 'results.item.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'results.item.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkDeleteDraftPosts;\n}\n\n/**\n * Retrieves a list of up to 100 draft posts per request.\n *\n * List Draft Posts runs with these defaults, which you can override:\n * - `editedDate` is sorted in descending order.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n */\nexport function listDraftPosts(payload: object): RequestOptionsFactory<any> {\n function __listDraftPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPosts.editedDate' },\n { path: 'draftPosts.scheduledPublishDate' },\n { path: 'draftPosts.firstPublishedDate' },\n { path: 'draftPosts.createdDate' },\n { path: 'draftPosts.heroImage.urlExpirationDate' },\n { path: 'draftPosts.richContent.metadata.createdTimestamp' },\n { path: 'draftPosts.richContent.metadata.updatedTimestamp' },\n { path: 'draftPosts.moderationDetails.submittedDate' },\n { path: 'draftPosts.moderationDetails.moderationDate' },\n { path: 'draftPosts.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPosts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPosts.heroImage.focalPoint.x' },\n { path: 'draftPosts.heroImage.focalPoint.y' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPosts.richContent.nodes.imageData.image.duration' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.y' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.width' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.height' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPosts.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPosts.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPosts.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPosts.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.tocData.fontSize' },\n { path: 'draftPosts.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPosts.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDraftPosts;\n}\n\n/** Retrieves a deleted draft post from the trash bin by the provided ID. */\nexport function getDeletedDraftPost(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDeletedDraftPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/trash-bin/{draftPostId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeletedDraftPost;\n}\n\n/** Restores a deleted draft post from the trash bin by the provided ID. */\nexport function restoreFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __restoreFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/trash-bin/{draftPostId}/restore',\n data: payload,\n host,\n }\n ),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPost.editedDate' },\n { path: 'draftPost.scheduledPublishDate' },\n { path: 'draftPost.firstPublishedDate' },\n { path: 'draftPost.createdDate' },\n { path: 'draftPost.heroImage.urlExpirationDate' },\n { path: 'draftPost.richContent.metadata.createdTimestamp' },\n { path: 'draftPost.richContent.metadata.updatedTimestamp' },\n { path: 'draftPost.moderationDetails.submittedDate' },\n { path: 'draftPost.moderationDetails.moderationDate' },\n { path: 'draftPost.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPost.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPost.heroImage.focalPoint.x' },\n { path: 'draftPost.heroImage.focalPoint.y' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'draftPost.media.wixMedia.videoV2.posters.focalPoint.y' },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPost.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPost.richContent.nodes.imageData.image.duration' },\n { path: 'draftPost.richContent.nodes.imageData.crop.x' },\n { path: 'draftPost.richContent.nodes.imageData.crop.y' },\n { path: 'draftPost.richContent.nodes.imageData.crop.width' },\n { path: 'draftPost.richContent.nodes.imageData.crop.height' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPost.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPost.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPost.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPost.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPost.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPost.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPost.richContent.nodes.tocData.fontSize' },\n { path: 'draftPost.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPost.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreFromTrashBin;\n}\n\n/**\n * Creates a query to retrieve a list of up to 100 draft posts.\n *\n *\n * The `queryDraftPosts()` function builds a query to retrieve a list of up to 100 draft posts, and returns a `DraftPostsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the `find()` function.\n *\n * You can refine the query by chaining `DraftPostsQueryBuilder` functions onto the query. `DraftPostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryDraftPosts()` returns.\n *\n * `queryDraftPosts()` runs with these `DraftPostsQueryBuilder` defaults that can be overridden:\n * - `limit(50)`\n * - `ascending('_id')`\n *\n * The following `DraftPostsQueryBuilder` functions are supported for `queryDraftPosts()`. For a full description of the Draft Posts object, see the object returned for the `items` property in `DraftPostsQueryResult`.\n */\nexport function queryDraftPosts(payload: object): RequestOptionsFactory<any> {\n function __queryDraftPosts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'query.sort.origin.latitude' },\n { path: 'query.sort.origin.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/query', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'draftPosts.editedDate' },\n { path: 'draftPosts.scheduledPublishDate' },\n { path: 'draftPosts.firstPublishedDate' },\n { path: 'draftPosts.createdDate' },\n { path: 'draftPosts.heroImage.urlExpirationDate' },\n { path: 'draftPosts.richContent.metadata.createdTimestamp' },\n { path: 'draftPosts.richContent.metadata.updatedTimestamp' },\n { path: 'draftPosts.moderationDetails.submittedDate' },\n { path: 'draftPosts.moderationDetails.moderationDate' },\n { path: 'draftPosts.media.wixMedia.image.urlExpirationDate' },\n { path: 'draftPosts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'draftPosts.heroImage.focalPoint.x' },\n { path: 'draftPosts.heroImage.focalPoint.y' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.x' },\n { path: 'draftPosts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.x',\n },\n {\n path: 'draftPosts.media.wixMedia.videoV2.posters.focalPoint.y',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'draftPosts.richContent.nodes.imageData.image.duration' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.x' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.y' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.width' },\n { path: 'draftPosts.richContent.nodes.imageData.crop.height' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'draftPosts.richContent.nodes.mapData.mapSettings.lng' },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.appEmbedData.image.duration',\n },\n { path: 'draftPosts.richContent.nodes.videoData.video.duration' },\n {\n path: 'draftPosts.richContent.nodes.videoData.thumbnail.duration',\n },\n { path: 'draftPosts.richContent.nodes.audioData.audio.duration' },\n {\n path: 'draftPosts.richContent.nodes.audioData.coverImage.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.layoutData.backdrop.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.shapeData.shape.duration' },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.background.gradient.stops.position',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.media.duration',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY',\n },\n {\n path: 'draftPosts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position',\n },\n { path: 'draftPosts.richContent.nodes.tocData.fontSize' },\n { path: 'draftPosts.richContent.nodes.tocData.itemSpacing' },\n {\n path: 'draftPosts.richContent.nodes.smartBlockCellData.shape.duration',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryDraftPosts;\n}\n\n/**\n * Publishes a draft post by ID. This creates a new [post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)\n * with the data from the draft post.\n *\n * If the draft post was already published, the published post will be updated with the latest values\n * from the draft post.\n */\nexport function publishDraftPost(payload: object): RequestOptionsFactory<any> {\n function __publishDraftPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.draft',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n {\n protoPath: '/v3/draft-posts/{draftPostId}/publish',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __publishDraftPost;\n}\n","import {\n createDraftPost as publicCreateDraftPost,\n bulkCreateDraftPosts as publicBulkCreateDraftPosts,\n bulkUpdateDraftPosts as publicBulkUpdateDraftPosts,\n listDeletedDraftPosts as publicListDeletedDraftPosts,\n getDraftPost as publicGetDraftPost,\n updateDraftPost as publicUpdateDraftPost,\n deleteDraftPost as publicDeleteDraftPost,\n removeFromTrashBin as publicRemoveFromTrashBin,\n bulkDeleteDraftPosts as publicBulkDeleteDraftPosts,\n listDraftPosts as publicListDraftPosts,\n getDeletedDraftPost as publicGetDeletedDraftPost,\n restoreFromTrashBin as publicRestoreFromTrashBin,\n queryDraftPosts as publicQueryDraftPosts,\n typedQueryDraftPosts as publicTypedQueryDraftPosts,\n publishDraftPost as publicPublishDraftPost,\n} from './blog-v3-draft-draft-posts.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n DraftPostQuery,\n DraftPostsQueryBuilder,\n QueryDraftPostsOptions,\n typedQueryDraftPosts as universalTypedQueryDraftPosts,\n} from './blog-v3-draft-draft-posts.universal.js';\nimport { onDraftCreated as publicOnDraftCreated } from './blog-v3-draft-draft-posts.public.js';\nimport { onDraftDeleted as publicOnDraftDeleted } from './blog-v3-draft-draft-posts.public.js';\nimport { onDraftUpdated as publicOnDraftUpdated } from './blog-v3-draft-draft-posts.public.js';\n\nfunction customQueryDraftPosts(httpClient: HttpClient) {\n const router = /*#__PURE__*/ createQueryOverloadRouter({\n builderQueryFunction: (options?: QueryDraftPostsOptions) =>\n publicQueryDraftPosts(httpClient)(options),\n typedQueryFunction: (\n query: DraftPostQuery,\n options?: QueryDraftPostsOptions\n ) => publicTypedQueryDraftPosts(httpClient)(query, options),\n hasOptionsParameter: true,\n });\n\n function overloadedQuery(\n query: DraftPostQuery,\n options?: QueryDraftPostsOptions\n ): ReturnType<typeof universalTypedQueryDraftPosts>;\n function overloadedQuery(\n options?: QueryDraftPostsOptions\n ): DraftPostsQueryBuilder;\n function overloadedQuery(\n queryOrOptions?: DraftPostQuery | QueryDraftPostsOptions,\n options?: QueryDraftPostsOptions\n ): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\nexport const createDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicCreateDraftPost> & typeof publicCreateDraftPost\n> = /*#__PURE__*/ createRESTModule(publicCreateDraftPost);\nexport const bulkCreateDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicBulkCreateDraftPosts> &\n typeof publicBulkCreateDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicBulkCreateDraftPosts);\nexport const bulkUpdateDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdateDraftPosts> &\n typeof publicBulkUpdateDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateDraftPosts);\nexport const listDeletedDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicListDeletedDraftPosts> &\n typeof publicListDeletedDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicListDeletedDraftPosts);\nexport const getDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicGetDraftPost> & typeof publicGetDraftPost\n> = /*#__PURE__*/ createRESTModule(publicGetDraftPost);\nexport const updateDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicUpdateDraftPost> & typeof publicUpdateDraftPost\n> = /*#__PURE__*/ createRESTModule(publicUpdateDraftPost);\nexport const deleteDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicDeleteDraftPost> & typeof publicDeleteDraftPost\n> = /*#__PURE__*/ createRESTModule(publicDeleteDraftPost);\nexport const removeFromTrashBin: MaybeContext<\n BuildRESTFunction<typeof publicRemoveFromTrashBin> &\n typeof publicRemoveFromTrashBin\n> = /*#__PURE__*/ createRESTModule(publicRemoveFromTrashBin);\nexport const bulkDeleteDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicBulkDeleteDraftPosts> &\n typeof publicBulkDeleteDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicBulkDeleteDraftPosts);\nexport const listDraftPosts: MaybeContext<\n BuildRESTFunction<typeof publicListDraftPosts> & typeof publicListDraftPosts\n> = /*#__PURE__*/ createRESTModule(publicListDraftPosts);\nexport const getDeletedDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicGetDeletedDraftPost> &\n typeof publicGetDeletedDraftPost\n> = /*#__PURE__*/ createRESTModule(publicGetDeletedDraftPost);\nexport const restoreFromTrashBin: MaybeContext<\n BuildRESTFunction<typeof publicRestoreFromTrashBin> &\n typeof publicRestoreFromTrashBin\n> = /*#__PURE__*/ createRESTModule(publicRestoreFromTrashBin);\nexport const publishDraftPost: MaybeContext<\n BuildRESTFunction<typeof publicPublishDraftPost> &\n typeof publicPublishDraftPost\n> = /*#__PURE__*/ createRESTModule(publicPublishDraftPost);\nexport const queryDraftPosts: MaybeContext<\n BuildRESTFunction<typeof customQueryDraftPosts> & typeof customQueryDraftPosts\n> = /*#__PURE__*/ createRESTModule(customQueryDraftPosts);\n/**\n * Triggered when a draft post is created.\n */\nexport const onDraftCreated: BuildEventDefinition<typeof publicOnDraftCreated> &\n typeof publicOnDraftCreated =\n /*#__PURE__*/ createEventModule(publicOnDraftCreated);\n/**\n * Triggered when a draft post is deleted.\n */\nexport const onDraftDeleted: BuildEventDefinition<typeof publicOnDraftDeleted> &\n typeof publicOnDraftDeleted =\n /*#__PURE__*/ createEventModule(publicOnDraftDeleted);\n/**\n * Triggered when a draft post is updated.\n */\nexport const onDraftUpdated: BuildEventDefinition<typeof publicOnDraftUpdated> &\n typeof publicOnDraftUpdated =\n /*#__PURE__*/ createEventModule(publicOnDraftUpdated);\n\nexport {\n Origin,\n NodeType,\n BackgroundType,\n GradientType,\n WidthType,\n PluginContainerDataAlignment,\n ButtonDataType,\n Target,\n AnimationType,\n EntranceEffectType,\n LoopEffectType,\n PointerEffectType,\n TextAlignment,\n LineCap,\n LineStyle,\n Width,\n DividerDataAlignment,\n ViewMode,\n LayoutType,\n Orientation,\n Crop,\n ThumbnailsAlignment,\n GIFType,\n Source,\n StylesPosition,\n MapType,\n ViewRole,\n VoteRole,\n PollLayoutType,\n PollLayoutDirection,\n PollDesignBackgroundType,\n DecorationType,\n FontType,\n Variant,\n Position,\n AspectRatio,\n Resizing,\n Placement,\n CardStylesType,\n Alignment,\n Layout,\n AppType,\n InitialExpandedItems,\n Direction,\n VerticalAlignment,\n NullValue,\n ImageScalingScaling,\n ImagePosition,\n LayoutDataBackgroundType,\n BannerOrigin,\n BannerPosition,\n LayerEffect,\n Shape,\n BackdropType,\n VerticalAlignmentAlignment,\n ResponsivenessBehaviour,\n DesignTarget,\n Scaling,\n ImagePositionPosition,\n CardDataBackgroundType,\n ListStyle,\n Indentation,\n SmartBlockDataType,\n ColumnSize,\n Status,\n ModerationStatusStatus,\n TotalDraftPostsGroupingField,\n WebhookIdentityType,\n Type,\n Field,\n Action,\n GetDraftPostsSort,\n SortOrder,\n} from './blog-v3-draft-draft-posts.universal.js';\nexport {\n DraftPost,\n FocalPoint,\n RichContent,\n Node,\n NodeDataOneOf,\n NodeStyle,\n ButtonData,\n Gradient,\n Stop,\n Border,\n Colors,\n Background,\n PluginContainerData,\n PluginContainerDataWidth,\n PluginContainerDataWidthDataOneOf,\n Spoiler,\n Height,\n Styles,\n Link,\n LinkDataOneOf,\n Rel,\n Animation,\n EntranceAnimation,\n EntranceEffect,\n LoopAnimation,\n LoopEffect,\n PointerEffect,\n CodeBlockData,\n TextStyle,\n DividerData,\n DividerDataStyles,\n FileData,\n FileSource,\n FileSourceDataOneOf,\n PDFSettings,\n GalleryData,\n V1Media,\n Image,\n Video,\n Item,\n ItemDataOneOf,\n GalleryOptions,\n GalleryOptionsLayout,\n ItemStyle,\n Thumbnails,\n GIFData,\n GIF,\n HeadingData,\n HTMLData,\n HTMLDataDataOneOf,\n ImageData,\n StylesBorder,\n ImageDataStyles,\n ImageDataCrop,\n LinkPreviewData,\n LinkPreviewDataStyles,\n MapData,\n MapSettings,\n ParagraphData,\n PollData,\n Permissions,\n Option,\n PollSettings,\n PollLayout,\n OptionLayout,\n BackgroundGradient,\n PollDesignBackground,\n PollDesignBackgroundBackgroundOneOf,\n PollDesign,\n OptionDesign,\n Poll,\n PollDataLayout,\n Design,\n TextData,\n Decoration,\n DecorationDataOneOf,\n AnchorData,\n ColorData,\n LinkData,\n MentionData,\n FontSizeData,\n SpoilerData,\n FontFamilyData,\n SketchData,\n AppEmbedData,\n AppEmbedDataAppDataOneOf,\n BookingData,\n EventData,\n ButtonStyles,\n ImageStyles,\n RibbonStyles,\n CardStyles,\n PricingData,\n VideoData,\n PlaybackOptions,\n EmbedData,\n Oembed,\n CollapsibleListData,\n TableData,\n Dimensions,\n TableCellData,\n CellStyle,\n BorderColors,\n BorderWidths,\n ListValue,\n AudioData,\n OrderedListData,\n BulletedListData,\n BlockquoteData,\n CaptionData,\n LayoutData,\n LayoutDataBackground,\n Layers,\n LayoutDataBackgroundImage,\n Banner,\n Backdrop,\n SectionDivider,\n LayoutCellData,\n ShapeData,\n ShapeDataStyles,\n CardData,\n CardDataBackground,\n BackgroundImage,\n TocData,\n SmartBlockData,\n SmartBlockCellData,\n CheckboxListData,\n ListItemNodeData,\n Metadata,\n DocumentStyle,\n TextNodeStyle,\n ModerationDetails,\n SeoSchema,\n Keyword,\n Tag,\n Settings,\n Media,\n MediaMediaOneOf,\n WixMedia,\n VideoResolution,\n EmbedMedia,\n EmbedThumbnail,\n EmbedVideo,\n DraftPostTranslation,\n DraftCategoriesUpdated,\n DraftTagsUpdated,\n GetDraftPostTotalsRequest,\n GetDraftPostTotalsResponse,\n TotalDraftPosts,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n InitialDraftPostsCopied,\n CreateDraftPostRequest,\n CreateDraftPostResponse,\n BulkCreateDraftPostsRequest,\n BulkCreateDraftPostsResponse,\n BulkDraftPostResult,\n ItemMetadata,\n ApplicationError,\n BulkActionMetadata,\n BulkUpdateDraftPostsRequest,\n MaskedDraftPosts,\n BulkUpdateDraftPostsResponse,\n DraftPostOwnerChanged,\n ListDeletedDraftPostsRequest,\n BlogPaging,\n ListDeletedDraftPostsResponse,\n PagingMetadataV2,\n Cursors,\n GetDraftPostRequest,\n GetDraftPostResponse,\n UpdateDraftPostContentRequest,\n UpdateDraftPostContentResponse,\n UpdateDraftPostRequest,\n UpdateDraftPostResponse,\n DeleteDraftPostRequest,\n DeleteDraftPostResponse,\n RemoveFromTrashBinRequest,\n RemoveFromTrashBinResponse,\n BulkDeleteDraftPostsRequest,\n BulkDeleteDraftPostsResponse,\n ListDraftPostsRequest,\n ListDraftPostsResponse,\n MetaData,\n GetDeletedDraftPostRequest,\n GetDeletedDraftPostResponse,\n RestoreFromTrashBinRequest,\n RestoreFromTrashBinResponse,\n QueryDraftPostsRequest,\n PlatformQuery,\n PlatformQueryPagingMethodOneOf,\n Sorting,\n AddressLocation,\n Paging,\n CursorPaging,\n QueryDraftPostsResponse,\n PublishDraftPostRequest,\n PublishDraftPostResponse,\n UnpublishPostRequest,\n UnpublishPostResponse,\n GetDraftPostCountsRequest,\n GetDraftPostCountsResponse,\n DraftPostCount,\n BulkRevertToUnpublishedRequest,\n BulkRevertToUnpublishedResponse,\n BulkRejectDraftPostRequest,\n BulkRejectDraftPostResponse,\n RevertToUnpublishedRequest,\n RevertToUnpublishedResponse,\n RejectDraftPostRequest,\n RejectDraftPostResponse,\n ApproveDraftPostRequest,\n ApproveDraftPostResponse,\n MarkPostAsInModerationRequest,\n MarkPostAsInModerationResponse,\n TranslateDraftRequest,\n TranslateDraftResponse,\n IsDraftPostAutoTranslatableRequest,\n IsDraftPostAutoTranslatableResponse,\n UpdateDraftPostLanguageRequest,\n UpdateDraftPostLanguageResponse,\n BaseEventMetadata,\n EventMetadata,\n AccountInfoMetadata,\n DraftCreatedEnvelope,\n DraftDeletedEnvelope,\n DraftUpdatedEnvelope,\n CreateDraftPostOptions,\n BulkCreateDraftPostsOptions,\n BulkUpdateDraftPostsOptions,\n ListDeletedDraftPostsOptions,\n GetDraftPostOptions,\n UpdateDraftPost,\n UpdateDraftPostOptions,\n DeleteDraftPostOptions,\n BulkDeleteDraftPostsOptions,\n ListDraftPostsOptions,\n QueryDraftPostsOptions,\n DraftPostsQueryResult,\n DraftPostsQueryBuilder,\n DraftPostQuerySpec,\n} from './blog-v3-draft-draft-posts.universal.js';\nexport { utils } from './blog-v3-draft-draft-posts.universal.js';\nexport {\n OriginWithLiterals,\n NodeTypeWithLiterals,\n BackgroundTypeWithLiterals,\n GradientTypeWithLiterals,\n WidthTypeWithLiterals,\n PluginContainerDataAlignmentWithLiterals,\n ButtonDataTypeWithLiterals,\n TargetWithLiterals,\n AnimationTypeWithLiterals,\n EntranceEffectTypeWithLiterals,\n LoopEffectTypeWithLiterals,\n PointerEffectTypeWithLiterals,\n TextAlignmentWithLiterals,\n LineCapWithLiterals,\n LineStyleWithLiterals,\n WidthWithLiterals,\n DividerDataAlignmentWithLiterals,\n ViewModeWithLiterals,\n LayoutTypeWithLiterals,\n OrientationWithLiterals,\n CropWithLiterals,\n ThumbnailsAlignmentWithLiterals,\n GIFTypeWithLiterals,\n SourceWithLiterals,\n StylesPositionWithLiterals,\n MapTypeWithLiterals,\n ViewRoleWithLiterals,\n VoteRoleWithLiterals,\n PollLayoutTypeWithLiterals,\n PollLayoutDirectionWithLiterals,\n PollDesignBackgroundTypeWithLiterals,\n DecorationTypeWithLiterals,\n FontTypeWithLiterals,\n VariantWithLiterals,\n PositionWithLiterals,\n AspectRatioWithLiterals,\n ResizingWithLiterals,\n PlacementWithLiterals,\n CardStylesTypeWithLiterals,\n AlignmentWithLiterals,\n LayoutWithLiterals,\n AppTypeWithLiterals,\n InitialExpandedItemsWithLiterals,\n DirectionWithLiterals,\n VerticalAlignmentWithLiterals,\n NullValueWithLiterals,\n ImageScalingScalingWithLiterals,\n ImagePositionWithLiterals,\n LayoutDataBackgroundTypeWithLiterals,\n BannerOriginWithLiterals,\n BannerPositionWithLiterals,\n LayerEffectWithLiterals,\n ShapeWithLiterals,\n BackdropTypeWithLiterals,\n VerticalAlignmentAlignmentWithLiterals,\n ResponsivenessBehaviourWithLiterals,\n DesignTargetWithLiterals,\n ScalingWithLiterals,\n ImagePositionPositionWithLiterals,\n CardDataBackgroundTypeWithLiterals,\n ListStyleWithLiterals,\n IndentationWithLiterals,\n SmartBlockDataTypeWithLiterals,\n ColumnSizeWithLiterals,\n StatusWithLiterals,\n ModerationStatusStatusWithLiterals,\n TotalDraftPostsGroupingFieldWithLiterals,\n WebhookIdentityTypeWithLiterals,\n TypeWithLiterals,\n FieldWithLiterals,\n ActionWithLiterals,\n GetDraftPostsSortWithLiterals,\n SortOrderWithLiterals,\n CommonQueryWithEntityContext,\n DraftPostQuery,\n} from './blog-v3-draft-draft-posts.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAAA;AAAA,EAAA,4BAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;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dateDraftPosts","createDraftPost","deleteDraftPost","getDeletedDraftPost","getDraftPost","listDeletedDraftPosts","listDraftPosts","onDraftCreated","onDraftDeleted","onDraftUpdated","publishDraftPost","queryDraftPosts","removeFromTrashBin","restoreFromTrashBin","updateDraftPost","import_rename_all_nested_keys","import_float","import_image","import_page_url","import_timestamp","import_transform_paths","import_video_v2","import_float","import_timestamp","import_rest_modules","payload","import_image","import_video_v2","import_page_url","import_transform_paths","Origin","NodeType","BackgroundType","GradientType","WidthType","PluginContainerDataAlignment","ButtonDataType","Target","AnimationType","EntranceEffectType","LoopEffectType","PointerEffectType","TextAlignment","LineCap","LineStyle","Width","DividerDataAlignment","ViewMode","LayoutType","Orientation","Crop","ThumbnailsAlignment","GIFType","Source","StylesPosition","MapType","ViewRole","VoteRole","PollLayoutType","PollLayoutDirection","PollDesignBackgroundType","DecorationType","FontType","Variant","Position","AspectRatio","Resizing","Placement","CardStylesType","Alignment","Layout","AppType","InitialExpandedItems","Direction","VerticalAlignment","NullValue","ImageScalingScaling","ImagePosition","LayoutDataBackgroundType","BannerOrigin","BannerPosition","LayerEffect","Shape","BackdropType","VerticalAlignmentAlignment","ResponsivenessBehaviour","DesignTarget","Scaling","ImagePositionPosition","CardDataBackgroundType","ListStyle","Indentation","SmartBlockDataType","ColumnSize","Status","ModerationStatusStatus","TotalDraftPostsGroupingField","WebhookIdentityType","Type","Field","Action","GetDraftPostsSort","SortOrder","createDraftPost","sdkTransformError","bulkCreateDraftPosts","bulkUpdateDraftPosts","listDeletedDraftPosts","getDraftPost","updateDraftPost","deleteDraftPost","removeFromTrashBin","bulkDeleteDraftPosts","listDraftPosts","getDeletedDraftPost","restoreFromTrashBin","queryDraftPosts","publishDraftPost","createDraftPost","bulkCreateDraftPosts","bulkUpdateDraftPosts","listDeletedDraftPosts","getDraftPost","updateDraftPost","deleteDraftPost","removeFromTrashBin","bulkDeleteDraftPosts","listDraftPosts","getDeletedDraftPost","restoreFromTrashBin","queryDraftPosts","typedQueryDraftPosts","publishDraftPost","import_rest_modules","queryDraftPosts","typedQueryDraftPosts","createDraftPost","bulkCreateDraftPosts","bulkUpdateDraftPosts","listDeletedDraftPosts","getDraftPost","updateDraftPost","deleteDraftPost","removeFromTrashBin","bulkDeleteDraftPosts","listDraftPosts","getDeletedDraftPost","restoreFromTrashBin","publishDraftPost","onDraftCreated","onDraftDeleted","onDraftUpdated"]}