@wix/auto_sdk_multilingual_machine-translation 1.0.9 → 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} +165 -431
- 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} +165 -431
- 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} +165 -431
- 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} +165 -431
- 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 -2206
- 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 -2206
- 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 -2206
- 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 -2206
- 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
|
|
@@ -394,7 +394,7 @@ export interface Styles {
|
|
|
394
394
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
395
395
|
buttonSize?: string | null;
|
|
396
396
|
}
|
|
397
|
-
|
|
397
|
+
interface Link extends LinkDataOneOf {
|
|
398
398
|
/** The absolute URL for the linked document. */
|
|
399
399
|
url?: string;
|
|
400
400
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
@@ -413,13 +413,13 @@ export interface Link extends LinkDataOneOf {
|
|
|
413
413
|
customData?: string | null;
|
|
414
414
|
}
|
|
415
415
|
/** @oneof */
|
|
416
|
-
|
|
416
|
+
interface LinkDataOneOf {
|
|
417
417
|
/** The absolute URL for the linked document. */
|
|
418
418
|
url?: string;
|
|
419
419
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
420
420
|
anchor?: string;
|
|
421
421
|
}
|
|
422
|
-
|
|
422
|
+
declare enum Target {
|
|
423
423
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
424
424
|
SELF = "SELF",
|
|
425
425
|
/** Opens the linked document in a new window or tab */
|
|
@@ -429,7 +429,7 @@ export declare enum Target {
|
|
|
429
429
|
/** Opens the linked document in the full body of the window */
|
|
430
430
|
TOP = "TOP"
|
|
431
431
|
}
|
|
432
|
-
|
|
432
|
+
interface Rel {
|
|
433
433
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
|
434
434
|
nofollow?: boolean | null;
|
|
435
435
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
|
@@ -439,17 +439,17 @@ export interface Rel {
|
|
|
439
439
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
440
440
|
noreferrer?: boolean | null;
|
|
441
441
|
}
|
|
442
|
-
|
|
442
|
+
interface CodeBlockData {
|
|
443
443
|
/** Styling for the code block's text. */
|
|
444
444
|
textStyle?: TextStyle;
|
|
445
445
|
}
|
|
446
|
-
|
|
446
|
+
interface TextStyle {
|
|
447
447
|
/** Text alignment. Defaults to `AUTO`. */
|
|
448
448
|
textAlignment?: TextAlignment;
|
|
449
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. */
|
|
450
450
|
lineHeight?: string | null;
|
|
451
451
|
}
|
|
452
|
-
|
|
452
|
+
declare enum TextAlignment {
|
|
453
453
|
/** browser default, eqivalent to `initial` */
|
|
454
454
|
AUTO = "AUTO",
|
|
455
455
|
/** Left align */
|
|
@@ -461,7 +461,7 @@ export declare enum TextAlignment {
|
|
|
461
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 */
|
|
462
462
|
JUSTIFY = "JUSTIFY"
|
|
463
463
|
}
|
|
464
|
-
|
|
464
|
+
interface DividerData {
|
|
465
465
|
/** Styling for the divider's container. */
|
|
466
466
|
containerData?: PluginContainerData;
|
|
467
467
|
/** Divider line style. */
|
|
@@ -471,7 +471,7 @@ export interface DividerData {
|
|
|
471
471
|
/** Divider alignment. */
|
|
472
472
|
alignment?: Alignment;
|
|
473
473
|
}
|
|
474
|
-
|
|
474
|
+
declare enum LineStyle {
|
|
475
475
|
/** Single Line */
|
|
476
476
|
SINGLE = "SINGLE",
|
|
477
477
|
/** Double Line */
|
|
@@ -481,7 +481,7 @@ export declare enum LineStyle {
|
|
|
481
481
|
/** Dotted Line */
|
|
482
482
|
DOTTED = "DOTTED"
|
|
483
483
|
}
|
|
484
|
-
|
|
484
|
+
declare enum Width {
|
|
485
485
|
/** Large line */
|
|
486
486
|
LARGE = "LARGE",
|
|
487
487
|
/** Medium line */
|
|
@@ -489,7 +489,7 @@ export declare enum Width {
|
|
|
489
489
|
/** Small line */
|
|
490
490
|
SMALL = "SMALL"
|
|
491
491
|
}
|
|
492
|
-
|
|
492
|
+
declare enum Alignment {
|
|
493
493
|
/** Center alignment */
|
|
494
494
|
CENTER = "CENTER",
|
|
495
495
|
/** Left alignment */
|
|
@@ -497,7 +497,7 @@ export declare enum Alignment {
|
|
|
497
497
|
/** Right alignment */
|
|
498
498
|
RIGHT = "RIGHT"
|
|
499
499
|
}
|
|
500
|
-
|
|
500
|
+
interface FileData {
|
|
501
501
|
/** Styling for the file's container. */
|
|
502
502
|
containerData?: PluginContainerData;
|
|
503
503
|
/** The source for the file's data. */
|
|
@@ -520,7 +520,7 @@ export interface FileData {
|
|
|
520
520
|
/** File size in KB. */
|
|
521
521
|
sizeInKb?: string | null;
|
|
522
522
|
}
|
|
523
|
-
|
|
523
|
+
declare enum ViewMode {
|
|
524
524
|
/** No PDF view */
|
|
525
525
|
NONE = "NONE",
|
|
526
526
|
/** Full PDF view */
|
|
@@ -528,7 +528,7 @@ export declare enum ViewMode {
|
|
|
528
528
|
/** Mini PDF view */
|
|
529
529
|
MINI = "MINI"
|
|
530
530
|
}
|
|
531
|
-
|
|
531
|
+
interface FileSource extends FileSourceDataOneOf {
|
|
532
532
|
/** The absolute URL for the file's source. */
|
|
533
533
|
url?: string | null;
|
|
534
534
|
/**
|
|
@@ -537,12 +537,12 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
|
537
537
|
*/
|
|
538
538
|
custom?: string | null;
|
|
539
539
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
540
|
-
|
|
540
|
+
_id?: string | null;
|
|
541
541
|
/** Indicates whether the file's source is private. Defaults to `false`. */
|
|
542
542
|
private?: boolean | null;
|
|
543
543
|
}
|
|
544
544
|
/** @oneof */
|
|
545
|
-
|
|
545
|
+
interface FileSourceDataOneOf {
|
|
546
546
|
/** The absolute URL for the file's source. */
|
|
547
547
|
url?: string | null;
|
|
548
548
|
/**
|
|
@@ -551,9 +551,9 @@ export interface FileSourceDataOneOf {
|
|
|
551
551
|
*/
|
|
552
552
|
custom?: string | null;
|
|
553
553
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
554
|
-
|
|
554
|
+
_id?: string | null;
|
|
555
555
|
}
|
|
556
|
-
|
|
556
|
+
interface PDFSettings {
|
|
557
557
|
/**
|
|
558
558
|
* PDF view mode. One of the following:
|
|
559
559
|
* `NONE` : The PDF isn't displayed.
|
|
@@ -566,7 +566,7 @@ export interface PDFSettings {
|
|
|
566
566
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
|
567
567
|
disablePrint?: boolean | null;
|
|
568
568
|
}
|
|
569
|
-
|
|
569
|
+
interface GalleryData {
|
|
570
570
|
/** Styling for the gallery's container. */
|
|
571
571
|
containerData?: PluginContainerData;
|
|
572
572
|
/** The items in the gallery. */
|
|
@@ -578,7 +578,7 @@ export interface GalleryData {
|
|
|
578
578
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
579
579
|
disableDownload?: boolean | null;
|
|
580
580
|
}
|
|
581
|
-
|
|
581
|
+
interface Media {
|
|
582
582
|
/** The source for the media's data. */
|
|
583
583
|
src?: FileSource;
|
|
584
584
|
/** Media width in pixels. */
|
|
@@ -588,19 +588,19 @@ export interface Media {
|
|
|
588
588
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
|
589
589
|
duration?: number | null;
|
|
590
590
|
}
|
|
591
|
-
|
|
591
|
+
interface Image {
|
|
592
592
|
/** Image file details. */
|
|
593
593
|
media?: Media;
|
|
594
594
|
/** Link details for images that are links. */
|
|
595
595
|
link?: Link;
|
|
596
596
|
}
|
|
597
|
-
|
|
597
|
+
interface Video {
|
|
598
598
|
/** Video file details. */
|
|
599
599
|
media?: Media;
|
|
600
600
|
/** Video thumbnail file details. */
|
|
601
601
|
thumbnail?: Media;
|
|
602
602
|
}
|
|
603
|
-
|
|
603
|
+
interface Item extends ItemDataOneOf {
|
|
604
604
|
/** An image item. */
|
|
605
605
|
image?: Image;
|
|
606
606
|
/** A video item. */
|
|
@@ -611,13 +611,13 @@ export interface Item extends ItemDataOneOf {
|
|
|
611
611
|
altText?: string | null;
|
|
612
612
|
}
|
|
613
613
|
/** @oneof */
|
|
614
|
-
|
|
614
|
+
interface ItemDataOneOf {
|
|
615
615
|
/** An image item. */
|
|
616
616
|
image?: Image;
|
|
617
617
|
/** A video item. */
|
|
618
618
|
video?: Video;
|
|
619
619
|
}
|
|
620
|
-
|
|
620
|
+
interface GalleryOptions {
|
|
621
621
|
/** Gallery layout. */
|
|
622
622
|
layout?: Layout;
|
|
623
623
|
/** Styling for gallery items. */
|
|
@@ -625,7 +625,7 @@ export interface GalleryOptions {
|
|
|
625
625
|
/** Styling for gallery thumbnail images. */
|
|
626
626
|
thumbnails?: Thumbnails;
|
|
627
627
|
}
|
|
628
|
-
|
|
628
|
+
declare enum LayoutType {
|
|
629
629
|
/** Collage type */
|
|
630
630
|
COLLAGE = "COLLAGE",
|
|
631
631
|
/** Masonry type */
|
|
@@ -647,19 +647,19 @@ export declare enum LayoutType {
|
|
|
647
647
|
/** Fullsize images type */
|
|
648
648
|
FULLSIZE = "FULLSIZE"
|
|
649
649
|
}
|
|
650
|
-
|
|
650
|
+
declare enum Orientation {
|
|
651
651
|
/** Rows Orientation */
|
|
652
652
|
ROWS = "ROWS",
|
|
653
653
|
/** Columns Orientation */
|
|
654
654
|
COLUMNS = "COLUMNS"
|
|
655
655
|
}
|
|
656
|
-
|
|
656
|
+
declare enum Crop {
|
|
657
657
|
/** Crop to fill */
|
|
658
658
|
FILL = "FILL",
|
|
659
659
|
/** Crop to fit */
|
|
660
660
|
FIT = "FIT"
|
|
661
661
|
}
|
|
662
|
-
|
|
662
|
+
declare enum ThumbnailsAlignment {
|
|
663
663
|
/** Top alignment */
|
|
664
664
|
TOP = "TOP",
|
|
665
665
|
/** Right alignment */
|
|
@@ -671,7 +671,7 @@ export declare enum ThumbnailsAlignment {
|
|
|
671
671
|
/** No thumbnail */
|
|
672
672
|
NONE = "NONE"
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
interface Layout {
|
|
675
675
|
/** Gallery layout type. */
|
|
676
676
|
type?: LayoutType;
|
|
677
677
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -683,7 +683,7 @@ export interface Layout {
|
|
|
683
683
|
/** The number of columns to display on mobile screens. */
|
|
684
684
|
mobileNumberOfColumns?: number | null;
|
|
685
685
|
}
|
|
686
|
-
|
|
686
|
+
interface ItemStyle {
|
|
687
687
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
|
688
688
|
targetSize?: number | null;
|
|
689
689
|
/** Item ratio */
|
|
@@ -693,13 +693,13 @@ export interface ItemStyle {
|
|
|
693
693
|
/** The spacing between items in pixels. */
|
|
694
694
|
spacing?: number | null;
|
|
695
695
|
}
|
|
696
|
-
|
|
696
|
+
interface Thumbnails {
|
|
697
697
|
/** Thumbnail alignment. */
|
|
698
698
|
placement?: ThumbnailsAlignment;
|
|
699
699
|
/** Spacing between thumbnails in pixels. */
|
|
700
700
|
spacing?: number | null;
|
|
701
701
|
}
|
|
702
|
-
|
|
702
|
+
interface GIFData {
|
|
703
703
|
/** Styling for the GIF's container. */
|
|
704
704
|
containerData?: PluginContainerData;
|
|
705
705
|
/** The source of the full size GIF. */
|
|
@@ -713,7 +713,7 @@ export interface GIFData {
|
|
|
713
713
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
714
714
|
gifType?: GIFType;
|
|
715
715
|
}
|
|
716
|
-
|
|
716
|
+
interface GIF {
|
|
717
717
|
/**
|
|
718
718
|
* GIF format URL.
|
|
719
719
|
* @format WEB_URL
|
|
@@ -730,11 +730,11 @@ export interface GIF {
|
|
|
730
730
|
*/
|
|
731
731
|
still?: string | null;
|
|
732
732
|
}
|
|
733
|
-
|
|
733
|
+
declare enum GIFType {
|
|
734
734
|
NORMAL = "NORMAL",
|
|
735
735
|
STICKER = "STICKER"
|
|
736
736
|
}
|
|
737
|
-
|
|
737
|
+
interface HeadingData {
|
|
738
738
|
/** Heading level from 1-6. */
|
|
739
739
|
level?: number;
|
|
740
740
|
/** Styling for the heading text. */
|
|
@@ -742,7 +742,7 @@ export interface HeadingData {
|
|
|
742
742
|
/** Indentation level from 1-4. */
|
|
743
743
|
indentation?: number | null;
|
|
744
744
|
}
|
|
745
|
-
|
|
745
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
|
746
746
|
/** The URL for the HTML code for the node. */
|
|
747
747
|
url?: string;
|
|
748
748
|
/** The HTML code for the node. */
|
|
@@ -760,7 +760,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
|
760
760
|
autoHeight?: boolean | null;
|
|
761
761
|
}
|
|
762
762
|
/** @oneof */
|
|
763
|
-
|
|
763
|
+
interface HTMLDataDataOneOf {
|
|
764
764
|
/** The URL for the HTML code for the node. */
|
|
765
765
|
url?: string;
|
|
766
766
|
/** The HTML code for the node. */
|
|
@@ -771,11 +771,11 @@ export interface HTMLDataDataOneOf {
|
|
|
771
771
|
*/
|
|
772
772
|
isAdsense?: boolean | null;
|
|
773
773
|
}
|
|
774
|
-
|
|
774
|
+
declare enum Source {
|
|
775
775
|
HTML = "HTML",
|
|
776
776
|
ADSENSE = "ADSENSE"
|
|
777
777
|
}
|
|
778
|
-
|
|
778
|
+
interface ImageData {
|
|
779
779
|
/** Styling for the image's container. */
|
|
780
780
|
containerData?: PluginContainerData;
|
|
781
781
|
/** Image file details. */
|
|
@@ -798,7 +798,7 @@ export interface ImageData {
|
|
|
798
798
|
/** Styling for the image. */
|
|
799
799
|
styles?: ImageDataStyles;
|
|
800
800
|
}
|
|
801
|
-
|
|
801
|
+
interface StylesBorder {
|
|
802
802
|
/** Border width in pixels. */
|
|
803
803
|
width?: number | null;
|
|
804
804
|
/**
|
|
@@ -809,11 +809,11 @@ export interface StylesBorder {
|
|
|
809
809
|
/** Border radius in pixels. */
|
|
810
810
|
radius?: number | null;
|
|
811
811
|
}
|
|
812
|
-
|
|
812
|
+
interface ImageDataStyles {
|
|
813
813
|
/** Border attributes. */
|
|
814
814
|
border?: StylesBorder;
|
|
815
815
|
}
|
|
816
|
-
|
|
816
|
+
interface LinkPreviewData {
|
|
817
817
|
/** Styling for the link preview's container. */
|
|
818
818
|
containerData?: PluginContainerData;
|
|
819
819
|
/** Link details. */
|
|
@@ -829,7 +829,7 @@ export interface LinkPreviewData {
|
|
|
829
829
|
/** Styling for the link preview. */
|
|
830
830
|
styles?: LinkPreviewDataStyles;
|
|
831
831
|
}
|
|
832
|
-
|
|
832
|
+
declare enum Position {
|
|
833
833
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
834
834
|
START = "START",
|
|
835
835
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -839,7 +839,7 @@ export declare enum Position {
|
|
|
839
839
|
/** Thumbnail hidden and not displayed */
|
|
840
840
|
HIDDEN = "HIDDEN"
|
|
841
841
|
}
|
|
842
|
-
|
|
842
|
+
interface LinkPreviewDataStyles {
|
|
843
843
|
/**
|
|
844
844
|
* Background color as a hexadecimal value.
|
|
845
845
|
* @format COLOR_HEX
|
|
@@ -872,13 +872,13 @@ export interface LinkPreviewDataStyles {
|
|
|
872
872
|
/** Position of thumbnail. Defaults to `START`. */
|
|
873
873
|
thumbnailPosition?: Position;
|
|
874
874
|
}
|
|
875
|
-
|
|
875
|
+
interface MapData {
|
|
876
876
|
/** Styling for the map's container. */
|
|
877
877
|
containerData?: PluginContainerData;
|
|
878
878
|
/** Map settings. */
|
|
879
879
|
mapSettings?: MapSettings;
|
|
880
880
|
}
|
|
881
|
-
|
|
881
|
+
interface MapSettings {
|
|
882
882
|
/** The address to display on the map. */
|
|
883
883
|
address?: string | null;
|
|
884
884
|
/** Sets whether the map is draggable. */
|
|
@@ -902,7 +902,7 @@ export interface MapSettings {
|
|
|
902
902
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
|
903
903
|
mapType?: MapType;
|
|
904
904
|
}
|
|
905
|
-
|
|
905
|
+
declare enum MapType {
|
|
906
906
|
/** Roadmap map type */
|
|
907
907
|
ROADMAP = "ROADMAP",
|
|
908
908
|
/** Satellite map type */
|
|
@@ -912,7 +912,7 @@ export declare enum MapType {
|
|
|
912
912
|
/** Terrain map type */
|
|
913
913
|
TERRAIN = "TERRAIN"
|
|
914
914
|
}
|
|
915
|
-
|
|
915
|
+
interface ParagraphData {
|
|
916
916
|
/** Styling for the paragraph text. */
|
|
917
917
|
textStyle?: TextStyle;
|
|
918
918
|
/** Indentation level from 1-4. */
|
|
@@ -920,7 +920,7 @@ export interface ParagraphData {
|
|
|
920
920
|
/** Paragraph level */
|
|
921
921
|
level?: number | null;
|
|
922
922
|
}
|
|
923
|
-
|
|
923
|
+
interface PollData {
|
|
924
924
|
/** Styling for the poll's container. */
|
|
925
925
|
containerData?: PluginContainerData;
|
|
926
926
|
/** Poll data. */
|
|
@@ -930,7 +930,7 @@ export interface PollData {
|
|
|
930
930
|
/** Styling for the poll and voting options. */
|
|
931
931
|
design?: Design;
|
|
932
932
|
}
|
|
933
|
-
|
|
933
|
+
declare enum ViewRole {
|
|
934
934
|
/** Only Poll creator can view the results */
|
|
935
935
|
CREATOR = "CREATOR",
|
|
936
936
|
/** Anyone who voted can see the results */
|
|
@@ -938,13 +938,13 @@ export declare enum ViewRole {
|
|
|
938
938
|
/** Anyone can see the results, even if one didn't vote */
|
|
939
939
|
EVERYONE = "EVERYONE"
|
|
940
940
|
}
|
|
941
|
-
|
|
941
|
+
declare enum VoteRole {
|
|
942
942
|
/** Logged in member */
|
|
943
943
|
SITE_MEMBERS = "SITE_MEMBERS",
|
|
944
944
|
/** Anyone */
|
|
945
945
|
ALL = "ALL"
|
|
946
946
|
}
|
|
947
|
-
|
|
947
|
+
interface Permissions {
|
|
948
948
|
/** Sets who can view the poll results. */
|
|
949
949
|
view?: ViewRole;
|
|
950
950
|
/** Sets who can vote. */
|
|
@@ -952,15 +952,15 @@ export interface Permissions {
|
|
|
952
952
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
|
953
953
|
allowMultipleVotes?: boolean | null;
|
|
954
954
|
}
|
|
955
|
-
|
|
955
|
+
interface Option {
|
|
956
956
|
/** Option ID. */
|
|
957
|
-
|
|
957
|
+
_id?: string | null;
|
|
958
958
|
/** Option title. */
|
|
959
959
|
title?: string | null;
|
|
960
960
|
/** The image displayed with the option. */
|
|
961
961
|
image?: Media;
|
|
962
962
|
}
|
|
963
|
-
|
|
963
|
+
interface Settings {
|
|
964
964
|
/** Permissions settings for voting. */
|
|
965
965
|
permissions?: Permissions;
|
|
966
966
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
|
@@ -968,19 +968,19 @@ export interface Settings {
|
|
|
968
968
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
|
969
969
|
showVotesCount?: boolean | null;
|
|
970
970
|
}
|
|
971
|
-
|
|
971
|
+
declare enum PollLayoutType {
|
|
972
972
|
/** List */
|
|
973
973
|
LIST = "LIST",
|
|
974
974
|
/** Grid */
|
|
975
975
|
GRID = "GRID"
|
|
976
976
|
}
|
|
977
|
-
|
|
977
|
+
declare enum PollLayoutDirection {
|
|
978
978
|
/** Left-to-right */
|
|
979
979
|
LTR = "LTR",
|
|
980
980
|
/** Right-to-left */
|
|
981
981
|
RTL = "RTL"
|
|
982
982
|
}
|
|
983
|
-
|
|
983
|
+
interface PollLayout {
|
|
984
984
|
/** The layout for displaying the voting options. */
|
|
985
985
|
type?: PollLayoutType;
|
|
986
986
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
|
@@ -988,11 +988,11 @@ export interface PollLayout {
|
|
|
988
988
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
|
989
989
|
enableImage?: boolean | null;
|
|
990
990
|
}
|
|
991
|
-
|
|
991
|
+
interface OptionLayout {
|
|
992
992
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
993
993
|
enableImage?: boolean | null;
|
|
994
994
|
}
|
|
995
|
-
|
|
995
|
+
declare enum BackgroundType {
|
|
996
996
|
/** Color background type */
|
|
997
997
|
COLOR = "COLOR",
|
|
998
998
|
/** Image background type */
|
|
@@ -1000,7 +1000,7 @@ export declare enum BackgroundType {
|
|
|
1000
1000
|
/** Gradiant background type */
|
|
1001
1001
|
GRADIENT = "GRADIENT"
|
|
1002
1002
|
}
|
|
1003
|
-
|
|
1003
|
+
interface Gradient {
|
|
1004
1004
|
/** The gradient angle in degrees. */
|
|
1005
1005
|
angle?: number | null;
|
|
1006
1006
|
/**
|
|
@@ -1014,7 +1014,7 @@ export interface Gradient {
|
|
|
1014
1014
|
*/
|
|
1015
1015
|
lastColor?: string | null;
|
|
1016
1016
|
}
|
|
1017
|
-
|
|
1017
|
+
interface Background extends BackgroundBackgroundOneOf {
|
|
1018
1018
|
/**
|
|
1019
1019
|
* The background color as a hexademical value.
|
|
1020
1020
|
* @format COLOR_HEX
|
|
@@ -1028,7 +1028,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
|
1028
1028
|
type?: BackgroundType;
|
|
1029
1029
|
}
|
|
1030
1030
|
/** @oneof */
|
|
1031
|
-
|
|
1031
|
+
interface BackgroundBackgroundOneOf {
|
|
1032
1032
|
/**
|
|
1033
1033
|
* The background color as a hexademical value.
|
|
1034
1034
|
* @format COLOR_HEX
|
|
@@ -1039,19 +1039,19 @@ export interface BackgroundBackgroundOneOf {
|
|
|
1039
1039
|
/** Details for a gradient background. */
|
|
1040
1040
|
gradient?: Gradient;
|
|
1041
1041
|
}
|
|
1042
|
-
|
|
1042
|
+
interface PollDesign {
|
|
1043
1043
|
/** Background styling. */
|
|
1044
1044
|
background?: Background;
|
|
1045
1045
|
/** Border radius in pixels. */
|
|
1046
1046
|
borderRadius?: number | null;
|
|
1047
1047
|
}
|
|
1048
|
-
|
|
1048
|
+
interface OptionDesign {
|
|
1049
1049
|
/** Border radius in pixels. */
|
|
1050
1050
|
borderRadius?: number | null;
|
|
1051
1051
|
}
|
|
1052
|
-
|
|
1052
|
+
interface Poll {
|
|
1053
1053
|
/** Poll ID. */
|
|
1054
|
-
|
|
1054
|
+
_id?: string | null;
|
|
1055
1055
|
/** Poll title. */
|
|
1056
1056
|
title?: string | null;
|
|
1057
1057
|
/** Poll creator ID. */
|
|
@@ -1063,26 +1063,26 @@ export interface Poll {
|
|
|
1063
1063
|
/** The poll's permissions and display settings. */
|
|
1064
1064
|
settings?: Settings;
|
|
1065
1065
|
}
|
|
1066
|
-
|
|
1066
|
+
interface PollDataLayout {
|
|
1067
1067
|
/** Poll layout settings. */
|
|
1068
1068
|
poll?: PollLayout;
|
|
1069
1069
|
/** Voting otpions layout settings. */
|
|
1070
1070
|
options?: OptionLayout;
|
|
1071
1071
|
}
|
|
1072
|
-
|
|
1072
|
+
interface Design {
|
|
1073
1073
|
/** Styling for the poll. */
|
|
1074
1074
|
poll?: PollDesign;
|
|
1075
1075
|
/** Styling for voting options. */
|
|
1076
1076
|
options?: OptionDesign;
|
|
1077
1077
|
}
|
|
1078
|
-
|
|
1078
|
+
interface TextData {
|
|
1079
1079
|
/** The text to apply decorations to. */
|
|
1080
1080
|
text?: string;
|
|
1081
1081
|
/** The decorations to apply. */
|
|
1082
1082
|
decorations?: Decoration[];
|
|
1083
1083
|
}
|
|
1084
1084
|
/** Adds appearence changes to text */
|
|
1085
|
-
|
|
1085
|
+
interface Decoration extends DecorationDataOneOf {
|
|
1086
1086
|
/** Data for an anchor link decoration. */
|
|
1087
1087
|
anchorData?: AnchorData;
|
|
1088
1088
|
/** Data for a color decoration. */
|
|
@@ -1105,7 +1105,7 @@ export interface Decoration extends DecorationDataOneOf {
|
|
|
1105
1105
|
type?: DecorationType;
|
|
1106
1106
|
}
|
|
1107
1107
|
/** @oneof */
|
|
1108
|
-
|
|
1108
|
+
interface DecorationDataOneOf {
|
|
1109
1109
|
/** Data for an anchor link decoration. */
|
|
1110
1110
|
anchorData?: AnchorData;
|
|
1111
1111
|
/** Data for a color decoration. */
|
|
@@ -1125,7 +1125,7 @@ export interface DecorationDataOneOf {
|
|
|
1125
1125
|
/** Data for a spoiler decoration. */
|
|
1126
1126
|
spoilerData?: SpoilerData;
|
|
1127
1127
|
}
|
|
1128
|
-
|
|
1128
|
+
declare enum DecorationType {
|
|
1129
1129
|
BOLD = "BOLD",
|
|
1130
1130
|
ITALIC = "ITALIC",
|
|
1131
1131
|
UNDERLINE = "UNDERLINE",
|
|
@@ -1137,43 +1137,43 @@ export declare enum DecorationType {
|
|
|
1137
1137
|
FONT_SIZE = "FONT_SIZE",
|
|
1138
1138
|
EXTERNAL = "EXTERNAL"
|
|
1139
1139
|
}
|
|
1140
|
-
|
|
1140
|
+
interface AnchorData {
|
|
1141
1141
|
/** The target node's ID. */
|
|
1142
1142
|
anchor?: string;
|
|
1143
1143
|
}
|
|
1144
|
-
|
|
1144
|
+
interface ColorData {
|
|
1145
1145
|
/** The text's background color as a hexadecimal value. */
|
|
1146
1146
|
background?: string | null;
|
|
1147
1147
|
/** The text's foreground color as a hexadecimal value. */
|
|
1148
1148
|
foreground?: string | null;
|
|
1149
1149
|
}
|
|
1150
|
-
|
|
1150
|
+
interface LinkData {
|
|
1151
1151
|
/** Link details. */
|
|
1152
1152
|
link?: Link;
|
|
1153
1153
|
}
|
|
1154
|
-
|
|
1154
|
+
interface MentionData {
|
|
1155
1155
|
/** The mentioned user's name. */
|
|
1156
1156
|
name?: string;
|
|
1157
1157
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
|
1158
1158
|
slug?: string;
|
|
1159
1159
|
/** Mentioned user's ID. */
|
|
1160
|
-
|
|
1160
|
+
_id?: string | null;
|
|
1161
1161
|
}
|
|
1162
|
-
|
|
1162
|
+
interface FontSizeData {
|
|
1163
1163
|
/** The units used for the font size. */
|
|
1164
1164
|
unit?: FontType;
|
|
1165
1165
|
/** Font size value. */
|
|
1166
1166
|
value?: number | null;
|
|
1167
1167
|
}
|
|
1168
|
-
|
|
1168
|
+
declare enum FontType {
|
|
1169
1169
|
PX = "PX",
|
|
1170
1170
|
EM = "EM"
|
|
1171
1171
|
}
|
|
1172
|
-
|
|
1172
|
+
interface SpoilerData {
|
|
1173
1173
|
/** Spoiler ID. */
|
|
1174
|
-
|
|
1174
|
+
_id?: string | null;
|
|
1175
1175
|
}
|
|
1176
|
-
|
|
1176
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1177
1177
|
/** Data for embedded Wix Bookings content. */
|
|
1178
1178
|
bookingData?: BookingData;
|
|
1179
1179
|
/** Data for embedded Wix Events content. */
|
|
@@ -1195,28 +1195,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1195
1195
|
image?: Media;
|
|
1196
1196
|
}
|
|
1197
1197
|
/** @oneof */
|
|
1198
|
-
|
|
1198
|
+
interface AppEmbedDataAppDataOneOf {
|
|
1199
1199
|
/** Data for embedded Wix Bookings content. */
|
|
1200
1200
|
bookingData?: BookingData;
|
|
1201
1201
|
/** Data for embedded Wix Events content. */
|
|
1202
1202
|
eventData?: EventData;
|
|
1203
1203
|
}
|
|
1204
|
-
|
|
1204
|
+
declare enum AppType {
|
|
1205
1205
|
PRODUCT = "PRODUCT",
|
|
1206
1206
|
EVENT = "EVENT",
|
|
1207
1207
|
BOOKING = "BOOKING"
|
|
1208
1208
|
}
|
|
1209
|
-
|
|
1209
|
+
interface BookingData {
|
|
1210
1210
|
/** Booking duration in minutes. */
|
|
1211
1211
|
durations?: string | null;
|
|
1212
1212
|
}
|
|
1213
|
-
|
|
1213
|
+
interface EventData {
|
|
1214
1214
|
/** Event schedule. */
|
|
1215
1215
|
scheduling?: string | null;
|
|
1216
1216
|
/** Event location. */
|
|
1217
1217
|
location?: string | null;
|
|
1218
1218
|
}
|
|
1219
|
-
|
|
1219
|
+
interface VideoData {
|
|
1220
1220
|
/** Styling for the video's container. */
|
|
1221
1221
|
containerData?: PluginContainerData;
|
|
1222
1222
|
/** Video details. */
|
|
@@ -1230,7 +1230,7 @@ export interface VideoData {
|
|
|
1230
1230
|
/** Video options. */
|
|
1231
1231
|
options?: PlaybackOptions;
|
|
1232
1232
|
}
|
|
1233
|
-
|
|
1233
|
+
interface PlaybackOptions {
|
|
1234
1234
|
/** Sets whether the media will automatically start playing. */
|
|
1235
1235
|
autoPlay?: boolean | null;
|
|
1236
1236
|
/** Sets whether media's will be looped. */
|
|
@@ -1238,7 +1238,7 @@ export interface PlaybackOptions {
|
|
|
1238
1238
|
/** Sets whether media's controls will be shown. */
|
|
1239
1239
|
showControls?: boolean | null;
|
|
1240
1240
|
}
|
|
1241
|
-
|
|
1241
|
+
interface EmbedData {
|
|
1242
1242
|
/** Styling for the oEmbed node's container. */
|
|
1243
1243
|
containerData?: PluginContainerData;
|
|
1244
1244
|
/** An [oEmbed](https://www.oembed.com) object. */
|
|
@@ -1246,7 +1246,7 @@ export interface EmbedData {
|
|
|
1246
1246
|
/** Origin asset source. */
|
|
1247
1247
|
src?: string | null;
|
|
1248
1248
|
}
|
|
1249
|
-
|
|
1249
|
+
interface Oembed {
|
|
1250
1250
|
/** The resource type. */
|
|
1251
1251
|
type?: string | null;
|
|
1252
1252
|
/** The width of the resource specified in the `url` property in pixels. */
|
|
@@ -1278,7 +1278,7 @@ export interface Oembed {
|
|
|
1278
1278
|
/** The oEmbed version number. This value must be `1.0`. */
|
|
1279
1279
|
version?: string | null;
|
|
1280
1280
|
}
|
|
1281
|
-
|
|
1281
|
+
interface CollapsibleListData {
|
|
1282
1282
|
/** Styling for the collapsible list's container. */
|
|
1283
1283
|
containerData?: PluginContainerData;
|
|
1284
1284
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
|
@@ -1290,7 +1290,7 @@ export interface CollapsibleListData {
|
|
|
1290
1290
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
1291
1291
|
isQapageData?: boolean | null;
|
|
1292
1292
|
}
|
|
1293
|
-
|
|
1293
|
+
declare enum InitialExpandedItems {
|
|
1294
1294
|
/** First item will be expended initally */
|
|
1295
1295
|
FIRST = "FIRST",
|
|
1296
1296
|
/** All items will expended initally */
|
|
@@ -1298,13 +1298,13 @@ export declare enum InitialExpandedItems {
|
|
|
1298
1298
|
/** All items collapsed initally */
|
|
1299
1299
|
NONE = "NONE"
|
|
1300
1300
|
}
|
|
1301
|
-
|
|
1301
|
+
declare enum Direction {
|
|
1302
1302
|
/** Left-to-right */
|
|
1303
1303
|
LTR = "LTR",
|
|
1304
1304
|
/** Right-to-left */
|
|
1305
1305
|
RTL = "RTL"
|
|
1306
1306
|
}
|
|
1307
|
-
|
|
1307
|
+
interface TableData {
|
|
1308
1308
|
/** Styling for the table's container. */
|
|
1309
1309
|
containerData?: PluginContainerData;
|
|
1310
1310
|
/** The table's dimensions. */
|
|
@@ -1319,7 +1319,7 @@ export interface TableData {
|
|
|
1319
1319
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
1320
1320
|
columnHeader?: boolean | null;
|
|
1321
1321
|
}
|
|
1322
|
-
|
|
1322
|
+
interface Dimensions {
|
|
1323
1323
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
1324
1324
|
colsWidthRatio?: number[];
|
|
1325
1325
|
/** An array representing the height of each row in pixels. */
|
|
@@ -1327,13 +1327,13 @@ export interface Dimensions {
|
|
|
1327
1327
|
/** An array representing the minimum width of each column in pixels. */
|
|
1328
1328
|
colsMinWidth?: number[];
|
|
1329
1329
|
}
|
|
1330
|
-
|
|
1330
|
+
interface TableCellData {
|
|
1331
1331
|
/** Styling for the cell's background color and text alignment. */
|
|
1332
1332
|
cellStyle?: CellStyle;
|
|
1333
1333
|
/** The cell's border colors. */
|
|
1334
1334
|
borderColors?: BorderColors;
|
|
1335
1335
|
}
|
|
1336
|
-
|
|
1336
|
+
declare enum VerticalAlignment {
|
|
1337
1337
|
/** Top alignment */
|
|
1338
1338
|
TOP = "TOP",
|
|
1339
1339
|
/** Middle alignment */
|
|
@@ -1341,7 +1341,7 @@ export declare enum VerticalAlignment {
|
|
|
1341
1341
|
/** Bottom alignment */
|
|
1342
1342
|
BOTTOM = "BOTTOM"
|
|
1343
1343
|
}
|
|
1344
|
-
|
|
1344
|
+
interface CellStyle {
|
|
1345
1345
|
/** Vertical alignment for the cell's text. */
|
|
1346
1346
|
verticalAlignment?: VerticalAlignment;
|
|
1347
1347
|
/**
|
|
@@ -1350,7 +1350,7 @@ export interface CellStyle {
|
|
|
1350
1350
|
*/
|
|
1351
1351
|
backgroundColor?: string | null;
|
|
1352
1352
|
}
|
|
1353
|
-
|
|
1353
|
+
interface BorderColors {
|
|
1354
1354
|
/**
|
|
1355
1355
|
* Left border color as a hexadecimal value.
|
|
1356
1356
|
* @format COLOR_HEX
|
|
@@ -1378,7 +1378,7 @@ export interface BorderColors {
|
|
|
1378
1378
|
*
|
|
1379
1379
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
1380
1380
|
*/
|
|
1381
|
-
|
|
1381
|
+
declare enum NullValue {
|
|
1382
1382
|
/** Null value. */
|
|
1383
1383
|
NULL_VALUE = "NULL_VALUE"
|
|
1384
1384
|
}
|
|
@@ -1387,11 +1387,11 @@ export declare enum NullValue {
|
|
|
1387
1387
|
*
|
|
1388
1388
|
* The JSON representation for `ListValue` is JSON array.
|
|
1389
1389
|
*/
|
|
1390
|
-
|
|
1390
|
+
interface ListValue {
|
|
1391
1391
|
/** Repeated field of dynamically typed values. */
|
|
1392
1392
|
values?: any[];
|
|
1393
1393
|
}
|
|
1394
|
-
|
|
1394
|
+
interface AudioData {
|
|
1395
1395
|
/** Styling for the audio node's container. */
|
|
1396
1396
|
containerData?: PluginContainerData;
|
|
1397
1397
|
/** Audio file details. */
|
|
@@ -1407,7 +1407,7 @@ export interface AudioData {
|
|
|
1407
1407
|
/** An HTML version of the audio node. */
|
|
1408
1408
|
html?: string | null;
|
|
1409
1409
|
}
|
|
1410
|
-
|
|
1410
|
+
interface OrderedListData {
|
|
1411
1411
|
/** Indentation level from 0-4. */
|
|
1412
1412
|
indentation?: number;
|
|
1413
1413
|
/** Offset level from 0-4. */
|
|
@@ -1415,24 +1415,24 @@ export interface OrderedListData {
|
|
|
1415
1415
|
/** List start number. */
|
|
1416
1416
|
start?: number | null;
|
|
1417
1417
|
}
|
|
1418
|
-
|
|
1418
|
+
interface BulletedListData {
|
|
1419
1419
|
/** Indentation level from 0-4. */
|
|
1420
1420
|
indentation?: number;
|
|
1421
1421
|
/** Offset level from 0-4. */
|
|
1422
1422
|
offset?: number | null;
|
|
1423
1423
|
}
|
|
1424
|
-
|
|
1424
|
+
interface BlockquoteData {
|
|
1425
1425
|
/** Indentation level from 1-4. */
|
|
1426
1426
|
indentation?: number;
|
|
1427
1427
|
}
|
|
1428
|
-
|
|
1428
|
+
interface CaptionData {
|
|
1429
1429
|
textStyle?: TextStyle;
|
|
1430
1430
|
}
|
|
1431
|
-
|
|
1431
|
+
interface LayoutCellData {
|
|
1432
1432
|
/** Size of the cell in 12 columns grid. */
|
|
1433
1433
|
colSpan?: number | null;
|
|
1434
1434
|
}
|
|
1435
|
-
|
|
1435
|
+
interface Metadata {
|
|
1436
1436
|
/** Schema version. */
|
|
1437
1437
|
version?: number;
|
|
1438
1438
|
/**
|
|
@@ -1447,9 +1447,9 @@ export interface Metadata {
|
|
|
1447
1447
|
*/
|
|
1448
1448
|
updatedTimestamp?: Date | null;
|
|
1449
1449
|
/** Object ID. */
|
|
1450
|
-
|
|
1450
|
+
_id?: string | null;
|
|
1451
1451
|
}
|
|
1452
|
-
|
|
1452
|
+
interface DocumentStyle {
|
|
1453
1453
|
/** Styling for H1 nodes. */
|
|
1454
1454
|
headerOne?: TextNodeStyle;
|
|
1455
1455
|
/** Styling for H2 nodes. */
|
|
@@ -1469,7 +1469,7 @@ export interface DocumentStyle {
|
|
|
1469
1469
|
/** Styling for code block nodes. */
|
|
1470
1470
|
codeBlock?: TextNodeStyle;
|
|
1471
1471
|
}
|
|
1472
|
-
|
|
1472
|
+
interface TextNodeStyle {
|
|
1473
1473
|
/** The decorations to apply to the node. */
|
|
1474
1474
|
decorations?: Decoration[];
|
|
1475
1475
|
/** Padding and background color for the node. */
|
|
@@ -1477,7 +1477,7 @@ export interface TextNodeStyle {
|
|
|
1477
1477
|
/** Line height for text in the node. */
|
|
1478
1478
|
lineHeight?: string | null;
|
|
1479
1479
|
}
|
|
1480
|
-
|
|
1480
|
+
interface MachineTranslateRequest {
|
|
1481
1481
|
/** Language of the source text to translate. */
|
|
1482
1482
|
sourceLanguage: SupportedLanguage;
|
|
1483
1483
|
/** Language to translate text into. */
|
|
@@ -1485,7 +1485,7 @@ export interface MachineTranslateRequest {
|
|
|
1485
1485
|
/** The content to translate. */
|
|
1486
1486
|
contentToTranslate: TranslatableContent;
|
|
1487
1487
|
}
|
|
1488
|
-
|
|
1488
|
+
declare enum SupportedLanguage {
|
|
1489
1489
|
/** Undefined Language */
|
|
1490
1490
|
UNDEFINED_SUPPORTED_LANGUAGE = "UNDEFINED_SUPPORTED_LANGUAGE",
|
|
1491
1491
|
/** Afrikaans */
|
|
@@ -1759,30 +1759,30 @@ export declare enum SupportedLanguage {
|
|
|
1759
1759
|
/** Zulu */
|
|
1760
1760
|
ZU = "ZU"
|
|
1761
1761
|
}
|
|
1762
|
-
|
|
1762
|
+
interface MachineTranslateResponse {
|
|
1763
1763
|
/** The translated content. */
|
|
1764
1764
|
translatedContent?: TranslatableContent;
|
|
1765
1765
|
}
|
|
1766
|
-
|
|
1766
|
+
interface NotEnoughCreditsError {
|
|
1767
1767
|
/** The number of credits required to translate the content in the request. */
|
|
1768
1768
|
creditsRequired?: number;
|
|
1769
1769
|
}
|
|
1770
|
-
|
|
1770
|
+
interface TextTooLongError {
|
|
1771
1771
|
/** The maximum length of text that can be translated. */
|
|
1772
1772
|
maxLength?: number;
|
|
1773
1773
|
/** The actual length of the text that was sent for translation. */
|
|
1774
1774
|
actualLength?: number;
|
|
1775
1775
|
}
|
|
1776
|
-
|
|
1776
|
+
interface UnknownFormatError {
|
|
1777
1777
|
}
|
|
1778
|
-
|
|
1778
|
+
interface SameLanguageArgumentsError {
|
|
1779
1779
|
/**
|
|
1780
1780
|
* The language supplied as both the source and the target languages
|
|
1781
1781
|
* @maxLength 16
|
|
1782
1782
|
*/
|
|
1783
1783
|
language?: string;
|
|
1784
1784
|
}
|
|
1785
|
-
|
|
1785
|
+
interface BulkMachineTranslateRequest {
|
|
1786
1786
|
/** Language of the source text to translate. */
|
|
1787
1787
|
sourceLanguage: SupportedLanguage;
|
|
1788
1788
|
/** Language to translate text into. */
|
|
@@ -1794,7 +1794,7 @@ export interface BulkMachineTranslateRequest {
|
|
|
1794
1794
|
*/
|
|
1795
1795
|
contentToTranslate?: TranslatableContent[];
|
|
1796
1796
|
}
|
|
1797
|
-
|
|
1797
|
+
interface BulkMachineTranslateResponse {
|
|
1798
1798
|
/**
|
|
1799
1799
|
* List of results for each item in the bulk request.
|
|
1800
1800
|
* @minSize 1
|
|
@@ -1804,15 +1804,15 @@ export interface BulkMachineTranslateResponse {
|
|
|
1804
1804
|
/** Metadata for the overall bulk action, including success and failure counts. */
|
|
1805
1805
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1806
1806
|
}
|
|
1807
|
-
|
|
1807
|
+
interface BulkTranslateResult {
|
|
1808
1808
|
/** Metadata for the individual item in the request. */
|
|
1809
1809
|
itemMetadata?: ItemMetadata;
|
|
1810
1810
|
/** The translated content. */
|
|
1811
1811
|
item?: TranslatableContent;
|
|
1812
1812
|
}
|
|
1813
|
-
|
|
1813
|
+
interface ItemMetadata {
|
|
1814
1814
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1815
|
-
|
|
1815
|
+
_id?: string | null;
|
|
1816
1816
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1817
1817
|
originalIndex?: number;
|
|
1818
1818
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -1820,7 +1820,7 @@ export interface ItemMetadata {
|
|
|
1820
1820
|
/** Details about the error in case of failure. */
|
|
1821
1821
|
error?: ApplicationError;
|
|
1822
1822
|
}
|
|
1823
|
-
|
|
1823
|
+
interface ApplicationError {
|
|
1824
1824
|
/** Error code. */
|
|
1825
1825
|
code?: string;
|
|
1826
1826
|
/** Description of the error. */
|
|
@@ -1828,7 +1828,7 @@ export interface ApplicationError {
|
|
|
1828
1828
|
/** Data related to the error. */
|
|
1829
1829
|
data?: Record<string, any> | null;
|
|
1830
1830
|
}
|
|
1831
|
-
|
|
1831
|
+
interface BulkActionMetadata {
|
|
1832
1832
|
/** Number of items that were successfully processed. */
|
|
1833
1833
|
totalSuccesses?: number;
|
|
1834
1834
|
/** Number of items that couldn't be processed. */
|
|
@@ -1836,287 +1836,21 @@ export interface BulkActionMetadata {
|
|
|
1836
1836
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1837
1837
|
undetailedFailures?: number;
|
|
1838
1838
|
}
|
|
1839
|
-
interface
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
alignment: PluginContainerDataAlignment;
|
|
1845
|
-
}
|
|
1846
|
-
interface LinkNonNullableFields {
|
|
1847
|
-
url: string;
|
|
1848
|
-
anchor: string;
|
|
1849
|
-
target: Target;
|
|
1850
|
-
}
|
|
1851
|
-
interface ButtonDataNonNullableFields {
|
|
1852
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1853
|
-
type: Type;
|
|
1854
|
-
link?: LinkNonNullableFields;
|
|
1855
|
-
}
|
|
1856
|
-
interface TextStyleNonNullableFields {
|
|
1857
|
-
textAlignment: TextAlignment;
|
|
1858
|
-
}
|
|
1859
|
-
interface CodeBlockDataNonNullableFields {
|
|
1860
|
-
textStyle?: TextStyleNonNullableFields;
|
|
1861
|
-
}
|
|
1862
|
-
interface DividerDataNonNullableFields {
|
|
1863
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1864
|
-
lineStyle: LineStyle;
|
|
1865
|
-
width: Width;
|
|
1866
|
-
alignment: Alignment;
|
|
1867
|
-
}
|
|
1868
|
-
interface PDFSettingsNonNullableFields {
|
|
1869
|
-
viewMode: ViewMode;
|
|
1870
|
-
}
|
|
1871
|
-
interface FileDataNonNullableFields {
|
|
1872
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1873
|
-
pdfSettings?: PDFSettingsNonNullableFields;
|
|
1874
|
-
}
|
|
1875
|
-
interface ImageNonNullableFields {
|
|
1876
|
-
link?: LinkNonNullableFields;
|
|
1877
|
-
}
|
|
1878
|
-
interface ItemNonNullableFields {
|
|
1879
|
-
image?: ImageNonNullableFields;
|
|
1880
|
-
}
|
|
1881
|
-
interface LayoutNonNullableFields {
|
|
1882
|
-
type: LayoutType;
|
|
1883
|
-
orientation: Orientation;
|
|
1884
|
-
}
|
|
1885
|
-
interface ItemStyleNonNullableFields {
|
|
1886
|
-
crop: Crop;
|
|
1887
|
-
}
|
|
1888
|
-
interface ThumbnailsNonNullableFields {
|
|
1889
|
-
placement: ThumbnailsAlignment;
|
|
1890
|
-
}
|
|
1891
|
-
interface GalleryOptionsNonNullableFields {
|
|
1892
|
-
layout?: LayoutNonNullableFields;
|
|
1893
|
-
item?: ItemStyleNonNullableFields;
|
|
1894
|
-
thumbnails?: ThumbnailsNonNullableFields;
|
|
1895
|
-
}
|
|
1896
|
-
interface GalleryDataNonNullableFields {
|
|
1897
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1898
|
-
items: ItemNonNullableFields[];
|
|
1899
|
-
options?: GalleryOptionsNonNullableFields;
|
|
1900
|
-
}
|
|
1901
|
-
interface GIFDataNonNullableFields {
|
|
1902
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1903
|
-
height: number;
|
|
1904
|
-
width: number;
|
|
1905
|
-
gifType: GIFType;
|
|
1906
|
-
}
|
|
1907
|
-
interface HeadingDataNonNullableFields {
|
|
1908
|
-
level: number;
|
|
1909
|
-
textStyle?: TextStyleNonNullableFields;
|
|
1910
|
-
}
|
|
1911
|
-
interface HTMLDataNonNullableFields {
|
|
1912
|
-
url: string;
|
|
1913
|
-
html: string;
|
|
1914
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1915
|
-
source: Source;
|
|
1916
|
-
}
|
|
1917
|
-
interface ImageDataNonNullableFields {
|
|
1918
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1919
|
-
link?: LinkNonNullableFields;
|
|
1920
|
-
}
|
|
1921
|
-
interface LinkPreviewDataStylesNonNullableFields {
|
|
1922
|
-
thumbnailPosition: Position;
|
|
1923
|
-
}
|
|
1924
|
-
interface LinkPreviewDataNonNullableFields {
|
|
1925
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1926
|
-
link?: LinkNonNullableFields;
|
|
1927
|
-
styles?: LinkPreviewDataStylesNonNullableFields;
|
|
1928
|
-
}
|
|
1929
|
-
interface MapSettingsNonNullableFields {
|
|
1930
|
-
mapType: MapType;
|
|
1931
|
-
}
|
|
1932
|
-
interface MapDataNonNullableFields {
|
|
1933
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1934
|
-
mapSettings?: MapSettingsNonNullableFields;
|
|
1935
|
-
}
|
|
1936
|
-
interface ParagraphDataNonNullableFields {
|
|
1937
|
-
textStyle?: TextStyleNonNullableFields;
|
|
1938
|
-
}
|
|
1939
|
-
interface PermissionsNonNullableFields {
|
|
1940
|
-
view: ViewRole;
|
|
1941
|
-
vote: VoteRole;
|
|
1942
|
-
}
|
|
1943
|
-
interface SettingsNonNullableFields {
|
|
1944
|
-
permissions?: PermissionsNonNullableFields;
|
|
1945
|
-
}
|
|
1946
|
-
interface PollNonNullableFields {
|
|
1947
|
-
settings?: SettingsNonNullableFields;
|
|
1948
|
-
}
|
|
1949
|
-
interface PollLayoutNonNullableFields {
|
|
1950
|
-
type: PollLayoutType;
|
|
1951
|
-
direction: PollLayoutDirection;
|
|
1839
|
+
interface MachineTranslateOptions {
|
|
1840
|
+
/** Language to translate text into. */
|
|
1841
|
+
targetLanguage: SupportedLanguage;
|
|
1842
|
+
/** The content to translate. */
|
|
1843
|
+
contentToTranslate: TranslatableContent;
|
|
1952
1844
|
}
|
|
1953
|
-
interface
|
|
1954
|
-
|
|
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[];
|
|
1955
1854
|
}
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
}
|
|
1959
|
-
interface PollDesignNonNullableFields {
|
|
1960
|
-
background?: BackgroundNonNullableFields;
|
|
1961
|
-
}
|
|
1962
|
-
interface DesignNonNullableFields {
|
|
1963
|
-
poll?: PollDesignNonNullableFields;
|
|
1964
|
-
}
|
|
1965
|
-
interface PollDataNonNullableFields {
|
|
1966
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
1967
|
-
poll?: PollNonNullableFields;
|
|
1968
|
-
layout?: PollDataLayoutNonNullableFields;
|
|
1969
|
-
design?: DesignNonNullableFields;
|
|
1970
|
-
}
|
|
1971
|
-
interface AnchorDataNonNullableFields {
|
|
1972
|
-
anchor: string;
|
|
1973
|
-
}
|
|
1974
|
-
interface LinkDataNonNullableFields {
|
|
1975
|
-
link?: LinkNonNullableFields;
|
|
1976
|
-
}
|
|
1977
|
-
interface MentionDataNonNullableFields {
|
|
1978
|
-
name: string;
|
|
1979
|
-
slug: string;
|
|
1980
|
-
}
|
|
1981
|
-
interface FontSizeDataNonNullableFields {
|
|
1982
|
-
unit: FontType;
|
|
1983
|
-
}
|
|
1984
|
-
interface DecorationNonNullableFields {
|
|
1985
|
-
anchorData?: AnchorDataNonNullableFields;
|
|
1986
|
-
linkData?: LinkDataNonNullableFields;
|
|
1987
|
-
mentionData?: MentionDataNonNullableFields;
|
|
1988
|
-
fontSizeData?: FontSizeDataNonNullableFields;
|
|
1989
|
-
type: DecorationType;
|
|
1990
|
-
}
|
|
1991
|
-
interface TextDataNonNullableFields {
|
|
1992
|
-
text: string;
|
|
1993
|
-
decorations: DecorationNonNullableFields[];
|
|
1994
|
-
}
|
|
1995
|
-
interface AppEmbedDataNonNullableFields {
|
|
1996
|
-
type: AppType;
|
|
1997
|
-
}
|
|
1998
|
-
interface VideoDataNonNullableFields {
|
|
1999
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2000
|
-
}
|
|
2001
|
-
interface EmbedDataNonNullableFields {
|
|
2002
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2003
|
-
}
|
|
2004
|
-
interface CollapsibleListDataNonNullableFields {
|
|
2005
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2006
|
-
initialExpandedItems: InitialExpandedItems;
|
|
2007
|
-
direction: Direction;
|
|
2008
|
-
}
|
|
2009
|
-
interface DimensionsNonNullableFields {
|
|
2010
|
-
colsWidthRatio: number[];
|
|
2011
|
-
rowsHeight: number[];
|
|
2012
|
-
colsMinWidth: number[];
|
|
2013
|
-
}
|
|
2014
|
-
interface TableDataNonNullableFields {
|
|
2015
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2016
|
-
dimensions?: DimensionsNonNullableFields;
|
|
2017
|
-
}
|
|
2018
|
-
interface CellStyleNonNullableFields {
|
|
2019
|
-
verticalAlignment: VerticalAlignment;
|
|
2020
|
-
}
|
|
2021
|
-
interface TableCellDataNonNullableFields {
|
|
2022
|
-
cellStyle?: CellStyleNonNullableFields;
|
|
2023
|
-
}
|
|
2024
|
-
interface AudioDataNonNullableFields {
|
|
2025
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
2026
|
-
}
|
|
2027
|
-
interface OrderedListDataNonNullableFields {
|
|
2028
|
-
indentation: number;
|
|
2029
|
-
}
|
|
2030
|
-
interface BulletedListDataNonNullableFields {
|
|
2031
|
-
indentation: number;
|
|
2032
|
-
}
|
|
2033
|
-
interface BlockquoteDataNonNullableFields {
|
|
2034
|
-
indentation: number;
|
|
2035
|
-
}
|
|
2036
|
-
interface CaptionDataNonNullableFields {
|
|
2037
|
-
textStyle?: TextStyleNonNullableFields;
|
|
2038
|
-
}
|
|
2039
|
-
interface NodeNonNullableFields {
|
|
2040
|
-
buttonData?: ButtonDataNonNullableFields;
|
|
2041
|
-
codeBlockData?: CodeBlockDataNonNullableFields;
|
|
2042
|
-
dividerData?: DividerDataNonNullableFields;
|
|
2043
|
-
fileData?: FileDataNonNullableFields;
|
|
2044
|
-
galleryData?: GalleryDataNonNullableFields;
|
|
2045
|
-
gifData?: GIFDataNonNullableFields;
|
|
2046
|
-
headingData?: HeadingDataNonNullableFields;
|
|
2047
|
-
htmlData?: HTMLDataNonNullableFields;
|
|
2048
|
-
imageData?: ImageDataNonNullableFields;
|
|
2049
|
-
linkPreviewData?: LinkPreviewDataNonNullableFields;
|
|
2050
|
-
mapData?: MapDataNonNullableFields;
|
|
2051
|
-
paragraphData?: ParagraphDataNonNullableFields;
|
|
2052
|
-
pollData?: PollDataNonNullableFields;
|
|
2053
|
-
textData?: TextDataNonNullableFields;
|
|
2054
|
-
appEmbedData?: AppEmbedDataNonNullableFields;
|
|
2055
|
-
videoData?: VideoDataNonNullableFields;
|
|
2056
|
-
embedData?: EmbedDataNonNullableFields;
|
|
2057
|
-
collapsibleListData?: CollapsibleListDataNonNullableFields;
|
|
2058
|
-
tableData?: TableDataNonNullableFields;
|
|
2059
|
-
tableCellData?: TableCellDataNonNullableFields;
|
|
2060
|
-
audioData?: AudioDataNonNullableFields;
|
|
2061
|
-
orderedListData?: OrderedListDataNonNullableFields;
|
|
2062
|
-
bulletedListData?: BulletedListDataNonNullableFields;
|
|
2063
|
-
blockquoteData?: BlockquoteDataNonNullableFields;
|
|
2064
|
-
captionData?: CaptionDataNonNullableFields;
|
|
2065
|
-
type: NodeType;
|
|
2066
|
-
id: string;
|
|
2067
|
-
nodes: NodeNonNullableFields[];
|
|
2068
|
-
}
|
|
2069
|
-
interface MetadataNonNullableFields {
|
|
2070
|
-
version: number;
|
|
2071
|
-
}
|
|
2072
|
-
interface TextNodeStyleNonNullableFields {
|
|
2073
|
-
decorations: DecorationNonNullableFields[];
|
|
2074
|
-
}
|
|
2075
|
-
interface DocumentStyleNonNullableFields {
|
|
2076
|
-
headerOne?: TextNodeStyleNonNullableFields;
|
|
2077
|
-
headerTwo?: TextNodeStyleNonNullableFields;
|
|
2078
|
-
headerThree?: TextNodeStyleNonNullableFields;
|
|
2079
|
-
headerFour?: TextNodeStyleNonNullableFields;
|
|
2080
|
-
headerFive?: TextNodeStyleNonNullableFields;
|
|
2081
|
-
headerSix?: TextNodeStyleNonNullableFields;
|
|
2082
|
-
paragraph?: TextNodeStyleNonNullableFields;
|
|
2083
|
-
blockquote?: TextNodeStyleNonNullableFields;
|
|
2084
|
-
codeBlock?: TextNodeStyleNonNullableFields;
|
|
2085
|
-
}
|
|
2086
|
-
interface RichContentNonNullableFields {
|
|
2087
|
-
nodes: NodeNonNullableFields[];
|
|
2088
|
-
metadata?: MetadataNonNullableFields;
|
|
2089
|
-
documentStyle?: DocumentStyleNonNullableFields;
|
|
2090
|
-
}
|
|
2091
|
-
interface TranslatableContentNonNullableFields {
|
|
2092
|
-
plainTextContent: string;
|
|
2093
|
-
htmlContent: string;
|
|
2094
|
-
richContent?: RichContentNonNullableFields;
|
|
2095
|
-
format: Format;
|
|
2096
|
-
}
|
|
2097
|
-
export interface MachineTranslateResponseNonNullableFields {
|
|
2098
|
-
translatedContent?: TranslatableContentNonNullableFields;
|
|
2099
|
-
}
|
|
2100
|
-
interface ApplicationErrorNonNullableFields {
|
|
2101
|
-
code: string;
|
|
2102
|
-
description: string;
|
|
2103
|
-
}
|
|
2104
|
-
interface ItemMetadataNonNullableFields {
|
|
2105
|
-
originalIndex: number;
|
|
2106
|
-
success: boolean;
|
|
2107
|
-
error?: ApplicationErrorNonNullableFields;
|
|
2108
|
-
}
|
|
2109
|
-
interface BulkTranslateResultNonNullableFields {
|
|
2110
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
2111
|
-
item?: TranslatableContentNonNullableFields;
|
|
2112
|
-
}
|
|
2113
|
-
interface BulkActionMetadataNonNullableFields {
|
|
2114
|
-
totalSuccesses: number;
|
|
2115
|
-
totalFailures: number;
|
|
2116
|
-
undetailedFailures: number;
|
|
2117
|
-
}
|
|
2118
|
-
export interface BulkMachineTranslateResponseNonNullableFields {
|
|
2119
|
-
results: BulkTranslateResultNonNullableFields[];
|
|
2120
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
2121
|
-
}
|
|
2122
|
-
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 };
|