@wix/forms 1.0.111 → 1.0.113
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.
|
@@ -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;
|
|
@@ -7844,7 +7844,7 @@ interface ExtendedFields$3 {
|
|
|
7844
7844
|
namespaces?: Record<string, Record<string, any>>;
|
|
7845
7845
|
}
|
|
7846
7846
|
declare enum SubmissionStatus$3 {
|
|
7847
|
-
|
|
7847
|
+
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
7848
7848
|
PENDING = "PENDING",
|
|
7849
7849
|
CONFIRMED = "CONFIRMED",
|
|
7850
7850
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
@@ -7857,10 +7857,6 @@ interface OrderDetails$3 {
|
|
|
7857
7857
|
*/
|
|
7858
7858
|
checkoutId?: string;
|
|
7859
7859
|
}
|
|
7860
|
-
interface CheckForSpamRequest$1 {
|
|
7861
|
-
/** Form submission. */
|
|
7862
|
-
submission: FormSubmission$3;
|
|
7863
|
-
}
|
|
7864
7860
|
/** Form submission that was created or retrieved. */
|
|
7865
7861
|
interface FormSubmission$3 {
|
|
7866
7862
|
/**
|
|
@@ -7947,6 +7943,10 @@ interface FormSubmissionOrderDetails$1 {
|
|
|
7947
7943
|
*/
|
|
7948
7944
|
checkoutId?: string;
|
|
7949
7945
|
}
|
|
7946
|
+
interface CheckForSpamRequest$1 {
|
|
7947
|
+
/** Form submission. */
|
|
7948
|
+
submission: FormSubmission$3;
|
|
7949
|
+
}
|
|
7950
7950
|
interface CheckForSpamResponse$1 {
|
|
7951
7951
|
/** Is the submission a spam. */
|
|
7952
7952
|
spam?: boolean;
|
|
@@ -8369,7 +8369,7 @@ interface ExtendedFields$2 {
|
|
|
8369
8369
|
namespaces?: Record<string, Record<string, any>>;
|
|
8370
8370
|
}
|
|
8371
8371
|
declare enum SubmissionStatus$2 {
|
|
8372
|
-
|
|
8372
|
+
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
8373
8373
|
PENDING = "PENDING",
|
|
8374
8374
|
CONFIRMED = "CONFIRMED",
|
|
8375
8375
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
@@ -8382,10 +8382,6 @@ interface OrderDetails$2 {
|
|
|
8382
8382
|
*/
|
|
8383
8383
|
checkoutId?: string;
|
|
8384
8384
|
}
|
|
8385
|
-
interface CheckForSpamRequest {
|
|
8386
|
-
/** Form submission. */
|
|
8387
|
-
submission: FormSubmission$2;
|
|
8388
|
-
}
|
|
8389
8385
|
/** Form submission that was created or retrieved. */
|
|
8390
8386
|
interface FormSubmission$2 {
|
|
8391
8387
|
/**
|
|
@@ -8472,6 +8468,10 @@ interface FormSubmissionOrderDetails {
|
|
|
8472
8468
|
*/
|
|
8473
8469
|
checkoutId?: string;
|
|
8474
8470
|
}
|
|
8471
|
+
interface CheckForSpamRequest {
|
|
8472
|
+
/** Form submission. */
|
|
8473
|
+
submission: FormSubmission$2;
|
|
8474
|
+
}
|
|
8475
8475
|
interface CheckForSpamResponse {
|
|
8476
8476
|
/** Is the submission a spam. */
|
|
8477
8477
|
spam?: boolean;
|
|
@@ -8903,7 +8903,7 @@ interface FormSubmission$1 {
|
|
|
8903
8903
|
contactId?: string | null;
|
|
8904
8904
|
}
|
|
8905
8905
|
declare enum SubmissionStatus$1 {
|
|
8906
|
-
|
|
8906
|
+
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
8907
8907
|
PENDING = "PENDING",
|
|
8908
8908
|
CONFIRMED = "CONFIRMED",
|
|
8909
8909
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
@@ -9573,7 +9573,7 @@ interface FormSubmission {
|
|
|
9573
9573
|
contactId?: string | null;
|
|
9574
9574
|
}
|
|
9575
9575
|
declare enum SubmissionStatus {
|
|
9576
|
-
|
|
9576
|
+
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
9577
9577
|
PENDING = "PENDING",
|
|
9578
9578
|
CONFIRMED = "CONFIRMED",
|
|
9579
9579
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
interface SubmissionContactMapped {
|
|
2
|
+
/**
|
|
3
|
+
* Mapped upserted contact ID.
|
|
4
|
+
* @readonly
|
|
5
|
+
*/
|
|
6
|
+
contactId?: string;
|
|
7
|
+
/** Identifies the namespace that the submission's form belongs to. */
|
|
8
|
+
namespace?: string;
|
|
9
|
+
/** Marketing subscription details */
|
|
10
|
+
marketingSubscriptionDetails?: MarketingSubscriptionDetails;
|
|
11
|
+
}
|
|
12
|
+
interface MarketingSubscriptionDetails {
|
|
13
|
+
/** Form id which was submitted */
|
|
14
|
+
formId?: string;
|
|
15
|
+
/** Mapped contact emails. */
|
|
16
|
+
emails?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* Date and time the form submission was created.
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
submittedDate?: Date;
|
|
22
|
+
/**
|
|
23
|
+
* Subscription consent opt in level, either single or double confirmation.
|
|
24
|
+
* Default: SINGLE_CONFIRMATION
|
|
25
|
+
*/
|
|
26
|
+
optInLevel?: OptInLevel;
|
|
27
|
+
}
|
|
28
|
+
declare enum OptInLevel {
|
|
29
|
+
SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
|
|
30
|
+
DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
|
|
31
|
+
}
|
|
32
|
+
interface SubmissionContactMappingSkipped {
|
|
33
|
+
/** Form Id. */
|
|
34
|
+
formId?: string;
|
|
35
|
+
/** Identifies the namespace that the submission's form belongs to. */
|
|
36
|
+
namespace?: string;
|
|
37
|
+
}
|
|
1
38
|
interface ValidateSubmissionRequest extends ValidateSubmissionRequestActionsOneOf {
|
|
2
39
|
/** Data for updating an existing submission. */
|
|
3
40
|
updateOptions?: UpdateOptions;
|
|
@@ -446,10 +483,15 @@ type context_IdentificationData = IdentificationData;
|
|
|
446
483
|
type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
447
484
|
type context_IdentityType = IdentityType;
|
|
448
485
|
declare const context_IdentityType: typeof IdentityType;
|
|
486
|
+
type context_MarketingSubscriptionDetails = MarketingSubscriptionDetails;
|
|
449
487
|
type context_MessageEnvelope = MessageEnvelope;
|
|
488
|
+
type context_OptInLevel = OptInLevel;
|
|
489
|
+
declare const context_OptInLevel: typeof OptInLevel;
|
|
450
490
|
type context_OrderDetails = OrderDetails;
|
|
451
491
|
type context_RestoreInfo = RestoreInfo;
|
|
452
492
|
type context_SpiBaseUri = SpiBaseUri;
|
|
493
|
+
type context_SubmissionContactMapped = SubmissionContactMapped;
|
|
494
|
+
type context_SubmissionContactMappingSkipped = SubmissionContactMappingSkipped;
|
|
453
495
|
type context_SubmissionErrorType = SubmissionErrorType;
|
|
454
496
|
declare const context_SubmissionErrorType: typeof SubmissionErrorType;
|
|
455
497
|
type context_SubmissionStatus = SubmissionStatus;
|
|
@@ -466,7 +508,7 @@ type context_WebhookIdentityType = WebhookIdentityType;
|
|
|
466
508
|
declare const context_WebhookIdentityType: typeof WebhookIdentityType;
|
|
467
509
|
declare const context_provideHandlers: typeof provideHandlers;
|
|
468
510
|
declare namespace context {
|
|
469
|
-
export { type context_ActionEvent as ActionEvent, context_ActionType as ActionType, type context_AlternativeUri as AlternativeUri, type context_Context as Context, type context_ContextIdentificationData as ContextIdentificationData, type context_ContextIdentificationDataIdOneOf as ContextIdentificationDataIdOneOf, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_ExtendedFields as ExtendedFields, type context_FormSubmission as FormSubmission, type context_FormSubmissionSpiExtensionConfig as FormSubmissionSpiExtensionConfig, type context_FormsSubmissionsExtensionNamespaceConfig as FormsSubmissionsExtensionNamespaceConfig, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_MessageEnvelope as MessageEnvelope, type context_OrderDetails as OrderDetails, type context_RestoreInfo as RestoreInfo, type context_SpiBaseUri as SpiBaseUri, context_SubmissionErrorType as SubmissionErrorType, context_SubmissionStatus as SubmissionStatus, type context_SubmissionValidationError as SubmissionValidationError, type context_SubmissionValidationErrorErrorMessageOneOf as SubmissionValidationErrorErrorMessageOneOf, type context_Submitter as Submitter, type context_SubmitterSubmitterOneOf as SubmitterSubmitterOneOf, type context_UpdateOptions as UpdateOptions, type context_ValidateSubmissionRequest as ValidateSubmissionRequest, type context_ValidateSubmissionRequestActionsOneOf as ValidateSubmissionRequestActionsOneOf, type context_ValidateSubmissionResponse as ValidateSubmissionResponse, context_WebhookIdentityType as WebhookIdentityType, context_provideHandlers as provideHandlers };
|
|
511
|
+
export { type context_ActionEvent as ActionEvent, context_ActionType as ActionType, type context_AlternativeUri as AlternativeUri, type context_Context as Context, type context_ContextIdentificationData as ContextIdentificationData, type context_ContextIdentificationDataIdOneOf as ContextIdentificationDataIdOneOf, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_ExtendedFields as ExtendedFields, type context_FormSubmission as FormSubmission, type context_FormSubmissionSpiExtensionConfig as FormSubmissionSpiExtensionConfig, type context_FormsSubmissionsExtensionNamespaceConfig as FormsSubmissionsExtensionNamespaceConfig, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_MarketingSubscriptionDetails as MarketingSubscriptionDetails, type context_MessageEnvelope as MessageEnvelope, context_OptInLevel as OptInLevel, type context_OrderDetails as OrderDetails, type context_RestoreInfo as RestoreInfo, type context_SpiBaseUri as SpiBaseUri, type context_SubmissionContactMapped as SubmissionContactMapped, type context_SubmissionContactMappingSkipped as SubmissionContactMappingSkipped, context_SubmissionErrorType as SubmissionErrorType, context_SubmissionStatus as SubmissionStatus, type context_SubmissionValidationError as SubmissionValidationError, type context_SubmissionValidationErrorErrorMessageOneOf as SubmissionValidationErrorErrorMessageOneOf, type context_Submitter as Submitter, type context_SubmitterSubmitterOneOf as SubmitterSubmitterOneOf, type context_UpdateOptions as UpdateOptions, type context_ValidateSubmissionRequest as ValidateSubmissionRequest, type context_ValidateSubmissionRequestActionsOneOf as ValidateSubmissionRequestActionsOneOf, type context_ValidateSubmissionResponse as ValidateSubmissionResponse, context_WebhookIdentityType as WebhookIdentityType, context_provideHandlers as provideHandlers };
|
|
470
512
|
}
|
|
471
513
|
|
|
472
514
|
export { context as formSubmissions };
|