@adtrackify/at-tracking-event-types 1.1.28 → 1.1.30
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/index.d.ts
CHANGED
|
@@ -558,7 +558,6 @@ declare module '@adtrackify/at-tracking-event-types/types/tracking-events/index'
|
|
|
558
558
|
declare module '@adtrackify/at-tracking-event-types/types/tracking-events/tracking-event-context' {
|
|
559
559
|
import { TrackingEventIdentity } from '@adtrackify/at-tracking-event-types/types/tracking-events/tracking-event-identity';
|
|
560
560
|
import { IResult } from 'ua-parser-js';
|
|
561
|
-
import { LookupResponse } from 'ipdata';
|
|
562
561
|
export interface TrackingEventContext {
|
|
563
562
|
externalId?: string;
|
|
564
563
|
identity: TrackingEventIdentity;
|
|
@@ -579,6 +578,69 @@ declare module '@adtrackify/at-tracking-event-types/types/tracking-events/tracki
|
|
|
579
578
|
adBlockDetected?: boolean;
|
|
580
579
|
enrichment?: Enrichment;
|
|
581
580
|
}
|
|
581
|
+
export interface IPDataResponse {
|
|
582
|
+
ip: string;
|
|
583
|
+
is_eu: boolean;
|
|
584
|
+
city?: string;
|
|
585
|
+
region?: string;
|
|
586
|
+
region_code?: string;
|
|
587
|
+
country_name: string;
|
|
588
|
+
country_code: string;
|
|
589
|
+
continent_name: string;
|
|
590
|
+
continent_code: string;
|
|
591
|
+
latitude: number;
|
|
592
|
+
longitude: number;
|
|
593
|
+
postal?: string;
|
|
594
|
+
calling_code: string;
|
|
595
|
+
flag: string;
|
|
596
|
+
emoji_flag: string;
|
|
597
|
+
emoji_unicode: string;
|
|
598
|
+
asn: {
|
|
599
|
+
asn: string;
|
|
600
|
+
name: string;
|
|
601
|
+
domain: string;
|
|
602
|
+
route: string;
|
|
603
|
+
type: string;
|
|
604
|
+
};
|
|
605
|
+
company?: {
|
|
606
|
+
name: string;
|
|
607
|
+
domain: string;
|
|
608
|
+
network: string;
|
|
609
|
+
type: string;
|
|
610
|
+
};
|
|
611
|
+
carrier?: {
|
|
612
|
+
name: string;
|
|
613
|
+
mcc: string;
|
|
614
|
+
mnc: string;
|
|
615
|
+
};
|
|
616
|
+
languages: {
|
|
617
|
+
name: string;
|
|
618
|
+
native: string;
|
|
619
|
+
}[];
|
|
620
|
+
currency: {
|
|
621
|
+
name: string;
|
|
622
|
+
code: string;
|
|
623
|
+
symbol: string;
|
|
624
|
+
native: string;
|
|
625
|
+
plural: string;
|
|
626
|
+
};
|
|
627
|
+
time_zone: {
|
|
628
|
+
name: string;
|
|
629
|
+
abbr: string;
|
|
630
|
+
offset: string;
|
|
631
|
+
is_dst: boolean;
|
|
632
|
+
current_time: string;
|
|
633
|
+
};
|
|
634
|
+
threat: {
|
|
635
|
+
is_tor: boolean;
|
|
636
|
+
is_proxy: boolean;
|
|
637
|
+
is_anonymous: boolean;
|
|
638
|
+
is_known_attacker: boolean;
|
|
639
|
+
is_known_abuser: boolean;
|
|
640
|
+
is_threat: boolean;
|
|
641
|
+
is_bogon: boolean;
|
|
642
|
+
};
|
|
643
|
+
}
|
|
582
644
|
export interface Enrichment {
|
|
583
645
|
refrMedium?: string;
|
|
584
646
|
refrSource?: string;
|
|
@@ -588,11 +650,12 @@ declare module '@adtrackify/at-tracking-event-types/types/tracking-events/tracki
|
|
|
588
650
|
mktMedium?: string;
|
|
589
651
|
mktTerm?: string;
|
|
590
652
|
mktContent?: string;
|
|
653
|
+
mktClickParam?: string;
|
|
591
654
|
mktClickId?: string;
|
|
592
655
|
mktClickNetwork?: string;
|
|
593
656
|
isMobile?: boolean;
|
|
594
657
|
isWirelessCarrier?: boolean;
|
|
595
|
-
ipLookupResponse?:
|
|
658
|
+
ipLookupResponse?: IPDataResponse;
|
|
596
659
|
}
|
|
597
660
|
export interface AdClickInfo {
|
|
598
661
|
fbp?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adtrackify/at-tracking-event-types",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.30",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"eslint-webpack-plugin": "^3.1.1",
|
|
56
56
|
"glob": "^8.0.3",
|
|
57
57
|
"husky": "^6.0.0",
|
|
58
|
-
"ipdata": "^2.2.4",
|
|
59
58
|
"jest": "^27.5.1",
|
|
60
59
|
"jest-cucumber": "3.0.1",
|
|
61
60
|
"jest-junit": "13.0.0",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TrackingEventIdentity } from './tracking-event-identity';
|
|
2
2
|
import { IResult } from 'ua-parser-js';
|
|
3
|
-
import { LookupResponse } from 'ipdata';
|
|
4
3
|
|
|
5
4
|
export interface TrackingEventContext {
|
|
6
5
|
externalId?: string;
|
|
@@ -23,6 +22,70 @@ export interface TrackingEventContextProperties {
|
|
|
23
22
|
enrichment?: Enrichment;
|
|
24
23
|
}
|
|
25
24
|
|
|
25
|
+
export interface IPDataResponse {
|
|
26
|
+
ip: string;
|
|
27
|
+
is_eu: boolean;
|
|
28
|
+
city?: string;
|
|
29
|
+
region?: string;
|
|
30
|
+
region_code?: string;
|
|
31
|
+
country_name: string;
|
|
32
|
+
country_code: string;
|
|
33
|
+
continent_name: string;
|
|
34
|
+
continent_code: string;
|
|
35
|
+
latitude: number;
|
|
36
|
+
longitude: number;
|
|
37
|
+
postal?: string;
|
|
38
|
+
calling_code: string;
|
|
39
|
+
flag: string;
|
|
40
|
+
emoji_flag: string;
|
|
41
|
+
emoji_unicode: string;
|
|
42
|
+
asn: {
|
|
43
|
+
asn: string;
|
|
44
|
+
name: string;
|
|
45
|
+
domain: string;
|
|
46
|
+
route: string;
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
company?: {
|
|
50
|
+
name: string;
|
|
51
|
+
domain: string;
|
|
52
|
+
network: string;
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
carrier?: {
|
|
56
|
+
name: string;
|
|
57
|
+
mcc: string;
|
|
58
|
+
mnc: string;
|
|
59
|
+
};
|
|
60
|
+
languages: {
|
|
61
|
+
name: string;
|
|
62
|
+
native: string;
|
|
63
|
+
}[];
|
|
64
|
+
currency: {
|
|
65
|
+
name: string;
|
|
66
|
+
code: string;
|
|
67
|
+
symbol: string;
|
|
68
|
+
native: string;
|
|
69
|
+
plural: string;
|
|
70
|
+
};
|
|
71
|
+
time_zone: {
|
|
72
|
+
name: string;
|
|
73
|
+
abbr: string;
|
|
74
|
+
offset: string;
|
|
75
|
+
is_dst: boolean;
|
|
76
|
+
current_time: string;
|
|
77
|
+
};
|
|
78
|
+
threat: {
|
|
79
|
+
is_tor: boolean;
|
|
80
|
+
is_proxy: boolean;
|
|
81
|
+
is_anonymous: boolean;
|
|
82
|
+
is_known_attacker: boolean;
|
|
83
|
+
is_known_abuser: boolean;
|
|
84
|
+
is_threat: boolean;
|
|
85
|
+
is_bogon: boolean;
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
26
89
|
export interface Enrichment {
|
|
27
90
|
refrMedium?: string;
|
|
28
91
|
refrSource?: string;
|
|
@@ -32,11 +95,12 @@ export interface Enrichment {
|
|
|
32
95
|
mktMedium?: string;
|
|
33
96
|
mktTerm?: string;
|
|
34
97
|
mktContent?: string;
|
|
98
|
+
mktClickParam?: string;
|
|
35
99
|
mktClickId?: string;
|
|
36
100
|
mktClickNetwork?: string;
|
|
37
101
|
isMobile?: boolean;
|
|
38
102
|
isWirelessCarrier?: boolean;
|
|
39
|
-
ipLookupResponse?:
|
|
103
|
+
ipLookupResponse?: IPDataResponse;
|
|
40
104
|
}
|
|
41
105
|
export interface AdClickInfo {
|
|
42
106
|
fbp?: string;
|