@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.
@@ -10,6 +10,7 @@ export interface InternalEvent {
10
10
  collectedAt?: string;
11
11
  version: string;
12
12
  context?: EventContext;
13
+ source?: string;
13
14
  }
14
15
  export declare enum INTERNAL_EVENT_TYPE {
15
16
  TRACKING = "tracking",
@@ -1 +1 @@
1
- {"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/types/event/base/event.ts"],"names":[],"mappings":";;;AAiBA,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"}
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: EventIdentity;
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: string;
25
- is_eu: boolean;
24
+ ip?: string;
25
+ is_eu?: boolean;
26
26
  city?: string;
27
27
  region?: string;
28
28
  region_code?: string;
29
- country_name: string;
30
- country_code: string;
31
- continent_name: string;
32
- continent_code: string;
33
- latitude: number;
34
- longitude: number;
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: string;
37
- flag: string;
38
- emoji_flag: string;
39
- emoji_unicode: string;
36
+ calling_code?: string;
37
+ flag?: string;
38
+ emoji_flag?: string;
39
+ emoji_unicode?: string;
40
40
  asn: {
41
- asn: string;
42
- name: string;
43
- domain: string;
44
- route: string;
45
- type: string;
41
+ asn?: string;
42
+ name?: string;
43
+ domain?: string;
44
+ route?: string;
45
+ type?: string;
46
46
  };
47
47
  company?: {
48
- name: string;
49
- domain: string;
50
- network: string;
51
- type: string;
48
+ name?: string;
49
+ domain?: string;
50
+ network?: string;
51
+ type?: string;
52
52
  };
53
53
  carrier?: {
54
- name: string;
55
- mcc: string;
56
- mnc: string;
54
+ name?: string;
55
+ mcc?: string;
56
+ mnc?: string;
57
57
  };
58
- languages: {
59
- name: string;
60
- native: string;
58
+ languages?: {
59
+ name?: string;
60
+ native?: string;
61
61
  }[];
62
- currency: {
63
- name: string;
64
- code: string;
65
- symbol: string;
66
- native: string;
67
- plural: string;
62
+ currency?: {
63
+ name?: string;
64
+ code?: string;
65
+ symbol?: string;
66
+ native?: string;
67
+ plural?: string;
68
68
  };
69
- time_zone: {
70
- name: string;
71
- abbr: string;
72
- offset: string;
73
- is_dst: boolean;
74
- current_time: string;
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: 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;
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
- source: string;
8
- service: string;
9
- code?: string;
10
- message: string;
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":";;;AA4BA,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
+ {"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"}
@@ -10,6 +10,7 @@ export interface InternalEvent {
10
10
  collectedAt?: string;
11
11
  version: string;
12
12
  context?: EventContext;
13
+ source?: string;
13
14
  }
14
15
  export declare enum INTERNAL_EVENT_TYPE {
15
16
  TRACKING = "tracking",
@@ -1 +1 @@
1
- {"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/types/event/base/event.ts"],"names":[],"mappings":"AAiBA,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"}
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: EventIdentity;
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: string;
25
- is_eu: boolean;
24
+ ip?: string;
25
+ is_eu?: boolean;
26
26
  city?: string;
27
27
  region?: string;
28
28
  region_code?: string;
29
- country_name: string;
30
- country_code: string;
31
- continent_name: string;
32
- continent_code: string;
33
- latitude: number;
34
- longitude: number;
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: string;
37
- flag: string;
38
- emoji_flag: string;
39
- emoji_unicode: string;
36
+ calling_code?: string;
37
+ flag?: string;
38
+ emoji_flag?: string;
39
+ emoji_unicode?: string;
40
40
  asn: {
41
- asn: string;
42
- name: string;
43
- domain: string;
44
- route: string;
45
- type: string;
41
+ asn?: string;
42
+ name?: string;
43
+ domain?: string;
44
+ route?: string;
45
+ type?: string;
46
46
  };
47
47
  company?: {
48
- name: string;
49
- domain: string;
50
- network: string;
51
- type: string;
48
+ name?: string;
49
+ domain?: string;
50
+ network?: string;
51
+ type?: string;
52
52
  };
53
53
  carrier?: {
54
- name: string;
55
- mcc: string;
56
- mnc: string;
54
+ name?: string;
55
+ mcc?: string;
56
+ mnc?: string;
57
57
  };
58
- languages: {
59
- name: string;
60
- native: string;
58
+ languages?: {
59
+ name?: string;
60
+ native?: string;
61
61
  }[];
62
- currency: {
63
- name: string;
64
- code: string;
65
- symbol: string;
66
- native: string;
67
- plural: string;
62
+ currency?: {
63
+ name?: string;
64
+ code?: string;
65
+ symbol?: string;
66
+ native?: string;
67
+ plural?: string;
68
68
  };
69
- time_zone: {
70
- name: string;
71
- abbr: string;
72
- offset: string;
73
- is_dst: boolean;
74
- current_time: string;
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: 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;
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
- source: string;
8
- service: string;
9
- code?: string;
10
- message: string;
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":"AA4BA,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"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adtrackify/at-tracking-event-types",
3
- "version": "2.0.36",
3
+ "version": "2.0.37",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist/*"