@wix/auto_sdk_payments_dispute-history-records 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +2 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +20 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +1 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +16 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +127 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +1 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +18 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +104 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +1 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +4 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +40 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +1 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +458 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +50 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +1 -0
- package/build/{index.d.mts → cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts} +43 -44
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +244 -0
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +2 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +12 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +1 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +16 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +120 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +1 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +18 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +74 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +1 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +4 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +28 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +1 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +458 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +47 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +1 -0
- package/build/{index.d.ts → es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts} +43 -44
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +214 -0
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +12 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +20 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +1 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +16 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +127 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +1 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +18 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +104 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +1 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +45 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +40 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +1 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +458 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +50 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +1 -0
- package/build/internal/{payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.d.mts → cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts} +87 -44
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +244 -0
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +12 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +12 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +1 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +16 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +120 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +1 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +18 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +74 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +1 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +45 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +28 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +1 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +458 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +47 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +1 -0
- package/build/internal/{payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.d.ts → es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts} +87 -44
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +214 -0
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.js +0 -386
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -354
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -54
- package/build/internal/index.d.ts +0 -54
- package/build/internal/index.js +0 -386
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -354
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -335
- package/build/internal/meta.d.ts +0 -335
- package/build/internal/meta.js +0 -238
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -208
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -335
- package/build/meta.d.ts +0 -335
- package/build/meta.js +0 -238
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -208
- package/build/meta.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** A DisputeHistoryRecord */
|
|
2
|
-
interface DisputeHistoryRecord {
|
|
2
|
+
export interface DisputeHistoryRecord {
|
|
3
3
|
/**
|
|
4
4
|
* DisputeHistoryRecord ID.
|
|
5
5
|
* @format GUID
|
|
@@ -68,7 +68,7 @@ interface DisputeHistoryRecord {
|
|
|
68
68
|
/** Tags */
|
|
69
69
|
tags?: Tags;
|
|
70
70
|
}
|
|
71
|
-
declare enum DisputeStage {
|
|
71
|
+
export 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",
|
|
@@ -77,7 +77,7 @@ declare enum DisputeStage {
|
|
|
77
77
|
/** Chargeback */
|
|
78
78
|
CHARGEBACK = "CHARGEBACK"
|
|
79
79
|
}
|
|
80
|
-
declare enum DisputeStatus {
|
|
80
|
+
export declare enum DisputeStatus {
|
|
81
81
|
/** Unknown status */
|
|
82
82
|
UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
|
|
83
83
|
/** Waiting for some merchant action */
|
|
@@ -91,14 +91,14 @@ declare enum DisputeStatus {
|
|
|
91
91
|
/** Dispute lost */
|
|
92
92
|
LOST = "LOST"
|
|
93
93
|
}
|
|
94
|
-
declare enum DisputeChannel {
|
|
94
|
+
export declare enum DisputeChannel {
|
|
95
95
|
UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
|
|
96
96
|
/** Internal, the dispute is reviewed by PSP */
|
|
97
97
|
INTERNAL = "INTERNAL",
|
|
98
98
|
/** External, the dispute is reviewed by bank (or other financial institution) */
|
|
99
99
|
EXTERNAL = "EXTERNAL"
|
|
100
100
|
}
|
|
101
|
-
interface ExtendedFields {
|
|
101
|
+
export interface ExtendedFields {
|
|
102
102
|
/**
|
|
103
103
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
104
104
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -131,11 +131,11 @@ interface ExtendedFields {
|
|
|
131
131
|
* }
|
|
132
132
|
* }
|
|
133
133
|
*/
|
|
134
|
-
interface Tags {
|
|
134
|
+
export interface Tags {
|
|
135
135
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
136
136
|
tags?: TagList;
|
|
137
137
|
}
|
|
138
|
-
interface TagList {
|
|
138
|
+
export interface TagList {
|
|
139
139
|
/**
|
|
140
140
|
* List of tag IDs
|
|
141
141
|
* @maxSize 100
|
|
@@ -143,22 +143,22 @@ interface TagList {
|
|
|
143
143
|
*/
|
|
144
144
|
tagIds?: string[];
|
|
145
145
|
}
|
|
146
|
-
interface GetDisputeHistoryRecordRequest {
|
|
146
|
+
export interface GetDisputeHistoryRecordRequest {
|
|
147
147
|
/**
|
|
148
148
|
* ID of the DisputeHistoryRecord to retrieve.
|
|
149
149
|
* @format GUID
|
|
150
150
|
*/
|
|
151
151
|
disputeHistoryRecordId: string;
|
|
152
152
|
}
|
|
153
|
-
interface GetDisputeHistoryRecordResponse {
|
|
153
|
+
export interface GetDisputeHistoryRecordResponse {
|
|
154
154
|
/** The requested DisputeHistoryRecord. */
|
|
155
155
|
disputeHistoryRecord?: DisputeHistoryRecord;
|
|
156
156
|
}
|
|
157
|
-
interface QueryDisputeHistoryRecordsRequest {
|
|
157
|
+
export interface QueryDisputeHistoryRecordsRequest {
|
|
158
158
|
/** WQL expression. */
|
|
159
159
|
query?: CursorQuery;
|
|
160
160
|
}
|
|
161
|
-
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
161
|
+
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
162
162
|
/** 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`. */
|
|
163
163
|
cursorPaging?: CursorPaging;
|
|
164
164
|
/**
|
|
@@ -178,11 +178,11 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
178
178
|
sort?: Sorting[];
|
|
179
179
|
}
|
|
180
180
|
/** @oneof */
|
|
181
|
-
interface CursorQueryPagingMethodOneOf {
|
|
181
|
+
export interface CursorQueryPagingMethodOneOf {
|
|
182
182
|
/** 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`. */
|
|
183
183
|
cursorPaging?: CursorPaging;
|
|
184
184
|
}
|
|
185
|
-
interface Sorting {
|
|
185
|
+
export interface Sorting {
|
|
186
186
|
/**
|
|
187
187
|
* Name of the field to sort by.
|
|
188
188
|
* @maxLength 512
|
|
@@ -191,11 +191,11 @@ interface Sorting {
|
|
|
191
191
|
/** Sort order. */
|
|
192
192
|
order?: SortOrder;
|
|
193
193
|
}
|
|
194
|
-
declare enum SortOrder {
|
|
194
|
+
export declare enum SortOrder {
|
|
195
195
|
ASC = "ASC",
|
|
196
196
|
DESC = "DESC"
|
|
197
197
|
}
|
|
198
|
-
interface CursorPaging {
|
|
198
|
+
export interface CursorPaging {
|
|
199
199
|
/**
|
|
200
200
|
* Maximum number of items to return in the results.
|
|
201
201
|
* @max 100
|
|
@@ -210,13 +210,13 @@ interface CursorPaging {
|
|
|
210
210
|
*/
|
|
211
211
|
cursor?: string | null;
|
|
212
212
|
}
|
|
213
|
-
interface QueryDisputeHistoryRecordsResponse {
|
|
213
|
+
export interface QueryDisputeHistoryRecordsResponse {
|
|
214
214
|
/** List of DisputeHistoryRecords. */
|
|
215
215
|
disputeHistoryRecords?: DisputeHistoryRecord[];
|
|
216
216
|
/** Paging metadata */
|
|
217
217
|
pagingMetadata?: CursorPagingMetadata;
|
|
218
218
|
}
|
|
219
|
-
interface CursorPagingMetadata {
|
|
219
|
+
export interface CursorPagingMetadata {
|
|
220
220
|
/** Number of items returned in the response. */
|
|
221
221
|
count?: number | null;
|
|
222
222
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -229,7 +229,7 @@ interface CursorPagingMetadata {
|
|
|
229
229
|
*/
|
|
230
230
|
hasNext?: boolean | null;
|
|
231
231
|
}
|
|
232
|
-
interface Cursors {
|
|
232
|
+
export interface Cursors {
|
|
233
233
|
/**
|
|
234
234
|
* Cursor string pointing to the next page in the list of results.
|
|
235
235
|
* @maxLength 16000
|
|
@@ -241,7 +241,7 @@ interface Cursors {
|
|
|
241
241
|
*/
|
|
242
242
|
prev?: string | null;
|
|
243
243
|
}
|
|
244
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
244
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
245
245
|
createdEvent?: EntityCreatedEvent;
|
|
246
246
|
updatedEvent?: EntityUpdatedEvent;
|
|
247
247
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -284,19 +284,19 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
284
284
|
entityEventSequence?: string | null;
|
|
285
285
|
}
|
|
286
286
|
/** @oneof */
|
|
287
|
-
interface DomainEventBodyOneOf {
|
|
287
|
+
export interface DomainEventBodyOneOf {
|
|
288
288
|
createdEvent?: EntityCreatedEvent;
|
|
289
289
|
updatedEvent?: EntityUpdatedEvent;
|
|
290
290
|
deletedEvent?: EntityDeletedEvent;
|
|
291
291
|
actionEvent?: ActionEvent;
|
|
292
292
|
}
|
|
293
|
-
interface EntityCreatedEvent {
|
|
293
|
+
export interface EntityCreatedEvent {
|
|
294
294
|
entity?: string;
|
|
295
295
|
}
|
|
296
|
-
interface RestoreInfo {
|
|
296
|
+
export interface RestoreInfo {
|
|
297
297
|
deletedDate?: Date | null;
|
|
298
298
|
}
|
|
299
|
-
interface EntityUpdatedEvent {
|
|
299
|
+
export 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 @@ interface EntityUpdatedEvent {
|
|
|
304
304
|
*/
|
|
305
305
|
currentEntity?: string;
|
|
306
306
|
}
|
|
307
|
-
interface EntityDeletedEvent {
|
|
307
|
+
export interface EntityDeletedEvent {
|
|
308
308
|
/** Entity that was deleted */
|
|
309
309
|
deletedEntity?: string | null;
|
|
310
310
|
}
|
|
311
|
-
interface ActionEvent {
|
|
311
|
+
export interface ActionEvent {
|
|
312
312
|
body?: string;
|
|
313
313
|
}
|
|
314
|
-
interface Empty {
|
|
314
|
+
export interface Empty {
|
|
315
315
|
}
|
|
316
|
-
interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
316
|
+
export interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
317
317
|
/**
|
|
318
318
|
* List of NileProtoTagsEntities that their tags will update.
|
|
319
319
|
* @minSize 1
|
|
@@ -326,7 +326,7 @@ interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
|
326
326
|
/** List of Tags to unAssign */
|
|
327
327
|
unassignTags?: Tags;
|
|
328
328
|
}
|
|
329
|
-
interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
329
|
+
export interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
330
330
|
/**
|
|
331
331
|
* Results
|
|
332
332
|
* @minSize 1
|
|
@@ -336,7 +336,7 @@ interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
|
336
336
|
/** Metadata regarding the bulk update operation */
|
|
337
337
|
bulkActionMetadata?: BulkActionMetadata;
|
|
338
338
|
}
|
|
339
|
-
interface ItemMetadata {
|
|
339
|
+
export 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 @@ interface ItemMetadata {
|
|
|
349
349
|
/** Details about the error in case of failure. */
|
|
350
350
|
error?: ApplicationError;
|
|
351
351
|
}
|
|
352
|
-
interface ApplicationError {
|
|
352
|
+
export interface ApplicationError {
|
|
353
353
|
/** Error code. */
|
|
354
354
|
code?: string;
|
|
355
355
|
/** Description of the error. */
|
|
@@ -357,11 +357,11 @@ interface ApplicationError {
|
|
|
357
357
|
/** Data related to the error. */
|
|
358
358
|
data?: Record<string, any> | null;
|
|
359
359
|
}
|
|
360
|
-
interface BulkUpdateDisputeHistoryRecordTagsResult {
|
|
360
|
+
export interface BulkUpdateDisputeHistoryRecordTagsResult {
|
|
361
361
|
/** Metadata regarding the specific single update operation */
|
|
362
362
|
itemMetadata?: ItemMetadata;
|
|
363
363
|
}
|
|
364
|
-
interface BulkActionMetadata {
|
|
364
|
+
export 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 @@ interface BulkActionMetadata {
|
|
|
369
369
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
370
370
|
undetailedFailures?: number;
|
|
371
371
|
}
|
|
372
|
-
interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
372
|
+
export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
373
373
|
/** Filter */
|
|
374
374
|
filter: Record<string, any> | null;
|
|
375
375
|
/** List of Tags to assign */
|
|
@@ -377,14 +377,14 @@ interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
|
377
377
|
/** List of Tags to unAssign */
|
|
378
378
|
unassignTags?: Tags;
|
|
379
379
|
}
|
|
380
|
-
interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
|
|
380
|
+
export interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
|
|
381
381
|
/**
|
|
382
382
|
* Job ID
|
|
383
383
|
* @format GUID
|
|
384
384
|
*/
|
|
385
385
|
jobId?: string;
|
|
386
386
|
}
|
|
387
|
-
interface MessageEnvelope {
|
|
387
|
+
export interface MessageEnvelope {
|
|
388
388
|
/**
|
|
389
389
|
* App instance ID.
|
|
390
390
|
* @format GUID
|
|
@@ -400,7 +400,7 @@ interface MessageEnvelope {
|
|
|
400
400
|
/** Stringify payload. */
|
|
401
401
|
data?: string;
|
|
402
402
|
}
|
|
403
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
403
|
+
export 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 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
425
425
|
identityType?: WebhookIdentityType;
|
|
426
426
|
}
|
|
427
427
|
/** @oneof */
|
|
428
|
-
interface IdentificationDataIdOneOf {
|
|
428
|
+
export 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 @@ interface IdentificationDataIdOneOf {
|
|
|
447
447
|
*/
|
|
448
448
|
appId?: string;
|
|
449
449
|
}
|
|
450
|
-
declare enum WebhookIdentityType {
|
|
450
|
+
export declare enum WebhookIdentityType {
|
|
451
451
|
UNKNOWN = "UNKNOWN",
|
|
452
452
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
453
453
|
MEMBER = "MEMBER",
|
|
@@ -461,13 +461,13 @@ interface QueryCursorResult {
|
|
|
461
461
|
length: number;
|
|
462
462
|
pageSize: number;
|
|
463
463
|
}
|
|
464
|
-
interface DisputeHistoryRecordsQueryResult extends QueryCursorResult {
|
|
464
|
+
export interface DisputeHistoryRecordsQueryResult extends QueryCursorResult {
|
|
465
465
|
items: DisputeHistoryRecord[];
|
|
466
466
|
query: DisputeHistoryRecordsQueryBuilder;
|
|
467
467
|
next: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
468
468
|
prev: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
469
469
|
}
|
|
470
|
-
interface DisputeHistoryRecordsQueryBuilder {
|
|
470
|
+
export interface DisputeHistoryRecordsQueryBuilder {
|
|
471
471
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
472
472
|
* @param value - Value to compare against.
|
|
473
473
|
* @documentationMaturity preview
|
|
@@ -511,17 +511,16 @@ interface DisputeHistoryRecordsQueryBuilder {
|
|
|
511
511
|
/** @documentationMaturity preview */
|
|
512
512
|
find: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
513
513
|
}
|
|
514
|
-
interface BulkUpdateDisputeHistoryRecordTagsOptions {
|
|
514
|
+
export interface BulkUpdateDisputeHistoryRecordTagsOptions {
|
|
515
515
|
/** List of Tags to assign */
|
|
516
516
|
assignTags?: Tags;
|
|
517
517
|
/** List of Tags to unAssign */
|
|
518
518
|
unassignTags?: Tags;
|
|
519
519
|
}
|
|
520
|
-
interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
|
|
520
|
+
export interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
|
|
521
521
|
/** List of Tags to assign */
|
|
522
522
|
assignTags?: Tags;
|
|
523
523
|
/** List of Tags to unAssign */
|
|
524
524
|
unassignTags?: Tags;
|
|
525
525
|
}
|
|
526
|
-
|
|
527
|
-
export { type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkUpdateDisputeHistoryRecordTagsByFilterOptions, type BulkUpdateDisputeHistoryRecordTagsByFilterRequest, type BulkUpdateDisputeHistoryRecordTagsByFilterResponse, type BulkUpdateDisputeHistoryRecordTagsOptions, type BulkUpdateDisputeHistoryRecordTagsRequest, type BulkUpdateDisputeHistoryRecordTagsResponse, type BulkUpdateDisputeHistoryRecordTagsResult, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DisputeChannel, type DisputeHistoryRecord, type DisputeHistoryRecordsQueryBuilder, type DisputeHistoryRecordsQueryResult, DisputeStage, DisputeStatus, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDisputeHistoryRecordRequest, type GetDisputeHistoryRecordResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type QueryDisputeHistoryRecordsRequest, type QueryDisputeHistoryRecordsResponse, type RestoreInfo, SortOrder, type Sorting, type TagList, type Tags, WebhookIdentityType };
|
|
526
|
+
export {};
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
|
|
2
|
+
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
|
+
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
|
+
import * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js';
|
|
5
|
+
export var DisputeStage;
|
|
6
|
+
(function (DisputeStage) {
|
|
7
|
+
DisputeStage["UNKNOWN_DISPUTE_STAGE"] = "UNKNOWN_DISPUTE_STAGE";
|
|
8
|
+
/** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
|
|
9
|
+
DisputeStage["NOTIFICATION_OF_FRAUD"] = "NOTIFICATION_OF_FRAUD";
|
|
10
|
+
/** Request for Information / Inquiry */
|
|
11
|
+
DisputeStage["RFI"] = "RFI";
|
|
12
|
+
/** Chargeback */
|
|
13
|
+
DisputeStage["CHARGEBACK"] = "CHARGEBACK";
|
|
14
|
+
})(DisputeStage || (DisputeStage = {}));
|
|
15
|
+
export var DisputeStatus;
|
|
16
|
+
(function (DisputeStatus) {
|
|
17
|
+
/** Unknown status */
|
|
18
|
+
DisputeStatus["UNKNOWN_DISPUTE_STATUS"] = "UNKNOWN_DISPUTE_STATUS";
|
|
19
|
+
/** Waiting for some merchant action */
|
|
20
|
+
DisputeStatus["WAITING_MERCHANT"] = "WAITING_MERCHANT";
|
|
21
|
+
/** Dispute is under review by PSP (internal channel) or Bank (external channel) */
|
|
22
|
+
DisputeStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
|
|
23
|
+
/** Waiting for some buyer action */
|
|
24
|
+
DisputeStatus["WAITING_BUYER"] = "WAITING_BUYER";
|
|
25
|
+
/** Dispute won */
|
|
26
|
+
DisputeStatus["WON"] = "WON";
|
|
27
|
+
/** Dispute lost */
|
|
28
|
+
DisputeStatus["LOST"] = "LOST";
|
|
29
|
+
})(DisputeStatus || (DisputeStatus = {}));
|
|
30
|
+
export var DisputeChannel;
|
|
31
|
+
(function (DisputeChannel) {
|
|
32
|
+
DisputeChannel["UNKNOWN_DISPUTE_CHANNEL"] = "UNKNOWN_DISPUTE_CHANNEL";
|
|
33
|
+
/** Internal, the dispute is reviewed by PSP */
|
|
34
|
+
DisputeChannel["INTERNAL"] = "INTERNAL";
|
|
35
|
+
/** External, the dispute is reviewed by bank (or other financial institution) */
|
|
36
|
+
DisputeChannel["EXTERNAL"] = "EXTERNAL";
|
|
37
|
+
})(DisputeChannel || (DisputeChannel = {}));
|
|
38
|
+
export var SortOrder;
|
|
39
|
+
(function (SortOrder) {
|
|
40
|
+
SortOrder["ASC"] = "ASC";
|
|
41
|
+
SortOrder["DESC"] = "DESC";
|
|
42
|
+
})(SortOrder || (SortOrder = {}));
|
|
43
|
+
export var WebhookIdentityType;
|
|
44
|
+
(function (WebhookIdentityType) {
|
|
45
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
46
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
47
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
48
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
49
|
+
WebhookIdentityType["APP"] = "APP";
|
|
50
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves a DisputeHistoryRecord.
|
|
53
|
+
* @param disputeHistoryRecordId - ID of the DisputeHistoryRecord to retrieve.
|
|
54
|
+
* @internal
|
|
55
|
+
* @documentationMaturity preview
|
|
56
|
+
* @requiredField disputeHistoryRecordId
|
|
57
|
+
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
|
|
58
|
+
* @returns The requested DisputeHistoryRecord.
|
|
59
|
+
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord
|
|
60
|
+
*/
|
|
61
|
+
export async function getDisputeHistoryRecord(disputeHistoryRecordId) {
|
|
62
|
+
// @ts-ignore
|
|
63
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
64
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
65
|
+
disputeHistoryRecordId: disputeHistoryRecordId,
|
|
66
|
+
});
|
|
67
|
+
const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.getDisputeHistoryRecord(payload);
|
|
68
|
+
sideEffects?.onSiteCall?.();
|
|
69
|
+
try {
|
|
70
|
+
const result = await httpClient.request(reqOpts);
|
|
71
|
+
sideEffects?.onSuccess?.(result);
|
|
72
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data)
|
|
73
|
+
?.disputeHistoryRecord;
|
|
74
|
+
}
|
|
75
|
+
catch (err) {
|
|
76
|
+
const transformedError = sdkTransformError(err, {
|
|
77
|
+
spreadPathsToArguments: {},
|
|
78
|
+
explicitPathsToArguments: { disputeHistoryRecordId: '$[0]' },
|
|
79
|
+
singleArgumentUnchanged: false,
|
|
80
|
+
}, ['disputeHistoryRecordId']);
|
|
81
|
+
sideEffects?.onError?.(err);
|
|
82
|
+
throw transformedError;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1].
|
|
87
|
+
* @internal
|
|
88
|
+
* @documentationMaturity preview
|
|
89
|
+
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
|
|
90
|
+
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords
|
|
91
|
+
*/
|
|
92
|
+
export function queryDisputeHistoryRecords() {
|
|
93
|
+
// @ts-ignore
|
|
94
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
95
|
+
return queryBuilder({
|
|
96
|
+
func: async (payload) => {
|
|
97
|
+
const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.queryDisputeHistoryRecords(payload);
|
|
98
|
+
sideEffects?.onSiteCall?.();
|
|
99
|
+
try {
|
|
100
|
+
const result = await httpClient.request(reqOpts);
|
|
101
|
+
sideEffects?.onSuccess?.(result);
|
|
102
|
+
return result;
|
|
103
|
+
}
|
|
104
|
+
catch (err) {
|
|
105
|
+
sideEffects?.onError?.(err);
|
|
106
|
+
throw err;
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
requestTransformer: (query) => {
|
|
110
|
+
const args = [query, {}];
|
|
111
|
+
return renameKeysFromSDKRequestToRESTRequest({
|
|
112
|
+
...args?.[1],
|
|
113
|
+
query: args?.[0],
|
|
114
|
+
});
|
|
115
|
+
},
|
|
116
|
+
responseTransformer: ({ data, }) => {
|
|
117
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
118
|
+
return {
|
|
119
|
+
items: transformedData?.disputeHistoryRecords,
|
|
120
|
+
pagingMetadata: transformedData?.pagingMetadata,
|
|
121
|
+
};
|
|
122
|
+
},
|
|
123
|
+
errorTransformer: (err) => {
|
|
124
|
+
const transformedError = sdkTransformError(err, {
|
|
125
|
+
spreadPathsToArguments: {},
|
|
126
|
+
explicitPathsToArguments: { query: '$[0]' },
|
|
127
|
+
singleArgumentUnchanged: false,
|
|
128
|
+
});
|
|
129
|
+
throw transformedError;
|
|
130
|
+
},
|
|
131
|
+
pagingMethod: 'CURSOR',
|
|
132
|
+
transformationPaths: {},
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Synchronously update tags on multiple products, by list of product ids
|
|
137
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
138
|
+
* @param ids - List of NileProtoTagsEntities that their tags will update.
|
|
139
|
+
* @internal
|
|
140
|
+
* @documentationMaturity preview
|
|
141
|
+
* @requiredField ids
|
|
142
|
+
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
|
|
143
|
+
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags
|
|
144
|
+
*/
|
|
145
|
+
export async function bulkUpdateDisputeHistoryRecordTags(ids, options) {
|
|
146
|
+
// @ts-ignore
|
|
147
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
148
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
149
|
+
ids: ids,
|
|
150
|
+
assignTags: options?.assignTags,
|
|
151
|
+
unassignTags: options?.unassignTags,
|
|
152
|
+
});
|
|
153
|
+
const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTags(payload);
|
|
154
|
+
sideEffects?.onSiteCall?.();
|
|
155
|
+
try {
|
|
156
|
+
const result = await httpClient.request(reqOpts);
|
|
157
|
+
sideEffects?.onSuccess?.(result);
|
|
158
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
159
|
+
}
|
|
160
|
+
catch (err) {
|
|
161
|
+
const transformedError = sdkTransformError(err, {
|
|
162
|
+
spreadPathsToArguments: {},
|
|
163
|
+
explicitPathsToArguments: {
|
|
164
|
+
ids: '$[0]',
|
|
165
|
+
assignTags: '$[1].assignTags',
|
|
166
|
+
unassignTags: '$[1].unassignTags',
|
|
167
|
+
},
|
|
168
|
+
singleArgumentUnchanged: false,
|
|
169
|
+
}, ['ids', 'options']);
|
|
170
|
+
sideEffects?.onError?.(err);
|
|
171
|
+
throw transformedError;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Asynchronously update tags on multiple products, by provided filter
|
|
176
|
+
* An empty filter will update all products
|
|
177
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
178
|
+
* @param filter - Filter
|
|
179
|
+
* @internal
|
|
180
|
+
* @documentationMaturity preview
|
|
181
|
+
* @requiredField filter
|
|
182
|
+
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
|
|
183
|
+
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter
|
|
184
|
+
*/
|
|
185
|
+
export async function bulkUpdateDisputeHistoryRecordTagsByFilter(filter, options) {
|
|
186
|
+
// @ts-ignore
|
|
187
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
188
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
189
|
+
filter: filter,
|
|
190
|
+
assignTags: options?.assignTags,
|
|
191
|
+
unassignTags: options?.unassignTags,
|
|
192
|
+
});
|
|
193
|
+
const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTagsByFilter(payload);
|
|
194
|
+
sideEffects?.onSiteCall?.();
|
|
195
|
+
try {
|
|
196
|
+
const result = await httpClient.request(reqOpts);
|
|
197
|
+
sideEffects?.onSuccess?.(result);
|
|
198
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
199
|
+
}
|
|
200
|
+
catch (err) {
|
|
201
|
+
const transformedError = sdkTransformError(err, {
|
|
202
|
+
spreadPathsToArguments: {},
|
|
203
|
+
explicitPathsToArguments: {
|
|
204
|
+
filter: '$[0]',
|
|
205
|
+
assignTags: '$[1].assignTags',
|
|
206
|
+
unassignTags: '$[1].unassignTags',
|
|
207
|
+
},
|
|
208
|
+
singleArgumentUnchanged: false,
|
|
209
|
+
}, ['filter', 'options']);
|
|
210
|
+
sideEffects?.onError?.(err);
|
|
211
|
+
throw transformedError;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
//# sourceMappingURL=payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js","sourceRoot":"","sources":["../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gEAAgE,MAAM,8FAA8F,CAAC;AA0EjL,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iEAAiE;IACjE,+DAA+C,CAAA;IAC/C,wCAAwC;IACxC,2BAAW,CAAA;IACX,iBAAiB;IACjB,yCAAyB,CAAA;AAC3B,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAED,MAAM,CAAN,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,qBAAqB;IACrB,kEAAiD,CAAA;IACjD,uCAAuC;IACvC,sDAAqC,CAAA;IACrC,mFAAmF;IACnF,8CAA6B,CAAA;IAC7B,oCAAoC;IACpC,gDAA+B,CAAA;IAC/B,kBAAkB;IAClB,4BAAW,CAAA;IACX,mBAAmB;IACnB,8BAAa,CAAA;AACf,CAAC,EAbW,aAAa,KAAb,aAAa,QAaxB;AAED,MAAM,CAAN,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,qEAAmD,CAAA;IACnD,+CAA+C;IAC/C,uCAAqB,CAAA;IACrB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,0 +1 @@
|
|
|
1
|
+
export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sIAAoH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.typings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wIAAsH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js"), exports);
|
|
18
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mIAAiH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getDisputeHistoryRecord as publicGetDisputeHistoryRecord, queryDisputeHistoryRecords as publicQueryDisputeHistoryRecords, bulkUpdateDisputeHistoryRecordTags as publicBulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter as publicBulkUpdateDisputeHistoryRecordTagsByFilter } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js';
|
|
2
|
+
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
|
+
/** @internal */
|
|
4
|
+
export declare const getDisputeHistoryRecord: MaybeContext<BuildRESTFunction<typeof publicGetDisputeHistoryRecord> & typeof publicGetDisputeHistoryRecord>;
|
|
5
|
+
/** @internal */
|
|
6
|
+
export declare const queryDisputeHistoryRecords: MaybeContext<BuildRESTFunction<typeof publicQueryDisputeHistoryRecords> & typeof publicQueryDisputeHistoryRecords>;
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare const bulkUpdateDisputeHistoryRecordTags: MaybeContext<BuildRESTFunction<typeof publicBulkUpdateDisputeHistoryRecordTags> & typeof publicBulkUpdateDisputeHistoryRecordTags>;
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const bulkUpdateDisputeHistoryRecordTagsByFilter: MaybeContext<BuildRESTFunction<typeof publicBulkUpdateDisputeHistoryRecordTagsByFilter> & typeof publicBulkUpdateDisputeHistoryRecordTagsByFilter>;
|
|
11
|
+
export { DisputeStage, DisputeStatus, DisputeChannel, SortOrder, WebhookIdentityType, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
|
|
12
|
+
export { DisputeHistoryRecord, ExtendedFields, Tags, TagList, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse, QueryDisputeHistoryRecordsRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryDisputeHistoryRecordsResponse, CursorPagingMetadata, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse, ItemMetadata, ApplicationError, BulkUpdateDisputeHistoryRecordTagsResult, BulkActionMetadata, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, DisputeHistoryRecordsQueryResult, DisputeHistoryRecordsQueryBuilder, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsByFilterOptions, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookIdentityType = exports.SortOrder = exports.DisputeChannel = exports.DisputeStatus = exports.DisputeStage = exports.bulkUpdateDisputeHistoryRecordTagsByFilter = exports.bulkUpdateDisputeHistoryRecordTags = exports.queryDisputeHistoryRecords = exports.getDisputeHistoryRecord = void 0;
|
|
4
|
+
const payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1 = require("./payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js");
|
|
5
|
+
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
+
/** @internal */
|
|
7
|
+
exports.getDisputeHistoryRecord = (0, rest_modules_1.createRESTModule)(payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1.getDisputeHistoryRecord);
|
|
8
|
+
/** @internal */
|
|
9
|
+
exports.queryDisputeHistoryRecords = (0, rest_modules_1.createRESTModule)(payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1.queryDisputeHistoryRecords);
|
|
10
|
+
/** @internal */
|
|
11
|
+
exports.bulkUpdateDisputeHistoryRecordTags = (0, rest_modules_1.createRESTModule)(payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1.bulkUpdateDisputeHistoryRecordTags);
|
|
12
|
+
/** @internal */
|
|
13
|
+
exports.bulkUpdateDisputeHistoryRecordTagsByFilter = (0, rest_modules_1.createRESTModule)(payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1.bulkUpdateDisputeHistoryRecordTagsByFilter);
|
|
14
|
+
var payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1 = require("./payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js");
|
|
15
|
+
Object.defineProperty(exports, "DisputeStage", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.DisputeStage; } });
|
|
16
|
+
Object.defineProperty(exports, "DisputeStatus", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.DisputeStatus; } });
|
|
17
|
+
Object.defineProperty(exports, "DisputeChannel", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.DisputeChannel; } });
|
|
18
|
+
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.SortOrder; } });
|
|
19
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.WebhookIdentityType; } });
|
|
20
|
+
//# sourceMappingURL=payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js","sourceRoot":"","sources":["../../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.ts"],"names":[],"mappings":";;;AAAA,iNAKwG;AACxG,gEAAiE;AAGjE,gBAAgB;AACH,QAAA,uBAAuB,GAGlB,IAAA,+BAAgB,EAAC,sHAA6B,CAAC,CAAC;AAClE,gBAAgB;AACH,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,yHAAgC,CAAC,CAAC;AACrE,gBAAgB;AACH,QAAA,kCAAkC,GAG7B,IAAA,+BAAgB,EAAC,iIAAwC,CAAC,CAAC;AAC7E,gBAAgB;AACH,QAAA,0CAA0C,GAGrC,IAAA,+BAAgB,EAChC,yIAAgD,CACjD,CAAC;AAEF,qNAM2G;AALzG,+LAAA,YAAY,OAAA;AACZ,gMAAA,aAAa,OAAA;AACb,iMAAA,cAAc,OAAA;AACd,4LAAA,SAAS,OAAA;AACT,sMAAA,mBAAmB,OAAA"}
|