@wix/auto_sdk_multilingual_machine-translation 1.0.50 → 1.0.52
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 +149 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +87 -35
- package/build/cjs/index.typings.js +149 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +87 -35
- package/build/cjs/meta.js +149 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +148 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +87 -35
- package/build/es/index.typings.mjs +148 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +87 -35
- package/build/es/meta.mjs +148 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +149 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +87 -35
- package/build/internal/cjs/index.typings.js +149 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +87 -35
- package/build/internal/cjs/meta.js +149 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +148 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +87 -35
- package/build/internal/es/index.typings.mjs +148 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +87 -35
- package/build/internal/es/meta.mjs +148 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -944,6 +944,8 @@ interface ImageData {
|
|
|
944
944
|
decorative?: boolean | null;
|
|
945
945
|
/** Styling for the image. */
|
|
946
946
|
styles?: ImageDataStyles;
|
|
947
|
+
/** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
|
|
948
|
+
crop?: ImageDataCrop;
|
|
947
949
|
}
|
|
948
950
|
interface StylesBorder {
|
|
949
951
|
/** Border width in pixels. */
|
|
@@ -960,6 +962,16 @@ interface ImageDataStyles {
|
|
|
960
962
|
/** Border attributes. */
|
|
961
963
|
border?: StylesBorder;
|
|
962
964
|
}
|
|
965
|
+
interface ImageDataCrop {
|
|
966
|
+
/** Left edge of the crop, as a fraction (0-1) of the original image width. */
|
|
967
|
+
x?: number | null;
|
|
968
|
+
/** Top edge of the crop, as a fraction (0-1) of the original image height. */
|
|
969
|
+
y?: number | null;
|
|
970
|
+
/** Visible width of the crop, as a fraction (0-1) of the original image width. */
|
|
971
|
+
width?: number | null;
|
|
972
|
+
/** Visible height of the crop, as a fraction (0-1) of the original image height. */
|
|
973
|
+
height?: number | null;
|
|
974
|
+
}
|
|
963
975
|
interface LinkPreviewData {
|
|
964
976
|
/** Styling for the link preview's container. */
|
|
965
977
|
containerData?: PluginContainerData;
|
|
@@ -1270,6 +1282,8 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1270
1282
|
subscriptData?: boolean | null;
|
|
1271
1283
|
/** Data for a font family decoration. */
|
|
1272
1284
|
fontFamilyData?: FontFamilyData;
|
|
1285
|
+
/** Data for a hand-drawn sketch annotation decoration. */
|
|
1286
|
+
sketchData?: SketchData;
|
|
1273
1287
|
/** The type of decoration to apply. */
|
|
1274
1288
|
type?: DecorationTypeWithLiterals;
|
|
1275
1289
|
}
|
|
@@ -1301,6 +1315,8 @@ interface DecorationDataOneOf {
|
|
|
1301
1315
|
subscriptData?: boolean | null;
|
|
1302
1316
|
/** Data for a font family decoration. */
|
|
1303
1317
|
fontFamilyData?: FontFamilyData;
|
|
1318
|
+
/** Data for a hand-drawn sketch annotation decoration. */
|
|
1319
|
+
sketchData?: SketchData;
|
|
1304
1320
|
}
|
|
1305
1321
|
declare enum DecorationType {
|
|
1306
1322
|
BOLD = "BOLD",
|
|
@@ -1316,10 +1332,11 @@ declare enum DecorationType {
|
|
|
1316
1332
|
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1317
1333
|
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1318
1334
|
SUBSCRIPT = "SUBSCRIPT",
|
|
1319
|
-
FONT_FAMILY = "FONT_FAMILY"
|
|
1335
|
+
FONT_FAMILY = "FONT_FAMILY",
|
|
1336
|
+
SKETCH = "SKETCH"
|
|
1320
1337
|
}
|
|
1321
1338
|
/** @enumType */
|
|
1322
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
|
|
1339
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY' | 'SKETCH';
|
|
1323
1340
|
interface AnchorData {
|
|
1324
1341
|
/** The target node's ID. */
|
|
1325
1342
|
anchor?: string;
|
|
@@ -1362,6 +1379,27 @@ interface FontFamilyData {
|
|
|
1362
1379
|
/** @maxLength 1000 */
|
|
1363
1380
|
value?: string | null;
|
|
1364
1381
|
}
|
|
1382
|
+
interface SketchData {
|
|
1383
|
+
/** The sketch annotation variant to draw over the text. */
|
|
1384
|
+
variant?: VariantWithLiterals;
|
|
1385
|
+
/**
|
|
1386
|
+
* Annotation color. Defaults to the theme action color.
|
|
1387
|
+
* @maxLength 19
|
|
1388
|
+
*/
|
|
1389
|
+
color?: string | null;
|
|
1390
|
+
/** Whether the annotation animates on first paint. Defaults to `true`. */
|
|
1391
|
+
animate?: boolean | null;
|
|
1392
|
+
}
|
|
1393
|
+
declare enum Variant {
|
|
1394
|
+
UNDERLINE = "UNDERLINE",
|
|
1395
|
+
BOX = "BOX",
|
|
1396
|
+
CIRCLE = "CIRCLE",
|
|
1397
|
+
HIGHLIGHT = "HIGHLIGHT",
|
|
1398
|
+
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1399
|
+
CROSSED_OFF = "CROSSED_OFF"
|
|
1400
|
+
}
|
|
1401
|
+
/** @enumType */
|
|
1402
|
+
type VariantWithLiterals = Variant | 'UNDERLINE' | 'BOX' | 'CIRCLE' | 'HIGHLIGHT' | 'STRIKETHROUGH' | 'CROSSED_OFF';
|
|
1365
1403
|
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1366
1404
|
/** Data for embedded Wix Bookings content. */
|
|
1367
1405
|
bookingData?: BookingData;
|
|
@@ -1971,6 +2009,27 @@ declare enum ImagePosition {
|
|
|
1971
2009
|
}
|
|
1972
2010
|
/** @enumType */
|
|
1973
2011
|
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2012
|
+
/** Background styling (color or gradient) */
|
|
2013
|
+
interface LayoutDataBackground {
|
|
2014
|
+
/** Background type. */
|
|
2015
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2016
|
+
/**
|
|
2017
|
+
* Background color as a hexadecimal value.
|
|
2018
|
+
* @maxLength 19
|
|
2019
|
+
*/
|
|
2020
|
+
color?: string | null;
|
|
2021
|
+
/** Gradient configuration. */
|
|
2022
|
+
gradient?: Gradient;
|
|
2023
|
+
}
|
|
2024
|
+
/** Background type */
|
|
2025
|
+
declare enum LayoutDataBackgroundType {
|
|
2026
|
+
/** Solid color background */
|
|
2027
|
+
COLOR = "COLOR",
|
|
2028
|
+
/** Gradient background */
|
|
2029
|
+
GRADIENT = "GRADIENT"
|
|
2030
|
+
}
|
|
2031
|
+
/** @enumType */
|
|
2032
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
1974
2033
|
declare enum Origin {
|
|
1975
2034
|
/** Banner originated from an image */
|
|
1976
2035
|
IMAGE = "IMAGE",
|
|
@@ -1987,15 +2046,6 @@ declare enum BannerPosition {
|
|
|
1987
2046
|
}
|
|
1988
2047
|
/** @enumType */
|
|
1989
2048
|
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
1990
|
-
/** Background type */
|
|
1991
|
-
declare enum LayoutDataBackgroundType {
|
|
1992
|
-
/** Solid color background */
|
|
1993
|
-
COLOR = "COLOR",
|
|
1994
|
-
/** Gradient background */
|
|
1995
|
-
GRADIENT = "GRADIENT"
|
|
1996
|
-
}
|
|
1997
|
-
/** @enumType */
|
|
1998
|
-
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
1999
2049
|
/** Backdrop type */
|
|
2000
2050
|
declare enum BackdropType {
|
|
2001
2051
|
/** Solid color backdrop */
|
|
@@ -2008,12 +2058,19 @@ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
|
2008
2058
|
interface LayoutDataBackgroundImage {
|
|
2009
2059
|
/** Background image. */
|
|
2010
2060
|
media?: Media;
|
|
2011
|
-
/**
|
|
2061
|
+
/**
|
|
2062
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
|
|
2063
|
+
* @deprecated
|
|
2064
|
+
*/
|
|
2012
2065
|
opacity?: number | null;
|
|
2013
2066
|
/** Background image scaling. */
|
|
2014
2067
|
scaling?: ImageScalingScalingWithLiterals;
|
|
2015
2068
|
/** Position of background. Defaults to `CENTER`. */
|
|
2016
2069
|
position?: ImagePositionWithLiterals;
|
|
2070
|
+
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
|
|
2071
|
+
blur?: number | null;
|
|
2072
|
+
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */
|
|
2073
|
+
overlay?: LayoutDataBackground;
|
|
2017
2074
|
}
|
|
2018
2075
|
declare enum VerticalAlignmentAlignment {
|
|
2019
2076
|
/** Top alignment */
|
|
@@ -2047,18 +2104,6 @@ interface Banner {
|
|
|
2047
2104
|
/** Position of the banner */
|
|
2048
2105
|
position?: BannerPositionWithLiterals;
|
|
2049
2106
|
}
|
|
2050
|
-
/** Background styling (color or gradient) */
|
|
2051
|
-
interface LayoutDataBackground {
|
|
2052
|
-
/** Background type. */
|
|
2053
|
-
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2054
|
-
/**
|
|
2055
|
-
* Background color as a hexadecimal value.
|
|
2056
|
-
* @maxLength 19
|
|
2057
|
-
*/
|
|
2058
|
-
color?: string | null;
|
|
2059
|
-
/** Gradient configuration. */
|
|
2060
|
-
gradient?: Gradient;
|
|
2061
|
-
}
|
|
2062
2107
|
/** Backdrop styling (color or gradient) */
|
|
2063
2108
|
interface Backdrop {
|
|
2064
2109
|
/** Backdrop type. */
|
|
@@ -2130,15 +2175,6 @@ declare enum ImagePositionPosition {
|
|
|
2130
2175
|
}
|
|
2131
2176
|
/** @enumType */
|
|
2132
2177
|
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2133
|
-
/** Background type */
|
|
2134
|
-
declare enum CardDataBackgroundType {
|
|
2135
|
-
/** Solid color background */
|
|
2136
|
-
COLOR = "COLOR",
|
|
2137
|
-
/** Gradient background */
|
|
2138
|
-
GRADIENT = "GRADIENT"
|
|
2139
|
-
}
|
|
2140
|
-
/** @enumType */
|
|
2141
|
-
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2142
2178
|
/** Background styling (color or gradient) */
|
|
2143
2179
|
interface CardDataBackground {
|
|
2144
2180
|
/** Background type. */
|
|
@@ -2151,15 +2187,31 @@ interface CardDataBackground {
|
|
|
2151
2187
|
/** Gradient configuration. */
|
|
2152
2188
|
gradient?: Gradient;
|
|
2153
2189
|
}
|
|
2190
|
+
/** Background type */
|
|
2191
|
+
declare enum CardDataBackgroundType {
|
|
2192
|
+
/** Solid color background */
|
|
2193
|
+
COLOR = "COLOR",
|
|
2194
|
+
/** Gradient background */
|
|
2195
|
+
GRADIENT = "GRADIENT"
|
|
2196
|
+
}
|
|
2197
|
+
/** @enumType */
|
|
2198
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2154
2199
|
interface BackgroundImage {
|
|
2155
2200
|
/** Background image. */
|
|
2156
2201
|
media?: Media;
|
|
2157
|
-
/**
|
|
2202
|
+
/**
|
|
2203
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
|
|
2204
|
+
* @deprecated
|
|
2205
|
+
*/
|
|
2158
2206
|
opacity?: number | null;
|
|
2159
2207
|
/** Background image scaling. */
|
|
2160
2208
|
scaling?: ScalingWithLiterals;
|
|
2161
2209
|
/** Position of background. Defaults to `CENTER`. */
|
|
2162
2210
|
position?: ImagePositionPositionWithLiterals;
|
|
2211
|
+
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */
|
|
2212
|
+
overlay?: CardDataBackground;
|
|
2213
|
+
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
|
|
2214
|
+
blur?: number | null;
|
|
2163
2215
|
}
|
|
2164
2216
|
interface TocData {
|
|
2165
2217
|
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
@@ -2858,4 +2910,4 @@ interface BulkMachineTranslateOptions {
|
|
|
2858
2910
|
contentToTranslate?: TranslatableContent[];
|
|
2859
2911
|
}
|
|
2860
2912
|
|
|
2861
|
-
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, Format, type FormatWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type MachineTranslateApplicationErrors, type MachineTranslateOptions, type MachineTranslateRequest, type MachineTranslateResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, type NotEnoughCreditsError, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RibbonStyles, type RichContent, type SameLanguageArgumentsError, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, SupportedLanguage, type SupportedLanguageWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type TextTooLongError, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, type TranslatableContent, type TranslatableContentContentOneOf, Type, type TypeWithLiterals, type UnknownFormatError, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkMachineTranslate, machineTranslate };
|
|
2913
|
+
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, Format, type FormatWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type MachineTranslateApplicationErrors, type MachineTranslateOptions, type MachineTranslateRequest, type MachineTranslateResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, type NotEnoughCreditsError, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RibbonStyles, type RichContent, type SameLanguageArgumentsError, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, SupportedLanguage, type SupportedLanguageWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type TextTooLongError, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, type TranslatableContent, type TranslatableContentContentOneOf, Type, type TypeWithLiterals, type UnknownFormatError, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkMachineTranslate, machineTranslate };
|
|
@@ -70,6 +70,7 @@ __export(index_typings_exports, {
|
|
|
70
70
|
TextAlignment: () => TextAlignment,
|
|
71
71
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
72
72
|
Type: () => Type,
|
|
73
|
+
Variant: () => Variant,
|
|
73
74
|
VerticalAlignment: () => VerticalAlignment,
|
|
74
75
|
VerticalAlignmentAlignment: () => VerticalAlignmentAlignment,
|
|
75
76
|
ViewMode: () => ViewMode,
|
|
@@ -186,6 +187,12 @@ function machineTranslate(payload) {
|
|
|
186
187
|
{
|
|
187
188
|
path: "contentToTranslate.richContent.nodes.imageData.image.duration"
|
|
188
189
|
},
|
|
190
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.x" },
|
|
191
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.y" },
|
|
192
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.width" },
|
|
193
|
+
{
|
|
194
|
+
path: "contentToTranslate.richContent.nodes.imageData.crop.height"
|
|
195
|
+
},
|
|
189
196
|
{
|
|
190
197
|
path: "contentToTranslate.richContent.nodes.mapData.mapSettings.lat"
|
|
191
198
|
},
|
|
@@ -219,9 +226,27 @@ function machineTranslate(payload) {
|
|
|
219
226
|
{
|
|
220
227
|
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
221
228
|
},
|
|
229
|
+
{
|
|
230
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
237
|
+
},
|
|
222
238
|
{
|
|
223
239
|
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
224
240
|
},
|
|
241
|
+
{
|
|
242
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
249
|
+
},
|
|
225
250
|
{
|
|
226
251
|
path: "contentToTranslate.richContent.nodes.layoutData.background.gradient.centerX"
|
|
227
252
|
},
|
|
@@ -255,6 +280,15 @@ function machineTranslate(payload) {
|
|
|
255
280
|
{
|
|
256
281
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
257
282
|
},
|
|
283
|
+
{
|
|
284
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
291
|
+
},
|
|
258
292
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
259
293
|
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
260
294
|
{
|
|
@@ -321,6 +355,14 @@ function machineTranslate(payload) {
|
|
|
321
355
|
{
|
|
322
356
|
path: "translatedContent.richContent.nodes.imageData.image.duration"
|
|
323
357
|
},
|
|
358
|
+
{ path: "translatedContent.richContent.nodes.imageData.crop.x" },
|
|
359
|
+
{ path: "translatedContent.richContent.nodes.imageData.crop.y" },
|
|
360
|
+
{
|
|
361
|
+
path: "translatedContent.richContent.nodes.imageData.crop.width"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
path: "translatedContent.richContent.nodes.imageData.crop.height"
|
|
365
|
+
},
|
|
324
366
|
{
|
|
325
367
|
path: "translatedContent.richContent.nodes.mapData.mapSettings.lat"
|
|
326
368
|
},
|
|
@@ -354,9 +396,27 @@ function machineTranslate(payload) {
|
|
|
354
396
|
{
|
|
355
397
|
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
356
398
|
},
|
|
399
|
+
{
|
|
400
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
407
|
+
},
|
|
357
408
|
{
|
|
358
409
|
path: "translatedContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
359
410
|
},
|
|
411
|
+
{
|
|
412
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
419
|
+
},
|
|
360
420
|
{
|
|
361
421
|
path: "translatedContent.richContent.nodes.layoutData.background.gradient.centerX"
|
|
362
422
|
},
|
|
@@ -390,6 +450,15 @@ function machineTranslate(payload) {
|
|
|
390
450
|
{
|
|
391
451
|
path: "translatedContent.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
392
452
|
},
|
|
453
|
+
{
|
|
454
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
461
|
+
},
|
|
393
462
|
{ path: "translatedContent.richContent.nodes.tocData.fontSize" },
|
|
394
463
|
{
|
|
395
464
|
path: "translatedContent.richContent.nodes.tocData.itemSpacing"
|
|
@@ -455,6 +524,12 @@ function bulkMachineTranslate(payload) {
|
|
|
455
524
|
{
|
|
456
525
|
path: "contentToTranslate.richContent.nodes.imageData.image.duration"
|
|
457
526
|
},
|
|
527
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.x" },
|
|
528
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.y" },
|
|
529
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.width" },
|
|
530
|
+
{
|
|
531
|
+
path: "contentToTranslate.richContent.nodes.imageData.crop.height"
|
|
532
|
+
},
|
|
458
533
|
{
|
|
459
534
|
path: "contentToTranslate.richContent.nodes.mapData.mapSettings.lat"
|
|
460
535
|
},
|
|
@@ -488,9 +563,27 @@ function bulkMachineTranslate(payload) {
|
|
|
488
563
|
{
|
|
489
564
|
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
490
565
|
},
|
|
566
|
+
{
|
|
567
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
574
|
+
},
|
|
491
575
|
{
|
|
492
576
|
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
493
577
|
},
|
|
578
|
+
{
|
|
579
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
586
|
+
},
|
|
494
587
|
{
|
|
495
588
|
path: "contentToTranslate.richContent.nodes.layoutData.background.gradient.centerX"
|
|
496
589
|
},
|
|
@@ -524,6 +617,15 @@ function bulkMachineTranslate(payload) {
|
|
|
524
617
|
{
|
|
525
618
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
526
619
|
},
|
|
620
|
+
{
|
|
621
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
628
|
+
},
|
|
527
629
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
528
630
|
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
529
631
|
{
|
|
@@ -590,6 +692,10 @@ function bulkMachineTranslate(payload) {
|
|
|
590
692
|
{
|
|
591
693
|
path: "results.item.richContent.nodes.imageData.image.duration"
|
|
592
694
|
},
|
|
695
|
+
{ path: "results.item.richContent.nodes.imageData.crop.x" },
|
|
696
|
+
{ path: "results.item.richContent.nodes.imageData.crop.y" },
|
|
697
|
+
{ path: "results.item.richContent.nodes.imageData.crop.width" },
|
|
698
|
+
{ path: "results.item.richContent.nodes.imageData.crop.height" },
|
|
593
699
|
{
|
|
594
700
|
path: "results.item.richContent.nodes.mapData.mapSettings.lat"
|
|
595
701
|
},
|
|
@@ -623,9 +729,27 @@ function bulkMachineTranslate(payload) {
|
|
|
623
729
|
{
|
|
624
730
|
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
625
731
|
},
|
|
732
|
+
{
|
|
733
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
740
|
+
},
|
|
626
741
|
{
|
|
627
742
|
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
628
743
|
},
|
|
744
|
+
{
|
|
745
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
752
|
+
},
|
|
629
753
|
{
|
|
630
754
|
path: "results.item.richContent.nodes.layoutData.background.gradient.centerX"
|
|
631
755
|
},
|
|
@@ -659,6 +783,15 @@ function bulkMachineTranslate(payload) {
|
|
|
659
783
|
{
|
|
660
784
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
661
785
|
},
|
|
786
|
+
{
|
|
787
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
794
|
+
},
|
|
662
795
|
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
663
796
|
{ path: "results.item.richContent.nodes.tocData.itemSpacing" },
|
|
664
797
|
{
|
|
@@ -896,6 +1029,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
896
1029
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
897
1030
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
898
1031
|
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
1032
|
+
DecorationType2["SKETCH"] = "SKETCH";
|
|
899
1033
|
return DecorationType2;
|
|
900
1034
|
})(DecorationType || {});
|
|
901
1035
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
@@ -903,6 +1037,15 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
903
1037
|
FontType2["EM"] = "EM";
|
|
904
1038
|
return FontType2;
|
|
905
1039
|
})(FontType || {});
|
|
1040
|
+
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
1041
|
+
Variant2["UNDERLINE"] = "UNDERLINE";
|
|
1042
|
+
Variant2["BOX"] = "BOX";
|
|
1043
|
+
Variant2["CIRCLE"] = "CIRCLE";
|
|
1044
|
+
Variant2["HIGHLIGHT"] = "HIGHLIGHT";
|
|
1045
|
+
Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
1046
|
+
Variant2["CROSSED_OFF"] = "CROSSED_OFF";
|
|
1047
|
+
return Variant2;
|
|
1048
|
+
})(Variant || {});
|
|
906
1049
|
var Position = /* @__PURE__ */ ((Position2) => {
|
|
907
1050
|
Position2["START"] = "START";
|
|
908
1051
|
Position2["END"] = "END";
|
|
@@ -985,6 +1128,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
985
1128
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
986
1129
|
return ImagePosition2;
|
|
987
1130
|
})(ImagePosition || {});
|
|
1131
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1132
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1133
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1134
|
+
return LayoutDataBackgroundType2;
|
|
1135
|
+
})(LayoutDataBackgroundType || {});
|
|
988
1136
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
989
1137
|
Origin2["IMAGE"] = "IMAGE";
|
|
990
1138
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -995,11 +1143,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
995
1143
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
996
1144
|
return BannerPosition2;
|
|
997
1145
|
})(BannerPosition || {});
|
|
998
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
999
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1000
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1001
|
-
return LayoutDataBackgroundType2;
|
|
1002
|
-
})(LayoutDataBackgroundType || {});
|
|
1003
1146
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1004
1147
|
BackdropType2["COLOR"] = "COLOR";
|
|
1005
1148
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -1358,6 +1501,7 @@ async function bulkMachineTranslate2(sourceLanguage, options) {
|
|
|
1358
1501
|
TextAlignment,
|
|
1359
1502
|
ThumbnailsAlignment,
|
|
1360
1503
|
Type,
|
|
1504
|
+
Variant,
|
|
1361
1505
|
VerticalAlignment,
|
|
1362
1506
|
VerticalAlignmentAlignment,
|
|
1363
1507
|
ViewMode,
|