cloud-ide-lms-model 1.0.0
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/@types/common.d.ts +22 -0
- package/lib/@types/common.js +50 -0
- package/lib/@types/coreControllerResponse.d.ts +43 -0
- package/lib/@types/coreControllerResponse.js +2 -0
- package/lib/@types/designConfigControllerResponse.d.ts +28 -0
- package/lib/@types/designConfigControllerResponse.js +2 -0
- package/lib/@types/emailServiceConfig.d.ts +33 -0
- package/lib/@types/emailServiceConfig.js +2 -0
- package/lib/@types/entityControllerResponse.d.ts +35 -0
- package/lib/@types/entityControllerResponse.js +2 -0
- package/lib/@types/forgotPasswordControllerResponse.d.ts +13 -0
- package/lib/@types/forgotPasswordControllerResponse.js +2 -0
- package/lib/@types/jwtPayload.d.ts +16 -0
- package/lib/@types/jwtPayload.js +2 -0
- package/lib/@types/loginControllerResponse.d.ts +17 -0
- package/lib/@types/loginControllerResponse.js +2 -0
- package/lib/@types/menuControllerResponse.d.ts +13 -0
- package/lib/@types/menuControllerResponse.js +2 -0
- package/lib/@types/resetPasswordControllerResponse.d.ts +15 -0
- package/lib/@types/resetPasswordControllerResponse.js +2 -0
- package/lib/@types/userPermissions.d.ts +7 -0
- package/lib/@types/userPermissions.js +2 -0
- package/lib/common-types/common.d.ts +31 -0
- package/lib/common-types/common.js +60 -0
- package/lib/common-types/coreControllerResponse.d.ts +43 -0
- package/lib/common-types/coreControllerResponse.js +2 -0
- package/lib/common-types/designConfigControllerResponse.d.ts +28 -0
- package/lib/common-types/designConfigControllerResponse.js +2 -0
- package/lib/common-types/emailServiceConfig.d.ts +33 -0
- package/lib/common-types/emailServiceConfig.js +2 -0
- package/lib/common-types/entityControllerResponse.d.ts +35 -0
- package/lib/common-types/entityControllerResponse.js +2 -0
- package/lib/common-types/forgotPasswordControllerResponse.d.ts +13 -0
- package/lib/common-types/forgotPasswordControllerResponse.js +2 -0
- package/lib/common-types/index.d.ts +4 -0
- package/lib/common-types/index.js +20 -0
- package/lib/common-types/jwtPayload.d.ts +9 -0
- package/lib/common-types/jwtPayload.js +2 -0
- package/lib/common-types/loginControllerResponse.d.ts +17 -0
- package/lib/common-types/loginControllerResponse.js +2 -0
- package/lib/common-types/menuControllerResponse.d.ts +13 -0
- package/lib/common-types/menuControllerResponse.js +2 -0
- package/lib/common-types/resetPasswordControllerResponse.d.ts +15 -0
- package/lib/common-types/resetPasswordControllerResponse.js +2 -0
- package/lib/common-types/userPermissions.d.ts +7 -0
- package/lib/common-types/userPermissions.js +2 -0
- package/lib/config/database.d.ts +3 -0
- package/lib/config/database.js +66 -0
- package/lib/config/index.d.ts +2 -0
- package/lib/config/index.js +5 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +20 -0
- package/lib/model/auth/forgot-password.d.ts +28 -0
- package/lib/model/auth/forgot-password.js +62 -0
- package/lib/model/auth/index.d.ts +4 -0
- package/lib/model/auth/index.js +20 -0
- package/lib/model/auth/login.d.ts +44 -0
- package/lib/model/auth/login.js +109 -0
- package/lib/model/auth/register.d.ts +20 -0
- package/lib/model/auth/register.js +33 -0
- package/lib/model/auth/reset-password.d.ts +36 -0
- package/lib/model/auth/reset-password.js +22 -0
- package/lib/model/core/design-config.d.ts +34 -0
- package/lib/model/core/design-config.js +19 -0
- package/lib/model/core/entity.d.ts +47 -0
- package/lib/model/core/entity.js +35 -0
- package/lib/model/core/general-master.d.ts +37 -0
- package/lib/model/core/general-master.js +19 -0
- package/lib/model/core/index.d.ts +6 -0
- package/lib/model/core/index.js +22 -0
- package/lib/model/core/menu.d.ts +28 -0
- package/lib/model/core/menu.js +31 -0
- package/lib/model/core/pin-code.d.ts +21 -0
- package/lib/model/core/pin-code.js +28 -0
- package/lib/model/core/user.d.ts +19 -0
- package/lib/model/core/user.js +19 -0
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +18 -0
- package/lib/schema/auth/auth_logses.d.ts +13 -0
- package/lib/schema/auth/auth_logses.js +2 -0
- package/lib/schema/auth/auth_user_mst.d.ts +30 -0
- package/lib/schema/auth/auth_user_mst.js +2 -0
- package/lib/schema/auth/index.d.ts +3 -0
- package/lib/schema/auth/index.js +19 -0
- package/lib/schema/auth/mpin.d.ts +8 -0
- package/lib/schema/auth/mpin.js +10 -0
- package/lib/schema/core/core_entity_mapping.d.ts +10 -0
- package/lib/schema/core/core_entity_mapping.js +2 -0
- package/lib/schema/core/core_general_master.d.ts +10 -0
- package/lib/schema/core/core_general_master.js +2 -0
- package/lib/schema/core/core_general_master_type.d.ts +8 -0
- package/lib/schema/core/core_general_master_type.js +2 -0
- package/lib/schema/core/core_page_controls.d.ts +18 -0
- package/lib/schema/core/core_page_controls.js +2 -0
- package/lib/schema/core/core_page_grid.d.ts +7 -0
- package/lib/schema/core/core_page_grid.js +2 -0
- package/lib/schema/core/core_page_tab.d.ts +14 -0
- package/lib/schema/core/core_page_tab.js +2 -0
- package/lib/schema/core/core_pin_code.d.ts +15 -0
- package/lib/schema/core/core_pin_code.js +2 -0
- package/lib/schema/core/core_system_config.d.ts +8 -0
- package/lib/schema/core/core_system_config.js +10 -0
- package/lib/schema/core/core_system_entity.d.ts +34 -0
- package/lib/schema/core/core_system_entity.js +2 -0
- package/lib/schema/core/core_system_logs.d.ts +24 -0
- package/lib/schema/core/core_system_logs.js +33 -0
- package/lib/schema/core/core_system_menu.d.ts +13 -0
- package/lib/schema/core/core_system_menu.js +10 -0
- package/lib/schema/core/core_system_pages.d.ts +10 -0
- package/lib/schema/core/core_system_pages.js +10 -0
- package/lib/schema/core/core_system_pages_theme.d.ts +11 -0
- package/lib/schema/core/core_system_pages_theme.js +10 -0
- package/lib/schema/core/index.d.ts +13 -0
- package/lib/schema/core/index.js +29 -0
- package/lib/schema/email/elist.d.ts +36 -0
- package/lib/schema/email/elist.js +42 -0
- package/lib/schema/email/elog.d.ts +41 -0
- package/lib/schema/email/elog.js +58 -0
- package/lib/schema/email/email_list.d.ts +7 -0
- package/lib/schema/email/email_list.js +10 -0
- package/lib/schema/email/email_log.d.ts +12 -0
- package/lib/schema/email/email_log.js +10 -0
- package/lib/schema/email/email_reference.d.ts +8 -0
- package/lib/schema/email/email_reference.js +10 -0
- package/lib/schema/email/email_subscription_vendor.d.ts +14 -0
- package/lib/schema/email/email_subscription_vendor.js +10 -0
- package/lib/schema/email/email_templete.d.ts +7 -0
- package/lib/schema/email/email_templete.js +10 -0
- package/lib/schema/email/email_vendor.d.ts +7 -0
- package/lib/schema/email/email_vendor.js +10 -0
- package/lib/schema/email/eref.d.ts +37 -0
- package/lib/schema/email/eref.js +43 -0
- package/lib/schema/email/esub.d.ts +43 -0
- package/lib/schema/email/esub.js +69 -0
- package/lib/schema/email/etmp.d.ts +36 -0
- package/lib/schema/email/etmp.js +41 -0
- package/lib/schema/email/evdr.d.ts +36 -0
- package/lib/schema/email/evdr.js +41 -0
- package/lib/schema/email/index.d.ts +6 -0
- package/lib/schema/email/index.js +22 -0
- package/lib/schema/index.d.ts +3 -0
- package/lib/schema/index.js +19 -0
- package/lib/utilities/helpers/encryption.helper.d.ts +2 -0
- package/lib/utilities/helpers/encryption.helper.js +14 -0
- package/lib/utilities/helpers/error.helper.d.ts +9 -0
- package/lib/utilities/helpers/error.helper.js +26 -0
- package/lib/utilities/helpers/index.d.ts +5 -0
- package/lib/utilities/helpers/index.js +21 -0
- package/lib/utilities/helpers/response.helper.d.ts +16 -0
- package/lib/utilities/helpers/response.helper.js +9 -0
- package/lib/utilities/helpers/string.helper.d.ts +3 -0
- package/lib/utilities/helpers/string.helper.js +232 -0
- package/lib/utilities/helpers/type.hepler.d.ts +3 -0
- package/lib/utilities/helpers/type.hepler.js +2 -0
- package/lib/utilities/helpers/view.helper.d.ts +2 -0
- package/lib/utilities/helpers/view.helper.js +14 -0
- package/lib/utilities/index.d.ts +1 -0
- package/lib/utilities/index.js +17 -0
- package/package.json +25 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ICoreSylog = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var ICoreSylog = /** @class */ (function () {
|
|
6
|
+
function ICoreSylog() {
|
|
7
|
+
}
|
|
8
|
+
return ICoreSylog;
|
|
9
|
+
}());
|
|
10
|
+
exports.ICoreSylog = ICoreSylog;
|
|
11
|
+
/*
|
|
12
|
+
|| EXAMPLE for TRACE log type
|
|
13
|
+
||{
|
|
14
|
+
|| user_id: "user001", // this is after login succuess for each route
|
|
15
|
+
|| log_type: "TRACE",
|
|
16
|
+
|| timestamp: new Date(),
|
|
17
|
+
|| method: "POST",
|
|
18
|
+
|| route: "/auth/login",
|
|
19
|
+
|| request: {},
|
|
20
|
+
|| ip_address" "192.168.0.6",
|
|
21
|
+
||}
|
|
22
|
+
*/
|
|
23
|
+
/*
|
|
24
|
+
|| EXAMPLE for SECURITY log type
|
|
25
|
+
||{
|
|
26
|
+
|| user_id: "user001", // this is after reset password link sent
|
|
27
|
+
|| log_type: "SECURITY",
|
|
28
|
+
|| timestamp: new Date(),
|
|
29
|
+
|| sylog_security_event: "reset_password",
|
|
30
|
+
|| sylog_config_data: {"reset_password_id":""}
|
|
31
|
+
|| ip_address" "192.168.0.6",
|
|
32
|
+
||}
|
|
33
|
+
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare class ICoreSyme {
|
|
2
|
+
_id?: string;
|
|
3
|
+
syme_title?: string;
|
|
4
|
+
syme_desc?: string;
|
|
5
|
+
syme_path?: string;
|
|
6
|
+
syme_icon?: string;
|
|
7
|
+
syme_type?: string;
|
|
8
|
+
syme_link?: string;
|
|
9
|
+
syme_order_by?: number;
|
|
10
|
+
syme_id_syme?: string;
|
|
11
|
+
syme_isactive?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export { ICoreSyme };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ICoreSyme = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var ICoreSyme = /** @class */ (function () {
|
|
6
|
+
function ICoreSyme() {
|
|
7
|
+
}
|
|
8
|
+
return ICoreSyme;
|
|
9
|
+
}());
|
|
10
|
+
exports.ICoreSyme = ICoreSyme;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ICoreSypg = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var ICoreSypg = /** @class */ (function () {
|
|
6
|
+
function ICoreSypg() {
|
|
7
|
+
}
|
|
8
|
+
return ICoreSypg;
|
|
9
|
+
}());
|
|
10
|
+
exports.ICoreSypg = ICoreSypg;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare class ICoreSytm {
|
|
2
|
+
_id?: string;
|
|
3
|
+
sytm_theme_code?: string;
|
|
4
|
+
sytm_title?: string;
|
|
5
|
+
sytm_desc?: string;
|
|
6
|
+
sytm_configuration?: any;
|
|
7
|
+
sytm_page_id_sypg?: string;
|
|
8
|
+
sytm_preview_id_fm?: string;
|
|
9
|
+
sytm_isactive?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export { ICoreSytm };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ICoreSytm = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var ICoreSytm = /** @class */ (function () {
|
|
6
|
+
function ICoreSytm() {
|
|
7
|
+
}
|
|
8
|
+
return ICoreSytm;
|
|
9
|
+
}());
|
|
10
|
+
exports.ICoreSytm = ICoreSytm;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './core_system_pages';
|
|
2
|
+
export * from './core_system_pages_theme';
|
|
3
|
+
export * from './core_system_menu';
|
|
4
|
+
export * from './core_system_logs';
|
|
5
|
+
export * from './core_system_entity';
|
|
6
|
+
export * from './core_system_config';
|
|
7
|
+
export * from './core_pin_code';
|
|
8
|
+
export * from './core_page_tab';
|
|
9
|
+
export * from './core_page_grid';
|
|
10
|
+
export * from './core_page_controls';
|
|
11
|
+
export * from './core_general_master';
|
|
12
|
+
export * from './core_general_master_type';
|
|
13
|
+
export * from './core_entity_mapping';
|
|
@@ -0,0 +1,29 @@
|
|
|
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("./core_system_pages"), exports);
|
|
18
|
+
__exportStar(require("./core_system_pages_theme"), exports);
|
|
19
|
+
__exportStar(require("./core_system_menu"), exports);
|
|
20
|
+
__exportStar(require("./core_system_logs"), exports);
|
|
21
|
+
__exportStar(require("./core_system_entity"), exports);
|
|
22
|
+
__exportStar(require("./core_system_config"), exports);
|
|
23
|
+
__exportStar(require("./core_pin_code"), exports);
|
|
24
|
+
__exportStar(require("./core_page_tab"), exports);
|
|
25
|
+
__exportStar(require("./core_page_grid"), exports);
|
|
26
|
+
__exportStar(require("./core_page_controls"), exports);
|
|
27
|
+
__exportStar(require("./core_general_master"), exports);
|
|
28
|
+
__exportStar(require("./core_general_master_type"), exports);
|
|
29
|
+
__exportStar(require("./core_entity_mapping"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
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 IEmailList {
|
|
27
|
+
elst_email: string;
|
|
28
|
+
elst_id_evdr: string;
|
|
29
|
+
elst_sender_reciver_name: string;
|
|
30
|
+
elst_isactive: boolean;
|
|
31
|
+
}
|
|
32
|
+
declare const CEmailList: mongoose.Model<IEmailList, {}, {}, {}, mongoose.Document<unknown, {}, IEmailList> & IEmailList & {
|
|
33
|
+
_id: mongoose.Types.ObjectId;
|
|
34
|
+
}, any>;
|
|
35
|
+
export { IEmailList, // interface
|
|
36
|
+
CEmailList };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CEmailList = exports.IEmailList = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* INTERFASE START */
|
|
6
|
+
var IEmailList = /** @class */ (function () {
|
|
7
|
+
function IEmailList() {
|
|
8
|
+
}
|
|
9
|
+
return IEmailList;
|
|
10
|
+
}());
|
|
11
|
+
exports.IEmailList = IEmailList;
|
|
12
|
+
/* INTERFACE END */
|
|
13
|
+
/* SCHEMA START */
|
|
14
|
+
var email_list = new mongoose_1.Schema({
|
|
15
|
+
elst_email: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: true,
|
|
18
|
+
comment: " maximum of 64 characters (octets) in the \"local part\" (before the \"@\") and a maximum of 255 characters (octets) in the domain part (after the \"@\") for a total length of 320 characters",
|
|
19
|
+
maxlength: 320,
|
|
20
|
+
minlength: 8,
|
|
21
|
+
trim: true
|
|
22
|
+
},
|
|
23
|
+
elst_id_evdr: {
|
|
24
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
25
|
+
required: true,
|
|
26
|
+
ref: "email_vendor"
|
|
27
|
+
},
|
|
28
|
+
elst_sender_reciver_name: {
|
|
29
|
+
type: String,
|
|
30
|
+
minlength: 8,
|
|
31
|
+
maxlength: 52,
|
|
32
|
+
required: true,
|
|
33
|
+
trim: true
|
|
34
|
+
},
|
|
35
|
+
elst_isactive: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
required: true,
|
|
38
|
+
default: true
|
|
39
|
+
}
|
|
40
|
+
}, { collection: 'email_list' });
|
|
41
|
+
var CEmailList = mongoose_1.default.model("email_list", email_list);
|
|
42
|
+
exports.CEmailList = CEmailList;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 IEmailLog {
|
|
27
|
+
_id?: string;
|
|
28
|
+
elog_from_email?: string;
|
|
29
|
+
elog_to_email?: string;
|
|
30
|
+
elog_timestamp?: Date;
|
|
31
|
+
elog_mail_status?: string;
|
|
32
|
+
elog_id_eref?: string;
|
|
33
|
+
elog_id_etmp?: string;
|
|
34
|
+
elog_subject?: string;
|
|
35
|
+
elog_body?: string;
|
|
36
|
+
}
|
|
37
|
+
declare const CEmailLog: mongoose.Model<IEmailLog, {}, {}, {}, mongoose.Document<unknown, {}, IEmailLog> & IEmailLog & Required<{
|
|
38
|
+
_id: string;
|
|
39
|
+
}>, any>;
|
|
40
|
+
export { IEmailLog, // interface
|
|
41
|
+
CEmailLog };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CEmailLog = exports.IEmailLog = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* INTERFASE START */
|
|
6
|
+
var IEmailLog = /** @class */ (function () {
|
|
7
|
+
function IEmailLog() {
|
|
8
|
+
}
|
|
9
|
+
return IEmailLog;
|
|
10
|
+
}());
|
|
11
|
+
exports.IEmailLog = IEmailLog;
|
|
12
|
+
/* INTERFACE END */
|
|
13
|
+
/* SCHEMA START */
|
|
14
|
+
var email_log = new mongoose_1.Schema({
|
|
15
|
+
elog_from_email: {
|
|
16
|
+
type: String,
|
|
17
|
+
comment: " maximum of 64 characters (octets) in the \"local part\" (before the \"@\") and a maximum of 255 characters (octets) in the domain part (after the \"@\") for a total length of 320 characters",
|
|
18
|
+
trim: true
|
|
19
|
+
},
|
|
20
|
+
elog_to_email: {
|
|
21
|
+
type: String,
|
|
22
|
+
comment: " maximum of 64 characters (octets) in the \"local part\" (before the \"@\") and a maximum of 255 characters (octets) in the domain part (after the \"@\") for a total length of 320 characters",
|
|
23
|
+
trim: true
|
|
24
|
+
},
|
|
25
|
+
elog_id_eref: {
|
|
26
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
27
|
+
ref: "email_reference"
|
|
28
|
+
},
|
|
29
|
+
elog_subject: {
|
|
30
|
+
type: String,
|
|
31
|
+
required: false,
|
|
32
|
+
trim: true
|
|
33
|
+
},
|
|
34
|
+
elog_body: {
|
|
35
|
+
type: String,
|
|
36
|
+
required: false
|
|
37
|
+
},
|
|
38
|
+
elog_id_etmp: {
|
|
39
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
40
|
+
ref: "email_templete"
|
|
41
|
+
},
|
|
42
|
+
elog_mail_status: {
|
|
43
|
+
type: String,
|
|
44
|
+
trim: true,
|
|
45
|
+
default: 'created',
|
|
46
|
+
enum: ['created', 'sent', 'not_sent']
|
|
47
|
+
},
|
|
48
|
+
elog_timestamp: {
|
|
49
|
+
type: Date,
|
|
50
|
+
default: new Date()
|
|
51
|
+
},
|
|
52
|
+
elog_isactive: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: true
|
|
55
|
+
}
|
|
56
|
+
}, { collection: 'email_log' });
|
|
57
|
+
var CEmailLog = mongoose_1.default.model("email_log", email_log);
|
|
58
|
+
exports.CEmailLog = CEmailLog;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IEmailList = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var IEmailList = /** @class */ (function () {
|
|
6
|
+
function IEmailList() {
|
|
7
|
+
}
|
|
8
|
+
return IEmailList;
|
|
9
|
+
}());
|
|
10
|
+
exports.IEmailList = IEmailList;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare class IEmailLog {
|
|
2
|
+
_id?: string;
|
|
3
|
+
elog_from_email?: string;
|
|
4
|
+
elog_to_email?: string;
|
|
5
|
+
elog_timestamp?: Date;
|
|
6
|
+
elog_mail_status?: string;
|
|
7
|
+
elog_id_eref?: string;
|
|
8
|
+
elog_id_etmp?: string;
|
|
9
|
+
elog_subject?: string;
|
|
10
|
+
elog_body?: string;
|
|
11
|
+
}
|
|
12
|
+
export { IEmailLog };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IEmailLog = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var IEmailLog = /** @class */ (function () {
|
|
6
|
+
function IEmailLog() {
|
|
7
|
+
}
|
|
8
|
+
return IEmailLog;
|
|
9
|
+
}());
|
|
10
|
+
exports.IEmailLog = IEmailLog;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IEmailReference = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var IEmailReference = /** @class */ (function () {
|
|
6
|
+
function IEmailReference() {
|
|
7
|
+
}
|
|
8
|
+
return IEmailReference;
|
|
9
|
+
}());
|
|
10
|
+
exports.IEmailReference = IEmailReference;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare class IEmailVendorSubscription {
|
|
2
|
+
_id?: string;
|
|
3
|
+
esub_id_evdr?: string;
|
|
4
|
+
esub_start_dtm?: Date;
|
|
5
|
+
esub_end_dtm?: Date;
|
|
6
|
+
esub_timestamp?: string;
|
|
7
|
+
esub_limit?: number;
|
|
8
|
+
esub_alert_on_limit?: string;
|
|
9
|
+
esub_alert_to_id_user?: string;
|
|
10
|
+
esub_used_limit?: number;
|
|
11
|
+
esub_status?: string;
|
|
12
|
+
esub_isactive?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export { IEmailVendorSubscription };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IEmailVendorSubscription = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var IEmailVendorSubscription = /** @class */ (function () {
|
|
6
|
+
function IEmailVendorSubscription() {
|
|
7
|
+
}
|
|
8
|
+
return IEmailVendorSubscription;
|
|
9
|
+
}());
|
|
10
|
+
exports.IEmailVendorSubscription = IEmailVendorSubscription;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IEmailTemplete = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var IEmailTemplete = /** @class */ (function () {
|
|
6
|
+
function IEmailTemplete() {
|
|
7
|
+
}
|
|
8
|
+
return IEmailTemplete;
|
|
9
|
+
}());
|
|
10
|
+
exports.IEmailTemplete = IEmailTemplete;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IEmailVendor = void 0;
|
|
4
|
+
/* INTERFASE START */
|
|
5
|
+
var IEmailVendor = /** @class */ (function () {
|
|
6
|
+
function IEmailVendor() {
|
|
7
|
+
}
|
|
8
|
+
return IEmailVendor;
|
|
9
|
+
}());
|
|
10
|
+
exports.IEmailVendor = IEmailVendor;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 IEmailReference {
|
|
27
|
+
eref_reference: string;
|
|
28
|
+
eref_sender_id_elst: string;
|
|
29
|
+
eref_receiver_id_elst: string;
|
|
30
|
+
eref_var: boolean;
|
|
31
|
+
eref_isactive: boolean;
|
|
32
|
+
}
|
|
33
|
+
declare const CEmailReference: mongoose.Model<IEmailReference, {}, {}, {}, mongoose.Document<unknown, {}, IEmailReference> & IEmailReference & {
|
|
34
|
+
_id: mongoose.Types.ObjectId;
|
|
35
|
+
}, any>;
|
|
36
|
+
export { IEmailReference, // interface
|
|
37
|
+
CEmailReference };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CEmailReference = exports.IEmailReference = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* INTERFASE START */
|
|
6
|
+
var IEmailReference = /** @class */ (function () {
|
|
7
|
+
function IEmailReference() {
|
|
8
|
+
}
|
|
9
|
+
return IEmailReference;
|
|
10
|
+
}());
|
|
11
|
+
exports.IEmailReference = IEmailReference;
|
|
12
|
+
/* INTERFACE END */
|
|
13
|
+
/* SCHEMA START */
|
|
14
|
+
var email_reference = new mongoose_1.Schema({
|
|
15
|
+
eref_reference: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: true,
|
|
18
|
+
unique: true
|
|
19
|
+
},
|
|
20
|
+
eref_sender_id_elst: {
|
|
21
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
22
|
+
require: true,
|
|
23
|
+
ref: "email_vendor"
|
|
24
|
+
},
|
|
25
|
+
eref_receiver_id_elst: {
|
|
26
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
27
|
+
require: true,
|
|
28
|
+
ref: "email_vendor"
|
|
29
|
+
},
|
|
30
|
+
eref_var: {
|
|
31
|
+
type: Array,
|
|
32
|
+
required: true,
|
|
33
|
+
trim: true,
|
|
34
|
+
default: []
|
|
35
|
+
},
|
|
36
|
+
eref_isactive: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
required: true,
|
|
39
|
+
default: true
|
|
40
|
+
}
|
|
41
|
+
}, { collection: 'email_reference' });
|
|
42
|
+
var CEmailReference = mongoose_1.default.model("email_reference", email_reference);
|
|
43
|
+
exports.CEmailReference = CEmailReference;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 IEmailVendorSubscription {
|
|
27
|
+
_id?: string;
|
|
28
|
+
esub_id_evdr?: string;
|
|
29
|
+
esub_start_dtm?: Date;
|
|
30
|
+
esub_end_dtm?: Date;
|
|
31
|
+
esub_timestamp?: string;
|
|
32
|
+
esub_limit?: number;
|
|
33
|
+
esub_alert_on_limit?: string;
|
|
34
|
+
esub_alert_to_id_user?: string;
|
|
35
|
+
esub_used_limit?: number;
|
|
36
|
+
esub_status?: string;
|
|
37
|
+
esub_isactive?: boolean;
|
|
38
|
+
}
|
|
39
|
+
declare const CEmailVendorSubscription: mongoose.Model<IEmailVendorSubscription, {}, {}, {}, mongoose.Document<unknown, {}, IEmailVendorSubscription> & IEmailVendorSubscription & Required<{
|
|
40
|
+
_id: string;
|
|
41
|
+
}>, any>;
|
|
42
|
+
export { IEmailVendorSubscription, // interface
|
|
43
|
+
CEmailVendorSubscription };
|