@adtrackify/at-tracking-event-types 2.0.41 → 2.0.43
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/index.d.ts +1 -1
- package/dist/cjs/index.js +17 -17
- package/dist/cjs/types/api/account.d.ts +27 -27
- package/dist/cjs/types/api/account.js +9 -9
- package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
- package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
- package/dist/cjs/types/api/destinations/destinations.d.ts +63 -63
- package/dist/cjs/types/api/destinations/destinations.js +24 -24
- package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +53 -53
- package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
- package/dist/cjs/types/api/event-status.d.ts +18 -18
- package/dist/cjs/types/api/event-status.js +9 -9
- package/dist/cjs/types/api/index.d.ts +9 -9
- package/dist/cjs/types/api/index.js +25 -25
- package/dist/cjs/types/api/query.d.ts +143 -143
- package/dist/cjs/types/api/query.js +99 -99
- package/dist/cjs/types/api/shopify-app-install.d.ts +46 -46
- package/dist/cjs/types/api/shopify-app-install.js +21 -21
- package/dist/cjs/types/api/subscription.d.ts +67 -61
- package/dist/cjs/types/api/subscription.js +31 -31
- package/dist/cjs/types/api/subscription.js.map +1 -1
- package/dist/cjs/types/api/user.d.ts +13 -13
- package/dist/cjs/types/api/user.js +2 -2
- package/dist/cjs/types/common/address.d.ts +15 -15
- package/dist/cjs/types/common/address.js +2 -2
- package/dist/cjs/types/common/currency.d.ts +1 -1
- package/dist/cjs/types/common/currency.js +63 -63
- package/dist/cjs/types/common/index.d.ts +2 -2
- package/dist/cjs/types/common/index.js +18 -18
- package/dist/cjs/types/event/base/event-name-enum.d.ts +36 -36
- package/dist/cjs/types/event/base/event-name-enum.js +42 -42
- package/dist/cjs/types/event/base/event.d.ts +20 -20
- package/dist/cjs/types/event/base/event.js +10 -10
- package/dist/cjs/types/event/base/index.d.ts +2 -2
- package/dist/cjs/types/event/base/index.js +18 -18
- package/dist/cjs/types/event/context/event-context-identity.d.ts +18 -18
- package/dist/cjs/types/event/context/event-context-identity.js +2 -2
- package/dist/cjs/types/event/context/event-context.d.ts +143 -143
- package/dist/cjs/types/event/context/event-context.js +2 -2
- package/dist/cjs/types/event/context/index.d.ts +2 -2
- package/dist/cjs/types/event/context/index.js +18 -18
- package/dist/cjs/types/event/index.d.ts +5 -5
- package/dist/cjs/types/event/index.js +21 -21
- package/dist/cjs/types/event/log-event.d.ts +42 -36
- package/dist/cjs/types/event/log-event.js +18 -18
- package/dist/cjs/types/event/log-event.js.map +1 -1
- package/dist/cjs/types/event/metric-event.d.ts +13 -13
- package/dist/cjs/types/event/metric-event.js +2 -2
- package/dist/cjs/types/event/tracking-event.d.ts +62 -62
- package/dist/cjs/types/event/tracking-event.js +2 -2
- package/dist/cjs/types/event-bus-event.d.ts +25 -25
- package/dist/cjs/types/event-bus-event.js +2 -2
- package/dist/cjs/types/index.d.ts +5 -5
- package/dist/cjs/types/index.js +21 -21
- package/dist/cjs/types/third-party-event-configuration-types.d.ts +9 -9
- package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/api/account.d.ts +27 -27
- package/dist/esm/types/api/account.js +6 -6
- package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
- package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
- package/dist/esm/types/api/destinations/destinations.d.ts +63 -63
- package/dist/esm/types/api/destinations/destinations.js +21 -21
- package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +53 -53
- package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
- package/dist/esm/types/api/event-status.d.ts +18 -18
- package/dist/esm/types/api/event-status.js +6 -6
- package/dist/esm/types/api/index.d.ts +9 -9
- package/dist/esm/types/api/index.js +9 -9
- package/dist/esm/types/api/query.d.ts +143 -143
- package/dist/esm/types/api/query.js +96 -96
- package/dist/esm/types/api/shopify-app-install.d.ts +46 -46
- package/dist/esm/types/api/shopify-app-install.js +18 -18
- package/dist/esm/types/api/subscription.d.ts +67 -61
- package/dist/esm/types/api/subscription.js +28 -28
- package/dist/esm/types/api/subscription.js.map +1 -1
- package/dist/esm/types/api/user.d.ts +13 -13
- package/dist/esm/types/api/user.js +1 -1
- package/dist/esm/types/common/address.d.ts +15 -15
- package/dist/esm/types/common/address.js +1 -1
- package/dist/esm/types/common/currency.d.ts +1 -1
- package/dist/esm/types/common/currency.js +60 -60
- package/dist/esm/types/common/index.d.ts +2 -2
- package/dist/esm/types/common/index.js +2 -2
- package/dist/esm/types/event/base/event-name-enum.d.ts +36 -36
- package/dist/esm/types/event/base/event-name-enum.js +39 -39
- package/dist/esm/types/event/base/event.d.ts +20 -20
- package/dist/esm/types/event/base/event.js +7 -7
- package/dist/esm/types/event/base/index.d.ts +2 -2
- package/dist/esm/types/event/base/index.js +2 -2
- package/dist/esm/types/event/context/event-context-identity.d.ts +18 -18
- package/dist/esm/types/event/context/event-context-identity.js +1 -1
- package/dist/esm/types/event/context/event-context.d.ts +143 -143
- package/dist/esm/types/event/context/event-context.js +1 -1
- package/dist/esm/types/event/context/index.d.ts +2 -2
- package/dist/esm/types/event/context/index.js +2 -2
- package/dist/esm/types/event/index.d.ts +5 -5
- package/dist/esm/types/event/index.js +5 -5
- package/dist/esm/types/event/log-event.d.ts +42 -36
- package/dist/esm/types/event/log-event.js +15 -15
- package/dist/esm/types/event/log-event.js.map +1 -1
- package/dist/esm/types/event/metric-event.d.ts +13 -13
- package/dist/esm/types/event/metric-event.js +1 -1
- package/dist/esm/types/event/tracking-event.d.ts +62 -62
- package/dist/esm/types/event/tracking-event.js +1 -1
- package/dist/esm/types/event-bus-event.d.ts +25 -25
- package/dist/esm/types/event-bus-event.js +1 -1
- package/dist/esm/types/index.d.ts +5 -5
- package/dist/esm/types/index.js +5 -5
- package/dist/esm/types/third-party-event-configuration-types.d.ts +9 -9
- package/dist/esm/types/third-party-event-configuration-types.js +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=metric-event.js.map
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { InternalEvent } from './base/event';
|
|
2
|
-
import { AddressInfo } from '../common';
|
|
3
|
-
import { EventIdentity } from '.';
|
|
4
|
-
export interface TrackingEvent extends InternalEvent {
|
|
5
|
-
identity?: EventIdentity;
|
|
6
|
-
data?: TrackingEventData;
|
|
7
|
-
testCode?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface TrackingEventData {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
isSyntheticWebhookEvent?: boolean;
|
|
12
|
-
firstName?: string;
|
|
13
|
-
lastName?: string;
|
|
14
|
-
email?: string;
|
|
15
|
-
phone?: string;
|
|
16
|
-
addresses?: AddressInfo[];
|
|
17
|
-
cartId?: string;
|
|
18
|
-
transactionId?: string;
|
|
19
|
-
orderId?: string;
|
|
20
|
-
orderName?: string;
|
|
21
|
-
affiliation?: string;
|
|
22
|
-
currency?: string;
|
|
23
|
-
price?: number;
|
|
24
|
-
subtotalPrice?: number;
|
|
25
|
-
value?: number;
|
|
26
|
-
tax?: number;
|
|
27
|
-
shipping?: number;
|
|
28
|
-
discount?: number;
|
|
29
|
-
coupon?: string;
|
|
30
|
-
paymentType?: string;
|
|
31
|
-
shippingTier?: string;
|
|
32
|
-
creativeName?: string;
|
|
33
|
-
creativeSlot?: string;
|
|
34
|
-
locationId?: string;
|
|
35
|
-
promotionId?: string;
|
|
36
|
-
promotionName?: string;
|
|
37
|
-
items?: GenericContent[];
|
|
38
|
-
}
|
|
39
|
-
export interface GenericContent {
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
content_type?: string;
|
|
42
|
-
id?: string;
|
|
43
|
-
name?: string;
|
|
44
|
-
sku?: string;
|
|
45
|
-
brand?: string;
|
|
46
|
-
variant?: string;
|
|
47
|
-
coupon?: string;
|
|
48
|
-
currency?: string;
|
|
49
|
-
discount?: number;
|
|
50
|
-
index?: number;
|
|
51
|
-
value?: number;
|
|
52
|
-
price?: number;
|
|
53
|
-
quantity?: number;
|
|
54
|
-
url?: string;
|
|
55
|
-
locationId?: string;
|
|
56
|
-
imageUrl?: string;
|
|
57
|
-
category?: string;
|
|
58
|
-
category2?: string;
|
|
59
|
-
category3?: string;
|
|
60
|
-
category4?: string;
|
|
61
|
-
category5?: string;
|
|
62
|
-
}
|
|
1
|
+
import { InternalEvent } from './base/event';
|
|
2
|
+
import { AddressInfo } from '../common';
|
|
3
|
+
import { EventIdentity } from '.';
|
|
4
|
+
export interface TrackingEvent extends InternalEvent {
|
|
5
|
+
identity?: EventIdentity;
|
|
6
|
+
data?: TrackingEventData;
|
|
7
|
+
testCode?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface TrackingEventData {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
isSyntheticWebhookEvent?: boolean;
|
|
12
|
+
firstName?: string;
|
|
13
|
+
lastName?: string;
|
|
14
|
+
email?: string;
|
|
15
|
+
phone?: string;
|
|
16
|
+
addresses?: AddressInfo[];
|
|
17
|
+
cartId?: string;
|
|
18
|
+
transactionId?: string;
|
|
19
|
+
orderId?: string;
|
|
20
|
+
orderName?: string;
|
|
21
|
+
affiliation?: string;
|
|
22
|
+
currency?: string;
|
|
23
|
+
price?: number;
|
|
24
|
+
subtotalPrice?: number;
|
|
25
|
+
value?: number;
|
|
26
|
+
tax?: number;
|
|
27
|
+
shipping?: number;
|
|
28
|
+
discount?: number;
|
|
29
|
+
coupon?: string;
|
|
30
|
+
paymentType?: string;
|
|
31
|
+
shippingTier?: string;
|
|
32
|
+
creativeName?: string;
|
|
33
|
+
creativeSlot?: string;
|
|
34
|
+
locationId?: string;
|
|
35
|
+
promotionId?: string;
|
|
36
|
+
promotionName?: string;
|
|
37
|
+
items?: GenericContent[];
|
|
38
|
+
}
|
|
39
|
+
export interface GenericContent {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
content_type?: string;
|
|
42
|
+
id?: string;
|
|
43
|
+
name?: string;
|
|
44
|
+
sku?: string;
|
|
45
|
+
brand?: string;
|
|
46
|
+
variant?: string;
|
|
47
|
+
coupon?: string;
|
|
48
|
+
currency?: string;
|
|
49
|
+
discount?: number;
|
|
50
|
+
index?: number;
|
|
51
|
+
value?: number;
|
|
52
|
+
price?: number;
|
|
53
|
+
quantity?: number;
|
|
54
|
+
url?: string;
|
|
55
|
+
locationId?: string;
|
|
56
|
+
imageUrl?: string;
|
|
57
|
+
category?: string;
|
|
58
|
+
category2?: string;
|
|
59
|
+
category3?: string;
|
|
60
|
+
category4?: string;
|
|
61
|
+
category5?: string;
|
|
62
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=tracking-event.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { LogEvent, MetricEvent, TrackingEvent } from './event';
|
|
2
|
-
export interface EventBusEvent {
|
|
3
|
-
eventId: string;
|
|
4
|
-
eventType: string;
|
|
5
|
-
eventTime: string;
|
|
6
|
-
eventData?: object;
|
|
7
|
-
}
|
|
8
|
-
export interface EventBusTrackingEvent extends EventBusEvent {
|
|
9
|
-
eventData: {
|
|
10
|
-
trackingEvent: TrackingEvent;
|
|
11
|
-
pixelId: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export interface EventBusMetricEvent extends EventBusEvent {
|
|
15
|
-
eventData: {
|
|
16
|
-
metricEvent: MetricEvent;
|
|
17
|
-
pixelId: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export interface EventBusLogEvent extends EventBusEvent {
|
|
21
|
-
eventData: {
|
|
22
|
-
logEvent: LogEvent;
|
|
23
|
-
pixelId: string;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
1
|
+
import { LogEvent, MetricEvent, TrackingEvent } from './event';
|
|
2
|
+
export interface EventBusEvent {
|
|
3
|
+
eventId: string;
|
|
4
|
+
eventType: string;
|
|
5
|
+
eventTime: string;
|
|
6
|
+
eventData?: object;
|
|
7
|
+
}
|
|
8
|
+
export interface EventBusTrackingEvent extends EventBusEvent {
|
|
9
|
+
eventData: {
|
|
10
|
+
trackingEvent: TrackingEvent;
|
|
11
|
+
pixelId: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface EventBusMetricEvent extends EventBusEvent {
|
|
15
|
+
eventData: {
|
|
16
|
+
metricEvent: MetricEvent;
|
|
17
|
+
pixelId: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export interface EventBusLogEvent extends EventBusEvent {
|
|
21
|
+
eventData: {
|
|
22
|
+
logEvent: LogEvent;
|
|
23
|
+
pixelId: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=event-bus-event.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './api';
|
|
2
|
-
export * from './common';
|
|
3
|
-
export * from './event';
|
|
4
|
-
export * from './event-bus-event';
|
|
5
|
-
export * from './third-party-event-configuration-types';
|
|
1
|
+
export * from './api';
|
|
2
|
+
export * from './common';
|
|
3
|
+
export * from './event';
|
|
4
|
+
export * from './event-bus-event';
|
|
5
|
+
export * from './third-party-event-configuration-types';
|
package/dist/cjs/types/index.js
CHANGED
|
@@ -1,22 +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("./api"), exports);
|
|
18
|
-
__exportStar(require("./common"), exports);
|
|
19
|
-
__exportStar(require("./event"), exports);
|
|
20
|
-
__exportStar(require("./event-bus-event"), exports);
|
|
21
|
-
__exportStar(require("./third-party-event-configuration-types"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./api"), exports);
|
|
18
|
+
__exportStar(require("./common"), exports);
|
|
19
|
+
__exportStar(require("./event"), exports);
|
|
20
|
+
__exportStar(require("./event-bus-event"), exports);
|
|
21
|
+
__exportStar(require("./third-party-event-configuration-types"), exports);
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface DestinationConfiguration {
|
|
2
|
-
eventConfigurations: DestinationEventSpecificConfiguration[];
|
|
3
|
-
}
|
|
4
|
-
export interface DestinationEventSpecificConfiguration {
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
sourceEventName: string;
|
|
7
|
-
destinationEventName?: string;
|
|
8
|
-
excludeEvent?: boolean;
|
|
9
|
-
}
|
|
1
|
+
export interface DestinationConfiguration {
|
|
2
|
+
eventConfigurations: DestinationEventSpecificConfiguration[];
|
|
3
|
+
}
|
|
4
|
+
export interface DestinationEventSpecificConfiguration {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
sourceEventName: string;
|
|
7
|
+
destinationEventName?: string;
|
|
8
|
+
excludeEvent?: boolean;
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=third-party-event-configuration-types.js.map
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './types';
|
|
1
|
+
export * from './types';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './types';
|
|
1
|
+
export * from './types';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Subscription } from './subscription';
|
|
2
|
-
export interface Account {
|
|
3
|
-
id: string;
|
|
4
|
-
accountName: string;
|
|
5
|
-
companyName?: string;
|
|
6
|
-
accountStatus: ACCOUNT_STATUS;
|
|
7
|
-
primaryEmail: string;
|
|
8
|
-
publicApiKey?: string;
|
|
9
|
-
subscriptionId?: string;
|
|
10
|
-
pixels?: Pixel[];
|
|
11
|
-
subscription?: Subscription;
|
|
12
|
-
ownerId?: string;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
15
|
-
}
|
|
16
|
-
export interface Pixel {
|
|
17
|
-
id: string;
|
|
18
|
-
accountId: string;
|
|
19
|
-
name: string;
|
|
20
|
-
createdAt: string;
|
|
21
|
-
updatedAt: string;
|
|
22
|
-
}
|
|
23
|
-
export declare enum ACCOUNT_STATUS {
|
|
24
|
-
PENDING = "pending",
|
|
25
|
-
ACTIVE = "active",
|
|
26
|
-
INACTIVE = "inactive"
|
|
27
|
-
}
|
|
1
|
+
import { Subscription } from './subscription';
|
|
2
|
+
export interface Account {
|
|
3
|
+
id: string;
|
|
4
|
+
accountName: string;
|
|
5
|
+
companyName?: string;
|
|
6
|
+
accountStatus: ACCOUNT_STATUS;
|
|
7
|
+
primaryEmail: string;
|
|
8
|
+
publicApiKey?: string;
|
|
9
|
+
subscriptionId?: string;
|
|
10
|
+
pixels?: Pixel[];
|
|
11
|
+
subscription?: Subscription;
|
|
12
|
+
ownerId?: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}
|
|
16
|
+
export interface Pixel {
|
|
17
|
+
id: string;
|
|
18
|
+
accountId: string;
|
|
19
|
+
name: string;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
updatedAt: string;
|
|
22
|
+
}
|
|
23
|
+
export declare enum ACCOUNT_STATUS {
|
|
24
|
+
PENDING = "pending",
|
|
25
|
+
ACTIVE = "active",
|
|
26
|
+
INACTIVE = "inactive"
|
|
27
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export var ACCOUNT_STATUS;
|
|
2
|
-
(function (ACCOUNT_STATUS) {
|
|
3
|
-
ACCOUNT_STATUS["PENDING"] = "pending";
|
|
4
|
-
ACCOUNT_STATUS["ACTIVE"] = "active";
|
|
5
|
-
ACCOUNT_STATUS["INACTIVE"] = "inactive";
|
|
6
|
-
})(ACCOUNT_STATUS || (ACCOUNT_STATUS = {}));
|
|
1
|
+
export var ACCOUNT_STATUS;
|
|
2
|
+
(function (ACCOUNT_STATUS) {
|
|
3
|
+
ACCOUNT_STATUS["PENDING"] = "pending";
|
|
4
|
+
ACCOUNT_STATUS["ACTIVE"] = "active";
|
|
5
|
+
ACCOUNT_STATUS["INACTIVE"] = "inactive";
|
|
6
|
+
})(ACCOUNT_STATUS || (ACCOUNT_STATUS = {}));
|
|
7
7
|
//# sourceMappingURL=account.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { DESTINATION, DESTINATION_TYPE } from './destinations';
|
|
2
|
-
export interface DestinationCatalogItem {
|
|
3
|
-
id: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
destinationKey: DESTINATION;
|
|
6
|
-
destinationType: DESTINATION_TYPE;
|
|
7
|
-
displayName?: string;
|
|
8
|
-
shortName?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
url: string;
|
|
11
|
-
fields?: DestinationCatalogField[];
|
|
12
|
-
createdAt: string;
|
|
13
|
-
updatedAt: string;
|
|
14
|
-
}
|
|
15
|
-
export interface DestinationCatalogFieldValidation {
|
|
16
|
-
active: boolean;
|
|
17
|
-
pattern: string;
|
|
18
|
-
error?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface DestinationCatalogField {
|
|
21
|
-
component_type: string;
|
|
22
|
-
name: string;
|
|
23
|
-
description: string;
|
|
24
|
-
label: string;
|
|
25
|
-
type: string;
|
|
26
|
-
required: boolean;
|
|
27
|
-
values?: any[];
|
|
28
|
-
validation?: DestinationCatalogFieldValidation;
|
|
29
|
-
order: number;
|
|
30
|
-
}
|
|
1
|
+
import { DESTINATION, DESTINATION_TYPE } from './destinations';
|
|
2
|
+
export interface DestinationCatalogItem {
|
|
3
|
+
id: string;
|
|
4
|
+
active: boolean;
|
|
5
|
+
destinationKey: DESTINATION;
|
|
6
|
+
destinationType: DESTINATION_TYPE;
|
|
7
|
+
displayName?: string;
|
|
8
|
+
shortName?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
url: string;
|
|
11
|
+
fields?: DestinationCatalogField[];
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
}
|
|
15
|
+
export interface DestinationCatalogFieldValidation {
|
|
16
|
+
active: boolean;
|
|
17
|
+
pattern: string;
|
|
18
|
+
error?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface DestinationCatalogField {
|
|
21
|
+
component_type: string;
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
label: string;
|
|
25
|
+
type: string;
|
|
26
|
+
required: boolean;
|
|
27
|
+
values?: any[];
|
|
28
|
+
validation?: DestinationCatalogFieldValidation;
|
|
29
|
+
order: number;
|
|
30
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=destination-catalog.js.map
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
export interface Destination {
|
|
2
|
-
id: string;
|
|
3
|
-
accountId: string;
|
|
4
|
-
pixelId: string;
|
|
5
|
-
destination: DESTINATION;
|
|
6
|
-
destinationType?: DESTINATION_TYPE;
|
|
7
|
-
displayName?: string;
|
|
8
|
-
enabled: boolean;
|
|
9
|
-
configuration?: UserDestinationConfiguration;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
updatedAt: string;
|
|
12
|
-
}
|
|
13
|
-
export declare enum DESTINATION_TYPE {
|
|
14
|
-
INTEGRATION = "integration",
|
|
15
|
-
DESTIANTION = "destination"
|
|
16
|
-
}
|
|
17
|
-
export declare enum DESTINATION {
|
|
18
|
-
FACEBOOK = "facebook",
|
|
19
|
-
TIKTOK = "tiktok",
|
|
20
|
-
GOOGLE_ADS = "googleAds",
|
|
21
|
-
GOOGLE_ANALYTICS_4 = "googleAnalytics4",
|
|
22
|
-
HUBSPOT = "hubspot",
|
|
23
|
-
WEBHOOK = "webhook",
|
|
24
|
-
CUSTOM_HTML = "customHTML",
|
|
25
|
-
SNAPCHAT = "snapchat",
|
|
26
|
-
TWITTER = "twitter",
|
|
27
|
-
REDDIT = "reddit",
|
|
28
|
-
INTERCOM = "intercom",
|
|
29
|
-
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
30
|
-
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration"
|
|
31
|
-
}
|
|
32
|
-
export interface UserDestinationConfiguration {
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
eventBlacklist?: string[];
|
|
35
|
-
events?: EventConfiguration[];
|
|
36
|
-
trigger?: DestinationTriggerConfiguration;
|
|
37
|
-
}
|
|
38
|
-
export interface DestinationTriggerConfiguration {
|
|
39
|
-
shopify?: ShopifyTriggerConfiguration;
|
|
40
|
-
exludeDomains?: string[];
|
|
41
|
-
excludePages?: string[];
|
|
42
|
-
domains?: string[];
|
|
43
|
-
pages?: string[];
|
|
44
|
-
}
|
|
45
|
-
export interface ShopifyTriggerConfiguration {
|
|
46
|
-
enabled: boolean;
|
|
47
|
-
collections?: string[];
|
|
48
|
-
tags?: string[];
|
|
49
|
-
}
|
|
50
|
-
export interface EventConfiguration {
|
|
51
|
-
sourceEventName: string;
|
|
52
|
-
exclude?: boolean;
|
|
53
|
-
sample: EventSampleConfiguration;
|
|
54
|
-
transformations?: EventTransformation[];
|
|
55
|
-
}
|
|
56
|
-
export interface EventTransformation {
|
|
57
|
-
transformationEventName: string;
|
|
58
|
-
enabled: boolean;
|
|
59
|
-
}
|
|
60
|
-
export interface EventSampleConfiguration {
|
|
61
|
-
enabled: boolean;
|
|
62
|
-
rate: number;
|
|
63
|
-
}
|
|
1
|
+
export interface Destination {
|
|
2
|
+
id: string;
|
|
3
|
+
accountId: string;
|
|
4
|
+
pixelId: string;
|
|
5
|
+
destination: DESTINATION;
|
|
6
|
+
destinationType?: DESTINATION_TYPE;
|
|
7
|
+
displayName?: string;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
configuration?: UserDestinationConfiguration;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
}
|
|
13
|
+
export declare enum DESTINATION_TYPE {
|
|
14
|
+
INTEGRATION = "integration",
|
|
15
|
+
DESTIANTION = "destination"
|
|
16
|
+
}
|
|
17
|
+
export declare enum DESTINATION {
|
|
18
|
+
FACEBOOK = "facebook",
|
|
19
|
+
TIKTOK = "tiktok",
|
|
20
|
+
GOOGLE_ADS = "googleAds",
|
|
21
|
+
GOOGLE_ANALYTICS_4 = "googleAnalytics4",
|
|
22
|
+
HUBSPOT = "hubspot",
|
|
23
|
+
WEBHOOK = "webhook",
|
|
24
|
+
CUSTOM_HTML = "customHTML",
|
|
25
|
+
SNAPCHAT = "snapchat",
|
|
26
|
+
TWITTER = "twitter",
|
|
27
|
+
REDDIT = "reddit",
|
|
28
|
+
INTERCOM = "intercom",
|
|
29
|
+
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
30
|
+
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration"
|
|
31
|
+
}
|
|
32
|
+
export interface UserDestinationConfiguration {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
eventBlacklist?: string[];
|
|
35
|
+
events?: EventConfiguration[];
|
|
36
|
+
trigger?: DestinationTriggerConfiguration;
|
|
37
|
+
}
|
|
38
|
+
export interface DestinationTriggerConfiguration {
|
|
39
|
+
shopify?: ShopifyTriggerConfiguration;
|
|
40
|
+
exludeDomains?: string[];
|
|
41
|
+
excludePages?: string[];
|
|
42
|
+
domains?: string[];
|
|
43
|
+
pages?: string[];
|
|
44
|
+
}
|
|
45
|
+
export interface ShopifyTriggerConfiguration {
|
|
46
|
+
enabled: boolean;
|
|
47
|
+
collections?: string[];
|
|
48
|
+
tags?: string[];
|
|
49
|
+
}
|
|
50
|
+
export interface EventConfiguration {
|
|
51
|
+
sourceEventName: string;
|
|
52
|
+
exclude?: boolean;
|
|
53
|
+
sample: EventSampleConfiguration;
|
|
54
|
+
transformations?: EventTransformation[];
|
|
55
|
+
}
|
|
56
|
+
export interface EventTransformation {
|
|
57
|
+
transformationEventName: string;
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
}
|
|
60
|
+
export interface EventSampleConfiguration {
|
|
61
|
+
enabled: boolean;
|
|
62
|
+
rate: number;
|
|
63
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export var DESTINATION_TYPE;
|
|
2
|
-
(function (DESTINATION_TYPE) {
|
|
3
|
-
DESTINATION_TYPE["INTEGRATION"] = "integration";
|
|
4
|
-
DESTINATION_TYPE["DESTIANTION"] = "destination";
|
|
5
|
-
})(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
|
|
6
|
-
export var DESTINATION;
|
|
7
|
-
(function (DESTINATION) {
|
|
8
|
-
DESTINATION["FACEBOOK"] = "facebook";
|
|
9
|
-
DESTINATION["TIKTOK"] = "tiktok";
|
|
10
|
-
DESTINATION["GOOGLE_ADS"] = "googleAds";
|
|
11
|
-
DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
|
|
12
|
-
DESTINATION["HUBSPOT"] = "hubspot";
|
|
13
|
-
DESTINATION["WEBHOOK"] = "webhook";
|
|
14
|
-
DESTINATION["CUSTOM_HTML"] = "customHTML";
|
|
15
|
-
DESTINATION["SNAPCHAT"] = "snapchat";
|
|
16
|
-
DESTINATION["TWITTER"] = "twitter";
|
|
17
|
-
DESTINATION["REDDIT"] = "reddit";
|
|
18
|
-
DESTINATION["INTERCOM"] = "intercom";
|
|
19
|
-
DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
20
|
-
DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
21
|
-
})(DESTINATION || (DESTINATION = {}));
|
|
1
|
+
export var DESTINATION_TYPE;
|
|
2
|
+
(function (DESTINATION_TYPE) {
|
|
3
|
+
DESTINATION_TYPE["INTEGRATION"] = "integration";
|
|
4
|
+
DESTINATION_TYPE["DESTIANTION"] = "destination";
|
|
5
|
+
})(DESTINATION_TYPE || (DESTINATION_TYPE = {}));
|
|
6
|
+
export var DESTINATION;
|
|
7
|
+
(function (DESTINATION) {
|
|
8
|
+
DESTINATION["FACEBOOK"] = "facebook";
|
|
9
|
+
DESTINATION["TIKTOK"] = "tiktok";
|
|
10
|
+
DESTINATION["GOOGLE_ADS"] = "googleAds";
|
|
11
|
+
DESTINATION["GOOGLE_ANALYTICS_4"] = "googleAnalytics4";
|
|
12
|
+
DESTINATION["HUBSPOT"] = "hubspot";
|
|
13
|
+
DESTINATION["WEBHOOK"] = "webhook";
|
|
14
|
+
DESTINATION["CUSTOM_HTML"] = "customHTML";
|
|
15
|
+
DESTINATION["SNAPCHAT"] = "snapchat";
|
|
16
|
+
DESTINATION["TWITTER"] = "twitter";
|
|
17
|
+
DESTINATION["REDDIT"] = "reddit";
|
|
18
|
+
DESTINATION["INTERCOM"] = "intercom";
|
|
19
|
+
DESTINATION["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
20
|
+
DESTINATION["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
21
|
+
})(DESTINATION || (DESTINATION = {}));
|
|
22
22
|
//# sourceMappingURL=destinations.js.map
|