@cakemail-org/ui-components-v2 2.1.45 → 2.1.46

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