cloud-ide-lms-model 1.0.307 → 1.0.310
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/lib/model/frontdesk/fdsk_lead_config_master.d.ts +40 -4
- package/lib/model/frontdesk/fdsk_lead_config_master.js +34 -1
- package/package.json +28 -28
- package/lib/@types/common.d.ts +0 -22
- package/lib/@types/common.js +0 -50
- package/lib/@types/coreControllerResponse.d.ts +0 -43
- package/lib/@types/coreControllerResponse.js +0 -2
- package/lib/@types/designConfigControllerResponse.d.ts +0 -28
- package/lib/@types/designConfigControllerResponse.js +0 -2
- package/lib/@types/emailServiceConfig.d.ts +0 -33
- package/lib/@types/emailServiceConfig.js +0 -2
- package/lib/@types/entityControllerResponse.d.ts +0 -35
- package/lib/@types/entityControllerResponse.js +0 -2
- package/lib/@types/forgotPasswordControllerResponse.d.ts +0 -13
- package/lib/@types/forgotPasswordControllerResponse.js +0 -2
- package/lib/@types/jwtPayload.d.ts +0 -16
- package/lib/@types/jwtPayload.js +0 -2
- package/lib/@types/loginControllerResponse.d.ts +0 -17
- package/lib/@types/loginControllerResponse.js +0 -2
- package/lib/@types/menuControllerResponse.d.ts +0 -13
- package/lib/@types/menuControllerResponse.js +0 -2
- package/lib/@types/resetPasswordControllerResponse.d.ts +0 -15
- package/lib/@types/resetPasswordControllerResponse.js +0 -2
- package/lib/@types/userPermissions.d.ts +0 -7
- package/lib/@types/userPermissions.js +0 -2
- package/lib/common-types/coreControllerResponse.d.ts +0 -43
- package/lib/common-types/coreControllerResponse.js +0 -2
- package/lib/common-types/designConfigControllerResponse.d.ts +0 -28
- package/lib/common-types/designConfigControllerResponse.js +0 -2
- package/lib/common-types/entityControllerResponse.d.ts +0 -35
- package/lib/common-types/entityControllerResponse.js +0 -2
- package/lib/common-types/forgotPasswordControllerResponse.d.ts +0 -13
- package/lib/common-types/forgotPasswordControllerResponse.js +0 -2
- package/lib/common-types/loginControllerResponse.d.ts +0 -17
- package/lib/common-types/loginControllerResponse.js +0 -2
- package/lib/common-types/menuControllerResponse.d.ts +0 -13
- package/lib/common-types/menuControllerResponse.js +0 -2
- package/lib/common-types/resetPasswordControllerResponse.d.ts +0 -15
- package/lib/common-types/resetPasswordControllerResponse.js +0 -2
- package/lib/config/database.d.ts +0 -3
- package/lib/config/database.js +0 -66
- package/lib/config/index.d.ts +0 -2
- package/lib/config/index.js +0 -5
- package/lib/model/core/aca_class_program_master.d.ts +0 -71
- package/lib/model/core/aca_class_program_master.js +0 -68
- package/lib/model/core/aca_class_program_term.d.ts +0 -78
- package/lib/model/core/aca_class_program_term.js +0 -81
- package/lib/model/core/aca_prg_trm_section.d.ts +0 -78
- package/lib/model/core/aca_prg_trm_section.js +0 -81
- package/lib/model/core/auth_user_mst.d.ts +0 -18
- package/lib/model/core/auth_user_mst.js +0 -17
- package/lib/model/core/core_academic_year.d.ts +0 -57
- package/lib/model/core/core_academic_year.js +0 -80
- package/lib/model/core/core_academic_year_mapping.d.ts +0 -57
- package/lib/model/core/core_academic_year_mapping.js +0 -74
- package/lib/model/core/core_financial_year.d.ts +0 -57
- package/lib/model/core/core_financial_year.js +0 -80
- package/lib/model/core/core_financial_year_mapping.d.ts +0 -57
- package/lib/model/core/core_financial_year_mapping.js +0 -74
- package/lib/model/core/core_user_attributes.d.ts +0 -29
- package/lib/model/core/core_user_attributes.js +0 -22
- package/lib/model/core/core_user_contact_addresses.d.ts +0 -47
- package/lib/model/core/core_user_contact_addresses.js +0 -28
- package/lib/model/core/core_user_documents.d.ts +0 -39
- package/lib/model/core/core_user_documents.js +0 -25
- package/lib/model/core/core_user_family_details.d.ts +0 -33
- package/lib/model/core/core_user_family_details.js +0 -25
- package/lib/model/core/entity.d.ts +0 -51
- package/lib/model/core/entity.js +0 -17
- package/lib/model/core/file-manager.d.ts +0 -32
- package/lib/model/core/file-manager.js +0 -20
- package/lib/model/core/general-master.d.ts +0 -201
- package/lib/model/core/general-master.js +0 -145
- package/lib/model/core/menu.d.ts +0 -31
- package/lib/model/core/menu.js +0 -33
- package/lib/model/core/page-elements.d.ts +0 -3
- package/lib/model/core/page-elements.js +0 -1
- package/lib/model/core/pin-code.d.ts +0 -21
- package/lib/model/core/pin-code.js +0 -27
- package/lib/model/core/user.d.ts +0 -19
- package/lib/model/core/user.js +0 -18
- package/lib/routes/controllerRoutes.d.ts +0 -7
- package/lib/routes/controllerRoutes.js +0 -11
- package/lib/routes/core.d.ts +0 -7
- package/lib/routes/core.js +0 -11
- package/lib/schema/auth/mpin.d.ts +0 -8
- package/lib/schema/auth/mpin.js +0 -7
- package/lib/schema/core/aca_class_program_master.d.ts +0 -12
- package/lib/schema/core/aca_class_program_master.js +0 -9
- package/lib/schema/core/aca_class_program_term.d.ts +0 -16
- package/lib/schema/core/aca_class_program_term.js +0 -9
- package/lib/schema/core/aca_prg_trm_section.d.ts +0 -14
- package/lib/schema/core/aca_prg_trm_section.js +0 -9
- package/lib/schema/core/core_academic_year.d.ts +0 -12
- package/lib/schema/core/core_academic_year.js +0 -6
- package/lib/schema/core/core_academic_year_mapping.d.ts +0 -11
- package/lib/schema/core/core_academic_year_mapping.js +0 -9
- package/lib/schema/core/core_financial_year.d.ts +0 -12
- package/lib/schema/core/core_financial_year.js +0 -6
- package/lib/schema/core/core_financial_year_mapping.d.ts +0 -11
- package/lib/schema/core/core_financial_year_mapping.js +0 -9
- package/lib/schema/core/core_page_controls.d.ts +0 -22
- package/lib/schema/core/core_page_controls.js +0 -2
- package/lib/schema/core/user-master.d.ts +0 -104
- package/lib/schema/core/user-master.js +0 -3
- package/lib/schema/email/elist.d.ts +0 -36
- package/lib/schema/email/elist.js +0 -42
- package/lib/schema/email/elog.d.ts +0 -41
- package/lib/schema/email/elog.js +0 -58
- package/lib/schema/email/eref.d.ts +0 -37
- package/lib/schema/email/eref.js +0 -43
- package/lib/schema/email/esub.d.ts +0 -43
- package/lib/schema/email/esub.js +0 -69
- package/lib/schema/email/etmp.d.ts +0 -36
- package/lib/schema/email/etmp.js +0 -41
- package/lib/schema/email/evdr.d.ts +0 -36
- package/lib/schema/email/evdr.js +0 -41
- package/lib/utilities/helpers/view.helper.d.ts +0 -2
- package/lib/utilities/helpers/view.helper.js +0 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MTableQueries } from "../../common-types/common";
|
|
2
|
-
import { FdskLeadConfigMaster } from "../../schema";
|
|
2
|
+
import { FdskLeadConfigMaster, FdskLeadConfigMasterBase } from "../../schema";
|
|
3
3
|
import { controllerResponse } from "../../utilities";
|
|
4
4
|
type IFdskLeadConfigMasterErrorLogger = {
|
|
5
5
|
[key in keyof MFdskLeadConfigMasterListPayload]: string;
|
|
@@ -7,6 +7,12 @@ type IFdskLeadConfigMasterErrorLogger = {
|
|
|
7
7
|
type FdskLeadConfigMasterErrorLogger = {
|
|
8
8
|
[key in keyof FdskLeadConfigMaster]: string;
|
|
9
9
|
};
|
|
10
|
+
type IFdskLeadConfigMasterGetByIdErrorLogger = {
|
|
11
|
+
[key in keyof MFdskLeadConfigMasterGetByIdPayload]: string;
|
|
12
|
+
};
|
|
13
|
+
type IFdskLeadConfigMasterDeleteErrorLogger = {
|
|
14
|
+
[key in keyof MFdskLeadConfigMasterDeletePayload]: string;
|
|
15
|
+
};
|
|
10
16
|
declare class FdskLeadConfigMasterSaveUpdatePayload {
|
|
11
17
|
fdsk_lead_config_master?: FdskLeadConfigMaster;
|
|
12
18
|
constructor(init: FdskLeadConfigMasterSaveUpdatePayload);
|
|
@@ -17,6 +23,18 @@ declare class MFdskLeadConfigMasterListPayload extends MTableQueries {
|
|
|
17
23
|
constructor(init: MFdskLeadConfigMasterListPayload);
|
|
18
24
|
Validate?(): Partial<IFdskLeadConfigMasterErrorLogger>;
|
|
19
25
|
}
|
|
26
|
+
declare class MFdskLeadConfigMasterGetByIdPayload {
|
|
27
|
+
fdlcm_id?: string;
|
|
28
|
+
constructor(init: MFdskLeadConfigMasterGetByIdPayload);
|
|
29
|
+
Validate?(): Partial<IFdskLeadConfigMasterGetByIdErrorLogger>;
|
|
30
|
+
ToQueryString?(): string;
|
|
31
|
+
}
|
|
32
|
+
declare class MFdskLeadConfigMasterDeletePayload {
|
|
33
|
+
fdlcm_id?: string;
|
|
34
|
+
constructor(init: MFdskLeadConfigMasterDeletePayload);
|
|
35
|
+
Validate?(): Partial<IFdskLeadConfigMasterDeleteErrorLogger>;
|
|
36
|
+
ToQueryString?(): string;
|
|
37
|
+
}
|
|
20
38
|
interface fdskLeadConfigMasterListControllerResponse extends controllerResponse {
|
|
21
39
|
data?: FdskLeadConfigMasterListResponse[];
|
|
22
40
|
}
|
|
@@ -26,9 +44,27 @@ interface fdskLeadConfigMasterInsertUpdateControllerResponse extends controllerR
|
|
|
26
44
|
interface fdskLeadConfigMasterByIdControllerResponse extends controllerResponse {
|
|
27
45
|
data?: FdskLeadConfigMaster;
|
|
28
46
|
}
|
|
29
|
-
interface
|
|
30
|
-
|
|
47
|
+
interface fdskLeadConfigMasterDeleteControllerResponse extends controllerResponse {
|
|
48
|
+
data?: boolean;
|
|
49
|
+
}
|
|
50
|
+
interface FdskLeadConfigMasterListResponse extends FdskLeadConfigMasterBase {
|
|
51
|
+
fdlcm_lead_created_for_id_sygms?: {
|
|
52
|
+
_id?: string;
|
|
53
|
+
sygms_title?: string;
|
|
54
|
+
};
|
|
55
|
+
fdlcm_defalut_priority_id_sygms?: {
|
|
56
|
+
_id?: string;
|
|
57
|
+
sygms_title?: string;
|
|
58
|
+
};
|
|
59
|
+
fdlcm_default_counselor_id_user?: {
|
|
60
|
+
_id?: string;
|
|
61
|
+
user_fullname?: string;
|
|
62
|
+
};
|
|
31
63
|
}
|
|
32
64
|
export { IFdskLeadConfigMasterErrorLogger, //interface
|
|
65
|
+
IFdskLeadConfigMasterGetByIdErrorLogger, //interface
|
|
66
|
+
IFdskLeadConfigMasterDeleteErrorLogger, //interface
|
|
33
67
|
MFdskLeadConfigMasterListPayload, // model
|
|
34
|
-
|
|
68
|
+
MFdskLeadConfigMasterGetByIdPayload, // model
|
|
69
|
+
MFdskLeadConfigMasterDeletePayload, // model
|
|
70
|
+
fdskLeadConfigMasterListControllerResponse, FdskLeadConfigMasterListResponse, fdskLeadConfigMasterInsertUpdateControllerResponse, fdskLeadConfigMasterByIdControllerResponse, fdskLeadConfigMasterDeleteControllerResponse, FdskLeadConfigMasterSaveUpdatePayload };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FdskLeadConfigMasterSaveUpdatePayload = exports.MFdskLeadConfigMasterListPayload = void 0;
|
|
3
|
+
exports.FdskLeadConfigMasterSaveUpdatePayload = exports.MFdskLeadConfigMasterDeletePayload = exports.MFdskLeadConfigMasterGetByIdPayload = exports.MFdskLeadConfigMasterListPayload = void 0;
|
|
4
4
|
const common_1 = require("../../common-types/common");
|
|
5
|
+
const utilities_1 = require("../../utilities");
|
|
5
6
|
/* INTERFACE END */
|
|
6
7
|
/* MODEL START */
|
|
7
8
|
class FdskLeadConfigMasterSaveUpdatePayload {
|
|
@@ -25,3 +26,35 @@ class MFdskLeadConfigMasterListPayload extends common_1.MTableQueries {
|
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
exports.MFdskLeadConfigMasterListPayload = MFdskLeadConfigMasterListPayload;
|
|
29
|
+
class MFdskLeadConfigMasterGetByIdPayload {
|
|
30
|
+
constructor(init) {
|
|
31
|
+
Object.assign(this, init);
|
|
32
|
+
}
|
|
33
|
+
Validate() {
|
|
34
|
+
let errorLogger = {};
|
|
35
|
+
if (!this.fdlcm_id) {
|
|
36
|
+
errorLogger.fdlcm_id = "Lead Config Master ID is Required!";
|
|
37
|
+
}
|
|
38
|
+
return errorLogger;
|
|
39
|
+
}
|
|
40
|
+
ToQueryString() {
|
|
41
|
+
return (0, utilities_1.generateStringFromObject)(this);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.MFdskLeadConfigMasterGetByIdPayload = MFdskLeadConfigMasterGetByIdPayload;
|
|
45
|
+
class MFdskLeadConfigMasterDeletePayload {
|
|
46
|
+
constructor(init) {
|
|
47
|
+
Object.assign(this, init);
|
|
48
|
+
}
|
|
49
|
+
Validate() {
|
|
50
|
+
let errorLogger = {};
|
|
51
|
+
if (!this.fdlcm_id) {
|
|
52
|
+
errorLogger.fdlcm_id = "Lead Config Master ID is Required!";
|
|
53
|
+
}
|
|
54
|
+
return errorLogger;
|
|
55
|
+
}
|
|
56
|
+
ToQueryString() {
|
|
57
|
+
return (0, utilities_1.generateStringFromObject)(this);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.MFdskLeadConfigMasterDeletePayload = MFdskLeadConfigMasterDeletePayload;
|
package/package.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"dependencies": {
|
|
3
|
-
},
|
|
4
|
-
"devDependencies": {
|
|
5
|
-
"typescript": "^5.4.2"
|
|
6
|
-
},
|
|
7
|
-
"name": "cloud-ide-lms-model",
|
|
8
|
-
"version": "1.0.
|
|
9
|
-
"description": "Package for Model management of Cloud IDEsys LMS",
|
|
10
|
-
"main": "lib/index.js",
|
|
11
|
-
"types": "lib/index.d.ts",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"build": "tsc",
|
|
15
|
-
"prepare": "npm run build"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"CloudIDE",
|
|
19
|
-
"LMS",
|
|
20
|
-
"Schema"
|
|
21
|
-
],
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "https://gitlab.com/lms-schools/cloud-ide-lms-model.git"
|
|
25
|
-
},
|
|
26
|
-
"author": "ankush bhure",
|
|
27
|
-
"license": "ISC",
|
|
28
|
-
"files": ["lib/**/*"]
|
|
1
|
+
{
|
|
2
|
+
"dependencies": {
|
|
3
|
+
},
|
|
4
|
+
"devDependencies": {
|
|
5
|
+
"typescript": "^5.4.2"
|
|
6
|
+
},
|
|
7
|
+
"name": "cloud-ide-lms-model",
|
|
8
|
+
"version": "1.0.310",
|
|
9
|
+
"description": "Package for Model management of Cloud IDEsys LMS",
|
|
10
|
+
"main": "lib/index.js",
|
|
11
|
+
"types": "lib/index.d.ts",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"prepare": "npm run build"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"CloudIDE",
|
|
19
|
+
"LMS",
|
|
20
|
+
"Schema"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://gitlab.com/lms-schools/cloud-ide-lms-model.git"
|
|
25
|
+
},
|
|
26
|
+
"author": "ankush bhure",
|
|
27
|
+
"license": "ISC",
|
|
28
|
+
"files": ["lib/**/*"]
|
|
29
29
|
}
|
package/lib/@types/common.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { IEntityErrorLogger } from "../model/core/entity";
|
|
2
|
-
export declare class MTableQueries {
|
|
3
|
-
total: number;
|
|
4
|
-
pageIndex: number;
|
|
5
|
-
pageSize: number;
|
|
6
|
-
query: string;
|
|
7
|
-
sort: {
|
|
8
|
-
order: 'asc' | 'desc' | '';
|
|
9
|
-
key: string | number;
|
|
10
|
-
};
|
|
11
|
-
constructor(init: MTableQueries);
|
|
12
|
-
Validate(): Partial<IEntityErrorLogger>;
|
|
13
|
-
}
|
|
14
|
-
export type TableQueries = MTableQueries;
|
|
15
|
-
export interface paginationQueryResponse {
|
|
16
|
-
paginatedResults: any[];
|
|
17
|
-
totalDocument: number;
|
|
18
|
-
}
|
|
19
|
-
export interface CommonSelect {
|
|
20
|
-
label: string;
|
|
21
|
-
value: string;
|
|
22
|
-
}
|
package/lib/@types/common.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MTableQueries = void 0;
|
|
4
|
-
var MTableQueries = /** @class */ (function () {
|
|
5
|
-
function MTableQueries(init) {
|
|
6
|
-
this.total = 1;
|
|
7
|
-
this.pageIndex = 1;
|
|
8
|
-
this.pageSize = 10;
|
|
9
|
-
this.query = "";
|
|
10
|
-
this.sort = {
|
|
11
|
-
order: "",
|
|
12
|
-
key: ""
|
|
13
|
-
};
|
|
14
|
-
Object.assign(this, init);
|
|
15
|
-
}
|
|
16
|
-
MTableQueries.prototype.Validate = function () {
|
|
17
|
-
var _a, _b, _c, _d, _e;
|
|
18
|
-
var errorLogger = {};
|
|
19
|
-
if (this.sort) {
|
|
20
|
-
if (((_a = this.sort) === null || _a === void 0 ? void 0 : _a.order) != 'asc' && ((_b = this.sort) === null || _b === void 0 ? void 0 : _b.order) != 'desc' && ((_c = this.sort) === null || _c === void 0 ? void 0 : _c.order) != '') {
|
|
21
|
-
errorLogger.sort = "Incorect Sort order!";
|
|
22
|
-
}
|
|
23
|
-
if (typeof ((_d = this.sort) === null || _d === void 0 ? void 0 : _d.key) != 'string' && typeof ((_e = this.sort) === null || _e === void 0 ? void 0 : _e.key) != 'number') {
|
|
24
|
-
errorLogger.sort = "Incorect Sort key!";
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
errorLogger.sort = "Sort order and key is required!";
|
|
29
|
-
}
|
|
30
|
-
if (typeof (this.pageIndex) == 'number') {
|
|
31
|
-
if (this.pageIndex < 1) {
|
|
32
|
-
errorLogger.pageIndex = "Incorect Page Index!";
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
errorLogger.pageIndex = "Page index is required";
|
|
37
|
-
}
|
|
38
|
-
if (typeof (this.pageSize) == 'number') {
|
|
39
|
-
if (this.pageSize < 1) {
|
|
40
|
-
errorLogger.pageSize = "Incorect Page Size!";
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
errorLogger.pageSize = "Page Size is required";
|
|
45
|
-
}
|
|
46
|
-
return errorLogger;
|
|
47
|
-
};
|
|
48
|
-
return MTableQueries;
|
|
49
|
-
}());
|
|
50
|
-
exports.MTableQueries = MTableQueries;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ICoreSypin } from "../schema/core";
|
|
2
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
3
|
-
import { CommonSelect } from "./common";
|
|
4
|
-
export interface generalMasterSelectControllerResponse extends controllerResponse {
|
|
5
|
-
data?: {
|
|
6
|
-
core_general_master: generalMasterSelectResponseData[];
|
|
7
|
-
core_general_master_type: generalMasterTypeResponseData[];
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface generalMasterSelectResponseData extends generalMasterResponseData {
|
|
11
|
-
title: string;
|
|
12
|
-
value: string;
|
|
13
|
-
}
|
|
14
|
-
export interface generalMasterResponseData {
|
|
15
|
-
_id?: string;
|
|
16
|
-
sygms_code: string;
|
|
17
|
-
sygms_id_sygmt: string;
|
|
18
|
-
sygms_title: string;
|
|
19
|
-
sygms_desc: string;
|
|
20
|
-
sygms_isactive: string;
|
|
21
|
-
sygms_configuration: any;
|
|
22
|
-
}
|
|
23
|
-
export interface generalMasterTypeResponseData {
|
|
24
|
-
_id: string;
|
|
25
|
-
sygmt_code: string;
|
|
26
|
-
sygmt_title: string;
|
|
27
|
-
sygmt_desc: string;
|
|
28
|
-
sygmt_isactive: boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface pinCodeSelectControllerResponse extends controllerResponse {
|
|
31
|
-
data?: {
|
|
32
|
-
core_pin_code: pinCodeSelectResponseData[];
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export interface pinCodeSelectResponseData extends ICoreSypin {
|
|
36
|
-
title: string;
|
|
37
|
-
value: string;
|
|
38
|
-
}
|
|
39
|
-
export interface userSelectControllerResponse extends controllerResponse {
|
|
40
|
-
data?: {
|
|
41
|
-
auth_user_mst: CommonSelect[];
|
|
42
|
-
};
|
|
43
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ICoreSypc, ICoreSypg, ICoreSypgr, ICoreSytm, ITabs } from "../schema/core";
|
|
2
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
3
|
-
export interface designConfigControllerResponse extends controllerResponse {
|
|
4
|
-
data?: designConfigResponseData;
|
|
5
|
-
}
|
|
6
|
-
export interface designConfigResponseData {
|
|
7
|
-
page?: Partial<ICoreSypg>;
|
|
8
|
-
theme?: Partial<ICoreSytm>;
|
|
9
|
-
grid?: {
|
|
10
|
-
[key: string]: ICoreSypgr;
|
|
11
|
-
};
|
|
12
|
-
controls?: {
|
|
13
|
-
[key: string]: ICoreSypc;
|
|
14
|
-
};
|
|
15
|
-
tab?: {
|
|
16
|
-
[key: string]: ICoreTabs;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface ICoreTabs {
|
|
20
|
-
_id?: string;
|
|
21
|
-
syptb_title: string;
|
|
22
|
-
syptb_tabs: {
|
|
23
|
-
[key: string]: ITabs;
|
|
24
|
-
};
|
|
25
|
-
syptb_tab_code: string;
|
|
26
|
-
syptb_page_id_sypg: string;
|
|
27
|
-
syptb_isactive?: boolean;
|
|
28
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface SendMailInfo {
|
|
2
|
-
reference: string;
|
|
3
|
-
receiver: string;
|
|
4
|
-
data: any;
|
|
5
|
-
}
|
|
6
|
-
export interface EmailServiceConfig {
|
|
7
|
-
service?: string;
|
|
8
|
-
auth: {
|
|
9
|
-
user: string;
|
|
10
|
-
pass: string;
|
|
11
|
-
};
|
|
12
|
-
host: string;
|
|
13
|
-
port: number;
|
|
14
|
-
secure: boolean;
|
|
15
|
-
requireTLS?: boolean;
|
|
16
|
-
debug?: boolean;
|
|
17
|
-
secureConnection?: boolean;
|
|
18
|
-
tls?: {
|
|
19
|
-
[key: string]: string;
|
|
20
|
-
};
|
|
21
|
-
connectionTimeout?: number;
|
|
22
|
-
}
|
|
23
|
-
export interface EmailOptions {
|
|
24
|
-
from?: string;
|
|
25
|
-
to?: string;
|
|
26
|
-
subject?: string;
|
|
27
|
-
messageId?: string;
|
|
28
|
-
date?: Date;
|
|
29
|
-
body?: string;
|
|
30
|
-
reference?: any;
|
|
31
|
-
templete?: any;
|
|
32
|
-
custom?: boolean;
|
|
33
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
2
|
-
export interface entityControllerResponse extends controllerResponse {
|
|
3
|
-
data?: entityResponseData[];
|
|
4
|
-
}
|
|
5
|
-
export interface entityResponseData {
|
|
6
|
-
_id?: string;
|
|
7
|
-
syen_id_syen?: string;
|
|
8
|
-
syen_print_name?: string;
|
|
9
|
-
syen_entity_type_gmst?: string;
|
|
10
|
-
syen_name?: string;
|
|
11
|
-
syen_entity_code?: string;
|
|
12
|
-
syen_corporate_address?: string;
|
|
13
|
-
syen_corporate_pin_sypc?: string;
|
|
14
|
-
syen_corporate_pincode_sypc?: string;
|
|
15
|
-
syen_corporate_contact_person_user?: string;
|
|
16
|
-
syen_corporate_phone?: number;
|
|
17
|
-
syen_corporate_phone_alt?: number;
|
|
18
|
-
syen_corporate_fax?: string;
|
|
19
|
-
syen_corporate_email?: string;
|
|
20
|
-
syen_corporate_email_alt?: string;
|
|
21
|
-
syen_website?: string;
|
|
22
|
-
syen_currency_sycr?: string;
|
|
23
|
-
syen_registered_address?: string;
|
|
24
|
-
syen_registered_pin_sypc?: string;
|
|
25
|
-
syen_registered_pincode_sypc?: string;
|
|
26
|
-
syen_registered_phone?: number;
|
|
27
|
-
syen_registered_email?: string;
|
|
28
|
-
syen_registered_fax?: string;
|
|
29
|
-
syen_registered_contact_person_user?: string;
|
|
30
|
-
syen_udise_no?: string;
|
|
31
|
-
syen_affiliation_no?: string;
|
|
32
|
-
syen_photo_id_fm?: string;
|
|
33
|
-
syen_isactive?: boolean;
|
|
34
|
-
children: entityResponseData[];
|
|
35
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IUser } from "../schema/auth";
|
|
2
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
3
|
-
import { SendMailInfo } from "./emailServiceConfig";
|
|
4
|
-
export interface ForgotPasswordControllerResponse extends controllerResponse {
|
|
5
|
-
data?: Partial<ForgotPasswordResponseData>;
|
|
6
|
-
}
|
|
7
|
-
export interface ForgotPasswordResponseData {
|
|
8
|
-
user: Partial<IUser>;
|
|
9
|
-
reset_password_link: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ForgotPasswordSendMailInfo extends SendMailInfo {
|
|
12
|
-
data: Partial<ForgotPasswordResponseData>;
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ICoreSyen } from "../schema/core";
|
|
2
|
-
export interface jwtPayload {
|
|
3
|
-
sylog_id_user?: string;
|
|
4
|
-
sylog_id_logses?: string;
|
|
5
|
-
user_username?: string;
|
|
6
|
-
sylog_config_data?: resetPasswordSylog;
|
|
7
|
-
core_system_entity?: ICoreSyen;
|
|
8
|
-
}
|
|
9
|
-
export interface resetPasswordJwtPayload {
|
|
10
|
-
user_password?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface resetPasswordSylog {
|
|
13
|
-
reset_password_link?: string;
|
|
14
|
-
reset_password_secret?: string;
|
|
15
|
-
request_timestamp?: Date;
|
|
16
|
-
}
|
package/lib/@types/jwtPayload.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IUser } from "../schema/auth";
|
|
2
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
3
|
-
import { SendMailInfo } from "./emailServiceConfig";
|
|
4
|
-
export interface loginControllerResponse extends controllerResponse {
|
|
5
|
-
data?: Partial<loginResponseData>;
|
|
6
|
-
token?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface reLoginControllerResponse extends controllerResponse {
|
|
9
|
-
data?: Partial<loginResponseData>;
|
|
10
|
-
token?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface loginResponseData {
|
|
13
|
-
user: Partial<IUser>;
|
|
14
|
-
}
|
|
15
|
-
export interface LoginSendMailInfo extends SendMailInfo {
|
|
16
|
-
data: Partial<loginResponseData>;
|
|
17
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
2
|
-
export interface menuControllerResponse extends controllerResponse {
|
|
3
|
-
data?: menuResponseData[];
|
|
4
|
-
}
|
|
5
|
-
export interface menuResponseData {
|
|
6
|
-
key: string;
|
|
7
|
-
path: string;
|
|
8
|
-
isExternalLink?: boolean;
|
|
9
|
-
title: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
type: string;
|
|
12
|
-
subMenu: menuResponseData[];
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IUser } from "../schema/auth";
|
|
2
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
3
|
-
import { SendMailInfo } from "./emailServiceConfig";
|
|
4
|
-
export interface ResetPasswordControllerResponse extends controllerResponse {
|
|
5
|
-
data?: Partial<ResetPasswordResponseData>;
|
|
6
|
-
}
|
|
7
|
-
export interface SignOutControllerResponse extends controllerResponse {
|
|
8
|
-
}
|
|
9
|
-
export interface ResetPasswordResponseData {
|
|
10
|
-
user: Partial<IUser>;
|
|
11
|
-
reset_password_link: string;
|
|
12
|
-
}
|
|
13
|
-
export interface ResetPasswordSendMailInfo extends SendMailInfo {
|
|
14
|
-
data: Partial<ResetPasswordResponseData>;
|
|
15
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ICoreSypin } from "../schema/core";
|
|
2
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
3
|
-
import { CommonSelect } from "./common";
|
|
4
|
-
export interface generalMasterSelectControllerResponse extends controllerResponse {
|
|
5
|
-
data?: {
|
|
6
|
-
core_general_master: generalMasterSelectResponseData[];
|
|
7
|
-
core_general_master_type: generalMasterTypeResponseData[];
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface generalMasterSelectResponseData extends generalMasterResponseData {
|
|
11
|
-
title: string;
|
|
12
|
-
value: string;
|
|
13
|
-
}
|
|
14
|
-
export interface generalMasterResponseData {
|
|
15
|
-
_id?: string;
|
|
16
|
-
sygms_code: string;
|
|
17
|
-
sygms_id_sygmt: string;
|
|
18
|
-
sygms_title: string;
|
|
19
|
-
sygms_desc: string;
|
|
20
|
-
sygms_isactive: string;
|
|
21
|
-
sygms_configuration: any;
|
|
22
|
-
}
|
|
23
|
-
export interface generalMasterTypeResponseData {
|
|
24
|
-
_id: string;
|
|
25
|
-
sygmt_code: string;
|
|
26
|
-
sygmt_title: string;
|
|
27
|
-
sygmt_desc: string;
|
|
28
|
-
sygmt_isactive: boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface pinCodeSelectControllerResponse extends controllerResponse {
|
|
31
|
-
data?: {
|
|
32
|
-
core_pin_code: pinCodeSelectResponseData[];
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export interface pinCodeSelectResponseData extends ICoreSypin {
|
|
36
|
-
title: string;
|
|
37
|
-
value: string;
|
|
38
|
-
}
|
|
39
|
-
export interface userSelectControllerResponse extends controllerResponse {
|
|
40
|
-
data?: {
|
|
41
|
-
auth_user_mst: CommonSelect[];
|
|
42
|
-
};
|
|
43
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ICoreSypc, ICoreSypg, ICoreSypgr, ICoreSytm, ITabs } from "../schema/core";
|
|
2
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
3
|
-
export interface designConfigControllerResponse extends controllerResponse {
|
|
4
|
-
data?: designConfigResponseData;
|
|
5
|
-
}
|
|
6
|
-
export interface designConfigResponseData {
|
|
7
|
-
page?: Partial<ICoreSypg>;
|
|
8
|
-
theme?: Partial<ICoreSytm>;
|
|
9
|
-
grid?: {
|
|
10
|
-
[key: string]: ICoreSypgr;
|
|
11
|
-
};
|
|
12
|
-
controls?: {
|
|
13
|
-
[key: string]: ICoreSypc;
|
|
14
|
-
};
|
|
15
|
-
tab?: {
|
|
16
|
-
[key: string]: ICoreTabs;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface ICoreTabs {
|
|
20
|
-
_id?: string;
|
|
21
|
-
syptb_title: string;
|
|
22
|
-
syptb_tabs: {
|
|
23
|
-
[key: string]: ITabs;
|
|
24
|
-
};
|
|
25
|
-
syptb_tab_code: string;
|
|
26
|
-
syptb_page_id_sypg: string;
|
|
27
|
-
syptb_isactive?: boolean;
|
|
28
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
2
|
-
export interface entityControllerResponse extends controllerResponse {
|
|
3
|
-
data?: entityResponseData[];
|
|
4
|
-
}
|
|
5
|
-
export interface entityResponseData {
|
|
6
|
-
_id?: string;
|
|
7
|
-
syen_id_syen?: string;
|
|
8
|
-
syen_print_name?: string;
|
|
9
|
-
syen_entity_type_gmst?: string;
|
|
10
|
-
syen_name?: string;
|
|
11
|
-
syen_entity_code?: string;
|
|
12
|
-
syen_corporate_address?: string;
|
|
13
|
-
syen_corporate_pin_sypc?: string;
|
|
14
|
-
syen_corporate_pincode_sypc?: string;
|
|
15
|
-
syen_corporate_contact_person_user?: string;
|
|
16
|
-
syen_corporate_phone?: number;
|
|
17
|
-
syen_corporate_phone_alt?: number;
|
|
18
|
-
syen_corporate_fax?: string;
|
|
19
|
-
syen_corporate_email?: string;
|
|
20
|
-
syen_corporate_email_alt?: string;
|
|
21
|
-
syen_website?: string;
|
|
22
|
-
syen_currency_sycr?: string;
|
|
23
|
-
syen_registered_address?: string;
|
|
24
|
-
syen_registered_pin_sypc?: string;
|
|
25
|
-
syen_registered_pincode_sypc?: string;
|
|
26
|
-
syen_registered_phone?: number;
|
|
27
|
-
syen_registered_email?: string;
|
|
28
|
-
syen_registered_fax?: string;
|
|
29
|
-
syen_registered_contact_person_user?: string;
|
|
30
|
-
syen_udise_no?: string;
|
|
31
|
-
syen_affiliation_no?: string;
|
|
32
|
-
syen_photo_id_fm?: string;
|
|
33
|
-
syen_isactive?: boolean;
|
|
34
|
-
children: entityResponseData[];
|
|
35
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IUser } from "../schema/auth";
|
|
2
|
-
import { controllerResponse } from "../utilities/helpers/response.helper";
|
|
3
|
-
import { SendMailInfo } from "./emailServiceConfig";
|
|
4
|
-
export interface ForgotPasswordControllerResponse extends controllerResponse {
|
|
5
|
-
data?: Partial<ForgotPasswordResponseData>;
|
|
6
|
-
}
|
|
7
|
-
export interface ForgotPasswordResponseData {
|
|
8
|
-
user: Partial<IUser>;
|
|
9
|
-
reset_password_link: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ForgotPasswordSendMailInfo extends SendMailInfo {
|
|
12
|
-
data: Partial<ForgotPasswordResponseData>;
|
|
13
|
-
}
|