@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
package/dist/index.cjs
CHANGED
|
@@ -347,6 +347,22 @@ var Billing = class {
|
|
|
347
347
|
query: params
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* List payment attempts that were blocked by the billing suspension gate
|
|
352
|
+
* (account suspended, setup incomplete, or shop allocation suspended).
|
|
353
|
+
*
|
|
354
|
+
* These attempts never created a payment, so they do not appear in the
|
|
355
|
+
* payments list — this is the only way to retrieve them.
|
|
356
|
+
*
|
|
357
|
+
* @param merchantId - The merchant account ID.
|
|
358
|
+
* @param params - Optional filters (profile, reason, date range) and pagination.
|
|
359
|
+
* @returns The blocked-attempt entries with a total count.
|
|
360
|
+
*/
|
|
361
|
+
async listBlockedAttempts(merchantId, params) {
|
|
362
|
+
return this.request("GET", `/billing/${encodeURIComponent(merchantId)}/blocked-attempts`, {
|
|
363
|
+
query: params
|
|
364
|
+
});
|
|
365
|
+
}
|
|
350
366
|
/**
|
|
351
367
|
* Update auto-recharge configuration (threshold, top-up amount, enabled flag).
|
|
352
368
|
*
|
|
@@ -1727,6 +1743,18 @@ var Routing = class {
|
|
|
1727
1743
|
async list() {
|
|
1728
1744
|
return this.request("GET", "/routing");
|
|
1729
1745
|
}
|
|
1746
|
+
/**
|
|
1747
|
+
* Connector names denied at routing for a shop (explicit denies plus
|
|
1748
|
+
* whitelist-implied exclusions). Read-only; surfaced in the routing builder.
|
|
1749
|
+
*
|
|
1750
|
+
* `GET /routing/connector-restrictions/{profileId}`
|
|
1751
|
+
*/
|
|
1752
|
+
async connectorRestrictions(profileId) {
|
|
1753
|
+
return this.request(
|
|
1754
|
+
"GET",
|
|
1755
|
+
`/routing/connector-restrictions/${encodeURIComponent(profileId)}`
|
|
1756
|
+
);
|
|
1757
|
+
}
|
|
1730
1758
|
// --- Advanced operations (Task 3.4) ---
|
|
1731
1759
|
/** Get active routing config. `GET /routing/active` */
|
|
1732
1760
|
async getActive() {
|