@adtrackify/at-tracking-event-types 3.5.6 → 3.5.8
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/feature.d.ts +65 -0
- package/dist/cjs/types/api/feature.js +36 -0
- package/dist/cjs/types/api/feature.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/cjs/types/api/subscription.d.ts +1 -27
- package/dist/cjs/types/api/subscription.js +1 -21
- package/dist/cjs/types/api/subscription.js.map +1 -1
- package/dist/esm/types/api/feature.d.ts +65 -0
- package/dist/esm/types/api/feature.js +33 -0
- package/dist/esm/types/api/feature.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/dist/esm/types/api/subscription.d.ts +1 -27
- package/dist/esm/types/api/subscription.js +0 -20
- package/dist/esm/types/api/subscription.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export declare enum FEATURE_KEY {
|
|
2
|
+
COMPARE = "compare",
|
|
3
|
+
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
4
|
+
CONTACT_ACQUISITION = "contactAcquisition",
|
|
5
|
+
ADVANCED_ANALYTICS = "advancedAnalytics",
|
|
6
|
+
KLAVIYO_INTEGRATION = "klaviyoIntegration",
|
|
7
|
+
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
|
|
8
|
+
API_ACCESS = "apiAccess",
|
|
9
|
+
MULTI_PIXEL = "multiPixel",
|
|
10
|
+
TEAM_MEMBERS = "teamMembers",
|
|
11
|
+
CHANNEL_ATTRIBUTION = "channelAttribution",
|
|
12
|
+
REAL_TIME_ANALYTICS = "realTimeAnalytics"
|
|
13
|
+
}
|
|
14
|
+
export declare enum PLAN_TIER {
|
|
15
|
+
BASIC = "basic",
|
|
16
|
+
ADVANCED = "advanced",
|
|
17
|
+
LEGACY = "legacy"
|
|
18
|
+
}
|
|
19
|
+
export interface FeatureEntitlement {
|
|
20
|
+
featureKey: FEATURE_KEY;
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
limit?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface PlanFeatures {
|
|
25
|
+
tier: PLAN_TIER;
|
|
26
|
+
entitlements: FeatureEntitlement[];
|
|
27
|
+
}
|
|
28
|
+
export declare enum FEATURE_GROUP_ID {
|
|
29
|
+
ANALYTICS = "analytics",
|
|
30
|
+
INTEGRATIONS = "integrations",
|
|
31
|
+
COLLABORATION = "collaboration",
|
|
32
|
+
CORE = "core"
|
|
33
|
+
}
|
|
34
|
+
export declare enum FEATURE_VALUE_TYPE {
|
|
35
|
+
BOOLEAN = "boolean",
|
|
36
|
+
LIMITED = "limited"
|
|
37
|
+
}
|
|
38
|
+
export interface Feature {
|
|
39
|
+
id: FEATURE_KEY;
|
|
40
|
+
displayName: string;
|
|
41
|
+
description: string;
|
|
42
|
+
groupId: FEATURE_GROUP_ID;
|
|
43
|
+
valueType: FEATURE_VALUE_TYPE;
|
|
44
|
+
isActive: boolean;
|
|
45
|
+
sortOrder: number;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
updatedAt: string;
|
|
48
|
+
}
|
|
49
|
+
export interface FeatureGroup {
|
|
50
|
+
id: FEATURE_GROUP_ID;
|
|
51
|
+
displayName: string;
|
|
52
|
+
description: string;
|
|
53
|
+
sortOrder: number;
|
|
54
|
+
createdAt: string;
|
|
55
|
+
updatedAt: string;
|
|
56
|
+
}
|
|
57
|
+
export interface PlanFeature {
|
|
58
|
+
id: string;
|
|
59
|
+
planId: string;
|
|
60
|
+
featureId: FEATURE_KEY;
|
|
61
|
+
enabled: boolean;
|
|
62
|
+
limit?: number | null;
|
|
63
|
+
createdAt: string;
|
|
64
|
+
updatedAt: string;
|
|
65
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FEATURE_VALUE_TYPE = exports.FEATURE_GROUP_ID = exports.PLAN_TIER = exports.FEATURE_KEY = void 0;
|
|
4
|
+
var FEATURE_KEY;
|
|
5
|
+
(function (FEATURE_KEY) {
|
|
6
|
+
FEATURE_KEY["COMPARE"] = "compare";
|
|
7
|
+
FEATURE_KEY["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
8
|
+
FEATURE_KEY["CONTACT_ACQUISITION"] = "contactAcquisition";
|
|
9
|
+
FEATURE_KEY["ADVANCED_ANALYTICS"] = "advancedAnalytics";
|
|
10
|
+
FEATURE_KEY["KLAVIYO_INTEGRATION"] = "klaviyoIntegration";
|
|
11
|
+
FEATURE_KEY["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
12
|
+
FEATURE_KEY["API_ACCESS"] = "apiAccess";
|
|
13
|
+
FEATURE_KEY["MULTI_PIXEL"] = "multiPixel";
|
|
14
|
+
FEATURE_KEY["TEAM_MEMBERS"] = "teamMembers";
|
|
15
|
+
FEATURE_KEY["CHANNEL_ATTRIBUTION"] = "channelAttribution";
|
|
16
|
+
FEATURE_KEY["REAL_TIME_ANALYTICS"] = "realTimeAnalytics";
|
|
17
|
+
})(FEATURE_KEY = exports.FEATURE_KEY || (exports.FEATURE_KEY = {}));
|
|
18
|
+
var PLAN_TIER;
|
|
19
|
+
(function (PLAN_TIER) {
|
|
20
|
+
PLAN_TIER["BASIC"] = "basic";
|
|
21
|
+
PLAN_TIER["ADVANCED"] = "advanced";
|
|
22
|
+
PLAN_TIER["LEGACY"] = "legacy";
|
|
23
|
+
})(PLAN_TIER = exports.PLAN_TIER || (exports.PLAN_TIER = {}));
|
|
24
|
+
var FEATURE_GROUP_ID;
|
|
25
|
+
(function (FEATURE_GROUP_ID) {
|
|
26
|
+
FEATURE_GROUP_ID["ANALYTICS"] = "analytics";
|
|
27
|
+
FEATURE_GROUP_ID["INTEGRATIONS"] = "integrations";
|
|
28
|
+
FEATURE_GROUP_ID["COLLABORATION"] = "collaboration";
|
|
29
|
+
FEATURE_GROUP_ID["CORE"] = "core";
|
|
30
|
+
})(FEATURE_GROUP_ID = exports.FEATURE_GROUP_ID || (exports.FEATURE_GROUP_ID = {}));
|
|
31
|
+
var FEATURE_VALUE_TYPE;
|
|
32
|
+
(function (FEATURE_VALUE_TYPE) {
|
|
33
|
+
FEATURE_VALUE_TYPE["BOOLEAN"] = "boolean";
|
|
34
|
+
FEATURE_VALUE_TYPE["LIMITED"] = "limited";
|
|
35
|
+
})(FEATURE_VALUE_TYPE = exports.FEATURE_VALUE_TYPE || (exports.FEATURE_VALUE_TYPE = {}));
|
|
36
|
+
//# sourceMappingURL=feature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.js","sourceRoot":"","sources":["../../../../src/types/api/feature.ts"],"names":[],"mappings":";;;AAIA,IAAY,WAYX;AAZD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,2DAA4C,CAAA;IAC5C,yDAA0C,CAAA;IAC1C,uDAAwC,CAAA;IACxC,yDAA0C,CAAA;IAC1C,8DAA+C,CAAA;IAC/C,uCAAwB,CAAA;IACxB,yCAA0B,CAAA;IAC1B,2CAA4B,CAAA;IAC5B,yDAA0C,CAAA;IAC1C,wDAAyC,CAAA;AAC3C,CAAC,EAZW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAYtB;AAQD,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB;AAuBD,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;IAC7B,mDAA+B,CAAA;IAC/B,iCAAa,CAAA;AACf,CAAC,EALW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAK3B;AAOD,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
|
|
@@ -6,6 +6,7 @@ export * from './destinations/third-party-destination-configs.js';
|
|
|
6
6
|
export * from './destinations/third-party-integration-configs.js';
|
|
7
7
|
export * from './shopify-app-install.js';
|
|
8
8
|
export * from './subscription.js';
|
|
9
|
+
export * from './feature.js';
|
|
9
10
|
export * from './promotion-code.js';
|
|
10
11
|
export * from './user.js';
|
|
11
12
|
export * from './query.js';
|
|
@@ -22,6 +22,7 @@ __exportStar(require("./destinations/third-party-destination-configs.js"), expor
|
|
|
22
22
|
__exportStar(require("./destinations/third-party-integration-configs.js"), exports);
|
|
23
23
|
__exportStar(require("./shopify-app-install.js"), exports);
|
|
24
24
|
__exportStar(require("./subscription.js"), exports);
|
|
25
|
+
__exportStar(require("./feature.js"), exports);
|
|
25
26
|
__exportStar(require("./promotion-code.js"), exports);
|
|
26
27
|
__exportStar(require("./user.js"), exports);
|
|
27
28
|
__exportStar(require("./query.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iEAA+C;AAC/C,wEAAsD;AACtD,4FAA0E;AAC1E,oFAAkE;AAClE,oFAAkE;AAClE,2DAAyC;AACzC,oDAAkC;AAClC,sDAAoC;AACpC,4CAA0B;AAC1B,6CAA2B;AAC3B,oDAAkC;AAClC,kDAAgC;AAChC,uDAAqC;AACrC,kEAAgD;AAChD,0DAAwC;AACxC,uDAAqC;AACrC,oDAAkC;AAClC,wDAAsC;AACtC,sDAAoC;AACpC,0DAAwC;AACxC,iEAA+C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iEAA+C;AAC/C,wEAAsD;AACtD,4FAA0E;AAC1E,oFAAkE;AAClE,oFAAkE;AAClE,2DAAyC;AACzC,oDAAkC;AAClC,+CAA6B;AAC7B,sDAAoC;AACpC,4CAA0B;AAC1B,6CAA2B;AAC3B,oDAAkC;AAClC,kDAAgC;AAChC,uDAAqC;AACrC,kEAAgD;AAChD,0DAAwC;AACxC,uDAAqC;AACrC,oDAAkC;AAClC,wDAAsC;AACtC,sDAAoC;AACpC,0DAAwC;AACxC,iEAA+C"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PlanFeatures } from './feature.js';
|
|
1
2
|
export interface Subscription {
|
|
2
3
|
id: string;
|
|
3
4
|
accountId?: string;
|
|
@@ -189,30 +190,3 @@ export declare enum USAGE_BILLING_STATUS {
|
|
|
189
190
|
PAID = "paid",
|
|
190
191
|
FAILED = "failed"
|
|
191
192
|
}
|
|
192
|
-
export declare enum FEATURE_KEY {
|
|
193
|
-
COMPARE = "compare",
|
|
194
|
-
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
195
|
-
CONTACT_ACQUISITION = "contactAcquisition",
|
|
196
|
-
ADVANCED_ANALYTICS = "advancedAnalytics",
|
|
197
|
-
KLAVIYO_INTEGRATION = "klaviyoIntegration",
|
|
198
|
-
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
|
|
199
|
-
API_ACCESS = "apiAccess",
|
|
200
|
-
MULTI_PIXEL = "multiPixel",
|
|
201
|
-
TEAM_MEMBERS = "teamMembers",
|
|
202
|
-
CHANNEL_ATTRIBUTION = "channelAttribution",
|
|
203
|
-
REAL_TIME_ANALYTICS = "realTimeAnalytics"
|
|
204
|
-
}
|
|
205
|
-
export declare enum PLAN_TIER {
|
|
206
|
-
BASIC = "basic",
|
|
207
|
-
ADVANCED = "advanced",
|
|
208
|
-
LEGACY = "legacy"
|
|
209
|
-
}
|
|
210
|
-
export interface FeatureEntitlement {
|
|
211
|
-
featureKey: FEATURE_KEY;
|
|
212
|
-
enabled: boolean;
|
|
213
|
-
limit?: number;
|
|
214
|
-
}
|
|
215
|
-
export interface PlanFeatures {
|
|
216
|
-
tier: PLAN_TIER;
|
|
217
|
-
entitlements: FeatureEntitlement[];
|
|
218
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.USAGE_BILLING_STATUS = exports.USAGE_TYPE = exports.PAYMENT_GATEWAY = exports.SUBSCRIPTION_STATUS = exports.PAYMENT_STATUS = exports.PLAN_BILLING_FREQUENCY = exports.DiscountType = void 0;
|
|
4
4
|
var DiscountType;
|
|
5
5
|
(function (DiscountType) {
|
|
6
6
|
DiscountType["FIXED"] = "fixed";
|
|
@@ -46,24 +46,4 @@ var USAGE_BILLING_STATUS;
|
|
|
46
46
|
USAGE_BILLING_STATUS["PAID"] = "paid";
|
|
47
47
|
USAGE_BILLING_STATUS["FAILED"] = "failed";
|
|
48
48
|
})(USAGE_BILLING_STATUS = exports.USAGE_BILLING_STATUS || (exports.USAGE_BILLING_STATUS = {}));
|
|
49
|
-
var FEATURE_KEY;
|
|
50
|
-
(function (FEATURE_KEY) {
|
|
51
|
-
FEATURE_KEY["COMPARE"] = "compare";
|
|
52
|
-
FEATURE_KEY["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
53
|
-
FEATURE_KEY["CONTACT_ACQUISITION"] = "contactAcquisition";
|
|
54
|
-
FEATURE_KEY["ADVANCED_ANALYTICS"] = "advancedAnalytics";
|
|
55
|
-
FEATURE_KEY["KLAVIYO_INTEGRATION"] = "klaviyoIntegration";
|
|
56
|
-
FEATURE_KEY["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
57
|
-
FEATURE_KEY["API_ACCESS"] = "apiAccess";
|
|
58
|
-
FEATURE_KEY["MULTI_PIXEL"] = "multiPixel";
|
|
59
|
-
FEATURE_KEY["TEAM_MEMBERS"] = "teamMembers";
|
|
60
|
-
FEATURE_KEY["CHANNEL_ATTRIBUTION"] = "channelAttribution";
|
|
61
|
-
FEATURE_KEY["REAL_TIME_ANALYTICS"] = "realTimeAnalytics";
|
|
62
|
-
})(FEATURE_KEY = exports.FEATURE_KEY || (exports.FEATURE_KEY = {}));
|
|
63
|
-
var PLAN_TIER;
|
|
64
|
-
(function (PLAN_TIER) {
|
|
65
|
-
PLAN_TIER["BASIC"] = "basic";
|
|
66
|
-
PLAN_TIER["ADVANCED"] = "advanced";
|
|
67
|
-
PLAN_TIER["LEGACY"] = "legacy";
|
|
68
|
-
})(PLAN_TIER = exports.PLAN_TIER || (exports.PLAN_TIER = {}));
|
|
69
49
|
//# sourceMappingURL=subscription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../../src/types/api/subscription.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../../src/types/api/subscription.ts"],"names":[],"mappings":";;;AAmFA,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,yCAAyB,CAAA;AAC3B,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAmBD,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;AACnB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;AACnB,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,8CAAuB,CAAA;IACvB,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,2CAAoB,CAAA;AACtB,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACrB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AA4ED,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;AACnB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,qCAAa,CAAA;IACb,yCAAiB,CAAA;AACnB,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export declare enum FEATURE_KEY {
|
|
2
|
+
COMPARE = "compare",
|
|
3
|
+
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
4
|
+
CONTACT_ACQUISITION = "contactAcquisition",
|
|
5
|
+
ADVANCED_ANALYTICS = "advancedAnalytics",
|
|
6
|
+
KLAVIYO_INTEGRATION = "klaviyoIntegration",
|
|
7
|
+
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
|
|
8
|
+
API_ACCESS = "apiAccess",
|
|
9
|
+
MULTI_PIXEL = "multiPixel",
|
|
10
|
+
TEAM_MEMBERS = "teamMembers",
|
|
11
|
+
CHANNEL_ATTRIBUTION = "channelAttribution",
|
|
12
|
+
REAL_TIME_ANALYTICS = "realTimeAnalytics"
|
|
13
|
+
}
|
|
14
|
+
export declare enum PLAN_TIER {
|
|
15
|
+
BASIC = "basic",
|
|
16
|
+
ADVANCED = "advanced",
|
|
17
|
+
LEGACY = "legacy"
|
|
18
|
+
}
|
|
19
|
+
export interface FeatureEntitlement {
|
|
20
|
+
featureKey: FEATURE_KEY;
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
limit?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface PlanFeatures {
|
|
25
|
+
tier: PLAN_TIER;
|
|
26
|
+
entitlements: FeatureEntitlement[];
|
|
27
|
+
}
|
|
28
|
+
export declare enum FEATURE_GROUP_ID {
|
|
29
|
+
ANALYTICS = "analytics",
|
|
30
|
+
INTEGRATIONS = "integrations",
|
|
31
|
+
COLLABORATION = "collaboration",
|
|
32
|
+
CORE = "core"
|
|
33
|
+
}
|
|
34
|
+
export declare enum FEATURE_VALUE_TYPE {
|
|
35
|
+
BOOLEAN = "boolean",
|
|
36
|
+
LIMITED = "limited"
|
|
37
|
+
}
|
|
38
|
+
export interface Feature {
|
|
39
|
+
id: FEATURE_KEY;
|
|
40
|
+
displayName: string;
|
|
41
|
+
description: string;
|
|
42
|
+
groupId: FEATURE_GROUP_ID;
|
|
43
|
+
valueType: FEATURE_VALUE_TYPE;
|
|
44
|
+
isActive: boolean;
|
|
45
|
+
sortOrder: number;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
updatedAt: string;
|
|
48
|
+
}
|
|
49
|
+
export interface FeatureGroup {
|
|
50
|
+
id: FEATURE_GROUP_ID;
|
|
51
|
+
displayName: string;
|
|
52
|
+
description: string;
|
|
53
|
+
sortOrder: number;
|
|
54
|
+
createdAt: string;
|
|
55
|
+
updatedAt: string;
|
|
56
|
+
}
|
|
57
|
+
export interface PlanFeature {
|
|
58
|
+
id: string;
|
|
59
|
+
planId: string;
|
|
60
|
+
featureId: FEATURE_KEY;
|
|
61
|
+
enabled: boolean;
|
|
62
|
+
limit?: number | null;
|
|
63
|
+
createdAt: string;
|
|
64
|
+
updatedAt: string;
|
|
65
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export var FEATURE_KEY;
|
|
2
|
+
(function (FEATURE_KEY) {
|
|
3
|
+
FEATURE_KEY["COMPARE"] = "compare";
|
|
4
|
+
FEATURE_KEY["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
5
|
+
FEATURE_KEY["CONTACT_ACQUISITION"] = "contactAcquisition";
|
|
6
|
+
FEATURE_KEY["ADVANCED_ANALYTICS"] = "advancedAnalytics";
|
|
7
|
+
FEATURE_KEY["KLAVIYO_INTEGRATION"] = "klaviyoIntegration";
|
|
8
|
+
FEATURE_KEY["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
9
|
+
FEATURE_KEY["API_ACCESS"] = "apiAccess";
|
|
10
|
+
FEATURE_KEY["MULTI_PIXEL"] = "multiPixel";
|
|
11
|
+
FEATURE_KEY["TEAM_MEMBERS"] = "teamMembers";
|
|
12
|
+
FEATURE_KEY["CHANNEL_ATTRIBUTION"] = "channelAttribution";
|
|
13
|
+
FEATURE_KEY["REAL_TIME_ANALYTICS"] = "realTimeAnalytics";
|
|
14
|
+
})(FEATURE_KEY || (FEATURE_KEY = {}));
|
|
15
|
+
export var PLAN_TIER;
|
|
16
|
+
(function (PLAN_TIER) {
|
|
17
|
+
PLAN_TIER["BASIC"] = "basic";
|
|
18
|
+
PLAN_TIER["ADVANCED"] = "advanced";
|
|
19
|
+
PLAN_TIER["LEGACY"] = "legacy";
|
|
20
|
+
})(PLAN_TIER || (PLAN_TIER = {}));
|
|
21
|
+
export var FEATURE_GROUP_ID;
|
|
22
|
+
(function (FEATURE_GROUP_ID) {
|
|
23
|
+
FEATURE_GROUP_ID["ANALYTICS"] = "analytics";
|
|
24
|
+
FEATURE_GROUP_ID["INTEGRATIONS"] = "integrations";
|
|
25
|
+
FEATURE_GROUP_ID["COLLABORATION"] = "collaboration";
|
|
26
|
+
FEATURE_GROUP_ID["CORE"] = "core";
|
|
27
|
+
})(FEATURE_GROUP_ID || (FEATURE_GROUP_ID = {}));
|
|
28
|
+
export var FEATURE_VALUE_TYPE;
|
|
29
|
+
(function (FEATURE_VALUE_TYPE) {
|
|
30
|
+
FEATURE_VALUE_TYPE["BOOLEAN"] = "boolean";
|
|
31
|
+
FEATURE_VALUE_TYPE["LIMITED"] = "limited";
|
|
32
|
+
})(FEATURE_VALUE_TYPE || (FEATURE_VALUE_TYPE = {}));
|
|
33
|
+
//# sourceMappingURL=feature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.js","sourceRoot":"","sources":["../../../../src/types/api/feature.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,WAYX;AAZD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,2DAA4C,CAAA;IAC5C,yDAA0C,CAAA;IAC1C,uDAAwC,CAAA;IACxC,yDAA0C,CAAA;IAC1C,8DAA+C,CAAA;IAC/C,uCAAwB,CAAA;IACxB,yCAA0B,CAAA;IAC1B,2CAA4B,CAAA;IAC5B,yDAA0C,CAAA;IAC1C,wDAAyC,CAAA;AAC3C,CAAC,EAZW,WAAW,KAAX,WAAW,QAYtB;AAQD,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAuBD,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;IAC7B,mDAA+B,CAAA;IAC/B,iCAAa,CAAA;AACf,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAOD,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B"}
|
|
@@ -6,6 +6,7 @@ export * from './destinations/third-party-destination-configs.js';
|
|
|
6
6
|
export * from './destinations/third-party-integration-configs.js';
|
|
7
7
|
export * from './shopify-app-install.js';
|
|
8
8
|
export * from './subscription.js';
|
|
9
|
+
export * from './feature.js';
|
|
9
10
|
export * from './promotion-code.js';
|
|
10
11
|
export * from './user.js';
|
|
11
12
|
export * from './query.js';
|
|
@@ -6,6 +6,7 @@ export * from './destinations/third-party-destination-configs.js';
|
|
|
6
6
|
export * from './destinations/third-party-integration-configs.js';
|
|
7
7
|
export * from './shopify-app-install.js';
|
|
8
8
|
export * from './subscription.js';
|
|
9
|
+
export * from './feature.js';
|
|
9
10
|
export * from './promotion-code.js';
|
|
10
11
|
export * from './user.js';
|
|
11
12
|
export * from './query.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2DAA2D,CAAC;AAC1E,cAAc,mDAAmD,CAAC;AAClE,cAAc,mDAAmD,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2DAA2D,CAAC;AAC1E,cAAc,mDAAmD,CAAC;AAClE,cAAc,mDAAmD,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PlanFeatures } from './feature.js';
|
|
1
2
|
export interface Subscription {
|
|
2
3
|
id: string;
|
|
3
4
|
accountId?: string;
|
|
@@ -189,30 +190,3 @@ export declare enum USAGE_BILLING_STATUS {
|
|
|
189
190
|
PAID = "paid",
|
|
190
191
|
FAILED = "failed"
|
|
191
192
|
}
|
|
192
|
-
export declare enum FEATURE_KEY {
|
|
193
|
-
COMPARE = "compare",
|
|
194
|
-
FACEBOOK_INTEGRATION = "facebookIntegration",
|
|
195
|
-
CONTACT_ACQUISITION = "contactAcquisition",
|
|
196
|
-
ADVANCED_ANALYTICS = "advancedAnalytics",
|
|
197
|
-
KLAVIYO_INTEGRATION = "klaviyoIntegration",
|
|
198
|
-
GOOGLE_ADS_INTEGRATION = "googleAdsIntegration",
|
|
199
|
-
API_ACCESS = "apiAccess",
|
|
200
|
-
MULTI_PIXEL = "multiPixel",
|
|
201
|
-
TEAM_MEMBERS = "teamMembers",
|
|
202
|
-
CHANNEL_ATTRIBUTION = "channelAttribution",
|
|
203
|
-
REAL_TIME_ANALYTICS = "realTimeAnalytics"
|
|
204
|
-
}
|
|
205
|
-
export declare enum PLAN_TIER {
|
|
206
|
-
BASIC = "basic",
|
|
207
|
-
ADVANCED = "advanced",
|
|
208
|
-
LEGACY = "legacy"
|
|
209
|
-
}
|
|
210
|
-
export interface FeatureEntitlement {
|
|
211
|
-
featureKey: FEATURE_KEY;
|
|
212
|
-
enabled: boolean;
|
|
213
|
-
limit?: number;
|
|
214
|
-
}
|
|
215
|
-
export interface PlanFeatures {
|
|
216
|
-
tier: PLAN_TIER;
|
|
217
|
-
entitlements: FeatureEntitlement[];
|
|
218
|
-
}
|
|
@@ -43,24 +43,4 @@ export var USAGE_BILLING_STATUS;
|
|
|
43
43
|
USAGE_BILLING_STATUS["PAID"] = "paid";
|
|
44
44
|
USAGE_BILLING_STATUS["FAILED"] = "failed";
|
|
45
45
|
})(USAGE_BILLING_STATUS || (USAGE_BILLING_STATUS = {}));
|
|
46
|
-
export var FEATURE_KEY;
|
|
47
|
-
(function (FEATURE_KEY) {
|
|
48
|
-
FEATURE_KEY["COMPARE"] = "compare";
|
|
49
|
-
FEATURE_KEY["FACEBOOK_INTEGRATION"] = "facebookIntegration";
|
|
50
|
-
FEATURE_KEY["CONTACT_ACQUISITION"] = "contactAcquisition";
|
|
51
|
-
FEATURE_KEY["ADVANCED_ANALYTICS"] = "advancedAnalytics";
|
|
52
|
-
FEATURE_KEY["KLAVIYO_INTEGRATION"] = "klaviyoIntegration";
|
|
53
|
-
FEATURE_KEY["GOOGLE_ADS_INTEGRATION"] = "googleAdsIntegration";
|
|
54
|
-
FEATURE_KEY["API_ACCESS"] = "apiAccess";
|
|
55
|
-
FEATURE_KEY["MULTI_PIXEL"] = "multiPixel";
|
|
56
|
-
FEATURE_KEY["TEAM_MEMBERS"] = "teamMembers";
|
|
57
|
-
FEATURE_KEY["CHANNEL_ATTRIBUTION"] = "channelAttribution";
|
|
58
|
-
FEATURE_KEY["REAL_TIME_ANALYTICS"] = "realTimeAnalytics";
|
|
59
|
-
})(FEATURE_KEY || (FEATURE_KEY = {}));
|
|
60
|
-
export var PLAN_TIER;
|
|
61
|
-
(function (PLAN_TIER) {
|
|
62
|
-
PLAN_TIER["BASIC"] = "basic";
|
|
63
|
-
PLAN_TIER["ADVANCED"] = "advanced";
|
|
64
|
-
PLAN_TIER["LEGACY"] = "legacy";
|
|
65
|
-
})(PLAN_TIER || (PLAN_TIER = {}));
|
|
66
46
|
//# sourceMappingURL=subscription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../../src/types/api/subscription.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../../src/types/api/subscription.ts"],"names":[],"mappings":"AAmFA,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,yCAAyB,CAAA;AAC3B,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB;AAmBD,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;AACnB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAED,MAAM,CAAN,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;AACnB,CAAC,EALW,cAAc,KAAd,cAAc,QAKzB;AAED,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,8CAAuB,CAAA;IACvB,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,2CAAoB,CAAA;AACtB,CAAC,EATW,mBAAmB,KAAnB,mBAAmB,QAS9B;AAED,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACrB,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AA4ED,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;AACnB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAED,MAAM,CAAN,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,qCAAa,CAAA;IACb,yCAAiB,CAAA;AACnB,CAAC,EAJW,oBAAoB,KAApB,oBAAoB,QAI/B"}
|