@wix/auto_sdk_payments_dispute-history-records 1.0.4 → 1.0.6
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} +44 -87
- package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.ts} +44 -87
- package/build/index.js +386 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +354 -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 +386 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +354 -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} +47 -215
- package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +47 -215
- 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-60Otw4pt.d.mts} +44 -129
- 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-60Otw4pt.d.ts} +44 -129
- package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +47 -215
- package/build/{internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +47 -215
- 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 +13 -12
- 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 -244
- 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 -214
- 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 -244
- 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 -214
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { G as GetDisputeHistoryRecordRequest$1, i as GetDisputeHistoryRecordResponse$1, Q as QueryDisputeHistoryRecordsRequest$1, m as QueryDisputeHistoryRecordsResponse$1, v as BulkUpdateDisputeHistoryRecordTagsRequest$1, b as BulkUpdateDisputeHistoryRecordTagsResponse$1, z as BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, d as BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1 } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.js';
|
|
2
|
+
|
|
1
3
|
/** A DisputeHistoryRecord */
|
|
2
|
-
|
|
4
|
+
interface DisputeHistoryRecord {
|
|
3
5
|
/**
|
|
4
6
|
* DisputeHistoryRecord ID.
|
|
5
7
|
* @format GUID
|
|
@@ -68,7 +70,7 @@ export interface DisputeHistoryRecord {
|
|
|
68
70
|
/** Tags */
|
|
69
71
|
tags?: Tags;
|
|
70
72
|
}
|
|
71
|
-
|
|
73
|
+
declare enum DisputeStage {
|
|
72
74
|
UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
|
|
73
75
|
/** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
|
|
74
76
|
NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
|
|
@@ -77,7 +79,7 @@ export declare enum DisputeStage {
|
|
|
77
79
|
/** Chargeback */
|
|
78
80
|
CHARGEBACK = "CHARGEBACK"
|
|
79
81
|
}
|
|
80
|
-
|
|
82
|
+
declare enum DisputeStatus {
|
|
81
83
|
/** Unknown status */
|
|
82
84
|
UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
|
|
83
85
|
/** Waiting for some merchant action */
|
|
@@ -91,14 +93,14 @@ export declare enum DisputeStatus {
|
|
|
91
93
|
/** Dispute lost */
|
|
92
94
|
LOST = "LOST"
|
|
93
95
|
}
|
|
94
|
-
|
|
96
|
+
declare enum DisputeChannel {
|
|
95
97
|
UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
|
|
96
98
|
/** Internal, the dispute is reviewed by PSP */
|
|
97
99
|
INTERNAL = "INTERNAL",
|
|
98
100
|
/** External, the dispute is reviewed by bank (or other financial institution) */
|
|
99
101
|
EXTERNAL = "EXTERNAL"
|
|
100
102
|
}
|
|
101
|
-
|
|
103
|
+
interface ExtendedFields {
|
|
102
104
|
/**
|
|
103
105
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
104
106
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -131,11 +133,11 @@ export interface ExtendedFields {
|
|
|
131
133
|
* }
|
|
132
134
|
* }
|
|
133
135
|
*/
|
|
134
|
-
|
|
136
|
+
interface Tags {
|
|
135
137
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
136
138
|
tags?: TagList;
|
|
137
139
|
}
|
|
138
|
-
|
|
140
|
+
interface TagList {
|
|
139
141
|
/**
|
|
140
142
|
* List of tag IDs
|
|
141
143
|
* @maxSize 100
|
|
@@ -143,22 +145,22 @@ export interface TagList {
|
|
|
143
145
|
*/
|
|
144
146
|
tagIds?: string[];
|
|
145
147
|
}
|
|
146
|
-
|
|
148
|
+
interface GetDisputeHistoryRecordRequest {
|
|
147
149
|
/**
|
|
148
150
|
* ID of the DisputeHistoryRecord to retrieve.
|
|
149
151
|
* @format GUID
|
|
150
152
|
*/
|
|
151
153
|
disputeHistoryRecordId: string;
|
|
152
154
|
}
|
|
153
|
-
|
|
155
|
+
interface GetDisputeHistoryRecordResponse {
|
|
154
156
|
/** The requested DisputeHistoryRecord. */
|
|
155
157
|
disputeHistoryRecord?: DisputeHistoryRecord;
|
|
156
158
|
}
|
|
157
|
-
|
|
159
|
+
interface QueryDisputeHistoryRecordsRequest {
|
|
158
160
|
/** WQL expression. */
|
|
159
161
|
query?: CursorQuery;
|
|
160
162
|
}
|
|
161
|
-
|
|
163
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
162
164
|
/** 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
165
|
cursorPaging?: CursorPaging;
|
|
164
166
|
/**
|
|
@@ -178,11 +180,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
178
180
|
sort?: Sorting[];
|
|
179
181
|
}
|
|
180
182
|
/** @oneof */
|
|
181
|
-
|
|
183
|
+
interface CursorQueryPagingMethodOneOf {
|
|
182
184
|
/** 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
185
|
cursorPaging?: CursorPaging;
|
|
184
186
|
}
|
|
185
|
-
|
|
187
|
+
interface Sorting {
|
|
186
188
|
/**
|
|
187
189
|
* Name of the field to sort by.
|
|
188
190
|
* @maxLength 512
|
|
@@ -191,11 +193,11 @@ export interface Sorting {
|
|
|
191
193
|
/** Sort order. */
|
|
192
194
|
order?: SortOrder;
|
|
193
195
|
}
|
|
194
|
-
|
|
196
|
+
declare enum SortOrder {
|
|
195
197
|
ASC = "ASC",
|
|
196
198
|
DESC = "DESC"
|
|
197
199
|
}
|
|
198
|
-
|
|
200
|
+
interface CursorPaging {
|
|
199
201
|
/**
|
|
200
202
|
* Maximum number of items to return in the results.
|
|
201
203
|
* @max 100
|
|
@@ -210,13 +212,13 @@ export interface CursorPaging {
|
|
|
210
212
|
*/
|
|
211
213
|
cursor?: string | null;
|
|
212
214
|
}
|
|
213
|
-
|
|
215
|
+
interface QueryDisputeHistoryRecordsResponse {
|
|
214
216
|
/** List of DisputeHistoryRecords. */
|
|
215
217
|
disputeHistoryRecords?: DisputeHistoryRecord[];
|
|
216
218
|
/** Paging metadata */
|
|
217
219
|
pagingMetadata?: CursorPagingMetadata;
|
|
218
220
|
}
|
|
219
|
-
|
|
221
|
+
interface CursorPagingMetadata {
|
|
220
222
|
/** Number of items returned in the response. */
|
|
221
223
|
count?: number | null;
|
|
222
224
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -229,7 +231,7 @@ export interface CursorPagingMetadata {
|
|
|
229
231
|
*/
|
|
230
232
|
hasNext?: boolean | null;
|
|
231
233
|
}
|
|
232
|
-
|
|
234
|
+
interface Cursors {
|
|
233
235
|
/**
|
|
234
236
|
* Cursor string pointing to the next page in the list of results.
|
|
235
237
|
* @maxLength 16000
|
|
@@ -241,81 +243,7 @@ export interface Cursors {
|
|
|
241
243
|
*/
|
|
242
244
|
prev?: string | null;
|
|
243
245
|
}
|
|
244
|
-
|
|
245
|
-
createdEvent?: EntityCreatedEvent;
|
|
246
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
247
|
-
deletedEvent?: EntityDeletedEvent;
|
|
248
|
-
actionEvent?: ActionEvent;
|
|
249
|
-
/**
|
|
250
|
-
* Unique event ID.
|
|
251
|
-
* Allows clients to ignore duplicate webhooks.
|
|
252
|
-
*/
|
|
253
|
-
id?: string;
|
|
254
|
-
/**
|
|
255
|
-
* Assumes actions are also always typed to an entity_type
|
|
256
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
257
|
-
*/
|
|
258
|
-
entityFqdn?: string;
|
|
259
|
-
/**
|
|
260
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
261
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
262
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
263
|
-
*/
|
|
264
|
-
slug?: string;
|
|
265
|
-
/** ID of the entity associated with the event. */
|
|
266
|
-
entityId?: string;
|
|
267
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
268
|
-
eventTime?: Date | null;
|
|
269
|
-
/**
|
|
270
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
271
|
-
* (for example, GDPR).
|
|
272
|
-
*/
|
|
273
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
274
|
-
/** If present, indicates the action that triggered the event. */
|
|
275
|
-
originatedFrom?: string | null;
|
|
276
|
-
/**
|
|
277
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
278
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
279
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
280
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
281
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
282
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
283
|
-
*/
|
|
284
|
-
entityEventSequence?: string | null;
|
|
285
|
-
}
|
|
286
|
-
/** @oneof */
|
|
287
|
-
export interface DomainEventBodyOneOf {
|
|
288
|
-
createdEvent?: EntityCreatedEvent;
|
|
289
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
290
|
-
deletedEvent?: EntityDeletedEvent;
|
|
291
|
-
actionEvent?: ActionEvent;
|
|
292
|
-
}
|
|
293
|
-
export interface EntityCreatedEvent {
|
|
294
|
-
entityAsJson?: string;
|
|
295
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
296
|
-
restoreInfo?: RestoreInfo;
|
|
297
|
-
}
|
|
298
|
-
export interface RestoreInfo {
|
|
299
|
-
deletedDate?: Date | null;
|
|
300
|
-
}
|
|
301
|
-
export interface EntityUpdatedEvent {
|
|
302
|
-
/**
|
|
303
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
304
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
305
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
306
|
-
*/
|
|
307
|
-
currentEntityAsJson?: string;
|
|
308
|
-
}
|
|
309
|
-
export interface EntityDeletedEvent {
|
|
310
|
-
/** Entity that was deleted */
|
|
311
|
-
deletedEntityAsJson?: string | null;
|
|
312
|
-
}
|
|
313
|
-
export interface ActionEvent {
|
|
314
|
-
bodyAsJson?: string;
|
|
315
|
-
}
|
|
316
|
-
export interface Empty {
|
|
317
|
-
}
|
|
318
|
-
export interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
246
|
+
interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
319
247
|
/**
|
|
320
248
|
* List of NileProtoTagsEntities that their tags will update.
|
|
321
249
|
* @minSize 1
|
|
@@ -328,7 +256,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
|
328
256
|
/** List of Tags to unAssign */
|
|
329
257
|
unassignTags?: Tags;
|
|
330
258
|
}
|
|
331
|
-
|
|
259
|
+
interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
332
260
|
/**
|
|
333
261
|
* Results
|
|
334
262
|
* @minSize 1
|
|
@@ -338,7 +266,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
|
338
266
|
/** Metadata regarding the bulk update operation */
|
|
339
267
|
bulkActionMetadata?: BulkActionMetadata;
|
|
340
268
|
}
|
|
341
|
-
|
|
269
|
+
interface ItemMetadata {
|
|
342
270
|
/**
|
|
343
271
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
344
272
|
* @format GUID
|
|
@@ -351,7 +279,7 @@ export interface ItemMetadata {
|
|
|
351
279
|
/** Details about the error in case of failure. */
|
|
352
280
|
error?: ApplicationError;
|
|
353
281
|
}
|
|
354
|
-
|
|
282
|
+
interface ApplicationError {
|
|
355
283
|
/** Error code. */
|
|
356
284
|
code?: string;
|
|
357
285
|
/** Description of the error. */
|
|
@@ -359,11 +287,11 @@ export interface ApplicationError {
|
|
|
359
287
|
/** Data related to the error. */
|
|
360
288
|
data?: Record<string, any> | null;
|
|
361
289
|
}
|
|
362
|
-
|
|
290
|
+
interface BulkUpdateDisputeHistoryRecordTagsResult {
|
|
363
291
|
/** Metadata regarding the specific single update operation */
|
|
364
292
|
itemMetadata?: ItemMetadata;
|
|
365
293
|
}
|
|
366
|
-
|
|
294
|
+
interface BulkActionMetadata {
|
|
367
295
|
/** Number of items that were successfully processed. */
|
|
368
296
|
totalSuccesses?: number;
|
|
369
297
|
/** Number of items that couldn't be processed. */
|
|
@@ -371,7 +299,7 @@ export interface BulkActionMetadata {
|
|
|
371
299
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
372
300
|
undetailedFailures?: number;
|
|
373
301
|
}
|
|
374
|
-
|
|
302
|
+
interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
375
303
|
/** Filter */
|
|
376
304
|
filter: Record<string, any> | null;
|
|
377
305
|
/** List of Tags to assign */
|
|
@@ -379,125 +307,29 @@ export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
|
379
307
|
/** List of Tags to unAssign */
|
|
380
308
|
unassignTags?: Tags;
|
|
381
309
|
}
|
|
382
|
-
|
|
310
|
+
interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
|
|
383
311
|
/**
|
|
384
312
|
* Job ID
|
|
385
313
|
* @format GUID
|
|
386
314
|
*/
|
|
387
315
|
jobId?: string;
|
|
388
316
|
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
* @format GUID
|
|
409
|
-
*/
|
|
410
|
-
anonymousVisitorId?: string;
|
|
411
|
-
/**
|
|
412
|
-
* ID of a site visitor that has logged in to the site.
|
|
413
|
-
* @format GUID
|
|
414
|
-
*/
|
|
415
|
-
memberId?: string;
|
|
416
|
-
/**
|
|
417
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
418
|
-
* @format GUID
|
|
419
|
-
*/
|
|
420
|
-
wixUserId?: string;
|
|
421
|
-
/**
|
|
422
|
-
* ID of an app.
|
|
423
|
-
* @format GUID
|
|
424
|
-
*/
|
|
425
|
-
appId?: string;
|
|
426
|
-
/** @readonly */
|
|
427
|
-
identityType?: WebhookIdentityType;
|
|
428
|
-
}
|
|
429
|
-
/** @oneof */
|
|
430
|
-
export interface IdentificationDataIdOneOf {
|
|
431
|
-
/**
|
|
432
|
-
* ID of a site visitor that has not logged in to the site.
|
|
433
|
-
* @format GUID
|
|
434
|
-
*/
|
|
435
|
-
anonymousVisitorId?: string;
|
|
436
|
-
/**
|
|
437
|
-
* ID of a site visitor that has logged in to the site.
|
|
438
|
-
* @format GUID
|
|
439
|
-
*/
|
|
440
|
-
memberId?: string;
|
|
441
|
-
/**
|
|
442
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
443
|
-
* @format GUID
|
|
444
|
-
*/
|
|
445
|
-
wixUserId?: string;
|
|
446
|
-
/**
|
|
447
|
-
* ID of an app.
|
|
448
|
-
* @format GUID
|
|
449
|
-
*/
|
|
450
|
-
appId?: string;
|
|
451
|
-
}
|
|
452
|
-
export declare enum WebhookIdentityType {
|
|
453
|
-
UNKNOWN = "UNKNOWN",
|
|
454
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
455
|
-
MEMBER = "MEMBER",
|
|
456
|
-
WIX_USER = "WIX_USER",
|
|
457
|
-
APP = "APP"
|
|
458
|
-
}
|
|
459
|
-
interface TagListNonNullableFields {
|
|
460
|
-
tagIds: string[];
|
|
461
|
-
}
|
|
462
|
-
interface TagsNonNullableFields {
|
|
463
|
-
tags?: TagListNonNullableFields;
|
|
464
|
-
}
|
|
465
|
-
interface DisputeHistoryRecordNonNullableFields {
|
|
466
|
-
disputeId: string;
|
|
467
|
-
stage: DisputeStage;
|
|
468
|
-
status: DisputeStatus;
|
|
469
|
-
chargeId: string;
|
|
470
|
-
channel: DisputeChannel;
|
|
471
|
-
tags?: TagsNonNullableFields;
|
|
472
|
-
}
|
|
473
|
-
export interface GetDisputeHistoryRecordResponseNonNullableFields {
|
|
474
|
-
disputeHistoryRecord?: DisputeHistoryRecordNonNullableFields;
|
|
475
|
-
}
|
|
476
|
-
export interface QueryDisputeHistoryRecordsResponseNonNullableFields {
|
|
477
|
-
disputeHistoryRecords: DisputeHistoryRecordNonNullableFields[];
|
|
478
|
-
}
|
|
479
|
-
interface ApplicationErrorNonNullableFields {
|
|
480
|
-
code: string;
|
|
481
|
-
description: string;
|
|
482
|
-
}
|
|
483
|
-
interface ItemMetadataNonNullableFields {
|
|
484
|
-
originalIndex: number;
|
|
485
|
-
success: boolean;
|
|
486
|
-
error?: ApplicationErrorNonNullableFields;
|
|
487
|
-
}
|
|
488
|
-
interface BulkUpdateDisputeHistoryRecordTagsResultNonNullableFields {
|
|
489
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
490
|
-
}
|
|
491
|
-
interface BulkActionMetadataNonNullableFields {
|
|
492
|
-
totalSuccesses: number;
|
|
493
|
-
totalFailures: number;
|
|
494
|
-
undetailedFailures: number;
|
|
495
|
-
}
|
|
496
|
-
export interface BulkUpdateDisputeHistoryRecordTagsResponseNonNullableFields {
|
|
497
|
-
results: BulkUpdateDisputeHistoryRecordTagsResultNonNullableFields[];
|
|
498
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
499
|
-
}
|
|
500
|
-
export interface BulkUpdateDisputeHistoryRecordTagsByFilterResponseNonNullableFields {
|
|
501
|
-
jobId: string;
|
|
502
|
-
}
|
|
503
|
-
export {};
|
|
317
|
+
|
|
318
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
319
|
+
getUrl: (context: any) => string;
|
|
320
|
+
httpMethod: K;
|
|
321
|
+
path: string;
|
|
322
|
+
pathParams: M;
|
|
323
|
+
__requestType: T;
|
|
324
|
+
__originalRequestType: S;
|
|
325
|
+
__responseType: Q;
|
|
326
|
+
__originalResponseType: R;
|
|
327
|
+
};
|
|
328
|
+
declare function getDisputeHistoryRecord(): __PublicMethodMetaInfo<'GET', {
|
|
329
|
+
disputeHistoryRecordId: string;
|
|
330
|
+
}, GetDisputeHistoryRecordRequest$1, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse$1, GetDisputeHistoryRecordResponse>;
|
|
331
|
+
declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {}, QueryDisputeHistoryRecordsRequest$1, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse$1, QueryDisputeHistoryRecordsResponse>;
|
|
332
|
+
declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsResponse>;
|
|
333
|
+
declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
|
|
334
|
+
|
|
335
|
+
export { type __PublicMethodMetaInfo, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// meta.ts
|
|
21
|
+
var meta_exports = {};
|
|
22
|
+
__export(meta_exports, {
|
|
23
|
+
bulkUpdateDisputeHistoryRecordTags: () => bulkUpdateDisputeHistoryRecordTags2,
|
|
24
|
+
bulkUpdateDisputeHistoryRecordTagsByFilter: () => bulkUpdateDisputeHistoryRecordTagsByFilter2,
|
|
25
|
+
getDisputeHistoryRecord: () => getDisputeHistoryRecord2,
|
|
26
|
+
queryDisputeHistoryRecords: () => queryDisputeHistoryRecords2
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(meta_exports);
|
|
29
|
+
|
|
30
|
+
// src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.ts
|
|
31
|
+
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
32
|
+
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
33
|
+
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
34
|
+
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
35
|
+
function resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(opts) {
|
|
36
|
+
const domainToMappings = {};
|
|
37
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
38
|
+
}
|
|
39
|
+
var PACKAGE_NAME = "@wix/auto_sdk_payments_dispute-history-records";
|
|
40
|
+
function getDisputeHistoryRecord(payload) {
|
|
41
|
+
function __getDisputeHistoryRecord({ host }) {
|
|
42
|
+
const metadata = {
|
|
43
|
+
entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
|
|
44
|
+
method: "GET",
|
|
45
|
+
methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord",
|
|
46
|
+
packageName: PACKAGE_NAME,
|
|
47
|
+
url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
|
|
48
|
+
{
|
|
49
|
+
protoPath: "/v1/dispute-history-records/{disputeHistoryRecordId}",
|
|
50
|
+
data: payload,
|
|
51
|
+
host
|
|
52
|
+
}
|
|
53
|
+
),
|
|
54
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
55
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
56
|
+
{
|
|
57
|
+
transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
|
|
58
|
+
paths: [
|
|
59
|
+
{ path: "disputeHistoryRecord.createdDate" },
|
|
60
|
+
{ path: "disputeHistoryRecord.updatedDate" },
|
|
61
|
+
{ path: "disputeHistoryRecord.dueDate" }
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
])
|
|
65
|
+
};
|
|
66
|
+
return metadata;
|
|
67
|
+
}
|
|
68
|
+
return __getDisputeHistoryRecord;
|
|
69
|
+
}
|
|
70
|
+
function queryDisputeHistoryRecords(payload) {
|
|
71
|
+
function __queryDisputeHistoryRecords({ host }) {
|
|
72
|
+
const metadata = {
|
|
73
|
+
entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
|
|
74
|
+
method: "POST",
|
|
75
|
+
methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords",
|
|
76
|
+
packageName: PACKAGE_NAME,
|
|
77
|
+
url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
|
|
78
|
+
{ protoPath: "/v1/dispute-history-records/query", data: payload, host }
|
|
79
|
+
),
|
|
80
|
+
data: payload,
|
|
81
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
82
|
+
{
|
|
83
|
+
transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
|
|
84
|
+
paths: [
|
|
85
|
+
{ path: "disputeHistoryRecords.createdDate" },
|
|
86
|
+
{ path: "disputeHistoryRecords.updatedDate" },
|
|
87
|
+
{ path: "disputeHistoryRecords.dueDate" }
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
]),
|
|
91
|
+
fallback: [
|
|
92
|
+
{
|
|
93
|
+
method: "POST",
|
|
94
|
+
url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
|
|
95
|
+
{
|
|
96
|
+
protoPath: "/v1/dispute-history-records/query",
|
|
97
|
+
data: payload,
|
|
98
|
+
host
|
|
99
|
+
}
|
|
100
|
+
),
|
|
101
|
+
data: payload
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
};
|
|
105
|
+
return metadata;
|
|
106
|
+
}
|
|
107
|
+
return __queryDisputeHistoryRecords;
|
|
108
|
+
}
|
|
109
|
+
function bulkUpdateDisputeHistoryRecordTags(payload) {
|
|
110
|
+
function __bulkUpdateDisputeHistoryRecordTags({ host }) {
|
|
111
|
+
const metadata = {
|
|
112
|
+
entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
|
|
113
|
+
method: "POST",
|
|
114
|
+
methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags",
|
|
115
|
+
packageName: PACKAGE_NAME,
|
|
116
|
+
url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
|
|
117
|
+
{
|
|
118
|
+
protoPath: "/v1/bulk/dispute-history-records/update-tags",
|
|
119
|
+
data: payload,
|
|
120
|
+
host
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
data: payload
|
|
124
|
+
};
|
|
125
|
+
return metadata;
|
|
126
|
+
}
|
|
127
|
+
return __bulkUpdateDisputeHistoryRecordTags;
|
|
128
|
+
}
|
|
129
|
+
function bulkUpdateDisputeHistoryRecordTagsByFilter(payload) {
|
|
130
|
+
function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }) {
|
|
131
|
+
const metadata = {
|
|
132
|
+
entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
|
|
133
|
+
method: "POST",
|
|
134
|
+
methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter",
|
|
135
|
+
packageName: PACKAGE_NAME,
|
|
136
|
+
url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
|
|
137
|
+
{
|
|
138
|
+
protoPath: "/v1/bulk/dispute-history-records/update-tags-by-filter",
|
|
139
|
+
data: payload,
|
|
140
|
+
host
|
|
141
|
+
}
|
|
142
|
+
),
|
|
143
|
+
data: payload
|
|
144
|
+
};
|
|
145
|
+
return metadata;
|
|
146
|
+
}
|
|
147
|
+
return __bulkUpdateDisputeHistoryRecordTagsByFilter;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts
|
|
151
|
+
function getDisputeHistoryRecord2() {
|
|
152
|
+
const payload = { disputeHistoryRecordId: ":disputeHistoryRecordId" };
|
|
153
|
+
const getRequestOptions = getDisputeHistoryRecord(
|
|
154
|
+
payload
|
|
155
|
+
);
|
|
156
|
+
const getUrl = (context) => {
|
|
157
|
+
const { url } = getRequestOptions(context);
|
|
158
|
+
return url;
|
|
159
|
+
};
|
|
160
|
+
return {
|
|
161
|
+
getUrl,
|
|
162
|
+
httpMethod: "GET",
|
|
163
|
+
path: "/v1/dispute-history-records/{disputeHistoryRecordId}",
|
|
164
|
+
pathParams: { disputeHistoryRecordId: "disputeHistoryRecordId" },
|
|
165
|
+
__requestType: null,
|
|
166
|
+
__originalRequestType: null,
|
|
167
|
+
__responseType: null,
|
|
168
|
+
__originalResponseType: null
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
function queryDisputeHistoryRecords2() {
|
|
172
|
+
const payload = {};
|
|
173
|
+
const getRequestOptions = queryDisputeHistoryRecords(
|
|
174
|
+
payload
|
|
175
|
+
);
|
|
176
|
+
const getUrl = (context) => {
|
|
177
|
+
const { url } = getRequestOptions(context);
|
|
178
|
+
return url;
|
|
179
|
+
};
|
|
180
|
+
return {
|
|
181
|
+
getUrl,
|
|
182
|
+
httpMethod: "GET",
|
|
183
|
+
path: "/v1/dispute-history-records/query",
|
|
184
|
+
pathParams: {},
|
|
185
|
+
__requestType: null,
|
|
186
|
+
__originalRequestType: null,
|
|
187
|
+
__responseType: null,
|
|
188
|
+
__originalResponseType: null
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
function bulkUpdateDisputeHistoryRecordTags2() {
|
|
192
|
+
const payload = {};
|
|
193
|
+
const getRequestOptions = bulkUpdateDisputeHistoryRecordTags(
|
|
194
|
+
payload
|
|
195
|
+
);
|
|
196
|
+
const getUrl = (context) => {
|
|
197
|
+
const { url } = getRequestOptions(context);
|
|
198
|
+
return url;
|
|
199
|
+
};
|
|
200
|
+
return {
|
|
201
|
+
getUrl,
|
|
202
|
+
httpMethod: "POST",
|
|
203
|
+
path: "/v1/bulk/dispute-history-records/update-tags",
|
|
204
|
+
pathParams: {},
|
|
205
|
+
__requestType: null,
|
|
206
|
+
__originalRequestType: null,
|
|
207
|
+
__responseType: null,
|
|
208
|
+
__originalResponseType: null
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
function bulkUpdateDisputeHistoryRecordTagsByFilter2() {
|
|
212
|
+
const payload = {};
|
|
213
|
+
const getRequestOptions = bulkUpdateDisputeHistoryRecordTagsByFilter(
|
|
214
|
+
payload
|
|
215
|
+
);
|
|
216
|
+
const getUrl = (context) => {
|
|
217
|
+
const { url } = getRequestOptions(context);
|
|
218
|
+
return url;
|
|
219
|
+
};
|
|
220
|
+
return {
|
|
221
|
+
getUrl,
|
|
222
|
+
httpMethod: "POST",
|
|
223
|
+
path: "/v1/bulk/dispute-history-records/update-tags-by-filter",
|
|
224
|
+
pathParams: {},
|
|
225
|
+
__requestType: null,
|
|
226
|
+
__originalRequestType: null,
|
|
227
|
+
__responseType: null,
|
|
228
|
+
__originalResponseType: null
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
232
|
+
0 && (module.exports = {
|
|
233
|
+
bulkUpdateDisputeHistoryRecordTags,
|
|
234
|
+
bulkUpdateDisputeHistoryRecordTagsByFilter,
|
|
235
|
+
getDisputeHistoryRecord,
|
|
236
|
+
queryDisputeHistoryRecords
|
|
237
|
+
});
|
|
238
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../meta.ts","../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.ts","../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts"],"sourcesContent":["export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_dispute-history-records';\n\n/** Retrieves a DisputeHistoryRecord. */\nexport function getDisputeHistoryRecord(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDisputeHistoryRecord({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/dispute-history-records/{disputeHistoryRecordId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeHistoryRecord.createdDate' },\n { path: 'disputeHistoryRecord.updatedDate' },\n { path: 'disputeHistoryRecord.dueDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDisputeHistoryRecord;\n}\n\n/** Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1]. */\nexport function queryDisputeHistoryRecords(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDisputeHistoryRecords({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n { protoPath: '/v1/dispute-history-records/query', data: payload, host }\n ),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeHistoryRecords.createdDate' },\n { path: 'disputeHistoryRecords.updatedDate' },\n { path: 'disputeHistoryRecords.dueDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/dispute-history-records/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryDisputeHistoryRecords;\n}\n\n/**\n * Synchronously update tags on multiple products, by list of product ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdateDisputeHistoryRecordTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeHistoryRecordTags({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-history-records/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeHistoryRecordTags;\n}\n\n/**\n * Asynchronously update tags on multiple products, by provided filter\n * An empty filter will update all products\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdateDisputeHistoryRecordTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-history-records/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeHistoryRecordTagsByFilter;\n}\n","import * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js';\nimport * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js';\nimport * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getDisputeHistoryRecord(): __PublicMethodMetaInfo<\n 'GET',\n { disputeHistoryRecordId: string },\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordResponse\n> {\n const payload = { disputeHistoryRecordId: ':disputeHistoryRecordId' } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.getDisputeHistoryRecord(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/dispute-history-records/{disputeHistoryRecordId}',\n pathParams: { disputeHistoryRecordId: 'disputeHistoryRecordId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.queryDisputeHistoryRecords(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/dispute-history-records/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTags(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/dispute-history-records/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTagsByFilter(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/dispute-history-records/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":"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","names":["bulkUpdateDisputeHistoryRecordTags","bulkUpdateDisputeHistoryRecordTagsByFilter","getDisputeHistoryRecord","queryDisputeHistoryRecords","import_rest_modules","payload","getDisputeHistoryRecord","queryDisputeHistoryRecords","bulkUpdateDisputeHistoryRecordTags","bulkUpdateDisputeHistoryRecordTagsByFilter"]}
|