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