@wix/auto_sdk_payments_disputes 1.0.16 → 1.0.18

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} +67 -66
  2. package/build/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.ts} +67 -66
  3. package/build/index.js +591 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +553 -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 +591 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +553 -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} +75 -251
  14. package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +75 -251
  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-CZbP08z7.d.mts} +67 -144
  20. package/build/internal/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-CZbP08z7.d.ts} +67 -144
  21. package/build/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.mts} +75 -251
  22. package/build/{internal/es/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +75 -251
  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 -388
  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 -355
  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 -388
  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 -355
  128. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
@@ -1,5 +1,7 @@
1
+ import { l as GetDisputeRequest$1, m as GetDisputeResponse$1, Q as QueryDisputesRequest$1, q as QueryDisputesResponse$1, t as GetDisputeActionsRequest$1, G as GetDisputeActionsResponse$1, v as AcceptDisputeRequest$1, A as AcceptDisputeResponse$1, w as SubmitDisputeEvidenceRequest$1, S as SubmitDisputeEvidenceResponse$1, H as BulkUpdateDisputeTagsRequest$1, b as BulkUpdateDisputeTagsResponse$1, O as BulkUpdateDisputeTagsByFilterRequest$1, d as BulkUpdateDisputeTagsByFilterResponse$1 } from './payments-disputes-v1-dispute-disputes.universal-CZbP08z7.mjs';
2
+
1
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. */
2
- export interface Dispute {
4
+ interface Dispute {
3
5
  /**
4
6
  * Dispute ID
5
7
  * @format GUID
@@ -78,7 +80,7 @@ export interface Dispute {
78
80
  /** Tags */
79
81
  tags?: PublicTags;
80
82
  }
81
- export declare enum DisputeStage {
83
+ declare enum DisputeStage {
82
84
  UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
83
85
  /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
84
86
  NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
@@ -88,8 +90,8 @@ export declare enum DisputeStage {
88
90
  CHARGEBACK = "CHARGEBACK"
89
91
  }
90
92
  /** @enumType */
91
- export type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
92
- export declare enum DisputeReason {
93
+ type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
94
+ declare enum DisputeReason {
93
95
  /** Unknown reason */
94
96
  UNKNOWN_DISPUTE_REASON = "UNKNOWN_DISPUTE_REASON",
95
97
  /** Fraud card */
@@ -114,8 +116,8 @@ export declare enum DisputeReason {
114
116
  OTHER = "OTHER"
115
117
  }
116
118
  /** @enumType */
117
- export 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';
118
- export declare enum DisputeStatus {
119
+ 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';
120
+ declare enum DisputeStatus {
119
121
  /** Unknown status */
120
122
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
121
123
  /** Waiting for some merchant action */
@@ -130,8 +132,8 @@ export declare enum DisputeStatus {
130
132
  LOST = "LOST"
131
133
  }
132
134
  /** @enumType */
133
- export type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
134
- export declare enum SellerProtection {
135
+ type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
136
+ declare enum SellerProtection {
135
137
  UNKNOWN_SELLER_PROTECTION = "UNKNOWN_SELLER_PROTECTION",
136
138
  /** Not Eligible */
137
139
  NOT_ELIGIBLE = "NOT_ELIGIBLE",
@@ -141,8 +143,8 @@ export declare enum SellerProtection {
141
143
  EXTENDED = "EXTENDED"
142
144
  }
143
145
  /** @enumType */
144
- export type SellerProtectionWithLiterals = SellerProtection | 'UNKNOWN_SELLER_PROTECTION' | 'NOT_ELIGIBLE' | 'ELIGIBLE' | 'EXTENDED';
145
- export declare enum DisputeChannel {
146
+ type SellerProtectionWithLiterals = SellerProtection | 'UNKNOWN_SELLER_PROTECTION' | 'NOT_ELIGIBLE' | 'ELIGIBLE' | 'EXTENDED';
147
+ declare enum DisputeChannel {
146
148
  UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
147
149
  /** Internal, the dispute is reviewed by PSP */
148
150
  INTERNAL = "INTERNAL",
@@ -150,8 +152,8 @@ export declare enum DisputeChannel {
150
152
  EXTERNAL = "EXTERNAL"
151
153
  }
152
154
  /** @enumType */
153
- export type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
154
- export interface ExtendedFields {
155
+ type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
156
+ interface ExtendedFields {
155
157
  /**
156
158
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
157
159
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -162,11 +164,11 @@ export interface ExtendedFields {
162
164
  */
163
165
  namespaces?: Record<string, Record<string, any>>;
164
166
  }
165
- export interface PublicTags {
167
+ interface PublicTags {
166
168
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
167
169
  tags?: TagList;
168
170
  }
169
- export interface TagList {
171
+ interface TagList {
170
172
  /**
171
173
  * List of tag IDs
172
174
  * @maxSize 100
@@ -174,22 +176,22 @@ export interface TagList {
174
176
  */
175
177
  tagIds?: string[];
176
178
  }
177
- export interface GetDisputeRequest {
179
+ interface GetDisputeRequest {
178
180
  /**
179
181
  * ID of the Dispute to retrieve.
180
182
  * @format GUID
181
183
  */
182
184
  disputeId: string;
183
185
  }
184
- export interface GetDisputeResponse {
186
+ interface GetDisputeResponse {
185
187
  /** The requested Dispute. */
186
188
  dispute?: Dispute;
187
189
  }
188
- export interface QueryDisputesRequest {
190
+ interface QueryDisputesRequest {
189
191
  /** WQL expression. */
190
192
  query?: CursorQuery;
191
193
  }
192
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
194
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
193
195
  /** 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`. */
194
196
  cursorPaging?: CursorPaging;
195
197
  /**
@@ -209,11 +211,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
209
211
  sort?: Sorting[];
210
212
  }
211
213
  /** @oneof */
212
- export interface CursorQueryPagingMethodOneOf {
214
+ interface CursorQueryPagingMethodOneOf {
213
215
  /** 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`. */
214
216
  cursorPaging?: CursorPaging;
215
217
  }
216
- export interface Sorting {
218
+ interface Sorting {
217
219
  /**
218
220
  * Name of the field to sort by.
219
221
  * @maxLength 512
@@ -222,13 +224,13 @@ export interface Sorting {
222
224
  /** Sort order. */
223
225
  order?: SortOrderWithLiterals;
224
226
  }
225
- export declare enum SortOrder {
227
+ declare enum SortOrder {
226
228
  ASC = "ASC",
227
229
  DESC = "DESC"
228
230
  }
229
231
  /** @enumType */
230
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
231
- export interface CursorPaging {
232
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
233
+ interface CursorPaging {
232
234
  /**
233
235
  * Maximum number of items to return in the results.
234
236
  * @max 100
@@ -243,13 +245,13 @@ export interface CursorPaging {
243
245
  */
244
246
  cursor?: string | null;
245
247
  }
246
- export interface QueryDisputesResponse {
248
+ interface QueryDisputesResponse {
247
249
  /** List of Disputes. */
248
250
  disputes?: Dispute[];
249
251
  /** Paging metadata */
250
252
  pagingMetadata?: CursorPagingMetadata;
251
253
  }
252
- export interface CursorPagingMetadata {
254
+ interface CursorPagingMetadata {
253
255
  /** Number of items returned in the response. */
254
256
  count?: number | null;
255
257
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -262,7 +264,7 @@ export interface CursorPagingMetadata {
262
264
  */
263
265
  hasNext?: boolean | null;
264
266
  }
265
- export interface Cursors {
267
+ interface Cursors {
266
268
  /**
267
269
  * Cursor string pointing to the next page in the list of results.
268
270
  * @maxLength 16000
@@ -274,27 +276,27 @@ export interface Cursors {
274
276
  */
275
277
  prev?: string | null;
276
278
  }
277
- export interface GetDisputeActionsRequest {
279
+ interface GetDisputeActionsRequest {
278
280
  /**
279
281
  * Dispute ID
280
282
  * @format GUID
281
283
  */
282
284
  disputeId: string;
283
285
  }
284
- export interface GetDisputeActionsResponse {
286
+ interface GetDisputeActionsResponse {
285
287
  /**
286
288
  * Dispute actions
287
289
  * @maxSize 20
288
290
  */
289
291
  actions?: DisputeAction[];
290
292
  }
291
- export interface DisputeAction {
293
+ interface DisputeAction {
292
294
  /** Dispute Action type */
293
295
  type?: DisputeActionTypeWithLiterals;
294
296
  /** The latest date and time until which the action can be performed */
295
297
  dueDate?: Date | null;
296
298
  }
297
- export declare enum DisputeActionType {
299
+ declare enum DisputeActionType {
298
300
  /** Unknown dispute status */
299
301
  UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
300
302
  /** Accept dispute */
@@ -303,100 +305,30 @@ export declare enum DisputeActionType {
303
305
  SUBMIT_EVIDENCE = "SUBMIT_EVIDENCE"
304
306
  }
305
307
  /** @enumType */
306
- export type DisputeActionTypeWithLiterals = DisputeActionType | 'UNKNOWN_DISPUTE_ACTION' | 'ACCEPT' | 'SUBMIT_EVIDENCE';
307
- export interface AcceptDisputeRequest {
308
+ type DisputeActionTypeWithLiterals = DisputeActionType | 'UNKNOWN_DISPUTE_ACTION' | 'ACCEPT' | 'SUBMIT_EVIDENCE';
309
+ interface AcceptDisputeRequest {
308
310
  /**
309
311
  * Dispute ID
310
312
  * @format GUID
311
313
  */
312
314
  disputeId: string;
313
315
  }
314
- export interface AcceptDisputeResponse {
316
+ interface AcceptDisputeResponse {
315
317
  /** Dispute */
316
318
  dispute?: Dispute;
317
319
  }
318
- export interface SubmitDisputeEvidenceRequest {
320
+ interface SubmitDisputeEvidenceRequest {
319
321
  /**
320
322
  * Dispute ID
321
323
  * @format GUID
322
324
  */
323
325
  disputeId: string;
324
326
  }
325
- export interface SubmitDisputeEvidenceResponse {
327
+ interface SubmitDisputeEvidenceResponse {
326
328
  /** Dispute */
327
329
  dispute?: Dispute;
328
330
  }
329
- export interface CreateDisputeManuallyRequest {
330
- /**
331
- * Dispute Id
332
- * @format GUID
333
- */
334
- disputeId?: string;
335
- /**
336
- * Charge Id
337
- * @format GUID
338
- */
339
- chargeId?: string;
340
- /** Open date */
341
- openDate?: Date | null;
342
- /**
343
- * Provider Dispute Id
344
- * @minLength 1
345
- * @maxLength 100
346
- */
347
- providerDisputeId?: string;
348
- /** Dispute stage */
349
- stage?: DisputeStageWithLiterals;
350
- /** Dispute reason */
351
- reason?: DisputeReasonWithLiterals;
352
- /** Dispute status based on provider dispute status */
353
- status?: DisputeStatusWithLiterals;
354
- dueDate?: Date | null;
355
- /**
356
- * Dispute currency. Should be the same as the charge currency.
357
- * @immutable
358
- * @format CURRENCY
359
- */
360
- currencyCode?: string | null;
361
- /**
362
- * Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
363
- * @immutable
364
- * @decimalValue options { gt:0, maxScale:8 }
365
- */
366
- amount?: string | null;
367
- /**
368
- * Network reason code
369
- * @minLength 1
370
- * @maxLength 64
371
- */
372
- networkReasonCode?: string | null;
373
- /** External or Internal */
374
- external?: boolean | null;
375
- /**
376
- * Seller protection
377
- * @minLength 1
378
- * @maxLength 64
379
- */
380
- sellerProtection?: string | null;
381
- /** Is charge refundable */
382
- chargeRefundable?: boolean | null;
383
- }
384
- export interface CreateDisputeManuallyResponse {
385
- }
386
- export interface ChangeDisputeStatusManuallyRequest {
387
- /**
388
- * Dispute ID
389
- * @format GUID
390
- */
391
- disputeId?: string;
392
- /** Changed date */
393
- changedDate?: Date | null;
394
- /** Dispute status based on provider dispute status */
395
- status?: DisputeStatusWithLiterals;
396
- }
397
- export interface ChangeDisputeStatusManuallyResponse {
398
- }
399
- export interface BulkUpdateDisputeTagsRequest {
331
+ interface BulkUpdateDisputeTagsRequest {
400
332
  /**
401
333
  * List of NileProtoTagsEntities that their tags will update.
402
334
  * @minSize 1
@@ -431,11 +363,11 @@ export interface BulkUpdateDisputeTagsRequest {
431
363
  * }
432
364
  * }
433
365
  */
434
- export interface Tags {
366
+ interface Tags {
435
367
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
436
368
  tags?: TagsTagList;
437
369
  }
438
- export interface TagsTagList {
370
+ interface TagsTagList {
439
371
  /**
440
372
  * List of tag IDs
441
373
  * @maxSize 100
@@ -443,7 +375,7 @@ export interface TagsTagList {
443
375
  */
444
376
  tagIds?: string[];
445
377
  }
446
- export interface BulkUpdateDisputeTagsResponse {
378
+ interface BulkUpdateDisputeTagsResponse {
447
379
  /**
448
380
  * Results
449
381
  * @minSize 1
@@ -453,7 +385,7 @@ export interface BulkUpdateDisputeTagsResponse {
453
385
  /** Metadata regarding the bulk update operation */
454
386
  bulkActionMetadata?: BulkActionMetadata;
455
387
  }
456
- export interface ItemMetadata {
388
+ interface ItemMetadata {
457
389
  /**
458
390
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
459
391
  * @format GUID
@@ -466,7 +398,7 @@ export interface ItemMetadata {
466
398
  /** Details about the error in case of failure. */
467
399
  error?: ApplicationError;
468
400
  }
469
- export interface ApplicationError {
401
+ interface ApplicationError {
470
402
  /** Error code. */
471
403
  code?: string;
472
404
  /** Description of the error. */
@@ -474,11 +406,11 @@ export interface ApplicationError {
474
406
  /** Data related to the error. */
475
407
  data?: Record<string, any> | null;
476
408
  }
477
- export interface BulkUpdateDisputeTagsResult {
409
+ interface BulkUpdateDisputeTagsResult {
478
410
  /** Metadata regarding the specific single update operation */
479
411
  itemMetadata?: ItemMetadata;
480
412
  }
481
- export interface BulkActionMetadata {
413
+ interface BulkActionMetadata {
482
414
  /** Number of items that were successfully processed. */
483
415
  totalSuccesses?: number;
484
416
  /** Number of items that couldn't be processed. */
@@ -486,7 +418,7 @@ export interface BulkActionMetadata {
486
418
  /** Number of failures without details because detailed failure threshold was exceeded. */
487
419
  undetailedFailures?: number;
488
420
  }
489
- export interface BulkUpdateDisputeTagsByFilterRequest {
421
+ interface BulkUpdateDisputeTagsByFilterRequest {
490
422
  /** Filter */
491
423
  filter: Record<string, any> | null;
492
424
  /** List of Tags to assign */
@@ -494,146 +426,38 @@ export interface BulkUpdateDisputeTagsByFilterRequest {
494
426
  /** List of Tags to unAssign */
495
427
  unassignTags?: Tags;
496
428
  }
497
- export interface BulkUpdateDisputeTagsByFilterResponse {
429
+ interface BulkUpdateDisputeTagsByFilterResponse {
498
430
  /**
499
431
  * Job ID
500
432
  * @format GUID
501
433
  */
502
434
  jobId?: string;
503
435
  }
504
- export interface DomainEvent extends DomainEventBodyOneOf {
505
- createdEvent?: EntityCreatedEvent;
506
- updatedEvent?: EntityUpdatedEvent;
507
- deletedEvent?: EntityDeletedEvent;
508
- actionEvent?: ActionEvent;
509
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
510
- id?: string;
511
- /**
512
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
513
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
514
- */
515
- entityFqdn?: string;
516
- /**
517
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
518
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
519
- */
520
- slug?: string;
521
- /** ID of the entity associated with the event. */
522
- entityId?: string;
523
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
524
- eventTime?: Date | null;
525
- /**
526
- * Whether the event was triggered as a result of a privacy regulation application
527
- * (for example, GDPR).
528
- */
529
- triggeredByAnonymizeRequest?: boolean | null;
530
- /** If present, indicates the action that triggered the event. */
531
- originatedFrom?: string | null;
532
- /**
533
- * 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.
534
- * 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.
535
- */
536
- entityEventSequence?: string | null;
537
- }
538
- /** @oneof */
539
- export interface DomainEventBodyOneOf {
540
- createdEvent?: EntityCreatedEvent;
541
- updatedEvent?: EntityUpdatedEvent;
542
- deletedEvent?: EntityDeletedEvent;
543
- actionEvent?: ActionEvent;
544
- }
545
- export interface EntityCreatedEvent {
546
- entityAsJson?: string;
547
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
548
- restoreInfo?: RestoreInfo;
549
- }
550
- export interface RestoreInfo {
551
- deletedDate?: Date | null;
552
- }
553
- export interface EntityUpdatedEvent {
554
- /**
555
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
556
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
557
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
558
- */
559
- currentEntityAsJson?: string;
560
- }
561
- export interface EntityDeletedEvent {
562
- /** Entity that was deleted. */
563
- deletedEntityAsJson?: string | null;
564
- }
565
- export interface ActionEvent {
566
- bodyAsJson?: string;
567
- }
568
- export interface MessageEnvelope {
569
- /**
570
- * App instance ID.
571
- * @format GUID
572
- */
573
- instanceId?: string | null;
574
- /**
575
- * Event type.
576
- * @maxLength 150
577
- */
578
- eventType?: string;
579
- /** The identification type and identity data. */
580
- identity?: IdentificationData;
581
- /** Stringify payload. */
582
- data?: string;
583
- }
584
- export interface IdentificationData extends IdentificationDataIdOneOf {
585
- /**
586
- * ID of a site visitor that has not logged in to the site.
587
- * @format GUID
588
- */
589
- anonymousVisitorId?: string;
590
- /**
591
- * ID of a site visitor that has logged in to the site.
592
- * @format GUID
593
- */
594
- memberId?: string;
595
- /**
596
- * ID of a Wix user (site owner, contributor, etc.).
597
- * @format GUID
598
- */
599
- wixUserId?: string;
600
- /**
601
- * ID of an app.
602
- * @format GUID
603
- */
604
- appId?: string;
605
- /** @readonly */
606
- identityType?: WebhookIdentityTypeWithLiterals;
607
- }
608
- /** @oneof */
609
- export interface IdentificationDataIdOneOf {
610
- /**
611
- * ID of a site visitor that has not logged in to the site.
612
- * @format GUID
613
- */
614
- anonymousVisitorId?: string;
615
- /**
616
- * ID of a site visitor that has logged in to the site.
617
- * @format GUID
618
- */
619
- memberId?: string;
620
- /**
621
- * ID of a Wix user (site owner, contributor, etc.).
622
- * @format GUID
623
- */
624
- wixUserId?: string;
625
- /**
626
- * ID of an app.
627
- * @format GUID
628
- */
629
- appId?: string;
630
- }
631
- export declare enum WebhookIdentityType {
632
- UNKNOWN = "UNKNOWN",
633
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
634
- MEMBER = "MEMBER",
635
- WIX_USER = "WIX_USER",
636
- APP = "APP"
637
- }
638
- /** @enumType */
639
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
436
+
437
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
438
+ getUrl: (context: any) => string;
439
+ httpMethod: K;
440
+ path: string;
441
+ pathParams: M;
442
+ __requestType: T;
443
+ __originalRequestType: S;
444
+ __responseType: Q;
445
+ __originalResponseType: R;
446
+ };
447
+ declare function getDispute(): __PublicMethodMetaInfo<'GET', {
448
+ disputeId: string;
449
+ }, GetDisputeRequest$1, GetDisputeRequest, GetDisputeResponse$1, GetDisputeResponse>;
450
+ declare function queryDisputes(): __PublicMethodMetaInfo<'GET', {}, QueryDisputesRequest$1, QueryDisputesRequest, QueryDisputesResponse$1, QueryDisputesResponse>;
451
+ declare function getDisputeActions(): __PublicMethodMetaInfo<'GET', {
452
+ disputeId: string;
453
+ }, GetDisputeActionsRequest$1, GetDisputeActionsRequest, GetDisputeActionsResponse$1, GetDisputeActionsResponse>;
454
+ declare function acceptDispute(): __PublicMethodMetaInfo<'POST', {
455
+ disputeId: string;
456
+ }, AcceptDisputeRequest$1, AcceptDisputeRequest, AcceptDisputeResponse$1, AcceptDisputeResponse>;
457
+ declare function submitDisputeEvidence(): __PublicMethodMetaInfo<'POST', {
458
+ disputeId: string;
459
+ }, SubmitDisputeEvidenceRequest$1, SubmitDisputeEvidenceRequest, SubmitDisputeEvidenceResponse$1, SubmitDisputeEvidenceResponse>;
460
+ declare function bulkUpdateDisputeTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeTagsRequest$1, BulkUpdateDisputeTagsRequest, BulkUpdateDisputeTagsResponse$1, BulkUpdateDisputeTagsResponse>;
461
+ declare function bulkUpdateDisputeTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeTagsByFilterRequest$1, BulkUpdateDisputeTagsByFilterRequest, BulkUpdateDisputeTagsByFilterResponse$1, BulkUpdateDisputeTagsByFilterResponse>;
462
+
463
+ export { type __PublicMethodMetaInfo, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, getDispute, getDisputeActions, queryDisputes, submitDisputeEvidence };