@cakemail-org/ui-components-v2 2.2.88 → 2.2.90

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/cjs/index.js CHANGED
@@ -9817,13 +9817,14 @@ function isDomainValidService(_a) {
9817
9817
  });
9818
9818
  }
9819
9819
  function listDkimService(_a) {
9820
- var _b = _a === void 0 ? {} : _a, id = _b.id;
9820
+ var _b = _a === void 0 ? {} : _a, id = _b.id, useImpersonationTree = _b.useImpersonationTree;
9821
9821
  return callApi({
9822
9822
  url: uiKitConfig.GATEWAY_PROXY + "/brands/default/dkim",
9823
9823
  query: id ? { account_id: id } : undefined,
9824
9824
  fetchOptions: {
9825
9825
  method: exports.EMethods.get
9826
- }
9826
+ },
9827
+ useImpersonationTree: useImpersonationTree
9827
9828
  });
9828
9829
  }
9829
9830
 
@@ -9912,7 +9913,7 @@ var AccountModel = /** @class */ (function () {
9912
9913
  if (!this.id) {
9913
9914
  throw new Error("Account was not initialized");
9914
9915
  }
9915
- return [2 /*return*/, listDkimService({ id: this.id }).then(function (data) { return data.data; })];
9916
+ return [2 /*return*/, listDkimService({ id: this.id, useImpersonationTree: false }).then(function (data) { return data.data; })];
9916
9917
  });
9917
9918
  });
9918
9919
  };
@@ -8,7 +8,8 @@ export declare function isDomainValidService({ domain, useImpersonationTree, que
8
8
  useImpersonationTree?: boolean;
9
9
  query?: any;
10
10
  }): Promise<any>;
11
- export declare function listDkimService({ id }?: {
11
+ export declare function listDkimService({ id, useImpersonationTree }?: {
12
12
  id?: TNumStr;
13
+ useImpersonationTree?: boolean;
13
14
  }): Promise<TGenericListReturn<TDkimKey>>;
14
15
  export * from "./types";
package/dist/esm/index.js CHANGED
@@ -9797,13 +9797,14 @@ function isDomainValidService(_a) {
9797
9797
  });
9798
9798
  }
9799
9799
  function listDkimService(_a) {
9800
- var _b = _a === void 0 ? {} : _a, id = _b.id;
9800
+ var _b = _a === void 0 ? {} : _a, id = _b.id, useImpersonationTree = _b.useImpersonationTree;
9801
9801
  return callApi({
9802
9802
  url: uiKitConfig.GATEWAY_PROXY + "/brands/default/dkim",
9803
9803
  query: id ? { account_id: id } : undefined,
9804
9804
  fetchOptions: {
9805
9805
  method: EMethods.get
9806
- }
9806
+ },
9807
+ useImpersonationTree: useImpersonationTree
9807
9808
  });
9808
9809
  }
9809
9810
 
@@ -9892,7 +9893,7 @@ var AccountModel = /** @class */ (function () {
9892
9893
  if (!this.id) {
9893
9894
  throw new Error("Account was not initialized");
9894
9895
  }
9895
- return [2 /*return*/, listDkimService({ id: this.id }).then(function (data) { return data.data; })];
9896
+ return [2 /*return*/, listDkimService({ id: this.id, useImpersonationTree: false }).then(function (data) { return data.data; })];
9896
9897
  });
9897
9898
  });
9898
9899
  };
@@ -8,7 +8,8 @@ export declare function isDomainValidService({ domain, useImpersonationTree, que
8
8
  useImpersonationTree?: boolean;
9
9
  query?: any;
10
10
  }): Promise<any>;
11
- export declare function listDkimService({ id }?: {
11
+ export declare function listDkimService({ id, useImpersonationTree }?: {
12
12
  id?: TNumStr;
13
+ useImpersonationTree?: boolean;
13
14
  }): Promise<TGenericListReturn<TDkimKey>>;
14
15
  export * from "./types";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.88",
3
+ "version": "2.2.90",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",