@adtrackify/at-tracking-event-types 2.1.1 → 2.2.1
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/destinations/destinations.d.ts +4 -0
- package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
- package/dist/cjs/types/api/pixel-setup-health.d.ts +1 -0
- package/dist/cjs/types/api/subscription.d.ts +25 -2
- package/dist/cjs/types/api/subscription.js +6 -1
- package/dist/cjs/types/api/subscription.js.map +1 -1
- package/dist/esm/types/api/destinations/destinations.d.ts +4 -0
- package/dist/esm/types/api/destinations/destinations.js.map +1 -1
- package/dist/esm/types/api/pixel-setup-health.d.ts +1 -0
- package/dist/esm/types/api/subscription.d.ts +25 -2
- package/dist/esm/types/api/subscription.js +5 -0
- package/dist/esm/types/api/subscription.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,10 @@ export interface Destination {
|
|
|
9
9
|
configuration?: UserDestinationConfiguration;
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
|
+
orderConfig?: DestinationOrderConfig;
|
|
13
|
+
}
|
|
14
|
+
export interface DestinationOrderConfig {
|
|
15
|
+
blockedSources: string[];
|
|
12
16
|
}
|
|
13
17
|
export declare enum DESTINATION_TYPE {
|
|
14
18
|
INTEGRATION = "integration",
|
|
@@ -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":";;;AAkBA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;AAC7B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,WAiBX;AAjBD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,sDAAuC,CAAA;IACvC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,qCAAsB,CAAA;IACtB,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,yCAA0B,CAAA;IAC1B,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;IAC/C,sCAAuB,CAAA;AACzB,CAAC,EAjBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAiBtB"}
|
|
@@ -16,16 +16,18 @@ export interface Subscription {
|
|
|
16
16
|
updatedAt: string;
|
|
17
17
|
}
|
|
18
18
|
export interface SubscriptionPlan {
|
|
19
|
-
id:
|
|
19
|
+
id: string;
|
|
20
20
|
planName: string;
|
|
21
21
|
displayName: string;
|
|
22
22
|
description: string;
|
|
23
23
|
sku: string;
|
|
24
|
-
price:
|
|
24
|
+
price: number;
|
|
25
25
|
displayPrice: string;
|
|
26
|
+
discountId: string;
|
|
26
27
|
billingFrequency: PLAN_BILLING_FREQUENCY;
|
|
27
28
|
trialLengthDays?: number;
|
|
28
29
|
trialRequiresCreditCard?: boolean;
|
|
30
|
+
enableUsage: boolean;
|
|
29
31
|
orderUsageLimit?: number;
|
|
30
32
|
planDesc?: string[];
|
|
31
33
|
unitPriceText?: string;
|
|
@@ -35,6 +37,27 @@ export interface SubscriptionPlan {
|
|
|
35
37
|
bannerColor?: string;
|
|
36
38
|
stripePriceId?: string;
|
|
37
39
|
stripeProductId?: string;
|
|
40
|
+
isActive: boolean;
|
|
41
|
+
isPublic: boolean;
|
|
42
|
+
isDiscountable: boolean;
|
|
43
|
+
createdAt: string;
|
|
44
|
+
updatedAt: string;
|
|
45
|
+
}
|
|
46
|
+
export interface Discount {
|
|
47
|
+
id: string;
|
|
48
|
+
code: string;
|
|
49
|
+
isActive: boolean;
|
|
50
|
+
applicableBillingFrequency: PLAN_BILLING_FREQUENCY;
|
|
51
|
+
billingIntervalDurationLimit: number;
|
|
52
|
+
discountType: DiscountType;
|
|
53
|
+
discountValue: number;
|
|
54
|
+
activeUntil?: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
updatedAt: string;
|
|
57
|
+
}
|
|
58
|
+
export declare enum DiscountType {
|
|
59
|
+
FIXED = "fixed",
|
|
60
|
+
PERCENTAGE = "percentage"
|
|
38
61
|
}
|
|
39
62
|
export interface PlanUsage {
|
|
40
63
|
usage75: boolean;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PAYMENT_GATEWAY = exports.SUBSCRIPTION_STATUS = exports.PAYMENT_STATUS = exports.PLAN_BILLING_FREQUENCY = void 0;
|
|
3
|
+
exports.PAYMENT_GATEWAY = exports.SUBSCRIPTION_STATUS = exports.PAYMENT_STATUS = exports.PLAN_BILLING_FREQUENCY = exports.DiscountType = void 0;
|
|
4
|
+
var DiscountType;
|
|
5
|
+
(function (DiscountType) {
|
|
6
|
+
DiscountType["FIXED"] = "fixed";
|
|
7
|
+
DiscountType["PERCENTAGE"] = "percentage";
|
|
8
|
+
})(DiscountType = exports.DiscountType || (exports.DiscountType = {}));
|
|
4
9
|
var PLAN_BILLING_FREQUENCY;
|
|
5
10
|
(function (PLAN_BILLING_FREQUENCY) {
|
|
6
11
|
PLAN_BILLING_FREQUENCY["MONTHLY"] = "monthly";
|
|
@@ -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":";;;AA2DA,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,yCAAyB,CAAA;AAC3B,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAYD,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,mBAQX;AARD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,8CAAuB,CAAA;IACvB,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,2CAAoB,CAAA;AACtB,CAAC,EARW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQ9B;AACD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACrB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B"}
|
|
@@ -9,6 +9,10 @@ export interface Destination {
|
|
|
9
9
|
configuration?: UserDestinationConfiguration;
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
|
+
orderConfig?: DestinationOrderConfig;
|
|
13
|
+
}
|
|
14
|
+
export interface DestinationOrderConfig {
|
|
15
|
+
blockedSources: string[];
|
|
12
16
|
}
|
|
13
17
|
export declare enum DESTINATION_TYPE {
|
|
14
18
|
INTEGRATION = "integration",
|
|
@@ -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":"AAkBA,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;AAC7B,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAED,MAAM,CAAN,IAAY,WAiBX;AAjBD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,uCAAwB,CAAA;IACxB,sDAAuC,CAAA;IACvC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,qCAAsB,CAAA;IACtB,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,yCAA0B,CAAA;IAC1B,2DAA4C,CAAA;IAC5C,8DAA+C,CAAA;IAC/C,sCAAuB,CAAA;AACzB,CAAC,EAjBW,WAAW,KAAX,WAAW,QAiBtB"}
|
|
@@ -16,16 +16,18 @@ export interface Subscription {
|
|
|
16
16
|
updatedAt: string;
|
|
17
17
|
}
|
|
18
18
|
export interface SubscriptionPlan {
|
|
19
|
-
id:
|
|
19
|
+
id: string;
|
|
20
20
|
planName: string;
|
|
21
21
|
displayName: string;
|
|
22
22
|
description: string;
|
|
23
23
|
sku: string;
|
|
24
|
-
price:
|
|
24
|
+
price: number;
|
|
25
25
|
displayPrice: string;
|
|
26
|
+
discountId: string;
|
|
26
27
|
billingFrequency: PLAN_BILLING_FREQUENCY;
|
|
27
28
|
trialLengthDays?: number;
|
|
28
29
|
trialRequiresCreditCard?: boolean;
|
|
30
|
+
enableUsage: boolean;
|
|
29
31
|
orderUsageLimit?: number;
|
|
30
32
|
planDesc?: string[];
|
|
31
33
|
unitPriceText?: string;
|
|
@@ -35,6 +37,27 @@ export interface SubscriptionPlan {
|
|
|
35
37
|
bannerColor?: string;
|
|
36
38
|
stripePriceId?: string;
|
|
37
39
|
stripeProductId?: string;
|
|
40
|
+
isActive: boolean;
|
|
41
|
+
isPublic: boolean;
|
|
42
|
+
isDiscountable: boolean;
|
|
43
|
+
createdAt: string;
|
|
44
|
+
updatedAt: string;
|
|
45
|
+
}
|
|
46
|
+
export interface Discount {
|
|
47
|
+
id: string;
|
|
48
|
+
code: string;
|
|
49
|
+
isActive: boolean;
|
|
50
|
+
applicableBillingFrequency: PLAN_BILLING_FREQUENCY;
|
|
51
|
+
billingIntervalDurationLimit: number;
|
|
52
|
+
discountType: DiscountType;
|
|
53
|
+
discountValue: number;
|
|
54
|
+
activeUntil?: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
updatedAt: string;
|
|
57
|
+
}
|
|
58
|
+
export declare enum DiscountType {
|
|
59
|
+
FIXED = "fixed",
|
|
60
|
+
PERCENTAGE = "percentage"
|
|
38
61
|
}
|
|
39
62
|
export interface PlanUsage {
|
|
40
63
|
usage75: boolean;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export var DiscountType;
|
|
2
|
+
(function (DiscountType) {
|
|
3
|
+
DiscountType["FIXED"] = "fixed";
|
|
4
|
+
DiscountType["PERCENTAGE"] = "percentage";
|
|
5
|
+
})(DiscountType || (DiscountType = {}));
|
|
1
6
|
export var PLAN_BILLING_FREQUENCY;
|
|
2
7
|
(function (PLAN_BILLING_FREQUENCY) {
|
|
3
8
|
PLAN_BILLING_FREQUENCY["MONTHLY"] = "monthly";
|
|
@@ -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":"AA2DA,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,yCAAyB,CAAA;AAC3B,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB;AAYD,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,mBAQX;AARD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,8CAAuB,CAAA;IACvB,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,2CAAoB,CAAA;AACtB,CAAC,EARW,mBAAmB,KAAnB,mBAAmB,QAQ9B;AACD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACrB,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
|