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

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 (257) 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 -33
  12. package/dist/cjs/types/api/contact-acquisition/purchased-contact.js +8 -8
  13. package/dist/cjs/types/api/contact-acquisition/purchased-contact.js.map +1 -1
  14. package/dist/cjs/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  15. package/dist/cjs/types/api/contact-acquisition/purchased-traits.js +2 -2
  16. package/dist/cjs/types/api/contact-acquisition/third-party-contact.d.ts +42 -42
  17. package/dist/cjs/types/api/contact-acquisition/third-party-contact.js +2 -2
  18. package/dist/cjs/types/api/dashboards/index.d.ts +1 -1
  19. package/dist/cjs/types/api/dashboards/index.js +17 -17
  20. package/dist/cjs/types/api/dashboards/widget.d.ts +115 -115
  21. package/dist/cjs/types/api/dashboards/widget.js +36 -36
  22. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  23. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  24. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  25. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  26. package/dist/cjs/types/api/destinations/destinations.d.ts +112 -112
  27. package/dist/cjs/types/api/destinations/destinations.js +50 -50
  28. package/dist/cjs/types/api/destinations/index.d.ts +5 -5
  29. package/dist/cjs/types/api/destinations/index.js +21 -21
  30. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  31. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  32. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +117 -117
  33. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  34. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +61 -61
  35. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  36. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  37. package/dist/cjs/types/api/event-last-seen.js +2 -2
  38. package/dist/cjs/types/api/event-status.d.ts +18 -18
  39. package/dist/cjs/types/api/event-status.js +9 -9
  40. package/dist/cjs/types/api/index.d.ts +21 -21
  41. package/dist/cjs/types/api/index.js +37 -37
  42. package/dist/cjs/types/api/log-events.d.ts +22 -22
  43. package/dist/cjs/types/api/log-events.js +2 -2
  44. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  45. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.js +1224 -1224
  46. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  47. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +446 -446
  48. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  49. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +639 -639
  50. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  51. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +339 -339
  52. package/dist/cjs/types/api/measures/definitions/index.d.ts +11 -11
  53. package/dist/cjs/types/api/measures/definitions/index.js +27 -27
  54. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  55. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.js +22 -22
  56. package/dist/cjs/types/api/measures/definitions/measure-categories.d.ts +18 -18
  57. package/dist/cjs/types/api/measures/definitions/measure-categories.js +22 -22
  58. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  59. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +29 -29
  60. package/dist/cjs/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  61. package/dist/cjs/types/api/measures/definitions/measure-value-type.js +12 -12
  62. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  63. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.js +715 -715
  64. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  65. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +296 -296
  66. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  67. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +297 -297
  68. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  69. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +519 -519
  70. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  71. package/dist/cjs/types/api/measures/index.js +18 -18
  72. package/dist/cjs/types/api/measures/measures.d.ts +322 -322
  73. package/dist/cjs/types/api/measures/measures.js +326 -326
  74. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  75. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  76. package/dist/cjs/types/api/query.d.ts +147 -147
  77. package/dist/cjs/types/api/query.js +90 -90
  78. package/dist/cjs/types/api/shopify-app-install.d.ts +40 -40
  79. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  80. package/dist/cjs/types/api/subscription.d.ts +180 -180
  81. package/dist/cjs/types/api/subscription.js +47 -47
  82. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  83. package/dist/cjs/types/api/tracking-events.js +2 -2
  84. package/dist/cjs/types/api/user-account.d.ts +22 -22
  85. package/dist/cjs/types/api/user-account.js +15 -15
  86. package/dist/cjs/types/api/user.d.ts +13 -13
  87. package/dist/cjs/types/api/user.js +2 -2
  88. package/dist/cjs/types/common/address.d.ts +22 -15
  89. package/dist/cjs/types/common/address.js +8 -2
  90. package/dist/cjs/types/common/address.js.map +1 -1
  91. package/dist/cjs/types/common/currency.d.ts +1 -1
  92. package/dist/cjs/types/common/currency.js +63 -63
  93. package/dist/cjs/types/common/index.d.ts +2 -2
  94. package/dist/cjs/types/common/index.js +18 -18
  95. package/dist/cjs/types/event/base/event-name-enum.d.ts +79 -79
  96. package/dist/cjs/types/event/base/event-name-enum.js +85 -85
  97. package/dist/cjs/types/event/base/event.d.ts +20 -20
  98. package/dist/cjs/types/event/base/event.js +10 -10
  99. package/dist/cjs/types/event/base/index.d.ts +2 -2
  100. package/dist/cjs/types/event/base/index.js +18 -18
  101. package/dist/cjs/types/event/context/event-context-identity.d.ts +29 -21
  102. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  103. package/dist/cjs/types/event/context/event-context.d.ts +196 -196
  104. package/dist/cjs/types/event/context/event-context.js +2 -2
  105. package/dist/cjs/types/event/context/index.d.ts +2 -2
  106. package/dist/cjs/types/event/context/index.js +18 -18
  107. package/dist/cjs/types/event/index.d.ts +5 -5
  108. package/dist/cjs/types/event/index.js +21 -21
  109. package/dist/cjs/types/event/log-event.d.ts +35 -35
  110. package/dist/cjs/types/event/log-event.js +22 -22
  111. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  112. package/dist/cjs/types/event/metric-event.js +2 -2
  113. package/dist/cjs/types/event/tracking-event.d.ts +66 -66
  114. package/dist/cjs/types/event/tracking-event.js +2 -2
  115. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  116. package/dist/cjs/types/event-bus-event.js +2 -2
  117. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  118. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  119. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  120. package/dist/cjs/types/fingerprint/index.js +18 -18
  121. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  122. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  123. package/dist/cjs/types/index.d.ts +7 -7
  124. package/dist/cjs/types/index.js +23 -23
  125. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  126. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  127. package/dist/cjs/types/tracking-event-ingest-message.d.ts +12 -12
  128. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  129. package/dist/esm/index.d.ts +1 -1
  130. package/dist/esm/index.js +1 -1
  131. package/dist/esm/types/api/account.d.ts +76 -76
  132. package/dist/esm/types/api/account.js +33 -33
  133. package/dist/esm/types/api/contact-acquisition/contact-acquisition.d.ts +99 -99
  134. package/dist/esm/types/api/contact-acquisition/contact-acquisition.js +11 -11
  135. package/dist/esm/types/api/contact-acquisition/email-verification.d.ts +30 -30
  136. package/dist/esm/types/api/contact-acquisition/email-verification.js +8 -8
  137. package/dist/esm/types/api/contact-acquisition/index.d.ts +5 -5
  138. package/dist/esm/types/api/contact-acquisition/index.js +5 -5
  139. package/dist/esm/types/api/contact-acquisition/purchased-contact.d.ts +33 -33
  140. package/dist/esm/types/api/contact-acquisition/purchased-contact.js +5 -5
  141. package/dist/esm/types/api/contact-acquisition/purchased-contact.js.map +1 -1
  142. package/dist/esm/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  143. package/dist/esm/types/api/contact-acquisition/purchased-traits.js +1 -1
  144. package/dist/esm/types/api/contact-acquisition/third-party-contact.d.ts +42 -42
  145. package/dist/esm/types/api/contact-acquisition/third-party-contact.js +1 -1
  146. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  147. package/dist/esm/types/api/dashboards/index.js +1 -1
  148. package/dist/esm/types/api/dashboards/widget.d.ts +115 -115
  149. package/dist/esm/types/api/dashboards/widget.js +33 -33
  150. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  151. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  152. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  153. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  154. package/dist/esm/types/api/destinations/destinations.d.ts +112 -112
  155. package/dist/esm/types/api/destinations/destinations.js +47 -47
  156. package/dist/esm/types/api/destinations/index.d.ts +5 -5
  157. package/dist/esm/types/api/destinations/index.js +5 -5
  158. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  159. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  160. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +117 -117
  161. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  162. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +61 -61
  163. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  164. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  165. package/dist/esm/types/api/event-last-seen.js +1 -1
  166. package/dist/esm/types/api/event-status.d.ts +18 -18
  167. package/dist/esm/types/api/event-status.js +6 -6
  168. package/dist/esm/types/api/index.d.ts +21 -21
  169. package/dist/esm/types/api/index.js +21 -21
  170. package/dist/esm/types/api/log-events.d.ts +22 -22
  171. package/dist/esm/types/api/log-events.js +1 -1
  172. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  173. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js +1221 -1221
  174. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  175. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +443 -443
  176. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  177. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +636 -636
  178. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  179. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +336 -336
  180. package/dist/esm/types/api/measures/definitions/index.d.ts +11 -11
  181. package/dist/esm/types/api/measures/definitions/index.js +11 -11
  182. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  183. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.js +19 -19
  184. package/dist/esm/types/api/measures/definitions/measure-categories.d.ts +18 -18
  185. package/dist/esm/types/api/measures/definitions/measure-categories.js +19 -19
  186. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  187. package/dist/esm/types/api/measures/definitions/measure-definitions.js +26 -26
  188. package/dist/esm/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  189. package/dist/esm/types/api/measures/definitions/measure-value-type.js +9 -9
  190. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  191. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.js +712 -712
  192. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  193. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +293 -293
  194. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  195. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +294 -294
  196. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  197. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +516 -516
  198. package/dist/esm/types/api/measures/index.d.ts +2 -2
  199. package/dist/esm/types/api/measures/index.js +2 -2
  200. package/dist/esm/types/api/measures/measures.d.ts +322 -322
  201. package/dist/esm/types/api/measures/measures.js +323 -323
  202. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  203. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  204. package/dist/esm/types/api/query.d.ts +147 -147
  205. package/dist/esm/types/api/query.js +87 -87
  206. package/dist/esm/types/api/shopify-app-install.d.ts +40 -40
  207. package/dist/esm/types/api/shopify-app-install.js +11 -11
  208. package/dist/esm/types/api/subscription.d.ts +180 -180
  209. package/dist/esm/types/api/subscription.js +44 -44
  210. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  211. package/dist/esm/types/api/tracking-events.js +1 -1
  212. package/dist/esm/types/api/user-account.d.ts +22 -22
  213. package/dist/esm/types/api/user-account.js +12 -12
  214. package/dist/esm/types/api/user.d.ts +13 -13
  215. package/dist/esm/types/api/user.js +1 -1
  216. package/dist/esm/types/common/address.d.ts +22 -15
  217. package/dist/esm/types/common/address.js +5 -1
  218. package/dist/esm/types/common/address.js.map +1 -1
  219. package/dist/esm/types/common/currency.d.ts +1 -1
  220. package/dist/esm/types/common/currency.js +60 -60
  221. package/dist/esm/types/common/index.d.ts +2 -2
  222. package/dist/esm/types/common/index.js +2 -2
  223. package/dist/esm/types/event/base/event-name-enum.d.ts +79 -79
  224. package/dist/esm/types/event/base/event-name-enum.js +82 -82
  225. package/dist/esm/types/event/base/event.d.ts +20 -20
  226. package/dist/esm/types/event/base/event.js +7 -7
  227. package/dist/esm/types/event/base/index.d.ts +2 -2
  228. package/dist/esm/types/event/base/index.js +2 -2
  229. package/dist/esm/types/event/context/event-context-identity.d.ts +29 -21
  230. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  231. package/dist/esm/types/event/context/event-context.d.ts +196 -196
  232. package/dist/esm/types/event/context/event-context.js +1 -1
  233. package/dist/esm/types/event/context/index.d.ts +2 -2
  234. package/dist/esm/types/event/context/index.js +2 -2
  235. package/dist/esm/types/event/index.d.ts +5 -5
  236. package/dist/esm/types/event/index.js +5 -5
  237. package/dist/esm/types/event/log-event.d.ts +35 -35
  238. package/dist/esm/types/event/log-event.js +19 -19
  239. package/dist/esm/types/event/metric-event.d.ts +13 -13
  240. package/dist/esm/types/event/metric-event.js +1 -1
  241. package/dist/esm/types/event/tracking-event.d.ts +66 -66
  242. package/dist/esm/types/event/tracking-event.js +1 -1
  243. package/dist/esm/types/event-bus-event.d.ts +25 -25
  244. package/dist/esm/types/event-bus-event.js +1 -1
  245. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  246. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  247. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  248. package/dist/esm/types/fingerprint/index.js +2 -2
  249. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  250. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  251. package/dist/esm/types/index.d.ts +7 -7
  252. package/dist/esm/types/index.js +7 -7
  253. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  254. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  255. package/dist/esm/types/tracking-event-ingest-message.d.ts +12 -12
  256. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  257. 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