@wix/auto_sdk_payments_dispute-history-records 1.0.25 → 1.0.27

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