@wix/auto_sdk_events_forms 1.0.19 → 1.0.21

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