@wix/auto_sdk_blog_posts 1.0.36 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +69 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +188 -12
- package/build/cjs/index.typings.js +69 -18
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -8
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +62 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +188 -12
- package/build/es/index.typings.mjs +62 -18
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -8
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +69 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +188 -12
- package/build/internal/cjs/index.typings.js +69 -18
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +8 -8
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +62 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +188 -12
- package/build/internal/es/index.typings.mjs +62 -18
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +8 -8
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
2
2
|
import { QueryPostCountStatsOptions, QueryPostCountStatsResponse, GetTotalPostsOptions, GetTotalPostsResponse, GetPostOptions, GetPostResponse, GetPostBySlugOptions, GetPostBySlugResponse, ListPostsOptions, ListPostsResponse, QueryPostsOptions, PostsQueryBuilder, GetPostMetricsResponse, PostCreatedEnvelope, PostDeletedEnvelope, PostLikedEnvelope, PostUnlikedEnvelope, PostUpdatedEnvelope } from './index.typings.js';
|
3
|
-
export { ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, CaptionData, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftPost, DraftPostTranslation, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GetPostBySlugRequest, GetPostMetricsRequest, GetPostRequest, GetPostTemplatesSort, GetPostsSort, GetTemplateRequest, GetTemplateResponse, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, InitialExpandedItems, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutCellData, LayoutType, LikePostRequest, LikePostResponse, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListTemplatesRequest, ListTemplatesResponse, ListValue, MapData, MapSettings, MapType, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, OldBlogMigratedEvent, Option, OptionDesign, OptionLayout, Order, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Position, Post, PostCategoriesUpdated, PostCountInfo, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostFieldField, PostLiked, PostLikedInitiatorOneOf, PostOwnerChanged, PostTagsUpdated, PostTranslation, PostUnliked, PostUnlikedInitiatorOneOf, PostsQueryResult, QueryPostCountStatsRequest, QueryPostsRequest, QueryPostsResponse, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsResponse, Reactions, Rel, RestoreInfo, RichContent, ScheduledPostPublished, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewPostRequest, ViewPostResponse, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia } from './index.typings.js';
|
3
|
+
export { ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkGetPostMetricsRequest, BulkGetPostMetricsResponse, BulkGetPostReactionsRequest, BulkGetPostReactionsResponse, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertDraftJsToRichContentRequest, ConvertDraftJsToRichContentResponse, ConvertRichContentToDraftJsRequest, ConvertRichContentToDraftJsResponse, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostFromTemplateRequest, CreateDraftPostFromTemplateResponse, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftPost, DraftPostTranslation, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, GetPostBySlugRequest, GetPostMetricsRequest, GetPostRequest, GetPostTemplatesSort, GetPostsSort, GetTemplateRequest, GetTemplateResponse, GetTotalLikesPerMemberRequest, GetTotalLikesPerMemberResponse, GetTotalPostsRequest, GetTotalPublicationsRequest, GetTotalPublicationsResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InitialPostsCopied, Item, ItemDataOneOf, ItemStyle, Keyword, Layout, LayoutCellData, LayoutType, LikePostRequest, LikePostResponse, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDemoPostsRequest, ListDemoPostsResponse, ListPostsArchiveRequest, ListPostsArchiveResponse, ListPostsRequest, ListTemplatesRequest, ListTemplatesResponse, ListValue, MapData, MapSettings, MapType, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, Metrics, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, OldBlogMigratedEvent, Option, OptionDesign, OptionLayout, Order, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, PeriodPostCount, PeriodPublicationsCount, Permissions, PinPostRequest, PinPostResponse, Placement, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Position, Post, PostCategoriesUpdated, PostCountInfo, PostCountersUpdated, PostCountersUpdatedInitiatorOneOf, PostFieldField, PostLiked, PostLikedInitiatorOneOf, PostOwnerChanged, PostTagsUpdated, PostTranslation, PostUnliked, PostUnlikedInitiatorOneOf, PostsQueryResult, QueryPostCountStatsRequest, QueryPostsRequest, QueryPostsResponse, QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, QueryPublicationsCountStatsResponse, Reactions, Rel, Resizing, RestoreInfo, RibbonStyles, RichContent, ScheduledPostPublished, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, StylesPosition, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UnlikePostRequest, UnlikePostResponse, UnpinPostRequest, UnpinPostResponse, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewPostRequest, ViewPostResponse, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia } from './index.typings.js';
|
4
4
|
|
5
5
|
type PostNonNullablePaths = `_id` | `title` | `excerpt` | `slug` | `featured` | `pinned` | `categoryIds` | `coverMedia.enabled` | `coverMedia.displayed` | `coverMedia.custom` | `memberId` | `hashtags` | `commentingEnabled` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `preview` | `moderationDetails.submittedBy` | `moderationDetails.status` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom` | `hasUnpublishedChanges`;
|
6
6
|
declare function queryPostCountStats$1(httpClient: HttpClient): QueryPostCountStatsSignature;
|
package/build/cjs/index.js
CHANGED
@@ -22,16 +22,20 @@ var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
23
23
|
Alignment: () => Alignment,
|
24
24
|
AppType: () => AppType,
|
25
|
+
AspectRatio: () => AspectRatio,
|
25
26
|
BackgroundType: () => BackgroundType,
|
27
|
+
ButtonDataType: () => ButtonDataType,
|
26
28
|
Crop: () => Crop,
|
27
29
|
DecorationType: () => DecorationType,
|
28
30
|
Direction: () => Direction,
|
31
|
+
DividerDataAlignment: () => DividerDataAlignment,
|
29
32
|
Field: () => Field,
|
30
33
|
FontType: () => FontType,
|
31
34
|
GIFType: () => GIFType,
|
32
35
|
GetPostTemplatesSort: () => GetPostTemplatesSort,
|
33
36
|
GetPostsSort: () => GetPostsSort,
|
34
37
|
InitialExpandedItems: () => InitialExpandedItems,
|
38
|
+
Layout: () => Layout,
|
35
39
|
LayoutType: () => LayoutType,
|
36
40
|
LineStyle: () => LineStyle,
|
37
41
|
MapType: () => MapType,
|
@@ -41,15 +45,18 @@ __export(index_exports, {
|
|
41
45
|
Order: () => Order,
|
42
46
|
Orientation: () => Orientation,
|
43
47
|
Origin: () => Origin,
|
48
|
+
Placement: () => Placement,
|
44
49
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
45
50
|
PollLayoutDirection: () => PollLayoutDirection,
|
46
51
|
PollLayoutType: () => PollLayoutType,
|
47
52
|
Position: () => Position,
|
48
53
|
PostFieldField: () => PostFieldField,
|
49
54
|
QueryPublicationsCountStatsRequestOrder: () => QueryPublicationsCountStatsRequestOrder,
|
55
|
+
Resizing: () => Resizing,
|
50
56
|
SortOrder: () => SortOrder,
|
51
57
|
Source: () => Source,
|
52
58
|
Status: () => Status,
|
59
|
+
StylesPosition: () => StylesPosition,
|
53
60
|
Target: () => Target,
|
54
61
|
TextAlignment: () => TextAlignment,
|
55
62
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
@@ -980,11 +987,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
|
|
980
987
|
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
981
988
|
return PluginContainerDataAlignment2;
|
982
989
|
})(PluginContainerDataAlignment || {});
|
983
|
-
var
|
984
|
-
|
985
|
-
|
986
|
-
return
|
987
|
-
})(
|
990
|
+
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
|
991
|
+
ButtonDataType2["LINK"] = "LINK";
|
992
|
+
ButtonDataType2["ACTION"] = "ACTION";
|
993
|
+
return ButtonDataType2;
|
994
|
+
})(ButtonDataType || {});
|
988
995
|
var Target = /* @__PURE__ */ ((Target2) => {
|
989
996
|
Target2["SELF"] = "SELF";
|
990
997
|
Target2["BLANK"] = "BLANK";
|
@@ -1013,12 +1020,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
1013
1020
|
Width2["SMALL"] = "SMALL";
|
1014
1021
|
return Width2;
|
1015
1022
|
})(Width || {});
|
1016
|
-
var
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
return
|
1021
|
-
})(
|
1023
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
1024
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
1025
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
1026
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
1027
|
+
return DividerDataAlignment2;
|
1028
|
+
})(DividerDataAlignment || {});
|
1022
1029
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
1023
1030
|
ViewMode2["NONE"] = "NONE";
|
1024
1031
|
ViewMode2["FULL"] = "FULL";
|
@@ -1066,13 +1073,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
1066
1073
|
Source2["ADSENSE"] = "ADSENSE";
|
1067
1074
|
return Source2;
|
1068
1075
|
})(Source || {});
|
1069
|
-
var
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
return
|
1075
|
-
})(
|
1076
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
1077
|
+
StylesPosition2["START"] = "START";
|
1078
|
+
StylesPosition2["END"] = "END";
|
1079
|
+
StylesPosition2["TOP"] = "TOP";
|
1080
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
1081
|
+
return StylesPosition2;
|
1082
|
+
})(StylesPosition || {});
|
1076
1083
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
1077
1084
|
MapType2["ROADMAP"] = "ROADMAP";
|
1078
1085
|
MapType2["SATELITE"] = "SATELITE";
|
@@ -1125,6 +1132,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
1125
1132
|
FontType2["EM"] = "EM";
|
1126
1133
|
return FontType2;
|
1127
1134
|
})(FontType || {});
|
1135
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
1136
|
+
Position2["START"] = "START";
|
1137
|
+
Position2["END"] = "END";
|
1138
|
+
Position2["TOP"] = "TOP";
|
1139
|
+
return Position2;
|
1140
|
+
})(Position || {});
|
1141
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
1142
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
1143
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
1144
|
+
return AspectRatio2;
|
1145
|
+
})(AspectRatio || {});
|
1146
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
1147
|
+
Resizing2["FILL"] = "FILL";
|
1148
|
+
Resizing2["FIT"] = "FIT";
|
1149
|
+
return Resizing2;
|
1150
|
+
})(Resizing || {});
|
1151
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
1152
|
+
Placement2["IMAGE"] = "IMAGE";
|
1153
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
1154
|
+
return Placement2;
|
1155
|
+
})(Placement || {});
|
1156
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
1157
|
+
Type2["CONTAINED"] = "CONTAINED";
|
1158
|
+
Type2["FRAMELESS"] = "FRAMELESS";
|
1159
|
+
return Type2;
|
1160
|
+
})(Type || {});
|
1161
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
1162
|
+
Alignment2["START"] = "START";
|
1163
|
+
Alignment2["CENTER"] = "CENTER";
|
1164
|
+
Alignment2["END"] = "END";
|
1165
|
+
return Alignment2;
|
1166
|
+
})(Alignment || {});
|
1167
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
1168
|
+
Layout2["STACKED"] = "STACKED";
|
1169
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
1170
|
+
return Layout2;
|
1171
|
+
})(Layout || {});
|
1128
1172
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
1129
1173
|
AppType2["PRODUCT"] = "PRODUCT";
|
1130
1174
|
AppType2["EVENT"] = "EVENT";
|
@@ -1920,16 +1964,20 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
|
|
1920
1964
|
0 && (module.exports = {
|
1921
1965
|
Alignment,
|
1922
1966
|
AppType,
|
1967
|
+
AspectRatio,
|
1923
1968
|
BackgroundType,
|
1969
|
+
ButtonDataType,
|
1924
1970
|
Crop,
|
1925
1971
|
DecorationType,
|
1926
1972
|
Direction,
|
1973
|
+
DividerDataAlignment,
|
1927
1974
|
Field,
|
1928
1975
|
FontType,
|
1929
1976
|
GIFType,
|
1930
1977
|
GetPostTemplatesSort,
|
1931
1978
|
GetPostsSort,
|
1932
1979
|
InitialExpandedItems,
|
1980
|
+
Layout,
|
1933
1981
|
LayoutType,
|
1934
1982
|
LineStyle,
|
1935
1983
|
MapType,
|
@@ -1939,15 +1987,18 @@ var onPostUpdated2 = (0, import_event_definition_modules.createEventModule)(onPo
|
|
1939
1987
|
Order,
|
1940
1988
|
Orientation,
|
1941
1989
|
Origin,
|
1990
|
+
Placement,
|
1942
1991
|
PluginContainerDataAlignment,
|
1943
1992
|
PollLayoutDirection,
|
1944
1993
|
PollLayoutType,
|
1945
1994
|
Position,
|
1946
1995
|
PostFieldField,
|
1947
1996
|
QueryPublicationsCountStatsRequestOrder,
|
1997
|
+
Resizing,
|
1948
1998
|
SortOrder,
|
1949
1999
|
Source,
|
1950
2000
|
Status,
|
2001
|
+
StylesPosition,
|
1951
2002
|
Target,
|
1952
2003
|
TextAlignment,
|
1953
2004
|
ThumbnailsAlignment,
|