@delopay/sdk 0.16.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/{chunk-VQPHGGNQ.js → chunk-F6HWLDHA.js} +10 -1
- package/dist/{chunk-VQPHGGNQ.js.map → chunk-F6HWLDHA.js.map} +1 -1
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/internal.cjs +9 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
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
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
|