@adtrackify/at-tracking-event-types 3.1.39 → 3.1.40

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 (219) hide show
  1. package/dist/cjs/index.d.ts +1 -1
  2. package/dist/cjs/index.js +17 -17
  3. package/dist/cjs/types/api/account.d.ts +62 -62
  4. package/dist/cjs/types/api/account.js +23 -23
  5. package/dist/cjs/types/api/contact-acquisition.d.ts +39 -39
  6. package/dist/cjs/types/api/contact-acquisition.js +16 -16
  7. package/dist/cjs/types/api/dashboards/index.d.ts +1 -0
  8. package/dist/cjs/types/api/dashboards/index.js +18 -0
  9. package/dist/cjs/types/api/dashboards/index.js.map +1 -0
  10. package/dist/cjs/types/api/dashboards/widget.d.ts +84 -0
  11. package/dist/cjs/types/api/dashboards/widget.js +22 -0
  12. package/dist/cjs/types/api/dashboards/widget.js.map +1 -0
  13. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  14. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  15. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  16. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  17. package/dist/cjs/types/api/destinations/destinations.d.ts +93 -110
  18. package/dist/cjs/types/api/destinations/destinations.js +43 -49
  19. package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
  20. package/dist/cjs/types/api/destinations/index.d.ts +5 -0
  21. package/dist/cjs/types/api/destinations/index.js +22 -0
  22. package/dist/cjs/types/api/destinations/index.js.map +1 -0
  23. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  24. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  25. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +106 -106
  26. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  27. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  28. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  29. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  30. package/dist/cjs/types/api/event-last-seen.js +2 -2
  31. package/dist/cjs/types/api/event-status.d.ts +18 -18
  32. package/dist/cjs/types/api/event-status.js +9 -9
  33. package/dist/cjs/types/api/index.d.ts +19 -18
  34. package/dist/cjs/types/api/index.js +35 -34
  35. package/dist/cjs/types/api/index.js.map +1 -1
  36. package/dist/cjs/types/api/log-events.d.ts +22 -22
  37. package/dist/cjs/types/api/log-events.js +2 -2
  38. package/dist/cjs/types/api/measures/definitions/core-channel-measure-definitions.d.ts +123 -123
  39. package/dist/cjs/types/api/measures/definitions/core-channel-measure-definitions.js +126 -126
  40. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +123 -123
  41. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +126 -126
  42. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +363 -363
  43. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +366 -366
  44. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +183 -183
  45. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +186 -186
  46. package/dist/cjs/types/api/measures/definitions/index.d.ts +7 -7
  47. package/dist/cjs/types/api/measures/definitions/index.js +23 -23
  48. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +1652 -1652
  49. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +167 -167
  50. package/dist/cjs/types/api/measures/definitions/shopify-measure-definitions.d.ts +554 -554
  51. package/dist/cjs/types/api/measures/definitions/shopify-measure-definitions.js +557 -557
  52. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +350 -350
  53. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +353 -353
  54. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  55. package/dist/cjs/types/api/measures/index.js +18 -18
  56. package/dist/cjs/types/api/measures/measures.d.ts +241 -241
  57. package/dist/cjs/types/api/measures/measures.js +245 -245
  58. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  59. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  60. package/dist/cjs/types/api/query.d.ts +147 -147
  61. package/dist/cjs/types/api/query.js +90 -90
  62. package/dist/cjs/types/api/shopify-app-install.d.ts +40 -40
  63. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  64. package/dist/cjs/types/api/subscription.d.ts +155 -155
  65. package/dist/cjs/types/api/subscription.js +47 -47
  66. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  67. package/dist/cjs/types/api/tracking-events.js +2 -2
  68. package/dist/cjs/types/api/user.d.ts +13 -13
  69. package/dist/cjs/types/api/user.js +2 -2
  70. package/dist/cjs/types/common/address.d.ts +15 -15
  71. package/dist/cjs/types/common/address.js +2 -2
  72. package/dist/cjs/types/common/currency.d.ts +1 -1
  73. package/dist/cjs/types/common/currency.js +63 -63
  74. package/dist/cjs/types/common/index.d.ts +2 -2
  75. package/dist/cjs/types/common/index.js +18 -18
  76. package/dist/cjs/types/event/base/event-name-enum.d.ts +59 -59
  77. package/dist/cjs/types/event/base/event-name-enum.js +65 -65
  78. package/dist/cjs/types/event/base/event.d.ts +20 -20
  79. package/dist/cjs/types/event/base/event.js +10 -10
  80. package/dist/cjs/types/event/base/index.d.ts +2 -2
  81. package/dist/cjs/types/event/base/index.js +18 -18
  82. package/dist/cjs/types/event/context/event-context-identity.d.ts +21 -21
  83. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  84. package/dist/cjs/types/event/context/event-context.d.ts +196 -196
  85. package/dist/cjs/types/event/context/event-context.js +2 -2
  86. package/dist/cjs/types/event/context/index.d.ts +2 -2
  87. package/dist/cjs/types/event/context/index.js +18 -18
  88. package/dist/cjs/types/event/index.d.ts +5 -5
  89. package/dist/cjs/types/event/index.js +21 -21
  90. package/dist/cjs/types/event/log-event.d.ts +35 -35
  91. package/dist/cjs/types/event/log-event.js +22 -22
  92. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  93. package/dist/cjs/types/event/metric-event.js +2 -2
  94. package/dist/cjs/types/event/tracking-event.d.ts +62 -62
  95. package/dist/cjs/types/event/tracking-event.js +2 -2
  96. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  97. package/dist/cjs/types/event-bus-event.js +2 -2
  98. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  99. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  100. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  101. package/dist/cjs/types/fingerprint/index.js +18 -18
  102. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  103. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  104. package/dist/cjs/types/index.d.ts +7 -7
  105. package/dist/cjs/types/index.js +23 -23
  106. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  107. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  108. package/dist/cjs/types/tracking-event-ingest-message.d.ts +10 -10
  109. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  110. package/dist/esm/index.d.ts +1 -1
  111. package/dist/esm/index.js +1 -1
  112. package/dist/esm/types/api/account.d.ts +62 -62
  113. package/dist/esm/types/api/account.js +20 -20
  114. package/dist/esm/types/api/contact-acquisition.d.ts +39 -39
  115. package/dist/esm/types/api/contact-acquisition.js +13 -13
  116. package/dist/esm/types/api/dashboards/index.d.ts +1 -0
  117. package/dist/esm/types/api/dashboards/index.js +2 -0
  118. package/dist/esm/types/api/dashboards/index.js.map +1 -0
  119. package/dist/esm/types/api/dashboards/widget.d.ts +84 -0
  120. package/dist/esm/types/api/dashboards/widget.js +19 -0
  121. package/dist/esm/types/api/dashboards/widget.js.map +1 -0
  122. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  123. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  124. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  125. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  126. package/dist/esm/types/api/destinations/destinations.d.ts +93 -110
  127. package/dist/esm/types/api/destinations/destinations.js +40 -46
  128. package/dist/esm/types/api/destinations/destinations.js.map +1 -1
  129. package/dist/esm/types/api/destinations/index.d.ts +5 -0
  130. package/dist/esm/types/api/destinations/index.js +6 -0
  131. package/dist/esm/types/api/destinations/index.js.map +1 -0
  132. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  133. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  134. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +106 -106
  135. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  136. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  137. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  138. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  139. package/dist/esm/types/api/event-last-seen.js +1 -1
  140. package/dist/esm/types/api/event-status.d.ts +18 -18
  141. package/dist/esm/types/api/event-status.js +6 -6
  142. package/dist/esm/types/api/index.d.ts +19 -18
  143. package/dist/esm/types/api/index.js +19 -18
  144. package/dist/esm/types/api/index.js.map +1 -1
  145. package/dist/esm/types/api/log-events.d.ts +22 -22
  146. package/dist/esm/types/api/log-events.js +1 -1
  147. package/dist/esm/types/api/measures/definitions/core-channel-measure-definitions.d.ts +123 -123
  148. package/dist/esm/types/api/measures/definitions/core-channel-measure-definitions.js +123 -123
  149. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +123 -123
  150. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +123 -123
  151. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +363 -363
  152. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +363 -363
  153. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +183 -183
  154. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +183 -183
  155. package/dist/esm/types/api/measures/definitions/index.d.ts +7 -7
  156. package/dist/esm/types/api/measures/definitions/index.js +7 -7
  157. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +1652 -1652
  158. package/dist/esm/types/api/measures/definitions/measure-definitions.js +164 -164
  159. package/dist/esm/types/api/measures/definitions/shopify-measure-definitions.d.ts +554 -554
  160. package/dist/esm/types/api/measures/definitions/shopify-measure-definitions.js +554 -554
  161. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +350 -350
  162. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +350 -350
  163. package/dist/esm/types/api/measures/index.d.ts +2 -2
  164. package/dist/esm/types/api/measures/index.js +2 -2
  165. package/dist/esm/types/api/measures/measures.d.ts +241 -241
  166. package/dist/esm/types/api/measures/measures.js +242 -242
  167. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  168. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  169. package/dist/esm/types/api/query.d.ts +147 -147
  170. package/dist/esm/types/api/query.js +87 -87
  171. package/dist/esm/types/api/shopify-app-install.d.ts +40 -40
  172. package/dist/esm/types/api/shopify-app-install.js +11 -11
  173. package/dist/esm/types/api/subscription.d.ts +155 -155
  174. package/dist/esm/types/api/subscription.js +44 -44
  175. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  176. package/dist/esm/types/api/tracking-events.js +1 -1
  177. package/dist/esm/types/api/user.d.ts +13 -13
  178. package/dist/esm/types/api/user.js +1 -1
  179. package/dist/esm/types/common/address.d.ts +15 -15
  180. package/dist/esm/types/common/address.js +1 -1
  181. package/dist/esm/types/common/currency.d.ts +1 -1
  182. package/dist/esm/types/common/currency.js +60 -60
  183. package/dist/esm/types/common/index.d.ts +2 -2
  184. package/dist/esm/types/common/index.js +2 -2
  185. package/dist/esm/types/event/base/event-name-enum.d.ts +59 -59
  186. package/dist/esm/types/event/base/event-name-enum.js +62 -62
  187. package/dist/esm/types/event/base/event.d.ts +20 -20
  188. package/dist/esm/types/event/base/event.js +7 -7
  189. package/dist/esm/types/event/base/index.d.ts +2 -2
  190. package/dist/esm/types/event/base/index.js +2 -2
  191. package/dist/esm/types/event/context/event-context-identity.d.ts +21 -21
  192. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  193. package/dist/esm/types/event/context/event-context.d.ts +196 -196
  194. package/dist/esm/types/event/context/event-context.js +1 -1
  195. package/dist/esm/types/event/context/index.d.ts +2 -2
  196. package/dist/esm/types/event/context/index.js +2 -2
  197. package/dist/esm/types/event/index.d.ts +5 -5
  198. package/dist/esm/types/event/index.js +5 -5
  199. package/dist/esm/types/event/log-event.d.ts +35 -35
  200. package/dist/esm/types/event/log-event.js +19 -19
  201. package/dist/esm/types/event/metric-event.d.ts +13 -13
  202. package/dist/esm/types/event/metric-event.js +1 -1
  203. package/dist/esm/types/event/tracking-event.d.ts +62 -62
  204. package/dist/esm/types/event/tracking-event.js +1 -1
  205. package/dist/esm/types/event-bus-event.d.ts +25 -25
  206. package/dist/esm/types/event-bus-event.js +1 -1
  207. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  208. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  209. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  210. package/dist/esm/types/fingerprint/index.js +2 -2
  211. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  212. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  213. package/dist/esm/types/index.d.ts +7 -7
  214. package/dist/esm/types/index.js +7 -7
  215. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  216. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  217. package/dist/esm/types/tracking-event-ingest-message.d.ts +10 -10
  218. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  219. package/package.json +1 -1
@@ -1,110 +1,93 @@
1
- import { TRACKING_EVENT_NAME } from '../../event';
2
- export interface Destination {
3
- id: string;
4
- accountId: string;
5
- pixelId: string;
6
- destination: DESTINATION;
7
- destinationType?: DESTINATION_TYPE;
8
- displayName?: string;
9
- enabled: boolean;
10
- configuration?: UserDestinationConfiguration;
11
- createdAt: string;
12
- updatedAt: string;
13
- orderConfig?: DestinationOrderConfig;
14
- 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
- };
26
- }
27
- export declare enum DESTINATION_HEALTH_STATUS {
28
- HEALTHY = "healthy",
29
- UNHEALTHY = "unhealthy",
30
- UNKNOWN = "unknown"
31
- }
32
- export interface DestinationOrderConfig {
33
- blockedSources?: string[];
34
- blockedTags?: string[];
35
- }
36
- export declare enum DESTINATION_TYPE {
37
- INTEGRATION = "integration",
38
- DESTINATION = "destination",
39
- CONTACT_ACQUISITION = "contactAcquisition"
40
- }
41
- export declare enum DESTINATION {
42
- FACEBOOK = "facebook",
43
- TIKTOK = "tiktok",
44
- GOOGLE_ADS = "googleAds",
45
- GOOGLE_ADS_V2 = "googleAdsV2",
46
- GOOGLE_ANALYTICS_4 = "googleAnalytics4",
47
- HUBSPOT = "hubspot",
48
- WEBHOOK = "webhook",
49
- CUSTOM_HTML = "customHTML",
50
- CUSTOM_JS = "customJS",
51
- SNAPCHAT = "snapchat",
52
- TWITTER = "twitter",
53
- REDDIT = "reddit",
54
- INTERCOM = "intercom",
55
- CUSTOMER_IO = "customerIO",
56
- PINTEREST = "pinterest",
57
- KLAVIYO = "klaviyo",
58
- SENDLANE = "sendlane",
59
- CONTACT_ACQUISITION = "contactAcquisition",
60
- OUTBRAIN = "outbrain",
61
- OMNISEND = "omnisend",
62
- ATTENTIVE = "attentive",
63
- FACEBOOK_INTEGRATION = "facebookIntegration",
64
- GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
65
- CONTACT_ACQUISITION_INTEGRATION = "contactAcquisitionIntegration",
66
- KLAVIYO_CONTACT_ACQUISITION = "klaviyoContactAcquisition"
67
- }
68
- export interface UserDestinationConfiguration {
69
- [key: string]: any;
70
- eventBlacklist?: string[];
71
- events?: EventConfiguration[];
72
- trigger?: DestinationTriggerConfiguration;
73
- }
74
- export interface DestinationTriggerConfiguration {
75
- shopify?: ShopifyTriggerConfiguration;
76
- exludeDomains?: string[];
77
- excludePages?: string[];
78
- domains?: string[];
79
- pages?: string[];
80
- events?: EventTriggerConfiguration[];
81
- }
82
- export interface ShopifyTriggerConfiguration {
83
- enabled: boolean;
84
- collections?: string[];
85
- tags?: string[];
86
- }
87
- export interface EventTriggerConfiguration {
88
- name: TRACKING_EVENT_NAME;
89
- count: number;
90
- condition: EVENT_TRIGGER_CONDITION;
91
- }
92
- export declare enum EVENT_TRIGGER_CONDITION {
93
- GT = "gt",
94
- EQ = "eq",
95
- LT = "lt"
96
- }
97
- export interface EventConfiguration {
98
- sourceEventName: string;
99
- exclude?: boolean;
100
- sample: EventSampleConfiguration;
101
- transformations?: EventTransformation[];
102
- }
103
- export interface EventTransformation {
104
- transformationEventName: string;
105
- enabled: boolean;
106
- }
107
- export interface EventSampleConfiguration {
108
- enabled: boolean;
109
- rate: number;
110
- }
1
+ import { TRACKING_EVENT_NAME } from '../../event';
2
+ export interface Destination {
3
+ id: string;
4
+ accountId: string;
5
+ pixelId: string;
6
+ destination: DESTINATION;
7
+ destinationType?: DESTINATION_TYPE;
8
+ displayName?: string;
9
+ enabled: boolean;
10
+ configuration?: UserDestinationConfiguration;
11
+ createdAt: string;
12
+ updatedAt: string;
13
+ orderConfig?: DestinationOrderConfig;
14
+ }
15
+ export interface DestinationOrderConfig {
16
+ blockedSources?: string[];
17
+ blockedTags?: string[];
18
+ }
19
+ export declare enum DESTINATION_TYPE {
20
+ INTEGRATION = "integration",
21
+ DESTINATION = "destination",
22
+ CONTACT_ACQUISITION = "contactAcquisition"
23
+ }
24
+ export declare enum DESTINATION {
25
+ FACEBOOK = "facebook",
26
+ TIKTOK = "tiktok",
27
+ GOOGLE_ADS = "googleAds",
28
+ GOOGLE_ADS_V2 = "googleAdsV2",
29
+ GOOGLE_ANALYTICS_4 = "googleAnalytics4",
30
+ HUBSPOT = "hubspot",
31
+ WEBHOOK = "webhook",
32
+ CUSTOM_HTML = "customHTML",
33
+ CUSTOM_JS = "customJS",
34
+ SNAPCHAT = "snapchat",
35
+ TWITTER = "twitter",
36
+ REDDIT = "reddit",
37
+ INTERCOM = "intercom",
38
+ CUSTOMER_IO = "customerIO",
39
+ PINTEREST = "pinterest",
40
+ KLAVIYO = "klaviyo",
41
+ SENDLANE = "sendlane",
42
+ CONTACT_ACQUISITION = "contactAcquisition",
43
+ OUTBRAIN = "outbrain",
44
+ OMNISEND = "omnisend",
45
+ ATTENTIVE = "attentive",
46
+ FACEBOOK_INTEGRATION = "facebookIntegration",
47
+ GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
48
+ CONTACT_ACQUISITION_INTEGRATION = "contactAcquisitionIntegration",
49
+ KLAVIYO_CONTACT_ACQUISITION = "klaviyoContactAcquisition"
50
+ }
51
+ export interface UserDestinationConfiguration {
52
+ [key: string]: any;
53
+ eventBlacklist?: string[];
54
+ events?: EventConfiguration[];
55
+ trigger?: DestinationTriggerConfiguration;
56
+ }
57
+ export interface DestinationTriggerConfiguration {
58
+ shopify?: ShopifyTriggerConfiguration;
59
+ exludeDomains?: string[];
60
+ excludePages?: string[];
61
+ domains?: string[];
62
+ pages?: string[];
63
+ events?: EventTriggerConfiguration[];
64
+ }
65
+ export interface ShopifyTriggerConfiguration {
66
+ enabled: boolean;
67
+ collections?: string[];
68
+ tags?: string[];
69
+ }
70
+ export interface EventTriggerConfiguration {
71
+ name: TRACKING_EVENT_NAME;
72
+ count: number;
73
+ condition: EVENT_TRIGGER_CONDITION;
74
+ }
75
+ export declare enum EVENT_TRIGGER_CONDITION {
76
+ GT = "gt",
77
+ EQ = "eq",
78
+ LT = "lt"
79
+ }
80
+ export interface EventConfiguration {
81
+ sourceEventName: string;
82
+ exclude?: boolean;
83
+ sample: EventSampleConfiguration;
84
+ transformations?: EventTransformation[];
85
+ }
86
+ export interface EventTransformation {
87
+ transformationEventName: string;
88
+ enabled: boolean;
89
+ }
90
+ export interface EventSampleConfiguration {
91
+ enabled: boolean;
92
+ rate: number;
93
+ }
@@ -1,47 +1,41 @@
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_TYPE;
2
+ (function (DESTINATION_TYPE) {
3
+ DESTINATION_TYPE["INTEGRATION"] = "integration";
4
+ DESTINATION_TYPE["DESTINATION"] = "destination";
5
+ DESTINATION_TYPE["CONTACT_ACQUISITION"] = "contactAcquisition";
6
+ })(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
7
+ export var DESTINATION;
8
+ (function (DESTINATION) {
9
+ DESTINATION["FACEBOOK"] = "facebook";
10
+ DESTINATION["TIKTOK"] = "tiktok";
11
+ DESTINATION["GOOGLE_ADS"] = "googleAds";
12
+ DESTINATION["GOOGLE_ADS_V2"] = "googleAdsV2";
13
+ DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
14
+ DESTINATION["HUBSPOT"] = "hubspot";
15
+ DESTINATION["WEBHOOK"] = "webhook";
16
+ DESTINATION["CUSTOM_HTML"] = "customHTML";
17
+ DESTINATION["CUSTOM_JS"] = "customJS";
18
+ DESTINATION["SNAPCHAT"] = "snapchat";
19
+ DESTINATION["TWITTER"] = "twitter";
20
+ DESTINATION["REDDIT"] = "reddit";
21
+ DESTINATION["INTERCOM"] = "intercom";
22
+ DESTINATION["CUSTOMER_IO"] = "customerIO";
23
+ DESTINATION["PINTEREST"] = "pinterest";
24
+ DESTINATION["KLAVIYO"] = "klaviyo";
25
+ DESTINATION["SENDLANE"] = "sendlane";
26
+ DESTINATION["CONTACT_ACQUISITION"] = "contactAcquisition";
27
+ DESTINATION["OUTBRAIN"] = "outbrain";
28
+ DESTINATION["OMNISEND"] = "omnisend";
29
+ DESTINATION["ATTENTIVE"] = "attentive";
30
+ DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
31
+ DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
32
+ DESTINATION["CONTACT_ACQUISITION_INTEGRATION"] = "contactAcquisitionIntegration";
33
+ DESTINATION["KLAVIYO_CONTACT_ACQUISITION"] = "klaviyoContactAcquisition";
34
+ })(DESTINATION || (DESTINATION = {}));
35
+ export var EVENT_TRIGGER_CONDITION;
36
+ (function (EVENT_TRIGGER_CONDITION) {
37
+ EVENT_TRIGGER_CONDITION["GT"] = "gt";
38
+ EVENT_TRIGGER_CONDITION["EQ"] = "eq";
39
+ EVENT_TRIGGER_CONDITION["LT"] = "lt";
40
+ })(EVENT_TRIGGER_CONDITION || (EVENT_TRIGGER_CONDITION = {}));
47
41
  //# sourceMappingURL=destinations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":"AA6BA,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,gDAAmB,CAAA;IACnB,oDAAuB,CAAA;IACvB,gDAAmB,CAAA;AACrB,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;AAOD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;IAC3B,8DAA0C,CAAA;AAC5C,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAED,MAAM,CAAN,IAAY,WA+BX;AA/BD,WAAY,WAAW;IAErB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,4CAA6B,CAAA;IAC7B,sDAAuC,CAAA;IACvC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,qCAAsB,CAAA;IACtB,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,yCAA0B,CAAA;IAC1B,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,yDAA0C,CAAA;IAC1C,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,sCAAuB,CAAA;IAGvB,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;IAC/C,gFAAiE,CAAA;IAGjE,wEAAyD,CAAA;AAC3D,CAAC,EA/BW,WAAW,KAAX,WAAW,QA+BtB;AA8BD,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,oCAAS,CAAA;IACT,oCAAS,CAAA;IACT,oCAAS,CAAA;AACX,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC"}
1
+ {"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;IAC3B,8DAA0C,CAAA;AAC5C,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAED,MAAM,CAAN,IAAY,WA+BX;AA/BD,WAAY,WAAW;IAErB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,4CAA6B,CAAA;IAC7B,sDAAuC,CAAA;IACvC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,qCAAsB,CAAA;IACtB,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,yCAA0B,CAAA;IAC1B,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,yDAA0C,CAAA;IAC1C,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,sCAAuB,CAAA;IAGvB,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;IAC/C,gFAAiE,CAAA;IAGjE,wEAAyD,CAAA;AAC3D,CAAC,EA/BW,WAAW,KAAX,WAAW,QA+BtB;AA8BD,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,oCAAS,CAAA;IACT,oCAAS,CAAA;IACT,oCAAS,CAAA;AACX,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC"}
@@ -0,0 +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';
@@ -0,0 +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';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC"}
@@ -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