@wix/forms 1.0.108 → 1.0.109
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.109",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@wix/forms_form-spam-submission-reports": "1.0.4",
|
|
23
|
-
"@wix/forms_form-submissions": "1.0.
|
|
23
|
+
"@wix/forms_form-submissions": "1.0.7",
|
|
24
24
|
"@wix/forms_forms": "1.0.5",
|
|
25
25
|
"@wix/forms_submissions": "1.0.39"
|
|
26
26
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"fqdn": ""
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "37cb6a7fe9a4723cc3568a171fa054aeaed1af1afbace9d76353dab8"
|
|
50
50
|
}
|
|
@@ -244,7 +244,7 @@ interface Context {
|
|
|
244
244
|
/** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
|
|
245
245
|
currency?: string | null;
|
|
246
246
|
/** An object that describes the identity that triggered this request. */
|
|
247
|
-
identity?:
|
|
247
|
+
identity?: ContextIdentificationData;
|
|
248
248
|
/** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
|
|
249
249
|
languages?: string[];
|
|
250
250
|
/** The service provider app's instance ID. */
|
|
@@ -257,7 +257,7 @@ declare enum IdentityType {
|
|
|
257
257
|
WIX_USER = "WIX_USER",
|
|
258
258
|
APP = "APP"
|
|
259
259
|
}
|
|
260
|
-
interface
|
|
260
|
+
interface ContextIdentificationData extends ContextIdentificationDataIdOneOf {
|
|
261
261
|
/** ID of a site visitor that has not logged in to the site. */
|
|
262
262
|
anonymousVisitorId?: string;
|
|
263
263
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -270,6 +270,111 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
270
270
|
identityType?: IdentityType;
|
|
271
271
|
}
|
|
272
272
|
/** @oneof */
|
|
273
|
+
interface ContextIdentificationDataIdOneOf {
|
|
274
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
275
|
+
anonymousVisitorId?: string;
|
|
276
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
277
|
+
memberId?: string;
|
|
278
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
279
|
+
wixUserId?: string;
|
|
280
|
+
/** ID of an app. */
|
|
281
|
+
appId?: string;
|
|
282
|
+
}
|
|
283
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
284
|
+
createdEvent?: EntityCreatedEvent;
|
|
285
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
286
|
+
deletedEvent?: EntityDeletedEvent;
|
|
287
|
+
actionEvent?: ActionEvent;
|
|
288
|
+
/**
|
|
289
|
+
* Unique event ID.
|
|
290
|
+
* Allows clients to ignore duplicate webhooks.
|
|
291
|
+
*/
|
|
292
|
+
_id?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Assumes actions are also always typed to an entity_type
|
|
295
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
296
|
+
*/
|
|
297
|
+
entityFqdn?: string;
|
|
298
|
+
/**
|
|
299
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
300
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
301
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
302
|
+
*/
|
|
303
|
+
slug?: string;
|
|
304
|
+
/** ID of the entity associated with the event. */
|
|
305
|
+
entityId?: string;
|
|
306
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
307
|
+
eventTime?: Date;
|
|
308
|
+
/**
|
|
309
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
310
|
+
* (for example, GDPR).
|
|
311
|
+
*/
|
|
312
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
313
|
+
/** If present, indicates the action that triggered the event. */
|
|
314
|
+
originatedFrom?: string | null;
|
|
315
|
+
/**
|
|
316
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
317
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
318
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
319
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
320
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
321
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
322
|
+
*/
|
|
323
|
+
entityEventSequence?: string | null;
|
|
324
|
+
}
|
|
325
|
+
/** @oneof */
|
|
326
|
+
interface DomainEventBodyOneOf {
|
|
327
|
+
createdEvent?: EntityCreatedEvent;
|
|
328
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
329
|
+
deletedEvent?: EntityDeletedEvent;
|
|
330
|
+
actionEvent?: ActionEvent;
|
|
331
|
+
}
|
|
332
|
+
interface EntityCreatedEvent {
|
|
333
|
+
entityAsJson?: string;
|
|
334
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
335
|
+
restoreInfo?: RestoreInfo;
|
|
336
|
+
}
|
|
337
|
+
interface RestoreInfo {
|
|
338
|
+
deletedDate?: Date;
|
|
339
|
+
}
|
|
340
|
+
interface EntityUpdatedEvent {
|
|
341
|
+
/**
|
|
342
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
343
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
344
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
345
|
+
*/
|
|
346
|
+
currentEntityAsJson?: string;
|
|
347
|
+
}
|
|
348
|
+
interface EntityDeletedEvent {
|
|
349
|
+
/** Entity that was deleted */
|
|
350
|
+
deletedEntityAsJson?: string | null;
|
|
351
|
+
}
|
|
352
|
+
interface ActionEvent {
|
|
353
|
+
bodyAsJson?: string;
|
|
354
|
+
}
|
|
355
|
+
interface MessageEnvelope {
|
|
356
|
+
/** App instance ID. */
|
|
357
|
+
instanceId?: string | null;
|
|
358
|
+
/** Event type. */
|
|
359
|
+
eventType?: string;
|
|
360
|
+
/** The identification type and identity data. */
|
|
361
|
+
identity?: IdentificationData;
|
|
362
|
+
/** Stringify payload. */
|
|
363
|
+
data?: string;
|
|
364
|
+
}
|
|
365
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
366
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
367
|
+
anonymousVisitorId?: string;
|
|
368
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
369
|
+
memberId?: string;
|
|
370
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
371
|
+
wixUserId?: string;
|
|
372
|
+
/** ID of an app. */
|
|
373
|
+
appId?: string;
|
|
374
|
+
/** @readonly */
|
|
375
|
+
identityType?: WebhookIdentityType;
|
|
376
|
+
}
|
|
377
|
+
/** @oneof */
|
|
273
378
|
interface IdentificationDataIdOneOf {
|
|
274
379
|
/** ID of a site visitor that has not logged in to the site. */
|
|
275
380
|
anonymousVisitorId?: string;
|
|
@@ -280,6 +385,13 @@ interface IdentificationDataIdOneOf {
|
|
|
280
385
|
/** ID of an app. */
|
|
281
386
|
appId?: string;
|
|
282
387
|
}
|
|
388
|
+
declare enum WebhookIdentityType {
|
|
389
|
+
UNKNOWN = "UNKNOWN",
|
|
390
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
391
|
+
MEMBER = "MEMBER",
|
|
392
|
+
WIX_USER = "WIX_USER",
|
|
393
|
+
APP = "APP"
|
|
394
|
+
}
|
|
283
395
|
|
|
284
396
|
type ServicePluginMethodInput = {
|
|
285
397
|
request: any;
|
|
@@ -314,10 +426,18 @@ declare function createServicePluginModule<T extends ServicePluginDefinition<any
|
|
|
314
426
|
|
|
315
427
|
declare const provideHandlers: ReturnType<typeof createServicePluginModule<typeof publicProvideHandlers>>;
|
|
316
428
|
|
|
429
|
+
type context_ActionEvent = ActionEvent;
|
|
317
430
|
type context_ActionType = ActionType;
|
|
318
431
|
declare const context_ActionType: typeof ActionType;
|
|
319
432
|
type context_AlternativeUri = AlternativeUri;
|
|
320
433
|
type context_Context = Context;
|
|
434
|
+
type context_ContextIdentificationData = ContextIdentificationData;
|
|
435
|
+
type context_ContextIdentificationDataIdOneOf = ContextIdentificationDataIdOneOf;
|
|
436
|
+
type context_DomainEvent = DomainEvent;
|
|
437
|
+
type context_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
438
|
+
type context_EntityCreatedEvent = EntityCreatedEvent;
|
|
439
|
+
type context_EntityDeletedEvent = EntityDeletedEvent;
|
|
440
|
+
type context_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
321
441
|
type context_ExtendedFields = ExtendedFields;
|
|
322
442
|
type context_FormSubmission = FormSubmission;
|
|
323
443
|
type context_FormSubmissionSpiExtensionConfig = FormSubmissionSpiExtensionConfig;
|
|
@@ -326,7 +446,9 @@ type context_IdentificationData = IdentificationData;
|
|
|
326
446
|
type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
327
447
|
type context_IdentityType = IdentityType;
|
|
328
448
|
declare const context_IdentityType: typeof IdentityType;
|
|
449
|
+
type context_MessageEnvelope = MessageEnvelope;
|
|
329
450
|
type context_OrderDetails = OrderDetails;
|
|
451
|
+
type context_RestoreInfo = RestoreInfo;
|
|
330
452
|
type context_SpiBaseUri = SpiBaseUri;
|
|
331
453
|
type context_SubmissionErrorType = SubmissionErrorType;
|
|
332
454
|
declare const context_SubmissionErrorType: typeof SubmissionErrorType;
|
|
@@ -340,9 +462,11 @@ type context_UpdateOptions = UpdateOptions;
|
|
|
340
462
|
type context_ValidateSubmissionRequest = ValidateSubmissionRequest;
|
|
341
463
|
type context_ValidateSubmissionRequestActionsOneOf = ValidateSubmissionRequestActionsOneOf;
|
|
342
464
|
type context_ValidateSubmissionResponse = ValidateSubmissionResponse;
|
|
465
|
+
type context_WebhookIdentityType = WebhookIdentityType;
|
|
466
|
+
declare const context_WebhookIdentityType: typeof WebhookIdentityType;
|
|
343
467
|
declare const context_provideHandlers: typeof provideHandlers;
|
|
344
468
|
declare namespace context {
|
|
345
|
-
export { context_ActionType as ActionType, type context_AlternativeUri as AlternativeUri, type context_Context as Context, 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_OrderDetails as OrderDetails, 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_provideHandlers as provideHandlers };
|
|
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 };
|
|
346
470
|
}
|
|
347
471
|
|
|
348
472
|
export { context as formSubmissions };
|
|
@@ -244,7 +244,7 @@ interface Context {
|
|
|
244
244
|
/** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
|
|
245
245
|
currency?: string | null;
|
|
246
246
|
/** An object that describes the identity that triggered this request. */
|
|
247
|
-
identity?:
|
|
247
|
+
identity?: ContextIdentificationData;
|
|
248
248
|
/** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
|
|
249
249
|
languages?: string[];
|
|
250
250
|
/** The service provider app's instance ID. */
|
|
@@ -257,7 +257,7 @@ declare enum IdentityType {
|
|
|
257
257
|
WIX_USER = "WIX_USER",
|
|
258
258
|
APP = "APP"
|
|
259
259
|
}
|
|
260
|
-
interface
|
|
260
|
+
interface ContextIdentificationData extends ContextIdentificationDataIdOneOf {
|
|
261
261
|
/** ID of a site visitor that has not logged in to the site. */
|
|
262
262
|
anonymousVisitorId?: string;
|
|
263
263
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -270,6 +270,111 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
270
270
|
identityType?: IdentityType;
|
|
271
271
|
}
|
|
272
272
|
/** @oneof */
|
|
273
|
+
interface ContextIdentificationDataIdOneOf {
|
|
274
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
275
|
+
anonymousVisitorId?: string;
|
|
276
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
277
|
+
memberId?: string;
|
|
278
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
279
|
+
wixUserId?: string;
|
|
280
|
+
/** ID of an app. */
|
|
281
|
+
appId?: string;
|
|
282
|
+
}
|
|
283
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
284
|
+
createdEvent?: EntityCreatedEvent;
|
|
285
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
286
|
+
deletedEvent?: EntityDeletedEvent;
|
|
287
|
+
actionEvent?: ActionEvent;
|
|
288
|
+
/**
|
|
289
|
+
* Unique event ID.
|
|
290
|
+
* Allows clients to ignore duplicate webhooks.
|
|
291
|
+
*/
|
|
292
|
+
_id?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Assumes actions are also always typed to an entity_type
|
|
295
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
296
|
+
*/
|
|
297
|
+
entityFqdn?: string;
|
|
298
|
+
/**
|
|
299
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
300
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
301
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
302
|
+
*/
|
|
303
|
+
slug?: string;
|
|
304
|
+
/** ID of the entity associated with the event. */
|
|
305
|
+
entityId?: string;
|
|
306
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
307
|
+
eventTime?: Date;
|
|
308
|
+
/**
|
|
309
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
310
|
+
* (for example, GDPR).
|
|
311
|
+
*/
|
|
312
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
313
|
+
/** If present, indicates the action that triggered the event. */
|
|
314
|
+
originatedFrom?: string | null;
|
|
315
|
+
/**
|
|
316
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
317
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
318
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
319
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
320
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
321
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
322
|
+
*/
|
|
323
|
+
entityEventSequence?: string | null;
|
|
324
|
+
}
|
|
325
|
+
/** @oneof */
|
|
326
|
+
interface DomainEventBodyOneOf {
|
|
327
|
+
createdEvent?: EntityCreatedEvent;
|
|
328
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
329
|
+
deletedEvent?: EntityDeletedEvent;
|
|
330
|
+
actionEvent?: ActionEvent;
|
|
331
|
+
}
|
|
332
|
+
interface EntityCreatedEvent {
|
|
333
|
+
entityAsJson?: string;
|
|
334
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
335
|
+
restoreInfo?: RestoreInfo;
|
|
336
|
+
}
|
|
337
|
+
interface RestoreInfo {
|
|
338
|
+
deletedDate?: Date;
|
|
339
|
+
}
|
|
340
|
+
interface EntityUpdatedEvent {
|
|
341
|
+
/**
|
|
342
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
343
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
344
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
345
|
+
*/
|
|
346
|
+
currentEntityAsJson?: string;
|
|
347
|
+
}
|
|
348
|
+
interface EntityDeletedEvent {
|
|
349
|
+
/** Entity that was deleted */
|
|
350
|
+
deletedEntityAsJson?: string | null;
|
|
351
|
+
}
|
|
352
|
+
interface ActionEvent {
|
|
353
|
+
bodyAsJson?: string;
|
|
354
|
+
}
|
|
355
|
+
interface MessageEnvelope {
|
|
356
|
+
/** App instance ID. */
|
|
357
|
+
instanceId?: string | null;
|
|
358
|
+
/** Event type. */
|
|
359
|
+
eventType?: string;
|
|
360
|
+
/** The identification type and identity data. */
|
|
361
|
+
identity?: IdentificationData;
|
|
362
|
+
/** Stringify payload. */
|
|
363
|
+
data?: string;
|
|
364
|
+
}
|
|
365
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
366
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
367
|
+
anonymousVisitorId?: string;
|
|
368
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
369
|
+
memberId?: string;
|
|
370
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
371
|
+
wixUserId?: string;
|
|
372
|
+
/** ID of an app. */
|
|
373
|
+
appId?: string;
|
|
374
|
+
/** @readonly */
|
|
375
|
+
identityType?: WebhookIdentityType;
|
|
376
|
+
}
|
|
377
|
+
/** @oneof */
|
|
273
378
|
interface IdentificationDataIdOneOf {
|
|
274
379
|
/** ID of a site visitor that has not logged in to the site. */
|
|
275
380
|
anonymousVisitorId?: string;
|
|
@@ -280,6 +385,13 @@ interface IdentificationDataIdOneOf {
|
|
|
280
385
|
/** ID of an app. */
|
|
281
386
|
appId?: string;
|
|
282
387
|
}
|
|
388
|
+
declare enum WebhookIdentityType {
|
|
389
|
+
UNKNOWN = "UNKNOWN",
|
|
390
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
391
|
+
MEMBER = "MEMBER",
|
|
392
|
+
WIX_USER = "WIX_USER",
|
|
393
|
+
APP = "APP"
|
|
394
|
+
}
|
|
283
395
|
|
|
284
396
|
type ServicePluginMethodInput = {
|
|
285
397
|
request: any;
|
|
@@ -317,10 +429,18 @@ declare const provideHandlers: ServicePluginDefinition<{
|
|
|
317
429
|
validateSubmission(payload: ValidateSubmissionEnvelope): ValidateSubmissionResponse | Promise<ValidateSubmissionResponse>;
|
|
318
430
|
}>;
|
|
319
431
|
|
|
432
|
+
type index_d_ActionEvent = ActionEvent;
|
|
320
433
|
type index_d_ActionType = ActionType;
|
|
321
434
|
declare const index_d_ActionType: typeof ActionType;
|
|
322
435
|
type index_d_AlternativeUri = AlternativeUri;
|
|
323
436
|
type index_d_Context = Context;
|
|
437
|
+
type index_d_ContextIdentificationData = ContextIdentificationData;
|
|
438
|
+
type index_d_ContextIdentificationDataIdOneOf = ContextIdentificationDataIdOneOf;
|
|
439
|
+
type index_d_DomainEvent = DomainEvent;
|
|
440
|
+
type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
441
|
+
type index_d_EntityCreatedEvent = EntityCreatedEvent;
|
|
442
|
+
type index_d_EntityDeletedEvent = EntityDeletedEvent;
|
|
443
|
+
type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
324
444
|
type index_d_ExtendedFields = ExtendedFields;
|
|
325
445
|
type index_d_FormSubmission = FormSubmission;
|
|
326
446
|
type index_d_FormSubmissionSpiExtensionConfig = FormSubmissionSpiExtensionConfig;
|
|
@@ -329,7 +449,9 @@ type index_d_IdentificationData = IdentificationData;
|
|
|
329
449
|
type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
330
450
|
type index_d_IdentityType = IdentityType;
|
|
331
451
|
declare const index_d_IdentityType: typeof IdentityType;
|
|
452
|
+
type index_d_MessageEnvelope = MessageEnvelope;
|
|
332
453
|
type index_d_OrderDetails = OrderDetails;
|
|
454
|
+
type index_d_RestoreInfo = RestoreInfo;
|
|
333
455
|
type index_d_SpiBaseUri = SpiBaseUri;
|
|
334
456
|
type index_d_SubmissionErrorType = SubmissionErrorType;
|
|
335
457
|
declare const index_d_SubmissionErrorType: typeof SubmissionErrorType;
|
|
@@ -344,9 +466,11 @@ type index_d_ValidateSubmissionEnvelope = ValidateSubmissionEnvelope;
|
|
|
344
466
|
type index_d_ValidateSubmissionRequest = ValidateSubmissionRequest;
|
|
345
467
|
type index_d_ValidateSubmissionRequestActionsOneOf = ValidateSubmissionRequestActionsOneOf;
|
|
346
468
|
type index_d_ValidateSubmissionResponse = ValidateSubmissionResponse;
|
|
469
|
+
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
470
|
+
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
347
471
|
declare const index_d_provideHandlers: typeof provideHandlers;
|
|
348
472
|
declare namespace index_d {
|
|
349
|
-
export { index_d_ActionType as ActionType, type index_d_AlternativeUri as AlternativeUri, type index_d_Context as Context, 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_OrderDetails as OrderDetails, 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_provideHandlers as provideHandlers };
|
|
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 };
|
|
350
474
|
}
|
|
351
475
|
|
|
352
476
|
export { index_d as formSubmissions };
|