@cakemail-org/ui-components-v2 2.1.44 → 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
|
|
|
@@ -10355,7 +10356,7 @@ function saveList(_a) {
|
|
|
10355
10356
|
return callApi({
|
|
10356
10357
|
url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(id),
|
|
10357
10358
|
fetchOptions: {
|
|
10358
|
-
method: exports.EMethods.
|
|
10359
|
+
method: exports.EMethods.patch,
|
|
10359
10360
|
body: list
|
|
10360
10361
|
},
|
|
10361
10362
|
});
|
|
@@ -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
|
|
|
@@ -10335,7 +10336,7 @@ function saveList(_a) {
|
|
|
10335
10336
|
return callApi({
|
|
10336
10337
|
url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(id),
|
|
10337
10338
|
fetchOptions: {
|
|
10338
|
-
method: EMethods.
|
|
10339
|
+
method: EMethods.patch,
|
|
10339
10340
|
body: list
|
|
10340
10341
|
},
|
|
10341
10342
|
});
|
|
@@ -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 {};
|