@delopay/sdk 0.45.0 → 0.47.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-25GERHCM.js → chunk-NNSPBDYP.js} +16 -1
- package/dist/chunk-NNSPBDYP.js.map +1 -0
- package/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -1
- package/dist/index.d.ts +37 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +15 -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-25GERHCM.js.map +0 -1
|
@@ -2659,6 +2659,21 @@ var AvailabilityOverrides = class {
|
|
|
2659
2659
|
async delete(id) {
|
|
2660
2660
|
return this.request("DELETE", `/availability-overrides/${encodeURIComponent(id)}`);
|
|
2661
2661
|
}
|
|
2662
|
+
/**
|
|
2663
|
+
* Preview the methods a customer in `country` would be shown for a shop —
|
|
2664
|
+
* the connector ceiling narrowed by the smart country defaults and the
|
|
2665
|
+
* merchant overrides, without an active payment.
|
|
2666
|
+
* `GET /availability-overrides/preview`
|
|
2667
|
+
*/
|
|
2668
|
+
async preview(params) {
|
|
2669
|
+
return this.request("GET", "/availability-overrides/preview", {
|
|
2670
|
+
query: {
|
|
2671
|
+
merchant_id: params.merchant_id,
|
|
2672
|
+
profile_id: params.profile_id,
|
|
2673
|
+
...params.country ? { country: params.country } : {}
|
|
2674
|
+
}
|
|
2675
|
+
});
|
|
2676
|
+
}
|
|
2662
2677
|
};
|
|
2663
2678
|
|
|
2664
2679
|
// src/resources/subscriptions.ts
|
|
@@ -3903,4 +3918,4 @@ export {
|
|
|
3903
3918
|
applyBrandingVariables,
|
|
3904
3919
|
shadowFor
|
|
3905
3920
|
};
|
|
3906
|
-
//# sourceMappingURL=chunk-
|
|
3921
|
+
//# sourceMappingURL=chunk-NNSPBDYP.js.map
|