@wix/auto_sdk_payments_dispute-evidence-documents 1.0.1 → 1.0.2
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/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +130 -29
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +135 -30
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +130 -29
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +135 -30
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +130 -29
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +135 -30
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +130 -29
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +135 -30
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
export interface DisputeEvidenceDocument {
|
|
3
3
|
/**
|
|
4
4
|
* DisputeEvidenceDocument ID.
|
|
5
|
+
* @format GUID
|
|
5
6
|
* @readonly
|
|
7
|
+
* @immutable
|
|
6
8
|
*/
|
|
7
9
|
id?: string;
|
|
8
10
|
/**
|
|
@@ -13,6 +15,7 @@ export interface DisputeEvidenceDocument {
|
|
|
13
15
|
/**
|
|
14
16
|
* Date and time the DisputeEvidenceDocument was created.
|
|
15
17
|
* @readonly
|
|
18
|
+
* @immutable
|
|
16
19
|
*/
|
|
17
20
|
createdDate?: Date | null;
|
|
18
21
|
/**
|
|
@@ -20,7 +23,11 @@ export interface DisputeEvidenceDocument {
|
|
|
20
23
|
* @readonly
|
|
21
24
|
*/
|
|
22
25
|
updatedDate?: Date | null;
|
|
23
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Dispute ID
|
|
28
|
+
* @format GUID
|
|
29
|
+
* @immutable
|
|
30
|
+
*/
|
|
24
31
|
disputeId?: string;
|
|
25
32
|
/**
|
|
26
33
|
* Document evidence file if it was uploaded and attached
|
|
@@ -43,6 +50,7 @@ export interface DocumentFile {
|
|
|
43
50
|
/**
|
|
44
51
|
* Document filename.
|
|
45
52
|
* @readonly
|
|
53
|
+
* @maxLength 255
|
|
46
54
|
*/
|
|
47
55
|
filename?: string | null;
|
|
48
56
|
/**
|
|
@@ -52,6 +60,8 @@ export interface DocumentFile {
|
|
|
52
60
|
sizeInBytes?: string | null;
|
|
53
61
|
/**
|
|
54
62
|
* Hexadecimal representation of the document's MD5 digest.
|
|
63
|
+
* @minLength 32
|
|
64
|
+
* @maxLength 32
|
|
55
65
|
* @readonly
|
|
56
66
|
*/
|
|
57
67
|
hexMd5Digest?: string | null;
|
|
@@ -94,7 +104,11 @@ export interface Tags {
|
|
|
94
104
|
tags?: TagList;
|
|
95
105
|
}
|
|
96
106
|
export interface TagList {
|
|
97
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* List of tag IDs
|
|
109
|
+
* @maxSize 100
|
|
110
|
+
* @maxLength 5
|
|
111
|
+
*/
|
|
98
112
|
tagIds?: string[];
|
|
99
113
|
}
|
|
100
114
|
export interface CreateDisputeEvidenceDocumentRequest {
|
|
@@ -106,17 +120,30 @@ export interface CreateDisputeEvidenceDocumentResponse {
|
|
|
106
120
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
107
121
|
}
|
|
108
122
|
export interface GenerateDisputeEvidenceDocumentUploadUrlRequest {
|
|
109
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Dispute Evidence Document ID
|
|
125
|
+
* @format GUID
|
|
126
|
+
*/
|
|
110
127
|
disputeEvidenceDocumentId: string;
|
|
111
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Name of the uploaded file
|
|
130
|
+
* @minLength 1
|
|
131
|
+
* @maxLength 255
|
|
132
|
+
*/
|
|
112
133
|
filename?: string;
|
|
113
134
|
}
|
|
114
135
|
export interface GenerateDisputeEvidenceDocumentUploadUrlResponse {
|
|
115
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Evidence Document upload URL
|
|
138
|
+
* @format WEB_URL
|
|
139
|
+
*/
|
|
116
140
|
uploadUrl?: string;
|
|
117
141
|
}
|
|
118
142
|
export interface AttachDisputeEvidenceDocumentFileRequest {
|
|
119
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Dispute Evidence Document ID
|
|
145
|
+
* @format GUID
|
|
146
|
+
*/
|
|
120
147
|
disputeEvidenceDocumentId: string;
|
|
121
148
|
}
|
|
122
149
|
export interface AttachDisputeEvidenceDocumentFileResponse {
|
|
@@ -124,7 +151,10 @@ export interface AttachDisputeEvidenceDocumentFileResponse {
|
|
|
124
151
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
125
152
|
}
|
|
126
153
|
export interface GetDisputeEvidenceDocumentRequest {
|
|
127
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID of the DisputeEvidenceDocument to retrieve.
|
|
156
|
+
* @format GUID
|
|
157
|
+
*/
|
|
128
158
|
disputeEvidenceDocumentId: string;
|
|
129
159
|
}
|
|
130
160
|
export interface GetDisputeEvidenceDocumentResponse {
|
|
@@ -132,23 +162,35 @@ export interface GetDisputeEvidenceDocumentResponse {
|
|
|
132
162
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
133
163
|
}
|
|
134
164
|
export interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {
|
|
135
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* ID of the DisputeEvidenceDocument to generate Download Url.
|
|
167
|
+
* @format GUID
|
|
168
|
+
*/
|
|
136
169
|
disputeEvidenceDocumentId: string;
|
|
137
170
|
}
|
|
138
171
|
export interface GenerateDisputeEvidenceDocumentDownloadUrlResponse {
|
|
139
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Document source URL.
|
|
174
|
+
* @format WEB_URL
|
|
175
|
+
*/
|
|
140
176
|
url?: string | null;
|
|
141
177
|
/** Document source URL expiration date (when relevant). */
|
|
142
178
|
urlExpirationDate?: Date | null;
|
|
143
179
|
}
|
|
144
180
|
export interface MarkDisputeEvidenceDocumentSubmittedRequest {
|
|
145
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* Id of the DisputeEvidenceDocument to mark as submitted.
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
146
185
|
disputeEvidenceDocumentId: string;
|
|
147
186
|
}
|
|
148
187
|
export interface MarkDisputeEvidenceDocumentSubmittedResponse {
|
|
149
188
|
}
|
|
150
189
|
export interface DeleteDisputeEvidenceDocumentRequest {
|
|
151
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Id of the DisputeEvidenceDocument to delete.
|
|
192
|
+
* @format GUID
|
|
193
|
+
*/
|
|
152
194
|
disputeEvidenceDocumentId: string;
|
|
153
195
|
}
|
|
154
196
|
export interface DeleteDisputeEvidenceDocumentResponse {
|
|
@@ -172,6 +214,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
172
214
|
/**
|
|
173
215
|
* Sort object in the following format:
|
|
174
216
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
217
|
+
* @maxSize 5
|
|
175
218
|
*/
|
|
176
219
|
sort?: Sorting[];
|
|
177
220
|
}
|
|
@@ -181,7 +224,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
181
224
|
cursorPaging?: CursorPaging;
|
|
182
225
|
}
|
|
183
226
|
export interface Sorting {
|
|
184
|
-
/**
|
|
227
|
+
/**
|
|
228
|
+
* Name of the field to sort by.
|
|
229
|
+
* @maxLength 512
|
|
230
|
+
*/
|
|
185
231
|
fieldName?: string;
|
|
186
232
|
/** Sort order. */
|
|
187
233
|
order?: SortOrder;
|
|
@@ -191,13 +237,17 @@ export declare enum SortOrder {
|
|
|
191
237
|
DESC = "DESC"
|
|
192
238
|
}
|
|
193
239
|
export interface CursorPaging {
|
|
194
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* Maximum number of items to return in the results.
|
|
242
|
+
* @max 100
|
|
243
|
+
*/
|
|
195
244
|
limit?: number | null;
|
|
196
245
|
/**
|
|
197
246
|
* Pointer to the next or previous page in the list of results.
|
|
198
247
|
*
|
|
199
248
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
200
249
|
* Not relevant for the first request.
|
|
250
|
+
* @maxLength 16000
|
|
201
251
|
*/
|
|
202
252
|
cursor?: string | null;
|
|
203
253
|
}
|
|
@@ -221,13 +271,24 @@ export interface CursorPagingMetadata {
|
|
|
221
271
|
hasNext?: boolean | null;
|
|
222
272
|
}
|
|
223
273
|
export interface Cursors {
|
|
224
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* Cursor string pointing to the next page in the list of results.
|
|
276
|
+
* @maxLength 16000
|
|
277
|
+
*/
|
|
225
278
|
next?: string | null;
|
|
226
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* Cursor pointing to the previous page in the list of results.
|
|
281
|
+
* @maxLength 16000
|
|
282
|
+
*/
|
|
227
283
|
prev?: string | null;
|
|
228
284
|
}
|
|
229
285
|
export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
|
|
230
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* List of NileProtoTagsEntities that their tags will update.
|
|
288
|
+
* @minSize 1
|
|
289
|
+
* @maxSize 100
|
|
290
|
+
* @format GUID
|
|
291
|
+
*/
|
|
231
292
|
ids: string[];
|
|
232
293
|
/** List of Tags to assign */
|
|
233
294
|
assignTags?: Tags;
|
|
@@ -235,13 +296,20 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
|
|
|
235
296
|
unassignTags?: Tags;
|
|
236
297
|
}
|
|
237
298
|
export interface BulkUpdateDisputeEvidenceDocumentTagsResponse {
|
|
238
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* Results
|
|
301
|
+
* @minSize 1
|
|
302
|
+
* @maxSize 100
|
|
303
|
+
*/
|
|
239
304
|
results?: BulkUpdateDisputeEvidenceDocumentTagsResult[];
|
|
240
305
|
/** Metadata regarding the bulk update operation */
|
|
241
306
|
bulkActionMetadata?: BulkActionMetadata;
|
|
242
307
|
}
|
|
243
308
|
export interface ItemMetadata {
|
|
244
|
-
/**
|
|
309
|
+
/**
|
|
310
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
311
|
+
* @format GUID
|
|
312
|
+
*/
|
|
245
313
|
id?: string | null;
|
|
246
314
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
247
315
|
originalIndex?: number;
|
|
@@ -279,7 +347,10 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest {
|
|
|
279
347
|
unassignTags?: Tags;
|
|
280
348
|
}
|
|
281
349
|
export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse {
|
|
282
|
-
/**
|
|
350
|
+
/**
|
|
351
|
+
* Job ID
|
|
352
|
+
* @format GUID
|
|
353
|
+
*/
|
|
283
354
|
jobId?: string;
|
|
284
355
|
}
|
|
285
356
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -355,9 +426,15 @@ export interface ActionEvent {
|
|
|
355
426
|
bodyAsJson?: string;
|
|
356
427
|
}
|
|
357
428
|
export interface MessageEnvelope {
|
|
358
|
-
/**
|
|
429
|
+
/**
|
|
430
|
+
* App instance ID.
|
|
431
|
+
* @format GUID
|
|
432
|
+
*/
|
|
359
433
|
instanceId?: string | null;
|
|
360
|
-
/**
|
|
434
|
+
/**
|
|
435
|
+
* Event type.
|
|
436
|
+
* @maxLength 150
|
|
437
|
+
*/
|
|
361
438
|
eventType?: string;
|
|
362
439
|
/** The identification type and identity data. */
|
|
363
440
|
identity?: IdentificationData;
|
|
@@ -365,26 +442,50 @@ export interface MessageEnvelope {
|
|
|
365
442
|
data?: string;
|
|
366
443
|
}
|
|
367
444
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
368
|
-
/**
|
|
445
|
+
/**
|
|
446
|
+
* ID of a site visitor that has not logged in to the site.
|
|
447
|
+
* @format GUID
|
|
448
|
+
*/
|
|
369
449
|
anonymousVisitorId?: string;
|
|
370
|
-
/**
|
|
450
|
+
/**
|
|
451
|
+
* ID of a site visitor that has logged in to the site.
|
|
452
|
+
* @format GUID
|
|
453
|
+
*/
|
|
371
454
|
memberId?: string;
|
|
372
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
457
|
+
* @format GUID
|
|
458
|
+
*/
|
|
373
459
|
wixUserId?: string;
|
|
374
|
-
/**
|
|
460
|
+
/**
|
|
461
|
+
* ID of an app.
|
|
462
|
+
* @format GUID
|
|
463
|
+
*/
|
|
375
464
|
appId?: string;
|
|
376
465
|
/** @readonly */
|
|
377
466
|
identityType?: WebhookIdentityType;
|
|
378
467
|
}
|
|
379
468
|
/** @oneof */
|
|
380
469
|
export interface IdentificationDataIdOneOf {
|
|
381
|
-
/**
|
|
470
|
+
/**
|
|
471
|
+
* ID of a site visitor that has not logged in to the site.
|
|
472
|
+
* @format GUID
|
|
473
|
+
*/
|
|
382
474
|
anonymousVisitorId?: string;
|
|
383
|
-
/**
|
|
475
|
+
/**
|
|
476
|
+
* ID of a site visitor that has logged in to the site.
|
|
477
|
+
* @format GUID
|
|
478
|
+
*/
|
|
384
479
|
memberId?: string;
|
|
385
|
-
/**
|
|
480
|
+
/**
|
|
481
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
482
|
+
* @format GUID
|
|
483
|
+
*/
|
|
386
484
|
wixUserId?: string;
|
|
387
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* ID of an app.
|
|
487
|
+
* @format GUID
|
|
488
|
+
*/
|
|
388
489
|
appId?: string;
|
|
389
490
|
}
|
|
390
491
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js","sourceRoot":"","sources":["../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js","sourceRoot":"","sources":["../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.ts"],"names":[],"mappings":";;;AA+PA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAoRD,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"}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
export interface DisputeEvidenceDocument {
|
|
3
3
|
/**
|
|
4
4
|
* DisputeEvidenceDocument ID.
|
|
5
|
+
* @format GUID
|
|
5
6
|
* @readonly
|
|
7
|
+
* @immutable
|
|
6
8
|
*/
|
|
7
9
|
_id?: string;
|
|
8
10
|
/**
|
|
@@ -13,6 +15,7 @@ export interface DisputeEvidenceDocument {
|
|
|
13
15
|
/**
|
|
14
16
|
* Date and time the DisputeEvidenceDocument was created.
|
|
15
17
|
* @readonly
|
|
18
|
+
* @immutable
|
|
16
19
|
*/
|
|
17
20
|
_createdDate?: Date | null;
|
|
18
21
|
/**
|
|
@@ -20,7 +23,11 @@ export interface DisputeEvidenceDocument {
|
|
|
20
23
|
* @readonly
|
|
21
24
|
*/
|
|
22
25
|
_updatedDate?: Date | null;
|
|
23
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Dispute ID
|
|
28
|
+
* @format GUID
|
|
29
|
+
* @immutable
|
|
30
|
+
*/
|
|
24
31
|
disputeId?: string;
|
|
25
32
|
/**
|
|
26
33
|
* Document evidence file if it was uploaded and attached
|
|
@@ -43,6 +50,7 @@ export interface DocumentFile {
|
|
|
43
50
|
/**
|
|
44
51
|
* Document filename.
|
|
45
52
|
* @readonly
|
|
53
|
+
* @maxLength 255
|
|
46
54
|
*/
|
|
47
55
|
filename?: string | null;
|
|
48
56
|
/**
|
|
@@ -52,6 +60,8 @@ export interface DocumentFile {
|
|
|
52
60
|
sizeInBytes?: string | null;
|
|
53
61
|
/**
|
|
54
62
|
* Hexadecimal representation of the document's MD5 digest.
|
|
63
|
+
* @minLength 32
|
|
64
|
+
* @maxLength 32
|
|
55
65
|
* @readonly
|
|
56
66
|
*/
|
|
57
67
|
hexMd5Digest?: string | null;
|
|
@@ -94,7 +104,11 @@ export interface Tags {
|
|
|
94
104
|
tags?: TagList;
|
|
95
105
|
}
|
|
96
106
|
export interface TagList {
|
|
97
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* List of tag IDs
|
|
109
|
+
* @maxSize 100
|
|
110
|
+
* @maxLength 5
|
|
111
|
+
*/
|
|
98
112
|
tagIds?: string[];
|
|
99
113
|
}
|
|
100
114
|
export interface CreateDisputeEvidenceDocumentRequest {
|
|
@@ -106,17 +120,30 @@ export interface CreateDisputeEvidenceDocumentResponse {
|
|
|
106
120
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
107
121
|
}
|
|
108
122
|
export interface GenerateDisputeEvidenceDocumentUploadUrlRequest {
|
|
109
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Dispute Evidence Document ID
|
|
125
|
+
* @format GUID
|
|
126
|
+
*/
|
|
110
127
|
disputeEvidenceDocumentId: string;
|
|
111
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Name of the uploaded file
|
|
130
|
+
* @minLength 1
|
|
131
|
+
* @maxLength 255
|
|
132
|
+
*/
|
|
112
133
|
filename?: string;
|
|
113
134
|
}
|
|
114
135
|
export interface GenerateDisputeEvidenceDocumentUploadUrlResponse {
|
|
115
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Evidence Document upload URL
|
|
138
|
+
* @format WEB_URL
|
|
139
|
+
*/
|
|
116
140
|
uploadUrl?: string;
|
|
117
141
|
}
|
|
118
142
|
export interface AttachDisputeEvidenceDocumentFileRequest {
|
|
119
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Dispute Evidence Document ID
|
|
145
|
+
* @format GUID
|
|
146
|
+
*/
|
|
120
147
|
disputeEvidenceDocumentId: string;
|
|
121
148
|
}
|
|
122
149
|
export interface AttachDisputeEvidenceDocumentFileResponse {
|
|
@@ -124,7 +151,10 @@ export interface AttachDisputeEvidenceDocumentFileResponse {
|
|
|
124
151
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
125
152
|
}
|
|
126
153
|
export interface GetDisputeEvidenceDocumentRequest {
|
|
127
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID of the DisputeEvidenceDocument to retrieve.
|
|
156
|
+
* @format GUID
|
|
157
|
+
*/
|
|
128
158
|
disputeEvidenceDocumentId: string;
|
|
129
159
|
}
|
|
130
160
|
export interface GetDisputeEvidenceDocumentResponse {
|
|
@@ -132,23 +162,35 @@ export interface GetDisputeEvidenceDocumentResponse {
|
|
|
132
162
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
133
163
|
}
|
|
134
164
|
export interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {
|
|
135
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* ID of the DisputeEvidenceDocument to generate Download Url.
|
|
167
|
+
* @format GUID
|
|
168
|
+
*/
|
|
136
169
|
disputeEvidenceDocumentId: string;
|
|
137
170
|
}
|
|
138
171
|
export interface GenerateDisputeEvidenceDocumentDownloadUrlResponse {
|
|
139
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Document source URL.
|
|
174
|
+
* @format WEB_URL
|
|
175
|
+
*/
|
|
140
176
|
url?: string | null;
|
|
141
177
|
/** Document source URL expiration date (when relevant). */
|
|
142
178
|
urlExpirationDate?: Date | null;
|
|
143
179
|
}
|
|
144
180
|
export interface MarkDisputeEvidenceDocumentSubmittedRequest {
|
|
145
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* Id of the DisputeEvidenceDocument to mark as submitted.
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
146
185
|
disputeEvidenceDocumentId: string;
|
|
147
186
|
}
|
|
148
187
|
export interface MarkDisputeEvidenceDocumentSubmittedResponse {
|
|
149
188
|
}
|
|
150
189
|
export interface DeleteDisputeEvidenceDocumentRequest {
|
|
151
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Id of the DisputeEvidenceDocument to delete.
|
|
192
|
+
* @format GUID
|
|
193
|
+
*/
|
|
152
194
|
disputeEvidenceDocumentId: string;
|
|
153
195
|
}
|
|
154
196
|
export interface DeleteDisputeEvidenceDocumentResponse {
|
|
@@ -172,6 +214,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
172
214
|
/**
|
|
173
215
|
* Sort object in the following format:
|
|
174
216
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
217
|
+
* @maxSize 5
|
|
175
218
|
*/
|
|
176
219
|
sort?: Sorting[];
|
|
177
220
|
}
|
|
@@ -181,7 +224,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
181
224
|
cursorPaging?: CursorPaging;
|
|
182
225
|
}
|
|
183
226
|
export interface Sorting {
|
|
184
|
-
/**
|
|
227
|
+
/**
|
|
228
|
+
* Name of the field to sort by.
|
|
229
|
+
* @maxLength 512
|
|
230
|
+
*/
|
|
185
231
|
fieldName?: string;
|
|
186
232
|
/** Sort order. */
|
|
187
233
|
order?: SortOrder;
|
|
@@ -191,13 +237,17 @@ export declare enum SortOrder {
|
|
|
191
237
|
DESC = "DESC"
|
|
192
238
|
}
|
|
193
239
|
export interface CursorPaging {
|
|
194
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* Maximum number of items to return in the results.
|
|
242
|
+
* @max 100
|
|
243
|
+
*/
|
|
195
244
|
limit?: number | null;
|
|
196
245
|
/**
|
|
197
246
|
* Pointer to the next or previous page in the list of results.
|
|
198
247
|
*
|
|
199
248
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
200
249
|
* Not relevant for the first request.
|
|
250
|
+
* @maxLength 16000
|
|
201
251
|
*/
|
|
202
252
|
cursor?: string | null;
|
|
203
253
|
}
|
|
@@ -221,13 +271,24 @@ export interface CursorPagingMetadata {
|
|
|
221
271
|
hasNext?: boolean | null;
|
|
222
272
|
}
|
|
223
273
|
export interface Cursors {
|
|
224
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* Cursor string pointing to the next page in the list of results.
|
|
276
|
+
* @maxLength 16000
|
|
277
|
+
*/
|
|
225
278
|
next?: string | null;
|
|
226
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* Cursor pointing to the previous page in the list of results.
|
|
281
|
+
* @maxLength 16000
|
|
282
|
+
*/
|
|
227
283
|
prev?: string | null;
|
|
228
284
|
}
|
|
229
285
|
export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
|
|
230
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* List of NileProtoTagsEntities that their tags will update.
|
|
288
|
+
* @minSize 1
|
|
289
|
+
* @maxSize 100
|
|
290
|
+
* @format GUID
|
|
291
|
+
*/
|
|
231
292
|
ids: string[];
|
|
232
293
|
/** List of Tags to assign */
|
|
233
294
|
assignTags?: Tags;
|
|
@@ -235,13 +296,20 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
|
|
|
235
296
|
unassignTags?: Tags;
|
|
236
297
|
}
|
|
237
298
|
export interface BulkUpdateDisputeEvidenceDocumentTagsResponse {
|
|
238
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* Results
|
|
301
|
+
* @minSize 1
|
|
302
|
+
* @maxSize 100
|
|
303
|
+
*/
|
|
239
304
|
results?: BulkUpdateDisputeEvidenceDocumentTagsResult[];
|
|
240
305
|
/** Metadata regarding the bulk update operation */
|
|
241
306
|
bulkActionMetadata?: BulkActionMetadata;
|
|
242
307
|
}
|
|
243
308
|
export interface ItemMetadata {
|
|
244
|
-
/**
|
|
309
|
+
/**
|
|
310
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
311
|
+
* @format GUID
|
|
312
|
+
*/
|
|
245
313
|
_id?: string | null;
|
|
246
314
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
247
315
|
originalIndex?: number;
|
|
@@ -279,7 +347,10 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest {
|
|
|
279
347
|
unassignTags?: Tags;
|
|
280
348
|
}
|
|
281
349
|
export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse {
|
|
282
|
-
/**
|
|
350
|
+
/**
|
|
351
|
+
* Job ID
|
|
352
|
+
* @format GUID
|
|
353
|
+
*/
|
|
283
354
|
jobId?: string;
|
|
284
355
|
}
|
|
285
356
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -353,9 +424,15 @@ export interface ActionEvent {
|
|
|
353
424
|
body?: string;
|
|
354
425
|
}
|
|
355
426
|
export interface MessageEnvelope {
|
|
356
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* App instance ID.
|
|
429
|
+
* @format GUID
|
|
430
|
+
*/
|
|
357
431
|
instanceId?: string | null;
|
|
358
|
-
/**
|
|
432
|
+
/**
|
|
433
|
+
* Event type.
|
|
434
|
+
* @maxLength 150
|
|
435
|
+
*/
|
|
359
436
|
eventType?: string;
|
|
360
437
|
/** The identification type and identity data. */
|
|
361
438
|
identity?: IdentificationData;
|
|
@@ -363,26 +440,50 @@ export interface MessageEnvelope {
|
|
|
363
440
|
data?: string;
|
|
364
441
|
}
|
|
365
442
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
366
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* ID of a site visitor that has not logged in to the site.
|
|
445
|
+
* @format GUID
|
|
446
|
+
*/
|
|
367
447
|
anonymousVisitorId?: string;
|
|
368
|
-
/**
|
|
448
|
+
/**
|
|
449
|
+
* ID of a site visitor that has logged in to the site.
|
|
450
|
+
* @format GUID
|
|
451
|
+
*/
|
|
369
452
|
memberId?: string;
|
|
370
|
-
/**
|
|
453
|
+
/**
|
|
454
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
455
|
+
* @format GUID
|
|
456
|
+
*/
|
|
371
457
|
wixUserId?: string;
|
|
372
|
-
/**
|
|
458
|
+
/**
|
|
459
|
+
* ID of an app.
|
|
460
|
+
* @format GUID
|
|
461
|
+
*/
|
|
373
462
|
appId?: string;
|
|
374
463
|
/** @readonly */
|
|
375
464
|
identityType?: WebhookIdentityType;
|
|
376
465
|
}
|
|
377
466
|
/** @oneof */
|
|
378
467
|
export interface IdentificationDataIdOneOf {
|
|
379
|
-
/**
|
|
468
|
+
/**
|
|
469
|
+
* ID of a site visitor that has not logged in to the site.
|
|
470
|
+
* @format GUID
|
|
471
|
+
*/
|
|
380
472
|
anonymousVisitorId?: string;
|
|
381
|
-
/**
|
|
473
|
+
/**
|
|
474
|
+
* ID of a site visitor that has logged in to the site.
|
|
475
|
+
* @format GUID
|
|
476
|
+
*/
|
|
382
477
|
memberId?: string;
|
|
383
|
-
/**
|
|
478
|
+
/**
|
|
479
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
480
|
+
* @format GUID
|
|
481
|
+
*/
|
|
384
482
|
wixUserId?: string;
|
|
385
|
-
/**
|
|
483
|
+
/**
|
|
484
|
+
* ID of an app.
|
|
485
|
+
* @format GUID
|
|
486
|
+
*/
|
|
386
487
|
appId?: string;
|
|
387
488
|
}
|
|
388
489
|
export declare enum WebhookIdentityType {
|
|
@@ -443,7 +544,11 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponseNonNullabl
|
|
|
443
544
|
jobId: string;
|
|
444
545
|
}
|
|
445
546
|
export interface GenerateDisputeEvidenceDocumentUploadUrlOptions {
|
|
446
|
-
/**
|
|
547
|
+
/**
|
|
548
|
+
* Name of the uploaded file
|
|
549
|
+
* @minLength 1
|
|
550
|
+
* @maxLength 255
|
|
551
|
+
*/
|
|
447
552
|
filename?: string;
|
|
448
553
|
}
|
|
449
554
|
interface QueryCursorResult {
|