@wix/auto_sdk_payments_disputes 1.0.17 → 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 +12 -11
  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,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",
@@ -88,8 +88,8 @@ export declare enum DisputeStage {
88
88
  CHARGEBACK = "CHARGEBACK"
89
89
  }
90
90
  /** @enumType */
91
- export type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
92
- export declare enum DisputeReason {
91
+ type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
92
+ declare enum DisputeReason {
93
93
  /** Unknown reason */
94
94
  UNKNOWN_DISPUTE_REASON = "UNKNOWN_DISPUTE_REASON",
95
95
  /** Fraud card */
@@ -114,8 +114,8 @@ export declare enum DisputeReason {
114
114
  OTHER = "OTHER"
115
115
  }
116
116
  /** @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 {
117
+ 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
+ declare enum DisputeStatus {
119
119
  /** Unknown status */
120
120
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
121
121
  /** Waiting for some merchant action */
@@ -130,8 +130,8 @@ export declare enum DisputeStatus {
130
130
  LOST = "LOST"
131
131
  }
132
132
  /** @enumType */
133
- export type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
134
- export declare enum SellerProtection {
133
+ type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
134
+ declare enum SellerProtection {
135
135
  UNKNOWN_SELLER_PROTECTION = "UNKNOWN_SELLER_PROTECTION",
136
136
  /** Not Eligible */
137
137
  NOT_ELIGIBLE = "NOT_ELIGIBLE",
@@ -141,8 +141,8 @@ export declare enum SellerProtection {
141
141
  EXTENDED = "EXTENDED"
142
142
  }
143
143
  /** @enumType */
144
- export type SellerProtectionWithLiterals = SellerProtection | 'UNKNOWN_SELLER_PROTECTION' | 'NOT_ELIGIBLE' | 'ELIGIBLE' | 'EXTENDED';
145
- export declare enum DisputeChannel {
144
+ type SellerProtectionWithLiterals = SellerProtection | 'UNKNOWN_SELLER_PROTECTION' | 'NOT_ELIGIBLE' | 'ELIGIBLE' | 'EXTENDED';
145
+ declare enum DisputeChannel {
146
146
  UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
147
147
  /** Internal, the dispute is reviewed by PSP */
148
148
  INTERNAL = "INTERNAL",
@@ -150,8 +150,8 @@ export declare enum DisputeChannel {
150
150
  EXTERNAL = "EXTERNAL"
151
151
  }
152
152
  /** @enumType */
153
- export type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
154
- export interface ExtendedFields {
153
+ type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
154
+ interface ExtendedFields {
155
155
  /**
156
156
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
157
157
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -162,11 +162,11 @@ export interface ExtendedFields {
162
162
  */
163
163
  namespaces?: Record<string, Record<string, any>>;
164
164
  }
165
- export interface PublicTags {
165
+ interface PublicTags {
166
166
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
167
167
  tags?: TagList;
168
168
  }
169
- export interface TagList {
169
+ interface TagList {
170
170
  /**
171
171
  * List of tag IDs
172
172
  * @maxSize 100
@@ -174,22 +174,22 @@ export interface TagList {
174
174
  */
175
175
  tagIds?: string[];
176
176
  }
177
- export interface GetDisputeRequest {
177
+ interface GetDisputeRequest {
178
178
  /**
179
179
  * ID of the Dispute to retrieve.
180
180
  * @format GUID
181
181
  */
182
182
  disputeId: string;
183
183
  }
184
- export interface GetDisputeResponse {
184
+ interface GetDisputeResponse {
185
185
  /** The requested Dispute. */
186
186
  dispute?: Dispute;
187
187
  }
188
- export interface QueryDisputesRequest {
188
+ interface QueryDisputesRequest {
189
189
  /** WQL expression. */
190
190
  query?: CursorQuery;
191
191
  }
192
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
192
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
193
193
  /** 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
194
  cursorPaging?: CursorPaging;
195
195
  /**
@@ -209,11 +209,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
209
209
  sort?: Sorting[];
210
210
  }
211
211
  /** @oneof */
212
- export interface CursorQueryPagingMethodOneOf {
212
+ interface CursorQueryPagingMethodOneOf {
213
213
  /** 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
214
  cursorPaging?: CursorPaging;
215
215
  }
216
- export interface Sorting {
216
+ interface Sorting {
217
217
  /**
218
218
  * Name of the field to sort by.
219
219
  * @maxLength 512
@@ -222,13 +222,13 @@ export interface Sorting {
222
222
  /** Sort order. */
223
223
  order?: SortOrderWithLiterals;
224
224
  }
225
- export declare enum SortOrder {
225
+ declare enum SortOrder {
226
226
  ASC = "ASC",
227
227
  DESC = "DESC"
228
228
  }
229
229
  /** @enumType */
230
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
231
- export interface CursorPaging {
230
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
231
+ interface CursorPaging {
232
232
  /**
233
233
  * Maximum number of items to return in the results.
234
234
  * @max 100
@@ -243,13 +243,13 @@ export interface CursorPaging {
243
243
  */
244
244
  cursor?: string | null;
245
245
  }
246
- export interface QueryDisputesResponse {
246
+ interface QueryDisputesResponse {
247
247
  /** List of Disputes. */
248
248
  disputes?: Dispute[];
249
249
  /** Paging metadata */
250
250
  pagingMetadata?: CursorPagingMetadata;
251
251
  }
252
- export interface CursorPagingMetadata {
252
+ interface CursorPagingMetadata {
253
253
  /** Number of items returned in the response. */
254
254
  count?: number | null;
255
255
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -262,7 +262,7 @@ export interface CursorPagingMetadata {
262
262
  */
263
263
  hasNext?: boolean | null;
264
264
  }
265
- export interface Cursors {
265
+ interface Cursors {
266
266
  /**
267
267
  * Cursor string pointing to the next page in the list of results.
268
268
  * @maxLength 16000
@@ -274,27 +274,27 @@ export interface Cursors {
274
274
  */
275
275
  prev?: string | null;
276
276
  }
277
- export interface GetDisputeActionsRequest {
277
+ interface GetDisputeActionsRequest {
278
278
  /**
279
279
  * Dispute ID
280
280
  * @format GUID
281
281
  */
282
282
  disputeId: string;
283
283
  }
284
- export interface GetDisputeActionsResponse {
284
+ interface GetDisputeActionsResponse {
285
285
  /**
286
286
  * Dispute actions
287
287
  * @maxSize 20
288
288
  */
289
289
  actions?: DisputeAction[];
290
290
  }
291
- export interface DisputeAction {
291
+ interface DisputeAction {
292
292
  /** Dispute Action type */
293
293
  type?: DisputeActionTypeWithLiterals;
294
294
  /** The latest date and time until which the action can be performed */
295
295
  dueDate?: Date | null;
296
296
  }
297
- export declare enum DisputeActionType {
297
+ declare enum DisputeActionType {
298
298
  /** Unknown dispute status */
299
299
  UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
300
300
  /** Accept dispute */
@@ -303,30 +303,30 @@ export declare enum DisputeActionType {
303
303
  SUBMIT_EVIDENCE = "SUBMIT_EVIDENCE"
304
304
  }
305
305
  /** @enumType */
306
- export type DisputeActionTypeWithLiterals = DisputeActionType | 'UNKNOWN_DISPUTE_ACTION' | 'ACCEPT' | 'SUBMIT_EVIDENCE';
307
- export interface AcceptDisputeRequest {
306
+ type DisputeActionTypeWithLiterals = DisputeActionType | 'UNKNOWN_DISPUTE_ACTION' | 'ACCEPT' | 'SUBMIT_EVIDENCE';
307
+ interface AcceptDisputeRequest {
308
308
  /**
309
309
  * Dispute ID
310
310
  * @format GUID
311
311
  */
312
312
  disputeId: string;
313
313
  }
314
- export interface AcceptDisputeResponse {
314
+ interface AcceptDisputeResponse {
315
315
  /** Dispute */
316
316
  dispute?: Dispute;
317
317
  }
318
- export interface SubmitDisputeEvidenceRequest {
318
+ interface SubmitDisputeEvidenceRequest {
319
319
  /**
320
320
  * Dispute ID
321
321
  * @format GUID
322
322
  */
323
323
  disputeId: string;
324
324
  }
325
- export interface SubmitDisputeEvidenceResponse {
325
+ interface SubmitDisputeEvidenceResponse {
326
326
  /** Dispute */
327
327
  dispute?: Dispute;
328
328
  }
329
- export interface CreateDisputeManuallyRequest {
329
+ interface CreateDisputeManuallyRequest {
330
330
  /**
331
331
  * Dispute Id
332
332
  * @format GUID
@@ -381,9 +381,9 @@ export interface CreateDisputeManuallyRequest {
381
381
  /** Is charge refundable */
382
382
  chargeRefundable?: boolean | null;
383
383
  }
384
- export interface CreateDisputeManuallyResponse {
384
+ interface CreateDisputeManuallyResponse {
385
385
  }
386
- export interface ChangeDisputeStatusManuallyRequest {
386
+ interface ChangeDisputeStatusManuallyRequest {
387
387
  /**
388
388
  * Dispute ID
389
389
  * @format GUID
@@ -394,9 +394,9 @@ export interface ChangeDisputeStatusManuallyRequest {
394
394
  /** Dispute status based on provider dispute status */
395
395
  status?: DisputeStatusWithLiterals;
396
396
  }
397
- export interface ChangeDisputeStatusManuallyResponse {
397
+ interface ChangeDisputeStatusManuallyResponse {
398
398
  }
399
- export interface BulkUpdateDisputeTagsRequest {
399
+ interface BulkUpdateDisputeTagsRequest {
400
400
  /**
401
401
  * List of NileProtoTagsEntities that their tags will update.
402
402
  * @minSize 1
@@ -431,11 +431,11 @@ export interface BulkUpdateDisputeTagsRequest {
431
431
  * }
432
432
  * }
433
433
  */
434
- export interface Tags {
434
+ interface Tags {
435
435
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
436
436
  tags?: TagsTagList;
437
437
  }
438
- export interface TagsTagList {
438
+ interface TagsTagList {
439
439
  /**
440
440
  * List of tag IDs
441
441
  * @maxSize 100
@@ -443,7 +443,7 @@ export interface TagsTagList {
443
443
  */
444
444
  tagIds?: string[];
445
445
  }
446
- export interface BulkUpdateDisputeTagsResponse {
446
+ interface BulkUpdateDisputeTagsResponse {
447
447
  /**
448
448
  * Results
449
449
  * @minSize 1
@@ -453,7 +453,7 @@ export interface BulkUpdateDisputeTagsResponse {
453
453
  /** Metadata regarding the bulk update operation */
454
454
  bulkActionMetadata?: BulkActionMetadata;
455
455
  }
456
- export interface ItemMetadata {
456
+ interface ItemMetadata {
457
457
  /**
458
458
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
459
459
  * @format GUID
@@ -466,7 +466,7 @@ export interface ItemMetadata {
466
466
  /** Details about the error in case of failure. */
467
467
  error?: ApplicationError;
468
468
  }
469
- export interface ApplicationError {
469
+ interface ApplicationError {
470
470
  /** Error code. */
471
471
  code?: string;
472
472
  /** Description of the error. */
@@ -474,11 +474,11 @@ export interface ApplicationError {
474
474
  /** Data related to the error. */
475
475
  data?: Record<string, any> | null;
476
476
  }
477
- export interface BulkUpdateDisputeTagsResult {
477
+ interface BulkUpdateDisputeTagsResult {
478
478
  /** Metadata regarding the specific single update operation */
479
479
  itemMetadata?: ItemMetadata;
480
480
  }
481
- export interface BulkActionMetadata {
481
+ interface BulkActionMetadata {
482
482
  /** Number of items that were successfully processed. */
483
483
  totalSuccesses?: number;
484
484
  /** Number of items that couldn't be processed. */
@@ -486,7 +486,7 @@ export interface BulkActionMetadata {
486
486
  /** Number of failures without details because detailed failure threshold was exceeded. */
487
487
  undetailedFailures?: number;
488
488
  }
489
- export interface BulkUpdateDisputeTagsByFilterRequest {
489
+ interface BulkUpdateDisputeTagsByFilterRequest {
490
490
  /** Filter */
491
491
  filter: Record<string, any> | null;
492
492
  /** List of Tags to assign */
@@ -494,14 +494,14 @@ export interface BulkUpdateDisputeTagsByFilterRequest {
494
494
  /** List of Tags to unAssign */
495
495
  unassignTags?: Tags;
496
496
  }
497
- export interface BulkUpdateDisputeTagsByFilterResponse {
497
+ interface BulkUpdateDisputeTagsByFilterResponse {
498
498
  /**
499
499
  * Job ID
500
500
  * @format GUID
501
501
  */
502
502
  jobId?: string;
503
503
  }
504
- export interface DomainEvent extends DomainEventBodyOneOf {
504
+ interface DomainEvent extends DomainEventBodyOneOf {
505
505
  createdEvent?: EntityCreatedEvent;
506
506
  updatedEvent?: EntityUpdatedEvent;
507
507
  deletedEvent?: EntityDeletedEvent;
@@ -536,19 +536,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
536
536
  entityEventSequence?: string | null;
537
537
  }
538
538
  /** @oneof */
539
- export interface DomainEventBodyOneOf {
539
+ interface DomainEventBodyOneOf {
540
540
  createdEvent?: EntityCreatedEvent;
541
541
  updatedEvent?: EntityUpdatedEvent;
542
542
  deletedEvent?: EntityDeletedEvent;
543
543
  actionEvent?: ActionEvent;
544
544
  }
545
- export interface EntityCreatedEvent {
545
+ interface EntityCreatedEvent {
546
546
  entity?: string;
547
547
  }
548
- export interface RestoreInfo {
548
+ interface RestoreInfo {
549
549
  deletedDate?: Date | null;
550
550
  }
551
- export interface EntityUpdatedEvent {
551
+ interface EntityUpdatedEvent {
552
552
  /**
553
553
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
554
554
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -556,14 +556,14 @@ export interface EntityUpdatedEvent {
556
556
  */
557
557
  currentEntity?: string;
558
558
  }
559
- export interface EntityDeletedEvent {
559
+ interface EntityDeletedEvent {
560
560
  /** Entity that was deleted. */
561
561
  deletedEntity?: string | null;
562
562
  }
563
- export interface ActionEvent {
563
+ interface ActionEvent {
564
564
  body?: string;
565
565
  }
566
- export interface MessageEnvelope {
566
+ interface MessageEnvelope {
567
567
  /**
568
568
  * App instance ID.
569
569
  * @format GUID
@@ -579,7 +579,7 @@ export interface MessageEnvelope {
579
579
  /** Stringify payload. */
580
580
  data?: string;
581
581
  }
582
- export interface IdentificationData extends IdentificationDataIdOneOf {
582
+ interface IdentificationData extends IdentificationDataIdOneOf {
583
583
  /**
584
584
  * ID of a site visitor that has not logged in to the site.
585
585
  * @format GUID
@@ -604,7 +604,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
604
604
  identityType?: WebhookIdentityTypeWithLiterals;
605
605
  }
606
606
  /** @oneof */
607
- export interface IdentificationDataIdOneOf {
607
+ interface IdentificationDataIdOneOf {
608
608
  /**
609
609
  * ID of a site visitor that has not logged in to the site.
610
610
  * @format GUID
@@ -626,7 +626,7 @@ export interface IdentificationDataIdOneOf {
626
626
  */
627
627
  appId?: string;
628
628
  }
629
- export declare enum WebhookIdentityType {
629
+ declare enum WebhookIdentityType {
630
630
  UNKNOWN = "UNKNOWN",
631
631
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
632
632
  MEMBER = "MEMBER",
@@ -634,7 +634,7 @@ export declare enum WebhookIdentityType {
634
634
  APP = "APP"
635
635
  }
636
636
  /** @enumType */
637
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
637
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
638
638
  interface QueryCursorResult {
639
639
  cursors: Cursors;
640
640
  hasNext: () => boolean;
@@ -642,13 +642,13 @@ interface QueryCursorResult {
642
642
  length: number;
643
643
  pageSize: number;
644
644
  }
645
- export interface DisputesQueryResult extends QueryCursorResult {
645
+ interface DisputesQueryResult extends QueryCursorResult {
646
646
  items: Dispute[];
647
647
  query: DisputesQueryBuilder;
648
648
  next: () => Promise<DisputesQueryResult>;
649
649
  prev: () => Promise<DisputesQueryResult>;
650
650
  }
651
- export interface DisputesQueryBuilder {
651
+ interface DisputesQueryBuilder {
652
652
  /** @param propertyName - Property whose value is compared with `value`.
653
653
  * @param value - Value to compare against.
654
654
  * @documentationMaturity preview
@@ -712,16 +712,17 @@ export interface DisputesQueryBuilder {
712
712
  /** @documentationMaturity preview */
713
713
  find: () => Promise<DisputesQueryResult>;
714
714
  }
715
- export interface BulkUpdateDisputeTagsOptions {
715
+ interface BulkUpdateDisputeTagsOptions {
716
716
  /** List of Tags to assign */
717
717
  assignTags?: Tags;
718
718
  /** List of Tags to unAssign */
719
719
  unassignTags?: Tags;
720
720
  }
721
- export interface BulkUpdateDisputeTagsByFilterOptions {
721
+ interface BulkUpdateDisputeTagsByFilterOptions {
722
722
  /** List of Tags to assign */
723
723
  assignTags?: Tags;
724
724
  /** List of Tags to unAssign */
725
725
  unassignTags?: Tags;
726
726
  }
727
- export {};
727
+
728
+ 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 };