@wix/auto_sdk_multilingual_machine-translation 1.0.18 → 1.0.19
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 +2 -2
- package/build/cjs/index.js +0 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -13
- package/build/cjs/{multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.d.ts → multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.d.ts} +2 -12
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +0 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -13
- package/build/es/{multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.d.mts → multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.d.mts} +2 -12
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +0 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +3 -13
- package/build/internal/cjs/{multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.d.ts → multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.d.ts} +2 -12
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +0 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +3 -13
- package/build/internal/es/{multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.d.mts → multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.d.mts} +2 -12
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { be as MachineTranslateRequest$1, a as MachineTranslateResponse$1, bj as BulkMachineTranslateRequest$1, b as BulkMachineTranslateResponse$1 } from './multilingual-machine-v3-translatable-content-machine-translation.universal-
|
|
1
|
+
import { be as MachineTranslateRequest$1, a as MachineTranslateResponse$1, bj as BulkMachineTranslateRequest$1, b as BulkMachineTranslateResponse$1 } from './multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A translatable content is a unit of content to translate.
|
|
@@ -1153,10 +1153,6 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1153
1153
|
spoilerData?: SpoilerData;
|
|
1154
1154
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1155
1155
|
strikethroughData?: boolean | null;
|
|
1156
|
-
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1157
|
-
superscriptData?: boolean | null;
|
|
1158
|
-
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1159
|
-
subscriptData?: boolean | null;
|
|
1160
1156
|
/** The type of decoration to apply. */
|
|
1161
1157
|
type?: DecorationTypeWithLiterals;
|
|
1162
1158
|
}
|
|
@@ -1182,10 +1178,6 @@ interface DecorationDataOneOf {
|
|
|
1182
1178
|
spoilerData?: SpoilerData;
|
|
1183
1179
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1184
1180
|
strikethroughData?: boolean | null;
|
|
1185
|
-
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1186
|
-
superscriptData?: boolean | null;
|
|
1187
|
-
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1188
|
-
subscriptData?: boolean | null;
|
|
1189
1181
|
}
|
|
1190
1182
|
declare enum DecorationType {
|
|
1191
1183
|
BOLD = "BOLD",
|
|
@@ -1198,12 +1190,10 @@ declare enum DecorationType {
|
|
|
1198
1190
|
COLOR = "COLOR",
|
|
1199
1191
|
FONT_SIZE = "FONT_SIZE",
|
|
1200
1192
|
EXTERNAL = "EXTERNAL",
|
|
1201
|
-
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1202
|
-
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1203
|
-
SUBSCRIPT = "SUBSCRIPT"
|
|
1193
|
+
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1204
1194
|
}
|
|
1205
1195
|
/** @enumType */
|
|
1206
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH'
|
|
1196
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
|
1207
1197
|
interface AnchorData {
|
|
1208
1198
|
/** The target node's ID. */
|
|
1209
1199
|
anchor?: string;
|
|
@@ -1151,10 +1151,6 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1151
1151
|
spoilerData?: SpoilerData;
|
|
1152
1152
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1153
1153
|
strikethroughData?: boolean | null;
|
|
1154
|
-
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1155
|
-
superscriptData?: boolean | null;
|
|
1156
|
-
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1157
|
-
subscriptData?: boolean | null;
|
|
1158
1154
|
/** The type of decoration to apply. */
|
|
1159
1155
|
type?: DecorationTypeWithLiterals;
|
|
1160
1156
|
}
|
|
@@ -1180,10 +1176,6 @@ interface DecorationDataOneOf {
|
|
|
1180
1176
|
spoilerData?: SpoilerData;
|
|
1181
1177
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1182
1178
|
strikethroughData?: boolean | null;
|
|
1183
|
-
/** Data for a superscript decoration. Defaults to `true`. */
|
|
1184
|
-
superscriptData?: boolean | null;
|
|
1185
|
-
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1186
|
-
subscriptData?: boolean | null;
|
|
1187
1179
|
}
|
|
1188
1180
|
declare enum DecorationType {
|
|
1189
1181
|
BOLD = "BOLD",
|
|
@@ -1196,12 +1188,10 @@ declare enum DecorationType {
|
|
|
1196
1188
|
COLOR = "COLOR",
|
|
1197
1189
|
FONT_SIZE = "FONT_SIZE",
|
|
1198
1190
|
EXTERNAL = "EXTERNAL",
|
|
1199
|
-
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1200
|
-
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1201
|
-
SUBSCRIPT = "SUBSCRIPT"
|
|
1191
|
+
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1202
1192
|
}
|
|
1203
1193
|
/** @enumType */
|
|
1204
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH'
|
|
1194
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
|
1205
1195
|
interface AnchorData {
|
|
1206
1196
|
/** The target node's ID. */
|
|
1207
1197
|
anchor?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { S as SupportedLanguageWithLiterals, M as MachineTranslateOptions, a as MachineTranslateResponse, B as BulkMachineTranslateOptions, b as BulkMachineTranslateResponse } from './multilingual-machine-v3-translatable-content-machine-translation.universal-
|
|
3
|
-
export { A as Alignment, aM as AnchorData, aS as AppEmbedData, aT as AppEmbedDataAppDataOneOf, q as AppType, bm as ApplicationError, b5 as AudioData, aC as Background, aD as BackgroundBackgroundOneOf, o as BackgroundType, b8 as BlockquoteData, aU as BookingData, H as Border, b3 as BorderColors, bn as BulkActionMetadata, bj as BulkMachineTranslateRequest, bk as BulkTranslateResult, b7 as BulletedListData, E as ButtonData, b9 as CaptionData, b2 as CellStyle, a1 as CodeBlockData, a_ as CollapsibleListData, aN as ColorData, J as Colors, C as Crop, aK as Decoration, aL as DecorationDataOneOf, D as DecorationType, aI as Design, b0 as Dimensions, r as Direction, a3 as DividerData, bc as DocumentStyle, aY as EmbedData, aV as EventData, a4 as FileData, a5 as FileSource, a6 as FileSourceDataOneOf, aQ as FontSizeData, p as FontType, F as Format, aj as GIF, ai as GIFData, G as GIFType, a8 as GalleryData, ae as GalleryOptions, aB as Gradient, al as HTMLData, am as HTMLDataDataOneOf, ak as HeadingData, Y as Height, aa as Image, an as ImageData, ap as ImageDataStyles, I as InitialExpandedItems, ac as Item, ad as ItemDataOneOf, bl as ItemMetadata, ag as ItemStyle, af as Layout, ba as LayoutCellData, f as LayoutType, L as LineStyle, _ as Link, aO as LinkData, $ as LinkDataOneOf, aq as LinkPreviewData, ar as LinkPreviewDataStyles, b4 as ListValue, be as MachineTranslateRequest, as as MapData, at as MapSettings, j as MapType, a9 as Media, aP as MentionData, bb as Metadata, x as Node, y as NodeDataOneOf, z as NodeStyle, N as NodeType, bf as NotEnoughCreditsError, t as NullValue, aZ as Oembed, ax as Option, aF as OptionDesign, aA as OptionLayout, b6 as OrderedListData, O as Orientation, a7 as PDFSettings, au as ParagraphData, aw as Permissions, aX as PlaybackOptions, K as PluginContainerData, P as PluginContainerDataAlignment, Q as PluginContainerDataWidth, U as PluginContainerDataWidthDataOneOf, aG as Poll, av as PollData, aH as PollDataLayout, aE as PollDesign, az as PollLayout, n as PollLayoutDirection, m as PollLayoutType, i as Position, a0 as Rel, R as RichContent, bi as SameLanguageArgumentsError, ay as Settings, h as Source, X as Spoiler, aR as SpoilerData, Z as Styles, ao as StylesBorder, u as SupportedLanguage, b1 as TableCellData, a$ as TableData, c as Target, d as TextAlignment, aJ as TextData, bd as TextNodeStyle, a2 as TextStyle, bg as TextTooLongError, ah as Thumbnails, g as ThumbnailsAlignment, v as TranslatableContent, w as TranslatableContentContentOneOf, T as Type, bh as UnknownFormatError, s as VerticalAlignment, ab as Video, aW as VideoData, V as ViewMode, k as ViewRole, l as VoteRole, e as Width, W as WidthType } from './multilingual-machine-v3-translatable-content-machine-translation.universal-
|
|
2
|
+
import { S as SupportedLanguageWithLiterals, M as MachineTranslateOptions, a as MachineTranslateResponse, B as BulkMachineTranslateOptions, b as BulkMachineTranslateResponse } from './multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.mjs';
|
|
3
|
+
export { A as Alignment, aM as AnchorData, aS as AppEmbedData, aT as AppEmbedDataAppDataOneOf, q as AppType, bm as ApplicationError, b5 as AudioData, aC as Background, aD as BackgroundBackgroundOneOf, o as BackgroundType, b8 as BlockquoteData, aU as BookingData, H as Border, b3 as BorderColors, bn as BulkActionMetadata, bj as BulkMachineTranslateRequest, bk as BulkTranslateResult, b7 as BulletedListData, E as ButtonData, b9 as CaptionData, b2 as CellStyle, a1 as CodeBlockData, a_ as CollapsibleListData, aN as ColorData, J as Colors, C as Crop, aK as Decoration, aL as DecorationDataOneOf, D as DecorationType, aI as Design, b0 as Dimensions, r as Direction, a3 as DividerData, bc as DocumentStyle, aY as EmbedData, aV as EventData, a4 as FileData, a5 as FileSource, a6 as FileSourceDataOneOf, aQ as FontSizeData, p as FontType, F as Format, aj as GIF, ai as GIFData, G as GIFType, a8 as GalleryData, ae as GalleryOptions, aB as Gradient, al as HTMLData, am as HTMLDataDataOneOf, ak as HeadingData, Y as Height, aa as Image, an as ImageData, ap as ImageDataStyles, I as InitialExpandedItems, ac as Item, ad as ItemDataOneOf, bl as ItemMetadata, ag as ItemStyle, af as Layout, ba as LayoutCellData, f as LayoutType, L as LineStyle, _ as Link, aO as LinkData, $ as LinkDataOneOf, aq as LinkPreviewData, ar as LinkPreviewDataStyles, b4 as ListValue, be as MachineTranslateRequest, as as MapData, at as MapSettings, j as MapType, a9 as Media, aP as MentionData, bb as Metadata, x as Node, y as NodeDataOneOf, z as NodeStyle, N as NodeType, bf as NotEnoughCreditsError, t as NullValue, aZ as Oembed, ax as Option, aF as OptionDesign, aA as OptionLayout, b6 as OrderedListData, O as Orientation, a7 as PDFSettings, au as ParagraphData, aw as Permissions, aX as PlaybackOptions, K as PluginContainerData, P as PluginContainerDataAlignment, Q as PluginContainerDataWidth, U as PluginContainerDataWidthDataOneOf, aG as Poll, av as PollData, aH as PollDataLayout, aE as PollDesign, az as PollLayout, n as PollLayoutDirection, m as PollLayoutType, i as Position, a0 as Rel, R as RichContent, bi as SameLanguageArgumentsError, ay as Settings, h as Source, X as Spoiler, aR as SpoilerData, Z as Styles, ao as StylesBorder, u as SupportedLanguage, b1 as TableCellData, a$ as TableData, c as Target, d as TextAlignment, aJ as TextData, bd as TextNodeStyle, a2 as TextStyle, bg as TextTooLongError, ah as Thumbnails, g as ThumbnailsAlignment, v as TranslatableContent, w as TranslatableContentContentOneOf, T as Type, bh as UnknownFormatError, s as VerticalAlignment, ab as Video, aW as VideoData, V as ViewMode, k as ViewRole, l as VoteRole, e as Width, W as WidthType } from './multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.mjs';
|
|
4
4
|
|
|
5
5
|
declare function machineTranslate$1(httpClient: HttpClient): MachineTranslateSignature;
|
|
6
6
|
interface MachineTranslateSignature {
|
|
@@ -539,8 +539,6 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
539
539
|
DecorationType2["FONT_SIZE"] = "FONT_SIZE";
|
|
540
540
|
DecorationType2["EXTERNAL"] = "EXTERNAL";
|
|
541
541
|
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
542
|
-
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
543
|
-
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
544
542
|
return DecorationType2;
|
|
545
543
|
})(DecorationType || {});
|
|
546
544
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|