@adtrackify/at-tracking-event-types 3.1.39 → 3.1.41
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/dist/cjs/types/api/dashboards/index.d.ts +1 -0
- package/dist/cjs/types/api/dashboards/index.js +18 -0
- package/dist/cjs/types/api/dashboards/index.js.map +1 -0
- package/dist/cjs/types/api/dashboards/widget.d.ts +84 -0
- package/dist/cjs/types/api/dashboards/widget.js +22 -0
- package/dist/cjs/types/api/dashboards/widget.js.map +1 -0
- package/dist/cjs/types/api/destinations/index.d.ts +5 -0
- package/dist/cjs/types/api/destinations/index.js +22 -0
- package/dist/cjs/types/api/destinations/index.js.map +1 -0
- package/dist/cjs/types/api/index.d.ts +1 -0
- package/dist/cjs/types/api/index.js +1 -0
- package/dist/cjs/types/api/index.js.map +1 -1
- package/dist/esm/types/api/dashboards/index.d.ts +1 -0
- package/dist/esm/types/api/dashboards/index.js +2 -0
- package/dist/esm/types/api/dashboards/index.js.map +1 -0
- package/dist/esm/types/api/dashboards/widget.d.ts +84 -0
- package/dist/esm/types/api/dashboards/widget.js +19 -0
- package/dist/esm/types/api/dashboards/widget.js.map +1 -0
- package/dist/esm/types/api/destinations/index.d.ts +5 -0
- package/dist/esm/types/api/destinations/index.js +6 -0
- package/dist/esm/types/api/destinations/index.js.map +1 -0
- package/dist/esm/types/api/index.d.ts +1 -0
- package/dist/esm/types/api/index.js +1 -0
- package/dist/esm/types/api/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './widget';
|
|
@@ -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("./widget"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/dashboards/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { MEASURE } from '../measures';
|
|
2
|
+
import { ATTRIBUTION_MODEL, DateRange, DIMENSION, GRANULARITY } from '../query';
|
|
3
|
+
export declare enum ChartType {
|
|
4
|
+
BAR = "bar",
|
|
5
|
+
LINE = "line",
|
|
6
|
+
SPARKLINE = "sparkline",
|
|
7
|
+
PIE = "pie",
|
|
8
|
+
SCATTER = "scatter",
|
|
9
|
+
AREA = "area",
|
|
10
|
+
DIMENSION_TABLE = "dimensionTable",
|
|
11
|
+
TABLE = "table",
|
|
12
|
+
ATTRIBUTION_TABLE = "attributionTable",
|
|
13
|
+
KPI = "kpi",
|
|
14
|
+
GAUGE = "gauge",
|
|
15
|
+
HEATMAP = "heatmap",
|
|
16
|
+
HISTOGRAM = "histogram",
|
|
17
|
+
BOXPLOT = "boxplot",
|
|
18
|
+
TREEMAP = "treemap"
|
|
19
|
+
}
|
|
20
|
+
export interface WidgetDataConfig {
|
|
21
|
+
dimensions: DIMENSION[];
|
|
22
|
+
measures: MEASURE[];
|
|
23
|
+
filters?: {
|
|
24
|
+
field: string;
|
|
25
|
+
operator: '=' | '>' | '<' | '>=' | '<=' | '!=';
|
|
26
|
+
value: string | number;
|
|
27
|
+
}[];
|
|
28
|
+
}
|
|
29
|
+
export interface WidgetLayout {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
}
|
|
35
|
+
export interface DashboardWidget {
|
|
36
|
+
id: string;
|
|
37
|
+
title: string;
|
|
38
|
+
chartType: ChartType;
|
|
39
|
+
layout: WidgetLayout;
|
|
40
|
+
dataConfig: WidgetDataConfig;
|
|
41
|
+
displayOptions?: {
|
|
42
|
+
colors?: string[];
|
|
43
|
+
showLegend?: boolean;
|
|
44
|
+
showGrid?: boolean;
|
|
45
|
+
theme?: 'light' | 'dark';
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export interface DashboardViewConfiguration {
|
|
49
|
+
attributionWindow: number;
|
|
50
|
+
attributionModel: ATTRIBUTION_MODEL;
|
|
51
|
+
granularity: GRANULARITY;
|
|
52
|
+
dateRange: DateRange;
|
|
53
|
+
grid: {
|
|
54
|
+
columns: number;
|
|
55
|
+
rowHeight: number;
|
|
56
|
+
maxWidth: number;
|
|
57
|
+
};
|
|
58
|
+
widgets: DashboardWidget[];
|
|
59
|
+
}
|
|
60
|
+
export interface DashboardView {
|
|
61
|
+
pk: string;
|
|
62
|
+
sk: string;
|
|
63
|
+
pixelId: string;
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
configuration: DashboardViewConfiguration;
|
|
67
|
+
order?: number;
|
|
68
|
+
createdAt: string;
|
|
69
|
+
updatedAt: string;
|
|
70
|
+
createdBy: string;
|
|
71
|
+
updatedBy: string;
|
|
72
|
+
}
|
|
73
|
+
export interface DashboardPage {
|
|
74
|
+
pk: string;
|
|
75
|
+
sk: string;
|
|
76
|
+
pixelId: string;
|
|
77
|
+
id: string;
|
|
78
|
+
name: string;
|
|
79
|
+
viewId?: string;
|
|
80
|
+
createdAt: string;
|
|
81
|
+
updatedAt: string;
|
|
82
|
+
createdBy: string;
|
|
83
|
+
updatedBy: string;
|
|
84
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChartType = void 0;
|
|
4
|
+
var ChartType;
|
|
5
|
+
(function (ChartType) {
|
|
6
|
+
ChartType["BAR"] = "bar";
|
|
7
|
+
ChartType["LINE"] = "line";
|
|
8
|
+
ChartType["SPARKLINE"] = "sparkline";
|
|
9
|
+
ChartType["PIE"] = "pie";
|
|
10
|
+
ChartType["SCATTER"] = "scatter";
|
|
11
|
+
ChartType["AREA"] = "area";
|
|
12
|
+
ChartType["DIMENSION_TABLE"] = "dimensionTable";
|
|
13
|
+
ChartType["TABLE"] = "table";
|
|
14
|
+
ChartType["ATTRIBUTION_TABLE"] = "attributionTable";
|
|
15
|
+
ChartType["KPI"] = "kpi";
|
|
16
|
+
ChartType["GAUGE"] = "gauge";
|
|
17
|
+
ChartType["HEATMAP"] = "heatmap";
|
|
18
|
+
ChartType["HISTOGRAM"] = "histogram";
|
|
19
|
+
ChartType["BOXPLOT"] = "boxplot";
|
|
20
|
+
ChartType["TREEMAP"] = "treemap";
|
|
21
|
+
})(ChartType = exports.ChartType || (exports.ChartType = {}));
|
|
22
|
+
//# sourceMappingURL=widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../../../src/types/api/dashboards/widget.ts"],"names":[],"mappings":";;;AASA,IAAY,SAgBX;AAhBD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,oCAAuB,CAAA;IACvB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,0BAAa,CAAA;IACb,+CAAkC,CAAA;IAClC,4BAAe,CAAA;IACf,mDAAsC,CAAA;IACtC,wBAAW,CAAA;IACX,4BAAe,CAAA;IACf,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,gCAAmB,CAAA;IACnB,gCAAmB,CAAA;AACrB,CAAC,EAhBW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAgBpB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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("./destinations"), exports);
|
|
18
|
+
__exportStar(require("./destination-catalog"), exports);
|
|
19
|
+
__exportStar(require("./third-party-destination-configs"), exports);
|
|
20
|
+
__exportStar(require("./third-party-integration-configs"), exports);
|
|
21
|
+
__exportStar(require("./third-party-contact-acquisition-configs"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,wDAAsC;AACtC,oEAAkD;AAClD,oEAAkD;AAClD,4EAA0D"}
|
|
@@ -32,4 +32,5 @@ __exportStar(require("./pixel-setup-health"), exports);
|
|
|
32
32
|
__exportStar(require("./event-last-seen"), exports);
|
|
33
33
|
__exportStar(require("./contact-acquisition"), exports);
|
|
34
34
|
__exportStar(require("./measures"), exports);
|
|
35
|
+
__exportStar(require("./dashboards"), exports);
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,8DAA4C;AAC5C,qEAAmD;AACnD,yFAAuE;AACvE,iFAA+D;AAC/D,iFAA+D;AAC/D,wDAAsC;AACtC,iDAA+B;AAC/B,yCAAuB;AACvB,0CAAwB;AACxB,iDAA+B;AAC/B,+CAA6B;AAC7B,oDAAkC;AAClC,+DAA6C;AAC7C,uDAAqC;AACrC,oDAAkC;AAClC,wDAAsC;AACtC,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,8DAA4C;AAC5C,qEAAmD;AACnD,yFAAuE;AACvE,iFAA+D;AAC/D,iFAA+D;AAC/D,wDAAsC;AACtC,iDAA+B;AAC/B,yCAAuB;AACvB,0CAAwB;AACxB,iDAA+B;AAC/B,+CAA6B;AAC7B,oDAAkC;AAClC,+DAA6C;AAC7C,uDAAqC;AACrC,oDAAkC;AAClC,wDAAsC;AACtC,6CAA2B;AAC3B,+CAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './widget';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/dashboards/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { MEASURE } from '../measures';
|
|
2
|
+
import { ATTRIBUTION_MODEL, DateRange, DIMENSION, GRANULARITY } from '../query';
|
|
3
|
+
export declare enum ChartType {
|
|
4
|
+
BAR = "bar",
|
|
5
|
+
LINE = "line",
|
|
6
|
+
SPARKLINE = "sparkline",
|
|
7
|
+
PIE = "pie",
|
|
8
|
+
SCATTER = "scatter",
|
|
9
|
+
AREA = "area",
|
|
10
|
+
DIMENSION_TABLE = "dimensionTable",
|
|
11
|
+
TABLE = "table",
|
|
12
|
+
ATTRIBUTION_TABLE = "attributionTable",
|
|
13
|
+
KPI = "kpi",
|
|
14
|
+
GAUGE = "gauge",
|
|
15
|
+
HEATMAP = "heatmap",
|
|
16
|
+
HISTOGRAM = "histogram",
|
|
17
|
+
BOXPLOT = "boxplot",
|
|
18
|
+
TREEMAP = "treemap"
|
|
19
|
+
}
|
|
20
|
+
export interface WidgetDataConfig {
|
|
21
|
+
dimensions: DIMENSION[];
|
|
22
|
+
measures: MEASURE[];
|
|
23
|
+
filters?: {
|
|
24
|
+
field: string;
|
|
25
|
+
operator: '=' | '>' | '<' | '>=' | '<=' | '!=';
|
|
26
|
+
value: string | number;
|
|
27
|
+
}[];
|
|
28
|
+
}
|
|
29
|
+
export interface WidgetLayout {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
}
|
|
35
|
+
export interface DashboardWidget {
|
|
36
|
+
id: string;
|
|
37
|
+
title: string;
|
|
38
|
+
chartType: ChartType;
|
|
39
|
+
layout: WidgetLayout;
|
|
40
|
+
dataConfig: WidgetDataConfig;
|
|
41
|
+
displayOptions?: {
|
|
42
|
+
colors?: string[];
|
|
43
|
+
showLegend?: boolean;
|
|
44
|
+
showGrid?: boolean;
|
|
45
|
+
theme?: 'light' | 'dark';
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export interface DashboardViewConfiguration {
|
|
49
|
+
attributionWindow: number;
|
|
50
|
+
attributionModel: ATTRIBUTION_MODEL;
|
|
51
|
+
granularity: GRANULARITY;
|
|
52
|
+
dateRange: DateRange;
|
|
53
|
+
grid: {
|
|
54
|
+
columns: number;
|
|
55
|
+
rowHeight: number;
|
|
56
|
+
maxWidth: number;
|
|
57
|
+
};
|
|
58
|
+
widgets: DashboardWidget[];
|
|
59
|
+
}
|
|
60
|
+
export interface DashboardView {
|
|
61
|
+
pk: string;
|
|
62
|
+
sk: string;
|
|
63
|
+
pixelId: string;
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
configuration: DashboardViewConfiguration;
|
|
67
|
+
order?: number;
|
|
68
|
+
createdAt: string;
|
|
69
|
+
updatedAt: string;
|
|
70
|
+
createdBy: string;
|
|
71
|
+
updatedBy: string;
|
|
72
|
+
}
|
|
73
|
+
export interface DashboardPage {
|
|
74
|
+
pk: string;
|
|
75
|
+
sk: string;
|
|
76
|
+
pixelId: string;
|
|
77
|
+
id: string;
|
|
78
|
+
name: string;
|
|
79
|
+
viewId?: string;
|
|
80
|
+
createdAt: string;
|
|
81
|
+
updatedAt: string;
|
|
82
|
+
createdBy: string;
|
|
83
|
+
updatedBy: string;
|
|
84
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export var ChartType;
|
|
2
|
+
(function (ChartType) {
|
|
3
|
+
ChartType["BAR"] = "bar";
|
|
4
|
+
ChartType["LINE"] = "line";
|
|
5
|
+
ChartType["SPARKLINE"] = "sparkline";
|
|
6
|
+
ChartType["PIE"] = "pie";
|
|
7
|
+
ChartType["SCATTER"] = "scatter";
|
|
8
|
+
ChartType["AREA"] = "area";
|
|
9
|
+
ChartType["DIMENSION_TABLE"] = "dimensionTable";
|
|
10
|
+
ChartType["TABLE"] = "table";
|
|
11
|
+
ChartType["ATTRIBUTION_TABLE"] = "attributionTable";
|
|
12
|
+
ChartType["KPI"] = "kpi";
|
|
13
|
+
ChartType["GAUGE"] = "gauge";
|
|
14
|
+
ChartType["HEATMAP"] = "heatmap";
|
|
15
|
+
ChartType["HISTOGRAM"] = "histogram";
|
|
16
|
+
ChartType["BOXPLOT"] = "boxplot";
|
|
17
|
+
ChartType["TREEMAP"] = "treemap";
|
|
18
|
+
})(ChartType || (ChartType = {}));
|
|
19
|
+
//# sourceMappingURL=widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../../../src/types/api/dashboards/widget.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,SAgBX;AAhBD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,oCAAuB,CAAA;IACvB,wBAAW,CAAA;IACX,gCAAmB,CAAA;IACnB,0BAAa,CAAA;IACb,+CAAkC,CAAA;IAClC,4BAAe,CAAA;IACf,mDAAsC,CAAA;IACtC,wBAAW,CAAA;IACX,4BAAe,CAAA;IACf,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,gCAAmB,CAAA;IACnB,gCAAmB,CAAA;AACrB,CAAC,EAhBW,SAAS,KAAT,SAAS,QAgBpB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './destinations';
|
|
2
|
+
export * from './destination-catalog';
|
|
3
|
+
export * from './third-party-destination-configs';
|
|
4
|
+
export * from './third-party-integration-configs';
|
|
5
|
+
export * from './third-party-contact-acquisition-configs';
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wDAAwD,CAAC;AACvE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wDAAwD,CAAC;AACvE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
|