@delopay/sdk 0.149.0 → 0.151.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.
- package/dist/{chunk-DQOEWKNX.js → chunk-U4LI2HSJ.js} +11 -1
- package/dist/chunk-U4LI2HSJ.js.map +1 -0
- package/dist/index.cjs +10 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +108 -3
- package/dist/index.d.ts +108 -3
- package/dist/index.js +1 -1
- package/dist/internal.cjs +10 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-DQOEWKNX.js.map +0 -1
|
@@ -952,6 +952,16 @@ var Disputes = class {
|
|
|
952
952
|
async retrieve(disputeId) {
|
|
953
953
|
return this.request("GET", `/disputes/${encodeURIComponent(disputeId)}`);
|
|
954
954
|
}
|
|
955
|
+
/** Read declared links and provider-reported refund references. Empty means unknown. */
|
|
956
|
+
async listRefundAssociations(disputeId) {
|
|
957
|
+
return this.request("GET", `/disputes/${encodeURIComponent(disputeId)}/refund-associations`);
|
|
958
|
+
}
|
|
959
|
+
/** Declare or clear an allocation against a successful refund of this payment. */
|
|
960
|
+
async setRefundAssociation(disputeId, params) {
|
|
961
|
+
return this.request("PUT", `/disputes/${encodeURIComponent(disputeId)}/refund-associations`, {
|
|
962
|
+
body: params
|
|
963
|
+
});
|
|
964
|
+
}
|
|
955
965
|
/**
|
|
956
966
|
* List disputes, optionally filtered by status, stage, or date range.
|
|
957
967
|
*
|
|
@@ -8457,4 +8467,4 @@ export {
|
|
|
8457
8467
|
decodeNativePanes,
|
|
8458
8468
|
encodeNativePanes
|
|
8459
8469
|
};
|
|
8460
|
-
//# sourceMappingURL=chunk-
|
|
8470
|
+
//# sourceMappingURL=chunk-U4LI2HSJ.js.map
|