@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
|
@@ -3098,31 +3098,6 @@ interface BulkUpdateDraftPostLanguageResponse {
|
|
|
3098
3098
|
/** Bulk action metadata */
|
|
3099
3099
|
bulkActionMetadata?: BulkActionMetadata;
|
|
3100
3100
|
}
|
|
3101
|
-
interface GetPostAmountsByLanguageRequest {
|
|
3102
|
-
/**
|
|
3103
|
-
* Post status to filter by
|
|
3104
|
-
* @maxLength 100
|
|
3105
|
-
*/
|
|
3106
|
-
status?: string;
|
|
3107
|
-
}
|
|
3108
|
-
interface GetPostAmountsByLanguageResponse {
|
|
3109
|
-
/** Post amounts by language */
|
|
3110
|
-
postAmountsByLanguage?: PostAmountByLanguage[];
|
|
3111
|
-
}
|
|
3112
|
-
interface PostAmountByLanguage {
|
|
3113
|
-
/**
|
|
3114
|
-
* Post language code
|
|
3115
|
-
* @format LANGUAGE_TAG
|
|
3116
|
-
*/
|
|
3117
|
-
languageCode?: string;
|
|
3118
|
-
/**
|
|
3119
|
-
* Language flag
|
|
3120
|
-
* @format LANGUAGE_TAG
|
|
3121
|
-
*/
|
|
3122
|
-
flag?: string;
|
|
3123
|
-
/** Post amount in that language */
|
|
3124
|
-
postAmount?: number;
|
|
3125
|
-
}
|
|
3126
3101
|
interface BulkRevertToUnpublishedRequest {
|
|
3127
3102
|
/**
|
|
3128
3103
|
* Source post IDs.
|
|
@@ -3910,4 +3885,4 @@ interface DraftPostsQueryBuilder {
|
|
|
3910
3885
|
*/
|
|
3911
3886
|
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
|
|
3912
3887
|
|
|
3913
|
-
export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostLanguageRequest, type BulkUpdateDraftPostLanguageResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostOwnerChanged, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type
|
|
3888
|
+
export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostLanguageRequest, type BulkUpdateDraftPostLanguageResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostOwnerChanged, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateCategoryRequest, type TranslateCategoryResponse, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, updateDraftPost };
|
|
@@ -227,6 +227,9 @@ function createDraftPost(payload) {
|
|
|
227
227
|
method: "POST",
|
|
228
228
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost",
|
|
229
229
|
packageName: PACKAGE_NAME,
|
|
230
|
+
migrationOptions: {
|
|
231
|
+
optInTransformResponse: true
|
|
232
|
+
},
|
|
230
233
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
231
234
|
{ protoPath: "/v3/draft-posts", data: serializedData, host }
|
|
232
235
|
),
|
|
@@ -395,6 +398,9 @@ function bulkCreateDraftPosts(payload) {
|
|
|
395
398
|
method: "POST",
|
|
396
399
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts",
|
|
397
400
|
packageName: PACKAGE_NAME,
|
|
401
|
+
migrationOptions: {
|
|
402
|
+
optInTransformResponse: true
|
|
403
|
+
},
|
|
398
404
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
399
405
|
{ protoPath: "/v3/bulk/draft-posts/create", data: serializedData, host }
|
|
400
406
|
),
|
|
@@ -610,6 +616,9 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
610
616
|
method: "PATCH",
|
|
611
617
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts",
|
|
612
618
|
packageName: PACKAGE_NAME,
|
|
619
|
+
migrationOptions: {
|
|
620
|
+
optInTransformResponse: true
|
|
621
|
+
},
|
|
613
622
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
614
623
|
{ protoPath: "/v3/draft-posts/update", data: serializedData, host }
|
|
615
624
|
),
|
|
@@ -719,6 +728,9 @@ function listDeletedDraftPosts(payload) {
|
|
|
719
728
|
method: "GET",
|
|
720
729
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts",
|
|
721
730
|
packageName: PACKAGE_NAME,
|
|
731
|
+
migrationOptions: {
|
|
732
|
+
optInTransformResponse: true
|
|
733
|
+
},
|
|
722
734
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
723
735
|
{ protoPath: "/v3/draft-posts/trash-bin", data: payload, host }
|
|
724
736
|
),
|
|
@@ -818,6 +830,9 @@ function getDraftPost(payload) {
|
|
|
818
830
|
method: "GET",
|
|
819
831
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost",
|
|
820
832
|
packageName: PACKAGE_NAME,
|
|
833
|
+
migrationOptions: {
|
|
834
|
+
optInTransformResponse: true
|
|
835
|
+
},
|
|
821
836
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
822
837
|
{ protoPath: "/v3/draft-posts/{draftPostId}", data: payload, host }
|
|
823
838
|
),
|
|
@@ -989,6 +1004,9 @@ function updateDraftPost(payload) {
|
|
|
989
1004
|
method: "PATCH",
|
|
990
1005
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost",
|
|
991
1006
|
packageName: PACKAGE_NAME,
|
|
1007
|
+
migrationOptions: {
|
|
1008
|
+
optInTransformResponse: true
|
|
1009
|
+
},
|
|
992
1010
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
993
1011
|
{
|
|
994
1012
|
protoPath: "/v3/draft-posts/{draftPost.id}",
|
|
@@ -1088,6 +1106,9 @@ function deleteDraftPost(payload) {
|
|
|
1088
1106
|
method: "DELETE",
|
|
1089
1107
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.DeleteDraftPost",
|
|
1090
1108
|
packageName: PACKAGE_NAME,
|
|
1109
|
+
migrationOptions: {
|
|
1110
|
+
optInTransformResponse: true
|
|
1111
|
+
},
|
|
1091
1112
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1092
1113
|
{ protoPath: "/v3/draft-posts/{draftPostId}", data: payload, host }
|
|
1093
1114
|
),
|
|
@@ -1104,6 +1125,9 @@ function removeFromTrashBin(payload) {
|
|
|
1104
1125
|
method: "DELETE",
|
|
1105
1126
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RemoveFromTrashBin",
|
|
1106
1127
|
packageName: PACKAGE_NAME,
|
|
1128
|
+
migrationOptions: {
|
|
1129
|
+
optInTransformResponse: true
|
|
1130
|
+
},
|
|
1107
1131
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1108
1132
|
{
|
|
1109
1133
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
|
|
@@ -1124,6 +1148,9 @@ function bulkDeleteDraftPosts(payload) {
|
|
|
1124
1148
|
method: "DELETE",
|
|
1125
1149
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts",
|
|
1126
1150
|
packageName: PACKAGE_NAME,
|
|
1151
|
+
migrationOptions: {
|
|
1152
|
+
optInTransformResponse: true
|
|
1153
|
+
},
|
|
1127
1154
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1128
1155
|
{ protoPath: "/v3/bulk/draft-posts", data: payload, host }
|
|
1129
1156
|
),
|
|
@@ -1233,6 +1260,9 @@ function listDraftPosts(payload) {
|
|
|
1233
1260
|
method: "GET",
|
|
1234
1261
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts",
|
|
1235
1262
|
packageName: PACKAGE_NAME,
|
|
1263
|
+
migrationOptions: {
|
|
1264
|
+
optInTransformResponse: true
|
|
1265
|
+
},
|
|
1236
1266
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1237
1267
|
{ protoPath: "/v3/draft-posts", data: payload, host }
|
|
1238
1268
|
),
|
|
@@ -1332,6 +1362,9 @@ function getDeletedDraftPost(payload) {
|
|
|
1332
1362
|
method: "GET",
|
|
1333
1363
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost",
|
|
1334
1364
|
packageName: PACKAGE_NAME,
|
|
1365
|
+
migrationOptions: {
|
|
1366
|
+
optInTransformResponse: true
|
|
1367
|
+
},
|
|
1335
1368
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1336
1369
|
{
|
|
1337
1370
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}",
|
|
@@ -1431,6 +1464,9 @@ function restoreFromTrashBin(payload) {
|
|
|
1431
1464
|
method: "POST",
|
|
1432
1465
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin",
|
|
1433
1466
|
packageName: PACKAGE_NAME,
|
|
1467
|
+
migrationOptions: {
|
|
1468
|
+
optInTransformResponse: true
|
|
1469
|
+
},
|
|
1434
1470
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1435
1471
|
{
|
|
1436
1472
|
protoPath: "/v3/draft-posts/trash-bin/{draftPostId}/restore",
|
|
@@ -1530,6 +1566,9 @@ function queryDraftPosts(payload) {
|
|
|
1530
1566
|
method: "POST",
|
|
1531
1567
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts",
|
|
1532
1568
|
packageName: PACKAGE_NAME,
|
|
1569
|
+
migrationOptions: {
|
|
1570
|
+
optInTransformResponse: true
|
|
1571
|
+
},
|
|
1533
1572
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1534
1573
|
{ protoPath: "/v3/draft-posts/query", data: payload, host }
|
|
1535
1574
|
),
|
|
@@ -1629,6 +1668,9 @@ function publishDraftPost(payload) {
|
|
|
1629
1668
|
method: "POST",
|
|
1630
1669
|
methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost",
|
|
1631
1670
|
packageName: PACKAGE_NAME,
|
|
1671
|
+
migrationOptions: {
|
|
1672
|
+
optInTransformResponse: true
|
|
1673
|
+
},
|
|
1632
1674
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(
|
|
1633
1675
|
{
|
|
1634
1676
|
protoPath: "/v3/draft-posts/{draftPostId}/publish",
|