@wix/auto_sdk_forms_form-submissions 1.0.0 → 1.0.1
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/build/cjs/src/service-plugins-types.d.ts +131 -29
- package/build/cjs/src/service-plugins-types.js.map +1 -1
- package/build/es/src/service-plugins-types.d.ts +131 -29
- package/build/es/src/service-plugins-types.js.map +1 -1
- package/build/internal/cjs/src/service-plugins-types.d.ts +131 -29
- package/build/internal/cjs/src/service-plugins-types.js.map +1 -1
- package/build/internal/es/src/service-plugins-types.d.ts +131 -29
- package/build/internal/es/src/service-plugins-types.js.map +1 -1
- package/package.json +2 -2
|
@@ -15,13 +15,20 @@ export interface ValidateSubmissionRequestActionsOneOf {
|
|
|
15
15
|
export interface FormSubmission {
|
|
16
16
|
/**
|
|
17
17
|
* Submission ID.
|
|
18
|
+
* @format GUID
|
|
18
19
|
* @readonly
|
|
19
20
|
*/
|
|
20
21
|
_id?: string | null;
|
|
21
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* ID of the form which the submission belongs to.
|
|
24
|
+
* @format GUID
|
|
25
|
+
* @immutable
|
|
26
|
+
*/
|
|
22
27
|
formId?: string;
|
|
23
28
|
/**
|
|
24
29
|
* The app which the form submissions belong to. For example, the namespace for the Wix Forms app is `wix.form_app.form`. Call `Get Submission` to retrieve the namespace.
|
|
30
|
+
* @minLength 10
|
|
31
|
+
* @maxLength 50
|
|
25
32
|
* @readonly
|
|
26
33
|
*/
|
|
27
34
|
namespace?: string;
|
|
@@ -29,7 +36,10 @@ export interface FormSubmission {
|
|
|
29
36
|
status?: SubmissionStatus;
|
|
30
37
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
31
38
|
submissions?: Record<string, any>;
|
|
32
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Date and time the form submission was created.
|
|
41
|
+
* @immutable
|
|
42
|
+
*/
|
|
33
43
|
_createdDate?: Date | null;
|
|
34
44
|
/**
|
|
35
45
|
* Date and time the form submission was updated.
|
|
@@ -52,14 +62,22 @@ export interface FormSubmission {
|
|
|
52
62
|
extendedFields?: ExtendedFields;
|
|
53
63
|
/**
|
|
54
64
|
* Order details. <br>
|
|
55
|
-
* <b>Note</b>: This object is only applicable when
|
|
65
|
+
* <b>Note</b>: This object is only applicable when submitting a form in the Wix Payments app.
|
|
56
66
|
*/
|
|
57
67
|
orderDetails?: OrderDetails;
|
|
58
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Contact ID of a site visitor who created the submission.
|
|
70
|
+
* @format GUID
|
|
71
|
+
* @immutable
|
|
72
|
+
*/
|
|
59
73
|
contactId?: string | null;
|
|
60
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Authorized viewer ID.
|
|
76
|
+
* @format GUID
|
|
77
|
+
* @immutable
|
|
78
|
+
*/
|
|
61
79
|
accessRestriction?: string | null;
|
|
62
|
-
/** Tag
|
|
80
|
+
/** Tag IDs collections associated with the current entity. */
|
|
63
81
|
tags?: PublicTags;
|
|
64
82
|
}
|
|
65
83
|
export declare enum SubmissionStatus {
|
|
@@ -74,24 +92,48 @@ export declare enum SubmissionStatus {
|
|
|
74
92
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
75
93
|
}
|
|
76
94
|
export interface Submitter extends SubmitterSubmitterOneOf {
|
|
77
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Member ID.
|
|
97
|
+
* @format GUID
|
|
98
|
+
*/
|
|
78
99
|
memberId?: string | null;
|
|
79
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Visitor ID.
|
|
102
|
+
* @format GUID
|
|
103
|
+
*/
|
|
80
104
|
visitorId?: string | null;
|
|
81
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Application ID.
|
|
107
|
+
* @maxLength 36
|
|
108
|
+
*/
|
|
82
109
|
applicationId?: string | null;
|
|
83
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* User ID.
|
|
112
|
+
* @format GUID
|
|
113
|
+
*/
|
|
84
114
|
userId?: string | null;
|
|
85
115
|
}
|
|
86
116
|
/** @oneof */
|
|
87
117
|
export interface SubmitterSubmitterOneOf {
|
|
88
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* Member ID.
|
|
120
|
+
* @format GUID
|
|
121
|
+
*/
|
|
89
122
|
memberId?: string | null;
|
|
90
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Visitor ID.
|
|
125
|
+
* @format GUID
|
|
126
|
+
*/
|
|
91
127
|
visitorId?: string | null;
|
|
92
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Application ID.
|
|
130
|
+
* @maxLength 36
|
|
131
|
+
*/
|
|
93
132
|
applicationId?: string | null;
|
|
94
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* User ID.
|
|
135
|
+
* @format GUID
|
|
136
|
+
*/
|
|
95
137
|
userId?: string | null;
|
|
96
138
|
}
|
|
97
139
|
export interface ExtendedFields {
|
|
@@ -108,6 +150,7 @@ export interface ExtendedFields {
|
|
|
108
150
|
export interface OrderDetails {
|
|
109
151
|
/**
|
|
110
152
|
* ID of the order related to submission (only applicable if a form has payments).
|
|
153
|
+
* @format GUID
|
|
111
154
|
* @readonly
|
|
112
155
|
*/
|
|
113
156
|
orderId?: string | null;
|
|
@@ -118,16 +161,19 @@ export interface OrderDetails {
|
|
|
118
161
|
number?: string | null;
|
|
119
162
|
/**
|
|
120
163
|
* Currency.
|
|
164
|
+
* @format CURRENCY
|
|
121
165
|
* @readonly
|
|
122
166
|
*/
|
|
123
167
|
currency?: string | null;
|
|
124
168
|
/**
|
|
125
169
|
* Item subtotal.
|
|
170
|
+
* @decimalValue options { gte:0.00, maxScale:2 }
|
|
126
171
|
* @readonly
|
|
127
172
|
*/
|
|
128
173
|
itemSubtotal?: string;
|
|
129
174
|
/**
|
|
130
175
|
* ID of the checkout related to submission (only applicable if a form has payments).
|
|
176
|
+
* @format GUID
|
|
131
177
|
* @readonly
|
|
132
178
|
*/
|
|
133
179
|
checkoutId?: string;
|
|
@@ -137,7 +183,11 @@ export interface PublicTags {
|
|
|
137
183
|
tags?: TagList;
|
|
138
184
|
}
|
|
139
185
|
export interface TagList {
|
|
140
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* List of tag IDs
|
|
188
|
+
* @maxSize 100
|
|
189
|
+
* @maxLength 5
|
|
190
|
+
*/
|
|
141
191
|
tagIds?: string[];
|
|
142
192
|
}
|
|
143
193
|
export declare enum ActionType {
|
|
@@ -156,15 +206,22 @@ export interface ValidateSubmissionResponse {
|
|
|
156
206
|
/**
|
|
157
207
|
* List of validation errors. <br>
|
|
158
208
|
* If there are no validation errors, returns an empty array.
|
|
209
|
+
* @maxSize 100
|
|
159
210
|
*/
|
|
160
211
|
errors?: SubmissionValidationError[];
|
|
161
212
|
}
|
|
162
213
|
export interface SubmissionValidationError extends SubmissionValidationErrorErrorMessageOneOf {
|
|
163
214
|
/** Predefined error type. */
|
|
164
215
|
errorType?: SubmissionErrorType;
|
|
165
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* Custom error message. The message is displayed instead of an error type.
|
|
218
|
+
* @maxLength 500
|
|
219
|
+
*/
|
|
166
220
|
customErrorMessage?: string;
|
|
167
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* Path indicating the source of the error, such as `form.fields.target`.
|
|
223
|
+
* @maxLength 500
|
|
224
|
+
*/
|
|
168
225
|
errorPath?: string;
|
|
169
226
|
/** Additional error parameters. */
|
|
170
227
|
params?: Record<string, any> | null;
|
|
@@ -173,7 +230,10 @@ export interface SubmissionValidationError extends SubmissionValidationErrorErro
|
|
|
173
230
|
export interface SubmissionValidationErrorErrorMessageOneOf {
|
|
174
231
|
/** Predefined error type. */
|
|
175
232
|
errorType?: SubmissionErrorType;
|
|
176
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Custom error message. The message is displayed instead of an error type.
|
|
235
|
+
* @maxLength 500
|
|
236
|
+
*/
|
|
177
237
|
customErrorMessage?: string;
|
|
178
238
|
}
|
|
179
239
|
export declare enum SubmissionErrorType {
|
|
@@ -215,13 +275,18 @@ export interface FormSubmissionSpiExtensionConfig {
|
|
|
215
275
|
* the `deploymentUri` you provide here is `https://my-form-submissions.com/`.
|
|
216
276
|
*/
|
|
217
277
|
deploymentUri?: SpiBaseUri;
|
|
218
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* Namespace names.
|
|
280
|
+
* @maxSize 10
|
|
281
|
+
*/
|
|
219
282
|
namespaceConfigs?: FormsSubmissionsExtensionNamespaceConfig[];
|
|
220
283
|
}
|
|
221
284
|
export interface SpiBaseUri {
|
|
222
285
|
/**
|
|
223
286
|
* Base URI where the methods are called. Wix appends the path to the `baseUri`.
|
|
224
287
|
* For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.
|
|
288
|
+
* @minLength 6
|
|
289
|
+
* @maxLength 2048
|
|
225
290
|
*/
|
|
226
291
|
baseUri?: string;
|
|
227
292
|
/** Alternate, custom URIs to replace the default URIs for specific service plugin methods. */
|
|
@@ -233,11 +298,15 @@ export interface AlternativeUri {
|
|
|
233
298
|
*
|
|
234
299
|
* For `methodName`, use the name of the method in PascalCase.
|
|
235
300
|
* For example, for Get Shipping Rates use `GetShippingRates`.
|
|
301
|
+
* @minLength 3
|
|
302
|
+
* @maxLength 128
|
|
236
303
|
*/
|
|
237
304
|
methodName?: string;
|
|
238
305
|
/**
|
|
239
306
|
* Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.
|
|
240
307
|
* Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.
|
|
308
|
+
* @minLength 6
|
|
309
|
+
* @maxLength 2048
|
|
241
310
|
*/
|
|
242
311
|
absoluteUri?: string;
|
|
243
312
|
}
|
|
@@ -246,11 +315,14 @@ export interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
246
315
|
* The app which the form submissions belong to. For example, the namespace for the Wix Forms app is `wix.form_app.form`.
|
|
247
316
|
*
|
|
248
317
|
* Call `Get Submission` to retrieve the namespace.
|
|
318
|
+
* @minLength 10
|
|
319
|
+
* @maxLength 50
|
|
249
320
|
*/
|
|
250
321
|
namespace?: string;
|
|
251
322
|
/**
|
|
252
323
|
* The ID of the specific form that will trigger the defined methods when a submission is made.
|
|
253
324
|
* This field is optional. If not provided, submissions from all forms will trigger the methods.
|
|
325
|
+
* @format GUID
|
|
254
326
|
*/
|
|
255
327
|
formId?: string | null;
|
|
256
328
|
/** Enable submission validation. */
|
|
@@ -272,13 +344,19 @@ export interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
272
344
|
export interface Context {
|
|
273
345
|
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
274
346
|
requestId?: string | null;
|
|
275
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code.
|
|
349
|
+
* @format CURRENCY
|
|
350
|
+
*/
|
|
276
351
|
currency?: string | null;
|
|
277
352
|
/** An object that describes the identity that triggered this request. */
|
|
278
353
|
identity?: IdentificationData;
|
|
279
354
|
/** 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"`. */
|
|
280
355
|
languages?: string[];
|
|
281
|
-
/**
|
|
356
|
+
/**
|
|
357
|
+
* The service provider app's instance ID.
|
|
358
|
+
* @format GUID
|
|
359
|
+
*/
|
|
282
360
|
instanceId?: string | null;
|
|
283
361
|
}
|
|
284
362
|
export declare enum IdentityType {
|
|
@@ -289,25 +367,49 @@ export declare enum IdentityType {
|
|
|
289
367
|
APP = "APP"
|
|
290
368
|
}
|
|
291
369
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
292
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* ID of a site visitor that has not logged in to the site.
|
|
372
|
+
* @format GUID
|
|
373
|
+
*/
|
|
293
374
|
anonymousVisitorId?: string;
|
|
294
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* ID of a site visitor that has logged in to the site.
|
|
377
|
+
* @format GUID
|
|
378
|
+
*/
|
|
295
379
|
memberId?: string;
|
|
296
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
382
|
+
* @format GUID
|
|
383
|
+
*/
|
|
297
384
|
wixUserId?: string;
|
|
298
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* ID of an app.
|
|
387
|
+
* @format GUID
|
|
388
|
+
*/
|
|
299
389
|
appId?: string;
|
|
300
390
|
/** @readonly */
|
|
301
391
|
identityType?: IdentityType;
|
|
302
392
|
}
|
|
303
393
|
/** @oneof */
|
|
304
394
|
export interface IdentificationDataIdOneOf {
|
|
305
|
-
/**
|
|
395
|
+
/**
|
|
396
|
+
* ID of a site visitor that has not logged in to the site.
|
|
397
|
+
* @format GUID
|
|
398
|
+
*/
|
|
306
399
|
anonymousVisitorId?: string;
|
|
307
|
-
/**
|
|
400
|
+
/**
|
|
401
|
+
* ID of a site visitor that has logged in to the site.
|
|
402
|
+
* @format GUID
|
|
403
|
+
*/
|
|
308
404
|
memberId?: string;
|
|
309
|
-
/**
|
|
405
|
+
/**
|
|
406
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
407
|
+
* @format GUID
|
|
408
|
+
*/
|
|
310
409
|
wixUserId?: string;
|
|
311
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* ID of an app.
|
|
412
|
+
* @format GUID
|
|
413
|
+
*/
|
|
312
414
|
appId?: string;
|
|
313
415
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,gBAUX;AAVD,WAAY,gBAAgB;IAC1B,2EAAuD,CAAA;IACvD,0FAA0F;IAC1F,uCAAmB,CAAA;IACnB,4DAA4D;IAC5D,2CAAuB,CAAA;IACvB,sDAAsD;IACtD,uDAAmC,CAAA;IACnC,iDAAiD;IACjD,yDAAqC,CAAA;AACvC,CAAC,EAVW,gBAAgB,gCAAhB,gBAAgB,QAU3B;AA2GD,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,+CAAiC,CAAA;IACjC,yBAAyB;IACzB,+BAAiB,CAAA;IACjB,yBAAyB;IACzB,+BAAiB,CAAA;AACnB,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AA6CD,IAAY,mBA+BX;AA/BD,WAAY,mBAAmB;IAC7B,mEAAmE;IACnE,sDAA+B,CAAA;IAC/B,4CAA4C;IAC5C,gDAAyB,CAAA;IACzB,wCAAwC;IACxC,oEAA6C,CAAA;IAC7C,mEAAmE;IACnE,kEAA2C,CAAA;IAC3C,qCAAqC;IACrC,4DAAqC,CAAA;IACrC,4CAA4C;IAC5C,4DAAqC,CAAA;IACrC,yDAAyD;IACzD,sDAA+B,CAAA;IAC/B,wDAAwD;IACxD,oDAA6B,CAAA;IAC7B,+BAA+B;IAC/B,0DAAmC,CAAA;IACnC,iCAAiC;IACjC,0DAAmC,CAAA;IACnC,yDAAyD;IACzD,0EAAmD,CAAA;IACnD,sCAAsC;IACtC,0DAAmC,CAAA;IACnC,wCAAwC;IACxC,0DAAmC,CAAA;IACnC,kDAAkD;IAClD,0EAAmD,CAAA;IACnD,kCAAkC;IAClC,kEAA2C,CAAA;AAC7C,CAAC,EA/BW,mBAAmB,mCAAnB,mBAAmB,QA+B9B;AAkGD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB"}
|
|
@@ -15,13 +15,20 @@ export interface ValidateSubmissionRequestActionsOneOf {
|
|
|
15
15
|
export interface FormSubmission {
|
|
16
16
|
/**
|
|
17
17
|
* Submission ID.
|
|
18
|
+
* @format GUID
|
|
18
19
|
* @readonly
|
|
19
20
|
*/
|
|
20
21
|
_id?: string | null;
|
|
21
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* ID of the form which the submission belongs to.
|
|
24
|
+
* @format GUID
|
|
25
|
+
* @immutable
|
|
26
|
+
*/
|
|
22
27
|
formId?: string;
|
|
23
28
|
/**
|
|
24
29
|
* The app which the form submissions belong to. For example, the namespace for the Wix Forms app is `wix.form_app.form`. Call `Get Submission` to retrieve the namespace.
|
|
30
|
+
* @minLength 10
|
|
31
|
+
* @maxLength 50
|
|
25
32
|
* @readonly
|
|
26
33
|
*/
|
|
27
34
|
namespace?: string;
|
|
@@ -29,7 +36,10 @@ export interface FormSubmission {
|
|
|
29
36
|
status?: SubmissionStatus;
|
|
30
37
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
31
38
|
submissions?: Record<string, any>;
|
|
32
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Date and time the form submission was created.
|
|
41
|
+
* @immutable
|
|
42
|
+
*/
|
|
33
43
|
_createdDate?: Date | null;
|
|
34
44
|
/**
|
|
35
45
|
* Date and time the form submission was updated.
|
|
@@ -52,14 +62,22 @@ export interface FormSubmission {
|
|
|
52
62
|
extendedFields?: ExtendedFields;
|
|
53
63
|
/**
|
|
54
64
|
* Order details. <br>
|
|
55
|
-
* <b>Note</b>: This object is only applicable when
|
|
65
|
+
* <b>Note</b>: This object is only applicable when submitting a form in the Wix Payments app.
|
|
56
66
|
*/
|
|
57
67
|
orderDetails?: OrderDetails;
|
|
58
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Contact ID of a site visitor who created the submission.
|
|
70
|
+
* @format GUID
|
|
71
|
+
* @immutable
|
|
72
|
+
*/
|
|
59
73
|
contactId?: string | null;
|
|
60
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Authorized viewer ID.
|
|
76
|
+
* @format GUID
|
|
77
|
+
* @immutable
|
|
78
|
+
*/
|
|
61
79
|
accessRestriction?: string | null;
|
|
62
|
-
/** Tag
|
|
80
|
+
/** Tag IDs collections associated with the current entity. */
|
|
63
81
|
tags?: PublicTags;
|
|
64
82
|
}
|
|
65
83
|
export declare enum SubmissionStatus {
|
|
@@ -74,24 +92,48 @@ export declare enum SubmissionStatus {
|
|
|
74
92
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
75
93
|
}
|
|
76
94
|
export interface Submitter extends SubmitterSubmitterOneOf {
|
|
77
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Member ID.
|
|
97
|
+
* @format GUID
|
|
98
|
+
*/
|
|
78
99
|
memberId?: string | null;
|
|
79
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Visitor ID.
|
|
102
|
+
* @format GUID
|
|
103
|
+
*/
|
|
80
104
|
visitorId?: string | null;
|
|
81
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Application ID.
|
|
107
|
+
* @maxLength 36
|
|
108
|
+
*/
|
|
82
109
|
applicationId?: string | null;
|
|
83
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* User ID.
|
|
112
|
+
* @format GUID
|
|
113
|
+
*/
|
|
84
114
|
userId?: string | null;
|
|
85
115
|
}
|
|
86
116
|
/** @oneof */
|
|
87
117
|
export interface SubmitterSubmitterOneOf {
|
|
88
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* Member ID.
|
|
120
|
+
* @format GUID
|
|
121
|
+
*/
|
|
89
122
|
memberId?: string | null;
|
|
90
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Visitor ID.
|
|
125
|
+
* @format GUID
|
|
126
|
+
*/
|
|
91
127
|
visitorId?: string | null;
|
|
92
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Application ID.
|
|
130
|
+
* @maxLength 36
|
|
131
|
+
*/
|
|
93
132
|
applicationId?: string | null;
|
|
94
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* User ID.
|
|
135
|
+
* @format GUID
|
|
136
|
+
*/
|
|
95
137
|
userId?: string | null;
|
|
96
138
|
}
|
|
97
139
|
export interface ExtendedFields {
|
|
@@ -108,6 +150,7 @@ export interface ExtendedFields {
|
|
|
108
150
|
export interface OrderDetails {
|
|
109
151
|
/**
|
|
110
152
|
* ID of the order related to submission (only applicable if a form has payments).
|
|
153
|
+
* @format GUID
|
|
111
154
|
* @readonly
|
|
112
155
|
*/
|
|
113
156
|
orderId?: string | null;
|
|
@@ -118,16 +161,19 @@ export interface OrderDetails {
|
|
|
118
161
|
number?: string | null;
|
|
119
162
|
/**
|
|
120
163
|
* Currency.
|
|
164
|
+
* @format CURRENCY
|
|
121
165
|
* @readonly
|
|
122
166
|
*/
|
|
123
167
|
currency?: string | null;
|
|
124
168
|
/**
|
|
125
169
|
* Item subtotal.
|
|
170
|
+
* @decimalValue options { gte:0.00, maxScale:2 }
|
|
126
171
|
* @readonly
|
|
127
172
|
*/
|
|
128
173
|
itemSubtotal?: string;
|
|
129
174
|
/**
|
|
130
175
|
* ID of the checkout related to submission (only applicable if a form has payments).
|
|
176
|
+
* @format GUID
|
|
131
177
|
* @readonly
|
|
132
178
|
*/
|
|
133
179
|
checkoutId?: string;
|
|
@@ -137,7 +183,11 @@ export interface PublicTags {
|
|
|
137
183
|
tags?: TagList;
|
|
138
184
|
}
|
|
139
185
|
export interface TagList {
|
|
140
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* List of tag IDs
|
|
188
|
+
* @maxSize 100
|
|
189
|
+
* @maxLength 5
|
|
190
|
+
*/
|
|
141
191
|
tagIds?: string[];
|
|
142
192
|
}
|
|
143
193
|
export declare enum ActionType {
|
|
@@ -156,15 +206,22 @@ export interface ValidateSubmissionResponse {
|
|
|
156
206
|
/**
|
|
157
207
|
* List of validation errors. <br>
|
|
158
208
|
* If there are no validation errors, returns an empty array.
|
|
209
|
+
* @maxSize 100
|
|
159
210
|
*/
|
|
160
211
|
errors?: SubmissionValidationError[];
|
|
161
212
|
}
|
|
162
213
|
export interface SubmissionValidationError extends SubmissionValidationErrorErrorMessageOneOf {
|
|
163
214
|
/** Predefined error type. */
|
|
164
215
|
errorType?: SubmissionErrorType;
|
|
165
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* Custom error message. The message is displayed instead of an error type.
|
|
218
|
+
* @maxLength 500
|
|
219
|
+
*/
|
|
166
220
|
customErrorMessage?: string;
|
|
167
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* Path indicating the source of the error, such as `form.fields.target`.
|
|
223
|
+
* @maxLength 500
|
|
224
|
+
*/
|
|
168
225
|
errorPath?: string;
|
|
169
226
|
/** Additional error parameters. */
|
|
170
227
|
params?: Record<string, any> | null;
|
|
@@ -173,7 +230,10 @@ export interface SubmissionValidationError extends SubmissionValidationErrorErro
|
|
|
173
230
|
export interface SubmissionValidationErrorErrorMessageOneOf {
|
|
174
231
|
/** Predefined error type. */
|
|
175
232
|
errorType?: SubmissionErrorType;
|
|
176
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Custom error message. The message is displayed instead of an error type.
|
|
235
|
+
* @maxLength 500
|
|
236
|
+
*/
|
|
177
237
|
customErrorMessage?: string;
|
|
178
238
|
}
|
|
179
239
|
export declare enum SubmissionErrorType {
|
|
@@ -215,13 +275,18 @@ export interface FormSubmissionSpiExtensionConfig {
|
|
|
215
275
|
* the `deploymentUri` you provide here is `https://my-form-submissions.com/`.
|
|
216
276
|
*/
|
|
217
277
|
deploymentUri?: SpiBaseUri;
|
|
218
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* Namespace names.
|
|
280
|
+
* @maxSize 10
|
|
281
|
+
*/
|
|
219
282
|
namespaceConfigs?: FormsSubmissionsExtensionNamespaceConfig[];
|
|
220
283
|
}
|
|
221
284
|
export interface SpiBaseUri {
|
|
222
285
|
/**
|
|
223
286
|
* Base URI where the methods are called. Wix appends the path to the `baseUri`.
|
|
224
287
|
* For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.
|
|
288
|
+
* @minLength 6
|
|
289
|
+
* @maxLength 2048
|
|
225
290
|
*/
|
|
226
291
|
baseUri?: string;
|
|
227
292
|
/** Alternate, custom URIs to replace the default URIs for specific service plugin methods. */
|
|
@@ -233,11 +298,15 @@ export interface AlternativeUri {
|
|
|
233
298
|
*
|
|
234
299
|
* For `methodName`, use the name of the method in PascalCase.
|
|
235
300
|
* For example, for Get Shipping Rates use `GetShippingRates`.
|
|
301
|
+
* @minLength 3
|
|
302
|
+
* @maxLength 128
|
|
236
303
|
*/
|
|
237
304
|
methodName?: string;
|
|
238
305
|
/**
|
|
239
306
|
* Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.
|
|
240
307
|
* Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.
|
|
308
|
+
* @minLength 6
|
|
309
|
+
* @maxLength 2048
|
|
241
310
|
*/
|
|
242
311
|
absoluteUri?: string;
|
|
243
312
|
}
|
|
@@ -246,11 +315,14 @@ export interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
246
315
|
* The app which the form submissions belong to. For example, the namespace for the Wix Forms app is `wix.form_app.form`.
|
|
247
316
|
*
|
|
248
317
|
* Call `Get Submission` to retrieve the namespace.
|
|
318
|
+
* @minLength 10
|
|
319
|
+
* @maxLength 50
|
|
249
320
|
*/
|
|
250
321
|
namespace?: string;
|
|
251
322
|
/**
|
|
252
323
|
* The ID of the specific form that will trigger the defined methods when a submission is made.
|
|
253
324
|
* This field is optional. If not provided, submissions from all forms will trigger the methods.
|
|
325
|
+
* @format GUID
|
|
254
326
|
*/
|
|
255
327
|
formId?: string | null;
|
|
256
328
|
/** Enable submission validation. */
|
|
@@ -272,13 +344,19 @@ export interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
272
344
|
export interface Context {
|
|
273
345
|
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
274
346
|
requestId?: string | null;
|
|
275
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code.
|
|
349
|
+
* @format CURRENCY
|
|
350
|
+
*/
|
|
276
351
|
currency?: string | null;
|
|
277
352
|
/** An object that describes the identity that triggered this request. */
|
|
278
353
|
identity?: IdentificationData;
|
|
279
354
|
/** 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"`. */
|
|
280
355
|
languages?: string[];
|
|
281
|
-
/**
|
|
356
|
+
/**
|
|
357
|
+
* The service provider app's instance ID.
|
|
358
|
+
* @format GUID
|
|
359
|
+
*/
|
|
282
360
|
instanceId?: string | null;
|
|
283
361
|
}
|
|
284
362
|
export declare enum IdentityType {
|
|
@@ -289,25 +367,49 @@ export declare enum IdentityType {
|
|
|
289
367
|
APP = "APP"
|
|
290
368
|
}
|
|
291
369
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
292
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* ID of a site visitor that has not logged in to the site.
|
|
372
|
+
* @format GUID
|
|
373
|
+
*/
|
|
293
374
|
anonymousVisitorId?: string;
|
|
294
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* ID of a site visitor that has logged in to the site.
|
|
377
|
+
* @format GUID
|
|
378
|
+
*/
|
|
295
379
|
memberId?: string;
|
|
296
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
382
|
+
* @format GUID
|
|
383
|
+
*/
|
|
297
384
|
wixUserId?: string;
|
|
298
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* ID of an app.
|
|
387
|
+
* @format GUID
|
|
388
|
+
*/
|
|
299
389
|
appId?: string;
|
|
300
390
|
/** @readonly */
|
|
301
391
|
identityType?: IdentityType;
|
|
302
392
|
}
|
|
303
393
|
/** @oneof */
|
|
304
394
|
export interface IdentificationDataIdOneOf {
|
|
305
|
-
/**
|
|
395
|
+
/**
|
|
396
|
+
* ID of a site visitor that has not logged in to the site.
|
|
397
|
+
* @format GUID
|
|
398
|
+
*/
|
|
306
399
|
anonymousVisitorId?: string;
|
|
307
|
-
/**
|
|
400
|
+
/**
|
|
401
|
+
* ID of a site visitor that has logged in to the site.
|
|
402
|
+
* @format GUID
|
|
403
|
+
*/
|
|
308
404
|
memberId?: string;
|
|
309
|
-
/**
|
|
405
|
+
/**
|
|
406
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
407
|
+
* @format GUID
|
|
408
|
+
*/
|
|
310
409
|
wixUserId?: string;
|
|
311
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* ID of an app.
|
|
412
|
+
* @format GUID
|
|
413
|
+
*/
|
|
312
414
|
appId?: string;
|
|
313
415
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,gBAUX;AAVD,WAAY,gBAAgB;IAC1B,2EAAuD,CAAA;IACvD,0FAA0F;IAC1F,uCAAmB,CAAA;IACnB,4DAA4D;IAC5D,2CAAuB,CAAA;IACvB,sDAAsD;IACtD,uDAAmC,CAAA;IACnC,iDAAiD;IACjD,yDAAqC,CAAA;AACvC,CAAC,EAVW,gBAAgB,KAAhB,gBAAgB,QAU3B;AA2GD,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,+CAAiC,CAAA;IACjC,yBAAyB;IACzB,+BAAiB,CAAA;IACjB,yBAAyB;IACzB,+BAAiB,CAAA;AACnB,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AA6CD,MAAM,CAAN,IAAY,mBA+BX;AA/BD,WAAY,mBAAmB;IAC7B,mEAAmE;IACnE,sDAA+B,CAAA;IAC/B,4CAA4C;IAC5C,gDAAyB,CAAA;IACzB,wCAAwC;IACxC,oEAA6C,CAAA;IAC7C,mEAAmE;IACnE,kEAA2C,CAAA;IAC3C,qCAAqC;IACrC,4DAAqC,CAAA;IACrC,4CAA4C;IAC5C,4DAAqC,CAAA;IACrC,yDAAyD;IACzD,sDAA+B,CAAA;IAC/B,wDAAwD;IACxD,oDAA6B,CAAA;IAC7B,+BAA+B;IAC/B,0DAAmC,CAAA;IACnC,iCAAiC;IACjC,0DAAmC,CAAA;IACnC,yDAAyD;IACzD,0EAAmD,CAAA;IACnD,sCAAsC;IACtC,0DAAmC,CAAA;IACnC,wCAAwC;IACxC,0DAAmC,CAAA;IACnC,kDAAkD;IAClD,0EAAmD,CAAA;IACnD,kCAAkC;IAClC,kEAA2C,CAAA;AAC7C,CAAC,EA/BW,mBAAmB,KAAnB,mBAAmB,QA+B9B;AAkGD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB"}
|
|
@@ -15,13 +15,20 @@ export interface ValidateSubmissionRequestActionsOneOf {
|
|
|
15
15
|
export interface FormSubmission {
|
|
16
16
|
/**
|
|
17
17
|
* Submission ID.
|
|
18
|
+
* @format GUID
|
|
18
19
|
* @readonly
|
|
19
20
|
*/
|
|
20
21
|
_id?: string | null;
|
|
21
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* ID of the form which the submission belongs to.
|
|
24
|
+
* @format GUID
|
|
25
|
+
* @immutable
|
|
26
|
+
*/
|
|
22
27
|
formId?: string;
|
|
23
28
|
/**
|
|
24
29
|
* The app which the form submissions belong to. For example, the namespace for the Wix Forms app is `wix.form_app.form`. Call `Get Submission` to retrieve the namespace.
|
|
30
|
+
* @minLength 10
|
|
31
|
+
* @maxLength 50
|
|
25
32
|
* @readonly
|
|
26
33
|
*/
|
|
27
34
|
namespace?: string;
|
|
@@ -29,7 +36,10 @@ export interface FormSubmission {
|
|
|
29
36
|
status?: SubmissionStatus;
|
|
30
37
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
31
38
|
submissions?: Record<string, any>;
|
|
32
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Date and time the form submission was created.
|
|
41
|
+
* @immutable
|
|
42
|
+
*/
|
|
33
43
|
_createdDate?: Date | null;
|
|
34
44
|
/**
|
|
35
45
|
* Date and time the form submission was updated.
|
|
@@ -52,14 +62,22 @@ export interface FormSubmission {
|
|
|
52
62
|
extendedFields?: ExtendedFields;
|
|
53
63
|
/**
|
|
54
64
|
* Order details. <br>
|
|
55
|
-
* <b>Note</b>: This object is only applicable when
|
|
65
|
+
* <b>Note</b>: This object is only applicable when submitting a form in the Wix Payments app.
|
|
56
66
|
*/
|
|
57
67
|
orderDetails?: OrderDetails;
|
|
58
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Contact ID of a site visitor who created the submission.
|
|
70
|
+
* @format GUID
|
|
71
|
+
* @immutable
|
|
72
|
+
*/
|
|
59
73
|
contactId?: string | null;
|
|
60
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Authorized viewer ID.
|
|
76
|
+
* @format GUID
|
|
77
|
+
* @immutable
|
|
78
|
+
*/
|
|
61
79
|
accessRestriction?: string | null;
|
|
62
|
-
/** Tag
|
|
80
|
+
/** Tag IDs collections associated with the current entity. */
|
|
63
81
|
tags?: PublicTags;
|
|
64
82
|
}
|
|
65
83
|
export declare enum SubmissionStatus {
|
|
@@ -74,24 +92,48 @@ export declare enum SubmissionStatus {
|
|
|
74
92
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
75
93
|
}
|
|
76
94
|
export interface Submitter extends SubmitterSubmitterOneOf {
|
|
77
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Member ID.
|
|
97
|
+
* @format GUID
|
|
98
|
+
*/
|
|
78
99
|
memberId?: string | null;
|
|
79
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Visitor ID.
|
|
102
|
+
* @format GUID
|
|
103
|
+
*/
|
|
80
104
|
visitorId?: string | null;
|
|
81
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Application ID.
|
|
107
|
+
* @maxLength 36
|
|
108
|
+
*/
|
|
82
109
|
applicationId?: string | null;
|
|
83
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* User ID.
|
|
112
|
+
* @format GUID
|
|
113
|
+
*/
|
|
84
114
|
userId?: string | null;
|
|
85
115
|
}
|
|
86
116
|
/** @oneof */
|
|
87
117
|
export interface SubmitterSubmitterOneOf {
|
|
88
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* Member ID.
|
|
120
|
+
* @format GUID
|
|
121
|
+
*/
|
|
89
122
|
memberId?: string | null;
|
|
90
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Visitor ID.
|
|
125
|
+
* @format GUID
|
|
126
|
+
*/
|
|
91
127
|
visitorId?: string | null;
|
|
92
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Application ID.
|
|
130
|
+
* @maxLength 36
|
|
131
|
+
*/
|
|
93
132
|
applicationId?: string | null;
|
|
94
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* User ID.
|
|
135
|
+
* @format GUID
|
|
136
|
+
*/
|
|
95
137
|
userId?: string | null;
|
|
96
138
|
}
|
|
97
139
|
export interface ExtendedFields {
|
|
@@ -108,6 +150,7 @@ export interface ExtendedFields {
|
|
|
108
150
|
export interface OrderDetails {
|
|
109
151
|
/**
|
|
110
152
|
* ID of the order related to submission (only applicable if a form has payments).
|
|
153
|
+
* @format GUID
|
|
111
154
|
* @readonly
|
|
112
155
|
*/
|
|
113
156
|
orderId?: string | null;
|
|
@@ -118,16 +161,19 @@ export interface OrderDetails {
|
|
|
118
161
|
number?: string | null;
|
|
119
162
|
/**
|
|
120
163
|
* Currency.
|
|
164
|
+
* @format CURRENCY
|
|
121
165
|
* @readonly
|
|
122
166
|
*/
|
|
123
167
|
currency?: string | null;
|
|
124
168
|
/**
|
|
125
169
|
* Item subtotal.
|
|
170
|
+
* @decimalValue options { gte:0.00, maxScale:2 }
|
|
126
171
|
* @readonly
|
|
127
172
|
*/
|
|
128
173
|
itemSubtotal?: string;
|
|
129
174
|
/**
|
|
130
175
|
* ID of the checkout related to submission (only applicable if a form has payments).
|
|
176
|
+
* @format GUID
|
|
131
177
|
* @readonly
|
|
132
178
|
*/
|
|
133
179
|
checkoutId?: string;
|
|
@@ -137,7 +183,11 @@ export interface PublicTags {
|
|
|
137
183
|
tags?: TagList;
|
|
138
184
|
}
|
|
139
185
|
export interface TagList {
|
|
140
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* List of tag IDs
|
|
188
|
+
* @maxSize 100
|
|
189
|
+
* @maxLength 5
|
|
190
|
+
*/
|
|
141
191
|
tagIds?: string[];
|
|
142
192
|
}
|
|
143
193
|
export declare enum ActionType {
|
|
@@ -156,15 +206,22 @@ export interface ValidateSubmissionResponse {
|
|
|
156
206
|
/**
|
|
157
207
|
* List of validation errors. <br>
|
|
158
208
|
* If there are no validation errors, returns an empty array.
|
|
209
|
+
* @maxSize 100
|
|
159
210
|
*/
|
|
160
211
|
errors?: SubmissionValidationError[];
|
|
161
212
|
}
|
|
162
213
|
export interface SubmissionValidationError extends SubmissionValidationErrorErrorMessageOneOf {
|
|
163
214
|
/** Predefined error type. */
|
|
164
215
|
errorType?: SubmissionErrorType;
|
|
165
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* Custom error message. The message is displayed instead of an error type.
|
|
218
|
+
* @maxLength 500
|
|
219
|
+
*/
|
|
166
220
|
customErrorMessage?: string;
|
|
167
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* Path indicating the source of the error, such as `form.fields.target`.
|
|
223
|
+
* @maxLength 500
|
|
224
|
+
*/
|
|
168
225
|
errorPath?: string;
|
|
169
226
|
/** Additional error parameters. */
|
|
170
227
|
params?: Record<string, any> | null;
|
|
@@ -173,7 +230,10 @@ export interface SubmissionValidationError extends SubmissionValidationErrorErro
|
|
|
173
230
|
export interface SubmissionValidationErrorErrorMessageOneOf {
|
|
174
231
|
/** Predefined error type. */
|
|
175
232
|
errorType?: SubmissionErrorType;
|
|
176
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Custom error message. The message is displayed instead of an error type.
|
|
235
|
+
* @maxLength 500
|
|
236
|
+
*/
|
|
177
237
|
customErrorMessage?: string;
|
|
178
238
|
}
|
|
179
239
|
export declare enum SubmissionErrorType {
|
|
@@ -215,13 +275,18 @@ export interface FormSubmissionSpiExtensionConfig {
|
|
|
215
275
|
* the `deploymentUri` you provide here is `https://my-form-submissions.com/`.
|
|
216
276
|
*/
|
|
217
277
|
deploymentUri?: SpiBaseUri;
|
|
218
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* Namespace names.
|
|
280
|
+
* @maxSize 10
|
|
281
|
+
*/
|
|
219
282
|
namespaceConfigs?: FormsSubmissionsExtensionNamespaceConfig[];
|
|
220
283
|
}
|
|
221
284
|
export interface SpiBaseUri {
|
|
222
285
|
/**
|
|
223
286
|
* Base URI where the methods are called. Wix appends the path to the `baseUri`.
|
|
224
287
|
* For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.
|
|
288
|
+
* @minLength 6
|
|
289
|
+
* @maxLength 2048
|
|
225
290
|
*/
|
|
226
291
|
baseUri?: string;
|
|
227
292
|
/** Alternate, custom URIs to replace the default URIs for specific service plugin methods. */
|
|
@@ -233,11 +298,15 @@ export interface AlternativeUri {
|
|
|
233
298
|
*
|
|
234
299
|
* For `methodName`, use the name of the method in PascalCase.
|
|
235
300
|
* For example, for Get Shipping Rates use `GetShippingRates`.
|
|
301
|
+
* @minLength 3
|
|
302
|
+
* @maxLength 128
|
|
236
303
|
*/
|
|
237
304
|
methodName?: string;
|
|
238
305
|
/**
|
|
239
306
|
* Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.
|
|
240
307
|
* Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.
|
|
308
|
+
* @minLength 6
|
|
309
|
+
* @maxLength 2048
|
|
241
310
|
*/
|
|
242
311
|
absoluteUri?: string;
|
|
243
312
|
}
|
|
@@ -246,11 +315,14 @@ export interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
246
315
|
* The app which the form submissions belong to. For example, the namespace for the Wix Forms app is `wix.form_app.form`.
|
|
247
316
|
*
|
|
248
317
|
* Call `Get Submission` to retrieve the namespace.
|
|
318
|
+
* @minLength 10
|
|
319
|
+
* @maxLength 50
|
|
249
320
|
*/
|
|
250
321
|
namespace?: string;
|
|
251
322
|
/**
|
|
252
323
|
* The ID of the specific form that will trigger the defined methods when a submission is made.
|
|
253
324
|
* This field is optional. If not provided, submissions from all forms will trigger the methods.
|
|
325
|
+
* @format GUID
|
|
254
326
|
*/
|
|
255
327
|
formId?: string | null;
|
|
256
328
|
/** Enable submission validation. */
|
|
@@ -272,13 +344,19 @@ export interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
272
344
|
export interface Context {
|
|
273
345
|
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
274
346
|
requestId?: string | null;
|
|
275
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code.
|
|
349
|
+
* @format CURRENCY
|
|
350
|
+
*/
|
|
276
351
|
currency?: string | null;
|
|
277
352
|
/** An object that describes the identity that triggered this request. */
|
|
278
353
|
identity?: IdentificationData;
|
|
279
354
|
/** 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"`. */
|
|
280
355
|
languages?: string[];
|
|
281
|
-
/**
|
|
356
|
+
/**
|
|
357
|
+
* The service provider app's instance ID.
|
|
358
|
+
* @format GUID
|
|
359
|
+
*/
|
|
282
360
|
instanceId?: string | null;
|
|
283
361
|
}
|
|
284
362
|
export declare enum IdentityType {
|
|
@@ -289,25 +367,49 @@ export declare enum IdentityType {
|
|
|
289
367
|
APP = "APP"
|
|
290
368
|
}
|
|
291
369
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
292
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* ID of a site visitor that has not logged in to the site.
|
|
372
|
+
* @format GUID
|
|
373
|
+
*/
|
|
293
374
|
anonymousVisitorId?: string;
|
|
294
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* ID of a site visitor that has logged in to the site.
|
|
377
|
+
* @format GUID
|
|
378
|
+
*/
|
|
295
379
|
memberId?: string;
|
|
296
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
382
|
+
* @format GUID
|
|
383
|
+
*/
|
|
297
384
|
wixUserId?: string;
|
|
298
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* ID of an app.
|
|
387
|
+
* @format GUID
|
|
388
|
+
*/
|
|
299
389
|
appId?: string;
|
|
300
390
|
/** @readonly */
|
|
301
391
|
identityType?: IdentityType;
|
|
302
392
|
}
|
|
303
393
|
/** @oneof */
|
|
304
394
|
export interface IdentificationDataIdOneOf {
|
|
305
|
-
/**
|
|
395
|
+
/**
|
|
396
|
+
* ID of a site visitor that has not logged in to the site.
|
|
397
|
+
* @format GUID
|
|
398
|
+
*/
|
|
306
399
|
anonymousVisitorId?: string;
|
|
307
|
-
/**
|
|
400
|
+
/**
|
|
401
|
+
* ID of a site visitor that has logged in to the site.
|
|
402
|
+
* @format GUID
|
|
403
|
+
*/
|
|
308
404
|
memberId?: string;
|
|
309
|
-
/**
|
|
405
|
+
/**
|
|
406
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
407
|
+
* @format GUID
|
|
408
|
+
*/
|
|
310
409
|
wixUserId?: string;
|
|
311
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* ID of an app.
|
|
412
|
+
* @format GUID
|
|
413
|
+
*/
|
|
312
414
|
appId?: string;
|
|
313
415
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,gBAUX;AAVD,WAAY,gBAAgB;IAC1B,2EAAuD,CAAA;IACvD,0FAA0F;IAC1F,uCAAmB,CAAA;IACnB,4DAA4D;IAC5D,2CAAuB,CAAA;IACvB,sDAAsD;IACtD,uDAAmC,CAAA;IACnC,iDAAiD;IACjD,yDAAqC,CAAA;AACvC,CAAC,EAVW,gBAAgB,gCAAhB,gBAAgB,QAU3B;AA2GD,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,+CAAiC,CAAA;IACjC,yBAAyB;IACzB,+BAAiB,CAAA;IACjB,yBAAyB;IACzB,+BAAiB,CAAA;AACnB,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AA6CD,IAAY,mBA+BX;AA/BD,WAAY,mBAAmB;IAC7B,mEAAmE;IACnE,sDAA+B,CAAA;IAC/B,4CAA4C;IAC5C,gDAAyB,CAAA;IACzB,wCAAwC;IACxC,oEAA6C,CAAA;IAC7C,mEAAmE;IACnE,kEAA2C,CAAA;IAC3C,qCAAqC;IACrC,4DAAqC,CAAA;IACrC,4CAA4C;IAC5C,4DAAqC,CAAA;IACrC,yDAAyD;IACzD,sDAA+B,CAAA;IAC/B,wDAAwD;IACxD,oDAA6B,CAAA;IAC7B,+BAA+B;IAC/B,0DAAmC,CAAA;IACnC,iCAAiC;IACjC,0DAAmC,CAAA;IACnC,yDAAyD;IACzD,0EAAmD,CAAA;IACnD,sCAAsC;IACtC,0DAAmC,CAAA;IACnC,wCAAwC;IACxC,0DAAmC,CAAA;IACnC,kDAAkD;IAClD,0EAAmD,CAAA;IACnD,kCAAkC;IAClC,kEAA2C,CAAA;AAC7C,CAAC,EA/BW,mBAAmB,mCAAnB,mBAAmB,QA+B9B;AAkGD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB"}
|
|
@@ -15,13 +15,20 @@ export interface ValidateSubmissionRequestActionsOneOf {
|
|
|
15
15
|
export interface FormSubmission {
|
|
16
16
|
/**
|
|
17
17
|
* Submission ID.
|
|
18
|
+
* @format GUID
|
|
18
19
|
* @readonly
|
|
19
20
|
*/
|
|
20
21
|
_id?: string | null;
|
|
21
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* ID of the form which the submission belongs to.
|
|
24
|
+
* @format GUID
|
|
25
|
+
* @immutable
|
|
26
|
+
*/
|
|
22
27
|
formId?: string;
|
|
23
28
|
/**
|
|
24
29
|
* The app which the form submissions belong to. For example, the namespace for the Wix Forms app is `wix.form_app.form`. Call `Get Submission` to retrieve the namespace.
|
|
30
|
+
* @minLength 10
|
|
31
|
+
* @maxLength 50
|
|
25
32
|
* @readonly
|
|
26
33
|
*/
|
|
27
34
|
namespace?: string;
|
|
@@ -29,7 +36,10 @@ export interface FormSubmission {
|
|
|
29
36
|
status?: SubmissionStatus;
|
|
30
37
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
31
38
|
submissions?: Record<string, any>;
|
|
32
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Date and time the form submission was created.
|
|
41
|
+
* @immutable
|
|
42
|
+
*/
|
|
33
43
|
_createdDate?: Date | null;
|
|
34
44
|
/**
|
|
35
45
|
* Date and time the form submission was updated.
|
|
@@ -52,14 +62,22 @@ export interface FormSubmission {
|
|
|
52
62
|
extendedFields?: ExtendedFields;
|
|
53
63
|
/**
|
|
54
64
|
* Order details. <br>
|
|
55
|
-
* <b>Note</b>: This object is only applicable when
|
|
65
|
+
* <b>Note</b>: This object is only applicable when submitting a form in the Wix Payments app.
|
|
56
66
|
*/
|
|
57
67
|
orderDetails?: OrderDetails;
|
|
58
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Contact ID of a site visitor who created the submission.
|
|
70
|
+
* @format GUID
|
|
71
|
+
* @immutable
|
|
72
|
+
*/
|
|
59
73
|
contactId?: string | null;
|
|
60
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Authorized viewer ID.
|
|
76
|
+
* @format GUID
|
|
77
|
+
* @immutable
|
|
78
|
+
*/
|
|
61
79
|
accessRestriction?: string | null;
|
|
62
|
-
/** Tag
|
|
80
|
+
/** Tag IDs collections associated with the current entity. */
|
|
63
81
|
tags?: PublicTags;
|
|
64
82
|
}
|
|
65
83
|
export declare enum SubmissionStatus {
|
|
@@ -74,24 +92,48 @@ export declare enum SubmissionStatus {
|
|
|
74
92
|
PAYMENT_CANCELED = "PAYMENT_CANCELED"
|
|
75
93
|
}
|
|
76
94
|
export interface Submitter extends SubmitterSubmitterOneOf {
|
|
77
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Member ID.
|
|
97
|
+
* @format GUID
|
|
98
|
+
*/
|
|
78
99
|
memberId?: string | null;
|
|
79
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Visitor ID.
|
|
102
|
+
* @format GUID
|
|
103
|
+
*/
|
|
80
104
|
visitorId?: string | null;
|
|
81
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Application ID.
|
|
107
|
+
* @maxLength 36
|
|
108
|
+
*/
|
|
82
109
|
applicationId?: string | null;
|
|
83
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* User ID.
|
|
112
|
+
* @format GUID
|
|
113
|
+
*/
|
|
84
114
|
userId?: string | null;
|
|
85
115
|
}
|
|
86
116
|
/** @oneof */
|
|
87
117
|
export interface SubmitterSubmitterOneOf {
|
|
88
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* Member ID.
|
|
120
|
+
* @format GUID
|
|
121
|
+
*/
|
|
89
122
|
memberId?: string | null;
|
|
90
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Visitor ID.
|
|
125
|
+
* @format GUID
|
|
126
|
+
*/
|
|
91
127
|
visitorId?: string | null;
|
|
92
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Application ID.
|
|
130
|
+
* @maxLength 36
|
|
131
|
+
*/
|
|
93
132
|
applicationId?: string | null;
|
|
94
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* User ID.
|
|
135
|
+
* @format GUID
|
|
136
|
+
*/
|
|
95
137
|
userId?: string | null;
|
|
96
138
|
}
|
|
97
139
|
export interface ExtendedFields {
|
|
@@ -108,6 +150,7 @@ export interface ExtendedFields {
|
|
|
108
150
|
export interface OrderDetails {
|
|
109
151
|
/**
|
|
110
152
|
* ID of the order related to submission (only applicable if a form has payments).
|
|
153
|
+
* @format GUID
|
|
111
154
|
* @readonly
|
|
112
155
|
*/
|
|
113
156
|
orderId?: string | null;
|
|
@@ -118,16 +161,19 @@ export interface OrderDetails {
|
|
|
118
161
|
number?: string | null;
|
|
119
162
|
/**
|
|
120
163
|
* Currency.
|
|
164
|
+
* @format CURRENCY
|
|
121
165
|
* @readonly
|
|
122
166
|
*/
|
|
123
167
|
currency?: string | null;
|
|
124
168
|
/**
|
|
125
169
|
* Item subtotal.
|
|
170
|
+
* @decimalValue options { gte:0.00, maxScale:2 }
|
|
126
171
|
* @readonly
|
|
127
172
|
*/
|
|
128
173
|
itemSubtotal?: string;
|
|
129
174
|
/**
|
|
130
175
|
* ID of the checkout related to submission (only applicable if a form has payments).
|
|
176
|
+
* @format GUID
|
|
131
177
|
* @readonly
|
|
132
178
|
*/
|
|
133
179
|
checkoutId?: string;
|
|
@@ -137,7 +183,11 @@ export interface PublicTags {
|
|
|
137
183
|
tags?: TagList;
|
|
138
184
|
}
|
|
139
185
|
export interface TagList {
|
|
140
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* List of tag IDs
|
|
188
|
+
* @maxSize 100
|
|
189
|
+
* @maxLength 5
|
|
190
|
+
*/
|
|
141
191
|
tagIds?: string[];
|
|
142
192
|
}
|
|
143
193
|
export declare enum ActionType {
|
|
@@ -156,15 +206,22 @@ export interface ValidateSubmissionResponse {
|
|
|
156
206
|
/**
|
|
157
207
|
* List of validation errors. <br>
|
|
158
208
|
* If there are no validation errors, returns an empty array.
|
|
209
|
+
* @maxSize 100
|
|
159
210
|
*/
|
|
160
211
|
errors?: SubmissionValidationError[];
|
|
161
212
|
}
|
|
162
213
|
export interface SubmissionValidationError extends SubmissionValidationErrorErrorMessageOneOf {
|
|
163
214
|
/** Predefined error type. */
|
|
164
215
|
errorType?: SubmissionErrorType;
|
|
165
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* Custom error message. The message is displayed instead of an error type.
|
|
218
|
+
* @maxLength 500
|
|
219
|
+
*/
|
|
166
220
|
customErrorMessage?: string;
|
|
167
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* Path indicating the source of the error, such as `form.fields.target`.
|
|
223
|
+
* @maxLength 500
|
|
224
|
+
*/
|
|
168
225
|
errorPath?: string;
|
|
169
226
|
/** Additional error parameters. */
|
|
170
227
|
params?: Record<string, any> | null;
|
|
@@ -173,7 +230,10 @@ export interface SubmissionValidationError extends SubmissionValidationErrorErro
|
|
|
173
230
|
export interface SubmissionValidationErrorErrorMessageOneOf {
|
|
174
231
|
/** Predefined error type. */
|
|
175
232
|
errorType?: SubmissionErrorType;
|
|
176
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Custom error message. The message is displayed instead of an error type.
|
|
235
|
+
* @maxLength 500
|
|
236
|
+
*/
|
|
177
237
|
customErrorMessage?: string;
|
|
178
238
|
}
|
|
179
239
|
export declare enum SubmissionErrorType {
|
|
@@ -215,13 +275,18 @@ export interface FormSubmissionSpiExtensionConfig {
|
|
|
215
275
|
* the `deploymentUri` you provide here is `https://my-form-submissions.com/`.
|
|
216
276
|
*/
|
|
217
277
|
deploymentUri?: SpiBaseUri;
|
|
218
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* Namespace names.
|
|
280
|
+
* @maxSize 10
|
|
281
|
+
*/
|
|
219
282
|
namespaceConfigs?: FormsSubmissionsExtensionNamespaceConfig[];
|
|
220
283
|
}
|
|
221
284
|
export interface SpiBaseUri {
|
|
222
285
|
/**
|
|
223
286
|
* Base URI where the methods are called. Wix appends the path to the `baseUri`.
|
|
224
287
|
* For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.
|
|
288
|
+
* @minLength 6
|
|
289
|
+
* @maxLength 2048
|
|
225
290
|
*/
|
|
226
291
|
baseUri?: string;
|
|
227
292
|
/** Alternate, custom URIs to replace the default URIs for specific service plugin methods. */
|
|
@@ -233,11 +298,15 @@ export interface AlternativeUri {
|
|
|
233
298
|
*
|
|
234
299
|
* For `methodName`, use the name of the method in PascalCase.
|
|
235
300
|
* For example, for Get Shipping Rates use `GetShippingRates`.
|
|
301
|
+
* @minLength 3
|
|
302
|
+
* @maxLength 128
|
|
236
303
|
*/
|
|
237
304
|
methodName?: string;
|
|
238
305
|
/**
|
|
239
306
|
* Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.
|
|
240
307
|
* Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.
|
|
308
|
+
* @minLength 6
|
|
309
|
+
* @maxLength 2048
|
|
241
310
|
*/
|
|
242
311
|
absoluteUri?: string;
|
|
243
312
|
}
|
|
@@ -246,11 +315,14 @@ export interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
246
315
|
* The app which the form submissions belong to. For example, the namespace for the Wix Forms app is `wix.form_app.form`.
|
|
247
316
|
*
|
|
248
317
|
* Call `Get Submission` to retrieve the namespace.
|
|
318
|
+
* @minLength 10
|
|
319
|
+
* @maxLength 50
|
|
249
320
|
*/
|
|
250
321
|
namespace?: string;
|
|
251
322
|
/**
|
|
252
323
|
* The ID of the specific form that will trigger the defined methods when a submission is made.
|
|
253
324
|
* This field is optional. If not provided, submissions from all forms will trigger the methods.
|
|
325
|
+
* @format GUID
|
|
254
326
|
*/
|
|
255
327
|
formId?: string | null;
|
|
256
328
|
/** Enable submission validation. */
|
|
@@ -272,13 +344,19 @@ export interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
272
344
|
export interface Context {
|
|
273
345
|
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
274
346
|
requestId?: string | null;
|
|
275
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code.
|
|
349
|
+
* @format CURRENCY
|
|
350
|
+
*/
|
|
276
351
|
currency?: string | null;
|
|
277
352
|
/** An object that describes the identity that triggered this request. */
|
|
278
353
|
identity?: IdentificationData;
|
|
279
354
|
/** 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"`. */
|
|
280
355
|
languages?: string[];
|
|
281
|
-
/**
|
|
356
|
+
/**
|
|
357
|
+
* The service provider app's instance ID.
|
|
358
|
+
* @format GUID
|
|
359
|
+
*/
|
|
282
360
|
instanceId?: string | null;
|
|
283
361
|
}
|
|
284
362
|
export declare enum IdentityType {
|
|
@@ -289,25 +367,49 @@ export declare enum IdentityType {
|
|
|
289
367
|
APP = "APP"
|
|
290
368
|
}
|
|
291
369
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
292
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* ID of a site visitor that has not logged in to the site.
|
|
372
|
+
* @format GUID
|
|
373
|
+
*/
|
|
293
374
|
anonymousVisitorId?: string;
|
|
294
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* ID of a site visitor that has logged in to the site.
|
|
377
|
+
* @format GUID
|
|
378
|
+
*/
|
|
295
379
|
memberId?: string;
|
|
296
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
382
|
+
* @format GUID
|
|
383
|
+
*/
|
|
297
384
|
wixUserId?: string;
|
|
298
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* ID of an app.
|
|
387
|
+
* @format GUID
|
|
388
|
+
*/
|
|
299
389
|
appId?: string;
|
|
300
390
|
/** @readonly */
|
|
301
391
|
identityType?: IdentityType;
|
|
302
392
|
}
|
|
303
393
|
/** @oneof */
|
|
304
394
|
export interface IdentificationDataIdOneOf {
|
|
305
|
-
/**
|
|
395
|
+
/**
|
|
396
|
+
* ID of a site visitor that has not logged in to the site.
|
|
397
|
+
* @format GUID
|
|
398
|
+
*/
|
|
306
399
|
anonymousVisitorId?: string;
|
|
307
|
-
/**
|
|
400
|
+
/**
|
|
401
|
+
* ID of a site visitor that has logged in to the site.
|
|
402
|
+
* @format GUID
|
|
403
|
+
*/
|
|
308
404
|
memberId?: string;
|
|
309
|
-
/**
|
|
405
|
+
/**
|
|
406
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
407
|
+
* @format GUID
|
|
408
|
+
*/
|
|
310
409
|
wixUserId?: string;
|
|
311
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* ID of an app.
|
|
412
|
+
* @format GUID
|
|
413
|
+
*/
|
|
312
414
|
appId?: string;
|
|
313
415
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../../src/service-plugins-types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,gBAUX;AAVD,WAAY,gBAAgB;IAC1B,2EAAuD,CAAA;IACvD,0FAA0F;IAC1F,uCAAmB,CAAA;IACnB,4DAA4D;IAC5D,2CAAuB,CAAA;IACvB,sDAAsD;IACtD,uDAAmC,CAAA;IACnC,iDAAiD;IACjD,yDAAqC,CAAA;AACvC,CAAC,EAVW,gBAAgB,KAAhB,gBAAgB,QAU3B;AA2GD,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,+CAAiC,CAAA;IACjC,yBAAyB;IACzB,+BAAiB,CAAA;IACjB,yBAAyB;IACzB,+BAAiB,CAAA;AACnB,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AA6CD,MAAM,CAAN,IAAY,mBA+BX;AA/BD,WAAY,mBAAmB;IAC7B,mEAAmE;IACnE,sDAA+B,CAAA;IAC/B,4CAA4C;IAC5C,gDAAyB,CAAA;IACzB,wCAAwC;IACxC,oEAA6C,CAAA;IAC7C,mEAAmE;IACnE,kEAA2C,CAAA;IAC3C,qCAAqC;IACrC,4DAAqC,CAAA;IACrC,4CAA4C;IAC5C,4DAAqC,CAAA;IACrC,yDAAyD;IACzD,sDAA+B,CAAA;IAC/B,wDAAwD;IACxD,oDAA6B,CAAA;IAC7B,+BAA+B;IAC/B,0DAAmC,CAAA;IACnC,iCAAiC;IACjC,0DAAmC,CAAA;IACnC,yDAAyD;IACzD,0EAAmD,CAAA;IACnD,sCAAsC;IACtC,0DAAmC,CAAA;IACnC,wCAAwC;IACxC,0DAAmC,CAAA;IACnC,kDAAkD;IAClD,0EAAmD,CAAA;IACnD,kCAAkC;IAClC,kEAA2C,CAAA;AAC7C,CAAC,EA/BW,mBAAmB,KAAnB,mBAAmB,QA+B9B;AAkGD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_forms_form-submissions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.interfaces.forms.v4.submission_extension"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "26f4f6f529aeeb64bf2888998ff10937a4f7eb276ba8a753bdca1fa8"
|
|
52
52
|
}
|