@wix/auto_sdk_blog_draft-posts 1.0.51 → 1.0.52
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 +150 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +109 -3
- 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 +1 -1
- package/build/es/index.mjs +146 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +109 -3
- 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 +1 -1
- 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 +109 -3
- 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 +1 -1
- 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 +109 -3
- 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
|
@@ -281,7 +281,9 @@ interface Node extends NodeDataOneOf {
|
|
|
281
281
|
blockquoteData?: BlockquoteData;
|
|
282
282
|
/** Data for a caption node. */
|
|
283
283
|
captionData?: CaptionData;
|
|
284
|
-
/**
|
|
284
|
+
/** Data for a layout node. Reserved for future use. */
|
|
285
|
+
layoutData?: LayoutData;
|
|
286
|
+
/** Data for a cell node. */
|
|
285
287
|
layoutCellData?: LayoutCellData;
|
|
286
288
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
287
289
|
type?: NodeTypeWithLiterals;
|
|
@@ -346,7 +348,9 @@ interface NodeDataOneOf {
|
|
|
346
348
|
blockquoteData?: BlockquoteData;
|
|
347
349
|
/** Data for a caption node. */
|
|
348
350
|
captionData?: CaptionData;
|
|
349
|
-
/**
|
|
351
|
+
/** Data for a layout node. Reserved for future use. */
|
|
352
|
+
layoutData?: LayoutData;
|
|
353
|
+
/** Data for a cell node. */
|
|
350
354
|
layoutCellData?: LayoutCellData;
|
|
351
355
|
}
|
|
352
356
|
declare enum NodeType {
|
|
@@ -1903,6 +1907,108 @@ interface BlockquoteData {
|
|
|
1903
1907
|
interface CaptionData {
|
|
1904
1908
|
textStyle?: TextStyle;
|
|
1905
1909
|
}
|
|
1910
|
+
interface LayoutData {
|
|
1911
|
+
/**
|
|
1912
|
+
* Background color as a hexadecimal value.
|
|
1913
|
+
* @format COLOR_HEX
|
|
1914
|
+
*/
|
|
1915
|
+
backgroundColor?: string | null;
|
|
1916
|
+
/** Background image. */
|
|
1917
|
+
backgroundImage?: BackgroundImage;
|
|
1918
|
+
/**
|
|
1919
|
+
* Border color as a hexadecimal value.
|
|
1920
|
+
* @format COLOR_HEX
|
|
1921
|
+
*/
|
|
1922
|
+
borderColor?: string | null;
|
|
1923
|
+
/** Border width in pixels. */
|
|
1924
|
+
borderWidth?: number | null;
|
|
1925
|
+
/** Border */
|
|
1926
|
+
borderRadius?: number | null;
|
|
1927
|
+
/**
|
|
1928
|
+
* Backdrop color as a hexadecimal value.
|
|
1929
|
+
* @format COLOR_HEX
|
|
1930
|
+
*/
|
|
1931
|
+
backdropColor?: string | null;
|
|
1932
|
+
/** Backdrop image.radius in pixels. */
|
|
1933
|
+
backdropImage?: BackgroundImage;
|
|
1934
|
+
/** Backdrop top padding. */
|
|
1935
|
+
backdropPaddingTop?: number | null;
|
|
1936
|
+
/** Backdrop bottom padding */
|
|
1937
|
+
backdropPaddingBottom?: number | null;
|
|
1938
|
+
/** Horizontal and vertical gap between columns */
|
|
1939
|
+
gap?: number | null;
|
|
1940
|
+
/**
|
|
1941
|
+
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left
|
|
1942
|
+
* @maxSize 4
|
|
1943
|
+
*/
|
|
1944
|
+
cellPadding?: number[];
|
|
1945
|
+
/** Vertical alignment for the cell's items. */
|
|
1946
|
+
cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;
|
|
1947
|
+
/** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */
|
|
1948
|
+
responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
|
|
1949
|
+
/** Size in pixels when responsiveness_behaviour applies */
|
|
1950
|
+
responsivenessBreakpoint?: number | null;
|
|
1951
|
+
}
|
|
1952
|
+
declare enum Scaling {
|
|
1953
|
+
/** Auto image scaling */
|
|
1954
|
+
AUTO = "AUTO",
|
|
1955
|
+
/** Contain image scaling */
|
|
1956
|
+
CONTAIN = "CONTAIN",
|
|
1957
|
+
/** Cover image scaling */
|
|
1958
|
+
COVER = "COVER"
|
|
1959
|
+
}
|
|
1960
|
+
/** @enumType */
|
|
1961
|
+
type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
1962
|
+
declare enum ImagePosition {
|
|
1963
|
+
/** Image positioned at the center */
|
|
1964
|
+
CENTER = "CENTER",
|
|
1965
|
+
/** Image positioned on the left */
|
|
1966
|
+
CENTER_LEFT = "CENTER_LEFT",
|
|
1967
|
+
/** Image positioned on the right */
|
|
1968
|
+
CENTER_RIGHT = "CENTER_RIGHT",
|
|
1969
|
+
/** Image positioned at the center top */
|
|
1970
|
+
TOP = "TOP",
|
|
1971
|
+
/** Image positioned at the top left */
|
|
1972
|
+
TOP_LEFT = "TOP_LEFT",
|
|
1973
|
+
/** Image positioned at the top right */
|
|
1974
|
+
TOP_RIGHT = "TOP_RIGHT",
|
|
1975
|
+
/** Image positioned at the center bottom */
|
|
1976
|
+
BOTTOM = "BOTTOM",
|
|
1977
|
+
/** Image positioned at the bottom left */
|
|
1978
|
+
BOTTOM_LEFT = "BOTTOM_LEFT",
|
|
1979
|
+
/** Image positioned at the bottom right */
|
|
1980
|
+
BOTTOM_RIGHT = "BOTTOM_RIGHT"
|
|
1981
|
+
}
|
|
1982
|
+
/** @enumType */
|
|
1983
|
+
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
1984
|
+
interface BackgroundImage {
|
|
1985
|
+
/** Background image. */
|
|
1986
|
+
media?: V1Media;
|
|
1987
|
+
/** Background image opacity. */
|
|
1988
|
+
opacity?: number | null;
|
|
1989
|
+
/** Background image scaling. */
|
|
1990
|
+
scaling?: ScalingWithLiterals;
|
|
1991
|
+
/** Position of background. Defaults to `CENTER`. */
|
|
1992
|
+
position?: ImagePositionWithLiterals;
|
|
1993
|
+
}
|
|
1994
|
+
declare enum VerticalAlignmentAlignment {
|
|
1995
|
+
/** Top alignment */
|
|
1996
|
+
TOP = "TOP",
|
|
1997
|
+
/** Middle alignment */
|
|
1998
|
+
MIDDLE = "MIDDLE",
|
|
1999
|
+
/** Bottom alignment */
|
|
2000
|
+
BOTTOM = "BOTTOM"
|
|
2001
|
+
}
|
|
2002
|
+
/** @enumType */
|
|
2003
|
+
type VerticalAlignmentAlignmentWithLiterals = VerticalAlignmentAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
|
|
2004
|
+
declare enum ResponsivenessBehaviour {
|
|
2005
|
+
/** Stacking of columns */
|
|
2006
|
+
STACK = "STACK",
|
|
2007
|
+
/** Wrapping of columns */
|
|
2008
|
+
WRAP = "WRAP"
|
|
2009
|
+
}
|
|
2010
|
+
/** @enumType */
|
|
2011
|
+
type ResponsivenessBehaviourWithLiterals = ResponsivenessBehaviour | 'STACK' | 'WRAP';
|
|
1906
2012
|
interface LayoutCellData {
|
|
1907
2013
|
/** Size of the cell in 12 columns grid. */
|
|
1908
2014
|
colSpan?: number | null;
|
|
@@ -3741,4 +3847,4 @@ interface DraftPostsQueryBuilder {
|
|
|
3741
3847
|
*/
|
|
3742
3848
|
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
|
|
3743
3849
|
|
|
3744
|
-
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 BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, 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 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 };
|
|
3850
|
+
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, type BackgroundImage, 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 BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, 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, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, 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, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, 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 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, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, 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 };
|
|
@@ -35,6 +35,7 @@ __export(index_typings_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_typings_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_typings_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,
|
|
@@ -301,7 +305,13 @@ function createDraftPost(payload) {
|
|
|
301
305
|
{ path: "draftPost.richContent.nodes.videoData.video.duration" },
|
|
302
306
|
{ path: "draftPost.richContent.nodes.videoData.thumbnail.duration" },
|
|
303
307
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
304
|
-
{ path: "draftPost.richContent.nodes.audioData.coverImage.duration" }
|
|
308
|
+
{ path: "draftPost.richContent.nodes.audioData.coverImage.duration" },
|
|
309
|
+
{
|
|
310
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
314
|
+
}
|
|
305
315
|
]
|
|
306
316
|
}
|
|
307
317
|
]);
|
|
@@ -392,6 +402,12 @@ function createDraftPost(payload) {
|
|
|
392
402
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
393
403
|
{
|
|
394
404
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
395
411
|
}
|
|
396
412
|
]
|
|
397
413
|
}
|
|
@@ -472,6 +488,12 @@ function bulkCreateDraftPosts(payload) {
|
|
|
472
488
|
{ path: "draftPosts.richContent.nodes.audioData.audio.duration" },
|
|
473
489
|
{
|
|
474
490
|
path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
475
497
|
}
|
|
476
498
|
]
|
|
477
499
|
}
|
|
@@ -577,6 +599,12 @@ function bulkCreateDraftPosts(payload) {
|
|
|
577
599
|
},
|
|
578
600
|
{
|
|
579
601
|
path: "results.item.richContent.nodes.audioData.coverImage.duration"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
580
608
|
}
|
|
581
609
|
]
|
|
582
610
|
}
|
|
@@ -690,6 +718,12 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
690
718
|
},
|
|
691
719
|
{
|
|
692
720
|
path: "draftPosts.draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
path: "draftPosts.draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
path: "draftPosts.draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
693
727
|
}
|
|
694
728
|
]
|
|
695
729
|
}
|
|
@@ -795,6 +829,12 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
795
829
|
},
|
|
796
830
|
{
|
|
797
831
|
path: "results.item.richContent.nodes.audioData.coverImage.duration"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
798
838
|
}
|
|
799
839
|
]
|
|
800
840
|
}
|
|
@@ -897,6 +937,12 @@ function listDeletedDraftPosts(payload) {
|
|
|
897
937
|
{ path: "draftPosts.richContent.nodes.audioData.audio.duration" },
|
|
898
938
|
{
|
|
899
939
|
path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
900
946
|
}
|
|
901
947
|
]
|
|
902
948
|
}
|
|
@@ -995,6 +1041,12 @@ function getDraftPost(payload) {
|
|
|
995
1041
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
996
1042
|
{
|
|
997
1043
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
998
1050
|
}
|
|
999
1051
|
]
|
|
1000
1052
|
}
|
|
@@ -1078,7 +1130,13 @@ function updateDraftPost(payload) {
|
|
|
1078
1130
|
{ path: "draftPost.richContent.nodes.videoData.video.duration" },
|
|
1079
1131
|
{ path: "draftPost.richContent.nodes.videoData.thumbnail.duration" },
|
|
1080
1132
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1081
|
-
{ path: "draftPost.richContent.nodes.audioData.coverImage.duration" }
|
|
1133
|
+
{ path: "draftPost.richContent.nodes.audioData.coverImage.duration" },
|
|
1134
|
+
{
|
|
1135
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1139
|
+
}
|
|
1082
1140
|
]
|
|
1083
1141
|
}
|
|
1084
1142
|
]);
|
|
@@ -1173,6 +1231,12 @@ function updateDraftPost(payload) {
|
|
|
1173
1231
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1174
1232
|
{
|
|
1175
1233
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1176
1240
|
}
|
|
1177
1241
|
]
|
|
1178
1242
|
}
|
|
@@ -1327,6 +1391,12 @@ function bulkDeleteDraftPosts(payload) {
|
|
|
1327
1391
|
},
|
|
1328
1392
|
{
|
|
1329
1393
|
path: "results.item.richContent.nodes.audioData.coverImage.duration"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1330
1400
|
}
|
|
1331
1401
|
]
|
|
1332
1402
|
}
|
|
@@ -1429,6 +1499,12 @@ function listDraftPosts(payload) {
|
|
|
1429
1499
|
{ path: "draftPosts.richContent.nodes.audioData.audio.duration" },
|
|
1430
1500
|
{
|
|
1431
1501
|
path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1432
1508
|
}
|
|
1433
1509
|
]
|
|
1434
1510
|
}
|
|
@@ -1531,6 +1607,12 @@ function getDeletedDraftPost(payload) {
|
|
|
1531
1607
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1532
1608
|
{
|
|
1533
1609
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1534
1616
|
}
|
|
1535
1617
|
]
|
|
1536
1618
|
}
|
|
@@ -1633,6 +1715,12 @@ function restoreFromTrashBin(payload) {
|
|
|
1633
1715
|
{ path: "draftPost.richContent.nodes.audioData.audio.duration" },
|
|
1634
1716
|
{
|
|
1635
1717
|
path: "draftPost.richContent.nodes.audioData.coverImage.duration"
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1636
1724
|
}
|
|
1637
1725
|
]
|
|
1638
1726
|
}
|
|
@@ -1735,6 +1823,12 @@ function queryDraftPosts(payload) {
|
|
|
1735
1823
|
{ path: "draftPosts.richContent.nodes.audioData.audio.duration" },
|
|
1736
1824
|
{
|
|
1737
1825
|
path: "draftPosts.richContent.nodes.audioData.coverImage.duration"
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
path: "draftPosts.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
path: "draftPosts.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1738
1832
|
}
|
|
1739
1833
|
]
|
|
1740
1834
|
}
|
|
@@ -2077,6 +2171,35 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
|
|
2077
2171
|
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
2078
2172
|
return NullValue2;
|
|
2079
2173
|
})(NullValue || {});
|
|
2174
|
+
var Scaling = /* @__PURE__ */ ((Scaling2) => {
|
|
2175
|
+
Scaling2["AUTO"] = "AUTO";
|
|
2176
|
+
Scaling2["CONTAIN"] = "CONTAIN";
|
|
2177
|
+
Scaling2["COVER"] = "COVER";
|
|
2178
|
+
return Scaling2;
|
|
2179
|
+
})(Scaling || {});
|
|
2180
|
+
var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
2181
|
+
ImagePosition2["CENTER"] = "CENTER";
|
|
2182
|
+
ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
2183
|
+
ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
2184
|
+
ImagePosition2["TOP"] = "TOP";
|
|
2185
|
+
ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
|
|
2186
|
+
ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
|
|
2187
|
+
ImagePosition2["BOTTOM"] = "BOTTOM";
|
|
2188
|
+
ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
2189
|
+
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
2190
|
+
return ImagePosition2;
|
|
2191
|
+
})(ImagePosition || {});
|
|
2192
|
+
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
2193
|
+
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
2194
|
+
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
2195
|
+
VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
|
|
2196
|
+
return VerticalAlignmentAlignment2;
|
|
2197
|
+
})(VerticalAlignmentAlignment || {});
|
|
2198
|
+
var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
2199
|
+
ResponsivenessBehaviour2["STACK"] = "STACK";
|
|
2200
|
+
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
2201
|
+
return ResponsivenessBehaviour2;
|
|
2202
|
+
})(ResponsivenessBehaviour || {});
|
|
2080
2203
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
2081
2204
|
Status2["UNKNOWN"] = "UNKNOWN";
|
|
2082
2205
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
@@ -2942,6 +3065,7 @@ async function publishDraftPost2(draftPostId) {
|
|
|
2942
3065
|
FontType,
|
|
2943
3066
|
GIFType,
|
|
2944
3067
|
GetDraftPostsSort,
|
|
3068
|
+
ImagePosition,
|
|
2945
3069
|
InitialExpandedItems,
|
|
2946
3070
|
Layout,
|
|
2947
3071
|
LayoutType,
|
|
@@ -2958,6 +3082,8 @@ async function publishDraftPost2(draftPostId) {
|
|
|
2958
3082
|
PollLayoutType,
|
|
2959
3083
|
Position,
|
|
2960
3084
|
Resizing,
|
|
3085
|
+
ResponsivenessBehaviour,
|
|
3086
|
+
Scaling,
|
|
2961
3087
|
SortOrder,
|
|
2962
3088
|
Source,
|
|
2963
3089
|
Status,
|
|
@@ -2968,6 +3094,7 @@ async function publishDraftPost2(draftPostId) {
|
|
|
2968
3094
|
TotalDraftPostsGroupingField,
|
|
2969
3095
|
Type,
|
|
2970
3096
|
VerticalAlignment,
|
|
3097
|
+
VerticalAlignmentAlignment,
|
|
2971
3098
|
ViewMode,
|
|
2972
3099
|
ViewRole,
|
|
2973
3100
|
VoteRole,
|