@delopay/sdk 0.265.0 → 0.266.0

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.
@@ -1642,6 +1642,23 @@ var Disputes = class {
1642
1642
  async accept(disputeId) {
1643
1643
  return this.request("POST", `/disputes/accept/${encodeURIComponent(disputeId)}`);
1644
1644
  }
1645
+ /**
1646
+ * Correct the exchange rate of a dispute the processor reported in another
1647
+ * currency, or record its final settled amount. Until it is settled, the
1648
+ * reserved amount is an estimate and no other dispute on the same payment
1649
+ * attempt can take a new reservation. Signed-in users with the
1650
+ * external-record permission only.
1651
+ *
1652
+ * @param disputeId - The dispute to reconcile.
1653
+ * @param request - `correct_rate` with the processor's rate, or `settle`
1654
+ * with the final amount and a reason.
1655
+ * @returns The updated dispute.
1656
+ */
1657
+ async reconcile(disputeId, request) {
1658
+ return this.request("POST", `/disputes/${encodeURIComponent(disputeId)}/reconcile`, {
1659
+ body: request
1660
+ });
1661
+ }
1645
1662
  /**
1646
1663
  * Submit evidence to challenge a dispute.
1647
1664
  *
@@ -13679,4 +13696,4 @@ export {
13679
13696
  decodeNativePanes,
13680
13697
  encodeNativePanes
13681
13698
  };
13682
- //# sourceMappingURL=chunk-SW4N2WY4.js.map
13699
+ //# sourceMappingURL=chunk-T7DDPU7M.js.map