@wix/auto_sdk_payments_dispute-history-records 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +549 -1
- package/build/cjs/index.js +386 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +343 -1
- package/build/cjs/meta.js +235 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → es/index.d.mts} +49 -48
- package/build/es/index.mjs +357 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/{src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +51 -168
- package/build/es/meta.mjs +208 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +54 -1
- package/build/internal/cjs/index.js +386 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +343 -1
- package/build/internal/cjs/meta.js +235 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → internal/cjs/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.ts} +49 -48
- package/build/internal/es/index.d.mts +54 -0
- package/build/internal/es/index.mjs +357 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → internal/es/meta.d.mts} +51 -168
- package/build/internal/es/meta.mjs +208 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → es/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.mts} +49 -92
- package/package.json +9 -8
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +0 -460
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +0 -460
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts +0 -592
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
|
@@ -1,592 +0,0 @@
|
|
|
1
|
-
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
|
-
/** A DisputeHistoryRecord */
|
|
3
|
-
export interface DisputeHistoryRecord {
|
|
4
|
-
/**
|
|
5
|
-
* DisputeHistoryRecord ID.
|
|
6
|
-
* @format GUID
|
|
7
|
-
* @readonly
|
|
8
|
-
* @immutable
|
|
9
|
-
*/
|
|
10
|
-
_id?: string | null;
|
|
11
|
-
/**
|
|
12
|
-
* Revision number
|
|
13
|
-
* @readonly
|
|
14
|
-
*/
|
|
15
|
-
revision?: string | null;
|
|
16
|
-
/**
|
|
17
|
-
* Date and time the DisputeHistoryRecord was created.
|
|
18
|
-
* @readonly
|
|
19
|
-
* @immutable
|
|
20
|
-
*/
|
|
21
|
-
_createdDate?: Date | null;
|
|
22
|
-
/**
|
|
23
|
-
* Date and time the DisputeHistoryRecord was last updated.
|
|
24
|
-
* @readonly
|
|
25
|
-
* @immutable
|
|
26
|
-
*/
|
|
27
|
-
_updatedDate?: Date | null;
|
|
28
|
-
/**
|
|
29
|
-
* Dispute ID
|
|
30
|
-
* @format GUID
|
|
31
|
-
* @immutable
|
|
32
|
-
*/
|
|
33
|
-
disputeId?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Dispute stage (RFI, Chargeback, so on)
|
|
36
|
-
* @readonly
|
|
37
|
-
* @immutable
|
|
38
|
-
*/
|
|
39
|
-
stage?: DisputeStageWithLiterals;
|
|
40
|
-
/**
|
|
41
|
-
* Dispute Status
|
|
42
|
-
* @readonly
|
|
43
|
-
* @immutable
|
|
44
|
-
*/
|
|
45
|
-
status?: DisputeStatusWithLiterals;
|
|
46
|
-
/**
|
|
47
|
-
* Due Date
|
|
48
|
-
* @readonly
|
|
49
|
-
* @immutable
|
|
50
|
-
*/
|
|
51
|
-
dueDate?: Date | null;
|
|
52
|
-
/**
|
|
53
|
-
* Charge ID
|
|
54
|
-
* @format GUID
|
|
55
|
-
* @readonly
|
|
56
|
-
* @immutable
|
|
57
|
-
*/
|
|
58
|
-
chargeId?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Dispute Channel
|
|
61
|
-
* Internal - this dispute is created on provider side
|
|
62
|
-
* External - this dispute is created on bank side
|
|
63
|
-
* @readonly
|
|
64
|
-
* @immutable
|
|
65
|
-
*/
|
|
66
|
-
channel?: DisputeChannelWithLiterals;
|
|
67
|
-
/** Data Extensions */
|
|
68
|
-
extendedFields?: ExtendedFields;
|
|
69
|
-
/** Tags */
|
|
70
|
-
tags?: Tags;
|
|
71
|
-
}
|
|
72
|
-
export declare enum DisputeStage {
|
|
73
|
-
UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
|
|
74
|
-
/** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
|
|
75
|
-
NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
|
|
76
|
-
/** Request for Information / Inquiry */
|
|
77
|
-
RFI = "RFI",
|
|
78
|
-
/** Chargeback */
|
|
79
|
-
CHARGEBACK = "CHARGEBACK"
|
|
80
|
-
}
|
|
81
|
-
/** @enumType */
|
|
82
|
-
export type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
|
|
83
|
-
export declare enum DisputeStatus {
|
|
84
|
-
/** Unknown status */
|
|
85
|
-
UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
|
|
86
|
-
/** Waiting for some merchant action */
|
|
87
|
-
WAITING_MERCHANT = "WAITING_MERCHANT",
|
|
88
|
-
/** Dispute is under review by PSP (internal channel) or Bank (external channel) */
|
|
89
|
-
UNDER_REVIEW = "UNDER_REVIEW",
|
|
90
|
-
/** Waiting for some buyer action */
|
|
91
|
-
WAITING_BUYER = "WAITING_BUYER",
|
|
92
|
-
/** Dispute won */
|
|
93
|
-
WON = "WON",
|
|
94
|
-
/** Dispute lost */
|
|
95
|
-
LOST = "LOST"
|
|
96
|
-
}
|
|
97
|
-
/** @enumType */
|
|
98
|
-
export type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
|
|
99
|
-
export declare enum DisputeChannel {
|
|
100
|
-
UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
|
|
101
|
-
/** Internal, the dispute is reviewed by PSP */
|
|
102
|
-
INTERNAL = "INTERNAL",
|
|
103
|
-
/** External, the dispute is reviewed by bank (or other financial institution) */
|
|
104
|
-
EXTERNAL = "EXTERNAL"
|
|
105
|
-
}
|
|
106
|
-
/** @enumType */
|
|
107
|
-
export type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
|
|
108
|
-
export interface ExtendedFields {
|
|
109
|
-
/**
|
|
110
|
-
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
111
|
-
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
112
|
-
*
|
|
113
|
-
* You can only access fields for which you have the appropriate permissions.
|
|
114
|
-
*
|
|
115
|
-
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
116
|
-
*/
|
|
117
|
-
namespaces?: Record<string, Record<string, any>>;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Common object for tags.
|
|
121
|
-
* Should be use as in this example:
|
|
122
|
-
* message Foo {
|
|
123
|
-
* string id = 1;
|
|
124
|
-
* ...
|
|
125
|
-
* Tags tags = 5
|
|
126
|
-
* }
|
|
127
|
-
*
|
|
128
|
-
* example of taggable entity
|
|
129
|
-
* {
|
|
130
|
-
* id: "123"
|
|
131
|
-
* tags: {
|
|
132
|
-
* tags: {
|
|
133
|
-
* tag_ids:["11","22"]
|
|
134
|
-
* },
|
|
135
|
-
* private_tags: {
|
|
136
|
-
* tag_ids: ["33", "44"]
|
|
137
|
-
* }
|
|
138
|
-
* }
|
|
139
|
-
* }
|
|
140
|
-
*/
|
|
141
|
-
export interface Tags {
|
|
142
|
-
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
143
|
-
tags?: TagList;
|
|
144
|
-
}
|
|
145
|
-
export interface TagList {
|
|
146
|
-
/**
|
|
147
|
-
* List of tag IDs
|
|
148
|
-
* @maxSize 100
|
|
149
|
-
* @maxLength 5
|
|
150
|
-
*/
|
|
151
|
-
tagIds?: string[];
|
|
152
|
-
}
|
|
153
|
-
export interface GetDisputeHistoryRecordRequest {
|
|
154
|
-
/**
|
|
155
|
-
* ID of the DisputeHistoryRecord to retrieve.
|
|
156
|
-
* @format GUID
|
|
157
|
-
*/
|
|
158
|
-
disputeHistoryRecordId: string;
|
|
159
|
-
}
|
|
160
|
-
export interface GetDisputeHistoryRecordResponse {
|
|
161
|
-
/** The requested DisputeHistoryRecord. */
|
|
162
|
-
disputeHistoryRecord?: DisputeHistoryRecord;
|
|
163
|
-
}
|
|
164
|
-
export interface QueryDisputeHistoryRecordsRequest {
|
|
165
|
-
/** WQL expression. */
|
|
166
|
-
query?: CursorQuery;
|
|
167
|
-
}
|
|
168
|
-
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
169
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
170
|
-
cursorPaging?: CursorPaging;
|
|
171
|
-
/**
|
|
172
|
-
* Filter object in the following format:
|
|
173
|
-
* `"filter" : {
|
|
174
|
-
* "fieldName1": "value1",
|
|
175
|
-
* "fieldName2":{"$operator":"value2"}
|
|
176
|
-
* }`
|
|
177
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
178
|
-
*/
|
|
179
|
-
filter?: Record<string, any> | null;
|
|
180
|
-
/**
|
|
181
|
-
* Sort object in the following format:
|
|
182
|
-
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
183
|
-
* @maxSize 5
|
|
184
|
-
*/
|
|
185
|
-
sort?: Sorting[];
|
|
186
|
-
}
|
|
187
|
-
/** @oneof */
|
|
188
|
-
export interface CursorQueryPagingMethodOneOf {
|
|
189
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
190
|
-
cursorPaging?: CursorPaging;
|
|
191
|
-
}
|
|
192
|
-
export interface Sorting {
|
|
193
|
-
/**
|
|
194
|
-
* Name of the field to sort by.
|
|
195
|
-
* @maxLength 512
|
|
196
|
-
*/
|
|
197
|
-
fieldName?: string;
|
|
198
|
-
/** Sort order. */
|
|
199
|
-
order?: SortOrderWithLiterals;
|
|
200
|
-
}
|
|
201
|
-
export declare enum SortOrder {
|
|
202
|
-
ASC = "ASC",
|
|
203
|
-
DESC = "DESC"
|
|
204
|
-
}
|
|
205
|
-
/** @enumType */
|
|
206
|
-
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
207
|
-
export interface CursorPaging {
|
|
208
|
-
/**
|
|
209
|
-
* Maximum number of items to return in the results.
|
|
210
|
-
* @max 100
|
|
211
|
-
*/
|
|
212
|
-
limit?: number | null;
|
|
213
|
-
/**
|
|
214
|
-
* Pointer to the next or previous page in the list of results.
|
|
215
|
-
*
|
|
216
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
217
|
-
* Not relevant for the first request.
|
|
218
|
-
* @maxLength 16000
|
|
219
|
-
*/
|
|
220
|
-
cursor?: string | null;
|
|
221
|
-
}
|
|
222
|
-
export interface QueryDisputeHistoryRecordsResponse {
|
|
223
|
-
/** List of DisputeHistoryRecords. */
|
|
224
|
-
disputeHistoryRecords?: DisputeHistoryRecord[];
|
|
225
|
-
/** Paging metadata */
|
|
226
|
-
pagingMetadata?: CursorPagingMetadata;
|
|
227
|
-
}
|
|
228
|
-
export interface CursorPagingMetadata {
|
|
229
|
-
/** Number of items returned in the response. */
|
|
230
|
-
count?: number | null;
|
|
231
|
-
/** Cursor strings that point to the next page, previous page, or both. */
|
|
232
|
-
cursors?: Cursors;
|
|
233
|
-
/**
|
|
234
|
-
* Whether there are more pages to retrieve following the current page.
|
|
235
|
-
*
|
|
236
|
-
* + `true`: Another page of results can be retrieved.
|
|
237
|
-
* + `false`: This is the last page.
|
|
238
|
-
*/
|
|
239
|
-
hasNext?: boolean | null;
|
|
240
|
-
}
|
|
241
|
-
export interface Cursors {
|
|
242
|
-
/**
|
|
243
|
-
* Cursor string pointing to the next page in the list of results.
|
|
244
|
-
* @maxLength 16000
|
|
245
|
-
*/
|
|
246
|
-
next?: string | null;
|
|
247
|
-
/**
|
|
248
|
-
* Cursor pointing to the previous page in the list of results.
|
|
249
|
-
* @maxLength 16000
|
|
250
|
-
*/
|
|
251
|
-
prev?: string | null;
|
|
252
|
-
}
|
|
253
|
-
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
254
|
-
createdEvent?: EntityCreatedEvent;
|
|
255
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
256
|
-
deletedEvent?: EntityDeletedEvent;
|
|
257
|
-
actionEvent?: ActionEvent;
|
|
258
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
259
|
-
_id?: string;
|
|
260
|
-
/**
|
|
261
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
262
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
263
|
-
*/
|
|
264
|
-
entityFqdn?: string;
|
|
265
|
-
/**
|
|
266
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
267
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
268
|
-
*/
|
|
269
|
-
slug?: string;
|
|
270
|
-
/** ID of the entity associated with the event. */
|
|
271
|
-
entityId?: string;
|
|
272
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
273
|
-
eventTime?: Date | null;
|
|
274
|
-
/**
|
|
275
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
276
|
-
* (for example, GDPR).
|
|
277
|
-
*/
|
|
278
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
279
|
-
/** If present, indicates the action that triggered the event. */
|
|
280
|
-
originatedFrom?: string | null;
|
|
281
|
-
/**
|
|
282
|
-
* 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.
|
|
283
|
-
* 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.
|
|
284
|
-
*/
|
|
285
|
-
entityEventSequence?: string | null;
|
|
286
|
-
}
|
|
287
|
-
/** @oneof */
|
|
288
|
-
export interface DomainEventBodyOneOf {
|
|
289
|
-
createdEvent?: EntityCreatedEvent;
|
|
290
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
291
|
-
deletedEvent?: EntityDeletedEvent;
|
|
292
|
-
actionEvent?: ActionEvent;
|
|
293
|
-
}
|
|
294
|
-
export interface EntityCreatedEvent {
|
|
295
|
-
entity?: string;
|
|
296
|
-
}
|
|
297
|
-
export interface RestoreInfo {
|
|
298
|
-
deletedDate?: Date | null;
|
|
299
|
-
}
|
|
300
|
-
export interface EntityUpdatedEvent {
|
|
301
|
-
/**
|
|
302
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
303
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
304
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
305
|
-
*/
|
|
306
|
-
currentEntity?: string;
|
|
307
|
-
}
|
|
308
|
-
export interface EntityDeletedEvent {
|
|
309
|
-
/** Entity that was deleted. */
|
|
310
|
-
deletedEntity?: string | null;
|
|
311
|
-
}
|
|
312
|
-
export interface ActionEvent {
|
|
313
|
-
body?: string;
|
|
314
|
-
}
|
|
315
|
-
export interface Empty {
|
|
316
|
-
}
|
|
317
|
-
export interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
318
|
-
/**
|
|
319
|
-
* List of NileProtoTagsEntities that their tags will update.
|
|
320
|
-
* @minSize 1
|
|
321
|
-
* @maxSize 100
|
|
322
|
-
* @format GUID
|
|
323
|
-
*/
|
|
324
|
-
ids: string[];
|
|
325
|
-
/** List of Tags to assign */
|
|
326
|
-
assignTags?: Tags;
|
|
327
|
-
/** List of Tags to unAssign */
|
|
328
|
-
unassignTags?: Tags;
|
|
329
|
-
}
|
|
330
|
-
export interface BulkUpdateDisputeHistoryRecordTagsResponse {
|
|
331
|
-
/**
|
|
332
|
-
* Results
|
|
333
|
-
* @minSize 1
|
|
334
|
-
* @maxSize 100
|
|
335
|
-
*/
|
|
336
|
-
results?: BulkUpdateDisputeHistoryRecordTagsResult[];
|
|
337
|
-
/** Metadata regarding the bulk update operation */
|
|
338
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
339
|
-
}
|
|
340
|
-
export interface ItemMetadata {
|
|
341
|
-
/**
|
|
342
|
-
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
343
|
-
* @format GUID
|
|
344
|
-
*/
|
|
345
|
-
_id?: string | null;
|
|
346
|
-
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
347
|
-
originalIndex?: number;
|
|
348
|
-
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
349
|
-
success?: boolean;
|
|
350
|
-
/** Details about the error in case of failure. */
|
|
351
|
-
error?: ApplicationError;
|
|
352
|
-
}
|
|
353
|
-
export interface ApplicationError {
|
|
354
|
-
/** Error code. */
|
|
355
|
-
code?: string;
|
|
356
|
-
/** Description of the error. */
|
|
357
|
-
description?: string;
|
|
358
|
-
/** Data related to the error. */
|
|
359
|
-
data?: Record<string, any> | null;
|
|
360
|
-
}
|
|
361
|
-
export interface BulkUpdateDisputeHistoryRecordTagsResult {
|
|
362
|
-
/** Metadata regarding the specific single update operation */
|
|
363
|
-
itemMetadata?: ItemMetadata;
|
|
364
|
-
}
|
|
365
|
-
export interface BulkActionMetadata {
|
|
366
|
-
/** Number of items that were successfully processed. */
|
|
367
|
-
totalSuccesses?: number;
|
|
368
|
-
/** Number of items that couldn't be processed. */
|
|
369
|
-
totalFailures?: number;
|
|
370
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
371
|
-
undetailedFailures?: number;
|
|
372
|
-
}
|
|
373
|
-
export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
|
|
374
|
-
/** Filter */
|
|
375
|
-
filter: Record<string, any> | null;
|
|
376
|
-
/** List of Tags to assign */
|
|
377
|
-
assignTags?: Tags;
|
|
378
|
-
/** List of Tags to unAssign */
|
|
379
|
-
unassignTags?: Tags;
|
|
380
|
-
}
|
|
381
|
-
export interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
|
|
382
|
-
/**
|
|
383
|
-
* Job ID
|
|
384
|
-
* @format GUID
|
|
385
|
-
*/
|
|
386
|
-
jobId?: string;
|
|
387
|
-
}
|
|
388
|
-
export interface MessageEnvelope {
|
|
389
|
-
/**
|
|
390
|
-
* App instance ID.
|
|
391
|
-
* @format GUID
|
|
392
|
-
*/
|
|
393
|
-
instanceId?: string | null;
|
|
394
|
-
/**
|
|
395
|
-
* Event type.
|
|
396
|
-
* @maxLength 150
|
|
397
|
-
*/
|
|
398
|
-
eventType?: string;
|
|
399
|
-
/** The identification type and identity data. */
|
|
400
|
-
identity?: IdentificationData;
|
|
401
|
-
/** Stringify payload. */
|
|
402
|
-
data?: string;
|
|
403
|
-
}
|
|
404
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
405
|
-
/**
|
|
406
|
-
* ID of a site visitor that has not logged in to the site.
|
|
407
|
-
* @format GUID
|
|
408
|
-
*/
|
|
409
|
-
anonymousVisitorId?: string;
|
|
410
|
-
/**
|
|
411
|
-
* ID of a site visitor that has logged in to the site.
|
|
412
|
-
* @format GUID
|
|
413
|
-
*/
|
|
414
|
-
memberId?: string;
|
|
415
|
-
/**
|
|
416
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
417
|
-
* @format GUID
|
|
418
|
-
*/
|
|
419
|
-
wixUserId?: string;
|
|
420
|
-
/**
|
|
421
|
-
* ID of an app.
|
|
422
|
-
* @format GUID
|
|
423
|
-
*/
|
|
424
|
-
appId?: string;
|
|
425
|
-
/** @readonly */
|
|
426
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
427
|
-
}
|
|
428
|
-
/** @oneof */
|
|
429
|
-
export interface IdentificationDataIdOneOf {
|
|
430
|
-
/**
|
|
431
|
-
* ID of a site visitor that has not logged in to the site.
|
|
432
|
-
* @format GUID
|
|
433
|
-
*/
|
|
434
|
-
anonymousVisitorId?: string;
|
|
435
|
-
/**
|
|
436
|
-
* ID of a site visitor that has logged in to the site.
|
|
437
|
-
* @format GUID
|
|
438
|
-
*/
|
|
439
|
-
memberId?: string;
|
|
440
|
-
/**
|
|
441
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
442
|
-
* @format GUID
|
|
443
|
-
*/
|
|
444
|
-
wixUserId?: string;
|
|
445
|
-
/**
|
|
446
|
-
* ID of an app.
|
|
447
|
-
* @format GUID
|
|
448
|
-
*/
|
|
449
|
-
appId?: string;
|
|
450
|
-
}
|
|
451
|
-
export declare enum WebhookIdentityType {
|
|
452
|
-
UNKNOWN = "UNKNOWN",
|
|
453
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
454
|
-
MEMBER = "MEMBER",
|
|
455
|
-
WIX_USER = "WIX_USER",
|
|
456
|
-
APP = "APP"
|
|
457
|
-
}
|
|
458
|
-
/** @enumType */
|
|
459
|
-
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
460
|
-
type DisputeHistoryRecordNonNullablePaths = `disputeId` | `stage` | `status` | `chargeId` | `channel` | `tags.tags.tagIds`;
|
|
461
|
-
/**
|
|
462
|
-
* Retrieves a DisputeHistoryRecord.
|
|
463
|
-
* @param disputeHistoryRecordId - ID of the DisputeHistoryRecord to retrieve.
|
|
464
|
-
* @internal
|
|
465
|
-
* @documentationMaturity preview
|
|
466
|
-
* @requiredField disputeHistoryRecordId
|
|
467
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
|
|
468
|
-
* @returns The requested DisputeHistoryRecord.
|
|
469
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord
|
|
470
|
-
*/
|
|
471
|
-
export declare function getDisputeHistoryRecord(disputeHistoryRecordId: string): Promise<NonNullablePaths<DisputeHistoryRecord, DisputeHistoryRecordNonNullablePaths>>;
|
|
472
|
-
/**
|
|
473
|
-
* Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1].
|
|
474
|
-
* @internal
|
|
475
|
-
* @documentationMaturity preview
|
|
476
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
|
|
477
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords
|
|
478
|
-
*/
|
|
479
|
-
export declare function queryDisputeHistoryRecords(): DisputeHistoryRecordsQueryBuilder;
|
|
480
|
-
interface QueryCursorResult {
|
|
481
|
-
cursors: Cursors;
|
|
482
|
-
hasNext: () => boolean;
|
|
483
|
-
hasPrev: () => boolean;
|
|
484
|
-
length: number;
|
|
485
|
-
pageSize: number;
|
|
486
|
-
}
|
|
487
|
-
export interface DisputeHistoryRecordsQueryResult extends QueryCursorResult {
|
|
488
|
-
items: DisputeHistoryRecord[];
|
|
489
|
-
query: DisputeHistoryRecordsQueryBuilder;
|
|
490
|
-
next: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
491
|
-
prev: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
492
|
-
}
|
|
493
|
-
export interface DisputeHistoryRecordsQueryBuilder {
|
|
494
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
495
|
-
* @param value - Value to compare against.
|
|
496
|
-
* @documentationMaturity preview
|
|
497
|
-
*/
|
|
498
|
-
eq: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
499
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
500
|
-
* @param value - Value to compare against.
|
|
501
|
-
* @documentationMaturity preview
|
|
502
|
-
*/
|
|
503
|
-
ne: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
504
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
505
|
-
* @param value - Value to compare against.
|
|
506
|
-
* @documentationMaturity preview
|
|
507
|
-
*/
|
|
508
|
-
ge: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
509
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
510
|
-
* @param value - Value to compare against.
|
|
511
|
-
* @documentationMaturity preview
|
|
512
|
-
*/
|
|
513
|
-
gt: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
514
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
515
|
-
* @param value - Value to compare against.
|
|
516
|
-
* @documentationMaturity preview
|
|
517
|
-
*/
|
|
518
|
-
le: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
519
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
520
|
-
* @param value - Value to compare against.
|
|
521
|
-
* @documentationMaturity preview
|
|
522
|
-
*/
|
|
523
|
-
lt: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
524
|
-
/** @param propertyName - Property whose value is compared with `string`.
|
|
525
|
-
* @param string - String to compare against. Case-insensitive.
|
|
526
|
-
* @documentationMaturity preview
|
|
527
|
-
*/
|
|
528
|
-
startsWith: (propertyName: 'disputeId', value: string) => DisputeHistoryRecordsQueryBuilder;
|
|
529
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
530
|
-
* @param values - List of values to compare against.
|
|
531
|
-
* @documentationMaturity preview
|
|
532
|
-
*/
|
|
533
|
-
hasSome: (propertyName: 'disputeId', value: any[]) => DisputeHistoryRecordsQueryBuilder;
|
|
534
|
-
/** @documentationMaturity preview */
|
|
535
|
-
in: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
|
|
536
|
-
/** @documentationMaturity preview */
|
|
537
|
-
exists: (propertyName: 'disputeId', value: boolean) => DisputeHistoryRecordsQueryBuilder;
|
|
538
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
539
|
-
* @documentationMaturity preview
|
|
540
|
-
*/
|
|
541
|
-
ascending: (...propertyNames: Array<'disputeId'>) => DisputeHistoryRecordsQueryBuilder;
|
|
542
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
543
|
-
* @documentationMaturity preview
|
|
544
|
-
*/
|
|
545
|
-
descending: (...propertyNames: Array<'disputeId'>) => DisputeHistoryRecordsQueryBuilder;
|
|
546
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
547
|
-
* @documentationMaturity preview
|
|
548
|
-
*/
|
|
549
|
-
limit: (limit: number) => DisputeHistoryRecordsQueryBuilder;
|
|
550
|
-
/** @param cursor - A pointer to specific record
|
|
551
|
-
* @documentationMaturity preview
|
|
552
|
-
*/
|
|
553
|
-
skipTo: (cursor: string) => DisputeHistoryRecordsQueryBuilder;
|
|
554
|
-
/** @documentationMaturity preview */
|
|
555
|
-
find: () => Promise<DisputeHistoryRecordsQueryResult>;
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* Synchronously update tags on multiple products, by list of product ids
|
|
559
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
560
|
-
* @param ids - List of NileProtoTagsEntities that their tags will update.
|
|
561
|
-
* @internal
|
|
562
|
-
* @documentationMaturity preview
|
|
563
|
-
* @requiredField ids
|
|
564
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
|
|
565
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags
|
|
566
|
-
*/
|
|
567
|
-
export declare function bulkUpdateDisputeHistoryRecordTags(ids: string[], options?: BulkUpdateDisputeHistoryRecordTagsOptions): Promise<NonNullablePaths<BulkUpdateDisputeHistoryRecordTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
568
|
-
export interface BulkUpdateDisputeHistoryRecordTagsOptions {
|
|
569
|
-
/** List of Tags to assign */
|
|
570
|
-
assignTags?: Tags;
|
|
571
|
-
/** List of Tags to unAssign */
|
|
572
|
-
unassignTags?: Tags;
|
|
573
|
-
}
|
|
574
|
-
/**
|
|
575
|
-
* Asynchronously update tags on multiple products, by provided filter
|
|
576
|
-
* An empty filter will update all products
|
|
577
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
578
|
-
* @param filter - Filter
|
|
579
|
-
* @internal
|
|
580
|
-
* @documentationMaturity preview
|
|
581
|
-
* @requiredField filter
|
|
582
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
|
|
583
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter
|
|
584
|
-
*/
|
|
585
|
-
export declare function bulkUpdateDisputeHistoryRecordTagsByFilter(filter: Record<string, any>, options?: BulkUpdateDisputeHistoryRecordTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateDisputeHistoryRecordTagsByFilterResponse, `jobId`>>;
|
|
586
|
-
export interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
|
|
587
|
-
/** List of Tags to assign */
|
|
588
|
-
assignTags?: Tags;
|
|
589
|
-
/** List of Tags to unAssign */
|
|
590
|
-
unassignTags?: Tags;
|
|
591
|
-
}
|
|
592
|
-
export {};
|