@delopay/sdk 0.150.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/index.cjs CHANGED
@@ -1147,6 +1147,16 @@ var Disputes = class {
1147
1147
  async retrieve(disputeId) {
1148
1148
  return this.request("GET", `/disputes/${encodeURIComponent(disputeId)}`);
1149
1149
  }
1150
+ /** Read declared links and provider-reported refund references. Empty means unknown. */
1151
+ async listRefundAssociations(disputeId) {
1152
+ return this.request("GET", `/disputes/${encodeURIComponent(disputeId)}/refund-associations`);
1153
+ }
1154
+ /** Declare or clear an allocation against a successful refund of this payment. */
1155
+ async setRefundAssociation(disputeId, params) {
1156
+ return this.request("PUT", `/disputes/${encodeURIComponent(disputeId)}/refund-associations`, {
1157
+ body: params
1158
+ });
1159
+ }
1150
1160
  /**
1151
1161
  * List disputes, optionally filtered by status, stage, or date range.
1152
1162
  *