@wix/auto_sdk_payments_dispute-evidence-documents 1.0.1 → 1.0.3

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.
Files changed (17) hide show
  1. package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +130 -31
  2. package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
  3. package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +135 -32
  4. package/build/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
  5. package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +130 -31
  6. package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
  7. package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +135 -32
  8. package/build/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
  9. package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +130 -31
  10. package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
  11. package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +135 -32
  12. package/build/internal/cjs/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
  13. package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.d.ts +130 -31
  14. package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.types.js.map +1 -1
  15. package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.d.ts +135 -32
  16. package/build/internal/es/src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js.map +1 -1
  17. 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,7 +23,11 @@ export interface DisputeEvidenceDocument {
20
23
  * @readonly
21
24
  */
22
25
  updatedDate?: Date | null;
23
- /** Dispute ID */
26
+ /**
27
+ * Dispute ID
28
+ * @format GUID
29
+ * @immutable
30
+ */
24
31
  disputeId?: string;
25
32
  /**
26
33
  * Document evidence file if it was uploaded and attached
@@ -28,7 +35,6 @@ export interface DisputeEvidenceDocument {
28
35
  */
29
36
  file?: DocumentFile;
30
37
  /**
31
- * TODO we want this to be read only: not allow to create submitted documents
32
38
  * Submitted date
33
39
  * @readonly
34
40
  */
@@ -38,11 +44,11 @@ export interface DisputeEvidenceDocument {
38
44
  /** Tags */
39
45
  tags?: Tags;
40
46
  }
41
- /** TODO do we need to mark fields here as readOnly if DocumentFile file was marked as readOnly? */
42
47
  export interface DocumentFile {
43
48
  /**
44
49
  * Document filename.
45
50
  * @readonly
51
+ * @maxLength 255
46
52
  */
47
53
  filename?: string | null;
48
54
  /**
@@ -52,6 +58,8 @@ export interface DocumentFile {
52
58
  sizeInBytes?: string | null;
53
59
  /**
54
60
  * Hexadecimal representation of the document's MD5 digest.
61
+ * @minLength 32
62
+ * @maxLength 32
55
63
  * @readonly
56
64
  */
57
65
  hexMd5Digest?: string | null;
@@ -94,7 +102,11 @@ export interface Tags {
94
102
  tags?: TagList;
95
103
  }
96
104
  export interface TagList {
97
- /** List of tag IDs */
105
+ /**
106
+ * List of tag IDs
107
+ * @maxSize 100
108
+ * @maxLength 5
109
+ */
98
110
  tagIds?: string[];
99
111
  }
100
112
  export interface CreateDisputeEvidenceDocumentRequest {
@@ -106,17 +118,30 @@ export interface CreateDisputeEvidenceDocumentResponse {
106
118
  disputeEvidenceDocument?: DisputeEvidenceDocument;
107
119
  }
108
120
  export interface GenerateDisputeEvidenceDocumentUploadUrlRequest {
109
- /** Dispute Evidence Document ID */
121
+ /**
122
+ * Dispute Evidence Document ID
123
+ * @format GUID
124
+ */
110
125
  disputeEvidenceDocumentId: string;
111
- /** Name of the uploaded file */
126
+ /**
127
+ * Name of the uploaded file
128
+ * @minLength 1
129
+ * @maxLength 255
130
+ */
112
131
  filename?: string;
113
132
  }
114
133
  export interface GenerateDisputeEvidenceDocumentUploadUrlResponse {
115
- /** Evidence Document upload URL */
134
+ /**
135
+ * Evidence Document upload URL
136
+ * @format WEB_URL
137
+ */
116
138
  uploadUrl?: string;
117
139
  }
118
140
  export interface AttachDisputeEvidenceDocumentFileRequest {
119
- /** Dispute Evidence Document ID */
141
+ /**
142
+ * Dispute Evidence Document ID
143
+ * @format GUID
144
+ */
120
145
  disputeEvidenceDocumentId: string;
121
146
  }
122
147
  export interface AttachDisputeEvidenceDocumentFileResponse {
@@ -124,7 +149,10 @@ export interface AttachDisputeEvidenceDocumentFileResponse {
124
149
  disputeEvidenceDocument?: DisputeEvidenceDocument;
125
150
  }
126
151
  export interface GetDisputeEvidenceDocumentRequest {
127
- /** ID of the DisputeEvidenceDocument to retrieve. */
152
+ /**
153
+ * ID of the DisputeEvidenceDocument to retrieve.
154
+ * @format GUID
155
+ */
128
156
  disputeEvidenceDocumentId: string;
129
157
  }
130
158
  export interface GetDisputeEvidenceDocumentResponse {
@@ -132,23 +160,35 @@ export interface GetDisputeEvidenceDocumentResponse {
132
160
  disputeEvidenceDocument?: DisputeEvidenceDocument;
133
161
  }
134
162
  export interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {
135
- /** ID of the DisputeEvidenceDocument to generate Download Url. */
163
+ /**
164
+ * ID of the DisputeEvidenceDocument to generate Download Url.
165
+ * @format GUID
166
+ */
136
167
  disputeEvidenceDocumentId: string;
137
168
  }
138
169
  export interface GenerateDisputeEvidenceDocumentDownloadUrlResponse {
139
- /** Document source URL. */
170
+ /**
171
+ * Document source URL.
172
+ * @format WEB_URL
173
+ */
140
174
  url?: string | null;
141
175
  /** Document source URL expiration date (when relevant). */
142
176
  urlExpirationDate?: Date | null;
143
177
  }
144
178
  export interface MarkDisputeEvidenceDocumentSubmittedRequest {
145
- /** Id of the DisputeEvidenceDocument to mark as submitted. */
179
+ /**
180
+ * Id of the DisputeEvidenceDocument to mark as submitted.
181
+ * @format GUID
182
+ */
146
183
  disputeEvidenceDocumentId: string;
147
184
  }
148
185
  export interface MarkDisputeEvidenceDocumentSubmittedResponse {
149
186
  }
150
187
  export interface DeleteDisputeEvidenceDocumentRequest {
151
- /** Id of the DisputeEvidenceDocument to delete. */
188
+ /**
189
+ * Id of the DisputeEvidenceDocument to delete.
190
+ * @format GUID
191
+ */
152
192
  disputeEvidenceDocumentId: string;
153
193
  }
154
194
  export interface DeleteDisputeEvidenceDocumentResponse {
@@ -172,6 +212,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
172
212
  /**
173
213
  * Sort object in the following format:
174
214
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
215
+ * @maxSize 5
175
216
  */
176
217
  sort?: Sorting[];
177
218
  }
@@ -181,7 +222,10 @@ export interface CursorQueryPagingMethodOneOf {
181
222
  cursorPaging?: CursorPaging;
182
223
  }
183
224
  export interface Sorting {
184
- /** Name of the field to sort by. */
225
+ /**
226
+ * Name of the field to sort by.
227
+ * @maxLength 512
228
+ */
185
229
  fieldName?: string;
186
230
  /** Sort order. */
187
231
  order?: SortOrder;
@@ -191,13 +235,17 @@ export declare enum SortOrder {
191
235
  DESC = "DESC"
192
236
  }
193
237
  export interface CursorPaging {
194
- /** Maximum number of items to return in the results. */
238
+ /**
239
+ * Maximum number of items to return in the results.
240
+ * @max 100
241
+ */
195
242
  limit?: number | null;
196
243
  /**
197
244
  * Pointer to the next or previous page in the list of results.
198
245
  *
199
246
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
200
247
  * Not relevant for the first request.
248
+ * @maxLength 16000
201
249
  */
202
250
  cursor?: string | null;
203
251
  }
@@ -221,13 +269,24 @@ export interface CursorPagingMetadata {
221
269
  hasNext?: boolean | null;
222
270
  }
223
271
  export interface Cursors {
224
- /** Cursor string pointing to the next page in the list of results. */
272
+ /**
273
+ * Cursor string pointing to the next page in the list of results.
274
+ * @maxLength 16000
275
+ */
225
276
  next?: string | null;
226
- /** Cursor pointing to the previous page in the list of results. */
277
+ /**
278
+ * Cursor pointing to the previous page in the list of results.
279
+ * @maxLength 16000
280
+ */
227
281
  prev?: string | null;
228
282
  }
229
283
  export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
230
- /** List of NileProtoTagsEntities that their tags will update. */
284
+ /**
285
+ * List of NileProtoTagsEntities that their tags will update.
286
+ * @minSize 1
287
+ * @maxSize 100
288
+ * @format GUID
289
+ */
231
290
  ids: string[];
232
291
  /** List of Tags to assign */
233
292
  assignTags?: Tags;
@@ -235,13 +294,20 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
235
294
  unassignTags?: Tags;
236
295
  }
237
296
  export interface BulkUpdateDisputeEvidenceDocumentTagsResponse {
238
- /** Results */
297
+ /**
298
+ * Results
299
+ * @minSize 1
300
+ * @maxSize 100
301
+ */
239
302
  results?: BulkUpdateDisputeEvidenceDocumentTagsResult[];
240
303
  /** Metadata regarding the bulk update operation */
241
304
  bulkActionMetadata?: BulkActionMetadata;
242
305
  }
243
306
  export interface ItemMetadata {
244
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
307
+ /**
308
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
309
+ * @format GUID
310
+ */
245
311
  id?: string | null;
246
312
  /** Index of the item within the request array. Allows for correlation between request and response items. */
247
313
  originalIndex?: number;
@@ -279,7 +345,10 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest {
279
345
  unassignTags?: Tags;
280
346
  }
281
347
  export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse {
282
- /** Job ID */
348
+ /**
349
+ * Job ID
350
+ * @format GUID
351
+ */
283
352
  jobId?: string;
284
353
  }
285
354
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -355,9 +424,15 @@ export interface ActionEvent {
355
424
  bodyAsJson?: string;
356
425
  }
357
426
  export interface MessageEnvelope {
358
- /** App instance ID. */
427
+ /**
428
+ * App instance ID.
429
+ * @format GUID
430
+ */
359
431
  instanceId?: string | null;
360
- /** Event type. */
432
+ /**
433
+ * Event type.
434
+ * @maxLength 150
435
+ */
361
436
  eventType?: string;
362
437
  /** The identification type and identity data. */
363
438
  identity?: IdentificationData;
@@ -365,26 +440,50 @@ export interface MessageEnvelope {
365
440
  data?: string;
366
441
  }
367
442
  export interface IdentificationData extends IdentificationDataIdOneOf {
368
- /** ID of a site visitor that has not logged in to the site. */
443
+ /**
444
+ * ID of a site visitor that has not logged in to the site.
445
+ * @format GUID
446
+ */
369
447
  anonymousVisitorId?: string;
370
- /** ID of a site visitor that has logged in to the site. */
448
+ /**
449
+ * ID of a site visitor that has logged in to the site.
450
+ * @format GUID
451
+ */
371
452
  memberId?: string;
372
- /** ID of a Wix user (site owner, contributor, etc.). */
453
+ /**
454
+ * ID of a Wix user (site owner, contributor, etc.).
455
+ * @format GUID
456
+ */
373
457
  wixUserId?: string;
374
- /** ID of an app. */
458
+ /**
459
+ * ID of an app.
460
+ * @format GUID
461
+ */
375
462
  appId?: string;
376
463
  /** @readonly */
377
464
  identityType?: WebhookIdentityType;
378
465
  }
379
466
  /** @oneof */
380
467
  export interface IdentificationDataIdOneOf {
381
- /** ID of a site visitor that has not logged in to the site. */
468
+ /**
469
+ * ID of a site visitor that has not logged in to the site.
470
+ * @format GUID
471
+ */
382
472
  anonymousVisitorId?: string;
383
- /** ID of a site visitor that has logged in to the site. */
473
+ /**
474
+ * ID of a site visitor that has logged in to the site.
475
+ * @format GUID
476
+ */
384
477
  memberId?: string;
385
- /** ID of a Wix user (site owner, contributor, etc.). */
478
+ /**
479
+ * ID of a Wix user (site owner, contributor, etc.).
480
+ * @format GUID
481
+ */
386
482
  wixUserId?: string;
387
- /** ID of an app. */
483
+ /**
484
+ * ID of an app.
485
+ * @format GUID
486
+ */
388
487
  appId?: string;
389
488
  }
390
489
  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":";;;AAiNA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA6ND,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"}
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":";;;AA6PA,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"}
@@ -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,7 +23,11 @@ export interface DisputeEvidenceDocument {
20
23
  * @readonly
21
24
  */
22
25
  _updatedDate?: Date | null;
23
- /** Dispute ID */
26
+ /**
27
+ * Dispute ID
28
+ * @format GUID
29
+ * @immutable
30
+ */
24
31
  disputeId?: string;
25
32
  /**
26
33
  * Document evidence file if it was uploaded and attached
@@ -28,7 +35,6 @@ export interface DisputeEvidenceDocument {
28
35
  */
29
36
  file?: DocumentFile;
30
37
  /**
31
- * TODO we want this to be read only: not allow to create submitted documents
32
38
  * Submitted date
33
39
  * @readonly
34
40
  */
@@ -38,11 +44,11 @@ export interface DisputeEvidenceDocument {
38
44
  /** Tags */
39
45
  tags?: Tags;
40
46
  }
41
- /** TODO do we need to mark fields here as readOnly if DocumentFile file was marked as readOnly? */
42
47
  export interface DocumentFile {
43
48
  /**
44
49
  * Document filename.
45
50
  * @readonly
51
+ * @maxLength 255
46
52
  */
47
53
  filename?: string | null;
48
54
  /**
@@ -52,6 +58,8 @@ export interface DocumentFile {
52
58
  sizeInBytes?: string | null;
53
59
  /**
54
60
  * Hexadecimal representation of the document's MD5 digest.
61
+ * @minLength 32
62
+ * @maxLength 32
55
63
  * @readonly
56
64
  */
57
65
  hexMd5Digest?: string | null;
@@ -94,7 +102,11 @@ export interface Tags {
94
102
  tags?: TagList;
95
103
  }
96
104
  export interface TagList {
97
- /** List of tag IDs */
105
+ /**
106
+ * List of tag IDs
107
+ * @maxSize 100
108
+ * @maxLength 5
109
+ */
98
110
  tagIds?: string[];
99
111
  }
100
112
  export interface CreateDisputeEvidenceDocumentRequest {
@@ -106,17 +118,30 @@ export interface CreateDisputeEvidenceDocumentResponse {
106
118
  disputeEvidenceDocument?: DisputeEvidenceDocument;
107
119
  }
108
120
  export interface GenerateDisputeEvidenceDocumentUploadUrlRequest {
109
- /** Dispute Evidence Document ID */
121
+ /**
122
+ * Dispute Evidence Document ID
123
+ * @format GUID
124
+ */
110
125
  disputeEvidenceDocumentId: string;
111
- /** Name of the uploaded file */
126
+ /**
127
+ * Name of the uploaded file
128
+ * @minLength 1
129
+ * @maxLength 255
130
+ */
112
131
  filename?: string;
113
132
  }
114
133
  export interface GenerateDisputeEvidenceDocumentUploadUrlResponse {
115
- /** Evidence Document upload URL */
134
+ /**
135
+ * Evidence Document upload URL
136
+ * @format WEB_URL
137
+ */
116
138
  uploadUrl?: string;
117
139
  }
118
140
  export interface AttachDisputeEvidenceDocumentFileRequest {
119
- /** Dispute Evidence Document ID */
141
+ /**
142
+ * Dispute Evidence Document ID
143
+ * @format GUID
144
+ */
120
145
  disputeEvidenceDocumentId: string;
121
146
  }
122
147
  export interface AttachDisputeEvidenceDocumentFileResponse {
@@ -124,7 +149,10 @@ export interface AttachDisputeEvidenceDocumentFileResponse {
124
149
  disputeEvidenceDocument?: DisputeEvidenceDocument;
125
150
  }
126
151
  export interface GetDisputeEvidenceDocumentRequest {
127
- /** ID of the DisputeEvidenceDocument to retrieve. */
152
+ /**
153
+ * ID of the DisputeEvidenceDocument to retrieve.
154
+ * @format GUID
155
+ */
128
156
  disputeEvidenceDocumentId: string;
129
157
  }
130
158
  export interface GetDisputeEvidenceDocumentResponse {
@@ -132,23 +160,35 @@ export interface GetDisputeEvidenceDocumentResponse {
132
160
  disputeEvidenceDocument?: DisputeEvidenceDocument;
133
161
  }
134
162
  export interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {
135
- /** ID of the DisputeEvidenceDocument to generate Download Url. */
163
+ /**
164
+ * ID of the DisputeEvidenceDocument to generate Download Url.
165
+ * @format GUID
166
+ */
136
167
  disputeEvidenceDocumentId: string;
137
168
  }
138
169
  export interface GenerateDisputeEvidenceDocumentDownloadUrlResponse {
139
- /** Document source URL. */
170
+ /**
171
+ * Document source URL.
172
+ * @format WEB_URL
173
+ */
140
174
  url?: string | null;
141
175
  /** Document source URL expiration date (when relevant). */
142
176
  urlExpirationDate?: Date | null;
143
177
  }
144
178
  export interface MarkDisputeEvidenceDocumentSubmittedRequest {
145
- /** Id of the DisputeEvidenceDocument to mark as submitted. */
179
+ /**
180
+ * Id of the DisputeEvidenceDocument to mark as submitted.
181
+ * @format GUID
182
+ */
146
183
  disputeEvidenceDocumentId: string;
147
184
  }
148
185
  export interface MarkDisputeEvidenceDocumentSubmittedResponse {
149
186
  }
150
187
  export interface DeleteDisputeEvidenceDocumentRequest {
151
- /** Id of the DisputeEvidenceDocument to delete. */
188
+ /**
189
+ * Id of the DisputeEvidenceDocument to delete.
190
+ * @format GUID
191
+ */
152
192
  disputeEvidenceDocumentId: string;
153
193
  }
154
194
  export interface DeleteDisputeEvidenceDocumentResponse {
@@ -172,6 +212,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
172
212
  /**
173
213
  * Sort object in the following format:
174
214
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
215
+ * @maxSize 5
175
216
  */
176
217
  sort?: Sorting[];
177
218
  }
@@ -181,7 +222,10 @@ export interface CursorQueryPagingMethodOneOf {
181
222
  cursorPaging?: CursorPaging;
182
223
  }
183
224
  export interface Sorting {
184
- /** Name of the field to sort by. */
225
+ /**
226
+ * Name of the field to sort by.
227
+ * @maxLength 512
228
+ */
185
229
  fieldName?: string;
186
230
  /** Sort order. */
187
231
  order?: SortOrder;
@@ -191,13 +235,17 @@ export declare enum SortOrder {
191
235
  DESC = "DESC"
192
236
  }
193
237
  export interface CursorPaging {
194
- /** Maximum number of items to return in the results. */
238
+ /**
239
+ * Maximum number of items to return in the results.
240
+ * @max 100
241
+ */
195
242
  limit?: number | null;
196
243
  /**
197
244
  * Pointer to the next or previous page in the list of results.
198
245
  *
199
246
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
200
247
  * Not relevant for the first request.
248
+ * @maxLength 16000
201
249
  */
202
250
  cursor?: string | null;
203
251
  }
@@ -221,13 +269,24 @@ export interface CursorPagingMetadata {
221
269
  hasNext?: boolean | null;
222
270
  }
223
271
  export interface Cursors {
224
- /** Cursor string pointing to the next page in the list of results. */
272
+ /**
273
+ * Cursor string pointing to the next page in the list of results.
274
+ * @maxLength 16000
275
+ */
225
276
  next?: string | null;
226
- /** Cursor pointing to the previous page in the list of results. */
277
+ /**
278
+ * Cursor pointing to the previous page in the list of results.
279
+ * @maxLength 16000
280
+ */
227
281
  prev?: string | null;
228
282
  }
229
283
  export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
230
- /** List of NileProtoTagsEntities that their tags will update. */
284
+ /**
285
+ * List of NileProtoTagsEntities that their tags will update.
286
+ * @minSize 1
287
+ * @maxSize 100
288
+ * @format GUID
289
+ */
231
290
  ids: string[];
232
291
  /** List of Tags to assign */
233
292
  assignTags?: Tags;
@@ -235,13 +294,20 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsRequest {
235
294
  unassignTags?: Tags;
236
295
  }
237
296
  export interface BulkUpdateDisputeEvidenceDocumentTagsResponse {
238
- /** Results */
297
+ /**
298
+ * Results
299
+ * @minSize 1
300
+ * @maxSize 100
301
+ */
239
302
  results?: BulkUpdateDisputeEvidenceDocumentTagsResult[];
240
303
  /** Metadata regarding the bulk update operation */
241
304
  bulkActionMetadata?: BulkActionMetadata;
242
305
  }
243
306
  export interface ItemMetadata {
244
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
307
+ /**
308
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
309
+ * @format GUID
310
+ */
245
311
  _id?: string | null;
246
312
  /** Index of the item within the request array. Allows for correlation between request and response items. */
247
313
  originalIndex?: number;
@@ -279,7 +345,10 @@ export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest {
279
345
  unassignTags?: Tags;
280
346
  }
281
347
  export interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse {
282
- /** Job ID */
348
+ /**
349
+ * Job ID
350
+ * @format GUID
351
+ */
283
352
  jobId?: string;
284
353
  }
285
354
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -353,9 +422,15 @@ export interface ActionEvent {
353
422
  body?: string;
354
423
  }
355
424
  export interface MessageEnvelope {
356
- /** App instance ID. */
425
+ /**
426
+ * App instance ID.
427
+ * @format GUID
428
+ */
357
429
  instanceId?: string | null;
358
- /** Event type. */
430
+ /**
431
+ * Event type.
432
+ * @maxLength 150
433
+ */
359
434
  eventType?: string;
360
435
  /** The identification type and identity data. */
361
436
  identity?: IdentificationData;
@@ -363,26 +438,50 @@ export interface MessageEnvelope {
363
438
  data?: string;
364
439
  }
365
440
  export interface IdentificationData extends IdentificationDataIdOneOf {
366
- /** ID of a site visitor that has not logged in to the site. */
441
+ /**
442
+ * ID of a site visitor that has not logged in to the site.
443
+ * @format GUID
444
+ */
367
445
  anonymousVisitorId?: string;
368
- /** ID of a site visitor that has logged in to the site. */
446
+ /**
447
+ * ID of a site visitor that has logged in to the site.
448
+ * @format GUID
449
+ */
369
450
  memberId?: string;
370
- /** ID of a Wix user (site owner, contributor, etc.). */
451
+ /**
452
+ * ID of a Wix user (site owner, contributor, etc.).
453
+ * @format GUID
454
+ */
371
455
  wixUserId?: string;
372
- /** ID of an app. */
456
+ /**
457
+ * ID of an app.
458
+ * @format GUID
459
+ */
373
460
  appId?: string;
374
461
  /** @readonly */
375
462
  identityType?: WebhookIdentityType;
376
463
  }
377
464
  /** @oneof */
378
465
  export interface IdentificationDataIdOneOf {
379
- /** ID of a site visitor that has not logged in to the site. */
466
+ /**
467
+ * ID of a site visitor that has not logged in to the site.
468
+ * @format GUID
469
+ */
380
470
  anonymousVisitorId?: string;
381
- /** ID of a site visitor that has logged in to the site. */
471
+ /**
472
+ * ID of a site visitor that has logged in to the site.
473
+ * @format GUID
474
+ */
382
475
  memberId?: string;
383
- /** ID of a Wix user (site owner, contributor, etc.). */
476
+ /**
477
+ * ID of a Wix user (site owner, contributor, etc.).
478
+ * @format GUID
479
+ */
384
480
  wixUserId?: string;
385
- /** ID of an app. */
481
+ /**
482
+ * ID of an app.
483
+ * @format GUID
484
+ */
386
485
  appId?: string;
387
486
  }
388
487
  export declare enum WebhookIdentityType {
@@ -466,7 +565,11 @@ export declare function createDisputeEvidenceDocument(disputeEvidenceDocument: D
466
565
  */
467
566
  export declare function generateDisputeEvidenceDocumentUploadUrl(disputeEvidenceDocumentId: string, options?: GenerateDisputeEvidenceDocumentUploadUrlOptions): Promise<GenerateDisputeEvidenceDocumentUploadUrlResponse & GenerateDisputeEvidenceDocumentUploadUrlResponseNonNullableFields>;
468
567
  export interface GenerateDisputeEvidenceDocumentUploadUrlOptions {
469
- /** Name of the uploaded file */
568
+ /**
569
+ * Name of the uploaded file
570
+ * @minLength 1
571
+ * @maxLength 255
572
+ */
470
573
  filename?: string;
471
574
  }
472
575
  /**