@wix/auto_sdk_multilingual_machine-translation 1.0.8 → 1.0.10
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/src/multilingual-machine-v3-translatable-content-machine-translation.public.d.ts → index.d.mts} +13 -10
- package/build/{es/src/multilingual-machine-v3-translatable-content-machine-translation.public.d.ts → index.d.ts} +13 -10
- package/build/index.js +896 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +839 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/multilingual-machine-v3-translatable-content-machine-translation.public.d.ts → index.d.mts} +13 -10
- package/build/internal/{cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.d.ts → index.d.ts} +13 -10
- package/build/internal/index.js +896 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +839 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +1817 -0
- package/build/internal/meta.d.ts +1817 -0
- package/build/internal/meta.js +412 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +384 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.d.ts → internal/multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.d.mts} +169 -432
- package/build/internal/{cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.d.ts → multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.d.ts} +169 -432
- package/build/meta.d.mts +1817 -0
- package/build/meta.d.ts +1817 -0
- package/build/meta.js +412 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +384 -0
- package/build/meta.mjs.map +1 -0
- package/build/{internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.d.ts → multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.d.mts} +169 -432
- package/build/{es/src/multilingual-machine-v3-translatable-content-machine-translation.types.d.ts → multilingual-machine-v3-translatable-content-machine-translation.universal-DdGZM6gD.d.ts} +169 -432
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.d.ts +0 -6
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.js +0 -41
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.js.map +0 -1
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.d.ts +0 -49
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.js +0 -388
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.js.map +0 -1
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.d.ts +0 -14
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js +0 -66
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js.map +0 -1
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.js +0 -51
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.js.map +0 -1
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.js +0 -597
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.js.map +0 -1
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.d.ts +0 -2203
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js +0 -749
- package/build/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.d.ts +0 -6
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.js +0 -6
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.js.map +0 -1
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.d.ts +0 -49
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.js +0 -383
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.js.map +0 -1
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.d.ts +0 -14
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js +0 -38
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js.map +0 -1
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.public.js +0 -14
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.public.js.map +0 -1
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.js +0 -594
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.js.map +0 -1
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.d.ts +0 -2203
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js +0 -721
- package/build/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.d.ts +0 -6
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.js +0 -41
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.context.js.map +0 -1
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.d.ts +0 -49
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.js +0 -388
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.http.js.map +0 -1
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.d.ts +0 -14
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js +0 -66
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js.map +0 -1
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.js +0 -51
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.public.js.map +0 -1
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.js +0 -597
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.types.js.map +0 -1
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.d.ts +0 -2203
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js +0 -749
- package/build/internal/cjs/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.d.ts +0 -6
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.js +0 -6
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.context.js.map +0 -1
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.d.ts +0 -49
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.js +0 -383
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.http.js.map +0 -1
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.d.ts +0 -14
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js +0 -38
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.meta.js.map +0 -1
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.public.js +0 -14
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.public.js.map +0 -1
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.js +0 -594
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.types.js.map +0 -1
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.d.ts +0 -2203
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js +0 -721
- package/build/internal/es/src/multilingual-machine-v3-translatable-content-machine-translation.universal.js.map +0 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
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)
|
|
5
5
|
* to translate many.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
interface TranslatableContent extends TranslatableContentContentOneOf {
|
|
8
8
|
/**
|
|
9
9
|
* Plain text.
|
|
10
10
|
* @minLength 1
|
|
@@ -23,12 +23,12 @@ export interface TranslatableContent extends TranslatableContentContentOneOf {
|
|
|
23
23
|
* Translatable content ID. The ID should be unique to this content and doesn't need to match the ID used by any other service.
|
|
24
24
|
* @maxLength 512
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
_id?: string | null;
|
|
27
27
|
/** Format of the translatable content. */
|
|
28
28
|
format?: Format;
|
|
29
29
|
}
|
|
30
30
|
/** @oneof */
|
|
31
|
-
|
|
31
|
+
interface TranslatableContentContentOneOf {
|
|
32
32
|
/**
|
|
33
33
|
* Plain text.
|
|
34
34
|
* @minLength 1
|
|
@@ -44,7 +44,7 @@ export interface TranslatableContentContentOneOf {
|
|
|
44
44
|
/** Rich content. */
|
|
45
45
|
richContent?: RichContent;
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
declare enum Format {
|
|
48
48
|
/** Unspecified format. */
|
|
49
49
|
UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
|
|
50
50
|
/** Plain text content. */
|
|
@@ -54,7 +54,7 @@ export declare enum Format {
|
|
|
54
54
|
/** Rich Content. */
|
|
55
55
|
RICH = "RICH"
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
interface RichContent {
|
|
58
58
|
/** Node objects representing a rich content document. */
|
|
59
59
|
nodes?: Node[];
|
|
60
60
|
/** Object metadata. */
|
|
@@ -62,7 +62,7 @@ export interface RichContent {
|
|
|
62
62
|
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
|
63
63
|
documentStyle?: DocumentStyle;
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
interface Node extends NodeDataOneOf {
|
|
66
66
|
/** Data for a button node. */
|
|
67
67
|
buttonData?: ButtonData;
|
|
68
68
|
/** Data for a code block node. */
|
|
@@ -120,14 +120,14 @@ export interface Node extends NodeDataOneOf {
|
|
|
120
120
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
121
121
|
type?: NodeType;
|
|
122
122
|
/** Node ID. */
|
|
123
|
-
|
|
123
|
+
_id?: string;
|
|
124
124
|
/** A list of child nodes. */
|
|
125
125
|
nodes?: Node[];
|
|
126
126
|
/** Padding and background color styling for the node. */
|
|
127
127
|
style?: NodeStyle;
|
|
128
128
|
}
|
|
129
129
|
/** @oneof */
|
|
130
|
-
|
|
130
|
+
interface NodeDataOneOf {
|
|
131
131
|
/** Data for a button node. */
|
|
132
132
|
buttonData?: ButtonData;
|
|
133
133
|
/** Data for a code block node. */
|
|
@@ -183,7 +183,7 @@ export interface NodeDataOneOf {
|
|
|
183
183
|
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
|
184
184
|
layoutCellData?: LayoutCellData;
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
declare enum NodeType {
|
|
187
187
|
PARAGRAPH = "PARAGRAPH",
|
|
188
188
|
TEXT = "TEXT",
|
|
189
189
|
HEADING = "HEADING",
|
|
@@ -219,7 +219,7 @@ export declare enum NodeType {
|
|
|
219
219
|
LAYOUT = "LAYOUT",
|
|
220
220
|
LAYOUT_CELL = "LAYOUT_CELL"
|
|
221
221
|
}
|
|
222
|
-
|
|
222
|
+
interface NodeStyle {
|
|
223
223
|
/** The top padding value in pixels. */
|
|
224
224
|
paddingTop?: string | null;
|
|
225
225
|
/** The bottom padding value in pixels. */
|
|
@@ -227,7 +227,7 @@ export interface NodeStyle {
|
|
|
227
227
|
/** The background color as a hexadecimal value. */
|
|
228
228
|
backgroundColor?: string | null;
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
interface ButtonData {
|
|
231
231
|
/** Styling for the button's container. */
|
|
232
232
|
containerData?: PluginContainerData;
|
|
233
233
|
/** The button type. */
|
|
@@ -239,7 +239,7 @@ export interface ButtonData {
|
|
|
239
239
|
/** Button link details. */
|
|
240
240
|
link?: Link;
|
|
241
241
|
}
|
|
242
|
-
|
|
242
|
+
interface Border {
|
|
243
243
|
/**
|
|
244
244
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
245
245
|
* @deprecated
|
|
@@ -251,7 +251,7 @@ export interface Border {
|
|
|
251
251
|
*/
|
|
252
252
|
radius?: number | null;
|
|
253
253
|
}
|
|
254
|
-
|
|
254
|
+
interface Colors {
|
|
255
255
|
/**
|
|
256
256
|
* Deprecated: Use `textColor` in `styles` instead.
|
|
257
257
|
* @deprecated
|
|
@@ -268,7 +268,7 @@ export interface Colors {
|
|
|
268
268
|
*/
|
|
269
269
|
background?: string | null;
|
|
270
270
|
}
|
|
271
|
-
|
|
271
|
+
interface PluginContainerData {
|
|
272
272
|
/** The width of the node when it's displayed. */
|
|
273
273
|
width?: PluginContainerDataWidth;
|
|
274
274
|
/** The node's alignment within its container. */
|
|
@@ -280,7 +280,7 @@ export interface PluginContainerData {
|
|
|
280
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`. */
|
|
281
281
|
textWrap?: boolean | null;
|
|
282
282
|
}
|
|
283
|
-
|
|
283
|
+
declare enum WidthType {
|
|
284
284
|
/** Width matches the content width */
|
|
285
285
|
CONTENT = "CONTENT",
|
|
286
286
|
/** Small Width */
|
|
@@ -290,7 +290,7 @@ export declare enum WidthType {
|
|
|
290
290
|
/** coast-to-coast display */
|
|
291
291
|
FULL_WIDTH = "FULL_WIDTH"
|
|
292
292
|
}
|
|
293
|
-
|
|
293
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
|
294
294
|
/**
|
|
295
295
|
* One of the following predefined width options:
|
|
296
296
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -303,7 +303,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
|
|
|
303
303
|
custom?: string | null;
|
|
304
304
|
}
|
|
305
305
|
/** @oneof */
|
|
306
|
-
|
|
306
|
+
interface PluginContainerDataWidthDataOneOf {
|
|
307
307
|
/**
|
|
308
308
|
* One of the following predefined width options:
|
|
309
309
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -315,7 +315,7 @@ export interface PluginContainerDataWidthDataOneOf {
|
|
|
315
315
|
/** A custom width value in pixels. */
|
|
316
316
|
custom?: string | null;
|
|
317
317
|
}
|
|
318
|
-
|
|
318
|
+
declare enum PluginContainerDataAlignment {
|
|
319
319
|
/** Center Alignment */
|
|
320
320
|
CENTER = "CENTER",
|
|
321
321
|
/** Left Alignment */
|
|
@@ -323,7 +323,7 @@ export declare enum PluginContainerDataAlignment {
|
|
|
323
323
|
/** Right Alignment */
|
|
324
324
|
RIGHT = "RIGHT"
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
interface Spoiler {
|
|
327
327
|
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
|
328
328
|
enabled?: boolean | null;
|
|
329
329
|
/** The description displayed on top of the spoiler cover. */
|
|
@@ -331,17 +331,17 @@ export interface Spoiler {
|
|
|
331
331
|
/** The text for the button used to remove the spoiler cover. */
|
|
332
332
|
buttonText?: string | null;
|
|
333
333
|
}
|
|
334
|
-
|
|
334
|
+
interface Height {
|
|
335
335
|
/** A custom height value in pixels. */
|
|
336
336
|
custom?: string | null;
|
|
337
337
|
}
|
|
338
|
-
|
|
338
|
+
declare enum Type {
|
|
339
339
|
/** Regular link button */
|
|
340
340
|
LINK = "LINK",
|
|
341
341
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
342
342
|
ACTION = "ACTION"
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
interface Styles {
|
|
345
345
|
/**
|
|
346
346
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
347
347
|
* @deprecated
|
|
@@ -354,7 +354,10 @@ export interface Styles {
|
|
|
354
354
|
colors?: Colors;
|
|
355
355
|
/** Border width in pixels. */
|
|
356
356
|
borderWidth?: number | null;
|
|
357
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* Deprecated: Use `borderWidth` for normal/hover states instead.
|
|
359
|
+
* @deprecated
|
|
360
|
+
*/
|
|
358
361
|
borderWidthHover?: number | null;
|
|
359
362
|
/** Border radius in pixels. */
|
|
360
363
|
borderRadius?: number | null;
|
|
@@ -391,7 +394,7 @@ export interface Styles {
|
|
|
391
394
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
392
395
|
buttonSize?: string | null;
|
|
393
396
|
}
|
|
394
|
-
|
|
397
|
+
interface Link extends LinkDataOneOf {
|
|
395
398
|
/** The absolute URL for the linked document. */
|
|
396
399
|
url?: string;
|
|
397
400
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
@@ -410,13 +413,13 @@ export interface Link extends LinkDataOneOf {
|
|
|
410
413
|
customData?: string | null;
|
|
411
414
|
}
|
|
412
415
|
/** @oneof */
|
|
413
|
-
|
|
416
|
+
interface LinkDataOneOf {
|
|
414
417
|
/** The absolute URL for the linked document. */
|
|
415
418
|
url?: string;
|
|
416
419
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
417
420
|
anchor?: string;
|
|
418
421
|
}
|
|
419
|
-
|
|
422
|
+
declare enum Target {
|
|
420
423
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
421
424
|
SELF = "SELF",
|
|
422
425
|
/** Opens the linked document in a new window or tab */
|
|
@@ -426,7 +429,7 @@ export declare enum Target {
|
|
|
426
429
|
/** Opens the linked document in the full body of the window */
|
|
427
430
|
TOP = "TOP"
|
|
428
431
|
}
|
|
429
|
-
|
|
432
|
+
interface Rel {
|
|
430
433
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
|
431
434
|
nofollow?: boolean | null;
|
|
432
435
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
|
@@ -436,17 +439,17 @@ export interface Rel {
|
|
|
436
439
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
437
440
|
noreferrer?: boolean | null;
|
|
438
441
|
}
|
|
439
|
-
|
|
442
|
+
interface CodeBlockData {
|
|
440
443
|
/** Styling for the code block's text. */
|
|
441
444
|
textStyle?: TextStyle;
|
|
442
445
|
}
|
|
443
|
-
|
|
446
|
+
interface TextStyle {
|
|
444
447
|
/** Text alignment. Defaults to `AUTO`. */
|
|
445
448
|
textAlignment?: TextAlignment;
|
|
446
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. */
|
|
447
450
|
lineHeight?: string | null;
|
|
448
451
|
}
|
|
449
|
-
|
|
452
|
+
declare enum TextAlignment {
|
|
450
453
|
/** browser default, eqivalent to `initial` */
|
|
451
454
|
AUTO = "AUTO",
|
|
452
455
|
/** Left align */
|
|
@@ -458,7 +461,7 @@ export declare enum TextAlignment {
|
|
|
458
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 */
|
|
459
462
|
JUSTIFY = "JUSTIFY"
|
|
460
463
|
}
|
|
461
|
-
|
|
464
|
+
interface DividerData {
|
|
462
465
|
/** Styling for the divider's container. */
|
|
463
466
|
containerData?: PluginContainerData;
|
|
464
467
|
/** Divider line style. */
|
|
@@ -468,7 +471,7 @@ export interface DividerData {
|
|
|
468
471
|
/** Divider alignment. */
|
|
469
472
|
alignment?: Alignment;
|
|
470
473
|
}
|
|
471
|
-
|
|
474
|
+
declare enum LineStyle {
|
|
472
475
|
/** Single Line */
|
|
473
476
|
SINGLE = "SINGLE",
|
|
474
477
|
/** Double Line */
|
|
@@ -478,7 +481,7 @@ export declare enum LineStyle {
|
|
|
478
481
|
/** Dotted Line */
|
|
479
482
|
DOTTED = "DOTTED"
|
|
480
483
|
}
|
|
481
|
-
|
|
484
|
+
declare enum Width {
|
|
482
485
|
/** Large line */
|
|
483
486
|
LARGE = "LARGE",
|
|
484
487
|
/** Medium line */
|
|
@@ -486,7 +489,7 @@ export declare enum Width {
|
|
|
486
489
|
/** Small line */
|
|
487
490
|
SMALL = "SMALL"
|
|
488
491
|
}
|
|
489
|
-
|
|
492
|
+
declare enum Alignment {
|
|
490
493
|
/** Center alignment */
|
|
491
494
|
CENTER = "CENTER",
|
|
492
495
|
/** Left alignment */
|
|
@@ -494,7 +497,7 @@ export declare enum Alignment {
|
|
|
494
497
|
/** Right alignment */
|
|
495
498
|
RIGHT = "RIGHT"
|
|
496
499
|
}
|
|
497
|
-
|
|
500
|
+
interface FileData {
|
|
498
501
|
/** Styling for the file's container. */
|
|
499
502
|
containerData?: PluginContainerData;
|
|
500
503
|
/** The source for the file's data. */
|
|
@@ -517,7 +520,7 @@ export interface FileData {
|
|
|
517
520
|
/** File size in KB. */
|
|
518
521
|
sizeInKb?: string | null;
|
|
519
522
|
}
|
|
520
|
-
|
|
523
|
+
declare enum ViewMode {
|
|
521
524
|
/** No PDF view */
|
|
522
525
|
NONE = "NONE",
|
|
523
526
|
/** Full PDF view */
|
|
@@ -525,7 +528,7 @@ export declare enum ViewMode {
|
|
|
525
528
|
/** Mini PDF view */
|
|
526
529
|
MINI = "MINI"
|
|
527
530
|
}
|
|
528
|
-
|
|
531
|
+
interface FileSource extends FileSourceDataOneOf {
|
|
529
532
|
/** The absolute URL for the file's source. */
|
|
530
533
|
url?: string | null;
|
|
531
534
|
/**
|
|
@@ -534,12 +537,12 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
|
534
537
|
*/
|
|
535
538
|
custom?: string | null;
|
|
536
539
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
537
|
-
|
|
540
|
+
_id?: string | null;
|
|
538
541
|
/** Indicates whether the file's source is private. Defaults to `false`. */
|
|
539
542
|
private?: boolean | null;
|
|
540
543
|
}
|
|
541
544
|
/** @oneof */
|
|
542
|
-
|
|
545
|
+
interface FileSourceDataOneOf {
|
|
543
546
|
/** The absolute URL for the file's source. */
|
|
544
547
|
url?: string | null;
|
|
545
548
|
/**
|
|
@@ -548,9 +551,9 @@ export interface FileSourceDataOneOf {
|
|
|
548
551
|
*/
|
|
549
552
|
custom?: string | null;
|
|
550
553
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
551
|
-
|
|
554
|
+
_id?: string | null;
|
|
552
555
|
}
|
|
553
|
-
|
|
556
|
+
interface PDFSettings {
|
|
554
557
|
/**
|
|
555
558
|
* PDF view mode. One of the following:
|
|
556
559
|
* `NONE` : The PDF isn't displayed.
|
|
@@ -563,7 +566,7 @@ export interface PDFSettings {
|
|
|
563
566
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
|
564
567
|
disablePrint?: boolean | null;
|
|
565
568
|
}
|
|
566
|
-
|
|
569
|
+
interface GalleryData {
|
|
567
570
|
/** Styling for the gallery's container. */
|
|
568
571
|
containerData?: PluginContainerData;
|
|
569
572
|
/** The items in the gallery. */
|
|
@@ -575,7 +578,7 @@ export interface GalleryData {
|
|
|
575
578
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
576
579
|
disableDownload?: boolean | null;
|
|
577
580
|
}
|
|
578
|
-
|
|
581
|
+
interface Media {
|
|
579
582
|
/** The source for the media's data. */
|
|
580
583
|
src?: FileSource;
|
|
581
584
|
/** Media width in pixels. */
|
|
@@ -585,19 +588,19 @@ export interface Media {
|
|
|
585
588
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
|
586
589
|
duration?: number | null;
|
|
587
590
|
}
|
|
588
|
-
|
|
591
|
+
interface Image {
|
|
589
592
|
/** Image file details. */
|
|
590
593
|
media?: Media;
|
|
591
594
|
/** Link details for images that are links. */
|
|
592
595
|
link?: Link;
|
|
593
596
|
}
|
|
594
|
-
|
|
597
|
+
interface Video {
|
|
595
598
|
/** Video file details. */
|
|
596
599
|
media?: Media;
|
|
597
600
|
/** Video thumbnail file details. */
|
|
598
601
|
thumbnail?: Media;
|
|
599
602
|
}
|
|
600
|
-
|
|
603
|
+
interface Item extends ItemDataOneOf {
|
|
601
604
|
/** An image item. */
|
|
602
605
|
image?: Image;
|
|
603
606
|
/** A video item. */
|
|
@@ -608,13 +611,13 @@ export interface Item extends ItemDataOneOf {
|
|
|
608
611
|
altText?: string | null;
|
|
609
612
|
}
|
|
610
613
|
/** @oneof */
|
|
611
|
-
|
|
614
|
+
interface ItemDataOneOf {
|
|
612
615
|
/** An image item. */
|
|
613
616
|
image?: Image;
|
|
614
617
|
/** A video item. */
|
|
615
618
|
video?: Video;
|
|
616
619
|
}
|
|
617
|
-
|
|
620
|
+
interface GalleryOptions {
|
|
618
621
|
/** Gallery layout. */
|
|
619
622
|
layout?: Layout;
|
|
620
623
|
/** Styling for gallery items. */
|
|
@@ -622,7 +625,7 @@ export interface GalleryOptions {
|
|
|
622
625
|
/** Styling for gallery thumbnail images. */
|
|
623
626
|
thumbnails?: Thumbnails;
|
|
624
627
|
}
|
|
625
|
-
|
|
628
|
+
declare enum LayoutType {
|
|
626
629
|
/** Collage type */
|
|
627
630
|
COLLAGE = "COLLAGE",
|
|
628
631
|
/** Masonry type */
|
|
@@ -644,19 +647,19 @@ export declare enum LayoutType {
|
|
|
644
647
|
/** Fullsize images type */
|
|
645
648
|
FULLSIZE = "FULLSIZE"
|
|
646
649
|
}
|
|
647
|
-
|
|
650
|
+
declare enum Orientation {
|
|
648
651
|
/** Rows Orientation */
|
|
649
652
|
ROWS = "ROWS",
|
|
650
653
|
/** Columns Orientation */
|
|
651
654
|
COLUMNS = "COLUMNS"
|
|
652
655
|
}
|
|
653
|
-
|
|
656
|
+
declare enum Crop {
|
|
654
657
|
/** Crop to fill */
|
|
655
658
|
FILL = "FILL",
|
|
656
659
|
/** Crop to fit */
|
|
657
660
|
FIT = "FIT"
|
|
658
661
|
}
|
|
659
|
-
|
|
662
|
+
declare enum ThumbnailsAlignment {
|
|
660
663
|
/** Top alignment */
|
|
661
664
|
TOP = "TOP",
|
|
662
665
|
/** Right alignment */
|
|
@@ -668,7 +671,7 @@ export declare enum ThumbnailsAlignment {
|
|
|
668
671
|
/** No thumbnail */
|
|
669
672
|
NONE = "NONE"
|
|
670
673
|
}
|
|
671
|
-
|
|
674
|
+
interface Layout {
|
|
672
675
|
/** Gallery layout type. */
|
|
673
676
|
type?: LayoutType;
|
|
674
677
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -680,7 +683,7 @@ export interface Layout {
|
|
|
680
683
|
/** The number of columns to display on mobile screens. */
|
|
681
684
|
mobileNumberOfColumns?: number | null;
|
|
682
685
|
}
|
|
683
|
-
|
|
686
|
+
interface ItemStyle {
|
|
684
687
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
|
685
688
|
targetSize?: number | null;
|
|
686
689
|
/** Item ratio */
|
|
@@ -690,13 +693,13 @@ export interface ItemStyle {
|
|
|
690
693
|
/** The spacing between items in pixels. */
|
|
691
694
|
spacing?: number | null;
|
|
692
695
|
}
|
|
693
|
-
|
|
696
|
+
interface Thumbnails {
|
|
694
697
|
/** Thumbnail alignment. */
|
|
695
698
|
placement?: ThumbnailsAlignment;
|
|
696
699
|
/** Spacing between thumbnails in pixels. */
|
|
697
700
|
spacing?: number | null;
|
|
698
701
|
}
|
|
699
|
-
|
|
702
|
+
interface GIFData {
|
|
700
703
|
/** Styling for the GIF's container. */
|
|
701
704
|
containerData?: PluginContainerData;
|
|
702
705
|
/** The source of the full size GIF. */
|
|
@@ -710,7 +713,7 @@ export interface GIFData {
|
|
|
710
713
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
711
714
|
gifType?: GIFType;
|
|
712
715
|
}
|
|
713
|
-
|
|
716
|
+
interface GIF {
|
|
714
717
|
/**
|
|
715
718
|
* GIF format URL.
|
|
716
719
|
* @format WEB_URL
|
|
@@ -727,11 +730,11 @@ export interface GIF {
|
|
|
727
730
|
*/
|
|
728
731
|
still?: string | null;
|
|
729
732
|
}
|
|
730
|
-
|
|
733
|
+
declare enum GIFType {
|
|
731
734
|
NORMAL = "NORMAL",
|
|
732
735
|
STICKER = "STICKER"
|
|
733
736
|
}
|
|
734
|
-
|
|
737
|
+
interface HeadingData {
|
|
735
738
|
/** Heading level from 1-6. */
|
|
736
739
|
level?: number;
|
|
737
740
|
/** Styling for the heading text. */
|
|
@@ -739,7 +742,7 @@ export interface HeadingData {
|
|
|
739
742
|
/** Indentation level from 1-4. */
|
|
740
743
|
indentation?: number | null;
|
|
741
744
|
}
|
|
742
|
-
|
|
745
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
|
743
746
|
/** The URL for the HTML code for the node. */
|
|
744
747
|
url?: string;
|
|
745
748
|
/** The HTML code for the node. */
|
|
@@ -757,7 +760,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
|
757
760
|
autoHeight?: boolean | null;
|
|
758
761
|
}
|
|
759
762
|
/** @oneof */
|
|
760
|
-
|
|
763
|
+
interface HTMLDataDataOneOf {
|
|
761
764
|
/** The URL for the HTML code for the node. */
|
|
762
765
|
url?: string;
|
|
763
766
|
/** The HTML code for the node. */
|
|
@@ -768,11 +771,11 @@ export interface HTMLDataDataOneOf {
|
|
|
768
771
|
*/
|
|
769
772
|
isAdsense?: boolean | null;
|
|
770
773
|
}
|
|
771
|
-
|
|
774
|
+
declare enum Source {
|
|
772
775
|
HTML = "HTML",
|
|
773
776
|
ADSENSE = "ADSENSE"
|
|
774
777
|
}
|
|
775
|
-
|
|
778
|
+
interface ImageData {
|
|
776
779
|
/** Styling for the image's container. */
|
|
777
780
|
containerData?: PluginContainerData;
|
|
778
781
|
/** Image file details. */
|
|
@@ -795,7 +798,7 @@ export interface ImageData {
|
|
|
795
798
|
/** Styling for the image. */
|
|
796
799
|
styles?: ImageDataStyles;
|
|
797
800
|
}
|
|
798
|
-
|
|
801
|
+
interface StylesBorder {
|
|
799
802
|
/** Border width in pixels. */
|
|
800
803
|
width?: number | null;
|
|
801
804
|
/**
|
|
@@ -806,11 +809,11 @@ export interface StylesBorder {
|
|
|
806
809
|
/** Border radius in pixels. */
|
|
807
810
|
radius?: number | null;
|
|
808
811
|
}
|
|
809
|
-
|
|
812
|
+
interface ImageDataStyles {
|
|
810
813
|
/** Border attributes. */
|
|
811
814
|
border?: StylesBorder;
|
|
812
815
|
}
|
|
813
|
-
|
|
816
|
+
interface LinkPreviewData {
|
|
814
817
|
/** Styling for the link preview's container. */
|
|
815
818
|
containerData?: PluginContainerData;
|
|
816
819
|
/** Link details. */
|
|
@@ -826,7 +829,7 @@ export interface LinkPreviewData {
|
|
|
826
829
|
/** Styling for the link preview. */
|
|
827
830
|
styles?: LinkPreviewDataStyles;
|
|
828
831
|
}
|
|
829
|
-
|
|
832
|
+
declare enum Position {
|
|
830
833
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
831
834
|
START = "START",
|
|
832
835
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -836,7 +839,7 @@ export declare enum Position {
|
|
|
836
839
|
/** Thumbnail hidden and not displayed */
|
|
837
840
|
HIDDEN = "HIDDEN"
|
|
838
841
|
}
|
|
839
|
-
|
|
842
|
+
interface LinkPreviewDataStyles {
|
|
840
843
|
/**
|
|
841
844
|
* Background color as a hexadecimal value.
|
|
842
845
|
* @format COLOR_HEX
|
|
@@ -869,13 +872,13 @@ export interface LinkPreviewDataStyles {
|
|
|
869
872
|
/** Position of thumbnail. Defaults to `START`. */
|
|
870
873
|
thumbnailPosition?: Position;
|
|
871
874
|
}
|
|
872
|
-
|
|
875
|
+
interface MapData {
|
|
873
876
|
/** Styling for the map's container. */
|
|
874
877
|
containerData?: PluginContainerData;
|
|
875
878
|
/** Map settings. */
|
|
876
879
|
mapSettings?: MapSettings;
|
|
877
880
|
}
|
|
878
|
-
|
|
881
|
+
interface MapSettings {
|
|
879
882
|
/** The address to display on the map. */
|
|
880
883
|
address?: string | null;
|
|
881
884
|
/** Sets whether the map is draggable. */
|
|
@@ -899,7 +902,7 @@ export interface MapSettings {
|
|
|
899
902
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
|
900
903
|
mapType?: MapType;
|
|
901
904
|
}
|
|
902
|
-
|
|
905
|
+
declare enum MapType {
|
|
903
906
|
/** Roadmap map type */
|
|
904
907
|
ROADMAP = "ROADMAP",
|
|
905
908
|
/** Satellite map type */
|
|
@@ -909,7 +912,7 @@ export declare enum MapType {
|
|
|
909
912
|
/** Terrain map type */
|
|
910
913
|
TERRAIN = "TERRAIN"
|
|
911
914
|
}
|
|
912
|
-
|
|
915
|
+
interface ParagraphData {
|
|
913
916
|
/** Styling for the paragraph text. */
|
|
914
917
|
textStyle?: TextStyle;
|
|
915
918
|
/** Indentation level from 1-4. */
|
|
@@ -917,7 +920,7 @@ export interface ParagraphData {
|
|
|
917
920
|
/** Paragraph level */
|
|
918
921
|
level?: number | null;
|
|
919
922
|
}
|
|
920
|
-
|
|
923
|
+
interface PollData {
|
|
921
924
|
/** Styling for the poll's container. */
|
|
922
925
|
containerData?: PluginContainerData;
|
|
923
926
|
/** Poll data. */
|
|
@@ -927,7 +930,7 @@ export interface PollData {
|
|
|
927
930
|
/** Styling for the poll and voting options. */
|
|
928
931
|
design?: Design;
|
|
929
932
|
}
|
|
930
|
-
|
|
933
|
+
declare enum ViewRole {
|
|
931
934
|
/** Only Poll creator can view the results */
|
|
932
935
|
CREATOR = "CREATOR",
|
|
933
936
|
/** Anyone who voted can see the results */
|
|
@@ -935,13 +938,13 @@ export declare enum ViewRole {
|
|
|
935
938
|
/** Anyone can see the results, even if one didn't vote */
|
|
936
939
|
EVERYONE = "EVERYONE"
|
|
937
940
|
}
|
|
938
|
-
|
|
941
|
+
declare enum VoteRole {
|
|
939
942
|
/** Logged in member */
|
|
940
943
|
SITE_MEMBERS = "SITE_MEMBERS",
|
|
941
944
|
/** Anyone */
|
|
942
945
|
ALL = "ALL"
|
|
943
946
|
}
|
|
944
|
-
|
|
947
|
+
interface Permissions {
|
|
945
948
|
/** Sets who can view the poll results. */
|
|
946
949
|
view?: ViewRole;
|
|
947
950
|
/** Sets who can vote. */
|
|
@@ -949,15 +952,15 @@ export interface Permissions {
|
|
|
949
952
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
|
950
953
|
allowMultipleVotes?: boolean | null;
|
|
951
954
|
}
|
|
952
|
-
|
|
955
|
+
interface Option {
|
|
953
956
|
/** Option ID. */
|
|
954
|
-
|
|
957
|
+
_id?: string | null;
|
|
955
958
|
/** Option title. */
|
|
956
959
|
title?: string | null;
|
|
957
960
|
/** The image displayed with the option. */
|
|
958
961
|
image?: Media;
|
|
959
962
|
}
|
|
960
|
-
|
|
963
|
+
interface Settings {
|
|
961
964
|
/** Permissions settings for voting. */
|
|
962
965
|
permissions?: Permissions;
|
|
963
966
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
|
@@ -965,19 +968,19 @@ export interface Settings {
|
|
|
965
968
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
|
966
969
|
showVotesCount?: boolean | null;
|
|
967
970
|
}
|
|
968
|
-
|
|
971
|
+
declare enum PollLayoutType {
|
|
969
972
|
/** List */
|
|
970
973
|
LIST = "LIST",
|
|
971
974
|
/** Grid */
|
|
972
975
|
GRID = "GRID"
|
|
973
976
|
}
|
|
974
|
-
|
|
977
|
+
declare enum PollLayoutDirection {
|
|
975
978
|
/** Left-to-right */
|
|
976
979
|
LTR = "LTR",
|
|
977
980
|
/** Right-to-left */
|
|
978
981
|
RTL = "RTL"
|
|
979
982
|
}
|
|
980
|
-
|
|
983
|
+
interface PollLayout {
|
|
981
984
|
/** The layout for displaying the voting options. */
|
|
982
985
|
type?: PollLayoutType;
|
|
983
986
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
|
@@ -985,11 +988,11 @@ export interface PollLayout {
|
|
|
985
988
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
|
986
989
|
enableImage?: boolean | null;
|
|
987
990
|
}
|
|
988
|
-
|
|
991
|
+
interface OptionLayout {
|
|
989
992
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
990
993
|
enableImage?: boolean | null;
|
|
991
994
|
}
|
|
992
|
-
|
|
995
|
+
declare enum BackgroundType {
|
|
993
996
|
/** Color background type */
|
|
994
997
|
COLOR = "COLOR",
|
|
995
998
|
/** Image background type */
|
|
@@ -997,7 +1000,7 @@ export declare enum BackgroundType {
|
|
|
997
1000
|
/** Gradiant background type */
|
|
998
1001
|
GRADIENT = "GRADIENT"
|
|
999
1002
|
}
|
|
1000
|
-
|
|
1003
|
+
interface Gradient {
|
|
1001
1004
|
/** The gradient angle in degrees. */
|
|
1002
1005
|
angle?: number | null;
|
|
1003
1006
|
/**
|
|
@@ -1011,7 +1014,7 @@ export interface Gradient {
|
|
|
1011
1014
|
*/
|
|
1012
1015
|
lastColor?: string | null;
|
|
1013
1016
|
}
|
|
1014
|
-
|
|
1017
|
+
interface Background extends BackgroundBackgroundOneOf {
|
|
1015
1018
|
/**
|
|
1016
1019
|
* The background color as a hexademical value.
|
|
1017
1020
|
* @format COLOR_HEX
|
|
@@ -1025,7 +1028,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
|
1025
1028
|
type?: BackgroundType;
|
|
1026
1029
|
}
|
|
1027
1030
|
/** @oneof */
|
|
1028
|
-
|
|
1031
|
+
interface BackgroundBackgroundOneOf {
|
|
1029
1032
|
/**
|
|
1030
1033
|
* The background color as a hexademical value.
|
|
1031
1034
|
* @format COLOR_HEX
|
|
@@ -1036,19 +1039,19 @@ export interface BackgroundBackgroundOneOf {
|
|
|
1036
1039
|
/** Details for a gradient background. */
|
|
1037
1040
|
gradient?: Gradient;
|
|
1038
1041
|
}
|
|
1039
|
-
|
|
1042
|
+
interface PollDesign {
|
|
1040
1043
|
/** Background styling. */
|
|
1041
1044
|
background?: Background;
|
|
1042
1045
|
/** Border radius in pixels. */
|
|
1043
1046
|
borderRadius?: number | null;
|
|
1044
1047
|
}
|
|
1045
|
-
|
|
1048
|
+
interface OptionDesign {
|
|
1046
1049
|
/** Border radius in pixels. */
|
|
1047
1050
|
borderRadius?: number | null;
|
|
1048
1051
|
}
|
|
1049
|
-
|
|
1052
|
+
interface Poll {
|
|
1050
1053
|
/** Poll ID. */
|
|
1051
|
-
|
|
1054
|
+
_id?: string | null;
|
|
1052
1055
|
/** Poll title. */
|
|
1053
1056
|
title?: string | null;
|
|
1054
1057
|
/** Poll creator ID. */
|
|
@@ -1060,26 +1063,26 @@ export interface Poll {
|
|
|
1060
1063
|
/** The poll's permissions and display settings. */
|
|
1061
1064
|
settings?: Settings;
|
|
1062
1065
|
}
|
|
1063
|
-
|
|
1066
|
+
interface PollDataLayout {
|
|
1064
1067
|
/** Poll layout settings. */
|
|
1065
1068
|
poll?: PollLayout;
|
|
1066
1069
|
/** Voting otpions layout settings. */
|
|
1067
1070
|
options?: OptionLayout;
|
|
1068
1071
|
}
|
|
1069
|
-
|
|
1072
|
+
interface Design {
|
|
1070
1073
|
/** Styling for the poll. */
|
|
1071
1074
|
poll?: PollDesign;
|
|
1072
1075
|
/** Styling for voting options. */
|
|
1073
1076
|
options?: OptionDesign;
|
|
1074
1077
|
}
|
|
1075
|
-
|
|
1078
|
+
interface TextData {
|
|
1076
1079
|
/** The text to apply decorations to. */
|
|
1077
1080
|
text?: string;
|
|
1078
1081
|
/** The decorations to apply. */
|
|
1079
1082
|
decorations?: Decoration[];
|
|
1080
1083
|
}
|
|
1081
1084
|
/** Adds appearence changes to text */
|
|
1082
|
-
|
|
1085
|
+
interface Decoration extends DecorationDataOneOf {
|
|
1083
1086
|
/** Data for an anchor link decoration. */
|
|
1084
1087
|
anchorData?: AnchorData;
|
|
1085
1088
|
/** Data for a color decoration. */
|
|
@@ -1102,7 +1105,7 @@ export interface Decoration extends DecorationDataOneOf {
|
|
|
1102
1105
|
type?: DecorationType;
|
|
1103
1106
|
}
|
|
1104
1107
|
/** @oneof */
|
|
1105
|
-
|
|
1108
|
+
interface DecorationDataOneOf {
|
|
1106
1109
|
/** Data for an anchor link decoration. */
|
|
1107
1110
|
anchorData?: AnchorData;
|
|
1108
1111
|
/** Data for a color decoration. */
|
|
@@ -1122,7 +1125,7 @@ export interface DecorationDataOneOf {
|
|
|
1122
1125
|
/** Data for a spoiler decoration. */
|
|
1123
1126
|
spoilerData?: SpoilerData;
|
|
1124
1127
|
}
|
|
1125
|
-
|
|
1128
|
+
declare enum DecorationType {
|
|
1126
1129
|
BOLD = "BOLD",
|
|
1127
1130
|
ITALIC = "ITALIC",
|
|
1128
1131
|
UNDERLINE = "UNDERLINE",
|
|
@@ -1134,43 +1137,43 @@ export declare enum DecorationType {
|
|
|
1134
1137
|
FONT_SIZE = "FONT_SIZE",
|
|
1135
1138
|
EXTERNAL = "EXTERNAL"
|
|
1136
1139
|
}
|
|
1137
|
-
|
|
1140
|
+
interface AnchorData {
|
|
1138
1141
|
/** The target node's ID. */
|
|
1139
1142
|
anchor?: string;
|
|
1140
1143
|
}
|
|
1141
|
-
|
|
1144
|
+
interface ColorData {
|
|
1142
1145
|
/** The text's background color as a hexadecimal value. */
|
|
1143
1146
|
background?: string | null;
|
|
1144
1147
|
/** The text's foreground color as a hexadecimal value. */
|
|
1145
1148
|
foreground?: string | null;
|
|
1146
1149
|
}
|
|
1147
|
-
|
|
1150
|
+
interface LinkData {
|
|
1148
1151
|
/** Link details. */
|
|
1149
1152
|
link?: Link;
|
|
1150
1153
|
}
|
|
1151
|
-
|
|
1154
|
+
interface MentionData {
|
|
1152
1155
|
/** The mentioned user's name. */
|
|
1153
1156
|
name?: string;
|
|
1154
1157
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
|
1155
1158
|
slug?: string;
|
|
1156
1159
|
/** Mentioned user's ID. */
|
|
1157
|
-
|
|
1160
|
+
_id?: string | null;
|
|
1158
1161
|
}
|
|
1159
|
-
|
|
1162
|
+
interface FontSizeData {
|
|
1160
1163
|
/** The units used for the font size. */
|
|
1161
1164
|
unit?: FontType;
|
|
1162
1165
|
/** Font size value. */
|
|
1163
1166
|
value?: number | null;
|
|
1164
1167
|
}
|
|
1165
|
-
|
|
1168
|
+
declare enum FontType {
|
|
1166
1169
|
PX = "PX",
|
|
1167
1170
|
EM = "EM"
|
|
1168
1171
|
}
|
|
1169
|
-
|
|
1172
|
+
interface SpoilerData {
|
|
1170
1173
|
/** Spoiler ID. */
|
|
1171
|
-
|
|
1174
|
+
_id?: string | null;
|
|
1172
1175
|
}
|
|
1173
|
-
|
|
1176
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1174
1177
|
/** Data for embedded Wix Bookings content. */
|
|
1175
1178
|
bookingData?: BookingData;
|
|
1176
1179
|
/** Data for embedded Wix Events content. */
|
|
@@ -1192,28 +1195,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1192
1195
|
image?: Media;
|
|
1193
1196
|
}
|
|
1194
1197
|
/** @oneof */
|
|
1195
|
-
|
|
1198
|
+
interface AppEmbedDataAppDataOneOf {
|
|
1196
1199
|
/** Data for embedded Wix Bookings content. */
|
|
1197
1200
|
bookingData?: BookingData;
|
|
1198
1201
|
/** Data for embedded Wix Events content. */
|
|
1199
1202
|
eventData?: EventData;
|
|
1200
1203
|
}
|
|
1201
|
-
|
|
1204
|
+
declare enum AppType {
|
|
1202
1205
|
PRODUCT = "PRODUCT",
|
|
1203
1206
|
EVENT = "EVENT",
|
|
1204
1207
|
BOOKING = "BOOKING"
|
|
1205
1208
|
}
|
|
1206
|
-
|
|
1209
|
+
interface BookingData {
|
|
1207
1210
|
/** Booking duration in minutes. */
|
|
1208
1211
|
durations?: string | null;
|
|
1209
1212
|
}
|
|
1210
|
-
|
|
1213
|
+
interface EventData {
|
|
1211
1214
|
/** Event schedule. */
|
|
1212
1215
|
scheduling?: string | null;
|
|
1213
1216
|
/** Event location. */
|
|
1214
1217
|
location?: string | null;
|
|
1215
1218
|
}
|
|
1216
|
-
|
|
1219
|
+
interface VideoData {
|
|
1217
1220
|
/** Styling for the video's container. */
|
|
1218
1221
|
containerData?: PluginContainerData;
|
|
1219
1222
|
/** Video details. */
|
|
@@ -1227,7 +1230,7 @@ export interface VideoData {
|
|
|
1227
1230
|
/** Video options. */
|
|
1228
1231
|
options?: PlaybackOptions;
|
|
1229
1232
|
}
|
|
1230
|
-
|
|
1233
|
+
interface PlaybackOptions {
|
|
1231
1234
|
/** Sets whether the media will automatically start playing. */
|
|
1232
1235
|
autoPlay?: boolean | null;
|
|
1233
1236
|
/** Sets whether media's will be looped. */
|
|
@@ -1235,7 +1238,7 @@ export interface PlaybackOptions {
|
|
|
1235
1238
|
/** Sets whether media's controls will be shown. */
|
|
1236
1239
|
showControls?: boolean | null;
|
|
1237
1240
|
}
|
|
1238
|
-
|
|
1241
|
+
interface EmbedData {
|
|
1239
1242
|
/** Styling for the oEmbed node's container. */
|
|
1240
1243
|
containerData?: PluginContainerData;
|
|
1241
1244
|
/** An [oEmbed](https://www.oembed.com) object. */
|
|
@@ -1243,7 +1246,7 @@ export interface EmbedData {
|
|
|
1243
1246
|
/** Origin asset source. */
|
|
1244
1247
|
src?: string | null;
|
|
1245
1248
|
}
|
|
1246
|
-
|
|
1249
|
+
interface Oembed {
|
|
1247
1250
|
/** The resource type. */
|
|
1248
1251
|
type?: string | null;
|
|
1249
1252
|
/** The width of the resource specified in the `url` property in pixels. */
|
|
@@ -1275,7 +1278,7 @@ export interface Oembed {
|
|
|
1275
1278
|
/** The oEmbed version number. This value must be `1.0`. */
|
|
1276
1279
|
version?: string | null;
|
|
1277
1280
|
}
|
|
1278
|
-
|
|
1281
|
+
interface CollapsibleListData {
|
|
1279
1282
|
/** Styling for the collapsible list's container. */
|
|
1280
1283
|
containerData?: PluginContainerData;
|
|
1281
1284
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
|
@@ -1287,7 +1290,7 @@ export interface CollapsibleListData {
|
|
|
1287
1290
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
1288
1291
|
isQapageData?: boolean | null;
|
|
1289
1292
|
}
|
|
1290
|
-
|
|
1293
|
+
declare enum InitialExpandedItems {
|
|
1291
1294
|
/** First item will be expended initally */
|
|
1292
1295
|
FIRST = "FIRST",
|
|
1293
1296
|
/** All items will expended initally */
|
|
@@ -1295,13 +1298,13 @@ export declare enum InitialExpandedItems {
|
|
|
1295
1298
|
/** All items collapsed initally */
|
|
1296
1299
|
NONE = "NONE"
|
|
1297
1300
|
}
|
|
1298
|
-
|
|
1301
|
+
declare enum Direction {
|
|
1299
1302
|
/** Left-to-right */
|
|
1300
1303
|
LTR = "LTR",
|
|
1301
1304
|
/** Right-to-left */
|
|
1302
1305
|
RTL = "RTL"
|
|
1303
1306
|
}
|
|
1304
|
-
|
|
1307
|
+
interface TableData {
|
|
1305
1308
|
/** Styling for the table's container. */
|
|
1306
1309
|
containerData?: PluginContainerData;
|
|
1307
1310
|
/** The table's dimensions. */
|
|
@@ -1316,7 +1319,7 @@ export interface TableData {
|
|
|
1316
1319
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
1317
1320
|
columnHeader?: boolean | null;
|
|
1318
1321
|
}
|
|
1319
|
-
|
|
1322
|
+
interface Dimensions {
|
|
1320
1323
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
1321
1324
|
colsWidthRatio?: number[];
|
|
1322
1325
|
/** An array representing the height of each row in pixels. */
|
|
@@ -1324,13 +1327,13 @@ export interface Dimensions {
|
|
|
1324
1327
|
/** An array representing the minimum width of each column in pixels. */
|
|
1325
1328
|
colsMinWidth?: number[];
|
|
1326
1329
|
}
|
|
1327
|
-
|
|
1330
|
+
interface TableCellData {
|
|
1328
1331
|
/** Styling for the cell's background color and text alignment. */
|
|
1329
1332
|
cellStyle?: CellStyle;
|
|
1330
1333
|
/** The cell's border colors. */
|
|
1331
1334
|
borderColors?: BorderColors;
|
|
1332
1335
|
}
|
|
1333
|
-
|
|
1336
|
+
declare enum VerticalAlignment {
|
|
1334
1337
|
/** Top alignment */
|
|
1335
1338
|
TOP = "TOP",
|
|
1336
1339
|
/** Middle alignment */
|
|
@@ -1338,7 +1341,7 @@ export declare enum VerticalAlignment {
|
|
|
1338
1341
|
/** Bottom alignment */
|
|
1339
1342
|
BOTTOM = "BOTTOM"
|
|
1340
1343
|
}
|
|
1341
|
-
|
|
1344
|
+
interface CellStyle {
|
|
1342
1345
|
/** Vertical alignment for the cell's text. */
|
|
1343
1346
|
verticalAlignment?: VerticalAlignment;
|
|
1344
1347
|
/**
|
|
@@ -1347,7 +1350,7 @@ export interface CellStyle {
|
|
|
1347
1350
|
*/
|
|
1348
1351
|
backgroundColor?: string | null;
|
|
1349
1352
|
}
|
|
1350
|
-
|
|
1353
|
+
interface BorderColors {
|
|
1351
1354
|
/**
|
|
1352
1355
|
* Left border color as a hexadecimal value.
|
|
1353
1356
|
* @format COLOR_HEX
|
|
@@ -1375,7 +1378,7 @@ export interface BorderColors {
|
|
|
1375
1378
|
*
|
|
1376
1379
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
1377
1380
|
*/
|
|
1378
|
-
|
|
1381
|
+
declare enum NullValue {
|
|
1379
1382
|
/** Null value. */
|
|
1380
1383
|
NULL_VALUE = "NULL_VALUE"
|
|
1381
1384
|
}
|
|
@@ -1384,11 +1387,11 @@ export declare enum NullValue {
|
|
|
1384
1387
|
*
|
|
1385
1388
|
* The JSON representation for `ListValue` is JSON array.
|
|
1386
1389
|
*/
|
|
1387
|
-
|
|
1390
|
+
interface ListValue {
|
|
1388
1391
|
/** Repeated field of dynamically typed values. */
|
|
1389
1392
|
values?: any[];
|
|
1390
1393
|
}
|
|
1391
|
-
|
|
1394
|
+
interface AudioData {
|
|
1392
1395
|
/** Styling for the audio node's container. */
|
|
1393
1396
|
containerData?: PluginContainerData;
|
|
1394
1397
|
/** Audio file details. */
|
|
@@ -1404,7 +1407,7 @@ export interface AudioData {
|
|
|
1404
1407
|
/** An HTML version of the audio node. */
|
|
1405
1408
|
html?: string | null;
|
|
1406
1409
|
}
|
|
1407
|
-
|
|
1410
|
+
interface OrderedListData {
|
|
1408
1411
|
/** Indentation level from 0-4. */
|
|
1409
1412
|
indentation?: number;
|
|
1410
1413
|
/** Offset level from 0-4. */
|
|
@@ -1412,24 +1415,24 @@ export interface OrderedListData {
|
|
|
1412
1415
|
/** List start number. */
|
|
1413
1416
|
start?: number | null;
|
|
1414
1417
|
}
|
|
1415
|
-
|
|
1418
|
+
interface BulletedListData {
|
|
1416
1419
|
/** Indentation level from 0-4. */
|
|
1417
1420
|
indentation?: number;
|
|
1418
1421
|
/** Offset level from 0-4. */
|
|
1419
1422
|
offset?: number | null;
|
|
1420
1423
|
}
|
|
1421
|
-
|
|
1424
|
+
interface BlockquoteData {
|
|
1422
1425
|
/** Indentation level from 1-4. */
|
|
1423
1426
|
indentation?: number;
|
|
1424
1427
|
}
|
|
1425
|
-
|
|
1428
|
+
interface CaptionData {
|
|
1426
1429
|
textStyle?: TextStyle;
|
|
1427
1430
|
}
|
|
1428
|
-
|
|
1431
|
+
interface LayoutCellData {
|
|
1429
1432
|
/** Size of the cell in 12 columns grid. */
|
|
1430
1433
|
colSpan?: number | null;
|
|
1431
1434
|
}
|
|
1432
|
-
|
|
1435
|
+
interface Metadata {
|
|
1433
1436
|
/** Schema version. */
|
|
1434
1437
|
version?: number;
|
|
1435
1438
|
/**
|
|
@@ -1444,9 +1447,9 @@ export interface Metadata {
|
|
|
1444
1447
|
*/
|
|
1445
1448
|
updatedTimestamp?: Date | null;
|
|
1446
1449
|
/** Object ID. */
|
|
1447
|
-
|
|
1450
|
+
_id?: string | null;
|
|
1448
1451
|
}
|
|
1449
|
-
|
|
1452
|
+
interface DocumentStyle {
|
|
1450
1453
|
/** Styling for H1 nodes. */
|
|
1451
1454
|
headerOne?: TextNodeStyle;
|
|
1452
1455
|
/** Styling for H2 nodes. */
|
|
@@ -1466,7 +1469,7 @@ export interface DocumentStyle {
|
|
|
1466
1469
|
/** Styling for code block nodes. */
|
|
1467
1470
|
codeBlock?: TextNodeStyle;
|
|
1468
1471
|
}
|
|
1469
|
-
|
|
1472
|
+
interface TextNodeStyle {
|
|
1470
1473
|
/** The decorations to apply to the node. */
|
|
1471
1474
|
decorations?: Decoration[];
|
|
1472
1475
|
/** Padding and background color for the node. */
|
|
@@ -1474,7 +1477,7 @@ export interface TextNodeStyle {
|
|
|
1474
1477
|
/** Line height for text in the node. */
|
|
1475
1478
|
lineHeight?: string | null;
|
|
1476
1479
|
}
|
|
1477
|
-
|
|
1480
|
+
interface MachineTranslateRequest {
|
|
1478
1481
|
/** Language of the source text to translate. */
|
|
1479
1482
|
sourceLanguage: SupportedLanguage;
|
|
1480
1483
|
/** Language to translate text into. */
|
|
@@ -1482,7 +1485,7 @@ export interface MachineTranslateRequest {
|
|
|
1482
1485
|
/** The content to translate. */
|
|
1483
1486
|
contentToTranslate: TranslatableContent;
|
|
1484
1487
|
}
|
|
1485
|
-
|
|
1488
|
+
declare enum SupportedLanguage {
|
|
1486
1489
|
/** Undefined Language */
|
|
1487
1490
|
UNDEFINED_SUPPORTED_LANGUAGE = "UNDEFINED_SUPPORTED_LANGUAGE",
|
|
1488
1491
|
/** Afrikaans */
|
|
@@ -1756,30 +1759,30 @@ export declare enum SupportedLanguage {
|
|
|
1756
1759
|
/** Zulu */
|
|
1757
1760
|
ZU = "ZU"
|
|
1758
1761
|
}
|
|
1759
|
-
|
|
1762
|
+
interface MachineTranslateResponse {
|
|
1760
1763
|
/** The translated content. */
|
|
1761
1764
|
translatedContent?: TranslatableContent;
|
|
1762
1765
|
}
|
|
1763
|
-
|
|
1766
|
+
interface NotEnoughCreditsError {
|
|
1764
1767
|
/** The number of credits required to translate the content in the request. */
|
|
1765
1768
|
creditsRequired?: number;
|
|
1766
1769
|
}
|
|
1767
|
-
|
|
1770
|
+
interface TextTooLongError {
|
|
1768
1771
|
/** The maximum length of text that can be translated. */
|
|
1769
1772
|
maxLength?: number;
|
|
1770
1773
|
/** The actual length of the text that was sent for translation. */
|
|
1771
1774
|
actualLength?: number;
|
|
1772
1775
|
}
|
|
1773
|
-
|
|
1776
|
+
interface UnknownFormatError {
|
|
1774
1777
|
}
|
|
1775
|
-
|
|
1778
|
+
interface SameLanguageArgumentsError {
|
|
1776
1779
|
/**
|
|
1777
1780
|
* The language supplied as both the source and the target languages
|
|
1778
1781
|
* @maxLength 16
|
|
1779
1782
|
*/
|
|
1780
1783
|
language?: string;
|
|
1781
1784
|
}
|
|
1782
|
-
|
|
1785
|
+
interface BulkMachineTranslateRequest {
|
|
1783
1786
|
/** Language of the source text to translate. */
|
|
1784
1787
|
sourceLanguage: SupportedLanguage;
|
|
1785
1788
|
/** Language to translate text into. */
|
|
@@ -1791,7 +1794,7 @@ export interface BulkMachineTranslateRequest {
|
|
|
1791
1794
|
*/
|
|
1792
1795
|
contentToTranslate?: TranslatableContent[];
|
|
1793
1796
|
}
|
|
1794
|
-
|
|
1797
|
+
interface BulkMachineTranslateResponse {
|
|
1795
1798
|
/**
|
|
1796
1799
|
* List of results for each item in the bulk request.
|
|
1797
1800
|
* @minSize 1
|
|
@@ -1801,15 +1804,15 @@ export interface BulkMachineTranslateResponse {
|
|
|
1801
1804
|
/** Metadata for the overall bulk action, including success and failure counts. */
|
|
1802
1805
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1803
1806
|
}
|
|
1804
|
-
|
|
1807
|
+
interface BulkTranslateResult {
|
|
1805
1808
|
/** Metadata for the individual item in the request. */
|
|
1806
1809
|
itemMetadata?: ItemMetadata;
|
|
1807
1810
|
/** The translated content. */
|
|
1808
1811
|
item?: TranslatableContent;
|
|
1809
1812
|
}
|
|
1810
|
-
|
|
1813
|
+
interface ItemMetadata {
|
|
1811
1814
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1812
|
-
|
|
1815
|
+
_id?: string | null;
|
|
1813
1816
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1814
1817
|
originalIndex?: number;
|
|
1815
1818
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -1817,7 +1820,7 @@ export interface ItemMetadata {
|
|
|
1817
1820
|
/** Details about the error in case of failure. */
|
|
1818
1821
|
error?: ApplicationError;
|
|
1819
1822
|
}
|
|
1820
|
-
|
|
1823
|
+
interface ApplicationError {
|
|
1821
1824
|
/** Error code. */
|
|
1822
1825
|
code?: string;
|
|
1823
1826
|
/** Description of the error. */
|
|
@@ -1825,7 +1828,7 @@ export interface ApplicationError {
|
|
|
1825
1828
|
/** Data related to the error. */
|
|
1826
1829
|
data?: Record<string, any> | null;
|
|
1827
1830
|
}
|
|
1828
|
-
|
|
1831
|
+
interface BulkActionMetadata {
|
|
1829
1832
|
/** Number of items that were successfully processed. */
|
|
1830
1833
|
totalSuccesses?: number;
|
|
1831
1834
|
/** Number of items that couldn't be processed. */
|
|
@@ -1833,287 +1836,21 @@ export interface BulkActionMetadata {
|
|
|
1833
1836
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1834
1837
|
undetailedFailures?: number;
|
|
1835
1838
|
}
|
|
1836
|
-
interface
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
alignment: PluginContainerDataAlignment;
|
|
1842
|
-
}
|
|
1843
|
-
interface LinkNonNullableFields {
|
|
1844
|
-
url: string;
|
|
1845
|
-
anchor: string;
|
|
1846
|
-
target: Target;
|
|
1847
|
-
}
|
|
1848
|
-
interface ButtonDataNonNullableFields {
|
|
1849
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1850
|
-
type: Type;
|
|
1851
|
-
link?: LinkNonNullableFields;
|
|
1852
|
-
}
|
|
1853
|
-
interface TextStyleNonNullableFields {
|
|
1854
|
-
textAlignment: TextAlignment;
|
|
1855
|
-
}
|
|
1856
|
-
interface CodeBlockDataNonNullableFields {
|
|
1857
|
-
textStyle?: TextStyleNonNullableFields;
|
|
1858
|
-
}
|
|
1859
|
-
interface DividerDataNonNullableFields {
|
|
1860
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1861
|
-
lineStyle: LineStyle;
|
|
1862
|
-
width: Width;
|
|
1863
|
-
alignment: Alignment;
|
|
1864
|
-
}
|
|
1865
|
-
interface PDFSettingsNonNullableFields {
|
|
1866
|
-
viewMode: ViewMode;
|
|
1867
|
-
}
|
|
1868
|
-
interface FileDataNonNullableFields {
|
|
1869
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1870
|
-
pdfSettings?: PDFSettingsNonNullableFields;
|
|
1871
|
-
}
|
|
1872
|
-
interface ImageNonNullableFields {
|
|
1873
|
-
link?: LinkNonNullableFields;
|
|
1874
|
-
}
|
|
1875
|
-
interface ItemNonNullableFields {
|
|
1876
|
-
image?: ImageNonNullableFields;
|
|
1877
|
-
}
|
|
1878
|
-
interface LayoutNonNullableFields {
|
|
1879
|
-
type: LayoutType;
|
|
1880
|
-
orientation: Orientation;
|
|
1881
|
-
}
|
|
1882
|
-
interface ItemStyleNonNullableFields {
|
|
1883
|
-
crop: Crop;
|
|
1884
|
-
}
|
|
1885
|
-
interface ThumbnailsNonNullableFields {
|
|
1886
|
-
placement: ThumbnailsAlignment;
|
|
1887
|
-
}
|
|
1888
|
-
interface GalleryOptionsNonNullableFields {
|
|
1889
|
-
layout?: LayoutNonNullableFields;
|
|
1890
|
-
item?: ItemStyleNonNullableFields;
|
|
1891
|
-
thumbnails?: ThumbnailsNonNullableFields;
|
|
1892
|
-
}
|
|
1893
|
-
interface GalleryDataNonNullableFields {
|
|
1894
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1895
|
-
items: ItemNonNullableFields[];
|
|
1896
|
-
options?: GalleryOptionsNonNullableFields;
|
|
1897
|
-
}
|
|
1898
|
-
interface GIFDataNonNullableFields {
|
|
1899
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1900
|
-
height: number;
|
|
1901
|
-
width: number;
|
|
1902
|
-
gifType: GIFType;
|
|
1903
|
-
}
|
|
1904
|
-
interface HeadingDataNonNullableFields {
|
|
1905
|
-
level: number;
|
|
1906
|
-
textStyle?: TextStyleNonNullableFields;
|
|
1907
|
-
}
|
|
1908
|
-
interface HTMLDataNonNullableFields {
|
|
1909
|
-
url: string;
|
|
1910
|
-
html: string;
|
|
1911
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1912
|
-
source: Source;
|
|
1913
|
-
}
|
|
1914
|
-
interface ImageDataNonNullableFields {
|
|
1915
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1916
|
-
link?: LinkNonNullableFields;
|
|
1917
|
-
}
|
|
1918
|
-
interface LinkPreviewDataStylesNonNullableFields {
|
|
1919
|
-
thumbnailPosition: Position;
|
|
1920
|
-
}
|
|
1921
|
-
interface LinkPreviewDataNonNullableFields {
|
|
1922
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1923
|
-
link?: LinkNonNullableFields;
|
|
1924
|
-
styles?: LinkPreviewDataStylesNonNullableFields;
|
|
1925
|
-
}
|
|
1926
|
-
interface MapSettingsNonNullableFields {
|
|
1927
|
-
mapType: MapType;
|
|
1928
|
-
}
|
|
1929
|
-
interface MapDataNonNullableFields {
|
|
1930
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1931
|
-
mapSettings?: MapSettingsNonNullableFields;
|
|
1932
|
-
}
|
|
1933
|
-
interface ParagraphDataNonNullableFields {
|
|
1934
|
-
textStyle?: TextStyleNonNullableFields;
|
|
1935
|
-
}
|
|
1936
|
-
interface PermissionsNonNullableFields {
|
|
1937
|
-
view: ViewRole;
|
|
1938
|
-
vote: VoteRole;
|
|
1939
|
-
}
|
|
1940
|
-
interface SettingsNonNullableFields {
|
|
1941
|
-
permissions?: PermissionsNonNullableFields;
|
|
1942
|
-
}
|
|
1943
|
-
interface PollNonNullableFields {
|
|
1944
|
-
settings?: SettingsNonNullableFields;
|
|
1945
|
-
}
|
|
1946
|
-
interface PollLayoutNonNullableFields {
|
|
1947
|
-
type: PollLayoutType;
|
|
1948
|
-
direction: PollLayoutDirection;
|
|
1839
|
+
interface MachineTranslateOptions {
|
|
1840
|
+
/** Language to translate text into. */
|
|
1841
|
+
targetLanguage: SupportedLanguage;
|
|
1842
|
+
/** The content to translate. */
|
|
1843
|
+
contentToTranslate: TranslatableContent;
|
|
1949
1844
|
}
|
|
1950
|
-
interface
|
|
1951
|
-
|
|
1845
|
+
interface BulkMachineTranslateOptions {
|
|
1846
|
+
/** Language to translate text into. */
|
|
1847
|
+
targetLanguage: SupportedLanguage;
|
|
1848
|
+
/**
|
|
1849
|
+
* The content to translate.
|
|
1850
|
+
* @minSize 1
|
|
1851
|
+
* @maxSize 1000
|
|
1852
|
+
*/
|
|
1853
|
+
contentToTranslate?: TranslatableContent[];
|
|
1952
1854
|
}
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
}
|
|
1956
|
-
interface PollDesignNonNullableFields {
|
|
1957
|
-
background?: BackgroundNonNullableFields;
|
|
1958
|
-
}
|
|
1959
|
-
interface DesignNonNullableFields {
|
|
1960
|
-
poll?: PollDesignNonNullableFields;
|
|
1961
|
-
}
|
|
1962
|
-
interface PollDataNonNullableFields {
|
|
1963
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1964
|
-
poll?: PollNonNullableFields;
|
|
1965
|
-
layout?: PollDataLayoutNonNullableFields;
|
|
1966
|
-
design?: DesignNonNullableFields;
|
|
1967
|
-
}
|
|
1968
|
-
interface AnchorDataNonNullableFields {
|
|
1969
|
-
anchor: string;
|
|
1970
|
-
}
|
|
1971
|
-
interface LinkDataNonNullableFields {
|
|
1972
|
-
link?: LinkNonNullableFields;
|
|
1973
|
-
}
|
|
1974
|
-
interface MentionDataNonNullableFields {
|
|
1975
|
-
name: string;
|
|
1976
|
-
slug: string;
|
|
1977
|
-
}
|
|
1978
|
-
interface FontSizeDataNonNullableFields {
|
|
1979
|
-
unit: FontType;
|
|
1980
|
-
}
|
|
1981
|
-
interface DecorationNonNullableFields {
|
|
1982
|
-
anchorData?: AnchorDataNonNullableFields;
|
|
1983
|
-
linkData?: LinkDataNonNullableFields;
|
|
1984
|
-
mentionData?: MentionDataNonNullableFields;
|
|
1985
|
-
fontSizeData?: FontSizeDataNonNullableFields;
|
|
1986
|
-
type: DecorationType;
|
|
1987
|
-
}
|
|
1988
|
-
interface TextDataNonNullableFields {
|
|
1989
|
-
text: string;
|
|
1990
|
-
decorations: DecorationNonNullableFields[];
|
|
1991
|
-
}
|
|
1992
|
-
interface AppEmbedDataNonNullableFields {
|
|
1993
|
-
type: AppType;
|
|
1994
|
-
}
|
|
1995
|
-
interface VideoDataNonNullableFields {
|
|
1996
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1997
|
-
}
|
|
1998
|
-
interface EmbedDataNonNullableFields {
|
|
1999
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2000
|
-
}
|
|
2001
|
-
interface CollapsibleListDataNonNullableFields {
|
|
2002
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2003
|
-
initialExpandedItems: InitialExpandedItems;
|
|
2004
|
-
direction: Direction;
|
|
2005
|
-
}
|
|
2006
|
-
interface DimensionsNonNullableFields {
|
|
2007
|
-
colsWidthRatio: number[];
|
|
2008
|
-
rowsHeight: number[];
|
|
2009
|
-
colsMinWidth: number[];
|
|
2010
|
-
}
|
|
2011
|
-
interface TableDataNonNullableFields {
|
|
2012
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2013
|
-
dimensions?: DimensionsNonNullableFields;
|
|
2014
|
-
}
|
|
2015
|
-
interface CellStyleNonNullableFields {
|
|
2016
|
-
verticalAlignment: VerticalAlignment;
|
|
2017
|
-
}
|
|
2018
|
-
interface TableCellDataNonNullableFields {
|
|
2019
|
-
cellStyle?: CellStyleNonNullableFields;
|
|
2020
|
-
}
|
|
2021
|
-
interface AudioDataNonNullableFields {
|
|
2022
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2023
|
-
}
|
|
2024
|
-
interface OrderedListDataNonNullableFields {
|
|
2025
|
-
indentation: number;
|
|
2026
|
-
}
|
|
2027
|
-
interface BulletedListDataNonNullableFields {
|
|
2028
|
-
indentation: number;
|
|
2029
|
-
}
|
|
2030
|
-
interface BlockquoteDataNonNullableFields {
|
|
2031
|
-
indentation: number;
|
|
2032
|
-
}
|
|
2033
|
-
interface CaptionDataNonNullableFields {
|
|
2034
|
-
textStyle?: TextStyleNonNullableFields;
|
|
2035
|
-
}
|
|
2036
|
-
interface NodeNonNullableFields {
|
|
2037
|
-
buttonData?: ButtonDataNonNullableFields;
|
|
2038
|
-
codeBlockData?: CodeBlockDataNonNullableFields;
|
|
2039
|
-
dividerData?: DividerDataNonNullableFields;
|
|
2040
|
-
fileData?: FileDataNonNullableFields;
|
|
2041
|
-
galleryData?: GalleryDataNonNullableFields;
|
|
2042
|
-
gifData?: GIFDataNonNullableFields;
|
|
2043
|
-
headingData?: HeadingDataNonNullableFields;
|
|
2044
|
-
htmlData?: HTMLDataNonNullableFields;
|
|
2045
|
-
imageData?: ImageDataNonNullableFields;
|
|
2046
|
-
linkPreviewData?: LinkPreviewDataNonNullableFields;
|
|
2047
|
-
mapData?: MapDataNonNullableFields;
|
|
2048
|
-
paragraphData?: ParagraphDataNonNullableFields;
|
|
2049
|
-
pollData?: PollDataNonNullableFields;
|
|
2050
|
-
textData?: TextDataNonNullableFields;
|
|
2051
|
-
appEmbedData?: AppEmbedDataNonNullableFields;
|
|
2052
|
-
videoData?: VideoDataNonNullableFields;
|
|
2053
|
-
embedData?: EmbedDataNonNullableFields;
|
|
2054
|
-
collapsibleListData?: CollapsibleListDataNonNullableFields;
|
|
2055
|
-
tableData?: TableDataNonNullableFields;
|
|
2056
|
-
tableCellData?: TableCellDataNonNullableFields;
|
|
2057
|
-
audioData?: AudioDataNonNullableFields;
|
|
2058
|
-
orderedListData?: OrderedListDataNonNullableFields;
|
|
2059
|
-
bulletedListData?: BulletedListDataNonNullableFields;
|
|
2060
|
-
blockquoteData?: BlockquoteDataNonNullableFields;
|
|
2061
|
-
captionData?: CaptionDataNonNullableFields;
|
|
2062
|
-
type: NodeType;
|
|
2063
|
-
id: string;
|
|
2064
|
-
nodes: NodeNonNullableFields[];
|
|
2065
|
-
}
|
|
2066
|
-
interface MetadataNonNullableFields {
|
|
2067
|
-
version: number;
|
|
2068
|
-
}
|
|
2069
|
-
interface TextNodeStyleNonNullableFields {
|
|
2070
|
-
decorations: DecorationNonNullableFields[];
|
|
2071
|
-
}
|
|
2072
|
-
interface DocumentStyleNonNullableFields {
|
|
2073
|
-
headerOne?: TextNodeStyleNonNullableFields;
|
|
2074
|
-
headerTwo?: TextNodeStyleNonNullableFields;
|
|
2075
|
-
headerThree?: TextNodeStyleNonNullableFields;
|
|
2076
|
-
headerFour?: TextNodeStyleNonNullableFields;
|
|
2077
|
-
headerFive?: TextNodeStyleNonNullableFields;
|
|
2078
|
-
headerSix?: TextNodeStyleNonNullableFields;
|
|
2079
|
-
paragraph?: TextNodeStyleNonNullableFields;
|
|
2080
|
-
blockquote?: TextNodeStyleNonNullableFields;
|
|
2081
|
-
codeBlock?: TextNodeStyleNonNullableFields;
|
|
2082
|
-
}
|
|
2083
|
-
interface RichContentNonNullableFields {
|
|
2084
|
-
nodes: NodeNonNullableFields[];
|
|
2085
|
-
metadata?: MetadataNonNullableFields;
|
|
2086
|
-
documentStyle?: DocumentStyleNonNullableFields;
|
|
2087
|
-
}
|
|
2088
|
-
interface TranslatableContentNonNullableFields {
|
|
2089
|
-
plainTextContent: string;
|
|
2090
|
-
htmlContent: string;
|
|
2091
|
-
richContent?: RichContentNonNullableFields;
|
|
2092
|
-
format: Format;
|
|
2093
|
-
}
|
|
2094
|
-
export interface MachineTranslateResponseNonNullableFields {
|
|
2095
|
-
translatedContent?: TranslatableContentNonNullableFields;
|
|
2096
|
-
}
|
|
2097
|
-
interface ApplicationErrorNonNullableFields {
|
|
2098
|
-
code: string;
|
|
2099
|
-
description: string;
|
|
2100
|
-
}
|
|
2101
|
-
interface ItemMetadataNonNullableFields {
|
|
2102
|
-
originalIndex: number;
|
|
2103
|
-
success: boolean;
|
|
2104
|
-
error?: ApplicationErrorNonNullableFields;
|
|
2105
|
-
}
|
|
2106
|
-
interface BulkTranslateResultNonNullableFields {
|
|
2107
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
2108
|
-
item?: TranslatableContentNonNullableFields;
|
|
2109
|
-
}
|
|
2110
|
-
interface BulkActionMetadataNonNullableFields {
|
|
2111
|
-
totalSuccesses: number;
|
|
2112
|
-
totalFailures: number;
|
|
2113
|
-
undetailedFailures: number;
|
|
2114
|
-
}
|
|
2115
|
-
export interface BulkMachineTranslateResponseNonNullableFields {
|
|
2116
|
-
results: BulkTranslateResultNonNullableFields[];
|
|
2117
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
2118
|
-
}
|
|
2119
|
-
export {};
|
|
1855
|
+
|
|
1856
|
+
export { type Rel as $, Alignment as A, type BulkMachineTranslateOptions as B, Crop as C, DecorationType as D, type Border as E, Format as F, GIFType as G, type Colors as H, InitialExpandedItems as I, type PluginContainerData as J, type PluginContainerDataWidth as K, LineStyle as L, type MachineTranslateOptions as M, NodeType as N, Orientation as O, PluginContainerDataAlignment as P, type PluginContainerDataWidthDataOneOf as Q, type RichContent as R, SupportedLanguage as S, Type as T, type Spoiler as U, ViewMode as V, WidthType as W, type Height as X, type Styles as Y, type Link as Z, type LinkDataOneOf as _, type MachineTranslateResponse as a, type Dimensions as a$, type CodeBlockData as a0, type TextStyle as a1, type DividerData as a2, type FileData as a3, type FileSource as a4, type FileSourceDataOneOf as a5, type PDFSettings as a6, type GalleryData as a7, type Media as a8, type Image as a9, type Gradient as aA, type Background as aB, type BackgroundBackgroundOneOf as aC, type PollDesign as aD, type OptionDesign as aE, type Poll as aF, type PollDataLayout as aG, type Design as aH, type TextData as aI, type Decoration as aJ, type DecorationDataOneOf as aK, type AnchorData as aL, type ColorData as aM, type LinkData as aN, type MentionData as aO, type FontSizeData as aP, type SpoilerData as aQ, type AppEmbedData as aR, type AppEmbedDataAppDataOneOf as aS, type BookingData as aT, type EventData as aU, type VideoData as aV, type PlaybackOptions as aW, type EmbedData as aX, type Oembed as aY, type CollapsibleListData as aZ, type TableData as a_, type Video as aa, type Item as ab, type ItemDataOneOf as ac, type GalleryOptions as ad, type Layout as ae, type ItemStyle as af, type Thumbnails as ag, type GIFData as ah, type GIF as ai, type HeadingData as aj, type HTMLData as ak, type HTMLDataDataOneOf as al, type ImageData as am, type StylesBorder as an, type ImageDataStyles as ao, type LinkPreviewData as ap, type LinkPreviewDataStyles as aq, type MapData as ar, type MapSettings as as, type ParagraphData as at, type PollData as au, type Permissions as av, type Option as aw, type Settings as ax, type PollLayout as ay, type OptionLayout as az, type BulkMachineTranslateResponse as b, type TableCellData as b0, type CellStyle as b1, type BorderColors as b2, type ListValue as b3, type AudioData as b4, type OrderedListData as b5, type BulletedListData as b6, type BlockquoteData as b7, type CaptionData as b8, type LayoutCellData as b9, type Metadata as ba, type DocumentStyle as bb, type TextNodeStyle as bc, type MachineTranslateRequest as bd, type NotEnoughCreditsError as be, type TextTooLongError as bf, type UnknownFormatError as bg, type SameLanguageArgumentsError as bh, type BulkMachineTranslateRequest as bi, type BulkTranslateResult as bj, type ItemMetadata as bk, type ApplicationError as bl, type BulkActionMetadata as bm, Target as c, TextAlignment as d, Width as e, LayoutType as f, ThumbnailsAlignment as g, Source as h, Position as i, MapType as j, ViewRole as k, VoteRole as l, PollLayoutType as m, PollLayoutDirection as n, BackgroundType as o, FontType as p, AppType as q, Direction as r, VerticalAlignment as s, NullValue as t, type TranslatableContent as u, type TranslatableContentContentOneOf as v, type Node as w, type NodeDataOneOf as x, type NodeStyle as y, type ButtonData as z };
|