@cakemail-org/ui-components-v2 2.1.48 → 2.1.49

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
@@ -9567,6 +9567,7 @@ var AccountModel = /** @class */ (function () {
9567
9567
  this.stripe_customer_id = params.stripe_customer_id || "";
9568
9568
  this.metadata = params.metadata || {};
9569
9569
  this.usage = params.usage || undefined;
9570
+ this.account_owner = params.account_owner || { user_id: 0 };
9570
9571
  if (params.isMainAccount) {
9571
9572
  this.getUsageReport();
9572
9573
  }
@@ -1,5 +1,5 @@
1
1
  import { TBrand } from "../../factories";
2
- import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountReport, TGetAccountReport } from "./types";
2
+ import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountOwner, TAccountReport, TGetAccountReport } from "./types";
3
3
  export declare class AccountModel {
4
4
  readonly id: number;
5
5
  readonly lineage: string;
@@ -19,6 +19,7 @@ export declare class AccountModel {
19
19
  stripe_customer_id: string;
20
20
  metadata: any;
21
21
  usage?: TAccountReport;
22
+ account_owner: TAccountOwner;
22
23
  constructor(params: Partial<TAccountModel> & {
23
24
  isMainAccount?: boolean;
24
25
  usage?: TAccountReport;
@@ -16,6 +16,7 @@ export interface TAccountModel {
16
16
  stripe_customer_id: string;
17
17
  organization: boolean;
18
18
  metadata: any;
19
+ account_owner: TAccountOwner;
19
20
  }
20
21
  export interface TCreateAccount {
21
22
  name: string;
@@ -107,3 +108,6 @@ export type TAccountDomains = {
107
108
  dkim: "string";
108
109
  tracking: "string";
109
110
  };
111
+ export type TAccountOwner = {
112
+ user_id: number;
113
+ };
package/dist/esm/index.js CHANGED
@@ -9547,6 +9547,7 @@ var AccountModel = /** @class */ (function () {
9547
9547
  this.stripe_customer_id = params.stripe_customer_id || "";
9548
9548
  this.metadata = params.metadata || {};
9549
9549
  this.usage = params.usage || undefined;
9550
+ this.account_owner = params.account_owner || { user_id: 0 };
9550
9551
  if (params.isMainAccount) {
9551
9552
  this.getUsageReport();
9552
9553
  }
@@ -1,5 +1,5 @@
1
1
  import { TBrand } from "../../factories";
2
- import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountReport, TGetAccountReport } from "./types";
2
+ import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountOwner, TAccountReport, TGetAccountReport } from "./types";
3
3
  export declare class AccountModel {
4
4
  readonly id: number;
5
5
  readonly lineage: string;
@@ -19,6 +19,7 @@ export declare class AccountModel {
19
19
  stripe_customer_id: string;
20
20
  metadata: any;
21
21
  usage?: TAccountReport;
22
+ account_owner: TAccountOwner;
22
23
  constructor(params: Partial<TAccountModel> & {
23
24
  isMainAccount?: boolean;
24
25
  usage?: TAccountReport;
@@ -16,6 +16,7 @@ export interface TAccountModel {
16
16
  stripe_customer_id: string;
17
17
  organization: boolean;
18
18
  metadata: any;
19
+ account_owner: TAccountOwner;
19
20
  }
20
21
  export interface TCreateAccount {
21
22
  name: string;
@@ -107,3 +108,6 @@ export type TAccountDomains = {
107
108
  dkim: "string";
108
109
  tracking: "string";
109
110
  };
111
+ export type TAccountOwner = {
112
+ user_id: number;
113
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.1.48",
3
+ "version": "2.1.49",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",