@wix/auto_sdk_blog_draft-posts 1.0.32 → 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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +64 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +211 -9
- package/build/cjs/index.typings.js +64 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +210 -8
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +57 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +211 -9
- package/build/es/index.typings.mjs +57 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +210 -8
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +64 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +211 -9
- package/build/internal/cjs/index.typings.js +64 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +210 -8
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +57 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +211 -9
- package/build/internal/es/index.typings.mjs +57 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +210 -8
- package/package.json +3 -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 { DraftPost, CreateDraftPostOptions, CreateDraftPostResponse, BulkCreateDraftPostsOptions, BulkCreateDraftPostsResponse, BulkUpdateDraftPostsOptions, BulkUpdateDraftPostsResponse, ListDeletedDraftPostsOptions, ListDeletedDraftPostsResponse, GetDraftPostOptions, GetDraftPostResponse, UpdateDraftPost, UpdateDraftPostOptions, UpdateDraftPostResponse, DeleteDraftPostOptions, BulkDeleteDraftPostsOptions, BulkDeleteDraftPostsResponse, ListDraftPostsOptions, ListDraftPostsResponse, GetDeletedDraftPostResponse, RestoreFromTrashBinResponse, QueryDraftPostsOptions, DraftPostsQueryBuilder, PublishDraftPostResponse, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, CaptionData, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostRequest, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GetDeletedDraftPostRequest, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Position, PostAmountByLanguage, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia } from './index.typings.js';
|
|
3
|
+
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CardStylesType, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostRequest, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, GetDeletedDraftPostRequest, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Position, PostAmountByLanguage, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, Resizing, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RibbonStyles, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, StylesPosition, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
type DraftNonNullablePaths = `_id` | `title` | `categoryIds` | `hashtags` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `status` | `moderationDetails.submittedBy` | `moderationDetails.status` | `hasUnpublishedChanges` | `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` | `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`;
|
|
6
6
|
declare function createDraftPost$1(httpClient: HttpClient): CreateDraftPostSignature;
|
package/build/cjs/index.js
CHANGED
|
@@ -23,16 +23,20 @@ __export(index_exports, {
|
|
|
23
23
|
Action: () => Action,
|
|
24
24
|
Alignment: () => Alignment,
|
|
25
25
|
AppType: () => AppType,
|
|
26
|
+
AspectRatio: () => AspectRatio,
|
|
26
27
|
BackgroundType: () => BackgroundType,
|
|
27
28
|
ButtonDataType: () => ButtonDataType,
|
|
29
|
+
CardStylesType: () => CardStylesType,
|
|
28
30
|
Crop: () => Crop,
|
|
29
31
|
DecorationType: () => DecorationType,
|
|
30
32
|
Direction: () => Direction,
|
|
33
|
+
DividerDataAlignment: () => DividerDataAlignment,
|
|
31
34
|
Field: () => Field,
|
|
32
35
|
FontType: () => FontType,
|
|
33
36
|
GIFType: () => GIFType,
|
|
34
37
|
GetDraftPostsSort: () => GetDraftPostsSort,
|
|
35
38
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
39
|
+
Layout: () => Layout,
|
|
36
40
|
LayoutType: () => LayoutType,
|
|
37
41
|
LineStyle: () => LineStyle,
|
|
38
42
|
MapType: () => MapType,
|
|
@@ -41,13 +45,16 @@ __export(index_exports, {
|
|
|
41
45
|
NullValue: () => NullValue,
|
|
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,
|
|
53
|
+
Resizing: () => Resizing,
|
|
48
54
|
SortOrder: () => SortOrder,
|
|
49
55
|
Source: () => Source,
|
|
50
56
|
Status: () => Status,
|
|
57
|
+
StylesPosition: () => StylesPosition,
|
|
51
58
|
Target: () => Target,
|
|
52
59
|
TextAlignment: () => TextAlignment,
|
|
53
60
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
@@ -1966,12 +1973,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
1966
1973
|
Width2["SMALL"] = "SMALL";
|
|
1967
1974
|
return Width2;
|
|
1968
1975
|
})(Width || {});
|
|
1969
|
-
var
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
return
|
|
1974
|
-
})(
|
|
1976
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
1977
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
1978
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
1979
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
1980
|
+
return DividerDataAlignment2;
|
|
1981
|
+
})(DividerDataAlignment || {});
|
|
1975
1982
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
1976
1983
|
ViewMode2["NONE"] = "NONE";
|
|
1977
1984
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -2019,13 +2026,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
2019
2026
|
Source2["ADSENSE"] = "ADSENSE";
|
|
2020
2027
|
return Source2;
|
|
2021
2028
|
})(Source || {});
|
|
2022
|
-
var
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
return
|
|
2028
|
-
})(
|
|
2029
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
2030
|
+
StylesPosition2["START"] = "START";
|
|
2031
|
+
StylesPosition2["END"] = "END";
|
|
2032
|
+
StylesPosition2["TOP"] = "TOP";
|
|
2033
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
2034
|
+
return StylesPosition2;
|
|
2035
|
+
})(StylesPosition || {});
|
|
2029
2036
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
2030
2037
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
2031
2038
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -2081,6 +2088,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
2081
2088
|
FontType2["EM"] = "EM";
|
|
2082
2089
|
return FontType2;
|
|
2083
2090
|
})(FontType || {});
|
|
2091
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
2092
|
+
Position2["START"] = "START";
|
|
2093
|
+
Position2["END"] = "END";
|
|
2094
|
+
Position2["TOP"] = "TOP";
|
|
2095
|
+
return Position2;
|
|
2096
|
+
})(Position || {});
|
|
2097
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
2098
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
2099
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
2100
|
+
return AspectRatio2;
|
|
2101
|
+
})(AspectRatio || {});
|
|
2102
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
2103
|
+
Resizing2["FILL"] = "FILL";
|
|
2104
|
+
Resizing2["FIT"] = "FIT";
|
|
2105
|
+
return Resizing2;
|
|
2106
|
+
})(Resizing || {});
|
|
2107
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
2108
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
2109
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
2110
|
+
return Placement2;
|
|
2111
|
+
})(Placement || {});
|
|
2112
|
+
var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
|
|
2113
|
+
CardStylesType2["CONTAINED"] = "CONTAINED";
|
|
2114
|
+
CardStylesType2["FRAMELESS"] = "FRAMELESS";
|
|
2115
|
+
return CardStylesType2;
|
|
2116
|
+
})(CardStylesType || {});
|
|
2117
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
2118
|
+
Alignment2["START"] = "START";
|
|
2119
|
+
Alignment2["CENTER"] = "CENTER";
|
|
2120
|
+
Alignment2["END"] = "END";
|
|
2121
|
+
return Alignment2;
|
|
2122
|
+
})(Alignment || {});
|
|
2123
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
2124
|
+
Layout2["STACKED"] = "STACKED";
|
|
2125
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
2126
|
+
return Layout2;
|
|
2127
|
+
})(Layout || {});
|
|
2084
2128
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
2085
2129
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
2086
2130
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -3380,16 +3424,20 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3380
3424
|
Action,
|
|
3381
3425
|
Alignment,
|
|
3382
3426
|
AppType,
|
|
3427
|
+
AspectRatio,
|
|
3383
3428
|
BackgroundType,
|
|
3384
3429
|
ButtonDataType,
|
|
3430
|
+
CardStylesType,
|
|
3385
3431
|
Crop,
|
|
3386
3432
|
DecorationType,
|
|
3387
3433
|
Direction,
|
|
3434
|
+
DividerDataAlignment,
|
|
3388
3435
|
Field,
|
|
3389
3436
|
FontType,
|
|
3390
3437
|
GIFType,
|
|
3391
3438
|
GetDraftPostsSort,
|
|
3392
3439
|
InitialExpandedItems,
|
|
3440
|
+
Layout,
|
|
3393
3441
|
LayoutType,
|
|
3394
3442
|
LineStyle,
|
|
3395
3443
|
MapType,
|
|
@@ -3398,13 +3446,16 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3398
3446
|
NullValue,
|
|
3399
3447
|
Orientation,
|
|
3400
3448
|
Origin,
|
|
3449
|
+
Placement,
|
|
3401
3450
|
PluginContainerDataAlignment,
|
|
3402
3451
|
PollLayoutDirection,
|
|
3403
3452
|
PollLayoutType,
|
|
3404
3453
|
Position,
|
|
3454
|
+
Resizing,
|
|
3405
3455
|
SortOrder,
|
|
3406
3456
|
Source,
|
|
3407
3457
|
Status,
|
|
3458
|
+
StylesPosition,
|
|
3408
3459
|
Target,
|
|
3409
3460
|
TextAlignment,
|
|
3410
3461
|
ThumbnailsAlignment,
|