@wix/auto_sdk_events_forms 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/events-v1-form-forms.context.d.ts +1 -1
- package/build/cjs/src/events-v1-form-forms.public.d.ts +1 -1
- package/build/cjs/src/events-v1-form-forms.public.js +1 -0
- package/build/cjs/src/events-v1-form-forms.public.js.map +1 -1
- package/build/cjs/src/events-v1-form-forms.types.d.ts +362 -80
- package/build/cjs/src/events-v1-form-forms.types.js.map +1 -1
- package/build/cjs/src/events-v1-form-forms.universal.d.ts +449 -87
- package/build/cjs/src/events-v1-form-forms.universal.js +2 -0
- package/build/cjs/src/events-v1-form-forms.universal.js.map +1 -1
- package/build/es/src/events-v1-form-forms.context.d.ts +1 -1
- package/build/es/src/events-v1-form-forms.public.d.ts +1 -1
- package/build/es/src/events-v1-form-forms.public.js +1 -0
- package/build/es/src/events-v1-form-forms.public.js.map +1 -1
- package/build/es/src/events-v1-form-forms.types.d.ts +362 -80
- package/build/es/src/events-v1-form-forms.types.js.map +1 -1
- package/build/es/src/events-v1-form-forms.universal.d.ts +449 -87
- package/build/es/src/events-v1-form-forms.universal.js +2 -0
- package/build/es/src/events-v1-form-forms.universal.js.map +1 -1
- package/build/internal/cjs/src/events-v1-form-forms.context.d.ts +1 -1
- package/build/internal/cjs/src/events-v1-form-forms.public.d.ts +1 -1
- package/build/internal/cjs/src/events-v1-form-forms.public.js +1 -0
- package/build/internal/cjs/src/events-v1-form-forms.public.js.map +1 -1
- package/build/internal/cjs/src/events-v1-form-forms.types.d.ts +362 -80
- package/build/internal/cjs/src/events-v1-form-forms.types.js.map +1 -1
- package/build/internal/cjs/src/events-v1-form-forms.universal.d.ts +449 -87
- package/build/internal/cjs/src/events-v1-form-forms.universal.js +2 -0
- package/build/internal/cjs/src/events-v1-form-forms.universal.js.map +1 -1
- package/build/internal/es/src/events-v1-form-forms.context.d.ts +1 -1
- package/build/internal/es/src/events-v1-form-forms.public.d.ts +1 -1
- package/build/internal/es/src/events-v1-form-forms.public.js +1 -0
- package/build/internal/es/src/events-v1-form-forms.public.js.map +1 -1
- package/build/internal/es/src/events-v1-form-forms.types.d.ts +362 -80
- package/build/internal/es/src/events-v1-form-forms.types.js.map +1 -1
- package/build/internal/es/src/events-v1-form-forms.universal.d.ts +449 -87
- package/build/internal/es/src/events-v1-form-forms.universal.js +2 -0
- package/build/internal/es/src/events-v1-form-forms.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -122,21 +122,29 @@ export declare enum ValueType {
|
|
|
122
122
|
* Defaults to first (0th) option if not configured.
|
|
123
123
|
*/
|
|
124
124
|
export interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
|
|
125
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* 0-based index from predefined `input.options` which is selected initially.
|
|
127
|
+
* @max 199
|
|
128
|
+
*/
|
|
126
129
|
optionIndex?: number;
|
|
127
130
|
/**
|
|
128
131
|
* Placeholder hint describing expected choices (such as "Please select").
|
|
129
132
|
* Considered an empty choice.
|
|
133
|
+
* @maxLength 200
|
|
130
134
|
*/
|
|
131
135
|
placeholderText?: string;
|
|
132
136
|
}
|
|
133
137
|
/** @oneof */
|
|
134
138
|
export interface OptionSelectionSelectedOptionOneOf {
|
|
135
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* 0-based index from predefined `input.options` which is selected initially.
|
|
141
|
+
* @max 199
|
|
142
|
+
*/
|
|
136
143
|
optionIndex?: number;
|
|
137
144
|
/**
|
|
138
145
|
* Placeholder hint describing expected choices (such as "Please select").
|
|
139
146
|
* Considered an empty choice.
|
|
147
|
+
* @maxLength 200
|
|
140
148
|
*/
|
|
141
149
|
placeholderText?: string;
|
|
142
150
|
}
|
|
@@ -258,7 +266,10 @@ export interface FormInputControlDeleted {
|
|
|
258
266
|
deletedInputControl?: InputControl;
|
|
259
267
|
}
|
|
260
268
|
export interface GetFormRequest {
|
|
261
|
-
/**
|
|
269
|
+
/**
|
|
270
|
+
* Event ID.
|
|
271
|
+
* @format GUID
|
|
272
|
+
*/
|
|
262
273
|
eventId: string;
|
|
263
274
|
}
|
|
264
275
|
export declare enum RequestedFields {
|
|
@@ -295,7 +306,10 @@ export interface AddControlRequest extends AddControlRequestControlOneOf {
|
|
|
295
306
|
text?: TextControl;
|
|
296
307
|
/** Single-choice radio button style input control. */
|
|
297
308
|
radioButton?: RadioButtonControl;
|
|
298
|
-
/**
|
|
309
|
+
/**
|
|
310
|
+
* Event ID.
|
|
311
|
+
* @format GUID
|
|
312
|
+
*/
|
|
299
313
|
eventId: string;
|
|
300
314
|
}
|
|
301
315
|
/** @oneof */
|
|
@@ -318,7 +332,10 @@ export interface AddControlRequestControlOneOf {
|
|
|
318
332
|
radioButton?: RadioButtonControl;
|
|
319
333
|
}
|
|
320
334
|
export interface PhoneControl {
|
|
321
|
-
/**
|
|
335
|
+
/**
|
|
336
|
+
* Phone input label.
|
|
337
|
+
* @maxLength 100
|
|
338
|
+
*/
|
|
322
339
|
label?: string;
|
|
323
340
|
/** Whether phone input is required. */
|
|
324
341
|
mandatory?: boolean;
|
|
@@ -332,21 +349,42 @@ export interface AddressControl {
|
|
|
332
349
|
mandatory?: boolean;
|
|
333
350
|
}
|
|
334
351
|
export interface AddressControlLabels {
|
|
335
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* Single-line address input label.
|
|
354
|
+
* @maxLength 100
|
|
355
|
+
*/
|
|
336
356
|
addressLine?: string;
|
|
337
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* Country input label.
|
|
359
|
+
* @maxLength 100
|
|
360
|
+
*/
|
|
338
361
|
country?: string;
|
|
339
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* Subdivision input label.
|
|
364
|
+
* @maxLength 100
|
|
365
|
+
*/
|
|
340
366
|
subdivision?: string;
|
|
341
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* City input label.
|
|
369
|
+
* @maxLength 100
|
|
370
|
+
*/
|
|
342
371
|
city?: string;
|
|
343
|
-
/**
|
|
372
|
+
/**
|
|
373
|
+
* Postal code input label.
|
|
374
|
+
* @maxLength 100
|
|
375
|
+
*/
|
|
344
376
|
postalCode?: string;
|
|
345
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* Street address input label.
|
|
379
|
+
* @maxLength 100
|
|
380
|
+
*/
|
|
346
381
|
streetAddress?: string;
|
|
347
382
|
}
|
|
348
383
|
export interface DateControl {
|
|
349
|
-
/**
|
|
384
|
+
/**
|
|
385
|
+
* Input control label.
|
|
386
|
+
* @maxLength 100
|
|
387
|
+
*/
|
|
350
388
|
label?: string;
|
|
351
389
|
/** Whether date input is required */
|
|
352
390
|
mandatory?: boolean;
|
|
@@ -356,19 +394,37 @@ export interface AdditionalGuestsControl {
|
|
|
356
394
|
labels?: Labels;
|
|
357
395
|
/** Whether individual guest names are required. */
|
|
358
396
|
namesMandatory?: boolean;
|
|
359
|
-
/**
|
|
397
|
+
/**
|
|
398
|
+
* Maximum number of additional guests.
|
|
399
|
+
* @min 1
|
|
400
|
+
* @max 10
|
|
401
|
+
*/
|
|
360
402
|
maxGuests?: number;
|
|
361
403
|
}
|
|
362
404
|
export interface Labels {
|
|
363
|
-
/**
|
|
405
|
+
/**
|
|
406
|
+
* Input label for a single guest.
|
|
407
|
+
* @maxLength 200
|
|
408
|
+
*/
|
|
364
409
|
single?: string;
|
|
365
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* Input label for multiple guests.
|
|
412
|
+
* @maxLength 200
|
|
413
|
+
*/
|
|
366
414
|
multiple?: string;
|
|
367
415
|
}
|
|
368
416
|
export interface DropdownControl {
|
|
369
|
-
/**
|
|
417
|
+
/**
|
|
418
|
+
* Input control label.
|
|
419
|
+
* @maxLength 200
|
|
420
|
+
*/
|
|
370
421
|
label?: string;
|
|
371
|
-
/**
|
|
422
|
+
/**
|
|
423
|
+
* Predefined options guests can choose from.
|
|
424
|
+
* @minSize 2
|
|
425
|
+
* @maxSize 200
|
|
426
|
+
* @maxLength 200
|
|
427
|
+
*/
|
|
372
428
|
options?: string[];
|
|
373
429
|
/** Whether choice is required. */
|
|
374
430
|
mandatory?: boolean;
|
|
@@ -376,25 +432,47 @@ export interface DropdownControl {
|
|
|
376
432
|
defaultOptionSelection?: OptionSelection;
|
|
377
433
|
}
|
|
378
434
|
export interface RadioButtonControl {
|
|
379
|
-
/**
|
|
435
|
+
/**
|
|
436
|
+
* Input control label.
|
|
437
|
+
* @maxLength 200
|
|
438
|
+
*/
|
|
380
439
|
label?: string;
|
|
381
|
-
/**
|
|
440
|
+
/**
|
|
441
|
+
* Predefined options guests can choose from.
|
|
442
|
+
* @minSize 2
|
|
443
|
+
* @maxSize 200
|
|
444
|
+
* @maxLength 200
|
|
445
|
+
*/
|
|
382
446
|
options?: string[];
|
|
383
447
|
}
|
|
384
448
|
export interface CheckboxControl {
|
|
385
|
-
/**
|
|
449
|
+
/**
|
|
450
|
+
* Input control label.
|
|
451
|
+
* @maxLength 200
|
|
452
|
+
*/
|
|
386
453
|
label?: string;
|
|
387
454
|
/** Whether at least one checkbox is required. */
|
|
388
455
|
mandatory?: boolean;
|
|
389
|
-
/**
|
|
456
|
+
/**
|
|
457
|
+
* Predefined options guests can choose from.
|
|
458
|
+
* @minSize 1
|
|
459
|
+
* @maxSize 200
|
|
460
|
+
* @maxLength 200
|
|
461
|
+
*/
|
|
390
462
|
options?: string[];
|
|
391
463
|
}
|
|
392
464
|
export interface TextControl {
|
|
393
|
-
/**
|
|
465
|
+
/**
|
|
466
|
+
* Input control label.
|
|
467
|
+
* @maxLength 200
|
|
468
|
+
*/
|
|
394
469
|
label?: string;
|
|
395
470
|
/** Whether text input is required. */
|
|
396
471
|
mandatory?: boolean;
|
|
397
|
-
/**
|
|
472
|
+
/**
|
|
473
|
+
* Maximum number of characters allowed.
|
|
474
|
+
* @max 1000
|
|
475
|
+
*/
|
|
398
476
|
maxLength?: number;
|
|
399
477
|
/** Whether input control should allow multiple lines in text. */
|
|
400
478
|
multiLine?: boolean;
|
|
@@ -428,7 +506,10 @@ export interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
|
|
|
428
506
|
email?: EmailControl;
|
|
429
507
|
/** Single-choice radio style input control. */
|
|
430
508
|
radioButton?: RadioButtonControl;
|
|
431
|
-
/**
|
|
509
|
+
/**
|
|
510
|
+
* Event ID.
|
|
511
|
+
* @format GUID
|
|
512
|
+
*/
|
|
432
513
|
eventId: string;
|
|
433
514
|
/** Unique input control ID. */
|
|
434
515
|
id: string;
|
|
@@ -463,13 +544,22 @@ export interface NameControl {
|
|
|
463
544
|
labels?: NameControlLabels;
|
|
464
545
|
}
|
|
465
546
|
export interface NameControlLabels {
|
|
466
|
-
/**
|
|
547
|
+
/**
|
|
548
|
+
* First name input label
|
|
549
|
+
* @maxLength 100
|
|
550
|
+
*/
|
|
467
551
|
firstName?: string;
|
|
468
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* Last name input label
|
|
554
|
+
* @maxLength 100
|
|
555
|
+
*/
|
|
469
556
|
lastName?: string;
|
|
470
557
|
}
|
|
471
558
|
export interface EmailControl {
|
|
472
|
-
/**
|
|
559
|
+
/**
|
|
560
|
+
* Email input label.
|
|
561
|
+
* @maxLength 100
|
|
562
|
+
*/
|
|
473
563
|
label?: string;
|
|
474
564
|
}
|
|
475
565
|
export interface UpdateControlResponse {
|
|
@@ -477,9 +567,15 @@ export interface UpdateControlResponse {
|
|
|
477
567
|
form?: Form;
|
|
478
568
|
}
|
|
479
569
|
export interface DeleteControlRequest {
|
|
480
|
-
/**
|
|
570
|
+
/**
|
|
571
|
+
* Event ID.
|
|
572
|
+
* @format GUID
|
|
573
|
+
*/
|
|
481
574
|
eventId: string;
|
|
482
|
-
/**
|
|
575
|
+
/**
|
|
576
|
+
* Unique input control ID.
|
|
577
|
+
* @maxLength 100
|
|
578
|
+
*/
|
|
483
579
|
id: string;
|
|
484
580
|
}
|
|
485
581
|
export interface DeleteControlResponse {
|
|
@@ -487,7 +583,10 @@ export interface DeleteControlResponse {
|
|
|
487
583
|
form?: Form;
|
|
488
584
|
}
|
|
489
585
|
export interface UpdateMessagesRequest {
|
|
490
|
-
/**
|
|
586
|
+
/**
|
|
587
|
+
* Event ID.
|
|
588
|
+
* @format GUID
|
|
589
|
+
*/
|
|
491
590
|
eventId: string;
|
|
492
591
|
/**
|
|
493
592
|
* Set of field paths, specifying which parts of this resource to update.
|
|
@@ -503,7 +602,10 @@ export interface UpdateMessagesResponse {
|
|
|
503
602
|
form?: Form;
|
|
504
603
|
}
|
|
505
604
|
export interface PublishDraftRequest {
|
|
506
|
-
/**
|
|
605
|
+
/**
|
|
606
|
+
* Event ID.
|
|
607
|
+
* @format GUID
|
|
608
|
+
*/
|
|
507
609
|
eventId: string;
|
|
508
610
|
}
|
|
509
611
|
export interface PublishDraftResponse {
|
|
@@ -513,7 +615,10 @@ export interface PublishDraftResponse {
|
|
|
513
615
|
export interface EventUpdated {
|
|
514
616
|
/** Event update timestamp in ISO UTC format. */
|
|
515
617
|
timestamp?: Date | null;
|
|
516
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* Event ID.
|
|
620
|
+
* @format GUID
|
|
621
|
+
*/
|
|
517
622
|
eventId?: string;
|
|
518
623
|
/** Event location. */
|
|
519
624
|
location?: Location;
|
|
@@ -530,11 +635,17 @@ export interface EventUpdated {
|
|
|
530
635
|
event?: Event;
|
|
531
636
|
}
|
|
532
637
|
export interface Location {
|
|
533
|
-
/**
|
|
638
|
+
/**
|
|
639
|
+
* Location name.
|
|
640
|
+
* @maxLength 50
|
|
641
|
+
*/
|
|
534
642
|
name?: string | null;
|
|
535
643
|
/** Location map coordinates. */
|
|
536
644
|
coordinates?: MapCoordinates;
|
|
537
|
-
/**
|
|
645
|
+
/**
|
|
646
|
+
* Single line address representation.
|
|
647
|
+
* @maxLength 300
|
|
648
|
+
*/
|
|
538
649
|
address?: string | null;
|
|
539
650
|
/** Location type. */
|
|
540
651
|
type?: LocationType;
|
|
@@ -556,9 +667,17 @@ export interface Location {
|
|
|
556
667
|
tbd?: boolean | null;
|
|
557
668
|
}
|
|
558
669
|
export interface MapCoordinates {
|
|
559
|
-
/**
|
|
670
|
+
/**
|
|
671
|
+
* Latitude.
|
|
672
|
+
* @min -90
|
|
673
|
+
* @max 90
|
|
674
|
+
*/
|
|
560
675
|
lat?: number;
|
|
561
|
-
/**
|
|
676
|
+
/**
|
|
677
|
+
* Longitude.
|
|
678
|
+
* @min -180
|
|
679
|
+
* @max 180
|
|
680
|
+
*/
|
|
562
681
|
lng?: number;
|
|
563
682
|
}
|
|
564
683
|
export declare enum LocationType {
|
|
@@ -571,7 +690,10 @@ export interface Address extends AddressStreetOneOf {
|
|
|
571
690
|
streetAddress?: StreetAddress;
|
|
572
691
|
/** Main address line (usually street and number) as free text */
|
|
573
692
|
addressLine?: string | null;
|
|
574
|
-
/**
|
|
693
|
+
/**
|
|
694
|
+
* country code
|
|
695
|
+
* @format COUNTRY
|
|
696
|
+
*/
|
|
575
697
|
country?: string | null;
|
|
576
698
|
/** subdivision (usually state or region) code according to ISO 3166-2 */
|
|
577
699
|
subdivision?: string | null;
|
|
@@ -589,7 +711,10 @@ export interface Address extends AddressStreetOneOf {
|
|
|
589
711
|
geocode?: AddressLocation;
|
|
590
712
|
/** country full-name */
|
|
591
713
|
countryFullname?: string | null;
|
|
592
|
-
/**
|
|
714
|
+
/**
|
|
715
|
+
* multi-level subdivisions from top to bottom
|
|
716
|
+
* @maxSize 6
|
|
717
|
+
*/
|
|
593
718
|
subdivisions?: Subdivision[];
|
|
594
719
|
}
|
|
595
720
|
/** @oneof */
|
|
@@ -606,9 +731,17 @@ export interface StreetAddress {
|
|
|
606
731
|
name?: string;
|
|
607
732
|
}
|
|
608
733
|
export interface AddressLocation {
|
|
609
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* address latitude coordinates
|
|
736
|
+
* @min -90
|
|
737
|
+
* @max 90
|
|
738
|
+
*/
|
|
610
739
|
latitude?: number | null;
|
|
611
|
-
/**
|
|
740
|
+
/**
|
|
741
|
+
* address longitude coordinates
|
|
742
|
+
* @min -180
|
|
743
|
+
* @max 180
|
|
744
|
+
*/
|
|
612
745
|
longitude?: number | null;
|
|
613
746
|
}
|
|
614
747
|
export interface Subdivision {
|
|
@@ -639,13 +772,19 @@ export interface ScheduleConfig {
|
|
|
639
772
|
* `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
|
|
640
773
|
*/
|
|
641
774
|
scheduleTbd?: boolean;
|
|
642
|
-
/**
|
|
775
|
+
/**
|
|
776
|
+
* TBD message.
|
|
777
|
+
* @maxLength 100
|
|
778
|
+
*/
|
|
643
779
|
scheduleTbdMessage?: string | null;
|
|
644
780
|
/** Event start timestamp. */
|
|
645
781
|
startDate?: Date | null;
|
|
646
782
|
/** Event end timestamp. */
|
|
647
783
|
endDate?: Date | null;
|
|
648
|
-
/**
|
|
784
|
+
/**
|
|
785
|
+
* Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
|
|
786
|
+
* @maxLength 100
|
|
787
|
+
*/
|
|
649
788
|
timeZoneId?: string | null;
|
|
650
789
|
/** Whether end date is hidden in the formatted schedule. */
|
|
651
790
|
endDateHidden?: boolean;
|
|
@@ -655,7 +794,10 @@ export interface ScheduleConfig {
|
|
|
655
794
|
recurrences?: Recurrences;
|
|
656
795
|
}
|
|
657
796
|
export interface Recurrences {
|
|
658
|
-
/**
|
|
797
|
+
/**
|
|
798
|
+
* Event occurrences.
|
|
799
|
+
* @maxSize 1000
|
|
800
|
+
*/
|
|
659
801
|
occurrences?: Occurrence[];
|
|
660
802
|
/**
|
|
661
803
|
* Recurring event category ID.
|
|
@@ -673,7 +815,10 @@ export interface Occurrence {
|
|
|
673
815
|
startDate?: Date | null;
|
|
674
816
|
/** Event end timestamp. */
|
|
675
817
|
endDate?: Date | null;
|
|
676
|
-
/**
|
|
818
|
+
/**
|
|
819
|
+
* Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
|
|
820
|
+
* @maxLength 100
|
|
821
|
+
*/
|
|
677
822
|
timeZoneId?: string | null;
|
|
678
823
|
/** Whether time zone is displayed in formatted schedule. */
|
|
679
824
|
showTimeZone?: boolean;
|
|
@@ -693,6 +838,7 @@ export declare enum Status {
|
|
|
693
838
|
export interface Event {
|
|
694
839
|
/**
|
|
695
840
|
* Event ID.
|
|
841
|
+
* @format GUID
|
|
696
842
|
* @readonly
|
|
697
843
|
*/
|
|
698
844
|
id?: string;
|
|
@@ -732,7 +878,10 @@ export interface Event {
|
|
|
732
878
|
instanceId?: string;
|
|
733
879
|
/** Guest list configuration. */
|
|
734
880
|
guestListConfig?: GuestListConfig;
|
|
735
|
-
/**
|
|
881
|
+
/**
|
|
882
|
+
* Event creator user ID.
|
|
883
|
+
* @maxLength 36
|
|
884
|
+
*/
|
|
736
885
|
userId?: string;
|
|
737
886
|
/** Event discussion feed. For internal use. */
|
|
738
887
|
feed?: Feed;
|
|
@@ -750,6 +899,11 @@ export interface Event {
|
|
|
750
899
|
eventDisplaySettings?: EventDisplaySettings;
|
|
751
900
|
/** Rich content displayed in Wix UI - "About Event" section. Successor to `about` field. */
|
|
752
901
|
longDescription?: RichContent;
|
|
902
|
+
/**
|
|
903
|
+
* Event publish timestamp.
|
|
904
|
+
* @readonly
|
|
905
|
+
*/
|
|
906
|
+
publishedDate?: Date | null;
|
|
753
907
|
}
|
|
754
908
|
export interface Scheduling {
|
|
755
909
|
/** Schedule configuration. */
|
|
@@ -766,7 +920,11 @@ export interface Scheduling {
|
|
|
766
920
|
endTimeFormatted?: string;
|
|
767
921
|
}
|
|
768
922
|
export interface Image {
|
|
769
|
-
/**
|
|
923
|
+
/**
|
|
924
|
+
* WixMedia image ID.
|
|
925
|
+
* @minLength 1
|
|
926
|
+
* @maxLength 200
|
|
927
|
+
*/
|
|
770
928
|
id?: string | null;
|
|
771
929
|
/** Image URL. */
|
|
772
930
|
url?: string;
|
|
@@ -904,17 +1062,31 @@ export interface TicketingConfig {
|
|
|
904
1062
|
guestAssignedTickets?: boolean;
|
|
905
1063
|
/** Tax configuration. */
|
|
906
1064
|
taxConfig?: TaxConfig;
|
|
907
|
-
/**
|
|
1065
|
+
/**
|
|
1066
|
+
* Limit of tickets that can be purchased per order, default 20.
|
|
1067
|
+
* @max 50
|
|
1068
|
+
*/
|
|
908
1069
|
ticketLimitPerOrder?: number;
|
|
909
|
-
/**
|
|
1070
|
+
/**
|
|
1071
|
+
* Duration for which the tickets being bought are reserved.
|
|
1072
|
+
* @min 5
|
|
1073
|
+
* @max 30
|
|
1074
|
+
*/
|
|
910
1075
|
reservationDurationInMinutes?: number | null;
|
|
911
1076
|
}
|
|
912
1077
|
export interface TaxConfig {
|
|
913
1078
|
/** Tax application settings. */
|
|
914
1079
|
type?: TaxType;
|
|
915
|
-
/**
|
|
1080
|
+
/**
|
|
1081
|
+
* Tax name.
|
|
1082
|
+
* @minLength 1
|
|
1083
|
+
* @maxLength 10
|
|
1084
|
+
*/
|
|
916
1085
|
name?: string | null;
|
|
917
|
-
/**
|
|
1086
|
+
/**
|
|
1087
|
+
* Tax rate (e.g.,`21.55`).
|
|
1088
|
+
* @decimalValue options - {gte:0.001,lte:100,maxScale:3}
|
|
1089
|
+
*/
|
|
918
1090
|
rate?: string | null;
|
|
919
1091
|
/** Applies taxes for donations, default true. */
|
|
920
1092
|
appliesToDonations?: boolean | null;
|
|
@@ -930,12 +1102,19 @@ export declare enum TaxType {
|
|
|
930
1102
|
export interface Money {
|
|
931
1103
|
/**
|
|
932
1104
|
* *Deprecated:** Use `value` instead.
|
|
1105
|
+
* @format DECIMAL_VALUE
|
|
933
1106
|
* @deprecated
|
|
934
1107
|
*/
|
|
935
1108
|
amount?: string;
|
|
936
|
-
/**
|
|
1109
|
+
/**
|
|
1110
|
+
* ISO 4217 format of the currency e.g., `USD`.
|
|
1111
|
+
* @format CURRENCY
|
|
1112
|
+
*/
|
|
937
1113
|
currency?: string;
|
|
938
|
-
/**
|
|
1114
|
+
/**
|
|
1115
|
+
* Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative.
|
|
1116
|
+
* @format DECIMAL_VALUE
|
|
1117
|
+
*/
|
|
939
1118
|
value?: string | null;
|
|
940
1119
|
}
|
|
941
1120
|
export interface ExternalEvent {
|
|
@@ -1018,7 +1197,10 @@ export interface OnlineConferencingConfig {
|
|
|
1018
1197
|
* When enabled, links to join conferencing are generated and provided to guests.
|
|
1019
1198
|
*/
|
|
1020
1199
|
enabled?: boolean;
|
|
1021
|
-
/**
|
|
1200
|
+
/**
|
|
1201
|
+
* Conferencing provider ID.
|
|
1202
|
+
* @format GUID
|
|
1203
|
+
*/
|
|
1022
1204
|
providerId?: string | null;
|
|
1023
1205
|
/** Conference type */
|
|
1024
1206
|
conferenceType?: ConferenceType;
|
|
@@ -1057,7 +1239,10 @@ export interface OnlineConferencingSession {
|
|
|
1057
1239
|
sessionId?: string | null;
|
|
1058
1240
|
}
|
|
1059
1241
|
export interface SeoSettings {
|
|
1060
|
-
/**
|
|
1242
|
+
/**
|
|
1243
|
+
* URL slug
|
|
1244
|
+
* @maxLength 130
|
|
1245
|
+
*/
|
|
1061
1246
|
slug?: string;
|
|
1062
1247
|
/** Advanced SEO data */
|
|
1063
1248
|
advancedSeoData?: SeoSchema;
|
|
@@ -1083,7 +1268,10 @@ export interface Keyword {
|
|
|
1083
1268
|
term?: string;
|
|
1084
1269
|
/** Whether the keyword is the main focus keyword. */
|
|
1085
1270
|
isMain?: boolean;
|
|
1086
|
-
/**
|
|
1271
|
+
/**
|
|
1272
|
+
* The source that added the keyword terms to the SEO settings.
|
|
1273
|
+
* @maxLength 1000
|
|
1274
|
+
*/
|
|
1087
1275
|
origin?: string | null;
|
|
1088
1276
|
}
|
|
1089
1277
|
export interface Tag {
|
|
@@ -1116,7 +1304,10 @@ export interface Settings {
|
|
|
1116
1304
|
* Default: `false` (Auto Redirect is enabled.)
|
|
1117
1305
|
*/
|
|
1118
1306
|
preventAutoRedirect?: boolean;
|
|
1119
|
-
/**
|
|
1307
|
+
/**
|
|
1308
|
+
* User-selected keyword terms for a specific page.
|
|
1309
|
+
* @maxSize 5
|
|
1310
|
+
*/
|
|
1120
1311
|
keywords?: Keyword[];
|
|
1121
1312
|
}
|
|
1122
1313
|
export interface Agenda {
|
|
@@ -1131,10 +1322,15 @@ export interface Agenda {
|
|
|
1131
1322
|
export interface Category {
|
|
1132
1323
|
/**
|
|
1133
1324
|
* Category ID.
|
|
1325
|
+
* @format GUID
|
|
1134
1326
|
* @readonly
|
|
1135
1327
|
*/
|
|
1136
1328
|
id?: string;
|
|
1137
|
-
/**
|
|
1329
|
+
/**
|
|
1330
|
+
* Category name.
|
|
1331
|
+
* @minLength 1
|
|
1332
|
+
* @maxLength 30
|
|
1333
|
+
*/
|
|
1138
1334
|
name?: string;
|
|
1139
1335
|
/**
|
|
1140
1336
|
* Date and time when category was created.
|
|
@@ -1157,6 +1353,7 @@ export interface Category {
|
|
|
1157
1353
|
* Default: `MANUAL`.
|
|
1158
1354
|
*
|
|
1159
1355
|
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
|
|
1356
|
+
* @maxSize 3
|
|
1160
1357
|
*/
|
|
1161
1358
|
states?: State[];
|
|
1162
1359
|
}
|
|
@@ -1782,11 +1979,20 @@ export interface GIFData {
|
|
|
1782
1979
|
gifType?: GIFType;
|
|
1783
1980
|
}
|
|
1784
1981
|
export interface GIF {
|
|
1785
|
-
/**
|
|
1982
|
+
/**
|
|
1983
|
+
* GIF format URL.
|
|
1984
|
+
* @format WEB_URL
|
|
1985
|
+
*/
|
|
1786
1986
|
gif?: string | null;
|
|
1787
|
-
/**
|
|
1987
|
+
/**
|
|
1988
|
+
* MP4 format URL.
|
|
1989
|
+
* @format WEB_URL
|
|
1990
|
+
*/
|
|
1788
1991
|
mp4?: string | null;
|
|
1789
|
-
/**
|
|
1992
|
+
/**
|
|
1993
|
+
* Thumbnail URL.
|
|
1994
|
+
* @format WEB_URL
|
|
1995
|
+
*/
|
|
1790
1996
|
still?: string | null;
|
|
1791
1997
|
}
|
|
1792
1998
|
export declare enum GIFType {
|
|
@@ -1852,6 +2058,22 @@ export interface ImageData {
|
|
|
1852
2058
|
caption?: string | null;
|
|
1853
2059
|
/** Sets whether the image's download button is disabled. Defaults to `false`. */
|
|
1854
2060
|
disableDownload?: boolean | null;
|
|
2061
|
+
/** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */
|
|
2062
|
+
decorative?: boolean | null;
|
|
2063
|
+
/** Styling for the image. */
|
|
2064
|
+
styles?: ImageDataStyles;
|
|
2065
|
+
}
|
|
2066
|
+
export interface StylesBorder {
|
|
2067
|
+
/** Border width in pixels. */
|
|
2068
|
+
width?: number | null;
|
|
2069
|
+
/** Border color. */
|
|
2070
|
+
color?: string | null;
|
|
2071
|
+
/** Border radius in pixels. */
|
|
2072
|
+
radius?: number | null;
|
|
2073
|
+
}
|
|
2074
|
+
export interface ImageDataStyles {
|
|
2075
|
+
/** Border attributes. */
|
|
2076
|
+
border?: StylesBorder;
|
|
1855
2077
|
}
|
|
1856
2078
|
export interface LinkPreviewData {
|
|
1857
2079
|
/** Styling for the link preview's container. */
|
|
@@ -1998,13 +2220,22 @@ export declare enum BackgroundType {
|
|
|
1998
2220
|
export interface Gradient {
|
|
1999
2221
|
/** The gradient angle in degrees. */
|
|
2000
2222
|
angle?: number | null;
|
|
2001
|
-
/**
|
|
2223
|
+
/**
|
|
2224
|
+
* The start color as a hexademical value.
|
|
2225
|
+
* @format COLOR_HEX
|
|
2226
|
+
*/
|
|
2002
2227
|
startColor?: string | null;
|
|
2003
|
-
/**
|
|
2228
|
+
/**
|
|
2229
|
+
* The end color as a hexademical value.
|
|
2230
|
+
* @format COLOR_HEX
|
|
2231
|
+
*/
|
|
2004
2232
|
lastColor?: string | null;
|
|
2005
2233
|
}
|
|
2006
2234
|
export interface Background extends BackgroundBackgroundOneOf {
|
|
2007
|
-
/**
|
|
2235
|
+
/**
|
|
2236
|
+
* The background color as a hexademical value.
|
|
2237
|
+
* @format COLOR_HEX
|
|
2238
|
+
*/
|
|
2008
2239
|
color?: string | null;
|
|
2009
2240
|
/** An image to use for the background. */
|
|
2010
2241
|
image?: Media;
|
|
@@ -2015,7 +2246,10 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
|
2015
2246
|
}
|
|
2016
2247
|
/** @oneof */
|
|
2017
2248
|
export interface BackgroundBackgroundOneOf {
|
|
2018
|
-
/**
|
|
2249
|
+
/**
|
|
2250
|
+
* The background color as a hexademical value.
|
|
2251
|
+
* @format COLOR_HEX
|
|
2252
|
+
*/
|
|
2019
2253
|
color?: string | null;
|
|
2020
2254
|
/** An image to use for the background. */
|
|
2021
2255
|
image?: Media;
|
|
@@ -2327,17 +2561,32 @@ export declare enum VerticalAlignment {
|
|
|
2327
2561
|
export interface CellStyle {
|
|
2328
2562
|
/** Vertical alignment for the cell's text. */
|
|
2329
2563
|
verticalAlignment?: VerticalAlignment;
|
|
2330
|
-
/**
|
|
2564
|
+
/**
|
|
2565
|
+
* Cell background color as a hexadecimal value.
|
|
2566
|
+
* @format COLOR_HEX
|
|
2567
|
+
*/
|
|
2331
2568
|
backgroundColor?: string | null;
|
|
2332
2569
|
}
|
|
2333
2570
|
export interface BorderColors {
|
|
2334
|
-
/**
|
|
2571
|
+
/**
|
|
2572
|
+
* Left border color as a hexadecimal value.
|
|
2573
|
+
* @format COLOR_HEX
|
|
2574
|
+
*/
|
|
2335
2575
|
left?: string | null;
|
|
2336
|
-
/**
|
|
2576
|
+
/**
|
|
2577
|
+
* Right border color as a hexadecimal value.
|
|
2578
|
+
* @format COLOR_HEX
|
|
2579
|
+
*/
|
|
2337
2580
|
right?: string | null;
|
|
2338
|
-
/**
|
|
2581
|
+
/**
|
|
2582
|
+
* Top border color as a hexadecimal value.
|
|
2583
|
+
* @format COLOR_HEX
|
|
2584
|
+
*/
|
|
2339
2585
|
top?: string | null;
|
|
2340
|
-
/**
|
|
2586
|
+
/**
|
|
2587
|
+
* Bottom border color as a hexadecimal value.
|
|
2588
|
+
* @format COLOR_HEX
|
|
2589
|
+
*/
|
|
2341
2590
|
bottom?: string | null;
|
|
2342
2591
|
}
|
|
2343
2592
|
/**
|
|
@@ -2446,7 +2695,10 @@ export interface TextNodeStyle {
|
|
|
2446
2695
|
lineHeight?: string | null;
|
|
2447
2696
|
}
|
|
2448
2697
|
export interface DiscardDraftRequest {
|
|
2449
|
-
/**
|
|
2698
|
+
/**
|
|
2699
|
+
* Event ID.
|
|
2700
|
+
* @format GUID
|
|
2701
|
+
*/
|
|
2450
2702
|
eventId: string;
|
|
2451
2703
|
}
|
|
2452
2704
|
export interface DiscardDraftResponse {
|
|
@@ -2524,9 +2776,15 @@ export interface ActionEvent {
|
|
|
2524
2776
|
bodyAsJson?: string;
|
|
2525
2777
|
}
|
|
2526
2778
|
export interface MessageEnvelope {
|
|
2527
|
-
/**
|
|
2779
|
+
/**
|
|
2780
|
+
* App instance ID.
|
|
2781
|
+
* @format GUID
|
|
2782
|
+
*/
|
|
2528
2783
|
instanceId?: string | null;
|
|
2529
|
-
/**
|
|
2784
|
+
/**
|
|
2785
|
+
* Event type.
|
|
2786
|
+
* @maxLength 150
|
|
2787
|
+
*/
|
|
2530
2788
|
eventType?: string;
|
|
2531
2789
|
/** The identification type and identity data. */
|
|
2532
2790
|
identity?: IdentificationData;
|
|
@@ -2534,26 +2792,50 @@ export interface MessageEnvelope {
|
|
|
2534
2792
|
data?: string;
|
|
2535
2793
|
}
|
|
2536
2794
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2537
|
-
/**
|
|
2795
|
+
/**
|
|
2796
|
+
* ID of a site visitor that has not logged in to the site.
|
|
2797
|
+
* @format GUID
|
|
2798
|
+
*/
|
|
2538
2799
|
anonymousVisitorId?: string;
|
|
2539
|
-
/**
|
|
2800
|
+
/**
|
|
2801
|
+
* ID of a site visitor that has logged in to the site.
|
|
2802
|
+
* @format GUID
|
|
2803
|
+
*/
|
|
2540
2804
|
memberId?: string;
|
|
2541
|
-
/**
|
|
2805
|
+
/**
|
|
2806
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
2807
|
+
* @format GUID
|
|
2808
|
+
*/
|
|
2542
2809
|
wixUserId?: string;
|
|
2543
|
-
/**
|
|
2810
|
+
/**
|
|
2811
|
+
* ID of an app.
|
|
2812
|
+
* @format GUID
|
|
2813
|
+
*/
|
|
2544
2814
|
appId?: string;
|
|
2545
2815
|
/** @readonly */
|
|
2546
2816
|
identityType?: WebhookIdentityType;
|
|
2547
2817
|
}
|
|
2548
2818
|
/** @oneof */
|
|
2549
2819
|
export interface IdentificationDataIdOneOf {
|
|
2550
|
-
/**
|
|
2820
|
+
/**
|
|
2821
|
+
* ID of a site visitor that has not logged in to the site.
|
|
2822
|
+
* @format GUID
|
|
2823
|
+
*/
|
|
2551
2824
|
anonymousVisitorId?: string;
|
|
2552
|
-
/**
|
|
2825
|
+
/**
|
|
2826
|
+
* ID of a site visitor that has logged in to the site.
|
|
2827
|
+
* @format GUID
|
|
2828
|
+
*/
|
|
2553
2829
|
memberId?: string;
|
|
2554
|
-
/**
|
|
2830
|
+
/**
|
|
2831
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
2832
|
+
* @format GUID
|
|
2833
|
+
*/
|
|
2555
2834
|
wixUserId?: string;
|
|
2556
|
-
/**
|
|
2835
|
+
/**
|
|
2836
|
+
* ID of an app.
|
|
2837
|
+
* @format GUID
|
|
2838
|
+
*/
|
|
2557
2839
|
appId?: string;
|
|
2558
2840
|
}
|
|
2559
2841
|
export declare enum WebhookIdentityType {
|