@adtrackify/at-tracking-event-types 3.0.33 → 3.0.35
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.d.ts +1 -1
- package/dist/cjs/index.js +17 -17
- package/dist/cjs/types/api/account.d.ts +37 -37
- package/dist/cjs/types/api/account.js +9 -9
- package/dist/cjs/types/api/contact-acquisition.d.ts +20 -0
- package/dist/cjs/types/api/contact-acquisition.js +3 -0
- package/dist/cjs/types/api/contact-acquisition.js.map +1 -0
- package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
- package/dist/cjs/types/api/destination-tracked-events.js +3 -3
- package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
- package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
- package/dist/cjs/types/api/destinations/destinations.d.ts +75 -73
- package/dist/cjs/types/api/destinations/destinations.js +31 -29
- package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
- package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +81 -75
- package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
- package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
- package/dist/cjs/types/api/event-last-seen.js +2 -2
- package/dist/cjs/types/api/event-status.d.ts +18 -18
- package/dist/cjs/types/api/event-status.js +9 -9
- package/dist/cjs/types/api/index.d.ts +14 -14
- package/dist/cjs/types/api/index.js +30 -30
- package/dist/cjs/types/api/log-events.d.ts +16 -16
- package/dist/cjs/types/api/log-events.js +2 -2
- package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
- package/dist/cjs/types/api/pixel-setup-health.js +2 -2
- package/dist/cjs/types/api/query.d.ts +160 -160
- package/dist/cjs/types/api/query.js +110 -110
- package/dist/cjs/types/api/shopify-app-install.d.ts +47 -47
- package/dist/cjs/types/api/shopify-app-install.js +22 -22
- package/dist/cjs/types/api/subscription.d.ts +97 -97
- package/dist/cjs/types/api/subscription.js +36 -36
- package/dist/cjs/types/api/tracking-events.d.ts +14 -11
- package/dist/cjs/types/api/tracking-events.js +2 -2
- package/dist/cjs/types/api/user.d.ts +13 -13
- package/dist/cjs/types/api/user.js +2 -2
- package/dist/cjs/types/common/address.d.ts +15 -15
- package/dist/cjs/types/common/address.js +2 -2
- package/dist/cjs/types/common/currency.d.ts +1 -1
- package/dist/cjs/types/common/currency.js +63 -63
- package/dist/cjs/types/common/index.d.ts +2 -2
- package/dist/cjs/types/common/index.js +18 -18
- package/dist/cjs/types/event/base/event-name-enum.d.ts +54 -54
- package/dist/cjs/types/event/base/event-name-enum.js +60 -60
- package/dist/cjs/types/event/base/event.d.ts +20 -20
- package/dist/cjs/types/event/base/event.js +10 -10
- package/dist/cjs/types/event/base/index.d.ts +2 -2
- package/dist/cjs/types/event/base/index.js +18 -18
- package/dist/cjs/types/event/context/event-context-identity.d.ts +17 -17
- package/dist/cjs/types/event/context/event-context-identity.js +2 -2
- package/dist/cjs/types/event/context/event-context.d.ts +160 -160
- package/dist/cjs/types/event/context/event-context.js +2 -2
- package/dist/cjs/types/event/context/index.d.ts +2 -2
- package/dist/cjs/types/event/context/index.js +18 -18
- package/dist/cjs/types/event/index.d.ts +5 -5
- package/dist/cjs/types/event/index.js +21 -21
- package/dist/cjs/types/event/log-event.d.ts +35 -35
- package/dist/cjs/types/event/log-event.js +22 -22
- package/dist/cjs/types/event/metric-event.d.ts +13 -13
- package/dist/cjs/types/event/metric-event.js +2 -2
- package/dist/cjs/types/event/tracking-event.d.ts +64 -62
- package/dist/cjs/types/event/tracking-event.js +2 -2
- package/dist/cjs/types/event-bus-event.d.ts +25 -25
- package/dist/cjs/types/event-bus-event.js +2 -2
- package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
- package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
- package/dist/cjs/types/fingerprint/index.d.ts +6 -6
- package/dist/cjs/types/fingerprint/index.js +18 -18
- package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
- package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
- package/dist/cjs/types/index.d.ts +7 -7
- package/dist/cjs/types/index.js +23 -23
- package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
- package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
- package/dist/cjs/types/tracking-event-ingest-message.d.ts +10 -10
- package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/api/account.d.ts +37 -37
- package/dist/esm/types/api/account.js +6 -6
- package/dist/esm/types/api/contact-acquisition.d.ts +20 -0
- package/dist/esm/types/api/contact-acquisition.js +2 -0
- package/dist/esm/types/api/contact-acquisition.js.map +1 -0
- package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
- package/dist/esm/types/api/destination-tracked-events.js +1 -1
- package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
- package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
- package/dist/esm/types/api/destinations/destinations.d.ts +75 -73
- package/dist/esm/types/api/destinations/destinations.js +28 -26
- package/dist/esm/types/api/destinations/destinations.js.map +1 -1
- package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +81 -75
- package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
- package/dist/esm/types/api/event-last-seen.d.ts +6 -6
- package/dist/esm/types/api/event-last-seen.js +1 -1
- package/dist/esm/types/api/event-status.d.ts +18 -18
- package/dist/esm/types/api/event-status.js +6 -6
- package/dist/esm/types/api/index.d.ts +14 -14
- package/dist/esm/types/api/index.js +14 -14
- package/dist/esm/types/api/log-events.d.ts +16 -16
- package/dist/esm/types/api/log-events.js +1 -1
- package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
- package/dist/esm/types/api/pixel-setup-health.js +1 -1
- package/dist/esm/types/api/query.d.ts +160 -160
- package/dist/esm/types/api/query.js +107 -107
- package/dist/esm/types/api/shopify-app-install.d.ts +47 -47
- package/dist/esm/types/api/shopify-app-install.js +19 -19
- package/dist/esm/types/api/subscription.d.ts +97 -97
- package/dist/esm/types/api/subscription.js +33 -33
- package/dist/esm/types/api/tracking-events.d.ts +14 -11
- package/dist/esm/types/api/tracking-events.js +1 -1
- package/dist/esm/types/api/user.d.ts +13 -13
- package/dist/esm/types/api/user.js +1 -1
- package/dist/esm/types/common/address.d.ts +15 -15
- package/dist/esm/types/common/address.js +1 -1
- package/dist/esm/types/common/currency.d.ts +1 -1
- package/dist/esm/types/common/currency.js +60 -60
- package/dist/esm/types/common/index.d.ts +2 -2
- package/dist/esm/types/common/index.js +2 -2
- package/dist/esm/types/event/base/event-name-enum.d.ts +54 -54
- package/dist/esm/types/event/base/event-name-enum.js +57 -57
- package/dist/esm/types/event/base/event.d.ts +20 -20
- package/dist/esm/types/event/base/event.js +7 -7
- package/dist/esm/types/event/base/index.d.ts +2 -2
- package/dist/esm/types/event/base/index.js +2 -2
- package/dist/esm/types/event/context/event-context-identity.d.ts +17 -17
- package/dist/esm/types/event/context/event-context-identity.js +1 -1
- package/dist/esm/types/event/context/event-context.d.ts +160 -160
- package/dist/esm/types/event/context/event-context.js +1 -1
- package/dist/esm/types/event/context/index.d.ts +2 -2
- package/dist/esm/types/event/context/index.js +2 -2
- package/dist/esm/types/event/index.d.ts +5 -5
- package/dist/esm/types/event/index.js +5 -5
- package/dist/esm/types/event/log-event.d.ts +35 -35
- package/dist/esm/types/event/log-event.js +19 -19
- package/dist/esm/types/event/metric-event.d.ts +13 -13
- package/dist/esm/types/event/metric-event.js +1 -1
- package/dist/esm/types/event/tracking-event.d.ts +64 -62
- package/dist/esm/types/event/tracking-event.js +1 -1
- package/dist/esm/types/event-bus-event.d.ts +25 -25
- package/dist/esm/types/event-bus-event.js +1 -1
- package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
- package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
- package/dist/esm/types/fingerprint/index.d.ts +6 -6
- package/dist/esm/types/fingerprint/index.js +2 -2
- package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
- package/dist/esm/types/fingerprint/server-attributes.js +1 -1
- package/dist/esm/types/index.d.ts +7 -7
- package/dist/esm/types/index.js +7 -7
- package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
- package/dist/esm/types/third-party-event-configuration-types.js +1 -1
- package/dist/esm/types/tracking-event-ingest-message.d.ts +10 -10
- package/dist/esm/types/tracking-event-ingest-message.js +1 -1
- package/package.json +1 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { Subscription } from './subscription';
|
|
2
|
-
export interface Account {
|
|
3
|
-
id: string;
|
|
4
|
-
accountName: string;
|
|
5
|
-
companyName?: string;
|
|
6
|
-
accountStatus: ACCOUNT_STATUS;
|
|
7
|
-
primaryEmail: string;
|
|
8
|
-
publicApiKey?: string;
|
|
9
|
-
subscriptionId?: string;
|
|
10
|
-
pixels?: Pixel[];
|
|
11
|
-
subscription?: Subscription;
|
|
12
|
-
ownerId?: string;
|
|
13
|
-
settings?: AccountSettings;
|
|
14
|
-
confirmedAt?: string;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
}
|
|
18
|
-
export interface Pixel {
|
|
19
|
-
id: string;
|
|
20
|
-
accountId: string;
|
|
21
|
-
name: string;
|
|
22
|
-
createdAt: string;
|
|
23
|
-
updatedAt: string;
|
|
24
|
-
}
|
|
25
|
-
export declare enum ACCOUNT_STATUS {
|
|
26
|
-
PENDING = "pending",
|
|
27
|
-
ACTIVE = "active",
|
|
28
|
-
INACTIVE = "inactive"
|
|
29
|
-
}
|
|
30
|
-
export interface AccountSettings {
|
|
31
|
-
defaultTimezone?: string;
|
|
32
|
-
selectedTimezone?: string;
|
|
33
|
-
defaultCurrency?: string;
|
|
34
|
-
selectedCurrency?: string;
|
|
35
|
-
countPendingOrders?: boolean;
|
|
36
|
-
countVoidedOrders?: boolean;
|
|
37
|
-
}
|
|
1
|
+
import { Subscription } from './subscription';
|
|
2
|
+
export interface Account {
|
|
3
|
+
id: string;
|
|
4
|
+
accountName: string;
|
|
5
|
+
companyName?: string;
|
|
6
|
+
accountStatus: ACCOUNT_STATUS;
|
|
7
|
+
primaryEmail: string;
|
|
8
|
+
publicApiKey?: string;
|
|
9
|
+
subscriptionId?: string;
|
|
10
|
+
pixels?: Pixel[];
|
|
11
|
+
subscription?: Subscription;
|
|
12
|
+
ownerId?: string;
|
|
13
|
+
settings?: AccountSettings;
|
|
14
|
+
confirmedAt?: string;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
}
|
|
18
|
+
export interface Pixel {
|
|
19
|
+
id: string;
|
|
20
|
+
accountId: string;
|
|
21
|
+
name: string;
|
|
22
|
+
createdAt: string;
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
}
|
|
25
|
+
export declare enum ACCOUNT_STATUS {
|
|
26
|
+
PENDING = "pending",
|
|
27
|
+
ACTIVE = "active",
|
|
28
|
+
INACTIVE = "inactive"
|
|
29
|
+
}
|
|
30
|
+
export interface AccountSettings {
|
|
31
|
+
defaultTimezone?: string;
|
|
32
|
+
selectedTimezone?: string;
|
|
33
|
+
defaultCurrency?: string;
|
|
34
|
+
selectedCurrency?: string;
|
|
35
|
+
countPendingOrders?: boolean;
|
|
36
|
+
countVoidedOrders?: boolean;
|
|
37
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export var ACCOUNT_STATUS;
|
|
2
|
-
(function (ACCOUNT_STATUS) {
|
|
3
|
-
ACCOUNT_STATUS["PENDING"] = "pending";
|
|
4
|
-
ACCOUNT_STATUS["ACTIVE"] = "active";
|
|
5
|
-
ACCOUNT_STATUS["INACTIVE"] = "inactive";
|
|
6
|
-
})(ACCOUNT_STATUS || (ACCOUNT_STATUS = {}));
|
|
1
|
+
export var ACCOUNT_STATUS;
|
|
2
|
+
(function (ACCOUNT_STATUS) {
|
|
3
|
+
ACCOUNT_STATUS["PENDING"] = "pending";
|
|
4
|
+
ACCOUNT_STATUS["ACTIVE"] = "active";
|
|
5
|
+
ACCOUNT_STATUS["INACTIVE"] = "inactive";
|
|
6
|
+
})(ACCOUNT_STATUS || (ACCOUNT_STATUS = {}));
|
|
7
7
|
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface PurchasableContact {
|
|
2
|
+
id: string;
|
|
3
|
+
contact: any;
|
|
4
|
+
email: string;
|
|
5
|
+
ipAddress: string;
|
|
6
|
+
url: string;
|
|
7
|
+
userAgent: string;
|
|
8
|
+
source: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
updatedAt: string;
|
|
11
|
+
}
|
|
12
|
+
export interface PurchasedContact {
|
|
13
|
+
pixelId: string;
|
|
14
|
+
contactId: string;
|
|
15
|
+
accountId: string;
|
|
16
|
+
identityId: string;
|
|
17
|
+
purchasedAt: string;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact-acquisition.js","sourceRoot":"","sources":["../../../../src/types/api/contact-acquisition.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TRACKING_EVENT_NAME } from '../event';
|
|
2
|
-
export interface DestinationTrackedEvents {
|
|
3
|
-
[TRACKING_EVENT_NAME.PAGE_VIEW]: {
|
|
4
|
-
web: number;
|
|
5
|
-
server: number;
|
|
6
|
-
};
|
|
7
|
-
[TRACKING_EVENT_NAME.PURCHASE]: {
|
|
8
|
-
web: number;
|
|
9
|
-
server: number;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
1
|
+
import { TRACKING_EVENT_NAME } from '../event';
|
|
2
|
+
export interface DestinationTrackedEvents {
|
|
3
|
+
[TRACKING_EVENT_NAME.PAGE_VIEW]: {
|
|
4
|
+
web: number;
|
|
5
|
+
server: number;
|
|
6
|
+
};
|
|
7
|
+
[TRACKING_EVENT_NAME.PURCHASE]: {
|
|
8
|
+
web: number;
|
|
9
|
+
server: number;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TRACKING_EVENT_NAME } from '../event';
|
|
1
|
+
import { TRACKING_EVENT_NAME } from '../event';
|
|
2
2
|
//# sourceMappingURL=destination-tracked-events.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { DESTINATION, DESTINATION_TYPE } from './destinations';
|
|
2
|
-
export interface DestinationCatalogItem {
|
|
3
|
-
id: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
destinationKey: DESTINATION;
|
|
6
|
-
destinationType: DESTINATION_TYPE;
|
|
7
|
-
displayName?: string;
|
|
8
|
-
shortName?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
url: string;
|
|
11
|
-
fields?: DestinationCatalogField[];
|
|
12
|
-
createdAt: string;
|
|
13
|
-
updatedAt: string;
|
|
14
|
-
}
|
|
15
|
-
export interface DestinationCatalogFieldValidation {
|
|
16
|
-
active: boolean;
|
|
17
|
-
pattern: string;
|
|
18
|
-
error?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface DestinationCatalogField {
|
|
21
|
-
component_type: string;
|
|
22
|
-
name: string;
|
|
23
|
-
description: string;
|
|
24
|
-
label: string;
|
|
25
|
-
type: string;
|
|
26
|
-
required: boolean;
|
|
27
|
-
values?: any[];
|
|
28
|
-
validation?: DestinationCatalogFieldValidation;
|
|
29
|
-
order: number;
|
|
30
|
-
}
|
|
1
|
+
import { DESTINATION, DESTINATION_TYPE } from './destinations';
|
|
2
|
+
export interface DestinationCatalogItem {
|
|
3
|
+
id: string;
|
|
4
|
+
active: boolean;
|
|
5
|
+
destinationKey: DESTINATION;
|
|
6
|
+
destinationType: DESTINATION_TYPE;
|
|
7
|
+
displayName?: string;
|
|
8
|
+
shortName?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
url: string;
|
|
11
|
+
fields?: DestinationCatalogField[];
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
}
|
|
15
|
+
export interface DestinationCatalogFieldValidation {
|
|
16
|
+
active: boolean;
|
|
17
|
+
pattern: string;
|
|
18
|
+
error?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface DestinationCatalogField {
|
|
21
|
+
component_type: string;
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
label: string;
|
|
25
|
+
type: string;
|
|
26
|
+
required: boolean;
|
|
27
|
+
values?: any[];
|
|
28
|
+
validation?: DestinationCatalogFieldValidation;
|
|
29
|
+
order: number;
|
|
30
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=destination-catalog.js.map
|
|
@@ -1,73 +1,75 @@
|
|
|
1
|
-
export interface Destination {
|
|
2
|
-
id: string;
|
|
3
|
-
accountId: string;
|
|
4
|
-
pixelId: string;
|
|
5
|
-
destination: DESTINATION;
|
|
6
|
-
destinationType?: DESTINATION_TYPE;
|
|
7
|
-
displayName?: string;
|
|
8
|
-
enabled: boolean;
|
|
9
|
-
configuration?: UserDestinationConfiguration;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
updatedAt: string;
|
|
12
|
-
orderConfig?: DestinationOrderConfig;
|
|
13
|
-
}
|
|
14
|
-
export interface DestinationOrderConfig {
|
|
15
|
-
blockedSources?: string[];
|
|
16
|
-
blockedTags?: string[];
|
|
17
|
-
}
|
|
18
|
-
export declare enum DESTINATION_TYPE {
|
|
19
|
-
INTEGRATION = "integration",
|
|
20
|
-
DESTINATION = "destination"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
1
|
+
export interface Destination {
|
|
2
|
+
id: string;
|
|
3
|
+
accountId: string;
|
|
4
|
+
pixelId: string;
|
|
5
|
+
destination: DESTINATION;
|
|
6
|
+
destinationType?: DESTINATION_TYPE;
|
|
7
|
+
displayName?: string;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
configuration?: UserDestinationConfiguration;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
orderConfig?: DestinationOrderConfig;
|
|
13
|
+
}
|
|
14
|
+
export interface DestinationOrderConfig {
|
|
15
|
+
blockedSources?: string[];
|
|
16
|
+
blockedTags?: string[];
|
|
17
|
+
}
|
|
18
|
+
export declare enum DESTINATION_TYPE {
|
|
19
|
+
INTEGRATION = "integration",
|
|
20
|
+
DESTINATION = "destination",
|
|
21
|
+
CONTACT_ACQUISITION = "contactAcquisition"
|
|
22
|
+
}
|
|
23
|
+
export declare enum DESTINATION {
|
|
24
|
+
FACEBOOK = "facebook",
|
|
25
|
+
TIKTOK = "tiktok",
|
|
26
|
+
GOOGLE_ADS = "googleAds",
|
|
27
|
+
GOOGLE_ANALYTICS_4 = "googleAnalytics4",
|
|
28
|
+
HUBSPOT = "hubspot",
|
|
29
|
+
WEBHOOK = "webhook",
|
|
30
|
+
CUSTOM_HTML = "customHTML",
|
|
31
|
+
CUSTOM_JS = "customJS",
|
|
32
|
+
SNAPCHAT = "snapchat",
|
|
33
|
+
TWITTER = "twitter",
|
|
34
|
+
REDDIT = "reddit",
|
|
35
|
+
INTERCOM = "intercom",
|
|
36
|
+
CUSTOMER_IO = "customerIO",
|
|
37
|
+
PINTEREST = "pinterest",
|
|
38
|
+
KLAVIYO = "klaviyo",
|
|
39
|
+
SENDLANE = "sendlane",
|
|
40
|
+
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
41
|
+
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
|
|
42
|
+
KLAVIYO_CONTACT_ACQUISITION = "klaviyoContactAcquisition"
|
|
43
|
+
}
|
|
44
|
+
export interface UserDestinationConfiguration {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
eventBlacklist?: string[];
|
|
47
|
+
events?: EventConfiguration[];
|
|
48
|
+
trigger?: DestinationTriggerConfiguration;
|
|
49
|
+
}
|
|
50
|
+
export interface DestinationTriggerConfiguration {
|
|
51
|
+
shopify?: ShopifyTriggerConfiguration;
|
|
52
|
+
exludeDomains?: string[];
|
|
53
|
+
excludePages?: string[];
|
|
54
|
+
domains?: string[];
|
|
55
|
+
pages?: string[];
|
|
56
|
+
}
|
|
57
|
+
export interface ShopifyTriggerConfiguration {
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
collections?: string[];
|
|
60
|
+
tags?: string[];
|
|
61
|
+
}
|
|
62
|
+
export interface EventConfiguration {
|
|
63
|
+
sourceEventName: string;
|
|
64
|
+
exclude?: boolean;
|
|
65
|
+
sample: EventSampleConfiguration;
|
|
66
|
+
transformations?: EventTransformation[];
|
|
67
|
+
}
|
|
68
|
+
export interface EventTransformation {
|
|
69
|
+
transformationEventName: string;
|
|
70
|
+
enabled: boolean;
|
|
71
|
+
}
|
|
72
|
+
export interface EventSampleConfiguration {
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
rate: number;
|
|
75
|
+
}
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
export var DESTINATION_TYPE;
|
|
2
|
-
(function (DESTINATION_TYPE) {
|
|
3
|
-
DESTINATION_TYPE["INTEGRATION"] = "integration";
|
|
4
|
-
DESTINATION_TYPE["DESTINATION"] = "destination";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
DESTINATION["
|
|
10
|
-
DESTINATION["
|
|
11
|
-
DESTINATION["
|
|
12
|
-
DESTINATION["
|
|
13
|
-
DESTINATION["
|
|
14
|
-
DESTINATION["
|
|
15
|
-
DESTINATION["
|
|
16
|
-
DESTINATION["
|
|
17
|
-
DESTINATION["
|
|
18
|
-
DESTINATION["
|
|
19
|
-
DESTINATION["
|
|
20
|
-
DESTINATION["
|
|
21
|
-
DESTINATION["
|
|
22
|
-
DESTINATION["
|
|
23
|
-
DESTINATION["
|
|
24
|
-
DESTINATION["
|
|
25
|
-
DESTINATION["
|
|
26
|
-
|
|
1
|
+
export var DESTINATION_TYPE;
|
|
2
|
+
(function (DESTINATION_TYPE) {
|
|
3
|
+
DESTINATION_TYPE["INTEGRATION"] = "integration";
|
|
4
|
+
DESTINATION_TYPE["DESTINATION"] = "destination";
|
|
5
|
+
DESTINATION_TYPE["CONTACT_ACQUISITION"] = "contactAcquisition";
|
|
6
|
+
})(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
|
|
7
|
+
export var DESTINATION;
|
|
8
|
+
(function (DESTINATION) {
|
|
9
|
+
DESTINATION["FACEBOOK"] = "facebook";
|
|
10
|
+
DESTINATION["TIKTOK"] = "tiktok";
|
|
11
|
+
DESTINATION["GOOGLE_ADS"] = "googleAds";
|
|
12
|
+
DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
|
|
13
|
+
DESTINATION["HUBSPOT"] = "hubspot";
|
|
14
|
+
DESTINATION["WEBHOOK"] = "webhook";
|
|
15
|
+
DESTINATION["CUSTOM_HTML"] = "customHTML";
|
|
16
|
+
DESTINATION["CUSTOM_JS"] = "customJS";
|
|
17
|
+
DESTINATION["SNAPCHAT"] = "snapchat";
|
|
18
|
+
DESTINATION["TWITTER"] = "twitter";
|
|
19
|
+
DESTINATION["REDDIT"] = "reddit";
|
|
20
|
+
DESTINATION["INTERCOM"] = "intercom";
|
|
21
|
+
DESTINATION["CUSTOMER_IO"] = "customerIO";
|
|
22
|
+
DESTINATION["PINTEREST"] = "pinterest";
|
|
23
|
+
DESTINATION["KLAVIYO"] = "klaviyo";
|
|
24
|
+
DESTINATION["SENDLANE"] = "sendlane";
|
|
25
|
+
DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
26
|
+
DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
27
|
+
DESTINATION["KLAVIYO_CONTACT_ACQUISITION"] = "klaviyoContactAcquisition";
|
|
28
|
+
})(DESTINATION || (DESTINATION = {}));
|
|
27
29
|
//# sourceMappingURL=destinations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;IAC3B,8DAA0C,CAAA;AAC5C,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAED,MAAM,CAAN,IAAY,WAyBX;AAzBD,WAAY,WAAW;IAErB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,sDAAuC,CAAA;IACvC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,qCAAsB,CAAA;IACtB,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,yCAA0B,CAAA;IAC1B,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IAGrB,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;IAG/C,wEAAyD,CAAA;AAC3D,CAAC,EAzBW,WAAW,KAAX,WAAW,QAyBtB"}
|
|
@@ -1,75 +1,81 @@
|
|
|
1
|
-
import { Destination, UserDestinationConfiguration } from './destinations';
|
|
2
|
-
export interface AdTrackifyFacebookDestination extends Destination {
|
|
3
|
-
configuration: FacebookPixelConfiguration;
|
|
4
|
-
}
|
|
5
|
-
export interface AdTrackifyTikTokDestination extends Destination {
|
|
6
|
-
configuration: TiktokPixelConfiguration;
|
|
7
|
-
}
|
|
8
|
-
export interface AdTrackifyGoogleAnalytics4Destination extends Destination {
|
|
9
|
-
configuration: GoogleAnalytics4Configuration;
|
|
10
|
-
}
|
|
11
|
-
export interface AdTrackifyPinterestDestination extends Destination {
|
|
12
|
-
configuration: PinterestConfiguration;
|
|
13
|
-
}
|
|
14
|
-
export interface AdTrackifyKlaviyoDestination extends Destination {
|
|
15
|
-
configuration: KlaviyoConfiguration;
|
|
16
|
-
}
|
|
17
|
-
export interface AdTrackifySendlaneDestination extends Destination {
|
|
18
|
-
configuration: SendlaneConfiguration;
|
|
19
|
-
}
|
|
20
|
-
export interface FacebookPixelConfiguration extends UserDestinationConfiguration {
|
|
21
|
-
apiAccessToken?: string;
|
|
22
|
-
enableConversionAPI: boolean;
|
|
23
|
-
pixelId: string;
|
|
24
|
-
}
|
|
25
|
-
export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
|
|
26
|
-
apiAccessToken?: string;
|
|
27
|
-
enableConversionAPI: boolean;
|
|
28
|
-
pixelId: string;
|
|
29
|
-
}
|
|
30
|
-
export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
|
|
31
|
-
apiSecret: string;
|
|
32
|
-
measurementId: string;
|
|
33
|
-
}
|
|
34
|
-
export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
|
|
35
|
-
pixelId: string;
|
|
36
|
-
conversionID: string;
|
|
37
|
-
}
|
|
38
|
-
export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
|
|
39
|
-
hubspotId: string;
|
|
40
|
-
}
|
|
41
|
-
export interface SnapchatPixelConfiguration extends UserDestinationConfiguration {
|
|
42
|
-
snapchatPixelId: string;
|
|
43
|
-
}
|
|
44
|
-
export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
|
|
45
|
-
twitterPixelId: string;
|
|
46
|
-
}
|
|
47
|
-
export interface IntercomTagConfiguration extends UserDestinationConfiguration {
|
|
48
|
-
appId: string;
|
|
49
|
-
apiBase: string;
|
|
50
|
-
}
|
|
51
|
-
export interface WebhookConfiguration extends UserDestinationConfiguration {
|
|
52
|
-
webhookUrl: string;
|
|
53
|
-
}
|
|
54
|
-
export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
|
|
55
|
-
html: string;
|
|
56
|
-
location: CustomHTMLLocation;
|
|
57
|
-
}
|
|
58
|
-
export interface PinterestConfiguration extends UserDestinationConfiguration {
|
|
59
|
-
pixelId: string;
|
|
60
|
-
enableConversionAPI: boolean;
|
|
61
|
-
advertiserId?: string;
|
|
62
|
-
apiAccessToken?: string;
|
|
63
|
-
}
|
|
64
|
-
export interface KlaviyoConfiguration extends UserDestinationConfiguration {
|
|
65
|
-
apiAccessToken: string;
|
|
66
|
-
}
|
|
67
|
-
export interface SendlaneConfiguration extends UserDestinationConfiguration {
|
|
68
|
-
apiAccessToken: string;
|
|
69
|
-
sendlaneToken: string;
|
|
70
|
-
}
|
|
71
|
-
export declare enum CustomHTMLLocation {
|
|
72
|
-
HEADER = "header",
|
|
73
|
-
FOOTER = "footer",
|
|
74
|
-
BODY = "body"
|
|
75
|
-
}
|
|
1
|
+
import { Destination, UserDestinationConfiguration } from './destinations';
|
|
2
|
+
export interface AdTrackifyFacebookDestination extends Destination {
|
|
3
|
+
configuration: FacebookPixelConfiguration;
|
|
4
|
+
}
|
|
5
|
+
export interface AdTrackifyTikTokDestination extends Destination {
|
|
6
|
+
configuration: TiktokPixelConfiguration;
|
|
7
|
+
}
|
|
8
|
+
export interface AdTrackifyGoogleAnalytics4Destination extends Destination {
|
|
9
|
+
configuration: GoogleAnalytics4Configuration;
|
|
10
|
+
}
|
|
11
|
+
export interface AdTrackifyPinterestDestination extends Destination {
|
|
12
|
+
configuration: PinterestConfiguration;
|
|
13
|
+
}
|
|
14
|
+
export interface AdTrackifyKlaviyoDestination extends Destination {
|
|
15
|
+
configuration: KlaviyoConfiguration;
|
|
16
|
+
}
|
|
17
|
+
export interface AdTrackifySendlaneDestination extends Destination {
|
|
18
|
+
configuration: SendlaneConfiguration;
|
|
19
|
+
}
|
|
20
|
+
export interface FacebookPixelConfiguration extends UserDestinationConfiguration {
|
|
21
|
+
apiAccessToken?: string;
|
|
22
|
+
enableConversionAPI: boolean;
|
|
23
|
+
pixelId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
|
|
26
|
+
apiAccessToken?: string;
|
|
27
|
+
enableConversionAPI: boolean;
|
|
28
|
+
pixelId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
|
|
31
|
+
apiSecret: string;
|
|
32
|
+
measurementId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
|
|
35
|
+
pixelId: string;
|
|
36
|
+
conversionID: string;
|
|
37
|
+
}
|
|
38
|
+
export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
|
|
39
|
+
hubspotId: string;
|
|
40
|
+
}
|
|
41
|
+
export interface SnapchatPixelConfiguration extends UserDestinationConfiguration {
|
|
42
|
+
snapchatPixelId: string;
|
|
43
|
+
}
|
|
44
|
+
export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
|
|
45
|
+
twitterPixelId: string;
|
|
46
|
+
}
|
|
47
|
+
export interface IntercomTagConfiguration extends UserDestinationConfiguration {
|
|
48
|
+
appId: string;
|
|
49
|
+
apiBase: string;
|
|
50
|
+
}
|
|
51
|
+
export interface WebhookConfiguration extends UserDestinationConfiguration {
|
|
52
|
+
webhookUrl: string;
|
|
53
|
+
}
|
|
54
|
+
export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
|
|
55
|
+
html: string;
|
|
56
|
+
location: CustomHTMLLocation;
|
|
57
|
+
}
|
|
58
|
+
export interface PinterestConfiguration extends UserDestinationConfiguration {
|
|
59
|
+
pixelId: string;
|
|
60
|
+
enableConversionAPI: boolean;
|
|
61
|
+
advertiserId?: string;
|
|
62
|
+
apiAccessToken?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface KlaviyoConfiguration extends UserDestinationConfiguration {
|
|
65
|
+
apiAccessToken: string;
|
|
66
|
+
}
|
|
67
|
+
export interface SendlaneConfiguration extends UserDestinationConfiguration {
|
|
68
|
+
apiAccessToken: string;
|
|
69
|
+
sendlaneToken: string;
|
|
70
|
+
}
|
|
71
|
+
export declare enum CustomHTMLLocation {
|
|
72
|
+
HEADER = "header",
|
|
73
|
+
FOOTER = "footer",
|
|
74
|
+
BODY = "body"
|
|
75
|
+
}
|
|
76
|
+
export interface KlaviyoCADestination extends Destination {
|
|
77
|
+
configuration: KlaviyoCAConfiguration;
|
|
78
|
+
}
|
|
79
|
+
export interface KlaviyoCAConfiguration extends UserDestinationConfiguration {
|
|
80
|
+
apiAccessToken: string;
|
|
81
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export var CustomHTMLLocation;
|
|
2
|
-
(function (CustomHTMLLocation) {
|
|
3
|
-
CustomHTMLLocation["HEADER"] = "header";
|
|
4
|
-
CustomHTMLLocation["FOOTER"] = "footer";
|
|
5
|
-
CustomHTMLLocation["BODY"] = "body";
|
|
6
|
-
})(CustomHTMLLocation || (CustomHTMLLocation = {}));
|
|
1
|
+
export var CustomHTMLLocation;
|
|
2
|
+
(function (CustomHTMLLocation) {
|
|
3
|
+
CustomHTMLLocation["HEADER"] = "header";
|
|
4
|
+
CustomHTMLLocation["FOOTER"] = "footer";
|
|
5
|
+
CustomHTMLLocation["BODY"] = "body";
|
|
6
|
+
})(CustomHTMLLocation || (CustomHTMLLocation = {}));
|
|
7
7
|
//# sourceMappingURL=third-party-destination-configs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TRACKING_EVENT_NAME } from '../event';
|
|
2
|
-
export interface EventLastSeen {
|
|
3
|
-
pixelId: string;
|
|
4
|
-
lastSeen: string;
|
|
5
|
-
eventName: TRACKING_EVENT_NAME;
|
|
6
|
-
}
|
|
1
|
+
import { TRACKING_EVENT_NAME } from '../event';
|
|
2
|
+
export interface EventLastSeen {
|
|
3
|
+
pixelId: string;
|
|
4
|
+
lastSeen: string;
|
|
5
|
+
eventName: TRACKING_EVENT_NAME;
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=event-last-seen.js.map
|