@adtrackify/at-tracking-event-types 1.0.0

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.
package/.babelrc ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "presets": [
3
+ [
4
+ "@babel/preset-env"
5
+ ],
6
+ [
7
+ "@babel/preset-typescript"
8
+ ],
9
+ ],
10
+ "plugins": [
11
+ "@babel/plugin-syntax-dynamic-import",
12
+ "@babel/plugin-proposal-optional-chaining",
13
+ [
14
+ "@babel/plugin-transform-runtime",
15
+ {
16
+ "helpers": true,
17
+ "regenerator": true,
18
+ "useESModules": false
19
+ }
20
+ ]
21
+ ]
22
+ }
package/.editorconfig ADDED
@@ -0,0 +1,12 @@
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ charset = utf-8
6
+ trim_trailing_whitespace = true
7
+ insert_final_newline = false
8
+ indent_style = space
9
+ indent_size = 2
10
+
11
+ [*.{diff,md}]
12
+ trim_trailing_whitespace = false
package/.eslintrc.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "jest": true,
5
+ "es2021": true
6
+ },
7
+ "extends": [
8
+ "eslint:recommended"
9
+ ],
10
+ "parser": "@typescript-eslint/parser",
11
+ "parserOptions": {
12
+ "ecmaVersion": 12,
13
+ "sourceType": "module"
14
+ },
15
+ "plugins": [
16
+ "@typescript-eslint",
17
+ "babel"
18
+ ],
19
+ "globals": {
20
+ "process": false,
21
+ "exports": false
22
+ },
23
+ "rules": {
24
+ "@typescript-eslint/no-unused-vars": [
25
+ "error"
26
+ ],
27
+ "no-unused-vars": "off",
28
+ "quotes": [
29
+ "error",
30
+ "single"
31
+ ]
32
+ }
33
+ }
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+ . "$(dirname "$0")/_/husky.sh"
3
+
4
+ npm run build:dev
@@ -0,0 +1 @@
1
+ export * from './types';
package/dist/index.js ADDED
@@ -0,0 +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);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,12 @@
1
+ export declare enum ADTRACKIFY_DESTINATIONS {
2
+ FACEBOOK = "facebook",
3
+ GOOGLE_ANALYTICS_4 = "googleAnalytics4"
4
+ }
5
+ export interface FacebookPixelConfiguration {
6
+ apiAccessToken?: string;
7
+ enableConversionAPI: boolean;
8
+ pixelId: string;
9
+ }
10
+ export interface GoogleAnalytics4Configuration {
11
+ measurementId: string;
12
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ADTRACKIFY_DESTINATIONS = void 0;
4
+ var ADTRACKIFY_DESTINATIONS;
5
+ (function (ADTRACKIFY_DESTINATIONS) {
6
+ ADTRACKIFY_DESTINATIONS["FACEBOOK"] = "facebook";
7
+ ADTRACKIFY_DESTINATIONS["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
8
+ })(ADTRACKIFY_DESTINATIONS = exports.ADTRACKIFY_DESTINATIONS || (exports.ADTRACKIFY_DESTINATIONS = {}));
9
+ //# sourceMappingURL=adtrackify-api-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adtrackify-api-types.js","sourceRoot":"","sources":["../../src/types/adtrackify-api-types.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,gDAAqB,CAAA;IACrB,kEAAuC,CAAA;AACzC,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC"}
@@ -0,0 +1,18 @@
1
+ export declare enum ADTRACKIFY_STANDARD_EVENT {
2
+ ADD_PAYMENT_INFO = "add_payment_info",
3
+ ADD_SHIPPING_INFO = "add_shipping_info",
4
+ ADD_TO_CART = "add_to_cart",
5
+ ADD_TO_WISHLIST = "add_to_wishlist",
6
+ INITIATE_CHECKOUT = "initiate_checkout",
7
+ LEAD = "lead",
8
+ LOGIN = "login",
9
+ PAGE_VIEW = "page_view",
10
+ PURCHASE = "purchase",
11
+ REFUND = "refund",
12
+ SEARCH = "search",
13
+ SIGN_UP = "sign_up",
14
+ VIEW_CART = "view_cart",
15
+ VIEW_CONTENT = "view_content",
16
+ SELECT_SHIPPING_METHOD = "select_shipping_method",
17
+ VIRTUALIZED_VIEWED_PAYMENT_FORM = "virtualized_viewd_payment_form"
18
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ADTRACKIFY_STANDARD_EVENT = void 0;
4
+ var ADTRACKIFY_STANDARD_EVENT;
5
+ (function (ADTRACKIFY_STANDARD_EVENT) {
6
+ ADTRACKIFY_STANDARD_EVENT["ADD_PAYMENT_INFO"] = "add_payment_info";
7
+ ADTRACKIFY_STANDARD_EVENT["ADD_SHIPPING_INFO"] = "add_shipping_info";
8
+ ADTRACKIFY_STANDARD_EVENT["ADD_TO_CART"] = "add_to_cart";
9
+ ADTRACKIFY_STANDARD_EVENT["ADD_TO_WISHLIST"] = "add_to_wishlist";
10
+ // COMPLETE_REGISTRATION: 'complete_registration',
11
+ // CONTACT: 'contact',
12
+ ADTRACKIFY_STANDARD_EVENT["INITIATE_CHECKOUT"] = "initiate_checkout";
13
+ ADTRACKIFY_STANDARD_EVENT["LEAD"] = "lead";
14
+ ADTRACKIFY_STANDARD_EVENT["LOGIN"] = "login";
15
+ ADTRACKIFY_STANDARD_EVENT["PAGE_VIEW"] = "page_view";
16
+ ADTRACKIFY_STANDARD_EVENT["PURCHASE"] = "purchase";
17
+ ADTRACKIFY_STANDARD_EVENT["REFUND"] = "refund";
18
+ ADTRACKIFY_STANDARD_EVENT["SEARCH"] = "search";
19
+ // START_TRIAL: 'start_trial',
20
+ // SUBMIT_APPLICATION: 'submit_application',
21
+ // SUBSCRIBE: 'subscribe',
22
+ ADTRACKIFY_STANDARD_EVENT["SIGN_UP"] = "sign_up";
23
+ ADTRACKIFY_STANDARD_EVENT["VIEW_CART"] = "view_cart";
24
+ ADTRACKIFY_STANDARD_EVENT["VIEW_CONTENT"] = "view_content";
25
+ //
26
+ ADTRACKIFY_STANDARD_EVENT["SELECT_SHIPPING_METHOD"] = "select_shipping_method";
27
+ ADTRACKIFY_STANDARD_EVENT["VIRTUALIZED_VIEWED_PAYMENT_FORM"] = "virtualized_viewd_payment_form";
28
+ })(ADTRACKIFY_STANDARD_EVENT = exports.ADTRACKIFY_STANDARD_EVENT || (exports.ADTRACKIFY_STANDARD_EVENT = {}));
29
+ //# sourceMappingURL=adtrackify-standard-events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adtrackify-standard-events.js","sourceRoot":"","sources":["../../src/types/adtrackify-standard-events.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAyBX;AAzBD,WAAY,yBAAyB;IACnC,kEAAqC,CAAA;IACrC,oEAAuC,CAAA;IACvC,wDAA2B,CAAA;IAC3B,gEAAmC,CAAA;IACnC,kDAAkD;IAClD,sBAAsB;IACtB,oEAAuC,CAAA;IACvC,0CAAa,CAAA;IACb,4CAAe,CAAA;IACf,oDAAuB,CAAA;IACvB,kDAAqB,CAAA;IACrB,8CAAiB,CAAA;IACjB,8CAAiB,CAAA;IACjB,8BAA8B;IAC9B,4CAA4C;IAC5C,0BAA0B;IAC1B,gDAAmB,CAAA;IACnB,oDAAuB,CAAA;IACvB,0DAA6B,CAAA;IAG7B,EAAE;IACF,8EAAiD,CAAA;IACjD,+FAAkE,CAAA;AACpE,CAAC,EAzBW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAyBpC"}
@@ -0,0 +1,4 @@
1
+ export * from './adtrackify-api-types';
2
+ export * from './adtrackify-standard-events';
3
+ export * from './third-party-event-configuration-types';
4
+ export * from './tracking-event-type';
@@ -0,0 +1,21 @@
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-api-types"), exports);
18
+ __exportStar(require("./adtrackify-standard-events"), exports);
19
+ __exportStar(require("./third-party-event-configuration-types"), exports);
20
+ __exportStar(require("./tracking-event-type"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,+DAA6C;AAC7C,0EAAwD;AACxD,wDAAsC"}
@@ -0,0 +1,8 @@
1
+ export interface DestinationConfiguration {
2
+ eventConfigurations: DestinationEventSpecificConfiguration[];
3
+ }
4
+ export interface DestinationEventSpecificConfiguration {
5
+ enabled: boolean;
6
+ sourceEventName: string;
7
+ destinationEventName: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=third-party-event-configuration-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"third-party-event-configuration-types.js","sourceRoot":"","sources":["../../src/types/third-party-event-configuration-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,124 @@
1
+ import { IResult } from 'ua-parser-js';
2
+ export interface TrackingEvent {
3
+ id: string;
4
+ type: string;
5
+ name: string;
6
+ pixelId: string;
7
+ context: TrackingEventContext;
8
+ data: TrackingEventData;
9
+ testCode?: string;
10
+ sentAtEpoch?: number;
11
+ collectedAt?: string;
12
+ version: string;
13
+ }
14
+ export interface TrackingEventContext {
15
+ identity: TrackingEventIdentity;
16
+ click?: AdClickInfo;
17
+ campaign?: CampaignInfo;
18
+ page?: PageInfo;
19
+ device?: DeviceInfo;
20
+ locale?: string;
21
+ timezone?: string;
22
+ userAgent?: string;
23
+ ipAddress?: string;
24
+ ipv6Address?: string;
25
+ }
26
+ export interface TrackingEventIdentity {
27
+ gender?: string;
28
+ dob?: string;
29
+ phone?: string;
30
+ id?: string;
31
+ firstName?: string;
32
+ lastName?: string;
33
+ email?: string;
34
+ address?: AddressInfo;
35
+ addresses?: AddressInfo[];
36
+ }
37
+ export interface AdClickInfo {
38
+ fbp?: string;
39
+ fbc?: string;
40
+ fbclid?: string;
41
+ gclid?: string;
42
+ }
43
+ export interface TrackingEventData {
44
+ [key: string]: any;
45
+ firstName?: string;
46
+ lastName?: string;
47
+ email?: string;
48
+ phone?: string;
49
+ addresses?: AddressInfo[];
50
+ cartId?: string;
51
+ transactionId?: string;
52
+ affiliation?: string;
53
+ currency?: string;
54
+ price?: number;
55
+ subtotalPrice?: number;
56
+ value?: number;
57
+ tax?: number;
58
+ shipping?: number;
59
+ coupon?: string;
60
+ paymentType?: string;
61
+ shippingTier?: string;
62
+ creativeName?: string;
63
+ creativeSlot?: string;
64
+ locationId?: string;
65
+ promotionId?: string;
66
+ promotionName?: string;
67
+ items?: GenericContent[];
68
+ }
69
+ export interface GenericContent {
70
+ [key: string]: any;
71
+ content_type?: string;
72
+ id?: string;
73
+ name?: string;
74
+ sku?: string;
75
+ brand?: string;
76
+ variant?: string;
77
+ coupon?: string;
78
+ currency?: string;
79
+ discount?: number;
80
+ index?: number;
81
+ value?: number;
82
+ price?: number;
83
+ quantity?: number;
84
+ url?: string;
85
+ locationId?: string;
86
+ imageUrl?: string;
87
+ category?: string;
88
+ category2?: string;
89
+ category3?: string;
90
+ category4?: string;
91
+ category5?: string;
92
+ }
93
+ export interface AddressInfo {
94
+ email?: string;
95
+ phone?: string;
96
+ firstName?: string;
97
+ lastName?: string;
98
+ company?: string;
99
+ address1?: string;
100
+ address2?: string;
101
+ city?: string;
102
+ province?: string;
103
+ provinceCode: string;
104
+ country?: string;
105
+ countryCode: string;
106
+ zip?: string;
107
+ }
108
+ export interface CampaignInfo {
109
+ name?: string;
110
+ source?: string;
111
+ medium?: string;
112
+ term?: string;
113
+ content?: string;
114
+ }
115
+ export interface PageInfo {
116
+ path?: string;
117
+ referrer?: string;
118
+ search?: string;
119
+ title?: string;
120
+ url?: string;
121
+ qsp?: any;
122
+ }
123
+ export declare type DeviceInfo = IResult;
124
+ export declare const Currencies: string[];
@@ -0,0 +1,5 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tracking-event-type.js","sourceRoot":"","sources":["../../src/types/tracking-event-type.ts"],"names":[],"mappings":";;;AAwIa,QAAA,UAAU,GAAa,CAAC,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,CAAC,CAAC"}
package/env.yml ADDED
@@ -0,0 +1,9 @@
1
+ dev:
2
+ STAGE: dev
3
+ LOG_LEVEL: debug
4
+ qa:
5
+ STAGE: qa
6
+ LOG_LEVEL: debug
7
+ prod:
8
+ STAGE: prod
9
+ LOG_LEVEL: error
package/jest.config.js ADDED
@@ -0,0 +1,39 @@
1
+ /*eslint-disable */
2
+
3
+ module.exports = {
4
+ globals: {
5
+ 'window': {},
6
+ 'document': {},
7
+ 'navigator': {},
8
+ 'ts-jest': {
9
+ babelConfig: true,
10
+ }
11
+ },
12
+ roots: ['<rootDir>/src'],
13
+ testRegex: '\\.spec\\.(js|ts)$',
14
+ transform: {
15
+ '^.+\\.(js|jsx|ts|tsx|mjs)$': 'babel-jest',
16
+ },
17
+ moduleFileExtensions: ['js', 'json', 'ts'],
18
+ runner: 'groups',
19
+ verbose: true,
20
+ coverageThreshold: {
21
+ global: {
22
+ branches: 0,
23
+ functions: 0,
24
+ lines: 0,
25
+ statements: 0
26
+ }
27
+ },
28
+ coverageReporters: ['html', 'text', 'text-summary', 'cobertura'],
29
+ reporters: ['default', 'jest-junit'],
30
+ collectCoverageFrom: [
31
+ 'src/**/*.ts',
32
+ '!src/**/*.spec.js',
33
+ 'src/**/*.js',
34
+ '!src/**/*.spec.ts',
35
+ '!src/**/tests/**'
36
+ ],
37
+ setupFilesAfterEnv: [],
38
+ };
39
+ /*eslint-enable */
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "@adtrackify/at-tracking-event-types",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "dist/index.ts",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "clean": "rimraf dist",
9
+ "build": "node ./node_modules/typescript/bin/tsc",
10
+ "build:dev": "npm run clean && npm run verify && cross-env NODE_ENV=production stage=dev APP_ENV=dev npm run build",
11
+ "build:qa": "npm run clean && npm run verify && cross-env NODE_ENV=production stage=qa APP_ENV=qa webpack",
12
+ "build:prod": "npm run clean && npm run verify && cross-env NODE_ENV=production stage=prod APP_ENV=prod webpack",
13
+ "elint": "eslint --ignore-path .gitignore .",
14
+ "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
15
+ "lint": "tslint -p tsconfig.json",
16
+ "lint:fix": "eslint --ignore-path .gitignore . --fix",
17
+ "coverage": "npm run test:all -- --coverage --group=unit",
18
+ "test": "jest --group=unit --coverage",
19
+ "test:all": "cross-env AWS_REGION=us-east-2 NODE_ENV=test jest --group=unit --coverage",
20
+ "test:unit": "cross-env AWS_REGION=us-east-2 NODE_ENV=test jest --group=unit --coverage",
21
+ "verify": "npm run clean && npm run type-check && npm run lint:fix",
22
+ "version": "npm run format && git add -A src",
23
+ "postversion": "git push && git push --tags",
24
+ "type-check": "tsc --noEmit"
25
+ },
26
+ "dependencies": {
27
+ "@types/ua-parser-js": "^0.7.36",
28
+ "ua-parser-js": "^1.0.2",
29
+ "typescript": "^4.7.4"
30
+ },
31
+ "devDependencies": {
32
+ "@babel/cli": "^7.13.16",
33
+ "@babel/core": "^7.13.10",
34
+ "@babel/plugin-proposal-optional-chaining": "^7.13.8",
35
+ "@babel/plugin-transform-runtime": "^7.10.3",
36
+ "@babel/preset-env": "^7.16.8",
37
+ "@babel/preset-typescript": "^7.16.7",
38
+ "@babel/runtime-corejs3": "^7.13.17",
39
+ "@types/jest": "^27.4.1",
40
+ "@types/node": "^17.0.8",
41
+ "@typescript-eslint/eslint-plugin": "^5.21.0",
42
+ "@typescript-eslint/parser": "^5.21.0",
43
+ "babel-eslint": "^10.1.0",
44
+ "babel-jest": "^26.6.3",
45
+ "babel-loader": "^8.2.2",
46
+ "babel-polyfill": "^6.26.0",
47
+ "core-js": "^3.21.1",
48
+ "cross-env": "^7.0.3",
49
+ "eslint": "^8.14.0",
50
+ "eslint-config-standard": "^17.0.0",
51
+ "eslint-loader": "^4.0.2",
52
+ "eslint-plugin-babel": "^5.3.1",
53
+ "eslint-plugin-import": "^2.26.0",
54
+ "eslint-plugin-n": "^15.2.0",
55
+ "eslint-plugin-promise": "^6.0.0",
56
+ "eslint-webpack-plugin": "^3.1.1",
57
+ "glob": "^8.0.3",
58
+ "husky": "^6.0.0",
59
+ "jest": "^27.5.1",
60
+ "jest-cucumber": "3.0.1",
61
+ "jest-junit": "13.0.0",
62
+ "jest-runner-groups": "2.1.0",
63
+ "npm-run-all": "^4.1.5",
64
+ "npm-scripts-info": "^0.3.9",
65
+ "prettier": "^2.2.1",
66
+ "regenerator-runtime": "^0.13.9",
67
+ "rimraf": "^3.0.2"
68
+ },
69
+ "repository": {
70
+ "type": "git",
71
+ "url": "git+ssh://git@bitbucket.org/eacap/at-tracking-event-types.git"
72
+ },
73
+ "author": "",
74
+ "license": "ISC",
75
+ "homepage": "https://bitbucket.org/eacap/at-tracking-event-types#readme"
76
+ }
@@ -0,0 +1,9 @@
1
+ /*eslint-disable */
2
+
3
+ module.exports = {
4
+ trailingComma: 'es5',
5
+ tabWidth: 2,
6
+ semi: false,
7
+ singleQuote: true,
8
+ };
9
+ /*eslint-enable */
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,14 @@
1
+ export enum ADTRACKIFY_DESTINATIONS {
2
+ FACEBOOK = 'facebook',
3
+ GOOGLE_ANALYTICS_4 = 'googleAnalytics4'
4
+ }
5
+
6
+ export interface FacebookPixelConfiguration {
7
+ apiAccessToken?: string;
8
+ enableConversionAPI: boolean;
9
+ pixelId: string;
10
+ }
11
+
12
+ export interface GoogleAnalytics4Configuration {
13
+ measurementId: string;
14
+ }
@@ -0,0 +1,26 @@
1
+ export enum ADTRACKIFY_STANDARD_EVENT {
2
+ ADD_PAYMENT_INFO = 'add_payment_info',
3
+ ADD_SHIPPING_INFO = 'add_shipping_info',
4
+ ADD_TO_CART = 'add_to_cart',
5
+ ADD_TO_WISHLIST = 'add_to_wishlist',
6
+ // COMPLETE_REGISTRATION: 'complete_registration',
7
+ // CONTACT: 'contact',
8
+ INITIATE_CHECKOUT = 'initiate_checkout',
9
+ LEAD = 'lead',
10
+ LOGIN = 'login',
11
+ PAGE_VIEW = 'page_view',
12
+ PURCHASE = 'purchase',
13
+ REFUND = 'refund',
14
+ SEARCH = 'search',
15
+ // START_TRIAL: 'start_trial',
16
+ // SUBMIT_APPLICATION: 'submit_application',
17
+ // SUBSCRIBE: 'subscribe',
18
+ SIGN_UP = 'sign_up',
19
+ VIEW_CART = 'view_cart',
20
+ VIEW_CONTENT = 'view_content',
21
+
22
+
23
+ //
24
+ SELECT_SHIPPING_METHOD = 'select_shipping_method',
25
+ VIRTUALIZED_VIEWED_PAYMENT_FORM = 'virtualized_viewd_payment_form'
26
+ }
@@ -0,0 +1,4 @@
1
+ export * from './adtrackify-api-types';
2
+ export * from './adtrackify-standard-events';
3
+ export * from './third-party-event-configuration-types';
4
+ export * from './tracking-event-type';
@@ -0,0 +1,9 @@
1
+ export interface DestinationConfiguration {
2
+ eventConfigurations: DestinationEventSpecificConfiguration[]
3
+ }
4
+
5
+ export interface DestinationEventSpecificConfiguration {
6
+ enabled: boolean;
7
+ sourceEventName: string;
8
+ destinationEventName: string;
9
+ }
@@ -0,0 +1,138 @@
1
+ import { IResult } from 'ua-parser-js';
2
+
3
+
4
+ export interface TrackingEvent {
5
+ id: string;
6
+ type: string;
7
+ name: string;
8
+ pixelId: string;
9
+ context: TrackingEventContext;
10
+ data: TrackingEventData;
11
+ testCode?: string;
12
+ sentAtEpoch?: number;
13
+ collectedAt?: string;
14
+ version: string;
15
+ }
16
+
17
+ export interface TrackingEventContext {
18
+ identity: TrackingEventIdentity;
19
+ click?: AdClickInfo;
20
+ campaign?: CampaignInfo;
21
+ page?: PageInfo;
22
+ device?: DeviceInfo;
23
+ locale?: string;
24
+ timezone?: string;
25
+ userAgent?: string;
26
+ ipAddress?: string;
27
+ ipv6Address?: string;
28
+ }
29
+
30
+ export interface TrackingEventIdentity {
31
+ gender?: string;
32
+ dob?: string;
33
+ phone?: string;
34
+ id?: string;
35
+ firstName?: string;
36
+ lastName?: string;
37
+ email?: string;
38
+ address?: AddressInfo;
39
+ addresses?: AddressInfo[];
40
+ }
41
+
42
+ export interface AdClickInfo {
43
+ fbp?: string;
44
+ fbc?: string;
45
+ fbclid?: string;
46
+ gclid?: string;
47
+ }
48
+
49
+ export interface TrackingEventData {
50
+ [key: string]: any;
51
+ firstName?: string;
52
+ lastName?: string;
53
+ email?: string;
54
+ phone?: string;
55
+ addresses?: AddressInfo[];
56
+ cartId?: string;
57
+ transactionId?: string;
58
+ affiliation?: string;
59
+ currency?: string;
60
+ price?: number;
61
+ subtotalPrice?: number;
62
+ value?: number;
63
+ tax?: number;
64
+ shipping?: number;
65
+ coupon?: string;
66
+ paymentType?: string;
67
+ shippingTier?: string;
68
+ creativeName?: string;
69
+ creativeSlot?: string;
70
+ locationId?: string;
71
+ promotionId?: string;
72
+ promotionName?: string;
73
+ items?: GenericContent[];
74
+ }
75
+
76
+ export interface GenericContent {
77
+ [key: string]: any;
78
+ content_type?: string;
79
+ id?: string;
80
+ name?: string;
81
+ sku?: string;
82
+ brand?: string;
83
+ variant?: string;
84
+ coupon?: string;
85
+ currency?: string;
86
+ discount?: number;
87
+ index?: number;
88
+ value?: number;
89
+ price?: number;
90
+ quantity?: number;
91
+ url?: string;
92
+ locationId?: string;
93
+ imageUrl?: string;
94
+ category?: string;
95
+ category2?: string;
96
+ category3?: string;
97
+ category4?: string;
98
+ category5?: string;
99
+ }
100
+
101
+ export interface AddressInfo {
102
+ email?: string;
103
+ phone?: string;
104
+ firstName?: string;
105
+ lastName?: string;
106
+ company?: string;
107
+ address1?: string;
108
+ address2?: string;
109
+ city?: string;
110
+ province?: string;
111
+ provinceCode: string;
112
+ country?: string;
113
+ countryCode: string;
114
+ zip?: string;
115
+ }
116
+
117
+ export interface CampaignInfo {
118
+ name?: string;
119
+ source?: string;
120
+ medium?: string;
121
+ term?: string;
122
+ content?: string;
123
+ }
124
+
125
+ export interface PageInfo {
126
+ path?: string;
127
+ referrer?: string;
128
+ search?: string;
129
+ title?: string;
130
+ url?: string;
131
+ qsp?: any;
132
+ }
133
+
134
+ export type DeviceInfo = IResult
135
+
136
+
137
+ export const Currencies: string[] = ['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'];
138
+
package/tsconfig.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "compilerOptions": {
3
+ "incremental": true, /* Enable incremental compilation */
4
+ "target": "ES2015" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
5
+ "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
6
+ "allowJs": true, /* Allow javascript files to be compiled. */
7
+ "checkJs": true /* Report errors in .js files. */,
8
+ "outDir": "dist", /* Redirect output to the directory. */
9
+ "rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
10
+ "strict": true, /* Enable all strict type-checking options. */
11
+ "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
12
+ "skipLibCheck": true, /* Skip type checking of declaration files. */
13
+ "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
14
+ "useUnknownInCatchVariables": true,
15
+ "sourceMap": true,
16
+ "declaration": true,
17
+ "moduleResolution": "node",
18
+ "types": [
19
+ "node"
20
+ ]
21
+ },
22
+ "include": [
23
+ "./src"
24
+ ]
25
+ }
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["./node_modules/typescript/lib/lib.es6.d.ts","./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.dom.iterable.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.esnext.intl.d.ts","./src/types/adtrackify-api-types.ts","./src/types/adtrackify-standard-events.ts","./src/types/third-party-event-configuration-types.ts","./node_modules/@types/ua-parser-js/index.d.ts","./src/types/tracking-event-type.ts","./src/types/index.ts","./src/index.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/globals.global.d.ts","./node_modules/@types/node/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},{"version":"f2dc5c0ad24ce7ddd7244292d97dea5a1b6b7a81051a001d9f73bd588e56023c","signature":"c4a921b2c1f17600fc181e61fb6183e08d88706cfa4b928acff210459d225835"},{"version":"75d14c895b52617e0bc2cf7d15611ddd16ae3f9be7fa09fa953727c469968441","signature":"642d5706e286e6c98f6f0f9ea27e7e16314a3db644e2ef3185ee182cd2394cbc"},{"version":"83536808db2e1d88ffe738c2ab1c574aae140a911185a31bf4578fe31720e686","signature":"a0b1bdc5e6de8c59aeea5d68369b7c5d1ab1a5909dcedf113377c1fe304e37e2"},"c5e775cc64dcc3b16c41f28b9aee23bb2854792114ea49a8b2bdc35dc9549ca0",{"version":"8b69a09ff5d9310e4e76b7fd9a49c1a94337e302f4ec4a7ce102337779d37175","signature":"da5b77b8f0a4ac065b3a90e0124913e77205da4bc2ee0d7f140a2c10261298c6"},{"version":"b6eae9e23c13a5aa95ffe2544755582beebe44e9aecac4e27c0dddfff01a4f81","signature":"55d67cd7a841fb1aa37d0985f5a3f36f3f67a72d41eb8b110b6bcb7570653ae9"},{"version":"e4a734eae06ded03af5762e15e51d3cab49afb52b8faa4d2e674b7a9cd5b2fa1","signature":"17d28fc66e26fe5fe1910163d88bd09ca0848c4e07be5bff7a2a9ffb41188554"},"0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"e5979905796fe2740d85fbaf4f11f42b7ee1851421afe750823220813421b1af",{"version":"fcdcb42da18dd98dc286b1876dd425791772036012ae61263c011a76b13a190f","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","5b30f550565fd0a7524282c81c27fe8534099e2cd26170ca80852308f07ae68d","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","d97cd8a4a42f557fc62271369ed0461c8e50d47b7f9c8ad0b5462f53306f6060","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","063f53ff674228c190efa19dd9448bcbd540acdbb48a928f4cf3a1b9f9478e43","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"287b21dc1d1b9701c92e15e7dd673dfe6044b15812956377adffb6f08825b1bc","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"af9771b066ec35ffa1c7db391b018d2469d55e51b98ae95e62b6cbef1b0169ca","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8"],"options":{"declaration":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":2,"useUnknownInCatchVariables":true},"fileIdsList":[[53,96],[56,96],[57,62,96],[58,68,69,76,85,95,96],[58,59,68,76,96],[60,96],[61,62,69,77,96],[62,85,92,96],[63,65,68,76,96],[64,96],[65,66,96],[67,68,96],[68,96],[68,69,70,85,95,96],[68,69,70,85,96],[96,100],[96],[71,76,85,95,96],[68,69,71,72,76,85,92,95,96],[71,73,85,92,95,96],[53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102],[68,74,96],[75,95,96],[65,68,76,85,96],[77,96],[78,96],[56,79,96],[80,94,96,100],[81,96],[82,96],[68,83,96],[83,84,96,98],[68,85,86,87,96],[85,87,96],[85,86,96],[88,96],[89,96],[68,90,91,96],[90,91,96],[62,76,85,92,96],[93,96],[76,94,96],[57,71,82,95,96],[62,96],[85,96,97],[96,98],[96,99],[57,62,68,70,79,85,95,96,98,100],[85,96,101],[51,96],[46,47,48,50,96],[49,96],[51],[46,47,48,50],[49]],"referencedMap":[[53,1],[54,1],[56,2],[57,3],[58,4],[59,5],[60,6],[61,7],[62,8],[63,9],[64,10],[65,11],[66,11],[67,12],[68,13],[69,14],[70,15],[55,16],[102,17],[71,18],[72,19],[73,20],[103,21],[74,22],[75,23],[76,24],[77,25],[78,26],[79,27],[80,28],[81,29],[82,30],[83,31],[84,32],[85,33],[87,34],[86,35],[88,36],[89,37],[90,38],[91,39],[92,40],[93,41],[94,42],[95,43],[96,44],[97,45],[98,46],[99,47],[100,48],[101,49],[49,17],[9,17],[10,17],[14,17],[13,17],[3,17],[15,17],[16,17],[17,17],[18,17],[19,17],[20,17],[21,17],[22,17],[4,17],[5,17],[26,17],[23,17],[24,17],[25,17],[27,17],[28,17],[29,17],[6,17],[30,17],[31,17],[32,17],[33,17],[7,17],[34,17],[35,17],[36,17],[37,17],[8,17],[38,17],[43,17],[44,17],[39,17],[40,17],[41,17],[42,17],[2,17],[1,17],[45,17],[12,17],[11,17],[52,50],[46,17],[47,17],[51,51],[48,17],[50,52]],"exportedModulesMap":[[53,1],[54,1],[56,2],[57,3],[58,4],[59,5],[60,6],[61,7],[62,8],[63,9],[64,10],[65,11],[66,11],[67,12],[68,13],[69,14],[70,15],[55,16],[102,17],[71,18],[72,19],[73,20],[103,21],[74,22],[75,23],[76,24],[77,25],[78,26],[79,27],[80,28],[81,29],[82,30],[83,31],[84,32],[85,33],[87,34],[86,35],[88,36],[89,37],[90,38],[91,39],[92,40],[93,41],[94,42],[95,43],[96,44],[97,45],[98,46],[99,47],[100,48],[101,49],[49,17],[9,17],[10,17],[14,17],[13,17],[3,17],[15,17],[16,17],[17,17],[18,17],[19,17],[20,17],[21,17],[22,17],[4,17],[5,17],[26,17],[23,17],[24,17],[25,17],[27,17],[28,17],[29,17],[6,17],[30,17],[31,17],[32,17],[33,17],[7,17],[34,17],[35,17],[36,17],[37,17],[8,17],[38,17],[43,17],[44,17],[39,17],[40,17],[41,17],[42,17],[2,17],[1,17],[45,17],[12,17],[11,17],[52,53],[51,54],[50,55]],"semanticDiagnosticsPerFile":[53,54,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,55,102,71,72,73,103,74,75,76,77,78,79,80,81,82,83,84,85,87,86,88,89,90,91,92,93,94,95,96,97,98,99,100,101,49,9,10,14,13,3,15,16,17,18,19,20,21,22,4,5,26,23,24,25,27,28,29,6,30,31,32,33,7,34,35,36,37,8,38,43,44,39,40,41,42,2,1,45,12,11,52,46,47,51,48,50]},"version":"4.7.4"}