@adtrackify/at-tracking-event-types 3.0.28 → 3.0.29

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 (149) 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 +37 -37
  4. package/dist/cjs/types/api/account.js +9 -9
  5. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  6. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  7. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  8. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  9. package/dist/cjs/types/api/destinations/destinations.d.ts +73 -72
  10. package/dist/cjs/types/api/destinations/destinations.js +29 -28
  11. package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
  12. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +75 -68
  13. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  14. package/dist/cjs/types/api/destinations/third-party-destination-configs.js.map +1 -1
  15. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  16. package/dist/cjs/types/api/event-last-seen.js +2 -2
  17. package/dist/cjs/types/api/event-status.d.ts +18 -18
  18. package/dist/cjs/types/api/event-status.js +9 -9
  19. package/dist/cjs/types/api/index.d.ts +14 -14
  20. package/dist/cjs/types/api/index.js +30 -30
  21. package/dist/cjs/types/api/log-events.d.ts +16 -16
  22. package/dist/cjs/types/api/log-events.js +2 -2
  23. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  24. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  25. package/dist/cjs/types/api/query.d.ts +160 -160
  26. package/dist/cjs/types/api/query.js +110 -110
  27. package/dist/cjs/types/api/shopify-app-install.d.ts +47 -47
  28. package/dist/cjs/types/api/shopify-app-install.js +22 -22
  29. package/dist/cjs/types/api/subscription.d.ts +97 -97
  30. package/dist/cjs/types/api/subscription.js +36 -36
  31. package/dist/cjs/types/api/tracking-events.d.ts +11 -11
  32. package/dist/cjs/types/api/tracking-events.js +2 -2
  33. package/dist/cjs/types/api/user.d.ts +13 -13
  34. package/dist/cjs/types/api/user.js +2 -2
  35. package/dist/cjs/types/common/address.d.ts +15 -15
  36. package/dist/cjs/types/common/address.js +2 -2
  37. package/dist/cjs/types/common/currency.d.ts +1 -1
  38. package/dist/cjs/types/common/currency.js +63 -63
  39. package/dist/cjs/types/common/index.d.ts +2 -2
  40. package/dist/cjs/types/common/index.js +18 -18
  41. package/dist/cjs/types/event/base/event-name-enum.d.ts +54 -54
  42. package/dist/cjs/types/event/base/event-name-enum.js +60 -60
  43. package/dist/cjs/types/event/base/event.d.ts +20 -20
  44. package/dist/cjs/types/event/base/event.js +10 -10
  45. package/dist/cjs/types/event/base/index.d.ts +2 -2
  46. package/dist/cjs/types/event/base/index.js +18 -18
  47. package/dist/cjs/types/event/context/event-context-identity.d.ts +17 -17
  48. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  49. package/dist/cjs/types/event/context/event-context.d.ts +160 -160
  50. package/dist/cjs/types/event/context/event-context.js +2 -2
  51. package/dist/cjs/types/event/context/index.d.ts +2 -2
  52. package/dist/cjs/types/event/context/index.js +18 -18
  53. package/dist/cjs/types/event/index.d.ts +5 -5
  54. package/dist/cjs/types/event/index.js +21 -21
  55. package/dist/cjs/types/event/log-event.d.ts +35 -35
  56. package/dist/cjs/types/event/log-event.js +22 -22
  57. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  58. package/dist/cjs/types/event/metric-event.js +2 -2
  59. package/dist/cjs/types/event/tracking-event.d.ts +64 -64
  60. package/dist/cjs/types/event/tracking-event.js +2 -2
  61. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  62. package/dist/cjs/types/event-bus-event.js +2 -2
  63. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  64. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  65. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  66. package/dist/cjs/types/fingerprint/index.js +18 -18
  67. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  68. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  69. package/dist/cjs/types/index.d.ts +7 -7
  70. package/dist/cjs/types/index.js +23 -23
  71. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  72. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  73. package/dist/cjs/types/tracking-event-ingest-message.d.ts +7 -7
  74. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  75. package/dist/esm/index.d.ts +1 -1
  76. package/dist/esm/index.js +1 -1
  77. package/dist/esm/types/api/account.d.ts +37 -37
  78. package/dist/esm/types/api/account.js +6 -6
  79. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  80. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  81. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  82. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  83. package/dist/esm/types/api/destinations/destinations.d.ts +73 -72
  84. package/dist/esm/types/api/destinations/destinations.js +26 -25
  85. package/dist/esm/types/api/destinations/destinations.js.map +1 -1
  86. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +75 -68
  87. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  88. package/dist/esm/types/api/destinations/third-party-destination-configs.js.map +1 -1
  89. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  90. package/dist/esm/types/api/event-last-seen.js +1 -1
  91. package/dist/esm/types/api/event-status.d.ts +18 -18
  92. package/dist/esm/types/api/event-status.js +6 -6
  93. package/dist/esm/types/api/index.d.ts +14 -14
  94. package/dist/esm/types/api/index.js +14 -14
  95. package/dist/esm/types/api/log-events.d.ts +16 -16
  96. package/dist/esm/types/api/log-events.js +1 -1
  97. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  98. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  99. package/dist/esm/types/api/query.d.ts +160 -160
  100. package/dist/esm/types/api/query.js +107 -107
  101. package/dist/esm/types/api/shopify-app-install.d.ts +47 -47
  102. package/dist/esm/types/api/shopify-app-install.js +19 -19
  103. package/dist/esm/types/api/subscription.d.ts +97 -97
  104. package/dist/esm/types/api/subscription.js +33 -33
  105. package/dist/esm/types/api/tracking-events.d.ts +11 -11
  106. package/dist/esm/types/api/tracking-events.js +1 -1
  107. package/dist/esm/types/api/user.d.ts +13 -13
  108. package/dist/esm/types/api/user.js +1 -1
  109. package/dist/esm/types/common/address.d.ts +15 -15
  110. package/dist/esm/types/common/address.js +1 -1
  111. package/dist/esm/types/common/currency.d.ts +1 -1
  112. package/dist/esm/types/common/currency.js +60 -60
  113. package/dist/esm/types/common/index.d.ts +2 -2
  114. package/dist/esm/types/common/index.js +2 -2
  115. package/dist/esm/types/event/base/event-name-enum.d.ts +54 -54
  116. package/dist/esm/types/event/base/event-name-enum.js +57 -57
  117. package/dist/esm/types/event/base/event.d.ts +20 -20
  118. package/dist/esm/types/event/base/event.js +7 -7
  119. package/dist/esm/types/event/base/index.d.ts +2 -2
  120. package/dist/esm/types/event/base/index.js +2 -2
  121. package/dist/esm/types/event/context/event-context-identity.d.ts +17 -17
  122. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  123. package/dist/esm/types/event/context/event-context.d.ts +160 -160
  124. package/dist/esm/types/event/context/event-context.js +1 -1
  125. package/dist/esm/types/event/context/index.d.ts +2 -2
  126. package/dist/esm/types/event/context/index.js +2 -2
  127. package/dist/esm/types/event/index.d.ts +5 -5
  128. package/dist/esm/types/event/index.js +5 -5
  129. package/dist/esm/types/event/log-event.d.ts +35 -35
  130. package/dist/esm/types/event/log-event.js +19 -19
  131. package/dist/esm/types/event/metric-event.d.ts +13 -13
  132. package/dist/esm/types/event/metric-event.js +1 -1
  133. package/dist/esm/types/event/tracking-event.d.ts +64 -64
  134. package/dist/esm/types/event/tracking-event.js +1 -1
  135. package/dist/esm/types/event-bus-event.d.ts +25 -25
  136. package/dist/esm/types/event-bus-event.js +1 -1
  137. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  138. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  139. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  140. package/dist/esm/types/fingerprint/index.js +2 -2
  141. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  142. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  143. package/dist/esm/types/index.d.ts +7 -7
  144. package/dist/esm/types/index.js +7 -7
  145. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  146. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  147. package/dist/esm/types/tracking-event-ingest-message.d.ts +7 -7
  148. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  149. package/package.json +1 -1
@@ -1 +1 @@
1
- export * from './types';
1
+ export * from './types';
package/dist/cjs/index.js CHANGED
@@ -1,18 +1,18 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -1,37 +1,37 @@
1
- import { Subscription } from './subscription';
2
- export interface Account {
3
- id: string;
4
- accountName: string;
5
- companyName?: string;
6
- accountStatus: ACCOUNT_STATUS;
7
- primaryEmail: string;
8
- publicApiKey?: string;
9
- subscriptionId?: string;
10
- pixels?: Pixel[];
11
- subscription?: Subscription;
12
- ownerId?: string;
13
- settings?: AccountSettings;
14
- confirmedAt?: string;
15
- createdAt: string;
16
- updatedAt: string;
17
- }
18
- export interface Pixel {
19
- id: string;
20
- accountId: string;
21
- name: string;
22
- createdAt: string;
23
- updatedAt: string;
24
- }
25
- export declare enum ACCOUNT_STATUS {
26
- PENDING = "pending",
27
- ACTIVE = "active",
28
- INACTIVE = "inactive"
29
- }
30
- export interface AccountSettings {
31
- defaultTimezone?: string;
32
- selectedTimezone?: string;
33
- defaultCurrency?: string;
34
- selectedCurrency?: string;
35
- countPendingOrders?: boolean;
36
- countVoidedOrders?: boolean;
37
- }
1
+ import { Subscription } from './subscription';
2
+ export interface Account {
3
+ id: string;
4
+ accountName: string;
5
+ companyName?: string;
6
+ accountStatus: ACCOUNT_STATUS;
7
+ primaryEmail: string;
8
+ publicApiKey?: string;
9
+ subscriptionId?: string;
10
+ pixels?: Pixel[];
11
+ subscription?: Subscription;
12
+ ownerId?: string;
13
+ settings?: AccountSettings;
14
+ confirmedAt?: string;
15
+ createdAt: string;
16
+ updatedAt: string;
17
+ }
18
+ export interface Pixel {
19
+ id: string;
20
+ accountId: string;
21
+ name: string;
22
+ createdAt: string;
23
+ updatedAt: string;
24
+ }
25
+ export declare enum ACCOUNT_STATUS {
26
+ PENDING = "pending",
27
+ ACTIVE = "active",
28
+ INACTIVE = "inactive"
29
+ }
30
+ export interface AccountSettings {
31
+ defaultTimezone?: string;
32
+ selectedTimezone?: string;
33
+ defaultCurrency?: string;
34
+ selectedCurrency?: string;
35
+ countPendingOrders?: boolean;
36
+ countVoidedOrders?: boolean;
37
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ACCOUNT_STATUS = void 0;
4
- var ACCOUNT_STATUS;
5
- (function (ACCOUNT_STATUS) {
6
- ACCOUNT_STATUS["PENDING"] = "pending";
7
- ACCOUNT_STATUS["ACTIVE"] = "active";
8
- ACCOUNT_STATUS["INACTIVE"] = "inactive";
9
- })(ACCOUNT_STATUS = exports.ACCOUNT_STATUS || (exports.ACCOUNT_STATUS = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ACCOUNT_STATUS = void 0;
4
+ var ACCOUNT_STATUS;
5
+ (function (ACCOUNT_STATUS) {
6
+ ACCOUNT_STATUS["PENDING"] = "pending";
7
+ ACCOUNT_STATUS["ACTIVE"] = "active";
8
+ ACCOUNT_STATUS["INACTIVE"] = "inactive";
9
+ })(ACCOUNT_STATUS = exports.ACCOUNT_STATUS || (exports.ACCOUNT_STATUS = {}));
10
10
  //# sourceMappingURL=account.js.map
@@ -1,11 +1,11 @@
1
- import { TRACKING_EVENT_NAME } from '../event';
2
- export interface DestinationTrackedEvents {
3
- [TRACKING_EVENT_NAME.PAGE_VIEW]: {
4
- web: number;
5
- server: number;
6
- };
7
- [TRACKING_EVENT_NAME.PURCHASE]: {
8
- web: number;
9
- server: number;
10
- };
11
- }
1
+ import { TRACKING_EVENT_NAME } from '../event';
2
+ export interface DestinationTrackedEvents {
3
+ [TRACKING_EVENT_NAME.PAGE_VIEW]: {
4
+ web: number;
5
+ server: number;
6
+ };
7
+ [TRACKING_EVENT_NAME.PURCHASE]: {
8
+ web: number;
9
+ server: number;
10
+ };
11
+ }
@@ -1,4 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const event_1 = require("../event");
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const event_1 = require("../event");
4
4
  //# sourceMappingURL=destination-tracked-events.js.map
@@ -1,30 +1,30 @@
1
- import { DESTINATION, DESTINATION_TYPE } from './destinations';
2
- export interface DestinationCatalogItem {
3
- id: string;
4
- active: boolean;
5
- destinationKey: DESTINATION;
6
- destinationType: DESTINATION_TYPE;
7
- displayName?: string;
8
- shortName?: string;
9
- description?: string;
10
- url: string;
11
- fields?: DestinationCatalogField[];
12
- createdAt: string;
13
- updatedAt: string;
14
- }
15
- export interface DestinationCatalogFieldValidation {
16
- active: boolean;
17
- pattern: string;
18
- error?: string;
19
- }
20
- export interface DestinationCatalogField {
21
- component_type: string;
22
- name: string;
23
- description: string;
24
- label: string;
25
- type: string;
26
- required: boolean;
27
- values?: any[];
28
- validation?: DestinationCatalogFieldValidation;
29
- order: number;
30
- }
1
+ import { DESTINATION, DESTINATION_TYPE } from './destinations';
2
+ export interface DestinationCatalogItem {
3
+ id: string;
4
+ active: boolean;
5
+ destinationKey: DESTINATION;
6
+ destinationType: DESTINATION_TYPE;
7
+ displayName?: string;
8
+ shortName?: string;
9
+ description?: string;
10
+ url: string;
11
+ fields?: DestinationCatalogField[];
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ }
15
+ export interface DestinationCatalogFieldValidation {
16
+ active: boolean;
17
+ pattern: string;
18
+ error?: string;
19
+ }
20
+ export interface DestinationCatalogField {
21
+ component_type: string;
22
+ name: string;
23
+ description: string;
24
+ label: string;
25
+ type: string;
26
+ required: boolean;
27
+ values?: any[];
28
+ validation?: DestinationCatalogFieldValidation;
29
+ order: number;
30
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=destination-catalog.js.map
@@ -1,72 +1,73 @@
1
- export interface Destination {
2
- id: string;
3
- accountId: string;
4
- pixelId: string;
5
- destination: DESTINATION;
6
- destinationType?: DESTINATION_TYPE;
7
- displayName?: string;
8
- enabled: boolean;
9
- configuration?: UserDestinationConfiguration;
10
- createdAt: string;
11
- updatedAt: string;
12
- orderConfig?: DestinationOrderConfig;
13
- }
14
- export interface DestinationOrderConfig {
15
- blockedSources?: string[];
16
- blockedTags?: string[];
17
- }
18
- export declare enum DESTINATION_TYPE {
19
- INTEGRATION = "integration",
20
- DESTINATION = "destination"
21
- }
22
- export declare enum DESTINATION {
23
- FACEBOOK = "facebook",
24
- TIKTOK = "tiktok",
25
- GOOGLE_ADS = "googleAds",
26
- GOOGLE_ANALYTICS_4 = "googleAnalytics4",
27
- HUBSPOT = "hubspot",
28
- WEBHOOK = "webhook",
29
- CUSTOM_HTML = "customHTML",
30
- CUSTOM_JS = "customJS",
31
- SNAPCHAT = "snapchat",
32
- TWITTER = "twitter",
33
- REDDIT = "reddit",
34
- INTERCOM = "intercom",
35
- CUSTOMER_IO = "customerIO",
36
- FACEBOOK_INTEGRATION = "facebookIntegration",
37
- GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
38
- PINTEREST = "pinterest",
39
- KLAVIYO = "klaviyo"
40
- }
41
- export interface UserDestinationConfiguration {
42
- [key: string]: any;
43
- eventBlacklist?: string[];
44
- events?: EventConfiguration[];
45
- trigger?: DestinationTriggerConfiguration;
46
- }
47
- export interface DestinationTriggerConfiguration {
48
- shopify?: ShopifyTriggerConfiguration;
49
- exludeDomains?: string[];
50
- excludePages?: string[];
51
- domains?: string[];
52
- pages?: string[];
53
- }
54
- export interface ShopifyTriggerConfiguration {
55
- enabled: boolean;
56
- collections?: string[];
57
- tags?: string[];
58
- }
59
- export interface EventConfiguration {
60
- sourceEventName: string;
61
- exclude?: boolean;
62
- sample: EventSampleConfiguration;
63
- transformations?: EventTransformation[];
64
- }
65
- export interface EventTransformation {
66
- transformationEventName: string;
67
- enabled: boolean;
68
- }
69
- export interface EventSampleConfiguration {
70
- enabled: boolean;
71
- rate: number;
72
- }
1
+ export interface Destination {
2
+ id: string;
3
+ accountId: string;
4
+ pixelId: string;
5
+ destination: DESTINATION;
6
+ destinationType?: DESTINATION_TYPE;
7
+ displayName?: string;
8
+ enabled: boolean;
9
+ configuration?: UserDestinationConfiguration;
10
+ createdAt: string;
11
+ updatedAt: string;
12
+ orderConfig?: DestinationOrderConfig;
13
+ }
14
+ export interface DestinationOrderConfig {
15
+ blockedSources?: string[];
16
+ blockedTags?: string[];
17
+ }
18
+ export declare enum DESTINATION_TYPE {
19
+ INTEGRATION = "integration",
20
+ DESTINATION = "destination"
21
+ }
22
+ export declare enum DESTINATION {
23
+ FACEBOOK = "facebook",
24
+ TIKTOK = "tiktok",
25
+ GOOGLE_ADS = "googleAds",
26
+ GOOGLE_ANALYTICS_4 = "googleAnalytics4",
27
+ HUBSPOT = "hubspot",
28
+ WEBHOOK = "webhook",
29
+ CUSTOM_HTML = "customHTML",
30
+ CUSTOM_JS = "customJS",
31
+ SNAPCHAT = "snapchat",
32
+ TWITTER = "twitter",
33
+ REDDIT = "reddit",
34
+ INTERCOM = "intercom",
35
+ CUSTOMER_IO = "customerIO",
36
+ FACEBOOK_INTEGRATION = "facebookIntegration",
37
+ GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
38
+ PINTEREST = "pinterest",
39
+ KLAVIYO = "klaviyo",
40
+ SENDLANE = "sendlane"
41
+ }
42
+ export interface UserDestinationConfiguration {
43
+ [key: string]: any;
44
+ eventBlacklist?: string[];
45
+ events?: EventConfiguration[];
46
+ trigger?: DestinationTriggerConfiguration;
47
+ }
48
+ export interface DestinationTriggerConfiguration {
49
+ shopify?: ShopifyTriggerConfiguration;
50
+ exludeDomains?: string[];
51
+ excludePages?: string[];
52
+ domains?: string[];
53
+ pages?: string[];
54
+ }
55
+ export interface ShopifyTriggerConfiguration {
56
+ enabled: boolean;
57
+ collections?: string[];
58
+ tags?: string[];
59
+ }
60
+ export interface EventConfiguration {
61
+ sourceEventName: string;
62
+ exclude?: boolean;
63
+ sample: EventSampleConfiguration;
64
+ transformations?: EventTransformation[];
65
+ }
66
+ export interface EventTransformation {
67
+ transformationEventName: string;
68
+ enabled: boolean;
69
+ }
70
+ export interface EventSampleConfiguration {
71
+ enabled: boolean;
72
+ rate: number;
73
+ }
@@ -1,29 +1,30 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DESTINATION = exports.DESTINATION_TYPE = void 0;
4
- var DESTINATION_TYPE;
5
- (function (DESTINATION_TYPE) {
6
- DESTINATION_TYPE["INTEGRATION"] = "integration";
7
- DESTINATION_TYPE["DESTINATION"] = "destination";
8
- })(DESTINATION_TYPE = exports.DESTINATION_TYPE || (exports.DESTINATION_TYPE = {}));
9
- var DESTINATION;
10
- (function (DESTINATION) {
11
- DESTINATION["FACEBOOK"] = "facebook";
12
- DESTINATION["TIKTOK"] = "tiktok";
13
- DESTINATION["GOOGLE_ADS"] = "googleAds";
14
- DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
15
- DESTINATION["HUBSPOT"] = "hubspot";
16
- DESTINATION["WEBHOOK"] = "webhook";
17
- DESTINATION["CUSTOM_HTML"] = "customHTML";
18
- DESTINATION["CUSTOM_JS"] = "customJS";
19
- DESTINATION["SNAPCHAT"] = "snapchat";
20
- DESTINATION["TWITTER"] = "twitter";
21
- DESTINATION["REDDIT"] = "reddit";
22
- DESTINATION["INTERCOM"] = "intercom";
23
- DESTINATION["CUSTOMER_IO"] = "customerIO";
24
- DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
25
- DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
26
- DESTINATION["PINTEREST"] = "pinterest";
27
- DESTINATION["KLAVIYO"] = "klaviyo";
28
- })(DESTINATION = exports.DESTINATION || (exports.DESTINATION = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DESTINATION = exports.DESTINATION_TYPE = void 0;
4
+ var DESTINATION_TYPE;
5
+ (function (DESTINATION_TYPE) {
6
+ DESTINATION_TYPE["INTEGRATION"] = "integration";
7
+ DESTINATION_TYPE["DESTINATION"] = "destination";
8
+ })(DESTINATION_TYPE = exports.DESTINATION_TYPE || (exports.DESTINATION_TYPE = {}));
9
+ var DESTINATION;
10
+ (function (DESTINATION) {
11
+ DESTINATION["FACEBOOK"] = "facebook";
12
+ DESTINATION["TIKTOK"] = "tiktok";
13
+ DESTINATION["GOOGLE_ADS"] = "googleAds";
14
+ DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
15
+ DESTINATION["HUBSPOT"] = "hubspot";
16
+ DESTINATION["WEBHOOK"] = "webhook";
17
+ DESTINATION["CUSTOM_HTML"] = "customHTML";
18
+ DESTINATION["CUSTOM_JS"] = "customJS";
19
+ DESTINATION["SNAPCHAT"] = "snapchat";
20
+ DESTINATION["TWITTER"] = "twitter";
21
+ DESTINATION["REDDIT"] = "reddit";
22
+ DESTINATION["INTERCOM"] = "intercom";
23
+ DESTINATION["CUSTOMER_IO"] = "customerIO";
24
+ DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
25
+ DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
26
+ DESTINATION["PINTEREST"] = "pinterest";
27
+ DESTINATION["KLAVIYO"] = "klaviyo";
28
+ DESTINATION["SENDLANE"] = "sendlane";
29
+ })(DESTINATION = exports.DESTINATION || (exports.DESTINATION = {}));
29
30
  //# sourceMappingURL=destinations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":";;;AAmBA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;AAC7B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,WAkBX;AAlBD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,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,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;IAC/C,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;AACrB,CAAC,EAlBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkBtB"}
1
+ {"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":";;;AAmBA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;AAC7B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,WAmBX;AAnBD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,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,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;IAC/C,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;AACvB,CAAC,EAnBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAmBtB"}
@@ -1,68 +1,75 @@
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 AdTrackifyKlaviyoDestination extends Destination {
15
- configuration: KlaviyoConfiguration;
16
- }
17
- export interface FacebookPixelConfiguration extends UserDestinationConfiguration {
18
- apiAccessToken?: string;
19
- enableConversionAPI: boolean;
20
- pixelId: string;
21
- }
22
- export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
23
- apiAccessToken?: string;
24
- enableConversionAPI: boolean;
25
- pixelId: string;
26
- }
27
- export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
28
- apiSecret: string;
29
- measurementId: string;
30
- }
31
- export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
32
- pixelId: string;
33
- conversionID: string;
34
- }
35
- export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
36
- hubspotId: string;
37
- }
38
- export interface SnapchatPixelConfiguration extends UserDestinationConfiguration {
39
- snapchatPixelId: string;
40
- }
41
- export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
42
- twitterPixelId: string;
43
- }
44
- export interface IntercomTagConfiguration extends UserDestinationConfiguration {
45
- appId: string;
46
- apiBase: string;
47
- }
48
- export interface WebhookConfiguration extends UserDestinationConfiguration {
49
- webhookUrl: string;
50
- }
51
- export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
52
- html: string;
53
- location: CustomHTMLLocation;
54
- }
55
- export interface PinterestConfiguration extends UserDestinationConfiguration {
56
- pixelId: string;
57
- enableConversionAPI: boolean;
58
- advertiserId?: string;
59
- apiAccessToken?: string;
60
- }
61
- export interface KlaviyoConfiguration extends UserDestinationConfiguration {
62
- apiAccessToken: string;
63
- }
64
- export declare enum CustomHTMLLocation {
65
- HEADER = "header",
66
- FOOTER = "footer",
67
- BODY = "body"
68
- }
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 AdTrackifyKlaviyoDestination extends Destination {
15
+ configuration: KlaviyoConfiguration;
16
+ }
17
+ export interface AdTrackifySendlaneDestination extends Destination {
18
+ configuration: SendlaneConfiguration;
19
+ }
20
+ export interface FacebookPixelConfiguration extends UserDestinationConfiguration {
21
+ apiAccessToken?: string;
22
+ enableConversionAPI: boolean;
23
+ pixelId: string;
24
+ }
25
+ export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
26
+ apiAccessToken?: string;
27
+ enableConversionAPI: boolean;
28
+ pixelId: string;
29
+ }
30
+ export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
31
+ apiSecret: string;
32
+ measurementId: string;
33
+ }
34
+ export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
35
+ pixelId: string;
36
+ conversionID: string;
37
+ }
38
+ export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
39
+ hubspotId: string;
40
+ }
41
+ export interface SnapchatPixelConfiguration extends UserDestinationConfiguration {
42
+ snapchatPixelId: string;
43
+ }
44
+ export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
45
+ twitterPixelId: string;
46
+ }
47
+ export interface IntercomTagConfiguration extends UserDestinationConfiguration {
48
+ appId: string;
49
+ apiBase: string;
50
+ }
51
+ export interface WebhookConfiguration extends UserDestinationConfiguration {
52
+ webhookUrl: string;
53
+ }
54
+ export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
55
+ html: string;
56
+ location: CustomHTMLLocation;
57
+ }
58
+ export interface PinterestConfiguration extends UserDestinationConfiguration {
59
+ pixelId: string;
60
+ enableConversionAPI: boolean;
61
+ advertiserId?: string;
62
+ apiAccessToken?: string;
63
+ }
64
+ export interface KlaviyoConfiguration extends UserDestinationConfiguration {
65
+ apiAccessToken: string;
66
+ }
67
+ export interface SendlaneConfiguration extends UserDestinationConfiguration {
68
+ apiAccessToken: string;
69
+ sendlaneToken: string;
70
+ }
71
+ export declare enum CustomHTMLLocation {
72
+ HEADER = "header",
73
+ FOOTER = "footer",
74
+ BODY = "body"
75
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomHTMLLocation = void 0;
4
- var CustomHTMLLocation;
5
- (function (CustomHTMLLocation) {
6
- CustomHTMLLocation["HEADER"] = "header";
7
- CustomHTMLLocation["FOOTER"] = "footer";
8
- CustomHTMLLocation["BODY"] = "body";
9
- })(CustomHTMLLocation = exports.CustomHTMLLocation || (exports.CustomHTMLLocation = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomHTMLLocation = void 0;
4
+ var CustomHTMLLocation;
5
+ (function (CustomHTMLLocation) {
6
+ CustomHTMLLocation["HEADER"] = "header";
7
+ CustomHTMLLocation["FOOTER"] = "footer";
8
+ CustomHTMLLocation["BODY"] = "body";
9
+ })(CustomHTMLLocation = exports.CustomHTMLLocation || (exports.CustomHTMLLocation = {}));
10
10
  //# sourceMappingURL=third-party-destination-configs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"third-party-destination-configs.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/third-party-destination-configs.ts"],"names":[],"mappings":";;;AAmFA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
1
+ {"version":3,"file":"third-party-destination-configs.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/third-party-destination-configs.ts"],"names":[],"mappings":";;;AA2FA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
@@ -1,6 +1,6 @@
1
- import { TRACKING_EVENT_NAME } from '../event';
2
- export interface EventLastSeen {
3
- pixelId: string;
4
- lastSeen: string;
5
- eventName: TRACKING_EVENT_NAME;
6
- }
1
+ import { TRACKING_EVENT_NAME } from '../event';
2
+ export interface EventLastSeen {
3
+ pixelId: string;
4
+ lastSeen: string;
5
+ eventName: TRACKING_EVENT_NAME;
6
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=event-last-seen.js.map