@wix/auto_sdk_blog_draft-posts 1.0.67 → 1.0.69
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 +16 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +22 -4
- package/build/cjs/index.typings.js +16 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +15 -1
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +13 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +22 -4
- package/build/es/index.typings.mjs +13 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +15 -1
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +16 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +22 -4
- package/build/internal/cjs/index.typings.js +16 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +15 -1
- package/build/internal/cjs/meta.js +7 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +13 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +22 -4
- package/build/internal/es/index.typings.mjs +13 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +15 -1
- package/build/internal/es/meta.mjs +6 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
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, PublishDraftPostResponse, DraftCreatedEnvelope, DraftDeletedEnvelope, DraftUpdatedEnvelope, DraftPostQuery, QueryDraftPostsOptions, typedQueryDraftPosts, DraftPostsQueryBuilder } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, Action, ActionEvent, ActionWithLiterals, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonQueryWithEntityContext, CreateDraftPostRequest, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostQuerySpec, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf,
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, Action, ActionEvent, ActionWithLiterals, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BannerOrigin, BannerOriginWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonQueryWithEntityContext, CreateDraftPostRequest, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostQuerySpec, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetDeletedDraftPostRequest, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetDraftPostsSortWithLiterals, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialDraftPostsCopied, InitialExpandedItems, InitialExpandedItemsWithLiterals, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, ModerationStatusStatusWithLiterals, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, PricingData, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, SeoSchema, Settings, ShapeData, ShapeDataStyles, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TotalDraftPosts, TotalDraftPostsGroupingField, TotalDraftPostsGroupingFieldWithLiterals, TranslateDraftRequest, TranslateDraftResponse, Type, TypeWithLiterals, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createDraftPost$1(httpClient: HttpClient): CreateDraftPostSignature;
|
|
6
6
|
interface CreateDraftPostSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __export(index_exports, {
|
|
|
25
25
|
AppType: () => AppType,
|
|
26
26
|
AspectRatio: () => AspectRatio,
|
|
27
27
|
BackgroundType: () => BackgroundType,
|
|
28
|
+
BannerOrigin: () => BannerOrigin,
|
|
28
29
|
ButtonDataType: () => ButtonDataType,
|
|
29
30
|
CardStylesType: () => CardStylesType,
|
|
30
31
|
Crop: () => Crop,
|
|
@@ -33,7 +34,6 @@ __export(index_exports, {
|
|
|
33
34
|
Direction: () => Direction,
|
|
34
35
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
35
36
|
Field: () => Field,
|
|
36
|
-
Filter: () => Filter,
|
|
37
37
|
FontType: () => FontType,
|
|
38
38
|
GIFType: () => GIFType,
|
|
39
39
|
GetDraftPostsSort: () => GetDraftPostsSort,
|
|
@@ -53,11 +53,9 @@ __export(index_exports, {
|
|
|
53
53
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
54
54
|
PollLayoutType: () => PollLayoutType,
|
|
55
55
|
Position: () => Position,
|
|
56
|
-
QueryBuilder: () => QueryBuilder,
|
|
57
56
|
Resizing: () => Resizing,
|
|
58
57
|
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
59
58
|
Scaling: () => Scaling,
|
|
60
|
-
Sort: () => Sort,
|
|
61
59
|
SortOrder: () => SortOrder,
|
|
62
60
|
Source: () => Source,
|
|
63
61
|
Status: () => Status,
|
|
@@ -91,7 +89,8 @@ __export(index_exports, {
|
|
|
91
89
|
queryDraftPosts: () => queryDraftPosts4,
|
|
92
90
|
removeFromTrashBin: () => removeFromTrashBin4,
|
|
93
91
|
restoreFromTrashBin: () => restoreFromTrashBin4,
|
|
94
|
-
updateDraftPost: () => updateDraftPost4
|
|
92
|
+
updateDraftPost: () => updateDraftPost4,
|
|
93
|
+
utils: () => utils
|
|
95
94
|
});
|
|
96
95
|
module.exports = __toCommonJS(index_exports);
|
|
97
96
|
|
|
@@ -2240,6 +2239,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
2240
2239
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
2241
2240
|
return ImagePosition2;
|
|
2242
2241
|
})(ImagePosition || {});
|
|
2242
|
+
var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
|
|
2243
|
+
BannerOrigin2["IMAGE"] = "IMAGE";
|
|
2244
|
+
BannerOrigin2["LAYOUT"] = "LAYOUT";
|
|
2245
|
+
return BannerOrigin2;
|
|
2246
|
+
})(BannerOrigin || {});
|
|
2243
2247
|
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
2244
2248
|
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
2245
2249
|
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
@@ -3126,7 +3130,11 @@ async function typedQueryDraftPosts(query, options) {
|
|
|
3126
3130
|
throw transformedError;
|
|
3127
3131
|
}
|
|
3128
3132
|
}
|
|
3129
|
-
var
|
|
3133
|
+
var utils = {
|
|
3134
|
+
query: {
|
|
3135
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
3136
|
+
}
|
|
3137
|
+
};
|
|
3130
3138
|
async function publishDraftPost2(draftPostId) {
|
|
3131
3139
|
const { httpClient, sideEffects } = arguments[1];
|
|
3132
3140
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -3530,6 +3538,7 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3530
3538
|
AppType,
|
|
3531
3539
|
AspectRatio,
|
|
3532
3540
|
BackgroundType,
|
|
3541
|
+
BannerOrigin,
|
|
3533
3542
|
ButtonDataType,
|
|
3534
3543
|
CardStylesType,
|
|
3535
3544
|
Crop,
|
|
@@ -3538,7 +3547,6 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3538
3547
|
Direction,
|
|
3539
3548
|
DividerDataAlignment,
|
|
3540
3549
|
Field,
|
|
3541
|
-
Filter,
|
|
3542
3550
|
FontType,
|
|
3543
3551
|
GIFType,
|
|
3544
3552
|
GetDraftPostsSort,
|
|
@@ -3558,11 +3566,9 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3558
3566
|
PollLayoutDirection,
|
|
3559
3567
|
PollLayoutType,
|
|
3560
3568
|
Position,
|
|
3561
|
-
QueryBuilder,
|
|
3562
3569
|
Resizing,
|
|
3563
3570
|
ResponsivenessBehaviour,
|
|
3564
3571
|
Scaling,
|
|
3565
|
-
Sort,
|
|
3566
3572
|
SortOrder,
|
|
3567
3573
|
Source,
|
|
3568
3574
|
Status,
|
|
@@ -3596,6 +3602,7 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3596
3602
|
queryDraftPosts,
|
|
3597
3603
|
removeFromTrashBin,
|
|
3598
3604
|
restoreFromTrashBin,
|
|
3599
|
-
updateDraftPost
|
|
3605
|
+
updateDraftPost,
|
|
3606
|
+
utils
|
|
3600
3607
|
});
|
|
3601
3608
|
//# sourceMappingURL=index.js.map
|