cloud-ide-lms-model 1.1.19 → 1.1.21

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 (248) hide show
  1. package/lib/common-types/common.js +6 -2
  2. package/lib/common-types/emailServiceConfig.js +2 -1
  3. package/lib/common-types/index.js +20 -4
  4. package/lib/common-types/jwtPayload.js +2 -1
  5. package/lib/common-types/userPermissions.js +2 -1
  6. package/lib/index.js +23 -7
  7. package/lib/middleware/index.js +17 -1
  8. package/lib/middleware/securityHeadersMiddleware.js +2 -1
  9. package/lib/model/academics/aca_academic_year.js +12 -5
  10. package/lib/model/academics/aca_academic_year_mapping.js +12 -5
  11. package/lib/model/academics/aca_class_prg_branch.js +15 -6
  12. package/lib/model/academics/aca_class_program_master.js +12 -5
  13. package/lib/model/academics/aca_class_program_term.js +13 -5
  14. package/lib/model/academics/aca_prg_trm_section.js +13 -5
  15. package/lib/model/academics/academics_bonafide_request.js +12 -4
  16. package/lib/model/academics/index.js +23 -7
  17. package/lib/model/accounts/acc_financial_config.js +10 -6
  18. package/lib/model/accounts/acc_financial_year.js +12 -5
  19. package/lib/model/accounts/acc_financial_year_mapping.js +12 -5
  20. package/lib/model/accounts/index.js +19 -3
  21. package/lib/model/admission/admission_application_main.js +8 -3
  22. package/lib/model/admission/admission_confirmation_types.js +12 -5
  23. package/lib/model/admission/admission_contact_addresses.js +2 -1
  24. package/lib/model/admission/admission_elective_detail.js +8 -3
  25. package/lib/model/admission/admission_family_members.js +2 -1
  26. package/lib/model/admission/admission_fee_snapshot.js +2 -1
  27. package/lib/model/admission/admission_rte_details.js +2 -1
  28. package/lib/model/admission/admission_vital_information.js +2 -1
  29. package/lib/model/admission/index.js +24 -8
  30. package/lib/model/app/app-build-config.model.js +8 -4
  31. package/lib/model/app/app-changelog.model.js +8 -4
  32. package/lib/model/app/app-deployment.model.js +8 -4
  33. package/lib/model/app/app-platform-link.model.js +8 -4
  34. package/lib/model/app/app-publish.model.js +8 -4
  35. package/lib/model/app/app-registration-start.model.js +8 -4
  36. package/lib/model/app/app-registration.model.js +8 -4
  37. package/lib/model/app/app-rollout-config.model.d.ts +59 -0
  38. package/lib/model/app/app-rollout-config.model.js +40 -0
  39. package/lib/model/app/app-statistics.model.d.ts +57 -0
  40. package/lib/model/app/app-statistics.model.js +40 -0
  41. package/lib/model/app/app-store-provider.model.js +8 -4
  42. package/lib/model/app/app-user-update-status.model.d.ts +63 -0
  43. package/lib/model/app/app-user-update-status.model.js +40 -0
  44. package/lib/model/app/app-version.model.js +8 -4
  45. package/lib/model/app/index.d.ts +3 -0
  46. package/lib/model/app/index.js +28 -9
  47. package/lib/model/auth/auth_user_mst.js +26 -16
  48. package/lib/model/auth/entity-switch.js +4 -2
  49. package/lib/model/auth/forgot-password.js +4 -2
  50. package/lib/model/auth/generate-view-only-token.js +4 -1
  51. package/lib/model/auth/index.js +23 -7
  52. package/lib/model/auth/login.js +5 -2
  53. package/lib/model/auth/register.js +4 -4
  54. package/lib/model/auth/reset-password.js +4 -2
  55. package/lib/model/common/index.js +17 -1
  56. package/lib/model/common/mongoose-object.js +2 -1
  57. package/lib/model/core/core_department.js +10 -3
  58. package/lib/model/core/core_designation.js +10 -3
  59. package/lib/model/core/core_designation_grade_level.js +13 -5
  60. package/lib/model/core/core_entity_access_pass_management.js +10 -3
  61. package/lib/model/core/core_file_manager.js +8 -4
  62. package/lib/model/core/core_general_master.js +14 -6
  63. package/lib/model/core/core_general_master_type.js +15 -7
  64. package/lib/model/core/core_iso_currency.js +6 -4
  65. package/lib/model/core/core_page_elements.js +14 -5
  66. package/lib/model/core/core_page_elements_mapping.js +12 -3
  67. package/lib/model/core/core_pin_code.js +4 -2
  68. package/lib/model/core/core_system_country.js +6 -3
  69. package/lib/model/core/core_system_entity.js +8 -5
  70. package/lib/model/core/core_system_menu.js +13 -6
  71. package/lib/model/core/core_system_nationality.js +6 -3
  72. package/lib/model/core/core_system_pages.js +13 -5
  73. package/lib/model/core/core_system_pages_theme.js +14 -3
  74. package/lib/model/core/core_system_theme_user_preferences.js +4 -3
  75. package/lib/model/core/core_system_themes.js +4 -2
  76. package/lib/model/core/core_user_role.js +10 -3
  77. package/lib/model/core/core_workflow_config.js +13 -4
  78. package/lib/model/core/core_workflow_engine.js +9 -2
  79. package/lib/model/core/core_workflow_registry.js +12 -4
  80. package/lib/model/core/dashboard-cards.js +9 -3
  81. package/lib/model/core/design-config.js +4 -2
  82. package/lib/model/core/financial_config.js +10 -6
  83. package/lib/model/core/index.js +43 -27
  84. package/lib/model/email/email_list.js +10 -4
  85. package/lib/model/email/email_log.js +8 -4
  86. package/lib/model/email/email_reference.js +10 -4
  87. package/lib/model/email/email_subscription.js +10 -4
  88. package/lib/model/email/email_template.js +10 -4
  89. package/lib/model/email/email_vendor.js +10 -4
  90. package/lib/model/email/index.js +22 -6
  91. package/lib/model/fees/fee_assignment.js +11 -6
  92. package/lib/model/fees/fee_discount_rule.js +12 -5
  93. package/lib/model/fees/fee_payment.js +11 -5
  94. package/lib/model/fees/fee_receipt_template.js +12 -5
  95. package/lib/model/fees/fee_structure.js +13 -5
  96. package/lib/model/fees/index.js +21 -5
  97. package/lib/model/frontdesk/fdsk_lead_assignment_detail.js +7 -4
  98. package/lib/model/frontdesk/fdsk_lead_config_master.js +12 -9
  99. package/lib/model/frontdesk/fdsk_leads.js +8 -5
  100. package/lib/model/frontdesk/index.js +19 -3
  101. package/lib/model/index.js +27 -11
  102. package/lib/model/notifications/index.js +17 -1
  103. package/lib/model/notifications/notification.js +10 -3
  104. package/lib/routes/academicsRoutes.js +4 -1
  105. package/lib/routes/accountsRoutes.js +4 -1
  106. package/lib/routes/admissionRoutes.js +4 -1
  107. package/lib/routes/appRoutes.js +4 -1
  108. package/lib/routes/authRoutes.js +4 -1
  109. package/lib/routes/commonRoutes.js +4 -1
  110. package/lib/routes/coreRoutes.js +4 -1
  111. package/lib/routes/designConfigRoutes.js +4 -1
  112. package/lib/routes/emailRoutes.js +4 -1
  113. package/lib/routes/feesRoutes.js +4 -1
  114. package/lib/routes/frontdeskRoutes.js +4 -1
  115. package/lib/routes/hostManagerRoutes.js +4 -1
  116. package/lib/routes/index.js +30 -14
  117. package/lib/routes/notificationRoutes.js +4 -1
  118. package/lib/routes/userRoutes.js +4 -1
  119. package/lib/schema/academics/aca_academic_year.js +4 -1
  120. package/lib/schema/academics/aca_academic_year_mapping.js +5 -2
  121. package/lib/schema/academics/aca_class_prg_branch.js +5 -2
  122. package/lib/schema/academics/aca_class_program_master.js +5 -2
  123. package/lib/schema/academics/aca_class_program_term.js +5 -2
  124. package/lib/schema/academics/aca_prg_trm_section.js +5 -2
  125. package/lib/schema/academics/academics_bonafide_request.js +4 -3
  126. package/lib/schema/academics/index.js +23 -7
  127. package/lib/schema/accounts/acc_financial_config.js +4 -2
  128. package/lib/schema/accounts/acc_financial_year.js +4 -1
  129. package/lib/schema/accounts/acc_financial_year_mapping.js +5 -2
  130. package/lib/schema/accounts/index.js +19 -3
  131. package/lib/schema/admission/admission_application_main.js +4 -3
  132. package/lib/schema/admission/admission_contact_addresses.js +7 -5
  133. package/lib/schema/admission/admission_document_uploads.js +4 -3
  134. package/lib/schema/admission/admission_elective_detail.js +4 -3
  135. package/lib/schema/admission/admission_family_members.js +5 -3
  136. package/lib/schema/admission/admission_fee_snapshot.js +2 -1
  137. package/lib/schema/admission/admission_rte_details.js +5 -2
  138. package/lib/schema/admission/admission_status_history.js +4 -3
  139. package/lib/schema/admission/admission_vital_information.js +5 -2
  140. package/lib/schema/admission/index.js +25 -9
  141. package/lib/schema/app/app_build_config_mst.js +4 -3
  142. package/lib/schema/app/app_platform_link_mst.js +4 -3
  143. package/lib/schema/app/app_publish_details_mst.js +4 -3
  144. package/lib/schema/app/app_registration_mst.js +4 -3
  145. package/lib/schema/app/app_registration_start_mst.js +4 -3
  146. package/lib/schema/app/app_rollout_config_mst.js +4 -3
  147. package/lib/schema/app/app_store_provider_mst.js +4 -3
  148. package/lib/schema/app/app_update_changelog_mst.js +4 -3
  149. package/lib/schema/app/app_update_deployment_mst.js +4 -3
  150. package/lib/schema/app/app_update_statistics_mst.js +4 -3
  151. package/lib/schema/app/app_user_update_status_mst.js +4 -3
  152. package/lib/schema/app/app_version_mst.js +4 -3
  153. package/lib/schema/app/index.js +28 -12
  154. package/lib/schema/auth/auth_logses.js +2 -1
  155. package/lib/schema/auth/auth_mpin.js +4 -3
  156. package/lib/schema/auth/auth_user_mst.js +4 -2
  157. package/lib/schema/auth/index.js +19 -3
  158. package/lib/schema/collection_names.js +4 -1
  159. package/lib/schema/core/core_board_exam_pattern.js +4 -3
  160. package/lib/schema/core/core_board_grade_system.js +4 -3
  161. package/lib/schema/core/core_dashboard_cards.js +2 -1
  162. package/lib/schema/core/core_department.js +2 -1
  163. package/lib/schema/core/core_designation.js +2 -1
  164. package/lib/schema/core/core_designation_grade_level.js +4 -2
  165. package/lib/schema/core/core_education_board.js +4 -3
  166. package/lib/schema/core/core_entity_access_pass_management.js +5 -1
  167. package/lib/schema/core/core_entity_mapping.js +5 -4
  168. package/lib/schema/core/core_entity_udise.js +4 -3
  169. package/lib/schema/core/core_file_manager.js +4 -3
  170. package/lib/schema/core/core_financial_config.js +4 -2
  171. package/lib/schema/core/core_general_master.js +4 -3
  172. package/lib/schema/core/core_general_master_type.js +4 -3
  173. package/lib/schema/core/core_iso_currency.js +2 -1
  174. package/lib/schema/core/core_language.js +2 -1
  175. package/lib/schema/core/core_page_elements.js +4 -3
  176. package/lib/schema/core/core_page_elements_mapping.js +2 -1
  177. package/lib/schema/core/core_page_grid.js +2 -1
  178. package/lib/schema/core/core_page_tab.js +2 -1
  179. package/lib/schema/core/core_pin_code.js +2 -1
  180. package/lib/schema/core/core_school_board_affiliation.js +4 -3
  181. package/lib/schema/core/core_system_config.js +4 -3
  182. package/lib/schema/core/core_system_country.js +2 -1
  183. package/lib/schema/core/core_system_entity.js +4 -3
  184. package/lib/schema/core/core_system_logs.js +4 -3
  185. package/lib/schema/core/core_system_menu.js +4 -3
  186. package/lib/schema/core/core_system_nationality.js +2 -1
  187. package/lib/schema/core/core_system_organization_themes.js +4 -3
  188. package/lib/schema/core/core_system_page_notes_manager.js +4 -2
  189. package/lib/schema/core/core_system_pages.js +4 -3
  190. package/lib/schema/core/core_system_pages_theme.js +2 -1
  191. package/lib/schema/core/core_system_theme_user_preferences.js +4 -3
  192. package/lib/schema/core/core_system_themes.js +4 -2
  193. package/lib/schema/core/core_user_attributes.js +4 -2
  194. package/lib/schema/core/core_user_contact_addresses.js +5 -2
  195. package/lib/schema/core/core_user_documents.js +5 -2
  196. package/lib/schema/core/core_user_family_details.js +5 -2
  197. package/lib/schema/core/core_user_role.js +5 -2
  198. package/lib/schema/core/core_user_role_exceptions.js +5 -2
  199. package/lib/schema/core/core_user_role_rights.js +5 -2
  200. package/lib/schema/core/core_user_type_mapping.js +2 -1
  201. package/lib/schema/core/core_workflow_approver_rules.js +4 -3
  202. package/lib/schema/core/core_workflow_config.js +4 -3
  203. package/lib/schema/core/core_workflow_registry.js +4 -3
  204. package/lib/schema/core/core_workflow_transaction_history.js +4 -3
  205. package/lib/schema/core/index.js +62 -46
  206. package/lib/schema/email/email_list.js +4 -3
  207. package/lib/schema/email/email_log.js +4 -3
  208. package/lib/schema/email/email_reference.js +4 -3
  209. package/lib/schema/email/email_subscription_vendor.js +4 -3
  210. package/lib/schema/email/email_templete.js +4 -3
  211. package/lib/schema/email/email_vendor.js +4 -3
  212. package/lib/schema/email/index.js +22 -6
  213. package/lib/schema/fees/fee_assignment.js +5 -1
  214. package/lib/schema/fees/fee_collection_config.js +4 -1
  215. package/lib/schema/fees/fee_discount.js +4 -1
  216. package/lib/schema/fees/fee_discount_rule.js +4 -1
  217. package/lib/schema/fees/fee_installment_config.js +4 -1
  218. package/lib/schema/fees/fee_installment_item.js +4 -1
  219. package/lib/schema/fees/fee_late_fee.js +4 -1
  220. package/lib/schema/fees/fee_late_fee_rule.js +4 -1
  221. package/lib/schema/fees/fee_payment.js +4 -1
  222. package/lib/schema/fees/fee_payment_item.js +4 -1
  223. package/lib/schema/fees/fee_receipt_template.js +4 -1
  224. package/lib/schema/fees/fee_refund.js +4 -1
  225. package/lib/schema/fees/fee_scholarship.js +4 -1
  226. package/lib/schema/fees/fee_structure.js +5 -2
  227. package/lib/schema/fees/fee_structure_item.js +4 -1
  228. package/lib/schema/fees/fee_transaction.js +4 -1
  229. package/lib/schema/fees/index.js +37 -16
  230. package/lib/schema/frontdesk/fdsk_lead_assignment_detail.js +5 -4
  231. package/lib/schema/frontdesk/fdsk_lead_config_master.js +5 -4
  232. package/lib/schema/frontdesk/fdsk_lead_detail.js +5 -4
  233. package/lib/schema/frontdesk/fdsk_lead_scheduling.js +5 -4
  234. package/lib/schema/frontdesk/fdsk_leads.js +5 -4
  235. package/lib/schema/frontdesk/index.js +21 -5
  236. package/lib/schema/index.js +27 -11
  237. package/lib/schema/notifications/index.js +17 -1
  238. package/lib/schema/notifications/notification.js +5 -2
  239. package/lib/services/index.js +17 -1
  240. package/lib/services/theme.service.js +2 -1
  241. package/lib/utilities/helpers/encryption.helper.js +4 -1
  242. package/lib/utilities/helpers/error.helper.js +8 -1
  243. package/lib/utilities/helpers/index.js +21 -5
  244. package/lib/utilities/helpers/response.helper.js +4 -1
  245. package/lib/utilities/helpers/string.helper.js +12 -5
  246. package/lib/utilities/helpers/type.hepler.js +2 -1
  247. package/lib/utilities/index.js +17 -1
  248. package/package.json +4 -9
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAppRolloutConfigInsertUpdatePayload = exports.MAppRolloutConfigGetByIdPayload = exports.MAppRolloutConfig = void 0;
4
+ const common_1 = require("../../common-types/common");
5
+ /* INTERFACE END */
6
+ /* MODEL START */
7
+ class MAppRolloutConfig 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.MAppRolloutConfig = MAppRolloutConfig;
18
+ class MAppRolloutConfigGetByIdPayload {
19
+ constructor(init) {
20
+ Object.assign(this, init);
21
+ }
22
+ Validate() {
23
+ let errorLogger = {};
24
+ if (!this.approll_id && !this._id) {
25
+ errorLogger.approll_id = "App Rollout Config ID is Required!";
26
+ }
27
+ return errorLogger;
28
+ }
29
+ }
30
+ exports.MAppRolloutConfigGetByIdPayload = MAppRolloutConfigGetByIdPayload;
31
+ class MAppRolloutConfigInsertUpdatePayload {
32
+ constructor(init) {
33
+ Object.assign(this, init);
34
+ }
35
+ Validate() {
36
+ let errorLogger = {};
37
+ return errorLogger;
38
+ }
39
+ }
40
+ exports.MAppRolloutConfigInsertUpdatePayload = MAppRolloutConfigInsertUpdatePayload;
@@ -0,0 +1,57 @@
1
+ import { MTableQueries, MRequestMiddelware } from "../../common-types/common";
2
+ import { IAppUpdateStatisticsMst } from "../../schema/app/app_update_statistics_mst";
3
+ import { controllerResponse } from "../../utilities";
4
+ type IAppStatisticsErrorLogger = {
5
+ [key in keyof MAppStatistics]: string;
6
+ };
7
+ type IAppStatisticsGetByIdErrorLogger = {
8
+ [key in keyof MAppStatisticsGetByIdPayload]: string;
9
+ };
10
+ type IAppStatisticsInsertUpdateErrorLogger = {
11
+ [key in keyof MAppStatisticsInsertUpdatePayload]: string;
12
+ };
13
+ declare class MAppStatistics extends MTableQueries {
14
+ appstat_id?: string;
15
+ appstat_version_id_appver?: string;
16
+ query?: string;
17
+ constructor(init: MAppStatistics);
18
+ Validate?(): Partial<IAppStatisticsErrorLogger>;
19
+ }
20
+ declare class MAppStatisticsGetByIdPayload implements MRequestMiddelware {
21
+ appstat_id?: string;
22
+ _id?: string;
23
+ constructor(init: MAppStatisticsGetByIdPayload);
24
+ Validate?(): Partial<IAppStatisticsGetByIdErrorLogger>;
25
+ }
26
+ declare class MAppStatisticsInsertUpdatePayload implements IAppUpdateStatisticsMst, MRequestMiddelware {
27
+ _id?: string;
28
+ appstat_version_id_appver?: string;
29
+ appstat_stat_date?: Date;
30
+ appstat_total_users?: number;
31
+ appstat_users_on_version?: number;
32
+ appstat_users_updated?: number;
33
+ appstat_users_failed?: number;
34
+ appstat_success_rate?: number;
35
+ appstat_avg_update_time?: number;
36
+ appstat_download_count?: number;
37
+ appstat_install_count?: number;
38
+ appstat_rollback_count?: number;
39
+ appstat_created_at?: Date;
40
+ appstat_updated_at?: Date;
41
+ constructor(init: Partial<IAppUpdateStatisticsMst> & {
42
+ _id?: string;
43
+ });
44
+ Validate?(): Partial<IAppStatisticsInsertUpdateErrorLogger>;
45
+ }
46
+ interface appStatisticsControllerResponse extends controllerResponse {
47
+ data?: any[] | any | null;
48
+ total?: number;
49
+ totalDocument?: number;
50
+ }
51
+ interface appStatisticsByIdControllerResponse extends controllerResponse {
52
+ data?: any | null;
53
+ }
54
+ interface appStatisticsInsertUpdateControllerResponse extends controllerResponse {
55
+ data?: any | null;
56
+ }
57
+ export { MAppStatistics, MAppStatisticsGetByIdPayload, MAppStatisticsInsertUpdatePayload, appStatisticsControllerResponse, appStatisticsByIdControllerResponse, appStatisticsInsertUpdateControllerResponse };
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAppStatisticsInsertUpdatePayload = exports.MAppStatisticsGetByIdPayload = exports.MAppStatistics = void 0;
4
+ const common_1 = require("../../common-types/common");
5
+ /* INTERFACE END */
6
+ /* MODEL START */
7
+ class MAppStatistics 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.MAppStatistics = MAppStatistics;
18
+ class MAppStatisticsGetByIdPayload {
19
+ constructor(init) {
20
+ Object.assign(this, init);
21
+ }
22
+ Validate() {
23
+ let errorLogger = {};
24
+ if (!this.appstat_id && !this._id) {
25
+ errorLogger.appstat_id = "App Statistics ID is Required!";
26
+ }
27
+ return errorLogger;
28
+ }
29
+ }
30
+ exports.MAppStatisticsGetByIdPayload = MAppStatisticsGetByIdPayload;
31
+ class MAppStatisticsInsertUpdatePayload {
32
+ constructor(init) {
33
+ Object.assign(this, init);
34
+ }
35
+ Validate() {
36
+ let errorLogger = {};
37
+ return errorLogger;
38
+ }
39
+ }
40
+ exports.MAppStatisticsInsertUpdatePayload = MAppStatisticsInsertUpdatePayload;
@@ -1,7 +1,10 @@
1
- import { MTableQueries } from "../../common-types/common";
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAppStoreProviderInsertUpdatePayload = exports.MAppStoreProviderGetByIdPayload = exports.MAppStoreProvider = void 0;
4
+ const common_1 = require("../../common-types/common");
2
5
  /* INTERFACE END */
3
6
  /* MODEL START */
4
- class MAppStoreProvider extends MTableQueries {
7
+ class MAppStoreProvider extends common_1.MTableQueries {
5
8
  constructor(init) {
6
9
  super(init);
7
10
  Object.assign(this, init);
@@ -11,6 +14,7 @@ class MAppStoreProvider extends MTableQueries {
11
14
  return errorLogger;
12
15
  }
13
16
  }
17
+ exports.MAppStoreProvider = MAppStoreProvider;
14
18
  class MAppStoreProviderGetByIdPayload {
15
19
  constructor(init) {
16
20
  Object.assign(this, init);
@@ -23,6 +27,7 @@ class MAppStoreProviderGetByIdPayload {
23
27
  return errorLogger;
24
28
  }
25
29
  }
30
+ exports.MAppStoreProviderGetByIdPayload = MAppStoreProviderGetByIdPayload;
26
31
  class MAppStoreProviderInsertUpdatePayload {
27
32
  constructor(init) {
28
33
  Object.assign(this, init);
@@ -32,5 +37,4 @@ class MAppStoreProviderInsertUpdatePayload {
32
37
  return errorLogger;
33
38
  }
34
39
  }
35
- /* RESPONSE TYPES END */
36
- export { MAppStoreProvider, MAppStoreProviderGetByIdPayload, MAppStoreProviderInsertUpdatePayload };
40
+ exports.MAppStoreProviderInsertUpdatePayload = MAppStoreProviderInsertUpdatePayload;
@@ -0,0 +1,63 @@
1
+ import { MTableQueries, MRequestMiddelware } from "../../common-types/common";
2
+ import { IAppUserUpdateStatusMst } from "../../schema/app/app_user_update_status_mst";
3
+ import { controllerResponse } from "../../utilities";
4
+ type IAppUserUpdateStatusErrorLogger = {
5
+ [key in keyof MAppUserUpdateStatus]: string;
6
+ };
7
+ type IAppUserUpdateStatusGetByIdErrorLogger = {
8
+ [key in keyof MAppUserUpdateStatusGetByIdPayload]: string;
9
+ };
10
+ type IAppUserUpdateStatusInsertUpdateErrorLogger = {
11
+ [key in keyof MAppUserUpdateStatusInsertUpdatePayload]: string;
12
+ };
13
+ declare class MAppUserUpdateStatus extends MTableQueries {
14
+ appust_id?: string;
15
+ appust_reg_id_appreg?: string;
16
+ appust_user_id_auth?: string;
17
+ appust_device_id?: string;
18
+ appust_platform_id_sygms?: string;
19
+ appust_update_status_id_sygms?: string;
20
+ query?: string;
21
+ constructor(init: MAppUserUpdateStatus);
22
+ Validate?(): Partial<IAppUserUpdateStatusErrorLogger>;
23
+ }
24
+ declare class MAppUserUpdateStatusGetByIdPayload implements MRequestMiddelware {
25
+ appust_id?: string;
26
+ _id?: string;
27
+ constructor(init: MAppUserUpdateStatusGetByIdPayload);
28
+ Validate?(): Partial<IAppUserUpdateStatusGetByIdErrorLogger>;
29
+ }
30
+ declare class MAppUserUpdateStatusInsertUpdatePayload implements IAppUserUpdateStatusMst, MRequestMiddelware {
31
+ _id?: string;
32
+ appust_reg_id_appreg?: string;
33
+ appust_user_id_auth?: string;
34
+ appust_device_id?: string;
35
+ appust_current_version?: string;
36
+ appust_current_version_code?: number;
37
+ appust_platform_id_sygms?: string;
38
+ appust_last_update_check?: Date;
39
+ appust_last_update_attempt?: Date;
40
+ appust_last_update_success?: Date;
41
+ appust_last_update_error?: string;
42
+ appust_update_status_id_sygms?: string;
43
+ appust_auto_update_enabled?: boolean;
44
+ appust_device_info?: Record<string, unknown>;
45
+ appust_created_at?: Date;
46
+ appust_updated_at?: Date;
47
+ constructor(init: Partial<IAppUserUpdateStatusMst> & {
48
+ _id?: string;
49
+ });
50
+ Validate?(): Partial<IAppUserUpdateStatusInsertUpdateErrorLogger>;
51
+ }
52
+ interface appUserUpdateStatusControllerResponse extends controllerResponse {
53
+ data?: any[] | any | null;
54
+ total?: number;
55
+ totalDocument?: number;
56
+ }
57
+ interface appUserUpdateStatusByIdControllerResponse extends controllerResponse {
58
+ data?: any | null;
59
+ }
60
+ interface appUserUpdateStatusInsertUpdateControllerResponse extends controllerResponse {
61
+ data?: any | null;
62
+ }
63
+ export { MAppUserUpdateStatus, MAppUserUpdateStatusGetByIdPayload, MAppUserUpdateStatusInsertUpdatePayload, appUserUpdateStatusControllerResponse, appUserUpdateStatusByIdControllerResponse, appUserUpdateStatusInsertUpdateControllerResponse };
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAppUserUpdateStatusInsertUpdatePayload = exports.MAppUserUpdateStatusGetByIdPayload = exports.MAppUserUpdateStatus = void 0;
4
+ const common_1 = require("../../common-types/common");
5
+ /* INTERFACE END */
6
+ /* MODEL START */
7
+ class MAppUserUpdateStatus 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.MAppUserUpdateStatus = MAppUserUpdateStatus;
18
+ class MAppUserUpdateStatusGetByIdPayload {
19
+ constructor(init) {
20
+ Object.assign(this, init);
21
+ }
22
+ Validate() {
23
+ let errorLogger = {};
24
+ if (!this.appust_id && !this._id) {
25
+ errorLogger.appust_id = "App User Update Status ID is Required!";
26
+ }
27
+ return errorLogger;
28
+ }
29
+ }
30
+ exports.MAppUserUpdateStatusGetByIdPayload = MAppUserUpdateStatusGetByIdPayload;
31
+ class MAppUserUpdateStatusInsertUpdatePayload {
32
+ constructor(init) {
33
+ Object.assign(this, init);
34
+ }
35
+ Validate() {
36
+ let errorLogger = {};
37
+ return errorLogger;
38
+ }
39
+ }
40
+ exports.MAppUserUpdateStatusInsertUpdatePayload = MAppUserUpdateStatusInsertUpdatePayload;
@@ -1,7 +1,10 @@
1
- import { MTableQueries } from "../../common-types/common";
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAppVersionInsertUpdatePayload = exports.MAppVersionGetByIdPayload = exports.MAppVersion = void 0;
4
+ const common_1 = require("../../common-types/common");
2
5
  /* INTERFACE END */
3
6
  /* MODEL START */
4
- class MAppVersion extends MTableQueries {
7
+ class MAppVersion extends common_1.MTableQueries {
5
8
  constructor(init) {
6
9
  super(init);
7
10
  Object.assign(this, init);
@@ -11,6 +14,7 @@ class MAppVersion extends MTableQueries {
11
14
  return errorLogger;
12
15
  }
13
16
  }
17
+ exports.MAppVersion = MAppVersion;
14
18
  class MAppVersionGetByIdPayload {
15
19
  constructor(init) {
16
20
  Object.assign(this, init);
@@ -23,6 +27,7 @@ class MAppVersionGetByIdPayload {
23
27
  return errorLogger;
24
28
  }
25
29
  }
30
+ exports.MAppVersionGetByIdPayload = MAppVersionGetByIdPayload;
26
31
  class MAppVersionInsertUpdatePayload {
27
32
  constructor(init) {
28
33
  Object.assign(this, init);
@@ -32,5 +37,4 @@ class MAppVersionInsertUpdatePayload {
32
37
  return errorLogger;
33
38
  }
34
39
  }
35
- /* RESPONSE TYPES END */
36
- export { MAppVersion, MAppVersionGetByIdPayload, MAppVersionInsertUpdatePayload };
40
+ exports.MAppVersionInsertUpdatePayload = MAppVersionInsertUpdatePayload;
@@ -7,3 +7,6 @@ export * from './app-store-provider.model';
7
7
  export * from './app-deployment.model';
8
8
  export * from './app-build-config.model';
9
9
  export * from './app-changelog.model';
10
+ export * from './app-user-update-status.model';
11
+ export * from './app-statistics.model';
12
+ export * from './app-rollout-config.model';
@@ -1,9 +1,28 @@
1
- export * from './app-registration.model';
2
- export * from './app-registration-start.model';
3
- export * from './app-platform-link.model';
4
- export * from './app-version.model';
5
- export * from './app-publish.model';
6
- export * from './app-store-provider.model';
7
- export * from './app-deployment.model';
8
- export * from './app-build-config.model';
9
- export * from './app-changelog.model';
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("./app-registration.model"), exports);
18
+ __exportStar(require("./app-registration-start.model"), exports);
19
+ __exportStar(require("./app-platform-link.model"), exports);
20
+ __exportStar(require("./app-version.model"), exports);
21
+ __exportStar(require("./app-publish.model"), exports);
22
+ __exportStar(require("./app-store-provider.model"), exports);
23
+ __exportStar(require("./app-deployment.model"), exports);
24
+ __exportStar(require("./app-build-config.model"), exports);
25
+ __exportStar(require("./app-changelog.model"), exports);
26
+ __exportStar(require("./app-user-update-status.model"), exports);
27
+ __exportStar(require("./app-statistics.model"), exports);
28
+ __exportStar(require("./app-rollout-config.model"), exports);
@@ -1,12 +1,15 @@
1
- import { MTableQueries } from "../../common-types";
2
- import { AuthUserMst, CoreEntityMappingBase } from "../../schema";
3
- import { CoreUserContactAddressesBase } from "../../schema/core/core_user_contact_addresses";
4
- import { CoreUserDocumentsBase } from "../../schema/core/core_user_documents";
5
- import { CoreUserFamilyDetailsBase } from "../../schema/core/core_user_family_details";
6
- import { CoreUserRoleExceptionsBase } from "../../schema/core/core_user_role_exceptions";
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CoreUserRoleExceptionsMapping = exports.AuthUserCoreUserDocuments = exports.AuthUserCoreUserFamilyDetails = exports.AuthUserCoreUserContactAddresses = exports.AuthUserCoreEntityMapping = exports.AuthUserMstGetByIdData = exports.AuthUserMstGetByIdPayload = exports.AuthUserMstCreatePayload = exports.AuthUserMstListPayload = void 0;
4
+ const common_types_1 = require("../../common-types");
5
+ const schema_1 = require("../../schema");
6
+ const core_user_contact_addresses_1 = require("../../schema/core/core_user_contact_addresses");
7
+ const core_user_documents_1 = require("../../schema/core/core_user_documents");
8
+ const core_user_family_details_1 = require("../../schema/core/core_user_family_details");
9
+ const core_user_role_exceptions_1 = require("../../schema/core/core_user_role_exceptions");
7
10
  /* INTERFACE END */
8
11
  /* MODEL START */
9
- class AuthUserMstListPayload extends MTableQueries {
12
+ class AuthUserMstListPayload extends common_types_1.MTableQueries {
10
13
  constructor(init) {
11
14
  super(init);
12
15
  Object.assign(this, init);
@@ -20,9 +23,10 @@ class AuthUserMstListPayload extends MTableQueries {
20
23
  return errorLogger;
21
24
  }
22
25
  }
26
+ exports.AuthUserMstListPayload = AuthUserMstListPayload;
23
27
  class AuthUserMstCreatePayload {
24
28
  constructor(init) {
25
- this.auth_user_mst = new AuthUserMst();
29
+ this.auth_user_mst = new schema_1.AuthUserMst();
26
30
  this.core_user_contact_addresses = [];
27
31
  this.core_user_documents = [];
28
32
  this.core_user_family_details = [];
@@ -40,7 +44,7 @@ class AuthUserMstCreatePayload {
40
44
  this.core_user_role_exceptions = init.core_user_role_exceptions || [];
41
45
  // Initialize auth_user_mst if provided
42
46
  if (init.auth_user_mst) {
43
- this.auth_user_mst = Object.assign(Object.assign({}, new AuthUserMst()), init.auth_user_mst);
47
+ this.auth_user_mst = Object.assign(Object.assign({}, new schema_1.AuthUserMst()), init.auth_user_mst);
44
48
  }
45
49
  if (init.core_user_type_mapping) {
46
50
  this.core_user_type_mapping = Object.assign({}, init.core_user_type_mapping);
@@ -178,6 +182,7 @@ class AuthUserMstCreatePayload {
178
182
  return errorLogger;
179
183
  }
180
184
  }
185
+ exports.AuthUserMstCreatePayload = AuthUserMstCreatePayload;
181
186
  class AuthUserMstGetByIdPayload {
182
187
  constructor(init) {
183
188
  this.user_id = '';
@@ -198,17 +203,22 @@ class AuthUserMstGetByIdPayload {
198
203
  return errorLogger;
199
204
  }
200
205
  }
206
+ exports.AuthUserMstGetByIdPayload = AuthUserMstGetByIdPayload;
201
207
  class AuthUserMstGetByIdData {
202
208
  }
203
- class CoreUserRoleExceptionsMapping extends CoreUserRoleExceptionsBase {
209
+ exports.AuthUserMstGetByIdData = AuthUserMstGetByIdData;
210
+ class CoreUserRoleExceptionsMapping extends core_user_role_exceptions_1.CoreUserRoleExceptionsBase {
204
211
  }
205
- class AuthUserCoreEntityMapping extends CoreEntityMappingBase {
212
+ exports.CoreUserRoleExceptionsMapping = CoreUserRoleExceptionsMapping;
213
+ class AuthUserCoreEntityMapping extends schema_1.CoreEntityMappingBase {
206
214
  }
207
- class AuthUserCoreUserContactAddresses extends CoreUserContactAddressesBase {
215
+ exports.AuthUserCoreEntityMapping = AuthUserCoreEntityMapping;
216
+ class AuthUserCoreUserContactAddresses extends core_user_contact_addresses_1.CoreUserContactAddressesBase {
208
217
  }
209
- class AuthUserCoreUserDocuments extends CoreUserDocumentsBase {
218
+ exports.AuthUserCoreUserContactAddresses = AuthUserCoreUserContactAddresses;
219
+ class AuthUserCoreUserDocuments extends core_user_documents_1.CoreUserDocumentsBase {
210
220
  }
211
- class AuthUserCoreUserFamilyDetails extends CoreUserFamilyDetailsBase {
221
+ exports.AuthUserCoreUserDocuments = AuthUserCoreUserDocuments;
222
+ class AuthUserCoreUserFamilyDetails extends core_user_family_details_1.CoreUserFamilyDetailsBase {
212
223
  }
213
- export { //interface
214
- AuthUserMstListPayload, AuthUserMstCreatePayload, AuthUserMstGetByIdPayload, AuthUserMstGetByIdData, AuthUserCoreEntityMapping, AuthUserCoreUserContactAddresses, AuthUserCoreUserFamilyDetails, AuthUserCoreUserDocuments, CoreUserRoleExceptionsMapping };
224
+ exports.AuthUserCoreUserFamilyDetails = AuthUserCoreUserFamilyDetails;
@@ -1,3 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MEntitySwitch = void 0;
1
4
  /* INTERFACE END */
2
5
  /* MODEL START */
3
6
  class MEntitySwitch {
@@ -12,5 +15,4 @@ class MEntitySwitch {
12
15
  return errorLogger;
13
16
  }
14
17
  }
15
- export { // interface
16
- MEntitySwitch };
18
+ exports.MEntitySwitch = MEntitySwitch;
@@ -1,3 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MForgotPassword = void 0;
1
4
  /* INTERFACE END */
2
5
  /* MODEL START */
3
6
  class MForgotPassword {
@@ -55,5 +58,4 @@ class MForgotPassword {
55
58
  return errorLogger;
56
59
  }
57
60
  }
58
- export { //interface
59
- MForgotPassword };
61
+ exports.MForgotPassword = MForgotPassword;
@@ -1,3 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MGenerateViewOnlyToken = void 0;
1
4
  /* INTERFACE END */
2
5
  /* MODEL START */
3
6
  class MGenerateViewOnlyToken {
@@ -13,4 +16,4 @@ class MGenerateViewOnlyToken {
13
16
  return errorLogger;
14
17
  }
15
18
  }
16
- export { MGenerateViewOnlyToken };
19
+ exports.MGenerateViewOnlyToken = MGenerateViewOnlyToken;
@@ -1,7 +1,23 @@
1
- export * from "./forgot-password";
2
- export * from "./login";
3
- export * from "./register";
4
- export * from "./reset-password";
5
- export * from "./auth_user_mst";
6
- export * from "./generate-view-only-token";
7
- export * from "./entity-switch";
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);
21
+ __exportStar(require("./auth_user_mst"), exports);
22
+ __exportStar(require("./generate-view-only-token"), exports);
23
+ __exportStar(require("./entity-switch"), exports);
@@ -1,3 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MReLogin = exports.MLogin = void 0;
1
4
  /* INTERFACE END */
2
5
  /* MODEL START */
3
6
  class MLogin {
@@ -49,6 +52,7 @@ class MLogin {
49
52
  return errorLogger;
50
53
  }
51
54
  }
55
+ exports.MLogin = MLogin;
52
56
  /* INTERFACE END */
53
57
  /* MODEL START */
54
58
  class MReLogin {
@@ -100,5 +104,4 @@ class MReLogin {
100
104
  return errorLogger;
101
105
  }
102
106
  }
103
- export { MLogin, // model
104
- MReLogin };
107
+ exports.MReLogin = MReLogin;
@@ -1,3 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MRegister = void 0;
1
4
  /* INTERFACE END */
2
5
  /* MODEL START */
3
6
  class MRegister {
@@ -26,7 +29,4 @@ class MRegister {
26
29
  return errorLogger;
27
30
  }
28
31
  }
29
- /* MOLDE END */
30
- export { //interface
31
- MRegister // model
32
- };
32
+ exports.MRegister = MRegister;
@@ -1,3 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MResetPassword = void 0;
1
4
  /* INTERFACE END */
2
5
  /* MODEL START */
3
6
  class MResetPassword {
@@ -15,5 +18,4 @@ class MResetPassword {
15
18
  return errorLogger;
16
19
  }
17
20
  }
18
- export { //interface
19
- MResetPassword };
21
+ exports.MResetPassword = MResetPassword;
@@ -1,2 +1,18 @@
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 });
1
17
  // Export mongoose object utilities
2
- export * from './mongoose-object';
18
+ __exportStar(require("./mongoose-object"), exports);
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,10 @@
1
- import { MTableQueries } from "../../common-types/common";
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MDepartmentToggleStatusPayload = exports.MDepartmentInsertUpdatePayload = exports.MDepartmentDeletePayload = exports.MDepartmentGetByIdPayload = exports.MDepartment = void 0;
4
+ const common_1 = require("../../common-types/common");
2
5
  /* INTERFACE END */
3
6
  /* MODEL START */
4
- class MDepartment extends MTableQueries {
7
+ class MDepartment extends common_1.MTableQueries {
5
8
  constructor(init) {
6
9
  super(init);
7
10
  Object.assign(this, init);
@@ -11,6 +14,7 @@ class MDepartment extends MTableQueries {
11
14
  return errorLogger;
12
15
  }
13
16
  }
17
+ exports.MDepartment = MDepartment;
14
18
  class MDepartmentGetByIdPayload {
15
19
  constructor(init) {
16
20
  Object.assign(this, init);
@@ -23,6 +27,7 @@ class MDepartmentGetByIdPayload {
23
27
  return errorLogger;
24
28
  }
25
29
  }
30
+ exports.MDepartmentGetByIdPayload = MDepartmentGetByIdPayload;
26
31
  class MDepartmentDeletePayload {
27
32
  constructor(init) {
28
33
  Object.assign(this, init);
@@ -35,6 +40,7 @@ class MDepartmentDeletePayload {
35
40
  return errorLogger;
36
41
  }
37
42
  }
43
+ exports.MDepartmentDeletePayload = MDepartmentDeletePayload;
38
44
  class MDepartmentToggleStatusPayload {
39
45
  constructor(init) {
40
46
  Object.assign(this, init);
@@ -47,6 +53,7 @@ class MDepartmentToggleStatusPayload {
47
53
  return errorLogger;
48
54
  }
49
55
  }
56
+ exports.MDepartmentToggleStatusPayload = MDepartmentToggleStatusPayload;
50
57
  class MDepartmentInsertUpdatePayload {
51
58
  constructor(init) {
52
59
  Object.assign(this, init);
@@ -65,4 +72,4 @@ class MDepartmentInsertUpdatePayload {
65
72
  return errorLogger;
66
73
  }
67
74
  }
68
- export { MDepartment, MDepartmentGetByIdPayload, MDepartmentDeletePayload, MDepartmentInsertUpdatePayload, MDepartmentToggleStatusPayload };
75
+ exports.MDepartmentInsertUpdatePayload = MDepartmentInsertUpdatePayload;