@wix/auto_sdk_forms_submissions 1.0.10 → 1.0.11

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 (49) hide show
  1. package/build/cjs/src/forms-v4-submission-submissions.context.d.ts +2 -2
  2. package/build/cjs/src/forms-v4-submission-submissions.context.js +32 -14
  3. package/build/cjs/src/forms-v4-submission-submissions.context.js.map +1 -1
  4. package/build/cjs/src/forms-v4-submission-submissions.public.d.ts +1 -1
  5. package/build/cjs/src/forms-v4-submission-submissions.public.js +21 -3
  6. package/build/cjs/src/forms-v4-submission-submissions.public.js.map +1 -1
  7. package/build/cjs/src/forms-v4-submission-submissions.types.d.ts +838 -170
  8. package/build/cjs/src/forms-v4-submission-submissions.types.js +257 -113
  9. package/build/cjs/src/forms-v4-submission-submissions.types.js.map +1 -1
  10. package/build/cjs/src/forms-v4-submission-submissions.universal.d.ts +838 -170
  11. package/build/cjs/src/forms-v4-submission-submissions.universal.js +258 -114
  12. package/build/cjs/src/forms-v4-submission-submissions.universal.js.map +1 -1
  13. package/build/es/src/forms-v4-submission-submissions.context.d.ts +2 -2
  14. package/build/es/src/forms-v4-submission-submissions.context.js +1 -1
  15. package/build/es/src/forms-v4-submission-submissions.context.js.map +1 -1
  16. package/build/es/src/forms-v4-submission-submissions.public.d.ts +1 -1
  17. package/build/es/src/forms-v4-submission-submissions.public.js +1 -1
  18. package/build/es/src/forms-v4-submission-submissions.public.js.map +1 -1
  19. package/build/es/src/forms-v4-submission-submissions.types.d.ts +838 -170
  20. package/build/es/src/forms-v4-submission-submissions.types.js +255 -111
  21. package/build/es/src/forms-v4-submission-submissions.types.js.map +1 -1
  22. package/build/es/src/forms-v4-submission-submissions.universal.d.ts +838 -170
  23. package/build/es/src/forms-v4-submission-submissions.universal.js +255 -111
  24. package/build/es/src/forms-v4-submission-submissions.universal.js.map +1 -1
  25. package/build/internal/cjs/src/forms-v4-submission-submissions.context.d.ts +2 -2
  26. package/build/internal/cjs/src/forms-v4-submission-submissions.context.js +32 -14
  27. package/build/internal/cjs/src/forms-v4-submission-submissions.context.js.map +1 -1
  28. package/build/internal/cjs/src/forms-v4-submission-submissions.public.d.ts +1 -1
  29. package/build/internal/cjs/src/forms-v4-submission-submissions.public.js +21 -3
  30. package/build/internal/cjs/src/forms-v4-submission-submissions.public.js.map +1 -1
  31. package/build/internal/cjs/src/forms-v4-submission-submissions.types.d.ts +838 -170
  32. package/build/internal/cjs/src/forms-v4-submission-submissions.types.js +257 -113
  33. package/build/internal/cjs/src/forms-v4-submission-submissions.types.js.map +1 -1
  34. package/build/internal/cjs/src/forms-v4-submission-submissions.universal.d.ts +838 -170
  35. package/build/internal/cjs/src/forms-v4-submission-submissions.universal.js +258 -114
  36. package/build/internal/cjs/src/forms-v4-submission-submissions.universal.js.map +1 -1
  37. package/build/internal/es/src/forms-v4-submission-submissions.context.d.ts +2 -2
  38. package/build/internal/es/src/forms-v4-submission-submissions.context.js +1 -1
  39. package/build/internal/es/src/forms-v4-submission-submissions.context.js.map +1 -1
  40. package/build/internal/es/src/forms-v4-submission-submissions.public.d.ts +1 -1
  41. package/build/internal/es/src/forms-v4-submission-submissions.public.js +1 -1
  42. package/build/internal/es/src/forms-v4-submission-submissions.public.js.map +1 -1
  43. package/build/internal/es/src/forms-v4-submission-submissions.types.d.ts +838 -170
  44. package/build/internal/es/src/forms-v4-submission-submissions.types.js +255 -111
  45. package/build/internal/es/src/forms-v4-submission-submissions.types.js.map +1 -1
  46. package/build/internal/es/src/forms-v4-submission-submissions.universal.d.ts +838 -170
  47. package/build/internal/es/src/forms-v4-submission-submissions.universal.js +255 -111
  48. package/build/internal/es/src/forms-v4-submission-submissions.universal.js.map +1 -1
  49. package/package.json +2 -2
@@ -274,9 +274,8 @@ export interface Form {
274
274
  /**
275
275
  * List of form fields that represent input elements.
276
276
  * @maxSize 500
277
- * @readonly
278
277
  */
279
- fieldsV2?: FormFieldV2[];
278
+ formFields?: Field[];
280
279
  /**
281
280
  * Defines the layout for form fields in each submission step.
282
281
  * @maxSize 100
@@ -408,17 +407,17 @@ export interface FormField {
408
407
  */
409
408
  readOnly?: boolean;
410
409
  }
411
- export interface StringType extends StringTypeFormatOptionsOneOf {
410
+ export interface FormFieldStringType extends FormFieldStringTypeFormatOptionsOneOf {
412
411
  /** DATE format options */
413
- dateOptions?: DateTimeConstraints;
412
+ dateOptions?: StringTypeDateTimeConstraints;
414
413
  /** DATE_TIME format options */
415
- dateTimeOptions?: DateTimeConstraints;
414
+ dateTimeOptions?: StringTypeDateTimeConstraints;
416
415
  /** TIME format options */
417
- timeOptions?: DateTimeConstraints;
416
+ timeOptions?: StringTypeDateTimeConstraints;
418
417
  /** DATE_OPTIONAL_TIME format options */
419
- dateOptionalTimeOptions?: DateTimeConstraints;
418
+ dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
420
419
  /** PHONE format options */
421
- phoneOptions?: PhoneConstraints;
420
+ phoneOptions?: StringTypePhoneConstraints;
422
421
  /**
423
422
  * Minimum length.
424
423
  * @max 20000
@@ -435,7 +434,7 @@ export interface StringType extends StringTypeFormatOptionsOneOf {
435
434
  */
436
435
  pattern?: string | null;
437
436
  /** Format of a string. */
438
- format?: FormatEnumFormat;
437
+ format?: StringTypeFormatEnumFormat;
439
438
  /** Custom error messages when validation fails. */
440
439
  errorMessages?: StringErrorMessages;
441
440
  /**
@@ -446,19 +445,19 @@ export interface StringType extends StringTypeFormatOptionsOneOf {
446
445
  enum?: string[] | null;
447
446
  }
448
447
  /** @oneof */
449
- export interface StringTypeFormatOptionsOneOf {
448
+ export interface FormFieldStringTypeFormatOptionsOneOf {
450
449
  /** DATE format options */
451
- dateOptions?: DateTimeConstraints;
450
+ dateOptions?: StringTypeDateTimeConstraints;
452
451
  /** DATE_TIME format options */
453
- dateTimeOptions?: DateTimeConstraints;
452
+ dateTimeOptions?: StringTypeDateTimeConstraints;
454
453
  /** TIME format options */
455
- timeOptions?: DateTimeConstraints;
454
+ timeOptions?: StringTypeDateTimeConstraints;
456
455
  /** DATE_OPTIONAL_TIME format options */
457
- dateOptionalTimeOptions?: DateTimeConstraints;
456
+ dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
458
457
  /** PHONE format options */
459
- phoneOptions?: PhoneConstraints;
458
+ phoneOptions?: StringTypePhoneConstraints;
460
459
  }
461
- export declare enum FormatEnumFormat {
460
+ export declare enum StringTypeFormatEnumFormat {
462
461
  UNDEFINED = "UNDEFINED",
463
462
  DATE = "DATE",
464
463
  TIME = "TIME",
@@ -481,7 +480,7 @@ export interface StringErrorMessages {
481
480
  */
482
481
  default?: string | null;
483
482
  }
484
- export interface DateTimeConstraints {
483
+ export interface StringTypeDateTimeConstraints {
485
484
  /**
486
485
  * Support static constrains defined as ISO date/time format, as well as
487
486
  * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
@@ -499,7 +498,7 @@ export interface DateTimeConstraints {
499
498
  */
500
499
  maximum?: string | null;
501
500
  }
502
- export interface PhoneConstraints {
501
+ export interface StringTypePhoneConstraints {
503
502
  /**
504
503
  * Country codes for phone number that are allowed
505
504
  * @maxSize 250
@@ -507,7 +506,7 @@ export interface PhoneConstraints {
507
506
  */
508
507
  allowedCountryCodes?: string[];
509
508
  }
510
- export interface NumberType {
509
+ export interface FormFieldNumberType {
511
510
  /** Inclusive maximum value. */
512
511
  maximum?: number | null;
513
512
  /** Inclusive minimum value. */
@@ -529,7 +528,7 @@ export interface NumberErrorMessages {
529
528
  */
530
529
  default?: string | null;
531
530
  }
532
- export interface IntegerType {
531
+ export interface FormFieldIntegerType {
533
532
  /** Minimum value. */
534
533
  maximum?: number | null;
535
534
  /** Maximum value. */
@@ -544,7 +543,7 @@ export interface IntegerType {
544
543
  */
545
544
  enum?: number[] | null;
546
545
  }
547
- export interface BooleanType {
546
+ export interface FormFieldBooleanType {
548
547
  /** Custom error message when validation fails. */
549
548
  errorMessages?: BooleanErrorMessages;
550
549
  /**
@@ -560,7 +559,7 @@ export interface BooleanErrorMessages {
560
559
  */
561
560
  default?: string | null;
562
561
  }
563
- export interface ArrayType {
562
+ export interface FormFieldArrayType {
564
563
  /**
565
564
  * Maximum amount of array elements.
566
565
  * @max 1000
@@ -572,42 +571,42 @@ export interface ArrayType {
572
571
  */
573
572
  minItems?: number | null;
574
573
  /** Type of items allowed in array. */
575
- items?: ArrayItems;
574
+ items?: ArrayTypeArrayItems;
576
575
  /** Custom error message when validation fails. */
577
576
  errorMessages?: ArrayErrorMessages;
578
577
  }
579
- export interface ObjectType {
578
+ export interface FormFieldObjectType {
580
579
  /** Description of object properties. */
581
- properties?: Record<string, PropertiesType>;
580
+ properties?: Record<string, ObjectTypePropertiesType>;
582
581
  /** Custom error message when validation fails. */
583
582
  errorMessages?: ObjectErrorMessages;
584
583
  }
585
- export interface PropertiesType extends PropertiesTypePropertiesTypeOneOf {
584
+ export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypePropertiesTypeOneOf {
586
585
  /** String type validation for property. */
587
- string?: StringType;
586
+ string?: FormFieldStringType;
588
587
  /** Number type validation for property. */
589
- number?: NumberType;
588
+ number?: FormFieldNumberType;
590
589
  /** Boolean type validation for property. */
591
- boolean?: BooleanType;
590
+ boolean?: FormFieldBooleanType;
592
591
  /** Integer type validation for property. */
593
- integer?: IntegerType;
592
+ integer?: FormFieldIntegerType;
594
593
  /** Array type validation for property. */
595
- array?: ArrayType;
594
+ array?: FormFieldArrayType;
596
595
  /** Whether the property is required. */
597
596
  required?: boolean;
598
597
  }
599
598
  /** @oneof */
600
- export interface PropertiesTypePropertiesTypeOneOf {
599
+ export interface ObjectTypePropertiesTypePropertiesTypeOneOf {
601
600
  /** String type validation for property. */
602
- string?: StringType;
601
+ string?: FormFieldStringType;
603
602
  /** Number type validation for property. */
604
- number?: NumberType;
603
+ number?: FormFieldNumberType;
605
604
  /** Boolean type validation for property. */
606
- boolean?: BooleanType;
605
+ boolean?: FormFieldBooleanType;
607
606
  /** Integer type validation for property. */
608
- integer?: IntegerType;
607
+ integer?: FormFieldIntegerType;
609
608
  /** Array type validation for property. */
610
- array?: ArrayType;
609
+ array?: FormFieldArrayType;
611
610
  }
612
611
  export interface ObjectErrorMessages {
613
612
  /**
@@ -616,30 +615,30 @@ export interface ObjectErrorMessages {
616
615
  */
617
616
  default?: string | null;
618
617
  }
619
- export interface ArrayItems extends ArrayItemsItemsOneOf {
618
+ export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemsOneOf {
620
619
  /** String type validation for items. */
621
- string?: StringType;
620
+ string?: FormFieldStringType;
622
621
  /** Number type validation for items. */
623
- number?: NumberType;
622
+ number?: FormFieldNumberType;
624
623
  /** Boolean type validation for items. */
625
- boolean?: BooleanType;
624
+ boolean?: FormFieldBooleanType;
626
625
  /** Integer type validation for items. */
627
- integer?: IntegerType;
626
+ integer?: FormFieldIntegerType;
628
627
  /** Object type validation for items */
629
- object?: ObjectType;
628
+ object?: FormFieldObjectType;
630
629
  }
631
630
  /** @oneof */
632
- export interface ArrayItemsItemsOneOf {
631
+ export interface ArrayTypeArrayItemsItemsOneOf {
633
632
  /** String type validation for items. */
634
- string?: StringType;
633
+ string?: FormFieldStringType;
635
634
  /** Number type validation for items. */
636
- number?: NumberType;
635
+ number?: FormFieldNumberType;
637
636
  /** Boolean type validation for items. */
638
- boolean?: BooleanType;
637
+ boolean?: FormFieldBooleanType;
639
638
  /** Integer type validation for items. */
640
- integer?: IntegerType;
639
+ integer?: FormFieldIntegerType;
641
640
  /** Object type validation for items */
642
- object?: ObjectType;
641
+ object?: FormFieldObjectType;
643
642
  }
644
643
  export interface ArrayErrorMessages {
645
644
  /**
@@ -806,17 +805,17 @@ export interface NestedFormFieldOverrides {
806
805
  }
807
806
  export interface Validation extends ValidationValidationOneOf {
808
807
  /** Validation of string type. */
809
- string?: StringType;
808
+ string?: FormFieldStringType;
810
809
  /** Validation of number type. */
811
- number?: NumberType;
810
+ number?: FormFieldNumberType;
812
811
  /** Validation of integer type. */
813
- integer?: IntegerType;
812
+ integer?: FormFieldIntegerType;
814
813
  /** Validation of boolean type. */
815
- boolean?: BooleanType;
814
+ boolean?: FormFieldBooleanType;
816
815
  /** Validation of array type. */
817
- array?: ArrayType;
816
+ array?: FormFieldArrayType;
818
817
  /** Validation of object type. */
819
- object?: ObjectType;
818
+ object?: FormFieldObjectType;
820
819
  /** Predefined validation of specific format */
821
820
  predefined?: PredefinedValidation;
822
821
  /** Whether the field is required. */
@@ -825,17 +824,17 @@ export interface Validation extends ValidationValidationOneOf {
825
824
  /** @oneof */
826
825
  export interface ValidationValidationOneOf {
827
826
  /** Validation of string type. */
828
- string?: StringType;
827
+ string?: FormFieldStringType;
829
828
  /** Validation of number type. */
830
- number?: NumberType;
829
+ number?: FormFieldNumberType;
831
830
  /** Validation of integer type. */
832
- integer?: IntegerType;
831
+ integer?: FormFieldIntegerType;
833
832
  /** Validation of boolean type. */
834
- boolean?: BooleanType;
833
+ boolean?: FormFieldBooleanType;
835
834
  /** Validation of array type. */
836
- array?: ArrayType;
835
+ array?: FormFieldArrayType;
837
836
  /** Validation of object type. */
838
- object?: ObjectType;
837
+ object?: FormFieldObjectType;
839
838
  /** Predefined validation of specific format */
840
839
  predefined?: PredefinedValidation;
841
840
  }
@@ -854,7 +853,7 @@ export interface NestedFormOverrides {
854
853
  }
855
854
  export interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
856
855
  /** Field accept input of data */
857
- inputOptions?: InputField;
856
+ inputOptions?: FormFieldV2InputField;
858
857
  /** Field for displaying information such as header or text paragraph */
859
858
  displayOptions?: DisplayField;
860
859
  /**
@@ -872,26 +871,26 @@ export interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
872
871
  * Type of the field
873
872
  * @readonly
874
873
  */
875
- fieldType?: FieldType;
874
+ fieldType?: FormFieldV2FieldType;
876
875
  }
877
876
  /** @oneof */
878
877
  export interface FormFieldV2FieldTypeOptionsOneOf {
879
878
  /** Field accept input of data */
880
- inputOptions?: InputField;
879
+ inputOptions?: FormFieldV2InputField;
881
880
  /** Field for displaying information such as header or text paragraph */
882
881
  displayOptions?: DisplayField;
883
882
  }
884
883
  export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsOneOf {
885
884
  /** DATE format options */
886
- dateOptions?: StringTypeDateTimeConstraints;
885
+ dateOptions?: InputFieldStringTypeDateTimeConstraints;
887
886
  /** DATE_TIME format options */
888
- dateTimeOptions?: StringTypeDateTimeConstraints;
887
+ dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
889
888
  /** TIME format options */
890
- timeOptions?: StringTypeDateTimeConstraints;
889
+ timeOptions?: InputFieldStringTypeDateTimeConstraints;
891
890
  /** DATE_OPTIONAL_TIME format options */
892
- dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
891
+ dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
893
892
  /** PHONE format options */
894
- phoneOptions?: StringTypePhoneConstraints;
893
+ phoneOptions?: InputFieldStringTypePhoneConstraints;
895
894
  /**
896
895
  * Minimum length.
897
896
  * @max 20000
@@ -908,7 +907,7 @@ export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsO
908
907
  */
909
908
  pattern?: string | null;
910
909
  /** Format of a string. */
911
- format?: StringTypeFormatEnumFormat;
910
+ format?: InputFieldStringTypeFormatEnumFormat;
912
911
  /** Custom error messages when validation fails. */
913
912
  errorMessages?: InputFieldStringErrorMessages;
914
913
  /**
@@ -921,17 +920,17 @@ export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsO
921
920
  /** @oneof */
922
921
  export interface InputFieldStringTypeFormatOptionsOneOf {
923
922
  /** DATE format options */
924
- dateOptions?: StringTypeDateTimeConstraints;
923
+ dateOptions?: InputFieldStringTypeDateTimeConstraints;
925
924
  /** DATE_TIME format options */
926
- dateTimeOptions?: StringTypeDateTimeConstraints;
925
+ dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
927
926
  /** TIME format options */
928
- timeOptions?: StringTypeDateTimeConstraints;
927
+ timeOptions?: InputFieldStringTypeDateTimeConstraints;
929
928
  /** DATE_OPTIONAL_TIME format options */
930
- dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
929
+ dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
931
930
  /** PHONE format options */
932
- phoneOptions?: StringTypePhoneConstraints;
931
+ phoneOptions?: InputFieldStringTypePhoneConstraints;
933
932
  }
934
- export declare enum StringTypeFormatEnumFormat {
933
+ export declare enum InputFieldStringTypeFormatEnumFormat {
935
934
  UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
936
935
  DATE = "DATE",
937
936
  TIME = "TIME",
@@ -954,7 +953,7 @@ export interface InputFieldStringErrorMessages {
954
953
  */
955
954
  default?: string | null;
956
955
  }
957
- export interface StringTypeDateTimeConstraints {
956
+ export interface InputFieldStringTypeDateTimeConstraints {
958
957
  /**
959
958
  * Support static constrains defined as ISO date/time format, as well as
960
959
  * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
@@ -972,7 +971,7 @@ export interface StringTypeDateTimeConstraints {
972
971
  */
973
972
  maximum?: string | null;
974
973
  }
975
- export interface StringTypePhoneConstraints {
974
+ export interface InputFieldStringTypePhoneConstraints {
976
975
  /**
977
976
  * Country codes for phone number that are allowed
978
977
  * @maxSize 250
@@ -980,7 +979,7 @@ export interface StringTypePhoneConstraints {
980
979
  */
981
980
  allowedCountryCodes?: string[];
982
981
  }
983
- export declare enum StringComponentType {
982
+ export declare enum InputFieldStringComponentType {
984
983
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
985
984
  TEXT_INPUT = "TEXT_INPUT",
986
985
  RADIO_GROUP = "RADIO_GROUP",
@@ -2626,7 +2625,7 @@ export interface InputFieldNumberErrorMessages {
2626
2625
  */
2627
2626
  default?: string | null;
2628
2627
  }
2629
- export declare enum NumberComponentType {
2628
+ export declare enum InputFieldNumberComponentType {
2630
2629
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2631
2630
  NUMBER_INPUT = "NUMBER_INPUT",
2632
2631
  RATING_INPUT = "RATING_INPUT"
@@ -2688,7 +2687,7 @@ export interface InputFieldBooleanErrorMessages {
2688
2687
  */
2689
2688
  default?: string | null;
2690
2689
  }
2691
- export declare enum BooleanComponentType {
2690
+ export declare enum InputFieldBooleanComponentType {
2692
2691
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2693
2692
  CHECKBOX = "CHECKBOX"
2694
2693
  }
@@ -2713,11 +2712,11 @@ export interface InputFieldArrayType {
2713
2712
  */
2714
2713
  minItems?: number | null;
2715
2714
  /** Type of items allowed in array. */
2716
- items?: ArrayTypeArrayItems;
2715
+ items?: InputFieldArrayTypeArrayItems;
2717
2716
  /** Custom error message when validation fails. */
2718
2717
  errorMessages?: InputFieldArrayErrorMessages;
2719
2718
  }
2720
- export declare enum ItemType {
2719
+ export declare enum ArrayItemsItemType {
2721
2720
  UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
2722
2721
  STRING = "STRING",
2723
2722
  NUMBER = "NUMBER",
@@ -2742,11 +2741,11 @@ export interface InputFieldIntegerType {
2742
2741
  }
2743
2742
  export interface InputFieldObjectType {
2744
2743
  /** Description of object properties. */
2745
- properties?: Record<string, ObjectTypePropertiesType>;
2744
+ properties?: Record<string, InputFieldObjectTypePropertiesType>;
2746
2745
  /** Custom error message when validation fails. */
2747
2746
  errorMessages?: InputFieldObjectErrorMessages;
2748
2747
  }
2749
- export declare enum PropertiesTypeEnum {
2748
+ export declare enum PropertiesTypePropertiesTypeEnum {
2750
2749
  UNKNOWN_PROPERTIES_TYPE = "UNKNOWN_PROPERTIES_TYPE",
2751
2750
  STRING = "STRING",
2752
2751
  NUMBER = "NUMBER",
@@ -2754,7 +2753,7 @@ export declare enum PropertiesTypeEnum {
2754
2753
  INTEGER = "INTEGER",
2755
2754
  ARRAY = "ARRAY"
2756
2755
  }
2757
- export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2756
+ export interface InputFieldObjectTypePropertiesType extends InputFieldObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2758
2757
  /** String type validation for property. */
2759
2758
  stringOptions?: InputFieldStringType;
2760
2759
  /** Number type validation for property. */
@@ -2769,12 +2768,12 @@ export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypeProper
2769
2768
  * Type of object properties
2770
2769
  * @readonly
2771
2770
  */
2772
- propertiesType?: PropertiesTypeEnum;
2771
+ propertiesType?: PropertiesTypePropertiesTypeEnum;
2773
2772
  /** Whether the property is required. */
2774
2773
  required?: boolean;
2775
2774
  }
2776
2775
  /** @oneof */
2777
- export interface ObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2776
+ export interface InputFieldObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2778
2777
  /** String type validation for property. */
2779
2778
  stringOptions?: InputFieldStringType;
2780
2779
  /** Number type validation for property. */
@@ -2793,7 +2792,7 @@ export interface InputFieldObjectErrorMessages {
2793
2792
  */
2794
2793
  default?: string | null;
2795
2794
  }
2796
- export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemTypeOptionsOneOf {
2795
+ export interface InputFieldArrayTypeArrayItems extends InputFieldArrayTypeArrayItemsItemTypeOptionsOneOf {
2797
2796
  /** String type validation for items. */
2798
2797
  stringOptions?: InputFieldStringType;
2799
2798
  /** Number type validation for items. */
@@ -2808,10 +2807,10 @@ export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemTypeOptionsO
2808
2807
  * Type of array items
2809
2808
  * @readonly
2810
2809
  */
2811
- itemType?: ItemType;
2810
+ itemType?: ArrayItemsItemType;
2812
2811
  }
2813
2812
  /** @oneof */
2814
- export interface ArrayTypeArrayItemsItemTypeOptionsOneOf {
2813
+ export interface InputFieldArrayTypeArrayItemsItemTypeOptionsOneOf {
2815
2814
  /** String type validation for items. */
2816
2815
  stringOptions?: InputFieldStringType;
2817
2816
  /** Number type validation for items. */
@@ -2830,7 +2829,7 @@ export interface InputFieldArrayErrorMessages {
2830
2829
  */
2831
2830
  default?: string | null;
2832
2831
  }
2833
- export declare enum ComponentType {
2832
+ export declare enum ArrayComponentType {
2834
2833
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2835
2834
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
2836
2835
  TAGS = "TAGS"
@@ -2991,7 +2990,7 @@ export interface CommonCustomOption {
2991
2990
  */
2992
2991
  placeholder?: string | null;
2993
2992
  }
2994
- export declare enum WixFileComponentType {
2993
+ export declare enum InputFieldWixFileComponentType {
2995
2994
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2996
2995
  FILE_UPLOAD = "FILE_UPLOAD",
2997
2996
  SIGNATURE = "SIGNATURE"
@@ -3061,7 +3060,7 @@ export interface Signature {
3061
3060
  /** Is image upload enabled */
3062
3061
  imageUploadEnabled?: boolean;
3063
3062
  }
3064
- export declare enum PaymentComponentType {
3063
+ export declare enum InputFieldPaymentComponentType {
3065
3064
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3066
3065
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
3067
3066
  DONATION_INPUT = "DONATION_INPUT",
@@ -3289,7 +3288,7 @@ export interface PhoneOptions {
3289
3288
  */
3290
3289
  description?: string | null;
3291
3290
  }
3292
- export declare enum MultilineAddressComponentType {
3291
+ export declare enum InputFieldMultilineAddressComponentType {
3293
3292
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3294
3293
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
3295
3294
  }
@@ -3343,7 +3342,7 @@ export interface FieldsSettings {
3343
3342
  /** Address line 2. */
3344
3343
  addressLine2?: AddressLine2;
3345
3344
  }
3346
- export declare enum InputType {
3345
+ export declare enum InputFieldInputType {
3347
3346
  UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
3348
3347
  STRING = "STRING",
3349
3348
  NUMBER = "NUMBER",
@@ -3355,42 +3354,42 @@ export declare enum InputType {
3355
3354
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS",
3356
3355
  SCHEDULING = "SCHEDULING"
3357
3356
  }
3358
- export interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
3357
+ export interface V4FormFieldContactInfo extends V4FormFieldContactInfoAdditionalInfoOneOf {
3359
3358
  /** Email info. */
3360
- emailInfo?: EmailInfo;
3359
+ emailInfo?: FormFieldContactInfoEmailInfo;
3361
3360
  /** Phone info. */
3362
- phoneInfo?: PhoneInfo;
3361
+ phoneInfo?: FormFieldContactInfoPhoneInfo;
3363
3362
  /** Address info. */
3364
- addressInfo?: AddressInfo;
3363
+ addressInfo?: FormFieldContactInfoAddressInfo;
3365
3364
  /** Custom field info. */
3366
- customFieldInfo?: CustomFieldInfo;
3365
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
3367
3366
  /** Subscription info */
3368
- subscriptionInfo?: SubscriptionInfo;
3367
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
3369
3368
  /** Field mapped to contacts. */
3370
- contactField?: ContactField;
3369
+ contactField?: FormFieldContactInfoContactField;
3371
3370
  }
3372
3371
  /** @oneof */
3373
- export interface FormFieldContactInfoAdditionalInfoOneOf {
3372
+ export interface V4FormFieldContactInfoAdditionalInfoOneOf {
3374
3373
  /** Email info. */
3375
- emailInfo?: EmailInfo;
3374
+ emailInfo?: FormFieldContactInfoEmailInfo;
3376
3375
  /** Phone info. */
3377
- phoneInfo?: PhoneInfo;
3376
+ phoneInfo?: FormFieldContactInfoPhoneInfo;
3378
3377
  /** Address info. */
3379
- addressInfo?: AddressInfo;
3378
+ addressInfo?: FormFieldContactInfoAddressInfo;
3380
3379
  /** Custom field info. */
3381
- customFieldInfo?: CustomFieldInfo;
3380
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
3382
3381
  /** Subscription info */
3383
- subscriptionInfo?: SubscriptionInfo;
3382
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
3384
3383
  }
3385
- export declare enum EmailInfoTag {
3384
+ export declare enum FormFieldContactInfoEmailInfoTag {
3386
3385
  UNTAGGED = "UNTAGGED",
3387
3386
  MAIN = "MAIN"
3388
3387
  }
3389
- export declare enum PhoneInfoTag {
3388
+ export declare enum FormFieldContactInfoPhoneInfoTag {
3390
3389
  UNTAGGED = "UNTAGGED",
3391
3390
  MAIN = "MAIN"
3392
3391
  }
3393
- export declare enum Tag {
3392
+ export declare enum AddressInfoTag {
3394
3393
  UNTAGGED = "UNTAGGED",
3395
3394
  HOME = "HOME"
3396
3395
  }
@@ -3399,7 +3398,7 @@ export declare enum SubscriptionInfoOptInLevel {
3399
3398
  SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
3400
3399
  DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
3401
3400
  }
3402
- export declare enum ContactField {
3401
+ export declare enum FormFieldContactInfoContactField {
3403
3402
  UNDEFINED = "UNDEFINED",
3404
3403
  FIRST_NAME = "FIRST_NAME",
3405
3404
  LAST_NAME = "LAST_NAME",
@@ -3413,19 +3412,19 @@ export declare enum ContactField {
3413
3412
  SUBSCRIPTION = "SUBSCRIPTION",
3414
3413
  VAT_ID = "VAT_ID"
3415
3414
  }
3416
- export interface EmailInfo {
3415
+ export interface FormFieldContactInfoEmailInfo {
3417
3416
  /** Email tag. */
3418
- tag?: EmailInfoTag;
3417
+ tag?: FormFieldContactInfoEmailInfoTag;
3419
3418
  }
3420
- export interface PhoneInfo {
3419
+ export interface FormFieldContactInfoPhoneInfo {
3421
3420
  /** Phone tag. */
3422
- tag?: PhoneInfoTag;
3421
+ tag?: FormFieldContactInfoPhoneInfoTag;
3423
3422
  }
3424
- export interface AddressInfo {
3423
+ export interface FormFieldContactInfoAddressInfo {
3425
3424
  /** Address tag. */
3426
- tag?: Tag;
3425
+ tag?: AddressInfoTag;
3427
3426
  }
3428
- export interface CustomFieldInfo {
3427
+ export interface FormFieldContactInfoCustomFieldInfo {
3429
3428
  /**
3430
3429
  * Custom field key.
3431
3430
  * @minLength 1
@@ -3433,14 +3432,14 @@ export interface CustomFieldInfo {
3433
3432
  */
3434
3433
  key?: string;
3435
3434
  }
3436
- export interface SubscriptionInfo {
3435
+ export interface FormFieldContactInfoSubscriptionInfo {
3437
3436
  /**
3438
3437
  * Subscription consent opt in level, either single or double confirmation.
3439
3438
  * Default: SINGLE_CONFIRMATION
3440
3439
  */
3441
3440
  optInLevel?: SubscriptionInfoOptInLevel;
3442
3441
  }
3443
- export interface _String extends _StringComponentTypeOptionsOneOf {
3442
+ export interface InputField_String extends InputField_StringComponentTypeOptionsOneOf {
3444
3443
  /** Text input field */
3445
3444
  textInputOptions?: TextInput;
3446
3445
  /** Selection field as radio group */
@@ -3463,10 +3462,10 @@ export interface _String extends _StringComponentTypeOptionsOneOf {
3463
3462
  * Component type of the string input field
3464
3463
  * @readonly
3465
3464
  */
3466
- componentType?: StringComponentType;
3465
+ componentType?: InputFieldStringComponentType;
3467
3466
  }
3468
3467
  /** @oneof */
3469
- export interface _StringComponentTypeOptionsOneOf {
3468
+ export interface InputField_StringComponentTypeOptionsOneOf {
3470
3469
  /** Text input field */
3471
3470
  textInputOptions?: TextInput;
3472
3471
  /** Selection field as radio group */
@@ -3484,7 +3483,7 @@ export interface _StringComponentTypeOptionsOneOf {
3484
3483
  /** Calendar type component for selecting date */
3485
3484
  datePickerOptions?: DatePicker;
3486
3485
  }
3487
- export interface _Number extends _NumberComponentTypeOptionsOneOf {
3486
+ export interface InputField_Number extends InputField_NumberComponentTypeOptionsOneOf {
3488
3487
  /** Number value input field */
3489
3488
  numberInputOptions?: NumberInput;
3490
3489
  /** Rating value input field */
@@ -3495,16 +3494,16 @@ export interface _Number extends _NumberComponentTypeOptionsOneOf {
3495
3494
  * Component type of the number input field
3496
3495
  * @readonly
3497
3496
  */
3498
- componentType?: NumberComponentType;
3497
+ componentType?: InputFieldNumberComponentType;
3499
3498
  }
3500
3499
  /** @oneof */
3501
- export interface _NumberComponentTypeOptionsOneOf {
3500
+ export interface InputField_NumberComponentTypeOptionsOneOf {
3502
3501
  /** Number value input field */
3503
3502
  numberInputOptions?: NumberInput;
3504
3503
  /** Rating value input field */
3505
3504
  ratingInputOptions?: RatingInput;
3506
3505
  }
3507
- export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3506
+ export interface InputField_Boolean extends InputField_BooleanComponentTypeOptionsOneOf {
3508
3507
  /** Checkbox input field */
3509
3508
  checkboxOptions?: Checkbox;
3510
3509
  /** Validation of field output value. */
@@ -3513,14 +3512,14 @@ export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3513
3512
  * Component type of the boolean input field
3514
3513
  * @readonly
3515
3514
  */
3516
- componentType?: BooleanComponentType;
3515
+ componentType?: InputFieldBooleanComponentType;
3517
3516
  }
3518
3517
  /** @oneof */
3519
- export interface _BooleanComponentTypeOptionsOneOf {
3518
+ export interface InputField_BooleanComponentTypeOptionsOneOf {
3520
3519
  /** Checkbox input field */
3521
3520
  checkboxOptions?: Checkbox;
3522
3521
  }
3523
- export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3522
+ export interface InputField_Array extends InputField_ArrayComponentTypeOptionsOneOf {
3524
3523
  /** Checkbox group input field */
3525
3524
  checkboxGroupOptions?: CheckboxGroup;
3526
3525
  /** Tags input field */
@@ -3531,25 +3530,25 @@ export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3531
3530
  * Component type of the array input field
3532
3531
  * @readonly
3533
3532
  */
3534
- componentType?: ComponentType;
3533
+ componentType?: ArrayComponentType;
3535
3534
  }
3536
3535
  /** @oneof */
3537
- export interface _ArrayComponentTypeOptionsOneOf {
3536
+ export interface InputField_ArrayComponentTypeOptionsOneOf {
3538
3537
  /** Checkbox group input field */
3539
3538
  checkboxGroupOptions?: CheckboxGroup;
3540
3539
  /** Tags input field */
3541
3540
  tagsOptions?: Tags;
3542
3541
  }
3543
- export interface _Object extends _ObjectValidationOneOf {
3542
+ export interface InputField_Object extends InputField_ObjectValidationOneOf {
3544
3543
  /** Validation of object type. */
3545
3544
  object?: InputFieldObjectType;
3546
3545
  }
3547
3546
  /** @oneof */
3548
- export interface _ObjectValidationOneOf {
3547
+ export interface InputField_ObjectValidationOneOf {
3549
3548
  /** Validation of object type. */
3550
3549
  object?: InputFieldObjectType;
3551
3550
  }
3552
- export interface WixFile extends WixFileComponentTypeOptionsOneOf {
3551
+ export interface InputFieldWixFile extends InputFieldWixFileComponentTypeOptionsOneOf {
3553
3552
  /** File upload input field */
3554
3553
  fileUploadOptions?: FileUpload;
3555
3554
  /** Signature input field */
@@ -3558,16 +3557,16 @@ export interface WixFile extends WixFileComponentTypeOptionsOneOf {
3558
3557
  * Component type of the array input field
3559
3558
  * @readonly
3560
3559
  */
3561
- componentType?: WixFileComponentType;
3560
+ componentType?: InputFieldWixFileComponentType;
3562
3561
  }
3563
3562
  /** @oneof */
3564
- export interface WixFileComponentTypeOptionsOneOf {
3563
+ export interface InputFieldWixFileComponentTypeOptionsOneOf {
3565
3564
  /** File upload input field */
3566
3565
  fileUploadOptions?: FileUpload;
3567
3566
  /** Signature input field */
3568
3567
  signatureOptions?: Signature;
3569
3568
  }
3570
- export interface Payment extends PaymentComponentTypeOptionsOneOf {
3569
+ export interface InputFieldPayment extends InputFieldPaymentComponentTypeOptionsOneOf {
3571
3570
  /** Checkbox group input field. */
3572
3571
  checkboxGroupOptions?: ProductCheckboxGroup;
3573
3572
  /** Donation input field. */
@@ -3580,12 +3579,12 @@ export interface Payment extends PaymentComponentTypeOptionsOneOf {
3580
3579
  * Component type of the payment input field.
3581
3580
  * @readonly
3582
3581
  */
3583
- componentType?: PaymentComponentType;
3582
+ componentType?: InputFieldPaymentComponentType;
3584
3583
  /** Validation of payment type. */
3585
3584
  validation?: PaymentType;
3586
3585
  }
3587
3586
  /** @oneof */
3588
- export interface PaymentComponentTypeOptionsOneOf {
3587
+ export interface InputFieldPaymentComponentTypeOptionsOneOf {
3589
3588
  /** Checkbox group input field. */
3590
3589
  checkboxGroupOptions?: ProductCheckboxGroup;
3591
3590
  /** Donation input field. */
@@ -3595,19 +3594,19 @@ export interface PaymentComponentTypeOptionsOneOf {
3595
3594
  /** Fixed payment field. */
3596
3595
  fixedPaymentOptions?: FixedPayment;
3597
3596
  }
3598
- export interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
3597
+ export interface FormFieldV2InputFieldMultilineAddress extends FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
3599
3598
  /** Multiline address input field. */
3600
3599
  multilineAddressOptions?: MultilineAddress;
3601
3600
  /**
3602
3601
  * Component type of the multiline address field.
3603
3602
  * @readonly
3604
3603
  */
3605
- componentType?: MultilineAddressComponentType;
3604
+ componentType?: InputFieldMultilineAddressComponentType;
3606
3605
  /** Validation of multiline address field output value. */
3607
3606
  validation?: MultilineAddressValidation;
3608
3607
  }
3609
3608
  /** @oneof */
3610
- export interface InputFieldMultilineAddressComponentTypeOptionsOneOf {
3609
+ export interface FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
3611
3610
  /** Multiline address input field. */
3612
3611
  multilineAddressOptions?: MultilineAddress;
3613
3612
  }
@@ -3625,28 +3624,28 @@ export interface SchedulingComponentTypeOptionsOneOf {
3625
3624
  /** Appointment input field */
3626
3625
  appointmentOptions?: Appointment;
3627
3626
  }
3628
- export declare enum FieldType {
3627
+ export declare enum FormFieldV2FieldType {
3629
3628
  UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3630
3629
  INPUT = "INPUT",
3631
3630
  DISPLAY = "DISPLAY"
3632
3631
  }
3633
- export interface InputField extends InputFieldInputTypeOptionsOneOf {
3632
+ export interface FormFieldV2InputField extends FormFieldV2InputFieldInputTypeOptionsOneOf {
3634
3633
  /** Input return string as value */
3635
- stringOptions?: _String;
3634
+ stringOptions?: InputField_String;
3636
3635
  /** Input return number as value */
3637
- numberOptions?: _Number;
3636
+ numberOptions?: InputField_Number;
3638
3637
  /** Input return boolean as value */
3639
- booleanOptions?: _Boolean;
3638
+ booleanOptions?: InputField_Boolean;
3640
3639
  /** Input return array as value */
3641
- arrayOptions?: _Array;
3640
+ arrayOptions?: InputField_Array;
3642
3641
  /** Input return object as value */
3643
- objectOptions?: _Object;
3642
+ objectOptions?: InputField_Object;
3644
3643
  /** Input return "Wix file" as value */
3645
- wixFileOptions?: WixFile;
3644
+ wixFileOptions?: InputFieldWixFile;
3646
3645
  /** Input returns selected products as value. */
3647
- paymentOptions?: Payment;
3646
+ paymentOptions?: InputFieldPayment;
3648
3647
  /** Input returns multiline address as value. */
3649
- multilineAddressOptions?: InputFieldMultilineAddress;
3648
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
3650
3649
  /** Input returns scheduling as value. */
3651
3650
  schedulingOptions?: Scheduling;
3652
3651
  /**
@@ -3670,9 +3669,9 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3670
3669
  * Type of the input field
3671
3670
  * @readonly
3672
3671
  */
3673
- inputType?: InputType;
3672
+ inputType?: InputFieldInputType;
3674
3673
  /** Mapping to contacts, telling to what contact property field input value should be saved. */
3675
- contactMapping?: FormFieldContactInfo;
3674
+ contactMapping?: V4FormFieldContactInfo;
3676
3675
  /**
3677
3676
  * Whether the field is read only.
3678
3677
  * Default: false
@@ -3680,47 +3679,716 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3680
3679
  readOnly?: boolean;
3681
3680
  }
3682
3681
  /** @oneof */
3683
- export interface InputFieldInputTypeOptionsOneOf {
3682
+ export interface FormFieldV2InputFieldInputTypeOptionsOneOf {
3684
3683
  /** Input return string as value */
3685
- stringOptions?: _String;
3684
+ stringOptions?: InputField_String;
3686
3685
  /** Input return number as value */
3687
- numberOptions?: _Number;
3686
+ numberOptions?: InputField_Number;
3688
3687
  /** Input return boolean as value */
3689
- booleanOptions?: _Boolean;
3688
+ booleanOptions?: InputField_Boolean;
3690
3689
  /** Input return array as value */
3691
- arrayOptions?: _Array;
3690
+ arrayOptions?: InputField_Array;
3692
3691
  /** Input return object as value */
3693
- objectOptions?: _Object;
3692
+ objectOptions?: InputField_Object;
3694
3693
  /** Input return "Wix file" as value */
3695
- wixFileOptions?: WixFile;
3694
+ wixFileOptions?: InputFieldWixFile;
3696
3695
  /** Input returns selected products as value. */
3697
- paymentOptions?: Payment;
3696
+ paymentOptions?: InputFieldPayment;
3698
3697
  /** Input returns multiline address as value. */
3699
- multilineAddressOptions?: InputFieldMultilineAddress;
3698
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
3700
3699
  /** Input returns scheduling as value. */
3701
3700
  schedulingOptions?: Scheduling;
3702
3701
  }
3703
3702
  /** Copy of the entity existing in form template project, needed to hide translations. */
3704
3703
  export interface DisplayField extends DisplayFieldDisplayFieldTypeOptionsOneOf {
3705
3704
  /** Component displaying rich content */
3706
- richContentOptions?: RichContentOptions;
3705
+ richContentOptions?: V4RichContentOptions;
3707
3706
  /** Page navigation component resolving as navigation or submit buttons */
3708
- pageNavigationOptions?: PageNavigationOptions;
3707
+ pageNavigationOptions?: V4PageNavigationOptions;
3709
3708
  /** Type of the display field */
3710
3709
  displayFieldType?: DisplayFieldType;
3711
3710
  }
3712
3711
  /** @oneof */
3713
3712
  export interface DisplayFieldDisplayFieldTypeOptionsOneOf {
3714
3713
  /** Component displaying rich content */
3715
- richContentOptions?: RichContentOptions;
3714
+ richContentOptions?: V4RichContentOptions;
3716
3715
  /** Page navigation component resolving as navigation or submit buttons */
3717
- pageNavigationOptions?: PageNavigationOptions;
3716
+ pageNavigationOptions?: V4PageNavigationOptions;
3718
3717
  }
3719
3718
  export declare enum DisplayFieldType {
3720
3719
  UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3721
3720
  RICH_CONTENT = "RICH_CONTENT",
3722
3721
  PAGE_NAVIGATION = "PAGE_NAVIGATION"
3723
3722
  }
3723
+ export interface V4RichContentOptions {
3724
+ /** Content of the header */
3725
+ richContent?: RichContent;
3726
+ }
3727
+ export interface V4PageNavigationOptions {
3728
+ /**
3729
+ * When button is not on last page it behaves as switch between pages page, text of label to go to next page.
3730
+ * @maxLength 65
3731
+ */
3732
+ nextPageText?: string | null;
3733
+ /**
3734
+ * When button is not on last page it behaves as switch between pages page, text of label to go to previous page.
3735
+ * @maxLength 65
3736
+ */
3737
+ previousPageText?: string | null;
3738
+ /**
3739
+ * Text on the button when button is submitting a form
3740
+ * @maxLength 65
3741
+ */
3742
+ submitText?: string | null;
3743
+ }
3744
+ export interface Field extends FieldFieldTypeOptionsOneOf {
3745
+ /** Field accept input of data */
3746
+ inputOptions?: InputField;
3747
+ /** Field for displaying information such as header or text paragraph */
3748
+ displayOptions?: FieldsDisplayField;
3749
+ /**
3750
+ * Field id.
3751
+ * @format GUID
3752
+ * @immutable
3753
+ */
3754
+ id?: string;
3755
+ /**
3756
+ * Whether the field is hidden.
3757
+ * Default: false
3758
+ */
3759
+ hidden?: boolean;
3760
+ /**
3761
+ * Custom identification of field, can be used to specify exceptional behaviour of client for specific field
3762
+ * @maxLength 50
3763
+ */
3764
+ identifier?: string | null;
3765
+ /**
3766
+ * Type of the field
3767
+ * @readonly
3768
+ */
3769
+ fieldType?: FieldType;
3770
+ }
3771
+ /** @oneof */
3772
+ export interface FieldFieldTypeOptionsOneOf {
3773
+ /** Field accept input of data */
3774
+ inputOptions?: InputField;
3775
+ /** Field for displaying information such as header or text paragraph */
3776
+ displayOptions?: FieldsDisplayField;
3777
+ }
3778
+ export declare enum FieldType {
3779
+ UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3780
+ INPUT = "INPUT",
3781
+ DISPLAY = "DISPLAY"
3782
+ }
3783
+ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3784
+ /** Input return string as value */
3785
+ stringOptions?: _String;
3786
+ /** Input return number as value */
3787
+ numberOptions?: _Number;
3788
+ /** Input return boolean as value */
3789
+ booleanOptions?: _Boolean;
3790
+ /** Input return array as value */
3791
+ arrayOptions?: _Array;
3792
+ /** Input return object as value */
3793
+ objectOptions?: _Object;
3794
+ /** Input return "Wix file" as value */
3795
+ wixFileOptions?: WixFile;
3796
+ /** Input returns selected products as value. */
3797
+ paymentOptions?: Payment;
3798
+ /** Input returns multiline address as value. */
3799
+ multilineAddressOptions?: InputFieldMultilineAddress;
3800
+ /**
3801
+ * Definition of a target where the value of field belongs.
3802
+ * @minLength 1
3803
+ * @maxLength 200
3804
+ * @immutable
3805
+ */
3806
+ target?: string;
3807
+ /**
3808
+ * Mark the field as containing personal information. This will encrypt user data when storing it.
3809
+ * Default: false
3810
+ */
3811
+ pii?: boolean;
3812
+ /**
3813
+ * Whether the field is required.
3814
+ * Default: false
3815
+ */
3816
+ required?: boolean;
3817
+ /**
3818
+ * Type of the input field
3819
+ * @readonly
3820
+ */
3821
+ inputType?: InputType;
3822
+ /** Mapping to contacts, telling to what contact property field input value should be saved. */
3823
+ contactMapping?: FormFieldContactInfo;
3824
+ /**
3825
+ * Whether the field is read only.
3826
+ * Default: false
3827
+ */
3828
+ readOnly?: boolean;
3829
+ }
3830
+ /** @oneof */
3831
+ export interface InputFieldInputTypeOptionsOneOf {
3832
+ /** Input return string as value */
3833
+ stringOptions?: _String;
3834
+ /** Input return number as value */
3835
+ numberOptions?: _Number;
3836
+ /** Input return boolean as value */
3837
+ booleanOptions?: _Boolean;
3838
+ /** Input return array as value */
3839
+ arrayOptions?: _Array;
3840
+ /** Input return object as value */
3841
+ objectOptions?: _Object;
3842
+ /** Input return "Wix file" as value */
3843
+ wixFileOptions?: WixFile;
3844
+ /** Input returns selected products as value. */
3845
+ paymentOptions?: Payment;
3846
+ /** Input returns multiline address as value. */
3847
+ multilineAddressOptions?: InputFieldMultilineAddress;
3848
+ }
3849
+ export interface StringType extends StringTypeFormatOptionsOneOf {
3850
+ /** DATE format options */
3851
+ dateOptions?: DateTimeConstraints;
3852
+ /** DATE_TIME format options */
3853
+ dateTimeOptions?: DateTimeConstraints;
3854
+ /** TIME format options */
3855
+ timeOptions?: DateTimeConstraints;
3856
+ /** DATE_OPTIONAL_TIME format options */
3857
+ dateOptionalTimeOptions?: DateTimeConstraints;
3858
+ /** PHONE format options */
3859
+ phoneOptions?: PhoneConstraints;
3860
+ /**
3861
+ * Minimum length.
3862
+ * @max 20000
3863
+ */
3864
+ minLength?: number | null;
3865
+ /**
3866
+ * Maximum length.
3867
+ * @max 20000
3868
+ */
3869
+ maxLength?: number | null;
3870
+ /**
3871
+ * Pattern for a regular expression match.
3872
+ * @maxLength 500
3873
+ */
3874
+ pattern?: string | null;
3875
+ /** Format of a string. */
3876
+ format?: FormatEnumFormat;
3877
+ /**
3878
+ * List of allowed values.
3879
+ * @maxSize 500
3880
+ * @maxLength 20000
3881
+ */
3882
+ enum?: string[] | null;
3883
+ }
3884
+ /** @oneof */
3885
+ export interface StringTypeFormatOptionsOneOf {
3886
+ /** DATE format options */
3887
+ dateOptions?: DateTimeConstraints;
3888
+ /** DATE_TIME format options */
3889
+ dateTimeOptions?: DateTimeConstraints;
3890
+ /** TIME format options */
3891
+ timeOptions?: DateTimeConstraints;
3892
+ /** DATE_OPTIONAL_TIME format options */
3893
+ dateOptionalTimeOptions?: DateTimeConstraints;
3894
+ /** PHONE format options */
3895
+ phoneOptions?: PhoneConstraints;
3896
+ }
3897
+ export declare enum FormatEnumFormat {
3898
+ UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
3899
+ DATE = "DATE",
3900
+ TIME = "TIME",
3901
+ DATE_TIME = "DATE_TIME",
3902
+ EMAIL = "EMAIL",
3903
+ URL = "URL",
3904
+ UUID = "UUID",
3905
+ PHONE = "PHONE",
3906
+ URI = "URI",
3907
+ HOSTNAME = "HOSTNAME",
3908
+ COLOR_HEX = "COLOR_HEX",
3909
+ CURRENCY = "CURRENCY",
3910
+ LANGUAGE = "LANGUAGE",
3911
+ DATE_OPTIONAL_TIME = "DATE_OPTIONAL_TIME"
3912
+ }
3913
+ export interface DateTimeConstraints {
3914
+ /**
3915
+ * Support static constrains defined as ISO date/time format, as well as
3916
+ * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
3917
+ * The dynamic calculation supports expressions like "$now+2d" (2 days in the future), "$now-1h" (1 hour in the past), etc.
3918
+ * The regex pattern for dynamic calculations is: \$now([+-]\d{1,2})([yMdmh])
3919
+ * @maxLength 50
3920
+ */
3921
+ minimum?: string | null;
3922
+ /**
3923
+ * Support static constrains defined as ISO date/time format, as well as
3924
+ * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
3925
+ * The dynamic calculation supports expressions like "$now+2d" (2 days in the future), "$now-1h" (1 hour in the past), etc.
3926
+ * The regex pattern for dynamic calculations is: \$now([+-]\d{1,2})([yMdmh])
3927
+ * @maxLength 50
3928
+ */
3929
+ maximum?: string | null;
3930
+ }
3931
+ export interface PhoneConstraints {
3932
+ /**
3933
+ * Country codes for phone number that are allowed
3934
+ * @maxSize 250
3935
+ * @maxLength 2
3936
+ */
3937
+ allowedCountryCodes?: string[];
3938
+ }
3939
+ export declare enum StringComponentType {
3940
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3941
+ TEXT_INPUT = "TEXT_INPUT",
3942
+ RADIO_GROUP = "RADIO_GROUP",
3943
+ DROPDOWN = "DROPDOWN",
3944
+ DATE_TIME = "DATE_TIME",
3945
+ PHONE_INPUT = "PHONE_INPUT",
3946
+ DATE_INPUT = "DATE_INPUT",
3947
+ TIME_INPUT = "TIME_INPUT",
3948
+ DATE_PICKER = "DATE_PICKER"
3949
+ }
3950
+ export interface NumberType {
3951
+ /** Inclusive maximum value. */
3952
+ maximum?: number | null;
3953
+ /** Inclusive minimum value. */
3954
+ minimum?: number | null;
3955
+ /** Multiple of value. */
3956
+ multipleOf?: number | null;
3957
+ /**
3958
+ * List of allowed values.
3959
+ * @maxSize 500
3960
+ */
3961
+ enum?: number[] | null;
3962
+ }
3963
+ export declare enum NumberComponentType {
3964
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3965
+ NUMBER_INPUT = "NUMBER_INPUT",
3966
+ RATING_INPUT = "RATING_INPUT"
3967
+ }
3968
+ export interface BooleanType {
3969
+ /**
3970
+ * List of allowed values.
3971
+ * @maxSize 2
3972
+ */
3973
+ enum?: boolean[];
3974
+ }
3975
+ export declare enum BooleanComponentType {
3976
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3977
+ CHECKBOX = "CHECKBOX"
3978
+ }
3979
+ export interface ArrayType {
3980
+ /**
3981
+ * Maximum amount of array elements.
3982
+ * @max 1000
3983
+ */
3984
+ maxItems?: number | null;
3985
+ /**
3986
+ * Minimum amount of array elements.
3987
+ * @max 1000
3988
+ */
3989
+ minItems?: number | null;
3990
+ /** Type of items allowed in array. */
3991
+ items?: ArrayItems;
3992
+ }
3993
+ export declare enum ItemType {
3994
+ UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
3995
+ STRING = "STRING",
3996
+ NUMBER = "NUMBER",
3997
+ BOOLEAN = "BOOLEAN",
3998
+ INTEGER = "INTEGER",
3999
+ OBJECT = "OBJECT"
4000
+ }
4001
+ export interface IntegerType {
4002
+ /** Maximum value. */
4003
+ maximum?: number | null;
4004
+ /** Minimum value. */
4005
+ minimum?: number | null;
4006
+ /** Multiple of value. */
4007
+ multipleOf?: number | null;
4008
+ /**
4009
+ * List of allowed values.
4010
+ * @maxSize 500
4011
+ */
4012
+ enum?: number[] | null;
4013
+ }
4014
+ export interface ObjectType {
4015
+ /** Description of object properties. */
4016
+ properties?: Record<string, PropertiesType>;
4017
+ }
4018
+ export declare enum PropertiesTypeEnum {
4019
+ UNKNOWN_PROPERTY_TYPE = "UNKNOWN_PROPERTY_TYPE",
4020
+ STRING = "STRING",
4021
+ NUMBER = "NUMBER",
4022
+ BOOLEAN = "BOOLEAN",
4023
+ INTEGER = "INTEGER",
4024
+ ARRAY = "ARRAY"
4025
+ }
4026
+ export interface PropertiesType extends PropertiesTypePropertiesTypeOptionsOneOf {
4027
+ /** String type validation for property. */
4028
+ stringOptions?: StringType;
4029
+ /** Number type validation for property. */
4030
+ numberOptions?: NumberType;
4031
+ /** Boolean type validation for property. */
4032
+ booleanOptions?: BooleanType;
4033
+ /** Integer type validation for property. */
4034
+ integerOptions?: IntegerType;
4035
+ /** Array type validation for property. */
4036
+ arrayOptions?: ArrayType;
4037
+ /**
4038
+ * Type of object properties
4039
+ * @readonly
4040
+ */
4041
+ propertiesType?: PropertiesTypeEnum;
4042
+ /** Whether the property is required. */
4043
+ required?: boolean;
4044
+ }
4045
+ /** @oneof */
4046
+ export interface PropertiesTypePropertiesTypeOptionsOneOf {
4047
+ /** String type validation for property. */
4048
+ stringOptions?: StringType;
4049
+ /** Number type validation for property. */
4050
+ numberOptions?: NumberType;
4051
+ /** Boolean type validation for property. */
4052
+ booleanOptions?: BooleanType;
4053
+ /** Integer type validation for property. */
4054
+ integerOptions?: IntegerType;
4055
+ /** Array type validation for property. */
4056
+ arrayOptions?: ArrayType;
4057
+ }
4058
+ export interface ArrayItems extends ArrayItemsItemTypeOptionsOneOf {
4059
+ /** String type validation for items. */
4060
+ stringOptions?: StringType;
4061
+ /** Number type validation for items. */
4062
+ numberOptions?: NumberType;
4063
+ /** Boolean type validation for items. */
4064
+ booleanOptions?: BooleanType;
4065
+ /** Integer type validation for items. */
4066
+ integerOptions?: IntegerType;
4067
+ /** Object type validation for items */
4068
+ objectOptions?: ObjectType;
4069
+ /**
4070
+ * Type of array items
4071
+ * @readonly
4072
+ */
4073
+ itemType?: ItemType;
4074
+ }
4075
+ /** @oneof */
4076
+ export interface ArrayItemsItemTypeOptionsOneOf {
4077
+ /** String type validation for items. */
4078
+ stringOptions?: StringType;
4079
+ /** Number type validation for items. */
4080
+ numberOptions?: NumberType;
4081
+ /** Boolean type validation for items. */
4082
+ booleanOptions?: BooleanType;
4083
+ /** Integer type validation for items. */
4084
+ integerOptions?: IntegerType;
4085
+ /** Object type validation for items */
4086
+ objectOptions?: ObjectType;
4087
+ }
4088
+ export declare enum ComponentType {
4089
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
4090
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
4091
+ TAGS = "TAGS"
4092
+ }
4093
+ export declare enum WixFileComponentType {
4094
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
4095
+ FILE_UPLOAD = "FILE_UPLOAD",
4096
+ SIGNATURE = "SIGNATURE"
4097
+ }
4098
+ export declare enum PaymentComponentType {
4099
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
4100
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
4101
+ DONATION_INPUT = "DONATION_INPUT",
4102
+ PAYMENT_INPUT = "PAYMENT_INPUT",
4103
+ FIXED_PAYMENT = "FIXED_PAYMENT"
4104
+ }
4105
+ export declare enum MultilineAddressComponentType {
4106
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
4107
+ MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
4108
+ }
4109
+ export declare enum InputType {
4110
+ UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
4111
+ STRING = "STRING",
4112
+ NUMBER = "NUMBER",
4113
+ BOOLEAN = "BOOLEAN",
4114
+ ARRAY = "ARRAY",
4115
+ OBJECT = "OBJECT",
4116
+ WIX_FILE = "WIX_FILE",
4117
+ PAYMENT = "PAYMENT",
4118
+ MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
4119
+ }
4120
+ export interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
4121
+ /** Email info. */
4122
+ emailInfo?: EmailInfo;
4123
+ /** Phone info. */
4124
+ phoneInfo?: PhoneInfo;
4125
+ /** Address info. */
4126
+ addressInfo?: AddressInfo;
4127
+ /** Custom field info. */
4128
+ customFieldInfo?: CustomFieldInfo;
4129
+ /** Subscription info */
4130
+ subscriptionInfo?: SubscriptionInfo;
4131
+ /** Field mapped to contacts. */
4132
+ contactField?: ContactField;
4133
+ }
4134
+ /** @oneof */
4135
+ export interface FormFieldContactInfoAdditionalInfoOneOf {
4136
+ /** Email info. */
4137
+ emailInfo?: EmailInfo;
4138
+ /** Phone info. */
4139
+ phoneInfo?: PhoneInfo;
4140
+ /** Address info. */
4141
+ addressInfo?: AddressInfo;
4142
+ /** Custom field info. */
4143
+ customFieldInfo?: CustomFieldInfo;
4144
+ /** Subscription info */
4145
+ subscriptionInfo?: SubscriptionInfo;
4146
+ }
4147
+ export declare enum EmailInfoTag {
4148
+ UNTAGGED = "UNTAGGED",
4149
+ MAIN = "MAIN"
4150
+ }
4151
+ export declare enum PhoneInfoTag {
4152
+ UNTAGGED = "UNTAGGED",
4153
+ MAIN = "MAIN"
4154
+ }
4155
+ export declare enum Tag {
4156
+ UNTAGGED = "UNTAGGED",
4157
+ HOME = "HOME"
4158
+ }
4159
+ export declare enum ConfirmationLevel {
4160
+ UNKNOWN_CONFIRMATION_LEVEL = "UNKNOWN_CONFIRMATION_LEVEL",
4161
+ SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
4162
+ DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
4163
+ }
4164
+ export declare enum ContactField {
4165
+ UNKNOWN_CONTACT_FIELD = "UNKNOWN_CONTACT_FIELD",
4166
+ FIRST_NAME = "FIRST_NAME",
4167
+ LAST_NAME = "LAST_NAME",
4168
+ COMPANY = "COMPANY",
4169
+ POSITION = "POSITION",
4170
+ EMAIL = "EMAIL",
4171
+ PHONE = "PHONE",
4172
+ ADDRESS = "ADDRESS",
4173
+ BIRTHDATE = "BIRTHDATE",
4174
+ CUSTOM_FIELD = "CUSTOM_FIELD",
4175
+ SUBSCRIPTION = "SUBSCRIPTION",
4176
+ VAT_ID = "VAT_ID"
4177
+ }
4178
+ export interface EmailInfo {
4179
+ /** Email tag. */
4180
+ tag?: EmailInfoTag;
4181
+ }
4182
+ export interface PhoneInfo {
4183
+ /** Phone tag. */
4184
+ tag?: PhoneInfoTag;
4185
+ }
4186
+ export interface AddressInfo {
4187
+ /** Address tag. */
4188
+ tag?: Tag;
4189
+ }
4190
+ export interface CustomFieldInfo {
4191
+ /**
4192
+ * Custom field key.
4193
+ * @minLength 1
4194
+ * @maxLength 500
4195
+ */
4196
+ key?: string;
4197
+ }
4198
+ export interface SubscriptionInfo {
4199
+ /**
4200
+ * Subscription consent opt in level, either single or double confirmation.
4201
+ * Default: SINGLE_CONFIRMATION
4202
+ */
4203
+ confirmationLevel?: ConfirmationLevel;
4204
+ }
4205
+ export interface _String extends _StringComponentTypeOptionsOneOf {
4206
+ /** Text input field */
4207
+ textInputOptions?: TextInput;
4208
+ /** Selection field as radio group */
4209
+ radioGroupOptions?: RadioGroup;
4210
+ /** Selection field as drop down */
4211
+ dropdownOptions?: Dropdown;
4212
+ /** Field for selecting date and time */
4213
+ dateTimeOptions?: DateTimeInput;
4214
+ /** Phone input field */
4215
+ phoneInputOptions?: PhoneInput;
4216
+ /** Dropdown based component for selecting date */
4217
+ dateInputOptions?: DateInput;
4218
+ /** Field for selecting time */
4219
+ timeInputOptions?: TimeInput;
4220
+ /** Calendar type component for selecting date */
4221
+ datePickerOptions?: DatePicker;
4222
+ /** Validation of field output value. */
4223
+ validation?: StringType;
4224
+ /**
4225
+ * Component type of the string input field
4226
+ * @readonly
4227
+ */
4228
+ componentType?: StringComponentType;
4229
+ }
4230
+ /** @oneof */
4231
+ export interface _StringComponentTypeOptionsOneOf {
4232
+ /** Text input field */
4233
+ textInputOptions?: TextInput;
4234
+ /** Selection field as radio group */
4235
+ radioGroupOptions?: RadioGroup;
4236
+ /** Selection field as drop down */
4237
+ dropdownOptions?: Dropdown;
4238
+ /** Field for selecting date and time */
4239
+ dateTimeOptions?: DateTimeInput;
4240
+ /** Phone input field */
4241
+ phoneInputOptions?: PhoneInput;
4242
+ /** Dropdown based component for selecting date */
4243
+ dateInputOptions?: DateInput;
4244
+ /** Field for selecting time */
4245
+ timeInputOptions?: TimeInput;
4246
+ /** Calendar type component for selecting date */
4247
+ datePickerOptions?: DatePicker;
4248
+ }
4249
+ export interface _Number extends _NumberComponentTypeOptionsOneOf {
4250
+ /** Number value input field */
4251
+ numberInputOptions?: NumberInput;
4252
+ /** Rating value input field */
4253
+ ratingInputOptions?: RatingInput;
4254
+ /** Validation of field output value. */
4255
+ validation?: NumberType;
4256
+ /**
4257
+ * Component type of the number input field
4258
+ * @readonly
4259
+ */
4260
+ componentType?: NumberComponentType;
4261
+ }
4262
+ /** @oneof */
4263
+ export interface _NumberComponentTypeOptionsOneOf {
4264
+ /** Number value input field */
4265
+ numberInputOptions?: NumberInput;
4266
+ /** Rating value input field */
4267
+ ratingInputOptions?: RatingInput;
4268
+ }
4269
+ export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
4270
+ /** Checkbox input field */
4271
+ checkboxOptions?: Checkbox;
4272
+ /** Validation of field output value. */
4273
+ validation?: BooleanType;
4274
+ /**
4275
+ * Component type of the boolean input field
4276
+ * @readonly
4277
+ */
4278
+ componentType?: BooleanComponentType;
4279
+ }
4280
+ /** @oneof */
4281
+ export interface _BooleanComponentTypeOptionsOneOf {
4282
+ /** Checkbox input field */
4283
+ checkboxOptions?: Checkbox;
4284
+ }
4285
+ export interface _Array extends _ArrayComponentTypeOptionsOneOf {
4286
+ /** Checkbox group input field */
4287
+ checkboxGroupOptions?: CheckboxGroup;
4288
+ /** Tags input field */
4289
+ tagsOptions?: Tags;
4290
+ /** Validation of array type. */
4291
+ validation?: ArrayType;
4292
+ /**
4293
+ * Component type of the array input field
4294
+ * @readonly
4295
+ */
4296
+ componentType?: ComponentType;
4297
+ }
4298
+ /** @oneof */
4299
+ export interface _ArrayComponentTypeOptionsOneOf {
4300
+ /** Checkbox group input field */
4301
+ checkboxGroupOptions?: CheckboxGroup;
4302
+ /** Tags input field */
4303
+ tagsOptions?: Tags;
4304
+ }
4305
+ export interface _Object {
4306
+ /** Validation of object type. */
4307
+ validation?: ObjectType;
4308
+ }
4309
+ export interface WixFile extends WixFileComponentTypeOptionsOneOf {
4310
+ /** File upload input field */
4311
+ fileUploadOptions?: FileUpload;
4312
+ /** Signature input field */
4313
+ signatureOptions?: Signature;
4314
+ /**
4315
+ * Component type of the array input field
4316
+ * @readonly
4317
+ */
4318
+ componentType?: WixFileComponentType;
4319
+ }
4320
+ /** @oneof */
4321
+ export interface WixFileComponentTypeOptionsOneOf {
4322
+ /** File upload input field */
4323
+ fileUploadOptions?: FileUpload;
4324
+ /** Signature input field */
4325
+ signatureOptions?: Signature;
4326
+ }
4327
+ export interface Payment extends PaymentComponentTypeOptionsOneOf {
4328
+ /** Checkbox group input field. */
4329
+ checkboxGroupOptions?: ProductCheckboxGroup;
4330
+ /** Donation input field. */
4331
+ donationInputOptions?: DonationInput;
4332
+ /** Payment input field. */
4333
+ paymentInputOptions?: PaymentInput;
4334
+ /** Fixed payment field. */
4335
+ fixedPaymentOptions?: FixedPayment;
4336
+ /**
4337
+ * Component type of the payment input field.
4338
+ * @readonly
4339
+ */
4340
+ componentType?: PaymentComponentType;
4341
+ /** Validation of payment type. */
4342
+ validation?: PaymentType;
4343
+ }
4344
+ /** @oneof */
4345
+ export interface PaymentComponentTypeOptionsOneOf {
4346
+ /** Checkbox group input field. */
4347
+ checkboxGroupOptions?: ProductCheckboxGroup;
4348
+ /** Donation input field. */
4349
+ donationInputOptions?: DonationInput;
4350
+ /** Payment input field. */
4351
+ paymentInputOptions?: PaymentInput;
4352
+ /** Fixed payment field. */
4353
+ fixedPaymentOptions?: FixedPayment;
4354
+ }
4355
+ export interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
4356
+ /** Multiline address input field. */
4357
+ multilineAddressOptions?: MultilineAddress;
4358
+ /**
4359
+ * Component type of the multiline address field.
4360
+ * @readonly
4361
+ */
4362
+ componentType?: MultilineAddressComponentType;
4363
+ /** Validation of multiline address field output value. */
4364
+ validation?: MultilineAddressValidation;
4365
+ }
4366
+ /** @oneof */
4367
+ export interface InputFieldMultilineAddressComponentTypeOptionsOneOf {
4368
+ /** Multiline address input field. */
4369
+ multilineAddressOptions?: MultilineAddress;
4370
+ }
4371
+ export interface FieldsDisplayField extends FieldsDisplayFieldDisplayFieldTypeOptionsOneOf {
4372
+ /** Component displaying rich content */
4373
+ richContentOptions?: RichContentOptions;
4374
+ /** Page navigation component resolving as navigation or submit buttons */
4375
+ pageNavigationOptions?: PageNavigationOptions;
4376
+ /** Type of the display field */
4377
+ displayFieldType?: DisplayFieldDisplayFieldType;
4378
+ }
4379
+ /** @oneof */
4380
+ export interface FieldsDisplayFieldDisplayFieldTypeOptionsOneOf {
4381
+ /** Component displaying rich content */
4382
+ richContentOptions?: RichContentOptions;
4383
+ /** Page navigation component resolving as navigation or submit buttons */
4384
+ pageNavigationOptions?: PageNavigationOptions;
4385
+ }
4386
+ export declare enum DisplayFieldDisplayFieldType {
4387
+ UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
4388
+ RICH_CONTENT = "RICH_CONTENT",
4389
+ PAGE_NAVIGATION = "PAGE_NAVIGATION",
4390
+ LOGIN_BAR = "LOGIN_BAR"
4391
+ }
3724
4392
  export interface RichContentOptions {
3725
4393
  /** Content of the header */
3726
4394
  richContent?: RichContent;
@@ -3925,7 +4593,7 @@ export interface UpsertContact {
3925
4593
  * Fields mapping (target field mapped to corresponding contact field).
3926
4594
  * @maxSize 250
3927
4595
  */
3928
- fieldsMapping?: Record<string, FormFieldContactInfo>;
4596
+ fieldsMapping?: Record<string, V4FormFieldContactInfo>;
3929
4597
  /**
3930
4598
  * List of contact label keys.
3931
4599
  * [Contact labels](https://support.wix.com/en/article/adding-labels-to-contacts-in-your-contact-list)