@wix/auto_sdk_payments_disputes 1.0.33 → 1.0.34

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 +59 -860
  2. package/build/cjs/index.js +63 -76
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1014 -1
  5. package/build/cjs/index.typings.js +10 -68
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +9 -25
  8. package/build/cjs/meta.js +10 -61
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +59 -860
  11. package/build/es/index.mjs +60 -74
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1014 -1
  14. package/build/es/index.typings.mjs +9 -66
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +9 -25
  17. package/build/es/meta.mjs +9 -59
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +14 -27
  20. package/build/internal/cjs/index.js +63 -76
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +87 -30
  23. package/build/internal/cjs/index.typings.js +10 -68
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +8 -25
  26. package/build/internal/cjs/meta.js +10 -61
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +14 -27
  29. package/build/internal/es/index.mjs +60 -74
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +87 -30
  32. package/build/internal/es/index.typings.mjs +9 -66
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +8 -25
  35. package/build/internal/es/meta.mjs +9 -59
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1 +1,1014 @@
1
- export { AcceptDisputeManuallyRequest, AcceptDisputeManuallyResponse, AcceptDisputeRequest, AcceptDisputeResponse, ActionEvent, ApplicationError, BulkActionMetadata, BulkUpdateDisputeTagsApplicationErrors, BulkUpdateDisputeTagsByFilterApplicationErrors, BulkUpdateDisputeTagsByFilterOptions, BulkUpdateDisputeTagsByFilterRequest, BulkUpdateDisputeTagsByFilterResponse, BulkUpdateDisputeTagsOptions, BulkUpdateDisputeTagsRequest, BulkUpdateDisputeTagsResponse, BulkUpdateDisputeTagsResult, ChangeDisputeStatusManuallyRequest, ChangeDisputeStatusManuallyResponse, CreateDisputeManuallyRequest, CreateDisputeManuallyResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DefendDisputeManuallyRequest, DefendDisputeManuallyResponse, DefendDisputeRequest, DefendDisputeResponse, Dispute, DisputeAction, DisputeActionType, DisputeActionTypeWithLiterals, DisputeChannel, DisputeChannelWithLiterals, DisputeReason, DisputeReasonWithLiterals, DisputeStage, DisputeStageWithLiterals, DisputeStatus, DisputeStatusWithLiterals, DisputesQueryBuilder, DisputesQueryResult, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetDisputeRequest, GetDisputeResponse, IdentificationData, IdentificationDataIdOneOf, InternalChangeDisputeStatusManuallyRequest, InternalChangeDisputeStatusManuallyResponse, InternalCreateDisputeManuallyRequest, InternalCreateDisputeManuallyResponse, ItemMetadata, MessageEnvelope, QueryDisputesRequest, QueryDisputesResponse, RestoreInfo, SellerProtection, SellerProtectionWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, SubmitDisputeEvidenceRequest, SubmitDisputeEvidenceResponse, TagList, Tags, TagsModified, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.mjs';
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
3
+ /** Dispute. A dispute occurs when an account owner contacts their PSP or bank to contest a payment to you for a number of possible reasons. */
4
+ interface Dispute {
5
+ /**
6
+ * Dispute ID
7
+ * @format GUID
8
+ * @immutable
9
+ */
10
+ _id?: string;
11
+ /**
12
+ * Charge ID
13
+ * @format GUID
14
+ * @immutable
15
+ */
16
+ chargeId?: string;
17
+ /**
18
+ * Provider Dispute ID
19
+ * @format GUID
20
+ * @immutable
21
+ */
22
+ providerDisputeId?: string;
23
+ /**
24
+ * Dispute stage
25
+ * @readonly
26
+ */
27
+ stage?: DisputeStageWithLiterals;
28
+ /**
29
+ * Dispute reason
30
+ * @readonly
31
+ */
32
+ reason?: DisputeReasonWithLiterals;
33
+ /**
34
+ * Dispute currency. Should be the same as the charge currency.
35
+ * @immutable
36
+ * @format CURRENCY
37
+ */
38
+ currencyCode?: string | null;
39
+ /**
40
+ * Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
41
+ * @immutable
42
+ * @decimalValue options { gt:0, maxScale:8 }
43
+ */
44
+ amount?: string | null;
45
+ /**
46
+ * Dispute status based on provider dispute status
47
+ * @readonly
48
+ */
49
+ status?: DisputeStatusWithLiterals;
50
+ /**
51
+ * Seller protection helps protect sellers from financial loss on eligible transactions due to unauthorized payments or claims that items were not received
52
+ * @readonly
53
+ */
54
+ sellerProtection?: SellerProtectionWithLiterals;
55
+ /**
56
+ * Channel through which the dispute is being processed.
57
+ * Internal disputes are handled by the payment processor, while external disputes go through the card network or issuing bank.
58
+ * @readonly
59
+ */
60
+ channel?: DisputeChannelWithLiterals;
61
+ /**
62
+ * The latest date and time until which the dispute can remain in its current status
63
+ * @readonly
64
+ */
65
+ dueDate?: Date | null;
66
+ /**
67
+ * Network reason code
68
+ * @minLength 1
69
+ * @maxLength 64
70
+ */
71
+ networkReasonCode?: string | null;
72
+ /**
73
+ * True if dispute is defendable
74
+ * @readonly
75
+ */
76
+ defendable?: boolean | null;
77
+ /**
78
+ * True if it is an auto dispute
79
+ * @readonly
80
+ */
81
+ autoDefended?: boolean | null;
82
+ /**
83
+ * The dispute defended date
84
+ * @readonly
85
+ */
86
+ defendedDate?: Date | null;
87
+ /**
88
+ * The dispute acceptance date
89
+ * @readonly
90
+ */
91
+ acceptedDate?: Date | null;
92
+ /**
93
+ * The actions that can be perform with the dispute
94
+ * @readonly
95
+ * @maxSize 20
96
+ */
97
+ actions?: DisputeAction[];
98
+ /**
99
+ * The dispute created date
100
+ * @readonly
101
+ * @immutable
102
+ */
103
+ _createdDate?: Date | null;
104
+ /**
105
+ * The dispute updated date
106
+ * @readonly
107
+ */
108
+ _updatedDate?: Date | null;
109
+ /**
110
+ * Revision number, which increments by 1 each time the Dispute is updated.
111
+ * @readonly
112
+ */
113
+ revision?: string | null;
114
+ /** Data Extensions */
115
+ extendedFields?: ExtendedFields;
116
+ /** Tags */
117
+ tags?: Tags;
118
+ }
119
+ declare enum DisputeStage {
120
+ UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
121
+ /** Chargeback */
122
+ CHARGEBACK = "CHARGEBACK",
123
+ /** Inquiry (Request for Information) */
124
+ INQUIRY = "INQUIRY"
125
+ }
126
+ /** @enumType */
127
+ type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'CHARGEBACK' | 'INQUIRY';
128
+ declare enum DisputeReason {
129
+ /** Unknown reason */
130
+ UNKNOWN_DISPUTE_REASON = "UNKNOWN_DISPUTE_REASON",
131
+ /** Fraud card */
132
+ FRAUD_CARD_PRESENT = "FRAUD_CARD_PRESENT",
133
+ /** Card absent */
134
+ FRAUD_CARD_ABSENT = "FRAUD_CARD_ABSENT",
135
+ /** DUPLICATE */
136
+ DUPLICATE_PROCESSING = "DUPLICATE_PROCESSING",
137
+ /** Service not provided */
138
+ SERVICES_NOT_PROVIDED = "SERVICES_NOT_PROVIDED",
139
+ /** Canceled Recurring */
140
+ CANCELED_RECURRING = "CANCELED_RECURRING",
141
+ /** Item not as describe */
142
+ NOT_AS_DESCRIBED = "NOT_AS_DESCRIBED",
143
+ /** Counterfeit */
144
+ COUNTERFEIT = "COUNTERFEIT",
145
+ /** Misrepresentation */
146
+ MISREPRESENTATION = "MISREPRESENTATION",
147
+ /** Canceled */
148
+ CANCELED = "CANCELED",
149
+ /** Other reason */
150
+ OTHER = "OTHER"
151
+ }
152
+ /** @enumType */
153
+ type DisputeReasonWithLiterals = DisputeReason | 'UNKNOWN_DISPUTE_REASON' | 'FRAUD_CARD_PRESENT' | 'FRAUD_CARD_ABSENT' | 'DUPLICATE_PROCESSING' | 'SERVICES_NOT_PROVIDED' | 'CANCELED_RECURRING' | 'NOT_AS_DESCRIBED' | 'COUNTERFEIT' | 'MISREPRESENTATION' | 'CANCELED' | 'OTHER';
154
+ declare enum DisputeStatus {
155
+ /** Unknown status */
156
+ UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
157
+ /** Waiting for some merchant action */
158
+ WAITING_MERCHANT = "WAITING_MERCHANT",
159
+ /** Dispute is under review by PSP or Bank */
160
+ UNDER_REVIEW = "UNDER_REVIEW",
161
+ /** Waiting for some buyer action */
162
+ WAITING_BUYER = "WAITING_BUYER",
163
+ /** Dispute won */
164
+ WON = "WON",
165
+ /** Dispute lost */
166
+ LOST = "LOST",
167
+ /** Evidence were submitted and are being processed on provider side */
168
+ PROCESSING_EVIDENCE_SUBMISSION = "PROCESSING_EVIDENCE_SUBMISSION",
169
+ /** The dispute was accepted and the acceptance is being processed on provider side */
170
+ PROCESSING_ACCEPTANCE = "PROCESSING_ACCEPTANCE"
171
+ }
172
+ /** @enumType */
173
+ type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST' | 'PROCESSING_EVIDENCE_SUBMISSION' | 'PROCESSING_ACCEPTANCE';
174
+ declare enum SellerProtection {
175
+ UNKNOWN_SELLER_PROTECTION = "UNKNOWN_SELLER_PROTECTION",
176
+ /** Not Eligible */
177
+ NOT_ELIGIBLE = "NOT_ELIGIBLE",
178
+ /** Eligible */
179
+ ELIGIBLE = "ELIGIBLE",
180
+ /** Extended seller protection */
181
+ EXTENDED = "EXTENDED"
182
+ }
183
+ /** @enumType */
184
+ type SellerProtectionWithLiterals = SellerProtection | 'UNKNOWN_SELLER_PROTECTION' | 'NOT_ELIGIBLE' | 'ELIGIBLE' | 'EXTENDED';
185
+ declare enum DisputeChannel {
186
+ UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
187
+ /** Internal, the dispute is reviewed by PSP */
188
+ INTERNAL = "INTERNAL",
189
+ /** External, the dispute is reviewed by bank (or other financial institution) */
190
+ EXTERNAL = "EXTERNAL"
191
+ }
192
+ /** @enumType */
193
+ type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
194
+ interface DisputeAction {
195
+ /** Dispute Action type */
196
+ type?: DisputeActionTypeWithLiterals;
197
+ /** The latest date and time until which the action can be performed */
198
+ dueDate?: Date | null;
199
+ }
200
+ declare enum DisputeActionType {
201
+ /** Unknown dispute status */
202
+ UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
203
+ /** Accept dispute */
204
+ ACCEPT = "ACCEPT",
205
+ /** Defend evidence */
206
+ DEFEND = "DEFEND"
207
+ }
208
+ /** @enumType */
209
+ type DisputeActionTypeWithLiterals = DisputeActionType | 'UNKNOWN_DISPUTE_ACTION' | 'ACCEPT' | 'DEFEND';
210
+ interface ExtendedFields {
211
+ /**
212
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
213
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
214
+ *
215
+ * You can only access fields for which you have the appropriate permissions.
216
+ *
217
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
218
+ */
219
+ namespaces?: Record<string, Record<string, any>>;
220
+ }
221
+ /**
222
+ * Common object for tags.
223
+ * Should be use as in this example:
224
+ * message Foo {
225
+ * option (.wix.api.decomposite_of) = "wix.commons.v2.tags.Foo";
226
+ * string id = 1;
227
+ * ...
228
+ * Tags tags = 5
229
+ * }
230
+ *
231
+ * example of taggable entity
232
+ * {
233
+ * id: "123"
234
+ * tags: {
235
+ * public_tags: {
236
+ * tag_ids:["11","22"]
237
+ * },
238
+ * private_tags: {
239
+ * tag_ids: ["33", "44"]
240
+ * }
241
+ * }
242
+ * }
243
+ */
244
+ interface Tags {
245
+ /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
246
+ privateTags?: TagList;
247
+ /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
248
+ publicTags?: TagList;
249
+ }
250
+ interface TagList {
251
+ /**
252
+ * List of tag IDs.
253
+ * @maxSize 100
254
+ * @maxLength 5
255
+ */
256
+ tagIds?: string[];
257
+ }
258
+ interface TagsModified {
259
+ /** Updated Dispute. */
260
+ dispute?: Dispute;
261
+ /** Tags that were assigned to the Dispute. */
262
+ assignedTags?: Tags;
263
+ /** Tags that were unassigned from the Dispute. */
264
+ unassignedTags?: Tags;
265
+ }
266
+ interface InternalCreateDisputeManuallyRequest {
267
+ /**
268
+ * Dispute Id
269
+ * @format GUID
270
+ */
271
+ disputeId?: string;
272
+ /**
273
+ * Charge Id
274
+ * @format GUID
275
+ */
276
+ chargeId?: string;
277
+ /** Open date */
278
+ openDate?: Date | null;
279
+ /**
280
+ * Provider Dispute Id
281
+ * @minLength 1
282
+ * @maxLength 100
283
+ */
284
+ providerDisputeId?: string;
285
+ /** Dispute stage */
286
+ stage?: DisputeStageWithLiterals;
287
+ /** Dispute reason */
288
+ reason?: DisputeReasonWithLiterals;
289
+ /** Dispute status based on provider dispute status */
290
+ status?: DisputeStatusWithLiterals;
291
+ /** The latest date and time until which the dispute can remain in its current status */
292
+ dueDate?: Date | null;
293
+ /**
294
+ * Dispute currency. Should be the same as the charge currency.
295
+ * @immutable
296
+ * @format CURRENCY
297
+ */
298
+ currencyCode?: string | null;
299
+ /**
300
+ * Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
301
+ * @immutable
302
+ * @decimalValue options { gt:0, maxScale:8 }
303
+ */
304
+ amount?: string | null;
305
+ /**
306
+ * Network reason code
307
+ * @minLength 1
308
+ * @maxLength 64
309
+ */
310
+ networkReasonCode?: string | null;
311
+ /** External or Internal */
312
+ external?: boolean | null;
313
+ /**
314
+ * Seller protection
315
+ * @minLength 1
316
+ * @maxLength 64
317
+ */
318
+ sellerProtection?: string | null;
319
+ /** Is charge refundable */
320
+ chargeRefundable?: boolean | null;
321
+ /** True if dispute is defendable */
322
+ defendable?: boolean | null;
323
+ /** True if it is an auto dispute */
324
+ autoDefended?: boolean | null;
325
+ }
326
+ interface InternalCreateDisputeManuallyResponse {
327
+ }
328
+ interface InternalChangeDisputeStatusManuallyRequest {
329
+ /**
330
+ * Dispute ID
331
+ * @format GUID
332
+ */
333
+ disputeId?: string;
334
+ /** Changed date */
335
+ changedDate?: Date | null;
336
+ /** Dispute status based on provider dispute status */
337
+ status?: DisputeStatusWithLiterals;
338
+ }
339
+ interface InternalChangeDisputeStatusManuallyResponse {
340
+ }
341
+ interface AcceptDisputeManuallyRequest {
342
+ /**
343
+ * Dispute ID
344
+ * @format GUID
345
+ */
346
+ disputeId?: string;
347
+ /** Accepted date */
348
+ acceptedDate?: Date | null;
349
+ }
350
+ interface AcceptDisputeManuallyResponse {
351
+ }
352
+ interface DefendDisputeManuallyRequest {
353
+ /**
354
+ * Dispute ID
355
+ * @format GUID
356
+ */
357
+ disputeId?: string;
358
+ /** Defense date */
359
+ defendedDate?: Date | null;
360
+ }
361
+ interface DefendDisputeManuallyResponse {
362
+ }
363
+ interface DomainEvent extends DomainEventBodyOneOf {
364
+ createdEvent?: EntityCreatedEvent;
365
+ updatedEvent?: EntityUpdatedEvent;
366
+ deletedEvent?: EntityDeletedEvent;
367
+ actionEvent?: ActionEvent;
368
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
369
+ _id?: string;
370
+ /**
371
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
372
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
373
+ */
374
+ entityFqdn?: string;
375
+ /**
376
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
377
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
378
+ */
379
+ slug?: string;
380
+ /** ID of the entity associated with the event. */
381
+ entityId?: string;
382
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
383
+ eventTime?: Date | null;
384
+ /**
385
+ * Whether the event was triggered as a result of a privacy regulation application
386
+ * (for example, GDPR).
387
+ */
388
+ triggeredByAnonymizeRequest?: boolean | null;
389
+ /** If present, indicates the action that triggered the event. */
390
+ originatedFrom?: string | null;
391
+ /**
392
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
393
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
394
+ */
395
+ entityEventSequence?: string | null;
396
+ }
397
+ /** @oneof */
398
+ interface DomainEventBodyOneOf {
399
+ createdEvent?: EntityCreatedEvent;
400
+ updatedEvent?: EntityUpdatedEvent;
401
+ deletedEvent?: EntityDeletedEvent;
402
+ actionEvent?: ActionEvent;
403
+ }
404
+ interface EntityCreatedEvent {
405
+ entity?: string;
406
+ }
407
+ interface RestoreInfo {
408
+ deletedDate?: Date | null;
409
+ }
410
+ interface EntityUpdatedEvent {
411
+ /**
412
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
413
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
414
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
415
+ */
416
+ currentEntity?: string;
417
+ }
418
+ interface EntityDeletedEvent {
419
+ /** Entity that was deleted. */
420
+ deletedEntity?: string | null;
421
+ }
422
+ interface ActionEvent {
423
+ body?: string;
424
+ }
425
+ interface MessageEnvelope {
426
+ /**
427
+ * App instance ID.
428
+ * @format GUID
429
+ */
430
+ instanceId?: string | null;
431
+ /**
432
+ * Event type.
433
+ * @maxLength 150
434
+ */
435
+ eventType?: string;
436
+ /** The identification type and identity data. */
437
+ identity?: IdentificationData;
438
+ /** Stringify payload. */
439
+ data?: string;
440
+ }
441
+ interface IdentificationData extends IdentificationDataIdOneOf {
442
+ /**
443
+ * ID of a site visitor that has not logged in to the site.
444
+ * @format GUID
445
+ */
446
+ anonymousVisitorId?: string;
447
+ /**
448
+ * ID of a site visitor that has logged in to the site.
449
+ * @format GUID
450
+ */
451
+ memberId?: string;
452
+ /**
453
+ * ID of a Wix user (site owner, contributor, etc.).
454
+ * @format GUID
455
+ */
456
+ wixUserId?: string;
457
+ /**
458
+ * ID of an app.
459
+ * @format GUID
460
+ */
461
+ appId?: string;
462
+ /** @readonly */
463
+ identityType?: WebhookIdentityTypeWithLiterals;
464
+ }
465
+ /** @oneof */
466
+ interface IdentificationDataIdOneOf {
467
+ /**
468
+ * ID of a site visitor that has not logged in to the site.
469
+ * @format GUID
470
+ */
471
+ anonymousVisitorId?: string;
472
+ /**
473
+ * ID of a site visitor that has logged in to the site.
474
+ * @format GUID
475
+ */
476
+ memberId?: string;
477
+ /**
478
+ * ID of a Wix user (site owner, contributor, etc.).
479
+ * @format GUID
480
+ */
481
+ wixUserId?: string;
482
+ /**
483
+ * ID of an app.
484
+ * @format GUID
485
+ */
486
+ appId?: string;
487
+ }
488
+ declare enum WebhookIdentityType {
489
+ UNKNOWN = "UNKNOWN",
490
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
491
+ MEMBER = "MEMBER",
492
+ WIX_USER = "WIX_USER",
493
+ APP = "APP"
494
+ }
495
+ /** @enumType */
496
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
497
+ interface GetDisputeRequest {
498
+ /**
499
+ * ID of the Dispute to retrieve.
500
+ * @format GUID
501
+ */
502
+ disputeId: string;
503
+ }
504
+ interface GetDisputeResponse {
505
+ /** The requested Dispute. */
506
+ dispute?: Dispute;
507
+ }
508
+ interface QueryDisputesRequest {
509
+ /** WQL expression. */
510
+ query?: CursorQuery;
511
+ }
512
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
513
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
514
+ cursorPaging?: CursorPaging;
515
+ /**
516
+ * Filter object in the following format:
517
+ * `"filter" : {
518
+ * "fieldName1": "value1",
519
+ * "fieldName2":{"$operator":"value2"}
520
+ * }`
521
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
522
+ */
523
+ filter?: Record<string, any> | null;
524
+ /**
525
+ * Sort object in the following format:
526
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
527
+ * @maxSize 5
528
+ */
529
+ sort?: Sorting[];
530
+ }
531
+ /** @oneof */
532
+ interface CursorQueryPagingMethodOneOf {
533
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
534
+ cursorPaging?: CursorPaging;
535
+ }
536
+ interface Sorting {
537
+ /**
538
+ * Name of the field to sort by.
539
+ * @maxLength 512
540
+ */
541
+ fieldName?: string;
542
+ /** Sort order. */
543
+ order?: SortOrderWithLiterals;
544
+ }
545
+ declare enum SortOrder {
546
+ ASC = "ASC",
547
+ DESC = "DESC"
548
+ }
549
+ /** @enumType */
550
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
551
+ interface CursorPaging {
552
+ /**
553
+ * Maximum number of items to return in the results.
554
+ * @max 100
555
+ */
556
+ limit?: number | null;
557
+ /**
558
+ * Pointer to the next or previous page in the list of results.
559
+ *
560
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
561
+ * Not relevant for the first request.
562
+ * @maxLength 16000
563
+ */
564
+ cursor?: string | null;
565
+ }
566
+ interface QueryDisputesResponse {
567
+ /** List of Disputes. */
568
+ disputes?: Dispute[];
569
+ /** Paging metadata */
570
+ pagingMetadata?: CursorPagingMetadata;
571
+ }
572
+ interface CursorPagingMetadata {
573
+ /** Number of items returned in the response. */
574
+ count?: number | null;
575
+ /** Cursor strings that point to the next page, previous page, or both. */
576
+ cursors?: Cursors;
577
+ /**
578
+ * Whether there are more pages to retrieve following the current page.
579
+ *
580
+ * + `true`: Another page of results can be retrieved.
581
+ * + `false`: This is the last page.
582
+ */
583
+ hasNext?: boolean | null;
584
+ }
585
+ interface Cursors {
586
+ /**
587
+ * Cursor string pointing to the next page in the list of results.
588
+ * @maxLength 16000
589
+ */
590
+ next?: string | null;
591
+ /**
592
+ * Cursor pointing to the previous page in the list of results.
593
+ * @maxLength 16000
594
+ */
595
+ prev?: string | null;
596
+ }
597
+ interface AcceptDisputeRequest {
598
+ /**
599
+ * Dispute ID
600
+ * @format GUID
601
+ */
602
+ disputeId: string;
603
+ }
604
+ interface AcceptDisputeResponse {
605
+ /** Dispute */
606
+ dispute?: Dispute;
607
+ }
608
+ interface DefendDisputeRequest {
609
+ /**
610
+ * Dispute ID
611
+ * @format GUID
612
+ */
613
+ disputeId: string;
614
+ }
615
+ interface DefendDisputeResponse {
616
+ /** Dispute */
617
+ dispute?: Dispute;
618
+ }
619
+ interface SubmitDisputeEvidenceRequest {
620
+ /**
621
+ * Dispute ID
622
+ * @format GUID
623
+ */
624
+ disputeId?: string;
625
+ }
626
+ interface SubmitDisputeEvidenceResponse {
627
+ /** Dispute */
628
+ dispute?: Dispute;
629
+ }
630
+ interface CreateDisputeManuallyRequest {
631
+ /**
632
+ * Dispute Id
633
+ * @format GUID
634
+ */
635
+ disputeId?: string;
636
+ /**
637
+ * Charge Id
638
+ * @format GUID
639
+ */
640
+ chargeId?: string;
641
+ /** Open date */
642
+ openDate?: Date | null;
643
+ /**
644
+ * Provider Dispute Id
645
+ * @minLength 1
646
+ * @maxLength 100
647
+ */
648
+ providerDisputeId?: string;
649
+ /** Dispute stage */
650
+ stage?: DisputeStageWithLiterals;
651
+ /** Dispute reason */
652
+ reason?: DisputeReasonWithLiterals;
653
+ /** Dispute status based on provider dispute status */
654
+ status?: DisputeStatusWithLiterals;
655
+ /** The latest date and time until which the dispute can remain in its current status */
656
+ dueDate?: Date | null;
657
+ /**
658
+ * Dispute currency. Should be the same as the charge currency.
659
+ * @immutable
660
+ * @format CURRENCY
661
+ */
662
+ currencyCode?: string | null;
663
+ /**
664
+ * Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
665
+ * @immutable
666
+ * @decimalValue options { gt:0, maxScale:8 }
667
+ */
668
+ amount?: string | null;
669
+ /**
670
+ * Network reason code
671
+ * @minLength 1
672
+ * @maxLength 64
673
+ */
674
+ networkReasonCode?: string | null;
675
+ /** External or Internal */
676
+ external?: boolean | null;
677
+ /**
678
+ * Seller protection
679
+ * @minLength 1
680
+ * @maxLength 64
681
+ */
682
+ sellerProtection?: string | null;
683
+ /** Is charge refundable */
684
+ chargeRefundable?: boolean | null;
685
+ /** True if dispute is defendable */
686
+ defendable?: boolean | null;
687
+ /** True if it is an auto dispute */
688
+ autoDefended?: boolean | null;
689
+ }
690
+ interface CreateDisputeManuallyResponse {
691
+ }
692
+ interface ChangeDisputeStatusManuallyRequest {
693
+ /**
694
+ * Dispute ID
695
+ * @format GUID
696
+ */
697
+ disputeId?: string;
698
+ /** Changed date */
699
+ changedDate?: Date | null;
700
+ /** Dispute status based on provider dispute status */
701
+ status?: DisputeStatusWithLiterals;
702
+ }
703
+ interface ChangeDisputeStatusManuallyResponse {
704
+ }
705
+ interface BulkUpdateDisputeTagsRequest {
706
+ /**
707
+ * List of NileProtoTagsEntities that their tags will update.
708
+ * @minSize 1
709
+ * @maxSize 100
710
+ * @format GUID
711
+ */
712
+ ids: string[];
713
+ /** List of Tags to assign */
714
+ assignTags?: Tags;
715
+ /** List of Tags to unAssign */
716
+ unassignTags?: Tags;
717
+ }
718
+ interface BulkUpdateDisputeTagsResponse {
719
+ /**
720
+ * Results
721
+ * @minSize 1
722
+ * @maxSize 100
723
+ */
724
+ results?: BulkUpdateDisputeTagsResult[];
725
+ /** Metadata regarding the bulk update operation */
726
+ bulkActionMetadata?: BulkActionMetadata;
727
+ }
728
+ interface ItemMetadata {
729
+ /**
730
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
731
+ * @format GUID
732
+ */
733
+ _id?: string | null;
734
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
735
+ originalIndex?: number;
736
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
737
+ success?: boolean;
738
+ /** Details about the error in case of failure. */
739
+ error?: ApplicationError;
740
+ }
741
+ interface ApplicationError {
742
+ /** Error code. */
743
+ code?: string;
744
+ /** Description of the error. */
745
+ description?: string;
746
+ /** Data related to the error. */
747
+ data?: Record<string, any> | null;
748
+ }
749
+ interface BulkUpdateDisputeTagsResult {
750
+ /** Metadata regarding the specific single update operation */
751
+ itemMetadata?: ItemMetadata;
752
+ }
753
+ interface BulkActionMetadata {
754
+ /** Number of items that were successfully processed. */
755
+ totalSuccesses?: number;
756
+ /** Number of items that couldn't be processed. */
757
+ totalFailures?: number;
758
+ /** Number of failures without details because detailed failure threshold was exceeded. */
759
+ undetailedFailures?: number;
760
+ }
761
+ interface BulkUpdateDisputeTagsByFilterRequest {
762
+ /** Filter */
763
+ filter: Record<string, any> | null;
764
+ /** List of Tags to assign */
765
+ assignTags?: Tags;
766
+ /** List of Tags to unAssign */
767
+ unassignTags?: Tags;
768
+ }
769
+ interface BulkUpdateDisputeTagsByFilterResponse {
770
+ /**
771
+ * Pass this ID to Get Async Job
772
+ * @format GUID
773
+ */
774
+ jobId?: string;
775
+ }
776
+ /** @docsIgnore */
777
+ type BulkUpdateDisputeTagsApplicationErrors = {
778
+ code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
779
+ description?: string;
780
+ data?: Record<string, any>;
781
+ };
782
+ /** @docsIgnore */
783
+ type BulkUpdateDisputeTagsByFilterApplicationErrors = {
784
+ code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
785
+ description?: string;
786
+ data?: Record<string, any>;
787
+ };
788
+ interface BaseEventMetadata {
789
+ /**
790
+ * App instance ID.
791
+ * @format GUID
792
+ */
793
+ instanceId?: string | null;
794
+ /**
795
+ * Event type.
796
+ * @maxLength 150
797
+ */
798
+ eventType?: string;
799
+ /** The identification type and identity data. */
800
+ identity?: IdentificationData;
801
+ }
802
+ interface EventMetadata extends BaseEventMetadata {
803
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
804
+ _id?: string;
805
+ /**
806
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
807
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
808
+ */
809
+ entityFqdn?: string;
810
+ /**
811
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
812
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
813
+ */
814
+ slug?: string;
815
+ /** ID of the entity associated with the event. */
816
+ entityId?: string;
817
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
818
+ eventTime?: Date | null;
819
+ /**
820
+ * Whether the event was triggered as a result of a privacy regulation application
821
+ * (for example, GDPR).
822
+ */
823
+ triggeredByAnonymizeRequest?: boolean | null;
824
+ /** If present, indicates the action that triggered the event. */
825
+ originatedFrom?: string | null;
826
+ /**
827
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
828
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
829
+ */
830
+ entityEventSequence?: string | null;
831
+ }
832
+ interface DisputeCreatedEnvelope {
833
+ entity: Dispute;
834
+ metadata: EventMetadata;
835
+ }
836
+ /**
837
+ * Fired when a new Dispute is created.
838
+ * @permissionId PAYMENTS.DISPUTE_READ
839
+ * @webhook
840
+ * @eventType wix.payments.disputes.v1.dispute_created
841
+ * @slug created
842
+ * @documentationMaturity preview
843
+ */
844
+ declare function onDisputeCreated(handler: (event: DisputeCreatedEnvelope) => void | Promise<void>): void;
845
+ interface DisputeUpdatedEnvelope {
846
+ entity: Dispute;
847
+ metadata: EventMetadata;
848
+ }
849
+ /**
850
+ * Fired when a Dispute is updated.
851
+ * @permissionId PAYMENTS.DISPUTE_READ
852
+ * @webhook
853
+ * @eventType wix.payments.disputes.v1.dispute_updated
854
+ * @slug updated
855
+ * @documentationMaturity preview
856
+ */
857
+ declare function onDisputeUpdated(handler: (event: DisputeUpdatedEnvelope) => void | Promise<void>): void;
858
+ /**
859
+ * Get Dispute by ID
860
+ * @param disputeId - ID of the Dispute to retrieve.
861
+ * @public
862
+ * @documentationMaturity preview
863
+ * @requiredField disputeId
864
+ * @permissionId PAYMENTS.DISPUTE_READ
865
+ * @returns The requested Dispute.
866
+ * @fqn wix.payments.disputes.v1.DisputeService.GetDispute
867
+ */
868
+ declare function getDispute(disputeId: string): Promise<NonNullablePaths<Dispute, `_id` | `chargeId` | `providerDisputeId` | `stage` | `reason` | `status` | `sellerProtection` | `channel` | `actions` | `actions.${number}.type` | `tags.privateTags.tagIds`, 4>>;
869
+ /**
870
+ * Retrieves a list of Disputes
871
+ * @public
872
+ * @documentationMaturity preview
873
+ * @permissionId PAYMENTS.DISPUTE_READ
874
+ * @fqn wix.payments.disputes.v1.DisputeService.QueryDisputes
875
+ */
876
+ declare function queryDisputes(): DisputesQueryBuilder;
877
+ interface QueryCursorResult {
878
+ cursors: Cursors;
879
+ hasNext: () => boolean;
880
+ hasPrev: () => boolean;
881
+ length: number;
882
+ pageSize: number;
883
+ }
884
+ interface DisputesQueryResult extends QueryCursorResult {
885
+ items: Dispute[];
886
+ query: DisputesQueryBuilder;
887
+ next: () => Promise<DisputesQueryResult>;
888
+ prev: () => Promise<DisputesQueryResult>;
889
+ }
890
+ interface DisputesQueryBuilder {
891
+ /** @param propertyName - Property whose value is compared with `value`.
892
+ * @param value - Value to compare against.
893
+ * @documentationMaturity preview
894
+ */
895
+ eq: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: any) => DisputesQueryBuilder;
896
+ /** @param propertyName - Property whose value is compared with `value`.
897
+ * @param value - Value to compare against.
898
+ * @documentationMaturity preview
899
+ */
900
+ ne: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: any) => DisputesQueryBuilder;
901
+ /** @param propertyName - Property whose value is compared with `value`.
902
+ * @param value - Value to compare against.
903
+ * @documentationMaturity preview
904
+ */
905
+ ge: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: any) => DisputesQueryBuilder;
906
+ /** @param propertyName - Property whose value is compared with `value`.
907
+ * @param value - Value to compare against.
908
+ * @documentationMaturity preview
909
+ */
910
+ gt: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: any) => DisputesQueryBuilder;
911
+ /** @param propertyName - Property whose value is compared with `value`.
912
+ * @param value - Value to compare against.
913
+ * @documentationMaturity preview
914
+ */
915
+ le: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: any) => DisputesQueryBuilder;
916
+ /** @param propertyName - Property whose value is compared with `value`.
917
+ * @param value - Value to compare against.
918
+ * @documentationMaturity preview
919
+ */
920
+ lt: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: any) => DisputesQueryBuilder;
921
+ /** @param propertyName - Property whose value is compared with `string`.
922
+ * @param string - String to compare against. Case-insensitive.
923
+ * @documentationMaturity preview
924
+ */
925
+ startsWith: (propertyName: '_id', value: string) => DisputesQueryBuilder;
926
+ /** @param propertyName - Property whose value is compared with `values`.
927
+ * @param values - List of values to compare against.
928
+ * @documentationMaturity preview
929
+ */
930
+ hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: any[]) => DisputesQueryBuilder;
931
+ /** @documentationMaturity preview */
932
+ in: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: any) => DisputesQueryBuilder;
933
+ /** @documentationMaturity preview */
934
+ exists: (propertyName: '_id' | '_createdDate' | '_updatedDate', value: boolean) => DisputesQueryBuilder;
935
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
936
+ * @documentationMaturity preview
937
+ */
938
+ ascending: (...propertyNames: Array<'_createdDate' | '_updatedDate'>) => DisputesQueryBuilder;
939
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
940
+ * @documentationMaturity preview
941
+ */
942
+ descending: (...propertyNames: Array<'_createdDate' | '_updatedDate'>) => DisputesQueryBuilder;
943
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
944
+ * @documentationMaturity preview
945
+ */
946
+ limit: (limit: number) => DisputesQueryBuilder;
947
+ /** @param cursor - A pointer to specific record
948
+ * @documentationMaturity preview
949
+ */
950
+ skipTo: (cursor: string) => DisputesQueryBuilder;
951
+ /** @documentationMaturity preview */
952
+ find: () => Promise<DisputesQueryResult>;
953
+ }
954
+ /**
955
+ * Accept Dispute
956
+ * @param disputeId - Dispute ID
957
+ * @public
958
+ * @documentationMaturity preview
959
+ * @requiredField disputeId
960
+ * @permissionId PAYMENTS.DISPUTE_ACCEPT
961
+ * @fqn wix.payments.disputes.v1.DisputeService.AcceptDispute
962
+ */
963
+ declare function acceptDispute(disputeId: string): Promise<NonNullablePaths<AcceptDisputeResponse, `dispute._id` | `dispute.chargeId` | `dispute.providerDisputeId` | `dispute.stage` | `dispute.reason` | `dispute.status` | `dispute.sellerProtection` | `dispute.channel` | `dispute.actions` | `dispute.actions.${number}.type` | `dispute.tags.privateTags.tagIds`, 5>>;
964
+ /**
965
+ * Defend Dispute
966
+ * @param disputeId - Dispute ID
967
+ * @public
968
+ * @documentationMaturity preview
969
+ * @requiredField disputeId
970
+ * @permissionId PAYMENTS.DISPUTE_DEFEND
971
+ * @fqn wix.payments.disputes.v1.DisputeService.DefendDispute
972
+ */
973
+ declare function defendDispute(disputeId: string): Promise<NonNullablePaths<DefendDisputeResponse, `dispute._id` | `dispute.chargeId` | `dispute.providerDisputeId` | `dispute.stage` | `dispute.reason` | `dispute.status` | `dispute.sellerProtection` | `dispute.channel` | `dispute.actions` | `dispute.actions.${number}.type` | `dispute.tags.privateTags.tagIds`, 5>>;
974
+ /**
975
+ * Synchronously update tags on multiple Disputes, by list of Disputes ids
976
+ * A tag that appears both in the list of assign and unassign tags, will be assigned
977
+ * @param ids - List of NileProtoTagsEntities that their tags will update.
978
+ * @public
979
+ * @documentationMaturity preview
980
+ * @requiredField ids
981
+ * @permissionId PAYMENTS.DISPUTE_UPDATE_TAGS
982
+ * @fqn wix.payments.disputes.v1.DisputeService.BulkUpdateDisputeTags
983
+ */
984
+ declare function bulkUpdateDisputeTags(ids: string[], options?: BulkUpdateDisputeTagsOptions): Promise<NonNullablePaths<BulkUpdateDisputeTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
985
+ __applicationErrorsType?: BulkUpdateDisputeTagsApplicationErrors;
986
+ }>;
987
+ interface BulkUpdateDisputeTagsOptions {
988
+ /** List of Tags to assign */
989
+ assignTags?: Tags;
990
+ /** List of Tags to unAssign */
991
+ unassignTags?: Tags;
992
+ }
993
+ /**
994
+ * Asynchronously update tags on multiple Disputes, by provided filter
995
+ * An empty filter will update all Disputes
996
+ * A tag that appears both in the list of assign and unassign tags, will be assigned
997
+ * @param filter - Filter
998
+ * @public
999
+ * @documentationMaturity preview
1000
+ * @requiredField filter
1001
+ * @permissionId PAYMENTS.DISPUTE_UPDATE_TAGS
1002
+ * @fqn wix.payments.disputes.v1.DisputeService.BulkUpdateDisputeTagsByFilter
1003
+ */
1004
+ declare function bulkUpdateDisputeTagsByFilter(filter: Record<string, any>, options?: BulkUpdateDisputeTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateDisputeTagsByFilterResponse, `jobId`, 2> & {
1005
+ __applicationErrorsType?: BulkUpdateDisputeTagsByFilterApplicationErrors;
1006
+ }>;
1007
+ interface BulkUpdateDisputeTagsByFilterOptions {
1008
+ /** List of Tags to assign */
1009
+ assignTags?: Tags;
1010
+ /** List of Tags to unAssign */
1011
+ unassignTags?: Tags;
1012
+ }
1013
+
1014
+ export { type AcceptDisputeManuallyRequest, type AcceptDisputeManuallyResponse, type AcceptDisputeRequest, type AcceptDisputeResponse, type ActionEvent, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkUpdateDisputeTagsApplicationErrors, type BulkUpdateDisputeTagsByFilterApplicationErrors, type BulkUpdateDisputeTagsByFilterOptions, type BulkUpdateDisputeTagsByFilterRequest, type BulkUpdateDisputeTagsByFilterResponse, type BulkUpdateDisputeTagsOptions, type BulkUpdateDisputeTagsRequest, type BulkUpdateDisputeTagsResponse, type BulkUpdateDisputeTagsResult, type ChangeDisputeStatusManuallyRequest, type ChangeDisputeStatusManuallyResponse, type CreateDisputeManuallyRequest, type CreateDisputeManuallyResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DefendDisputeManuallyRequest, type DefendDisputeManuallyResponse, type DefendDisputeRequest, type DefendDisputeResponse, type Dispute, type DisputeAction, DisputeActionType, type DisputeActionTypeWithLiterals, DisputeChannel, type DisputeChannelWithLiterals, type DisputeCreatedEnvelope, DisputeReason, type DisputeReasonWithLiterals, DisputeStage, type DisputeStageWithLiterals, DisputeStatus, type DisputeStatusWithLiterals, type DisputeUpdatedEnvelope, type DisputesQueryBuilder, type DisputesQueryResult, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GetDisputeRequest, type GetDisputeResponse, type IdentificationData, type IdentificationDataIdOneOf, type InternalChangeDisputeStatusManuallyRequest, type InternalChangeDisputeStatusManuallyResponse, type InternalCreateDisputeManuallyRequest, type InternalCreateDisputeManuallyResponse, type ItemMetadata, type MessageEnvelope, type QueryDisputesRequest, type QueryDisputesResponse, type RestoreInfo, SellerProtection, type SellerProtectionWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, type SubmitDisputeEvidenceRequest, type SubmitDisputeEvidenceResponse, type TagList, type Tags, type TagsModified, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, defendDispute, getDispute, onDisputeCreated, onDisputeUpdated, queryDisputes };