@adtrackify/at-tracking-event-types 3.1.43 → 3.1.45

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 (213) 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 -1
  8. package/dist/cjs/types/api/dashboards/index.js +17 -17
  9. package/dist/cjs/types/api/dashboards/widget.d.ts +93 -83
  10. package/dist/cjs/types/api/dashboards/widget.js +26 -21
  11. package/dist/cjs/types/api/dashboards/widget.js.map +1 -1
  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 -110
  17. package/dist/cjs/types/api/destinations/destinations.js +49 -49
  18. package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
  19. package/dist/cjs/types/api/destinations/index.d.ts +5 -5
  20. package/dist/cjs/types/api/destinations/index.js +21 -21
  21. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  22. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  23. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +106 -106
  24. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  25. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  26. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  27. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  28. package/dist/cjs/types/api/event-last-seen.js +2 -2
  29. package/dist/cjs/types/api/event-status.d.ts +18 -18
  30. package/dist/cjs/types/api/event-status.js +9 -9
  31. package/dist/cjs/types/api/index.d.ts +19 -19
  32. package/dist/cjs/types/api/index.js +35 -35
  33. package/dist/cjs/types/api/log-events.d.ts +22 -22
  34. package/dist/cjs/types/api/log-events.js +2 -2
  35. package/dist/cjs/types/api/measures/definitions/core-channel-measure-definitions.d.ts +123 -123
  36. package/dist/cjs/types/api/measures/definitions/core-channel-measure-definitions.js +126 -126
  37. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +123 -123
  38. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +126 -126
  39. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +363 -363
  40. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +366 -366
  41. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +183 -183
  42. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +186 -186
  43. package/dist/cjs/types/api/measures/definitions/index.d.ts +7 -7
  44. package/dist/cjs/types/api/measures/definitions/index.js +23 -23
  45. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +1652 -1652
  46. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +167 -167
  47. package/dist/cjs/types/api/measures/definitions/shopify-measure-definitions.d.ts +554 -554
  48. package/dist/cjs/types/api/measures/definitions/shopify-measure-definitions.js +557 -557
  49. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +350 -350
  50. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +353 -353
  51. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  52. package/dist/cjs/types/api/measures/index.js +18 -18
  53. package/dist/cjs/types/api/measures/measures.d.ts +241 -241
  54. package/dist/cjs/types/api/measures/measures.js +245 -245
  55. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  56. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  57. package/dist/cjs/types/api/query.d.ts +147 -147
  58. package/dist/cjs/types/api/query.js +90 -90
  59. package/dist/cjs/types/api/shopify-app-install.d.ts +40 -40
  60. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  61. package/dist/cjs/types/api/subscription.d.ts +155 -155
  62. package/dist/cjs/types/api/subscription.js +47 -47
  63. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  64. package/dist/cjs/types/api/tracking-events.js +2 -2
  65. package/dist/cjs/types/api/user.d.ts +13 -13
  66. package/dist/cjs/types/api/user.js +2 -2
  67. package/dist/cjs/types/common/address.d.ts +15 -15
  68. package/dist/cjs/types/common/address.js +2 -2
  69. package/dist/cjs/types/common/currency.d.ts +1 -1
  70. package/dist/cjs/types/common/currency.js +63 -63
  71. package/dist/cjs/types/common/index.d.ts +2 -2
  72. package/dist/cjs/types/common/index.js +18 -18
  73. package/dist/cjs/types/event/base/event-name-enum.d.ts +60 -60
  74. package/dist/cjs/types/event/base/event-name-enum.js +66 -66
  75. package/dist/cjs/types/event/base/event.d.ts +20 -20
  76. package/dist/cjs/types/event/base/event.js +10 -10
  77. package/dist/cjs/types/event/base/index.d.ts +2 -2
  78. package/dist/cjs/types/event/base/index.js +18 -18
  79. package/dist/cjs/types/event/context/event-context-identity.d.ts +21 -21
  80. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  81. package/dist/cjs/types/event/context/event-context.d.ts +196 -196
  82. package/dist/cjs/types/event/context/event-context.js +2 -2
  83. package/dist/cjs/types/event/context/index.d.ts +2 -2
  84. package/dist/cjs/types/event/context/index.js +18 -18
  85. package/dist/cjs/types/event/index.d.ts +5 -5
  86. package/dist/cjs/types/event/index.js +21 -21
  87. package/dist/cjs/types/event/log-event.d.ts +35 -35
  88. package/dist/cjs/types/event/log-event.js +22 -22
  89. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  90. package/dist/cjs/types/event/metric-event.js +2 -2
  91. package/dist/cjs/types/event/tracking-event.d.ts +62 -62
  92. package/dist/cjs/types/event/tracking-event.js +2 -2
  93. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  94. package/dist/cjs/types/event-bus-event.js +2 -2
  95. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  96. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  97. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  98. package/dist/cjs/types/fingerprint/index.js +18 -18
  99. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  100. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  101. package/dist/cjs/types/index.d.ts +7 -7
  102. package/dist/cjs/types/index.js +23 -23
  103. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  104. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  105. package/dist/cjs/types/tracking-event-ingest-message.d.ts +10 -10
  106. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  107. package/dist/esm/index.d.ts +1 -1
  108. package/dist/esm/index.js +1 -1
  109. package/dist/esm/types/api/account.d.ts +62 -62
  110. package/dist/esm/types/api/account.js +20 -20
  111. package/dist/esm/types/api/contact-acquisition.d.ts +39 -39
  112. package/dist/esm/types/api/contact-acquisition.js +13 -13
  113. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  114. package/dist/esm/types/api/dashboards/index.js +1 -1
  115. package/dist/esm/types/api/dashboards/widget.d.ts +93 -83
  116. package/dist/esm/types/api/dashboards/widget.js +23 -18
  117. package/dist/esm/types/api/dashboards/widget.js.map +1 -1
  118. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  119. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  120. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  121. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  122. package/dist/esm/types/api/destinations/destinations.d.ts +112 -110
  123. package/dist/esm/types/api/destinations/destinations.js +46 -46
  124. package/dist/esm/types/api/destinations/destinations.js.map +1 -1
  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/core-channel-measure-definitions.d.ts +123 -123
  142. package/dist/esm/types/api/measures/definitions/core-channel-measure-definitions.js +123 -123
  143. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +123 -123
  144. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +123 -123
  145. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +363 -363
  146. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +363 -363
  147. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +183 -183
  148. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +183 -183
  149. package/dist/esm/types/api/measures/definitions/index.d.ts +7 -7
  150. package/dist/esm/types/api/measures/definitions/index.js +7 -7
  151. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +1652 -1652
  152. package/dist/esm/types/api/measures/definitions/measure-definitions.js +164 -164
  153. package/dist/esm/types/api/measures/definitions/shopify-measure-definitions.d.ts +554 -554
  154. package/dist/esm/types/api/measures/definitions/shopify-measure-definitions.js +554 -554
  155. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +350 -350
  156. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +350 -350
  157. package/dist/esm/types/api/measures/index.d.ts +2 -2
  158. package/dist/esm/types/api/measures/index.js +2 -2
  159. package/dist/esm/types/api/measures/measures.d.ts +241 -241
  160. package/dist/esm/types/api/measures/measures.js +242 -242
  161. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  162. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  163. package/dist/esm/types/api/query.d.ts +147 -147
  164. package/dist/esm/types/api/query.js +87 -87
  165. package/dist/esm/types/api/shopify-app-install.d.ts +40 -40
  166. package/dist/esm/types/api/shopify-app-install.js +11 -11
  167. package/dist/esm/types/api/subscription.d.ts +155 -155
  168. package/dist/esm/types/api/subscription.js +44 -44
  169. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  170. package/dist/esm/types/api/tracking-events.js +1 -1
  171. package/dist/esm/types/api/user.d.ts +13 -13
  172. package/dist/esm/types/api/user.js +1 -1
  173. package/dist/esm/types/common/address.d.ts +15 -15
  174. package/dist/esm/types/common/address.js +1 -1
  175. package/dist/esm/types/common/currency.d.ts +1 -1
  176. package/dist/esm/types/common/currency.js +60 -60
  177. package/dist/esm/types/common/index.d.ts +2 -2
  178. package/dist/esm/types/common/index.js +2 -2
  179. package/dist/esm/types/event/base/event-name-enum.d.ts +60 -60
  180. package/dist/esm/types/event/base/event-name-enum.js +63 -63
  181. package/dist/esm/types/event/base/event.d.ts +20 -20
  182. package/dist/esm/types/event/base/event.js +7 -7
  183. package/dist/esm/types/event/base/index.d.ts +2 -2
  184. package/dist/esm/types/event/base/index.js +2 -2
  185. package/dist/esm/types/event/context/event-context-identity.d.ts +21 -21
  186. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  187. package/dist/esm/types/event/context/event-context.d.ts +196 -196
  188. package/dist/esm/types/event/context/event-context.js +1 -1
  189. package/dist/esm/types/event/context/index.d.ts +2 -2
  190. package/dist/esm/types/event/context/index.js +2 -2
  191. package/dist/esm/types/event/index.d.ts +5 -5
  192. package/dist/esm/types/event/index.js +5 -5
  193. package/dist/esm/types/event/log-event.d.ts +35 -35
  194. package/dist/esm/types/event/log-event.js +19 -19
  195. package/dist/esm/types/event/metric-event.d.ts +13 -13
  196. package/dist/esm/types/event/metric-event.js +1 -1
  197. package/dist/esm/types/event/tracking-event.d.ts +62 -62
  198. package/dist/esm/types/event/tracking-event.js +1 -1
  199. package/dist/esm/types/event-bus-event.d.ts +25 -25
  200. package/dist/esm/types/event-bus-event.js +1 -1
  201. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  202. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  203. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  204. package/dist/esm/types/fingerprint/index.js +2 -2
  205. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  206. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  207. package/dist/esm/types/index.d.ts +7 -7
  208. package/dist/esm/types/index.js +7 -7
  209. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  210. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  211. package/dist/esm/types/tracking-event-ingest-message.d.ts +10 -10
  212. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  213. package/package.json +1 -1
@@ -1,110 +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
- };
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
+ 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 +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":"AA+BA,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,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