@wix/forms 1.0.171 → 1.0.173
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.
|
|
3
|
+
"version": "1.0.173",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"service-plugins"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@wix/forms_form-spam-submission-reports": "1.0.
|
|
26
|
-
"@wix/forms_form-submissions": "1.0.
|
|
27
|
-
"@wix/forms_forms": "1.0.
|
|
28
|
-
"@wix/forms_submissions": "1.0.
|
|
25
|
+
"@wix/forms_form-spam-submission-reports": "1.0.24",
|
|
26
|
+
"@wix/forms_form-submissions": "1.0.31",
|
|
27
|
+
"@wix/forms_forms": "1.0.42",
|
|
28
|
+
"@wix/forms_submissions": "1.0.77"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"glob": "^10.4.1",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": ""
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "64607e6665b7d37ff484aefb1fff095ce3ca1b94d995f446df8452b9"
|
|
54
54
|
}
|
|
@@ -559,6 +559,7 @@ interface Form$1 {
|
|
|
559
559
|
sourceFormId?: string | null;
|
|
560
560
|
}
|
|
561
561
|
declare enum RequiredIndicator$1 {
|
|
562
|
+
/** Unknown required indicator. */
|
|
562
563
|
UNKNOWN_INDICATOR = "UNKNOWN_INDICATOR",
|
|
563
564
|
/** Asterisk (*). */
|
|
564
565
|
ASTERISK = "ASTERISK",
|
|
@@ -568,6 +569,7 @@ declare enum RequiredIndicator$1 {
|
|
|
568
569
|
NONE = "NONE"
|
|
569
570
|
}
|
|
570
571
|
declare enum RequiredIndicatorPlacement$1 {
|
|
572
|
+
/** Unknown required indicator placement. */
|
|
571
573
|
UNKNOWN_PLACEMENT = "UNKNOWN_PLACEMENT",
|
|
572
574
|
/** After field title. */
|
|
573
575
|
AFTER_FIELD_TITLE = "AFTER_FIELD_TITLE",
|
|
@@ -819,13 +821,15 @@ interface PaymentType$1 {
|
|
|
819
821
|
maxItems?: number | null;
|
|
820
822
|
}
|
|
821
823
|
declare enum ProductType$1 {
|
|
824
|
+
/** Unknown product type. */
|
|
822
825
|
UNKNOWN = "UNKNOWN",
|
|
823
|
-
/** Shippable (physical). */
|
|
826
|
+
/** Shippable (physical) product. */
|
|
824
827
|
SHIPPABLE = "SHIPPABLE",
|
|
825
|
-
/** Digital. */
|
|
828
|
+
/** Digital product. */
|
|
826
829
|
DIGITAL = "DIGITAL"
|
|
827
830
|
}
|
|
828
831
|
declare enum PriceType$1 {
|
|
832
|
+
/** Unknown price type. */
|
|
829
833
|
UNKNOWN = "UNKNOWN",
|
|
830
834
|
/** Fixed price. */
|
|
831
835
|
FIXED_PRICE = "FIXED_PRICE",
|
|
@@ -2363,10 +2367,15 @@ interface RadioGroupCustomOption$1 {
|
|
|
2363
2367
|
placeholder?: string | null;
|
|
2364
2368
|
}
|
|
2365
2369
|
declare enum NumberOfColumns$1 {
|
|
2370
|
+
/** Undefined number of columns. */
|
|
2366
2371
|
UNKNOWN = "UNKNOWN",
|
|
2372
|
+
/** Zero columns. */
|
|
2367
2373
|
ZERO = "ZERO",
|
|
2374
|
+
/** One column. */
|
|
2368
2375
|
ONE = "ONE",
|
|
2376
|
+
/** Two columns. */
|
|
2369
2377
|
TWO = "TWO",
|
|
2378
|
+
/** Three columns. */
|
|
2370
2379
|
THREE = "THREE"
|
|
2371
2380
|
}
|
|
2372
2381
|
interface Dropdown$1 {
|
|
@@ -2496,7 +2505,9 @@ interface DatePicker$1 {
|
|
|
2496
2505
|
firstDayOfWeek?: FirstDayOfWeek$1;
|
|
2497
2506
|
}
|
|
2498
2507
|
declare enum FirstDayOfWeek$1 {
|
|
2508
|
+
/** First day of the week is Monday. */
|
|
2499
2509
|
MONDAY = "MONDAY",
|
|
2510
|
+
/** First day of the week is Sunday. */
|
|
2500
2511
|
SUNDAY = "SUNDAY"
|
|
2501
2512
|
}
|
|
2502
2513
|
interface InputFieldNumberType$1 {
|
|
@@ -2798,16 +2809,17 @@ interface FileUpload$1 {
|
|
|
2798
2809
|
explanationText?: string | null;
|
|
2799
2810
|
}
|
|
2800
2811
|
declare enum UploadFileFormat$1 {
|
|
2812
|
+
/** Undefined upload file format. */
|
|
2801
2813
|
UNDEFINED = "UNDEFINED",
|
|
2802
|
-
/** Video files */
|
|
2814
|
+
/** Video files. */
|
|
2803
2815
|
VIDEO = "VIDEO",
|
|
2804
|
-
/** Image files */
|
|
2816
|
+
/** Image files. */
|
|
2805
2817
|
IMAGE = "IMAGE",
|
|
2806
|
-
/** Audio files */
|
|
2818
|
+
/** Audio files. */
|
|
2807
2819
|
AUDIO = "AUDIO",
|
|
2808
|
-
/** Document files */
|
|
2820
|
+
/** Document files. */
|
|
2809
2821
|
DOCUMENT = "DOCUMENT",
|
|
2810
|
-
/** Archive files */
|
|
2822
|
+
/** Archive files. */
|
|
2811
2823
|
ARCHIVE = "ARCHIVE"
|
|
2812
2824
|
}
|
|
2813
2825
|
interface Signature$1 {
|
|
@@ -2934,8 +2946,9 @@ interface MultilineAddress$1 {
|
|
|
2934
2946
|
autocompleteEnabled?: boolean;
|
|
2935
2947
|
}
|
|
2936
2948
|
declare enum Type$1 {
|
|
2949
|
+
/** Unknown default country config type. */
|
|
2937
2950
|
UNKNOWN_DEFAULT_COUNTRY = "UNKNOWN_DEFAULT_COUNTRY",
|
|
2938
|
-
/** Country
|
|
2951
|
+
/** Country is determined by customer's IP address. */
|
|
2939
2952
|
BY_IP = "BY_IP",
|
|
2940
2953
|
/** Pre-selected default country. */
|
|
2941
2954
|
COUNTRY = "COUNTRY"
|
|
@@ -3231,10 +3244,11 @@ interface RichText$1 {
|
|
|
3231
3244
|
content?: RichContent$1;
|
|
3232
3245
|
}
|
|
3233
3246
|
declare enum Target$1 {
|
|
3247
|
+
/** Undefined target. */
|
|
3234
3248
|
UNDEFINED = "UNDEFINED",
|
|
3235
|
-
/**
|
|
3249
|
+
/** Open in the same browser tab. */
|
|
3236
3250
|
SELF = "SELF",
|
|
3237
|
-
/**
|
|
3251
|
+
/** Open in a new tab. */
|
|
3238
3252
|
BLANK = "BLANK"
|
|
3239
3253
|
}
|
|
3240
3254
|
interface ThankYouMessage$1 {
|
|
@@ -3482,7 +3496,9 @@ interface FormProperties$1 {
|
|
|
3482
3496
|
disabled?: boolean;
|
|
3483
3497
|
}
|
|
3484
3498
|
declare enum Kind$1 {
|
|
3499
|
+
/** Return forms specific to tenant, excluding template based forms. */
|
|
3485
3500
|
REGULAR = "REGULAR",
|
|
3501
|
+
/** Return forms based on common templates, with applied user overrides if they exist. */
|
|
3486
3502
|
EXTENSION = "EXTENSION"
|
|
3487
3503
|
}
|
|
3488
3504
|
interface PostSubmissionTriggers$1 {
|
|
@@ -3523,6 +3539,7 @@ interface LimitationRule$1 {
|
|
|
3523
3539
|
dateTimeDeadline?: Date | null;
|
|
3524
3540
|
}
|
|
3525
3541
|
declare enum SpamFilterProtectionLevel$1 {
|
|
3542
|
+
/** Unknown spam filter protection level. */
|
|
3526
3543
|
UNKNOWN = "UNKNOWN",
|
|
3527
3544
|
/** Spam filter is not used. Form is open for spam submissions. */
|
|
3528
3545
|
NONE = "NONE",
|
|
@@ -3553,6 +3570,7 @@ interface SubmitSettingsSubmitSuccessActionOptionsOneOf$1 {
|
|
|
3553
3570
|
redirectOptions?: RedirectOptions$1;
|
|
3554
3571
|
}
|
|
3555
3572
|
declare enum UrlTargetEnumTarget$1 {
|
|
3573
|
+
/** Unknown target. */
|
|
3556
3574
|
UNKNOWN_TARGET = "UNKNOWN_TARGET",
|
|
3557
3575
|
/** Open in the same browser tab. */
|
|
3558
3576
|
SELF = "SELF",
|
|
@@ -3560,6 +3578,7 @@ declare enum UrlTargetEnumTarget$1 {
|
|
|
3560
3578
|
BLANK = "BLANK"
|
|
3561
3579
|
}
|
|
3562
3580
|
declare enum SubmitSuccessAction$1 {
|
|
3581
|
+
/** Unknown submit success action. */
|
|
3563
3582
|
UNKNOWN_SUBMIT_SUCCESS_ACTION = "UNKNOWN_SUBMIT_SUCCESS_ACTION",
|
|
3564
3583
|
/** No action will be taken after submission. */
|
|
3565
3584
|
NO_ACTION = "NO_ACTION",
|
|
@@ -5452,9 +5471,13 @@ interface ExtendedFields$1 {
|
|
|
5452
5471
|
}
|
|
5453
5472
|
declare enum SubmissionStatus$1 {
|
|
5454
5473
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
5474
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
5455
5475
|
PENDING = "PENDING",
|
|
5476
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
5456
5477
|
CONFIRMED = "CONFIRMED",
|
|
5478
|
+
/** A form submission requiring payment is created. */
|
|
5457
5479
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
5480
|
+
/** An order of a form submission is canceled. */
|
|
5458
5481
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
5459
5482
|
}
|
|
5460
5483
|
interface OrderDetails$1 {
|
|
@@ -5482,13 +5505,7 @@ interface FormSubmission$1 {
|
|
|
5482
5505
|
* @readonly
|
|
5483
5506
|
*/
|
|
5484
5507
|
namespace?: string;
|
|
5485
|
-
/**
|
|
5486
|
-
* Status of the submission.
|
|
5487
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
5488
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
5489
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
5490
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
5491
|
-
*/
|
|
5508
|
+
/** Status of the submission. */
|
|
5492
5509
|
status?: SubmissionStatus$1;
|
|
5493
5510
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
5494
5511
|
submissions?: Record<string, any>;
|
|
@@ -6330,13 +6347,7 @@ interface FormSubmission {
|
|
|
6330
6347
|
* @readonly
|
|
6331
6348
|
*/
|
|
6332
6349
|
namespace?: string;
|
|
6333
|
-
/**
|
|
6334
|
-
* Status of the submission.
|
|
6335
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
6336
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
6337
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
6338
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
6339
|
-
*/
|
|
6350
|
+
/** Status of the submission. */
|
|
6340
6351
|
status?: SubmissionStatus;
|
|
6341
6352
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
6342
6353
|
submissions?: Record<string, any>;
|
|
@@ -6371,9 +6382,13 @@ interface FormSubmission {
|
|
|
6371
6382
|
}
|
|
6372
6383
|
declare enum SubmissionStatus {
|
|
6373
6384
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
6385
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
6374
6386
|
PENDING = "PENDING",
|
|
6387
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
6375
6388
|
CONFIRMED = "CONFIRMED",
|
|
6389
|
+
/** A form submission requiring payment is created. */
|
|
6376
6390
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
6391
|
+
/** An order of a form submission is canceled. */
|
|
6377
6392
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
6378
6393
|
}
|
|
6379
6394
|
interface Submitter extends SubmitterSubmitterOneOf {
|
|
@@ -6473,7 +6488,9 @@ interface MarketingSubscriptionDetails {
|
|
|
6473
6488
|
optInLevel?: OptInLevel;
|
|
6474
6489
|
}
|
|
6475
6490
|
declare enum OptInLevel {
|
|
6491
|
+
/** Single confirmation. */
|
|
6476
6492
|
SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
|
|
6493
|
+
/** Double confirmation. */
|
|
6477
6494
|
DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
|
|
6478
6495
|
}
|
|
6479
6496
|
interface SubmissionContactMappingSkipped {
|
|
@@ -6581,6 +6598,7 @@ interface Form {
|
|
|
6581
6598
|
sourceFormId?: string | null;
|
|
6582
6599
|
}
|
|
6583
6600
|
declare enum RequiredIndicator {
|
|
6601
|
+
/** Unknown required indicator. */
|
|
6584
6602
|
UNKNOWN_INDICATOR = "UNKNOWN_INDICATOR",
|
|
6585
6603
|
/** Asterisk (*). */
|
|
6586
6604
|
ASTERISK = "ASTERISK",
|
|
@@ -6590,6 +6608,7 @@ declare enum RequiredIndicator {
|
|
|
6590
6608
|
NONE = "NONE"
|
|
6591
6609
|
}
|
|
6592
6610
|
declare enum RequiredIndicatorPlacement {
|
|
6611
|
+
/** Unknown required indicator placement. */
|
|
6593
6612
|
UNKNOWN_PLACEMENT = "UNKNOWN_PLACEMENT",
|
|
6594
6613
|
/** After field title. */
|
|
6595
6614
|
AFTER_FIELD_TITLE = "AFTER_FIELD_TITLE",
|
|
@@ -6841,13 +6860,15 @@ interface PaymentType {
|
|
|
6841
6860
|
maxItems?: number | null;
|
|
6842
6861
|
}
|
|
6843
6862
|
declare enum ProductType {
|
|
6863
|
+
/** Unknown product type. */
|
|
6844
6864
|
UNKNOWN = "UNKNOWN",
|
|
6845
|
-
/** Shippable (physical). */
|
|
6865
|
+
/** Shippable (physical) product. */
|
|
6846
6866
|
SHIPPABLE = "SHIPPABLE",
|
|
6847
|
-
/** Digital. */
|
|
6867
|
+
/** Digital product. */
|
|
6848
6868
|
DIGITAL = "DIGITAL"
|
|
6849
6869
|
}
|
|
6850
6870
|
declare enum PriceType {
|
|
6871
|
+
/** Unknown price type. */
|
|
6851
6872
|
UNKNOWN = "UNKNOWN",
|
|
6852
6873
|
/** Fixed price. */
|
|
6853
6874
|
FIXED_PRICE = "FIXED_PRICE",
|
|
@@ -8385,10 +8406,15 @@ interface RadioGroupCustomOption {
|
|
|
8385
8406
|
placeholder?: string | null;
|
|
8386
8407
|
}
|
|
8387
8408
|
declare enum NumberOfColumns {
|
|
8409
|
+
/** Undefined number of columns. */
|
|
8388
8410
|
UNKNOWN = "UNKNOWN",
|
|
8411
|
+
/** Zero columns. */
|
|
8389
8412
|
ZERO = "ZERO",
|
|
8413
|
+
/** One column. */
|
|
8390
8414
|
ONE = "ONE",
|
|
8415
|
+
/** Two columns. */
|
|
8391
8416
|
TWO = "TWO",
|
|
8417
|
+
/** Three columns. */
|
|
8392
8418
|
THREE = "THREE"
|
|
8393
8419
|
}
|
|
8394
8420
|
interface Dropdown {
|
|
@@ -8518,7 +8544,9 @@ interface DatePicker {
|
|
|
8518
8544
|
firstDayOfWeek?: FirstDayOfWeek;
|
|
8519
8545
|
}
|
|
8520
8546
|
declare enum FirstDayOfWeek {
|
|
8547
|
+
/** First day of the week is Monday. */
|
|
8521
8548
|
MONDAY = "MONDAY",
|
|
8549
|
+
/** First day of the week is Sunday. */
|
|
8522
8550
|
SUNDAY = "SUNDAY"
|
|
8523
8551
|
}
|
|
8524
8552
|
interface InputFieldNumberType {
|
|
@@ -8820,16 +8848,17 @@ interface FileUpload {
|
|
|
8820
8848
|
explanationText?: string | null;
|
|
8821
8849
|
}
|
|
8822
8850
|
declare enum UploadFileFormat {
|
|
8851
|
+
/** Undefined upload file format. */
|
|
8823
8852
|
UNDEFINED = "UNDEFINED",
|
|
8824
|
-
/** Video files */
|
|
8853
|
+
/** Video files. */
|
|
8825
8854
|
VIDEO = "VIDEO",
|
|
8826
|
-
/** Image files */
|
|
8855
|
+
/** Image files. */
|
|
8827
8856
|
IMAGE = "IMAGE",
|
|
8828
|
-
/** Audio files */
|
|
8857
|
+
/** Audio files. */
|
|
8829
8858
|
AUDIO = "AUDIO",
|
|
8830
|
-
/** Document files */
|
|
8859
|
+
/** Document files. */
|
|
8831
8860
|
DOCUMENT = "DOCUMENT",
|
|
8832
|
-
/** Archive files */
|
|
8861
|
+
/** Archive files. */
|
|
8833
8862
|
ARCHIVE = "ARCHIVE"
|
|
8834
8863
|
}
|
|
8835
8864
|
interface Signature {
|
|
@@ -8956,8 +8985,9 @@ interface MultilineAddress {
|
|
|
8956
8985
|
autocompleteEnabled?: boolean;
|
|
8957
8986
|
}
|
|
8958
8987
|
declare enum Type {
|
|
8988
|
+
/** Unknown default country config type. */
|
|
8959
8989
|
UNKNOWN_DEFAULT_COUNTRY = "UNKNOWN_DEFAULT_COUNTRY",
|
|
8960
|
-
/** Country
|
|
8990
|
+
/** Country is determined by customer's IP address. */
|
|
8961
8991
|
BY_IP = "BY_IP",
|
|
8962
8992
|
/** Pre-selected default country. */
|
|
8963
8993
|
COUNTRY = "COUNTRY"
|
|
@@ -9253,10 +9283,11 @@ interface RichText {
|
|
|
9253
9283
|
content?: RichContent;
|
|
9254
9284
|
}
|
|
9255
9285
|
declare enum Target {
|
|
9286
|
+
/** Undefined target. */
|
|
9256
9287
|
UNDEFINED = "UNDEFINED",
|
|
9257
|
-
/**
|
|
9288
|
+
/** Open in the same browser tab. */
|
|
9258
9289
|
SELF = "SELF",
|
|
9259
|
-
/**
|
|
9290
|
+
/** Open in a new tab. */
|
|
9260
9291
|
BLANK = "BLANK"
|
|
9261
9292
|
}
|
|
9262
9293
|
interface ThankYouMessage {
|
|
@@ -9504,7 +9535,9 @@ interface FormProperties {
|
|
|
9504
9535
|
disabled?: boolean;
|
|
9505
9536
|
}
|
|
9506
9537
|
declare enum Kind {
|
|
9538
|
+
/** Return forms specific to tenant, excluding template based forms. */
|
|
9507
9539
|
REGULAR = "REGULAR",
|
|
9540
|
+
/** Return forms based on common templates, with applied user overrides if they exist. */
|
|
9508
9541
|
EXTENSION = "EXTENSION"
|
|
9509
9542
|
}
|
|
9510
9543
|
interface PostSubmissionTriggers {
|
|
@@ -9534,6 +9567,7 @@ interface LimitationRule {
|
|
|
9534
9567
|
dateTimeDeadline?: Date | null;
|
|
9535
9568
|
}
|
|
9536
9569
|
declare enum SpamFilterProtectionLevel {
|
|
9570
|
+
/** Unknown spam filter protection level. */
|
|
9537
9571
|
UNKNOWN = "UNKNOWN",
|
|
9538
9572
|
/** Spam filter is not used. Form is open for spam submissions. */
|
|
9539
9573
|
NONE = "NONE",
|
|
@@ -9564,6 +9598,7 @@ interface SubmitSettingsSubmitSuccessActionOptionsOneOf {
|
|
|
9564
9598
|
redirectOptions?: RedirectOptions;
|
|
9565
9599
|
}
|
|
9566
9600
|
declare enum UrlTargetEnumTarget {
|
|
9601
|
+
/** Unknown target. */
|
|
9567
9602
|
UNKNOWN_TARGET = "UNKNOWN_TARGET",
|
|
9568
9603
|
/** Open in the same browser tab. */
|
|
9569
9604
|
SELF = "SELF",
|
|
@@ -9571,6 +9606,7 @@ declare enum UrlTargetEnumTarget {
|
|
|
9571
9606
|
BLANK = "BLANK"
|
|
9572
9607
|
}
|
|
9573
9608
|
declare enum SubmitSuccessAction {
|
|
9609
|
+
/** Unknown submit success action. */
|
|
9574
9610
|
UNKNOWN_SUBMIT_SUCCESS_ACTION = "UNKNOWN_SUBMIT_SUCCESS_ACTION",
|
|
9575
9611
|
/** No action will be taken after submission. */
|
|
9576
9612
|
NO_ACTION = "NO_ACTION",
|
|
@@ -10476,13 +10512,7 @@ interface UpdateSubmission {
|
|
|
10476
10512
|
* @readonly
|
|
10477
10513
|
*/
|
|
10478
10514
|
namespace?: string;
|
|
10479
|
-
/**
|
|
10480
|
-
* Status of the submission.
|
|
10481
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
10482
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
10483
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
10484
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
10485
|
-
*/
|
|
10515
|
+
/** Status of the submission. */
|
|
10486
10516
|
status?: SubmissionStatus;
|
|
10487
10517
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
10488
10518
|
submissions?: Record<string, any>;
|
|
@@ -559,6 +559,7 @@ interface Form$1 {
|
|
|
559
559
|
sourceFormId?: string | null;
|
|
560
560
|
}
|
|
561
561
|
declare enum RequiredIndicator$1 {
|
|
562
|
+
/** Unknown required indicator. */
|
|
562
563
|
UNKNOWN_INDICATOR = "UNKNOWN_INDICATOR",
|
|
563
564
|
/** Asterisk (*). */
|
|
564
565
|
ASTERISK = "ASTERISK",
|
|
@@ -568,6 +569,7 @@ declare enum RequiredIndicator$1 {
|
|
|
568
569
|
NONE = "NONE"
|
|
569
570
|
}
|
|
570
571
|
declare enum RequiredIndicatorPlacement$1 {
|
|
572
|
+
/** Unknown required indicator placement. */
|
|
571
573
|
UNKNOWN_PLACEMENT = "UNKNOWN_PLACEMENT",
|
|
572
574
|
/** After field title. */
|
|
573
575
|
AFTER_FIELD_TITLE = "AFTER_FIELD_TITLE",
|
|
@@ -819,13 +821,15 @@ interface PaymentType$1 {
|
|
|
819
821
|
maxItems?: number | null;
|
|
820
822
|
}
|
|
821
823
|
declare enum ProductType$1 {
|
|
824
|
+
/** Unknown product type. */
|
|
822
825
|
UNKNOWN = "UNKNOWN",
|
|
823
|
-
/** Shippable (physical). */
|
|
826
|
+
/** Shippable (physical) product. */
|
|
824
827
|
SHIPPABLE = "SHIPPABLE",
|
|
825
|
-
/** Digital. */
|
|
828
|
+
/** Digital product. */
|
|
826
829
|
DIGITAL = "DIGITAL"
|
|
827
830
|
}
|
|
828
831
|
declare enum PriceType$1 {
|
|
832
|
+
/** Unknown price type. */
|
|
829
833
|
UNKNOWN = "UNKNOWN",
|
|
830
834
|
/** Fixed price. */
|
|
831
835
|
FIXED_PRICE = "FIXED_PRICE",
|
|
@@ -2363,10 +2367,15 @@ interface RadioGroupCustomOption$1 {
|
|
|
2363
2367
|
placeholder?: string | null;
|
|
2364
2368
|
}
|
|
2365
2369
|
declare enum NumberOfColumns$1 {
|
|
2370
|
+
/** Undefined number of columns. */
|
|
2366
2371
|
UNKNOWN = "UNKNOWN",
|
|
2372
|
+
/** Zero columns. */
|
|
2367
2373
|
ZERO = "ZERO",
|
|
2374
|
+
/** One column. */
|
|
2368
2375
|
ONE = "ONE",
|
|
2376
|
+
/** Two columns. */
|
|
2369
2377
|
TWO = "TWO",
|
|
2378
|
+
/** Three columns. */
|
|
2370
2379
|
THREE = "THREE"
|
|
2371
2380
|
}
|
|
2372
2381
|
interface Dropdown$1 {
|
|
@@ -2496,7 +2505,9 @@ interface DatePicker$1 {
|
|
|
2496
2505
|
firstDayOfWeek?: FirstDayOfWeek$1;
|
|
2497
2506
|
}
|
|
2498
2507
|
declare enum FirstDayOfWeek$1 {
|
|
2508
|
+
/** First day of the week is Monday. */
|
|
2499
2509
|
MONDAY = "MONDAY",
|
|
2510
|
+
/** First day of the week is Sunday. */
|
|
2500
2511
|
SUNDAY = "SUNDAY"
|
|
2501
2512
|
}
|
|
2502
2513
|
interface InputFieldNumberType$1 {
|
|
@@ -2798,16 +2809,17 @@ interface FileUpload$1 {
|
|
|
2798
2809
|
explanationText?: string | null;
|
|
2799
2810
|
}
|
|
2800
2811
|
declare enum UploadFileFormat$1 {
|
|
2812
|
+
/** Undefined upload file format. */
|
|
2801
2813
|
UNDEFINED = "UNDEFINED",
|
|
2802
|
-
/** Video files */
|
|
2814
|
+
/** Video files. */
|
|
2803
2815
|
VIDEO = "VIDEO",
|
|
2804
|
-
/** Image files */
|
|
2816
|
+
/** Image files. */
|
|
2805
2817
|
IMAGE = "IMAGE",
|
|
2806
|
-
/** Audio files */
|
|
2818
|
+
/** Audio files. */
|
|
2807
2819
|
AUDIO = "AUDIO",
|
|
2808
|
-
/** Document files */
|
|
2820
|
+
/** Document files. */
|
|
2809
2821
|
DOCUMENT = "DOCUMENT",
|
|
2810
|
-
/** Archive files */
|
|
2822
|
+
/** Archive files. */
|
|
2811
2823
|
ARCHIVE = "ARCHIVE"
|
|
2812
2824
|
}
|
|
2813
2825
|
interface Signature$1 {
|
|
@@ -2934,8 +2946,9 @@ interface MultilineAddress$1 {
|
|
|
2934
2946
|
autocompleteEnabled?: boolean;
|
|
2935
2947
|
}
|
|
2936
2948
|
declare enum Type$1 {
|
|
2949
|
+
/** Unknown default country config type. */
|
|
2937
2950
|
UNKNOWN_DEFAULT_COUNTRY = "UNKNOWN_DEFAULT_COUNTRY",
|
|
2938
|
-
/** Country
|
|
2951
|
+
/** Country is determined by customer's IP address. */
|
|
2939
2952
|
BY_IP = "BY_IP",
|
|
2940
2953
|
/** Pre-selected default country. */
|
|
2941
2954
|
COUNTRY = "COUNTRY"
|
|
@@ -3231,10 +3244,11 @@ interface RichText$1 {
|
|
|
3231
3244
|
content?: RichContent$1;
|
|
3232
3245
|
}
|
|
3233
3246
|
declare enum Target$1 {
|
|
3247
|
+
/** Undefined target. */
|
|
3234
3248
|
UNDEFINED = "UNDEFINED",
|
|
3235
|
-
/**
|
|
3249
|
+
/** Open in the same browser tab. */
|
|
3236
3250
|
SELF = "SELF",
|
|
3237
|
-
/**
|
|
3251
|
+
/** Open in a new tab. */
|
|
3238
3252
|
BLANK = "BLANK"
|
|
3239
3253
|
}
|
|
3240
3254
|
interface ThankYouMessage$1 {
|
|
@@ -3482,7 +3496,9 @@ interface FormProperties$1 {
|
|
|
3482
3496
|
disabled?: boolean;
|
|
3483
3497
|
}
|
|
3484
3498
|
declare enum Kind$1 {
|
|
3499
|
+
/** Return forms specific to tenant, excluding template based forms. */
|
|
3485
3500
|
REGULAR = "REGULAR",
|
|
3501
|
+
/** Return forms based on common templates, with applied user overrides if they exist. */
|
|
3486
3502
|
EXTENSION = "EXTENSION"
|
|
3487
3503
|
}
|
|
3488
3504
|
interface PostSubmissionTriggers$1 {
|
|
@@ -3523,6 +3539,7 @@ interface LimitationRule$1 {
|
|
|
3523
3539
|
dateTimeDeadline?: Date | null;
|
|
3524
3540
|
}
|
|
3525
3541
|
declare enum SpamFilterProtectionLevel$1 {
|
|
3542
|
+
/** Unknown spam filter protection level. */
|
|
3526
3543
|
UNKNOWN = "UNKNOWN",
|
|
3527
3544
|
/** Spam filter is not used. Form is open for spam submissions. */
|
|
3528
3545
|
NONE = "NONE",
|
|
@@ -3553,6 +3570,7 @@ interface SubmitSettingsSubmitSuccessActionOptionsOneOf$1 {
|
|
|
3553
3570
|
redirectOptions?: RedirectOptions$1;
|
|
3554
3571
|
}
|
|
3555
3572
|
declare enum UrlTargetEnumTarget$1 {
|
|
3573
|
+
/** Unknown target. */
|
|
3556
3574
|
UNKNOWN_TARGET = "UNKNOWN_TARGET",
|
|
3557
3575
|
/** Open in the same browser tab. */
|
|
3558
3576
|
SELF = "SELF",
|
|
@@ -3560,6 +3578,7 @@ declare enum UrlTargetEnumTarget$1 {
|
|
|
3560
3578
|
BLANK = "BLANK"
|
|
3561
3579
|
}
|
|
3562
3580
|
declare enum SubmitSuccessAction$1 {
|
|
3581
|
+
/** Unknown submit success action. */
|
|
3563
3582
|
UNKNOWN_SUBMIT_SUCCESS_ACTION = "UNKNOWN_SUBMIT_SUCCESS_ACTION",
|
|
3564
3583
|
/** No action will be taken after submission. */
|
|
3565
3584
|
NO_ACTION = "NO_ACTION",
|
|
@@ -5452,9 +5471,13 @@ interface ExtendedFields$1 {
|
|
|
5452
5471
|
}
|
|
5453
5472
|
declare enum SubmissionStatus$1 {
|
|
5454
5473
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
5474
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
5455
5475
|
PENDING = "PENDING",
|
|
5476
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
5456
5477
|
CONFIRMED = "CONFIRMED",
|
|
5478
|
+
/** A form submission requiring payment is created. */
|
|
5457
5479
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
5480
|
+
/** An order of a form submission is canceled. */
|
|
5458
5481
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
5459
5482
|
}
|
|
5460
5483
|
interface OrderDetails$1 {
|
|
@@ -5482,13 +5505,7 @@ interface FormSubmission$1 {
|
|
|
5482
5505
|
* @readonly
|
|
5483
5506
|
*/
|
|
5484
5507
|
namespace?: string;
|
|
5485
|
-
/**
|
|
5486
|
-
* Status of the submission.
|
|
5487
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
5488
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
5489
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
5490
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
5491
|
-
*/
|
|
5508
|
+
/** Status of the submission. */
|
|
5492
5509
|
status?: SubmissionStatus$1;
|
|
5493
5510
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
5494
5511
|
submissions?: Record<string, any>;
|
|
@@ -6330,13 +6347,7 @@ interface FormSubmission {
|
|
|
6330
6347
|
* @readonly
|
|
6331
6348
|
*/
|
|
6332
6349
|
namespace?: string;
|
|
6333
|
-
/**
|
|
6334
|
-
* Status of the submission.
|
|
6335
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
6336
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
6337
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
6338
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
6339
|
-
*/
|
|
6350
|
+
/** Status of the submission. */
|
|
6340
6351
|
status?: SubmissionStatus;
|
|
6341
6352
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
6342
6353
|
submissions?: Record<string, any>;
|
|
@@ -6371,9 +6382,13 @@ interface FormSubmission {
|
|
|
6371
6382
|
}
|
|
6372
6383
|
declare enum SubmissionStatus {
|
|
6373
6384
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
6385
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
6374
6386
|
PENDING = "PENDING",
|
|
6387
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
6375
6388
|
CONFIRMED = "CONFIRMED",
|
|
6389
|
+
/** A form submission requiring payment is created. */
|
|
6376
6390
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
6391
|
+
/** An order of a form submission is canceled. */
|
|
6377
6392
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
6378
6393
|
}
|
|
6379
6394
|
interface Submitter extends SubmitterSubmitterOneOf {
|
|
@@ -6473,7 +6488,9 @@ interface MarketingSubscriptionDetails {
|
|
|
6473
6488
|
optInLevel?: OptInLevel;
|
|
6474
6489
|
}
|
|
6475
6490
|
declare enum OptInLevel {
|
|
6491
|
+
/** Single confirmation. */
|
|
6476
6492
|
SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
|
|
6493
|
+
/** Double confirmation. */
|
|
6477
6494
|
DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
|
|
6478
6495
|
}
|
|
6479
6496
|
interface SubmissionContactMappingSkipped {
|
|
@@ -6581,6 +6598,7 @@ interface Form {
|
|
|
6581
6598
|
sourceFormId?: string | null;
|
|
6582
6599
|
}
|
|
6583
6600
|
declare enum RequiredIndicator {
|
|
6601
|
+
/** Unknown required indicator. */
|
|
6584
6602
|
UNKNOWN_INDICATOR = "UNKNOWN_INDICATOR",
|
|
6585
6603
|
/** Asterisk (*). */
|
|
6586
6604
|
ASTERISK = "ASTERISK",
|
|
@@ -6590,6 +6608,7 @@ declare enum RequiredIndicator {
|
|
|
6590
6608
|
NONE = "NONE"
|
|
6591
6609
|
}
|
|
6592
6610
|
declare enum RequiredIndicatorPlacement {
|
|
6611
|
+
/** Unknown required indicator placement. */
|
|
6593
6612
|
UNKNOWN_PLACEMENT = "UNKNOWN_PLACEMENT",
|
|
6594
6613
|
/** After field title. */
|
|
6595
6614
|
AFTER_FIELD_TITLE = "AFTER_FIELD_TITLE",
|
|
@@ -6841,13 +6860,15 @@ interface PaymentType {
|
|
|
6841
6860
|
maxItems?: number | null;
|
|
6842
6861
|
}
|
|
6843
6862
|
declare enum ProductType {
|
|
6863
|
+
/** Unknown product type. */
|
|
6844
6864
|
UNKNOWN = "UNKNOWN",
|
|
6845
|
-
/** Shippable (physical). */
|
|
6865
|
+
/** Shippable (physical) product. */
|
|
6846
6866
|
SHIPPABLE = "SHIPPABLE",
|
|
6847
|
-
/** Digital. */
|
|
6867
|
+
/** Digital product. */
|
|
6848
6868
|
DIGITAL = "DIGITAL"
|
|
6849
6869
|
}
|
|
6850
6870
|
declare enum PriceType {
|
|
6871
|
+
/** Unknown price type. */
|
|
6851
6872
|
UNKNOWN = "UNKNOWN",
|
|
6852
6873
|
/** Fixed price. */
|
|
6853
6874
|
FIXED_PRICE = "FIXED_PRICE",
|
|
@@ -8385,10 +8406,15 @@ interface RadioGroupCustomOption {
|
|
|
8385
8406
|
placeholder?: string | null;
|
|
8386
8407
|
}
|
|
8387
8408
|
declare enum NumberOfColumns {
|
|
8409
|
+
/** Undefined number of columns. */
|
|
8388
8410
|
UNKNOWN = "UNKNOWN",
|
|
8411
|
+
/** Zero columns. */
|
|
8389
8412
|
ZERO = "ZERO",
|
|
8413
|
+
/** One column. */
|
|
8390
8414
|
ONE = "ONE",
|
|
8415
|
+
/** Two columns. */
|
|
8391
8416
|
TWO = "TWO",
|
|
8417
|
+
/** Three columns. */
|
|
8392
8418
|
THREE = "THREE"
|
|
8393
8419
|
}
|
|
8394
8420
|
interface Dropdown {
|
|
@@ -8518,7 +8544,9 @@ interface DatePicker {
|
|
|
8518
8544
|
firstDayOfWeek?: FirstDayOfWeek;
|
|
8519
8545
|
}
|
|
8520
8546
|
declare enum FirstDayOfWeek {
|
|
8547
|
+
/** First day of the week is Monday. */
|
|
8521
8548
|
MONDAY = "MONDAY",
|
|
8549
|
+
/** First day of the week is Sunday. */
|
|
8522
8550
|
SUNDAY = "SUNDAY"
|
|
8523
8551
|
}
|
|
8524
8552
|
interface InputFieldNumberType {
|
|
@@ -8820,16 +8848,17 @@ interface FileUpload {
|
|
|
8820
8848
|
explanationText?: string | null;
|
|
8821
8849
|
}
|
|
8822
8850
|
declare enum UploadFileFormat {
|
|
8851
|
+
/** Undefined upload file format. */
|
|
8823
8852
|
UNDEFINED = "UNDEFINED",
|
|
8824
|
-
/** Video files */
|
|
8853
|
+
/** Video files. */
|
|
8825
8854
|
VIDEO = "VIDEO",
|
|
8826
|
-
/** Image files */
|
|
8855
|
+
/** Image files. */
|
|
8827
8856
|
IMAGE = "IMAGE",
|
|
8828
|
-
/** Audio files */
|
|
8857
|
+
/** Audio files. */
|
|
8829
8858
|
AUDIO = "AUDIO",
|
|
8830
|
-
/** Document files */
|
|
8859
|
+
/** Document files. */
|
|
8831
8860
|
DOCUMENT = "DOCUMENT",
|
|
8832
|
-
/** Archive files */
|
|
8861
|
+
/** Archive files. */
|
|
8833
8862
|
ARCHIVE = "ARCHIVE"
|
|
8834
8863
|
}
|
|
8835
8864
|
interface Signature {
|
|
@@ -8956,8 +8985,9 @@ interface MultilineAddress {
|
|
|
8956
8985
|
autocompleteEnabled?: boolean;
|
|
8957
8986
|
}
|
|
8958
8987
|
declare enum Type {
|
|
8988
|
+
/** Unknown default country config type. */
|
|
8959
8989
|
UNKNOWN_DEFAULT_COUNTRY = "UNKNOWN_DEFAULT_COUNTRY",
|
|
8960
|
-
/** Country
|
|
8990
|
+
/** Country is determined by customer's IP address. */
|
|
8961
8991
|
BY_IP = "BY_IP",
|
|
8962
8992
|
/** Pre-selected default country. */
|
|
8963
8993
|
COUNTRY = "COUNTRY"
|
|
@@ -9253,10 +9283,11 @@ interface RichText {
|
|
|
9253
9283
|
content?: RichContent;
|
|
9254
9284
|
}
|
|
9255
9285
|
declare enum Target {
|
|
9286
|
+
/** Undefined target. */
|
|
9256
9287
|
UNDEFINED = "UNDEFINED",
|
|
9257
|
-
/**
|
|
9288
|
+
/** Open in the same browser tab. */
|
|
9258
9289
|
SELF = "SELF",
|
|
9259
|
-
/**
|
|
9290
|
+
/** Open in a new tab. */
|
|
9260
9291
|
BLANK = "BLANK"
|
|
9261
9292
|
}
|
|
9262
9293
|
interface ThankYouMessage {
|
|
@@ -9504,7 +9535,9 @@ interface FormProperties {
|
|
|
9504
9535
|
disabled?: boolean;
|
|
9505
9536
|
}
|
|
9506
9537
|
declare enum Kind {
|
|
9538
|
+
/** Return forms specific to tenant, excluding template based forms. */
|
|
9507
9539
|
REGULAR = "REGULAR",
|
|
9540
|
+
/** Return forms based on common templates, with applied user overrides if they exist. */
|
|
9508
9541
|
EXTENSION = "EXTENSION"
|
|
9509
9542
|
}
|
|
9510
9543
|
interface PostSubmissionTriggers {
|
|
@@ -9534,6 +9567,7 @@ interface LimitationRule {
|
|
|
9534
9567
|
dateTimeDeadline?: Date | null;
|
|
9535
9568
|
}
|
|
9536
9569
|
declare enum SpamFilterProtectionLevel {
|
|
9570
|
+
/** Unknown spam filter protection level. */
|
|
9537
9571
|
UNKNOWN = "UNKNOWN",
|
|
9538
9572
|
/** Spam filter is not used. Form is open for spam submissions. */
|
|
9539
9573
|
NONE = "NONE",
|
|
@@ -9564,6 +9598,7 @@ interface SubmitSettingsSubmitSuccessActionOptionsOneOf {
|
|
|
9564
9598
|
redirectOptions?: RedirectOptions;
|
|
9565
9599
|
}
|
|
9566
9600
|
declare enum UrlTargetEnumTarget {
|
|
9601
|
+
/** Unknown target. */
|
|
9567
9602
|
UNKNOWN_TARGET = "UNKNOWN_TARGET",
|
|
9568
9603
|
/** Open in the same browser tab. */
|
|
9569
9604
|
SELF = "SELF",
|
|
@@ -9571,6 +9606,7 @@ declare enum UrlTargetEnumTarget {
|
|
|
9571
9606
|
BLANK = "BLANK"
|
|
9572
9607
|
}
|
|
9573
9608
|
declare enum SubmitSuccessAction {
|
|
9609
|
+
/** Unknown submit success action. */
|
|
9574
9610
|
UNKNOWN_SUBMIT_SUCCESS_ACTION = "UNKNOWN_SUBMIT_SUCCESS_ACTION",
|
|
9575
9611
|
/** No action will be taken after submission. */
|
|
9576
9612
|
NO_ACTION = "NO_ACTION",
|
|
@@ -10476,13 +10512,7 @@ interface UpdateSubmission {
|
|
|
10476
10512
|
* @readonly
|
|
10477
10513
|
*/
|
|
10478
10514
|
namespace?: string;
|
|
10479
|
-
/**
|
|
10480
|
-
* Status of the submission.
|
|
10481
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
10482
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
10483
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
10484
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
10485
|
-
*/
|
|
10515
|
+
/** Status of the submission. */
|
|
10486
10516
|
status?: SubmissionStatus;
|
|
10487
10517
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
10488
10518
|
submissions?: Record<string, any>;
|
|
@@ -81,6 +81,7 @@ interface Form$1 {
|
|
|
81
81
|
sourceFormId?: string | null;
|
|
82
82
|
}
|
|
83
83
|
declare enum RequiredIndicator$1 {
|
|
84
|
+
/** Unknown required indicator. */
|
|
84
85
|
UNKNOWN_INDICATOR = "UNKNOWN_INDICATOR",
|
|
85
86
|
/** Asterisk (*). */
|
|
86
87
|
ASTERISK = "ASTERISK",
|
|
@@ -90,6 +91,7 @@ declare enum RequiredIndicator$1 {
|
|
|
90
91
|
NONE = "NONE"
|
|
91
92
|
}
|
|
92
93
|
declare enum RequiredIndicatorPlacement$1 {
|
|
94
|
+
/** Unknown required indicator placement. */
|
|
93
95
|
UNKNOWN_PLACEMENT = "UNKNOWN_PLACEMENT",
|
|
94
96
|
/** After field title. */
|
|
95
97
|
AFTER_FIELD_TITLE = "AFTER_FIELD_TITLE",
|
|
@@ -341,13 +343,15 @@ interface PaymentType$1 {
|
|
|
341
343
|
maxItems?: number | null;
|
|
342
344
|
}
|
|
343
345
|
declare enum ProductType$1 {
|
|
346
|
+
/** Unknown product type. */
|
|
344
347
|
UNKNOWN = "UNKNOWN",
|
|
345
|
-
/** Shippable (physical). */
|
|
348
|
+
/** Shippable (physical) product. */
|
|
346
349
|
SHIPPABLE = "SHIPPABLE",
|
|
347
|
-
/** Digital. */
|
|
350
|
+
/** Digital product. */
|
|
348
351
|
DIGITAL = "DIGITAL"
|
|
349
352
|
}
|
|
350
353
|
declare enum PriceType$1 {
|
|
354
|
+
/** Unknown price type. */
|
|
351
355
|
UNKNOWN = "UNKNOWN",
|
|
352
356
|
/** Fixed price. */
|
|
353
357
|
FIXED_PRICE = "FIXED_PRICE",
|
|
@@ -1856,10 +1860,15 @@ interface RadioGroupCustomOption$1 {
|
|
|
1856
1860
|
placeholder?: string | null;
|
|
1857
1861
|
}
|
|
1858
1862
|
declare enum NumberOfColumns$1 {
|
|
1863
|
+
/** Undefined number of columns. */
|
|
1859
1864
|
UNKNOWN = "UNKNOWN",
|
|
1865
|
+
/** Zero columns. */
|
|
1860
1866
|
ZERO = "ZERO",
|
|
1867
|
+
/** One column. */
|
|
1861
1868
|
ONE = "ONE",
|
|
1869
|
+
/** Two columns. */
|
|
1862
1870
|
TWO = "TWO",
|
|
1871
|
+
/** Three columns. */
|
|
1863
1872
|
THREE = "THREE"
|
|
1864
1873
|
}
|
|
1865
1874
|
interface Dropdown$1 {
|
|
@@ -1989,7 +1998,9 @@ interface DatePicker$1 {
|
|
|
1989
1998
|
firstDayOfWeek?: FirstDayOfWeek$1;
|
|
1990
1999
|
}
|
|
1991
2000
|
declare enum FirstDayOfWeek$1 {
|
|
2001
|
+
/** First day of the week is Monday. */
|
|
1992
2002
|
MONDAY = "MONDAY",
|
|
2003
|
+
/** First day of the week is Sunday. */
|
|
1993
2004
|
SUNDAY = "SUNDAY"
|
|
1994
2005
|
}
|
|
1995
2006
|
interface InputFieldNumberType$1 {
|
|
@@ -2314,16 +2325,17 @@ interface FileUpload$1 {
|
|
|
2314
2325
|
explanationText?: string | null;
|
|
2315
2326
|
}
|
|
2316
2327
|
declare enum UploadFileFormat$1 {
|
|
2328
|
+
/** Undefined upload file format. */
|
|
2317
2329
|
UNDEFINED = "UNDEFINED",
|
|
2318
|
-
/** Video files */
|
|
2330
|
+
/** Video files. */
|
|
2319
2331
|
VIDEO = "VIDEO",
|
|
2320
|
-
/** Image files */
|
|
2332
|
+
/** Image files. */
|
|
2321
2333
|
IMAGE = "IMAGE",
|
|
2322
|
-
/** Audio files */
|
|
2334
|
+
/** Audio files. */
|
|
2323
2335
|
AUDIO = "AUDIO",
|
|
2324
|
-
/** Document files */
|
|
2336
|
+
/** Document files. */
|
|
2325
2337
|
DOCUMENT = "DOCUMENT",
|
|
2326
|
-
/** Archive files */
|
|
2338
|
+
/** Archive files. */
|
|
2327
2339
|
ARCHIVE = "ARCHIVE"
|
|
2328
2340
|
}
|
|
2329
2341
|
interface Signature$1 {
|
|
@@ -2450,8 +2462,9 @@ interface MultilineAddress$1 {
|
|
|
2450
2462
|
autocompleteEnabled?: boolean;
|
|
2451
2463
|
}
|
|
2452
2464
|
declare enum Type$1 {
|
|
2465
|
+
/** Unknown default country config type. */
|
|
2453
2466
|
UNKNOWN_DEFAULT_COUNTRY = "UNKNOWN_DEFAULT_COUNTRY",
|
|
2454
|
-
/** Country
|
|
2467
|
+
/** Country is determined by customer's IP address. */
|
|
2455
2468
|
BY_IP = "BY_IP",
|
|
2456
2469
|
/** Pre-selected default country. */
|
|
2457
2470
|
COUNTRY = "COUNTRY"
|
|
@@ -2747,10 +2760,11 @@ interface RichText$1 {
|
|
|
2747
2760
|
content?: RichContent$1;
|
|
2748
2761
|
}
|
|
2749
2762
|
declare enum Target$1 {
|
|
2763
|
+
/** Undefined target. */
|
|
2750
2764
|
UNDEFINED = "UNDEFINED",
|
|
2751
|
-
/**
|
|
2765
|
+
/** Open in the same browser tab. */
|
|
2752
2766
|
SELF = "SELF",
|
|
2753
|
-
/**
|
|
2767
|
+
/** Open in a new tab. */
|
|
2754
2768
|
BLANK = "BLANK"
|
|
2755
2769
|
}
|
|
2756
2770
|
interface ThankYouMessage$1 {
|
|
@@ -2998,7 +3012,9 @@ interface FormProperties$1 {
|
|
|
2998
3012
|
disabled?: boolean;
|
|
2999
3013
|
}
|
|
3000
3014
|
declare enum Kind$1 {
|
|
3015
|
+
/** Return forms specific to tenant, excluding template based forms. */
|
|
3001
3016
|
REGULAR = "REGULAR",
|
|
3017
|
+
/** Return forms based on common templates, with applied user overrides if they exist. */
|
|
3002
3018
|
EXTENSION = "EXTENSION"
|
|
3003
3019
|
}
|
|
3004
3020
|
interface PostSubmissionTriggers$1 {
|
|
@@ -3033,6 +3049,7 @@ interface LimitationRule$1 {
|
|
|
3033
3049
|
dateTimeDeadline?: Date | null;
|
|
3034
3050
|
}
|
|
3035
3051
|
declare enum SpamFilterProtectionLevel$1 {
|
|
3052
|
+
/** Unknown spam filter protection level. */
|
|
3036
3053
|
UNKNOWN = "UNKNOWN",
|
|
3037
3054
|
/** Spam filter is not used. Form is open for spam submissions. */
|
|
3038
3055
|
NONE = "NONE",
|
|
@@ -3063,6 +3080,7 @@ interface SubmitSettingsSubmitSuccessActionOptionsOneOf$1 {
|
|
|
3063
3080
|
redirectOptions?: RedirectOptions$1;
|
|
3064
3081
|
}
|
|
3065
3082
|
declare enum UrlTargetEnumTarget$1 {
|
|
3083
|
+
/** Unknown target. */
|
|
3066
3084
|
UNKNOWN_TARGET = "UNKNOWN_TARGET",
|
|
3067
3085
|
/** Open in the same browser tab. */
|
|
3068
3086
|
SELF = "SELF",
|
|
@@ -3070,6 +3088,7 @@ declare enum UrlTargetEnumTarget$1 {
|
|
|
3070
3088
|
BLANK = "BLANK"
|
|
3071
3089
|
}
|
|
3072
3090
|
declare enum SubmitSuccessAction$1 {
|
|
3091
|
+
/** Unknown submit success action. */
|
|
3073
3092
|
UNKNOWN_SUBMIT_SUCCESS_ACTION = "UNKNOWN_SUBMIT_SUCCESS_ACTION",
|
|
3074
3093
|
/** No action will be taken after submission. */
|
|
3075
3094
|
NO_ACTION = "NO_ACTION",
|
|
@@ -4276,6 +4295,7 @@ interface Form {
|
|
|
4276
4295
|
sourceFormId?: string | null;
|
|
4277
4296
|
}
|
|
4278
4297
|
declare enum RequiredIndicator {
|
|
4298
|
+
/** Unknown required indicator. */
|
|
4279
4299
|
UNKNOWN_INDICATOR = "UNKNOWN_INDICATOR",
|
|
4280
4300
|
/** Asterisk (*). */
|
|
4281
4301
|
ASTERISK = "ASTERISK",
|
|
@@ -4285,6 +4305,7 @@ declare enum RequiredIndicator {
|
|
|
4285
4305
|
NONE = "NONE"
|
|
4286
4306
|
}
|
|
4287
4307
|
declare enum RequiredIndicatorPlacement {
|
|
4308
|
+
/** Unknown required indicator placement. */
|
|
4288
4309
|
UNKNOWN_PLACEMENT = "UNKNOWN_PLACEMENT",
|
|
4289
4310
|
/** After field title. */
|
|
4290
4311
|
AFTER_FIELD_TITLE = "AFTER_FIELD_TITLE",
|
|
@@ -4536,13 +4557,15 @@ interface PaymentType {
|
|
|
4536
4557
|
maxItems?: number | null;
|
|
4537
4558
|
}
|
|
4538
4559
|
declare enum ProductType {
|
|
4560
|
+
/** Unknown product type. */
|
|
4539
4561
|
UNKNOWN = "UNKNOWN",
|
|
4540
|
-
/** Shippable (physical). */
|
|
4562
|
+
/** Shippable (physical) product. */
|
|
4541
4563
|
SHIPPABLE = "SHIPPABLE",
|
|
4542
|
-
/** Digital. */
|
|
4564
|
+
/** Digital product. */
|
|
4543
4565
|
DIGITAL = "DIGITAL"
|
|
4544
4566
|
}
|
|
4545
4567
|
declare enum PriceType {
|
|
4568
|
+
/** Unknown price type. */
|
|
4546
4569
|
UNKNOWN = "UNKNOWN",
|
|
4547
4570
|
/** Fixed price. */
|
|
4548
4571
|
FIXED_PRICE = "FIXED_PRICE",
|
|
@@ -6051,10 +6074,15 @@ interface RadioGroupCustomOption {
|
|
|
6051
6074
|
placeholder?: string | null;
|
|
6052
6075
|
}
|
|
6053
6076
|
declare enum NumberOfColumns {
|
|
6077
|
+
/** Undefined number of columns. */
|
|
6054
6078
|
UNKNOWN = "UNKNOWN",
|
|
6079
|
+
/** Zero columns. */
|
|
6055
6080
|
ZERO = "ZERO",
|
|
6081
|
+
/** One column. */
|
|
6056
6082
|
ONE = "ONE",
|
|
6083
|
+
/** Two columns. */
|
|
6057
6084
|
TWO = "TWO",
|
|
6085
|
+
/** Three columns. */
|
|
6058
6086
|
THREE = "THREE"
|
|
6059
6087
|
}
|
|
6060
6088
|
interface Dropdown {
|
|
@@ -6184,7 +6212,9 @@ interface DatePicker {
|
|
|
6184
6212
|
firstDayOfWeek?: FirstDayOfWeek;
|
|
6185
6213
|
}
|
|
6186
6214
|
declare enum FirstDayOfWeek {
|
|
6215
|
+
/** First day of the week is Monday. */
|
|
6187
6216
|
MONDAY = "MONDAY",
|
|
6217
|
+
/** First day of the week is Sunday. */
|
|
6188
6218
|
SUNDAY = "SUNDAY"
|
|
6189
6219
|
}
|
|
6190
6220
|
interface InputFieldNumberType {
|
|
@@ -6486,16 +6516,17 @@ interface FileUpload {
|
|
|
6486
6516
|
explanationText?: string | null;
|
|
6487
6517
|
}
|
|
6488
6518
|
declare enum UploadFileFormat {
|
|
6519
|
+
/** Undefined upload file format. */
|
|
6489
6520
|
UNDEFINED = "UNDEFINED",
|
|
6490
|
-
/** Video files */
|
|
6521
|
+
/** Video files. */
|
|
6491
6522
|
VIDEO = "VIDEO",
|
|
6492
|
-
/** Image files */
|
|
6523
|
+
/** Image files. */
|
|
6493
6524
|
IMAGE = "IMAGE",
|
|
6494
|
-
/** Audio files */
|
|
6525
|
+
/** Audio files. */
|
|
6495
6526
|
AUDIO = "AUDIO",
|
|
6496
|
-
/** Document files */
|
|
6527
|
+
/** Document files. */
|
|
6497
6528
|
DOCUMENT = "DOCUMENT",
|
|
6498
|
-
/** Archive files */
|
|
6529
|
+
/** Archive files. */
|
|
6499
6530
|
ARCHIVE = "ARCHIVE"
|
|
6500
6531
|
}
|
|
6501
6532
|
interface Signature {
|
|
@@ -6622,8 +6653,9 @@ interface MultilineAddress {
|
|
|
6622
6653
|
autocompleteEnabled?: boolean;
|
|
6623
6654
|
}
|
|
6624
6655
|
declare enum Type {
|
|
6656
|
+
/** Unknown default country config type. */
|
|
6625
6657
|
UNKNOWN_DEFAULT_COUNTRY = "UNKNOWN_DEFAULT_COUNTRY",
|
|
6626
|
-
/** Country
|
|
6658
|
+
/** Country is determined by customer's IP address. */
|
|
6627
6659
|
BY_IP = "BY_IP",
|
|
6628
6660
|
/** Pre-selected default country. */
|
|
6629
6661
|
COUNTRY = "COUNTRY"
|
|
@@ -6919,10 +6951,11 @@ interface RichText {
|
|
|
6919
6951
|
content?: RichContent;
|
|
6920
6952
|
}
|
|
6921
6953
|
declare enum Target {
|
|
6954
|
+
/** Undefined target. */
|
|
6922
6955
|
UNDEFINED = "UNDEFINED",
|
|
6923
|
-
/**
|
|
6956
|
+
/** Open in the same browser tab. */
|
|
6924
6957
|
SELF = "SELF",
|
|
6925
|
-
/**
|
|
6958
|
+
/** Open in a new tab. */
|
|
6926
6959
|
BLANK = "BLANK"
|
|
6927
6960
|
}
|
|
6928
6961
|
interface ThankYouMessage {
|
|
@@ -7170,7 +7203,9 @@ interface FormProperties {
|
|
|
7170
7203
|
disabled?: boolean;
|
|
7171
7204
|
}
|
|
7172
7205
|
declare enum Kind {
|
|
7206
|
+
/** Return forms specific to tenant, excluding template based forms. */
|
|
7173
7207
|
REGULAR = "REGULAR",
|
|
7208
|
+
/** Return forms based on common templates, with applied user overrides if they exist. */
|
|
7174
7209
|
EXTENSION = "EXTENSION"
|
|
7175
7210
|
}
|
|
7176
7211
|
interface PostSubmissionTriggers {
|
|
@@ -7205,6 +7240,7 @@ interface LimitationRule {
|
|
|
7205
7240
|
dateTimeDeadline?: Date | null;
|
|
7206
7241
|
}
|
|
7207
7242
|
declare enum SpamFilterProtectionLevel {
|
|
7243
|
+
/** Unknown spam filter protection level. */
|
|
7208
7244
|
UNKNOWN = "UNKNOWN",
|
|
7209
7245
|
/** Spam filter is not used. Form is open for spam submissions. */
|
|
7210
7246
|
NONE = "NONE",
|
|
@@ -7235,6 +7271,7 @@ interface SubmitSettingsSubmitSuccessActionOptionsOneOf {
|
|
|
7235
7271
|
redirectOptions?: RedirectOptions;
|
|
7236
7272
|
}
|
|
7237
7273
|
declare enum UrlTargetEnumTarget {
|
|
7274
|
+
/** Unknown target. */
|
|
7238
7275
|
UNKNOWN_TARGET = "UNKNOWN_TARGET",
|
|
7239
7276
|
/** Open in the same browser tab. */
|
|
7240
7277
|
SELF = "SELF",
|
|
@@ -7242,6 +7279,7 @@ declare enum UrlTargetEnumTarget {
|
|
|
7242
7279
|
BLANK = "BLANK"
|
|
7243
7280
|
}
|
|
7244
7281
|
declare enum SubmitSuccessAction {
|
|
7282
|
+
/** Unknown submit success action. */
|
|
7245
7283
|
UNKNOWN_SUBMIT_SUCCESS_ACTION = "UNKNOWN_SUBMIT_SUCCESS_ACTION",
|
|
7246
7284
|
/** No action will be taken after submission. */
|
|
7247
7285
|
NO_ACTION = "NO_ACTION",
|
|
@@ -8522,9 +8560,13 @@ interface ExtendedFields$3 {
|
|
|
8522
8560
|
}
|
|
8523
8561
|
declare enum SubmissionStatus$3 {
|
|
8524
8562
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
8563
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
8525
8564
|
PENDING = "PENDING",
|
|
8565
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
8526
8566
|
CONFIRMED = "CONFIRMED",
|
|
8567
|
+
/** A form submission requiring payment is created. */
|
|
8527
8568
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
8569
|
+
/** An order of a form submission is canceled. */
|
|
8528
8570
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
8529
8571
|
}
|
|
8530
8572
|
interface OrderDetails$3 {
|
|
@@ -8552,13 +8594,7 @@ interface FormSubmission$3 {
|
|
|
8552
8594
|
* @readonly
|
|
8553
8595
|
*/
|
|
8554
8596
|
namespace?: string;
|
|
8555
|
-
/**
|
|
8556
|
-
* Status of the submission.
|
|
8557
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
8558
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
8559
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
8560
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
8561
|
-
*/
|
|
8597
|
+
/** Status of the submission. */
|
|
8562
8598
|
status?: SubmissionStatus$3;
|
|
8563
8599
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
8564
8600
|
submissions?: Record<string, any>;
|
|
@@ -9041,9 +9077,13 @@ interface ExtendedFields$2 {
|
|
|
9041
9077
|
}
|
|
9042
9078
|
declare enum SubmissionStatus$2 {
|
|
9043
9079
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
9080
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
9044
9081
|
PENDING = "PENDING",
|
|
9082
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
9045
9083
|
CONFIRMED = "CONFIRMED",
|
|
9084
|
+
/** A form submission requiring payment is created. */
|
|
9046
9085
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
9086
|
+
/** An order of a form submission is canceled. */
|
|
9047
9087
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
9048
9088
|
}
|
|
9049
9089
|
interface OrderDetails$2 {
|
|
@@ -9071,13 +9111,7 @@ interface FormSubmission$2 {
|
|
|
9071
9111
|
* @readonly
|
|
9072
9112
|
*/
|
|
9073
9113
|
namespace?: string;
|
|
9074
|
-
/**
|
|
9075
|
-
* Status of the submission.
|
|
9076
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
9077
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
9078
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
9079
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
9080
|
-
*/
|
|
9114
|
+
/** Status of the submission. */
|
|
9081
9115
|
status?: SubmissionStatus$2;
|
|
9082
9116
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
9083
9117
|
submissions?: Record<string, any>;
|
|
@@ -9522,13 +9556,7 @@ interface FormSubmission$1 {
|
|
|
9522
9556
|
* @readonly
|
|
9523
9557
|
*/
|
|
9524
9558
|
namespace?: string;
|
|
9525
|
-
/**
|
|
9526
|
-
* Status of the submission.
|
|
9527
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
9528
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
9529
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
9530
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
9531
|
-
*/
|
|
9559
|
+
/** Status of the submission. */
|
|
9532
9560
|
status?: SubmissionStatus$1;
|
|
9533
9561
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
9534
9562
|
submissions?: Record<string, any>;
|
|
@@ -9563,9 +9591,13 @@ interface FormSubmission$1 {
|
|
|
9563
9591
|
}
|
|
9564
9592
|
declare enum SubmissionStatus$1 {
|
|
9565
9593
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
9594
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
9566
9595
|
PENDING = "PENDING",
|
|
9596
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
9567
9597
|
CONFIRMED = "CONFIRMED",
|
|
9598
|
+
/** A form submission requiring payment is created. */
|
|
9568
9599
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
9600
|
+
/** An order of a form submission is canceled. */
|
|
9569
9601
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
9570
9602
|
}
|
|
9571
9603
|
interface Submitter$1 extends SubmitterSubmitterOneOf$1 {
|
|
@@ -10250,13 +10282,7 @@ interface FormSubmission {
|
|
|
10250
10282
|
* @readonly
|
|
10251
10283
|
*/
|
|
10252
10284
|
namespace?: string;
|
|
10253
|
-
/**
|
|
10254
|
-
* Status of the submission.
|
|
10255
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
10256
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
10257
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
10258
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
10259
|
-
*/
|
|
10285
|
+
/** Status of the submission. */
|
|
10260
10286
|
status?: SubmissionStatus;
|
|
10261
10287
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
10262
10288
|
submissions?: Record<string, any>;
|
|
@@ -10291,9 +10317,13 @@ interface FormSubmission {
|
|
|
10291
10317
|
}
|
|
10292
10318
|
declare enum SubmissionStatus {
|
|
10293
10319
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
10320
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
10294
10321
|
PENDING = "PENDING",
|
|
10322
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
10295
10323
|
CONFIRMED = "CONFIRMED",
|
|
10324
|
+
/** A form submission requiring payment is created. */
|
|
10296
10325
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
10326
|
+
/** An order of a form submission is canceled. */
|
|
10297
10327
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
10298
10328
|
}
|
|
10299
10329
|
interface Submitter extends SubmitterSubmitterOneOf {
|
|
@@ -25,13 +25,7 @@ interface FormSubmission {
|
|
|
25
25
|
* @readonly
|
|
26
26
|
*/
|
|
27
27
|
namespace?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Status of the submission.
|
|
30
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
31
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
32
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
33
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
34
|
-
*/
|
|
28
|
+
/** Status of the submission. */
|
|
35
29
|
status?: SubmissionStatus;
|
|
36
30
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
37
31
|
submissions?: Record<string, any>;
|
|
@@ -66,9 +60,13 @@ interface FormSubmission {
|
|
|
66
60
|
}
|
|
67
61
|
declare enum SubmissionStatus {
|
|
68
62
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
63
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
69
64
|
PENDING = "PENDING",
|
|
65
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
70
66
|
CONFIRMED = "CONFIRMED",
|
|
67
|
+
/** A form submission requiring payment is created. */
|
|
71
68
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
69
|
+
/** An order of a form submission is canceled. */
|
|
72
70
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
73
71
|
}
|
|
74
72
|
interface Submitter extends SubmitterSubmitterOneOf {
|
|
@@ -131,8 +129,11 @@ interface OrderDetails {
|
|
|
131
129
|
checkoutId?: string;
|
|
132
130
|
}
|
|
133
131
|
declare enum ActionType {
|
|
132
|
+
/** Unknown action type. */
|
|
134
133
|
UNKNOWN_ACTION = "UNKNOWN_ACTION",
|
|
134
|
+
/** Update submission. */
|
|
135
135
|
UPDATE = "UPDATE",
|
|
136
|
+
/** Create submission. */
|
|
136
137
|
CREATE = "CREATE"
|
|
137
138
|
}
|
|
138
139
|
interface UpdateOptions {
|
|
@@ -164,35 +165,35 @@ interface SubmissionValidationErrorErrorMessageOneOf {
|
|
|
164
165
|
customErrorMessage?: string;
|
|
165
166
|
}
|
|
166
167
|
declare enum SubmissionErrorType {
|
|
167
|
-
/** Error is unknown or
|
|
168
|
+
/** Error is unknown or unsuitable for any of the options below. */
|
|
168
169
|
UNKNOWN_ERROR = "UNKNOWN_ERROR",
|
|
169
|
-
/** Type of submitted value is incorrect */
|
|
170
|
+
/** Type of submitted value is incorrect. */
|
|
170
171
|
TYPE_ERROR = "TYPE_ERROR",
|
|
171
|
-
/** Value is required to be provided */
|
|
172
|
+
/** Value is required to be provided. */
|
|
172
173
|
REQUIRED_VALUE_ERROR = "REQUIRED_VALUE_ERROR",
|
|
173
|
-
/** Value contains additional properties not expected in schema */
|
|
174
|
+
/** Value contains additional properties not expected in schema. */
|
|
174
175
|
UNKNOWN_VALUE_ERROR = "UNKNOWN_VALUE_ERROR",
|
|
175
|
-
/** Text value exceeds max length */
|
|
176
|
+
/** Text value exceeds max length. */
|
|
176
177
|
MAX_LENGTH_ERROR = "MAX_LENGTH_ERROR",
|
|
177
|
-
/** Text value not
|
|
178
|
+
/** Text value does not reach min length. */
|
|
178
179
|
MIN_LENGTH_ERROR = "MIN_LENGTH_ERROR",
|
|
179
|
-
/** Text value not applicable for expected pattern */
|
|
180
|
+
/** Text value is not applicable for expected pattern. */
|
|
180
181
|
PATTERN_ERROR = "PATTERN_ERROR",
|
|
181
|
-
/** Text value not applicable for expected format */
|
|
182
|
+
/** Text value is not applicable for expected format. */
|
|
182
183
|
FORMAT_ERROR = "FORMAT_ERROR",
|
|
183
|
-
/** Number value is too big */
|
|
184
|
+
/** Number value is too big. */
|
|
184
185
|
MAX_VALUE_ERROR = "MAX_VALUE_ERROR",
|
|
185
|
-
/** Number value is too small */
|
|
186
|
+
/** Number value is too small. */
|
|
186
187
|
MIN_VALUE_ERROR = "MIN_VALUE_ERROR",
|
|
187
|
-
/** Number value is not multiple of expected number */
|
|
188
|
+
/** Number value is not a multiple of expected number. */
|
|
188
189
|
MULTIPLE_OF_VALUE_ERROR = "MULTIPLE_OF_VALUE_ERROR",
|
|
189
|
-
/** Array value has too
|
|
190
|
+
/** Array value has too many items. */
|
|
190
191
|
MIN_ITEMS_ERROR = "MIN_ITEMS_ERROR",
|
|
191
|
-
/** Array value has not enough items */
|
|
192
|
+
/** Array value has not enough items. */
|
|
192
193
|
MAX_ITEMS_ERROR = "MAX_ITEMS_ERROR",
|
|
193
|
-
/** Value is not in list of allowed values */
|
|
194
|
+
/** Value is not in the list of allowed values. */
|
|
194
195
|
NOT_ALLOWED_VALUE_ERROR = "NOT_ALLOWED_VALUE_ERROR",
|
|
195
|
-
/** Submitted form is disabled */
|
|
196
|
+
/** Submitted form is disabled. */
|
|
196
197
|
DISABLED_FORM_ERROR = "DISABLED_FORM_ERROR"
|
|
197
198
|
}
|
|
198
199
|
interface FormSubmissionSpiExtensionConfig {
|
|
@@ -25,13 +25,7 @@ interface FormSubmission {
|
|
|
25
25
|
* @readonly
|
|
26
26
|
*/
|
|
27
27
|
namespace?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Status of the submission.
|
|
30
|
-
* - `PENDING`: A submission is created, but has not yet been recorded in the Wix Forms collection.
|
|
31
|
-
* - `PAYMENT_WAITING`: A form submission requiring payment is created.
|
|
32
|
-
* - `PAYMENT_CANCELED`: An order of a form submission is canceled.
|
|
33
|
-
* - `CONFIRMED`: A submission is recorded in the Wix Forms collection.
|
|
34
|
-
*/
|
|
28
|
+
/** Status of the submission. */
|
|
35
29
|
status?: SubmissionStatus;
|
|
36
30
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
37
31
|
submissions?: Record<string, any>;
|
|
@@ -66,9 +60,13 @@ interface FormSubmission {
|
|
|
66
60
|
}
|
|
67
61
|
declare enum SubmissionStatus {
|
|
68
62
|
UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
|
|
63
|
+
/** A submission is created, but has not yet been recorded in the Wix Forms collection. */
|
|
69
64
|
PENDING = "PENDING",
|
|
65
|
+
/** A submission is recorded in the Wix Forms collection. */
|
|
70
66
|
CONFIRMED = "CONFIRMED",
|
|
67
|
+
/** A form submission requiring payment is created. */
|
|
71
68
|
PAYMENT_WAITING = "PAYMENT_WAITING",
|
|
69
|
+
/** An order of a form submission is canceled. */
|
|
72
70
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
73
71
|
}
|
|
74
72
|
interface Submitter extends SubmitterSubmitterOneOf {
|
|
@@ -131,8 +129,11 @@ interface OrderDetails {
|
|
|
131
129
|
checkoutId?: string;
|
|
132
130
|
}
|
|
133
131
|
declare enum ActionType {
|
|
132
|
+
/** Unknown action type. */
|
|
134
133
|
UNKNOWN_ACTION = "UNKNOWN_ACTION",
|
|
134
|
+
/** Update submission. */
|
|
135
135
|
UPDATE = "UPDATE",
|
|
136
|
+
/** Create submission. */
|
|
136
137
|
CREATE = "CREATE"
|
|
137
138
|
}
|
|
138
139
|
interface UpdateOptions {
|
|
@@ -164,35 +165,35 @@ interface SubmissionValidationErrorErrorMessageOneOf {
|
|
|
164
165
|
customErrorMessage?: string;
|
|
165
166
|
}
|
|
166
167
|
declare enum SubmissionErrorType {
|
|
167
|
-
/** Error is unknown or
|
|
168
|
+
/** Error is unknown or unsuitable for any of the options below. */
|
|
168
169
|
UNKNOWN_ERROR = "UNKNOWN_ERROR",
|
|
169
|
-
/** Type of submitted value is incorrect */
|
|
170
|
+
/** Type of submitted value is incorrect. */
|
|
170
171
|
TYPE_ERROR = "TYPE_ERROR",
|
|
171
|
-
/** Value is required to be provided */
|
|
172
|
+
/** Value is required to be provided. */
|
|
172
173
|
REQUIRED_VALUE_ERROR = "REQUIRED_VALUE_ERROR",
|
|
173
|
-
/** Value contains additional properties not expected in schema */
|
|
174
|
+
/** Value contains additional properties not expected in schema. */
|
|
174
175
|
UNKNOWN_VALUE_ERROR = "UNKNOWN_VALUE_ERROR",
|
|
175
|
-
/** Text value exceeds max length */
|
|
176
|
+
/** Text value exceeds max length. */
|
|
176
177
|
MAX_LENGTH_ERROR = "MAX_LENGTH_ERROR",
|
|
177
|
-
/** Text value not
|
|
178
|
+
/** Text value does not reach min length. */
|
|
178
179
|
MIN_LENGTH_ERROR = "MIN_LENGTH_ERROR",
|
|
179
|
-
/** Text value not applicable for expected pattern */
|
|
180
|
+
/** Text value is not applicable for expected pattern. */
|
|
180
181
|
PATTERN_ERROR = "PATTERN_ERROR",
|
|
181
|
-
/** Text value not applicable for expected format */
|
|
182
|
+
/** Text value is not applicable for expected format. */
|
|
182
183
|
FORMAT_ERROR = "FORMAT_ERROR",
|
|
183
|
-
/** Number value is too big */
|
|
184
|
+
/** Number value is too big. */
|
|
184
185
|
MAX_VALUE_ERROR = "MAX_VALUE_ERROR",
|
|
185
|
-
/** Number value is too small */
|
|
186
|
+
/** Number value is too small. */
|
|
186
187
|
MIN_VALUE_ERROR = "MIN_VALUE_ERROR",
|
|
187
|
-
/** Number value is not multiple of expected number */
|
|
188
|
+
/** Number value is not a multiple of expected number. */
|
|
188
189
|
MULTIPLE_OF_VALUE_ERROR = "MULTIPLE_OF_VALUE_ERROR",
|
|
189
|
-
/** Array value has too
|
|
190
|
+
/** Array value has too many items. */
|
|
190
191
|
MIN_ITEMS_ERROR = "MIN_ITEMS_ERROR",
|
|
191
|
-
/** Array value has not enough items */
|
|
192
|
+
/** Array value has not enough items. */
|
|
192
193
|
MAX_ITEMS_ERROR = "MAX_ITEMS_ERROR",
|
|
193
|
-
/** Value is not in list of allowed values */
|
|
194
|
+
/** Value is not in the list of allowed values. */
|
|
194
195
|
NOT_ALLOWED_VALUE_ERROR = "NOT_ALLOWED_VALUE_ERROR",
|
|
195
|
-
/** Submitted form is disabled */
|
|
196
|
+
/** Submitted form is disabled. */
|
|
196
197
|
DISABLED_FORM_ERROR = "DISABLED_FORM_ERROR"
|
|
197
198
|
}
|
|
198
199
|
interface FormSubmissionSpiExtensionConfig {
|