@wix/auto_sdk_multilingual_machine-translation 1.0.23 → 1.0.24
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 +69 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +214 -12
- package/build/cjs/index.typings.js +69 -18
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +213 -11
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +62 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +214 -12
- package/build/es/index.typings.mjs +62 -18
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +213 -11
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +69 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +214 -12
- package/build/internal/cjs/index.typings.js +69 -18
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +213 -11
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +62 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +214 -12
- package/build/internal/es/index.typings.mjs +62 -18
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +213 -11
- package/package.json +2 -2
package/build/cjs/index.d.ts
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.js';
|
|
3
|
-
export { Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, CaptionData, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, Format, GIF, GIFData, GIFType, GalleryData, GalleryOptions, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NotEnoughCreditsError, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, Rel, RichContent, SameLanguageArgumentsError, Settings, Source, Spoiler, SpoilerData, Styles, StylesBorder, SupportedLanguage, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, TranslatableContent, TranslatableContentContentOneOf, Type, UnknownFormatError, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, Width, WidthType } from './index.typings.js';
|
|
3
|
+
export { Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, Format, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NotEnoughCreditsError, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, Placement, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, Rel, Resizing, RibbonStyles, RichContent, SameLanguageArgumentsError, Settings, Source, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, SupportedLanguage, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, TranslatableContent, TranslatableContentContentOneOf, Type, UnknownFormatError, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, Width, WidthType } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
type TranslatableContentNonNullablePaths = `plainTextContent` | `htmlContent` | `format`;
|
|
6
6
|
declare function machineTranslate$1(httpClient: HttpClient): MachineTranslateSignature;
|
package/build/cjs/index.js
CHANGED
|
@@ -22,25 +22,32 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_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
|
FontType: () => FontType,
|
|
30
33
|
Format: () => Format,
|
|
31
34
|
GIFType: () => GIFType,
|
|
32
35
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
36
|
+
Layout: () => Layout,
|
|
33
37
|
LayoutType: () => LayoutType,
|
|
34
38
|
LineStyle: () => LineStyle,
|
|
35
39
|
MapType: () => MapType,
|
|
36
40
|
NodeType: () => NodeType,
|
|
37
41
|
NullValue: () => NullValue,
|
|
38
42
|
Orientation: () => Orientation,
|
|
43
|
+
Placement: () => Placement,
|
|
39
44
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
40
45
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
41
46
|
PollLayoutType: () => PollLayoutType,
|
|
42
47
|
Position: () => Position,
|
|
48
|
+
Resizing: () => Resizing,
|
|
43
49
|
Source: () => Source,
|
|
50
|
+
StylesPosition: () => StylesPosition,
|
|
44
51
|
SupportedLanguage: () => SupportedLanguage,
|
|
45
52
|
Target: () => Target,
|
|
46
53
|
TextAlignment: () => TextAlignment,
|
|
@@ -456,11 +463,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
|
|
|
456
463
|
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
|
457
464
|
return PluginContainerDataAlignment2;
|
|
458
465
|
})(PluginContainerDataAlignment || {});
|
|
459
|
-
var
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
return
|
|
463
|
-
})(
|
|
466
|
+
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
|
|
467
|
+
ButtonDataType2["LINK"] = "LINK";
|
|
468
|
+
ButtonDataType2["ACTION"] = "ACTION";
|
|
469
|
+
return ButtonDataType2;
|
|
470
|
+
})(ButtonDataType || {});
|
|
464
471
|
var Target = /* @__PURE__ */ ((Target2) => {
|
|
465
472
|
Target2["SELF"] = "SELF";
|
|
466
473
|
Target2["BLANK"] = "BLANK";
|
|
@@ -489,12 +496,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
489
496
|
Width2["SMALL"] = "SMALL";
|
|
490
497
|
return Width2;
|
|
491
498
|
})(Width || {});
|
|
492
|
-
var
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
return
|
|
497
|
-
})(
|
|
499
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
500
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
501
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
502
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
503
|
+
return DividerDataAlignment2;
|
|
504
|
+
})(DividerDataAlignment || {});
|
|
498
505
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
499
506
|
ViewMode2["NONE"] = "NONE";
|
|
500
507
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -542,13 +549,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
542
549
|
Source2["ADSENSE"] = "ADSENSE";
|
|
543
550
|
return Source2;
|
|
544
551
|
})(Source || {});
|
|
545
|
-
var
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
return
|
|
551
|
-
})(
|
|
552
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
553
|
+
StylesPosition2["START"] = "START";
|
|
554
|
+
StylesPosition2["END"] = "END";
|
|
555
|
+
StylesPosition2["TOP"] = "TOP";
|
|
556
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
557
|
+
return StylesPosition2;
|
|
558
|
+
})(StylesPosition || {});
|
|
552
559
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
553
560
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
554
561
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -604,6 +611,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
604
611
|
FontType2["EM"] = "EM";
|
|
605
612
|
return FontType2;
|
|
606
613
|
})(FontType || {});
|
|
614
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
615
|
+
Position2["START"] = "START";
|
|
616
|
+
Position2["END"] = "END";
|
|
617
|
+
Position2["TOP"] = "TOP";
|
|
618
|
+
return Position2;
|
|
619
|
+
})(Position || {});
|
|
620
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
621
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
622
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
623
|
+
return AspectRatio2;
|
|
624
|
+
})(AspectRatio || {});
|
|
625
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
626
|
+
Resizing2["FILL"] = "FILL";
|
|
627
|
+
Resizing2["FIT"] = "FIT";
|
|
628
|
+
return Resizing2;
|
|
629
|
+
})(Resizing || {});
|
|
630
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
631
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
632
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
633
|
+
return Placement2;
|
|
634
|
+
})(Placement || {});
|
|
635
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
636
|
+
Type2["CONTAINED"] = "CONTAINED";
|
|
637
|
+
Type2["FRAMELESS"] = "FRAMELESS";
|
|
638
|
+
return Type2;
|
|
639
|
+
})(Type || {});
|
|
640
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
641
|
+
Alignment2["START"] = "START";
|
|
642
|
+
Alignment2["CENTER"] = "CENTER";
|
|
643
|
+
Alignment2["END"] = "END";
|
|
644
|
+
return Alignment2;
|
|
645
|
+
})(Alignment || {});
|
|
646
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
647
|
+
Layout2["STACKED"] = "STACKED";
|
|
648
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
649
|
+
return Layout2;
|
|
650
|
+
})(Layout || {});
|
|
607
651
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
608
652
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
609
653
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -873,25 +917,32 @@ var bulkMachineTranslate4 = /* @__PURE__ */ (0, import_rest_modules2.createRESTM
|
|
|
873
917
|
0 && (module.exports = {
|
|
874
918
|
Alignment,
|
|
875
919
|
AppType,
|
|
920
|
+
AspectRatio,
|
|
876
921
|
BackgroundType,
|
|
922
|
+
ButtonDataType,
|
|
877
923
|
Crop,
|
|
878
924
|
DecorationType,
|
|
879
925
|
Direction,
|
|
926
|
+
DividerDataAlignment,
|
|
880
927
|
FontType,
|
|
881
928
|
Format,
|
|
882
929
|
GIFType,
|
|
883
930
|
InitialExpandedItems,
|
|
931
|
+
Layout,
|
|
884
932
|
LayoutType,
|
|
885
933
|
LineStyle,
|
|
886
934
|
MapType,
|
|
887
935
|
NodeType,
|
|
888
936
|
NullValue,
|
|
889
937
|
Orientation,
|
|
938
|
+
Placement,
|
|
890
939
|
PluginContainerDataAlignment,
|
|
891
940
|
PollLayoutDirection,
|
|
892
941
|
PollLayoutType,
|
|
893
942
|
Position,
|
|
943
|
+
Resizing,
|
|
894
944
|
Source,
|
|
945
|
+
StylesPosition,
|
|
895
946
|
SupportedLanguage,
|
|
896
947
|
Target,
|
|
897
948
|
TextAlignment,
|