@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.
@@ -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-25GERHCM.js.map
3921
+ //# sourceMappingURL=chunk-NNSPBDYP.js.map