@wix/auto_sdk_payments_disputes 1.0.7 → 1.0.9

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 (127) hide show
  1. package/build/{cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.mts} +59 -117
  2. package/build/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.ts} +59 -117
  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 -310
  14. package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +68 -310
  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} +59 -189
  20. package/build/internal/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.ts} +59 -189
  21. package/build/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.mts} +68 -310
  22. package/build/{internal/es/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +68 -310
  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/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -2
  63. package/build/es/src/payments-disputes-v1-dispute-disputes.context.js +0 -18
  64. package/build/es/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  65. package/build/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  66. package/build/es/src/payments-disputes-v1-dispute-disputes.http.js +0 -207
  67. package/build/es/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  68. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  69. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js +0 -128
  70. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  71. package/build/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -4
  72. package/build/es/src/payments-disputes-v1-dispute-disputes.public.js +0 -46
  73. package/build/es/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  74. package/build/es/src/payments-disputes-v1-dispute-disputes.types.js +0 -91
  75. package/build/es/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  76. package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js +0 -353
  77. package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
  78. package/build/internal/cjs/index.d.ts +0 -1
  79. package/build/internal/cjs/index.js +0 -18
  80. package/build/internal/cjs/index.js.map +0 -1
  81. package/build/internal/cjs/index.typings.d.ts +0 -1
  82. package/build/internal/cjs/index.typings.js +0 -18
  83. package/build/internal/cjs/index.typings.js.map +0 -1
  84. package/build/internal/cjs/meta.d.ts +0 -1
  85. package/build/internal/cjs/meta.js +0 -18
  86. package/build/internal/cjs/meta.js.map +0 -1
  87. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -18
  88. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js +0 -29
  89. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  90. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  91. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js +0 -217
  92. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  93. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  94. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +0 -161
  95. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  96. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -72
  97. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js +0 -64
  98. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  99. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js +0 -94
  100. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  101. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +0 -386
  102. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
  103. package/build/internal/es/index.d.ts +0 -1
  104. package/build/internal/es/index.js +0 -2
  105. package/build/internal/es/index.js.map +0 -1
  106. package/build/internal/es/index.typings.d.ts +0 -1
  107. package/build/internal/es/index.typings.js +0 -2
  108. package/build/internal/es/index.typings.js.map +0 -1
  109. package/build/internal/es/meta.d.ts +0 -1
  110. package/build/internal/es/meta.js +0 -2
  111. package/build/internal/es/meta.js.map +0 -1
  112. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -18
  113. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js +0 -18
  114. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  115. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  116. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js +0 -207
  117. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  118. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  119. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js +0 -128
  120. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  121. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -72
  122. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js +0 -46
  123. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  124. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js +0 -91
  125. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  126. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js +0 -353
  127. 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,29 @@ 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 CreateDisputeManuallyRequest {
315
+ interface CreateDisputeManuallyRequest {
316
316
  /**
317
317
  * Dispute Id
318
318
  * @format GUID
@@ -367,9 +367,9 @@ export interface CreateDisputeManuallyRequest {
367
367
  /** Is charge refundable */
368
368
  chargeRefundable?: boolean | null;
369
369
  }
370
- export interface CreateDisputeManuallyResponse {
370
+ interface CreateDisputeManuallyResponse {
371
371
  }
372
- export interface ChangeDisputeStatusManuallyRequest {
372
+ interface ChangeDisputeStatusManuallyRequest {
373
373
  /**
374
374
  * Dispute ID
375
375
  * @format GUID
@@ -380,9 +380,9 @@ export interface ChangeDisputeStatusManuallyRequest {
380
380
  /** Dispute status based on provider dispute status */
381
381
  status?: DisputeStatus;
382
382
  }
383
- export interface ChangeDisputeStatusManuallyResponse {
383
+ interface ChangeDisputeStatusManuallyResponse {
384
384
  }
385
- export interface BulkUpdateDisputeTagsRequest {
385
+ interface BulkUpdateDisputeTagsRequest {
386
386
  /**
387
387
  * List of NileProtoTagsEntities that their tags will update.
388
388
  * @minSize 1
@@ -417,11 +417,11 @@ export interface BulkUpdateDisputeTagsRequest {
417
417
  * }
418
418
  * }
419
419
  */
420
- export interface Tags {
420
+ interface Tags {
421
421
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
422
422
  tags?: TagsTagList;
423
423
  }
424
- export interface TagsTagList {
424
+ interface TagsTagList {
425
425
  /**
426
426
  * List of tag IDs
427
427
  * @maxSize 100
@@ -429,7 +429,7 @@ export interface TagsTagList {
429
429
  */
430
430
  tagIds?: string[];
431
431
  }
432
- export interface BulkUpdateDisputeTagsResponse {
432
+ interface BulkUpdateDisputeTagsResponse {
433
433
  /**
434
434
  * Results
435
435
  * @minSize 1
@@ -439,7 +439,7 @@ export interface BulkUpdateDisputeTagsResponse {
439
439
  /** Metadata regarding the bulk update operation */
440
440
  bulkActionMetadata?: BulkActionMetadata;
441
441
  }
442
- export interface ItemMetadata {
442
+ interface ItemMetadata {
443
443
  /**
444
444
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
445
445
  * @format GUID
@@ -452,7 +452,7 @@ export interface ItemMetadata {
452
452
  /** Details about the error in case of failure. */
453
453
  error?: ApplicationError;
454
454
  }
455
- export interface ApplicationError {
455
+ interface ApplicationError {
456
456
  /** Error code. */
457
457
  code?: string;
458
458
  /** Description of the error. */
@@ -460,11 +460,11 @@ export interface ApplicationError {
460
460
  /** Data related to the error. */
461
461
  data?: Record<string, any> | null;
462
462
  }
463
- export interface BulkUpdateDisputeTagsResult {
463
+ interface BulkUpdateDisputeTagsResult {
464
464
  /** Metadata regarding the specific single update operation */
465
465
  itemMetadata?: ItemMetadata;
466
466
  }
467
- export interface BulkActionMetadata {
467
+ interface BulkActionMetadata {
468
468
  /** Number of items that were successfully processed. */
469
469
  totalSuccesses?: number;
470
470
  /** Number of items that couldn't be processed. */
@@ -472,7 +472,7 @@ export interface BulkActionMetadata {
472
472
  /** Number of failures without details because detailed failure threshold was exceeded. */
473
473
  undetailedFailures?: number;
474
474
  }
475
- export interface BulkUpdateDisputeTagsByFilterRequest {
475
+ interface BulkUpdateDisputeTagsByFilterRequest {
476
476
  /** Filter */
477
477
  filter: Record<string, any> | null;
478
478
  /** List of Tags to assign */
@@ -480,14 +480,14 @@ export interface BulkUpdateDisputeTagsByFilterRequest {
480
480
  /** List of Tags to unAssign */
481
481
  unassignTags?: Tags;
482
482
  }
483
- export interface BulkUpdateDisputeTagsByFilterResponse {
483
+ interface BulkUpdateDisputeTagsByFilterResponse {
484
484
  /**
485
485
  * Job ID
486
486
  * @format GUID
487
487
  */
488
488
  jobId?: string;
489
489
  }
490
- export interface DomainEvent extends DomainEventBodyOneOf {
490
+ interface DomainEvent extends DomainEventBodyOneOf {
491
491
  createdEvent?: EntityCreatedEvent;
492
492
  updatedEvent?: EntityUpdatedEvent;
493
493
  deletedEvent?: EntityDeletedEvent;
@@ -530,19 +530,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
530
530
  entityEventSequence?: string | null;
531
531
  }
532
532
  /** @oneof */
533
- export interface DomainEventBodyOneOf {
533
+ interface DomainEventBodyOneOf {
534
534
  createdEvent?: EntityCreatedEvent;
535
535
  updatedEvent?: EntityUpdatedEvent;
536
536
  deletedEvent?: EntityDeletedEvent;
537
537
  actionEvent?: ActionEvent;
538
538
  }
539
- export interface EntityCreatedEvent {
539
+ interface EntityCreatedEvent {
540
540
  entity?: string;
541
541
  }
542
- export interface RestoreInfo {
542
+ interface RestoreInfo {
543
543
  deletedDate?: Date | null;
544
544
  }
545
- export interface EntityUpdatedEvent {
545
+ interface EntityUpdatedEvent {
546
546
  /**
547
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.
548
548
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -550,14 +550,14 @@ export interface EntityUpdatedEvent {
550
550
  */
551
551
  currentEntity?: string;
552
552
  }
553
- export interface EntityDeletedEvent {
553
+ interface EntityDeletedEvent {
554
554
  /** Entity that was deleted */
555
555
  deletedEntity?: string | null;
556
556
  }
557
- export interface ActionEvent {
557
+ interface ActionEvent {
558
558
  body?: string;
559
559
  }
560
- export interface MessageEnvelope {
560
+ interface MessageEnvelope {
561
561
  /**
562
562
  * App instance ID.
563
563
  * @format GUID
@@ -573,7 +573,7 @@ export interface MessageEnvelope {
573
573
  /** Stringify payload. */
574
574
  data?: string;
575
575
  }
576
- export interface IdentificationData extends IdentificationDataIdOneOf {
576
+ interface IdentificationData extends IdentificationDataIdOneOf {
577
577
  /**
578
578
  * ID of a site visitor that has not logged in to the site.
579
579
  * @format GUID
@@ -598,7 +598,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
598
598
  identityType?: WebhookIdentityType;
599
599
  }
600
600
  /** @oneof */
601
- export interface IdentificationDataIdOneOf {
601
+ interface IdentificationDataIdOneOf {
602
602
  /**
603
603
  * ID of a site visitor that has not logged in to the site.
604
604
  * @format GUID
@@ -620,72 +620,13 @@ export interface IdentificationDataIdOneOf {
620
620
  */
621
621
  appId?: string;
622
622
  }
623
- export declare enum WebhookIdentityType {
623
+ declare enum WebhookIdentityType {
624
624
  UNKNOWN = "UNKNOWN",
625
625
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
626
626
  MEMBER = "MEMBER",
627
627
  WIX_USER = "WIX_USER",
628
628
  APP = "APP"
629
629
  }
630
- interface TagListNonNullableFields {
631
- tagIds: string[];
632
- }
633
- interface PublicTagsNonNullableFields {
634
- tags?: TagListNonNullableFields;
635
- }
636
- export interface DisputeNonNullableFields {
637
- _id: string;
638
- chargeId: string;
639
- providerDisputeId: string;
640
- stage: DisputeStage;
641
- reason: DisputeReason;
642
- status: DisputeStatus;
643
- sellerProtection: SellerProtection;
644
- channel: DisputeChannel;
645
- tags?: PublicTagsNonNullableFields;
646
- }
647
- export interface GetDisputeResponseNonNullableFields {
648
- dispute?: DisputeNonNullableFields;
649
- }
650
- export interface QueryDisputesResponseNonNullableFields {
651
- disputes: DisputeNonNullableFields[];
652
- }
653
- interface DisputeActionNonNullableFields {
654
- type: DisputeActionType;
655
- }
656
- export interface GetDisputeActionsResponseNonNullableFields {
657
- actions: DisputeActionNonNullableFields[];
658
- }
659
- export interface AcceptDisputeResponseNonNullableFields {
660
- dispute?: DisputeNonNullableFields;
661
- }
662
- export interface SubmitDisputeEvidenceResponseNonNullableFields {
663
- dispute?: DisputeNonNullableFields;
664
- }
665
- interface ApplicationErrorNonNullableFields {
666
- code: string;
667
- description: string;
668
- }
669
- interface ItemMetadataNonNullableFields {
670
- originalIndex: number;
671
- success: boolean;
672
- error?: ApplicationErrorNonNullableFields;
673
- }
674
- interface BulkUpdateDisputeTagsResultNonNullableFields {
675
- itemMetadata?: ItemMetadataNonNullableFields;
676
- }
677
- interface BulkActionMetadataNonNullableFields {
678
- totalSuccesses: number;
679
- totalFailures: number;
680
- undetailedFailures: number;
681
- }
682
- export interface BulkUpdateDisputeTagsResponseNonNullableFields {
683
- results: BulkUpdateDisputeTagsResultNonNullableFields[];
684
- bulkActionMetadata?: BulkActionMetadataNonNullableFields;
685
- }
686
- export interface BulkUpdateDisputeTagsByFilterResponseNonNullableFields {
687
- jobId: string;
688
- }
689
630
  interface QueryCursorResult {
690
631
  cursors: Cursors;
691
632
  hasNext: () => boolean;
@@ -693,13 +634,13 @@ interface QueryCursorResult {
693
634
  length: number;
694
635
  pageSize: number;
695
636
  }
696
- export interface DisputesQueryResult extends QueryCursorResult {
637
+ interface DisputesQueryResult extends QueryCursorResult {
697
638
  items: Dispute[];
698
639
  query: DisputesQueryBuilder;
699
640
  next: () => Promise<DisputesQueryResult>;
700
641
  prev: () => Promise<DisputesQueryResult>;
701
642
  }
702
- export interface DisputesQueryBuilder {
643
+ interface DisputesQueryBuilder {
703
644
  /** @param propertyName - Property whose value is compared with `value`.
704
645
  * @param value - Value to compare against.
705
646
  * @documentationMaturity preview
@@ -763,16 +704,17 @@ export interface DisputesQueryBuilder {
763
704
  /** @documentationMaturity preview */
764
705
  find: () => Promise<DisputesQueryResult>;
765
706
  }
766
- export interface BulkUpdateDisputeTagsOptions {
707
+ interface BulkUpdateDisputeTagsOptions {
767
708
  /** List of Tags to assign */
768
709
  assignTags?: Tags;
769
710
  /** List of Tags to unAssign */
770
711
  unassignTags?: Tags;
771
712
  }
772
- export interface BulkUpdateDisputeTagsByFilterOptions {
713
+ interface BulkUpdateDisputeTagsByFilterOptions {
773
714
  /** List of Tags to assign */
774
715
  assignTags?: Tags;
775
716
  /** List of Tags to unAssign */
776
717
  unassignTags?: Tags;
777
718
  }
778
- export {};
719
+
720
+ export { type AcceptDisputeRequest, type AcceptDisputeResponse, type ActionEvent, type ApplicationError, type BulkActionMetadata, 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 Dispute, type DisputeAction, DisputeActionType, DisputeChannel, DisputeReason, DisputeStage, DisputeStatus, type DisputesQueryBuilder, type DisputesQueryResult, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDisputeActionsRequest, type GetDisputeActionsResponse, type GetDisputeRequest, type GetDisputeResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type PublicTags, type QueryDisputesRequest, type QueryDisputesResponse, type RestoreInfo, SellerProtection, SortOrder, type Sorting, type SubmitDisputeEvidenceRequest, type SubmitDisputeEvidenceResponse, type TagList, type Tags, type TagsTagList, WebhookIdentityType };