@wix/auto_sdk_payments_disputes 1.0.7 → 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.
- package/build/{cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.mts} +59 -117
- package/build/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.ts} +59 -117
- package/build/index.js +588 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +550 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +87 -0
- package/build/internal/index.d.ts +87 -0
- package/build/internal/index.js +588 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +550 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/payments-disputes-v1-dispute-disputes.types.d.ts → internal/meta.d.mts} +68 -310
- package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +68 -310
- package/build/internal/meta.js +366 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +333 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.mts} +59 -189
- package/build/internal/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.ts} +59 -189
- package/build/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.mts} +68 -310
- package/build/{internal/es/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +68 -310
- package/build/meta.js +366 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +333 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -2
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.js +0 -29
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.js +0 -217
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +0 -161
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -4
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.js +0 -64
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.js +0 -94
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +0 -386
- package/build/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -2
- package/build/es/src/payments-disputes-v1-dispute-disputes.context.js +0 -18
- package/build/es/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
- package/build/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
- package/build/es/src/payments-disputes-v1-dispute-disputes.http.js +0 -207
- package/build/es/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
- package/build/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
- package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js +0 -128
- package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
- package/build/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -4
- package/build/es/src/payments-disputes-v1-dispute-disputes.public.js +0 -46
- package/build/es/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
- package/build/es/src/payments-disputes-v1-dispute-disputes.types.js +0 -91
- package/build/es/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
- package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js +0 -353
- package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -18
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js +0 -29
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js +0 -217
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +0 -161
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -72
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js +0 -64
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js +0 -94
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +0 -386
- package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -18
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js +0 -18
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js +0 -207
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js +0 -128
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -72
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js +0 -46
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js +0 -91
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js +0 -353
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
174
|
+
interface GetDisputeResponse {
|
|
175
175
|
/** The requested Dispute. */
|
|
176
176
|
dispute?: Dispute;
|
|
177
177
|
}
|
|
178
|
-
|
|
178
|
+
interface QueryDisputesRequest {
|
|
179
179
|
/** WQL expression. */
|
|
180
180
|
query?: CursorQuery;
|
|
181
181
|
}
|
|
182
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
215
|
+
declare enum SortOrder {
|
|
216
216
|
ASC = "ASC",
|
|
217
217
|
DESC = "DESC"
|
|
218
218
|
}
|
|
219
|
-
|
|
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
|
-
|
|
234
|
+
interface QueryDisputesResponse {
|
|
235
235
|
/** List of Disputes. */
|
|
236
236
|
disputes?: Dispute[];
|
|
237
237
|
/** Paging metadata */
|
|
238
238
|
pagingMetadata?: CursorPagingMetadata;
|
|
239
239
|
}
|
|
240
|
-
|
|
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
|
-
|
|
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
|
-
|
|
265
|
+
interface GetDisputeActionsRequest {
|
|
266
266
|
/**
|
|
267
267
|
* Dispute ID
|
|
268
268
|
* @format GUID
|
|
269
269
|
*/
|
|
270
270
|
disputeId: string;
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
interface GetDisputeActionsResponse {
|
|
273
273
|
/**
|
|
274
274
|
* Dispute actions
|
|
275
275
|
* @maxSize 20
|
|
276
276
|
*/
|
|
277
277
|
actions?: DisputeAction[];
|
|
278
278
|
}
|
|
279
|
-
|
|
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
|
-
|
|
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
|
-
|
|
293
|
+
interface AcceptDisputeRequest {
|
|
294
294
|
/**
|
|
295
295
|
* Dispute ID
|
|
296
296
|
* @format GUID
|
|
297
297
|
*/
|
|
298
298
|
disputeId: string;
|
|
299
299
|
}
|
|
300
|
-
|
|
300
|
+
interface AcceptDisputeResponse {
|
|
301
301
|
/** Dispute */
|
|
302
302
|
dispute?: Dispute;
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
interface SubmitDisputeEvidenceRequest {
|
|
305
305
|
/**
|
|
306
306
|
* Dispute ID
|
|
307
307
|
* @format GUID
|
|
308
308
|
*/
|
|
309
309
|
disputeId: string;
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
interface SubmitDisputeEvidenceResponse {
|
|
312
312
|
/** Dispute */
|
|
313
313
|
dispute?: Dispute;
|
|
314
314
|
}
|
|
315
|
-
|
|
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
|
-
|
|
370
|
+
interface CreateDisputeManuallyResponse {
|
|
371
371
|
}
|
|
372
|
-
|
|
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
|
-
|
|
383
|
+
interface ChangeDisputeStatusManuallyResponse {
|
|
384
384
|
}
|
|
385
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
463
|
+
interface BulkUpdateDisputeTagsResult {
|
|
464
464
|
/** Metadata regarding the specific single update operation */
|
|
465
465
|
itemMetadata?: ItemMetadata;
|
|
466
466
|
}
|
|
467
|
-
|
|
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
|
-
|
|
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
|
-
|
|
483
|
+
interface BulkUpdateDisputeTagsByFilterResponse {
|
|
484
484
|
/**
|
|
485
485
|
* Job ID
|
|
486
486
|
* @format GUID
|
|
487
487
|
*/
|
|
488
488
|
jobId?: string;
|
|
489
489
|
}
|
|
490
|
-
|
|
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
|
-
|
|
533
|
+
interface DomainEventBodyOneOf {
|
|
534
534
|
createdEvent?: EntityCreatedEvent;
|
|
535
535
|
updatedEvent?: EntityUpdatedEvent;
|
|
536
536
|
deletedEvent?: EntityDeletedEvent;
|
|
537
537
|
actionEvent?: ActionEvent;
|
|
538
538
|
}
|
|
539
|
-
|
|
539
|
+
interface EntityCreatedEvent {
|
|
540
540
|
entity?: string;
|
|
541
541
|
}
|
|
542
|
-
|
|
542
|
+
interface RestoreInfo {
|
|
543
543
|
deletedDate?: Date | null;
|
|
544
544
|
}
|
|
545
|
-
|
|
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
|
-
|
|
553
|
+
interface EntityDeletedEvent {
|
|
554
554
|
/** Entity that was deleted */
|
|
555
555
|
deletedEntity?: string | null;
|
|
556
556
|
}
|
|
557
|
-
|
|
557
|
+
interface ActionEvent {
|
|
558
558
|
body?: string;
|
|
559
559
|
}
|
|
560
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 };
|