@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"
@@ -2958,7 +2957,7 @@ export interface CommonCustomOption {
2958
2957
  */
2959
2958
  placeholder?: string | null;
2960
2959
  }
2961
- export declare enum WixFileComponentType {
2960
+ export declare enum InputFieldWixFileComponentType {
2962
2961
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2963
2962
  FILE_UPLOAD = "FILE_UPLOAD",
2964
2963
  SIGNATURE = "SIGNATURE"
@@ -3028,7 +3027,7 @@ export interface Signature {
3028
3027
  /** Is image upload enabled */
3029
3028
  imageUploadEnabled?: boolean;
3030
3029
  }
3031
- export declare enum PaymentComponentType {
3030
+ export declare enum InputFieldPaymentComponentType {
3032
3031
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3033
3032
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
3034
3033
  DONATION_INPUT = "DONATION_INPUT",
@@ -3256,7 +3255,7 @@ export interface PhoneOptions {
3256
3255
  */
3257
3256
  description?: string | null;
3258
3257
  }
3259
- export declare enum MultilineAddressComponentType {
3258
+ export declare enum InputFieldMultilineAddressComponentType {
3260
3259
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3261
3260
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
3262
3261
  }
@@ -3310,7 +3309,7 @@ export interface FieldsSettings {
3310
3309
  /** Address line 2. */
3311
3310
  addressLine2?: AddressLine2;
3312
3311
  }
3313
- export declare enum InputType {
3312
+ export declare enum InputFieldInputType {
3314
3313
  UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
3315
3314
  STRING = "STRING",
3316
3315
  NUMBER = "NUMBER",
@@ -3322,42 +3321,42 @@ export declare enum InputType {
3322
3321
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS",
3323
3322
  SCHEDULING = "SCHEDULING"
3324
3323
  }
3325
- export interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
3324
+ export interface V4FormFieldContactInfo extends V4FormFieldContactInfoAdditionalInfoOneOf {
3326
3325
  /** Email info. */
3327
- emailInfo?: EmailInfo;
3326
+ emailInfo?: FormFieldContactInfoEmailInfo;
3328
3327
  /** Phone info. */
3329
- phoneInfo?: PhoneInfo;
3328
+ phoneInfo?: FormFieldContactInfoPhoneInfo;
3330
3329
  /** Address info. */
3331
- addressInfo?: AddressInfo;
3330
+ addressInfo?: FormFieldContactInfoAddressInfo;
3332
3331
  /** Custom field info. */
3333
- customFieldInfo?: CustomFieldInfo;
3332
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
3334
3333
  /** Subscription info */
3335
- subscriptionInfo?: SubscriptionInfo;
3334
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
3336
3335
  /** Field mapped to contacts. */
3337
- contactField?: ContactField;
3336
+ contactField?: FormFieldContactInfoContactField;
3338
3337
  }
3339
3338
  /** @oneof */
3340
- export interface FormFieldContactInfoAdditionalInfoOneOf {
3339
+ export interface V4FormFieldContactInfoAdditionalInfoOneOf {
3341
3340
  /** Email info. */
3342
- emailInfo?: EmailInfo;
3341
+ emailInfo?: FormFieldContactInfoEmailInfo;
3343
3342
  /** Phone info. */
3344
- phoneInfo?: PhoneInfo;
3343
+ phoneInfo?: FormFieldContactInfoPhoneInfo;
3345
3344
  /** Address info. */
3346
- addressInfo?: AddressInfo;
3345
+ addressInfo?: FormFieldContactInfoAddressInfo;
3347
3346
  /** Custom field info. */
3348
- customFieldInfo?: CustomFieldInfo;
3347
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
3349
3348
  /** Subscription info */
3350
- subscriptionInfo?: SubscriptionInfo;
3349
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
3351
3350
  }
3352
- export declare enum EmailInfoTag {
3351
+ export declare enum FormFieldContactInfoEmailInfoTag {
3353
3352
  UNTAGGED = "UNTAGGED",
3354
3353
  MAIN = "MAIN"
3355
3354
  }
3356
- export declare enum PhoneInfoTag {
3355
+ export declare enum FormFieldContactInfoPhoneInfoTag {
3357
3356
  UNTAGGED = "UNTAGGED",
3358
3357
  MAIN = "MAIN"
3359
3358
  }
3360
- export declare enum Tag {
3359
+ export declare enum AddressInfoTag {
3361
3360
  UNTAGGED = "UNTAGGED",
3362
3361
  HOME = "HOME"
3363
3362
  }
@@ -3366,7 +3365,7 @@ export declare enum SubscriptionInfoOptInLevel {
3366
3365
  SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
3367
3366
  DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
3368
3367
  }
3369
- export declare enum ContactField {
3368
+ export declare enum FormFieldContactInfoContactField {
3370
3369
  UNDEFINED = "UNDEFINED",
3371
3370
  FIRST_NAME = "FIRST_NAME",
3372
3371
  LAST_NAME = "LAST_NAME",
@@ -3380,19 +3379,19 @@ export declare enum ContactField {
3380
3379
  SUBSCRIPTION = "SUBSCRIPTION",
3381
3380
  VAT_ID = "VAT_ID"
3382
3381
  }
3383
- export interface EmailInfo {
3382
+ export interface FormFieldContactInfoEmailInfo {
3384
3383
  /** Email tag. */
3385
- tag?: EmailInfoTag;
3384
+ tag?: FormFieldContactInfoEmailInfoTag;
3386
3385
  }
3387
- export interface PhoneInfo {
3386
+ export interface FormFieldContactInfoPhoneInfo {
3388
3387
  /** Phone tag. */
3389
- tag?: PhoneInfoTag;
3388
+ tag?: FormFieldContactInfoPhoneInfoTag;
3390
3389
  }
3391
- export interface AddressInfo {
3390
+ export interface FormFieldContactInfoAddressInfo {
3392
3391
  /** Address tag. */
3393
- tag?: Tag;
3392
+ tag?: AddressInfoTag;
3394
3393
  }
3395
- export interface CustomFieldInfo {
3394
+ export interface FormFieldContactInfoCustomFieldInfo {
3396
3395
  /**
3397
3396
  * Custom field key.
3398
3397
  * @minLength 1
@@ -3400,14 +3399,14 @@ export interface CustomFieldInfo {
3400
3399
  */
3401
3400
  key?: string;
3402
3401
  }
3403
- export interface SubscriptionInfo {
3402
+ export interface FormFieldContactInfoSubscriptionInfo {
3404
3403
  /**
3405
3404
  * Subscription consent opt in level, either single or double confirmation.
3406
3405
  * Default: SINGLE_CONFIRMATION
3407
3406
  */
3408
3407
  optInLevel?: SubscriptionInfoOptInLevel;
3409
3408
  }
3410
- export interface _String extends _StringComponentTypeOptionsOneOf {
3409
+ export interface InputField_String extends InputField_StringComponentTypeOptionsOneOf {
3411
3410
  /** Text input field */
3412
3411
  textInputOptions?: TextInput;
3413
3412
  /** Selection field as radio group */
@@ -3430,10 +3429,10 @@ export interface _String extends _StringComponentTypeOptionsOneOf {
3430
3429
  * Component type of the string input field
3431
3430
  * @readonly
3432
3431
  */
3433
- componentType?: StringComponentType;
3432
+ componentType?: InputFieldStringComponentType;
3434
3433
  }
3435
3434
  /** @oneof */
3436
- export interface _StringComponentTypeOptionsOneOf {
3435
+ export interface InputField_StringComponentTypeOptionsOneOf {
3437
3436
  /** Text input field */
3438
3437
  textInputOptions?: TextInput;
3439
3438
  /** Selection field as radio group */
@@ -3451,7 +3450,7 @@ export interface _StringComponentTypeOptionsOneOf {
3451
3450
  /** Calendar type component for selecting date */
3452
3451
  datePickerOptions?: DatePicker;
3453
3452
  }
3454
- export interface _Number extends _NumberComponentTypeOptionsOneOf {
3453
+ export interface InputField_Number extends InputField_NumberComponentTypeOptionsOneOf {
3455
3454
  /** Number value input field */
3456
3455
  numberInputOptions?: NumberInput;
3457
3456
  /** Rating value input field */
@@ -3462,16 +3461,16 @@ export interface _Number extends _NumberComponentTypeOptionsOneOf {
3462
3461
  * Component type of the number input field
3463
3462
  * @readonly
3464
3463
  */
3465
- componentType?: NumberComponentType;
3464
+ componentType?: InputFieldNumberComponentType;
3466
3465
  }
3467
3466
  /** @oneof */
3468
- export interface _NumberComponentTypeOptionsOneOf {
3467
+ export interface InputField_NumberComponentTypeOptionsOneOf {
3469
3468
  /** Number value input field */
3470
3469
  numberInputOptions?: NumberInput;
3471
3470
  /** Rating value input field */
3472
3471
  ratingInputOptions?: RatingInput;
3473
3472
  }
3474
- export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3473
+ export interface InputField_Boolean extends InputField_BooleanComponentTypeOptionsOneOf {
3475
3474
  /** Checkbox input field */
3476
3475
  checkboxOptions?: Checkbox;
3477
3476
  /** Validation of field output value. */
@@ -3480,14 +3479,14 @@ export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3480
3479
  * Component type of the boolean input field
3481
3480
  * @readonly
3482
3481
  */
3483
- componentType?: BooleanComponentType;
3482
+ componentType?: InputFieldBooleanComponentType;
3484
3483
  }
3485
3484
  /** @oneof */
3486
- export interface _BooleanComponentTypeOptionsOneOf {
3485
+ export interface InputField_BooleanComponentTypeOptionsOneOf {
3487
3486
  /** Checkbox input field */
3488
3487
  checkboxOptions?: Checkbox;
3489
3488
  }
3490
- export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3489
+ export interface InputField_Array extends InputField_ArrayComponentTypeOptionsOneOf {
3491
3490
  /** Checkbox group input field */
3492
3491
  checkboxGroupOptions?: CheckboxGroup;
3493
3492
  /** Tags input field */
@@ -3498,25 +3497,25 @@ export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3498
3497
  * Component type of the array input field
3499
3498
  * @readonly
3500
3499
  */
3501
- componentType?: ComponentType;
3500
+ componentType?: ArrayComponentType;
3502
3501
  }
3503
3502
  /** @oneof */
3504
- export interface _ArrayComponentTypeOptionsOneOf {
3503
+ export interface InputField_ArrayComponentTypeOptionsOneOf {
3505
3504
  /** Checkbox group input field */
3506
3505
  checkboxGroupOptions?: CheckboxGroup;
3507
3506
  /** Tags input field */
3508
3507
  tagsOptions?: Tags;
3509
3508
  }
3510
- export interface _Object extends _ObjectValidationOneOf {
3509
+ export interface InputField_Object extends InputField_ObjectValidationOneOf {
3511
3510
  /** Validation of object type. */
3512
3511
  object?: InputFieldObjectType;
3513
3512
  }
3514
3513
  /** @oneof */
3515
- export interface _ObjectValidationOneOf {
3514
+ export interface InputField_ObjectValidationOneOf {
3516
3515
  /** Validation of object type. */
3517
3516
  object?: InputFieldObjectType;
3518
3517
  }
3519
- export interface WixFile extends WixFileComponentTypeOptionsOneOf {
3518
+ export interface InputFieldWixFile extends InputFieldWixFileComponentTypeOptionsOneOf {
3520
3519
  /** File upload input field */
3521
3520
  fileUploadOptions?: FileUpload;
3522
3521
  /** Signature input field */
@@ -3525,16 +3524,16 @@ export interface WixFile extends WixFileComponentTypeOptionsOneOf {
3525
3524
  * Component type of the array input field
3526
3525
  * @readonly
3527
3526
  */
3528
- componentType?: WixFileComponentType;
3527
+ componentType?: InputFieldWixFileComponentType;
3529
3528
  }
3530
3529
  /** @oneof */
3531
- export interface WixFileComponentTypeOptionsOneOf {
3530
+ export interface InputFieldWixFileComponentTypeOptionsOneOf {
3532
3531
  /** File upload input field */
3533
3532
  fileUploadOptions?: FileUpload;
3534
3533
  /** Signature input field */
3535
3534
  signatureOptions?: Signature;
3536
3535
  }
3537
- export interface Payment extends PaymentComponentTypeOptionsOneOf {
3536
+ export interface InputFieldPayment extends InputFieldPaymentComponentTypeOptionsOneOf {
3538
3537
  /** Checkbox group input field. */
3539
3538
  checkboxGroupOptions?: ProductCheckboxGroup;
3540
3539
  /** Donation input field. */
@@ -3547,12 +3546,12 @@ export interface Payment extends PaymentComponentTypeOptionsOneOf {
3547
3546
  * Component type of the payment input field.
3548
3547
  * @readonly
3549
3548
  */
3550
- componentType?: PaymentComponentType;
3549
+ componentType?: InputFieldPaymentComponentType;
3551
3550
  /** Validation of payment type. */
3552
3551
  validation?: PaymentType;
3553
3552
  }
3554
3553
  /** @oneof */
3555
- export interface PaymentComponentTypeOptionsOneOf {
3554
+ export interface InputFieldPaymentComponentTypeOptionsOneOf {
3556
3555
  /** Checkbox group input field. */
3557
3556
  checkboxGroupOptions?: ProductCheckboxGroup;
3558
3557
  /** Donation input field. */
@@ -3562,19 +3561,19 @@ export interface PaymentComponentTypeOptionsOneOf {
3562
3561
  /** Fixed payment field. */
3563
3562
  fixedPaymentOptions?: FixedPayment;
3564
3563
  }
3565
- export interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
3564
+ export interface FormFieldV2InputFieldMultilineAddress extends FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
3566
3565
  /** Multiline address input field. */
3567
3566
  multilineAddressOptions?: MultilineAddress;
3568
3567
  /**
3569
3568
  * Component type of the multiline address field.
3570
3569
  * @readonly
3571
3570
  */
3572
- componentType?: MultilineAddressComponentType;
3571
+ componentType?: InputFieldMultilineAddressComponentType;
3573
3572
  /** Validation of multiline address field output value. */
3574
3573
  validation?: MultilineAddressValidation;
3575
3574
  }
3576
3575
  /** @oneof */
3577
- export interface InputFieldMultilineAddressComponentTypeOptionsOneOf {
3576
+ export interface FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
3578
3577
  /** Multiline address input field. */
3579
3578
  multilineAddressOptions?: MultilineAddress;
3580
3579
  }
@@ -3592,28 +3591,28 @@ export interface SchedulingComponentTypeOptionsOneOf {
3592
3591
  /** Appointment input field */
3593
3592
  appointmentOptions?: Appointment;
3594
3593
  }
3595
- export declare enum FieldType {
3594
+ export declare enum FormFieldV2FieldType {
3596
3595
  UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3597
3596
  INPUT = "INPUT",
3598
3597
  DISPLAY = "DISPLAY"
3599
3598
  }
3600
- export interface InputField extends InputFieldInputTypeOptionsOneOf {
3599
+ export interface FormFieldV2InputField extends FormFieldV2InputFieldInputTypeOptionsOneOf {
3601
3600
  /** Input return string as value */
3602
- stringOptions?: _String;
3601
+ stringOptions?: InputField_String;
3603
3602
  /** Input return number as value */
3604
- numberOptions?: _Number;
3603
+ numberOptions?: InputField_Number;
3605
3604
  /** Input return boolean as value */
3606
- booleanOptions?: _Boolean;
3605
+ booleanOptions?: InputField_Boolean;
3607
3606
  /** Input return array as value */
3608
- arrayOptions?: _Array;
3607
+ arrayOptions?: InputField_Array;
3609
3608
  /** Input return object as value */
3610
- objectOptions?: _Object;
3609
+ objectOptions?: InputField_Object;
3611
3610
  /** Input return "Wix file" as value */
3612
- wixFileOptions?: WixFile;
3611
+ wixFileOptions?: InputFieldWixFile;
3613
3612
  /** Input returns selected products as value. */
3614
- paymentOptions?: Payment;
3613
+ paymentOptions?: InputFieldPayment;
3615
3614
  /** Input returns multiline address as value. */
3616
- multilineAddressOptions?: InputFieldMultilineAddress;
3615
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
3617
3616
  /** Input returns scheduling as value. */
3618
3617
  schedulingOptions?: Scheduling;
3619
3618
  /**
@@ -3637,9 +3636,9 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3637
3636
  * Type of the input field
3638
3637
  * @readonly
3639
3638
  */
3640
- inputType?: InputType;
3639
+ inputType?: InputFieldInputType;
3641
3640
  /** Mapping to contacts, telling to what contact property field input value should be saved. */
3642
- contactMapping?: FormFieldContactInfo;
3641
+ contactMapping?: V4FormFieldContactInfo;
3643
3642
  /**
3644
3643
  * Whether the field is read only.
3645
3644
  * Default: false
@@ -3647,47 +3646,716 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3647
3646
  readOnly?: boolean;
3648
3647
  }
3649
3648
  /** @oneof */
3650
- export interface InputFieldInputTypeOptionsOneOf {
3649
+ export interface FormFieldV2InputFieldInputTypeOptionsOneOf {
3651
3650
  /** Input return string as value */
3652
- stringOptions?: _String;
3651
+ stringOptions?: InputField_String;
3653
3652
  /** Input return number as value */
3654
- numberOptions?: _Number;
3653
+ numberOptions?: InputField_Number;
3655
3654
  /** Input return boolean as value */
3656
- booleanOptions?: _Boolean;
3655
+ booleanOptions?: InputField_Boolean;
3657
3656
  /** Input return array as value */
3658
- arrayOptions?: _Array;
3657
+ arrayOptions?: InputField_Array;
3659
3658
  /** Input return object as value */
3660
- objectOptions?: _Object;
3659
+ objectOptions?: InputField_Object;
3661
3660
  /** Input return "Wix file" as value */
3662
- wixFileOptions?: WixFile;
3661
+ wixFileOptions?: InputFieldWixFile;
3663
3662
  /** Input returns selected products as value. */
3664
- paymentOptions?: Payment;
3663
+ paymentOptions?: InputFieldPayment;
3665
3664
  /** Input returns multiline address as value. */
3666
- multilineAddressOptions?: InputFieldMultilineAddress;
3665
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
3667
3666
  /** Input returns scheduling as value. */
3668
3667
  schedulingOptions?: Scheduling;
3669
3668
  }
3670
3669
  /** Copy of the entity existing in form template project, needed to hide translations. */
3671
3670
  export interface DisplayField extends DisplayFieldDisplayFieldTypeOptionsOneOf {
3672
3671
  /** Component displaying rich content */
3673
- richContentOptions?: RichContentOptions;
3672
+ richContentOptions?: V4RichContentOptions;
3674
3673
  /** Page navigation component resolving as navigation or submit buttons */
3675
- pageNavigationOptions?: PageNavigationOptions;
3674
+ pageNavigationOptions?: V4PageNavigationOptions;
3676
3675
  /** Type of the display field */
3677
3676
  displayFieldType?: DisplayFieldType;
3678
3677
  }
3679
3678
  /** @oneof */
3680
3679
  export interface DisplayFieldDisplayFieldTypeOptionsOneOf {
3681
3680
  /** Component displaying rich content */
3682
- richContentOptions?: RichContentOptions;
3681
+ richContentOptions?: V4RichContentOptions;
3683
3682
  /** Page navigation component resolving as navigation or submit buttons */
3684
- pageNavigationOptions?: PageNavigationOptions;
3683
+ pageNavigationOptions?: V4PageNavigationOptions;
3685
3684
  }
3686
3685
  export declare enum DisplayFieldType {
3687
3686
  UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3688
3687
  RICH_CONTENT = "RICH_CONTENT",
3689
3688
  PAGE_NAVIGATION = "PAGE_NAVIGATION"
3690
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
+ }
3691
4359
  export interface RichContentOptions {
3692
4360
  /** Content of the header */
3693
4361
  richContent?: RichContent;
@@ -3892,7 +4560,7 @@ export interface UpsertContact {
3892
4560
  * Fields mapping (target field mapped to corresponding contact field).
3893
4561
  * @maxSize 250
3894
4562
  */
3895
- fieldsMapping?: Record<string, FormFieldContactInfo>;
4563
+ fieldsMapping?: Record<string, V4FormFieldContactInfo>;
3896
4564
  /**
3897
4565
  * List of contact label keys.
3898
4566
  * [Contact labels](https://support.wix.com/en/article/adding-labels-to-contacts-in-your-contact-list)