@wix/forms 1.0.125 → 1.0.127
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.
|
@@ -456,9 +456,18 @@ declare global {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
+
interface ValidateSubmissionEnvelope {
|
|
460
|
+
request: ValidateSubmissionRequest;
|
|
461
|
+
metadata: Context;
|
|
462
|
+
}
|
|
463
|
+
declare const provideHandlers$1: ServicePluginDefinition<{
|
|
464
|
+
validateSubmission(payload: ValidateSubmissionEnvelope): ValidateSubmissionResponse | Promise<ValidateSubmissionResponse>;
|
|
465
|
+
}>;
|
|
466
|
+
|
|
459
467
|
declare function createServicePluginModule<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
|
|
460
468
|
|
|
461
|
-
|
|
469
|
+
type _publicProvideHandlersType = typeof provideHandlers$1;
|
|
470
|
+
declare const provideHandlers: ReturnType<typeof createServicePluginModule<_publicProvideHandlersType>>;
|
|
462
471
|
|
|
463
472
|
type context_ActionEvent = ActionEvent;
|
|
464
473
|
type context_ActionType = ActionType;
|
|
@@ -503,9 +512,10 @@ type context_ValidateSubmissionRequestActionsOneOf = ValidateSubmissionRequestAc
|
|
|
503
512
|
type context_ValidateSubmissionResponse = ValidateSubmissionResponse;
|
|
504
513
|
type context_WebhookIdentityType = WebhookIdentityType;
|
|
505
514
|
declare const context_WebhookIdentityType: typeof WebhookIdentityType;
|
|
515
|
+
type context__publicProvideHandlersType = _publicProvideHandlersType;
|
|
506
516
|
declare const context_provideHandlers: typeof provideHandlers;
|
|
507
517
|
declare namespace context {
|
|
508
|
-
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 };
|
|
518
|
+
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, type context__publicProvideHandlersType as _publicProvideHandlersType, context_provideHandlers as provideHandlers, provideHandlers$1 as publicProvideHandlers };
|
|
509
519
|
}
|
|
510
520
|
|
|
511
521
|
export { context as formSubmissions };
|