@wix/forms 1.0.110 → 1.0.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/forms",
3
- "version": "1.0.110",
3
+ "version": "1.0.112",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@wix/forms_form-spam-submission-reports": "1.0.4",
23
23
  "@wix/forms_form-submissions": "1.0.7",
24
- "@wix/forms_forms": "1.0.6",
24
+ "@wix/forms_forms": "1.0.8",
25
25
  "@wix/forms_submissions": "1.0.39"
26
26
  },
27
27
  "devDependencies": {
@@ -46,5 +46,5 @@
46
46
  "fqdn": ""
47
47
  }
48
48
  },
49
- "falconPackageHash": "59f612988a5d47af40dbd6d5d969c18cdc2f13260edd02a376ad26e9"
49
+ "falconPackageHash": "f44f1e5f10dafa55d6a2a251863ebeb116a35ffaeaea6a0005cb254a"
50
50
  }
@@ -471,8 +471,6 @@ interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
471
471
  * @readonly
472
472
  */
473
473
  fieldType?: FieldType;
474
- /** Mapping to contacts, telling to what contact property field input value should be saved. */
475
- contactMapping?: FormFieldContactInfo;
476
474
  }
477
475
  /** @oneof */
478
476
  interface FormFieldV2FieldTypeOptionsOneOf {
@@ -2364,6 +2362,87 @@ declare enum InputType {
2364
2362
  PAYMENT = "PAYMENT",
2365
2363
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
2366
2364
  }
2365
+ interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
2366
+ /** Email info. */
2367
+ emailInfo?: EmailInfo;
2368
+ /** Phone info. */
2369
+ phoneInfo?: PhoneInfo;
2370
+ /** Address info. */
2371
+ addressInfo?: AddressInfo;
2372
+ /** Custom field info. */
2373
+ customFieldInfo?: CustomFieldInfo;
2374
+ /** Subscription info */
2375
+ subscriptionInfo?: SubscriptionInfo;
2376
+ /** Field mapped to contacts. */
2377
+ contactField?: ContactField;
2378
+ }
2379
+ /** @oneof */
2380
+ interface FormFieldContactInfoAdditionalInfoOneOf {
2381
+ /** Email info. */
2382
+ emailInfo?: EmailInfo;
2383
+ /** Phone info. */
2384
+ phoneInfo?: PhoneInfo;
2385
+ /** Address info. */
2386
+ addressInfo?: AddressInfo;
2387
+ /** Custom field info. */
2388
+ customFieldInfo?: CustomFieldInfo;
2389
+ /** Subscription info */
2390
+ subscriptionInfo?: SubscriptionInfo;
2391
+ }
2392
+ declare enum EmailInfoTag {
2393
+ UNTAGGED = "UNTAGGED",
2394
+ MAIN = "MAIN"
2395
+ }
2396
+ declare enum PhoneInfoTag {
2397
+ UNTAGGED = "UNTAGGED",
2398
+ MAIN = "MAIN"
2399
+ }
2400
+ declare enum Tag {
2401
+ UNTAGGED = "UNTAGGED",
2402
+ HOME = "HOME"
2403
+ }
2404
+ declare enum OptInLevel$1 {
2405
+ UNKNOWN = "UNKNOWN",
2406
+ SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
2407
+ DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
2408
+ }
2409
+ declare enum ContactField {
2410
+ UNDEFINED = "UNDEFINED",
2411
+ FIRST_NAME = "FIRST_NAME",
2412
+ LAST_NAME = "LAST_NAME",
2413
+ COMPANY = "COMPANY",
2414
+ POSITION = "POSITION",
2415
+ EMAIL = "EMAIL",
2416
+ PHONE = "PHONE",
2417
+ ADDRESS = "ADDRESS",
2418
+ BIRTHDATE = "BIRTHDATE",
2419
+ CUSTOM_FIELD = "CUSTOM_FIELD",
2420
+ SUBSCRIPTION = "SUBSCRIPTION",
2421
+ VAT_ID = "VAT_ID"
2422
+ }
2423
+ interface EmailInfo {
2424
+ /** Email tag. */
2425
+ tag?: EmailInfoTag;
2426
+ }
2427
+ interface PhoneInfo {
2428
+ /** Phone tag. */
2429
+ tag?: PhoneInfoTag;
2430
+ }
2431
+ interface AddressInfo {
2432
+ /** Address tag. */
2433
+ tag?: Tag;
2434
+ }
2435
+ interface CustomFieldInfo {
2436
+ /** Custom field key. */
2437
+ key?: string;
2438
+ }
2439
+ interface SubscriptionInfo {
2440
+ /**
2441
+ * Subscription consent opt in level, either single or double confirmation.
2442
+ * Default: SINGLE_CONFIRMATION
2443
+ */
2444
+ optInLevel?: OptInLevel$1;
2445
+ }
2367
2446
  interface _String extends _StringComponentTypeOptionsOneOf {
2368
2447
  /** Text input field */
2369
2448
  textInputOptions?: TextInput;
@@ -2581,6 +2660,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
2581
2660
  * @readonly
2582
2661
  */
2583
2662
  inputType?: InputType;
2663
+ /** Mapping to contacts, telling to what contact property field input value should be saved. */
2664
+ contactMapping?: FormFieldContactInfo;
2584
2665
  }
2585
2666
  /** @oneof */
2586
2667
  interface InputFieldInputTypeOptionsOneOf {
@@ -2633,87 +2714,6 @@ interface SubmitButtonSubmitActionOneOf {
2633
2714
  /** Submit action effect is to redirect to */
2634
2715
  redirect?: Redirect;
2635
2716
  }
2636
- interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
2637
- /** Email info. */
2638
- emailInfo?: EmailInfo;
2639
- /** Phone info. */
2640
- phoneInfo?: PhoneInfo;
2641
- /** Address info. */
2642
- addressInfo?: AddressInfo;
2643
- /** Custom field info. */
2644
- customFieldInfo?: CustomFieldInfo;
2645
- /** Subscription info */
2646
- subscriptionInfo?: SubscriptionInfo;
2647
- /** Field mapped to contacts. */
2648
- contactField?: ContactField;
2649
- }
2650
- /** @oneof */
2651
- interface FormFieldContactInfoAdditionalInfoOneOf {
2652
- /** Email info. */
2653
- emailInfo?: EmailInfo;
2654
- /** Phone info. */
2655
- phoneInfo?: PhoneInfo;
2656
- /** Address info. */
2657
- addressInfo?: AddressInfo;
2658
- /** Custom field info. */
2659
- customFieldInfo?: CustomFieldInfo;
2660
- /** Subscription info */
2661
- subscriptionInfo?: SubscriptionInfo;
2662
- }
2663
- declare enum EmailInfoTag {
2664
- UNTAGGED = "UNTAGGED",
2665
- MAIN = "MAIN"
2666
- }
2667
- declare enum PhoneInfoTag {
2668
- UNTAGGED = "UNTAGGED",
2669
- MAIN = "MAIN"
2670
- }
2671
- declare enum Tag {
2672
- UNTAGGED = "UNTAGGED",
2673
- HOME = "HOME"
2674
- }
2675
- declare enum OptInLevel$1 {
2676
- UNKNOWN = "UNKNOWN",
2677
- SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
2678
- DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
2679
- }
2680
- declare enum ContactField {
2681
- UNDEFINED = "UNDEFINED",
2682
- FIRST_NAME = "FIRST_NAME",
2683
- LAST_NAME = "LAST_NAME",
2684
- COMPANY = "COMPANY",
2685
- POSITION = "POSITION",
2686
- EMAIL = "EMAIL",
2687
- PHONE = "PHONE",
2688
- ADDRESS = "ADDRESS",
2689
- BIRTHDATE = "BIRTHDATE",
2690
- CUSTOM_FIELD = "CUSTOM_FIELD",
2691
- SUBSCRIPTION = "SUBSCRIPTION",
2692
- VAT_ID = "VAT_ID"
2693
- }
2694
- interface EmailInfo {
2695
- /** Email tag. */
2696
- tag?: EmailInfoTag;
2697
- }
2698
- interface PhoneInfo {
2699
- /** Phone tag. */
2700
- tag?: PhoneInfoTag;
2701
- }
2702
- interface AddressInfo {
2703
- /** Address tag. */
2704
- tag?: Tag;
2705
- }
2706
- interface CustomFieldInfo {
2707
- /** Custom field key. */
2708
- key?: string;
2709
- }
2710
- interface SubscriptionInfo {
2711
- /**
2712
- * Subscription consent opt in level, either single or double confirmation.
2713
- * Default: SINGLE_CONFIRMATION
2714
- */
2715
- optInLevel?: OptInLevel$1;
2716
- }
2717
2717
  interface Step {
2718
2718
  /** Step ID. */
2719
2719
  _id?: string;
@@ -2987,8 +2987,6 @@ interface RemoveFormFromTrashBinResponse {
2987
2987
  interface DeleteFormRequest {
2988
2988
  /** Id of the form to delete. */
2989
2989
  formId: string;
2990
- /** The revision of the form. */
2991
- revision?: string;
2992
2990
  /**
2993
2991
  * Delete form bypassing trash-bin.
2994
2992
  * Default: false
@@ -3813,6 +3811,29 @@ interface InputFieldMultilineAddressNonNullableFields {
3813
3811
  componentType: MultilineAddressComponentType;
3814
3812
  validation?: MultilineAddressValidationNonNullableFields;
3815
3813
  }
3814
+ interface EmailInfoNonNullableFields {
3815
+ tag: EmailInfoTag;
3816
+ }
3817
+ interface PhoneInfoNonNullableFields {
3818
+ tag: PhoneInfoTag;
3819
+ }
3820
+ interface AddressInfoNonNullableFields {
3821
+ tag: Tag;
3822
+ }
3823
+ interface CustomFieldInfoNonNullableFields {
3824
+ key: string;
3825
+ }
3826
+ interface SubscriptionInfoNonNullableFields {
3827
+ optInLevel: OptInLevel$1;
3828
+ }
3829
+ interface FormFieldContactInfoNonNullableFields {
3830
+ emailInfo?: EmailInfoNonNullableFields;
3831
+ phoneInfo?: PhoneInfoNonNullableFields;
3832
+ addressInfo?: AddressInfoNonNullableFields;
3833
+ customFieldInfo?: CustomFieldInfoNonNullableFields;
3834
+ subscriptionInfo?: SubscriptionInfoNonNullableFields;
3835
+ contactField: ContactField;
3836
+ }
3816
3837
  interface InputFieldNonNullableFields {
3817
3838
  stringOptions?: _StringNonNullableFields;
3818
3839
  numberOptions?: _NumberNonNullableFields;
@@ -3824,6 +3845,7 @@ interface InputFieldNonNullableFields {
3824
3845
  pii: boolean;
3825
3846
  required: boolean;
3826
3847
  inputType: InputType;
3848
+ contactMapping?: FormFieldContactInfoNonNullableFields;
3827
3849
  }
3828
3850
  interface HeaderNonNullableFields {
3829
3851
  content?: RichContentNonNullableFields;
@@ -3845,29 +3867,6 @@ interface SubmitButtonNonNullableFields {
3845
3867
  thankYouMessage?: ThankYouMessageNonNullableFields;
3846
3868
  redirect?: RedirectNonNullableFields;
3847
3869
  }
3848
- interface EmailInfoNonNullableFields {
3849
- tag: EmailInfoTag;
3850
- }
3851
- interface PhoneInfoNonNullableFields {
3852
- tag: PhoneInfoTag;
3853
- }
3854
- interface AddressInfoNonNullableFields {
3855
- tag: Tag;
3856
- }
3857
- interface CustomFieldInfoNonNullableFields {
3858
- key: string;
3859
- }
3860
- interface SubscriptionInfoNonNullableFields {
3861
- optInLevel: OptInLevel$1;
3862
- }
3863
- interface FormFieldContactInfoNonNullableFields {
3864
- emailInfo?: EmailInfoNonNullableFields;
3865
- phoneInfo?: PhoneInfoNonNullableFields;
3866
- addressInfo?: AddressInfoNonNullableFields;
3867
- customFieldInfo?: CustomFieldInfoNonNullableFields;
3868
- subscriptionInfo?: SubscriptionInfoNonNullableFields;
3869
- contactField: ContactField;
3870
- }
3871
3870
  interface FormFieldV2NonNullableFields {
3872
3871
  inputOptions?: InputFieldNonNullableFields;
3873
3872
  displayOptions?: DisplayFieldNonNullableFields;
@@ -3875,7 +3874,6 @@ interface FormFieldV2NonNullableFields {
3875
3874
  _id: string;
3876
3875
  hidden: boolean;
3877
3876
  fieldType: FieldType;
3878
- contactMapping?: FormFieldContactInfoNonNullableFields;
3879
3877
  }
3880
3878
  interface ItemLayoutNonNullableFields {
3881
3879
  fieldId: string;
@@ -4087,8 +4085,6 @@ interface UpdateForm {
4087
4085
  requiredIndicatorProperties?: RequiredIndicatorProperties;
4088
4086
  }
4089
4087
  interface DeleteFormOptions {
4090
- /** The revision of the form. */
4091
- revision?: string;
4092
4088
  /**
4093
4089
  * Delete form bypassing trash-bin.
4094
4090
  * Default: false
@@ -471,8 +471,6 @@ interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
471
471
  * @readonly
472
472
  */
473
473
  fieldType?: FieldType;
474
- /** Mapping to contacts, telling to what contact property field input value should be saved. */
475
- contactMapping?: FormFieldContactInfo;
476
474
  }
477
475
  /** @oneof */
478
476
  interface FormFieldV2FieldTypeOptionsOneOf {
@@ -2364,6 +2362,87 @@ declare enum InputType {
2364
2362
  PAYMENT = "PAYMENT",
2365
2363
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
2366
2364
  }
2365
+ interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
2366
+ /** Email info. */
2367
+ emailInfo?: EmailInfo;
2368
+ /** Phone info. */
2369
+ phoneInfo?: PhoneInfo;
2370
+ /** Address info. */
2371
+ addressInfo?: AddressInfo;
2372
+ /** Custom field info. */
2373
+ customFieldInfo?: CustomFieldInfo;
2374
+ /** Subscription info */
2375
+ subscriptionInfo?: SubscriptionInfo;
2376
+ /** Field mapped to contacts. */
2377
+ contactField?: ContactField;
2378
+ }
2379
+ /** @oneof */
2380
+ interface FormFieldContactInfoAdditionalInfoOneOf {
2381
+ /** Email info. */
2382
+ emailInfo?: EmailInfo;
2383
+ /** Phone info. */
2384
+ phoneInfo?: PhoneInfo;
2385
+ /** Address info. */
2386
+ addressInfo?: AddressInfo;
2387
+ /** Custom field info. */
2388
+ customFieldInfo?: CustomFieldInfo;
2389
+ /** Subscription info */
2390
+ subscriptionInfo?: SubscriptionInfo;
2391
+ }
2392
+ declare enum EmailInfoTag {
2393
+ UNTAGGED = "UNTAGGED",
2394
+ MAIN = "MAIN"
2395
+ }
2396
+ declare enum PhoneInfoTag {
2397
+ UNTAGGED = "UNTAGGED",
2398
+ MAIN = "MAIN"
2399
+ }
2400
+ declare enum Tag {
2401
+ UNTAGGED = "UNTAGGED",
2402
+ HOME = "HOME"
2403
+ }
2404
+ declare enum OptInLevel$1 {
2405
+ UNKNOWN = "UNKNOWN",
2406
+ SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
2407
+ DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
2408
+ }
2409
+ declare enum ContactField {
2410
+ UNDEFINED = "UNDEFINED",
2411
+ FIRST_NAME = "FIRST_NAME",
2412
+ LAST_NAME = "LAST_NAME",
2413
+ COMPANY = "COMPANY",
2414
+ POSITION = "POSITION",
2415
+ EMAIL = "EMAIL",
2416
+ PHONE = "PHONE",
2417
+ ADDRESS = "ADDRESS",
2418
+ BIRTHDATE = "BIRTHDATE",
2419
+ CUSTOM_FIELD = "CUSTOM_FIELD",
2420
+ SUBSCRIPTION = "SUBSCRIPTION",
2421
+ VAT_ID = "VAT_ID"
2422
+ }
2423
+ interface EmailInfo {
2424
+ /** Email tag. */
2425
+ tag?: EmailInfoTag;
2426
+ }
2427
+ interface PhoneInfo {
2428
+ /** Phone tag. */
2429
+ tag?: PhoneInfoTag;
2430
+ }
2431
+ interface AddressInfo {
2432
+ /** Address tag. */
2433
+ tag?: Tag;
2434
+ }
2435
+ interface CustomFieldInfo {
2436
+ /** Custom field key. */
2437
+ key?: string;
2438
+ }
2439
+ interface SubscriptionInfo {
2440
+ /**
2441
+ * Subscription consent opt in level, either single or double confirmation.
2442
+ * Default: SINGLE_CONFIRMATION
2443
+ */
2444
+ optInLevel?: OptInLevel$1;
2445
+ }
2367
2446
  interface _String extends _StringComponentTypeOptionsOneOf {
2368
2447
  /** Text input field */
2369
2448
  textInputOptions?: TextInput;
@@ -2581,6 +2660,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
2581
2660
  * @readonly
2582
2661
  */
2583
2662
  inputType?: InputType;
2663
+ /** Mapping to contacts, telling to what contact property field input value should be saved. */
2664
+ contactMapping?: FormFieldContactInfo;
2584
2665
  }
2585
2666
  /** @oneof */
2586
2667
  interface InputFieldInputTypeOptionsOneOf {
@@ -2633,87 +2714,6 @@ interface SubmitButtonSubmitActionOneOf {
2633
2714
  /** Submit action effect is to redirect to */
2634
2715
  redirect?: Redirect;
2635
2716
  }
2636
- interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
2637
- /** Email info. */
2638
- emailInfo?: EmailInfo;
2639
- /** Phone info. */
2640
- phoneInfo?: PhoneInfo;
2641
- /** Address info. */
2642
- addressInfo?: AddressInfo;
2643
- /** Custom field info. */
2644
- customFieldInfo?: CustomFieldInfo;
2645
- /** Subscription info */
2646
- subscriptionInfo?: SubscriptionInfo;
2647
- /** Field mapped to contacts. */
2648
- contactField?: ContactField;
2649
- }
2650
- /** @oneof */
2651
- interface FormFieldContactInfoAdditionalInfoOneOf {
2652
- /** Email info. */
2653
- emailInfo?: EmailInfo;
2654
- /** Phone info. */
2655
- phoneInfo?: PhoneInfo;
2656
- /** Address info. */
2657
- addressInfo?: AddressInfo;
2658
- /** Custom field info. */
2659
- customFieldInfo?: CustomFieldInfo;
2660
- /** Subscription info */
2661
- subscriptionInfo?: SubscriptionInfo;
2662
- }
2663
- declare enum EmailInfoTag {
2664
- UNTAGGED = "UNTAGGED",
2665
- MAIN = "MAIN"
2666
- }
2667
- declare enum PhoneInfoTag {
2668
- UNTAGGED = "UNTAGGED",
2669
- MAIN = "MAIN"
2670
- }
2671
- declare enum Tag {
2672
- UNTAGGED = "UNTAGGED",
2673
- HOME = "HOME"
2674
- }
2675
- declare enum OptInLevel$1 {
2676
- UNKNOWN = "UNKNOWN",
2677
- SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
2678
- DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
2679
- }
2680
- declare enum ContactField {
2681
- UNDEFINED = "UNDEFINED",
2682
- FIRST_NAME = "FIRST_NAME",
2683
- LAST_NAME = "LAST_NAME",
2684
- COMPANY = "COMPANY",
2685
- POSITION = "POSITION",
2686
- EMAIL = "EMAIL",
2687
- PHONE = "PHONE",
2688
- ADDRESS = "ADDRESS",
2689
- BIRTHDATE = "BIRTHDATE",
2690
- CUSTOM_FIELD = "CUSTOM_FIELD",
2691
- SUBSCRIPTION = "SUBSCRIPTION",
2692
- VAT_ID = "VAT_ID"
2693
- }
2694
- interface EmailInfo {
2695
- /** Email tag. */
2696
- tag?: EmailInfoTag;
2697
- }
2698
- interface PhoneInfo {
2699
- /** Phone tag. */
2700
- tag?: PhoneInfoTag;
2701
- }
2702
- interface AddressInfo {
2703
- /** Address tag. */
2704
- tag?: Tag;
2705
- }
2706
- interface CustomFieldInfo {
2707
- /** Custom field key. */
2708
- key?: string;
2709
- }
2710
- interface SubscriptionInfo {
2711
- /**
2712
- * Subscription consent opt in level, either single or double confirmation.
2713
- * Default: SINGLE_CONFIRMATION
2714
- */
2715
- optInLevel?: OptInLevel$1;
2716
- }
2717
2717
  interface Step {
2718
2718
  /** Step ID. */
2719
2719
  _id?: string;
@@ -2987,8 +2987,6 @@ interface RemoveFormFromTrashBinResponse {
2987
2987
  interface DeleteFormRequest {
2988
2988
  /** Id of the form to delete. */
2989
2989
  formId: string;
2990
- /** The revision of the form. */
2991
- revision?: string;
2992
2990
  /**
2993
2991
  * Delete form bypassing trash-bin.
2994
2992
  * Default: false
@@ -3813,6 +3811,29 @@ interface InputFieldMultilineAddressNonNullableFields {
3813
3811
  componentType: MultilineAddressComponentType;
3814
3812
  validation?: MultilineAddressValidationNonNullableFields;
3815
3813
  }
3814
+ interface EmailInfoNonNullableFields {
3815
+ tag: EmailInfoTag;
3816
+ }
3817
+ interface PhoneInfoNonNullableFields {
3818
+ tag: PhoneInfoTag;
3819
+ }
3820
+ interface AddressInfoNonNullableFields {
3821
+ tag: Tag;
3822
+ }
3823
+ interface CustomFieldInfoNonNullableFields {
3824
+ key: string;
3825
+ }
3826
+ interface SubscriptionInfoNonNullableFields {
3827
+ optInLevel: OptInLevel$1;
3828
+ }
3829
+ interface FormFieldContactInfoNonNullableFields {
3830
+ emailInfo?: EmailInfoNonNullableFields;
3831
+ phoneInfo?: PhoneInfoNonNullableFields;
3832
+ addressInfo?: AddressInfoNonNullableFields;
3833
+ customFieldInfo?: CustomFieldInfoNonNullableFields;
3834
+ subscriptionInfo?: SubscriptionInfoNonNullableFields;
3835
+ contactField: ContactField;
3836
+ }
3816
3837
  interface InputFieldNonNullableFields {
3817
3838
  stringOptions?: _StringNonNullableFields;
3818
3839
  numberOptions?: _NumberNonNullableFields;
@@ -3824,6 +3845,7 @@ interface InputFieldNonNullableFields {
3824
3845
  pii: boolean;
3825
3846
  required: boolean;
3826
3847
  inputType: InputType;
3848
+ contactMapping?: FormFieldContactInfoNonNullableFields;
3827
3849
  }
3828
3850
  interface HeaderNonNullableFields {
3829
3851
  content?: RichContentNonNullableFields;
@@ -3845,29 +3867,6 @@ interface SubmitButtonNonNullableFields {
3845
3867
  thankYouMessage?: ThankYouMessageNonNullableFields;
3846
3868
  redirect?: RedirectNonNullableFields;
3847
3869
  }
3848
- interface EmailInfoNonNullableFields {
3849
- tag: EmailInfoTag;
3850
- }
3851
- interface PhoneInfoNonNullableFields {
3852
- tag: PhoneInfoTag;
3853
- }
3854
- interface AddressInfoNonNullableFields {
3855
- tag: Tag;
3856
- }
3857
- interface CustomFieldInfoNonNullableFields {
3858
- key: string;
3859
- }
3860
- interface SubscriptionInfoNonNullableFields {
3861
- optInLevel: OptInLevel$1;
3862
- }
3863
- interface FormFieldContactInfoNonNullableFields {
3864
- emailInfo?: EmailInfoNonNullableFields;
3865
- phoneInfo?: PhoneInfoNonNullableFields;
3866
- addressInfo?: AddressInfoNonNullableFields;
3867
- customFieldInfo?: CustomFieldInfoNonNullableFields;
3868
- subscriptionInfo?: SubscriptionInfoNonNullableFields;
3869
- contactField: ContactField;
3870
- }
3871
3870
  interface FormFieldV2NonNullableFields {
3872
3871
  inputOptions?: InputFieldNonNullableFields;
3873
3872
  displayOptions?: DisplayFieldNonNullableFields;
@@ -3875,7 +3874,6 @@ interface FormFieldV2NonNullableFields {
3875
3874
  _id: string;
3876
3875
  hidden: boolean;
3877
3876
  fieldType: FieldType;
3878
- contactMapping?: FormFieldContactInfoNonNullableFields;
3879
3877
  }
3880
3878
  interface ItemLayoutNonNullableFields {
3881
3879
  fieldId: string;
@@ -4087,8 +4085,6 @@ interface UpdateForm {
4087
4085
  requiredIndicatorProperties?: RequiredIndicatorProperties;
4088
4086
  }
4089
4087
  interface DeleteFormOptions {
4090
- /** The revision of the form. */
4091
- revision?: string;
4092
4088
  /**
4093
4089
  * Delete form bypassing trash-bin.
4094
4090
  * Default: false
@@ -461,8 +461,6 @@ interface FormFieldV2$1 extends FormFieldV2FieldTypeOptionsOneOf$1 {
461
461
  * @readonly
462
462
  */
463
463
  fieldType?: FieldType$1;
464
- /** Mapping to contacts, telling to what contact property field input value should be saved. */
465
- contactMapping?: FormFieldContactInfo$1;
466
464
  }
467
465
  /** @oneof */
468
466
  interface FormFieldV2FieldTypeOptionsOneOf$1 {
@@ -2358,6 +2356,87 @@ declare enum InputType$1 {
2358
2356
  PAYMENT = "PAYMENT",
2359
2357
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
2360
2358
  }
2359
+ interface FormFieldContactInfo$1 extends FormFieldContactInfoAdditionalInfoOneOf$1 {
2360
+ /** Email info. */
2361
+ emailInfo?: EmailInfo$1;
2362
+ /** Phone info. */
2363
+ phoneInfo?: PhoneInfo$1;
2364
+ /** Address info. */
2365
+ addressInfo?: AddressInfo$1;
2366
+ /** Custom field info. */
2367
+ customFieldInfo?: CustomFieldInfo$1;
2368
+ /** Subscription info */
2369
+ subscriptionInfo?: SubscriptionInfo$1;
2370
+ /** Field mapped to contacts. */
2371
+ contactField?: ContactField$1;
2372
+ }
2373
+ /** @oneof */
2374
+ interface FormFieldContactInfoAdditionalInfoOneOf$1 {
2375
+ /** Email info. */
2376
+ emailInfo?: EmailInfo$1;
2377
+ /** Phone info. */
2378
+ phoneInfo?: PhoneInfo$1;
2379
+ /** Address info. */
2380
+ addressInfo?: AddressInfo$1;
2381
+ /** Custom field info. */
2382
+ customFieldInfo?: CustomFieldInfo$1;
2383
+ /** Subscription info */
2384
+ subscriptionInfo?: SubscriptionInfo$1;
2385
+ }
2386
+ declare enum EmailInfoTag$1 {
2387
+ UNTAGGED = "UNTAGGED",
2388
+ MAIN = "MAIN"
2389
+ }
2390
+ declare enum PhoneInfoTag$1 {
2391
+ UNTAGGED = "UNTAGGED",
2392
+ MAIN = "MAIN"
2393
+ }
2394
+ declare enum Tag$1 {
2395
+ UNTAGGED = "UNTAGGED",
2396
+ HOME = "HOME"
2397
+ }
2398
+ declare enum OptInLevel$1 {
2399
+ UNKNOWN = "UNKNOWN",
2400
+ SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
2401
+ DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
2402
+ }
2403
+ declare enum ContactField$1 {
2404
+ UNDEFINED = "UNDEFINED",
2405
+ FIRST_NAME = "FIRST_NAME",
2406
+ LAST_NAME = "LAST_NAME",
2407
+ COMPANY = "COMPANY",
2408
+ POSITION = "POSITION",
2409
+ EMAIL = "EMAIL",
2410
+ PHONE = "PHONE",
2411
+ ADDRESS = "ADDRESS",
2412
+ BIRTHDATE = "BIRTHDATE",
2413
+ CUSTOM_FIELD = "CUSTOM_FIELD",
2414
+ SUBSCRIPTION = "SUBSCRIPTION",
2415
+ VAT_ID = "VAT_ID"
2416
+ }
2417
+ interface EmailInfo$1 {
2418
+ /** Email tag. */
2419
+ tag?: EmailInfoTag$1;
2420
+ }
2421
+ interface PhoneInfo$1 {
2422
+ /** Phone tag. */
2423
+ tag?: PhoneInfoTag$1;
2424
+ }
2425
+ interface AddressInfo$1 {
2426
+ /** Address tag. */
2427
+ tag?: Tag$1;
2428
+ }
2429
+ interface CustomFieldInfo$1 {
2430
+ /** Custom field key. */
2431
+ key?: string;
2432
+ }
2433
+ interface SubscriptionInfo$1 {
2434
+ /**
2435
+ * Subscription consent opt in level, either single or double confirmation.
2436
+ * Default: SINGLE_CONFIRMATION
2437
+ */
2438
+ optInLevel?: OptInLevel$1;
2439
+ }
2361
2440
  interface _String$1 extends _StringComponentTypeOptionsOneOf$1 {
2362
2441
  /** Text input field */
2363
2442
  textInputOptions?: TextInput$1;
@@ -2575,6 +2654,8 @@ interface InputField$1 extends InputFieldInputTypeOptionsOneOf$1 {
2575
2654
  * @readonly
2576
2655
  */
2577
2656
  inputType?: InputType$1;
2657
+ /** Mapping to contacts, telling to what contact property field input value should be saved. */
2658
+ contactMapping?: FormFieldContactInfo$1;
2578
2659
  }
2579
2660
  /** @oneof */
2580
2661
  interface InputFieldInputTypeOptionsOneOf$1 {
@@ -2627,87 +2708,6 @@ interface SubmitButtonSubmitActionOneOf$1 {
2627
2708
  /** Submit action effect is to redirect to */
2628
2709
  redirect?: Redirect$1;
2629
2710
  }
2630
- interface FormFieldContactInfo$1 extends FormFieldContactInfoAdditionalInfoOneOf$1 {
2631
- /** Email info. */
2632
- emailInfo?: EmailInfo$1;
2633
- /** Phone info. */
2634
- phoneInfo?: PhoneInfo$1;
2635
- /** Address info. */
2636
- addressInfo?: AddressInfo$1;
2637
- /** Custom field info. */
2638
- customFieldInfo?: CustomFieldInfo$1;
2639
- /** Subscription info */
2640
- subscriptionInfo?: SubscriptionInfo$1;
2641
- /** Field mapped to contacts. */
2642
- contactField?: ContactField$1;
2643
- }
2644
- /** @oneof */
2645
- interface FormFieldContactInfoAdditionalInfoOneOf$1 {
2646
- /** Email info. */
2647
- emailInfo?: EmailInfo$1;
2648
- /** Phone info. */
2649
- phoneInfo?: PhoneInfo$1;
2650
- /** Address info. */
2651
- addressInfo?: AddressInfo$1;
2652
- /** Custom field info. */
2653
- customFieldInfo?: CustomFieldInfo$1;
2654
- /** Subscription info */
2655
- subscriptionInfo?: SubscriptionInfo$1;
2656
- }
2657
- declare enum EmailInfoTag$1 {
2658
- UNTAGGED = "UNTAGGED",
2659
- MAIN = "MAIN"
2660
- }
2661
- declare enum PhoneInfoTag$1 {
2662
- UNTAGGED = "UNTAGGED",
2663
- MAIN = "MAIN"
2664
- }
2665
- declare enum Tag$1 {
2666
- UNTAGGED = "UNTAGGED",
2667
- HOME = "HOME"
2668
- }
2669
- declare enum OptInLevel$1 {
2670
- UNKNOWN = "UNKNOWN",
2671
- SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
2672
- DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
2673
- }
2674
- declare enum ContactField$1 {
2675
- UNDEFINED = "UNDEFINED",
2676
- FIRST_NAME = "FIRST_NAME",
2677
- LAST_NAME = "LAST_NAME",
2678
- COMPANY = "COMPANY",
2679
- POSITION = "POSITION",
2680
- EMAIL = "EMAIL",
2681
- PHONE = "PHONE",
2682
- ADDRESS = "ADDRESS",
2683
- BIRTHDATE = "BIRTHDATE",
2684
- CUSTOM_FIELD = "CUSTOM_FIELD",
2685
- SUBSCRIPTION = "SUBSCRIPTION",
2686
- VAT_ID = "VAT_ID"
2687
- }
2688
- interface EmailInfo$1 {
2689
- /** Email tag. */
2690
- tag?: EmailInfoTag$1;
2691
- }
2692
- interface PhoneInfo$1 {
2693
- /** Phone tag. */
2694
- tag?: PhoneInfoTag$1;
2695
- }
2696
- interface AddressInfo$1 {
2697
- /** Address tag. */
2698
- tag?: Tag$1;
2699
- }
2700
- interface CustomFieldInfo$1 {
2701
- /** Custom field key. */
2702
- key?: string;
2703
- }
2704
- interface SubscriptionInfo$1 {
2705
- /**
2706
- * Subscription consent opt in level, either single or double confirmation.
2707
- * Default: SINGLE_CONFIRMATION
2708
- */
2709
- optInLevel?: OptInLevel$1;
2710
- }
2711
2711
  interface Step$1 {
2712
2712
  /** Step ID. */
2713
2713
  id?: string;
@@ -2951,8 +2951,6 @@ interface RemoveFormFromTrashBinResponse$1 {
2951
2951
  interface DeleteFormRequest$1 {
2952
2952
  /** Id of the form to delete. */
2953
2953
  formId: string;
2954
- /** The revision of the form. */
2955
- revision?: string;
2956
2954
  /**
2957
2955
  * Delete form bypassing trash-bin.
2958
2956
  * Default: false
@@ -3671,6 +3669,29 @@ interface InputFieldMultilineAddressNonNullableFields$1 {
3671
3669
  componentType: MultilineAddressComponentType$1;
3672
3670
  validation?: MultilineAddressValidationNonNullableFields$1;
3673
3671
  }
3672
+ interface EmailInfoNonNullableFields$1 {
3673
+ tag: EmailInfoTag$1;
3674
+ }
3675
+ interface PhoneInfoNonNullableFields$1 {
3676
+ tag: PhoneInfoTag$1;
3677
+ }
3678
+ interface AddressInfoNonNullableFields$1 {
3679
+ tag: Tag$1;
3680
+ }
3681
+ interface CustomFieldInfoNonNullableFields$1 {
3682
+ key: string;
3683
+ }
3684
+ interface SubscriptionInfoNonNullableFields$1 {
3685
+ optInLevel: OptInLevel$1;
3686
+ }
3687
+ interface FormFieldContactInfoNonNullableFields$1 {
3688
+ emailInfo?: EmailInfoNonNullableFields$1;
3689
+ phoneInfo?: PhoneInfoNonNullableFields$1;
3690
+ addressInfo?: AddressInfoNonNullableFields$1;
3691
+ customFieldInfo?: CustomFieldInfoNonNullableFields$1;
3692
+ subscriptionInfo?: SubscriptionInfoNonNullableFields$1;
3693
+ contactField: ContactField$1;
3694
+ }
3674
3695
  interface InputFieldNonNullableFields$1 {
3675
3696
  stringOptions?: _StringNonNullableFields$1;
3676
3697
  numberOptions?: _NumberNonNullableFields$1;
@@ -3682,6 +3703,7 @@ interface InputFieldNonNullableFields$1 {
3682
3703
  pii: boolean;
3683
3704
  required: boolean;
3684
3705
  inputType: InputType$1;
3706
+ contactMapping?: FormFieldContactInfoNonNullableFields$1;
3685
3707
  }
3686
3708
  interface HeaderNonNullableFields$1 {
3687
3709
  content?: RichContentNonNullableFields$1;
@@ -3703,29 +3725,6 @@ interface SubmitButtonNonNullableFields$1 {
3703
3725
  thankYouMessage?: ThankYouMessageNonNullableFields$1;
3704
3726
  redirect?: RedirectNonNullableFields$1;
3705
3727
  }
3706
- interface EmailInfoNonNullableFields$1 {
3707
- tag: EmailInfoTag$1;
3708
- }
3709
- interface PhoneInfoNonNullableFields$1 {
3710
- tag: PhoneInfoTag$1;
3711
- }
3712
- interface AddressInfoNonNullableFields$1 {
3713
- tag: Tag$1;
3714
- }
3715
- interface CustomFieldInfoNonNullableFields$1 {
3716
- key: string;
3717
- }
3718
- interface SubscriptionInfoNonNullableFields$1 {
3719
- optInLevel: OptInLevel$1;
3720
- }
3721
- interface FormFieldContactInfoNonNullableFields$1 {
3722
- emailInfo?: EmailInfoNonNullableFields$1;
3723
- phoneInfo?: PhoneInfoNonNullableFields$1;
3724
- addressInfo?: AddressInfoNonNullableFields$1;
3725
- customFieldInfo?: CustomFieldInfoNonNullableFields$1;
3726
- subscriptionInfo?: SubscriptionInfoNonNullableFields$1;
3727
- contactField: ContactField$1;
3728
- }
3729
3728
  interface FormFieldV2NonNullableFields$1 {
3730
3729
  inputOptions?: InputFieldNonNullableFields$1;
3731
3730
  displayOptions?: DisplayFieldNonNullableFields$1;
@@ -3733,7 +3732,6 @@ interface FormFieldV2NonNullableFields$1 {
3733
3732
  id: string;
3734
3733
  hidden: boolean;
3735
3734
  fieldType: FieldType$1;
3736
- contactMapping?: FormFieldContactInfoNonNullableFields$1;
3737
3735
  }
3738
3736
  interface ItemLayoutNonNullableFields$1 {
3739
3737
  fieldId: string;
@@ -4320,8 +4318,6 @@ interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
4320
4318
  * @readonly
4321
4319
  */
4322
4320
  fieldType?: FieldType;
4323
- /** Mapping to contacts, telling to what contact property field input value should be saved. */
4324
- contactMapping?: FormFieldContactInfo;
4325
4321
  }
4326
4322
  /** @oneof */
4327
4323
  interface FormFieldV2FieldTypeOptionsOneOf {
@@ -6194,6 +6190,87 @@ declare enum InputType {
6194
6190
  PAYMENT = "PAYMENT",
6195
6191
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
6196
6192
  }
6193
+ interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
6194
+ /** Email info. */
6195
+ emailInfo?: EmailInfo;
6196
+ /** Phone info. */
6197
+ phoneInfo?: PhoneInfo;
6198
+ /** Address info. */
6199
+ addressInfo?: AddressInfo;
6200
+ /** Custom field info. */
6201
+ customFieldInfo?: CustomFieldInfo;
6202
+ /** Subscription info */
6203
+ subscriptionInfo?: SubscriptionInfo;
6204
+ /** Field mapped to contacts. */
6205
+ contactField?: ContactField;
6206
+ }
6207
+ /** @oneof */
6208
+ interface FormFieldContactInfoAdditionalInfoOneOf {
6209
+ /** Email info. */
6210
+ emailInfo?: EmailInfo;
6211
+ /** Phone info. */
6212
+ phoneInfo?: PhoneInfo;
6213
+ /** Address info. */
6214
+ addressInfo?: AddressInfo;
6215
+ /** Custom field info. */
6216
+ customFieldInfo?: CustomFieldInfo;
6217
+ /** Subscription info */
6218
+ subscriptionInfo?: SubscriptionInfo;
6219
+ }
6220
+ declare enum EmailInfoTag {
6221
+ UNTAGGED = "UNTAGGED",
6222
+ MAIN = "MAIN"
6223
+ }
6224
+ declare enum PhoneInfoTag {
6225
+ UNTAGGED = "UNTAGGED",
6226
+ MAIN = "MAIN"
6227
+ }
6228
+ declare enum Tag {
6229
+ UNTAGGED = "UNTAGGED",
6230
+ HOME = "HOME"
6231
+ }
6232
+ declare enum OptInLevel {
6233
+ UNKNOWN = "UNKNOWN",
6234
+ SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
6235
+ DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
6236
+ }
6237
+ declare enum ContactField {
6238
+ UNDEFINED = "UNDEFINED",
6239
+ FIRST_NAME = "FIRST_NAME",
6240
+ LAST_NAME = "LAST_NAME",
6241
+ COMPANY = "COMPANY",
6242
+ POSITION = "POSITION",
6243
+ EMAIL = "EMAIL",
6244
+ PHONE = "PHONE",
6245
+ ADDRESS = "ADDRESS",
6246
+ BIRTHDATE = "BIRTHDATE",
6247
+ CUSTOM_FIELD = "CUSTOM_FIELD",
6248
+ SUBSCRIPTION = "SUBSCRIPTION",
6249
+ VAT_ID = "VAT_ID"
6250
+ }
6251
+ interface EmailInfo {
6252
+ /** Email tag. */
6253
+ tag?: EmailInfoTag;
6254
+ }
6255
+ interface PhoneInfo {
6256
+ /** Phone tag. */
6257
+ tag?: PhoneInfoTag;
6258
+ }
6259
+ interface AddressInfo {
6260
+ /** Address tag. */
6261
+ tag?: Tag;
6262
+ }
6263
+ interface CustomFieldInfo {
6264
+ /** Custom field key. */
6265
+ key?: string;
6266
+ }
6267
+ interface SubscriptionInfo {
6268
+ /**
6269
+ * Subscription consent opt in level, either single or double confirmation.
6270
+ * Default: SINGLE_CONFIRMATION
6271
+ */
6272
+ optInLevel?: OptInLevel;
6273
+ }
6197
6274
  interface _String extends _StringComponentTypeOptionsOneOf {
6198
6275
  /** Text input field */
6199
6276
  textInputOptions?: TextInput;
@@ -6411,6 +6488,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
6411
6488
  * @readonly
6412
6489
  */
6413
6490
  inputType?: InputType;
6491
+ /** Mapping to contacts, telling to what contact property field input value should be saved. */
6492
+ contactMapping?: FormFieldContactInfo;
6414
6493
  }
6415
6494
  /** @oneof */
6416
6495
  interface InputFieldInputTypeOptionsOneOf {
@@ -6463,87 +6542,6 @@ interface SubmitButtonSubmitActionOneOf {
6463
6542
  /** Submit action effect is to redirect to */
6464
6543
  redirect?: Redirect;
6465
6544
  }
6466
- interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
6467
- /** Email info. */
6468
- emailInfo?: EmailInfo;
6469
- /** Phone info. */
6470
- phoneInfo?: PhoneInfo;
6471
- /** Address info. */
6472
- addressInfo?: AddressInfo;
6473
- /** Custom field info. */
6474
- customFieldInfo?: CustomFieldInfo;
6475
- /** Subscription info */
6476
- subscriptionInfo?: SubscriptionInfo;
6477
- /** Field mapped to contacts. */
6478
- contactField?: ContactField;
6479
- }
6480
- /** @oneof */
6481
- interface FormFieldContactInfoAdditionalInfoOneOf {
6482
- /** Email info. */
6483
- emailInfo?: EmailInfo;
6484
- /** Phone info. */
6485
- phoneInfo?: PhoneInfo;
6486
- /** Address info. */
6487
- addressInfo?: AddressInfo;
6488
- /** Custom field info. */
6489
- customFieldInfo?: CustomFieldInfo;
6490
- /** Subscription info */
6491
- subscriptionInfo?: SubscriptionInfo;
6492
- }
6493
- declare enum EmailInfoTag {
6494
- UNTAGGED = "UNTAGGED",
6495
- MAIN = "MAIN"
6496
- }
6497
- declare enum PhoneInfoTag {
6498
- UNTAGGED = "UNTAGGED",
6499
- MAIN = "MAIN"
6500
- }
6501
- declare enum Tag {
6502
- UNTAGGED = "UNTAGGED",
6503
- HOME = "HOME"
6504
- }
6505
- declare enum OptInLevel {
6506
- UNKNOWN = "UNKNOWN",
6507
- SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
6508
- DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
6509
- }
6510
- declare enum ContactField {
6511
- UNDEFINED = "UNDEFINED",
6512
- FIRST_NAME = "FIRST_NAME",
6513
- LAST_NAME = "LAST_NAME",
6514
- COMPANY = "COMPANY",
6515
- POSITION = "POSITION",
6516
- EMAIL = "EMAIL",
6517
- PHONE = "PHONE",
6518
- ADDRESS = "ADDRESS",
6519
- BIRTHDATE = "BIRTHDATE",
6520
- CUSTOM_FIELD = "CUSTOM_FIELD",
6521
- SUBSCRIPTION = "SUBSCRIPTION",
6522
- VAT_ID = "VAT_ID"
6523
- }
6524
- interface EmailInfo {
6525
- /** Email tag. */
6526
- tag?: EmailInfoTag;
6527
- }
6528
- interface PhoneInfo {
6529
- /** Phone tag. */
6530
- tag?: PhoneInfoTag;
6531
- }
6532
- interface AddressInfo {
6533
- /** Address tag. */
6534
- tag?: Tag;
6535
- }
6536
- interface CustomFieldInfo {
6537
- /** Custom field key. */
6538
- key?: string;
6539
- }
6540
- interface SubscriptionInfo {
6541
- /**
6542
- * Subscription consent opt in level, either single or double confirmation.
6543
- * Default: SINGLE_CONFIRMATION
6544
- */
6545
- optInLevel?: OptInLevel;
6546
- }
6547
6545
  interface Step {
6548
6546
  /** Step ID. */
6549
6547
  _id?: string;
@@ -6787,8 +6785,6 @@ interface RemoveFormFromTrashBinResponse {
6787
6785
  interface DeleteFormRequest {
6788
6786
  /** Id of the form to delete. */
6789
6787
  formId: string;
6790
- /** The revision of the form. */
6791
- revision?: string;
6792
6788
  /**
6793
6789
  * Delete form bypassing trash-bin.
6794
6790
  * Default: false
@@ -7501,6 +7497,29 @@ interface InputFieldMultilineAddressNonNullableFields {
7501
7497
  componentType: MultilineAddressComponentType;
7502
7498
  validation?: MultilineAddressValidationNonNullableFields;
7503
7499
  }
7500
+ interface EmailInfoNonNullableFields {
7501
+ tag: EmailInfoTag;
7502
+ }
7503
+ interface PhoneInfoNonNullableFields {
7504
+ tag: PhoneInfoTag;
7505
+ }
7506
+ interface AddressInfoNonNullableFields {
7507
+ tag: Tag;
7508
+ }
7509
+ interface CustomFieldInfoNonNullableFields {
7510
+ key: string;
7511
+ }
7512
+ interface SubscriptionInfoNonNullableFields {
7513
+ optInLevel: OptInLevel;
7514
+ }
7515
+ interface FormFieldContactInfoNonNullableFields {
7516
+ emailInfo?: EmailInfoNonNullableFields;
7517
+ phoneInfo?: PhoneInfoNonNullableFields;
7518
+ addressInfo?: AddressInfoNonNullableFields;
7519
+ customFieldInfo?: CustomFieldInfoNonNullableFields;
7520
+ subscriptionInfo?: SubscriptionInfoNonNullableFields;
7521
+ contactField: ContactField;
7522
+ }
7504
7523
  interface InputFieldNonNullableFields {
7505
7524
  stringOptions?: _StringNonNullableFields;
7506
7525
  numberOptions?: _NumberNonNullableFields;
@@ -7512,6 +7531,7 @@ interface InputFieldNonNullableFields {
7512
7531
  pii: boolean;
7513
7532
  required: boolean;
7514
7533
  inputType: InputType;
7534
+ contactMapping?: FormFieldContactInfoNonNullableFields;
7515
7535
  }
7516
7536
  interface HeaderNonNullableFields {
7517
7537
  content?: RichContentNonNullableFields;
@@ -7533,29 +7553,6 @@ interface SubmitButtonNonNullableFields {
7533
7553
  thankYouMessage?: ThankYouMessageNonNullableFields;
7534
7554
  redirect?: RedirectNonNullableFields;
7535
7555
  }
7536
- interface EmailInfoNonNullableFields {
7537
- tag: EmailInfoTag;
7538
- }
7539
- interface PhoneInfoNonNullableFields {
7540
- tag: PhoneInfoTag;
7541
- }
7542
- interface AddressInfoNonNullableFields {
7543
- tag: Tag;
7544
- }
7545
- interface CustomFieldInfoNonNullableFields {
7546
- key: string;
7547
- }
7548
- interface SubscriptionInfoNonNullableFields {
7549
- optInLevel: OptInLevel;
7550
- }
7551
- interface FormFieldContactInfoNonNullableFields {
7552
- emailInfo?: EmailInfoNonNullableFields;
7553
- phoneInfo?: PhoneInfoNonNullableFields;
7554
- addressInfo?: AddressInfoNonNullableFields;
7555
- customFieldInfo?: CustomFieldInfoNonNullableFields;
7556
- subscriptionInfo?: SubscriptionInfoNonNullableFields;
7557
- contactField: ContactField;
7558
- }
7559
7556
  interface FormFieldV2NonNullableFields {
7560
7557
  inputOptions?: InputFieldNonNullableFields;
7561
7558
  displayOptions?: DisplayFieldNonNullableFields;
@@ -7563,7 +7560,6 @@ interface FormFieldV2NonNullableFields {
7563
7560
  _id: string;
7564
7561
  hidden: boolean;
7565
7562
  fieldType: FieldType;
7566
- contactMapping?: FormFieldContactInfoNonNullableFields;
7567
7563
  }
7568
7564
  interface ItemLayoutNonNullableFields {
7569
7565
  fieldId: string;