@wix/auto_sdk_payments_disputes 1.0.17 → 1.0.19
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} +67 -66
- package/build/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.ts} +67 -66
- package/build/index.js +591 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +553 -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 +591 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +553 -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} +75 -251
- package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +75 -251
- 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-CZbP08z7.d.mts} +67 -144
- package/build/internal/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-CZbP08z7.d.ts} +67 -144
- package/build/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.mts} +75 -251
- package/build/{internal/es/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +75 -251
- 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 +12 -11
- 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 -388
- 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/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 -355
- 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 -388
- 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 -355
- package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
package/build/{internal/es/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts}
RENAMED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { GetDisputeRequest as GetDisputeRequest$1, GetDisputeResponse as GetDisputeResponse$1, QueryDisputesRequest as QueryDisputesRequest$1, QueryDisputesResponse as QueryDisputesResponse$1, GetDisputeActionsRequest as GetDisputeActionsRequest$1, GetDisputeActionsResponse as GetDisputeActionsResponse$1, AcceptDisputeRequest as AcceptDisputeRequest$1, AcceptDisputeResponse as AcceptDisputeResponse$1, SubmitDisputeEvidenceRequest as SubmitDisputeEvidenceRequest$1, SubmitDisputeEvidenceResponse as SubmitDisputeEvidenceResponse$1, BulkUpdateDisputeTagsRequest as BulkUpdateDisputeTagsRequest$1, BulkUpdateDisputeTagsResponse as BulkUpdateDisputeTagsResponse$1, BulkUpdateDisputeTagsByFilterRequest as BulkUpdateDisputeTagsByFilterRequest$1, BulkUpdateDisputeTagsByFilterResponse as BulkUpdateDisputeTagsByFilterResponse$1 } from './index.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",
|
|
@@ -88,8 +90,8 @@ export declare enum DisputeStage {
|
|
|
88
90
|
CHARGEBACK = "CHARGEBACK"
|
|
89
91
|
}
|
|
90
92
|
/** @enumType */
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
118
|
-
|
|
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
|
-
|
|
134
|
-
|
|
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
|
-
|
|
145
|
-
|
|
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
|
-
|
|
154
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
186
|
+
interface GetDisputeResponse {
|
|
185
187
|
/** The requested Dispute. */
|
|
186
188
|
dispute?: Dispute;
|
|
187
189
|
}
|
|
188
|
-
|
|
190
|
+
interface QueryDisputesRequest {
|
|
189
191
|
/** WQL expression. */
|
|
190
192
|
query?: CursorQuery;
|
|
191
193
|
}
|
|
192
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
227
|
+
declare enum SortOrder {
|
|
226
228
|
ASC = "ASC",
|
|
227
229
|
DESC = "DESC"
|
|
228
230
|
}
|
|
229
231
|
/** @enumType */
|
|
230
|
-
|
|
231
|
-
|
|
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
|
-
|
|
248
|
+
interface QueryDisputesResponse {
|
|
247
249
|
/** List of Disputes. */
|
|
248
250
|
disputes?: Dispute[];
|
|
249
251
|
/** Paging metadata */
|
|
250
252
|
pagingMetadata?: CursorPagingMetadata;
|
|
251
253
|
}
|
|
252
|
-
|
|
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
|
-
|
|
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
|
-
|
|
279
|
+
interface GetDisputeActionsRequest {
|
|
278
280
|
/**
|
|
279
281
|
* Dispute ID
|
|
280
282
|
* @format GUID
|
|
281
283
|
*/
|
|
282
284
|
disputeId: string;
|
|
283
285
|
}
|
|
284
|
-
|
|
286
|
+
interface GetDisputeActionsResponse {
|
|
285
287
|
/**
|
|
286
288
|
* Dispute actions
|
|
287
289
|
* @maxSize 20
|
|
288
290
|
*/
|
|
289
291
|
actions?: DisputeAction[];
|
|
290
292
|
}
|
|
291
|
-
|
|
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
|
-
|
|
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
|
-
|
|
307
|
-
|
|
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
|
-
|
|
316
|
+
interface AcceptDisputeResponse {
|
|
315
317
|
/** Dispute */
|
|
316
318
|
dispute?: Dispute;
|
|
317
319
|
}
|
|
318
|
-
|
|
320
|
+
interface SubmitDisputeEvidenceRequest {
|
|
319
321
|
/**
|
|
320
322
|
* Dispute ID
|
|
321
323
|
* @format GUID
|
|
322
324
|
*/
|
|
323
325
|
disputeId: string;
|
|
324
326
|
}
|
|
325
|
-
|
|
327
|
+
interface SubmitDisputeEvidenceResponse {
|
|
326
328
|
/** Dispute */
|
|
327
329
|
dispute?: Dispute;
|
|
328
330
|
}
|
|
329
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
409
|
+
interface BulkUpdateDisputeTagsResult {
|
|
478
410
|
/** Metadata regarding the specific single update operation */
|
|
479
411
|
itemMetadata?: ItemMetadata;
|
|
480
412
|
}
|
|
481
|
-
|
|
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
|
-
|
|
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
|
-
|
|
429
|
+
interface BulkUpdateDisputeTagsByFilterResponse {
|
|
498
430
|
/**
|
|
499
431
|
* Job ID
|
|
500
432
|
* @format GUID
|
|
501
433
|
*/
|
|
502
434
|
jobId?: string;
|
|
503
435
|
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
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 };
|