@wix/auto_sdk_blog_draft-posts 1.0.77 → 1.0.78
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 +76 -17
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +60 -5
- package/build/cjs/index.typings.js +67 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +60 -5
- package/build/cjs/meta.js +67 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +74 -17
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +60 -5
- package/build/es/index.typings.mjs +65 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +60 -5
- package/build/es/meta.mjs +65 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +76 -17
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +60 -5
- package/build/internal/cjs/index.typings.js +67 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +60 -5
- package/build/internal/cjs/meta.js +67 -14
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +74 -17
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +60 -5
- package/build/internal/es/index.typings.mjs +65 -14
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +60 -5
- package/build/internal/es/meta.mjs +65 -14
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -290,6 +290,8 @@ interface Node extends NodeDataOneOf {
|
|
|
290
290
|
shapeData?: ShapeData;
|
|
291
291
|
/** Data for a card node. */
|
|
292
292
|
cardData?: CardData;
|
|
293
|
+
/** Data for a table of contents node. */
|
|
294
|
+
tocData?: TocData;
|
|
293
295
|
/** 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. */
|
|
294
296
|
type?: NodeTypeWithLiterals;
|
|
295
297
|
/** Node ID. */
|
|
@@ -361,6 +363,8 @@ interface NodeDataOneOf {
|
|
|
361
363
|
shapeData?: ShapeData;
|
|
362
364
|
/** Data for a card node. */
|
|
363
365
|
cardData?: CardData;
|
|
366
|
+
/** Data for a table of contents node. */
|
|
367
|
+
tocData?: TocData;
|
|
364
368
|
}
|
|
365
369
|
declare enum NodeType {
|
|
366
370
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -398,10 +402,11 @@ declare enum NodeType {
|
|
|
398
402
|
LAYOUT = "LAYOUT",
|
|
399
403
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
400
404
|
SHAPE = "SHAPE",
|
|
401
|
-
CARD = "CARD"
|
|
405
|
+
CARD = "CARD",
|
|
406
|
+
TOC = "TOC"
|
|
402
407
|
}
|
|
403
408
|
/** @enumType */
|
|
404
|
-
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD';
|
|
409
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
|
|
405
410
|
interface NodeStyle {
|
|
406
411
|
/** The top padding value in pixels. */
|
|
407
412
|
paddingTop?: string | null;
|
|
@@ -1030,6 +1035,8 @@ interface HTMLData extends HTMLDataDataOneOf {
|
|
|
1030
1035
|
* @deprecated
|
|
1031
1036
|
*/
|
|
1032
1037
|
isAdsense?: boolean | null;
|
|
1038
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
1039
|
+
widgetId?: string;
|
|
1033
1040
|
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
1034
1041
|
containerData?: PluginContainerData;
|
|
1035
1042
|
/** The type of HTML code. */
|
|
@@ -1048,14 +1055,17 @@ interface HTMLDataDataOneOf {
|
|
|
1048
1055
|
* @deprecated
|
|
1049
1056
|
*/
|
|
1050
1057
|
isAdsense?: boolean | null;
|
|
1058
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
1059
|
+
widgetId?: string;
|
|
1051
1060
|
}
|
|
1052
1061
|
declare enum Source {
|
|
1053
1062
|
HTML = "HTML",
|
|
1054
1063
|
ADSENSE = "ADSENSE",
|
|
1055
|
-
AI = "AI"
|
|
1064
|
+
AI = "AI",
|
|
1065
|
+
AI_WIDGET = "AI_WIDGET"
|
|
1056
1066
|
}
|
|
1057
1067
|
/** @enumType */
|
|
1058
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
1068
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
|
|
1059
1069
|
interface ImageData {
|
|
1060
1070
|
/** Styling for the image's container. */
|
|
1061
1071
|
containerData?: PluginContainerData;
|
|
@@ -2283,6 +2293,51 @@ interface BackgroundImage {
|
|
|
2283
2293
|
/** Position of background. Defaults to `CENTER`. */
|
|
2284
2294
|
position?: ImagePositionPositionWithLiterals;
|
|
2285
2295
|
}
|
|
2296
|
+
interface TocData {
|
|
2297
|
+
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
2298
|
+
includedHeadings?: number[];
|
|
2299
|
+
/** List style. Default: PLAIN. */
|
|
2300
|
+
listStyle?: ListStyleWithLiterals;
|
|
2301
|
+
/** Optional override for the font size in pixels. */
|
|
2302
|
+
fontSize?: number | null;
|
|
2303
|
+
/** Optional override for the vertical spacing between items in pixels. */
|
|
2304
|
+
itemSpacing?: number | null;
|
|
2305
|
+
/**
|
|
2306
|
+
* Optional override for the text color.
|
|
2307
|
+
* @format COLOR_HEX
|
|
2308
|
+
*/
|
|
2309
|
+
color?: string | null;
|
|
2310
|
+
/** Indentation style. Default: NESTED. */
|
|
2311
|
+
indentation?: IndentationWithLiterals;
|
|
2312
|
+
}
|
|
2313
|
+
/** List style. */
|
|
2314
|
+
declare enum ListStyle {
|
|
2315
|
+
/** No markers (default) */
|
|
2316
|
+
PLAIN = "PLAIN",
|
|
2317
|
+
/** Numbered list */
|
|
2318
|
+
NUMBERED = "NUMBERED",
|
|
2319
|
+
/** Alphabetic letters */
|
|
2320
|
+
LETTERS = "LETTERS",
|
|
2321
|
+
/** Roman numerals */
|
|
2322
|
+
ROMAN = "ROMAN",
|
|
2323
|
+
/** Bulleted list */
|
|
2324
|
+
BULLETED = "BULLETED",
|
|
2325
|
+
/** Alphabetical index */
|
|
2326
|
+
ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
|
|
2327
|
+
/** Alphabetical index (compact top-row only) */
|
|
2328
|
+
ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
|
|
2329
|
+
}
|
|
2330
|
+
/** @enumType */
|
|
2331
|
+
type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
|
|
2332
|
+
/** Indentation style. */
|
|
2333
|
+
declare enum Indentation {
|
|
2334
|
+
/** Sub-headings indented under parents (default) */
|
|
2335
|
+
NESTED = "NESTED",
|
|
2336
|
+
/** All items at the same level */
|
|
2337
|
+
FLAT = "FLAT"
|
|
2338
|
+
}
|
|
2339
|
+
/** @enumType */
|
|
2340
|
+
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2286
2341
|
interface Metadata {
|
|
2287
2342
|
/** Schema version. */
|
|
2288
2343
|
version?: number;
|
|
@@ -4296,4 +4351,4 @@ declare const utils: {
|
|
|
4296
4351
|
*/
|
|
4297
4352
|
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
|
|
4298
4353
|
|
|
4299
|
-
export { type AccountInfo, type AccountInfoMetadata, 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 Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, 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 CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, 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, DesignTarget, type DesignTargetWithLiterals, 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 DraftPostCount, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, 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 FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostCountsRequest, type GetDraftPostCountsResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, 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, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, 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 PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, 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, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, 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, typedQueryDraftPosts, updateDraftPost, utils };
|
|
4354
|
+
export { type AccountInfo, type AccountInfoMetadata, 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 Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, 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 CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, 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, DesignTarget, type DesignTargetWithLiterals, 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 DraftPostCount, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, 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 FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostCountsRequest, type GetDraftPostCountsResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, 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, ListStyle, type ListStyleWithLiterals, 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 PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, 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, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, 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 TocData, 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, typedQueryDraftPosts, updateDraftPost, utils };
|
|
@@ -289,7 +289,9 @@ function createDraftPost(payload) {
|
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
291
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
292
|
-
}
|
|
292
|
+
},
|
|
293
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
294
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
293
295
|
]
|
|
294
296
|
}
|
|
295
297
|
]);
|
|
@@ -435,7 +437,9 @@ function createDraftPost(payload) {
|
|
|
435
437
|
},
|
|
436
438
|
{
|
|
437
439
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
438
|
-
}
|
|
440
|
+
},
|
|
441
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
442
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
439
443
|
]
|
|
440
444
|
}
|
|
441
445
|
])
|
|
@@ -570,7 +574,9 @@ function bulkCreateDraftPosts(payload) {
|
|
|
570
574
|
},
|
|
571
575
|
{
|
|
572
576
|
path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
573
|
-
}
|
|
577
|
+
},
|
|
578
|
+
{ path: "draftPosts.richContent.nodes.tocData.fontSize" },
|
|
579
|
+
{ path: "draftPosts.richContent.nodes.tocData.itemSpacing" }
|
|
574
580
|
]
|
|
575
581
|
}
|
|
576
582
|
]);
|
|
@@ -732,7 +738,9 @@ function bulkCreateDraftPosts(payload) {
|
|
|
732
738
|
},
|
|
733
739
|
{
|
|
734
740
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
735
|
-
}
|
|
741
|
+
},
|
|
742
|
+
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
743
|
+
{ path: "results.item.richContent.nodes.tocData.itemSpacing" }
|
|
736
744
|
]
|
|
737
745
|
}
|
|
738
746
|
])
|
|
@@ -902,6 +910,10 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
902
910
|
},
|
|
903
911
|
{
|
|
904
912
|
path: "draftPosts.draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
913
|
+
},
|
|
914
|
+
{ path: "draftPosts.draftPost.richContent.nodes.tocData.fontSize" },
|
|
915
|
+
{
|
|
916
|
+
path: "draftPosts.draftPost.richContent.nodes.tocData.itemSpacing"
|
|
905
917
|
}
|
|
906
918
|
]
|
|
907
919
|
}
|
|
@@ -1064,7 +1076,9 @@ function bulkUpdateDraftPosts(payload) {
|
|
|
1064
1076
|
},
|
|
1065
1077
|
{
|
|
1066
1078
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1067
|
-
}
|
|
1079
|
+
},
|
|
1080
|
+
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
1081
|
+
{ path: "results.item.richContent.nodes.tocData.itemSpacing" }
|
|
1068
1082
|
]
|
|
1069
1083
|
}
|
|
1070
1084
|
])
|
|
@@ -1221,7 +1235,9 @@ function listDeletedDraftPosts(payload) {
|
|
|
1221
1235
|
},
|
|
1222
1236
|
{
|
|
1223
1237
|
path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1224
|
-
}
|
|
1238
|
+
},
|
|
1239
|
+
{ path: "draftPosts.richContent.nodes.tocData.fontSize" },
|
|
1240
|
+
{ path: "draftPosts.richContent.nodes.tocData.itemSpacing" }
|
|
1225
1241
|
]
|
|
1226
1242
|
}
|
|
1227
1243
|
])
|
|
@@ -1374,7 +1390,9 @@ function getDraftPost(payload) {
|
|
|
1374
1390
|
},
|
|
1375
1391
|
{
|
|
1376
1392
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1377
|
-
}
|
|
1393
|
+
},
|
|
1394
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
1395
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
1378
1396
|
]
|
|
1379
1397
|
}
|
|
1380
1398
|
])
|
|
@@ -1512,7 +1530,9 @@ function updateDraftPost(payload) {
|
|
|
1512
1530
|
},
|
|
1513
1531
|
{
|
|
1514
1532
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1515
|
-
}
|
|
1533
|
+
},
|
|
1534
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
1535
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
1516
1536
|
]
|
|
1517
1537
|
}
|
|
1518
1538
|
]);
|
|
@@ -1662,7 +1682,9 @@ function updateDraftPost(payload) {
|
|
|
1662
1682
|
},
|
|
1663
1683
|
{
|
|
1664
1684
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1665
|
-
}
|
|
1685
|
+
},
|
|
1686
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
1687
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
1666
1688
|
]
|
|
1667
1689
|
}
|
|
1668
1690
|
])
|
|
@@ -1873,7 +1895,9 @@ function bulkDeleteDraftPosts(payload) {
|
|
|
1873
1895
|
},
|
|
1874
1896
|
{
|
|
1875
1897
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1876
|
-
}
|
|
1898
|
+
},
|
|
1899
|
+
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
1900
|
+
{ path: "results.item.richContent.nodes.tocData.itemSpacing" }
|
|
1877
1901
|
]
|
|
1878
1902
|
}
|
|
1879
1903
|
])
|
|
@@ -2030,7 +2054,9 @@ function listDraftPosts(payload) {
|
|
|
2030
2054
|
},
|
|
2031
2055
|
{
|
|
2032
2056
|
path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2033
|
-
}
|
|
2057
|
+
},
|
|
2058
|
+
{ path: "draftPosts.richContent.nodes.tocData.fontSize" },
|
|
2059
|
+
{ path: "draftPosts.richContent.nodes.tocData.itemSpacing" }
|
|
2034
2060
|
]
|
|
2035
2061
|
}
|
|
2036
2062
|
])
|
|
@@ -2187,7 +2213,9 @@ function getDeletedDraftPost(payload) {
|
|
|
2187
2213
|
},
|
|
2188
2214
|
{
|
|
2189
2215
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2190
|
-
}
|
|
2216
|
+
},
|
|
2217
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
2218
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
2191
2219
|
]
|
|
2192
2220
|
}
|
|
2193
2221
|
])
|
|
@@ -2344,7 +2372,9 @@ function restoreFromTrashBin(payload) {
|
|
|
2344
2372
|
},
|
|
2345
2373
|
{
|
|
2346
2374
|
path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2347
|
-
}
|
|
2375
|
+
},
|
|
2376
|
+
{ path: "draftPost.richContent.nodes.tocData.fontSize" },
|
|
2377
|
+
{ path: "draftPost.richContent.nodes.tocData.itemSpacing" }
|
|
2348
2378
|
]
|
|
2349
2379
|
}
|
|
2350
2380
|
])
|
|
@@ -2501,7 +2531,9 @@ function queryDraftPosts(payload) {
|
|
|
2501
2531
|
},
|
|
2502
2532
|
{
|
|
2503
2533
|
path: "draftPosts.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
2504
|
-
}
|
|
2534
|
+
},
|
|
2535
|
+
{ path: "draftPosts.richContent.nodes.tocData.fontSize" },
|
|
2536
|
+
{ path: "draftPosts.richContent.nodes.tocData.itemSpacing" }
|
|
2505
2537
|
]
|
|
2506
2538
|
}
|
|
2507
2539
|
])
|
|
@@ -2618,6 +2650,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
2618
2650
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
2619
2651
|
NodeType2["SHAPE"] = "SHAPE";
|
|
2620
2652
|
NodeType2["CARD"] = "CARD";
|
|
2653
|
+
NodeType2["TOC"] = "TOC";
|
|
2621
2654
|
return NodeType2;
|
|
2622
2655
|
})(NodeType || {});
|
|
2623
2656
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -2728,6 +2761,7 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
2728
2761
|
Source2["HTML"] = "HTML";
|
|
2729
2762
|
Source2["ADSENSE"] = "ADSENSE";
|
|
2730
2763
|
Source2["AI"] = "AI";
|
|
2764
|
+
Source2["AI_WIDGET"] = "AI_WIDGET";
|
|
2731
2765
|
return Source2;
|
|
2732
2766
|
})(Source || {});
|
|
2733
2767
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -2929,6 +2963,21 @@ var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
|
|
|
2929
2963
|
CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
2930
2964
|
return CardDataBackgroundType2;
|
|
2931
2965
|
})(CardDataBackgroundType || {});
|
|
2966
|
+
var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
|
|
2967
|
+
ListStyle2["PLAIN"] = "PLAIN";
|
|
2968
|
+
ListStyle2["NUMBERED"] = "NUMBERED";
|
|
2969
|
+
ListStyle2["LETTERS"] = "LETTERS";
|
|
2970
|
+
ListStyle2["ROMAN"] = "ROMAN";
|
|
2971
|
+
ListStyle2["BULLETED"] = "BULLETED";
|
|
2972
|
+
ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
2973
|
+
ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
2974
|
+
return ListStyle2;
|
|
2975
|
+
})(ListStyle || {});
|
|
2976
|
+
var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
2977
|
+
Indentation2["NESTED"] = "NESTED";
|
|
2978
|
+
Indentation2["FLAT"] = "FLAT";
|
|
2979
|
+
return Indentation2;
|
|
2980
|
+
})(Indentation || {});
|
|
2932
2981
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
2933
2982
|
Status2["UNKNOWN"] = "UNKNOWN";
|
|
2934
2983
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
@@ -3854,11 +3903,13 @@ export {
|
|
|
3854
3903
|
ImagePosition,
|
|
3855
3904
|
ImagePositionPosition,
|
|
3856
3905
|
ImageScalingScaling,
|
|
3906
|
+
Indentation,
|
|
3857
3907
|
InitialExpandedItems,
|
|
3858
3908
|
Layout,
|
|
3859
3909
|
LayoutDataBackgroundType,
|
|
3860
3910
|
LayoutType,
|
|
3861
3911
|
LineStyle,
|
|
3912
|
+
ListStyle,
|
|
3862
3913
|
MapType,
|
|
3863
3914
|
ModerationStatusStatus,
|
|
3864
3915
|
NodeType,
|