cloud-ide-lms-model 1.1.5 → 1.1.6

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.
Files changed (38) hide show
  1. package/lib/model/admission/admission_rte_details.d.ts +85 -0
  2. package/lib/model/admission/admission_rte_details.js +8 -0
  3. package/lib/model/admission/admission_vital_information.d.ts +69 -0
  4. package/lib/model/admission/admission_vital_information.js +8 -0
  5. package/lib/model/admission/index.d.ts +2 -0
  6. package/lib/model/admission/index.js +2 -0
  7. package/lib/model/email/email_list.d.ts +74 -0
  8. package/lib/model/email/email_list.js +96 -0
  9. package/lib/model/email/email_log.d.ts +63 -0
  10. package/lib/model/email/email_log.js +43 -0
  11. package/lib/model/email/email_reference.d.ts +74 -0
  12. package/lib/model/email/email_reference.js +81 -0
  13. package/lib/model/email/email_subscription.d.ts +80 -0
  14. package/lib/model/email/email_subscription.js +93 -0
  15. package/lib/model/email/email_template.d.ts +74 -0
  16. package/lib/model/email/email_template.js +93 -0
  17. package/lib/model/email/email_vendor.d.ts +73 -0
  18. package/lib/model/email/email_vendor.js +93 -0
  19. package/lib/model/email/index.d.ts +6 -0
  20. package/lib/model/email/index.js +22 -0
  21. package/lib/model/index.d.ts +1 -0
  22. package/lib/model/index.js +1 -0
  23. package/lib/routes/admissionRoutes.d.ts +4 -0
  24. package/lib/routes/admissionRoutes.js +4 -0
  25. package/lib/routes/emailRoutes.d.ts +32 -0
  26. package/lib/routes/emailRoutes.js +37 -0
  27. package/lib/routes/index.d.ts +1 -0
  28. package/lib/routes/index.js +1 -0
  29. package/lib/schema/admission/admission_application_main.d.ts +8 -0
  30. package/lib/schema/admission/admission_family_members.d.ts +1 -0
  31. package/lib/schema/admission/admission_rte_details.d.ts +33 -0
  32. package/lib/schema/admission/admission_rte_details.js +15 -0
  33. package/lib/schema/admission/admission_vital_information.d.ts +21 -0
  34. package/lib/schema/admission/admission_vital_information.js +15 -0
  35. package/lib/schema/admission/index.d.ts +2 -0
  36. package/lib/schema/admission/index.js +2 -0
  37. package/lib/schema/email/email_reference.d.ts +1 -1
  38. package/package.json +1 -1
@@ -0,0 +1,80 @@
1
+ import { MTableQueries } from "../../common-types/common";
2
+ import { IEmailVendorSubscription } from "../../schema/email/email_subscription_vendor";
3
+ import { controllerResponse } from "../../utilities";
4
+ type IEmailSubscriptionErrorLogger = {
5
+ [key in keyof MEmailSubscription]: string;
6
+ };
7
+ type IEmailSubscriptionGetByIdErrorLogger = {
8
+ [key in keyof MEmailSubscriptionGetByIdPayload]: string;
9
+ };
10
+ type IEmailSubscriptionDeleteErrorLogger = {
11
+ [key in keyof MEmailSubscriptionDeletePayload]: string;
12
+ };
13
+ type IEmailSubscriptionInsertUpdateErrorLogger = {
14
+ [key in keyof MEmailSubscriptionInsertUpdatePayload]: string;
15
+ };
16
+ type IEmailSubscriptionToggleStatusErrorLogger = {
17
+ [key in keyof MEmailSubscriptionToggleStatusPayload]: string;
18
+ };
19
+ declare class MEmailSubscription extends MTableQueries {
20
+ esub_id_evdr?: string;
21
+ esub_status?: string;
22
+ esub_isactive?: boolean;
23
+ query?: string;
24
+ constructor(init: MEmailSubscription);
25
+ Validate?(): Partial<IEmailSubscriptionErrorLogger>;
26
+ }
27
+ declare class MEmailSubscriptionGetByIdPayload {
28
+ esub_id?: string;
29
+ _id?: string;
30
+ constructor(init: MEmailSubscriptionGetByIdPayload);
31
+ Validate?(): Partial<IEmailSubscriptionGetByIdErrorLogger>;
32
+ }
33
+ declare class MEmailSubscriptionDeletePayload {
34
+ esub_id?: string;
35
+ _id?: string;
36
+ constructor(init: MEmailSubscriptionDeletePayload);
37
+ Validate?(): Partial<IEmailSubscriptionDeleteErrorLogger>;
38
+ }
39
+ declare class MEmailSubscriptionToggleStatusPayload {
40
+ esub_id?: string;
41
+ _id?: string;
42
+ esub_isactive?: boolean;
43
+ constructor(init: MEmailSubscriptionToggleStatusPayload);
44
+ Validate?(): Partial<IEmailSubscriptionToggleStatusErrorLogger>;
45
+ }
46
+ declare class MEmailSubscriptionInsertUpdatePayload implements IEmailVendorSubscription {
47
+ _id?: string;
48
+ esub_id_evdr?: string;
49
+ esub_start_dtm?: Date;
50
+ esub_end_dtm?: Date;
51
+ esub_timestamp?: string;
52
+ esub_limit?: number;
53
+ esub_alert_on_limit?: string;
54
+ esub_alert_to_id_user?: string;
55
+ esub_used_limit?: number;
56
+ esub_status?: string;
57
+ esub_isactive?: boolean;
58
+ constructor(init: Partial<IEmailVendorSubscription> & {
59
+ _id?: string;
60
+ });
61
+ Validate?(): Partial<IEmailSubscriptionInsertUpdateErrorLogger>;
62
+ }
63
+ interface emailSubscriptionControllerResponse extends controllerResponse {
64
+ data?: any[] | any | null;
65
+ total?: number;
66
+ totalDocument?: number;
67
+ }
68
+ interface emailSubscriptionByIdControllerResponse extends controllerResponse {
69
+ data?: any | null;
70
+ }
71
+ interface emailSubscriptionInsertUpdateControllerResponse extends controllerResponse {
72
+ data?: any | null;
73
+ }
74
+ interface emailSubscriptionDeleteControllerResponse extends controllerResponse {
75
+ data?: any | null;
76
+ }
77
+ interface emailSubscriptionToggleStatusControllerResponse extends controllerResponse {
78
+ data?: any | null;
79
+ }
80
+ export { MEmailSubscription, MEmailSubscriptionGetByIdPayload, MEmailSubscriptionDeletePayload, MEmailSubscriptionInsertUpdatePayload, MEmailSubscriptionToggleStatusPayload, emailSubscriptionControllerResponse, emailSubscriptionByIdControllerResponse, emailSubscriptionInsertUpdateControllerResponse, emailSubscriptionDeleteControllerResponse, emailSubscriptionToggleStatusControllerResponse };
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MEmailSubscriptionToggleStatusPayload = exports.MEmailSubscriptionInsertUpdatePayload = exports.MEmailSubscriptionDeletePayload = exports.MEmailSubscriptionGetByIdPayload = exports.MEmailSubscription = void 0;
4
+ const common_1 = require("../../common-types/common");
5
+ /* INTERFACE END */
6
+ /* MODEL START */
7
+ class MEmailSubscription extends common_1.MTableQueries {
8
+ constructor(init) {
9
+ super(init);
10
+ Object.assign(this, init);
11
+ }
12
+ Validate() {
13
+ let errorLogger = {};
14
+ return errorLogger;
15
+ }
16
+ }
17
+ exports.MEmailSubscription = MEmailSubscription;
18
+ class MEmailSubscriptionGetByIdPayload {
19
+ constructor(init) {
20
+ Object.assign(this, init);
21
+ }
22
+ Validate() {
23
+ let errorLogger = {};
24
+ if (!this.esub_id && !this._id) {
25
+ errorLogger.esub_id = "Email Subscription ID is Required!";
26
+ }
27
+ return errorLogger;
28
+ }
29
+ }
30
+ exports.MEmailSubscriptionGetByIdPayload = MEmailSubscriptionGetByIdPayload;
31
+ class MEmailSubscriptionDeletePayload {
32
+ constructor(init) {
33
+ Object.assign(this, init);
34
+ }
35
+ Validate() {
36
+ let errorLogger = {};
37
+ if (!this.esub_id && !this._id) {
38
+ errorLogger.esub_id = "Email Subscription ID is Required!";
39
+ }
40
+ return errorLogger;
41
+ }
42
+ }
43
+ exports.MEmailSubscriptionDeletePayload = MEmailSubscriptionDeletePayload;
44
+ class MEmailSubscriptionToggleStatusPayload {
45
+ constructor(init) {
46
+ Object.assign(this, init);
47
+ }
48
+ Validate() {
49
+ let errorLogger = {};
50
+ if (!this.esub_id && !this._id) {
51
+ errorLogger.esub_id = "Email Subscription ID is Required!";
52
+ }
53
+ if (this.esub_isactive === undefined) {
54
+ errorLogger.esub_isactive = "Status is Required!";
55
+ }
56
+ return errorLogger;
57
+ }
58
+ }
59
+ exports.MEmailSubscriptionToggleStatusPayload = MEmailSubscriptionToggleStatusPayload;
60
+ class MEmailSubscriptionInsertUpdatePayload {
61
+ constructor(init) {
62
+ Object.assign(this, init);
63
+ }
64
+ Validate() {
65
+ let errorLogger = {};
66
+ if (!this.esub_id_evdr) {
67
+ errorLogger.esub_id_evdr = "Email Vendor ID is required!";
68
+ }
69
+ if (!this.esub_start_dtm) {
70
+ errorLogger.esub_start_dtm = "Start Date is required!";
71
+ }
72
+ if (!this.esub_end_dtm) {
73
+ errorLogger.esub_end_dtm = "End Date is required!";
74
+ }
75
+ if (this.esub_start_dtm && this.esub_end_dtm && new Date(this.esub_start_dtm) >= new Date(this.esub_end_dtm)) {
76
+ errorLogger.esub_end_dtm = "End Date must be after Start Date!";
77
+ }
78
+ if (this.esub_limit !== undefined && this.esub_limit < 0) {
79
+ errorLogger.esub_limit = "Limit must be 0 or greater!";
80
+ }
81
+ if (this.esub_alert_on_limit !== undefined && this.esub_alert_on_limit && Number(this.esub_alert_on_limit) < 10) {
82
+ errorLogger.esub_alert_on_limit = "Alert Limit must be at least 10!";
83
+ }
84
+ if (this.esub_status && !['active', 'inactive', 'discontinued', 'hold'].includes(this.esub_status)) {
85
+ errorLogger.esub_status = "Status must be one of: active, inactive, discontinued, hold!";
86
+ }
87
+ if (this.esub_isactive === undefined) {
88
+ errorLogger.esub_isactive = "Active status is required!";
89
+ }
90
+ return errorLogger;
91
+ }
92
+ }
93
+ exports.MEmailSubscriptionInsertUpdatePayload = MEmailSubscriptionInsertUpdatePayload;
@@ -0,0 +1,74 @@
1
+ import { MTableQueries } from "../../common-types/common";
2
+ import { IEmailTemplete } from "../../schema/email/email_templete";
3
+ import { controllerResponse } from "../../utilities";
4
+ type IEmailTemplateErrorLogger = {
5
+ [key in keyof MEmailTemplate]: string;
6
+ };
7
+ type IEmailTemplateGetByIdErrorLogger = {
8
+ [key in keyof MEmailTemplateGetByIdPayload]: string;
9
+ };
10
+ type IEmailTemplateDeleteErrorLogger = {
11
+ [key in keyof MEmailTemplateDeletePayload]: string;
12
+ };
13
+ type IEmailTemplateInsertUpdateErrorLogger = {
14
+ [key in keyof MEmailTemplateInsertUpdatePayload]: string;
15
+ };
16
+ type IEmailTemplateToggleStatusErrorLogger = {
17
+ [key in keyof MEmailTemplateToggleStatusPayload]: string;
18
+ };
19
+ declare class MEmailTemplate extends MTableQueries {
20
+ etmp_id_eref?: string;
21
+ etmp_subject?: string;
22
+ etmp_isactive?: boolean;
23
+ query?: string;
24
+ constructor(init: MEmailTemplate);
25
+ Validate?(): Partial<IEmailTemplateErrorLogger>;
26
+ }
27
+ declare class MEmailTemplateGetByIdPayload {
28
+ etmp_id?: string;
29
+ _id?: string;
30
+ constructor(init: MEmailTemplateGetByIdPayload);
31
+ Validate?(): Partial<IEmailTemplateGetByIdErrorLogger>;
32
+ }
33
+ declare class MEmailTemplateDeletePayload {
34
+ etmp_id?: string;
35
+ _id?: string;
36
+ constructor(init: MEmailTemplateDeletePayload);
37
+ Validate?(): Partial<IEmailTemplateDeleteErrorLogger>;
38
+ }
39
+ declare class MEmailTemplateToggleStatusPayload {
40
+ etmp_id?: string;
41
+ _id?: string;
42
+ etmp_isactive?: boolean;
43
+ constructor(init: MEmailTemplateToggleStatusPayload);
44
+ Validate?(): Partial<IEmailTemplateToggleStatusErrorLogger>;
45
+ }
46
+ declare class MEmailTemplateInsertUpdatePayload implements IEmailTemplete {
47
+ _id?: string;
48
+ etmp_id_eref: string;
49
+ etmp_subject: string;
50
+ etmp_body: string;
51
+ etmp_isactive: boolean;
52
+ constructor(init: Partial<IEmailTemplete> & {
53
+ _id?: string;
54
+ });
55
+ Validate?(): Partial<IEmailTemplateInsertUpdateErrorLogger>;
56
+ }
57
+ interface emailTemplateControllerResponse extends controllerResponse {
58
+ data?: any[] | any | null;
59
+ total?: number;
60
+ totalDocument?: number;
61
+ }
62
+ interface emailTemplateByIdControllerResponse extends controllerResponse {
63
+ data?: any | null;
64
+ }
65
+ interface emailTemplateInsertUpdateControllerResponse extends controllerResponse {
66
+ data?: any | null;
67
+ }
68
+ interface emailTemplateDeleteControllerResponse extends controllerResponse {
69
+ data?: any | null;
70
+ }
71
+ interface emailTemplateToggleStatusControllerResponse extends controllerResponse {
72
+ data?: any | null;
73
+ }
74
+ export { MEmailTemplate, MEmailTemplateGetByIdPayload, MEmailTemplateDeletePayload, MEmailTemplateInsertUpdatePayload, MEmailTemplateToggleStatusPayload, emailTemplateControllerResponse, emailTemplateByIdControllerResponse, emailTemplateInsertUpdateControllerResponse, emailTemplateDeleteControllerResponse, emailTemplateToggleStatusControllerResponse };
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MEmailTemplateToggleStatusPayload = exports.MEmailTemplateInsertUpdatePayload = exports.MEmailTemplateDeletePayload = exports.MEmailTemplateGetByIdPayload = exports.MEmailTemplate = void 0;
4
+ const common_1 = require("../../common-types/common");
5
+ /* INTERFACE END */
6
+ /* MODEL START */
7
+ class MEmailTemplate extends common_1.MTableQueries {
8
+ constructor(init) {
9
+ super(init);
10
+ Object.assign(this, init);
11
+ }
12
+ Validate() {
13
+ let errorLogger = {};
14
+ return errorLogger;
15
+ }
16
+ }
17
+ exports.MEmailTemplate = MEmailTemplate;
18
+ class MEmailTemplateGetByIdPayload {
19
+ constructor(init) {
20
+ Object.assign(this, init);
21
+ }
22
+ Validate() {
23
+ let errorLogger = {};
24
+ if (!this.etmp_id && !this._id) {
25
+ errorLogger.etmp_id = "Email Template ID is Required!";
26
+ }
27
+ return errorLogger;
28
+ }
29
+ }
30
+ exports.MEmailTemplateGetByIdPayload = MEmailTemplateGetByIdPayload;
31
+ class MEmailTemplateDeletePayload {
32
+ constructor(init) {
33
+ Object.assign(this, init);
34
+ }
35
+ Validate() {
36
+ let errorLogger = {};
37
+ if (!this.etmp_id && !this._id) {
38
+ errorLogger.etmp_id = "Email Template ID is Required!";
39
+ }
40
+ return errorLogger;
41
+ }
42
+ }
43
+ exports.MEmailTemplateDeletePayload = MEmailTemplateDeletePayload;
44
+ class MEmailTemplateToggleStatusPayload {
45
+ constructor(init) {
46
+ Object.assign(this, init);
47
+ }
48
+ Validate() {
49
+ let errorLogger = {};
50
+ if (!this.etmp_id && !this._id) {
51
+ errorLogger.etmp_id = "Email Template ID is Required!";
52
+ }
53
+ if (this.etmp_isactive === undefined) {
54
+ errorLogger.etmp_isactive = "Status is Required!";
55
+ }
56
+ return errorLogger;
57
+ }
58
+ }
59
+ exports.MEmailTemplateToggleStatusPayload = MEmailTemplateToggleStatusPayload;
60
+ class MEmailTemplateInsertUpdatePayload {
61
+ constructor(init) {
62
+ Object.assign(this, init);
63
+ }
64
+ Validate() {
65
+ let errorLogger = {};
66
+ if (!this.etmp_id_eref) {
67
+ errorLogger.etmp_id_eref = "Email Reference ID is required!";
68
+ }
69
+ if (!this.etmp_subject) {
70
+ errorLogger.etmp_subject = "Email Template Subject is required!";
71
+ }
72
+ else if (this.etmp_subject.length < 9) {
73
+ errorLogger.etmp_subject = "Email Template Subject must be at least 9 characters!";
74
+ }
75
+ else if (this.etmp_subject.length > 60) {
76
+ errorLogger.etmp_subject = "Email Template Subject must not exceed 60 characters!";
77
+ }
78
+ if (!this.etmp_body) {
79
+ errorLogger.etmp_body = "Email Template Body is required!";
80
+ }
81
+ else if (this.etmp_body.length < 25) {
82
+ errorLogger.etmp_body = "Email Template Body must be at least 25 characters!";
83
+ }
84
+ else if (this.etmp_body.length > 384000) {
85
+ errorLogger.etmp_body = "Email Template Body must not exceed 384000 characters!";
86
+ }
87
+ if (this.etmp_isactive === undefined) {
88
+ errorLogger.etmp_isactive = "Active status is required!";
89
+ }
90
+ return errorLogger;
91
+ }
92
+ }
93
+ exports.MEmailTemplateInsertUpdatePayload = MEmailTemplateInsertUpdatePayload;
@@ -0,0 +1,73 @@
1
+ import { MTableQueries } from "../../common-types/common";
2
+ import { IEmailVendor } from "../../schema/email/email_vendor";
3
+ import { controllerResponse } from "../../utilities";
4
+ type IEmailVendorErrorLogger = {
5
+ [key in keyof MEmailVendor]: string;
6
+ };
7
+ type IEmailVendorGetByIdErrorLogger = {
8
+ [key in keyof MEmailVendorGetByIdPayload]: string;
9
+ };
10
+ type IEmailVendorDeleteErrorLogger = {
11
+ [key in keyof MEmailVendorDeletePayload]: string;
12
+ };
13
+ type IEmailVendorInsertUpdateErrorLogger = {
14
+ [key in keyof MEmailVendorInsertUpdatePayload]: string;
15
+ };
16
+ type IEmailVendorToggleStatusErrorLogger = {
17
+ [key in keyof MEmailVendorToggleStatusPayload]: string;
18
+ };
19
+ declare class MEmailVendor extends MTableQueries {
20
+ evdr_name?: string;
21
+ evdr_isactive?: boolean;
22
+ query?: string;
23
+ constructor(init: MEmailVendor);
24
+ Validate?(): Partial<IEmailVendorErrorLogger>;
25
+ }
26
+ declare class MEmailVendorGetByIdPayload {
27
+ evdr_id?: string;
28
+ _id?: string;
29
+ constructor(init: MEmailVendorGetByIdPayload);
30
+ Validate?(): Partial<IEmailVendorGetByIdErrorLogger>;
31
+ }
32
+ declare class MEmailVendorDeletePayload {
33
+ evdr_id?: string;
34
+ _id?: string;
35
+ constructor(init: MEmailVendorDeletePayload);
36
+ Validate?(): Partial<IEmailVendorDeleteErrorLogger>;
37
+ }
38
+ declare class MEmailVendorToggleStatusPayload {
39
+ evdr_id?: string;
40
+ _id?: string;
41
+ evdr_isactive?: boolean;
42
+ constructor(init: MEmailVendorToggleStatusPayload);
43
+ Validate?(): Partial<IEmailVendorToggleStatusErrorLogger>;
44
+ }
45
+ declare class MEmailVendorInsertUpdatePayload implements IEmailVendor {
46
+ _id?: string;
47
+ evdr_name: string;
48
+ evdr_desc: string;
49
+ evdr_api_end_point: string;
50
+ evdr_isactive: boolean;
51
+ constructor(init: Partial<IEmailVendor> & {
52
+ _id?: string;
53
+ });
54
+ Validate?(): Partial<IEmailVendorInsertUpdateErrorLogger>;
55
+ }
56
+ interface emailVendorControllerResponse extends controllerResponse {
57
+ data?: any[] | any | null;
58
+ total?: number;
59
+ totalDocument?: number;
60
+ }
61
+ interface emailVendorByIdControllerResponse extends controllerResponse {
62
+ data?: any | null;
63
+ }
64
+ interface emailVendorInsertUpdateControllerResponse extends controllerResponse {
65
+ data?: any | null;
66
+ }
67
+ interface emailVendorDeleteControllerResponse extends controllerResponse {
68
+ data?: any | null;
69
+ }
70
+ interface emailVendorToggleStatusControllerResponse extends controllerResponse {
71
+ data?: any | null;
72
+ }
73
+ export { MEmailVendor, MEmailVendorGetByIdPayload, MEmailVendorDeletePayload, MEmailVendorInsertUpdatePayload, MEmailVendorToggleStatusPayload, emailVendorControllerResponse, emailVendorByIdControllerResponse, emailVendorInsertUpdateControllerResponse, emailVendorDeleteControllerResponse, emailVendorToggleStatusControllerResponse };
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MEmailVendorToggleStatusPayload = exports.MEmailVendorInsertUpdatePayload = exports.MEmailVendorDeletePayload = exports.MEmailVendorGetByIdPayload = exports.MEmailVendor = void 0;
4
+ const common_1 = require("../../common-types/common");
5
+ /* INTERFACE END */
6
+ /* MODEL START */
7
+ class MEmailVendor extends common_1.MTableQueries {
8
+ constructor(init) {
9
+ super(init);
10
+ Object.assign(this, init);
11
+ }
12
+ Validate() {
13
+ let errorLogger = {};
14
+ return errorLogger;
15
+ }
16
+ }
17
+ exports.MEmailVendor = MEmailVendor;
18
+ class MEmailVendorGetByIdPayload {
19
+ constructor(init) {
20
+ Object.assign(this, init);
21
+ }
22
+ Validate() {
23
+ let errorLogger = {};
24
+ if (!this.evdr_id && !this._id) {
25
+ errorLogger.evdr_id = "Email Vendor ID is Required!";
26
+ }
27
+ return errorLogger;
28
+ }
29
+ }
30
+ exports.MEmailVendorGetByIdPayload = MEmailVendorGetByIdPayload;
31
+ class MEmailVendorDeletePayload {
32
+ constructor(init) {
33
+ Object.assign(this, init);
34
+ }
35
+ Validate() {
36
+ let errorLogger = {};
37
+ if (!this.evdr_id && !this._id) {
38
+ errorLogger.evdr_id = "Email Vendor ID is Required!";
39
+ }
40
+ return errorLogger;
41
+ }
42
+ }
43
+ exports.MEmailVendorDeletePayload = MEmailVendorDeletePayload;
44
+ class MEmailVendorToggleStatusPayload {
45
+ constructor(init) {
46
+ Object.assign(this, init);
47
+ }
48
+ Validate() {
49
+ let errorLogger = {};
50
+ if (!this.evdr_id && !this._id) {
51
+ errorLogger.evdr_id = "Email Vendor ID is Required!";
52
+ }
53
+ if (this.evdr_isactive === undefined) {
54
+ errorLogger.evdr_isactive = "Status is Required!";
55
+ }
56
+ return errorLogger;
57
+ }
58
+ }
59
+ exports.MEmailVendorToggleStatusPayload = MEmailVendorToggleStatusPayload;
60
+ class MEmailVendorInsertUpdatePayload {
61
+ constructor(init) {
62
+ Object.assign(this, init);
63
+ }
64
+ Validate() {
65
+ let errorLogger = {};
66
+ if (!this.evdr_name) {
67
+ errorLogger.evdr_name = "Vendor Name is required!";
68
+ }
69
+ else if (this.evdr_name.length < 8) {
70
+ errorLogger.evdr_name = "Vendor Name must be at least 8 characters!";
71
+ }
72
+ else if (this.evdr_name.length > 52) {
73
+ errorLogger.evdr_name = "Vendor Name must not exceed 52 characters!";
74
+ }
75
+ if (!this.evdr_desc) {
76
+ errorLogger.evdr_desc = "Vendor Description is required!";
77
+ }
78
+ else if (this.evdr_desc.length > 255) {
79
+ errorLogger.evdr_desc = "Vendor Description must not exceed 255 characters!";
80
+ }
81
+ if (!this.evdr_api_end_point) {
82
+ errorLogger.evdr_api_end_point = "API Endpoint is required!";
83
+ }
84
+ else if (this.evdr_api_end_point.length > 255) {
85
+ errorLogger.evdr_api_end_point = "API Endpoint must not exceed 255 characters!";
86
+ }
87
+ if (this.evdr_isactive === undefined) {
88
+ errorLogger.evdr_isactive = "Active status is required!";
89
+ }
90
+ return errorLogger;
91
+ }
92
+ }
93
+ exports.MEmailVendorInsertUpdatePayload = MEmailVendorInsertUpdatePayload;
@@ -0,0 +1,6 @@
1
+ export * from './email_template';
2
+ export * from './email_reference';
3
+ export * from './email_vendor';
4
+ export * from './email_list';
5
+ export * from './email_log';
6
+ export * from './email_subscription';
@@ -0,0 +1,22 @@
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("./email_template"), exports);
18
+ __exportStar(require("./email_reference"), exports);
19
+ __exportStar(require("./email_vendor"), exports);
20
+ __exportStar(require("./email_list"), exports);
21
+ __exportStar(require("./email_log"), exports);
22
+ __exportStar(require("./email_subscription"), exports);
@@ -7,3 +7,4 @@ export * from "./frontdesk";
7
7
  export * from "./fees";
8
8
  export * from "./notifications";
9
9
  export * from "./admission";
10
+ export * from "./email";
@@ -23,3 +23,4 @@ __exportStar(require("./frontdesk"), exports);
23
23
  __exportStar(require("./fees"), exports);
24
24
  __exportStar(require("./notifications"), exports);
25
25
  __exportStar(require("./admission"), exports);
26
+ __exportStar(require("./email"), exports);
@@ -12,6 +12,10 @@ declare const admissionRoutesUrl: {
12
12
  familyMembers: string;
13
13
  /** Endpoint to manage elective details (elective-details) */
14
14
  electiveDetails: string;
15
+ /** Endpoint to manage RTE details (rte-details) */
16
+ rteDetails: string;
17
+ /** Endpoint to manage vital information (vital-information) */
18
+ vitalInformation: string;
15
19
  /** Endpoint to manage admission documents (admission-documents) */
16
20
  admissionDocuments: string;
17
21
  /** Endpoint to manage admission fees (admission-fees) */
@@ -15,6 +15,10 @@ const admissionRoutesUrl = {
15
15
  familyMembers: "family-members",
16
16
  /** Endpoint to manage elective details (elective-details) */
17
17
  electiveDetails: "elective-details",
18
+ /** Endpoint to manage RTE details (rte-details) */
19
+ rteDetails: "rte-details",
20
+ /** Endpoint to manage vital information (vital-information) */
21
+ vitalInformation: "vital-information",
18
22
  /** Endpoint to manage admission documents (admission-documents) */
19
23
  admissionDocuments: "admission-documents",
20
24
  /** Endpoint to manage admission fees (admission-fees) */
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Object containing URLs for email-related endpoints.
3
+ * These URLs are used for various email operations such as templates, references, vendors, lists, logs, and subscriptions.
4
+ */
5
+ declare const emailRoutesUrl: {
6
+ module: string;
7
+ /**
8
+ * Endpoint for email templates (email-template)
9
+ */
10
+ emailTemplate: string;
11
+ /**
12
+ * Endpoint for email references (email-reference)
13
+ */
14
+ emailReference: string;
15
+ /**
16
+ * Endpoint for email vendors (email-vendor)
17
+ */
18
+ emailVendor: string;
19
+ /**
20
+ * Endpoint for email lists (email-list)
21
+ */
22
+ emailList: string;
23
+ /**
24
+ * Endpoint for email logs (email-log)
25
+ */
26
+ emailLog: string;
27
+ /**
28
+ * Endpoint for email subscriptions (email-subscription)
29
+ */
30
+ emailSubscription: string;
31
+ };
32
+ export { emailRoutesUrl };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.emailRoutesUrl = void 0;
4
+ /**
5
+ * Object containing URLs for email-related endpoints.
6
+ * These URLs are used for various email operations such as templates, references, vendors, lists, logs, and subscriptions.
7
+ */
8
+ const emailRoutesUrl = {
9
+ module: 'email',
10
+ /**
11
+ * Endpoint for email templates (email-template)
12
+ */
13
+ emailTemplate: 'email-template',
14
+ /**
15
+ * Endpoint for email references (email-reference)
16
+ */
17
+ emailReference: 'email-reference',
18
+ /**
19
+ * Endpoint for email vendors (email-vendor)
20
+ */
21
+ emailVendor: 'email-vendor',
22
+ /**
23
+ * Endpoint for email lists (email-list)
24
+ */
25
+ emailList: 'email-list',
26
+ /**
27
+ * Endpoint for email logs (email-log)
28
+ */
29
+ emailLog: 'email-log',
30
+ /**
31
+ * Endpoint for email subscriptions (email-subscription)
32
+ */
33
+ emailSubscription: 'email-subscription'
34
+ };
35
+ exports.emailRoutesUrl = emailRoutesUrl;
36
+ // Freeze the emailRoutesUrl object to prevent modifications
37
+ Object.freeze(emailRoutesUrl);
@@ -10,3 +10,4 @@ export * from './frontdeskRoutes';
10
10
  export * from './feesRoutes';
11
11
  export * from './notificationRoutes';
12
12
  export * from './admissionRoutes';
13
+ export * from './emailRoutes';
@@ -26,3 +26,4 @@ __exportStar(require("./frontdeskRoutes"), exports);
26
26
  __exportStar(require("./feesRoutes"), exports);
27
27
  __exportStar(require("./notificationRoutes"), exports);
28
28
  __exportStar(require("./admissionRoutes"), exports);
29
+ __exportStar(require("./emailRoutes"), exports);
@@ -17,6 +17,14 @@ declare class AdmissionApplicationMain {
17
17
  admap_marital_status?: string;
18
18
  admap_blood_group_id_sygms?: string;
19
19
  admap_photo_id_cyfm?: string;
20
+ admap_identification_status_id_sygms?: string;
21
+ admap_is_rte_scheme?: boolean;
22
+ admap_grn?: string;
23
+ admap_grn_authority_id_edbrd?: string;
24
+ admap_handicap_certificate_id_cyfm?: string;
25
+ admap_handicap_certificate_number?: string;
26
+ admap_handicap_percentage?: number;
27
+ admap_accessibility_requirements?: string;
20
28
  admap_primary_email?: string;
21
29
  admap_alternative_email?: string;
22
30
  admap_mobile_phone?: string;