@wix/auto_sdk_payments_disputes 1.0.32 → 1.0.33

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.
@@ -117,7 +117,7 @@ interface Dispute {
117
117
  /** Data Extensions */
118
118
  extendedFields?: ExtendedFields;
119
119
  /** Tags */
120
- tags?: PublicTags;
120
+ tags?: Tags;
121
121
  }
122
122
  declare enum DisputeStage {
123
123
  UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
@@ -221,18 +221,282 @@ interface ExtendedFields {
221
221
  */
222
222
  namespaces?: Record<string, Record<string, any>>;
223
223
  }
224
- interface PublicTags {
224
+ /**
225
+ * Common object for tags.
226
+ * Should be use as in this example:
227
+ * message Foo {
228
+ * option (.wix.api.decomposite_of) = "wix.commons.v2.tags.Foo";
229
+ * string id = 1;
230
+ * ...
231
+ * Tags tags = 5
232
+ * }
233
+ *
234
+ * example of taggable entity
235
+ * {
236
+ * id: "123"
237
+ * tags: {
238
+ * public_tags: {
239
+ * tag_ids:["11","22"]
240
+ * },
241
+ * private_tags: {
242
+ * tag_ids: ["33", "44"]
243
+ * }
244
+ * }
245
+ * }
246
+ */
247
+ interface Tags {
248
+ /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
249
+ privateTags?: TagList;
225
250
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
226
- tags?: TagList;
251
+ publicTags?: TagList;
227
252
  }
228
253
  interface TagList {
229
254
  /**
230
- * List of tag IDs
255
+ * List of tag IDs.
231
256
  * @maxSize 100
232
257
  * @maxLength 5
233
258
  */
234
259
  tagIds?: string[];
235
260
  }
261
+ interface TagsModified {
262
+ /** Updated Dispute. */
263
+ dispute?: Dispute;
264
+ /** Tags that were assigned to the Dispute. */
265
+ assignedTags?: Tags;
266
+ /** Tags that were unassigned from the Dispute. */
267
+ unassignedTags?: Tags;
268
+ }
269
+ interface InternalCreateDisputeManuallyRequest {
270
+ /**
271
+ * Dispute Id
272
+ * @format GUID
273
+ */
274
+ disputeId?: string;
275
+ /**
276
+ * Charge Id
277
+ * @format GUID
278
+ */
279
+ chargeId?: string;
280
+ /** Open date */
281
+ openDate?: Date | null;
282
+ /**
283
+ * Provider Dispute Id
284
+ * @minLength 1
285
+ * @maxLength 100
286
+ */
287
+ providerDisputeId?: string;
288
+ /** Dispute stage */
289
+ stage?: DisputeStageWithLiterals;
290
+ /** Dispute reason */
291
+ reason?: DisputeReasonWithLiterals;
292
+ /** Dispute status based on provider dispute status */
293
+ status?: DisputeStatusWithLiterals;
294
+ /** The latest date and time until which the dispute can remain in its current status */
295
+ dueDate?: Date | null;
296
+ /**
297
+ * Dispute currency. Should be the same as the charge currency.
298
+ * @immutable
299
+ * @format CURRENCY
300
+ */
301
+ currencyCode?: string | null;
302
+ /**
303
+ * Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
304
+ * @immutable
305
+ * @decimalValue options { gt:0, maxScale:8 }
306
+ */
307
+ amount?: string | null;
308
+ /**
309
+ * Network reason code
310
+ * @minLength 1
311
+ * @maxLength 64
312
+ */
313
+ networkReasonCode?: string | null;
314
+ /** External or Internal */
315
+ external?: boolean | null;
316
+ /**
317
+ * Seller protection
318
+ * @minLength 1
319
+ * @maxLength 64
320
+ */
321
+ sellerProtection?: string | null;
322
+ /** Is charge refundable */
323
+ chargeRefundable?: boolean | null;
324
+ /** True if dispute is defendable */
325
+ defendable?: boolean | null;
326
+ /** True if it is an auto dispute */
327
+ autoDefended?: boolean | null;
328
+ }
329
+ interface InternalCreateDisputeManuallyResponse {
330
+ }
331
+ interface InternalChangeDisputeStatusManuallyRequest {
332
+ /**
333
+ * Dispute ID
334
+ * @format GUID
335
+ */
336
+ disputeId?: string;
337
+ /** Changed date */
338
+ changedDate?: Date | null;
339
+ /** Dispute status based on provider dispute status */
340
+ status?: DisputeStatusWithLiterals;
341
+ }
342
+ interface InternalChangeDisputeStatusManuallyResponse {
343
+ }
344
+ interface AcceptDisputeManuallyRequest {
345
+ /**
346
+ * Dispute ID
347
+ * @format GUID
348
+ */
349
+ disputeId?: string;
350
+ /** Acceptance date */
351
+ acceptanceDate?: Date | null;
352
+ }
353
+ interface AcceptDisputeManuallyResponse {
354
+ }
355
+ interface DefendDisputeManuallyRequest {
356
+ /**
357
+ * Dispute ID
358
+ * @format GUID
359
+ */
360
+ disputeId?: string;
361
+ /** Defense date */
362
+ defenseDate?: Date | null;
363
+ }
364
+ interface DefendDisputeManuallyResponse {
365
+ }
366
+ interface DomainEvent extends DomainEventBodyOneOf {
367
+ createdEvent?: EntityCreatedEvent;
368
+ updatedEvent?: EntityUpdatedEvent;
369
+ deletedEvent?: EntityDeletedEvent;
370
+ actionEvent?: ActionEvent;
371
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
372
+ _id?: string;
373
+ /**
374
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
375
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
376
+ */
377
+ entityFqdn?: string;
378
+ /**
379
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
380
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
381
+ */
382
+ slug?: string;
383
+ /** ID of the entity associated with the event. */
384
+ entityId?: string;
385
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
386
+ eventTime?: Date | null;
387
+ /**
388
+ * Whether the event was triggered as a result of a privacy regulation application
389
+ * (for example, GDPR).
390
+ */
391
+ triggeredByAnonymizeRequest?: boolean | null;
392
+ /** If present, indicates the action that triggered the event. */
393
+ originatedFrom?: string | null;
394
+ /**
395
+ * 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.
396
+ * 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.
397
+ */
398
+ entityEventSequence?: string | null;
399
+ }
400
+ /** @oneof */
401
+ interface DomainEventBodyOneOf {
402
+ createdEvent?: EntityCreatedEvent;
403
+ updatedEvent?: EntityUpdatedEvent;
404
+ deletedEvent?: EntityDeletedEvent;
405
+ actionEvent?: ActionEvent;
406
+ }
407
+ interface EntityCreatedEvent {
408
+ entity?: string;
409
+ }
410
+ interface RestoreInfo {
411
+ deletedDate?: Date | null;
412
+ }
413
+ interface EntityUpdatedEvent {
414
+ /**
415
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
416
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
417
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
418
+ */
419
+ currentEntity?: string;
420
+ }
421
+ interface EntityDeletedEvent {
422
+ /** Entity that was deleted. */
423
+ deletedEntity?: string | null;
424
+ }
425
+ interface ActionEvent {
426
+ body?: string;
427
+ }
428
+ interface MessageEnvelope {
429
+ /**
430
+ * App instance ID.
431
+ * @format GUID
432
+ */
433
+ instanceId?: string | null;
434
+ /**
435
+ * Event type.
436
+ * @maxLength 150
437
+ */
438
+ eventType?: string;
439
+ /** The identification type and identity data. */
440
+ identity?: IdentificationData;
441
+ /** Stringify payload. */
442
+ data?: string;
443
+ }
444
+ interface IdentificationData extends IdentificationDataIdOneOf {
445
+ /**
446
+ * ID of a site visitor that has not logged in to the site.
447
+ * @format GUID
448
+ */
449
+ anonymousVisitorId?: string;
450
+ /**
451
+ * ID of a site visitor that has logged in to the site.
452
+ * @format GUID
453
+ */
454
+ memberId?: string;
455
+ /**
456
+ * ID of a Wix user (site owner, contributor, etc.).
457
+ * @format GUID
458
+ */
459
+ wixUserId?: string;
460
+ /**
461
+ * ID of an app.
462
+ * @format GUID
463
+ */
464
+ appId?: string;
465
+ /** @readonly */
466
+ identityType?: WebhookIdentityTypeWithLiterals;
467
+ }
468
+ /** @oneof */
469
+ interface IdentificationDataIdOneOf {
470
+ /**
471
+ * ID of a site visitor that has not logged in to the site.
472
+ * @format GUID
473
+ */
474
+ anonymousVisitorId?: string;
475
+ /**
476
+ * ID of a site visitor that has logged in to the site.
477
+ * @format GUID
478
+ */
479
+ memberId?: string;
480
+ /**
481
+ * ID of a Wix user (site owner, contributor, etc.).
482
+ * @format GUID
483
+ */
484
+ wixUserId?: string;
485
+ /**
486
+ * ID of an app.
487
+ * @format GUID
488
+ */
489
+ appId?: string;
490
+ }
491
+ declare enum WebhookIdentityType {
492
+ UNKNOWN = "UNKNOWN",
493
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
494
+ MEMBER = "MEMBER",
495
+ WIX_USER = "WIX_USER",
496
+ APP = "APP"
497
+ }
498
+ /** @enumType */
499
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
236
500
  interface GetDisputeRequest {
237
501
  /**
238
502
  * ID of the Dispute to retrieve.
@@ -454,40 +718,6 @@ interface BulkUpdateDisputeTagsRequest {
454
718
  /** List of Tags to unAssign */
455
719
  unassignTags?: Tags;
456
720
  }
457
- /**
458
- * Common object for tags.
459
- * Should be use as in this example:
460
- * message Foo {
461
- * string id = 1;
462
- * ...
463
- * Tags tags = 5
464
- * }
465
- *
466
- * example of taggable entity
467
- * {
468
- * id: "123"
469
- * tags: {
470
- * tags: {
471
- * tag_ids:["11","22"]
472
- * },
473
- * private_tags: {
474
- * tag_ids: ["33", "44"]
475
- * }
476
- * }
477
- * }
478
- */
479
- interface Tags {
480
- /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
481
- tags?: TagsTagList;
482
- }
483
- interface TagsTagList {
484
- /**
485
- * List of tag IDs
486
- * @maxSize 100
487
- * @maxLength 5
488
- */
489
- tagIds?: string[];
490
- }
491
721
  interface BulkUpdateDisputeTagsResponse {
492
722
  /**
493
723
  * Results
@@ -546,140 +776,6 @@ interface BulkUpdateDisputeTagsByFilterResponse {
546
776
  */
547
777
  jobId?: string;
548
778
  }
549
- interface DomainEvent extends DomainEventBodyOneOf {
550
- createdEvent?: EntityCreatedEvent;
551
- updatedEvent?: EntityUpdatedEvent;
552
- deletedEvent?: EntityDeletedEvent;
553
- actionEvent?: ActionEvent;
554
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
555
- _id?: string;
556
- /**
557
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
558
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
559
- */
560
- entityFqdn?: string;
561
- /**
562
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
563
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
564
- */
565
- slug?: string;
566
- /** ID of the entity associated with the event. */
567
- entityId?: string;
568
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
569
- eventTime?: Date | null;
570
- /**
571
- * Whether the event was triggered as a result of a privacy regulation application
572
- * (for example, GDPR).
573
- */
574
- triggeredByAnonymizeRequest?: boolean | null;
575
- /** If present, indicates the action that triggered the event. */
576
- originatedFrom?: string | null;
577
- /**
578
- * 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.
579
- * 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.
580
- */
581
- entityEventSequence?: string | null;
582
- }
583
- /** @oneof */
584
- interface DomainEventBodyOneOf {
585
- createdEvent?: EntityCreatedEvent;
586
- updatedEvent?: EntityUpdatedEvent;
587
- deletedEvent?: EntityDeletedEvent;
588
- actionEvent?: ActionEvent;
589
- }
590
- interface EntityCreatedEvent {
591
- entity?: string;
592
- }
593
- interface RestoreInfo {
594
- deletedDate?: Date | null;
595
- }
596
- interface EntityUpdatedEvent {
597
- /**
598
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
599
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
600
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
601
- */
602
- currentEntity?: string;
603
- }
604
- interface EntityDeletedEvent {
605
- /** Entity that was deleted. */
606
- deletedEntity?: string | null;
607
- }
608
- interface ActionEvent {
609
- body?: string;
610
- }
611
- interface MessageEnvelope {
612
- /**
613
- * App instance ID.
614
- * @format GUID
615
- */
616
- instanceId?: string | null;
617
- /**
618
- * Event type.
619
- * @maxLength 150
620
- */
621
- eventType?: string;
622
- /** The identification type and identity data. */
623
- identity?: IdentificationData;
624
- /** Stringify payload. */
625
- data?: string;
626
- }
627
- interface IdentificationData extends IdentificationDataIdOneOf {
628
- /**
629
- * ID of a site visitor that has not logged in to the site.
630
- * @format GUID
631
- */
632
- anonymousVisitorId?: string;
633
- /**
634
- * ID of a site visitor that has logged in to the site.
635
- * @format GUID
636
- */
637
- memberId?: string;
638
- /**
639
- * ID of a Wix user (site owner, contributor, etc.).
640
- * @format GUID
641
- */
642
- wixUserId?: string;
643
- /**
644
- * ID of an app.
645
- * @format GUID
646
- */
647
- appId?: string;
648
- /** @readonly */
649
- identityType?: WebhookIdentityTypeWithLiterals;
650
- }
651
- /** @oneof */
652
- interface IdentificationDataIdOneOf {
653
- /**
654
- * ID of a site visitor that has not logged in to the site.
655
- * @format GUID
656
- */
657
- anonymousVisitorId?: string;
658
- /**
659
- * ID of a site visitor that has logged in to the site.
660
- * @format GUID
661
- */
662
- memberId?: string;
663
- /**
664
- * ID of a Wix user (site owner, contributor, etc.).
665
- * @format GUID
666
- */
667
- wixUserId?: string;
668
- /**
669
- * ID of an app.
670
- * @format GUID
671
- */
672
- appId?: string;
673
- }
674
- declare enum WebhookIdentityType {
675
- UNKNOWN = "UNKNOWN",
676
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
677
- MEMBER = "MEMBER",
678
- WIX_USER = "WIX_USER",
679
- APP = "APP"
680
- }
681
- /** @enumType */
682
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
683
779
  /** @docsIgnore */
684
780
  type BulkUpdateDisputeTagsApplicationErrors = {
685
781
  code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
@@ -702,7 +798,7 @@ type BulkUpdateDisputeTagsByFilterApplicationErrors = {
702
798
  * @returns The requested Dispute.
703
799
  * @fqn wix.payments.disputes.v1.DisputeService.GetDispute
704
800
  */
705
- declare function getDispute(disputeId: string): Promise<NonNullablePaths<Dispute, `_id` | `chargeId` | `providerDisputeId` | `stage` | `reason` | `status` | `sellerProtection` | `channel` | `actions` | `actions.${number}.type` | `tags.tags.tagIds`, 4>>;
801
+ declare function getDispute(disputeId: string): Promise<NonNullablePaths<Dispute, `_id` | `chargeId` | `providerDisputeId` | `stage` | `reason` | `status` | `sellerProtection` | `channel` | `actions` | `actions.${number}.type` | `tags.privateTags.tagIds`, 4>>;
706
802
  /**
707
803
  * Retrieves a list of Disputes
708
804
  * @internal
@@ -797,7 +893,7 @@ interface DisputesQueryBuilder {
797
893
  * @permissionId PAYMENTS.DISPUTE_ACCEPT
798
894
  * @fqn wix.payments.disputes.v1.DisputeService.AcceptDispute
799
895
  */
800
- declare function acceptDispute(disputeId: string): Promise<NonNullablePaths<AcceptDisputeResponse, `dispute._id` | `dispute.chargeId` | `dispute.providerDisputeId` | `dispute.stage` | `dispute.reason` | `dispute.status` | `dispute.sellerProtection` | `dispute.channel` | `dispute.actions` | `dispute.actions.${number}.type` | `dispute.tags.tags.tagIds`, 5>>;
896
+ declare function acceptDispute(disputeId: string): Promise<NonNullablePaths<AcceptDisputeResponse, `dispute._id` | `dispute.chargeId` | `dispute.providerDisputeId` | `dispute.stage` | `dispute.reason` | `dispute.status` | `dispute.sellerProtection` | `dispute.channel` | `dispute.actions` | `dispute.actions.${number}.type` | `dispute.tags.privateTags.tagIds`, 5>>;
801
897
  /**
802
898
  * Defend Dispute
803
899
  * @param disputeId - Dispute ID
@@ -807,7 +903,7 @@ declare function acceptDispute(disputeId: string): Promise<NonNullablePaths<Acce
807
903
  * @permissionId PAYMENTS.DISPUTE_DEFEND
808
904
  * @fqn wix.payments.disputes.v1.DisputeService.DefendDispute
809
905
  */
810
- declare function defendDispute(disputeId: string): Promise<NonNullablePaths<DefendDisputeResponse, `dispute._id` | `dispute.chargeId` | `dispute.providerDisputeId` | `dispute.stage` | `dispute.reason` | `dispute.status` | `dispute.sellerProtection` | `dispute.channel` | `dispute.actions` | `dispute.actions.${number}.type` | `dispute.tags.tags.tagIds`, 5>>;
906
+ declare function defendDispute(disputeId: string): Promise<NonNullablePaths<DefendDisputeResponse, `dispute._id` | `dispute.chargeId` | `dispute.providerDisputeId` | `dispute.stage` | `dispute.reason` | `dispute.status` | `dispute.sellerProtection` | `dispute.channel` | `dispute.actions` | `dispute.actions.${number}.type` | `dispute.tags.privateTags.tagIds`, 5>>;
811
907
  /**
812
908
  * Dispute Submit Evidence // TODO will be removed in next PR (after removing usage in transaction-service)
813
909
  * @param disputeId - Dispute ID
@@ -817,7 +913,7 @@ declare function defendDispute(disputeId: string): Promise<NonNullablePaths<Defe
817
913
  * @permissionId PAYMENTS.DISPUTE_SUBMIT_EVIDENCE
818
914
  * @fqn wix.payments.disputes.v1.DisputeService.SubmitDisputeEvidence
819
915
  */
820
- declare function submitDisputeEvidence(disputeId: string): Promise<NonNullablePaths<SubmitDisputeEvidenceResponse, `dispute._id` | `dispute.chargeId` | `dispute.providerDisputeId` | `dispute.stage` | `dispute.reason` | `dispute.status` | `dispute.sellerProtection` | `dispute.channel` | `dispute.actions` | `dispute.actions.${number}.type` | `dispute.tags.tags.tagIds`, 5>>;
916
+ declare function submitDisputeEvidence(disputeId: string): Promise<NonNullablePaths<SubmitDisputeEvidenceResponse, `dispute._id` | `dispute.chargeId` | `dispute.providerDisputeId` | `dispute.stage` | `dispute.reason` | `dispute.status` | `dispute.sellerProtection` | `dispute.channel` | `dispute.actions` | `dispute.actions.${number}.type` | `dispute.tags.privateTags.tagIds`, 5>>;
821
917
  /**
822
918
  * Synchronously update tags on multiple Disputes, by list of Disputes ids
823
919
  * A tag that appears both in the list of assign and unassign tags, will be assigned
@@ -858,4 +954,4 @@ interface BulkUpdateDisputeTagsByFilterOptions {
858
954
  unassignTags?: Tags;
859
955
  }
860
956
 
861
- export { type AcceptDisputeRequest, type AcceptDisputeResponse, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkUpdateDisputeTagsApplicationErrors, type BulkUpdateDisputeTagsByFilterApplicationErrors, type BulkUpdateDisputeTagsByFilterOptions, type BulkUpdateDisputeTagsByFilterRequest, type BulkUpdateDisputeTagsByFilterResponse, type BulkUpdateDisputeTagsOptions, type BulkUpdateDisputeTagsRequest, type BulkUpdateDisputeTagsResponse, type BulkUpdateDisputeTagsResult, type ChangeDisputeStatusManuallyRequest, type ChangeDisputeStatusManuallyResponse, type CreateDisputeManuallyRequest, type CreateDisputeManuallyResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DefendDisputeRequest, type DefendDisputeResponse, type Dispute, type DisputeAction, DisputeActionType, type DisputeActionTypeWithLiterals, DisputeChannel, type DisputeChannelWithLiterals, DisputeReason, type DisputeReasonWithLiterals, DisputeStage, type DisputeStageWithLiterals, DisputeStatus, type DisputeStatusWithLiterals, type DisputesQueryBuilder, type DisputesQueryResult, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDisputeRequest, type GetDisputeResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type PublicTags, type QueryDisputesRequest, type QueryDisputesResponse, type RestoreInfo, SellerProtection, type SellerProtectionWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, type SubmitDisputeEvidenceRequest, type SubmitDisputeEvidenceResponse, type TagList, type Tags, type TagsTagList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, defendDispute, getDispute, queryDisputes, submitDisputeEvidence };
957
+ export { type AcceptDisputeManuallyRequest, type AcceptDisputeManuallyResponse, type AcceptDisputeRequest, type AcceptDisputeResponse, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkUpdateDisputeTagsApplicationErrors, type BulkUpdateDisputeTagsByFilterApplicationErrors, type BulkUpdateDisputeTagsByFilterOptions, type BulkUpdateDisputeTagsByFilterRequest, type BulkUpdateDisputeTagsByFilterResponse, type BulkUpdateDisputeTagsOptions, type BulkUpdateDisputeTagsRequest, type BulkUpdateDisputeTagsResponse, type BulkUpdateDisputeTagsResult, type ChangeDisputeStatusManuallyRequest, type ChangeDisputeStatusManuallyResponse, type CreateDisputeManuallyRequest, type CreateDisputeManuallyResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DefendDisputeManuallyRequest, type DefendDisputeManuallyResponse, type DefendDisputeRequest, type DefendDisputeResponse, type Dispute, type DisputeAction, DisputeActionType, type DisputeActionTypeWithLiterals, DisputeChannel, type DisputeChannelWithLiterals, DisputeReason, type DisputeReasonWithLiterals, DisputeStage, type DisputeStageWithLiterals, DisputeStatus, type DisputeStatusWithLiterals, type DisputesQueryBuilder, type DisputesQueryResult, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDisputeRequest, type GetDisputeResponse, type IdentificationData, type IdentificationDataIdOneOf, type InternalChangeDisputeStatusManuallyRequest, type InternalChangeDisputeStatusManuallyResponse, type InternalCreateDisputeManuallyRequest, type InternalCreateDisputeManuallyResponse, type ItemMetadata, type MessageEnvelope, type QueryDisputesRequest, type QueryDisputesResponse, type RestoreInfo, SellerProtection, type SellerProtectionWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, type SubmitDisputeEvidenceRequest, type SubmitDisputeEvidenceResponse, type TagList, type Tags, type TagsModified, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, defendDispute, getDispute, queryDisputes, submitDisputeEvidence };
@@ -308,11 +308,6 @@ var DisputeActionType = /* @__PURE__ */ ((DisputeActionType2) => {
308
308
  DisputeActionType2["DEFEND"] = "DEFEND";
309
309
  return DisputeActionType2;
310
310
  })(DisputeActionType || {});
311
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
312
- SortOrder2["ASC"] = "ASC";
313
- SortOrder2["DESC"] = "DESC";
314
- return SortOrder2;
315
- })(SortOrder || {});
316
311
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
317
312
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
318
313
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -321,6 +316,11 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
321
316
  WebhookIdentityType2["APP"] = "APP";
322
317
  return WebhookIdentityType2;
323
318
  })(WebhookIdentityType || {});
319
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
320
+ SortOrder2["ASC"] = "ASC";
321
+ SortOrder2["DESC"] = "DESC";
322
+ return SortOrder2;
323
+ })(SortOrder || {});
324
324
  async function getDispute2(disputeId) {
325
325
  const { httpClient, sideEffects } = arguments[1];
326
326
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({