@adtrackify/at-tracking-event-types 3.3.12 → 3.3.14

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.
@@ -1,6 +1,6 @@
1
1
  import { AddressInfo } from '../../common/address.js';
2
2
  import { AdClickInfo } from './event-context.js';
3
- import { CONTACT_ACQUISITION_SOURCE_ID } from '../../api/index.js';
3
+ import { CONTACT_ACQUISITION_SOURCE } from '../../api/index.js';
4
4
  export interface EventIdentity {
5
5
  identityId?: string;
6
6
  traits?: EventIdentityTraits;
@@ -22,8 +22,8 @@ export interface EventIdentityTraits {
22
22
  thirdPartyContacts?: ThirdPartyContactInfo[];
23
23
  }
24
24
  export interface ThirdPartyContactInfo {
25
- sourceId?: CONTACT_ACQUISITION_SOURCE_ID;
26
- email?: string;
27
- phone?: string;
25
+ source?: CONTACT_ACQUISITION_SOURCE;
26
+ contactGroupId?: string;
27
+ primaryEmail?: string;
28
28
  collectedAt?: string;
29
29
  }
@@ -8,6 +8,10 @@ export interface AnonymousPIIData {
8
8
  sha256Emails?: string[];
9
9
  sha256Phones?: string[];
10
10
  }
11
+ export interface ThirdPartyPIIData {
12
+ emails?: string[];
13
+ phones?: string[];
14
+ }
11
15
  export interface EventContextProperties {
12
16
  click?: AdClickInfo;
13
17
  campaign?: CampaignInfo;
@@ -23,6 +27,7 @@ export interface EventContextProperties {
23
27
  adBlockDetected?: boolean;
24
28
  enrichment?: Enrichment;
25
29
  anonymousPIIData?: AnonymousPIIData;
30
+ thirdPartyPIIData?: ThirdPartyPIIData;
26
31
  }
27
32
  export interface IPDataResponse {
28
33
  ip?: string;
@@ -1,6 +1,6 @@
1
1
  import { AddressInfo } from '../../common/address.js';
2
2
  import { AdClickInfo } from './event-context.js';
3
- import { CONTACT_ACQUISITION_SOURCE_ID } from '../../api/index.js';
3
+ import { CONTACT_ACQUISITION_SOURCE } from '../../api/index.js';
4
4
  export interface EventIdentity {
5
5
  identityId?: string;
6
6
  traits?: EventIdentityTraits;
@@ -22,8 +22,8 @@ export interface EventIdentityTraits {
22
22
  thirdPartyContacts?: ThirdPartyContactInfo[];
23
23
  }
24
24
  export interface ThirdPartyContactInfo {
25
- sourceId?: CONTACT_ACQUISITION_SOURCE_ID;
26
- email?: string;
27
- phone?: string;
25
+ source?: CONTACT_ACQUISITION_SOURCE;
26
+ contactGroupId?: string;
27
+ primaryEmail?: string;
28
28
  collectedAt?: string;
29
29
  }
@@ -8,6 +8,10 @@ export interface AnonymousPIIData {
8
8
  sha256Emails?: string[];
9
9
  sha256Phones?: string[];
10
10
  }
11
+ export interface ThirdPartyPIIData {
12
+ emails?: string[];
13
+ phones?: string[];
14
+ }
11
15
  export interface EventContextProperties {
12
16
  click?: AdClickInfo;
13
17
  campaign?: CampaignInfo;
@@ -23,6 +27,7 @@ export interface EventContextProperties {
23
27
  adBlockDetected?: boolean;
24
28
  enrichment?: Enrichment;
25
29
  anonymousPIIData?: AnonymousPIIData;
30
+ thirdPartyPIIData?: ThirdPartyPIIData;
26
31
  }
27
32
  export interface IPDataResponse {
28
33
  ip?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adtrackify/at-tracking-event-types",
3
- "version": "3.3.12",
3
+ "version": "3.3.14",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist/*"