@wix/auto_sdk_rich-content_ricos-conversations 1.0.5 → 1.0.7

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +48 -4
  2. package/build/cjs/index.js +1 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -1
  5. package/build/cjs/index.typings.js +1 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +48 -4
  8. package/build/cjs/meta.js +1 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +48 -4
  11. package/build/es/index.mjs +1 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -1
  14. package/build/es/index.typings.mjs +1 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +48 -4
  17. package/build/es/meta.mjs +1 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +1 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +48 -4
  23. package/build/internal/cjs/index.typings.js +1 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +48 -4
  26. package/build/internal/cjs/meta.js +1 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +1 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +48 -4
  32. package/build/internal/es/index.typings.mjs +1 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +48 -4
  35. package/build/internal/es/meta.mjs +1 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1142,6 +1142,8 @@ interface Decoration extends DecorationDataOneOf {
1142
1142
  superscriptData?: boolean | null;
1143
1143
  /** Data for a subscript decoration. Defaults to `true`. */
1144
1144
  subscriptData?: boolean | null;
1145
+ /** Data for a font family decoration. */
1146
+ fontFamilyData?: FontFamilyData;
1145
1147
  /** The type of decoration to apply. */
1146
1148
  type?: DecorationTypeWithLiterals;
1147
1149
  }
@@ -1171,6 +1173,8 @@ interface DecorationDataOneOf {
1171
1173
  superscriptData?: boolean | null;
1172
1174
  /** Data for a subscript decoration. Defaults to `true`. */
1173
1175
  subscriptData?: boolean | null;
1176
+ /** Data for a font family decoration. */
1177
+ fontFamilyData?: FontFamilyData;
1174
1178
  }
1175
1179
  declare enum DecorationType {
1176
1180
  BOLD = "BOLD",
@@ -1185,10 +1189,11 @@ declare enum DecorationType {
1185
1189
  EXTERNAL = "EXTERNAL",
1186
1190
  STRIKETHROUGH = "STRIKETHROUGH",
1187
1191
  SUPERSCRIPT = "SUPERSCRIPT",
1188
- SUBSCRIPT = "SUBSCRIPT"
1192
+ SUBSCRIPT = "SUBSCRIPT",
1193
+ FONT_FAMILY = "FONT_FAMILY"
1189
1194
  }
1190
1195
  /** @enumType */
1191
- type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
1196
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
1192
1197
  interface AnchorData {
1193
1198
  /** The target node's ID. */
1194
1199
  anchor?: string;
@@ -1227,6 +1232,10 @@ interface SpoilerData {
1227
1232
  /** Spoiler ID. */
1228
1233
  id?: string | null;
1229
1234
  }
1235
+ interface FontFamilyData {
1236
+ /** @maxLength 1000 */
1237
+ value?: string | null;
1238
+ }
1230
1239
  interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1231
1240
  /** Data for embedded Wix Bookings content. */
1232
1241
  bookingData?: BookingData;
@@ -1611,6 +1620,13 @@ interface TableData {
1611
1620
  rowHeader?: boolean | null;
1612
1621
  /** Sets whether the table's first column is a header. Defaults to `false`. */
1613
1622
  columnHeader?: boolean | null;
1623
+ /** The spacing between cells in pixels. Defaults to `0`. */
1624
+ cellSpacing?: number | null;
1625
+ /**
1626
+ * Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
1627
+ * @maxSize 4
1628
+ */
1629
+ cellPadding?: number[];
1614
1630
  }
1615
1631
  interface Dimensions {
1616
1632
  /** An array representing relative width of each column in relation to the other columns. */
@@ -1625,6 +1641,12 @@ interface TableCellData {
1625
1641
  cellStyle?: CellStyle;
1626
1642
  /** The cell's border colors. */
1627
1643
  borderColors?: BorderColors;
1644
+ /** Defines how many columns the cell spans. Default: 1. */
1645
+ colspan?: number | null;
1646
+ /** Defines how many rows the cell spans. Default: 1. */
1647
+ rowspan?: number | null;
1648
+ /** The cell's border widths. */
1649
+ borderWidths?: BorderWidths;
1628
1650
  }
1629
1651
  declare enum VerticalAlignment {
1630
1652
  /** Top alignment */
@@ -1667,6 +1689,16 @@ interface BorderColors {
1667
1689
  */
1668
1690
  bottom?: string | null;
1669
1691
  }
1692
+ interface BorderWidths {
1693
+ /** Left border width in pixels. */
1694
+ left?: number | null;
1695
+ /** Right border width in pixels. */
1696
+ right?: number | null;
1697
+ /** Top border width in pixels. */
1698
+ top?: number | null;
1699
+ /** Bottom border width in pixels. */
1700
+ bottom?: number | null;
1701
+ }
1670
1702
  /**
1671
1703
  * `NullValue` is a singleton enumeration to represent the null value for the
1672
1704
  * `Value` type union.
@@ -1766,6 +1798,8 @@ interface LayoutData {
1766
1798
  responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
1767
1799
  /** Size in pixels when responsiveness_behaviour applies */
1768
1800
  responsivenessBreakpoint?: number | null;
1801
+ /** Styling for the layout's container. */
1802
+ containerData?: PluginContainerData;
1769
1803
  }
1770
1804
  declare enum Scaling {
1771
1805
  /** Auto image scaling */
@@ -1886,7 +1920,17 @@ interface File {
1886
1920
  * File id. Must be uploaded file to media manager. Read more - https://dev.wix.com/docs/api-reference/assets/media/media-manager/introduction
1887
1921
  * @maxLength 2048
1888
1922
  */
1889
- fileId?: string;
1923
+ fileId?: string | null;
1924
+ /**
1925
+ * File URL. Reference to a file accessible via URL
1926
+ * @maxLength 2048
1927
+ */
1928
+ fileUrl?: string | null;
1929
+ /**
1930
+ * MIME type of the file (e.g., "image/png", "application/pdf")
1931
+ * @maxLength 100
1932
+ */
1933
+ mimeType?: string | null;
1890
1934
  }
1891
1935
  interface PromptConfiguration {
1892
1936
  /**
@@ -2956,4 +3000,4 @@ interface ListConversationSuggestionsOptions {
2956
3000
  suggestions?: Suggestion[];
2957
3001
  }
2958
3002
 
2959
- export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundBackgroundType, type BackgroundBackgroundTypeWithLiterals, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulletedListData, type Button, type ButtonBorder, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, ButtonSize, type ButtonSizeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type Center, ChunkType, type ChunkTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type ColorOptions, type ColorSwatch, type ColorSwatchColorTypeOptionsOneOf, ColorSwatchType, type ColorSwatchTypeWithLiterals, type Colors, type ConversationResponse, type CreateConversationStreamedOptions, type CreateConversationStreamedRequest, type CreateRicosConversationOptions, type CreateRicosConversationRequest, type CreateRicosConversationResponse, Crop, type CropWithLiterals, type DebugOptions, 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 EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type ExplainOption, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, type GradientStop, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, HorizontalPaddingType, type HorizontalPaddingTypeWithLiterals, type Hover, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageBorder, type ImageData, type ImageDataStyles, type ImageOptions, ImageOptionsImagePosition, type ImageOptionsImagePositionWithLiterals, ImagePosition, type ImagePositionWithLiterals, ImageScaling, type ImageScalingWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InsertOptions, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListConversationSuggestionsOptions, type ListConversationSuggestionsRequest, type ListConversationSuggestionsResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type MetadataOptions, Name, type NameWithLiterals, type Node, type NodeDataOneOf, type NodeOptions, type NodeStyle, type NodeTextOptions, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type PageSetup, type ParagraphData, type PatchOptions, type Permissions, Placement, type PlacementWithLiterals, 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, Position, type PositionWithLiterals, PositionsPosition, type PositionsPositionWithLiterals, type PricingData, type ProgressOptions, type PromptConfiguration, type RangeDetails, type Rel, type ReplaceOptions, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RicosConversation, type RicosConversationChunk, type RicosConversationChunkTypeDataOneOf, type RicosConversationUserMessageOneOf, Scaling, type ScalingWithLiterals, type Settings, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Suggestion, SuggestionAction, type SuggestionActionWithLiterals, type SuggestionOptions, type SuggestionPositionDetailsOneOf, type SummaryOptions, type TableCellData, type TableData, Target, type TargetWithLiterals, type TemplateSearchConfiguration, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Theme, type ThemeOptions, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Tool, type ToolConfigurationOneOf, type ToolUseOptions, Type, type TypeWithLiterals, type Typography, type TypographyTextStyle, type V1Background, type V1BackgroundBackgroundTypeOptionsOneOf, type V1Gradient, type V1GradientGradientTypeOptionsOneOf, type V1Image, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, VerticalPaddingType, type VerticalPaddingTypeWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals };
3003
+ export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundBackgroundType, type BackgroundBackgroundTypeWithLiterals, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type Button, type ButtonBorder, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, ButtonSize, type ButtonSizeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type Center, ChunkType, type ChunkTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type ColorOptions, type ColorSwatch, type ColorSwatchColorTypeOptionsOneOf, ColorSwatchType, type ColorSwatchTypeWithLiterals, type Colors, type ConversationResponse, type CreateConversationStreamedOptions, type CreateConversationStreamedRequest, type CreateRicosConversationOptions, type CreateRicosConversationRequest, type CreateRicosConversationResponse, Crop, type CropWithLiterals, type DebugOptions, 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 EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type ExplainOption, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, type GradientStop, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, HorizontalPaddingType, type HorizontalPaddingTypeWithLiterals, type Hover, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageBorder, type ImageData, type ImageDataStyles, type ImageOptions, ImageOptionsImagePosition, type ImageOptionsImagePositionWithLiterals, ImagePosition, type ImagePositionWithLiterals, ImageScaling, type ImageScalingWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InsertOptions, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListConversationSuggestionsOptions, type ListConversationSuggestionsRequest, type ListConversationSuggestionsResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type MetadataOptions, Name, type NameWithLiterals, type Node, type NodeDataOneOf, type NodeOptions, type NodeStyle, type NodeTextOptions, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type PageSetup, type ParagraphData, type PatchOptions, type Permissions, Placement, type PlacementWithLiterals, 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, Position, type PositionWithLiterals, PositionsPosition, type PositionsPositionWithLiterals, type PricingData, type ProgressOptions, type PromptConfiguration, type RangeDetails, type Rel, type ReplaceOptions, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RicosConversation, type RicosConversationChunk, type RicosConversationChunkTypeDataOneOf, type RicosConversationUserMessageOneOf, Scaling, type ScalingWithLiterals, type Settings, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Suggestion, SuggestionAction, type SuggestionActionWithLiterals, type SuggestionOptions, type SuggestionPositionDetailsOneOf, type SummaryOptions, type TableCellData, type TableData, Target, type TargetWithLiterals, type TemplateSearchConfiguration, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Theme, type ThemeOptions, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Tool, type ToolConfigurationOneOf, type ToolUseOptions, Type, type TypeWithLiterals, type Typography, type TypographyTextStyle, type V1Background, type V1BackgroundBackgroundTypeOptionsOneOf, type V1Gradient, type V1GradientGradientTypeOptionsOneOf, type V1Image, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, VerticalPaddingType, type VerticalPaddingTypeWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals };
@@ -1093,6 +1093,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
1093
1093
  DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
1094
1094
  DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
1095
1095
  DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
1096
+ DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
1096
1097
  return DecorationType2;
1097
1098
  })(DecorationType || {});
1098
1099
  var FontType = /* @__PURE__ */ ((FontType2) => {