@wix/auto_sdk_payments_dispute-history-records 1.0.14 → 1.0.15
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-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.mts} +49 -48
- package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.ts} +49 -48
- package/build/index.js +389 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +357 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +54 -0
- package/build/internal/index.d.ts +54 -0
- package/build/internal/index.js +389 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +357 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → internal/meta.d.mts} +51 -168
- package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +51 -168
- package/build/internal/meta.js +238 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +208 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.mts} +49 -92
- package/build/internal/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.ts} +49 -92
- package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +51 -168
- package/build/{internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +51 -168
- package/build/meta.js +238 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +208 -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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
1
|
/** A DisputeHistoryRecord */
|
|
3
|
-
|
|
2
|
+
interface DisputeHistoryRecord {
|
|
4
3
|
/**
|
|
5
4
|
* DisputeHistoryRecord ID.
|
|
6
5
|
* @format GUID
|
|
@@ -69,7 +68,7 @@ export interface DisputeHistoryRecord {
|
|
|
69
68
|
/** Tags */
|
|
70
69
|
tags?: Tags;
|
|
71
70
|
}
|
|
72
|
-
|
|
71
|
+
declare enum DisputeStage {
|
|
73
72
|
UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
|
|
74
73
|
/** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
|
|
75
74
|
NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
|
|
@@ -79,8 +78,8 @@ export declare enum DisputeStage {
|
|
|
79
78
|
CHARGEBACK = "CHARGEBACK"
|
|
80
79
|
}
|
|
81
80
|
/** @enumType */
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
|
|
82
|
+
declare enum DisputeStatus {
|
|
84
83
|
/** Unknown status */
|
|
85
84
|
UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
|
|
86
85
|
/** Waiting for some merchant action */
|
|
@@ -95,8 +94,8 @@ export declare enum DisputeStatus {
|
|
|
95
94
|
LOST = "LOST"
|
|
96
95
|
}
|
|
97
96
|
/** @enumType */
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
|
|
98
|
+
declare enum DisputeChannel {
|
|
100
99
|
UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
|
|
101
100
|
/** Internal, the dispute is reviewed by PSP */
|
|
102
101
|
INTERNAL = "INTERNAL",
|
|
@@ -104,8 +103,8 @@ export declare enum DisputeChannel {
|
|
|
104
103
|
EXTERNAL = "EXTERNAL"
|
|
105
104
|
}
|
|
106
105
|
/** @enumType */
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
|
|
107
|
+
interface ExtendedFields {
|
|
109
108
|
/**
|
|
110
109
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
111
110
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -138,11 +137,11 @@ export interface ExtendedFields {
|
|
|
138
137
|
* }
|
|
139
138
|
* }
|
|
140
139
|
*/
|
|
141
|
-
|
|
140
|
+
interface Tags {
|
|
142
141
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
143
142
|
tags?: TagList;
|
|
144
143
|
}
|
|
145
|
-
|
|
144
|
+
interface TagList {
|
|
146
145
|
/**
|
|
147
146
|
* List of tag IDs
|
|
148
147
|
* @maxSize 100
|
|
@@ -150,22 +149,22 @@ export interface TagList {
|
|
|
150
149
|
*/
|
|
151
150
|
tagIds?: string[];
|
|
152
151
|
}
|
|
153
|
-
|
|
152
|
+
interface GetDisputeHistoryRecordRequest {
|
|
154
153
|
/**
|
|
155
154
|
* ID of the DisputeHistoryRecord to retrieve.
|
|
156
155
|
* @format GUID
|
|
157
156
|
*/
|
|
158
157
|
disputeHistoryRecordId: string;
|
|
159
158
|
}
|
|
160
|
-
|
|
159
|
+
interface GetDisputeHistoryRecordResponse {
|
|
161
160
|
/** The requested DisputeHistoryRecord. */
|
|
162
161
|
disputeHistoryRecord?: DisputeHistoryRecord;
|
|
163
162
|
}
|
|
164
|
-
|
|
163
|
+
interface QueryDisputeHistoryRecordsRequest {
|
|
165
164
|
/** WQL expression. */
|
|
166
165
|
query?: CursorQuery;
|
|
167
166
|
}
|
|
168
|
-
|
|
167
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
169
168
|
/** 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`. */
|
|
170
169
|
cursorPaging?: CursorPaging;
|
|
171
170
|
/**
|
|
@@ -185,11 +184,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
185
184
|
sort?: Sorting[];
|
|
186
185
|
}
|
|
187
186
|
/** @oneof */
|
|
188
|
-
|
|
187
|
+
interface CursorQueryPagingMethodOneOf {
|
|
189
188
|
/** 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`. */
|
|
190
189
|
cursorPaging?: CursorPaging;
|
|
191
190
|
}
|
|
192
|
-
|
|
191
|
+
interface Sorting {
|
|
193
192
|
/**
|
|
194
193
|
* Name of the field to sort by.
|
|
195
194
|
* @maxLength 512
|
|
@@ -198,13 +197,13 @@ export interface Sorting {
|
|
|
198
197
|
/** Sort order. */
|
|
199
198
|
order?: SortOrderWithLiterals;
|
|
200
199
|
}
|
|
201
|
-
|
|
200
|
+
declare enum SortOrder {
|
|
202
201
|
ASC = "ASC",
|
|
203
202
|
DESC = "DESC"
|
|
204
203
|
}
|
|
205
204
|
/** @enumType */
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
206
|
+
interface CursorPaging {
|
|
208
207
|
/**
|
|
209
208
|
* Maximum number of items to return in the results.
|
|
210
209
|
* @max 100
|
|
@@ -219,13 +218,13 @@ export interface CursorPaging {
|
|
|
219
218
|
*/
|
|
220
219
|
cursor?: string | null;
|
|
221
220
|
}
|
|
222
|
-
|
|
221
|
+
interface QueryDisputeHistoryRecordsResponse {
|
|
223
222
|
/** List of DisputeHistoryRecords. */
|
|
224
223
|
disputeHistoryRecords?: DisputeHistoryRecord[];
|
|
225
224
|
/** Paging metadata */
|
|
226
225
|
pagingMetadata?: CursorPagingMetadata;
|
|
227
226
|
}
|
|
228
|
-
|
|
227
|
+
interface CursorPagingMetadata {
|
|
229
228
|
/** Number of items returned in the response. */
|
|
230
229
|
count?: number | null;
|
|
231
230
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -238,7 +237,7 @@ export interface CursorPagingMetadata {
|
|
|
238
237
|
*/
|
|
239
238
|
hasNext?: boolean | null;
|
|
240
239
|
}
|
|
241
|
-
|
|
240
|
+
interface Cursors {
|
|
242
241
|
/**
|
|
243
242
|
* Cursor string pointing to the next page in the list of results.
|
|
244
243
|
* @maxLength 16000
|
|
@@ -250,7 +249,7 @@ export interface Cursors {
|
|
|
250
249
|
*/
|
|
251
250
|
prev?: string | null;
|
|
252
251
|
}
|
|
253
|
-
|
|
252
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
254
253
|
createdEvent?: EntityCreatedEvent;
|
|
255
254
|
updatedEvent?: EntityUpdatedEvent;
|
|
256
255
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -285,19 +284,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
285
284
|
entityEventSequence?: string | null;
|
|
286
285
|
}
|
|
287
286
|
/** @oneof */
|
|
288
|
-
|
|
287
|
+
interface DomainEventBodyOneOf {
|
|
289
288
|
createdEvent?: EntityCreatedEvent;
|
|
290
289
|
updatedEvent?: EntityUpdatedEvent;
|
|
291
290
|
deletedEvent?: EntityDeletedEvent;
|
|
292
291
|
actionEvent?: ActionEvent;
|
|
293
292
|
}
|
|
294
|
-
|
|
293
|
+
interface EntityCreatedEvent {
|
|
295
294
|
entity?: string;
|
|
296
295
|
}
|
|
297
|
-
|
|
296
|
+
interface RestoreInfo {
|
|
298
297
|
deletedDate?: Date | null;
|
|
299
298
|
}
|
|
300
|
-
|
|
299
|
+
interface EntityUpdatedEvent {
|
|
301
300
|
/**
|
|
302
301
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
303
302
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -305,16 +304,16 @@ export interface EntityUpdatedEvent {
|
|
|
305
304
|
*/
|
|
306
305
|
currentEntity?: string;
|
|
307
306
|
}
|
|
308
|
-
|
|
307
|
+
interface EntityDeletedEvent {
|
|
309
308
|
/** Entity that was deleted. */
|
|
310
309
|
deletedEntity?: string | null;
|
|
311
310
|
}
|
|
312
|
-
|
|
311
|
+
interface ActionEvent {
|
|
313
312
|
body?: string;
|
|
314
313
|
}
|
|
315
|
-
|
|
314
|
+
interface Empty {
|
|
316
315
|
}
|
|
317
|
-
|
|
316
|
+
interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
318
317
|
/**
|
|
319
318
|
* List of NileProtoTagsEntities that their tags will update.
|
|
320
319
|
* @minSize 1
|
|
@@ -327,7 +326,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
|
327
326
|
/** List of Tags to unAssign */
|
|
328
327
|
unassignTags?: Tags;
|
|
329
328
|
}
|
|
330
|
-
|
|
329
|
+
interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
331
330
|
/**
|
|
332
331
|
* Results
|
|
333
332
|
* @minSize 1
|
|
@@ -337,7 +336,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
|
337
336
|
/** Metadata regarding the bulk update operation */
|
|
338
337
|
bulkActionMetadata?: BulkActionMetadata;
|
|
339
338
|
}
|
|
340
|
-
|
|
339
|
+
interface ItemMetadata {
|
|
341
340
|
/**
|
|
342
341
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
343
342
|
* @format GUID
|
|
@@ -350,7 +349,7 @@ export interface ItemMetadata {
|
|
|
350
349
|
/** Details about the error in case of failure. */
|
|
351
350
|
error?: ApplicationError;
|
|
352
351
|
}
|
|
353
|
-
|
|
352
|
+
interface ApplicationError {
|
|
354
353
|
/** Error code. */
|
|
355
354
|
code?: string;
|
|
356
355
|
/** Description of the error. */
|
|
@@ -358,11 +357,11 @@ export interface ApplicationError {
|
|
|
358
357
|
/** Data related to the error. */
|
|
359
358
|
data?: Record<string, any> | null;
|
|
360
359
|
}
|
|
361
|
-
|
|
360
|
+
interface BulkUpdateDisputeHistoryRecordTagsResult {
|
|
362
361
|
/** Metadata regarding the specific single update operation */
|
|
363
362
|
itemMetadata?: ItemMetadata;
|
|
364
363
|
}
|
|
365
|
-
|
|
364
|
+
interface BulkActionMetadata {
|
|
366
365
|
/** Number of items that were successfully processed. */
|
|
367
366
|
totalSuccesses?: number;
|
|
368
367
|
/** Number of items that couldn't be processed. */
|
|
@@ -370,7 +369,7 @@ export interface BulkActionMetadata {
|
|
|
370
369
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
371
370
|
undetailedFailures?: number;
|
|
372
371
|
}
|
|
373
|
-
|
|
372
|
+
interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
374
373
|
/** Filter */
|
|
375
374
|
filter: Record<string, any> | null;
|
|
376
375
|
/** List of Tags to assign */
|
|
@@ -378,14 +377,14 @@ export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
|
378
377
|
/** List of Tags to unAssign */
|
|
379
378
|
unassignTags?: Tags;
|
|
380
379
|
}
|
|
381
|
-
|
|
380
|
+
interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
|
|
382
381
|
/**
|
|
383
382
|
* Job ID
|
|
384
383
|
* @format GUID
|
|
385
384
|
*/
|
|
386
385
|
jobId?: string;
|
|
387
386
|
}
|
|
388
|
-
|
|
387
|
+
interface MessageEnvelope {
|
|
389
388
|
/**
|
|
390
389
|
* App instance ID.
|
|
391
390
|
* @format GUID
|
|
@@ -401,7 +400,7 @@ export interface MessageEnvelope {
|
|
|
401
400
|
/** Stringify payload. */
|
|
402
401
|
data?: string;
|
|
403
402
|
}
|
|
404
|
-
|
|
403
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
405
404
|
/**
|
|
406
405
|
* ID of a site visitor that has not logged in to the site.
|
|
407
406
|
* @format GUID
|
|
@@ -426,7 +425,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
426
425
|
identityType?: WebhookIdentityTypeWithLiterals;
|
|
427
426
|
}
|
|
428
427
|
/** @oneof */
|
|
429
|
-
|
|
428
|
+
interface IdentificationDataIdOneOf {
|
|
430
429
|
/**
|
|
431
430
|
* ID of a site visitor that has not logged in to the site.
|
|
432
431
|
* @format GUID
|
|
@@ -448,7 +447,7 @@ export interface IdentificationDataIdOneOf {
|
|
|
448
447
|
*/
|
|
449
448
|
appId?: string;
|
|
450
449
|
}
|
|
451
|
-
|
|
450
|
+
declare enum WebhookIdentityType {
|
|
452
451
|
UNKNOWN = "UNKNOWN",
|
|
453
452
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
454
453
|
MEMBER = "MEMBER",
|
|
@@ -456,27 +455,7 @@ export declare enum WebhookIdentityType {
|
|
|
456
455
|
APP = "APP"
|
|
457
456
|
}
|
|
458
457
|
/** @enumType */
|
|
459
|
-
|
|
460
|
-
type DisputeHistoryRecordNonNullablePaths = `disputeId` | `stage` | `status` | `chargeId` | `channel` | `tags.tags.tagIds`;
|
|
461
|
-
/**
|
|
462
|
-
* Retrieves a DisputeHistoryRecord.
|
|
463
|
-
* @param disputeHistoryRecordId - ID of the DisputeHistoryRecord to retrieve.
|
|
464
|
-
* @internal
|
|
465
|
-
* @documentationMaturity preview
|
|
466
|
-
* @requiredField disputeHistoryRecordId
|
|
467
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
|
|
468
|
-
* @returns The requested DisputeHistoryRecord.
|
|
469
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord
|
|
470
|
-
*/
|
|
471
|
-
export declare function getDisputeHistoryRecord(disputeHistoryRecordId: string): Promise<NonNullablePaths<DisputeHistoryRecord, DisputeHistoryRecordNonNullablePaths>>;
|
|
472
|
-
/**
|
|
473
|
-
* Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1].
|
|
474
|
-
* @internal
|
|
475
|
-
* @documentationMaturity preview
|
|
476
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
|
|
477
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords
|
|
478
|
-
*/
|
|
479
|
-
export declare function queryDisputeHistoryRecords(): DisputeHistoryRecordsQueryBuilder;
|
|
458
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
480
459
|
interface QueryCursorResult {
|
|
481
460
|
cursors: Cursors;
|
|
482
461
|
hasNext: () => boolean;
|
|
@@ -484,13 +463,13 @@ interface QueryCursorResult {
|
|
|
484
463
|
length: number;
|
|
485
464
|
pageSize: number;
|
|
486
465
|
}
|
|
487
|
-
|
|
466
|
+
interface DisputeHistoryRecordsQueryResult extends QueryCursorResult {
|
|
488
467
|
items: DisputeHistoryRecord[];
|
|
489
468
|
query: DisputeHistoryRecordsQueryBuilder;
|
|
490
469
|
next: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
491
470
|
prev: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
492
471
|
}
|
|
493
|
-
|
|
472
|
+
interface DisputeHistoryRecordsQueryBuilder {
|
|
494
473
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
495
474
|
* @param value - Value to compare against.
|
|
496
475
|
* @documentationMaturity preview
|
|
@@ -554,39 +533,17 @@ export interface DisputeHistoryRecordsQueryBuilder {
|
|
|
554
533
|
/** @documentationMaturity preview */
|
|
555
534
|
find: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
556
535
|
}
|
|
557
|
-
|
|
558
|
-
* Synchronously update tags on multiple products, by list of product ids
|
|
559
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
560
|
-
* @param ids - List of NileProtoTagsEntities that their tags will update.
|
|
561
|
-
* @internal
|
|
562
|
-
* @documentationMaturity preview
|
|
563
|
-
* @requiredField ids
|
|
564
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
|
|
565
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags
|
|
566
|
-
*/
|
|
567
|
-
export declare function bulkUpdateDisputeHistoryRecordTags(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`>>;
|
|
568
|
-
export interface BulkUpdateDisputeHistoryRecordTagsOptions {
|
|
536
|
+
interface BulkUpdateDisputeHistoryRecordTagsOptions {
|
|
569
537
|
/** List of Tags to assign */
|
|
570
538
|
assignTags?: Tags;
|
|
571
539
|
/** List of Tags to unAssign */
|
|
572
540
|
unassignTags?: Tags;
|
|
573
541
|
}
|
|
574
|
-
|
|
575
|
-
* Asynchronously update tags on multiple products, by provided filter
|
|
576
|
-
* An empty filter will update all products
|
|
577
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
578
|
-
* @param filter - Filter
|
|
579
|
-
* @internal
|
|
580
|
-
* @documentationMaturity preview
|
|
581
|
-
* @requiredField filter
|
|
582
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
|
|
583
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter
|
|
584
|
-
*/
|
|
585
|
-
export declare function bulkUpdateDisputeHistoryRecordTagsByFilter(filter: Record<string, any>, options?: BulkUpdateDisputeHistoryRecordTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateDisputeHistoryRecordTagsByFilterResponse, `jobId`>>;
|
|
586
|
-
export interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
|
|
542
|
+
interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
|
|
587
543
|
/** List of Tags to assign */
|
|
588
544
|
assignTags?: Tags;
|
|
589
545
|
/** List of Tags to unAssign */
|
|
590
546
|
unassignTags?: Tags;
|
|
591
547
|
}
|
|
592
|
-
|
|
548
|
+
|
|
549
|
+
export { type ActionEvent as A, type BulkUpdateDisputeHistoryRecordTagsOptions as B, type CursorQuery as C, type DisputeHistoryRecord as D, type ExtendedFields as E, type IdentificationData as F, type GetDisputeHistoryRecordRequest as G, type IdentificationDataIdOneOf as H, type ItemMetadata as I, type DisputeHistoryRecordsQueryResult as J, type MessageEnvelope as M, type QueryDisputeHistoryRecordsRequest as Q, type RestoreInfo as R, SortOrder as S, type Tags as T, WebhookIdentityType as W, type DisputeHistoryRecordsQueryBuilder as a, type BulkUpdateDisputeHistoryRecordTagsResponse as b, type BulkUpdateDisputeHistoryRecordTagsByFilterOptions as c, type BulkUpdateDisputeHistoryRecordTagsByFilterResponse as d, DisputeStage as e, DisputeStatus as f, DisputeChannel as g, type TagList as h, type GetDisputeHistoryRecordResponse as i, type CursorQueryPagingMethodOneOf as j, type Sorting as k, type CursorPaging as l, type QueryDisputeHistoryRecordsResponse as m, type CursorPagingMetadata as n, type Cursors as o, type DomainEvent as p, type DomainEventBodyOneOf as q, type EntityCreatedEvent as r, type EntityUpdatedEvent as s, type EntityDeletedEvent as t, type Empty as u, type BulkUpdateDisputeHistoryRecordTagsRequest as v, type ApplicationError as w, type BulkUpdateDisputeHistoryRecordTagsResult as x, type BulkActionMetadata as y, type BulkUpdateDisputeHistoryRecordTagsByFilterRequest as z };
|