@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.
|
@@ -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 };
|