@delopay/sdk 0.264.0 → 0.265.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-2MA2A66Y.js → chunk-SW4N2WY4.js} +22 -1
- package/dist/chunk-SW4N2WY4.js.map +1 -0
- package/dist/index.cjs +21 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +284 -11
- package/dist/index.d.ts +284 -11
- package/dist/index.js +1 -1
- package/dist/internal.cjs +21 -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-2MA2A66Y.js.map +0 -1
|
@@ -6927,6 +6927,27 @@ var CheckoutMethods = class {
|
|
|
6927
6927
|
body
|
|
6928
6928
|
});
|
|
6929
6929
|
}
|
|
6930
|
+
/**
|
|
6931
|
+
* For a buyer in `country` paying `amount` `currency`: which placeable
|
|
6932
|
+
* items they are offered and every reason they are not, asked the way the
|
|
6933
|
+
* hosted checkout asks; and how each smart block of the layout evaluates
|
|
6934
|
+
* for them (`smart_blocks`). `test_mode` asks the Test environment.
|
|
6935
|
+
* `GET /checkout-methods/{profile_id}/availability`
|
|
6936
|
+
*/
|
|
6937
|
+
async availability(merchantId, profileId, params) {
|
|
6938
|
+
const { test_mode, ...order } = params;
|
|
6939
|
+
const query = { merchant_id: merchantId, ...order };
|
|
6940
|
+
if (test_mode) {
|
|
6941
|
+
return this.request(
|
|
6942
|
+
"GET",
|
|
6943
|
+
`/checkout-methods/${encodeURIComponent(profileId)}/test/availability`,
|
|
6944
|
+
{ query }
|
|
6945
|
+
);
|
|
6946
|
+
}
|
|
6947
|
+
return this.request("GET", `/checkout-methods/${encodeURIComponent(profileId)}/availability`, {
|
|
6948
|
+
query
|
|
6949
|
+
});
|
|
6950
|
+
}
|
|
6930
6951
|
/**
|
|
6931
6952
|
* What DeloPay confirms beneath each item the shop can place: the card
|
|
6932
6953
|
* networks the card form's accounts accept, and the methods or coins a
|
|
@@ -13658,4 +13679,4 @@ export {
|
|
|
13658
13679
|
decodeNativePanes,
|
|
13659
13680
|
encodeNativePanes
|
|
13660
13681
|
};
|
|
13661
|
-
//# sourceMappingURL=chunk-
|
|
13682
|
+
//# sourceMappingURL=chunk-SW4N2WY4.js.map
|