@wix/auto_sdk_multilingual_machine-translation 1.0.22 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -238,7 +238,7 @@ interface ButtonData {
238
238
  /** Styling for the button's container. */
239
239
  containerData?: PluginContainerData;
240
240
  /** The button type. */
241
- type?: TypeWithLiterals;
241
+ type?: ButtonDataTypeWithLiterals;
242
242
  /** Styling for the button. */
243
243
  styles?: Styles;
244
244
  /** The text to display on the button. */
@@ -346,14 +346,14 @@ interface Height {
346
346
  /** A custom height value in pixels. */
347
347
  custom?: string | null;
348
348
  }
349
- declare enum Type {
349
+ declare enum ButtonDataType {
350
350
  /** Regular link button */
351
351
  LINK = "LINK",
352
352
  /** Triggers custom action that is defined in plugin configuration by the consumer */
353
353
  ACTION = "ACTION"
354
354
  }
355
355
  /** @enumType */
356
- type TypeWithLiterals = Type | 'LINK' | 'ACTION';
356
+ type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
357
357
  interface Styles {
358
358
  /**
359
359
  * Deprecated: Use `borderWidth` and `borderRadius` instead.
@@ -486,7 +486,7 @@ interface DividerData {
486
486
  /** Divider width. */
487
487
  width?: WidthWithLiterals;
488
488
  /** Divider alignment. */
489
- alignment?: AlignmentWithLiterals;
489
+ alignment?: DividerDataAlignmentWithLiterals;
490
490
  }
491
491
  declare enum LineStyle {
492
492
  /** Single Line */
@@ -510,7 +510,7 @@ declare enum Width {
510
510
  }
511
511
  /** @enumType */
512
512
  type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
513
- declare enum Alignment {
513
+ declare enum DividerDataAlignment {
514
514
  /** Center alignment */
515
515
  CENTER = "CENTER",
516
516
  /** Left alignment */
@@ -519,7 +519,7 @@ declare enum Alignment {
519
519
  RIGHT = "RIGHT"
520
520
  }
521
521
  /** @enumType */
522
- type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
522
+ type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
523
523
  interface FileData {
524
524
  /** Styling for the file's container. */
525
525
  containerData?: PluginContainerData;
@@ -644,7 +644,7 @@ interface ItemDataOneOf {
644
644
  }
645
645
  interface GalleryOptions {
646
646
  /** Gallery layout. */
647
- layout?: Layout;
647
+ layout?: GalleryOptionsLayout;
648
648
  /** Styling for gallery items. */
649
649
  item?: ItemStyle;
650
650
  /** Styling for gallery thumbnail images. */
@@ -704,7 +704,7 @@ declare enum ThumbnailsAlignment {
704
704
  }
705
705
  /** @enumType */
706
706
  type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
707
- interface Layout {
707
+ interface GalleryOptionsLayout {
708
708
  /** Gallery layout type. */
709
709
  type?: LayoutTypeWithLiterals;
710
710
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
@@ -866,7 +866,7 @@ interface LinkPreviewData {
866
866
  /** Styling for the link preview. */
867
867
  styles?: LinkPreviewDataStyles;
868
868
  }
869
- declare enum Position {
869
+ declare enum StylesPosition {
870
870
  /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
871
871
  START = "START",
872
872
  /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
@@ -877,7 +877,7 @@ declare enum Position {
877
877
  HIDDEN = "HIDDEN"
878
878
  }
879
879
  /** @enumType */
880
- type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
880
+ type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
881
881
  interface LinkPreviewDataStyles {
882
882
  /**
883
883
  * Background color as a hexadecimal value.
@@ -909,7 +909,7 @@ interface LinkPreviewDataStyles {
909
909
  */
910
910
  borderColor?: string | null;
911
911
  /** Position of thumbnail. Defaults to `START`. */
912
- thumbnailPosition?: PositionWithLiterals;
912
+ thumbnailPosition?: StylesPositionWithLiterals;
913
913
  }
914
914
  interface MapData {
915
915
  /** Styling for the map's container. */
@@ -1263,6 +1263,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1263
1263
  url?: string | null;
1264
1264
  /** An image for the embedded content. */
1265
1265
  image?: Media;
1266
+ /** Whether to hide the image. */
1267
+ hideImage?: boolean | null;
1268
+ /** Whether to hide the title. */
1269
+ hideTitle?: boolean | null;
1270
+ /** Whether to hide the price. */
1271
+ hidePrice?: boolean | null;
1272
+ /** Whether to hide the description (Event and Booking). */
1273
+ hideDescription?: boolean | null;
1274
+ /** Whether to hide the date and time (Event). */
1275
+ hideDateTime?: boolean | null;
1276
+ /** Whether to hide the location (Event). */
1277
+ hideLocation?: boolean | null;
1278
+ /** Whether to hide the duration (Booking). */
1279
+ hideDuration?: boolean | null;
1280
+ /** Whether to hide the button. */
1281
+ hideButton?: boolean | null;
1282
+ /** Whether to hide the ribbon. */
1283
+ hideRibbon?: boolean | null;
1284
+ /** Button styling options. */
1285
+ buttonStyles?: ButtonStyles;
1286
+ /** Image styling options. */
1287
+ imageStyles?: ImageStyles;
1288
+ /** Ribbon styling options. */
1289
+ ribbonStyles?: RibbonStyles;
1290
+ /** Card styling options. */
1291
+ cardStyles?: CardStyles;
1266
1292
  }
1267
1293
  /** @oneof */
1268
1294
  interface AppEmbedDataAppDataOneOf {
@@ -1271,6 +1297,66 @@ interface AppEmbedDataAppDataOneOf {
1271
1297
  /** Data for embedded Wix Events content. */
1272
1298
  eventData?: EventData;
1273
1299
  }
1300
+ declare enum Position {
1301
+ /** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
1302
+ START = "START",
1303
+ /** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
1304
+ END = "END",
1305
+ /** Image positioned at the top */
1306
+ TOP = "TOP"
1307
+ }
1308
+ /** @enumType */
1309
+ type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
1310
+ declare enum AspectRatio {
1311
+ /** 1:1 aspect ratio */
1312
+ SQUARE = "SQUARE",
1313
+ /** 16:9 aspect ratio */
1314
+ RECTANGLE = "RECTANGLE"
1315
+ }
1316
+ /** @enumType */
1317
+ type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
1318
+ declare enum Resizing {
1319
+ /** Fill the container, may crop the image */
1320
+ FILL = "FILL",
1321
+ /** Fit the image within the container */
1322
+ FIT = "FIT"
1323
+ }
1324
+ /** @enumType */
1325
+ type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
1326
+ declare enum Placement {
1327
+ /** Ribbon placed on the image */
1328
+ IMAGE = "IMAGE",
1329
+ /** Ribbon placed on the product information */
1330
+ PRODUCT_INFO = "PRODUCT_INFO"
1331
+ }
1332
+ /** @enumType */
1333
+ type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
1334
+ declare enum Type {
1335
+ /** Card with visible border and background */
1336
+ CONTAINED = "CONTAINED",
1337
+ /** Card without visible border */
1338
+ FRAMELESS = "FRAMELESS"
1339
+ }
1340
+ /** @enumType */
1341
+ type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
1342
+ declare enum Alignment {
1343
+ /** Content aligned to start (left in LTR layouts, right in RTL layouts) */
1344
+ START = "START",
1345
+ /** Content centered */
1346
+ CENTER = "CENTER",
1347
+ /** Content aligned to end (right in LTR layouts, left in RTL layouts) */
1348
+ END = "END"
1349
+ }
1350
+ /** @enumType */
1351
+ type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
1352
+ declare enum Layout {
1353
+ /** Elements stacked vertically */
1354
+ STACKED = "STACKED",
1355
+ /** Elements arranged horizontally */
1356
+ SIDE_BY_SIDE = "SIDE_BY_SIDE"
1357
+ }
1358
+ /** @enumType */
1359
+ type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
1274
1360
  declare enum AppType {
1275
1361
  PRODUCT = "PRODUCT",
1276
1362
  EVENT = "EVENT",
@@ -1288,6 +1374,122 @@ interface EventData {
1288
1374
  /** Event location. */
1289
1375
  location?: string | null;
1290
1376
  }
1377
+ interface ButtonStyles {
1378
+ /** Text to display on the button. */
1379
+ buttonText?: string | null;
1380
+ /** Border width in pixels. */
1381
+ borderWidth?: number | null;
1382
+ /** Border radius in pixels. */
1383
+ borderRadius?: number | null;
1384
+ /**
1385
+ * Border color as a hexadecimal value.
1386
+ * @format COLOR_HEX
1387
+ */
1388
+ borderColor?: string | null;
1389
+ /**
1390
+ * Text color as a hexadecimal value.
1391
+ * @format COLOR_HEX
1392
+ */
1393
+ textColor?: string | null;
1394
+ /**
1395
+ * Background color as a hexadecimal value.
1396
+ * @format COLOR_HEX
1397
+ */
1398
+ backgroundColor?: string | null;
1399
+ /**
1400
+ * Border color as a hexadecimal value (hover state).
1401
+ * @format COLOR_HEX
1402
+ */
1403
+ borderColorHover?: string | null;
1404
+ /**
1405
+ * Text color as a hexadecimal value (hover state).
1406
+ * @format COLOR_HEX
1407
+ */
1408
+ textColorHover?: string | null;
1409
+ /**
1410
+ * Background color as a hexadecimal value (hover state).
1411
+ * @format COLOR_HEX
1412
+ */
1413
+ backgroundColorHover?: string | null;
1414
+ /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
1415
+ buttonSize?: string | null;
1416
+ }
1417
+ interface ImageStyles {
1418
+ /** Whether to hide the image. */
1419
+ hideImage?: boolean | null;
1420
+ /** Position of image. Defaults to `START`. */
1421
+ imagePosition?: PositionWithLiterals;
1422
+ /** Aspect ratio for the image. Defaults to `SQUARE`. */
1423
+ aspectRatio?: AspectRatioWithLiterals;
1424
+ /** How the image should be resized. Defaults to `FILL`. */
1425
+ resizing?: ResizingWithLiterals;
1426
+ /**
1427
+ * Image border color as a hexadecimal value.
1428
+ * @format COLOR_HEX
1429
+ */
1430
+ borderColor?: string | null;
1431
+ /** Image border width in pixels. */
1432
+ borderWidth?: number | null;
1433
+ /** Image border radius in pixels. */
1434
+ borderRadius?: number | null;
1435
+ }
1436
+ interface RibbonStyles {
1437
+ /** Text to display on the ribbon. */
1438
+ ribbonText?: string | null;
1439
+ /**
1440
+ * Ribbon background color as a hexadecimal value.
1441
+ * @format COLOR_HEX
1442
+ */
1443
+ backgroundColor?: string | null;
1444
+ /**
1445
+ * Ribbon text color as a hexadecimal value.
1446
+ * @format COLOR_HEX
1447
+ */
1448
+ textColor?: string | null;
1449
+ /**
1450
+ * Ribbon border color as a hexadecimal value.
1451
+ * @format COLOR_HEX
1452
+ */
1453
+ borderColor?: string | null;
1454
+ /** Ribbon border width in pixels. */
1455
+ borderWidth?: number | null;
1456
+ /** Ribbon border radius in pixels. */
1457
+ borderRadius?: number | null;
1458
+ /** Placement of the ribbon. Defaults to `IMAGE`. */
1459
+ ribbonPlacement?: PlacementWithLiterals;
1460
+ }
1461
+ interface CardStyles {
1462
+ /**
1463
+ * Card background color as a hexadecimal value.
1464
+ * @format COLOR_HEX
1465
+ */
1466
+ backgroundColor?: string | null;
1467
+ /**
1468
+ * Card border color as a hexadecimal value.
1469
+ * @format COLOR_HEX
1470
+ */
1471
+ borderColor?: string | null;
1472
+ /** Card border width in pixels. */
1473
+ borderWidth?: number | null;
1474
+ /** Card border radius in pixels. */
1475
+ borderRadius?: number | null;
1476
+ /** Card type. Defaults to `CONTAINED`. */
1477
+ type?: TypeWithLiterals;
1478
+ /** Content alignment. Defaults to `START`. */
1479
+ alignment?: AlignmentWithLiterals;
1480
+ /** Layout for title and price. Defaults to `STACKED`. */
1481
+ titlePriceLayout?: LayoutWithLiterals;
1482
+ /**
1483
+ * Title text color as a hexadecimal value.
1484
+ * @format COLOR_HEX
1485
+ */
1486
+ titleColor?: string | null;
1487
+ /**
1488
+ * Text color as a hexadecimal value.
1489
+ * @format COLOR_HEX
1490
+ */
1491
+ textColor?: string | null;
1492
+ }
1291
1493
  interface VideoData {
1292
1494
  /** Styling for the video's container. */
1293
1495
  containerData?: PluginContainerData;
@@ -1,7 +1,8 @@
1
- import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
1
+ import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
2
  import { SupportedLanguageWithLiterals, MachineTranslateOptions, MachineTranslateResponse, MachineTranslateApplicationErrors, BulkMachineTranslateOptions, BulkMachineTranslateResponse, BulkMachineTranslateApplicationErrors } from './index.typings.mjs';
3
- export { Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, CaptionData, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, Format, GIF, GIFData, GIFType, GalleryData, GalleryOptions, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NotEnoughCreditsError, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, Rel, RichContent, SameLanguageArgumentsError, Settings, Source, Spoiler, SpoilerData, Styles, StylesBorder, SupportedLanguage, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, TranslatableContent, TranslatableContentContentOneOf, Type, UnknownFormatError, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, Width, WidthType } from './index.typings.mjs';
3
+ export { Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, Format, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NotEnoughCreditsError, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, Placement, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, Rel, Resizing, RibbonStyles, RichContent, SameLanguageArgumentsError, Settings, Source, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, SupportedLanguage, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, TranslatableContent, TranslatableContentContentOneOf, Type, UnknownFormatError, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, Width, WidthType } from './index.typings.mjs';
4
4
 
5
+ type TranslatableContentNonNullablePaths = `plainTextContent` | `htmlContent` | `format`;
5
6
  declare function machineTranslate$1(httpClient: HttpClient): MachineTranslateSignature;
6
7
  interface MachineTranslateSignature {
7
8
  /**
@@ -27,8 +28,10 @@ interface MachineTranslateSignature {
27
28
  * To translate up to 1,000 `translatableContent` units at once, use [Bulk Machine Translate](/machine-translation/bulk-machine-translate).
28
29
  * @param - Language of the source text to translate.
29
30
  */
30
- (sourceLanguage: SupportedLanguageWithLiterals, options: MachineTranslateOptions): Promise<MachineTranslateResponse & {
31
- __applicationErrorsType?: MachineTranslateApplicationErrors | undefined;
31
+ (sourceLanguage: SupportedLanguageWithLiterals, options: NonNullablePaths<MachineTranslateOptions, `contentToTranslate` | `targetLanguage`>): Promise<NonNullablePaths<MachineTranslateResponse, {
32
+ [P in TranslatableContentNonNullablePaths]: `translatedContent.${P}`;
33
+ }[TranslatableContentNonNullablePaths]> & {
34
+ __applicationErrorsType?: MachineTranslateApplicationErrors;
32
35
  }>;
33
36
  }
34
37
  declare function bulkMachineTranslate$1(httpClient: HttpClient): BulkMachineTranslateSignature;
@@ -58,8 +61,10 @@ interface BulkMachineTranslateSignature {
58
61
  * To translate a single unit of `translatableContent`, use [Machine Translate](/machine-translation/machine-translate).
59
62
  * @param - Language of the source text to translate.
60
63
  */
61
- (sourceLanguage: SupportedLanguageWithLiterals, options?: BulkMachineTranslateOptions | undefined): Promise<BulkMachineTranslateResponse & {
62
- __applicationErrorsType?: BulkMachineTranslateApplicationErrors | undefined;
64
+ (sourceLanguage: SupportedLanguageWithLiterals, options?: NonNullablePaths<BulkMachineTranslateOptions, `targetLanguage`>): Promise<NonNullablePaths<BulkMachineTranslateResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
65
+ [P in TranslatableContentNonNullablePaths]: `results.${number}.item.${P}`;
66
+ }[TranslatableContentNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
67
+ __applicationErrorsType?: BulkMachineTranslateApplicationErrors;
63
68
  }>;
64
69
  }
65
70
 
@@ -400,11 +400,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
400
400
  PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
401
401
  return PluginContainerDataAlignment2;
402
402
  })(PluginContainerDataAlignment || {});
403
- var Type = /* @__PURE__ */ ((Type2) => {
404
- Type2["LINK"] = "LINK";
405
- Type2["ACTION"] = "ACTION";
406
- return Type2;
407
- })(Type || {});
403
+ var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
404
+ ButtonDataType2["LINK"] = "LINK";
405
+ ButtonDataType2["ACTION"] = "ACTION";
406
+ return ButtonDataType2;
407
+ })(ButtonDataType || {});
408
408
  var Target = /* @__PURE__ */ ((Target2) => {
409
409
  Target2["SELF"] = "SELF";
410
410
  Target2["BLANK"] = "BLANK";
@@ -433,12 +433,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
433
433
  Width2["SMALL"] = "SMALL";
434
434
  return Width2;
435
435
  })(Width || {});
436
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
437
- Alignment2["CENTER"] = "CENTER";
438
- Alignment2["LEFT"] = "LEFT";
439
- Alignment2["RIGHT"] = "RIGHT";
440
- return Alignment2;
441
- })(Alignment || {});
436
+ var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
437
+ DividerDataAlignment2["CENTER"] = "CENTER";
438
+ DividerDataAlignment2["LEFT"] = "LEFT";
439
+ DividerDataAlignment2["RIGHT"] = "RIGHT";
440
+ return DividerDataAlignment2;
441
+ })(DividerDataAlignment || {});
442
442
  var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
443
443
  ViewMode2["NONE"] = "NONE";
444
444
  ViewMode2["FULL"] = "FULL";
@@ -486,13 +486,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
486
486
  Source2["ADSENSE"] = "ADSENSE";
487
487
  return Source2;
488
488
  })(Source || {});
489
- var Position = /* @__PURE__ */ ((Position2) => {
490
- Position2["START"] = "START";
491
- Position2["END"] = "END";
492
- Position2["TOP"] = "TOP";
493
- Position2["HIDDEN"] = "HIDDEN";
494
- return Position2;
495
- })(Position || {});
489
+ var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
490
+ StylesPosition2["START"] = "START";
491
+ StylesPosition2["END"] = "END";
492
+ StylesPosition2["TOP"] = "TOP";
493
+ StylesPosition2["HIDDEN"] = "HIDDEN";
494
+ return StylesPosition2;
495
+ })(StylesPosition || {});
496
496
  var MapType = /* @__PURE__ */ ((MapType2) => {
497
497
  MapType2["ROADMAP"] = "ROADMAP";
498
498
  MapType2["SATELITE"] = "SATELITE";
@@ -548,6 +548,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
548
548
  FontType2["EM"] = "EM";
549
549
  return FontType2;
550
550
  })(FontType || {});
551
+ var Position = /* @__PURE__ */ ((Position2) => {
552
+ Position2["START"] = "START";
553
+ Position2["END"] = "END";
554
+ Position2["TOP"] = "TOP";
555
+ return Position2;
556
+ })(Position || {});
557
+ var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
558
+ AspectRatio2["SQUARE"] = "SQUARE";
559
+ AspectRatio2["RECTANGLE"] = "RECTANGLE";
560
+ return AspectRatio2;
561
+ })(AspectRatio || {});
562
+ var Resizing = /* @__PURE__ */ ((Resizing2) => {
563
+ Resizing2["FILL"] = "FILL";
564
+ Resizing2["FIT"] = "FIT";
565
+ return Resizing2;
566
+ })(Resizing || {});
567
+ var Placement = /* @__PURE__ */ ((Placement2) => {
568
+ Placement2["IMAGE"] = "IMAGE";
569
+ Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
570
+ return Placement2;
571
+ })(Placement || {});
572
+ var Type = /* @__PURE__ */ ((Type2) => {
573
+ Type2["CONTAINED"] = "CONTAINED";
574
+ Type2["FRAMELESS"] = "FRAMELESS";
575
+ return Type2;
576
+ })(Type || {});
577
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
578
+ Alignment2["START"] = "START";
579
+ Alignment2["CENTER"] = "CENTER";
580
+ Alignment2["END"] = "END";
581
+ return Alignment2;
582
+ })(Alignment || {});
583
+ var Layout = /* @__PURE__ */ ((Layout2) => {
584
+ Layout2["STACKED"] = "STACKED";
585
+ Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
586
+ return Layout2;
587
+ })(Layout || {});
551
588
  var AppType = /* @__PURE__ */ ((AppType2) => {
552
589
  AppType2["PRODUCT"] = "PRODUCT";
553
590
  AppType2["EVENT"] = "EVENT";
@@ -816,25 +853,32 @@ var bulkMachineTranslate4 = /* @__PURE__ */ createRESTModule(bulkMachineTranslat
816
853
  export {
817
854
  Alignment,
818
855
  AppType,
856
+ AspectRatio,
819
857
  BackgroundType,
858
+ ButtonDataType,
820
859
  Crop,
821
860
  DecorationType,
822
861
  Direction,
862
+ DividerDataAlignment,
823
863
  FontType,
824
864
  Format,
825
865
  GIFType,
826
866
  InitialExpandedItems,
867
+ Layout,
827
868
  LayoutType,
828
869
  LineStyle,
829
870
  MapType,
830
871
  NodeType,
831
872
  NullValue,
832
873
  Orientation,
874
+ Placement,
833
875
  PluginContainerDataAlignment,
834
876
  PollLayoutDirection,
835
877
  PollLayoutType,
836
878
  Position,
879
+ Resizing,
837
880
  Source,
881
+ StylesPosition,
838
882
  SupportedLanguage,
839
883
  Target,
840
884
  TextAlignment,