@delopay/sdk 0.124.0 → 0.125.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-4TVKPQTZ.js → chunk-VJIRHNXT.js} +18 -1
- package/dist/chunk-VJIRHNXT.js.map +1 -0
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +304 -2
- package/dist/index.d.ts +304 -2
- package/dist/index.js +1 -1
- package/dist/internal.cjs +17 -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-4TVKPQTZ.js.map +0 -1
|
@@ -2384,6 +2384,23 @@ var Routing = class {
|
|
|
2384
2384
|
async connectorCaps(profileId) {
|
|
2385
2385
|
return this.request("GET", `/routing/connector-caps/${encodeURIComponent(profileId)}`);
|
|
2386
2386
|
}
|
|
2387
|
+
/**
|
|
2388
|
+
* The live `routing_volume` counters behind a shop's active advanced
|
|
2389
|
+
* program: one per distinct budget the program reads, each with the window
|
|
2390
|
+
* it covers, the figure in the pinned threshold currency, and the rules that
|
|
2391
|
+
* read it. Lets a merchant see whether a `routing_volume < 50000` rule is at
|
|
2392
|
+
* 120 or at 499 today, and support answer why a payment went to the overflow
|
|
2393
|
+
* connector.
|
|
2394
|
+
*
|
|
2395
|
+
* What routing will use right now, not what the shop turned over: the
|
|
2396
|
+
* counters are held in Redis only and a lost Redis restarts the window at
|
|
2397
|
+
* zero. Read-only; needs the same permission as reading the rules.
|
|
2398
|
+
*
|
|
2399
|
+
* `GET /routing/volume-counters/{profileId}`
|
|
2400
|
+
*/
|
|
2401
|
+
async volumeCounters(profileId) {
|
|
2402
|
+
return this.request("GET", `/routing/volume-counters/${encodeURIComponent(profileId)}`);
|
|
2403
|
+
}
|
|
2387
2404
|
/**
|
|
2388
2405
|
* Replace a shop's per-connector payment caps.
|
|
2389
2406
|
*
|
|
@@ -7387,4 +7404,4 @@ export {
|
|
|
7387
7404
|
decodeNativePanes,
|
|
7388
7405
|
encodeNativePanes
|
|
7389
7406
|
};
|
|
7390
|
-
//# sourceMappingURL=chunk-
|
|
7407
|
+
//# sourceMappingURL=chunk-VJIRHNXT.js.map
|