@wix/auto_sdk_payments_dispute-evidence-documents 1.0.30 → 1.0.32
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/index.d.ts +40 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +188 -77
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +104 -35
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +40 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +188 -77
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +104 -35
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +40 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +188 -77
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +104 -35
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +40 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +188 -77
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +104 -35
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,69 +1,81 @@
|
|
|
1
1
|
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* A dispute evidence document represents a file-based piece of evidence submitted to support a payment dispute resolution case.
|
|
5
|
+
*
|
|
6
|
+
* Evidence documents are created for specific disputes and follow a structured workflow:
|
|
7
|
+
* create the document, upload the file, and submit for dispute resolution.
|
|
8
|
+
* Once submitted, documents become immutable and cannot be deleted or modified.
|
|
9
|
+
*/
|
|
4
10
|
interface DisputeEvidenceDocument {
|
|
5
11
|
/**
|
|
6
|
-
*
|
|
12
|
+
* Dispute evidence document ID.
|
|
7
13
|
* @format GUID
|
|
8
14
|
* @readonly
|
|
9
15
|
* @immutable
|
|
10
16
|
*/
|
|
11
|
-
_id?: string;
|
|
17
|
+
_id?: string | null;
|
|
12
18
|
/**
|
|
13
|
-
* Revision number, which increments by 1 each time the dispute evidence document is updated.
|
|
14
|
-
* To prevent conflicting changes, the existing revision must be specified when updating a dispute evidence document.
|
|
19
|
+
* Revision number, which increments by 1 each time the dispute evidence document is updated. To prevent conflicting changes, the existing revision must be specified when updating a dispute evidence document. Ignored when creating a dispute evidence document.
|
|
15
20
|
* @readonly
|
|
16
21
|
*/
|
|
17
22
|
revision?: string | null;
|
|
18
23
|
/**
|
|
19
|
-
* Date and time the
|
|
24
|
+
* Date and time the dispute evidence document was created.
|
|
20
25
|
* @readonly
|
|
21
26
|
* @immutable
|
|
22
27
|
*/
|
|
23
28
|
_createdDate?: Date | null;
|
|
24
29
|
/**
|
|
25
|
-
* Date and time the
|
|
30
|
+
* Date and time the dispute evidence document was updated.
|
|
26
31
|
* @readonly
|
|
27
32
|
*/
|
|
28
33
|
_updatedDate?: Date | null;
|
|
29
34
|
/**
|
|
30
|
-
*
|
|
35
|
+
* ID of the dispute this evidence document supports.
|
|
31
36
|
* @format GUID
|
|
32
37
|
* @immutable
|
|
33
38
|
*/
|
|
34
39
|
disputeId?: string;
|
|
35
40
|
/**
|
|
36
|
-
*
|
|
41
|
+
* File details for the uploaded evidence document.
|
|
42
|
+
*
|
|
43
|
+
* Returned only when a file has been successfully uploaded and attached to the evidence document.
|
|
37
44
|
* @readonly
|
|
38
45
|
*/
|
|
39
46
|
file?: DocumentFile;
|
|
40
47
|
/**
|
|
41
48
|
* Custom field data for the dispute evidence document.
|
|
49
|
+
*
|
|
42
50
|
* Extended fields must be configured in the app dashboard before they can be accessed with API calls.
|
|
43
51
|
*/
|
|
44
52
|
extendedFields?: ExtendedFields;
|
|
45
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* Tags assigned to the dispute evidence document for organization and filtering purposes.
|
|
55
|
+
* Tags assigned to the dispute evidence document for organization and filtering purposes.
|
|
56
|
+
*/
|
|
46
57
|
tags?: Tags;
|
|
47
58
|
}
|
|
59
|
+
/** File details for an uploaded evidence document. */
|
|
48
60
|
interface DocumentFile {
|
|
49
61
|
/**
|
|
50
|
-
*
|
|
62
|
+
* Name of the uploaded evidence file.
|
|
51
63
|
* @readonly
|
|
52
64
|
* @maxLength 255
|
|
53
65
|
*/
|
|
54
66
|
filename?: string | null;
|
|
55
67
|
/**
|
|
56
|
-
*
|
|
68
|
+
* Size of the uploaded evidence file in bytes.
|
|
57
69
|
* @readonly
|
|
58
70
|
*/
|
|
59
|
-
|
|
71
|
+
size?: string | null;
|
|
60
72
|
/**
|
|
61
|
-
* Hexadecimal
|
|
73
|
+
* Hexadecimal checksum of the uploaded file for integrity verification.
|
|
62
74
|
* @minLength 32
|
|
63
|
-
* @maxLength
|
|
75
|
+
* @maxLength 256
|
|
64
76
|
* @readonly
|
|
65
77
|
*/
|
|
66
|
-
|
|
78
|
+
checksum?: string | null;
|
|
67
79
|
}
|
|
68
80
|
interface ExtendedFields {
|
|
69
81
|
/**
|
|
@@ -113,41 +125,57 @@ interface TagList {
|
|
|
113
125
|
*/
|
|
114
126
|
tagIds?: string[];
|
|
115
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Triggers when tags are modified on a dispute evidence document.
|
|
130
|
+
* TagsModified message represents a modification of tags associated with a dispute evidence document.
|
|
131
|
+
*/
|
|
116
132
|
interface TagsModified {
|
|
117
|
-
/**
|
|
133
|
+
/** Dispute evidence document with the updated tags. */
|
|
118
134
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
119
|
-
/** Tags that were assigned to the
|
|
135
|
+
/** Tags that were newly assigned to the dispute evidence document. */
|
|
120
136
|
assignedTags?: Tags;
|
|
121
|
-
/** Tags that were unassigned from the
|
|
137
|
+
/** Tags that were unassigned from the dispute evidence document. */
|
|
122
138
|
unassignedTags?: Tags;
|
|
123
139
|
}
|
|
124
140
|
interface CreateDisputeEvidenceDocumentRequest {
|
|
125
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* Dispute evidence document to create.
|
|
143
|
+
*
|
|
144
|
+
* The `disputeId` field is required. Do not provide an `id` as it will be generated automatically.
|
|
145
|
+
*/
|
|
126
146
|
disputeEvidenceDocument: DisputeEvidenceDocument;
|
|
127
147
|
}
|
|
128
148
|
interface CreateDisputeEvidenceDocumentResponse {
|
|
129
|
-
/**
|
|
149
|
+
/** Created dispute evidence document. */
|
|
130
150
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
131
151
|
/**
|
|
132
|
-
*
|
|
152
|
+
* URL for uploading the evidence file.
|
|
153
|
+
*
|
|
154
|
+
* Use this URL to upload the file that will serve as evidence for the dispute.
|
|
155
|
+
* File attachment is automatic once the upload completes successfully.
|
|
133
156
|
* @format WEB_URL
|
|
134
157
|
*/
|
|
135
158
|
uploadUrl?: string | null;
|
|
136
159
|
}
|
|
137
160
|
interface GetDisputeEvidenceDocumentRequest {
|
|
138
161
|
/**
|
|
139
|
-
* ID of the
|
|
162
|
+
* ID of the dispute evidence document to retrieve.
|
|
163
|
+
* ID of the dispute evidence document to retrieve.
|
|
140
164
|
* @format GUID
|
|
141
165
|
*/
|
|
142
166
|
disputeEvidenceDocumentId: string;
|
|
143
167
|
}
|
|
144
168
|
interface GetDisputeEvidenceDocumentResponse {
|
|
145
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* Retrieved dispute evidence document.
|
|
171
|
+
* Retrieved dispute evidence document.
|
|
172
|
+
*/
|
|
146
173
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
147
174
|
}
|
|
148
175
|
interface DeleteDisputeEvidenceDocumentRequest {
|
|
149
176
|
/**
|
|
150
|
-
*
|
|
177
|
+
* ID of the dispute evidence document to delete.
|
|
178
|
+
* ID of the dispute evidence document to delete.
|
|
151
179
|
* @format GUID
|
|
152
180
|
*/
|
|
153
181
|
disputeEvidenceDocumentId: string;
|
|
@@ -155,7 +183,14 @@ interface DeleteDisputeEvidenceDocumentRequest {
|
|
|
155
183
|
interface DeleteDisputeEvidenceDocumentResponse {
|
|
156
184
|
}
|
|
157
185
|
interface QueryDisputeEvidenceDocumentsRequest {
|
|
158
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* Query options for filtering, sorting, and paging dispute evidence documents.
|
|
188
|
+
*
|
|
189
|
+
* Supported properties: `disputeId`
|
|
190
|
+
* Query options for filtering, sorting, and paging dispute evidence documents.
|
|
191
|
+
*
|
|
192
|
+
* Supported properties: `disputeId`
|
|
193
|
+
*/
|
|
159
194
|
query?: CursorQuery;
|
|
160
195
|
}
|
|
161
196
|
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
@@ -213,9 +248,15 @@ interface CursorPaging {
|
|
|
213
248
|
cursor?: string | null;
|
|
214
249
|
}
|
|
215
250
|
interface QueryDisputeEvidenceDocumentsResponse {
|
|
216
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* List of dispute evidence documents matching the query criteria.
|
|
253
|
+
* List of dispute evidence documents matching the query criteria.
|
|
254
|
+
*/
|
|
217
255
|
disputeEvidenceDocuments?: DisputeEvidenceDocument[];
|
|
218
|
-
/**
|
|
256
|
+
/**
|
|
257
|
+
* Paging metadata for the query results.
|
|
258
|
+
* Paging metadata for the query results.
|
|
259
|
+
*/
|
|
219
260
|
pagingMetadata?: CursorPagingMetadata;
|
|
220
261
|
}
|
|
221
262
|
interface CursorPagingMetadata {
|
|
@@ -245,25 +286,40 @@ interface Cursors {
|
|
|
245
286
|
}
|
|
246
287
|
interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
|
|
247
288
|
/**
|
|
248
|
-
*
|
|
289
|
+
* IDs of the dispute evidence documents to update.
|
|
290
|
+
* IDs of the dispute evidence documents to update.
|
|
291
|
+
*
|
|
292
|
+
* Limited to 100 documents per request.
|
|
249
293
|
* @minSize 1
|
|
250
294
|
* @maxSize 100
|
|
251
295
|
* @format GUID
|
|
252
296
|
*/
|
|
253
297
|
ids: string[];
|
|
254
|
-
/**
|
|
298
|
+
/**
|
|
299
|
+
* Tags to assign to the dispute evidence documents.
|
|
300
|
+
* Tags to assign to the dispute evidence documents.
|
|
301
|
+
* Tags to assign to the filtered dispute evidence documents.
|
|
302
|
+
*/
|
|
255
303
|
assignTags?: Tags;
|
|
256
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* Tags to remove from the dispute evidence documents.
|
|
306
|
+
* Tags to remove from the dispute evidence documents.
|
|
307
|
+
* Tags to remove from the filtered dispute evidence documents.
|
|
308
|
+
*/
|
|
257
309
|
unassignTags?: Tags;
|
|
258
310
|
}
|
|
259
311
|
interface BulkUpdateDisputeEvidenceDocumentTagsResponse {
|
|
260
312
|
/**
|
|
261
|
-
* Results
|
|
313
|
+
* Results of the bulk tag update operation for each document.
|
|
314
|
+
* Results of the bulk tag update operation for each document.
|
|
262
315
|
* @minSize 1
|
|
263
316
|
* @maxSize 100
|
|
264
317
|
*/
|
|
265
318
|
results?: BulkUpdateDisputeEvidenceDocumentTagsResult[];
|
|
266
|
-
/**
|
|
319
|
+
/**
|
|
320
|
+
* Metadata about the bulk tag update operation.
|
|
321
|
+
* Metadata about the bulk tag update operation.
|
|
322
|
+
*/
|
|
267
323
|
bulkActionMetadata?: BulkActionMetadata;
|
|
268
324
|
}
|
|
269
325
|
interface ItemMetadata {
|
|
@@ -288,7 +344,10 @@ interface ApplicationError {
|
|
|
288
344
|
data?: Record<string, any> | null;
|
|
289
345
|
}
|
|
290
346
|
interface BulkUpdateDisputeEvidenceDocumentTagsResult {
|
|
291
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* Metadata about the tag update result for this specific document.
|
|
349
|
+
* Metadata about the tag update result for this specific document.
|
|
350
|
+
*/
|
|
292
351
|
itemMetadata?: ItemMetadata;
|
|
293
352
|
}
|
|
294
353
|
interface BulkActionMetadata {
|
|
@@ -300,72 +359,86 @@ interface BulkActionMetadata {
|
|
|
300
359
|
undetailedFailures?: number;
|
|
301
360
|
}
|
|
302
361
|
interface BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest {
|
|
303
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* Filter criteria for selecting dispute evidence documents to update.
|
|
364
|
+
* Filter criteria for selecting dispute evidence documents to update.
|
|
365
|
+
*
|
|
366
|
+
* An empty filter will update all dispute evidence documents.
|
|
367
|
+
*/
|
|
304
368
|
filter: Record<string, any> | null;
|
|
305
|
-
/**
|
|
369
|
+
/**
|
|
370
|
+
* Tags to assign to the filtered dispute evidence documents.
|
|
371
|
+
* Tags to assign to the dispute evidence documents.
|
|
372
|
+
* Tags to assign to the filtered dispute evidence documents.
|
|
373
|
+
*/
|
|
306
374
|
assignTags?: Tags;
|
|
307
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* Tags to remove from the filtered dispute evidence documents.
|
|
377
|
+
* Tags to remove from the dispute evidence documents.
|
|
378
|
+
* Tags to remove from the filtered dispute evidence documents.
|
|
379
|
+
*/
|
|
308
380
|
unassignTags?: Tags;
|
|
309
381
|
}
|
|
310
382
|
interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse {
|
|
311
383
|
/**
|
|
312
|
-
*
|
|
384
|
+
* Job ID for tracking the progress of the bulk tag update operation.
|
|
385
|
+
* Job ID for tracking the progress of the bulk tag update operation.
|
|
313
386
|
* @format GUID
|
|
314
387
|
*/
|
|
315
388
|
jobId?: string;
|
|
316
389
|
}
|
|
317
390
|
interface MigrateDisputeEvidenceDocumentRequest {
|
|
318
391
|
/**
|
|
319
|
-
*
|
|
392
|
+
* ID of the dispute.
|
|
320
393
|
* @format GUID
|
|
321
394
|
*/
|
|
322
395
|
disputeId?: string;
|
|
323
396
|
/**
|
|
324
|
-
*
|
|
397
|
+
* ID of the evidence being migrated.
|
|
325
398
|
* @format GUID
|
|
326
399
|
*/
|
|
327
400
|
evidenceId?: string;
|
|
328
401
|
/**
|
|
329
|
-
* External evidence document
|
|
402
|
+
* External system ID of the evidence document being migrated.
|
|
330
403
|
* @minLength 1
|
|
331
404
|
* @maxLength 64
|
|
332
405
|
*/
|
|
333
406
|
evidenceDocumentId?: string;
|
|
334
407
|
/**
|
|
335
|
-
*
|
|
408
|
+
* Hash of the file for integrity verification during migration.
|
|
336
409
|
* @minLength 32
|
|
337
410
|
* @maxLength 32
|
|
338
411
|
*/
|
|
339
412
|
hash?: string | null;
|
|
340
|
-
/**
|
|
413
|
+
/** Date and time the evidence document was created in the legacy system. */
|
|
341
414
|
_createdDate?: Date | null;
|
|
342
415
|
}
|
|
343
416
|
interface MigrateDisputeEvidenceDocumentResponse {
|
|
344
417
|
}
|
|
345
418
|
interface SubmitMigratedDisputeEvidenceDocumentRequest {
|
|
346
419
|
/**
|
|
347
|
-
*
|
|
420
|
+
* ID of the dispute.
|
|
348
421
|
* @format GUID
|
|
349
422
|
*/
|
|
350
423
|
disputeId?: string;
|
|
351
424
|
/**
|
|
352
|
-
*
|
|
425
|
+
* ID of the migrated evidence document.
|
|
353
426
|
* @format GUID
|
|
354
427
|
*/
|
|
355
428
|
evidenceId?: string;
|
|
356
|
-
/**
|
|
429
|
+
/** Date when the evidence document was originally submitted in the legacy system. */
|
|
357
430
|
submittedDate?: Date | null;
|
|
358
431
|
}
|
|
359
432
|
interface SubmitMigratedDisputeEvidenceDocumentResponse {
|
|
360
433
|
}
|
|
361
434
|
interface GenerateDisputeEvidenceDocumentUploadUrlRequest {
|
|
362
435
|
/**
|
|
363
|
-
*
|
|
436
|
+
* ID of the dispute evidence document.
|
|
364
437
|
* @format GUID
|
|
365
438
|
*/
|
|
366
439
|
disputeEvidenceDocumentId?: string;
|
|
367
440
|
/**
|
|
368
|
-
* Name of the uploaded
|
|
441
|
+
* Name of the file to be uploaded as evidence.
|
|
369
442
|
* @minLength 1
|
|
370
443
|
* @maxLength 255
|
|
371
444
|
*/
|
|
@@ -373,26 +446,26 @@ interface GenerateDisputeEvidenceDocumentUploadUrlRequest {
|
|
|
373
446
|
}
|
|
374
447
|
interface GenerateDisputeEvidenceDocumentUploadUrlResponse {
|
|
375
448
|
/**
|
|
376
|
-
*
|
|
449
|
+
* URL for uploading the evidence file.
|
|
377
450
|
* @format WEB_URL
|
|
378
451
|
*/
|
|
379
452
|
uploadUrl?: string;
|
|
380
453
|
}
|
|
381
454
|
interface AttachDisputeEvidenceDocumentFileRequest {
|
|
382
455
|
/**
|
|
383
|
-
*
|
|
456
|
+
* ID of the dispute evidence document.
|
|
384
457
|
* @format GUID
|
|
385
458
|
*/
|
|
386
459
|
disputeEvidenceDocumentId?: string;
|
|
387
460
|
}
|
|
388
461
|
interface AttachDisputeEvidenceDocumentFileResponse {
|
|
389
|
-
/**
|
|
462
|
+
/** Updated dispute evidence document with attached file information. */
|
|
390
463
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
391
464
|
}
|
|
392
465
|
/** it will be removed */
|
|
393
466
|
interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {
|
|
394
467
|
/**
|
|
395
|
-
* ID of the
|
|
468
|
+
* ID of the dispute evidence document.
|
|
396
469
|
* @format GUID
|
|
397
470
|
*/
|
|
398
471
|
disputeEvidenceDocumentId?: string;
|
|
@@ -400,17 +473,17 @@ interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {
|
|
|
400
473
|
/** it will be removed */
|
|
401
474
|
interface GenerateDisputeEvidenceDocumentDownloadUrlResponse {
|
|
402
475
|
/**
|
|
403
|
-
*
|
|
476
|
+
* URL for downloading the evidence document file.
|
|
404
477
|
* @format WEB_URL
|
|
405
478
|
*/
|
|
406
479
|
url?: string | null;
|
|
407
|
-
/**
|
|
480
|
+
/** Date and time when the download URL expires. */
|
|
408
481
|
urlExpirationDate?: Date | null;
|
|
409
482
|
}
|
|
410
483
|
/** it will be removed */
|
|
411
484
|
interface MarkDisputeEvidenceDocumentSubmittedRequest {
|
|
412
485
|
/**
|
|
413
|
-
*
|
|
486
|
+
* ID of the dispute evidence document to mark as submitted.
|
|
414
487
|
* @format GUID
|
|
415
488
|
*/
|
|
416
489
|
disputeEvidenceDocumentId?: string;
|
|
@@ -648,31 +721,41 @@ interface DisputeEvidenceDocumentUpdatedEnvelope {
|
|
|
648
721
|
*/
|
|
649
722
|
declare function onDisputeEvidenceDocumentUpdated(handler: (event: DisputeEvidenceDocumentUpdatedEnvelope) => void | Promise<void>): void;
|
|
650
723
|
/**
|
|
651
|
-
* Creates a
|
|
652
|
-
*
|
|
724
|
+
* Creates a dispute evidence document for a specific dispute.
|
|
725
|
+
*
|
|
726
|
+
* Returns the created document along with an upload URL for attaching the evidence file.
|
|
727
|
+
* Use the provided upload URL to upload your evidence file directly.
|
|
728
|
+
* @param disputeEvidenceDocument - Dispute evidence document to create.
|
|
729
|
+
*
|
|
730
|
+
* The `disputeId` field is required. Do not provide an `id` as it will be generated automatically.
|
|
653
731
|
* @public
|
|
654
732
|
* @documentationMaturity preview
|
|
655
733
|
* @requiredField disputeEvidenceDocument
|
|
656
734
|
* @requiredField disputeEvidenceDocument.disputeId
|
|
657
735
|
* @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_CREATE
|
|
658
|
-
* @returns
|
|
736
|
+
* @returns Created dispute evidence document.
|
|
659
737
|
* @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.CreateDisputeEvidenceDocument
|
|
660
738
|
*/
|
|
661
|
-
declare function createDisputeEvidenceDocument(disputeEvidenceDocument: NonNullablePaths<DisputeEvidenceDocument, `disputeId`, 2>): Promise<NonNullablePaths<DisputeEvidenceDocument, `
|
|
739
|
+
declare function createDisputeEvidenceDocument(disputeEvidenceDocument: NonNullablePaths<DisputeEvidenceDocument, `disputeId`, 2>): Promise<NonNullablePaths<DisputeEvidenceDocument, `disputeId` | `tags.privateTags.tagIds`, 4>>;
|
|
662
740
|
/**
|
|
663
|
-
* Retrieves a
|
|
664
|
-
* @param disputeEvidenceDocumentId - ID of the
|
|
741
|
+
* Retrieves a dispute evidence document by ID.
|
|
742
|
+
* @param disputeEvidenceDocumentId - ID of the dispute evidence document to retrieve.
|
|
743
|
+
* ID of the dispute evidence document to retrieve.
|
|
665
744
|
* @public
|
|
666
745
|
* @documentationMaturity preview
|
|
667
746
|
* @requiredField disputeEvidenceDocumentId
|
|
668
747
|
* @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ
|
|
669
|
-
* @returns
|
|
748
|
+
* @returns Retrieved dispute evidence document.
|
|
749
|
+
* Retrieved dispute evidence document.
|
|
670
750
|
* @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.GetDisputeEvidenceDocument
|
|
671
751
|
*/
|
|
672
|
-
declare function getDisputeEvidenceDocument(disputeEvidenceDocumentId: string): Promise<NonNullablePaths<DisputeEvidenceDocument, `
|
|
752
|
+
declare function getDisputeEvidenceDocument(disputeEvidenceDocumentId: string): Promise<NonNullablePaths<DisputeEvidenceDocument, `disputeId` | `tags.privateTags.tagIds`, 4>>;
|
|
673
753
|
/**
|
|
674
|
-
* Deletes a
|
|
675
|
-
*
|
|
754
|
+
* Deletes a dispute evidence document.
|
|
755
|
+
*
|
|
756
|
+
* Documents cannot be deleted once they have been submitted for dispute resolution.
|
|
757
|
+
* @param disputeEvidenceDocumentId - ID of the dispute evidence document to delete.
|
|
758
|
+
* ID of the dispute evidence document to delete.
|
|
676
759
|
* @public
|
|
677
760
|
* @documentationMaturity preview
|
|
678
761
|
* @requiredField disputeEvidenceDocumentId
|
|
@@ -683,7 +766,9 @@ declare function deleteDisputeEvidenceDocument(disputeEvidenceDocumentId: string
|
|
|
683
766
|
__applicationErrorsType?: DeleteDisputeEvidenceDocumentApplicationErrors;
|
|
684
767
|
}>;
|
|
685
768
|
/**
|
|
686
|
-
* Retrieves a list of
|
|
769
|
+
* Retrieves a list of dispute evidence documents, given the provided paging, filtering, and sorting.
|
|
770
|
+
*
|
|
771
|
+
* Use the `disputeId` filter to retrieve all evidence documents for a specific dispute.
|
|
687
772
|
* @public
|
|
688
773
|
* @documentationMaturity preview
|
|
689
774
|
* @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ
|
|
@@ -768,9 +853,14 @@ interface DisputeEvidenceDocumentsQueryBuilder {
|
|
|
768
853
|
find: () => Promise<DisputeEvidenceDocumentsQueryResult>;
|
|
769
854
|
}
|
|
770
855
|
/**
|
|
771
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
856
|
+
* Updates tags on multiple dispute evidence documents by ID.
|
|
857
|
+
*
|
|
858
|
+
* If a tag appears in both assign and unassign lists, it will be assigned.
|
|
859
|
+
* Limited to 100 documents per request.
|
|
860
|
+
* @param ids - IDs of the dispute evidence documents to update.
|
|
861
|
+
* IDs of the dispute evidence documents to update.
|
|
862
|
+
*
|
|
863
|
+
* Limited to 100 documents per request.
|
|
774
864
|
* @public
|
|
775
865
|
* @documentationMaturity preview
|
|
776
866
|
* @requiredField ids
|
|
@@ -781,16 +871,29 @@ declare function bulkUpdateDisputeEvidenceDocumentTags(ids: string[], options?:
|
|
|
781
871
|
__applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors;
|
|
782
872
|
}>;
|
|
783
873
|
interface BulkUpdateDisputeEvidenceDocumentTagsOptions {
|
|
784
|
-
/**
|
|
874
|
+
/**
|
|
875
|
+
* Tags to assign to the dispute evidence documents.
|
|
876
|
+
* Tags to assign to the dispute evidence documents.
|
|
877
|
+
* Tags to assign to the filtered dispute evidence documents.
|
|
878
|
+
*/
|
|
785
879
|
assignTags?: Tags;
|
|
786
|
-
/**
|
|
880
|
+
/**
|
|
881
|
+
* Tags to remove from the dispute evidence documents.
|
|
882
|
+
* Tags to remove from the dispute evidence documents.
|
|
883
|
+
* Tags to remove from the filtered dispute evidence documents.
|
|
884
|
+
*/
|
|
787
885
|
unassignTags?: Tags;
|
|
788
886
|
}
|
|
789
887
|
/**
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
*
|
|
793
|
-
*
|
|
888
|
+
* Updates tags on multiple dispute evidence documents matching the provided filter.
|
|
889
|
+
*
|
|
890
|
+
* This operation runs asynchronously and returns a job ID for tracking progress.
|
|
891
|
+
* An empty filter will update all dispute evidence documents.
|
|
892
|
+
* If a tag appears in both assign and unassign lists, it will be assigned.
|
|
893
|
+
* @param filter - Filter criteria for selecting dispute evidence documents to update.
|
|
894
|
+
* Filter criteria for selecting dispute evidence documents to update.
|
|
895
|
+
*
|
|
896
|
+
* An empty filter will update all dispute evidence documents.
|
|
794
897
|
* @public
|
|
795
898
|
* @documentationMaturity preview
|
|
796
899
|
* @requiredField filter
|
|
@@ -801,9 +904,17 @@ declare function bulkUpdateDisputeEvidenceDocumentTagsByFilter(filter: Record<st
|
|
|
801
904
|
__applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors;
|
|
802
905
|
}>;
|
|
803
906
|
interface BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions {
|
|
804
|
-
/**
|
|
907
|
+
/**
|
|
908
|
+
* Tags to assign to the filtered dispute evidence documents.
|
|
909
|
+
* Tags to assign to the dispute evidence documents.
|
|
910
|
+
* Tags to assign to the filtered dispute evidence documents.
|
|
911
|
+
*/
|
|
805
912
|
assignTags?: Tags;
|
|
806
|
-
/**
|
|
913
|
+
/**
|
|
914
|
+
* Tags to remove from the filtered dispute evidence documents.
|
|
915
|
+
* Tags to remove from the dispute evidence documents.
|
|
916
|
+
* Tags to remove from the filtered dispute evidence documents.
|
|
917
|
+
*/
|
|
807
918
|
unassignTags?: Tags;
|
|
808
919
|
}
|
|
809
920
|
|