@adtrackify/at-tracking-event-types 3.1.24 → 3.1.26

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.
Files changed (159) hide show
  1. package/dist/cjs/index.d.ts +1 -1
  2. package/dist/cjs/index.js +17 -17
  3. package/dist/cjs/types/api/account.d.ts +62 -62
  4. package/dist/cjs/types/api/account.js +23 -23
  5. package/dist/cjs/types/api/contact-acquisition.d.ts +39 -39
  6. package/dist/cjs/types/api/contact-acquisition.js +16 -16
  7. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  8. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  9. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  10. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  11. package/dist/cjs/types/api/destinations/destinations.d.ts +93 -93
  12. package/dist/cjs/types/api/destinations/destinations.js +43 -43
  13. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  14. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  15. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +109 -109
  16. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  17. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  18. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  19. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  20. package/dist/cjs/types/api/event-last-seen.js +2 -2
  21. package/dist/cjs/types/api/event-status.d.ts +18 -18
  22. package/dist/cjs/types/api/event-status.js +9 -9
  23. package/dist/cjs/types/api/index.d.ts +17 -17
  24. package/dist/cjs/types/api/index.js +33 -33
  25. package/dist/cjs/types/api/log-events.d.ts +22 -22
  26. package/dist/cjs/types/api/log-events.js +2 -2
  27. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  28. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  29. package/dist/cjs/types/api/query.d.ts +279 -279
  30. package/dist/cjs/types/api/query.js +224 -224
  31. package/dist/cjs/types/api/shopify-app-install.d.ts +40 -39
  32. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  33. package/dist/cjs/types/api/shopify-app-install.js.map +1 -1
  34. package/dist/cjs/types/api/subscription.d.ts +155 -155
  35. package/dist/cjs/types/api/subscription.js +47 -47
  36. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  37. package/dist/cjs/types/api/tracking-events.js +2 -2
  38. package/dist/cjs/types/api/user.d.ts +13 -13
  39. package/dist/cjs/types/api/user.js +2 -2
  40. package/dist/cjs/types/common/address.d.ts +15 -15
  41. package/dist/cjs/types/common/address.js +2 -2
  42. package/dist/cjs/types/common/currency.d.ts +1 -1
  43. package/dist/cjs/types/common/currency.js +63 -63
  44. package/dist/cjs/types/common/index.d.ts +2 -2
  45. package/dist/cjs/types/common/index.js +18 -18
  46. package/dist/cjs/types/event/base/event-name-enum.d.ts +59 -59
  47. package/dist/cjs/types/event/base/event-name-enum.js +65 -65
  48. package/dist/cjs/types/event/base/event.d.ts +20 -20
  49. package/dist/cjs/types/event/base/event.js +10 -10
  50. package/dist/cjs/types/event/base/index.d.ts +2 -2
  51. package/dist/cjs/types/event/base/index.js +18 -18
  52. package/dist/cjs/types/event/context/event-context-identity.d.ts +21 -21
  53. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  54. package/dist/cjs/types/event/context/event-context.d.ts +190 -188
  55. package/dist/cjs/types/event/context/event-context.js +2 -2
  56. package/dist/cjs/types/event/context/index.d.ts +2 -2
  57. package/dist/cjs/types/event/context/index.js +18 -18
  58. package/dist/cjs/types/event/index.d.ts +5 -5
  59. package/dist/cjs/types/event/index.js +21 -21
  60. package/dist/cjs/types/event/log-event.d.ts +35 -35
  61. package/dist/cjs/types/event/log-event.js +22 -22
  62. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  63. package/dist/cjs/types/event/metric-event.js +2 -2
  64. package/dist/cjs/types/event/tracking-event.d.ts +62 -62
  65. package/dist/cjs/types/event/tracking-event.js +2 -2
  66. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  67. package/dist/cjs/types/event-bus-event.js +2 -2
  68. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  69. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  70. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  71. package/dist/cjs/types/fingerprint/index.js +18 -18
  72. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  73. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  74. package/dist/cjs/types/index.d.ts +7 -7
  75. package/dist/cjs/types/index.js +23 -23
  76. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  77. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  78. package/dist/cjs/types/tracking-event-ingest-message.d.ts +10 -10
  79. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  80. package/dist/esm/index.d.ts +1 -1
  81. package/dist/esm/index.js +1 -1
  82. package/dist/esm/types/api/account.d.ts +62 -62
  83. package/dist/esm/types/api/account.js +20 -20
  84. package/dist/esm/types/api/contact-acquisition.d.ts +39 -39
  85. package/dist/esm/types/api/contact-acquisition.js +13 -13
  86. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  87. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  88. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  89. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  90. package/dist/esm/types/api/destinations/destinations.d.ts +93 -93
  91. package/dist/esm/types/api/destinations/destinations.js +40 -40
  92. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  93. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  94. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +109 -109
  95. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  96. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  97. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  98. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  99. package/dist/esm/types/api/event-last-seen.js +1 -1
  100. package/dist/esm/types/api/event-status.d.ts +18 -18
  101. package/dist/esm/types/api/event-status.js +6 -6
  102. package/dist/esm/types/api/index.d.ts +17 -17
  103. package/dist/esm/types/api/index.js +17 -17
  104. package/dist/esm/types/api/log-events.d.ts +22 -22
  105. package/dist/esm/types/api/log-events.js +1 -1
  106. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  107. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  108. package/dist/esm/types/api/query.d.ts +279 -279
  109. package/dist/esm/types/api/query.js +221 -221
  110. package/dist/esm/types/api/shopify-app-install.d.ts +40 -39
  111. package/dist/esm/types/api/shopify-app-install.js +11 -11
  112. package/dist/esm/types/api/shopify-app-install.js.map +1 -1
  113. package/dist/esm/types/api/subscription.d.ts +155 -155
  114. package/dist/esm/types/api/subscription.js +44 -44
  115. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  116. package/dist/esm/types/api/tracking-events.js +1 -1
  117. package/dist/esm/types/api/user.d.ts +13 -13
  118. package/dist/esm/types/api/user.js +1 -1
  119. package/dist/esm/types/common/address.d.ts +15 -15
  120. package/dist/esm/types/common/address.js +1 -1
  121. package/dist/esm/types/common/currency.d.ts +1 -1
  122. package/dist/esm/types/common/currency.js +60 -60
  123. package/dist/esm/types/common/index.d.ts +2 -2
  124. package/dist/esm/types/common/index.js +2 -2
  125. package/dist/esm/types/event/base/event-name-enum.d.ts +59 -59
  126. package/dist/esm/types/event/base/event-name-enum.js +62 -62
  127. package/dist/esm/types/event/base/event.d.ts +20 -20
  128. package/dist/esm/types/event/base/event.js +7 -7
  129. package/dist/esm/types/event/base/index.d.ts +2 -2
  130. package/dist/esm/types/event/base/index.js +2 -2
  131. package/dist/esm/types/event/context/event-context-identity.d.ts +21 -21
  132. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  133. package/dist/esm/types/event/context/event-context.d.ts +190 -188
  134. package/dist/esm/types/event/context/event-context.js +1 -1
  135. package/dist/esm/types/event/context/index.d.ts +2 -2
  136. package/dist/esm/types/event/context/index.js +2 -2
  137. package/dist/esm/types/event/index.d.ts +5 -5
  138. package/dist/esm/types/event/index.js +5 -5
  139. package/dist/esm/types/event/log-event.d.ts +35 -35
  140. package/dist/esm/types/event/log-event.js +19 -19
  141. package/dist/esm/types/event/metric-event.d.ts +13 -13
  142. package/dist/esm/types/event/metric-event.js +1 -1
  143. package/dist/esm/types/event/tracking-event.d.ts +62 -62
  144. package/dist/esm/types/event/tracking-event.js +1 -1
  145. package/dist/esm/types/event-bus-event.d.ts +25 -25
  146. package/dist/esm/types/event-bus-event.js +1 -1
  147. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  148. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  149. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  150. package/dist/esm/types/fingerprint/index.js +2 -2
  151. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  152. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  153. package/dist/esm/types/index.d.ts +7 -7
  154. package/dist/esm/types/index.js +7 -7
  155. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  156. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  157. package/dist/esm/types/tracking-event-ingest-message.d.ts +10 -10
  158. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  159. package/package.json +1 -1
@@ -1,62 +1,62 @@
1
- import { Subscription } from './subscription';
2
- export interface Account {
3
- id: string;
4
- accountName: string;
5
- companyName?: string;
6
- accountStatus: ACCOUNT_STATUS;
7
- disablingOn?: string;
8
- disabledOn?: string;
9
- statusMessage?: string;
10
- primaryEmail: string;
11
- publicApiKey?: string;
12
- subscriptionId?: string;
13
- pixels?: Pixel[];
14
- subscription?: Subscription;
15
- ownerId?: string;
16
- settings?: AccountSettings;
17
- confirmedAt?: string;
18
- featureFlags?: FeatureFlag[];
19
- createdAt: string;
20
- updatedAt: string;
21
- updatedBy?: string;
22
- }
23
- export interface Pixel {
24
- id: string;
25
- accountId: string;
26
- name: string;
27
- status: PIXEL_STATUS;
28
- disablingOn?: string;
29
- createdAt: string;
30
- updatedAt: string;
31
- }
32
- export declare enum PIXEL_STATUS {
33
- ACTIVE = "active",
34
- PENDING_DISABLE = "pending_disable",
35
- DISABLED = "disabled",
36
- CANCELLED = "cancelled"
37
- }
38
- export declare enum ACCOUNT_STATUS {
39
- PENDING = "pending",
40
- ACTIVE = "active",
41
- PENDING_DISABLE = "pending_disable",
42
- DISABLED = "disabled",
43
- CANCELLED = "cancelled"
44
- }
45
- export interface AccountSettings {
46
- defaultTimezone?: string;
47
- selectedTimezone?: string;
48
- defaultCurrency?: string;
49
- selectedCurrency?: string;
50
- countPendingOrders?: boolean;
51
- countVoidedOrders?: boolean;
52
- }
53
- export interface FeatureFlag {
54
- name: FEATURE_FLAG;
55
- enabled: boolean;
56
- createdAt: string;
57
- updatedAt: string;
58
- }
59
- export declare enum FEATURE_FLAG {
60
- CONTACT_ACQUISITION = "contactAcquisition",
61
- FB_INTEGRATION = "fbIntegration"
62
- }
1
+ import { Subscription } from './subscription';
2
+ export interface Account {
3
+ id: string;
4
+ accountName: string;
5
+ companyName?: string;
6
+ accountStatus: ACCOUNT_STATUS;
7
+ disablingOn?: string;
8
+ disabledOn?: string;
9
+ statusMessage?: string;
10
+ primaryEmail: string;
11
+ publicApiKey?: string;
12
+ subscriptionId?: string;
13
+ pixels?: Pixel[];
14
+ subscription?: Subscription;
15
+ ownerId?: string;
16
+ settings?: AccountSettings;
17
+ confirmedAt?: string;
18
+ featureFlags?: FeatureFlag[];
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ updatedBy?: string;
22
+ }
23
+ export interface Pixel {
24
+ id: string;
25
+ accountId: string;
26
+ name: string;
27
+ status: PIXEL_STATUS;
28
+ disablingOn?: string;
29
+ createdAt: string;
30
+ updatedAt: string;
31
+ }
32
+ export declare enum PIXEL_STATUS {
33
+ ACTIVE = "active",
34
+ PENDING_DISABLE = "pending_disable",
35
+ DISABLED = "disabled",
36
+ CANCELLED = "cancelled"
37
+ }
38
+ export declare enum ACCOUNT_STATUS {
39
+ PENDING = "pending",
40
+ ACTIVE = "active",
41
+ PENDING_DISABLE = "pending_disable",
42
+ DISABLED = "disabled",
43
+ CANCELLED = "cancelled"
44
+ }
45
+ export interface AccountSettings {
46
+ defaultTimezone?: string;
47
+ selectedTimezone?: string;
48
+ defaultCurrency?: string;
49
+ selectedCurrency?: string;
50
+ countPendingOrders?: boolean;
51
+ countVoidedOrders?: boolean;
52
+ }
53
+ export interface FeatureFlag {
54
+ name: FEATURE_FLAG;
55
+ enabled: boolean;
56
+ createdAt: string;
57
+ updatedAt: string;
58
+ }
59
+ export declare enum FEATURE_FLAG {
60
+ CONTACT_ACQUISITION = "contactAcquisition",
61
+ FB_INTEGRATION = "fbIntegration"
62
+ }
@@ -1,21 +1,21 @@
1
- export var PIXEL_STATUS;
2
- (function (PIXEL_STATUS) {
3
- PIXEL_STATUS["ACTIVE"] = "active";
4
- PIXEL_STATUS["PENDING_DISABLE"] = "pending_disable";
5
- PIXEL_STATUS["DISABLED"] = "disabled";
6
- PIXEL_STATUS["CANCELLED"] = "cancelled";
7
- })(PIXEL_STATUS || (PIXEL_STATUS = {}));
8
- export var ACCOUNT_STATUS;
9
- (function (ACCOUNT_STATUS) {
10
- ACCOUNT_STATUS["PENDING"] = "pending";
11
- ACCOUNT_STATUS["ACTIVE"] = "active";
12
- ACCOUNT_STATUS["PENDING_DISABLE"] = "pending_disable";
13
- ACCOUNT_STATUS["DISABLED"] = "disabled";
14
- ACCOUNT_STATUS["CANCELLED"] = "cancelled";
15
- })(ACCOUNT_STATUS || (ACCOUNT_STATUS = {}));
16
- export var FEATURE_FLAG;
17
- (function (FEATURE_FLAG) {
18
- FEATURE_FLAG["CONTACT_ACQUISITION"] = "contactAcquisition";
19
- FEATURE_FLAG["FB_INTEGRATION"] = "fbIntegration";
20
- })(FEATURE_FLAG || (FEATURE_FLAG = {}));
1
+ export var PIXEL_STATUS;
2
+ (function (PIXEL_STATUS) {
3
+ PIXEL_STATUS["ACTIVE"] = "active";
4
+ PIXEL_STATUS["PENDING_DISABLE"] = "pending_disable";
5
+ PIXEL_STATUS["DISABLED"] = "disabled";
6
+ PIXEL_STATUS["CANCELLED"] = "cancelled";
7
+ })(PIXEL_STATUS || (PIXEL_STATUS = {}));
8
+ export var ACCOUNT_STATUS;
9
+ (function (ACCOUNT_STATUS) {
10
+ ACCOUNT_STATUS["PENDING"] = "pending";
11
+ ACCOUNT_STATUS["ACTIVE"] = "active";
12
+ ACCOUNT_STATUS["PENDING_DISABLE"] = "pending_disable";
13
+ ACCOUNT_STATUS["DISABLED"] = "disabled";
14
+ ACCOUNT_STATUS["CANCELLED"] = "cancelled";
15
+ })(ACCOUNT_STATUS || (ACCOUNT_STATUS = {}));
16
+ export var FEATURE_FLAG;
17
+ (function (FEATURE_FLAG) {
18
+ FEATURE_FLAG["CONTACT_ACQUISITION"] = "contactAcquisition";
19
+ FEATURE_FLAG["FB_INTEGRATION"] = "fbIntegration";
20
+ })(FEATURE_FLAG || (FEATURE_FLAG = {}));
21
21
  //# sourceMappingURL=account.js.map
@@ -1,39 +1,39 @@
1
- import { IPDataResponse } from '../event';
2
- export declare enum EMAIL_STATUS {
3
- DELIVERABLE = "deliverable",
4
- UNDELIVERABLE = "undeliverable",
5
- RISKY = "risky",
6
- UNKNOWN = "unknown",
7
- NO_EMAIL = "no_email"
8
- }
9
- export declare enum PURCHASED_CONTACT_STATUS {
10
- ACTIVE = "active",
11
- ALREADY_EXISTS = "already_exists"
12
- }
13
- export interface PurchasableContact {
14
- id: string;
15
- email: string;
16
- ipAddress: string;
17
- ipAddressEnrichment: IPDataResponse;
18
- userAgent: string;
19
- url: string;
20
- diqPersonId?: string;
21
- source: string;
22
- contact: any;
23
- emailVerification: any;
24
- emailStatus: EMAIL_STATUS;
25
- createdAt: string;
26
- updatedAt: string;
27
- }
28
- export interface PurchasedContact {
29
- id: string;
30
- pixelId: string;
31
- contactId: string;
32
- accountId: string;
33
- identityId: string;
34
- emailStatus: EMAIL_STATUS;
35
- purchasedStatus: PURCHASED_CONTACT_STATUS;
36
- purchasedAt: string;
37
- createdAt: string;
38
- updatedAt: string;
39
- }
1
+ import { IPDataResponse } from '../event';
2
+ export declare enum EMAIL_STATUS {
3
+ DELIVERABLE = "deliverable",
4
+ UNDELIVERABLE = "undeliverable",
5
+ RISKY = "risky",
6
+ UNKNOWN = "unknown",
7
+ NO_EMAIL = "no_email"
8
+ }
9
+ export declare enum PURCHASED_CONTACT_STATUS {
10
+ ACTIVE = "active",
11
+ ALREADY_EXISTS = "already_exists"
12
+ }
13
+ export interface PurchasableContact {
14
+ id: string;
15
+ email: string;
16
+ ipAddress: string;
17
+ ipAddressEnrichment: IPDataResponse;
18
+ userAgent: string;
19
+ url: string;
20
+ diqPersonId?: string;
21
+ source: string;
22
+ contact: any;
23
+ emailVerification: any;
24
+ emailStatus: EMAIL_STATUS;
25
+ createdAt: string;
26
+ updatedAt: string;
27
+ }
28
+ export interface PurchasedContact {
29
+ id: string;
30
+ pixelId: string;
31
+ contactId: string;
32
+ accountId: string;
33
+ identityId: string;
34
+ emailStatus: EMAIL_STATUS;
35
+ purchasedStatus: PURCHASED_CONTACT_STATUS;
36
+ purchasedAt: string;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ }
@@ -1,14 +1,14 @@
1
- export var EMAIL_STATUS;
2
- (function (EMAIL_STATUS) {
3
- EMAIL_STATUS["DELIVERABLE"] = "deliverable";
4
- EMAIL_STATUS["UNDELIVERABLE"] = "undeliverable";
5
- EMAIL_STATUS["RISKY"] = "risky";
6
- EMAIL_STATUS["UNKNOWN"] = "unknown";
7
- EMAIL_STATUS["NO_EMAIL"] = "no_email";
8
- })(EMAIL_STATUS || (EMAIL_STATUS = {}));
9
- export var PURCHASED_CONTACT_STATUS;
10
- (function (PURCHASED_CONTACT_STATUS) {
11
- PURCHASED_CONTACT_STATUS["ACTIVE"] = "active";
12
- PURCHASED_CONTACT_STATUS["ALREADY_EXISTS"] = "already_exists";
13
- })(PURCHASED_CONTACT_STATUS || (PURCHASED_CONTACT_STATUS = {}));
1
+ export var EMAIL_STATUS;
2
+ (function (EMAIL_STATUS) {
3
+ EMAIL_STATUS["DELIVERABLE"] = "deliverable";
4
+ EMAIL_STATUS["UNDELIVERABLE"] = "undeliverable";
5
+ EMAIL_STATUS["RISKY"] = "risky";
6
+ EMAIL_STATUS["UNKNOWN"] = "unknown";
7
+ EMAIL_STATUS["NO_EMAIL"] = "no_email";
8
+ })(EMAIL_STATUS || (EMAIL_STATUS = {}));
9
+ export var PURCHASED_CONTACT_STATUS;
10
+ (function (PURCHASED_CONTACT_STATUS) {
11
+ PURCHASED_CONTACT_STATUS["ACTIVE"] = "active";
12
+ PURCHASED_CONTACT_STATUS["ALREADY_EXISTS"] = "already_exists";
13
+ })(PURCHASED_CONTACT_STATUS || (PURCHASED_CONTACT_STATUS = {}));
14
14
  //# sourceMappingURL=contact-acquisition.js.map
@@ -1,11 +1,11 @@
1
- import { TRACKING_EVENT_NAME } from '../event';
2
- export interface DestinationTrackedEvents {
3
- [TRACKING_EVENT_NAME.PAGE_VIEW]: {
4
- web: number;
5
- server: number;
6
- };
7
- [TRACKING_EVENT_NAME.PURCHASE]: {
8
- web: number;
9
- server: number;
10
- };
11
- }
1
+ import { TRACKING_EVENT_NAME } from '../event';
2
+ export interface DestinationTrackedEvents {
3
+ [TRACKING_EVENT_NAME.PAGE_VIEW]: {
4
+ web: number;
5
+ server: number;
6
+ };
7
+ [TRACKING_EVENT_NAME.PURCHASE]: {
8
+ web: number;
9
+ server: number;
10
+ };
11
+ }
@@ -1,2 +1,2 @@
1
- import { TRACKING_EVENT_NAME } from '../event';
1
+ import { TRACKING_EVENT_NAME } from '../event';
2
2
  //# sourceMappingURL=destination-tracked-events.js.map
@@ -1,30 +1,30 @@
1
- import { DESTINATION, DESTINATION_TYPE } from './destinations';
2
- export interface DestinationCatalogItem {
3
- id: string;
4
- active: boolean;
5
- destinationKey: DESTINATION;
6
- destinationType: DESTINATION_TYPE;
7
- displayName?: string;
8
- shortName?: string;
9
- description?: string;
10
- url: string;
11
- fields?: DestinationCatalogField[];
12
- createdAt: string;
13
- updatedAt: string;
14
- }
15
- export interface DestinationCatalogFieldValidation {
16
- active: boolean;
17
- pattern: string;
18
- error?: string;
19
- }
20
- export interface DestinationCatalogField {
21
- component_type: string;
22
- name: string;
23
- description: string;
24
- label: string;
25
- type: string;
26
- required: boolean;
27
- values?: any[];
28
- validation?: DestinationCatalogFieldValidation;
29
- order: number;
30
- }
1
+ import { DESTINATION, DESTINATION_TYPE } from './destinations';
2
+ export interface DestinationCatalogItem {
3
+ id: string;
4
+ active: boolean;
5
+ destinationKey: DESTINATION;
6
+ destinationType: DESTINATION_TYPE;
7
+ displayName?: string;
8
+ shortName?: string;
9
+ description?: string;
10
+ url: string;
11
+ fields?: DestinationCatalogField[];
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ }
15
+ export interface DestinationCatalogFieldValidation {
16
+ active: boolean;
17
+ pattern: string;
18
+ error?: string;
19
+ }
20
+ export interface DestinationCatalogField {
21
+ component_type: string;
22
+ name: string;
23
+ description: string;
24
+ label: string;
25
+ type: string;
26
+ required: boolean;
27
+ values?: any[];
28
+ validation?: DestinationCatalogFieldValidation;
29
+ order: number;
30
+ }
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=destination-catalog.js.map
@@ -1,93 +1,93 @@
1
- import { TRACKING_EVENT_NAME } from '../../event';
2
- export interface Destination {
3
- id: string;
4
- accountId: string;
5
- pixelId: string;
6
- destination: DESTINATION;
7
- destinationType?: DESTINATION_TYPE;
8
- displayName?: string;
9
- enabled: boolean;
10
- configuration?: UserDestinationConfiguration;
11
- createdAt: string;
12
- updatedAt: string;
13
- orderConfig?: DestinationOrderConfig;
14
- }
15
- export interface DestinationOrderConfig {
16
- blockedSources?: string[];
17
- blockedTags?: string[];
18
- }
19
- export declare enum DESTINATION_TYPE {
20
- INTEGRATION = "integration",
21
- DESTINATION = "destination",
22
- CONTACT_ACQUISITION = "contactAcquisition"
23
- }
24
- export declare enum DESTINATION {
25
- FACEBOOK = "facebook",
26
- TIKTOK = "tiktok",
27
- GOOGLE_ADS = "googleAds",
28
- GOOGLE_ADS_V2 = "googleAdsV2",
29
- GOOGLE_ANALYTICS_4 = "googleAnalytics4",
30
- HUBSPOT = "hubspot",
31
- WEBHOOK = "webhook",
32
- CUSTOM_HTML = "customHTML",
33
- CUSTOM_JS = "customJS",
34
- SNAPCHAT = "snapchat",
35
- TWITTER = "twitter",
36
- REDDIT = "reddit",
37
- INTERCOM = "intercom",
38
- CUSTOMER_IO = "customerIO",
39
- PINTEREST = "pinterest",
40
- KLAVIYO = "klaviyo",
41
- SENDLANE = "sendlane",
42
- CONTACT_ACQUISITION = "contactAcquisition",
43
- OUTBRAIN = "outbrain",
44
- OMNISEND = "omnisend",
45
- ATTENTIVE = "attentive",
46
- FACEBOOK_INTEGRATION = "facebookIntegration",
47
- GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
48
- CONTACT_ACQUISITION_INTEGRATION = "contactAcquisitionIntegration",
49
- KLAVIYO_CONTACT_ACQUISITION = "klaviyoContactAcquisition"
50
- }
51
- export interface UserDestinationConfiguration {
52
- [key: string]: any;
53
- eventBlacklist?: string[];
54
- events?: EventConfiguration[];
55
- trigger?: DestinationTriggerConfiguration;
56
- }
57
- export interface DestinationTriggerConfiguration {
58
- shopify?: ShopifyTriggerConfiguration;
59
- exludeDomains?: string[];
60
- excludePages?: string[];
61
- domains?: string[];
62
- pages?: string[];
63
- events?: EventTriggerConfiguration[];
64
- }
65
- export interface ShopifyTriggerConfiguration {
66
- enabled: boolean;
67
- collections?: string[];
68
- tags?: string[];
69
- }
70
- export interface EventTriggerConfiguration {
71
- name: TRACKING_EVENT_NAME;
72
- count: number;
73
- condition: EVENT_TRIGGER_CONDITION;
74
- }
75
- export declare enum EVENT_TRIGGER_CONDITION {
76
- GT = "gt",
77
- EQ = "eq",
78
- LT = "lt"
79
- }
80
- export interface EventConfiguration {
81
- sourceEventName: string;
82
- exclude?: boolean;
83
- sample: EventSampleConfiguration;
84
- transformations?: EventTransformation[];
85
- }
86
- export interface EventTransformation {
87
- transformationEventName: string;
88
- enabled: boolean;
89
- }
90
- export interface EventSampleConfiguration {
91
- enabled: boolean;
92
- rate: number;
93
- }
1
+ import { TRACKING_EVENT_NAME } from '../../event';
2
+ export interface Destination {
3
+ id: string;
4
+ accountId: string;
5
+ pixelId: string;
6
+ destination: DESTINATION;
7
+ destinationType?: DESTINATION_TYPE;
8
+ displayName?: string;
9
+ enabled: boolean;
10
+ configuration?: UserDestinationConfiguration;
11
+ createdAt: string;
12
+ updatedAt: string;
13
+ orderConfig?: DestinationOrderConfig;
14
+ }
15
+ export interface DestinationOrderConfig {
16
+ blockedSources?: string[];
17
+ blockedTags?: string[];
18
+ }
19
+ export declare enum DESTINATION_TYPE {
20
+ INTEGRATION = "integration",
21
+ DESTINATION = "destination",
22
+ CONTACT_ACQUISITION = "contactAcquisition"
23
+ }
24
+ export declare enum DESTINATION {
25
+ FACEBOOK = "facebook",
26
+ TIKTOK = "tiktok",
27
+ GOOGLE_ADS = "googleAds",
28
+ GOOGLE_ADS_V2 = "googleAdsV2",
29
+ GOOGLE_ANALYTICS_4 = "googleAnalytics4",
30
+ HUBSPOT = "hubspot",
31
+ WEBHOOK = "webhook",
32
+ CUSTOM_HTML = "customHTML",
33
+ CUSTOM_JS = "customJS",
34
+ SNAPCHAT = "snapchat",
35
+ TWITTER = "twitter",
36
+ REDDIT = "reddit",
37
+ INTERCOM = "intercom",
38
+ CUSTOMER_IO = "customerIO",
39
+ PINTEREST = "pinterest",
40
+ KLAVIYO = "klaviyo",
41
+ SENDLANE = "sendlane",
42
+ CONTACT_ACQUISITION = "contactAcquisition",
43
+ OUTBRAIN = "outbrain",
44
+ OMNISEND = "omnisend",
45
+ ATTENTIVE = "attentive",
46
+ FACEBOOK_INTEGRATION = "facebookIntegration",
47
+ GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
48
+ CONTACT_ACQUISITION_INTEGRATION = "contactAcquisitionIntegration",
49
+ KLAVIYO_CONTACT_ACQUISITION = "klaviyoContactAcquisition"
50
+ }
51
+ export interface UserDestinationConfiguration {
52
+ [key: string]: any;
53
+ eventBlacklist?: string[];
54
+ events?: EventConfiguration[];
55
+ trigger?: DestinationTriggerConfiguration;
56
+ }
57
+ export interface DestinationTriggerConfiguration {
58
+ shopify?: ShopifyTriggerConfiguration;
59
+ exludeDomains?: string[];
60
+ excludePages?: string[];
61
+ domains?: string[];
62
+ pages?: string[];
63
+ events?: EventTriggerConfiguration[];
64
+ }
65
+ export interface ShopifyTriggerConfiguration {
66
+ enabled: boolean;
67
+ collections?: string[];
68
+ tags?: string[];
69
+ }
70
+ export interface EventTriggerConfiguration {
71
+ name: TRACKING_EVENT_NAME;
72
+ count: number;
73
+ condition: EVENT_TRIGGER_CONDITION;
74
+ }
75
+ export declare enum EVENT_TRIGGER_CONDITION {
76
+ GT = "gt",
77
+ EQ = "eq",
78
+ LT = "lt"
79
+ }
80
+ export interface EventConfiguration {
81
+ sourceEventName: string;
82
+ exclude?: boolean;
83
+ sample: EventSampleConfiguration;
84
+ transformations?: EventTransformation[];
85
+ }
86
+ export interface EventTransformation {
87
+ transformationEventName: string;
88
+ enabled: boolean;
89
+ }
90
+ export interface EventSampleConfiguration {
91
+ enabled: boolean;
92
+ rate: number;
93
+ }
@@ -1,41 +1,41 @@
1
- export var DESTINATION_TYPE;
2
- (function (DESTINATION_TYPE) {
3
- DESTINATION_TYPE["INTEGRATION"] = "integration";
4
- DESTINATION_TYPE["DESTINATION"] = "destination";
5
- DESTINATION_TYPE["CONTACT_ACQUISITION"] = "contactAcquisition";
6
- })(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
7
- export var DESTINATION;
8
- (function (DESTINATION) {
9
- DESTINATION["FACEBOOK"] = "facebook";
10
- DESTINATION["TIKTOK"] = "tiktok";
11
- DESTINATION["GOOGLE_ADS"] = "googleAds";
12
- DESTINATION["GOOGLE_ADS_V2"] = "googleAdsV2";
13
- DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
14
- DESTINATION["HUBSPOT"] = "hubspot";
15
- DESTINATION["WEBHOOK"] = "webhook";
16
- DESTINATION["CUSTOM_HTML"] = "customHTML";
17
- DESTINATION["CUSTOM_JS"] = "customJS";
18
- DESTINATION["SNAPCHAT"] = "snapchat";
19
- DESTINATION["TWITTER"] = "twitter";
20
- DESTINATION["REDDIT"] = "reddit";
21
- DESTINATION["INTERCOM"] = "intercom";
22
- DESTINATION["CUSTOMER_IO"] = "customerIO";
23
- DESTINATION["PINTEREST"] = "pinterest";
24
- DESTINATION["KLAVIYO"] = "klaviyo";
25
- DESTINATION["SENDLANE"] = "sendlane";
26
- DESTINATION["CONTACT_ACQUISITION"] = "contactAcquisition";
27
- DESTINATION["OUTBRAIN"] = "outbrain";
28
- DESTINATION["OMNISEND"] = "omnisend";
29
- DESTINATION["ATTENTIVE"] = "attentive";
30
- DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
31
- DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
32
- DESTINATION["CONTACT_ACQUISITION_INTEGRATION"] = "contactAcquisitionIntegration";
33
- DESTINATION["KLAVIYO_CONTACT_ACQUISITION"] = "klaviyoContactAcquisition";
34
- })(DESTINATION || (DESTINATION = {}));
35
- export var EVENT_TRIGGER_CONDITION;
36
- (function (EVENT_TRIGGER_CONDITION) {
37
- EVENT_TRIGGER_CONDITION["GT"] = "gt";
38
- EVENT_TRIGGER_CONDITION["EQ"] = "eq";
39
- EVENT_TRIGGER_CONDITION["LT"] = "lt";
40
- })(EVENT_TRIGGER_CONDITION || (EVENT_TRIGGER_CONDITION = {}));
1
+ export var DESTINATION_TYPE;
2
+ (function (DESTINATION_TYPE) {
3
+ DESTINATION_TYPE["INTEGRATION"] = "integration";
4
+ DESTINATION_TYPE["DESTINATION"] = "destination";
5
+ DESTINATION_TYPE["CONTACT_ACQUISITION"] = "contactAcquisition";
6
+ })(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
7
+ export var DESTINATION;
8
+ (function (DESTINATION) {
9
+ DESTINATION["FACEBOOK"] = "facebook";
10
+ DESTINATION["TIKTOK"] = "tiktok";
11
+ DESTINATION["GOOGLE_ADS"] = "googleAds";
12
+ DESTINATION["GOOGLE_ADS_V2"] = "googleAdsV2";
13
+ DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
14
+ DESTINATION["HUBSPOT"] = "hubspot";
15
+ DESTINATION["WEBHOOK"] = "webhook";
16
+ DESTINATION["CUSTOM_HTML"] = "customHTML";
17
+ DESTINATION["CUSTOM_JS"] = "customJS";
18
+ DESTINATION["SNAPCHAT"] = "snapchat";
19
+ DESTINATION["TWITTER"] = "twitter";
20
+ DESTINATION["REDDIT"] = "reddit";
21
+ DESTINATION["INTERCOM"] = "intercom";
22
+ DESTINATION["CUSTOMER_IO"] = "customerIO";
23
+ DESTINATION["PINTEREST"] = "pinterest";
24
+ DESTINATION["KLAVIYO"] = "klaviyo";
25
+ DESTINATION["SENDLANE"] = "sendlane";
26
+ DESTINATION["CONTACT_ACQUISITION"] = "contactAcquisition";
27
+ DESTINATION["OUTBRAIN"] = "outbrain";
28
+ DESTINATION["OMNISEND"] = "omnisend";
29
+ DESTINATION["ATTENTIVE"] = "attentive";
30
+ DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
31
+ DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
32
+ DESTINATION["CONTACT_ACQUISITION_INTEGRATION"] = "contactAcquisitionIntegration";
33
+ DESTINATION["KLAVIYO_CONTACT_ACQUISITION"] = "klaviyoContactAcquisition";
34
+ })(DESTINATION || (DESTINATION = {}));
35
+ export var EVENT_TRIGGER_CONDITION;
36
+ (function (EVENT_TRIGGER_CONDITION) {
37
+ EVENT_TRIGGER_CONDITION["GT"] = "gt";
38
+ EVENT_TRIGGER_CONDITION["EQ"] = "eq";
39
+ EVENT_TRIGGER_CONDITION["LT"] = "lt";
40
+ })(EVENT_TRIGGER_CONDITION || (EVENT_TRIGGER_CONDITION = {}));
41
41
  //# sourceMappingURL=destinations.js.map
@@ -1,9 +1,9 @@
1
- import { Destination, UserDestinationConfiguration } from './destinations';
2
- export interface KlaviyoContactAcquisition extends Destination {
3
- configuration: KlaviyoContactAcquisitionConfiguration;
4
- }
5
- export interface KlaviyoContactAcquisitionConfiguration extends UserDestinationConfiguration {
6
- apiAccessToken: string;
7
- listId?: string;
8
- reactivateListId?: string;
9
- }
1
+ import { Destination, UserDestinationConfiguration } from './destinations';
2
+ export interface KlaviyoContactAcquisition extends Destination {
3
+ configuration: KlaviyoContactAcquisitionConfiguration;
4
+ }
5
+ export interface KlaviyoContactAcquisitionConfiguration extends UserDestinationConfiguration {
6
+ apiAccessToken: string;
7
+ listId?: string;
8
+ reactivateListId?: string;
9
+ }