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

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
@@ -9904,6 +9904,16 @@ var AccountModel = /** @class */ (function () {
9904
9904
  });
9905
9905
  });
9906
9906
  };
9907
+ AccountModel.prototype.getDkimKeys = function () {
9908
+ return __awaiter(this, void 0, void 0, function () {
9909
+ return __generator(this, function (_a) {
9910
+ if (!this.id) {
9911
+ throw new Error("Account was not initialized");
9912
+ }
9913
+ return [2 /*return*/, listDkimService().then(function (data) { return data.data; })];
9914
+ });
9915
+ });
9916
+ };
9907
9917
  AccountModel.prototype.getCustomer = function () {
9908
9918
  return __awaiter(this, void 0, void 0, function () {
9909
9919
  return __generator(this, function (_a) {
@@ -1,4 +1,5 @@
1
1
  import { TBrand } from "../../factories";
2
+ import { TDkimKey } from "../../services/domains";
2
3
  import { CustomerModel } from "../customer";
3
4
  import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountOwner, TAccountReport, TDeleteAccountResponse, TGetAccountReport } from "./types";
4
5
  export declare class AccountModel {
@@ -31,6 +32,7 @@ export declare class AccountModel {
31
32
  getReport({ ...options }: TGetAccountReport): Promise<TAccountReport>;
32
33
  impersonate(byContext?: boolean): Promise<any>;
33
34
  getDomains(): Promise<TAccountDomains>;
35
+ getDkimKeys(): Promise<TDkimKey[]>;
34
36
  getCustomer(): Promise<CustomerModel>;
35
37
  update(account: Partial<TAccountModel>): Promise<{
36
38
  data: AccountModel;
package/dist/esm/index.js CHANGED
@@ -9884,6 +9884,16 @@ var AccountModel = /** @class */ (function () {
9884
9884
  });
9885
9885
  });
9886
9886
  };
9887
+ AccountModel.prototype.getDkimKeys = function () {
9888
+ return __awaiter(this, void 0, void 0, function () {
9889
+ return __generator(this, function (_a) {
9890
+ if (!this.id) {
9891
+ throw new Error("Account was not initialized");
9892
+ }
9893
+ return [2 /*return*/, listDkimService().then(function (data) { return data.data; })];
9894
+ });
9895
+ });
9896
+ };
9887
9897
  AccountModel.prototype.getCustomer = function () {
9888
9898
  return __awaiter(this, void 0, void 0, function () {
9889
9899
  return __generator(this, function (_a) {
@@ -1,4 +1,5 @@
1
1
  import { TBrand } from "../../factories";
2
+ import { TDkimKey } from "../../services/domains";
2
3
  import { CustomerModel } from "../customer";
3
4
  import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountOwner, TAccountReport, TDeleteAccountResponse, TGetAccountReport } from "./types";
4
5
  export declare class AccountModel {
@@ -31,6 +32,7 @@ export declare class AccountModel {
31
32
  getReport({ ...options }: TGetAccountReport): Promise<TAccountReport>;
32
33
  impersonate(byContext?: boolean): Promise<any>;
33
34
  getDomains(): Promise<TAccountDomains>;
35
+ getDkimKeys(): Promise<TDkimKey[]>;
34
36
  getCustomer(): Promise<CustomerModel>;
35
37
  update(account: Partial<TAccountModel>): Promise<{
36
38
  data: AccountModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.81",
3
+ "version": "2.2.83",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",