cloud-ide-model-schema 1.1.101 → 1.1.103
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/frontdesk/fdsk_leads.js +9 -9
- 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/index.js +0 -22
- 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/schema/email/eref.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
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;
|
|
@@ -1,43 +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 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 };
|
package/lib/schema/email/esub.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CEmailVendorSubscription = exports.IEmailVendorSubscription = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* INTERFASE START */
|
|
6
|
-
var IEmailVendorSubscription = /** @class */ (function () {
|
|
7
|
-
function IEmailVendorSubscription() {
|
|
8
|
-
}
|
|
9
|
-
return IEmailVendorSubscription;
|
|
10
|
-
}());
|
|
11
|
-
exports.IEmailVendorSubscription = IEmailVendorSubscription;
|
|
12
|
-
/* INTERFACE END */
|
|
13
|
-
/* SCHEMA START */
|
|
14
|
-
var email_subscription_vendor = new mongoose_1.Schema({
|
|
15
|
-
esub_id_evdr: {
|
|
16
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
17
|
-
required: true,
|
|
18
|
-
ref: "email_vendor"
|
|
19
|
-
},
|
|
20
|
-
esub_start_dtm: {
|
|
21
|
-
type: Date,
|
|
22
|
-
required: true,
|
|
23
|
-
default: new Date()
|
|
24
|
-
},
|
|
25
|
-
esub_end_dtm: {
|
|
26
|
-
type: Date,
|
|
27
|
-
required: true,
|
|
28
|
-
default: new Date()
|
|
29
|
-
},
|
|
30
|
-
esub_timestamp: {
|
|
31
|
-
type: Date,
|
|
32
|
-
required: true,
|
|
33
|
-
default: new Date()
|
|
34
|
-
},
|
|
35
|
-
esub_limit: {
|
|
36
|
-
type: Number,
|
|
37
|
-
required: true,
|
|
38
|
-
minvalue: 0,
|
|
39
|
-
default: 0
|
|
40
|
-
},
|
|
41
|
-
esub_alert_on_limit: {
|
|
42
|
-
type: Number,
|
|
43
|
-
required: true,
|
|
44
|
-
minvalue: 10,
|
|
45
|
-
default: 10,
|
|
46
|
-
},
|
|
47
|
-
esub_alert_to_id_user: {
|
|
48
|
-
type: Array,
|
|
49
|
-
default: []
|
|
50
|
-
},
|
|
51
|
-
esub_used_limit: {
|
|
52
|
-
type: Number,
|
|
53
|
-
minvalue: 0,
|
|
54
|
-
default: 0,
|
|
55
|
-
},
|
|
56
|
-
esub_status: {
|
|
57
|
-
type: String,
|
|
58
|
-
required: true,
|
|
59
|
-
enum: ['active', 'inactive', 'discontinued', 'hold'],
|
|
60
|
-
default: 'active'
|
|
61
|
-
},
|
|
62
|
-
esub_isactive: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
required: true,
|
|
65
|
-
default: true
|
|
66
|
-
}
|
|
67
|
-
}, { collection: 'email_subscription_vendor' });
|
|
68
|
-
var CEmailVendorSubscription = mongoose_1.default.model("email_subscription_vendor", email_subscription_vendor);
|
|
69
|
-
exports.CEmailVendorSubscription = CEmailVendorSubscription;
|
|
@@ -1,36 +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 IEmailTemplete {
|
|
27
|
-
etmp_id_eref: string;
|
|
28
|
-
etmp_subject: string;
|
|
29
|
-
etmp_body: string;
|
|
30
|
-
etmp_isactive: boolean;
|
|
31
|
-
}
|
|
32
|
-
declare const CEmailTemplete: mongoose.Model<IEmailTemplete, {}, {}, {}, mongoose.Document<unknown, {}, IEmailTemplete> & IEmailTemplete & {
|
|
33
|
-
_id: mongoose.Types.ObjectId;
|
|
34
|
-
}, any>;
|
|
35
|
-
export { IEmailTemplete, // interface
|
|
36
|
-
CEmailTemplete };
|
package/lib/schema/email/etmp.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CEmailTemplete = exports.IEmailTemplete = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* INTERFASE START */
|
|
6
|
-
var IEmailTemplete = /** @class */ (function () {
|
|
7
|
-
function IEmailTemplete() {
|
|
8
|
-
}
|
|
9
|
-
return IEmailTemplete;
|
|
10
|
-
}());
|
|
11
|
-
exports.IEmailTemplete = IEmailTemplete;
|
|
12
|
-
/* INTERFACE END */
|
|
13
|
-
/* SCHEMA START */
|
|
14
|
-
var email_templete = new mongoose_1.Schema({
|
|
15
|
-
etmp_id_eref: {
|
|
16
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
17
|
-
required: true,
|
|
18
|
-
ref: "email_reference",
|
|
19
|
-
unique: true
|
|
20
|
-
},
|
|
21
|
-
etmp_subject: {
|
|
22
|
-
type: String,
|
|
23
|
-
minlength: 9,
|
|
24
|
-
maxlength: 60,
|
|
25
|
-
required: true,
|
|
26
|
-
trim: true,
|
|
27
|
-
},
|
|
28
|
-
etmp_body: {
|
|
29
|
-
type: String,
|
|
30
|
-
minlength: 25,
|
|
31
|
-
maxlength: 384000,
|
|
32
|
-
required: true
|
|
33
|
-
},
|
|
34
|
-
etmp_isactive: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
required: true,
|
|
37
|
-
default: true
|
|
38
|
-
}
|
|
39
|
-
}, { collection: 'email_templete' });
|
|
40
|
-
var CEmailTemplete = mongoose_1.default.model("email_templete", email_templete);
|
|
41
|
-
exports.CEmailTemplete = CEmailTemplete;
|
|
@@ -1,36 +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 IEmailVendor {
|
|
27
|
-
evdr_name: string;
|
|
28
|
-
evdr_desc: string;
|
|
29
|
-
evdr_api_end_point: string;
|
|
30
|
-
evdr_isactive: boolean;
|
|
31
|
-
}
|
|
32
|
-
declare const CEmailVendor: mongoose.Model<IEmailVendor, {}, {}, {}, mongoose.Document<unknown, {}, IEmailVendor> & IEmailVendor & {
|
|
33
|
-
_id: mongoose.Types.ObjectId;
|
|
34
|
-
}, any>;
|
|
35
|
-
export { IEmailVendor, // interface
|
|
36
|
-
CEmailVendor };
|
package/lib/schema/email/evdr.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CEmailVendor = exports.IEmailVendor = void 0;
|
|
4
|
-
var mongoose_1 = require("mongoose");
|
|
5
|
-
/* INTERFASE START */
|
|
6
|
-
var IEmailVendor = /** @class */ (function () {
|
|
7
|
-
function IEmailVendor() {
|
|
8
|
-
}
|
|
9
|
-
return IEmailVendor;
|
|
10
|
-
}());
|
|
11
|
-
exports.IEmailVendor = IEmailVendor;
|
|
12
|
-
/* INTERFACE END */
|
|
13
|
-
/* SCHEMA START */
|
|
14
|
-
var email_vendor = new mongoose_1.Schema({
|
|
15
|
-
evdr_name: {
|
|
16
|
-
type: String,
|
|
17
|
-
required: true,
|
|
18
|
-
trim: true,
|
|
19
|
-
minlength: 8,
|
|
20
|
-
maxlength: 52,
|
|
21
|
-
},
|
|
22
|
-
evdr_desc: {
|
|
23
|
-
type: String,
|
|
24
|
-
require: true,
|
|
25
|
-
trim: true,
|
|
26
|
-
maxlength: 255,
|
|
27
|
-
},
|
|
28
|
-
evdr_api_end_point: {
|
|
29
|
-
type: String,
|
|
30
|
-
trim: true,
|
|
31
|
-
required: true,
|
|
32
|
-
maxlength: 255
|
|
33
|
-
},
|
|
34
|
-
evdr_isactive: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
required: true,
|
|
37
|
-
default: true
|
|
38
|
-
}
|
|
39
|
-
}, { collection: 'email_vendor' });
|
|
40
|
-
var CEmailVendor = mongoose_1.default.model("email_vendor", email_vendor);
|
|
41
|
-
exports.CEmailVendor = CEmailVendor;
|
package/lib/utilities/README.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Utilities
|
|
2
|
-
|
|
3
|
-
This directory contains compiled utility functions and helper methods used throughout the Cloud IDE LMS system.
|
|
4
|
-
|
|
5
|
-
## Navigation
|
|
6
|
-
|
|
7
|
-
- [Back to Compiled Output](../README.md)
|
|
8
|
-
- [Back to Main README](../../README.md)
|
|
9
|
-
|
|
10
|
-
## Directory Structure
|
|
11
|
-
|
|
12
|
-
### Helpers (`/helpers`)
|
|
13
|
-
|
|
14
|
-
Contains compiled utility functions for common tasks:
|
|
15
|
-
- Data formatting
|
|
16
|
-
- Validation helpers
|
|
17
|
-
- Date manipulation
|
|
18
|
-
- String operations
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
These compiled utility functions provide reusable operations that support the core functionality of the application. They can be imported directly from the package.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.customDecrypt = void 0;
|
|
4
|
-
// Custom decryption function
|
|
5
|
-
function customDecrypt(encryptedPassword) {
|
|
6
|
-
var decryptedPassword = '';
|
|
7
|
-
for (var i = 0; i < encryptedPassword.length; i++) {
|
|
8
|
-
// Shift ASCII value of each character back by the same amount
|
|
9
|
-
var decryptedCharCode = encryptedPassword.charCodeAt(i) - 1; // Shift back by 1
|
|
10
|
-
decryptedPassword += String.fromCharCode(decryptedCharCode);
|
|
11
|
-
}
|
|
12
|
-
return decryptedPassword;
|
|
13
|
-
}
|
|
14
|
-
exports.customDecrypt = customDecrypt;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare abstract class MErrorLoggerHelper {
|
|
2
|
-
[key: string]: string;
|
|
3
|
-
}
|
|
4
|
-
declare class ErrorLoggerResponseHelper {
|
|
5
|
-
errorLogged: MErrorLoggerHelper;
|
|
6
|
-
}
|
|
7
|
-
declare function errorLoggerRegister(errorLoggerRegister: MErrorLoggerHelper): void;
|
|
8
|
-
declare function errorLoggerResponse(errorLoggerResponse: ErrorLoggerResponseHelper): MErrorLoggerHelper | true;
|
|
9
|
-
export { errorLoggerRegister, MErrorLoggerHelper, errorLoggerResponse, ErrorLoggerResponseHelper };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ErrorLoggerResponseHelper = exports.errorLoggerResponse = exports.MErrorLoggerHelper = exports.errorLoggerRegister = void 0;
|
|
4
|
-
var MErrorLoggerHelper = /** @class */ (function () {
|
|
5
|
-
function MErrorLoggerHelper() {
|
|
6
|
-
}
|
|
7
|
-
return MErrorLoggerHelper;
|
|
8
|
-
}());
|
|
9
|
-
exports.MErrorLoggerHelper = MErrorLoggerHelper;
|
|
10
|
-
var ErrorLoggerResponseHelper = /** @class */ (function () {
|
|
11
|
-
function ErrorLoggerResponseHelper() {
|
|
12
|
-
this.errorLogged = {};
|
|
13
|
-
}
|
|
14
|
-
return ErrorLoggerResponseHelper;
|
|
15
|
-
}());
|
|
16
|
-
exports.ErrorLoggerResponseHelper = ErrorLoggerResponseHelper;
|
|
17
|
-
function errorLoggerRegister(errorLoggerRegister) {
|
|
18
|
-
}
|
|
19
|
-
exports.errorLoggerRegister = errorLoggerRegister;
|
|
20
|
-
function errorLoggerResponse(errorLoggerResponse) {
|
|
21
|
-
if (Object.keys(errorLoggerResponse.errorLogged).length > 0) {
|
|
22
|
-
return errorLoggerResponse.errorLogged;
|
|
23
|
-
}
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.errorLoggerResponse = errorLoggerResponse;
|
|
@@ -1,21 +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("./encryption.helper"), exports);
|
|
18
|
-
__exportStar(require("./error.helper"), exports);
|
|
19
|
-
__exportStar(require("./response.helper"), exports);
|
|
20
|
-
__exportStar(require("./string.helper"), exports);
|
|
21
|
-
__exportStar(require("./type.hepler"), exports);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MErrorLoggerHelper } from "./error.helper";
|
|
2
|
-
import { statusCode } from "./type.hepler";
|
|
3
|
-
interface controllerResponse {
|
|
4
|
-
success?: boolean;
|
|
5
|
-
error_code?: string;
|
|
6
|
-
message?: string;
|
|
7
|
-
data?: any;
|
|
8
|
-
code?: statusCode;
|
|
9
|
-
details?: string;
|
|
10
|
-
total?: number;
|
|
11
|
-
pageIndex?: number;
|
|
12
|
-
pageSize?: number;
|
|
13
|
-
controls?: MErrorLoggerHelper;
|
|
14
|
-
}
|
|
15
|
-
declare const defaultControllerResponse: controllerResponse;
|
|
16
|
-
export { controllerResponse, defaultControllerResponse };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultControllerResponse = void 0;
|
|
4
|
-
var defaultControllerResponse = {
|
|
5
|
-
success: true,
|
|
6
|
-
code: 200,
|
|
7
|
-
message: "Welcome to Cloud IDE!"
|
|
8
|
-
};
|
|
9
|
-
exports.defaultControllerResponse = defaultControllerResponse;
|