@wix/auto_sdk_blog_draft-posts 1.0.51 → 1.0.53
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 +4 -4
- package/build/cjs/index.js +150 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +112 -6
- package/build/cjs/index.typings.js +129 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +109 -3
- package/build/cjs/meta.js +129 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +146 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +112 -6
- package/build/es/index.typings.mjs +125 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +109 -3
- package/build/es/meta.mjs +125 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js +150 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +112 -6
- package/build/internal/cjs/index.typings.js +129 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +109 -3
- package/build/internal/cjs/meta.js +129 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs +146 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +112 -6
- package/build/internal/es/index.typings.mjs +125 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +109 -3
- package/build/internal/es/meta.mjs +125 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, 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, 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';
|
|
3
|
+
export { 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, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, 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, 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, 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 } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createDraftPost$1(httpClient: HttpClient): CreateDraftPostSignature;
|
|
6
6
|
interface CreateDraftPostSignature {
|
|
@@ -13,7 +13,7 @@ interface CreateDraftPostSignature {
|
|
|
13
13
|
* `categoryIds` that do not exist will not return an error, but they will not be added to the `categoryIds` array.
|
|
14
14
|
* If some of the categories exist, those will be added while those that do not exist will not be added to `categoryIds`.
|
|
15
15
|
* You can check which categories are available with
|
|
16
|
-
* List Categories
|
|
16
|
+
* [List Categories](https://dev.wix.com/docs/rest/business-solutions/blog/category/list-categories).
|
|
17
17
|
* @param - Draft post to create.
|
|
18
18
|
* @param - Options for creating a draft post.
|
|
19
19
|
*/
|
|
@@ -72,7 +72,7 @@ declare function deleteDraftPost$1(httpClient: HttpClient): DeleteDraftPostSigna
|
|
|
72
72
|
interface DeleteDraftPostSignature {
|
|
73
73
|
/**
|
|
74
74
|
* Moves a draft post to the trash bin.
|
|
75
|
-
* A published post can also be deleted by the `post.id`. See the Posts API
|
|
75
|
+
* A published post can also be deleted by the `post.id`. See the [Posts API](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object) for more information about posts.
|
|
76
76
|
*
|
|
77
77
|
* To permanently delete a post bypassing the trash bin, set the `permanent` field value to `true`. The post can't be restored after this.
|
|
78
78
|
* @param - Draft post ID.
|
|
@@ -152,7 +152,7 @@ interface QueryDraftPostsSignature {
|
|
|
152
152
|
declare function publishDraftPost$1(httpClient: HttpClient): PublishDraftPostSignature;
|
|
153
153
|
interface PublishDraftPostSignature {
|
|
154
154
|
/**
|
|
155
|
-
* Publishes a draft post by ID. This creates a new post
|
|
155
|
+
* Publishes a draft post by ID. This creates a new [post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-object)
|
|
156
156
|
* with the data from the draft post.
|
|
157
157
|
*
|
|
158
158
|
* If the draft post was already published, the published post will be updated with the latest values
|
|
@@ -35,6 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
FontType: () => FontType,
|
|
36
36
|
GIFType: () => GIFType,
|
|
37
37
|
GetDraftPostsSort: () => GetDraftPostsSort,
|
|
38
|
+
ImagePosition: () => ImagePosition,
|
|
38
39
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
39
40
|
Layout: () => Layout,
|
|
40
41
|
LayoutType: () => LayoutType,
|
|
@@ -51,6 +52,8 @@ __export(index_exports, {
|
|
|
51
52
|
PollLayoutType: () => PollLayoutType,
|
|
52
53
|
Position: () => Position,
|
|
53
54
|
Resizing: () => Resizing,
|
|
55
|
+
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
56
|
+
Scaling: () => Scaling,
|
|
54
57
|
SortOrder: () => SortOrder,
|
|
55
58
|
Source: () => Source,
|
|
56
59
|
Status: () => Status,
|
|
@@ -61,6 +64,7 @@ __export(index_exports, {
|
|
|
61
64
|
TotalDraftPostsGroupingField: () => TotalDraftPostsGroupingField,
|
|
62
65
|
Type: () => Type,
|
|
63
66
|
VerticalAlignment: () => VerticalAlignment,
|
|
67
|
+
VerticalAlignmentAlignment: () => VerticalAlignmentAlignment,
|
|
64
68
|
ViewMode: () => ViewMode,
|
|
65
69
|
ViewRole: () => ViewRole,
|
|
66
70
|
VoteRole: () => VoteRole,
|
|
@@ -314,7 +318,13 @@ function createDraftPost(payload) {
|
|
|
314
318
|
{ path: "draftPost.richContent.nodes.videoData.video.duration" },
|
|
315
319
|
{ path: "draftPost.richContent.nodes.videoData.thumbnail.duration" },
|
|
316
320
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
317
|
-
{ path: "draftPost.richContent.nodes.audioData.coverImage.duration" }
|
|
321
|
+
{ path: "draftPost.richContent.nodes.audioData.coverImage.duration" },
|
|
322
|
+
{
|
|
323
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
327
|
+
}
|
|
318
328
|
]
|
|
319
329
|
}
|
|
320
330
|
]);
|
|
@@ -405,6 +415,12 @@ function createDraftPost(payload) {
|
|
|
405
415
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
406
416
|
{
|
|
407
417
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
408
424
|
}
|
|
409
425
|
]
|
|
410
426
|
}
|
|
@@ -485,6 +501,12 @@ function bulkCreateDraftPosts(payload) {
|
|
|
485
501
|
{ path: "draftPosts.richContent.nodes.audioData.audio.duration" },
|
|
486
502
|
{
|
|
487
503
|
path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
488
510
|
}
|
|
489
511
|
]
|
|
490
512
|
}
|
|
@@ -590,6 +612,12 @@ function bulkCreateDraftPosts(payload) {
|
|
|
590
612
|
},
|
|
591
613
|
{
|
|
592
614
|
path: "results.item.richContent.nodes.audioData.coverImage.duration"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
593
621
|
}
|
|
594
622
|
]
|
|
595
623
|
}
|
|
@@ -703,6 +731,12 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
703
731
|
},
|
|
704
732
|
{
|
|
705
733
|
path: "draftPosts.draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
path: "draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
path: "draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
706
740
|
}
|
|
707
741
|
]
|
|
708
742
|
}
|
|
@@ -808,6 +842,12 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
808
842
|
},
|
|
809
843
|
{
|
|
810
844
|
path: "results.item.richContent.nodes.audioData.coverImage.duration"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
811
851
|
}
|
|
812
852
|
]
|
|
813
853
|
}
|
|
@@ -910,6 +950,12 @@ function listDeletedDraftPosts(payload) {
|
|
|
910
950
|
{ path: "draftPosts.richContent.nodes.audioData.audio.duration" },
|
|
911
951
|
{
|
|
912
952
|
path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
913
959
|
}
|
|
914
960
|
]
|
|
915
961
|
}
|
|
@@ -1008,6 +1054,12 @@ function getDraftPost(payload) {
|
|
|
1008
1054
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1009
1055
|
{
|
|
1010
1056
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1011
1063
|
}
|
|
1012
1064
|
]
|
|
1013
1065
|
}
|
|
@@ -1091,7 +1143,13 @@ function updateDraftPost(payload) {
|
|
|
1091
1143
|
{ path: "draftPost.richContent.nodes.videoData.video.duration" },
|
|
1092
1144
|
{ path: "draftPost.richContent.nodes.videoData.thumbnail.duration" },
|
|
1093
1145
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1094
|
-
{ path: "draftPost.richContent.nodes.audioData.coverImage.duration" }
|
|
1146
|
+
{ path: "draftPost.richContent.nodes.audioData.coverImage.duration" },
|
|
1147
|
+
{
|
|
1148
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1152
|
+
}
|
|
1095
1153
|
]
|
|
1096
1154
|
}
|
|
1097
1155
|
]);
|
|
@@ -1186,6 +1244,12 @@ function updateDraftPost(payload) {
|
|
|
1186
1244
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1187
1245
|
{
|
|
1188
1246
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1189
1253
|
}
|
|
1190
1254
|
]
|
|
1191
1255
|
}
|
|
@@ -1340,6 +1404,12 @@ function bulkDeleteDraftPosts(payload) {
|
|
|
1340
1404
|
},
|
|
1341
1405
|
{
|
|
1342
1406
|
path: "results.item.richContent.nodes.audioData.coverImage.duration"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1343
1413
|
}
|
|
1344
1414
|
]
|
|
1345
1415
|
}
|
|
@@ -1442,6 +1512,12 @@ function listDraftPosts(payload) {
|
|
|
1442
1512
|
{ path: "draftPosts.richContent.nodes.audioData.audio.duration" },
|
|
1443
1513
|
{
|
|
1444
1514
|
path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1445
1521
|
}
|
|
1446
1522
|
]
|
|
1447
1523
|
}
|
|
@@ -1544,6 +1620,12 @@ function getDeletedDraftPost(payload) {
|
|
|
1544
1620
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1545
1621
|
{
|
|
1546
1622
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1547
1629
|
}
|
|
1548
1630
|
]
|
|
1549
1631
|
}
|
|
@@ -1646,6 +1728,12 @@ function restoreFromTrashBin(payload) {
|
|
|
1646
1728
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1647
1729
|
{
|
|
1648
1730
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1649
1737
|
}
|
|
1650
1738
|
]
|
|
1651
1739
|
}
|
|
@@ -1748,6 +1836,12 @@ function queryDraftPosts(payload) {
|
|
|
1748
1836
|
{ path: "draftPosts.richContent.nodes.audioData.audio.duration" },
|
|
1749
1837
|
{
|
|
1750
1838
|
path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1751
1845
|
}
|
|
1752
1846
|
]
|
|
1753
1847
|
}
|
|
@@ -2090,6 +2184,35 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
|
|
2090
2184
|
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
2091
2185
|
return NullValue2;
|
|
2092
2186
|
})(NullValue || {});
|
|
2187
|
+
var Scaling = /* @__PURE__ */ ((Scaling2) => {
|
|
2188
|
+
Scaling2["AUTO"] = "AUTO";
|
|
2189
|
+
Scaling2["CONTAIN"] = "CONTAIN";
|
|
2190
|
+
Scaling2["COVER"] = "COVER";
|
|
2191
|
+
return Scaling2;
|
|
2192
|
+
})(Scaling || {});
|
|
2193
|
+
var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
2194
|
+
ImagePosition2["CENTER"] = "CENTER";
|
|
2195
|
+
ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
2196
|
+
ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
2197
|
+
ImagePosition2["TOP"] = "TOP";
|
|
2198
|
+
ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
|
|
2199
|
+
ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
|
|
2200
|
+
ImagePosition2["BOTTOM"] = "BOTTOM";
|
|
2201
|
+
ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
2202
|
+
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
2203
|
+
return ImagePosition2;
|
|
2204
|
+
})(ImagePosition || {});
|
|
2205
|
+
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
2206
|
+
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
2207
|
+
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
2208
|
+
VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
|
|
2209
|
+
return VerticalAlignmentAlignment2;
|
|
2210
|
+
})(VerticalAlignmentAlignment || {});
|
|
2211
|
+
var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
2212
|
+
ResponsivenessBehaviour2["STACK"] = "STACK";
|
|
2213
|
+
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
2214
|
+
return ResponsivenessBehaviour2;
|
|
2215
|
+
})(ResponsivenessBehaviour || {});
|
|
2093
2216
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
2094
2217
|
Status2["UNKNOWN"] = "UNKNOWN";
|
|
2095
2218
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
@@ -3102,7 +3225,13 @@ var onDraftCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
3102
3225
|
{ path: "entity.richContent.nodes.videoData.video.duration" },
|
|
3103
3226
|
{ path: "entity.richContent.nodes.videoData.thumbnail.duration" },
|
|
3104
3227
|
{ path: "entity.richContent.nodes.audioData.audio.duration" },
|
|
3105
|
-
{ path: "entity.richContent.nodes.audioData.coverImage.duration" }
|
|
3228
|
+
{ path: "entity.richContent.nodes.audioData.coverImage.duration" },
|
|
3229
|
+
{
|
|
3230
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
3234
|
+
}
|
|
3106
3235
|
]
|
|
3107
3236
|
},
|
|
3108
3237
|
{
|
|
@@ -3169,7 +3298,13 @@ var onDraftDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
3169
3298
|
{ path: "entity.richContent.nodes.videoData.video.duration" },
|
|
3170
3299
|
{ path: "entity.richContent.nodes.videoData.thumbnail.duration" },
|
|
3171
3300
|
{ path: "entity.richContent.nodes.audioData.audio.duration" },
|
|
3172
|
-
{ path: "entity.richContent.nodes.audioData.coverImage.duration" }
|
|
3301
|
+
{ path: "entity.richContent.nodes.audioData.coverImage.duration" },
|
|
3302
|
+
{
|
|
3303
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
3307
|
+
}
|
|
3173
3308
|
]
|
|
3174
3309
|
},
|
|
3175
3310
|
{
|
|
@@ -3236,7 +3371,13 @@ var onDraftUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
3236
3371
|
{ path: "entity.richContent.nodes.videoData.video.duration" },
|
|
3237
3372
|
{ path: "entity.richContent.nodes.videoData.thumbnail.duration" },
|
|
3238
3373
|
{ path: "entity.richContent.nodes.audioData.audio.duration" },
|
|
3239
|
-
{ path: "entity.richContent.nodes.audioData.coverImage.duration" }
|
|
3374
|
+
{ path: "entity.richContent.nodes.audioData.coverImage.duration" },
|
|
3375
|
+
{
|
|
3376
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
3380
|
+
}
|
|
3240
3381
|
]
|
|
3241
3382
|
},
|
|
3242
3383
|
{
|
|
@@ -3284,6 +3425,7 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3284
3425
|
FontType,
|
|
3285
3426
|
GIFType,
|
|
3286
3427
|
GetDraftPostsSort,
|
|
3428
|
+
ImagePosition,
|
|
3287
3429
|
InitialExpandedItems,
|
|
3288
3430
|
Layout,
|
|
3289
3431
|
LayoutType,
|
|
@@ -3300,6 +3442,8 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3300
3442
|
PollLayoutType,
|
|
3301
3443
|
Position,
|
|
3302
3444
|
Resizing,
|
|
3445
|
+
ResponsivenessBehaviour,
|
|
3446
|
+
Scaling,
|
|
3303
3447
|
SortOrder,
|
|
3304
3448
|
Source,
|
|
3305
3449
|
Status,
|
|
@@ -3310,6 +3454,7 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3310
3454
|
TotalDraftPostsGroupingField,
|
|
3311
3455
|
Type,
|
|
3312
3456
|
VerticalAlignment,
|
|
3457
|
+
VerticalAlignmentAlignment,
|
|
3313
3458
|
ViewMode,
|
|
3314
3459
|
ViewRole,
|
|
3315
3460
|
VoteRole,
|