@adtrackify/at-tracking-event-types 3.3.11 → 3.3.13

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
- import { IPDataResponse } from "../../event/index.js";
2
- import { EMAIL_STATUS, EmailableVerifyEmailResponse } from "./email-verification.js";
3
- import { ThirdPartyContact, ThirdPartyContactGroup } from "./third-party-contact.js";
1
+ import { IPDataResponse } from '../../event/index.js';
2
+ import { EMAIL_STATUS, EmailableVerifyEmailResponse } from './email-verification.js';
3
+ import { ThirdPartyContact, ThirdPartyContactGroup } from './third-party-contact.js';
4
4
  export declare enum PURCHASED_CONTACT_STATUS {
5
5
  ACTIVE = "active",
6
6
  ALREADY_EXISTS = "already_exists"
@@ -1 +1 @@
1
- {"version":3,"file":"purchased-contact.js","sourceRoot":"","sources":["../../../../../src/types/api/contact-acquisition/purchased-contact.ts"],"names":[],"mappings":";;;AAKA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,6CAAiB,CAAA;IACjB,6DAAiC,CAAA;AACnC,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
1
+ {"version":3,"file":"purchased-contact.js","sourceRoot":"","sources":["../../../../../src/types/api/contact-acquisition/purchased-contact.ts"],"names":[],"mappings":";;;AAIA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,6CAAiB,CAAA;IACjB,6DAAiC,CAAA;AACnC,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
@@ -1,6 +1,6 @@
1
- import { EMAIL_STATUS, EmailableVerifyEmailResponse } from "./email-verification.js";
2
- import { IPDataResponse } from "../../event/index.js";
3
- import { CONTACT_ACQUISITION_SOURCE, CONTACT_ACQUISITION_SOURCE_ID } from "./contact-acquisition.js";
1
+ import { EMAIL_STATUS, EmailableVerifyEmailResponse } from './email-verification.js';
2
+ import { IPDataResponse } from '../../event/index.js';
3
+ import { CONTACT_ACQUISITION_SOURCE, CONTACT_ACQUISITION_SOURCE_ID } from './contact-acquisition.js';
4
4
  export interface ThirdPartyContactGroup extends ThirdPartyContact {
5
5
  id: string;
6
6
  contacts: ThirdPartyContact[];
@@ -1,3 +1,7 @@
1
+ export declare enum ADDRESS_INFO_SOURCE {
2
+ ORDER = "order",
3
+ IP_ADDRESS = "ip_address"
4
+ }
1
5
  export interface AddressInfo {
2
6
  email?: string;
3
7
  phone?: string;
@@ -12,4 +16,7 @@ export interface AddressInfo {
12
16
  country?: string;
13
17
  countryCode?: string;
14
18
  zip?: string;
19
+ source?: ADDRESS_INFO_SOURCE;
20
+ createdAt?: string;
21
+ updatedAt?: string;
15
22
  }
@@ -1,3 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ADDRESS_INFO_SOURCE = void 0;
4
+ var ADDRESS_INFO_SOURCE;
5
+ (function (ADDRESS_INFO_SOURCE) {
6
+ ADDRESS_INFO_SOURCE["ORDER"] = "order";
7
+ ADDRESS_INFO_SOURCE["IP_ADDRESS"] = "ip_address";
8
+ })(ADDRESS_INFO_SOURCE = exports.ADDRESS_INFO_SOURCE || (exports.ADDRESS_INFO_SOURCE = {}));
3
9
  //# sourceMappingURL=address.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/types/common/address.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/types/common/address.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,gDAAyB,CAAA;AAC3B,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B"}
@@ -1,5 +1,6 @@
1
1
  import { AddressInfo } from '../../common/address.js';
2
2
  import { AdClickInfo } from './event-context.js';
3
+ import { CONTACT_ACQUISITION_SOURCE } from '../../api/index.js';
3
4
  export interface EventIdentity {
4
5
  identityId?: string;
5
6
  traits?: EventIdentityTraits;
@@ -18,6 +19,11 @@ export interface EventIdentityTraits {
18
19
  click?: AdClickInfo;
19
20
  ipAddress?: string;
20
21
  userAgent?: string;
21
- hasThirdPartyContact?: boolean;
22
- thirdPartyContactIds?: string[];
22
+ thirdPartyContacts?: ThirdPartyContactInfo[];
23
+ }
24
+ export interface ThirdPartyContactInfo {
25
+ source?: CONTACT_ACQUISITION_SOURCE;
26
+ contactGroupId?: string;
27
+ primaryEmail?: string;
28
+ collectedAt?: string;
23
29
  }
@@ -1,6 +1,6 @@
1
- import { IPDataResponse } from "../../event/index.js";
2
- import { EMAIL_STATUS, EmailableVerifyEmailResponse } from "./email-verification.js";
3
- import { ThirdPartyContact, ThirdPartyContactGroup } from "./third-party-contact.js";
1
+ import { IPDataResponse } from '../../event/index.js';
2
+ import { EMAIL_STATUS, EmailableVerifyEmailResponse } from './email-verification.js';
3
+ import { ThirdPartyContact, ThirdPartyContactGroup } from './third-party-contact.js';
4
4
  export declare enum PURCHASED_CONTACT_STATUS {
5
5
  ACTIVE = "active",
6
6
  ALREADY_EXISTS = "already_exists"
@@ -1 +1 @@
1
- {"version":3,"file":"purchased-contact.js","sourceRoot":"","sources":["../../../../../src/types/api/contact-acquisition/purchased-contact.ts"],"names":[],"mappings":"AAKA,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,6CAAiB,CAAA;IACjB,6DAAiC,CAAA;AACnC,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC"}
1
+ {"version":3,"file":"purchased-contact.js","sourceRoot":"","sources":["../../../../../src/types/api/contact-acquisition/purchased-contact.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,6CAAiB,CAAA;IACjB,6DAAiC,CAAA;AACnC,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC"}
@@ -1,6 +1,6 @@
1
- import { EMAIL_STATUS, EmailableVerifyEmailResponse } from "./email-verification.js";
2
- import { IPDataResponse } from "../../event/index.js";
3
- import { CONTACT_ACQUISITION_SOURCE, CONTACT_ACQUISITION_SOURCE_ID } from "./contact-acquisition.js";
1
+ import { EMAIL_STATUS, EmailableVerifyEmailResponse } from './email-verification.js';
2
+ import { IPDataResponse } from '../../event/index.js';
3
+ import { CONTACT_ACQUISITION_SOURCE, CONTACT_ACQUISITION_SOURCE_ID } from './contact-acquisition.js';
4
4
  export interface ThirdPartyContactGroup extends ThirdPartyContact {
5
5
  id: string;
6
6
  contacts: ThirdPartyContact[];
@@ -1,3 +1,7 @@
1
+ export declare enum ADDRESS_INFO_SOURCE {
2
+ ORDER = "order",
3
+ IP_ADDRESS = "ip_address"
4
+ }
1
5
  export interface AddressInfo {
2
6
  email?: string;
3
7
  phone?: string;
@@ -12,4 +16,7 @@ export interface AddressInfo {
12
16
  country?: string;
13
17
  countryCode?: string;
14
18
  zip?: string;
19
+ source?: ADDRESS_INFO_SOURCE;
20
+ createdAt?: string;
21
+ updatedAt?: string;
15
22
  }
@@ -1,2 +1,6 @@
1
- export {};
1
+ export var ADDRESS_INFO_SOURCE;
2
+ (function (ADDRESS_INFO_SOURCE) {
3
+ ADDRESS_INFO_SOURCE["ORDER"] = "order";
4
+ ADDRESS_INFO_SOURCE["IP_ADDRESS"] = "ip_address";
5
+ })(ADDRESS_INFO_SOURCE || (ADDRESS_INFO_SOURCE = {}));
2
6
  //# sourceMappingURL=address.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/types/common/address.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/types/common/address.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,gDAAyB,CAAA;AAC3B,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B"}
@@ -1,5 +1,6 @@
1
1
  import { AddressInfo } from '../../common/address.js';
2
2
  import { AdClickInfo } from './event-context.js';
3
+ import { CONTACT_ACQUISITION_SOURCE } from '../../api/index.js';
3
4
  export interface EventIdentity {
4
5
  identityId?: string;
5
6
  traits?: EventIdentityTraits;
@@ -18,6 +19,11 @@ export interface EventIdentityTraits {
18
19
  click?: AdClickInfo;
19
20
  ipAddress?: string;
20
21
  userAgent?: string;
21
- hasThirdPartyContact?: boolean;
22
- thirdPartyContactIds?: string[];
22
+ thirdPartyContacts?: ThirdPartyContactInfo[];
23
+ }
24
+ export interface ThirdPartyContactInfo {
25
+ source?: CONTACT_ACQUISITION_SOURCE;
26
+ contactGroupId?: string;
27
+ primaryEmail?: string;
28
+ collectedAt?: string;
23
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adtrackify/at-tracking-event-types",
3
- "version": "3.3.11",
3
+ "version": "3.3.13",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist/*"