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