@adtrackify/at-tracking-event-types 2.0.34 → 2.0.36
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/types/api/destinations/destination-catalog.d.ts +3 -2
- package/dist/cjs/types/api/destinations/destinations.d.ts +7 -3
- package/dist/cjs/types/api/destinations/destinations.js +22 -17
- package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
- package/dist/cjs/types/event/log-event.d.ts +2 -2
- package/dist/esm/types/api/destinations/destination-catalog.d.ts +3 -2
- package/dist/esm/types/api/destinations/destinations.d.ts +7 -3
- package/dist/esm/types/api/destinations/destinations.js +21 -16
- package/dist/esm/types/api/destinations/destinations.js.map +1 -1
- package/dist/esm/types/event/log-event.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { DESTINATION, DESTINATION_TYPE } from './destinations';
|
|
1
2
|
export interface DestinationCatalogItem {
|
|
2
3
|
id: string;
|
|
3
4
|
active: boolean;
|
|
4
|
-
destinationKey:
|
|
5
|
-
destinationType:
|
|
5
|
+
destinationKey: DESTINATION;
|
|
6
|
+
destinationType: DESTINATION_TYPE;
|
|
6
7
|
displayName?: string;
|
|
7
8
|
shortName?: string;
|
|
8
9
|
description?: string;
|
|
@@ -2,15 +2,19 @@ export interface Destination {
|
|
|
2
2
|
id: string;
|
|
3
3
|
accountId: string;
|
|
4
4
|
pixelId: string;
|
|
5
|
-
destination:
|
|
6
|
-
destinationType?:
|
|
5
|
+
destination: DESTINATION;
|
|
6
|
+
destinationType?: DESTINATION_TYPE;
|
|
7
7
|
displayName?: string;
|
|
8
8
|
enabled: boolean;
|
|
9
9
|
configuration?: UserDestinationConfiguration;
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
12
|
}
|
|
13
|
-
export declare enum
|
|
13
|
+
export declare enum DESTINATION_TYPE {
|
|
14
|
+
INTEGRATION = "integration",
|
|
15
|
+
DESTIANTION = "destination"
|
|
16
|
+
}
|
|
17
|
+
export declare enum DESTINATION {
|
|
14
18
|
FACEBOOK = "facebook",
|
|
15
19
|
TIKTOK = "tiktok",
|
|
16
20
|
GOOGLE_ADS = "googleAds",
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
exports.DESTINATION = exports.DESTINATION_TYPE = void 0;
|
|
4
|
+
var DESTINATION_TYPE;
|
|
5
|
+
(function (DESTINATION_TYPE) {
|
|
6
|
+
DESTINATION_TYPE["INTEGRATION"] = "integration";
|
|
7
|
+
DESTINATION_TYPE["DESTIANTION"] = "destination";
|
|
8
|
+
})(DESTINATION_TYPE = exports.DESTINATION_TYPE || (exports.DESTINATION_TYPE = {}));
|
|
9
|
+
var DESTINATION;
|
|
10
|
+
(function (DESTINATION) {
|
|
11
|
+
DESTINATION["FACEBOOK"] = "facebook";
|
|
12
|
+
DESTINATION["TIKTOK"] = "tiktok";
|
|
13
|
+
DESTINATION["GOOGLE_ADS"] = "googleAds";
|
|
14
|
+
DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
|
|
15
|
+
DESTINATION["HUBSPOT"] = "hubspot";
|
|
16
|
+
DESTINATION["WEBHOOK"] = "webhook";
|
|
17
|
+
DESTINATION["CUSTOM_HTML"] = "customHTML";
|
|
18
|
+
DESTINATION["SNAPCHAT"] = "snapchat";
|
|
19
|
+
DESTINATION["TWITTER"] = "twitter";
|
|
20
|
+
DESTINATION["REDDIT"] = "reddit";
|
|
21
|
+
DESTINATION["INTERCOM"] = "intercom";
|
|
22
|
+
DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
23
|
+
DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
24
|
+
})(DESTINATION = exports.DESTINATION || (exports.DESTINATION = {}));
|
|
20
25
|
//# sourceMappingURL=destinations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":";;;AAaA,IAAY,
|
|
1
|
+
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":";;;AAaA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;AAC7B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,WAcX;AAdD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,sDAAuC,CAAA;IACvC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;AACjD,CAAC,EAdW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QActB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DESTINATION } from '../api';
|
|
2
2
|
import { InternalEvent } from './base/event';
|
|
3
3
|
export interface LogEvent extends InternalEvent {
|
|
4
4
|
data: LogEventData;
|
|
@@ -12,7 +12,7 @@ export interface LogEventData {
|
|
|
12
12
|
context?: LogContext;
|
|
13
13
|
}
|
|
14
14
|
export interface LogContext {
|
|
15
|
-
integrationType?:
|
|
15
|
+
integrationType?: DESTINATION;
|
|
16
16
|
eventId?: string;
|
|
17
17
|
errorCode?: number;
|
|
18
18
|
errorMessage?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { DESTINATION, DESTINATION_TYPE } from './destinations';
|
|
1
2
|
export interface DestinationCatalogItem {
|
|
2
3
|
id: string;
|
|
3
4
|
active: boolean;
|
|
4
|
-
destinationKey:
|
|
5
|
-
destinationType:
|
|
5
|
+
destinationKey: DESTINATION;
|
|
6
|
+
destinationType: DESTINATION_TYPE;
|
|
6
7
|
displayName?: string;
|
|
7
8
|
shortName?: string;
|
|
8
9
|
description?: string;
|
|
@@ -2,15 +2,19 @@ export interface Destination {
|
|
|
2
2
|
id: string;
|
|
3
3
|
accountId: string;
|
|
4
4
|
pixelId: string;
|
|
5
|
-
destination:
|
|
6
|
-
destinationType?:
|
|
5
|
+
destination: DESTINATION;
|
|
6
|
+
destinationType?: DESTINATION_TYPE;
|
|
7
7
|
displayName?: string;
|
|
8
8
|
enabled: boolean;
|
|
9
9
|
configuration?: UserDestinationConfiguration;
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
12
|
}
|
|
13
|
-
export declare enum
|
|
13
|
+
export declare enum DESTINATION_TYPE {
|
|
14
|
+
INTEGRATION = "integration",
|
|
15
|
+
DESTIANTION = "destination"
|
|
16
|
+
}
|
|
17
|
+
export declare enum DESTINATION {
|
|
14
18
|
FACEBOOK = "facebook",
|
|
15
19
|
TIKTOK = "tiktok",
|
|
16
20
|
GOOGLE_ADS = "googleAds",
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
export var
|
|
2
|
-
(function (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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["SNAPCHAT"] = "snapchat";
|
|
16
|
+
DESTINATION["TWITTER"] = "twitter";
|
|
17
|
+
DESTINATION["REDDIT"] = "reddit";
|
|
18
|
+
DESTINATION["INTERCOM"] = "intercom";
|
|
19
|
+
DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
20
|
+
DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
21
|
+
})(DESTINATION || (DESTINATION = {}));
|
|
17
22
|
//# sourceMappingURL=destinations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":"AAaA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":"AAaA,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;AAC7B,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAED,MAAM,CAAN,IAAY,WAcX;AAdD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,sDAAuC,CAAA;IACvC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;AACjD,CAAC,EAdW,WAAW,KAAX,WAAW,QActB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DESTINATION } from '../api';
|
|
2
2
|
import { InternalEvent } from './base/event';
|
|
3
3
|
export interface LogEvent extends InternalEvent {
|
|
4
4
|
data: LogEventData;
|
|
@@ -12,7 +12,7 @@ export interface LogEventData {
|
|
|
12
12
|
context?: LogContext;
|
|
13
13
|
}
|
|
14
14
|
export interface LogContext {
|
|
15
|
-
integrationType?:
|
|
15
|
+
integrationType?: DESTINATION;
|
|
16
16
|
eventId?: string;
|
|
17
17
|
errorCode?: number;
|
|
18
18
|
errorMessage?: string;
|