@wix/auto_sdk_members_members-about 1.0.11 → 1.0.13
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 +90 -0
- package/build/index.d.ts +90 -0
- package/build/index.js +1187 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1123 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +90 -0
- package/build/internal/index.d.ts +90 -0
- package/build/internal/index.js +1187 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1123 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → internal/members-about-v2-member-about-members-about.universal-DfzmZFBy.d.mts} +295 -437
- package/build/internal/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → members-about-v2-member-about-members-about.universal-DfzmZFBy.d.ts} +295 -437
- package/build/internal/meta.d.mts +1575 -0
- package/build/internal/meta.d.ts +1575 -0
- package/build/internal/meta.js +624 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +592 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{es/src/members-about-v2-member-about-members-about.types.d.ts → members-about-v2-member-about-members-about.universal-DfzmZFBy.d.mts} +295 -437
- package/build/{internal/es/src/members-about-v2-member-about-members-about.types.d.ts → members-about-v2-member-about-members-about.universal-DfzmZFBy.d.ts} +295 -437
- package/build/meta.d.mts +1575 -0
- package/build/meta.d.ts +1575 -0
- package/build/meta.js +624 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +592 -0
- package/build/meta.mjs.map +1 -0
- 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/members-about-v2-member-about-members-about.context.d.ts +0 -26
- package/build/cjs/src/members-about-v2-member-about-members-about.context.js +0 -61
- package/build/cjs/src/members-about-v2-member-about-members-about.context.js.map +0 -1
- package/build/cjs/src/members-about-v2-member-about-members-about.http.d.ts +0 -34
- package/build/cjs/src/members-about-v2-member-about-members-about.http.js +0 -509
- package/build/cjs/src/members-about-v2-member-about-members-about.http.js.map +0 -1
- package/build/cjs/src/members-about-v2-member-about-members-about.meta.d.ts +0 -24
- package/build/cjs/src/members-about-v2-member-about-members-about.meta.js +0 -142
- package/build/cjs/src/members-about-v2-member-about-members-about.meta.js.map +0 -1
- package/build/cjs/src/members-about-v2-member-about-members-about.public.d.ts +0 -73
- package/build/cjs/src/members-about-v2-member-about-members-about.public.js +0 -200
- package/build/cjs/src/members-about-v2-member-about-members-about.public.js.map +0 -1
- package/build/cjs/src/members-about-v2-member-about-members-about.types.js +0 -326
- package/build/cjs/src/members-about-v2-member-about-members-about.types.js.map +0 -1
- package/build/cjs/src/members-about-v2-member-about-members-about.universal.d.ts +0 -2293
- package/build/cjs/src/members-about-v2-member-about-members-about.universal.js +0 -630
- package/build/cjs/src/members-about-v2-member-about-members-about.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/members-about-v2-member-about-members-about.context.d.ts +0 -26
- package/build/es/src/members-about-v2-member-about-members-about.context.js +0 -26
- package/build/es/src/members-about-v2-member-about-members-about.context.js.map +0 -1
- package/build/es/src/members-about-v2-member-about-members-about.http.d.ts +0 -34
- package/build/es/src/members-about-v2-member-about-members-about.http.js +0 -500
- package/build/es/src/members-about-v2-member-about-members-about.http.js.map +0 -1
- package/build/es/src/members-about-v2-member-about-members-about.meta.d.ts +0 -24
- package/build/es/src/members-about-v2-member-about-members-about.meta.js +0 -110
- package/build/es/src/members-about-v2-member-about-members-about.meta.js.map +0 -1
- package/build/es/src/members-about-v2-member-about-members-about.public.d.ts +0 -73
- package/build/es/src/members-about-v2-member-about-members-about.public.js +0 -159
- package/build/es/src/members-about-v2-member-about-members-about.public.js.map +0 -1
- package/build/es/src/members-about-v2-member-about-members-about.types.js +0 -323
- package/build/es/src/members-about-v2-member-about-members-about.types.js.map +0 -1
- package/build/es/src/members-about-v2-member-about-members-about.universal.d.ts +0 -2293
- package/build/es/src/members-about-v2-member-about-members-about.universal.js +0 -598
- package/build/es/src/members-about-v2-member-about-members-about.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/members-about-v2-member-about-members-about.context.d.ts +0 -26
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.context.js +0 -61
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.context.js.map +0 -1
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.http.d.ts +0 -34
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.http.js +0 -509
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.http.js.map +0 -1
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.meta.d.ts +0 -24
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.meta.js +0 -142
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.meta.js.map +0 -1
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.public.d.ts +0 -73
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.public.js +0 -200
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.public.js.map +0 -1
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.types.js +0 -326
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.types.js.map +0 -1
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.universal.d.ts +0 -2293
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.universal.js +0 -630
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.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/members-about-v2-member-about-members-about.context.d.ts +0 -26
- package/build/internal/es/src/members-about-v2-member-about-members-about.context.js +0 -26
- package/build/internal/es/src/members-about-v2-member-about-members-about.context.js.map +0 -1
- package/build/internal/es/src/members-about-v2-member-about-members-about.http.d.ts +0 -34
- package/build/internal/es/src/members-about-v2-member-about-members-about.http.js +0 -500
- package/build/internal/es/src/members-about-v2-member-about-members-about.http.js.map +0 -1
- package/build/internal/es/src/members-about-v2-member-about-members-about.meta.d.ts +0 -24
- package/build/internal/es/src/members-about-v2-member-about-members-about.meta.js +0 -110
- package/build/internal/es/src/members-about-v2-member-about-members-about.meta.js.map +0 -1
- package/build/internal/es/src/members-about-v2-member-about-members-about.public.d.ts +0 -73
- package/build/internal/es/src/members-about-v2-member-about-members-about.public.js +0 -159
- package/build/internal/es/src/members-about-v2-member-about-members-about.public.js.map +0 -1
- package/build/internal/es/src/members-about-v2-member-about-members-about.types.js +0 -323
- package/build/internal/es/src/members-about-v2-member-about-members-about.types.js.map +0 -1
- package/build/internal/es/src/members-about-v2-member-about-members-about.universal.d.ts +0 -2293
- package/build/internal/es/src/members-about-v2-member-about-members-about.universal.js +0 -598
- package/build/internal/es/src/members-about-v2-member-about-members-about.universal.js.map +0 -1
@@ -1,10 +1,10 @@
|
|
1
|
-
|
1
|
+
interface MemberAbout {
|
2
2
|
/**
|
3
3
|
* ID of the "About" section content.
|
4
4
|
* @format GUID
|
5
5
|
* @readonly
|
6
6
|
*/
|
7
|
-
|
7
|
+
_id?: string | null;
|
8
8
|
/** Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content. */
|
9
9
|
revision?: string | null;
|
10
10
|
/**
|
@@ -15,7 +15,7 @@ export interface MemberAbout {
|
|
15
15
|
/** <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget> */
|
16
16
|
content?: RichContent;
|
17
17
|
}
|
18
|
-
|
18
|
+
interface RichContent {
|
19
19
|
/** Node objects representing a rich content document. */
|
20
20
|
nodes?: Node[];
|
21
21
|
/** Object metadata. */
|
@@ -23,7 +23,7 @@ export interface RichContent {
|
|
23
23
|
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
24
24
|
documentStyle?: DocumentStyle;
|
25
25
|
}
|
26
|
-
|
26
|
+
interface Node extends NodeDataOneOf {
|
27
27
|
/** Data for a button node. */
|
28
28
|
buttonData?: ButtonData;
|
29
29
|
/** Data for a code block node. */
|
@@ -81,14 +81,14 @@ export interface Node extends NodeDataOneOf {
|
|
81
81
|
/** 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. */
|
82
82
|
type?: NodeType;
|
83
83
|
/** Node ID. */
|
84
|
-
|
84
|
+
_id?: string;
|
85
85
|
/** A list of child nodes. */
|
86
86
|
nodes?: Node[];
|
87
87
|
/** Padding and background color styling for the node. */
|
88
88
|
style?: NodeStyle;
|
89
89
|
}
|
90
90
|
/** @oneof */
|
91
|
-
|
91
|
+
interface NodeDataOneOf {
|
92
92
|
/** Data for a button node. */
|
93
93
|
buttonData?: ButtonData;
|
94
94
|
/** Data for a code block node. */
|
@@ -144,7 +144,7 @@ export interface NodeDataOneOf {
|
|
144
144
|
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
145
145
|
layoutCellData?: LayoutCellData;
|
146
146
|
}
|
147
|
-
|
147
|
+
declare enum NodeType {
|
148
148
|
PARAGRAPH = "PARAGRAPH",
|
149
149
|
TEXT = "TEXT",
|
150
150
|
HEADING = "HEADING",
|
@@ -180,7 +180,7 @@ export declare enum NodeType {
|
|
180
180
|
LAYOUT = "LAYOUT",
|
181
181
|
LAYOUT_CELL = "LAYOUT_CELL"
|
182
182
|
}
|
183
|
-
|
183
|
+
interface NodeStyle {
|
184
184
|
/** The top padding value in pixels. */
|
185
185
|
paddingTop?: string | null;
|
186
186
|
/** The bottom padding value in pixels. */
|
@@ -188,7 +188,7 @@ export interface NodeStyle {
|
|
188
188
|
/** The background color as a hexadecimal value. */
|
189
189
|
backgroundColor?: string | null;
|
190
190
|
}
|
191
|
-
|
191
|
+
interface ButtonData {
|
192
192
|
/** Styling for the button's container. */
|
193
193
|
containerData?: PluginContainerData;
|
194
194
|
/** The button type. */
|
@@ -200,7 +200,7 @@ export interface ButtonData {
|
|
200
200
|
/** Button link details. */
|
201
201
|
link?: Link;
|
202
202
|
}
|
203
|
-
|
203
|
+
interface Border {
|
204
204
|
/**
|
205
205
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
206
206
|
* @deprecated
|
@@ -212,7 +212,7 @@ export interface Border {
|
|
212
212
|
*/
|
213
213
|
radius?: number | null;
|
214
214
|
}
|
215
|
-
|
215
|
+
interface Colors {
|
216
216
|
/**
|
217
217
|
* Deprecated: Use `textColor` in `styles` instead.
|
218
218
|
* @deprecated
|
@@ -229,7 +229,7 @@ export interface Colors {
|
|
229
229
|
*/
|
230
230
|
background?: string | null;
|
231
231
|
}
|
232
|
-
|
232
|
+
interface PluginContainerData {
|
233
233
|
/** The width of the node when it's displayed. */
|
234
234
|
width?: PluginContainerDataWidth;
|
235
235
|
/** The node's alignment within its container. */
|
@@ -241,7 +241,7 @@ export interface PluginContainerData {
|
|
241
241
|
/** 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`. */
|
242
242
|
textWrap?: boolean | null;
|
243
243
|
}
|
244
|
-
|
244
|
+
declare enum WidthType {
|
245
245
|
/** Width matches the content width */
|
246
246
|
CONTENT = "CONTENT",
|
247
247
|
/** Small Width */
|
@@ -251,7 +251,7 @@ export declare enum WidthType {
|
|
251
251
|
/** coast-to-coast display */
|
252
252
|
FULL_WIDTH = "FULL_WIDTH"
|
253
253
|
}
|
254
|
-
|
254
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
255
255
|
/**
|
256
256
|
* One of the following predefined width options:
|
257
257
|
* `CONTENT`: The width of the container matches the content width.
|
@@ -264,7 +264,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
|
|
264
264
|
custom?: string | null;
|
265
265
|
}
|
266
266
|
/** @oneof */
|
267
|
-
|
267
|
+
interface PluginContainerDataWidthDataOneOf {
|
268
268
|
/**
|
269
269
|
* One of the following predefined width options:
|
270
270
|
* `CONTENT`: The width of the container matches the content width.
|
@@ -276,7 +276,7 @@ export interface PluginContainerDataWidthDataOneOf {
|
|
276
276
|
/** A custom width value in pixels. */
|
277
277
|
custom?: string | null;
|
278
278
|
}
|
279
|
-
|
279
|
+
declare enum PluginContainerDataAlignment {
|
280
280
|
/** Center Alignment */
|
281
281
|
CENTER = "CENTER",
|
282
282
|
/** Left Alignment */
|
@@ -284,7 +284,7 @@ export declare enum PluginContainerDataAlignment {
|
|
284
284
|
/** Right Alignment */
|
285
285
|
RIGHT = "RIGHT"
|
286
286
|
}
|
287
|
-
|
287
|
+
interface Spoiler {
|
288
288
|
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
289
289
|
enabled?: boolean | null;
|
290
290
|
/** The description displayed on top of the spoiler cover. */
|
@@ -292,17 +292,17 @@ export interface Spoiler {
|
|
292
292
|
/** The text for the button used to remove the spoiler cover. */
|
293
293
|
buttonText?: string | null;
|
294
294
|
}
|
295
|
-
|
295
|
+
interface Height {
|
296
296
|
/** A custom height value in pixels. */
|
297
297
|
custom?: string | null;
|
298
298
|
}
|
299
|
-
|
299
|
+
declare enum Type {
|
300
300
|
/** Regular link button */
|
301
301
|
LINK = "LINK",
|
302
302
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
303
303
|
ACTION = "ACTION"
|
304
304
|
}
|
305
|
-
|
305
|
+
interface Styles {
|
306
306
|
/**
|
307
307
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
308
308
|
* @deprecated
|
@@ -355,7 +355,7 @@ export interface Styles {
|
|
355
355
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
356
356
|
buttonSize?: string | null;
|
357
357
|
}
|
358
|
-
|
358
|
+
interface Link extends LinkDataOneOf {
|
359
359
|
/** The absolute URL for the linked document. */
|
360
360
|
url?: string;
|
361
361
|
/** The target node's ID. Used for linking to another node in this object. */
|
@@ -374,13 +374,13 @@ export interface Link extends LinkDataOneOf {
|
|
374
374
|
customData?: string | null;
|
375
375
|
}
|
376
376
|
/** @oneof */
|
377
|
-
|
377
|
+
interface LinkDataOneOf {
|
378
378
|
/** The absolute URL for the linked document. */
|
379
379
|
url?: string;
|
380
380
|
/** The target node's ID. Used for linking to another node in this object. */
|
381
381
|
anchor?: string;
|
382
382
|
}
|
383
|
-
|
383
|
+
declare enum Target {
|
384
384
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
385
385
|
SELF = "SELF",
|
386
386
|
/** Opens the linked document in a new window or tab */
|
@@ -390,7 +390,7 @@ export declare enum Target {
|
|
390
390
|
/** Opens the linked document in the full body of the window */
|
391
391
|
TOP = "TOP"
|
392
392
|
}
|
393
|
-
|
393
|
+
interface Rel {
|
394
394
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
395
395
|
nofollow?: boolean | null;
|
396
396
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
@@ -400,17 +400,17 @@ export interface Rel {
|
|
400
400
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
401
401
|
noreferrer?: boolean | null;
|
402
402
|
}
|
403
|
-
|
403
|
+
interface CodeBlockData {
|
404
404
|
/** Styling for the code block's text. */
|
405
405
|
textStyle?: TextStyle;
|
406
406
|
}
|
407
|
-
|
407
|
+
interface TextStyle {
|
408
408
|
/** Text alignment. Defaults to `AUTO`. */
|
409
409
|
textAlignment?: TextAlignment;
|
410
410
|
/** 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. */
|
411
411
|
lineHeight?: string | null;
|
412
412
|
}
|
413
|
-
|
413
|
+
declare enum TextAlignment {
|
414
414
|
/** browser default, eqivalent to `initial` */
|
415
415
|
AUTO = "AUTO",
|
416
416
|
/** Left align */
|
@@ -422,7 +422,7 @@ export declare enum TextAlignment {
|
|
422
422
|
/** 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 */
|
423
423
|
JUSTIFY = "JUSTIFY"
|
424
424
|
}
|
425
|
-
|
425
|
+
interface DividerData {
|
426
426
|
/** Styling for the divider's container. */
|
427
427
|
containerData?: PluginContainerData;
|
428
428
|
/** Divider line style. */
|
@@ -432,7 +432,7 @@ export interface DividerData {
|
|
432
432
|
/** Divider alignment. */
|
433
433
|
alignment?: Alignment;
|
434
434
|
}
|
435
|
-
|
435
|
+
declare enum LineStyle {
|
436
436
|
/** Single Line */
|
437
437
|
SINGLE = "SINGLE",
|
438
438
|
/** Double Line */
|
@@ -442,7 +442,7 @@ export declare enum LineStyle {
|
|
442
442
|
/** Dotted Line */
|
443
443
|
DOTTED = "DOTTED"
|
444
444
|
}
|
445
|
-
|
445
|
+
declare enum Width {
|
446
446
|
/** Large line */
|
447
447
|
LARGE = "LARGE",
|
448
448
|
/** Medium line */
|
@@ -450,7 +450,7 @@ export declare enum Width {
|
|
450
450
|
/** Small line */
|
451
451
|
SMALL = "SMALL"
|
452
452
|
}
|
453
|
-
|
453
|
+
declare enum Alignment {
|
454
454
|
/** Center alignment */
|
455
455
|
CENTER = "CENTER",
|
456
456
|
/** Left alignment */
|
@@ -458,7 +458,7 @@ export declare enum Alignment {
|
|
458
458
|
/** Right alignment */
|
459
459
|
RIGHT = "RIGHT"
|
460
460
|
}
|
461
|
-
|
461
|
+
interface FileData {
|
462
462
|
/** Styling for the file's container. */
|
463
463
|
containerData?: PluginContainerData;
|
464
464
|
/** The source for the file's data. */
|
@@ -481,7 +481,7 @@ export interface FileData {
|
|
481
481
|
/** File size in KB. */
|
482
482
|
sizeInKb?: string | null;
|
483
483
|
}
|
484
|
-
|
484
|
+
declare enum ViewMode {
|
485
485
|
/** No PDF view */
|
486
486
|
NONE = "NONE",
|
487
487
|
/** Full PDF view */
|
@@ -489,7 +489,7 @@ export declare enum ViewMode {
|
|
489
489
|
/** Mini PDF view */
|
490
490
|
MINI = "MINI"
|
491
491
|
}
|
492
|
-
|
492
|
+
interface FileSource extends FileSourceDataOneOf {
|
493
493
|
/** The absolute URL for the file's source. */
|
494
494
|
url?: string | null;
|
495
495
|
/**
|
@@ -498,12 +498,12 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
498
498
|
*/
|
499
499
|
custom?: string | null;
|
500
500
|
/** An ID that's resolved to a URL by a resolver function. */
|
501
|
-
|
501
|
+
_id?: string | null;
|
502
502
|
/** Indicates whether the file's source is private. Defaults to `false`. */
|
503
503
|
private?: boolean | null;
|
504
504
|
}
|
505
505
|
/** @oneof */
|
506
|
-
|
506
|
+
interface FileSourceDataOneOf {
|
507
507
|
/** The absolute URL for the file's source. */
|
508
508
|
url?: string | null;
|
509
509
|
/**
|
@@ -512,9 +512,9 @@ export interface FileSourceDataOneOf {
|
|
512
512
|
*/
|
513
513
|
custom?: string | null;
|
514
514
|
/** An ID that's resolved to a URL by a resolver function. */
|
515
|
-
|
515
|
+
_id?: string | null;
|
516
516
|
}
|
517
|
-
|
517
|
+
interface PDFSettings {
|
518
518
|
/**
|
519
519
|
* PDF view mode. One of the following:
|
520
520
|
* `NONE` : The PDF isn't displayed.
|
@@ -527,7 +527,7 @@ export interface PDFSettings {
|
|
527
527
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
528
528
|
disablePrint?: boolean | null;
|
529
529
|
}
|
530
|
-
|
530
|
+
interface GalleryData {
|
531
531
|
/** Styling for the gallery's container. */
|
532
532
|
containerData?: PluginContainerData;
|
533
533
|
/** The items in the gallery. */
|
@@ -539,7 +539,7 @@ export interface GalleryData {
|
|
539
539
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
540
540
|
disableDownload?: boolean | null;
|
541
541
|
}
|
542
|
-
|
542
|
+
interface Media {
|
543
543
|
/** The source for the media's data. */
|
544
544
|
src?: FileSource;
|
545
545
|
/** Media width in pixels. */
|
@@ -549,19 +549,19 @@ export interface Media {
|
|
549
549
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
550
550
|
duration?: number | null;
|
551
551
|
}
|
552
|
-
|
552
|
+
interface Image {
|
553
553
|
/** Image file details. */
|
554
554
|
media?: Media;
|
555
555
|
/** Link details for images that are links. */
|
556
556
|
link?: Link;
|
557
557
|
}
|
558
|
-
|
558
|
+
interface Video {
|
559
559
|
/** Video file details. */
|
560
560
|
media?: Media;
|
561
561
|
/** Video thumbnail file details. */
|
562
562
|
thumbnail?: Media;
|
563
563
|
}
|
564
|
-
|
564
|
+
interface Item extends ItemDataOneOf {
|
565
565
|
/** An image item. */
|
566
566
|
image?: Image;
|
567
567
|
/** A video item. */
|
@@ -572,13 +572,13 @@ export interface Item extends ItemDataOneOf {
|
|
572
572
|
altText?: string | null;
|
573
573
|
}
|
574
574
|
/** @oneof */
|
575
|
-
|
575
|
+
interface ItemDataOneOf {
|
576
576
|
/** An image item. */
|
577
577
|
image?: Image;
|
578
578
|
/** A video item. */
|
579
579
|
video?: Video;
|
580
580
|
}
|
581
|
-
|
581
|
+
interface GalleryOptions {
|
582
582
|
/** Gallery layout. */
|
583
583
|
layout?: Layout;
|
584
584
|
/** Styling for gallery items. */
|
@@ -586,7 +586,7 @@ export interface GalleryOptions {
|
|
586
586
|
/** Styling for gallery thumbnail images. */
|
587
587
|
thumbnails?: Thumbnails;
|
588
588
|
}
|
589
|
-
|
589
|
+
declare enum LayoutType {
|
590
590
|
/** Collage type */
|
591
591
|
COLLAGE = "COLLAGE",
|
592
592
|
/** Masonry type */
|
@@ -608,19 +608,19 @@ export declare enum LayoutType {
|
|
608
608
|
/** Fullsize images type */
|
609
609
|
FULLSIZE = "FULLSIZE"
|
610
610
|
}
|
611
|
-
|
611
|
+
declare enum Orientation {
|
612
612
|
/** Rows Orientation */
|
613
613
|
ROWS = "ROWS",
|
614
614
|
/** Columns Orientation */
|
615
615
|
COLUMNS = "COLUMNS"
|
616
616
|
}
|
617
|
-
|
617
|
+
declare enum Crop {
|
618
618
|
/** Crop to fill */
|
619
619
|
FILL = "FILL",
|
620
620
|
/** Crop to fit */
|
621
621
|
FIT = "FIT"
|
622
622
|
}
|
623
|
-
|
623
|
+
declare enum ThumbnailsAlignment {
|
624
624
|
/** Top alignment */
|
625
625
|
TOP = "TOP",
|
626
626
|
/** Right alignment */
|
@@ -632,7 +632,7 @@ export declare enum ThumbnailsAlignment {
|
|
632
632
|
/** No thumbnail */
|
633
633
|
NONE = "NONE"
|
634
634
|
}
|
635
|
-
|
635
|
+
interface Layout {
|
636
636
|
/** Gallery layout type. */
|
637
637
|
type?: LayoutType;
|
638
638
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
@@ -644,7 +644,7 @@ export interface Layout {
|
|
644
644
|
/** The number of columns to display on mobile screens. */
|
645
645
|
mobileNumberOfColumns?: number | null;
|
646
646
|
}
|
647
|
-
|
647
|
+
interface ItemStyle {
|
648
648
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
649
649
|
targetSize?: number | null;
|
650
650
|
/** Item ratio */
|
@@ -654,13 +654,13 @@ export interface ItemStyle {
|
|
654
654
|
/** The spacing between items in pixels. */
|
655
655
|
spacing?: number | null;
|
656
656
|
}
|
657
|
-
|
657
|
+
interface Thumbnails {
|
658
658
|
/** Thumbnail alignment. */
|
659
659
|
placement?: ThumbnailsAlignment;
|
660
660
|
/** Spacing between thumbnails in pixels. */
|
661
661
|
spacing?: number | null;
|
662
662
|
}
|
663
|
-
|
663
|
+
interface GIFData {
|
664
664
|
/** Styling for the GIF's container. */
|
665
665
|
containerData?: PluginContainerData;
|
666
666
|
/** The source of the full size GIF. */
|
@@ -674,7 +674,7 @@ export interface GIFData {
|
|
674
674
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
675
675
|
gifType?: GIFType;
|
676
676
|
}
|
677
|
-
|
677
|
+
interface GIF {
|
678
678
|
/**
|
679
679
|
* GIF format URL.
|
680
680
|
* @format WEB_URL
|
@@ -691,11 +691,11 @@ export interface GIF {
|
|
691
691
|
*/
|
692
692
|
still?: string | null;
|
693
693
|
}
|
694
|
-
|
694
|
+
declare enum GIFType {
|
695
695
|
NORMAL = "NORMAL",
|
696
696
|
STICKER = "STICKER"
|
697
697
|
}
|
698
|
-
|
698
|
+
interface HeadingData {
|
699
699
|
/** Heading level from 1-6. */
|
700
700
|
level?: number;
|
701
701
|
/** Styling for the heading text. */
|
@@ -703,7 +703,7 @@ export interface HeadingData {
|
|
703
703
|
/** Indentation level from 1-4. */
|
704
704
|
indentation?: number | null;
|
705
705
|
}
|
706
|
-
|
706
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
707
707
|
/** The URL for the HTML code for the node. */
|
708
708
|
url?: string;
|
709
709
|
/** The HTML code for the node. */
|
@@ -721,7 +721,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
721
721
|
autoHeight?: boolean | null;
|
722
722
|
}
|
723
723
|
/** @oneof */
|
724
|
-
|
724
|
+
interface HTMLDataDataOneOf {
|
725
725
|
/** The URL for the HTML code for the node. */
|
726
726
|
url?: string;
|
727
727
|
/** The HTML code for the node. */
|
@@ -732,11 +732,11 @@ export interface HTMLDataDataOneOf {
|
|
732
732
|
*/
|
733
733
|
isAdsense?: boolean | null;
|
734
734
|
}
|
735
|
-
|
735
|
+
declare enum Source {
|
736
736
|
HTML = "HTML",
|
737
737
|
ADSENSE = "ADSENSE"
|
738
738
|
}
|
739
|
-
|
739
|
+
interface ImageData {
|
740
740
|
/** Styling for the image's container. */
|
741
741
|
containerData?: PluginContainerData;
|
742
742
|
/** Image file details. */
|
@@ -759,7 +759,7 @@ export interface ImageData {
|
|
759
759
|
/** Styling for the image. */
|
760
760
|
styles?: ImageDataStyles;
|
761
761
|
}
|
762
|
-
|
762
|
+
interface StylesBorder {
|
763
763
|
/** Border width in pixels. */
|
764
764
|
width?: number | null;
|
765
765
|
/**
|
@@ -770,11 +770,11 @@ export interface StylesBorder {
|
|
770
770
|
/** Border radius in pixels. */
|
771
771
|
radius?: number | null;
|
772
772
|
}
|
773
|
-
|
773
|
+
interface ImageDataStyles {
|
774
774
|
/** Border attributes. */
|
775
775
|
border?: StylesBorder;
|
776
776
|
}
|
777
|
-
|
777
|
+
interface LinkPreviewData {
|
778
778
|
/** Styling for the link preview's container. */
|
779
779
|
containerData?: PluginContainerData;
|
780
780
|
/** Link details. */
|
@@ -790,7 +790,7 @@ export interface LinkPreviewData {
|
|
790
790
|
/** Styling for the link preview. */
|
791
791
|
styles?: LinkPreviewDataStyles;
|
792
792
|
}
|
793
|
-
|
793
|
+
declare enum Position {
|
794
794
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
795
795
|
START = "START",
|
796
796
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
@@ -800,7 +800,7 @@ export declare enum Position {
|
|
800
800
|
/** Thumbnail hidden and not displayed */
|
801
801
|
HIDDEN = "HIDDEN"
|
802
802
|
}
|
803
|
-
|
803
|
+
interface LinkPreviewDataStyles {
|
804
804
|
/**
|
805
805
|
* Background color as a hexadecimal value.
|
806
806
|
* @format COLOR_HEX
|
@@ -833,13 +833,13 @@ export interface LinkPreviewDataStyles {
|
|
833
833
|
/** Position of thumbnail. Defaults to `START`. */
|
834
834
|
thumbnailPosition?: Position;
|
835
835
|
}
|
836
|
-
|
836
|
+
interface MapData {
|
837
837
|
/** Styling for the map's container. */
|
838
838
|
containerData?: PluginContainerData;
|
839
839
|
/** Map settings. */
|
840
840
|
mapSettings?: MapSettings;
|
841
841
|
}
|
842
|
-
|
842
|
+
interface MapSettings {
|
843
843
|
/** The address to display on the map. */
|
844
844
|
address?: string | null;
|
845
845
|
/** Sets whether the map is draggable. */
|
@@ -863,7 +863,7 @@ export interface MapSettings {
|
|
863
863
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
864
864
|
mapType?: MapType;
|
865
865
|
}
|
866
|
-
|
866
|
+
declare enum MapType {
|
867
867
|
/** Roadmap map type */
|
868
868
|
ROADMAP = "ROADMAP",
|
869
869
|
/** Satellite map type */
|
@@ -873,7 +873,7 @@ export declare enum MapType {
|
|
873
873
|
/** Terrain map type */
|
874
874
|
TERRAIN = "TERRAIN"
|
875
875
|
}
|
876
|
-
|
876
|
+
interface ParagraphData {
|
877
877
|
/** Styling for the paragraph text. */
|
878
878
|
textStyle?: TextStyle;
|
879
879
|
/** Indentation level from 1-4. */
|
@@ -881,7 +881,7 @@ export interface ParagraphData {
|
|
881
881
|
/** Paragraph level */
|
882
882
|
level?: number | null;
|
883
883
|
}
|
884
|
-
|
884
|
+
interface PollData {
|
885
885
|
/** Styling for the poll's container. */
|
886
886
|
containerData?: PluginContainerData;
|
887
887
|
/** Poll data. */
|
@@ -891,7 +891,7 @@ export interface PollData {
|
|
891
891
|
/** Styling for the poll and voting options. */
|
892
892
|
design?: Design;
|
893
893
|
}
|
894
|
-
|
894
|
+
declare enum ViewRole {
|
895
895
|
/** Only Poll creator can view the results */
|
896
896
|
CREATOR = "CREATOR",
|
897
897
|
/** Anyone who voted can see the results */
|
@@ -899,13 +899,13 @@ export declare enum ViewRole {
|
|
899
899
|
/** Anyone can see the results, even if one didn't vote */
|
900
900
|
EVERYONE = "EVERYONE"
|
901
901
|
}
|
902
|
-
|
902
|
+
declare enum VoteRole {
|
903
903
|
/** Logged in member */
|
904
904
|
SITE_MEMBERS = "SITE_MEMBERS",
|
905
905
|
/** Anyone */
|
906
906
|
ALL = "ALL"
|
907
907
|
}
|
908
|
-
|
908
|
+
interface Permissions {
|
909
909
|
/** Sets who can view the poll results. */
|
910
910
|
view?: ViewRole;
|
911
911
|
/** Sets who can vote. */
|
@@ -913,15 +913,15 @@ export interface Permissions {
|
|
913
913
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
914
914
|
allowMultipleVotes?: boolean | null;
|
915
915
|
}
|
916
|
-
|
916
|
+
interface Option {
|
917
917
|
/** Option ID. */
|
918
|
-
|
918
|
+
_id?: string | null;
|
919
919
|
/** Option title. */
|
920
920
|
title?: string | null;
|
921
921
|
/** The image displayed with the option. */
|
922
922
|
image?: Media;
|
923
923
|
}
|
924
|
-
|
924
|
+
interface Settings {
|
925
925
|
/** Permissions settings for voting. */
|
926
926
|
permissions?: Permissions;
|
927
927
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
@@ -929,19 +929,19 @@ export interface Settings {
|
|
929
929
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
930
930
|
showVotesCount?: boolean | null;
|
931
931
|
}
|
932
|
-
|
932
|
+
declare enum PollLayoutType {
|
933
933
|
/** List */
|
934
934
|
LIST = "LIST",
|
935
935
|
/** Grid */
|
936
936
|
GRID = "GRID"
|
937
937
|
}
|
938
|
-
|
938
|
+
declare enum PollLayoutDirection {
|
939
939
|
/** Left-to-right */
|
940
940
|
LTR = "LTR",
|
941
941
|
/** Right-to-left */
|
942
942
|
RTL = "RTL"
|
943
943
|
}
|
944
|
-
|
944
|
+
interface PollLayout {
|
945
945
|
/** The layout for displaying the voting options. */
|
946
946
|
type?: PollLayoutType;
|
947
947
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
@@ -949,11 +949,11 @@ export interface PollLayout {
|
|
949
949
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
950
950
|
enableImage?: boolean | null;
|
951
951
|
}
|
952
|
-
|
952
|
+
interface OptionLayout {
|
953
953
|
/** Sets whether to display option images. Defaults to `false`. */
|
954
954
|
enableImage?: boolean | null;
|
955
955
|
}
|
956
|
-
|
956
|
+
declare enum BackgroundType {
|
957
957
|
/** Color background type */
|
958
958
|
COLOR = "COLOR",
|
959
959
|
/** Image background type */
|
@@ -961,7 +961,7 @@ export declare enum BackgroundType {
|
|
961
961
|
/** Gradiant background type */
|
962
962
|
GRADIENT = "GRADIENT"
|
963
963
|
}
|
964
|
-
|
964
|
+
interface Gradient {
|
965
965
|
/** The gradient angle in degrees. */
|
966
966
|
angle?: number | null;
|
967
967
|
/**
|
@@ -975,7 +975,7 @@ export interface Gradient {
|
|
975
975
|
*/
|
976
976
|
lastColor?: string | null;
|
977
977
|
}
|
978
|
-
|
978
|
+
interface Background extends BackgroundBackgroundOneOf {
|
979
979
|
/**
|
980
980
|
* The background color as a hexademical value.
|
981
981
|
* @format COLOR_HEX
|
@@ -989,7 +989,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
989
989
|
type?: BackgroundType;
|
990
990
|
}
|
991
991
|
/** @oneof */
|
992
|
-
|
992
|
+
interface BackgroundBackgroundOneOf {
|
993
993
|
/**
|
994
994
|
* The background color as a hexademical value.
|
995
995
|
* @format COLOR_HEX
|
@@ -1000,19 +1000,19 @@ export interface BackgroundBackgroundOneOf {
|
|
1000
1000
|
/** Details for a gradient background. */
|
1001
1001
|
gradient?: Gradient;
|
1002
1002
|
}
|
1003
|
-
|
1003
|
+
interface PollDesign {
|
1004
1004
|
/** Background styling. */
|
1005
1005
|
background?: Background;
|
1006
1006
|
/** Border radius in pixels. */
|
1007
1007
|
borderRadius?: number | null;
|
1008
1008
|
}
|
1009
|
-
|
1009
|
+
interface OptionDesign {
|
1010
1010
|
/** Border radius in pixels. */
|
1011
1011
|
borderRadius?: number | null;
|
1012
1012
|
}
|
1013
|
-
|
1013
|
+
interface Poll {
|
1014
1014
|
/** Poll ID. */
|
1015
|
-
|
1015
|
+
_id?: string | null;
|
1016
1016
|
/** Poll title. */
|
1017
1017
|
title?: string | null;
|
1018
1018
|
/** Poll creator ID. */
|
@@ -1024,26 +1024,26 @@ export interface Poll {
|
|
1024
1024
|
/** The poll's permissions and display settings. */
|
1025
1025
|
settings?: Settings;
|
1026
1026
|
}
|
1027
|
-
|
1027
|
+
interface PollDataLayout {
|
1028
1028
|
/** Poll layout settings. */
|
1029
1029
|
poll?: PollLayout;
|
1030
1030
|
/** Voting otpions layout settings. */
|
1031
1031
|
options?: OptionLayout;
|
1032
1032
|
}
|
1033
|
-
|
1033
|
+
interface Design {
|
1034
1034
|
/** Styling for the poll. */
|
1035
1035
|
poll?: PollDesign;
|
1036
1036
|
/** Styling for voting options. */
|
1037
1037
|
options?: OptionDesign;
|
1038
1038
|
}
|
1039
|
-
|
1039
|
+
interface TextData {
|
1040
1040
|
/** The text to apply decorations to. */
|
1041
1041
|
text?: string;
|
1042
1042
|
/** The decorations to apply. */
|
1043
1043
|
decorations?: Decoration[];
|
1044
1044
|
}
|
1045
1045
|
/** Adds appearence changes to text */
|
1046
|
-
|
1046
|
+
interface Decoration extends DecorationDataOneOf {
|
1047
1047
|
/** Data for an anchor link decoration. */
|
1048
1048
|
anchorData?: AnchorData;
|
1049
1049
|
/** Data for a color decoration. */
|
@@ -1066,7 +1066,7 @@ export interface Decoration extends DecorationDataOneOf {
|
|
1066
1066
|
type?: DecorationType;
|
1067
1067
|
}
|
1068
1068
|
/** @oneof */
|
1069
|
-
|
1069
|
+
interface DecorationDataOneOf {
|
1070
1070
|
/** Data for an anchor link decoration. */
|
1071
1071
|
anchorData?: AnchorData;
|
1072
1072
|
/** Data for a color decoration. */
|
@@ -1086,7 +1086,7 @@ export interface DecorationDataOneOf {
|
|
1086
1086
|
/** Data for a spoiler decoration. */
|
1087
1087
|
spoilerData?: SpoilerData;
|
1088
1088
|
}
|
1089
|
-
|
1089
|
+
declare enum DecorationType {
|
1090
1090
|
BOLD = "BOLD",
|
1091
1091
|
ITALIC = "ITALIC",
|
1092
1092
|
UNDERLINE = "UNDERLINE",
|
@@ -1098,43 +1098,43 @@ export declare enum DecorationType {
|
|
1098
1098
|
FONT_SIZE = "FONT_SIZE",
|
1099
1099
|
EXTERNAL = "EXTERNAL"
|
1100
1100
|
}
|
1101
|
-
|
1101
|
+
interface AnchorData {
|
1102
1102
|
/** The target node's ID. */
|
1103
1103
|
anchor?: string;
|
1104
1104
|
}
|
1105
|
-
|
1105
|
+
interface ColorData {
|
1106
1106
|
/** The text's background color as a hexadecimal value. */
|
1107
1107
|
background?: string | null;
|
1108
1108
|
/** The text's foreground color as a hexadecimal value. */
|
1109
1109
|
foreground?: string | null;
|
1110
1110
|
}
|
1111
|
-
|
1111
|
+
interface LinkData {
|
1112
1112
|
/** Link details. */
|
1113
1113
|
link?: Link;
|
1114
1114
|
}
|
1115
|
-
|
1115
|
+
interface MentionData {
|
1116
1116
|
/** The mentioned user's name. */
|
1117
1117
|
name?: string;
|
1118
1118
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
1119
1119
|
slug?: string;
|
1120
1120
|
/** Mentioned user's ID. */
|
1121
|
-
|
1121
|
+
_id?: string | null;
|
1122
1122
|
}
|
1123
|
-
|
1123
|
+
interface FontSizeData {
|
1124
1124
|
/** The units used for the font size. */
|
1125
1125
|
unit?: FontType;
|
1126
1126
|
/** Font size value. */
|
1127
1127
|
value?: number | null;
|
1128
1128
|
}
|
1129
|
-
|
1129
|
+
declare enum FontType {
|
1130
1130
|
PX = "PX",
|
1131
1131
|
EM = "EM"
|
1132
1132
|
}
|
1133
|
-
|
1133
|
+
interface SpoilerData {
|
1134
1134
|
/** Spoiler ID. */
|
1135
|
-
|
1135
|
+
_id?: string | null;
|
1136
1136
|
}
|
1137
|
-
|
1137
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
1138
1138
|
/** Data for embedded Wix Bookings content. */
|
1139
1139
|
bookingData?: BookingData;
|
1140
1140
|
/** Data for embedded Wix Events content. */
|
@@ -1156,28 +1156,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1156
1156
|
image?: Media;
|
1157
1157
|
}
|
1158
1158
|
/** @oneof */
|
1159
|
-
|
1159
|
+
interface AppEmbedDataAppDataOneOf {
|
1160
1160
|
/** Data for embedded Wix Bookings content. */
|
1161
1161
|
bookingData?: BookingData;
|
1162
1162
|
/** Data for embedded Wix Events content. */
|
1163
1163
|
eventData?: EventData;
|
1164
1164
|
}
|
1165
|
-
|
1165
|
+
declare enum AppType {
|
1166
1166
|
PRODUCT = "PRODUCT",
|
1167
1167
|
EVENT = "EVENT",
|
1168
1168
|
BOOKING = "BOOKING"
|
1169
1169
|
}
|
1170
|
-
|
1170
|
+
interface BookingData {
|
1171
1171
|
/** Booking duration in minutes. */
|
1172
1172
|
durations?: string | null;
|
1173
1173
|
}
|
1174
|
-
|
1174
|
+
interface EventData {
|
1175
1175
|
/** Event schedule. */
|
1176
1176
|
scheduling?: string | null;
|
1177
1177
|
/** Event location. */
|
1178
1178
|
location?: string | null;
|
1179
1179
|
}
|
1180
|
-
|
1180
|
+
interface VideoData {
|
1181
1181
|
/** Styling for the video's container. */
|
1182
1182
|
containerData?: PluginContainerData;
|
1183
1183
|
/** Video details. */
|
@@ -1191,7 +1191,7 @@ export interface VideoData {
|
|
1191
1191
|
/** Video options. */
|
1192
1192
|
options?: PlaybackOptions;
|
1193
1193
|
}
|
1194
|
-
|
1194
|
+
interface PlaybackOptions {
|
1195
1195
|
/** Sets whether the media will automatically start playing. */
|
1196
1196
|
autoPlay?: boolean | null;
|
1197
1197
|
/** Sets whether media's will be looped. */
|
@@ -1199,7 +1199,7 @@ export interface PlaybackOptions {
|
|
1199
1199
|
/** Sets whether media's controls will be shown. */
|
1200
1200
|
showControls?: boolean | null;
|
1201
1201
|
}
|
1202
|
-
|
1202
|
+
interface EmbedData {
|
1203
1203
|
/** Styling for the oEmbed node's container. */
|
1204
1204
|
containerData?: PluginContainerData;
|
1205
1205
|
/** An [oEmbed](https://www.oembed.com) object. */
|
@@ -1207,7 +1207,7 @@ export interface EmbedData {
|
|
1207
1207
|
/** Origin asset source. */
|
1208
1208
|
src?: string | null;
|
1209
1209
|
}
|
1210
|
-
|
1210
|
+
interface Oembed {
|
1211
1211
|
/** The resource type. */
|
1212
1212
|
type?: string | null;
|
1213
1213
|
/** The width of the resource specified in the `url` property in pixels. */
|
@@ -1239,7 +1239,7 @@ export interface Oembed {
|
|
1239
1239
|
/** The oEmbed version number. This value must be `1.0`. */
|
1240
1240
|
version?: string | null;
|
1241
1241
|
}
|
1242
|
-
|
1242
|
+
interface CollapsibleListData {
|
1243
1243
|
/** Styling for the collapsible list's container. */
|
1244
1244
|
containerData?: PluginContainerData;
|
1245
1245
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
@@ -1251,7 +1251,7 @@ export interface CollapsibleListData {
|
|
1251
1251
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
1252
1252
|
isQapageData?: boolean | null;
|
1253
1253
|
}
|
1254
|
-
|
1254
|
+
declare enum InitialExpandedItems {
|
1255
1255
|
/** First item will be expended initally */
|
1256
1256
|
FIRST = "FIRST",
|
1257
1257
|
/** All items will expended initally */
|
@@ -1259,13 +1259,13 @@ export declare enum InitialExpandedItems {
|
|
1259
1259
|
/** All items collapsed initally */
|
1260
1260
|
NONE = "NONE"
|
1261
1261
|
}
|
1262
|
-
|
1262
|
+
declare enum Direction {
|
1263
1263
|
/** Left-to-right */
|
1264
1264
|
LTR = "LTR",
|
1265
1265
|
/** Right-to-left */
|
1266
1266
|
RTL = "RTL"
|
1267
1267
|
}
|
1268
|
-
|
1268
|
+
interface TableData {
|
1269
1269
|
/** Styling for the table's container. */
|
1270
1270
|
containerData?: PluginContainerData;
|
1271
1271
|
/** The table's dimensions. */
|
@@ -1280,7 +1280,7 @@ export interface TableData {
|
|
1280
1280
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
1281
1281
|
columnHeader?: boolean | null;
|
1282
1282
|
}
|
1283
|
-
|
1283
|
+
interface Dimensions {
|
1284
1284
|
/** An array representing relative width of each column in relation to the other columns. */
|
1285
1285
|
colsWidthRatio?: number[];
|
1286
1286
|
/** An array representing the height of each row in pixels. */
|
@@ -1288,13 +1288,13 @@ export interface Dimensions {
|
|
1288
1288
|
/** An array representing the minimum width of each column in pixels. */
|
1289
1289
|
colsMinWidth?: number[];
|
1290
1290
|
}
|
1291
|
-
|
1291
|
+
interface TableCellData {
|
1292
1292
|
/** Styling for the cell's background color and text alignment. */
|
1293
1293
|
cellStyle?: CellStyle;
|
1294
1294
|
/** The cell's border colors. */
|
1295
1295
|
borderColors?: BorderColors;
|
1296
1296
|
}
|
1297
|
-
|
1297
|
+
declare enum VerticalAlignment {
|
1298
1298
|
/** Top alignment */
|
1299
1299
|
TOP = "TOP",
|
1300
1300
|
/** Middle alignment */
|
@@ -1302,7 +1302,7 @@ export declare enum VerticalAlignment {
|
|
1302
1302
|
/** Bottom alignment */
|
1303
1303
|
BOTTOM = "BOTTOM"
|
1304
1304
|
}
|
1305
|
-
|
1305
|
+
interface CellStyle {
|
1306
1306
|
/** Vertical alignment for the cell's text. */
|
1307
1307
|
verticalAlignment?: VerticalAlignment;
|
1308
1308
|
/**
|
@@ -1311,7 +1311,7 @@ export interface CellStyle {
|
|
1311
1311
|
*/
|
1312
1312
|
backgroundColor?: string | null;
|
1313
1313
|
}
|
1314
|
-
|
1314
|
+
interface BorderColors {
|
1315
1315
|
/**
|
1316
1316
|
* Left border color as a hexadecimal value.
|
1317
1317
|
* @format COLOR_HEX
|
@@ -1339,7 +1339,7 @@ export interface BorderColors {
|
|
1339
1339
|
*
|
1340
1340
|
* The JSON representation for `NullValue` is JSON `null`.
|
1341
1341
|
*/
|
1342
|
-
|
1342
|
+
declare enum NullValue {
|
1343
1343
|
/** Null value. */
|
1344
1344
|
NULL_VALUE = "NULL_VALUE"
|
1345
1345
|
}
|
@@ -1348,11 +1348,11 @@ export declare enum NullValue {
|
|
1348
1348
|
*
|
1349
1349
|
* The JSON representation for `ListValue` is JSON array.
|
1350
1350
|
*/
|
1351
|
-
|
1351
|
+
interface ListValue {
|
1352
1352
|
/** Repeated field of dynamically typed values. */
|
1353
1353
|
values?: any[];
|
1354
1354
|
}
|
1355
|
-
|
1355
|
+
interface AudioData {
|
1356
1356
|
/** Styling for the audio node's container. */
|
1357
1357
|
containerData?: PluginContainerData;
|
1358
1358
|
/** Audio file details. */
|
@@ -1368,7 +1368,7 @@ export interface AudioData {
|
|
1368
1368
|
/** An HTML version of the audio node. */
|
1369
1369
|
html?: string | null;
|
1370
1370
|
}
|
1371
|
-
|
1371
|
+
interface OrderedListData {
|
1372
1372
|
/** Indentation level from 0-4. */
|
1373
1373
|
indentation?: number;
|
1374
1374
|
/** Offset level from 0-4. */
|
@@ -1376,24 +1376,24 @@ export interface OrderedListData {
|
|
1376
1376
|
/** List start number. */
|
1377
1377
|
start?: number | null;
|
1378
1378
|
}
|
1379
|
-
|
1379
|
+
interface BulletedListData {
|
1380
1380
|
/** Indentation level from 0-4. */
|
1381
1381
|
indentation?: number;
|
1382
1382
|
/** Offset level from 0-4. */
|
1383
1383
|
offset?: number | null;
|
1384
1384
|
}
|
1385
|
-
|
1385
|
+
interface BlockquoteData {
|
1386
1386
|
/** Indentation level from 1-4. */
|
1387
1387
|
indentation?: number;
|
1388
1388
|
}
|
1389
|
-
|
1389
|
+
interface CaptionData {
|
1390
1390
|
textStyle?: TextStyle;
|
1391
1391
|
}
|
1392
|
-
|
1392
|
+
interface LayoutCellData {
|
1393
1393
|
/** Size of the cell in 12 columns grid. */
|
1394
1394
|
colSpan?: number | null;
|
1395
1395
|
}
|
1396
|
-
|
1396
|
+
interface Metadata {
|
1397
1397
|
/** Schema version. */
|
1398
1398
|
version?: number;
|
1399
1399
|
/**
|
@@ -1408,9 +1408,9 @@ export interface Metadata {
|
|
1408
1408
|
*/
|
1409
1409
|
updatedTimestamp?: Date | null;
|
1410
1410
|
/** Object ID. */
|
1411
|
-
|
1411
|
+
_id?: string | null;
|
1412
1412
|
}
|
1413
|
-
|
1413
|
+
interface DocumentStyle {
|
1414
1414
|
/** Styling for H1 nodes. */
|
1415
1415
|
headerOne?: TextNodeStyle;
|
1416
1416
|
/** Styling for H2 nodes. */
|
@@ -1430,7 +1430,7 @@ export interface DocumentStyle {
|
|
1430
1430
|
/** Styling for code block nodes. */
|
1431
1431
|
codeBlock?: TextNodeStyle;
|
1432
1432
|
}
|
1433
|
-
|
1433
|
+
interface TextNodeStyle {
|
1434
1434
|
/** The decorations to apply to the node. */
|
1435
1435
|
decorations?: Decoration[];
|
1436
1436
|
/** Padding and background color for the node. */
|
@@ -1438,53 +1438,53 @@ export interface TextNodeStyle {
|
|
1438
1438
|
/** Line height for text in the node. */
|
1439
1439
|
lineHeight?: string | null;
|
1440
1440
|
}
|
1441
|
-
|
1441
|
+
interface CreateMemberAboutRequest {
|
1442
1442
|
/** The "About" section content to create. */
|
1443
1443
|
memberAbout: MemberAbout;
|
1444
1444
|
}
|
1445
|
-
|
1445
|
+
interface CreateMemberAboutResponse {
|
1446
1446
|
/** The created "About" section content. */
|
1447
1447
|
memberAbout?: MemberAbout;
|
1448
1448
|
}
|
1449
|
-
|
1449
|
+
interface UpdateMemberAboutRequest {
|
1450
1450
|
/** The "About" section content to update. */
|
1451
1451
|
memberAbout: MemberAbout;
|
1452
1452
|
}
|
1453
|
-
|
1453
|
+
interface UpdateMemberAboutResponse {
|
1454
1454
|
/** The updated "About" section content. */
|
1455
1455
|
memberAbout?: MemberAbout;
|
1456
1456
|
}
|
1457
|
-
|
1457
|
+
interface DeleteMemberAboutRequest {
|
1458
1458
|
/**
|
1459
1459
|
* ID of the "About" section content to delete.
|
1460
1460
|
* @format GUID
|
1461
1461
|
*/
|
1462
|
-
|
1462
|
+
_id: string;
|
1463
1463
|
}
|
1464
|
-
|
1464
|
+
interface DeleteMemberAboutResponse {
|
1465
1465
|
}
|
1466
|
-
|
1466
|
+
interface GetMemberAboutRequest {
|
1467
1467
|
/**
|
1468
1468
|
* ID of the "About" section content to retrieve.
|
1469
1469
|
* @format GUID
|
1470
1470
|
*/
|
1471
|
-
|
1471
|
+
_id: string;
|
1472
1472
|
}
|
1473
|
-
|
1473
|
+
interface GetMemberAboutResponse {
|
1474
1474
|
/** The retrieved "About" section content. */
|
1475
1475
|
memberAbout?: MemberAbout;
|
1476
1476
|
}
|
1477
|
-
|
1477
|
+
interface GetMyMemberAboutRequest {
|
1478
1478
|
}
|
1479
|
-
|
1479
|
+
interface GetMyMemberAboutResponse {
|
1480
1480
|
/** The "About" section content of the current member. */
|
1481
1481
|
memberAbout?: MemberAbout;
|
1482
1482
|
}
|
1483
|
-
|
1483
|
+
interface QueryMemberAboutsRequest {
|
1484
1484
|
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */
|
1485
1485
|
query?: CursorQuery;
|
1486
1486
|
}
|
1487
|
-
|
1487
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
1488
1488
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
1489
1489
|
cursorPaging?: CursorPaging;
|
1490
1490
|
/**
|
@@ -1503,23 +1503,23 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1503
1503
|
sort?: Sorting[];
|
1504
1504
|
}
|
1505
1505
|
/** @oneof */
|
1506
|
-
|
1506
|
+
interface CursorQueryPagingMethodOneOf {
|
1507
1507
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
1508
1508
|
cursorPaging?: CursorPaging;
|
1509
1509
|
}
|
1510
|
-
|
1510
|
+
interface Sorting {
|
1511
1511
|
/** Name of the field to sort by. */
|
1512
1512
|
fieldName?: string;
|
1513
1513
|
/** Sort order. */
|
1514
1514
|
order?: SortOrder;
|
1515
1515
|
}
|
1516
|
-
|
1516
|
+
declare enum SortOrder {
|
1517
1517
|
/** Sort is in ascending order. */
|
1518
1518
|
ASC = "ASC",
|
1519
1519
|
/** Sort is in the descending order. */
|
1520
1520
|
DESC = "DESC"
|
1521
1521
|
}
|
1522
|
-
|
1522
|
+
interface CursorPaging {
|
1523
1523
|
/**
|
1524
1524
|
* Number of items to load.
|
1525
1525
|
* @max 100
|
@@ -1534,13 +1534,13 @@ export interface CursorPaging {
|
|
1534
1534
|
*/
|
1535
1535
|
cursor?: string | null;
|
1536
1536
|
}
|
1537
|
-
|
1537
|
+
interface QueryMemberAboutsResponse {
|
1538
1538
|
/** The retrieved content from the "About" sections. */
|
1539
1539
|
memberAbouts?: MemberAbout[];
|
1540
1540
|
/** Metadata for the paginated results. */
|
1541
1541
|
metadata?: CursorPagingMetadata;
|
1542
1542
|
}
|
1543
|
-
|
1543
|
+
interface CursorPagingMetadata {
|
1544
1544
|
/** Number of items returned in current page. */
|
1545
1545
|
count?: number | null;
|
1546
1546
|
/** Cursor strings that point to the next page, previous page, or both. */
|
@@ -1553,7 +1553,7 @@ export interface CursorPagingMetadata {
|
|
1553
1553
|
*/
|
1554
1554
|
hasNext?: boolean | null;
|
1555
1555
|
}
|
1556
|
-
|
1556
|
+
interface Cursors {
|
1557
1557
|
/**
|
1558
1558
|
* Cursor string pointing to the next page in the list of results.
|
1559
1559
|
* @maxLength 16000
|
@@ -1565,7 +1565,7 @@ export interface Cursors {
|
|
1565
1565
|
*/
|
1566
1566
|
prev?: string | null;
|
1567
1567
|
}
|
1568
|
-
|
1568
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
1569
1569
|
createdEvent?: EntityCreatedEvent;
|
1570
1570
|
updatedEvent?: EntityUpdatedEvent;
|
1571
1571
|
deletedEvent?: EntityDeletedEvent;
|
@@ -1574,7 +1574,7 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
1574
1574
|
* Unique event ID.
|
1575
1575
|
* Allows clients to ignore duplicate webhooks.
|
1576
1576
|
*/
|
1577
|
-
|
1577
|
+
_id?: string;
|
1578
1578
|
/**
|
1579
1579
|
* Assumes actions are also always typed to an entity_type
|
1580
1580
|
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
@@ -1608,36 +1608,34 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
1608
1608
|
entityEventSequence?: string | null;
|
1609
1609
|
}
|
1610
1610
|
/** @oneof */
|
1611
|
-
|
1611
|
+
interface DomainEventBodyOneOf {
|
1612
1612
|
createdEvent?: EntityCreatedEvent;
|
1613
1613
|
updatedEvent?: EntityUpdatedEvent;
|
1614
1614
|
deletedEvent?: EntityDeletedEvent;
|
1615
1615
|
actionEvent?: ActionEvent;
|
1616
1616
|
}
|
1617
|
-
|
1618
|
-
|
1619
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
1620
|
-
restoreInfo?: RestoreInfo;
|
1617
|
+
interface EntityCreatedEvent {
|
1618
|
+
entity?: string;
|
1621
1619
|
}
|
1622
|
-
|
1620
|
+
interface RestoreInfo {
|
1623
1621
|
deletedDate?: Date | null;
|
1624
1622
|
}
|
1625
|
-
|
1623
|
+
interface EntityUpdatedEvent {
|
1626
1624
|
/**
|
1627
1625
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
1628
1626
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
1629
1627
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
1630
1628
|
*/
|
1631
|
-
|
1629
|
+
currentEntity?: string;
|
1632
1630
|
}
|
1633
|
-
|
1631
|
+
interface EntityDeletedEvent {
|
1634
1632
|
/** Entity that was deleted */
|
1635
|
-
|
1633
|
+
deletedEntity?: string | null;
|
1636
1634
|
}
|
1637
|
-
|
1638
|
-
|
1635
|
+
interface ActionEvent {
|
1636
|
+
body?: string;
|
1639
1637
|
}
|
1640
|
-
|
1638
|
+
interface MessageEnvelope {
|
1641
1639
|
/**
|
1642
1640
|
* App instance ID.
|
1643
1641
|
* @format GUID
|
@@ -1653,7 +1651,7 @@ export interface MessageEnvelope {
|
|
1653
1651
|
/** Stringify payload. */
|
1654
1652
|
data?: string;
|
1655
1653
|
}
|
1656
|
-
|
1654
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
1657
1655
|
/**
|
1658
1656
|
* ID of a site visitor that has not logged in to the site.
|
1659
1657
|
* @format GUID
|
@@ -1678,7 +1676,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1678
1676
|
identityType?: WebhookIdentityType;
|
1679
1677
|
}
|
1680
1678
|
/** @oneof */
|
1681
|
-
|
1679
|
+
interface IdentificationDataIdOneOf {
|
1682
1680
|
/**
|
1683
1681
|
* ID of a site visitor that has not logged in to the site.
|
1684
1682
|
* @format GUID
|
@@ -1700,281 +1698,141 @@ export interface IdentificationDataIdOneOf {
|
|
1700
1698
|
*/
|
1701
1699
|
appId?: string;
|
1702
1700
|
}
|
1703
|
-
|
1701
|
+
declare enum WebhookIdentityType {
|
1704
1702
|
UNKNOWN = "UNKNOWN",
|
1705
1703
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
1706
1704
|
MEMBER = "MEMBER",
|
1707
1705
|
WIX_USER = "WIX_USER",
|
1708
1706
|
APP = "APP"
|
1709
1707
|
}
|
1710
|
-
interface
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1724
|
-
type: Type;
|
1725
|
-
link?: LinkNonNullableFields;
|
1726
|
-
}
|
1727
|
-
interface TextStyleNonNullableFields {
|
1728
|
-
textAlignment: TextAlignment;
|
1729
|
-
}
|
1730
|
-
interface CodeBlockDataNonNullableFields {
|
1731
|
-
textStyle?: TextStyleNonNullableFields;
|
1732
|
-
}
|
1733
|
-
interface DividerDataNonNullableFields {
|
1734
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1735
|
-
lineStyle: LineStyle;
|
1736
|
-
width: Width;
|
1737
|
-
alignment: Alignment;
|
1738
|
-
}
|
1739
|
-
interface PDFSettingsNonNullableFields {
|
1740
|
-
viewMode: ViewMode;
|
1741
|
-
}
|
1742
|
-
interface FileDataNonNullableFields {
|
1743
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1744
|
-
pdfSettings?: PDFSettingsNonNullableFields;
|
1745
|
-
}
|
1746
|
-
interface ImageNonNullableFields {
|
1747
|
-
link?: LinkNonNullableFields;
|
1748
|
-
}
|
1749
|
-
interface ItemNonNullableFields {
|
1750
|
-
image?: ImageNonNullableFields;
|
1751
|
-
}
|
1752
|
-
interface LayoutNonNullableFields {
|
1753
|
-
type: LayoutType;
|
1754
|
-
orientation: Orientation;
|
1755
|
-
}
|
1756
|
-
interface ItemStyleNonNullableFields {
|
1757
|
-
crop: Crop;
|
1758
|
-
}
|
1759
|
-
interface ThumbnailsNonNullableFields {
|
1760
|
-
placement: ThumbnailsAlignment;
|
1761
|
-
}
|
1762
|
-
interface GalleryOptionsNonNullableFields {
|
1763
|
-
layout?: LayoutNonNullableFields;
|
1764
|
-
item?: ItemStyleNonNullableFields;
|
1765
|
-
thumbnails?: ThumbnailsNonNullableFields;
|
1766
|
-
}
|
1767
|
-
interface GalleryDataNonNullableFields {
|
1768
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1769
|
-
items: ItemNonNullableFields[];
|
1770
|
-
options?: GalleryOptionsNonNullableFields;
|
1771
|
-
}
|
1772
|
-
interface GIFDataNonNullableFields {
|
1773
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1774
|
-
height: number;
|
1775
|
-
width: number;
|
1776
|
-
gifType: GIFType;
|
1777
|
-
}
|
1778
|
-
interface HeadingDataNonNullableFields {
|
1779
|
-
level: number;
|
1780
|
-
textStyle?: TextStyleNonNullableFields;
|
1781
|
-
}
|
1782
|
-
interface HTMLDataNonNullableFields {
|
1783
|
-
url: string;
|
1784
|
-
html: string;
|
1785
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1786
|
-
source: Source;
|
1787
|
-
}
|
1788
|
-
interface ImageDataNonNullableFields {
|
1789
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1790
|
-
link?: LinkNonNullableFields;
|
1791
|
-
}
|
1792
|
-
interface LinkPreviewDataStylesNonNullableFields {
|
1793
|
-
thumbnailPosition: Position;
|
1794
|
-
}
|
1795
|
-
interface LinkPreviewDataNonNullableFields {
|
1796
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1797
|
-
link?: LinkNonNullableFields;
|
1798
|
-
styles?: LinkPreviewDataStylesNonNullableFields;
|
1799
|
-
}
|
1800
|
-
interface MapSettingsNonNullableFields {
|
1801
|
-
mapType: MapType;
|
1802
|
-
}
|
1803
|
-
interface MapDataNonNullableFields {
|
1804
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1805
|
-
mapSettings?: MapSettingsNonNullableFields;
|
1806
|
-
}
|
1807
|
-
interface ParagraphDataNonNullableFields {
|
1808
|
-
textStyle?: TextStyleNonNullableFields;
|
1708
|
+
interface BaseEventMetadata {
|
1709
|
+
/**
|
1710
|
+
* App instance ID.
|
1711
|
+
* @format GUID
|
1712
|
+
*/
|
1713
|
+
instanceId?: string | null;
|
1714
|
+
/**
|
1715
|
+
* Event type.
|
1716
|
+
* @maxLength 150
|
1717
|
+
*/
|
1718
|
+
eventType?: string;
|
1719
|
+
/** The identification type and identity data. */
|
1720
|
+
identity?: IdentificationData;
|
1809
1721
|
}
|
1810
|
-
interface
|
1811
|
-
|
1812
|
-
|
1722
|
+
interface EventMetadata extends BaseEventMetadata {
|
1723
|
+
/**
|
1724
|
+
* Unique event ID.
|
1725
|
+
* Allows clients to ignore duplicate webhooks.
|
1726
|
+
*/
|
1727
|
+
_id?: string;
|
1728
|
+
/**
|
1729
|
+
* Assumes actions are also always typed to an entity_type
|
1730
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
1731
|
+
*/
|
1732
|
+
entityFqdn?: string;
|
1733
|
+
/**
|
1734
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
1735
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
1736
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
1737
|
+
*/
|
1738
|
+
slug?: string;
|
1739
|
+
/** ID of the entity associated with the event. */
|
1740
|
+
entityId?: string;
|
1741
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
1742
|
+
eventTime?: Date | null;
|
1743
|
+
/**
|
1744
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
1745
|
+
* (for example, GDPR).
|
1746
|
+
*/
|
1747
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
1748
|
+
/** If present, indicates the action that triggered the event. */
|
1749
|
+
originatedFrom?: string | null;
|
1750
|
+
/**
|
1751
|
+
* A sequence number defining the order of updates to the underlying entity.
|
1752
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
1753
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
1754
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
1755
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
1756
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
1757
|
+
*/
|
1758
|
+
entityEventSequence?: string | null;
|
1813
1759
|
}
|
1814
|
-
interface
|
1815
|
-
|
1760
|
+
interface MemberAboutCreatedEnvelope {
|
1761
|
+
entity: MemberAbout;
|
1762
|
+
metadata: EventMetadata;
|
1816
1763
|
}
|
1817
|
-
interface
|
1818
|
-
|
1764
|
+
interface MemberAboutDeletedEnvelope {
|
1765
|
+
metadata: EventMetadata;
|
1819
1766
|
}
|
1820
|
-
interface
|
1821
|
-
|
1822
|
-
|
1767
|
+
interface MemberAboutUpdatedEnvelope {
|
1768
|
+
entity: MemberAbout;
|
1769
|
+
metadata: EventMetadata;
|
1823
1770
|
}
|
1824
|
-
interface
|
1825
|
-
|
1771
|
+
interface UpdateMemberAbout {
|
1772
|
+
/**
|
1773
|
+
* ID of the "About" section content.
|
1774
|
+
* @format GUID
|
1775
|
+
* @readonly
|
1776
|
+
*/
|
1777
|
+
_id?: string | null;
|
1778
|
+
/** Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content. */
|
1779
|
+
revision?: string | null;
|
1780
|
+
/**
|
1781
|
+
* Member ID.
|
1782
|
+
* @format GUID
|
1783
|
+
*/
|
1784
|
+
memberId?: string | null;
|
1785
|
+
/** <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget> */
|
1786
|
+
content?: RichContent;
|
1826
1787
|
}
|
1827
|
-
interface
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1878
|
-
direction: Direction;
|
1879
|
-
}
|
1880
|
-
interface DimensionsNonNullableFields {
|
1881
|
-
colsWidthRatio: number[];
|
1882
|
-
rowsHeight: number[];
|
1883
|
-
colsMinWidth: number[];
|
1884
|
-
}
|
1885
|
-
interface TableDataNonNullableFields {
|
1886
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1887
|
-
dimensions?: DimensionsNonNullableFields;
|
1888
|
-
}
|
1889
|
-
interface CellStyleNonNullableFields {
|
1890
|
-
verticalAlignment: VerticalAlignment;
|
1891
|
-
}
|
1892
|
-
interface TableCellDataNonNullableFields {
|
1893
|
-
cellStyle?: CellStyleNonNullableFields;
|
1894
|
-
}
|
1895
|
-
interface AudioDataNonNullableFields {
|
1896
|
-
containerData?: PluginContainerDataNonNullableFields;
|
1897
|
-
}
|
1898
|
-
interface OrderedListDataNonNullableFields {
|
1899
|
-
indentation: number;
|
1900
|
-
}
|
1901
|
-
interface BulletedListDataNonNullableFields {
|
1902
|
-
indentation: number;
|
1903
|
-
}
|
1904
|
-
interface BlockquoteDataNonNullableFields {
|
1905
|
-
indentation: number;
|
1906
|
-
}
|
1907
|
-
interface CaptionDataNonNullableFields {
|
1908
|
-
textStyle?: TextStyleNonNullableFields;
|
1909
|
-
}
|
1910
|
-
interface NodeNonNullableFields {
|
1911
|
-
buttonData?: ButtonDataNonNullableFields;
|
1912
|
-
codeBlockData?: CodeBlockDataNonNullableFields;
|
1913
|
-
dividerData?: DividerDataNonNullableFields;
|
1914
|
-
fileData?: FileDataNonNullableFields;
|
1915
|
-
galleryData?: GalleryDataNonNullableFields;
|
1916
|
-
gifData?: GIFDataNonNullableFields;
|
1917
|
-
headingData?: HeadingDataNonNullableFields;
|
1918
|
-
htmlData?: HTMLDataNonNullableFields;
|
1919
|
-
imageData?: ImageDataNonNullableFields;
|
1920
|
-
linkPreviewData?: LinkPreviewDataNonNullableFields;
|
1921
|
-
mapData?: MapDataNonNullableFields;
|
1922
|
-
paragraphData?: ParagraphDataNonNullableFields;
|
1923
|
-
pollData?: PollDataNonNullableFields;
|
1924
|
-
textData?: TextDataNonNullableFields;
|
1925
|
-
appEmbedData?: AppEmbedDataNonNullableFields;
|
1926
|
-
videoData?: VideoDataNonNullableFields;
|
1927
|
-
embedData?: EmbedDataNonNullableFields;
|
1928
|
-
collapsibleListData?: CollapsibleListDataNonNullableFields;
|
1929
|
-
tableData?: TableDataNonNullableFields;
|
1930
|
-
tableCellData?: TableCellDataNonNullableFields;
|
1931
|
-
audioData?: AudioDataNonNullableFields;
|
1932
|
-
orderedListData?: OrderedListDataNonNullableFields;
|
1933
|
-
bulletedListData?: BulletedListDataNonNullableFields;
|
1934
|
-
blockquoteData?: BlockquoteDataNonNullableFields;
|
1935
|
-
captionData?: CaptionDataNonNullableFields;
|
1936
|
-
type: NodeType;
|
1937
|
-
id: string;
|
1938
|
-
nodes: NodeNonNullableFields[];
|
1939
|
-
}
|
1940
|
-
interface MetadataNonNullableFields {
|
1941
|
-
version: number;
|
1942
|
-
}
|
1943
|
-
interface TextNodeStyleNonNullableFields {
|
1944
|
-
decorations: DecorationNonNullableFields[];
|
1945
|
-
}
|
1946
|
-
interface DocumentStyleNonNullableFields {
|
1947
|
-
headerOne?: TextNodeStyleNonNullableFields;
|
1948
|
-
headerTwo?: TextNodeStyleNonNullableFields;
|
1949
|
-
headerThree?: TextNodeStyleNonNullableFields;
|
1950
|
-
headerFour?: TextNodeStyleNonNullableFields;
|
1951
|
-
headerFive?: TextNodeStyleNonNullableFields;
|
1952
|
-
headerSix?: TextNodeStyleNonNullableFields;
|
1953
|
-
paragraph?: TextNodeStyleNonNullableFields;
|
1954
|
-
blockquote?: TextNodeStyleNonNullableFields;
|
1955
|
-
codeBlock?: TextNodeStyleNonNullableFields;
|
1956
|
-
}
|
1957
|
-
interface RichContentNonNullableFields {
|
1958
|
-
nodes: NodeNonNullableFields[];
|
1959
|
-
metadata?: MetadataNonNullableFields;
|
1960
|
-
documentStyle?: DocumentStyleNonNullableFields;
|
1961
|
-
}
|
1962
|
-
interface MemberAboutNonNullableFields {
|
1963
|
-
content?: RichContentNonNullableFields;
|
1964
|
-
}
|
1965
|
-
export interface CreateMemberAboutResponseNonNullableFields {
|
1966
|
-
memberAbout?: MemberAboutNonNullableFields;
|
1967
|
-
}
|
1968
|
-
export interface UpdateMemberAboutResponseNonNullableFields {
|
1969
|
-
memberAbout?: MemberAboutNonNullableFields;
|
1970
|
-
}
|
1971
|
-
export interface GetMemberAboutResponseNonNullableFields {
|
1972
|
-
memberAbout?: MemberAboutNonNullableFields;
|
1973
|
-
}
|
1974
|
-
export interface GetMyMemberAboutResponseNonNullableFields {
|
1975
|
-
memberAbout?: MemberAboutNonNullableFields;
|
1976
|
-
}
|
1977
|
-
export interface QueryMemberAboutsResponseNonNullableFields {
|
1978
|
-
memberAbouts: MemberAboutNonNullableFields[];
|
1979
|
-
}
|
1980
|
-
export {};
|
1788
|
+
interface QueryCursorResult {
|
1789
|
+
cursors: Cursors;
|
1790
|
+
hasNext: () => boolean;
|
1791
|
+
hasPrev: () => boolean;
|
1792
|
+
length: number;
|
1793
|
+
pageSize: number;
|
1794
|
+
}
|
1795
|
+
interface MemberAboutsQueryResult extends QueryCursorResult {
|
1796
|
+
items: MemberAbout[];
|
1797
|
+
query: MemberAboutsQueryBuilder;
|
1798
|
+
next: () => Promise<MemberAboutsQueryResult>;
|
1799
|
+
prev: () => Promise<MemberAboutsQueryResult>;
|
1800
|
+
}
|
1801
|
+
interface MemberAboutsQueryBuilder {
|
1802
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
1803
|
+
* @param value - Value to compare against.
|
1804
|
+
* @documentationMaturity preview
|
1805
|
+
*/
|
1806
|
+
eq: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
1807
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
1808
|
+
* @param value - Value to compare against.
|
1809
|
+
* @documentationMaturity preview
|
1810
|
+
*/
|
1811
|
+
ne: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
1812
|
+
/** @param propertyName - Property whose value is compared with `string`.
|
1813
|
+
* @param string - String to compare against. Case-insensitive.
|
1814
|
+
* @documentationMaturity preview
|
1815
|
+
*/
|
1816
|
+
startsWith: (propertyName: '_id' | 'memberId', value: string) => MemberAboutsQueryBuilder;
|
1817
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
1818
|
+
* @param values - List of values to compare against.
|
1819
|
+
* @documentationMaturity preview
|
1820
|
+
*/
|
1821
|
+
hasSome: (propertyName: '_id' | 'memberId', value: any[]) => MemberAboutsQueryBuilder;
|
1822
|
+
/** @documentationMaturity preview */
|
1823
|
+
in: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
1824
|
+
/** @documentationMaturity preview */
|
1825
|
+
exists: (propertyName: '_id' | 'memberId', value: boolean) => MemberAboutsQueryBuilder;
|
1826
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
1827
|
+
* @documentationMaturity preview
|
1828
|
+
*/
|
1829
|
+
limit: (limit: number) => MemberAboutsQueryBuilder;
|
1830
|
+
/** @param cursor - A pointer to specific record
|
1831
|
+
* @documentationMaturity preview
|
1832
|
+
*/
|
1833
|
+
skipTo: (cursor: string) => MemberAboutsQueryBuilder;
|
1834
|
+
/** @documentationMaturity preview */
|
1835
|
+
find: () => Promise<MemberAboutsQueryResult>;
|
1836
|
+
}
|
1837
|
+
|
1838
|
+
export { type TextStyle as $, Alignment as A, BackgroundType as B, Crop as C, DecorationType as D, type PluginContainerDataWidth as E, FontType as F, type GetMyMemberAboutResponse as G, type PluginContainerDataWidthDataOneOf as H, InitialExpandedItems as I, type Spoiler as J, type Height as K, LineStyle as L, type MemberAbout as M, NodeType as N, Orientation as O, PluginContainerDataAlignment as P, type Styles as Q, type RichContent as R, Source as S, Type as T, type UpdateMemberAbout as U, ViewMode as V, WidthType as W, type Link as X, type LinkDataOneOf as Y, type Rel as Z, type CodeBlockData as _, type MemberAboutsQueryBuilder as a, type CellStyle as a$, type DividerData as a0, type FileData as a1, type FileSource as a2, type FileSourceDataOneOf as a3, type PDFSettings as a4, type GalleryData as a5, type Media as a6, type Image as a7, type Video as a8, type Item as a9, type BackgroundBackgroundOneOf as aA, type PollDesign as aB, type OptionDesign as aC, type Poll as aD, type PollDataLayout as aE, type Design as aF, type TextData as aG, type Decoration as aH, type DecorationDataOneOf as aI, type AnchorData as aJ, type ColorData as aK, type LinkData as aL, type MentionData as aM, type FontSizeData as aN, type SpoilerData as aO, type AppEmbedData as aP, type AppEmbedDataAppDataOneOf as aQ, type BookingData as aR, type EventData as aS, type VideoData as aT, type PlaybackOptions as aU, type EmbedData as aV, type Oembed as aW, type CollapsibleListData as aX, type TableData as aY, type Dimensions as aZ, type TableCellData as a_, type ItemDataOneOf as aa, type GalleryOptions as ab, type Layout as ac, type ItemStyle as ad, type Thumbnails as ae, type GIFData as af, type GIF as ag, type HeadingData as ah, type HTMLData as ai, type HTMLDataDataOneOf as aj, type ImageData as ak, type StylesBorder as al, type ImageDataStyles as am, type LinkPreviewData as an, type LinkPreviewDataStyles as ao, type MapData as ap, type MapSettings as aq, type ParagraphData as ar, type PollData as as, type Permissions as at, type Option as au, type Settings as av, type PollLayout as aw, type OptionLayout as ax, type Gradient as ay, type Background as az, Target as b, type BorderColors as b0, type ListValue as b1, type AudioData as b2, type OrderedListData as b3, type BulletedListData as b4, type BlockquoteData as b5, type CaptionData as b6, type LayoutCellData as b7, type Metadata as b8, type DocumentStyle as b9, type IdentificationData as bA, type IdentificationDataIdOneOf as bB, type BaseEventMetadata as bC, type EventMetadata as bD, type MemberAboutCreatedEnvelope as bE, type MemberAboutDeletedEnvelope as bF, type MemberAboutUpdatedEnvelope as bG, type MemberAboutsQueryResult as bH, type TextNodeStyle as ba, type CreateMemberAboutRequest as bb, type CreateMemberAboutResponse as bc, type UpdateMemberAboutRequest as bd, type UpdateMemberAboutResponse as be, type DeleteMemberAboutRequest as bf, type DeleteMemberAboutResponse as bg, type GetMemberAboutRequest as bh, type GetMemberAboutResponse as bi, type GetMyMemberAboutRequest as bj, type QueryMemberAboutsRequest as bk, type CursorQuery as bl, type CursorQueryPagingMethodOneOf as bm, type Sorting as bn, type CursorPaging as bo, type QueryMemberAboutsResponse as bp, type CursorPagingMetadata as bq, type Cursors as br, type DomainEvent as bs, type DomainEventBodyOneOf as bt, type EntityCreatedEvent as bu, type RestoreInfo as bv, type EntityUpdatedEvent as bw, type EntityDeletedEvent as bx, type ActionEvent as by, type MessageEnvelope as bz, TextAlignment as c, Width as d, LayoutType as e, ThumbnailsAlignment as f, GIFType as g, Position as h, MapType as i, ViewRole as j, VoteRole as k, PollLayoutType as l, PollLayoutDirection as m, AppType as n, Direction as o, VerticalAlignment as p, NullValue as q, SortOrder as r, WebhookIdentityType as s, type Node as t, type NodeDataOneOf as u, type NodeStyle as v, type ButtonData as w, type Border as x, type Colors as y, type PluginContainerData as z };
|