@wix/blog
Advanced tools
Comparing version 1.0.167 to 1.0.168
@@ -236,3 +236,5 @@ "use strict"; | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.category', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategory', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/{categoryId}', data: serializedData, host }), | ||
@@ -268,3 +270,5 @@ params: (0, metro_runtime_1.toURLSearchParams)(serializedData), | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.category', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategoryBySlug', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/slugs/{slug}', data: serializedData, host }), | ||
@@ -297,3 +301,5 @@ params: (0, metro_runtime_1.toURLSearchParams)(serializedData), | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.category', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories', data: serializedData, host }), | ||
@@ -336,3 +342,5 @@ params: (0, metro_runtime_1.toURLSearchParams)(serializedData), | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.category', | ||
method: 'POST', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.QueryCategories', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/query', data: serializedData, host }), | ||
@@ -339,0 +347,0 @@ data: serializedData, |
import { HttpClient } from '@wix/sdk-types'; | ||
import { GetCategoryBySlugOptions, GetCategoryOptions, ListCategoriesOptions, QueryCategoriesOptions } from './blog-v3-category.universal'; | ||
export declare const __metadata: { | ||
PACKAGE_NAME: string; | ||
}; | ||
export declare function getCategory(httpClient: HttpClient): (categoryId: string, options?: GetCategoryOptions | undefined) => Promise<import("./blog-v3-category.universal").GetCategoryResponse>; | ||
@@ -4,0 +7,0 @@ export declare function getCategoryBySlug(httpClient: HttpClient): (slug: string, options?: GetCategoryBySlugOptions | undefined) => Promise<import("./blog-v3-category.universal").GetCategoryBySlugResponse>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SortOrder = exports.Field = exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = void 0; | ||
exports.SortOrder = exports.Field = exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = exports.__metadata = void 0; | ||
const blog_v3_category_universal_1 = require("./blog-v3-category.universal"); | ||
exports.__metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
function getCategory(httpClient) { | ||
@@ -6,0 +7,0 @@ return (categoryId, options) => (0, blog_v3_category_universal_1.getCategory)(categoryId, options, |
@@ -370,2 +370,10 @@ export interface Category { | ||
fieldsets?: Field[]; | ||
/** | ||
* Language filter. | ||
* | ||
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. | ||
* Pass a language to only receive categories that are in that language. | ||
* If omitted, categories in all languages are returned. | ||
*/ | ||
language?: string | null; | ||
} | ||
@@ -372,0 +380,0 @@ export interface BlogPaging { |
@@ -323,2 +323,10 @@ export declare const __debug: { | ||
fieldsets?: Field[]; | ||
/** | ||
* Language filter. | ||
* | ||
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. | ||
* Pass a language to only receive categories that are in that language. | ||
* If omitted, categories in all languages are returned. | ||
*/ | ||
language?: string | null; | ||
} | ||
@@ -557,2 +565,10 @@ export interface BlogPaging { | ||
fieldsets?: Field[]; | ||
/** | ||
* Language filter. | ||
* | ||
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. | ||
* Pass a language to only receive categories that are in that language. | ||
* If omitted, categories in all languages are returned. | ||
*/ | ||
language?: string | null; | ||
} | ||
@@ -559,0 +575,0 @@ /** |
@@ -223,2 +223,3 @@ "use strict"; | ||
fieldsets: '$[0].fieldsets', | ||
language: '$[0].language', | ||
}; | ||
@@ -225,0 +226,0 @@ const responseTransformation = '$'; |
@@ -535,3 +535,5 @@ "use strict"; | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -598,3 +600,5 @@ protoPath: '/v3/posts/{postId}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -663,3 +667,5 @@ protoPath: '/v3/posts/slugs/{slug}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -738,3 +744,5 @@ protoPath: '/v3/posts', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'POST', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -770,3 +778,5 @@ protoPath: '/v3/posts/query', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -804,3 +814,5 @@ protoPath: '/v3/posts/{postId}/metrics', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({ | ||
@@ -835,3 +847,5 @@ protoPath: '/v2/stats/post/count', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({ | ||
@@ -838,0 +852,0 @@ protoPath: '/v2/stats/posts/total', |
import { HttpClient } from '@wix/sdk-types'; | ||
import { GetPostBySlugOptions, GetPostOptions, GetTotalPostsOptions, ListPostsOptions, QueryPostCountStatsOptions, QueryPostsOptions } from './blog-v3-post.universal'; | ||
export declare const __metadata: { | ||
PACKAGE_NAME: string; | ||
}; | ||
export declare function getPost(httpClient: HttpClient): (postId: string, options?: GetPostOptions | undefined) => Promise<import("./blog-v3-post.universal").GetPostResponse>; | ||
@@ -11,2 +14,2 @@ export declare function getPostBySlug(httpClient: HttpClient): (slug: string, options?: GetPostBySlugOptions | undefined) => Promise<import("./blog-v3-post.universal").GetPostBySlugResponse>; | ||
export { NodeType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, ModerationStatusStatus, GetPostTemplatesSort, Origin, Status, Field, PostFieldField, GetPostsSort, SortOrder, QueryPublicationsCountStatsRequestOrder, Order, } from './blog-v3-post.universal'; | ||
export { Post, CoverMedia, CoverMediaMediaOneOf, PostCountInfo, Metrics, SeoSchema, Keyword, Tag, Settings, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, ListTemplatesRequest, BlogPaging, ListTemplatesResponse, MetaData, Category, GetTemplateRequest, GetTemplateResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, DraftPost, DraftPostTranslation, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, PostLiked, PostLikedInitiatorOneOf, PostUnliked, PostUnlikedInitiatorOneOf, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostOwnerChanged, InitialPostsCopied, GetPostRequest, GetPostResponse, GetPostBySlugRequest, GetPostBySlugResponse, ListPostsRequest, ListPostsResponse, QueryPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryPostsResponse, PagingMetadataV2, Cursors, GetPostMetricsRequest, GetPostMetricsResponse, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, ViewPostRequest, ViewPostResponse, PinPostRequest, PinPostResponse, UnpinPostRequest, UnpinPostResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, Reactions, ListDemoPostsRequest, ListDemoPostsResponse, OldBlogMigratedEvent, ListMigratedPostsRequest, BlogCursorPaging, ListMigratedPostsResponse, PostMigrationMetaData, CursorMetaData, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsResponse, PeriodPublicationsCount, QueryPostCountStatsRequest, QueryPostCountStatsResponse, PeriodPostCount, GetTotalPublicationsRequest, GetTotalPublicationsResponse, GetTotalPostsRequest, GetTotalPostsResponse, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, GetPostOptions, GetPostBySlugOptions, ListPostsOptions, QueryPostsOptions, PostsQueryResult, PostsQueryBuilder, QueryPostCountStatsOptions, GetTotalPostsOptions, } from './blog-v3-post.universal'; | ||
export { Post, CoverMedia, CoverMediaMediaOneOf, PostCountInfo, Metrics, SeoSchema, Keyword, Tag, Settings, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, ListTemplatesRequest, BlogPaging, ListTemplatesResponse, MetaData, Category, GetTemplateRequest, GetTemplateResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, DraftPost, DraftPostTranslation, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, PostLiked, PostLikedInitiatorOneOf, PostUnliked, PostUnlikedInitiatorOneOf, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostOwnerChanged, InitialPostsCopied, GetPostRequest, GetPostResponse, GetPostBySlugRequest, GetPostBySlugResponse, ListPostsRequest, ListPostsResponse, QueryPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryPostsResponse, PagingMetadataV2, Cursors, GetPostMetricsRequest, GetPostMetricsResponse, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, ViewPostRequest, ViewPostResponse, PinPostRequest, PinPostResponse, UnpinPostRequest, UnpinPostResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, Reactions, ListDemoPostsRequest, ListDemoPostsResponse, OldBlogMigratedEvent, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsResponse, PeriodPublicationsCount, QueryPostCountStatsRequest, QueryPostCountStatsResponse, PeriodPostCount, GetTotalPublicationsRequest, GetTotalPublicationsResponse, GetTotalPostsRequest, GetTotalPostsResponse, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, GetPostOptions, GetPostBySlugOptions, ListPostsOptions, QueryPostsOptions, PostsQueryResult, PostsQueryBuilder, QueryPostCountStatsOptions, GetTotalPostsOptions, } from './blog-v3-post.universal'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Order = exports.QueryPublicationsCountStatsRequestOrder = exports.SortOrder = exports.GetPostsSort = exports.PostFieldField = exports.Field = exports.Status = exports.Origin = exports.GetPostTemplatesSort = exports.ModerationStatusStatus = exports.NullValue = exports.VerticalAlignment = exports.Direction = exports.InitialExpandedItems = exports.AppType = exports.FontType = exports.DecorationType = exports.BackgroundType = exports.PollLayoutDirection = exports.PollLayoutType = exports.VoteRole = exports.ViewRole = exports.MapType = exports.Source = exports.ThumbnailsAlignment = exports.Crop = exports.Orientation = exports.LayoutType = exports.ViewMode = exports.Alignment = exports.Width = exports.LineStyle = exports.TextAlignment = exports.Target = exports.Type = exports.PluginContainerDataAlignment = exports.WidthType = exports.NodeType = exports.getTotalPosts = exports.queryPostCountStats = exports.getPostMetrics = exports.queryPosts = exports.listPosts = exports.getPostBySlug = exports.getPost = void 0; | ||
exports.Order = exports.QueryPublicationsCountStatsRequestOrder = exports.SortOrder = exports.GetPostsSort = exports.PostFieldField = exports.Field = exports.Status = exports.Origin = exports.GetPostTemplatesSort = exports.ModerationStatusStatus = exports.NullValue = exports.VerticalAlignment = exports.Direction = exports.InitialExpandedItems = exports.AppType = exports.FontType = exports.DecorationType = exports.BackgroundType = exports.PollLayoutDirection = exports.PollLayoutType = exports.VoteRole = exports.ViewRole = exports.MapType = exports.Source = exports.ThumbnailsAlignment = exports.Crop = exports.Orientation = exports.LayoutType = exports.ViewMode = exports.Alignment = exports.Width = exports.LineStyle = exports.TextAlignment = exports.Target = exports.Type = exports.PluginContainerDataAlignment = exports.WidthType = exports.NodeType = exports.getTotalPosts = exports.queryPostCountStats = exports.getPostMetrics = exports.queryPosts = exports.listPosts = exports.getPostBySlug = exports.getPost = exports.__metadata = void 0; | ||
const blog_v3_post_universal_1 = require("./blog-v3-post.universal"); | ||
exports.__metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
function getPost(httpClient) { | ||
@@ -6,0 +7,0 @@ return (postId, options) => (0, blog_v3_post_universal_1.getPost)(postId, options, |
@@ -229,3 +229,5 @@ "use strict"; | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.tag', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.TagService.GetTagByLabel', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl({ | ||
@@ -257,3 +259,5 @@ protoPath: '/v3/tags/labels/{label}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.tag', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.TagService.GetTag', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl({ | ||
@@ -287,3 +291,5 @@ protoPath: '/v3/tags/{tagId}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.tag', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.TagService.GetTagBySlug', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl({ | ||
@@ -325,3 +331,5 @@ protoPath: '/v3/tags/slugs/{slug}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.tag', | ||
method: 'POST', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.TagService.QueryTags', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl({ | ||
@@ -328,0 +336,0 @@ protoPath: '/v3/tags/query', |
import { HttpClient } from '@wix/sdk-types'; | ||
import { GetTagByLabelOptions, GetTagBySlugOptions, GetTagOptions, QueryTagsOptions } from './blog-v3-tag.universal'; | ||
export declare const __metadata: { | ||
PACKAGE_NAME: string; | ||
}; | ||
export declare function getTagByLabel(httpClient: HttpClient): (label: string, options?: GetTagByLabelOptions | undefined) => Promise<import("./blog-v3-tag.universal").GetTagByLabelResponse>; | ||
@@ -4,0 +7,0 @@ export declare function getTag(httpClient: HttpClient): (tagId: string, options?: GetTagOptions | undefined) => Promise<import("./blog-v3-tag.universal").GetTagResponse>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SortOrder = exports.Field = exports.queryTags = exports.getTagBySlug = exports.getTag = exports.getTagByLabel = void 0; | ||
exports.SortOrder = exports.Field = exports.queryTags = exports.getTagBySlug = exports.getTag = exports.getTagByLabel = exports.__metadata = void 0; | ||
const blog_v3_tag_universal_1 = require("./blog-v3-tag.universal"); | ||
exports.__metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
function getTagByLabel(httpClient) { | ||
@@ -6,0 +7,0 @@ return (label, options) => (0, blog_v3_tag_universal_1.getTagByLabel)(label, options, |
@@ -233,3 +233,5 @@ import { toURLSearchParams } from '@wix/metro-runtime'; | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.category', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategory', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/{categoryId}', data: serializedData, host }), | ||
@@ -264,3 +266,5 @@ params: toURLSearchParams(serializedData), | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.category', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategoryBySlug', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/slugs/{slug}', data: serializedData, host }), | ||
@@ -292,3 +296,5 @@ params: toURLSearchParams(serializedData), | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.category', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories', data: serializedData, host }), | ||
@@ -330,3 +336,5 @@ params: toURLSearchParams(serializedData), | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.category', | ||
method: 'POST', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.QueryCategories', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/query', data: serializedData, host }), | ||
@@ -333,0 +341,0 @@ data: serializedData, |
import { HttpClient } from '@wix/sdk-types'; | ||
import { GetCategoryBySlugOptions, GetCategoryOptions, ListCategoriesOptions, QueryCategoriesOptions } from './blog-v3-category.universal'; | ||
export declare const __metadata: { | ||
PACKAGE_NAME: string; | ||
}; | ||
export declare function getCategory(httpClient: HttpClient): (categoryId: string, options?: GetCategoryOptions | undefined) => Promise<import("./blog-v3-category.universal").GetCategoryResponse>; | ||
@@ -4,0 +7,0 @@ export declare function getCategoryBySlug(httpClient: HttpClient): (slug: string, options?: GetCategoryBySlugOptions | undefined) => Promise<import("./blog-v3-category.universal").GetCategoryBySlugResponse>; |
import { getCategory as universalGetCategory, getCategoryBySlug as universalGetCategoryBySlug, listCategories as universalListCategories, queryCategories as universalQueryCategories, } from './blog-v3-category.universal'; | ||
export const __metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
export function getCategory(httpClient) { | ||
@@ -3,0 +4,0 @@ return (categoryId, options) => universalGetCategory(categoryId, options, |
@@ -370,2 +370,10 @@ export interface Category { | ||
fieldsets?: Field[]; | ||
/** | ||
* Language filter. | ||
* | ||
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. | ||
* Pass a language to only receive categories that are in that language. | ||
* If omitted, categories in all languages are returned. | ||
*/ | ||
language?: string | null; | ||
} | ||
@@ -372,0 +380,0 @@ export interface BlogPaging { |
@@ -323,2 +323,10 @@ export declare const __debug: { | ||
fieldsets?: Field[]; | ||
/** | ||
* Language filter. | ||
* | ||
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. | ||
* Pass a language to only receive categories that are in that language. | ||
* If omitted, categories in all languages are returned. | ||
*/ | ||
language?: string | null; | ||
} | ||
@@ -557,2 +565,10 @@ export interface BlogPaging { | ||
fieldsets?: Field[]; | ||
/** | ||
* Language filter. | ||
* | ||
* 2-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. | ||
* Pass a language to only receive categories that are in that language. | ||
* If omitted, categories in all languages are returned. | ||
*/ | ||
language?: string | null; | ||
} | ||
@@ -559,0 +575,0 @@ /** |
@@ -199,2 +199,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
fieldsets: '$[0].fieldsets', | ||
language: '$[0].language', | ||
}; | ||
@@ -201,0 +202,0 @@ const responseTransformation = '$'; |
@@ -532,3 +532,5 @@ import { toURLSearchParams } from '@wix/metro-runtime'; | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -594,3 +596,5 @@ protoPath: '/v3/posts/{postId}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -658,3 +662,5 @@ protoPath: '/v3/posts/slugs/{slug}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -732,3 +738,5 @@ protoPath: '/v3/posts', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'POST', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -763,3 +771,5 @@ protoPath: '/v3/posts/query', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({ | ||
@@ -796,3 +806,5 @@ protoPath: '/v3/posts/{postId}/metrics', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({ | ||
@@ -826,3 +838,5 @@ protoPath: '/v2/stats/post/count', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.post', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({ | ||
@@ -829,0 +843,0 @@ protoPath: '/v2/stats/posts/total', |
import { HttpClient } from '@wix/sdk-types'; | ||
import { GetPostBySlugOptions, GetPostOptions, GetTotalPostsOptions, ListPostsOptions, QueryPostCountStatsOptions, QueryPostsOptions } from './blog-v3-post.universal'; | ||
export declare const __metadata: { | ||
PACKAGE_NAME: string; | ||
}; | ||
export declare function getPost(httpClient: HttpClient): (postId: string, options?: GetPostOptions | undefined) => Promise<import("./blog-v3-post.universal").GetPostResponse>; | ||
@@ -11,2 +14,2 @@ export declare function getPostBySlug(httpClient: HttpClient): (slug: string, options?: GetPostBySlugOptions | undefined) => Promise<import("./blog-v3-post.universal").GetPostBySlugResponse>; | ||
export { NodeType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, ModerationStatusStatus, GetPostTemplatesSort, Origin, Status, Field, PostFieldField, GetPostsSort, SortOrder, QueryPublicationsCountStatsRequestOrder, Order, } from './blog-v3-post.universal'; | ||
export { Post, CoverMedia, CoverMediaMediaOneOf, PostCountInfo, Metrics, SeoSchema, Keyword, Tag, Settings, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, ListTemplatesRequest, BlogPaging, ListTemplatesResponse, MetaData, Category, GetTemplateRequest, GetTemplateResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, DraftPost, DraftPostTranslation, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, PostLiked, PostLikedInitiatorOneOf, PostUnliked, PostUnlikedInitiatorOneOf, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostOwnerChanged, InitialPostsCopied, GetPostRequest, GetPostResponse, GetPostBySlugRequest, GetPostBySlugResponse, ListPostsRequest, ListPostsResponse, QueryPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryPostsResponse, PagingMetadataV2, Cursors, GetPostMetricsRequest, GetPostMetricsResponse, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, ViewPostRequest, ViewPostResponse, PinPostRequest, PinPostResponse, UnpinPostRequest, UnpinPostResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, Reactions, ListDemoPostsRequest, ListDemoPostsResponse, OldBlogMigratedEvent, ListMigratedPostsRequest, BlogCursorPaging, ListMigratedPostsResponse, PostMigrationMetaData, CursorMetaData, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsResponse, PeriodPublicationsCount, QueryPostCountStatsRequest, QueryPostCountStatsResponse, PeriodPostCount, GetTotalPublicationsRequest, GetTotalPublicationsResponse, GetTotalPostsRequest, GetTotalPostsResponse, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, GetPostOptions, GetPostBySlugOptions, ListPostsOptions, QueryPostsOptions, PostsQueryResult, PostsQueryBuilder, QueryPostCountStatsOptions, GetTotalPostsOptions, } from './blog-v3-post.universal'; | ||
export { Post, CoverMedia, CoverMediaMediaOneOf, PostCountInfo, Metrics, SeoSchema, Keyword, Tag, Settings, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, V1Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, Option, PollSettings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, ModerationDetails, Media, MediaMediaOneOf, WixMedia, VideoResolution, EmbedMedia, EmbedThumbnail, EmbedVideo, ListTemplatesRequest, BlogPaging, ListTemplatesResponse, MetaData, Category, GetTemplateRequest, GetTemplateResponse, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, DraftPost, DraftPostTranslation, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, PostLiked, PostLikedInitiatorOneOf, PostUnliked, PostUnlikedInitiatorOneOf, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostOwnerChanged, InitialPostsCopied, GetPostRequest, GetPostResponse, GetPostBySlugRequest, GetPostBySlugResponse, ListPostsRequest, ListPostsResponse, QueryPostsRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryPostsResponse, PagingMetadataV2, Cursors, GetPostMetricsRequest, GetPostMetricsResponse, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, ViewPostRequest, ViewPostResponse, PinPostRequest, PinPostResponse, UnpinPostRequest, UnpinPostResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, Reactions, ListDemoPostsRequest, ListDemoPostsResponse, OldBlogMigratedEvent, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsResponse, PeriodPublicationsCount, QueryPostCountStatsRequest, QueryPostCountStatsResponse, PeriodPostCount, GetTotalPublicationsRequest, GetTotalPublicationsResponse, GetTotalPostsRequest, GetTotalPostsResponse, SendActionEventRequest, SendActionEventRequestActionOneOf, SendActionEventResponse, GetPostOptions, GetPostBySlugOptions, ListPostsOptions, QueryPostsOptions, PostsQueryResult, PostsQueryBuilder, QueryPostCountStatsOptions, GetTotalPostsOptions, } from './blog-v3-post.universal'; |
import { getPost as universalGetPost, getPostBySlug as universalGetPostBySlug, listPosts as universalListPosts, queryPosts as universalQueryPosts, getPostMetrics as universalGetPostMetrics, queryPostCountStats as universalQueryPostCountStats, getTotalPosts as universalGetTotalPosts, } from './blog-v3-post.universal'; | ||
export const __metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
export function getPost(httpClient) { | ||
@@ -3,0 +4,0 @@ return (postId, options) => universalGetPost(postId, options, |
@@ -226,3 +226,5 @@ import { toURLSearchParams } from '@wix/metro-runtime'; | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.tag', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.TagService.GetTagByLabel', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl({ | ||
@@ -253,3 +255,5 @@ protoPath: '/v3/tags/labels/{label}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.tag', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.TagService.GetTag', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl({ | ||
@@ -282,3 +286,5 @@ protoPath: '/v3/tags/{tagId}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.tag', | ||
method: 'GET', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.TagService.GetTagBySlug', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl({ | ||
@@ -319,3 +325,5 @@ protoPath: '/v3/tags/slugs/{slug}', | ||
const metadata = { | ||
entityFqdn: 'wix.blog.v3.tag', | ||
method: 'POST', | ||
methodFqn: 'com.wixpress.npm.communities.platformized.blog.TagService.QueryTags', | ||
url: resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl({ | ||
@@ -322,0 +330,0 @@ protoPath: '/v3/tags/query', |
import { HttpClient } from '@wix/sdk-types'; | ||
import { GetTagByLabelOptions, GetTagBySlugOptions, GetTagOptions, QueryTagsOptions } from './blog-v3-tag.universal'; | ||
export declare const __metadata: { | ||
PACKAGE_NAME: string; | ||
}; | ||
export declare function getTagByLabel(httpClient: HttpClient): (label: string, options?: GetTagByLabelOptions | undefined) => Promise<import("./blog-v3-tag.universal").GetTagByLabelResponse>; | ||
@@ -4,0 +7,0 @@ export declare function getTag(httpClient: HttpClient): (tagId: string, options?: GetTagOptions | undefined) => Promise<import("./blog-v3-tag.universal").GetTagResponse>; |
import { getTagByLabel as universalGetTagByLabel, getTag as universalGetTag, getTagBySlug as universalGetTagBySlug, queryTags as universalQueryTags, } from './blog-v3-tag.universal'; | ||
export const __metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
export function getTagByLabel(httpClient) { | ||
@@ -3,0 +4,0 @@ return (label, options) => universalGetTagByLabel(label, options, |
{ | ||
"name": "@wix/blog", | ||
"version": "1.0.167", | ||
"version": "1.0.168", | ||
"publishConfig": { | ||
@@ -36,3 +36,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "d3badca36f52cc805104c15eea8bd39e707b530065792fb2cac35659" | ||
"falconPackageHash": "fc51e4856ecbaf7d076c9b2eba119099f8b8d4de07854eab73260d3d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1026935
23602