@wix/auto_sdk_payments_dispute-history-records 1.0.26 → 1.0.27
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/index.d.ts +37 -550
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +628 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +27 -17
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +37 -550
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +628 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +27 -17
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +7 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +44 -27
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +25 -16
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +7 -15
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +44 -27
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +25 -16
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.d.mts
CHANGED
|
@@ -1,563 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* @immutable
|
|
8
|
-
*/
|
|
9
|
-
_id?: string | null;
|
|
10
|
-
/**
|
|
11
|
-
* Revision number
|
|
12
|
-
* @readonly
|
|
13
|
-
*/
|
|
14
|
-
revision?: string | null;
|
|
15
|
-
/**
|
|
16
|
-
* Date and time the DisputeHistoryRecord was created.
|
|
17
|
-
* @readonly
|
|
18
|
-
* @immutable
|
|
19
|
-
*/
|
|
20
|
-
_createdDate?: Date | null;
|
|
21
|
-
/**
|
|
22
|
-
* Date and time the DisputeHistoryRecord was last updated.
|
|
23
|
-
* @readonly
|
|
24
|
-
* @immutable
|
|
25
|
-
*/
|
|
26
|
-
_updatedDate?: Date | null;
|
|
27
|
-
/**
|
|
28
|
-
* Dispute ID
|
|
29
|
-
* @format GUID
|
|
30
|
-
* @immutable
|
|
31
|
-
*/
|
|
32
|
-
disputeId?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Dispute stage (Inquiry, Chargeback, so on)
|
|
35
|
-
* @readonly
|
|
36
|
-
* @immutable
|
|
37
|
-
*/
|
|
38
|
-
stage?: DisputeStageWithLiterals;
|
|
39
|
-
/**
|
|
40
|
-
* Dispute Status
|
|
41
|
-
* @readonly
|
|
42
|
-
* @immutable
|
|
43
|
-
*/
|
|
44
|
-
status?: DisputeStatusWithLiterals;
|
|
45
|
-
/**
|
|
46
|
-
* Due Date
|
|
47
|
-
* @readonly
|
|
48
|
-
* @immutable
|
|
49
|
-
*/
|
|
50
|
-
dueDate?: Date | null;
|
|
51
|
-
/**
|
|
52
|
-
* Charge ID
|
|
53
|
-
* @format GUID
|
|
54
|
-
* @readonly
|
|
55
|
-
* @immutable
|
|
56
|
-
*/
|
|
57
|
-
chargeId?: string;
|
|
58
|
-
/**
|
|
59
|
-
* Dispute Channel
|
|
60
|
-
* Internal - this dispute is created on provider side
|
|
61
|
-
* External - this dispute is created on bank side
|
|
62
|
-
* @readonly
|
|
63
|
-
* @immutable
|
|
64
|
-
*/
|
|
65
|
-
channel?: DisputeChannelWithLiterals;
|
|
66
|
-
/** Data Extensions */
|
|
67
|
-
extendedFields?: ExtendedFields;
|
|
68
|
-
/** Tags */
|
|
69
|
-
tags?: Tags;
|
|
70
|
-
}
|
|
71
|
-
declare enum DisputeStage {
|
|
72
|
-
UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
|
|
73
|
-
/** Chargeback */
|
|
74
|
-
CHARGEBACK = "CHARGEBACK",
|
|
75
|
-
/** Inquiry (Request for Information) */
|
|
76
|
-
INQUIRY = "INQUIRY"
|
|
77
|
-
}
|
|
78
|
-
/** @enumType */
|
|
79
|
-
type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'CHARGEBACK' | 'INQUIRY';
|
|
80
|
-
declare enum DisputeStatus {
|
|
81
|
-
/** Unknown status */
|
|
82
|
-
UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
|
|
83
|
-
/** Waiting for some merchant action */
|
|
84
|
-
WAITING_MERCHANT = "WAITING_MERCHANT",
|
|
85
|
-
/** Dispute is under review by PSP (internal channel) or Bank (external channel) */
|
|
86
|
-
UNDER_REVIEW = "UNDER_REVIEW",
|
|
87
|
-
/** Waiting for some buyer action */
|
|
88
|
-
WAITING_BUYER = "WAITING_BUYER",
|
|
89
|
-
/** Dispute won */
|
|
90
|
-
WON = "WON",
|
|
91
|
-
/** Dispute lost */
|
|
92
|
-
LOST = "LOST",
|
|
93
|
-
/** Evidence were submitted and are being processed on provider side */
|
|
94
|
-
PROCESSING_EVIDENCE_SUBMISSION = "PROCESSING_EVIDENCE_SUBMISSION",
|
|
95
|
-
/** The dispute was accepted and the acceptance is being processed on provider side */
|
|
96
|
-
PROCESSING_ACCEPTANCE = "PROCESSING_ACCEPTANCE"
|
|
97
|
-
}
|
|
98
|
-
/** @enumType */
|
|
99
|
-
type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST' | 'PROCESSING_EVIDENCE_SUBMISSION' | 'PROCESSING_ACCEPTANCE';
|
|
100
|
-
declare enum DisputeChannel {
|
|
101
|
-
UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
|
|
102
|
-
/** Internal, the dispute is reviewed by PSP */
|
|
103
|
-
INTERNAL = "INTERNAL",
|
|
104
|
-
/** External, the dispute is reviewed by bank (or other financial institution) */
|
|
105
|
-
EXTERNAL = "EXTERNAL"
|
|
106
|
-
}
|
|
107
|
-
/** @enumType */
|
|
108
|
-
type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
|
|
109
|
-
interface ExtendedFields {
|
|
110
|
-
/**
|
|
111
|
-
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
112
|
-
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
113
|
-
*
|
|
114
|
-
* You can only access fields for which you have the appropriate permissions.
|
|
115
|
-
*
|
|
116
|
-
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
117
|
-
*/
|
|
118
|
-
namespaces?: Record<string, Record<string, any>>;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Common object for tags.
|
|
122
|
-
* Should be use as in this example:
|
|
123
|
-
* message Foo {
|
|
124
|
-
* string id = 1;
|
|
125
|
-
* ...
|
|
126
|
-
* Tags tags = 5
|
|
127
|
-
* }
|
|
128
|
-
*
|
|
129
|
-
* example of taggable entity
|
|
130
|
-
* {
|
|
131
|
-
* id: "123"
|
|
132
|
-
* tags: {
|
|
133
|
-
* tags: {
|
|
134
|
-
* tag_ids:["11","22"]
|
|
135
|
-
* },
|
|
136
|
-
* private_tags: {
|
|
137
|
-
* tag_ids: ["33", "44"]
|
|
138
|
-
* }
|
|
139
|
-
* }
|
|
140
|
-
* }
|
|
141
|
-
*/
|
|
142
|
-
interface Tags {
|
|
143
|
-
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
144
|
-
tags?: TagList;
|
|
145
|
-
}
|
|
146
|
-
interface TagList {
|
|
147
|
-
/**
|
|
148
|
-
* List of tag IDs
|
|
149
|
-
* @maxSize 100
|
|
150
|
-
* @maxLength 5
|
|
151
|
-
*/
|
|
152
|
-
tagIds?: string[];
|
|
153
|
-
}
|
|
154
|
-
interface GetDisputeHistoryRecordRequest {
|
|
155
|
-
/**
|
|
156
|
-
* ID of the DisputeHistoryRecord to retrieve.
|
|
157
|
-
* @format GUID
|
|
158
|
-
*/
|
|
159
|
-
disputeHistoryRecordId: string;
|
|
160
|
-
}
|
|
161
|
-
interface GetDisputeHistoryRecordResponse {
|
|
162
|
-
/** The requested DisputeHistoryRecord. */
|
|
163
|
-
disputeHistoryRecord?: DisputeHistoryRecord;
|
|
164
|
-
}
|
|
165
|
-
interface QueryDisputeHistoryRecordsRequest {
|
|
166
|
-
/** WQL expression. */
|
|
167
|
-
query?: CursorQuery;
|
|
168
|
-
}
|
|
169
|
-
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
170
|
-
/** 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`. */
|
|
171
|
-
cursorPaging?: CursorPaging;
|
|
172
|
-
/**
|
|
173
|
-
* Filter object in the following format:
|
|
174
|
-
* `"filter" : {
|
|
175
|
-
* "fieldName1": "value1",
|
|
176
|
-
* "fieldName2":{"$operator":"value2"}
|
|
177
|
-
* }`
|
|
178
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
179
|
-
*/
|
|
180
|
-
filter?: Record<string, any> | null;
|
|
181
|
-
/**
|
|
182
|
-
* Sort object in the following format:
|
|
183
|
-
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
184
|
-
* @maxSize 5
|
|
185
|
-
*/
|
|
186
|
-
sort?: Sorting[];
|
|
187
|
-
}
|
|
188
|
-
/** @oneof */
|
|
189
|
-
interface CursorQueryPagingMethodOneOf {
|
|
190
|
-
/** 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`. */
|
|
191
|
-
cursorPaging?: CursorPaging;
|
|
192
|
-
}
|
|
193
|
-
interface Sorting {
|
|
194
|
-
/**
|
|
195
|
-
* Name of the field to sort by.
|
|
196
|
-
* @maxLength 512
|
|
197
|
-
*/
|
|
198
|
-
fieldName?: string;
|
|
199
|
-
/** Sort order. */
|
|
200
|
-
order?: SortOrderWithLiterals;
|
|
201
|
-
}
|
|
202
|
-
declare enum SortOrder {
|
|
203
|
-
ASC = "ASC",
|
|
204
|
-
DESC = "DESC"
|
|
205
|
-
}
|
|
206
|
-
/** @enumType */
|
|
207
|
-
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
208
|
-
interface CursorPaging {
|
|
209
|
-
/**
|
|
210
|
-
* Maximum number of items to return in the results.
|
|
211
|
-
* @max 100
|
|
212
|
-
*/
|
|
213
|
-
limit?: number | null;
|
|
214
|
-
/**
|
|
215
|
-
* Pointer to the next or previous page in the list of results.
|
|
216
|
-
*
|
|
217
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
218
|
-
* Not relevant for the first request.
|
|
219
|
-
* @maxLength 16000
|
|
220
|
-
*/
|
|
221
|
-
cursor?: string | null;
|
|
222
|
-
}
|
|
223
|
-
interface QueryDisputeHistoryRecordsResponse {
|
|
224
|
-
/** List of DisputeHistoryRecords. */
|
|
225
|
-
disputeHistoryRecords?: DisputeHistoryRecord[];
|
|
226
|
-
/** Paging metadata */
|
|
227
|
-
pagingMetadata?: CursorPagingMetadata;
|
|
228
|
-
}
|
|
229
|
-
interface CursorPagingMetadata {
|
|
230
|
-
/** Number of items returned in the response. */
|
|
231
|
-
count?: number | null;
|
|
232
|
-
/** Cursor strings that point to the next page, previous page, or both. */
|
|
233
|
-
cursors?: Cursors;
|
|
234
|
-
/**
|
|
235
|
-
* Whether there are more pages to retrieve following the current page.
|
|
236
|
-
*
|
|
237
|
-
* + `true`: Another page of results can be retrieved.
|
|
238
|
-
* + `false`: This is the last page.
|
|
239
|
-
*/
|
|
240
|
-
hasNext?: boolean | null;
|
|
241
|
-
}
|
|
242
|
-
interface Cursors {
|
|
243
|
-
/**
|
|
244
|
-
* Cursor string pointing to the next page in the list of results.
|
|
245
|
-
* @maxLength 16000
|
|
246
|
-
*/
|
|
247
|
-
next?: string | null;
|
|
248
|
-
/**
|
|
249
|
-
* Cursor pointing to the previous page in the list of results.
|
|
250
|
-
* @maxLength 16000
|
|
251
|
-
*/
|
|
252
|
-
prev?: string | null;
|
|
253
|
-
}
|
|
254
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
255
|
-
createdEvent?: EntityCreatedEvent;
|
|
256
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
257
|
-
deletedEvent?: EntityDeletedEvent;
|
|
258
|
-
actionEvent?: ActionEvent;
|
|
259
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
260
|
-
_id?: string;
|
|
261
|
-
/**
|
|
262
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
263
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
264
|
-
*/
|
|
265
|
-
entityFqdn?: string;
|
|
266
|
-
/**
|
|
267
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
268
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
269
|
-
*/
|
|
270
|
-
slug?: string;
|
|
271
|
-
/** ID of the entity associated with the event. */
|
|
272
|
-
entityId?: string;
|
|
273
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
274
|
-
eventTime?: Date | null;
|
|
275
|
-
/**
|
|
276
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
277
|
-
* (for example, GDPR).
|
|
278
|
-
*/
|
|
279
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
280
|
-
/** If present, indicates the action that triggered the event. */
|
|
281
|
-
originatedFrom?: string | null;
|
|
282
|
-
/**
|
|
283
|
-
* 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.
|
|
284
|
-
* 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.
|
|
285
|
-
*/
|
|
286
|
-
entityEventSequence?: string | null;
|
|
287
|
-
}
|
|
288
|
-
/** @oneof */
|
|
289
|
-
interface DomainEventBodyOneOf {
|
|
290
|
-
createdEvent?: EntityCreatedEvent;
|
|
291
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
292
|
-
deletedEvent?: EntityDeletedEvent;
|
|
293
|
-
actionEvent?: ActionEvent;
|
|
294
|
-
}
|
|
295
|
-
interface EntityCreatedEvent {
|
|
296
|
-
entity?: string;
|
|
297
|
-
}
|
|
298
|
-
interface RestoreInfo {
|
|
299
|
-
deletedDate?: Date | null;
|
|
300
|
-
}
|
|
301
|
-
interface EntityUpdatedEvent {
|
|
302
|
-
/**
|
|
303
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
304
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
305
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
306
|
-
*/
|
|
307
|
-
currentEntity?: string;
|
|
308
|
-
}
|
|
309
|
-
interface EntityDeletedEvent {
|
|
310
|
-
/** Entity that was deleted. */
|
|
311
|
-
deletedEntity?: string | null;
|
|
312
|
-
}
|
|
313
|
-
interface ActionEvent {
|
|
314
|
-
body?: string;
|
|
315
|
-
}
|
|
316
|
-
interface Empty {
|
|
317
|
-
}
|
|
318
|
-
interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
319
|
-
/**
|
|
320
|
-
* List of NileProtoTagsEntities that their tags will update.
|
|
321
|
-
* @minSize 1
|
|
322
|
-
* @maxSize 100
|
|
323
|
-
* @format GUID
|
|
324
|
-
*/
|
|
325
|
-
ids: string[];
|
|
326
|
-
/** List of Tags to assign */
|
|
327
|
-
assignTags?: Tags;
|
|
328
|
-
/** List of Tags to unAssign */
|
|
329
|
-
unassignTags?: Tags;
|
|
330
|
-
}
|
|
331
|
-
interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
332
|
-
/**
|
|
333
|
-
* Results
|
|
334
|
-
* @minSize 1
|
|
335
|
-
* @maxSize 100
|
|
336
|
-
*/
|
|
337
|
-
results?: BulkUpdateDisputeHistoryRecordTagsResult[];
|
|
338
|
-
/** Metadata regarding the bulk update operation */
|
|
339
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
340
|
-
}
|
|
341
|
-
interface ItemMetadata {
|
|
342
|
-
/**
|
|
343
|
-
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
344
|
-
* @format GUID
|
|
345
|
-
*/
|
|
346
|
-
_id?: string | null;
|
|
347
|
-
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
348
|
-
originalIndex?: number;
|
|
349
|
-
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
350
|
-
success?: boolean;
|
|
351
|
-
/** Details about the error in case of failure. */
|
|
352
|
-
error?: ApplicationError;
|
|
353
|
-
}
|
|
354
|
-
interface ApplicationError {
|
|
355
|
-
/** Error code. */
|
|
356
|
-
code?: string;
|
|
357
|
-
/** Description of the error. */
|
|
358
|
-
description?: string;
|
|
359
|
-
/** Data related to the error. */
|
|
360
|
-
data?: Record<string, any> | null;
|
|
361
|
-
}
|
|
362
|
-
interface BulkUpdateDisputeHistoryRecordTagsResult {
|
|
363
|
-
/** Metadata regarding the specific single update operation */
|
|
364
|
-
itemMetadata?: ItemMetadata;
|
|
365
|
-
}
|
|
366
|
-
interface BulkActionMetadata {
|
|
367
|
-
/** Number of items that were successfully processed. */
|
|
368
|
-
totalSuccesses?: number;
|
|
369
|
-
/** Number of items that couldn't be processed. */
|
|
370
|
-
totalFailures?: number;
|
|
371
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
372
|
-
undetailedFailures?: number;
|
|
373
|
-
}
|
|
374
|
-
interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
375
|
-
/** Filter */
|
|
376
|
-
filter: Record<string, any> | null;
|
|
377
|
-
/** List of Tags to assign */
|
|
378
|
-
assignTags?: Tags;
|
|
379
|
-
/** List of Tags to unAssign */
|
|
380
|
-
unassignTags?: Tags;
|
|
381
|
-
}
|
|
382
|
-
interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
|
|
1
|
+
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { DisputeHistoryRecord, DisputeHistoryRecordsQueryBuilder, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsResponse, BulkUpdateDisputeHistoryRecordTagsApplicationErrors, BulkUpdateDisputeHistoryRecordTagsByFilterOptions, BulkUpdateDisputeHistoryRecordTagsByFilterResponse, BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrors } from './index.typings.mjs';
|
|
3
|
+
export { ActionEvent, ApplicationError, BulkActionMetadata, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResult, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DisputeChannel, DisputeChannelWithLiterals, DisputeHistoryRecordsQueryResult, DisputeStage, DisputeStageWithLiterals, DisputeStatus, DisputeStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, TagList, Tags, TagsModified, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
|
+
|
|
5
|
+
declare function getDisputeHistoryRecord$1(httpClient: HttpClient): GetDisputeHistoryRecordSignature;
|
|
6
|
+
interface GetDisputeHistoryRecordSignature {
|
|
383
7
|
/**
|
|
384
|
-
*
|
|
385
|
-
* @
|
|
8
|
+
* Retrieves a DisputeHistoryRecord.
|
|
9
|
+
* @param - ID of the DisputeHistoryRecord to retrieve.
|
|
10
|
+
* @returns The requested DisputeHistoryRecord.
|
|
386
11
|
*/
|
|
387
|
-
|
|
12
|
+
(disputeHistoryRecordId: string): Promise<NonNullablePaths<DisputeHistoryRecord, `_id` | `disputeId` | `stage` | `status` | `chargeId` | `channel` | `tags.privateTags.tagIds`, 4>>;
|
|
388
13
|
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
* App instance ID.
|
|
392
|
-
* @format GUID
|
|
393
|
-
*/
|
|
394
|
-
instanceId?: string | null;
|
|
14
|
+
declare function queryDisputeHistoryRecords$1(httpClient: HttpClient): QueryDisputeHistoryRecordsSignature;
|
|
15
|
+
interface QueryDisputeHistoryRecordsSignature {
|
|
395
16
|
/**
|
|
396
|
-
*
|
|
397
|
-
* @maxLength 150
|
|
17
|
+
* Retrieves dispute history records with support for filtering by dispute_id and other fields, cursor-based paging, and sorting.
|
|
398
18
|
*/
|
|
399
|
-
|
|
400
|
-
/** The identification type and identity data. */
|
|
401
|
-
identity?: IdentificationData;
|
|
402
|
-
/** Stringify payload. */
|
|
403
|
-
data?: string;
|
|
19
|
+
(): DisputeHistoryRecordsQueryBuilder;
|
|
404
20
|
}
|
|
405
|
-
|
|
21
|
+
declare function bulkUpdateDisputeHistoryRecordTags$1(httpClient: HttpClient): BulkUpdateDisputeHistoryRecordTagsSignature;
|
|
22
|
+
interface BulkUpdateDisputeHistoryRecordTagsSignature {
|
|
406
23
|
/**
|
|
407
|
-
*
|
|
408
|
-
*
|
|
24
|
+
* Synchronously update tags on multiple dispute history records, by list of dispute history record ids
|
|
25
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
26
|
+
* @param - List of dispute history record IDs whose tags will be updated'
|
|
409
27
|
*/
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
* @format GUID
|
|
414
|
-
*/
|
|
415
|
-
memberId?: string;
|
|
416
|
-
/**
|
|
417
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
418
|
-
* @format GUID
|
|
419
|
-
*/
|
|
420
|
-
wixUserId?: string;
|
|
421
|
-
/**
|
|
422
|
-
* ID of an app.
|
|
423
|
-
* @format GUID
|
|
424
|
-
*/
|
|
425
|
-
appId?: string;
|
|
426
|
-
/** @readonly */
|
|
427
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
28
|
+
(ids: string[], options?: BulkUpdateDisputeHistoryRecordTagsOptions): Promise<NonNullablePaths<BulkUpdateDisputeHistoryRecordTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
|
|
29
|
+
__applicationErrorsType?: BulkUpdateDisputeHistoryRecordTagsApplicationErrors;
|
|
30
|
+
}>;
|
|
428
31
|
}
|
|
429
|
-
|
|
430
|
-
interface
|
|
431
|
-
/**
|
|
432
|
-
* ID of a site visitor that has not logged in to the site.
|
|
433
|
-
* @format GUID
|
|
434
|
-
*/
|
|
435
|
-
anonymousVisitorId?: string;
|
|
32
|
+
declare function bulkUpdateDisputeHistoryRecordTagsByFilter$1(httpClient: HttpClient): BulkUpdateDisputeHistoryRecordTagsByFilterSignature;
|
|
33
|
+
interface BulkUpdateDisputeHistoryRecordTagsByFilterSignature {
|
|
436
34
|
/**
|
|
437
|
-
*
|
|
438
|
-
*
|
|
35
|
+
* Asynchronously update tags on multiple dispute history records, by provided filter.
|
|
36
|
+
* An empty filter will update all dispute history records
|
|
37
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
38
|
+
* @param - Filter
|
|
439
39
|
*/
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
* @format GUID
|
|
444
|
-
*/
|
|
445
|
-
wixUserId?: string;
|
|
446
|
-
/**
|
|
447
|
-
* ID of an app.
|
|
448
|
-
* @format GUID
|
|
449
|
-
*/
|
|
450
|
-
appId?: string;
|
|
451
|
-
}
|
|
452
|
-
declare enum WebhookIdentityType {
|
|
453
|
-
UNKNOWN = "UNKNOWN",
|
|
454
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
455
|
-
MEMBER = "MEMBER",
|
|
456
|
-
WIX_USER = "WIX_USER",
|
|
457
|
-
APP = "APP"
|
|
458
|
-
}
|
|
459
|
-
/** @enumType */
|
|
460
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
461
|
-
/** @docsIgnore */
|
|
462
|
-
type BulkUpdateDisputeHistoryRecordTagsApplicationErrors = {
|
|
463
|
-
code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
|
|
464
|
-
description?: string;
|
|
465
|
-
data?: Record<string, any>;
|
|
466
|
-
};
|
|
467
|
-
/** @docsIgnore */
|
|
468
|
-
type BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrors = {
|
|
469
|
-
code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
|
|
470
|
-
description?: string;
|
|
471
|
-
data?: Record<string, any>;
|
|
472
|
-
};
|
|
473
|
-
interface QueryCursorResult {
|
|
474
|
-
cursors: Cursors;
|
|
475
|
-
hasNext: () => boolean;
|
|
476
|
-
hasPrev: () => boolean;
|
|
477
|
-
length: number;
|
|
478
|
-
pageSize: number;
|
|
479
|
-
}
|
|
480
|
-
interface DisputeHistoryRecordsQueryResult extends QueryCursorResult {
|
|
481
|
-
items: DisputeHistoryRecord[];
|
|
482
|
-
query: DisputeHistoryRecordsQueryBuilder;
|
|
483
|
-
next: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
484
|
-
prev: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
485
|
-
}
|
|
486
|
-
interface DisputeHistoryRecordsQueryBuilder {
|
|
487
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
488
|
-
* @param value - Value to compare against.
|
|
489
|
-
* @documentationMaturity preview
|
|
490
|
-
*/
|
|
491
|
-
eq: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
492
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
493
|
-
* @param value - Value to compare against.
|
|
494
|
-
* @documentationMaturity preview
|
|
495
|
-
*/
|
|
496
|
-
ne: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
497
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
498
|
-
* @param value - Value to compare against.
|
|
499
|
-
* @documentationMaturity preview
|
|
500
|
-
*/
|
|
501
|
-
ge: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
502
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
503
|
-
* @param value - Value to compare against.
|
|
504
|
-
* @documentationMaturity preview
|
|
505
|
-
*/
|
|
506
|
-
gt: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
507
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
508
|
-
* @param value - Value to compare against.
|
|
509
|
-
* @documentationMaturity preview
|
|
510
|
-
*/
|
|
511
|
-
le: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
512
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
513
|
-
* @param value - Value to compare against.
|
|
514
|
-
* @documentationMaturity preview
|
|
515
|
-
*/
|
|
516
|
-
lt: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
517
|
-
/** @param propertyName - Property whose value is compared with `string`.
|
|
518
|
-
* @param string - String to compare against. Case-insensitive.
|
|
519
|
-
* @documentationMaturity preview
|
|
520
|
-
*/
|
|
521
|
-
startsWith: (propertyName: 'disputeId', value: string) => DisputeHistoryRecordsQueryBuilder;
|
|
522
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
523
|
-
* @param values - List of values to compare against.
|
|
524
|
-
* @documentationMaturity preview
|
|
525
|
-
*/
|
|
526
|
-
hasSome: (propertyName: 'disputeId', value: any[]) => DisputeHistoryRecordsQueryBuilder;
|
|
527
|
-
/** @documentationMaturity preview */
|
|
528
|
-
in: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
529
|
-
/** @documentationMaturity preview */
|
|
530
|
-
exists: (propertyName: 'disputeId', value: boolean) => DisputeHistoryRecordsQueryBuilder;
|
|
531
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
532
|
-
* @documentationMaturity preview
|
|
533
|
-
*/
|
|
534
|
-
ascending: (...propertyNames: Array<'disputeId'>) => DisputeHistoryRecordsQueryBuilder;
|
|
535
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
536
|
-
* @documentationMaturity preview
|
|
537
|
-
*/
|
|
538
|
-
descending: (...propertyNames: Array<'disputeId'>) => DisputeHistoryRecordsQueryBuilder;
|
|
539
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
540
|
-
* @documentationMaturity preview
|
|
541
|
-
*/
|
|
542
|
-
limit: (limit: number) => DisputeHistoryRecordsQueryBuilder;
|
|
543
|
-
/** @param cursor - A pointer to specific record
|
|
544
|
-
* @documentationMaturity preview
|
|
545
|
-
*/
|
|
546
|
-
skipTo: (cursor: string) => DisputeHistoryRecordsQueryBuilder;
|
|
547
|
-
/** @documentationMaturity preview */
|
|
548
|
-
find: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
549
|
-
}
|
|
550
|
-
interface BulkUpdateDisputeHistoryRecordTagsOptions {
|
|
551
|
-
/** List of Tags to assign */
|
|
552
|
-
assignTags?: Tags;
|
|
553
|
-
/** List of Tags to unAssign */
|
|
554
|
-
unassignTags?: Tags;
|
|
555
|
-
}
|
|
556
|
-
interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
|
|
557
|
-
/** List of Tags to assign */
|
|
558
|
-
assignTags?: Tags;
|
|
559
|
-
/** List of Tags to unAssign */
|
|
560
|
-
unassignTags?: Tags;
|
|
40
|
+
(filter: Record<string, any>, options?: BulkUpdateDisputeHistoryRecordTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateDisputeHistoryRecordTagsByFilterResponse, `jobId`, 2> & {
|
|
41
|
+
__applicationErrorsType?: BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrors;
|
|
42
|
+
}>;
|
|
561
43
|
}
|
|
562
44
|
|
|
563
|
-
|
|
45
|
+
declare const getDisputeHistoryRecord: MaybeContext<BuildRESTFunction<typeof getDisputeHistoryRecord$1> & typeof getDisputeHistoryRecord$1>;
|
|
46
|
+
declare const queryDisputeHistoryRecords: MaybeContext<BuildRESTFunction<typeof queryDisputeHistoryRecords$1> & typeof queryDisputeHistoryRecords$1>;
|
|
47
|
+
declare const bulkUpdateDisputeHistoryRecordTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateDisputeHistoryRecordTags$1> & typeof bulkUpdateDisputeHistoryRecordTags$1>;
|
|
48
|
+
declare const bulkUpdateDisputeHistoryRecordTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateDisputeHistoryRecordTagsByFilter$1> & typeof bulkUpdateDisputeHistoryRecordTagsByFilter$1>;
|
|
49
|
+
|
|
50
|
+
export { BulkUpdateDisputeHistoryRecordTagsApplicationErrors, BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrors, BulkUpdateDisputeHistoryRecordTagsByFilterOptions, BulkUpdateDisputeHistoryRecordTagsByFilterResponse, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsResponse, DisputeHistoryRecord, DisputeHistoryRecordsQueryBuilder, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };
|