@adtrackify/at-tracking-event-types 3.5.16 → 3.5.18
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/widget.d.ts +11 -0
- package/dist/cjs/types/api/destinations/destinations.d.ts +16 -12
- package/dist/cjs/types/api/destinations/destinations.js +2 -0
- package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
- package/dist/cjs/types/api/destinations/emq-health.d.ts +16 -0
- package/dist/cjs/types/api/destinations/emq-health.js +3 -0
- package/dist/cjs/types/api/destinations/emq-health.js.map +1 -0
- package/dist/cjs/types/api/destinations/index.d.ts +1 -0
- package/dist/cjs/types/api/destinations/index.js +1 -0
- package/dist/cjs/types/api/destinations/index.js.map +1 -1
- package/dist/cjs/types/api/emq/emq-types.d.ts +160 -0
- package/dist/cjs/types/api/emq/emq-types.js +50 -0
- package/dist/cjs/types/api/emq/emq-types.js.map +1 -0
- package/dist/cjs/types/api/emq/index.d.ts +1 -0
- package/dist/cjs/types/api/emq/index.js +18 -0
- package/dist/cjs/types/api/emq/index.js.map +1 -0
- package/dist/cjs/types/api/events/health-events.d.ts +150 -0
- package/dist/cjs/types/api/events/health-events.js +47 -0
- package/dist/cjs/types/api/events/health-events.js.map +1 -0
- package/dist/cjs/types/api/events/index.d.ts +1 -0
- package/dist/cjs/types/api/events/index.js +18 -0
- package/dist/cjs/types/api/events/index.js.map +1 -0
- package/dist/cjs/types/api/index.d.ts +2 -1
- package/dist/cjs/types/api/index.js +2 -1
- package/dist/cjs/types/api/index.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.d.ts +2 -0
- package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.js +205 -0
- package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.js.map +1 -0
- package/dist/cjs/types/api/measures/definitions/index.d.ts +1 -0
- package/dist/cjs/types/api/measures/definitions/index.js +1 -0
- package/dist/cjs/types/api/measures/definitions/index.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/measure-categories.d.ts +2 -1
- package/dist/cjs/types/api/measures/definitions/measure-categories.js +1 -0
- package/dist/cjs/types/api/measures/definitions/measure-categories.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/measure-definitions.js +3 -1
- package/dist/cjs/types/api/measures/definitions/measure-definitions.js.map +1 -1
- package/dist/cjs/types/api/measures/measures.d.ts +15 -1
- package/dist/cjs/types/api/measures/measures.js +14 -0
- package/dist/cjs/types/api/measures/measures.js.map +1 -1
- package/dist/cjs/types/api/query.d.ts +7 -1
- package/dist/cjs/types/api/query.js +6 -0
- package/dist/cjs/types/api/query.js.map +1 -1
- package/dist/cjs/types/api/user-account.d.ts +9 -2
- package/dist/cjs/types/event/base/event-name-enum.d.ts +42 -16
- package/dist/cjs/types/event/base/event-name-enum.js +41 -15
- package/dist/cjs/types/event/base/event-name-enum.js.map +1 -1
- package/dist/cjs/types/event/index.d.ts +1 -0
- package/dist/cjs/types/event/index.js +1 -0
- package/dist/cjs/types/event/index.js.map +1 -1
- package/dist/cjs/types/event/saas-event-properties.d.ts +47 -0
- package/dist/cjs/types/event/saas-event-properties.js +11 -0
- package/dist/cjs/types/event/saas-event-properties.js.map +1 -0
- package/dist/cjs/types/event/tracking-event.d.ts +5 -2
- package/dist/esm/types/api/dashboards/widget.d.ts +11 -0
- package/dist/esm/types/api/destinations/destinations.d.ts +16 -12
- package/dist/esm/types/api/destinations/destinations.js +2 -0
- package/dist/esm/types/api/destinations/destinations.js.map +1 -1
- package/dist/esm/types/api/destinations/emq-health.d.ts +16 -0
- package/dist/esm/types/api/destinations/emq-health.js +2 -0
- package/dist/esm/types/api/destinations/emq-health.js.map +1 -0
- package/dist/esm/types/api/destinations/index.d.ts +1 -0
- package/dist/esm/types/api/destinations/index.js +1 -0
- package/dist/esm/types/api/destinations/index.js.map +1 -1
- package/dist/esm/types/api/emq/emq-types.d.ts +160 -0
- package/dist/esm/types/api/emq/emq-types.js +47 -0
- package/dist/esm/types/api/emq/emq-types.js.map +1 -0
- package/dist/esm/types/api/emq/index.d.ts +1 -0
- package/dist/esm/types/api/emq/index.js +2 -0
- package/dist/esm/types/api/emq/index.js.map +1 -0
- package/dist/esm/types/api/events/health-events.d.ts +150 -0
- package/dist/esm/types/api/events/health-events.js +44 -0
- package/dist/esm/types/api/events/health-events.js.map +1 -0
- package/dist/esm/types/api/events/index.d.ts +1 -0
- package/dist/esm/types/api/events/index.js +2 -0
- package/dist/esm/types/api/events/index.js.map +1 -0
- package/dist/esm/types/api/index.d.ts +2 -1
- package/dist/esm/types/api/index.js +2 -1
- package/dist/esm/types/api/index.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/emq-measure-definitions.d.ts +2 -0
- package/dist/esm/types/api/measures/definitions/emq-measure-definitions.js +202 -0
- package/dist/esm/types/api/measures/definitions/emq-measure-definitions.js.map +1 -0
- package/dist/esm/types/api/measures/definitions/index.d.ts +1 -0
- package/dist/esm/types/api/measures/definitions/index.js +1 -0
- package/dist/esm/types/api/measures/definitions/index.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/measure-categories.d.ts +2 -1
- package/dist/esm/types/api/measures/definitions/measure-categories.js +1 -0
- package/dist/esm/types/api/measures/definitions/measure-categories.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/measure-definitions.js +3 -1
- package/dist/esm/types/api/measures/definitions/measure-definitions.js.map +1 -1
- package/dist/esm/types/api/measures/measures.d.ts +15 -1
- package/dist/esm/types/api/measures/measures.js +14 -0
- package/dist/esm/types/api/measures/measures.js.map +1 -1
- package/dist/esm/types/api/query.d.ts +7 -1
- package/dist/esm/types/api/query.js +6 -0
- package/dist/esm/types/api/query.js.map +1 -1
- package/dist/esm/types/api/user-account.d.ts +9 -2
- package/dist/esm/types/event/base/event-name-enum.d.ts +42 -16
- package/dist/esm/types/event/base/event-name-enum.js +41 -15
- package/dist/esm/types/event/base/event-name-enum.js.map +1 -1
- package/dist/esm/types/event/index.d.ts +1 -0
- package/dist/esm/types/event/index.js +1 -0
- package/dist/esm/types/event/index.js.map +1 -1
- package/dist/esm/types/event/saas-event-properties.d.ts +47 -0
- package/dist/esm/types/event/saas-event-properties.js +8 -0
- package/dist/esm/types/event/saas-event-properties.js.map +1 -0
- package/dist/esm/types/event/tracking-event.d.ts +5 -2
- package/package.json +1 -1
- package/dist/cjs/types/api/notification-settings.d.ts +0 -23
- package/dist/cjs/types/api/notification-settings.js +0 -107
- package/dist/cjs/types/api/notification-settings.js.map +0 -1
- package/dist/esm/types/api/notification-settings.d.ts +0 -23
- package/dist/esm/types/api/notification-settings.js +0 -103
- package/dist/esm/types/api/notification-settings.js.map +0 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { USER_ROLES } from '../api/user-account.js';
|
|
2
|
+
export declare enum BILLING_INTERVAL {
|
|
3
|
+
DAY = "day",
|
|
4
|
+
WEEK = "week",
|
|
5
|
+
MONTH = "month",
|
|
6
|
+
YEAR = "year"
|
|
7
|
+
}
|
|
8
|
+
export interface SaaSEventProperties {
|
|
9
|
+
accountId?: string;
|
|
10
|
+
accountName?: string;
|
|
11
|
+
accountCreatedAt?: string;
|
|
12
|
+
userId?: string;
|
|
13
|
+
userEmail?: string;
|
|
14
|
+
userRole?: USER_ROLES;
|
|
15
|
+
subscriptionId?: string;
|
|
16
|
+
planId?: string;
|
|
17
|
+
planName?: string;
|
|
18
|
+
billingInterval?: BILLING_INTERVAL;
|
|
19
|
+
mrr?: number;
|
|
20
|
+
arr?: number;
|
|
21
|
+
mrrDelta?: number;
|
|
22
|
+
ltv?: number;
|
|
23
|
+
trialStartDate?: string;
|
|
24
|
+
trialEndDate?: string;
|
|
25
|
+
trialDaysRemaining?: number;
|
|
26
|
+
usageInfo?: {
|
|
27
|
+
currentUsage?: number;
|
|
28
|
+
limit?: number;
|
|
29
|
+
usagePercentage?: number;
|
|
30
|
+
};
|
|
31
|
+
invoiceId?: string;
|
|
32
|
+
amount?: number;
|
|
33
|
+
currency?: string;
|
|
34
|
+
failureReason?: string;
|
|
35
|
+
seatCount?: number;
|
|
36
|
+
seatDelta?: number;
|
|
37
|
+
addonId?: string;
|
|
38
|
+
addonName?: string;
|
|
39
|
+
featureId?: string;
|
|
40
|
+
featureName?: string;
|
|
41
|
+
milestoneId?: string;
|
|
42
|
+
milestoneName?: string;
|
|
43
|
+
inactiveDays?: number;
|
|
44
|
+
cancelReason?: string;
|
|
45
|
+
cancelFeedback?: string;
|
|
46
|
+
cancelledAt?: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BILLING_INTERVAL = void 0;
|
|
4
|
+
var BILLING_INTERVAL;
|
|
5
|
+
(function (BILLING_INTERVAL) {
|
|
6
|
+
BILLING_INTERVAL["DAY"] = "day";
|
|
7
|
+
BILLING_INTERVAL["WEEK"] = "week";
|
|
8
|
+
BILLING_INTERVAL["MONTH"] = "month";
|
|
9
|
+
BILLING_INTERVAL["YEAR"] = "year";
|
|
10
|
+
})(BILLING_INTERVAL = exports.BILLING_INTERVAL || (exports.BILLING_INTERVAL = {}));
|
|
11
|
+
//# sourceMappingURL=saas-event-properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saas-event-properties.js","sourceRoot":"","sources":["../../../../src/types/event/saas-event-properties.ts"],"names":[],"mappings":";;;AAEA,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,iCAAa,CAAA;IACb,mCAAe,CAAA;IACf,iCAAa,CAAA;AACf,CAAC,EALW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAK3B"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { InternalEvent } from './base/event.js';
|
|
2
2
|
import { AddressInfo } from '../common/address.js';
|
|
3
|
+
import { SaaSEventProperties } from './saas-event-properties.js';
|
|
3
4
|
export interface TrackingEvent extends InternalEvent {
|
|
4
5
|
data?: TrackingEventData;
|
|
5
6
|
testCode?: string;
|
|
6
7
|
}
|
|
7
|
-
export interface
|
|
8
|
-
[key: string]: any;
|
|
8
|
+
export interface EcommerceEventProperties {
|
|
9
9
|
isSyntheticWebhookEvent?: boolean;
|
|
10
10
|
firstName?: string;
|
|
11
11
|
lastName?: string;
|
|
@@ -38,6 +38,9 @@ export interface TrackingEventData {
|
|
|
38
38
|
totalUnitCost?: number;
|
|
39
39
|
totalUnitMargin?: number;
|
|
40
40
|
}
|
|
41
|
+
export interface TrackingEventData extends EcommerceEventProperties, SaaSEventProperties {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}
|
|
41
44
|
export interface GenericContent {
|
|
42
45
|
[key: string]: any;
|
|
43
46
|
content_type?: string;
|
|
@@ -113,3 +113,14 @@ export declare enum DASHBOARD_VIEW_TYPE {
|
|
|
113
113
|
VIEW = "view",
|
|
114
114
|
ATTRIBUTION_VIEW = "attribution_view"
|
|
115
115
|
}
|
|
116
|
+
export interface DashboardViewListItem {
|
|
117
|
+
id: string;
|
|
118
|
+
name: string;
|
|
119
|
+
order: number | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface DashboardBootstrapResponse {
|
|
122
|
+
pages: DashboardPage[];
|
|
123
|
+
views: DashboardViewListItem[];
|
|
124
|
+
currentView: DashboardView | null;
|
|
125
|
+
selectedViewId: string | null;
|
|
126
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TRACKING_EVENT_NAME } from '../../event/base/event-name-enum.js';
|
|
2
|
+
import { EmqHealthStatus } from './emq-health.js';
|
|
2
3
|
export interface Destination {
|
|
3
4
|
id: string;
|
|
4
5
|
accountId: string;
|
|
@@ -12,24 +13,27 @@ export interface Destination {
|
|
|
12
13
|
updatedAt: string;
|
|
13
14
|
orderConfig?: DestinationOrderConfig;
|
|
14
15
|
healthStatus?: DestinationHealthStatus;
|
|
15
|
-
|
|
16
|
-
export interface DestinationHealthStatus {
|
|
17
|
-
status: DESTINATION_HEALTH_STATUS;
|
|
18
|
-
lastCheckedAt: string;
|
|
19
|
-
requestErrorCode?: number;
|
|
20
|
-
errorDetails?: {
|
|
21
|
-
errorCode?: number;
|
|
22
|
-
errorSubCode?: number;
|
|
23
|
-
errorType?: string;
|
|
24
|
-
errorMessage?: string;
|
|
25
|
-
errorCount?: number;
|
|
26
|
-
};
|
|
16
|
+
emqHealthStatus?: EmqHealthStatus;
|
|
27
17
|
}
|
|
28
18
|
export declare enum DESTINATION_HEALTH_STATUS {
|
|
29
19
|
HEALTHY = "healthy",
|
|
20
|
+
WARNING = "warning",
|
|
30
21
|
UNHEALTHY = "unhealthy",
|
|
22
|
+
CRITICAL = "critical",
|
|
31
23
|
UNKNOWN = "unknown"
|
|
32
24
|
}
|
|
25
|
+
export interface DestinationHealthStatus {
|
|
26
|
+
status: DESTINATION_HEALTH_STATUS;
|
|
27
|
+
lastCheckedAt: string;
|
|
28
|
+
lastErrorAt?: string | null;
|
|
29
|
+
lastErrorCode?: string | number | null;
|
|
30
|
+
lastErrorMessage?: string | null;
|
|
31
|
+
errorCount?: number;
|
|
32
|
+
consecutiveErrors?: number;
|
|
33
|
+
tokenExpiresAt?: string | null;
|
|
34
|
+
tokenDaysRemaining?: number | null;
|
|
35
|
+
lastAlertSentAt?: string | null;
|
|
36
|
+
}
|
|
33
37
|
export interface DestinationOrderConfig {
|
|
34
38
|
blockedSources?: string[];
|
|
35
39
|
blockedTags?: string[];
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export var DESTINATION_HEALTH_STATUS;
|
|
2
2
|
(function (DESTINATION_HEALTH_STATUS) {
|
|
3
3
|
DESTINATION_HEALTH_STATUS["HEALTHY"] = "healthy";
|
|
4
|
+
DESTINATION_HEALTH_STATUS["WARNING"] = "warning";
|
|
4
5
|
DESTINATION_HEALTH_STATUS["UNHEALTHY"] = "unhealthy";
|
|
6
|
+
DESTINATION_HEALTH_STATUS["CRITICAL"] = "critical";
|
|
5
7
|
DESTINATION_HEALTH_STATUS["UNKNOWN"] = "unknown";
|
|
6
8
|
})(DESTINATION_HEALTH_STATUS || (DESTINATION_HEALTH_STATUS = {}));
|
|
7
9
|
export var DESTINATION_TYPE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/destinations.ts"],"names":[],"mappings":"AAwBA,MAAM,CAAN,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACnC,gDAAmB,CAAA;IACnB,gDAAmB,CAAA;IACnB,oDAAuB,CAAA;IACvB,kDAAqB,CAAA;IACrB,gDAAmB,CAAA;AACrB,CAAC,EANW,yBAAyB,KAAzB,yBAAyB,QAMpC;AAgCD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;IAC3B,8DAA0C,CAAA;AAC5C,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAED,MAAM,CAAN,IAAY,WAoCX;AApCD,WAAY,WAAW;IAErB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,4CAA6B,CAAA;IAC7B,sDAAuC,CAAA;IACvC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,qCAAsB,CAAA;IACtB,uCAAwB,CAAA;IACxB,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,yCAA0B,CAAA;IAC1B,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,yDAA0C,CAAA;IAC1C,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,sCAAuB,CAAA;IACvB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IAGf,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;IAC/C,gFAAiE,CAAA;IACjE,yDAA0C,CAAA;IAG1C,wEAAyD,CAAA;AAC3D,CAAC,EApCW,WAAW,KAAX,WAAW,QAoCtB;AA+BD,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,oCAAS,CAAA;IACT,oCAAS,CAAA;IACT,oCAAS,CAAA;AACX,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EMQ_TREND } from '../emq/emq-types.js';
|
|
2
|
+
import { DESTINATION_HEALTH_STATUS } from './destinations.js';
|
|
3
|
+
export interface EmqHealthStatus {
|
|
4
|
+
overallScore: number | null;
|
|
5
|
+
status: DESTINATION_HEALTH_STATUS;
|
|
6
|
+
lastCheckedAt: string;
|
|
7
|
+
eventScores: Record<string, number>;
|
|
8
|
+
eventCoverage: number | null;
|
|
9
|
+
dedupeCoverage: number | null;
|
|
10
|
+
criticalDiagnosticsCount: number;
|
|
11
|
+
previousScore: number | null;
|
|
12
|
+
scoreChange: number | null;
|
|
13
|
+
scoreTrend: EMQ_TREND | null;
|
|
14
|
+
lastAlertSentAt: string | null;
|
|
15
|
+
alertCooldownMinutes: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emq-health.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/emq-health.ts"],"names":[],"mappings":""}
|
|
@@ -3,4 +3,5 @@ export * from './destination-catalog.js';
|
|
|
3
3
|
export * from './third-party-destination-configs.js';
|
|
4
4
|
export * from './third-party-integration-configs.js';
|
|
5
5
|
export * from './third-party-contact-acquisition-configs.js';
|
|
6
|
+
export * from './emq-health.js';
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8CAA8C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import type { EmqDataSummary } from '../events/health-events.js';
|
|
2
|
+
export type { EmqDataSummary };
|
|
3
|
+
export declare enum MATCH_KEY_IDENTIFIER {
|
|
4
|
+
EMAIL = "email",
|
|
5
|
+
PHONE = "phone",
|
|
6
|
+
IP_ADDRESS = "ip_address",
|
|
7
|
+
USER_AGENT = "user_agent",
|
|
8
|
+
EXTERNAL_ID = "external_id",
|
|
9
|
+
FBP = "fbp",
|
|
10
|
+
FBC = "fbc",
|
|
11
|
+
FIRST_NAME = "first_name",
|
|
12
|
+
LAST_NAME = "last_name",
|
|
13
|
+
CITY = "ct",
|
|
14
|
+
STATE = "st",
|
|
15
|
+
ZIP = "zip",
|
|
16
|
+
COUNTRY = "country"
|
|
17
|
+
}
|
|
18
|
+
export declare enum DEDUPE_KEY {
|
|
19
|
+
EVENT_ID = "event_id",
|
|
20
|
+
EXTERNAL_ID = "external_id",
|
|
21
|
+
FBP = "fbp"
|
|
22
|
+
}
|
|
23
|
+
export declare enum EMQ_TREND {
|
|
24
|
+
IMPROVING = "improving",
|
|
25
|
+
STABLE = "stable",
|
|
26
|
+
DECLINING = "declining"
|
|
27
|
+
}
|
|
28
|
+
export interface EmqMatchKeyIssue {
|
|
29
|
+
issueCategory: string;
|
|
30
|
+
expectedEmqIncrease: number;
|
|
31
|
+
}
|
|
32
|
+
export interface EmqMatchKeyData {
|
|
33
|
+
pk: string;
|
|
34
|
+
emqPk: string;
|
|
35
|
+
pixelId: string;
|
|
36
|
+
eventName: string;
|
|
37
|
+
collectedDate: string;
|
|
38
|
+
identifier: string;
|
|
39
|
+
coveragePercentage: number | null;
|
|
40
|
+
potentialAcrPercentage: number | null;
|
|
41
|
+
potentialAcrDescription: string | null;
|
|
42
|
+
issueCategory: string | null;
|
|
43
|
+
expectedEmqIncrease: number | null;
|
|
44
|
+
batchId?: string;
|
|
45
|
+
batchProcessedAt?: string;
|
|
46
|
+
createdAt?: string;
|
|
47
|
+
}
|
|
48
|
+
export declare enum EMQ_DIAGNOSTIC_SEVERITY {
|
|
49
|
+
LOW = "low",
|
|
50
|
+
MEDIUM = "medium",
|
|
51
|
+
HIGH = "high",
|
|
52
|
+
CRITICAL = "critical"
|
|
53
|
+
}
|
|
54
|
+
export interface EmqDiagnostic {
|
|
55
|
+
pk: string;
|
|
56
|
+
emqPk: string;
|
|
57
|
+
pixelId: string;
|
|
58
|
+
eventName: string;
|
|
59
|
+
collectedDate: string;
|
|
60
|
+
diagnosticName: string;
|
|
61
|
+
diagnosticDescription: string | null;
|
|
62
|
+
diagnosticSolution: string | null;
|
|
63
|
+
affectedPercentage: number | null;
|
|
64
|
+
affectedEventCount: number | null;
|
|
65
|
+
totalEventCount: number | null;
|
|
66
|
+
severity: EMQ_DIAGNOSTIC_SEVERITY;
|
|
67
|
+
batchId?: string;
|
|
68
|
+
batchProcessedAt?: string;
|
|
69
|
+
createdAt?: string;
|
|
70
|
+
}
|
|
71
|
+
export interface EmqDedupeKeyData {
|
|
72
|
+
pk: string;
|
|
73
|
+
emqPk: string;
|
|
74
|
+
pixelId: string;
|
|
75
|
+
eventName: string;
|
|
76
|
+
collectedDate: string;
|
|
77
|
+
dedupeKey: string;
|
|
78
|
+
browserEventsPercentage: number | null;
|
|
79
|
+
serverEventsPercentage: number | null;
|
|
80
|
+
overallBrowserCoveragePercentage: number | null;
|
|
81
|
+
batchId?: string;
|
|
82
|
+
batchProcessedAt?: string;
|
|
83
|
+
createdAt?: string;
|
|
84
|
+
}
|
|
85
|
+
export declare enum DATA_FRESHNESS_UPLOAD_FREQUENCY {
|
|
86
|
+
REAL_TIME = "real_time",
|
|
87
|
+
HOURLY = "hourly",
|
|
88
|
+
DAILY = "daily",
|
|
89
|
+
WEEKLY = "weekly"
|
|
90
|
+
}
|
|
91
|
+
export interface EmqQualityData {
|
|
92
|
+
pk: string;
|
|
93
|
+
pixelId: string;
|
|
94
|
+
datasetId: string;
|
|
95
|
+
eventName: string;
|
|
96
|
+
collectedDate: string;
|
|
97
|
+
collectedAt: string;
|
|
98
|
+
emqScore: number | null;
|
|
99
|
+
eventCoveragePercentage: number | null;
|
|
100
|
+
eventCoverageGoalPercentage: number | null;
|
|
101
|
+
eventCoveragePotentialAcrPercentage: number | null;
|
|
102
|
+
eventCoveragePotentialAcrDescription: string | null;
|
|
103
|
+
dataFreshnessUploadFrequency: DATA_FRESHNESS_UPLOAD_FREQUENCY | null;
|
|
104
|
+
acrPercentage: number | null;
|
|
105
|
+
acrDescription: string | null;
|
|
106
|
+
eventPotentialAcrPercentage: number | null;
|
|
107
|
+
eventPotentialAcrDescription: string | null;
|
|
108
|
+
diagnosticsCount: number;
|
|
109
|
+
matchKeyIssuesCount: number;
|
|
110
|
+
batchId?: string;
|
|
111
|
+
batchProcessedAt?: string;
|
|
112
|
+
createdAt?: string;
|
|
113
|
+
updatedAt?: string;
|
|
114
|
+
}
|
|
115
|
+
export interface EmqQualityDataWithDetails extends EmqQualityData {
|
|
116
|
+
matchKeys: EmqMatchKeyData[];
|
|
117
|
+
diagnostics: EmqDiagnostic[];
|
|
118
|
+
dedupeKeys: EmqDedupeKeyData[];
|
|
119
|
+
}
|
|
120
|
+
export declare const EMQ_SCORE_THRESHOLDS: {
|
|
121
|
+
readonly HEALTHY: 7;
|
|
122
|
+
readonly WARNING: 4;
|
|
123
|
+
};
|
|
124
|
+
export interface EmqEventSummary {
|
|
125
|
+
eventName: string;
|
|
126
|
+
latestEmqScore: number | null;
|
|
127
|
+
emqScoreTrend: EMQ_TREND | null;
|
|
128
|
+
eventCoverage: number | null;
|
|
129
|
+
diagnosticsCount: number;
|
|
130
|
+
criticalDiagnosticsCount: number;
|
|
131
|
+
lastUpdated: string | null;
|
|
132
|
+
}
|
|
133
|
+
export interface EmqTimeSeriesPoint {
|
|
134
|
+
date: string;
|
|
135
|
+
emqScore: number | null;
|
|
136
|
+
eventCoverage: number | null;
|
|
137
|
+
}
|
|
138
|
+
export interface EmqDiagnosticSummary {
|
|
139
|
+
diagnosticName: string;
|
|
140
|
+
eventName: string;
|
|
141
|
+
severity: EMQ_DIAGNOSTIC_SEVERITY;
|
|
142
|
+
affectedPercentage: number | null;
|
|
143
|
+
solution: string | null;
|
|
144
|
+
}
|
|
145
|
+
export interface EmqQueryInput {
|
|
146
|
+
pixelId: string;
|
|
147
|
+
dateRange: {
|
|
148
|
+
start: string;
|
|
149
|
+
end: string;
|
|
150
|
+
};
|
|
151
|
+
eventNames?: string[];
|
|
152
|
+
granularity?: 'DAY' | 'WEEK' | 'MONTH';
|
|
153
|
+
timezone?: string;
|
|
154
|
+
}
|
|
155
|
+
export interface EmqQueryResponse {
|
|
156
|
+
summary: EmqDataSummary;
|
|
157
|
+
events: EmqEventSummary[];
|
|
158
|
+
timeSeries: EmqTimeSeriesPoint[];
|
|
159
|
+
diagnostics: EmqDiagnosticSummary[];
|
|
160
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export var MATCH_KEY_IDENTIFIER;
|
|
2
|
+
(function (MATCH_KEY_IDENTIFIER) {
|
|
3
|
+
MATCH_KEY_IDENTIFIER["EMAIL"] = "email";
|
|
4
|
+
MATCH_KEY_IDENTIFIER["PHONE"] = "phone";
|
|
5
|
+
MATCH_KEY_IDENTIFIER["IP_ADDRESS"] = "ip_address";
|
|
6
|
+
MATCH_KEY_IDENTIFIER["USER_AGENT"] = "user_agent";
|
|
7
|
+
MATCH_KEY_IDENTIFIER["EXTERNAL_ID"] = "external_id";
|
|
8
|
+
MATCH_KEY_IDENTIFIER["FBP"] = "fbp";
|
|
9
|
+
MATCH_KEY_IDENTIFIER["FBC"] = "fbc";
|
|
10
|
+
MATCH_KEY_IDENTIFIER["FIRST_NAME"] = "first_name";
|
|
11
|
+
MATCH_KEY_IDENTIFIER["LAST_NAME"] = "last_name";
|
|
12
|
+
MATCH_KEY_IDENTIFIER["CITY"] = "ct";
|
|
13
|
+
MATCH_KEY_IDENTIFIER["STATE"] = "st";
|
|
14
|
+
MATCH_KEY_IDENTIFIER["ZIP"] = "zip";
|
|
15
|
+
MATCH_KEY_IDENTIFIER["COUNTRY"] = "country";
|
|
16
|
+
})(MATCH_KEY_IDENTIFIER || (MATCH_KEY_IDENTIFIER = {}));
|
|
17
|
+
export var DEDUPE_KEY;
|
|
18
|
+
(function (DEDUPE_KEY) {
|
|
19
|
+
DEDUPE_KEY["EVENT_ID"] = "event_id";
|
|
20
|
+
DEDUPE_KEY["EXTERNAL_ID"] = "external_id";
|
|
21
|
+
DEDUPE_KEY["FBP"] = "fbp";
|
|
22
|
+
})(DEDUPE_KEY || (DEDUPE_KEY = {}));
|
|
23
|
+
export var EMQ_TREND;
|
|
24
|
+
(function (EMQ_TREND) {
|
|
25
|
+
EMQ_TREND["IMPROVING"] = "improving";
|
|
26
|
+
EMQ_TREND["STABLE"] = "stable";
|
|
27
|
+
EMQ_TREND["DECLINING"] = "declining";
|
|
28
|
+
})(EMQ_TREND || (EMQ_TREND = {}));
|
|
29
|
+
export var EMQ_DIAGNOSTIC_SEVERITY;
|
|
30
|
+
(function (EMQ_DIAGNOSTIC_SEVERITY) {
|
|
31
|
+
EMQ_DIAGNOSTIC_SEVERITY["LOW"] = "low";
|
|
32
|
+
EMQ_DIAGNOSTIC_SEVERITY["MEDIUM"] = "medium";
|
|
33
|
+
EMQ_DIAGNOSTIC_SEVERITY["HIGH"] = "high";
|
|
34
|
+
EMQ_DIAGNOSTIC_SEVERITY["CRITICAL"] = "critical";
|
|
35
|
+
})(EMQ_DIAGNOSTIC_SEVERITY || (EMQ_DIAGNOSTIC_SEVERITY = {}));
|
|
36
|
+
export var DATA_FRESHNESS_UPLOAD_FREQUENCY;
|
|
37
|
+
(function (DATA_FRESHNESS_UPLOAD_FREQUENCY) {
|
|
38
|
+
DATA_FRESHNESS_UPLOAD_FREQUENCY["REAL_TIME"] = "real_time";
|
|
39
|
+
DATA_FRESHNESS_UPLOAD_FREQUENCY["HOURLY"] = "hourly";
|
|
40
|
+
DATA_FRESHNESS_UPLOAD_FREQUENCY["DAILY"] = "daily";
|
|
41
|
+
DATA_FRESHNESS_UPLOAD_FREQUENCY["WEEKLY"] = "weekly";
|
|
42
|
+
})(DATA_FRESHNESS_UPLOAD_FREQUENCY || (DATA_FRESHNESS_UPLOAD_FREQUENCY = {}));
|
|
43
|
+
export const EMQ_SCORE_THRESHOLDS = {
|
|
44
|
+
HEALTHY: 7,
|
|
45
|
+
WARNING: 4,
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=emq-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emq-types.js","sourceRoot":"","sources":["../../../../../src/types/api/emq/emq-types.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAN,IAAY,oBAcX;AAdD,WAAY,oBAAoB;IAC9B,uCAAe,CAAA;IACf,uCAAe,CAAA;IACf,iDAAyB,CAAA;IACzB,iDAAyB,CAAA;IACzB,mDAA2B,CAAA;IAC3B,mCAAW,CAAA;IACX,mCAAW,CAAA;IACX,iDAAyB,CAAA;IACzB,+CAAuB,CAAA;IACvB,mCAAW,CAAA;IACX,oCAAY,CAAA;IACZ,mCAAW,CAAA;IACX,2CAAmB,CAAA;AACrB,CAAC,EAdW,oBAAoB,KAApB,oBAAoB,QAc/B;AAMD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,yCAA2B,CAAA;IAC3B,yBAAW,CAAA;AACb,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAOD,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;IACjB,oCAAuB,CAAA;AACzB,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAoCD,MAAM,CAAN,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,sCAAW,CAAA;IACX,4CAAiB,CAAA;IACjB,wCAAa,CAAA;IACb,gDAAqB,CAAA;AACvB,CAAC,EALW,uBAAuB,KAAvB,uBAAuB,QAKlC;AAkDD,MAAM,CAAN,IAAY,+BAKX;AALD,WAAY,+BAA+B;IACzC,0DAAuB,CAAA;IACvB,oDAAiB,CAAA;IACjB,kDAAe,CAAA;IACf,oDAAiB,CAAA;AACnB,CAAC,EALW,+BAA+B,KAA/B,+BAA+B,QAK1C;AA6DD,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO,EAAE,CAAC;IACV,OAAO,EAAE,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './emq-types.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/emq/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { DESTINATION } from '../destinations/destinations.js';
|
|
2
|
+
export declare enum ALERT_SEVERITY {
|
|
3
|
+
INFO = "info",
|
|
4
|
+
WARNING = "warning",
|
|
5
|
+
CRITICAL = "critical"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ALERT_CATEGORY {
|
|
8
|
+
BILLING = "billing",
|
|
9
|
+
DESTINATION = "destination",
|
|
10
|
+
INTEGRATION = "integration"
|
|
11
|
+
}
|
|
12
|
+
export declare enum HEALTH_EVENT_DETAIL_TYPE {
|
|
13
|
+
EMQ_DATA_INGESTED = "emqDataIngested",
|
|
14
|
+
DESTINATION_FORWARDING_ERROR = "destinationForwardingError",
|
|
15
|
+
INTEGRATION_TOKEN_ERROR = "integrationTokenError",
|
|
16
|
+
DESTINATION_HEALTH_ALERT_TRIGGERED = "destinationHealthAlertTriggered",
|
|
17
|
+
BILLING_ALERT_TRIGGERED = "billingAlertTriggered",
|
|
18
|
+
DESTINATION_HEALTH_AUDIT_REQUESTED = "destinationHealthAuditRequested"
|
|
19
|
+
}
|
|
20
|
+
export declare enum INTEGRATION_ERROR_TYPE {
|
|
21
|
+
TOKEN_EXPIRED = "token_expired",
|
|
22
|
+
TOKEN_REFRESH_FAILED = "token_refresh_failed",
|
|
23
|
+
TOKEN_EXPIRING_SOON = "token_expiring_soon",
|
|
24
|
+
API_INVALID_TOKEN = "api_invalid_token",
|
|
25
|
+
API_INSUFFICIENT_PERMISSIONS = "api_insufficient_permissions"
|
|
26
|
+
}
|
|
27
|
+
export declare enum BILLING_ALERT_TYPE {
|
|
28
|
+
PAYMENT_FAILED = "payment_failed",
|
|
29
|
+
TRIAL_ENDING = "trial_ending",
|
|
30
|
+
USAGE_LIMIT_WARNING = "usage_limit_warning",
|
|
31
|
+
USAGE_LIMIT_EXCEEDED = "usage_limit_exceeded",
|
|
32
|
+
SUBSCRIPTION_CANCELLED = "subscription_cancelled",
|
|
33
|
+
SHOPIFY_USER_CREDENTIALS = "shopify_user_credentials"
|
|
34
|
+
}
|
|
35
|
+
export declare enum AUDIT_TYPE {
|
|
36
|
+
NIGHTLY = "nightly",
|
|
37
|
+
ON_DEMAND = "on_demand"
|
|
38
|
+
}
|
|
39
|
+
export interface EmqDataSummary {
|
|
40
|
+
overallScore: number | null;
|
|
41
|
+
eventScores: Record<string, number>;
|
|
42
|
+
eventCoverage: number | null;
|
|
43
|
+
dedupeCoverage: number | null;
|
|
44
|
+
diagnosticsCount: number;
|
|
45
|
+
criticalDiagnosticsCount: number;
|
|
46
|
+
}
|
|
47
|
+
export interface DestinationHealthAlertData {
|
|
48
|
+
alertType: string;
|
|
49
|
+
severity: ALERT_SEVERITY;
|
|
50
|
+
message: string;
|
|
51
|
+
data: Record<string, unknown>;
|
|
52
|
+
}
|
|
53
|
+
export interface EmqDataIngestedEvent {
|
|
54
|
+
detailType: HEALTH_EVENT_DETAIL_TYPE.EMQ_DATA_INGESTED;
|
|
55
|
+
detail: {
|
|
56
|
+
destinationId: string;
|
|
57
|
+
pixelId: string;
|
|
58
|
+
datasetId: string;
|
|
59
|
+
collectedAt: string;
|
|
60
|
+
emqData: EmqDataSummary;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export interface DestinationForwardingErrorEvent {
|
|
64
|
+
detailType: HEALTH_EVENT_DETAIL_TYPE.DESTINATION_FORWARDING_ERROR;
|
|
65
|
+
detail: {
|
|
66
|
+
destinationId: string;
|
|
67
|
+
accountId: string;
|
|
68
|
+
pixelId: string;
|
|
69
|
+
destination: DESTINATION;
|
|
70
|
+
errorCode?: number;
|
|
71
|
+
errorSubCode?: number;
|
|
72
|
+
errorType?: string;
|
|
73
|
+
errorMessage?: string;
|
|
74
|
+
consecutiveErrors: number;
|
|
75
|
+
occurredAt: string;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
export interface IntegrationTokenErrorEvent {
|
|
79
|
+
detailType: HEALTH_EVENT_DETAIL_TYPE.INTEGRATION_TOKEN_ERROR;
|
|
80
|
+
detail: {
|
|
81
|
+
destinationId: string;
|
|
82
|
+
accountId: string;
|
|
83
|
+
pixelId: string;
|
|
84
|
+
destination: DESTINATION;
|
|
85
|
+
errorType: INTEGRATION_ERROR_TYPE;
|
|
86
|
+
errorCode?: number;
|
|
87
|
+
errorSubCode?: number;
|
|
88
|
+
errorMessage?: string;
|
|
89
|
+
tokenExpiresAt?: string | null;
|
|
90
|
+
tokenDaysRemaining?: number | null;
|
|
91
|
+
occurredAt: string;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export interface DestinationHealthAlertTriggeredEvent {
|
|
95
|
+
detailType: HEALTH_EVENT_DETAIL_TYPE.DESTINATION_HEALTH_ALERT_TRIGGERED;
|
|
96
|
+
detail: {
|
|
97
|
+
destinationId: string;
|
|
98
|
+
accountId: string;
|
|
99
|
+
pixelId: string;
|
|
100
|
+
alertType: string;
|
|
101
|
+
severity: ALERT_SEVERITY;
|
|
102
|
+
message: string;
|
|
103
|
+
data: Record<string, unknown>;
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export interface BillingAlertTriggeredEvent {
|
|
107
|
+
detailType: HEALTH_EVENT_DETAIL_TYPE.BILLING_ALERT_TRIGGERED;
|
|
108
|
+
detail: {
|
|
109
|
+
accountId: string;
|
|
110
|
+
alertType: BILLING_ALERT_TYPE;
|
|
111
|
+
entityId: string;
|
|
112
|
+
severity: ALERT_SEVERITY;
|
|
113
|
+
message: string;
|
|
114
|
+
data: Record<string, unknown>;
|
|
115
|
+
directEmail?: string;
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
export interface DestinationHealthAuditRequestedEvent {
|
|
119
|
+
detailType: HEALTH_EVENT_DETAIL_TYPE.DESTINATION_HEALTH_AUDIT_REQUESTED;
|
|
120
|
+
detail: {
|
|
121
|
+
auditType: AUDIT_TYPE;
|
|
122
|
+
accountId?: string;
|
|
123
|
+
destinationId?: string;
|
|
124
|
+
requestedAt: string;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
export interface AlertHistoryItem {
|
|
128
|
+
alertId: string;
|
|
129
|
+
accountId: string;
|
|
130
|
+
alertType: string;
|
|
131
|
+
alertCategory: ALERT_CATEGORY;
|
|
132
|
+
scope: 'account' | 'user';
|
|
133
|
+
targetUserId?: string;
|
|
134
|
+
entityType: string;
|
|
135
|
+
entityId: string;
|
|
136
|
+
severity: ALERT_SEVERITY;
|
|
137
|
+
title: string;
|
|
138
|
+
message: string;
|
|
139
|
+
ctaPath: string;
|
|
140
|
+
data: Record<string, unknown>;
|
|
141
|
+
channels: Record<string, unknown>;
|
|
142
|
+
status: 'unread' | 'read';
|
|
143
|
+
sentAt: string;
|
|
144
|
+
readAt?: string;
|
|
145
|
+
readByUserId?: string;
|
|
146
|
+
}
|
|
147
|
+
export interface PaginatedAlertsResponse {
|
|
148
|
+
alerts: AlertHistoryItem[];
|
|
149
|
+
nextCursor?: string;
|
|
150
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export var ALERT_SEVERITY;
|
|
2
|
+
(function (ALERT_SEVERITY) {
|
|
3
|
+
ALERT_SEVERITY["INFO"] = "info";
|
|
4
|
+
ALERT_SEVERITY["WARNING"] = "warning";
|
|
5
|
+
ALERT_SEVERITY["CRITICAL"] = "critical";
|
|
6
|
+
})(ALERT_SEVERITY || (ALERT_SEVERITY = {}));
|
|
7
|
+
export var ALERT_CATEGORY;
|
|
8
|
+
(function (ALERT_CATEGORY) {
|
|
9
|
+
ALERT_CATEGORY["BILLING"] = "billing";
|
|
10
|
+
ALERT_CATEGORY["DESTINATION"] = "destination";
|
|
11
|
+
ALERT_CATEGORY["INTEGRATION"] = "integration";
|
|
12
|
+
})(ALERT_CATEGORY || (ALERT_CATEGORY = {}));
|
|
13
|
+
export var HEALTH_EVENT_DETAIL_TYPE;
|
|
14
|
+
(function (HEALTH_EVENT_DETAIL_TYPE) {
|
|
15
|
+
HEALTH_EVENT_DETAIL_TYPE["EMQ_DATA_INGESTED"] = "emqDataIngested";
|
|
16
|
+
HEALTH_EVENT_DETAIL_TYPE["DESTINATION_FORWARDING_ERROR"] = "destinationForwardingError";
|
|
17
|
+
HEALTH_EVENT_DETAIL_TYPE["INTEGRATION_TOKEN_ERROR"] = "integrationTokenError";
|
|
18
|
+
HEALTH_EVENT_DETAIL_TYPE["DESTINATION_HEALTH_ALERT_TRIGGERED"] = "destinationHealthAlertTriggered";
|
|
19
|
+
HEALTH_EVENT_DETAIL_TYPE["BILLING_ALERT_TRIGGERED"] = "billingAlertTriggered";
|
|
20
|
+
HEALTH_EVENT_DETAIL_TYPE["DESTINATION_HEALTH_AUDIT_REQUESTED"] = "destinationHealthAuditRequested";
|
|
21
|
+
})(HEALTH_EVENT_DETAIL_TYPE || (HEALTH_EVENT_DETAIL_TYPE = {}));
|
|
22
|
+
export var INTEGRATION_ERROR_TYPE;
|
|
23
|
+
(function (INTEGRATION_ERROR_TYPE) {
|
|
24
|
+
INTEGRATION_ERROR_TYPE["TOKEN_EXPIRED"] = "token_expired";
|
|
25
|
+
INTEGRATION_ERROR_TYPE["TOKEN_REFRESH_FAILED"] = "token_refresh_failed";
|
|
26
|
+
INTEGRATION_ERROR_TYPE["TOKEN_EXPIRING_SOON"] = "token_expiring_soon";
|
|
27
|
+
INTEGRATION_ERROR_TYPE["API_INVALID_TOKEN"] = "api_invalid_token";
|
|
28
|
+
INTEGRATION_ERROR_TYPE["API_INSUFFICIENT_PERMISSIONS"] = "api_insufficient_permissions";
|
|
29
|
+
})(INTEGRATION_ERROR_TYPE || (INTEGRATION_ERROR_TYPE = {}));
|
|
30
|
+
export var BILLING_ALERT_TYPE;
|
|
31
|
+
(function (BILLING_ALERT_TYPE) {
|
|
32
|
+
BILLING_ALERT_TYPE["PAYMENT_FAILED"] = "payment_failed";
|
|
33
|
+
BILLING_ALERT_TYPE["TRIAL_ENDING"] = "trial_ending";
|
|
34
|
+
BILLING_ALERT_TYPE["USAGE_LIMIT_WARNING"] = "usage_limit_warning";
|
|
35
|
+
BILLING_ALERT_TYPE["USAGE_LIMIT_EXCEEDED"] = "usage_limit_exceeded";
|
|
36
|
+
BILLING_ALERT_TYPE["SUBSCRIPTION_CANCELLED"] = "subscription_cancelled";
|
|
37
|
+
BILLING_ALERT_TYPE["SHOPIFY_USER_CREDENTIALS"] = "shopify_user_credentials";
|
|
38
|
+
})(BILLING_ALERT_TYPE || (BILLING_ALERT_TYPE = {}));
|
|
39
|
+
export var AUDIT_TYPE;
|
|
40
|
+
(function (AUDIT_TYPE) {
|
|
41
|
+
AUDIT_TYPE["NIGHTLY"] = "nightly";
|
|
42
|
+
AUDIT_TYPE["ON_DEMAND"] = "on_demand";
|
|
43
|
+
})(AUDIT_TYPE || (AUDIT_TYPE = {}));
|
|
44
|
+
//# sourceMappingURL=health-events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health-events.js","sourceRoot":"","sources":["../../../../../src/types/api/events/health-events.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;AACvB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAKD,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;AAC7B,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAKD,MAAM,CAAN,IAAY,wBAaX;AAbD,WAAY,wBAAwB;IAElC,iEAAqC,CAAA;IAErC,uFAA2D,CAAA;IAE3D,6EAAiD,CAAA;IAEjD,kGAAsE,CAAA;IAEtE,6EAAiD,CAAA;IAEjD,kGAAsE,CAAA;AACxE,CAAC,EAbW,wBAAwB,KAAxB,wBAAwB,QAanC;AAKD,MAAM,CAAN,IAAY,sBAWX;AAXD,WAAY,sBAAsB;IAEhC,yDAA+B,CAAA;IAE/B,uEAA6C,CAAA;IAE7C,qEAA2C,CAAA;IAE3C,iEAAuC,CAAA;IAEvC,uFAA6D,CAAA;AAC/D,CAAC,EAXW,sBAAsB,KAAtB,sBAAsB,QAWjC;AAKD,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,uDAAiC,CAAA;IACjC,mDAA6B,CAAA;IAC7B,iEAA2C,CAAA;IAC3C,mEAA6C,CAAA;IAC7C,uEAAiD,CAAA;IACjD,2EAAqD,CAAA;AACvD,CAAC,EAPW,kBAAkB,KAAlB,kBAAkB,QAO7B;AAKD,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;AACzB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './health-events.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/api/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -17,8 +17,9 @@ export * from './destination-tracked-events.js';
|
|
|
17
17
|
export * from './pixel-setup-health.js';
|
|
18
18
|
export * from './event-last-seen.js';
|
|
19
19
|
export * from './user-account.js';
|
|
20
|
-
export * from './notification-settings.js';
|
|
21
20
|
export * from './dashboards/index.js';
|
|
22
21
|
export * from './measures/index.js';
|
|
23
22
|
export * from './destinations/index.js';
|
|
24
23
|
export * from './contact-acquisition/index.js';
|
|
24
|
+
export * from './emq/index.js';
|
|
25
|
+
export * from './events/index.js';
|