@wix/auto_sdk_events_forms 1.0.29 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/build/{internal/cjs/src/events-v1-form-forms.universal.d.ts → events-v1-form-forms.universal-Dmp4nCQH.d.mts} +294 -495
  2. package/build/{cjs/src/events-v1-form-forms.universal.d.ts → events-v1-form-forms.universal-Dmp4nCQH.d.ts} +294 -495
  3. package/build/index.d.mts +84 -0
  4. package/build/index.d.ts +84 -0
  5. package/build/index.js +1512 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +1435 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/events-v1-form-forms.universal.d.ts → events-v1-form-forms.universal-Dmp4nCQH.d.mts} +294 -495
  10. package/build/{es/src/events-v1-form-forms.universal.d.ts → internal/events-v1-form-forms.universal-Dmp4nCQH.d.ts} +294 -495
  11. package/build/internal/index.d.mts +84 -0
  12. package/build/internal/index.d.ts +84 -0
  13. package/build/internal/index.js +1512 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +1435 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +652 -0
  18. package/build/internal/meta.d.ts +652 -0
  19. package/build/internal/meta.js +800 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +767 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +652 -0
  24. package/build/meta.d.ts +652 -0
  25. package/build/meta.js +800 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +767 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/events-v1-form-forms.context.d.ts +0 -17
  40. package/build/cjs/src/events-v1-form-forms.context.js +0 -67
  41. package/build/cjs/src/events-v1-form-forms.context.js.map +0 -1
  42. package/build/cjs/src/events-v1-form-forms.http.d.ts +0 -22
  43. package/build/cjs/src/events-v1-form-forms.http.js +0 -653
  44. package/build/cjs/src/events-v1-form-forms.http.js.map +0 -1
  45. package/build/cjs/src/events-v1-form-forms.meta.d.ts +0 -35
  46. package/build/cjs/src/events-v1-form-forms.meta.js +0 -161
  47. package/build/cjs/src/events-v1-form-forms.meta.js.map +0 -1
  48. package/build/cjs/src/events-v1-form-forms.public.d.ts +0 -72
  49. package/build/cjs/src/events-v1-form-forms.public.js +0 -202
  50. package/build/cjs/src/events-v1-form-forms.public.js.map +0 -1
  51. package/build/cjs/src/events-v1-form-forms.types.d.ts +0 -3075
  52. package/build/cjs/src/events-v1-form-forms.types.js +0 -488
  53. package/build/cjs/src/events-v1-form-forms.types.js.map +0 -1
  54. package/build/cjs/src/events-v1-form-forms.universal.js +0 -869
  55. package/build/cjs/src/events-v1-form-forms.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/events-v1-form-forms.context.d.ts +0 -17
  67. package/build/es/src/events-v1-form-forms.context.js +0 -17
  68. package/build/es/src/events-v1-form-forms.context.js.map +0 -1
  69. package/build/es/src/events-v1-form-forms.http.d.ts +0 -22
  70. package/build/es/src/events-v1-form-forms.http.js +0 -643
  71. package/build/es/src/events-v1-form-forms.http.js.map +0 -1
  72. package/build/es/src/events-v1-form-forms.meta.d.ts +0 -35
  73. package/build/es/src/events-v1-form-forms.meta.js +0 -128
  74. package/build/es/src/events-v1-form-forms.meta.js.map +0 -1
  75. package/build/es/src/events-v1-form-forms.public.d.ts +0 -72
  76. package/build/es/src/events-v1-form-forms.public.js +0 -145
  77. package/build/es/src/events-v1-form-forms.public.js.map +0 -1
  78. package/build/es/src/events-v1-form-forms.types.d.ts +0 -3075
  79. package/build/es/src/events-v1-form-forms.types.js +0 -485
  80. package/build/es/src/events-v1-form-forms.types.js.map +0 -1
  81. package/build/es/src/events-v1-form-forms.universal.js +0 -835
  82. package/build/es/src/events-v1-form-forms.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/events-v1-form-forms.context.d.ts +0 -17
  93. package/build/internal/cjs/src/events-v1-form-forms.context.js +0 -67
  94. package/build/internal/cjs/src/events-v1-form-forms.context.js.map +0 -1
  95. package/build/internal/cjs/src/events-v1-form-forms.http.d.ts +0 -22
  96. package/build/internal/cjs/src/events-v1-form-forms.http.js +0 -653
  97. package/build/internal/cjs/src/events-v1-form-forms.http.js.map +0 -1
  98. package/build/internal/cjs/src/events-v1-form-forms.meta.d.ts +0 -35
  99. package/build/internal/cjs/src/events-v1-form-forms.meta.js +0 -161
  100. package/build/internal/cjs/src/events-v1-form-forms.meta.js.map +0 -1
  101. package/build/internal/cjs/src/events-v1-form-forms.public.d.ts +0 -72
  102. package/build/internal/cjs/src/events-v1-form-forms.public.js +0 -202
  103. package/build/internal/cjs/src/events-v1-form-forms.public.js.map +0 -1
  104. package/build/internal/cjs/src/events-v1-form-forms.types.d.ts +0 -3075
  105. package/build/internal/cjs/src/events-v1-form-forms.types.js +0 -488
  106. package/build/internal/cjs/src/events-v1-form-forms.types.js.map +0 -1
  107. package/build/internal/cjs/src/events-v1-form-forms.universal.js +0 -869
  108. package/build/internal/cjs/src/events-v1-form-forms.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/events-v1-form-forms.context.d.ts +0 -17
  119. package/build/internal/es/src/events-v1-form-forms.context.js +0 -17
  120. package/build/internal/es/src/events-v1-form-forms.context.js.map +0 -1
  121. package/build/internal/es/src/events-v1-form-forms.http.d.ts +0 -22
  122. package/build/internal/es/src/events-v1-form-forms.http.js +0 -643
  123. package/build/internal/es/src/events-v1-form-forms.http.js.map +0 -1
  124. package/build/internal/es/src/events-v1-form-forms.meta.d.ts +0 -35
  125. package/build/internal/es/src/events-v1-form-forms.meta.js +0 -128
  126. package/build/internal/es/src/events-v1-form-forms.meta.js.map +0 -1
  127. package/build/internal/es/src/events-v1-form-forms.public.d.ts +0 -72
  128. package/build/internal/es/src/events-v1-form-forms.public.js +0 -145
  129. package/build/internal/es/src/events-v1-form-forms.public.js.map +0 -1
  130. package/build/internal/es/src/events-v1-form-forms.types.d.ts +0 -3075
  131. package/build/internal/es/src/events-v1-form-forms.types.js +0 -485
  132. package/build/internal/es/src/events-v1-form-forms.types.js.map +0 -1
  133. package/build/internal/es/src/events-v1-form-forms.universal.js +0 -835
  134. package/build/internal/es/src/events-v1-form-forms.universal.js.map +0 -1
@@ -1,4 +1,3 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
1
  /**
3
2
  * The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).
4
3
  * It also contains customizable messages and labels.
@@ -12,7 +11,7 @@ import { NonNullablePaths } from '@wix/sdk-types';
12
11
  *
13
12
  * By default, name and email controls are always required and are pinned to the top of the form.
14
13
  */
15
- export interface Form {
14
+ interface Form {
16
15
  /** Nested fields as an ordered list. */
17
16
  controls?: InputControl[];
18
17
  /**
@@ -25,7 +24,7 @@ export interface Form {
25
24
  * A block of nested fields.
26
25
  * Used to aggregate similar inputs like First Name and Last Name.
27
26
  */
28
- export interface InputControl {
27
+ interface InputControl {
29
28
  /** Field control type. */
30
29
  type?: InputControlTypeWithLiterals;
31
30
  /** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */
@@ -52,7 +51,7 @@ export interface InputControl {
52
51
  */
53
52
  deleted?: boolean | null;
54
53
  }
55
- export declare enum InputControlType {
54
+ declare enum InputControlType {
56
55
  /** Single text value field. */
57
56
  INPUT = "INPUT",
58
57
  /** Single text value field with multiple lines. */
@@ -75,9 +74,9 @@ export declare enum InputControlType {
75
74
  DATE = "DATE"
76
75
  }
77
76
  /** @enumType */
78
- export type InputControlTypeWithLiterals = InputControlType | 'INPUT' | 'TEXTAREA' | 'DROPDOWN' | 'RADIO' | 'CHECKBOX' | 'NAME' | 'GUEST_CONTROL' | 'ADDRESS_SHORT' | 'ADDRESS_FULL' | 'DATE';
77
+ type InputControlTypeWithLiterals = InputControlType | 'INPUT' | 'TEXTAREA' | 'DROPDOWN' | 'RADIO' | 'CHECKBOX' | 'NAME' | 'GUEST_CONTROL' | 'ADDRESS_SHORT' | 'ADDRESS_FULL' | 'DATE';
79
78
  /** Child inputs. */
80
- export interface Input {
79
+ interface Input {
81
80
  /** Field name. */
82
81
  name?: string;
83
82
  /**
@@ -119,7 +118,7 @@ export interface Input {
119
118
  */
120
119
  labels?: Label[];
121
120
  }
122
- export declare enum ValueType {
121
+ declare enum ValueType {
123
122
  TEXT = "TEXT",
124
123
  NUMBER = "NUMBER",
125
124
  TEXT_ARRAY = "TEXT_ARRAY",
@@ -127,12 +126,12 @@ export declare enum ValueType {
127
126
  ADDRESS = "ADDRESS"
128
127
  }
129
128
  /** @enumType */
130
- export type ValueTypeWithLiterals = ValueType | 'TEXT' | 'NUMBER' | 'TEXT_ARRAY' | 'DATE_TIME' | 'ADDRESS';
129
+ type ValueTypeWithLiterals = ValueType | 'TEXT' | 'NUMBER' | 'TEXT_ARRAY' | 'DATE_TIME' | 'ADDRESS';
131
130
  /**
132
131
  * Describes initially selected option when an input has multiple choices.
133
132
  * Defaults to first (0th) option if not configured.
134
133
  */
135
- export interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
134
+ interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
136
135
  /**
137
136
  * 0-based index from predefined `controls.inputs.options` which is initial selection.
138
137
  * @max 199
@@ -146,7 +145,7 @@ export interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
146
145
  placeholderText?: string;
147
146
  }
148
147
  /** @oneof */
149
- export interface OptionSelectionSelectedOptionOneOf {
148
+ interface OptionSelectionSelectedOptionOneOf {
150
149
  /**
151
150
  * 0-based index from predefined `controls.inputs.options` which is initial selection.
152
151
  * @max 199
@@ -159,7 +158,7 @@ export interface OptionSelectionSelectedOptionOneOf {
159
158
  */
160
159
  placeholderText?: string;
161
160
  }
162
- export interface Label {
161
+ interface Label {
163
162
  /** Field name. */
164
163
  name?: string;
165
164
  /** Field label. */
@@ -169,7 +168,7 @@ export interface Label {
169
168
  * Defines form messages shown in UI before, during, and after registration flow.
170
169
  * It enables configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
171
170
  */
172
- export interface FormMessages {
171
+ interface FormMessages {
173
172
  /** 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. */
174
173
  rsvp?: RsvpFormMessages;
175
174
  /** Checkout form messages. */
@@ -179,7 +178,7 @@ export interface FormMessages {
179
178
  /** Messages shown when event tickets are unavailable. */
180
179
  ticketsUnavailable?: TicketsUnavailableMessages;
181
180
  }
182
- export interface RsvpFormMessages {
181
+ interface RsvpFormMessages {
183
182
  /** Label text indicating RSVP's `status` is `"YES"`. */
184
183
  rsvpYesOption?: string;
185
184
  /** Label text indicating RSVP's `status` is `"NO"`. */
@@ -194,7 +193,7 @@ export interface RsvpFormMessages {
194
193
  submitActionLabel?: string;
195
194
  }
196
195
  /** Confirmation messages shown after registration. */
197
- export interface PositiveResponseConfirmation {
196
+ interface PositiveResponseConfirmation {
198
197
  /** Confirmation message title. */
199
198
  title?: string;
200
199
  /** Confirmation message text. */
@@ -205,27 +204,27 @@ export interface PositiveResponseConfirmation {
205
204
  shareActionLabel?: string;
206
205
  }
207
206
  /** Confirmation messages shown after registration. */
208
- export interface NegativeResponseConfirmation {
207
+ interface NegativeResponseConfirmation {
209
208
  /** Confirmation message title. */
210
209
  title?: string;
211
210
  /** "Share event" call-to-action label text. */
212
211
  shareActionLabel?: string;
213
212
  }
214
213
  /** Set of messages shown during registration when RSVP response is positive. */
215
- export interface Positive {
214
+ interface Positive {
216
215
  /** Main form title for positive response. */
217
216
  title?: string;
218
217
  /** Confirmation messages shown after registration. */
219
218
  confirmation?: PositiveResponseConfirmation;
220
219
  }
221
220
  /** A set of messages shown during registration with negative response */
222
- export interface Negative {
221
+ interface Negative {
223
222
  /** Main form title for negative response. */
224
223
  title?: string;
225
224
  /** Confirmation messages shown after registration. */
226
225
  confirmation?: NegativeResponseConfirmation;
227
226
  }
228
- export interface CheckoutFormMessages {
227
+ interface CheckoutFormMessages {
229
228
  /** Main form title for response. */
230
229
  title?: string;
231
230
  /** Submit form call-to-action label text. */
@@ -234,7 +233,7 @@ export interface CheckoutFormMessages {
234
233
  confirmation?: ResponseConfirmation;
235
234
  }
236
235
  /** Confirmation messages shown after checkout. */
237
- export interface ResponseConfirmation {
236
+ interface ResponseConfirmation {
238
237
  /** Confirmation message title. */
239
238
  title?: string;
240
239
  /** Confirmation message text. */
@@ -246,51 +245,49 @@ export interface ResponseConfirmation {
246
245
  /** "Share event" call-to-action label text. */
247
246
  shareEventLabel?: string;
248
247
  }
249
- export interface RegistrationClosedMessages {
248
+ interface RegistrationClosedMessages {
250
249
  /** Message shown when event registration is closed. */
251
250
  message?: string;
252
251
  /** "Explore other events" call-to-action label text. */
253
252
  exploreEventsActionLabel?: string;
254
253
  }
255
- export interface TicketsUnavailableMessages {
254
+ interface TicketsUnavailableMessages {
256
255
  /** Message shown when event tickets are unavailable. */
257
256
  message?: string;
258
257
  /** "Explore other events" call-to-action label text. */
259
258
  exploreEventsActionLabel?: string;
260
259
  }
261
- export interface FormInputControlAdded {
260
+ interface FormInputControlAdded {
262
261
  /** Event ID. */
263
262
  eventId?: string;
264
263
  /** Input control. */
265
264
  inputControl?: InputControl;
266
265
  }
267
- export interface FormInputControlUpdated {
266
+ interface FormInputControlUpdated {
268
267
  /** Event ID. */
269
268
  eventId?: string;
270
269
  /** Input control. */
271
270
  updatedInputControl?: InputControl;
272
271
  }
273
- export interface FormInputControlDeleted {
272
+ interface FormInputControlDeleted {
274
273
  /** Event ID. */
275
274
  eventId?: string;
276
275
  /** Input control. */
277
276
  deletedInputControl?: InputControl;
278
277
  }
279
- export interface GetFormRequest {
278
+ interface GetFormRequest {
280
279
  /**
281
280
  * Event ID to which the form belongs.
282
281
  * @format GUID
283
282
  */
284
283
  eventId: string;
285
284
  }
286
- export declare enum RequestedFields {
285
+ declare enum RequestedFields {
287
286
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
288
287
  /** Include soft deleted input controls in the response. */
289
288
  DELETED = "DELETED"
290
289
  }
291
- /** @enumType */
292
- export type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'DELETED';
293
- export interface GetFormResponse {
290
+ interface GetFormResponse {
294
291
  /**
295
292
  * Currently published event form.
296
293
  * Published form is visible to site visitors.
@@ -302,7 +299,7 @@ export interface GetFormResponse {
302
299
  */
303
300
  draftForm?: Form;
304
301
  }
305
- export interface AddControlRequest extends AddControlRequestControlOneOf {
302
+ interface AddControlRequest extends AddControlRequestControlOneOf {
306
303
  /** Phone number input control. */
307
304
  phone?: PhoneControl;
308
305
  /** Single-line or full address input control. */
@@ -326,7 +323,7 @@ export interface AddControlRequest extends AddControlRequestControlOneOf {
326
323
  eventId: string;
327
324
  }
328
325
  /** @oneof */
329
- export interface AddControlRequestControlOneOf {
326
+ interface AddControlRequestControlOneOf {
330
327
  /** Phone number input control. */
331
328
  phone?: PhoneControl;
332
329
  /** Single-line or full address input control. */
@@ -344,7 +341,7 @@ export interface AddControlRequestControlOneOf {
344
341
  /** Single-choice radio button style input control. */
345
342
  radioButton?: RadioButtonControl;
346
343
  }
347
- export interface PhoneControl {
344
+ interface PhoneControl {
348
345
  /**
349
346
  * Phone input label.
350
347
  * @maxLength 100
@@ -353,7 +350,7 @@ export interface PhoneControl {
353
350
  /** Whether the phone input is required. */
354
351
  mandatory?: boolean;
355
352
  }
356
- export interface AddressControl {
353
+ interface AddressControl {
357
354
  /** Address control labels for each input. */
358
355
  labels?: AddressControlLabels;
359
356
  /** Whether an address is multi-line (consisting of multiple fields such as country, city, postal code). When `false`, address is single-line. */
@@ -361,7 +358,7 @@ export interface AddressControl {
361
358
  /** Whether the address input is required. */
362
359
  mandatory?: boolean;
363
360
  }
364
- export interface AddressControlLabels {
361
+ interface AddressControlLabels {
365
362
  /**
366
363
  * Single-line address input label.
367
364
  * @maxLength 100
@@ -393,7 +390,7 @@ export interface AddressControlLabels {
393
390
  */
394
391
  streetAddress?: string;
395
392
  }
396
- export interface DateControl {
393
+ interface DateControl {
397
394
  /**
398
395
  * Input control label.
399
396
  * @maxLength 100
@@ -402,7 +399,7 @@ export interface DateControl {
402
399
  /** Whether the date input is required. */
403
400
  mandatory?: boolean;
404
401
  }
405
- export interface AdditionalGuestsControl {
402
+ interface AdditionalGuestsControl {
406
403
  /** Additional guests control labels for each input. */
407
404
  labels?: Labels;
408
405
  /** Whether the individual guest names are required. */
@@ -414,7 +411,7 @@ export interface AdditionalGuestsControl {
414
411
  */
415
412
  maxGuests?: number;
416
413
  }
417
- export interface Labels {
414
+ interface Labels {
418
415
  /**
419
416
  * Input label for a single guest.
420
417
  * @maxLength 200
@@ -426,7 +423,7 @@ export interface Labels {
426
423
  */
427
424
  multiple?: string;
428
425
  }
429
- export interface DropdownControl {
426
+ interface DropdownControl {
430
427
  /**
431
428
  * Input control label.
432
429
  * @maxLength 200
@@ -448,7 +445,7 @@ export interface DropdownControl {
448
445
  */
449
446
  defaultOptionSelection?: OptionSelection;
450
447
  }
451
- export interface RadioButtonControl {
448
+ interface RadioButtonControl {
452
449
  /**
453
450
  * Input control label.
454
451
  * @maxLength 200
@@ -462,7 +459,7 @@ export interface RadioButtonControl {
462
459
  */
463
460
  options?: string[];
464
461
  }
465
- export interface CheckboxControl {
462
+ interface CheckboxControl {
466
463
  /**
467
464
  * Input control label.
468
465
  * @maxLength 200
@@ -478,7 +475,7 @@ export interface CheckboxControl {
478
475
  */
479
476
  options?: string[];
480
477
  }
481
- export interface TextControl {
478
+ interface TextControl {
482
479
  /**
483
480
  * Input control label.
484
481
  * @maxLength 200
@@ -496,13 +493,13 @@ export interface TextControl {
496
493
  /** Whether the input control should be displayed as a comment. */
497
494
  comment?: boolean;
498
495
  }
499
- export interface AddControlResponse {
496
+ interface AddControlResponse {
500
497
  /** Generated unique input control ID. */
501
498
  _id?: string;
502
499
  /** Modified draft event form. */
503
500
  form?: Form;
504
501
  }
505
- export interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
502
+ interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
506
503
  /** Phone number input control. */
507
504
  phone?: PhoneControl;
508
505
  /** Single-line or full address input control. */
@@ -534,7 +531,7 @@ export interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
534
531
  orderIndex?: number;
535
532
  }
536
533
  /** @oneof */
537
- export interface UpdateControlRequestControlOneOf {
534
+ interface UpdateControlRequestControlOneOf {
538
535
  /** Phone number input control. */
539
536
  phone?: PhoneControl;
540
537
  /** Single-line or full address input control. */
@@ -556,11 +553,11 @@ export interface UpdateControlRequestControlOneOf {
556
553
  /** Single-choice radio style input control. */
557
554
  radioButton?: RadioButtonControl;
558
555
  }
559
- export interface NameControl {
556
+ interface NameControl {
560
557
  /** Name control labels of each input. */
561
558
  labels?: NameControlLabels;
562
559
  }
563
- export interface NameControlLabels {
560
+ interface NameControlLabels {
564
561
  /**
565
562
  * First name input label.
566
563
  * @maxLength 100
@@ -572,18 +569,18 @@ export interface NameControlLabels {
572
569
  */
573
570
  lastName?: string;
574
571
  }
575
- export interface EmailControl {
572
+ interface EmailControl {
576
573
  /**
577
574
  * Email input label.
578
575
  * @maxLength 100
579
576
  */
580
577
  label?: string;
581
578
  }
582
- export interface UpdateControlResponse {
579
+ interface UpdateControlResponse {
583
580
  /** Modified draft event form. */
584
581
  form?: Form;
585
582
  }
586
- export interface DeleteControlRequest {
583
+ interface DeleteControlRequest {
587
584
  /**
588
585
  * Event ID to which the form belongs.
589
586
  * @format GUID
@@ -595,11 +592,11 @@ export interface DeleteControlRequest {
595
592
  */
596
593
  _id: string;
597
594
  }
598
- export interface DeleteControlResponse {
595
+ interface DeleteControlResponse {
599
596
  /** Modified draft event form. */
600
597
  form?: Form;
601
598
  }
602
- export interface UpdateMessagesRequest {
599
+ interface UpdateMessagesRequest {
603
600
  /**
604
601
  * Event ID to which the form belongs.
605
602
  * @format GUID
@@ -614,22 +611,22 @@ export interface UpdateMessagesRequest {
614
611
  /** Set of configured form messages to update. */
615
612
  messages?: FormMessages;
616
613
  }
617
- export interface UpdateMessagesResponse {
614
+ interface UpdateMessagesResponse {
618
615
  /** Modified draft event form. */
619
616
  form?: Form;
620
617
  }
621
- export interface PublishDraftRequest {
618
+ interface PublishDraftRequest {
622
619
  /**
623
620
  * Event ID to which the form belongs.
624
621
  * @format GUID
625
622
  */
626
623
  eventId: string;
627
624
  }
628
- export interface PublishDraftResponse {
625
+ interface PublishDraftResponse {
629
626
  /** Published event form. */
630
627
  form?: Form;
631
628
  }
632
- export interface EventUpdated {
629
+ interface EventUpdated {
633
630
  /** Event update timestamp in ISO UTC format. */
634
631
  timestamp?: Date | null;
635
632
  /**
@@ -651,7 +648,7 @@ export interface EventUpdated {
651
648
  /** Updated event */
652
649
  event?: Event;
653
650
  }
654
- export interface Location {
651
+ interface Location {
655
652
  /**
656
653
  * Location name.
657
654
  * @maxLength 50
@@ -683,7 +680,7 @@ export interface Location {
683
680
  */
684
681
  tbd?: boolean | null;
685
682
  }
686
- export interface MapCoordinates {
683
+ interface MapCoordinates {
687
684
  /**
688
685
  * Latitude.
689
686
  * @min -90
@@ -697,14 +694,14 @@ export interface MapCoordinates {
697
694
  */
698
695
  lng?: number;
699
696
  }
700
- export declare enum LocationType {
697
+ declare enum LocationType {
701
698
  VENUE = "VENUE",
702
699
  ONLINE = "ONLINE"
703
700
  }
704
701
  /** @enumType */
705
- export type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';
702
+ type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';
706
703
  /** Physical address */
707
- export interface Address extends AddressStreetOneOf {
704
+ interface Address extends AddressStreetOneOf {
708
705
  /** a break down of the street to number and street name */
709
706
  streetAddress?: StreetAddress;
710
707
  /** Main address line (usually street and number) as free text */
@@ -735,19 +732,19 @@ export interface Address extends AddressStreetOneOf {
735
732
  subdivisions?: Subdivision[];
736
733
  }
737
734
  /** @oneof */
738
- export interface AddressStreetOneOf {
735
+ interface AddressStreetOneOf {
739
736
  /** a break down of the street to number and street name */
740
737
  streetAddress?: StreetAddress;
741
738
  /** Main address line (usually street and number) as free text */
742
739
  addressLine?: string | null;
743
740
  }
744
- export interface StreetAddress {
741
+ interface StreetAddress {
745
742
  /** street number */
746
743
  number?: string;
747
744
  /** street name */
748
745
  name?: string;
749
746
  }
750
- export interface AddressLocation {
747
+ interface AddressLocation {
751
748
  /**
752
749
  * address latitude coordinates
753
750
  * @min -90
@@ -761,13 +758,13 @@ export interface AddressLocation {
761
758
  */
762
759
  longitude?: number | null;
763
760
  }
764
- export interface Subdivision {
761
+ interface Subdivision {
765
762
  /** subdivision short code */
766
763
  code?: string;
767
764
  /** subdivision full-name */
768
765
  name?: string;
769
766
  }
770
- export declare enum SubdivisionType {
767
+ declare enum SubdivisionType {
771
768
  UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
772
769
  /** State */
773
770
  ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
@@ -782,9 +779,7 @@ export declare enum SubdivisionType {
782
779
  /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
783
780
  COUNTRY = "COUNTRY"
784
781
  }
785
- /** @enumType */
786
- export type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
787
- export interface ScheduleConfig {
782
+ interface ScheduleConfig {
788
783
  /**
789
784
  * Defines event as TBD (To Be Determined) schedule.
790
785
  * When event time is not yet defined, TBD message is displayed instead of event start and end times.
@@ -812,7 +807,7 @@ export interface ScheduleConfig {
812
807
  /** Event recurrences. */
813
808
  recurrences?: Recurrences;
814
809
  }
815
- export interface Recurrences {
810
+ interface Recurrences {
816
811
  /**
817
812
  * Event occurrences.
818
813
  * @maxSize 1000
@@ -829,7 +824,7 @@ export interface Recurrences {
829
824
  */
830
825
  status?: StatusWithLiterals;
831
826
  }
832
- export interface Occurrence {
827
+ interface Occurrence {
833
828
  /** Event start timestamp. */
834
829
  startDate?: Date | null;
835
830
  /** Event end timestamp. */
@@ -842,7 +837,7 @@ export interface Occurrence {
842
837
  /** Whether time zone is displayed in formatted schedule. */
843
838
  showTimeZone?: boolean;
844
839
  }
845
- export declare enum Status {
840
+ declare enum Status {
846
841
  /** Event occurs only once. */
847
842
  ONE_TIME = "ONE_TIME",
848
843
  /** Event is recurring. */
@@ -855,8 +850,8 @@ export declare enum Status {
855
850
  RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
856
851
  }
857
852
  /** @enumType */
858
- export type StatusWithLiterals = Status | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
859
- export interface Event {
853
+ type StatusWithLiterals = Status | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
854
+ interface Event {
860
855
  /**
861
856
  * Event ID.
862
857
  * @format GUID
@@ -926,7 +921,7 @@ export interface Event {
926
921
  */
927
922
  publishedDate?: Date | null;
928
923
  }
929
- export interface Scheduling {
924
+ interface Scheduling {
930
925
  /** Schedule configuration. */
931
926
  config?: ScheduleConfig;
932
927
  /** Formatted schedule representation. */
@@ -940,7 +935,7 @@ export interface Scheduling {
940
935
  /** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */
941
936
  endTimeFormatted?: string;
942
937
  }
943
- export declare enum EventStatus {
938
+ declare enum EventStatus {
944
939
  /** Event is public and scheduled to start */
945
940
  SCHEDULED = "SCHEDULED",
946
941
  /** Event has started */
@@ -951,8 +946,8 @@ export declare enum EventStatus {
951
946
  CANCELED = "CANCELED"
952
947
  }
953
948
  /** @enumType */
954
- export type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
955
- export interface Registration {
949
+ type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
950
+ interface Registration {
956
951
  /** Event type. */
957
952
  type?: EventTypeWithLiterals;
958
953
  /** Event registration status. */
@@ -968,7 +963,7 @@ export interface Registration {
968
963
  /** Initial event type which was set when creating an event. */
969
964
  initialType?: EventTypeWithLiterals;
970
965
  }
971
- export declare enum EventType {
966
+ declare enum EventType {
972
967
  /** Type not available for this request fieldset */
973
968
  NA_EVENT_TYPE = "NA_EVENT_TYPE",
974
969
  /** Registration via RSVP */
@@ -981,8 +976,8 @@ export declare enum EventType {
981
976
  NO_REGISTRATION = "NO_REGISTRATION"
982
977
  }
983
978
  /** @enumType */
984
- export type EventTypeWithLiterals = EventType | 'NA_EVENT_TYPE' | 'RSVP' | 'TICKETS' | 'EXTERNAL' | 'NO_REGISTRATION';
985
- export declare enum RegistrationStatus {
979
+ type EventTypeWithLiterals = EventType | 'NA_EVENT_TYPE' | 'RSVP' | 'TICKETS' | 'EXTERNAL' | 'NO_REGISTRATION';
980
+ declare enum RegistrationStatus {
986
981
  /** Registration status is not applicable */
987
982
  NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
988
983
  /** Registration to event is closed */
@@ -1001,12 +996,12 @@ export declare enum RegistrationStatus {
1001
996
  SCHEDULED_RSVP = "SCHEDULED_RSVP"
1002
997
  }
1003
998
  /** @enumType */
1004
- export type RegistrationStatusWithLiterals = RegistrationStatus | 'NA_REGISTRATION_STATUS' | 'CLOSED' | 'CLOSED_MANUALLY' | 'OPEN_RSVP' | 'OPEN_RSVP_WAITLIST' | 'OPEN_TICKETS' | 'OPEN_EXTERNAL' | 'SCHEDULED_RSVP';
1005
- export interface RsvpCollection {
999
+ type RegistrationStatusWithLiterals = RegistrationStatus | 'NA_REGISTRATION_STATUS' | 'CLOSED' | 'CLOSED_MANUALLY' | 'OPEN_RSVP' | 'OPEN_RSVP_WAITLIST' | 'OPEN_TICKETS' | 'OPEN_EXTERNAL' | 'SCHEDULED_RSVP';
1000
+ interface RsvpCollection {
1006
1001
  /** RSVP collection configuration. */
1007
1002
  config?: RsvpCollectionConfig;
1008
1003
  }
1009
- export interface RsvpCollectionConfig {
1004
+ interface RsvpCollectionConfig {
1010
1005
  /** Defines the supported RSVP statuses. */
1011
1006
  rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;
1012
1007
  /**
@@ -1021,15 +1016,15 @@ export interface RsvpCollectionConfig {
1021
1016
  /** Registration end timestamp. */
1022
1017
  endDate?: Date | null;
1023
1018
  }
1024
- export declare enum RsvpStatusOptions {
1019
+ declare enum RsvpStatusOptions {
1025
1020
  /** Only YES RSVP status is available for RSVP registration */
1026
1021
  YES_ONLY = "YES_ONLY",
1027
1022
  /** YES and NO RSVP status options are available for the registration */
1028
1023
  YES_AND_NO = "YES_AND_NO"
1029
1024
  }
1030
1025
  /** @enumType */
1031
- export type RsvpStatusOptionsWithLiterals = RsvpStatusOptions | 'YES_ONLY' | 'YES_AND_NO';
1032
- export interface Ticketing {
1026
+ type RsvpStatusOptionsWithLiterals = RsvpStatusOptions | 'YES_ONLY' | 'YES_AND_NO';
1027
+ interface Ticketing {
1033
1028
  /**
1034
1029
  * Deprecated.
1035
1030
  * @deprecated
@@ -1070,7 +1065,7 @@ export interface Ticketing {
1070
1065
  */
1071
1066
  soldOut?: boolean | null;
1072
1067
  }
1073
- export interface TicketingConfig {
1068
+ interface TicketingConfig {
1074
1069
  /** Whether the form must be filled out separately for each ticket. */
1075
1070
  guestAssignedTickets?: boolean;
1076
1071
  /** Tax configuration. */
@@ -1087,7 +1082,7 @@ export interface TicketingConfig {
1087
1082
  */
1088
1083
  reservationDurationInMinutes?: number | null;
1089
1084
  }
1090
- export interface TaxConfig {
1085
+ interface TaxConfig {
1091
1086
  /** Tax application settings. */
1092
1087
  type?: TaxTypeWithLiterals;
1093
1088
  /**
@@ -1104,7 +1099,7 @@ export interface TaxConfig {
1104
1099
  /** Applies taxes for donations, default true. */
1105
1100
  appliesToDonations?: boolean | null;
1106
1101
  }
1107
- export declare enum TaxType {
1102
+ declare enum TaxType {
1108
1103
  /** Tax is included in the ticket price. */
1109
1104
  INCLUDED = "INCLUDED",
1110
1105
  /** Tax is added to the order at the checkout. */
@@ -1113,8 +1108,8 @@ export declare enum TaxType {
1113
1108
  ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
1114
1109
  }
1115
1110
  /** @enumType */
1116
- export type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
1117
- export interface Money {
1111
+ type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
1112
+ interface Money {
1118
1113
  /**
1119
1114
  * *Deprecated:** Use `value` instead.
1120
1115
  * @format DECIMAL_VALUE
@@ -1132,11 +1127,11 @@ export interface Money {
1132
1127
  */
1133
1128
  value?: string | null;
1134
1129
  }
1135
- export interface ExternalEvent {
1130
+ interface ExternalEvent {
1136
1131
  /** External event registration URL. */
1137
1132
  registration?: string;
1138
1133
  }
1139
- export declare enum VisitorType {
1134
+ declare enum VisitorType {
1140
1135
  /** Site visitor (including member) */
1141
1136
  VISITOR = "VISITOR",
1142
1137
  /** Site member */
@@ -1145,15 +1140,15 @@ export declare enum VisitorType {
1145
1140
  VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
1146
1141
  }
1147
1142
  /** @enumType */
1148
- export type VisitorTypeWithLiterals = VisitorType | 'VISITOR' | 'MEMBER' | 'VISITOR_OR_MEMBER';
1149
- export interface CalendarLinks {
1143
+ type VisitorTypeWithLiterals = VisitorType | 'VISITOR' | 'MEMBER' | 'VISITOR_OR_MEMBER';
1144
+ interface CalendarLinks {
1150
1145
  /** "Add to Google calendar" URL. */
1151
1146
  google?: string;
1152
1147
  /** "Download ICS calendar file" URL. */
1153
1148
  ics?: string;
1154
1149
  }
1155
1150
  /** Site URL components */
1156
- export interface SiteUrl {
1151
+ interface SiteUrl {
1157
1152
  /**
1158
1153
  * Base URL. For premium sites, this will be the domain.
1159
1154
  * For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)
@@ -1162,7 +1157,7 @@ export interface SiteUrl {
1162
1157
  /** The path to that page - e.g `/my-events/weekly-meetup-2` */
1163
1158
  path?: string;
1164
1159
  }
1165
- export interface Dashboard {
1160
+ interface Dashboard {
1166
1161
  /** Guest RSVP summary. */
1167
1162
  rsvpSummary?: RsvpSummary;
1168
1163
  /**
@@ -1171,7 +1166,7 @@ export interface Dashboard {
1171
1166
  */
1172
1167
  ticketingSummary?: TicketingSummary;
1173
1168
  }
1174
- export interface RsvpSummary {
1169
+ interface RsvpSummary {
1175
1170
  /** Total number of RSVPs. */
1176
1171
  total?: number;
1177
1172
  /** Number of RSVPs with status `YES`. */
@@ -1181,7 +1176,7 @@ export interface RsvpSummary {
1181
1176
  /** Number of RSVPs in waitlist. */
1182
1177
  waitlist?: number;
1183
1178
  }
1184
- export interface TicketingSummary {
1179
+ interface TicketingSummary {
1185
1180
  /** Number of tickets sold. */
1186
1181
  tickets?: number;
1187
1182
  /**
@@ -1196,19 +1191,19 @@ export interface TicketingSummary {
1196
1191
  /** Total balance of confirmed transactions. */
1197
1192
  totalSales?: Money;
1198
1193
  }
1199
- export interface GuestListConfig {
1194
+ interface GuestListConfig {
1200
1195
  /** Whether members can see other members attending the event (defaults to true). */
1201
1196
  publicGuestList?: boolean;
1202
1197
  }
1203
- export interface Feed {
1198
+ interface Feed {
1204
1199
  /** Event discussion feed token. */
1205
1200
  token?: string;
1206
1201
  }
1207
- export interface OnlineConferencing {
1202
+ interface OnlineConferencing {
1208
1203
  config?: OnlineConferencingConfig;
1209
1204
  session?: OnlineConferencingSession;
1210
1205
  }
1211
- export interface OnlineConferencingConfig {
1206
+ interface OnlineConferencingConfig {
1212
1207
  /**
1213
1208
  * Whether online conferencing is enabled (not supported for TBD schedules).
1214
1209
  * When enabled, links to join conferencing are generated and provided to guests.
@@ -1222,15 +1217,15 @@ export interface OnlineConferencingConfig {
1222
1217
  /** Conference type */
1223
1218
  conferenceType?: ConferenceTypeWithLiterals;
1224
1219
  }
1225
- export declare enum ConferenceType {
1220
+ declare enum ConferenceType {
1226
1221
  /** Everyone in the meeting can publish and subscribe video and audio. */
1227
1222
  MEETING = "MEETING",
1228
1223
  /** Guests can only subscribe to video and audio. */
1229
1224
  WEBINAR = "WEBINAR"
1230
1225
  }
1231
1226
  /** @enumType */
1232
- export type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';
1233
- export interface OnlineConferencingSession {
1227
+ type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';
1228
+ interface OnlineConferencingSession {
1234
1229
  /**
1235
1230
  * Link for event host to start the online conference session.
1236
1231
  * @readonly
@@ -1257,7 +1252,7 @@ export interface OnlineConferencingSession {
1257
1252
  */
1258
1253
  sessionId?: string | null;
1259
1254
  }
1260
- export interface SeoSettings {
1255
+ interface SeoSettings {
1261
1256
  /**
1262
1257
  * URL slug
1263
1258
  * @maxLength 130
@@ -1276,13 +1271,13 @@ export interface SeoSettings {
1276
1271
  * The search engines use this information for ranking purposes, or to display snippets in the search results.
1277
1272
  * 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.
1278
1273
  */
1279
- export interface SeoSchema {
1274
+ interface SeoSchema {
1280
1275
  /** SEO tag information. */
1281
1276
  tags?: Tag[];
1282
1277
  /** SEO general settings. */
1283
1278
  settings?: Settings;
1284
1279
  }
1285
- export interface Keyword {
1280
+ interface Keyword {
1286
1281
  /** Keyword value. */
1287
1282
  term?: string;
1288
1283
  /** Whether the keyword is the main focus keyword. */
@@ -1293,7 +1288,7 @@ export interface Keyword {
1293
1288
  */
1294
1289
  origin?: string | null;
1295
1290
  }
1296
- export interface Tag {
1291
+ interface Tag {
1297
1292
  /**
1298
1293
  * SEO tag type.
1299
1294
  *
@@ -1315,7 +1310,7 @@ export interface Tag {
1315
1310
  /** Whether the tag is disabled. */
1316
1311
  disabled?: boolean;
1317
1312
  }
1318
- export interface Settings {
1313
+ interface Settings {
1319
1314
  /**
1320
1315
  * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
1321
1316
  *
@@ -1329,7 +1324,7 @@ export interface Settings {
1329
1324
  */
1330
1325
  keywords?: Keyword[];
1331
1326
  }
1332
- export interface Agenda {
1327
+ interface Agenda {
1333
1328
  /** Whether the schedule is enabled for the event. */
1334
1329
  enabled?: boolean;
1335
1330
  /**
@@ -1338,7 +1333,7 @@ export interface Agenda {
1338
1333
  */
1339
1334
  pageUrl?: SiteUrl;
1340
1335
  }
1341
- export interface Category {
1336
+ interface Category {
1342
1337
  /**
1343
1338
  * Category ID.
1344
1339
  * @format GUID
@@ -1376,13 +1371,13 @@ export interface Category {
1376
1371
  */
1377
1372
  states?: StateWithLiterals[];
1378
1373
  }
1379
- export interface CategoryCounts {
1374
+ interface CategoryCounts {
1380
1375
  /** Total number of draft events assigned to the category. */
1381
1376
  assignedEventsCount?: number | null;
1382
1377
  /** Total number of published events assigned to the category. Deleted events are excluded. */
1383
1378
  assignedDraftEventsCount?: number | null;
1384
1379
  }
1385
- export declare enum State {
1380
+ declare enum State {
1386
1381
  /** Created manually by the user. */
1387
1382
  MANUAL = "MANUAL",
1388
1383
  /** Created automatically. */
@@ -1393,16 +1388,16 @@ export declare enum State {
1393
1388
  HIDDEN = "HIDDEN"
1394
1389
  }
1395
1390
  /** @enumType */
1396
- export type StateWithLiterals = State | 'MANUAL' | 'AUTO' | 'RECURRING_EVENT' | 'HIDDEN';
1397
- export interface EventDisplaySettings {
1391
+ type StateWithLiterals = State | 'MANUAL' | 'AUTO' | 'RECURRING_EVENT' | 'HIDDEN';
1392
+ interface EventDisplaySettings {
1398
1393
  /** Whether event details button is hidden. Only available for events with no registration. */
1399
1394
  hideEventDetailsButton?: boolean | null;
1400
1395
  /** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */
1401
1396
  hideEventDetailsPage?: boolean | null;
1402
1397
  }
1403
- export interface LabellingSettings {
1398
+ interface LabellingSettings {
1404
1399
  }
1405
- export interface RichContent {
1400
+ interface RichContent {
1406
1401
  /** Node objects representing a rich content document. */
1407
1402
  nodes?: Node[];
1408
1403
  /** Object metadata. */
@@ -1410,7 +1405,7 @@ export interface RichContent {
1410
1405
  /** Global styling for header, paragraph, block quote, and code block nodes in the object. */
1411
1406
  documentStyle?: DocumentStyle;
1412
1407
  }
1413
- export interface Node extends NodeDataOneOf {
1408
+ interface Node extends NodeDataOneOf {
1414
1409
  /** Data for a button node. */
1415
1410
  buttonData?: ButtonData;
1416
1411
  /** Data for a code block node. */
@@ -1475,7 +1470,7 @@ export interface Node extends NodeDataOneOf {
1475
1470
  style?: NodeStyle;
1476
1471
  }
1477
1472
  /** @oneof */
1478
- export interface NodeDataOneOf {
1473
+ interface NodeDataOneOf {
1479
1474
  /** Data for a button node. */
1480
1475
  buttonData?: ButtonData;
1481
1476
  /** Data for a code block node. */
@@ -1531,7 +1526,7 @@ export interface NodeDataOneOf {
1531
1526
  /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
1532
1527
  layoutCellData?: LayoutCellData;
1533
1528
  }
1534
- export declare enum NodeType {
1529
+ declare enum NodeType {
1535
1530
  PARAGRAPH = "PARAGRAPH",
1536
1531
  TEXT = "TEXT",
1537
1532
  HEADING = "HEADING",
@@ -1568,8 +1563,8 @@ export declare enum NodeType {
1568
1563
  LAYOUT_CELL = "LAYOUT_CELL"
1569
1564
  }
1570
1565
  /** @enumType */
1571
- export type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
1572
- export interface NodeStyle {
1566
+ type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
1567
+ interface NodeStyle {
1573
1568
  /** The top padding value in pixels. */
1574
1569
  paddingTop?: string | null;
1575
1570
  /** The bottom padding value in pixels. */
@@ -1577,7 +1572,7 @@ export interface NodeStyle {
1577
1572
  /** The background color as a hexadecimal value. */
1578
1573
  backgroundColor?: string | null;
1579
1574
  }
1580
- export interface ButtonData {
1575
+ interface ButtonData {
1581
1576
  /** Styling for the button's container. */
1582
1577
  containerData?: PluginContainerData;
1583
1578
  /** The button type. */
@@ -1589,7 +1584,7 @@ export interface ButtonData {
1589
1584
  /** Button link details. */
1590
1585
  link?: Link;
1591
1586
  }
1592
- export interface Border {
1587
+ interface Border {
1593
1588
  /**
1594
1589
  * Deprecated: Use `borderWidth` in `styles` instead.
1595
1590
  * @deprecated
@@ -1601,7 +1596,7 @@ export interface Border {
1601
1596
  */
1602
1597
  radius?: number | null;
1603
1598
  }
1604
- export interface Colors {
1599
+ interface Colors {
1605
1600
  /**
1606
1601
  * Deprecated: Use `textColor` in `styles` instead.
1607
1602
  * @deprecated
@@ -1618,7 +1613,7 @@ export interface Colors {
1618
1613
  */
1619
1614
  background?: string | null;
1620
1615
  }
1621
- export interface PluginContainerData {
1616
+ interface PluginContainerData {
1622
1617
  /** The width of the node when it's displayed. */
1623
1618
  width?: PluginContainerDataWidth;
1624
1619
  /** The node's alignment within its container. */
@@ -1630,7 +1625,7 @@ export interface PluginContainerData {
1630
1625
  /** 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`. */
1631
1626
  textWrap?: boolean | null;
1632
1627
  }
1633
- export declare enum WidthType {
1628
+ declare enum WidthType {
1634
1629
  /** Width matches the content width */
1635
1630
  CONTENT = "CONTENT",
1636
1631
  /** Small Width */
@@ -1641,8 +1636,8 @@ export declare enum WidthType {
1641
1636
  FULL_WIDTH = "FULL_WIDTH"
1642
1637
  }
1643
1638
  /** @enumType */
1644
- export type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
1645
- export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
1639
+ type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
1640
+ interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
1646
1641
  /**
1647
1642
  * One of the following predefined width options:
1648
1643
  * `CONTENT`: The width of the container matches the content width.
@@ -1655,7 +1650,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
1655
1650
  custom?: string | null;
1656
1651
  }
1657
1652
  /** @oneof */
1658
- export interface PluginContainerDataWidthDataOneOf {
1653
+ interface PluginContainerDataWidthDataOneOf {
1659
1654
  /**
1660
1655
  * One of the following predefined width options:
1661
1656
  * `CONTENT`: The width of the container matches the content width.
@@ -1667,7 +1662,7 @@ export interface PluginContainerDataWidthDataOneOf {
1667
1662
  /** A custom width value in pixels. */
1668
1663
  custom?: string | null;
1669
1664
  }
1670
- export declare enum PluginContainerDataAlignment {
1665
+ declare enum PluginContainerDataAlignment {
1671
1666
  /** Center Alignment */
1672
1667
  CENTER = "CENTER",
1673
1668
  /** Left Alignment */
@@ -1676,8 +1671,8 @@ export declare enum PluginContainerDataAlignment {
1676
1671
  RIGHT = "RIGHT"
1677
1672
  }
1678
1673
  /** @enumType */
1679
- export type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
1680
- export interface Spoiler {
1674
+ type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
1675
+ interface Spoiler {
1681
1676
  /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
1682
1677
  enabled?: boolean | null;
1683
1678
  /** The description displayed on top of the spoiler cover. */
@@ -1685,19 +1680,19 @@ export interface Spoiler {
1685
1680
  /** The text for the button used to remove the spoiler cover. */
1686
1681
  buttonText?: string | null;
1687
1682
  }
1688
- export interface Height {
1683
+ interface Height {
1689
1684
  /** A custom height value in pixels. */
1690
1685
  custom?: string | null;
1691
1686
  }
1692
- export declare enum ButtonDataType {
1687
+ declare enum ButtonDataType {
1693
1688
  /** Regular link button */
1694
1689
  LINK = "LINK",
1695
1690
  /** Triggers custom action that is defined in plugin configuration by the consumer */
1696
1691
  ACTION = "ACTION"
1697
1692
  }
1698
1693
  /** @enumType */
1699
- export type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
1700
- export interface Styles {
1694
+ type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
1695
+ interface Styles {
1701
1696
  /**
1702
1697
  * Deprecated: Use `borderWidth` and `borderRadius` instead.
1703
1698
  * @deprecated
@@ -1750,7 +1745,7 @@ export interface Styles {
1750
1745
  /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
1751
1746
  buttonSize?: string | null;
1752
1747
  }
1753
- export interface Link extends LinkDataOneOf {
1748
+ interface Link extends LinkDataOneOf {
1754
1749
  /** The absolute URL for the linked document. */
1755
1750
  url?: string;
1756
1751
  /** The target node's ID. Used for linking to another node in this object. */
@@ -1769,13 +1764,13 @@ export interface Link extends LinkDataOneOf {
1769
1764
  customData?: string | null;
1770
1765
  }
1771
1766
  /** @oneof */
1772
- export interface LinkDataOneOf {
1767
+ interface LinkDataOneOf {
1773
1768
  /** The absolute URL for the linked document. */
1774
1769
  url?: string;
1775
1770
  /** The target node's ID. Used for linking to another node in this object. */
1776
1771
  anchor?: string;
1777
1772
  }
1778
- export declare enum Target {
1773
+ declare enum Target {
1779
1774
  /** Opens the linked document in the same frame as it was clicked (this is default) */
1780
1775
  SELF = "SELF",
1781
1776
  /** Opens the linked document in a new window or tab */
@@ -1786,8 +1781,8 @@ export declare enum Target {
1786
1781
  TOP = "TOP"
1787
1782
  }
1788
1783
  /** @enumType */
1789
- export type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
1790
- export interface Rel {
1784
+ type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
1785
+ interface Rel {
1791
1786
  /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
1792
1787
  nofollow?: boolean | null;
1793
1788
  /** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
@@ -1797,17 +1792,17 @@ export interface Rel {
1797
1792
  /** Indicates that this link protect referral information from being passed to the target website. */
1798
1793
  noreferrer?: boolean | null;
1799
1794
  }
1800
- export interface CodeBlockData {
1795
+ interface CodeBlockData {
1801
1796
  /** Styling for the code block's text. */
1802
1797
  textStyle?: TextStyle;
1803
1798
  }
1804
- export interface TextStyle {
1799
+ interface TextStyle {
1805
1800
  /** Text alignment. Defaults to `AUTO`. */
1806
1801
  textAlignment?: TextAlignmentWithLiterals;
1807
1802
  /** 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. */
1808
1803
  lineHeight?: string | null;
1809
1804
  }
1810
- export declare enum TextAlignment {
1805
+ declare enum TextAlignment {
1811
1806
  /** browser default, eqivalent to `initial` */
1812
1807
  AUTO = "AUTO",
1813
1808
  /** Left align */
@@ -1820,8 +1815,8 @@ export declare enum TextAlignment {
1820
1815
  JUSTIFY = "JUSTIFY"
1821
1816
  }
1822
1817
  /** @enumType */
1823
- export type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
1824
- export interface DividerData {
1818
+ type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
1819
+ interface DividerData {
1825
1820
  /** Styling for the divider's container. */
1826
1821
  containerData?: PluginContainerData;
1827
1822
  /** Divider line style. */
@@ -1831,7 +1826,7 @@ export interface DividerData {
1831
1826
  /** Divider alignment. */
1832
1827
  alignment?: AlignmentWithLiterals;
1833
1828
  }
1834
- export declare enum LineStyle {
1829
+ declare enum LineStyle {
1835
1830
  /** Single Line */
1836
1831
  SINGLE = "SINGLE",
1837
1832
  /** Double Line */
@@ -1842,8 +1837,8 @@ export declare enum LineStyle {
1842
1837
  DOTTED = "DOTTED"
1843
1838
  }
1844
1839
  /** @enumType */
1845
- export type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
1846
- export declare enum Width {
1840
+ type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
1841
+ declare enum Width {
1847
1842
  /** Large line */
1848
1843
  LARGE = "LARGE",
1849
1844
  /** Medium line */
@@ -1852,8 +1847,8 @@ export declare enum Width {
1852
1847
  SMALL = "SMALL"
1853
1848
  }
1854
1849
  /** @enumType */
1855
- export type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
1856
- export declare enum Alignment {
1850
+ type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
1851
+ declare enum Alignment {
1857
1852
  /** Center alignment */
1858
1853
  CENTER = "CENTER",
1859
1854
  /** Left alignment */
@@ -1862,8 +1857,8 @@ export declare enum Alignment {
1862
1857
  RIGHT = "RIGHT"
1863
1858
  }
1864
1859
  /** @enumType */
1865
- export type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
1866
- export interface FileData {
1860
+ type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
1861
+ interface FileData {
1867
1862
  /** Styling for the file's container. */
1868
1863
  containerData?: PluginContainerData;
1869
1864
  /** The source for the file's data. */
@@ -1886,7 +1881,7 @@ export interface FileData {
1886
1881
  /** File size in KB. */
1887
1882
  sizeInKb?: string | null;
1888
1883
  }
1889
- export declare enum ViewMode {
1884
+ declare enum ViewMode {
1890
1885
  /** No PDF view */
1891
1886
  NONE = "NONE",
1892
1887
  /** Full PDF view */
@@ -1895,8 +1890,8 @@ export declare enum ViewMode {
1895
1890
  MINI = "MINI"
1896
1891
  }
1897
1892
  /** @enumType */
1898
- export type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
1899
- export interface FileSource extends FileSourceDataOneOf {
1893
+ type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
1894
+ interface FileSource extends FileSourceDataOneOf {
1900
1895
  /** The absolute URL for the file's source. */
1901
1896
  url?: string | null;
1902
1897
  /**
@@ -1910,7 +1905,7 @@ export interface FileSource extends FileSourceDataOneOf {
1910
1905
  private?: boolean | null;
1911
1906
  }
1912
1907
  /** @oneof */
1913
- export interface FileSourceDataOneOf {
1908
+ interface FileSourceDataOneOf {
1914
1909
  /** The absolute URL for the file's source. */
1915
1910
  url?: string | null;
1916
1911
  /**
@@ -1921,7 +1916,7 @@ export interface FileSourceDataOneOf {
1921
1916
  /** An ID that's resolved to a URL by a resolver function. */
1922
1917
  id?: string | null;
1923
1918
  }
1924
- export interface PDFSettings {
1919
+ interface PDFSettings {
1925
1920
  /**
1926
1921
  * PDF view mode. One of the following:
1927
1922
  * `NONE` : The PDF isn't displayed.
@@ -1934,7 +1929,7 @@ export interface PDFSettings {
1934
1929
  /** Sets whether the PDF print button is disabled. Defaults to `false`. */
1935
1930
  disablePrint?: boolean | null;
1936
1931
  }
1937
- export interface GalleryData {
1932
+ interface GalleryData {
1938
1933
  /** Styling for the gallery's container. */
1939
1934
  containerData?: PluginContainerData;
1940
1935
  /** The items in the gallery. */
@@ -1946,7 +1941,7 @@ export interface GalleryData {
1946
1941
  /** Sets whether the gallery's download button is disabled. Defaults to `false`. */
1947
1942
  disableDownload?: boolean | null;
1948
1943
  }
1949
- export interface Media {
1944
+ interface Media {
1950
1945
  /** The source for the media's data. */
1951
1946
  src?: FileSource;
1952
1947
  /** Media width in pixels. */
@@ -1956,19 +1951,19 @@ export interface Media {
1956
1951
  /** Media duration in seconds. Only relevant for audio and video files. */
1957
1952
  duration?: number | null;
1958
1953
  }
1959
- export interface Image {
1954
+ interface Image {
1960
1955
  /** Image file details. */
1961
1956
  media?: Media;
1962
1957
  /** Link details for images that are links. */
1963
1958
  link?: Link;
1964
1959
  }
1965
- export interface Video {
1960
+ interface Video {
1966
1961
  /** Video file details. */
1967
1962
  media?: Media;
1968
1963
  /** Video thumbnail file details. */
1969
1964
  thumbnail?: Media;
1970
1965
  }
1971
- export interface Item extends ItemDataOneOf {
1966
+ interface Item extends ItemDataOneOf {
1972
1967
  /** An image item. */
1973
1968
  image?: Image;
1974
1969
  /** A video item. */
@@ -1979,13 +1974,13 @@ export interface Item extends ItemDataOneOf {
1979
1974
  altText?: string | null;
1980
1975
  }
1981
1976
  /** @oneof */
1982
- export interface ItemDataOneOf {
1977
+ interface ItemDataOneOf {
1983
1978
  /** An image item. */
1984
1979
  image?: Image;
1985
1980
  /** A video item. */
1986
1981
  video?: Video;
1987
1982
  }
1988
- export interface GalleryOptions {
1983
+ interface GalleryOptions {
1989
1984
  /** Gallery layout. */
1990
1985
  layout?: Layout;
1991
1986
  /** Styling for gallery items. */
@@ -1993,7 +1988,7 @@ export interface GalleryOptions {
1993
1988
  /** Styling for gallery thumbnail images. */
1994
1989
  thumbnails?: Thumbnails;
1995
1990
  }
1996
- export declare enum LayoutType {
1991
+ declare enum LayoutType {
1997
1992
  /** Collage type */
1998
1993
  COLLAGE = "COLLAGE",
1999
1994
  /** Masonry type */
@@ -2016,24 +2011,24 @@ export declare enum LayoutType {
2016
2011
  FULLSIZE = "FULLSIZE"
2017
2012
  }
2018
2013
  /** @enumType */
2019
- export type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
2020
- export declare enum Orientation {
2014
+ type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
2015
+ declare enum Orientation {
2021
2016
  /** Rows Orientation */
2022
2017
  ROWS = "ROWS",
2023
2018
  /** Columns Orientation */
2024
2019
  COLUMNS = "COLUMNS"
2025
2020
  }
2026
2021
  /** @enumType */
2027
- export type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
2028
- export declare enum Crop {
2022
+ type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
2023
+ declare enum Crop {
2029
2024
  /** Crop to fill */
2030
2025
  FILL = "FILL",
2031
2026
  /** Crop to fit */
2032
2027
  FIT = "FIT"
2033
2028
  }
2034
2029
  /** @enumType */
2035
- export type CropWithLiterals = Crop | 'FILL' | 'FIT';
2036
- export declare enum ThumbnailsAlignment {
2030
+ type CropWithLiterals = Crop | 'FILL' | 'FIT';
2031
+ declare enum ThumbnailsAlignment {
2037
2032
  /** Top alignment */
2038
2033
  TOP = "TOP",
2039
2034
  /** Right alignment */
@@ -2046,8 +2041,8 @@ export declare enum ThumbnailsAlignment {
2046
2041
  NONE = "NONE"
2047
2042
  }
2048
2043
  /** @enumType */
2049
- export type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
2050
- export interface Layout {
2044
+ type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
2045
+ interface Layout {
2051
2046
  /** Gallery layout type. */
2052
2047
  type?: LayoutTypeWithLiterals;
2053
2048
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
@@ -2059,7 +2054,7 @@ export interface Layout {
2059
2054
  /** The number of columns to display on mobile screens. */
2060
2055
  mobileNumberOfColumns?: number | null;
2061
2056
  }
2062
- export interface ItemStyle {
2057
+ interface ItemStyle {
2063
2058
  /** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
2064
2059
  targetSize?: number | null;
2065
2060
  /** Item ratio */
@@ -2069,13 +2064,13 @@ export interface ItemStyle {
2069
2064
  /** The spacing between items in pixels. */
2070
2065
  spacing?: number | null;
2071
2066
  }
2072
- export interface Thumbnails {
2067
+ interface Thumbnails {
2073
2068
  /** Thumbnail alignment. */
2074
2069
  placement?: ThumbnailsAlignmentWithLiterals;
2075
2070
  /** Spacing between thumbnails in pixels. */
2076
2071
  spacing?: number | null;
2077
2072
  }
2078
- export interface GIFData {
2073
+ interface GIFData {
2079
2074
  /** Styling for the GIF's container. */
2080
2075
  containerData?: PluginContainerData;
2081
2076
  /** The source of the full size GIF. */
@@ -2089,7 +2084,7 @@ export interface GIFData {
2089
2084
  /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
2090
2085
  gifType?: GIFTypeWithLiterals;
2091
2086
  }
2092
- export interface GIF {
2087
+ interface GIF {
2093
2088
  /**
2094
2089
  * GIF format URL.
2095
2090
  * @format WEB_URL
@@ -2106,13 +2101,13 @@ export interface GIF {
2106
2101
  */
2107
2102
  still?: string | null;
2108
2103
  }
2109
- export declare enum GIFType {
2104
+ declare enum GIFType {
2110
2105
  NORMAL = "NORMAL",
2111
2106
  STICKER = "STICKER"
2112
2107
  }
2113
2108
  /** @enumType */
2114
- export type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
2115
- export interface HeadingData {
2109
+ type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
2110
+ interface HeadingData {
2116
2111
  /** Heading level from 1-6. */
2117
2112
  level?: number;
2118
2113
  /** Styling for the heading text. */
@@ -2120,7 +2115,7 @@ export interface HeadingData {
2120
2115
  /** Indentation level from 1-4. */
2121
2116
  indentation?: number | null;
2122
2117
  }
2123
- export interface HTMLData extends HTMLDataDataOneOf {
2118
+ interface HTMLData extends HTMLDataDataOneOf {
2124
2119
  /** The URL for the HTML code for the node. */
2125
2120
  url?: string;
2126
2121
  /** The HTML code for the node. */
@@ -2138,7 +2133,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
2138
2133
  autoHeight?: boolean | null;
2139
2134
  }
2140
2135
  /** @oneof */
2141
- export interface HTMLDataDataOneOf {
2136
+ interface HTMLDataDataOneOf {
2142
2137
  /** The URL for the HTML code for the node. */
2143
2138
  url?: string;
2144
2139
  /** The HTML code for the node. */
@@ -2149,13 +2144,13 @@ export interface HTMLDataDataOneOf {
2149
2144
  */
2150
2145
  isAdsense?: boolean | null;
2151
2146
  }
2152
- export declare enum Source {
2147
+ declare enum Source {
2153
2148
  HTML = "HTML",
2154
2149
  ADSENSE = "ADSENSE"
2155
2150
  }
2156
2151
  /** @enumType */
2157
- export type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
2158
- export interface ImageData {
2152
+ type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
2153
+ interface ImageData {
2159
2154
  /** Styling for the image's container. */
2160
2155
  containerData?: PluginContainerData;
2161
2156
  /** Image file details. */
@@ -2178,7 +2173,7 @@ export interface ImageData {
2178
2173
  /** Styling for the image. */
2179
2174
  styles?: ImageDataStyles;
2180
2175
  }
2181
- export interface StylesBorder {
2176
+ interface StylesBorder {
2182
2177
  /** Border width in pixels. */
2183
2178
  width?: number | null;
2184
2179
  /**
@@ -2189,11 +2184,11 @@ export interface StylesBorder {
2189
2184
  /** Border radius in pixels. */
2190
2185
  radius?: number | null;
2191
2186
  }
2192
- export interface ImageDataStyles {
2187
+ interface ImageDataStyles {
2193
2188
  /** Border attributes. */
2194
2189
  border?: StylesBorder;
2195
2190
  }
2196
- export interface LinkPreviewData {
2191
+ interface LinkPreviewData {
2197
2192
  /** Styling for the link preview's container. */
2198
2193
  containerData?: PluginContainerData;
2199
2194
  /** Link details. */
@@ -2209,7 +2204,7 @@ export interface LinkPreviewData {
2209
2204
  /** Styling for the link preview. */
2210
2205
  styles?: LinkPreviewDataStyles;
2211
2206
  }
2212
- export declare enum Position {
2207
+ declare enum Position {
2213
2208
  /** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
2214
2209
  START = "START",
2215
2210
  /** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
@@ -2220,8 +2215,8 @@ export declare enum Position {
2220
2215
  HIDDEN = "HIDDEN"
2221
2216
  }
2222
2217
  /** @enumType */
2223
- export type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
2224
- export interface LinkPreviewDataStyles {
2218
+ type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
2219
+ interface LinkPreviewDataStyles {
2225
2220
  /**
2226
2221
  * Background color as a hexadecimal value.
2227
2222
  * @format COLOR_HEX
@@ -2254,13 +2249,13 @@ export interface LinkPreviewDataStyles {
2254
2249
  /** Position of thumbnail. Defaults to `START`. */
2255
2250
  thumbnailPosition?: PositionWithLiterals;
2256
2251
  }
2257
- export interface MapData {
2252
+ interface MapData {
2258
2253
  /** Styling for the map's container. */
2259
2254
  containerData?: PluginContainerData;
2260
2255
  /** Map settings. */
2261
2256
  mapSettings?: MapSettings;
2262
2257
  }
2263
- export interface MapSettings {
2258
+ interface MapSettings {
2264
2259
  /** The address to display on the map. */
2265
2260
  address?: string | null;
2266
2261
  /** Sets whether the map is draggable. */
@@ -2284,7 +2279,7 @@ export interface MapSettings {
2284
2279
  /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
2285
2280
  mapType?: MapTypeWithLiterals;
2286
2281
  }
2287
- export declare enum MapType {
2282
+ declare enum MapType {
2288
2283
  /** Roadmap map type */
2289
2284
  ROADMAP = "ROADMAP",
2290
2285
  /** Satellite map type */
@@ -2295,8 +2290,8 @@ export declare enum MapType {
2295
2290
  TERRAIN = "TERRAIN"
2296
2291
  }
2297
2292
  /** @enumType */
2298
- export type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
2299
- export interface ParagraphData {
2293
+ type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
2294
+ interface ParagraphData {
2300
2295
  /** Styling for the paragraph text. */
2301
2296
  textStyle?: TextStyle;
2302
2297
  /** Indentation level from 1-4. */
@@ -2304,7 +2299,7 @@ export interface ParagraphData {
2304
2299
  /** Paragraph level */
2305
2300
  level?: number | null;
2306
2301
  }
2307
- export interface PollData {
2302
+ interface PollData {
2308
2303
  /** Styling for the poll's container. */
2309
2304
  containerData?: PluginContainerData;
2310
2305
  /** Poll data. */
@@ -2314,7 +2309,7 @@ export interface PollData {
2314
2309
  /** Styling for the poll and voting options. */
2315
2310
  design?: Design;
2316
2311
  }
2317
- export declare enum ViewRole {
2312
+ declare enum ViewRole {
2318
2313
  /** Only Poll creator can view the results */
2319
2314
  CREATOR = "CREATOR",
2320
2315
  /** Anyone who voted can see the results */
@@ -2323,16 +2318,16 @@ export declare enum ViewRole {
2323
2318
  EVERYONE = "EVERYONE"
2324
2319
  }
2325
2320
  /** @enumType */
2326
- export type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
2327
- export declare enum VoteRole {
2321
+ type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
2322
+ declare enum VoteRole {
2328
2323
  /** Logged in member */
2329
2324
  SITE_MEMBERS = "SITE_MEMBERS",
2330
2325
  /** Anyone */
2331
2326
  ALL = "ALL"
2332
2327
  }
2333
2328
  /** @enumType */
2334
- export type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
2335
- export interface Permissions {
2329
+ type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
2330
+ interface Permissions {
2336
2331
  /** Sets who can view the poll results. */
2337
2332
  view?: ViewRoleWithLiterals;
2338
2333
  /** Sets who can vote. */
@@ -2340,7 +2335,7 @@ export interface Permissions {
2340
2335
  /** Sets whether one voter can vote multiple times. Defaults to `false`. */
2341
2336
  allowMultipleVotes?: boolean | null;
2342
2337
  }
2343
- export interface Option {
2338
+ interface Option {
2344
2339
  /** Option ID. */
2345
2340
  id?: string | null;
2346
2341
  /** Option title. */
@@ -2348,7 +2343,7 @@ export interface Option {
2348
2343
  /** The image displayed with the option. */
2349
2344
  image?: Media;
2350
2345
  }
2351
- export interface PollSettings {
2346
+ interface PollSettings {
2352
2347
  /** Permissions settings for voting. */
2353
2348
  permissions?: Permissions;
2354
2349
  /** Sets whether voters are displayed in the vote results. Defaults to `true`. */
@@ -2356,23 +2351,23 @@ export interface PollSettings {
2356
2351
  /** Sets whether the vote count is displayed. Defaults to `true`. */
2357
2352
  showVotesCount?: boolean | null;
2358
2353
  }
2359
- export declare enum PollLayoutType {
2354
+ declare enum PollLayoutType {
2360
2355
  /** List */
2361
2356
  LIST = "LIST",
2362
2357
  /** Grid */
2363
2358
  GRID = "GRID"
2364
2359
  }
2365
2360
  /** @enumType */
2366
- export type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
2367
- export declare enum PollLayoutDirection {
2361
+ type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
2362
+ declare enum PollLayoutDirection {
2368
2363
  /** Left-to-right */
2369
2364
  LTR = "LTR",
2370
2365
  /** Right-to-left */
2371
2366
  RTL = "RTL"
2372
2367
  }
2373
2368
  /** @enumType */
2374
- export type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
2375
- export interface PollLayout {
2369
+ type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
2370
+ interface PollLayout {
2376
2371
  /** The layout for displaying the voting options. */
2377
2372
  type?: PollLayoutTypeWithLiterals;
2378
2373
  /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
@@ -2380,11 +2375,11 @@ export interface PollLayout {
2380
2375
  /** Sets whether to display the main poll image. Defaults to `false`. */
2381
2376
  enableImage?: boolean | null;
2382
2377
  }
2383
- export interface OptionLayout {
2378
+ interface OptionLayout {
2384
2379
  /** Sets whether to display option images. Defaults to `false`. */
2385
2380
  enableImage?: boolean | null;
2386
2381
  }
2387
- export declare enum BackgroundType {
2382
+ declare enum BackgroundType {
2388
2383
  /** Color background type */
2389
2384
  COLOR = "COLOR",
2390
2385
  /** Image background type */
@@ -2393,8 +2388,8 @@ export declare enum BackgroundType {
2393
2388
  GRADIENT = "GRADIENT"
2394
2389
  }
2395
2390
  /** @enumType */
2396
- export type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
2397
- export interface Gradient {
2391
+ type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
2392
+ interface Gradient {
2398
2393
  /** The gradient angle in degrees. */
2399
2394
  angle?: number | null;
2400
2395
  /**
@@ -2408,7 +2403,7 @@ export interface Gradient {
2408
2403
  */
2409
2404
  lastColor?: string | null;
2410
2405
  }
2411
- export interface Background extends BackgroundBackgroundOneOf {
2406
+ interface Background extends BackgroundBackgroundOneOf {
2412
2407
  /**
2413
2408
  * The background color as a hexademical value.
2414
2409
  * @format COLOR_HEX
@@ -2422,7 +2417,7 @@ export interface Background extends BackgroundBackgroundOneOf {
2422
2417
  type?: BackgroundTypeWithLiterals;
2423
2418
  }
2424
2419
  /** @oneof */
2425
- export interface BackgroundBackgroundOneOf {
2420
+ interface BackgroundBackgroundOneOf {
2426
2421
  /**
2427
2422
  * The background color as a hexademical value.
2428
2423
  * @format COLOR_HEX
@@ -2433,17 +2428,17 @@ export interface BackgroundBackgroundOneOf {
2433
2428
  /** Details for a gradient background. */
2434
2429
  gradient?: Gradient;
2435
2430
  }
2436
- export interface PollDesign {
2431
+ interface PollDesign {
2437
2432
  /** Background styling. */
2438
2433
  background?: Background;
2439
2434
  /** Border radius in pixels. */
2440
2435
  borderRadius?: number | null;
2441
2436
  }
2442
- export interface OptionDesign {
2437
+ interface OptionDesign {
2443
2438
  /** Border radius in pixels. */
2444
2439
  borderRadius?: number | null;
2445
2440
  }
2446
- export interface Poll {
2441
+ interface Poll {
2447
2442
  /** Poll ID. */
2448
2443
  id?: string | null;
2449
2444
  /** Poll title. */
@@ -2457,26 +2452,26 @@ export interface Poll {
2457
2452
  /** The poll's permissions and display settings. */
2458
2453
  settings?: PollSettings;
2459
2454
  }
2460
- export interface PollDataLayout {
2455
+ interface PollDataLayout {
2461
2456
  /** Poll layout settings. */
2462
2457
  poll?: PollLayout;
2463
2458
  /** Voting otpions layout settings. */
2464
2459
  options?: OptionLayout;
2465
2460
  }
2466
- export interface Design {
2461
+ interface Design {
2467
2462
  /** Styling for the poll. */
2468
2463
  poll?: PollDesign;
2469
2464
  /** Styling for voting options. */
2470
2465
  options?: OptionDesign;
2471
2466
  }
2472
- export interface TextData {
2467
+ interface TextData {
2473
2468
  /** The text to apply decorations to. */
2474
2469
  text?: string;
2475
2470
  /** The decorations to apply. */
2476
2471
  decorations?: Decoration[];
2477
2472
  }
2478
2473
  /** Adds appearence changes to text */
2479
- export interface Decoration extends DecorationDataOneOf {
2474
+ interface Decoration extends DecorationDataOneOf {
2480
2475
  /** Data for an anchor link decoration. */
2481
2476
  anchorData?: AnchorData;
2482
2477
  /** Data for a color decoration. */
@@ -2501,7 +2496,7 @@ export interface Decoration extends DecorationDataOneOf {
2501
2496
  type?: DecorationTypeWithLiterals;
2502
2497
  }
2503
2498
  /** @oneof */
2504
- export interface DecorationDataOneOf {
2499
+ interface DecorationDataOneOf {
2505
2500
  /** Data for an anchor link decoration. */
2506
2501
  anchorData?: AnchorData;
2507
2502
  /** Data for a color decoration. */
@@ -2523,7 +2518,7 @@ export interface DecorationDataOneOf {
2523
2518
  /** Data for a strikethrough decoration. Defaults to `true`. */
2524
2519
  strikethroughData?: boolean | null;
2525
2520
  }
2526
- export declare enum DecorationType {
2521
+ declare enum DecorationType {
2527
2522
  BOLD = "BOLD",
2528
2523
  ITALIC = "ITALIC",
2529
2524
  UNDERLINE = "UNDERLINE",
@@ -2537,22 +2532,22 @@ export declare enum DecorationType {
2537
2532
  STRIKETHROUGH = "STRIKETHROUGH"
2538
2533
  }
2539
2534
  /** @enumType */
2540
- export type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
2541
- export interface AnchorData {
2535
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
2536
+ interface AnchorData {
2542
2537
  /** The target node's ID. */
2543
2538
  anchor?: string;
2544
2539
  }
2545
- export interface ColorData {
2540
+ interface ColorData {
2546
2541
  /** The text's background color as a hexadecimal value. */
2547
2542
  background?: string | null;
2548
2543
  /** The text's foreground color as a hexadecimal value. */
2549
2544
  foreground?: string | null;
2550
2545
  }
2551
- export interface LinkData {
2546
+ interface LinkData {
2552
2547
  /** Link details. */
2553
2548
  link?: Link;
2554
2549
  }
2555
- export interface MentionData {
2550
+ interface MentionData {
2556
2551
  /** The mentioned user's name. */
2557
2552
  name?: string;
2558
2553
  /** The version of the user's name that appears after the `@` character in the mention. */
@@ -2560,23 +2555,23 @@ export interface MentionData {
2560
2555
  /** Mentioned user's ID. */
2561
2556
  id?: string | null;
2562
2557
  }
2563
- export interface FontSizeData {
2558
+ interface FontSizeData {
2564
2559
  /** The units used for the font size. */
2565
2560
  unit?: FontTypeWithLiterals;
2566
2561
  /** Font size value. */
2567
2562
  value?: number | null;
2568
2563
  }
2569
- export declare enum FontType {
2564
+ declare enum FontType {
2570
2565
  PX = "PX",
2571
2566
  EM = "EM"
2572
2567
  }
2573
2568
  /** @enumType */
2574
- export type FontTypeWithLiterals = FontType | 'PX' | 'EM';
2575
- export interface SpoilerData {
2569
+ type FontTypeWithLiterals = FontType | 'PX' | 'EM';
2570
+ interface SpoilerData {
2576
2571
  /** Spoiler ID. */
2577
2572
  id?: string | null;
2578
2573
  }
2579
- export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
2574
+ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
2580
2575
  /** Data for embedded Wix Bookings content. */
2581
2576
  bookingData?: BookingData;
2582
2577
  /** Data for embedded Wix Events content. */
@@ -2598,30 +2593,30 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
2598
2593
  image?: Media;
2599
2594
  }
2600
2595
  /** @oneof */
2601
- export interface AppEmbedDataAppDataOneOf {
2596
+ interface AppEmbedDataAppDataOneOf {
2602
2597
  /** Data for embedded Wix Bookings content. */
2603
2598
  bookingData?: BookingData;
2604
2599
  /** Data for embedded Wix Events content. */
2605
2600
  eventData?: EventData;
2606
2601
  }
2607
- export declare enum AppType {
2602
+ declare enum AppType {
2608
2603
  PRODUCT = "PRODUCT",
2609
2604
  EVENT = "EVENT",
2610
2605
  BOOKING = "BOOKING"
2611
2606
  }
2612
2607
  /** @enumType */
2613
- export type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
2614
- export interface BookingData {
2608
+ type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
2609
+ interface BookingData {
2615
2610
  /** Booking duration in minutes. */
2616
2611
  durations?: string | null;
2617
2612
  }
2618
- export interface EventData {
2613
+ interface EventData {
2619
2614
  /** Event schedule. */
2620
2615
  scheduling?: string | null;
2621
2616
  /** Event location. */
2622
2617
  location?: string | null;
2623
2618
  }
2624
- export interface VideoData {
2619
+ interface VideoData {
2625
2620
  /** Styling for the video's container. */
2626
2621
  containerData?: PluginContainerData;
2627
2622
  /** Video details. */
@@ -2635,7 +2630,7 @@ export interface VideoData {
2635
2630
  /** Video options. */
2636
2631
  options?: PlaybackOptions;
2637
2632
  }
2638
- export interface PlaybackOptions {
2633
+ interface PlaybackOptions {
2639
2634
  /** Sets whether the media will automatically start playing. */
2640
2635
  autoPlay?: boolean | null;
2641
2636
  /** Sets whether media's will be looped. */
@@ -2643,7 +2638,7 @@ export interface PlaybackOptions {
2643
2638
  /** Sets whether media's controls will be shown. */
2644
2639
  showControls?: boolean | null;
2645
2640
  }
2646
- export interface EmbedData {
2641
+ interface EmbedData {
2647
2642
  /** Styling for the oEmbed node's container. */
2648
2643
  containerData?: PluginContainerData;
2649
2644
  /** An [oEmbed](https://www.oembed.com) object. */
@@ -2651,7 +2646,7 @@ export interface EmbedData {
2651
2646
  /** Origin asset source. */
2652
2647
  src?: string | null;
2653
2648
  }
2654
- export interface Oembed {
2649
+ interface Oembed {
2655
2650
  /** The resource type. */
2656
2651
  type?: string | null;
2657
2652
  /** The width of the resource specified in the `url` property in pixels. */
@@ -2683,7 +2678,7 @@ export interface Oembed {
2683
2678
  /** The oEmbed version number. This value must be `1.0`. */
2684
2679
  version?: string | null;
2685
2680
  }
2686
- export interface CollapsibleListData {
2681
+ interface CollapsibleListData {
2687
2682
  /** Styling for the collapsible list's container. */
2688
2683
  containerData?: PluginContainerData;
2689
2684
  /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
@@ -2695,7 +2690,7 @@ export interface CollapsibleListData {
2695
2690
  /** If `true`, The collapsible item will appear in search results as an FAQ. */
2696
2691
  isQapageData?: boolean | null;
2697
2692
  }
2698
- export declare enum InitialExpandedItems {
2693
+ declare enum InitialExpandedItems {
2699
2694
  /** First item will be expended initally */
2700
2695
  FIRST = "FIRST",
2701
2696
  /** All items will expended initally */
@@ -2704,16 +2699,16 @@ export declare enum InitialExpandedItems {
2704
2699
  NONE = "NONE"
2705
2700
  }
2706
2701
  /** @enumType */
2707
- export type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
2708
- export declare enum Direction {
2702
+ type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
2703
+ declare enum Direction {
2709
2704
  /** Left-to-right */
2710
2705
  LTR = "LTR",
2711
2706
  /** Right-to-left */
2712
2707
  RTL = "RTL"
2713
2708
  }
2714
2709
  /** @enumType */
2715
- export type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
2716
- export interface TableData {
2710
+ type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
2711
+ interface TableData {
2717
2712
  /** Styling for the table's container. */
2718
2713
  containerData?: PluginContainerData;
2719
2714
  /** The table's dimensions. */
@@ -2728,7 +2723,7 @@ export interface TableData {
2728
2723
  /** Sets whether the table's first column is a header. Defaults to `false`. */
2729
2724
  columnHeader?: boolean | null;
2730
2725
  }
2731
- export interface Dimensions {
2726
+ interface Dimensions {
2732
2727
  /** An array representing relative width of each column in relation to the other columns. */
2733
2728
  colsWidthRatio?: number[];
2734
2729
  /** An array representing the height of each row in pixels. */
@@ -2736,13 +2731,13 @@ export interface Dimensions {
2736
2731
  /** An array representing the minimum width of each column in pixels. */
2737
2732
  colsMinWidth?: number[];
2738
2733
  }
2739
- export interface TableCellData {
2734
+ interface TableCellData {
2740
2735
  /** Styling for the cell's background color and text alignment. */
2741
2736
  cellStyle?: CellStyle;
2742
2737
  /** The cell's border colors. */
2743
2738
  borderColors?: BorderColors;
2744
2739
  }
2745
- export declare enum VerticalAlignment {
2740
+ declare enum VerticalAlignment {
2746
2741
  /** Top alignment */
2747
2742
  TOP = "TOP",
2748
2743
  /** Middle alignment */
@@ -2751,8 +2746,8 @@ export declare enum VerticalAlignment {
2751
2746
  BOTTOM = "BOTTOM"
2752
2747
  }
2753
2748
  /** @enumType */
2754
- export type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
2755
- export interface CellStyle {
2749
+ type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
2750
+ interface CellStyle {
2756
2751
  /** Vertical alignment for the cell's text. */
2757
2752
  verticalAlignment?: VerticalAlignmentWithLiterals;
2758
2753
  /**
@@ -2761,7 +2756,7 @@ export interface CellStyle {
2761
2756
  */
2762
2757
  backgroundColor?: string | null;
2763
2758
  }
2764
- export interface BorderColors {
2759
+ interface BorderColors {
2765
2760
  /**
2766
2761
  * Left border color as a hexadecimal value.
2767
2762
  * @format COLOR_HEX
@@ -2789,22 +2784,20 @@ export interface BorderColors {
2789
2784
  *
2790
2785
  * The JSON representation for `NullValue` is JSON `null`.
2791
2786
  */
2792
- export declare enum NullValue {
2787
+ declare enum NullValue {
2793
2788
  /** Null value. */
2794
2789
  NULL_VALUE = "NULL_VALUE"
2795
2790
  }
2796
- /** @enumType */
2797
- export type NullValueWithLiterals = NullValue | 'NULL_VALUE';
2798
2791
  /**
2799
2792
  * `ListValue` is a wrapper around a repeated field of values.
2800
2793
  *
2801
2794
  * The JSON representation for `ListValue` is JSON array.
2802
2795
  */
2803
- export interface ListValue {
2796
+ interface ListValue {
2804
2797
  /** Repeated field of dynamically typed values. */
2805
2798
  values?: any[];
2806
2799
  }
2807
- export interface AudioData {
2800
+ interface AudioData {
2808
2801
  /** Styling for the audio node's container. */
2809
2802
  containerData?: PluginContainerData;
2810
2803
  /** Audio file details. */
@@ -2820,7 +2813,7 @@ export interface AudioData {
2820
2813
  /** An HTML version of the audio node. */
2821
2814
  html?: string | null;
2822
2815
  }
2823
- export interface OrderedListData {
2816
+ interface OrderedListData {
2824
2817
  /** Indentation level from 0-4. */
2825
2818
  indentation?: number;
2826
2819
  /** Offset level from 0-4. */
@@ -2828,24 +2821,24 @@ export interface OrderedListData {
2828
2821
  /** List start number. */
2829
2822
  start?: number | null;
2830
2823
  }
2831
- export interface BulletedListData {
2824
+ interface BulletedListData {
2832
2825
  /** Indentation level from 0-4. */
2833
2826
  indentation?: number;
2834
2827
  /** Offset level from 0-4. */
2835
2828
  offset?: number | null;
2836
2829
  }
2837
- export interface BlockquoteData {
2830
+ interface BlockquoteData {
2838
2831
  /** Indentation level from 1-4. */
2839
2832
  indentation?: number;
2840
2833
  }
2841
- export interface CaptionData {
2834
+ interface CaptionData {
2842
2835
  textStyle?: TextStyle;
2843
2836
  }
2844
- export interface LayoutCellData {
2837
+ interface LayoutCellData {
2845
2838
  /** Size of the cell in 12 columns grid. */
2846
2839
  colSpan?: number | null;
2847
2840
  }
2848
- export interface Metadata {
2841
+ interface Metadata {
2849
2842
  /** Schema version. */
2850
2843
  version?: number;
2851
2844
  /**
@@ -2862,7 +2855,7 @@ export interface Metadata {
2862
2855
  /** Object ID. */
2863
2856
  _id?: string | null;
2864
2857
  }
2865
- export interface DocumentStyle {
2858
+ interface DocumentStyle {
2866
2859
  /** Styling for H1 nodes. */
2867
2860
  headerOne?: TextNodeStyle;
2868
2861
  /** Styling for H2 nodes. */
@@ -2882,7 +2875,7 @@ export interface DocumentStyle {
2882
2875
  /** Styling for code block nodes. */
2883
2876
  codeBlock?: TextNodeStyle;
2884
2877
  }
2885
- export interface TextNodeStyle {
2878
+ interface TextNodeStyle {
2886
2879
  /** The decorations to apply to the node. */
2887
2880
  decorations?: Decoration[];
2888
2881
  /** Padding and background color for the node. */
@@ -2890,7 +2883,7 @@ export interface TextNodeStyle {
2890
2883
  /** Line height for text in the node. */
2891
2884
  lineHeight?: string | null;
2892
2885
  }
2893
- export interface Badge {
2886
+ interface Badge {
2894
2887
  /** Badge type. */
2895
2888
  type?: TypeWithLiterals;
2896
2889
  /**
@@ -2899,7 +2892,7 @@ export interface Badge {
2899
2892
  */
2900
2893
  text?: string | null;
2901
2894
  }
2902
- export declare enum Type {
2895
+ declare enum Type {
2903
2896
  /** Unknown badge type. */
2904
2897
  UNKNOWN_BADGE_TYPE = "UNKNOWN_BADGE_TYPE",
2905
2898
  /** 1st priority badge type. */
@@ -2910,17 +2903,17 @@ export declare enum Type {
2910
2903
  THIRD_PRIORITY = "THIRD_PRIORITY"
2911
2904
  }
2912
2905
  /** @enumType */
2913
- export type TypeWithLiterals = Type | 'UNKNOWN_BADGE_TYPE' | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
2914
- export interface DiscardDraftRequest {
2906
+ type TypeWithLiterals = Type | 'UNKNOWN_BADGE_TYPE' | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
2907
+ interface DiscardDraftRequest {
2915
2908
  /**
2916
2909
  * Event ID to which the form belongs.
2917
2910
  * @format GUID
2918
2911
  */
2919
2912
  eventId: string;
2920
2913
  }
2921
- export interface DiscardDraftResponse {
2914
+ interface DiscardDraftResponse {
2922
2915
  }
2923
- export interface DomainEvent extends DomainEventBodyOneOf {
2916
+ interface DomainEvent extends DomainEventBodyOneOf {
2924
2917
  createdEvent?: EntityCreatedEvent;
2925
2918
  updatedEvent?: EntityUpdatedEvent;
2926
2919
  deletedEvent?: EntityDeletedEvent;
@@ -2955,19 +2948,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
2955
2948
  entityEventSequence?: string | null;
2956
2949
  }
2957
2950
  /** @oneof */
2958
- export interface DomainEventBodyOneOf {
2951
+ interface DomainEventBodyOneOf {
2959
2952
  createdEvent?: EntityCreatedEvent;
2960
2953
  updatedEvent?: EntityUpdatedEvent;
2961
2954
  deletedEvent?: EntityDeletedEvent;
2962
2955
  actionEvent?: ActionEvent;
2963
2956
  }
2964
- export interface EntityCreatedEvent {
2957
+ interface EntityCreatedEvent {
2965
2958
  entity?: string;
2966
2959
  }
2967
- export interface RestoreInfo {
2960
+ interface RestoreInfo {
2968
2961
  deletedDate?: Date | null;
2969
2962
  }
2970
- export interface EntityUpdatedEvent {
2963
+ interface EntityUpdatedEvent {
2971
2964
  /**
2972
2965
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2973
2966
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -2975,14 +2968,14 @@ export interface EntityUpdatedEvent {
2975
2968
  */
2976
2969
  currentEntity?: string;
2977
2970
  }
2978
- export interface EntityDeletedEvent {
2971
+ interface EntityDeletedEvent {
2979
2972
  /** Entity that was deleted. */
2980
2973
  deletedEntity?: string | null;
2981
2974
  }
2982
- export interface ActionEvent {
2975
+ interface ActionEvent {
2983
2976
  body?: string;
2984
2977
  }
2985
- export interface MessageEnvelope {
2978
+ interface MessageEnvelope {
2986
2979
  /**
2987
2980
  * App instance ID.
2988
2981
  * @format GUID
@@ -2998,7 +2991,7 @@ export interface MessageEnvelope {
2998
2991
  /** Stringify payload. */
2999
2992
  data?: string;
3000
2993
  }
3001
- export interface IdentificationData extends IdentificationDataIdOneOf {
2994
+ interface IdentificationData extends IdentificationDataIdOneOf {
3002
2995
  /**
3003
2996
  * ID of a site visitor that has not logged in to the site.
3004
2997
  * @format GUID
@@ -3023,7 +3016,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
3023
3016
  identityType?: WebhookIdentityTypeWithLiterals;
3024
3017
  }
3025
3018
  /** @oneof */
3026
- export interface IdentificationDataIdOneOf {
3019
+ interface IdentificationDataIdOneOf {
3027
3020
  /**
3028
3021
  * ID of a site visitor that has not logged in to the site.
3029
3022
  * @format GUID
@@ -3045,7 +3038,7 @@ export interface IdentificationDataIdOneOf {
3045
3038
  */
3046
3039
  appId?: string;
3047
3040
  }
3048
- export declare enum WebhookIdentityType {
3041
+ declare enum WebhookIdentityType {
3049
3042
  UNKNOWN = "UNKNOWN",
3050
3043
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3051
3044
  MEMBER = "MEMBER",
@@ -3053,8 +3046,8 @@ export declare enum WebhookIdentityType {
3053
3046
  APP = "APP"
3054
3047
  }
3055
3048
  /** @enumType */
3056
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3057
- export interface BaseEventMetadata {
3049
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3050
+ interface BaseEventMetadata {
3058
3051
  /**
3059
3052
  * App instance ID.
3060
3053
  * @format GUID
@@ -3068,110 +3061,11 @@ export interface BaseEventMetadata {
3068
3061
  /** The identification type and identity data. */
3069
3062
  identity?: IdentificationData;
3070
3063
  }
3071
- export interface FormEventUpdatedEnvelope {
3064
+ interface FormEventUpdatedEnvelope {
3072
3065
  data: EventUpdated;
3073
3066
  metadata: BaseEventMetadata;
3074
3067
  }
3075
- /**
3076
- * Triggered when a form is updated or published.
3077
- * @permissionScope Manage Stores
3078
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
3079
- * @permissionScope Read Events - all read permissions
3080
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS
3081
- * @permissionScope Manage Bookings Services and Settings
3082
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
3083
- * @permissionScope Manage Events - all permissions
3084
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
3085
- * @permissionScope Manage Events
3086
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
3087
- * @permissionScope Read Events
3088
- * @permissionScopeId SCOPE.DC-EVENTS.READ-EVENTS
3089
- * @permissionScope Manage Challenges
3090
- * @permissionScopeId SCOPE.CHALLENGES.MANAGE
3091
- * @permissionScope Manage Portfolio
3092
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
3093
- * @permissionScope Access Verticals by Automations
3094
- * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
3095
- * @permissionScope Manage Restaurants - all permissions
3096
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
3097
- * @permissionScope Set Up Automations
3098
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
3099
- * @permissionScope Manage Guest List
3100
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST
3101
- * @permissionScope Manage Events
3102
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
3103
- * @permissionId WIX_EVENTS.READ_EVENTS
3104
- * @webhook
3105
- * @eventType wix.events.events.EventUpdated
3106
- * @serviceIdentifier wix.events.form.FormBuilder
3107
- * @slug event_updated
3108
- */
3109
- export declare function onFormEventUpdated(handler: (event: FormEventUpdatedEnvelope) => void | Promise<void>): void;
3110
- type FormNonNullablePaths = `controls` | `controls.${number}.type` | `controls.${number}.system` | `controls.${number}.name` | `controls.${number}.label` | `controls.${number}.orderIndex` | `controls.${number}._id` | `messages.rsvp.rsvpYesOption` | `messages.rsvp.rsvpNoOption` | `messages.rsvp.positiveMessages.title` | `messages.rsvp.positiveMessages.confirmation.title` | `messages.rsvp.positiveMessages.confirmation.message` | `messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel` | `messages.rsvp.positiveMessages.confirmation.shareActionLabel` | `messages.rsvp.negativeMessages.title` | `messages.rsvp.negativeMessages.confirmation.title` | `messages.rsvp.negativeMessages.confirmation.shareActionLabel` | `messages.rsvp.submitActionLabel` | `messages.checkout.title` | `messages.checkout.submitActionLabel` | `messages.checkout.confirmation.title` | `messages.checkout.confirmation.message` | `messages.checkout.confirmation.downloadTicketsLabel` | `messages.checkout.confirmation.addToCalendarLabel` | `messages.checkout.confirmation.shareEventLabel` | `messages.registrationClosed.message` | `messages.registrationClosed.exploreEventsActionLabel` | `messages.ticketsUnavailable.message` | `messages.ticketsUnavailable.exploreEventsActionLabel`;
3111
- /**
3112
- * Retrieves an event registration form.
3113
- *
3114
- * Retrieves both the draft and published versions.
3115
- * @param eventId - Event ID to which the form belongs.
3116
- * @public
3117
- * @requiredField eventId
3118
- * @param options - Optional fields.
3119
- * @permissionId WIX_EVENTS.READ_EVENTS
3120
- * @permissionScope Manage Stores
3121
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
3122
- * @permissionScope Read Events - all read permissions
3123
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS
3124
- * @permissionScope Manage Bookings Services and Settings
3125
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
3126
- * @permissionScope Manage Events - all permissions
3127
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
3128
- * @permissionScope Manage Events
3129
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
3130
- * @permissionScope Read Events
3131
- * @permissionScopeId SCOPE.DC-EVENTS.READ-EVENTS
3132
- * @permissionScope Manage Challenges
3133
- * @permissionScopeId SCOPE.CHALLENGES.MANAGE
3134
- * @permissionScope Manage Portfolio
3135
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
3136
- * @permissionScope Access Verticals by Automations
3137
- * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
3138
- * @permissionScope Manage Restaurants - all permissions
3139
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
3140
- * @permissionScope Set Up Automations
3141
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
3142
- * @permissionScope Manage Guest List
3143
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST
3144
- * @permissionScope Manage Events
3145
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
3146
- * @applicableIdentity APP
3147
- * @applicableIdentity VISITOR
3148
- * @returns Currently published event form.
3149
- * Published form is visible to site visitors.
3150
- * @fqn wix.events.form.FormBuilder.GetForm
3151
- */
3152
- export declare function getForm(eventId: string): Promise<NonNullablePaths<Form, FormNonNullablePaths>>;
3153
- /**
3154
- * Adds an input control to the draft form.
3155
- * @param eventId - Event ID to which the form belongs.
3156
- * @public
3157
- * @requiredField eventId
3158
- * @requiredField options
3159
- * @requiredField options.control
3160
- * @param options - Optional fields.
3161
- * @permissionId WIX_EVENTS.MANAGE_EVENTS
3162
- * @permissionScope Manage Events - all permissions
3163
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
3164
- * @permissionScope Manage Events
3165
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
3166
- * @permissionScope Manage Events
3167
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
3168
- * @applicableIdentity APP
3169
- * @fqn wix.events.form.FormBuilder.AddControl
3170
- */
3171
- export declare function addControl(eventId: string, options: AddControlOptions): Promise<NonNullablePaths<AddControlResponse, `_id` | {
3172
- [P in FormNonNullablePaths]: `form.${P}`;
3173
- }[FormNonNullablePaths]>>;
3174
- export interface AddControlOptions extends AddControlOptionsControlOneOf {
3068
+ interface AddControlOptions extends AddControlOptionsControlOneOf {
3175
3069
  /** Phone number input control. */
3176
3070
  phone?: PhoneControl;
3177
3071
  /** Single-line or full address input control. */
@@ -3190,7 +3084,7 @@ export interface AddControlOptions extends AddControlOptionsControlOneOf {
3190
3084
  radioButton?: RadioButtonControl;
3191
3085
  }
3192
3086
  /** @oneof */
3193
- export interface AddControlOptionsControlOneOf {
3087
+ interface AddControlOptionsControlOneOf {
3194
3088
  /** Phone number input control. */
3195
3089
  phone?: PhoneControl;
3196
3090
  /** Single-line or full address input control. */
@@ -3208,29 +3102,7 @@ export interface AddControlOptionsControlOneOf {
3208
3102
  /** Single-choice radio button style input control. */
3209
3103
  radioButton?: RadioButtonControl;
3210
3104
  }
3211
- /**
3212
- * Updates an existing input control in the draft form.
3213
- * @public
3214
- * @requiredField identifiers
3215
- * @requiredField identifiers._id
3216
- * @requiredField identifiers.eventId
3217
- * @requiredField options.control
3218
- * @param options - Optional fields.
3219
- * @param identifiers - Identifies what form to update.
3220
- * @permissionId WIX_EVENTS.MANAGE_EVENTS
3221
- * @permissionScope Manage Events - all permissions
3222
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
3223
- * @permissionScope Manage Events
3224
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
3225
- * @permissionScope Manage Events
3226
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
3227
- * @applicableIdentity APP
3228
- * @fqn wix.events.form.FormBuilder.UpdateControl
3229
- */
3230
- export declare function updateControl(identifiers: NonNullablePaths<UpdateControlIdentifiers, `_id` | `eventId`>, options?: UpdateControlOptions): Promise<NonNullablePaths<UpdateControlResponse, {
3231
- [P in FormNonNullablePaths]: `form.${P}`;
3232
- }[FormNonNullablePaths]>>;
3233
- export interface UpdateControlIdentifiers extends UpdateControlIdentifiersControlOneOf {
3105
+ interface UpdateControlIdentifiers extends UpdateControlIdentifiersControlOneOf {
3234
3106
  /**
3235
3107
  * Event ID to which the form belongs.
3236
3108
  * @format GUID
@@ -3240,7 +3112,7 @@ export interface UpdateControlIdentifiers extends UpdateControlIdentifiersContro
3240
3112
  _id: string;
3241
3113
  }
3242
3114
  /** @oneof */
3243
- export interface UpdateControlIdentifiersControlOneOf {
3115
+ interface UpdateControlIdentifiersControlOneOf {
3244
3116
  /** Phone number input control. */
3245
3117
  phone?: PhoneControl;
3246
3118
  /** Single-line or full address input control. */
@@ -3262,7 +3134,7 @@ export interface UpdateControlIdentifiersControlOneOf {
3262
3134
  /** Single-choice radio style input control. */
3263
3135
  radioButton?: RadioButtonControl;
3264
3136
  }
3265
- export interface UpdateControlOptions extends UpdateControlOptionsControlOneOf {
3137
+ interface UpdateControlOptions extends UpdateControlOptionsControlOneOf {
3266
3138
  /** Index used to sort input controls in ascending order. */
3267
3139
  orderIndex?: number;
3268
3140
  /** Phone number input control. */
@@ -3287,7 +3159,7 @@ export interface UpdateControlOptions extends UpdateControlOptionsControlOneOf {
3287
3159
  radioButton?: RadioButtonControl;
3288
3160
  }
3289
3161
  /** @oneof */
3290
- export interface UpdateControlOptionsControlOneOf {
3162
+ interface UpdateControlOptionsControlOneOf {
3291
3163
  /** Phone number input control. */
3292
3164
  phone?: PhoneControl;
3293
3165
  /** Single-line or full address input control. */
@@ -3309,27 +3181,7 @@ export interface UpdateControlOptionsControlOneOf {
3309
3181
  /** Single-choice radio style input control. */
3310
3182
  radioButton?: RadioButtonControl;
3311
3183
  }
3312
- /**
3313
- * Deletes an input control from the draft form.
3314
- * @public
3315
- * @requiredField identifiers
3316
- * @requiredField identifiers._id
3317
- * @requiredField identifiers.eventId
3318
- * @param identifiers - Identifies what form to delete.
3319
- * @permissionId WIX_EVENTS.MANAGE_EVENTS
3320
- * @permissionScope Manage Events - all permissions
3321
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
3322
- * @permissionScope Manage Events
3323
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
3324
- * @permissionScope Manage Events
3325
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
3326
- * @applicableIdentity APP
3327
- * @fqn wix.events.form.FormBuilder.DeleteControl
3328
- */
3329
- export declare function deleteControl(identifiers: NonNullablePaths<DeleteControlIdentifiers, `_id` | `eventId`>): Promise<NonNullablePaths<DeleteControlResponse, {
3330
- [P in FormNonNullablePaths]: `form.${P}`;
3331
- }[FormNonNullablePaths]>>;
3332
- export interface DeleteControlIdentifiers {
3184
+ interface DeleteControlIdentifiers {
3333
3185
  /**
3334
3186
  * Event ID to which the form belongs.
3335
3187
  * @format GUID
@@ -3341,27 +3193,7 @@ export interface DeleteControlIdentifiers {
3341
3193
  */
3342
3194
  _id: string;
3343
3195
  }
3344
- /**
3345
- * Updates a set of defined form messages that are displayed to a site visitor before, during, and after the registration flow.
3346
- * Includes the configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
3347
- * @param eventId - Event ID to which the form belongs.
3348
- * @public
3349
- * @requiredField eventId
3350
- * @param options - Optional fields.
3351
- * @permissionId WIX_EVENTS.MANAGE_EVENTS
3352
- * @permissionScope Manage Events - all permissions
3353
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
3354
- * @permissionScope Manage Events
3355
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
3356
- * @permissionScope Manage Events
3357
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
3358
- * @applicableIdentity APP
3359
- * @fqn wix.events.form.FormBuilder.UpdateMessages
3360
- */
3361
- export declare function updateMessages(eventId: string, options?: UpdateMessagesOptions): Promise<NonNullablePaths<UpdateMessagesResponse, {
3362
- [P in FormNonNullablePaths]: `form.${P}`;
3363
- }[FormNonNullablePaths]>>;
3364
- export interface UpdateMessagesOptions {
3196
+ interface UpdateMessagesOptions {
3365
3197
  /**
3366
3198
  * Set of field paths, specifying which parts of this resource to update.
3367
3199
  * When fields are empty, request is interpreted as full update.
@@ -3371,38 +3203,5 @@ export interface UpdateMessagesOptions {
3371
3203
  /** Set of configured form messages to update. */
3372
3204
  messages?: FormMessages;
3373
3205
  }
3374
- /**
3375
- * Publishes the draft form.
3376
- * @param eventId - Event ID to which the form belongs.
3377
- * @public
3378
- * @requiredField eventId
3379
- * @permissionId WIX_EVENTS.MANAGE_EVENTS
3380
- * @permissionScope Manage Events - all permissions
3381
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
3382
- * @permissionScope Manage Events
3383
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
3384
- * @permissionScope Manage Events
3385
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
3386
- * @applicableIdentity APP
3387
- * @fqn wix.events.form.FormBuilder.PublishDraft
3388
- */
3389
- export declare function publishDraft(eventId: string): Promise<NonNullablePaths<PublishDraftResponse, {
3390
- [P in FormNonNullablePaths]: `form.${P}`;
3391
- }[FormNonNullablePaths]>>;
3392
- /**
3393
- * Clears all changes to the draft form.
3394
- * @param eventId - Event ID to which the form belongs.
3395
- * @public
3396
- * @requiredField eventId
3397
- * @permissionId WIX_EVENTS.MANAGE_EVENTS
3398
- * @permissionScope Manage Events - all permissions
3399
- * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS
3400
- * @permissionScope Manage Events
3401
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
3402
- * @permissionScope Manage Events
3403
- * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-EVENTS
3404
- * @applicableIdentity APP
3405
- * @fqn wix.events.form.FormBuilder.DiscardDraft
3406
- */
3407
- export declare function discardDraft(eventId: string): Promise<void>;
3408
- export {};
3206
+
3207
+ export { Direction 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, VoteRole as H, InputControlType as I, PollLayoutType as J, PollLayoutDirection as K, LocationType as L, MapType as M, NodeType as N, Orientation as O, type PublishDraftResponse as P, BackgroundType as Q, RequestedFields as R, SubdivisionType as S, TaxType as T, type UpdateControlIdentifiers as U, ValueType as V, WidthType as W, DecorationType as X, FontType as Y, AppType as Z, InitialExpandedItems as _, type AddControlResponse as a, type Money as a$, VerticalAlignment as a0, NullValue as a1, Type as a2, WebhookIdentityType as a3, type InputControl as a4, type Input as a5, type OptionSelection as a6, type OptionSelectionSelectedOptionOneOf as a7, type Label as a8, type FormMessages as a9, type UpdateControlRequest as aA, type UpdateControlRequestControlOneOf as aB, type NameControl as aC, type NameControlLabels as aD, type EmailControl as aE, type DeleteControlRequest as aF, type UpdateMessagesRequest as aG, type PublishDraftRequest as aH, type EventUpdated as aI, type Location as aJ, type MapCoordinates as aK, type Address as aL, type AddressStreetOneOf as aM, type StreetAddress as aN, type AddressLocation as aO, type Subdivision as aP, type ScheduleConfig as aQ, type Recurrences as aR, type Occurrence as aS, type Event as aT, type Scheduling as aU, type Registration as aV, type RsvpCollection as aW, type RsvpCollectionConfig as aX, type Ticketing as aY, type TicketingConfig as aZ, type TaxConfig as a_, type RsvpFormMessages as aa, type PositiveResponseConfirmation as ab, type NegativeResponseConfirmation as ac, type Positive as ad, type Negative as ae, type CheckoutFormMessages as af, type ResponseConfirmation as ag, type RegistrationClosedMessages as ah, type TicketsUnavailableMessages as ai, type FormInputControlAdded as aj, type FormInputControlUpdated as ak, type FormInputControlDeleted as al, type GetFormRequest as am, type GetFormResponse as an, type AddControlRequest as ao, type AddControlRequestControlOneOf as ap, type PhoneControl as aq, type AddressControl as ar, type AddressControlLabels as as, type DateControl as at, type AdditionalGuestsControl as au, type Labels as av, type DropdownControl as aw, type RadioButtonControl as ax, type CheckboxControl as ay, type TextControl as az, type UpdateControlOptions as b, type LinkPreviewDataStyles as b$, type ExternalEvent as b0, type CalendarLinks as b1, type SiteUrl as b2, type Dashboard as b3, type RsvpSummary as b4, type TicketingSummary as b5, type GuestListConfig as b6, type Feed as b7, type OnlineConferencing as b8, type OnlineConferencingConfig as b9, type Rel as bA, type CodeBlockData as bB, type TextStyle as bC, type DividerData as bD, type FileData as bE, type FileSource as bF, type FileSourceDataOneOf as bG, type PDFSettings as bH, type GalleryData as bI, type Media as bJ, type Image as bK, type Video as bL, type Item as bM, type ItemDataOneOf as bN, type GalleryOptions as bO, type Layout as bP, type ItemStyle as bQ, type Thumbnails as bR, type GIFData as bS, type GIF as bT, type HeadingData as bU, type HTMLData as bV, type HTMLDataDataOneOf as bW, type ImageData as bX, type StylesBorder as bY, type ImageDataStyles as bZ, type LinkPreviewData as b_, type OnlineConferencingSession as ba, type SeoSettings as bb, type SeoSchema as bc, type Keyword as bd, type Tag as be, type Settings as bf, type Agenda as bg, type Category as bh, type CategoryCounts as bi, type EventDisplaySettings as bj, type LabellingSettings as bk, type RichContent as bl, type Node as bm, type NodeDataOneOf as bn, type NodeStyle as bo, type ButtonData as bp, type Border as bq, type Colors as br, type PluginContainerData as bs, type PluginContainerDataWidth as bt, type PluginContainerDataWidthDataOneOf as bu, type Spoiler as bv, type Height as bw, type Styles as bx, type Link as by, type LinkDataOneOf as bz, type UpdateControlResponse as c, type BaseEventMetadata as c$, type MapData as c0, type MapSettings as c1, type ParagraphData as c2, type PollData as c3, type Permissions as c4, type Option as c5, type PollSettings as c6, type PollLayout as c7, type OptionLayout as c8, type Gradient as c9, type Dimensions as cA, type TableCellData as cB, type CellStyle as cC, type BorderColors as cD, type ListValue as cE, type AudioData as cF, type OrderedListData as cG, type BulletedListData as cH, type BlockquoteData as cI, type CaptionData as cJ, type LayoutCellData as cK, type Metadata as cL, type DocumentStyle as cM, type TextNodeStyle as cN, type Badge as cO, type DiscardDraftRequest as cP, type DiscardDraftResponse as cQ, type DomainEvent as cR, type DomainEventBodyOneOf as cS, type EntityCreatedEvent as cT, type RestoreInfo as cU, type EntityUpdatedEvent as cV, type EntityDeletedEvent as cW, type ActionEvent as cX, type MessageEnvelope as cY, type IdentificationData as cZ, type IdentificationDataIdOneOf as c_, type Background as ca, type BackgroundBackgroundOneOf as cb, type PollDesign as cc, type OptionDesign as cd, type Poll as ce, type PollDataLayout as cf, type Design as cg, type TextData as ch, type Decoration as ci, type DecorationDataOneOf as cj, type AnchorData as ck, type ColorData as cl, type LinkData as cm, type MentionData as cn, type FontSizeData as co, type SpoilerData as cp, type AppEmbedData as cq, type AppEmbedDataAppDataOneOf as cr, type BookingData as cs, type EventData as ct, type VideoData as cu, type PlaybackOptions as cv, type EmbedData as cw, type Oembed as cx, type CollapsibleListData as cy, type TableData 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, type FormEventUpdatedEnvelope as g, Status as h, EventType as i, RegistrationStatus as j, RsvpStatusOptions as k, VisitorType as l, State as m, PluginContainerDataAlignment as n, Target as o, TextAlignment as p, LineStyle as q, Width as r, Alignment as s, ViewMode as t, LayoutType as u, Crop as v, ThumbnailsAlignment as w, Source as x, Position as y, ViewRole as z };