ia-common 1.0.1-beta.83 → 1.0.1-beta.85

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 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,4 @@
1
+ export declare enum MutualFundAdviceDuration {
2
+ SHORT = "short",
3
+ LONG = "long"
4
+ }
@@ -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,5 @@
1
+ export declare enum MutualFundTransactionType {
2
+ BUY = "buy",
3
+ REDEEM = "redeem",
4
+ SWITCH = "switch"
5
+ }
@@ -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,4 @@
1
+ export interface IAdvisorUserMappingEntity {
2
+ advisorId: number;
3
+ clientId: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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);
@@ -8,3 +8,4 @@ export * from "./subscription-entity.interface";
8
8
  export * from "./advice-entity.interface";
9
9
  export * from "./mutual-funds-entity.interface";
10
10
  export * from "../model/organization-entity-model.interface";
11
+ export * from "./mutual-fund-advice-entity.interface";
@@ -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,18 @@
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
+ advisorId: number;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ia-common",
3
- "version": "1.0.1-beta.83",
3
+ "version": "1.0.1-beta.85",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",