@wix/auto_sdk_multilingual_machine-translation 1.0.30 → 1.0.31
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 +61 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +109 -3
- package/build/cjs/index.typings.js +61 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +109 -3
- package/build/cjs/meta.js +61 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +57 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +109 -3
- package/build/es/index.typings.mjs +57 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +109 -3
- package/build/es/meta.mjs +57 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +61 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +109 -3
- package/build/internal/cjs/index.typings.js +61 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +109 -3
- package/build/internal/cjs/meta.js +61 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +57 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +109 -3
- package/build/internal/es/index.typings.mjs +57 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +109 -3
- package/build/internal/es/meta.mjs +57 -0
- package/build/internal/es/meta.mjs.map +1 -1
- 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, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, CropWithLiterals, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, FontTypeWithLiterals, Format, FormatWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NotEnoughCreditsError, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, Rel, Resizing, ResizingWithLiterals, RibbonStyles, RichContent, SameLanguageArgumentsError, Settings, Source, SourceWithLiterals, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, SupportedLanguage, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TranslatableContent, TranslatableContentContentOneOf, Type, TypeWithLiterals, UnknownFormatError, VerticalAlignment, 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, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, CropWithLiterals, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, FontTypeWithLiterals, Format, FormatWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NotEnoughCreditsError, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RibbonStyles, RichContent, SameLanguageArgumentsError, Scaling, ScalingWithLiterals, Settings, Source, SourceWithLiterals, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, SupportedLanguage, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TranslatableContent, TranslatableContentContentOneOf, Type, TypeWithLiterals, UnknownFormatError, 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 machineTranslate$1(httpClient: HttpClient): MachineTranslateSignature;
|
|
6
6
|
interface MachineTranslateSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -32,6 +32,7 @@ __export(index_exports, {
|
|
|
32
32
|
FontType: () => FontType,
|
|
33
33
|
Format: () => Format,
|
|
34
34
|
GIFType: () => GIFType,
|
|
35
|
+
ImagePosition: () => ImagePosition,
|
|
35
36
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
36
37
|
Layout: () => Layout,
|
|
37
38
|
LayoutType: () => LayoutType,
|
|
@@ -46,6 +47,8 @@ __export(index_exports, {
|
|
|
46
47
|
PollLayoutType: () => PollLayoutType,
|
|
47
48
|
Position: () => Position,
|
|
48
49
|
Resizing: () => Resizing,
|
|
50
|
+
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
51
|
+
Scaling: () => Scaling,
|
|
49
52
|
Source: () => Source,
|
|
50
53
|
StylesPosition: () => StylesPosition,
|
|
51
54
|
SupportedLanguage: () => SupportedLanguage,
|
|
@@ -54,6 +57,7 @@ __export(index_exports, {
|
|
|
54
57
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
55
58
|
Type: () => Type,
|
|
56
59
|
VerticalAlignment: () => VerticalAlignment,
|
|
60
|
+
VerticalAlignmentAlignment: () => VerticalAlignmentAlignment,
|
|
57
61
|
ViewMode: () => ViewMode,
|
|
58
62
|
ViewRole: () => ViewRole,
|
|
59
63
|
VoteRole: () => VoteRole,
|
|
@@ -179,6 +183,12 @@ function machineTranslate(payload) {
|
|
|
179
183
|
},
|
|
180
184
|
{
|
|
181
185
|
path: "contentToTranslate.richContent.nodes.audioData.coverImage.duration"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
182
192
|
}
|
|
183
193
|
]
|
|
184
194
|
},
|
|
@@ -252,6 +262,12 @@ function machineTranslate(payload) {
|
|
|
252
262
|
},
|
|
253
263
|
{
|
|
254
264
|
path: "translatedContent.richContent.nodes.audioData.coverImage.duration"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
255
271
|
}
|
|
256
272
|
]
|
|
257
273
|
},
|
|
@@ -322,6 +338,12 @@ function bulkMachineTranslate(payload) {
|
|
|
322
338
|
},
|
|
323
339
|
{
|
|
324
340
|
path: "contentToTranslate.richContent.nodes.audioData.coverImage.duration"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
325
347
|
}
|
|
326
348
|
]
|
|
327
349
|
},
|
|
@@ -395,6 +417,12 @@ function bulkMachineTranslate(payload) {
|
|
|
395
417
|
},
|
|
396
418
|
{
|
|
397
419
|
path: "results.item.richContent.nodes.audioData.coverImage.duration"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
398
426
|
}
|
|
399
427
|
]
|
|
400
428
|
},
|
|
@@ -682,6 +710,35 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
|
|
682
710
|
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
683
711
|
return NullValue2;
|
|
684
712
|
})(NullValue || {});
|
|
713
|
+
var Scaling = /* @__PURE__ */ ((Scaling2) => {
|
|
714
|
+
Scaling2["AUTO"] = "AUTO";
|
|
715
|
+
Scaling2["CONTAIN"] = "CONTAIN";
|
|
716
|
+
Scaling2["COVER"] = "COVER";
|
|
717
|
+
return Scaling2;
|
|
718
|
+
})(Scaling || {});
|
|
719
|
+
var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
720
|
+
ImagePosition2["CENTER"] = "CENTER";
|
|
721
|
+
ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
722
|
+
ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
723
|
+
ImagePosition2["TOP"] = "TOP";
|
|
724
|
+
ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
|
|
725
|
+
ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
|
|
726
|
+
ImagePosition2["BOTTOM"] = "BOTTOM";
|
|
727
|
+
ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
728
|
+
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
729
|
+
return ImagePosition2;
|
|
730
|
+
})(ImagePosition || {});
|
|
731
|
+
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
732
|
+
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
733
|
+
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
734
|
+
VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
|
|
735
|
+
return VerticalAlignmentAlignment2;
|
|
736
|
+
})(VerticalAlignmentAlignment || {});
|
|
737
|
+
var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
738
|
+
ResponsivenessBehaviour2["STACK"] = "STACK";
|
|
739
|
+
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
740
|
+
return ResponsivenessBehaviour2;
|
|
741
|
+
})(ResponsivenessBehaviour || {});
|
|
685
742
|
var SupportedLanguage = /* @__PURE__ */ ((SupportedLanguage2) => {
|
|
686
743
|
SupportedLanguage2["UNDEFINED_SUPPORTED_LANGUAGE"] = "UNDEFINED_SUPPORTED_LANGUAGE";
|
|
687
744
|
SupportedLanguage2["AF"] = "AF";
|
|
@@ -934,6 +991,7 @@ var bulkMachineTranslate4 = /* @__PURE__ */ (0, import_rest_modules2.createRESTM
|
|
|
934
991
|
FontType,
|
|
935
992
|
Format,
|
|
936
993
|
GIFType,
|
|
994
|
+
ImagePosition,
|
|
937
995
|
InitialExpandedItems,
|
|
938
996
|
Layout,
|
|
939
997
|
LayoutType,
|
|
@@ -948,6 +1006,8 @@ var bulkMachineTranslate4 = /* @__PURE__ */ (0, import_rest_modules2.createRESTM
|
|
|
948
1006
|
PollLayoutType,
|
|
949
1007
|
Position,
|
|
950
1008
|
Resizing,
|
|
1009
|
+
ResponsivenessBehaviour,
|
|
1010
|
+
Scaling,
|
|
951
1011
|
Source,
|
|
952
1012
|
StylesPosition,
|
|
953
1013
|
SupportedLanguage,
|
|
@@ -956,6 +1016,7 @@ var bulkMachineTranslate4 = /* @__PURE__ */ (0, import_rest_modules2.createRESTM
|
|
|
956
1016
|
ThumbnailsAlignment,
|
|
957
1017
|
Type,
|
|
958
1018
|
VerticalAlignment,
|
|
1019
|
+
VerticalAlignmentAlignment,
|
|
959
1020
|
ViewMode,
|
|
960
1021
|
ViewRole,
|
|
961
1022
|
VoteRole,
|