@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 };
|
|
@@ -105,6 +105,12 @@ function machineTranslate(payload) {
|
|
|
105
105
|
{
|
|
106
106
|
path: "contentToTranslate.richContent.nodes.imageData.image.duration"
|
|
107
107
|
},
|
|
108
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.x" },
|
|
109
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.y" },
|
|
110
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.width" },
|
|
111
|
+
{
|
|
112
|
+
path: "contentToTranslate.richContent.nodes.imageData.crop.height"
|
|
113
|
+
},
|
|
108
114
|
{
|
|
109
115
|
path: "contentToTranslate.richContent.nodes.mapData.mapSettings.lat"
|
|
110
116
|
},
|
|
@@ -138,9 +144,27 @@ function machineTranslate(payload) {
|
|
|
138
144
|
{
|
|
139
145
|
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
140
146
|
},
|
|
147
|
+
{
|
|
148
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
155
|
+
},
|
|
141
156
|
{
|
|
142
157
|
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
143
158
|
},
|
|
159
|
+
{
|
|
160
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
167
|
+
},
|
|
144
168
|
{
|
|
145
169
|
path: "contentToTranslate.richContent.nodes.layoutData.background.gradient.centerX"
|
|
146
170
|
},
|
|
@@ -174,6 +198,15 @@ function machineTranslate(payload) {
|
|
|
174
198
|
{
|
|
175
199
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
176
200
|
},
|
|
201
|
+
{
|
|
202
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
209
|
+
},
|
|
177
210
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
178
211
|
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
179
212
|
{
|
|
@@ -240,6 +273,14 @@ function machineTranslate(payload) {
|
|
|
240
273
|
{
|
|
241
274
|
path: "translatedContent.richContent.nodes.imageData.image.duration"
|
|
242
275
|
},
|
|
276
|
+
{ path: "translatedContent.richContent.nodes.imageData.crop.x" },
|
|
277
|
+
{ path: "translatedContent.richContent.nodes.imageData.crop.y" },
|
|
278
|
+
{
|
|
279
|
+
path: "translatedContent.richContent.nodes.imageData.crop.width"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
path: "translatedContent.richContent.nodes.imageData.crop.height"
|
|
283
|
+
},
|
|
243
284
|
{
|
|
244
285
|
path: "translatedContent.richContent.nodes.mapData.mapSettings.lat"
|
|
245
286
|
},
|
|
@@ -273,9 +314,27 @@ function machineTranslate(payload) {
|
|
|
273
314
|
{
|
|
274
315
|
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
275
316
|
},
|
|
317
|
+
{
|
|
318
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
325
|
+
},
|
|
276
326
|
{
|
|
277
327
|
path: "translatedContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
278
328
|
},
|
|
329
|
+
{
|
|
330
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
337
|
+
},
|
|
279
338
|
{
|
|
280
339
|
path: "translatedContent.richContent.nodes.layoutData.background.gradient.centerX"
|
|
281
340
|
},
|
|
@@ -309,6 +368,15 @@ function machineTranslate(payload) {
|
|
|
309
368
|
{
|
|
310
369
|
path: "translatedContent.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
311
370
|
},
|
|
371
|
+
{
|
|
372
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
379
|
+
},
|
|
312
380
|
{ path: "translatedContent.richContent.nodes.tocData.fontSize" },
|
|
313
381
|
{
|
|
314
382
|
path: "translatedContent.richContent.nodes.tocData.itemSpacing"
|
|
@@ -374,6 +442,12 @@ function bulkMachineTranslate(payload) {
|
|
|
374
442
|
{
|
|
375
443
|
path: "contentToTranslate.richContent.nodes.imageData.image.duration"
|
|
376
444
|
},
|
|
445
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.x" },
|
|
446
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.y" },
|
|
447
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.width" },
|
|
448
|
+
{
|
|
449
|
+
path: "contentToTranslate.richContent.nodes.imageData.crop.height"
|
|
450
|
+
},
|
|
377
451
|
{
|
|
378
452
|
path: "contentToTranslate.richContent.nodes.mapData.mapSettings.lat"
|
|
379
453
|
},
|
|
@@ -407,9 +481,27 @@ function bulkMachineTranslate(payload) {
|
|
|
407
481
|
{
|
|
408
482
|
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
409
483
|
},
|
|
484
|
+
{
|
|
485
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
492
|
+
},
|
|
410
493
|
{
|
|
411
494
|
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
412
495
|
},
|
|
496
|
+
{
|
|
497
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
504
|
+
},
|
|
413
505
|
{
|
|
414
506
|
path: "contentToTranslate.richContent.nodes.layoutData.background.gradient.centerX"
|
|
415
507
|
},
|
|
@@ -443,6 +535,15 @@ function bulkMachineTranslate(payload) {
|
|
|
443
535
|
{
|
|
444
536
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
445
537
|
},
|
|
538
|
+
{
|
|
539
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
546
|
+
},
|
|
446
547
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
447
548
|
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
448
549
|
{
|
|
@@ -509,6 +610,10 @@ function bulkMachineTranslate(payload) {
|
|
|
509
610
|
{
|
|
510
611
|
path: "results.item.richContent.nodes.imageData.image.duration"
|
|
511
612
|
},
|
|
613
|
+
{ path: "results.item.richContent.nodes.imageData.crop.x" },
|
|
614
|
+
{ path: "results.item.richContent.nodes.imageData.crop.y" },
|
|
615
|
+
{ path: "results.item.richContent.nodes.imageData.crop.width" },
|
|
616
|
+
{ path: "results.item.richContent.nodes.imageData.crop.height" },
|
|
512
617
|
{
|
|
513
618
|
path: "results.item.richContent.nodes.mapData.mapSettings.lat"
|
|
514
619
|
},
|
|
@@ -542,9 +647,27 @@ function bulkMachineTranslate(payload) {
|
|
|
542
647
|
{
|
|
543
648
|
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
544
649
|
},
|
|
650
|
+
{
|
|
651
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
658
|
+
},
|
|
545
659
|
{
|
|
546
660
|
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
547
661
|
},
|
|
662
|
+
{
|
|
663
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
670
|
+
},
|
|
548
671
|
{
|
|
549
672
|
path: "results.item.richContent.nodes.layoutData.background.gradient.centerX"
|
|
550
673
|
},
|
|
@@ -578,6 +701,15 @@ function bulkMachineTranslate(payload) {
|
|
|
578
701
|
{
|
|
579
702
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
580
703
|
},
|
|
704
|
+
{
|
|
705
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
712
|
+
},
|
|
581
713
|
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
582
714
|
{ path: "results.item.richContent.nodes.tocData.itemSpacing" },
|
|
583
715
|
{
|
|
@@ -815,6 +947,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
815
947
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
816
948
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
817
949
|
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
950
|
+
DecorationType2["SKETCH"] = "SKETCH";
|
|
818
951
|
return DecorationType2;
|
|
819
952
|
})(DecorationType || {});
|
|
820
953
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
@@ -822,6 +955,15 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
822
955
|
FontType2["EM"] = "EM";
|
|
823
956
|
return FontType2;
|
|
824
957
|
})(FontType || {});
|
|
958
|
+
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
959
|
+
Variant2["UNDERLINE"] = "UNDERLINE";
|
|
960
|
+
Variant2["BOX"] = "BOX";
|
|
961
|
+
Variant2["CIRCLE"] = "CIRCLE";
|
|
962
|
+
Variant2["HIGHLIGHT"] = "HIGHLIGHT";
|
|
963
|
+
Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
964
|
+
Variant2["CROSSED_OFF"] = "CROSSED_OFF";
|
|
965
|
+
return Variant2;
|
|
966
|
+
})(Variant || {});
|
|
825
967
|
var Position = /* @__PURE__ */ ((Position2) => {
|
|
826
968
|
Position2["START"] = "START";
|
|
827
969
|
Position2["END"] = "END";
|
|
@@ -904,6 +1046,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
904
1046
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
905
1047
|
return ImagePosition2;
|
|
906
1048
|
})(ImagePosition || {});
|
|
1049
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1050
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1051
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1052
|
+
return LayoutDataBackgroundType2;
|
|
1053
|
+
})(LayoutDataBackgroundType || {});
|
|
907
1054
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
908
1055
|
Origin2["IMAGE"] = "IMAGE";
|
|
909
1056
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -914,11 +1061,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
914
1061
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
915
1062
|
return BannerPosition2;
|
|
916
1063
|
})(BannerPosition || {});
|
|
917
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
918
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
919
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
920
|
-
return LayoutDataBackgroundType2;
|
|
921
|
-
})(LayoutDataBackgroundType || {});
|
|
922
1064
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
923
1065
|
BackdropType2["COLOR"] = "COLOR";
|
|
924
1066
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -1276,6 +1418,7 @@ export {
|
|
|
1276
1418
|
TextAlignment,
|
|
1277
1419
|
ThumbnailsAlignment,
|
|
1278
1420
|
Type,
|
|
1421
|
+
Variant,
|
|
1279
1422
|
VerticalAlignment,
|
|
1280
1423
|
VerticalAlignmentAlignment,
|
|
1281
1424
|
ViewMode,
|