@wix/auto_sdk_members_members-about 1.0.19 → 1.0.21
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 +1199 -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-35AgPK6C.d.ts} +195 -383
- package/build/cjs/meta.d.ts +1640 -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 +1138 -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-35AgPK6C.d.mts} +195 -383
- package/build/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → es/meta.d.mts} +198 -328
- 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 +1199 -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-35AgPK6C.d.ts} +195 -383
- package/build/internal/cjs/meta.d.ts +1640 -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 +1138 -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-35AgPK6C.d.mts} +195 -383
- package/build/internal/{cjs/src/members-about-v2-member-about-members-about.types.d.ts → es/meta.d.mts} +198 -328
- package/build/internal/es/meta.mjs +592 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +10 -9
- 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-35AgPK6C.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. */
|
@@ -1114,7 +1116,7 @@ export interface Decoration extends DecorationDataOneOf {
|
|
1114
1116
|
type?: DecorationTypeWithLiterals;
|
1115
1117
|
}
|
1116
1118
|
/** @oneof */
|
1117
|
-
|
1119
|
+
interface DecorationDataOneOf {
|
1118
1120
|
/** Data for an anchor link decoration. */
|
1119
1121
|
anchorData?: AnchorData;
|
1120
1122
|
/** Data for a color decoration. */
|
@@ -1136,7 +1138,7 @@ export interface DecorationDataOneOf {
|
|
1136
1138
|
/** Data for a strikethrough decoration. Defaults to `true`. */
|
1137
1139
|
strikethroughData?: boolean | null;
|
1138
1140
|
}
|
1139
|
-
|
1141
|
+
declare enum DecorationType {
|
1140
1142
|
BOLD = "BOLD",
|
1141
1143
|
ITALIC = "ITALIC",
|
1142
1144
|
UNDERLINE = "UNDERLINE",
|
@@ -1150,22 +1152,22 @@ export declare enum DecorationType {
|
|
1150
1152
|
STRIKETHROUGH = "STRIKETHROUGH"
|
1151
1153
|
}
|
1152
1154
|
/** @enumType */
|
1153
|
-
|
1154
|
-
|
1155
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
1156
|
+
interface AnchorData {
|
1155
1157
|
/** The target node's ID. */
|
1156
1158
|
anchor?: string;
|
1157
1159
|
}
|
1158
|
-
|
1160
|
+
interface ColorData {
|
1159
1161
|
/** The text's background color as a hexadecimal value. */
|
1160
1162
|
background?: string | null;
|
1161
1163
|
/** The text's foreground color as a hexadecimal value. */
|
1162
1164
|
foreground?: string | null;
|
1163
1165
|
}
|
1164
|
-
|
1166
|
+
interface LinkData {
|
1165
1167
|
/** Link details. */
|
1166
1168
|
link?: Link;
|
1167
1169
|
}
|
1168
|
-
|
1170
|
+
interface MentionData {
|
1169
1171
|
/** The mentioned user's name. */
|
1170
1172
|
name?: string;
|
1171
1173
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
@@ -1173,23 +1175,23 @@ export interface MentionData {
|
|
1173
1175
|
/** Mentioned user's ID. */
|
1174
1176
|
id?: string | null;
|
1175
1177
|
}
|
1176
|
-
|
1178
|
+
interface FontSizeData {
|
1177
1179
|
/** The units used for the font size. */
|
1178
1180
|
unit?: FontTypeWithLiterals;
|
1179
1181
|
/** Font size value. */
|
1180
1182
|
value?: number | null;
|
1181
1183
|
}
|
1182
|
-
|
1184
|
+
declare enum FontType {
|
1183
1185
|
PX = "PX",
|
1184
1186
|
EM = "EM"
|
1185
1187
|
}
|
1186
1188
|
/** @enumType */
|
1187
|
-
|
1188
|
-
|
1189
|
+
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
1190
|
+
interface SpoilerData {
|
1189
1191
|
/** Spoiler ID. */
|
1190
1192
|
id?: string | null;
|
1191
1193
|
}
|
1192
|
-
|
1194
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
1193
1195
|
/** Data for embedded Wix Bookings content. */
|
1194
1196
|
bookingData?: BookingData;
|
1195
1197
|
/** Data for embedded Wix Events content. */
|
@@ -1211,30 +1213,30 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1211
1213
|
image?: Media;
|
1212
1214
|
}
|
1213
1215
|
/** @oneof */
|
1214
|
-
|
1216
|
+
interface AppEmbedDataAppDataOneOf {
|
1215
1217
|
/** Data for embedded Wix Bookings content. */
|
1216
1218
|
bookingData?: BookingData;
|
1217
1219
|
/** Data for embedded Wix Events content. */
|
1218
1220
|
eventData?: EventData;
|
1219
1221
|
}
|
1220
|
-
|
1222
|
+
declare enum AppType {
|
1221
1223
|
PRODUCT = "PRODUCT",
|
1222
1224
|
EVENT = "EVENT",
|
1223
1225
|
BOOKING = "BOOKING"
|
1224
1226
|
}
|
1225
1227
|
/** @enumType */
|
1226
|
-
|
1227
|
-
|
1228
|
+
type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
|
1229
|
+
interface BookingData {
|
1228
1230
|
/** Booking duration in minutes. */
|
1229
1231
|
durations?: string | null;
|
1230
1232
|
}
|
1231
|
-
|
1233
|
+
interface EventData {
|
1232
1234
|
/** Event schedule. */
|
1233
1235
|
scheduling?: string | null;
|
1234
1236
|
/** Event location. */
|
1235
1237
|
location?: string | null;
|
1236
1238
|
}
|
1237
|
-
|
1239
|
+
interface VideoData {
|
1238
1240
|
/** Styling for the video's container. */
|
1239
1241
|
containerData?: PluginContainerData;
|
1240
1242
|
/** Video details. */
|
@@ -1248,7 +1250,7 @@ export interface VideoData {
|
|
1248
1250
|
/** Video options. */
|
1249
1251
|
options?: PlaybackOptions;
|
1250
1252
|
}
|
1251
|
-
|
1253
|
+
interface PlaybackOptions {
|
1252
1254
|
/** Sets whether the media will automatically start playing. */
|
1253
1255
|
autoPlay?: boolean | null;
|
1254
1256
|
/** Sets whether media's will be looped. */
|
@@ -1256,7 +1258,7 @@ export interface PlaybackOptions {
|
|
1256
1258
|
/** Sets whether media's controls will be shown. */
|
1257
1259
|
showControls?: boolean | null;
|
1258
1260
|
}
|
1259
|
-
|
1261
|
+
interface EmbedData {
|
1260
1262
|
/** Styling for the oEmbed node's container. */
|
1261
1263
|
containerData?: PluginContainerData;
|
1262
1264
|
/** An [oEmbed](https://www.oembed.com) object. */
|
@@ -1264,7 +1266,7 @@ export interface EmbedData {
|
|
1264
1266
|
/** Origin asset source. */
|
1265
1267
|
src?: string | null;
|
1266
1268
|
}
|
1267
|
-
|
1269
|
+
interface Oembed {
|
1268
1270
|
/** The resource type. */
|
1269
1271
|
type?: string | null;
|
1270
1272
|
/** The width of the resource specified in the `url` property in pixels. */
|
@@ -1296,7 +1298,7 @@ export interface Oembed {
|
|
1296
1298
|
/** The oEmbed version number. This value must be `1.0`. */
|
1297
1299
|
version?: string | null;
|
1298
1300
|
}
|
1299
|
-
|
1301
|
+
interface CollapsibleListData {
|
1300
1302
|
/** Styling for the collapsible list's container. */
|
1301
1303
|
containerData?: PluginContainerData;
|
1302
1304
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
@@ -1308,7 +1310,7 @@ export interface CollapsibleListData {
|
|
1308
1310
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
1309
1311
|
isQapageData?: boolean | null;
|
1310
1312
|
}
|
1311
|
-
|
1313
|
+
declare enum InitialExpandedItems {
|
1312
1314
|
/** First item will be expended initally */
|
1313
1315
|
FIRST = "FIRST",
|
1314
1316
|
/** All items will expended initally */
|
@@ -1317,16 +1319,16 @@ export declare enum InitialExpandedItems {
|
|
1317
1319
|
NONE = "NONE"
|
1318
1320
|
}
|
1319
1321
|
/** @enumType */
|
1320
|
-
|
1321
|
-
|
1322
|
+
type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
|
1323
|
+
declare enum Direction {
|
1322
1324
|
/** Left-to-right */
|
1323
1325
|
LTR = "LTR",
|
1324
1326
|
/** Right-to-left */
|
1325
1327
|
RTL = "RTL"
|
1326
1328
|
}
|
1327
1329
|
/** @enumType */
|
1328
|
-
|
1329
|
-
|
1330
|
+
type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
|
1331
|
+
interface TableData {
|
1330
1332
|
/** Styling for the table's container. */
|
1331
1333
|
containerData?: PluginContainerData;
|
1332
1334
|
/** The table's dimensions. */
|
@@ -1341,7 +1343,7 @@ export interface TableData {
|
|
1341
1343
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
1342
1344
|
columnHeader?: boolean | null;
|
1343
1345
|
}
|
1344
|
-
|
1346
|
+
interface Dimensions {
|
1345
1347
|
/** An array representing relative width of each column in relation to the other columns. */
|
1346
1348
|
colsWidthRatio?: number[];
|
1347
1349
|
/** An array representing the height of each row in pixels. */
|
@@ -1349,13 +1351,13 @@ export interface Dimensions {
|
|
1349
1351
|
/** An array representing the minimum width of each column in pixels. */
|
1350
1352
|
colsMinWidth?: number[];
|
1351
1353
|
}
|
1352
|
-
|
1354
|
+
interface TableCellData {
|
1353
1355
|
/** Styling for the cell's background color and text alignment. */
|
1354
1356
|
cellStyle?: CellStyle;
|
1355
1357
|
/** The cell's border colors. */
|
1356
1358
|
borderColors?: BorderColors;
|
1357
1359
|
}
|
1358
|
-
|
1360
|
+
declare enum VerticalAlignment {
|
1359
1361
|
/** Top alignment */
|
1360
1362
|
TOP = "TOP",
|
1361
1363
|
/** Middle alignment */
|
@@ -1364,8 +1366,8 @@ export declare enum VerticalAlignment {
|
|
1364
1366
|
BOTTOM = "BOTTOM"
|
1365
1367
|
}
|
1366
1368
|
/** @enumType */
|
1367
|
-
|
1368
|
-
|
1369
|
+
type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
|
1370
|
+
interface CellStyle {
|
1369
1371
|
/** Vertical alignment for the cell's text. */
|
1370
1372
|
verticalAlignment?: VerticalAlignmentWithLiterals;
|
1371
1373
|
/**
|
@@ -1374,7 +1376,7 @@ export interface CellStyle {
|
|
1374
1376
|
*/
|
1375
1377
|
backgroundColor?: string | null;
|
1376
1378
|
}
|
1377
|
-
|
1379
|
+
interface BorderColors {
|
1378
1380
|
/**
|
1379
1381
|
* Left border color as a hexadecimal value.
|
1380
1382
|
* @format COLOR_HEX
|
@@ -1396,28 +1398,7 @@ export interface BorderColors {
|
|
1396
1398
|
*/
|
1397
1399
|
bottom?: string | null;
|
1398
1400
|
}
|
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 {
|
1401
|
+
interface AudioData {
|
1421
1402
|
/** Styling for the audio node's container. */
|
1422
1403
|
containerData?: PluginContainerData;
|
1423
1404
|
/** Audio file details. */
|
@@ -1433,7 +1414,7 @@ export interface AudioData {
|
|
1433
1414
|
/** An HTML version of the audio node. */
|
1434
1415
|
html?: string | null;
|
1435
1416
|
}
|
1436
|
-
|
1417
|
+
interface OrderedListData {
|
1437
1418
|
/** Indentation level from 0-4. */
|
1438
1419
|
indentation?: number;
|
1439
1420
|
/** Offset level from 0-4. */
|
@@ -1441,24 +1422,24 @@ export interface OrderedListData {
|
|
1441
1422
|
/** List start number. */
|
1442
1423
|
start?: number | null;
|
1443
1424
|
}
|
1444
|
-
|
1425
|
+
interface BulletedListData {
|
1445
1426
|
/** Indentation level from 0-4. */
|
1446
1427
|
indentation?: number;
|
1447
1428
|
/** Offset level from 0-4. */
|
1448
1429
|
offset?: number | null;
|
1449
1430
|
}
|
1450
|
-
|
1431
|
+
interface BlockquoteData {
|
1451
1432
|
/** Indentation level from 1-4. */
|
1452
1433
|
indentation?: number;
|
1453
1434
|
}
|
1454
|
-
|
1435
|
+
interface CaptionData {
|
1455
1436
|
textStyle?: TextStyle;
|
1456
1437
|
}
|
1457
|
-
|
1438
|
+
interface LayoutCellData {
|
1458
1439
|
/** Size of the cell in 12 columns grid. */
|
1459
1440
|
colSpan?: number | null;
|
1460
1441
|
}
|
1461
|
-
|
1442
|
+
interface Metadata {
|
1462
1443
|
/** Schema version. */
|
1463
1444
|
version?: number;
|
1464
1445
|
/**
|
@@ -1475,7 +1456,7 @@ export interface Metadata {
|
|
1475
1456
|
/** Object ID. */
|
1476
1457
|
id?: string | null;
|
1477
1458
|
}
|
1478
|
-
|
1459
|
+
interface DocumentStyle {
|
1479
1460
|
/** Styling for H1 nodes. */
|
1480
1461
|
headerOne?: TextNodeStyle;
|
1481
1462
|
/** Styling for H2 nodes. */
|
@@ -1495,7 +1476,7 @@ export interface DocumentStyle {
|
|
1495
1476
|
/** Styling for code block nodes. */
|
1496
1477
|
codeBlock?: TextNodeStyle;
|
1497
1478
|
}
|
1498
|
-
|
1479
|
+
interface TextNodeStyle {
|
1499
1480
|
/** The decorations to apply to the node. */
|
1500
1481
|
decorations?: Decoration[];
|
1501
1482
|
/** Padding and background color for the node. */
|
@@ -1503,53 +1484,53 @@ export interface TextNodeStyle {
|
|
1503
1484
|
/** Line height for text in the node. */
|
1504
1485
|
lineHeight?: string | null;
|
1505
1486
|
}
|
1506
|
-
|
1487
|
+
interface CreateMemberAboutRequest {
|
1507
1488
|
/** The "About" section content to create. */
|
1508
1489
|
memberAbout: MemberAbout;
|
1509
1490
|
}
|
1510
|
-
|
1491
|
+
interface CreateMemberAboutResponse {
|
1511
1492
|
/** The created "About" section content. */
|
1512
1493
|
memberAbout?: MemberAbout;
|
1513
1494
|
}
|
1514
|
-
|
1495
|
+
interface UpdateMemberAboutRequest {
|
1515
1496
|
/** The "About" section content to update. */
|
1516
1497
|
memberAbout: MemberAbout;
|
1517
1498
|
}
|
1518
|
-
|
1499
|
+
interface UpdateMemberAboutResponse {
|
1519
1500
|
/** The updated "About" section content. */
|
1520
1501
|
memberAbout?: MemberAbout;
|
1521
1502
|
}
|
1522
|
-
|
1503
|
+
interface DeleteMemberAboutRequest {
|
1523
1504
|
/**
|
1524
1505
|
* ID of the "About" section content to delete.
|
1525
1506
|
* @format GUID
|
1526
1507
|
*/
|
1527
1508
|
id: string;
|
1528
1509
|
}
|
1529
|
-
|
1510
|
+
interface DeleteMemberAboutResponse {
|
1530
1511
|
}
|
1531
|
-
|
1512
|
+
interface GetMemberAboutRequest {
|
1532
1513
|
/**
|
1533
1514
|
* ID of the "About" section content to retrieve.
|
1534
1515
|
* @format GUID
|
1535
1516
|
*/
|
1536
1517
|
id: string;
|
1537
1518
|
}
|
1538
|
-
|
1519
|
+
interface GetMemberAboutResponse {
|
1539
1520
|
/** The retrieved "About" section content. */
|
1540
1521
|
memberAbout?: MemberAbout;
|
1541
1522
|
}
|
1542
|
-
|
1523
|
+
interface GetMyMemberAboutRequest {
|
1543
1524
|
}
|
1544
|
-
|
1525
|
+
interface GetMyMemberAboutResponse {
|
1545
1526
|
/** The "About" section content of the current member. */
|
1546
1527
|
memberAbout?: MemberAbout;
|
1547
1528
|
}
|
1548
|
-
|
1529
|
+
interface QueryMemberAboutsRequest {
|
1549
1530
|
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */
|
1550
1531
|
query?: CursorQuery;
|
1551
1532
|
}
|
1552
|
-
|
1533
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
1553
1534
|
/** 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
1535
|
cursorPaging?: CursorPaging;
|
1555
1536
|
/**
|
@@ -1568,25 +1549,25 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1568
1549
|
sort?: Sorting[];
|
1569
1550
|
}
|
1570
1551
|
/** @oneof */
|
1571
|
-
|
1552
|
+
interface CursorQueryPagingMethodOneOf {
|
1572
1553
|
/** 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
1554
|
cursorPaging?: CursorPaging;
|
1574
1555
|
}
|
1575
|
-
|
1556
|
+
interface Sorting {
|
1576
1557
|
/** Name of the field to sort by. */
|
1577
1558
|
fieldName?: string;
|
1578
1559
|
/** Sort order. */
|
1579
1560
|
order?: SortOrderWithLiterals;
|
1580
1561
|
}
|
1581
|
-
|
1562
|
+
declare enum SortOrder {
|
1582
1563
|
/** Sort is in ascending order. */
|
1583
1564
|
ASC = "ASC",
|
1584
1565
|
/** Sort is in the descending order. */
|
1585
1566
|
DESC = "DESC"
|
1586
1567
|
}
|
1587
1568
|
/** @enumType */
|
1588
|
-
|
1589
|
-
|
1569
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
1570
|
+
interface CursorPaging {
|
1590
1571
|
/**
|
1591
1572
|
* Number of items to load.
|
1592
1573
|
* @max 100
|
@@ -1601,13 +1582,13 @@ export interface CursorPaging {
|
|
1601
1582
|
*/
|
1602
1583
|
cursor?: string | null;
|
1603
1584
|
}
|
1604
|
-
|
1585
|
+
interface QueryMemberAboutsResponse {
|
1605
1586
|
/** The retrieved content from the "About" sections. */
|
1606
1587
|
memberAbouts?: MemberAbout[];
|
1607
1588
|
/** Metadata for the paginated results. */
|
1608
1589
|
metadata?: CursorPagingMetadata;
|
1609
1590
|
}
|
1610
|
-
|
1591
|
+
interface CursorPagingMetadata {
|
1611
1592
|
/** Number of items returned in current page. */
|
1612
1593
|
count?: number | null;
|
1613
1594
|
/** Cursor strings that point to the next page, previous page, or both. */
|
@@ -1620,7 +1601,7 @@ export interface CursorPagingMetadata {
|
|
1620
1601
|
*/
|
1621
1602
|
hasNext?: boolean | null;
|
1622
1603
|
}
|
1623
|
-
|
1604
|
+
interface Cursors {
|
1624
1605
|
/**
|
1625
1606
|
* Cursor string pointing to the next page in the list of results.
|
1626
1607
|
* @maxLength 16000
|
@@ -1632,139 +1613,28 @@ export interface Cursors {
|
|
1632
1613
|
*/
|
1633
1614
|
prev?: string | null;
|
1634
1615
|
}
|
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';
|
1616
|
+
|
1617
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
1618
|
+
getUrl: (context: any) => string;
|
1619
|
+
httpMethod: K;
|
1620
|
+
path: string;
|
1621
|
+
pathParams: M;
|
1622
|
+
__requestType: T;
|
1623
|
+
__originalRequestType: S;
|
1624
|
+
__responseType: Q;
|
1625
|
+
__originalResponseType: R;
|
1626
|
+
};
|
1627
|
+
declare function createMemberAbout(): __PublicMethodMetaInfo<'POST', {}, CreateMemberAboutRequest$1, CreateMemberAboutRequest, CreateMemberAboutResponse$1, CreateMemberAboutResponse>;
|
1628
|
+
declare function updateMemberAbout(): __PublicMethodMetaInfo<'PATCH', {
|
1629
|
+
memberAboutId: string;
|
1630
|
+
}, UpdateMemberAboutRequest$1, UpdateMemberAboutRequest, UpdateMemberAboutResponse$1, UpdateMemberAboutResponse>;
|
1631
|
+
declare function deleteMemberAbout(): __PublicMethodMetaInfo<'DELETE', {
|
1632
|
+
id: string;
|
1633
|
+
}, DeleteMemberAboutRequest$1, DeleteMemberAboutRequest, DeleteMemberAboutResponse$1, DeleteMemberAboutResponse>;
|
1634
|
+
declare function getMemberAbout(): __PublicMethodMetaInfo<'GET', {
|
1635
|
+
id: string;
|
1636
|
+
}, GetMemberAboutRequest$1, GetMemberAboutRequest, GetMemberAboutResponse$1, GetMemberAboutResponse>;
|
1637
|
+
declare function getMyMemberAbout(): __PublicMethodMetaInfo<'GET', {}, GetMyMemberAboutRequest$1, GetMyMemberAboutRequest, GetMyMemberAboutResponse$1, GetMyMemberAboutResponse>;
|
1638
|
+
declare function queryMemberAbouts(): __PublicMethodMetaInfo<'POST', {}, QueryMemberAboutsRequest$1, QueryMemberAboutsRequest, QueryMemberAboutsResponse$1, QueryMemberAboutsResponse>;
|
1639
|
+
|
1640
|
+
export { type __PublicMethodMetaInfo, createMemberAbout, deleteMemberAbout, getMemberAbout, getMyMemberAbout, queryMemberAbouts, updateMemberAbout };
|