ia-common 1.0.1-beta.35 → 1.0.1-beta.37
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 +4 -0
- package/build/@enum.js +4 -0
- package/build/enum/advice-status.enum.d.ts +5 -0
- package/build/enum/advice-status.enum.js +9 -0
- package/build/enum/advice-type.enum.d.ts +6 -0
- package/build/enum/advice-type.enum.js +10 -0
- package/build/enum/investment-duration-type.enum.d.ts +5 -0
- package/build/enum/investment-duration-type.enum.js +9 -0
- package/build/enum/transaction-type.enum.d.ts +5 -0
- package/build/enum/transaction-type.enum.js +9 -0
- package/build/interface/api/get-advice-by-id.interface.d.ts +5 -0
- package/build/interface/api/get-advice-by-id.interface.js +2 -0
- package/build/interface/api/get-advice-by-ids-status.inteface.d.ts +5 -0
- package/build/interface/api/get-advice-by-ids-status.inteface.js +2 -0
- package/build/interface/api/index.d.ts +2 -0
- package/build/interface/api/index.js +2 -0
- package/build/interface/entity/advice-entity.interface.d.ts +19 -0
- package/build/interface/entity/advice-entity.interface.js +2 -0
- package/build/interface/entity/index.d.ts +1 -0
- package/build/interface/entity/index.js +1 -0
- package/package.json +1 -1
package/build/@enum.d.ts
CHANGED
|
@@ -5,3 +5,7 @@ export * from "./enum/user-type.enum";
|
|
|
5
5
|
export * from "./enum/registration-status.enum";
|
|
6
6
|
export * from "./enum/pricing-plan-status.enum";
|
|
7
7
|
export * from "./enum/subscription-status.enum";
|
|
8
|
+
export * from "./enum/advice-status.enum";
|
|
9
|
+
export * from "./enum/advice-type.enum";
|
|
10
|
+
export * from "./enum/investment-duration-type.enum";
|
|
11
|
+
export * from "./enum/transaction-type.enum";
|
package/build/@enum.js
CHANGED
|
@@ -21,3 +21,7 @@ __exportStar(require("./enum/user-type.enum"), exports);
|
|
|
21
21
|
__exportStar(require("./enum/registration-status.enum"), exports);
|
|
22
22
|
__exportStar(require("./enum/pricing-plan-status.enum"), exports);
|
|
23
23
|
__exportStar(require("./enum/subscription-status.enum"), exports);
|
|
24
|
+
__exportStar(require("./enum/advice-status.enum"), exports);
|
|
25
|
+
__exportStar(require("./enum/advice-type.enum"), exports);
|
|
26
|
+
__exportStar(require("./enum/investment-duration-type.enum"), exports);
|
|
27
|
+
__exportStar(require("./enum/transaction-type.enum"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdviceStatus = void 0;
|
|
4
|
+
var AdviceStatus;
|
|
5
|
+
(function (AdviceStatus) {
|
|
6
|
+
AdviceStatus["PENDING"] = "pending";
|
|
7
|
+
AdviceStatus["EXPIRE"] = "expire";
|
|
8
|
+
AdviceStatus["ACHIEVED"] = "achieved";
|
|
9
|
+
})(AdviceStatus || (exports.AdviceStatus = AdviceStatus = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdviceType = void 0;
|
|
4
|
+
var AdviceType;
|
|
5
|
+
(function (AdviceType) {
|
|
6
|
+
AdviceType["EQUITY"] = "equity";
|
|
7
|
+
AdviceType["MF"] = "mf";
|
|
8
|
+
AdviceType["FUTURE_OPTIONS"] = "future_options";
|
|
9
|
+
AdviceType["CORPORATE_ACTIONS"] = "corporate_actions";
|
|
10
|
+
})(AdviceType || (exports.AdviceType = AdviceType = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvestDurationType = void 0;
|
|
4
|
+
var InvestDurationType;
|
|
5
|
+
(function (InvestDurationType) {
|
|
6
|
+
InvestDurationType["DAY_TRADE"] = "day_trade";
|
|
7
|
+
InvestDurationType["SHORT_TERM"] = "short_term";
|
|
8
|
+
InvestDurationType["LONG_TERM"] = "long_term";
|
|
9
|
+
})(InvestDurationType || (exports.InvestDurationType = InvestDurationType = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdviceTransactionType = void 0;
|
|
4
|
+
var AdviceTransactionType;
|
|
5
|
+
(function (AdviceTransactionType) {
|
|
6
|
+
AdviceTransactionType["BUY"] = "buy";
|
|
7
|
+
AdviceTransactionType["SELL"] = "sell";
|
|
8
|
+
AdviceTransactionType["HOLD"] = "hold";
|
|
9
|
+
})(AdviceTransactionType || (exports.AdviceTransactionType = AdviceTransactionType = {}));
|
|
@@ -17,3 +17,5 @@ export * from "./update-pricing-plan-by-id.interface";
|
|
|
17
17
|
export * from "./login.interface";
|
|
18
18
|
export * from "./update-registration.interface";
|
|
19
19
|
export * from "./get-organization-by-id.interface";
|
|
20
|
+
export * from "./get-advice-by-id.interface";
|
|
21
|
+
export * from "./get-advice-by-ids-status.inteface";
|
|
@@ -33,3 +33,5 @@ __exportStar(require("./update-pricing-plan-by-id.interface"), exports);
|
|
|
33
33
|
__exportStar(require("./login.interface"), exports);
|
|
34
34
|
__exportStar(require("./update-registration.interface"), exports);
|
|
35
35
|
__exportStar(require("./get-organization-by-id.interface"), exports);
|
|
36
|
+
__exportStar(require("./get-advice-by-id.interface"), exports);
|
|
37
|
+
__exportStar(require("./get-advice-by-ids-status.inteface"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AdviceStatus, AdviceTransactionType, AdviceType, InvestDurationType } from "../../@enum";
|
|
2
|
+
import { IEntityAuditColumn } from "./entity-audit-column.interface";
|
|
3
|
+
export interface IAdviceEntity extends IEntityAuditColumn {
|
|
4
|
+
id: number;
|
|
5
|
+
type: AdviceType;
|
|
6
|
+
advisorId: number;
|
|
7
|
+
stockName: string;
|
|
8
|
+
cmp: number;
|
|
9
|
+
targetPrice: number;
|
|
10
|
+
stopLoss: number;
|
|
11
|
+
investmentDurationType: InvestDurationType;
|
|
12
|
+
transactionType: AdviceTransactionType;
|
|
13
|
+
fromDate: number;
|
|
14
|
+
toDate: number;
|
|
15
|
+
noteDocumentUrl: string | null;
|
|
16
|
+
videoUrl: string | null;
|
|
17
|
+
voiceUrl: string | null;
|
|
18
|
+
status: AdviceStatus;
|
|
19
|
+
}
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./registration-entity"), exports);
|
|
|
21
21
|
__exportStar(require("./bank-details-entity.interface"), exports);
|
|
22
22
|
__exportStar(require("./pricing-plan-entity.interface"), exports);
|
|
23
23
|
__exportStar(require("./subscription-entity.interface"), exports);
|
|
24
|
+
__exportStar(require("./advice-entity.interface"), exports);
|