@wix/forms 1.0.111 → 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 +3 -3
- package/type-bundles/context.bundle.d.ts +107 -107
- package/type-bundles/index.bundle.d.ts +107 -107
- package/type-bundles/meta.bundle.d.ts +214 -214
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/forms",
|
|
3
|
-
"version": "1.0.
|
|
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.
|
|
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": "
|
|
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;
|
|
@@ -3811,6 +3811,29 @@ interface InputFieldMultilineAddressNonNullableFields {
|
|
|
3811
3811
|
componentType: MultilineAddressComponentType;
|
|
3812
3812
|
validation?: MultilineAddressValidationNonNullableFields;
|
|
3813
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
|
+
}
|
|
3814
3837
|
interface InputFieldNonNullableFields {
|
|
3815
3838
|
stringOptions?: _StringNonNullableFields;
|
|
3816
3839
|
numberOptions?: _NumberNonNullableFields;
|
|
@@ -3822,6 +3845,7 @@ interface InputFieldNonNullableFields {
|
|
|
3822
3845
|
pii: boolean;
|
|
3823
3846
|
required: boolean;
|
|
3824
3847
|
inputType: InputType;
|
|
3848
|
+
contactMapping?: FormFieldContactInfoNonNullableFields;
|
|
3825
3849
|
}
|
|
3826
3850
|
interface HeaderNonNullableFields {
|
|
3827
3851
|
content?: RichContentNonNullableFields;
|
|
@@ -3843,29 +3867,6 @@ interface SubmitButtonNonNullableFields {
|
|
|
3843
3867
|
thankYouMessage?: ThankYouMessageNonNullableFields;
|
|
3844
3868
|
redirect?: RedirectNonNullableFields;
|
|
3845
3869
|
}
|
|
3846
|
-
interface EmailInfoNonNullableFields {
|
|
3847
|
-
tag: EmailInfoTag;
|
|
3848
|
-
}
|
|
3849
|
-
interface PhoneInfoNonNullableFields {
|
|
3850
|
-
tag: PhoneInfoTag;
|
|
3851
|
-
}
|
|
3852
|
-
interface AddressInfoNonNullableFields {
|
|
3853
|
-
tag: Tag;
|
|
3854
|
-
}
|
|
3855
|
-
interface CustomFieldInfoNonNullableFields {
|
|
3856
|
-
key: string;
|
|
3857
|
-
}
|
|
3858
|
-
interface SubscriptionInfoNonNullableFields {
|
|
3859
|
-
optInLevel: OptInLevel$1;
|
|
3860
|
-
}
|
|
3861
|
-
interface FormFieldContactInfoNonNullableFields {
|
|
3862
|
-
emailInfo?: EmailInfoNonNullableFields;
|
|
3863
|
-
phoneInfo?: PhoneInfoNonNullableFields;
|
|
3864
|
-
addressInfo?: AddressInfoNonNullableFields;
|
|
3865
|
-
customFieldInfo?: CustomFieldInfoNonNullableFields;
|
|
3866
|
-
subscriptionInfo?: SubscriptionInfoNonNullableFields;
|
|
3867
|
-
contactField: ContactField;
|
|
3868
|
-
}
|
|
3869
3870
|
interface FormFieldV2NonNullableFields {
|
|
3870
3871
|
inputOptions?: InputFieldNonNullableFields;
|
|
3871
3872
|
displayOptions?: DisplayFieldNonNullableFields;
|
|
@@ -3873,7 +3874,6 @@ interface FormFieldV2NonNullableFields {
|
|
|
3873
3874
|
_id: string;
|
|
3874
3875
|
hidden: boolean;
|
|
3875
3876
|
fieldType: FieldType;
|
|
3876
|
-
contactMapping?: FormFieldContactInfoNonNullableFields;
|
|
3877
3877
|
}
|
|
3878
3878
|
interface ItemLayoutNonNullableFields {
|
|
3879
3879
|
fieldId: string;
|
|
@@ -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;
|
|
@@ -3811,6 +3811,29 @@ interface InputFieldMultilineAddressNonNullableFields {
|
|
|
3811
3811
|
componentType: MultilineAddressComponentType;
|
|
3812
3812
|
validation?: MultilineAddressValidationNonNullableFields;
|
|
3813
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
|
+
}
|
|
3814
3837
|
interface InputFieldNonNullableFields {
|
|
3815
3838
|
stringOptions?: _StringNonNullableFields;
|
|
3816
3839
|
numberOptions?: _NumberNonNullableFields;
|
|
@@ -3822,6 +3845,7 @@ interface InputFieldNonNullableFields {
|
|
|
3822
3845
|
pii: boolean;
|
|
3823
3846
|
required: boolean;
|
|
3824
3847
|
inputType: InputType;
|
|
3848
|
+
contactMapping?: FormFieldContactInfoNonNullableFields;
|
|
3825
3849
|
}
|
|
3826
3850
|
interface HeaderNonNullableFields {
|
|
3827
3851
|
content?: RichContentNonNullableFields;
|
|
@@ -3843,29 +3867,6 @@ interface SubmitButtonNonNullableFields {
|
|
|
3843
3867
|
thankYouMessage?: ThankYouMessageNonNullableFields;
|
|
3844
3868
|
redirect?: RedirectNonNullableFields;
|
|
3845
3869
|
}
|
|
3846
|
-
interface EmailInfoNonNullableFields {
|
|
3847
|
-
tag: EmailInfoTag;
|
|
3848
|
-
}
|
|
3849
|
-
interface PhoneInfoNonNullableFields {
|
|
3850
|
-
tag: PhoneInfoTag;
|
|
3851
|
-
}
|
|
3852
|
-
interface AddressInfoNonNullableFields {
|
|
3853
|
-
tag: Tag;
|
|
3854
|
-
}
|
|
3855
|
-
interface CustomFieldInfoNonNullableFields {
|
|
3856
|
-
key: string;
|
|
3857
|
-
}
|
|
3858
|
-
interface SubscriptionInfoNonNullableFields {
|
|
3859
|
-
optInLevel: OptInLevel$1;
|
|
3860
|
-
}
|
|
3861
|
-
interface FormFieldContactInfoNonNullableFields {
|
|
3862
|
-
emailInfo?: EmailInfoNonNullableFields;
|
|
3863
|
-
phoneInfo?: PhoneInfoNonNullableFields;
|
|
3864
|
-
addressInfo?: AddressInfoNonNullableFields;
|
|
3865
|
-
customFieldInfo?: CustomFieldInfoNonNullableFields;
|
|
3866
|
-
subscriptionInfo?: SubscriptionInfoNonNullableFields;
|
|
3867
|
-
contactField: ContactField;
|
|
3868
|
-
}
|
|
3869
3870
|
interface FormFieldV2NonNullableFields {
|
|
3870
3871
|
inputOptions?: InputFieldNonNullableFields;
|
|
3871
3872
|
displayOptions?: DisplayFieldNonNullableFields;
|
|
@@ -3873,7 +3874,6 @@ interface FormFieldV2NonNullableFields {
|
|
|
3873
3874
|
_id: string;
|
|
3874
3875
|
hidden: boolean;
|
|
3875
3876
|
fieldType: FieldType;
|
|
3876
|
-
contactMapping?: FormFieldContactInfoNonNullableFields;
|
|
3877
3877
|
}
|
|
3878
3878
|
interface ItemLayoutNonNullableFields {
|
|
3879
3879
|
fieldId: string;
|
|
@@ -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;
|
|
@@ -3669,6 +3669,29 @@ interface InputFieldMultilineAddressNonNullableFields$1 {
|
|
|
3669
3669
|
componentType: MultilineAddressComponentType$1;
|
|
3670
3670
|
validation?: MultilineAddressValidationNonNullableFields$1;
|
|
3671
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
|
+
}
|
|
3672
3695
|
interface InputFieldNonNullableFields$1 {
|
|
3673
3696
|
stringOptions?: _StringNonNullableFields$1;
|
|
3674
3697
|
numberOptions?: _NumberNonNullableFields$1;
|
|
@@ -3680,6 +3703,7 @@ interface InputFieldNonNullableFields$1 {
|
|
|
3680
3703
|
pii: boolean;
|
|
3681
3704
|
required: boolean;
|
|
3682
3705
|
inputType: InputType$1;
|
|
3706
|
+
contactMapping?: FormFieldContactInfoNonNullableFields$1;
|
|
3683
3707
|
}
|
|
3684
3708
|
interface HeaderNonNullableFields$1 {
|
|
3685
3709
|
content?: RichContentNonNullableFields$1;
|
|
@@ -3701,29 +3725,6 @@ interface SubmitButtonNonNullableFields$1 {
|
|
|
3701
3725
|
thankYouMessage?: ThankYouMessageNonNullableFields$1;
|
|
3702
3726
|
redirect?: RedirectNonNullableFields$1;
|
|
3703
3727
|
}
|
|
3704
|
-
interface EmailInfoNonNullableFields$1 {
|
|
3705
|
-
tag: EmailInfoTag$1;
|
|
3706
|
-
}
|
|
3707
|
-
interface PhoneInfoNonNullableFields$1 {
|
|
3708
|
-
tag: PhoneInfoTag$1;
|
|
3709
|
-
}
|
|
3710
|
-
interface AddressInfoNonNullableFields$1 {
|
|
3711
|
-
tag: Tag$1;
|
|
3712
|
-
}
|
|
3713
|
-
interface CustomFieldInfoNonNullableFields$1 {
|
|
3714
|
-
key: string;
|
|
3715
|
-
}
|
|
3716
|
-
interface SubscriptionInfoNonNullableFields$1 {
|
|
3717
|
-
optInLevel: OptInLevel$1;
|
|
3718
|
-
}
|
|
3719
|
-
interface FormFieldContactInfoNonNullableFields$1 {
|
|
3720
|
-
emailInfo?: EmailInfoNonNullableFields$1;
|
|
3721
|
-
phoneInfo?: PhoneInfoNonNullableFields$1;
|
|
3722
|
-
addressInfo?: AddressInfoNonNullableFields$1;
|
|
3723
|
-
customFieldInfo?: CustomFieldInfoNonNullableFields$1;
|
|
3724
|
-
subscriptionInfo?: SubscriptionInfoNonNullableFields$1;
|
|
3725
|
-
contactField: ContactField$1;
|
|
3726
|
-
}
|
|
3727
3728
|
interface FormFieldV2NonNullableFields$1 {
|
|
3728
3729
|
inputOptions?: InputFieldNonNullableFields$1;
|
|
3729
3730
|
displayOptions?: DisplayFieldNonNullableFields$1;
|
|
@@ -3731,7 +3732,6 @@ interface FormFieldV2NonNullableFields$1 {
|
|
|
3731
3732
|
id: string;
|
|
3732
3733
|
hidden: boolean;
|
|
3733
3734
|
fieldType: FieldType$1;
|
|
3734
|
-
contactMapping?: FormFieldContactInfoNonNullableFields$1;
|
|
3735
3735
|
}
|
|
3736
3736
|
interface ItemLayoutNonNullableFields$1 {
|
|
3737
3737
|
fieldId: string;
|
|
@@ -4318,8 +4318,6 @@ interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
|
|
|
4318
4318
|
* @readonly
|
|
4319
4319
|
*/
|
|
4320
4320
|
fieldType?: FieldType;
|
|
4321
|
-
/** Mapping to contacts, telling to what contact property field input value should be saved. */
|
|
4322
|
-
contactMapping?: FormFieldContactInfo;
|
|
4323
4321
|
}
|
|
4324
4322
|
/** @oneof */
|
|
4325
4323
|
interface FormFieldV2FieldTypeOptionsOneOf {
|
|
@@ -6192,6 +6190,87 @@ declare enum InputType {
|
|
|
6192
6190
|
PAYMENT = "PAYMENT",
|
|
6193
6191
|
MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
|
|
6194
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
|
+
}
|
|
6195
6274
|
interface _String extends _StringComponentTypeOptionsOneOf {
|
|
6196
6275
|
/** Text input field */
|
|
6197
6276
|
textInputOptions?: TextInput;
|
|
@@ -6409,6 +6488,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
|
|
|
6409
6488
|
* @readonly
|
|
6410
6489
|
*/
|
|
6411
6490
|
inputType?: InputType;
|
|
6491
|
+
/** Mapping to contacts, telling to what contact property field input value should be saved. */
|
|
6492
|
+
contactMapping?: FormFieldContactInfo;
|
|
6412
6493
|
}
|
|
6413
6494
|
/** @oneof */
|
|
6414
6495
|
interface InputFieldInputTypeOptionsOneOf {
|
|
@@ -6461,87 +6542,6 @@ interface SubmitButtonSubmitActionOneOf {
|
|
|
6461
6542
|
/** Submit action effect is to redirect to */
|
|
6462
6543
|
redirect?: Redirect;
|
|
6463
6544
|
}
|
|
6464
|
-
interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
|
|
6465
|
-
/** Email info. */
|
|
6466
|
-
emailInfo?: EmailInfo;
|
|
6467
|
-
/** Phone info. */
|
|
6468
|
-
phoneInfo?: PhoneInfo;
|
|
6469
|
-
/** Address info. */
|
|
6470
|
-
addressInfo?: AddressInfo;
|
|
6471
|
-
/** Custom field info. */
|
|
6472
|
-
customFieldInfo?: CustomFieldInfo;
|
|
6473
|
-
/** Subscription info */
|
|
6474
|
-
subscriptionInfo?: SubscriptionInfo;
|
|
6475
|
-
/** Field mapped to contacts. */
|
|
6476
|
-
contactField?: ContactField;
|
|
6477
|
-
}
|
|
6478
|
-
/** @oneof */
|
|
6479
|
-
interface FormFieldContactInfoAdditionalInfoOneOf {
|
|
6480
|
-
/** Email info. */
|
|
6481
|
-
emailInfo?: EmailInfo;
|
|
6482
|
-
/** Phone info. */
|
|
6483
|
-
phoneInfo?: PhoneInfo;
|
|
6484
|
-
/** Address info. */
|
|
6485
|
-
addressInfo?: AddressInfo;
|
|
6486
|
-
/** Custom field info. */
|
|
6487
|
-
customFieldInfo?: CustomFieldInfo;
|
|
6488
|
-
/** Subscription info */
|
|
6489
|
-
subscriptionInfo?: SubscriptionInfo;
|
|
6490
|
-
}
|
|
6491
|
-
declare enum EmailInfoTag {
|
|
6492
|
-
UNTAGGED = "UNTAGGED",
|
|
6493
|
-
MAIN = "MAIN"
|
|
6494
|
-
}
|
|
6495
|
-
declare enum PhoneInfoTag {
|
|
6496
|
-
UNTAGGED = "UNTAGGED",
|
|
6497
|
-
MAIN = "MAIN"
|
|
6498
|
-
}
|
|
6499
|
-
declare enum Tag {
|
|
6500
|
-
UNTAGGED = "UNTAGGED",
|
|
6501
|
-
HOME = "HOME"
|
|
6502
|
-
}
|
|
6503
|
-
declare enum OptInLevel {
|
|
6504
|
-
UNKNOWN = "UNKNOWN",
|
|
6505
|
-
SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
|
|
6506
|
-
DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
|
|
6507
|
-
}
|
|
6508
|
-
declare enum ContactField {
|
|
6509
|
-
UNDEFINED = "UNDEFINED",
|
|
6510
|
-
FIRST_NAME = "FIRST_NAME",
|
|
6511
|
-
LAST_NAME = "LAST_NAME",
|
|
6512
|
-
COMPANY = "COMPANY",
|
|
6513
|
-
POSITION = "POSITION",
|
|
6514
|
-
EMAIL = "EMAIL",
|
|
6515
|
-
PHONE = "PHONE",
|
|
6516
|
-
ADDRESS = "ADDRESS",
|
|
6517
|
-
BIRTHDATE = "BIRTHDATE",
|
|
6518
|
-
CUSTOM_FIELD = "CUSTOM_FIELD",
|
|
6519
|
-
SUBSCRIPTION = "SUBSCRIPTION",
|
|
6520
|
-
VAT_ID = "VAT_ID"
|
|
6521
|
-
}
|
|
6522
|
-
interface EmailInfo {
|
|
6523
|
-
/** Email tag. */
|
|
6524
|
-
tag?: EmailInfoTag;
|
|
6525
|
-
}
|
|
6526
|
-
interface PhoneInfo {
|
|
6527
|
-
/** Phone tag. */
|
|
6528
|
-
tag?: PhoneInfoTag;
|
|
6529
|
-
}
|
|
6530
|
-
interface AddressInfo {
|
|
6531
|
-
/** Address tag. */
|
|
6532
|
-
tag?: Tag;
|
|
6533
|
-
}
|
|
6534
|
-
interface CustomFieldInfo {
|
|
6535
|
-
/** Custom field key. */
|
|
6536
|
-
key?: string;
|
|
6537
|
-
}
|
|
6538
|
-
interface SubscriptionInfo {
|
|
6539
|
-
/**
|
|
6540
|
-
* Subscription consent opt in level, either single or double confirmation.
|
|
6541
|
-
* Default: SINGLE_CONFIRMATION
|
|
6542
|
-
*/
|
|
6543
|
-
optInLevel?: OptInLevel;
|
|
6544
|
-
}
|
|
6545
6545
|
interface Step {
|
|
6546
6546
|
/** Step ID. */
|
|
6547
6547
|
_id?: string;
|
|
@@ -7497,6 +7497,29 @@ interface InputFieldMultilineAddressNonNullableFields {
|
|
|
7497
7497
|
componentType: MultilineAddressComponentType;
|
|
7498
7498
|
validation?: MultilineAddressValidationNonNullableFields;
|
|
7499
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
|
+
}
|
|
7500
7523
|
interface InputFieldNonNullableFields {
|
|
7501
7524
|
stringOptions?: _StringNonNullableFields;
|
|
7502
7525
|
numberOptions?: _NumberNonNullableFields;
|
|
@@ -7508,6 +7531,7 @@ interface InputFieldNonNullableFields {
|
|
|
7508
7531
|
pii: boolean;
|
|
7509
7532
|
required: boolean;
|
|
7510
7533
|
inputType: InputType;
|
|
7534
|
+
contactMapping?: FormFieldContactInfoNonNullableFields;
|
|
7511
7535
|
}
|
|
7512
7536
|
interface HeaderNonNullableFields {
|
|
7513
7537
|
content?: RichContentNonNullableFields;
|
|
@@ -7529,29 +7553,6 @@ interface SubmitButtonNonNullableFields {
|
|
|
7529
7553
|
thankYouMessage?: ThankYouMessageNonNullableFields;
|
|
7530
7554
|
redirect?: RedirectNonNullableFields;
|
|
7531
7555
|
}
|
|
7532
|
-
interface EmailInfoNonNullableFields {
|
|
7533
|
-
tag: EmailInfoTag;
|
|
7534
|
-
}
|
|
7535
|
-
interface PhoneInfoNonNullableFields {
|
|
7536
|
-
tag: PhoneInfoTag;
|
|
7537
|
-
}
|
|
7538
|
-
interface AddressInfoNonNullableFields {
|
|
7539
|
-
tag: Tag;
|
|
7540
|
-
}
|
|
7541
|
-
interface CustomFieldInfoNonNullableFields {
|
|
7542
|
-
key: string;
|
|
7543
|
-
}
|
|
7544
|
-
interface SubscriptionInfoNonNullableFields {
|
|
7545
|
-
optInLevel: OptInLevel;
|
|
7546
|
-
}
|
|
7547
|
-
interface FormFieldContactInfoNonNullableFields {
|
|
7548
|
-
emailInfo?: EmailInfoNonNullableFields;
|
|
7549
|
-
phoneInfo?: PhoneInfoNonNullableFields;
|
|
7550
|
-
addressInfo?: AddressInfoNonNullableFields;
|
|
7551
|
-
customFieldInfo?: CustomFieldInfoNonNullableFields;
|
|
7552
|
-
subscriptionInfo?: SubscriptionInfoNonNullableFields;
|
|
7553
|
-
contactField: ContactField;
|
|
7554
|
-
}
|
|
7555
7556
|
interface FormFieldV2NonNullableFields {
|
|
7556
7557
|
inputOptions?: InputFieldNonNullableFields;
|
|
7557
7558
|
displayOptions?: DisplayFieldNonNullableFields;
|
|
@@ -7559,7 +7560,6 @@ interface FormFieldV2NonNullableFields {
|
|
|
7559
7560
|
_id: string;
|
|
7560
7561
|
hidden: boolean;
|
|
7561
7562
|
fieldType: FieldType;
|
|
7562
|
-
contactMapping?: FormFieldContactInfoNonNullableFields;
|
|
7563
7563
|
}
|
|
7564
7564
|
interface ItemLayoutNonNullableFields {
|
|
7565
7565
|
fieldId: string;
|