@wix/auto_sdk_blog_draft-posts 1.0.32 → 1.0.33
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 +64 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +211 -9
- package/build/cjs/index.typings.js +64 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +210 -8
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +57 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +211 -9
- package/build/es/index.typings.mjs +57 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +210 -8
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +64 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +211 -9
- package/build/internal/cjs/index.typings.js +64 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +210 -8
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +57 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +211 -9
- package/build/internal/es/index.typings.mjs +57 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +210 -8
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -586,7 +586,7 @@ interface DividerData {
|
|
|
586
586
|
/** Divider width. */
|
|
587
587
|
width?: WidthWithLiterals;
|
|
588
588
|
/** Divider alignment. */
|
|
589
|
-
alignment?:
|
|
589
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
590
590
|
}
|
|
591
591
|
declare enum LineStyle {
|
|
592
592
|
/** Single Line */
|
|
@@ -610,7 +610,7 @@ declare enum Width {
|
|
|
610
610
|
}
|
|
611
611
|
/** @enumType */
|
|
612
612
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
613
|
-
declare enum
|
|
613
|
+
declare enum DividerDataAlignment {
|
|
614
614
|
/** Center alignment */
|
|
615
615
|
CENTER = "CENTER",
|
|
616
616
|
/** Left alignment */
|
|
@@ -619,7 +619,7 @@ declare enum Alignment {
|
|
|
619
619
|
RIGHT = "RIGHT"
|
|
620
620
|
}
|
|
621
621
|
/** @enumType */
|
|
622
|
-
type
|
|
622
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
623
623
|
interface FileData {
|
|
624
624
|
/** Styling for the file's container. */
|
|
625
625
|
containerData?: PluginContainerData;
|
|
@@ -744,7 +744,7 @@ interface ItemDataOneOf {
|
|
|
744
744
|
}
|
|
745
745
|
interface GalleryOptions {
|
|
746
746
|
/** Gallery layout. */
|
|
747
|
-
layout?:
|
|
747
|
+
layout?: GalleryOptionsLayout;
|
|
748
748
|
/** Styling for gallery items. */
|
|
749
749
|
item?: ItemStyle;
|
|
750
750
|
/** Styling for gallery thumbnail images. */
|
|
@@ -804,7 +804,7 @@ declare enum ThumbnailsAlignment {
|
|
|
804
804
|
}
|
|
805
805
|
/** @enumType */
|
|
806
806
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
807
|
-
interface
|
|
807
|
+
interface GalleryOptionsLayout {
|
|
808
808
|
/** Gallery layout type. */
|
|
809
809
|
type?: LayoutTypeWithLiterals;
|
|
810
810
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -966,7 +966,7 @@ interface LinkPreviewData {
|
|
|
966
966
|
/** Styling for the link preview. */
|
|
967
967
|
styles?: LinkPreviewDataStyles;
|
|
968
968
|
}
|
|
969
|
-
declare enum
|
|
969
|
+
declare enum StylesPosition {
|
|
970
970
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
971
971
|
START = "START",
|
|
972
972
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -977,7 +977,7 @@ declare enum Position {
|
|
|
977
977
|
HIDDEN = "HIDDEN"
|
|
978
978
|
}
|
|
979
979
|
/** @enumType */
|
|
980
|
-
type
|
|
980
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
981
981
|
interface LinkPreviewDataStyles {
|
|
982
982
|
/**
|
|
983
983
|
* Background color as a hexadecimal value.
|
|
@@ -1009,7 +1009,7 @@ interface LinkPreviewDataStyles {
|
|
|
1009
1009
|
*/
|
|
1010
1010
|
borderColor?: string | null;
|
|
1011
1011
|
/** Position of thumbnail. Defaults to `START`. */
|
|
1012
|
-
thumbnailPosition?:
|
|
1012
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
|
1013
1013
|
}
|
|
1014
1014
|
interface MapData {
|
|
1015
1015
|
/** Styling for the map's container. */
|
|
@@ -1363,6 +1363,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1363
1363
|
url?: string | null;
|
|
1364
1364
|
/** An image for the embedded content. */
|
|
1365
1365
|
image?: V1Media;
|
|
1366
|
+
/** Whether to hide the image. */
|
|
1367
|
+
hideImage?: boolean | null;
|
|
1368
|
+
/** Whether to hide the title. */
|
|
1369
|
+
hideTitle?: boolean | null;
|
|
1370
|
+
/** Whether to hide the price. */
|
|
1371
|
+
hidePrice?: boolean | null;
|
|
1372
|
+
/** Whether to hide the description (Event and Booking). */
|
|
1373
|
+
hideDescription?: boolean | null;
|
|
1374
|
+
/** Whether to hide the date and time (Event). */
|
|
1375
|
+
hideDateTime?: boolean | null;
|
|
1376
|
+
/** Whether to hide the location (Event). */
|
|
1377
|
+
hideLocation?: boolean | null;
|
|
1378
|
+
/** Whether to hide the duration (Booking). */
|
|
1379
|
+
hideDuration?: boolean | null;
|
|
1380
|
+
/** Whether to hide the button. */
|
|
1381
|
+
hideButton?: boolean | null;
|
|
1382
|
+
/** Whether to hide the ribbon. */
|
|
1383
|
+
hideRibbon?: boolean | null;
|
|
1384
|
+
/** Button styling options. */
|
|
1385
|
+
buttonStyles?: ButtonStyles;
|
|
1386
|
+
/** Image styling options. */
|
|
1387
|
+
imageStyles?: ImageStyles;
|
|
1388
|
+
/** Ribbon styling options. */
|
|
1389
|
+
ribbonStyles?: RibbonStyles;
|
|
1390
|
+
/** Card styling options. */
|
|
1391
|
+
cardStyles?: CardStyles;
|
|
1366
1392
|
}
|
|
1367
1393
|
/** @oneof */
|
|
1368
1394
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1371,6 +1397,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
1371
1397
|
/** Data for embedded Wix Events content. */
|
|
1372
1398
|
eventData?: EventData;
|
|
1373
1399
|
}
|
|
1400
|
+
declare enum Position {
|
|
1401
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1402
|
+
START = "START",
|
|
1403
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
1404
|
+
END = "END",
|
|
1405
|
+
/** Image positioned at the top */
|
|
1406
|
+
TOP = "TOP"
|
|
1407
|
+
}
|
|
1408
|
+
/** @enumType */
|
|
1409
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
1410
|
+
declare enum AspectRatio {
|
|
1411
|
+
/** 1:1 aspect ratio */
|
|
1412
|
+
SQUARE = "SQUARE",
|
|
1413
|
+
/** 16:9 aspect ratio */
|
|
1414
|
+
RECTANGLE = "RECTANGLE"
|
|
1415
|
+
}
|
|
1416
|
+
/** @enumType */
|
|
1417
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
1418
|
+
declare enum Resizing {
|
|
1419
|
+
/** Fill the container, may crop the image */
|
|
1420
|
+
FILL = "FILL",
|
|
1421
|
+
/** Fit the image within the container */
|
|
1422
|
+
FIT = "FIT"
|
|
1423
|
+
}
|
|
1424
|
+
/** @enumType */
|
|
1425
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
1426
|
+
declare enum Placement {
|
|
1427
|
+
/** Ribbon placed on the image */
|
|
1428
|
+
IMAGE = "IMAGE",
|
|
1429
|
+
/** Ribbon placed on the product information */
|
|
1430
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
1431
|
+
}
|
|
1432
|
+
/** @enumType */
|
|
1433
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
1434
|
+
declare enum CardStylesType {
|
|
1435
|
+
/** Card with visible border and background */
|
|
1436
|
+
CONTAINED = "CONTAINED",
|
|
1437
|
+
/** Card without visible border */
|
|
1438
|
+
FRAMELESS = "FRAMELESS"
|
|
1439
|
+
}
|
|
1440
|
+
/** @enumType */
|
|
1441
|
+
type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
|
|
1442
|
+
declare enum Alignment {
|
|
1443
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
1444
|
+
START = "START",
|
|
1445
|
+
/** Content centered */
|
|
1446
|
+
CENTER = "CENTER",
|
|
1447
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
1448
|
+
END = "END"
|
|
1449
|
+
}
|
|
1450
|
+
/** @enumType */
|
|
1451
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
1452
|
+
declare enum Layout {
|
|
1453
|
+
/** Elements stacked vertically */
|
|
1454
|
+
STACKED = "STACKED",
|
|
1455
|
+
/** Elements arranged horizontally */
|
|
1456
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
1457
|
+
}
|
|
1458
|
+
/** @enumType */
|
|
1459
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
1374
1460
|
declare enum AppType {
|
|
1375
1461
|
PRODUCT = "PRODUCT",
|
|
1376
1462
|
EVENT = "EVENT",
|
|
@@ -1388,6 +1474,122 @@ interface EventData {
|
|
|
1388
1474
|
/** Event location. */
|
|
1389
1475
|
location?: string | null;
|
|
1390
1476
|
}
|
|
1477
|
+
interface ButtonStyles {
|
|
1478
|
+
/** Text to display on the button. */
|
|
1479
|
+
buttonText?: string | null;
|
|
1480
|
+
/** Border width in pixels. */
|
|
1481
|
+
borderWidth?: number | null;
|
|
1482
|
+
/** Border radius in pixels. */
|
|
1483
|
+
borderRadius?: number | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Border color as a hexadecimal value.
|
|
1486
|
+
* @format COLOR_HEX
|
|
1487
|
+
*/
|
|
1488
|
+
borderColor?: string | null;
|
|
1489
|
+
/**
|
|
1490
|
+
* Text color as a hexadecimal value.
|
|
1491
|
+
* @format COLOR_HEX
|
|
1492
|
+
*/
|
|
1493
|
+
textColor?: string | null;
|
|
1494
|
+
/**
|
|
1495
|
+
* Background color as a hexadecimal value.
|
|
1496
|
+
* @format COLOR_HEX
|
|
1497
|
+
*/
|
|
1498
|
+
backgroundColor?: string | null;
|
|
1499
|
+
/**
|
|
1500
|
+
* Border color as a hexadecimal value (hover state).
|
|
1501
|
+
* @format COLOR_HEX
|
|
1502
|
+
*/
|
|
1503
|
+
borderColorHover?: string | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* Text color as a hexadecimal value (hover state).
|
|
1506
|
+
* @format COLOR_HEX
|
|
1507
|
+
*/
|
|
1508
|
+
textColorHover?: string | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Background color as a hexadecimal value (hover state).
|
|
1511
|
+
* @format COLOR_HEX
|
|
1512
|
+
*/
|
|
1513
|
+
backgroundColorHover?: string | null;
|
|
1514
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1515
|
+
buttonSize?: string | null;
|
|
1516
|
+
}
|
|
1517
|
+
interface ImageStyles {
|
|
1518
|
+
/** Whether to hide the image. */
|
|
1519
|
+
hideImage?: boolean | null;
|
|
1520
|
+
/** Position of image. Defaults to `START`. */
|
|
1521
|
+
imagePosition?: PositionWithLiterals;
|
|
1522
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
1523
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
1524
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
1525
|
+
resizing?: ResizingWithLiterals;
|
|
1526
|
+
/**
|
|
1527
|
+
* Image border color as a hexadecimal value.
|
|
1528
|
+
* @format COLOR_HEX
|
|
1529
|
+
*/
|
|
1530
|
+
borderColor?: string | null;
|
|
1531
|
+
/** Image border width in pixels. */
|
|
1532
|
+
borderWidth?: number | null;
|
|
1533
|
+
/** Image border radius in pixels. */
|
|
1534
|
+
borderRadius?: number | null;
|
|
1535
|
+
}
|
|
1536
|
+
interface RibbonStyles {
|
|
1537
|
+
/** Text to display on the ribbon. */
|
|
1538
|
+
ribbonText?: string | null;
|
|
1539
|
+
/**
|
|
1540
|
+
* Ribbon background color as a hexadecimal value.
|
|
1541
|
+
* @format COLOR_HEX
|
|
1542
|
+
*/
|
|
1543
|
+
backgroundColor?: string | null;
|
|
1544
|
+
/**
|
|
1545
|
+
* Ribbon text color as a hexadecimal value.
|
|
1546
|
+
* @format COLOR_HEX
|
|
1547
|
+
*/
|
|
1548
|
+
textColor?: string | null;
|
|
1549
|
+
/**
|
|
1550
|
+
* Ribbon border color as a hexadecimal value.
|
|
1551
|
+
* @format COLOR_HEX
|
|
1552
|
+
*/
|
|
1553
|
+
borderColor?: string | null;
|
|
1554
|
+
/** Ribbon border width in pixels. */
|
|
1555
|
+
borderWidth?: number | null;
|
|
1556
|
+
/** Ribbon border radius in pixels. */
|
|
1557
|
+
borderRadius?: number | null;
|
|
1558
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
1559
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
1560
|
+
}
|
|
1561
|
+
interface CardStyles {
|
|
1562
|
+
/**
|
|
1563
|
+
* Card background color as a hexadecimal value.
|
|
1564
|
+
* @format COLOR_HEX
|
|
1565
|
+
*/
|
|
1566
|
+
backgroundColor?: string | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* Card border color as a hexadecimal value.
|
|
1569
|
+
* @format COLOR_HEX
|
|
1570
|
+
*/
|
|
1571
|
+
borderColor?: string | null;
|
|
1572
|
+
/** Card border width in pixels. */
|
|
1573
|
+
borderWidth?: number | null;
|
|
1574
|
+
/** Card border radius in pixels. */
|
|
1575
|
+
borderRadius?: number | null;
|
|
1576
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
1577
|
+
type?: CardStylesTypeWithLiterals;
|
|
1578
|
+
/** Content alignment. Defaults to `START`. */
|
|
1579
|
+
alignment?: AlignmentWithLiterals;
|
|
1580
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
1581
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
1582
|
+
/**
|
|
1583
|
+
* Title text color as a hexadecimal value.
|
|
1584
|
+
* @format COLOR_HEX
|
|
1585
|
+
*/
|
|
1586
|
+
titleColor?: string | null;
|
|
1587
|
+
/**
|
|
1588
|
+
* Text color as a hexadecimal value.
|
|
1589
|
+
* @format COLOR_HEX
|
|
1590
|
+
*/
|
|
1591
|
+
textColor?: string | null;
|
|
1592
|
+
}
|
|
1391
1593
|
interface VideoData {
|
|
1392
1594
|
/** Styling for the video's container. */
|
|
1393
1595
|
containerData?: PluginContainerData;
|
|
@@ -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, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, CaptionData, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostRequest, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GetDeletedDraftPostRequest, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Position, PostAmountByLanguage, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia } from './index.typings.js';
|
|
3
|
+
export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, ApproveDraftPostRequest, ApproveDraftPostResponse, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BlogPaging, BookingData, Border, BorderColors, BulkActionMetadata, BulkCreateDraftPostsRequest, BulkDeleteDraftPostsRequest, BulkDraftPostResult, BulkRejectDraftPostRequest, BulkRejectDraftPostResponse, BulkRevertToUnpublishedRequest, BulkRevertToUnpublishedResponse, BulkUpdateDraftPostLanguageRequest, BulkUpdateDraftPostLanguageResponse, BulkUpdateDraftPostsRequest, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CardStylesType, Category, CategoryTranslation, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CoverMedia, CoverMediaMediaOneOf, CreateDraftPostRequest, Crop, CursorPaging, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteDraftPostRequest, DeleteDraftPostResponse, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DraftCategoriesUpdated, DraftPostOwnerChanged, DraftPostTranslation, DraftPostsQueryResult, DraftTagsUpdated, EmbedData, EmbedMedia, EmbedThumbnail, EmbedVideo, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, Field, FileData, FileSource, FileSourceDataOneOf, FocalPoint, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, GetDeletedDraftPostRequest, GetDraftPostRequest, GetDraftPostTotalsRequest, GetDraftPostTotalsResponse, GetDraftPostsSort, GetPostAmountsByLanguageRequest, GetPostAmountsByLanguageResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialDraftPostsCopied, InitialExpandedItems, IsDraftPostAutoTranslatableRequest, IsDraftPostAutoTranslatableResponse, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Keyword, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListDeletedDraftPostsRequest, ListDraftPostsRequest, ListValue, MapData, MapSettings, MapType, MarkPostAsInModerationRequest, MarkPostAsInModerationResponse, MaskedDraftPosts, Media, MediaMediaOneOf, MentionData, MessageEnvelope, MetaData, Metadata, ModerationDetails, ModerationStatusStatus, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, Origin, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlatformQuery, PlatformQueryPagingMethodOneOf, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, PollSettings, Position, PostAmountByLanguage, PublishDraftPostRequest, QueryDraftPostsRequest, QueryDraftPostsResponse, RejectDraftPostRequest, RejectDraftPostResponse, Rel, RemoveFromTrashBinRequest, RemoveFromTrashBinResponse, Resizing, RestoreFromTrashBinRequest, RestoreInfo, RevertToUnpublishedRequest, RevertToUnpublishedResponse, RibbonStyles, RichContent, SeoSchema, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, StylesPosition, TableCellData, TableData, Tag, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, TotalDraftPosts, TotalDraftPostsGroupingField, TranslateCategoryRequest, TranslateCategoryResponse, TranslateDraftRequest, TranslateDraftResponse, Type, UnpublishPostRequest, UnpublishPostResponse, UpdateDraftPostContentRequest, UpdateDraftPostContentResponse, UpdateDraftPostLanguageRequest, UpdateDraftPostLanguageResponse, UpdateDraftPostRequest, V1Media, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, WixMedia } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
type DraftNonNullablePaths = `_id` | `title` | `categoryIds` | `hashtags` | `minutesToRead` | `tagIds` | `relatedPostIds` | `pricingPlanIds` | `status` | `moderationDetails.submittedBy` | `moderationDetails.status` | `hasUnpublishedChanges` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `media.embedMedia.thumbnail.url` | `media.embedMedia.thumbnail.width` | `media.embedMedia.thumbnail.height` | `media.embedMedia.video.url` | `media.embedMedia.video.width` | `media.embedMedia.video.height` | `media.displayed` | `media.custom`;
|
|
6
6
|
declare function createDraftPost$1(httpClient: HttpClient): CreateDraftPostSignature;
|
|
@@ -23,16 +23,20 @@ __export(index_exports, {
|
|
|
23
23
|
Action: () => Action,
|
|
24
24
|
Alignment: () => Alignment,
|
|
25
25
|
AppType: () => AppType,
|
|
26
|
+
AspectRatio: () => AspectRatio,
|
|
26
27
|
BackgroundType: () => BackgroundType,
|
|
27
28
|
ButtonDataType: () => ButtonDataType,
|
|
29
|
+
CardStylesType: () => CardStylesType,
|
|
28
30
|
Crop: () => Crop,
|
|
29
31
|
DecorationType: () => DecorationType,
|
|
30
32
|
Direction: () => Direction,
|
|
33
|
+
DividerDataAlignment: () => DividerDataAlignment,
|
|
31
34
|
Field: () => Field,
|
|
32
35
|
FontType: () => FontType,
|
|
33
36
|
GIFType: () => GIFType,
|
|
34
37
|
GetDraftPostsSort: () => GetDraftPostsSort,
|
|
35
38
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
39
|
+
Layout: () => Layout,
|
|
36
40
|
LayoutType: () => LayoutType,
|
|
37
41
|
LineStyle: () => LineStyle,
|
|
38
42
|
MapType: () => MapType,
|
|
@@ -41,13 +45,16 @@ __export(index_exports, {
|
|
|
41
45
|
NullValue: () => NullValue,
|
|
42
46
|
Orientation: () => Orientation,
|
|
43
47
|
Origin: () => Origin,
|
|
48
|
+
Placement: () => Placement,
|
|
44
49
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
45
50
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
46
51
|
PollLayoutType: () => PollLayoutType,
|
|
47
52
|
Position: () => Position,
|
|
53
|
+
Resizing: () => Resizing,
|
|
48
54
|
SortOrder: () => SortOrder,
|
|
49
55
|
Source: () => Source,
|
|
50
56
|
Status: () => Status,
|
|
57
|
+
StylesPosition: () => StylesPosition,
|
|
51
58
|
Target: () => Target,
|
|
52
59
|
TextAlignment: () => TextAlignment,
|
|
53
60
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
@@ -1966,12 +1973,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
1966
1973
|
Width2["SMALL"] = "SMALL";
|
|
1967
1974
|
return Width2;
|
|
1968
1975
|
})(Width || {});
|
|
1969
|
-
var
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
return
|
|
1974
|
-
})(
|
|
1976
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
1977
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
1978
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
1979
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
1980
|
+
return DividerDataAlignment2;
|
|
1981
|
+
})(DividerDataAlignment || {});
|
|
1975
1982
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
1976
1983
|
ViewMode2["NONE"] = "NONE";
|
|
1977
1984
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -2019,13 +2026,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
2019
2026
|
Source2["ADSENSE"] = "ADSENSE";
|
|
2020
2027
|
return Source2;
|
|
2021
2028
|
})(Source || {});
|
|
2022
|
-
var
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
return
|
|
2028
|
-
})(
|
|
2029
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
2030
|
+
StylesPosition2["START"] = "START";
|
|
2031
|
+
StylesPosition2["END"] = "END";
|
|
2032
|
+
StylesPosition2["TOP"] = "TOP";
|
|
2033
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
2034
|
+
return StylesPosition2;
|
|
2035
|
+
})(StylesPosition || {});
|
|
2029
2036
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
2030
2037
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
2031
2038
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -2081,6 +2088,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
2081
2088
|
FontType2["EM"] = "EM";
|
|
2082
2089
|
return FontType2;
|
|
2083
2090
|
})(FontType || {});
|
|
2091
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
2092
|
+
Position2["START"] = "START";
|
|
2093
|
+
Position2["END"] = "END";
|
|
2094
|
+
Position2["TOP"] = "TOP";
|
|
2095
|
+
return Position2;
|
|
2096
|
+
})(Position || {});
|
|
2097
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
2098
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
2099
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
2100
|
+
return AspectRatio2;
|
|
2101
|
+
})(AspectRatio || {});
|
|
2102
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
2103
|
+
Resizing2["FILL"] = "FILL";
|
|
2104
|
+
Resizing2["FIT"] = "FIT";
|
|
2105
|
+
return Resizing2;
|
|
2106
|
+
})(Resizing || {});
|
|
2107
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
2108
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
2109
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
2110
|
+
return Placement2;
|
|
2111
|
+
})(Placement || {});
|
|
2112
|
+
var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
|
|
2113
|
+
CardStylesType2["CONTAINED"] = "CONTAINED";
|
|
2114
|
+
CardStylesType2["FRAMELESS"] = "FRAMELESS";
|
|
2115
|
+
return CardStylesType2;
|
|
2116
|
+
})(CardStylesType || {});
|
|
2117
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
2118
|
+
Alignment2["START"] = "START";
|
|
2119
|
+
Alignment2["CENTER"] = "CENTER";
|
|
2120
|
+
Alignment2["END"] = "END";
|
|
2121
|
+
return Alignment2;
|
|
2122
|
+
})(Alignment || {});
|
|
2123
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
2124
|
+
Layout2["STACKED"] = "STACKED";
|
|
2125
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
2126
|
+
return Layout2;
|
|
2127
|
+
})(Layout || {});
|
|
2084
2128
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
2085
2129
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
2086
2130
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -3380,16 +3424,20 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3380
3424
|
Action,
|
|
3381
3425
|
Alignment,
|
|
3382
3426
|
AppType,
|
|
3427
|
+
AspectRatio,
|
|
3383
3428
|
BackgroundType,
|
|
3384
3429
|
ButtonDataType,
|
|
3430
|
+
CardStylesType,
|
|
3385
3431
|
Crop,
|
|
3386
3432
|
DecorationType,
|
|
3387
3433
|
Direction,
|
|
3434
|
+
DividerDataAlignment,
|
|
3388
3435
|
Field,
|
|
3389
3436
|
FontType,
|
|
3390
3437
|
GIFType,
|
|
3391
3438
|
GetDraftPostsSort,
|
|
3392
3439
|
InitialExpandedItems,
|
|
3440
|
+
Layout,
|
|
3393
3441
|
LayoutType,
|
|
3394
3442
|
LineStyle,
|
|
3395
3443
|
MapType,
|
|
@@ -3398,13 +3446,16 @@ var onDraftUpdated2 = (0, import_event_definition_modules.createEventModule)(onD
|
|
|
3398
3446
|
NullValue,
|
|
3399
3447
|
Orientation,
|
|
3400
3448
|
Origin,
|
|
3449
|
+
Placement,
|
|
3401
3450
|
PluginContainerDataAlignment,
|
|
3402
3451
|
PollLayoutDirection,
|
|
3403
3452
|
PollLayoutType,
|
|
3404
3453
|
Position,
|
|
3454
|
+
Resizing,
|
|
3405
3455
|
SortOrder,
|
|
3406
3456
|
Source,
|
|
3407
3457
|
Status,
|
|
3458
|
+
StylesPosition,
|
|
3408
3459
|
Target,
|
|
3409
3460
|
TextAlignment,
|
|
3410
3461
|
ThumbnailsAlignment,
|