@wix/auto_sdk_payments_dispute-evidence-documents 1.0.31 → 1.0.33

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +40 -18
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +185 -74
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +101 -32
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +40 -18
  11. package/build/es/index.mjs +18 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +185 -74
  14. package/build/es/index.typings.mjs +18 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +101 -32
  17. package/build/es/meta.mjs +18 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +40 -18
  20. package/build/internal/cjs/index.js +18 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +185 -74
  23. package/build/internal/cjs/index.typings.js +18 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +101 -32
  26. package/build/internal/cjs/meta.js +18 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +40 -18
  29. package/build/internal/es/index.mjs +18 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +185 -74
  32. package/build/internal/es/index.typings.mjs +18 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +101 -32
  35. package/build/internal/es/meta.mjs +18 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,64 +1,76 @@
1
1
  import { NonNullablePaths } from '@wix/sdk-types';
2
2
 
3
- /** Dispute Evidence Document */
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
- * DisputeEvidenceDocument ID.
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 DisputeEvidenceDocument was created.
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 DisputeEvidenceDocument was last updated.
30
+ * Date and time the dispute evidence document was updated.
26
31
  * @readonly
27
32
  */
28
33
  _updatedDate?: Date | null;
29
34
  /**
30
- * Dispute ID
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
- * Document evidence file if it was uploaded and attached
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
- /** Tags */
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
- * Document filename.
62
+ * Name of the uploaded evidence file.
51
63
  * @readonly
52
64
  * @maxLength 255
53
65
  */
54
66
  filename?: string | null;
55
67
  /**
56
- * Document size in bytes.
68
+ * Size of the uploaded evidence file in bytes.
57
69
  * @readonly
58
70
  */
59
71
  size?: string | null;
60
72
  /**
61
- * Hexadecimal representation of the document's digest.
73
+ * Hexadecimal checksum of the uploaded file for integrity verification.
62
74
  * @minLength 32
63
75
  * @maxLength 256
64
76
  * @readonly
@@ -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
- /** Updated DisputeEvidenceDocument. */
133
+ /** Dispute evidence document with the updated tags. */
118
134
  disputeEvidenceDocument?: DisputeEvidenceDocument;
119
- /** Tags that were assigned to the DisputeEvidenceDocument. */
135
+ /** Tags that were newly assigned to the dispute evidence document. */
120
136
  assignedTags?: Tags;
121
- /** Tags that were unassigned from the DisputeEvidenceDocument. */
137
+ /** Tags that were unassigned from the dispute evidence document. */
122
138
  unassignedTags?: Tags;
123
139
  }
124
140
  interface CreateDisputeEvidenceDocumentRequest {
125
- /** DisputeEvidenceDocument to be created. */
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
- /** The created DisputeEvidenceDocument. */
149
+ /** Created dispute evidence document. */
130
150
  disputeEvidenceDocument?: DisputeEvidenceDocument;
131
151
  /**
132
- * Upload URL to upload file evidence
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 DisputeEvidenceDocument to retrieve.
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
- /** The requested DisputeEvidenceDocument. */
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
- * Id of the DisputeEvidenceDocument to delete.
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
- /** WQL expression. */
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
- /** List of DisputeEvidenceDocuments. */
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
- /** Paging metadata */
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
- * List of NileProtoTagsEntities that their tags will update.
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
- /** List of Tags to assign */
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
- /** List of Tags to unAssign */
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
- /** Metadata regarding the bulk update operation */
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
- /** Metadata regarding the specific single update operation */
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
- /** Filter */
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
- /** List of Tags to assign */
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
- /** List of Tags to unAssign */
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
- * Pass this ID to Get Async Job
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
- * Dispute Id
392
+ * ID of the dispute.
320
393
  * @format GUID
321
394
  */
322
395
  disputeId?: string;
323
396
  /**
324
- * Evidence Id
397
+ * ID of the evidence being migrated.
325
398
  * @format GUID
326
399
  */
327
400
  evidenceId?: string;
328
401
  /**
329
- * External evidence document Id
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
- * File hash
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
- /** Created date */
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
- * Dispute Id
420
+ * ID of the dispute.
348
421
  * @format GUID
349
422
  */
350
423
  disputeId?: string;
351
424
  /**
352
- * Evidence Id
425
+ * ID of the migrated evidence document.
353
426
  * @format GUID
354
427
  */
355
428
  evidenceId?: string;
356
- /** Submitted date */
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
- * Dispute Evidence Document ID
436
+ * ID of the dispute evidence document.
364
437
  * @format GUID
365
438
  */
366
439
  disputeEvidenceDocumentId?: string;
367
440
  /**
368
- * Name of the uploaded file
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
- * Evidence Document upload URL
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
- * Dispute Evidence Document ID
456
+ * ID of the dispute evidence document.
384
457
  * @format GUID
385
458
  */
386
459
  disputeEvidenceDocumentId?: string;
387
460
  }
388
461
  interface AttachDisputeEvidenceDocumentFileResponse {
389
- /** Dispute Evidence Document */
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 DisputeEvidenceDocument to generate Download Url.
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
- * Document source URL.
476
+ * URL for downloading the evidence document file.
404
477
  * @format WEB_URL
405
478
  */
406
479
  url?: string | null;
407
- /** Document source URL expiration date (when relevant). */
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
- * Id of the DisputeEvidenceDocument to mark as submitted.
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 DisputeEvidenceDocument.
652
- * @param disputeEvidenceDocument - DisputeEvidenceDocument to be created.
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 The created DisputeEvidenceDocument.
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, `_id` | `disputeId` | `tags.privateTags.tagIds`, 4>>;
739
+ declare function createDisputeEvidenceDocument(disputeEvidenceDocument: NonNullablePaths<DisputeEvidenceDocument, `disputeId`, 2>): Promise<NonNullablePaths<DisputeEvidenceDocument, `disputeId` | `tags.privateTags.tagIds`, 4>>;
662
740
  /**
663
- * Retrieves a DisputeEvidenceDocument.
664
- * @param disputeEvidenceDocumentId - ID of the DisputeEvidenceDocument to retrieve.
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 The requested DisputeEvidenceDocument.
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, `_id` | `disputeId` | `tags.privateTags.tagIds`, 4>>;
752
+ declare function getDisputeEvidenceDocument(disputeEvidenceDocumentId: string): Promise<NonNullablePaths<DisputeEvidenceDocument, `disputeId` | `tags.privateTags.tagIds`, 4>>;
673
753
  /**
674
- * Deletes a DisputeEvidenceDocument.
675
- * @param disputeEvidenceDocumentId - Id of the DisputeEvidenceDocument to delete.
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 DisputeEvidenceDocuments, given the provided [paging, filtering, and sorting][1].
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
- * Synchronously update tags on multiple dispute evidence documents, by list of dispute evidence document ids
772
- * A tag that appears both in the list of assign and unassign tags, will be assigned
773
- * @param ids - List of NileProtoTagsEntities that their tags will update.
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
- /** List of Tags to assign */
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
- /** List of Tags to unAssign */
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
- * Asynchronously update tags on multiple dispute evidence documents, by provided filter.
791
- * An empty filter will update all dispute evidence documents
792
- * A tag that appears both in the list of assign and unassign tags, will be assigned
793
- * @param filter - Filter
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
- /** List of Tags to assign */
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
- /** List of Tags to unAssign */
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
 
@@ -64,6 +64,9 @@ function createDisputeEvidenceDocument(payload) {
64
64
  method: "POST",
65
65
  methodFqn: "wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.CreateDisputeEvidenceDocument",
66
66
  packageName: PACKAGE_NAME,
67
+ migrationOptions: {
68
+ optInTransformResponse: true
69
+ },
67
70
  url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(
68
71
  {
69
72
  protoPath: "/v1/dispute-evidence-documents",
@@ -94,6 +97,9 @@ function getDisputeEvidenceDocument(payload) {
94
97
  method: "GET",
95
98
  methodFqn: "wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.GetDisputeEvidenceDocument",
96
99
  packageName: PACKAGE_NAME,
100
+ migrationOptions: {
101
+ optInTransformResponse: true
102
+ },
97
103
  url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(
98
104
  {
99
105
  protoPath: "/v1/dispute-evidence-documents/{disputeEvidenceDocumentId}",
@@ -124,6 +130,9 @@ function deleteDisputeEvidenceDocument(payload) {
124
130
  method: "DELETE",
125
131
  methodFqn: "wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.DeleteDisputeEvidenceDocument",
126
132
  packageName: PACKAGE_NAME,
133
+ migrationOptions: {
134
+ optInTransformResponse: true
135
+ },
127
136
  url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(
128
137
  {
129
138
  protoPath: "/v1/dispute-evidence-documents/{disputeEvidenceDocumentId}",
@@ -144,6 +153,9 @@ function queryDisputeEvidenceDocuments(payload) {
144
153
  method: "GET",
145
154
  methodFqn: "wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.QueryDisputeEvidenceDocuments",
146
155
  packageName: PACKAGE_NAME,
156
+ migrationOptions: {
157
+ optInTransformResponse: true
158
+ },
147
159
  url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(
148
160
  {
149
161
  protoPath: "/v1/dispute-evidence-documents/query",
@@ -187,6 +199,9 @@ function bulkUpdateDisputeEvidenceDocumentTags(payload) {
187
199
  method: "POST",
188
200
  methodFqn: "wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTags",
189
201
  packageName: PACKAGE_NAME,
202
+ migrationOptions: {
203
+ optInTransformResponse: true
204
+ },
190
205
  url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(
191
206
  {
192
207
  protoPath: "/v1/bulk/dispute-evidence-documents/update-tags",
@@ -207,6 +222,9 @@ function bulkUpdateDisputeEvidenceDocumentTagsByFilter(payload) {
207
222
  method: "POST",
208
223
  methodFqn: "wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTagsByFilter",
209
224
  packageName: PACKAGE_NAME,
225
+ migrationOptions: {
226
+ optInTransformResponse: true
227
+ },
210
228
  url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(
211
229
  {
212
230
  protoPath: "/v1/bulk/dispute-evidence-documents/update-tags-by-filter",