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