@wix/forms 1.0.101 → 1.0.103

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.
@@ -64,6 +64,11 @@ interface FormSubmission {
64
64
  * <b>Note</b>: This object is only applicable when submittng a form in the Wix Payments app.
65
65
  */
66
66
  orderDetails?: OrderDetails;
67
+ /**
68
+ * Contact ID. Member who created the submission, or a mapped contact.
69
+ * @readonly
70
+ */
71
+ contactId?: string | null;
67
72
  }
68
73
  declare enum SubmissionStatus {
69
74
  UNDEFINED = "UNDEFINED",
@@ -305,15 +310,9 @@ declare global {
305
310
  }
306
311
  }
307
312
 
308
- interface ValidateSubmissionEnvelope {
309
- request: ValidateSubmissionRequest;
310
- metadata: Context;
311
- }
312
- declare const provideHandlers$1: ServicePluginDefinition<{
313
- validateSubmission(payload: ValidateSubmissionEnvelope): ValidateSubmissionResponse | Promise<ValidateSubmissionResponse>;
314
- }>;
313
+ declare function createServicePluginModule<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
315
314
 
316
- declare const provideHandlers: BuildServicePluginDefinition<typeof provideHandlers$1>;
315
+ declare const provideHandlers: ReturnType<typeof createServicePluginModule<typeof publicProvideHandlers>>;
317
316
 
318
317
  type context_ActionType = ActionType;
319
318
  declare const context_ActionType: typeof ActionType;
@@ -64,6 +64,11 @@ interface FormSubmission {
64
64
  * <b>Note</b>: This object is only applicable when submittng a form in the Wix Payments app.
65
65
  */
66
66
  orderDetails?: OrderDetails;
67
+ /**
68
+ * Contact ID. Member who created the submission, or a mapped contact.
69
+ * @readonly
70
+ */
71
+ contactId?: string | null;
67
72
  }
68
73
  declare enum SubmissionStatus {
69
74
  UNDEFINED = "UNDEFINED",