@wix/auto_sdk_payments_dispute-history-records 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.mts} +49 -48
- package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.ts} +49 -48
- package/build/index.js +389 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +357 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +54 -0
- package/build/internal/index.d.ts +54 -0
- package/build/internal/index.js +389 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +357 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → internal/meta.d.mts} +51 -168
- package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +51 -168
- package/build/internal/meta.js +238 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +208 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.mts} +49 -92
- package/build/internal/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.ts} +49 -92
- package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +51 -168
- package/build/{internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +51 -168
- package/build/meta.js +238 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +208 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +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 -246
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { GetDisputeHistoryRecordRequest as GetDisputeHistoryRecordRequest$1, GetDisputeHistoryRecordResponse as GetDisputeHistoryRecordResponse$1, QueryDisputeHistoryRecordsRequest as QueryDisputeHistoryRecordsRequest$1, QueryDisputeHistoryRecordsResponse as QueryDisputeHistoryRecordsResponse$1, BulkUpdateDisputeHistoryRecordTagsRequest as BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsResponse as BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest as BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse as BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1 } from './index.mjs';
|
|
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",
|
|
@@ -78,8 +80,8 @@ export declare enum DisputeStage {
|
|
|
78
80
|
CHARGEBACK = "CHARGEBACK"
|
|
79
81
|
}
|
|
80
82
|
/** @enumType */
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
|
|
84
|
+
declare enum DisputeStatus {
|
|
83
85
|
/** Unknown status */
|
|
84
86
|
UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
|
|
85
87
|
/** Waiting for some merchant action */
|
|
@@ -94,8 +96,8 @@ export declare enum DisputeStatus {
|
|
|
94
96
|
LOST = "LOST"
|
|
95
97
|
}
|
|
96
98
|
/** @enumType */
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
|
|
100
|
+
declare enum DisputeChannel {
|
|
99
101
|
UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
|
|
100
102
|
/** Internal, the dispute is reviewed by PSP */
|
|
101
103
|
INTERNAL = "INTERNAL",
|
|
@@ -103,8 +105,8 @@ export declare enum DisputeChannel {
|
|
|
103
105
|
EXTERNAL = "EXTERNAL"
|
|
104
106
|
}
|
|
105
107
|
/** @enumType */
|
|
106
|
-
|
|
107
|
-
|
|
108
|
+
type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
|
|
109
|
+
interface ExtendedFields {
|
|
108
110
|
/**
|
|
109
111
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
110
112
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -137,11 +139,11 @@ export interface ExtendedFields {
|
|
|
137
139
|
* }
|
|
138
140
|
* }
|
|
139
141
|
*/
|
|
140
|
-
|
|
142
|
+
interface Tags {
|
|
141
143
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
142
144
|
tags?: TagList;
|
|
143
145
|
}
|
|
144
|
-
|
|
146
|
+
interface TagList {
|
|
145
147
|
/**
|
|
146
148
|
* List of tag IDs
|
|
147
149
|
* @maxSize 100
|
|
@@ -149,22 +151,22 @@ export interface TagList {
|
|
|
149
151
|
*/
|
|
150
152
|
tagIds?: string[];
|
|
151
153
|
}
|
|
152
|
-
|
|
154
|
+
interface GetDisputeHistoryRecordRequest {
|
|
153
155
|
/**
|
|
154
156
|
* ID of the DisputeHistoryRecord to retrieve.
|
|
155
157
|
* @format GUID
|
|
156
158
|
*/
|
|
157
159
|
disputeHistoryRecordId: string;
|
|
158
160
|
}
|
|
159
|
-
|
|
161
|
+
interface GetDisputeHistoryRecordResponse {
|
|
160
162
|
/** The requested DisputeHistoryRecord. */
|
|
161
163
|
disputeHistoryRecord?: DisputeHistoryRecord;
|
|
162
164
|
}
|
|
163
|
-
|
|
165
|
+
interface QueryDisputeHistoryRecordsRequest {
|
|
164
166
|
/** WQL expression. */
|
|
165
167
|
query?: CursorQuery;
|
|
166
168
|
}
|
|
167
|
-
|
|
169
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
168
170
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
169
171
|
cursorPaging?: CursorPaging;
|
|
170
172
|
/**
|
|
@@ -184,11 +186,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
184
186
|
sort?: Sorting[];
|
|
185
187
|
}
|
|
186
188
|
/** @oneof */
|
|
187
|
-
|
|
189
|
+
interface CursorQueryPagingMethodOneOf {
|
|
188
190
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
189
191
|
cursorPaging?: CursorPaging;
|
|
190
192
|
}
|
|
191
|
-
|
|
193
|
+
interface Sorting {
|
|
192
194
|
/**
|
|
193
195
|
* Name of the field to sort by.
|
|
194
196
|
* @maxLength 512
|
|
@@ -197,13 +199,13 @@ export interface Sorting {
|
|
|
197
199
|
/** Sort order. */
|
|
198
200
|
order?: SortOrderWithLiterals;
|
|
199
201
|
}
|
|
200
|
-
|
|
202
|
+
declare enum SortOrder {
|
|
201
203
|
ASC = "ASC",
|
|
202
204
|
DESC = "DESC"
|
|
203
205
|
}
|
|
204
206
|
/** @enumType */
|
|
205
|
-
|
|
206
|
-
|
|
207
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
208
|
+
interface CursorPaging {
|
|
207
209
|
/**
|
|
208
210
|
* Maximum number of items to return in the results.
|
|
209
211
|
* @max 100
|
|
@@ -218,13 +220,13 @@ export interface CursorPaging {
|
|
|
218
220
|
*/
|
|
219
221
|
cursor?: string | null;
|
|
220
222
|
}
|
|
221
|
-
|
|
223
|
+
interface QueryDisputeHistoryRecordsResponse {
|
|
222
224
|
/** List of DisputeHistoryRecords. */
|
|
223
225
|
disputeHistoryRecords?: DisputeHistoryRecord[];
|
|
224
226
|
/** Paging metadata */
|
|
225
227
|
pagingMetadata?: CursorPagingMetadata;
|
|
226
228
|
}
|
|
227
|
-
|
|
229
|
+
interface CursorPagingMetadata {
|
|
228
230
|
/** Number of items returned in the response. */
|
|
229
231
|
count?: number | null;
|
|
230
232
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -237,7 +239,7 @@ export interface CursorPagingMetadata {
|
|
|
237
239
|
*/
|
|
238
240
|
hasNext?: boolean | null;
|
|
239
241
|
}
|
|
240
|
-
|
|
242
|
+
interface Cursors {
|
|
241
243
|
/**
|
|
242
244
|
* Cursor string pointing to the next page in the list of results.
|
|
243
245
|
* @maxLength 16000
|
|
@@ -249,73 +251,7 @@ export interface Cursors {
|
|
|
249
251
|
*/
|
|
250
252
|
prev?: string | null;
|
|
251
253
|
}
|
|
252
|
-
|
|
253
|
-
createdEvent?: EntityCreatedEvent;
|
|
254
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
255
|
-
deletedEvent?: EntityDeletedEvent;
|
|
256
|
-
actionEvent?: ActionEvent;
|
|
257
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
258
|
-
id?: string;
|
|
259
|
-
/**
|
|
260
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
261
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
262
|
-
*/
|
|
263
|
-
entityFqdn?: string;
|
|
264
|
-
/**
|
|
265
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
266
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
267
|
-
*/
|
|
268
|
-
slug?: string;
|
|
269
|
-
/** ID of the entity associated with the event. */
|
|
270
|
-
entityId?: string;
|
|
271
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
272
|
-
eventTime?: Date | null;
|
|
273
|
-
/**
|
|
274
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
275
|
-
* (for example, GDPR).
|
|
276
|
-
*/
|
|
277
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
278
|
-
/** If present, indicates the action that triggered the event. */
|
|
279
|
-
originatedFrom?: string | null;
|
|
280
|
-
/**
|
|
281
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
282
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
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 {
|
|
254
|
+
interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
319
255
|
/**
|
|
320
256
|
* List of NileProtoTagsEntities that their tags will update.
|
|
321
257
|
* @minSize 1
|
|
@@ -328,7 +264,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
|
328
264
|
/** List of Tags to unAssign */
|
|
329
265
|
unassignTags?: Tags;
|
|
330
266
|
}
|
|
331
|
-
|
|
267
|
+
interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
332
268
|
/**
|
|
333
269
|
* Results
|
|
334
270
|
* @minSize 1
|
|
@@ -338,7 +274,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
|
338
274
|
/** Metadata regarding the bulk update operation */
|
|
339
275
|
bulkActionMetadata?: BulkActionMetadata;
|
|
340
276
|
}
|
|
341
|
-
|
|
277
|
+
interface ItemMetadata {
|
|
342
278
|
/**
|
|
343
279
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
344
280
|
* @format GUID
|
|
@@ -351,7 +287,7 @@ export interface ItemMetadata {
|
|
|
351
287
|
/** Details about the error in case of failure. */
|
|
352
288
|
error?: ApplicationError;
|
|
353
289
|
}
|
|
354
|
-
|
|
290
|
+
interface ApplicationError {
|
|
355
291
|
/** Error code. */
|
|
356
292
|
code?: string;
|
|
357
293
|
/** Description of the error. */
|
|
@@ -359,11 +295,11 @@ export interface ApplicationError {
|
|
|
359
295
|
/** Data related to the error. */
|
|
360
296
|
data?: Record<string, any> | null;
|
|
361
297
|
}
|
|
362
|
-
|
|
298
|
+
interface BulkUpdateDisputeHistoryRecordTagsResult {
|
|
363
299
|
/** Metadata regarding the specific single update operation */
|
|
364
300
|
itemMetadata?: ItemMetadata;
|
|
365
301
|
}
|
|
366
|
-
|
|
302
|
+
interface BulkActionMetadata {
|
|
367
303
|
/** Number of items that were successfully processed. */
|
|
368
304
|
totalSuccesses?: number;
|
|
369
305
|
/** Number of items that couldn't be processed. */
|
|
@@ -371,7 +307,7 @@ export interface BulkActionMetadata {
|
|
|
371
307
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
372
308
|
undetailedFailures?: number;
|
|
373
309
|
}
|
|
374
|
-
|
|
310
|
+
interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
375
311
|
/** Filter */
|
|
376
312
|
filter: Record<string, any> | null;
|
|
377
313
|
/** List of Tags to assign */
|
|
@@ -379,82 +315,29 @@ export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
|
379
315
|
/** List of Tags to unAssign */
|
|
380
316
|
unassignTags?: Tags;
|
|
381
317
|
}
|
|
382
|
-
|
|
318
|
+
interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
|
|
383
319
|
/**
|
|
384
320
|
* Job ID
|
|
385
321
|
* @format GUID
|
|
386
322
|
*/
|
|
387
323
|
jobId?: string;
|
|
388
324
|
}
|
|
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?: WebhookIdentityTypeWithLiterals;
|
|
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
|
-
/** @enumType */
|
|
460
|
-
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
325
|
+
|
|
326
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
327
|
+
getUrl: (context: any) => string;
|
|
328
|
+
httpMethod: K;
|
|
329
|
+
path: string;
|
|
330
|
+
pathParams: M;
|
|
331
|
+
__requestType: T;
|
|
332
|
+
__originalRequestType: S;
|
|
333
|
+
__responseType: Q;
|
|
334
|
+
__originalResponseType: R;
|
|
335
|
+
};
|
|
336
|
+
declare function getDisputeHistoryRecord(): __PublicMethodMetaInfo<'GET', {
|
|
337
|
+
disputeHistoryRecordId: string;
|
|
338
|
+
}, GetDisputeHistoryRecordRequest$1, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse$1, GetDisputeHistoryRecordResponse>;
|
|
339
|
+
declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {}, QueryDisputeHistoryRecordsRequest$1, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse$1, QueryDisputeHistoryRecordsResponse>;
|
|
340
|
+
declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsResponse>;
|
|
341
|
+
declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
|
|
342
|
+
|
|
343
|
+
export { type __PublicMethodMetaInfo, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };
|