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
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AuthUserCoreUserContactAddresses,
|
|
1
|
+
import { AuthUserCoreUserContactAddresses, CoreEntityAccessPassManagement } from "cloud-ide-lms-model";
|
|
2
2
|
import mongoose from "mongoose";
|
|
3
3
|
declare const CCoreUserContactAddresses: mongoose.Model<AuthUserCoreUserContactAddresses, {}, {}, {}, mongoose.Document<unknown, {}, AuthUserCoreUserContactAddresses, {}> & AuthUserCoreUserContactAddresses & Required<{
|
|
4
4
|
_id: string;
|
|
5
5
|
}> & {
|
|
6
6
|
__v: number;
|
|
7
7
|
}, any>;
|
|
8
|
-
declare const CCoreEntityAccessPassManagementSycad: mongoose.Model<
|
|
8
|
+
declare const CCoreEntityAccessPassManagementSycad: mongoose.Model<CoreEntityAccessPassManagement, {}, {}, {}, mongoose.Document<unknown, {}, CoreEntityAccessPassManagement, {}> & CoreEntityAccessPassManagement & Required<{
|
|
9
9
|
_id: string;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FdskLeadAssignmentDetail } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CFdskLeadAssignmentDetail: mongoose.Model<FdskLeadAssignmentDetail, {}, {}, {}, mongoose.Document<unknown, {}, FdskLeadAssignmentDetail, {}> & FdskLeadAssignmentDetail & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CFdskLeadAssignmentDetail };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CFdskLeadAssignmentDetail = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var fdsk_lead_assignment_detail = new mongoose_1.Schema({
|
|
7
|
+
fdla_action_date_time: {
|
|
8
|
+
type: Date,
|
|
9
|
+
default: Date.now
|
|
10
|
+
},
|
|
11
|
+
fdla_action_assigned_to_id_user: {
|
|
12
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
13
|
+
ref: "auth_user_mst",
|
|
14
|
+
comment: "user assigned to"
|
|
15
|
+
},
|
|
16
|
+
fdla_action_assigned_from_id_user: {
|
|
17
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
18
|
+
ref: "auth_user_mst",
|
|
19
|
+
comment: "user assigned from"
|
|
20
|
+
},
|
|
21
|
+
fdla_status_id_sygms: {
|
|
22
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
23
|
+
ref: "core_general_master",
|
|
24
|
+
comment: "assigned, acknowledge"
|
|
25
|
+
}
|
|
26
|
+
}, { collection: 'fdsk_lead_assignment_detail' });
|
|
27
|
+
var CFdskLeadAssignmentDetail = mongoose_1.default.model("fdsk_lead_assignment_detail", fdsk_lead_assignment_detail);
|
|
28
|
+
exports.CFdskLeadAssignmentDetail = CFdskLeadAssignmentDetail;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FdskLeadConfigMaster } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CFdskLeadConfigMaster: mongoose.Model<FdskLeadConfigMaster, {}, {}, {}, mongoose.Document<unknown, {}, FdskLeadConfigMaster, {}> & FdskLeadConfigMaster & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CFdskLeadConfigMaster };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CFdskLeadConfigMaster = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var fdsk_lead_config_master = new mongoose_1.Schema({
|
|
7
|
+
fdlcm_title: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: true,
|
|
10
|
+
minlength: 1,
|
|
11
|
+
maxlength: 200,
|
|
12
|
+
trim: true,
|
|
13
|
+
comment: "this is to show the title on the form while lead capturing"
|
|
14
|
+
},
|
|
15
|
+
fdlcm_description: {
|
|
16
|
+
type: String,
|
|
17
|
+
minlength: 0,
|
|
18
|
+
maxlength: 500,
|
|
19
|
+
trim: true,
|
|
20
|
+
comment: "details explanation for what this is going to be captured, this is also visible on lead capturing form"
|
|
21
|
+
},
|
|
22
|
+
fdlcm_lead_created_for_id_sygms: {
|
|
23
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
24
|
+
ref: "core_general_master",
|
|
25
|
+
comment: "Admission, Staff recruitment Leads, Other..."
|
|
26
|
+
},
|
|
27
|
+
fdlcm_defalut_priority_id_sygms: {
|
|
28
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
29
|
+
ref: "core_general_master",
|
|
30
|
+
comment: "default priority set internally to the form, for specific leads we can set the priority internally"
|
|
31
|
+
},
|
|
32
|
+
fdlcm_form_endpoint: {
|
|
33
|
+
type: String,
|
|
34
|
+
minlength: 0,
|
|
35
|
+
maxlength: 50,
|
|
36
|
+
trim: true,
|
|
37
|
+
comment: "this is like https://cloudidesys.com/leads/admissions where admissions is the endpoint, user can define its own endpoint, on the basics of that we will identify which lead config was applicable to that"
|
|
38
|
+
},
|
|
39
|
+
fdlcm_default_counselor_id_user: {
|
|
40
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
41
|
+
ref: "auth_user_mst",
|
|
42
|
+
comment: "default counselor id whom we can assign all the leads, after that he can decide leads should transfer to whom, but note default counselor will have all the insights, like total leads how much of them to whom assigned and many things..."
|
|
43
|
+
},
|
|
44
|
+
fdlcm_isactive: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: true,
|
|
47
|
+
comment: "is this lead is we are accepting or not"
|
|
48
|
+
},
|
|
49
|
+
fdlcm_start_date_time: {
|
|
50
|
+
type: Date,
|
|
51
|
+
default: Date.now,
|
|
52
|
+
comment: "from date we will start accepting the leads till on form we will show time remaining countdown"
|
|
53
|
+
},
|
|
54
|
+
fdlcm_end_date_time: {
|
|
55
|
+
type: Date,
|
|
56
|
+
comment: "to date till this time we will accepts the leads, after that we will stops the lead acceptance"
|
|
57
|
+
}
|
|
58
|
+
}, { collection: 'fdsk_lead_config_master' });
|
|
59
|
+
var CFdskLeadConfigMaster = mongoose_1.default.model("fdsk_lead_config_master", fdsk_lead_config_master);
|
|
60
|
+
exports.CFdskLeadConfigMaster = CFdskLeadConfigMaster;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FdskLeadDetail } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CFdskLeadDetail: mongoose.Model<FdskLeadDetail, {}, {}, {}, mongoose.Document<unknown, {}, FdskLeadDetail, {}> & FdskLeadDetail & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CFdskLeadDetail };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CFdskLeadDetail = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var fdsk_lead_detail = new mongoose_1.Schema({
|
|
7
|
+
fdld_lead_id_fdlds: {
|
|
8
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
9
|
+
ref: "fdsk_leads",
|
|
10
|
+
required: true,
|
|
11
|
+
comment: "lead table id"
|
|
12
|
+
},
|
|
13
|
+
fdld_status_sygms: {
|
|
14
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
15
|
+
ref: "core_general_master",
|
|
16
|
+
comment: "lead status if current is completed, but this table holds the when what status done what is the remark that time"
|
|
17
|
+
},
|
|
18
|
+
fdld_remark: {
|
|
19
|
+
type: String,
|
|
20
|
+
minlength: 0,
|
|
21
|
+
maxlength: 500,
|
|
22
|
+
trim: true,
|
|
23
|
+
comment: "remark by counselor this is like commit message, whenever counselor wants to log the message"
|
|
24
|
+
},
|
|
25
|
+
fdld_action_date_time: {
|
|
26
|
+
type: Date,
|
|
27
|
+
default: Date.now,
|
|
28
|
+
comment: "date time of this action performed"
|
|
29
|
+
},
|
|
30
|
+
fdld_counselor_id_user: {
|
|
31
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
32
|
+
ref: "auth_user_mst",
|
|
33
|
+
comment: "counselor id if, we change the counselor this time we will set the detail level counselor ids, this is done by the assigned user or the someone else, its very important"
|
|
34
|
+
}
|
|
35
|
+
}, { collection: 'fdsk_lead_detail' });
|
|
36
|
+
var CFdskLeadDetail = mongoose_1.default.model("fdsk_lead_detail", fdsk_lead_detail);
|
|
37
|
+
exports.CFdskLeadDetail = CFdskLeadDetail;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FdskLeadScheduling } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CFdskLeadScheduling: mongoose.Model<FdskLeadScheduling, {}, {}, {}, mongoose.Document<unknown, {}, FdskLeadScheduling, {}> & FdskLeadScheduling & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CFdskLeadScheduling };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CFdskLeadScheduling = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var fdsk_lead_scheduling = new mongoose_1.Schema({
|
|
7
|
+
fdlsc_lead_id_fdlds: {
|
|
8
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
9
|
+
ref: "fdsk_leads",
|
|
10
|
+
required: true,
|
|
11
|
+
comment: "lead table id"
|
|
12
|
+
},
|
|
13
|
+
fdlsc_remark: {
|
|
14
|
+
type: String,
|
|
15
|
+
minlength: 0,
|
|
16
|
+
maxlength: 500,
|
|
17
|
+
trim: true,
|
|
18
|
+
comment: "remark by counselor this is like commit message, whenever counselor wants to log the message"
|
|
19
|
+
},
|
|
20
|
+
fdlsc_schedule_date_time: {
|
|
21
|
+
type: Date,
|
|
22
|
+
required: true,
|
|
23
|
+
comment: "date time of this action performed"
|
|
24
|
+
},
|
|
25
|
+
fdlsc_counselor_id_user: {
|
|
26
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
27
|
+
ref: "auth_user_mst",
|
|
28
|
+
comment: "counselor id if, we change the counselor this time we will set the detail level counselor ids, this is done by the assigned user or the someone else, its very important"
|
|
29
|
+
},
|
|
30
|
+
fdlsc_isactive: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: true,
|
|
33
|
+
comment: "is schedule active"
|
|
34
|
+
},
|
|
35
|
+
fdlsc_action_date_time: {
|
|
36
|
+
type: Date,
|
|
37
|
+
default: Date.now,
|
|
38
|
+
comment: "store time when we create the schedule"
|
|
39
|
+
},
|
|
40
|
+
fdlsc_status_id_sygms: {
|
|
41
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
42
|
+
ref: "core_general_master",
|
|
43
|
+
comment: "schedule status scheduled, started, hold, completed, rescheduled, canceled"
|
|
44
|
+
}
|
|
45
|
+
}, { collection: 'fdsk_lead_scheduling' });
|
|
46
|
+
var CFdskLeadScheduling = mongoose_1.default.model("fdsk_lead_scheduling", fdsk_lead_scheduling);
|
|
47
|
+
exports.CFdskLeadScheduling = CFdskLeadScheduling;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FdskLeads } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CFdskLeads: mongoose.Model<FdskLeads, {}, {}, {}, mongoose.Document<unknown, {}, FdskLeads, {}> & FdskLeads & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CFdskLeads };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CFdskLeads = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var fdsk_leads = new mongoose_1.Schema({
|
|
7
|
+
fdlds_doc_no: {
|
|
8
|
+
type: String,
|
|
9
|
+
minlength: 0,
|
|
10
|
+
maxlength: 16,
|
|
11
|
+
trim: true,
|
|
12
|
+
unique: true,
|
|
13
|
+
comment: "uniq 16 digit and characters note here we will generate entity specific, and we will make sure same no will not generate for same hierarchy example: <entity_code_by_entity>-0001"
|
|
14
|
+
},
|
|
15
|
+
fdlds_created_date_time: {
|
|
16
|
+
type: Date,
|
|
17
|
+
default: Date.now,
|
|
18
|
+
comment: "date and time of lead created on"
|
|
19
|
+
},
|
|
20
|
+
fdlds_display_text: {
|
|
21
|
+
type: String,
|
|
22
|
+
minlength: 0,
|
|
23
|
+
maxlength: 250,
|
|
24
|
+
trim: true,
|
|
25
|
+
comment: "we will do configuration of this, at lead config master like templating variable replacement"
|
|
26
|
+
},
|
|
27
|
+
fdlds_template_id: {
|
|
28
|
+
type: String,
|
|
29
|
+
minlength: 0,
|
|
30
|
+
maxlength: 50,
|
|
31
|
+
trim: true,
|
|
32
|
+
comment: "we will decide the which theme by page theme form note lead form is one ui but there is different reason read is capturing like cars, schools then they have selection dependent UI"
|
|
33
|
+
},
|
|
34
|
+
fdlds_first_name: {
|
|
35
|
+
type: String,
|
|
36
|
+
required: true,
|
|
37
|
+
minlength: 1,
|
|
38
|
+
maxlength: 50,
|
|
39
|
+
trim: true,
|
|
40
|
+
comment: "name of lead maker, customer"
|
|
41
|
+
},
|
|
42
|
+
fdlds_middle_name: {
|
|
43
|
+
type: String,
|
|
44
|
+
minlength: 0,
|
|
45
|
+
maxlength: 50,
|
|
46
|
+
trim: true
|
|
47
|
+
},
|
|
48
|
+
fdlds_last_name: {
|
|
49
|
+
type: String,
|
|
50
|
+
minlength: 0,
|
|
51
|
+
maxlength: 50,
|
|
52
|
+
trim: true
|
|
53
|
+
},
|
|
54
|
+
fdlds_address: {
|
|
55
|
+
type: String,
|
|
56
|
+
minlength: 0,
|
|
57
|
+
maxlength: 255,
|
|
58
|
+
trim: true
|
|
59
|
+
},
|
|
60
|
+
fdlds_phone: {
|
|
61
|
+
type: Number,
|
|
62
|
+
minlength: 10,
|
|
63
|
+
maxlength: 15,
|
|
64
|
+
trim: true
|
|
65
|
+
},
|
|
66
|
+
fdlds_email: {
|
|
67
|
+
type: String,
|
|
68
|
+
minlength: 8,
|
|
69
|
+
maxlength: 320,
|
|
70
|
+
trim: true
|
|
71
|
+
},
|
|
72
|
+
fdlds_entity_id_syen: {
|
|
73
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
74
|
+
ref: "core_system_entity",
|
|
75
|
+
required: true,
|
|
76
|
+
comment: "entity id"
|
|
77
|
+
},
|
|
78
|
+
fdlds_config_fdlcm: {
|
|
79
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
80
|
+
ref: "fdsk_lead_config_master",
|
|
81
|
+
comment: "lead captured for like, BMW, Volvo cars for this we will create different form(normally we give dropdown but to feel premium company may ask object specific lead form)"
|
|
82
|
+
},
|
|
83
|
+
fdlds_counselor_id_user: {
|
|
84
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
85
|
+
ref: "auth_user_mst",
|
|
86
|
+
comment: "lead reviewed by which user, this is assigned by owner, or this can be set by config screen whom this leads can transfer default lead transfer screen"
|
|
87
|
+
},
|
|
88
|
+
fdlds_owner_id_user: {
|
|
89
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
90
|
+
ref: "auth_user_mst",
|
|
91
|
+
comment: "owner user id for whom this lead is own by this sit check the whom as assigned the leads after generation, this to show at pending actions till completion"
|
|
92
|
+
},
|
|
93
|
+
fdlds_active_status_id_sygms: {
|
|
94
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
95
|
+
ref: "core_general_master",
|
|
96
|
+
comment: "active, inactive, closed, completed, pending"
|
|
97
|
+
},
|
|
98
|
+
fdlds_pin_sypin: {
|
|
99
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
100
|
+
ref: "core_postal_code"
|
|
101
|
+
},
|
|
102
|
+
fdlds_city_sypin: {
|
|
103
|
+
type: String,
|
|
104
|
+
minlength: 0,
|
|
105
|
+
maxlength: 50,
|
|
106
|
+
trim: true
|
|
107
|
+
},
|
|
108
|
+
fdlds_state_sypin: {
|
|
109
|
+
type: String,
|
|
110
|
+
minlength: 0,
|
|
111
|
+
maxlength: 50,
|
|
112
|
+
trim: true
|
|
113
|
+
},
|
|
114
|
+
fdlds_priority_id_sygms: {
|
|
115
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
116
|
+
ref: "core_general_master",
|
|
117
|
+
comment: "Low, Medium, High"
|
|
118
|
+
},
|
|
119
|
+
fdlds_reference_by_id_user: {
|
|
120
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
121
|
+
ref: "auth_user_mst",
|
|
122
|
+
comment: "lead referred by user name, this is configurable to ask on lead form or we will update by ourself, because this should be field by us to prevent data breach of user"
|
|
123
|
+
}
|
|
124
|
+
}, { collection: 'fdsk_leads' });
|
|
125
|
+
var CFdskLeads = mongoose_1.default.model("fdsk_leads", fdsk_leads);
|
|
126
|
+
exports.CFdskLeads = CFdskLeads;
|
|
@@ -14,9 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./user"), exports);
|
|
17
|
+
__exportStar(require("./fdsk_lead_assignment_detail"), exports);
|
|
18
|
+
__exportStar(require("./fdsk_lead_config_master"), exports);
|
|
19
|
+
__exportStar(require("./fdsk_lead_detail"), exports);
|
|
20
|
+
__exportStar(require("./fdsk_lead_scheduling"), exports);
|
|
21
|
+
__exportStar(require("./fdsk_leads"), exports);
|
package/lib/schema/index.d.ts
CHANGED
package/lib/schema/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
{
|
|
2
|
-
"dependencies": {
|
|
3
|
-
"cloud-ide-lms-model": "^1.0.
|
|
4
|
-
"dotenv": "^16.5.0",
|
|
5
|
-
"mongoose": "^8.15.0"
|
|
6
|
-
},
|
|
7
|
-
"devDependencies": {
|
|
8
|
-
"@types/node": "^20.17.50",
|
|
9
|
-
"typescript": "^5.8.3"
|
|
10
|
-
},
|
|
11
|
-
"name": "cloud-ide-model-schema",
|
|
12
|
-
"version": "1.1.
|
|
13
|
-
"description": "Pachage for schema management of Cloud IDEsys LMS",
|
|
14
|
-
"main": "lib/index.js",
|
|
15
|
-
"types": "lib/index.d.ts",
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
18
|
-
"build": "tsc",
|
|
19
|
-
"prepare": "npm run build"
|
|
20
|
-
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"CloudIDE",
|
|
23
|
-
"LMS",
|
|
24
|
-
"Schema"
|
|
25
|
-
],
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "https://gitlab.com/lms-schools/cloud-ide-model-schema.git"
|
|
29
|
-
},
|
|
30
|
-
"author": "ankush bhure",
|
|
31
|
-
"license": "ISC",
|
|
32
|
-
"files": [
|
|
33
|
-
"lib/**/*"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"dependencies": {
|
|
3
|
+
"cloud-ide-lms-model": "^1.0.304",
|
|
4
|
+
"dotenv": "^16.5.0",
|
|
5
|
+
"mongoose": "^8.15.0"
|
|
6
|
+
},
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@types/node": "^20.17.50",
|
|
9
|
+
"typescript": "^5.8.3"
|
|
10
|
+
},
|
|
11
|
+
"name": "cloud-ide-model-schema",
|
|
12
|
+
"version": "1.1.102",
|
|
13
|
+
"description": "Pachage for schema management of Cloud IDEsys LMS",
|
|
14
|
+
"main": "lib/index.js",
|
|
15
|
+
"types": "lib/index.d.ts",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
18
|
+
"build": "tsc",
|
|
19
|
+
"prepare": "npm run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"CloudIDE",
|
|
23
|
+
"LMS",
|
|
24
|
+
"Schema"
|
|
25
|
+
],
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://gitlab.com/lms-schools/cloud-ide-model-schema.git"
|
|
29
|
+
},
|
|
30
|
+
"author": "ankush bhure",
|
|
31
|
+
"license": "ISC",
|
|
32
|
+
"files": [
|
|
33
|
+
"lib/**/*"
|
|
34
|
+
]
|
|
35
|
+
}
|
package/lib/@types/README.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Types Directory
|
|
2
|
-
|
|
3
|
-
This directory contains TypeScript types and interfaces that are used internally by the Cloud IDE Model Schema package.
|
|
4
|
-
|
|
5
|
-
## Navigation
|
|
6
|
-
|
|
7
|
-
- [Back to Compiled Output](../README.md)
|
|
8
|
-
- [Back to Main README](../../README.md)
|
|
9
|
-
|
|
10
|
-
## Files
|
|
11
|
-
|
|
12
|
-
This directory contains various type definition files (.d.ts) for:
|
|
13
|
-
- Common utility types
|
|
14
|
-
- Controller response structures
|
|
15
|
-
- Configuration interfaces
|
|
16
|
-
- Authentication payloads
|
|
17
|
-
- User permissions
|
|
18
|
-
|
|
19
|
-
## Usage
|
|
20
|
-
|
|
21
|
-
These type definitions help ensure type safety when working with the Cloud IDE LMS system. They are primarily for internal use but can be referenced by consumers of the package for advanced type integration.
|
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
|
-
}
|