@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
package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts}
RENAMED
|
@@ -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-T48jckbY.js';
|
|
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
|
-
|
|
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
|
-
|
|
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",
|
|
@@ -87,7 +89,7 @@ export declare enum DisputeStage {
|
|
|
87
89
|
/** Chargeback */
|
|
88
90
|
CHARGEBACK = "CHARGEBACK"
|
|
89
91
|
}
|
|
90
|
-
|
|
92
|
+
declare enum DisputeReason {
|
|
91
93
|
/** Unknown reason */
|
|
92
94
|
UNKNOWN_DISPUTE_REASON = "UNKNOWN_DISPUTE_REASON",
|
|
93
95
|
/** Fraud card */
|
|
@@ -111,7 +113,7 @@ export declare enum DisputeReason {
|
|
|
111
113
|
/** Other reason */
|
|
112
114
|
OTHER = "OTHER"
|
|
113
115
|
}
|
|
114
|
-
|
|
116
|
+
declare enum DisputeStatus {
|
|
115
117
|
/** Unknown status */
|
|
116
118
|
UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
|
|
117
119
|
/** Waiting for some merchant action */
|
|
@@ -125,7 +127,7 @@ export declare enum DisputeStatus {
|
|
|
125
127
|
/** Dispute lost */
|
|
126
128
|
LOST = "LOST"
|
|
127
129
|
}
|
|
128
|
-
|
|
130
|
+
declare enum SellerProtection {
|
|
129
131
|
UNKNOWN_SELLER_PROTECTION = "UNKNOWN_SELLER_PROTECTION",
|
|
130
132
|
/** Not Eligible */
|
|
131
133
|
NOT_ELIGIBLE = "NOT_ELIGIBLE",
|
|
@@ -134,14 +136,14 @@ export declare enum SellerProtection {
|
|
|
134
136
|
/** Extended seller protection */
|
|
135
137
|
EXTENDED = "EXTENDED"
|
|
136
138
|
}
|
|
137
|
-
|
|
139
|
+
declare enum DisputeChannel {
|
|
138
140
|
UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
|
|
139
141
|
/** Internal, the dispute is reviewed by PSP */
|
|
140
142
|
INTERNAL = "INTERNAL",
|
|
141
143
|
/** External, the dispute is reviewed by bank (or other financial institution) */
|
|
142
144
|
EXTERNAL = "EXTERNAL"
|
|
143
145
|
}
|
|
144
|
-
|
|
146
|
+
interface ExtendedFields {
|
|
145
147
|
/**
|
|
146
148
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
147
149
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -152,11 +154,11 @@ export interface ExtendedFields {
|
|
|
152
154
|
*/
|
|
153
155
|
namespaces?: Record<string, Record<string, any>>;
|
|
154
156
|
}
|
|
155
|
-
|
|
157
|
+
interface PublicTags {
|
|
156
158
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
157
159
|
tags?: TagList;
|
|
158
160
|
}
|
|
159
|
-
|
|
161
|
+
interface TagList {
|
|
160
162
|
/**
|
|
161
163
|
* List of tag IDs
|
|
162
164
|
* @maxSize 100
|
|
@@ -164,22 +166,22 @@ export interface TagList {
|
|
|
164
166
|
*/
|
|
165
167
|
tagIds?: string[];
|
|
166
168
|
}
|
|
167
|
-
|
|
169
|
+
interface GetDisputeRequest {
|
|
168
170
|
/**
|
|
169
171
|
* ID of the Dispute to retrieve.
|
|
170
172
|
* @format GUID
|
|
171
173
|
*/
|
|
172
174
|
disputeId: string;
|
|
173
175
|
}
|
|
174
|
-
|
|
176
|
+
interface GetDisputeResponse {
|
|
175
177
|
/** The requested Dispute. */
|
|
176
178
|
dispute?: Dispute;
|
|
177
179
|
}
|
|
178
|
-
|
|
180
|
+
interface QueryDisputesRequest {
|
|
179
181
|
/** WQL expression. */
|
|
180
182
|
query?: CursorQuery;
|
|
181
183
|
}
|
|
182
|
-
|
|
184
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
183
185
|
/** 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
186
|
cursorPaging?: CursorPaging;
|
|
185
187
|
/**
|
|
@@ -199,11 +201,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
199
201
|
sort?: Sorting[];
|
|
200
202
|
}
|
|
201
203
|
/** @oneof */
|
|
202
|
-
|
|
204
|
+
interface CursorQueryPagingMethodOneOf {
|
|
203
205
|
/** 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
206
|
cursorPaging?: CursorPaging;
|
|
205
207
|
}
|
|
206
|
-
|
|
208
|
+
interface Sorting {
|
|
207
209
|
/**
|
|
208
210
|
* Name of the field to sort by.
|
|
209
211
|
* @maxLength 512
|
|
@@ -212,11 +214,11 @@ export interface Sorting {
|
|
|
212
214
|
/** Sort order. */
|
|
213
215
|
order?: SortOrder;
|
|
214
216
|
}
|
|
215
|
-
|
|
217
|
+
declare enum SortOrder {
|
|
216
218
|
ASC = "ASC",
|
|
217
219
|
DESC = "DESC"
|
|
218
220
|
}
|
|
219
|
-
|
|
221
|
+
interface CursorPaging {
|
|
220
222
|
/**
|
|
221
223
|
* Maximum number of items to return in the results.
|
|
222
224
|
* @max 100
|
|
@@ -231,13 +233,13 @@ export interface CursorPaging {
|
|
|
231
233
|
*/
|
|
232
234
|
cursor?: string | null;
|
|
233
235
|
}
|
|
234
|
-
|
|
236
|
+
interface QueryDisputesResponse {
|
|
235
237
|
/** List of Disputes. */
|
|
236
238
|
disputes?: Dispute[];
|
|
237
239
|
/** Paging metadata */
|
|
238
240
|
pagingMetadata?: CursorPagingMetadata;
|
|
239
241
|
}
|
|
240
|
-
|
|
242
|
+
interface CursorPagingMetadata {
|
|
241
243
|
/** Number of items returned in the response. */
|
|
242
244
|
count?: number | null;
|
|
243
245
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -250,7 +252,7 @@ export interface CursorPagingMetadata {
|
|
|
250
252
|
*/
|
|
251
253
|
hasNext?: boolean | null;
|
|
252
254
|
}
|
|
253
|
-
|
|
255
|
+
interface Cursors {
|
|
254
256
|
/**
|
|
255
257
|
* Cursor string pointing to the next page in the list of results.
|
|
256
258
|
* @maxLength 16000
|
|
@@ -262,27 +264,27 @@ export interface Cursors {
|
|
|
262
264
|
*/
|
|
263
265
|
prev?: string | null;
|
|
264
266
|
}
|
|
265
|
-
|
|
267
|
+
interface GetDisputeActionsRequest {
|
|
266
268
|
/**
|
|
267
269
|
* Dispute ID
|
|
268
270
|
* @format GUID
|
|
269
271
|
*/
|
|
270
272
|
disputeId: string;
|
|
271
273
|
}
|
|
272
|
-
|
|
274
|
+
interface GetDisputeActionsResponse {
|
|
273
275
|
/**
|
|
274
276
|
* Dispute actions
|
|
275
277
|
* @maxSize 20
|
|
276
278
|
*/
|
|
277
279
|
actions?: DisputeAction[];
|
|
278
280
|
}
|
|
279
|
-
|
|
281
|
+
interface DisputeAction {
|
|
280
282
|
/** Dispute Action type */
|
|
281
283
|
type?: DisputeActionType;
|
|
282
284
|
/** The latest date and time until which the action can be performed */
|
|
283
285
|
dueDate?: Date | null;
|
|
284
286
|
}
|
|
285
|
-
|
|
287
|
+
declare enum DisputeActionType {
|
|
286
288
|
/** Unknown dispute status */
|
|
287
289
|
UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
|
|
288
290
|
/** Accept dispute */
|
|
@@ -290,99 +292,29 @@ export declare enum DisputeActionType {
|
|
|
290
292
|
/** Submit evidence */
|
|
291
293
|
SUBMIT_EVIDENCE = "SUBMIT_EVIDENCE"
|
|
292
294
|
}
|
|
293
|
-
|
|
295
|
+
interface AcceptDisputeRequest {
|
|
294
296
|
/**
|
|
295
297
|
* Dispute ID
|
|
296
298
|
* @format GUID
|
|
297
299
|
*/
|
|
298
300
|
disputeId: string;
|
|
299
301
|
}
|
|
300
|
-
|
|
302
|
+
interface AcceptDisputeResponse {
|
|
301
303
|
/** Dispute */
|
|
302
304
|
dispute?: Dispute;
|
|
303
305
|
}
|
|
304
|
-
|
|
306
|
+
interface SubmitDisputeEvidenceRequest {
|
|
305
307
|
/**
|
|
306
308
|
* Dispute ID
|
|
307
309
|
* @format GUID
|
|
308
310
|
*/
|
|
309
311
|
disputeId: string;
|
|
310
312
|
}
|
|
311
|
-
|
|
313
|
+
interface SubmitDisputeEvidenceResponse {
|
|
312
314
|
/** Dispute */
|
|
313
315
|
dispute?: Dispute;
|
|
314
316
|
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Dispute Id
|
|
318
|
-
* @format GUID
|
|
319
|
-
*/
|
|
320
|
-
disputeId?: string;
|
|
321
|
-
/**
|
|
322
|
-
* Charge Id
|
|
323
|
-
* @format GUID
|
|
324
|
-
*/
|
|
325
|
-
chargeId?: string;
|
|
326
|
-
/** Open date */
|
|
327
|
-
openDate?: Date | null;
|
|
328
|
-
/**
|
|
329
|
-
* Provider Dispute Id
|
|
330
|
-
* @minLength 1
|
|
331
|
-
* @maxLength 100
|
|
332
|
-
*/
|
|
333
|
-
providerDisputeId?: string;
|
|
334
|
-
/** Dispute stage */
|
|
335
|
-
stage?: DisputeStage;
|
|
336
|
-
/** Dispute reason */
|
|
337
|
-
reason?: DisputeReason;
|
|
338
|
-
/** Dispute status based on provider dispute status */
|
|
339
|
-
status?: DisputeStatus;
|
|
340
|
-
dueDate?: Date | null;
|
|
341
|
-
/**
|
|
342
|
-
* Dispute currency. Should be the same as the charge currency.
|
|
343
|
-
* @immutable
|
|
344
|
-
* @format CURRENCY
|
|
345
|
-
*/
|
|
346
|
-
currencyCode?: string | null;
|
|
347
|
-
/**
|
|
348
|
-
* Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
|
|
349
|
-
* @immutable
|
|
350
|
-
* @decimalValue options { gt:0, maxScale:8 }
|
|
351
|
-
*/
|
|
352
|
-
amount?: string | null;
|
|
353
|
-
/**
|
|
354
|
-
* Network reason code
|
|
355
|
-
* @minLength 1
|
|
356
|
-
* @maxLength 64
|
|
357
|
-
*/
|
|
358
|
-
networkReasonCode?: string | null;
|
|
359
|
-
/** External or Internal */
|
|
360
|
-
external?: boolean | null;
|
|
361
|
-
/**
|
|
362
|
-
* Seller protection
|
|
363
|
-
* @minLength 1
|
|
364
|
-
* @maxLength 64
|
|
365
|
-
*/
|
|
366
|
-
sellerProtection?: string | null;
|
|
367
|
-
/** Is charge refundable */
|
|
368
|
-
chargeRefundable?: boolean | null;
|
|
369
|
-
}
|
|
370
|
-
export interface CreateDisputeManuallyResponse {
|
|
371
|
-
}
|
|
372
|
-
export interface ChangeDisputeStatusManuallyRequest {
|
|
373
|
-
/**
|
|
374
|
-
* Dispute ID
|
|
375
|
-
* @format GUID
|
|
376
|
-
*/
|
|
377
|
-
disputeId?: string;
|
|
378
|
-
/** Changed date */
|
|
379
|
-
changedDate?: Date | null;
|
|
380
|
-
/** Dispute status based on provider dispute status */
|
|
381
|
-
status?: DisputeStatus;
|
|
382
|
-
}
|
|
383
|
-
export interface ChangeDisputeStatusManuallyResponse {
|
|
384
|
-
}
|
|
385
|
-
export interface BulkUpdateDisputeTagsRequest {
|
|
317
|
+
interface BulkUpdateDisputeTagsRequest {
|
|
386
318
|
/**
|
|
387
319
|
* List of NileProtoTagsEntities that their tags will update.
|
|
388
320
|
* @minSize 1
|
|
@@ -417,11 +349,11 @@ export interface BulkUpdateDisputeTagsRequest {
|
|
|
417
349
|
* }
|
|
418
350
|
* }
|
|
419
351
|
*/
|
|
420
|
-
|
|
352
|
+
interface Tags {
|
|
421
353
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
422
354
|
tags?: TagsTagList;
|
|
423
355
|
}
|
|
424
|
-
|
|
356
|
+
interface TagsTagList {
|
|
425
357
|
/**
|
|
426
358
|
* List of tag IDs
|
|
427
359
|
* @maxSize 100
|
|
@@ -429,7 +361,7 @@ export interface TagsTagList {
|
|
|
429
361
|
*/
|
|
430
362
|
tagIds?: string[];
|
|
431
363
|
}
|
|
432
|
-
|
|
364
|
+
interface BulkUpdateDisputeTagsResponse {
|
|
433
365
|
/**
|
|
434
366
|
* Results
|
|
435
367
|
* @minSize 1
|
|
@@ -439,7 +371,7 @@ export interface BulkUpdateDisputeTagsResponse {
|
|
|
439
371
|
/** Metadata regarding the bulk update operation */
|
|
440
372
|
bulkActionMetadata?: BulkActionMetadata;
|
|
441
373
|
}
|
|
442
|
-
|
|
374
|
+
interface ItemMetadata {
|
|
443
375
|
/**
|
|
444
376
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
445
377
|
* @format GUID
|
|
@@ -452,7 +384,7 @@ export interface ItemMetadata {
|
|
|
452
384
|
/** Details about the error in case of failure. */
|
|
453
385
|
error?: ApplicationError;
|
|
454
386
|
}
|
|
455
|
-
|
|
387
|
+
interface ApplicationError {
|
|
456
388
|
/** Error code. */
|
|
457
389
|
code?: string;
|
|
458
390
|
/** Description of the error. */
|
|
@@ -460,11 +392,11 @@ export interface ApplicationError {
|
|
|
460
392
|
/** Data related to the error. */
|
|
461
393
|
data?: Record<string, any> | null;
|
|
462
394
|
}
|
|
463
|
-
|
|
395
|
+
interface BulkUpdateDisputeTagsResult {
|
|
464
396
|
/** Metadata regarding the specific single update operation */
|
|
465
397
|
itemMetadata?: ItemMetadata;
|
|
466
398
|
}
|
|
467
|
-
|
|
399
|
+
interface BulkActionMetadata {
|
|
468
400
|
/** Number of items that were successfully processed. */
|
|
469
401
|
totalSuccesses?: number;
|
|
470
402
|
/** Number of items that couldn't be processed. */
|
|
@@ -472,7 +404,7 @@ export interface BulkActionMetadata {
|
|
|
472
404
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
473
405
|
undetailedFailures?: number;
|
|
474
406
|
}
|
|
475
|
-
|
|
407
|
+
interface BulkUpdateDisputeTagsByFilterRequest {
|
|
476
408
|
/** Filter */
|
|
477
409
|
filter: Record<string, any> | null;
|
|
478
410
|
/** List of Tags to assign */
|
|
@@ -480,212 +412,38 @@ export interface BulkUpdateDisputeTagsByFilterRequest {
|
|
|
480
412
|
/** List of Tags to unAssign */
|
|
481
413
|
unassignTags?: Tags;
|
|
482
414
|
}
|
|
483
|
-
|
|
415
|
+
interface BulkUpdateDisputeTagsByFilterResponse {
|
|
484
416
|
/**
|
|
485
417
|
* Job ID
|
|
486
418
|
* @format GUID
|
|
487
419
|
*/
|
|
488
420
|
jobId?: string;
|
|
489
421
|
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
*/
|
|
519
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
520
|
-
/** If present, indicates the action that triggered the event. */
|
|
521
|
-
originatedFrom?: string | null;
|
|
522
|
-
/**
|
|
523
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
524
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
525
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
526
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
527
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
528
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
529
|
-
*/
|
|
530
|
-
entityEventSequence?: string | null;
|
|
531
|
-
}
|
|
532
|
-
/** @oneof */
|
|
533
|
-
export interface DomainEventBodyOneOf {
|
|
534
|
-
createdEvent?: EntityCreatedEvent;
|
|
535
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
536
|
-
deletedEvent?: EntityDeletedEvent;
|
|
537
|
-
actionEvent?: ActionEvent;
|
|
538
|
-
}
|
|
539
|
-
export interface EntityCreatedEvent {
|
|
540
|
-
entityAsJson?: string;
|
|
541
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
542
|
-
restoreInfo?: RestoreInfo;
|
|
543
|
-
}
|
|
544
|
-
export interface RestoreInfo {
|
|
545
|
-
deletedDate?: Date | null;
|
|
546
|
-
}
|
|
547
|
-
export interface EntityUpdatedEvent {
|
|
548
|
-
/**
|
|
549
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
550
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
551
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
552
|
-
*/
|
|
553
|
-
currentEntityAsJson?: string;
|
|
554
|
-
}
|
|
555
|
-
export interface EntityDeletedEvent {
|
|
556
|
-
/** Entity that was deleted */
|
|
557
|
-
deletedEntityAsJson?: string | null;
|
|
558
|
-
}
|
|
559
|
-
export interface ActionEvent {
|
|
560
|
-
bodyAsJson?: string;
|
|
561
|
-
}
|
|
562
|
-
export interface MessageEnvelope {
|
|
563
|
-
/**
|
|
564
|
-
* App instance ID.
|
|
565
|
-
* @format GUID
|
|
566
|
-
*/
|
|
567
|
-
instanceId?: string | null;
|
|
568
|
-
/**
|
|
569
|
-
* Event type.
|
|
570
|
-
* @maxLength 150
|
|
571
|
-
*/
|
|
572
|
-
eventType?: string;
|
|
573
|
-
/** The identification type and identity data. */
|
|
574
|
-
identity?: IdentificationData;
|
|
575
|
-
/** Stringify payload. */
|
|
576
|
-
data?: string;
|
|
577
|
-
}
|
|
578
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
579
|
-
/**
|
|
580
|
-
* ID of a site visitor that has not logged in to the site.
|
|
581
|
-
* @format GUID
|
|
582
|
-
*/
|
|
583
|
-
anonymousVisitorId?: string;
|
|
584
|
-
/**
|
|
585
|
-
* ID of a site visitor that has logged in to the site.
|
|
586
|
-
* @format GUID
|
|
587
|
-
*/
|
|
588
|
-
memberId?: string;
|
|
589
|
-
/**
|
|
590
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
591
|
-
* @format GUID
|
|
592
|
-
*/
|
|
593
|
-
wixUserId?: string;
|
|
594
|
-
/**
|
|
595
|
-
* ID of an app.
|
|
596
|
-
* @format GUID
|
|
597
|
-
*/
|
|
598
|
-
appId?: string;
|
|
599
|
-
/** @readonly */
|
|
600
|
-
identityType?: WebhookIdentityType;
|
|
601
|
-
}
|
|
602
|
-
/** @oneof */
|
|
603
|
-
export interface IdentificationDataIdOneOf {
|
|
604
|
-
/**
|
|
605
|
-
* ID of a site visitor that has not logged in to the site.
|
|
606
|
-
* @format GUID
|
|
607
|
-
*/
|
|
608
|
-
anonymousVisitorId?: string;
|
|
609
|
-
/**
|
|
610
|
-
* ID of a site visitor that has logged in to the site.
|
|
611
|
-
* @format GUID
|
|
612
|
-
*/
|
|
613
|
-
memberId?: string;
|
|
614
|
-
/**
|
|
615
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
616
|
-
* @format GUID
|
|
617
|
-
*/
|
|
618
|
-
wixUserId?: string;
|
|
619
|
-
/**
|
|
620
|
-
* ID of an app.
|
|
621
|
-
* @format GUID
|
|
622
|
-
*/
|
|
623
|
-
appId?: string;
|
|
624
|
-
}
|
|
625
|
-
export declare enum WebhookIdentityType {
|
|
626
|
-
UNKNOWN = "UNKNOWN",
|
|
627
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
628
|
-
MEMBER = "MEMBER",
|
|
629
|
-
WIX_USER = "WIX_USER",
|
|
630
|
-
APP = "APP"
|
|
631
|
-
}
|
|
632
|
-
interface TagListNonNullableFields {
|
|
633
|
-
tagIds: string[];
|
|
634
|
-
}
|
|
635
|
-
interface PublicTagsNonNullableFields {
|
|
636
|
-
tags?: TagListNonNullableFields;
|
|
637
|
-
}
|
|
638
|
-
interface DisputeNonNullableFields {
|
|
639
|
-
id: string;
|
|
640
|
-
chargeId: string;
|
|
641
|
-
providerDisputeId: string;
|
|
642
|
-
stage: DisputeStage;
|
|
643
|
-
reason: DisputeReason;
|
|
644
|
-
status: DisputeStatus;
|
|
645
|
-
sellerProtection: SellerProtection;
|
|
646
|
-
channel: DisputeChannel;
|
|
647
|
-
tags?: PublicTagsNonNullableFields;
|
|
648
|
-
}
|
|
649
|
-
export interface GetDisputeResponseNonNullableFields {
|
|
650
|
-
dispute?: DisputeNonNullableFields;
|
|
651
|
-
}
|
|
652
|
-
export interface QueryDisputesResponseNonNullableFields {
|
|
653
|
-
disputes: DisputeNonNullableFields[];
|
|
654
|
-
}
|
|
655
|
-
interface DisputeActionNonNullableFields {
|
|
656
|
-
type: DisputeActionType;
|
|
657
|
-
}
|
|
658
|
-
export interface GetDisputeActionsResponseNonNullableFields {
|
|
659
|
-
actions: DisputeActionNonNullableFields[];
|
|
660
|
-
}
|
|
661
|
-
export interface AcceptDisputeResponseNonNullableFields {
|
|
662
|
-
dispute?: DisputeNonNullableFields;
|
|
663
|
-
}
|
|
664
|
-
export interface SubmitDisputeEvidenceResponseNonNullableFields {
|
|
665
|
-
dispute?: DisputeNonNullableFields;
|
|
666
|
-
}
|
|
667
|
-
interface ApplicationErrorNonNullableFields {
|
|
668
|
-
code: string;
|
|
669
|
-
description: string;
|
|
670
|
-
}
|
|
671
|
-
interface ItemMetadataNonNullableFields {
|
|
672
|
-
originalIndex: number;
|
|
673
|
-
success: boolean;
|
|
674
|
-
error?: ApplicationErrorNonNullableFields;
|
|
675
|
-
}
|
|
676
|
-
interface BulkUpdateDisputeTagsResultNonNullableFields {
|
|
677
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
678
|
-
}
|
|
679
|
-
interface BulkActionMetadataNonNullableFields {
|
|
680
|
-
totalSuccesses: number;
|
|
681
|
-
totalFailures: number;
|
|
682
|
-
undetailedFailures: number;
|
|
683
|
-
}
|
|
684
|
-
export interface BulkUpdateDisputeTagsResponseNonNullableFields {
|
|
685
|
-
results: BulkUpdateDisputeTagsResultNonNullableFields[];
|
|
686
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
687
|
-
}
|
|
688
|
-
export interface BulkUpdateDisputeTagsByFilterResponseNonNullableFields {
|
|
689
|
-
jobId: string;
|
|
690
|
-
}
|
|
691
|
-
export {};
|
|
422
|
+
|
|
423
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
424
|
+
getUrl: (context: any) => string;
|
|
425
|
+
httpMethod: K;
|
|
426
|
+
path: string;
|
|
427
|
+
pathParams: M;
|
|
428
|
+
__requestType: T;
|
|
429
|
+
__originalRequestType: S;
|
|
430
|
+
__responseType: Q;
|
|
431
|
+
__originalResponseType: R;
|
|
432
|
+
};
|
|
433
|
+
declare function getDispute(): __PublicMethodMetaInfo<'GET', {
|
|
434
|
+
disputeId: string;
|
|
435
|
+
}, GetDisputeRequest$1, GetDisputeRequest, GetDisputeResponse$1, GetDisputeResponse>;
|
|
436
|
+
declare function queryDisputes(): __PublicMethodMetaInfo<'GET', {}, QueryDisputesRequest$1, QueryDisputesRequest, QueryDisputesResponse$1, QueryDisputesResponse>;
|
|
437
|
+
declare function getDisputeActions(): __PublicMethodMetaInfo<'GET', {
|
|
438
|
+
disputeId: string;
|
|
439
|
+
}, GetDisputeActionsRequest$1, GetDisputeActionsRequest, GetDisputeActionsResponse$1, GetDisputeActionsResponse>;
|
|
440
|
+
declare function acceptDispute(): __PublicMethodMetaInfo<'POST', {
|
|
441
|
+
disputeId: string;
|
|
442
|
+
}, AcceptDisputeRequest$1, AcceptDisputeRequest, AcceptDisputeResponse$1, AcceptDisputeResponse>;
|
|
443
|
+
declare function submitDisputeEvidence(): __PublicMethodMetaInfo<'POST', {
|
|
444
|
+
disputeId: string;
|
|
445
|
+
}, SubmitDisputeEvidenceRequest$1, SubmitDisputeEvidenceRequest, SubmitDisputeEvidenceResponse$1, SubmitDisputeEvidenceResponse>;
|
|
446
|
+
declare function bulkUpdateDisputeTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeTagsRequest$1, BulkUpdateDisputeTagsRequest, BulkUpdateDisputeTagsResponse$1, BulkUpdateDisputeTagsResponse>;
|
|
447
|
+
declare function bulkUpdateDisputeTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeTagsByFilterRequest$1, BulkUpdateDisputeTagsByFilterRequest, BulkUpdateDisputeTagsByFilterResponse$1, BulkUpdateDisputeTagsByFilterResponse>;
|
|
448
|
+
|
|
449
|
+
export { type __PublicMethodMetaInfo, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, getDispute, getDisputeActions, queryDisputes, submitDisputeEvidence };
|