@wix/auto_sdk_members_members-about 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +92 -1
- package/build/cjs/index.js +1201 -15
- package/build/cjs/index.js.map +1 -1
- package/build/{internal/cjs/src/members-about-v2-member-about-members-about.universal.d.ts → cjs/members-about-v2-member-about-members-about.universal-CG9SOYb1.d.ts} +206 -384
- package/build/cjs/meta.d.ts +1650 -1
- package/build/cjs/meta.js +621 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +92 -0
- package/build/es/index.mjs +1140 -0
- package/build/es/index.mjs.map +1 -0
- package/build/{cjs/src/members-about-v2-member-about-members-about.universal.d.ts → es/members-about-v2-member-about-members-about.universal-CG9SOYb1.d.mts} +206 -384
- package/build/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → es/meta.d.mts} +209 -329
- package/build/es/meta.mjs +592 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +92 -1
- package/build/internal/cjs/index.js +1201 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/{es/src/members-about-v2-member-about-members-about.universal.d.ts → cjs/members-about-v2-member-about-members-about.universal-CG9SOYb1.d.ts} +206 -384
- package/build/internal/cjs/meta.d.ts +1650 -1
- package/build/internal/cjs/meta.js +621 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +92 -0
- package/build/internal/es/index.mjs +1140 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/{es/src/members-about-v2-member-about-members-about.universal.d.ts → internal/es/members-about-v2-member-about-members-about.universal-CG9SOYb1.d.mts} +206 -384
- package/build/internal/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → es/meta.d.mts} +209 -329
- package/build/internal/es/meta.mjs +592 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +9 -8
- 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/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 -327
- 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.js +0 -634
- 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/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.d.ts +0 -1770
- package/build/es/src/members-about-v2-member-about-members-about.types.js +0 -324
- 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.js +0 -602
- package/build/es/src/members-about-v2-member-about-members-about.universal.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/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 -327
- 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.js +0 -634
- 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.d.ts +0 -1770
- package/build/internal/es/src/members-about-v2-member-about-members-about.types.js +0 -324
- 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.js +0 -602
- package/build/internal/es/src/members-about-v2-member-about-members-about.universal.js.map +0 -1
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
import { be as CreateMemberAboutRequest$1, bf as CreateMemberAboutResponse$1, bg as UpdateMemberAboutRequest$1, bh as UpdateMemberAboutResponse$1, bi as DeleteMemberAboutRequest$1, bj as DeleteMemberAboutResponse$1, bk as GetMemberAboutRequest$1, bl as GetMemberAboutResponse$1, bm as GetMyMemberAboutRequest$1, G as GetMyMemberAboutResponse$1, bn as QueryMemberAboutsRequest$1, bs as QueryMemberAboutsResponse$1 } from './members-about-v2-member-about-members-about.universal-CG9SOYb1.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",
|
@@ -181,8 +183,8 @@ export declare enum NodeType {
|
|
181
183
|
LAYOUT_CELL = "LAYOUT_CELL"
|
182
184
|
}
|
183
185
|
/** @enumType */
|
184
|
-
|
185
|
-
|
186
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
|
187
|
+
interface NodeStyle {
|
186
188
|
/** The top padding value in pixels. */
|
187
189
|
paddingTop?: string | null;
|
188
190
|
/** The bottom padding value in pixels. */
|
@@ -190,7 +192,7 @@ export interface NodeStyle {
|
|
190
192
|
/** The background color as a hexadecimal value. */
|
191
193
|
backgroundColor?: string | null;
|
192
194
|
}
|
193
|
-
|
195
|
+
interface ButtonData {
|
194
196
|
/** Styling for the button's container. */
|
195
197
|
containerData?: PluginContainerData;
|
196
198
|
/** The button type. */
|
@@ -202,7 +204,7 @@ export interface ButtonData {
|
|
202
204
|
/** Button link details. */
|
203
205
|
link?: Link;
|
204
206
|
}
|
205
|
-
|
207
|
+
interface Border {
|
206
208
|
/**
|
207
209
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
208
210
|
* @deprecated
|
@@ -214,7 +216,7 @@ export interface Border {
|
|
214
216
|
*/
|
215
217
|
radius?: number | null;
|
216
218
|
}
|
217
|
-
|
219
|
+
interface Colors {
|
218
220
|
/**
|
219
221
|
* Deprecated: Use `textColor` in `styles` instead.
|
220
222
|
* @deprecated
|
@@ -231,7 +233,7 @@ export interface Colors {
|
|
231
233
|
*/
|
232
234
|
background?: string | null;
|
233
235
|
}
|
234
|
-
|
236
|
+
interface PluginContainerData {
|
235
237
|
/** The width of the node when it's displayed. */
|
236
238
|
width?: PluginContainerDataWidth;
|
237
239
|
/** The node's alignment within its container. */
|
@@ -243,7 +245,7 @@ export interface PluginContainerData {
|
|
243
245
|
/** 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`. */
|
244
246
|
textWrap?: boolean | null;
|
245
247
|
}
|
246
|
-
|
248
|
+
declare enum WidthType {
|
247
249
|
/** Width matches the content width */
|
248
250
|
CONTENT = "CONTENT",
|
249
251
|
/** Small Width */
|
@@ -254,8 +256,8 @@ export declare enum WidthType {
|
|
254
256
|
FULL_WIDTH = "FULL_WIDTH"
|
255
257
|
}
|
256
258
|
/** @enumType */
|
257
|
-
|
258
|
-
|
259
|
+
type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
|
260
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
259
261
|
/**
|
260
262
|
* One of the following predefined width options:
|
261
263
|
* `CONTENT`: The width of the container matches the content width.
|
@@ -268,7 +270,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
|
|
268
270
|
custom?: string | null;
|
269
271
|
}
|
270
272
|
/** @oneof */
|
271
|
-
|
273
|
+
interface PluginContainerDataWidthDataOneOf {
|
272
274
|
/**
|
273
275
|
* One of the following predefined width options:
|
274
276
|
* `CONTENT`: The width of the container matches the content width.
|
@@ -280,7 +282,7 @@ export interface PluginContainerDataWidthDataOneOf {
|
|
280
282
|
/** A custom width value in pixels. */
|
281
283
|
custom?: string | null;
|
282
284
|
}
|
283
|
-
|
285
|
+
declare enum PluginContainerDataAlignment {
|
284
286
|
/** Center Alignment */
|
285
287
|
CENTER = "CENTER",
|
286
288
|
/** Left Alignment */
|
@@ -289,8 +291,8 @@ export declare enum PluginContainerDataAlignment {
|
|
289
291
|
RIGHT = "RIGHT"
|
290
292
|
}
|
291
293
|
/** @enumType */
|
292
|
-
|
293
|
-
|
294
|
+
type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
295
|
+
interface Spoiler {
|
294
296
|
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
295
297
|
enabled?: boolean | null;
|
296
298
|
/** The description displayed on top of the spoiler cover. */
|
@@ -298,19 +300,19 @@ export interface Spoiler {
|
|
298
300
|
/** The text for the button used to remove the spoiler cover. */
|
299
301
|
buttonText?: string | null;
|
300
302
|
}
|
301
|
-
|
303
|
+
interface Height {
|
302
304
|
/** A custom height value in pixels. */
|
303
305
|
custom?: string | null;
|
304
306
|
}
|
305
|
-
|
307
|
+
declare enum Type {
|
306
308
|
/** Regular link button */
|
307
309
|
LINK = "LINK",
|
308
310
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
309
311
|
ACTION = "ACTION"
|
310
312
|
}
|
311
313
|
/** @enumType */
|
312
|
-
|
313
|
-
|
314
|
+
type TypeWithLiterals = Type | 'LINK' | 'ACTION';
|
315
|
+
interface Styles {
|
314
316
|
/**
|
315
317
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
316
318
|
* @deprecated
|
@@ -363,7 +365,7 @@ export interface Styles {
|
|
363
365
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
364
366
|
buttonSize?: string | null;
|
365
367
|
}
|
366
|
-
|
368
|
+
interface Link extends LinkDataOneOf {
|
367
369
|
/** The absolute URL for the linked document. */
|
368
370
|
url?: string;
|
369
371
|
/** The target node's ID. Used for linking to another node in this object. */
|
@@ -382,13 +384,13 @@ export interface Link extends LinkDataOneOf {
|
|
382
384
|
customData?: string | null;
|
383
385
|
}
|
384
386
|
/** @oneof */
|
385
|
-
|
387
|
+
interface LinkDataOneOf {
|
386
388
|
/** The absolute URL for the linked document. */
|
387
389
|
url?: string;
|
388
390
|
/** The target node's ID. Used for linking to another node in this object. */
|
389
391
|
anchor?: string;
|
390
392
|
}
|
391
|
-
|
393
|
+
declare enum Target {
|
392
394
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
393
395
|
SELF = "SELF",
|
394
396
|
/** Opens the linked document in a new window or tab */
|
@@ -399,8 +401,8 @@ export declare enum Target {
|
|
399
401
|
TOP = "TOP"
|
400
402
|
}
|
401
403
|
/** @enumType */
|
402
|
-
|
403
|
-
|
404
|
+
type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
|
405
|
+
interface Rel {
|
404
406
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
405
407
|
nofollow?: boolean | null;
|
406
408
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
@@ -410,17 +412,17 @@ export interface Rel {
|
|
410
412
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
411
413
|
noreferrer?: boolean | null;
|
412
414
|
}
|
413
|
-
|
415
|
+
interface CodeBlockData {
|
414
416
|
/** Styling for the code block's text. */
|
415
417
|
textStyle?: TextStyle;
|
416
418
|
}
|
417
|
-
|
419
|
+
interface TextStyle {
|
418
420
|
/** Text alignment. Defaults to `AUTO`. */
|
419
421
|
textAlignment?: TextAlignmentWithLiterals;
|
420
422
|
/** 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. */
|
421
423
|
lineHeight?: string | null;
|
422
424
|
}
|
423
|
-
|
425
|
+
declare enum TextAlignment {
|
424
426
|
/** browser default, eqivalent to `initial` */
|
425
427
|
AUTO = "AUTO",
|
426
428
|
/** Left align */
|
@@ -433,8 +435,8 @@ export declare enum TextAlignment {
|
|
433
435
|
JUSTIFY = "JUSTIFY"
|
434
436
|
}
|
435
437
|
/** @enumType */
|
436
|
-
|
437
|
-
|
438
|
+
type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
|
439
|
+
interface DividerData {
|
438
440
|
/** Styling for the divider's container. */
|
439
441
|
containerData?: PluginContainerData;
|
440
442
|
/** Divider line style. */
|
@@ -444,7 +446,7 @@ export interface DividerData {
|
|
444
446
|
/** Divider alignment. */
|
445
447
|
alignment?: AlignmentWithLiterals;
|
446
448
|
}
|
447
|
-
|
449
|
+
declare enum LineStyle {
|
448
450
|
/** Single Line */
|
449
451
|
SINGLE = "SINGLE",
|
450
452
|
/** Double Line */
|
@@ -455,8 +457,8 @@ export declare enum LineStyle {
|
|
455
457
|
DOTTED = "DOTTED"
|
456
458
|
}
|
457
459
|
/** @enumType */
|
458
|
-
|
459
|
-
|
460
|
+
type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
|
461
|
+
declare enum Width {
|
460
462
|
/** Large line */
|
461
463
|
LARGE = "LARGE",
|
462
464
|
/** Medium line */
|
@@ -465,8 +467,8 @@ export declare enum Width {
|
|
465
467
|
SMALL = "SMALL"
|
466
468
|
}
|
467
469
|
/** @enumType */
|
468
|
-
|
469
|
-
|
470
|
+
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
471
|
+
declare enum Alignment {
|
470
472
|
/** Center alignment */
|
471
473
|
CENTER = "CENTER",
|
472
474
|
/** Left alignment */
|
@@ -475,8 +477,8 @@ export declare enum Alignment {
|
|
475
477
|
RIGHT = "RIGHT"
|
476
478
|
}
|
477
479
|
/** @enumType */
|
478
|
-
|
479
|
-
|
480
|
+
type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
481
|
+
interface FileData {
|
480
482
|
/** Styling for the file's container. */
|
481
483
|
containerData?: PluginContainerData;
|
482
484
|
/** The source for the file's data. */
|
@@ -499,7 +501,7 @@ export interface FileData {
|
|
499
501
|
/** File size in KB. */
|
500
502
|
sizeInKb?: string | null;
|
501
503
|
}
|
502
|
-
|
504
|
+
declare enum ViewMode {
|
503
505
|
/** No PDF view */
|
504
506
|
NONE = "NONE",
|
505
507
|
/** Full PDF view */
|
@@ -508,8 +510,8 @@ export declare enum ViewMode {
|
|
508
510
|
MINI = "MINI"
|
509
511
|
}
|
510
512
|
/** @enumType */
|
511
|
-
|
512
|
-
|
513
|
+
type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
|
514
|
+
interface FileSource extends FileSourceDataOneOf {
|
513
515
|
/** The absolute URL for the file's source. */
|
514
516
|
url?: string | null;
|
515
517
|
/**
|
@@ -523,7 +525,7 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
523
525
|
private?: boolean | null;
|
524
526
|
}
|
525
527
|
/** @oneof */
|
526
|
-
|
528
|
+
interface FileSourceDataOneOf {
|
527
529
|
/** The absolute URL for the file's source. */
|
528
530
|
url?: string | null;
|
529
531
|
/**
|
@@ -534,7 +536,7 @@ export interface FileSourceDataOneOf {
|
|
534
536
|
/** An ID that's resolved to a URL by a resolver function. */
|
535
537
|
id?: string | null;
|
536
538
|
}
|
537
|
-
|
539
|
+
interface PDFSettings {
|
538
540
|
/**
|
539
541
|
* PDF view mode. One of the following:
|
540
542
|
* `NONE` : The PDF isn't displayed.
|
@@ -547,7 +549,7 @@ export interface PDFSettings {
|
|
547
549
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
548
550
|
disablePrint?: boolean | null;
|
549
551
|
}
|
550
|
-
|
552
|
+
interface GalleryData {
|
551
553
|
/** Styling for the gallery's container. */
|
552
554
|
containerData?: PluginContainerData;
|
553
555
|
/** The items in the gallery. */
|
@@ -559,7 +561,7 @@ export interface GalleryData {
|
|
559
561
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
560
562
|
disableDownload?: boolean | null;
|
561
563
|
}
|
562
|
-
|
564
|
+
interface Media {
|
563
565
|
/** The source for the media's data. */
|
564
566
|
src?: FileSource;
|
565
567
|
/** Media width in pixels. */
|
@@ -569,19 +571,19 @@ export interface Media {
|
|
569
571
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
570
572
|
duration?: number | null;
|
571
573
|
}
|
572
|
-
|
574
|
+
interface Image {
|
573
575
|
/** Image file details. */
|
574
576
|
media?: Media;
|
575
577
|
/** Link details for images that are links. */
|
576
578
|
link?: Link;
|
577
579
|
}
|
578
|
-
|
580
|
+
interface Video {
|
579
581
|
/** Video file details. */
|
580
582
|
media?: Media;
|
581
583
|
/** Video thumbnail file details. */
|
582
584
|
thumbnail?: Media;
|
583
585
|
}
|
584
|
-
|
586
|
+
interface Item extends ItemDataOneOf {
|
585
587
|
/** An image item. */
|
586
588
|
image?: Image;
|
587
589
|
/** A video item. */
|
@@ -592,13 +594,13 @@ export interface Item extends ItemDataOneOf {
|
|
592
594
|
altText?: string | null;
|
593
595
|
}
|
594
596
|
/** @oneof */
|
595
|
-
|
597
|
+
interface ItemDataOneOf {
|
596
598
|
/** An image item. */
|
597
599
|
image?: Image;
|
598
600
|
/** A video item. */
|
599
601
|
video?: Video;
|
600
602
|
}
|
601
|
-
|
603
|
+
interface GalleryOptions {
|
602
604
|
/** Gallery layout. */
|
603
605
|
layout?: Layout;
|
604
606
|
/** Styling for gallery items. */
|
@@ -606,7 +608,7 @@ export interface GalleryOptions {
|
|
606
608
|
/** Styling for gallery thumbnail images. */
|
607
609
|
thumbnails?: Thumbnails;
|
608
610
|
}
|
609
|
-
|
611
|
+
declare enum LayoutType {
|
610
612
|
/** Collage type */
|
611
613
|
COLLAGE = "COLLAGE",
|
612
614
|
/** Masonry type */
|
@@ -629,24 +631,24 @@ export declare enum LayoutType {
|
|
629
631
|
FULLSIZE = "FULLSIZE"
|
630
632
|
}
|
631
633
|
/** @enumType */
|
632
|
-
|
633
|
-
|
634
|
+
type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
|
635
|
+
declare enum Orientation {
|
634
636
|
/** Rows Orientation */
|
635
637
|
ROWS = "ROWS",
|
636
638
|
/** Columns Orientation */
|
637
639
|
COLUMNS = "COLUMNS"
|
638
640
|
}
|
639
641
|
/** @enumType */
|
640
|
-
|
641
|
-
|
642
|
+
type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
|
643
|
+
declare enum Crop {
|
642
644
|
/** Crop to fill */
|
643
645
|
FILL = "FILL",
|
644
646
|
/** Crop to fit */
|
645
647
|
FIT = "FIT"
|
646
648
|
}
|
647
649
|
/** @enumType */
|
648
|
-
|
649
|
-
|
650
|
+
type CropWithLiterals = Crop | 'FILL' | 'FIT';
|
651
|
+
declare enum ThumbnailsAlignment {
|
650
652
|
/** Top alignment */
|
651
653
|
TOP = "TOP",
|
652
654
|
/** Right alignment */
|
@@ -659,8 +661,8 @@ export declare enum ThumbnailsAlignment {
|
|
659
661
|
NONE = "NONE"
|
660
662
|
}
|
661
663
|
/** @enumType */
|
662
|
-
|
663
|
-
|
664
|
+
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
665
|
+
interface Layout {
|
664
666
|
/** Gallery layout type. */
|
665
667
|
type?: LayoutTypeWithLiterals;
|
666
668
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
@@ -672,7 +674,7 @@ export interface Layout {
|
|
672
674
|
/** The number of columns to display on mobile screens. */
|
673
675
|
mobileNumberOfColumns?: number | null;
|
674
676
|
}
|
675
|
-
|
677
|
+
interface ItemStyle {
|
676
678
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
677
679
|
targetSize?: number | null;
|
678
680
|
/** Item ratio */
|
@@ -682,13 +684,13 @@ export interface ItemStyle {
|
|
682
684
|
/** The spacing between items in pixels. */
|
683
685
|
spacing?: number | null;
|
684
686
|
}
|
685
|
-
|
687
|
+
interface Thumbnails {
|
686
688
|
/** Thumbnail alignment. */
|
687
689
|
placement?: ThumbnailsAlignmentWithLiterals;
|
688
690
|
/** Spacing between thumbnails in pixels. */
|
689
691
|
spacing?: number | null;
|
690
692
|
}
|
691
|
-
|
693
|
+
interface GIFData {
|
692
694
|
/** Styling for the GIF's container. */
|
693
695
|
containerData?: PluginContainerData;
|
694
696
|
/** The source of the full size GIF. */
|
@@ -702,7 +704,7 @@ export interface GIFData {
|
|
702
704
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
703
705
|
gifType?: GIFTypeWithLiterals;
|
704
706
|
}
|
705
|
-
|
707
|
+
interface GIF {
|
706
708
|
/**
|
707
709
|
* GIF format URL.
|
708
710
|
* @format WEB_URL
|
@@ -719,13 +721,13 @@ export interface GIF {
|
|
719
721
|
*/
|
720
722
|
still?: string | null;
|
721
723
|
}
|
722
|
-
|
724
|
+
declare enum GIFType {
|
723
725
|
NORMAL = "NORMAL",
|
724
726
|
STICKER = "STICKER"
|
725
727
|
}
|
726
728
|
/** @enumType */
|
727
|
-
|
728
|
-
|
729
|
+
type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
|
730
|
+
interface HeadingData {
|
729
731
|
/** Heading level from 1-6. */
|
730
732
|
level?: number;
|
731
733
|
/** Styling for the heading text. */
|
@@ -733,7 +735,7 @@ export interface HeadingData {
|
|
733
735
|
/** Indentation level from 1-4. */
|
734
736
|
indentation?: number | null;
|
735
737
|
}
|
736
|
-
|
738
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
737
739
|
/** The URL for the HTML code for the node. */
|
738
740
|
url?: string;
|
739
741
|
/** The HTML code for the node. */
|
@@ -751,7 +753,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
751
753
|
autoHeight?: boolean | null;
|
752
754
|
}
|
753
755
|
/** @oneof */
|
754
|
-
|
756
|
+
interface HTMLDataDataOneOf {
|
755
757
|
/** The URL for the HTML code for the node. */
|
756
758
|
url?: string;
|
757
759
|
/** The HTML code for the node. */
|
@@ -762,13 +764,13 @@ export interface HTMLDataDataOneOf {
|
|
762
764
|
*/
|
763
765
|
isAdsense?: boolean | null;
|
764
766
|
}
|
765
|
-
|
767
|
+
declare enum Source {
|
766
768
|
HTML = "HTML",
|
767
769
|
ADSENSE = "ADSENSE"
|
768
770
|
}
|
769
771
|
/** @enumType */
|
770
|
-
|
771
|
-
|
772
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
|
773
|
+
interface ImageData {
|
772
774
|
/** Styling for the image's container. */
|
773
775
|
containerData?: PluginContainerData;
|
774
776
|
/** Image file details. */
|
@@ -791,7 +793,7 @@ export interface ImageData {
|
|
791
793
|
/** Styling for the image. */
|
792
794
|
styles?: ImageDataStyles;
|
793
795
|
}
|
794
|
-
|
796
|
+
interface StylesBorder {
|
795
797
|
/** Border width in pixels. */
|
796
798
|
width?: number | null;
|
797
799
|
/**
|
@@ -802,11 +804,11 @@ export interface StylesBorder {
|
|
802
804
|
/** Border radius in pixels. */
|
803
805
|
radius?: number | null;
|
804
806
|
}
|
805
|
-
|
807
|
+
interface ImageDataStyles {
|
806
808
|
/** Border attributes. */
|
807
809
|
border?: StylesBorder;
|
808
810
|
}
|
809
|
-
|
811
|
+
interface LinkPreviewData {
|
810
812
|
/** Styling for the link preview's container. */
|
811
813
|
containerData?: PluginContainerData;
|
812
814
|
/** Link details. */
|
@@ -822,7 +824,7 @@ export interface LinkPreviewData {
|
|
822
824
|
/** Styling for the link preview. */
|
823
825
|
styles?: LinkPreviewDataStyles;
|
824
826
|
}
|
825
|
-
|
827
|
+
declare enum Position {
|
826
828
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
827
829
|
START = "START",
|
828
830
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
@@ -833,8 +835,8 @@ export declare enum Position {
|
|
833
835
|
HIDDEN = "HIDDEN"
|
834
836
|
}
|
835
837
|
/** @enumType */
|
836
|
-
|
837
|
-
|
838
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
839
|
+
interface LinkPreviewDataStyles {
|
838
840
|
/**
|
839
841
|
* Background color as a hexadecimal value.
|
840
842
|
* @format COLOR_HEX
|
@@ -867,13 +869,13 @@ export interface LinkPreviewDataStyles {
|
|
867
869
|
/** Position of thumbnail. Defaults to `START`. */
|
868
870
|
thumbnailPosition?: PositionWithLiterals;
|
869
871
|
}
|
870
|
-
|
872
|
+
interface MapData {
|
871
873
|
/** Styling for the map's container. */
|
872
874
|
containerData?: PluginContainerData;
|
873
875
|
/** Map settings. */
|
874
876
|
mapSettings?: MapSettings;
|
875
877
|
}
|
876
|
-
|
878
|
+
interface MapSettings {
|
877
879
|
/** The address to display on the map. */
|
878
880
|
address?: string | null;
|
879
881
|
/** Sets whether the map is draggable. */
|
@@ -897,7 +899,7 @@ export interface MapSettings {
|
|
897
899
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
898
900
|
mapType?: MapTypeWithLiterals;
|
899
901
|
}
|
900
|
-
|
902
|
+
declare enum MapType {
|
901
903
|
/** Roadmap map type */
|
902
904
|
ROADMAP = "ROADMAP",
|
903
905
|
/** Satellite map type */
|
@@ -908,8 +910,8 @@ export declare enum MapType {
|
|
908
910
|
TERRAIN = "TERRAIN"
|
909
911
|
}
|
910
912
|
/** @enumType */
|
911
|
-
|
912
|
-
|
913
|
+
type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
|
914
|
+
interface ParagraphData {
|
913
915
|
/** Styling for the paragraph text. */
|
914
916
|
textStyle?: TextStyle;
|
915
917
|
/** Indentation level from 1-4. */
|
@@ -917,7 +919,7 @@ export interface ParagraphData {
|
|
917
919
|
/** Paragraph level */
|
918
920
|
level?: number | null;
|
919
921
|
}
|
920
|
-
|
922
|
+
interface PollData {
|
921
923
|
/** Styling for the poll's container. */
|
922
924
|
containerData?: PluginContainerData;
|
923
925
|
/** Poll data. */
|
@@ -927,7 +929,7 @@ export interface PollData {
|
|
927
929
|
/** Styling for the poll and voting options. */
|
928
930
|
design?: Design;
|
929
931
|
}
|
930
|
-
|
932
|
+
declare enum ViewRole {
|
931
933
|
/** Only Poll creator can view the results */
|
932
934
|
CREATOR = "CREATOR",
|
933
935
|
/** Anyone who voted can see the results */
|
@@ -936,16 +938,16 @@ export declare enum ViewRole {
|
|
936
938
|
EVERYONE = "EVERYONE"
|
937
939
|
}
|
938
940
|
/** @enumType */
|
939
|
-
|
940
|
-
|
941
|
+
type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
|
942
|
+
declare enum VoteRole {
|
941
943
|
/** Logged in member */
|
942
944
|
SITE_MEMBERS = "SITE_MEMBERS",
|
943
945
|
/** Anyone */
|
944
946
|
ALL = "ALL"
|
945
947
|
}
|
946
948
|
/** @enumType */
|
947
|
-
|
948
|
-
|
949
|
+
type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
|
950
|
+
interface Permissions {
|
949
951
|
/** Sets who can view the poll results. */
|
950
952
|
view?: ViewRoleWithLiterals;
|
951
953
|
/** Sets who can vote. */
|
@@ -953,7 +955,7 @@ export interface Permissions {
|
|
953
955
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
954
956
|
allowMultipleVotes?: boolean | null;
|
955
957
|
}
|
956
|
-
|
958
|
+
interface Option {
|
957
959
|
/** Option ID. */
|
958
960
|
id?: string | null;
|
959
961
|
/** Option title. */
|
@@ -961,7 +963,7 @@ export interface Option {
|
|
961
963
|
/** The image displayed with the option. */
|
962
964
|
image?: Media;
|
963
965
|
}
|
964
|
-
|
966
|
+
interface Settings {
|
965
967
|
/** Permissions settings for voting. */
|
966
968
|
permissions?: Permissions;
|
967
969
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
@@ -969,23 +971,23 @@ export interface Settings {
|
|
969
971
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
970
972
|
showVotesCount?: boolean | null;
|
971
973
|
}
|
972
|
-
|
974
|
+
declare enum PollLayoutType {
|
973
975
|
/** List */
|
974
976
|
LIST = "LIST",
|
975
977
|
/** Grid */
|
976
978
|
GRID = "GRID"
|
977
979
|
}
|
978
980
|
/** @enumType */
|
979
|
-
|
980
|
-
|
981
|
+
type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
|
982
|
+
declare enum PollLayoutDirection {
|
981
983
|
/** Left-to-right */
|
982
984
|
LTR = "LTR",
|
983
985
|
/** Right-to-left */
|
984
986
|
RTL = "RTL"
|
985
987
|
}
|
986
988
|
/** @enumType */
|
987
|
-
|
988
|
-
|
989
|
+
type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
|
990
|
+
interface PollLayout {
|
989
991
|
/** The layout for displaying the voting options. */
|
990
992
|
type?: PollLayoutTypeWithLiterals;
|
991
993
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
@@ -993,11 +995,11 @@ export interface PollLayout {
|
|
993
995
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
994
996
|
enableImage?: boolean | null;
|
995
997
|
}
|
996
|
-
|
998
|
+
interface OptionLayout {
|
997
999
|
/** Sets whether to display option images. Defaults to `false`. */
|
998
1000
|
enableImage?: boolean | null;
|
999
1001
|
}
|
1000
|
-
|
1002
|
+
declare enum BackgroundType {
|
1001
1003
|
/** Color background type */
|
1002
1004
|
COLOR = "COLOR",
|
1003
1005
|
/** Image background type */
|
@@ -1006,8 +1008,8 @@ export declare enum BackgroundType {
|
|
1006
1008
|
GRADIENT = "GRADIENT"
|
1007
1009
|
}
|
1008
1010
|
/** @enumType */
|
1009
|
-
|
1010
|
-
|
1011
|
+
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
1012
|
+
interface Gradient {
|
1011
1013
|
/** The gradient angle in degrees. */
|
1012
1014
|
angle?: number | null;
|
1013
1015
|
/**
|
@@ -1021,7 +1023,7 @@ export interface Gradient {
|
|
1021
1023
|
*/
|
1022
1024
|
lastColor?: string | null;
|
1023
1025
|
}
|
1024
|
-
|
1026
|
+
interface Background extends BackgroundBackgroundOneOf {
|
1025
1027
|
/**
|
1026
1028
|
* The background color as a hexademical value.
|
1027
1029
|
* @format COLOR_HEX
|
@@ -1035,7 +1037,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
1035
1037
|
type?: BackgroundTypeWithLiterals;
|
1036
1038
|
}
|
1037
1039
|
/** @oneof */
|
1038
|
-
|
1040
|
+
interface BackgroundBackgroundOneOf {
|
1039
1041
|
/**
|
1040
1042
|
* The background color as a hexademical value.
|
1041
1043
|
* @format COLOR_HEX
|
@@ -1046,17 +1048,17 @@ export interface BackgroundBackgroundOneOf {
|
|
1046
1048
|
/** Details for a gradient background. */
|
1047
1049
|
gradient?: Gradient;
|
1048
1050
|
}
|
1049
|
-
|
1051
|
+
interface PollDesign {
|
1050
1052
|
/** Background styling. */
|
1051
1053
|
background?: Background;
|
1052
1054
|
/** Border radius in pixels. */
|
1053
1055
|
borderRadius?: number | null;
|
1054
1056
|
}
|
1055
|
-
|
1057
|
+
interface OptionDesign {
|
1056
1058
|
/** Border radius in pixels. */
|
1057
1059
|
borderRadius?: number | null;
|
1058
1060
|
}
|
1059
|
-
|
1061
|
+
interface Poll {
|
1060
1062
|
/** Poll ID. */
|
1061
1063
|
id?: string | null;
|
1062
1064
|
/** Poll title. */
|
@@ -1070,26 +1072,26 @@ export interface Poll {
|
|
1070
1072
|
/** The poll's permissions and display settings. */
|
1071
1073
|
settings?: Settings;
|
1072
1074
|
}
|
1073
|
-
|
1075
|
+
interface PollDataLayout {
|
1074
1076
|
/** Poll layout settings. */
|
1075
1077
|
poll?: PollLayout;
|
1076
1078
|
/** Voting otpions layout settings. */
|
1077
1079
|
options?: OptionLayout;
|
1078
1080
|
}
|
1079
|
-
|
1081
|
+
interface Design {
|
1080
1082
|
/** Styling for the poll. */
|
1081
1083
|
poll?: PollDesign;
|
1082
1084
|
/** Styling for voting options. */
|
1083
1085
|
options?: OptionDesign;
|
1084
1086
|
}
|
1085
|
-
|
1087
|
+
interface TextData {
|
1086
1088
|
/** The text to apply decorations to. */
|
1087
1089
|
text?: string;
|
1088
1090
|
/** The decorations to apply. */
|
1089
1091
|
decorations?: Decoration[];
|
1090
1092
|
}
|
1091
1093
|
/** Adds appearence changes to text */
|
1092
|
-
|
1094
|
+
interface Decoration extends DecorationDataOneOf {
|
1093
1095
|
/** Data for an anchor link decoration. */
|
1094
1096
|
anchorData?: AnchorData;
|
1095
1097
|
/** Data for a color decoration. */
|
@@ -1110,11 +1112,15 @@ export interface Decoration extends DecorationDataOneOf {
|
|
1110
1112
|
spoilerData?: SpoilerData;
|
1111
1113
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
1112
1114
|
strikethroughData?: boolean | null;
|
1115
|
+
/** Data for a superscript decoration. Defaults to `true`. */
|
1116
|
+
superscriptData?: boolean | null;
|
1117
|
+
/** Data for a subscript decoration. Defaults to `true`. */
|
1118
|
+
subscriptData?: boolean | null;
|
1113
1119
|
/** The type of decoration to apply. */
|
1114
1120
|
type?: DecorationTypeWithLiterals;
|
1115
1121
|
}
|
1116
1122
|
/** @oneof */
|
1117
|
-
|
1123
|
+
interface DecorationDataOneOf {
|
1118
1124
|
/** Data for an anchor link decoration. */
|
1119
1125
|
anchorData?: AnchorData;
|
1120
1126
|
/** Data for a color decoration. */
|
@@ -1135,8 +1141,12 @@ export interface DecorationDataOneOf {
|
|
1135
1141
|
spoilerData?: SpoilerData;
|
1136
1142
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
1137
1143
|
strikethroughData?: boolean | null;
|
1144
|
+
/** Data for a superscript decoration. Defaults to `true`. */
|
1145
|
+
superscriptData?: boolean | null;
|
1146
|
+
/** Data for a subscript decoration. Defaults to `true`. */
|
1147
|
+
subscriptData?: boolean | null;
|
1138
1148
|
}
|
1139
|
-
|
1149
|
+
declare enum DecorationType {
|
1140
1150
|
BOLD = "BOLD",
|
1141
1151
|
ITALIC = "ITALIC",
|
1142
1152
|
UNDERLINE = "UNDERLINE",
|
@@ -1147,25 +1157,27 @@ export declare enum DecorationType {
|
|
1147
1157
|
COLOR = "COLOR",
|
1148
1158
|
FONT_SIZE = "FONT_SIZE",
|
1149
1159
|
EXTERNAL = "EXTERNAL",
|
1150
|
-
STRIKETHROUGH = "STRIKETHROUGH"
|
1160
|
+
STRIKETHROUGH = "STRIKETHROUGH",
|
1161
|
+
SUPERSCRIPT = "SUPERSCRIPT",
|
1162
|
+
SUBSCRIPT = "SUBSCRIPT"
|
1151
1163
|
}
|
1152
1164
|
/** @enumType */
|
1153
|
-
|
1154
|
-
|
1165
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
|
1166
|
+
interface AnchorData {
|
1155
1167
|
/** The target node's ID. */
|
1156
1168
|
anchor?: string;
|
1157
1169
|
}
|
1158
|
-
|
1170
|
+
interface ColorData {
|
1159
1171
|
/** The text's background color as a hexadecimal value. */
|
1160
1172
|
background?: string | null;
|
1161
1173
|
/** The text's foreground color as a hexadecimal value. */
|
1162
1174
|
foreground?: string | null;
|
1163
1175
|
}
|
1164
|
-
|
1176
|
+
interface LinkData {
|
1165
1177
|
/** Link details. */
|
1166
1178
|
link?: Link;
|
1167
1179
|
}
|
1168
|
-
|
1180
|
+
interface MentionData {
|
1169
1181
|
/** The mentioned user's name. */
|
1170
1182
|
name?: string;
|
1171
1183
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
@@ -1173,23 +1185,23 @@ export interface MentionData {
|
|
1173
1185
|
/** Mentioned user's ID. */
|
1174
1186
|
id?: string | null;
|
1175
1187
|
}
|
1176
|
-
|
1188
|
+
interface FontSizeData {
|
1177
1189
|
/** The units used for the font size. */
|
1178
1190
|
unit?: FontTypeWithLiterals;
|
1179
1191
|
/** Font size value. */
|
1180
1192
|
value?: number | null;
|
1181
1193
|
}
|
1182
|
-
|
1194
|
+
declare enum FontType {
|
1183
1195
|
PX = "PX",
|
1184
1196
|
EM = "EM"
|
1185
1197
|
}
|
1186
1198
|
/** @enumType */
|
1187
|
-
|
1188
|
-
|
1199
|
+
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
1200
|
+
interface SpoilerData {
|
1189
1201
|
/** Spoiler ID. */
|
1190
1202
|
id?: string | null;
|
1191
1203
|
}
|
1192
|
-
|
1204
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
1193
1205
|
/** Data for embedded Wix Bookings content. */
|
1194
1206
|
bookingData?: BookingData;
|
1195
1207
|
/** Data for embedded Wix Events content. */
|
@@ -1211,30 +1223,30 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1211
1223
|
image?: Media;
|
1212
1224
|
}
|
1213
1225
|
/** @oneof */
|
1214
|
-
|
1226
|
+
interface AppEmbedDataAppDataOneOf {
|
1215
1227
|
/** Data for embedded Wix Bookings content. */
|
1216
1228
|
bookingData?: BookingData;
|
1217
1229
|
/** Data for embedded Wix Events content. */
|
1218
1230
|
eventData?: EventData;
|
1219
1231
|
}
|
1220
|
-
|
1232
|
+
declare enum AppType {
|
1221
1233
|
PRODUCT = "PRODUCT",
|
1222
1234
|
EVENT = "EVENT",
|
1223
1235
|
BOOKING = "BOOKING"
|
1224
1236
|
}
|
1225
1237
|
/** @enumType */
|
1226
|
-
|
1227
|
-
|
1238
|
+
type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
|
1239
|
+
interface BookingData {
|
1228
1240
|
/** Booking duration in minutes. */
|
1229
1241
|
durations?: string | null;
|
1230
1242
|
}
|
1231
|
-
|
1243
|
+
interface EventData {
|
1232
1244
|
/** Event schedule. */
|
1233
1245
|
scheduling?: string | null;
|
1234
1246
|
/** Event location. */
|
1235
1247
|
location?: string | null;
|
1236
1248
|
}
|
1237
|
-
|
1249
|
+
interface VideoData {
|
1238
1250
|
/** Styling for the video's container. */
|
1239
1251
|
containerData?: PluginContainerData;
|
1240
1252
|
/** Video details. */
|
@@ -1248,7 +1260,7 @@ export interface VideoData {
|
|
1248
1260
|
/** Video options. */
|
1249
1261
|
options?: PlaybackOptions;
|
1250
1262
|
}
|
1251
|
-
|
1263
|
+
interface PlaybackOptions {
|
1252
1264
|
/** Sets whether the media will automatically start playing. */
|
1253
1265
|
autoPlay?: boolean | null;
|
1254
1266
|
/** Sets whether media's will be looped. */
|
@@ -1256,7 +1268,7 @@ export interface PlaybackOptions {
|
|
1256
1268
|
/** Sets whether media's controls will be shown. */
|
1257
1269
|
showControls?: boolean | null;
|
1258
1270
|
}
|
1259
|
-
|
1271
|
+
interface EmbedData {
|
1260
1272
|
/** Styling for the oEmbed node's container. */
|
1261
1273
|
containerData?: PluginContainerData;
|
1262
1274
|
/** An [oEmbed](https://www.oembed.com) object. */
|
@@ -1264,7 +1276,7 @@ export interface EmbedData {
|
|
1264
1276
|
/** Origin asset source. */
|
1265
1277
|
src?: string | null;
|
1266
1278
|
}
|
1267
|
-
|
1279
|
+
interface Oembed {
|
1268
1280
|
/** The resource type. */
|
1269
1281
|
type?: string | null;
|
1270
1282
|
/** The width of the resource specified in the `url` property in pixels. */
|
@@ -1296,7 +1308,7 @@ export interface Oembed {
|
|
1296
1308
|
/** The oEmbed version number. This value must be `1.0`. */
|
1297
1309
|
version?: string | null;
|
1298
1310
|
}
|
1299
|
-
|
1311
|
+
interface CollapsibleListData {
|
1300
1312
|
/** Styling for the collapsible list's container. */
|
1301
1313
|
containerData?: PluginContainerData;
|
1302
1314
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
@@ -1308,7 +1320,7 @@ export interface CollapsibleListData {
|
|
1308
1320
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
1309
1321
|
isQapageData?: boolean | null;
|
1310
1322
|
}
|
1311
|
-
|
1323
|
+
declare enum InitialExpandedItems {
|
1312
1324
|
/** First item will be expended initally */
|
1313
1325
|
FIRST = "FIRST",
|
1314
1326
|
/** All items will expended initally */
|
@@ -1317,16 +1329,16 @@ export declare enum InitialExpandedItems {
|
|
1317
1329
|
NONE = "NONE"
|
1318
1330
|
}
|
1319
1331
|
/** @enumType */
|
1320
|
-
|
1321
|
-
|
1332
|
+
type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
|
1333
|
+
declare enum Direction {
|
1322
1334
|
/** Left-to-right */
|
1323
1335
|
LTR = "LTR",
|
1324
1336
|
/** Right-to-left */
|
1325
1337
|
RTL = "RTL"
|
1326
1338
|
}
|
1327
1339
|
/** @enumType */
|
1328
|
-
|
1329
|
-
|
1340
|
+
type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
|
1341
|
+
interface TableData {
|
1330
1342
|
/** Styling for the table's container. */
|
1331
1343
|
containerData?: PluginContainerData;
|
1332
1344
|
/** The table's dimensions. */
|
@@ -1341,7 +1353,7 @@ export interface TableData {
|
|
1341
1353
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
1342
1354
|
columnHeader?: boolean | null;
|
1343
1355
|
}
|
1344
|
-
|
1356
|
+
interface Dimensions {
|
1345
1357
|
/** An array representing relative width of each column in relation to the other columns. */
|
1346
1358
|
colsWidthRatio?: number[];
|
1347
1359
|
/** An array representing the height of each row in pixels. */
|
@@ -1349,13 +1361,13 @@ export interface Dimensions {
|
|
1349
1361
|
/** An array representing the minimum width of each column in pixels. */
|
1350
1362
|
colsMinWidth?: number[];
|
1351
1363
|
}
|
1352
|
-
|
1364
|
+
interface TableCellData {
|
1353
1365
|
/** Styling for the cell's background color and text alignment. */
|
1354
1366
|
cellStyle?: CellStyle;
|
1355
1367
|
/** The cell's border colors. */
|
1356
1368
|
borderColors?: BorderColors;
|
1357
1369
|
}
|
1358
|
-
|
1370
|
+
declare enum VerticalAlignment {
|
1359
1371
|
/** Top alignment */
|
1360
1372
|
TOP = "TOP",
|
1361
1373
|
/** Middle alignment */
|
@@ -1364,8 +1376,8 @@ export declare enum VerticalAlignment {
|
|
1364
1376
|
BOTTOM = "BOTTOM"
|
1365
1377
|
}
|
1366
1378
|
/** @enumType */
|
1367
|
-
|
1368
|
-
|
1379
|
+
type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
|
1380
|
+
interface CellStyle {
|
1369
1381
|
/** Vertical alignment for the cell's text. */
|
1370
1382
|
verticalAlignment?: VerticalAlignmentWithLiterals;
|
1371
1383
|
/**
|
@@ -1374,7 +1386,7 @@ export interface CellStyle {
|
|
1374
1386
|
*/
|
1375
1387
|
backgroundColor?: string | null;
|
1376
1388
|
}
|
1377
|
-
|
1389
|
+
interface BorderColors {
|
1378
1390
|
/**
|
1379
1391
|
* Left border color as a hexadecimal value.
|
1380
1392
|
* @format COLOR_HEX
|
@@ -1396,28 +1408,7 @@ export interface BorderColors {
|
|
1396
1408
|
*/
|
1397
1409
|
bottom?: string | null;
|
1398
1410
|
}
|
1399
|
-
|
1400
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
1401
|
-
* `Value` type union.
|
1402
|
-
*
|
1403
|
-
* The JSON representation for `NullValue` is JSON `null`.
|
1404
|
-
*/
|
1405
|
-
export declare enum NullValue {
|
1406
|
-
/** Null value. */
|
1407
|
-
NULL_VALUE = "NULL_VALUE"
|
1408
|
-
}
|
1409
|
-
/** @enumType */
|
1410
|
-
export type NullValueWithLiterals = NullValue | 'NULL_VALUE';
|
1411
|
-
/**
|
1412
|
-
* `ListValue` is a wrapper around a repeated field of values.
|
1413
|
-
*
|
1414
|
-
* The JSON representation for `ListValue` is JSON array.
|
1415
|
-
*/
|
1416
|
-
export interface ListValue {
|
1417
|
-
/** Repeated field of dynamically typed values. */
|
1418
|
-
values?: any[];
|
1419
|
-
}
|
1420
|
-
export interface AudioData {
|
1411
|
+
interface AudioData {
|
1421
1412
|
/** Styling for the audio node's container. */
|
1422
1413
|
containerData?: PluginContainerData;
|
1423
1414
|
/** Audio file details. */
|
@@ -1433,7 +1424,7 @@ export interface AudioData {
|
|
1433
1424
|
/** An HTML version of the audio node. */
|
1434
1425
|
html?: string | null;
|
1435
1426
|
}
|
1436
|
-
|
1427
|
+
interface OrderedListData {
|
1437
1428
|
/** Indentation level from 0-4. */
|
1438
1429
|
indentation?: number;
|
1439
1430
|
/** Offset level from 0-4. */
|
@@ -1441,24 +1432,24 @@ export interface OrderedListData {
|
|
1441
1432
|
/** List start number. */
|
1442
1433
|
start?: number | null;
|
1443
1434
|
}
|
1444
|
-
|
1435
|
+
interface BulletedListData {
|
1445
1436
|
/** Indentation level from 0-4. */
|
1446
1437
|
indentation?: number;
|
1447
1438
|
/** Offset level from 0-4. */
|
1448
1439
|
offset?: number | null;
|
1449
1440
|
}
|
1450
|
-
|
1441
|
+
interface BlockquoteData {
|
1451
1442
|
/** Indentation level from 1-4. */
|
1452
1443
|
indentation?: number;
|
1453
1444
|
}
|
1454
|
-
|
1445
|
+
interface CaptionData {
|
1455
1446
|
textStyle?: TextStyle;
|
1456
1447
|
}
|
1457
|
-
|
1448
|
+
interface LayoutCellData {
|
1458
1449
|
/** Size of the cell in 12 columns grid. */
|
1459
1450
|
colSpan?: number | null;
|
1460
1451
|
}
|
1461
|
-
|
1452
|
+
interface Metadata {
|
1462
1453
|
/** Schema version. */
|
1463
1454
|
version?: number;
|
1464
1455
|
/**
|
@@ -1475,7 +1466,7 @@ export interface Metadata {
|
|
1475
1466
|
/** Object ID. */
|
1476
1467
|
id?: string | null;
|
1477
1468
|
}
|
1478
|
-
|
1469
|
+
interface DocumentStyle {
|
1479
1470
|
/** Styling for H1 nodes. */
|
1480
1471
|
headerOne?: TextNodeStyle;
|
1481
1472
|
/** Styling for H2 nodes. */
|
@@ -1495,7 +1486,7 @@ export interface DocumentStyle {
|
|
1495
1486
|
/** Styling for code block nodes. */
|
1496
1487
|
codeBlock?: TextNodeStyle;
|
1497
1488
|
}
|
1498
|
-
|
1489
|
+
interface TextNodeStyle {
|
1499
1490
|
/** The decorations to apply to the node. */
|
1500
1491
|
decorations?: Decoration[];
|
1501
1492
|
/** Padding and background color for the node. */
|
@@ -1503,53 +1494,53 @@ export interface TextNodeStyle {
|
|
1503
1494
|
/** Line height for text in the node. */
|
1504
1495
|
lineHeight?: string | null;
|
1505
1496
|
}
|
1506
|
-
|
1497
|
+
interface CreateMemberAboutRequest {
|
1507
1498
|
/** The "About" section content to create. */
|
1508
1499
|
memberAbout: MemberAbout;
|
1509
1500
|
}
|
1510
|
-
|
1501
|
+
interface CreateMemberAboutResponse {
|
1511
1502
|
/** The created "About" section content. */
|
1512
1503
|
memberAbout?: MemberAbout;
|
1513
1504
|
}
|
1514
|
-
|
1505
|
+
interface UpdateMemberAboutRequest {
|
1515
1506
|
/** The "About" section content to update. */
|
1516
1507
|
memberAbout: MemberAbout;
|
1517
1508
|
}
|
1518
|
-
|
1509
|
+
interface UpdateMemberAboutResponse {
|
1519
1510
|
/** The updated "About" section content. */
|
1520
1511
|
memberAbout?: MemberAbout;
|
1521
1512
|
}
|
1522
|
-
|
1513
|
+
interface DeleteMemberAboutRequest {
|
1523
1514
|
/**
|
1524
1515
|
* ID of the "About" section content to delete.
|
1525
1516
|
* @format GUID
|
1526
1517
|
*/
|
1527
1518
|
id: string;
|
1528
1519
|
}
|
1529
|
-
|
1520
|
+
interface DeleteMemberAboutResponse {
|
1530
1521
|
}
|
1531
|
-
|
1522
|
+
interface GetMemberAboutRequest {
|
1532
1523
|
/**
|
1533
1524
|
* ID of the "About" section content to retrieve.
|
1534
1525
|
* @format GUID
|
1535
1526
|
*/
|
1536
1527
|
id: string;
|
1537
1528
|
}
|
1538
|
-
|
1529
|
+
interface GetMemberAboutResponse {
|
1539
1530
|
/** The retrieved "About" section content. */
|
1540
1531
|
memberAbout?: MemberAbout;
|
1541
1532
|
}
|
1542
|
-
|
1533
|
+
interface GetMyMemberAboutRequest {
|
1543
1534
|
}
|
1544
|
-
|
1535
|
+
interface GetMyMemberAboutResponse {
|
1545
1536
|
/** The "About" section content of the current member. */
|
1546
1537
|
memberAbout?: MemberAbout;
|
1547
1538
|
}
|
1548
|
-
|
1539
|
+
interface QueryMemberAboutsRequest {
|
1549
1540
|
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */
|
1550
1541
|
query?: CursorQuery;
|
1551
1542
|
}
|
1552
|
-
|
1543
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
1553
1544
|
/** 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`. */
|
1554
1545
|
cursorPaging?: CursorPaging;
|
1555
1546
|
/**
|
@@ -1568,25 +1559,25 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1568
1559
|
sort?: Sorting[];
|
1569
1560
|
}
|
1570
1561
|
/** @oneof */
|
1571
|
-
|
1562
|
+
interface CursorQueryPagingMethodOneOf {
|
1572
1563
|
/** 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`. */
|
1573
1564
|
cursorPaging?: CursorPaging;
|
1574
1565
|
}
|
1575
|
-
|
1566
|
+
interface Sorting {
|
1576
1567
|
/** Name of the field to sort by. */
|
1577
1568
|
fieldName?: string;
|
1578
1569
|
/** Sort order. */
|
1579
1570
|
order?: SortOrderWithLiterals;
|
1580
1571
|
}
|
1581
|
-
|
1572
|
+
declare enum SortOrder {
|
1582
1573
|
/** Sort is in ascending order. */
|
1583
1574
|
ASC = "ASC",
|
1584
1575
|
/** Sort is in the descending order. */
|
1585
1576
|
DESC = "DESC"
|
1586
1577
|
}
|
1587
1578
|
/** @enumType */
|
1588
|
-
|
1589
|
-
|
1579
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
1580
|
+
interface CursorPaging {
|
1590
1581
|
/**
|
1591
1582
|
* Number of items to load.
|
1592
1583
|
* @max 100
|
@@ -1601,13 +1592,13 @@ export interface CursorPaging {
|
|
1601
1592
|
*/
|
1602
1593
|
cursor?: string | null;
|
1603
1594
|
}
|
1604
|
-
|
1595
|
+
interface QueryMemberAboutsResponse {
|
1605
1596
|
/** The retrieved content from the "About" sections. */
|
1606
1597
|
memberAbouts?: MemberAbout[];
|
1607
1598
|
/** Metadata for the paginated results. */
|
1608
1599
|
metadata?: CursorPagingMetadata;
|
1609
1600
|
}
|
1610
|
-
|
1601
|
+
interface CursorPagingMetadata {
|
1611
1602
|
/** Number of items returned in current page. */
|
1612
1603
|
count?: number | null;
|
1613
1604
|
/** Cursor strings that point to the next page, previous page, or both. */
|
@@ -1620,7 +1611,7 @@ export interface CursorPagingMetadata {
|
|
1620
1611
|
*/
|
1621
1612
|
hasNext?: boolean | null;
|
1622
1613
|
}
|
1623
|
-
|
1614
|
+
interface Cursors {
|
1624
1615
|
/**
|
1625
1616
|
* Cursor string pointing to the next page in the list of results.
|
1626
1617
|
* @maxLength 16000
|
@@ -1632,139 +1623,28 @@ export interface Cursors {
|
|
1632
1623
|
*/
|
1633
1624
|
prev?: string | null;
|
1634
1625
|
}
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
1661
|
-
/** If present, indicates the action that triggered the event. */
|
1662
|
-
originatedFrom?: string | null;
|
1663
|
-
/**
|
1664
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
1665
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
1666
|
-
*/
|
1667
|
-
entityEventSequence?: string | null;
|
1668
|
-
}
|
1669
|
-
/** @oneof */
|
1670
|
-
export interface DomainEventBodyOneOf {
|
1671
|
-
createdEvent?: EntityCreatedEvent;
|
1672
|
-
updatedEvent?: EntityUpdatedEvent;
|
1673
|
-
deletedEvent?: EntityDeletedEvent;
|
1674
|
-
actionEvent?: ActionEvent;
|
1675
|
-
}
|
1676
|
-
export interface EntityCreatedEvent {
|
1677
|
-
entityAsJson?: string;
|
1678
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
1679
|
-
restoreInfo?: RestoreInfo;
|
1680
|
-
}
|
1681
|
-
export interface RestoreInfo {
|
1682
|
-
deletedDate?: Date | null;
|
1683
|
-
}
|
1684
|
-
export interface EntityUpdatedEvent {
|
1685
|
-
/**
|
1686
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
1687
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
1688
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
1689
|
-
*/
|
1690
|
-
currentEntityAsJson?: string;
|
1691
|
-
}
|
1692
|
-
export interface EntityDeletedEvent {
|
1693
|
-
/** Entity that was deleted. */
|
1694
|
-
deletedEntityAsJson?: string | null;
|
1695
|
-
}
|
1696
|
-
export interface ActionEvent {
|
1697
|
-
bodyAsJson?: string;
|
1698
|
-
}
|
1699
|
-
export interface MessageEnvelope {
|
1700
|
-
/**
|
1701
|
-
* App instance ID.
|
1702
|
-
* @format GUID
|
1703
|
-
*/
|
1704
|
-
instanceId?: string | null;
|
1705
|
-
/**
|
1706
|
-
* Event type.
|
1707
|
-
* @maxLength 150
|
1708
|
-
*/
|
1709
|
-
eventType?: string;
|
1710
|
-
/** The identification type and identity data. */
|
1711
|
-
identity?: IdentificationData;
|
1712
|
-
/** Stringify payload. */
|
1713
|
-
data?: string;
|
1714
|
-
}
|
1715
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
1716
|
-
/**
|
1717
|
-
* ID of a site visitor that has not logged in to the site.
|
1718
|
-
* @format GUID
|
1719
|
-
*/
|
1720
|
-
anonymousVisitorId?: string;
|
1721
|
-
/**
|
1722
|
-
* ID of a site visitor that has logged in to the site.
|
1723
|
-
* @format GUID
|
1724
|
-
*/
|
1725
|
-
memberId?: string;
|
1726
|
-
/**
|
1727
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
1728
|
-
* @format GUID
|
1729
|
-
*/
|
1730
|
-
wixUserId?: string;
|
1731
|
-
/**
|
1732
|
-
* ID of an app.
|
1733
|
-
* @format GUID
|
1734
|
-
*/
|
1735
|
-
appId?: string;
|
1736
|
-
/** @readonly */
|
1737
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
1738
|
-
}
|
1739
|
-
/** @oneof */
|
1740
|
-
export interface IdentificationDataIdOneOf {
|
1741
|
-
/**
|
1742
|
-
* ID of a site visitor that has not logged in to the site.
|
1743
|
-
* @format GUID
|
1744
|
-
*/
|
1745
|
-
anonymousVisitorId?: string;
|
1746
|
-
/**
|
1747
|
-
* ID of a site visitor that has logged in to the site.
|
1748
|
-
* @format GUID
|
1749
|
-
*/
|
1750
|
-
memberId?: string;
|
1751
|
-
/**
|
1752
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
1753
|
-
* @format GUID
|
1754
|
-
*/
|
1755
|
-
wixUserId?: string;
|
1756
|
-
/**
|
1757
|
-
* ID of an app.
|
1758
|
-
* @format GUID
|
1759
|
-
*/
|
1760
|
-
appId?: string;
|
1761
|
-
}
|
1762
|
-
export declare enum WebhookIdentityType {
|
1763
|
-
UNKNOWN = "UNKNOWN",
|
1764
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
1765
|
-
MEMBER = "MEMBER",
|
1766
|
-
WIX_USER = "WIX_USER",
|
1767
|
-
APP = "APP"
|
1768
|
-
}
|
1769
|
-
/** @enumType */
|
1770
|
-
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
1626
|
+
|
1627
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
1628
|
+
getUrl: (context: any) => string;
|
1629
|
+
httpMethod: K;
|
1630
|
+
path: string;
|
1631
|
+
pathParams: M;
|
1632
|
+
__requestType: T;
|
1633
|
+
__originalRequestType: S;
|
1634
|
+
__responseType: Q;
|
1635
|
+
__originalResponseType: R;
|
1636
|
+
};
|
1637
|
+
declare function createMemberAbout(): __PublicMethodMetaInfo<'POST', {}, CreateMemberAboutRequest$1, CreateMemberAboutRequest, CreateMemberAboutResponse$1, CreateMemberAboutResponse>;
|
1638
|
+
declare function updateMemberAbout(): __PublicMethodMetaInfo<'PATCH', {
|
1639
|
+
memberAboutId: string;
|
1640
|
+
}, UpdateMemberAboutRequest$1, UpdateMemberAboutRequest, UpdateMemberAboutResponse$1, UpdateMemberAboutResponse>;
|
1641
|
+
declare function deleteMemberAbout(): __PublicMethodMetaInfo<'DELETE', {
|
1642
|
+
id: string;
|
1643
|
+
}, DeleteMemberAboutRequest$1, DeleteMemberAboutRequest, DeleteMemberAboutResponse$1, DeleteMemberAboutResponse>;
|
1644
|
+
declare function getMemberAbout(): __PublicMethodMetaInfo<'GET', {
|
1645
|
+
id: string;
|
1646
|
+
}, GetMemberAboutRequest$1, GetMemberAboutRequest, GetMemberAboutResponse$1, GetMemberAboutResponse>;
|
1647
|
+
declare function getMyMemberAbout(): __PublicMethodMetaInfo<'GET', {}, GetMyMemberAboutRequest$1, GetMyMemberAboutRequest, GetMyMemberAboutResponse$1, GetMyMemberAboutResponse>;
|
1648
|
+
declare function queryMemberAbouts(): __PublicMethodMetaInfo<'POST', {}, QueryMemberAboutsRequest$1, QueryMemberAboutsRequest, QueryMemberAboutsResponse$1, QueryMemberAboutsResponse>;
|
1649
|
+
|
1650
|
+
export { type __PublicMethodMetaInfo, createMemberAbout, deleteMemberAbout, getMemberAbout, getMyMemberAbout, queryMemberAbouts, updateMemberAbout };
|