@wix/auto_sdk_payments_disputes 1.0.6 → 1.0.8

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 (128) hide show
  1. package/build/{cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.mts} +125 -113
  2. package/build/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.ts} +125 -113
  3. package/build/index.js +588 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +550 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +87 -0
  8. package/build/internal/index.d.ts +87 -0
  9. package/build/internal/index.js +588 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +550 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/{es/src/payments-disputes-v1-dispute-disputes.types.d.ts → internal/meta.d.mts} +68 -240
  14. package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +68 -240
  15. package/build/internal/meta.js +366 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +333 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.mts} +125 -185
  20. package/build/internal/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.ts} +125 -185
  21. package/build/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.mts} +68 -240
  22. package/build/{internal/es/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +68 -240
  23. package/build/meta.js +366 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +333 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/package.json +13 -12
  28. package/build/cjs/index.d.ts +0 -1
  29. package/build/cjs/index.js +0 -18
  30. package/build/cjs/index.js.map +0 -1
  31. package/build/cjs/index.typings.d.ts +0 -1
  32. package/build/cjs/index.typings.js +0 -18
  33. package/build/cjs/index.typings.js.map +0 -1
  34. package/build/cjs/meta.d.ts +0 -1
  35. package/build/cjs/meta.js +0 -18
  36. package/build/cjs/meta.js.map +0 -1
  37. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -2
  38. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.js +0 -29
  39. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  40. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  41. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.js +0 -217
  42. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  43. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  44. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +0 -161
  45. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  46. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -4
  47. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.js +0 -64
  48. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  49. package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.js +0 -94
  50. package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  51. package/build/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +0 -386
  52. package/build/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
  53. package/build/es/index.d.ts +0 -1
  54. package/build/es/index.js +0 -2
  55. package/build/es/index.js.map +0 -1
  56. package/build/es/index.typings.d.ts +0 -1
  57. package/build/es/index.typings.js +0 -2
  58. package/build/es/index.typings.js.map +0 -1
  59. package/build/es/meta.d.ts +0 -1
  60. package/build/es/meta.js +0 -2
  61. package/build/es/meta.js.map +0 -1
  62. package/build/es/package.json +0 -3
  63. package/build/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -2
  64. package/build/es/src/payments-disputes-v1-dispute-disputes.context.js +0 -18
  65. package/build/es/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  66. package/build/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  67. package/build/es/src/payments-disputes-v1-dispute-disputes.http.js +0 -207
  68. package/build/es/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  69. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  70. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js +0 -128
  71. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  72. package/build/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -4
  73. package/build/es/src/payments-disputes-v1-dispute-disputes.public.js +0 -46
  74. package/build/es/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  75. package/build/es/src/payments-disputes-v1-dispute-disputes.types.js +0 -91
  76. package/build/es/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  77. package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js +0 -353
  78. package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
  79. package/build/internal/cjs/index.d.ts +0 -1
  80. package/build/internal/cjs/index.js +0 -18
  81. package/build/internal/cjs/index.js.map +0 -1
  82. package/build/internal/cjs/index.typings.d.ts +0 -1
  83. package/build/internal/cjs/index.typings.js +0 -18
  84. package/build/internal/cjs/index.typings.js.map +0 -1
  85. package/build/internal/cjs/meta.d.ts +0 -1
  86. package/build/internal/cjs/meta.js +0 -18
  87. package/build/internal/cjs/meta.js.map +0 -1
  88. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -18
  89. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js +0 -29
  90. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  91. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  92. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js +0 -217
  93. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  94. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  95. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +0 -161
  96. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  97. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -72
  98. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js +0 -64
  99. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  100. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js +0 -94
  101. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  102. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +0 -386
  103. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
  104. package/build/internal/es/index.d.ts +0 -1
  105. package/build/internal/es/index.js +0 -2
  106. package/build/internal/es/index.js.map +0 -1
  107. package/build/internal/es/index.typings.d.ts +0 -1
  108. package/build/internal/es/index.typings.js +0 -2
  109. package/build/internal/es/index.typings.js.map +0 -1
  110. package/build/internal/es/meta.d.ts +0 -1
  111. package/build/internal/es/meta.js +0 -2
  112. package/build/internal/es/meta.js.map +0 -1
  113. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -18
  114. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js +0 -18
  115. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  116. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  117. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js +0 -207
  118. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  119. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  120. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js +0 -128
  121. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  122. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -72
  123. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js +0 -46
  124. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  125. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js +0 -91
  126. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  127. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js +0 -353
  128. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /** 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. */
2
- export interface Dispute {
2
+ interface Dispute {
3
3
  /**
4
4
  * Dispute ID
5
5
  * @format GUID
@@ -78,7 +78,7 @@ export interface Dispute {
78
78
  /** Tags */
79
79
  tags?: PublicTags;
80
80
  }
81
- export declare enum DisputeStage {
81
+ declare enum DisputeStage {
82
82
  UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
83
83
  /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
84
84
  NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
@@ -87,7 +87,7 @@ export declare enum DisputeStage {
87
87
  /** Chargeback */
88
88
  CHARGEBACK = "CHARGEBACK"
89
89
  }
90
- export declare enum DisputeReason {
90
+ declare enum DisputeReason {
91
91
  /** Unknown reason */
92
92
  UNKNOWN_DISPUTE_REASON = "UNKNOWN_DISPUTE_REASON",
93
93
  /** Fraud card */
@@ -111,7 +111,7 @@ export declare enum DisputeReason {
111
111
  /** Other reason */
112
112
  OTHER = "OTHER"
113
113
  }
114
- export declare enum DisputeStatus {
114
+ declare enum DisputeStatus {
115
115
  /** Unknown status */
116
116
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
117
117
  /** Waiting for some merchant action */
@@ -125,7 +125,7 @@ export declare enum DisputeStatus {
125
125
  /** Dispute lost */
126
126
  LOST = "LOST"
127
127
  }
128
- export declare enum SellerProtection {
128
+ declare enum SellerProtection {
129
129
  UNKNOWN_SELLER_PROTECTION = "UNKNOWN_SELLER_PROTECTION",
130
130
  /** Not Eligible */
131
131
  NOT_ELIGIBLE = "NOT_ELIGIBLE",
@@ -134,14 +134,14 @@ export declare enum SellerProtection {
134
134
  /** Extended seller protection */
135
135
  EXTENDED = "EXTENDED"
136
136
  }
137
- export declare enum DisputeChannel {
137
+ declare enum DisputeChannel {
138
138
  UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
139
139
  /** Internal, the dispute is reviewed by PSP */
140
140
  INTERNAL = "INTERNAL",
141
141
  /** External, the dispute is reviewed by bank (or other financial institution) */
142
142
  EXTERNAL = "EXTERNAL"
143
143
  }
144
- export interface ExtendedFields {
144
+ interface ExtendedFields {
145
145
  /**
146
146
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
147
147
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -152,11 +152,11 @@ export interface ExtendedFields {
152
152
  */
153
153
  namespaces?: Record<string, Record<string, any>>;
154
154
  }
155
- export interface PublicTags {
155
+ interface PublicTags {
156
156
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
157
157
  tags?: TagList;
158
158
  }
159
- export interface TagList {
159
+ interface TagList {
160
160
  /**
161
161
  * List of tag IDs
162
162
  * @maxSize 100
@@ -164,22 +164,22 @@ export interface TagList {
164
164
  */
165
165
  tagIds?: string[];
166
166
  }
167
- export interface GetDisputeRequest {
167
+ interface GetDisputeRequest {
168
168
  /**
169
169
  * ID of the Dispute to retrieve.
170
170
  * @format GUID
171
171
  */
172
172
  disputeId: string;
173
173
  }
174
- export interface GetDisputeResponse {
174
+ interface GetDisputeResponse {
175
175
  /** The requested Dispute. */
176
176
  dispute?: Dispute;
177
177
  }
178
- export interface QueryDisputesRequest {
178
+ interface QueryDisputesRequest {
179
179
  /** WQL expression. */
180
180
  query?: CursorQuery;
181
181
  }
182
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
182
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
183
183
  /** 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`. */
184
184
  cursorPaging?: CursorPaging;
185
185
  /**
@@ -199,11 +199,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
199
199
  sort?: Sorting[];
200
200
  }
201
201
  /** @oneof */
202
- export interface CursorQueryPagingMethodOneOf {
202
+ interface CursorQueryPagingMethodOneOf {
203
203
  /** 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`. */
204
204
  cursorPaging?: CursorPaging;
205
205
  }
206
- export interface Sorting {
206
+ interface Sorting {
207
207
  /**
208
208
  * Name of the field to sort by.
209
209
  * @maxLength 512
@@ -212,11 +212,11 @@ export interface Sorting {
212
212
  /** Sort order. */
213
213
  order?: SortOrder;
214
214
  }
215
- export declare enum SortOrder {
215
+ declare enum SortOrder {
216
216
  ASC = "ASC",
217
217
  DESC = "DESC"
218
218
  }
219
- export interface CursorPaging {
219
+ interface CursorPaging {
220
220
  /**
221
221
  * Maximum number of items to return in the results.
222
222
  * @max 100
@@ -231,13 +231,13 @@ export interface CursorPaging {
231
231
  */
232
232
  cursor?: string | null;
233
233
  }
234
- export interface QueryDisputesResponse {
234
+ interface QueryDisputesResponse {
235
235
  /** List of Disputes. */
236
236
  disputes?: Dispute[];
237
237
  /** Paging metadata */
238
238
  pagingMetadata?: CursorPagingMetadata;
239
239
  }
240
- export interface CursorPagingMetadata {
240
+ interface CursorPagingMetadata {
241
241
  /** Number of items returned in the response. */
242
242
  count?: number | null;
243
243
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -250,7 +250,7 @@ export interface CursorPagingMetadata {
250
250
  */
251
251
  hasNext?: boolean | null;
252
252
  }
253
- export interface Cursors {
253
+ interface Cursors {
254
254
  /**
255
255
  * Cursor string pointing to the next page in the list of results.
256
256
  * @maxLength 16000
@@ -262,27 +262,27 @@ export interface Cursors {
262
262
  */
263
263
  prev?: string | null;
264
264
  }
265
- export interface GetDisputeActionsRequest {
265
+ interface GetDisputeActionsRequest {
266
266
  /**
267
267
  * Dispute ID
268
268
  * @format GUID
269
269
  */
270
270
  disputeId: string;
271
271
  }
272
- export interface GetDisputeActionsResponse {
272
+ interface GetDisputeActionsResponse {
273
273
  /**
274
274
  * Dispute actions
275
275
  * @maxSize 20
276
276
  */
277
277
  actions?: DisputeAction[];
278
278
  }
279
- export interface DisputeAction {
279
+ interface DisputeAction {
280
280
  /** Dispute Action type */
281
281
  type?: DisputeActionType;
282
282
  /** The latest date and time until which the action can be performed */
283
283
  dueDate?: Date | null;
284
284
  }
285
- export declare enum DisputeActionType {
285
+ declare enum DisputeActionType {
286
286
  /** Unknown dispute status */
287
287
  UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
288
288
  /** Accept dispute */
@@ -290,29 +290,99 @@ export declare enum DisputeActionType {
290
290
  /** Submit evidence */
291
291
  SUBMIT_EVIDENCE = "SUBMIT_EVIDENCE"
292
292
  }
293
- export interface AcceptDisputeRequest {
293
+ interface AcceptDisputeRequest {
294
294
  /**
295
295
  * Dispute ID
296
296
  * @format GUID
297
297
  */
298
298
  disputeId: string;
299
299
  }
300
- export interface AcceptDisputeResponse {
300
+ interface AcceptDisputeResponse {
301
301
  /** Dispute */
302
302
  dispute?: Dispute;
303
303
  }
304
- export interface SubmitDisputeEvidenceRequest {
304
+ interface SubmitDisputeEvidenceRequest {
305
305
  /**
306
306
  * Dispute ID
307
307
  * @format GUID
308
308
  */
309
309
  disputeId: string;
310
310
  }
311
- export interface SubmitDisputeEvidenceResponse {
311
+ interface SubmitDisputeEvidenceResponse {
312
312
  /** Dispute */
313
313
  dispute?: Dispute;
314
314
  }
315
- export interface BulkUpdateDisputeTagsRequest {
315
+ interface CreateDisputeManuallyRequest {
316
+ /**
317
+ * Dispute Id
318
+ * @format GUID
319
+ */
320
+ disputeId?: string;
321
+ /**
322
+ * Charge Id
323
+ * @format GUID
324
+ */
325
+ chargeId?: string;
326
+ /** Open date */
327
+ openDate?: Date | null;
328
+ /**
329
+ * Provider Dispute Id
330
+ * @minLength 1
331
+ * @maxLength 100
332
+ */
333
+ providerDisputeId?: string;
334
+ /** Dispute stage */
335
+ stage?: DisputeStage;
336
+ /** Dispute reason */
337
+ reason?: DisputeReason;
338
+ /** Dispute status based on provider dispute status */
339
+ status?: DisputeStatus;
340
+ dueDate?: Date | null;
341
+ /**
342
+ * Dispute currency. Should be the same as the charge currency.
343
+ * @immutable
344
+ * @format CURRENCY
345
+ */
346
+ currencyCode?: string | null;
347
+ /**
348
+ * Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
349
+ * @immutable
350
+ * @decimalValue options { gt:0, maxScale:8 }
351
+ */
352
+ amount?: string | null;
353
+ /**
354
+ * Network reason code
355
+ * @minLength 1
356
+ * @maxLength 64
357
+ */
358
+ networkReasonCode?: string | null;
359
+ /** External or Internal */
360
+ external?: boolean | null;
361
+ /**
362
+ * Seller protection
363
+ * @minLength 1
364
+ * @maxLength 64
365
+ */
366
+ sellerProtection?: string | null;
367
+ /** Is charge refundable */
368
+ chargeRefundable?: boolean | null;
369
+ }
370
+ interface CreateDisputeManuallyResponse {
371
+ }
372
+ interface ChangeDisputeStatusManuallyRequest {
373
+ /**
374
+ * Dispute ID
375
+ * @format GUID
376
+ */
377
+ disputeId?: string;
378
+ /** Changed date */
379
+ changedDate?: Date | null;
380
+ /** Dispute status based on provider dispute status */
381
+ status?: DisputeStatus;
382
+ }
383
+ interface ChangeDisputeStatusManuallyResponse {
384
+ }
385
+ interface BulkUpdateDisputeTagsRequest {
316
386
  /**
317
387
  * List of NileProtoTagsEntities that their tags will update.
318
388
  * @minSize 1
@@ -347,11 +417,11 @@ export interface BulkUpdateDisputeTagsRequest {
347
417
  * }
348
418
  * }
349
419
  */
350
- export interface Tags {
420
+ interface Tags {
351
421
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
352
422
  tags?: TagsTagList;
353
423
  }
354
- export interface TagsTagList {
424
+ interface TagsTagList {
355
425
  /**
356
426
  * List of tag IDs
357
427
  * @maxSize 100
@@ -359,7 +429,7 @@ export interface TagsTagList {
359
429
  */
360
430
  tagIds?: string[];
361
431
  }
362
- export interface BulkUpdateDisputeTagsResponse {
432
+ interface BulkUpdateDisputeTagsResponse {
363
433
  /**
364
434
  * Results
365
435
  * @minSize 1
@@ -369,7 +439,7 @@ export interface BulkUpdateDisputeTagsResponse {
369
439
  /** Metadata regarding the bulk update operation */
370
440
  bulkActionMetadata?: BulkActionMetadata;
371
441
  }
372
- export interface ItemMetadata {
442
+ interface ItemMetadata {
373
443
  /**
374
444
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
375
445
  * @format GUID
@@ -382,7 +452,7 @@ export interface ItemMetadata {
382
452
  /** Details about the error in case of failure. */
383
453
  error?: ApplicationError;
384
454
  }
385
- export interface ApplicationError {
455
+ interface ApplicationError {
386
456
  /** Error code. */
387
457
  code?: string;
388
458
  /** Description of the error. */
@@ -390,11 +460,11 @@ export interface ApplicationError {
390
460
  /** Data related to the error. */
391
461
  data?: Record<string, any> | null;
392
462
  }
393
- export interface BulkUpdateDisputeTagsResult {
463
+ interface BulkUpdateDisputeTagsResult {
394
464
  /** Metadata regarding the specific single update operation */
395
465
  itemMetadata?: ItemMetadata;
396
466
  }
397
- export interface BulkActionMetadata {
467
+ interface BulkActionMetadata {
398
468
  /** Number of items that were successfully processed. */
399
469
  totalSuccesses?: number;
400
470
  /** Number of items that couldn't be processed. */
@@ -402,7 +472,7 @@ export interface BulkActionMetadata {
402
472
  /** Number of failures without details because detailed failure threshold was exceeded. */
403
473
  undetailedFailures?: number;
404
474
  }
405
- export interface BulkUpdateDisputeTagsByFilterRequest {
475
+ interface BulkUpdateDisputeTagsByFilterRequest {
406
476
  /** Filter */
407
477
  filter: Record<string, any> | null;
408
478
  /** List of Tags to assign */
@@ -410,14 +480,14 @@ export interface BulkUpdateDisputeTagsByFilterRequest {
410
480
  /** List of Tags to unAssign */
411
481
  unassignTags?: Tags;
412
482
  }
413
- export interface BulkUpdateDisputeTagsByFilterResponse {
483
+ interface BulkUpdateDisputeTagsByFilterResponse {
414
484
  /**
415
485
  * Job ID
416
486
  * @format GUID
417
487
  */
418
488
  jobId?: string;
419
489
  }
420
- export interface DomainEvent extends DomainEventBodyOneOf {
490
+ interface DomainEvent extends DomainEventBodyOneOf {
421
491
  createdEvent?: EntityCreatedEvent;
422
492
  updatedEvent?: EntityUpdatedEvent;
423
493
  deletedEvent?: EntityDeletedEvent;
@@ -460,19 +530,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
460
530
  entityEventSequence?: string | null;
461
531
  }
462
532
  /** @oneof */
463
- export interface DomainEventBodyOneOf {
533
+ interface DomainEventBodyOneOf {
464
534
  createdEvent?: EntityCreatedEvent;
465
535
  updatedEvent?: EntityUpdatedEvent;
466
536
  deletedEvent?: EntityDeletedEvent;
467
537
  actionEvent?: ActionEvent;
468
538
  }
469
- export interface EntityCreatedEvent {
539
+ interface EntityCreatedEvent {
470
540
  entity?: string;
471
541
  }
472
- export interface RestoreInfo {
542
+ interface RestoreInfo {
473
543
  deletedDate?: Date | null;
474
544
  }
475
- export interface EntityUpdatedEvent {
545
+ interface EntityUpdatedEvent {
476
546
  /**
477
547
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
478
548
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -480,14 +550,14 @@ export interface EntityUpdatedEvent {
480
550
  */
481
551
  currentEntity?: string;
482
552
  }
483
- export interface EntityDeletedEvent {
553
+ interface EntityDeletedEvent {
484
554
  /** Entity that was deleted */
485
555
  deletedEntity?: string | null;
486
556
  }
487
- export interface ActionEvent {
557
+ interface ActionEvent {
488
558
  body?: string;
489
559
  }
490
- export interface MessageEnvelope {
560
+ interface MessageEnvelope {
491
561
  /**
492
562
  * App instance ID.
493
563
  * @format GUID
@@ -503,7 +573,7 @@ export interface MessageEnvelope {
503
573
  /** Stringify payload. */
504
574
  data?: string;
505
575
  }
506
- export interface IdentificationData extends IdentificationDataIdOneOf {
576
+ interface IdentificationData extends IdentificationDataIdOneOf {
507
577
  /**
508
578
  * ID of a site visitor that has not logged in to the site.
509
579
  * @format GUID
@@ -528,7 +598,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
528
598
  identityType?: WebhookIdentityType;
529
599
  }
530
600
  /** @oneof */
531
- export interface IdentificationDataIdOneOf {
601
+ interface IdentificationDataIdOneOf {
532
602
  /**
533
603
  * ID of a site visitor that has not logged in to the site.
534
604
  * @format GUID
@@ -550,91 +620,13 @@ export interface IdentificationDataIdOneOf {
550
620
  */
551
621
  appId?: string;
552
622
  }
553
- export declare enum WebhookIdentityType {
623
+ declare enum WebhookIdentityType {
554
624
  UNKNOWN = "UNKNOWN",
555
625
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
556
626
  MEMBER = "MEMBER",
557
627
  WIX_USER = "WIX_USER",
558
628
  APP = "APP"
559
629
  }
560
- interface TagListNonNullableFields {
561
- tagIds: string[];
562
- }
563
- interface PublicTagsNonNullableFields {
564
- tags?: TagListNonNullableFields;
565
- }
566
- export interface DisputeNonNullableFields {
567
- _id: string;
568
- chargeId: string;
569
- providerDisputeId: string;
570
- stage: DisputeStage;
571
- reason: DisputeReason;
572
- status: DisputeStatus;
573
- sellerProtection: SellerProtection;
574
- channel: DisputeChannel;
575
- tags?: PublicTagsNonNullableFields;
576
- }
577
- export interface GetDisputeResponseNonNullableFields {
578
- dispute?: DisputeNonNullableFields;
579
- }
580
- export interface QueryDisputesResponseNonNullableFields {
581
- disputes: DisputeNonNullableFields[];
582
- }
583
- interface DisputeActionNonNullableFields {
584
- type: DisputeActionType;
585
- }
586
- export interface GetDisputeActionsResponseNonNullableFields {
587
- actions: DisputeActionNonNullableFields[];
588
- }
589
- export interface AcceptDisputeResponseNonNullableFields {
590
- dispute?: DisputeNonNullableFields;
591
- }
592
- export interface SubmitDisputeEvidenceResponseNonNullableFields {
593
- dispute?: DisputeNonNullableFields;
594
- }
595
- interface ApplicationErrorNonNullableFields {
596
- code: string;
597
- description: string;
598
- }
599
- interface ItemMetadataNonNullableFields {
600
- originalIndex: number;
601
- success: boolean;
602
- error?: ApplicationErrorNonNullableFields;
603
- }
604
- interface BulkUpdateDisputeTagsResultNonNullableFields {
605
- itemMetadata?: ItemMetadataNonNullableFields;
606
- }
607
- interface BulkActionMetadataNonNullableFields {
608
- totalSuccesses: number;
609
- totalFailures: number;
610
- undetailedFailures: number;
611
- }
612
- export interface BulkUpdateDisputeTagsResponseNonNullableFields {
613
- results: BulkUpdateDisputeTagsResultNonNullableFields[];
614
- bulkActionMetadata?: BulkActionMetadataNonNullableFields;
615
- }
616
- export interface BulkUpdateDisputeTagsByFilterResponseNonNullableFields {
617
- jobId: string;
618
- }
619
- /**
620
- * Get Dispute by ID
621
- * @param disputeId - ID of the Dispute to retrieve.
622
- * @internal
623
- * @documentationMaturity preview
624
- * @requiredField disputeId
625
- * @permissionId PAYMENTS.DISPUTE_READ
626
- * @returns The requested Dispute.
627
- * @fqn wix.payments.disputes.v1.DisputeService.GetDispute
628
- */
629
- export declare function getDispute(disputeId: string): Promise<Dispute & DisputeNonNullableFields>;
630
- /**
631
- * Retrieves a list of Disputes
632
- * @internal
633
- * @documentationMaturity preview
634
- * @permissionId PAYMENTS.DISPUTE_READ
635
- * @fqn wix.payments.disputes.v1.DisputeService.QueryDisputes
636
- */
637
- export declare function queryDisputes(): DisputesQueryBuilder;
638
630
  interface QueryCursorResult {
639
631
  cursors: Cursors;
640
632
  hasNext: () => boolean;
@@ -642,13 +634,13 @@ interface QueryCursorResult {
642
634
  length: number;
643
635
  pageSize: number;
644
636
  }
645
- export interface DisputesQueryResult extends QueryCursorResult {
637
+ interface DisputesQueryResult extends QueryCursorResult {
646
638
  items: Dispute[];
647
639
  query: DisputesQueryBuilder;
648
640
  next: () => Promise<DisputesQueryResult>;
649
641
  prev: () => Promise<DisputesQueryResult>;
650
642
  }
651
- export interface DisputesQueryBuilder {
643
+ interface DisputesQueryBuilder {
652
644
  /** @param propertyName - Property whose value is compared with `value`.
653
645
  * @param value - Value to compare against.
654
646
  * @documentationMaturity preview
@@ -712,69 +704,17 @@ export interface DisputesQueryBuilder {
712
704
  /** @documentationMaturity preview */
713
705
  find: () => Promise<DisputesQueryResult>;
714
706
  }
715
- /**
716
- * Get Dispute Actions
717
- * @param disputeId - Dispute ID
718
- * @internal
719
- * @documentationMaturity preview
720
- * @requiredField disputeId
721
- * @permissionId PAYMENTS.DISPUTE_GET_ACTIONS
722
- * @fqn wix.payments.disputes.v1.DisputeService.GetDisputeActions
723
- */
724
- export declare function getDisputeActions(disputeId: string): Promise<GetDisputeActionsResponse & GetDisputeActionsResponseNonNullableFields>;
725
- /**
726
- * Dispute Accept
727
- * @param disputeId - Dispute ID
728
- * @internal
729
- * @documentationMaturity preview
730
- * @requiredField disputeId
731
- * @permissionId PAYMENTS.DISPUTE_ACCEPT
732
- * @fqn wix.payments.disputes.v1.DisputeService.AcceptDispute
733
- */
734
- export declare function acceptDispute(disputeId: string): Promise<AcceptDisputeResponse & AcceptDisputeResponseNonNullableFields>;
735
- /**
736
- * Dispute Submit Evidence
737
- * @param disputeId - Dispute ID
738
- * @internal
739
- * @documentationMaturity preview
740
- * @requiredField disputeId
741
- * @permissionId PAYMENTS.DISPUTE_SUBMIT_EVIDENCE
742
- * @fqn wix.payments.disputes.v1.DisputeService.SubmitDisputeEvidence
743
- */
744
- export declare function submitDisputeEvidence(disputeId: string): Promise<SubmitDisputeEvidenceResponse & SubmitDisputeEvidenceResponseNonNullableFields>;
745
- /**
746
- * Synchronously update tags on multiple Disputes, by list of Disputes ids
747
- * A tag that appears both in the list of assign and unassign tags, will be assigned
748
- * @param ids - List of NileProtoTagsEntities that their tags will update.
749
- * @internal
750
- * @documentationMaturity preview
751
- * @requiredField ids
752
- * @permissionId PAYMENTS.DISPUTE_UPDATE_TAGS
753
- * @fqn wix.payments.disputes.v1.DisputeService.BulkUpdateDisputeTags
754
- */
755
- export declare function bulkUpdateDisputeTags(ids: string[], options?: BulkUpdateDisputeTagsOptions): Promise<BulkUpdateDisputeTagsResponse & BulkUpdateDisputeTagsResponseNonNullableFields>;
756
- export interface BulkUpdateDisputeTagsOptions {
707
+ interface BulkUpdateDisputeTagsOptions {
757
708
  /** List of Tags to assign */
758
709
  assignTags?: Tags;
759
710
  /** List of Tags to unAssign */
760
711
  unassignTags?: Tags;
761
712
  }
762
- /**
763
- * Asynchronously update tags on multiple Disputes, by provided filter
764
- * An empty filter will update all Disputes
765
- * A tag that appears both in the list of assign and unassign tags, will be assigned
766
- * @param filter - Filter
767
- * @internal
768
- * @documentationMaturity preview
769
- * @requiredField filter
770
- * @permissionId PAYMENTS.DISPUTE_UPDATE_TAGS
771
- * @fqn wix.payments.disputes.v1.DisputeService.BulkUpdateDisputeTagsByFilter
772
- */
773
- export declare function bulkUpdateDisputeTagsByFilter(filter: Record<string, any> | null, options?: BulkUpdateDisputeTagsByFilterOptions): Promise<BulkUpdateDisputeTagsByFilterResponse & BulkUpdateDisputeTagsByFilterResponseNonNullableFields>;
774
- export interface BulkUpdateDisputeTagsByFilterOptions {
713
+ interface BulkUpdateDisputeTagsByFilterOptions {
775
714
  /** List of Tags to assign */
776
715
  assignTags?: Tags;
777
716
  /** List of Tags to unAssign */
778
717
  unassignTags?: Tags;
779
718
  }
780
- export {};
719
+
720
+ export { type MessageEnvelope as $, type AcceptDisputeResponse as A, type BulkUpdateDisputeTagsOptions as B, type CursorQuery as C, type Dispute as D, type ExtendedFields as E, type ChangeDisputeStatusManuallyResponse as F, type GetDisputeActionsResponse as G, type BulkUpdateDisputeTagsRequest as H, type Tags as I, type TagsTagList as J, type ItemMetadata as K, type ApplicationError as L, type BulkUpdateDisputeTagsResult as M, type BulkActionMetadata as N, type BulkUpdateDisputeTagsByFilterRequest as O, type PublicTags as P, type QueryDisputesRequest as Q, type DomainEvent as R, type SubmitDisputeEvidenceResponse as S, type TagList as T, type DomainEventBodyOneOf as U, type EntityCreatedEvent as V, WebhookIdentityType as W, type RestoreInfo as X, type EntityUpdatedEvent as Y, type EntityDeletedEvent as Z, type ActionEvent as _, type DisputesQueryBuilder as a, type IdentificationData as a0, type IdentificationDataIdOneOf as a1, type DisputesQueryResult as a2, type BulkUpdateDisputeTagsResponse as b, type BulkUpdateDisputeTagsByFilterOptions as c, type BulkUpdateDisputeTagsByFilterResponse as d, DisputeStage as e, DisputeReason as f, DisputeStatus as g, SellerProtection as h, DisputeChannel as i, SortOrder as j, DisputeActionType as k, type GetDisputeRequest as l, type GetDisputeResponse as m, type CursorQueryPagingMethodOneOf as n, type Sorting as o, type CursorPaging as p, type QueryDisputesResponse as q, type CursorPagingMetadata as r, type Cursors as s, type GetDisputeActionsRequest as t, type DisputeAction as u, type AcceptDisputeRequest as v, type SubmitDisputeEvidenceRequest as w, type CreateDisputeManuallyRequest as x, type CreateDisputeManuallyResponse as y, type ChangeDisputeStatusManuallyRequest as z };