@cakemail-org/ui-components-v2 2.1.31 → 2.1.32

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
@@ -2227,6 +2227,7 @@ exports.EPartialInfoPool = void 0;
2227
2227
  EPartialInfoPool["partialAutomationReport"] = "partialAutomationReport";
2228
2228
  EPartialInfoPool["partialUsers"] = "partialUsers";
2229
2229
  EPartialInfoPool["partialLists"] = "partialLists";
2230
+ EPartialInfoPool["partialCampaignReports"] = "partialCampaignReports";
2230
2231
  })(exports.EPartialInfoPool || (exports.EPartialInfoPool = {}));
2231
2232
 
2232
2233
  // Storage
@@ -1,6 +1,6 @@
1
1
  import { Stoppable, UsesConcurrency } from "@supercharge/promise-pool";
2
2
  import { Dispatch, RefObject, SetStateAction } from "react";
3
- import { TListModel, TUserModel } from "../models";
3
+ import { TCampaignReport, TListModel, TUserModel } from "../models";
4
4
  import { TSenderModel } from "../models/sender";
5
5
  import { TListTemplateModel, TTemplateModel } from "../models/templates";
6
6
  import { TNumStr } from "./generic";
@@ -31,10 +31,12 @@ export declare enum EPartialInfoPool {
31
31
  "partialAccountReport" = "partialAccountReport",
32
32
  "partialAutomationReport" = "partialAutomationReport",
33
33
  "partialUsers" = "partialUsers",
34
- "partialLists" = "partialLists"
34
+ "partialLists" = "partialLists",
35
+ "partialCampaignReports" = "partialCampaignReports"
35
36
  }
36
37
  export type TPromisePoolPartialUser = Pick<TUserModel, "id" | "email" | "status" | "last_activity_on" | "first_name" | "last_name" | "language" | "timezone"> | undefined;
37
38
  export type TPromisePoolPartialSender = Pick<TSenderModel, "email" | "name" | "confirmed"> | undefined;
38
39
  export type TPromisePoolPartialTemplates = Pick<TTemplateModel | TListTemplateModel, "name" | "thumbnail_url" | "description"> | undefined;
39
40
  export type TPromisePoolPartialList = Pick<TListModel, "id" | "name" | "status"> | undefined;
41
+ export type TPromisePoolPartialCampaignReports = Pick<TCampaignReport, "open_rate" | "click_rate" | "unsubscribe_rate" | "spam_rate" | "bounce_rate" | "unique_clicks" | "unique_opens"> | undefined;
40
42
  export {};
package/dist/esm/index.js CHANGED
@@ -2207,6 +2207,7 @@ var EPartialInfoPool;
2207
2207
  EPartialInfoPool["partialAutomationReport"] = "partialAutomationReport";
2208
2208
  EPartialInfoPool["partialUsers"] = "partialUsers";
2209
2209
  EPartialInfoPool["partialLists"] = "partialLists";
2210
+ EPartialInfoPool["partialCampaignReports"] = "partialCampaignReports";
2210
2211
  })(EPartialInfoPool || (EPartialInfoPool = {}));
2211
2212
 
2212
2213
  // Storage
@@ -1,6 +1,6 @@
1
1
  import { Stoppable, UsesConcurrency } from "@supercharge/promise-pool";
2
2
  import { Dispatch, RefObject, SetStateAction } from "react";
3
- import { TListModel, TUserModel } from "../models";
3
+ import { TCampaignReport, TListModel, TUserModel } from "../models";
4
4
  import { TSenderModel } from "../models/sender";
5
5
  import { TListTemplateModel, TTemplateModel } from "../models/templates";
6
6
  import { TNumStr } from "./generic";
@@ -31,10 +31,12 @@ export declare enum EPartialInfoPool {
31
31
  "partialAccountReport" = "partialAccountReport",
32
32
  "partialAutomationReport" = "partialAutomationReport",
33
33
  "partialUsers" = "partialUsers",
34
- "partialLists" = "partialLists"
34
+ "partialLists" = "partialLists",
35
+ "partialCampaignReports" = "partialCampaignReports"
35
36
  }
36
37
  export type TPromisePoolPartialUser = Pick<TUserModel, "id" | "email" | "status" | "last_activity_on" | "first_name" | "last_name" | "language" | "timezone"> | undefined;
37
38
  export type TPromisePoolPartialSender = Pick<TSenderModel, "email" | "name" | "confirmed"> | undefined;
38
39
  export type TPromisePoolPartialTemplates = Pick<TTemplateModel | TListTemplateModel, "name" | "thumbnail_url" | "description"> | undefined;
39
40
  export type TPromisePoolPartialList = Pick<TListModel, "id" | "name" | "status"> | undefined;
41
+ export type TPromisePoolPartialCampaignReports = Pick<TCampaignReport, "open_rate" | "click_rate" | "unsubscribe_rate" | "spam_rate" | "bounce_rate" | "unique_clicks" | "unique_opens"> | undefined;
40
42
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.1.31",
3
+ "version": "2.1.32",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",