ia-common 1.0.1-beta.83 → 1.0.1-beta.84
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/mutual-fund-advice-duration.enum.d.ts +4 -0
- package/build/enum/mutual-fund-advice-duration.enum.js +8 -0
- package/build/enum/mutual-fund-advice-type.enum.d.ts +5 -0
- package/build/enum/mutual-fund-advice-type.enum.js +9 -0
- package/build/interface/api/advisor-user-mapping-entity.interface.d.ts +4 -0
- package/build/interface/api/advisor-user-mapping-entity.interface.js +2 -0
- package/build/interface/api/create-mutual-fund-advice.interface.d.ts +15 -0
- package/build/interface/api/create-mutual-fund-advice.interface.js +2 -0
- package/build/interface/api/index.d.ts +2 -0
- package/build/interface/api/index.js +2 -0
- package/build/interface/entity/index.d.ts +1 -0
- package/build/interface/entity/index.js +1 -0
- package/build/interface/entity/mutual-fund-advice-entity.interface.d.ts +17 -0
- package/build/interface/entity/mutual-fund-advice-entity.interface.js +2 -0
- package/package.json +1 -1
package/build/@enum.d.ts
CHANGED
|
@@ -12,3 +12,5 @@ export * from "./enum/transaction-type.enum";
|
|
|
12
12
|
export * from "./enum/mutual-funds-risk.enum";
|
|
13
13
|
export * from "./enum/mutual-funds-type.enum";
|
|
14
14
|
export * from "./enum/owner-operation-type.enum";
|
|
15
|
+
export * from "./enum/mutual-fund-advice-duration.enum";
|
|
16
|
+
export * from "./enum/mutual-fund-advice-type.enum";
|
package/build/@enum.js
CHANGED
|
@@ -28,3 +28,5 @@ __exportStar(require("./enum/transaction-type.enum"), exports);
|
|
|
28
28
|
__exportStar(require("./enum/mutual-funds-risk.enum"), exports);
|
|
29
29
|
__exportStar(require("./enum/mutual-funds-type.enum"), exports);
|
|
30
30
|
__exportStar(require("./enum/owner-operation-type.enum"), exports);
|
|
31
|
+
__exportStar(require("./enum/mutual-fund-advice-duration.enum"), exports);
|
|
32
|
+
__exportStar(require("./enum/mutual-fund-advice-type.enum"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MutualFundAdviceDuration = void 0;
|
|
4
|
+
var MutualFundAdviceDuration;
|
|
5
|
+
(function (MutualFundAdviceDuration) {
|
|
6
|
+
MutualFundAdviceDuration["SHORT"] = "short";
|
|
7
|
+
MutualFundAdviceDuration["LONG"] = "long";
|
|
8
|
+
})(MutualFundAdviceDuration || (exports.MutualFundAdviceDuration = MutualFundAdviceDuration = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MutualFundTransactionType = void 0;
|
|
4
|
+
var MutualFundTransactionType;
|
|
5
|
+
(function (MutualFundTransactionType) {
|
|
6
|
+
MutualFundTransactionType["BUY"] = "buy";
|
|
7
|
+
MutualFundTransactionType["REDEEM"] = "redeem";
|
|
8
|
+
MutualFundTransactionType["SWITCH"] = "switch";
|
|
9
|
+
})(MutualFundTransactionType || (exports.MutualFundTransactionType = MutualFundTransactionType = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MutualFundAdviceDuration, MutualFundTransactionType } from "../../@enum";
|
|
2
|
+
import { IMutualFundAdviceEntity } from "../entity";
|
|
3
|
+
export interface ICreateMutualFundAdviceResponse extends IMutualFundAdviceEntity {
|
|
4
|
+
}
|
|
5
|
+
export interface ICreateMutualFundAdviceRequest {
|
|
6
|
+
transactionType: MutualFundTransactionType;
|
|
7
|
+
investMentDuration: MutualFundAdviceDuration;
|
|
8
|
+
startDate: number;
|
|
9
|
+
endDate: number;
|
|
10
|
+
switchFrom?: string;
|
|
11
|
+
rationale?: string;
|
|
12
|
+
noteDocument?: string;
|
|
13
|
+
videoDocument?: string;
|
|
14
|
+
voiceDocument?: string;
|
|
15
|
+
}
|
|
@@ -25,3 +25,5 @@ export * from "./add-mutual-funds.interface";
|
|
|
25
25
|
export * from "./get-mutual-funds-by-type.interface";
|
|
26
26
|
export * from "./create-client.interface";
|
|
27
27
|
export * from "./get-user-entities-by-advisor-id-type.interface";
|
|
28
|
+
export * from "./create-mutual-fund-advice.interface";
|
|
29
|
+
export * from "./advisor-user-mapping-entity.interface";
|
|
@@ -41,3 +41,5 @@ __exportStar(require("./add-mutual-funds.interface"), exports);
|
|
|
41
41
|
__exportStar(require("./get-mutual-funds-by-type.interface"), exports);
|
|
42
42
|
__exportStar(require("./create-client.interface"), exports);
|
|
43
43
|
__exportStar(require("./get-user-entities-by-advisor-id-type.interface"), exports);
|
|
44
|
+
__exportStar(require("./create-mutual-fund-advice.interface"), exports);
|
|
45
|
+
__exportStar(require("./advisor-user-mapping-entity.interface"), exports);
|
|
@@ -24,3 +24,4 @@ __exportStar(require("./subscription-entity.interface"), exports);
|
|
|
24
24
|
__exportStar(require("./advice-entity.interface"), exports);
|
|
25
25
|
__exportStar(require("./mutual-funds-entity.interface"), exports);
|
|
26
26
|
__exportStar(require("../model/organization-entity-model.interface"), exports);
|
|
27
|
+
__exportStar(require("./mutual-fund-advice-entity.interface"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MutualFundAdviceDuration, MutualFundTransactionType } from "../../@enum";
|
|
2
|
+
import { IEntityAuditColumn } from "./entity-audit-column.interface";
|
|
3
|
+
export interface IMutualFundAdviceEntity extends IEntityAuditColumn {
|
|
4
|
+
id: number;
|
|
5
|
+
schemeName: string;
|
|
6
|
+
navRegular: number;
|
|
7
|
+
navDirect: number;
|
|
8
|
+
transactionType: MutualFundTransactionType;
|
|
9
|
+
investmentDuration: MutualFundAdviceDuration;
|
|
10
|
+
switchFrom: string | null;
|
|
11
|
+
rationale: string | null;
|
|
12
|
+
noteDocumentUrl: string | null;
|
|
13
|
+
videoUrl: string | null;
|
|
14
|
+
voiceUrl: string | null;
|
|
15
|
+
startDate: number;
|
|
16
|
+
endDate: number;
|
|
17
|
+
}
|