@cakemail-org/ui-components-v2 2.2.108 → 2.2.110
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
|
@@ -11341,7 +11341,7 @@ exports.EEventSortField = void 0;
|
|
|
11341
11341
|
EEventSortField["source"] = "source";
|
|
11342
11342
|
})(exports.EEventSortField || (exports.EEventSortField = {}));
|
|
11343
11343
|
|
|
11344
|
-
var eventsBaseUrl = uiKitConfig.GATEWAY_PROXY + "/
|
|
11344
|
+
var eventsBaseUrl = uiKitConfig.GATEWAY_PROXY + "/events";
|
|
11345
11345
|
function buildEventQuery(options) {
|
|
11346
11346
|
if (options === void 0) { options = {}; }
|
|
11347
11347
|
var query = __assign({}, options);
|
|
@@ -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, TListReport, TUserModel } from "../models";
|
|
3
|
+
import { ETrackedEventType, 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";
|
|
@@ -37,7 +37,7 @@ export declare enum EPartialInfoPool {
|
|
|
37
37
|
"partialPageEventSummaries" = "partialPageEventSummaries",
|
|
38
38
|
"partialPopupEventSummaries" = "partialPopupEventSummaries"
|
|
39
39
|
}
|
|
40
|
-
export type TPromisePoolPartialEventSummary = Partial<Record<
|
|
40
|
+
export type TPromisePoolPartialEventSummary = Partial<Record<keyof ETrackedEventType, number>>;
|
|
41
41
|
export type TPromisePoolPartialUser = Pick<TUserModel, "id" | "email" | "status" | "last_activity_on" | "first_name" | "last_name" | "language" | "timezone"> | undefined;
|
|
42
42
|
export type TPromisePoolPartialSender = Pick<TSenderModel, "email" | "name" | "confirmed"> | undefined;
|
|
43
43
|
export type TPromisePoolPartialTemplates = Pick<TTemplateModel | TListTemplateModel, "name" | "thumbnail_url" | "description"> | undefined;
|
package/dist/esm/index.js
CHANGED
|
@@ -11321,7 +11321,7 @@ var EEventSortField;
|
|
|
11321
11321
|
EEventSortField["source"] = "source";
|
|
11322
11322
|
})(EEventSortField || (EEventSortField = {}));
|
|
11323
11323
|
|
|
11324
|
-
var eventsBaseUrl = uiKitConfig.GATEWAY_PROXY + "/
|
|
11324
|
+
var eventsBaseUrl = uiKitConfig.GATEWAY_PROXY + "/events";
|
|
11325
11325
|
function buildEventQuery(options) {
|
|
11326
11326
|
if (options === void 0) { options = {}; }
|
|
11327
11327
|
var query = __assign({}, options);
|
|
@@ -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, TListReport, TUserModel } from "../models";
|
|
3
|
+
import { ETrackedEventType, 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";
|
|
@@ -37,7 +37,7 @@ export declare enum EPartialInfoPool {
|
|
|
37
37
|
"partialPageEventSummaries" = "partialPageEventSummaries",
|
|
38
38
|
"partialPopupEventSummaries" = "partialPopupEventSummaries"
|
|
39
39
|
}
|
|
40
|
-
export type TPromisePoolPartialEventSummary = Partial<Record<
|
|
40
|
+
export type TPromisePoolPartialEventSummary = Partial<Record<keyof ETrackedEventType, number>>;
|
|
41
41
|
export type TPromisePoolPartialUser = Pick<TUserModel, "id" | "email" | "status" | "last_activity_on" | "first_name" | "last_name" | "language" | "timezone"> | undefined;
|
|
42
42
|
export type TPromisePoolPartialSender = Pick<TSenderModel, "email" | "name" | "confirmed"> | undefined;
|
|
43
43
|
export type TPromisePoolPartialTemplates = Pick<TTemplateModel | TListTemplateModel, "name" | "thumbnail_url" | "description"> | undefined;
|