@wix/forms 1.0.112 → 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.
|
@@ -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 };
|
|
@@ -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;
|
|
@@ -449,10 +486,15 @@ type index_d_IdentificationData = IdentificationData;
|
|
|
449
486
|
type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
450
487
|
type index_d_IdentityType = IdentityType;
|
|
451
488
|
declare const index_d_IdentityType: typeof IdentityType;
|
|
489
|
+
type index_d_MarketingSubscriptionDetails = MarketingSubscriptionDetails;
|
|
452
490
|
type index_d_MessageEnvelope = MessageEnvelope;
|
|
491
|
+
type index_d_OptInLevel = OptInLevel;
|
|
492
|
+
declare const index_d_OptInLevel: typeof OptInLevel;
|
|
453
493
|
type index_d_OrderDetails = OrderDetails;
|
|
454
494
|
type index_d_RestoreInfo = RestoreInfo;
|
|
455
495
|
type index_d_SpiBaseUri = SpiBaseUri;
|
|
496
|
+
type index_d_SubmissionContactMapped = SubmissionContactMapped;
|
|
497
|
+
type index_d_SubmissionContactMappingSkipped = SubmissionContactMappingSkipped;
|
|
456
498
|
type index_d_SubmissionErrorType = SubmissionErrorType;
|
|
457
499
|
declare const index_d_SubmissionErrorType: typeof SubmissionErrorType;
|
|
458
500
|
type index_d_SubmissionStatus = SubmissionStatus;
|
|
@@ -470,7 +512,7 @@ type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
|
470
512
|
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
471
513
|
declare const index_d_provideHandlers: typeof provideHandlers;
|
|
472
514
|
declare namespace index_d {
|
|
473
|
-
export { type index_d_ActionEvent as ActionEvent, index_d_ActionType as ActionType, type index_d_AlternativeUri as AlternativeUri, type index_d_Context as Context, type index_d_ContextIdentificationData as ContextIdentificationData, type index_d_ContextIdentificationDataIdOneOf as ContextIdentificationDataIdOneOf, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_ExtendedFields as ExtendedFields, type index_d_FormSubmission as FormSubmission, type index_d_FormSubmissionSpiExtensionConfig as FormSubmissionSpiExtensionConfig, type index_d_FormsSubmissionsExtensionNamespaceConfig as FormsSubmissionsExtensionNamespaceConfig, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_MessageEnvelope as MessageEnvelope, type index_d_OrderDetails as OrderDetails, type index_d_RestoreInfo as RestoreInfo, type index_d_SpiBaseUri as SpiBaseUri, index_d_SubmissionErrorType as SubmissionErrorType, index_d_SubmissionStatus as SubmissionStatus, type index_d_SubmissionValidationError as SubmissionValidationError, type index_d_SubmissionValidationErrorErrorMessageOneOf as SubmissionValidationErrorErrorMessageOneOf, type index_d_Submitter as Submitter, type index_d_SubmitterSubmitterOneOf as SubmitterSubmitterOneOf, type index_d_UpdateOptions as UpdateOptions, type index_d_ValidateSubmissionEnvelope as ValidateSubmissionEnvelope, type index_d_ValidateSubmissionRequest as ValidateSubmissionRequest, type index_d_ValidateSubmissionRequestActionsOneOf as ValidateSubmissionRequestActionsOneOf, type index_d_ValidateSubmissionResponse as ValidateSubmissionResponse, index_d_WebhookIdentityType as WebhookIdentityType, index_d_provideHandlers as provideHandlers };
|
|
515
|
+
export { type index_d_ActionEvent as ActionEvent, index_d_ActionType as ActionType, type index_d_AlternativeUri as AlternativeUri, type index_d_Context as Context, type index_d_ContextIdentificationData as ContextIdentificationData, type index_d_ContextIdentificationDataIdOneOf as ContextIdentificationDataIdOneOf, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_ExtendedFields as ExtendedFields, type index_d_FormSubmission as FormSubmission, type index_d_FormSubmissionSpiExtensionConfig as FormSubmissionSpiExtensionConfig, type index_d_FormsSubmissionsExtensionNamespaceConfig as FormsSubmissionsExtensionNamespaceConfig, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_MarketingSubscriptionDetails as MarketingSubscriptionDetails, type index_d_MessageEnvelope as MessageEnvelope, index_d_OptInLevel as OptInLevel, type index_d_OrderDetails as OrderDetails, type index_d_RestoreInfo as RestoreInfo, type index_d_SpiBaseUri as SpiBaseUri, type index_d_SubmissionContactMapped as SubmissionContactMapped, type index_d_SubmissionContactMappingSkipped as SubmissionContactMappingSkipped, index_d_SubmissionErrorType as SubmissionErrorType, index_d_SubmissionStatus as SubmissionStatus, type index_d_SubmissionValidationError as SubmissionValidationError, type index_d_SubmissionValidationErrorErrorMessageOneOf as SubmissionValidationErrorErrorMessageOneOf, type index_d_Submitter as Submitter, type index_d_SubmitterSubmitterOneOf as SubmitterSubmitterOneOf, type index_d_UpdateOptions as UpdateOptions, type index_d_ValidateSubmissionEnvelope as ValidateSubmissionEnvelope, type index_d_ValidateSubmissionRequest as ValidateSubmissionRequest, type index_d_ValidateSubmissionRequestActionsOneOf as ValidateSubmissionRequestActionsOneOf, type index_d_ValidateSubmissionResponse as ValidateSubmissionResponse, index_d_WebhookIdentityType as WebhookIdentityType, index_d_provideHandlers as provideHandlers };
|
|
474
516
|
}
|
|
475
517
|
|
|
476
518
|
export { index_d as formSubmissions };
|