@adtrackify/at-tracking-event-types 1.0.28 → 1.0.31

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 (50) hide show
  1. package/build.js +7 -3
  2. package/dist/index.d.ts +424 -1
  3. package/dist/index.js +253 -18
  4. package/dist/index.js.map +7 -1
  5. package/package.json +7 -4
  6. package/src/types/api/subscription.ts +116 -3
  7. package/tsconfig.json +2 -5
  8. package/dist/types/adtrackify-event-bus-event.d.ts +0 -13
  9. package/dist/types/adtrackify-event-bus-event.js +0 -3
  10. package/dist/types/adtrackify-event-bus-event.js.map +0 -1
  11. package/dist/types/adtrackify-standard-events.d.ts +0 -18
  12. package/dist/types/adtrackify-standard-events.js +0 -23
  13. package/dist/types/adtrackify-standard-events.js.map +0 -1
  14. package/dist/types/api/account.d.ts +0 -17
  15. package/dist/types/api/account.js +0 -10
  16. package/dist/types/api/account.js.map +0 -1
  17. package/dist/types/api/destination.d.ts +0 -44
  18. package/dist/types/api/destination.js +0 -3
  19. package/dist/types/api/destination.js.map +0 -1
  20. package/dist/types/api/destinations.d.ts +0 -6
  21. package/dist/types/api/destinations.js +0 -11
  22. package/dist/types/api/destinations.js.map +0 -1
  23. package/dist/types/api/index.d.ts +0 -6
  24. package/dist/types/api/index.js +0 -23
  25. package/dist/types/api/index.js.map +0 -1
  26. package/dist/types/api/shopify-app-install.d.ts +0 -46
  27. package/dist/types/api/shopify-app-install.js +0 -22
  28. package/dist/types/api/shopify-app-install.js.map +0 -1
  29. package/dist/types/api/subscription.d.ts +0 -49
  30. package/dist/types/api/subscription.js +0 -32
  31. package/dist/types/api/subscription.js.map +0 -1
  32. package/dist/types/api/user.d.ts +0 -13
  33. package/dist/types/api/user.js +0 -3
  34. package/dist/types/api/user.js.map +0 -1
  35. package/dist/types/index.d.ts +0 -5
  36. package/dist/types/index.js +0 -22
  37. package/dist/types/index.js.map +0 -1
  38. package/dist/types/third-party-event-configuration-types.d.ts +0 -8
  39. package/dist/types/third-party-event-configuration-types.js +0 -3
  40. package/dist/types/third-party-event-configuration-types.js.map +0 -1
  41. package/dist/types/tracking-event-type.d.ts +0 -125
  42. package/dist/types/tracking-event-type.js +0 -5
  43. package/dist/types/tracking-event-type.js.map +0 -1
  44. package/dist/utils/fake-tracking-event-generator.d.ts +0 -17
  45. package/dist/utils/fake-tracking-event-generator.js +0 -204
  46. package/dist/utils/fake-tracking-event-generator.js.map +0 -1
  47. package/dist/utils/index.d.ts +0 -1
  48. package/dist/utils/index.js +0 -18
  49. package/dist/utils/index.js.map +0 -1
  50. package/prettier.config.js +0 -9
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=destination.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"destination.js","sourceRoot":"","sources":["../../../src/types/api/destination.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export declare enum DESTINATIONS {
2
- FACEBOOK = "facebook",
3
- TIKTOK = "tiktok",
4
- GOOGLE_ADS = "googleAds",
5
- GOOGLE_ANALYTICS_4 = "googleAnalytics4"
6
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DESTINATIONS = void 0;
4
- var DESTINATIONS;
5
- (function (DESTINATIONS) {
6
- DESTINATIONS["FACEBOOK"] = "facebook";
7
- DESTINATIONS["TIKTOK"] = "tiktok";
8
- DESTINATIONS["GOOGLE_ADS"] = "googleAds";
9
- DESTINATIONS["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
10
- })(DESTINATIONS = exports.DESTINATIONS || (exports.DESTINATIONS = {}));
11
- //# sourceMappingURL=destinations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../src/types/api/destinations.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,wCAAwB,CAAA;IACxB,uDAAuC,CAAA;AACzC,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB"}
@@ -1,6 +0,0 @@
1
- export * from './account';
2
- export * from './destination';
3
- export * from './destinations';
4
- export * from './shopify-app-install';
5
- export * from './subscription';
6
- export * from './user';
@@ -1,23 +0,0 @@
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("./destination"), exports);
19
- __exportStar(require("./destinations"), exports);
20
- __exportStar(require("./shopify-app-install"), exports);
21
- __exportStar(require("./subscription"), exports);
22
- __exportStar(require("./user"), exports);
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,iDAA+B;AAC/B,wDAAsC;AACtC,iDAA+B;AAC/B,yCAAuB"}
@@ -1,46 +0,0 @@
1
- export interface ShopifyAppInstall {
2
- shopifyAppInstallId: string;
3
- shop: string;
4
- accessToken?: string;
5
- appStatus?: string;
6
- appSubscriptionStatus?: ShopifyAppSubscriptionStatus;
7
- code?: string;
8
- hmac?: string;
9
- host?: string;
10
- installRequest?: ShopifyInstallRequest;
11
- isAppEnabled?: boolean;
12
- pixelId?: string;
13
- shopInfo?: any;
14
- state?: string;
15
- timestamp?: number;
16
- createdAt: string;
17
- updatedAt: string;
18
- }
19
- export declare enum ShopifyAppInstallStatus {
20
- STARTED = "started",
21
- COMPLETED = "completed",
22
- UNINSTALLED = "uninstalled",
23
- FAILED = "failed",
24
- NONE = "none"
25
- }
26
- export declare enum ShopifyAppSubscriptionStatus {
27
- ACTIVE = "active",
28
- CANCELLED = "cancelled",
29
- DECLINED = "declined",
30
- EXPIRED = "expired",
31
- FROZEN = "frozen",
32
- PENDING = "pending",
33
- NOT_SUBMITTED = "na"
34
- }
35
- export interface ShopifyInstallRequest {
36
- shop?: string;
37
- session?: string;
38
- hmac?: string;
39
- host?: string;
40
- nonce?: string;
41
- timestamp?: string;
42
- status?: string;
43
- }
44
- export interface ShopifyStoreInfo {
45
- [key: string]: any;
46
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShopifyAppSubscriptionStatus = exports.ShopifyAppInstallStatus = void 0;
4
- var ShopifyAppInstallStatus;
5
- (function (ShopifyAppInstallStatus) {
6
- ShopifyAppInstallStatus["STARTED"] = "started";
7
- ShopifyAppInstallStatus["COMPLETED"] = "completed";
8
- ShopifyAppInstallStatus["UNINSTALLED"] = "uninstalled";
9
- ShopifyAppInstallStatus["FAILED"] = "failed";
10
- ShopifyAppInstallStatus["NONE"] = "none";
11
- })(ShopifyAppInstallStatus = exports.ShopifyAppInstallStatus || (exports.ShopifyAppInstallStatus = {}));
12
- var ShopifyAppSubscriptionStatus;
13
- (function (ShopifyAppSubscriptionStatus) {
14
- ShopifyAppSubscriptionStatus["ACTIVE"] = "active";
15
- ShopifyAppSubscriptionStatus["CANCELLED"] = "cancelled";
16
- ShopifyAppSubscriptionStatus["DECLINED"] = "declined";
17
- ShopifyAppSubscriptionStatus["EXPIRED"] = "expired";
18
- ShopifyAppSubscriptionStatus["FROZEN"] = "frozen";
19
- ShopifyAppSubscriptionStatus["PENDING"] = "pending";
20
- ShopifyAppSubscriptionStatus["NOT_SUBMITTED"] = "na";
21
- })(ShopifyAppSubscriptionStatus = exports.ShopifyAppSubscriptionStatus || (exports.ShopifyAppSubscriptionStatus = {}));
22
- //# sourceMappingURL=shopify-app-install.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shopify-app-install.js","sourceRoot":"","sources":["../../../src/types/api/shopify-app-install.ts"],"names":[],"mappings":";;;AAmBA,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,sDAA2B,CAAA;IAC3B,4CAAiB,CAAA;IACjB,wCAAa,CAAA;AACf,CAAC,EANW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAMlC;AACD,IAAY,4BAQX;AARD,WAAY,4BAA4B;IACtC,iDAAiB,CAAA;IACjB,uDAAuB,CAAA;IACvB,qDAAqB,CAAA;IACrB,mDAAmB,CAAA;IACnB,iDAAiB,CAAA;IACjB,mDAAmB,CAAA;IACnB,oDAAoB,CAAA;AACtB,CAAC,EARW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAQvC"}
@@ -1,49 +0,0 @@
1
- export interface Subscription {
2
- id: string;
3
- accountId?: string;
4
- shopifyAppInstallId?: string;
5
- shopifyDomain?: string;
6
- stripeCustomerId?: string;
7
- stripeSubscriptionId?: string;
8
- stripeCompletedCheckoutSession?: any;
9
- shopifyChargeId: string;
10
- subscriptionPlan?: any;
11
- status?: SUBSCRIPTION_STATUS;
12
- paymentStatus?: PAYMENT_STATUS;
13
- paymentGateway?: PAYMENT_GATEWAY;
14
- createdAt: string;
15
- updatedAt: string;
16
- }
17
- export interface SubscriptionPlan {
18
- id: number;
19
- planName: string;
20
- description: string;
21
- price: string;
22
- billingFrequency: PLAN_BILLING_FREQUENCY;
23
- trialLengthDays?: number;
24
- trialRequiresCreditCard?: boolean;
25
- }
26
- export declare enum PLAN_BILLING_FREQUENCY {
27
- MONTHLY = "monthly",
28
- YEARLY = "yearly"
29
- }
30
- export declare enum PAYMENT_STATUS {
31
- CURRENT = "current",
32
- PAST_DUE = "past_due",
33
- CANCELLED = "cancelled",
34
- FAILED = "failed"
35
- }
36
- export declare enum SUBSCRIPTION_STATUS {
37
- ACTIVE = "active",
38
- CANCELLED = "cancelled",
39
- DECLINED = "declined",
40
- EXPIRED = "expired",
41
- FROZEN = "frozen",
42
- PENDING = "pending",
43
- NOT_SUBMITTED = "na"
44
- }
45
- export declare enum PAYMENT_GATEWAY {
46
- STRIPE = "stripe",
47
- PAYPAL = "paypal",
48
- SHOPIFY = "shopify"
49
- }
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PAYMENT_GATEWAY = exports.SUBSCRIPTION_STATUS = exports.PAYMENT_STATUS = exports.PLAN_BILLING_FREQUENCY = void 0;
4
- var PLAN_BILLING_FREQUENCY;
5
- (function (PLAN_BILLING_FREQUENCY) {
6
- PLAN_BILLING_FREQUENCY["MONTHLY"] = "monthly";
7
- PLAN_BILLING_FREQUENCY["YEARLY"] = "yearly";
8
- })(PLAN_BILLING_FREQUENCY = exports.PLAN_BILLING_FREQUENCY || (exports.PLAN_BILLING_FREQUENCY = {}));
9
- var PAYMENT_STATUS;
10
- (function (PAYMENT_STATUS) {
11
- PAYMENT_STATUS["CURRENT"] = "current";
12
- PAYMENT_STATUS["PAST_DUE"] = "past_due";
13
- PAYMENT_STATUS["CANCELLED"] = "cancelled";
14
- PAYMENT_STATUS["FAILED"] = "failed";
15
- })(PAYMENT_STATUS = exports.PAYMENT_STATUS || (exports.PAYMENT_STATUS = {}));
16
- var SUBSCRIPTION_STATUS;
17
- (function (SUBSCRIPTION_STATUS) {
18
- SUBSCRIPTION_STATUS["ACTIVE"] = "active";
19
- SUBSCRIPTION_STATUS["CANCELLED"] = "cancelled";
20
- SUBSCRIPTION_STATUS["DECLINED"] = "declined";
21
- SUBSCRIPTION_STATUS["EXPIRED"] = "expired";
22
- SUBSCRIPTION_STATUS["FROZEN"] = "frozen";
23
- SUBSCRIPTION_STATUS["PENDING"] = "pending";
24
- SUBSCRIPTION_STATUS["NOT_SUBMITTED"] = "na";
25
- })(SUBSCRIPTION_STATUS = exports.SUBSCRIPTION_STATUS || (exports.SUBSCRIPTION_STATUS = {}));
26
- var PAYMENT_GATEWAY;
27
- (function (PAYMENT_GATEWAY) {
28
- PAYMENT_GATEWAY["STRIPE"] = "stripe";
29
- PAYMENT_GATEWAY["PAYPAL"] = "paypal";
30
- PAYMENT_GATEWAY["SHOPIFY"] = "shopify";
31
- })(PAYMENT_GATEWAY = exports.PAYMENT_GATEWAY || (exports.PAYMENT_GATEWAY = {}));
32
- //# sourceMappingURL=subscription.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../src/types/api/subscription.ts"],"names":[],"mappings":";;;AA4BA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;AACnB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;AACnB,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,8CAAuB,CAAA;IACvB,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,2CAAoB,CAAA;AACtB,CAAC,EARW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQ9B;AACD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACrB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B"}
@@ -1,13 +0,0 @@
1
- export interface User {
2
- id: string;
3
- sub: string;
4
- userId: string;
5
- Username: string;
6
- UserLastModifiedDate: string;
7
- Enabled: boolean;
8
- UserStatus: string;
9
- email: string;
10
- email_verified: string;
11
- name: string;
12
- family_name: string;
13
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=user.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/api/user.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export * from './adtrackify-standard-events';
2
- export * from './third-party-event-configuration-types';
3
- export * from './tracking-event-type';
4
- export * from './adtrackify-event-bus-event';
5
- export * from './api';
@@ -1,22 +0,0 @@
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("./adtrackify-standard-events"), exports);
18
- __exportStar(require("./third-party-event-configuration-types"), exports);
19
- __exportStar(require("./tracking-event-type"), exports);
20
- __exportStar(require("./adtrackify-event-bus-event"), exports);
21
- __exportStar(require("./api"), exports);
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,0EAAwD;AACxD,wDAAsC;AACtC,+DAA6C;AAC7C,wCAAsB"}
@@ -1,8 +0,0 @@
1
- export interface DestinationConfiguration {
2
- eventConfigurations: DestinationEventSpecificConfiguration[];
3
- }
4
- export interface DestinationEventSpecificConfiguration {
5
- enabled: boolean;
6
- sourceEventName: string;
7
- destinationEventName: string;
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=third-party-event-configuration-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"third-party-event-configuration-types.js","sourceRoot":"","sources":["../../src/types/third-party-event-configuration-types.ts"],"names":[],"mappings":""}
@@ -1,125 +0,0 @@
1
- import { IResult } from 'ua-parser-js';
2
- import { ADTRACKIFY_STANDARD_EVENT } from './adtrackify-standard-events';
3
- export interface TrackingEvent {
4
- id: string;
5
- type: string;
6
- name: ADTRACKIFY_STANDARD_EVENT;
7
- pixelId: string;
8
- context: TrackingEventContext;
9
- data: TrackingEventData;
10
- testCode?: string;
11
- sentAtEpoch?: number;
12
- collectedAt?: string;
13
- version: string;
14
- }
15
- export interface TrackingEventContext {
16
- identity: TrackingEventIdentity;
17
- click?: AdClickInfo;
18
- campaign?: CampaignInfo;
19
- page?: PageInfo;
20
- device?: DeviceInfo;
21
- locale?: string;
22
- timezone?: string;
23
- userAgent?: string;
24
- ipAddress?: string;
25
- ipv6Address?: string;
26
- }
27
- export interface TrackingEventIdentity {
28
- gender?: string;
29
- dob?: string;
30
- phone?: string;
31
- id?: string;
32
- firstName?: string;
33
- lastName?: string;
34
- email?: string;
35
- address?: AddressInfo;
36
- addresses?: AddressInfo[];
37
- }
38
- export interface AdClickInfo {
39
- fbp?: string;
40
- fbc?: string;
41
- fbclid?: string;
42
- gclid?: string;
43
- }
44
- export interface TrackingEventData {
45
- [key: string]: any;
46
- firstName?: string;
47
- lastName?: string;
48
- email?: string;
49
- phone?: string;
50
- addresses?: AddressInfo[];
51
- cartId?: string;
52
- transactionId?: string;
53
- affiliation?: string;
54
- currency?: string;
55
- price?: number;
56
- subtotalPrice?: number;
57
- value?: number;
58
- tax?: number;
59
- shipping?: number;
60
- coupon?: string;
61
- paymentType?: string;
62
- shippingTier?: string;
63
- creativeName?: string;
64
- creativeSlot?: string;
65
- locationId?: string;
66
- promotionId?: string;
67
- promotionName?: string;
68
- items?: GenericContent[];
69
- }
70
- export interface GenericContent {
71
- [key: string]: any;
72
- content_type?: string;
73
- id?: string;
74
- name?: string;
75
- sku?: string;
76
- brand?: string;
77
- variant?: string;
78
- coupon?: string;
79
- currency?: string;
80
- discount?: number;
81
- index?: number;
82
- value?: number;
83
- price?: number;
84
- quantity?: number;
85
- url?: string;
86
- locationId?: string;
87
- imageUrl?: string;
88
- category?: string;
89
- category2?: string;
90
- category3?: string;
91
- category4?: string;
92
- category5?: string;
93
- }
94
- export interface AddressInfo {
95
- email?: string;
96
- phone?: string;
97
- firstName?: string;
98
- lastName?: string;
99
- company?: string;
100
- address1?: string;
101
- address2?: string;
102
- city?: string;
103
- province?: string;
104
- provinceCode?: string;
105
- country?: string;
106
- countryCode?: string;
107
- zip?: string;
108
- }
109
- export interface CampaignInfo {
110
- name?: string;
111
- source?: string;
112
- medium?: string;
113
- term?: string;
114
- content?: string;
115
- }
116
- export interface PageInfo {
117
- path?: string;
118
- referrer?: string;
119
- search?: string;
120
- title?: string;
121
- url?: string;
122
- qsp?: any;
123
- }
124
- export declare type DeviceInfo = IResult;
125
- export declare const Currencies: string[];
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Currencies = void 0;
4
- exports.Currencies = ['AED', 'ARS', 'AUD', 'BDT', 'BIF', 'BOB', 'BRL', 'CAD', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CZK', 'DKK', 'DZD', 'EGP', 'EUR', 'GBP', 'GTQ', 'HKD', 'HNL', 'HUF', 'IDR', 'ILS', 'INR', 'ISK', 'JPY', 'KES', 'KRW', 'KWD', 'KZT', 'MAD', 'MOP', 'MXN', 'MYR', 'NGN', 'NIO', 'NOK', 'NZD', 'PEN', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RUB', 'SAR', 'SEK', 'SGD', 'THB', 'TRY', 'TWD', 'USD', 'VES', 'VND', 'ZAR'];
5
- //# sourceMappingURL=tracking-event-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tracking-event-type.js","sourceRoot":"","sources":["../../src/types/tracking-event-type.ts"],"names":[],"mappings":";;;AAyIa,QAAA,UAAU,GAAa,CAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAE,CAAC"}
@@ -1,17 +0,0 @@
1
- import { AdClickInfo, AddressInfo, CampaignInfo, GenericContent, PageInfo, TrackingEvent, TrackingEventContext, TrackingEventIdentity } from '../index';
2
- export declare const generateFakeTrackingEvent: (event?: Partial<TrackingEvent>) => TrackingEvent;
3
- export declare const populateGenericTrackingEventData: (event?: Partial<TrackingEvent>) => TrackingEvent;
4
- export declare const generateFakePurchaseEvent: (event?: Partial<TrackingEvent>) => TrackingEvent;
5
- export declare const generateFakeViewContentEvent: (event?: Partial<TrackingEvent>) => TrackingEvent;
6
- export declare const generateFakeAddToCartEvent: (event?: Partial<TrackingEvent>) => TrackingEvent;
7
- export declare const generateFakeEcommerceItems: (numItems?: number) => GenericContent[];
8
- export declare const generateFakeEcommerceItem: () => GenericContent;
9
- export declare const generateFakeEventContext: (context?: Partial<TrackingEventContext>) => TrackingEventContext;
10
- export declare const generateFakePageInfo: (pageInfo?: Partial<PageInfo>) => PageInfo;
11
- export declare const generateFakeCampiagnInfo: (campaignInfo?: Partial<CampaignInfo>) => CampaignInfo;
12
- export declare const generateFakeAdClickInfo: (clickInfo?: Partial<AdClickInfo>) => AdClickInfo;
13
- export declare const generateFakeTrackingEventIdentity: (identity?: Partial<TrackingEventIdentity>) => TrackingEventIdentity;
14
- export declare const generateFakeAddress: (address?: AddressInfo) => AddressInfo;
15
- export declare const choasFake: <T>(input?: T | undefined) => T | null | undefined;
16
- export declare function randomEnum<T>(anEnum: T): T[keyof T];
17
- export declare const randomEnumKey: (enumeration: any) => string;