@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/es/index.d.mts
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.mjs';
|
|
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.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createDraftPost$1(httpClient: HttpClient): CreateDraftPostSignature;
|
|
6
6
|
interface CreateDraftPostSignature {
|
package/build/es/index.mjs
CHANGED
|
@@ -237,6 +237,9 @@ function createDraftPost(payload) {
|
|
|
237
237
|
method: "POST",
|
|
238
238
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost",
|
|
239
239
|
packageName: PACKAGE_NAME,
|
|
240
|
+
migrationOptions: {
|
|
241
|
+
optInTransformResponse: true
|
|
242
|
+
},
|
|
240
243
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
241
244
|
{ protoPath: "/v3/draft-posts", data: serializedData, host }
|
|
242
245
|
),
|
|
@@ -405,6 +408,9 @@ function bulkCreateDraftPosts(payload) {
|
|
|
405
408
|
method: "POST",
|
|
406
409
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts",
|
|
407
410
|
packageName: PACKAGE_NAME,
|
|
411
|
+
migrationOptions: {
|
|
412
|
+
optInTransformResponse: true
|
|
413
|
+
},
|
|
408
414
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
409
415
|
{ protoPath: "/v3/bulk/draft-posts/create", data: serializedData, host }
|
|
410
416
|
),
|
|
@@ -620,6 +626,9 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
620
626
|
method: "PATCH",
|
|
621
627
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts",
|
|
622
628
|
packageName: PACKAGE_NAME,
|
|
629
|
+
migrationOptions: {
|
|
630
|
+
optInTransformResponse: true
|
|
631
|
+
},
|
|
623
632
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
624
633
|
{ protoPath: "/v3/draft-posts/update", data: serializedData, host }
|
|
625
634
|
),
|
|
@@ -729,6 +738,9 @@ function listDeletedDraftPosts(payload) {
|
|
|
729
738
|
method: "GET",
|
|
730
739
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts",
|
|
731
740
|
packageName: PACKAGE_NAME,
|
|
741
|
+
migrationOptions: {
|
|
742
|
+
optInTransformResponse: true
|
|
743
|
+
},
|
|
732
744
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
733
745
|
{ protoPath: "/v3/draft-posts/trash-bin", data: payload, host }
|
|
734
746
|
),
|
|
@@ -828,6 +840,9 @@ function getDraftPost(payload) {
|
|
|
828
840
|
method: "GET",
|
|
829
841
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost",
|
|
830
842
|
packageName: PACKAGE_NAME,
|
|
843
|
+
migrationOptions: {
|
|
844
|
+
optInTransformResponse: true
|
|
845
|
+
},
|
|
831
846
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
832
847
|
{ protoPath: "/v3/draft-posts/{draftPostId}", data: payload, host }
|
|
833
848
|
),
|
|
@@ -999,6 +1014,9 @@ function updateDraftPost(payload) {
|
|
|
999
1014
|
method: "PATCH",
|
|
1000
1015
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost",
|
|
1001
1016
|
packageName: PACKAGE_NAME,
|
|
1017
|
+
migrationOptions: {
|
|
1018
|
+
optInTransformResponse: true
|
|
1019
|
+
},
|
|
1002
1020
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1003
1021
|
{
|
|
1004
1022
|
protoPath: "/v3/draft-posts/{draftPost.id}",
|
|
@@ -1098,6 +1116,9 @@ function deleteDraftPost(payload) {
|
|
|
1098
1116
|
method: "DELETE",
|
|
1099
1117
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost",
|
|
1100
1118
|
packageName: PACKAGE_NAME,
|
|
1119
|
+
migrationOptions: {
|
|
1120
|
+
optInTransformResponse: true
|
|
1121
|
+
},
|
|
1101
1122
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1102
1123
|
{ protoPath: "/v3/draft-posts/{draftPostId}", data: payload, host }
|
|
1103
1124
|
),
|
|
@@ -1114,6 +1135,9 @@ function removeFromTrashBin(payload) {
|
|
|
1114
1135
|
method: "DELETE",
|
|
1115
1136
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin",
|
|
1116
1137
|
packageName: PACKAGE_NAME,
|
|
1138
|
+
migrationOptions: {
|
|
1139
|
+
optInTransformResponse: true
|
|
1140
|
+
},
|
|
1117
1141
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1118
1142
|
{
|
|
1119
1143
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
|
|
@@ -1134,6 +1158,9 @@ function bulkDeleteDraftPosts(payload) {
|
|
|
1134
1158
|
method: "DELETE",
|
|
1135
1159
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts",
|
|
1136
1160
|
packageName: PACKAGE_NAME,
|
|
1161
|
+
migrationOptions: {
|
|
1162
|
+
optInTransformResponse: true
|
|
1163
|
+
},
|
|
1137
1164
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1138
1165
|
{ protoPath: "/v3/bulk/draft-posts", data: payload, host }
|
|
1139
1166
|
),
|
|
@@ -1243,6 +1270,9 @@ function listDraftPosts(payload) {
|
|
|
1243
1270
|
method: "GET",
|
|
1244
1271
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts",
|
|
1245
1272
|
packageName: PACKAGE_NAME,
|
|
1273
|
+
migrationOptions: {
|
|
1274
|
+
optInTransformResponse: true
|
|
1275
|
+
},
|
|
1246
1276
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1247
1277
|
{ protoPath: "/v3/draft-posts", data: payload, host }
|
|
1248
1278
|
),
|
|
@@ -1342,6 +1372,9 @@ function getDeletedDraftPost(payload) {
|
|
|
1342
1372
|
method: "GET",
|
|
1343
1373
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost",
|
|
1344
1374
|
packageName: PACKAGE_NAME,
|
|
1375
|
+
migrationOptions: {
|
|
1376
|
+
optInTransformResponse: true
|
|
1377
|
+
},
|
|
1345
1378
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1346
1379
|
{
|
|
1347
1380
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
|
|
@@ -1441,6 +1474,9 @@ function restoreFromTrashBin(payload) {
|
|
|
1441
1474
|
method: "POST",
|
|
1442
1475
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin",
|
|
1443
1476
|
packageName: PACKAGE_NAME,
|
|
1477
|
+
migrationOptions: {
|
|
1478
|
+
optInTransformResponse: true
|
|
1479
|
+
},
|
|
1444
1480
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1445
1481
|
{
|
|
1446
1482
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}/restore",
|
|
@@ -1540,6 +1576,9 @@ function queryDraftPosts(payload) {
|
|
|
1540
1576
|
method: "POST",
|
|
1541
1577
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts",
|
|
1542
1578
|
packageName: PACKAGE_NAME,
|
|
1579
|
+
migrationOptions: {
|
|
1580
|
+
optInTransformResponse: true
|
|
1581
|
+
},
|
|
1543
1582
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1544
1583
|
{ protoPath: "/v3/draft-posts/query", data: payload, host }
|
|
1545
1584
|
),
|
|
@@ -1639,6 +1678,9 @@ function publishDraftPost(payload) {
|
|
|
1639
1678
|
method: "POST",
|
|
1640
1679
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost",
|
|
1641
1680
|
packageName: PACKAGE_NAME,
|
|
1681
|
+
migrationOptions: {
|
|
1682
|
+
optInTransformResponse: true
|
|
1683
|
+
},
|
|
1642
1684
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1643
1685
|
{
|
|
1644
1686
|
protoPath: "/v3/draft-posts/{draftPostId}/publish",
|