cloud-ide-model-schema 1.1.100 → 1.1.102
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/schema/core/core_user_contact_addresses.d.ts +2 -2
- package/lib/schema/frontdesk/fdsk_lead_assignment_detail.d.ts +8 -0
- package/lib/schema/frontdesk/fdsk_lead_assignment_detail.js +28 -0
- package/lib/schema/frontdesk/fdsk_lead_config_master.d.ts +8 -0
- package/lib/schema/frontdesk/fdsk_lead_config_master.js +60 -0
- package/lib/schema/frontdesk/fdsk_lead_detail.d.ts +8 -0
- package/lib/schema/frontdesk/fdsk_lead_detail.js +37 -0
- package/lib/schema/frontdesk/fdsk_lead_scheduling.d.ts +8 -0
- package/lib/schema/frontdesk/fdsk_lead_scheduling.js +47 -0
- package/lib/schema/frontdesk/fdsk_leads.d.ts +8 -0
- package/lib/schema/frontdesk/fdsk_leads.js +126 -0
- package/lib/schema/frontdesk/index.d.ts +5 -0
- package/lib/{model/core → schema/frontdesk}/index.js +5 -6
- package/lib/schema/index.d.ts +1 -0
- package/lib/schema/index.js +1 -0
- package/package.json +35 -35
- package/lib/@types/README.md +0 -21
- 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/README.md +0 -44
- package/lib/common-types/README.md +0 -27
- package/lib/common-types/common.d.ts +0 -31
- package/lib/common-types/common.js +0 -60
- 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/emailServiceConfig.d.ts +0 -33
- package/lib/common-types/emailServiceConfig.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/index.d.ts +0 -4
- package/lib/common-types/index.js +0 -20
- package/lib/common-types/jwtPayload.d.ts +0 -9
- package/lib/common-types/jwtPayload.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/common-types/userPermissions.d.ts +0 -7
- package/lib/common-types/userPermissions.js +0 -2
- package/lib/config/README.md +0 -28
- package/lib/model/README.md +0 -30
- package/lib/model/auth/forgot-password.d.ts +0 -28
- package/lib/model/auth/forgot-password.js +0 -62
- package/lib/model/auth/index.d.ts +0 -4
- package/lib/model/auth/index.js +0 -20
- package/lib/model/auth/login.d.ts +0 -44
- package/lib/model/auth/login.js +0 -109
- package/lib/model/auth/register.d.ts +0 -20
- package/lib/model/auth/register.js +0 -33
- package/lib/model/auth/reset-password.d.ts +0 -36
- package/lib/model/auth/reset-password.js +0 -22
- package/lib/model/core/design-config.d.ts +0 -34
- package/lib/model/core/design-config.js +0 -19
- package/lib/model/core/entity.d.ts +0 -47
- package/lib/model/core/entity.js +0 -35
- package/lib/model/core/general-master.d.ts +0 -37
- package/lib/model/core/general-master.js +0 -19
- package/lib/model/core/index.d.ts +0 -6
- package/lib/model/core/menu.d.ts +0 -28
- package/lib/model/core/menu.js +0 -31
- package/lib/model/core/pin-code.d.ts +0 -21
- package/lib/model/core/pin-code.js +0 -28
- package/lib/model/core/user.d.ts +0 -19
- package/lib/model/core/user.js +0 -19
- package/lib/model/index.d.ts +0 -2
- package/lib/model/index.js +0 -18
- package/lib/schema/README.md +0 -51
- package/lib/schema/auth/mpin.d.ts +0 -37
- package/lib/schema/auth/mpin.js +0 -54
- package/lib/schema/core/aca_class_program_master.d.ts +0 -8
- package/lib/schema/core/aca_class_program_master.js +0 -32
- package/lib/schema/core/aca_class_program_term.d.ts +0 -8
- package/lib/schema/core/aca_class_program_term.js +0 -52
- package/lib/schema/core/aca_prg_trm_section.d.ts +0 -8
- package/lib/schema/core/aca_prg_trm_section.js +0 -45
- package/lib/schema/core/core_academic_year.d.ts +0 -8
- package/lib/schema/core/core_academic_year.js +0 -47
- package/lib/schema/core/core_academic_year_mapping.d.ts +0 -8
- package/lib/schema/core/core_academic_year_mapping.js +0 -25
- package/lib/schema/core/core_financial_year.d.ts +0 -8
- package/lib/schema/core/core_financial_year.js +0 -47
- package/lib/schema/core/core_financial_year_mapping.d.ts +0 -8
- package/lib/schema/core/core_financial_year_mapping.js +0 -25
- package/lib/schema/core/core_page_controls.d.ts +0 -30
- package/lib/schema/core/core_page_controls.js +0 -75
- 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/README.md +0 -22
- package/lib/utilities/helpers/encryption.helper.d.ts +0 -2
- package/lib/utilities/helpers/encryption.helper.js +0 -14
- package/lib/utilities/helpers/error.helper.d.ts +0 -9
- package/lib/utilities/helpers/error.helper.js +0 -26
- package/lib/utilities/helpers/index.d.ts +0 -5
- package/lib/utilities/helpers/index.js +0 -21
- package/lib/utilities/helpers/response.helper.d.ts +0 -16
- package/lib/utilities/helpers/response.helper.js +0 -9
- package/lib/utilities/helpers/string.helper.d.ts +0 -3
- package/lib/utilities/helpers/string.helper.js +0 -232
- package/lib/utilities/helpers/type.hepler.d.ts +0 -3
- package/lib/utilities/helpers/type.hepler.js +0 -2
- package/lib/utilities/helpers/view.helper.d.ts +0 -2
- package/lib/utilities/helpers/view.helper.js +0 -14
- package/lib/utilities/index.d.ts +0 -1
- package/lib/utilities/index.js +0 -17
package/lib/model/core/menu.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { controllerResponse } from "../../utilities";
|
|
2
|
-
type IMenuErrorLogger = {
|
|
3
|
-
[key in keyof MMenu]: string;
|
|
4
|
-
};
|
|
5
|
-
declare class MMenu {
|
|
6
|
-
syme_id?: string;
|
|
7
|
-
syme_title?: string;
|
|
8
|
-
sort?: 'asc' | 'desc';
|
|
9
|
-
constructor(init: MMenu);
|
|
10
|
-
Validate?(): Partial<IMenuErrorLogger>;
|
|
11
|
-
}
|
|
12
|
-
interface menuControllerResponse extends controllerResponse {
|
|
13
|
-
data?: menuResponseData[];
|
|
14
|
-
}
|
|
15
|
-
interface menuResponseData {
|
|
16
|
-
_id: string;
|
|
17
|
-
syme_title: string;
|
|
18
|
-
syme_desc: string;
|
|
19
|
-
syme_path: string;
|
|
20
|
-
syme_icon: string;
|
|
21
|
-
syme_type: string;
|
|
22
|
-
syme_link: boolean;
|
|
23
|
-
children: menuResponseData[];
|
|
24
|
-
}
|
|
25
|
-
export { IMenuErrorLogger, //interface
|
|
26
|
-
MMenu, // model
|
|
27
|
-
menuControllerResponse, // above coresponding to payload abd this corespons to rresponse
|
|
28
|
-
menuResponseData };
|
package/lib/model/core/menu.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MMenu = void 0;
|
|
4
|
-
/* INTERFACE END */
|
|
5
|
-
/* MODEL START */
|
|
6
|
-
var MMenu = /** @class */ (function () {
|
|
7
|
-
function MMenu(init) {
|
|
8
|
-
Object.assign(this, init);
|
|
9
|
-
}
|
|
10
|
-
MMenu.prototype.Validate = function () {
|
|
11
|
-
var errorLogger = {};
|
|
12
|
-
if (!this.syme_id) {
|
|
13
|
-
errorLogger.syme_id = "System menu ID is Required!";
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
if (this.syme_id == 'module') {
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
if (!this.sort) {
|
|
20
|
-
errorLogger.sort = "sort order is Required!";
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
if (this.sort != 'asc' && this.sort != 'desc') {
|
|
24
|
-
errorLogger.sort = "sort order is Required!";
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return errorLogger;
|
|
28
|
-
};
|
|
29
|
-
return MMenu;
|
|
30
|
-
}());
|
|
31
|
-
exports.MMenu = MMenu;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ICoreSypin } from "../../schema";
|
|
2
|
-
import { controllerResponse } from "../../utilities";
|
|
3
|
-
type IPinCodeSelectErrorLogger = {
|
|
4
|
-
[key in keyof MPinCodeSelect]: string;
|
|
5
|
-
};
|
|
6
|
-
declare class MPinCodeSelect {
|
|
7
|
-
sypin_pincode?: string;
|
|
8
|
-
sypin_id?: string;
|
|
9
|
-
constructor(init: MPinCodeSelect);
|
|
10
|
-
Validate?(): Partial<IPinCodeSelectErrorLogger>;
|
|
11
|
-
}
|
|
12
|
-
interface pinCodeSelectControllerResponse extends controllerResponse {
|
|
13
|
-
data?: {
|
|
14
|
-
core_pin_code: pinCodeSelectResponseData[];
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
type pinCodeSelectResponseData = ICoreSypin & controllerResponse;
|
|
18
|
-
export { IPinCodeSelectErrorLogger, //interface
|
|
19
|
-
MPinCodeSelect, // model
|
|
20
|
-
pinCodeSelectControllerResponse, // service response
|
|
21
|
-
pinCodeSelectResponseData };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MPinCodeSelect = void 0;
|
|
4
|
-
/* INTERFACE END */
|
|
5
|
-
/* MODEL START */
|
|
6
|
-
var MPinCodeSelect = /** @class */ (function () {
|
|
7
|
-
function MPinCodeSelect(init) {
|
|
8
|
-
Object.assign(this, init);
|
|
9
|
-
}
|
|
10
|
-
MPinCodeSelect.prototype.Validate = function () {
|
|
11
|
-
var _a;
|
|
12
|
-
var errorLogger = {};
|
|
13
|
-
if (!this.sypin_pincode) {
|
|
14
|
-
errorLogger.sypin_pincode = "Pin Code is Required!";
|
|
15
|
-
}
|
|
16
|
-
else if (!this.sypin_id && !this.sypin_pincode) {
|
|
17
|
-
errorLogger.sypin_id = "Pin Code ID is Required!";
|
|
18
|
-
}
|
|
19
|
-
else if (this.sypin_pincode) {
|
|
20
|
-
if (((_a = this.sypin_pincode) === null || _a === void 0 ? void 0 : _a.length) < 5) {
|
|
21
|
-
errorLogger.sypin_pincode = "Pin Code must be 5 characters";
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
return errorLogger;
|
|
25
|
-
};
|
|
26
|
-
return MPinCodeSelect;
|
|
27
|
-
}());
|
|
28
|
-
exports.MPinCodeSelect = MPinCodeSelect;
|
package/lib/model/core/user.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CommonSelect } from "../../common-types";
|
|
2
|
-
import { controllerResponse } from "../../utilities";
|
|
3
|
-
type IUserSelectErrorLogger = {
|
|
4
|
-
[key in keyof MUserSelect]: string;
|
|
5
|
-
};
|
|
6
|
-
declare class MUserSelect {
|
|
7
|
-
user_fullname?: string;
|
|
8
|
-
user_id?: string;
|
|
9
|
-
constructor(init: MUserSelect);
|
|
10
|
-
Validate?(): Partial<IUserSelectErrorLogger>;
|
|
11
|
-
}
|
|
12
|
-
interface userSelectControllerResponse extends controllerResponse {
|
|
13
|
-
data?: {
|
|
14
|
-
auth_user_mst: CommonSelect[];
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export { IUserSelectErrorLogger, //interface
|
|
18
|
-
MUserSelect, // model
|
|
19
|
-
userSelectControllerResponse };
|
package/lib/model/core/user.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MUserSelect = void 0;
|
|
4
|
-
/* INTERFACE END */
|
|
5
|
-
/* MODEL START */
|
|
6
|
-
var MUserSelect = /** @class */ (function () {
|
|
7
|
-
function MUserSelect(init) {
|
|
8
|
-
Object.assign(this, init);
|
|
9
|
-
}
|
|
10
|
-
MUserSelect.prototype.Validate = function () {
|
|
11
|
-
var errorLogger = {};
|
|
12
|
-
if (!this.user_fullname) {
|
|
13
|
-
errorLogger.user_fullname = "Name of user is Required!";
|
|
14
|
-
}
|
|
15
|
-
return errorLogger;
|
|
16
|
-
};
|
|
17
|
-
return MUserSelect;
|
|
18
|
-
}());
|
|
19
|
-
exports.MUserSelect = MUserSelect;
|
package/lib/model/index.d.ts
DELETED
package/lib/model/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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("./auth"), exports);
|
|
18
|
-
__exportStar(require("./core"), exports);
|
package/lib/schema/README.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Schema Directory
|
|
2
|
-
|
|
3
|
-
This directory contains the compiled JavaScript files and TypeScript declaration files for all MongoDB schema definitions used in the Cloud IDE LMS system.
|
|
4
|
-
|
|
5
|
-
## Navigation
|
|
6
|
-
|
|
7
|
-
- [Back to Compiled Output](../README.md)
|
|
8
|
-
- [Back to Main README](../../README.md)
|
|
9
|
-
- [Common Types Documentation](../common-types/README.md)
|
|
10
|
-
- [Model Interfaces Documentation](../model/README.md)
|
|
11
|
-
|
|
12
|
-
## Directory Structure
|
|
13
|
-
|
|
14
|
-
### Authentication Schemas (`/auth`)
|
|
15
|
-
|
|
16
|
-
Contains compiled schemas for user authentication, profiles, and sessions:
|
|
17
|
-
- User management
|
|
18
|
-
- Login sessions
|
|
19
|
-
- Mobile PIN authentication
|
|
20
|
-
|
|
21
|
-
### Core System Schemas (`/core`)
|
|
22
|
-
|
|
23
|
-
Contains compiled schemas for core system functionality:
|
|
24
|
-
- System logging with custom ID generation
|
|
25
|
-
- System pages and themes
|
|
26
|
-
- Menu management
|
|
27
|
-
- Entity management
|
|
28
|
-
- General master data
|
|
29
|
-
- File management
|
|
30
|
-
|
|
31
|
-
### Email Service Schemas (`/email`)
|
|
32
|
-
|
|
33
|
-
Contains compiled schemas for email management:
|
|
34
|
-
- Email lists
|
|
35
|
-
- Templates
|
|
36
|
-
- Logging
|
|
37
|
-
- Vendor management
|
|
38
|
-
|
|
39
|
-
## Usage
|
|
40
|
-
|
|
41
|
-
These compiled schema files are the actual Mongoose models used in MongoDB operations. They implement the interfaces defined in the model directory.
|
|
42
|
-
|
|
43
|
-
## Advanced Features
|
|
44
|
-
|
|
45
|
-
### Custom ID Generation
|
|
46
|
-
|
|
47
|
-
Some schemas like `core_system_logs` implement custom ID generation using the `customUUID()` utility from the configuration module. This provides:
|
|
48
|
-
|
|
49
|
-
- Application-specific ID prefixes via the `UUID_PREFIX` environment variable
|
|
50
|
-
- Combination with MongoDB ObjectId for uniqueness
|
|
51
|
-
- Consistent ID format across the application
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
-
/// <reference types="mongoose/types/callback" />
|
|
3
|
-
/// <reference types="mongoose/types/collection" />
|
|
4
|
-
/// <reference types="mongoose/types/connection" />
|
|
5
|
-
/// <reference types="mongoose/types/cursor" />
|
|
6
|
-
/// <reference types="mongoose/types/document" />
|
|
7
|
-
/// <reference types="mongoose/types/error" />
|
|
8
|
-
/// <reference types="mongoose/types/expressions" />
|
|
9
|
-
/// <reference types="mongoose/types/helpers" />
|
|
10
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
-
/// <reference types="mongoose/types/indexes" />
|
|
12
|
-
/// <reference types="mongoose/types/models" />
|
|
13
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
-
/// <reference types="mongoose/types/populate" />
|
|
16
|
-
/// <reference types="mongoose/types/query" />
|
|
17
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
-
/// <reference types="mongoose/types/session" />
|
|
20
|
-
/// <reference types="mongoose/types/types" />
|
|
21
|
-
/// <reference types="mongoose/types/utility" />
|
|
22
|
-
/// <reference types="mongoose/types/validation" />
|
|
23
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import mongoose from "mongoose";
|
|
26
|
-
declare class IMpin {
|
|
27
|
-
mpin_pin: number;
|
|
28
|
-
mpin_id_user: string;
|
|
29
|
-
mpin_expiry_dtm: Date;
|
|
30
|
-
mpin_used: boolean;
|
|
31
|
-
mpin_isactive: boolean;
|
|
32
|
-
}
|
|
33
|
-
declare const CMpin: mongoose.Model<IMpin, {}, {}, {}, mongoose.Document<unknown, {}, IMpin> & IMpin & {
|
|
34
|
-
_id: mongoose.Types.ObjectId;
|
|
35
|
-
}, any>;
|
|
36
|
-
export { IMpin, // interface
|
|
37
|
-
CMpin };
|
package/lib/schema/auth/mpin.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CMpin = exports.IMpin = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* INTERFASE START */
|
|
6
|
-
var IMpin = /** @class */ (function () {
|
|
7
|
-
function IMpin() {
|
|
8
|
-
}
|
|
9
|
-
return IMpin;
|
|
10
|
-
}());
|
|
11
|
-
exports.IMpin = IMpin;
|
|
12
|
-
/* INTERFACE END */
|
|
13
|
-
/* SCHEMA START */
|
|
14
|
-
var auth_mpin = new mongoose_1.Schema({
|
|
15
|
-
mpin_id_user: {
|
|
16
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
17
|
-
ref: 'auth_user_mst',
|
|
18
|
-
required: true,
|
|
19
|
-
comment: "User unique primery key, reference user"
|
|
20
|
-
},
|
|
21
|
-
mpin_pin: {
|
|
22
|
-
type: Number,
|
|
23
|
-
require: true,
|
|
24
|
-
unique: true,
|
|
25
|
-
minlength: 6,
|
|
26
|
-
minlenght: 6
|
|
27
|
-
},
|
|
28
|
-
mpin_generation_dtm: {
|
|
29
|
-
type: Date,
|
|
30
|
-
required: true,
|
|
31
|
-
default: new Date()
|
|
32
|
-
},
|
|
33
|
-
mpin_expiry_dtm: {
|
|
34
|
-
type: Date,
|
|
35
|
-
required: true,
|
|
36
|
-
default: new Date()
|
|
37
|
-
},
|
|
38
|
-
mpin_used: {
|
|
39
|
-
type: Boolean,
|
|
40
|
-
default: false
|
|
41
|
-
},
|
|
42
|
-
mpin_id_logses: {
|
|
43
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
44
|
-
comment: "logses session table, whre loggin id is stored which used the mpin",
|
|
45
|
-
trim: true
|
|
46
|
-
},
|
|
47
|
-
mpin_isactive: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
default: true,
|
|
50
|
-
comment: "automaticaly expire when expiry time completes, when authenticator is refreshed new key generates and this will set to false"
|
|
51
|
-
}
|
|
52
|
-
}, { collection: 'auth_mpin' });
|
|
53
|
-
var CMpin = mongoose_1.default.model("auth_mpin", auth_mpin);
|
|
54
|
-
exports.CMpin = CMpin;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AcaClassProgramMaster } from "cloud-ide-lms-model";
|
|
2
|
-
import mongoose from "mongoose";
|
|
3
|
-
declare const CAcaClassProgramMaster: mongoose.Model<AcaClassProgramMaster, {}, {}, {}, mongoose.Document<unknown, {}, AcaClassProgramMaster, {}> & AcaClassProgramMaster & Required<{
|
|
4
|
-
_id: string;
|
|
5
|
-
}> & {
|
|
6
|
-
__v: number;
|
|
7
|
-
}, any>;
|
|
8
|
-
export { CAcaClassProgramMaster };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CAcaClassProgramMaster = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* SCHEMA START */
|
|
6
|
-
var aca_class_program_master = new mongoose_1.Schema({
|
|
7
|
-
acacpm_alise_title: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: true,
|
|
10
|
-
minlength: 1,
|
|
11
|
-
maxlength: 100,
|
|
12
|
-
trim: true
|
|
13
|
-
},
|
|
14
|
-
acacpm_class_program_id_sygms: {
|
|
15
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
16
|
-
ref: "core_general_master"
|
|
17
|
-
},
|
|
18
|
-
acacpm_academic_year_id_acayr: {
|
|
19
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
20
|
-
ref: "aca_academic_year"
|
|
21
|
-
},
|
|
22
|
-
acacpm_entity_id_syen: {
|
|
23
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
24
|
-
ref: "core_system_entity"
|
|
25
|
-
},
|
|
26
|
-
acacpm_isactive: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: true
|
|
29
|
-
}
|
|
30
|
-
}, { collection: 'aca_class_program_master' });
|
|
31
|
-
var CAcaClassProgramMaster = mongoose_1.default.model("aca_class_program_master", aca_class_program_master);
|
|
32
|
-
exports.CAcaClassProgramMaster = CAcaClassProgramMaster;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AcaClassProgramTerm } from "cloud-ide-lms-model";
|
|
2
|
-
import mongoose from "mongoose";
|
|
3
|
-
declare const CAcaClassProgramTerm: mongoose.Model<AcaClassProgramTerm, {}, {}, {}, mongoose.Document<unknown, {}, AcaClassProgramTerm, {}> & AcaClassProgramTerm & Required<{
|
|
4
|
-
_id: string;
|
|
5
|
-
}> & {
|
|
6
|
-
__v: number;
|
|
7
|
-
}, any>;
|
|
8
|
-
export { CAcaClassProgramTerm };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CAcaClassProgramTerm = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* SCHEMA START */
|
|
6
|
-
var aca_class_program_term = new mongoose_1.Schema({
|
|
7
|
-
acapt_name: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: true,
|
|
10
|
-
minlength: 1,
|
|
11
|
-
maxlength: 100,
|
|
12
|
-
trim: true
|
|
13
|
-
},
|
|
14
|
-
acapt_code: {
|
|
15
|
-
type: String,
|
|
16
|
-
minlength: 0,
|
|
17
|
-
maxlength: 50,
|
|
18
|
-
required: true,
|
|
19
|
-
trim: true
|
|
20
|
-
},
|
|
21
|
-
acapt_sequence: {
|
|
22
|
-
type: Number,
|
|
23
|
-
default: 0
|
|
24
|
-
},
|
|
25
|
-
acapt_start_date: {
|
|
26
|
-
type: Date,
|
|
27
|
-
default: null
|
|
28
|
-
},
|
|
29
|
-
acapt_end_date: {
|
|
30
|
-
type: Date,
|
|
31
|
-
default: null
|
|
32
|
-
},
|
|
33
|
-
acapt_class_program_id_acacpm: {
|
|
34
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
35
|
-
ref: "aca_class_program_master",
|
|
36
|
-
required: true
|
|
37
|
-
},
|
|
38
|
-
acapt_parent_class_prog_term_acapt: {
|
|
39
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
40
|
-
ref: "aca_class_program_term"
|
|
41
|
-
},
|
|
42
|
-
acapt_isactive: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: true
|
|
45
|
-
},
|
|
46
|
-
acapt_islocked: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: false
|
|
49
|
-
}
|
|
50
|
-
}, { collection: 'aca_class_program_term' });
|
|
51
|
-
var CAcaClassProgramTerm = mongoose_1.default.model("aca_class_program_term", aca_class_program_term);
|
|
52
|
-
exports.CAcaClassProgramTerm = CAcaClassProgramTerm;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AcaPrgTrmSection } from "cloud-ide-lms-model";
|
|
2
|
-
import mongoose from "mongoose";
|
|
3
|
-
declare const CAcaPrgTrmSection: mongoose.Model<AcaPrgTrmSection, {}, {}, {}, mongoose.Document<unknown, {}, AcaPrgTrmSection, {}> & AcaPrgTrmSection & Required<{
|
|
4
|
-
_id: string;
|
|
5
|
-
}> & {
|
|
6
|
-
__v: number;
|
|
7
|
-
}, any>;
|
|
8
|
-
export { CAcaPrgTrmSection };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CAcaPrgTrmSection = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* SCHEMA START */
|
|
6
|
-
var aca_prg_trm_section = new mongoose_1.Schema({
|
|
7
|
-
acapts_name: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: true,
|
|
10
|
-
minlength: 1,
|
|
11
|
-
maxlength: 100,
|
|
12
|
-
trim: true
|
|
13
|
-
},
|
|
14
|
-
acapts_code: {
|
|
15
|
-
type: String,
|
|
16
|
-
minlength: 0,
|
|
17
|
-
maxlength: 50,
|
|
18
|
-
required: true,
|
|
19
|
-
trim: true
|
|
20
|
-
},
|
|
21
|
-
acapts_sequence: {
|
|
22
|
-
type: Number,
|
|
23
|
-
default: 0
|
|
24
|
-
},
|
|
25
|
-
acapts_class_program_id_acacpm: {
|
|
26
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
27
|
-
ref: "aca_class_program_master",
|
|
28
|
-
required: true
|
|
29
|
-
},
|
|
30
|
-
acapts_parent_class_prog_term_acapt: {
|
|
31
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
32
|
-
ref: "aca_class_program_term",
|
|
33
|
-
required: true
|
|
34
|
-
},
|
|
35
|
-
acapts_isactive: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: true
|
|
38
|
-
},
|
|
39
|
-
acapts_islocked: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: false
|
|
42
|
-
}
|
|
43
|
-
}, { collection: 'aca_prg_trm_section' });
|
|
44
|
-
var CAcaPrgTrmSection = mongoose_1.default.model("aca_prg_trm_section", aca_prg_trm_section);
|
|
45
|
-
exports.CAcaPrgTrmSection = CAcaPrgTrmSection;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CoreAcademicYear } from "cloud-ide-lms-model";
|
|
2
|
-
import mongoose from "mongoose";
|
|
3
|
-
declare const CCoreAcademicYear: mongoose.Model<CoreAcademicYear, {}, {}, {}, mongoose.Document<unknown, {}, CoreAcademicYear, {}> & CoreAcademicYear & Required<{
|
|
4
|
-
_id: string;
|
|
5
|
-
}> & {
|
|
6
|
-
__v: number;
|
|
7
|
-
}, any>;
|
|
8
|
-
export { CCoreAcademicYear };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CCoreAcademicYear = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* SCHEMA START */
|
|
6
|
-
var core_academic_year = new mongoose_1.Schema({
|
|
7
|
-
syacayr_code: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "",
|
|
10
|
-
maxlength: 30,
|
|
11
|
-
trim: true
|
|
12
|
-
},
|
|
13
|
-
syacayr_name: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: "",
|
|
16
|
-
maxlength: 50,
|
|
17
|
-
trim: true
|
|
18
|
-
},
|
|
19
|
-
syacayr_description: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: "",
|
|
22
|
-
maxlength: 250,
|
|
23
|
-
trim: true
|
|
24
|
-
},
|
|
25
|
-
syacayr_from_date: {
|
|
26
|
-
type: Date,
|
|
27
|
-
default: null
|
|
28
|
-
},
|
|
29
|
-
syacayr_to_date: {
|
|
30
|
-
type: Date,
|
|
31
|
-
default: null
|
|
32
|
-
},
|
|
33
|
-
syacayr_isactive: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: true
|
|
36
|
-
},
|
|
37
|
-
syacayr_iscurrent: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: false
|
|
40
|
-
},
|
|
41
|
-
syacayr_islocked: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: false
|
|
44
|
-
}
|
|
45
|
-
}, { collection: 'core_academic_year' });
|
|
46
|
-
var CCoreAcademicYear = mongoose_1.default.model("core_academic_year", core_academic_year);
|
|
47
|
-
exports.CCoreAcademicYear = CCoreAcademicYear;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CoreAcademicYearMapping } from "cloud-ide-lms-model";
|
|
2
|
-
import mongoose from "mongoose";
|
|
3
|
-
declare const CCoreAcademicYearMapping: mongoose.Model<CoreAcademicYearMapping, {}, {}, {}, mongoose.Document<unknown, {}, CoreAcademicYearMapping, {}> & CoreAcademicYearMapping & Required<{
|
|
4
|
-
_id: string;
|
|
5
|
-
}> & {
|
|
6
|
-
__v: number;
|
|
7
|
-
}, any>;
|
|
8
|
-
export { CCoreAcademicYearMapping };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CCoreAcademicYearMapping = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* SCHEMA START */
|
|
6
|
-
var core_academic_year_mapping = new mongoose_1.Schema({
|
|
7
|
-
syacmp_islocked: {
|
|
8
|
-
type: Boolean,
|
|
9
|
-
default: false
|
|
10
|
-
},
|
|
11
|
-
syacmp_iscurrent: {
|
|
12
|
-
type: Boolean,
|
|
13
|
-
default: false
|
|
14
|
-
},
|
|
15
|
-
syacmp_academic_year_id_syacayr: {
|
|
16
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
17
|
-
ref: 'core_academic_year'
|
|
18
|
-
},
|
|
19
|
-
syacmp_entity_id_syen: {
|
|
20
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
21
|
-
ref: 'core_system_entity'
|
|
22
|
-
}
|
|
23
|
-
}, { collection: 'core_academic_year_mapping' });
|
|
24
|
-
var CCoreAcademicYearMapping = mongoose_1.default.model("core_academic_year_mapping", core_academic_year_mapping);
|
|
25
|
-
exports.CCoreAcademicYearMapping = CCoreAcademicYearMapping;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CoreFinancialYear } from "cloud-ide-lms-model";
|
|
2
|
-
import mongoose from "mongoose";
|
|
3
|
-
declare const CCoreFinancialYear: mongoose.Model<CoreFinancialYear, {}, {}, {}, mongoose.Document<unknown, {}, CoreFinancialYear, {}> & CoreFinancialYear & Required<{
|
|
4
|
-
_id: string;
|
|
5
|
-
}> & {
|
|
6
|
-
__v: number;
|
|
7
|
-
}, any>;
|
|
8
|
-
export { CCoreFinancialYear };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CCoreFinancialYear = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* SCHEMA START */
|
|
6
|
-
var core_financial_year = new mongoose_1.Schema({
|
|
7
|
-
syfinyr_code: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "",
|
|
10
|
-
maxlength: 30,
|
|
11
|
-
trim: true
|
|
12
|
-
},
|
|
13
|
-
syfinyr_name: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: "",
|
|
16
|
-
maxlength: 50,
|
|
17
|
-
trim: true
|
|
18
|
-
},
|
|
19
|
-
syfinyr_description: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: "",
|
|
22
|
-
maxlength: 250,
|
|
23
|
-
trim: true
|
|
24
|
-
},
|
|
25
|
-
syfinyr_from_date: {
|
|
26
|
-
type: Date,
|
|
27
|
-
default: null
|
|
28
|
-
},
|
|
29
|
-
syfinyr_to_date: {
|
|
30
|
-
type: Date,
|
|
31
|
-
default: null
|
|
32
|
-
},
|
|
33
|
-
syfinyr_isactive: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: true
|
|
36
|
-
},
|
|
37
|
-
syfinyr_iscurrent: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: false
|
|
40
|
-
},
|
|
41
|
-
syfinyr_islocked: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: false
|
|
44
|
-
}
|
|
45
|
-
}, { collection: 'core_financial_year' });
|
|
46
|
-
var CCoreFinancialYear = mongoose_1.default.model("core_financial_year", core_financial_year);
|
|
47
|
-
exports.CCoreFinancialYear = CCoreFinancialYear;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CoreFinancialYearMapping } from "cloud-ide-lms-model";
|
|
2
|
-
import mongoose from "mongoose";
|
|
3
|
-
declare const CCoreFinancialYearMapping: mongoose.Model<CoreFinancialYearMapping, {}, {}, {}, mongoose.Document<unknown, {}, CoreFinancialYearMapping, {}> & CoreFinancialYearMapping & Required<{
|
|
4
|
-
_id: string;
|
|
5
|
-
}> & {
|
|
6
|
-
__v: number;
|
|
7
|
-
}, any>;
|
|
8
|
-
export { CCoreFinancialYearMapping };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CCoreFinancialYearMapping = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* SCHEMA START */
|
|
6
|
-
var core_financial_year_mapping = new mongoose_1.Schema({
|
|
7
|
-
syfinmp_islocked: {
|
|
8
|
-
type: Boolean,
|
|
9
|
-
default: false
|
|
10
|
-
},
|
|
11
|
-
syfinmp_iscurrent: {
|
|
12
|
-
type: Boolean,
|
|
13
|
-
default: false
|
|
14
|
-
},
|
|
15
|
-
syfinmp_financial_year_id_syfinyr: {
|
|
16
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
17
|
-
ref: 'core_financial_year'
|
|
18
|
-
},
|
|
19
|
-
syfinmp_entity_id_syen: {
|
|
20
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
21
|
-
ref: 'core_system_entity'
|
|
22
|
-
}
|
|
23
|
-
}, { collection: 'core_financial_year_mapping' });
|
|
24
|
-
var CCoreFinancialYearMapping = mongoose_1.default.model("core_financial_year_mapping", core_financial_year_mapping);
|
|
25
|
-
exports.CCoreFinancialYearMapping = CCoreFinancialYearMapping;
|