@wix/auto_sdk_blog_posts 1.0.33 → 1.0.34

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.
@@ -1,4 +1,4 @@
1
- import { bW as QueryPostCountStatsRequest$1, a as QueryPostCountStatsResponse$1, b_ as GetTotalPostsRequest$1, b as GetTotalPostsResponse$1, cv as GetPostRequest$1, cw as GetPostResponse$1, cx as GetPostBySlugRequest$1, e as GetPostBySlugResponse$1, cy as ListPostsRequest$1, f as ListPostsResponse$1, cz as QueryPostsRequest$1, cF as QueryPostsResponse$1, cI as GetPostMetricsRequest$1, i as GetPostMetricsResponse$1 } from './blog-v3-post-posts.universal-hTPKKRYx.mjs';
1
+ import { bX as QueryPostCountStatsRequest$1, a as QueryPostCountStatsResponse$1, b$ as GetTotalPostsRequest$1, b as GetTotalPostsResponse$1, cw as GetPostRequest$1, d as GetPostResponse$1, cx as GetPostBySlugRequest$1, f as GetPostBySlugResponse$1, cy as ListPostsRequest$1, g as ListPostsResponse$1, cz as QueryPostsRequest$1, cF as QueryPostsResponse$1, cI as GetPostMetricsRequest$1, i as GetPostMetricsResponse$1 } from './blog-v3-post-posts.universal-DQPJ111E.mjs';
2
2
 
3
3
  interface Post {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/blog-v3-post-posts.http.ts","../../src/blog-v3-post-posts.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTBytesToSDKBytes } from '@wix/sdk-runtime/transformations/bytes';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\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 resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n _: [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/blogs/this',\n destPath: '/_api/blogs/this',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/categories',\n destPath: '/_api/categories',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/site-properties',\n destPath: '/_api/site-properties',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/posts/content',\n destPath: '/_api/posts/content',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n '*.pub.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'social-blog._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/blog/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/blog/v3',\n destPath: '/v3',\n },\n {\n srcPath: '/v2/stats',\n destPath: '/v2/stats',\n },\n {\n srcPath: '/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/blog/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/blog/v2/stats',\n destPath: '/v2/stats',\n },\n {\n srcPath: '/_api/v3/posts',\n destPath: '/v3/posts',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n _: [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/blogs/this',\n destPath: '/_api/blogs/this',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/categories',\n destPath: '/_api/categories',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/site-properties',\n destPath: '/_api/site-properties',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/posts/content',\n destPath: '/_api/posts/content',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n '*.pub.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'social-blog._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/blog/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/blog/v3',\n destPath: '/v3',\n },\n {\n srcPath: '/v2/stats',\n destPath: '/v2/stats',\n },\n {\n srcPath: '/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/blog/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/blog/v2/stats',\n destPath: '/v2/stats',\n },\n {\n srcPath: '/_api/v3/posts',\n destPath: '/v3/posts',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_blog_posts';\n\n/**\n * Retrieves the number of published posts per month within a specified time range.\n *\n * The time range is set using the `rangeStart` and `months` properties.\n * The time range always starts on the 1st day of the month set in `rangeStart` and\n * includes the number of `months` following `rangeStart`.\n * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,\n * the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.\n * > Note: If there are no published posts in a month within the time range, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.\n */\nexport function queryPostCountStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryPostCountStats({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'rangeStart' }, { path: 'rangeEnd' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({\n protoPath: '/v2/stats/post/count',\n data: serializedData,\n host,\n }),\n params: toURLSearchParams(serializedData),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'stats.periodStart' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryPostCountStats;\n}\n\n/** Retrieves the total amount of published posts of the blog. */\nexport function getTotalPosts(payload: object): RequestOptionsFactory<any> {\n function __getTotalPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({\n protoPath: '/v2/stats/posts/total',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getTotalPosts;\n}\n\n/** Retrieves a post by the specified ID. */\nexport function getPost(payload: object): RequestOptionsFactory<any> {\n function __getPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts/{postId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'post.firstPublishedDate' },\n { path: 'post.lastPublishedDate' },\n { path: 'post.coverMedia.image.urlExpirationDate' },\n { path: 'post.coverMedia.video.thumbnail.urlExpirationDate' },\n { path: 'post.heroImage.urlExpirationDate' },\n { path: 'post.richContent.metadata.createdTimestamp' },\n { path: 'post.richContent.metadata.updatedTimestamp' },\n { path: 'post.moderationDetails.submittedDate' },\n { path: 'post.moderationDetails.moderationDate' },\n { path: 'post.media.wixMedia.image.urlExpirationDate' },\n { path: 'post.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n { path: 'post.media.wixMedia.videoV2.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'post.richContentCompressed' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'post.coverMedia.image.focalPoint.x' },\n { path: 'post.coverMedia.image.focalPoint.y' },\n { path: 'post.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'post.coverMedia.video.thumbnail.focalPoint.y' },\n { path: 'post.heroImage.focalPoint.x' },\n { path: 'post.heroImage.focalPoint.y' },\n { path: 'post.media.wixMedia.image.focalPoint.x' },\n { path: 'post.media.wixMedia.image.focalPoint.y' },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'post.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'post.media.wixMedia.videoV2.posters.focalPoint.y' },\n { path: 'post.metrics.averageRating' },\n {\n path: 'post.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'post.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'post.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'post.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'post.richContent.nodes.imageData.image.duration' },\n { path: 'post.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'post.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'post.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'post.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'post.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'post.richContent.nodes.appEmbedData.image.duration' },\n { path: 'post.richContent.nodes.videoData.video.duration' },\n { path: 'post.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'post.richContent.nodes.audioData.audio.duration' },\n { path: 'post.richContent.nodes.audioData.coverImage.duration' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPost;\n}\n\n/**\n * Retrieves a post with the provided slug.\n *\n * The slug is the end of a post's URL that refers to a specific post.\n * For example, if a post's URL is `https:/example.com/blog/post/my-post-slug`,\n * the slug is `my-post-slug`. The slug is case-sensitive, and is generally derived from the post title,\n * unless specified otherwise.\n */\nexport function getPostBySlug(payload: object): RequestOptionsFactory<any> {\n function __getPostBySlug({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts/slugs/{slug}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'post.firstPublishedDate' },\n { path: 'post.lastPublishedDate' },\n { path: 'post.coverMedia.image.urlExpirationDate' },\n { path: 'post.coverMedia.video.thumbnail.urlExpirationDate' },\n { path: 'post.heroImage.urlExpirationDate' },\n { path: 'post.richContent.metadata.createdTimestamp' },\n { path: 'post.richContent.metadata.updatedTimestamp' },\n { path: 'post.moderationDetails.submittedDate' },\n { path: 'post.moderationDetails.moderationDate' },\n { path: 'post.media.wixMedia.image.urlExpirationDate' },\n { path: 'post.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n { path: 'post.media.wixMedia.videoV2.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'post.richContentCompressed' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'post.coverMedia.image.focalPoint.x' },\n { path: 'post.coverMedia.image.focalPoint.y' },\n { path: 'post.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'post.coverMedia.video.thumbnail.focalPoint.y' },\n { path: 'post.heroImage.focalPoint.x' },\n { path: 'post.heroImage.focalPoint.y' },\n { path: 'post.media.wixMedia.image.focalPoint.x' },\n { path: 'post.media.wixMedia.image.focalPoint.y' },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'post.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'post.media.wixMedia.videoV2.posters.focalPoint.y' },\n { path: 'post.metrics.averageRating' },\n {\n path: 'post.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'post.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'post.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'post.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'post.richContent.nodes.imageData.image.duration' },\n { path: 'post.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'post.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'post.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'post.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'post.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'post.richContent.nodes.appEmbedData.image.duration' },\n { path: 'post.richContent.nodes.videoData.video.duration' },\n { path: 'post.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'post.richContent.nodes.audioData.audio.duration' },\n { path: 'post.richContent.nodes.audioData.coverImage.duration' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPostBySlug;\n}\n\n/**\n * Retrieves a list of up to 100 published posts per request.\n *\n * List Posts runs with these defaults, which you can override:\n * - `firstPublishedDate` is sorted in descending order, with pinned posts first.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n */\nexport function listPosts(payload: object): RequestOptionsFactory<any> {\n function __listPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'posts.firstPublishedDate' },\n { path: 'posts.lastPublishedDate' },\n { path: 'posts.coverMedia.image.urlExpirationDate' },\n { path: 'posts.coverMedia.video.thumbnail.urlExpirationDate' },\n { path: 'posts.heroImage.urlExpirationDate' },\n { path: 'posts.richContent.metadata.createdTimestamp' },\n { path: 'posts.richContent.metadata.updatedTimestamp' },\n { path: 'posts.moderationDetails.submittedDate' },\n { path: 'posts.moderationDetails.moderationDate' },\n { path: 'posts.media.wixMedia.image.urlExpirationDate' },\n { path: 'posts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'posts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'posts.richContentCompressed' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'posts.coverMedia.image.focalPoint.x' },\n { path: 'posts.coverMedia.image.focalPoint.y' },\n { path: 'posts.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'posts.coverMedia.video.thumbnail.focalPoint.y' },\n { path: 'posts.heroImage.focalPoint.x' },\n { path: 'posts.heroImage.focalPoint.y' },\n { path: 'posts.media.wixMedia.image.focalPoint.x' },\n { path: 'posts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'posts.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'posts.media.wixMedia.videoV2.posters.focalPoint.y' },\n { path: 'posts.metrics.averageRating' },\n {\n path: 'posts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'posts.richContent.nodes.imageData.image.duration' },\n { path: 'posts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'posts.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'posts.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'posts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'posts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'posts.richContent.nodes.appEmbedData.image.duration' },\n { path: 'posts.richContent.nodes.videoData.video.duration' },\n { path: 'posts.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'posts.richContent.nodes.audioData.audio.duration' },\n { path: 'posts.richContent.nodes.audioData.coverImage.duration' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listPosts;\n}\n\n/**\n * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.\n *\n * Query Posts runs with these defaults, which you can override:\n * - `firstPublishedDate` is sorted in descending order, with pinned posts first.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n *\n * For field support for filters and sorting, see\n * [Field Support for Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/filter-and-sort).\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),\n * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and\n * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).\n * For a detailed list of supported filters and sortable fields, see\n * [Field Support for Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/filter-and-sort).\n */\nexport function queryPosts(payload: object): RequestOptionsFactory<any> {\n function __queryPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'posts.firstPublishedDate' },\n { path: 'posts.lastPublishedDate' },\n { path: 'posts.coverMedia.image.urlExpirationDate' },\n { path: 'posts.coverMedia.video.thumbnail.urlExpirationDate' },\n { path: 'posts.heroImage.urlExpirationDate' },\n { path: 'posts.richContent.metadata.createdTimestamp' },\n { path: 'posts.richContent.metadata.updatedTimestamp' },\n { path: 'posts.moderationDetails.submittedDate' },\n { path: 'posts.moderationDetails.moderationDate' },\n { path: 'posts.media.wixMedia.image.urlExpirationDate' },\n { path: 'posts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'posts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'posts.richContentCompressed' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'posts.coverMedia.image.focalPoint.x' },\n { path: 'posts.coverMedia.image.focalPoint.y' },\n { path: 'posts.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'posts.coverMedia.video.thumbnail.focalPoint.y' },\n { path: 'posts.heroImage.focalPoint.x' },\n { path: 'posts.heroImage.focalPoint.y' },\n { path: 'posts.media.wixMedia.image.focalPoint.x' },\n { path: 'posts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'posts.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'posts.media.wixMedia.videoV2.posters.focalPoint.y' },\n { path: 'posts.metrics.averageRating' },\n {\n path: 'posts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'posts.richContent.nodes.imageData.image.duration' },\n { path: 'posts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'posts.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'posts.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'posts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'posts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'posts.richContent.nodes.appEmbedData.image.duration' },\n { path: 'posts.richContent.nodes.videoData.video.duration' },\n { path: 'posts.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'posts.richContent.nodes.audioData.audio.duration' },\n { path: 'posts.richContent.nodes.audioData.coverImage.duration' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryPosts;\n}\n\n/**\n * Retrieves a post's metrics.\n *\n * A post's metrics include the comments, likes, and views the post receives.\n */\nexport function getPostMetrics(payload: object): RequestOptionsFactory<any> {\n function __getPostMetrics({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts/{postId}/metrics',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'metrics.averageRating' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPostMetrics;\n}\n","import * as ambassadorWixBlogV3Post from './blog-v3-post-posts.http.js';\nimport * as ambassadorWixBlogV3PostTypes from './blog-v3-post-posts.types.js';\nimport * as ambassadorWixBlogV3PostUniversalTypes from './blog-v3-post-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 queryPostCountStats(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV3PostUniversalTypes.QueryPostCountStatsRequest,\n ambassadorWixBlogV3PostTypes.QueryPostCountStatsRequest,\n ambassadorWixBlogV3PostUniversalTypes.QueryPostCountStatsResponse,\n ambassadorWixBlogV3PostTypes.QueryPostCountStatsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Post.queryPostCountStats(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: '/v2/stats/post/count',\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 getTotalPosts(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV3PostUniversalTypes.GetTotalPostsRequest,\n ambassadorWixBlogV3PostTypes.GetTotalPostsRequest,\n ambassadorWixBlogV3PostUniversalTypes.GetTotalPostsResponse,\n ambassadorWixBlogV3PostTypes.GetTotalPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.getTotalPosts(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: '/v2/stats/posts/total',\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 getPost(): __PublicMethodMetaInfo<\n 'GET',\n { postId: string },\n ambassadorWixBlogV3PostUniversalTypes.GetPostRequest,\n ambassadorWixBlogV3PostTypes.GetPostRequest,\n ambassadorWixBlogV3PostUniversalTypes.GetPostResponse,\n ambassadorWixBlogV3PostTypes.GetPostResponse\n> {\n const payload = { postId: ':postId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.getPost(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/posts/{postId}',\n pathParams: { postId: 'postId' },\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 getPostBySlug(): __PublicMethodMetaInfo<\n 'GET',\n { slug: string },\n ambassadorWixBlogV3PostUniversalTypes.GetPostBySlugRequest,\n ambassadorWixBlogV3PostTypes.GetPostBySlugRequest,\n ambassadorWixBlogV3PostUniversalTypes.GetPostBySlugResponse,\n ambassadorWixBlogV3PostTypes.GetPostBySlugResponse\n> {\n const payload = { slug: ':slug' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.getPostBySlug(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/posts/slugs/{slug}',\n pathParams: { slug: 'slug' },\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 listPosts(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV3PostUniversalTypes.ListPostsRequest,\n ambassadorWixBlogV3PostTypes.ListPostsRequest,\n ambassadorWixBlogV3PostUniversalTypes.ListPostsResponse,\n ambassadorWixBlogV3PostTypes.ListPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.listPosts(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/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 queryPosts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBlogV3PostUniversalTypes.QueryPostsRequest,\n ambassadorWixBlogV3PostTypes.QueryPostsRequest,\n ambassadorWixBlogV3PostUniversalTypes.QueryPostsResponse,\n ambassadorWixBlogV3PostTypes.QueryPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.queryPosts(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/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 getPostMetrics(): __PublicMethodMetaInfo<\n 'GET',\n { postId: string },\n ambassadorWixBlogV3PostUniversalTypes.GetPostMetricsRequest,\n ambassadorWixBlogV3PostTypes.GetPostMetricsRequest,\n ambassadorWixBlogV3PostUniversalTypes.GetPostMetricsResponse,\n ambassadorWixBlogV3PostTypes.GetPostMetricsResponse\n> {\n const payload = { postId: ':postId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.getPostMetrics(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/posts/{postId}/metrics',\n pathParams: { postId: 'postId' },\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,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,iEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,Q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;AAAA,EAC1B;AACF;AAEO,SAASC,aAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAA4C,UAAU,OAAO;AAEnE,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,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,cAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAA4C,WAAW,OAAO;AAEpE,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,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kBAOd;AACA,QAAM,UAAU,EAAE,QAAQ,UAAU;AAEpC,QAAM,oBAA4C,eAAe,OAAO;AAExE,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,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","queryPostCountStats","getTotalPosts","getPost","getPostBySlug","listPosts","queryPosts","getPostMetrics"]}
1
+ {"version":3,"sources":["../../src/blog-v3-post-posts.http.ts","../../src/blog-v3-post-posts.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTBytesToSDKBytes } from '@wix/sdk-runtime/transformations/bytes';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\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 resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n _: [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/blogs/this',\n destPath: '/_api/blogs/this',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/categories',\n destPath: '/_api/categories',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/site-properties',\n destPath: '/_api/site-properties',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/posts/content',\n destPath: '/_api/posts/content',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n '*.pub.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'social-blog._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/blog/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/blog/v3',\n destPath: '/v3',\n },\n {\n srcPath: '/v2/stats',\n destPath: '/v2/stats',\n },\n {\n srcPath: '/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/blog/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/blog/v2/stats',\n destPath: '/v2/stats',\n },\n {\n srcPath: '/_api/v3/posts',\n destPath: '/v3/posts',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n _: [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/blogs/this',\n destPath: '/_api/blogs/this',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/categories',\n destPath: '/_api/categories',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/site-properties',\n destPath: '/_api/site-properties',\n },\n {\n srcPath: '/_api/communities-blog-node-api/_api/posts/content',\n destPath: '/_api/posts/content',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/_api/communities-blog-node-api/v2/stats',\n destPath: '/v2/stats',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n '*.pub.wix-code.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'social-blog._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/communities-blog-node-api',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/blog/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/blog/v3',\n destPath: '/v3',\n },\n {\n srcPath: '/v2/stats',\n destPath: '/v2/stats',\n },\n {\n srcPath: '/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/blog/v3/posts',\n destPath: '/v3/posts',\n },\n {\n srcPath: '/blog/v2/stats',\n destPath: '/v2/stats',\n },\n {\n srcPath: '/_api/v3/posts',\n destPath: '/v3/posts',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_blog_posts';\n\n/**\n * Retrieves the number of published posts per month within a specified time range.\n *\n *\n * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.\n *\n * You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.\n *\n * >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.\n */\nexport function queryPostCountStats(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryPostCountStats({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'rangeStart' }, { path: 'rangeEnd' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({\n protoPath: '/v2/stats/post/count',\n data: serializedData,\n host,\n }),\n params: toURLSearchParams(serializedData),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'stats.periodStart' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryPostCountStats;\n}\n\n/** Retrieves the total amount of published posts of the blog. */\nexport function getTotalPosts(payload: object): RequestOptionsFactory<any> {\n function __getTotalPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({\n protoPath: '/v2/stats/posts/total',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getTotalPosts;\n}\n\n/** Retrieves a post by the specified ID. */\nexport function getPost(payload: object): RequestOptionsFactory<any> {\n function __getPost({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts/{postId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'post.firstPublishedDate' },\n { path: 'post.lastPublishedDate' },\n { path: 'post.coverMedia.image.urlExpirationDate' },\n { path: 'post.coverMedia.video.thumbnail.urlExpirationDate' },\n { path: 'post.heroImage.urlExpirationDate' },\n { path: 'post.richContent.metadata.createdTimestamp' },\n { path: 'post.richContent.metadata.updatedTimestamp' },\n { path: 'post.moderationDetails.submittedDate' },\n { path: 'post.moderationDetails.moderationDate' },\n { path: 'post.media.wixMedia.image.urlExpirationDate' },\n { path: 'post.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n { path: 'post.media.wixMedia.videoV2.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'post.richContentCompressed' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'post.coverMedia.image.focalPoint.x' },\n { path: 'post.coverMedia.image.focalPoint.y' },\n { path: 'post.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'post.coverMedia.video.thumbnail.focalPoint.y' },\n { path: 'post.heroImage.focalPoint.x' },\n { path: 'post.heroImage.focalPoint.y' },\n { path: 'post.media.wixMedia.image.focalPoint.x' },\n { path: 'post.media.wixMedia.image.focalPoint.y' },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'post.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'post.media.wixMedia.videoV2.posters.focalPoint.y' },\n { path: 'post.metrics.averageRating' },\n {\n path: 'post.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'post.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'post.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'post.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'post.richContent.nodes.imageData.image.duration' },\n { path: 'post.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'post.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'post.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'post.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'post.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'post.richContent.nodes.appEmbedData.image.duration' },\n { path: 'post.richContent.nodes.videoData.video.duration' },\n { path: 'post.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'post.richContent.nodes.audioData.audio.duration' },\n { path: 'post.richContent.nodes.audioData.coverImage.duration' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPost;\n}\n\n/**\n * Retrieves a post with the provided slug.\n *\n * The slug is the end of a post's URL that refers to a specific post.\n * For example, if a post's URL is `https:/example.com/blog/post/my-post-slug`,\n * the slug is `my-post-slug`. The slug is case-sensitive, and is generally derived from the post title,\n * unless specified otherwise.\n */\nexport function getPostBySlug(payload: object): RequestOptionsFactory<any> {\n function __getPostBySlug({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts/slugs/{slug}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'post.firstPublishedDate' },\n { path: 'post.lastPublishedDate' },\n { path: 'post.coverMedia.image.urlExpirationDate' },\n { path: 'post.coverMedia.video.thumbnail.urlExpirationDate' },\n { path: 'post.heroImage.urlExpirationDate' },\n { path: 'post.richContent.metadata.createdTimestamp' },\n { path: 'post.richContent.metadata.updatedTimestamp' },\n { path: 'post.moderationDetails.submittedDate' },\n { path: 'post.moderationDetails.moderationDate' },\n { path: 'post.media.wixMedia.image.urlExpirationDate' },\n { path: 'post.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n { path: 'post.media.wixMedia.videoV2.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'post.richContentCompressed' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'post.coverMedia.image.focalPoint.x' },\n { path: 'post.coverMedia.image.focalPoint.y' },\n { path: 'post.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'post.coverMedia.video.thumbnail.focalPoint.y' },\n { path: 'post.heroImage.focalPoint.x' },\n { path: 'post.heroImage.focalPoint.y' },\n { path: 'post.media.wixMedia.image.focalPoint.x' },\n { path: 'post.media.wixMedia.image.focalPoint.y' },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'post.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'post.media.wixMedia.videoV2.posters.focalPoint.y' },\n { path: 'post.metrics.averageRating' },\n {\n path: 'post.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'post.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'post.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n { path: 'post.richContent.nodes.galleryData.options.item.ratio' },\n { path: 'post.richContent.nodes.imageData.image.duration' },\n { path: 'post.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'post.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'post.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'post.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'post.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'post.richContent.nodes.appEmbedData.image.duration' },\n { path: 'post.richContent.nodes.videoData.video.duration' },\n { path: 'post.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'post.richContent.nodes.audioData.audio.duration' },\n { path: 'post.richContent.nodes.audioData.coverImage.duration' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPostBySlug;\n}\n\n/**\n * Retrieves a list of up to 100 published posts per request.\n *\n * List Posts runs with these defaults, which you can override:\n * - `firstPublishedDate` is sorted in descending order, with pinned posts first.\n * - `paging.limit` is `50`.\n * - `paging.offset` is `0`.\n */\nexport function listPosts(payload: object): RequestOptionsFactory<any> {\n function __listPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'posts.firstPublishedDate' },\n { path: 'posts.lastPublishedDate' },\n { path: 'posts.coverMedia.image.urlExpirationDate' },\n { path: 'posts.coverMedia.video.thumbnail.urlExpirationDate' },\n { path: 'posts.heroImage.urlExpirationDate' },\n { path: 'posts.richContent.metadata.createdTimestamp' },\n { path: 'posts.richContent.metadata.updatedTimestamp' },\n { path: 'posts.moderationDetails.submittedDate' },\n { path: 'posts.moderationDetails.moderationDate' },\n { path: 'posts.media.wixMedia.image.urlExpirationDate' },\n { path: 'posts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'posts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'posts.richContentCompressed' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'posts.coverMedia.image.focalPoint.x' },\n { path: 'posts.coverMedia.image.focalPoint.y' },\n { path: 'posts.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'posts.coverMedia.video.thumbnail.focalPoint.y' },\n { path: 'posts.heroImage.focalPoint.x' },\n { path: 'posts.heroImage.focalPoint.y' },\n { path: 'posts.media.wixMedia.image.focalPoint.x' },\n { path: 'posts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'posts.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'posts.media.wixMedia.videoV2.posters.focalPoint.y' },\n { path: 'posts.metrics.averageRating' },\n {\n path: 'posts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'posts.richContent.nodes.imageData.image.duration' },\n { path: 'posts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'posts.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'posts.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'posts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'posts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'posts.richContent.nodes.appEmbedData.image.duration' },\n { path: 'posts.richContent.nodes.videoData.video.duration' },\n { path: 'posts.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'posts.richContent.nodes.audioData.audio.duration' },\n { path: 'posts.richContent.nodes.audioData.coverImage.duration' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listPosts;\n}\n\n/**\n * Creates a query to retrieve a list of posts.\n *\n *\n * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` 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 `PostsQueryBuilder` functions onto the query. `PostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryPosts()` returns.\n *\n * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:\n * + `limit(50)`\n * + `descending('firstPublishedDate')`\n *\n * Note that the default limit is `'50'`, but the max limit is `'100'`.\n *\n * To learn how to query posts, refer to the table below.\n *\n * The following `PostsQueryBuilder` functions are supported for the `queryPosts()` function. For a full description of the Posts object, see the object returned for the `items` property in `PostsQueryResult`.\n */\nexport function queryPosts(payload: object): RequestOptionsFactory<any> {\n function __queryPosts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'posts.firstPublishedDate' },\n { path: 'posts.lastPublishedDate' },\n { path: 'posts.coverMedia.image.urlExpirationDate' },\n { path: 'posts.coverMedia.video.thumbnail.urlExpirationDate' },\n { path: 'posts.heroImage.urlExpirationDate' },\n { path: 'posts.richContent.metadata.createdTimestamp' },\n { path: 'posts.richContent.metadata.updatedTimestamp' },\n { path: 'posts.moderationDetails.submittedDate' },\n { path: 'posts.moderationDetails.moderationDate' },\n { path: 'posts.media.wixMedia.image.urlExpirationDate' },\n { path: 'posts.media.wixMedia.videoV2.urlExpirationDate' },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.urlExpirationDate',\n },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'posts.media.wixMedia.videoV2.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTBytesToSDKBytes,\n paths: [{ path: 'posts.richContentCompressed' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'posts.coverMedia.image.focalPoint.x' },\n { path: 'posts.coverMedia.image.focalPoint.y' },\n { path: 'posts.coverMedia.video.thumbnail.focalPoint.x' },\n { path: 'posts.coverMedia.video.thumbnail.focalPoint.y' },\n { path: 'posts.heroImage.focalPoint.x' },\n { path: 'posts.heroImage.focalPoint.y' },\n { path: 'posts.media.wixMedia.image.focalPoint.x' },\n { path: 'posts.media.wixMedia.image.focalPoint.y' },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x',\n },\n {\n path: 'posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y',\n },\n { path: 'posts.media.wixMedia.videoV2.posters.focalPoint.x' },\n { path: 'posts.media.wixMedia.videoV2.posters.focalPoint.y' },\n { path: 'posts.metrics.averageRating' },\n {\n path: 'posts.richContent.nodes.galleryData.items.image.media.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.items.video.media.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.items.video.thumbnail.duration',\n },\n {\n path: 'posts.richContent.nodes.galleryData.options.item.ratio',\n },\n { path: 'posts.richContent.nodes.imageData.image.duration' },\n { path: 'posts.richContent.nodes.mapData.mapSettings.lat' },\n { path: 'posts.richContent.nodes.mapData.mapSettings.lng' },\n { path: 'posts.richContent.nodes.pollData.poll.image.duration' },\n {\n path: 'posts.richContent.nodes.pollData.poll.options.image.duration',\n },\n {\n path: 'posts.richContent.nodes.pollData.design.poll.background.image.duration',\n },\n { path: 'posts.richContent.nodes.appEmbedData.image.duration' },\n { path: 'posts.richContent.nodes.videoData.video.duration' },\n { path: 'posts.richContent.nodes.videoData.thumbnail.duration' },\n { path: 'posts.richContent.nodes.audioData.audio.duration' },\n { path: 'posts.richContent.nodes.audioData.coverImage.duration' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryPosts;\n}\n\n/**\n * Retrieves a post's metrics.\n *\n * A post's metrics include the comments, likes, and views the post receives.\n */\nexport function getPostMetrics(payload: object): RequestOptionsFactory<any> {\n function __getPostMetrics({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v3.post',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({\n protoPath: '/v3/posts/{postId}/metrics',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'metrics.averageRating' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPostMetrics;\n}\n","import * as ambassadorWixBlogV3Post from './blog-v3-post-posts.http.js';\nimport * as ambassadorWixBlogV3PostTypes from './blog-v3-post-posts.types.js';\nimport * as ambassadorWixBlogV3PostUniversalTypes from './blog-v3-post-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 queryPostCountStats(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV3PostUniversalTypes.QueryPostCountStatsRequest,\n ambassadorWixBlogV3PostTypes.QueryPostCountStatsRequest,\n ambassadorWixBlogV3PostUniversalTypes.QueryPostCountStatsResponse,\n ambassadorWixBlogV3PostTypes.QueryPostCountStatsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBlogV3Post.queryPostCountStats(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: '/v2/stats/post/count',\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 getTotalPosts(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV3PostUniversalTypes.GetTotalPostsRequest,\n ambassadorWixBlogV3PostTypes.GetTotalPostsRequest,\n ambassadorWixBlogV3PostUniversalTypes.GetTotalPostsResponse,\n ambassadorWixBlogV3PostTypes.GetTotalPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.getTotalPosts(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: '/v2/stats/posts/total',\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 getPost(): __PublicMethodMetaInfo<\n 'GET',\n { postId: string },\n ambassadorWixBlogV3PostUniversalTypes.GetPostRequest,\n ambassadorWixBlogV3PostTypes.GetPostRequest,\n ambassadorWixBlogV3PostUniversalTypes.GetPostResponse,\n ambassadorWixBlogV3PostTypes.GetPostResponse\n> {\n const payload = { postId: ':postId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.getPost(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/posts/{postId}',\n pathParams: { postId: 'postId' },\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 getPostBySlug(): __PublicMethodMetaInfo<\n 'GET',\n { slug: string },\n ambassadorWixBlogV3PostUniversalTypes.GetPostBySlugRequest,\n ambassadorWixBlogV3PostTypes.GetPostBySlugRequest,\n ambassadorWixBlogV3PostUniversalTypes.GetPostBySlugResponse,\n ambassadorWixBlogV3PostTypes.GetPostBySlugResponse\n> {\n const payload = { slug: ':slug' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.getPostBySlug(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/posts/slugs/{slug}',\n pathParams: { slug: 'slug' },\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 listPosts(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV3PostUniversalTypes.ListPostsRequest,\n ambassadorWixBlogV3PostTypes.ListPostsRequest,\n ambassadorWixBlogV3PostUniversalTypes.ListPostsResponse,\n ambassadorWixBlogV3PostTypes.ListPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.listPosts(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/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 queryPosts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBlogV3PostUniversalTypes.QueryPostsRequest,\n ambassadorWixBlogV3PostTypes.QueryPostsRequest,\n ambassadorWixBlogV3PostUniversalTypes.QueryPostsResponse,\n ambassadorWixBlogV3PostTypes.QueryPostsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.queryPosts(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/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 getPostMetrics(): __PublicMethodMetaInfo<\n 'GET',\n { postId: string },\n ambassadorWixBlogV3PostUniversalTypes.GetPostMetricsRequest,\n ambassadorWixBlogV3PostTypes.GetPostMetricsRequest,\n ambassadorWixBlogV3PostUniversalTypes.GetPostMetricsResponse,\n ambassadorWixBlogV3PostTypes.GetPostMetricsResponse\n> {\n const payload = { postId: ':postId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV3Post.getPostMetrics(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/posts/{postId}/metrics',\n pathParams: { postId: 'postId' },\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,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,iEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBA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IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","queryPostCountStats","getTotalPosts","getPost","getPostBySlug","listPosts","queryPosts","getPostMetrics"]}
@@ -3516,4 +3516,4 @@ interface PostsQueryBuilder {
3516
3516
  find: () => Promise<PostsQueryResult>;
3517
3517
  }
3518
3518
 
3519
- export { Origin as $, Alignment as A, PollLayoutDirection as B, Crop as C, BackgroundType as D, DecorationType as E, FontType as F, type GetTotalPostsOptions as G, AppType as H, InitialExpandedItems as I, Direction as J, VerticalAlignment as K, type ListPostsOptions as L, MapType as M, NodeType as N, Orientation as O, type Post as P, type QueryPostCountStatsOptions as Q, NullValue as R, Source as S, Type as T, ModerationStatusStatus as U, ViewMode as V, WidthType as W, QueryPublicationsCountStatsRequestOrder as X, Order as Y, WebhookIdentityType as Z, GetPostTemplatesSort as _, type QueryPostCountStatsResponse as a, type PollSettings as a$, Status as a0, Field as a1, PostFieldField as a2, GetPostsSort as a3, SortOrder as a4, type CoverMedia as a5, type CoverMediaMediaOneOf as a6, type FocalPoint as a7, type PostCountInfo as a8, type Metrics as a9, type PDFSettings as aA, type GalleryData as aB, type V1Media as aC, type Image as aD, type Video as aE, type Item as aF, type ItemDataOneOf as aG, type GalleryOptions as aH, type Layout as aI, type ItemStyle as aJ, type Thumbnails as aK, type GIFData as aL, type GIF as aM, type HeadingData as aN, type HTMLData as aO, type HTMLDataDataOneOf as aP, type ImageData as aQ, type StylesBorder as aR, type ImageDataStyles as aS, type LinkPreviewData as aT, type LinkPreviewDataStyles as aU, type MapData as aV, type MapSettings as aW, type ParagraphData as aX, type PollData as aY, type Permissions as aZ, type Option as a_, type SeoSchema as aa, type Keyword as ab, type Tag as ac, type Settings as ad, type RichContent as ae, type Node as af, type NodeDataOneOf as ag, type NodeStyle as ah, type ButtonData as ai, type Border as aj, type Colors as ak, type PluginContainerData as al, type PluginContainerDataWidth as am, type PluginContainerDataWidthDataOneOf as an, type Spoiler as ao, type Height as ap, type Styles as aq, type Link as ar, type LinkDataOneOf as as, type Rel as at, type CodeBlockData as au, type TextStyle as av, type DividerData as aw, type FileData as ax, type FileSource as ay, type FileSourceDataOneOf as az, type GetTotalPostsResponse as b, type DomainEvent as b$, type PollLayout as b0, type OptionLayout as b1, type Gradient as b2, type Background as b3, type BackgroundBackgroundOneOf as b4, type PollDesign as b5, type OptionDesign as b6, type Poll as b7, type PollDataLayout as b8, type Design as b9, type BulletedListData as bA, type BlockquoteData as bB, type CaptionData as bC, type LayoutCellData as bD, type Metadata as bE, type DocumentStyle as bF, type TextNodeStyle as bG, type ModerationDetails as bH, type Media as bI, type MediaMediaOneOf as bJ, type WixMedia as bK, type VideoResolution as bL, type EmbedMedia as bM, type EmbedThumbnail as bN, type EmbedVideo as bO, type PostTranslation as bP, type PostCategoriesUpdated as bQ, type PostTagsUpdated as bR, type ScheduledPostPublished as bS, type QueryPublicationsCountStatsRequest as bT, type QueryPublicationsCountStatsResponse as bU, type PeriodPublicationsCount as bV, type QueryPostCountStatsRequest as bW, type PeriodPostCount as bX, type GetTotalPublicationsRequest as bY, type GetTotalPublicationsResponse as bZ, type GetTotalPostsRequest as b_, type TextData as ba, type Decoration as bb, type DecorationDataOneOf as bc, type AnchorData as bd, type ColorData as be, type LinkData as bf, type MentionData as bg, type FontSizeData as bh, type SpoilerData as bi, type AppEmbedData as bj, type AppEmbedDataAppDataOneOf as bk, type BookingData as bl, type EventData as bm, type VideoData as bn, type PlaybackOptions as bo, type EmbedData as bp, type Oembed as bq, type CollapsibleListData as br, type TableData as bs, type Dimensions as bt, type TableCellData as bu, type CellStyle as bv, type BorderColors as bw, type ListValue as bx, type AudioData as by, type OrderedListData as bz, type GetPostOptions as c, type ListDemoPostsResponse as c$, type DomainEventBodyOneOf as c0, type EntityCreatedEvent as c1, type RestoreInfo as c2, type EntityUpdatedEvent as c3, type EntityDeletedEvent as c4, type ActionEvent as c5, type MessageEnvelope as c6, type IdentificationData as c7, type IdentificationDataIdOneOf as c8, type ListTemplatesRequest as c9, type Sorting as cA, type PlatformQuery as cB, type PlatformQueryPagingMethodOneOf as cC, type Paging as cD, type CursorPaging as cE, type QueryPostsResponse as cF, type PagingMetadataV2 as cG, type Cursors as cH, type GetPostMetricsRequest as cI, type BulkGetPostMetricsRequest as cJ, type BulkGetPostMetricsResponse as cK, type ViewPostRequest as cL, type ViewPostResponse as cM, type LikePostRequest as cN, type LikePostResponse as cO, type UnlikePostRequest as cP, type UnlikePostResponse as cQ, type PinPostRequest as cR, type PinPostResponse as cS, type UnpinPostRequest as cT, type UnpinPostResponse as cU, type ListPostsArchiveRequest as cV, type ListPostsArchiveResponse as cW, type BulkGetPostReactionsRequest as cX, type BulkGetPostReactionsResponse as cY, type Reactions as cZ, type ListDemoPostsRequest as c_, type BlogPaging as ca, type ListTemplatesResponse as cb, type MetaData as cc, type Category as cd, type CategoryTranslation as ce, type GetTemplateRequest as cf, type GetTemplateResponse as cg, type CreateDraftPostFromTemplateRequest as ch, type CreateDraftPostFromTemplateResponse as ci, type DraftPost as cj, type DraftPostTranslation as ck, type GetTotalLikesPerMemberRequest as cl, type GetTotalLikesPerMemberResponse as cm, type PostLiked as cn, type PostLikedInitiatorOneOf as co, type PostUnliked as cp, type PostUnlikedInitiatorOneOf as cq, type PostCountersUpdated as cr, type PostCountersUpdatedInitiatorOneOf as cs, type PostOwnerChanged as ct, type InitialPostsCopied as cu, type GetPostRequest as cv, type GetPostResponse as cw, type GetPostBySlugRequest as cx, type ListPostsRequest as cy, type QueryPostsRequest as cz, type GetPostBySlugOptions as d, type ConvertDraftJsToRichContentRequest as d0, type ConvertDraftJsToRichContentResponse as d1, type ConvertRichContentToDraftJsRequest as d2, type ConvertRichContentToDraftJsResponse as d3, type OldBlogMigratedEvent as d4, type BaseEventMetadata as d5, type EventMetadata as d6, type PostsQueryResult as d7, type GetPostBySlugResponse as e, type ListPostsResponse as f, type QueryPostsOptions as g, type PostsQueryBuilder as h, type GetPostMetricsResponse as i, type PostCreatedEnvelope as j, type PostDeletedEnvelope as k, type PostLikedEnvelope as l, type PostUnlikedEnvelope as m, type PostUpdatedEnvelope as n, PluginContainerDataAlignment as o, Target as p, TextAlignment as q, LineStyle as r, Width as s, LayoutType as t, ThumbnailsAlignment as u, GIFType as v, Position as w, ViewRole as x, VoteRole as y, PollLayoutType as z };
3519
+ export { Origin as $, Alignment as A, PollLayoutDirection as B, Crop as C, BackgroundType as D, DecorationType as E, FontType as F, type GetTotalPostsOptions as G, AppType as H, InitialExpandedItems as I, Direction as J, VerticalAlignment as K, type ListPostsOptions as L, MapType as M, NodeType as N, Orientation as O, type PostsQueryBuilder as P, type QueryPostCountStatsOptions as Q, NullValue as R, Source as S, Type as T, ModerationStatusStatus as U, ViewMode as V, WidthType as W, QueryPublicationsCountStatsRequestOrder as X, Order as Y, WebhookIdentityType as Z, GetPostTemplatesSort as _, type QueryPostCountStatsResponse as a, type Option as a$, Status as a0, Field as a1, PostFieldField as a2, GetPostsSort as a3, SortOrder as a4, type Post as a5, type CoverMedia as a6, type CoverMediaMediaOneOf as a7, type FocalPoint as a8, type PostCountInfo as a9, type FileSourceDataOneOf as aA, type PDFSettings as aB, type GalleryData as aC, type V1Media as aD, type Image as aE, type Video as aF, type Item as aG, type ItemDataOneOf as aH, type GalleryOptions as aI, type Layout as aJ, type ItemStyle as aK, type Thumbnails as aL, type GIFData as aM, type GIF as aN, type HeadingData as aO, type HTMLData as aP, type HTMLDataDataOneOf as aQ, type ImageData as aR, type StylesBorder as aS, type ImageDataStyles as aT, type LinkPreviewData as aU, type LinkPreviewDataStyles as aV, type MapData as aW, type MapSettings as aX, type ParagraphData as aY, type PollData as aZ, type Permissions as a_, type Metrics as aa, type SeoSchema as ab, type Keyword as ac, type Tag as ad, type Settings as ae, type RichContent as af, type Node as ag, type NodeDataOneOf as ah, type NodeStyle as ai, type ButtonData as aj, type Border as ak, type Colors as al, type PluginContainerData as am, type PluginContainerDataWidth as an, type PluginContainerDataWidthDataOneOf as ao, type Spoiler as ap, type Height as aq, type Styles as ar, type Link as as, type LinkDataOneOf as at, type Rel as au, type CodeBlockData as av, type TextStyle as aw, type DividerData as ax, type FileData as ay, type FileSource as az, type GetTotalPostsResponse as b, type GetTotalPostsRequest as b$, type PollSettings as b0, type PollLayout as b1, type OptionLayout as b2, type Gradient as b3, type Background as b4, type BackgroundBackgroundOneOf as b5, type PollDesign as b6, type OptionDesign as b7, type Poll as b8, type PollDataLayout as b9, type OrderedListData as bA, type BulletedListData as bB, type BlockquoteData as bC, type CaptionData as bD, type LayoutCellData as bE, type Metadata as bF, type DocumentStyle as bG, type TextNodeStyle as bH, type ModerationDetails as bI, type Media as bJ, type MediaMediaOneOf as bK, type WixMedia as bL, type VideoResolution as bM, type EmbedMedia as bN, type EmbedThumbnail as bO, type EmbedVideo as bP, type PostTranslation as bQ, type PostCategoriesUpdated as bR, type PostTagsUpdated as bS, type ScheduledPostPublished as bT, type QueryPublicationsCountStatsRequest as bU, type QueryPublicationsCountStatsResponse as bV, type PeriodPublicationsCount as bW, type QueryPostCountStatsRequest as bX, type PeriodPostCount as bY, type GetTotalPublicationsRequest as bZ, type GetTotalPublicationsResponse as b_, type Design as ba, type TextData as bb, type Decoration as bc, type DecorationDataOneOf as bd, type AnchorData as be, type ColorData as bf, type LinkData as bg, type MentionData as bh, type FontSizeData as bi, type SpoilerData as bj, type AppEmbedData as bk, type AppEmbedDataAppDataOneOf as bl, type BookingData as bm, type EventData as bn, type VideoData as bo, type PlaybackOptions as bp, type EmbedData as bq, type Oembed as br, type CollapsibleListData as bs, type TableData as bt, type Dimensions as bu, type TableCellData as bv, type CellStyle as bw, type BorderColors as bx, type ListValue as by, type AudioData as bz, type GetPostOptions as c, type ListDemoPostsResponse as c$, type DomainEvent as c0, type DomainEventBodyOneOf as c1, type EntityCreatedEvent as c2, type RestoreInfo as c3, type EntityUpdatedEvent as c4, type EntityDeletedEvent as c5, type ActionEvent as c6, type MessageEnvelope as c7, type IdentificationData as c8, type IdentificationDataIdOneOf as c9, type Sorting as cA, type PlatformQuery as cB, type PlatformQueryPagingMethodOneOf as cC, type Paging as cD, type CursorPaging as cE, type QueryPostsResponse as cF, type PagingMetadataV2 as cG, type Cursors as cH, type GetPostMetricsRequest as cI, type BulkGetPostMetricsRequest as cJ, type BulkGetPostMetricsResponse as cK, type ViewPostRequest as cL, type ViewPostResponse as cM, type LikePostRequest as cN, type LikePostResponse as cO, type UnlikePostRequest as cP, type UnlikePostResponse as cQ, type PinPostRequest as cR, type PinPostResponse as cS, type UnpinPostRequest as cT, type UnpinPostResponse as cU, type ListPostsArchiveRequest as cV, type ListPostsArchiveResponse as cW, type BulkGetPostReactionsRequest as cX, type BulkGetPostReactionsResponse as cY, type Reactions as cZ, type ListDemoPostsRequest as c_, type ListTemplatesRequest as ca, type BlogPaging as cb, type ListTemplatesResponse as cc, type MetaData as cd, type Category as ce, type CategoryTranslation as cf, type GetTemplateRequest as cg, type GetTemplateResponse as ch, type CreateDraftPostFromTemplateRequest as ci, type CreateDraftPostFromTemplateResponse as cj, type DraftPost as ck, type DraftPostTranslation as cl, type GetTotalLikesPerMemberRequest as cm, type GetTotalLikesPerMemberResponse as cn, type PostLiked as co, type PostLikedInitiatorOneOf as cp, type PostUnliked as cq, type PostUnlikedInitiatorOneOf as cr, type PostCountersUpdated as cs, type PostCountersUpdatedInitiatorOneOf as ct, type PostOwnerChanged as cu, type InitialPostsCopied as cv, type GetPostRequest as cw, type GetPostBySlugRequest as cx, type ListPostsRequest as cy, type QueryPostsRequest as cz, type GetPostResponse as d, type ConvertDraftJsToRichContentRequest as d0, type ConvertDraftJsToRichContentResponse as d1, type ConvertRichContentToDraftJsRequest as d2, type ConvertRichContentToDraftJsResponse as d3, type OldBlogMigratedEvent as d4, type BaseEventMetadata as d5, type EventMetadata as d6, type PostsQueryResult as d7, type GetPostBySlugOptions as e, type GetPostBySlugResponse as f, type ListPostsResponse as g, type QueryPostsOptions as h, type GetPostMetricsResponse as i, type PostCreatedEnvelope as j, type PostDeletedEnvelope as k, type PostLikedEnvelope as l, type PostUnlikedEnvelope as m, type PostUpdatedEnvelope as n, PluginContainerDataAlignment as o, Target as p, TextAlignment as q, LineStyle as r, Width as s, LayoutType as t, ThumbnailsAlignment as u, GIFType as v, Position as w, ViewRole as x, VoteRole as y, PollLayoutType as z };
@@ -1,18 +1,19 @@
1
1
  import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { Q as QueryPostCountStatsOptions, a as QueryPostCountStatsResponse, G as GetTotalPostsOptions, b as GetTotalPostsResponse, c as GetPostOptions, P as Post, d as GetPostBySlugOptions, e as GetPostBySlugResponse, L as ListPostsOptions, f as ListPostsResponse, g as QueryPostsOptions, h as PostsQueryBuilder, i as GetPostMetricsResponse, j as PostCreatedEnvelope, k as PostDeletedEnvelope, l as PostLikedEnvelope, m as PostUnlikedEnvelope, n as PostUpdatedEnvelope } from './blog-v3-post-posts.universal-D8MomLjA.js';
3
- export { c5 as ActionEvent, A as Alignment, bd as AnchorData, bj as AppEmbedData, bk as AppEmbedDataAppDataOneOf, H as AppType, by as AudioData, b3 as Background, b4 as BackgroundBackgroundOneOf, D as BackgroundType, d5 as BaseEventMetadata, bB as BlockquoteData, ca as BlogPaging, bl as BookingData, aj as Border, bw as BorderColors, cJ as BulkGetPostMetricsRequest, cK as BulkGetPostMetricsResponse, cX as BulkGetPostReactionsRequest, cY as BulkGetPostReactionsResponse, bA as BulletedListData, ai as ButtonData, bC as CaptionData, cd as Category, ce as CategoryTranslation, bv as CellStyle, au as CodeBlockData, br as CollapsibleListData, be as ColorData, ak as Colors, d0 as ConvertDraftJsToRichContentRequest, d1 as ConvertDraftJsToRichContentResponse, d2 as ConvertRichContentToDraftJsRequest, d3 as ConvertRichContentToDraftJsResponse, a5 as CoverMedia, a6 as CoverMediaMediaOneOf, ch as CreateDraftPostFromTemplateRequest, ci as CreateDraftPostFromTemplateResponse, C as Crop, cE as CursorPaging, cH as Cursors, bb as Decoration, bc as DecorationDataOneOf, E as DecorationType, b9 as Design, bt as Dimensions, J as Direction, aw as DividerData, bF as DocumentStyle, b$ as DomainEvent, c0 as DomainEventBodyOneOf, cj as DraftPost, ck as DraftPostTranslation, bp as EmbedData, bM as EmbedMedia, bN as EmbedThumbnail, bO as EmbedVideo, c1 as EntityCreatedEvent, c4 as EntityDeletedEvent, c3 as EntityUpdatedEvent, bm as EventData, d6 as EventMetadata, a1 as Field, ax as FileData, ay as FileSource, az as FileSourceDataOneOf, a7 as FocalPoint, bh as FontSizeData, F as FontType, aM as GIF, aL as GIFData, v as GIFType, aB as GalleryData, aH as GalleryOptions, cx as GetPostBySlugRequest, cI as GetPostMetricsRequest, cv as GetPostRequest, cw as GetPostResponse, _ as GetPostTemplatesSort, a3 as GetPostsSort, cf as GetTemplateRequest, cg as GetTemplateResponse, cl as GetTotalLikesPerMemberRequest, cm as GetTotalLikesPerMemberResponse, b_ as GetTotalPostsRequest, bY as GetTotalPublicationsRequest, bZ as GetTotalPublicationsResponse, b2 as Gradient, aO as HTMLData, aP as HTMLDataDataOneOf, aN as HeadingData, ap as Height, c7 as IdentificationData, c8 as IdentificationDataIdOneOf, aD as Image, aQ as ImageData, aS as ImageDataStyles, I as InitialExpandedItems, cu as InitialPostsCopied, aF as Item, aG as ItemDataOneOf, aJ as ItemStyle, ab as Keyword, aI as Layout, bD as LayoutCellData, t as LayoutType, cN as LikePostRequest, cO as LikePostResponse, r as LineStyle, ar as Link, bf as LinkData, as as LinkDataOneOf, aT as LinkPreviewData, aU as LinkPreviewDataStyles, c_ as ListDemoPostsRequest, c$ as ListDemoPostsResponse, cV as ListPostsArchiveRequest, cW as ListPostsArchiveResponse, cy as ListPostsRequest, c9 as ListTemplatesRequest, cb as ListTemplatesResponse, bx as ListValue, aV as MapData, aW as MapSettings, M as MapType, bI as Media, bJ as MediaMediaOneOf, bg as MentionData, c6 as MessageEnvelope, cc as MetaData, bE as Metadata, a9 as Metrics, bH as ModerationDetails, U as ModerationStatusStatus, af as Node, ag as NodeDataOneOf, ah as NodeStyle, N as NodeType, R as NullValue, bq as Oembed, d4 as OldBlogMigratedEvent, a_ as Option, b6 as OptionDesign, b1 as OptionLayout, Y as Order, bz as OrderedListData, O as Orientation, $ as Origin, aA as PDFSettings, cD as Paging, cG as PagingMetadataV2, aX as ParagraphData, bX as PeriodPostCount, bV as PeriodPublicationsCount, aZ as Permissions, cR as PinPostRequest, cS as PinPostResponse, cB as PlatformQuery, cC as PlatformQueryPagingMethodOneOf, bo as PlaybackOptions, al as PluginContainerData, o as PluginContainerDataAlignment, am as PluginContainerDataWidth, an as PluginContainerDataWidthDataOneOf, b7 as Poll, aY as PollData, b8 as PollDataLayout, b5 as PollDesign, b0 as PollLayout, B as PollLayoutDirection, z as PollLayoutType, a$ as PollSettings, w as Position, bQ as PostCategoriesUpdated, a8 as PostCountInfo, cr as PostCountersUpdated, cs as PostCountersUpdatedInitiatorOneOf, a2 as PostFieldField, cn as PostLiked, co as PostLikedInitiatorOneOf, ct as PostOwnerChanged, bR as PostTagsUpdated, bP as PostTranslation, cp as PostUnliked, cq as PostUnlikedInitiatorOneOf, d7 as PostsQueryResult, bW as QueryPostCountStatsRequest, cz as QueryPostsRequest, cF as QueryPostsResponse, bT as QueryPublicationsCountStatsRequest, X as QueryPublicationsCountStatsRequestOrder, bU as QueryPublicationsCountStatsResponse, cZ as Reactions, at as Rel, c2 as RestoreInfo, ae as RichContent, bS as ScheduledPostPublished, aa as SeoSchema, ad as Settings, a4 as SortOrder, cA as Sorting, S as Source, ao as Spoiler, bi as SpoilerData, a0 as Status, aq as Styles, aR as StylesBorder, bu as TableCellData, bs as TableData, ac as Tag, p as Target, q as TextAlignment, ba as TextData, bG as TextNodeStyle, av as TextStyle, aK as Thumbnails, u as ThumbnailsAlignment, T as Type, cP as UnlikePostRequest, cQ as UnlikePostResponse, cT as UnpinPostRequest, cU as UnpinPostResponse, aC as V1Media, K as VerticalAlignment, aE as Video, bn as VideoData, bL as VideoResolution, V as ViewMode, cL as ViewPostRequest, cM as ViewPostResponse, x as ViewRole, y as VoteRole, Z as WebhookIdentityType, s as Width, W as WidthType, bK as WixMedia } from './blog-v3-post-posts.universal-D8MomLjA.js';
2
+ import { Q as QueryPostCountStatsOptions, a as QueryPostCountStatsResponse, G as GetTotalPostsOptions, b as GetTotalPostsResponse, c as GetPostOptions, d as GetPostResponse, e as GetPostBySlugOptions, f as GetPostBySlugResponse, L as ListPostsOptions, g as ListPostsResponse, h as QueryPostsOptions, P as PostsQueryBuilder, i as GetPostMetricsResponse, j as PostCreatedEnvelope, k as PostDeletedEnvelope, l as PostLikedEnvelope, m as PostUnlikedEnvelope, n as PostUpdatedEnvelope } from './blog-v3-post-posts.universal-rJw2G2He.js';
3
+ export { c6 as ActionEvent, A as Alignment, be as AnchorData, bk as AppEmbedData, bl as AppEmbedDataAppDataOneOf, H as AppType, bz as AudioData, b4 as Background, b5 as BackgroundBackgroundOneOf, D as BackgroundType, d5 as BaseEventMetadata, bC as BlockquoteData, cb as BlogPaging, bm as BookingData, ak as Border, bx as BorderColors, cJ as BulkGetPostMetricsRequest, cK as BulkGetPostMetricsResponse, cX as BulkGetPostReactionsRequest, cY as BulkGetPostReactionsResponse, bB as BulletedListData, aj as ButtonData, bD as CaptionData, ce as Category, cf as CategoryTranslation, bw as CellStyle, av as CodeBlockData, bs as CollapsibleListData, bf as ColorData, al as Colors, d0 as ConvertDraftJsToRichContentRequest, d1 as ConvertDraftJsToRichContentResponse, d2 as ConvertRichContentToDraftJsRequest, d3 as ConvertRichContentToDraftJsResponse, a6 as CoverMedia, a7 as CoverMediaMediaOneOf, ci as CreateDraftPostFromTemplateRequest, cj as CreateDraftPostFromTemplateResponse, C as Crop, cE as CursorPaging, cH as Cursors, bc as Decoration, bd as DecorationDataOneOf, E as DecorationType, ba as Design, bu as Dimensions, J as Direction, ax as DividerData, bG as DocumentStyle, c0 as DomainEvent, c1 as DomainEventBodyOneOf, ck as DraftPost, cl as DraftPostTranslation, bq as EmbedData, bN as EmbedMedia, bO as EmbedThumbnail, bP as EmbedVideo, c2 as EntityCreatedEvent, c5 as EntityDeletedEvent, c4 as EntityUpdatedEvent, bn as EventData, d6 as EventMetadata, a1 as Field, ay as FileData, az as FileSource, aA as FileSourceDataOneOf, a8 as FocalPoint, bi as FontSizeData, F as FontType, aN as GIF, aM as GIFData, v as GIFType, aC as GalleryData, aI as GalleryOptions, cx as GetPostBySlugRequest, cI as GetPostMetricsRequest, cw as GetPostRequest, _ as GetPostTemplatesSort, a3 as GetPostsSort, cg as GetTemplateRequest, ch as GetTemplateResponse, cm as GetTotalLikesPerMemberRequest, cn as GetTotalLikesPerMemberResponse, b$ as GetTotalPostsRequest, bZ as GetTotalPublicationsRequest, b_ as GetTotalPublicationsResponse, b3 as Gradient, aP as HTMLData, aQ as HTMLDataDataOneOf, aO as HeadingData, aq as Height, c8 as IdentificationData, c9 as IdentificationDataIdOneOf, aE as Image, aR as ImageData, aT as ImageDataStyles, I as InitialExpandedItems, cv as InitialPostsCopied, aG as Item, aH as ItemDataOneOf, aK as ItemStyle, ac as Keyword, aJ as Layout, bE as LayoutCellData, t as LayoutType, cN as LikePostRequest, cO as LikePostResponse, r as LineStyle, as as Link, bg as LinkData, at as LinkDataOneOf, aU as LinkPreviewData, aV as LinkPreviewDataStyles, c_ as ListDemoPostsRequest, c$ as ListDemoPostsResponse, cV as ListPostsArchiveRequest, cW as ListPostsArchiveResponse, cy as ListPostsRequest, ca as ListTemplatesRequest, cc as ListTemplatesResponse, by as ListValue, aW as MapData, aX as MapSettings, M as MapType, bJ as Media, bK as MediaMediaOneOf, bh as MentionData, c7 as MessageEnvelope, cd as MetaData, bF as Metadata, aa as Metrics, bI as ModerationDetails, U as ModerationStatusStatus, ag as Node, ah as NodeDataOneOf, ai as NodeStyle, N as NodeType, R as NullValue, br as Oembed, d4 as OldBlogMigratedEvent, a$ as Option, b7 as OptionDesign, b2 as OptionLayout, Y as Order, bA as OrderedListData, O as Orientation, $ as Origin, aB as PDFSettings, cD as Paging, cG as PagingMetadataV2, aY as ParagraphData, bY as PeriodPostCount, bW as PeriodPublicationsCount, a_ as Permissions, cR as PinPostRequest, cS as PinPostResponse, cB as PlatformQuery, cC as PlatformQueryPagingMethodOneOf, bp as PlaybackOptions, am as PluginContainerData, o as PluginContainerDataAlignment, an as PluginContainerDataWidth, ao as PluginContainerDataWidthDataOneOf, b8 as Poll, aZ as PollData, b9 as PollDataLayout, b6 as PollDesign, b1 as PollLayout, B as PollLayoutDirection, z as PollLayoutType, b0 as PollSettings, w as Position, a5 as Post, bR as PostCategoriesUpdated, a9 as PostCountInfo, cs as PostCountersUpdated, ct as PostCountersUpdatedInitiatorOneOf, a2 as PostFieldField, co as PostLiked, cp as PostLikedInitiatorOneOf, cu as PostOwnerChanged, bS as PostTagsUpdated, bQ as PostTranslation, cq as PostUnliked, cr as PostUnlikedInitiatorOneOf, d7 as PostsQueryResult, bX as QueryPostCountStatsRequest, cz as QueryPostsRequest, cF as QueryPostsResponse, bU as QueryPublicationsCountStatsRequest, X as QueryPublicationsCountStatsRequestOrder, bV as QueryPublicationsCountStatsResponse, cZ as Reactions, au as Rel, c3 as RestoreInfo, af as RichContent, bT as ScheduledPostPublished, ab as SeoSchema, ae as Settings, a4 as SortOrder, cA as Sorting, S as Source, ap as Spoiler, bj as SpoilerData, a0 as Status, ar as Styles, aS as StylesBorder, bv as TableCellData, bt as TableData, ad as Tag, p as Target, q as TextAlignment, bb as TextData, bH as TextNodeStyle, aw as TextStyle, aL as Thumbnails, u as ThumbnailsAlignment, T as Type, cP as UnlikePostRequest, cQ as UnlikePostResponse, cT as UnpinPostRequest, cU as UnpinPostResponse, aD as V1Media, K as VerticalAlignment, aF as Video, bo as VideoData, bM as VideoResolution, V as ViewMode, cL as ViewPostRequest, cM as ViewPostResponse, x as ViewRole, y as VoteRole, Z as WebhookIdentityType, s as Width, W as WidthType, bL as WixMedia } from './blog-v3-post-posts.universal-rJw2G2He.js';
4
4
 
5
5
  declare function queryPostCountStats$1(httpClient: HttpClient): QueryPostCountStatsSignature;
6
6
  interface QueryPostCountStatsSignature {
7
7
  /**
8
8
  * Retrieves the number of published posts per month within a specified time range.
9
9
  *
10
- * The time range is set using the `rangeStart` and `months` properties.
11
- * The time range always starts on the 1st day of the month set in `rangeStart` and
12
- * includes the number of `months` following `rangeStart`.
13
- * For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`,
14
- * the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range always ends on the last day of the month.
15
- * > Note: If there are no published posts in a month within the time range, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
10
+ *
11
+ * The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
12
+ *
13
+ * You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
14
+ *
15
+ * >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
16
+ * @param - Options specifying time frame, sort, and filter.
16
17
  * @returns Get Blog Post Count Stats response
17
18
  */
18
19
  (options?: QueryPostCountStatsOptions | undefined): Promise<QueryPostCountStatsResponse>;
@@ -21,6 +22,7 @@ declare function getTotalPosts$1(httpClient: HttpClient): GetTotalPostsSignature
21
22
  interface GetTotalPostsSignature {
22
23
  /**
23
24
  * Retrieves the total amount of published posts of the blog.
25
+ * @param - Language Options.
24
26
  */
25
27
  (options?: GetTotalPostsOptions | undefined): Promise<GetTotalPostsResponse>;
26
28
  }
@@ -29,9 +31,9 @@ interface GetPostSignature {
29
31
  /**
30
32
  * Retrieves a post by the specified ID.
31
33
  * @param - Post ID.
32
- * @returns Retrieved post info.
34
+ * @param - Options specifying which fields to return.
33
35
  */
34
- (postId: string, options?: GetPostOptions | undefined): Promise<Post>;
36
+ (postId: string, options?: GetPostOptions | undefined): Promise<GetPostResponse>;
35
37
  }
36
38
  declare function getPostBySlug$1(httpClient: HttpClient): GetPostBySlugSignature;
37
39
  interface GetPostBySlugSignature {
@@ -43,6 +45,7 @@ interface GetPostBySlugSignature {
43
45
  * the slug is `my-post-slug`. The slug is case-sensitive, and is generally derived from the post title,
44
46
  * unless specified otherwise.
45
47
  * @param - Slug of the post to retrieve.
48
+ * @param - Options specifying which fields to return.
46
49
  */
47
50
  (slug: string, options?: GetPostBySlugOptions | undefined): Promise<GetPostBySlugResponse>;
48
51
  }
@@ -55,28 +58,32 @@ interface ListPostsSignature {
55
58
  * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
56
59
  * - `paging.limit` is `50`.
57
60
  * - `paging.offset` is `0`.
61
+ * @param - Sort, filter, and paging options.
58
62
  */
59
63
  (options?: ListPostsOptions | undefined): Promise<ListPostsResponse>;
60
64
  }
61
65
  declare function queryPosts$1(httpClient: HttpClient): QueryPostsSignature;
62
66
  interface QueryPostsSignature {
63
67
  /**
64
- * Retrieves a list of up to 100 posts, given the provided paging, filtering, and sorting.
68
+ * Creates a query to retrieve a list of posts.
65
69
  *
66
- * Query Posts runs with these defaults, which you can override:
67
- * - `firstPublishedDate` is sorted in descending order, with pinned posts first.
68
- * - `paging.limit` is `50`.
69
- * - `paging.offset` is `0`.
70
70
  *
71
- * For field support for filters and sorting, see
72
- * [Field Support for Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/filter-and-sort).
71
+ * The `queryPosts()` function builds a query to retrieve a list of up to 100 posts, and returns a `PostsQueryBuilder` object.
72
+ *
73
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
74
+ *
75
+ * You can refine the query by chaining `PostsQueryBuilder` functions onto the query. `PostsQueryBuilder` functions enable you to sort, filter, and control the results that `queryPosts()` returns.
76
+ *
77
+ * `queryPosts()` runs with these `PostsQueryBuilder` defaults that you can override:
78
+ * + `limit(50)`
79
+ * + `descending('firstPublishedDate')`
80
+ *
81
+ * Note that the default limit is `'50'`, but the max limit is `'100'`.
82
+ *
83
+ * To learn how to query posts, refer to the table below.
73
84
  *
74
- * To learn about working with _Query_ endpoints, see
75
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
76
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and
77
- * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
78
- * For a detailed list of supported filters and sortable fields, see
79
- * [Field Support for Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/filter-and-sort).
85
+ * The following `PostsQueryBuilder` functions are supported for the `queryPosts()` function. For a full description of the Posts object, see the object returned for the `items` property in `PostsQueryResult`.
86
+ * @param - Options specifying which fields to return.
80
87
  */
81
88
  (options?: QueryPostsOptions | undefined): PostsQueryBuilder;
82
89
  }
@@ -124,4 +131,4 @@ declare const onPostUnliked: BuildEventDefinition<typeof onPostUnliked$1>;
124
131
  */
125
132
  declare const onPostUpdated: BuildEventDefinition<typeof onPostUpdated$1>;
126
133
 
127
- export { GetPostBySlugOptions, GetPostBySlugResponse, GetPostMetricsResponse, GetPostOptions, GetTotalPostsOptions, GetTotalPostsResponse, ListPostsOptions, ListPostsResponse, Post, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, PostsQueryBuilder, QueryPostCountStatsOptions, QueryPostCountStatsResponse, QueryPostsOptions, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts };
134
+ export { GetPostBySlugOptions, GetPostBySlugResponse, GetPostMetricsResponse, GetPostOptions, GetPostResponse, GetTotalPostsOptions, GetTotalPostsResponse, ListPostsOptions, ListPostsResponse, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope, PostsQueryBuilder, QueryPostCountStatsOptions, QueryPostCountStatsResponse, QueryPostsOptions, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts };
@@ -1363,8 +1363,8 @@ async function getPost2(postId, options) {
1363
1363
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1364
1364
  }
1365
1365
  ]),
1366
- ["post.richContent"]
1367
- )?.post;
1366
+ ["post.richContent", "post.rich_content"]
1367
+ );
1368
1368
  } catch (err) {
1369
1369
  const transformedError = (0, import_transform_error.transformError)(
1370
1370
  err,
@@ -1416,7 +1416,7 @@ async function getPostBySlug2(slug, options) {
1416
1416
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1417
1417
  }
1418
1418
  ]),
1419
- ["post.richContent"]
1419
+ ["post.richContent", "post.rich_content"]
1420
1420
  );
1421
1421
  } catch (err) {
1422
1422
  const transformedError = (0, import_transform_error.transformError)(
@@ -1476,7 +1476,7 @@ async function listPosts2(options) {
1476
1476
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1477
1477
  }
1478
1478
  ]),
1479
- ["posts.richContent"]
1479
+ ["posts.richContent", "posts.rich_content"]
1480
1480
  );
1481
1481
  } catch (err) {
1482
1482
  const transformedError = (0, import_transform_error.transformError)(
@@ -1551,7 +1551,7 @@ function queryPosts2(options) {
1551
1551
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1552
1552
  }
1553
1553
  ]),
1554
- ["posts.richContent"]
1554
+ ["posts.richContent", "posts.rich_content"]
1555
1555
  );
1556
1556
  return {
1557
1557
  items: transformedData?.posts,
@@ -1718,7 +1718,8 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
1718
1718
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
1719
1719
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1720
1720
  }
1721
- ])
1721
+ ]),
1722
+ ["entity.rich_content"]
1722
1723
  )
1723
1724
  )();
1724
1725
  var onPostDeleted = (0, import_sdk_types.EventDefinition)(
@@ -1793,7 +1794,8 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
1793
1794
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
1794
1795
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1795
1796
  }
1796
- ])
1797
+ ]),
1798
+ ["entity.rich_content"]
1797
1799
  )
1798
1800
  )();
1799
1801
  var onPostLiked = (0, import_sdk_types.EventDefinition)(
@@ -1805,7 +1807,8 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
1805
1807
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1806
1808
  paths: [{ path: "metadata.eventTime" }]
1807
1809
  }
1808
- ])
1810
+ ]),
1811
+ ["entity.rich_content"]
1809
1812
  )
1810
1813
  )();
1811
1814
  var onPostUnliked = (0, import_sdk_types.EventDefinition)(
@@ -1817,7 +1820,8 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
1817
1820
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1818
1821
  paths: [{ path: "metadata.eventTime" }]
1819
1822
  }
1820
- ])
1823
+ ]),
1824
+ ["entity.rich_content"]
1821
1825
  )
1822
1826
  )();
1823
1827
  var onPostUpdated = (0, import_sdk_types.EventDefinition)(
@@ -1892,7 +1896,8 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
1892
1896
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
1893
1897
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1894
1898
  }
1895
- ])
1899
+ ]),
1900
+ ["entity.rich_content"]
1896
1901
  )
1897
1902
  )();
1898
1903