@delopay/sdk 0.40.0 → 0.42.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-JAO3KHIM.js → chunk-HIKVDY3V.js} +29 -1
- package/dist/chunk-HIKVDY3V.js.map +1 -0
- package/dist/index.cjs +28 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -1
- package/dist/index.d.ts +55 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +28 -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-JAO3KHIM.js.map +0 -1
|
@@ -278,6 +278,22 @@ var Billing = class {
|
|
|
278
278
|
query: params
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
+
/**
|
|
282
|
+
* List payment attempts that were blocked by the billing suspension gate
|
|
283
|
+
* (account suspended, setup incomplete, or shop allocation suspended).
|
|
284
|
+
*
|
|
285
|
+
* These attempts never created a payment, so they do not appear in the
|
|
286
|
+
* payments list — this is the only way to retrieve them.
|
|
287
|
+
*
|
|
288
|
+
* @param merchantId - The merchant account ID.
|
|
289
|
+
* @param params - Optional filters (profile, reason, date range) and pagination.
|
|
290
|
+
* @returns The blocked-attempt entries with a total count.
|
|
291
|
+
*/
|
|
292
|
+
async listBlockedAttempts(merchantId, params) {
|
|
293
|
+
return this.request("GET", `/billing/${encodeURIComponent(merchantId)}/blocked-attempts`, {
|
|
294
|
+
query: params
|
|
295
|
+
});
|
|
296
|
+
}
|
|
281
297
|
/**
|
|
282
298
|
* Update auto-recharge configuration (threshold, top-up amount, enabled flag).
|
|
283
299
|
*
|
|
@@ -1658,6 +1674,18 @@ var Routing = class {
|
|
|
1658
1674
|
async list() {
|
|
1659
1675
|
return this.request("GET", "/routing");
|
|
1660
1676
|
}
|
|
1677
|
+
/**
|
|
1678
|
+
* Connector names denied at routing for a shop (explicit denies plus
|
|
1679
|
+
* whitelist-implied exclusions). Read-only; surfaced in the routing builder.
|
|
1680
|
+
*
|
|
1681
|
+
* `GET /routing/connector-restrictions/{profileId}`
|
|
1682
|
+
*/
|
|
1683
|
+
async connectorRestrictions(profileId) {
|
|
1684
|
+
return this.request(
|
|
1685
|
+
"GET",
|
|
1686
|
+
`/routing/connector-restrictions/${encodeURIComponent(profileId)}`
|
|
1687
|
+
);
|
|
1688
|
+
}
|
|
1661
1689
|
// --- Advanced operations (Task 3.4) ---
|
|
1662
1690
|
/** Get active routing config. `GET /routing/active` */
|
|
1663
1691
|
async getActive() {
|
|
@@ -3780,4 +3808,4 @@ export {
|
|
|
3780
3808
|
applyBrandingVariables,
|
|
3781
3809
|
shadowFor
|
|
3782
3810
|
};
|
|
3783
|
-
//# sourceMappingURL=chunk-
|
|
3811
|
+
//# sourceMappingURL=chunk-HIKVDY3V.js.map
|