@wix/auto_sdk_multilingual_machine-translation 1.0.10 → 1.0.11

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.
Files changed (126) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.d.ts +6 -0
  11. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.js +41 -0
  12. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.js.map +1 -0
  13. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.d.ts +49 -0
  14. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.js +388 -0
  15. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.js.map +1 -0
  16. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.d.ts +14 -0
  17. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js +66 -0
  18. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js.map +1 -0
  19. package/build/{index.d.ts → cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.d.ts} +8 -11
  20. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.js +51 -0
  21. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.js.map +1 -0
  22. package/build/{meta.d.mts → cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.d.ts} +177 -151
  23. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.js +598 -0
  24. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.js.map +1 -0
  25. package/build/{multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.d.mts → cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.d.ts} +222 -144
  26. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js +750 -0
  27. package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.d.ts +6 -0
  39. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.js +6 -0
  40. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.js.map +1 -0
  41. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.d.ts +49 -0
  42. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.js +383 -0
  43. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.js.map +1 -0
  44. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.d.ts +14 -0
  45. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js +38 -0
  46. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js.map +1 -0
  47. package/build/{internal/index.d.ts → es/src/multilingual-machine-v3-translatable-content-machine-translation.public.d.ts} +8 -11
  48. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.public.js +14 -0
  49. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.public.js.map +1 -0
  50. package/build/{internal/meta.d.mts → es/src/multilingual-machine-v3-translatable-content-machine-translation.types.d.ts} +177 -151
  51. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.js +595 -0
  52. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.js.map +1 -0
  53. package/build/{internal/multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.d.mts → es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.d.ts} +222 -144
  54. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js +722 -0
  55. package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.d.ts +6 -0
  66. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.js +41 -0
  67. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.js.map +1 -0
  68. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.d.ts +49 -0
  69. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.js +388 -0
  70. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.js.map +1 -0
  71. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.d.ts +14 -0
  72. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js +66 -0
  73. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js.map +1 -0
  74. package/build/{index.d.mts → internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.d.ts} +8 -11
  75. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.js +51 -0
  76. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.js.map +1 -0
  77. package/build/internal/{meta.d.ts → cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.d.ts} +177 -151
  78. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.js +598 -0
  79. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.js.map +1 -0
  80. package/build/{multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.d.ts → internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.d.ts} +222 -144
  81. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js +750 -0
  82. package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.d.ts +6 -0
  93. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.js +6 -0
  94. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.js.map +1 -0
  95. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.d.ts +49 -0
  96. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.js +383 -0
  97. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.js.map +1 -0
  98. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.d.ts +14 -0
  99. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js +38 -0
  100. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js.map +1 -0
  101. package/build/internal/{index.d.mts → es/src/multilingual-machine-v3-translatable-content-machine-translation.public.d.ts} +8 -11
  102. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.public.js +14 -0
  103. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.public.js.map +1 -0
  104. package/build/{meta.d.ts → internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.d.ts} +177 -151
  105. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.js +595 -0
  106. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.js.map +1 -0
  107. package/build/internal/{multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.d.ts → es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.d.ts} +222 -144
  108. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js +722 -0
  109. package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js.map +1 -0
  110. package/package.json +11 -12
  111. package/build/index.js +0 -896
  112. package/build/index.js.map +0 -1
  113. package/build/index.mjs +0 -839
  114. package/build/index.mjs.map +0 -1
  115. package/build/internal/index.js +0 -896
  116. package/build/internal/index.js.map +0 -1
  117. package/build/internal/index.mjs +0 -839
  118. package/build/internal/index.mjs.map +0 -1
  119. package/build/internal/meta.js +0 -412
  120. package/build/internal/meta.js.map +0 -1
  121. package/build/internal/meta.mjs +0 -384
  122. package/build/internal/meta.mjs.map +0 -1
  123. package/build/meta.js +0 -412
  124. package/build/meta.js.map +0 -1
  125. package/build/meta.mjs +0 -384
  126. package/build/meta.mjs.map +0 -1
@@ -1,12 +1,10 @@
1
- import { bd as MachineTranslateRequest$1, a as MachineTranslateResponse$1, bi as BulkMachineTranslateRequest$1, b as BulkMachineTranslateResponse$1 } from './multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.js';
2
-
3
1
  /**
4
2
  * A translatable content is a unit of content to translate.
5
3
  *
6
4
  * Use [Machine Translate](/machine-translation/machine-translate) to translate a single unit of translatable content, or [Bulk Machine Translate](/machine-translation/bulk-machine-translate)
7
5
  * to translate many.
8
6
  */
9
- interface TranslatableContent extends TranslatableContentContentOneOf {
7
+ export interface TranslatableContent extends TranslatableContentContentOneOf {
10
8
  /**
11
9
  * Plain text.
12
10
  * @minLength 1
@@ -30,7 +28,7 @@ interface TranslatableContent extends TranslatableContentContentOneOf {
30
28
  format?: Format;
31
29
  }
32
30
  /** @oneof */
33
- interface TranslatableContentContentOneOf {
31
+ export interface TranslatableContentContentOneOf {
34
32
  /**
35
33
  * Plain text.
36
34
  * @minLength 1
@@ -46,7 +44,7 @@ interface TranslatableContentContentOneOf {
46
44
  /** Rich content. */
47
45
  richContent?: RichContent;
48
46
  }
49
- declare enum Format {
47
+ export declare enum Format {
50
48
  /** Unspecified format. */
51
49
  UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
52
50
  /** Plain text content. */
@@ -56,7 +54,7 @@ declare enum Format {
56
54
  /** Rich Content. */
57
55
  RICH = "RICH"
58
56
  }
59
- interface RichContent {
57
+ export interface RichContent {
60
58
  /** Node objects representing a rich content document. */
61
59
  nodes?: Node[];
62
60
  /** Object metadata. */
@@ -64,7 +62,7 @@ interface RichContent {
64
62
  /** Global styling for header, paragraph, block quote, and code block nodes in the object. */
65
63
  documentStyle?: DocumentStyle;
66
64
  }
67
- interface Node extends NodeDataOneOf {
65
+ export interface Node extends NodeDataOneOf {
68
66
  /** Data for a button node. */
69
67
  buttonData?: ButtonData;
70
68
  /** Data for a code block node. */
@@ -129,7 +127,7 @@ interface Node extends NodeDataOneOf {
129
127
  style?: NodeStyle;
130
128
  }
131
129
  /** @oneof */
132
- interface NodeDataOneOf {
130
+ export interface NodeDataOneOf {
133
131
  /** Data for a button node. */
134
132
  buttonData?: ButtonData;
135
133
  /** Data for a code block node. */
@@ -185,7 +183,7 @@ interface NodeDataOneOf {
185
183
  /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
186
184
  layoutCellData?: LayoutCellData;
187
185
  }
188
- declare enum NodeType {
186
+ export declare enum NodeType {
189
187
  PARAGRAPH = "PARAGRAPH",
190
188
  TEXT = "TEXT",
191
189
  HEADING = "HEADING",
@@ -221,7 +219,7 @@ declare enum NodeType {
221
219
  LAYOUT = "LAYOUT",
222
220
  LAYOUT_CELL = "LAYOUT_CELL"
223
221
  }
224
- interface NodeStyle {
222
+ export interface NodeStyle {
225
223
  /** The top padding value in pixels. */
226
224
  paddingTop?: string | null;
227
225
  /** The bottom padding value in pixels. */
@@ -229,7 +227,7 @@ interface NodeStyle {
229
227
  /** The background color as a hexadecimal value. */
230
228
  backgroundColor?: string | null;
231
229
  }
232
- interface ButtonData {
230
+ export interface ButtonData {
233
231
  /** Styling for the button's container. */
234
232
  containerData?: PluginContainerData;
235
233
  /** The button type. */
@@ -241,7 +239,7 @@ interface ButtonData {
241
239
  /** Button link details. */
242
240
  link?: Link;
243
241
  }
244
- interface Border {
242
+ export interface Border {
245
243
  /**
246
244
  * Deprecated: Use `borderWidth` in `styles` instead.
247
245
  * @deprecated
@@ -253,7 +251,7 @@ interface Border {
253
251
  */
254
252
  radius?: number | null;
255
253
  }
256
- interface Colors {
254
+ export interface Colors {
257
255
  /**
258
256
  * Deprecated: Use `textColor` in `styles` instead.
259
257
  * @deprecated
@@ -270,7 +268,7 @@ interface Colors {
270
268
  */
271
269
  background?: string | null;
272
270
  }
273
- interface PluginContainerData {
271
+ export interface PluginContainerData {
274
272
  /** The width of the node when it's displayed. */
275
273
  width?: PluginContainerDataWidth;
276
274
  /** The node's alignment within its container. */
@@ -282,7 +280,7 @@ interface PluginContainerData {
282
280
  /** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */
283
281
  textWrap?: boolean | null;
284
282
  }
285
- declare enum WidthType {
283
+ export declare enum WidthType {
286
284
  /** Width matches the content width */
287
285
  CONTENT = "CONTENT",
288
286
  /** Small Width */
@@ -292,7 +290,7 @@ declare enum WidthType {
292
290
  /** coast-to-coast display */
293
291
  FULL_WIDTH = "FULL_WIDTH"
294
292
  }
295
- interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
293
+ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
296
294
  /**
297
295
  * One of the following predefined width options:
298
296
  * `CONTENT`: The width of the container matches the content width.
@@ -305,7 +303,7 @@ interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
305
303
  custom?: string | null;
306
304
  }
307
305
  /** @oneof */
308
- interface PluginContainerDataWidthDataOneOf {
306
+ export interface PluginContainerDataWidthDataOneOf {
309
307
  /**
310
308
  * One of the following predefined width options:
311
309
  * `CONTENT`: The width of the container matches the content width.
@@ -317,7 +315,7 @@ interface PluginContainerDataWidthDataOneOf {
317
315
  /** A custom width value in pixels. */
318
316
  custom?: string | null;
319
317
  }
320
- declare enum PluginContainerDataAlignment {
318
+ export declare enum PluginContainerDataAlignment {
321
319
  /** Center Alignment */
322
320
  CENTER = "CENTER",
323
321
  /** Left Alignment */
@@ -325,7 +323,7 @@ declare enum PluginContainerDataAlignment {
325
323
  /** Right Alignment */
326
324
  RIGHT = "RIGHT"
327
325
  }
328
- interface Spoiler {
326
+ export interface Spoiler {
329
327
  /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
330
328
  enabled?: boolean | null;
331
329
  /** The description displayed on top of the spoiler cover. */
@@ -333,17 +331,17 @@ interface Spoiler {
333
331
  /** The text for the button used to remove the spoiler cover. */
334
332
  buttonText?: string | null;
335
333
  }
336
- interface Height {
334
+ export interface Height {
337
335
  /** A custom height value in pixels. */
338
336
  custom?: string | null;
339
337
  }
340
- declare enum Type {
338
+ export declare enum Type {
341
339
  /** Regular link button */
342
340
  LINK = "LINK",
343
341
  /** Triggers custom action that is defined in plugin configuration by the consumer */
344
342
  ACTION = "ACTION"
345
343
  }
346
- interface Styles {
344
+ export interface Styles {
347
345
  /**
348
346
  * Deprecated: Use `borderWidth` and `borderRadius` instead.
349
347
  * @deprecated
@@ -396,7 +394,7 @@ interface Styles {
396
394
  /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
397
395
  buttonSize?: string | null;
398
396
  }
399
- interface Link extends LinkDataOneOf {
397
+ export interface Link extends LinkDataOneOf {
400
398
  /** The absolute URL for the linked document. */
401
399
  url?: string;
402
400
  /** The target node's ID. Used for linking to another node in this object. */
@@ -415,13 +413,13 @@ interface Link extends LinkDataOneOf {
415
413
  customData?: string | null;
416
414
  }
417
415
  /** @oneof */
418
- interface LinkDataOneOf {
416
+ export interface LinkDataOneOf {
419
417
  /** The absolute URL for the linked document. */
420
418
  url?: string;
421
419
  /** The target node's ID. Used for linking to another node in this object. */
422
420
  anchor?: string;
423
421
  }
424
- declare enum Target {
422
+ export declare enum Target {
425
423
  /** Opens the linked document in the same frame as it was clicked (this is default) */
426
424
  SELF = "SELF",
427
425
  /** Opens the linked document in a new window or tab */
@@ -431,7 +429,7 @@ declare enum Target {
431
429
  /** Opens the linked document in the full body of the window */
432
430
  TOP = "TOP"
433
431
  }
434
- interface Rel {
432
+ export interface Rel {
435
433
  /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
436
434
  nofollow?: boolean | null;
437
435
  /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
@@ -441,17 +439,17 @@ interface Rel {
441
439
  /** Indicates that this link protect referral information from being passed to the target website. */
442
440
  noreferrer?: boolean | null;
443
441
  }
444
- interface CodeBlockData {
442
+ export interface CodeBlockData {
445
443
  /** Styling for the code block's text. */
446
444
  textStyle?: TextStyle;
447
445
  }
448
- interface TextStyle {
446
+ export interface TextStyle {
449
447
  /** Text alignment. Defaults to `AUTO`. */
450
448
  textAlignment?: TextAlignment;
451
449
  /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
452
450
  lineHeight?: string | null;
453
451
  }
454
- declare enum TextAlignment {
452
+ export declare enum TextAlignment {
455
453
  /** browser default, eqivalent to `initial` */
456
454
  AUTO = "AUTO",
457
455
  /** Left align */
@@ -463,7 +461,7 @@ declare enum TextAlignment {
463
461
  /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
464
462
  JUSTIFY = "JUSTIFY"
465
463
  }
466
- interface DividerData {
464
+ export interface DividerData {
467
465
  /** Styling for the divider's container. */
468
466
  containerData?: PluginContainerData;
469
467
  /** Divider line style. */
@@ -473,7 +471,7 @@ interface DividerData {
473
471
  /** Divider alignment. */
474
472
  alignment?: Alignment;
475
473
  }
476
- declare enum LineStyle {
474
+ export declare enum LineStyle {
477
475
  /** Single Line */
478
476
  SINGLE = "SINGLE",
479
477
  /** Double Line */
@@ -483,7 +481,7 @@ declare enum LineStyle {
483
481
  /** Dotted Line */
484
482
  DOTTED = "DOTTED"
485
483
  }
486
- declare enum Width {
484
+ export declare enum Width {
487
485
  /** Large line */
488
486
  LARGE = "LARGE",
489
487
  /** Medium line */
@@ -491,7 +489,7 @@ declare enum Width {
491
489
  /** Small line */
492
490
  SMALL = "SMALL"
493
491
  }
494
- declare enum Alignment {
492
+ export declare enum Alignment {
495
493
  /** Center alignment */
496
494
  CENTER = "CENTER",
497
495
  /** Left alignment */
@@ -499,7 +497,7 @@ declare enum Alignment {
499
497
  /** Right alignment */
500
498
  RIGHT = "RIGHT"
501
499
  }
502
- interface FileData {
500
+ export interface FileData {
503
501
  /** Styling for the file's container. */
504
502
  containerData?: PluginContainerData;
505
503
  /** The source for the file's data. */
@@ -522,7 +520,7 @@ interface FileData {
522
520
  /** File size in KB. */
523
521
  sizeInKb?: string | null;
524
522
  }
525
- declare enum ViewMode {
523
+ export declare enum ViewMode {
526
524
  /** No PDF view */
527
525
  NONE = "NONE",
528
526
  /** Full PDF view */
@@ -530,7 +528,7 @@ declare enum ViewMode {
530
528
  /** Mini PDF view */
531
529
  MINI = "MINI"
532
530
  }
533
- interface FileSource extends FileSourceDataOneOf {
531
+ export interface FileSource extends FileSourceDataOneOf {
534
532
  /** The absolute URL for the file's source. */
535
533
  url?: string | null;
536
534
  /**
@@ -544,7 +542,7 @@ interface FileSource extends FileSourceDataOneOf {
544
542
  private?: boolean | null;
545
543
  }
546
544
  /** @oneof */
547
- interface FileSourceDataOneOf {
545
+ export interface FileSourceDataOneOf {
548
546
  /** The absolute URL for the file's source. */
549
547
  url?: string | null;
550
548
  /**
@@ -555,7 +553,7 @@ interface FileSourceDataOneOf {
555
553
  /** An ID that's resolved to a URL by a resolver function. */
556
554
  id?: string | null;
557
555
  }
558
- interface PDFSettings {
556
+ export interface PDFSettings {
559
557
  /**
560
558
  * PDF view mode. One of the following:
561
559
  * `NONE` : The PDF isn't displayed.
@@ -568,7 +566,7 @@ interface PDFSettings {
568
566
  /** Sets whether the PDF print button is disabled. Defaults to `false`. */
569
567
  disablePrint?: boolean | null;
570
568
  }
571
- interface GalleryData {
569
+ export interface GalleryData {
572
570
  /** Styling for the gallery's container. */
573
571
  containerData?: PluginContainerData;
574
572
  /** The items in the gallery. */
@@ -580,7 +578,7 @@ interface GalleryData {
580
578
  /** Sets whether the gallery's download button is disabled. Defaults to `false`. */
581
579
  disableDownload?: boolean | null;
582
580
  }
583
- interface Media {
581
+ export interface Media {
584
582
  /** The source for the media's data. */
585
583
  src?: FileSource;
586
584
  /** Media width in pixels. */
@@ -590,19 +588,19 @@ interface Media {
590
588
  /** Media duration in seconds. Only relevant for audio and video files. */
591
589
  duration?: number | null;
592
590
  }
593
- interface Image {
591
+ export interface Image {
594
592
  /** Image file details. */
595
593
  media?: Media;
596
594
  /** Link details for images that are links. */
597
595
  link?: Link;
598
596
  }
599
- interface Video {
597
+ export interface Video {
600
598
  /** Video file details. */
601
599
  media?: Media;
602
600
  /** Video thumbnail file details. */
603
601
  thumbnail?: Media;
604
602
  }
605
- interface Item extends ItemDataOneOf {
603
+ export interface Item extends ItemDataOneOf {
606
604
  /** An image item. */
607
605
  image?: Image;
608
606
  /** A video item. */
@@ -613,13 +611,13 @@ interface Item extends ItemDataOneOf {
613
611
  altText?: string | null;
614
612
  }
615
613
  /** @oneof */
616
- interface ItemDataOneOf {
614
+ export interface ItemDataOneOf {
617
615
  /** An image item. */
618
616
  image?: Image;
619
617
  /** A video item. */
620
618
  video?: Video;
621
619
  }
622
- interface GalleryOptions {
620
+ export interface GalleryOptions {
623
621
  /** Gallery layout. */
624
622
  layout?: Layout;
625
623
  /** Styling for gallery items. */
@@ -627,7 +625,7 @@ interface GalleryOptions {
627
625
  /** Styling for gallery thumbnail images. */
628
626
  thumbnails?: Thumbnails;
629
627
  }
630
- declare enum LayoutType {
628
+ export declare enum LayoutType {
631
629
  /** Collage type */
632
630
  COLLAGE = "COLLAGE",
633
631
  /** Masonry type */
@@ -649,19 +647,19 @@ declare enum LayoutType {
649
647
  /** Fullsize images type */
650
648
  FULLSIZE = "FULLSIZE"
651
649
  }
652
- declare enum Orientation {
650
+ export declare enum Orientation {
653
651
  /** Rows Orientation */
654
652
  ROWS = "ROWS",
655
653
  /** Columns Orientation */
656
654
  COLUMNS = "COLUMNS"
657
655
  }
658
- declare enum Crop {
656
+ export declare enum Crop {
659
657
  /** Crop to fill */
660
658
  FILL = "FILL",
661
659
  /** Crop to fit */
662
660
  FIT = "FIT"
663
661
  }
664
- declare enum ThumbnailsAlignment {
662
+ export declare enum ThumbnailsAlignment {
665
663
  /** Top alignment */
666
664
  TOP = "TOP",
667
665
  /** Right alignment */
@@ -673,7 +671,7 @@ declare enum ThumbnailsAlignment {
673
671
  /** No thumbnail */
674
672
  NONE = "NONE"
675
673
  }
676
- interface Layout {
674
+ export interface Layout {
677
675
  /** Gallery layout type. */
678
676
  type?: LayoutType;
679
677
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
@@ -685,7 +683,7 @@ interface Layout {
685
683
  /** The number of columns to display on mobile screens. */
686
684
  mobileNumberOfColumns?: number | null;
687
685
  }
688
- interface ItemStyle {
686
+ export interface ItemStyle {
689
687
  /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
690
688
  targetSize?: number | null;
691
689
  /** Item ratio */
@@ -695,13 +693,13 @@ interface ItemStyle {
695
693
  /** The spacing between items in pixels. */
696
694
  spacing?: number | null;
697
695
  }
698
- interface Thumbnails {
696
+ export interface Thumbnails {
699
697
  /** Thumbnail alignment. */
700
698
  placement?: ThumbnailsAlignment;
701
699
  /** Spacing between thumbnails in pixels. */
702
700
  spacing?: number | null;
703
701
  }
704
- interface GIFData {
702
+ export interface GIFData {
705
703
  /** Styling for the GIF's container. */
706
704
  containerData?: PluginContainerData;
707
705
  /** The source of the full size GIF. */
@@ -715,7 +713,7 @@ interface GIFData {
715
713
  /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
716
714
  gifType?: GIFType;
717
715
  }
718
- interface GIF {
716
+ export interface GIF {
719
717
  /**
720
718
  * GIF format URL.
721
719
  * @format WEB_URL
@@ -732,11 +730,11 @@ interface GIF {
732
730
  */
733
731
  still?: string | null;
734
732
  }
735
- declare enum GIFType {
733
+ export declare enum GIFType {
736
734
  NORMAL = "NORMAL",
737
735
  STICKER = "STICKER"
738
736
  }
739
- interface HeadingData {
737
+ export interface HeadingData {
740
738
  /** Heading level from 1-6. */
741
739
  level?: number;
742
740
  /** Styling for the heading text. */
@@ -744,7 +742,7 @@ interface HeadingData {
744
742
  /** Indentation level from 1-4. */
745
743
  indentation?: number | null;
746
744
  }
747
- interface HTMLData extends HTMLDataDataOneOf {
745
+ export interface HTMLData extends HTMLDataDataOneOf {
748
746
  /** The URL for the HTML code for the node. */
749
747
  url?: string;
750
748
  /** The HTML code for the node. */
@@ -762,7 +760,7 @@ interface HTMLData extends HTMLDataDataOneOf {
762
760
  autoHeight?: boolean | null;
763
761
  }
764
762
  /** @oneof */
765
- interface HTMLDataDataOneOf {
763
+ export interface HTMLDataDataOneOf {
766
764
  /** The URL for the HTML code for the node. */
767
765
  url?: string;
768
766
  /** The HTML code for the node. */
@@ -773,11 +771,11 @@ interface HTMLDataDataOneOf {
773
771
  */
774
772
  isAdsense?: boolean | null;
775
773
  }
776
- declare enum Source {
774
+ export declare enum Source {
777
775
  HTML = "HTML",
778
776
  ADSENSE = "ADSENSE"
779
777
  }
780
- interface ImageData {
778
+ export interface ImageData {
781
779
  /** Styling for the image's container. */
782
780
  containerData?: PluginContainerData;
783
781
  /** Image file details. */
@@ -800,7 +798,7 @@ interface ImageData {
800
798
  /** Styling for the image. */
801
799
  styles?: ImageDataStyles;
802
800
  }
803
- interface StylesBorder {
801
+ export interface StylesBorder {
804
802
  /** Border width in pixels. */
805
803
  width?: number | null;
806
804
  /**
@@ -811,11 +809,11 @@ interface StylesBorder {
811
809
  /** Border radius in pixels. */
812
810
  radius?: number | null;
813
811
  }
814
- interface ImageDataStyles {
812
+ export interface ImageDataStyles {
815
813
  /** Border attributes. */
816
814
  border?: StylesBorder;
817
815
  }
818
- interface LinkPreviewData {
816
+ export interface LinkPreviewData {
819
817
  /** Styling for the link preview's container. */
820
818
  containerData?: PluginContainerData;
821
819
  /** Link details. */
@@ -831,7 +829,7 @@ interface LinkPreviewData {
831
829
  /** Styling for the link preview. */
832
830
  styles?: LinkPreviewDataStyles;
833
831
  }
834
- declare enum Position {
832
+ export declare enum Position {
835
833
  /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
836
834
  START = "START",
837
835
  /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
@@ -841,7 +839,7 @@ declare enum Position {
841
839
  /** Thumbnail hidden and not displayed */
842
840
  HIDDEN = "HIDDEN"
843
841
  }
844
- interface LinkPreviewDataStyles {
842
+ export interface LinkPreviewDataStyles {
845
843
  /**
846
844
  * Background color as a hexadecimal value.
847
845
  * @format COLOR_HEX
@@ -874,13 +872,13 @@ interface LinkPreviewDataStyles {
874
872
  /** Position of thumbnail. Defaults to `START`. */
875
873
  thumbnailPosition?: Position;
876
874
  }
877
- interface MapData {
875
+ export interface MapData {
878
876
  /** Styling for the map's container. */
879
877
  containerData?: PluginContainerData;
880
878
  /** Map settings. */
881
879
  mapSettings?: MapSettings;
882
880
  }
883
- interface MapSettings {
881
+ export interface MapSettings {
884
882
  /** The address to display on the map. */
885
883
  address?: string | null;
886
884
  /** Sets whether the map is draggable. */
@@ -904,7 +902,7 @@ interface MapSettings {
904
902
  /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
905
903
  mapType?: MapType;
906
904
  }
907
- declare enum MapType {
905
+ export declare enum MapType {
908
906
  /** Roadmap map type */
909
907
  ROADMAP = "ROADMAP",
910
908
  /** Satellite map type */
@@ -914,7 +912,7 @@ declare enum MapType {
914
912
  /** Terrain map type */
915
913
  TERRAIN = "TERRAIN"
916
914
  }
917
- interface ParagraphData {
915
+ export interface ParagraphData {
918
916
  /** Styling for the paragraph text. */
919
917
  textStyle?: TextStyle;
920
918
  /** Indentation level from 1-4. */
@@ -922,7 +920,7 @@ interface ParagraphData {
922
920
  /** Paragraph level */
923
921
  level?: number | null;
924
922
  }
925
- interface PollData {
923
+ export interface PollData {
926
924
  /** Styling for the poll's container. */
927
925
  containerData?: PluginContainerData;
928
926
  /** Poll data. */
@@ -932,7 +930,7 @@ interface PollData {
932
930
  /** Styling for the poll and voting options. */
933
931
  design?: Design;
934
932
  }
935
- declare enum ViewRole {
933
+ export declare enum ViewRole {
936
934
  /** Only Poll creator can view the results */
937
935
  CREATOR = "CREATOR",
938
936
  /** Anyone who voted can see the results */
@@ -940,13 +938,13 @@ declare enum ViewRole {
940
938
  /** Anyone can see the results, even if one didn't vote */
941
939
  EVERYONE = "EVERYONE"
942
940
  }
943
- declare enum VoteRole {
941
+ export declare enum VoteRole {
944
942
  /** Logged in member */
945
943
  SITE_MEMBERS = "SITE_MEMBERS",
946
944
  /** Anyone */
947
945
  ALL = "ALL"
948
946
  }
949
- interface Permissions {
947
+ export interface Permissions {
950
948
  /** Sets who can view the poll results. */
951
949
  view?: ViewRole;
952
950
  /** Sets who can vote. */
@@ -954,7 +952,7 @@ interface Permissions {
954
952
  /** Sets whether one voter can vote multiple times. Defaults to `false`. */
955
953
  allowMultipleVotes?: boolean | null;
956
954
  }
957
- interface Option {
955
+ export interface Option {
958
956
  /** Option ID. */
959
957
  id?: string | null;
960
958
  /** Option title. */
@@ -962,7 +960,7 @@ interface Option {
962
960
  /** The image displayed with the option. */
963
961
  image?: Media;
964
962
  }
965
- interface Settings {
963
+ export interface Settings {
966
964
  /** Permissions settings for voting. */
967
965
  permissions?: Permissions;
968
966
  /** Sets whether voters are displayed in the vote results. Defaults to `true`. */
@@ -970,19 +968,19 @@ interface Settings {
970
968
  /** Sets whether the vote count is displayed. Defaults to `true`. */
971
969
  showVotesCount?: boolean | null;
972
970
  }
973
- declare enum PollLayoutType {
971
+ export declare enum PollLayoutType {
974
972
  /** List */
975
973
  LIST = "LIST",
976
974
  /** Grid */
977
975
  GRID = "GRID"
978
976
  }
979
- declare enum PollLayoutDirection {
977
+ export declare enum PollLayoutDirection {
980
978
  /** Left-to-right */
981
979
  LTR = "LTR",
982
980
  /** Right-to-left */
983
981
  RTL = "RTL"
984
982
  }
985
- interface PollLayout {
983
+ export interface PollLayout {
986
984
  /** The layout for displaying the voting options. */
987
985
  type?: PollLayoutType;
988
986
  /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
@@ -990,11 +988,11 @@ interface PollLayout {
990
988
  /** Sets whether to display the main poll image. Defaults to `false`. */
991
989
  enableImage?: boolean | null;
992
990
  }
993
- interface OptionLayout {
991
+ export interface OptionLayout {
994
992
  /** Sets whether to display option images. Defaults to `false`. */
995
993
  enableImage?: boolean | null;
996
994
  }
997
- declare enum BackgroundType {
995
+ export declare enum BackgroundType {
998
996
  /** Color background type */
999
997
  COLOR = "COLOR",
1000
998
  /** Image background type */
@@ -1002,7 +1000,7 @@ declare enum BackgroundType {
1002
1000
  /** Gradiant background type */
1003
1001
  GRADIENT = "GRADIENT"
1004
1002
  }
1005
- interface Gradient {
1003
+ export interface Gradient {
1006
1004
  /** The gradient angle in degrees. */
1007
1005
  angle?: number | null;
1008
1006
  /**
@@ -1016,7 +1014,7 @@ interface Gradient {
1016
1014
  */
1017
1015
  lastColor?: string | null;
1018
1016
  }
1019
- interface Background extends BackgroundBackgroundOneOf {
1017
+ export interface Background extends BackgroundBackgroundOneOf {
1020
1018
  /**
1021
1019
  * The background color as a hexademical value.
1022
1020
  * @format COLOR_HEX
@@ -1030,7 +1028,7 @@ interface Background extends BackgroundBackgroundOneOf {
1030
1028
  type?: BackgroundType;
1031
1029
  }
1032
1030
  /** @oneof */
1033
- interface BackgroundBackgroundOneOf {
1031
+ export interface BackgroundBackgroundOneOf {
1034
1032
  /**
1035
1033
  * The background color as a hexademical value.
1036
1034
  * @format COLOR_HEX
@@ -1041,17 +1039,17 @@ interface BackgroundBackgroundOneOf {
1041
1039
  /** Details for a gradient background. */
1042
1040
  gradient?: Gradient;
1043
1041
  }
1044
- interface PollDesign {
1042
+ export interface PollDesign {
1045
1043
  /** Background styling. */
1046
1044
  background?: Background;
1047
1045
  /** Border radius in pixels. */
1048
1046
  borderRadius?: number | null;
1049
1047
  }
1050
- interface OptionDesign {
1048
+ export interface OptionDesign {
1051
1049
  /** Border radius in pixels. */
1052
1050
  borderRadius?: number | null;
1053
1051
  }
1054
- interface Poll {
1052
+ export interface Poll {
1055
1053
  /** Poll ID. */
1056
1054
  id?: string | null;
1057
1055
  /** Poll title. */
@@ -1065,26 +1063,26 @@ interface Poll {
1065
1063
  /** The poll's permissions and display settings. */
1066
1064
  settings?: Settings;
1067
1065
  }
1068
- interface PollDataLayout {
1066
+ export interface PollDataLayout {
1069
1067
  /** Poll layout settings. */
1070
1068
  poll?: PollLayout;
1071
1069
  /** Voting otpions layout settings. */
1072
1070
  options?: OptionLayout;
1073
1071
  }
1074
- interface Design {
1072
+ export interface Design {
1075
1073
  /** Styling for the poll. */
1076
1074
  poll?: PollDesign;
1077
1075
  /** Styling for voting options. */
1078
1076
  options?: OptionDesign;
1079
1077
  }
1080
- interface TextData {
1078
+ export interface TextData {
1081
1079
  /** The text to apply decorations to. */
1082
1080
  text?: string;
1083
1081
  /** The decorations to apply. */
1084
1082
  decorations?: Decoration[];
1085
1083
  }
1086
1084
  /** Adds appearence changes to text */
1087
- interface Decoration extends DecorationDataOneOf {
1085
+ export interface Decoration extends DecorationDataOneOf {
1088
1086
  /** Data for an anchor link decoration. */
1089
1087
  anchorData?: AnchorData;
1090
1088
  /** Data for a color decoration. */
@@ -1103,11 +1101,13 @@ interface Decoration extends DecorationDataOneOf {
1103
1101
  underlineData?: boolean | null;
1104
1102
  /** Data for a spoiler decoration. */
1105
1103
  spoilerData?: SpoilerData;
1104
+ /** Data for a strikethrough decoration. Defaults to `true`. */
1105
+ strikethroughData?: boolean | null;
1106
1106
  /** The type of decoration to apply. */
1107
1107
  type?: DecorationType;
1108
1108
  }
1109
1109
  /** @oneof */
1110
- interface DecorationDataOneOf {
1110
+ export interface DecorationDataOneOf {
1111
1111
  /** Data for an anchor link decoration. */
1112
1112
  anchorData?: AnchorData;
1113
1113
  /** Data for a color decoration. */
@@ -1126,8 +1126,10 @@ interface DecorationDataOneOf {
1126
1126
  underlineData?: boolean | null;
1127
1127
  /** Data for a spoiler decoration. */
1128
1128
  spoilerData?: SpoilerData;
1129
+ /** Data for a strikethrough decoration. Defaults to `true`. */
1130
+ strikethroughData?: boolean | null;
1129
1131
  }
1130
- declare enum DecorationType {
1132
+ export declare enum DecorationType {
1131
1133
  BOLD = "BOLD",
1132
1134
  ITALIC = "ITALIC",
1133
1135
  UNDERLINE = "UNDERLINE",
@@ -1137,23 +1139,24 @@ declare enum DecorationType {
1137
1139
  LINK = "LINK",
1138
1140
  COLOR = "COLOR",
1139
1141
  FONT_SIZE = "FONT_SIZE",
1140
- EXTERNAL = "EXTERNAL"
1142
+ EXTERNAL = "EXTERNAL",
1143
+ STRIKETHROUGH = "STRIKETHROUGH"
1141
1144
  }
1142
- interface AnchorData {
1145
+ export interface AnchorData {
1143
1146
  /** The target node's ID. */
1144
1147
  anchor?: string;
1145
1148
  }
1146
- interface ColorData {
1149
+ export interface ColorData {
1147
1150
  /** The text's background color as a hexadecimal value. */
1148
1151
  background?: string | null;
1149
1152
  /** The text's foreground color as a hexadecimal value. */
1150
1153
  foreground?: string | null;
1151
1154
  }
1152
- interface LinkData {
1155
+ export interface LinkData {
1153
1156
  /** Link details. */
1154
1157
  link?: Link;
1155
1158
  }
1156
- interface MentionData {
1159
+ export interface MentionData {
1157
1160
  /** The mentioned user's name. */
1158
1161
  name?: string;
1159
1162
  /** The version of the user's name that appears after the `@` character in the mention. */
@@ -1161,21 +1164,21 @@ interface MentionData {
1161
1164
  /** Mentioned user's ID. */
1162
1165
  id?: string | null;
1163
1166
  }
1164
- interface FontSizeData {
1167
+ export interface FontSizeData {
1165
1168
  /** The units used for the font size. */
1166
1169
  unit?: FontType;
1167
1170
  /** Font size value. */
1168
1171
  value?: number | null;
1169
1172
  }
1170
- declare enum FontType {
1173
+ export declare enum FontType {
1171
1174
  PX = "PX",
1172
1175
  EM = "EM"
1173
1176
  }
1174
- interface SpoilerData {
1177
+ export interface SpoilerData {
1175
1178
  /** Spoiler ID. */
1176
1179
  id?: string | null;
1177
1180
  }
1178
- interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1181
+ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1179
1182
  /** Data for embedded Wix Bookings content. */
1180
1183
  bookingData?: BookingData;
1181
1184
  /** Data for embedded Wix Events content. */
@@ -1197,28 +1200,28 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1197
1200
  image?: Media;
1198
1201
  }
1199
1202
  /** @oneof */
1200
- interface AppEmbedDataAppDataOneOf {
1203
+ export interface AppEmbedDataAppDataOneOf {
1201
1204
  /** Data for embedded Wix Bookings content. */
1202
1205
  bookingData?: BookingData;
1203
1206
  /** Data for embedded Wix Events content. */
1204
1207
  eventData?: EventData;
1205
1208
  }
1206
- declare enum AppType {
1209
+ export declare enum AppType {
1207
1210
  PRODUCT = "PRODUCT",
1208
1211
  EVENT = "EVENT",
1209
1212
  BOOKING = "BOOKING"
1210
1213
  }
1211
- interface BookingData {
1214
+ export interface BookingData {
1212
1215
  /** Booking duration in minutes. */
1213
1216
  durations?: string | null;
1214
1217
  }
1215
- interface EventData {
1218
+ export interface EventData {
1216
1219
  /** Event schedule. */
1217
1220
  scheduling?: string | null;
1218
1221
  /** Event location. */
1219
1222
  location?: string | null;
1220
1223
  }
1221
- interface VideoData {
1224
+ export interface VideoData {
1222
1225
  /** Styling for the video's container. */
1223
1226
  containerData?: PluginContainerData;
1224
1227
  /** Video details. */
@@ -1232,7 +1235,7 @@ interface VideoData {
1232
1235
  /** Video options. */
1233
1236
  options?: PlaybackOptions;
1234
1237
  }
1235
- interface PlaybackOptions {
1238
+ export interface PlaybackOptions {
1236
1239
  /** Sets whether the media will automatically start playing. */
1237
1240
  autoPlay?: boolean | null;
1238
1241
  /** Sets whether media's will be looped. */
@@ -1240,7 +1243,7 @@ interface PlaybackOptions {
1240
1243
  /** Sets whether media's controls will be shown. */
1241
1244
  showControls?: boolean | null;
1242
1245
  }
1243
- interface EmbedData {
1246
+ export interface EmbedData {
1244
1247
  /** Styling for the oEmbed node's container. */
1245
1248
  containerData?: PluginContainerData;
1246
1249
  /** An [oEmbed](https://www.oembed.com) object. */
@@ -1248,7 +1251,7 @@ interface EmbedData {
1248
1251
  /** Origin asset source. */
1249
1252
  src?: string | null;
1250
1253
  }
1251
- interface Oembed {
1254
+ export interface Oembed {
1252
1255
  /** The resource type. */
1253
1256
  type?: string | null;
1254
1257
  /** The width of the resource specified in the `url` property in pixels. */
@@ -1280,7 +1283,7 @@ interface Oembed {
1280
1283
  /** The oEmbed version number. This value must be `1.0`. */
1281
1284
  version?: string | null;
1282
1285
  }
1283
- interface CollapsibleListData {
1286
+ export interface CollapsibleListData {
1284
1287
  /** Styling for the collapsible list's container. */
1285
1288
  containerData?: PluginContainerData;
1286
1289
  /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
@@ -1292,7 +1295,7 @@ interface CollapsibleListData {
1292
1295
  /** If `true`, The collapsible item will appear in search results as an FAQ. */
1293
1296
  isQapageData?: boolean | null;
1294
1297
  }
1295
- declare enum InitialExpandedItems {
1298
+ export declare enum InitialExpandedItems {
1296
1299
  /** First item will be expended initally */
1297
1300
  FIRST = "FIRST",
1298
1301
  /** All items will expended initally */
@@ -1300,13 +1303,13 @@ declare enum InitialExpandedItems {
1300
1303
  /** All items collapsed initally */
1301
1304
  NONE = "NONE"
1302
1305
  }
1303
- declare enum Direction {
1306
+ export declare enum Direction {
1304
1307
  /** Left-to-right */
1305
1308
  LTR = "LTR",
1306
1309
  /** Right-to-left */
1307
1310
  RTL = "RTL"
1308
1311
  }
1309
- interface TableData {
1312
+ export interface TableData {
1310
1313
  /** Styling for the table's container. */
1311
1314
  containerData?: PluginContainerData;
1312
1315
  /** The table's dimensions. */
@@ -1321,7 +1324,7 @@ interface TableData {
1321
1324
  /** Sets whether the table's first column is a header. Defaults to `false`. */
1322
1325
  columnHeader?: boolean | null;
1323
1326
  }
1324
- interface Dimensions {
1327
+ export interface Dimensions {
1325
1328
  /** An array representing relative width of each column in relation to the other columns. */
1326
1329
  colsWidthRatio?: number[];
1327
1330
  /** An array representing the height of each row in pixels. */
@@ -1329,13 +1332,13 @@ interface Dimensions {
1329
1332
  /** An array representing the minimum width of each column in pixels. */
1330
1333
  colsMinWidth?: number[];
1331
1334
  }
1332
- interface TableCellData {
1335
+ export interface TableCellData {
1333
1336
  /** Styling for the cell's background color and text alignment. */
1334
1337
  cellStyle?: CellStyle;
1335
1338
  /** The cell's border colors. */
1336
1339
  borderColors?: BorderColors;
1337
1340
  }
1338
- declare enum VerticalAlignment {
1341
+ export declare enum VerticalAlignment {
1339
1342
  /** Top alignment */
1340
1343
  TOP = "TOP",
1341
1344
  /** Middle alignment */
@@ -1343,7 +1346,7 @@ declare enum VerticalAlignment {
1343
1346
  /** Bottom alignment */
1344
1347
  BOTTOM = "BOTTOM"
1345
1348
  }
1346
- interface CellStyle {
1349
+ export interface CellStyle {
1347
1350
  /** Vertical alignment for the cell's text. */
1348
1351
  verticalAlignment?: VerticalAlignment;
1349
1352
  /**
@@ -1352,7 +1355,7 @@ interface CellStyle {
1352
1355
  */
1353
1356
  backgroundColor?: string | null;
1354
1357
  }
1355
- interface BorderColors {
1358
+ export interface BorderColors {
1356
1359
  /**
1357
1360
  * Left border color as a hexadecimal value.
1358
1361
  * @format COLOR_HEX
@@ -1374,7 +1377,26 @@ interface BorderColors {
1374
1377
  */
1375
1378
  bottom?: string | null;
1376
1379
  }
1377
- interface AudioData {
1380
+ /**
1381
+ * `NullValue` is a singleton enumeration to represent the null value for the
1382
+ * `Value` type union.
1383
+ *
1384
+ * The JSON representation for `NullValue` is JSON `null`.
1385
+ */
1386
+ export declare enum NullValue {
1387
+ /** Null value. */
1388
+ NULL_VALUE = "NULL_VALUE"
1389
+ }
1390
+ /**
1391
+ * `ListValue` is a wrapper around a repeated field of values.
1392
+ *
1393
+ * The JSON representation for `ListValue` is JSON array.
1394
+ */
1395
+ export interface ListValue {
1396
+ /** Repeated field of dynamically typed values. */
1397
+ values?: any[];
1398
+ }
1399
+ export interface AudioData {
1378
1400
  /** Styling for the audio node's container. */
1379
1401
  containerData?: PluginContainerData;
1380
1402
  /** Audio file details. */
@@ -1390,7 +1412,7 @@ interface AudioData {
1390
1412
  /** An HTML version of the audio node. */
1391
1413
  html?: string | null;
1392
1414
  }
1393
- interface OrderedListData {
1415
+ export interface OrderedListData {
1394
1416
  /** Indentation level from 0-4. */
1395
1417
  indentation?: number;
1396
1418
  /** Offset level from 0-4. */
@@ -1398,24 +1420,24 @@ interface OrderedListData {
1398
1420
  /** List start number. */
1399
1421
  start?: number | null;
1400
1422
  }
1401
- interface BulletedListData {
1423
+ export interface BulletedListData {
1402
1424
  /** Indentation level from 0-4. */
1403
1425
  indentation?: number;
1404
1426
  /** Offset level from 0-4. */
1405
1427
  offset?: number | null;
1406
1428
  }
1407
- interface BlockquoteData {
1429
+ export interface BlockquoteData {
1408
1430
  /** Indentation level from 1-4. */
1409
1431
  indentation?: number;
1410
1432
  }
1411
- interface CaptionData {
1433
+ export interface CaptionData {
1412
1434
  textStyle?: TextStyle;
1413
1435
  }
1414
- interface LayoutCellData {
1436
+ export interface LayoutCellData {
1415
1437
  /** Size of the cell in 12 columns grid. */
1416
1438
  colSpan?: number | null;
1417
1439
  }
1418
- interface Metadata {
1440
+ export interface Metadata {
1419
1441
  /** Schema version. */
1420
1442
  version?: number;
1421
1443
  /**
@@ -1432,7 +1454,7 @@ interface Metadata {
1432
1454
  /** Object ID. */
1433
1455
  id?: string | null;
1434
1456
  }
1435
- interface DocumentStyle {
1457
+ export interface DocumentStyle {
1436
1458
  /** Styling for H1 nodes. */
1437
1459
  headerOne?: TextNodeStyle;
1438
1460
  /** Styling for H2 nodes. */
@@ -1452,7 +1474,7 @@ interface DocumentStyle {
1452
1474
  /** Styling for code block nodes. */
1453
1475
  codeBlock?: TextNodeStyle;
1454
1476
  }
1455
- interface TextNodeStyle {
1477
+ export interface TextNodeStyle {
1456
1478
  /** The decorations to apply to the node. */
1457
1479
  decorations?: Decoration[];
1458
1480
  /** Padding and background color for the node. */
@@ -1460,7 +1482,7 @@ interface TextNodeStyle {
1460
1482
  /** Line height for text in the node. */
1461
1483
  lineHeight?: string | null;
1462
1484
  }
1463
- interface MachineTranslateRequest {
1485
+ export interface MachineTranslateRequest {
1464
1486
  /** Language of the source text to translate. */
1465
1487
  sourceLanguage: SupportedLanguage;
1466
1488
  /** Language to translate text into. */
@@ -1468,7 +1490,7 @@ interface MachineTranslateRequest {
1468
1490
  /** The content to translate. */
1469
1491
  contentToTranslate: TranslatableContent;
1470
1492
  }
1471
- declare enum SupportedLanguage {
1493
+ export declare enum SupportedLanguage {
1472
1494
  /** Undefined Language */
1473
1495
  UNDEFINED_SUPPORTED_LANGUAGE = "UNDEFINED_SUPPORTED_LANGUAGE",
1474
1496
  /** Afrikaans */
@@ -1742,11 +1764,30 @@ declare enum SupportedLanguage {
1742
1764
  /** Zulu */
1743
1765
  ZU = "ZU"
1744
1766
  }
1745
- interface MachineTranslateResponse {
1767
+ export interface MachineTranslateResponse {
1746
1768
  /** The translated content. */
1747
1769
  translatedContent?: TranslatableContent;
1748
1770
  }
1749
- interface BulkMachineTranslateRequest {
1771
+ export interface NotEnoughCreditsError {
1772
+ /** The number of credits required to translate the content in the request. */
1773
+ creditsRequired?: number;
1774
+ }
1775
+ export interface TextTooLongError {
1776
+ /** The maximum length of text that can be translated. */
1777
+ maxLength?: number;
1778
+ /** The actual length of the text that was sent for translation. */
1779
+ actualLength?: number;
1780
+ }
1781
+ export interface UnknownFormatError {
1782
+ }
1783
+ export interface SameLanguageArgumentsError {
1784
+ /**
1785
+ * The language supplied as both the source and the target languages
1786
+ * @maxLength 16
1787
+ */
1788
+ language?: string;
1789
+ }
1790
+ export interface BulkMachineTranslateRequest {
1750
1791
  /** Language of the source text to translate. */
1751
1792
  sourceLanguage: SupportedLanguage;
1752
1793
  /** Language to translate text into. */
@@ -1758,7 +1799,7 @@ interface BulkMachineTranslateRequest {
1758
1799
  */
1759
1800
  contentToTranslate?: TranslatableContent[];
1760
1801
  }
1761
- interface BulkMachineTranslateResponse {
1802
+ export interface BulkMachineTranslateResponse {
1762
1803
  /**
1763
1804
  * List of results for each item in the bulk request.
1764
1805
  * @minSize 1
@@ -1768,13 +1809,13 @@ interface BulkMachineTranslateResponse {
1768
1809
  /** Metadata for the overall bulk action, including success and failure counts. */
1769
1810
  bulkActionMetadata?: BulkActionMetadata;
1770
1811
  }
1771
- interface BulkTranslateResult {
1812
+ export interface BulkTranslateResult {
1772
1813
  /** Metadata for the individual item in the request. */
1773
1814
  itemMetadata?: ItemMetadata;
1774
1815
  /** The translated content. */
1775
1816
  item?: TranslatableContent;
1776
1817
  }
1777
- interface ItemMetadata {
1818
+ export interface ItemMetadata {
1778
1819
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
1779
1820
  id?: string | null;
1780
1821
  /** Index of the item within the request array. Allows for correlation between request and response items. */
@@ -1784,7 +1825,7 @@ interface ItemMetadata {
1784
1825
  /** Details about the error in case of failure. */
1785
1826
  error?: ApplicationError;
1786
1827
  }
1787
- interface ApplicationError {
1828
+ export interface ApplicationError {
1788
1829
  /** Error code. */
1789
1830
  code?: string;
1790
1831
  /** Description of the error. */
@@ -1792,7 +1833,7 @@ interface ApplicationError {
1792
1833
  /** Data related to the error. */
1793
1834
  data?: Record<string, any> | null;
1794
1835
  }
1795
- interface BulkActionMetadata {
1836
+ export interface BulkActionMetadata {
1796
1837
  /** Number of items that were successfully processed. */
1797
1838
  totalSuccesses?: number;
1798
1839
  /** Number of items that couldn't be processed. */
@@ -1800,18 +1841,3 @@ interface BulkActionMetadata {
1800
1841
  /** Number of failures without details because detailed failure threshold was exceeded. */
1801
1842
  undetailedFailures?: number;
1802
1843
  }
1803
-
1804
- type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1805
- getUrl: (context: any) => string;
1806
- httpMethod: K;
1807
- path: string;
1808
- pathParams: M;
1809
- __requestType: T;
1810
- __originalRequestType: S;
1811
- __responseType: Q;
1812
- __originalResponseType: R;
1813
- };
1814
- declare function machineTranslate(): __PublicMethodMetaInfo<'POST', {}, MachineTranslateRequest$1, MachineTranslateRequest, MachineTranslateResponse$1, MachineTranslateResponse>;
1815
- declare function bulkMachineTranslate(): __PublicMethodMetaInfo<'POST', {}, BulkMachineTranslateRequest$1, BulkMachineTranslateRequest, BulkMachineTranslateResponse$1, BulkMachineTranslateResponse>;
1816
-
1817
- export { type __PublicMethodMetaInfo, bulkMachineTranslate, machineTranslate };