@cakemail-org/ui-components-v2 2.2.83 → 2.2.84

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