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.
Files changed (140) hide show
  1. package/lib/schema/core/core_user_contact_addresses.d.ts +2 -2
  2. package/lib/schema/frontdesk/fdsk_lead_assignment_detail.d.ts +8 -0
  3. package/lib/schema/frontdesk/fdsk_lead_assignment_detail.js +28 -0
  4. package/lib/schema/frontdesk/fdsk_lead_config_master.d.ts +8 -0
  5. package/lib/schema/frontdesk/fdsk_lead_config_master.js +60 -0
  6. package/lib/schema/frontdesk/fdsk_lead_detail.d.ts +8 -0
  7. package/lib/schema/frontdesk/fdsk_lead_detail.js +37 -0
  8. package/lib/schema/frontdesk/fdsk_lead_scheduling.d.ts +8 -0
  9. package/lib/schema/frontdesk/fdsk_lead_scheduling.js +47 -0
  10. package/lib/schema/frontdesk/fdsk_leads.d.ts +8 -0
  11. package/lib/schema/frontdesk/fdsk_leads.js +126 -0
  12. package/lib/schema/frontdesk/index.d.ts +5 -0
  13. package/lib/{model/core → schema/frontdesk}/index.js +5 -6
  14. package/lib/schema/index.d.ts +1 -0
  15. package/lib/schema/index.js +1 -0
  16. package/package.json +35 -35
  17. package/lib/@types/README.md +0 -21
  18. package/lib/@types/common.d.ts +0 -22
  19. package/lib/@types/common.js +0 -50
  20. package/lib/@types/coreControllerResponse.d.ts +0 -43
  21. package/lib/@types/coreControllerResponse.js +0 -2
  22. package/lib/@types/designConfigControllerResponse.d.ts +0 -28
  23. package/lib/@types/designConfigControllerResponse.js +0 -2
  24. package/lib/@types/emailServiceConfig.d.ts +0 -33
  25. package/lib/@types/emailServiceConfig.js +0 -2
  26. package/lib/@types/entityControllerResponse.d.ts +0 -35
  27. package/lib/@types/entityControllerResponse.js +0 -2
  28. package/lib/@types/forgotPasswordControllerResponse.d.ts +0 -13
  29. package/lib/@types/forgotPasswordControllerResponse.js +0 -2
  30. package/lib/@types/jwtPayload.d.ts +0 -16
  31. package/lib/@types/jwtPayload.js +0 -2
  32. package/lib/@types/loginControllerResponse.d.ts +0 -17
  33. package/lib/@types/loginControllerResponse.js +0 -2
  34. package/lib/@types/menuControllerResponse.d.ts +0 -13
  35. package/lib/@types/menuControllerResponse.js +0 -2
  36. package/lib/@types/resetPasswordControllerResponse.d.ts +0 -15
  37. package/lib/@types/resetPasswordControllerResponse.js +0 -2
  38. package/lib/@types/userPermissions.d.ts +0 -7
  39. package/lib/@types/userPermissions.js +0 -2
  40. package/lib/README.md +0 -44
  41. package/lib/common-types/README.md +0 -27
  42. package/lib/common-types/common.d.ts +0 -31
  43. package/lib/common-types/common.js +0 -60
  44. package/lib/common-types/coreControllerResponse.d.ts +0 -43
  45. package/lib/common-types/coreControllerResponse.js +0 -2
  46. package/lib/common-types/designConfigControllerResponse.d.ts +0 -28
  47. package/lib/common-types/designConfigControllerResponse.js +0 -2
  48. package/lib/common-types/emailServiceConfig.d.ts +0 -33
  49. package/lib/common-types/emailServiceConfig.js +0 -2
  50. package/lib/common-types/entityControllerResponse.d.ts +0 -35
  51. package/lib/common-types/entityControllerResponse.js +0 -2
  52. package/lib/common-types/forgotPasswordControllerResponse.d.ts +0 -13
  53. package/lib/common-types/forgotPasswordControllerResponse.js +0 -2
  54. package/lib/common-types/index.d.ts +0 -4
  55. package/lib/common-types/index.js +0 -20
  56. package/lib/common-types/jwtPayload.d.ts +0 -9
  57. package/lib/common-types/jwtPayload.js +0 -2
  58. package/lib/common-types/loginControllerResponse.d.ts +0 -17
  59. package/lib/common-types/loginControllerResponse.js +0 -2
  60. package/lib/common-types/menuControllerResponse.d.ts +0 -13
  61. package/lib/common-types/menuControllerResponse.js +0 -2
  62. package/lib/common-types/resetPasswordControllerResponse.d.ts +0 -15
  63. package/lib/common-types/resetPasswordControllerResponse.js +0 -2
  64. package/lib/common-types/userPermissions.d.ts +0 -7
  65. package/lib/common-types/userPermissions.js +0 -2
  66. package/lib/config/README.md +0 -28
  67. package/lib/model/README.md +0 -30
  68. package/lib/model/auth/forgot-password.d.ts +0 -28
  69. package/lib/model/auth/forgot-password.js +0 -62
  70. package/lib/model/auth/index.d.ts +0 -4
  71. package/lib/model/auth/index.js +0 -20
  72. package/lib/model/auth/login.d.ts +0 -44
  73. package/lib/model/auth/login.js +0 -109
  74. package/lib/model/auth/register.d.ts +0 -20
  75. package/lib/model/auth/register.js +0 -33
  76. package/lib/model/auth/reset-password.d.ts +0 -36
  77. package/lib/model/auth/reset-password.js +0 -22
  78. package/lib/model/core/design-config.d.ts +0 -34
  79. package/lib/model/core/design-config.js +0 -19
  80. package/lib/model/core/entity.d.ts +0 -47
  81. package/lib/model/core/entity.js +0 -35
  82. package/lib/model/core/general-master.d.ts +0 -37
  83. package/lib/model/core/general-master.js +0 -19
  84. package/lib/model/core/index.d.ts +0 -6
  85. package/lib/model/core/menu.d.ts +0 -28
  86. package/lib/model/core/menu.js +0 -31
  87. package/lib/model/core/pin-code.d.ts +0 -21
  88. package/lib/model/core/pin-code.js +0 -28
  89. package/lib/model/core/user.d.ts +0 -19
  90. package/lib/model/core/user.js +0 -19
  91. package/lib/model/index.d.ts +0 -2
  92. package/lib/model/index.js +0 -18
  93. package/lib/schema/README.md +0 -51
  94. package/lib/schema/auth/mpin.d.ts +0 -37
  95. package/lib/schema/auth/mpin.js +0 -54
  96. package/lib/schema/core/aca_class_program_master.d.ts +0 -8
  97. package/lib/schema/core/aca_class_program_master.js +0 -32
  98. package/lib/schema/core/aca_class_program_term.d.ts +0 -8
  99. package/lib/schema/core/aca_class_program_term.js +0 -52
  100. package/lib/schema/core/aca_prg_trm_section.d.ts +0 -8
  101. package/lib/schema/core/aca_prg_trm_section.js +0 -45
  102. package/lib/schema/core/core_academic_year.d.ts +0 -8
  103. package/lib/schema/core/core_academic_year.js +0 -47
  104. package/lib/schema/core/core_academic_year_mapping.d.ts +0 -8
  105. package/lib/schema/core/core_academic_year_mapping.js +0 -25
  106. package/lib/schema/core/core_financial_year.d.ts +0 -8
  107. package/lib/schema/core/core_financial_year.js +0 -47
  108. package/lib/schema/core/core_financial_year_mapping.d.ts +0 -8
  109. package/lib/schema/core/core_financial_year_mapping.js +0 -25
  110. package/lib/schema/core/core_page_controls.d.ts +0 -30
  111. package/lib/schema/core/core_page_controls.js +0 -75
  112. package/lib/schema/email/elist.d.ts +0 -36
  113. package/lib/schema/email/elist.js +0 -42
  114. package/lib/schema/email/elog.d.ts +0 -41
  115. package/lib/schema/email/elog.js +0 -58
  116. package/lib/schema/email/eref.d.ts +0 -37
  117. package/lib/schema/email/eref.js +0 -43
  118. package/lib/schema/email/esub.d.ts +0 -43
  119. package/lib/schema/email/esub.js +0 -69
  120. package/lib/schema/email/etmp.d.ts +0 -36
  121. package/lib/schema/email/etmp.js +0 -41
  122. package/lib/schema/email/evdr.d.ts +0 -36
  123. package/lib/schema/email/evdr.js +0 -41
  124. package/lib/utilities/README.md +0 -22
  125. package/lib/utilities/helpers/encryption.helper.d.ts +0 -2
  126. package/lib/utilities/helpers/encryption.helper.js +0 -14
  127. package/lib/utilities/helpers/error.helper.d.ts +0 -9
  128. package/lib/utilities/helpers/error.helper.js +0 -26
  129. package/lib/utilities/helpers/index.d.ts +0 -5
  130. package/lib/utilities/helpers/index.js +0 -21
  131. package/lib/utilities/helpers/response.helper.d.ts +0 -16
  132. package/lib/utilities/helpers/response.helper.js +0 -9
  133. package/lib/utilities/helpers/string.helper.d.ts +0 -3
  134. package/lib/utilities/helpers/string.helper.js +0 -232
  135. package/lib/utilities/helpers/type.hepler.d.ts +0 -3
  136. package/lib/utilities/helpers/type.hepler.js +0 -2
  137. package/lib/utilities/helpers/view.helper.d.ts +0 -2
  138. package/lib/utilities/helpers/view.helper.js +0 -14
  139. package/lib/utilities/index.d.ts +0 -1
  140. package/lib/utilities/index.js +0 -17
@@ -1,28 +0,0 @@
1
- # Configuration Components
2
-
3
- This directory contains the compiled JavaScript files and TypeScript declaration files for configuration utilities used in the Cloud IDE LMS system.
4
-
5
- ## Navigation
6
-
7
- - [Back to Compiled Output](../README.md)
8
- - [Back to Main README](../../README.md)
9
-
10
- ## Files
11
-
12
- ### database.js / database.d.ts
13
-
14
- Provides MongoDB database connection functionality and utility functions:
15
- - `connectDB()`: Asynchronous function to establish a connection to MongoDB
16
- - `customUUID()`: Function that generates custom UUID strings for document IDs
17
- - Uses environment variable `UUID_PREFIX` combined with MongoDB ObjectId
18
- - Used by schemas like core_system_logs to create custom document IDs
19
- - Uses environment variables for connection parameters
20
- - Implements connection timeout and error handling
21
-
22
- ### index.js / index.d.ts
23
-
24
- Aggregates and exports all configuration utilities.
25
-
26
- ## Usage
27
-
28
- These compiled configuration files provide the functionality to connect to MongoDB and manage environment-specific settings in the deployed application.
@@ -1,30 +0,0 @@
1
- # Model Interfaces
2
-
3
- This directory contains TypeScript interfaces and type definitions for the domain models used in the Cloud IDE LMS system.
4
-
5
- ## Navigation
6
-
7
- - [Back to Compiled Output](../README.md)
8
- - [Back to Main README](../../README.md)
9
- - [Common Types Documentation](../common-types/README.md)
10
-
11
- ## Directory Structure
12
-
13
- ### Authentication Models (`/auth`)
14
-
15
- Contains interfaces related to authentication processes:
16
- - `forgot-password.d.ts` - Types for password recovery
17
- - `login.d.ts` - Login request and response types
18
- - `register.d.ts` - User registration types
19
- - `reset-password.d.ts` - Password reset types
20
-
21
- ### Core System Models (`/core`)
22
-
23
- Contains interfaces for core system functionality:
24
- - `design-config.d.ts` - UI/UX design configuration types
25
- - `entity.d.ts` - Entity management types
26
- - `general-master.d.ts` - General master data types
27
-
28
- ## Usage
29
-
30
- These type definitions provide the structure for data objects that flow through the system and are stored in MongoDB. They ensure type safety when working with data in TypeScript projects.
@@ -1,28 +0,0 @@
1
- import { SendMailInfo } from "../../common-types";
2
- import { IUser } from "../../schema";
3
- import { controllerResponse } from "../../utilities";
4
- import { forgotPasswordMethod } from "../../utilities/helpers/type.hepler";
5
- type IForgotPasswordErrorLogger = {
6
- [key in keyof MForgotPassword]: string;
7
- };
8
- declare class MForgotPassword {
9
- custom_forgot_password_method: forgotPasswordMethod;
10
- user_username: string;
11
- user_emailid: string;
12
- user_mobileno: number;
13
- constructor(init: MForgotPassword);
14
- Validate?(): Partial<IForgotPasswordErrorLogger>;
15
- }
16
- interface ForgotPasswordControllerResponse extends controllerResponse {
17
- data?: Partial<ForgotPasswordResponseData>;
18
- }
19
- interface ForgotPasswordResponseData {
20
- user: Partial<IUser>;
21
- reset_password_link: string;
22
- }
23
- interface ForgotPasswordSendMailInfo extends SendMailInfo {
24
- data: Partial<ForgotPasswordResponseData>;
25
- }
26
- export { IForgotPasswordErrorLogger, //interface
27
- MForgotPassword, // model
28
- ForgotPasswordControllerResponse, ForgotPasswordResponseData, ForgotPasswordSendMailInfo };
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MForgotPassword = void 0;
4
- /* INTERFACE END */
5
- /* MODEL START */
6
- var MForgotPassword = /** @class */ (function () {
7
- function MForgotPassword(init) {
8
- Object.assign(this, init);
9
- }
10
- MForgotPassword.prototype.Validate = function () {
11
- var _a, _b, _c;
12
- var errorLogger = {};
13
- /* Check method set or not */
14
- if (!this.custom_forgot_password_method) {
15
- errorLogger.custom_forgot_password_method = "Forgot Password Method is Required!";
16
- }
17
- else {
18
- if (this.custom_forgot_password_method == "username") {
19
- /* if username is selected by user */
20
- if (this.user_username) {
21
- /* Check wether length is in between 8 to 20 or not */
22
- if (((_a = this.user_username) === null || _a === void 0 ? void 0 : _a.length) < 8 || ((_b = this.user_username) === null || _b === void 0 ? void 0 : _b.length) > 20) {
23
- errorLogger.user_username = "Username is Invalid!";
24
- }
25
- }
26
- else {
27
- errorLogger.user_username = "Username is Required!";
28
- }
29
- }
30
- else if (this.custom_forgot_password_method == "email") {
31
- /* if email is selected by user */
32
- if (this.user_emailid) {
33
- /* Check wether length is 8 to 50 or not */
34
- if (((_c = this.user_emailid) === null || _c === void 0 ? void 0 : _c.length) < 8 || this.user_emailid.length > 50) {
35
- errorLogger.user_emailid = "Email Id is Invalid!";
36
- }
37
- }
38
- else {
39
- errorLogger.user_emailid = "Email Id is Required!";
40
- }
41
- }
42
- else if (this.custom_forgot_password_method == "mobile") {
43
- /* if mobile is selected by user */
44
- if (this.user_mobileno) {
45
- /* Check wether length is 10 to 15 digits or not */
46
- if (this.user_mobileno < 1000000000 || this.user_mobileno > 999999999999999) {
47
- errorLogger.user_mobileno = "Mobile Number is Invalid!";
48
- }
49
- }
50
- else {
51
- errorLogger.user_mobileno = "Mobile Number is Required!";
52
- }
53
- }
54
- else {
55
- errorLogger.custom_forgot_password_method = "Forgot Password Method is Invalid, please use 'username' or 'email' or 'mobile'";
56
- }
57
- }
58
- return errorLogger;
59
- };
60
- return MForgotPassword;
61
- }());
62
- exports.MForgotPassword = MForgotPassword;
@@ -1,4 +0,0 @@
1
- export * from "./forgot-password";
2
- export * from "./login";
3
- export * from "./register";
4
- export * from "./reset-password";
@@ -1,20 +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("./forgot-password"), exports);
18
- __exportStar(require("./login"), exports);
19
- __exportStar(require("./register"), exports);
20
- __exportStar(require("./reset-password"), exports);
@@ -1,44 +0,0 @@
1
- import { SendMailInfo } from "../../common-types";
2
- import { IUser } from "../../schema";
3
- import { controllerResponse } from "../../utilities";
4
- import { loginMethod } from "../../utilities/helpers/type.hepler";
5
- type ILoginErrorLogger = {
6
- [key in keyof MLogin]: string;
7
- };
8
- declare class MLogin {
9
- custom_login_method?: loginMethod;
10
- user_username?: string;
11
- user_password?: string;
12
- mpin_pin?: string;
13
- constructor(init: MLogin);
14
- Validate(): Partial<ILoginErrorLogger>;
15
- }
16
- interface loginControllerResponse extends controllerResponse {
17
- data?: Partial<loginResponseData>;
18
- token?: string;
19
- }
20
- interface loginResponseData {
21
- user: Partial<IUser>;
22
- }
23
- interface LoginSendMailInfo extends SendMailInfo {
24
- data: Partial<loginResponseData>;
25
- }
26
- type IReLoginErrorLogger = {
27
- [key in keyof MReLogin]: string;
28
- };
29
- declare class MReLogin {
30
- custom_login_method?: loginMethod;
31
- user_password?: string;
32
- mpin_pin?: string;
33
- token?: string;
34
- constructor(init: MReLogin);
35
- Validate?(): Partial<IReLoginErrorLogger>;
36
- }
37
- interface reLoginControllerResponse extends controllerResponse {
38
- data?: Partial<loginResponseData>;
39
- token?: string;
40
- }
41
- export { ILoginErrorLogger, //interface,
42
- IReLoginErrorLogger, MLogin, // model
43
- MReLogin, // model
44
- loginControllerResponse, reLoginControllerResponse, loginResponseData, LoginSendMailInfo };
@@ -1,109 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MReLogin = exports.MLogin = void 0;
4
- /* INTERFACE END */
5
- /* MODEL START */
6
- var MLogin = /** @class */ (function () {
7
- function MLogin(init) {
8
- Object.assign(this, init);
9
- }
10
- MLogin.prototype.Validate = function () {
11
- var _a, _b;
12
- var errorLogger = {};
13
- if (!this.user_username) {
14
- errorLogger.user_username = "Username is Required";
15
- }
16
- /* Check mpin or password selected or not, any one from both */
17
- if (!this.custom_login_method) {
18
- errorLogger.custom_login_method = "Login Method is Required, Mpin or Password!";
19
- }
20
- else {
21
- if (this.custom_login_method == "pass") {
22
- /* if password is selected by user */
23
- if (this.user_password) {
24
- /* Check wether length is in between 8 to 50 or not */
25
- if (((_a = this.user_password) === null || _a === void 0 ? void 0 : _a.length) < 7 || ((_b = this.user_password) === null || _b === void 0 ? void 0 : _b.length) > 50) {
26
- errorLogger.user_password = "Password is Invalid!";
27
- }
28
- }
29
- else {
30
- errorLogger.user_password = "Password is Invalid!";
31
- }
32
- }
33
- else if (this.custom_login_method == "mpin") {
34
- /* if mpin is selected by user */
35
- if (this.mpin_pin) {
36
- /* Check wether length is 6 or not */
37
- if (parseInt(this.mpin_pin) < 100000 || parseInt(this.mpin_pin) > 999999) {
38
- errorLogger.mpin_pin = "MPIN is Invalid!";
39
- }
40
- if (!(/^[0-9]+$/).test(this.mpin_pin)) {
41
- errorLogger.mpin_pin = "MPIN is Invalid!";
42
- }
43
- }
44
- else {
45
- errorLogger.mpin_pin = "MPIN is Invalid!";
46
- }
47
- }
48
- else {
49
- errorLogger.custom_login_method = "Login Method is Invalid, please use 'mpin' or 'pass'";
50
- }
51
- }
52
- return errorLogger;
53
- };
54
- return MLogin;
55
- }());
56
- exports.MLogin = MLogin;
57
- /* INTERFACE END */
58
- /* MODEL START */
59
- var MReLogin = /** @class */ (function () {
60
- function MReLogin(init) {
61
- Object.assign(this, init);
62
- }
63
- MReLogin.prototype.Validate = function () {
64
- var _a, _b;
65
- var errorLogger = {};
66
- if (!this.token) {
67
- errorLogger.token = "Token is Required";
68
- }
69
- /* Check mpin or password selected or not, any one from both */
70
- if (!this.custom_login_method) {
71
- errorLogger.custom_login_method = "Login Method is Required, Mpin or Password!";
72
- }
73
- else {
74
- if (this.custom_login_method == "pass") {
75
- /* if password is selected by user */
76
- if (this.user_password) {
77
- /* Check wether length is in between 8 to 50 or not */
78
- if (((_a = this.user_password) === null || _a === void 0 ? void 0 : _a.length) < 7 || ((_b = this.user_password) === null || _b === void 0 ? void 0 : _b.length) > 50) {
79
- errorLogger.user_password = "Password is Invalid!";
80
- }
81
- }
82
- else {
83
- errorLogger.user_password = "Password is Invalid!";
84
- }
85
- }
86
- else if (this.custom_login_method == "mpin") {
87
- /* if mpin is selected by user */
88
- if (this.mpin_pin) {
89
- /* Check wether length is 6 or not */
90
- if (parseInt(this.mpin_pin) < 100000 || parseInt(this.mpin_pin) > 999999) {
91
- errorLogger.mpin_pin = "MPIN is Invalid!";
92
- }
93
- if (!(/^[0-9]+$/).test(this.mpin_pin)) {
94
- errorLogger.mpin_pin = "MPIN is Invalid!";
95
- }
96
- }
97
- else {
98
- errorLogger.mpin_pin = "MPIN is Invalid!";
99
- }
100
- }
101
- else {
102
- errorLogger.custom_login_method = "Login Method is Invalid, please use 'mpin' or 'pass'";
103
- }
104
- }
105
- return errorLogger;
106
- };
107
- return MReLogin;
108
- }());
109
- exports.MReLogin = MReLogin;
@@ -1,20 +0,0 @@
1
- import { MErrorLoggerHelper } from "../../utilities/helpers/error.helper";
2
- interface IRegisterErrorLogger extends MErrorLoggerHelper {
3
- control: keyof MRegister;
4
- }
5
- declare class MRegister {
6
- user_id_ent: string;
7
- user_username: string;
8
- user_firstname: string;
9
- user_middlename: string;
10
- user_lastname: string;
11
- user_fullname: string;
12
- user_emailid: string;
13
- user_mobileno: number;
14
- user_password: string;
15
- user_photo_id_fm: string;
16
- constructor(init: MRegister);
17
- Validate?(): IRegisterErrorLogger[];
18
- }
19
- export { IRegisterErrorLogger, //interface
20
- MRegister };
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MRegister = void 0;
4
- /* INTERFACE END */
5
- /* MODEL START */
6
- var MRegister = /** @class */ (function () {
7
- function MRegister(init) {
8
- Object.assign(this, init);
9
- }
10
- MRegister.prototype.Validate = function () {
11
- var _a, _b;
12
- var errorLogger = [];
13
- if (!this.user_username) {
14
- errorLogger.push({
15
- control: "user_username",
16
- message: "Username is Required"
17
- });
18
- }
19
- /* if password is selected by user */
20
- if (this.user_password) {
21
- /* Check wether length is in between 8 to 50 or not */
22
- if (((_a = this.user_password) === null || _a === void 0 ? void 0 : _a.length) < 8 || ((_b = this.user_password) === null || _b === void 0 ? void 0 : _b.length) > 50) {
23
- errorLogger.push({
24
- control: "user_password",
25
- message: "Password is Invalid!"
26
- });
27
- }
28
- }
29
- return errorLogger;
30
- };
31
- return MRegister;
32
- }());
33
- exports.MRegister = MRegister;
@@ -1,36 +0,0 @@
1
- import { SendMailInfo } from "../../common-types";
2
- import { IUser } from "../../schema";
3
- import { controllerResponse } from "../../utilities";
4
- type IResetPasswordErrorLogger = {
5
- [key in keyof MResetPassword]: string;
6
- };
7
- declare class MResetPassword {
8
- user_password: string;
9
- user_username: string;
10
- sylog_config_data: resetPasswordSylog;
11
- constructor(init: MResetPassword);
12
- Validate?(): Partial<IResetPasswordErrorLogger>;
13
- }
14
- interface resetPasswordJwtPayload {
15
- user_password?: string;
16
- }
17
- interface resetPasswordSylog {
18
- reset_password_link?: string;
19
- reset_password_secret?: string;
20
- request_timestamp?: Date;
21
- }
22
- interface ResetPasswordControllerResponse extends controllerResponse {
23
- data?: Partial<ResetPasswordResponseData>;
24
- }
25
- interface SignOutControllerResponse extends controllerResponse {
26
- }
27
- interface ResetPasswordResponseData {
28
- user: Partial<IUser>;
29
- reset_password_link: string;
30
- }
31
- interface ResetPasswordSendMailInfo extends SendMailInfo {
32
- data: Partial<ResetPasswordResponseData>;
33
- }
34
- export { IResetPasswordErrorLogger, //interface
35
- MResetPassword, // model
36
- resetPasswordJwtPayload, resetPasswordSylog, ResetPasswordControllerResponse, ResetPasswordResponseData, ResetPasswordSendMailInfo, SignOutControllerResponse };
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MResetPassword = void 0;
4
- /* INTERFACE END */
5
- /* MODEL START */
6
- var MResetPassword = /** @class */ (function () {
7
- function MResetPassword(init) {
8
- Object.assign(this, init);
9
- }
10
- MResetPassword.prototype.Validate = function () {
11
- var errorLogger = {};
12
- if (!this.sylog_config_data) {
13
- errorLogger.sylog_config_data = "Configuration Data is Required!";
14
- }
15
- if (!this.user_password) {
16
- errorLogger.user_password = "Password is Required!";
17
- }
18
- return errorLogger;
19
- };
20
- return MResetPassword;
21
- }());
22
- exports.MResetPassword = MResetPassword;
@@ -1,34 +0,0 @@
1
- import { ICoreSypc, ICoreSypg, ICoreSypgr, ICoreSyptb, ICoreSytm, ITabs } from "../../schema";
2
- import { controllerResponse } from "../../utilities";
3
- type IDesignConfigErrorLogger = {
4
- [key in keyof MDesignConfig]: string;
5
- };
6
- declare class MDesignConfig {
7
- sypg_page_code?: string;
8
- constructor(init: MDesignConfig);
9
- Validate?(): Partial<IDesignConfigErrorLogger>;
10
- }
11
- interface designConfigControllerResponse extends controllerResponse {
12
- data?: designConfigResponseData;
13
- }
14
- interface designConfigResponseData {
15
- page?: Partial<ICoreSypg>;
16
- theme?: Partial<ICoreSytm>;
17
- grid?: {
18
- [key: string]: ICoreSypgr;
19
- };
20
- controls?: {
21
- [key: string]: ICoreSypc;
22
- };
23
- tab?: {
24
- [key: string]: ICoreTabs;
25
- };
26
- }
27
- interface ICoreTabs extends ICoreSyptb {
28
- syptb_tabs_select: {
29
- [key: string]: ITabs;
30
- };
31
- }
32
- export { IDesignConfigErrorLogger, //interface
33
- MDesignConfig, // model
34
- designConfigControllerResponse, designConfigResponseData, ICoreTabs };
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MDesignConfig = void 0;
4
- /* INTERFACE END */
5
- /* MODEL START */
6
- var MDesignConfig = /** @class */ (function () {
7
- function MDesignConfig(init) {
8
- Object.assign(this, init);
9
- }
10
- MDesignConfig.prototype.Validate = function () {
11
- var errorLogger = {};
12
- if (!this.sypg_page_code) {
13
- errorLogger.sypg_page_code = "Page Code is Required!";
14
- }
15
- return errorLogger;
16
- };
17
- return MDesignConfig;
18
- }());
19
- exports.MDesignConfig = MDesignConfig;
@@ -1,47 +0,0 @@
1
- import { MTableQueries } from "../../common-types/common";
2
- import { controllerResponse } from "../../utilities";
3
- type IEntityErrorLogger = {
4
- [key in keyof MEntity]: string;
5
- };
6
- declare class MEntity extends MTableQueries {
7
- syen_id?: string;
8
- constructor(init: MEntity);
9
- Validate?(): Partial<IEntityErrorLogger>;
10
- }
11
- interface entityControllerResponse extends controllerResponse {
12
- data?: entityResponseData[];
13
- }
14
- interface entityResponseData {
15
- _id?: string;
16
- syen_id_syen?: string;
17
- syen_print_name?: string;
18
- syen_entity_type_gmst?: string;
19
- syen_name?: string;
20
- syen_entity_code?: string;
21
- syen_corporate_address?: string;
22
- syen_corporate_pin_sypc?: string;
23
- syen_corporate_pincode_sypc?: string;
24
- syen_corporate_contact_person_user?: string;
25
- syen_corporate_phone?: number;
26
- syen_corporate_phone_alt?: number;
27
- syen_corporate_fax?: string;
28
- syen_corporate_email?: string;
29
- syen_corporate_email_alt?: string;
30
- syen_website?: string;
31
- syen_currency_sycr?: string;
32
- syen_registered_address?: string;
33
- syen_registered_pin_sypc?: string;
34
- syen_registered_pincode_sypc?: string;
35
- syen_registered_phone?: number;
36
- syen_registered_email?: string;
37
- syen_registered_fax?: string;
38
- syen_registered_contact_person_user?: string;
39
- syen_udise_no?: string;
40
- syen_affiliation_no?: string;
41
- syen_photo_id_fm?: string;
42
- syen_isactive?: boolean;
43
- children: entityResponseData[];
44
- }
45
- export { IEntityErrorLogger, //interface
46
- MEntity, // model
47
- entityControllerResponse, entityResponseData };
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.MEntity = void 0;
19
- var common_1 = require("../../common-types/common");
20
- /* INTERFACE END */
21
- /* MODEL START */
22
- var MEntity = /** @class */ (function (_super) {
23
- __extends(MEntity, _super);
24
- function MEntity(init) {
25
- var _this = _super.call(this, init) || this;
26
- Object.assign(_this, init);
27
- return _this;
28
- }
29
- MEntity.prototype.Validate = function () {
30
- var errorLogger = {};
31
- return errorLogger;
32
- };
33
- return MEntity;
34
- }(common_1.MTableQueries));
35
- exports.MEntity = MEntity;
@@ -1,37 +0,0 @@
1
- import { CommonSelect } from "../../common-types";
2
- import { controllerResponse } from "../../utilities";
3
- type IGeneralMasterSelectErrorLogger = {
4
- [key in keyof MGeneralMasterSelect]: string;
5
- };
6
- declare class MGeneralMasterSelect {
7
- sygmt_code?: string;
8
- constructor(init: MGeneralMasterSelect);
9
- Validate?(): Partial<IGeneralMasterSelectErrorLogger>;
10
- }
11
- interface generalMasterSelectControllerResponse extends controllerResponse {
12
- data?: {
13
- core_general_master: generalMasterResponseData[];
14
- core_general_master_type: generalMasterTypeResponseData[];
15
- };
16
- }
17
- interface generalMasterResponseData extends CommonSelect {
18
- _id?: string;
19
- sygms_code: string;
20
- sygms_id_sygmt: string;
21
- sygms_title: string;
22
- sygms_desc: string;
23
- sygms_isactive: string;
24
- sygms_configuration: any;
25
- }
26
- interface generalMasterTypeResponseData {
27
- _id: string;
28
- sygmt_code: string;
29
- sygmt_title: string;
30
- sygmt_desc: string;
31
- sygmt_isactive: boolean;
32
- }
33
- export { IGeneralMasterSelectErrorLogger, //interface
34
- MGeneralMasterSelect, // model
35
- generalMasterSelectControllerResponse, // Select
36
- generalMasterResponseData, // simple response
37
- generalMasterTypeResponseData };
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MGeneralMasterSelect = void 0;
4
- /* INTERFACE END */
5
- /* MODEL START */
6
- var MGeneralMasterSelect = /** @class */ (function () {
7
- function MGeneralMasterSelect(init) {
8
- Object.assign(this, init);
9
- }
10
- MGeneralMasterSelect.prototype.Validate = function () {
11
- var errorLogger = {};
12
- if (!this.sygmt_code) {
13
- errorLogger.sygmt_code = "Master Type is required";
14
- }
15
- return errorLogger;
16
- };
17
- return MGeneralMasterSelect;
18
- }());
19
- exports.MGeneralMasterSelect = MGeneralMasterSelect;
@@ -1,6 +0,0 @@
1
- export * from "./design-config";
2
- export * from "./entity";
3
- export * from "./general-master";
4
- export * from "./menu";
5
- export * from "./pin-code";
6
- export * from "./user";