@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.
@@ -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-2MA2A66Y.js.map
13682
+ //# sourceMappingURL=chunk-SW4N2WY4.js.map