ia-common 1.0.1-beta.4 → 1.0.1-beta.6
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/build/@enum.d.ts +2 -0
- package/build/@enum.js +2 -0
- package/build/enum/pricing-plan-status.enum.d.ts +4 -0
- package/build/enum/pricing-plan-status.enum.js +8 -0
- package/build/enum/subscription-status.enum.d.ts +9 -0
- package/build/enum/subscription-status.enum.js +13 -0
- package/build/interface/entity/bank-details-entity.interface.d.ts +12 -0
- package/build/interface/entity/bank-details-entity.interface.js +2 -0
- package/build/interface/entity/index.d.ts +3 -0
- package/build/interface/entity/index.js +3 -0
- package/build/interface/entity/pricing-plan-entity.interface.d.ts +10 -0
- package/build/interface/entity/pricing-plan-entity.interface.js +2 -0
- package/build/interface/entity/subscription-entity.interface.d.ts +17 -0
- package/build/interface/entity/subscription-entity.interface.js +2 -0
- package/package.json +1 -1
package/build/@enum.d.ts
CHANGED
|
@@ -3,3 +3,5 @@ export * from "./enum/organization-type.enum";
|
|
|
3
3
|
export * from "./enum/user-status.enum";
|
|
4
4
|
export * from "./enum/user-type.enum";
|
|
5
5
|
export * from "./enum/registration-status.enum";
|
|
6
|
+
export * from "./enum/pricing-plan-status.enum";
|
|
7
|
+
export * from "./enum/subscription-status.enum";
|
package/build/@enum.js
CHANGED
|
@@ -19,3 +19,5 @@ __exportStar(require("./enum/organization-type.enum"), exports);
|
|
|
19
19
|
__exportStar(require("./enum/user-status.enum"), exports);
|
|
20
20
|
__exportStar(require("./enum/user-type.enum"), exports);
|
|
21
21
|
__exportStar(require("./enum/registration-status.enum"), exports);
|
|
22
|
+
__exportStar(require("./enum/pricing-plan-status.enum"), exports);
|
|
23
|
+
__exportStar(require("./enum/subscription-status.enum"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricingPlanStatus = void 0;
|
|
4
|
+
var PricingPlanStatus;
|
|
5
|
+
(function (PricingPlanStatus) {
|
|
6
|
+
PricingPlanStatus["ACTIVE"] = "active";
|
|
7
|
+
PricingPlanStatus["DEACTIVE"] = "deactive";
|
|
8
|
+
})(PricingPlanStatus || (exports.PricingPlanStatus = PricingPlanStatus = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscriptionStatus = void 0;
|
|
4
|
+
var SubscriptionStatus;
|
|
5
|
+
(function (SubscriptionStatus) {
|
|
6
|
+
SubscriptionStatus["ACTIVE"] = "active";
|
|
7
|
+
SubscriptionStatus["DEACTIVE"] = "deactive";
|
|
8
|
+
SubscriptionStatus["PAYMENT_DONE"] = "payment_done";
|
|
9
|
+
SubscriptionStatus["PAYMENT_PENDING"] = "payment_pending";
|
|
10
|
+
SubscriptionStatus["REJECT"] = "reject";
|
|
11
|
+
SubscriptionStatus["SETUP_INVALID"] = "setup_invalid";
|
|
12
|
+
SubscriptionStatus["SETUP_DONE"] = "setup_done";
|
|
13
|
+
})(SubscriptionStatus || (exports.SubscriptionStatus = SubscriptionStatus = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IEntityAuditColumn } from "./entity-audit-column.interface";
|
|
2
|
+
export interface IBankDetailEntity extends IEntityAuditColumn {
|
|
3
|
+
id: number;
|
|
4
|
+
bankName: string;
|
|
5
|
+
accountNo: string;
|
|
6
|
+
ifscCode: string;
|
|
7
|
+
upiId: string;
|
|
8
|
+
qrCode: string | null;
|
|
9
|
+
bankAddress: string;
|
|
10
|
+
branch: string;
|
|
11
|
+
accountName: string;
|
|
12
|
+
}
|
|
@@ -2,3 +2,6 @@ export * from "./entity-audit-column.interface";
|
|
|
2
2
|
export * from "./organization-entity.interface";
|
|
3
3
|
export * from "./user-entity.interface";
|
|
4
4
|
export * from "./registration-entity";
|
|
5
|
+
export * from "./bank-details-entity.interface";
|
|
6
|
+
export * from "./pricing-plan-entity.interface";
|
|
7
|
+
export * from "./subscription-entity.interface";
|
|
@@ -18,3 +18,6 @@ __exportStar(require("./entity-audit-column.interface"), exports);
|
|
|
18
18
|
__exportStar(require("./organization-entity.interface"), exports);
|
|
19
19
|
__exportStar(require("./user-entity.interface"), exports);
|
|
20
20
|
__exportStar(require("./registration-entity"), exports);
|
|
21
|
+
__exportStar(require("./bank-details-entity.interface"), exports);
|
|
22
|
+
__exportStar(require("./pricing-plan-entity.interface"), exports);
|
|
23
|
+
__exportStar(require("./subscription-entity.interface"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PricingPlanStatus } from "../../@enum";
|
|
2
|
+
import { IEntityAuditColumn } from "./entity-audit-column.interface";
|
|
3
|
+
export interface IPricingPlanEntity extends IEntityAuditColumn {
|
|
4
|
+
id: number;
|
|
5
|
+
effectiveFrom: number;
|
|
6
|
+
effectiveTo: number;
|
|
7
|
+
status: PricingPlanStatus;
|
|
8
|
+
basePrice: number;
|
|
9
|
+
billingCycle: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SubscriptionStatus } from "../../@enum";
|
|
2
|
+
import { IEntityAuditColumn } from "./entity-audit-column.interface";
|
|
3
|
+
export interface ISubscriptionEntity extends IEntityAuditColumn {
|
|
4
|
+
id: number;
|
|
5
|
+
fromDateCode: number;
|
|
6
|
+
toDateCode: number;
|
|
7
|
+
organizationId: number;
|
|
8
|
+
type: string;
|
|
9
|
+
grossAmount: number;
|
|
10
|
+
discount: string;
|
|
11
|
+
netAmount: number;
|
|
12
|
+
amountPaid: number;
|
|
13
|
+
status: SubscriptionStatus;
|
|
14
|
+
remarks: string;
|
|
15
|
+
registrationId: number;
|
|
16
|
+
pricingPlanId: number;
|
|
17
|
+
}
|