@wix/auto_sdk_members_members-about 1.0.12 → 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/internal/members-about-v2-member-about-members-about.universal-DfzmZFBy.d.mts +1838 -0
- package/build/internal/members-about-v2-member-about-members-about.universal-DfzmZFBy.d.ts +1838 -0
- package/build/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → internal/meta.d.mts} +168 -302
- package/build/{es/src/members-about-v2-member-about-members-about.types.d.ts → internal/meta.d.ts} +168 -302
- 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/members-about-v2-member-about-members-about.universal-DfzmZFBy.d.mts +1838 -0
- package/build/members-about-v2-member-about-members-about.universal-DfzmZFBy.d.ts +1838 -0
- package/build/{internal/cjs/src/members-about-v2-member-about-members-about.types.d.ts → meta.d.mts} +168 -302
- package/build/{internal/es/src/members-about-v2-member-about-members-about.types.d.ts → meta.d.ts} +168 -302
- 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 -2027
- 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 -2027
- 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 -2027
- 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 -2027
- 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
package/build/{es/src/members-about-v2-member-about-members-about.types.d.ts → internal/meta.d.ts}
RENAMED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
import { bb as CreateMemberAboutRequest$1, bc as CreateMemberAboutResponse$1, bd as UpdateMemberAboutRequest$1, be as UpdateMemberAboutResponse$1, bf as DeleteMemberAboutRequest$1, bg as DeleteMemberAboutResponse$1, bh as GetMemberAboutRequest$1, bi as GetMemberAboutResponse$1, bj as GetMyMemberAboutRequest$1, G as GetMyMemberAboutResponse$1, bk as QueryMemberAboutsRequest$1, bp as QueryMemberAboutsResponse$1 } from './members-about-v2-member-about-members-about.universal-DfzmZFBy.js';
|
2
|
+
|
3
|
+
interface MemberAbout {
|
2
4
|
/**
|
3
5
|
* ID of the "About" section content.
|
4
6
|
* @format GUID
|
@@ -15,7 +17,7 @@ export interface MemberAbout {
|
|
15
17
|
/** <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
18
|
content?: RichContent;
|
17
19
|
}
|
18
|
-
|
20
|
+
interface RichContent {
|
19
21
|
/** Node objects representing a rich content document. */
|
20
22
|
nodes?: Node[];
|
21
23
|
/** Object metadata. */
|
@@ -23,7 +25,7 @@ export interface RichContent {
|
|
23
25
|
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
24
26
|
documentStyle?: DocumentStyle;
|
25
27
|
}
|
26
|
-
|
28
|
+
interface Node extends NodeDataOneOf {
|
27
29
|
/** Data for a button node. */
|
28
30
|
buttonData?: ButtonData;
|
29
31
|
/** Data for a code block node. */
|
@@ -88,7 +90,7 @@ export interface Node extends NodeDataOneOf {
|
|
88
90
|
style?: NodeStyle;
|
89
91
|
}
|
90
92
|
/** @oneof */
|
91
|
-
|
93
|
+
interface NodeDataOneOf {
|
92
94
|
/** Data for a button node. */
|
93
95
|
buttonData?: ButtonData;
|
94
96
|
/** Data for a code block node. */
|
@@ -144,7 +146,7 @@ export interface NodeDataOneOf {
|
|
144
146
|
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
145
147
|
layoutCellData?: LayoutCellData;
|
146
148
|
}
|
147
|
-
|
149
|
+
declare enum NodeType {
|
148
150
|
PARAGRAPH = "PARAGRAPH",
|
149
151
|
TEXT = "TEXT",
|
150
152
|
HEADING = "HEADING",
|
@@ -180,7 +182,7 @@ export declare enum NodeType {
|
|
180
182
|
LAYOUT = "LAYOUT",
|
181
183
|
LAYOUT_CELL = "LAYOUT_CELL"
|
182
184
|
}
|
183
|
-
|
185
|
+
interface NodeStyle {
|
184
186
|
/** The top padding value in pixels. */
|
185
187
|
paddingTop?: string | null;
|
186
188
|
/** The bottom padding value in pixels. */
|
@@ -188,7 +190,7 @@ export interface NodeStyle {
|
|
188
190
|
/** The background color as a hexadecimal value. */
|
189
191
|
backgroundColor?: string | null;
|
190
192
|
}
|
191
|
-
|
193
|
+
interface ButtonData {
|
192
194
|
/** Styling for the button's container. */
|
193
195
|
containerData?: PluginContainerData;
|
194
196
|
/** The button type. */
|
@@ -200,7 +202,7 @@ export interface ButtonData {
|
|
200
202
|
/** Button link details. */
|
201
203
|
link?: Link;
|
202
204
|
}
|
203
|
-
|
205
|
+
interface Border {
|
204
206
|
/**
|
205
207
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
206
208
|
* @deprecated
|
@@ -212,7 +214,7 @@ export interface Border {
|
|
212
214
|
*/
|
213
215
|
radius?: number | null;
|
214
216
|
}
|
215
|
-
|
217
|
+
interface Colors {
|
216
218
|
/**
|
217
219
|
* Deprecated: Use `textColor` in `styles` instead.
|
218
220
|
* @deprecated
|
@@ -229,7 +231,7 @@ export interface Colors {
|
|
229
231
|
*/
|
230
232
|
background?: string | null;
|
231
233
|
}
|
232
|
-
|
234
|
+
interface PluginContainerData {
|
233
235
|
/** The width of the node when it's displayed. */
|
234
236
|
width?: PluginContainerDataWidth;
|
235
237
|
/** The node's alignment within its container. */
|
@@ -241,7 +243,7 @@ export interface PluginContainerData {
|
|
241
243
|
/** 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
244
|
textWrap?: boolean | null;
|
243
245
|
}
|
244
|
-
|
246
|
+
declare enum WidthType {
|
245
247
|
/** Width matches the content width */
|
246
248
|
CONTENT = "CONTENT",
|
247
249
|
/** Small Width */
|
@@ -251,7 +253,7 @@ export declare enum WidthType {
|
|
251
253
|
/** coast-to-coast display */
|
252
254
|
FULL_WIDTH = "FULL_WIDTH"
|
253
255
|
}
|
254
|
-
|
256
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
255
257
|
/**
|
256
258
|
* One of the following predefined width options:
|
257
259
|
* `CONTENT`: The width of the container matches the content width.
|
@@ -264,7 +266,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
|
|
264
266
|
custom?: string | null;
|
265
267
|
}
|
266
268
|
/** @oneof */
|
267
|
-
|
269
|
+
interface PluginContainerDataWidthDataOneOf {
|
268
270
|
/**
|
269
271
|
* One of the following predefined width options:
|
270
272
|
* `CONTENT`: The width of the container matches the content width.
|
@@ -276,7 +278,7 @@ export interface PluginContainerDataWidthDataOneOf {
|
|
276
278
|
/** A custom width value in pixels. */
|
277
279
|
custom?: string | null;
|
278
280
|
}
|
279
|
-
|
281
|
+
declare enum PluginContainerDataAlignment {
|
280
282
|
/** Center Alignment */
|
281
283
|
CENTER = "CENTER",
|
282
284
|
/** Left Alignment */
|
@@ -284,7 +286,7 @@ export declare enum PluginContainerDataAlignment {
|
|
284
286
|
/** Right Alignment */
|
285
287
|
RIGHT = "RIGHT"
|
286
288
|
}
|
287
|
-
|
289
|
+
interface Spoiler {
|
288
290
|
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
289
291
|
enabled?: boolean | null;
|
290
292
|
/** The description displayed on top of the spoiler cover. */
|
@@ -292,17 +294,17 @@ export interface Spoiler {
|
|
292
294
|
/** The text for the button used to remove the spoiler cover. */
|
293
295
|
buttonText?: string | null;
|
294
296
|
}
|
295
|
-
|
297
|
+
interface Height {
|
296
298
|
/** A custom height value in pixels. */
|
297
299
|
custom?: string | null;
|
298
300
|
}
|
299
|
-
|
301
|
+
declare enum Type {
|
300
302
|
/** Regular link button */
|
301
303
|
LINK = "LINK",
|
302
304
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
303
305
|
ACTION = "ACTION"
|
304
306
|
}
|
305
|
-
|
307
|
+
interface Styles {
|
306
308
|
/**
|
307
309
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
308
310
|
* @deprecated
|
@@ -355,7 +357,7 @@ export interface Styles {
|
|
355
357
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
356
358
|
buttonSize?: string | null;
|
357
359
|
}
|
358
|
-
|
360
|
+
interface Link extends LinkDataOneOf {
|
359
361
|
/** The absolute URL for the linked document. */
|
360
362
|
url?: string;
|
361
363
|
/** The target node's ID. Used for linking to another node in this object. */
|
@@ -374,13 +376,13 @@ export interface Link extends LinkDataOneOf {
|
|
374
376
|
customData?: string | null;
|
375
377
|
}
|
376
378
|
/** @oneof */
|
377
|
-
|
379
|
+
interface LinkDataOneOf {
|
378
380
|
/** The absolute URL for the linked document. */
|
379
381
|
url?: string;
|
380
382
|
/** The target node's ID. Used for linking to another node in this object. */
|
381
383
|
anchor?: string;
|
382
384
|
}
|
383
|
-
|
385
|
+
declare enum Target {
|
384
386
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
385
387
|
SELF = "SELF",
|
386
388
|
/** Opens the linked document in a new window or tab */
|
@@ -390,7 +392,7 @@ export declare enum Target {
|
|
390
392
|
/** Opens the linked document in the full body of the window */
|
391
393
|
TOP = "TOP"
|
392
394
|
}
|
393
|
-
|
395
|
+
interface Rel {
|
394
396
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
395
397
|
nofollow?: boolean | null;
|
396
398
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
@@ -400,17 +402,17 @@ export interface Rel {
|
|
400
402
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
401
403
|
noreferrer?: boolean | null;
|
402
404
|
}
|
403
|
-
|
405
|
+
interface CodeBlockData {
|
404
406
|
/** Styling for the code block's text. */
|
405
407
|
textStyle?: TextStyle;
|
406
408
|
}
|
407
|
-
|
409
|
+
interface TextStyle {
|
408
410
|
/** Text alignment. Defaults to `AUTO`. */
|
409
411
|
textAlignment?: TextAlignment;
|
410
412
|
/** 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
413
|
lineHeight?: string | null;
|
412
414
|
}
|
413
|
-
|
415
|
+
declare enum TextAlignment {
|
414
416
|
/** browser default, eqivalent to `initial` */
|
415
417
|
AUTO = "AUTO",
|
416
418
|
/** Left align */
|
@@ -422,7 +424,7 @@ export declare enum TextAlignment {
|
|
422
424
|
/** 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
425
|
JUSTIFY = "JUSTIFY"
|
424
426
|
}
|
425
|
-
|
427
|
+
interface DividerData {
|
426
428
|
/** Styling for the divider's container. */
|
427
429
|
containerData?: PluginContainerData;
|
428
430
|
/** Divider line style. */
|
@@ -432,7 +434,7 @@ export interface DividerData {
|
|
432
434
|
/** Divider alignment. */
|
433
435
|
alignment?: Alignment;
|
434
436
|
}
|
435
|
-
|
437
|
+
declare enum LineStyle {
|
436
438
|
/** Single Line */
|
437
439
|
SINGLE = "SINGLE",
|
438
440
|
/** Double Line */
|
@@ -442,7 +444,7 @@ export declare enum LineStyle {
|
|
442
444
|
/** Dotted Line */
|
443
445
|
DOTTED = "DOTTED"
|
444
446
|
}
|
445
|
-
|
447
|
+
declare enum Width {
|
446
448
|
/** Large line */
|
447
449
|
LARGE = "LARGE",
|
448
450
|
/** Medium line */
|
@@ -450,7 +452,7 @@ export declare enum Width {
|
|
450
452
|
/** Small line */
|
451
453
|
SMALL = "SMALL"
|
452
454
|
}
|
453
|
-
|
455
|
+
declare enum Alignment {
|
454
456
|
/** Center alignment */
|
455
457
|
CENTER = "CENTER",
|
456
458
|
/** Left alignment */
|
@@ -458,7 +460,7 @@ export declare enum Alignment {
|
|
458
460
|
/** Right alignment */
|
459
461
|
RIGHT = "RIGHT"
|
460
462
|
}
|
461
|
-
|
463
|
+
interface FileData {
|
462
464
|
/** Styling for the file's container. */
|
463
465
|
containerData?: PluginContainerData;
|
464
466
|
/** The source for the file's data. */
|
@@ -481,7 +483,7 @@ export interface FileData {
|
|
481
483
|
/** File size in KB. */
|
482
484
|
sizeInKb?: string | null;
|
483
485
|
}
|
484
|
-
|
486
|
+
declare enum ViewMode {
|
485
487
|
/** No PDF view */
|
486
488
|
NONE = "NONE",
|
487
489
|
/** Full PDF view */
|
@@ -489,7 +491,7 @@ export declare enum ViewMode {
|
|
489
491
|
/** Mini PDF view */
|
490
492
|
MINI = "MINI"
|
491
493
|
}
|
492
|
-
|
494
|
+
interface FileSource extends FileSourceDataOneOf {
|
493
495
|
/** The absolute URL for the file's source. */
|
494
496
|
url?: string | null;
|
495
497
|
/**
|
@@ -503,7 +505,7 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
503
505
|
private?: boolean | null;
|
504
506
|
}
|
505
507
|
/** @oneof */
|
506
|
-
|
508
|
+
interface FileSourceDataOneOf {
|
507
509
|
/** The absolute URL for the file's source. */
|
508
510
|
url?: string | null;
|
509
511
|
/**
|
@@ -514,7 +516,7 @@ export interface FileSourceDataOneOf {
|
|
514
516
|
/** An ID that's resolved to a URL by a resolver function. */
|
515
517
|
id?: string | null;
|
516
518
|
}
|
517
|
-
|
519
|
+
interface PDFSettings {
|
518
520
|
/**
|
519
521
|
* PDF view mode. One of the following:
|
520
522
|
* `NONE` : The PDF isn't displayed.
|
@@ -527,7 +529,7 @@ export interface PDFSettings {
|
|
527
529
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
528
530
|
disablePrint?: boolean | null;
|
529
531
|
}
|
530
|
-
|
532
|
+
interface GalleryData {
|
531
533
|
/** Styling for the gallery's container. */
|
532
534
|
containerData?: PluginContainerData;
|
533
535
|
/** The items in the gallery. */
|
@@ -539,7 +541,7 @@ export interface GalleryData {
|
|
539
541
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
540
542
|
disableDownload?: boolean | null;
|
541
543
|
}
|
542
|
-
|
544
|
+
interface Media {
|
543
545
|
/** The source for the media's data. */
|
544
546
|
src?: FileSource;
|
545
547
|
/** Media width in pixels. */
|
@@ -549,19 +551,19 @@ export interface Media {
|
|
549
551
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
550
552
|
duration?: number | null;
|
551
553
|
}
|
552
|
-
|
554
|
+
interface Image {
|
553
555
|
/** Image file details. */
|
554
556
|
media?: Media;
|
555
557
|
/** Link details for images that are links. */
|
556
558
|
link?: Link;
|
557
559
|
}
|
558
|
-
|
560
|
+
interface Video {
|
559
561
|
/** Video file details. */
|
560
562
|
media?: Media;
|
561
563
|
/** Video thumbnail file details. */
|
562
564
|
thumbnail?: Media;
|
563
565
|
}
|
564
|
-
|
566
|
+
interface Item extends ItemDataOneOf {
|
565
567
|
/** An image item. */
|
566
568
|
image?: Image;
|
567
569
|
/** A video item. */
|
@@ -572,13 +574,13 @@ export interface Item extends ItemDataOneOf {
|
|
572
574
|
altText?: string | null;
|
573
575
|
}
|
574
576
|
/** @oneof */
|
575
|
-
|
577
|
+
interface ItemDataOneOf {
|
576
578
|
/** An image item. */
|
577
579
|
image?: Image;
|
578
580
|
/** A video item. */
|
579
581
|
video?: Video;
|
580
582
|
}
|
581
|
-
|
583
|
+
interface GalleryOptions {
|
582
584
|
/** Gallery layout. */
|
583
585
|
layout?: Layout;
|
584
586
|
/** Styling for gallery items. */
|
@@ -586,7 +588,7 @@ export interface GalleryOptions {
|
|
586
588
|
/** Styling for gallery thumbnail images. */
|
587
589
|
thumbnails?: Thumbnails;
|
588
590
|
}
|
589
|
-
|
591
|
+
declare enum LayoutType {
|
590
592
|
/** Collage type */
|
591
593
|
COLLAGE = "COLLAGE",
|
592
594
|
/** Masonry type */
|
@@ -608,19 +610,19 @@ export declare enum LayoutType {
|
|
608
610
|
/** Fullsize images type */
|
609
611
|
FULLSIZE = "FULLSIZE"
|
610
612
|
}
|
611
|
-
|
613
|
+
declare enum Orientation {
|
612
614
|
/** Rows Orientation */
|
613
615
|
ROWS = "ROWS",
|
614
616
|
/** Columns Orientation */
|
615
617
|
COLUMNS = "COLUMNS"
|
616
618
|
}
|
617
|
-
|
619
|
+
declare enum Crop {
|
618
620
|
/** Crop to fill */
|
619
621
|
FILL = "FILL",
|
620
622
|
/** Crop to fit */
|
621
623
|
FIT = "FIT"
|
622
624
|
}
|
623
|
-
|
625
|
+
declare enum ThumbnailsAlignment {
|
624
626
|
/** Top alignment */
|
625
627
|
TOP = "TOP",
|
626
628
|
/** Right alignment */
|
@@ -632,7 +634,7 @@ export declare enum ThumbnailsAlignment {
|
|
632
634
|
/** No thumbnail */
|
633
635
|
NONE = "NONE"
|
634
636
|
}
|
635
|
-
|
637
|
+
interface Layout {
|
636
638
|
/** Gallery layout type. */
|
637
639
|
type?: LayoutType;
|
638
640
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
@@ -644,7 +646,7 @@ export interface Layout {
|
|
644
646
|
/** The number of columns to display on mobile screens. */
|
645
647
|
mobileNumberOfColumns?: number | null;
|
646
648
|
}
|
647
|
-
|
649
|
+
interface ItemStyle {
|
648
650
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
649
651
|
targetSize?: number | null;
|
650
652
|
/** Item ratio */
|
@@ -654,13 +656,13 @@ export interface ItemStyle {
|
|
654
656
|
/** The spacing between items in pixels. */
|
655
657
|
spacing?: number | null;
|
656
658
|
}
|
657
|
-
|
659
|
+
interface Thumbnails {
|
658
660
|
/** Thumbnail alignment. */
|
659
661
|
placement?: ThumbnailsAlignment;
|
660
662
|
/** Spacing between thumbnails in pixels. */
|
661
663
|
spacing?: number | null;
|
662
664
|
}
|
663
|
-
|
665
|
+
interface GIFData {
|
664
666
|
/** Styling for the GIF's container. */
|
665
667
|
containerData?: PluginContainerData;
|
666
668
|
/** The source of the full size GIF. */
|
@@ -674,7 +676,7 @@ export interface GIFData {
|
|
674
676
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
675
677
|
gifType?: GIFType;
|
676
678
|
}
|
677
|
-
|
679
|
+
interface GIF {
|
678
680
|
/**
|
679
681
|
* GIF format URL.
|
680
682
|
* @format WEB_URL
|
@@ -691,11 +693,11 @@ export interface GIF {
|
|
691
693
|
*/
|
692
694
|
still?: string | null;
|
693
695
|
}
|
694
|
-
|
696
|
+
declare enum GIFType {
|
695
697
|
NORMAL = "NORMAL",
|
696
698
|
STICKER = "STICKER"
|
697
699
|
}
|
698
|
-
|
700
|
+
interface HeadingData {
|
699
701
|
/** Heading level from 1-6. */
|
700
702
|
level?: number;
|
701
703
|
/** Styling for the heading text. */
|
@@ -703,7 +705,7 @@ export interface HeadingData {
|
|
703
705
|
/** Indentation level from 1-4. */
|
704
706
|
indentation?: number | null;
|
705
707
|
}
|
706
|
-
|
708
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
707
709
|
/** The URL for the HTML code for the node. */
|
708
710
|
url?: string;
|
709
711
|
/** The HTML code for the node. */
|
@@ -721,7 +723,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
721
723
|
autoHeight?: boolean | null;
|
722
724
|
}
|
723
725
|
/** @oneof */
|
724
|
-
|
726
|
+
interface HTMLDataDataOneOf {
|
725
727
|
/** The URL for the HTML code for the node. */
|
726
728
|
url?: string;
|
727
729
|
/** The HTML code for the node. */
|
@@ -732,11 +734,11 @@ export interface HTMLDataDataOneOf {
|
|
732
734
|
*/
|
733
735
|
isAdsense?: boolean | null;
|
734
736
|
}
|
735
|
-
|
737
|
+
declare enum Source {
|
736
738
|
HTML = "HTML",
|
737
739
|
ADSENSE = "ADSENSE"
|
738
740
|
}
|
739
|
-
|
741
|
+
interface ImageData {
|
740
742
|
/** Styling for the image's container. */
|
741
743
|
containerData?: PluginContainerData;
|
742
744
|
/** Image file details. */
|
@@ -759,7 +761,7 @@ export interface ImageData {
|
|
759
761
|
/** Styling for the image. */
|
760
762
|
styles?: ImageDataStyles;
|
761
763
|
}
|
762
|
-
|
764
|
+
interface StylesBorder {
|
763
765
|
/** Border width in pixels. */
|
764
766
|
width?: number | null;
|
765
767
|
/**
|
@@ -770,11 +772,11 @@ export interface StylesBorder {
|
|
770
772
|
/** Border radius in pixels. */
|
771
773
|
radius?: number | null;
|
772
774
|
}
|
773
|
-
|
775
|
+
interface ImageDataStyles {
|
774
776
|
/** Border attributes. */
|
775
777
|
border?: StylesBorder;
|
776
778
|
}
|
777
|
-
|
779
|
+
interface LinkPreviewData {
|
778
780
|
/** Styling for the link preview's container. */
|
779
781
|
containerData?: PluginContainerData;
|
780
782
|
/** Link details. */
|
@@ -790,7 +792,7 @@ export interface LinkPreviewData {
|
|
790
792
|
/** Styling for the link preview. */
|
791
793
|
styles?: LinkPreviewDataStyles;
|
792
794
|
}
|
793
|
-
|
795
|
+
declare enum Position {
|
794
796
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
795
797
|
START = "START",
|
796
798
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
@@ -800,7 +802,7 @@ export declare enum Position {
|
|
800
802
|
/** Thumbnail hidden and not displayed */
|
801
803
|
HIDDEN = "HIDDEN"
|
802
804
|
}
|
803
|
-
|
805
|
+
interface LinkPreviewDataStyles {
|
804
806
|
/**
|
805
807
|
* Background color as a hexadecimal value.
|
806
808
|
* @format COLOR_HEX
|
@@ -833,13 +835,13 @@ export interface LinkPreviewDataStyles {
|
|
833
835
|
/** Position of thumbnail. Defaults to `START`. */
|
834
836
|
thumbnailPosition?: Position;
|
835
837
|
}
|
836
|
-
|
838
|
+
interface MapData {
|
837
839
|
/** Styling for the map's container. */
|
838
840
|
containerData?: PluginContainerData;
|
839
841
|
/** Map settings. */
|
840
842
|
mapSettings?: MapSettings;
|
841
843
|
}
|
842
|
-
|
844
|
+
interface MapSettings {
|
843
845
|
/** The address to display on the map. */
|
844
846
|
address?: string | null;
|
845
847
|
/** Sets whether the map is draggable. */
|
@@ -863,7 +865,7 @@ export interface MapSettings {
|
|
863
865
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
864
866
|
mapType?: MapType;
|
865
867
|
}
|
866
|
-
|
868
|
+
declare enum MapType {
|
867
869
|
/** Roadmap map type */
|
868
870
|
ROADMAP = "ROADMAP",
|
869
871
|
/** Satellite map type */
|
@@ -873,7 +875,7 @@ export declare enum MapType {
|
|
873
875
|
/** Terrain map type */
|
874
876
|
TERRAIN = "TERRAIN"
|
875
877
|
}
|
876
|
-
|
878
|
+
interface ParagraphData {
|
877
879
|
/** Styling for the paragraph text. */
|
878
880
|
textStyle?: TextStyle;
|
879
881
|
/** Indentation level from 1-4. */
|
@@ -881,7 +883,7 @@ export interface ParagraphData {
|
|
881
883
|
/** Paragraph level */
|
882
884
|
level?: number | null;
|
883
885
|
}
|
884
|
-
|
886
|
+
interface PollData {
|
885
887
|
/** Styling for the poll's container. */
|
886
888
|
containerData?: PluginContainerData;
|
887
889
|
/** Poll data. */
|
@@ -891,7 +893,7 @@ export interface PollData {
|
|
891
893
|
/** Styling for the poll and voting options. */
|
892
894
|
design?: Design;
|
893
895
|
}
|
894
|
-
|
896
|
+
declare enum ViewRole {
|
895
897
|
/** Only Poll creator can view the results */
|
896
898
|
CREATOR = "CREATOR",
|
897
899
|
/** Anyone who voted can see the results */
|
@@ -899,13 +901,13 @@ export declare enum ViewRole {
|
|
899
901
|
/** Anyone can see the results, even if one didn't vote */
|
900
902
|
EVERYONE = "EVERYONE"
|
901
903
|
}
|
902
|
-
|
904
|
+
declare enum VoteRole {
|
903
905
|
/** Logged in member */
|
904
906
|
SITE_MEMBERS = "SITE_MEMBERS",
|
905
907
|
/** Anyone */
|
906
908
|
ALL = "ALL"
|
907
909
|
}
|
908
|
-
|
910
|
+
interface Permissions {
|
909
911
|
/** Sets who can view the poll results. */
|
910
912
|
view?: ViewRole;
|
911
913
|
/** Sets who can vote. */
|
@@ -913,7 +915,7 @@ export interface Permissions {
|
|
913
915
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
914
916
|
allowMultipleVotes?: boolean | null;
|
915
917
|
}
|
916
|
-
|
918
|
+
interface Option {
|
917
919
|
/** Option ID. */
|
918
920
|
id?: string | null;
|
919
921
|
/** Option title. */
|
@@ -921,7 +923,7 @@ export interface Option {
|
|
921
923
|
/** The image displayed with the option. */
|
922
924
|
image?: Media;
|
923
925
|
}
|
924
|
-
|
926
|
+
interface Settings {
|
925
927
|
/** Permissions settings for voting. */
|
926
928
|
permissions?: Permissions;
|
927
929
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
@@ -929,19 +931,19 @@ export interface Settings {
|
|
929
931
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
930
932
|
showVotesCount?: boolean | null;
|
931
933
|
}
|
932
|
-
|
934
|
+
declare enum PollLayoutType {
|
933
935
|
/** List */
|
934
936
|
LIST = "LIST",
|
935
937
|
/** Grid */
|
936
938
|
GRID = "GRID"
|
937
939
|
}
|
938
|
-
|
940
|
+
declare enum PollLayoutDirection {
|
939
941
|
/** Left-to-right */
|
940
942
|
LTR = "LTR",
|
941
943
|
/** Right-to-left */
|
942
944
|
RTL = "RTL"
|
943
945
|
}
|
944
|
-
|
946
|
+
interface PollLayout {
|
945
947
|
/** The layout for displaying the voting options. */
|
946
948
|
type?: PollLayoutType;
|
947
949
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
@@ -949,11 +951,11 @@ export interface PollLayout {
|
|
949
951
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
950
952
|
enableImage?: boolean | null;
|
951
953
|
}
|
952
|
-
|
954
|
+
interface OptionLayout {
|
953
955
|
/** Sets whether to display option images. Defaults to `false`. */
|
954
956
|
enableImage?: boolean | null;
|
955
957
|
}
|
956
|
-
|
958
|
+
declare enum BackgroundType {
|
957
959
|
/** Color background type */
|
958
960
|
COLOR = "COLOR",
|
959
961
|
/** Image background type */
|
@@ -961,7 +963,7 @@ export declare enum BackgroundType {
|
|
961
963
|
/** Gradiant background type */
|
962
964
|
GRADIENT = "GRADIENT"
|
963
965
|
}
|
964
|
-
|
966
|
+
interface Gradient {
|
965
967
|
/** The gradient angle in degrees. */
|
966
968
|
angle?: number | null;
|
967
969
|
/**
|
@@ -975,7 +977,7 @@ export interface Gradient {
|
|
975
977
|
*/
|
976
978
|
lastColor?: string | null;
|
977
979
|
}
|
978
|
-
|
980
|
+
interface Background extends BackgroundBackgroundOneOf {
|
979
981
|
/**
|
980
982
|
* The background color as a hexademical value.
|
981
983
|
* @format COLOR_HEX
|
@@ -989,7 +991,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
989
991
|
type?: BackgroundType;
|
990
992
|
}
|
991
993
|
/** @oneof */
|
992
|
-
|
994
|
+
interface BackgroundBackgroundOneOf {
|
993
995
|
/**
|
994
996
|
* The background color as a hexademical value.
|
995
997
|
* @format COLOR_HEX
|
@@ -1000,17 +1002,17 @@ export interface BackgroundBackgroundOneOf {
|
|
1000
1002
|
/** Details for a gradient background. */
|
1001
1003
|
gradient?: Gradient;
|
1002
1004
|
}
|
1003
|
-
|
1005
|
+
interface PollDesign {
|
1004
1006
|
/** Background styling. */
|
1005
1007
|
background?: Background;
|
1006
1008
|
/** Border radius in pixels. */
|
1007
1009
|
borderRadius?: number | null;
|
1008
1010
|
}
|
1009
|
-
|
1011
|
+
interface OptionDesign {
|
1010
1012
|
/** Border radius in pixels. */
|
1011
1013
|
borderRadius?: number | null;
|
1012
1014
|
}
|
1013
|
-
|
1015
|
+
interface Poll {
|
1014
1016
|
/** Poll ID. */
|
1015
1017
|
id?: string | null;
|
1016
1018
|
/** Poll title. */
|
@@ -1024,26 +1026,26 @@ export interface Poll {
|
|
1024
1026
|
/** The poll's permissions and display settings. */
|
1025
1027
|
settings?: Settings;
|
1026
1028
|
}
|
1027
|
-
|
1029
|
+
interface PollDataLayout {
|
1028
1030
|
/** Poll layout settings. */
|
1029
1031
|
poll?: PollLayout;
|
1030
1032
|
/** Voting otpions layout settings. */
|
1031
1033
|
options?: OptionLayout;
|
1032
1034
|
}
|
1033
|
-
|
1035
|
+
interface Design {
|
1034
1036
|
/** Styling for the poll. */
|
1035
1037
|
poll?: PollDesign;
|
1036
1038
|
/** Styling for voting options. */
|
1037
1039
|
options?: OptionDesign;
|
1038
1040
|
}
|
1039
|
-
|
1041
|
+
interface TextData {
|
1040
1042
|
/** The text to apply decorations to. */
|
1041
1043
|
text?: string;
|
1042
1044
|
/** The decorations to apply. */
|
1043
1045
|
decorations?: Decoration[];
|
1044
1046
|
}
|
1045
1047
|
/** Adds appearence changes to text */
|
1046
|
-
|
1048
|
+
interface Decoration extends DecorationDataOneOf {
|
1047
1049
|
/** Data for an anchor link decoration. */
|
1048
1050
|
anchorData?: AnchorData;
|
1049
1051
|
/** Data for a color decoration. */
|
@@ -1066,7 +1068,7 @@ export interface Decoration extends DecorationDataOneOf {
|
|
1066
1068
|
type?: DecorationType;
|
1067
1069
|
}
|
1068
1070
|
/** @oneof */
|
1069
|
-
|
1071
|
+
interface DecorationDataOneOf {
|
1070
1072
|
/** Data for an anchor link decoration. */
|
1071
1073
|
anchorData?: AnchorData;
|
1072
1074
|
/** Data for a color decoration. */
|
@@ -1086,7 +1088,7 @@ export interface DecorationDataOneOf {
|
|
1086
1088
|
/** Data for a spoiler decoration. */
|
1087
1089
|
spoilerData?: SpoilerData;
|
1088
1090
|
}
|
1089
|
-
|
1091
|
+
declare enum DecorationType {
|
1090
1092
|
BOLD = "BOLD",
|
1091
1093
|
ITALIC = "ITALIC",
|
1092
1094
|
UNDERLINE = "UNDERLINE",
|
@@ -1098,21 +1100,21 @@ export declare enum DecorationType {
|
|
1098
1100
|
FONT_SIZE = "FONT_SIZE",
|
1099
1101
|
EXTERNAL = "EXTERNAL"
|
1100
1102
|
}
|
1101
|
-
|
1103
|
+
interface AnchorData {
|
1102
1104
|
/** The target node's ID. */
|
1103
1105
|
anchor?: string;
|
1104
1106
|
}
|
1105
|
-
|
1107
|
+
interface ColorData {
|
1106
1108
|
/** The text's background color as a hexadecimal value. */
|
1107
1109
|
background?: string | null;
|
1108
1110
|
/** The text's foreground color as a hexadecimal value. */
|
1109
1111
|
foreground?: string | null;
|
1110
1112
|
}
|
1111
|
-
|
1113
|
+
interface LinkData {
|
1112
1114
|
/** Link details. */
|
1113
1115
|
link?: Link;
|
1114
1116
|
}
|
1115
|
-
|
1117
|
+
interface MentionData {
|
1116
1118
|
/** The mentioned user's name. */
|
1117
1119
|
name?: string;
|
1118
1120
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
@@ -1120,21 +1122,21 @@ export interface MentionData {
|
|
1120
1122
|
/** Mentioned user's ID. */
|
1121
1123
|
id?: string | null;
|
1122
1124
|
}
|
1123
|
-
|
1125
|
+
interface FontSizeData {
|
1124
1126
|
/** The units used for the font size. */
|
1125
1127
|
unit?: FontType;
|
1126
1128
|
/** Font size value. */
|
1127
1129
|
value?: number | null;
|
1128
1130
|
}
|
1129
|
-
|
1131
|
+
declare enum FontType {
|
1130
1132
|
PX = "PX",
|
1131
1133
|
EM = "EM"
|
1132
1134
|
}
|
1133
|
-
|
1135
|
+
interface SpoilerData {
|
1134
1136
|
/** Spoiler ID. */
|
1135
1137
|
id?: string | null;
|
1136
1138
|
}
|
1137
|
-
|
1139
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
1138
1140
|
/** Data for embedded Wix Bookings content. */
|
1139
1141
|
bookingData?: BookingData;
|
1140
1142
|
/** Data for embedded Wix Events content. */
|
@@ -1156,28 +1158,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1156
1158
|
image?: Media;
|
1157
1159
|
}
|
1158
1160
|
/** @oneof */
|
1159
|
-
|
1161
|
+
interface AppEmbedDataAppDataOneOf {
|
1160
1162
|
/** Data for embedded Wix Bookings content. */
|
1161
1163
|
bookingData?: BookingData;
|
1162
1164
|
/** Data for embedded Wix Events content. */
|
1163
1165
|
eventData?: EventData;
|
1164
1166
|
}
|
1165
|
-
|
1167
|
+
declare enum AppType {
|
1166
1168
|
PRODUCT = "PRODUCT",
|
1167
1169
|
EVENT = "EVENT",
|
1168
1170
|
BOOKING = "BOOKING"
|
1169
1171
|
}
|
1170
|
-
|
1172
|
+
interface BookingData {
|
1171
1173
|
/** Booking duration in minutes. */
|
1172
1174
|
durations?: string | null;
|
1173
1175
|
}
|
1174
|
-
|
1176
|
+
interface EventData {
|
1175
1177
|
/** Event schedule. */
|
1176
1178
|
scheduling?: string | null;
|
1177
1179
|
/** Event location. */
|
1178
1180
|
location?: string | null;
|
1179
1181
|
}
|
1180
|
-
|
1182
|
+
interface VideoData {
|
1181
1183
|
/** Styling for the video's container. */
|
1182
1184
|
containerData?: PluginContainerData;
|
1183
1185
|
/** Video details. */
|
@@ -1191,7 +1193,7 @@ export interface VideoData {
|
|
1191
1193
|
/** Video options. */
|
1192
1194
|
options?: PlaybackOptions;
|
1193
1195
|
}
|
1194
|
-
|
1196
|
+
interface PlaybackOptions {
|
1195
1197
|
/** Sets whether the media will automatically start playing. */
|
1196
1198
|
autoPlay?: boolean | null;
|
1197
1199
|
/** Sets whether media's will be looped. */
|
@@ -1199,7 +1201,7 @@ export interface PlaybackOptions {
|
|
1199
1201
|
/** Sets whether media's controls will be shown. */
|
1200
1202
|
showControls?: boolean | null;
|
1201
1203
|
}
|
1202
|
-
|
1204
|
+
interface EmbedData {
|
1203
1205
|
/** Styling for the oEmbed node's container. */
|
1204
1206
|
containerData?: PluginContainerData;
|
1205
1207
|
/** An [oEmbed](https://www.oembed.com) object. */
|
@@ -1207,7 +1209,7 @@ export interface EmbedData {
|
|
1207
1209
|
/** Origin asset source. */
|
1208
1210
|
src?: string | null;
|
1209
1211
|
}
|
1210
|
-
|
1212
|
+
interface Oembed {
|
1211
1213
|
/** The resource type. */
|
1212
1214
|
type?: string | null;
|
1213
1215
|
/** The width of the resource specified in the `url` property in pixels. */
|
@@ -1239,7 +1241,7 @@ export interface Oembed {
|
|
1239
1241
|
/** The oEmbed version number. This value must be `1.0`. */
|
1240
1242
|
version?: string | null;
|
1241
1243
|
}
|
1242
|
-
|
1244
|
+
interface CollapsibleListData {
|
1243
1245
|
/** Styling for the collapsible list's container. */
|
1244
1246
|
containerData?: PluginContainerData;
|
1245
1247
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
@@ -1251,7 +1253,7 @@ export interface CollapsibleListData {
|
|
1251
1253
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
1252
1254
|
isQapageData?: boolean | null;
|
1253
1255
|
}
|
1254
|
-
|
1256
|
+
declare enum InitialExpandedItems {
|
1255
1257
|
/** First item will be expended initally */
|
1256
1258
|
FIRST = "FIRST",
|
1257
1259
|
/** All items will expended initally */
|
@@ -1259,13 +1261,13 @@ export declare enum InitialExpandedItems {
|
|
1259
1261
|
/** All items collapsed initally */
|
1260
1262
|
NONE = "NONE"
|
1261
1263
|
}
|
1262
|
-
|
1264
|
+
declare enum Direction {
|
1263
1265
|
/** Left-to-right */
|
1264
1266
|
LTR = "LTR",
|
1265
1267
|
/** Right-to-left */
|
1266
1268
|
RTL = "RTL"
|
1267
1269
|
}
|
1268
|
-
|
1270
|
+
interface TableData {
|
1269
1271
|
/** Styling for the table's container. */
|
1270
1272
|
containerData?: PluginContainerData;
|
1271
1273
|
/** The table's dimensions. */
|
@@ -1280,7 +1282,7 @@ export interface TableData {
|
|
1280
1282
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
1281
1283
|
columnHeader?: boolean | null;
|
1282
1284
|
}
|
1283
|
-
|
1285
|
+
interface Dimensions {
|
1284
1286
|
/** An array representing relative width of each column in relation to the other columns. */
|
1285
1287
|
colsWidthRatio?: number[];
|
1286
1288
|
/** An array representing the height of each row in pixels. */
|
@@ -1288,13 +1290,13 @@ export interface Dimensions {
|
|
1288
1290
|
/** An array representing the minimum width of each column in pixels. */
|
1289
1291
|
colsMinWidth?: number[];
|
1290
1292
|
}
|
1291
|
-
|
1293
|
+
interface TableCellData {
|
1292
1294
|
/** Styling for the cell's background color and text alignment. */
|
1293
1295
|
cellStyle?: CellStyle;
|
1294
1296
|
/** The cell's border colors. */
|
1295
1297
|
borderColors?: BorderColors;
|
1296
1298
|
}
|
1297
|
-
|
1299
|
+
declare enum VerticalAlignment {
|
1298
1300
|
/** Top alignment */
|
1299
1301
|
TOP = "TOP",
|
1300
1302
|
/** Middle alignment */
|
@@ -1302,7 +1304,7 @@ export declare enum VerticalAlignment {
|
|
1302
1304
|
/** Bottom alignment */
|
1303
1305
|
BOTTOM = "BOTTOM"
|
1304
1306
|
}
|
1305
|
-
|
1307
|
+
interface CellStyle {
|
1306
1308
|
/** Vertical alignment for the cell's text. */
|
1307
1309
|
verticalAlignment?: VerticalAlignment;
|
1308
1310
|
/**
|
@@ -1311,7 +1313,7 @@ export interface CellStyle {
|
|
1311
1313
|
*/
|
1312
1314
|
backgroundColor?: string | null;
|
1313
1315
|
}
|
1314
|
-
|
1316
|
+
interface BorderColors {
|
1315
1317
|
/**
|
1316
1318
|
* Left border color as a hexadecimal value.
|
1317
1319
|
* @format COLOR_HEX
|
@@ -1333,26 +1335,7 @@ export interface BorderColors {
|
|
1333
1335
|
*/
|
1334
1336
|
bottom?: string | null;
|
1335
1337
|
}
|
1336
|
-
|
1337
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
1338
|
-
* `Value` type union.
|
1339
|
-
*
|
1340
|
-
* The JSON representation for `NullValue` is JSON `null`.
|
1341
|
-
*/
|
1342
|
-
export declare enum NullValue {
|
1343
|
-
/** Null value. */
|
1344
|
-
NULL_VALUE = "NULL_VALUE"
|
1345
|
-
}
|
1346
|
-
/**
|
1347
|
-
* `ListValue` is a wrapper around a repeated field of values.
|
1348
|
-
*
|
1349
|
-
* The JSON representation for `ListValue` is JSON array.
|
1350
|
-
*/
|
1351
|
-
export interface ListValue {
|
1352
|
-
/** Repeated field of dynamically typed values. */
|
1353
|
-
values?: any[];
|
1354
|
-
}
|
1355
|
-
export interface AudioData {
|
1338
|
+
interface AudioData {
|
1356
1339
|
/** Styling for the audio node's container. */
|
1357
1340
|
containerData?: PluginContainerData;
|
1358
1341
|
/** Audio file details. */
|
@@ -1368,7 +1351,7 @@ export interface AudioData {
|
|
1368
1351
|
/** An HTML version of the audio node. */
|
1369
1352
|
html?: string | null;
|
1370
1353
|
}
|
1371
|
-
|
1354
|
+
interface OrderedListData {
|
1372
1355
|
/** Indentation level from 0-4. */
|
1373
1356
|
indentation?: number;
|
1374
1357
|
/** Offset level from 0-4. */
|
@@ -1376,24 +1359,24 @@ export interface OrderedListData {
|
|
1376
1359
|
/** List start number. */
|
1377
1360
|
start?: number | null;
|
1378
1361
|
}
|
1379
|
-
|
1362
|
+
interface BulletedListData {
|
1380
1363
|
/** Indentation level from 0-4. */
|
1381
1364
|
indentation?: number;
|
1382
1365
|
/** Offset level from 0-4. */
|
1383
1366
|
offset?: number | null;
|
1384
1367
|
}
|
1385
|
-
|
1368
|
+
interface BlockquoteData {
|
1386
1369
|
/** Indentation level from 1-4. */
|
1387
1370
|
indentation?: number;
|
1388
1371
|
}
|
1389
|
-
|
1372
|
+
interface CaptionData {
|
1390
1373
|
textStyle?: TextStyle;
|
1391
1374
|
}
|
1392
|
-
|
1375
|
+
interface LayoutCellData {
|
1393
1376
|
/** Size of the cell in 12 columns grid. */
|
1394
1377
|
colSpan?: number | null;
|
1395
1378
|
}
|
1396
|
-
|
1379
|
+
interface Metadata {
|
1397
1380
|
/** Schema version. */
|
1398
1381
|
version?: number;
|
1399
1382
|
/**
|
@@ -1410,7 +1393,7 @@ export interface Metadata {
|
|
1410
1393
|
/** Object ID. */
|
1411
1394
|
id?: string | null;
|
1412
1395
|
}
|
1413
|
-
|
1396
|
+
interface DocumentStyle {
|
1414
1397
|
/** Styling for H1 nodes. */
|
1415
1398
|
headerOne?: TextNodeStyle;
|
1416
1399
|
/** Styling for H2 nodes. */
|
@@ -1430,7 +1413,7 @@ export interface DocumentStyle {
|
|
1430
1413
|
/** Styling for code block nodes. */
|
1431
1414
|
codeBlock?: TextNodeStyle;
|
1432
1415
|
}
|
1433
|
-
|
1416
|
+
interface TextNodeStyle {
|
1434
1417
|
/** The decorations to apply to the node. */
|
1435
1418
|
decorations?: Decoration[];
|
1436
1419
|
/** Padding and background color for the node. */
|
@@ -1438,53 +1421,53 @@ export interface TextNodeStyle {
|
|
1438
1421
|
/** Line height for text in the node. */
|
1439
1422
|
lineHeight?: string | null;
|
1440
1423
|
}
|
1441
|
-
|
1424
|
+
interface CreateMemberAboutRequest {
|
1442
1425
|
/** The "About" section content to create. */
|
1443
1426
|
memberAbout: MemberAbout;
|
1444
1427
|
}
|
1445
|
-
|
1428
|
+
interface CreateMemberAboutResponse {
|
1446
1429
|
/** The created "About" section content. */
|
1447
1430
|
memberAbout?: MemberAbout;
|
1448
1431
|
}
|
1449
|
-
|
1432
|
+
interface UpdateMemberAboutRequest {
|
1450
1433
|
/** The "About" section content to update. */
|
1451
1434
|
memberAbout: MemberAbout;
|
1452
1435
|
}
|
1453
|
-
|
1436
|
+
interface UpdateMemberAboutResponse {
|
1454
1437
|
/** The updated "About" section content. */
|
1455
1438
|
memberAbout?: MemberAbout;
|
1456
1439
|
}
|
1457
|
-
|
1440
|
+
interface DeleteMemberAboutRequest {
|
1458
1441
|
/**
|
1459
1442
|
* ID of the "About" section content to delete.
|
1460
1443
|
* @format GUID
|
1461
1444
|
*/
|
1462
1445
|
id: string;
|
1463
1446
|
}
|
1464
|
-
|
1447
|
+
interface DeleteMemberAboutResponse {
|
1465
1448
|
}
|
1466
|
-
|
1449
|
+
interface GetMemberAboutRequest {
|
1467
1450
|
/**
|
1468
1451
|
* ID of the "About" section content to retrieve.
|
1469
1452
|
* @format GUID
|
1470
1453
|
*/
|
1471
1454
|
id: string;
|
1472
1455
|
}
|
1473
|
-
|
1456
|
+
interface GetMemberAboutResponse {
|
1474
1457
|
/** The retrieved "About" section content. */
|
1475
1458
|
memberAbout?: MemberAbout;
|
1476
1459
|
}
|
1477
|
-
|
1460
|
+
interface GetMyMemberAboutRequest {
|
1478
1461
|
}
|
1479
|
-
|
1462
|
+
interface GetMyMemberAboutResponse {
|
1480
1463
|
/** The "About" section content of the current member. */
|
1481
1464
|
memberAbout?: MemberAbout;
|
1482
1465
|
}
|
1483
|
-
|
1466
|
+
interface QueryMemberAboutsRequest {
|
1484
1467
|
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */
|
1485
1468
|
query?: CursorQuery;
|
1486
1469
|
}
|
1487
|
-
|
1470
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
1488
1471
|
/** 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
1472
|
cursorPaging?: CursorPaging;
|
1490
1473
|
/**
|
@@ -1503,23 +1486,23 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1503
1486
|
sort?: Sorting[];
|
1504
1487
|
}
|
1505
1488
|
/** @oneof */
|
1506
|
-
|
1489
|
+
interface CursorQueryPagingMethodOneOf {
|
1507
1490
|
/** 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
1491
|
cursorPaging?: CursorPaging;
|
1509
1492
|
}
|
1510
|
-
|
1493
|
+
interface Sorting {
|
1511
1494
|
/** Name of the field to sort by. */
|
1512
1495
|
fieldName?: string;
|
1513
1496
|
/** Sort order. */
|
1514
1497
|
order?: SortOrder;
|
1515
1498
|
}
|
1516
|
-
|
1499
|
+
declare enum SortOrder {
|
1517
1500
|
/** Sort is in ascending order. */
|
1518
1501
|
ASC = "ASC",
|
1519
1502
|
/** Sort is in the descending order. */
|
1520
1503
|
DESC = "DESC"
|
1521
1504
|
}
|
1522
|
-
|
1505
|
+
interface CursorPaging {
|
1523
1506
|
/**
|
1524
1507
|
* Number of items to load.
|
1525
1508
|
* @max 100
|
@@ -1534,13 +1517,13 @@ export interface CursorPaging {
|
|
1534
1517
|
*/
|
1535
1518
|
cursor?: string | null;
|
1536
1519
|
}
|
1537
|
-
|
1520
|
+
interface QueryMemberAboutsResponse {
|
1538
1521
|
/** The retrieved content from the "About" sections. */
|
1539
1522
|
memberAbouts?: MemberAbout[];
|
1540
1523
|
/** Metadata for the paginated results. */
|
1541
1524
|
metadata?: CursorPagingMetadata;
|
1542
1525
|
}
|
1543
|
-
|
1526
|
+
interface CursorPagingMetadata {
|
1544
1527
|
/** Number of items returned in current page. */
|
1545
1528
|
count?: number | null;
|
1546
1529
|
/** Cursor strings that point to the next page, previous page, or both. */
|
@@ -1553,7 +1536,7 @@ export interface CursorPagingMetadata {
|
|
1553
1536
|
*/
|
1554
1537
|
hasNext?: boolean | null;
|
1555
1538
|
}
|
1556
|
-
|
1539
|
+
interface Cursors {
|
1557
1540
|
/**
|
1558
1541
|
* Cursor string pointing to the next page in the list of results.
|
1559
1542
|
* @maxLength 16000
|
@@ -1565,145 +1548,28 @@ export interface Cursors {
|
|
1565
1548
|
*/
|
1566
1549
|
prev?: string | null;
|
1567
1550
|
}
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
/**
|
1594
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
1595
|
-
* (for example, GDPR).
|
1596
|
-
*/
|
1597
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
1598
|
-
/** If present, indicates the action that triggered the event. */
|
1599
|
-
originatedFrom?: string | null;
|
1600
|
-
/**
|
1601
|
-
* A sequence number defining the order of updates to the underlying entity.
|
1602
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
1603
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
1604
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
1605
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
1606
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
1607
|
-
*/
|
1608
|
-
entityEventSequence?: string | null;
|
1609
|
-
}
|
1610
|
-
/** @oneof */
|
1611
|
-
export interface DomainEventBodyOneOf {
|
1612
|
-
createdEvent?: EntityCreatedEvent;
|
1613
|
-
updatedEvent?: EntityUpdatedEvent;
|
1614
|
-
deletedEvent?: EntityDeletedEvent;
|
1615
|
-
actionEvent?: ActionEvent;
|
1616
|
-
}
|
1617
|
-
export interface EntityCreatedEvent {
|
1618
|
-
entityAsJson?: string;
|
1619
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
1620
|
-
restoreInfo?: RestoreInfo;
|
1621
|
-
}
|
1622
|
-
export interface RestoreInfo {
|
1623
|
-
deletedDate?: Date | null;
|
1624
|
-
}
|
1625
|
-
export interface EntityUpdatedEvent {
|
1626
|
-
/**
|
1627
|
-
* 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
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
1629
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
1630
|
-
*/
|
1631
|
-
currentEntityAsJson?: string;
|
1632
|
-
}
|
1633
|
-
export interface EntityDeletedEvent {
|
1634
|
-
/** Entity that was deleted */
|
1635
|
-
deletedEntityAsJson?: string | null;
|
1636
|
-
}
|
1637
|
-
export interface ActionEvent {
|
1638
|
-
bodyAsJson?: string;
|
1639
|
-
}
|
1640
|
-
export interface MessageEnvelope {
|
1641
|
-
/**
|
1642
|
-
* App instance ID.
|
1643
|
-
* @format GUID
|
1644
|
-
*/
|
1645
|
-
instanceId?: string | null;
|
1646
|
-
/**
|
1647
|
-
* Event type.
|
1648
|
-
* @maxLength 150
|
1649
|
-
*/
|
1650
|
-
eventType?: string;
|
1651
|
-
/** The identification type and identity data. */
|
1652
|
-
identity?: IdentificationData;
|
1653
|
-
/** Stringify payload. */
|
1654
|
-
data?: string;
|
1655
|
-
}
|
1656
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
1657
|
-
/**
|
1658
|
-
* ID of a site visitor that has not logged in to the site.
|
1659
|
-
* @format GUID
|
1660
|
-
*/
|
1661
|
-
anonymousVisitorId?: string;
|
1662
|
-
/**
|
1663
|
-
* ID of a site visitor that has logged in to the site.
|
1664
|
-
* @format GUID
|
1665
|
-
*/
|
1666
|
-
memberId?: string;
|
1667
|
-
/**
|
1668
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
1669
|
-
* @format GUID
|
1670
|
-
*/
|
1671
|
-
wixUserId?: string;
|
1672
|
-
/**
|
1673
|
-
* ID of an app.
|
1674
|
-
* @format GUID
|
1675
|
-
*/
|
1676
|
-
appId?: string;
|
1677
|
-
/** @readonly */
|
1678
|
-
identityType?: WebhookIdentityType;
|
1679
|
-
}
|
1680
|
-
/** @oneof */
|
1681
|
-
export interface IdentificationDataIdOneOf {
|
1682
|
-
/**
|
1683
|
-
* ID of a site visitor that has not logged in to the site.
|
1684
|
-
* @format GUID
|
1685
|
-
*/
|
1686
|
-
anonymousVisitorId?: string;
|
1687
|
-
/**
|
1688
|
-
* ID of a site visitor that has logged in to the site.
|
1689
|
-
* @format GUID
|
1690
|
-
*/
|
1691
|
-
memberId?: string;
|
1692
|
-
/**
|
1693
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
1694
|
-
* @format GUID
|
1695
|
-
*/
|
1696
|
-
wixUserId?: string;
|
1697
|
-
/**
|
1698
|
-
* ID of an app.
|
1699
|
-
* @format GUID
|
1700
|
-
*/
|
1701
|
-
appId?: string;
|
1702
|
-
}
|
1703
|
-
export declare enum WebhookIdentityType {
|
1704
|
-
UNKNOWN = "UNKNOWN",
|
1705
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
1706
|
-
MEMBER = "MEMBER",
|
1707
|
-
WIX_USER = "WIX_USER",
|
1708
|
-
APP = "APP"
|
1709
|
-
}
|
1551
|
+
|
1552
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
1553
|
+
getUrl: (context: any) => string;
|
1554
|
+
httpMethod: K;
|
1555
|
+
path: string;
|
1556
|
+
pathParams: M;
|
1557
|
+
__requestType: T;
|
1558
|
+
__originalRequestType: S;
|
1559
|
+
__responseType: Q;
|
1560
|
+
__originalResponseType: R;
|
1561
|
+
};
|
1562
|
+
declare function createMemberAbout(): __PublicMethodMetaInfo<'POST', {}, CreateMemberAboutRequest$1, CreateMemberAboutRequest, CreateMemberAboutResponse$1, CreateMemberAboutResponse>;
|
1563
|
+
declare function updateMemberAbout(): __PublicMethodMetaInfo<'PATCH', {
|
1564
|
+
memberAboutId: string;
|
1565
|
+
}, UpdateMemberAboutRequest$1, UpdateMemberAboutRequest, UpdateMemberAboutResponse$1, UpdateMemberAboutResponse>;
|
1566
|
+
declare function deleteMemberAbout(): __PublicMethodMetaInfo<'DELETE', {
|
1567
|
+
id: string;
|
1568
|
+
}, DeleteMemberAboutRequest$1, DeleteMemberAboutRequest, DeleteMemberAboutResponse$1, DeleteMemberAboutResponse>;
|
1569
|
+
declare function getMemberAbout(): __PublicMethodMetaInfo<'GET', {
|
1570
|
+
id: string;
|
1571
|
+
}, GetMemberAboutRequest$1, GetMemberAboutRequest, GetMemberAboutResponse$1, GetMemberAboutResponse>;
|
1572
|
+
declare function getMyMemberAbout(): __PublicMethodMetaInfo<'GET', {}, GetMyMemberAboutRequest$1, GetMyMemberAboutRequest, GetMyMemberAboutResponse$1, GetMyMemberAboutResponse>;
|
1573
|
+
declare function queryMemberAbouts(): __PublicMethodMetaInfo<'POST', {}, QueryMemberAboutsRequest$1, QueryMemberAboutsRequest, QueryMemberAboutsResponse$1, QueryMemberAboutsResponse>;
|
1574
|
+
|
1575
|
+
export { type __PublicMethodMetaInfo, createMemberAbout, deleteMemberAbout, getMemberAbout, getMyMemberAbout, queryMemberAbouts, updateMemberAbout };
|