@wix/auto_sdk_members_members-about 1.0.12 → 1.0.14
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 +1188 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1124 -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 +1188 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1124 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/members-about-v2-member-about-members-about.universal-mKXwvq17.d.mts +1843 -0
- package/build/internal/members-about-v2-member-about-members-about.universal-mKXwvq17.d.ts +1843 -0
- package/build/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → internal/meta.d.mts} +174 -303
- package/build/{es/src/members-about-v2-member-about-members-about.types.d.ts → internal/meta.d.ts} +174 -303
- 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-mKXwvq17.d.mts +1843 -0
- package/build/members-about-v2-member-about-members-about.universal-mKXwvq17.d.ts +1843 -0
- package/build/{internal/cjs/src/members-about-v2-member-about-members-about.types.d.ts → meta.d.mts} +174 -303
- package/build/{internal/es/src/members-about-v2-member-about-members-about.types.d.ts → meta.d.ts} +174 -303
- 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/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → internal/meta.d.mts}
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-mKXwvq17.mjs';
|
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. */
|
@@ -1062,11 +1064,13 @@ export interface Decoration extends DecorationDataOneOf {
|
|
1062
1064
|
underlineData?: boolean | null;
|
1063
1065
|
/** Data for a spoiler decoration. */
|
1064
1066
|
spoilerData?: SpoilerData;
|
1067
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
1068
|
+
strikethroughData?: boolean | null;
|
1065
1069
|
/** The type of decoration to apply. */
|
1066
1070
|
type?: DecorationType;
|
1067
1071
|
}
|
1068
1072
|
/** @oneof */
|
1069
|
-
|
1073
|
+
interface DecorationDataOneOf {
|
1070
1074
|
/** Data for an anchor link decoration. */
|
1071
1075
|
anchorData?: AnchorData;
|
1072
1076
|
/** Data for a color decoration. */
|
@@ -1085,8 +1089,10 @@ export interface DecorationDataOneOf {
|
|
1085
1089
|
underlineData?: boolean | null;
|
1086
1090
|
/** Data for a spoiler decoration. */
|
1087
1091
|
spoilerData?: SpoilerData;
|
1092
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
1093
|
+
strikethroughData?: boolean | null;
|
1088
1094
|
}
|
1089
|
-
|
1095
|
+
declare enum DecorationType {
|
1090
1096
|
BOLD = "BOLD",
|
1091
1097
|
ITALIC = "ITALIC",
|
1092
1098
|
UNDERLINE = "UNDERLINE",
|
@@ -1096,23 +1102,24 @@ export declare enum DecorationType {
|
|
1096
1102
|
LINK = "LINK",
|
1097
1103
|
COLOR = "COLOR",
|
1098
1104
|
FONT_SIZE = "FONT_SIZE",
|
1099
|
-
EXTERNAL = "EXTERNAL"
|
1105
|
+
EXTERNAL = "EXTERNAL",
|
1106
|
+
STRIKETHROUGH = "STRIKETHROUGH"
|
1100
1107
|
}
|
1101
|
-
|
1108
|
+
interface AnchorData {
|
1102
1109
|
/** The target node's ID. */
|
1103
1110
|
anchor?: string;
|
1104
1111
|
}
|
1105
|
-
|
1112
|
+
interface ColorData {
|
1106
1113
|
/** The text's background color as a hexadecimal value. */
|
1107
1114
|
background?: string | null;
|
1108
1115
|
/** The text's foreground color as a hexadecimal value. */
|
1109
1116
|
foreground?: string | null;
|
1110
1117
|
}
|
1111
|
-
|
1118
|
+
interface LinkData {
|
1112
1119
|
/** Link details. */
|
1113
1120
|
link?: Link;
|
1114
1121
|
}
|
1115
|
-
|
1122
|
+
interface MentionData {
|
1116
1123
|
/** The mentioned user's name. */
|
1117
1124
|
name?: string;
|
1118
1125
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
@@ -1120,21 +1127,21 @@ export interface MentionData {
|
|
1120
1127
|
/** Mentioned user's ID. */
|
1121
1128
|
id?: string | null;
|
1122
1129
|
}
|
1123
|
-
|
1130
|
+
interface FontSizeData {
|
1124
1131
|
/** The units used for the font size. */
|
1125
1132
|
unit?: FontType;
|
1126
1133
|
/** Font size value. */
|
1127
1134
|
value?: number | null;
|
1128
1135
|
}
|
1129
|
-
|
1136
|
+
declare enum FontType {
|
1130
1137
|
PX = "PX",
|
1131
1138
|
EM = "EM"
|
1132
1139
|
}
|
1133
|
-
|
1140
|
+
interface SpoilerData {
|
1134
1141
|
/** Spoiler ID. */
|
1135
1142
|
id?: string | null;
|
1136
1143
|
}
|
1137
|
-
|
1144
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
1138
1145
|
/** Data for embedded Wix Bookings content. */
|
1139
1146
|
bookingData?: BookingData;
|
1140
1147
|
/** Data for embedded Wix Events content. */
|
@@ -1156,28 +1163,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1156
1163
|
image?: Media;
|
1157
1164
|
}
|
1158
1165
|
/** @oneof */
|
1159
|
-
|
1166
|
+
interface AppEmbedDataAppDataOneOf {
|
1160
1167
|
/** Data for embedded Wix Bookings content. */
|
1161
1168
|
bookingData?: BookingData;
|
1162
1169
|
/** Data for embedded Wix Events content. */
|
1163
1170
|
eventData?: EventData;
|
1164
1171
|
}
|
1165
|
-
|
1172
|
+
declare enum AppType {
|
1166
1173
|
PRODUCT = "PRODUCT",
|
1167
1174
|
EVENT = "EVENT",
|
1168
1175
|
BOOKING = "BOOKING"
|
1169
1176
|
}
|
1170
|
-
|
1177
|
+
interface BookingData {
|
1171
1178
|
/** Booking duration in minutes. */
|
1172
1179
|
durations?: string | null;
|
1173
1180
|
}
|
1174
|
-
|
1181
|
+
interface EventData {
|
1175
1182
|
/** Event schedule. */
|
1176
1183
|
scheduling?: string | null;
|
1177
1184
|
/** Event location. */
|
1178
1185
|
location?: string | null;
|
1179
1186
|
}
|
1180
|
-
|
1187
|
+
interface VideoData {
|
1181
1188
|
/** Styling for the video's container. */
|
1182
1189
|
containerData?: PluginContainerData;
|
1183
1190
|
/** Video details. */
|
@@ -1191,7 +1198,7 @@ export interface VideoData {
|
|
1191
1198
|
/** Video options. */
|
1192
1199
|
options?: PlaybackOptions;
|
1193
1200
|
}
|
1194
|
-
|
1201
|
+
interface PlaybackOptions {
|
1195
1202
|
/** Sets whether the media will automatically start playing. */
|
1196
1203
|
autoPlay?: boolean | null;
|
1197
1204
|
/** Sets whether media's will be looped. */
|
@@ -1199,7 +1206,7 @@ export interface PlaybackOptions {
|
|
1199
1206
|
/** Sets whether media's controls will be shown. */
|
1200
1207
|
showControls?: boolean | null;
|
1201
1208
|
}
|
1202
|
-
|
1209
|
+
interface EmbedData {
|
1203
1210
|
/** Styling for the oEmbed node's container. */
|
1204
1211
|
containerData?: PluginContainerData;
|
1205
1212
|
/** An [oEmbed](https://www.oembed.com) object. */
|
@@ -1207,7 +1214,7 @@ export interface EmbedData {
|
|
1207
1214
|
/** Origin asset source. */
|
1208
1215
|
src?: string | null;
|
1209
1216
|
}
|
1210
|
-
|
1217
|
+
interface Oembed {
|
1211
1218
|
/** The resource type. */
|
1212
1219
|
type?: string | null;
|
1213
1220
|
/** The width of the resource specified in the `url` property in pixels. */
|
@@ -1239,7 +1246,7 @@ export interface Oembed {
|
|
1239
1246
|
/** The oEmbed version number. This value must be `1.0`. */
|
1240
1247
|
version?: string | null;
|
1241
1248
|
}
|
1242
|
-
|
1249
|
+
interface CollapsibleListData {
|
1243
1250
|
/** Styling for the collapsible list's container. */
|
1244
1251
|
containerData?: PluginContainerData;
|
1245
1252
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
@@ -1251,7 +1258,7 @@ export interface CollapsibleListData {
|
|
1251
1258
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
1252
1259
|
isQapageData?: boolean | null;
|
1253
1260
|
}
|
1254
|
-
|
1261
|
+
declare enum InitialExpandedItems {
|
1255
1262
|
/** First item will be expended initally */
|
1256
1263
|
FIRST = "FIRST",
|
1257
1264
|
/** All items will expended initally */
|
@@ -1259,13 +1266,13 @@ export declare enum InitialExpandedItems {
|
|
1259
1266
|
/** All items collapsed initally */
|
1260
1267
|
NONE = "NONE"
|
1261
1268
|
}
|
1262
|
-
|
1269
|
+
declare enum Direction {
|
1263
1270
|
/** Left-to-right */
|
1264
1271
|
LTR = "LTR",
|
1265
1272
|
/** Right-to-left */
|
1266
1273
|
RTL = "RTL"
|
1267
1274
|
}
|
1268
|
-
|
1275
|
+
interface TableData {
|
1269
1276
|
/** Styling for the table's container. */
|
1270
1277
|
containerData?: PluginContainerData;
|
1271
1278
|
/** The table's dimensions. */
|
@@ -1280,7 +1287,7 @@ export interface TableData {
|
|
1280
1287
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
1281
1288
|
columnHeader?: boolean | null;
|
1282
1289
|
}
|
1283
|
-
|
1290
|
+
interface Dimensions {
|
1284
1291
|
/** An array representing relative width of each column in relation to the other columns. */
|
1285
1292
|
colsWidthRatio?: number[];
|
1286
1293
|
/** An array representing the height of each row in pixels. */
|
@@ -1288,13 +1295,13 @@ export interface Dimensions {
|
|
1288
1295
|
/** An array representing the minimum width of each column in pixels. */
|
1289
1296
|
colsMinWidth?: number[];
|
1290
1297
|
}
|
1291
|
-
|
1298
|
+
interface TableCellData {
|
1292
1299
|
/** Styling for the cell's background color and text alignment. */
|
1293
1300
|
cellStyle?: CellStyle;
|
1294
1301
|
/** The cell's border colors. */
|
1295
1302
|
borderColors?: BorderColors;
|
1296
1303
|
}
|
1297
|
-
|
1304
|
+
declare enum VerticalAlignment {
|
1298
1305
|
/** Top alignment */
|
1299
1306
|
TOP = "TOP",
|
1300
1307
|
/** Middle alignment */
|
@@ -1302,7 +1309,7 @@ export declare enum VerticalAlignment {
|
|
1302
1309
|
/** Bottom alignment */
|
1303
1310
|
BOTTOM = "BOTTOM"
|
1304
1311
|
}
|
1305
|
-
|
1312
|
+
interface CellStyle {
|
1306
1313
|
/** Vertical alignment for the cell's text. */
|
1307
1314
|
verticalAlignment?: VerticalAlignment;
|
1308
1315
|
/**
|
@@ -1311,7 +1318,7 @@ export interface CellStyle {
|
|
1311
1318
|
*/
|
1312
1319
|
backgroundColor?: string | null;
|
1313
1320
|
}
|
1314
|
-
|
1321
|
+
interface BorderColors {
|
1315
1322
|
/**
|
1316
1323
|
* Left border color as a hexadecimal value.
|
1317
1324
|
* @format COLOR_HEX
|
@@ -1333,26 +1340,7 @@ export interface BorderColors {
|
|
1333
1340
|
*/
|
1334
1341
|
bottom?: string | null;
|
1335
1342
|
}
|
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 {
|
1343
|
+
interface AudioData {
|
1356
1344
|
/** Styling for the audio node's container. */
|
1357
1345
|
containerData?: PluginContainerData;
|
1358
1346
|
/** Audio file details. */
|
@@ -1368,7 +1356,7 @@ export interface AudioData {
|
|
1368
1356
|
/** An HTML version of the audio node. */
|
1369
1357
|
html?: string | null;
|
1370
1358
|
}
|
1371
|
-
|
1359
|
+
interface OrderedListData {
|
1372
1360
|
/** Indentation level from 0-4. */
|
1373
1361
|
indentation?: number;
|
1374
1362
|
/** Offset level from 0-4. */
|
@@ -1376,24 +1364,24 @@ export interface OrderedListData {
|
|
1376
1364
|
/** List start number. */
|
1377
1365
|
start?: number | null;
|
1378
1366
|
}
|
1379
|
-
|
1367
|
+
interface BulletedListData {
|
1380
1368
|
/** Indentation level from 0-4. */
|
1381
1369
|
indentation?: number;
|
1382
1370
|
/** Offset level from 0-4. */
|
1383
1371
|
offset?: number | null;
|
1384
1372
|
}
|
1385
|
-
|
1373
|
+
interface BlockquoteData {
|
1386
1374
|
/** Indentation level from 1-4. */
|
1387
1375
|
indentation?: number;
|
1388
1376
|
}
|
1389
|
-
|
1377
|
+
interface CaptionData {
|
1390
1378
|
textStyle?: TextStyle;
|
1391
1379
|
}
|
1392
|
-
|
1380
|
+
interface LayoutCellData {
|
1393
1381
|
/** Size of the cell in 12 columns grid. */
|
1394
1382
|
colSpan?: number | null;
|
1395
1383
|
}
|
1396
|
-
|
1384
|
+
interface Metadata {
|
1397
1385
|
/** Schema version. */
|
1398
1386
|
version?: number;
|
1399
1387
|
/**
|
@@ -1410,7 +1398,7 @@ export interface Metadata {
|
|
1410
1398
|
/** Object ID. */
|
1411
1399
|
id?: string | null;
|
1412
1400
|
}
|
1413
|
-
|
1401
|
+
interface DocumentStyle {
|
1414
1402
|
/** Styling for H1 nodes. */
|
1415
1403
|
headerOne?: TextNodeStyle;
|
1416
1404
|
/** Styling for H2 nodes. */
|
@@ -1430,7 +1418,7 @@ export interface DocumentStyle {
|
|
1430
1418
|
/** Styling for code block nodes. */
|
1431
1419
|
codeBlock?: TextNodeStyle;
|
1432
1420
|
}
|
1433
|
-
|
1421
|
+
interface TextNodeStyle {
|
1434
1422
|
/** The decorations to apply to the node. */
|
1435
1423
|
decorations?: Decoration[];
|
1436
1424
|
/** Padding and background color for the node. */
|
@@ -1438,53 +1426,53 @@ export interface TextNodeStyle {
|
|
1438
1426
|
/** Line height for text in the node. */
|
1439
1427
|
lineHeight?: string | null;
|
1440
1428
|
}
|
1441
|
-
|
1429
|
+
interface CreateMemberAboutRequest {
|
1442
1430
|
/** The "About" section content to create. */
|
1443
1431
|
memberAbout: MemberAbout;
|
1444
1432
|
}
|
1445
|
-
|
1433
|
+
interface CreateMemberAboutResponse {
|
1446
1434
|
/** The created "About" section content. */
|
1447
1435
|
memberAbout?: MemberAbout;
|
1448
1436
|
}
|
1449
|
-
|
1437
|
+
interface UpdateMemberAboutRequest {
|
1450
1438
|
/** The "About" section content to update. */
|
1451
1439
|
memberAbout: MemberAbout;
|
1452
1440
|
}
|
1453
|
-
|
1441
|
+
interface UpdateMemberAboutResponse {
|
1454
1442
|
/** The updated "About" section content. */
|
1455
1443
|
memberAbout?: MemberAbout;
|
1456
1444
|
}
|
1457
|
-
|
1445
|
+
interface DeleteMemberAboutRequest {
|
1458
1446
|
/**
|
1459
1447
|
* ID of the "About" section content to delete.
|
1460
1448
|
* @format GUID
|
1461
1449
|
*/
|
1462
1450
|
id: string;
|
1463
1451
|
}
|
1464
|
-
|
1452
|
+
interface DeleteMemberAboutResponse {
|
1465
1453
|
}
|
1466
|
-
|
1454
|
+
interface GetMemberAboutRequest {
|
1467
1455
|
/**
|
1468
1456
|
* ID of the "About" section content to retrieve.
|
1469
1457
|
* @format GUID
|
1470
1458
|
*/
|
1471
1459
|
id: string;
|
1472
1460
|
}
|
1473
|
-
|
1461
|
+
interface GetMemberAboutResponse {
|
1474
1462
|
/** The retrieved "About" section content. */
|
1475
1463
|
memberAbout?: MemberAbout;
|
1476
1464
|
}
|
1477
|
-
|
1465
|
+
interface GetMyMemberAboutRequest {
|
1478
1466
|
}
|
1479
|
-
|
1467
|
+
interface GetMyMemberAboutResponse {
|
1480
1468
|
/** The "About" section content of the current member. */
|
1481
1469
|
memberAbout?: MemberAbout;
|
1482
1470
|
}
|
1483
|
-
|
1471
|
+
interface QueryMemberAboutsRequest {
|
1484
1472
|
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */
|
1485
1473
|
query?: CursorQuery;
|
1486
1474
|
}
|
1487
|
-
|
1475
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
1488
1476
|
/** 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
1477
|
cursorPaging?: CursorPaging;
|
1490
1478
|
/**
|
@@ -1503,23 +1491,23 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1503
1491
|
sort?: Sorting[];
|
1504
1492
|
}
|
1505
1493
|
/** @oneof */
|
1506
|
-
|
1494
|
+
interface CursorQueryPagingMethodOneOf {
|
1507
1495
|
/** 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
1496
|
cursorPaging?: CursorPaging;
|
1509
1497
|
}
|
1510
|
-
|
1498
|
+
interface Sorting {
|
1511
1499
|
/** Name of the field to sort by. */
|
1512
1500
|
fieldName?: string;
|
1513
1501
|
/** Sort order. */
|
1514
1502
|
order?: SortOrder;
|
1515
1503
|
}
|
1516
|
-
|
1504
|
+
declare enum SortOrder {
|
1517
1505
|
/** Sort is in ascending order. */
|
1518
1506
|
ASC = "ASC",
|
1519
1507
|
/** Sort is in the descending order. */
|
1520
1508
|
DESC = "DESC"
|
1521
1509
|
}
|
1522
|
-
|
1510
|
+
interface CursorPaging {
|
1523
1511
|
/**
|
1524
1512
|
* Number of items to load.
|
1525
1513
|
* @max 100
|
@@ -1534,13 +1522,13 @@ export interface CursorPaging {
|
|
1534
1522
|
*/
|
1535
1523
|
cursor?: string | null;
|
1536
1524
|
}
|
1537
|
-
|
1525
|
+
interface QueryMemberAboutsResponse {
|
1538
1526
|
/** The retrieved content from the "About" sections. */
|
1539
1527
|
memberAbouts?: MemberAbout[];
|
1540
1528
|
/** Metadata for the paginated results. */
|
1541
1529
|
metadata?: CursorPagingMetadata;
|
1542
1530
|
}
|
1543
|
-
|
1531
|
+
interface CursorPagingMetadata {
|
1544
1532
|
/** Number of items returned in current page. */
|
1545
1533
|
count?: number | null;
|
1546
1534
|
/** Cursor strings that point to the next page, previous page, or both. */
|
@@ -1553,7 +1541,7 @@ export interface CursorPagingMetadata {
|
|
1553
1541
|
*/
|
1554
1542
|
hasNext?: boolean | null;
|
1555
1543
|
}
|
1556
|
-
|
1544
|
+
interface Cursors {
|
1557
1545
|
/**
|
1558
1546
|
* Cursor string pointing to the next page in the list of results.
|
1559
1547
|
* @maxLength 16000
|
@@ -1565,145 +1553,28 @@ export interface Cursors {
|
|
1565
1553
|
*/
|
1566
1554
|
prev?: string | null;
|
1567
1555
|
}
|
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
|
-
}
|
1556
|
+
|
1557
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
1558
|
+
getUrl: (context: any) => string;
|
1559
|
+
httpMethod: K;
|
1560
|
+
path: string;
|
1561
|
+
pathParams: M;
|
1562
|
+
__requestType: T;
|
1563
|
+
__originalRequestType: S;
|
1564
|
+
__responseType: Q;
|
1565
|
+
__originalResponseType: R;
|
1566
|
+
};
|
1567
|
+
declare function createMemberAbout(): __PublicMethodMetaInfo<'POST', {}, CreateMemberAboutRequest$1, CreateMemberAboutRequest, CreateMemberAboutResponse$1, CreateMemberAboutResponse>;
|
1568
|
+
declare function updateMemberAbout(): __PublicMethodMetaInfo<'PATCH', {
|
1569
|
+
memberAboutId: string;
|
1570
|
+
}, UpdateMemberAboutRequest$1, UpdateMemberAboutRequest, UpdateMemberAboutResponse$1, UpdateMemberAboutResponse>;
|
1571
|
+
declare function deleteMemberAbout(): __PublicMethodMetaInfo<'DELETE', {
|
1572
|
+
id: string;
|
1573
|
+
}, DeleteMemberAboutRequest$1, DeleteMemberAboutRequest, DeleteMemberAboutResponse$1, DeleteMemberAboutResponse>;
|
1574
|
+
declare function getMemberAbout(): __PublicMethodMetaInfo<'GET', {
|
1575
|
+
id: string;
|
1576
|
+
}, GetMemberAboutRequest$1, GetMemberAboutRequest, GetMemberAboutResponse$1, GetMemberAboutResponse>;
|
1577
|
+
declare function getMyMemberAbout(): __PublicMethodMetaInfo<'GET', {}, GetMyMemberAboutRequest$1, GetMyMemberAboutRequest, GetMyMemberAboutResponse$1, GetMyMemberAboutResponse>;
|
1578
|
+
declare function queryMemberAbouts(): __PublicMethodMetaInfo<'POST', {}, QueryMemberAboutsRequest$1, QueryMemberAboutsRequest, QueryMemberAboutsResponse$1, QueryMemberAboutsResponse>;
|
1579
|
+
|
1580
|
+
export { type __PublicMethodMetaInfo, createMemberAbout, deleteMemberAbout, getMemberAbout, getMyMemberAbout, queryMemberAbouts, updateMemberAbout };
|