@wix/auto_sdk_blog_draft-posts 1.0.44 → 1.0.46
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 +42 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -26
- package/build/cjs/index.typings.js +42 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +710 -1
- package/build/cjs/meta.js +503 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +42 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -26
- package/build/es/index.typings.mjs +42 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +710 -1
- package/build/es/meta.mjs +456 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +42 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -26
- package/build/internal/cjs/index.typings.js +42 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +710 -1
- package/build/internal/cjs/meta.js +503 -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 +42 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -26
- package/build/internal/es/index.typings.mjs +42 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +710 -1
- package/build/internal/es/meta.mjs +456 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
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, ActionWithLiterals, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CreateDraftPostRequest, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetDeletedDraftPostRequest, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetDraftPostsSortWithLiterals,
|
|
3
|
+
export { Action, ActionEvent, ActionWithLiterals, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CreateDraftPostRequest, Crop, CropWithLiterals, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FieldWithLiterals, FileData, FileSource, FileSourceDataOneOf, FocalPoint, 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, ImageStyles, InitialDraftPostsCopied, InitialExpandedItems, InitialExpandedItemsWithLiterals, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutCellData, 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, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RibbonStyles, RichContent, SeoSchema, Settings, 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, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, TypeWithLiterals, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, VerticalAlignment, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, WixMedia } 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
|
@@ -323,6 +323,9 @@ function createDraftPost(payload) {
|
|
|
323
323
|
method: "POST",
|
|
324
324
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost",
|
|
325
325
|
packageName: PACKAGE_NAME,
|
|
326
|
+
migrationOptions: {
|
|
327
|
+
optInTransformResponse: true
|
|
328
|
+
},
|
|
326
329
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
327
330
|
{ protoPath: "/v3/draft-posts", data: serializedData, host }
|
|
328
331
|
),
|
|
@@ -491,6 +494,9 @@ function bulkCreateDraftPosts(payload) {
|
|
|
491
494
|
method: "POST",
|
|
492
495
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts",
|
|
493
496
|
packageName: PACKAGE_NAME,
|
|
497
|
+
migrationOptions: {
|
|
498
|
+
optInTransformResponse: true
|
|
499
|
+
},
|
|
494
500
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
495
501
|
{ protoPath: "/v3/bulk/draft-posts/create", data: serializedData, host }
|
|
496
502
|
),
|
|
@@ -706,6 +712,9 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
706
712
|
method: "PATCH",
|
|
707
713
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts",
|
|
708
714
|
packageName: PACKAGE_NAME,
|
|
715
|
+
migrationOptions: {
|
|
716
|
+
optInTransformResponse: true
|
|
717
|
+
},
|
|
709
718
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
710
719
|
{ protoPath: "/v3/draft-posts/update", data: serializedData, host }
|
|
711
720
|
),
|
|
@@ -815,6 +824,9 @@ function listDeletedDraftPosts(payload) {
|
|
|
815
824
|
method: "GET",
|
|
816
825
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts",
|
|
817
826
|
packageName: PACKAGE_NAME,
|
|
827
|
+
migrationOptions: {
|
|
828
|
+
optInTransformResponse: true
|
|
829
|
+
},
|
|
818
830
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
819
831
|
{ protoPath: "/v3/draft-posts/trash-bin", data: payload, host }
|
|
820
832
|
),
|
|
@@ -914,6 +926,9 @@ function getDraftPost(payload) {
|
|
|
914
926
|
method: "GET",
|
|
915
927
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost",
|
|
916
928
|
packageName: PACKAGE_NAME,
|
|
929
|
+
migrationOptions: {
|
|
930
|
+
optInTransformResponse: true
|
|
931
|
+
},
|
|
917
932
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
918
933
|
{ protoPath: "/v3/draft-posts/{draftPostId}", data: payload, host }
|
|
919
934
|
),
|
|
@@ -1085,6 +1100,9 @@ function updateDraftPost(payload) {
|
|
|
1085
1100
|
method: "PATCH",
|
|
1086
1101
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost",
|
|
1087
1102
|
packageName: PACKAGE_NAME,
|
|
1103
|
+
migrationOptions: {
|
|
1104
|
+
optInTransformResponse: true
|
|
1105
|
+
},
|
|
1088
1106
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1089
1107
|
{
|
|
1090
1108
|
protoPath: "/v3/draft-posts/{draftPost.id}",
|
|
@@ -1184,6 +1202,9 @@ function deleteDraftPost(payload) {
|
|
|
1184
1202
|
method: "DELETE",
|
|
1185
1203
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost",
|
|
1186
1204
|
packageName: PACKAGE_NAME,
|
|
1205
|
+
migrationOptions: {
|
|
1206
|
+
optInTransformResponse: true
|
|
1207
|
+
},
|
|
1187
1208
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1188
1209
|
{ protoPath: "/v3/draft-posts/{draftPostId}", data: payload, host }
|
|
1189
1210
|
),
|
|
@@ -1200,6 +1221,9 @@ function removeFromTrashBin(payload) {
|
|
|
1200
1221
|
method: "DELETE",
|
|
1201
1222
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin",
|
|
1202
1223
|
packageName: PACKAGE_NAME,
|
|
1224
|
+
migrationOptions: {
|
|
1225
|
+
optInTransformResponse: true
|
|
1226
|
+
},
|
|
1203
1227
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1204
1228
|
{
|
|
1205
1229
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
|
|
@@ -1220,6 +1244,9 @@ function bulkDeleteDraftPosts(payload) {
|
|
|
1220
1244
|
method: "DELETE",
|
|
1221
1245
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts",
|
|
1222
1246
|
packageName: PACKAGE_NAME,
|
|
1247
|
+
migrationOptions: {
|
|
1248
|
+
optInTransformResponse: true
|
|
1249
|
+
},
|
|
1223
1250
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1224
1251
|
{ protoPath: "/v3/bulk/draft-posts", data: payload, host }
|
|
1225
1252
|
),
|
|
@@ -1329,6 +1356,9 @@ function listDraftPosts(payload) {
|
|
|
1329
1356
|
method: "GET",
|
|
1330
1357
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts",
|
|
1331
1358
|
packageName: PACKAGE_NAME,
|
|
1359
|
+
migrationOptions: {
|
|
1360
|
+
optInTransformResponse: true
|
|
1361
|
+
},
|
|
1332
1362
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1333
1363
|
{ protoPath: "/v3/draft-posts", data: payload, host }
|
|
1334
1364
|
),
|
|
@@ -1428,6 +1458,9 @@ function getDeletedDraftPost(payload) {
|
|
|
1428
1458
|
method: "GET",
|
|
1429
1459
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost",
|
|
1430
1460
|
packageName: PACKAGE_NAME,
|
|
1461
|
+
migrationOptions: {
|
|
1462
|
+
optInTransformResponse: true
|
|
1463
|
+
},
|
|
1431
1464
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1432
1465
|
{
|
|
1433
1466
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
|
|
@@ -1527,6 +1560,9 @@ function restoreFromTrashBin(payload) {
|
|
|
1527
1560
|
method: "POST",
|
|
1528
1561
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin",
|
|
1529
1562
|
packageName: PACKAGE_NAME,
|
|
1563
|
+
migrationOptions: {
|
|
1564
|
+
optInTransformResponse: true
|
|
1565
|
+
},
|
|
1530
1566
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1531
1567
|
{
|
|
1532
1568
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}/restore",
|
|
@@ -1626,6 +1662,9 @@ function queryDraftPosts(payload) {
|
|
|
1626
1662
|
method: "POST",
|
|
1627
1663
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts",
|
|
1628
1664
|
packageName: PACKAGE_NAME,
|
|
1665
|
+
migrationOptions: {
|
|
1666
|
+
optInTransformResponse: true
|
|
1667
|
+
},
|
|
1629
1668
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1630
1669
|
{ protoPath: "/v3/draft-posts/query", data: payload, host }
|
|
1631
1670
|
),
|
|
@@ -1725,6 +1764,9 @@ function publishDraftPost(payload) {
|
|
|
1725
1764
|
method: "POST",
|
|
1726
1765
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost",
|
|
1727
1766
|
packageName: PACKAGE_NAME,
|
|
1767
|
+
migrationOptions: {
|
|
1768
|
+
optInTransformResponse: true
|
|
1769
|
+
},
|
|
1728
1770
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1729
1771
|
{
|
|
1730
1772
|
protoPath: "/v3/draft-posts/{draftPostId}/publish",
|