@wix/auto_sdk_forms_form-spam-submission-reports 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/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.d.ts +252 -57
- package/build/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.js.map +1 -1
- package/build/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.d.ts +268 -60
- package/build/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.js.map +1 -1
- package/build/es/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.d.ts +252 -57
- package/build/es/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.js.map +1 -1
- package/build/es/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.d.ts +268 -60
- package/build/es/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.d.ts +252 -57
- package/build/internal/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.d.ts +268 -60
- package/build/internal/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.d.ts +252 -57
- package/build/internal/es/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.d.ts +268 -60
- package/build/internal/es/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.js.map +1 -1
- package/package.json +2 -2
package/build/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.d.ts
CHANGED
|
@@ -5,23 +5,42 @@
|
|
|
5
5
|
export interface FormSpamSubmissionReport {
|
|
6
6
|
/**
|
|
7
7
|
* Form spam submission report id.
|
|
8
|
+
* @format GUID
|
|
8
9
|
* @readonly
|
|
9
10
|
*/
|
|
10
11
|
id?: string | null;
|
|
11
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Id of a form to which the form spam submission report belongs.
|
|
14
|
+
* @format GUID
|
|
15
|
+
* @immutable
|
|
16
|
+
*/
|
|
12
17
|
formId?: string;
|
|
13
18
|
/**
|
|
14
19
|
* Form namespace to which the form spam submission report belongs.
|
|
20
|
+
* @minLength 10
|
|
21
|
+
* @maxLength 50
|
|
15
22
|
* @readonly
|
|
16
23
|
*/
|
|
17
24
|
namespace?: string;
|
|
18
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Form submission submitter id.
|
|
27
|
+
* @immutable
|
|
28
|
+
*/
|
|
19
29
|
submitter?: Submitter;
|
|
20
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Submission values where key is a target of a form field and value is a submissions for the given field.
|
|
32
|
+
* @immutable
|
|
33
|
+
*/
|
|
21
34
|
submissions?: Record<string, any>;
|
|
22
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Identifies the reason why the submission was reported as spam.
|
|
37
|
+
* @immutable
|
|
38
|
+
*/
|
|
23
39
|
reportReason?: ReportReason;
|
|
24
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Date of submission creation. If a submission was created in the past, pass the original submission creation date.
|
|
42
|
+
* @immutable
|
|
43
|
+
*/
|
|
25
44
|
createdDate?: Date | null;
|
|
26
45
|
/**
|
|
27
46
|
* Date of form spam submission report creation.
|
|
@@ -46,31 +65,60 @@ export interface FormSpamSubmissionReport {
|
|
|
46
65
|
orderDetails?: OrderDetails;
|
|
47
66
|
/**
|
|
48
67
|
* Contact ID. Member who created the submission, or a mapped contact.
|
|
68
|
+
* @format GUID
|
|
49
69
|
* @readonly
|
|
50
70
|
*/
|
|
51
71
|
contactId?: string | null;
|
|
52
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* authorized viewer user id
|
|
74
|
+
* @format GUID
|
|
75
|
+
* @immutable
|
|
76
|
+
*/
|
|
53
77
|
accessRestriction?: string | null;
|
|
54
78
|
}
|
|
55
79
|
export interface Submitter extends SubmitterSubmitterOneOf {
|
|
56
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Member ID.
|
|
82
|
+
* @format GUID
|
|
83
|
+
*/
|
|
57
84
|
memberId?: string | null;
|
|
58
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Visitor ID.
|
|
87
|
+
* @format GUID
|
|
88
|
+
*/
|
|
59
89
|
visitorId?: string | null;
|
|
60
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Application ID.
|
|
92
|
+
* @maxLength 36
|
|
93
|
+
*/
|
|
61
94
|
applicationId?: string | null;
|
|
62
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* User ID.
|
|
97
|
+
* @format GUID
|
|
98
|
+
*/
|
|
63
99
|
userId?: string | null;
|
|
64
100
|
}
|
|
65
101
|
/** @oneof */
|
|
66
102
|
export interface SubmitterSubmitterOneOf {
|
|
67
|
-
/**
|
|
103
|
+
/**
|
|
104
|
+
* Member ID.
|
|
105
|
+
* @format GUID
|
|
106
|
+
*/
|
|
68
107
|
memberId?: string | null;
|
|
69
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Visitor ID.
|
|
110
|
+
* @format GUID
|
|
111
|
+
*/
|
|
70
112
|
visitorId?: string | null;
|
|
71
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* Application ID.
|
|
115
|
+
* @maxLength 36
|
|
116
|
+
*/
|
|
72
117
|
applicationId?: string | null;
|
|
73
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* User ID.
|
|
120
|
+
* @format GUID
|
|
121
|
+
*/
|
|
74
122
|
userId?: string | null;
|
|
75
123
|
}
|
|
76
124
|
export declare enum ReportReason {
|
|
@@ -111,6 +159,7 @@ export declare enum SubmissionStatus {
|
|
|
111
159
|
export interface OrderDetails {
|
|
112
160
|
/**
|
|
113
161
|
* ID of the checkout related to submission (applicable if form has payments added).
|
|
162
|
+
* @format GUID
|
|
114
163
|
* @readonly
|
|
115
164
|
*/
|
|
116
165
|
checkoutId?: string;
|
|
@@ -123,13 +172,20 @@ export interface CheckForSpamRequest {
|
|
|
123
172
|
export interface FormSubmission {
|
|
124
173
|
/**
|
|
125
174
|
* Submission ID.
|
|
175
|
+
* @format GUID
|
|
126
176
|
* @readonly
|
|
127
177
|
*/
|
|
128
178
|
id?: string | null;
|
|
129
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* ID of the form which the submission belongs to.
|
|
181
|
+
* @format GUID
|
|
182
|
+
* @immutable
|
|
183
|
+
*/
|
|
130
184
|
formId?: string;
|
|
131
185
|
/**
|
|
132
186
|
* 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.
|
|
187
|
+
* @minLength 10
|
|
188
|
+
* @maxLength 50
|
|
133
189
|
* @readonly
|
|
134
190
|
*/
|
|
135
191
|
namespace?: string;
|
|
@@ -137,7 +193,10 @@ export interface FormSubmission {
|
|
|
137
193
|
status?: SubmissionStatus;
|
|
138
194
|
/** Submission values where `key` is the form field and `value` is the data submitted for the given field. */
|
|
139
195
|
submissions?: Record<string, any>;
|
|
140
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Date and time the form submission was created.
|
|
198
|
+
* @immutable
|
|
199
|
+
*/
|
|
141
200
|
createdDate?: Date | null;
|
|
142
201
|
/**
|
|
143
202
|
* Date and time the form submission was updated.
|
|
@@ -160,19 +219,28 @@ export interface FormSubmission {
|
|
|
160
219
|
extendedFields?: ExtendedFields;
|
|
161
220
|
/**
|
|
162
221
|
* Order details. <br>
|
|
163
|
-
* <b>Note</b>: This object is only applicable when
|
|
222
|
+
* <b>Note</b>: This object is only applicable when submitting a form in the Wix Payments app.
|
|
164
223
|
*/
|
|
165
224
|
orderDetails?: FormSubmissionOrderDetails;
|
|
166
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* Contact ID of a site visitor who created the submission.
|
|
227
|
+
* @format GUID
|
|
228
|
+
* @immutable
|
|
229
|
+
*/
|
|
167
230
|
contactId?: string | null;
|
|
168
|
-
/**
|
|
231
|
+
/**
|
|
232
|
+
* Authorized viewer ID.
|
|
233
|
+
* @format GUID
|
|
234
|
+
* @immutable
|
|
235
|
+
*/
|
|
169
236
|
accessRestriction?: string | null;
|
|
170
|
-
/** Tag
|
|
237
|
+
/** Tag IDs collections associated with the current entity. */
|
|
171
238
|
tags?: PublicTags;
|
|
172
239
|
}
|
|
173
240
|
export interface FormSubmissionOrderDetails {
|
|
174
241
|
/**
|
|
175
242
|
* ID of the order related to submission (only applicable if a form has payments).
|
|
243
|
+
* @format GUID
|
|
176
244
|
* @readonly
|
|
177
245
|
*/
|
|
178
246
|
orderId?: string | null;
|
|
@@ -183,16 +251,19 @@ export interface FormSubmissionOrderDetails {
|
|
|
183
251
|
number?: string | null;
|
|
184
252
|
/**
|
|
185
253
|
* Currency.
|
|
254
|
+
* @format CURRENCY
|
|
186
255
|
* @readonly
|
|
187
256
|
*/
|
|
188
257
|
currency?: string | null;
|
|
189
258
|
/**
|
|
190
259
|
* Item subtotal.
|
|
260
|
+
* @decimalValue options { gte:0.00, maxScale:2 }
|
|
191
261
|
* @readonly
|
|
192
262
|
*/
|
|
193
263
|
itemSubtotal?: string;
|
|
194
264
|
/**
|
|
195
265
|
* ID of the checkout related to submission (only applicable if a form has payments).
|
|
266
|
+
* @format GUID
|
|
196
267
|
* @readonly
|
|
197
268
|
*/
|
|
198
269
|
checkoutId?: string;
|
|
@@ -202,7 +273,11 @@ export interface PublicTags {
|
|
|
202
273
|
tags?: TagList;
|
|
203
274
|
}
|
|
204
275
|
export interface TagList {
|
|
205
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* List of tag IDs
|
|
278
|
+
* @maxSize 100
|
|
279
|
+
* @maxLength 5
|
|
280
|
+
*/
|
|
206
281
|
tagIds?: string[];
|
|
207
282
|
}
|
|
208
283
|
export interface CheckForSpamResponse {
|
|
@@ -224,15 +299,24 @@ export interface CreateFormSpamSubmissionReportResponse {
|
|
|
224
299
|
formSpamSubmissionReport?: FormSpamSubmissionReport;
|
|
225
300
|
}
|
|
226
301
|
export interface FormSpamSubmissionReportValidationErrorsDetails {
|
|
227
|
-
/**
|
|
302
|
+
/**
|
|
303
|
+
* Submission validation errors details.
|
|
304
|
+
* @maxSize 100
|
|
305
|
+
*/
|
|
228
306
|
errors?: ValidationError[];
|
|
229
307
|
}
|
|
230
308
|
export interface ValidationError {
|
|
231
|
-
/**
|
|
309
|
+
/**
|
|
310
|
+
* Path indicating the source of the error, such as `submission.submissions.email``
|
|
311
|
+
* @maxLength 1000
|
|
312
|
+
*/
|
|
232
313
|
errorPath?: string;
|
|
233
314
|
/** Error type. */
|
|
234
315
|
errorType?: ErrorType;
|
|
235
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* Error message.
|
|
318
|
+
* @maxLength 1000
|
|
319
|
+
*/
|
|
236
320
|
errorMessage?: string;
|
|
237
321
|
/** Additional error parameters, to help identify additional info. */
|
|
238
322
|
params?: Record<string, any> | null;
|
|
@@ -294,7 +378,10 @@ export declare enum ErrorType {
|
|
|
294
378
|
INVALID_LOCATION_ID_ERROR = "INVALID_LOCATION_ID_ERROR"
|
|
295
379
|
}
|
|
296
380
|
export interface GetFormSpamSubmissionReportRequest {
|
|
297
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* Id of the form spam submission report to retrieve.
|
|
383
|
+
* @format GUID
|
|
384
|
+
*/
|
|
298
385
|
formSpamSubmissionReportId: string;
|
|
299
386
|
}
|
|
300
387
|
export interface GetFormSpamSubmissionReportResponse {
|
|
@@ -302,19 +389,33 @@ export interface GetFormSpamSubmissionReportResponse {
|
|
|
302
389
|
formSpamSubmissionReport?: FormSpamSubmissionReport;
|
|
303
390
|
}
|
|
304
391
|
export interface DeleteFormSpamSubmissionReportRequest {
|
|
305
|
-
/**
|
|
392
|
+
/**
|
|
393
|
+
* Id of the form spam submission report to delete.
|
|
394
|
+
* @format GUID
|
|
395
|
+
*/
|
|
306
396
|
formSpamSubmissionReportId: string;
|
|
307
397
|
}
|
|
308
398
|
export interface DeleteFormSpamSubmissionReportResponse {
|
|
309
399
|
}
|
|
310
400
|
export interface BulkDeleteFormSpamSubmissionReportRequest {
|
|
311
|
-
/**
|
|
401
|
+
/**
|
|
402
|
+
* Form ID.
|
|
403
|
+
* @format GUID
|
|
404
|
+
*/
|
|
312
405
|
formId: string;
|
|
313
|
-
/**
|
|
406
|
+
/**
|
|
407
|
+
* Ids of the form spam submission reports to delete.
|
|
408
|
+
* @maxSize 100
|
|
409
|
+
* @format GUID
|
|
410
|
+
*/
|
|
314
411
|
formSpamSubmissionReportIds?: string[];
|
|
315
412
|
}
|
|
316
413
|
export interface BulkDeleteFormSpamSubmissionReportResponse {
|
|
317
|
-
/**
|
|
414
|
+
/**
|
|
415
|
+
* Results of bulk report delete
|
|
416
|
+
* @minSize 1
|
|
417
|
+
* @maxSize 100
|
|
418
|
+
*/
|
|
318
419
|
results?: BulkDeleteFormSpamSubmissionReportResult[];
|
|
319
420
|
/** Metadata of request */
|
|
320
421
|
bulkActionMetadata?: BulkActionMetadata;
|
|
@@ -324,7 +425,10 @@ export interface BulkDeleteFormSpamSubmissionReportResult {
|
|
|
324
425
|
itemMetadata?: ItemMetadata;
|
|
325
426
|
}
|
|
326
427
|
export interface ItemMetadata {
|
|
327
|
-
/**
|
|
428
|
+
/**
|
|
429
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
430
|
+
* @format GUID
|
|
431
|
+
*/
|
|
328
432
|
id?: string | null;
|
|
329
433
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
330
434
|
originalIndex?: number;
|
|
@@ -358,11 +462,17 @@ export interface BulkDeleteFormSpamSubmissionReportByFilterRequest {
|
|
|
358
462
|
filter: Record<string, any> | null;
|
|
359
463
|
}
|
|
360
464
|
export interface BulkDeleteFormSpamSubmissionReportByFilterResponse {
|
|
361
|
-
/**
|
|
465
|
+
/**
|
|
466
|
+
* Job id of bulk delete form submission report by filter job
|
|
467
|
+
* @format GUID
|
|
468
|
+
*/
|
|
362
469
|
jobId?: string;
|
|
363
470
|
}
|
|
364
471
|
export interface ReportNotSpamSubmissionRequest {
|
|
365
|
-
/**
|
|
472
|
+
/**
|
|
473
|
+
* Id of the form spam submission report to report as not spam.
|
|
474
|
+
* @format GUID
|
|
475
|
+
*/
|
|
366
476
|
formSpamSubmissionReportId: string;
|
|
367
477
|
}
|
|
368
478
|
export interface ReportNotSpamSubmissionResponse {
|
|
@@ -370,13 +480,25 @@ export interface ReportNotSpamSubmissionResponse {
|
|
|
370
480
|
submission?: FormSubmission;
|
|
371
481
|
}
|
|
372
482
|
export interface BulkReportNotSpamSubmissionRequest {
|
|
373
|
-
/**
|
|
483
|
+
/**
|
|
484
|
+
* Id of the form to which belong reports
|
|
485
|
+
* @format GUID
|
|
486
|
+
*/
|
|
374
487
|
formId: string;
|
|
375
|
-
/**
|
|
488
|
+
/**
|
|
489
|
+
* Ids of the form spam submission reports to report as not spam.
|
|
490
|
+
* @minSize 1
|
|
491
|
+
* @maxSize 100
|
|
492
|
+
* @format GUID
|
|
493
|
+
*/
|
|
376
494
|
formSpamSubmissionReportIds?: string[];
|
|
377
495
|
}
|
|
378
496
|
export interface BulkReportNotSpamSubmissionResponse {
|
|
379
|
-
/**
|
|
497
|
+
/**
|
|
498
|
+
* Info whatever report of specific items was successful
|
|
499
|
+
* @minSize 1
|
|
500
|
+
* @maxSize 100
|
|
501
|
+
*/
|
|
380
502
|
results?: BulkReportNotSpamSubmissionResult[];
|
|
381
503
|
/** Metadata of request */
|
|
382
504
|
bulkActionMetadata?: BulkActionMetadata;
|
|
@@ -384,11 +506,17 @@ export interface BulkReportNotSpamSubmissionResponse {
|
|
|
384
506
|
export interface BulkReportNotSpamSubmissionResult {
|
|
385
507
|
/** Metadata of submission, marked as not spam */
|
|
386
508
|
itemMetadata?: ItemMetadata;
|
|
387
|
-
/**
|
|
509
|
+
/**
|
|
510
|
+
* Id of related report, which was reported as not spam
|
|
511
|
+
* @format GUID
|
|
512
|
+
*/
|
|
388
513
|
formSpamSubmissionReportId?: string;
|
|
389
514
|
}
|
|
390
515
|
export interface ReportSpamSubmissionRequest {
|
|
391
|
-
/**
|
|
516
|
+
/**
|
|
517
|
+
* Id of the submission to report as spam.
|
|
518
|
+
* @format GUID
|
|
519
|
+
*/
|
|
392
520
|
submissionId: string;
|
|
393
521
|
/** Identifies the reason why the submission was reported as spam. */
|
|
394
522
|
reportReason: ReportReason;
|
|
@@ -398,9 +526,16 @@ export interface ReportSpamSubmissionResponse {
|
|
|
398
526
|
formSpamSubmissionReport?: FormSpamSubmissionReport;
|
|
399
527
|
}
|
|
400
528
|
export interface BulkReportSpamSubmissionRequest {
|
|
401
|
-
/**
|
|
529
|
+
/**
|
|
530
|
+
* Id of the form to which belong submissions to report as spam.
|
|
531
|
+
* @format GUID
|
|
532
|
+
*/
|
|
402
533
|
formId: string;
|
|
403
|
-
/**
|
|
534
|
+
/**
|
|
535
|
+
* Ids of the submissions to report as spam.
|
|
536
|
+
* @maxSize 100
|
|
537
|
+
* @format GUID
|
|
538
|
+
*/
|
|
404
539
|
submissionIds: string[];
|
|
405
540
|
/** Identifies the reason why the submission was reported as spam. */
|
|
406
541
|
reportReason: ReportReason;
|
|
@@ -408,7 +543,11 @@ export interface BulkReportSpamSubmissionRequest {
|
|
|
408
543
|
returnEntity?: boolean;
|
|
409
544
|
}
|
|
410
545
|
export interface BulkReportSpamSubmissionResponse {
|
|
411
|
-
/**
|
|
546
|
+
/**
|
|
547
|
+
* Created reports with metadata
|
|
548
|
+
* @minSize 1
|
|
549
|
+
* @maxSize 100
|
|
550
|
+
*/
|
|
412
551
|
results?: BulkReportSpamSubmissionResult[];
|
|
413
552
|
/** Metadata of request */
|
|
414
553
|
bulkActionMetadata?: BulkActionMetadata;
|
|
@@ -438,6 +577,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
438
577
|
/**
|
|
439
578
|
* Sort object in the following format:
|
|
440
579
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
580
|
+
* @maxSize 3
|
|
441
581
|
*/
|
|
442
582
|
sort?: Sorting[];
|
|
443
583
|
}
|
|
@@ -447,7 +587,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
447
587
|
cursorPaging?: CursorPaging;
|
|
448
588
|
}
|
|
449
589
|
export interface Sorting {
|
|
450
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* Name of the field to sort by.
|
|
592
|
+
* @maxLength 512
|
|
593
|
+
*/
|
|
451
594
|
fieldName?: string;
|
|
452
595
|
/** Sort order. */
|
|
453
596
|
order?: SortOrder;
|
|
@@ -457,7 +600,10 @@ export declare enum SortOrder {
|
|
|
457
600
|
DESC = "DESC"
|
|
458
601
|
}
|
|
459
602
|
export interface CursorPaging {
|
|
460
|
-
/**
|
|
603
|
+
/**
|
|
604
|
+
* Number of items to load.
|
|
605
|
+
* @max 100
|
|
606
|
+
*/
|
|
461
607
|
limit?: number | null;
|
|
462
608
|
/**
|
|
463
609
|
* Pointer to the next or previous page in the list of results.
|
|
@@ -465,6 +611,7 @@ export interface CursorPaging {
|
|
|
465
611
|
* You can get the relevant cursor token
|
|
466
612
|
* from the `pagingMetadata` object in the previous call's response.
|
|
467
613
|
* Not relevant for the first request.
|
|
614
|
+
* @maxLength 16000
|
|
468
615
|
*/
|
|
469
616
|
cursor?: string | null;
|
|
470
617
|
}
|
|
@@ -487,15 +634,30 @@ export interface CursorPagingMetadata {
|
|
|
487
634
|
hasNext?: boolean | null;
|
|
488
635
|
}
|
|
489
636
|
export interface Cursors {
|
|
490
|
-
/**
|
|
637
|
+
/**
|
|
638
|
+
* Cursor pointing to next page in the list of results.
|
|
639
|
+
* @maxLength 16000
|
|
640
|
+
*/
|
|
491
641
|
next?: string | null;
|
|
492
|
-
/**
|
|
642
|
+
/**
|
|
643
|
+
* Cursor pointing to previous page in the list of results.
|
|
644
|
+
* @maxLength 16000
|
|
645
|
+
*/
|
|
493
646
|
prev?: string | null;
|
|
494
647
|
}
|
|
495
648
|
export interface CountFormSpamSubmissionReportsRequest {
|
|
496
|
-
/**
|
|
649
|
+
/**
|
|
650
|
+
* Form IDs.
|
|
651
|
+
* @format GUID
|
|
652
|
+
* @minSize 1
|
|
653
|
+
* @maxSize 100
|
|
654
|
+
*/
|
|
497
655
|
formIds: string[];
|
|
498
|
-
/**
|
|
656
|
+
/**
|
|
657
|
+
* Identifies the app which the form submissions belong to. For example, the namespace for the Wix Forms App is `"wix.form_app.form"`. The namespace of a submission can be retrieved using the Get Submission endpoint.
|
|
658
|
+
* @minLength 10
|
|
659
|
+
* @maxLength 50
|
|
660
|
+
*/
|
|
499
661
|
namespace: string;
|
|
500
662
|
}
|
|
501
663
|
export interface CountFormSpamSubmissionReportsResponse {
|
|
@@ -503,7 +665,10 @@ export interface CountFormSpamSubmissionReportsResponse {
|
|
|
503
665
|
formsSpamSubmissionReportsCount?: FormSpamSubmissionReportsCount[];
|
|
504
666
|
}
|
|
505
667
|
export interface FormSpamSubmissionReportsCount {
|
|
506
|
-
/**
|
|
668
|
+
/**
|
|
669
|
+
* Form ID.
|
|
670
|
+
* @format GUID
|
|
671
|
+
*/
|
|
507
672
|
formId?: string;
|
|
508
673
|
/** Total number of submissions. */
|
|
509
674
|
totalCount?: number;
|
|
@@ -583,9 +748,15 @@ export interface ActionEvent {
|
|
|
583
748
|
export interface Empty {
|
|
584
749
|
}
|
|
585
750
|
export interface MessageEnvelope {
|
|
586
|
-
/**
|
|
751
|
+
/**
|
|
752
|
+
* App instance ID.
|
|
753
|
+
* @format GUID
|
|
754
|
+
*/
|
|
587
755
|
instanceId?: string | null;
|
|
588
|
-
/**
|
|
756
|
+
/**
|
|
757
|
+
* Event type.
|
|
758
|
+
* @maxLength 150
|
|
759
|
+
*/
|
|
589
760
|
eventType?: string;
|
|
590
761
|
/** The identification type and identity data. */
|
|
591
762
|
identity?: IdentificationData;
|
|
@@ -593,26 +764,50 @@ export interface MessageEnvelope {
|
|
|
593
764
|
data?: string;
|
|
594
765
|
}
|
|
595
766
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
596
|
-
/**
|
|
767
|
+
/**
|
|
768
|
+
* ID of a site visitor that has not logged in to the site.
|
|
769
|
+
* @format GUID
|
|
770
|
+
*/
|
|
597
771
|
anonymousVisitorId?: string;
|
|
598
|
-
/**
|
|
772
|
+
/**
|
|
773
|
+
* ID of a site visitor that has logged in to the site.
|
|
774
|
+
* @format GUID
|
|
775
|
+
*/
|
|
599
776
|
memberId?: string;
|
|
600
|
-
/**
|
|
777
|
+
/**
|
|
778
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
779
|
+
* @format GUID
|
|
780
|
+
*/
|
|
601
781
|
wixUserId?: string;
|
|
602
|
-
/**
|
|
782
|
+
/**
|
|
783
|
+
* ID of an app.
|
|
784
|
+
* @format GUID
|
|
785
|
+
*/
|
|
603
786
|
appId?: string;
|
|
604
787
|
/** @readonly */
|
|
605
788
|
identityType?: WebhookIdentityType;
|
|
606
789
|
}
|
|
607
790
|
/** @oneof */
|
|
608
791
|
export interface IdentificationDataIdOneOf {
|
|
609
|
-
/**
|
|
792
|
+
/**
|
|
793
|
+
* ID of a site visitor that has not logged in to the site.
|
|
794
|
+
* @format GUID
|
|
795
|
+
*/
|
|
610
796
|
anonymousVisitorId?: string;
|
|
611
|
-
/**
|
|
797
|
+
/**
|
|
798
|
+
* ID of a site visitor that has logged in to the site.
|
|
799
|
+
* @format GUID
|
|
800
|
+
*/
|
|
612
801
|
memberId?: string;
|
|
613
|
-
/**
|
|
802
|
+
/**
|
|
803
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
804
|
+
* @format GUID
|
|
805
|
+
*/
|
|
614
806
|
wixUserId?: string;
|
|
615
|
-
/**
|
|
807
|
+
/**
|
|
808
|
+
* ID of an app.
|
|
809
|
+
* @format GUID
|
|
810
|
+
*/
|
|
616
811
|
appId?: string;
|
|
617
812
|
}
|
|
618
813
|
export declare enum WebhookIdentityType {
|
package/build/cjs/src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forms-v4-form-spam-submission-report-form-spam-submission-reports.types.js","sourceRoot":"","sources":["../../../src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"forms-v4-form-spam-submission-report-form-spam-submission-reports.types.js","sourceRoot":"","sources":["../../../src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.ts"],"names":[],"mappings":";;;AA8HA,IAAY,YAYX;AAZD,WAAY,YAAY;IACtB,iDAAiC,CAAA;IACjC,6GAA6G;IAC7G,2DAA2C,CAAA;IAC3C,uCAAuC;IACvC,iDAAiC,CAAA;IACjC,kCAAkC;IAClC,uDAAuC,CAAA;IACvC,yFAAyF;IACzF,2CAA2B,CAAA;IAC3B,gDAAgD;IAChD,uDAAuC,CAAA;AACzC,CAAC,EAZW,YAAY,4BAAZ,YAAY,QAYvB;AAcD,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;AAyLD,IAAY,SAiDX;AAjDD,WAAY,SAAS;IACnB,iEAAiE;IACjE,4CAA+B,CAAA;IAC/B,2CAA2C;IAC3C,sCAAyB,CAAA;IACzB,uCAAuC;IACvC,0DAA6C,CAAA;IAC7C,kEAAkE;IAClE,wDAA2C,CAAA;IAC3C,oCAAoC;IACpC,kDAAqC,CAAA;IACrC,wCAAwC;IACxC,kDAAqC,CAAA;IACrC,qDAAqD;IACrD,4CAA+B,CAAA;IAC/B,oDAAoD;IACpD,0CAA6B,CAAA;IAC7B,8BAA8B;IAC9B,gDAAmC,CAAA;IACnC,gCAAgC;IAChC,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gEAAmD,CAAA;IACnD,qCAAqC;IACrC,gDAAmC,CAAA;IACnC,uCAAuC;IACvC,gDAAmC,CAAA;IACnC,6CAA6C;IAC7C,gEAAmD,CAAA;IACnD,mCAAmC;IACnC,sEAAyD,CAAA;IACzD,iCAAiC;IACjC,wDAA2C,CAAA;IAC3C,qBAAqB;IACrB,8EAAiE,CAAA;IACjE,8BAA8B;IAC9B,gFAAmE,CAAA;IACnE,8BAA8B;IAC9B,8EAAiE,CAAA;IACjE,8BAA8B;IAC9B,8EAAiE,CAAA;IACjE,iCAAiC;IACjC,8EAAiE,CAAA;IACjE,mEAAmE;IACnE,kFAAqE,CAAA;IACrE,6CAA6C;IAC7C,8DAAiD,CAAA;IACjD,kDAAkD;IAClD,oEAAuD,CAAA;AACzD,CAAC,EAjDW,SAAS,yBAAT,SAAS,QAiDpB;AAqPD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAsOD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|