@adtrackify/at-tracking-event-types 3.1.52 → 3.1.53

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 (216) hide show
  1. package/README.md +12 -12
  2. package/dist/cjs/index.d.ts +1 -1
  3. package/dist/cjs/index.js +17 -17
  4. package/dist/cjs/types/api/account.d.ts +62 -62
  5. package/dist/cjs/types/api/account.js +23 -23
  6. package/dist/cjs/types/api/contact-acquisition.d.ts +39 -39
  7. package/dist/cjs/types/api/contact-acquisition.js +16 -16
  8. package/dist/cjs/types/api/dashboards/index.d.ts +1 -1
  9. package/dist/cjs/types/api/dashboards/index.js +17 -17
  10. package/dist/cjs/types/api/dashboards/widget.d.ts +94 -94
  11. package/dist/cjs/types/api/dashboards/widget.js +26 -26
  12. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  13. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  14. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  15. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  16. package/dist/cjs/types/api/destinations/destinations.d.ts +112 -112
  17. package/dist/cjs/types/api/destinations/destinations.js +49 -49
  18. package/dist/cjs/types/api/destinations/index.d.ts +5 -5
  19. package/dist/cjs/types/api/destinations/index.js +21 -21
  20. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  21. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  22. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +106 -106
  23. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  24. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  25. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  26. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  27. package/dist/cjs/types/api/event-last-seen.js +2 -2
  28. package/dist/cjs/types/api/event-status.d.ts +18 -18
  29. package/dist/cjs/types/api/event-status.js +9 -9
  30. package/dist/cjs/types/api/index.d.ts +19 -19
  31. package/dist/cjs/types/api/index.js +35 -35
  32. package/dist/cjs/types/api/log-events.d.ts +22 -22
  33. package/dist/cjs/types/api/log-events.js +2 -2
  34. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  35. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.js +139 -139
  36. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  37. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +117 -117
  38. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  39. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +403 -403
  40. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  41. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +205 -205
  42. package/dist/cjs/types/api/measures/definitions/index.d.ts +8 -8
  43. package/dist/cjs/types/api/measures/definitions/index.js +24 -24
  44. package/dist/cjs/types/api/measures/definitions/measure-categories.d.ts +18 -18
  45. package/dist/cjs/types/api/measures/definitions/measure-categories.js +22 -22
  46. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +200 -200
  47. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +196 -195
  48. package/dist/cjs/types/api/measures/definitions/measure-definitions.js.map +1 -1
  49. package/dist/cjs/types/api/measures/definitions/shopify-measure-definitions.d.ts +3 -3
  50. package/dist/cjs/types/api/measures/definitions/shopify-measure-definitions.js +614 -614
  51. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  52. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +381 -381
  53. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  54. package/dist/cjs/types/api/measures/index.js +18 -18
  55. package/dist/cjs/types/api/measures/measures.d.ts +283 -283
  56. package/dist/cjs/types/api/measures/measures.js +376 -376
  57. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  58. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  59. package/dist/cjs/types/api/query.d.ts +147 -147
  60. package/dist/cjs/types/api/query.js +90 -90
  61. package/dist/cjs/types/api/shopify-app-install.d.ts +40 -40
  62. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  63. package/dist/cjs/types/api/subscription.d.ts +155 -155
  64. package/dist/cjs/types/api/subscription.js +47 -47
  65. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  66. package/dist/cjs/types/api/tracking-events.js +2 -2
  67. package/dist/cjs/types/api/user.d.ts +13 -13
  68. package/dist/cjs/types/api/user.js +2 -2
  69. package/dist/cjs/types/common/address.d.ts +15 -15
  70. package/dist/cjs/types/common/address.js +2 -2
  71. package/dist/cjs/types/common/currency.d.ts +1 -1
  72. package/dist/cjs/types/common/currency.js +63 -63
  73. package/dist/cjs/types/common/index.d.ts +2 -2
  74. package/dist/cjs/types/common/index.js +18 -18
  75. package/dist/cjs/types/event/base/event-name-enum.d.ts +61 -61
  76. package/dist/cjs/types/event/base/event-name-enum.js +67 -67
  77. package/dist/cjs/types/event/base/event.d.ts +20 -20
  78. package/dist/cjs/types/event/base/event.js +10 -10
  79. package/dist/cjs/types/event/base/index.d.ts +2 -2
  80. package/dist/cjs/types/event/base/index.js +18 -18
  81. package/dist/cjs/types/event/context/event-context-identity.d.ts +21 -21
  82. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  83. package/dist/cjs/types/event/context/event-context.d.ts +196 -196
  84. package/dist/cjs/types/event/context/event-context.js +2 -2
  85. package/dist/cjs/types/event/context/index.d.ts +2 -2
  86. package/dist/cjs/types/event/context/index.js +18 -18
  87. package/dist/cjs/types/event/index.d.ts +5 -5
  88. package/dist/cjs/types/event/index.js +21 -21
  89. package/dist/cjs/types/event/log-event.d.ts +35 -35
  90. package/dist/cjs/types/event/log-event.js +22 -22
  91. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  92. package/dist/cjs/types/event/metric-event.js +2 -2
  93. package/dist/cjs/types/event/tracking-event.d.ts +66 -66
  94. package/dist/cjs/types/event/tracking-event.js +2 -2
  95. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  96. package/dist/cjs/types/event-bus-event.js +2 -2
  97. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  98. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  99. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  100. package/dist/cjs/types/fingerprint/index.js +18 -18
  101. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  102. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  103. package/dist/cjs/types/index.d.ts +7 -7
  104. package/dist/cjs/types/index.js +23 -23
  105. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  106. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  107. package/dist/cjs/types/tracking-event-ingest-message.d.ts +10 -10
  108. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  109. package/dist/esm/index.d.ts +1 -1
  110. package/dist/esm/index.js +1 -1
  111. package/dist/esm/types/api/account.d.ts +62 -62
  112. package/dist/esm/types/api/account.js +20 -20
  113. package/dist/esm/types/api/contact-acquisition.d.ts +39 -39
  114. package/dist/esm/types/api/contact-acquisition.js +13 -13
  115. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  116. package/dist/esm/types/api/dashboards/index.js +1 -1
  117. package/dist/esm/types/api/dashboards/widget.d.ts +94 -94
  118. package/dist/esm/types/api/dashboards/widget.js +23 -23
  119. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  120. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  121. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  122. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  123. package/dist/esm/types/api/destinations/destinations.d.ts +112 -112
  124. package/dist/esm/types/api/destinations/destinations.js +46 -46
  125. package/dist/esm/types/api/destinations/index.d.ts +5 -5
  126. package/dist/esm/types/api/destinations/index.js +5 -5
  127. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  128. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  129. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +106 -106
  130. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  131. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  132. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  133. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  134. package/dist/esm/types/api/event-last-seen.js +1 -1
  135. package/dist/esm/types/api/event-status.d.ts +18 -18
  136. package/dist/esm/types/api/event-status.js +6 -6
  137. package/dist/esm/types/api/index.d.ts +19 -19
  138. package/dist/esm/types/api/index.js +19 -19
  139. package/dist/esm/types/api/log-events.d.ts +22 -22
  140. package/dist/esm/types/api/log-events.js +1 -1
  141. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  142. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js +136 -136
  143. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  144. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +114 -114
  145. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  146. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +400 -400
  147. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  148. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +202 -202
  149. package/dist/esm/types/api/measures/definitions/index.d.ts +8 -8
  150. package/dist/esm/types/api/measures/definitions/index.js +8 -8
  151. package/dist/esm/types/api/measures/definitions/measure-categories.d.ts +18 -18
  152. package/dist/esm/types/api/measures/definitions/measure-categories.js +19 -19
  153. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +200 -200
  154. package/dist/esm/types/api/measures/definitions/measure-definitions.js +193 -192
  155. package/dist/esm/types/api/measures/definitions/measure-definitions.js.map +1 -1
  156. package/dist/esm/types/api/measures/definitions/shopify-measure-definitions.d.ts +3 -3
  157. package/dist/esm/types/api/measures/definitions/shopify-measure-definitions.js +611 -611
  158. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  159. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +378 -378
  160. package/dist/esm/types/api/measures/index.d.ts +2 -2
  161. package/dist/esm/types/api/measures/index.js +2 -2
  162. package/dist/esm/types/api/measures/measures.d.ts +283 -283
  163. package/dist/esm/types/api/measures/measures.js +373 -373
  164. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  165. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  166. package/dist/esm/types/api/query.d.ts +147 -147
  167. package/dist/esm/types/api/query.js +87 -87
  168. package/dist/esm/types/api/shopify-app-install.d.ts +40 -40
  169. package/dist/esm/types/api/shopify-app-install.js +11 -11
  170. package/dist/esm/types/api/subscription.d.ts +155 -155
  171. package/dist/esm/types/api/subscription.js +44 -44
  172. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  173. package/dist/esm/types/api/tracking-events.js +1 -1
  174. package/dist/esm/types/api/user.d.ts +13 -13
  175. package/dist/esm/types/api/user.js +1 -1
  176. package/dist/esm/types/common/address.d.ts +15 -15
  177. package/dist/esm/types/common/address.js +1 -1
  178. package/dist/esm/types/common/currency.d.ts +1 -1
  179. package/dist/esm/types/common/currency.js +60 -60
  180. package/dist/esm/types/common/index.d.ts +2 -2
  181. package/dist/esm/types/common/index.js +2 -2
  182. package/dist/esm/types/event/base/event-name-enum.d.ts +61 -61
  183. package/dist/esm/types/event/base/event-name-enum.js +64 -64
  184. package/dist/esm/types/event/base/event.d.ts +20 -20
  185. package/dist/esm/types/event/base/event.js +7 -7
  186. package/dist/esm/types/event/base/index.d.ts +2 -2
  187. package/dist/esm/types/event/base/index.js +2 -2
  188. package/dist/esm/types/event/context/event-context-identity.d.ts +21 -21
  189. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  190. package/dist/esm/types/event/context/event-context.d.ts +196 -196
  191. package/dist/esm/types/event/context/event-context.js +1 -1
  192. package/dist/esm/types/event/context/index.d.ts +2 -2
  193. package/dist/esm/types/event/context/index.js +2 -2
  194. package/dist/esm/types/event/index.d.ts +5 -5
  195. package/dist/esm/types/event/index.js +5 -5
  196. package/dist/esm/types/event/log-event.d.ts +35 -35
  197. package/dist/esm/types/event/log-event.js +19 -19
  198. package/dist/esm/types/event/metric-event.d.ts +13 -13
  199. package/dist/esm/types/event/metric-event.js +1 -1
  200. package/dist/esm/types/event/tracking-event.d.ts +66 -66
  201. package/dist/esm/types/event/tracking-event.js +1 -1
  202. package/dist/esm/types/event-bus-event.d.ts +25 -25
  203. package/dist/esm/types/event-bus-event.js +1 -1
  204. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  205. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  206. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  207. package/dist/esm/types/fingerprint/index.js +2 -2
  208. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  209. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  210. package/dist/esm/types/index.d.ts +7 -7
  211. package/dist/esm/types/index.js +7 -7
  212. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  213. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  214. package/dist/esm/types/tracking-event-ingest-message.d.ts +10 -10
  215. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  216. package/package.json +83 -83
@@ -1,112 +1,112 @@
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
- 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
- invalidAccessToken?: string;
27
- };
28
- }
29
- export declare enum DESTINATION_HEALTH_STATUS {
30
- HEALTHY = "healthy",
31
- UNHEALTHY = "unhealthy",
32
- UNKNOWN = "unknown"
33
- }
34
- export interface DestinationOrderConfig {
35
- blockedSources?: string[];
36
- blockedTags?: string[];
37
- }
38
- export declare enum DESTINATION_TYPE {
39
- INTEGRATION = "integration",
40
- DESTINATION = "destination",
41
- CONTACT_ACQUISITION = "contactAcquisition"
42
- }
43
- export declare enum DESTINATION {
44
- FACEBOOK = "facebook",
45
- TIKTOK = "tiktok",
46
- GOOGLE_ADS = "googleAds",
47
- GOOGLE_ADS_V2 = "googleAdsV2",
48
- GOOGLE_ANALYTICS_4 = "googleAnalytics4",
49
- HUBSPOT = "hubspot",
50
- WEBHOOK = "webhook",
51
- CUSTOM_HTML = "customHTML",
52
- CUSTOM_JS = "customJS",
53
- SNAPCHAT = "snapchat",
54
- TWITTER = "twitter",
55
- REDDIT = "reddit",
56
- INTERCOM = "intercom",
57
- CUSTOMER_IO = "customerIO",
58
- PINTEREST = "pinterest",
59
- KLAVIYO = "klaviyo",
60
- SENDLANE = "sendlane",
61
- CONTACT_ACQUISITION = "contactAcquisition",
62
- OUTBRAIN = "outbrain",
63
- OMNISEND = "omnisend",
64
- ATTENTIVE = "attentive",
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';
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
+ invalidAccessToken?: string;
27
+ };
28
+ }
29
+ export declare enum DESTINATION_HEALTH_STATUS {
30
+ HEALTHY = "healthy",
31
+ UNHEALTHY = "unhealthy",
32
+ UNKNOWN = "unknown"
33
+ }
34
+ export interface DestinationOrderConfig {
35
+ blockedSources?: string[];
36
+ blockedTags?: string[];
37
+ }
38
+ export declare enum DESTINATION_TYPE {
39
+ INTEGRATION = "integration",
40
+ DESTINATION = "destination",
41
+ CONTACT_ACQUISITION = "contactAcquisition"
42
+ }
43
+ export declare enum DESTINATION {
44
+ FACEBOOK = "facebook",
45
+ TIKTOK = "tiktok",
46
+ GOOGLE_ADS = "googleAds",
47
+ GOOGLE_ADS_V2 = "googleAdsV2",
48
+ GOOGLE_ANALYTICS_4 = "googleAnalytics4",
49
+ HUBSPOT = "hubspot",
50
+ WEBHOOK = "webhook",
51
+ CUSTOM_HTML = "customHTML",
52
+ CUSTOM_JS = "customJS",
53
+ SNAPCHAT = "snapchat",
54
+ TWITTER = "twitter",
55
+ REDDIT = "reddit",
56
+ INTERCOM = "intercom",
57
+ CUSTOMER_IO = "customerIO",
58
+ PINTEREST = "pinterest",
59
+ KLAVIYO = "klaviyo",
60
+ SENDLANE = "sendlane",
61
+ CONTACT_ACQUISITION = "contactAcquisition",
62
+ OUTBRAIN = "outbrain",
63
+ OMNISEND = "omnisend",
64
+ ATTENTIVE = "attentive",
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,47 +1,47 @@
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["FACEBOOK_INTEGRATION"] = "facebookIntegration";
37
- DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
38
- DESTINATION["CONTACT_ACQUISITION_INTEGRATION"] = "contactAcquisitionIntegration";
39
- DESTINATION["KLAVIYO_CONTACT_ACQUISITION"] = "klaviyoContactAcquisition";
40
- })(DESTINATION || (DESTINATION = {}));
41
- export var EVENT_TRIGGER_CONDITION;
42
- (function (EVENT_TRIGGER_CONDITION) {
43
- EVENT_TRIGGER_CONDITION["GT"] = "gt";
44
- EVENT_TRIGGER_CONDITION["EQ"] = "eq";
45
- EVENT_TRIGGER_CONDITION["LT"] = "lt";
46
- })(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["FACEBOOK_INTEGRATION"] = "facebookIntegration";
37
+ DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
38
+ DESTINATION["CONTACT_ACQUISITION_INTEGRATION"] = "contactAcquisitionIntegration";
39
+ DESTINATION["KLAVIYO_CONTACT_ACQUISITION"] = "klaviyoContactAcquisition";
40
+ })(DESTINATION || (DESTINATION = {}));
41
+ export var EVENT_TRIGGER_CONDITION;
42
+ (function (EVENT_TRIGGER_CONDITION) {
43
+ EVENT_TRIGGER_CONDITION["GT"] = "gt";
44
+ EVENT_TRIGGER_CONDITION["EQ"] = "eq";
45
+ EVENT_TRIGGER_CONDITION["LT"] = "lt";
46
+ })(EVENT_TRIGGER_CONDITION || (EVENT_TRIGGER_CONDITION = {}));
47
47
  //# sourceMappingURL=destinations.js.map
@@ -1,5 +1,5 @@
1
- export * from './destinations';
2
- export * from './destination-catalog';
3
- export * from './third-party-destination-configs';
4
- export * from './third-party-integration-configs';
5
- export * from './third-party-contact-acquisition-configs';
1
+ export * from './destinations';
2
+ export * from './destination-catalog';
3
+ export * from './third-party-destination-configs';
4
+ export * from './third-party-integration-configs';
5
+ export * from './third-party-contact-acquisition-configs';
@@ -1,6 +1,6 @@
1
- export * from './destinations';
2
- export * from './destination-catalog';
3
- export * from './third-party-destination-configs';
4
- export * from './third-party-integration-configs';
5
- export * from './third-party-contact-acquisition-configs';
1
+ export * from './destinations';
2
+ export * from './destination-catalog';
3
+ export * from './third-party-destination-configs';
4
+ export * from './third-party-integration-configs';
5
+ export * from './third-party-contact-acquisition-configs';
6
6
  //# sourceMappingURL=index.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
+ }
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=third-party-contact-acquisition-configs.js.map
@@ -1,106 +1,106 @@
1
- import { Destination, UserDestinationConfiguration } from './destinations';
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 FacebookPixelConfiguration extends UserDestinationConfiguration {
36
- apiAccessToken?: string;
37
- enableConversionAPI: boolean;
38
- pixelId: string;
39
- }
40
- export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
41
- apiAccessToken?: string;
42
- enableConversionAPI: boolean;
43
- pixelId: string;
44
- }
45
- export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
46
- apiSecret: string;
47
- measurementId: string;
48
- }
49
- export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
50
- pixelId: string;
51
- conversionID: string;
52
- }
53
- export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
54
- hubspotId: string;
55
- }
56
- export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
57
- twitterPixelId: string;
58
- }
59
- export interface IntercomTagConfiguration extends UserDestinationConfiguration {
60
- appId: string;
61
- apiBase: string;
62
- }
63
- export interface WebhookConfiguration extends UserDestinationConfiguration {
64
- webhookUrl: string;
65
- }
66
- export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
67
- html: string;
68
- location: CustomHTMLLocation;
69
- }
70
- export interface PinterestConfiguration extends UserDestinationConfiguration {
71
- pixelId: string;
72
- enableConversionAPI: boolean;
73
- advertiserId?: string;
74
- apiAccessToken?: string;
75
- }
76
- export interface SnapchatConfiguration extends UserDestinationConfiguration {
77
- snapchatPixelId: string;
78
- enableConversionAPI: boolean;
79
- apiAccessToken?: string;
80
- }
81
- export interface KlaviyoConfiguration extends UserDestinationConfiguration {
82
- apiAccessToken: string;
83
- }
84
- export interface SendlaneConfiguration extends UserDestinationConfiguration {
85
- apiAccessToken: string;
86
- sendlaneIntegrationToken: string;
87
- }
88
- export interface OmnisendConfiguration extends UserDestinationConfiguration {
89
- apiKey: string;
90
- }
91
- export interface AttentiveConfiguration extends UserDestinationConfiguration {
92
- apiKey: string;
93
- }
94
- export interface OutbrainConfiguration extends UserDestinationConfiguration {
95
- pixelId: string;
96
- }
97
- export interface GoogleAdsV2Configuration extends UserDestinationConfiguration {
98
- accountId: string;
99
- merchantCenterId: string;
100
- conversionId: string;
101
- }
102
- export declare enum CustomHTMLLocation {
103
- HEADER = "header",
104
- FOOTER = "footer",
105
- BODY = "body"
106
- }
1
+ import { Destination, UserDestinationConfiguration } from './destinations';
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 FacebookPixelConfiguration extends UserDestinationConfiguration {
36
+ apiAccessToken?: string;
37
+ enableConversionAPI: boolean;
38
+ pixelId: string;
39
+ }
40
+ export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
41
+ apiAccessToken?: string;
42
+ enableConversionAPI: boolean;
43
+ pixelId: string;
44
+ }
45
+ export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
46
+ apiSecret: string;
47
+ measurementId: string;
48
+ }
49
+ export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
50
+ pixelId: string;
51
+ conversionID: string;
52
+ }
53
+ export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
54
+ hubspotId: string;
55
+ }
56
+ export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
57
+ twitterPixelId: string;
58
+ }
59
+ export interface IntercomTagConfiguration extends UserDestinationConfiguration {
60
+ appId: string;
61
+ apiBase: string;
62
+ }
63
+ export interface WebhookConfiguration extends UserDestinationConfiguration {
64
+ webhookUrl: string;
65
+ }
66
+ export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
67
+ html: string;
68
+ location: CustomHTMLLocation;
69
+ }
70
+ export interface PinterestConfiguration extends UserDestinationConfiguration {
71
+ pixelId: string;
72
+ enableConversionAPI: boolean;
73
+ advertiserId?: string;
74
+ apiAccessToken?: string;
75
+ }
76
+ export interface SnapchatConfiguration extends UserDestinationConfiguration {
77
+ snapchatPixelId: string;
78
+ enableConversionAPI: boolean;
79
+ apiAccessToken?: string;
80
+ }
81
+ export interface KlaviyoConfiguration extends UserDestinationConfiguration {
82
+ apiAccessToken: string;
83
+ }
84
+ export interface SendlaneConfiguration extends UserDestinationConfiguration {
85
+ apiAccessToken: string;
86
+ sendlaneIntegrationToken: string;
87
+ }
88
+ export interface OmnisendConfiguration extends UserDestinationConfiguration {
89
+ apiKey: string;
90
+ }
91
+ export interface AttentiveConfiguration extends UserDestinationConfiguration {
92
+ apiKey: string;
93
+ }
94
+ export interface OutbrainConfiguration extends UserDestinationConfiguration {
95
+ pixelId: string;
96
+ }
97
+ export interface GoogleAdsV2Configuration extends UserDestinationConfiguration {
98
+ accountId: string;
99
+ merchantCenterId: string;
100
+ conversionId: string;
101
+ }
102
+ export declare enum CustomHTMLLocation {
103
+ HEADER = "header",
104
+ FOOTER = "footer",
105
+ BODY = "body"
106
+ }
@@ -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