@wix/auto_sdk_events_forms 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/events-v1-form-forms.types.d.ts +345 -81
- package/build/cjs/src/events-v1-form-forms.types.js.map +1 -1
- package/build/cjs/src/events-v1-form-forms.universal.d.ts +432 -88
- 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.types.d.ts +345 -81
- package/build/es/src/events-v1-form-forms.types.js.map +1 -1
- package/build/es/src/events-v1-form-forms.universal.d.ts +432 -88
- 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.types.d.ts +345 -81
- 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 +432 -88
- 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.types.d.ts +345 -81
- 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 +432 -88
- 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;
|
|
@@ -771,7 +920,11 @@ export interface Scheduling {
|
|
|
771
920
|
endTimeFormatted?: string;
|
|
772
921
|
}
|
|
773
922
|
export interface Image {
|
|
774
|
-
/**
|
|
923
|
+
/**
|
|
924
|
+
* WixMedia image ID.
|
|
925
|
+
* @minLength 1
|
|
926
|
+
* @maxLength 200
|
|
927
|
+
*/
|
|
775
928
|
id?: string | null;
|
|
776
929
|
/** Image URL. */
|
|
777
930
|
url?: string;
|
|
@@ -909,17 +1062,31 @@ export interface TicketingConfig {
|
|
|
909
1062
|
guestAssignedTickets?: boolean;
|
|
910
1063
|
/** Tax configuration. */
|
|
911
1064
|
taxConfig?: TaxConfig;
|
|
912
|
-
/**
|
|
1065
|
+
/**
|
|
1066
|
+
* Limit of tickets that can be purchased per order, default 20.
|
|
1067
|
+
* @max 50
|
|
1068
|
+
*/
|
|
913
1069
|
ticketLimitPerOrder?: number;
|
|
914
|
-
/**
|
|
1070
|
+
/**
|
|
1071
|
+
* Duration for which the tickets being bought are reserved.
|
|
1072
|
+
* @min 5
|
|
1073
|
+
* @max 30
|
|
1074
|
+
*/
|
|
915
1075
|
reservationDurationInMinutes?: number | null;
|
|
916
1076
|
}
|
|
917
1077
|
export interface TaxConfig {
|
|
918
1078
|
/** Tax application settings. */
|
|
919
1079
|
type?: TaxType;
|
|
920
|
-
/**
|
|
1080
|
+
/**
|
|
1081
|
+
* Tax name.
|
|
1082
|
+
* @minLength 1
|
|
1083
|
+
* @maxLength 10
|
|
1084
|
+
*/
|
|
921
1085
|
name?: string | null;
|
|
922
|
-
/**
|
|
1086
|
+
/**
|
|
1087
|
+
* Tax rate (e.g.,`21.55`).
|
|
1088
|
+
* @decimalValue options - {gte:0.001,lte:100,maxScale:3}
|
|
1089
|
+
*/
|
|
923
1090
|
rate?: string | null;
|
|
924
1091
|
/** Applies taxes for donations, default true. */
|
|
925
1092
|
appliesToDonations?: boolean | null;
|
|
@@ -935,12 +1102,19 @@ export declare enum TaxType {
|
|
|
935
1102
|
export interface Money {
|
|
936
1103
|
/**
|
|
937
1104
|
* *Deprecated:** Use `value` instead.
|
|
1105
|
+
* @format DECIMAL_VALUE
|
|
938
1106
|
* @deprecated
|
|
939
1107
|
*/
|
|
940
1108
|
amount?: string;
|
|
941
|
-
/**
|
|
1109
|
+
/**
|
|
1110
|
+
* ISO 4217 format of the currency e.g., `USD`.
|
|
1111
|
+
* @format CURRENCY
|
|
1112
|
+
*/
|
|
942
1113
|
currency?: string;
|
|
943
|
-
/**
|
|
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
|
+
*/
|
|
944
1118
|
value?: string | null;
|
|
945
1119
|
}
|
|
946
1120
|
export interface ExternalEvent {
|
|
@@ -1023,7 +1197,10 @@ export interface OnlineConferencingConfig {
|
|
|
1023
1197
|
* When enabled, links to join conferencing are generated and provided to guests.
|
|
1024
1198
|
*/
|
|
1025
1199
|
enabled?: boolean;
|
|
1026
|
-
/**
|
|
1200
|
+
/**
|
|
1201
|
+
* Conferencing provider ID.
|
|
1202
|
+
* @format GUID
|
|
1203
|
+
*/
|
|
1027
1204
|
providerId?: string | null;
|
|
1028
1205
|
/** Conference type */
|
|
1029
1206
|
conferenceType?: ConferenceType;
|
|
@@ -1062,7 +1239,10 @@ export interface OnlineConferencingSession {
|
|
|
1062
1239
|
sessionId?: string | null;
|
|
1063
1240
|
}
|
|
1064
1241
|
export interface SeoSettings {
|
|
1065
|
-
/**
|
|
1242
|
+
/**
|
|
1243
|
+
* URL slug
|
|
1244
|
+
* @maxLength 130
|
|
1245
|
+
*/
|
|
1066
1246
|
slug?: string;
|
|
1067
1247
|
/** Advanced SEO data */
|
|
1068
1248
|
advancedSeoData?: SeoSchema;
|
|
@@ -1088,7 +1268,10 @@ export interface Keyword {
|
|
|
1088
1268
|
term?: string;
|
|
1089
1269
|
/** Whether the keyword is the main focus keyword. */
|
|
1090
1270
|
isMain?: boolean;
|
|
1091
|
-
/**
|
|
1271
|
+
/**
|
|
1272
|
+
* The source that added the keyword terms to the SEO settings.
|
|
1273
|
+
* @maxLength 1000
|
|
1274
|
+
*/
|
|
1092
1275
|
origin?: string | null;
|
|
1093
1276
|
}
|
|
1094
1277
|
export interface Tag {
|
|
@@ -1121,7 +1304,10 @@ export interface Settings {
|
|
|
1121
1304
|
* Default: `false` (Auto Redirect is enabled.)
|
|
1122
1305
|
*/
|
|
1123
1306
|
preventAutoRedirect?: boolean;
|
|
1124
|
-
/**
|
|
1307
|
+
/**
|
|
1308
|
+
* User-selected keyword terms for a specific page.
|
|
1309
|
+
* @maxSize 5
|
|
1310
|
+
*/
|
|
1125
1311
|
keywords?: Keyword[];
|
|
1126
1312
|
}
|
|
1127
1313
|
export interface Agenda {
|
|
@@ -1136,10 +1322,15 @@ export interface Agenda {
|
|
|
1136
1322
|
export interface Category {
|
|
1137
1323
|
/**
|
|
1138
1324
|
* Category ID.
|
|
1325
|
+
* @format GUID
|
|
1139
1326
|
* @readonly
|
|
1140
1327
|
*/
|
|
1141
1328
|
id?: string;
|
|
1142
|
-
/**
|
|
1329
|
+
/**
|
|
1330
|
+
* Category name.
|
|
1331
|
+
* @minLength 1
|
|
1332
|
+
* @maxLength 30
|
|
1333
|
+
*/
|
|
1143
1334
|
name?: string;
|
|
1144
1335
|
/**
|
|
1145
1336
|
* Date and time when category was created.
|
|
@@ -1162,6 +1353,7 @@ export interface Category {
|
|
|
1162
1353
|
* Default: `MANUAL`.
|
|
1163
1354
|
*
|
|
1164
1355
|
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
|
|
1356
|
+
* @maxSize 3
|
|
1165
1357
|
*/
|
|
1166
1358
|
states?: State[];
|
|
1167
1359
|
}
|
|
@@ -1787,11 +1979,20 @@ export interface GIFData {
|
|
|
1787
1979
|
gifType?: GIFType;
|
|
1788
1980
|
}
|
|
1789
1981
|
export interface GIF {
|
|
1790
|
-
/**
|
|
1982
|
+
/**
|
|
1983
|
+
* GIF format URL.
|
|
1984
|
+
* @format WEB_URL
|
|
1985
|
+
*/
|
|
1791
1986
|
gif?: string | null;
|
|
1792
|
-
/**
|
|
1987
|
+
/**
|
|
1988
|
+
* MP4 format URL.
|
|
1989
|
+
* @format WEB_URL
|
|
1990
|
+
*/
|
|
1793
1991
|
mp4?: string | null;
|
|
1794
|
-
/**
|
|
1992
|
+
/**
|
|
1993
|
+
* Thumbnail URL.
|
|
1994
|
+
* @format WEB_URL
|
|
1995
|
+
*/
|
|
1795
1996
|
still?: string | null;
|
|
1796
1997
|
}
|
|
1797
1998
|
export declare enum GIFType {
|
|
@@ -1865,7 +2066,10 @@ export interface ImageData {
|
|
|
1865
2066
|
export interface StylesBorder {
|
|
1866
2067
|
/** Border width in pixels. */
|
|
1867
2068
|
width?: number | null;
|
|
1868
|
-
/**
|
|
2069
|
+
/**
|
|
2070
|
+
* Border color as a hexadecimal value.
|
|
2071
|
+
* @format COLOR_HEX
|
|
2072
|
+
*/
|
|
1869
2073
|
color?: string | null;
|
|
1870
2074
|
/** Border radius in pixels. */
|
|
1871
2075
|
radius?: number | null;
|
|
@@ -2019,13 +2223,22 @@ export declare enum BackgroundType {
|
|
|
2019
2223
|
export interface Gradient {
|
|
2020
2224
|
/** The gradient angle in degrees. */
|
|
2021
2225
|
angle?: number | null;
|
|
2022
|
-
/**
|
|
2226
|
+
/**
|
|
2227
|
+
* The start color as a hexademical value.
|
|
2228
|
+
* @format COLOR_HEX
|
|
2229
|
+
*/
|
|
2023
2230
|
startColor?: string | null;
|
|
2024
|
-
/**
|
|
2231
|
+
/**
|
|
2232
|
+
* The end color as a hexademical value.
|
|
2233
|
+
* @format COLOR_HEX
|
|
2234
|
+
*/
|
|
2025
2235
|
lastColor?: string | null;
|
|
2026
2236
|
}
|
|
2027
2237
|
export interface Background extends BackgroundBackgroundOneOf {
|
|
2028
|
-
/**
|
|
2238
|
+
/**
|
|
2239
|
+
* The background color as a hexademical value.
|
|
2240
|
+
* @format COLOR_HEX
|
|
2241
|
+
*/
|
|
2029
2242
|
color?: string | null;
|
|
2030
2243
|
/** An image to use for the background. */
|
|
2031
2244
|
image?: Media;
|
|
@@ -2036,7 +2249,10 @@ export interface Background extends BackgroundBackgroundOneOf {
|
|
|
2036
2249
|
}
|
|
2037
2250
|
/** @oneof */
|
|
2038
2251
|
export interface BackgroundBackgroundOneOf {
|
|
2039
|
-
/**
|
|
2252
|
+
/**
|
|
2253
|
+
* The background color as a hexademical value.
|
|
2254
|
+
* @format COLOR_HEX
|
|
2255
|
+
*/
|
|
2040
2256
|
color?: string | null;
|
|
2041
2257
|
/** An image to use for the background. */
|
|
2042
2258
|
image?: Media;
|
|
@@ -2348,17 +2564,32 @@ export declare enum VerticalAlignment {
|
|
|
2348
2564
|
export interface CellStyle {
|
|
2349
2565
|
/** Vertical alignment for the cell's text. */
|
|
2350
2566
|
verticalAlignment?: VerticalAlignment;
|
|
2351
|
-
/**
|
|
2567
|
+
/**
|
|
2568
|
+
* Cell background color as a hexadecimal value.
|
|
2569
|
+
* @format COLOR_HEX
|
|
2570
|
+
*/
|
|
2352
2571
|
backgroundColor?: string | null;
|
|
2353
2572
|
}
|
|
2354
2573
|
export interface BorderColors {
|
|
2355
|
-
/**
|
|
2574
|
+
/**
|
|
2575
|
+
* Left border color as a hexadecimal value.
|
|
2576
|
+
* @format COLOR_HEX
|
|
2577
|
+
*/
|
|
2356
2578
|
left?: string | null;
|
|
2357
|
-
/**
|
|
2579
|
+
/**
|
|
2580
|
+
* Right border color as a hexadecimal value.
|
|
2581
|
+
* @format COLOR_HEX
|
|
2582
|
+
*/
|
|
2358
2583
|
right?: string | null;
|
|
2359
|
-
/**
|
|
2584
|
+
/**
|
|
2585
|
+
* Top border color as a hexadecimal value.
|
|
2586
|
+
* @format COLOR_HEX
|
|
2587
|
+
*/
|
|
2360
2588
|
top?: string | null;
|
|
2361
|
-
/**
|
|
2589
|
+
/**
|
|
2590
|
+
* Bottom border color as a hexadecimal value.
|
|
2591
|
+
* @format COLOR_HEX
|
|
2592
|
+
*/
|
|
2362
2593
|
bottom?: string | null;
|
|
2363
2594
|
}
|
|
2364
2595
|
/**
|
|
@@ -2467,7 +2698,10 @@ export interface TextNodeStyle {
|
|
|
2467
2698
|
lineHeight?: string | null;
|
|
2468
2699
|
}
|
|
2469
2700
|
export interface DiscardDraftRequest {
|
|
2470
|
-
/**
|
|
2701
|
+
/**
|
|
2702
|
+
* Event ID.
|
|
2703
|
+
* @format GUID
|
|
2704
|
+
*/
|
|
2471
2705
|
eventId: string;
|
|
2472
2706
|
}
|
|
2473
2707
|
export interface DiscardDraftResponse {
|
|
@@ -2545,9 +2779,15 @@ export interface ActionEvent {
|
|
|
2545
2779
|
bodyAsJson?: string;
|
|
2546
2780
|
}
|
|
2547
2781
|
export interface MessageEnvelope {
|
|
2548
|
-
/**
|
|
2782
|
+
/**
|
|
2783
|
+
* App instance ID.
|
|
2784
|
+
* @format GUID
|
|
2785
|
+
*/
|
|
2549
2786
|
instanceId?: string | null;
|
|
2550
|
-
/**
|
|
2787
|
+
/**
|
|
2788
|
+
* Event type.
|
|
2789
|
+
* @maxLength 150
|
|
2790
|
+
*/
|
|
2551
2791
|
eventType?: string;
|
|
2552
2792
|
/** The identification type and identity data. */
|
|
2553
2793
|
identity?: IdentificationData;
|
|
@@ -2555,26 +2795,50 @@ export interface MessageEnvelope {
|
|
|
2555
2795
|
data?: string;
|
|
2556
2796
|
}
|
|
2557
2797
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2558
|
-
/**
|
|
2798
|
+
/**
|
|
2799
|
+
* ID of a site visitor that has not logged in to the site.
|
|
2800
|
+
* @format GUID
|
|
2801
|
+
*/
|
|
2559
2802
|
anonymousVisitorId?: string;
|
|
2560
|
-
/**
|
|
2803
|
+
/**
|
|
2804
|
+
* ID of a site visitor that has logged in to the site.
|
|
2805
|
+
* @format GUID
|
|
2806
|
+
*/
|
|
2561
2807
|
memberId?: string;
|
|
2562
|
-
/**
|
|
2808
|
+
/**
|
|
2809
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
2810
|
+
* @format GUID
|
|
2811
|
+
*/
|
|
2563
2812
|
wixUserId?: string;
|
|
2564
|
-
/**
|
|
2813
|
+
/**
|
|
2814
|
+
* ID of an app.
|
|
2815
|
+
* @format GUID
|
|
2816
|
+
*/
|
|
2565
2817
|
appId?: string;
|
|
2566
2818
|
/** @readonly */
|
|
2567
2819
|
identityType?: WebhookIdentityType;
|
|
2568
2820
|
}
|
|
2569
2821
|
/** @oneof */
|
|
2570
2822
|
export interface IdentificationDataIdOneOf {
|
|
2571
|
-
/**
|
|
2823
|
+
/**
|
|
2824
|
+
* ID of a site visitor that has not logged in to the site.
|
|
2825
|
+
* @format GUID
|
|
2826
|
+
*/
|
|
2572
2827
|
anonymousVisitorId?: string;
|
|
2573
|
-
/**
|
|
2828
|
+
/**
|
|
2829
|
+
* ID of a site visitor that has logged in to the site.
|
|
2830
|
+
* @format GUID
|
|
2831
|
+
*/
|
|
2574
2832
|
memberId?: string;
|
|
2575
|
-
/**
|
|
2833
|
+
/**
|
|
2834
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
2835
|
+
* @format GUID
|
|
2836
|
+
*/
|
|
2576
2837
|
wixUserId?: string;
|
|
2577
|
-
/**
|
|
2838
|
+
/**
|
|
2839
|
+
* ID of an app.
|
|
2840
|
+
* @format GUID
|
|
2841
|
+
*/
|
|
2578
2842
|
appId?: string;
|
|
2579
2843
|
}
|
|
2580
2844
|
export declare enum WebhookIdentityType {
|