ia-common 1.1.1-beta.3 → 1.1.1-beta.30
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/src/@enum.d.ts +1 -33
- package/build/src/@enum.js +1 -33
- package/build/src/enum/corporate-actions/corporate-actions-type.enum.js +0 -1
- package/build/src/enum/error.key.enum.d.ts +3 -1
- package/build/src/enum/error.key.enum.js +2 -0
- package/build/src/enum/index.d.ts +34 -0
- package/build/src/enum/index.js +50 -0
- package/build/src/enum/permission-actions.enum.d.ts +7 -0
- package/build/src/enum/permission-actions.enum.js +11 -0
- package/build/src/enum/user/user-role.enum.d.ts +2 -4
- package/build/src/enum/user/user-role.enum.js +6 -4
- package/build/src/interface/api/bank-details-create-dto..interface.d.ts +4 -3
- package/build/src/interface/api/bank-details-update.dto.interface.d.ts +1 -3
- package/build/src/interface/api/configuration-update-dto.interface.d.ts +1 -1
- package/build/src/interface/api/corporate-actions-create.dto.d.ts +1 -1
- package/build/src/interface/api/create-corporate-action-advice.interface.d.ts +5 -6
- package/build/src/interface/api/create-user-dto.interface.d.ts +1 -2
- package/build/src/interface/api/equity-advice-create-dto.interface.d.ts +1 -1
- package/build/src/interface/api/equity-advice-update-dto..d.ts +1 -1
- package/build/src/interface/api/get-corporate-actions.interface.d.ts +1 -1
- package/build/src/interface/api/get-corporate-actions.interface.js +1 -1
- package/build/src/interface/api/get-cron-job-by-date-range.interface.d.ts +1 -1
- package/build/src/interface/api/get-staff-members.interface.d.ts +1 -1
- package/build/src/interface/api/index.d.ts +2 -0
- package/build/src/interface/api/index.js +2 -0
- package/build/src/interface/api/login.interface.d.ts +0 -1
- package/build/src/interface/api/manual-trigger-cron-job.interface.d.ts +1 -1
- package/build/src/interface/api/mutual-fund-advice-create-dto.interface.d.ts +1 -1
- package/build/src/interface/api/mutual-funds-create-dto.interface.d.ts +1 -1
- package/build/src/interface/api/nfo-advice-update-dto.interface.d.ts +1 -1
- package/build/src/interface/api/organization-update-dto.interface.d.ts +1 -1
- package/build/src/interface/api/permission.create.dto.interface.d.ts +4 -1
- package/build/src/interface/api/permission.update.dto.interface.d.ts +5 -1
- package/build/src/interface/api/pricing-plan-create.dto.interface.d.ts +3 -8
- package/build/src/interface/api/pricing-plan-update-dto.interface.d.ts +2 -2
- package/build/src/interface/api/role-user-mapping-create-dto.interface.d.ts +7 -0
- package/build/src/interface/api/role-user-mapping-create-dto.interface.js +2 -0
- package/build/src/interface/api/role-user-mapping-delete-dto.interface.d.ts +3 -0
- package/build/src/interface/api/role-user-mapping-delete-dto.interface.js +2 -0
- package/build/src/interface/api/subscription-create.dto.interface.d.ts +7 -1
- package/build/src/interface/api/subscription-update.dto.interface.d.ts +4 -7
- package/build/src/interface/api/update-corporate-action-advice.interface.d.ts +4 -7
- package/build/src/interface/api/update-corporate-action.interface.d.ts +1 -1
- package/build/src/interface/api/update-pricing-plan-by-id.interface.d.ts +2 -2
- package/build/src/interface/corporate-actions/base-corporate-actions.interface.d.ts +2 -1
- package/build/src/interface/corporate-actions/buy-back-corporate-actions.interface.d.ts +1 -1
- package/build/src/interface/corporate-actions/ipo-corporate-action.interface.d.ts +1 -1
- package/build/src/interface/corporate-actions/split-bonus-corporate-action.interface.d.ts +1 -1
- package/build/src/interface/entity/advice-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/advisor-user-mapping-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/bank-details-entity.interface.d.ts +2 -2
- package/build/src/interface/entity/configurations-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/corporate-action-advice-entity.interface.d.ts +4 -4
- package/build/src/interface/entity/cron-job-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/entity-utils.interface.d.ts +6 -3
- package/build/src/interface/entity/entity-utils.interface.js +1 -0
- package/build/src/interface/entity/equity-advice-in-process-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/index.d.ts +1 -0
- package/build/src/interface/entity/index.js +1 -0
- package/build/src/interface/entity/mutual-fund-advice-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/mutual-funds-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/nfo-advice-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/nfo-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/permission.entity.interface.d.ts +2 -1
- package/build/src/interface/entity/pricing-plan-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/relation-config.interface.d.ts +1 -1
- package/build/src/interface/entity/role-user-mapping-entity.interface.d.ts +8 -0
- package/build/src/interface/entity/role-user-mapping-entity.interface.js +2 -0
- package/build/src/interface/entity/role.entity.interface.d.ts +0 -1
- package/build/src/interface/entity/subscription-entity.interface.d.ts +1 -1
- package/build/src/interface/entity/user-entity.interface.d.ts +0 -2
- package/build/src/model/bank-details-entity-model.d.ts +2 -2
- package/build/src/model/bank-details-entity-model.js +3 -3
- package/build/src/model/corporate-actions/bonus-corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/bonus-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/buy-back-corporate-action-model.d.ts +3 -1
- package/build/src/model/corporate-actions/buy-back-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/corporate-action-model.js +4 -3
- package/build/src/model/corporate-actions/corporate-actions-advice-model.d.ts +4 -4
- package/build/src/model/corporate-actions/corporate-actions-advice-model.js +3 -3
- package/build/src/model/corporate-actions/delisting-corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/delisting-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/dividend-corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/dividend-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/fpo-corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/fpo-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/ipo-corporate-action-model.d.ts +3 -1
- package/build/src/model/corporate-actions/ipo-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/ofs-corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/ofs-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/open-offer-corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/open-offer-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/right-issue-corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/right-issue-corporate-action-model.js +2 -2
- package/build/src/model/corporate-actions/split-bonus-corporate-action-model.d.ts +3 -1
- package/build/src/model/corporate-actions/split-corporate-action-model.d.ts +2 -1
- package/build/src/model/corporate-actions/split-corporate-action-model.js +2 -2
- package/build/src/model/index.d.ts +1 -0
- package/build/src/model/index.js +1 -0
- package/build/src/model/interface/entity.model.interface.js +3 -0
- package/build/src/model/interface/pricing-plan-model.interface.d.ts +2 -2
- package/build/src/model/mutual-funds-entity.model.d.ts +1 -1
- package/build/src/model/mutual-funds-entity.model.js +2 -2
- package/build/src/model/nfo-advice-entity.model.d.ts +1 -1
- package/build/src/model/nfo-advice-entity.model.js +3 -3
- package/build/src/model/nfo-entity.model.d.ts +1 -1
- package/build/src/model/nfo-entity.model.js +2 -2
- package/build/src/model/organization-entity-model.d.ts +0 -1
- package/build/src/model/organization-entity-model.js +13 -13
- package/build/src/model/permission-entity-model.d.ts +3 -1
- package/build/src/model/permission-entity-model.js +3 -1
- package/build/src/model/pricing-plan-entity-model.d.ts +1 -1
- package/build/src/model/pricing-plan-entity-model.js +4 -4
- package/build/src/model/pricing-plan-model.d.ts +2 -2
- package/build/src/model/pricing-plan-model.js +4 -4
- package/build/src/model/role-entity-model.d.ts +0 -1
- package/build/src/model/role-entity-model.js +0 -1
- package/build/src/model/role-user-mapping-entity-model.d.ts +15 -0
- package/build/src/model/role-user-mapping-entity-model.js +26 -0
- package/build/src/model/user-entity-model.d.ts +1 -3
- package/build/src/model/user-entity-model.js +2 -13
- package/build/src/red-black-tree/js-cols.d.ts +2 -0
- package/build/src/red-black-tree/js-cols.js +12 -0
- package/build/src/utils/date-util.d.ts +1 -0
- package/build/src/utils/date-util.js +44 -0
- package/build/src/utils/helper.fn.utils.d.ts +47 -1
- package/build/src/utils/helper.fn.utils.js +150 -1
- package/build/src/utils/validate-utils.d.ts +1 -1
- package/package.json +6 -5
package/build/src/@enum.d.ts
CHANGED
|
@@ -1,33 +1 @@
|
|
|
1
|
-
export * from "./enum
|
|
2
|
-
export * from "./enum/organization/organization-type.enum";
|
|
3
|
-
export * from "./enum/user/user-status.enum";
|
|
4
|
-
export * from "./enum/user/user-role.enum";
|
|
5
|
-
export * from "./enum/user/registration-status.enum";
|
|
6
|
-
export * from "./enum/organization/pricing-plan-status.enum";
|
|
7
|
-
export * from "./enum/organization/subscription-status.enum";
|
|
8
|
-
export * from "./enum/equity/advice-status.enum";
|
|
9
|
-
export * from "./enum/equity/advice-type.enum";
|
|
10
|
-
export * from "./enum/equity/investment-duration-type.enum";
|
|
11
|
-
export * from "./enum/equity/transaction-type.enum";
|
|
12
|
-
export * from "./enum/mutual-fund/mutual-funds-risk.enum";
|
|
13
|
-
export * from "./enum/mutual-fund/mutual-funds-type.enum";
|
|
14
|
-
export * from "./enum/user/owner-operation-type.enum";
|
|
15
|
-
export * from "./enum/mutual-fund/mutual-fund-advice-duration.enum";
|
|
16
|
-
export * from "./enum/mutual-fund/mutual-fund-advice-type.enum";
|
|
17
|
-
export * from "./enum/corporate-actions/corporate-actions-type.enum";
|
|
18
|
-
export * from "./enum/corporate-actions/corporate-actions-advice-transaction-type.enum";
|
|
19
|
-
export * from "./enum/corporate-actions/ipo-listing-exchange.enum";
|
|
20
|
-
export * from "./enum/corporate-actions/split-and-bonus-stock-order.enum";
|
|
21
|
-
export * from "./enum/kafka-topics.enum";
|
|
22
|
-
export * from "./enum/corporate-actions/corporate-actions-status.enum";
|
|
23
|
-
export * from "./enum/corporate-actions/buy-back-type.enum";
|
|
24
|
-
export * from "./enum/mutual-fund/nfo-advice-transaction-type.enum";
|
|
25
|
-
export * from "./enum/equity/advisor-user-mapping-type.enum";
|
|
26
|
-
export * from "./enum/mutual-fund/mutual-fund-status.enum";
|
|
27
|
-
export * from "./enum/mutual-fund/nfo-advice-status.enum";
|
|
28
|
-
export * from "./enum/corporate-actions/corporate-action-advice-status.enum";
|
|
29
|
-
export * from "./enum/configuration.enum";
|
|
30
|
-
export * from "./enum/cron-job.enum";
|
|
31
|
-
export * from "./enum/time-zone.enum";
|
|
32
|
-
export * from "./enum/relation-type.enum";
|
|
33
|
-
export * from "./enum/error.key.enum";
|
|
1
|
+
export * from "./enum";
|
package/build/src/@enum.js
CHANGED
|
@@ -14,36 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./enum
|
|
18
|
-
__exportStar(require("./enum/organization/organization-type.enum"), exports);
|
|
19
|
-
__exportStar(require("./enum/user/user-status.enum"), exports);
|
|
20
|
-
__exportStar(require("./enum/user/user-role.enum"), exports);
|
|
21
|
-
__exportStar(require("./enum/user/registration-status.enum"), exports);
|
|
22
|
-
__exportStar(require("./enum/organization/pricing-plan-status.enum"), exports);
|
|
23
|
-
__exportStar(require("./enum/organization/subscription-status.enum"), exports);
|
|
24
|
-
__exportStar(require("./enum/equity/advice-status.enum"), exports);
|
|
25
|
-
__exportStar(require("./enum/equity/advice-type.enum"), exports);
|
|
26
|
-
__exportStar(require("./enum/equity/investment-duration-type.enum"), exports);
|
|
27
|
-
__exportStar(require("./enum/equity/transaction-type.enum"), exports);
|
|
28
|
-
__exportStar(require("./enum/mutual-fund/mutual-funds-risk.enum"), exports);
|
|
29
|
-
__exportStar(require("./enum/mutual-fund/mutual-funds-type.enum"), exports);
|
|
30
|
-
__exportStar(require("./enum/user/owner-operation-type.enum"), exports);
|
|
31
|
-
__exportStar(require("./enum/mutual-fund/mutual-fund-advice-duration.enum"), exports);
|
|
32
|
-
__exportStar(require("./enum/mutual-fund/mutual-fund-advice-type.enum"), exports);
|
|
33
|
-
__exportStar(require("./enum/corporate-actions/corporate-actions-type.enum"), exports);
|
|
34
|
-
__exportStar(require("./enum/corporate-actions/corporate-actions-advice-transaction-type.enum"), exports);
|
|
35
|
-
__exportStar(require("./enum/corporate-actions/ipo-listing-exchange.enum"), exports);
|
|
36
|
-
__exportStar(require("./enum/corporate-actions/split-and-bonus-stock-order.enum"), exports);
|
|
37
|
-
__exportStar(require("./enum/kafka-topics.enum"), exports);
|
|
38
|
-
__exportStar(require("./enum/corporate-actions/corporate-actions-status.enum"), exports);
|
|
39
|
-
__exportStar(require("./enum/corporate-actions/buy-back-type.enum"), exports);
|
|
40
|
-
__exportStar(require("./enum/mutual-fund/nfo-advice-transaction-type.enum"), exports);
|
|
41
|
-
__exportStar(require("./enum/equity/advisor-user-mapping-type.enum"), exports);
|
|
42
|
-
__exportStar(require("./enum/mutual-fund/mutual-fund-status.enum"), exports);
|
|
43
|
-
__exportStar(require("./enum/mutual-fund/nfo-advice-status.enum"), exports);
|
|
44
|
-
__exportStar(require("./enum/corporate-actions/corporate-action-advice-status.enum"), exports);
|
|
45
|
-
__exportStar(require("./enum/configuration.enum"), exports);
|
|
46
|
-
__exportStar(require("./enum/cron-job.enum"), exports);
|
|
47
|
-
__exportStar(require("./enum/time-zone.enum"), exports);
|
|
48
|
-
__exportStar(require("./enum/relation-type.enum"), exports);
|
|
49
|
-
__exportStar(require("./enum/error.key.enum"), exports);
|
|
17
|
+
__exportStar(require("./enum"), exports);
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getCorporateActionModel = exports.CorporateActionsType = void 0;
|
|
4
4
|
const _model_1 = require("../../@model");
|
|
5
|
-
//? add same in corporateActionsModelMapping
|
|
6
5
|
var CorporateActionsType;
|
|
7
6
|
(function (CorporateActionsType) {
|
|
8
7
|
CorporateActionsType["DIVIDEND"] = "dividend";
|
|
@@ -4,4 +4,6 @@ exports.ErrorKeyEnum = void 0;
|
|
|
4
4
|
var ErrorKeyEnum;
|
|
5
5
|
(function (ErrorKeyEnum) {
|
|
6
6
|
ErrorKeyEnum["USER_ROLE"] = "USER_ROLE";
|
|
7
|
+
ErrorKeyEnum["DATE_CODE"] = "DATE_CODE";
|
|
8
|
+
ErrorKeyEnum["PERMISSION_NAME"] = "PERMISSION_NAME";
|
|
7
9
|
})(ErrorKeyEnum || (exports.ErrorKeyEnum = ErrorKeyEnum = {}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export * from "./organization/organization-status.enum";
|
|
2
|
+
export * from "./organization/organization-type.enum";
|
|
3
|
+
export * from "./user/user-role.enum";
|
|
4
|
+
export * from "./user/user-status.enum";
|
|
5
|
+
export * from "./organization/pricing-plan-status.enum";
|
|
6
|
+
export * from "./organization/subscription-status.enum";
|
|
7
|
+
export * from "./equity/advice-status.enum";
|
|
8
|
+
export * from "./equity/advice-type.enum";
|
|
9
|
+
export * from "./equity/investment-duration-type.enum";
|
|
10
|
+
export * from "./equity/transaction-type.enum";
|
|
11
|
+
export * from "./mutual-fund/mutual-funds-risk.enum";
|
|
12
|
+
export * from "./mutual-fund/mutual-funds-type.enum";
|
|
13
|
+
export * from "./user/owner-operation-type.enum";
|
|
14
|
+
export * from "./mutual-fund/mutual-fund-advice-duration.enum";
|
|
15
|
+
export * from "./mutual-fund/mutual-fund-advice-type.enum";
|
|
16
|
+
export * from "./corporate-actions/corporate-actions-advice-transaction-type.enum";
|
|
17
|
+
export * from "./corporate-actions/ipo-listing-exchange.enum";
|
|
18
|
+
export * from "./corporate-actions/split-and-bonus-stock-order.enum";
|
|
19
|
+
export * from "./corporate-actions/corporate-actions-status.enum";
|
|
20
|
+
export * from "./kafka-topics.enum";
|
|
21
|
+
export * from "./corporate-actions/buy-back-type.enum";
|
|
22
|
+
export * from "./equity/advisor-user-mapping-type.enum";
|
|
23
|
+
export * from "./mutual-fund/mutual-fund-status.enum";
|
|
24
|
+
export * from "./mutual-fund/nfo-advice-transaction-type.enum";
|
|
25
|
+
export * from "./configuration.enum";
|
|
26
|
+
export * from "./corporate-actions/corporate-action-advice-status.enum";
|
|
27
|
+
export * from "./cron-job.enum";
|
|
28
|
+
export * from "./mutual-fund/nfo-advice-status.enum";
|
|
29
|
+
export * from "./time-zone.enum";
|
|
30
|
+
export * from "./relation-type.enum";
|
|
31
|
+
export * from "./error.key.enum";
|
|
32
|
+
export * from "./permission-actions.enum";
|
|
33
|
+
export * from "./corporate-actions/corporate-actions-type.enum";
|
|
34
|
+
export * from "./user/registration-status.enum";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./organization/organization-status.enum"), exports);
|
|
18
|
+
__exportStar(require("./organization/organization-type.enum"), exports);
|
|
19
|
+
__exportStar(require("./user/user-role.enum"), exports);
|
|
20
|
+
__exportStar(require("./user/user-status.enum"), exports);
|
|
21
|
+
__exportStar(require("./organization/pricing-plan-status.enum"), exports);
|
|
22
|
+
__exportStar(require("./organization/subscription-status.enum"), exports);
|
|
23
|
+
__exportStar(require("./equity/advice-status.enum"), exports);
|
|
24
|
+
__exportStar(require("./equity/advice-type.enum"), exports);
|
|
25
|
+
__exportStar(require("./equity/investment-duration-type.enum"), exports);
|
|
26
|
+
__exportStar(require("./equity/transaction-type.enum"), exports);
|
|
27
|
+
__exportStar(require("./mutual-fund/mutual-funds-risk.enum"), exports);
|
|
28
|
+
__exportStar(require("./mutual-fund/mutual-funds-type.enum"), exports);
|
|
29
|
+
__exportStar(require("./user/owner-operation-type.enum"), exports);
|
|
30
|
+
__exportStar(require("./mutual-fund/mutual-fund-advice-duration.enum"), exports);
|
|
31
|
+
__exportStar(require("./mutual-fund/mutual-fund-advice-type.enum"), exports);
|
|
32
|
+
__exportStar(require("./corporate-actions/corporate-actions-advice-transaction-type.enum"), exports);
|
|
33
|
+
__exportStar(require("./corporate-actions/ipo-listing-exchange.enum"), exports);
|
|
34
|
+
__exportStar(require("./corporate-actions/split-and-bonus-stock-order.enum"), exports);
|
|
35
|
+
__exportStar(require("./corporate-actions/corporate-actions-status.enum"), exports);
|
|
36
|
+
__exportStar(require("./kafka-topics.enum"), exports);
|
|
37
|
+
__exportStar(require("./corporate-actions/buy-back-type.enum"), exports);
|
|
38
|
+
__exportStar(require("./equity/advisor-user-mapping-type.enum"), exports);
|
|
39
|
+
__exportStar(require("./mutual-fund/mutual-fund-status.enum"), exports);
|
|
40
|
+
__exportStar(require("./mutual-fund/nfo-advice-transaction-type.enum"), exports);
|
|
41
|
+
__exportStar(require("./configuration.enum"), exports);
|
|
42
|
+
__exportStar(require("./corporate-actions/corporate-action-advice-status.enum"), exports);
|
|
43
|
+
__exportStar(require("./cron-job.enum"), exports);
|
|
44
|
+
__exportStar(require("./mutual-fund/nfo-advice-status.enum"), exports);
|
|
45
|
+
__exportStar(require("./time-zone.enum"), exports);
|
|
46
|
+
__exportStar(require("./relation-type.enum"), exports);
|
|
47
|
+
__exportStar(require("./error.key.enum"), exports);
|
|
48
|
+
__exportStar(require("./permission-actions.enum"), exports);
|
|
49
|
+
__exportStar(require("./corporate-actions/corporate-actions-type.enum"), exports);
|
|
50
|
+
__exportStar(require("./user/registration-status.enum"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PermissionActionGroup = void 0;
|
|
4
|
+
var PermissionActionGroup;
|
|
5
|
+
(function (PermissionActionGroup) {
|
|
6
|
+
PermissionActionGroup["CREATE"] = "create";
|
|
7
|
+
PermissionActionGroup["READ"] = "read";
|
|
8
|
+
PermissionActionGroup["UPDATE"] = "update";
|
|
9
|
+
PermissionActionGroup["DELETE"] = "delete";
|
|
10
|
+
PermissionActionGroup["NAV"] = "nav";
|
|
11
|
+
})(PermissionActionGroup || (exports.PermissionActionGroup = PermissionActionGroup = {}));
|
|
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UserRoleEnum = void 0;
|
|
4
4
|
var UserRoleEnum;
|
|
5
5
|
(function (UserRoleEnum) {
|
|
6
|
-
|
|
6
|
+
// USER = "user",
|
|
7
7
|
UserRoleEnum["ADVISOR"] = "advisor";
|
|
8
8
|
UserRoleEnum["SUPERADMIN"] = "superadmin";
|
|
9
9
|
UserRoleEnum["BOT_USER"] = "bot_user";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
// PUBLIC_USER = "public_user",
|
|
11
|
+
// ADVISOR_CLIENT = "acdvisor_client",
|
|
12
|
+
// STAFF = "staff",
|
|
13
|
+
UserRoleEnum["OWNER"] = "owner";
|
|
14
|
+
UserRoleEnum["CLIENT"] = "client";
|
|
13
15
|
})(UserRoleEnum || (exports.UserRoleEnum = UserRoleEnum = {}));
|
|
@@ -13,13 +13,14 @@ export interface ICreateBankDetailRequest {
|
|
|
13
13
|
upiId?: string;
|
|
14
14
|
bankAddress?: string;
|
|
15
15
|
branch: string;
|
|
16
|
-
files?: IFiles[];
|
|
17
16
|
}
|
|
18
17
|
export interface IFiles {
|
|
19
18
|
key: string;
|
|
20
19
|
value: File;
|
|
21
20
|
name: string;
|
|
22
21
|
}
|
|
23
|
-
export
|
|
24
|
-
|
|
22
|
+
export type IBankDetailsDtoExclude = "qrCode";
|
|
23
|
+
export interface IBankEntityCreateDto extends Omit<IEntityCreateDto<EnumEntityType<EntityEnum.BANK_DETAIL>>, IBankDetailsDtoExclude> {
|
|
24
|
+
qrCodeDocument?: string;
|
|
25
|
+
qrCode?: string | null;
|
|
25
26
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EntityEnum, EnumEntityType, IBankDetailEntity, IEntityUpdateDto, IUploadedMulterFile, Modify } from "../../@type";
|
|
2
|
-
import { IFiles } from "./bank-details-create-dto..interface";
|
|
3
2
|
export interface IUpdateBankDetailResponse extends Modify<IBankDetailEntity, {
|
|
4
3
|
createdOn: string;
|
|
5
4
|
updatedOn: string;
|
|
@@ -14,11 +13,10 @@ export interface IUpdateBankDetailRequest {
|
|
|
14
13
|
upiId?: string;
|
|
15
14
|
bankAddress?: string;
|
|
16
15
|
branch?: string;
|
|
17
|
-
files?: IFiles[];
|
|
18
16
|
}
|
|
19
17
|
export interface IBankDetailsUpdateDtoValidationDetails {
|
|
20
18
|
bankDetailsEntity: IBankDetailEntity;
|
|
21
19
|
}
|
|
22
20
|
export interface IBankEntityUpdateDto extends IEntityUpdateDto<EnumEntityType<EntityEnum.BANK_DETAIL>> {
|
|
23
|
-
qrCodeDocument?:
|
|
21
|
+
qrCodeDocument?: string;
|
|
24
22
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IBuyBackCorporateActionCreateDtoData, IDelistingCorporateActionCreateDtoData, IDividendCorporateActionCreateDtoData, IFPOCorporateActionCreateDtoData, IIPOCorporateActionCreateDtoData, IOFSCorporateActionCreateDtoData, IOpenOfferCorporateActionCreateDtoData, IRightIssueCorporateActionCreateDtoData, ISplitBonusCorporateActionCreateDtoData, ISplitCorporateActionCreateDtoData } from "../corporate-actions";
|
|
2
2
|
import { EntityEnum, EnumEntityType, IEntityCreateDto } from "../entity";
|
|
3
3
|
import { IBonusStockCreateDtoData } from "../corporate-actions/create-bonus-stock.interface";
|
|
4
|
-
export type ICorporateActionsCreateDtoExclude = "data";
|
|
4
|
+
export type ICorporateActionsCreateDtoExclude = "data" | "status";
|
|
5
5
|
export interface ICorporateActionsCreateDto extends IEntityCreateDto<Omit<EnumEntityType<EntityEnum.CORPORATE_ACTIONS>, ICorporateActionsCreateDtoExclude>> {
|
|
6
6
|
data: IBonusStockCreateDtoData | IBuyBackCorporateActionCreateDtoData | IDelistingCorporateActionCreateDtoData | IIPOCorporateActionCreateDtoData | IFPOCorporateActionCreateDtoData | IOpenOfferCorporateActionCreateDtoData | ISplitCorporateActionCreateDtoData | IOFSCorporateActionCreateDtoData | IDividendCorporateActionCreateDtoData | IRightIssueCorporateActionCreateDtoData | ISplitBonusCorporateActionCreateDtoData;
|
|
7
7
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export interface ICreateCorporateActionAdviceResponse extends ICorporateActionsAdviceEntity {
|
|
1
|
+
import { EntityEnum, EnumEntityType, ICorporateActionsEntity, IEntityCreateDto } from "../entity";
|
|
2
|
+
export type ICorporateActionsAdviceCreateDtoExclude = "companyName" | "status" | "advisorOrgId";
|
|
3
|
+
export interface ICorporateActionAdviceCreateDto extends Omit<IEntityCreateDto<EnumEntityType<EntityEnum.CORPORATE_ACTIONS_ADVICE>>, ICorporateActionsAdviceCreateDtoExclude> {
|
|
5
4
|
}
|
|
6
|
-
export interface
|
|
7
|
-
|
|
5
|
+
export interface ICorporateActionAdviceCreateDtoValidationData {
|
|
6
|
+
existingCorporateActionEntity: ICorporateActionsEntity;
|
|
8
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserStatus
|
|
1
|
+
import { UserStatus } from "../../enum";
|
|
2
2
|
import { IEntityCreateDto, IUserEntity } from "../entity";
|
|
3
3
|
export type IUserCreateDtoExclude = "status" | "isEmailVerified" | "isMobileVerified" | "isAccountVerified" | "requireNewPassword" | "type" | "registrationId" | "organizationId" | "imageUrl" | "documentUrls" | "password" | "panNo";
|
|
4
4
|
export interface IUserCreateDto extends IEntityCreateDto<Omit<IUserEntity, IUserCreateDtoExclude>> {
|
|
@@ -7,7 +7,6 @@ export interface IUserCreateDto extends IEntityCreateDto<Omit<IUserEntity, IUser
|
|
|
7
7
|
isMobileVerified?: boolean;
|
|
8
8
|
isAccountVerified?: boolean;
|
|
9
9
|
requireNewPassword?: boolean;
|
|
10
|
-
role: UserRoleEnum;
|
|
11
10
|
registrationId?: number;
|
|
12
11
|
organizationId?: number;
|
|
13
12
|
panNo?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdviceTransactionType, InvestDurationType } from "
|
|
1
|
+
import { AdviceTransactionType, InvestDurationType } from "../../enum";
|
|
2
2
|
import { IEquityAdviceEntity } from "../entity";
|
|
3
3
|
import { IFiles } from "./bank-details-create-dto..interface";
|
|
4
4
|
export interface IEquityAdviceCreateDto {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdviceTransactionType, AdviceType, InvestDurationType } from "
|
|
1
|
+
import { AdviceTransactionType, AdviceType, InvestDurationType } from "../../enum";
|
|
2
2
|
import { IEquityAdviceEntity } from "../entity";
|
|
3
3
|
export interface IEquityAdviceUpdateDto {
|
|
4
4
|
type?: AdviceType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CorporateActionsType } from "
|
|
1
|
+
import { CorporateActionsType } from "../../enum/corporate-actions/corporate-actions-type.enum";
|
|
2
2
|
import { BonusCorporateActionModel, BuyBackCorporateActionModel, DividendCorporateActionModel, OpenOfferCorporateActionModel, DelistingCorporateActionModel, IPOCorporateActionModel, FPOCorporateActionModel, RightIssueCorporateActionModel, SplitCorporateActionModel, SplitBonusCorporateActionModel, OFSCorporateActionModel } from "../../@model";
|
|
3
3
|
import { IModifyEntity } from "../modify-entity.interface";
|
|
4
4
|
export interface ICorporateActionsMapWithModel {
|
|
@@ -62,3 +62,5 @@ export * from "./role.permission.mapping.create.dto.interface";
|
|
|
62
62
|
export * from "./role.permission.mapping.delete.dto.interface";
|
|
63
63
|
export * from "./role.permission.mapping.response";
|
|
64
64
|
export * from "./role.permission.mapping.update.dto.interface";
|
|
65
|
+
export * from "./role-user-mapping-create-dto.interface";
|
|
66
|
+
export * from "./role-user-mapping-delete-dto.interface";
|
|
@@ -78,3 +78,5 @@ __exportStar(require("./role.permission.mapping.create.dto.interface"), exports)
|
|
|
78
78
|
__exportStar(require("./role.permission.mapping.delete.dto.interface"), exports);
|
|
79
79
|
__exportStar(require("./role.permission.mapping.response"), exports);
|
|
80
80
|
__exportStar(require("./role.permission.mapping.update.dto.interface"), exports);
|
|
81
|
+
__exportStar(require("./role-user-mapping-create-dto.interface"), exports);
|
|
82
|
+
__exportStar(require("./role-user-mapping-delete-dto.interface"), exports);
|
|
@@ -3,7 +3,7 @@ export type IMutualFundAdviceDtoExclude = "schemeName" | "navRegular" | "navDire
|
|
|
3
3
|
export interface IMutualFundAdviceDtoInclude {
|
|
4
4
|
mutualFundId: number;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface IMutualFundAdviceCreateDto extends IEntityCreateDto<Omit<EnumEntityType<EntityEnum.MUTUAL_FUND_ADVICE>, IMutualFundAdviceDtoExclude>>, IMutualFundAdviceDtoInclude {
|
|
7
7
|
noteDocument?: string;
|
|
8
8
|
videoDocument?: string;
|
|
9
9
|
voiceDocument?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MutualFundsType } from "../../@enum";
|
|
2
1
|
import { EntityEnum, EnumEntityType, IEntityCreateDto, IFiles } from "../../@type";
|
|
2
|
+
import { MutualFundsType } from "../../enum";
|
|
3
3
|
export interface IAddMutualFundsRequest {
|
|
4
4
|
mutualFundsType: MutualFundsType;
|
|
5
5
|
files: IFiles[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NFOAdviceStatus } from "
|
|
1
|
+
import { NFOAdviceStatus } from "../../enum";
|
|
2
2
|
import { EntityEnum, EnumEntityType, IEntityUpdateDto, INFOAdviceEntity } from "../entity";
|
|
3
3
|
import { INFOAdviceDtoExclude, INFOAdviceDtoInclude } from "./nfo-advice-create-dto.interface";
|
|
4
4
|
export type INFOAdviceUpdateDtoExclude = INFOAdviceDtoExclude;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OrganizationStatus } from "../../@enum";
|
|
2
1
|
import { IEntityUpdateDto, IOrganizationDtoExclude, IOrganizationEntity, IUserInfo } from "../../@type";
|
|
2
|
+
import { OrganizationStatus } from "../../enum";
|
|
3
3
|
export interface IUpdateOrganizationResponse extends IOrganizationEntity {
|
|
4
4
|
imageUrl?: string;
|
|
5
5
|
owners?: IUserInfo[];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import { EntityEnum, EnumEntityType, IEntityCreateDto } from "../entity";
|
|
1
|
+
import { EntityEnum, EnumEntityType, IEntityCreateDto, IPermissionEntity } from "../entity";
|
|
2
2
|
export interface IPermissionCreateDto extends IEntityCreateDto<EnumEntityType<EntityEnum.PERMISSION>> {
|
|
3
3
|
}
|
|
4
|
+
export interface IPermissionCreateDtoValidationData {
|
|
5
|
+
existingPermissions: IPermissionEntity[];
|
|
6
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
import { EntityEnum, EnumEntityType, IEntityUpdateDto } from "../entity";
|
|
1
|
+
import { EntityEnum, EnumEntityType, IEntityUpdateDto, IPermissionEntity } from "../entity";
|
|
2
2
|
export interface IPermissionUpdateDto extends IEntityUpdateDto<EnumEntityType<EntityEnum.PERMISSION>> {
|
|
3
3
|
}
|
|
4
|
+
export interface IPermissionUpdateDtoValidationData {
|
|
5
|
+
existingEntity: IPermissionEntity;
|
|
6
|
+
existingPermissionsEntitiesFromGroup: IPermissionEntity[];
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IEntityCreateDto, IPricingPlanEntity
|
|
1
|
+
import { IEntityCreateDto, IPricingPlanEntity } from "../../@type";
|
|
2
2
|
export interface ICreatePricingPlanRequest {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
effectiveFrom: number;
|
|
4
|
+
effectiveTo?: number;
|
|
5
5
|
basePrice: number;
|
|
6
6
|
billingCycle: IBillingCycle;
|
|
7
7
|
}
|
|
@@ -20,8 +20,3 @@ export interface IPricingPlanCreateDtoInclude {
|
|
|
20
20
|
export type IPricingPlanCreateDtoExclude = "status" | "billingCycle";
|
|
21
21
|
export interface IPricingPlanCreateDto extends IEntityCreateDto<Omit<IPricingPlanEntity, IPricingPlanCreateDtoExclude>>, IPricingPlanCreateDtoInclude {
|
|
22
22
|
}
|
|
23
|
-
export interface ICreatePricingPlanResponse extends Modify<IPricingPlanEntity, {
|
|
24
|
-
createdOn: string;
|
|
25
|
-
updatedOn: string;
|
|
26
|
-
}> {
|
|
27
|
-
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EntityEnum, EnumEntityType, IEntityUpdateDto, IPricingPlanEntity, Modify } from "../../@type";
|
|
2
2
|
import { IBillingCycle } from "./pricing-plan-create.dto.interface";
|
|
3
3
|
export interface IUpdatePricingPlanRequest {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
effectiveFrom?: number;
|
|
5
|
+
effectiveTo?: number;
|
|
6
6
|
basePrice?: number;
|
|
7
7
|
billingCycle?: IBillingCycle;
|
|
8
8
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EntityEnum, EnumEntityType, IEntityCreateDto, ISubscriptionEntity } from "../entity";
|
|
1
|
+
import { EntityEnum, EnumEntityType, IEntityCreateDto, IOrganizationEntity, IRegistrationEntity, ISubscriptionEntity } from "../entity";
|
|
2
2
|
import { Modify } from "../modify.interface";
|
|
3
|
+
import { IGetPricingPlanByDateResponse } from "./get-pricing-plan-by-date.interface";
|
|
3
4
|
export interface ICreateSubscriptionResponse extends Modify<ISubscriptionEntity, {
|
|
4
5
|
createdOn: string;
|
|
5
6
|
updatedOn: string;
|
|
@@ -8,3 +9,8 @@ export interface ICreateSubscriptionResponse extends Modify<ISubscriptionEntity,
|
|
|
8
9
|
export type ISubscriptionEntityCreateDtoExclude = "organizationId" | "status" | "registrationId";
|
|
9
10
|
export interface ISubscriptionEntityCreateDto extends IEntityCreateDto<Omit<EnumEntityType<EntityEnum.SUBSCRIPTION>, ISubscriptionEntityCreateDtoExclude>> {
|
|
10
11
|
}
|
|
12
|
+
export interface ISubscriptionCreateDtoValidationData {
|
|
13
|
+
organizationEntity: IOrganizationEntity;
|
|
14
|
+
registrationEntity: IRegistrationEntity;
|
|
15
|
+
pricingPlanData: IGetPricingPlanByDateResponse;
|
|
16
|
+
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { EntityEnum, EnumEntityType, IEntityUpdateDto, ISubscriptionEntity
|
|
2
|
-
export interface IUpdateSubscriptionResponse extends Modify<ISubscriptionEntity, {
|
|
3
|
-
createdOn: string;
|
|
4
|
-
updatedOn: string;
|
|
5
|
-
}> {
|
|
6
|
-
advanceAmount?: number;
|
|
7
|
-
}
|
|
1
|
+
import { EntityEnum, EnumEntityType, IEntityUpdateDto, ISubscriptionEntity } from "../../@type";
|
|
8
2
|
export interface ISubscriptionEntityUpdateDtoInclude {
|
|
9
3
|
advanceAmount?: number;
|
|
10
4
|
remarks?: string;
|
|
11
5
|
}
|
|
12
6
|
export interface ISubscriptionEntityUpdateDto extends IEntityUpdateDto<EnumEntityType<EntityEnum.SUBSCRIPTION>>, ISubscriptionEntityUpdateDtoInclude {
|
|
13
7
|
}
|
|
8
|
+
export interface ISubscriptionUpdateDtoValidationData {
|
|
9
|
+
subscriptionEntity: ISubscriptionEntity;
|
|
10
|
+
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export interface ICorporateActionAdviceUpdateDto extends IAdviceFileDocuments {
|
|
5
|
-
transactionType: CorporateActionsTransactionType;
|
|
6
|
-
status: CorporateActionAdviceStatus;
|
|
1
|
+
import { EntityEnum, EnumEntityType, IEntityUpdateDto } from "../entity";
|
|
2
|
+
import { ICorporateActionAdviceCreateDtoValidationData } from "./create-corporate-action-advice.interface";
|
|
3
|
+
export interface ICorporateActionAdviceUpdateDto extends IEntityUpdateDto<EnumEntityType<EntityEnum.CORPORATE_ACTIONS_ADVICE>> {
|
|
7
4
|
}
|
|
8
|
-
export interface
|
|
5
|
+
export interface ICorporateActionsAdviceEntityUpdateDtoValidationData extends ICorporateActionAdviceCreateDtoValidationData {
|
|
9
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CorporateActionsStatus } from "
|
|
1
|
+
import { CorporateActionsStatus } from "../../enum";
|
|
2
2
|
import { ICorporateActionsEntity } from "../entity";
|
|
3
3
|
import { IModifyEntity } from "../modify-entity.interface";
|
|
4
4
|
export interface IUpdateCorporateActionsRequest {
|
|
@@ -6,8 +6,8 @@ export interface IUpdatePricingPlanByIdResponse extends Modify<IPricingPlanEntit
|
|
|
6
6
|
}> {
|
|
7
7
|
}
|
|
8
8
|
export interface IUpdatePricingPlanByIdRequest {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
effectiveFrom?: number;
|
|
10
|
+
effectiveTo?: number;
|
|
11
11
|
basePrice?: number;
|
|
12
12
|
billingCycle?: IBillingCycleDto;
|
|
13
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CorporateActionsStatus
|
|
1
|
+
import { CorporateActionsStatus } from "../../enum/corporate-actions/corporate-actions-status.enum";
|
|
2
|
+
import { CorporateActionsType } from "../../enum/corporate-actions/corporate-actions-type.enum";
|
|
2
3
|
export interface IBaseCorporateActionsData {
|
|
3
4
|
companyName: string;
|
|
4
5
|
recordDate: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OrderOfSplitAndBonusStock } from "../../@enum";
|
|
2
1
|
import { IBonusStockData, ISplitStockData } from "../../@type";
|
|
2
|
+
import { OrderOfSplitAndBonusStock } from "../../enum";
|
|
3
3
|
export interface ISplitBonusCorporateActionCreateDtoData {
|
|
4
4
|
splitStock: ISplitStockData;
|
|
5
5
|
bonusStock: IBonusStockData;
|