@delopay/sdk 0.15.0 → 0.17.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/index.d.cts CHANGED
@@ -3075,6 +3075,13 @@ declare class FeatureMatrix {
3075
3075
  constructor(request: RequestFn);
3076
3076
  /** Retrieve the feature matrix. `GET /feature_matrix` */
3077
3077
  retrieve(): Promise<Record<string, unknown>>;
3078
+ /**
3079
+ * Retrieve the feature matrix scoped to a merchant. Beta connectors
3080
+ * are filtered against the merchant's allowlist so the dashboard only
3081
+ * surfaces connectors the merchant can actually attach.
3082
+ * `GET /feature_matrix/{merchantId}`
3083
+ */
3084
+ retrieveForMerchant(merchantId: string): Promise<Record<string, unknown>>;
3078
3085
  }
3079
3086
 
3080
3087
  declare class Files {
package/dist/index.d.ts CHANGED
@@ -3075,6 +3075,13 @@ declare class FeatureMatrix {
3075
3075
  constructor(request: RequestFn);
3076
3076
  /** Retrieve the feature matrix. `GET /feature_matrix` */
3077
3077
  retrieve(): Promise<Record<string, unknown>>;
3078
+ /**
3079
+ * Retrieve the feature matrix scoped to a merchant. Beta connectors
3080
+ * are filtered against the merchant's allowlist so the dashboard only
3081
+ * surfaces connectors the merchant can actually attach.
3082
+ * `GET /feature_matrix/{merchantId}`
3083
+ */
3084
+ retrieveForMerchant(merchantId: string): Promise<Record<string, unknown>>;
3078
3085
  }
3079
3086
 
3080
3087
  declare class Files {
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  Regions,
13
13
  Subscriptions,
14
14
  Webhooks
15
- } from "./chunk-VQPHGGNQ.js";
15
+ } from "./chunk-F6HWLDHA.js";
16
16
  export {
17
17
  Analytics,
18
18
  AnalyticsDashboard,
package/dist/internal.cjs CHANGED
@@ -2423,6 +2423,15 @@ var FeatureMatrix = class {
2423
2423
  async retrieve() {
2424
2424
  return this.request("GET", "/feature_matrix");
2425
2425
  }
2426
+ /**
2427
+ * Retrieve the feature matrix scoped to a merchant. Beta connectors
2428
+ * are filtered against the merchant's allowlist so the dashboard only
2429
+ * surfaces connectors the merchant can actually attach.
2430
+ * `GET /feature_matrix/{merchantId}`
2431
+ */
2432
+ async retrieveForMerchant(merchantId) {
2433
+ return this.request("GET", `/feature_matrix/${encodeURIComponent(merchantId)}`);
2434
+ }
2426
2435
  };
2427
2436
 
2428
2437
  // src/resources/files.ts