@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
package/build/cjs/meta.d.ts
CHANGED
@@ -1 +1,1640 @@
|
|
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.js';
|
2
|
+
|
3
|
+
interface MemberAbout {
|
4
|
+
/**
|
5
|
+
* ID of the "About" section content.
|
6
|
+
* @format GUID
|
7
|
+
* @readonly
|
8
|
+
*/
|
9
|
+
id?: string | null;
|
10
|
+
/** Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content. */
|
11
|
+
revision?: string | null;
|
12
|
+
/**
|
13
|
+
* Member ID.
|
14
|
+
* @format GUID
|
15
|
+
*/
|
16
|
+
memberId?: string | null;
|
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> */
|
18
|
+
content?: RichContent;
|
19
|
+
}
|
20
|
+
interface RichContent {
|
21
|
+
/** Node objects representing a rich content document. */
|
22
|
+
nodes?: Node[];
|
23
|
+
/** Object metadata. */
|
24
|
+
metadata?: Metadata;
|
25
|
+
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
26
|
+
documentStyle?: DocumentStyle;
|
27
|
+
}
|
28
|
+
interface Node extends NodeDataOneOf {
|
29
|
+
/** Data for a button node. */
|
30
|
+
buttonData?: ButtonData;
|
31
|
+
/** Data for a code block node. */
|
32
|
+
codeBlockData?: CodeBlockData;
|
33
|
+
/** Data for a divider node. */
|
34
|
+
dividerData?: DividerData;
|
35
|
+
/** Data for a file node. */
|
36
|
+
fileData?: FileData;
|
37
|
+
/** Data for a gallery node. */
|
38
|
+
galleryData?: GalleryData;
|
39
|
+
/** Data for a GIF node. */
|
40
|
+
gifData?: GIFData;
|
41
|
+
/** Data for a heading node. */
|
42
|
+
headingData?: HeadingData;
|
43
|
+
/** Data for an embedded HTML node. */
|
44
|
+
htmlData?: HTMLData;
|
45
|
+
/** Data for an image node. */
|
46
|
+
imageData?: ImageData;
|
47
|
+
/** Data for a link preview node. */
|
48
|
+
linkPreviewData?: LinkPreviewData;
|
49
|
+
/** @deprecated */
|
50
|
+
mapData?: MapData;
|
51
|
+
/** Data for a paragraph node. */
|
52
|
+
paragraphData?: ParagraphData;
|
53
|
+
/** Data for a poll node. */
|
54
|
+
pollData?: PollData;
|
55
|
+
/** Data for a text node. Used to apply decorations to text. */
|
56
|
+
textData?: TextData;
|
57
|
+
/** Data for an app embed node. */
|
58
|
+
appEmbedData?: AppEmbedData;
|
59
|
+
/** Data for a video node. */
|
60
|
+
videoData?: VideoData;
|
61
|
+
/** Data for an oEmbed node. */
|
62
|
+
embedData?: EmbedData;
|
63
|
+
/** Data for a collapsible list node. */
|
64
|
+
collapsibleListData?: CollapsibleListData;
|
65
|
+
/** Data for a table node. */
|
66
|
+
tableData?: TableData;
|
67
|
+
/** Data for a table cell node. */
|
68
|
+
tableCellData?: TableCellData;
|
69
|
+
/** Data for a custom external node. */
|
70
|
+
externalData?: Record<string, any> | null;
|
71
|
+
/** Data for an audio node. */
|
72
|
+
audioData?: AudioData;
|
73
|
+
/** Data for an ordered list node. */
|
74
|
+
orderedListData?: OrderedListData;
|
75
|
+
/** Data for a bulleted list node. */
|
76
|
+
bulletedListData?: BulletedListData;
|
77
|
+
/** Data for a block quote node. */
|
78
|
+
blockquoteData?: BlockquoteData;
|
79
|
+
/** Data for a caption node. */
|
80
|
+
captionData?: CaptionData;
|
81
|
+
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
82
|
+
layoutCellData?: LayoutCellData;
|
83
|
+
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
84
|
+
type?: NodeTypeWithLiterals;
|
85
|
+
/** Node ID. */
|
86
|
+
id?: string;
|
87
|
+
/** A list of child nodes. */
|
88
|
+
nodes?: Node[];
|
89
|
+
/** Padding and background color styling for the node. */
|
90
|
+
style?: NodeStyle;
|
91
|
+
}
|
92
|
+
/** @oneof */
|
93
|
+
interface NodeDataOneOf {
|
94
|
+
/** Data for a button node. */
|
95
|
+
buttonData?: ButtonData;
|
96
|
+
/** Data for a code block node. */
|
97
|
+
codeBlockData?: CodeBlockData;
|
98
|
+
/** Data for a divider node. */
|
99
|
+
dividerData?: DividerData;
|
100
|
+
/** Data for a file node. */
|
101
|
+
fileData?: FileData;
|
102
|
+
/** Data for a gallery node. */
|
103
|
+
galleryData?: GalleryData;
|
104
|
+
/** Data for a GIF node. */
|
105
|
+
gifData?: GIFData;
|
106
|
+
/** Data for a heading node. */
|
107
|
+
headingData?: HeadingData;
|
108
|
+
/** Data for an embedded HTML node. */
|
109
|
+
htmlData?: HTMLData;
|
110
|
+
/** Data for an image node. */
|
111
|
+
imageData?: ImageData;
|
112
|
+
/** Data for a link preview node. */
|
113
|
+
linkPreviewData?: LinkPreviewData;
|
114
|
+
/** @deprecated */
|
115
|
+
mapData?: MapData;
|
116
|
+
/** Data for a paragraph node. */
|
117
|
+
paragraphData?: ParagraphData;
|
118
|
+
/** Data for a poll node. */
|
119
|
+
pollData?: PollData;
|
120
|
+
/** Data for a text node. Used to apply decorations to text. */
|
121
|
+
textData?: TextData;
|
122
|
+
/** Data for an app embed node. */
|
123
|
+
appEmbedData?: AppEmbedData;
|
124
|
+
/** Data for a video node. */
|
125
|
+
videoData?: VideoData;
|
126
|
+
/** Data for an oEmbed node. */
|
127
|
+
embedData?: EmbedData;
|
128
|
+
/** Data for a collapsible list node. */
|
129
|
+
collapsibleListData?: CollapsibleListData;
|
130
|
+
/** Data for a table node. */
|
131
|
+
tableData?: TableData;
|
132
|
+
/** Data for a table cell node. */
|
133
|
+
tableCellData?: TableCellData;
|
134
|
+
/** Data for a custom external node. */
|
135
|
+
externalData?: Record<string, any> | null;
|
136
|
+
/** Data for an audio node. */
|
137
|
+
audioData?: AudioData;
|
138
|
+
/** Data for an ordered list node. */
|
139
|
+
orderedListData?: OrderedListData;
|
140
|
+
/** Data for a bulleted list node. */
|
141
|
+
bulletedListData?: BulletedListData;
|
142
|
+
/** Data for a block quote node. */
|
143
|
+
blockquoteData?: BlockquoteData;
|
144
|
+
/** Data for a caption node. */
|
145
|
+
captionData?: CaptionData;
|
146
|
+
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
147
|
+
layoutCellData?: LayoutCellData;
|
148
|
+
}
|
149
|
+
declare enum NodeType {
|
150
|
+
PARAGRAPH = "PARAGRAPH",
|
151
|
+
TEXT = "TEXT",
|
152
|
+
HEADING = "HEADING",
|
153
|
+
BULLETED_LIST = "BULLETED_LIST",
|
154
|
+
ORDERED_LIST = "ORDERED_LIST",
|
155
|
+
LIST_ITEM = "LIST_ITEM",
|
156
|
+
BLOCKQUOTE = "BLOCKQUOTE",
|
157
|
+
CODE_BLOCK = "CODE_BLOCK",
|
158
|
+
VIDEO = "VIDEO",
|
159
|
+
DIVIDER = "DIVIDER",
|
160
|
+
FILE = "FILE",
|
161
|
+
GALLERY = "GALLERY",
|
162
|
+
GIF = "GIF",
|
163
|
+
HTML = "HTML",
|
164
|
+
IMAGE = "IMAGE",
|
165
|
+
LINK_PREVIEW = "LINK_PREVIEW",
|
166
|
+
/** @deprecated */
|
167
|
+
MAP = "MAP",
|
168
|
+
POLL = "POLL",
|
169
|
+
APP_EMBED = "APP_EMBED",
|
170
|
+
BUTTON = "BUTTON",
|
171
|
+
COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST",
|
172
|
+
TABLE = "TABLE",
|
173
|
+
EMBED = "EMBED",
|
174
|
+
COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM",
|
175
|
+
COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE",
|
176
|
+
COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY",
|
177
|
+
TABLE_CELL = "TABLE_CELL",
|
178
|
+
TABLE_ROW = "TABLE_ROW",
|
179
|
+
EXTERNAL = "EXTERNAL",
|
180
|
+
AUDIO = "AUDIO",
|
181
|
+
CAPTION = "CAPTION",
|
182
|
+
LAYOUT = "LAYOUT",
|
183
|
+
LAYOUT_CELL = "LAYOUT_CELL"
|
184
|
+
}
|
185
|
+
/** @enumType */
|
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 {
|
188
|
+
/** The top padding value in pixels. */
|
189
|
+
paddingTop?: string | null;
|
190
|
+
/** The bottom padding value in pixels. */
|
191
|
+
paddingBottom?: string | null;
|
192
|
+
/** The background color as a hexadecimal value. */
|
193
|
+
backgroundColor?: string | null;
|
194
|
+
}
|
195
|
+
interface ButtonData {
|
196
|
+
/** Styling for the button's container. */
|
197
|
+
containerData?: PluginContainerData;
|
198
|
+
/** The button type. */
|
199
|
+
type?: TypeWithLiterals;
|
200
|
+
/** Styling for the button. */
|
201
|
+
styles?: Styles;
|
202
|
+
/** The text to display on the button. */
|
203
|
+
text?: string | null;
|
204
|
+
/** Button link details. */
|
205
|
+
link?: Link;
|
206
|
+
}
|
207
|
+
interface Border {
|
208
|
+
/**
|
209
|
+
* Deprecated: Use `borderWidth` in `styles` instead.
|
210
|
+
* @deprecated
|
211
|
+
*/
|
212
|
+
width?: number | null;
|
213
|
+
/**
|
214
|
+
* Deprecated: Use `borderRadius` in `styles` instead.
|
215
|
+
* @deprecated
|
216
|
+
*/
|
217
|
+
radius?: number | null;
|
218
|
+
}
|
219
|
+
interface Colors {
|
220
|
+
/**
|
221
|
+
* Deprecated: Use `textColor` in `styles` instead.
|
222
|
+
* @deprecated
|
223
|
+
*/
|
224
|
+
text?: string | null;
|
225
|
+
/**
|
226
|
+
* Deprecated: Use `borderColor` in `styles` instead.
|
227
|
+
* @deprecated
|
228
|
+
*/
|
229
|
+
border?: string | null;
|
230
|
+
/**
|
231
|
+
* Deprecated: Use `backgroundColor` in `styles` instead.
|
232
|
+
* @deprecated
|
233
|
+
*/
|
234
|
+
background?: string | null;
|
235
|
+
}
|
236
|
+
interface PluginContainerData {
|
237
|
+
/** The width of the node when it's displayed. */
|
238
|
+
width?: PluginContainerDataWidth;
|
239
|
+
/** The node's alignment within its container. */
|
240
|
+
alignment?: PluginContainerDataAlignmentWithLiterals;
|
241
|
+
/** Spoiler cover settings for the node. */
|
242
|
+
spoiler?: Spoiler;
|
243
|
+
/** The height of the node when it's displayed. */
|
244
|
+
height?: Height;
|
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`. */
|
246
|
+
textWrap?: boolean | null;
|
247
|
+
}
|
248
|
+
declare enum WidthType {
|
249
|
+
/** Width matches the content width */
|
250
|
+
CONTENT = "CONTENT",
|
251
|
+
/** Small Width */
|
252
|
+
SMALL = "SMALL",
|
253
|
+
/** Width will match the original asset width */
|
254
|
+
ORIGINAL = "ORIGINAL",
|
255
|
+
/** coast-to-coast display */
|
256
|
+
FULL_WIDTH = "FULL_WIDTH"
|
257
|
+
}
|
258
|
+
/** @enumType */
|
259
|
+
type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
|
260
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
261
|
+
/**
|
262
|
+
* One of the following predefined width options:
|
263
|
+
* `CONTENT`: The width of the container matches the content width.
|
264
|
+
* `SMALL`: A small width.
|
265
|
+
* `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
|
266
|
+
* `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
|
267
|
+
*/
|
268
|
+
size?: WidthTypeWithLiterals;
|
269
|
+
/** A custom width value in pixels. */
|
270
|
+
custom?: string | null;
|
271
|
+
}
|
272
|
+
/** @oneof */
|
273
|
+
interface PluginContainerDataWidthDataOneOf {
|
274
|
+
/**
|
275
|
+
* One of the following predefined width options:
|
276
|
+
* `CONTENT`: The width of the container matches the content width.
|
277
|
+
* `SMALL`: A small width.
|
278
|
+
* `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
|
279
|
+
* `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
|
280
|
+
*/
|
281
|
+
size?: WidthTypeWithLiterals;
|
282
|
+
/** A custom width value in pixels. */
|
283
|
+
custom?: string | null;
|
284
|
+
}
|
285
|
+
declare enum PluginContainerDataAlignment {
|
286
|
+
/** Center Alignment */
|
287
|
+
CENTER = "CENTER",
|
288
|
+
/** Left Alignment */
|
289
|
+
LEFT = "LEFT",
|
290
|
+
/** Right Alignment */
|
291
|
+
RIGHT = "RIGHT"
|
292
|
+
}
|
293
|
+
/** @enumType */
|
294
|
+
type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
295
|
+
interface Spoiler {
|
296
|
+
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
297
|
+
enabled?: boolean | null;
|
298
|
+
/** The description displayed on top of the spoiler cover. */
|
299
|
+
description?: string | null;
|
300
|
+
/** The text for the button used to remove the spoiler cover. */
|
301
|
+
buttonText?: string | null;
|
302
|
+
}
|
303
|
+
interface Height {
|
304
|
+
/** A custom height value in pixels. */
|
305
|
+
custom?: string | null;
|
306
|
+
}
|
307
|
+
declare enum Type {
|
308
|
+
/** Regular link button */
|
309
|
+
LINK = "LINK",
|
310
|
+
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
311
|
+
ACTION = "ACTION"
|
312
|
+
}
|
313
|
+
/** @enumType */
|
314
|
+
type TypeWithLiterals = Type | 'LINK' | 'ACTION';
|
315
|
+
interface Styles {
|
316
|
+
/**
|
317
|
+
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
318
|
+
* @deprecated
|
319
|
+
*/
|
320
|
+
border?: Border;
|
321
|
+
/**
|
322
|
+
* Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.
|
323
|
+
* @deprecated
|
324
|
+
*/
|
325
|
+
colors?: Colors;
|
326
|
+
/** Border width in pixels. */
|
327
|
+
borderWidth?: number | null;
|
328
|
+
/**
|
329
|
+
* Deprecated: Use `borderWidth` for normal/hover states instead.
|
330
|
+
* @deprecated
|
331
|
+
*/
|
332
|
+
borderWidthHover?: number | null;
|
333
|
+
/** Border radius in pixels. */
|
334
|
+
borderRadius?: number | null;
|
335
|
+
/**
|
336
|
+
* Border color as a hexadecimal value.
|
337
|
+
* @format COLOR_HEX
|
338
|
+
*/
|
339
|
+
borderColor?: string | null;
|
340
|
+
/**
|
341
|
+
* Border color as a hexadecimal value (hover state).
|
342
|
+
* @format COLOR_HEX
|
343
|
+
*/
|
344
|
+
borderColorHover?: string | null;
|
345
|
+
/**
|
346
|
+
* Text color as a hexadecimal value.
|
347
|
+
* @format COLOR_HEX
|
348
|
+
*/
|
349
|
+
textColor?: string | null;
|
350
|
+
/**
|
351
|
+
* Text color as a hexadecimal value (hover state).
|
352
|
+
* @format COLOR_HEX
|
353
|
+
*/
|
354
|
+
textColorHover?: string | null;
|
355
|
+
/**
|
356
|
+
* Background color as a hexadecimal value.
|
357
|
+
* @format COLOR_HEX
|
358
|
+
*/
|
359
|
+
backgroundColor?: string | null;
|
360
|
+
/**
|
361
|
+
* Background color as a hexadecimal value (hover state).
|
362
|
+
* @format COLOR_HEX
|
363
|
+
*/
|
364
|
+
backgroundColorHover?: string | null;
|
365
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
366
|
+
buttonSize?: string | null;
|
367
|
+
}
|
368
|
+
interface Link extends LinkDataOneOf {
|
369
|
+
/** The absolute URL for the linked document. */
|
370
|
+
url?: string;
|
371
|
+
/** The target node's ID. Used for linking to another node in this object. */
|
372
|
+
anchor?: string;
|
373
|
+
/**
|
374
|
+
* he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:
|
375
|
+
* `SELF` - Default. Opens the linked document in the same frame as the link.
|
376
|
+
* `BLANK` - Opens the linked document in a new browser tab or window.
|
377
|
+
* `PARENT` - Opens the linked document in the link's parent frame.
|
378
|
+
* `TOP` - Opens the linked document in the full body of the link's browser tab or window.
|
379
|
+
*/
|
380
|
+
target?: TargetWithLiterals;
|
381
|
+
/** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
|
382
|
+
rel?: Rel;
|
383
|
+
/** A serialized object used for a custom or external link panel. */
|
384
|
+
customData?: string | null;
|
385
|
+
}
|
386
|
+
/** @oneof */
|
387
|
+
interface LinkDataOneOf {
|
388
|
+
/** The absolute URL for the linked document. */
|
389
|
+
url?: string;
|
390
|
+
/** The target node's ID. Used for linking to another node in this object. */
|
391
|
+
anchor?: string;
|
392
|
+
}
|
393
|
+
declare enum Target {
|
394
|
+
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
395
|
+
SELF = "SELF",
|
396
|
+
/** Opens the linked document in a new window or tab */
|
397
|
+
BLANK = "BLANK",
|
398
|
+
/** Opens the linked document in the parent frame */
|
399
|
+
PARENT = "PARENT",
|
400
|
+
/** Opens the linked document in the full body of the window */
|
401
|
+
TOP = "TOP"
|
402
|
+
}
|
403
|
+
/** @enumType */
|
404
|
+
type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
|
405
|
+
interface Rel {
|
406
|
+
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
407
|
+
nofollow?: boolean | null;
|
408
|
+
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
409
|
+
sponsored?: boolean | null;
|
410
|
+
/** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */
|
411
|
+
ugc?: boolean | null;
|
412
|
+
/** Indicates that this link protect referral information from being passed to the target website. */
|
413
|
+
noreferrer?: boolean | null;
|
414
|
+
}
|
415
|
+
interface CodeBlockData {
|
416
|
+
/** Styling for the code block's text. */
|
417
|
+
textStyle?: TextStyle;
|
418
|
+
}
|
419
|
+
interface TextStyle {
|
420
|
+
/** Text alignment. Defaults to `AUTO`. */
|
421
|
+
textAlignment?: TextAlignmentWithLiterals;
|
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. */
|
423
|
+
lineHeight?: string | null;
|
424
|
+
}
|
425
|
+
declare enum TextAlignment {
|
426
|
+
/** browser default, eqivalent to `initial` */
|
427
|
+
AUTO = "AUTO",
|
428
|
+
/** Left align */
|
429
|
+
LEFT = "LEFT",
|
430
|
+
/** Right align */
|
431
|
+
RIGHT = "RIGHT",
|
432
|
+
/** Center align */
|
433
|
+
CENTER = "CENTER",
|
434
|
+
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
|
435
|
+
JUSTIFY = "JUSTIFY"
|
436
|
+
}
|
437
|
+
/** @enumType */
|
438
|
+
type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
|
439
|
+
interface DividerData {
|
440
|
+
/** Styling for the divider's container. */
|
441
|
+
containerData?: PluginContainerData;
|
442
|
+
/** Divider line style. */
|
443
|
+
lineStyle?: LineStyleWithLiterals;
|
444
|
+
/** Divider width. */
|
445
|
+
width?: WidthWithLiterals;
|
446
|
+
/** Divider alignment. */
|
447
|
+
alignment?: AlignmentWithLiterals;
|
448
|
+
}
|
449
|
+
declare enum LineStyle {
|
450
|
+
/** Single Line */
|
451
|
+
SINGLE = "SINGLE",
|
452
|
+
/** Double Line */
|
453
|
+
DOUBLE = "DOUBLE",
|
454
|
+
/** Dashed Line */
|
455
|
+
DASHED = "DASHED",
|
456
|
+
/** Dotted Line */
|
457
|
+
DOTTED = "DOTTED"
|
458
|
+
}
|
459
|
+
/** @enumType */
|
460
|
+
type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
|
461
|
+
declare enum Width {
|
462
|
+
/** Large line */
|
463
|
+
LARGE = "LARGE",
|
464
|
+
/** Medium line */
|
465
|
+
MEDIUM = "MEDIUM",
|
466
|
+
/** Small line */
|
467
|
+
SMALL = "SMALL"
|
468
|
+
}
|
469
|
+
/** @enumType */
|
470
|
+
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
471
|
+
declare enum Alignment {
|
472
|
+
/** Center alignment */
|
473
|
+
CENTER = "CENTER",
|
474
|
+
/** Left alignment */
|
475
|
+
LEFT = "LEFT",
|
476
|
+
/** Right alignment */
|
477
|
+
RIGHT = "RIGHT"
|
478
|
+
}
|
479
|
+
/** @enumType */
|
480
|
+
type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
481
|
+
interface FileData {
|
482
|
+
/** Styling for the file's container. */
|
483
|
+
containerData?: PluginContainerData;
|
484
|
+
/** The source for the file's data. */
|
485
|
+
src?: FileSource;
|
486
|
+
/** File name. */
|
487
|
+
name?: string | null;
|
488
|
+
/** File type. */
|
489
|
+
type?: string | null;
|
490
|
+
/**
|
491
|
+
* Use `sizeInKb` instead.
|
492
|
+
* @deprecated
|
493
|
+
*/
|
494
|
+
size?: number | null;
|
495
|
+
/** Settings for PDF files. */
|
496
|
+
pdfSettings?: PDFSettings;
|
497
|
+
/** File MIME type. */
|
498
|
+
mimeType?: string | null;
|
499
|
+
/** File path. */
|
500
|
+
path?: string | null;
|
501
|
+
/** File size in KB. */
|
502
|
+
sizeInKb?: string | null;
|
503
|
+
}
|
504
|
+
declare enum ViewMode {
|
505
|
+
/** No PDF view */
|
506
|
+
NONE = "NONE",
|
507
|
+
/** Full PDF view */
|
508
|
+
FULL = "FULL",
|
509
|
+
/** Mini PDF view */
|
510
|
+
MINI = "MINI"
|
511
|
+
}
|
512
|
+
/** @enumType */
|
513
|
+
type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
|
514
|
+
interface FileSource extends FileSourceDataOneOf {
|
515
|
+
/** The absolute URL for the file's source. */
|
516
|
+
url?: string | null;
|
517
|
+
/**
|
518
|
+
* Custom ID. Use `id` instead.
|
519
|
+
* @deprecated
|
520
|
+
*/
|
521
|
+
custom?: string | null;
|
522
|
+
/** An ID that's resolved to a URL by a resolver function. */
|
523
|
+
id?: string | null;
|
524
|
+
/** Indicates whether the file's source is private. Defaults to `false`. */
|
525
|
+
private?: boolean | null;
|
526
|
+
}
|
527
|
+
/** @oneof */
|
528
|
+
interface FileSourceDataOneOf {
|
529
|
+
/** The absolute URL for the file's source. */
|
530
|
+
url?: string | null;
|
531
|
+
/**
|
532
|
+
* Custom ID. Use `id` instead.
|
533
|
+
* @deprecated
|
534
|
+
*/
|
535
|
+
custom?: string | null;
|
536
|
+
/** An ID that's resolved to a URL by a resolver function. */
|
537
|
+
id?: string | null;
|
538
|
+
}
|
539
|
+
interface PDFSettings {
|
540
|
+
/**
|
541
|
+
* PDF view mode. One of the following:
|
542
|
+
* `NONE` : The PDF isn't displayed.
|
543
|
+
* `FULL` : A full page view of the PDF is displayed.
|
544
|
+
* `MINI` : A mini view of the PDF is displayed.
|
545
|
+
*/
|
546
|
+
viewMode?: ViewModeWithLiterals;
|
547
|
+
/** Sets whether the PDF download button is disabled. Defaults to `false`. */
|
548
|
+
disableDownload?: boolean | null;
|
549
|
+
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
550
|
+
disablePrint?: boolean | null;
|
551
|
+
}
|
552
|
+
interface GalleryData {
|
553
|
+
/** Styling for the gallery's container. */
|
554
|
+
containerData?: PluginContainerData;
|
555
|
+
/** The items in the gallery. */
|
556
|
+
items?: Item[];
|
557
|
+
/** Options for defining the gallery's appearance. */
|
558
|
+
options?: GalleryOptions;
|
559
|
+
/** Sets whether the gallery's expand button is disabled. Defaults to `false`. */
|
560
|
+
disableExpand?: boolean | null;
|
561
|
+
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
562
|
+
disableDownload?: boolean | null;
|
563
|
+
}
|
564
|
+
interface Media {
|
565
|
+
/** The source for the media's data. */
|
566
|
+
src?: FileSource;
|
567
|
+
/** Media width in pixels. */
|
568
|
+
width?: number | null;
|
569
|
+
/** Media height in pixels. */
|
570
|
+
height?: number | null;
|
571
|
+
/** Media duration in seconds. Only relevant for audio and video files. */
|
572
|
+
duration?: number | null;
|
573
|
+
}
|
574
|
+
interface Image {
|
575
|
+
/** Image file details. */
|
576
|
+
media?: Media;
|
577
|
+
/** Link details for images that are links. */
|
578
|
+
link?: Link;
|
579
|
+
}
|
580
|
+
interface Video {
|
581
|
+
/** Video file details. */
|
582
|
+
media?: Media;
|
583
|
+
/** Video thumbnail file details. */
|
584
|
+
thumbnail?: Media;
|
585
|
+
}
|
586
|
+
interface Item extends ItemDataOneOf {
|
587
|
+
/** An image item. */
|
588
|
+
image?: Image;
|
589
|
+
/** A video item. */
|
590
|
+
video?: Video;
|
591
|
+
/** Item title. */
|
592
|
+
title?: string | null;
|
593
|
+
/** Item's alternative text. */
|
594
|
+
altText?: string | null;
|
595
|
+
}
|
596
|
+
/** @oneof */
|
597
|
+
interface ItemDataOneOf {
|
598
|
+
/** An image item. */
|
599
|
+
image?: Image;
|
600
|
+
/** A video item. */
|
601
|
+
video?: Video;
|
602
|
+
}
|
603
|
+
interface GalleryOptions {
|
604
|
+
/** Gallery layout. */
|
605
|
+
layout?: Layout;
|
606
|
+
/** Styling for gallery items. */
|
607
|
+
item?: ItemStyle;
|
608
|
+
/** Styling for gallery thumbnail images. */
|
609
|
+
thumbnails?: Thumbnails;
|
610
|
+
}
|
611
|
+
declare enum LayoutType {
|
612
|
+
/** Collage type */
|
613
|
+
COLLAGE = "COLLAGE",
|
614
|
+
/** Masonry type */
|
615
|
+
MASONRY = "MASONRY",
|
616
|
+
/** Grid type */
|
617
|
+
GRID = "GRID",
|
618
|
+
/** Thumbnail type */
|
619
|
+
THUMBNAIL = "THUMBNAIL",
|
620
|
+
/** Slider type */
|
621
|
+
SLIDER = "SLIDER",
|
622
|
+
/** Slideshow type */
|
623
|
+
SLIDESHOW = "SLIDESHOW",
|
624
|
+
/** Panorama type */
|
625
|
+
PANORAMA = "PANORAMA",
|
626
|
+
/** Column type */
|
627
|
+
COLUMN = "COLUMN",
|
628
|
+
/** Magic type */
|
629
|
+
MAGIC = "MAGIC",
|
630
|
+
/** Fullsize images type */
|
631
|
+
FULLSIZE = "FULLSIZE"
|
632
|
+
}
|
633
|
+
/** @enumType */
|
634
|
+
type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
|
635
|
+
declare enum Orientation {
|
636
|
+
/** Rows Orientation */
|
637
|
+
ROWS = "ROWS",
|
638
|
+
/** Columns Orientation */
|
639
|
+
COLUMNS = "COLUMNS"
|
640
|
+
}
|
641
|
+
/** @enumType */
|
642
|
+
type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
|
643
|
+
declare enum Crop {
|
644
|
+
/** Crop to fill */
|
645
|
+
FILL = "FILL",
|
646
|
+
/** Crop to fit */
|
647
|
+
FIT = "FIT"
|
648
|
+
}
|
649
|
+
/** @enumType */
|
650
|
+
type CropWithLiterals = Crop | 'FILL' | 'FIT';
|
651
|
+
declare enum ThumbnailsAlignment {
|
652
|
+
/** Top alignment */
|
653
|
+
TOP = "TOP",
|
654
|
+
/** Right alignment */
|
655
|
+
RIGHT = "RIGHT",
|
656
|
+
/** Bottom alignment */
|
657
|
+
BOTTOM = "BOTTOM",
|
658
|
+
/** Left alignment */
|
659
|
+
LEFT = "LEFT",
|
660
|
+
/** No thumbnail */
|
661
|
+
NONE = "NONE"
|
662
|
+
}
|
663
|
+
/** @enumType */
|
664
|
+
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
665
|
+
interface Layout {
|
666
|
+
/** Gallery layout type. */
|
667
|
+
type?: LayoutTypeWithLiterals;
|
668
|
+
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
669
|
+
horizontalScroll?: boolean | null;
|
670
|
+
/** Gallery orientation. */
|
671
|
+
orientation?: OrientationWithLiterals;
|
672
|
+
/** The number of columns to display on full size screens. */
|
673
|
+
numberOfColumns?: number | null;
|
674
|
+
/** The number of columns to display on mobile screens. */
|
675
|
+
mobileNumberOfColumns?: number | null;
|
676
|
+
}
|
677
|
+
interface ItemStyle {
|
678
|
+
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
679
|
+
targetSize?: number | null;
|
680
|
+
/** Item ratio */
|
681
|
+
ratio?: number | null;
|
682
|
+
/** Sets how item images are cropped. */
|
683
|
+
crop?: CropWithLiterals;
|
684
|
+
/** The spacing between items in pixels. */
|
685
|
+
spacing?: number | null;
|
686
|
+
}
|
687
|
+
interface Thumbnails {
|
688
|
+
/** Thumbnail alignment. */
|
689
|
+
placement?: ThumbnailsAlignmentWithLiterals;
|
690
|
+
/** Spacing between thumbnails in pixels. */
|
691
|
+
spacing?: number | null;
|
692
|
+
}
|
693
|
+
interface GIFData {
|
694
|
+
/** Styling for the GIF's container. */
|
695
|
+
containerData?: PluginContainerData;
|
696
|
+
/** The source of the full size GIF. */
|
697
|
+
original?: GIF;
|
698
|
+
/** The source of the downsized GIF. */
|
699
|
+
downsized?: GIF;
|
700
|
+
/** Height in pixels. */
|
701
|
+
height?: number;
|
702
|
+
/** Width in pixels. */
|
703
|
+
width?: number;
|
704
|
+
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
705
|
+
gifType?: GIFTypeWithLiterals;
|
706
|
+
}
|
707
|
+
interface GIF {
|
708
|
+
/**
|
709
|
+
* GIF format URL.
|
710
|
+
* @format WEB_URL
|
711
|
+
*/
|
712
|
+
gif?: string | null;
|
713
|
+
/**
|
714
|
+
* MP4 format URL.
|
715
|
+
* @format WEB_URL
|
716
|
+
*/
|
717
|
+
mp4?: string | null;
|
718
|
+
/**
|
719
|
+
* Thumbnail URL.
|
720
|
+
* @format WEB_URL
|
721
|
+
*/
|
722
|
+
still?: string | null;
|
723
|
+
}
|
724
|
+
declare enum GIFType {
|
725
|
+
NORMAL = "NORMAL",
|
726
|
+
STICKER = "STICKER"
|
727
|
+
}
|
728
|
+
/** @enumType */
|
729
|
+
type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
|
730
|
+
interface HeadingData {
|
731
|
+
/** Heading level from 1-6. */
|
732
|
+
level?: number;
|
733
|
+
/** Styling for the heading text. */
|
734
|
+
textStyle?: TextStyle;
|
735
|
+
/** Indentation level from 1-4. */
|
736
|
+
indentation?: number | null;
|
737
|
+
}
|
738
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
739
|
+
/** The URL for the HTML code for the node. */
|
740
|
+
url?: string;
|
741
|
+
/** The HTML code for the node. */
|
742
|
+
html?: string;
|
743
|
+
/**
|
744
|
+
* Whether this is an AdSense element. Use `source` instead.
|
745
|
+
* @deprecated
|
746
|
+
*/
|
747
|
+
isAdsense?: boolean | null;
|
748
|
+
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
749
|
+
containerData?: PluginContainerData;
|
750
|
+
/** The type of HTML code. */
|
751
|
+
source?: SourceWithLiterals;
|
752
|
+
/** If container height is aligned with its content height. Defaults to `true`. */
|
753
|
+
autoHeight?: boolean | null;
|
754
|
+
}
|
755
|
+
/** @oneof */
|
756
|
+
interface HTMLDataDataOneOf {
|
757
|
+
/** The URL for the HTML code for the node. */
|
758
|
+
url?: string;
|
759
|
+
/** The HTML code for the node. */
|
760
|
+
html?: string;
|
761
|
+
/**
|
762
|
+
* Whether this is an AdSense element. Use `source` instead.
|
763
|
+
* @deprecated
|
764
|
+
*/
|
765
|
+
isAdsense?: boolean | null;
|
766
|
+
}
|
767
|
+
declare enum Source {
|
768
|
+
HTML = "HTML",
|
769
|
+
ADSENSE = "ADSENSE"
|
770
|
+
}
|
771
|
+
/** @enumType */
|
772
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
|
773
|
+
interface ImageData {
|
774
|
+
/** Styling for the image's container. */
|
775
|
+
containerData?: PluginContainerData;
|
776
|
+
/** Image file details. */
|
777
|
+
image?: Media;
|
778
|
+
/** Link details for images that are links. */
|
779
|
+
link?: Link;
|
780
|
+
/** Sets whether the image expands to full screen when clicked. Defaults to `false`. */
|
781
|
+
disableExpand?: boolean | null;
|
782
|
+
/** Image's alternative text. */
|
783
|
+
altText?: string | null;
|
784
|
+
/**
|
785
|
+
* Deprecated: use Caption node instead.
|
786
|
+
* @deprecated
|
787
|
+
*/
|
788
|
+
caption?: string | null;
|
789
|
+
/** Sets whether the image's download button is disabled. Defaults to `false`. */
|
790
|
+
disableDownload?: boolean | null;
|
791
|
+
/** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */
|
792
|
+
decorative?: boolean | null;
|
793
|
+
/** Styling for the image. */
|
794
|
+
styles?: ImageDataStyles;
|
795
|
+
}
|
796
|
+
interface StylesBorder {
|
797
|
+
/** Border width in pixels. */
|
798
|
+
width?: number | null;
|
799
|
+
/**
|
800
|
+
* Border color as a hexadecimal value.
|
801
|
+
* @format COLOR_HEX
|
802
|
+
*/
|
803
|
+
color?: string | null;
|
804
|
+
/** Border radius in pixels. */
|
805
|
+
radius?: number | null;
|
806
|
+
}
|
807
|
+
interface ImageDataStyles {
|
808
|
+
/** Border attributes. */
|
809
|
+
border?: StylesBorder;
|
810
|
+
}
|
811
|
+
interface LinkPreviewData {
|
812
|
+
/** Styling for the link preview's container. */
|
813
|
+
containerData?: PluginContainerData;
|
814
|
+
/** Link details. */
|
815
|
+
link?: Link;
|
816
|
+
/** Preview title. */
|
817
|
+
title?: string | null;
|
818
|
+
/** Preview thumbnail URL. */
|
819
|
+
thumbnailUrl?: string | null;
|
820
|
+
/** Preview description. */
|
821
|
+
description?: string | null;
|
822
|
+
/** The preview content as HTML. */
|
823
|
+
html?: string | null;
|
824
|
+
/** Styling for the link preview. */
|
825
|
+
styles?: LinkPreviewDataStyles;
|
826
|
+
}
|
827
|
+
declare enum Position {
|
828
|
+
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
829
|
+
START = "START",
|
830
|
+
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
831
|
+
END = "END",
|
832
|
+
/** Thumbnail positioned at the top */
|
833
|
+
TOP = "TOP",
|
834
|
+
/** Thumbnail hidden and not displayed */
|
835
|
+
HIDDEN = "HIDDEN"
|
836
|
+
}
|
837
|
+
/** @enumType */
|
838
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
839
|
+
interface LinkPreviewDataStyles {
|
840
|
+
/**
|
841
|
+
* Background color as a hexadecimal value.
|
842
|
+
* @format COLOR_HEX
|
843
|
+
*/
|
844
|
+
backgroundColor?: string | null;
|
845
|
+
/**
|
846
|
+
* Title color as a hexadecimal value.
|
847
|
+
* @format COLOR_HEX
|
848
|
+
*/
|
849
|
+
titleColor?: string | null;
|
850
|
+
/**
|
851
|
+
* Subtitle color as a hexadecimal value.
|
852
|
+
* @format COLOR_HEX
|
853
|
+
*/
|
854
|
+
subtitleColor?: string | null;
|
855
|
+
/**
|
856
|
+
* Link color as a hexadecimal value.
|
857
|
+
* @format COLOR_HEX
|
858
|
+
*/
|
859
|
+
linkColor?: string | null;
|
860
|
+
/** Border width in pixels. */
|
861
|
+
borderWidth?: number | null;
|
862
|
+
/** Border radius in pixels. */
|
863
|
+
borderRadius?: number | null;
|
864
|
+
/**
|
865
|
+
* Border color as a hexadecimal value.
|
866
|
+
* @format COLOR_HEX
|
867
|
+
*/
|
868
|
+
borderColor?: string | null;
|
869
|
+
/** Position of thumbnail. Defaults to `START`. */
|
870
|
+
thumbnailPosition?: PositionWithLiterals;
|
871
|
+
}
|
872
|
+
interface MapData {
|
873
|
+
/** Styling for the map's container. */
|
874
|
+
containerData?: PluginContainerData;
|
875
|
+
/** Map settings. */
|
876
|
+
mapSettings?: MapSettings;
|
877
|
+
}
|
878
|
+
interface MapSettings {
|
879
|
+
/** The address to display on the map. */
|
880
|
+
address?: string | null;
|
881
|
+
/** Sets whether the map is draggable. */
|
882
|
+
draggable?: boolean | null;
|
883
|
+
/** Sets whether the location marker is visible. */
|
884
|
+
marker?: boolean | null;
|
885
|
+
/** Sets whether street view control is enabled. */
|
886
|
+
streetViewControl?: boolean | null;
|
887
|
+
/** Sets whether zoom control is enabled. */
|
888
|
+
zoomControl?: boolean | null;
|
889
|
+
/** Location latitude. */
|
890
|
+
lat?: number | null;
|
891
|
+
/** Location longitude. */
|
892
|
+
lng?: number | null;
|
893
|
+
/** Location name. */
|
894
|
+
locationName?: string | null;
|
895
|
+
/** Sets whether view mode control is enabled. */
|
896
|
+
viewModeControl?: boolean | null;
|
897
|
+
/** Initial zoom value. */
|
898
|
+
initialZoom?: number | null;
|
899
|
+
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
900
|
+
mapType?: MapTypeWithLiterals;
|
901
|
+
}
|
902
|
+
declare enum MapType {
|
903
|
+
/** Roadmap map type */
|
904
|
+
ROADMAP = "ROADMAP",
|
905
|
+
/** Satellite map type */
|
906
|
+
SATELITE = "SATELITE",
|
907
|
+
/** Hybrid map type */
|
908
|
+
HYBRID = "HYBRID",
|
909
|
+
/** Terrain map type */
|
910
|
+
TERRAIN = "TERRAIN"
|
911
|
+
}
|
912
|
+
/** @enumType */
|
913
|
+
type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
|
914
|
+
interface ParagraphData {
|
915
|
+
/** Styling for the paragraph text. */
|
916
|
+
textStyle?: TextStyle;
|
917
|
+
/** Indentation level from 1-4. */
|
918
|
+
indentation?: number | null;
|
919
|
+
/** Paragraph level */
|
920
|
+
level?: number | null;
|
921
|
+
}
|
922
|
+
interface PollData {
|
923
|
+
/** Styling for the poll's container. */
|
924
|
+
containerData?: PluginContainerData;
|
925
|
+
/** Poll data. */
|
926
|
+
poll?: Poll;
|
927
|
+
/** Layout settings for the poll and voting options. */
|
928
|
+
layout?: PollDataLayout;
|
929
|
+
/** Styling for the poll and voting options. */
|
930
|
+
design?: Design;
|
931
|
+
}
|
932
|
+
declare enum ViewRole {
|
933
|
+
/** Only Poll creator can view the results */
|
934
|
+
CREATOR = "CREATOR",
|
935
|
+
/** Anyone who voted can see the results */
|
936
|
+
VOTERS = "VOTERS",
|
937
|
+
/** Anyone can see the results, even if one didn't vote */
|
938
|
+
EVERYONE = "EVERYONE"
|
939
|
+
}
|
940
|
+
/** @enumType */
|
941
|
+
type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
|
942
|
+
declare enum VoteRole {
|
943
|
+
/** Logged in member */
|
944
|
+
SITE_MEMBERS = "SITE_MEMBERS",
|
945
|
+
/** Anyone */
|
946
|
+
ALL = "ALL"
|
947
|
+
}
|
948
|
+
/** @enumType */
|
949
|
+
type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
|
950
|
+
interface Permissions {
|
951
|
+
/** Sets who can view the poll results. */
|
952
|
+
view?: ViewRoleWithLiterals;
|
953
|
+
/** Sets who can vote. */
|
954
|
+
vote?: VoteRoleWithLiterals;
|
955
|
+
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
956
|
+
allowMultipleVotes?: boolean | null;
|
957
|
+
}
|
958
|
+
interface Option {
|
959
|
+
/** Option ID. */
|
960
|
+
id?: string | null;
|
961
|
+
/** Option title. */
|
962
|
+
title?: string | null;
|
963
|
+
/** The image displayed with the option. */
|
964
|
+
image?: Media;
|
965
|
+
}
|
966
|
+
interface Settings {
|
967
|
+
/** Permissions settings for voting. */
|
968
|
+
permissions?: Permissions;
|
969
|
+
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
970
|
+
showVoters?: boolean | null;
|
971
|
+
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
972
|
+
showVotesCount?: boolean | null;
|
973
|
+
}
|
974
|
+
declare enum PollLayoutType {
|
975
|
+
/** List */
|
976
|
+
LIST = "LIST",
|
977
|
+
/** Grid */
|
978
|
+
GRID = "GRID"
|
979
|
+
}
|
980
|
+
/** @enumType */
|
981
|
+
type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
|
982
|
+
declare enum PollLayoutDirection {
|
983
|
+
/** Left-to-right */
|
984
|
+
LTR = "LTR",
|
985
|
+
/** Right-to-left */
|
986
|
+
RTL = "RTL"
|
987
|
+
}
|
988
|
+
/** @enumType */
|
989
|
+
type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
|
990
|
+
interface PollLayout {
|
991
|
+
/** The layout for displaying the voting options. */
|
992
|
+
type?: PollLayoutTypeWithLiterals;
|
993
|
+
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
994
|
+
direction?: PollLayoutDirectionWithLiterals;
|
995
|
+
/** Sets whether to display the main poll image. Defaults to `false`. */
|
996
|
+
enableImage?: boolean | null;
|
997
|
+
}
|
998
|
+
interface OptionLayout {
|
999
|
+
/** Sets whether to display option images. Defaults to `false`. */
|
1000
|
+
enableImage?: boolean | null;
|
1001
|
+
}
|
1002
|
+
declare enum BackgroundType {
|
1003
|
+
/** Color background type */
|
1004
|
+
COLOR = "COLOR",
|
1005
|
+
/** Image background type */
|
1006
|
+
IMAGE = "IMAGE",
|
1007
|
+
/** Gradiant background type */
|
1008
|
+
GRADIENT = "GRADIENT"
|
1009
|
+
}
|
1010
|
+
/** @enumType */
|
1011
|
+
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
1012
|
+
interface Gradient {
|
1013
|
+
/** The gradient angle in degrees. */
|
1014
|
+
angle?: number | null;
|
1015
|
+
/**
|
1016
|
+
* The start color as a hexademical value.
|
1017
|
+
* @format COLOR_HEX
|
1018
|
+
*/
|
1019
|
+
startColor?: string | null;
|
1020
|
+
/**
|
1021
|
+
* The end color as a hexademical value.
|
1022
|
+
* @format COLOR_HEX
|
1023
|
+
*/
|
1024
|
+
lastColor?: string | null;
|
1025
|
+
}
|
1026
|
+
interface Background extends BackgroundBackgroundOneOf {
|
1027
|
+
/**
|
1028
|
+
* The background color as a hexademical value.
|
1029
|
+
* @format COLOR_HEX
|
1030
|
+
*/
|
1031
|
+
color?: string | null;
|
1032
|
+
/** An image to use for the background. */
|
1033
|
+
image?: Media;
|
1034
|
+
/** Details for a gradient background. */
|
1035
|
+
gradient?: Gradient;
|
1036
|
+
/** Background type. For each option, include the relevant details. */
|
1037
|
+
type?: BackgroundTypeWithLiterals;
|
1038
|
+
}
|
1039
|
+
/** @oneof */
|
1040
|
+
interface BackgroundBackgroundOneOf {
|
1041
|
+
/**
|
1042
|
+
* The background color as a hexademical value.
|
1043
|
+
* @format COLOR_HEX
|
1044
|
+
*/
|
1045
|
+
color?: string | null;
|
1046
|
+
/** An image to use for the background. */
|
1047
|
+
image?: Media;
|
1048
|
+
/** Details for a gradient background. */
|
1049
|
+
gradient?: Gradient;
|
1050
|
+
}
|
1051
|
+
interface PollDesign {
|
1052
|
+
/** Background styling. */
|
1053
|
+
background?: Background;
|
1054
|
+
/** Border radius in pixels. */
|
1055
|
+
borderRadius?: number | null;
|
1056
|
+
}
|
1057
|
+
interface OptionDesign {
|
1058
|
+
/** Border radius in pixels. */
|
1059
|
+
borderRadius?: number | null;
|
1060
|
+
}
|
1061
|
+
interface Poll {
|
1062
|
+
/** Poll ID. */
|
1063
|
+
id?: string | null;
|
1064
|
+
/** Poll title. */
|
1065
|
+
title?: string | null;
|
1066
|
+
/** Poll creator ID. */
|
1067
|
+
creatorId?: string | null;
|
1068
|
+
/** Main poll image. */
|
1069
|
+
image?: Media;
|
1070
|
+
/** Voting options. */
|
1071
|
+
options?: Option[];
|
1072
|
+
/** The poll's permissions and display settings. */
|
1073
|
+
settings?: Settings;
|
1074
|
+
}
|
1075
|
+
interface PollDataLayout {
|
1076
|
+
/** Poll layout settings. */
|
1077
|
+
poll?: PollLayout;
|
1078
|
+
/** Voting otpions layout settings. */
|
1079
|
+
options?: OptionLayout;
|
1080
|
+
}
|
1081
|
+
interface Design {
|
1082
|
+
/** Styling for the poll. */
|
1083
|
+
poll?: PollDesign;
|
1084
|
+
/** Styling for voting options. */
|
1085
|
+
options?: OptionDesign;
|
1086
|
+
}
|
1087
|
+
interface TextData {
|
1088
|
+
/** The text to apply decorations to. */
|
1089
|
+
text?: string;
|
1090
|
+
/** The decorations to apply. */
|
1091
|
+
decorations?: Decoration[];
|
1092
|
+
}
|
1093
|
+
/** Adds appearence changes to text */
|
1094
|
+
interface Decoration extends DecorationDataOneOf {
|
1095
|
+
/** Data for an anchor link decoration. */
|
1096
|
+
anchorData?: AnchorData;
|
1097
|
+
/** Data for a color decoration. */
|
1098
|
+
colorData?: ColorData;
|
1099
|
+
/** Data for an external link decoration. */
|
1100
|
+
linkData?: LinkData;
|
1101
|
+
/** Data for a mention decoration. */
|
1102
|
+
mentionData?: MentionData;
|
1103
|
+
/** Data for a font size decoration. */
|
1104
|
+
fontSizeData?: FontSizeData;
|
1105
|
+
/** Font weight for a bold decoration. */
|
1106
|
+
fontWeightValue?: number | null;
|
1107
|
+
/** Data for an italic decoration. Defaults to `true`. */
|
1108
|
+
italicData?: boolean | null;
|
1109
|
+
/** Data for an underline decoration. Defaults to `true`. */
|
1110
|
+
underlineData?: boolean | null;
|
1111
|
+
/** Data for a spoiler decoration. */
|
1112
|
+
spoilerData?: SpoilerData;
|
1113
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
1114
|
+
strikethroughData?: boolean | null;
|
1115
|
+
/** The type of decoration to apply. */
|
1116
|
+
type?: DecorationTypeWithLiterals;
|
1117
|
+
}
|
1118
|
+
/** @oneof */
|
1119
|
+
interface DecorationDataOneOf {
|
1120
|
+
/** Data for an anchor link decoration. */
|
1121
|
+
anchorData?: AnchorData;
|
1122
|
+
/** Data for a color decoration. */
|
1123
|
+
colorData?: ColorData;
|
1124
|
+
/** Data for an external link decoration. */
|
1125
|
+
linkData?: LinkData;
|
1126
|
+
/** Data for a mention decoration. */
|
1127
|
+
mentionData?: MentionData;
|
1128
|
+
/** Data for a font size decoration. */
|
1129
|
+
fontSizeData?: FontSizeData;
|
1130
|
+
/** Font weight for a bold decoration. */
|
1131
|
+
fontWeightValue?: number | null;
|
1132
|
+
/** Data for an italic decoration. Defaults to `true`. */
|
1133
|
+
italicData?: boolean | null;
|
1134
|
+
/** Data for an underline decoration. Defaults to `true`. */
|
1135
|
+
underlineData?: boolean | null;
|
1136
|
+
/** Data for a spoiler decoration. */
|
1137
|
+
spoilerData?: SpoilerData;
|
1138
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
1139
|
+
strikethroughData?: boolean | null;
|
1140
|
+
}
|
1141
|
+
declare enum DecorationType {
|
1142
|
+
BOLD = "BOLD",
|
1143
|
+
ITALIC = "ITALIC",
|
1144
|
+
UNDERLINE = "UNDERLINE",
|
1145
|
+
SPOILER = "SPOILER",
|
1146
|
+
ANCHOR = "ANCHOR",
|
1147
|
+
MENTION = "MENTION",
|
1148
|
+
LINK = "LINK",
|
1149
|
+
COLOR = "COLOR",
|
1150
|
+
FONT_SIZE = "FONT_SIZE",
|
1151
|
+
EXTERNAL = "EXTERNAL",
|
1152
|
+
STRIKETHROUGH = "STRIKETHROUGH"
|
1153
|
+
}
|
1154
|
+
/** @enumType */
|
1155
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
1156
|
+
interface AnchorData {
|
1157
|
+
/** The target node's ID. */
|
1158
|
+
anchor?: string;
|
1159
|
+
}
|
1160
|
+
interface ColorData {
|
1161
|
+
/** The text's background color as a hexadecimal value. */
|
1162
|
+
background?: string | null;
|
1163
|
+
/** The text's foreground color as a hexadecimal value. */
|
1164
|
+
foreground?: string | null;
|
1165
|
+
}
|
1166
|
+
interface LinkData {
|
1167
|
+
/** Link details. */
|
1168
|
+
link?: Link;
|
1169
|
+
}
|
1170
|
+
interface MentionData {
|
1171
|
+
/** The mentioned user's name. */
|
1172
|
+
name?: string;
|
1173
|
+
/** The version of the user's name that appears after the `@` character in the mention. */
|
1174
|
+
slug?: string;
|
1175
|
+
/** Mentioned user's ID. */
|
1176
|
+
id?: string | null;
|
1177
|
+
}
|
1178
|
+
interface FontSizeData {
|
1179
|
+
/** The units used for the font size. */
|
1180
|
+
unit?: FontTypeWithLiterals;
|
1181
|
+
/** Font size value. */
|
1182
|
+
value?: number | null;
|
1183
|
+
}
|
1184
|
+
declare enum FontType {
|
1185
|
+
PX = "PX",
|
1186
|
+
EM = "EM"
|
1187
|
+
}
|
1188
|
+
/** @enumType */
|
1189
|
+
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
1190
|
+
interface SpoilerData {
|
1191
|
+
/** Spoiler ID. */
|
1192
|
+
id?: string | null;
|
1193
|
+
}
|
1194
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
1195
|
+
/** Data for embedded Wix Bookings content. */
|
1196
|
+
bookingData?: BookingData;
|
1197
|
+
/** Data for embedded Wix Events content. */
|
1198
|
+
eventData?: EventData;
|
1199
|
+
/** The type of Wix App content being embedded. */
|
1200
|
+
type?: AppTypeWithLiterals;
|
1201
|
+
/** The ID of the embedded content. */
|
1202
|
+
itemId?: string | null;
|
1203
|
+
/** The name of the embedded content. */
|
1204
|
+
name?: string | null;
|
1205
|
+
/**
|
1206
|
+
* Deprecated: Use `image` instead.
|
1207
|
+
* @deprecated
|
1208
|
+
*/
|
1209
|
+
imageSrc?: string | null;
|
1210
|
+
/** The URL for the embedded content. */
|
1211
|
+
url?: string | null;
|
1212
|
+
/** An image for the embedded content. */
|
1213
|
+
image?: Media;
|
1214
|
+
}
|
1215
|
+
/** @oneof */
|
1216
|
+
interface AppEmbedDataAppDataOneOf {
|
1217
|
+
/** Data for embedded Wix Bookings content. */
|
1218
|
+
bookingData?: BookingData;
|
1219
|
+
/** Data for embedded Wix Events content. */
|
1220
|
+
eventData?: EventData;
|
1221
|
+
}
|
1222
|
+
declare enum AppType {
|
1223
|
+
PRODUCT = "PRODUCT",
|
1224
|
+
EVENT = "EVENT",
|
1225
|
+
BOOKING = "BOOKING"
|
1226
|
+
}
|
1227
|
+
/** @enumType */
|
1228
|
+
type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
|
1229
|
+
interface BookingData {
|
1230
|
+
/** Booking duration in minutes. */
|
1231
|
+
durations?: string | null;
|
1232
|
+
}
|
1233
|
+
interface EventData {
|
1234
|
+
/** Event schedule. */
|
1235
|
+
scheduling?: string | null;
|
1236
|
+
/** Event location. */
|
1237
|
+
location?: string | null;
|
1238
|
+
}
|
1239
|
+
interface VideoData {
|
1240
|
+
/** Styling for the video's container. */
|
1241
|
+
containerData?: PluginContainerData;
|
1242
|
+
/** Video details. */
|
1243
|
+
video?: Media;
|
1244
|
+
/** Video thumbnail details. */
|
1245
|
+
thumbnail?: Media;
|
1246
|
+
/** Sets whether the video's download button is disabled. Defaults to `false`. */
|
1247
|
+
disableDownload?: boolean | null;
|
1248
|
+
/** Video title. */
|
1249
|
+
title?: string | null;
|
1250
|
+
/** Video options. */
|
1251
|
+
options?: PlaybackOptions;
|
1252
|
+
}
|
1253
|
+
interface PlaybackOptions {
|
1254
|
+
/** Sets whether the media will automatically start playing. */
|
1255
|
+
autoPlay?: boolean | null;
|
1256
|
+
/** Sets whether media's will be looped. */
|
1257
|
+
playInLoop?: boolean | null;
|
1258
|
+
/** Sets whether media's controls will be shown. */
|
1259
|
+
showControls?: boolean | null;
|
1260
|
+
}
|
1261
|
+
interface EmbedData {
|
1262
|
+
/** Styling for the oEmbed node's container. */
|
1263
|
+
containerData?: PluginContainerData;
|
1264
|
+
/** An [oEmbed](https://www.oembed.com) object. */
|
1265
|
+
oembed?: Oembed;
|
1266
|
+
/** Origin asset source. */
|
1267
|
+
src?: string | null;
|
1268
|
+
}
|
1269
|
+
interface Oembed {
|
1270
|
+
/** The resource type. */
|
1271
|
+
type?: string | null;
|
1272
|
+
/** The width of the resource specified in the `url` property in pixels. */
|
1273
|
+
width?: number | null;
|
1274
|
+
/** The height of the resource specified in the `url` property in pixels. */
|
1275
|
+
height?: number | null;
|
1276
|
+
/** Resource title. */
|
1277
|
+
title?: string | null;
|
1278
|
+
/** The source URL for the resource. */
|
1279
|
+
url?: string | null;
|
1280
|
+
/** HTML for embedding a video player. The HTML should have no padding or margins. */
|
1281
|
+
html?: string | null;
|
1282
|
+
/** The name of the author or owner of the resource. */
|
1283
|
+
authorName?: string | null;
|
1284
|
+
/** The URL for the author or owner of the resource. */
|
1285
|
+
authorUrl?: string | null;
|
1286
|
+
/** The name of the resource provider. */
|
1287
|
+
providerName?: string | null;
|
1288
|
+
/** The URL for the resource provider. */
|
1289
|
+
providerUrl?: string | null;
|
1290
|
+
/** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */
|
1291
|
+
thumbnailUrl?: string | null;
|
1292
|
+
/** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */
|
1293
|
+
thumbnailWidth?: string | null;
|
1294
|
+
/** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */
|
1295
|
+
thumbnailHeight?: string | null;
|
1296
|
+
/** The URL for an embedded viedo. */
|
1297
|
+
videoUrl?: string | null;
|
1298
|
+
/** The oEmbed version number. This value must be `1.0`. */
|
1299
|
+
version?: string | null;
|
1300
|
+
}
|
1301
|
+
interface CollapsibleListData {
|
1302
|
+
/** Styling for the collapsible list's container. */
|
1303
|
+
containerData?: PluginContainerData;
|
1304
|
+
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
1305
|
+
expandOnlyOne?: boolean | null;
|
1306
|
+
/** Sets which items are expanded when the page loads. */
|
1307
|
+
initialExpandedItems?: InitialExpandedItemsWithLiterals;
|
1308
|
+
/** The direction of the text in the list. Either left-to-right or right-to-left. */
|
1309
|
+
direction?: DirectionWithLiterals;
|
1310
|
+
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
1311
|
+
isQapageData?: boolean | null;
|
1312
|
+
}
|
1313
|
+
declare enum InitialExpandedItems {
|
1314
|
+
/** First item will be expended initally */
|
1315
|
+
FIRST = "FIRST",
|
1316
|
+
/** All items will expended initally */
|
1317
|
+
ALL = "ALL",
|
1318
|
+
/** All items collapsed initally */
|
1319
|
+
NONE = "NONE"
|
1320
|
+
}
|
1321
|
+
/** @enumType */
|
1322
|
+
type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
|
1323
|
+
declare enum Direction {
|
1324
|
+
/** Left-to-right */
|
1325
|
+
LTR = "LTR",
|
1326
|
+
/** Right-to-left */
|
1327
|
+
RTL = "RTL"
|
1328
|
+
}
|
1329
|
+
/** @enumType */
|
1330
|
+
type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
|
1331
|
+
interface TableData {
|
1332
|
+
/** Styling for the table's container. */
|
1333
|
+
containerData?: PluginContainerData;
|
1334
|
+
/** The table's dimensions. */
|
1335
|
+
dimensions?: Dimensions;
|
1336
|
+
/**
|
1337
|
+
* Deprecated: Use `rowHeader` and `columnHeader` instead.
|
1338
|
+
* @deprecated
|
1339
|
+
*/
|
1340
|
+
header?: boolean | null;
|
1341
|
+
/** Sets whether the table's first row is a header. Defaults to `false`. */
|
1342
|
+
rowHeader?: boolean | null;
|
1343
|
+
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
1344
|
+
columnHeader?: boolean | null;
|
1345
|
+
}
|
1346
|
+
interface Dimensions {
|
1347
|
+
/** An array representing relative width of each column in relation to the other columns. */
|
1348
|
+
colsWidthRatio?: number[];
|
1349
|
+
/** An array representing the height of each row in pixels. */
|
1350
|
+
rowsHeight?: number[];
|
1351
|
+
/** An array representing the minimum width of each column in pixels. */
|
1352
|
+
colsMinWidth?: number[];
|
1353
|
+
}
|
1354
|
+
interface TableCellData {
|
1355
|
+
/** Styling for the cell's background color and text alignment. */
|
1356
|
+
cellStyle?: CellStyle;
|
1357
|
+
/** The cell's border colors. */
|
1358
|
+
borderColors?: BorderColors;
|
1359
|
+
}
|
1360
|
+
declare enum VerticalAlignment {
|
1361
|
+
/** Top alignment */
|
1362
|
+
TOP = "TOP",
|
1363
|
+
/** Middle alignment */
|
1364
|
+
MIDDLE = "MIDDLE",
|
1365
|
+
/** Bottom alignment */
|
1366
|
+
BOTTOM = "BOTTOM"
|
1367
|
+
}
|
1368
|
+
/** @enumType */
|
1369
|
+
type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
|
1370
|
+
interface CellStyle {
|
1371
|
+
/** Vertical alignment for the cell's text. */
|
1372
|
+
verticalAlignment?: VerticalAlignmentWithLiterals;
|
1373
|
+
/**
|
1374
|
+
* Cell background color as a hexadecimal value.
|
1375
|
+
* @format COLOR_HEX
|
1376
|
+
*/
|
1377
|
+
backgroundColor?: string | null;
|
1378
|
+
}
|
1379
|
+
interface BorderColors {
|
1380
|
+
/**
|
1381
|
+
* Left border color as a hexadecimal value.
|
1382
|
+
* @format COLOR_HEX
|
1383
|
+
*/
|
1384
|
+
left?: string | null;
|
1385
|
+
/**
|
1386
|
+
* Right border color as a hexadecimal value.
|
1387
|
+
* @format COLOR_HEX
|
1388
|
+
*/
|
1389
|
+
right?: string | null;
|
1390
|
+
/**
|
1391
|
+
* Top border color as a hexadecimal value.
|
1392
|
+
* @format COLOR_HEX
|
1393
|
+
*/
|
1394
|
+
top?: string | null;
|
1395
|
+
/**
|
1396
|
+
* Bottom border color as a hexadecimal value.
|
1397
|
+
* @format COLOR_HEX
|
1398
|
+
*/
|
1399
|
+
bottom?: string | null;
|
1400
|
+
}
|
1401
|
+
interface AudioData {
|
1402
|
+
/** Styling for the audio node's container. */
|
1403
|
+
containerData?: PluginContainerData;
|
1404
|
+
/** Audio file details. */
|
1405
|
+
audio?: Media;
|
1406
|
+
/** Sets whether the audio node's download button is disabled. Defaults to `false`. */
|
1407
|
+
disableDownload?: boolean | null;
|
1408
|
+
/** Cover image. */
|
1409
|
+
coverImage?: Media;
|
1410
|
+
/** Track name. */
|
1411
|
+
name?: string | null;
|
1412
|
+
/** Author name. */
|
1413
|
+
authorName?: string | null;
|
1414
|
+
/** An HTML version of the audio node. */
|
1415
|
+
html?: string | null;
|
1416
|
+
}
|
1417
|
+
interface OrderedListData {
|
1418
|
+
/** Indentation level from 0-4. */
|
1419
|
+
indentation?: number;
|
1420
|
+
/** Offset level from 0-4. */
|
1421
|
+
offset?: number | null;
|
1422
|
+
/** List start number. */
|
1423
|
+
start?: number | null;
|
1424
|
+
}
|
1425
|
+
interface BulletedListData {
|
1426
|
+
/** Indentation level from 0-4. */
|
1427
|
+
indentation?: number;
|
1428
|
+
/** Offset level from 0-4. */
|
1429
|
+
offset?: number | null;
|
1430
|
+
}
|
1431
|
+
interface BlockquoteData {
|
1432
|
+
/** Indentation level from 1-4. */
|
1433
|
+
indentation?: number;
|
1434
|
+
}
|
1435
|
+
interface CaptionData {
|
1436
|
+
textStyle?: TextStyle;
|
1437
|
+
}
|
1438
|
+
interface LayoutCellData {
|
1439
|
+
/** Size of the cell in 12 columns grid. */
|
1440
|
+
colSpan?: number | null;
|
1441
|
+
}
|
1442
|
+
interface Metadata {
|
1443
|
+
/** Schema version. */
|
1444
|
+
version?: number;
|
1445
|
+
/**
|
1446
|
+
* When the object was created.
|
1447
|
+
* @readonly
|
1448
|
+
* @deprecated
|
1449
|
+
*/
|
1450
|
+
createdTimestamp?: Date | null;
|
1451
|
+
/**
|
1452
|
+
* When the object was most recently updated.
|
1453
|
+
* @deprecated
|
1454
|
+
*/
|
1455
|
+
updatedTimestamp?: Date | null;
|
1456
|
+
/** Object ID. */
|
1457
|
+
id?: string | null;
|
1458
|
+
}
|
1459
|
+
interface DocumentStyle {
|
1460
|
+
/** Styling for H1 nodes. */
|
1461
|
+
headerOne?: TextNodeStyle;
|
1462
|
+
/** Styling for H2 nodes. */
|
1463
|
+
headerTwo?: TextNodeStyle;
|
1464
|
+
/** Styling for H3 nodes. */
|
1465
|
+
headerThree?: TextNodeStyle;
|
1466
|
+
/** Styling for H4 nodes. */
|
1467
|
+
headerFour?: TextNodeStyle;
|
1468
|
+
/** Styling for H5 nodes. */
|
1469
|
+
headerFive?: TextNodeStyle;
|
1470
|
+
/** Styling for H6 nodes. */
|
1471
|
+
headerSix?: TextNodeStyle;
|
1472
|
+
/** Styling for paragraph nodes. */
|
1473
|
+
paragraph?: TextNodeStyle;
|
1474
|
+
/** Styling for block quote nodes. */
|
1475
|
+
blockquote?: TextNodeStyle;
|
1476
|
+
/** Styling for code block nodes. */
|
1477
|
+
codeBlock?: TextNodeStyle;
|
1478
|
+
}
|
1479
|
+
interface TextNodeStyle {
|
1480
|
+
/** The decorations to apply to the node. */
|
1481
|
+
decorations?: Decoration[];
|
1482
|
+
/** Padding and background color for the node. */
|
1483
|
+
nodeStyle?: NodeStyle;
|
1484
|
+
/** Line height for text in the node. */
|
1485
|
+
lineHeight?: string | null;
|
1486
|
+
}
|
1487
|
+
interface CreateMemberAboutRequest {
|
1488
|
+
/** The "About" section content to create. */
|
1489
|
+
memberAbout: MemberAbout;
|
1490
|
+
}
|
1491
|
+
interface CreateMemberAboutResponse {
|
1492
|
+
/** The created "About" section content. */
|
1493
|
+
memberAbout?: MemberAbout;
|
1494
|
+
}
|
1495
|
+
interface UpdateMemberAboutRequest {
|
1496
|
+
/** The "About" section content to update. */
|
1497
|
+
memberAbout: MemberAbout;
|
1498
|
+
}
|
1499
|
+
interface UpdateMemberAboutResponse {
|
1500
|
+
/** The updated "About" section content. */
|
1501
|
+
memberAbout?: MemberAbout;
|
1502
|
+
}
|
1503
|
+
interface DeleteMemberAboutRequest {
|
1504
|
+
/**
|
1505
|
+
* ID of the "About" section content to delete.
|
1506
|
+
* @format GUID
|
1507
|
+
*/
|
1508
|
+
id: string;
|
1509
|
+
}
|
1510
|
+
interface DeleteMemberAboutResponse {
|
1511
|
+
}
|
1512
|
+
interface GetMemberAboutRequest {
|
1513
|
+
/**
|
1514
|
+
* ID of the "About" section content to retrieve.
|
1515
|
+
* @format GUID
|
1516
|
+
*/
|
1517
|
+
id: string;
|
1518
|
+
}
|
1519
|
+
interface GetMemberAboutResponse {
|
1520
|
+
/** The retrieved "About" section content. */
|
1521
|
+
memberAbout?: MemberAbout;
|
1522
|
+
}
|
1523
|
+
interface GetMyMemberAboutRequest {
|
1524
|
+
}
|
1525
|
+
interface GetMyMemberAboutResponse {
|
1526
|
+
/** The "About" section content of the current member. */
|
1527
|
+
memberAbout?: MemberAbout;
|
1528
|
+
}
|
1529
|
+
interface QueryMemberAboutsRequest {
|
1530
|
+
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */
|
1531
|
+
query?: CursorQuery;
|
1532
|
+
}
|
1533
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
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`. */
|
1535
|
+
cursorPaging?: CursorPaging;
|
1536
|
+
/**
|
1537
|
+
* Filter object in the following format:
|
1538
|
+
* `"filter" : {
|
1539
|
+
* "fieldName1": "value1",
|
1540
|
+
* "fieldName2":{"$operator":"value2"}
|
1541
|
+
* }`
|
1542
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
1543
|
+
*/
|
1544
|
+
filter?: Record<string, any> | null;
|
1545
|
+
/**
|
1546
|
+
* Sort object in the following format:
|
1547
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
1548
|
+
*/
|
1549
|
+
sort?: Sorting[];
|
1550
|
+
}
|
1551
|
+
/** @oneof */
|
1552
|
+
interface CursorQueryPagingMethodOneOf {
|
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`. */
|
1554
|
+
cursorPaging?: CursorPaging;
|
1555
|
+
}
|
1556
|
+
interface Sorting {
|
1557
|
+
/** Name of the field to sort by. */
|
1558
|
+
fieldName?: string;
|
1559
|
+
/** Sort order. */
|
1560
|
+
order?: SortOrderWithLiterals;
|
1561
|
+
}
|
1562
|
+
declare enum SortOrder {
|
1563
|
+
/** Sort is in ascending order. */
|
1564
|
+
ASC = "ASC",
|
1565
|
+
/** Sort is in the descending order. */
|
1566
|
+
DESC = "DESC"
|
1567
|
+
}
|
1568
|
+
/** @enumType */
|
1569
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
1570
|
+
interface CursorPaging {
|
1571
|
+
/**
|
1572
|
+
* Number of items to load.
|
1573
|
+
* @max 100
|
1574
|
+
*/
|
1575
|
+
limit?: number | null;
|
1576
|
+
/**
|
1577
|
+
* Pointer to the next or previous page in the list of results.
|
1578
|
+
*
|
1579
|
+
* You can get the relevant cursor token
|
1580
|
+
* from the `pagingMetadata` object in the previous call's response.
|
1581
|
+
* Not relevant for the first request.
|
1582
|
+
*/
|
1583
|
+
cursor?: string | null;
|
1584
|
+
}
|
1585
|
+
interface QueryMemberAboutsResponse {
|
1586
|
+
/** The retrieved content from the "About" sections. */
|
1587
|
+
memberAbouts?: MemberAbout[];
|
1588
|
+
/** Metadata for the paginated results. */
|
1589
|
+
metadata?: CursorPagingMetadata;
|
1590
|
+
}
|
1591
|
+
interface CursorPagingMetadata {
|
1592
|
+
/** Number of items returned in current page. */
|
1593
|
+
count?: number | null;
|
1594
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
1595
|
+
cursors?: Cursors;
|
1596
|
+
/**
|
1597
|
+
* Whether there are more pages to retrieve following the current page.
|
1598
|
+
*
|
1599
|
+
* + `true`: Another page of results can be retrieved.
|
1600
|
+
* + `false`: This is the last page.
|
1601
|
+
*/
|
1602
|
+
hasNext?: boolean | null;
|
1603
|
+
}
|
1604
|
+
interface Cursors {
|
1605
|
+
/**
|
1606
|
+
* Cursor string pointing to the next page in the list of results.
|
1607
|
+
* @maxLength 16000
|
1608
|
+
*/
|
1609
|
+
next?: string | null;
|
1610
|
+
/**
|
1611
|
+
* Cursor pointing to the previous page in the list of results.
|
1612
|
+
* @maxLength 16000
|
1613
|
+
*/
|
1614
|
+
prev?: string | null;
|
1615
|
+
}
|
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 };
|