@adtrackify/at-tracking-event-types 2.0.70 → 2.0.71
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 +36 -36
- package/dist/cjs/types/api/account.js +9 -9
- 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 +65 -65
- package/dist/cjs/types/api/destinations/destinations.js +26 -26
- package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +53 -53
- package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
- package/dist/cjs/types/api/event-last-seen.d.ts +6 -0
- package/dist/cjs/types/api/event-last-seen.js +3 -0
- package/dist/cjs/types/api/event-last-seen.js.map +1 -0
- 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 -13
- package/dist/cjs/types/api/index.js +30 -29
- package/dist/cjs/types/api/index.js.map +1 -1
- 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 +18 -18
- package/dist/cjs/types/api/pixel-setup-health.js +2 -2
- package/dist/cjs/types/api/query.d.ts +150 -150
- package/dist/cjs/types/api/query.js +100 -100
- 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 +71 -71
- package/dist/cjs/types/api/subscription.js +31 -31
- package/dist/cjs/types/api/tracking-events.d.ts +11 -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 +36 -49
- package/dist/cjs/types/event/base/event-name-enum.js +42 -55
- package/dist/cjs/types/event/base/event-name-enum.js.map +1 -1
- 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 +18 -18
- package/dist/cjs/types/event/context/event-context-identity.js +2 -2
- package/dist/cjs/types/event/context/event-context.d.ts +143 -143
- 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 +62 -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/index.d.ts +5 -5
- package/dist/cjs/types/index.js +21 -21
- package/dist/cjs/types/third-party-event-configuration-types.d.ts +9 -9
- package/dist/cjs/types/third-party-event-configuration-types.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 +36 -36
- package/dist/esm/types/api/account.js +6 -6
- 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 +65 -65
- package/dist/esm/types/api/destinations/destinations.js +23 -23
- package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +53 -53
- package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
- package/dist/esm/types/api/event-last-seen.d.ts +6 -0
- package/dist/esm/types/api/event-last-seen.js +2 -0
- package/dist/esm/types/api/event-last-seen.js.map +1 -0
- 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 -13
- package/dist/esm/types/api/index.js +14 -13
- package/dist/esm/types/api/index.js.map +1 -1
- 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 +18 -18
- package/dist/esm/types/api/pixel-setup-health.js +1 -1
- package/dist/esm/types/api/query.d.ts +150 -150
- package/dist/esm/types/api/query.js +97 -97
- 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 +71 -71
- package/dist/esm/types/api/subscription.js +28 -28
- package/dist/esm/types/api/tracking-events.d.ts +11 -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 +36 -49
- package/dist/esm/types/event/base/event-name-enum.js +39 -52
- package/dist/esm/types/event/base/event-name-enum.js.map +1 -1
- 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 +18 -18
- package/dist/esm/types/event/context/event-context-identity.js +1 -1
- package/dist/esm/types/event/context/event-context.d.ts +143 -143
- 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 +62 -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/index.d.ts +5 -5
- package/dist/esm/types/index.js +5 -5
- package/dist/esm/types/third-party-event-configuration-types.d.ts +9 -9
- package/dist/esm/types/third-party-event-configuration-types.js +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=tracking-event.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { LogEvent, MetricEvent, TrackingEvent } from './event';
|
|
2
|
-
export interface EventBusEvent {
|
|
3
|
-
eventId: string;
|
|
4
|
-
eventType: string;
|
|
5
|
-
eventTime: string;
|
|
6
|
-
eventData?: object;
|
|
7
|
-
}
|
|
8
|
-
export interface EventBusTrackingEvent extends EventBusEvent {
|
|
9
|
-
eventData: {
|
|
10
|
-
trackingEvent: TrackingEvent;
|
|
11
|
-
pixelId: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export interface EventBusMetricEvent extends EventBusEvent {
|
|
15
|
-
eventData: {
|
|
16
|
-
metricEvent: MetricEvent;
|
|
17
|
-
pixelId: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export interface EventBusLogEvent extends EventBusEvent {
|
|
21
|
-
eventData: {
|
|
22
|
-
logEvent: LogEvent;
|
|
23
|
-
pixelId: string;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
1
|
+
import { LogEvent, MetricEvent, TrackingEvent } from './event';
|
|
2
|
+
export interface EventBusEvent {
|
|
3
|
+
eventId: string;
|
|
4
|
+
eventType: string;
|
|
5
|
+
eventTime: string;
|
|
6
|
+
eventData?: object;
|
|
7
|
+
}
|
|
8
|
+
export interface EventBusTrackingEvent extends EventBusEvent {
|
|
9
|
+
eventData: {
|
|
10
|
+
trackingEvent: TrackingEvent;
|
|
11
|
+
pixelId: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface EventBusMetricEvent extends EventBusEvent {
|
|
15
|
+
eventData: {
|
|
16
|
+
metricEvent: MetricEvent;
|
|
17
|
+
pixelId: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export interface EventBusLogEvent extends EventBusEvent {
|
|
21
|
+
eventData: {
|
|
22
|
+
logEvent: LogEvent;
|
|
23
|
+
pixelId: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=event-bus-event.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './api';
|
|
2
|
-
export * from './common';
|
|
3
|
-
export * from './event';
|
|
4
|
-
export * from './event-bus-event';
|
|
5
|
-
export * from './third-party-event-configuration-types';
|
|
1
|
+
export * from './api';
|
|
2
|
+
export * from './common';
|
|
3
|
+
export * from './event';
|
|
4
|
+
export * from './event-bus-event';
|
|
5
|
+
export * from './third-party-event-configuration-types';
|
package/dist/cjs/types/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api"), exports);
|
|
18
|
-
__exportStar(require("./common"), exports);
|
|
19
|
-
__exportStar(require("./event"), exports);
|
|
20
|
-
__exportStar(require("./event-bus-event"), exports);
|
|
21
|
-
__exportStar(require("./third-party-event-configuration-types"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./api"), exports);
|
|
18
|
+
__exportStar(require("./common"), exports);
|
|
19
|
+
__exportStar(require("./event"), exports);
|
|
20
|
+
__exportStar(require("./event-bus-event"), exports);
|
|
21
|
+
__exportStar(require("./third-party-event-configuration-types"), exports);
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface DestinationConfiguration {
|
|
2
|
-
eventConfigurations: DestinationEventSpecificConfiguration[];
|
|
3
|
-
}
|
|
4
|
-
export interface DestinationEventSpecificConfiguration {
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
sourceEventName: string;
|
|
7
|
-
destinationEventName?: string;
|
|
8
|
-
excludeEvent?: boolean;
|
|
9
|
-
}
|
|
1
|
+
export interface DestinationConfiguration {
|
|
2
|
+
eventConfigurations: DestinationEventSpecificConfiguration[];
|
|
3
|
+
}
|
|
4
|
+
export interface DestinationEventSpecificConfiguration {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
sourceEventName: string;
|
|
7
|
+
destinationEventName?: string;
|
|
8
|
+
excludeEvent?: boolean;
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=third-party-event-configuration-types.js.map
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './types';
|
|
1
|
+
export * from './types';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './types';
|
|
1
|
+
export * from './types';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,36 +1,36 @@
|
|
|
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
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
}
|
|
17
|
-
export interface Pixel {
|
|
18
|
-
id: string;
|
|
19
|
-
accountId: string;
|
|
20
|
-
name: string;
|
|
21
|
-
createdAt: string;
|
|
22
|
-
updatedAt: string;
|
|
23
|
-
}
|
|
24
|
-
export declare enum ACCOUNT_STATUS {
|
|
25
|
-
PENDING = "pending",
|
|
26
|
-
ACTIVE = "active",
|
|
27
|
-
INACTIVE = "inactive"
|
|
28
|
-
}
|
|
29
|
-
export interface AccountSettings {
|
|
30
|
-
defaultTimezone?: string;
|
|
31
|
-
selectedTimezone?: string;
|
|
32
|
-
defaultCurrency?: string;
|
|
33
|
-
selectedCurrency?: string;
|
|
34
|
-
countPendingOrders?: boolean;
|
|
35
|
-
countVoidedOrders?: boolean;
|
|
36
|
-
}
|
|
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
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
}
|
|
17
|
+
export interface Pixel {
|
|
18
|
+
id: string;
|
|
19
|
+
accountId: string;
|
|
20
|
+
name: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
updatedAt: string;
|
|
23
|
+
}
|
|
24
|
+
export declare enum ACCOUNT_STATUS {
|
|
25
|
+
PENDING = "pending",
|
|
26
|
+
ACTIVE = "active",
|
|
27
|
+
INACTIVE = "inactive"
|
|
28
|
+
}
|
|
29
|
+
export interface AccountSettings {
|
|
30
|
+
defaultTimezone?: string;
|
|
31
|
+
selectedTimezone?: string;
|
|
32
|
+
defaultCurrency?: string;
|
|
33
|
+
selectedCurrency?: string;
|
|
34
|
+
countPendingOrders?: boolean;
|
|
35
|
+
countVoidedOrders?: boolean;
|
|
36
|
+
}
|
|
@@ -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
|
|
@@ -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,65 +1,65 @@
|
|
|
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
|
-
}
|
|
13
|
-
export declare enum DESTINATION_TYPE {
|
|
14
|
-
INTEGRATION = "integration",
|
|
15
|
-
DESTIANTION = "destination"
|
|
16
|
-
}
|
|
17
|
-
export declare enum DESTINATION {
|
|
18
|
-
FACEBOOK = "facebook",
|
|
19
|
-
TIKTOK = "tiktok",
|
|
20
|
-
GOOGLE_ADS = "googleAds",
|
|
21
|
-
GOOGLE_ANALYTICS_4 = "googleAnalytics4",
|
|
22
|
-
HUBSPOT = "hubspot",
|
|
23
|
-
WEBHOOK = "webhook",
|
|
24
|
-
CUSTOM_HTML = "customHTML",
|
|
25
|
-
CUSTOM_JS = "customJS",
|
|
26
|
-
SNAPCHAT = "snapchat",
|
|
27
|
-
TWITTER = "twitter",
|
|
28
|
-
REDDIT = "reddit",
|
|
29
|
-
INTERCOM = "intercom",
|
|
30
|
-
CUSTOMER_IO = "customerIO",
|
|
31
|
-
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
32
|
-
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration"
|
|
33
|
-
}
|
|
34
|
-
export interface UserDestinationConfiguration {
|
|
35
|
-
[key: string]: any;
|
|
36
|
-
eventBlacklist?: string[];
|
|
37
|
-
events?: EventConfiguration[];
|
|
38
|
-
trigger?: DestinationTriggerConfiguration;
|
|
39
|
-
}
|
|
40
|
-
export interface DestinationTriggerConfiguration {
|
|
41
|
-
shopify?: ShopifyTriggerConfiguration;
|
|
42
|
-
exludeDomains?: string[];
|
|
43
|
-
excludePages?: string[];
|
|
44
|
-
domains?: string[];
|
|
45
|
-
pages?: string[];
|
|
46
|
-
}
|
|
47
|
-
export interface ShopifyTriggerConfiguration {
|
|
48
|
-
enabled: boolean;
|
|
49
|
-
collections?: string[];
|
|
50
|
-
tags?: string[];
|
|
51
|
-
}
|
|
52
|
-
export interface EventConfiguration {
|
|
53
|
-
sourceEventName: string;
|
|
54
|
-
exclude?: boolean;
|
|
55
|
-
sample: EventSampleConfiguration;
|
|
56
|
-
transformations?: EventTransformation[];
|
|
57
|
-
}
|
|
58
|
-
export interface EventTransformation {
|
|
59
|
-
transformationEventName: string;
|
|
60
|
-
enabled: boolean;
|
|
61
|
-
}
|
|
62
|
-
export interface EventSampleConfiguration {
|
|
63
|
-
enabled: boolean;
|
|
64
|
-
rate: number;
|
|
65
|
-
}
|
|
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
|
+
}
|
|
13
|
+
export declare enum DESTINATION_TYPE {
|
|
14
|
+
INTEGRATION = "integration",
|
|
15
|
+
DESTIANTION = "destination"
|
|
16
|
+
}
|
|
17
|
+
export declare enum DESTINATION {
|
|
18
|
+
FACEBOOK = "facebook",
|
|
19
|
+
TIKTOK = "tiktok",
|
|
20
|
+
GOOGLE_ADS = "googleAds",
|
|
21
|
+
GOOGLE_ANALYTICS_4 = "googleAnalytics4",
|
|
22
|
+
HUBSPOT = "hubspot",
|
|
23
|
+
WEBHOOK = "webhook",
|
|
24
|
+
CUSTOM_HTML = "customHTML",
|
|
25
|
+
CUSTOM_JS = "customJS",
|
|
26
|
+
SNAPCHAT = "snapchat",
|
|
27
|
+
TWITTER = "twitter",
|
|
28
|
+
REDDIT = "reddit",
|
|
29
|
+
INTERCOM = "intercom",
|
|
30
|
+
CUSTOMER_IO = "customerIO",
|
|
31
|
+
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
32
|
+
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration"
|
|
33
|
+
}
|
|
34
|
+
export interface UserDestinationConfiguration {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
eventBlacklist?: string[];
|
|
37
|
+
events?: EventConfiguration[];
|
|
38
|
+
trigger?: DestinationTriggerConfiguration;
|
|
39
|
+
}
|
|
40
|
+
export interface DestinationTriggerConfiguration {
|
|
41
|
+
shopify?: ShopifyTriggerConfiguration;
|
|
42
|
+
exludeDomains?: string[];
|
|
43
|
+
excludePages?: string[];
|
|
44
|
+
domains?: string[];
|
|
45
|
+
pages?: string[];
|
|
46
|
+
}
|
|
47
|
+
export interface ShopifyTriggerConfiguration {
|
|
48
|
+
enabled: boolean;
|
|
49
|
+
collections?: string[];
|
|
50
|
+
tags?: string[];
|
|
51
|
+
}
|
|
52
|
+
export interface EventConfiguration {
|
|
53
|
+
sourceEventName: string;
|
|
54
|
+
exclude?: boolean;
|
|
55
|
+
sample: EventSampleConfiguration;
|
|
56
|
+
transformations?: EventTransformation[];
|
|
57
|
+
}
|
|
58
|
+
export interface EventTransformation {
|
|
59
|
+
transformationEventName: string;
|
|
60
|
+
enabled: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface EventSampleConfiguration {
|
|
63
|
+
enabled: boolean;
|
|
64
|
+
rate: number;
|
|
65
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export var DESTINATION_TYPE;
|
|
2
|
-
(function (DESTINATION_TYPE) {
|
|
3
|
-
DESTINATION_TYPE["INTEGRATION"] = "integration";
|
|
4
|
-
DESTINATION_TYPE["DESTIANTION"] = "destination";
|
|
5
|
-
})(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
|
|
6
|
-
export var DESTINATION;
|
|
7
|
-
(function (DESTINATION) {
|
|
8
|
-
DESTINATION["FACEBOOK"] = "facebook";
|
|
9
|
-
DESTINATION["TIKTOK"] = "tiktok";
|
|
10
|
-
DESTINATION["GOOGLE_ADS"] = "googleAds";
|
|
11
|
-
DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
|
|
12
|
-
DESTINATION["HUBSPOT"] = "hubspot";
|
|
13
|
-
DESTINATION["WEBHOOK"] = "webhook";
|
|
14
|
-
DESTINATION["CUSTOM_HTML"] = "customHTML";
|
|
15
|
-
DESTINATION["CUSTOM_JS"] = "customJS";
|
|
16
|
-
DESTINATION["SNAPCHAT"] = "snapchat";
|
|
17
|
-
DESTINATION["TWITTER"] = "twitter";
|
|
18
|
-
DESTINATION["REDDIT"] = "reddit";
|
|
19
|
-
DESTINATION["INTERCOM"] = "intercom";
|
|
20
|
-
DESTINATION["CUSTOMER_IO"] = "customerIO";
|
|
21
|
-
DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
22
|
-
DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
23
|
-
})(DESTINATION || (DESTINATION = {}));
|
|
1
|
+
export var DESTINATION_TYPE;
|
|
2
|
+
(function (DESTINATION_TYPE) {
|
|
3
|
+
DESTINATION_TYPE["INTEGRATION"] = "integration";
|
|
4
|
+
DESTINATION_TYPE["DESTIANTION"] = "destination";
|
|
5
|
+
})(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
|
|
6
|
+
export var DESTINATION;
|
|
7
|
+
(function (DESTINATION) {
|
|
8
|
+
DESTINATION["FACEBOOK"] = "facebook";
|
|
9
|
+
DESTINATION["TIKTOK"] = "tiktok";
|
|
10
|
+
DESTINATION["GOOGLE_ADS"] = "googleAds";
|
|
11
|
+
DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
|
|
12
|
+
DESTINATION["HUBSPOT"] = "hubspot";
|
|
13
|
+
DESTINATION["WEBHOOK"] = "webhook";
|
|
14
|
+
DESTINATION["CUSTOM_HTML"] = "customHTML";
|
|
15
|
+
DESTINATION["CUSTOM_JS"] = "customJS";
|
|
16
|
+
DESTINATION["SNAPCHAT"] = "snapchat";
|
|
17
|
+
DESTINATION["TWITTER"] = "twitter";
|
|
18
|
+
DESTINATION["REDDIT"] = "reddit";
|
|
19
|
+
DESTINATION["INTERCOM"] = "intercom";
|
|
20
|
+
DESTINATION["CUSTOMER_IO"] = "customerIO";
|
|
21
|
+
DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
22
|
+
DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
23
|
+
})(DESTINATION || (DESTINATION = {}));
|
|
24
24
|
//# sourceMappingURL=destinations.js.map
|
|
@@ -1,53 +1,53 @@
|
|
|
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 FacebookPixelConfiguration extends UserDestinationConfiguration {
|
|
12
|
-
apiAccessToken?: string;
|
|
13
|
-
enableConversionAPI: boolean;
|
|
14
|
-
pixelId: string;
|
|
15
|
-
}
|
|
16
|
-
export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
|
|
17
|
-
apiAccessToken?: string;
|
|
18
|
-
enableConversionAPI: boolean;
|
|
19
|
-
pixelId: string;
|
|
20
|
-
}
|
|
21
|
-
export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
|
|
22
|
-
apiSecret: string;
|
|
23
|
-
measurementId: string;
|
|
24
|
-
}
|
|
25
|
-
export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
|
|
26
|
-
pixelId: string;
|
|
27
|
-
conversionID: string;
|
|
28
|
-
}
|
|
29
|
-
export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
|
|
30
|
-
hubspotId: string;
|
|
31
|
-
}
|
|
32
|
-
export interface SnapchatPixelConfiguration extends UserDestinationConfiguration {
|
|
33
|
-
snapchatPixelId: string;
|
|
34
|
-
}
|
|
35
|
-
export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
|
|
36
|
-
twitterPixelId: string;
|
|
37
|
-
}
|
|
38
|
-
export interface IntercomTagConfiguration extends UserDestinationConfiguration {
|
|
39
|
-
appId: string;
|
|
40
|
-
apiBase: string;
|
|
41
|
-
}
|
|
42
|
-
export interface WebhookConfiguration extends UserDestinationConfiguration {
|
|
43
|
-
webhookUrl: string;
|
|
44
|
-
}
|
|
45
|
-
export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
|
|
46
|
-
html: string;
|
|
47
|
-
location: CustomHTMLLocation;
|
|
48
|
-
}
|
|
49
|
-
export declare enum CustomHTMLLocation {
|
|
50
|
-
HEADER = "header",
|
|
51
|
-
FOOTER = "footer",
|
|
52
|
-
BODY = "body"
|
|
53
|
-
}
|
|
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 FacebookPixelConfiguration extends UserDestinationConfiguration {
|
|
12
|
+
apiAccessToken?: string;
|
|
13
|
+
enableConversionAPI: boolean;
|
|
14
|
+
pixelId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
|
|
17
|
+
apiAccessToken?: string;
|
|
18
|
+
enableConversionAPI: boolean;
|
|
19
|
+
pixelId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
|
|
22
|
+
apiSecret: string;
|
|
23
|
+
measurementId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
|
|
26
|
+
pixelId: string;
|
|
27
|
+
conversionID: string;
|
|
28
|
+
}
|
|
29
|
+
export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
|
|
30
|
+
hubspotId: string;
|
|
31
|
+
}
|
|
32
|
+
export interface SnapchatPixelConfiguration extends UserDestinationConfiguration {
|
|
33
|
+
snapchatPixelId: string;
|
|
34
|
+
}
|
|
35
|
+
export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
|
|
36
|
+
twitterPixelId: string;
|
|
37
|
+
}
|
|
38
|
+
export interface IntercomTagConfiguration extends UserDestinationConfiguration {
|
|
39
|
+
appId: string;
|
|
40
|
+
apiBase: string;
|
|
41
|
+
}
|
|
42
|
+
export interface WebhookConfiguration extends UserDestinationConfiguration {
|
|
43
|
+
webhookUrl: string;
|
|
44
|
+
}
|
|
45
|
+
export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
|
|
46
|
+
html: string;
|
|
47
|
+
location: CustomHTMLLocation;
|
|
48
|
+
}
|
|
49
|
+
export declare enum CustomHTMLLocation {
|
|
50
|
+
HEADER = "header",
|
|
51
|
+
FOOTER = "footer",
|
|
52
|
+
BODY = "body"
|
|
53
|
+
}
|
|
@@ -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
|