fleek-track-analytics 1.1.19 → 1.1.20
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.
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
interface IOrderDetails extends Record<string, unknown> {
|
|
2
2
|
}
|
|
3
|
-
export interface
|
|
3
|
+
export interface IFirstOrderDiscoutCopy {
|
|
4
4
|
source: string;
|
|
5
5
|
copyFrom: 'MODAL' | 'HEADER';
|
|
6
6
|
code: string;
|
|
7
7
|
}
|
|
8
|
+
export interface IFirstOrderDiscount {
|
|
9
|
+
source: string;
|
|
10
|
+
code: string;
|
|
11
|
+
}
|
|
8
12
|
export interface IFirstOrderDiscountShopify {
|
|
9
13
|
source: string;
|
|
10
14
|
code: string;
|
|
@@ -16,7 +16,7 @@ import { IScheduleVideoCall } from './event-data-types/schedule-video-call-click
|
|
|
16
16
|
import { ICollectionScrollClicked } from './event-data-types/collection-scroll-clicked';
|
|
17
17
|
import { IPromoteAppBanner } from './event-data-types/promote-app-banner';
|
|
18
18
|
import { IChatChannelLoad, IChatMessage } from './event-data-types/chat-events';
|
|
19
|
-
import {
|
|
19
|
+
import { IFirstOrderDiscount, IFirstOrderDiscoutCopy, IFirstOrderDiscountShopify } from './event-data-types/first-order-discount-experiment';
|
|
20
20
|
export declare enum EVENT_NAMES {
|
|
21
21
|
HOME_SCREEN_VIEWED = "homescreen_viewed",
|
|
22
22
|
PRODUCT_TILE_CLICKED = "product_tile_clicked",
|
|
@@ -80,8 +80,8 @@ export interface EVENT_MAP {
|
|
|
80
80
|
[EVENT_NAMES.CHANNEL_LOAD_CONCLUDED]: IChatChannelLoad;
|
|
81
81
|
[EVENT_NAMES.CHAT_MESSAGE_SENT]: IChatMessage;
|
|
82
82
|
[EVENT_NAMES.CHAT_SEND_MESSAGE_CLOSED]: IChatMessage;
|
|
83
|
-
[EVENT_NAMES.FIRST_ORDER_DISCOUNT_BANNER_SHOW]:
|
|
84
|
-
[EVENT_NAMES.FIRST_ORDER_DISCOUNT_BANNER_CLOSE]:
|
|
85
|
-
[EVENT_NAMES.FIRST_ORDER_DISCOUNT_CODE_COPIED]:
|
|
83
|
+
[EVENT_NAMES.FIRST_ORDER_DISCOUNT_BANNER_SHOW]: IFirstOrderDiscount;
|
|
84
|
+
[EVENT_NAMES.FIRST_ORDER_DISCOUNT_BANNER_CLOSE]: IFirstOrderDiscount;
|
|
85
|
+
[EVENT_NAMES.FIRST_ORDER_DISCOUNT_CODE_COPIED]: IFirstOrderDiscoutCopy;
|
|
86
86
|
[EVENT_NAMES.DISCOUNT_CODE_APPLIED]: IFirstOrderDiscountShopify;
|
|
87
87
|
}
|