@wix/auto_sdk_blog_draft-posts 1.0.25 → 1.0.27
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.
- package/build/{blog-v3-draft-draft-posts.universal-yk8zFFHT.d.mts → cjs/blog-v3-draft-draft-posts.universal-DE4EwIQq.d.ts} +12 -2
- package/build/{internal → cjs}/index.d.ts +2 -2
- package/build/{internal → cjs}/index.js +2 -0
- package/build/cjs/index.js.map +1 -0
- package/build/{internal → cjs}/meta.d.ts +13 -3
- package/build/{blog-v3-draft-draft-posts.universal-yk8zFFHT.d.ts → es/blog-v3-draft-draft-posts.universal-DE4EwIQq.d.mts} +12 -2
- package/build/{internal → es}/index.d.mts +2 -2
- package/build/{internal → es}/index.mjs +2 -0
- package/build/es/index.mjs.map +1 -0
- package/build/{internal → es}/meta.d.mts +13 -3
- package/build/es/package.json +3 -0
- package/build/internal/{blog-v3-draft-draft-posts.universal-yk8zFFHT.d.ts → cjs/blog-v3-draft-draft-posts.universal-DE4EwIQq.d.ts} +12 -2
- package/build/{index.d.ts → internal/cjs/index.d.ts} +2 -2
- package/build/{index.js → internal/cjs/index.js} +2 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/{meta.d.ts → internal/cjs/meta.d.ts} +13 -3
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/{blog-v3-draft-draft-posts.universal-yk8zFFHT.d.mts → es/blog-v3-draft-draft-posts.universal-DE4EwIQq.d.mts} +12 -2
- package/build/{index.d.mts → internal/es/index.d.mts} +2 -2
- package/build/{index.mjs → internal/es/index.mjs} +2 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/{meta.d.mts → internal/es/meta.d.mts} +13 -3
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +10 -10
- package/build/index.js.map +0 -1
- package/build/index.mjs.map +0 -1
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs.map +0 -1
- package/build/meta.js.map +0 -1
- package/build/meta.mjs.map +0 -1
- /package/build/{internal → cjs}/meta.js +0 -0
- /package/build/{internal → cjs}/meta.js.map +0 -0
- /package/build/{internal → es}/meta.mjs +0 -0
- /package/build/{internal → es}/meta.mjs.map +0 -0
- /package/build/{meta.js → internal/cjs/meta.js} +0 -0
- /package/build/{meta.mjs → internal/es/meta.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ca as CreateDraftPostRequest$1, a as CreateDraftPostResponse$1, cb as BulkCreateDraftPostsRequest$1, b as BulkCreateDraftPostsResponse$1, cg as BulkUpdateDraftPostsRequest$1, d as BulkUpdateDraftPostsResponse$1, cj as ListDeletedDraftPostsRequest$1, e as ListDeletedDraftPostsResponse$1, co as GetDraftPostRequest$1, f as GetDraftPostResponse$1, cs as UpdateDraftPostRequest$1, h as UpdateDraftPostResponse$1, ct as DeleteDraftPostRequest$1, cu as DeleteDraftPostResponse$1, cv as RemoveFromTrashBinRequest$1, cw as RemoveFromTrashBinResponse$1, cx as BulkDeleteDraftPostsRequest$1, k as BulkDeleteDraftPostsResponse$1, cy as ListDraftPostsRequest$1, m as ListDraftPostsResponse$1, cz as GetDeletedDraftPostRequest$1, n as GetDeletedDraftPostResponse$1, cA as RestoreFromTrashBinRequest$1, R as RestoreFromTrashBinResponse$1, cB as QueryDraftPostsRequest$1, cH as QueryDraftPostsResponse$1, cI as PublishDraftPostRequest$1, P as PublishDraftPostResponse$1 } from './blog-v3-draft-draft-posts.universal-
|
|
1
|
+
import { ca as CreateDraftPostRequest$1, a as CreateDraftPostResponse$1, cb as BulkCreateDraftPostsRequest$1, b as BulkCreateDraftPostsResponse$1, cg as BulkUpdateDraftPostsRequest$1, d as BulkUpdateDraftPostsResponse$1, cj as ListDeletedDraftPostsRequest$1, e as ListDeletedDraftPostsResponse$1, co as GetDraftPostRequest$1, f as GetDraftPostResponse$1, cs as UpdateDraftPostRequest$1, h as UpdateDraftPostResponse$1, ct as DeleteDraftPostRequest$1, cu as DeleteDraftPostResponse$1, cv as RemoveFromTrashBinRequest$1, cw as RemoveFromTrashBinResponse$1, cx as BulkDeleteDraftPostsRequest$1, k as BulkDeleteDraftPostsResponse$1, cy as ListDraftPostsRequest$1, m as ListDraftPostsResponse$1, cz as GetDeletedDraftPostRequest$1, n as GetDeletedDraftPostResponse$1, cA as RestoreFromTrashBinRequest$1, R as RestoreFromTrashBinResponse$1, cB as QueryDraftPostsRequest$1, cH as QueryDraftPostsResponse$1, cI as PublishDraftPostRequest$1, P as PublishDraftPostResponse$1 } from './blog-v3-draft-draft-posts.universal-DE4EwIQq.js';
|
|
2
2
|
|
|
3
3
|
interface DraftPost {
|
|
4
4
|
/**
|
|
@@ -1253,6 +1253,10 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1253
1253
|
spoilerData?: SpoilerData;
|
|
1254
1254
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1255
1255
|
strikethroughData?: boolean | null;
|
|
1256
|
+
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1257
|
+
superscriptData?: boolean | null;
|
|
1258
|
+
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1259
|
+
subscriptData?: boolean | null;
|
|
1256
1260
|
/** The type of decoration to apply. */
|
|
1257
1261
|
type?: DecorationTypeWithLiterals;
|
|
1258
1262
|
}
|
|
@@ -1278,6 +1282,10 @@ interface DecorationDataOneOf {
|
|
|
1278
1282
|
spoilerData?: SpoilerData;
|
|
1279
1283
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1280
1284
|
strikethroughData?: boolean | null;
|
|
1285
|
+
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1286
|
+
superscriptData?: boolean | null;
|
|
1287
|
+
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1288
|
+
subscriptData?: boolean | null;
|
|
1281
1289
|
}
|
|
1282
1290
|
declare enum DecorationType {
|
|
1283
1291
|
BOLD = "BOLD",
|
|
@@ -1290,10 +1298,12 @@ declare enum DecorationType {
|
|
|
1290
1298
|
COLOR = "COLOR",
|
|
1291
1299
|
FONT_SIZE = "FONT_SIZE",
|
|
1292
1300
|
EXTERNAL = "EXTERNAL",
|
|
1293
|
-
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1301
|
+
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1302
|
+
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1303
|
+
SUBSCRIPT = "SUBSCRIPT"
|
|
1294
1304
|
}
|
|
1295
1305
|
/** @enumType */
|
|
1296
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
|
1306
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
|
|
1297
1307
|
interface AnchorData {
|
|
1298
1308
|
/** The target node's ID. */
|
|
1299
1309
|
anchor?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../meta.ts","../../../src/blog-v3-draft-draft-posts.http.ts","../../../src/blog-v3-draft-draft-posts.meta.ts"],"sourcesContent":["export * from './src/blog-v3-draft-draft-posts.meta.js';\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 '*.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 '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 '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 ([SDK](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/list-categories) | [REST](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: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\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.coverMedia.image.urlExpirationDate' },\n { path: 'draftPost.coverMedia.video.thumbnail.urlExpirationDate' },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPost.coverMedia.image.focalPoint.y' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPost.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPost.coverMedia.image.focalPoint.y' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\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.coverMedia.image.urlExpirationDate' },\n { path: 'draftPosts.coverMedia.video.thumbnail.urlExpirationDate' },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPosts.coverMedia.image.focalPoint.y' },\n { path: 'draftPosts.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPosts.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'results.item.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'results.item.coverMedia.image.focalPoint.y' },\n { path: 'results.item.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'results.item.coverMedia.video.thumbnail.focalPoint.y' },\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.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 {\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 },\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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPosts.draftPost.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPosts.draftPost.coverMedia.image.focalPoint.y' },\n {\n path: 'draftPosts.draftPost.coverMedia.video.thumbnail.focalPoint.x',\n },\n {\n path: 'draftPosts.draftPost.coverMedia.video.thumbnail.focalPoint.y',\n },\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.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 {\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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'results.item.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'results.item.coverMedia.image.focalPoint.y' },\n { path: 'results.item.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'results.item.coverMedia.video.thumbnail.focalPoint.y' },\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.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 {\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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPosts.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPosts.coverMedia.image.focalPoint.y' },\n { path: 'draftPosts.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPosts.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPost.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPost.coverMedia.image.focalPoint.y' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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.coverMedia.image.urlExpirationDate' },\n { path: 'draftPost.coverMedia.video.thumbnail.urlExpirationDate' },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPost.coverMedia.image.focalPoint.y' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPost.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPost.coverMedia.image.focalPoint.y' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 ([SDK](https://dev.wix.com/docs/sdk/backend-modules/blog/posts/) | [REST](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 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 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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'results.item.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'results.item.coverMedia.image.focalPoint.y' },\n { path: 'results.item.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'results.item.coverMedia.video.thumbnail.focalPoint.y' },\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.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 {\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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPosts.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPosts.coverMedia.image.focalPoint.y' },\n { path: 'draftPosts.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPosts.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPost.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPost.coverMedia.image.focalPoint.y' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPost.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPost.coverMedia.image.focalPoint.y' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPost.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 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 url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(\n { protoPath: '/v3/draft-posts/query', data: payload, host }\n ),\n data: 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.coverMedia.image.urlExpirationDate' },\n {\n path: 'draftPosts.coverMedia.video.thumbnail.urlExpirationDate',\n },\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.coverMedia.image.focalPoint.x' },\n { path: 'draftPosts.coverMedia.image.focalPoint.y' },\n { path: 'draftPosts.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'draftPosts.coverMedia.video.thumbnail.focalPoint.y' },\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.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.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 },\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 ([SDK](https://dev.wix.com/docs/sdk/backend-modules/blog/posts/) | [REST](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 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 * as ambassadorWixBlogV3Draft from './blog-v3-draft-draft-posts.http.js';\nimport * as ambassadorWixBlogV3DraftTypes from './blog-v3-draft-draft-posts.types.js';\nimport * as ambassadorWixBlogV3DraftUniversalTypes from './blog-v3-draft-draft-posts.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createDraftPost(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBlogV3DraftUniversalTypes.CreateDraftPostRequest,\n ambassadorWixBlogV3DraftTypes.CreateDraftPostRequest,\n ambassadorWixBlogV3DraftUniversalTypes.CreateDraftPostResponse,\n ambassadorWixBlogV3DraftTypes.CreateDraftPostResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Draft.createDraftPost(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/draft-posts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateDraftPosts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBlogV3DraftUniversalTypes.BulkCreateDraftPostsRequest,\n ambassadorWixBlogV3DraftTypes.BulkCreateDraftPostsRequest,\n ambassadorWixBlogV3DraftUniversalTypes.BulkCreateDraftPostsResponse,\n ambassadorWixBlogV3DraftTypes.BulkCreateDraftPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Draft.bulkCreateDraftPosts(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/draft-posts/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDraftPosts(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixBlogV3DraftUniversalTypes.BulkUpdateDraftPostsRequest,\n ambassadorWixBlogV3DraftTypes.BulkUpdateDraftPostsRequest,\n ambassadorWixBlogV3DraftUniversalTypes.BulkUpdateDraftPostsResponse,\n ambassadorWixBlogV3DraftTypes.BulkUpdateDraftPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Draft.bulkUpdateDraftPosts(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/draft-posts/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listDeletedDraftPosts(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV3DraftUniversalTypes.ListDeletedDraftPostsRequest,\n ambassadorWixBlogV3DraftTypes.ListDeletedDraftPostsRequest,\n ambassadorWixBlogV3DraftUniversalTypes.ListDeletedDraftPostsResponse,\n ambassadorWixBlogV3DraftTypes.ListDeletedDraftPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Draft.listDeletedDraftPosts(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/draft-posts/trash-bin',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getDraftPost(): __PublicMethodMetaInfo<\n 'GET',\n { draftPostId: string },\n ambassadorWixBlogV3DraftUniversalTypes.GetDraftPostRequest,\n ambassadorWixBlogV3DraftTypes.GetDraftPostRequest,\n ambassadorWixBlogV3DraftUniversalTypes.GetDraftPostResponse,\n ambassadorWixBlogV3DraftTypes.GetDraftPostResponse\n> {\n const payload = { draftPostId: ':draftPostId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Draft.getDraftPost(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/draft-posts/{draftPostId}',\n pathParams: { draftPostId: 'draftPostId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateDraftPost(): __PublicMethodMetaInfo<\n 'PATCH',\n { draftPostId: string },\n ambassadorWixBlogV3DraftUniversalTypes.UpdateDraftPostRequest,\n ambassadorWixBlogV3DraftTypes.UpdateDraftPostRequest,\n ambassadorWixBlogV3DraftUniversalTypes.UpdateDraftPostResponse,\n ambassadorWixBlogV3DraftTypes.UpdateDraftPostResponse\n> {\n const payload = { draftPost: { id: ':draftPostId' } } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Draft.updateDraftPost(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/draft-posts/{draftPost.id}',\n pathParams: { draftPostId: 'draftPostId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteDraftPost(): __PublicMethodMetaInfo<\n 'DELETE',\n { draftPostId: string },\n ambassadorWixBlogV3DraftUniversalTypes.DeleteDraftPostRequest,\n ambassadorWixBlogV3DraftTypes.DeleteDraftPostRequest,\n ambassadorWixBlogV3DraftUniversalTypes.DeleteDraftPostResponse,\n ambassadorWixBlogV3DraftTypes.DeleteDraftPostResponse\n> {\n const payload = { draftPostId: ':draftPostId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Draft.deleteDraftPost(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/draft-posts/{draftPostId}',\n pathParams: { draftPostId: 'draftPostId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function removeFromTrashBin(): __PublicMethodMetaInfo<\n 'DELETE',\n { draftPostId: string },\n ambassadorWixBlogV3DraftUniversalTypes.RemoveFromTrashBinRequest,\n ambassadorWixBlogV3DraftTypes.RemoveFromTrashBinRequest,\n ambassadorWixBlogV3DraftUniversalTypes.RemoveFromTrashBinResponse,\n ambassadorWixBlogV3DraftTypes.RemoveFromTrashBinResponse\n> {\n const payload = { draftPostId: ':draftPostId' } as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Draft.removeFromTrashBin(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/draft-posts/trash-bin/{draftPostId}',\n pathParams: { draftPostId: 'draftPostId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteDraftPosts(): __PublicMethodMetaInfo<\n 'DELETE',\n {},\n ambassadorWixBlogV3DraftUniversalTypes.BulkDeleteDraftPostsRequest,\n ambassadorWixBlogV3DraftTypes.BulkDeleteDraftPostsRequest,\n ambassadorWixBlogV3DraftUniversalTypes.BulkDeleteDraftPostsResponse,\n ambassadorWixBlogV3DraftTypes.BulkDeleteDraftPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Draft.bulkDeleteDraftPosts(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/bulk/draft-posts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listDraftPosts(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV3DraftUniversalTypes.ListDraftPostsRequest,\n ambassadorWixBlogV3DraftTypes.ListDraftPostsRequest,\n ambassadorWixBlogV3DraftUniversalTypes.ListDraftPostsResponse,\n ambassadorWixBlogV3DraftTypes.ListDraftPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Draft.listDraftPosts(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/draft-posts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getDeletedDraftPost(): __PublicMethodMetaInfo<\n 'GET',\n { draftPostId: string },\n ambassadorWixBlogV3DraftUniversalTypes.GetDeletedDraftPostRequest,\n ambassadorWixBlogV3DraftTypes.GetDeletedDraftPostRequest,\n ambassadorWixBlogV3DraftUniversalTypes.GetDeletedDraftPostResponse,\n ambassadorWixBlogV3DraftTypes.GetDeletedDraftPostResponse\n> {\n const payload = { draftPostId: ':draftPostId' } as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Draft.getDeletedDraftPost(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/draft-posts/trash-bin/{draftPostId}',\n pathParams: { draftPostId: 'draftPostId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function restoreFromTrashBin(): __PublicMethodMetaInfo<\n 'POST',\n { draftPostId: string },\n ambassadorWixBlogV3DraftUniversalTypes.RestoreFromTrashBinRequest,\n ambassadorWixBlogV3DraftTypes.RestoreFromTrashBinRequest,\n ambassadorWixBlogV3DraftUniversalTypes.RestoreFromTrashBinResponse,\n ambassadorWixBlogV3DraftTypes.RestoreFromTrashBinResponse\n> {\n const payload = { draftPostId: ':draftPostId' } as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Draft.restoreFromTrashBin(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/draft-posts/trash-bin/{draftPostId}/restore',\n pathParams: { draftPostId: 'draftPostId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryDraftPosts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBlogV3DraftUniversalTypes.QueryDraftPostsRequest,\n ambassadorWixBlogV3DraftTypes.QueryDraftPostsRequest,\n ambassadorWixBlogV3DraftUniversalTypes.QueryDraftPostsResponse,\n ambassadorWixBlogV3DraftTypes.QueryDraftPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Draft.queryDraftPosts(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/draft-posts/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function publishDraftPost(): __PublicMethodMetaInfo<\n 'POST',\n { draftPostId: string },\n ambassadorWixBlogV3DraftUniversalTypes.PublishDraftPostRequest,\n ambassadorWixBlogV3DraftTypes.PublishDraftPostRequest,\n ambassadorWixBlogV3DraftUniversalTypes.PublishDraftPostResponse,\n ambassadorWixBlogV3DraftTypes.PublishDraftPostResponse\n> {\n const payload = { draftPostId: ':draftPostId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Draft.publishDraftPost(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/draft-posts/{draftPostId}/publish',\n pathParams: { draftPostId: 'draftPostId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;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,wBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,uBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3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,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,oBAOd;AACA,QAAM,UAAU,EAAE,aAAa,eAAe;AAE9C,QAAM,oBAA6C,iBAAiB,OAAO;AAE3E,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,aAAa,cAAc;AAAA,IACzC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkCreateDraftPosts","bulkDeleteDraftPosts","bulkUpdateDraftPosts","createDraftPost","deleteDraftPost","getDeletedDraftPost","getDraftPost","listDeletedDraftPosts","listDraftPosts","publishDraftPost","queryDraftPosts","removeFromTrashBin","restoreFromTrashBin","updateDraftPost","import_float","import_timestamp","import_rest_modules","payload","createDraftPost","bulkCreateDraftPosts","bulkUpdateDraftPosts","listDeletedDraftPosts","getDraftPost","updateDraftPost","deleteDraftPost","removeFromTrashBin","bulkDeleteDraftPosts","listDraftPosts","getDeletedDraftPost","restoreFromTrashBin","queryDraftPosts","publishDraftPost"]}
|
|
@@ -1350,6 +1350,10 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1350
1350
|
spoilerData?: SpoilerData;
|
|
1351
1351
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1352
1352
|
strikethroughData?: boolean | null;
|
|
1353
|
+
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1354
|
+
superscriptData?: boolean | null;
|
|
1355
|
+
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1356
|
+
subscriptData?: boolean | null;
|
|
1353
1357
|
/** The type of decoration to apply. */
|
|
1354
1358
|
type?: DecorationTypeWithLiterals;
|
|
1355
1359
|
}
|
|
@@ -1375,6 +1379,10 @@ interface DecorationDataOneOf {
|
|
|
1375
1379
|
spoilerData?: SpoilerData;
|
|
1376
1380
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1377
1381
|
strikethroughData?: boolean | null;
|
|
1382
|
+
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1383
|
+
superscriptData?: boolean | null;
|
|
1384
|
+
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1385
|
+
subscriptData?: boolean | null;
|
|
1378
1386
|
}
|
|
1379
1387
|
declare enum DecorationType {
|
|
1380
1388
|
BOLD = "BOLD",
|
|
@@ -1387,10 +1395,12 @@ declare enum DecorationType {
|
|
|
1387
1395
|
COLOR = "COLOR",
|
|
1388
1396
|
FONT_SIZE = "FONT_SIZE",
|
|
1389
1397
|
EXTERNAL = "EXTERNAL",
|
|
1390
|
-
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1398
|
+
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1399
|
+
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1400
|
+
SUBSCRIPT = "SUBSCRIPT"
|
|
1391
1401
|
}
|
|
1392
1402
|
/** @enumType */
|
|
1393
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
|
1403
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
|
|
1394
1404
|
interface AnchorData {
|
|
1395
1405
|
/** The target node's ID. */
|
|
1396
1406
|
anchor?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { D as DraftPost, C as CreateDraftPostOptions, a as CreateDraftPostResponse, B as BulkCreateDraftPostsOptions, b as BulkCreateDraftPostsResponse, c as BulkUpdateDraftPostsOptions, d as BulkUpdateDraftPostsResponse, L as ListDeletedDraftPostsOptions, e as ListDeletedDraftPostsResponse, G as GetDraftPostOptions, f as GetDraftPostResponse, U as UpdateDraftPost, g as UpdateDraftPostOptions, h as UpdateDraftPostResponse, i as DeleteDraftPostOptions, j as BulkDeleteDraftPostsOptions, k as BulkDeleteDraftPostsResponse, l as ListDraftPostsOptions, m as ListDraftPostsResponse, n as GetDeletedDraftPostResponse, R as RestoreFromTrashBinResponse, Q as QueryDraftPostsOptions, o as DraftPostsQueryBuilder, P as PublishDraftPostResponse, p as DraftCreatedEnvelope, q as DraftDeletedEnvelope, r as DraftUpdatedEnvelope } from './blog-v3-draft-draft-posts.universal-
|
|
3
|
-
export { aa as Action, c5 as ActionEvent, A as Alignment, bf as AnchorData, bl as AppEmbedData, bm as AppEmbedDataAppDataOneOf, $ as AppType, ce as ApplicationError, d6 as ApproveDraftPostRequest, d7 as ApproveDraftPostResponse, bA as AudioData, b5 as Background, b6 as BackgroundBackgroundOneOf, Y as BackgroundType, da as BaseEventMetadata, bD as BlockquoteData, ck as BlogPaging, bn as BookingData, al as Border, by as BorderColors, cf as BulkActionMetadata, cb as BulkCreateDraftPostsRequest, cx as BulkDeleteDraftPostsRequest, cc as BulkDraftPostResult, d0 as BulkRejectDraftPostRequest, d1 as BulkRejectDraftPostResponse, c_ as BulkRevertToUnpublishedRequest, c$ as BulkRevertToUnpublishedResponse, cV as BulkUpdateDraftPostLanguageRequest, cW as BulkUpdateDraftPostLanguageResponse, cg as BulkUpdateDraftPostsRequest, bC as BulletedListData, ak as ButtonData, t as ButtonDataType, bE as CaptionData, cN as Category, cO as CategoryTranslation, bx as CellStyle, aw as CodeBlockData, bt as CollapsibleListData, bg as ColorData, am as Colors, ad as CoverMedia, ae as CoverMediaMediaOneOf, ca as CreateDraftPostRequest, z as Crop, cG as CursorPaging, cn as Cursors, bd as Decoration, be as DecorationDataOneOf, Z as DecorationType, ct as DeleteDraftPostRequest, cu as DeleteDraftPostResponse, bb as Design, bv as Dimensions, a1 as Direction, ay as DividerData, bH as DocumentStyle, b$ as DomainEvent, c0 as DomainEventBodyOneOf, bW as DraftCategoriesUpdated, ci as DraftPostOwnerChanged, bV as DraftPostTranslation, dc as DraftPostsQueryResult, bX as DraftTagsUpdated, br as EmbedData, bS as EmbedMedia, bT as EmbedThumbnail, bU as EmbedVideo, c1 as EntityCreatedEvent, c4 as EntityDeletedEvent, c3 as EntityUpdatedEvent, bo as EventData, db as EventMetadata, a9 as Field, az as FileData, aA as FileSource, aB as FileSourceDataOneOf, af as FocalPoint, bj as FontSizeData, _ as FontType, aO as GIF, aN as GIFData, F as GIFType, aD as GalleryData, aJ as GalleryOptions, cz as GetDeletedDraftPostRequest, co as GetDraftPostRequest, bY as GetDraftPostTotalsRequest, bZ as GetDraftPostTotalsResponse, ab as GetDraftPostsSort, cX as GetPostAmountsByLanguageRequest, cY as GetPostAmountsByLanguageResponse, b4 as Gradient, aQ as HTMLData, aR as HTMLDataDataOneOf, aP as HeadingData, ar as Height, c7 as IdentificationData, c8 as IdentificationDataIdOneOf, aF as Image, aS as ImageData, aU as ImageDataStyles, c9 as InitialDraftPostsCopied, a0 as InitialExpandedItems, cR as IsDraftPostAutoTranslatableRequest, cS as IsDraftPostAutoTranslatableResponse, aH as Item, aI as ItemDataOneOf, cd as ItemMetadata, aL as ItemStyle, bL as Keyword, aK as Layout, bF as LayoutCellData, x as LayoutType, v as LineStyle, at as Link, bh as LinkData, au as LinkDataOneOf, aV as LinkPreviewData, aW as LinkPreviewDataStyles, cj as ListDeletedDraftPostsRequest, cy as ListDraftPostsRequest, bz as ListValue, aX as MapData, aY as MapSettings, M as MapType, d8 as MarkPostAsInModerationRequest, d9 as MarkPostAsInModerationResponse, ch as MaskedDraftPosts, bO as Media, bP as MediaMediaOneOf, bi as MentionData, c6 as MessageEnvelope, cl as MetaData, bG as Metadata, bJ as ModerationDetails, a5 as ModerationStatusStatus, ah as Node, ai as NodeDataOneOf, aj as NodeStyle, N as NodeType, a3 as NullValue, bs as Oembed, b0 as Option, b8 as OptionDesign, b3 as OptionLayout, bB as OrderedListData, y as Orientation, O as Origin, aC as PDFSettings, cF as Paging, cm as PagingMetadataV2, aZ as ParagraphData, a$ as Permissions, cD as PlatformQuery, cE as PlatformQueryPagingMethodOneOf, bq as PlaybackOptions, an as PluginContainerData, s as PluginContainerDataAlignment, ao as PluginContainerDataWidth, ap as PluginContainerDataWidthDataOneOf, b9 as Poll, a_ as PollData, ba as PollDataLayout, b7 as PollDesign, b2 as PollLayout, X as PollLayoutDirection, K as PollLayoutType, b1 as PollSettings, H as Position, cZ as PostAmountByLanguage, cI as PublishDraftPostRequest, cB as QueryDraftPostsRequest, cH as QueryDraftPostsResponse, d4 as RejectDraftPostRequest, d5 as RejectDraftPostResponse, av as Rel, cv as RemoveFromTrashBinRequest, cw as RemoveFromTrashBinResponse, cA as RestoreFromTrashBinRequest, c2 as RestoreInfo, d2 as RevertToUnpublishedRequest, d3 as RevertToUnpublishedResponse, ag as RichContent, bK as SeoSchema, bN as Settings, ac as SortOrder, cC as Sorting, S as Source, aq as Spoiler, bk as SpoilerData, a4 as Status, as as Styles, aT as StylesBorder, bw as TableCellData, bu as TableData, bM as Tag, T as Target, u as TextAlignment, bc as TextData, bI as TextNodeStyle, ax as TextStyle, aM as Thumbnails, E as ThumbnailsAlignment, b_ as TotalDraftPosts, a6 as TotalDraftPostsGroupingField, cL as TranslateCategoryRequest, cM as TranslateCategoryResponse, cP as TranslateDraftRequest, cQ as TranslateDraftResponse, a8 as Type, cJ as UnpublishPostRequest, cK as UnpublishPostResponse, cp as UpdateDraftPostContentRequest, cq as UpdateDraftPostContentRequestDraftContentOneOf, cr as UpdateDraftPostContentResponse, cT as UpdateDraftPostLanguageRequest, cU as UpdateDraftPostLanguageResponse, cs as UpdateDraftPostRequest, aE as V1Media, a2 as VerticalAlignment, aG as Video, bp as VideoData, bR as VideoResolution, V as ViewMode, I as ViewRole, J as VoteRole, a7 as WebhookIdentityType, w as Width, W as WidthType, bQ as WixMedia } from './blog-v3-draft-draft-posts.universal-
|
|
2
|
+
import { D as DraftPost, C as CreateDraftPostOptions, a as CreateDraftPostResponse, B as BulkCreateDraftPostsOptions, b as BulkCreateDraftPostsResponse, c as BulkUpdateDraftPostsOptions, d as BulkUpdateDraftPostsResponse, L as ListDeletedDraftPostsOptions, e as ListDeletedDraftPostsResponse, G as GetDraftPostOptions, f as GetDraftPostResponse, U as UpdateDraftPost, g as UpdateDraftPostOptions, h as UpdateDraftPostResponse, i as DeleteDraftPostOptions, j as BulkDeleteDraftPostsOptions, k as BulkDeleteDraftPostsResponse, l as ListDraftPostsOptions, m as ListDraftPostsResponse, n as GetDeletedDraftPostResponse, R as RestoreFromTrashBinResponse, Q as QueryDraftPostsOptions, o as DraftPostsQueryBuilder, P as PublishDraftPostResponse, p as DraftCreatedEnvelope, q as DraftDeletedEnvelope, r as DraftUpdatedEnvelope } from './blog-v3-draft-draft-posts.universal-DE4EwIQq.mjs';
|
|
3
|
+
export { aa as Action, c5 as ActionEvent, A as Alignment, bf as AnchorData, bl as AppEmbedData, bm as AppEmbedDataAppDataOneOf, $ as AppType, ce as ApplicationError, d6 as ApproveDraftPostRequest, d7 as ApproveDraftPostResponse, bA as AudioData, b5 as Background, b6 as BackgroundBackgroundOneOf, Y as BackgroundType, da as BaseEventMetadata, bD as BlockquoteData, ck as BlogPaging, bn as BookingData, al as Border, by as BorderColors, cf as BulkActionMetadata, cb as BulkCreateDraftPostsRequest, cx as BulkDeleteDraftPostsRequest, cc as BulkDraftPostResult, d0 as BulkRejectDraftPostRequest, d1 as BulkRejectDraftPostResponse, c_ as BulkRevertToUnpublishedRequest, c$ as BulkRevertToUnpublishedResponse, cV as BulkUpdateDraftPostLanguageRequest, cW as BulkUpdateDraftPostLanguageResponse, cg as BulkUpdateDraftPostsRequest, bC as BulletedListData, ak as ButtonData, t as ButtonDataType, bE as CaptionData, cN as Category, cO as CategoryTranslation, bx as CellStyle, aw as CodeBlockData, bt as CollapsibleListData, bg as ColorData, am as Colors, ad as CoverMedia, ae as CoverMediaMediaOneOf, ca as CreateDraftPostRequest, z as Crop, cG as CursorPaging, cn as Cursors, bd as Decoration, be as DecorationDataOneOf, Z as DecorationType, ct as DeleteDraftPostRequest, cu as DeleteDraftPostResponse, bb as Design, bv as Dimensions, a1 as Direction, ay as DividerData, bH as DocumentStyle, b$ as DomainEvent, c0 as DomainEventBodyOneOf, bW as DraftCategoriesUpdated, ci as DraftPostOwnerChanged, bV as DraftPostTranslation, dc as DraftPostsQueryResult, bX as DraftTagsUpdated, br as EmbedData, bS as EmbedMedia, bT as EmbedThumbnail, bU as EmbedVideo, c1 as EntityCreatedEvent, c4 as EntityDeletedEvent, c3 as EntityUpdatedEvent, bo as EventData, db as EventMetadata, a9 as Field, az as FileData, aA as FileSource, aB as FileSourceDataOneOf, af as FocalPoint, bj as FontSizeData, _ as FontType, aO as GIF, aN as GIFData, F as GIFType, aD as GalleryData, aJ as GalleryOptions, cz as GetDeletedDraftPostRequest, co as GetDraftPostRequest, bY as GetDraftPostTotalsRequest, bZ as GetDraftPostTotalsResponse, ab as GetDraftPostsSort, cX as GetPostAmountsByLanguageRequest, cY as GetPostAmountsByLanguageResponse, b4 as Gradient, aQ as HTMLData, aR as HTMLDataDataOneOf, aP as HeadingData, ar as Height, c7 as IdentificationData, c8 as IdentificationDataIdOneOf, aF as Image, aS as ImageData, aU as ImageDataStyles, c9 as InitialDraftPostsCopied, a0 as InitialExpandedItems, cR as IsDraftPostAutoTranslatableRequest, cS as IsDraftPostAutoTranslatableResponse, aH as Item, aI as ItemDataOneOf, cd as ItemMetadata, aL as ItemStyle, bL as Keyword, aK as Layout, bF as LayoutCellData, x as LayoutType, v as LineStyle, at as Link, bh as LinkData, au as LinkDataOneOf, aV as LinkPreviewData, aW as LinkPreviewDataStyles, cj as ListDeletedDraftPostsRequest, cy as ListDraftPostsRequest, bz as ListValue, aX as MapData, aY as MapSettings, M as MapType, d8 as MarkPostAsInModerationRequest, d9 as MarkPostAsInModerationResponse, ch as MaskedDraftPosts, bO as Media, bP as MediaMediaOneOf, bi as MentionData, c6 as MessageEnvelope, cl as MetaData, bG as Metadata, bJ as ModerationDetails, a5 as ModerationStatusStatus, ah as Node, ai as NodeDataOneOf, aj as NodeStyle, N as NodeType, a3 as NullValue, bs as Oembed, b0 as Option, b8 as OptionDesign, b3 as OptionLayout, bB as OrderedListData, y as Orientation, O as Origin, aC as PDFSettings, cF as Paging, cm as PagingMetadataV2, aZ as ParagraphData, a$ as Permissions, cD as PlatformQuery, cE as PlatformQueryPagingMethodOneOf, bq as PlaybackOptions, an as PluginContainerData, s as PluginContainerDataAlignment, ao as PluginContainerDataWidth, ap as PluginContainerDataWidthDataOneOf, b9 as Poll, a_ as PollData, ba as PollDataLayout, b7 as PollDesign, b2 as PollLayout, X as PollLayoutDirection, K as PollLayoutType, b1 as PollSettings, H as Position, cZ as PostAmountByLanguage, cI as PublishDraftPostRequest, cB as QueryDraftPostsRequest, cH as QueryDraftPostsResponse, d4 as RejectDraftPostRequest, d5 as RejectDraftPostResponse, av as Rel, cv as RemoveFromTrashBinRequest, cw as RemoveFromTrashBinResponse, cA as RestoreFromTrashBinRequest, c2 as RestoreInfo, d2 as RevertToUnpublishedRequest, d3 as RevertToUnpublishedResponse, ag as RichContent, bK as SeoSchema, bN as Settings, ac as SortOrder, cC as Sorting, S as Source, aq as Spoiler, bk as SpoilerData, a4 as Status, as as Styles, aT as StylesBorder, bw as TableCellData, bu as TableData, bM as Tag, T as Target, u as TextAlignment, bc as TextData, bI as TextNodeStyle, ax as TextStyle, aM as Thumbnails, E as ThumbnailsAlignment, b_ as TotalDraftPosts, a6 as TotalDraftPostsGroupingField, cL as TranslateCategoryRequest, cM as TranslateCategoryResponse, cP as TranslateDraftRequest, cQ as TranslateDraftResponse, a8 as Type, cJ as UnpublishPostRequest, cK as UnpublishPostResponse, cp as UpdateDraftPostContentRequest, cq as UpdateDraftPostContentRequestDraftContentOneOf, cr as UpdateDraftPostContentResponse, cT as UpdateDraftPostLanguageRequest, cU as UpdateDraftPostLanguageResponse, cs as UpdateDraftPostRequest, aE as V1Media, a2 as VerticalAlignment, aG as Video, bp as VideoData, bR as VideoResolution, V as ViewMode, I as ViewRole, J as VoteRole, a7 as WebhookIdentityType, w as Width, W as WidthType, bQ as WixMedia } from './blog-v3-draft-draft-posts.universal-DE4EwIQq.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createDraftPost$1(httpClient: HttpClient): CreateDraftPostSignature;
|
|
6
6
|
interface CreateDraftPostSignature {
|
|
@@ -2001,6 +2001,8 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
2001
2001
|
DecorationType2["FONT_SIZE"] = "FONT_SIZE";
|
|
2002
2002
|
DecorationType2["EXTERNAL"] = "EXTERNAL";
|
|
2003
2003
|
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
2004
|
+
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
2005
|
+
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
2004
2006
|
return DecorationType2;
|
|
2005
2007
|
})(DecorationType || {});
|
|
2006
2008
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|