@wix/auto_sdk_multilingual_machine-translation 1.0.45 → 1.0.46
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 +45 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +99 -3
- package/build/cjs/index.typings.js +45 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +99 -3
- package/build/cjs/meta.js +45 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +43 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +99 -3
- package/build/es/index.typings.mjs +43 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +99 -3
- package/build/es/meta.mjs +43 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +45 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +99 -3
- package/build/internal/cjs/index.typings.js +45 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +99 -3
- package/build/internal/cjs/meta.js +45 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +43 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +99 -3
- package/build/internal/es/index.typings.mjs +43 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +99 -3
- package/build/internal/es/meta.mjs +43 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
package/build/es/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { SupportedLanguageWithLiterals, MachineTranslateOptions, MachineTranslateResponse, MachineTranslateApplicationErrors, BulkMachineTranslateOptions, BulkMachineTranslateResponse, BulkMachineTranslateApplicationErrors } from './index.typings.mjs';
|
|
3
|
-
export { Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, 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, Format, FormatWithLiterals, 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, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListStyle, ListStyleWithLiterals, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NotEnoughCreditsError, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RibbonStyles, RichContent, SameLanguageArgumentsError, Scaling, ScalingWithLiterals, Settings, ShapeData, ShapeDataStyles, Source, SourceWithLiterals, Spoiler, SpoilerData, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, SupportedLanguage, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, TranslatableContent, TranslatableContentContentOneOf, Type, TypeWithLiterals, UnknownFormatError, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.mjs';
|
|
3
|
+
export { Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, 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, Format, FormatWithLiterals, 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, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListStyle, ListStyleWithLiterals, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NotEnoughCreditsError, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RibbonStyles, RichContent, SameLanguageArgumentsError, Scaling, ScalingWithLiterals, Settings, ShapeData, ShapeDataStyles, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, Source, SourceWithLiterals, Spoiler, SpoilerData, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, SupportedLanguage, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, TranslatableContent, TranslatableContentContentOneOf, Type, TypeWithLiterals, UnknownFormatError, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function machineTranslate$1(httpClient: HttpClient): MachineTranslateSignature;
|
|
6
6
|
interface MachineTranslateSignature {
|
package/build/es/index.mjs
CHANGED
|
@@ -175,7 +175,10 @@ function machineTranslate(payload) {
|
|
|
175
175
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
176
176
|
},
|
|
177
177
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
178
|
-
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" }
|
|
178
|
+
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
179
|
+
{
|
|
180
|
+
path: "contentToTranslate.richContent.nodes.smartBlockCellData.shape.duration"
|
|
181
|
+
}
|
|
179
182
|
]
|
|
180
183
|
},
|
|
181
184
|
{
|
|
@@ -309,6 +312,9 @@ function machineTranslate(payload) {
|
|
|
309
312
|
{ path: "translatedContent.richContent.nodes.tocData.fontSize" },
|
|
310
313
|
{
|
|
311
314
|
path: "translatedContent.richContent.nodes.tocData.itemSpacing"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
path: "translatedContent.richContent.nodes.smartBlockCellData.shape.duration"
|
|
312
318
|
}
|
|
313
319
|
]
|
|
314
320
|
},
|
|
@@ -438,7 +444,10 @@ function bulkMachineTranslate(payload) {
|
|
|
438
444
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
439
445
|
},
|
|
440
446
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
441
|
-
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" }
|
|
447
|
+
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
448
|
+
{
|
|
449
|
+
path: "contentToTranslate.richContent.nodes.smartBlockCellData.shape.duration"
|
|
450
|
+
}
|
|
442
451
|
]
|
|
443
452
|
},
|
|
444
453
|
{
|
|
@@ -570,7 +579,10 @@ function bulkMachineTranslate(payload) {
|
|
|
570
579
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
571
580
|
},
|
|
572
581
|
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
573
|
-
{ path: "results.item.richContent.nodes.tocData.itemSpacing" }
|
|
582
|
+
{ path: "results.item.richContent.nodes.tocData.itemSpacing" },
|
|
583
|
+
{
|
|
584
|
+
path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
|
|
585
|
+
}
|
|
574
586
|
]
|
|
575
587
|
},
|
|
576
588
|
{
|
|
@@ -631,6 +643,8 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
631
643
|
NodeType2["SHAPE"] = "SHAPE";
|
|
632
644
|
NodeType2["CARD"] = "CARD";
|
|
633
645
|
NodeType2["TOC"] = "TOC";
|
|
646
|
+
NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
|
|
647
|
+
NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
|
|
634
648
|
return NodeType2;
|
|
635
649
|
})(NodeType || {});
|
|
636
650
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -958,6 +972,30 @@ var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
|
958
972
|
Indentation2["FLAT"] = "FLAT";
|
|
959
973
|
return Indentation2;
|
|
960
974
|
})(Indentation || {});
|
|
975
|
+
var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
|
|
976
|
+
SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
|
|
977
|
+
SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
|
|
978
|
+
SmartBlockDataType2["STATS"] = "STATS";
|
|
979
|
+
SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
|
|
980
|
+
SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
|
|
981
|
+
SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
|
|
982
|
+
SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
|
|
983
|
+
SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
|
|
984
|
+
SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
|
|
985
|
+
SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
|
|
986
|
+
SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
|
|
987
|
+
SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
|
|
988
|
+
SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
|
|
989
|
+
SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
|
|
990
|
+
return SmartBlockDataType2;
|
|
991
|
+
})(SmartBlockDataType || {});
|
|
992
|
+
var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
|
|
993
|
+
ColumnSize2["SMALL"] = "SMALL";
|
|
994
|
+
ColumnSize2["MEDIUM"] = "MEDIUM";
|
|
995
|
+
ColumnSize2["LARGE"] = "LARGE";
|
|
996
|
+
ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
|
|
997
|
+
return ColumnSize2;
|
|
998
|
+
})(ColumnSize || {});
|
|
961
999
|
var SupportedLanguage = /* @__PURE__ */ ((SupportedLanguage2) => {
|
|
962
1000
|
SupportedLanguage2["AF"] = "AF";
|
|
963
1001
|
SupportedLanguage2["SQ"] = "SQ";
|
|
@@ -1203,6 +1241,7 @@ export {
|
|
|
1203
1241
|
BackgroundType,
|
|
1204
1242
|
ButtonDataType,
|
|
1205
1243
|
CardDataBackgroundType,
|
|
1244
|
+
ColumnSize,
|
|
1206
1245
|
Crop,
|
|
1207
1246
|
DecorationType,
|
|
1208
1247
|
DesignTarget,
|
|
@@ -1236,6 +1275,7 @@ export {
|
|
|
1236
1275
|
Resizing,
|
|
1237
1276
|
ResponsivenessBehaviour,
|
|
1238
1277
|
Scaling,
|
|
1278
|
+
SmartBlockDataType,
|
|
1239
1279
|
Source,
|
|
1240
1280
|
StylesPosition,
|
|
1241
1281
|
SupportedLanguage,
|