@cakemail-org/ui-components-v2 2.1.50 → 2.1.51
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/factories/popups/index.d.ts +14 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/models/popups/index.d.ts +35 -0
- package/dist/cjs/models/popups/types.d.ts +94 -0
- package/dist/cjs/services/popups/index.d.ts +31 -0
- package/dist/cjs/types/generic.d.ts +3 -0
- package/dist/cjs/utils/posthog.d.ts +7 -1
- package/dist/esm/factories/popups/index.d.ts +14 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/models/popups/index.d.ts +35 -0
- package/dist/esm/models/popups/types.d.ts +94 -0
- package/dist/esm/services/popups/index.d.ts +31 -0
- package/dist/esm/types/generic.d.ts +3 -0
- package/dist/esm/utils/posthog.d.ts +7 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ListPopupModel, PopupModel } from "../../models/popups";
|
|
2
|
+
import { TPopupModel } from "../../models/popups/types";
|
|
3
|
+
import { TGenericListParams, TGenericListReturn } from "../../types";
|
|
4
|
+
export declare class PopupsFactory {
|
|
5
|
+
static list({ ...params }: TGenericListParams & {
|
|
6
|
+
name?: string;
|
|
7
|
+
tags?: string[];
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
}): Promise<TGenericListReturn<ListPopupModel>>;
|
|
10
|
+
static create({ ...popup }: Partial<TPopupModel>): Promise<PopupModel>;
|
|
11
|
+
static get({ id }: {
|
|
12
|
+
id: string;
|
|
13
|
+
}): Promise<PopupModel>;
|
|
14
|
+
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -5331,6 +5331,12 @@ exports.EEvents = void 0;
|
|
|
5331
5331
|
EEvents["MFA_DISABLE_FLOW"] = "MFA.Disable.Flow.Started";
|
|
5332
5332
|
EEvents["MFA_ENABLED"] = "MFA.Enabled";
|
|
5333
5333
|
EEvents["MFA_DISABLED"] = "MFA.Disabled";
|
|
5334
|
+
EEvents["POPUP_CREATED"] = "Popup.Created";
|
|
5335
|
+
EEvents["POPUP_UPDATED"] = "Popup.Updated";
|
|
5336
|
+
EEvents["POPUP_DELETED"] = "Popup.Deleted";
|
|
5337
|
+
EEvents["POPUP_ENABLED"] = "Popup.Enabled";
|
|
5338
|
+
EEvents["POPUP_DISABLED"] = "Popup.Disabled";
|
|
5339
|
+
EEvents["POPUP_PUBLISHED"] = "Popup.Published";
|
|
5334
5340
|
})(exports.EEvents || (exports.EEvents = {}));
|
|
5335
5341
|
function eventCondition(type, disabledEvents) {
|
|
5336
5342
|
if (disabledEvents === void 0) { disabledEvents = []; }
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TDeleteApiResource } from "../../types";
|
|
2
|
+
import { EPopupBranding, EPopupDisplayFrequency, TPopupContent, TPopupModel, TPopupTargeting, TPopupTrigger, TPopupUser } from "./types";
|
|
3
|
+
export declare class ListPopupModel {
|
|
4
|
+
id: string;
|
|
5
|
+
readonly account_id: number;
|
|
6
|
+
name: string | null;
|
|
7
|
+
description: string | null;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
readonly created_on: number;
|
|
10
|
+
updated_on: number;
|
|
11
|
+
published_on: number | null;
|
|
12
|
+
branding: EPopupBranding;
|
|
13
|
+
tags: string[] | null;
|
|
14
|
+
edited_by: TPopupUser;
|
|
15
|
+
content: Omit<TPopupContent, "json">;
|
|
16
|
+
trigger: TPopupTrigger;
|
|
17
|
+
targeting: TPopupTargeting;
|
|
18
|
+
display_frequency: EPopupDisplayFrequency;
|
|
19
|
+
published_content_url: string | null;
|
|
20
|
+
thumbnail_url: string;
|
|
21
|
+
constructor(params: TPopupModel);
|
|
22
|
+
toJson(): any;
|
|
23
|
+
set<T extends keyof this>(property: T, value: this[T]): void;
|
|
24
|
+
delete(): Promise<TDeleteApiResource>;
|
|
25
|
+
save({ ...popup }: Partial<TPopupModel>): Promise<PopupModel>;
|
|
26
|
+
enable(): Promise<PopupModel>;
|
|
27
|
+
disable(): Promise<PopupModel>;
|
|
28
|
+
publish(): Promise<PopupModel>;
|
|
29
|
+
render(): Promise<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare class PopupModel extends ListPopupModel {
|
|
32
|
+
content: TPopupContent;
|
|
33
|
+
constructor(params: TPopupModel);
|
|
34
|
+
toJson(): any;
|
|
35
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export type TPopupModel = {
|
|
2
|
+
id: string;
|
|
3
|
+
account_id: number;
|
|
4
|
+
name: string | null;
|
|
5
|
+
description: string | null;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
created_on: number;
|
|
8
|
+
updated_on: number;
|
|
9
|
+
published_on: number | null;
|
|
10
|
+
branding: EPopupBranding;
|
|
11
|
+
tags: string[] | null;
|
|
12
|
+
edited_by: TPopupUser;
|
|
13
|
+
content: TPopupContent;
|
|
14
|
+
trigger: TPopupTrigger;
|
|
15
|
+
targeting: TPopupTargeting;
|
|
16
|
+
display_frequency: EPopupDisplayFrequency;
|
|
17
|
+
published_content_url: string | null;
|
|
18
|
+
thumbnail_url: string;
|
|
19
|
+
};
|
|
20
|
+
export type TPopupUser = {
|
|
21
|
+
id: string;
|
|
22
|
+
email: string;
|
|
23
|
+
};
|
|
24
|
+
export type TPopupTrigger = {
|
|
25
|
+
type: EPopupTriggerType;
|
|
26
|
+
delay_seconds: number | null;
|
|
27
|
+
scroll_percentage: number | null;
|
|
28
|
+
selector: string | null;
|
|
29
|
+
start_date: number | null;
|
|
30
|
+
end_date: number | null;
|
|
31
|
+
};
|
|
32
|
+
export type TPopupTargeting = {
|
|
33
|
+
pages: string[] | null;
|
|
34
|
+
exclude_pages: string[] | null;
|
|
35
|
+
devices: EPopupDeviceType[] | null;
|
|
36
|
+
browsers: EPopupBrowserType[] | null;
|
|
37
|
+
languages: string[] | null;
|
|
38
|
+
countries: string[] | null;
|
|
39
|
+
referrers: string[] | null;
|
|
40
|
+
utm_params: Record<string, string> | null;
|
|
41
|
+
};
|
|
42
|
+
export type TPopupContent = {
|
|
43
|
+
position: EPopupPosition | null;
|
|
44
|
+
json?: Record<string, any>;
|
|
45
|
+
};
|
|
46
|
+
export declare enum EPopupTriggerType {
|
|
47
|
+
on_page_load = "on_page_load",
|
|
48
|
+
on_exit_intent = "on_exit_intent",
|
|
49
|
+
on_scroll = "on_scroll",
|
|
50
|
+
on_time_delay = "on_time_delay",
|
|
51
|
+
on_click = "on_click"
|
|
52
|
+
}
|
|
53
|
+
export declare enum EPopupDisplayFrequency {
|
|
54
|
+
once_per_session = "once_per_session",
|
|
55
|
+
once_per_day = "once_per_day",
|
|
56
|
+
once_per_week = "once_per_week",
|
|
57
|
+
always = "always",
|
|
58
|
+
once = "once"
|
|
59
|
+
}
|
|
60
|
+
export declare enum EPopupDeviceType {
|
|
61
|
+
desktop = "desktop",
|
|
62
|
+
mobile = "mobile",
|
|
63
|
+
tablet = "tablet"
|
|
64
|
+
}
|
|
65
|
+
export declare enum EPopupBrowserType {
|
|
66
|
+
chrome = "chrome",
|
|
67
|
+
firefox = "firefox",
|
|
68
|
+
safari = "safari",
|
|
69
|
+
edge = "edge",
|
|
70
|
+
opera = "opera",
|
|
71
|
+
other = "other"
|
|
72
|
+
}
|
|
73
|
+
export declare enum EPopupPosition {
|
|
74
|
+
center = "classic-center",
|
|
75
|
+
top_right = "classic-top-right",
|
|
76
|
+
top_left = "classic-top-left",
|
|
77
|
+
top_center = "classic-top-center",
|
|
78
|
+
bottom_left = "classic-bottom-left",
|
|
79
|
+
bottom_center = "classic-bottom-center",
|
|
80
|
+
bottom_right = "classic-bottom-right",
|
|
81
|
+
drawer_left = "drawer-left",
|
|
82
|
+
drawer_right = "drawer-right",
|
|
83
|
+
drawer_top = "bar-top",
|
|
84
|
+
drawer_bottom = "bar-bottom"
|
|
85
|
+
}
|
|
86
|
+
export declare enum EPopupBranding {
|
|
87
|
+
smart = "smart",
|
|
88
|
+
basic = "basic"
|
|
89
|
+
}
|
|
90
|
+
export type TPopupFilters = {
|
|
91
|
+
name: string;
|
|
92
|
+
tags: string[];
|
|
93
|
+
enabled: string;
|
|
94
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TPopupModel } from "../../models/popups/types";
|
|
2
|
+
import { TGenericListParams, TGenericListReturn, TGenericReturn } from "../../types";
|
|
3
|
+
import { TCreateApiResource, TDeleteApiResource, TDisableApiResource, TEnableApiResource, TRenderResponse, TUpdateApiResource } from "../../types/generic";
|
|
4
|
+
export declare function listPopups({ ...options }: TGenericListParams & {
|
|
5
|
+
name?: string;
|
|
6
|
+
tags?: string[];
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
}): Promise<TGenericListReturn<TPopupModel>>;
|
|
9
|
+
export declare function createPopup({ ...popup }: Partial<TPopupModel>): Promise<TCreateApiResource<TPopupModel>>;
|
|
10
|
+
export declare function getPopup({ id }: {
|
|
11
|
+
id: string;
|
|
12
|
+
}): Promise<TGenericReturn<TPopupModel>>;
|
|
13
|
+
export declare function deletePopup({ id }: {
|
|
14
|
+
id: string;
|
|
15
|
+
}): Promise<TDeleteApiResource>;
|
|
16
|
+
export declare function updatePopup({ id, ...popup }: {
|
|
17
|
+
id: string;
|
|
18
|
+
popup: Partial<TPopupModel>;
|
|
19
|
+
}): Promise<TUpdateApiResource<TPopupModel>>;
|
|
20
|
+
export declare function enablePopup({ id }: {
|
|
21
|
+
id: string;
|
|
22
|
+
}): Promise<TEnableApiResource<TPopupModel>>;
|
|
23
|
+
export declare function disablePopup({ id }: {
|
|
24
|
+
id: string;
|
|
25
|
+
}): Promise<TDisableApiResource<TPopupModel>>;
|
|
26
|
+
export declare function publishPopup({ id }: {
|
|
27
|
+
id: string;
|
|
28
|
+
}): Promise<TUpdateApiResource<TPopupModel>>;
|
|
29
|
+
export declare function renderPopup({ id }: {
|
|
30
|
+
id: string;
|
|
31
|
+
}): Promise<TRenderResponse>;
|
|
@@ -143,7 +143,13 @@ export declare enum EEvents {
|
|
|
143
143
|
MFA_ACTIVATION_FLOW = "MFA.Activation.Flow.Started",
|
|
144
144
|
MFA_DISABLE_FLOW = "MFA.Disable.Flow.Started",
|
|
145
145
|
MFA_ENABLED = "MFA.Enabled",
|
|
146
|
-
MFA_DISABLED = "MFA.Disabled"
|
|
146
|
+
MFA_DISABLED = "MFA.Disabled",
|
|
147
|
+
POPUP_CREATED = "Popup.Created",
|
|
148
|
+
POPUP_UPDATED = "Popup.Updated",
|
|
149
|
+
POPUP_DELETED = "Popup.Deleted",
|
|
150
|
+
POPUP_ENABLED = "Popup.Enabled",
|
|
151
|
+
POPUP_DISABLED = "Popup.Disabled",
|
|
152
|
+
POPUP_PUBLISHED = "Popup.Published"
|
|
147
153
|
}
|
|
148
154
|
export declare function eventCondition(type: EEvents | string, disabledEvents?: string[]): boolean;
|
|
149
155
|
export declare function trackEvent(type: EEvents | string, data?: any, dataParser?: (event: EEvents | string, data: any) => any, disabledEvents?: string[]): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ListPopupModel, PopupModel } from "../../models/popups";
|
|
2
|
+
import { TPopupModel } from "../../models/popups/types";
|
|
3
|
+
import { TGenericListParams, TGenericListReturn } from "../../types";
|
|
4
|
+
export declare class PopupsFactory {
|
|
5
|
+
static list({ ...params }: TGenericListParams & {
|
|
6
|
+
name?: string;
|
|
7
|
+
tags?: string[];
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
}): Promise<TGenericListReturn<ListPopupModel>>;
|
|
10
|
+
static create({ ...popup }: Partial<TPopupModel>): Promise<PopupModel>;
|
|
11
|
+
static get({ id }: {
|
|
12
|
+
id: string;
|
|
13
|
+
}): Promise<PopupModel>;
|
|
14
|
+
}
|
package/dist/esm/index.js
CHANGED
|
@@ -5311,6 +5311,12 @@ var EEvents;
|
|
|
5311
5311
|
EEvents["MFA_DISABLE_FLOW"] = "MFA.Disable.Flow.Started";
|
|
5312
5312
|
EEvents["MFA_ENABLED"] = "MFA.Enabled";
|
|
5313
5313
|
EEvents["MFA_DISABLED"] = "MFA.Disabled";
|
|
5314
|
+
EEvents["POPUP_CREATED"] = "Popup.Created";
|
|
5315
|
+
EEvents["POPUP_UPDATED"] = "Popup.Updated";
|
|
5316
|
+
EEvents["POPUP_DELETED"] = "Popup.Deleted";
|
|
5317
|
+
EEvents["POPUP_ENABLED"] = "Popup.Enabled";
|
|
5318
|
+
EEvents["POPUP_DISABLED"] = "Popup.Disabled";
|
|
5319
|
+
EEvents["POPUP_PUBLISHED"] = "Popup.Published";
|
|
5314
5320
|
})(EEvents || (EEvents = {}));
|
|
5315
5321
|
function eventCondition(type, disabledEvents) {
|
|
5316
5322
|
if (disabledEvents === void 0) { disabledEvents = []; }
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TDeleteApiResource } from "../../types";
|
|
2
|
+
import { EPopupBranding, EPopupDisplayFrequency, TPopupContent, TPopupModel, TPopupTargeting, TPopupTrigger, TPopupUser } from "./types";
|
|
3
|
+
export declare class ListPopupModel {
|
|
4
|
+
id: string;
|
|
5
|
+
readonly account_id: number;
|
|
6
|
+
name: string | null;
|
|
7
|
+
description: string | null;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
readonly created_on: number;
|
|
10
|
+
updated_on: number;
|
|
11
|
+
published_on: number | null;
|
|
12
|
+
branding: EPopupBranding;
|
|
13
|
+
tags: string[] | null;
|
|
14
|
+
edited_by: TPopupUser;
|
|
15
|
+
content: Omit<TPopupContent, "json">;
|
|
16
|
+
trigger: TPopupTrigger;
|
|
17
|
+
targeting: TPopupTargeting;
|
|
18
|
+
display_frequency: EPopupDisplayFrequency;
|
|
19
|
+
published_content_url: string | null;
|
|
20
|
+
thumbnail_url: string;
|
|
21
|
+
constructor(params: TPopupModel);
|
|
22
|
+
toJson(): any;
|
|
23
|
+
set<T extends keyof this>(property: T, value: this[T]): void;
|
|
24
|
+
delete(): Promise<TDeleteApiResource>;
|
|
25
|
+
save({ ...popup }: Partial<TPopupModel>): Promise<PopupModel>;
|
|
26
|
+
enable(): Promise<PopupModel>;
|
|
27
|
+
disable(): Promise<PopupModel>;
|
|
28
|
+
publish(): Promise<PopupModel>;
|
|
29
|
+
render(): Promise<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare class PopupModel extends ListPopupModel {
|
|
32
|
+
content: TPopupContent;
|
|
33
|
+
constructor(params: TPopupModel);
|
|
34
|
+
toJson(): any;
|
|
35
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export type TPopupModel = {
|
|
2
|
+
id: string;
|
|
3
|
+
account_id: number;
|
|
4
|
+
name: string | null;
|
|
5
|
+
description: string | null;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
created_on: number;
|
|
8
|
+
updated_on: number;
|
|
9
|
+
published_on: number | null;
|
|
10
|
+
branding: EPopupBranding;
|
|
11
|
+
tags: string[] | null;
|
|
12
|
+
edited_by: TPopupUser;
|
|
13
|
+
content: TPopupContent;
|
|
14
|
+
trigger: TPopupTrigger;
|
|
15
|
+
targeting: TPopupTargeting;
|
|
16
|
+
display_frequency: EPopupDisplayFrequency;
|
|
17
|
+
published_content_url: string | null;
|
|
18
|
+
thumbnail_url: string;
|
|
19
|
+
};
|
|
20
|
+
export type TPopupUser = {
|
|
21
|
+
id: string;
|
|
22
|
+
email: string;
|
|
23
|
+
};
|
|
24
|
+
export type TPopupTrigger = {
|
|
25
|
+
type: EPopupTriggerType;
|
|
26
|
+
delay_seconds: number | null;
|
|
27
|
+
scroll_percentage: number | null;
|
|
28
|
+
selector: string | null;
|
|
29
|
+
start_date: number | null;
|
|
30
|
+
end_date: number | null;
|
|
31
|
+
};
|
|
32
|
+
export type TPopupTargeting = {
|
|
33
|
+
pages: string[] | null;
|
|
34
|
+
exclude_pages: string[] | null;
|
|
35
|
+
devices: EPopupDeviceType[] | null;
|
|
36
|
+
browsers: EPopupBrowserType[] | null;
|
|
37
|
+
languages: string[] | null;
|
|
38
|
+
countries: string[] | null;
|
|
39
|
+
referrers: string[] | null;
|
|
40
|
+
utm_params: Record<string, string> | null;
|
|
41
|
+
};
|
|
42
|
+
export type TPopupContent = {
|
|
43
|
+
position: EPopupPosition | null;
|
|
44
|
+
json?: Record<string, any>;
|
|
45
|
+
};
|
|
46
|
+
export declare enum EPopupTriggerType {
|
|
47
|
+
on_page_load = "on_page_load",
|
|
48
|
+
on_exit_intent = "on_exit_intent",
|
|
49
|
+
on_scroll = "on_scroll",
|
|
50
|
+
on_time_delay = "on_time_delay",
|
|
51
|
+
on_click = "on_click"
|
|
52
|
+
}
|
|
53
|
+
export declare enum EPopupDisplayFrequency {
|
|
54
|
+
once_per_session = "once_per_session",
|
|
55
|
+
once_per_day = "once_per_day",
|
|
56
|
+
once_per_week = "once_per_week",
|
|
57
|
+
always = "always",
|
|
58
|
+
once = "once"
|
|
59
|
+
}
|
|
60
|
+
export declare enum EPopupDeviceType {
|
|
61
|
+
desktop = "desktop",
|
|
62
|
+
mobile = "mobile",
|
|
63
|
+
tablet = "tablet"
|
|
64
|
+
}
|
|
65
|
+
export declare enum EPopupBrowserType {
|
|
66
|
+
chrome = "chrome",
|
|
67
|
+
firefox = "firefox",
|
|
68
|
+
safari = "safari",
|
|
69
|
+
edge = "edge",
|
|
70
|
+
opera = "opera",
|
|
71
|
+
other = "other"
|
|
72
|
+
}
|
|
73
|
+
export declare enum EPopupPosition {
|
|
74
|
+
center = "classic-center",
|
|
75
|
+
top_right = "classic-top-right",
|
|
76
|
+
top_left = "classic-top-left",
|
|
77
|
+
top_center = "classic-top-center",
|
|
78
|
+
bottom_left = "classic-bottom-left",
|
|
79
|
+
bottom_center = "classic-bottom-center",
|
|
80
|
+
bottom_right = "classic-bottom-right",
|
|
81
|
+
drawer_left = "drawer-left",
|
|
82
|
+
drawer_right = "drawer-right",
|
|
83
|
+
drawer_top = "bar-top",
|
|
84
|
+
drawer_bottom = "bar-bottom"
|
|
85
|
+
}
|
|
86
|
+
export declare enum EPopupBranding {
|
|
87
|
+
smart = "smart",
|
|
88
|
+
basic = "basic"
|
|
89
|
+
}
|
|
90
|
+
export type TPopupFilters = {
|
|
91
|
+
name: string;
|
|
92
|
+
tags: string[];
|
|
93
|
+
enabled: string;
|
|
94
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TPopupModel } from "../../models/popups/types";
|
|
2
|
+
import { TGenericListParams, TGenericListReturn, TGenericReturn } from "../../types";
|
|
3
|
+
import { TCreateApiResource, TDeleteApiResource, TDisableApiResource, TEnableApiResource, TRenderResponse, TUpdateApiResource } from "../../types/generic";
|
|
4
|
+
export declare function listPopups({ ...options }: TGenericListParams & {
|
|
5
|
+
name?: string;
|
|
6
|
+
tags?: string[];
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
}): Promise<TGenericListReturn<TPopupModel>>;
|
|
9
|
+
export declare function createPopup({ ...popup }: Partial<TPopupModel>): Promise<TCreateApiResource<TPopupModel>>;
|
|
10
|
+
export declare function getPopup({ id }: {
|
|
11
|
+
id: string;
|
|
12
|
+
}): Promise<TGenericReturn<TPopupModel>>;
|
|
13
|
+
export declare function deletePopup({ id }: {
|
|
14
|
+
id: string;
|
|
15
|
+
}): Promise<TDeleteApiResource>;
|
|
16
|
+
export declare function updatePopup({ id, ...popup }: {
|
|
17
|
+
id: string;
|
|
18
|
+
popup: Partial<TPopupModel>;
|
|
19
|
+
}): Promise<TUpdateApiResource<TPopupModel>>;
|
|
20
|
+
export declare function enablePopup({ id }: {
|
|
21
|
+
id: string;
|
|
22
|
+
}): Promise<TEnableApiResource<TPopupModel>>;
|
|
23
|
+
export declare function disablePopup({ id }: {
|
|
24
|
+
id: string;
|
|
25
|
+
}): Promise<TDisableApiResource<TPopupModel>>;
|
|
26
|
+
export declare function publishPopup({ id }: {
|
|
27
|
+
id: string;
|
|
28
|
+
}): Promise<TUpdateApiResource<TPopupModel>>;
|
|
29
|
+
export declare function renderPopup({ id }: {
|
|
30
|
+
id: string;
|
|
31
|
+
}): Promise<TRenderResponse>;
|
|
@@ -143,7 +143,13 @@ export declare enum EEvents {
|
|
|
143
143
|
MFA_ACTIVATION_FLOW = "MFA.Activation.Flow.Started",
|
|
144
144
|
MFA_DISABLE_FLOW = "MFA.Disable.Flow.Started",
|
|
145
145
|
MFA_ENABLED = "MFA.Enabled",
|
|
146
|
-
MFA_DISABLED = "MFA.Disabled"
|
|
146
|
+
MFA_DISABLED = "MFA.Disabled",
|
|
147
|
+
POPUP_CREATED = "Popup.Created",
|
|
148
|
+
POPUP_UPDATED = "Popup.Updated",
|
|
149
|
+
POPUP_DELETED = "Popup.Deleted",
|
|
150
|
+
POPUP_ENABLED = "Popup.Enabled",
|
|
151
|
+
POPUP_DISABLED = "Popup.Disabled",
|
|
152
|
+
POPUP_PUBLISHED = "Popup.Published"
|
|
147
153
|
}
|
|
148
154
|
export declare function eventCondition(type: EEvents | string, disabledEvents?: string[]): boolean;
|
|
149
155
|
export declare function trackEvent(type: EEvents | string, data?: any, dataParser?: (event: EEvents | string, data: any) => any, disabledEvents?: string[]): void;
|