@wix/auto_sdk_payments_dispute-evidence-documents 1.0.0 → 1.0.2
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-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.context.d.ts +1 -1
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.d.ts +1 -1
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js +1 -1
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js.map +1 -1
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +153 -33
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +161 -33
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js +8 -4
- package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.context.d.ts +1 -1
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.d.ts +1 -1
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js +1 -1
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js.map +1 -1
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +153 -33
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +161 -33
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js +8 -4
- package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.context.d.ts +1 -1
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.d.ts +3 -3
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js +1 -1
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js.map +1 -1
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +153 -33
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +162 -34
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js +8 -4
- package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.context.d.ts +1 -1
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.d.ts +3 -3
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js +1 -1
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js.map +1 -1
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +153 -33
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +162 -34
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js +8 -4
- package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
export interface DisputeEvidenceDocument {
|
|
3
3
|
/**
|
|
4
4
|
* DisputeEvidenceDocument ID.
|
|
5
|
+
* @format GUID
|
|
5
6
|
* @readonly
|
|
7
|
+
* @immutable
|
|
6
8
|
*/
|
|
7
9
|
id?: string;
|
|
8
10
|
/**
|
|
@@ -13,6 +15,7 @@ export interface DisputeEvidenceDocument {
|
|
|
13
15
|
/**
|
|
14
16
|
* Date and time the DisputeEvidenceDocument was created.
|
|
15
17
|
* @readonly
|
|
18
|
+
* @immutable
|
|
16
19
|
*/
|
|
17
20
|
createdDate?: Date | null;
|
|
18
21
|
/**
|
|
@@ -20,23 +23,47 @@ export interface DisputeEvidenceDocument {
|
|
|
20
23
|
* @readonly
|
|
21
24
|
*/
|
|
22
25
|
updatedDate?: Date | null;
|
|
23
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Dispute ID
|
|
28
|
+
* @format GUID
|
|
29
|
+
* @immutable
|
|
30
|
+
*/
|
|
24
31
|
disputeId?: string;
|
|
25
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Document evidence file if it was uploaded and attached
|
|
34
|
+
* @readonly
|
|
35
|
+
*/
|
|
26
36
|
file?: DocumentFile;
|
|
27
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* TODO we want this to be read only: not allow to create submitted documents
|
|
39
|
+
* Submitted date
|
|
40
|
+
* @readonly
|
|
41
|
+
*/
|
|
28
42
|
submittedDate?: Date | null;
|
|
29
43
|
/** Data Extensions */
|
|
30
44
|
extendedFields?: ExtendedFields;
|
|
31
45
|
/** Tags */
|
|
32
46
|
tags?: Tags;
|
|
33
47
|
}
|
|
48
|
+
/** TODO do we need to mark fields here as readOnly if DocumentFile file was marked as readOnly? */
|
|
34
49
|
export interface DocumentFile {
|
|
35
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Document filename.
|
|
52
|
+
* @readonly
|
|
53
|
+
* @maxLength 255
|
|
54
|
+
*/
|
|
36
55
|
filename?: string | null;
|
|
37
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* Document size in bytes.
|
|
58
|
+
* @readonly
|
|
59
|
+
*/
|
|
38
60
|
sizeInBytes?: string | null;
|
|
39
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Hexadecimal representation of the document's MD5 digest.
|
|
63
|
+
* @minLength 32
|
|
64
|
+
* @maxLength 32
|
|
65
|
+
* @readonly
|
|
66
|
+
*/
|
|
40
67
|
hexMd5Digest?: string | null;
|
|
41
68
|
}
|
|
42
69
|
export interface ExtendedFields {
|
|
@@ -77,7 +104,11 @@ export interface Tags {
|
|
|
77
104
|
tags?: TagList;
|
|
78
105
|
}
|
|
79
106
|
export interface TagList {
|
|
80
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* List of tag IDs
|
|
109
|
+
* @maxSize 100
|
|
110
|
+
* @maxLength 5
|
|
111
|
+
*/
|
|
81
112
|
tagIds?: string[];
|
|
82
113
|
}
|
|
83
114
|
export interface CreateDisputeEvidenceDocumentRequest {
|
|
@@ -89,15 +120,30 @@ export interface CreateDisputeEvidenceDocumentResponse {
|
|
|
89
120
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
90
121
|
}
|
|
91
122
|
export interface GenerateDisputeEvidenceDocumentUploadUrlRequest {
|
|
92
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Dispute Evidence Document ID
|
|
125
|
+
* @format GUID
|
|
126
|
+
*/
|
|
93
127
|
disputeEvidenceDocumentId: string;
|
|
128
|
+
/**
|
|
129
|
+
* Name of the uploaded file
|
|
130
|
+
* @minLength 1
|
|
131
|
+
* @maxLength 255
|
|
132
|
+
*/
|
|
133
|
+
filename?: string;
|
|
94
134
|
}
|
|
95
135
|
export interface GenerateDisputeEvidenceDocumentUploadUrlResponse {
|
|
96
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Evidence Document upload URL
|
|
138
|
+
* @format WEB_URL
|
|
139
|
+
*/
|
|
97
140
|
uploadUrl?: string;
|
|
98
141
|
}
|
|
99
142
|
export interface AttachDisputeEvidenceDocumentFileRequest {
|
|
100
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Dispute Evidence Document ID
|
|
145
|
+
* @format GUID
|
|
146
|
+
*/
|
|
101
147
|
disputeEvidenceDocumentId: string;
|
|
102
148
|
}
|
|
103
149
|
export interface AttachDisputeEvidenceDocumentFileResponse {
|
|
@@ -105,7 +151,10 @@ export interface AttachDisputeEvidenceDocumentFileResponse {
|
|
|
105
151
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
106
152
|
}
|
|
107
153
|
export interface GetDisputeEvidenceDocumentRequest {
|
|
108
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID of the DisputeEvidenceDocument to retrieve.
|
|
156
|
+
* @format GUID
|
|
157
|
+
*/
|
|
109
158
|
disputeEvidenceDocumentId: string;
|
|
110
159
|
}
|
|
111
160
|
export interface GetDisputeEvidenceDocumentResponse {
|
|
@@ -113,23 +162,35 @@ export interface GetDisputeEvidenceDocumentResponse {
|
|
|
113
162
|
disputeEvidenceDocument?: DisputeEvidenceDocument;
|
|
114
163
|
}
|
|
115
164
|
export interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {
|
|
116
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* ID of the DisputeEvidenceDocument to generate Download Url.
|
|
167
|
+
* @format GUID
|
|
168
|
+
*/
|
|
117
169
|
disputeEvidenceDocumentId: string;
|
|
118
170
|
}
|
|
119
171
|
export interface GenerateDisputeEvidenceDocumentDownloadUrlResponse {
|
|
120
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Document source URL.
|
|
174
|
+
* @format WEB_URL
|
|
175
|
+
*/
|
|
121
176
|
url?: string | null;
|
|
122
177
|
/** Document source URL expiration date (when relevant). */
|
|
123
178
|
urlExpirationDate?: Date | null;
|
|
124
179
|
}
|
|
125
180
|
export interface MarkDisputeEvidenceDocumentSubmittedRequest {
|
|
126
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* Id of the DisputeEvidenceDocument to mark as submitted.
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
127
185
|
disputeEvidenceDocumentId: string;
|
|
128
186
|
}
|
|
129
187
|
export interface MarkDisputeEvidenceDocumentSubmittedResponse {
|
|
130
188
|
}
|
|
131
189
|
export interface DeleteDisputeEvidenceDocumentRequest {
|
|
132
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Id of the DisputeEvidenceDocument to delete.
|
|
192
|
+
* @format GUID
|
|
193
|
+
*/
|
|
133
194
|
disputeEvidenceDocumentId: string;
|
|
134
195
|
}
|
|
135
196
|
export interface DeleteDisputeEvidenceDocumentResponse {
|
|
@@ -153,6 +214,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
153
214
|
/**
|
|
154
215
|
* Sort object in the following format:
|
|
155
216
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
217
|
+
* @maxSize 5
|
|
156
218
|
*/
|
|
157
219
|
sort?: Sorting[];
|
|
158
220
|
}
|
|
@@ -162,7 +224,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
162
224
|
cursorPaging?: CursorPaging;
|
|
163
225
|
}
|
|
164
226
|
export interface Sorting {
|
|
165
|
-
/**
|
|
227
|
+
/**
|
|
228
|
+
* Name of the field to sort by.
|
|
229
|
+
* @maxLength 512
|
|
230
|
+
*/
|
|
166
231
|
fieldName?: string;
|
|
167
232
|
/** Sort order. */
|
|
168
233
|
order?: SortOrder;
|
|
@@ -172,13 +237,17 @@ export declare enum SortOrder {
|
|
|
172
237
|
DESC = "DESC"
|
|
173
238
|
}
|
|
174
239
|
export interface CursorPaging {
|
|
175
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* Maximum number of items to return in the results.
|
|
242
|
+
* @max 100
|
|
243
|
+
*/
|
|
176
244
|
limit?: number | null;
|
|
177
245
|
/**
|
|
178
246
|
* Pointer to the next or previous page in the list of results.
|
|
179
247
|
*
|
|
180
248
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
181
249
|
* Not relevant for the first request.
|
|
250
|
+
* @maxLength 16000
|
|
182
251
|
*/
|
|
183
252
|
cursor?: string | null;
|
|
184
253
|
}
|
|
@@ -202,13 +271,24 @@ export interface CursorPagingMetadata {
|
|
|
202
271
|
hasNext?: boolean | null;
|
|
203
272
|
}
|
|
204
273
|
export interface Cursors {
|
|
205
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* Cursor string pointing to the next page in the list of results.
|
|
276
|
+
* @maxLength 16000
|
|
277
|
+
*/
|
|
206
278
|
next?: string | null;
|
|
207
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* Cursor pointing to the previous page in the list of results.
|
|
281
|
+
* @maxLength 16000
|
|
282
|
+
*/
|
|
208
283
|
prev?: string | null;
|
|
209
284
|
}
|
|
210
285
|
export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
|
|
211
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* List of NileProtoTagsEntities that their tags will update.
|
|
288
|
+
* @minSize 1
|
|
289
|
+
* @maxSize 100
|
|
290
|
+
* @format GUID
|
|
291
|
+
*/
|
|
212
292
|
ids: string[];
|
|
213
293
|
/** List of Tags to assign */
|
|
214
294
|
assignTags?: Tags;
|
|
@@ -216,13 +296,20 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
|
|
|
216
296
|
unassignTags?: Tags;
|
|
217
297
|
}
|
|
218
298
|
export interface BulkUpdateDisputeEvidenceDocumentTagsResponse {
|
|
219
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* Results
|
|
301
|
+
* @minSize 1
|
|
302
|
+
* @maxSize 100
|
|
303
|
+
*/
|
|
220
304
|
results?: BulkUpdateDisputeEvidenceDocumentTagsResult[];
|
|
221
305
|
/** Metadata regarding the bulk update operation */
|
|
222
306
|
bulkActionMetadata?: BulkActionMetadata;
|
|
223
307
|
}
|
|
224
308
|
export interface ItemMetadata {
|
|
225
|
-
/**
|
|
309
|
+
/**
|
|
310
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
311
|
+
* @format GUID
|
|
312
|
+
*/
|
|
226
313
|
id?: string | null;
|
|
227
314
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
228
315
|
originalIndex?: number;
|
|
@@ -260,7 +347,10 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest {
|
|
|
260
347
|
unassignTags?: Tags;
|
|
261
348
|
}
|
|
262
349
|
export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse {
|
|
263
|
-
/**
|
|
350
|
+
/**
|
|
351
|
+
* Job ID
|
|
352
|
+
* @format GUID
|
|
353
|
+
*/
|
|
264
354
|
jobId?: string;
|
|
265
355
|
}
|
|
266
356
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
@@ -336,9 +426,15 @@ export interface ActionEvent {
|
|
|
336
426
|
bodyAsJson?: string;
|
|
337
427
|
}
|
|
338
428
|
export interface MessageEnvelope {
|
|
339
|
-
/**
|
|
429
|
+
/**
|
|
430
|
+
* App instance ID.
|
|
431
|
+
* @format GUID
|
|
432
|
+
*/
|
|
340
433
|
instanceId?: string | null;
|
|
341
|
-
/**
|
|
434
|
+
/**
|
|
435
|
+
* Event type.
|
|
436
|
+
* @maxLength 150
|
|
437
|
+
*/
|
|
342
438
|
eventType?: string;
|
|
343
439
|
/** The identification type and identity data. */
|
|
344
440
|
identity?: IdentificationData;
|
|
@@ -346,26 +442,50 @@ export interface MessageEnvelope {
|
|
|
346
442
|
data?: string;
|
|
347
443
|
}
|
|
348
444
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
349
|
-
/**
|
|
445
|
+
/**
|
|
446
|
+
* ID of a site visitor that has not logged in to the site.
|
|
447
|
+
* @format GUID
|
|
448
|
+
*/
|
|
350
449
|
anonymousVisitorId?: string;
|
|
351
|
-
/**
|
|
450
|
+
/**
|
|
451
|
+
* ID of a site visitor that has logged in to the site.
|
|
452
|
+
* @format GUID
|
|
453
|
+
*/
|
|
352
454
|
memberId?: string;
|
|
353
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
457
|
+
* @format GUID
|
|
458
|
+
*/
|
|
354
459
|
wixUserId?: string;
|
|
355
|
-
/**
|
|
460
|
+
/**
|
|
461
|
+
* ID of an app.
|
|
462
|
+
* @format GUID
|
|
463
|
+
*/
|
|
356
464
|
appId?: string;
|
|
357
465
|
/** @readonly */
|
|
358
466
|
identityType?: WebhookIdentityType;
|
|
359
467
|
}
|
|
360
468
|
/** @oneof */
|
|
361
469
|
export interface IdentificationDataIdOneOf {
|
|
362
|
-
/**
|
|
470
|
+
/**
|
|
471
|
+
* ID of a site visitor that has not logged in to the site.
|
|
472
|
+
* @format GUID
|
|
473
|
+
*/
|
|
363
474
|
anonymousVisitorId?: string;
|
|
364
|
-
/**
|
|
475
|
+
/**
|
|
476
|
+
* ID of a site visitor that has logged in to the site.
|
|
477
|
+
* @format GUID
|
|
478
|
+
*/
|
|
365
479
|
memberId?: string;
|
|
366
|
-
/**
|
|
480
|
+
/**
|
|
481
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
482
|
+
* @format GUID
|
|
483
|
+
*/
|
|
367
484
|
wixUserId?: string;
|
|
368
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* ID of an app.
|
|
487
|
+
* @format GUID
|
|
488
|
+
*/
|
|
369
489
|
appId?: string;
|
|
370
490
|
}
|
|
371
491
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js","sourceRoot":"","sources":["../../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js","sourceRoot":"","sources":["../../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.ts"],"names":[],"mappings":";;;AA+PA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAoRD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|