@wix/auto_sdk_events_forms 1.0.19 → 1.0.20
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/src/events-v1-form-forms.types.d.ts → events-v1-form-forms.universal-DYWoz6AH.d.mts} +424 -391
- package/build/{internal/cjs/src/events-v1-form-forms.types.d.ts → events-v1-form-forms.universal-DYWoz6AH.d.ts} +424 -391
- package/build/index.d.mts +84 -0
- package/build/index.d.ts +84 -0
- package/build/index.js +1511 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1434 -0
- package/build/index.mjs.map +1 -0
- package/build/{es/src/events-v1-form-forms.types.d.ts → internal/events-v1-form-forms.universal-DYWoz6AH.d.mts} +424 -391
- package/build/internal/{es/src/events-v1-form-forms.types.d.ts → events-v1-form-forms.universal-DYWoz6AH.d.ts} +424 -391
- package/build/internal/index.d.mts +84 -0
- package/build/internal/index.d.ts +84 -0
- package/build/internal/index.js +1511 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1434 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +648 -0
- package/build/internal/meta.d.ts +648 -0
- package/build/internal/meta.js +800 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +767 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +648 -0
- package/build/meta.d.ts +648 -0
- package/build/meta.js +800 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +767 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/events-v1-form-forms.context.d.ts +0 -17
- package/build/cjs/src/events-v1-form-forms.context.js +0 -67
- package/build/cjs/src/events-v1-form-forms.context.js.map +0 -1
- package/build/cjs/src/events-v1-form-forms.http.d.ts +0 -22
- package/build/cjs/src/events-v1-form-forms.http.js +0 -653
- package/build/cjs/src/events-v1-form-forms.http.js.map +0 -1
- package/build/cjs/src/events-v1-form-forms.meta.d.ts +0 -35
- package/build/cjs/src/events-v1-form-forms.meta.js +0 -161
- package/build/cjs/src/events-v1-form-forms.meta.js.map +0 -1
- package/build/cjs/src/events-v1-form-forms.public.d.ts +0 -72
- package/build/cjs/src/events-v1-form-forms.public.js +0 -202
- package/build/cjs/src/events-v1-form-forms.public.js.map +0 -1
- package/build/cjs/src/events-v1-form-forms.types.js +0 -487
- package/build/cjs/src/events-v1-form-forms.types.js.map +0 -1
- package/build/cjs/src/events-v1-form-forms.universal.d.ts +0 -3423
- package/build/cjs/src/events-v1-form-forms.universal.js +0 -880
- package/build/cjs/src/events-v1-form-forms.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/events-v1-form-forms.context.d.ts +0 -17
- package/build/es/src/events-v1-form-forms.context.js +0 -17
- package/build/es/src/events-v1-form-forms.context.js.map +0 -1
- package/build/es/src/events-v1-form-forms.http.d.ts +0 -22
- package/build/es/src/events-v1-form-forms.http.js +0 -643
- package/build/es/src/events-v1-form-forms.http.js.map +0 -1
- package/build/es/src/events-v1-form-forms.meta.d.ts +0 -35
- package/build/es/src/events-v1-form-forms.meta.js +0 -128
- package/build/es/src/events-v1-form-forms.meta.js.map +0 -1
- package/build/es/src/events-v1-form-forms.public.d.ts +0 -72
- package/build/es/src/events-v1-form-forms.public.js +0 -145
- package/build/es/src/events-v1-form-forms.public.js.map +0 -1
- package/build/es/src/events-v1-form-forms.types.js +0 -484
- package/build/es/src/events-v1-form-forms.types.js.map +0 -1
- package/build/es/src/events-v1-form-forms.universal.d.ts +0 -3423
- package/build/es/src/events-v1-form-forms.universal.js +0 -846
- package/build/es/src/events-v1-form-forms.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/events-v1-form-forms.context.d.ts +0 -17
- package/build/internal/cjs/src/events-v1-form-forms.context.js +0 -67
- package/build/internal/cjs/src/events-v1-form-forms.context.js.map +0 -1
- package/build/internal/cjs/src/events-v1-form-forms.http.d.ts +0 -22
- package/build/internal/cjs/src/events-v1-form-forms.http.js +0 -653
- package/build/internal/cjs/src/events-v1-form-forms.http.js.map +0 -1
- package/build/internal/cjs/src/events-v1-form-forms.meta.d.ts +0 -35
- package/build/internal/cjs/src/events-v1-form-forms.meta.js +0 -161
- package/build/internal/cjs/src/events-v1-form-forms.meta.js.map +0 -1
- package/build/internal/cjs/src/events-v1-form-forms.public.d.ts +0 -72
- package/build/internal/cjs/src/events-v1-form-forms.public.js +0 -202
- package/build/internal/cjs/src/events-v1-form-forms.public.js.map +0 -1
- package/build/internal/cjs/src/events-v1-form-forms.types.js +0 -487
- package/build/internal/cjs/src/events-v1-form-forms.types.js.map +0 -1
- package/build/internal/cjs/src/events-v1-form-forms.universal.d.ts +0 -3423
- package/build/internal/cjs/src/events-v1-form-forms.universal.js +0 -880
- package/build/internal/cjs/src/events-v1-form-forms.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/events-v1-form-forms.context.d.ts +0 -17
- package/build/internal/es/src/events-v1-form-forms.context.js +0 -17
- package/build/internal/es/src/events-v1-form-forms.context.js.map +0 -1
- package/build/internal/es/src/events-v1-form-forms.http.d.ts +0 -22
- package/build/internal/es/src/events-v1-form-forms.http.js +0 -643
- package/build/internal/es/src/events-v1-form-forms.http.js.map +0 -1
- package/build/internal/es/src/events-v1-form-forms.meta.d.ts +0 -35
- package/build/internal/es/src/events-v1-form-forms.meta.js +0 -128
- package/build/internal/es/src/events-v1-form-forms.meta.js.map +0 -1
- package/build/internal/es/src/events-v1-form-forms.public.d.ts +0 -72
- package/build/internal/es/src/events-v1-form-forms.public.js +0 -145
- package/build/internal/es/src/events-v1-form-forms.public.js.map +0 -1
- package/build/internal/es/src/events-v1-form-forms.types.js +0 -484
- package/build/internal/es/src/events-v1-form-forms.types.js.map +0 -1
- package/build/internal/es/src/events-v1-form-forms.universal.d.ts +0 -3423
- package/build/internal/es/src/events-v1-form-forms.universal.js +0 -846
- package/build/internal/es/src/events-v1-form-forms.universal.js.map +0 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* By default, name and email controls are always required and are pinned to the top of the form.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
interface Form {
|
|
15
15
|
/** Nested fields as an ordered list. */
|
|
16
16
|
controls?: InputControl[];
|
|
17
17
|
/**
|
|
@@ -24,7 +24,7 @@ export interface Form {
|
|
|
24
24
|
* A block of nested fields.
|
|
25
25
|
* Used to aggregate similar inputs like First Name and Last Name.
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
interface InputControl {
|
|
28
28
|
/** Field control type. */
|
|
29
29
|
type?: InputControlType;
|
|
30
30
|
/** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */
|
|
@@ -44,14 +44,14 @@ export interface InputControl {
|
|
|
44
44
|
/** Field controls are sorted by this value in ascending order. */
|
|
45
45
|
orderIndex?: number;
|
|
46
46
|
/** Unique control ID. */
|
|
47
|
-
|
|
47
|
+
_id?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Whether the input control is deleted.
|
|
50
50
|
* @readonly
|
|
51
51
|
*/
|
|
52
52
|
deleted?: boolean | null;
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
declare enum InputControlType {
|
|
55
55
|
/** Single text value field. */
|
|
56
56
|
INPUT = "INPUT",
|
|
57
57
|
/** Single text value field with multiple lines. */
|
|
@@ -74,7 +74,7 @@ export declare enum InputControlType {
|
|
|
74
74
|
DATE = "DATE"
|
|
75
75
|
}
|
|
76
76
|
/** Child inputs. */
|
|
77
|
-
|
|
77
|
+
interface Input {
|
|
78
78
|
/** Field name. */
|
|
79
79
|
name?: string;
|
|
80
80
|
/**
|
|
@@ -116,7 +116,7 @@ export interface Input {
|
|
|
116
116
|
*/
|
|
117
117
|
labels?: Label[];
|
|
118
118
|
}
|
|
119
|
-
|
|
119
|
+
declare enum ValueType {
|
|
120
120
|
TEXT = "TEXT",
|
|
121
121
|
NUMBER = "NUMBER",
|
|
122
122
|
TEXT_ARRAY = "TEXT_ARRAY",
|
|
@@ -127,7 +127,7 @@ export declare enum ValueType {
|
|
|
127
127
|
* Describes initially selected option when an input has multiple choices.
|
|
128
128
|
* Defaults to first (0th) option if not configured.
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
|
|
131
131
|
/**
|
|
132
132
|
* 0-based index from predefined `controls.inputs.options` which is initial selection.
|
|
133
133
|
* @max 199
|
|
@@ -141,7 +141,7 @@ export interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
|
|
|
141
141
|
placeholderText?: string;
|
|
142
142
|
}
|
|
143
143
|
/** @oneof */
|
|
144
|
-
|
|
144
|
+
interface OptionSelectionSelectedOptionOneOf {
|
|
145
145
|
/**
|
|
146
146
|
* 0-based index from predefined `controls.inputs.options` which is initial selection.
|
|
147
147
|
* @max 199
|
|
@@ -154,7 +154,7 @@ export interface OptionSelectionSelectedOptionOneOf {
|
|
|
154
154
|
*/
|
|
155
155
|
placeholderText?: string;
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
interface Label {
|
|
158
158
|
/** Field name. */
|
|
159
159
|
name?: string;
|
|
160
160
|
/** Field label. */
|
|
@@ -164,7 +164,7 @@ export interface Label {
|
|
|
164
164
|
* Defines form messages shown in UI before, during, and after registration flow.
|
|
165
165
|
* It enables configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
interface FormMessages {
|
|
168
168
|
/** RSVP form ([SDK](https://dev.wix.com/docs/sdk/backend-modules/events/rsvp-v2/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction)) messages. */
|
|
169
169
|
rsvp?: RsvpFormMessages;
|
|
170
170
|
/** Checkout form messages. */
|
|
@@ -174,7 +174,7 @@ export interface FormMessages {
|
|
|
174
174
|
/** Messages shown when event tickets are unavailable. */
|
|
175
175
|
ticketsUnavailable?: TicketsUnavailableMessages;
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
interface RsvpFormMessages {
|
|
178
178
|
/** Label text indicating RSVP's `status` is `"YES"`. */
|
|
179
179
|
rsvpYesOption?: string;
|
|
180
180
|
/** Label text indicating RSVP's `status` is `"NO"`. */
|
|
@@ -189,7 +189,7 @@ export interface RsvpFormMessages {
|
|
|
189
189
|
submitActionLabel?: string;
|
|
190
190
|
}
|
|
191
191
|
/** Confirmation messages shown after registration. */
|
|
192
|
-
|
|
192
|
+
interface PositiveResponseConfirmation {
|
|
193
193
|
/** Confirmation message title. */
|
|
194
194
|
title?: string;
|
|
195
195
|
/** Confirmation message text. */
|
|
@@ -200,27 +200,27 @@ export interface PositiveResponseConfirmation {
|
|
|
200
200
|
shareActionLabel?: string;
|
|
201
201
|
}
|
|
202
202
|
/** Confirmation messages shown after registration. */
|
|
203
|
-
|
|
203
|
+
interface NegativeResponseConfirmation {
|
|
204
204
|
/** Confirmation message title. */
|
|
205
205
|
title?: string;
|
|
206
206
|
/** "Share event" call-to-action label text. */
|
|
207
207
|
shareActionLabel?: string;
|
|
208
208
|
}
|
|
209
209
|
/** Set of messages shown during registration when RSVP response is positive. */
|
|
210
|
-
|
|
210
|
+
interface Positive {
|
|
211
211
|
/** Main form title for positive response. */
|
|
212
212
|
title?: string;
|
|
213
213
|
/** Confirmation messages shown after registration. */
|
|
214
214
|
confirmation?: PositiveResponseConfirmation;
|
|
215
215
|
}
|
|
216
216
|
/** A set of messages shown during registration with negative response */
|
|
217
|
-
|
|
217
|
+
interface Negative {
|
|
218
218
|
/** Main form title for negative response. */
|
|
219
219
|
title?: string;
|
|
220
220
|
/** Confirmation messages shown after registration. */
|
|
221
221
|
confirmation?: NegativeResponseConfirmation;
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
interface CheckoutFormMessages {
|
|
224
224
|
/** Main form title for response. */
|
|
225
225
|
title?: string;
|
|
226
226
|
/** Submit form call-to-action label text. */
|
|
@@ -229,7 +229,7 @@ export interface CheckoutFormMessages {
|
|
|
229
229
|
confirmation?: ResponseConfirmation;
|
|
230
230
|
}
|
|
231
231
|
/** Confirmation messages shown after checkout. */
|
|
232
|
-
|
|
232
|
+
interface ResponseConfirmation {
|
|
233
233
|
/** Confirmation message title. */
|
|
234
234
|
title?: string;
|
|
235
235
|
/** Confirmation message text. */
|
|
@@ -241,49 +241,49 @@ export interface ResponseConfirmation {
|
|
|
241
241
|
/** "Share event" call-to-action label text. */
|
|
242
242
|
shareEventLabel?: string;
|
|
243
243
|
}
|
|
244
|
-
|
|
244
|
+
interface RegistrationClosedMessages {
|
|
245
245
|
/** Message shown when event registration is closed. */
|
|
246
246
|
message?: string;
|
|
247
247
|
/** "Explore other events" call-to-action label text. */
|
|
248
248
|
exploreEventsActionLabel?: string;
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
interface TicketsUnavailableMessages {
|
|
251
251
|
/** Message shown when event tickets are unavailable. */
|
|
252
252
|
message?: string;
|
|
253
253
|
/** "Explore other events" call-to-action label text. */
|
|
254
254
|
exploreEventsActionLabel?: string;
|
|
255
255
|
}
|
|
256
|
-
|
|
256
|
+
interface FormInputControlAdded {
|
|
257
257
|
/** Event ID. */
|
|
258
258
|
eventId?: string;
|
|
259
259
|
/** Input control. */
|
|
260
260
|
inputControl?: InputControl;
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
interface FormInputControlUpdated {
|
|
263
263
|
/** Event ID. */
|
|
264
264
|
eventId?: string;
|
|
265
265
|
/** Input control. */
|
|
266
266
|
updatedInputControl?: InputControl;
|
|
267
267
|
}
|
|
268
|
-
|
|
268
|
+
interface FormInputControlDeleted {
|
|
269
269
|
/** Event ID. */
|
|
270
270
|
eventId?: string;
|
|
271
271
|
/** Input control. */
|
|
272
272
|
deletedInputControl?: InputControl;
|
|
273
273
|
}
|
|
274
|
-
|
|
274
|
+
interface GetFormRequest {
|
|
275
275
|
/**
|
|
276
276
|
* Event ID to which the form belongs.
|
|
277
277
|
* @format GUID
|
|
278
278
|
*/
|
|
279
279
|
eventId: string;
|
|
280
280
|
}
|
|
281
|
-
|
|
281
|
+
declare enum RequestedFields {
|
|
282
282
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
283
283
|
/** Include soft deleted input controls in the response. */
|
|
284
284
|
DELETED = "DELETED"
|
|
285
285
|
}
|
|
286
|
-
|
|
286
|
+
interface GetFormResponse {
|
|
287
287
|
/**
|
|
288
288
|
* Currently published event form.
|
|
289
289
|
* Published form is visible to site visitors.
|
|
@@ -295,7 +295,7 @@ export interface GetFormResponse {
|
|
|
295
295
|
*/
|
|
296
296
|
draftForm?: Form;
|
|
297
297
|
}
|
|
298
|
-
|
|
298
|
+
interface AddControlRequest extends AddControlRequestControlOneOf {
|
|
299
299
|
/** Phone number input control. */
|
|
300
300
|
phone?: PhoneControl;
|
|
301
301
|
/** Single-line or full address input control. */
|
|
@@ -319,7 +319,7 @@ export interface AddControlRequest extends AddControlRequestControlOneOf {
|
|
|
319
319
|
eventId: string;
|
|
320
320
|
}
|
|
321
321
|
/** @oneof */
|
|
322
|
-
|
|
322
|
+
interface AddControlRequestControlOneOf {
|
|
323
323
|
/** Phone number input control. */
|
|
324
324
|
phone?: PhoneControl;
|
|
325
325
|
/** Single-line or full address input control. */
|
|
@@ -337,7 +337,7 @@ export interface AddControlRequestControlOneOf {
|
|
|
337
337
|
/** Single-choice radio button style input control. */
|
|
338
338
|
radioButton?: RadioButtonControl;
|
|
339
339
|
}
|
|
340
|
-
|
|
340
|
+
interface PhoneControl {
|
|
341
341
|
/**
|
|
342
342
|
* Phone input label.
|
|
343
343
|
* @maxLength 100
|
|
@@ -346,7 +346,7 @@ export interface PhoneControl {
|
|
|
346
346
|
/** Whether the phone input is required. */
|
|
347
347
|
mandatory?: boolean;
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
interface AddressControl {
|
|
350
350
|
/** Address control labels for each input. */
|
|
351
351
|
labels?: AddressControlLabels;
|
|
352
352
|
/** Whether an address is multi-line (consisting of multiple fields such as country, city, postal code). When `false`, address is single-line. */
|
|
@@ -354,7 +354,7 @@ export interface AddressControl {
|
|
|
354
354
|
/** Whether the address input is required. */
|
|
355
355
|
mandatory?: boolean;
|
|
356
356
|
}
|
|
357
|
-
|
|
357
|
+
interface AddressControlLabels {
|
|
358
358
|
/**
|
|
359
359
|
* Single-line address input label.
|
|
360
360
|
* @maxLength 100
|
|
@@ -386,7 +386,7 @@ export interface AddressControlLabels {
|
|
|
386
386
|
*/
|
|
387
387
|
streetAddress?: string;
|
|
388
388
|
}
|
|
389
|
-
|
|
389
|
+
interface DateControl {
|
|
390
390
|
/**
|
|
391
391
|
* Input control label.
|
|
392
392
|
* @maxLength 100
|
|
@@ -395,7 +395,7 @@ export interface DateControl {
|
|
|
395
395
|
/** Whether the date input is required. */
|
|
396
396
|
mandatory?: boolean;
|
|
397
397
|
}
|
|
398
|
-
|
|
398
|
+
interface AdditionalGuestsControl {
|
|
399
399
|
/** Additional guests control labels for each input. */
|
|
400
400
|
labels?: Labels;
|
|
401
401
|
/** Whether the individual guest names are required. */
|
|
@@ -407,7 +407,7 @@ export interface AdditionalGuestsControl {
|
|
|
407
407
|
*/
|
|
408
408
|
maxGuests?: number;
|
|
409
409
|
}
|
|
410
|
-
|
|
410
|
+
interface Labels {
|
|
411
411
|
/**
|
|
412
412
|
* Input label for a single guest.
|
|
413
413
|
* @maxLength 200
|
|
@@ -419,7 +419,7 @@ export interface Labels {
|
|
|
419
419
|
*/
|
|
420
420
|
multiple?: string;
|
|
421
421
|
}
|
|
422
|
-
|
|
422
|
+
interface DropdownControl {
|
|
423
423
|
/**
|
|
424
424
|
* Input control label.
|
|
425
425
|
* @maxLength 200
|
|
@@ -441,7 +441,7 @@ export interface DropdownControl {
|
|
|
441
441
|
*/
|
|
442
442
|
defaultOptionSelection?: OptionSelection;
|
|
443
443
|
}
|
|
444
|
-
|
|
444
|
+
interface RadioButtonControl {
|
|
445
445
|
/**
|
|
446
446
|
* Input control label.
|
|
447
447
|
* @maxLength 200
|
|
@@ -455,7 +455,7 @@ export interface RadioButtonControl {
|
|
|
455
455
|
*/
|
|
456
456
|
options?: string[];
|
|
457
457
|
}
|
|
458
|
-
|
|
458
|
+
interface CheckboxControl {
|
|
459
459
|
/**
|
|
460
460
|
* Input control label.
|
|
461
461
|
* @maxLength 200
|
|
@@ -471,7 +471,7 @@ export interface CheckboxControl {
|
|
|
471
471
|
*/
|
|
472
472
|
options?: string[];
|
|
473
473
|
}
|
|
474
|
-
|
|
474
|
+
interface TextControl {
|
|
475
475
|
/**
|
|
476
476
|
* Input control label.
|
|
477
477
|
* @maxLength 200
|
|
@@ -489,13 +489,13 @@ export interface TextControl {
|
|
|
489
489
|
/** Whether the input control should be displayed as a comment. */
|
|
490
490
|
comment?: boolean;
|
|
491
491
|
}
|
|
492
|
-
|
|
492
|
+
interface AddControlResponse {
|
|
493
493
|
/** Generated unique input control ID. */
|
|
494
|
-
|
|
494
|
+
_id?: string;
|
|
495
495
|
/** Modified draft event form. */
|
|
496
496
|
form?: Form;
|
|
497
497
|
}
|
|
498
|
-
|
|
498
|
+
interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
|
|
499
499
|
/** Phone number input control. */
|
|
500
500
|
phone?: PhoneControl;
|
|
501
501
|
/** Single-line or full address input control. */
|
|
@@ -522,12 +522,12 @@ export interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
|
|
|
522
522
|
*/
|
|
523
523
|
eventId: string;
|
|
524
524
|
/** Unique input control ID. */
|
|
525
|
-
|
|
525
|
+
_id: string;
|
|
526
526
|
/** Index used to sort input controls in ascending order. */
|
|
527
527
|
orderIndex?: number;
|
|
528
528
|
}
|
|
529
529
|
/** @oneof */
|
|
530
|
-
|
|
530
|
+
interface UpdateControlRequestControlOneOf {
|
|
531
531
|
/** Phone number input control. */
|
|
532
532
|
phone?: PhoneControl;
|
|
533
533
|
/** Single-line or full address input control. */
|
|
@@ -549,11 +549,11 @@ export interface UpdateControlRequestControlOneOf {
|
|
|
549
549
|
/** Single-choice radio style input control. */
|
|
550
550
|
radioButton?: RadioButtonControl;
|
|
551
551
|
}
|
|
552
|
-
|
|
552
|
+
interface NameControl {
|
|
553
553
|
/** Name control labels of each input. */
|
|
554
554
|
labels?: NameControlLabels;
|
|
555
555
|
}
|
|
556
|
-
|
|
556
|
+
interface NameControlLabels {
|
|
557
557
|
/**
|
|
558
558
|
* First name input label.
|
|
559
559
|
* @maxLength 100
|
|
@@ -565,18 +565,18 @@ export interface NameControlLabels {
|
|
|
565
565
|
*/
|
|
566
566
|
lastName?: string;
|
|
567
567
|
}
|
|
568
|
-
|
|
568
|
+
interface EmailControl {
|
|
569
569
|
/**
|
|
570
570
|
* Email input label.
|
|
571
571
|
* @maxLength 100
|
|
572
572
|
*/
|
|
573
573
|
label?: string;
|
|
574
574
|
}
|
|
575
|
-
|
|
575
|
+
interface UpdateControlResponse {
|
|
576
576
|
/** Modified draft event form. */
|
|
577
577
|
form?: Form;
|
|
578
578
|
}
|
|
579
|
-
|
|
579
|
+
interface DeleteControlRequest {
|
|
580
580
|
/**
|
|
581
581
|
* Event ID to which the form belongs.
|
|
582
582
|
* @format GUID
|
|
@@ -586,13 +586,13 @@ export interface DeleteControlRequest {
|
|
|
586
586
|
* Unique input control ID.
|
|
587
587
|
* @maxLength 100
|
|
588
588
|
*/
|
|
589
|
-
|
|
589
|
+
_id: string;
|
|
590
590
|
}
|
|
591
|
-
|
|
592
|
-
/** Modified draft event form */
|
|
591
|
+
interface DeleteControlResponse {
|
|
592
|
+
/** Modified draft event form. */
|
|
593
593
|
form?: Form;
|
|
594
594
|
}
|
|
595
|
-
|
|
595
|
+
interface UpdateMessagesRequest {
|
|
596
596
|
/**
|
|
597
597
|
* Event ID to which the form belongs.
|
|
598
598
|
* @format GUID
|
|
@@ -607,22 +607,22 @@ export interface UpdateMessagesRequest {
|
|
|
607
607
|
/** Set of configured form messages to update. */
|
|
608
608
|
messages?: FormMessages;
|
|
609
609
|
}
|
|
610
|
-
|
|
610
|
+
interface UpdateMessagesResponse {
|
|
611
611
|
/** Modified draft event form. */
|
|
612
612
|
form?: Form;
|
|
613
613
|
}
|
|
614
|
-
|
|
614
|
+
interface PublishDraftRequest {
|
|
615
615
|
/**
|
|
616
616
|
* Event ID to which the form belongs.
|
|
617
617
|
* @format GUID
|
|
618
618
|
*/
|
|
619
619
|
eventId: string;
|
|
620
620
|
}
|
|
621
|
-
|
|
621
|
+
interface PublishDraftResponse {
|
|
622
622
|
/** Published event form. */
|
|
623
623
|
form?: Form;
|
|
624
624
|
}
|
|
625
|
-
|
|
625
|
+
interface EventUpdated {
|
|
626
626
|
/** Event update timestamp in ISO UTC format. */
|
|
627
627
|
timestamp?: Date | null;
|
|
628
628
|
/**
|
|
@@ -644,7 +644,7 @@ export interface EventUpdated {
|
|
|
644
644
|
/** Updated event */
|
|
645
645
|
event?: Event;
|
|
646
646
|
}
|
|
647
|
-
|
|
647
|
+
interface Location {
|
|
648
648
|
/**
|
|
649
649
|
* Location name.
|
|
650
650
|
* @maxLength 50
|
|
@@ -676,7 +676,7 @@ export interface Location {
|
|
|
676
676
|
*/
|
|
677
677
|
tbd?: boolean | null;
|
|
678
678
|
}
|
|
679
|
-
|
|
679
|
+
interface MapCoordinates {
|
|
680
680
|
/**
|
|
681
681
|
* Latitude.
|
|
682
682
|
* @min -90
|
|
@@ -690,16 +690,16 @@ export interface MapCoordinates {
|
|
|
690
690
|
*/
|
|
691
691
|
lng?: number;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
declare enum LocationType {
|
|
694
694
|
VENUE = "VENUE",
|
|
695
695
|
ONLINE = "ONLINE"
|
|
696
696
|
}
|
|
697
697
|
/** Physical address */
|
|
698
|
-
|
|
698
|
+
interface Address extends AddressStreetOneOf {
|
|
699
699
|
/** a break down of the street to number and street name */
|
|
700
700
|
streetAddress?: StreetAddress;
|
|
701
701
|
/** Main address line (usually street and number) as free text */
|
|
702
|
-
|
|
702
|
+
addressLine1?: string | null;
|
|
703
703
|
/**
|
|
704
704
|
* country code
|
|
705
705
|
* @format COUNTRY
|
|
@@ -714,11 +714,9 @@ export interface Address extends AddressStreetOneOf {
|
|
|
714
714
|
/** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
|
|
715
715
|
addressLine2?: string | null;
|
|
716
716
|
/** A string containing the human-readable address of this location */
|
|
717
|
-
|
|
718
|
-
/** Free text for human-to-human textual orientation aid purposes */
|
|
719
|
-
hint?: string | null;
|
|
717
|
+
formatted?: string | null;
|
|
720
718
|
/** coordinates of the physical address */
|
|
721
|
-
|
|
719
|
+
location?: AddressLocation;
|
|
722
720
|
/** country full-name */
|
|
723
721
|
countryFullname?: string | null;
|
|
724
722
|
/**
|
|
@@ -728,19 +726,19 @@ export interface Address extends AddressStreetOneOf {
|
|
|
728
726
|
subdivisions?: Subdivision[];
|
|
729
727
|
}
|
|
730
728
|
/** @oneof */
|
|
731
|
-
|
|
729
|
+
interface AddressStreetOneOf {
|
|
732
730
|
/** a break down of the street to number and street name */
|
|
733
731
|
streetAddress?: StreetAddress;
|
|
734
732
|
/** Main address line (usually street and number) as free text */
|
|
735
733
|
addressLine?: string | null;
|
|
736
734
|
}
|
|
737
|
-
|
|
735
|
+
interface StreetAddress {
|
|
738
736
|
/** street number */
|
|
739
737
|
number?: string;
|
|
740
738
|
/** street name */
|
|
741
739
|
name?: string;
|
|
742
740
|
}
|
|
743
|
-
|
|
741
|
+
interface AddressLocation {
|
|
744
742
|
/**
|
|
745
743
|
* address latitude coordinates
|
|
746
744
|
* @min -90
|
|
@@ -754,13 +752,13 @@ export interface AddressLocation {
|
|
|
754
752
|
*/
|
|
755
753
|
longitude?: number | null;
|
|
756
754
|
}
|
|
757
|
-
|
|
755
|
+
interface Subdivision {
|
|
758
756
|
/** subdivision short code */
|
|
759
757
|
code?: string;
|
|
760
758
|
/** subdivision full-name */
|
|
761
759
|
name?: string;
|
|
762
760
|
}
|
|
763
|
-
|
|
761
|
+
declare enum SubdivisionType {
|
|
764
762
|
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
765
763
|
/** State */
|
|
766
764
|
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
@@ -775,7 +773,7 @@ export declare enum SubdivisionType {
|
|
|
775
773
|
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
776
774
|
COUNTRY = "COUNTRY"
|
|
777
775
|
}
|
|
778
|
-
|
|
776
|
+
interface ScheduleConfig {
|
|
779
777
|
/**
|
|
780
778
|
* Defines event as TBD (To Be Determined) schedule.
|
|
781
779
|
* When event time is not yet defined, TBD message is displayed instead of event start and end times.
|
|
@@ -803,7 +801,7 @@ export interface ScheduleConfig {
|
|
|
803
801
|
/** Event recurrences. */
|
|
804
802
|
recurrences?: Recurrences;
|
|
805
803
|
}
|
|
806
|
-
|
|
804
|
+
interface Recurrences {
|
|
807
805
|
/**
|
|
808
806
|
* Event occurrences.
|
|
809
807
|
* @maxSize 1000
|
|
@@ -820,7 +818,7 @@ export interface Recurrences {
|
|
|
820
818
|
*/
|
|
821
819
|
status?: Status;
|
|
822
820
|
}
|
|
823
|
-
|
|
821
|
+
interface Occurrence {
|
|
824
822
|
/** Event start timestamp. */
|
|
825
823
|
startDate?: Date | null;
|
|
826
824
|
/** Event end timestamp. */
|
|
@@ -833,7 +831,7 @@ export interface Occurrence {
|
|
|
833
831
|
/** Whether time zone is displayed in formatted schedule. */
|
|
834
832
|
showTimeZone?: boolean;
|
|
835
833
|
}
|
|
836
|
-
|
|
834
|
+
declare enum Status {
|
|
837
835
|
/** Event occurs only once. */
|
|
838
836
|
ONE_TIME = "ONE_TIME",
|
|
839
837
|
/** Event is recurring. */
|
|
@@ -845,13 +843,13 @@ export declare enum Status {
|
|
|
845
843
|
/** Marks the most recent canceled occurrence of the recurring event. */
|
|
846
844
|
RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
|
|
847
845
|
}
|
|
848
|
-
|
|
846
|
+
interface Event {
|
|
849
847
|
/**
|
|
850
848
|
* Event ID.
|
|
851
849
|
* @format GUID
|
|
852
850
|
* @readonly
|
|
853
851
|
*/
|
|
854
|
-
|
|
852
|
+
_id?: string;
|
|
855
853
|
/** Event location. */
|
|
856
854
|
location?: Location;
|
|
857
855
|
/** Event scheduling. */
|
|
@@ -863,7 +861,7 @@ export interface Event {
|
|
|
863
861
|
/** Rich-text content that are displayed in a site's "About Event" section (HTML). */
|
|
864
862
|
about?: string;
|
|
865
863
|
/** Main event image. */
|
|
866
|
-
mainImage?:
|
|
864
|
+
mainImage?: string;
|
|
867
865
|
/** Event slug URL (generated from event title). */
|
|
868
866
|
slug?: string;
|
|
869
867
|
/** ISO 639-1 language code of the event (used in content translations). */
|
|
@@ -915,7 +913,7 @@ export interface Event {
|
|
|
915
913
|
*/
|
|
916
914
|
publishedDate?: Date | null;
|
|
917
915
|
}
|
|
918
|
-
|
|
916
|
+
interface Scheduling {
|
|
919
917
|
/** Schedule configuration. */
|
|
920
918
|
config?: ScheduleConfig;
|
|
921
919
|
/** Formatted schedule representation. */
|
|
@@ -929,23 +927,7 @@ export interface Scheduling {
|
|
|
929
927
|
/** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */
|
|
930
928
|
endTimeFormatted?: string;
|
|
931
929
|
}
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* WixMedia image ID.
|
|
935
|
-
* @minLength 1
|
|
936
|
-
* @maxLength 200
|
|
937
|
-
*/
|
|
938
|
-
id?: string | null;
|
|
939
|
-
/** Image URL. */
|
|
940
|
-
url?: string;
|
|
941
|
-
/** Original image height. */
|
|
942
|
-
height?: number | null;
|
|
943
|
-
/** Original image width. */
|
|
944
|
-
width?: number | null;
|
|
945
|
-
/** Image alt text. Optional. */
|
|
946
|
-
altText?: string | null;
|
|
947
|
-
}
|
|
948
|
-
export declare enum EventStatus {
|
|
930
|
+
declare enum EventStatus {
|
|
949
931
|
/** Event is public and scheduled to start */
|
|
950
932
|
SCHEDULED = "SCHEDULED",
|
|
951
933
|
/** Event has started */
|
|
@@ -955,7 +937,7 @@ export declare enum EventStatus {
|
|
|
955
937
|
/** Event was canceled */
|
|
956
938
|
CANCELED = "CANCELED"
|
|
957
939
|
}
|
|
958
|
-
|
|
940
|
+
interface Registration {
|
|
959
941
|
/** Event type. */
|
|
960
942
|
type?: EventType;
|
|
961
943
|
/** Event registration status. */
|
|
@@ -971,7 +953,7 @@ export interface Registration {
|
|
|
971
953
|
/** Initial event type which was set when creating an event. */
|
|
972
954
|
initialType?: EventType;
|
|
973
955
|
}
|
|
974
|
-
|
|
956
|
+
declare enum EventType {
|
|
975
957
|
/** Type not available for this request fieldset */
|
|
976
958
|
NA_EVENT_TYPE = "NA_EVENT_TYPE",
|
|
977
959
|
/** Registration via RSVP */
|
|
@@ -983,7 +965,7 @@ export declare enum EventType {
|
|
|
983
965
|
/** Registration not available */
|
|
984
966
|
NO_REGISTRATION = "NO_REGISTRATION"
|
|
985
967
|
}
|
|
986
|
-
|
|
968
|
+
declare enum RegistrationStatus {
|
|
987
969
|
/** Registration status is not applicable */
|
|
988
970
|
NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
|
|
989
971
|
/** Registration to event is closed */
|
|
@@ -1001,11 +983,11 @@ export declare enum RegistrationStatus {
|
|
|
1001
983
|
/** Registration will be open via RSVP */
|
|
1002
984
|
SCHEDULED_RSVP = "SCHEDULED_RSVP"
|
|
1003
985
|
}
|
|
1004
|
-
|
|
986
|
+
interface RsvpCollection {
|
|
1005
987
|
/** RSVP collection configuration. */
|
|
1006
988
|
config?: RsvpCollectionConfig;
|
|
1007
989
|
}
|
|
1008
|
-
|
|
990
|
+
interface RsvpCollectionConfig {
|
|
1009
991
|
/** Defines the supported RSVP statuses. */
|
|
1010
992
|
rsvpStatusOptions?: RsvpStatusOptions;
|
|
1011
993
|
/**
|
|
@@ -1020,13 +1002,13 @@ export interface RsvpCollectionConfig {
|
|
|
1020
1002
|
/** Registration end timestamp. */
|
|
1021
1003
|
endDate?: Date | null;
|
|
1022
1004
|
}
|
|
1023
|
-
|
|
1005
|
+
declare enum RsvpStatusOptions {
|
|
1024
1006
|
/** Only YES RSVP status is available for RSVP registration */
|
|
1025
1007
|
YES_ONLY = "YES_ONLY",
|
|
1026
1008
|
/** YES and NO RSVP status options are available for the registration */
|
|
1027
1009
|
YES_AND_NO = "YES_AND_NO"
|
|
1028
1010
|
}
|
|
1029
|
-
|
|
1011
|
+
interface Ticketing {
|
|
1030
1012
|
/**
|
|
1031
1013
|
* Deprecated.
|
|
1032
1014
|
* @deprecated
|
|
@@ -1067,7 +1049,7 @@ export interface Ticketing {
|
|
|
1067
1049
|
*/
|
|
1068
1050
|
soldOut?: boolean | null;
|
|
1069
1051
|
}
|
|
1070
|
-
|
|
1052
|
+
interface TicketingConfig {
|
|
1071
1053
|
/** Whether the form must be filled out separately for each ticket. */
|
|
1072
1054
|
guestAssignedTickets?: boolean;
|
|
1073
1055
|
/** Tax configuration. */
|
|
@@ -1084,7 +1066,7 @@ export interface TicketingConfig {
|
|
|
1084
1066
|
*/
|
|
1085
1067
|
reservationDurationInMinutes?: number | null;
|
|
1086
1068
|
}
|
|
1087
|
-
|
|
1069
|
+
interface TaxConfig {
|
|
1088
1070
|
/** Tax application settings. */
|
|
1089
1071
|
type?: TaxType;
|
|
1090
1072
|
/**
|
|
@@ -1101,7 +1083,7 @@ export interface TaxConfig {
|
|
|
1101
1083
|
/** Applies taxes for donations, default true. */
|
|
1102
1084
|
appliesToDonations?: boolean | null;
|
|
1103
1085
|
}
|
|
1104
|
-
|
|
1086
|
+
declare enum TaxType {
|
|
1105
1087
|
/** Tax is included in the ticket price. */
|
|
1106
1088
|
INCLUDED = "INCLUDED",
|
|
1107
1089
|
/** Tax is added to the order at the checkout. */
|
|
@@ -1109,7 +1091,7 @@ export declare enum TaxType {
|
|
|
1109
1091
|
/** Tax is added to the final total at the checkout. */
|
|
1110
1092
|
ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
|
|
1111
1093
|
}
|
|
1112
|
-
|
|
1094
|
+
interface Money {
|
|
1113
1095
|
/**
|
|
1114
1096
|
* *Deprecated:** Use `value` instead.
|
|
1115
1097
|
* @format DECIMAL_VALUE
|
|
@@ -1127,11 +1109,11 @@ export interface Money {
|
|
|
1127
1109
|
*/
|
|
1128
1110
|
value?: string | null;
|
|
1129
1111
|
}
|
|
1130
|
-
|
|
1112
|
+
interface ExternalEvent {
|
|
1131
1113
|
/** External event registration URL. */
|
|
1132
1114
|
registration?: string;
|
|
1133
1115
|
}
|
|
1134
|
-
|
|
1116
|
+
declare enum VisitorType {
|
|
1135
1117
|
/** Site visitor (including member) */
|
|
1136
1118
|
VISITOR = "VISITOR",
|
|
1137
1119
|
/** Site member */
|
|
@@ -1139,14 +1121,14 @@ export declare enum VisitorType {
|
|
|
1139
1121
|
/** Site visitor or member */
|
|
1140
1122
|
VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
|
|
1141
1123
|
}
|
|
1142
|
-
|
|
1124
|
+
interface CalendarLinks {
|
|
1143
1125
|
/** "Add to Google calendar" URL. */
|
|
1144
1126
|
google?: string;
|
|
1145
1127
|
/** "Download ICS calendar file" URL. */
|
|
1146
1128
|
ics?: string;
|
|
1147
1129
|
}
|
|
1148
1130
|
/** Site URL components */
|
|
1149
|
-
|
|
1131
|
+
interface SiteUrl {
|
|
1150
1132
|
/**
|
|
1151
1133
|
* Base URL. For premium sites, this will be the domain.
|
|
1152
1134
|
* For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)
|
|
@@ -1155,7 +1137,7 @@ export interface SiteUrl {
|
|
|
1155
1137
|
/** The path to that page - e.g `/my-events/weekly-meetup-2` */
|
|
1156
1138
|
path?: string;
|
|
1157
1139
|
}
|
|
1158
|
-
|
|
1140
|
+
interface Dashboard {
|
|
1159
1141
|
/** Guest RSVP summary. */
|
|
1160
1142
|
rsvpSummary?: RsvpSummary;
|
|
1161
1143
|
/**
|
|
@@ -1164,7 +1146,7 @@ export interface Dashboard {
|
|
|
1164
1146
|
*/
|
|
1165
1147
|
ticketingSummary?: TicketingSummary;
|
|
1166
1148
|
}
|
|
1167
|
-
|
|
1149
|
+
interface RsvpSummary {
|
|
1168
1150
|
/** Total number of RSVPs. */
|
|
1169
1151
|
total?: number;
|
|
1170
1152
|
/** Number of RSVPs with status `YES`. */
|
|
@@ -1174,7 +1156,7 @@ export interface RsvpSummary {
|
|
|
1174
1156
|
/** Number of RSVPs in waitlist. */
|
|
1175
1157
|
waitlist?: number;
|
|
1176
1158
|
}
|
|
1177
|
-
|
|
1159
|
+
interface TicketingSummary {
|
|
1178
1160
|
/** Number of tickets sold. */
|
|
1179
1161
|
tickets?: number;
|
|
1180
1162
|
/**
|
|
@@ -1189,19 +1171,19 @@ export interface TicketingSummary {
|
|
|
1189
1171
|
/** Total balance of confirmed transactions. */
|
|
1190
1172
|
totalSales?: Money;
|
|
1191
1173
|
}
|
|
1192
|
-
|
|
1174
|
+
interface GuestListConfig {
|
|
1193
1175
|
/** Whether members can see other members attending the event (defaults to true). */
|
|
1194
1176
|
publicGuestList?: boolean;
|
|
1195
1177
|
}
|
|
1196
|
-
|
|
1178
|
+
interface Feed {
|
|
1197
1179
|
/** Event discussion feed token. */
|
|
1198
1180
|
token?: string;
|
|
1199
1181
|
}
|
|
1200
|
-
|
|
1182
|
+
interface OnlineConferencing {
|
|
1201
1183
|
config?: OnlineConferencingConfig;
|
|
1202
1184
|
session?: OnlineConferencingSession;
|
|
1203
1185
|
}
|
|
1204
|
-
|
|
1186
|
+
interface OnlineConferencingConfig {
|
|
1205
1187
|
/**
|
|
1206
1188
|
* Whether online conferencing is enabled (not supported for TBD schedules).
|
|
1207
1189
|
* When enabled, links to join conferencing are generated and provided to guests.
|
|
@@ -1215,13 +1197,13 @@ export interface OnlineConferencingConfig {
|
|
|
1215
1197
|
/** Conference type */
|
|
1216
1198
|
conferenceType?: ConferenceType;
|
|
1217
1199
|
}
|
|
1218
|
-
|
|
1200
|
+
declare enum ConferenceType {
|
|
1219
1201
|
/** Everyone in the meeting can publish and subscribe video and audio. */
|
|
1220
1202
|
MEETING = "MEETING",
|
|
1221
1203
|
/** Guests can only subscribe to video and audio. */
|
|
1222
1204
|
WEBINAR = "WEBINAR"
|
|
1223
1205
|
}
|
|
1224
|
-
|
|
1206
|
+
interface OnlineConferencingSession {
|
|
1225
1207
|
/**
|
|
1226
1208
|
* Link for event host to start the online conference session.
|
|
1227
1209
|
* @readonly
|
|
@@ -1248,7 +1230,7 @@ export interface OnlineConferencingSession {
|
|
|
1248
1230
|
*/
|
|
1249
1231
|
sessionId?: string | null;
|
|
1250
1232
|
}
|
|
1251
|
-
|
|
1233
|
+
interface SeoSettings {
|
|
1252
1234
|
/**
|
|
1253
1235
|
* URL slug
|
|
1254
1236
|
* @maxLength 130
|
|
@@ -1267,13 +1249,13 @@ export interface SeoSettings {
|
|
|
1267
1249
|
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
1268
1250
|
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
|
|
1269
1251
|
*/
|
|
1270
|
-
|
|
1252
|
+
interface SeoSchema {
|
|
1271
1253
|
/** SEO tag information. */
|
|
1272
1254
|
tags?: Tag[];
|
|
1273
1255
|
/** SEO general settings. */
|
|
1274
1256
|
settings?: Settings;
|
|
1275
1257
|
}
|
|
1276
|
-
|
|
1258
|
+
interface Keyword {
|
|
1277
1259
|
/** Keyword value. */
|
|
1278
1260
|
term?: string;
|
|
1279
1261
|
/** Whether the keyword is the main focus keyword. */
|
|
@@ -1284,7 +1266,7 @@ export interface Keyword {
|
|
|
1284
1266
|
*/
|
|
1285
1267
|
origin?: string | null;
|
|
1286
1268
|
}
|
|
1287
|
-
|
|
1269
|
+
interface Tag {
|
|
1288
1270
|
/**
|
|
1289
1271
|
* SEO tag type.
|
|
1290
1272
|
*
|
|
@@ -1306,7 +1288,7 @@ export interface Tag {
|
|
|
1306
1288
|
/** Whether the tag is disabled. */
|
|
1307
1289
|
disabled?: boolean;
|
|
1308
1290
|
}
|
|
1309
|
-
|
|
1291
|
+
interface Settings {
|
|
1310
1292
|
/**
|
|
1311
1293
|
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
1312
1294
|
*
|
|
@@ -1320,7 +1302,7 @@ export interface Settings {
|
|
|
1320
1302
|
*/
|
|
1321
1303
|
keywords?: Keyword[];
|
|
1322
1304
|
}
|
|
1323
|
-
|
|
1305
|
+
interface Agenda {
|
|
1324
1306
|
/** Whether the schedule is enabled for the event. */
|
|
1325
1307
|
enabled?: boolean;
|
|
1326
1308
|
/**
|
|
@@ -1329,13 +1311,13 @@ export interface Agenda {
|
|
|
1329
1311
|
*/
|
|
1330
1312
|
pageUrl?: SiteUrl;
|
|
1331
1313
|
}
|
|
1332
|
-
|
|
1314
|
+
interface Category {
|
|
1333
1315
|
/**
|
|
1334
1316
|
* Category ID.
|
|
1335
1317
|
* @format GUID
|
|
1336
1318
|
* @readonly
|
|
1337
1319
|
*/
|
|
1338
|
-
|
|
1320
|
+
_id?: string;
|
|
1339
1321
|
/**
|
|
1340
1322
|
* Category name.
|
|
1341
1323
|
* @minLength 1
|
|
@@ -1346,7 +1328,7 @@ export interface Category {
|
|
|
1346
1328
|
* Date and time when category was created.
|
|
1347
1329
|
* @readonly
|
|
1348
1330
|
*/
|
|
1349
|
-
|
|
1331
|
+
_createdDate?: Date | null;
|
|
1350
1332
|
/**
|
|
1351
1333
|
* The total number of draft and published events assigned to the category.
|
|
1352
1334
|
* @readonly
|
|
@@ -1367,13 +1349,13 @@ export interface Category {
|
|
|
1367
1349
|
*/
|
|
1368
1350
|
states?: State[];
|
|
1369
1351
|
}
|
|
1370
|
-
|
|
1352
|
+
interface CategoryCounts {
|
|
1371
1353
|
/** Total number of draft events assigned to the category. */
|
|
1372
1354
|
assignedEventsCount?: number | null;
|
|
1373
1355
|
/** Total number of published events assigned to the category. Deleted events are excluded. */
|
|
1374
1356
|
assignedDraftEventsCount?: number | null;
|
|
1375
1357
|
}
|
|
1376
|
-
|
|
1358
|
+
declare enum State {
|
|
1377
1359
|
/** Created manually by the user. */
|
|
1378
1360
|
MANUAL = "MANUAL",
|
|
1379
1361
|
/** Created automatically. */
|
|
@@ -1383,15 +1365,15 @@ export declare enum State {
|
|
|
1383
1365
|
/** Category is hidden. */
|
|
1384
1366
|
HIDDEN = "HIDDEN"
|
|
1385
1367
|
}
|
|
1386
|
-
|
|
1368
|
+
interface EventDisplaySettings {
|
|
1387
1369
|
/** Whether event details button is hidden. Only available for events with no registration. */
|
|
1388
1370
|
hideEventDetailsButton?: boolean | null;
|
|
1389
1371
|
/** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */
|
|
1390
1372
|
hideEventDetailsPage?: boolean | null;
|
|
1391
1373
|
}
|
|
1392
|
-
|
|
1374
|
+
interface LabellingSettings {
|
|
1393
1375
|
}
|
|
1394
|
-
|
|
1376
|
+
interface RichContent {
|
|
1395
1377
|
/** Node objects representing a rich content document. */
|
|
1396
1378
|
nodes?: Node[];
|
|
1397
1379
|
/** Object metadata. */
|
|
@@ -1399,7 +1381,7 @@ export interface RichContent {
|
|
|
1399
1381
|
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
|
1400
1382
|
documentStyle?: DocumentStyle;
|
|
1401
1383
|
}
|
|
1402
|
-
|
|
1384
|
+
interface Node extends NodeDataOneOf {
|
|
1403
1385
|
/** Data for a button node. */
|
|
1404
1386
|
buttonData?: ButtonData;
|
|
1405
1387
|
/** Data for a code block node. */
|
|
@@ -1457,14 +1439,14 @@ export interface Node extends NodeDataOneOf {
|
|
|
1457
1439
|
/** 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. */
|
|
1458
1440
|
type?: NodeType;
|
|
1459
1441
|
/** Node ID. */
|
|
1460
|
-
|
|
1442
|
+
_id?: string;
|
|
1461
1443
|
/** A list of child nodes. */
|
|
1462
1444
|
nodes?: Node[];
|
|
1463
1445
|
/** Padding and background color styling for the node. */
|
|
1464
1446
|
style?: NodeStyle;
|
|
1465
1447
|
}
|
|
1466
1448
|
/** @oneof */
|
|
1467
|
-
|
|
1449
|
+
interface NodeDataOneOf {
|
|
1468
1450
|
/** Data for a button node. */
|
|
1469
1451
|
buttonData?: ButtonData;
|
|
1470
1452
|
/** Data for a code block node. */
|
|
@@ -1520,7 +1502,7 @@ export interface NodeDataOneOf {
|
|
|
1520
1502
|
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
|
1521
1503
|
layoutCellData?: LayoutCellData;
|
|
1522
1504
|
}
|
|
1523
|
-
|
|
1505
|
+
declare enum NodeType {
|
|
1524
1506
|
PARAGRAPH = "PARAGRAPH",
|
|
1525
1507
|
TEXT = "TEXT",
|
|
1526
1508
|
HEADING = "HEADING",
|
|
@@ -1556,7 +1538,7 @@ export declare enum NodeType {
|
|
|
1556
1538
|
LAYOUT = "LAYOUT",
|
|
1557
1539
|
LAYOUT_CELL = "LAYOUT_CELL"
|
|
1558
1540
|
}
|
|
1559
|
-
|
|
1541
|
+
interface NodeStyle {
|
|
1560
1542
|
/** The top padding value in pixels. */
|
|
1561
1543
|
paddingTop?: string | null;
|
|
1562
1544
|
/** The bottom padding value in pixels. */
|
|
@@ -1564,7 +1546,7 @@ export interface NodeStyle {
|
|
|
1564
1546
|
/** The background color as a hexadecimal value. */
|
|
1565
1547
|
backgroundColor?: string | null;
|
|
1566
1548
|
}
|
|
1567
|
-
|
|
1549
|
+
interface ButtonData {
|
|
1568
1550
|
/** Styling for the button's container. */
|
|
1569
1551
|
containerData?: PluginContainerData;
|
|
1570
1552
|
/** The button type. */
|
|
@@ -1576,7 +1558,7 @@ export interface ButtonData {
|
|
|
1576
1558
|
/** Button link details. */
|
|
1577
1559
|
link?: Link;
|
|
1578
1560
|
}
|
|
1579
|
-
|
|
1561
|
+
interface Border {
|
|
1580
1562
|
/**
|
|
1581
1563
|
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
1582
1564
|
* @deprecated
|
|
@@ -1588,7 +1570,7 @@ export interface Border {
|
|
|
1588
1570
|
*/
|
|
1589
1571
|
radius?: number | null;
|
|
1590
1572
|
}
|
|
1591
|
-
|
|
1573
|
+
interface Colors {
|
|
1592
1574
|
/**
|
|
1593
1575
|
* Deprecated: Use `textColor` in `styles` instead.
|
|
1594
1576
|
* @deprecated
|
|
@@ -1605,7 +1587,7 @@ export interface Colors {
|
|
|
1605
1587
|
*/
|
|
1606
1588
|
background?: string | null;
|
|
1607
1589
|
}
|
|
1608
|
-
|
|
1590
|
+
interface PluginContainerData {
|
|
1609
1591
|
/** The width of the node when it's displayed. */
|
|
1610
1592
|
width?: PluginContainerDataWidth;
|
|
1611
1593
|
/** The node's alignment within its container. */
|
|
@@ -1617,7 +1599,7 @@ export interface PluginContainerData {
|
|
|
1617
1599
|
/** 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`. */
|
|
1618
1600
|
textWrap?: boolean | null;
|
|
1619
1601
|
}
|
|
1620
|
-
|
|
1602
|
+
declare enum WidthType {
|
|
1621
1603
|
/** Width matches the content width */
|
|
1622
1604
|
CONTENT = "CONTENT",
|
|
1623
1605
|
/** Small Width */
|
|
@@ -1627,7 +1609,7 @@ export declare enum WidthType {
|
|
|
1627
1609
|
/** coast-to-coast display */
|
|
1628
1610
|
FULL_WIDTH = "FULL_WIDTH"
|
|
1629
1611
|
}
|
|
1630
|
-
|
|
1612
|
+
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
|
1631
1613
|
/**
|
|
1632
1614
|
* One of the following predefined width options:
|
|
1633
1615
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -1640,7 +1622,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
|
|
|
1640
1622
|
custom?: string | null;
|
|
1641
1623
|
}
|
|
1642
1624
|
/** @oneof */
|
|
1643
|
-
|
|
1625
|
+
interface PluginContainerDataWidthDataOneOf {
|
|
1644
1626
|
/**
|
|
1645
1627
|
* One of the following predefined width options:
|
|
1646
1628
|
* `CONTENT`: The width of the container matches the content width.
|
|
@@ -1652,7 +1634,7 @@ export interface PluginContainerDataWidthDataOneOf {
|
|
|
1652
1634
|
/** A custom width value in pixels. */
|
|
1653
1635
|
custom?: string | null;
|
|
1654
1636
|
}
|
|
1655
|
-
|
|
1637
|
+
declare enum PluginContainerDataAlignment {
|
|
1656
1638
|
/** Center Alignment */
|
|
1657
1639
|
CENTER = "CENTER",
|
|
1658
1640
|
/** Left Alignment */
|
|
@@ -1660,7 +1642,7 @@ export declare enum PluginContainerDataAlignment {
|
|
|
1660
1642
|
/** Right Alignment */
|
|
1661
1643
|
RIGHT = "RIGHT"
|
|
1662
1644
|
}
|
|
1663
|
-
|
|
1645
|
+
interface Spoiler {
|
|
1664
1646
|
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
|
1665
1647
|
enabled?: boolean | null;
|
|
1666
1648
|
/** The description displayed on top of the spoiler cover. */
|
|
@@ -1668,17 +1650,17 @@ export interface Spoiler {
|
|
|
1668
1650
|
/** The text for the button used to remove the spoiler cover. */
|
|
1669
1651
|
buttonText?: string | null;
|
|
1670
1652
|
}
|
|
1671
|
-
|
|
1653
|
+
interface Height {
|
|
1672
1654
|
/** A custom height value in pixels. */
|
|
1673
1655
|
custom?: string | null;
|
|
1674
1656
|
}
|
|
1675
|
-
|
|
1657
|
+
declare enum ButtonDataType {
|
|
1676
1658
|
/** Regular link button */
|
|
1677
1659
|
LINK = "LINK",
|
|
1678
1660
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
1679
1661
|
ACTION = "ACTION"
|
|
1680
1662
|
}
|
|
1681
|
-
|
|
1663
|
+
interface Styles {
|
|
1682
1664
|
/**
|
|
1683
1665
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
1684
1666
|
* @deprecated
|
|
@@ -1731,7 +1713,7 @@ export interface Styles {
|
|
|
1731
1713
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1732
1714
|
buttonSize?: string | null;
|
|
1733
1715
|
}
|
|
1734
|
-
|
|
1716
|
+
interface Link extends LinkDataOneOf {
|
|
1735
1717
|
/** The absolute URL for the linked document. */
|
|
1736
1718
|
url?: string;
|
|
1737
1719
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
@@ -1750,13 +1732,13 @@ export interface Link extends LinkDataOneOf {
|
|
|
1750
1732
|
customData?: string | null;
|
|
1751
1733
|
}
|
|
1752
1734
|
/** @oneof */
|
|
1753
|
-
|
|
1735
|
+
interface LinkDataOneOf {
|
|
1754
1736
|
/** The absolute URL for the linked document. */
|
|
1755
1737
|
url?: string;
|
|
1756
1738
|
/** The target node's ID. Used for linking to another node in this object. */
|
|
1757
1739
|
anchor?: string;
|
|
1758
1740
|
}
|
|
1759
|
-
|
|
1741
|
+
declare enum Target {
|
|
1760
1742
|
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
1761
1743
|
SELF = "SELF",
|
|
1762
1744
|
/** Opens the linked document in a new window or tab */
|
|
@@ -1766,7 +1748,7 @@ export declare enum Target {
|
|
|
1766
1748
|
/** Opens the linked document in the full body of the window */
|
|
1767
1749
|
TOP = "TOP"
|
|
1768
1750
|
}
|
|
1769
|
-
|
|
1751
|
+
interface Rel {
|
|
1770
1752
|
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
|
1771
1753
|
nofollow?: boolean | null;
|
|
1772
1754
|
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
|
@@ -1776,17 +1758,17 @@ export interface Rel {
|
|
|
1776
1758
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
1777
1759
|
noreferrer?: boolean | null;
|
|
1778
1760
|
}
|
|
1779
|
-
|
|
1761
|
+
interface CodeBlockData {
|
|
1780
1762
|
/** Styling for the code block's text. */
|
|
1781
1763
|
textStyle?: TextStyle;
|
|
1782
1764
|
}
|
|
1783
|
-
|
|
1765
|
+
interface TextStyle {
|
|
1784
1766
|
/** Text alignment. Defaults to `AUTO`. */
|
|
1785
1767
|
textAlignment?: TextAlignment;
|
|
1786
1768
|
/** 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. */
|
|
1787
1769
|
lineHeight?: string | null;
|
|
1788
1770
|
}
|
|
1789
|
-
|
|
1771
|
+
declare enum TextAlignment {
|
|
1790
1772
|
/** browser default, eqivalent to `initial` */
|
|
1791
1773
|
AUTO = "AUTO",
|
|
1792
1774
|
/** Left align */
|
|
@@ -1798,7 +1780,7 @@ export declare enum TextAlignment {
|
|
|
1798
1780
|
/** 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 */
|
|
1799
1781
|
JUSTIFY = "JUSTIFY"
|
|
1800
1782
|
}
|
|
1801
|
-
|
|
1783
|
+
interface DividerData {
|
|
1802
1784
|
/** Styling for the divider's container. */
|
|
1803
1785
|
containerData?: PluginContainerData;
|
|
1804
1786
|
/** Divider line style. */
|
|
@@ -1808,7 +1790,7 @@ export interface DividerData {
|
|
|
1808
1790
|
/** Divider alignment. */
|
|
1809
1791
|
alignment?: Alignment;
|
|
1810
1792
|
}
|
|
1811
|
-
|
|
1793
|
+
declare enum LineStyle {
|
|
1812
1794
|
/** Single Line */
|
|
1813
1795
|
SINGLE = "SINGLE",
|
|
1814
1796
|
/** Double Line */
|
|
@@ -1818,7 +1800,7 @@ export declare enum LineStyle {
|
|
|
1818
1800
|
/** Dotted Line */
|
|
1819
1801
|
DOTTED = "DOTTED"
|
|
1820
1802
|
}
|
|
1821
|
-
|
|
1803
|
+
declare enum Width {
|
|
1822
1804
|
/** Large line */
|
|
1823
1805
|
LARGE = "LARGE",
|
|
1824
1806
|
/** Medium line */
|
|
@@ -1826,7 +1808,7 @@ export declare enum Width {
|
|
|
1826
1808
|
/** Small line */
|
|
1827
1809
|
SMALL = "SMALL"
|
|
1828
1810
|
}
|
|
1829
|
-
|
|
1811
|
+
declare enum Alignment {
|
|
1830
1812
|
/** Center alignment */
|
|
1831
1813
|
CENTER = "CENTER",
|
|
1832
1814
|
/** Left alignment */
|
|
@@ -1834,7 +1816,7 @@ export declare enum Alignment {
|
|
|
1834
1816
|
/** Right alignment */
|
|
1835
1817
|
RIGHT = "RIGHT"
|
|
1836
1818
|
}
|
|
1837
|
-
|
|
1819
|
+
interface FileData {
|
|
1838
1820
|
/** Styling for the file's container. */
|
|
1839
1821
|
containerData?: PluginContainerData;
|
|
1840
1822
|
/** The source for the file's data. */
|
|
@@ -1857,7 +1839,7 @@ export interface FileData {
|
|
|
1857
1839
|
/** File size in KB. */
|
|
1858
1840
|
sizeInKb?: string | null;
|
|
1859
1841
|
}
|
|
1860
|
-
|
|
1842
|
+
declare enum ViewMode {
|
|
1861
1843
|
/** No PDF view */
|
|
1862
1844
|
NONE = "NONE",
|
|
1863
1845
|
/** Full PDF view */
|
|
@@ -1865,7 +1847,7 @@ export declare enum ViewMode {
|
|
|
1865
1847
|
/** Mini PDF view */
|
|
1866
1848
|
MINI = "MINI"
|
|
1867
1849
|
}
|
|
1868
|
-
|
|
1850
|
+
interface FileSource extends FileSourceDataOneOf {
|
|
1869
1851
|
/** The absolute URL for the file's source. */
|
|
1870
1852
|
url?: string | null;
|
|
1871
1853
|
/**
|
|
@@ -1874,12 +1856,12 @@ export interface FileSource extends FileSourceDataOneOf {
|
|
|
1874
1856
|
*/
|
|
1875
1857
|
custom?: string | null;
|
|
1876
1858
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
1877
|
-
|
|
1859
|
+
_id?: string | null;
|
|
1878
1860
|
/** Indicates whether the file's source is private. Defaults to `false`. */
|
|
1879
1861
|
private?: boolean | null;
|
|
1880
1862
|
}
|
|
1881
1863
|
/** @oneof */
|
|
1882
|
-
|
|
1864
|
+
interface FileSourceDataOneOf {
|
|
1883
1865
|
/** The absolute URL for the file's source. */
|
|
1884
1866
|
url?: string | null;
|
|
1885
1867
|
/**
|
|
@@ -1888,9 +1870,9 @@ export interface FileSourceDataOneOf {
|
|
|
1888
1870
|
*/
|
|
1889
1871
|
custom?: string | null;
|
|
1890
1872
|
/** An ID that's resolved to a URL by a resolver function. */
|
|
1891
|
-
|
|
1873
|
+
_id?: string | null;
|
|
1892
1874
|
}
|
|
1893
|
-
|
|
1875
|
+
interface PDFSettings {
|
|
1894
1876
|
/**
|
|
1895
1877
|
* PDF view mode. One of the following:
|
|
1896
1878
|
* `NONE` : The PDF isn't displayed.
|
|
@@ -1903,7 +1885,7 @@ export interface PDFSettings {
|
|
|
1903
1885
|
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
|
1904
1886
|
disablePrint?: boolean | null;
|
|
1905
1887
|
}
|
|
1906
|
-
|
|
1888
|
+
interface GalleryData {
|
|
1907
1889
|
/** Styling for the gallery's container. */
|
|
1908
1890
|
containerData?: PluginContainerData;
|
|
1909
1891
|
/** The items in the gallery. */
|
|
@@ -1915,7 +1897,7 @@ export interface GalleryData {
|
|
|
1915
1897
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
1916
1898
|
disableDownload?: boolean | null;
|
|
1917
1899
|
}
|
|
1918
|
-
|
|
1900
|
+
interface Media {
|
|
1919
1901
|
/** The source for the media's data. */
|
|
1920
1902
|
src?: FileSource;
|
|
1921
1903
|
/** Media width in pixels. */
|
|
@@ -1925,21 +1907,21 @@ export interface Media {
|
|
|
1925
1907
|
/** Media duration in seconds. Only relevant for audio and video files. */
|
|
1926
1908
|
duration?: number | null;
|
|
1927
1909
|
}
|
|
1928
|
-
|
|
1910
|
+
interface Image {
|
|
1929
1911
|
/** Image file details. */
|
|
1930
1912
|
media?: Media;
|
|
1931
1913
|
/** Link details for images that are links. */
|
|
1932
1914
|
link?: Link;
|
|
1933
1915
|
}
|
|
1934
|
-
|
|
1916
|
+
interface Video {
|
|
1935
1917
|
/** Video file details. */
|
|
1936
1918
|
media?: Media;
|
|
1937
1919
|
/** Video thumbnail file details. */
|
|
1938
1920
|
thumbnail?: Media;
|
|
1939
1921
|
}
|
|
1940
|
-
|
|
1922
|
+
interface Item extends ItemDataOneOf {
|
|
1941
1923
|
/** An image item. */
|
|
1942
|
-
image?:
|
|
1924
|
+
image?: Image;
|
|
1943
1925
|
/** A video item. */
|
|
1944
1926
|
video?: Video;
|
|
1945
1927
|
/** Item title. */
|
|
@@ -1948,13 +1930,13 @@ export interface Item extends ItemDataOneOf {
|
|
|
1948
1930
|
altText?: string | null;
|
|
1949
1931
|
}
|
|
1950
1932
|
/** @oneof */
|
|
1951
|
-
|
|
1933
|
+
interface ItemDataOneOf {
|
|
1952
1934
|
/** An image item. */
|
|
1953
|
-
image?:
|
|
1935
|
+
image?: Image;
|
|
1954
1936
|
/** A video item. */
|
|
1955
1937
|
video?: Video;
|
|
1956
1938
|
}
|
|
1957
|
-
|
|
1939
|
+
interface GalleryOptions {
|
|
1958
1940
|
/** Gallery layout. */
|
|
1959
1941
|
layout?: Layout;
|
|
1960
1942
|
/** Styling for gallery items. */
|
|
@@ -1962,7 +1944,7 @@ export interface GalleryOptions {
|
|
|
1962
1944
|
/** Styling for gallery thumbnail images. */
|
|
1963
1945
|
thumbnails?: Thumbnails;
|
|
1964
1946
|
}
|
|
1965
|
-
|
|
1947
|
+
declare enum LayoutType {
|
|
1966
1948
|
/** Collage type */
|
|
1967
1949
|
COLLAGE = "COLLAGE",
|
|
1968
1950
|
/** Masonry type */
|
|
@@ -1984,19 +1966,19 @@ export declare enum LayoutType {
|
|
|
1984
1966
|
/** Fullsize images type */
|
|
1985
1967
|
FULLSIZE = "FULLSIZE"
|
|
1986
1968
|
}
|
|
1987
|
-
|
|
1969
|
+
declare enum Orientation {
|
|
1988
1970
|
/** Rows Orientation */
|
|
1989
1971
|
ROWS = "ROWS",
|
|
1990
1972
|
/** Columns Orientation */
|
|
1991
1973
|
COLUMNS = "COLUMNS"
|
|
1992
1974
|
}
|
|
1993
|
-
|
|
1975
|
+
declare enum Crop {
|
|
1994
1976
|
/** Crop to fill */
|
|
1995
1977
|
FILL = "FILL",
|
|
1996
1978
|
/** Crop to fit */
|
|
1997
1979
|
FIT = "FIT"
|
|
1998
1980
|
}
|
|
1999
|
-
|
|
1981
|
+
declare enum ThumbnailsAlignment {
|
|
2000
1982
|
/** Top alignment */
|
|
2001
1983
|
TOP = "TOP",
|
|
2002
1984
|
/** Right alignment */
|
|
@@ -2008,7 +1990,7 @@ export declare enum ThumbnailsAlignment {
|
|
|
2008
1990
|
/** No thumbnail */
|
|
2009
1991
|
NONE = "NONE"
|
|
2010
1992
|
}
|
|
2011
|
-
|
|
1993
|
+
interface Layout {
|
|
2012
1994
|
/** Gallery layout type. */
|
|
2013
1995
|
type?: LayoutType;
|
|
2014
1996
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -2020,7 +2002,7 @@ export interface Layout {
|
|
|
2020
2002
|
/** The number of columns to display on mobile screens. */
|
|
2021
2003
|
mobileNumberOfColumns?: number | null;
|
|
2022
2004
|
}
|
|
2023
|
-
|
|
2005
|
+
interface ItemStyle {
|
|
2024
2006
|
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
|
2025
2007
|
targetSize?: number | null;
|
|
2026
2008
|
/** Item ratio */
|
|
@@ -2030,13 +2012,13 @@ export interface ItemStyle {
|
|
|
2030
2012
|
/** The spacing between items in pixels. */
|
|
2031
2013
|
spacing?: number | null;
|
|
2032
2014
|
}
|
|
2033
|
-
|
|
2015
|
+
interface Thumbnails {
|
|
2034
2016
|
/** Thumbnail alignment. */
|
|
2035
2017
|
placement?: ThumbnailsAlignment;
|
|
2036
2018
|
/** Spacing between thumbnails in pixels. */
|
|
2037
2019
|
spacing?: number | null;
|
|
2038
2020
|
}
|
|
2039
|
-
|
|
2021
|
+
interface GIFData {
|
|
2040
2022
|
/** Styling for the GIF's container. */
|
|
2041
2023
|
containerData?: PluginContainerData;
|
|
2042
2024
|
/** The source of the full size GIF. */
|
|
@@ -2050,7 +2032,7 @@ export interface GIFData {
|
|
|
2050
2032
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
2051
2033
|
gifType?: GIFType;
|
|
2052
2034
|
}
|
|
2053
|
-
|
|
2035
|
+
interface GIF {
|
|
2054
2036
|
/**
|
|
2055
2037
|
* GIF format URL.
|
|
2056
2038
|
* @format WEB_URL
|
|
@@ -2067,11 +2049,11 @@ export interface GIF {
|
|
|
2067
2049
|
*/
|
|
2068
2050
|
still?: string | null;
|
|
2069
2051
|
}
|
|
2070
|
-
|
|
2052
|
+
declare enum GIFType {
|
|
2071
2053
|
NORMAL = "NORMAL",
|
|
2072
2054
|
STICKER = "STICKER"
|
|
2073
2055
|
}
|
|
2074
|
-
|
|
2056
|
+
interface HeadingData {
|
|
2075
2057
|
/** Heading level from 1-6. */
|
|
2076
2058
|
level?: number;
|
|
2077
2059
|
/** Styling for the heading text. */
|
|
@@ -2079,7 +2061,7 @@ export interface HeadingData {
|
|
|
2079
2061
|
/** Indentation level from 1-4. */
|
|
2080
2062
|
indentation?: number | null;
|
|
2081
2063
|
}
|
|
2082
|
-
|
|
2064
|
+
interface HTMLData extends HTMLDataDataOneOf {
|
|
2083
2065
|
/** The URL for the HTML code for the node. */
|
|
2084
2066
|
url?: string;
|
|
2085
2067
|
/** The HTML code for the node. */
|
|
@@ -2097,7 +2079,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
|
|
|
2097
2079
|
autoHeight?: boolean | null;
|
|
2098
2080
|
}
|
|
2099
2081
|
/** @oneof */
|
|
2100
|
-
|
|
2082
|
+
interface HTMLDataDataOneOf {
|
|
2101
2083
|
/** The URL for the HTML code for the node. */
|
|
2102
2084
|
url?: string;
|
|
2103
2085
|
/** The HTML code for the node. */
|
|
@@ -2108,11 +2090,11 @@ export interface HTMLDataDataOneOf {
|
|
|
2108
2090
|
*/
|
|
2109
2091
|
isAdsense?: boolean | null;
|
|
2110
2092
|
}
|
|
2111
|
-
|
|
2093
|
+
declare enum Source {
|
|
2112
2094
|
HTML = "HTML",
|
|
2113
2095
|
ADSENSE = "ADSENSE"
|
|
2114
2096
|
}
|
|
2115
|
-
|
|
2097
|
+
interface ImageData {
|
|
2116
2098
|
/** Styling for the image's container. */
|
|
2117
2099
|
containerData?: PluginContainerData;
|
|
2118
2100
|
/** Image file details. */
|
|
@@ -2135,7 +2117,7 @@ export interface ImageData {
|
|
|
2135
2117
|
/** Styling for the image. */
|
|
2136
2118
|
styles?: ImageDataStyles;
|
|
2137
2119
|
}
|
|
2138
|
-
|
|
2120
|
+
interface StylesBorder {
|
|
2139
2121
|
/** Border width in pixels. */
|
|
2140
2122
|
width?: number | null;
|
|
2141
2123
|
/**
|
|
@@ -2146,11 +2128,11 @@ export interface StylesBorder {
|
|
|
2146
2128
|
/** Border radius in pixels. */
|
|
2147
2129
|
radius?: number | null;
|
|
2148
2130
|
}
|
|
2149
|
-
|
|
2131
|
+
interface ImageDataStyles {
|
|
2150
2132
|
/** Border attributes. */
|
|
2151
2133
|
border?: StylesBorder;
|
|
2152
2134
|
}
|
|
2153
|
-
|
|
2135
|
+
interface LinkPreviewData {
|
|
2154
2136
|
/** Styling for the link preview's container. */
|
|
2155
2137
|
containerData?: PluginContainerData;
|
|
2156
2138
|
/** Link details. */
|
|
@@ -2166,7 +2148,7 @@ export interface LinkPreviewData {
|
|
|
2166
2148
|
/** Styling for the link preview. */
|
|
2167
2149
|
styles?: LinkPreviewDataStyles;
|
|
2168
2150
|
}
|
|
2169
|
-
|
|
2151
|
+
declare enum Position {
|
|
2170
2152
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
2171
2153
|
START = "START",
|
|
2172
2154
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -2176,7 +2158,7 @@ export declare enum Position {
|
|
|
2176
2158
|
/** Thumbnail hidden and not displayed */
|
|
2177
2159
|
HIDDEN = "HIDDEN"
|
|
2178
2160
|
}
|
|
2179
|
-
|
|
2161
|
+
interface LinkPreviewDataStyles {
|
|
2180
2162
|
/**
|
|
2181
2163
|
* Background color as a hexadecimal value.
|
|
2182
2164
|
* @format COLOR_HEX
|
|
@@ -2209,13 +2191,13 @@ export interface LinkPreviewDataStyles {
|
|
|
2209
2191
|
/** Position of thumbnail. Defaults to `START`. */
|
|
2210
2192
|
thumbnailPosition?: Position;
|
|
2211
2193
|
}
|
|
2212
|
-
|
|
2194
|
+
interface MapData {
|
|
2213
2195
|
/** Styling for the map's container. */
|
|
2214
2196
|
containerData?: PluginContainerData;
|
|
2215
2197
|
/** Map settings. */
|
|
2216
2198
|
mapSettings?: MapSettings;
|
|
2217
2199
|
}
|
|
2218
|
-
|
|
2200
|
+
interface MapSettings {
|
|
2219
2201
|
/** The address to display on the map. */
|
|
2220
2202
|
address?: string | null;
|
|
2221
2203
|
/** Sets whether the map is draggable. */
|
|
@@ -2239,7 +2221,7 @@ export interface MapSettings {
|
|
|
2239
2221
|
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
|
2240
2222
|
mapType?: MapType;
|
|
2241
2223
|
}
|
|
2242
|
-
|
|
2224
|
+
declare enum MapType {
|
|
2243
2225
|
/** Roadmap map type */
|
|
2244
2226
|
ROADMAP = "ROADMAP",
|
|
2245
2227
|
/** Satellite map type */
|
|
@@ -2249,7 +2231,7 @@ export declare enum MapType {
|
|
|
2249
2231
|
/** Terrain map type */
|
|
2250
2232
|
TERRAIN = "TERRAIN"
|
|
2251
2233
|
}
|
|
2252
|
-
|
|
2234
|
+
interface ParagraphData {
|
|
2253
2235
|
/** Styling for the paragraph text. */
|
|
2254
2236
|
textStyle?: TextStyle;
|
|
2255
2237
|
/** Indentation level from 1-4. */
|
|
@@ -2257,7 +2239,7 @@ export interface ParagraphData {
|
|
|
2257
2239
|
/** Paragraph level */
|
|
2258
2240
|
level?: number | null;
|
|
2259
2241
|
}
|
|
2260
|
-
|
|
2242
|
+
interface PollData {
|
|
2261
2243
|
/** Styling for the poll's container. */
|
|
2262
2244
|
containerData?: PluginContainerData;
|
|
2263
2245
|
/** Poll data. */
|
|
@@ -2267,7 +2249,7 @@ export interface PollData {
|
|
|
2267
2249
|
/** Styling for the poll and voting options. */
|
|
2268
2250
|
design?: Design;
|
|
2269
2251
|
}
|
|
2270
|
-
|
|
2252
|
+
declare enum ViewRole {
|
|
2271
2253
|
/** Only Poll creator can view the results */
|
|
2272
2254
|
CREATOR = "CREATOR",
|
|
2273
2255
|
/** Anyone who voted can see the results */
|
|
@@ -2275,13 +2257,13 @@ export declare enum ViewRole {
|
|
|
2275
2257
|
/** Anyone can see the results, even if one didn't vote */
|
|
2276
2258
|
EVERYONE = "EVERYONE"
|
|
2277
2259
|
}
|
|
2278
|
-
|
|
2260
|
+
declare enum VoteRole {
|
|
2279
2261
|
/** Logged in member */
|
|
2280
2262
|
SITE_MEMBERS = "SITE_MEMBERS",
|
|
2281
2263
|
/** Anyone */
|
|
2282
2264
|
ALL = "ALL"
|
|
2283
2265
|
}
|
|
2284
|
-
|
|
2266
|
+
interface Permissions {
|
|
2285
2267
|
/** Sets who can view the poll results. */
|
|
2286
2268
|
view?: ViewRole;
|
|
2287
2269
|
/** Sets who can vote. */
|
|
@@ -2289,15 +2271,15 @@ export interface Permissions {
|
|
|
2289
2271
|
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
|
2290
2272
|
allowMultipleVotes?: boolean | null;
|
|
2291
2273
|
}
|
|
2292
|
-
|
|
2274
|
+
interface Option {
|
|
2293
2275
|
/** Option ID. */
|
|
2294
|
-
|
|
2276
|
+
_id?: string | null;
|
|
2295
2277
|
/** Option title. */
|
|
2296
2278
|
title?: string | null;
|
|
2297
2279
|
/** The image displayed with the option. */
|
|
2298
2280
|
image?: Media;
|
|
2299
2281
|
}
|
|
2300
|
-
|
|
2282
|
+
interface PollSettings {
|
|
2301
2283
|
/** Permissions settings for voting. */
|
|
2302
2284
|
permissions?: Permissions;
|
|
2303
2285
|
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
|
@@ -2305,19 +2287,19 @@ export interface PollSettings {
|
|
|
2305
2287
|
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
|
2306
2288
|
showVotesCount?: boolean | null;
|
|
2307
2289
|
}
|
|
2308
|
-
|
|
2290
|
+
declare enum PollLayoutType {
|
|
2309
2291
|
/** List */
|
|
2310
2292
|
LIST = "LIST",
|
|
2311
2293
|
/** Grid */
|
|
2312
2294
|
GRID = "GRID"
|
|
2313
2295
|
}
|
|
2314
|
-
|
|
2296
|
+
declare enum PollLayoutDirection {
|
|
2315
2297
|
/** Left-to-right */
|
|
2316
2298
|
LTR = "LTR",
|
|
2317
2299
|
/** Right-to-left */
|
|
2318
2300
|
RTL = "RTL"
|
|
2319
2301
|
}
|
|
2320
|
-
|
|
2302
|
+
interface PollLayout {
|
|
2321
2303
|
/** The layout for displaying the voting options. */
|
|
2322
2304
|
type?: PollLayoutType;
|
|
2323
2305
|
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
|
@@ -2325,11 +2307,11 @@ export interface PollLayout {
|
|
|
2325
2307
|
/** Sets whether to display the main poll image. Defaults to `false`. */
|
|
2326
2308
|
enableImage?: boolean | null;
|
|
2327
2309
|
}
|
|
2328
|
-
|
|
2310
|
+
interface OptionLayout {
|
|
2329
2311
|
/** Sets whether to display option images. Defaults to `false`. */
|
|
2330
2312
|
enableImage?: boolean | null;
|
|
2331
2313
|
}
|
|
2332
|
-
|
|
2314
|
+
declare enum BackgroundType {
|
|
2333
2315
|
/** Color background type */
|
|
2334
2316
|
COLOR = "COLOR",
|
|
2335
2317
|
/** Image background type */
|
|
@@ -2337,7 +2319,7 @@ export declare enum BackgroundType {
|
|
|
2337
2319
|
/** Gradiant background type */
|
|
2338
2320
|
GRADIENT = "GRADIENT"
|
|
2339
2321
|
}
|
|
2340
|
-
|
|
2322
|
+
interface Gradient {
|
|
2341
2323
|
/** The gradient angle in degrees. */
|
|
2342
2324
|
angle?: number | null;
|
|
2343
2325
|
/**
|
|
@@ -2351,7 +2333,7 @@ export interface Gradient {
|
|
|
2351
2333
|
*/
|
|
2352
2334
|
lastColor?: string | null;
|
|
2353
2335
|
}
|
|
2354
|
-
|
|
2336
|
+
interface Background extends BackgroundBackgroundOneOf {
|
|
2355
2337
|
/**
|
|
2356
2338
|
* The background color as a hexademical value.
|
|
2357
2339
|
* @format COLOR_HEX
|
|
@@ -2365,7 +2347,7 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
|
2365
2347
|
type?: BackgroundType;
|
|
2366
2348
|
}
|
|
2367
2349
|
/** @oneof */
|
|
2368
|
-
|
|
2350
|
+
interface BackgroundBackgroundOneOf {
|
|
2369
2351
|
/**
|
|
2370
2352
|
* The background color as a hexademical value.
|
|
2371
2353
|
* @format COLOR_HEX
|
|
@@ -2376,19 +2358,19 @@ export interface BackgroundBackgroundOneOf {
|
|
|
2376
2358
|
/** Details for a gradient background. */
|
|
2377
2359
|
gradient?: Gradient;
|
|
2378
2360
|
}
|
|
2379
|
-
|
|
2361
|
+
interface PollDesign {
|
|
2380
2362
|
/** Background styling. */
|
|
2381
2363
|
background?: Background;
|
|
2382
2364
|
/** Border radius in pixels. */
|
|
2383
2365
|
borderRadius?: number | null;
|
|
2384
2366
|
}
|
|
2385
|
-
|
|
2367
|
+
interface OptionDesign {
|
|
2386
2368
|
/** Border radius in pixels. */
|
|
2387
2369
|
borderRadius?: number | null;
|
|
2388
2370
|
}
|
|
2389
|
-
|
|
2371
|
+
interface Poll {
|
|
2390
2372
|
/** Poll ID. */
|
|
2391
|
-
|
|
2373
|
+
_id?: string | null;
|
|
2392
2374
|
/** Poll title. */
|
|
2393
2375
|
title?: string | null;
|
|
2394
2376
|
/** Poll creator ID. */
|
|
@@ -2400,26 +2382,26 @@ export interface Poll {
|
|
|
2400
2382
|
/** The poll's permissions and display settings. */
|
|
2401
2383
|
settings?: PollSettings;
|
|
2402
2384
|
}
|
|
2403
|
-
|
|
2385
|
+
interface PollDataLayout {
|
|
2404
2386
|
/** Poll layout settings. */
|
|
2405
2387
|
poll?: PollLayout;
|
|
2406
2388
|
/** Voting otpions layout settings. */
|
|
2407
2389
|
options?: OptionLayout;
|
|
2408
2390
|
}
|
|
2409
|
-
|
|
2391
|
+
interface Design {
|
|
2410
2392
|
/** Styling for the poll. */
|
|
2411
2393
|
poll?: PollDesign;
|
|
2412
2394
|
/** Styling for voting options. */
|
|
2413
2395
|
options?: OptionDesign;
|
|
2414
2396
|
}
|
|
2415
|
-
|
|
2397
|
+
interface TextData {
|
|
2416
2398
|
/** The text to apply decorations to. */
|
|
2417
2399
|
text?: string;
|
|
2418
2400
|
/** The decorations to apply. */
|
|
2419
2401
|
decorations?: Decoration[];
|
|
2420
2402
|
}
|
|
2421
2403
|
/** Adds appearence changes to text */
|
|
2422
|
-
|
|
2404
|
+
interface Decoration extends DecorationDataOneOf {
|
|
2423
2405
|
/** Data for an anchor link decoration. */
|
|
2424
2406
|
anchorData?: AnchorData;
|
|
2425
2407
|
/** Data for a color decoration. */
|
|
@@ -2442,7 +2424,7 @@ export interface Decoration extends DecorationDataOneOf {
|
|
|
2442
2424
|
type?: DecorationType;
|
|
2443
2425
|
}
|
|
2444
2426
|
/** @oneof */
|
|
2445
|
-
|
|
2427
|
+
interface DecorationDataOneOf {
|
|
2446
2428
|
/** Data for an anchor link decoration. */
|
|
2447
2429
|
anchorData?: AnchorData;
|
|
2448
2430
|
/** Data for a color decoration. */
|
|
@@ -2462,7 +2444,7 @@ export interface DecorationDataOneOf {
|
|
|
2462
2444
|
/** Data for a spoiler decoration. */
|
|
2463
2445
|
spoilerData?: SpoilerData;
|
|
2464
2446
|
}
|
|
2465
|
-
|
|
2447
|
+
declare enum DecorationType {
|
|
2466
2448
|
BOLD = "BOLD",
|
|
2467
2449
|
ITALIC = "ITALIC",
|
|
2468
2450
|
UNDERLINE = "UNDERLINE",
|
|
@@ -2474,43 +2456,43 @@ export declare enum DecorationType {
|
|
|
2474
2456
|
FONT_SIZE = "FONT_SIZE",
|
|
2475
2457
|
EXTERNAL = "EXTERNAL"
|
|
2476
2458
|
}
|
|
2477
|
-
|
|
2459
|
+
interface AnchorData {
|
|
2478
2460
|
/** The target node's ID. */
|
|
2479
2461
|
anchor?: string;
|
|
2480
2462
|
}
|
|
2481
|
-
|
|
2463
|
+
interface ColorData {
|
|
2482
2464
|
/** The text's background color as a hexadecimal value. */
|
|
2483
2465
|
background?: string | null;
|
|
2484
2466
|
/** The text's foreground color as a hexadecimal value. */
|
|
2485
2467
|
foreground?: string | null;
|
|
2486
2468
|
}
|
|
2487
|
-
|
|
2469
|
+
interface LinkData {
|
|
2488
2470
|
/** Link details. */
|
|
2489
2471
|
link?: Link;
|
|
2490
2472
|
}
|
|
2491
|
-
|
|
2473
|
+
interface MentionData {
|
|
2492
2474
|
/** The mentioned user's name. */
|
|
2493
2475
|
name?: string;
|
|
2494
2476
|
/** The version of the user's name that appears after the `@` character in the mention. */
|
|
2495
2477
|
slug?: string;
|
|
2496
2478
|
/** Mentioned user's ID. */
|
|
2497
|
-
|
|
2479
|
+
_id?: string | null;
|
|
2498
2480
|
}
|
|
2499
|
-
|
|
2481
|
+
interface FontSizeData {
|
|
2500
2482
|
/** The units used for the font size. */
|
|
2501
2483
|
unit?: FontType;
|
|
2502
2484
|
/** Font size value. */
|
|
2503
2485
|
value?: number | null;
|
|
2504
2486
|
}
|
|
2505
|
-
|
|
2487
|
+
declare enum FontType {
|
|
2506
2488
|
PX = "PX",
|
|
2507
2489
|
EM = "EM"
|
|
2508
2490
|
}
|
|
2509
|
-
|
|
2491
|
+
interface SpoilerData {
|
|
2510
2492
|
/** Spoiler ID. */
|
|
2511
|
-
|
|
2493
|
+
_id?: string | null;
|
|
2512
2494
|
}
|
|
2513
|
-
|
|
2495
|
+
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
2514
2496
|
/** Data for embedded Wix Bookings content. */
|
|
2515
2497
|
bookingData?: BookingData;
|
|
2516
2498
|
/** Data for embedded Wix Events content. */
|
|
@@ -2532,28 +2514,28 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
2532
2514
|
image?: Media;
|
|
2533
2515
|
}
|
|
2534
2516
|
/** @oneof */
|
|
2535
|
-
|
|
2517
|
+
interface AppEmbedDataAppDataOneOf {
|
|
2536
2518
|
/** Data for embedded Wix Bookings content. */
|
|
2537
2519
|
bookingData?: BookingData;
|
|
2538
2520
|
/** Data for embedded Wix Events content. */
|
|
2539
2521
|
eventData?: EventData;
|
|
2540
2522
|
}
|
|
2541
|
-
|
|
2523
|
+
declare enum AppType {
|
|
2542
2524
|
PRODUCT = "PRODUCT",
|
|
2543
2525
|
EVENT = "EVENT",
|
|
2544
2526
|
BOOKING = "BOOKING"
|
|
2545
2527
|
}
|
|
2546
|
-
|
|
2528
|
+
interface BookingData {
|
|
2547
2529
|
/** Booking duration in minutes. */
|
|
2548
2530
|
durations?: string | null;
|
|
2549
2531
|
}
|
|
2550
|
-
|
|
2532
|
+
interface EventData {
|
|
2551
2533
|
/** Event schedule. */
|
|
2552
2534
|
scheduling?: string | null;
|
|
2553
2535
|
/** Event location. */
|
|
2554
2536
|
location?: string | null;
|
|
2555
2537
|
}
|
|
2556
|
-
|
|
2538
|
+
interface VideoData {
|
|
2557
2539
|
/** Styling for the video's container. */
|
|
2558
2540
|
containerData?: PluginContainerData;
|
|
2559
2541
|
/** Video details. */
|
|
@@ -2567,7 +2549,7 @@ export interface VideoData {
|
|
|
2567
2549
|
/** Video options. */
|
|
2568
2550
|
options?: PlaybackOptions;
|
|
2569
2551
|
}
|
|
2570
|
-
|
|
2552
|
+
interface PlaybackOptions {
|
|
2571
2553
|
/** Sets whether the media will automatically start playing. */
|
|
2572
2554
|
autoPlay?: boolean | null;
|
|
2573
2555
|
/** Sets whether media's will be looped. */
|
|
@@ -2575,7 +2557,7 @@ export interface PlaybackOptions {
|
|
|
2575
2557
|
/** Sets whether media's controls will be shown. */
|
|
2576
2558
|
showControls?: boolean | null;
|
|
2577
2559
|
}
|
|
2578
|
-
|
|
2560
|
+
interface EmbedData {
|
|
2579
2561
|
/** Styling for the oEmbed node's container. */
|
|
2580
2562
|
containerData?: PluginContainerData;
|
|
2581
2563
|
/** An [oEmbed](https://www.oembed.com) object. */
|
|
@@ -2583,7 +2565,7 @@ export interface EmbedData {
|
|
|
2583
2565
|
/** Origin asset source. */
|
|
2584
2566
|
src?: string | null;
|
|
2585
2567
|
}
|
|
2586
|
-
|
|
2568
|
+
interface Oembed {
|
|
2587
2569
|
/** The resource type. */
|
|
2588
2570
|
type?: string | null;
|
|
2589
2571
|
/** The width of the resource specified in the `url` property in pixels. */
|
|
@@ -2615,7 +2597,7 @@ export interface Oembed {
|
|
|
2615
2597
|
/** The oEmbed version number. This value must be `1.0`. */
|
|
2616
2598
|
version?: string | null;
|
|
2617
2599
|
}
|
|
2618
|
-
|
|
2600
|
+
interface CollapsibleListData {
|
|
2619
2601
|
/** Styling for the collapsible list's container. */
|
|
2620
2602
|
containerData?: PluginContainerData;
|
|
2621
2603
|
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
|
@@ -2627,7 +2609,7 @@ export interface CollapsibleListData {
|
|
|
2627
2609
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
2628
2610
|
isQapageData?: boolean | null;
|
|
2629
2611
|
}
|
|
2630
|
-
|
|
2612
|
+
declare enum InitialExpandedItems {
|
|
2631
2613
|
/** First item will be expended initally */
|
|
2632
2614
|
FIRST = "FIRST",
|
|
2633
2615
|
/** All items will expended initally */
|
|
@@ -2635,13 +2617,13 @@ export declare enum InitialExpandedItems {
|
|
|
2635
2617
|
/** All items collapsed initally */
|
|
2636
2618
|
NONE = "NONE"
|
|
2637
2619
|
}
|
|
2638
|
-
|
|
2620
|
+
declare enum Direction {
|
|
2639
2621
|
/** Left-to-right */
|
|
2640
2622
|
LTR = "LTR",
|
|
2641
2623
|
/** Right-to-left */
|
|
2642
2624
|
RTL = "RTL"
|
|
2643
2625
|
}
|
|
2644
|
-
|
|
2626
|
+
interface TableData {
|
|
2645
2627
|
/** Styling for the table's container. */
|
|
2646
2628
|
containerData?: PluginContainerData;
|
|
2647
2629
|
/** The table's dimensions. */
|
|
@@ -2656,7 +2638,7 @@ export interface TableData {
|
|
|
2656
2638
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
2657
2639
|
columnHeader?: boolean | null;
|
|
2658
2640
|
}
|
|
2659
|
-
|
|
2641
|
+
interface Dimensions {
|
|
2660
2642
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
2661
2643
|
colsWidthRatio?: number[];
|
|
2662
2644
|
/** An array representing the height of each row in pixels. */
|
|
@@ -2664,13 +2646,13 @@ export interface Dimensions {
|
|
|
2664
2646
|
/** An array representing the minimum width of each column in pixels. */
|
|
2665
2647
|
colsMinWidth?: number[];
|
|
2666
2648
|
}
|
|
2667
|
-
|
|
2649
|
+
interface TableCellData {
|
|
2668
2650
|
/** Styling for the cell's background color and text alignment. */
|
|
2669
2651
|
cellStyle?: CellStyle;
|
|
2670
2652
|
/** The cell's border colors. */
|
|
2671
2653
|
borderColors?: BorderColors;
|
|
2672
2654
|
}
|
|
2673
|
-
|
|
2655
|
+
declare enum VerticalAlignment {
|
|
2674
2656
|
/** Top alignment */
|
|
2675
2657
|
TOP = "TOP",
|
|
2676
2658
|
/** Middle alignment */
|
|
@@ -2678,7 +2660,7 @@ export declare enum VerticalAlignment {
|
|
|
2678
2660
|
/** Bottom alignment */
|
|
2679
2661
|
BOTTOM = "BOTTOM"
|
|
2680
2662
|
}
|
|
2681
|
-
|
|
2663
|
+
interface CellStyle {
|
|
2682
2664
|
/** Vertical alignment for the cell's text. */
|
|
2683
2665
|
verticalAlignment?: VerticalAlignment;
|
|
2684
2666
|
/**
|
|
@@ -2687,7 +2669,7 @@ export interface CellStyle {
|
|
|
2687
2669
|
*/
|
|
2688
2670
|
backgroundColor?: string | null;
|
|
2689
2671
|
}
|
|
2690
|
-
|
|
2672
|
+
interface BorderColors {
|
|
2691
2673
|
/**
|
|
2692
2674
|
* Left border color as a hexadecimal value.
|
|
2693
2675
|
* @format COLOR_HEX
|
|
@@ -2715,7 +2697,7 @@ export interface BorderColors {
|
|
|
2715
2697
|
*
|
|
2716
2698
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
2717
2699
|
*/
|
|
2718
|
-
|
|
2700
|
+
declare enum NullValue {
|
|
2719
2701
|
/** Null value. */
|
|
2720
2702
|
NULL_VALUE = "NULL_VALUE"
|
|
2721
2703
|
}
|
|
@@ -2724,11 +2706,11 @@ export declare enum NullValue {
|
|
|
2724
2706
|
*
|
|
2725
2707
|
* The JSON representation for `ListValue` is JSON array.
|
|
2726
2708
|
*/
|
|
2727
|
-
|
|
2709
|
+
interface ListValue {
|
|
2728
2710
|
/** Repeated field of dynamically typed values. */
|
|
2729
2711
|
values?: any[];
|
|
2730
2712
|
}
|
|
2731
|
-
|
|
2713
|
+
interface AudioData {
|
|
2732
2714
|
/** Styling for the audio node's container. */
|
|
2733
2715
|
containerData?: PluginContainerData;
|
|
2734
2716
|
/** Audio file details. */
|
|
@@ -2744,7 +2726,7 @@ export interface AudioData {
|
|
|
2744
2726
|
/** An HTML version of the audio node. */
|
|
2745
2727
|
html?: string | null;
|
|
2746
2728
|
}
|
|
2747
|
-
|
|
2729
|
+
interface OrderedListData {
|
|
2748
2730
|
/** Indentation level from 0-4. */
|
|
2749
2731
|
indentation?: number;
|
|
2750
2732
|
/** Offset level from 0-4. */
|
|
@@ -2752,24 +2734,24 @@ export interface OrderedListData {
|
|
|
2752
2734
|
/** List start number. */
|
|
2753
2735
|
start?: number | null;
|
|
2754
2736
|
}
|
|
2755
|
-
|
|
2737
|
+
interface BulletedListData {
|
|
2756
2738
|
/** Indentation level from 0-4. */
|
|
2757
2739
|
indentation?: number;
|
|
2758
2740
|
/** Offset level from 0-4. */
|
|
2759
2741
|
offset?: number | null;
|
|
2760
2742
|
}
|
|
2761
|
-
|
|
2743
|
+
interface BlockquoteData {
|
|
2762
2744
|
/** Indentation level from 1-4. */
|
|
2763
2745
|
indentation?: number;
|
|
2764
2746
|
}
|
|
2765
|
-
|
|
2747
|
+
interface CaptionData {
|
|
2766
2748
|
textStyle?: TextStyle;
|
|
2767
2749
|
}
|
|
2768
|
-
|
|
2750
|
+
interface LayoutCellData {
|
|
2769
2751
|
/** Size of the cell in 12 columns grid. */
|
|
2770
2752
|
colSpan?: number | null;
|
|
2771
2753
|
}
|
|
2772
|
-
|
|
2754
|
+
interface Metadata {
|
|
2773
2755
|
/** Schema version. */
|
|
2774
2756
|
version?: number;
|
|
2775
2757
|
/**
|
|
@@ -2784,9 +2766,9 @@ export interface Metadata {
|
|
|
2784
2766
|
*/
|
|
2785
2767
|
updatedTimestamp?: Date | null;
|
|
2786
2768
|
/** Object ID. */
|
|
2787
|
-
|
|
2769
|
+
_id?: string | null;
|
|
2788
2770
|
}
|
|
2789
|
-
|
|
2771
|
+
interface DocumentStyle {
|
|
2790
2772
|
/** Styling for H1 nodes. */
|
|
2791
2773
|
headerOne?: TextNodeStyle;
|
|
2792
2774
|
/** Styling for H2 nodes. */
|
|
@@ -2806,7 +2788,7 @@ export interface DocumentStyle {
|
|
|
2806
2788
|
/** Styling for code block nodes. */
|
|
2807
2789
|
codeBlock?: TextNodeStyle;
|
|
2808
2790
|
}
|
|
2809
|
-
|
|
2791
|
+
interface TextNodeStyle {
|
|
2810
2792
|
/** The decorations to apply to the node. */
|
|
2811
2793
|
decorations?: Decoration[];
|
|
2812
2794
|
/** Padding and background color for the node. */
|
|
@@ -2814,7 +2796,7 @@ export interface TextNodeStyle {
|
|
|
2814
2796
|
/** Line height for text in the node. */
|
|
2815
2797
|
lineHeight?: string | null;
|
|
2816
2798
|
}
|
|
2817
|
-
|
|
2799
|
+
interface Badge {
|
|
2818
2800
|
/** Badge type. */
|
|
2819
2801
|
type?: Type;
|
|
2820
2802
|
/**
|
|
@@ -2823,7 +2805,7 @@ export interface Badge {
|
|
|
2823
2805
|
*/
|
|
2824
2806
|
text?: string | null;
|
|
2825
2807
|
}
|
|
2826
|
-
|
|
2808
|
+
declare enum Type {
|
|
2827
2809
|
/** Unknown badge type. */
|
|
2828
2810
|
UNKNOWN_BADGE_TYPE = "UNKNOWN_BADGE_TYPE",
|
|
2829
2811
|
/** 1st priority badge type. */
|
|
@@ -2833,16 +2815,16 @@ export declare enum Type {
|
|
|
2833
2815
|
/** 3rd priority badge type. */
|
|
2834
2816
|
THIRD_PRIORITY = "THIRD_PRIORITY"
|
|
2835
2817
|
}
|
|
2836
|
-
|
|
2818
|
+
interface DiscardDraftRequest {
|
|
2837
2819
|
/**
|
|
2838
2820
|
* Event ID to which the form belongs.
|
|
2839
2821
|
* @format GUID
|
|
2840
2822
|
*/
|
|
2841
2823
|
eventId: string;
|
|
2842
2824
|
}
|
|
2843
|
-
|
|
2825
|
+
interface DiscardDraftResponse {
|
|
2844
2826
|
}
|
|
2845
|
-
|
|
2827
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
2846
2828
|
createdEvent?: EntityCreatedEvent;
|
|
2847
2829
|
updatedEvent?: EntityUpdatedEvent;
|
|
2848
2830
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -2851,7 +2833,7 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2851
2833
|
* Unique event ID.
|
|
2852
2834
|
* Allows clients to ignore duplicate webhooks.
|
|
2853
2835
|
*/
|
|
2854
|
-
|
|
2836
|
+
_id?: string;
|
|
2855
2837
|
/**
|
|
2856
2838
|
* Assumes actions are also always typed to an entity_type
|
|
2857
2839
|
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
@@ -2885,36 +2867,34 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2885
2867
|
entityEventSequence?: string | null;
|
|
2886
2868
|
}
|
|
2887
2869
|
/** @oneof */
|
|
2888
|
-
|
|
2870
|
+
interface DomainEventBodyOneOf {
|
|
2889
2871
|
createdEvent?: EntityCreatedEvent;
|
|
2890
2872
|
updatedEvent?: EntityUpdatedEvent;
|
|
2891
2873
|
deletedEvent?: EntityDeletedEvent;
|
|
2892
2874
|
actionEvent?: ActionEvent;
|
|
2893
2875
|
}
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
2897
|
-
restoreInfo?: RestoreInfo;
|
|
2876
|
+
interface EntityCreatedEvent {
|
|
2877
|
+
entity?: string;
|
|
2898
2878
|
}
|
|
2899
|
-
|
|
2879
|
+
interface RestoreInfo {
|
|
2900
2880
|
deletedDate?: Date | null;
|
|
2901
2881
|
}
|
|
2902
|
-
|
|
2882
|
+
interface EntityUpdatedEvent {
|
|
2903
2883
|
/**
|
|
2904
2884
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
2905
2885
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
2906
2886
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2907
2887
|
*/
|
|
2908
|
-
|
|
2888
|
+
currentEntity?: string;
|
|
2909
2889
|
}
|
|
2910
|
-
|
|
2890
|
+
interface EntityDeletedEvent {
|
|
2911
2891
|
/** Entity that was deleted */
|
|
2912
|
-
|
|
2892
|
+
deletedEntity?: string | null;
|
|
2913
2893
|
}
|
|
2914
|
-
|
|
2915
|
-
|
|
2894
|
+
interface ActionEvent {
|
|
2895
|
+
body?: string;
|
|
2916
2896
|
}
|
|
2917
|
-
|
|
2897
|
+
interface MessageEnvelope {
|
|
2918
2898
|
/**
|
|
2919
2899
|
* App instance ID.
|
|
2920
2900
|
* @format GUID
|
|
@@ -2930,7 +2910,7 @@ export interface MessageEnvelope {
|
|
|
2930
2910
|
/** Stringify payload. */
|
|
2931
2911
|
data?: string;
|
|
2932
2912
|
}
|
|
2933
|
-
|
|
2913
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2934
2914
|
/**
|
|
2935
2915
|
* ID of a site visitor that has not logged in to the site.
|
|
2936
2916
|
* @format GUID
|
|
@@ -2955,7 +2935,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
2955
2935
|
identityType?: WebhookIdentityType;
|
|
2956
2936
|
}
|
|
2957
2937
|
/** @oneof */
|
|
2958
|
-
|
|
2938
|
+
interface IdentificationDataIdOneOf {
|
|
2959
2939
|
/**
|
|
2960
2940
|
* ID of a site visitor that has not logged in to the site.
|
|
2961
2941
|
* @format GUID
|
|
@@ -2977,115 +2957,168 @@ export interface IdentificationDataIdOneOf {
|
|
|
2977
2957
|
*/
|
|
2978
2958
|
appId?: string;
|
|
2979
2959
|
}
|
|
2980
|
-
|
|
2960
|
+
declare enum WebhookIdentityType {
|
|
2981
2961
|
UNKNOWN = "UNKNOWN",
|
|
2982
2962
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2983
2963
|
MEMBER = "MEMBER",
|
|
2984
2964
|
WIX_USER = "WIX_USER",
|
|
2985
2965
|
APP = "APP"
|
|
2986
2966
|
}
|
|
2987
|
-
interface
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
form
|
|
3090
|
-
|
|
3091
|
-
|
|
2967
|
+
interface BaseEventMetadata {
|
|
2968
|
+
/**
|
|
2969
|
+
* App instance ID.
|
|
2970
|
+
* @format GUID
|
|
2971
|
+
*/
|
|
2972
|
+
instanceId?: string | null;
|
|
2973
|
+
/**
|
|
2974
|
+
* Event type.
|
|
2975
|
+
* @maxLength 150
|
|
2976
|
+
*/
|
|
2977
|
+
eventType?: string;
|
|
2978
|
+
/** The identification type and identity data. */
|
|
2979
|
+
identity?: IdentificationData;
|
|
2980
|
+
}
|
|
2981
|
+
interface FormEventUpdatedEnvelope {
|
|
2982
|
+
data: EventUpdated;
|
|
2983
|
+
metadata: BaseEventMetadata;
|
|
2984
|
+
}
|
|
2985
|
+
interface AddControlOptions extends AddControlOptionsControlOneOf {
|
|
2986
|
+
/** Phone number input control. */
|
|
2987
|
+
phone?: PhoneControl;
|
|
2988
|
+
/** Single-line or full address input control. */
|
|
2989
|
+
address?: AddressControl;
|
|
2990
|
+
/** Day, month, year date input control. */
|
|
2991
|
+
date?: DateControl;
|
|
2992
|
+
/** Additional guests input control. */
|
|
2993
|
+
additionalGuests?: AdditionalGuestsControl;
|
|
2994
|
+
/** Single-choice dropdown style input control. */
|
|
2995
|
+
dropdown?: DropdownControl;
|
|
2996
|
+
/** Multiple-choice checkbox style input control. */
|
|
2997
|
+
checkbox?: CheckboxControl;
|
|
2998
|
+
/** Free-form text input control. */
|
|
2999
|
+
text?: TextControl;
|
|
3000
|
+
/** Single-choice radio button style input control. */
|
|
3001
|
+
radioButton?: RadioButtonControl;
|
|
3002
|
+
}
|
|
3003
|
+
/** @oneof */
|
|
3004
|
+
interface AddControlOptionsControlOneOf {
|
|
3005
|
+
/** Phone number input control. */
|
|
3006
|
+
phone?: PhoneControl;
|
|
3007
|
+
/** Single-line or full address input control. */
|
|
3008
|
+
address?: AddressControl;
|
|
3009
|
+
/** Day, month, year date input control. */
|
|
3010
|
+
date?: DateControl;
|
|
3011
|
+
/** Additional guests input control. */
|
|
3012
|
+
additionalGuests?: AdditionalGuestsControl;
|
|
3013
|
+
/** Single-choice dropdown style input control. */
|
|
3014
|
+
dropdown?: DropdownControl;
|
|
3015
|
+
/** Multiple-choice checkbox style input control. */
|
|
3016
|
+
checkbox?: CheckboxControl;
|
|
3017
|
+
/** Free-form text input control. */
|
|
3018
|
+
text?: TextControl;
|
|
3019
|
+
/** Single-choice radio button style input control. */
|
|
3020
|
+
radioButton?: RadioButtonControl;
|
|
3021
|
+
}
|
|
3022
|
+
interface UpdateControlIdentifiers extends UpdateControlIdentifiersControlOneOf {
|
|
3023
|
+
/**
|
|
3024
|
+
* Event ID to which the form belongs.
|
|
3025
|
+
* @format GUID
|
|
3026
|
+
*/
|
|
3027
|
+
eventId: string;
|
|
3028
|
+
/** Unique input control ID. */
|
|
3029
|
+
_id: string;
|
|
3030
|
+
}
|
|
3031
|
+
/** @oneof */
|
|
3032
|
+
interface UpdateControlIdentifiersControlOneOf {
|
|
3033
|
+
/** Phone number input control. */
|
|
3034
|
+
phone?: PhoneControl;
|
|
3035
|
+
/** Single-line or full address input control. */
|
|
3036
|
+
address?: AddressControl;
|
|
3037
|
+
/** Day, month, year date input control. */
|
|
3038
|
+
date?: DateControl;
|
|
3039
|
+
/** Additional guests input control. */
|
|
3040
|
+
additionalGuests?: AdditionalGuestsControl;
|
|
3041
|
+
/** Single-choice dropdown style input control. */
|
|
3042
|
+
dropdown?: DropdownControl;
|
|
3043
|
+
/** Multiple-choice checkbox style input control. */
|
|
3044
|
+
checkbox?: CheckboxControl;
|
|
3045
|
+
/** Free-form text input control. */
|
|
3046
|
+
text?: TextControl;
|
|
3047
|
+
/** Main guest name input control. */
|
|
3048
|
+
name?: NameControl;
|
|
3049
|
+
/** Main guest email input control. */
|
|
3050
|
+
email?: EmailControl;
|
|
3051
|
+
/** Single-choice radio style input control. */
|
|
3052
|
+
radioButton?: RadioButtonControl;
|
|
3053
|
+
}
|
|
3054
|
+
interface UpdateControlOptions extends UpdateControlOptionsControlOneOf {
|
|
3055
|
+
/** Index used to sort input controls in ascending order. */
|
|
3056
|
+
orderIndex?: number;
|
|
3057
|
+
/** Phone number input control. */
|
|
3058
|
+
phone?: PhoneControl;
|
|
3059
|
+
/** Single-line or full address input control. */
|
|
3060
|
+
address?: AddressControl;
|
|
3061
|
+
/** Day, month, year date input control. */
|
|
3062
|
+
date?: DateControl;
|
|
3063
|
+
/** Additional guests input control. */
|
|
3064
|
+
additionalGuests?: AdditionalGuestsControl;
|
|
3065
|
+
/** Single-choice dropdown style input control. */
|
|
3066
|
+
dropdown?: DropdownControl;
|
|
3067
|
+
/** Multiple-choice checkbox style input control. */
|
|
3068
|
+
checkbox?: CheckboxControl;
|
|
3069
|
+
/** Free-form text input control. */
|
|
3070
|
+
text?: TextControl;
|
|
3071
|
+
/** Main guest name input control. */
|
|
3072
|
+
name?: NameControl;
|
|
3073
|
+
/** Main guest email input control. */
|
|
3074
|
+
email?: EmailControl;
|
|
3075
|
+
/** Single-choice radio style input control. */
|
|
3076
|
+
radioButton?: RadioButtonControl;
|
|
3077
|
+
}
|
|
3078
|
+
/** @oneof */
|
|
3079
|
+
interface UpdateControlOptionsControlOneOf {
|
|
3080
|
+
/** Phone number input control. */
|
|
3081
|
+
phone?: PhoneControl;
|
|
3082
|
+
/** Single-line or full address input control. */
|
|
3083
|
+
address?: AddressControl;
|
|
3084
|
+
/** Day, month, year date input control. */
|
|
3085
|
+
date?: DateControl;
|
|
3086
|
+
/** Additional guests input control. */
|
|
3087
|
+
additionalGuests?: AdditionalGuestsControl;
|
|
3088
|
+
/** Single-choice dropdown style input control. */
|
|
3089
|
+
dropdown?: DropdownControl;
|
|
3090
|
+
/** Multiple-choice checkbox style input control. */
|
|
3091
|
+
checkbox?: CheckboxControl;
|
|
3092
|
+
/** Free-form text input control. */
|
|
3093
|
+
text?: TextControl;
|
|
3094
|
+
/** Main guest name input control. */
|
|
3095
|
+
name?: NameControl;
|
|
3096
|
+
/** Main guest email input control. */
|
|
3097
|
+
email?: EmailControl;
|
|
3098
|
+
/** Single-choice radio style input control. */
|
|
3099
|
+
radioButton?: RadioButtonControl;
|
|
3100
|
+
}
|
|
3101
|
+
interface DeleteControlIdentifiers {
|
|
3102
|
+
/**
|
|
3103
|
+
* Event ID to which the form belongs.
|
|
3104
|
+
* @format GUID
|
|
3105
|
+
*/
|
|
3106
|
+
eventId: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* Unique input control ID.
|
|
3109
|
+
* @maxLength 100
|
|
3110
|
+
*/
|
|
3111
|
+
_id: string;
|
|
3112
|
+
}
|
|
3113
|
+
interface UpdateMessagesOptions {
|
|
3114
|
+
/**
|
|
3115
|
+
* Set of field paths, specifying which parts of this resource to update.
|
|
3116
|
+
* When fields are empty, request is interpreted as full update.
|
|
3117
|
+
* Behavior follows [google.protobuf.FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask) semantics.
|
|
3118
|
+
*/
|
|
3119
|
+
fields?: string[];
|
|
3120
|
+
/** Set of configured form messages to update. */
|
|
3121
|
+
messages?: FormMessages;
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
export { VerticalAlignment as $, type AddControlOptions as A, ButtonDataType as B, ConferenceType as C, type DeleteControlIdentifiers as D, EventStatus as E, type Form as F, GIFType as G, PollLayoutType as H, InputControlType as I, PollLayoutDirection as J, BackgroundType as K, LocationType as L, MapType as M, NodeType as N, Orientation as O, type PublishDraftResponse as P, DecorationType as Q, RequestedFields as R, SubdivisionType as S, TaxType as T, type UpdateControlIdentifiers as U, ValueType as V, WidthType as W, FontType as X, AppType as Y, InitialExpandedItems as Z, Direction as _, type AddControlResponse as a, type ExternalEvent as a$, NullValue as a0, Type as a1, WebhookIdentityType as a2, type InputControl as a3, type Input as a4, type OptionSelection as a5, type OptionSelectionSelectedOptionOneOf as a6, type Label as a7, type FormMessages as a8, type RsvpFormMessages as a9, type UpdateControlRequestControlOneOf as aA, type NameControl as aB, type NameControlLabels as aC, type EmailControl as aD, type DeleteControlRequest as aE, type UpdateMessagesRequest as aF, type PublishDraftRequest as aG, type EventUpdated as aH, type Location as aI, type MapCoordinates as aJ, type Address as aK, type AddressStreetOneOf as aL, type StreetAddress as aM, type AddressLocation as aN, type Subdivision as aO, type ScheduleConfig as aP, type Recurrences as aQ, type Occurrence as aR, type Event as aS, type Scheduling as aT, type Registration as aU, type RsvpCollection as aV, type RsvpCollectionConfig as aW, type Ticketing as aX, type TicketingConfig as aY, type TaxConfig as aZ, type Money as a_, type PositiveResponseConfirmation as aa, type NegativeResponseConfirmation as ab, type Positive as ac, type Negative as ad, type CheckoutFormMessages as ae, type ResponseConfirmation as af, type RegistrationClosedMessages as ag, type TicketsUnavailableMessages as ah, type FormInputControlAdded as ai, type FormInputControlUpdated as aj, type FormInputControlDeleted as ak, type GetFormRequest as al, type GetFormResponse as am, type AddControlRequest as an, type AddControlRequestControlOneOf as ao, type PhoneControl as ap, type AddressControl as aq, type AddressControlLabels as ar, type DateControl as as, type AdditionalGuestsControl as at, type Labels as au, type DropdownControl as av, type RadioButtonControl as aw, type CheckboxControl as ax, type TextControl as ay, type UpdateControlRequest as az, type UpdateControlOptions as b, type MapData as b$, type CalendarLinks as b0, type SiteUrl as b1, type Dashboard as b2, type RsvpSummary as b3, type TicketingSummary as b4, type GuestListConfig as b5, type Feed as b6, type OnlineConferencing as b7, type OnlineConferencingConfig as b8, type OnlineConferencingSession as b9, type CodeBlockData as bA, type TextStyle as bB, type DividerData as bC, type FileData as bD, type FileSource as bE, type FileSourceDataOneOf as bF, type PDFSettings as bG, type GalleryData as bH, type Media as bI, type Image as bJ, type Video as bK, type Item as bL, type ItemDataOneOf as bM, type GalleryOptions as bN, type Layout as bO, type ItemStyle as bP, type Thumbnails as bQ, type GIFData as bR, type GIF as bS, type HeadingData as bT, type HTMLData as bU, type HTMLDataDataOneOf as bV, type ImageData as bW, type StylesBorder as bX, type ImageDataStyles as bY, type LinkPreviewData as bZ, type LinkPreviewDataStyles as b_, type SeoSettings as ba, type SeoSchema as bb, type Keyword as bc, type Tag as bd, type Settings as be, type Agenda as bf, type Category as bg, type CategoryCounts as bh, type EventDisplaySettings as bi, type LabellingSettings as bj, type RichContent as bk, type Node as bl, type NodeDataOneOf as bm, type NodeStyle as bn, type ButtonData as bo, type Border as bp, type Colors as bq, type PluginContainerData as br, type PluginContainerDataWidth as bs, type PluginContainerDataWidthDataOneOf as bt, type Spoiler as bu, type Height as bv, type Styles as bw, type Link as bx, type LinkDataOneOf as by, type Rel as bz, type UpdateControlResponse as c, type FormEventUpdatedEnvelope as c$, type MapSettings as c0, type ParagraphData as c1, type PollData as c2, type Permissions as c3, type Option as c4, type PollSettings as c5, type PollLayout as c6, type OptionLayout as c7, type Gradient as c8, type Background as c9, type TableCellData as cA, type CellStyle as cB, type BorderColors as cC, type ListValue as cD, type AudioData as cE, type OrderedListData as cF, type BulletedListData as cG, type BlockquoteData as cH, type CaptionData as cI, type LayoutCellData as cJ, type Metadata as cK, type DocumentStyle as cL, type TextNodeStyle as cM, type Badge as cN, type DiscardDraftRequest as cO, type DiscardDraftResponse as cP, type DomainEvent as cQ, type DomainEventBodyOneOf as cR, type EntityCreatedEvent as cS, type RestoreInfo as cT, type EntityUpdatedEvent as cU, type EntityDeletedEvent as cV, type ActionEvent as cW, type MessageEnvelope as cX, type IdentificationData as cY, type IdentificationDataIdOneOf as cZ, type BaseEventMetadata as c_, type BackgroundBackgroundOneOf as ca, type PollDesign as cb, type OptionDesign as cc, type Poll as cd, type PollDataLayout as ce, type Design as cf, type TextData as cg, type Decoration as ch, type DecorationDataOneOf as ci, type AnchorData as cj, type ColorData as ck, type LinkData as cl, type MentionData as cm, type FontSizeData as cn, type SpoilerData as co, type AppEmbedData as cp, type AppEmbedDataAppDataOneOf as cq, type BookingData as cr, type EventData as cs, type VideoData as ct, type PlaybackOptions as cu, type EmbedData as cv, type Oembed as cw, type CollapsibleListData as cx, type TableData as cy, type Dimensions as cz, type DeleteControlResponse as d, type AddControlOptionsControlOneOf as d0, type UpdateControlIdentifiersControlOneOf as d1, type UpdateControlOptionsControlOneOf as d2, type UpdateMessagesOptions as e, type UpdateMessagesResponse as f, Status as g, EventType as h, RegistrationStatus as i, RsvpStatusOptions as j, VisitorType as k, State as l, PluginContainerDataAlignment as m, Target as n, TextAlignment as o, LineStyle as p, Width as q, Alignment as r, ViewMode as s, LayoutType as t, Crop as u, ThumbnailsAlignment as v, Source as w, Position as x, ViewRole as y, VoteRole as z };
|