@wix/auto_sdk_blog_posts 1.0.36 → 1.0.37

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.
@@ -489,7 +489,7 @@ interface ButtonData {
489
489
  /** Styling for the button's container. */
490
490
  containerData?: PluginContainerData;
491
491
  /** The button type. */
492
- type?: TypeWithLiterals;
492
+ type?: ButtonDataTypeWithLiterals;
493
493
  /** Styling for the button. */
494
494
  styles?: Styles;
495
495
  /** The text to display on the button. */
@@ -582,14 +582,14 @@ interface Height {
582
582
  /** A custom height value in pixels. */
583
583
  custom?: string | null;
584
584
  }
585
- declare enum Type {
585
+ declare enum ButtonDataType {
586
586
  /** Regular link button */
587
587
  LINK = "LINK",
588
588
  /** Triggers custom action that is defined in plugin configuration by the consumer */
589
589
  ACTION = "ACTION"
590
590
  }
591
591
  /** @enumType */
592
- type TypeWithLiterals = Type | 'LINK' | 'ACTION';
592
+ type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
593
593
  interface Styles {
594
594
  /** Border attributes. */
595
595
  border?: Border;
@@ -675,7 +675,7 @@ interface DividerData {
675
675
  /** Divider width. */
676
676
  width?: WidthWithLiterals;
677
677
  /** Divider alignment. */
678
- alignment?: AlignmentWithLiterals;
678
+ alignment?: DividerDataAlignmentWithLiterals;
679
679
  }
680
680
  declare enum LineStyle {
681
681
  /** Single Line */
@@ -699,7 +699,7 @@ declare enum Width {
699
699
  }
700
700
  /** @enumType */
701
701
  type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
702
- declare enum Alignment {
702
+ declare enum DividerDataAlignment {
703
703
  /** Center alignment */
704
704
  CENTER = "CENTER",
705
705
  /** Left alignment */
@@ -708,7 +708,7 @@ declare enum Alignment {
708
708
  RIGHT = "RIGHT"
709
709
  }
710
710
  /** @enumType */
711
- type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
711
+ type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
712
712
  interface FileData {
713
713
  /** Styling for the file's container. */
714
714
  containerData?: PluginContainerData;
@@ -833,7 +833,7 @@ interface ItemDataOneOf {
833
833
  }
834
834
  interface GalleryOptions {
835
835
  /** Gallery layout. */
836
- layout?: Layout;
836
+ layout?: GalleryOptionsLayout;
837
837
  /** Styling for gallery items. */
838
838
  item?: ItemStyle;
839
839
  /** Styling for gallery thumbnail images. */
@@ -893,7 +893,7 @@ declare enum ThumbnailsAlignment {
893
893
  }
894
894
  /** @enumType */
895
895
  type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
896
- interface Layout {
896
+ interface GalleryOptionsLayout {
897
897
  /** Gallery layout type. */
898
898
  type?: LayoutTypeWithLiterals;
899
899
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
@@ -1049,7 +1049,7 @@ interface LinkPreviewData {
1049
1049
  /** The preview content as HTML. */
1050
1050
  html?: string | null;
1051
1051
  }
1052
- declare enum Position {
1052
+ declare enum StylesPosition {
1053
1053
  /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
1054
1054
  START = "START",
1055
1055
  /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
@@ -1060,7 +1060,7 @@ declare enum Position {
1060
1060
  HIDDEN = "HIDDEN"
1061
1061
  }
1062
1062
  /** @enumType */
1063
- type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
1063
+ type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
1064
1064
  interface LinkPreviewDataStyles {
1065
1065
  /**
1066
1066
  * Background color as a hexadecimal value.
@@ -1092,7 +1092,7 @@ interface LinkPreviewDataStyles {
1092
1092
  */
1093
1093
  borderColor?: string | null;
1094
1094
  /** Position of thumbnail. Defaults to `START`. */
1095
- thumbnailPosition?: PositionWithLiterals;
1095
+ thumbnailPosition?: StylesPositionWithLiterals;
1096
1096
  }
1097
1097
  interface MapData {
1098
1098
  /** Styling for the map's container. */
@@ -1439,6 +1439,66 @@ interface AppEmbedDataAppDataOneOf {
1439
1439
  /** Data for embedded Wix Events content. */
1440
1440
  eventData?: EventData;
1441
1441
  }
1442
+ declare enum Position {
1443
+ /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
1444
+ START = "START",
1445
+ /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
1446
+ END = "END",
1447
+ /** Image positioned at the top */
1448
+ TOP = "TOP"
1449
+ }
1450
+ /** @enumType */
1451
+ type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
1452
+ declare enum AspectRatio {
1453
+ /** 1:1 aspect ratio */
1454
+ SQUARE = "SQUARE",
1455
+ /** 16:9 aspect ratio */
1456
+ RECTANGLE = "RECTANGLE"
1457
+ }
1458
+ /** @enumType */
1459
+ type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
1460
+ declare enum Resizing {
1461
+ /** Fill the container, may crop the image */
1462
+ FILL = "FILL",
1463
+ /** Fit the image within the container */
1464
+ FIT = "FIT"
1465
+ }
1466
+ /** @enumType */
1467
+ type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
1468
+ declare enum Placement {
1469
+ /** Ribbon placed on the image */
1470
+ IMAGE = "IMAGE",
1471
+ /** Ribbon placed on the product information */
1472
+ PRODUCT_INFO = "PRODUCT_INFO"
1473
+ }
1474
+ /** @enumType */
1475
+ type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
1476
+ declare enum Type {
1477
+ /** Card with visible border and background */
1478
+ CONTAINED = "CONTAINED",
1479
+ /** Card without visible border */
1480
+ FRAMELESS = "FRAMELESS"
1481
+ }
1482
+ /** @enumType */
1483
+ type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
1484
+ declare enum Alignment {
1485
+ /** Content aligned to start (left in LTR layouts, right in RTL layouts) */
1486
+ START = "START",
1487
+ /** Content centered */
1488
+ CENTER = "CENTER",
1489
+ /** Content aligned to end (right in LTR layouts, left in RTL layouts) */
1490
+ END = "END"
1491
+ }
1492
+ /** @enumType */
1493
+ type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
1494
+ declare enum Layout {
1495
+ /** Elements stacked vertically */
1496
+ STACKED = "STACKED",
1497
+ /** Elements arranged horizontally */
1498
+ SIDE_BY_SIDE = "SIDE_BY_SIDE"
1499
+ }
1500
+ /** @enumType */
1501
+ type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
1442
1502
  declare enum AppType {
1443
1503
  PRODUCT = "PRODUCT",
1444
1504
  EVENT = "EVENT",
@@ -1456,6 +1516,122 @@ interface EventData {
1456
1516
  /** Event location. */
1457
1517
  location?: string | null;
1458
1518
  }
1519
+ interface ButtonStyles {
1520
+ /** Text to display on the button. */
1521
+ buttonText?: string | null;
1522
+ /** Border width in pixels. */
1523
+ borderWidth?: number | null;
1524
+ /** Border radius in pixels. */
1525
+ borderRadius?: number | null;
1526
+ /**
1527
+ * Border color as a hexadecimal value.
1528
+ * @format COLOR_HEX
1529
+ */
1530
+ borderColor?: string | null;
1531
+ /**
1532
+ * Text color as a hexadecimal value.
1533
+ * @format COLOR_HEX
1534
+ */
1535
+ textColor?: string | null;
1536
+ /**
1537
+ * Background color as a hexadecimal value.
1538
+ * @format COLOR_HEX
1539
+ */
1540
+ backgroundColor?: string | null;
1541
+ /**
1542
+ * Border color as a hexadecimal value (hover state).
1543
+ * @format COLOR_HEX
1544
+ */
1545
+ borderColorHover?: string | null;
1546
+ /**
1547
+ * Text color as a hexadecimal value (hover state).
1548
+ * @format COLOR_HEX
1549
+ */
1550
+ textColorHover?: string | null;
1551
+ /**
1552
+ * Background color as a hexadecimal value (hover state).
1553
+ * @format COLOR_HEX
1554
+ */
1555
+ backgroundColorHover?: string | null;
1556
+ /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
1557
+ buttonSize?: string | null;
1558
+ }
1559
+ interface ImageStyles {
1560
+ /** Whether to hide the image. */
1561
+ hideImage?: boolean | null;
1562
+ /** Position of image. Defaults to `START`. */
1563
+ imagePosition?: PositionWithLiterals;
1564
+ /** Aspect ratio for the image. Defaults to `SQUARE`. */
1565
+ aspectRatio?: AspectRatioWithLiterals;
1566
+ /** How the image should be resized. Defaults to `FILL`. */
1567
+ resizing?: ResizingWithLiterals;
1568
+ /**
1569
+ * Image border color as a hexadecimal value.
1570
+ * @format COLOR_HEX
1571
+ */
1572
+ borderColor?: string | null;
1573
+ /** Image border width in pixels. */
1574
+ borderWidth?: number | null;
1575
+ /** Image border radius in pixels. */
1576
+ borderRadius?: number | null;
1577
+ }
1578
+ interface RibbonStyles {
1579
+ /** Text to display on the ribbon. */
1580
+ ribbonText?: string | null;
1581
+ /**
1582
+ * Ribbon background color as a hexadecimal value.
1583
+ * @format COLOR_HEX
1584
+ */
1585
+ backgroundColor?: string | null;
1586
+ /**
1587
+ * Ribbon text color as a hexadecimal value.
1588
+ * @format COLOR_HEX
1589
+ */
1590
+ textColor?: string | null;
1591
+ /**
1592
+ * Ribbon border color as a hexadecimal value.
1593
+ * @format COLOR_HEX
1594
+ */
1595
+ borderColor?: string | null;
1596
+ /** Ribbon border width in pixels. */
1597
+ borderWidth?: number | null;
1598
+ /** Ribbon border radius in pixels. */
1599
+ borderRadius?: number | null;
1600
+ /** Placement of the ribbon. Defaults to `IMAGE`. */
1601
+ ribbonPlacement?: PlacementWithLiterals;
1602
+ }
1603
+ interface CardStyles {
1604
+ /**
1605
+ * Card background color as a hexadecimal value.
1606
+ * @format COLOR_HEX
1607
+ */
1608
+ backgroundColor?: string | null;
1609
+ /**
1610
+ * Card border color as a hexadecimal value.
1611
+ * @format COLOR_HEX
1612
+ */
1613
+ borderColor?: string | null;
1614
+ /** Card border width in pixels. */
1615
+ borderWidth?: number | null;
1616
+ /** Card border radius in pixels. */
1617
+ borderRadius?: number | null;
1618
+ /** Card type. Defaults to `CONTAINED`. */
1619
+ type?: TypeWithLiterals;
1620
+ /** Content alignment. Defaults to `START`. */
1621
+ alignment?: AlignmentWithLiterals;
1622
+ /** Layout for title and price. Defaults to `STACKED`. */
1623
+ titlePriceLayout?: LayoutWithLiterals;
1624
+ /**
1625
+ * Title text color as a hexadecimal value.
1626
+ * @format COLOR_HEX
1627
+ */
1628
+ titleColor?: string | null;
1629
+ /**
1630
+ * Text color as a hexadecimal value.
1631
+ * @format COLOR_HEX
1632
+ */
1633
+ textColor?: string | null;
1634
+ }
1459
1635
  interface VideoData {
1460
1636
  /** Styling for the video's container. */
1461
1637
  containerData?: PluginContainerData;
@@ -3726,4 +3902,4 @@ interface PostsQueryBuilder {
3726
3902
  */
3727
3903
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`>>;
3728
3904
 
3729
- export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BulkGetPostMetricsRequest, type BulkGetPostMetricsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, type CaptionData, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CoverMedia, type CoverMediaMediaOneOf, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, 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 GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type OldBlogMigratedEvent, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, 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 Post, type PostCategoriesUpdated, type PostCountInfo, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, type RestoreInfo, type RichContent, type ScheduledPostPublished, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts };
3905
+ export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, 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 BulkGetPostMetricsRequest, type BulkGetPostMetricsResponse, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CoverMedia, type CoverMediaMediaOneOf, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, 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 GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type OldBlogMigratedEvent, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, 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 Post, type PostCategoriesUpdated, type PostCountInfo, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type ScheduledPostPublished, 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, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts };
@@ -22,16 +22,20 @@ var index_typings_exports = {};
22
22
  __export(index_typings_exports, {
23
23
  Alignment: () => Alignment,
24
24
  AppType: () => AppType,
25
+ AspectRatio: () => AspectRatio,
25
26
  BackgroundType: () => BackgroundType,
27
+ ButtonDataType: () => ButtonDataType,
26
28
  Crop: () => Crop,
27
29
  DecorationType: () => DecorationType,
28
30
  Direction: () => Direction,
31
+ DividerDataAlignment: () => DividerDataAlignment,
29
32
  Field: () => Field,
30
33
  FontType: () => FontType,
31
34
  GIFType: () => GIFType,
32
35
  GetPostTemplatesSort: () => GetPostTemplatesSort,
33
36
  GetPostsSort: () => GetPostsSort,
34
37
  InitialExpandedItems: () => InitialExpandedItems,
38
+ Layout: () => Layout,
35
39
  LayoutType: () => LayoutType,
36
40
  LineStyle: () => LineStyle,
37
41
  MapType: () => MapType,
@@ -41,15 +45,18 @@ __export(index_typings_exports, {
41
45
  Order: () => Order,
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,
48
53
  PostFieldField: () => PostFieldField,
49
54
  QueryPublicationsCountStatsRequestOrder: () => QueryPublicationsCountStatsRequestOrder,
55
+ Resizing: () => Resizing,
50
56
  SortOrder: () => SortOrder,
51
57
  Source: () => Source,
52
58
  Status: () => Status,
59
+ StylesPosition: () => StylesPosition,
53
60
  Target: () => Target,
54
61
  TextAlignment: () => TextAlignment,
55
62
  ThumbnailsAlignment: () => ThumbnailsAlignment,
@@ -963,11 +970,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
963
970
  PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
964
971
  return PluginContainerDataAlignment2;
965
972
  })(PluginContainerDataAlignment || {});
966
- var Type = /* @__PURE__ */ ((Type2) => {
967
- Type2["LINK"] = "LINK";
968
- Type2["ACTION"] = "ACTION";
969
- return Type2;
970
- })(Type || {});
973
+ var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
974
+ ButtonDataType2["LINK"] = "LINK";
975
+ ButtonDataType2["ACTION"] = "ACTION";
976
+ return ButtonDataType2;
977
+ })(ButtonDataType || {});
971
978
  var Target = /* @__PURE__ */ ((Target2) => {
972
979
  Target2["SELF"] = "SELF";
973
980
  Target2["BLANK"] = "BLANK";
@@ -996,12 +1003,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
996
1003
  Width2["SMALL"] = "SMALL";
997
1004
  return Width2;
998
1005
  })(Width || {});
999
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
1000
- Alignment2["CENTER"] = "CENTER";
1001
- Alignment2["LEFT"] = "LEFT";
1002
- Alignment2["RIGHT"] = "RIGHT";
1003
- return Alignment2;
1004
- })(Alignment || {});
1006
+ var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
1007
+ DividerDataAlignment2["CENTER"] = "CENTER";
1008
+ DividerDataAlignment2["LEFT"] = "LEFT";
1009
+ DividerDataAlignment2["RIGHT"] = "RIGHT";
1010
+ return DividerDataAlignment2;
1011
+ })(DividerDataAlignment || {});
1005
1012
  var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
1006
1013
  ViewMode2["NONE"] = "NONE";
1007
1014
  ViewMode2["FULL"] = "FULL";
@@ -1049,13 +1056,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
1049
1056
  Source2["ADSENSE"] = "ADSENSE";
1050
1057
  return Source2;
1051
1058
  })(Source || {});
1052
- var Position = /* @__PURE__ */ ((Position2) => {
1053
- Position2["START"] = "START";
1054
- Position2["END"] = "END";
1055
- Position2["TOP"] = "TOP";
1056
- Position2["HIDDEN"] = "HIDDEN";
1057
- return Position2;
1058
- })(Position || {});
1059
+ var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
1060
+ StylesPosition2["START"] = "START";
1061
+ StylesPosition2["END"] = "END";
1062
+ StylesPosition2["TOP"] = "TOP";
1063
+ StylesPosition2["HIDDEN"] = "HIDDEN";
1064
+ return StylesPosition2;
1065
+ })(StylesPosition || {});
1059
1066
  var MapType = /* @__PURE__ */ ((MapType2) => {
1060
1067
  MapType2["ROADMAP"] = "ROADMAP";
1061
1068
  MapType2["SATELITE"] = "SATELITE";
@@ -1108,6 +1115,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
1108
1115
  FontType2["EM"] = "EM";
1109
1116
  return FontType2;
1110
1117
  })(FontType || {});
1118
+ var Position = /* @__PURE__ */ ((Position2) => {
1119
+ Position2["START"] = "START";
1120
+ Position2["END"] = "END";
1121
+ Position2["TOP"] = "TOP";
1122
+ return Position2;
1123
+ })(Position || {});
1124
+ var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
1125
+ AspectRatio2["SQUARE"] = "SQUARE";
1126
+ AspectRatio2["RECTANGLE"] = "RECTANGLE";
1127
+ return AspectRatio2;
1128
+ })(AspectRatio || {});
1129
+ var Resizing = /* @__PURE__ */ ((Resizing2) => {
1130
+ Resizing2["FILL"] = "FILL";
1131
+ Resizing2["FIT"] = "FIT";
1132
+ return Resizing2;
1133
+ })(Resizing || {});
1134
+ var Placement = /* @__PURE__ */ ((Placement2) => {
1135
+ Placement2["IMAGE"] = "IMAGE";
1136
+ Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
1137
+ return Placement2;
1138
+ })(Placement || {});
1139
+ var Type = /* @__PURE__ */ ((Type2) => {
1140
+ Type2["CONTAINED"] = "CONTAINED";
1141
+ Type2["FRAMELESS"] = "FRAMELESS";
1142
+ return Type2;
1143
+ })(Type || {});
1144
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
1145
+ Alignment2["START"] = "START";
1146
+ Alignment2["CENTER"] = "CENTER";
1147
+ Alignment2["END"] = "END";
1148
+ return Alignment2;
1149
+ })(Alignment || {});
1150
+ var Layout = /* @__PURE__ */ ((Layout2) => {
1151
+ Layout2["STACKED"] = "STACKED";
1152
+ Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
1153
+ return Layout2;
1154
+ })(Layout || {});
1111
1155
  var AppType = /* @__PURE__ */ ((AppType2) => {
1112
1156
  AppType2["PRODUCT"] = "PRODUCT";
1113
1157
  AppType2["EVENT"] = "EVENT";
@@ -1580,16 +1624,20 @@ async function getPostMetrics2(postId) {
1580
1624
  0 && (module.exports = {
1581
1625
  Alignment,
1582
1626
  AppType,
1627
+ AspectRatio,
1583
1628
  BackgroundType,
1629
+ ButtonDataType,
1584
1630
  Crop,
1585
1631
  DecorationType,
1586
1632
  Direction,
1633
+ DividerDataAlignment,
1587
1634
  Field,
1588
1635
  FontType,
1589
1636
  GIFType,
1590
1637
  GetPostTemplatesSort,
1591
1638
  GetPostsSort,
1592
1639
  InitialExpandedItems,
1640
+ Layout,
1593
1641
  LayoutType,
1594
1642
  LineStyle,
1595
1643
  MapType,
@@ -1599,15 +1647,18 @@ async function getPostMetrics2(postId) {
1599
1647
  Order,
1600
1648
  Orientation,
1601
1649
  Origin,
1650
+ Placement,
1602
1651
  PluginContainerDataAlignment,
1603
1652
  PollLayoutDirection,
1604
1653
  PollLayoutType,
1605
1654
  Position,
1606
1655
  PostFieldField,
1607
1656
  QueryPublicationsCountStatsRequestOrder,
1657
+ Resizing,
1608
1658
  SortOrder,
1609
1659
  Source,
1610
1660
  Status,
1661
+ StylesPosition,
1611
1662
  Target,
1612
1663
  TextAlignment,
1613
1664
  ThumbnailsAlignment,