@adtrackify/at-tracking-event-types 2.0.40 → 2.0.42

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 (113) 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 +27 -27
  4. package/dist/cjs/types/api/account.js +9 -9
  5. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  6. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  7. package/dist/cjs/types/api/destinations/destinations.d.ts +63 -63
  8. package/dist/cjs/types/api/destinations/destinations.js +24 -24
  9. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +53 -53
  10. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  11. package/dist/cjs/types/api/event-status.d.ts +18 -18
  12. package/dist/cjs/types/api/event-status.js +9 -9
  13. package/dist/cjs/types/api/index.d.ts +9 -9
  14. package/dist/cjs/types/api/index.js +25 -25
  15. package/dist/cjs/types/api/query.d.ts +143 -143
  16. package/dist/cjs/types/api/query.js +99 -99
  17. package/dist/cjs/types/api/shopify-app-install.d.ts +46 -46
  18. package/dist/cjs/types/api/shopify-app-install.js +21 -21
  19. package/dist/cjs/types/api/subscription.d.ts +61 -60
  20. package/dist/cjs/types/api/subscription.js +31 -31
  21. package/dist/cjs/types/api/subscription.js.map +1 -1
  22. package/dist/cjs/types/api/user.d.ts +13 -13
  23. package/dist/cjs/types/api/user.js +2 -2
  24. package/dist/cjs/types/common/address.d.ts +15 -15
  25. package/dist/cjs/types/common/address.js +2 -2
  26. package/dist/cjs/types/common/currency.d.ts +1 -1
  27. package/dist/cjs/types/common/currency.js +63 -63
  28. package/dist/cjs/types/common/index.d.ts +2 -2
  29. package/dist/cjs/types/common/index.js +18 -18
  30. package/dist/cjs/types/event/base/event-name-enum.d.ts +36 -36
  31. package/dist/cjs/types/event/base/event-name-enum.js +42 -42
  32. package/dist/cjs/types/event/base/event.d.ts +20 -20
  33. package/dist/cjs/types/event/base/event.js +10 -10
  34. package/dist/cjs/types/event/base/index.d.ts +2 -2
  35. package/dist/cjs/types/event/base/index.js +18 -18
  36. package/dist/cjs/types/event/context/event-context-identity.d.ts +18 -18
  37. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  38. package/dist/cjs/types/event/context/event-context.d.ts +143 -143
  39. package/dist/cjs/types/event/context/event-context.js +2 -2
  40. package/dist/cjs/types/event/context/index.d.ts +2 -2
  41. package/dist/cjs/types/event/context/index.js +18 -18
  42. package/dist/cjs/types/event/index.d.ts +5 -5
  43. package/dist/cjs/types/event/index.js +21 -21
  44. package/dist/cjs/types/event/log-event.d.ts +42 -36
  45. package/dist/cjs/types/event/log-event.js +18 -18
  46. package/dist/cjs/types/event/log-event.js.map +1 -1
  47. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  48. package/dist/cjs/types/event/metric-event.js +2 -2
  49. package/dist/cjs/types/event/tracking-event.d.ts +62 -62
  50. package/dist/cjs/types/event/tracking-event.js +2 -2
  51. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  52. package/dist/cjs/types/event-bus-event.js +2 -2
  53. package/dist/cjs/types/index.d.ts +5 -5
  54. package/dist/cjs/types/index.js +21 -21
  55. package/dist/cjs/types/third-party-event-configuration-types.d.ts +9 -9
  56. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  57. package/dist/esm/index.d.ts +1 -1
  58. package/dist/esm/index.js +1 -1
  59. package/dist/esm/types/api/account.d.ts +27 -27
  60. package/dist/esm/types/api/account.js +6 -6
  61. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  62. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  63. package/dist/esm/types/api/destinations/destinations.d.ts +63 -63
  64. package/dist/esm/types/api/destinations/destinations.js +21 -21
  65. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +53 -53
  66. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  67. package/dist/esm/types/api/event-status.d.ts +18 -18
  68. package/dist/esm/types/api/event-status.js +6 -6
  69. package/dist/esm/types/api/index.d.ts +9 -9
  70. package/dist/esm/types/api/index.js +9 -9
  71. package/dist/esm/types/api/query.d.ts +143 -143
  72. package/dist/esm/types/api/query.js +96 -96
  73. package/dist/esm/types/api/shopify-app-install.d.ts +46 -46
  74. package/dist/esm/types/api/shopify-app-install.js +18 -18
  75. package/dist/esm/types/api/subscription.d.ts +61 -60
  76. package/dist/esm/types/api/subscription.js +28 -28
  77. package/dist/esm/types/api/subscription.js.map +1 -1
  78. package/dist/esm/types/api/user.d.ts +13 -13
  79. package/dist/esm/types/api/user.js +1 -1
  80. package/dist/esm/types/common/address.d.ts +15 -15
  81. package/dist/esm/types/common/address.js +1 -1
  82. package/dist/esm/types/common/currency.d.ts +1 -1
  83. package/dist/esm/types/common/currency.js +60 -60
  84. package/dist/esm/types/common/index.d.ts +2 -2
  85. package/dist/esm/types/common/index.js +2 -2
  86. package/dist/esm/types/event/base/event-name-enum.d.ts +36 -36
  87. package/dist/esm/types/event/base/event-name-enum.js +39 -39
  88. package/dist/esm/types/event/base/event.d.ts +20 -20
  89. package/dist/esm/types/event/base/event.js +7 -7
  90. package/dist/esm/types/event/base/index.d.ts +2 -2
  91. package/dist/esm/types/event/base/index.js +2 -2
  92. package/dist/esm/types/event/context/event-context-identity.d.ts +18 -18
  93. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  94. package/dist/esm/types/event/context/event-context.d.ts +143 -143
  95. package/dist/esm/types/event/context/event-context.js +1 -1
  96. package/dist/esm/types/event/context/index.d.ts +2 -2
  97. package/dist/esm/types/event/context/index.js +2 -2
  98. package/dist/esm/types/event/index.d.ts +5 -5
  99. package/dist/esm/types/event/index.js +5 -5
  100. package/dist/esm/types/event/log-event.d.ts +42 -36
  101. package/dist/esm/types/event/log-event.js +15 -15
  102. package/dist/esm/types/event/log-event.js.map +1 -1
  103. package/dist/esm/types/event/metric-event.d.ts +13 -13
  104. package/dist/esm/types/event/metric-event.js +1 -1
  105. package/dist/esm/types/event/tracking-event.d.ts +62 -62
  106. package/dist/esm/types/event/tracking-event.js +1 -1
  107. package/dist/esm/types/event-bus-event.d.ts +25 -25
  108. package/dist/esm/types/event-bus-event.js +1 -1
  109. package/dist/esm/types/index.d.ts +5 -5
  110. package/dist/esm/types/index.js +5 -5
  111. package/dist/esm/types/third-party-event-configuration-types.d.ts +9 -9
  112. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  113. 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,27 +1,27 @@
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
- createdAt: string;
14
- updatedAt: string;
15
- }
16
- export interface Pixel {
17
- id: string;
18
- accountId: string;
19
- name: string;
20
- createdAt: string;
21
- updatedAt: string;
22
- }
23
- export declare enum ACCOUNT_STATUS {
24
- PENDING = "pending",
25
- ACTIVE = "active",
26
- INACTIVE = "inactive"
27
- }
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
+ createdAt: string;
14
+ updatedAt: string;
15
+ }
16
+ export interface Pixel {
17
+ id: string;
18
+ accountId: string;
19
+ name: string;
20
+ createdAt: string;
21
+ updatedAt: string;
22
+ }
23
+ export declare enum ACCOUNT_STATUS {
24
+ PENDING = "pending",
25
+ ACTIVE = "active",
26
+ INACTIVE = "inactive"
27
+ }
@@ -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,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,63 +1,63 @@
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
- }
13
- export declare enum DESTINATION_TYPE {
14
- INTEGRATION = "integration",
15
- DESTIANTION = "destination"
16
- }
17
- export declare enum DESTINATION {
18
- FACEBOOK = "facebook",
19
- TIKTOK = "tiktok",
20
- GOOGLE_ADS = "googleAds",
21
- GOOGLE_ANALYTICS_4 = "googleAnalytics4",
22
- HUBSPOT = "hubspot",
23
- WEBHOOK = "webhook",
24
- CUSTOM_HTML = "customHTML",
25
- SNAPCHAT = "snapchat",
26
- TWITTER = "twitter",
27
- REDDIT = "reddit",
28
- INTERCOM = "intercom",
29
- FACEBOOK_INTEGRATION = "facebookIntegration",
30
- GOOGLE_ADS_INTEGRATION = "googleAdsIntegration"
31
- }
32
- export interface UserDestinationConfiguration {
33
- [key: string]: any;
34
- eventBlacklist?: string[];
35
- events?: EventConfiguration[];
36
- trigger?: DestinationTriggerConfiguration;
37
- }
38
- export interface DestinationTriggerConfiguration {
39
- shopify?: ShopifyTriggerConfiguration;
40
- exludeDomains?: string[];
41
- excludePages?: string[];
42
- domains?: string[];
43
- pages?: string[];
44
- }
45
- export interface ShopifyTriggerConfiguration {
46
- enabled: boolean;
47
- collections?: string[];
48
- tags?: string[];
49
- }
50
- export interface EventConfiguration {
51
- sourceEventName: string;
52
- exclude?: boolean;
53
- sample: EventSampleConfiguration;
54
- transformations?: EventTransformation[];
55
- }
56
- export interface EventTransformation {
57
- transformationEventName: string;
58
- enabled: boolean;
59
- }
60
- export interface EventSampleConfiguration {
61
- enabled: boolean;
62
- rate: number;
63
- }
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
+ }
13
+ export declare enum DESTINATION_TYPE {
14
+ INTEGRATION = "integration",
15
+ DESTIANTION = "destination"
16
+ }
17
+ export declare enum DESTINATION {
18
+ FACEBOOK = "facebook",
19
+ TIKTOK = "tiktok",
20
+ GOOGLE_ADS = "googleAds",
21
+ GOOGLE_ANALYTICS_4 = "googleAnalytics4",
22
+ HUBSPOT = "hubspot",
23
+ WEBHOOK = "webhook",
24
+ CUSTOM_HTML = "customHTML",
25
+ SNAPCHAT = "snapchat",
26
+ TWITTER = "twitter",
27
+ REDDIT = "reddit",
28
+ INTERCOM = "intercom",
29
+ FACEBOOK_INTEGRATION = "facebookIntegration",
30
+ GOOGLE_ADS_INTEGRATION = "googleAdsIntegration"
31
+ }
32
+ export interface UserDestinationConfiguration {
33
+ [key: string]: any;
34
+ eventBlacklist?: string[];
35
+ events?: EventConfiguration[];
36
+ trigger?: DestinationTriggerConfiguration;
37
+ }
38
+ export interface DestinationTriggerConfiguration {
39
+ shopify?: ShopifyTriggerConfiguration;
40
+ exludeDomains?: string[];
41
+ excludePages?: string[];
42
+ domains?: string[];
43
+ pages?: string[];
44
+ }
45
+ export interface ShopifyTriggerConfiguration {
46
+ enabled: boolean;
47
+ collections?: string[];
48
+ tags?: string[];
49
+ }
50
+ export interface EventConfiguration {
51
+ sourceEventName: string;
52
+ exclude?: boolean;
53
+ sample: EventSampleConfiguration;
54
+ transformations?: EventTransformation[];
55
+ }
56
+ export interface EventTransformation {
57
+ transformationEventName: string;
58
+ enabled: boolean;
59
+ }
60
+ export interface EventSampleConfiguration {
61
+ enabled: boolean;
62
+ rate: number;
63
+ }
@@ -1,25 +1,25 @@
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["DESTIANTION"] = "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["SNAPCHAT"] = "snapchat";
19
- DESTINATION["TWITTER"] = "twitter";
20
- DESTINATION["REDDIT"] = "reddit";
21
- DESTINATION["INTERCOM"] = "intercom";
22
- DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
23
- DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
24
- })(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["DESTIANTION"] = "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["SNAPCHAT"] = "snapchat";
19
+ DESTINATION["TWITTER"] = "twitter";
20
+ DESTINATION["REDDIT"] = "reddit";
21
+ DESTINATION["INTERCOM"] = "intercom";
22
+ DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
23
+ DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
24
+ })(DESTINATION = exports.DESTINATION || (exports.DESTINATION = {}));
25
25
  //# sourceMappingURL=destinations.js.map
@@ -1,53 +1,53 @@
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 FacebookPixelConfiguration extends UserDestinationConfiguration {
12
- apiAccessToken?: string;
13
- enableConversionAPI: boolean;
14
- pixelId: string;
15
- }
16
- export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
17
- apiAccessToken?: string;
18
- enableConversionAPI: boolean;
19
- pixelId: string;
20
- }
21
- export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
22
- apiSecret: string;
23
- measurementId: string;
24
- }
25
- export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
26
- pixelId: string;
27
- conversionID: string;
28
- }
29
- export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
30
- hubspotId: string;
31
- }
32
- export interface SnapchatPixelConfiguration extends UserDestinationConfiguration {
33
- snapchatPixelId: string;
34
- }
35
- export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
36
- twitterPixelId: string;
37
- }
38
- export interface IntercomTagConfiguration extends UserDestinationConfiguration {
39
- appId: string;
40
- apiBase: string;
41
- }
42
- export interface WebhookConfiguration extends UserDestinationConfiguration {
43
- webhookUrl: string;
44
- }
45
- export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
46
- html: string;
47
- location: CustomHTMLLocation;
48
- }
49
- export declare enum CustomHTMLLocation {
50
- HEADER = "header",
51
- FOOTER = "footer",
52
- BODY = "body"
53
- }
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 FacebookPixelConfiguration extends UserDestinationConfiguration {
12
+ apiAccessToken?: string;
13
+ enableConversionAPI: boolean;
14
+ pixelId: string;
15
+ }
16
+ export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
17
+ apiAccessToken?: string;
18
+ enableConversionAPI: boolean;
19
+ pixelId: string;
20
+ }
21
+ export interface GoogleAnalytics4Configuration extends UserDestinationConfiguration {
22
+ apiSecret: string;
23
+ measurementId: string;
24
+ }
25
+ export interface GoogleAdsConfiguration extends UserDestinationConfiguration {
26
+ pixelId: string;
27
+ conversionID: string;
28
+ }
29
+ export interface HubspotPixelConfiguration extends UserDestinationConfiguration {
30
+ hubspotId: string;
31
+ }
32
+ export interface SnapchatPixelConfiguration extends UserDestinationConfiguration {
33
+ snapchatPixelId: string;
34
+ }
35
+ export interface TwitterPixelConfiguration extends UserDestinationConfiguration {
36
+ twitterPixelId: string;
37
+ }
38
+ export interface IntercomTagConfiguration extends UserDestinationConfiguration {
39
+ appId: string;
40
+ apiBase: string;
41
+ }
42
+ export interface WebhookConfiguration extends UserDestinationConfiguration {
43
+ webhookUrl: string;
44
+ }
45
+ export interface CustomHTMLConfiguration extends UserDestinationConfiguration {
46
+ html: string;
47
+ location: CustomHTMLLocation;
48
+ }
49
+ export declare enum CustomHTMLLocation {
50
+ HEADER = "header",
51
+ FOOTER = "footer",
52
+ BODY = "body"
53
+ }
@@ -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,18 +1,18 @@
1
- import { TrackingEvent } from '../event';
2
- import { Destination } from './destinations/destinations';
3
- export interface EventStatus {
4
- eventStatusId: string;
5
- eventId: string;
6
- pixelId: string;
7
- event: TrackingEvent;
8
- destinations: Destination[];
9
- eventStatus: EventStatusIndicator;
10
- eventReceivedAt: string;
11
- createdAt: string;
12
- updatedAt: string;
13
- }
14
- export declare enum EventStatusIndicator {
15
- SUCCESS = "success",
16
- FAILED = "failed",
17
- UNKNOWN = "unknown"
18
- }
1
+ import { TrackingEvent } from '../event';
2
+ import { Destination } from './destinations/destinations';
3
+ export interface EventStatus {
4
+ eventStatusId: string;
5
+ eventId: string;
6
+ pixelId: string;
7
+ event: TrackingEvent;
8
+ destinations: Destination[];
9
+ eventStatus: EventStatusIndicator;
10
+ eventReceivedAt: string;
11
+ createdAt: string;
12
+ updatedAt: string;
13
+ }
14
+ export declare enum EventStatusIndicator {
15
+ SUCCESS = "success",
16
+ FAILED = "failed",
17
+ UNKNOWN = "unknown"
18
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventStatusIndicator = void 0;
4
- var EventStatusIndicator;
5
- (function (EventStatusIndicator) {
6
- EventStatusIndicator["SUCCESS"] = "success";
7
- EventStatusIndicator["FAILED"] = "failed";
8
- EventStatusIndicator["UNKNOWN"] = "unknown";
9
- })(EventStatusIndicator = exports.EventStatusIndicator || (exports.EventStatusIndicator = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventStatusIndicator = void 0;
4
+ var EventStatusIndicator;
5
+ (function (EventStatusIndicator) {
6
+ EventStatusIndicator["SUCCESS"] = "success";
7
+ EventStatusIndicator["FAILED"] = "failed";
8
+ EventStatusIndicator["UNKNOWN"] = "unknown";
9
+ })(EventStatusIndicator = exports.EventStatusIndicator || (exports.EventStatusIndicator = {}));
10
10
  //# sourceMappingURL=event-status.js.map
@@ -1,9 +1,9 @@
1
- export * from './account';
2
- export * from './destinations/destinations';
3
- export * from './destinations/destination-catalog';
4
- export * from './destinations/third-party-destination-configs';
5
- export * from './shopify-app-install';
6
- export * from './subscription';
7
- export * from './user';
8
- export * from './query';
9
- export * from './event-status';
1
+ export * from './account';
2
+ export * from './destinations/destinations';
3
+ export * from './destinations/destination-catalog';
4
+ export * from './destinations/third-party-destination-configs';
5
+ export * from './shopify-app-install';
6
+ export * from './subscription';
7
+ export * from './user';
8
+ export * from './query';
9
+ export * from './event-status';
@@ -1,26 +1,26 @@
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("./account"), exports);
18
- __exportStar(require("./destinations/destinations"), exports);
19
- __exportStar(require("./destinations/destination-catalog"), exports);
20
- __exportStar(require("./destinations/third-party-destination-configs"), exports);
21
- __exportStar(require("./shopify-app-install"), exports);
22
- __exportStar(require("./subscription"), exports);
23
- __exportStar(require("./user"), exports);
24
- __exportStar(require("./query"), exports);
25
- __exportStar(require("./event-status"), 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("./account"), exports);
18
+ __exportStar(require("./destinations/destinations"), exports);
19
+ __exportStar(require("./destinations/destination-catalog"), exports);
20
+ __exportStar(require("./destinations/third-party-destination-configs"), exports);
21
+ __exportStar(require("./shopify-app-install"), exports);
22
+ __exportStar(require("./subscription"), exports);
23
+ __exportStar(require("./user"), exports);
24
+ __exportStar(require("./query"), exports);
25
+ __exportStar(require("./event-status"), exports);
26
26
  //# sourceMappingURL=index.js.map