@wix/auto_sdk_multilingual_translation-published-contents 1.0.21 → 1.0.23
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/index.d.mts +49 -0
- package/build/index.d.ts +49 -0
- package/build/index.js +850 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +790 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +49 -0
- package/build/internal/index.d.ts +49 -0
- package/build/internal/index.js +850 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +790 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.d.ts → internal/meta.d.mts} +187 -360
- package/build/{es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.d.ts → internal/meta.d.ts} +187 -360
- package/build/internal/meta.js +239 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +212 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.d.ts → multilingual-localization-public-v3-published-content-translation-published-contents.universal-CZFjMeB8.d.mts} +197 -266
- package/build/{cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.d.ts → internal/multilingual-localization-public-v3-published-content-translation-published-contents.universal-CZFjMeB8.d.ts} +197 -266
- package/build/{internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.d.ts → meta.d.mts} +187 -360
- package/build/{internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.d.ts → meta.d.ts} +187 -360
- package/build/meta.js +239 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +212 -0
- package/build/meta.mjs.map +1 -0
- package/build/{internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.d.ts → multilingual-localization-public-v3-published-content-translation-published-contents.universal-CZFjMeB8.d.mts} +197 -266
- package/build/{es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.d.ts → multilingual-localization-public-v3-published-content-translation-published-contents.universal-CZFjMeB8.d.ts} +197 -266
- package/package.json +12 -11
- 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-localization-public-v3-published-content-translation-published-contents.context.d.ts +0 -21
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js +0 -57
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js.map +0 -1
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.d.ts +0 -24
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js +0 -208
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js.map +0 -1
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.d.ts +0 -13
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js +0 -47
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js.map +0 -1
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.d.ts +0 -35
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js +0 -258
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js.map +0 -1
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js +0 -333
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js.map +0 -1
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js +0 -450
- package/build/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.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-localization-public-v3-published-content-translation-published-contents.context.d.ts +0 -21
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js +0 -21
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js.map +0 -1
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.d.ts +0 -24
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js +0 -204
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js.map +0 -1
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.d.ts +0 -13
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js +0 -20
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js.map +0 -1
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.d.ts +0 -35
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js +0 -221
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js.map +0 -1
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js +0 -330
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js.map +0 -1
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js +0 -423
- package/build/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.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-localization-public-v3-published-content-translation-published-contents.context.d.ts +0 -21
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js +0 -57
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js.map +0 -1
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.d.ts +0 -24
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js +0 -208
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js.map +0 -1
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.d.ts +0 -13
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js +0 -47
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js.map +0 -1
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.d.ts +0 -35
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js +0 -258
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js.map +0 -1
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js +0 -333
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js.map +0 -1
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js +0 -450
- package/build/internal/cjs/src/multilingual-localization-public-v3-published-content-translation-published-contents.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-localization-public-v3-published-content-translation-published-contents.context.d.ts +0 -21
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js +0 -21
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.context.js.map +0 -1
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.d.ts +0 -24
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js +0 -204
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.http.js.map +0 -1
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.d.ts +0 -13
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js +0 -20
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.meta.js.map +0 -1
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.d.ts +0 -35
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js +0 -221
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.public.js.map +0 -1
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js +0 -330
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.types.js.map +0 -1
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js +0 -423
- package/build/internal/es/src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.js.map +0 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { bl as QueryPublishedContentRequest$1, bq as QueryPublishedContentResponse$1 } from './multilingual-localization-public-v3-published-content-translation-published-contents.universal-CZFjMeB8.mjs';
|
|
2
|
+
|
|
3
|
+
interface PublishedContent {
|
|
2
4
|
/**
|
|
3
5
|
* Published content ID.
|
|
4
6
|
* @readonly
|
|
@@ -33,7 +35,7 @@ export interface PublishedContent {
|
|
|
33
35
|
/** Custom field data for the published content object. */
|
|
34
36
|
extendedFields?: ExtendedFields;
|
|
35
37
|
}
|
|
36
|
-
|
|
38
|
+
interface SchemaKey {
|
|
37
39
|
/**
|
|
38
40
|
* ID of the app that created the schema.
|
|
39
41
|
* @format GUID
|
|
@@ -56,7 +58,7 @@ export interface SchemaKey {
|
|
|
56
58
|
*/
|
|
57
59
|
scope?: SchemaScopeWithLiterals;
|
|
58
60
|
}
|
|
59
|
-
|
|
61
|
+
declare enum SchemaScope {
|
|
60
62
|
UNKNOWN_SCOPE = "UNKNOWN_SCOPE",
|
|
61
63
|
/** Global schema for all sites. */
|
|
62
64
|
GLOBAL = "GLOBAL",
|
|
@@ -64,8 +66,8 @@ export declare enum SchemaScope {
|
|
|
64
66
|
SITE = "SITE"
|
|
65
67
|
}
|
|
66
68
|
/** @enumType */
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
type SchemaScopeWithLiterals = SchemaScope | 'UNKNOWN_SCOPE' | 'GLOBAL' | 'SITE';
|
|
70
|
+
interface PublishedContentField extends PublishedContentFieldValueOneOf {
|
|
69
71
|
/**
|
|
70
72
|
* Plain text.
|
|
71
73
|
* @maxLength 100000
|
|
@@ -93,7 +95,7 @@ export interface PublishedContentField extends PublishedContentFieldValueOneOf {
|
|
|
93
95
|
sequenceIds?: string[];
|
|
94
96
|
}
|
|
95
97
|
/** @oneof */
|
|
96
|
-
|
|
98
|
+
interface PublishedContentFieldValueOneOf {
|
|
97
99
|
/**
|
|
98
100
|
* Plain text.
|
|
99
101
|
* @maxLength 100000
|
|
@@ -108,7 +110,7 @@ export interface PublishedContentFieldValueOneOf {
|
|
|
108
110
|
/** Wix Media Manager document. */
|
|
109
111
|
document?: Document;
|
|
110
112
|
}
|
|
111
|
-
|
|
113
|
+
interface RichContent {
|
|
112
114
|
/** Node objects representing a rich content document. */
|
|
113
115
|
nodes?: Node[];
|
|
114
116
|
/** Object metadata. */
|
|
@@ -116,7 +118,7 @@ export interface RichContent {
|
|
|
116
118
|
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
|
117
119
|
documentStyle?: DocumentStyle;
|
|
118
120
|
}
|
|
119
|
-
|
|
121
|
+
interface Node extends NodeDataOneOf {
|
|
120
122
|
/** Data for a button node. */
|
|
121
123
|
buttonData?: ButtonData;
|
|
122
124
|
/** Data for a code block node. */
|
|
@@ -181,7 +183,7 @@ export interface Node extends NodeDataOneOf {
|
|
|
181
183
|
style?: NodeStyle;
|
|
182
184
|
}
|
|
183
185
|
/** @oneof */
|
|
184
|
-
|
|
186
|
+
interface NodeDataOneOf {
|
|
185
187
|
/** Data for a button node. */
|
|
186
188
|
buttonData?: ButtonData;
|
|
187
189
|
/** Data for a code block node. */
|
|
@@ -237,7 +239,7 @@ export interface NodeDataOneOf {
|
|
|
237
239
|
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
|
238
240
|
layoutCellData?: LayoutCellData;
|
|
239
241
|
}
|
|
240
|
-
|
|
242
|
+
declare enum NodeType {
|
|
241
243
|
PARAGRAPH = "PARAGRAPH",
|
|
242
244
|
TEXT = "TEXT",
|
|
243
245
|
HEADING = "HEADING",
|
|
@@ -274,8 +276,8 @@ export declare enum NodeType {
|
|
|
274
276
|
LAYOUT_CELL = "LAYOUT_CELL"
|
|
275
277
|
}
|
|
276
278
|
/** @enumType */
|
|
277
|
-
|
|
278
|
-
|
|
279
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
|
|
280
|
+
interface NodeStyle {
|
|
279
281
|
/** The top padding value in pixels. */
|
|
280
282
|
paddingTop?: string | null;
|
|
281
283
|
/** The bottom padding value in pixels. */
|
|
@@ -283,7 +285,7 @@ export interface NodeStyle {
|
|
|
283
285
|
/** The background color as a hexadecimal value. */
|
|
284
286
|
backgroundColor?: string | null;
|
|
285
287
|
}
|
|
286
|
-
|
|
288
|
+
interface ButtonData {
|
|
287
289
|
/** Styling for the button's container. */
|
|
288
290
|
containerData?: PluginContainerData;
|
|
289
291
|
/** The button type. */
|
|
@@ -295,7 +297,7 @@ export interface ButtonData {
|
|
|
295
297
|
/** Button link details. */
|
|
296
298
|
link?: Link;
|
|
297
299
|
}
|
|
298
|
-
|
|
300
|
+
interface Border {
|
|
299
301
|
/**
|
|
300
302
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
301
303
|
* @deprecated
|
|
@@ -307,7 +309,7 @@ export interface Border {
|
|
|
307
309
|
*/
|
|
308
310
|
radius?: number | null;
|
|
309
311
|
}
|
|
310
|
-
|
|
312
|
+
interface Colors {
|
|
311
313
|
/**
|
|
312
314
|
* Deprecated: Use `textColor` in `styles` instead.
|
|
313
315
|
* @deprecated
|
|
@@ -324,7 +326,7 @@ export interface Colors {
|
|
|
324
326
|
*/
|
|
325
327
|
background?: string | null;
|
|
326
328
|
}
|
|
327
|
-
|
|
329
|
+
interface PluginContainerData {
|
|
328
330
|
/** The width of the node when it's displayed. */
|
|
329
331
|
width?: PluginContainerDataWidth;
|
|
330
332
|
/** The node's alignment within its container. */
|
|
@@ -336,7 +338,7 @@ export interface PluginContainerData {
|
|
|
336
338
|
/** 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`. */
|
|
337
339
|
textWrap?: boolean | null;
|
|
338
340
|
}
|
|
339
|
-
|
|
341
|
+
declare enum WidthType {
|
|
340
342
|
/** Width matches the content width */
|
|
341
343
|
CONTENT = "CONTENT",
|
|
342
344
|
/** Small Width */
|
|
@@ -347,8 +349,8 @@ export declare enum WidthType {
|
|
|
347
349
|
FULL_WIDTH = "FULL_WIDTH"
|
|
348
350
|
}
|
|
349
351
|
/** @enumType */
|
|
350
|
-
|
|
351
|
-
|
|
352
|
+
type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
|
|
353
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
|
352
354
|
/**
|
|
353
355
|
* One of the following predefined width options:
|
|
354
356
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -361,7 +363,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
|
|
|
361
363
|
custom?: string | null;
|
|
362
364
|
}
|
|
363
365
|
/** @oneof */
|
|
364
|
-
|
|
366
|
+
interface PluginContainerDataWidthDataOneOf {
|
|
365
367
|
/**
|
|
366
368
|
* One of the following predefined width options:
|
|
367
369
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -373,7 +375,7 @@ export interface PluginContainerDataWidthDataOneOf {
|
|
|
373
375
|
/** A custom width value in pixels. */
|
|
374
376
|
custom?: string | null;
|
|
375
377
|
}
|
|
376
|
-
|
|
378
|
+
declare enum PluginContainerDataAlignment {
|
|
377
379
|
/** Center Alignment */
|
|
378
380
|
CENTER = "CENTER",
|
|
379
381
|
/** Left Alignment */
|
|
@@ -382,8 +384,8 @@ export declare enum PluginContainerDataAlignment {
|
|
|
382
384
|
RIGHT = "RIGHT"
|
|
383
385
|
}
|
|
384
386
|
/** @enumType */
|
|
385
|
-
|
|
386
|
-
|
|
387
|
+
type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
388
|
+
interface Spoiler {
|
|
387
389
|
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
|
388
390
|
enabled?: boolean | null;
|
|
389
391
|
/** The description displayed on top of the spoiler cover. */
|
|
@@ -391,19 +393,19 @@ export interface Spoiler {
|
|
|
391
393
|
/** The text for the button used to remove the spoiler cover. */
|
|
392
394
|
buttonText?: string | null;
|
|
393
395
|
}
|
|
394
|
-
|
|
396
|
+
interface Height {
|
|
395
397
|
/** A custom height value in pixels. */
|
|
396
398
|
custom?: string | null;
|
|
397
399
|
}
|
|
398
|
-
|
|
400
|
+
declare enum Type {
|
|
399
401
|
/** Regular link button */
|
|
400
402
|
LINK = "LINK",
|
|
401
403
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
402
404
|
ACTION = "ACTION"
|
|
403
405
|
}
|
|
404
406
|
/** @enumType */
|
|
405
|
-
|
|
406
|
-
|
|
407
|
+
type TypeWithLiterals = Type | 'LINK' | 'ACTION';
|
|
408
|
+
interface Styles {
|
|
407
409
|
/**
|
|
408
410
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
409
411
|
* @deprecated
|
|
@@ -456,7 +458,7 @@ export interface Styles {
|
|
|
456
458
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
457
459
|
buttonSize?: string | null;
|
|
458
460
|
}
|
|
459
|
-
|
|
461
|
+
interface Link extends LinkDataOneOf {
|
|
460
462
|
/** The absolute URL for the linked document. */
|
|
461
463
|
url?: string;
|
|
462
464
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
@@ -475,13 +477,13 @@ export interface Link extends LinkDataOneOf {
|
|
|
475
477
|
customData?: string | null;
|
|
476
478
|
}
|
|
477
479
|
/** @oneof */
|
|
478
|
-
|
|
480
|
+
interface LinkDataOneOf {
|
|
479
481
|
/** The absolute URL for the linked document. */
|
|
480
482
|
url?: string;
|
|
481
483
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
482
484
|
anchor?: string;
|
|
483
485
|
}
|
|
484
|
-
|
|
486
|
+
declare enum Target {
|
|
485
487
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
486
488
|
SELF = "SELF",
|
|
487
489
|
/** Opens the linked document in a new window or tab */
|
|
@@ -492,8 +494,8 @@ export declare enum Target {
|
|
|
492
494
|
TOP = "TOP"
|
|
493
495
|
}
|
|
494
496
|
/** @enumType */
|
|
495
|
-
|
|
496
|
-
|
|
497
|
+
type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
|
|
498
|
+
interface Rel {
|
|
497
499
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
|
498
500
|
nofollow?: boolean | null;
|
|
499
501
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
|
@@ -503,17 +505,17 @@ export interface Rel {
|
|
|
503
505
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
504
506
|
noreferrer?: boolean | null;
|
|
505
507
|
}
|
|
506
|
-
|
|
508
|
+
interface CodeBlockData {
|
|
507
509
|
/** Styling for the code block's text. */
|
|
508
510
|
textStyle?: TextStyle;
|
|
509
511
|
}
|
|
510
|
-
|
|
512
|
+
interface TextStyle {
|
|
511
513
|
/** Text alignment. Defaults to `AUTO`. */
|
|
512
514
|
textAlignment?: TextAlignmentWithLiterals;
|
|
513
515
|
/** 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. */
|
|
514
516
|
lineHeight?: string | null;
|
|
515
517
|
}
|
|
516
|
-
|
|
518
|
+
declare enum TextAlignment {
|
|
517
519
|
/** browser default, eqivalent to `initial` */
|
|
518
520
|
AUTO = "AUTO",
|
|
519
521
|
/** Left align */
|
|
@@ -526,8 +528,8 @@ export declare enum TextAlignment {
|
|
|
526
528
|
JUSTIFY = "JUSTIFY"
|
|
527
529
|
}
|
|
528
530
|
/** @enumType */
|
|
529
|
-
|
|
530
|
-
|
|
531
|
+
type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
|
|
532
|
+
interface DividerData {
|
|
531
533
|
/** Styling for the divider's container. */
|
|
532
534
|
containerData?: PluginContainerData;
|
|
533
535
|
/** Divider line style. */
|
|
@@ -537,7 +539,7 @@ export interface DividerData {
|
|
|
537
539
|
/** Divider alignment. */
|
|
538
540
|
alignment?: AlignmentWithLiterals;
|
|
539
541
|
}
|
|
540
|
-
|
|
542
|
+
declare enum LineStyle {
|
|
541
543
|
/** Single Line */
|
|
542
544
|
SINGLE = "SINGLE",
|
|
543
545
|
/** Double Line */
|
|
@@ -548,8 +550,8 @@ export declare enum LineStyle {
|
|
|
548
550
|
DOTTED = "DOTTED"
|
|
549
551
|
}
|
|
550
552
|
/** @enumType */
|
|
551
|
-
|
|
552
|
-
|
|
553
|
+
type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
|
|
554
|
+
declare enum Width {
|
|
553
555
|
/** Large line */
|
|
554
556
|
LARGE = "LARGE",
|
|
555
557
|
/** Medium line */
|
|
@@ -558,8 +560,8 @@ export declare enum Width {
|
|
|
558
560
|
SMALL = "SMALL"
|
|
559
561
|
}
|
|
560
562
|
/** @enumType */
|
|
561
|
-
|
|
562
|
-
|
|
563
|
+
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
564
|
+
declare enum Alignment {
|
|
563
565
|
/** Center alignment */
|
|
564
566
|
CENTER = "CENTER",
|
|
565
567
|
/** Left alignment */
|
|
@@ -568,8 +570,8 @@ export declare enum Alignment {
|
|
|
568
570
|
RIGHT = "RIGHT"
|
|
569
571
|
}
|
|
570
572
|
/** @enumType */
|
|
571
|
-
|
|
572
|
-
|
|
573
|
+
type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
574
|
+
interface FileData {
|
|
573
575
|
/** Styling for the file's container. */
|
|
574
576
|
containerData?: PluginContainerData;
|
|
575
577
|
/** The source for the file's data. */
|
|
@@ -592,7 +594,7 @@ export interface FileData {
|
|
|
592
594
|
/** File size in KB. */
|
|
593
595
|
sizeInKb?: string | null;
|
|
594
596
|
}
|
|
595
|
-
|
|
597
|
+
declare enum ViewMode {
|
|
596
598
|
/** No PDF view */
|
|
597
599
|
NONE = "NONE",
|
|
598
600
|
/** Full PDF view */
|
|
@@ -601,8 +603,8 @@ export declare enum ViewMode {
|
|
|
601
603
|
MINI = "MINI"
|
|
602
604
|
}
|
|
603
605
|
/** @enumType */
|
|
604
|
-
|
|
605
|
-
|
|
606
|
+
type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
|
|
607
|
+
interface FileSource extends FileSourceDataOneOf {
|
|
606
608
|
/** The absolute URL for the file's source. */
|
|
607
609
|
url?: string | null;
|
|
608
610
|
/**
|
|
@@ -616,7 +618,7 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
|
616
618
|
private?: boolean | null;
|
|
617
619
|
}
|
|
618
620
|
/** @oneof */
|
|
619
|
-
|
|
621
|
+
interface FileSourceDataOneOf {
|
|
620
622
|
/** The absolute URL for the file's source. */
|
|
621
623
|
url?: string | null;
|
|
622
624
|
/**
|
|
@@ -627,7 +629,7 @@ export interface FileSourceDataOneOf {
|
|
|
627
629
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
628
630
|
id?: string | null;
|
|
629
631
|
}
|
|
630
|
-
|
|
632
|
+
interface PDFSettings {
|
|
631
633
|
/**
|
|
632
634
|
* PDF view mode. One of the following:
|
|
633
635
|
* `NONE` : The PDF isn't displayed.
|
|
@@ -640,7 +642,7 @@ export interface PDFSettings {
|
|
|
640
642
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
|
641
643
|
disablePrint?: boolean | null;
|
|
642
644
|
}
|
|
643
|
-
|
|
645
|
+
interface GalleryData {
|
|
644
646
|
/** Styling for the gallery's container. */
|
|
645
647
|
containerData?: PluginContainerData;
|
|
646
648
|
/** The items in the gallery. */
|
|
@@ -652,7 +654,7 @@ export interface GalleryData {
|
|
|
652
654
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
653
655
|
disableDownload?: boolean | null;
|
|
654
656
|
}
|
|
655
|
-
|
|
657
|
+
interface Media {
|
|
656
658
|
/** The source for the media's data. */
|
|
657
659
|
src?: FileSource;
|
|
658
660
|
/** Media width in pixels. */
|
|
@@ -662,19 +664,19 @@ export interface Media {
|
|
|
662
664
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
|
663
665
|
duration?: number | null;
|
|
664
666
|
}
|
|
665
|
-
|
|
667
|
+
interface ItemImage {
|
|
666
668
|
/** Image file details. */
|
|
667
669
|
media?: Media;
|
|
668
670
|
/** Link details for images that are links. */
|
|
669
671
|
link?: Link;
|
|
670
672
|
}
|
|
671
|
-
|
|
673
|
+
interface Video {
|
|
672
674
|
/** Video file details. */
|
|
673
675
|
media?: Media;
|
|
674
676
|
/** Video thumbnail file details. */
|
|
675
677
|
thumbnail?: Media;
|
|
676
678
|
}
|
|
677
|
-
|
|
679
|
+
interface Item extends ItemDataOneOf {
|
|
678
680
|
/** An image item. */
|
|
679
681
|
image?: ItemImage;
|
|
680
682
|
/** A video item. */
|
|
@@ -685,13 +687,13 @@ export interface Item extends ItemDataOneOf {
|
|
|
685
687
|
altText?: string | null;
|
|
686
688
|
}
|
|
687
689
|
/** @oneof */
|
|
688
|
-
|
|
690
|
+
interface ItemDataOneOf {
|
|
689
691
|
/** An image item. */
|
|
690
692
|
image?: ItemImage;
|
|
691
693
|
/** A video item. */
|
|
692
694
|
video?: Video;
|
|
693
695
|
}
|
|
694
|
-
|
|
696
|
+
interface GalleryOptions {
|
|
695
697
|
/** Gallery layout. */
|
|
696
698
|
layout?: Layout;
|
|
697
699
|
/** Styling for gallery items. */
|
|
@@ -699,7 +701,7 @@ export interface GalleryOptions {
|
|
|
699
701
|
/** Styling for gallery thumbnail images. */
|
|
700
702
|
thumbnails?: Thumbnails;
|
|
701
703
|
}
|
|
702
|
-
|
|
704
|
+
declare enum LayoutType {
|
|
703
705
|
/** Collage type */
|
|
704
706
|
COLLAGE = "COLLAGE",
|
|
705
707
|
/** Masonry type */
|
|
@@ -722,24 +724,24 @@ export declare enum LayoutType {
|
|
|
722
724
|
FULLSIZE = "FULLSIZE"
|
|
723
725
|
}
|
|
724
726
|
/** @enumType */
|
|
725
|
-
|
|
726
|
-
|
|
727
|
+
type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
|
|
728
|
+
declare enum Orientation {
|
|
727
729
|
/** Rows Orientation */
|
|
728
730
|
ROWS = "ROWS",
|
|
729
731
|
/** Columns Orientation */
|
|
730
732
|
COLUMNS = "COLUMNS"
|
|
731
733
|
}
|
|
732
734
|
/** @enumType */
|
|
733
|
-
|
|
734
|
-
|
|
735
|
+
type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
|
|
736
|
+
declare enum Crop {
|
|
735
737
|
/** Crop to fill */
|
|
736
738
|
FILL = "FILL",
|
|
737
739
|
/** Crop to fit */
|
|
738
740
|
FIT = "FIT"
|
|
739
741
|
}
|
|
740
742
|
/** @enumType */
|
|
741
|
-
|
|
742
|
-
|
|
743
|
+
type CropWithLiterals = Crop | 'FILL' | 'FIT';
|
|
744
|
+
declare enum ThumbnailsAlignment {
|
|
743
745
|
/** Top alignment */
|
|
744
746
|
TOP = "TOP",
|
|
745
747
|
/** Right alignment */
|
|
@@ -752,8 +754,8 @@ export declare enum ThumbnailsAlignment {
|
|
|
752
754
|
NONE = "NONE"
|
|
753
755
|
}
|
|
754
756
|
/** @enumType */
|
|
755
|
-
|
|
756
|
-
|
|
757
|
+
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
758
|
+
interface Layout {
|
|
757
759
|
/** Gallery layout type. */
|
|
758
760
|
type?: LayoutTypeWithLiterals;
|
|
759
761
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -765,7 +767,7 @@ export interface Layout {
|
|
|
765
767
|
/** The number of columns to display on mobile screens. */
|
|
766
768
|
mobileNumberOfColumns?: number | null;
|
|
767
769
|
}
|
|
768
|
-
|
|
770
|
+
interface ItemStyle {
|
|
769
771
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
|
770
772
|
targetSize?: number | null;
|
|
771
773
|
/** Item ratio */
|
|
@@ -775,13 +777,13 @@ export interface ItemStyle {
|
|
|
775
777
|
/** The spacing between items in pixels. */
|
|
776
778
|
spacing?: number | null;
|
|
777
779
|
}
|
|
778
|
-
|
|
780
|
+
interface Thumbnails {
|
|
779
781
|
/** Thumbnail alignment. */
|
|
780
782
|
placement?: ThumbnailsAlignmentWithLiterals;
|
|
781
783
|
/** Spacing between thumbnails in pixels. */
|
|
782
784
|
spacing?: number | null;
|
|
783
785
|
}
|
|
784
|
-
|
|
786
|
+
interface GIFData {
|
|
785
787
|
/** Styling for the GIF's container. */
|
|
786
788
|
containerData?: PluginContainerData;
|
|
787
789
|
/** The source of the full size GIF. */
|
|
@@ -795,7 +797,7 @@ export interface GIFData {
|
|
|
795
797
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
796
798
|
gifType?: GIFTypeWithLiterals;
|
|
797
799
|
}
|
|
798
|
-
|
|
800
|
+
interface GIF {
|
|
799
801
|
/**
|
|
800
802
|
* GIF format URL.
|
|
801
803
|
* @format WEB_URL
|
|
@@ -812,13 +814,13 @@ export interface GIF {
|
|
|
812
814
|
*/
|
|
813
815
|
still?: string | null;
|
|
814
816
|
}
|
|
815
|
-
|
|
817
|
+
declare enum GIFType {
|
|
816
818
|
NORMAL = "NORMAL",
|
|
817
819
|
STICKER = "STICKER"
|
|
818
820
|
}
|
|
819
821
|
/** @enumType */
|
|
820
|
-
|
|
821
|
-
|
|
822
|
+
type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
|
|
823
|
+
interface HeadingData {
|
|
822
824
|
/** Heading level from 1-6. */
|
|
823
825
|
level?: number;
|
|
824
826
|
/** Styling for the heading text. */
|
|
@@ -826,7 +828,7 @@ export interface HeadingData {
|
|
|
826
828
|
/** Indentation level from 1-4. */
|
|
827
829
|
indentation?: number | null;
|
|
828
830
|
}
|
|
829
|
-
|
|
831
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
|
830
832
|
/** The URL for the HTML code for the node. */
|
|
831
833
|
url?: string;
|
|
832
834
|
/** The HTML code for the node. */
|
|
@@ -844,7 +846,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
|
844
846
|
autoHeight?: boolean | null;
|
|
845
847
|
}
|
|
846
848
|
/** @oneof */
|
|
847
|
-
|
|
849
|
+
interface HTMLDataDataOneOf {
|
|
848
850
|
/** The URL for the HTML code for the node. */
|
|
849
851
|
url?: string;
|
|
850
852
|
/** The HTML code for the node. */
|
|
@@ -855,13 +857,13 @@ export interface HTMLDataDataOneOf {
|
|
|
855
857
|
*/
|
|
856
858
|
isAdsense?: boolean | null;
|
|
857
859
|
}
|
|
858
|
-
|
|
860
|
+
declare enum Source {
|
|
859
861
|
HTML = "HTML",
|
|
860
862
|
ADSENSE = "ADSENSE"
|
|
861
863
|
}
|
|
862
864
|
/** @enumType */
|
|
863
|
-
|
|
864
|
-
|
|
865
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
|
|
866
|
+
interface ImageData {
|
|
865
867
|
/** Styling for the image's container. */
|
|
866
868
|
containerData?: PluginContainerData;
|
|
867
869
|
/** Image file details. */
|
|
@@ -884,7 +886,7 @@ export interface ImageData {
|
|
|
884
886
|
/** Styling for the image. */
|
|
885
887
|
styles?: ImageDataStyles;
|
|
886
888
|
}
|
|
887
|
-
|
|
889
|
+
interface StylesBorder {
|
|
888
890
|
/** Border width in pixels. */
|
|
889
891
|
width?: number | null;
|
|
890
892
|
/**
|
|
@@ -895,11 +897,11 @@ export interface StylesBorder {
|
|
|
895
897
|
/** Border radius in pixels. */
|
|
896
898
|
radius?: number | null;
|
|
897
899
|
}
|
|
898
|
-
|
|
900
|
+
interface ImageDataStyles {
|
|
899
901
|
/** Border attributes. */
|
|
900
902
|
border?: StylesBorder;
|
|
901
903
|
}
|
|
902
|
-
|
|
904
|
+
interface LinkPreviewData {
|
|
903
905
|
/** Styling for the link preview's container. */
|
|
904
906
|
containerData?: PluginContainerData;
|
|
905
907
|
/** Link details. */
|
|
@@ -915,7 +917,7 @@ export interface LinkPreviewData {
|
|
|
915
917
|
/** Styling for the link preview. */
|
|
916
918
|
styles?: LinkPreviewDataStyles;
|
|
917
919
|
}
|
|
918
|
-
|
|
920
|
+
declare enum Position {
|
|
919
921
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
920
922
|
START = "START",
|
|
921
923
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -926,8 +928,8 @@ export declare enum Position {
|
|
|
926
928
|
HIDDEN = "HIDDEN"
|
|
927
929
|
}
|
|
928
930
|
/** @enumType */
|
|
929
|
-
|
|
930
|
-
|
|
931
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
932
|
+
interface LinkPreviewDataStyles {
|
|
931
933
|
/**
|
|
932
934
|
* Background color as a hexadecimal value.
|
|
933
935
|
* @format COLOR_HEX
|
|
@@ -960,13 +962,13 @@ export interface LinkPreviewDataStyles {
|
|
|
960
962
|
/** Position of thumbnail. Defaults to `START`. */
|
|
961
963
|
thumbnailPosition?: PositionWithLiterals;
|
|
962
964
|
}
|
|
963
|
-
|
|
965
|
+
interface MapData {
|
|
964
966
|
/** Styling for the map's container. */
|
|
965
967
|
containerData?: PluginContainerData;
|
|
966
968
|
/** Map settings. */
|
|
967
969
|
mapSettings?: MapSettings;
|
|
968
970
|
}
|
|
969
|
-
|
|
971
|
+
interface MapSettings {
|
|
970
972
|
/** The address to display on the map. */
|
|
971
973
|
address?: string | null;
|
|
972
974
|
/** Sets whether the map is draggable. */
|
|
@@ -990,7 +992,7 @@ export interface MapSettings {
|
|
|
990
992
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
|
991
993
|
mapType?: MapTypeWithLiterals;
|
|
992
994
|
}
|
|
993
|
-
|
|
995
|
+
declare enum MapType {
|
|
994
996
|
/** Roadmap map type */
|
|
995
997
|
ROADMAP = "ROADMAP",
|
|
996
998
|
/** Satellite map type */
|
|
@@ -1001,8 +1003,8 @@ export declare enum MapType {
|
|
|
1001
1003
|
TERRAIN = "TERRAIN"
|
|
1002
1004
|
}
|
|
1003
1005
|
/** @enumType */
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
+
type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
|
|
1007
|
+
interface ParagraphData {
|
|
1006
1008
|
/** Styling for the paragraph text. */
|
|
1007
1009
|
textStyle?: TextStyle;
|
|
1008
1010
|
/** Indentation level from 1-4. */
|
|
@@ -1010,7 +1012,7 @@ export interface ParagraphData {
|
|
|
1010
1012
|
/** Paragraph level */
|
|
1011
1013
|
level?: number | null;
|
|
1012
1014
|
}
|
|
1013
|
-
|
|
1015
|
+
interface PollData {
|
|
1014
1016
|
/** Styling for the poll's container. */
|
|
1015
1017
|
containerData?: PluginContainerData;
|
|
1016
1018
|
/** Poll data. */
|
|
@@ -1020,7 +1022,7 @@ export interface PollData {
|
|
|
1020
1022
|
/** Styling for the poll and voting options. */
|
|
1021
1023
|
design?: Design;
|
|
1022
1024
|
}
|
|
1023
|
-
|
|
1025
|
+
declare enum ViewRole {
|
|
1024
1026
|
/** Only Poll creator can view the results */
|
|
1025
1027
|
CREATOR = "CREATOR",
|
|
1026
1028
|
/** Anyone who voted can see the results */
|
|
@@ -1029,16 +1031,16 @@ export declare enum ViewRole {
|
|
|
1029
1031
|
EVERYONE = "EVERYONE"
|
|
1030
1032
|
}
|
|
1031
1033
|
/** @enumType */
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
+
type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
|
|
1035
|
+
declare enum VoteRole {
|
|
1034
1036
|
/** Logged in member */
|
|
1035
1037
|
SITE_MEMBERS = "SITE_MEMBERS",
|
|
1036
1038
|
/** Anyone */
|
|
1037
1039
|
ALL = "ALL"
|
|
1038
1040
|
}
|
|
1039
1041
|
/** @enumType */
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
+
type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
|
|
1043
|
+
interface Permissions {
|
|
1042
1044
|
/** Sets who can view the poll results. */
|
|
1043
1045
|
view?: ViewRoleWithLiterals;
|
|
1044
1046
|
/** Sets who can vote. */
|
|
@@ -1046,7 +1048,7 @@ export interface Permissions {
|
|
|
1046
1048
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
|
1047
1049
|
allowMultipleVotes?: boolean | null;
|
|
1048
1050
|
}
|
|
1049
|
-
|
|
1051
|
+
interface Option {
|
|
1050
1052
|
/** Option ID. */
|
|
1051
1053
|
id?: string | null;
|
|
1052
1054
|
/** Option title. */
|
|
@@ -1054,7 +1056,7 @@ export interface Option {
|
|
|
1054
1056
|
/** The image displayed with the option. */
|
|
1055
1057
|
image?: Media;
|
|
1056
1058
|
}
|
|
1057
|
-
|
|
1059
|
+
interface Settings {
|
|
1058
1060
|
/** Permissions settings for voting. */
|
|
1059
1061
|
permissions?: Permissions;
|
|
1060
1062
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
|
@@ -1062,23 +1064,23 @@ export interface Settings {
|
|
|
1062
1064
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
|
1063
1065
|
showVotesCount?: boolean | null;
|
|
1064
1066
|
}
|
|
1065
|
-
|
|
1067
|
+
declare enum PollLayoutType {
|
|
1066
1068
|
/** List */
|
|
1067
1069
|
LIST = "LIST",
|
|
1068
1070
|
/** Grid */
|
|
1069
1071
|
GRID = "GRID"
|
|
1070
1072
|
}
|
|
1071
1073
|
/** @enumType */
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
+
type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
|
|
1075
|
+
declare enum PollLayoutDirection {
|
|
1074
1076
|
/** Left-to-right */
|
|
1075
1077
|
LTR = "LTR",
|
|
1076
1078
|
/** Right-to-left */
|
|
1077
1079
|
RTL = "RTL"
|
|
1078
1080
|
}
|
|
1079
1081
|
/** @enumType */
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
+
type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
|
|
1083
|
+
interface PollLayout {
|
|
1082
1084
|
/** The layout for displaying the voting options. */
|
|
1083
1085
|
type?: PollLayoutTypeWithLiterals;
|
|
1084
1086
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
|
@@ -1086,11 +1088,11 @@ export interface PollLayout {
|
|
|
1086
1088
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
|
1087
1089
|
enableImage?: boolean | null;
|
|
1088
1090
|
}
|
|
1089
|
-
|
|
1091
|
+
interface OptionLayout {
|
|
1090
1092
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
1091
1093
|
enableImage?: boolean | null;
|
|
1092
1094
|
}
|
|
1093
|
-
|
|
1095
|
+
declare enum BackgroundType {
|
|
1094
1096
|
/** Color background type */
|
|
1095
1097
|
COLOR = "COLOR",
|
|
1096
1098
|
/** Image background type */
|
|
@@ -1099,8 +1101,8 @@ export declare enum BackgroundType {
|
|
|
1099
1101
|
GRADIENT = "GRADIENT"
|
|
1100
1102
|
}
|
|
1101
1103
|
/** @enumType */
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
+
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
|
1105
|
+
interface Gradient {
|
|
1104
1106
|
/** The gradient angle in degrees. */
|
|
1105
1107
|
angle?: number | null;
|
|
1106
1108
|
/**
|
|
@@ -1114,7 +1116,7 @@ export interface Gradient {
|
|
|
1114
1116
|
*/
|
|
1115
1117
|
lastColor?: string | null;
|
|
1116
1118
|
}
|
|
1117
|
-
|
|
1119
|
+
interface Background extends BackgroundBackgroundOneOf {
|
|
1118
1120
|
/**
|
|
1119
1121
|
* The background color as a hexademical value.
|
|
1120
1122
|
* @format COLOR_HEX
|
|
@@ -1128,7 +1130,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
|
1128
1130
|
type?: BackgroundTypeWithLiterals;
|
|
1129
1131
|
}
|
|
1130
1132
|
/** @oneof */
|
|
1131
|
-
|
|
1133
|
+
interface BackgroundBackgroundOneOf {
|
|
1132
1134
|
/**
|
|
1133
1135
|
* The background color as a hexademical value.
|
|
1134
1136
|
* @format COLOR_HEX
|
|
@@ -1139,17 +1141,17 @@ export interface BackgroundBackgroundOneOf {
|
|
|
1139
1141
|
/** Details for a gradient background. */
|
|
1140
1142
|
gradient?: Gradient;
|
|
1141
1143
|
}
|
|
1142
|
-
|
|
1144
|
+
interface PollDesign {
|
|
1143
1145
|
/** Background styling. */
|
|
1144
1146
|
background?: Background;
|
|
1145
1147
|
/** Border radius in pixels. */
|
|
1146
1148
|
borderRadius?: number | null;
|
|
1147
1149
|
}
|
|
1148
|
-
|
|
1150
|
+
interface OptionDesign {
|
|
1149
1151
|
/** Border radius in pixels. */
|
|
1150
1152
|
borderRadius?: number | null;
|
|
1151
1153
|
}
|
|
1152
|
-
|
|
1154
|
+
interface Poll {
|
|
1153
1155
|
/** Poll ID. */
|
|
1154
1156
|
id?: string | null;
|
|
1155
1157
|
/** Poll title. */
|
|
@@ -1163,26 +1165,26 @@ export interface Poll {
|
|
|
1163
1165
|
/** The poll's permissions and display settings. */
|
|
1164
1166
|
settings?: Settings;
|
|
1165
1167
|
}
|
|
1166
|
-
|
|
1168
|
+
interface PollDataLayout {
|
|
1167
1169
|
/** Poll layout settings. */
|
|
1168
1170
|
poll?: PollLayout;
|
|
1169
1171
|
/** Voting otpions layout settings. */
|
|
1170
1172
|
options?: OptionLayout;
|
|
1171
1173
|
}
|
|
1172
|
-
|
|
1174
|
+
interface Design {
|
|
1173
1175
|
/** Styling for the poll. */
|
|
1174
1176
|
poll?: PollDesign;
|
|
1175
1177
|
/** Styling for voting options. */
|
|
1176
1178
|
options?: OptionDesign;
|
|
1177
1179
|
}
|
|
1178
|
-
|
|
1180
|
+
interface TextData {
|
|
1179
1181
|
/** The text to apply decorations to. */
|
|
1180
1182
|
text?: string;
|
|
1181
1183
|
/** The decorations to apply. */
|
|
1182
1184
|
decorations?: Decoration[];
|
|
1183
1185
|
}
|
|
1184
1186
|
/** Adds appearence changes to text */
|
|
1185
|
-
|
|
1187
|
+
interface Decoration extends DecorationDataOneOf {
|
|
1186
1188
|
/** Data for an anchor link decoration. */
|
|
1187
1189
|
anchorData?: AnchorData;
|
|
1188
1190
|
/** Data for a color decoration. */
|
|
@@ -1207,7 +1209,7 @@ export interface Decoration extends DecorationDataOneOf {
|
|
|
1207
1209
|
type?: DecorationTypeWithLiterals;
|
|
1208
1210
|
}
|
|
1209
1211
|
/** @oneof */
|
|
1210
|
-
|
|
1212
|
+
interface DecorationDataOneOf {
|
|
1211
1213
|
/** Data for an anchor link decoration. */
|
|
1212
1214
|
anchorData?: AnchorData;
|
|
1213
1215
|
/** Data for a color decoration. */
|
|
@@ -1229,7 +1231,7 @@ export interface DecorationDataOneOf {
|
|
|
1229
1231
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
1230
1232
|
strikethroughData?: boolean | null;
|
|
1231
1233
|
}
|
|
1232
|
-
|
|
1234
|
+
declare enum DecorationType {
|
|
1233
1235
|
BOLD = "BOLD",
|
|
1234
1236
|
ITALIC = "ITALIC",
|
|
1235
1237
|
UNDERLINE = "UNDERLINE",
|
|
@@ -1243,22 +1245,22 @@ export declare enum DecorationType {
|
|
|
1243
1245
|
STRIKETHROUGH = "STRIKETHROUGH"
|
|
1244
1246
|
}
|
|
1245
1247
|
/** @enumType */
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
|
1249
|
+
interface AnchorData {
|
|
1248
1250
|
/** The target node's ID. */
|
|
1249
1251
|
anchor?: string;
|
|
1250
1252
|
}
|
|
1251
|
-
|
|
1253
|
+
interface ColorData {
|
|
1252
1254
|
/** The text's background color as a hexadecimal value. */
|
|
1253
1255
|
background?: string | null;
|
|
1254
1256
|
/** The text's foreground color as a hexadecimal value. */
|
|
1255
1257
|
foreground?: string | null;
|
|
1256
1258
|
}
|
|
1257
|
-
|
|
1259
|
+
interface LinkData {
|
|
1258
1260
|
/** Link details. */
|
|
1259
1261
|
link?: Link;
|
|
1260
1262
|
}
|
|
1261
|
-
|
|
1263
|
+
interface MentionData {
|
|
1262
1264
|
/** The mentioned user's name. */
|
|
1263
1265
|
name?: string;
|
|
1264
1266
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
|
@@ -1266,23 +1268,23 @@ export interface MentionData {
|
|
|
1266
1268
|
/** Mentioned user's ID. */
|
|
1267
1269
|
id?: string | null;
|
|
1268
1270
|
}
|
|
1269
|
-
|
|
1271
|
+
interface FontSizeData {
|
|
1270
1272
|
/** The units used for the font size. */
|
|
1271
1273
|
unit?: FontTypeWithLiterals;
|
|
1272
1274
|
/** Font size value. */
|
|
1273
1275
|
value?: number | null;
|
|
1274
1276
|
}
|
|
1275
|
-
|
|
1277
|
+
declare enum FontType {
|
|
1276
1278
|
PX = "PX",
|
|
1277
1279
|
EM = "EM"
|
|
1278
1280
|
}
|
|
1279
1281
|
/** @enumType */
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
+
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
|
1283
|
+
interface SpoilerData {
|
|
1282
1284
|
/** Spoiler ID. */
|
|
1283
1285
|
id?: string | null;
|
|
1284
1286
|
}
|
|
1285
|
-
|
|
1287
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1286
1288
|
/** Data for embedded Wix Bookings content. */
|
|
1287
1289
|
bookingData?: BookingData;
|
|
1288
1290
|
/** Data for embedded Wix Events content. */
|
|
@@ -1304,30 +1306,30 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1304
1306
|
image?: Media;
|
|
1305
1307
|
}
|
|
1306
1308
|
/** @oneof */
|
|
1307
|
-
|
|
1309
|
+
interface AppEmbedDataAppDataOneOf {
|
|
1308
1310
|
/** Data for embedded Wix Bookings content. */
|
|
1309
1311
|
bookingData?: BookingData;
|
|
1310
1312
|
/** Data for embedded Wix Events content. */
|
|
1311
1313
|
eventData?: EventData;
|
|
1312
1314
|
}
|
|
1313
|
-
|
|
1315
|
+
declare enum AppType {
|
|
1314
1316
|
PRODUCT = "PRODUCT",
|
|
1315
1317
|
EVENT = "EVENT",
|
|
1316
1318
|
BOOKING = "BOOKING"
|
|
1317
1319
|
}
|
|
1318
1320
|
/** @enumType */
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
+
type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
|
|
1322
|
+
interface BookingData {
|
|
1321
1323
|
/** Booking duration in minutes. */
|
|
1322
1324
|
durations?: string | null;
|
|
1323
1325
|
}
|
|
1324
|
-
|
|
1326
|
+
interface EventData {
|
|
1325
1327
|
/** Event schedule. */
|
|
1326
1328
|
scheduling?: string | null;
|
|
1327
1329
|
/** Event location. */
|
|
1328
1330
|
location?: string | null;
|
|
1329
1331
|
}
|
|
1330
|
-
|
|
1332
|
+
interface VideoData {
|
|
1331
1333
|
/** Styling for the video's container. */
|
|
1332
1334
|
containerData?: PluginContainerData;
|
|
1333
1335
|
/** Video details. */
|
|
@@ -1341,7 +1343,7 @@ export interface VideoData {
|
|
|
1341
1343
|
/** Video options. */
|
|
1342
1344
|
options?: PlaybackOptions;
|
|
1343
1345
|
}
|
|
1344
|
-
|
|
1346
|
+
interface PlaybackOptions {
|
|
1345
1347
|
/** Sets whether the media will automatically start playing. */
|
|
1346
1348
|
autoPlay?: boolean | null;
|
|
1347
1349
|
/** Sets whether media's will be looped. */
|
|
@@ -1349,7 +1351,7 @@ export interface PlaybackOptions {
|
|
|
1349
1351
|
/** Sets whether media's controls will be shown. */
|
|
1350
1352
|
showControls?: boolean | null;
|
|
1351
1353
|
}
|
|
1352
|
-
|
|
1354
|
+
interface EmbedData {
|
|
1353
1355
|
/** Styling for the oEmbed node's container. */
|
|
1354
1356
|
containerData?: PluginContainerData;
|
|
1355
1357
|
/** An [oEmbed](https://www.oembed.com) object. */
|
|
@@ -1357,7 +1359,7 @@ export interface EmbedData {
|
|
|
1357
1359
|
/** Origin asset source. */
|
|
1358
1360
|
src?: string | null;
|
|
1359
1361
|
}
|
|
1360
|
-
|
|
1362
|
+
interface Oembed {
|
|
1361
1363
|
/** The resource type. */
|
|
1362
1364
|
type?: string | null;
|
|
1363
1365
|
/** The width of the resource specified in the `url` property in pixels. */
|
|
@@ -1389,7 +1391,7 @@ export interface Oembed {
|
|
|
1389
1391
|
/** The oEmbed version number. This value must be `1.0`. */
|
|
1390
1392
|
version?: string | null;
|
|
1391
1393
|
}
|
|
1392
|
-
|
|
1394
|
+
interface CollapsibleListData {
|
|
1393
1395
|
/** Styling for the collapsible list's container. */
|
|
1394
1396
|
containerData?: PluginContainerData;
|
|
1395
1397
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
|
@@ -1401,7 +1403,7 @@ export interface CollapsibleListData {
|
|
|
1401
1403
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
1402
1404
|
isQapageData?: boolean | null;
|
|
1403
1405
|
}
|
|
1404
|
-
|
|
1406
|
+
declare enum InitialExpandedItems {
|
|
1405
1407
|
/** First item will be expended initally */
|
|
1406
1408
|
FIRST = "FIRST",
|
|
1407
1409
|
/** All items will expended initally */
|
|
@@ -1410,16 +1412,16 @@ export declare enum InitialExpandedItems {
|
|
|
1410
1412
|
NONE = "NONE"
|
|
1411
1413
|
}
|
|
1412
1414
|
/** @enumType */
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
+
type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
|
|
1416
|
+
declare enum Direction {
|
|
1415
1417
|
/** Left-to-right */
|
|
1416
1418
|
LTR = "LTR",
|
|
1417
1419
|
/** Right-to-left */
|
|
1418
1420
|
RTL = "RTL"
|
|
1419
1421
|
}
|
|
1420
1422
|
/** @enumType */
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
+
type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
|
|
1424
|
+
interface TableData {
|
|
1423
1425
|
/** Styling for the table's container. */
|
|
1424
1426
|
containerData?: PluginContainerData;
|
|
1425
1427
|
/** The table's dimensions. */
|
|
@@ -1434,7 +1436,7 @@ export interface TableData {
|
|
|
1434
1436
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
1435
1437
|
columnHeader?: boolean | null;
|
|
1436
1438
|
}
|
|
1437
|
-
|
|
1439
|
+
interface Dimensions {
|
|
1438
1440
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
1439
1441
|
colsWidthRatio?: number[];
|
|
1440
1442
|
/** An array representing the height of each row in pixels. */
|
|
@@ -1442,13 +1444,13 @@ export interface Dimensions {
|
|
|
1442
1444
|
/** An array representing the minimum width of each column in pixels. */
|
|
1443
1445
|
colsMinWidth?: number[];
|
|
1444
1446
|
}
|
|
1445
|
-
|
|
1447
|
+
interface TableCellData {
|
|
1446
1448
|
/** Styling for the cell's background color and text alignment. */
|
|
1447
1449
|
cellStyle?: CellStyle;
|
|
1448
1450
|
/** The cell's border colors. */
|
|
1449
1451
|
borderColors?: BorderColors;
|
|
1450
1452
|
}
|
|
1451
|
-
|
|
1453
|
+
declare enum VerticalAlignment {
|
|
1452
1454
|
/** Top alignment */
|
|
1453
1455
|
TOP = "TOP",
|
|
1454
1456
|
/** Middle alignment */
|
|
@@ -1457,8 +1459,8 @@ export declare enum VerticalAlignment {
|
|
|
1457
1459
|
BOTTOM = "BOTTOM"
|
|
1458
1460
|
}
|
|
1459
1461
|
/** @enumType */
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
+
type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
|
|
1463
|
+
interface CellStyle {
|
|
1462
1464
|
/** Vertical alignment for the cell's text. */
|
|
1463
1465
|
verticalAlignment?: VerticalAlignmentWithLiterals;
|
|
1464
1466
|
/**
|
|
@@ -1467,7 +1469,7 @@ export interface CellStyle {
|
|
|
1467
1469
|
*/
|
|
1468
1470
|
backgroundColor?: string | null;
|
|
1469
1471
|
}
|
|
1470
|
-
|
|
1472
|
+
interface BorderColors {
|
|
1471
1473
|
/**
|
|
1472
1474
|
* Left border color as a hexadecimal value.
|
|
1473
1475
|
* @format COLOR_HEX
|
|
@@ -1489,28 +1491,7 @@ export interface BorderColors {
|
|
|
1489
1491
|
*/
|
|
1490
1492
|
bottom?: string | null;
|
|
1491
1493
|
}
|
|
1492
|
-
|
|
1493
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
1494
|
-
* `Value` type union.
|
|
1495
|
-
*
|
|
1496
|
-
* The JSON representation for `NullValue` is JSON `null`.
|
|
1497
|
-
*/
|
|
1498
|
-
export declare enum NullValue {
|
|
1499
|
-
/** Null value. */
|
|
1500
|
-
NULL_VALUE = "NULL_VALUE"
|
|
1501
|
-
}
|
|
1502
|
-
/** @enumType */
|
|
1503
|
-
export type NullValueWithLiterals = NullValue | 'NULL_VALUE';
|
|
1504
|
-
/**
|
|
1505
|
-
* `ListValue` is a wrapper around a repeated field of values.
|
|
1506
|
-
*
|
|
1507
|
-
* The JSON representation for `ListValue` is JSON array.
|
|
1508
|
-
*/
|
|
1509
|
-
export interface ListValue {
|
|
1510
|
-
/** Repeated field of dynamically typed values. */
|
|
1511
|
-
values?: any[];
|
|
1512
|
-
}
|
|
1513
|
-
export interface AudioData {
|
|
1494
|
+
interface AudioData {
|
|
1514
1495
|
/** Styling for the audio node's container. */
|
|
1515
1496
|
containerData?: PluginContainerData;
|
|
1516
1497
|
/** Audio file details. */
|
|
@@ -1526,7 +1507,7 @@ export interface AudioData {
|
|
|
1526
1507
|
/** An HTML version of the audio node. */
|
|
1527
1508
|
html?: string | null;
|
|
1528
1509
|
}
|
|
1529
|
-
|
|
1510
|
+
interface OrderedListData {
|
|
1530
1511
|
/** Indentation level from 0-4. */
|
|
1531
1512
|
indentation?: number;
|
|
1532
1513
|
/** Offset level from 0-4. */
|
|
@@ -1534,24 +1515,24 @@ export interface OrderedListData {
|
|
|
1534
1515
|
/** List start number. */
|
|
1535
1516
|
start?: number | null;
|
|
1536
1517
|
}
|
|
1537
|
-
|
|
1518
|
+
interface BulletedListData {
|
|
1538
1519
|
/** Indentation level from 0-4. */
|
|
1539
1520
|
indentation?: number;
|
|
1540
1521
|
/** Offset level from 0-4. */
|
|
1541
1522
|
offset?: number | null;
|
|
1542
1523
|
}
|
|
1543
|
-
|
|
1524
|
+
interface BlockquoteData {
|
|
1544
1525
|
/** Indentation level from 1-4. */
|
|
1545
1526
|
indentation?: number;
|
|
1546
1527
|
}
|
|
1547
|
-
|
|
1528
|
+
interface CaptionData {
|
|
1548
1529
|
textStyle?: TextStyle;
|
|
1549
1530
|
}
|
|
1550
|
-
|
|
1531
|
+
interface LayoutCellData {
|
|
1551
1532
|
/** Size of the cell in 12 columns grid. */
|
|
1552
1533
|
colSpan?: number | null;
|
|
1553
1534
|
}
|
|
1554
|
-
|
|
1535
|
+
interface Metadata {
|
|
1555
1536
|
/** Schema version. */
|
|
1556
1537
|
version?: number;
|
|
1557
1538
|
/**
|
|
@@ -1568,7 +1549,7 @@ export interface Metadata {
|
|
|
1568
1549
|
/** Object ID. */
|
|
1569
1550
|
id?: string | null;
|
|
1570
1551
|
}
|
|
1571
|
-
|
|
1552
|
+
interface DocumentStyle {
|
|
1572
1553
|
/** Styling for H1 nodes. */
|
|
1573
1554
|
headerOne?: TextNodeStyle;
|
|
1574
1555
|
/** Styling for H2 nodes. */
|
|
@@ -1588,7 +1569,7 @@ export interface DocumentStyle {
|
|
|
1588
1569
|
/** Styling for code block nodes. */
|
|
1589
1570
|
codeBlock?: TextNodeStyle;
|
|
1590
1571
|
}
|
|
1591
|
-
|
|
1572
|
+
interface TextNodeStyle {
|
|
1592
1573
|
/** The decorations to apply to the node. */
|
|
1593
1574
|
decorations?: Decoration[];
|
|
1594
1575
|
/** Padding and background color for the node. */
|
|
@@ -1596,7 +1577,7 @@ export interface TextNodeStyle {
|
|
|
1596
1577
|
/** Line height for text in the node. */
|
|
1597
1578
|
lineHeight?: string | null;
|
|
1598
1579
|
}
|
|
1599
|
-
|
|
1580
|
+
interface Image {
|
|
1600
1581
|
/** WixMedia image ID. */
|
|
1601
1582
|
id?: string;
|
|
1602
1583
|
/** Image URL. */
|
|
@@ -1619,17 +1600,7 @@ export interface Image {
|
|
|
1619
1600
|
*/
|
|
1620
1601
|
filename?: string | null;
|
|
1621
1602
|
}
|
|
1622
|
-
|
|
1623
|
-
/** X-coordinate of the focal point. */
|
|
1624
|
-
x?: number;
|
|
1625
|
-
/** Y-coordinate of the focal point. */
|
|
1626
|
-
y?: number;
|
|
1627
|
-
/** crop by height */
|
|
1628
|
-
height?: number | null;
|
|
1629
|
-
/** crop by width */
|
|
1630
|
-
width?: number | null;
|
|
1631
|
-
}
|
|
1632
|
-
export interface VideoV2 {
|
|
1603
|
+
interface VideoV2 {
|
|
1633
1604
|
/** WixMedia ID. */
|
|
1634
1605
|
id?: string;
|
|
1635
1606
|
/**
|
|
@@ -1644,7 +1615,7 @@ export interface VideoV2 {
|
|
|
1644
1615
|
*/
|
|
1645
1616
|
filename?: string | null;
|
|
1646
1617
|
}
|
|
1647
|
-
|
|
1618
|
+
interface VideoResolution {
|
|
1648
1619
|
/** Video URL. */
|
|
1649
1620
|
url?: string;
|
|
1650
1621
|
/** Video height. */
|
|
@@ -1654,7 +1625,7 @@ export interface VideoResolution {
|
|
|
1654
1625
|
/** Video format for example, mp4, hls. */
|
|
1655
1626
|
format?: string;
|
|
1656
1627
|
}
|
|
1657
|
-
|
|
1628
|
+
interface Document {
|
|
1658
1629
|
/** WixMedia ID. */
|
|
1659
1630
|
id?: string;
|
|
1660
1631
|
/** Document URL. */
|
|
@@ -1662,7 +1633,7 @@ export interface Document {
|
|
|
1662
1633
|
/** Document filename. */
|
|
1663
1634
|
filename?: string | null;
|
|
1664
1635
|
}
|
|
1665
|
-
|
|
1636
|
+
interface ExtendedFields {
|
|
1666
1637
|
/**
|
|
1667
1638
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
1668
1639
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -1673,22 +1644,11 @@ export interface ExtendedFields {
|
|
|
1673
1644
|
*/
|
|
1674
1645
|
namespaces?: Record<string, Record<string, any>>;
|
|
1675
1646
|
}
|
|
1676
|
-
|
|
1677
|
-
/**
|
|
1678
|
-
* The ID of the published content
|
|
1679
|
-
* @format GUID
|
|
1680
|
-
*/
|
|
1681
|
-
contentId?: string;
|
|
1682
|
-
}
|
|
1683
|
-
export interface GetPublishedContentResponse {
|
|
1684
|
-
/** The published content */
|
|
1685
|
-
publishedContent?: PublishedContent;
|
|
1686
|
-
}
|
|
1687
|
-
export interface QueryPublishedContentRequest {
|
|
1647
|
+
interface QueryPublishedContentRequest {
|
|
1688
1648
|
/** Query options. Note that some query filters are required. See the API description for a list of required filters. */
|
|
1689
1649
|
query: CursorQuery;
|
|
1690
1650
|
}
|
|
1691
|
-
|
|
1651
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1692
1652
|
/**
|
|
1693
1653
|
* Cursor paging options.
|
|
1694
1654
|
*
|
|
@@ -1710,7 +1670,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
1710
1670
|
sort?: Sorting[];
|
|
1711
1671
|
}
|
|
1712
1672
|
/** @oneof */
|
|
1713
|
-
|
|
1673
|
+
interface CursorQueryPagingMethodOneOf {
|
|
1714
1674
|
/**
|
|
1715
1675
|
* Cursor paging options.
|
|
1716
1676
|
*
|
|
@@ -1718,7 +1678,7 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
1718
1678
|
*/
|
|
1719
1679
|
cursorPaging?: CursorPaging;
|
|
1720
1680
|
}
|
|
1721
|
-
|
|
1681
|
+
interface Sorting {
|
|
1722
1682
|
/**
|
|
1723
1683
|
* Name of the field to sort by.
|
|
1724
1684
|
* @maxLength 512
|
|
@@ -1727,13 +1687,13 @@ export interface Sorting {
|
|
|
1727
1687
|
/** Sort order. */
|
|
1728
1688
|
order?: SortOrderWithLiterals;
|
|
1729
1689
|
}
|
|
1730
|
-
|
|
1690
|
+
declare enum SortOrder {
|
|
1731
1691
|
ASC = "ASC",
|
|
1732
1692
|
DESC = "DESC"
|
|
1733
1693
|
}
|
|
1734
1694
|
/** @enumType */
|
|
1735
|
-
|
|
1736
|
-
|
|
1695
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
1696
|
+
interface CursorPaging {
|
|
1737
1697
|
/**
|
|
1738
1698
|
* Maximum number of items to return in the results.
|
|
1739
1699
|
* @max 100
|
|
@@ -1748,13 +1708,13 @@ export interface CursorPaging {
|
|
|
1748
1708
|
*/
|
|
1749
1709
|
cursor?: string | null;
|
|
1750
1710
|
}
|
|
1751
|
-
|
|
1711
|
+
interface QueryPublishedContentResponse {
|
|
1752
1712
|
/** The published translation content. */
|
|
1753
1713
|
publishedContent?: PublishedContent[];
|
|
1754
1714
|
/** Details on the paged set of results returned. */
|
|
1755
1715
|
pagingMetadata?: CursorPagingMetadata;
|
|
1756
1716
|
}
|
|
1757
|
-
|
|
1717
|
+
interface CursorPagingMetadata {
|
|
1758
1718
|
/** Number of items returned in current page. */
|
|
1759
1719
|
count?: number | null;
|
|
1760
1720
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -1767,7 +1727,7 @@ export interface CursorPagingMetadata {
|
|
|
1767
1727
|
*/
|
|
1768
1728
|
hasNext?: boolean | null;
|
|
1769
1729
|
}
|
|
1770
|
-
|
|
1730
|
+
interface Cursors {
|
|
1771
1731
|
/**
|
|
1772
1732
|
* Cursor string pointing to the next page in the list of results.
|
|
1773
1733
|
* @maxLength 16000
|
|
@@ -1779,150 +1739,17 @@ export interface Cursors {
|
|
|
1779
1739
|
*/
|
|
1780
1740
|
prev?: string | null;
|
|
1781
1741
|
}
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1797
|
-
*/
|
|
1798
|
-
slug?: string;
|
|
1799
|
-
/** ID of the entity associated with the event. */
|
|
1800
|
-
entityId?: string;
|
|
1801
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1802
|
-
eventTime?: Date | null;
|
|
1803
|
-
/**
|
|
1804
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
1805
|
-
* (for example, GDPR).
|
|
1806
|
-
*/
|
|
1807
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
1808
|
-
/** If present, indicates the action that triggered the event. */
|
|
1809
|
-
originatedFrom?: string | null;
|
|
1810
|
-
/**
|
|
1811
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
1812
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1813
|
-
*/
|
|
1814
|
-
entityEventSequence?: string | null;
|
|
1815
|
-
}
|
|
1816
|
-
/** @oneof */
|
|
1817
|
-
export interface DomainEventBodyOneOf {
|
|
1818
|
-
createdEvent?: EntityCreatedEvent;
|
|
1819
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
1820
|
-
deletedEvent?: EntityDeletedEvent;
|
|
1821
|
-
actionEvent?: ActionEvent;
|
|
1822
|
-
}
|
|
1823
|
-
export interface EntityCreatedEvent {
|
|
1824
|
-
entityAsJson?: string;
|
|
1825
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
1826
|
-
restoreInfo?: RestoreInfo;
|
|
1827
|
-
}
|
|
1828
|
-
export interface RestoreInfo {
|
|
1829
|
-
deletedDate?: Date | null;
|
|
1830
|
-
}
|
|
1831
|
-
export interface EntityUpdatedEvent {
|
|
1832
|
-
/**
|
|
1833
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1834
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1835
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1836
|
-
*/
|
|
1837
|
-
currentEntityAsJson?: string;
|
|
1838
|
-
}
|
|
1839
|
-
export interface EntityDeletedEvent {
|
|
1840
|
-
/** Entity that was deleted. */
|
|
1841
|
-
deletedEntityAsJson?: string | null;
|
|
1842
|
-
}
|
|
1843
|
-
export interface ActionEvent {
|
|
1844
|
-
bodyAsJson?: string;
|
|
1845
|
-
}
|
|
1846
|
-
export interface Empty {
|
|
1847
|
-
}
|
|
1848
|
-
export interface DeletePublishedContentRequest {
|
|
1849
|
-
/**
|
|
1850
|
-
* The ID of the published content to delete
|
|
1851
|
-
* @format GUID
|
|
1852
|
-
*/
|
|
1853
|
-
contentId?: string;
|
|
1854
|
-
}
|
|
1855
|
-
export interface DeletePublishedContentResponse {
|
|
1856
|
-
}
|
|
1857
|
-
export interface MessageEnvelope {
|
|
1858
|
-
/**
|
|
1859
|
-
* App instance ID.
|
|
1860
|
-
* @format GUID
|
|
1861
|
-
*/
|
|
1862
|
-
instanceId?: string | null;
|
|
1863
|
-
/**
|
|
1864
|
-
* Event type.
|
|
1865
|
-
* @maxLength 150
|
|
1866
|
-
*/
|
|
1867
|
-
eventType?: string;
|
|
1868
|
-
/** The identification type and identity data. */
|
|
1869
|
-
identity?: IdentificationData;
|
|
1870
|
-
/** Stringify payload. */
|
|
1871
|
-
data?: string;
|
|
1872
|
-
}
|
|
1873
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1874
|
-
/**
|
|
1875
|
-
* ID of a site visitor that has not logged in to the site.
|
|
1876
|
-
* @format GUID
|
|
1877
|
-
*/
|
|
1878
|
-
anonymousVisitorId?: string;
|
|
1879
|
-
/**
|
|
1880
|
-
* ID of a site visitor that has logged in to the site.
|
|
1881
|
-
* @format GUID
|
|
1882
|
-
*/
|
|
1883
|
-
memberId?: string;
|
|
1884
|
-
/**
|
|
1885
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
1886
|
-
* @format GUID
|
|
1887
|
-
*/
|
|
1888
|
-
wixUserId?: string;
|
|
1889
|
-
/**
|
|
1890
|
-
* ID of an app.
|
|
1891
|
-
* @format GUID
|
|
1892
|
-
*/
|
|
1893
|
-
appId?: string;
|
|
1894
|
-
/** @readonly */
|
|
1895
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1896
|
-
}
|
|
1897
|
-
/** @oneof */
|
|
1898
|
-
export interface IdentificationDataIdOneOf {
|
|
1899
|
-
/**
|
|
1900
|
-
* ID of a site visitor that has not logged in to the site.
|
|
1901
|
-
* @format GUID
|
|
1902
|
-
*/
|
|
1903
|
-
anonymousVisitorId?: string;
|
|
1904
|
-
/**
|
|
1905
|
-
* ID of a site visitor that has logged in to the site.
|
|
1906
|
-
* @format GUID
|
|
1907
|
-
*/
|
|
1908
|
-
memberId?: string;
|
|
1909
|
-
/**
|
|
1910
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
1911
|
-
* @format GUID
|
|
1912
|
-
*/
|
|
1913
|
-
wixUserId?: string;
|
|
1914
|
-
/**
|
|
1915
|
-
* ID of an app.
|
|
1916
|
-
* @format GUID
|
|
1917
|
-
*/
|
|
1918
|
-
appId?: string;
|
|
1919
|
-
}
|
|
1920
|
-
export declare enum WebhookIdentityType {
|
|
1921
|
-
UNKNOWN = "UNKNOWN",
|
|
1922
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1923
|
-
MEMBER = "MEMBER",
|
|
1924
|
-
WIX_USER = "WIX_USER",
|
|
1925
|
-
APP = "APP"
|
|
1926
|
-
}
|
|
1927
|
-
/** @enumType */
|
|
1928
|
-
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1742
|
+
|
|
1743
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1744
|
+
getUrl: (context: any) => string;
|
|
1745
|
+
httpMethod: K;
|
|
1746
|
+
path: string;
|
|
1747
|
+
pathParams: M;
|
|
1748
|
+
__requestType: T;
|
|
1749
|
+
__originalRequestType: S;
|
|
1750
|
+
__responseType: Q;
|
|
1751
|
+
__originalResponseType: R;
|
|
1752
|
+
};
|
|
1753
|
+
declare function queryPublishedContent(): __PublicMethodMetaInfo<'GET', {}, QueryPublishedContentRequest$1, QueryPublishedContentRequest, QueryPublishedContentResponse$1, QueryPublishedContentResponse>;
|
|
1754
|
+
|
|
1755
|
+
export { type __PublicMethodMetaInfo, queryPublishedContent };
|