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

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 (253) 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 +76 -76
  4. package/dist/cjs/types/api/account.js +36 -36
  5. package/dist/cjs/types/api/contact-acquisition/contact-acquisition.d.ts +99 -99
  6. package/dist/cjs/types/api/contact-acquisition/contact-acquisition.js +14 -14
  7. package/dist/cjs/types/api/contact-acquisition/email-verification.d.ts +30 -30
  8. package/dist/cjs/types/api/contact-acquisition/email-verification.js +11 -11
  9. package/dist/cjs/types/api/contact-acquisition/index.d.ts +5 -5
  10. package/dist/cjs/types/api/contact-acquisition/index.js +21 -21
  11. package/dist/cjs/types/api/contact-acquisition/purchased-contact.d.ts +33 -36
  12. package/dist/cjs/types/api/contact-acquisition/purchased-contact.js +8 -8
  13. package/dist/cjs/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  14. package/dist/cjs/types/api/contact-acquisition/purchased-traits.js +2 -2
  15. package/dist/cjs/types/api/contact-acquisition/third-party-contact.d.ts +42 -39
  16. package/dist/cjs/types/api/contact-acquisition/third-party-contact.js +2 -2
  17. package/dist/cjs/types/api/dashboards/index.d.ts +1 -1
  18. package/dist/cjs/types/api/dashboards/index.js +17 -17
  19. package/dist/cjs/types/api/dashboards/widget.d.ts +115 -115
  20. package/dist/cjs/types/api/dashboards/widget.js +36 -36
  21. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  22. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  23. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  24. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  25. package/dist/cjs/types/api/destinations/destinations.d.ts +112 -112
  26. package/dist/cjs/types/api/destinations/destinations.js +50 -50
  27. package/dist/cjs/types/api/destinations/index.d.ts +5 -5
  28. package/dist/cjs/types/api/destinations/index.js +21 -21
  29. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  30. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  31. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +117 -117
  32. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  33. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +61 -61
  34. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  35. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  36. package/dist/cjs/types/api/event-last-seen.js +2 -2
  37. package/dist/cjs/types/api/event-status.d.ts +18 -18
  38. package/dist/cjs/types/api/event-status.js +9 -9
  39. package/dist/cjs/types/api/index.d.ts +21 -21
  40. package/dist/cjs/types/api/index.js +37 -37
  41. package/dist/cjs/types/api/log-events.d.ts +22 -22
  42. package/dist/cjs/types/api/log-events.js +2 -2
  43. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  44. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.js +1224 -1224
  45. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  46. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +446 -446
  47. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  48. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +639 -639
  49. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  50. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +339 -339
  51. package/dist/cjs/types/api/measures/definitions/index.d.ts +11 -11
  52. package/dist/cjs/types/api/measures/definitions/index.js +27 -27
  53. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  54. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.js +22 -22
  55. package/dist/cjs/types/api/measures/definitions/measure-categories.d.ts +18 -18
  56. package/dist/cjs/types/api/measures/definitions/measure-categories.js +22 -22
  57. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  58. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +29 -29
  59. package/dist/cjs/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  60. package/dist/cjs/types/api/measures/definitions/measure-value-type.js +12 -12
  61. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  62. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.js +715 -715
  63. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  64. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +296 -296
  65. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  66. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +297 -297
  67. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  68. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +519 -519
  69. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  70. package/dist/cjs/types/api/measures/index.js +18 -18
  71. package/dist/cjs/types/api/measures/measures.d.ts +322 -322
  72. package/dist/cjs/types/api/measures/measures.js +326 -326
  73. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  74. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  75. package/dist/cjs/types/api/query.d.ts +147 -147
  76. package/dist/cjs/types/api/query.js +90 -90
  77. package/dist/cjs/types/api/shopify-app-install.d.ts +40 -40
  78. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  79. package/dist/cjs/types/api/subscription.d.ts +180 -180
  80. package/dist/cjs/types/api/subscription.js +47 -47
  81. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  82. package/dist/cjs/types/api/tracking-events.js +2 -2
  83. package/dist/cjs/types/api/user-account.d.ts +22 -22
  84. package/dist/cjs/types/api/user-account.js +15 -15
  85. package/dist/cjs/types/api/user.d.ts +13 -13
  86. package/dist/cjs/types/api/user.js +2 -2
  87. package/dist/cjs/types/common/address.d.ts +15 -15
  88. package/dist/cjs/types/common/address.js +2 -2
  89. package/dist/cjs/types/common/currency.d.ts +1 -1
  90. package/dist/cjs/types/common/currency.js +63 -63
  91. package/dist/cjs/types/common/index.d.ts +2 -2
  92. package/dist/cjs/types/common/index.js +18 -18
  93. package/dist/cjs/types/event/base/event-name-enum.d.ts +79 -79
  94. package/dist/cjs/types/event/base/event-name-enum.js +85 -85
  95. package/dist/cjs/types/event/base/event.d.ts +20 -20
  96. package/dist/cjs/types/event/base/event.js +10 -10
  97. package/dist/cjs/types/event/base/index.d.ts +2 -2
  98. package/dist/cjs/types/event/base/index.js +18 -18
  99. package/dist/cjs/types/event/context/event-context-identity.d.ts +23 -21
  100. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  101. package/dist/cjs/types/event/context/event-context.d.ts +196 -196
  102. package/dist/cjs/types/event/context/event-context.js +2 -2
  103. package/dist/cjs/types/event/context/index.d.ts +2 -2
  104. package/dist/cjs/types/event/context/index.js +18 -18
  105. package/dist/cjs/types/event/index.d.ts +5 -5
  106. package/dist/cjs/types/event/index.js +21 -21
  107. package/dist/cjs/types/event/log-event.d.ts +35 -35
  108. package/dist/cjs/types/event/log-event.js +22 -22
  109. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  110. package/dist/cjs/types/event/metric-event.js +2 -2
  111. package/dist/cjs/types/event/tracking-event.d.ts +66 -66
  112. package/dist/cjs/types/event/tracking-event.js +2 -2
  113. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  114. package/dist/cjs/types/event-bus-event.js +2 -2
  115. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  116. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  117. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  118. package/dist/cjs/types/fingerprint/index.js +18 -18
  119. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  120. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  121. package/dist/cjs/types/index.d.ts +7 -7
  122. package/dist/cjs/types/index.js +23 -23
  123. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  124. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  125. package/dist/cjs/types/tracking-event-ingest-message.d.ts +12 -12
  126. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  127. package/dist/esm/index.d.ts +1 -1
  128. package/dist/esm/index.js +1 -1
  129. package/dist/esm/types/api/account.d.ts +76 -76
  130. package/dist/esm/types/api/account.js +33 -33
  131. package/dist/esm/types/api/contact-acquisition/contact-acquisition.d.ts +99 -99
  132. package/dist/esm/types/api/contact-acquisition/contact-acquisition.js +11 -11
  133. package/dist/esm/types/api/contact-acquisition/email-verification.d.ts +30 -30
  134. package/dist/esm/types/api/contact-acquisition/email-verification.js +8 -8
  135. package/dist/esm/types/api/contact-acquisition/index.d.ts +5 -5
  136. package/dist/esm/types/api/contact-acquisition/index.js +5 -5
  137. package/dist/esm/types/api/contact-acquisition/purchased-contact.d.ts +33 -36
  138. package/dist/esm/types/api/contact-acquisition/purchased-contact.js +5 -5
  139. package/dist/esm/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  140. package/dist/esm/types/api/contact-acquisition/purchased-traits.js +1 -1
  141. package/dist/esm/types/api/contact-acquisition/third-party-contact.d.ts +42 -39
  142. package/dist/esm/types/api/contact-acquisition/third-party-contact.js +1 -1
  143. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  144. package/dist/esm/types/api/dashboards/index.js +1 -1
  145. package/dist/esm/types/api/dashboards/widget.d.ts +115 -115
  146. package/dist/esm/types/api/dashboards/widget.js +33 -33
  147. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  148. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  149. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  150. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  151. package/dist/esm/types/api/destinations/destinations.d.ts +112 -112
  152. package/dist/esm/types/api/destinations/destinations.js +47 -47
  153. package/dist/esm/types/api/destinations/index.d.ts +5 -5
  154. package/dist/esm/types/api/destinations/index.js +5 -5
  155. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  156. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  157. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +117 -117
  158. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  159. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +61 -61
  160. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  161. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  162. package/dist/esm/types/api/event-last-seen.js +1 -1
  163. package/dist/esm/types/api/event-status.d.ts +18 -18
  164. package/dist/esm/types/api/event-status.js +6 -6
  165. package/dist/esm/types/api/index.d.ts +21 -21
  166. package/dist/esm/types/api/index.js +21 -21
  167. package/dist/esm/types/api/log-events.d.ts +22 -22
  168. package/dist/esm/types/api/log-events.js +1 -1
  169. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  170. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js +1221 -1221
  171. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  172. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +443 -443
  173. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  174. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +636 -636
  175. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  176. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +336 -336
  177. package/dist/esm/types/api/measures/definitions/index.d.ts +11 -11
  178. package/dist/esm/types/api/measures/definitions/index.js +11 -11
  179. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  180. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.js +19 -19
  181. package/dist/esm/types/api/measures/definitions/measure-categories.d.ts +18 -18
  182. package/dist/esm/types/api/measures/definitions/measure-categories.js +19 -19
  183. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  184. package/dist/esm/types/api/measures/definitions/measure-definitions.js +26 -26
  185. package/dist/esm/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  186. package/dist/esm/types/api/measures/definitions/measure-value-type.js +9 -9
  187. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  188. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.js +712 -712
  189. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  190. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +293 -293
  191. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  192. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +294 -294
  193. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  194. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +516 -516
  195. package/dist/esm/types/api/measures/index.d.ts +2 -2
  196. package/dist/esm/types/api/measures/index.js +2 -2
  197. package/dist/esm/types/api/measures/measures.d.ts +322 -322
  198. package/dist/esm/types/api/measures/measures.js +323 -323
  199. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  200. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  201. package/dist/esm/types/api/query.d.ts +147 -147
  202. package/dist/esm/types/api/query.js +87 -87
  203. package/dist/esm/types/api/shopify-app-install.d.ts +40 -40
  204. package/dist/esm/types/api/shopify-app-install.js +11 -11
  205. package/dist/esm/types/api/subscription.d.ts +180 -180
  206. package/dist/esm/types/api/subscription.js +44 -44
  207. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  208. package/dist/esm/types/api/tracking-events.js +1 -1
  209. package/dist/esm/types/api/user-account.d.ts +22 -22
  210. package/dist/esm/types/api/user-account.js +12 -12
  211. package/dist/esm/types/api/user.d.ts +13 -13
  212. package/dist/esm/types/api/user.js +1 -1
  213. package/dist/esm/types/common/address.d.ts +15 -15
  214. package/dist/esm/types/common/address.js +1 -1
  215. package/dist/esm/types/common/currency.d.ts +1 -1
  216. package/dist/esm/types/common/currency.js +60 -60
  217. package/dist/esm/types/common/index.d.ts +2 -2
  218. package/dist/esm/types/common/index.js +2 -2
  219. package/dist/esm/types/event/base/event-name-enum.d.ts +79 -79
  220. package/dist/esm/types/event/base/event-name-enum.js +82 -82
  221. package/dist/esm/types/event/base/event.d.ts +20 -20
  222. package/dist/esm/types/event/base/event.js +7 -7
  223. package/dist/esm/types/event/base/index.d.ts +2 -2
  224. package/dist/esm/types/event/base/index.js +2 -2
  225. package/dist/esm/types/event/context/event-context-identity.d.ts +23 -21
  226. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  227. package/dist/esm/types/event/context/event-context.d.ts +196 -196
  228. package/dist/esm/types/event/context/event-context.js +1 -1
  229. package/dist/esm/types/event/context/index.d.ts +2 -2
  230. package/dist/esm/types/event/context/index.js +2 -2
  231. package/dist/esm/types/event/index.d.ts +5 -5
  232. package/dist/esm/types/event/index.js +5 -5
  233. package/dist/esm/types/event/log-event.d.ts +35 -35
  234. package/dist/esm/types/event/log-event.js +19 -19
  235. package/dist/esm/types/event/metric-event.d.ts +13 -13
  236. package/dist/esm/types/event/metric-event.js +1 -1
  237. package/dist/esm/types/event/tracking-event.d.ts +66 -66
  238. package/dist/esm/types/event/tracking-event.js +1 -1
  239. package/dist/esm/types/event-bus-event.d.ts +25 -25
  240. package/dist/esm/types/event-bus-event.js +1 -1
  241. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  242. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  243. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  244. package/dist/esm/types/fingerprint/index.js +2 -2
  245. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  246. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  247. package/dist/esm/types/index.d.ts +7 -7
  248. package/dist/esm/types/index.js +7 -7
  249. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  250. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  251. package/dist/esm/types/tracking-event-ingest-message.d.ts +12 -12
  252. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  253. package/package.json +1 -1
@@ -1,112 +1,112 @@
1
- import { TRACKING_EVENT_NAME } from '../../event/base/event-name-enum.js';
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
- healthStatus?: DestinationHealthStatus;
15
- }
16
- export interface DestinationHealthStatus {
17
- status: DESTINATION_HEALTH_STATUS;
18
- lastCheckedAt: string;
19
- requestErrorCode?: number;
20
- errorDetails?: {
21
- errorCode?: number;
22
- errorSubCode?: number;
23
- errorType?: string;
24
- errorMessage?: string;
25
- errorCount?: number;
26
- };
27
- }
28
- export declare enum DESTINATION_HEALTH_STATUS {
29
- HEALTHY = "healthy",
30
- UNHEALTHY = "unhealthy",
31
- UNKNOWN = "unknown"
32
- }
33
- export interface DestinationOrderConfig {
34
- blockedSources?: string[];
35
- blockedTags?: string[];
36
- }
37
- export declare enum DESTINATION_TYPE {
38
- INTEGRATION = "integration",
39
- DESTINATION = "destination",
40
- CONTACT_ACQUISITION = "contactAcquisition"
41
- }
42
- export declare enum DESTINATION {
43
- FACEBOOK = "facebook",
44
- TIKTOK = "tiktok",
45
- GOOGLE_ADS = "googleAds",
46
- GOOGLE_ADS_V2 = "googleAdsV2",
47
- GOOGLE_ANALYTICS_4 = "googleAnalytics4",
48
- HUBSPOT = "hubspot",
49
- WEBHOOK = "webhook",
50
- CUSTOM_HTML = "customHTML",
51
- CUSTOM_JS = "customJS",
52
- SNAPCHAT = "snapchat",
53
- TWITTER = "twitter",
54
- REDDIT = "reddit",
55
- INTERCOM = "intercom",
56
- CUSTOMER_IO = "customerIO",
57
- PINTEREST = "pinterest",
58
- KLAVIYO = "klaviyo",
59
- SENDLANE = "sendlane",
60
- CONTACT_ACQUISITION = "contactAcquisition",
61
- OUTBRAIN = "outbrain",
62
- OMNISEND = "omnisend",
63
- ATTENTIVE = "attentive",
64
- YOTPO = "yotpo",
65
- FACEBOOK_INTEGRATION = "facebookIntegration",
66
- GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
67
- CONTACT_ACQUISITION_INTEGRATION = "contactAcquisitionIntegration",
68
- KLAVIYO_CONTACT_ACQUISITION = "klaviyoContactAcquisition"
69
- }
70
- export interface UserDestinationConfiguration {
71
- [key: string]: any;
72
- eventBlacklist?: string[];
73
- events?: EventConfiguration[];
74
- trigger?: DestinationTriggerConfiguration;
75
- }
76
- export interface DestinationTriggerConfiguration {
77
- shopify?: ShopifyTriggerConfiguration;
78
- exludeDomains?: string[];
79
- excludePages?: string[];
80
- domains?: string[];
81
- pages?: string[];
82
- events?: EventTriggerConfiguration[];
83
- }
84
- export interface ShopifyTriggerConfiguration {
85
- enabled: boolean;
86
- collections?: string[];
87
- tags?: string[];
88
- }
89
- export interface EventTriggerConfiguration {
90
- name: TRACKING_EVENT_NAME;
91
- count: number;
92
- condition: EVENT_TRIGGER_CONDITION;
93
- }
94
- export declare enum EVENT_TRIGGER_CONDITION {
95
- GT = "gt",
96
- EQ = "eq",
97
- LT = "lt"
98
- }
99
- export interface EventConfiguration {
100
- sourceEventName: string;
101
- exclude?: boolean;
102
- sample: EventSampleConfiguration;
103
- transformations?: EventTransformation[];
104
- }
105
- export interface EventTransformation {
106
- transformationEventName: string;
107
- enabled: boolean;
108
- }
109
- export interface EventSampleConfiguration {
110
- enabled: boolean;
111
- rate: number;
112
- }
1
+ import { TRACKING_EVENT_NAME } from '../../event/base/event-name-enum.js';
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
+ healthStatus?: DestinationHealthStatus;
15
+ }
16
+ export interface DestinationHealthStatus {
17
+ status: DESTINATION_HEALTH_STATUS;
18
+ lastCheckedAt: string;
19
+ requestErrorCode?: number;
20
+ errorDetails?: {
21
+ errorCode?: number;
22
+ errorSubCode?: number;
23
+ errorType?: string;
24
+ errorMessage?: string;
25
+ errorCount?: number;
26
+ };
27
+ }
28
+ export declare enum DESTINATION_HEALTH_STATUS {
29
+ HEALTHY = "healthy",
30
+ UNHEALTHY = "unhealthy",
31
+ UNKNOWN = "unknown"
32
+ }
33
+ export interface DestinationOrderConfig {
34
+ blockedSources?: string[];
35
+ blockedTags?: string[];
36
+ }
37
+ export declare enum DESTINATION_TYPE {
38
+ INTEGRATION = "integration",
39
+ DESTINATION = "destination",
40
+ CONTACT_ACQUISITION = "contactAcquisition"
41
+ }
42
+ export declare enum DESTINATION {
43
+ FACEBOOK = "facebook",
44
+ TIKTOK = "tiktok",
45
+ GOOGLE_ADS = "googleAds",
46
+ GOOGLE_ADS_V2 = "googleAdsV2",
47
+ GOOGLE_ANALYTICS_4 = "googleAnalytics4",
48
+ HUBSPOT = "hubspot",
49
+ WEBHOOK = "webhook",
50
+ CUSTOM_HTML = "customHTML",
51
+ CUSTOM_JS = "customJS",
52
+ SNAPCHAT = "snapchat",
53
+ TWITTER = "twitter",
54
+ REDDIT = "reddit",
55
+ INTERCOM = "intercom",
56
+ CUSTOMER_IO = "customerIO",
57
+ PINTEREST = "pinterest",
58
+ KLAVIYO = "klaviyo",
59
+ SENDLANE = "sendlane",
60
+ CONTACT_ACQUISITION = "contactAcquisition",
61
+ OUTBRAIN = "outbrain",
62
+ OMNISEND = "omnisend",
63
+ ATTENTIVE = "attentive",
64
+ YOTPO = "yotpo",
65
+ FACEBOOK_INTEGRATION = "facebookIntegration",
66
+ GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
67
+ CONTACT_ACQUISITION_INTEGRATION = "contactAcquisitionIntegration",
68
+ KLAVIYO_CONTACT_ACQUISITION = "klaviyoContactAcquisition"
69
+ }
70
+ export interface UserDestinationConfiguration {
71
+ [key: string]: any;
72
+ eventBlacklist?: string[];
73
+ events?: EventConfiguration[];
74
+ trigger?: DestinationTriggerConfiguration;
75
+ }
76
+ export interface DestinationTriggerConfiguration {
77
+ shopify?: ShopifyTriggerConfiguration;
78
+ exludeDomains?: string[];
79
+ excludePages?: string[];
80
+ domains?: string[];
81
+ pages?: string[];
82
+ events?: EventTriggerConfiguration[];
83
+ }
84
+ export interface ShopifyTriggerConfiguration {
85
+ enabled: boolean;
86
+ collections?: string[];
87
+ tags?: string[];
88
+ }
89
+ export interface EventTriggerConfiguration {
90
+ name: TRACKING_EVENT_NAME;
91
+ count: number;
92
+ condition: EVENT_TRIGGER_CONDITION;
93
+ }
94
+ export declare enum EVENT_TRIGGER_CONDITION {
95
+ GT = "gt",
96
+ EQ = "eq",
97
+ LT = "lt"
98
+ }
99
+ export interface EventConfiguration {
100
+ sourceEventName: string;
101
+ exclude?: boolean;
102
+ sample: EventSampleConfiguration;
103
+ transformations?: EventTransformation[];
104
+ }
105
+ export interface EventTransformation {
106
+ transformationEventName: string;
107
+ enabled: boolean;
108
+ }
109
+ export interface EventSampleConfiguration {
110
+ enabled: boolean;
111
+ rate: number;
112
+ }
@@ -1,48 +1,48 @@
1
- export var DESTINATION_HEALTH_STATUS;
2
- (function (DESTINATION_HEALTH_STATUS) {
3
- DESTINATION_HEALTH_STATUS["HEALTHY"] = "healthy";
4
- DESTINATION_HEALTH_STATUS["UNHEALTHY"] = "unhealthy";
5
- DESTINATION_HEALTH_STATUS["UNKNOWN"] = "unknown";
6
- })(DESTINATION_HEALTH_STATUS || (DESTINATION_HEALTH_STATUS = {}));
7
- export var DESTINATION_TYPE;
8
- (function (DESTINATION_TYPE) {
9
- DESTINATION_TYPE["INTEGRATION"] = "integration";
10
- DESTINATION_TYPE["DESTINATION"] = "destination";
11
- DESTINATION_TYPE["CONTACT_ACQUISITION"] = "contactAcquisition";
12
- })(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
13
- export var DESTINATION;
14
- (function (DESTINATION) {
15
- DESTINATION["FACEBOOK"] = "facebook";
16
- DESTINATION["TIKTOK"] = "tiktok";
17
- DESTINATION["GOOGLE_ADS"] = "googleAds";
18
- DESTINATION["GOOGLE_ADS_V2"] = "googleAdsV2";
19
- DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
20
- DESTINATION["HUBSPOT"] = "hubspot";
21
- DESTINATION["WEBHOOK"] = "webhook";
22
- DESTINATION["CUSTOM_HTML"] = "customHTML";
23
- DESTINATION["CUSTOM_JS"] = "customJS";
24
- DESTINATION["SNAPCHAT"] = "snapchat";
25
- DESTINATION["TWITTER"] = "twitter";
26
- DESTINATION["REDDIT"] = "reddit";
27
- DESTINATION["INTERCOM"] = "intercom";
28
- DESTINATION["CUSTOMER_IO"] = "customerIO";
29
- DESTINATION["PINTEREST"] = "pinterest";
30
- DESTINATION["KLAVIYO"] = "klaviyo";
31
- DESTINATION["SENDLANE"] = "sendlane";
32
- DESTINATION["CONTACT_ACQUISITION"] = "contactAcquisition";
33
- DESTINATION["OUTBRAIN"] = "outbrain";
34
- DESTINATION["OMNISEND"] = "omnisend";
35
- DESTINATION["ATTENTIVE"] = "attentive";
36
- DESTINATION["YOTPO"] = "yotpo";
37
- DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
38
- DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
39
- DESTINATION["CONTACT_ACQUISITION_INTEGRATION"] = "contactAcquisitionIntegration";
40
- DESTINATION["KLAVIYO_CONTACT_ACQUISITION"] = "klaviyoContactAcquisition";
41
- })(DESTINATION || (DESTINATION = {}));
42
- export var EVENT_TRIGGER_CONDITION;
43
- (function (EVENT_TRIGGER_CONDITION) {
44
- EVENT_TRIGGER_CONDITION["GT"] = "gt";
45
- EVENT_TRIGGER_CONDITION["EQ"] = "eq";
46
- EVENT_TRIGGER_CONDITION["LT"] = "lt";
47
- })(EVENT_TRIGGER_CONDITION || (EVENT_TRIGGER_CONDITION = {}));
1
+ export var DESTINATION_HEALTH_STATUS;
2
+ (function (DESTINATION_HEALTH_STATUS) {
3
+ DESTINATION_HEALTH_STATUS["HEALTHY"] = "healthy";
4
+ DESTINATION_HEALTH_STATUS["UNHEALTHY"] = "unhealthy";
5
+ DESTINATION_HEALTH_STATUS["UNKNOWN"] = "unknown";
6
+ })(DESTINATION_HEALTH_STATUS || (DESTINATION_HEALTH_STATUS = {}));
7
+ export var DESTINATION_TYPE;
8
+ (function (DESTINATION_TYPE) {
9
+ DESTINATION_TYPE["INTEGRATION"] = "integration";
10
+ DESTINATION_TYPE["DESTINATION"] = "destination";
11
+ DESTINATION_TYPE["CONTACT_ACQUISITION"] = "contactAcquisition";
12
+ })(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
13
+ export var DESTINATION;
14
+ (function (DESTINATION) {
15
+ DESTINATION["FACEBOOK"] = "facebook";
16
+ DESTINATION["TIKTOK"] = "tiktok";
17
+ DESTINATION["GOOGLE_ADS"] = "googleAds";
18
+ DESTINATION["GOOGLE_ADS_V2"] = "googleAdsV2";
19
+ DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
20
+ DESTINATION["HUBSPOT"] = "hubspot";
21
+ DESTINATION["WEBHOOK"] = "webhook";
22
+ DESTINATION["CUSTOM_HTML"] = "customHTML";
23
+ DESTINATION["CUSTOM_JS"] = "customJS";
24
+ DESTINATION["SNAPCHAT"] = "snapchat";
25
+ DESTINATION["TWITTER"] = "twitter";
26
+ DESTINATION["REDDIT"] = "reddit";
27
+ DESTINATION["INTERCOM"] = "intercom";
28
+ DESTINATION["CUSTOMER_IO"] = "customerIO";
29
+ DESTINATION["PINTEREST"] = "pinterest";
30
+ DESTINATION["KLAVIYO"] = "klaviyo";
31
+ DESTINATION["SENDLANE"] = "sendlane";
32
+ DESTINATION["CONTACT_ACQUISITION"] = "contactAcquisition";
33
+ DESTINATION["OUTBRAIN"] = "outbrain";
34
+ DESTINATION["OMNISEND"] = "omnisend";
35
+ DESTINATION["ATTENTIVE"] = "attentive";
36
+ DESTINATION["YOTPO"] = "yotpo";
37
+ DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
38
+ DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
39
+ DESTINATION["CONTACT_ACQUISITION_INTEGRATION"] = "contactAcquisitionIntegration";
40
+ DESTINATION["KLAVIYO_CONTACT_ACQUISITION"] = "klaviyoContactAcquisition";
41
+ })(DESTINATION || (DESTINATION = {}));
42
+ export var EVENT_TRIGGER_CONDITION;
43
+ (function (EVENT_TRIGGER_CONDITION) {
44
+ EVENT_TRIGGER_CONDITION["GT"] = "gt";
45
+ EVENT_TRIGGER_CONDITION["EQ"] = "eq";
46
+ EVENT_TRIGGER_CONDITION["LT"] = "lt";
47
+ })(EVENT_TRIGGER_CONDITION || (EVENT_TRIGGER_CONDITION = {}));
48
48
  //# sourceMappingURL=destinations.js.map
@@ -1,5 +1,5 @@
1
- export * from './destinations.js';
2
- export * from './destination-catalog.js';
3
- export * from './third-party-destination-configs.js';
4
- export * from './third-party-integration-configs.js';
5
- export * from './third-party-contact-acquisition-configs.js';
1
+ export * from './destinations.js';
2
+ export * from './destination-catalog.js';
3
+ export * from './third-party-destination-configs.js';
4
+ export * from './third-party-integration-configs.js';
5
+ export * from './third-party-contact-acquisition-configs.js';
@@ -1,6 +1,6 @@
1
- export * from './destinations.js';
2
- export * from './destination-catalog.js';
3
- export * from './third-party-destination-configs.js';
4
- export * from './third-party-integration-configs.js';
5
- export * from './third-party-contact-acquisition-configs.js';
1
+ export * from './destinations.js';
2
+ export * from './destination-catalog.js';
3
+ export * from './third-party-destination-configs.js';
4
+ export * from './third-party-integration-configs.js';
5
+ export * from './third-party-contact-acquisition-configs.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,9 @@
1
- import { Destination, UserDestinationConfiguration } from './destinations.js';
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.js';
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,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=third-party-contact-acquisition-configs.js.map
@@ -1,117 +1,117 @@
1
- import { Destination, UserDestinationConfiguration } from './destinations.js';
2
- export interface AdTrackifyFacebookDestination extends Destination {
3
- configuration: FacebookPixelConfiguration;
4
- }
5
- export interface AdTrackifyTikTokDestination extends Destination {
6
- configuration: TiktokPixelConfiguration;
7
- }
8
- export interface AdTrackifyGoogleAnalytics4Destination extends Destination {
9
- configuration: GoogleAnalytics4Configuration;
10
- }
11
- export interface AdTrackifyPinterestDestination extends Destination {
12
- configuration: PinterestConfiguration;
13
- }
14
- export interface AdTrackifySnapchatDestination extends Destination {
15
- configuration: SnapchatConfiguration;
16
- }
17
- export interface AdTrackifyKlaviyoDestination extends Destination {
18
- configuration: KlaviyoConfiguration;
19
- }
20
- export interface AdTrackifySendlaneDestination extends Destination {
21
- configuration: SendlaneConfiguration;
22
- }
23
- export interface AdTrackifyOutboxDestination extends Destination {
24
- configuration: OutbrainConfiguration;
25
- }
26
- export interface AdTrackifyGoogleAdsV2Destination extends Destination {
27
- configuration: GoogleAdsV2Configuration;
28
- }
29
- export interface AdTrackifyOmnisendDestination extends Destination {
30
- configuration: OmnisendConfiguration;
31
- }
32
- export interface AdTrackifyAttentiveDestination extends Destination {
33
- configuration: AttentiveConfiguration;
34
- }
35
- export interface AdTrackifyYotpoDestination extends Destination {
36
- configuration: YotpoConfiguration;
37
- }
38
- export interface FacebookPixelConfiguration extends UserDestinationConfiguration {
39
- apiAccessToken?: string;
40
- enableConversionAPI: boolean;
41
- pixelId: string;
42
- }
43
- export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
44
- apiAccessToken?: string;
45
- enableConversionAPI: boolean;
46
- pixelId: string;
47
- }
48
- export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
49
- apiSecret: string;
50
- measurementId: string;
51
- }
52
- export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
53
- pixelId: string;
54
- conversionID: string;
55
- }
56
- export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
57
- hubspotId: string;
58
- }
59
- export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
60
- twitterPixelId: string;
61
- }
62
- export interface IntercomTagConfiguration extends UserDestinationConfiguration {
63
- appId: string;
64
- apiBase: string;
65
- }
66
- export interface WebhookConfiguration extends UserDestinationConfiguration {
67
- webhookUrl: string;
68
- }
69
- export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
70
- html: string;
71
- location: CustomHTMLLocation;
72
- }
73
- export interface PinterestConfiguration extends UserDestinationConfiguration {
74
- pixelId: string;
75
- enableConversionAPI: boolean;
76
- advertiserId?: string;
77
- apiAccessToken?: string;
78
- }
79
- export interface SnapchatConfiguration extends UserDestinationConfiguration {
80
- snapchatPixelId: string;
81
- enableConversionAPI: boolean;
82
- apiAccessToken?: string;
83
- }
84
- export interface KlaviyoConfiguration extends UserDestinationConfiguration {
85
- apiAccessToken: string;
86
- enablePredictivePopup: boolean;
87
- signupFormId?: string;
88
- clonedSignupFormId?: string;
89
- }
90
- export interface SendlaneConfiguration extends UserDestinationConfiguration {
91
- apiAccessToken: string;
92
- sendlaneIntegrationToken: string;
93
- }
94
- export interface OmnisendConfiguration extends UserDestinationConfiguration {
95
- apiKey: string;
96
- }
97
- export interface AttentiveConfiguration extends UserDestinationConfiguration {
98
- apiKey: string;
99
- }
100
- export interface OutbrainConfiguration extends UserDestinationConfiguration {
101
- pixelId: string;
102
- }
103
- export interface GoogleAdsV2Configuration extends UserDestinationConfiguration {
104
- accountId: string;
105
- merchantCenterId: string;
106
- conversionId: string;
107
- }
108
- export interface YotpoConfiguration extends UserDestinationConfiguration {
109
- appKey: string;
110
- secretKey: string;
111
- apiAccessToken?: string;
112
- }
113
- export declare enum CustomHTMLLocation {
114
- HEADER = "header",
115
- FOOTER = "footer",
116
- BODY = "body"
117
- }
1
+ import { Destination, UserDestinationConfiguration } from './destinations.js';
2
+ export interface AdTrackifyFacebookDestination extends Destination {
3
+ configuration: FacebookPixelConfiguration;
4
+ }
5
+ export interface AdTrackifyTikTokDestination extends Destination {
6
+ configuration: TiktokPixelConfiguration;
7
+ }
8
+ export interface AdTrackifyGoogleAnalytics4Destination extends Destination {
9
+ configuration: GoogleAnalytics4Configuration;
10
+ }
11
+ export interface AdTrackifyPinterestDestination extends Destination {
12
+ configuration: PinterestConfiguration;
13
+ }
14
+ export interface AdTrackifySnapchatDestination extends Destination {
15
+ configuration: SnapchatConfiguration;
16
+ }
17
+ export interface AdTrackifyKlaviyoDestination extends Destination {
18
+ configuration: KlaviyoConfiguration;
19
+ }
20
+ export interface AdTrackifySendlaneDestination extends Destination {
21
+ configuration: SendlaneConfiguration;
22
+ }
23
+ export interface AdTrackifyOutboxDestination extends Destination {
24
+ configuration: OutbrainConfiguration;
25
+ }
26
+ export interface AdTrackifyGoogleAdsV2Destination extends Destination {
27
+ configuration: GoogleAdsV2Configuration;
28
+ }
29
+ export interface AdTrackifyOmnisendDestination extends Destination {
30
+ configuration: OmnisendConfiguration;
31
+ }
32
+ export interface AdTrackifyAttentiveDestination extends Destination {
33
+ configuration: AttentiveConfiguration;
34
+ }
35
+ export interface AdTrackifyYotpoDestination extends Destination {
36
+ configuration: YotpoConfiguration;
37
+ }
38
+ export interface FacebookPixelConfiguration extends UserDestinationConfiguration {
39
+ apiAccessToken?: string;
40
+ enableConversionAPI: boolean;
41
+ pixelId: string;
42
+ }
43
+ export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
44
+ apiAccessToken?: string;
45
+ enableConversionAPI: boolean;
46
+ pixelId: string;
47
+ }
48
+ export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
49
+ apiSecret: string;
50
+ measurementId: string;
51
+ }
52
+ export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
53
+ pixelId: string;
54
+ conversionID: string;
55
+ }
56
+ export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
57
+ hubspotId: string;
58
+ }
59
+ export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
60
+ twitterPixelId: string;
61
+ }
62
+ export interface IntercomTagConfiguration extends UserDestinationConfiguration {
63
+ appId: string;
64
+ apiBase: string;
65
+ }
66
+ export interface WebhookConfiguration extends UserDestinationConfiguration {
67
+ webhookUrl: string;
68
+ }
69
+ export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
70
+ html: string;
71
+ location: CustomHTMLLocation;
72
+ }
73
+ export interface PinterestConfiguration extends UserDestinationConfiguration {
74
+ pixelId: string;
75
+ enableConversionAPI: boolean;
76
+ advertiserId?: string;
77
+ apiAccessToken?: string;
78
+ }
79
+ export interface SnapchatConfiguration extends UserDestinationConfiguration {
80
+ snapchatPixelId: string;
81
+ enableConversionAPI: boolean;
82
+ apiAccessToken?: string;
83
+ }
84
+ export interface KlaviyoConfiguration extends UserDestinationConfiguration {
85
+ apiAccessToken: string;
86
+ enablePredictivePopup: boolean;
87
+ signupFormId?: string;
88
+ clonedSignupFormId?: string;
89
+ }
90
+ export interface SendlaneConfiguration extends UserDestinationConfiguration {
91
+ apiAccessToken: string;
92
+ sendlaneIntegrationToken: string;
93
+ }
94
+ export interface OmnisendConfiguration extends UserDestinationConfiguration {
95
+ apiKey: string;
96
+ }
97
+ export interface AttentiveConfiguration extends UserDestinationConfiguration {
98
+ apiKey: string;
99
+ }
100
+ export interface OutbrainConfiguration extends UserDestinationConfiguration {
101
+ pixelId: string;
102
+ }
103
+ export interface GoogleAdsV2Configuration extends UserDestinationConfiguration {
104
+ accountId: string;
105
+ merchantCenterId: string;
106
+ conversionId: string;
107
+ }
108
+ export interface YotpoConfiguration extends UserDestinationConfiguration {
109
+ appKey: string;
110
+ secretKey: string;
111
+ apiAccessToken?: string;
112
+ }
113
+ export declare enum CustomHTMLLocation {
114
+ HEADER = "header",
115
+ FOOTER = "footer",
116
+ BODY = "body"
117
+ }
@@ -1,7 +1,7 @@
1
- export var CustomHTMLLocation;
2
- (function (CustomHTMLLocation) {
3
- CustomHTMLLocation["HEADER"] = "header";
4
- CustomHTMLLocation["FOOTER"] = "footer";
5
- CustomHTMLLocation["BODY"] = "body";
6
- })(CustomHTMLLocation || (CustomHTMLLocation = {}));
1
+ export var CustomHTMLLocation;
2
+ (function (CustomHTMLLocation) {
3
+ CustomHTMLLocation["HEADER"] = "header";
4
+ CustomHTMLLocation["FOOTER"] = "footer";
5
+ CustomHTMLLocation["BODY"] = "body";
6
+ })(CustomHTMLLocation || (CustomHTMLLocation = {}));
7
7
  //# sourceMappingURL=third-party-destination-configs.js.map