@wix/auto_sdk_rich-content_ricos-documents 1.0.31 → 1.0.32

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 +1 -1
  2. package/build/cjs/index.js +36 -3
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +99 -3
  5. package/build/cjs/index.typings.js +36 -3
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +99 -3
  8. package/build/cjs/meta.js +36 -3
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +34 -3
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +99 -3
  14. package/build/es/index.typings.mjs +34 -3
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +99 -3
  17. package/build/es/meta.mjs +34 -3
  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 +36 -3
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +99 -3
  23. package/build/internal/cjs/index.typings.js +36 -3
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +99 -3
  26. package/build/internal/cjs/meta.js +36 -3
  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 +34 -3
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +99 -3
  32. package/build/internal/es/index.typings.mjs +34 -3
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +99 -3
  35. package/build/internal/es/meta.mjs +34 -3
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
2
  import { ValidateDocumentOptions, ValidateDocumentResponse, ConvertToRicosDocumentOptions, ConvertToRicosDocumentResponse, RichContent, TargetFormatWithLiterals, ConvertFromRicosDocumentOptions, ConvertFromRicosDocumentResponse } from './index.typings.js';
3
- export { Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertFromRicosDocumentOptionsOptionsOneOf, ConvertFromRicosDocumentRequest, ConvertFromRicosDocumentRequestOptionsOneOf, ConvertFromRicosDocumentResponseResultOneOf, ConvertToRicosDocumentOptionsSourceOneOf, ConvertToRicosDocumentRequest, ConvertToRicosDocumentRequestSourceOneOf, Crop, CropWithLiterals, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListStyle, ListStyleWithLiterals, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlainTextOptions, PlaybackOptions, Plugin, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, PluginWithLiterals, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RibbonStyles, RicosDocumentOptions, RicosDocumentPlaceholder, RicosDocumentViolation, Scaling, ScalingWithLiterals, Settings, ShapeData, ShapeDataStyles, Source, SourceWithLiterals, Spoiler, SpoilerData, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetFormat, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, ValidateDocumentRequest, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
3
+ export { Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, ConvertFromRicosDocumentOptionsOptionsOneOf, ConvertFromRicosDocumentRequest, ConvertFromRicosDocumentRequestOptionsOneOf, ConvertFromRicosDocumentResponseResultOneOf, ConvertToRicosDocumentOptionsSourceOneOf, ConvertToRicosDocumentRequest, ConvertToRicosDocumentRequestSourceOneOf, Crop, CropWithLiterals, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListStyle, ListStyleWithLiterals, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlainTextOptions, PlaybackOptions, Plugin, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, PluginWithLiterals, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RibbonStyles, RicosDocumentOptions, RicosDocumentPlaceholder, RicosDocumentViolation, Scaling, ScalingWithLiterals, Settings, ShapeData, ShapeDataStyles, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, Source, SourceWithLiterals, Spoiler, SpoilerData, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetFormat, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, ValidateDocumentRequest, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function validateDocument$1(httpClient: HttpClient): ValidateDocumentSignature;
6
6
  interface ValidateDocumentSignature {
@@ -27,6 +27,7 @@ __export(index_exports, {
27
27
  BackgroundType: () => BackgroundType,
28
28
  ButtonDataType: () => ButtonDataType,
29
29
  CardDataBackgroundType: () => CardDataBackgroundType,
30
+ ColumnSize: () => ColumnSize,
30
31
  Crop: () => Crop,
31
32
  DecorationType: () => DecorationType,
32
33
  DesignTarget: () => DesignTarget,
@@ -60,6 +61,7 @@ __export(index_exports, {
60
61
  Resizing: () => Resizing,
61
62
  ResponsivenessBehaviour: () => ResponsivenessBehaviour,
62
63
  Scaling: () => Scaling,
64
+ SmartBlockDataType: () => SmartBlockDataType,
63
65
  Source: () => Source,
64
66
  StylesPosition: () => StylesPosition,
65
67
  Target: () => Target,
@@ -240,7 +242,8 @@ function validateDocument(payload) {
240
242
  path: "validDocument.nodes.cardData.backgroundImage.media.duration"
241
243
  },
242
244
  { path: "validDocument.nodes.tocData.fontSize" },
243
- { path: "validDocument.nodes.tocData.itemSpacing" }
245
+ { path: "validDocument.nodes.tocData.itemSpacing" },
246
+ { path: "validDocument.nodes.smartBlockCellData.shape.duration" }
244
247
  ]
245
248
  },
246
249
  {
@@ -339,7 +342,8 @@ function convertToRicosDocument(payload) {
339
342
  path: "document.nodes.cardData.backgroundImage.media.duration"
340
343
  },
341
344
  { path: "document.nodes.tocData.fontSize" },
342
- { path: "document.nodes.tocData.itemSpacing" }
345
+ { path: "document.nodes.tocData.itemSpacing" },
346
+ { path: "document.nodes.smartBlockCellData.shape.duration" }
343
347
  ]
344
348
  },
345
349
  {
@@ -416,7 +420,8 @@ function convertFromRicosDocument(payload) {
416
420
  },
417
421
  { path: "document.nodes.cardData.backgroundImage.media.duration" },
418
422
  { path: "document.nodes.tocData.fontSize" },
419
- { path: "document.nodes.tocData.itemSpacing" }
423
+ { path: "document.nodes.tocData.itemSpacing" },
424
+ { path: "document.nodes.smartBlockCellData.shape.duration" }
420
425
  ]
421
426
  },
422
427
  {
@@ -519,6 +524,8 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
519
524
  NodeType2["SHAPE"] = "SHAPE";
520
525
  NodeType2["CARD"] = "CARD";
521
526
  NodeType2["TOC"] = "TOC";
527
+ NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
528
+ NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
522
529
  return NodeType2;
523
530
  })(NodeType || {});
524
531
  var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
@@ -846,6 +853,30 @@ var Indentation = /* @__PURE__ */ ((Indentation2) => {
846
853
  Indentation2["FLAT"] = "FLAT";
847
854
  return Indentation2;
848
855
  })(Indentation || {});
856
+ var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
857
+ SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
858
+ SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
859
+ SmartBlockDataType2["STATS"] = "STATS";
860
+ SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
861
+ SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
862
+ SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
863
+ SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
864
+ SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
865
+ SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
866
+ SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
867
+ SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
868
+ SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
869
+ SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
870
+ SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
871
+ return SmartBlockDataType2;
872
+ })(SmartBlockDataType || {});
873
+ var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
874
+ ColumnSize2["SMALL"] = "SMALL";
875
+ ColumnSize2["MEDIUM"] = "MEDIUM";
876
+ ColumnSize2["LARGE"] = "LARGE";
877
+ ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
878
+ return ColumnSize2;
879
+ })(ColumnSize || {});
849
880
  var TargetFormat = /* @__PURE__ */ ((TargetFormat2) => {
850
881
  TargetFormat2["MARKDOWN"] = "MARKDOWN";
851
882
  TargetFormat2["HTML"] = "HTML";
@@ -988,6 +1019,7 @@ var convertFromRicosDocument4 = /* @__PURE__ */ (0, import_rest_modules2.createR
988
1019
  BackgroundType,
989
1020
  ButtonDataType,
990
1021
  CardDataBackgroundType,
1022
+ ColumnSize,
991
1023
  Crop,
992
1024
  DecorationType,
993
1025
  DesignTarget,
@@ -1021,6 +1053,7 @@ var convertFromRicosDocument4 = /* @__PURE__ */ (0, import_rest_modules2.createR
1021
1053
  Resizing,
1022
1054
  ResponsivenessBehaviour,
1023
1055
  Scaling,
1056
+ SmartBlockDataType,
1024
1057
  Source,
1025
1058
  StylesPosition,
1026
1059
  Target,