@adtrackify/at-tracking-event-types 2.0.36 → 2.0.37
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/event/base/event.d.ts +1 -0
- package/dist/cjs/types/event/base/event.js.map +1 -1
- package/dist/cjs/types/event/context/event-context.d.ts +49 -48
- package/dist/cjs/types/event/log-event.d.ts +4 -5
- package/dist/cjs/types/event/log-event.js.map +1 -1
- package/dist/esm/types/event/base/event.d.ts +1 -0
- package/dist/esm/types/event/base/event.js.map +1 -1
- package/dist/esm/types/event/context/event-context.d.ts +49 -48
- package/dist/esm/types/event/log-event.d.ts +4 -5
- package/dist/esm/types/event/log-event.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/types/event/base/event.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/types/event/base/event.ts"],"names":[],"mappings":";;;AAkBA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,4CAAqB,CAAA;IACrB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
|
|
@@ -2,7 +2,7 @@ import { EventIdentity as EventIdentity } from './event-context-identity';
|
|
|
2
2
|
import { IResult } from 'ua-parser-js';
|
|
3
3
|
export interface EventContext {
|
|
4
4
|
externalId?: string;
|
|
5
|
-
identity
|
|
5
|
+
identity?: EventIdentity;
|
|
6
6
|
properties?: EventContextProperties;
|
|
7
7
|
}
|
|
8
8
|
export interface EventContextProperties {
|
|
@@ -21,66 +21,66 @@ export interface EventContextProperties {
|
|
|
21
21
|
enrichment?: Enrichment;
|
|
22
22
|
}
|
|
23
23
|
export interface IPDataResponse {
|
|
24
|
-
ip
|
|
25
|
-
is_eu
|
|
24
|
+
ip?: string;
|
|
25
|
+
is_eu?: boolean;
|
|
26
26
|
city?: string;
|
|
27
27
|
region?: string;
|
|
28
28
|
region_code?: string;
|
|
29
|
-
country_name
|
|
30
|
-
country_code
|
|
31
|
-
continent_name
|
|
32
|
-
continent_code
|
|
33
|
-
latitude
|
|
34
|
-
longitude
|
|
29
|
+
country_name?: string;
|
|
30
|
+
country_code?: string;
|
|
31
|
+
continent_name?: string;
|
|
32
|
+
continent_code?: string;
|
|
33
|
+
latitude?: number;
|
|
34
|
+
longitude?: number;
|
|
35
35
|
postal?: string;
|
|
36
|
-
calling_code
|
|
37
|
-
flag
|
|
38
|
-
emoji_flag
|
|
39
|
-
emoji_unicode
|
|
36
|
+
calling_code?: string;
|
|
37
|
+
flag?: string;
|
|
38
|
+
emoji_flag?: string;
|
|
39
|
+
emoji_unicode?: string;
|
|
40
40
|
asn: {
|
|
41
|
-
asn
|
|
42
|
-
name
|
|
43
|
-
domain
|
|
44
|
-
route
|
|
45
|
-
type
|
|
41
|
+
asn?: string;
|
|
42
|
+
name?: string;
|
|
43
|
+
domain?: string;
|
|
44
|
+
route?: string;
|
|
45
|
+
type?: string;
|
|
46
46
|
};
|
|
47
47
|
company?: {
|
|
48
|
-
name
|
|
49
|
-
domain
|
|
50
|
-
network
|
|
51
|
-
type
|
|
48
|
+
name?: string;
|
|
49
|
+
domain?: string;
|
|
50
|
+
network?: string;
|
|
51
|
+
type?: string;
|
|
52
52
|
};
|
|
53
53
|
carrier?: {
|
|
54
|
-
name
|
|
55
|
-
mcc
|
|
56
|
-
mnc
|
|
54
|
+
name?: string;
|
|
55
|
+
mcc?: string;
|
|
56
|
+
mnc?: string;
|
|
57
57
|
};
|
|
58
|
-
languages
|
|
59
|
-
name
|
|
60
|
-
native
|
|
58
|
+
languages?: {
|
|
59
|
+
name?: string;
|
|
60
|
+
native?: string;
|
|
61
61
|
}[];
|
|
62
|
-
currency
|
|
63
|
-
name
|
|
64
|
-
code
|
|
65
|
-
symbol
|
|
66
|
-
native
|
|
67
|
-
plural
|
|
62
|
+
currency?: {
|
|
63
|
+
name?: string;
|
|
64
|
+
code?: string;
|
|
65
|
+
symbol?: string;
|
|
66
|
+
native?: string;
|
|
67
|
+
plural?: string;
|
|
68
68
|
};
|
|
69
|
-
time_zone
|
|
70
|
-
name
|
|
71
|
-
abbr
|
|
72
|
-
offset
|
|
73
|
-
is_dst
|
|
74
|
-
current_time
|
|
69
|
+
time_zone?: {
|
|
70
|
+
name?: string;
|
|
71
|
+
abbr?: string;
|
|
72
|
+
offset?: string;
|
|
73
|
+
is_dst?: boolean;
|
|
74
|
+
current_time?: string;
|
|
75
75
|
};
|
|
76
|
-
threat
|
|
77
|
-
is_tor
|
|
78
|
-
is_proxy
|
|
79
|
-
is_anonymous
|
|
80
|
-
is_known_attacker
|
|
81
|
-
is_known_abuser
|
|
82
|
-
is_threat
|
|
83
|
-
is_bogon
|
|
76
|
+
threat?: {
|
|
77
|
+
is_tor?: boolean;
|
|
78
|
+
is_proxy?: boolean;
|
|
79
|
+
is_anonymous?: boolean;
|
|
80
|
+
is_known_attacker?: boolean;
|
|
81
|
+
is_known_abuser?: boolean;
|
|
82
|
+
is_threat?: boolean;
|
|
83
|
+
is_bogon?: boolean;
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
export interface Enrichment {
|
|
@@ -109,6 +109,7 @@ export interface AdClickInfo {
|
|
|
109
109
|
fbc?: string;
|
|
110
110
|
fbclid?: string;
|
|
111
111
|
gclid?: string;
|
|
112
|
+
googleClientIds?: string[];
|
|
112
113
|
gbraid?: string;
|
|
113
114
|
wbraid?: string;
|
|
114
115
|
ttclid?: string;
|
|
@@ -4,12 +4,11 @@ export interface LogEvent extends InternalEvent {
|
|
|
4
4
|
data: LogEventData;
|
|
5
5
|
}
|
|
6
6
|
export interface LogEventData {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
source?: string;
|
|
9
|
+
service?: string;
|
|
10
|
+
logMessage: string;
|
|
11
11
|
logLevel: LogLevel;
|
|
12
|
-
context?: LogContext;
|
|
13
12
|
}
|
|
14
13
|
export interface LogContext {
|
|
15
14
|
integrationType?: DESTINATION;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-event.js","sourceRoot":"","sources":["../../../../src/types/event/log-event.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"log-event.js","sourceRoot":"","sources":["../../../../src/types/event/log-event.ts"],"names":[],"mappings":";;;AA2BA,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,yBAAa,CAAA;AACf,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAEY,QAAA,UAAU,GAAG;IACxB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;CACT,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/types/event/base/event.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/types/event/base/event.ts"],"names":[],"mappings":"AAkBA,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,4CAAqB,CAAA;IACrB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B"}
|
|
@@ -2,7 +2,7 @@ import { EventIdentity as EventIdentity } from './event-context-identity';
|
|
|
2
2
|
import { IResult } from 'ua-parser-js';
|
|
3
3
|
export interface EventContext {
|
|
4
4
|
externalId?: string;
|
|
5
|
-
identity
|
|
5
|
+
identity?: EventIdentity;
|
|
6
6
|
properties?: EventContextProperties;
|
|
7
7
|
}
|
|
8
8
|
export interface EventContextProperties {
|
|
@@ -21,66 +21,66 @@ export interface EventContextProperties {
|
|
|
21
21
|
enrichment?: Enrichment;
|
|
22
22
|
}
|
|
23
23
|
export interface IPDataResponse {
|
|
24
|
-
ip
|
|
25
|
-
is_eu
|
|
24
|
+
ip?: string;
|
|
25
|
+
is_eu?: boolean;
|
|
26
26
|
city?: string;
|
|
27
27
|
region?: string;
|
|
28
28
|
region_code?: string;
|
|
29
|
-
country_name
|
|
30
|
-
country_code
|
|
31
|
-
continent_name
|
|
32
|
-
continent_code
|
|
33
|
-
latitude
|
|
34
|
-
longitude
|
|
29
|
+
country_name?: string;
|
|
30
|
+
country_code?: string;
|
|
31
|
+
continent_name?: string;
|
|
32
|
+
continent_code?: string;
|
|
33
|
+
latitude?: number;
|
|
34
|
+
longitude?: number;
|
|
35
35
|
postal?: string;
|
|
36
|
-
calling_code
|
|
37
|
-
flag
|
|
38
|
-
emoji_flag
|
|
39
|
-
emoji_unicode
|
|
36
|
+
calling_code?: string;
|
|
37
|
+
flag?: string;
|
|
38
|
+
emoji_flag?: string;
|
|
39
|
+
emoji_unicode?: string;
|
|
40
40
|
asn: {
|
|
41
|
-
asn
|
|
42
|
-
name
|
|
43
|
-
domain
|
|
44
|
-
route
|
|
45
|
-
type
|
|
41
|
+
asn?: string;
|
|
42
|
+
name?: string;
|
|
43
|
+
domain?: string;
|
|
44
|
+
route?: string;
|
|
45
|
+
type?: string;
|
|
46
46
|
};
|
|
47
47
|
company?: {
|
|
48
|
-
name
|
|
49
|
-
domain
|
|
50
|
-
network
|
|
51
|
-
type
|
|
48
|
+
name?: string;
|
|
49
|
+
domain?: string;
|
|
50
|
+
network?: string;
|
|
51
|
+
type?: string;
|
|
52
52
|
};
|
|
53
53
|
carrier?: {
|
|
54
|
-
name
|
|
55
|
-
mcc
|
|
56
|
-
mnc
|
|
54
|
+
name?: string;
|
|
55
|
+
mcc?: string;
|
|
56
|
+
mnc?: string;
|
|
57
57
|
};
|
|
58
|
-
languages
|
|
59
|
-
name
|
|
60
|
-
native
|
|
58
|
+
languages?: {
|
|
59
|
+
name?: string;
|
|
60
|
+
native?: string;
|
|
61
61
|
}[];
|
|
62
|
-
currency
|
|
63
|
-
name
|
|
64
|
-
code
|
|
65
|
-
symbol
|
|
66
|
-
native
|
|
67
|
-
plural
|
|
62
|
+
currency?: {
|
|
63
|
+
name?: string;
|
|
64
|
+
code?: string;
|
|
65
|
+
symbol?: string;
|
|
66
|
+
native?: string;
|
|
67
|
+
plural?: string;
|
|
68
68
|
};
|
|
69
|
-
time_zone
|
|
70
|
-
name
|
|
71
|
-
abbr
|
|
72
|
-
offset
|
|
73
|
-
is_dst
|
|
74
|
-
current_time
|
|
69
|
+
time_zone?: {
|
|
70
|
+
name?: string;
|
|
71
|
+
abbr?: string;
|
|
72
|
+
offset?: string;
|
|
73
|
+
is_dst?: boolean;
|
|
74
|
+
current_time?: string;
|
|
75
75
|
};
|
|
76
|
-
threat
|
|
77
|
-
is_tor
|
|
78
|
-
is_proxy
|
|
79
|
-
is_anonymous
|
|
80
|
-
is_known_attacker
|
|
81
|
-
is_known_abuser
|
|
82
|
-
is_threat
|
|
83
|
-
is_bogon
|
|
76
|
+
threat?: {
|
|
77
|
+
is_tor?: boolean;
|
|
78
|
+
is_proxy?: boolean;
|
|
79
|
+
is_anonymous?: boolean;
|
|
80
|
+
is_known_attacker?: boolean;
|
|
81
|
+
is_known_abuser?: boolean;
|
|
82
|
+
is_threat?: boolean;
|
|
83
|
+
is_bogon?: boolean;
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
export interface Enrichment {
|
|
@@ -109,6 +109,7 @@ export interface AdClickInfo {
|
|
|
109
109
|
fbc?: string;
|
|
110
110
|
fbclid?: string;
|
|
111
111
|
gclid?: string;
|
|
112
|
+
googleClientIds?: string[];
|
|
112
113
|
gbraid?: string;
|
|
113
114
|
wbraid?: string;
|
|
114
115
|
ttclid?: string;
|
|
@@ -4,12 +4,11 @@ export interface LogEvent extends InternalEvent {
|
|
|
4
4
|
data: LogEventData;
|
|
5
5
|
}
|
|
6
6
|
export interface LogEventData {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
source?: string;
|
|
9
|
+
service?: string;
|
|
10
|
+
logMessage: string;
|
|
11
11
|
logLevel: LogLevel;
|
|
12
|
-
context?: LogContext;
|
|
13
12
|
}
|
|
14
13
|
export interface LogContext {
|
|
15
14
|
integrationType?: DESTINATION;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-event.js","sourceRoot":"","sources":["../../../../src/types/event/log-event.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"log-event.js","sourceRoot":"","sources":["../../../../src/types/event/log-event.ts"],"names":[],"mappings":"AA2BA,MAAM,CAAN,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,yBAAa,CAAA;AACf,CAAC,EANW,QAAQ,KAAR,QAAQ,QAMnB;AAED,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;CACT,CAAC"}
|