rez_core 3.1.165 → 3.1.167

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 (1303) hide show
  1. package/.prettierrc +3 -3
  2. package/README.md +99 -99
  3. package/docs/modules/event-driven-integration-design.md +91 -91
  4. package/docs/modules/integration.md +250 -250
  5. package/eslint.config.mjs +34 -34
  6. package/nest-cli.json +14 -14
  7. package/package.json +118 -118
  8. package/src/app.controller.ts +12 -12
  9. package/src/app.module.ts +49 -49
  10. package/src/app.service.ts +8 -8
  11. package/src/config/config.module.ts +18 -18
  12. package/src/config/database.config.ts +23 -23
  13. package/src/constant/global.constant.ts +67 -67
  14. package/src/core.module.ts +81 -81
  15. package/src/decorators/roles.decorator.ts +7 -7
  16. package/src/dtos/response.dto.ts +6 -6
  17. package/src/dtos/response.ts +5 -5
  18. package/src/index.ts +1 -1
  19. package/src/module/auth/auth.module.ts +49 -49
  20. package/src/module/auth/controller/auth.controller.ts +28 -28
  21. package/src/module/auth/guards/google-auth.guard.ts +9 -9
  22. package/src/module/auth/guards/jwt.guard.ts +22 -22
  23. package/src/module/auth/guards/role.guard.ts +68 -68
  24. package/src/module/auth/services/auth.service.ts +50 -50
  25. package/src/module/auth/services/jwt.service.ts +11 -11
  26. package/src/module/auth/strategies/google.strategy.ts +54 -54
  27. package/src/module/auth/strategies/jwt.strategy.ts +58 -58
  28. package/src/module/auth/strategies/local.strategy.ts +13 -13
  29. package/src/module/dashboard/controller/dashboard.controller.ts +36 -36
  30. package/src/module/dashboard/dashboard.module.ts +21 -21
  31. package/src/module/dashboard/entity/dashboard_page_data.entity.ts +27 -27
  32. package/src/module/dashboard/entity/widget_master.entity.ts +18 -18
  33. package/src/module/dashboard/repository/dashboard.repository.ts +42 -42
  34. package/src/module/dashboard/service/dashboard.service.ts +73 -73
  35. package/src/module/dev/dev.module.ts +12 -12
  36. package/src/module/dev/service/dev.service.ts +7 -7
  37. package/src/module/enterprise/controller/organization.controller.ts +36 -36
  38. package/src/module/enterprise/enterprise.module.ts +30 -30
  39. package/src/module/enterprise/entity/enterprise.entity.ts +37 -37
  40. package/src/module/enterprise/entity/organization-app-mapping.entity.ts +13 -13
  41. package/src/module/enterprise/entity/organization.entity.ts +92 -92
  42. package/src/module/enterprise/repository/enterprise.repository.ts +31 -31
  43. package/src/module/enterprise/repository/organization.repository.ts +26 -26
  44. package/src/module/enterprise/repository/school.repository.ts +281 -281
  45. package/src/module/enterprise/service/brand.service.ts +5 -5
  46. package/src/module/enterprise/service/enterprise.service.ts +16 -16
  47. package/src/module/enterprise/service/organization-app-mapping.service.ts +4 -4
  48. package/src/module/enterprise/service/organization.service.ts +145 -145
  49. package/src/module/filter/controller/filter.controller.ts +84 -84
  50. package/src/module/filter/dto/filter-request.dto.ts +38 -38
  51. package/src/module/filter/entity/saved-filter-detail.entity.ts +41 -41
  52. package/src/module/filter/entity/saved-filter-master.entity.ts +23 -23
  53. package/src/module/filter/filter.module.ts +31 -31
  54. package/src/module/filter/repository/saved-filter.repository.ts +168 -168
  55. package/src/module/filter/service/filter-evaluator.service.ts +86 -86
  56. package/src/module/filter/service/filter.service.ts +841 -841
  57. package/src/module/filter/service/saved-filter.service.ts +170 -170
  58. package/src/module/ics/controller/ics.controller.ts +21 -21
  59. package/src/module/ics/dto/ics.dto.ts +55 -55
  60. package/src/module/ics/ics.module.ts +13 -13
  61. package/src/module/ics/service/ics.service.ts +57 -57
  62. package/src/module/integration/controller/calender-event.controller.ts +31 -31
  63. package/src/module/integration/controller/integration.controller.ts +662 -662
  64. package/src/module/integration/controller/wrapper.controller.ts +37 -37
  65. package/src/module/integration/dto/create-config.dto.ts +526 -526
  66. package/src/module/integration/entity/integration-config.entity.ts +112 -112
  67. package/src/module/integration/entity/integration-entity-mapper.entity.ts +14 -14
  68. package/src/module/integration/entity/integration-source.entity.ts +17 -17
  69. package/src/module/integration/entity/user-integration.entity.ts +71 -71
  70. package/src/module/integration/examples/usage.example.ts +338 -338
  71. package/src/module/integration/factories/base.factory.ts +7 -7
  72. package/src/module/integration/factories/email.factory.ts +49 -49
  73. package/src/module/integration/factories/integration.factory.ts +121 -121
  74. package/src/module/integration/factories/sms.factory.ts +51 -51
  75. package/src/module/integration/factories/telephone.factory.ts +41 -41
  76. package/src/module/integration/factories/whatsapp.factory.ts +56 -56
  77. package/src/module/integration/integration.module.ts +110 -110
  78. package/src/module/integration/service/calendar-event.service.ts +118 -118
  79. package/src/module/integration/service/integration-entity-mapper.service.ts +17 -17
  80. package/src/module/integration/service/integration-queue.service.ts +229 -229
  81. package/src/module/integration/service/integration.service.ts +2572 -2572
  82. package/src/module/integration/service/oauth.service.ts +224 -224
  83. package/src/module/integration/service/wrapper.service.ts +454 -454
  84. package/src/module/integration/strategies/email/gmail-api.strategy.ts +280 -280
  85. package/src/module/integration/strategies/email/outlook-api.strategy.ts +44 -44
  86. package/src/module/integration/strategies/email/outlook.strategy.ts +64 -64
  87. package/src/module/integration/strategies/email/sendgrid-api.strategy.ts +260 -260
  88. package/src/module/integration/strategies/integration.strategy.ts +97 -97
  89. package/src/module/integration/strategies/sms/gupshup-sms.strategy.ts +146 -146
  90. package/src/module/integration/strategies/sms/msg91-sms.strategy.ts +164 -164
  91. package/src/module/integration/strategies/sms/tubelight-sms.strategy.ts +163 -163
  92. package/src/module/integration/strategies/telephone/ozonetel-voice.strategy.ts +238 -238
  93. package/src/module/integration/strategies/telephone/tubelight-voice.strategy.ts +210 -210
  94. package/src/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.ts +359 -359
  95. package/src/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.ts +372 -372
  96. package/src/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.ts +403 -403
  97. package/src/module/integration/strategies/whatsapp/whatsapp.strategy.ts +57 -57
  98. package/src/module/layout/controller/layout.controller.ts +47 -47
  99. package/src/module/layout/entity/header-items.entity.ts +28 -28
  100. package/src/module/layout/entity/header-section.entity.ts +19 -19
  101. package/src/module/layout/layout.module.ts +21 -21
  102. package/src/module/layout/repository/header-items.repository.ts +18 -18
  103. package/src/module/layout/repository/header-section.repository.ts +22 -22
  104. package/src/module/layout/service/header-section.service.ts +25 -25
  105. package/src/module/layout_preference/controller/layout_preference.controller.ts +47 -47
  106. package/src/module/layout_preference/entity/layout_preference.entity.ts +28 -28
  107. package/src/module/layout_preference/layout_preference.module.ts +18 -18
  108. package/src/module/layout_preference/repository/layout_preference.repository.ts +30 -30
  109. package/src/module/layout_preference/service/layout_preference.service.ts +172 -172
  110. package/src/module/lead/controller/lead.controller.ts +30 -30
  111. package/src/module/lead/lead.module.ts +14 -14
  112. package/src/module/lead/repository/lead.repository.ts +41 -41
  113. package/src/module/lead/service/lead.service.ts +54 -54
  114. package/src/module/listmaster/controller/list-master.controller.ts +187 -187
  115. package/src/module/listmaster/entity/list-master-items.entity.ts +41 -41
  116. package/src/module/listmaster/entity/list-master.entity.ts +32 -32
  117. package/src/module/listmaster/listmaster.module.ts +44 -44
  118. package/src/module/listmaster/repository/list-master-items.repository.ts +169 -169
  119. package/src/module/listmaster/repository/list-master.repository.ts +46 -46
  120. package/src/module/listmaster/service/list-master-engine.ts +19 -19
  121. package/src/module/listmaster/service/list-master-extension.interface.ts +4 -4
  122. package/src/module/listmaster/service/list-master-item.service.ts +292 -292
  123. package/src/module/listmaster/service/list-master-registry.ts +15 -15
  124. package/src/module/listmaster/service/list-master.service.ts +424 -420
  125. package/src/module/mapper/controller/field-mapper.controller.ts +69 -69
  126. package/src/module/mapper/controller/mapper.controller.ts +14 -14
  127. package/src/module/mapper/dto/field-mapper.dto.ts +14 -14
  128. package/src/module/mapper/entity/field-lovs.entity.ts +19 -19
  129. package/src/module/mapper/entity/field-mapper.entity.ts +53 -53
  130. package/src/module/mapper/entity/mapper.entity.ts +16 -16
  131. package/src/module/mapper/mapper.module.ts +34 -34
  132. package/src/module/mapper/repository/field-lovs.repository.ts +35 -35
  133. package/src/module/mapper/repository/field-mapper.repository.ts +42 -42
  134. package/src/module/mapper/repository/mapper.repository.ts +15 -15
  135. package/src/module/mapper/service/field-mapper.service.ts +223 -223
  136. package/src/module/mapper/service/mapper.service.ts +72 -72
  137. package/src/module/master/controller/master.controller.ts +74 -74
  138. package/src/module/master/service/master.service.ts +483 -483
  139. package/src/module/meta/controller/app-master.controller.ts +38 -38
  140. package/src/module/meta/controller/attribute-master.controller.ts +66 -66
  141. package/src/module/meta/controller/entity-dynamic.controller.ts +125 -125
  142. package/src/module/meta/controller/entity-master.controller.ts +28 -28
  143. package/src/module/meta/controller/entity-relation.controller.ts +36 -36
  144. package/src/module/meta/controller/entity.controller.ts +385 -385
  145. package/src/module/meta/controller/media.controller.ts +82 -82
  146. package/src/module/meta/controller/meta.controller.ts +96 -96
  147. package/src/module/meta/controller/view-master.controller.ts +86 -86
  148. package/src/module/meta/dto/entity-list-data.dto.ts +6 -6
  149. package/src/module/meta/dto/entity-tab.dto.ts +4 -4
  150. package/src/module/meta/dto/entity-table.dto.ts +9 -9
  151. package/src/module/meta/entity/app-master.entity.ts +34 -34
  152. package/src/module/meta/entity/attribute-master.entity.ts +87 -87
  153. package/src/module/meta/entity/base-entity.entity.ts +75 -75
  154. package/src/module/meta/entity/entity-master.entity.ts +78 -78
  155. package/src/module/meta/entity/entity-relation-data.entity.ts +29 -29
  156. package/src/module/meta/entity/entity-relation.entity.ts +23 -23
  157. package/src/module/meta/entity/entity-table-column.entity.ts +61 -61
  158. package/src/module/meta/entity/entity-table.entity.ts +50 -50
  159. package/src/module/meta/entity/media-data.entity.ts +32 -32
  160. package/src/module/meta/entity/preference.entity.ts +62 -62
  161. package/src/module/meta/entity/view-master.entity.ts +41 -41
  162. package/src/module/meta/entity.module.ts +156 -156
  163. package/src/module/meta/repository/app-master.repository.ts +20 -20
  164. package/src/module/meta/repository/attribute-master.repository.ts +110 -110
  165. package/src/module/meta/repository/entity-master.repository.ts +69 -69
  166. package/src/module/meta/repository/entity-table-column.repository.ts +39 -39
  167. package/src/module/meta/repository/entity-table.repository.ts +53 -53
  168. package/src/module/meta/repository/media-data.repository.ts +50 -50
  169. package/src/module/meta/repository/preference.repository.ts +20 -20
  170. package/src/module/meta/repository/user-app-mapping.repository.ts +28 -28
  171. package/src/module/meta/repository/view-master.repository.ts +42 -42
  172. package/src/module/meta/service/app-master.service.ts +37 -37
  173. package/src/module/meta/service/attribute-master.service.ts +117 -117
  174. package/src/module/meta/service/common.service.ts +9 -9
  175. package/src/module/meta/service/entity-dynamic.service.ts +762 -762
  176. package/src/module/meta/service/entity-list.service.ts +205 -205
  177. package/src/module/meta/service/entity-master.service.ts +164 -164
  178. package/src/module/meta/service/entity-realation-data.service.ts +9 -9
  179. package/src/module/meta/service/entity-relation.service.ts +69 -69
  180. package/src/module/meta/service/entity-service-impl.service.ts +524 -524
  181. package/src/module/meta/service/entity-table-column.service.ts +39 -39
  182. package/src/module/meta/service/entity-table.service.ts +150 -150
  183. package/src/module/meta/service/entity-validation.service.ts +185 -185
  184. package/src/module/meta/service/entity.service.ts +67 -67
  185. package/src/module/meta/service/field-group.service.ts +103 -103
  186. package/src/module/meta/service/media-data.service.ts +149 -149
  187. package/src/module/meta/service/populate-meta.service.ts +173 -173
  188. package/src/module/meta/service/preference.service.ts +16 -16
  189. package/src/module/meta/service/resolver.service.ts +214 -274
  190. package/src/module/meta/service/section-master.service.ts +104 -104
  191. package/src/module/meta/service/update-form-json.service.ts +22 -22
  192. package/src/module/meta/service/user-app-mapping.service.ts +17 -17
  193. package/src/module/meta/service/view-master.service.ts +111 -111
  194. package/src/module/module/controller/menu.controller.ts +15 -15
  195. package/src/module/module/controller/module-access.controller.ts +132 -132
  196. package/src/module/module/entity/menu.entity.ts +43 -43
  197. package/src/module/module/entity/module-access.entity.ts +25 -25
  198. package/src/module/module/entity/module-action.entity.ts +17 -17
  199. package/src/module/module/entity/module.entity.ts +52 -52
  200. package/src/module/module/module.module.ts +42 -42
  201. package/src/module/module/repository/menu.repository.ts +184 -184
  202. package/src/module/module/repository/module-access.repository.ts +331 -331
  203. package/src/module/module/service/menu.service.ts +82 -82
  204. package/src/module/module/service/module-access.service.ts +209 -209
  205. package/src/module/notification/controller/notification.controller.ts +58 -58
  206. package/src/module/notification/controller/otp.controller.ts +117 -117
  207. package/src/module/notification/entity/notification.entity.ts +23 -23
  208. package/src/module/notification/entity/otp.entity.ts +28 -28
  209. package/src/module/notification/firebase-admin.config.ts +22 -22
  210. package/src/module/notification/notification.module.ts +69 -69
  211. package/src/module/notification/repository/otp.repository.ts +27 -27
  212. package/src/module/notification/service/email.service.ts +127 -127
  213. package/src/module/notification/service/notification.service.ts +138 -138
  214. package/src/module/notification/service/otp.service.ts +125 -125
  215. package/src/module/third-party-module/entity/third-party-api-registry.entity.ts +52 -52
  216. package/src/module/third-party-module/repository/third-party-api-registry.repository.ts +20 -20
  217. package/src/module/third-party-module/service/api-registry.service.ts +13 -13
  218. package/src/module/third-party-module/third-party.module.ts +12 -12
  219. package/src/module/user/controller/login.controller.ts +197 -197
  220. package/src/module/user/controller/user.controller.ts +40 -40
  221. package/src/module/user/dto/create-user.dto.ts +62 -62
  222. package/src/module/user/dto/update-user.dto.ts +4 -4
  223. package/src/module/user/entity/role.entity.ts +33 -33
  224. package/src/module/user/entity/user-role-mapping.entity.ts +38 -38
  225. package/src/module/user/entity/user-session.entity.ts +61 -61
  226. package/src/module/user/entity/user.entity.ts +68 -68
  227. package/src/module/user/repository/role.repository.ts +96 -96
  228. package/src/module/user/repository/user-role-mapping.repository.ts +126 -126
  229. package/src/module/user/repository/user.repository.ts +50 -50
  230. package/src/module/user/repository/userSession.repository.ts +33 -33
  231. package/src/module/user/service/login.service.ts +280 -280
  232. package/src/module/user/service/role.service.ts +189 -189
  233. package/src/module/user/service/user-role-mapping.service.ts +98 -98
  234. package/src/module/user/service/user-session.service.ts +168 -168
  235. package/src/module/user/service/user.service.ts +353 -353
  236. package/src/module/user/user.module.ts +65 -65
  237. package/src/module/workflow/controller/action-category.controller.ts +54 -54
  238. package/src/module/workflow/controller/action-resource-mapping.controller.ts +23 -23
  239. package/src/module/workflow/controller/action-template-mapping.controller.ts +35 -35
  240. package/src/module/workflow/controller/action.controller.ts +95 -95
  241. package/src/module/workflow/controller/activity-log.controller.ts +55 -55
  242. package/src/module/workflow/controller/comm-template.controller.ts +34 -34
  243. package/src/module/workflow/controller/entity-modification.controller.ts +35 -35
  244. package/src/module/workflow/controller/form-master.controller.ts +43 -43
  245. package/src/module/workflow/controller/stage-group.controller.ts +48 -48
  246. package/src/module/workflow/controller/stage.controller.ts +50 -50
  247. package/src/module/workflow/controller/task.controller.ts +77 -77
  248. package/src/module/workflow/controller/workflow-list-master.controller.ts +44 -44
  249. package/src/module/workflow/controller/workflow-meta.controller.ts +80 -80
  250. package/src/module/workflow/controller/workflow.controller.ts +67 -67
  251. package/src/module/workflow/entity/action-category.entity.ts +38 -38
  252. package/src/module/workflow/entity/action-data.entity.ts +55 -55
  253. package/src/module/workflow/entity/action-resources-mapping.entity.ts +29 -29
  254. package/src/module/workflow/entity/action-template-mapping.entity.ts +17 -17
  255. package/src/module/workflow/entity/action.entity.ts +50 -50
  256. package/src/module/workflow/entity/activity-log.entity.ts +43 -43
  257. package/src/module/workflow/entity/comm-template.entity.ts +43 -43
  258. package/src/module/workflow/entity/entity-modification.entity.ts +38 -38
  259. package/src/module/workflow/entity/form.entity.ts +25 -25
  260. package/src/module/workflow/entity/stage-action-mapping.entity.ts +17 -17
  261. package/src/module/workflow/entity/stage-group.entity.ts +23 -23
  262. package/src/module/workflow/entity/stage-movement-data.entity.ts +38 -38
  263. package/src/module/workflow/entity/stage.entity.ts +20 -20
  264. package/src/module/workflow/entity/task-data.entity.ts +88 -88
  265. package/src/module/workflow/entity/template-attach-mapper.entity.ts +30 -30
  266. package/src/module/workflow/entity/workflow-data.entity.ts +11 -11
  267. package/src/module/workflow/entity/workflow-level-mapping.entity.ts +18 -18
  268. package/src/module/workflow/entity/workflow.entity.ts +20 -20
  269. package/src/module/workflow/repository/action-category.repository.ts +79 -79
  270. package/src/module/workflow/repository/action-data.repository.ts +219 -219
  271. package/src/module/workflow/repository/action.repository.ts +277 -277
  272. package/src/module/workflow/repository/activity-log.repository.ts +121 -121
  273. package/src/module/workflow/repository/comm-template.repository.ts +142 -142
  274. package/src/module/workflow/repository/form-master.repository.ts +59 -59
  275. package/src/module/workflow/repository/stage-group.repository.ts +176 -176
  276. package/src/module/workflow/repository/stage-movement.repository.ts +227 -227
  277. package/src/module/workflow/repository/stage.repository.ts +172 -172
  278. package/src/module/workflow/repository/task.repository.ts +113 -113
  279. package/src/module/workflow/repository/workflow.repository.ts +42 -42
  280. package/src/module/workflow/service/action-category.service.ts +33 -33
  281. package/src/module/workflow/service/action-data.service.ts +62 -62
  282. package/src/module/workflow/service/action-resources-mapping.service.ts +10 -10
  283. package/src/module/workflow/service/action-template-mapping.service.ts +55 -55
  284. package/src/module/workflow/service/action.service.ts +263 -263
  285. package/src/module/workflow/service/activity-log.service.ts +107 -107
  286. package/src/module/workflow/service/comm-template.service.ts +121 -121
  287. package/src/module/workflow/service/entity-modification.service.ts +67 -67
  288. package/src/module/workflow/service/form-master.service.ts +35 -35
  289. package/src/module/workflow/service/populate-workflow.service.ts +303 -303
  290. package/src/module/workflow/service/stage-action-mapping.service.ts +5 -5
  291. package/src/module/workflow/service/stage-group.service.ts +300 -300
  292. package/src/module/workflow/service/stage.service.ts +199 -199
  293. package/src/module/workflow/service/task.service.ts +504 -504
  294. package/src/module/workflow/service/workflow-list-master.service.ts +60 -60
  295. package/src/module/workflow/service/workflow-meta.service.ts +581 -581
  296. package/src/module/workflow/service/workflow.service.ts +205 -205
  297. package/src/module/workflow/workflow.module.ts +172 -172
  298. package/src/module/workflow-automation/controller/workflow-automation.controller.ts +21 -21
  299. package/src/module/workflow-automation/entity/workflow-automation-action.entity.ts +26 -26
  300. package/src/module/workflow-automation/entity/workflow-automation.entity.ts +35 -35
  301. package/src/module/workflow-automation/interface/action.decorator.ts +7 -7
  302. package/src/module/workflow-automation/interface/action.interface.ts +5 -5
  303. package/src/module/workflow-automation/service/action-registery.service.ts +35 -35
  304. package/src/module/workflow-automation/service/workflow-automation-engine.service.ts +214 -214
  305. package/src/module/workflow-automation/service/workflow-automation.service.ts +345 -345
  306. package/src/module/workflow-automation/workflow-automation.module.ts +34 -34
  307. package/src/resources/dev.properties.yaml +30 -30
  308. package/src/resources/local.properties.yaml +27 -27
  309. package/src/resources/properties.module.ts +12 -12
  310. package/src/resources/properties.yaml.ts +11 -11
  311. package/src/resources/uat.properties.yaml +15 -15
  312. package/src/utils/dto/excel-data.dto.ts +14 -14
  313. package/src/utils/dto/excelsheet-data.dto.ts +5 -5
  314. package/src/utils/service/base64util.service.ts +18 -18
  315. package/src/utils/service/clockIDGenUtil.service.ts +21 -21
  316. package/src/utils/service/codeGenerator.service.ts +22 -22
  317. package/src/utils/service/dateUtil.service.ts +17 -17
  318. package/src/utils/service/encryptUtil.service.ts +97 -97
  319. package/src/utils/service/excel-helper.service.ts +72 -72
  320. package/src/utils/service/excelUtil.service.ts +15 -15
  321. package/src/utils/service/file-util.service.ts +11 -11
  322. package/src/utils/service/json-util.service.ts +23 -23
  323. package/src/utils/service/loggingUtil.service.ts +34 -34
  324. package/src/utils/service/reflection-helper.service.ts +62 -62
  325. package/src/utils/service/wbsCodeGen.service.ts +8 -8
  326. package/src/utils/utils.module.ts +25 -25
  327. package/tsconfig.build.json +4 -4
  328. package/tsconfig.json +24 -24
  329. package/.claude/settings.local.json +0 -26
  330. package/.idea/250218_nodejs_core.iml +0 -9
  331. package/.idea/codeStyles/Project.xml +0 -59
  332. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  333. package/.idea/copilot.data.migration.agent.xml +0 -6
  334. package/.idea/copilot.data.migration.ask.xml +0 -6
  335. package/.idea/copilot.data.migration.ask2agent.xml +0 -6
  336. package/.idea/copilot.data.migration.edit.xml +0 -6
  337. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  338. package/.idea/misc.xml +0 -6
  339. package/.idea/modules.xml +0 -8
  340. package/.idea/prettier.xml +0 -6
  341. package/.idea/vcs.xml +0 -6
  342. package/dist/app.controller.d.ts +0 -6
  343. package/dist/app.controller.js +0 -34
  344. package/dist/app.controller.js.map +0 -1
  345. package/dist/app.module.d.ts +0 -2
  346. package/dist/app.module.js +0 -62
  347. package/dist/app.module.js.map +0 -1
  348. package/dist/app.service.d.ts +0 -3
  349. package/dist/app.service.js +0 -20
  350. package/dist/app.service.js.map +0 -1
  351. package/dist/config/config.module.d.ts +0 -2
  352. package/dist/config/config.module.js +0 -29
  353. package/dist/config/config.module.js.map +0 -1
  354. package/dist/config/database.config.d.ts +0 -7
  355. package/dist/config/database.config.js +0 -39
  356. package/dist/config/database.config.js.map +0 -1
  357. package/dist/constant/global.constant.d.ts +0 -50
  358. package/dist/constant/global.constant.js +0 -54
  359. package/dist/constant/global.constant.js.map +0 -1
  360. package/dist/core.module.d.ts +0 -4
  361. package/dist/core.module.js +0 -79
  362. package/dist/core.module.js.map +0 -1
  363. package/dist/decorators/roles.decorator.d.ts +0 -1
  364. package/dist/decorators/roles.decorator.js +0 -7
  365. package/dist/decorators/roles.decorator.js.map +0 -1
  366. package/dist/dtos/response.d.ts +0 -5
  367. package/dist/dtos/response.dto.d.ts +0 -5
  368. package/dist/dtos/response.dto.js +0 -3
  369. package/dist/dtos/response.dto.js.map +0 -1
  370. package/dist/dtos/response.js +0 -3
  371. package/dist/dtos/response.js.map +0 -1
  372. package/dist/index.d.ts +0 -1
  373. package/dist/index.js +0 -18
  374. package/dist/index.js.map +0 -1
  375. package/dist/main.d.ts +0 -1
  376. package/dist/main.js +0 -25
  377. package/dist/main.js.map +0 -1
  378. package/dist/module/auth/auth.module.d.ts +0 -2
  379. package/dist/module/auth/auth.module.js +0 -57
  380. package/dist/module/auth/auth.module.js.map +0 -1
  381. package/dist/module/auth/controller/auth.controller.d.ts +0 -8
  382. package/dist/module/auth/controller/auth.controller.js +0 -51
  383. package/dist/module/auth/controller/auth.controller.js.map +0 -1
  384. package/dist/module/auth/guards/google-auth.guard.d.ts +0 -6
  385. package/dist/module/auth/guards/google-auth.guard.js +0 -21
  386. package/dist/module/auth/guards/google-auth.guard.js.map +0 -1
  387. package/dist/module/auth/guards/jwt.guard.d.ts +0 -10
  388. package/dist/module/auth/guards/jwt.guard.js +0 -36
  389. package/dist/module/auth/guards/jwt.guard.js.map +0 -1
  390. package/dist/module/auth/guards/role.guard.d.ts +0 -9
  391. package/dist/module/auth/guards/role.guard.js +0 -59
  392. package/dist/module/auth/guards/role.guard.js.map +0 -1
  393. package/dist/module/auth/services/auth.service.d.ts +0 -14
  394. package/dist/module/auth/services/auth.service.js +0 -39
  395. package/dist/module/auth/services/auth.service.js.map +0 -1
  396. package/dist/module/auth/services/jwt.service.d.ts +0 -6
  397. package/dist/module/auth/services/jwt.service.js +0 -28
  398. package/dist/module/auth/services/jwt.service.js.map +0 -1
  399. package/dist/module/auth/strategies/google.strategy.d.ts +0 -10
  400. package/dist/module/auth/strategies/google.strategy.js +0 -59
  401. package/dist/module/auth/strategies/google.strategy.js.map +0 -1
  402. package/dist/module/auth/strategies/jwt.strategy.d.ts +0 -19
  403. package/dist/module/auth/strategies/jwt.strategy.js +0 -46
  404. package/dist/module/auth/strategies/jwt.strategy.js.map +0 -1
  405. package/dist/module/auth/strategies/local.strategy.d.ts +0 -7
  406. package/dist/module/auth/strategies/local.strategy.js +0 -30
  407. package/dist/module/auth/strategies/local.strategy.js.map +0 -1
  408. package/dist/module/dashboard/controller/dashboard.controller.d.ts +0 -33
  409. package/dist/module/dashboard/controller/dashboard.controller.js +0 -55
  410. package/dist/module/dashboard/controller/dashboard.controller.js.map +0 -1
  411. package/dist/module/dashboard/dashboard.module.d.ts +0 -2
  412. package/dist/module/dashboard/dashboard.module.js +0 -34
  413. package/dist/module/dashboard/dashboard.module.js.map +0 -1
  414. package/dist/module/dashboard/entity/dashboard_page_data.entity.d.ts +0 -10
  415. package/dist/module/dashboard/entity/dashboard_page_data.entity.js +0 -50
  416. package/dist/module/dashboard/entity/dashboard_page_data.entity.js.map +0 -1
  417. package/dist/module/dashboard/entity/widget_master.entity.d.ts +0 -7
  418. package/dist/module/dashboard/entity/widget_master.entity.js +0 -38
  419. package/dist/module/dashboard/entity/widget_master.entity.js.map +0 -1
  420. package/dist/module/dashboard/repository/dashboard.repository.d.ts +0 -10
  421. package/dist/module/dashboard/repository/dashboard.repository.js +0 -50
  422. package/dist/module/dashboard/repository/dashboard.repository.js.map +0 -1
  423. package/dist/module/dashboard/service/dashboard.service.d.ts +0 -35
  424. package/dist/module/dashboard/service/dashboard.service.js +0 -62
  425. package/dist/module/dashboard/service/dashboard.service.js.map +0 -1
  426. package/dist/module/dev/dev.module.d.ts +0 -2
  427. package/dist/module/dev/dev.module.js +0 -25
  428. package/dist/module/dev/dev.module.js.map +0 -1
  429. package/dist/module/dev/service/dev.service.d.ts +0 -5
  430. package/dist/module/dev/service/dev.service.js +0 -25
  431. package/dist/module/dev/service/dev.service.js.map +0 -1
  432. package/dist/module/enterprise/controller/organization.controller.d.ts +0 -14
  433. package/dist/module/enterprise/controller/organization.controller.js +0 -59
  434. package/dist/module/enterprise/controller/organization.controller.js.map +0 -1
  435. package/dist/module/enterprise/enterprise.module.d.ts +0 -2
  436. package/dist/module/enterprise/enterprise.module.js +0 -43
  437. package/dist/module/enterprise/enterprise.module.js.map +0 -1
  438. package/dist/module/enterprise/entity/enterprise.entity.d.ts +0 -13
  439. package/dist/module/enterprise/entity/enterprise.entity.js +0 -64
  440. package/dist/module/enterprise/entity/enterprise.entity.js.map +0 -1
  441. package/dist/module/enterprise/entity/organization-app-mapping.entity.d.ts +0 -5
  442. package/dist/module/enterprise/entity/organization-app-mapping.entity.js +0 -32
  443. package/dist/module/enterprise/entity/organization-app-mapping.entity.js.map +0 -1
  444. package/dist/module/enterprise/entity/organization.entity.d.ts +0 -30
  445. package/dist/module/enterprise/entity/organization.entity.js +0 -136
  446. package/dist/module/enterprise/entity/organization.entity.js.map +0 -1
  447. package/dist/module/enterprise/repository/enterprise.repository.d.ts +0 -8
  448. package/dist/module/enterprise/repository/enterprise.repository.js +0 -48
  449. package/dist/module/enterprise/repository/enterprise.repository.js.map +0 -1
  450. package/dist/module/enterprise/repository/organization.repository.d.ts +0 -8
  451. package/dist/module/enterprise/repository/organization.repository.js +0 -41
  452. package/dist/module/enterprise/repository/organization.repository.js.map +0 -1
  453. package/dist/module/enterprise/repository/school.repository.d.ts +0 -8
  454. package/dist/module/enterprise/repository/school.repository.js +0 -244
  455. package/dist/module/enterprise/repository/school.repository.js.map +0 -1
  456. package/dist/module/enterprise/service/brand.service.d.ts +0 -3
  457. package/dist/module/enterprise/service/brand.service.js +0 -18
  458. package/dist/module/enterprise/service/brand.service.js.map +0 -1
  459. package/dist/module/enterprise/service/enterprise.service.d.ts +0 -8
  460. package/dist/module/enterprise/service/enterprise.service.js +0 -31
  461. package/dist/module/enterprise/service/enterprise.service.js.map +0 -1
  462. package/dist/module/enterprise/service/organization-app-mapping.service.d.ts +0 -2
  463. package/dist/module/enterprise/service/organization-app-mapping.service.js +0 -17
  464. package/dist/module/enterprise/service/organization-app-mapping.service.js.map +0 -1
  465. package/dist/module/enterprise/service/organization.service.d.ts +0 -19
  466. package/dist/module/enterprise/service/organization.service.js +0 -121
  467. package/dist/module/enterprise/service/organization.service.js.map +0 -1
  468. package/dist/module/filter/controller/filter.controller.d.ts +0 -39
  469. package/dist/module/filter/controller/filter.controller.js +0 -91
  470. package/dist/module/filter/controller/filter.controller.js.map +0 -1
  471. package/dist/module/filter/dto/filter-request.dto.d.ts +0 -35
  472. package/dist/module/filter/dto/filter-request.dto.js +0 -3
  473. package/dist/module/filter/dto/filter-request.dto.js.map +0 -1
  474. package/dist/module/filter/entity/saved-filter-detail.entity.d.ts +0 -14
  475. package/dist/module/filter/entity/saved-filter-detail.entity.js +0 -67
  476. package/dist/module/filter/entity/saved-filter-detail.entity.js.map +0 -1
  477. package/dist/module/filter/entity/saved-filter-master.entity.d.ts +0 -8
  478. package/dist/module/filter/entity/saved-filter-master.entity.js +0 -43
  479. package/dist/module/filter/entity/saved-filter-master.entity.js.map +0 -1
  480. package/dist/module/filter/filter.module.d.ts +0 -2
  481. package/dist/module/filter/filter.module.js +0 -44
  482. package/dist/module/filter/filter.module.js.map +0 -1
  483. package/dist/module/filter/repository/saved-filter.repository.d.ts +0 -40
  484. package/dist/module/filter/repository/saved-filter.repository.js +0 -144
  485. package/dist/module/filter/repository/saved-filter.repository.js.map +0 -1
  486. package/dist/module/filter/service/filter-evaluator.service.d.ts +0 -9
  487. package/dist/module/filter/service/filter-evaluator.service.js +0 -62
  488. package/dist/module/filter/service/filter-evaluator.service.js.map +0 -1
  489. package/dist/module/filter/service/filter.service.d.ts +0 -68
  490. package/dist/module/filter/service/filter.service.js +0 -612
  491. package/dist/module/filter/service/filter.service.js.map +0 -1
  492. package/dist/module/filter/service/saved-filter.service.d.ts +0 -30
  493. package/dist/module/filter/service/saved-filter.service.js +0 -125
  494. package/dist/module/filter/service/saved-filter.service.js.map +0 -1
  495. package/dist/module/ics/controller/ics.controller.d.ts +0 -8
  496. package/dist/module/ics/controller/ics.controller.js +0 -45
  497. package/dist/module/ics/controller/ics.controller.js.map +0 -1
  498. package/dist/module/ics/dto/ics.dto.d.ts +0 -17
  499. package/dist/module/ics/dto/ics.dto.js +0 -73
  500. package/dist/module/ics/dto/ics.dto.js.map +0 -1
  501. package/dist/module/ics/ics.module.d.ts +0 -2
  502. package/dist/module/ics/ics.module.js +0 -26
  503. package/dist/module/ics/ics.module.js.map +0 -1
  504. package/dist/module/ics/service/ics.service.d.ts +0 -4
  505. package/dist/module/ics/service/ics.service.js +0 -61
  506. package/dist/module/ics/service/ics.service.js.map +0 -1
  507. package/dist/module/integration/controller/calender-event.controller.d.ts +0 -7
  508. package/dist/module/integration/controller/calender-event.controller.js +0 -51
  509. package/dist/module/integration/controller/calender-event.controller.js.map +0 -1
  510. package/dist/module/integration/controller/integration.controller.d.ts +0 -165
  511. package/dist/module/integration/controller/integration.controller.js +0 -697
  512. package/dist/module/integration/controller/integration.controller.js.map +0 -1
  513. package/dist/module/integration/controller/wrapper.controller.d.ts +0 -23
  514. package/dist/module/integration/controller/wrapper.controller.js +0 -54
  515. package/dist/module/integration/controller/wrapper.controller.js.map +0 -1
  516. package/dist/module/integration/dto/create-config.dto.d.ts +0 -217
  517. package/dist/module/integration/dto/create-config.dto.js +0 -495
  518. package/dist/module/integration/dto/create-config.dto.js.map +0 -1
  519. package/dist/module/integration/entity/integration-config.entity.d.ts +0 -54
  520. package/dist/module/integration/entity/integration-config.entity.js +0 -78
  521. package/dist/module/integration/entity/integration-config.entity.js.map +0 -1
  522. package/dist/module/integration/entity/integration-entity-mapper.entity.d.ts +0 -6
  523. package/dist/module/integration/entity/integration-entity-mapper.entity.js +0 -33
  524. package/dist/module/integration/entity/integration-entity-mapper.entity.js.map +0 -1
  525. package/dist/module/integration/entity/integration-source.entity.d.ts +0 -7
  526. package/dist/module/integration/entity/integration-source.entity.js +0 -37
  527. package/dist/module/integration/entity/integration-source.entity.js.map +0 -1
  528. package/dist/module/integration/entity/user-integration.entity.d.ts +0 -23
  529. package/dist/module/integration/entity/user-integration.entity.js +0 -70
  530. package/dist/module/integration/entity/user-integration.entity.js.map +0 -1
  531. package/dist/module/integration/examples/usage.example.d.ts +0 -16
  532. package/dist/module/integration/examples/usage.example.js +0 -217
  533. package/dist/module/integration/examples/usage.example.js.map +0 -1
  534. package/dist/module/integration/factories/base.factory.d.ts +0 -9
  535. package/dist/module/integration/factories/base.factory.js +0 -3
  536. package/dist/module/integration/factories/base.factory.js.map +0 -1
  537. package/dist/module/integration/factories/email.factory.d.ts +0 -17
  538. package/dist/module/integration/factories/email.factory.js +0 -55
  539. package/dist/module/integration/factories/email.factory.js.map +0 -1
  540. package/dist/module/integration/factories/integration.factory.d.ts +0 -33
  541. package/dist/module/integration/factories/integration.factory.js +0 -104
  542. package/dist/module/integration/factories/integration.factory.js.map +0 -1
  543. package/dist/module/integration/factories/sms.factory.d.ts +0 -17
  544. package/dist/module/integration/factories/sms.factory.js +0 -58
  545. package/dist/module/integration/factories/sms.factory.js.map +0 -1
  546. package/dist/module/integration/factories/telephone.factory.d.ts +0 -15
  547. package/dist/module/integration/factories/telephone.factory.js +0 -49
  548. package/dist/module/integration/factories/telephone.factory.js.map +0 -1
  549. package/dist/module/integration/factories/whatsapp.factory.d.ts +0 -19
  550. package/dist/module/integration/factories/whatsapp.factory.js +0 -63
  551. package/dist/module/integration/factories/whatsapp.factory.js.map +0 -1
  552. package/dist/module/integration/integration.module.d.ts +0 -2
  553. package/dist/module/integration/integration.module.js +0 -96
  554. package/dist/module/integration/integration.module.js.map +0 -1
  555. package/dist/module/integration/service/calendar-event.service.d.ts +0 -8
  556. package/dist/module/integration/service/calendar-event.service.js +0 -101
  557. package/dist/module/integration/service/calendar-event.service.js.map +0 -1
  558. package/dist/module/integration/service/integration-entity-mapper.service.d.ts +0 -7
  559. package/dist/module/integration/service/integration-entity-mapper.service.js +0 -36
  560. package/dist/module/integration/service/integration-entity-mapper.service.js.map +0 -1
  561. package/dist/module/integration/service/integration-queue.service.d.ts +0 -40
  562. package/dist/module/integration/service/integration-queue.service.js +0 -147
  563. package/dist/module/integration/service/integration-queue.service.js.map +0 -1
  564. package/dist/module/integration/service/integration.service.d.ts +0 -198
  565. package/dist/module/integration/service/integration.service.js +0 -1558
  566. package/dist/module/integration/service/integration.service.js.map +0 -1
  567. package/dist/module/integration/service/oauth.service.d.ts +0 -18
  568. package/dist/module/integration/service/oauth.service.js +0 -190
  569. package/dist/module/integration/service/oauth.service.js.map +0 -1
  570. package/dist/module/integration/service/wrapper.service.d.ts +0 -36
  571. package/dist/module/integration/service/wrapper.service.js +0 -299
  572. package/dist/module/integration/service/wrapper.service.js.map +0 -1
  573. package/dist/module/integration/strategies/email/gmail-api.strategy.d.ts +0 -13
  574. package/dist/module/integration/strategies/email/gmail-api.strategy.js +0 -195
  575. package/dist/module/integration/strategies/email/gmail-api.strategy.js.map +0 -1
  576. package/dist/module/integration/strategies/email/outlook-api.strategy.d.ts +0 -5
  577. package/dist/module/integration/strategies/email/outlook-api.strategy.js +0 -44
  578. package/dist/module/integration/strategies/email/outlook-api.strategy.js.map +0 -1
  579. package/dist/module/integration/strategies/email/outlook.strategy.d.ts +0 -5
  580. package/dist/module/integration/strategies/email/outlook.strategy.js +0 -64
  581. package/dist/module/integration/strategies/email/outlook.strategy.js.map +0 -1
  582. package/dist/module/integration/strategies/email/sendgrid-api.strategy.d.ts +0 -22
  583. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js +0 -203
  584. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js.map +0 -1
  585. package/dist/module/integration/strategies/integration.strategy.d.ts +0 -31
  586. package/dist/module/integration/strategies/integration.strategy.js +0 -40
  587. package/dist/module/integration/strategies/integration.strategy.js.map +0 -1
  588. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.d.ts +0 -9
  589. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js +0 -104
  590. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js.map +0 -1
  591. package/dist/module/integration/strategies/sms/msg91-sms.strategy.d.ts +0 -9
  592. package/dist/module/integration/strategies/sms/msg91-sms.strategy.js +0 -113
  593. package/dist/module/integration/strategies/sms/msg91-sms.strategy.js.map +0 -1
  594. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.d.ts +0 -9
  595. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js +0 -109
  596. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js.map +0 -1
  597. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.d.ts +0 -22
  598. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js +0 -170
  599. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js.map +0 -1
  600. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.d.ts +0 -24
  601. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js +0 -152
  602. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js.map +0 -1
  603. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.d.ts +0 -19
  604. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js +0 -257
  605. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js.map +0 -1
  606. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.d.ts +0 -33
  607. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js +0 -256
  608. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js.map +0 -1
  609. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.d.ts +0 -20
  610. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js +0 -264
  611. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js.map +0 -1
  612. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.d.ts +0 -5
  613. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js +0 -57
  614. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js.map +0 -1
  615. package/dist/module/layout/controller/layout.controller.d.ts +0 -11
  616. package/dist/module/layout/controller/layout.controller.js +0 -59
  617. package/dist/module/layout/controller/layout.controller.js.map +0 -1
  618. package/dist/module/layout/dto/header.dto.d.ts +0 -0
  619. package/dist/module/layout/dto/header.dto.js +0 -1
  620. package/dist/module/layout/dto/header.dto.js.map +0 -1
  621. package/dist/module/layout/entity/header-items.entity.d.ts +0 -10
  622. package/dist/module/layout/entity/header-items.entity.js +0 -52
  623. package/dist/module/layout/entity/header-items.entity.js.map +0 -1
  624. package/dist/module/layout/entity/header-section.entity.d.ts +0 -7
  625. package/dist/module/layout/entity/header-section.entity.js +0 -40
  626. package/dist/module/layout/entity/header-section.entity.js.map +0 -1
  627. package/dist/module/layout/layout.module.d.ts +0 -2
  628. package/dist/module/layout/layout.module.js +0 -34
  629. package/dist/module/layout/layout.module.js.map +0 -1
  630. package/dist/module/layout/repository/header-items.repository.d.ts +0 -7
  631. package/dist/module/layout/repository/header-items.repository.js +0 -36
  632. package/dist/module/layout/repository/header-items.repository.js.map +0 -1
  633. package/dist/module/layout/repository/header-section.repository.d.ts +0 -8
  634. package/dist/module/layout/repository/header-section.repository.js +0 -39
  635. package/dist/module/layout/repository/header-section.repository.js.map +0 -1
  636. package/dist/module/layout/service/header-section.service.d.ts +0 -8
  637. package/dist/module/layout/service/header-section.service.js +0 -37
  638. package/dist/module/layout/service/header-section.service.js.map +0 -1
  639. package/dist/module/layout_preference/controller/layout_preference.controller.d.ts +0 -13
  640. package/dist/module/layout_preference/controller/layout_preference.controller.js +0 -59
  641. package/dist/module/layout_preference/controller/layout_preference.controller.js.map +0 -1
  642. package/dist/module/layout_preference/dto/layout_preference.dto.d.ts +0 -0
  643. package/dist/module/layout_preference/dto/layout_preference.dto.js +0 -1
  644. package/dist/module/layout_preference/dto/layout_preference.dto.js.map +0 -1
  645. package/dist/module/layout_preference/entity/layout_preference.entity.d.ts +0 -9
  646. package/dist/module/layout_preference/entity/layout_preference.entity.js +0 -50
  647. package/dist/module/layout_preference/entity/layout_preference.entity.js.map +0 -1
  648. package/dist/module/layout_preference/layout_preference.module.d.ts +0 -2
  649. package/dist/module/layout_preference/layout_preference.module.js +0 -31
  650. package/dist/module/layout_preference/layout_preference.module.js.map +0 -1
  651. package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +0 -7
  652. package/dist/module/layout_preference/repository/layout_preference.repository.js +0 -42
  653. package/dist/module/layout_preference/repository/layout_preference.repository.js.map +0 -1
  654. package/dist/module/layout_preference/service/layout_preference.service.d.ts +0 -16
  655. package/dist/module/layout_preference/service/layout_preference.service.js +0 -117
  656. package/dist/module/layout_preference/service/layout_preference.service.js.map +0 -1
  657. package/dist/module/lead/controller/lead.controller.d.ts +0 -20
  658. package/dist/module/lead/controller/lead.controller.js +0 -58
  659. package/dist/module/lead/controller/lead.controller.js.map +0 -1
  660. package/dist/module/lead/lead.module.d.ts +0 -2
  661. package/dist/module/lead/lead.module.js +0 -26
  662. package/dist/module/lead/lead.module.js.map +0 -1
  663. package/dist/module/lead/repository/lead.repository.d.ts +0 -10
  664. package/dist/module/lead/repository/lead.repository.js +0 -53
  665. package/dist/module/lead/repository/lead.repository.js.map +0 -1
  666. package/dist/module/lead/service/lead.service.d.ts +0 -20
  667. package/dist/module/lead/service/lead.service.js +0 -55
  668. package/dist/module/lead/service/lead.service.js.map +0 -1
  669. package/dist/module/listmaster/controller/list-master.controller.d.ts +0 -22
  670. package/dist/module/listmaster/controller/list-master.controller.js +0 -156
  671. package/dist/module/listmaster/controller/list-master.controller.js.map +0 -1
  672. package/dist/module/listmaster/entity/list-master-items.entity.d.ts +0 -14
  673. package/dist/module/listmaster/entity/list-master-items.entity.js +0 -67
  674. package/dist/module/listmaster/entity/list-master-items.entity.js.map +0 -1
  675. package/dist/module/listmaster/entity/list-master.entity.d.ts +0 -11
  676. package/dist/module/listmaster/entity/list-master.entity.js +0 -55
  677. package/dist/module/listmaster/entity/list-master.entity.js.map +0 -1
  678. package/dist/module/listmaster/listmaster.module.d.ts +0 -2
  679. package/dist/module/listmaster/listmaster.module.js +0 -53
  680. package/dist/module/listmaster/listmaster.module.js.map +0 -1
  681. package/dist/module/listmaster/repository/list-master-items.repository.d.ts +0 -21
  682. package/dist/module/listmaster/repository/list-master-items.repository.js +0 -142
  683. package/dist/module/listmaster/repository/list-master-items.repository.js.map +0 -1
  684. package/dist/module/listmaster/repository/list-master.repository.d.ts +0 -9
  685. package/dist/module/listmaster/repository/list-master.repository.js +0 -53
  686. package/dist/module/listmaster/repository/list-master.repository.js.map +0 -1
  687. package/dist/module/listmaster/service/list-master-engine.d.ts +0 -6
  688. package/dist/module/listmaster/service/list-master-engine.js +0 -35
  689. package/dist/module/listmaster/service/list-master-engine.js.map +0 -1
  690. package/dist/module/listmaster/service/list-master-extension.interface.d.ts +0 -4
  691. package/dist/module/listmaster/service/list-master-extension.interface.js +0 -3
  692. package/dist/module/listmaster/service/list-master-extension.interface.js.map +0 -1
  693. package/dist/module/listmaster/service/list-master-item.service.d.ts +0 -19
  694. package/dist/module/listmaster/service/list-master-item.service.js +0 -151
  695. package/dist/module/listmaster/service/list-master-item.service.js.map +0 -1
  696. package/dist/module/listmaster/service/list-master-registry.d.ts +0 -6
  697. package/dist/module/listmaster/service/list-master-registry.js +0 -26
  698. package/dist/module/listmaster/service/list-master-registry.js.map +0 -1
  699. package/dist/module/listmaster/service/list-master.service.d.ts +0 -36
  700. package/dist/module/listmaster/service/list-master.service.js +0 -268
  701. package/dist/module/listmaster/service/list-master.service.js.map +0 -1
  702. package/dist/module/mapper/controller/field-mapper.controller.d.ts +0 -11
  703. package/dist/module/mapper/controller/field-mapper.controller.js +0 -94
  704. package/dist/module/mapper/controller/field-mapper.controller.js.map +0 -1
  705. package/dist/module/mapper/controller/mapper.controller.d.ts +0 -6
  706. package/dist/module/mapper/controller/mapper.controller.js +0 -40
  707. package/dist/module/mapper/controller/mapper.controller.js.map +0 -1
  708. package/dist/module/mapper/dto/field-mapper.dto.d.ts +0 -12
  709. package/dist/module/mapper/dto/field-mapper.dto.js +0 -8
  710. package/dist/module/mapper/dto/field-mapper.dto.js.map +0 -1
  711. package/dist/module/mapper/entity/field-lovs.entity.d.ts +0 -7
  712. package/dist/module/mapper/entity/field-lovs.entity.js +0 -38
  713. package/dist/module/mapper/entity/field-lovs.entity.js.map +0 -1
  714. package/dist/module/mapper/entity/field-mapper.entity.d.ts +0 -13
  715. package/dist/module/mapper/entity/field-mapper.entity.js +0 -78
  716. package/dist/module/mapper/entity/field-mapper.entity.js.map +0 -1
  717. package/dist/module/mapper/entity/mapper.entity.d.ts +0 -6
  718. package/dist/module/mapper/entity/mapper.entity.js +0 -34
  719. package/dist/module/mapper/entity/mapper.entity.js.map +0 -1
  720. package/dist/module/mapper/mapper.module.d.ts +0 -2
  721. package/dist/module/mapper/mapper.module.js +0 -47
  722. package/dist/module/mapper/mapper.module.js.map +0 -1
  723. package/dist/module/mapper/repository/field-lovs.repository.d.ts +0 -11
  724. package/dist/module/mapper/repository/field-lovs.repository.js +0 -52
  725. package/dist/module/mapper/repository/field-lovs.repository.js.map +0 -1
  726. package/dist/module/mapper/repository/field-mapper.repository.d.ts +0 -11
  727. package/dist/module/mapper/repository/field-mapper.repository.js +0 -54
  728. package/dist/module/mapper/repository/field-mapper.repository.js.map +0 -1
  729. package/dist/module/mapper/repository/mapper.repository.d.ts +0 -7
  730. package/dist/module/mapper/repository/mapper.repository.js +0 -34
  731. package/dist/module/mapper/repository/mapper.repository.js.map +0 -1
  732. package/dist/module/mapper/service/field-mapper.service.d.ts +0 -22
  733. package/dist/module/mapper/service/field-mapper.service.js +0 -177
  734. package/dist/module/mapper/service/field-mapper.service.js.map +0 -1
  735. package/dist/module/mapper/service/mapper.service.d.ts +0 -17
  736. package/dist/module/mapper/service/mapper.service.js +0 -72
  737. package/dist/module/mapper/service/mapper.service.js.map +0 -1
  738. package/dist/module/master/controller/master.controller.d.ts +0 -20
  739. package/dist/module/master/controller/master.controller.js +0 -82
  740. package/dist/module/master/controller/master.controller.js.map +0 -1
  741. package/dist/module/master/service/master.service.d.ts +0 -31
  742. package/dist/module/master/service/master.service.js +0 -364
  743. package/dist/module/master/service/master.service.js.map +0 -1
  744. package/dist/module/meta/controller/app-master.controller.d.ts +0 -9
  745. package/dist/module/meta/controller/app-master.controller.js +0 -51
  746. package/dist/module/meta/controller/app-master.controller.js.map +0 -1
  747. package/dist/module/meta/controller/attribute-master.controller.d.ts +0 -21
  748. package/dist/module/meta/controller/attribute-master.controller.js +0 -78
  749. package/dist/module/meta/controller/attribute-master.controller.js.map +0 -1
  750. package/dist/module/meta/controller/entity-dynamic.controller.d.ts +0 -21
  751. package/dist/module/meta/controller/entity-dynamic.controller.js +0 -115
  752. package/dist/module/meta/controller/entity-dynamic.controller.js.map +0 -1
  753. package/dist/module/meta/controller/entity-master.controller.d.ts +0 -8
  754. package/dist/module/meta/controller/entity-master.controller.js +0 -44
  755. package/dist/module/meta/controller/entity-master.controller.js.map +0 -1
  756. package/dist/module/meta/controller/entity-relation.controller.d.ts +0 -6
  757. package/dist/module/meta/controller/entity-relation.controller.js +0 -45
  758. package/dist/module/meta/controller/entity-relation.controller.js.map +0 -1
  759. package/dist/module/meta/controller/entity.controller.d.ts +0 -38
  760. package/dist/module/meta/controller/entity.controller.js +0 -245
  761. package/dist/module/meta/controller/entity.controller.js.map +0 -1
  762. package/dist/module/meta/controller/media.controller.d.ts +0 -17
  763. package/dist/module/meta/controller/media.controller.js +0 -80
  764. package/dist/module/meta/controller/media.controller.js.map +0 -1
  765. package/dist/module/meta/controller/meta.controller.d.ts +0 -32
  766. package/dist/module/meta/controller/meta.controller.js +0 -112
  767. package/dist/module/meta/controller/meta.controller.js.map +0 -1
  768. package/dist/module/meta/controller/view-master.controller.d.ts +0 -12
  769. package/dist/module/meta/controller/view-master.controller.js +0 -88
  770. package/dist/module/meta/controller/view-master.controller.js.map +0 -1
  771. package/dist/module/meta/dto/entity-list-data.dto.d.ts +0 -5
  772. package/dist/module/meta/dto/entity-list-data.dto.js +0 -7
  773. package/dist/module/meta/dto/entity-list-data.dto.js.map +0 -1
  774. package/dist/module/meta/dto/entity-tab.dto.d.ts +0 -4
  775. package/dist/module/meta/dto/entity-tab.dto.js +0 -7
  776. package/dist/module/meta/dto/entity-tab.dto.js.map +0 -1
  777. package/dist/module/meta/dto/entity-table.dto.d.ts +0 -11
  778. package/dist/module/meta/dto/entity-table.dto.js +0 -8
  779. package/dist/module/meta/dto/entity-table.dto.js.map +0 -1
  780. package/dist/module/meta/entity/app-master.entity.d.ts +0 -12
  781. package/dist/module/meta/entity/app-master.entity.js +0 -58
  782. package/dist/module/meta/entity/app-master.entity.js.map +0 -1
  783. package/dist/module/meta/entity/attribute-master.entity.d.ts +0 -22
  784. package/dist/module/meta/entity/attribute-master.entity.js +0 -122
  785. package/dist/module/meta/entity/attribute-master.entity.js.map +0 -1
  786. package/dist/module/meta/entity/base-entity.entity.d.ts +0 -19
  787. package/dist/module/meta/entity/base-entity.entity.js +0 -104
  788. package/dist/module/meta/entity/base-entity.entity.js.map +0 -1
  789. package/dist/module/meta/entity/entity-master.entity.d.ts +0 -18
  790. package/dist/module/meta/entity/entity-master.entity.js +0 -108
  791. package/dist/module/meta/entity/entity-master.entity.js.map +0 -1
  792. package/dist/module/meta/entity/entity-relation-data.entity.d.ts +0 -10
  793. package/dist/module/meta/entity/entity-relation-data.entity.js +0 -51
  794. package/dist/module/meta/entity/entity-relation-data.entity.js.map +0 -1
  795. package/dist/module/meta/entity/entity-relation.entity.d.ts +0 -8
  796. package/dist/module/meta/entity/entity-relation.entity.js +0 -43
  797. package/dist/module/meta/entity/entity-relation.entity.js.map +0 -1
  798. package/dist/module/meta/entity/entity-table-column.entity.d.ts +0 -19
  799. package/dist/module/meta/entity/entity-table-column.entity.js +0 -92
  800. package/dist/module/meta/entity/entity-table-column.entity.js.map +0 -1
  801. package/dist/module/meta/entity/entity-table.entity.d.ts +0 -17
  802. package/dist/module/meta/entity/entity-table.entity.js +0 -79
  803. package/dist/module/meta/entity/entity-table.entity.js.map +0 -1
  804. package/dist/module/meta/entity/media-data.entity.d.ts +0 -11
  805. package/dist/module/meta/entity/media-data.entity.js +0 -55
  806. package/dist/module/meta/entity/media-data.entity.js.map +0 -1
  807. package/dist/module/meta/entity/preference.entity.d.ts +0 -11
  808. package/dist/module/meta/entity/preference.entity.js +0 -85
  809. package/dist/module/meta/entity/preference.entity.js.map +0 -1
  810. package/dist/module/meta/entity/view-master.entity.d.ts +0 -14
  811. package/dist/module/meta/entity/view-master.entity.js +0 -67
  812. package/dist/module/meta/entity/view-master.entity.js.map +0 -1
  813. package/dist/module/meta/entity.module.d.ts +0 -2
  814. package/dist/module/meta/entity.module.js +0 -153
  815. package/dist/module/meta/entity.module.js.map +0 -1
  816. package/dist/module/meta/repository/app-master.repository.d.ts +0 -7
  817. package/dist/module/meta/repository/app-master.repository.js +0 -36
  818. package/dist/module/meta/repository/app-master.repository.js.map +0 -1
  819. package/dist/module/meta/repository/attribute-master.repository.d.ts +0 -20
  820. package/dist/module/meta/repository/attribute-master.repository.js +0 -85
  821. package/dist/module/meta/repository/attribute-master.repository.js.map +0 -1
  822. package/dist/module/meta/repository/entity-master.repository.d.ts +0 -20
  823. package/dist/module/meta/repository/entity-master.repository.js +0 -73
  824. package/dist/module/meta/repository/entity-master.repository.js.map +0 -1
  825. package/dist/module/meta/repository/entity-table-column.repository.d.ts +0 -7
  826. package/dist/module/meta/repository/entity-table-column.repository.js +0 -52
  827. package/dist/module/meta/repository/entity-table-column.repository.js.map +0 -1
  828. package/dist/module/meta/repository/entity-table.repository.d.ts +0 -9
  829. package/dist/module/meta/repository/entity-table.repository.js +0 -59
  830. package/dist/module/meta/repository/entity-table.repository.js.map +0 -1
  831. package/dist/module/meta/repository/media-data.repository.d.ts +0 -9
  832. package/dist/module/meta/repository/media-data.repository.js +0 -55
  833. package/dist/module/meta/repository/media-data.repository.js.map +0 -1
  834. package/dist/module/meta/repository/preference.repository.d.ts +0 -7
  835. package/dist/module/meta/repository/preference.repository.js +0 -36
  836. package/dist/module/meta/repository/preference.repository.js.map +0 -1
  837. package/dist/module/meta/repository/user-app-mapping.repository.d.ts +0 -0
  838. package/dist/module/meta/repository/user-app-mapping.repository.js +0 -1
  839. package/dist/module/meta/repository/user-app-mapping.repository.js.map +0 -1
  840. package/dist/module/meta/repository/view-master.repository.d.ts +0 -11
  841. package/dist/module/meta/repository/view-master.repository.js +0 -52
  842. package/dist/module/meta/repository/view-master.repository.js.map +0 -1
  843. package/dist/module/meta/service/app-master.service.d.ts +0 -8
  844. package/dist/module/meta/service/app-master.service.js +0 -45
  845. package/dist/module/meta/service/app-master.service.js.map +0 -1
  846. package/dist/module/meta/service/attribute-master.service.d.ts +0 -16
  847. package/dist/module/meta/service/attribute-master.service.js +0 -75
  848. package/dist/module/meta/service/attribute-master.service.js.map +0 -1
  849. package/dist/module/meta/service/common.service.d.ts +0 -4
  850. package/dist/module/meta/service/common.service.js +0 -25
  851. package/dist/module/meta/service/common.service.js.map +0 -1
  852. package/dist/module/meta/service/entity-dynamic.service.d.ts +0 -23
  853. package/dist/module/meta/service/entity-dynamic.service.js +0 -452
  854. package/dist/module/meta/service/entity-dynamic.service.js.map +0 -1
  855. package/dist/module/meta/service/entity-list.service.d.ts +0 -17
  856. package/dist/module/meta/service/entity-list.service.js +0 -141
  857. package/dist/module/meta/service/entity-list.service.js.map +0 -1
  858. package/dist/module/meta/service/entity-master.service.d.ts +0 -29
  859. package/dist/module/meta/service/entity-master.service.js +0 -112
  860. package/dist/module/meta/service/entity-master.service.js.map +0 -1
  861. package/dist/module/meta/service/entity-realation-data.service.d.ts +0 -4
  862. package/dist/module/meta/service/entity-realation-data.service.js +0 -25
  863. package/dist/module/meta/service/entity-realation-data.service.js.map +0 -1
  864. package/dist/module/meta/service/entity-relation.service.d.ts +0 -8
  865. package/dist/module/meta/service/entity-relation.service.js +0 -58
  866. package/dist/module/meta/service/entity-relation.service.js.map +0 -1
  867. package/dist/module/meta/service/entity-service-impl.service.d.ts +0 -43
  868. package/dist/module/meta/service/entity-service-impl.service.js +0 -278
  869. package/dist/module/meta/service/entity-service-impl.service.js.map +0 -1
  870. package/dist/module/meta/service/entity-table-column.service.d.ts +0 -7
  871. package/dist/module/meta/service/entity-table-column.service.js +0 -37
  872. package/dist/module/meta/service/entity-table-column.service.js.map +0 -1
  873. package/dist/module/meta/service/entity-table.service.d.ts +0 -17
  874. package/dist/module/meta/service/entity-table.service.js +0 -84
  875. package/dist/module/meta/service/entity-table.service.js.map +0 -1
  876. package/dist/module/meta/service/entity-validation.service.d.ts +0 -21
  877. package/dist/module/meta/service/entity-validation.service.js +0 -117
  878. package/dist/module/meta/service/entity-validation.service.js.map +0 -1
  879. package/dist/module/meta/service/entity.service.d.ts +0 -15
  880. package/dist/module/meta/service/entity.service.js +0 -3
  881. package/dist/module/meta/service/entity.service.js.map +0 -1
  882. package/dist/module/meta/service/field-group.service.d.ts +0 -26
  883. package/dist/module/meta/service/field-group.service.js +0 -76
  884. package/dist/module/meta/service/field-group.service.js.map +0 -1
  885. package/dist/module/meta/service/media-data.service.d.ts +0 -30
  886. package/dist/module/meta/service/media-data.service.js +0 -116
  887. package/dist/module/meta/service/media-data.service.js.map +0 -1
  888. package/dist/module/meta/service/populate-meta.service.d.ts +0 -11
  889. package/dist/module/meta/service/populate-meta.service.js +0 -124
  890. package/dist/module/meta/service/populate-meta.service.js.map +0 -1
  891. package/dist/module/meta/service/preference.service.d.ts +0 -7
  892. package/dist/module/meta/service/preference.service.js +0 -31
  893. package/dist/module/meta/service/preference.service.js.map +0 -1
  894. package/dist/module/meta/service/resolver.service.d.ts +0 -9
  895. package/dist/module/meta/service/resolver.service.js +0 -184
  896. package/dist/module/meta/service/resolver.service.js.map +0 -1
  897. package/dist/module/meta/service/section-master.service.d.ts +0 -26
  898. package/dist/module/meta/service/section-master.service.js +0 -77
  899. package/dist/module/meta/service/section-master.service.js.map +0 -1
  900. package/dist/module/meta/service/update-form-json.service.d.ts +0 -9
  901. package/dist/module/meta/service/update-form-json.service.js +0 -39
  902. package/dist/module/meta/service/update-form-json.service.js.map +0 -1
  903. package/dist/module/meta/service/user-app-mapping.service.d.ts +0 -0
  904. package/dist/module/meta/service/user-app-mapping.service.js +0 -1
  905. package/dist/module/meta/service/user-app-mapping.service.js.map +0 -1
  906. package/dist/module/meta/service/view-master.service.d.ts +0 -27
  907. package/dist/module/meta/service/view-master.service.js +0 -69
  908. package/dist/module/meta/service/view-master.service.js.map +0 -1
  909. package/dist/module/module/controller/menu.controller.d.ts +0 -8
  910. package/dist/module/module/controller/menu.controller.js +0 -41
  911. package/dist/module/module/controller/menu.controller.js.map +0 -1
  912. package/dist/module/module/controller/module-access.controller.d.ts +0 -35
  913. package/dist/module/module/controller/module-access.controller.js +0 -148
  914. package/dist/module/module/controller/module-access.controller.js.map +0 -1
  915. package/dist/module/module/entity/menu.entity.d.ts +0 -15
  916. package/dist/module/module/entity/menu.entity.js +0 -72
  917. package/dist/module/module/entity/menu.entity.js.map +0 -1
  918. package/dist/module/module/entity/module-access.entity.d.ts +0 -9
  919. package/dist/module/module/entity/module-access.entity.js +0 -48
  920. package/dist/module/module/entity/module-access.entity.js.map +0 -1
  921. package/dist/module/module/entity/module-action.entity.d.ts +0 -6
  922. package/dist/module/module/entity/module-action.entity.js +0 -37
  923. package/dist/module/module/entity/module-action.entity.js.map +0 -1
  924. package/dist/module/module/entity/module.entity.d.ts +0 -18
  925. package/dist/module/module/entity/module.entity.js +0 -84
  926. package/dist/module/module/entity/module.entity.js.map +0 -1
  927. package/dist/module/module/module.module.d.ts +0 -2
  928. package/dist/module/module/module.module.js +0 -55
  929. package/dist/module/module/module.module.js.map +0 -1
  930. package/dist/module/module/repository/menu.repository.d.ts +0 -11
  931. package/dist/module/module/repository/menu.repository.js +0 -152
  932. package/dist/module/module/repository/menu.repository.js.map +0 -1
  933. package/dist/module/module/repository/module-access.repository.d.ts +0 -51
  934. package/dist/module/module/repository/module-access.repository.js +0 -275
  935. package/dist/module/module/repository/module-access.repository.js.map +0 -1
  936. package/dist/module/module/service/menu.service.d.ts +0 -12
  937. package/dist/module/module/service/menu.service.js +0 -59
  938. package/dist/module/module/service/menu.service.js.map +0 -1
  939. package/dist/module/module/service/module-access.service.d.ts +0 -60
  940. package/dist/module/module/service/module-access.service.js +0 -119
  941. package/dist/module/module/service/module-access.service.js.map +0 -1
  942. package/dist/module/notification/controller/notification.controller.d.ts +0 -23
  943. package/dist/module/notification/controller/notification.controller.js +0 -74
  944. package/dist/module/notification/controller/notification.controller.js.map +0 -1
  945. package/dist/module/notification/controller/otp.controller.d.ts +0 -56
  946. package/dist/module/notification/controller/otp.controller.js +0 -103
  947. package/dist/module/notification/controller/otp.controller.js.map +0 -1
  948. package/dist/module/notification/entity/notification.entity.d.ts +0 -9
  949. package/dist/module/notification/entity/notification.entity.js +0 -45
  950. package/dist/module/notification/entity/notification.entity.js.map +0 -1
  951. package/dist/module/notification/entity/otp.entity.d.ts +0 -10
  952. package/dist/module/notification/entity/otp.entity.js +0 -52
  953. package/dist/module/notification/entity/otp.entity.js.map +0 -1
  954. package/dist/module/notification/firebase-admin.config.d.ts +0 -7
  955. package/dist/module/notification/firebase-admin.config.js +0 -24
  956. package/dist/module/notification/firebase-admin.config.js.map +0 -1
  957. package/dist/module/notification/notification.module.d.ts +0 -2
  958. package/dist/module/notification/notification.module.js +0 -82
  959. package/dist/module/notification/notification.module.js.map +0 -1
  960. package/dist/module/notification/repository/otp.repository.d.ts +0 -9
  961. package/dist/module/notification/repository/otp.repository.js +0 -44
  962. package/dist/module/notification/repository/otp.repository.js.map +0 -1
  963. package/dist/module/notification/service/email.service.d.ts +0 -14
  964. package/dist/module/notification/service/email.service.js +0 -110
  965. package/dist/module/notification/service/email.service.js.map +0 -1
  966. package/dist/module/notification/service/notification.service.d.ts +0 -25
  967. package/dist/module/notification/service/notification.service.js +0 -117
  968. package/dist/module/notification/service/notification.service.js.map +0 -1
  969. package/dist/module/notification/service/otp.service.d.ts +0 -52
  970. package/dist/module/notification/service/otp.service.js +0 -105
  971. package/dist/module/notification/service/otp.service.js.map +0 -1
  972. package/dist/module/third-party-module/entity/third-party-api-registry.entity.d.ts +0 -18
  973. package/dist/module/third-party-module/entity/third-party-api-registry.entity.js +0 -84
  974. package/dist/module/third-party-module/entity/third-party-api-registry.entity.js.map +0 -1
  975. package/dist/module/third-party-module/repository/third-party-api-registry.repository.d.ts +0 -7
  976. package/dist/module/third-party-module/repository/third-party-api-registry.repository.js +0 -38
  977. package/dist/module/third-party-module/repository/third-party-api-registry.repository.js.map +0 -1
  978. package/dist/module/third-party-module/service/api-registry.service.d.ts +0 -6
  979. package/dist/module/third-party-module/service/api-registry.service.js +0 -28
  980. package/dist/module/third-party-module/service/api-registry.service.js.map +0 -1
  981. package/dist/module/third-party-module/third-party.module.d.ts +0 -2
  982. package/dist/module/third-party-module/third-party.module.js +0 -25
  983. package/dist/module/third-party-module/third-party.module.js.map +0 -1
  984. package/dist/module/user/controller/login.controller.d.ts +0 -26
  985. package/dist/module/user/controller/login.controller.js +0 -176
  986. package/dist/module/user/controller/login.controller.js.map +0 -1
  987. package/dist/module/user/controller/user.controller.d.ts +0 -9
  988. package/dist/module/user/controller/user.controller.js +0 -59
  989. package/dist/module/user/controller/user.controller.js.map +0 -1
  990. package/dist/module/user/dto/create-user.dto.d.ts +0 -17
  991. package/dist/module/user/dto/create-user.dto.js +0 -64
  992. package/dist/module/user/dto/create-user.dto.js.map +0 -1
  993. package/dist/module/user/dto/update-user.dto.d.ts +0 -5
  994. package/dist/module/user/dto/update-user.dto.js +0 -9
  995. package/dist/module/user/dto/update-user.dto.js.map +0 -1
  996. package/dist/module/user/entity/role.entity.d.ts +0 -11
  997. package/dist/module/user/entity/role.entity.js +0 -56
  998. package/dist/module/user/entity/role.entity.js.map +0 -1
  999. package/dist/module/user/entity/user-role-mapping.entity.d.ts +0 -12
  1000. package/dist/module/user/entity/user-role-mapping.entity.js +0 -63
  1001. package/dist/module/user/entity/user-role-mapping.entity.js.map +0 -1
  1002. package/dist/module/user/entity/user-session.entity.d.ts +0 -11
  1003. package/dist/module/user/entity/user-session.entity.js +0 -86
  1004. package/dist/module/user/entity/user-session.entity.js.map +0 -1
  1005. package/dist/module/user/entity/user.entity.d.ts +0 -23
  1006. package/dist/module/user/entity/user.entity.js +0 -103
  1007. package/dist/module/user/entity/user.entity.js.map +0 -1
  1008. package/dist/module/user/repository/role.repository.d.ts +0 -18
  1009. package/dist/module/user/repository/role.repository.js +0 -87
  1010. package/dist/module/user/repository/role.repository.js.map +0 -1
  1011. package/dist/module/user/repository/user-role-mapping.repository.d.ts +0 -19
  1012. package/dist/module/user/repository/user-role-mapping.repository.js +0 -110
  1013. package/dist/module/user/repository/user-role-mapping.repository.js.map +0 -1
  1014. package/dist/module/user/repository/user.repository.d.ts +0 -10
  1015. package/dist/module/user/repository/user.repository.js +0 -58
  1016. package/dist/module/user/repository/user.repository.js.map +0 -1
  1017. package/dist/module/user/repository/userSession.repository.d.ts +0 -10
  1018. package/dist/module/user/repository/userSession.repository.js +0 -45
  1019. package/dist/module/user/repository/userSession.repository.js.map +0 -1
  1020. package/dist/module/user/service/login.service.d.ts +0 -80
  1021. package/dist/module/user/service/login.service.js +0 -208
  1022. package/dist/module/user/service/login.service.js.map +0 -1
  1023. package/dist/module/user/service/role.service.d.ts +0 -23
  1024. package/dist/module/user/service/role.service.js +0 -146
  1025. package/dist/module/user/service/role.service.js.map +0 -1
  1026. package/dist/module/user/service/user-role-mapping.service.d.ts +0 -12
  1027. package/dist/module/user/service/user-role-mapping.service.js +0 -60
  1028. package/dist/module/user/service/user-role-mapping.service.js.map +0 -1
  1029. package/dist/module/user/service/user-session.service.d.ts +0 -38
  1030. package/dist/module/user/service/user-session.service.js +0 -132
  1031. package/dist/module/user/service/user-session.service.js.map +0 -1
  1032. package/dist/module/user/service/user.service.d.ts +0 -38
  1033. package/dist/module/user/service/user.service.js +0 -234
  1034. package/dist/module/user/service/user.service.js.map +0 -1
  1035. package/dist/module/user/user.module.d.ts +0 -2
  1036. package/dist/module/user/user.module.js +0 -78
  1037. package/dist/module/user/user.module.js.map +0 -1
  1038. package/dist/module/workflow/controller/action-category.controller.d.ts +0 -18
  1039. package/dist/module/workflow/controller/action-category.controller.js +0 -79
  1040. package/dist/module/workflow/controller/action-category.controller.js.map +0 -1
  1041. package/dist/module/workflow/controller/action-resource-mapping.controller.d.ts +0 -5
  1042. package/dist/module/workflow/controller/action-resource-mapping.controller.js +0 -31
  1043. package/dist/module/workflow/controller/action-resource-mapping.controller.js.map +0 -1
  1044. package/dist/module/workflow/controller/action-template-mapping.controller.d.ts +0 -12
  1045. package/dist/module/workflow/controller/action-template-mapping.controller.js +0 -44
  1046. package/dist/module/workflow/controller/action-template-mapping.controller.js.map +0 -1
  1047. package/dist/module/workflow/controller/action.controller.d.ts +0 -45
  1048. package/dist/module/workflow/controller/action.controller.js +0 -108
  1049. package/dist/module/workflow/controller/action.controller.js.map +0 -1
  1050. package/dist/module/workflow/controller/activity-log.controller.d.ts +0 -44
  1051. package/dist/module/workflow/controller/activity-log.controller.js +0 -62
  1052. package/dist/module/workflow/controller/activity-log.controller.js.map +0 -1
  1053. package/dist/module/workflow/controller/comm-template.controller.d.ts +0 -13
  1054. package/dist/module/workflow/controller/comm-template.controller.js +0 -45
  1055. package/dist/module/workflow/controller/comm-template.controller.js.map +0 -1
  1056. package/dist/module/workflow/controller/entity-modification.controller.d.ts +0 -8
  1057. package/dist/module/workflow/controller/entity-modification.controller.js +0 -44
  1058. package/dist/module/workflow/controller/entity-modification.controller.js.map +0 -1
  1059. package/dist/module/workflow/controller/form-master.controller.d.ts +0 -11
  1060. package/dist/module/workflow/controller/form-master.controller.js +0 -59
  1061. package/dist/module/workflow/controller/form-master.controller.js.map +0 -1
  1062. package/dist/module/workflow/controller/stage-group.controller.d.ts +0 -19
  1063. package/dist/module/workflow/controller/stage-group.controller.js +0 -56
  1064. package/dist/module/workflow/controller/stage-group.controller.js.map +0 -1
  1065. package/dist/module/workflow/controller/stage.controller.d.ts +0 -16
  1066. package/dist/module/workflow/controller/stage.controller.js +0 -57
  1067. package/dist/module/workflow/controller/stage.controller.js.map +0 -1
  1068. package/dist/module/workflow/controller/task.controller.d.ts +0 -32
  1069. package/dist/module/workflow/controller/task.controller.js +0 -72
  1070. package/dist/module/workflow/controller/task.controller.js.map +0 -1
  1071. package/dist/module/workflow/controller/workflow-list-master.controller.d.ts +0 -14
  1072. package/dist/module/workflow/controller/workflow-list-master.controller.js +0 -67
  1073. package/dist/module/workflow/controller/workflow-list-master.controller.js.map +0 -1
  1074. package/dist/module/workflow/controller/workflow-meta.controller.d.ts +0 -15
  1075. package/dist/module/workflow/controller/workflow-meta.controller.js +0 -72
  1076. package/dist/module/workflow/controller/workflow-meta.controller.js.map +0 -1
  1077. package/dist/module/workflow/controller/workflow.controller.d.ts +0 -31
  1078. package/dist/module/workflow/controller/workflow.controller.js +0 -83
  1079. package/dist/module/workflow/controller/workflow.controller.js.map +0 -1
  1080. package/dist/module/workflow/entity/action-category.entity.d.ts +0 -13
  1081. package/dist/module/workflow/entity/action-category.entity.js +0 -63
  1082. package/dist/module/workflow/entity/action-category.entity.js.map +0 -1
  1083. package/dist/module/workflow/entity/action-data.entity.d.ts +0 -19
  1084. package/dist/module/workflow/entity/action-data.entity.js +0 -86
  1085. package/dist/module/workflow/entity/action-data.entity.js.map +0 -1
  1086. package/dist/module/workflow/entity/action-resources-mapping.entity.d.ts +0 -9
  1087. package/dist/module/workflow/entity/action-resources-mapping.entity.js +0 -47
  1088. package/dist/module/workflow/entity/action-resources-mapping.entity.js.map +0 -1
  1089. package/dist/module/workflow/entity/action-template-mapping.entity.d.ts +0 -6
  1090. package/dist/module/workflow/entity/action-template-mapping.entity.js +0 -35
  1091. package/dist/module/workflow/entity/action-template-mapping.entity.js.map +0 -1
  1092. package/dist/module/workflow/entity/action.entity.d.ts +0 -17
  1093. package/dist/module/workflow/entity/action.entity.js +0 -79
  1094. package/dist/module/workflow/entity/action.entity.js.map +0 -1
  1095. package/dist/module/workflow/entity/activity-log.entity.d.ts +0 -15
  1096. package/dist/module/workflow/entity/activity-log.entity.js +0 -70
  1097. package/dist/module/workflow/entity/activity-log.entity.js.map +0 -1
  1098. package/dist/module/workflow/entity/comm-template.entity.d.ts +0 -14
  1099. package/dist/module/workflow/entity/comm-template.entity.js +0 -67
  1100. package/dist/module/workflow/entity/comm-template.entity.js.map +0 -1
  1101. package/dist/module/workflow/entity/entity-modification.entity.d.ts +0 -13
  1102. package/dist/module/workflow/entity/entity-modification.entity.js +0 -63
  1103. package/dist/module/workflow/entity/entity-modification.entity.js.map +0 -1
  1104. package/dist/module/workflow/entity/form.entity.d.ts +0 -9
  1105. package/dist/module/workflow/entity/form.entity.js +0 -46
  1106. package/dist/module/workflow/entity/form.entity.js.map +0 -1
  1107. package/dist/module/workflow/entity/stage-action-mapping.entity.d.ts +0 -6
  1108. package/dist/module/workflow/entity/stage-action-mapping.entity.js +0 -35
  1109. package/dist/module/workflow/entity/stage-action-mapping.entity.js.map +0 -1
  1110. package/dist/module/workflow/entity/stage-group.entity.d.ts +0 -8
  1111. package/dist/module/workflow/entity/stage-group.entity.js +0 -43
  1112. package/dist/module/workflow/entity/stage-group.entity.js.map +0 -1
  1113. package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +0 -13
  1114. package/dist/module/workflow/entity/stage-movement-data.entity.js +0 -63
  1115. package/dist/module/workflow/entity/stage-movement-data.entity.js.map +0 -1
  1116. package/dist/module/workflow/entity/stage.entity.d.ts +0 -7
  1117. package/dist/module/workflow/entity/stage.entity.js +0 -39
  1118. package/dist/module/workflow/entity/stage.entity.js.map +0 -1
  1119. package/dist/module/workflow/entity/task-data.entity.d.ts +0 -30
  1120. package/dist/module/workflow/entity/task-data.entity.js +0 -130
  1121. package/dist/module/workflow/entity/task-data.entity.js.map +0 -1
  1122. package/dist/module/workflow/entity/template-attach-mapper.entity.d.ts +0 -11
  1123. package/dist/module/workflow/entity/template-attach-mapper.entity.js +0 -54
  1124. package/dist/module/workflow/entity/template-attach-mapper.entity.js.map +0 -1
  1125. package/dist/module/workflow/entity/workflow-data.entity.d.ts +0 -4
  1126. package/dist/module/workflow/entity/workflow-data.entity.js +0 -27
  1127. package/dist/module/workflow/entity/workflow-data.entity.js.map +0 -1
  1128. package/dist/module/workflow/entity/workflow-level-mapping.entity.d.ts +0 -7
  1129. package/dist/module/workflow/entity/workflow-level-mapping.entity.js +0 -38
  1130. package/dist/module/workflow/entity/workflow-level-mapping.entity.js.map +0 -1
  1131. package/dist/module/workflow/entity/workflow.entity.d.ts +0 -7
  1132. package/dist/module/workflow/entity/workflow.entity.js +0 -39
  1133. package/dist/module/workflow/entity/workflow.entity.js.map +0 -1
  1134. package/dist/module/workflow/repository/action-category.repository.d.ts +0 -19
  1135. package/dist/module/workflow/repository/action-category.repository.js +0 -84
  1136. package/dist/module/workflow/repository/action-category.repository.js.map +0 -1
  1137. package/dist/module/workflow/repository/action-data.repository.d.ts +0 -18
  1138. package/dist/module/workflow/repository/action-data.repository.js +0 -172
  1139. package/dist/module/workflow/repository/action-data.repository.js.map +0 -1
  1140. package/dist/module/workflow/repository/action.repository.d.ts +0 -29
  1141. package/dist/module/workflow/repository/action.repository.js +0 -220
  1142. package/dist/module/workflow/repository/action.repository.js.map +0 -1
  1143. package/dist/module/workflow/repository/activity-log.repository.d.ts +0 -57
  1144. package/dist/module/workflow/repository/activity-log.repository.js +0 -112
  1145. package/dist/module/workflow/repository/activity-log.repository.js.map +0 -1
  1146. package/dist/module/workflow/repository/comm-template.repository.d.ts +0 -15
  1147. package/dist/module/workflow/repository/comm-template.repository.js +0 -109
  1148. package/dist/module/workflow/repository/comm-template.repository.js.map +0 -1
  1149. package/dist/module/workflow/repository/form-master.repository.d.ts +0 -8
  1150. package/dist/module/workflow/repository/form-master.repository.js +0 -38
  1151. package/dist/module/workflow/repository/form-master.repository.js.map +0 -1
  1152. package/dist/module/workflow/repository/form.repository.d.ts +0 -0
  1153. package/dist/module/workflow/repository/form.repository.js +0 -1
  1154. package/dist/module/workflow/repository/form.repository.js.map +0 -1
  1155. package/dist/module/workflow/repository/stage-group.repository.d.ts +0 -34
  1156. package/dist/module/workflow/repository/stage-group.repository.js +0 -135
  1157. package/dist/module/workflow/repository/stage-group.repository.js.map +0 -1
  1158. package/dist/module/workflow/repository/stage-movement.repository.d.ts +0 -23
  1159. package/dist/module/workflow/repository/stage-movement.repository.js +0 -150
  1160. package/dist/module/workflow/repository/stage-movement.repository.js.map +0 -1
  1161. package/dist/module/workflow/repository/stage.repository.d.ts +0 -31
  1162. package/dist/module/workflow/repository/stage.repository.js +0 -117
  1163. package/dist/module/workflow/repository/stage.repository.js.map +0 -1
  1164. package/dist/module/workflow/repository/task.repository.d.ts +0 -10
  1165. package/dist/module/workflow/repository/task.repository.js +0 -92
  1166. package/dist/module/workflow/repository/task.repository.js.map +0 -1
  1167. package/dist/module/workflow/repository/workflow.repository.d.ts +0 -10
  1168. package/dist/module/workflow/repository/workflow.repository.js +0 -49
  1169. package/dist/module/workflow/repository/workflow.repository.js.map +0 -1
  1170. package/dist/module/workflow/service/action-category.service.d.ts +0 -21
  1171. package/dist/module/workflow/service/action-category.service.js +0 -42
  1172. package/dist/module/workflow/service/action-category.service.js.map +0 -1
  1173. package/dist/module/workflow/service/action-data.service.d.ts +0 -16
  1174. package/dist/module/workflow/service/action-data.service.js +0 -40
  1175. package/dist/module/workflow/service/action-data.service.js.map +0 -1
  1176. package/dist/module/workflow/service/action-resources-mapping.service.d.ts +0 -6
  1177. package/dist/module/workflow/service/action-resources-mapping.service.js +0 -27
  1178. package/dist/module/workflow/service/action-resources-mapping.service.js.map +0 -1
  1179. package/dist/module/workflow/service/action-template-mapping.service.d.ts +0 -7
  1180. package/dist/module/workflow/service/action-template-mapping.service.js +0 -52
  1181. package/dist/module/workflow/service/action-template-mapping.service.js.map +0 -1
  1182. package/dist/module/workflow/service/action.service.d.ts +0 -35
  1183. package/dist/module/workflow/service/action.service.js +0 -163
  1184. package/dist/module/workflow/service/action.service.js.map +0 -1
  1185. package/dist/module/workflow/service/activity-log.service.d.ts +0 -44
  1186. package/dist/module/workflow/service/activity-log.service.js +0 -92
  1187. package/dist/module/workflow/service/activity-log.service.js.map +0 -1
  1188. package/dist/module/workflow/service/comm-template.service.d.ts +0 -16
  1189. package/dist/module/workflow/service/comm-template.service.js +0 -90
  1190. package/dist/module/workflow/service/comm-template.service.js.map +0 -1
  1191. package/dist/module/workflow/service/entity-modification.service.d.ts +0 -8
  1192. package/dist/module/workflow/service/entity-modification.service.js +0 -52
  1193. package/dist/module/workflow/service/entity-modification.service.js.map +0 -1
  1194. package/dist/module/workflow/service/form-master.service.d.ts +0 -14
  1195. package/dist/module/workflow/service/form-master.service.js +0 -38
  1196. package/dist/module/workflow/service/form-master.service.js.map +0 -1
  1197. package/dist/module/workflow/service/populate-workflow.service.d.ts +0 -21
  1198. package/dist/module/workflow/service/populate-workflow.service.js +0 -167
  1199. package/dist/module/workflow/service/populate-workflow.service.js.map +0 -1
  1200. package/dist/module/workflow/service/stage-action-mapping.service.d.ts +0 -3
  1201. package/dist/module/workflow/service/stage-action-mapping.service.js +0 -18
  1202. package/dist/module/workflow/service/stage-action-mapping.service.js.map +0 -1
  1203. package/dist/module/workflow/service/stage-group.service.d.ts +0 -29
  1204. package/dist/module/workflow/service/stage-group.service.js +0 -213
  1205. package/dist/module/workflow/service/stage-group.service.js.map +0 -1
  1206. package/dist/module/workflow/service/stage.service.d.ts +0 -25
  1207. package/dist/module/workflow/service/stage.service.js +0 -129
  1208. package/dist/module/workflow/service/stage.service.js.map +0 -1
  1209. package/dist/module/workflow/service/task.service.d.ts +0 -47
  1210. package/dist/module/workflow/service/task.service.js +0 -324
  1211. package/dist/module/workflow/service/task.service.js.map +0 -1
  1212. package/dist/module/workflow/service/workflow-list-master.service.d.ts +0 -9
  1213. package/dist/module/workflow/service/workflow-list-master.service.js +0 -61
  1214. package/dist/module/workflow/service/workflow-list-master.service.js.map +0 -1
  1215. package/dist/module/workflow/service/workflow-meta.service.d.ts +0 -26
  1216. package/dist/module/workflow/service/workflow-meta.service.js +0 -356
  1217. package/dist/module/workflow/service/workflow-meta.service.js.map +0 -1
  1218. package/dist/module/workflow/service/workflow.service.d.ts +0 -33
  1219. package/dist/module/workflow/service/workflow.service.js +0 -140
  1220. package/dist/module/workflow/service/workflow.service.js.map +0 -1
  1221. package/dist/module/workflow/workflow.module.d.ts +0 -2
  1222. package/dist/module/workflow/workflow.module.js +0 -184
  1223. package/dist/module/workflow/workflow.module.js.map +0 -1
  1224. package/dist/module/workflow-automation/controller/workflow-automation.controller.d.ts +0 -5
  1225. package/dist/module/workflow-automation/controller/workflow-automation.controller.js +0 -31
  1226. package/dist/module/workflow-automation/controller/workflow-automation.controller.js.map +0 -1
  1227. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.d.ts +0 -9
  1228. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js +0 -47
  1229. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js.map +0 -1
  1230. package/dist/module/workflow-automation/entity/workflow-automation.entity.d.ts +0 -12
  1231. package/dist/module/workflow-automation/entity/workflow-automation.entity.js +0 -59
  1232. package/dist/module/workflow-automation/entity/workflow-automation.entity.js.map +0 -1
  1233. package/dist/module/workflow-automation/interface/action.decorator.d.ts +0 -2
  1234. package/dist/module/workflow-automation/interface/action.decorator.js +0 -8
  1235. package/dist/module/workflow-automation/interface/action.decorator.js.map +0 -1
  1236. package/dist/module/workflow-automation/interface/action.interface.d.ts +0 -4
  1237. package/dist/module/workflow-automation/interface/action.interface.js +0 -3
  1238. package/dist/module/workflow-automation/interface/action.interface.js.map +0 -1
  1239. package/dist/module/workflow-automation/service/action-registery.service.d.ts +0 -11
  1240. package/dist/module/workflow-automation/service/action-registery.service.js +0 -46
  1241. package/dist/module/workflow-automation/service/action-registery.service.js.map +0 -1
  1242. package/dist/module/workflow-automation/service/workflow-automation-engine.service.d.ts +0 -14
  1243. package/dist/module/workflow-automation/service/workflow-automation-engine.service.js +0 -116
  1244. package/dist/module/workflow-automation/service/workflow-automation-engine.service.js.map +0 -1
  1245. package/dist/module/workflow-automation/service/workflow-automation.service.d.ts +0 -55
  1246. package/dist/module/workflow-automation/service/workflow-automation.service.js +0 -222
  1247. package/dist/module/workflow-automation/service/workflow-automation.service.js.map +0 -1
  1248. package/dist/module/workflow-automation/workflow-automation.module.d.ts +0 -2
  1249. package/dist/module/workflow-automation/workflow-automation.module.js +0 -47
  1250. package/dist/module/workflow-automation/workflow-automation.module.js.map +0 -1
  1251. package/dist/resources/properties.module.d.ts +0 -2
  1252. package/dist/resources/properties.module.js +0 -25
  1253. package/dist/resources/properties.module.js.map +0 -1
  1254. package/dist/resources/properties.yaml.d.ts +0 -2
  1255. package/dist/resources/properties.yaml.js +0 -10
  1256. package/dist/resources/properties.yaml.js.map +0 -1
  1257. package/dist/tsconfig.build.tsbuildinfo +0 -1
  1258. package/dist/utils/dto/excel-data.dto.d.ts +0 -7
  1259. package/dist/utils/dto/excel-data.dto.js +0 -16
  1260. package/dist/utils/dto/excel-data.dto.js.map +0 -1
  1261. package/dist/utils/dto/excelsheet-data.dto.d.ts +0 -5
  1262. package/dist/utils/dto/excelsheet-data.dto.js +0 -3
  1263. package/dist/utils/dto/excelsheet-data.dto.js.map +0 -1
  1264. package/dist/utils/service/base64util.service.d.ts +0 -4
  1265. package/dist/utils/service/base64util.service.js +0 -21
  1266. package/dist/utils/service/base64util.service.js.map +0 -1
  1267. package/dist/utils/service/clockIDGenUtil.service.d.ts +0 -8
  1268. package/dist/utils/service/clockIDGenUtil.service.js +0 -32
  1269. package/dist/utils/service/clockIDGenUtil.service.js.map +0 -1
  1270. package/dist/utils/service/codeGenerator.service.d.ts +0 -3
  1271. package/dist/utils/service/codeGenerator.service.js +0 -19
  1272. package/dist/utils/service/codeGenerator.service.js.map +0 -1
  1273. package/dist/utils/service/dateUtil.service.d.ts +0 -3
  1274. package/dist/utils/service/dateUtil.service.js +0 -28
  1275. package/dist/utils/service/dateUtil.service.js.map +0 -1
  1276. package/dist/utils/service/encryptUtil.service.d.ts +0 -9
  1277. package/dist/utils/service/encryptUtil.service.js +0 -112
  1278. package/dist/utils/service/encryptUtil.service.js.map +0 -1
  1279. package/dist/utils/service/excel-helper.service.d.ts +0 -9
  1280. package/dist/utils/service/excel-helper.service.js +0 -56
  1281. package/dist/utils/service/excel-helper.service.js.map +0 -1
  1282. package/dist/utils/service/excelUtil.service.d.ts +0 -3
  1283. package/dist/utils/service/excelUtil.service.js +0 -17
  1284. package/dist/utils/service/excelUtil.service.js.map +0 -1
  1285. package/dist/utils/service/file-util.service.d.ts +0 -3
  1286. package/dist/utils/service/file-util.service.js +0 -15
  1287. package/dist/utils/service/file-util.service.js.map +0 -1
  1288. package/dist/utils/service/json-util.service.d.ts +0 -3
  1289. package/dist/utils/service/json-util.service.js +0 -24
  1290. package/dist/utils/service/json-util.service.js.map +0 -1
  1291. package/dist/utils/service/loggingUtil.service.d.ts +0 -4
  1292. package/dist/utils/service/loggingUtil.service.js +0 -36
  1293. package/dist/utils/service/loggingUtil.service.js.map +0 -1
  1294. package/dist/utils/service/reflection-helper.service.d.ts +0 -10
  1295. package/dist/utils/service/reflection-helper.service.js +0 -66
  1296. package/dist/utils/service/reflection-helper.service.js.map +0 -1
  1297. package/dist/utils/service/wbsCodeGen.service.d.ts +0 -3
  1298. package/dist/utils/service/wbsCodeGen.service.js +0 -20
  1299. package/dist/utils/service/wbsCodeGen.service.js.map +0 -1
  1300. package/dist/utils/utils.module.d.ts +0 -2
  1301. package/dist/utils/utils.module.js +0 -38
  1302. package/dist/utils/utils.module.js.map +0 -1
  1303. package/server.log +0 -850
@@ -1,75 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AttributeMasterService = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const attribute_master_repository_1 = require("../repository/attribute-master.repository");
15
- let AttributeMasterService = class AttributeMasterService {
16
- constructor(attributeMasterRepository) {
17
- this.attributeMasterRepository = attributeMasterRepository;
18
- }
19
- async findAttributesByMappedEntityType(entity_type, loggedInUser) {
20
- return this.attributeMasterRepository.findAttributesByMappedEntityType(entity_type, loggedInUser);
21
- }
22
- async createAttribute(attributeData, loggedInUser) {
23
- attributeData.organization_id = loggedInUser.organization_id;
24
- attributeData.level_type = loggedInUser.level_type;
25
- attributeData.level_id = loggedInUser.level_id;
26
- const createdAttr = await this.attributeMasterRepository.createAttribute(attributeData);
27
- const tableName = await this.attributeMasterRepository.getTableNameByEntityType(attributeData.mapped_entity_type, loggedInUser);
28
- if (!tableName) {
29
- throw new Error(`No table found for entity type ${attributeData.mapped_entity_type}`);
30
- }
31
- let columnType;
32
- switch (attributeData.element_type) {
33
- case 'text':
34
- columnType = 'VARCHAR(255)';
35
- break;
36
- case 'number':
37
- columnType = 'INT';
38
- break;
39
- case 'date':
40
- columnType = 'DATE';
41
- break;
42
- case 'boolean':
43
- columnType = 'TINYINT(1)';
44
- break;
45
- default:
46
- columnType = 'VARCHAR(255)';
47
- }
48
- const columnExists = await this.attributeMasterRepository.checkIfColumnExists(tableName, attributeData.attribute_key);
49
- if (!columnExists) {
50
- await this.attributeMasterRepository.addColumnToTable(tableName, attributeData.attribute_key, columnType);
51
- }
52
- return createdAttr;
53
- }
54
- async updateAttribute(attributeData, id, loggedInUser) {
55
- attributeData.organization_id = loggedInUser.organization_id;
56
- attributeData.level_type = loggedInUser.level_type;
57
- attributeData.level_id = loggedInUser.level_id;
58
- return this.attributeMasterRepository.updateAttribute(attributeData, id);
59
- }
60
- async getAttributeById(id) {
61
- return this.attributeMasterRepository.getAttributeById(id);
62
- }
63
- async getAttributesByMappedEntityType(entityType, loggedInUser) {
64
- return this.attributeMasterRepository.findAttributesByMappedEntityType(entityType, loggedInUser);
65
- }
66
- async getAttributesDropdownList(entityType, loggedInUser) {
67
- return this.attributeMasterRepository.getAttributesDropdownList(entityType, loggedInUser);
68
- }
69
- };
70
- exports.AttributeMasterService = AttributeMasterService;
71
- exports.AttributeMasterService = AttributeMasterService = __decorate([
72
- (0, common_1.Injectable)(),
73
- __metadata("design:paramtypes", [attribute_master_repository_1.AttributeMasterRepository])
74
- ], AttributeMasterService);
75
- //# sourceMappingURL=attribute-master.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attribute-master.service.js","sourceRoot":"","sources":["../../../../src/module/meta/service/attribute-master.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2FAAsF;AAK/E,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACjC,YACmB,yBAAoD;QAApD,8BAAyB,GAAzB,yBAAyB,CAA2B;IACpE,CAAC;IAEJ,KAAK,CAAC,gCAAgC,CACpC,WAAmB,EACnB,YAAsB;QAEtB,OAAO,IAAI,CAAC,yBAAyB,CAAC,gCAAgC,CACpE,WAAW,EACX,YAAY,CACb,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,aAA8B,EAC9B,YAAsB;QAEtB,aAAa,CAAC,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC;QAC7D,aAAa,CAAC,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC;QACnD,aAAa,CAAC,QAAQ,GAAG,YAAY,CAAC,QAAQ,CAAC;QAG/C,MAAM,WAAW,GACf,MAAM,IAAI,CAAC,yBAAyB,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;QAGtE,MAAM,SAAS,GACb,MAAM,IAAI,CAAC,yBAAyB,CAAC,wBAAwB,CAC3D,aAAa,CAAC,kBAAkB,EAChC,YAAY,CACb,CAAC;QACJ,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CACb,kCAAkC,aAAa,CAAC,kBAAkB,EAAE,CACrE,CAAC;QACJ,CAAC;QAGD,IAAI,UAAkB,CAAC;QACvB,QAAQ,aAAa,CAAC,YAAY,EAAE,CAAC;YACnC,KAAK,MAAM;gBACT,UAAU,GAAG,cAAc,CAAC;gBAC5B,MAAM;YACR,KAAK,QAAQ;gBACX,UAAU,GAAG,KAAK,CAAC;gBACnB,MAAM;YACR,KAAK,MAAM;gBACT,UAAU,GAAG,MAAM,CAAC;gBACpB,MAAM;YACR,KAAK,SAAS;gBACZ,UAAU,GAAG,YAA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 +0,0 @@
1
- import { EntityServiceImpl } from './entity-service-impl.service';
2
- export declare class CommonService extends EntityServiceImpl {
3
- constructor();
4
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CommonService = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const entity_service_impl_service_1 = require("./entity-service-impl.service");
15
- let CommonService = class CommonService extends entity_service_impl_service_1.EntityServiceImpl {
16
- constructor() {
17
- super();
18
- }
19
- };
20
- exports.CommonService = CommonService;
21
- exports.CommonService = CommonService = __decorate([
22
- (0, common_1.Injectable)(),
23
- __metadata("design:paramtypes", [])
24
- ], CommonService);
25
- //# sourceMappingURL=common.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.service.js","sourceRoot":"","sources":["../../../../src/module/meta/service/common.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+EAAkE;AAG3D,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,+CAAiB;IAClD;QACE,KAAK,EAAE,CAAC;IACV,CAAC;CACF,CAAA;AAJY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;;GACA,aAAa,CAIzB"}
@@ -1,23 +0,0 @@
1
- import { DataSource } from 'typeorm';
2
- import { UserData } from 'src/module/user/entity/user.entity';
3
- import { MediaDataService } from './media-data.service';
4
- import { ResolverService } from './resolver.service';
5
- export declare class EntityDynamicService {
6
- private readonly dataSource;
7
- private readonly mediaDataService;
8
- private readonly resolverService;
9
- constructor(dataSource: DataSource, mediaDataService: MediaDataService, resolverService: ResolverService);
10
- createEntity(entityType: string, entityData: Record<string, any>, loggedInUser: any, mainID?: number): Promise<any>;
11
- createEntityWithRelation(entityType: string, data: Record<string, any>, loggedInUser: any): Promise<any>;
12
- getEntityWithRelation(entityType: string, id: number | string, loggedInUser: any): Promise<any>;
13
- formatMappedEntities(relatedEntities: any[], loggedInUser: any): Promise<any>;
14
- updateEntityWithRelations(entityType: string, id: number | string, data: Record<string, any>, loggedInUser: any): Promise<any>;
15
- updateEntity(entityType: string, id: number | string, entityData: Record<string, any>, loggedInUser: any, mainID?: number): Promise<any>;
16
- getEntity(entityType: string, id: number | string, loggedInUser: any): Promise<any>;
17
- private getTableName;
18
- private getAttributeCodes;
19
- private deleteEntity;
20
- getEntitiesDropdownList(loggedInUser: any, appcode?: string): Promise<any>;
21
- getCode(entityType: string, loggedInUser: any): Promise<string>;
22
- getResolvedEntity(id: number, entity: string, loggedInUser: UserData): Promise<any>;
23
- }
@@ -1,452 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.EntityDynamicService = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const global_constant_1 = require("../../../constant/global.constant");
15
- const typeorm_1 = require("typeorm");
16
- const media_data_service_1 = require("./media-data.service");
17
- const resolver_service_1 = require("./resolver.service");
18
- let EntityDynamicService = class EntityDynamicService {
19
- constructor(dataSource, mediaDataService, resolverService) {
20
- this.dataSource = dataSource;
21
- this.mediaDataService = mediaDataService;
22
- this.resolverService = resolverService;
23
- }
24
- async createEntity(entityType, entityData, loggedInUser, mainID) {
25
- const organizationId = loggedInUser.organization_id;
26
- const tableName = await this.getTableName(entityType, organizationId);
27
- const validAttributes = await this.getAttributeCodes(entityType, organizationId);
28
- const statusList = await this.dataSource.query(`SELECT id FROM cr_list_master_items WHERE code = ? AND organization_id = ?`, [global_constant_1.STATUS_ACTIVE, loggedInUser?.organization_id || 0]);
29
- entityData.created_date = new Date();
30
- if (loggedInUser) {
31
- entityData.created_by = loggedInUser.id;
32
- if (!entityData.organization_id)
33
- entityData.organization_id = loggedInUser.organization_id;
34
- if (!entityData.enterprise_id)
35
- entityData.enterprise_id = loggedInUser.enterprise_id;
36
- if (!entityData.level_type)
37
- entityData.level_type = loggedInUser.level_type;
38
- if (!entityData.level_id)
39
- entityData.level_id = loggedInUser.level_id;
40
- if (!entityData.status)
41
- entityData.status = statusList[0].id;
42
- if (!entityData.entity_type)
43
- entityData.entity_type = entityType;
44
- }
45
- if (!entityData.code && loggedInUser) {
46
- const result = await this.dataSource.query(`SELECT MAX(CAST(SUBSTRING(code, LENGTH(entity_type) + 1) AS UNSIGNED)) AS max_seq_no
47
- FROM ${tableName}
48
- WHERE entity_type = ?`, [entityData.entity_type]);
49
- let maxSeqNo = result?.[0]?.max_seq_no ? Number(result[0].max_seq_no) : 0;
50
- maxSeqNo += 1;
51
- entityData.code = `${entityData.entity_type}${maxSeqNo}`;
52
- }
53
- if (mainID) {
54
- entityData.parent_id = mainID;
55
- }
56
- const bypassColumn = [
57
- {
58
- attribute_key: 'created_date',
59
- db_datatype: 'datetime',
60
- element_type: 'date',
61
- },
62
- {
63
- attribute_key: 'created_by',
64
- db_datatype: 'int',
65
- element_type: 'number',
66
- },
67
- {
68
- attribute_key: 'organization_id',
69
- db_datatype: 'datetime',
70
- element_type: 'date',
71
- },
72
- {
73
- attribute_key: 'enterprise_id',
74
- db_datatype: 'int',
75
- element_type: 'number',
76
- },
77
- { attribute_key: 'level_type', db_datatype: 'int', element_type: 'text' },
78
- { attribute_key: 'level_id', db_datatype: 'int', element_type: 'number' },
79
- { attribute_key: 'status', db_datatype: 'varchar', element_type: 'text' },
80
- {
81
- attribute_key: 'entity_type',
82
- db_datatype: 'varchar',
83
- element_type: 'text',
84
- },
85
- { attribute_key: 'code', db_datatype: 'varchar', element_type: 'text' },
86
- {
87
- attribute_key: 'parent_id',
88
- db_datatype: 'int',
89
- element_type: 'number',
90
- },
91
- ];
92
- const existingAttributeKeys = validAttributes.map((attr) => attr.attribute_key);
93
- const newBypassColumns = bypassColumn.filter((bypass) => !existingAttributeKeys.includes(bypass.attribute_key));
94
- validAttributes.push(...newBypassColumns);
95
- const columns = [];
96
- const values = [];
97
- validAttributes.forEach((attr) => {
98
- columns.push(attr.attribute_key);
99
- values.push(attr.attribute_key in entityData
100
- ? entityData[attr.attribute_key]
101
- : null);
102
- });
103
- const placeholders = columns.map(() => '?').join(', ');
104
- const escapedColumns = columns.map((col) => `\`${col}\``).join(', ');
105
- const insertQuery = `INSERT INTO \`${tableName}\` (${escapedColumns}) VALUES (${placeholders})`;
106
- const result = await this.dataSource.query(insertQuery, values);
107
- return result;
108
- }
109
- async createEntityWithRelation(entityType, data, loggedInUser) {
110
- const organizationId = loggedInUser.organization_id;
111
- const getRelation = await this.dataSource.query(`SELECT * FROM cr_entity_relation WHERE organization_id = ? AND source_entity_type = ?`, [organizationId, entityType]);
112
- const { mappedEntities, ...mainData } = data;
113
- const createdEntityData = await this.createEntity(entityType, mainData, loggedInUser);
114
- const mainID = createdEntityData.insertId || createdEntityData.id;
115
- if (mappedEntities && getRelation.length > 0) {
116
- for (const relation of getRelation) {
117
- const targetEntityType = relation.target_entity_type;
118
- const relationType = relation.relation_type;
119
- const relationId = relation.relation_id;
120
- if (!mappedEntities[targetEntityType])
121
- continue;
122
- const entityDataArray = Array.isArray(mappedEntities[targetEntityType])
123
- ? mappedEntities[targetEntityType]
124
- : [mappedEntities[targetEntityType]];
125
- for (const item of entityDataArray) {
126
- const itemWithRef = {
127
- ...item,
128
- entity_type: targetEntityType,
129
- };
130
- const createdRelatedEntity = await this.createEntity(targetEntityType, itemWithRef, loggedInUser, mainID);
131
- await this.dataSource.query(`INSERT INTO cr_entity_relation_data (organization_id, source_entity_id, source_entity_type, target_entity_id, target_entity_type, relation_type) VALUES (?, ?, ?, ?, ?,?)`, [
132
- organizationId,
133
- mainID,
134
- entityType,
135
- createdRelatedEntity.insertId,
136
- targetEntityType,
137
- relationType,
138
- ]);
139
- }
140
- }
141
- }
142
- return {
143
- mainEntity: {
144
- id: mainID,
145
- entityType,
146
- data: createdEntityData,
147
- },
148
- };
149
- }
150
- async getEntityWithRelation(entityType, id, loggedInUser) {
151
- const mainEntity = await this.getEntity(entityType, id, loggedInUser);
152
- const relatedEntities = await this.dataSource.query(`SELECT * FROM cr_entity_relation_data WHERE source_entity_id = ? AND target_entity_type IN (
153
- SELECT target_entity_type FROM cr_entity_relation WHERE source_entity_type = ?)`, [id, entityType]);
154
- const response = {
155
- entity_type: entityType,
156
- ...mainEntity,
157
- };
158
- if (relatedEntities.length > 0) {
159
- response.mappedEntities = await this.formatMappedEntities(relatedEntities, loggedInUser);
160
- }
161
- return response;
162
- }
163
- async formatMappedEntities(relatedEntities, loggedInUser) {
164
- const mappedEntities = {};
165
- for (const relation of relatedEntities) {
166
- const targetEntityType = relation.target_entity_type;
167
- const targetEntityId = relation.target_entity_id;
168
- const entityData = await this.getEntity(targetEntityType, targetEntityId, loggedInUser);
169
- if (!mappedEntities[targetEntityType]) {
170
- mappedEntities[targetEntityType] = [];
171
- }
172
- mappedEntities[targetEntityType].push(entityData);
173
- }
174
- return mappedEntities;
175
- }
176
- async updateEntityWithRelations(entityType, id, data, loggedInUser) {
177
- const organizationId = loggedInUser.organization_id;
178
- const { mappedEntities, ...mainData } = data;
179
- const updatedMainEntity = await this.updateEntity(entityType, id, mainData, loggedInUser);
180
- const updatedRelations = {};
181
- if (mappedEntities) {
182
- const getRelationDefs = await this.dataSource.query(`SELECT * FROM cr_entity_relation WHERE organization_id = ? AND source_entity_type = ?`, [organizationId, entityType]);
183
- for (const [targetEntityType, rawEntityData] of Object.entries(mappedEntities)) {
184
- const relationDef = getRelationDefs.find((r) => r.target_entity_type === targetEntityType);
185
- if (!relationDef)
186
- continue;
187
- const relationType = relationDef.relation_type;
188
- const entityArray = Array.isArray(rawEntityData)
189
- ? rawEntityData
190
- : [rawEntityData];
191
- const existingRelationsForType = await this.dataSource.query(`SELECT * FROM cr_entity_relation_data WHERE source_entity_type = ? AND source_entity_id = ? AND target_entity_type = ?`, [entityType, id, targetEntityType]);
192
- for (const existingRel of existingRelationsForType) {
193
- await this.deleteEntity(existingRel.target_entity_type, existingRel.target_entity_id, loggedInUser);
194
- await this.dataSource.query(`DELETE FROM cr_entity_relation_data WHERE id = ?`, [existingRel.id]);
195
- }
196
- const updatedEntities = [];
197
- for (const item of entityArray) {
198
- let targetEntityId;
199
- let entityData;
200
- if (item.id) {
201
- await this.updateEntity(targetEntityType, item.id, item, loggedInUser, Number(id));
202
- targetEntityId = item.id;
203
- entityData = await this.getEntity(targetEntityType, targetEntityId, loggedInUser);
204
- }
205
- else {
206
- const createdEntity = await this.createEntity(targetEntityType, item, loggedInUser, Number(id));
207
- targetEntityId = createdEntity.insertId || createdEntity.id;
208
- entityData = await this.getEntity(targetEntityType, targetEntityId, loggedInUser);
209
- }
210
- await this.dataSource.query(`INSERT INTO cr_entity_relation_data
211
- (organization_id, source_entity_id, source_entity_type, target_entity_id, target_entity_type, relation_type)
212
- VALUES (?, ?, ?, ?, ?,?)`, [
213
- organizationId,
214
- id,
215
- entityType,
216
- targetEntityId,
217
- targetEntityType,
218
- relationType,
219
- ]);
220
- if (relationType === 'ONE_TO_MANY') {
221
- updatedEntities.push(entityData);
222
- }
223
- else if (relationType === 'ONE_TO_ONE' ||
224
- relationType === 'MANY_TO_ONE') {
225
- updatedEntities[0] = entityData;
226
- }
227
- }
228
- updatedRelations[targetEntityType] =
229
- relationType === 'ONE_TO_MANY' ? updatedEntities : updatedEntities[0];
230
- }
231
- }
232
- return {
233
- mainEntity: {
234
- id,
235
- entityType,
236
- data: updatedMainEntity,
237
- },
238
- relatedEntities: updatedRelations,
239
- };
240
- }
241
- async updateEntity(entityType, id, entityData, loggedInUser, mainID) {
242
- const organizationId = loggedInUser.organization_id;
243
- const tableName = await this.getTableName(entityType, organizationId);
244
- const validAttributes = await this.getAttributeCodes(entityType, organizationId);
245
- const updates = [];
246
- const values = [];
247
- entityData.modified_date = new Date();
248
- if (loggedInUser) {
249
- entityData.modified_by = loggedInUser.id;
250
- if (!entityData.organization_id && entityData.entity_type !== 'ORG')
251
- entityData.organization_id = loggedInUser.organization_id;
252
- if (!entityData.enterprise_id)
253
- entityData.enterprise_id = loggedInUser.enterprise_id;
254
- }
255
- if (!entityData.code && loggedInUser) {
256
- const result = await this.dataSource.query(`SELECT MAX(CAST(SUBSTRING(code, LENGTH(entity_type) + 1) AS UNSIGNED)) AS max_seq_no
257
- FROM ${tableName}
258
- WHERE entity_type = ?`, [entityData.entity_type]);
259
- let maxSeqNo = result?.[0]?.max_seq_no ? Number(result[0].max_seq_no) : 0;
260
- maxSeqNo += 1;
261
- entityData.code = `${entityData.entity_type}${maxSeqNo}`;
262
- }
263
- if (mainID) {
264
- entityData.parent_id = mainID;
265
- }
266
- const bypassColumn = [
267
- {
268
- attribute_key: 'created_date',
269
- db_datatype: 'datetime',
270
- element_type: 'date',
271
- },
272
- {
273
- attribute_key: 'created_by',
274
- db_datatype: 'int',
275
- element_type: 'number',
276
- },
277
- {
278
- attribute_key: 'modified_date',
279
- db_datatype: 'datetime',
280
- element_type: 'date',
281
- },
282
- {
283
- attribute_key: 'modified_by',
284
- db_datatype: 'int',
285
- element_type: 'number',
286
- },
287
- {
288
- attribute_key: 'organization_id',
289
- db_datatype: 'int',
290
- element_type: 'number',
291
- },
292
- {
293
- attribute_key: 'enterprise_id',
294
- db_datatype: 'int',
295
- element_type: 'number',
296
- },
297
- {
298
- attribute_key: 'level_type',
299
- db_datatype: 'varchar',
300
- element_type: 'text',
301
- },
302
- { attribute_key: 'level_id', db_datatype: 'int', element_type: 'number' },
303
- { attribute_key: 'status', db_datatype: 'varchar', element_type: 'text' },
304
- {
305
- attribute_key: 'entity_type',
306
- db_datatype: 'varchar',
307
- element_type: 'text',
308
- },
309
- { attribute_key: 'code', db_datatype: 'varchar', element_type: 'text' },
310
- {
311
- attribute_key: 'parent_id',
312
- db_datatype: 'int',
313
- element_type: 'number',
314
- },
315
- ];
316
- const existingAttributeKeys = validAttributes.map((attr) => attr.attribute_key);
317
- const newBypassColumns = bypassColumn.filter((bypass) => !existingAttributeKeys.includes(bypass.attribute_key));
318
- validAttributes.push(...newBypassColumns);
319
- for (const key of Object.keys(entityData)) {
320
- if (validAttributes.some((attr) => attr.attribute_key === key)) {
321
- updates.push(`\`${key}\` = ?`);
322
- values.push(entityData[key]);
323
- }
324
- }
325
- if (updates.length === 0) {
326
- throw new Error('No valid attributes to update.');
327
- }
328
- const updateQuery = `UPDATE \`${tableName}\` SET ${updates.join(', ')} WHERE id = ?`;
329
- values.push(id);
330
- const result = await this.dataSource.query(updateQuery, values);
331
- return result;
332
- }
333
- async getEntity(entityType, id, loggedInUser) {
334
- const organizationId = loggedInUser.organization_id;
335
- const tableName = await this.getTableName(entityType, organizationId);
336
- const validAttributes = await this.getAttributeCodes(entityType, organizationId);
337
- const columns = validAttributes
338
- .map((attr) => `\`${attr.attribute_key}\``)
339
- .join(', ');
340
- const selectQuery = `SELECT ${columns} FROM \`${tableName}\` WHERE id = ?`;
341
- const result = await this.dataSource.query(selectQuery, [id]);
342
- if (!result.length)
343
- return null;
344
- const row = result[0];
345
- for (const attr of validAttributes) {
346
- if (attr.db_datatype == 'boolean' &&
347
- row[attr.attribute_key] !== undefined) {
348
- row[attr.attribute_key] = row[attr.attribute_key] == 1 ? true : false;
349
- }
350
- else if (attr.element_type == 'upload' &&
351
- row[attr.attribute_key] !== undefined) {
352
- row[attr.attribute_key] =
353
- row[attr.attribute_key] != null
354
- ? await this.mediaDataService.getMediaDownloadUrl(Number(row[attr.attribute_key]), loggedInUser)
355
- : null;
356
- }
357
- }
358
- return row;
359
- }
360
- async getTableName(entityType, organizationId) {
361
- const result = await this.dataSource.query(`SELECT db_table_name FROM cr_entity_master WHERE organization_id = ? AND mapped_entity_type = ?`, [organizationId, entityType]);
362
- if (!result.length) {
363
- console.log(`Entity type '${entityType}' not found in cr_entity_master`);
364
- }
365
- return result[0].db_table_name;
366
- }
367
- async getAttributeCodes(entityType, organizationId) {
368
- const result = await this.dataSource.query(`SELECT attribute_key,
369
- MAX(db_datatype) AS db_datatype,
370
- MAX(element_type) AS element_type,
371
- MAX(is_hidden) AS is_hidden
372
- FROM cr_entity_attribute
373
- WHERE mapped_entity_type = ? AND organization_id = ?
374
- and (is_hidden IS NULL OR is_hidden = 0) -- Exclude hidden attributes
375
- GROUP BY attribute_key`, [entityType, organizationId]);
376
- if (!result.length) {
377
- console.log(`No attributes found for entity '${entityType}' and org '${organizationId}'`);
378
- }
379
- return result.map((row) => ({
380
- attribute_key: row.attribute_key,
381
- db_datatype: row.db_datatype,
382
- element_type: row.element_type,
383
- is_hidden: row.is_hidden,
384
- }));
385
- }
386
- async deleteEntity(entityType, id, loggedInUser) {
387
- const organizationId = loggedInUser.organization_id;
388
- const tableName = await this.getTableName(entityType, organizationId);
389
- const deleteQuery = `DELETE FROM \`${tableName}\` WHERE id = ?`;
390
- const result = await this.dataSource.query(deleteQuery, [id]);
391
- return result;
392
- }
393
- async getEntitiesDropdownList(loggedInUser, appcode) {
394
- const organizationId = loggedInUser.organization_id;
395
- let query = `SELECT name as label,mapped_entity_type as value FROM cr_entity_master WHERE organization_id = ?`;
396
- const params = [organizationId];
397
- if (appcode) {
398
- query += ` AND appcode = ?`;
399
- params.push(appcode);
400
- }
401
- const dropdown = await this.dataSource.query(query, params);
402
- return dropdown;
403
- }
404
- async getCode(entityType, loggedInUser) {
405
- const organizationId = loggedInUser.organization_id;
406
- const result = await this.dataSource.query(`SELECT db_table_name
407
- FROM cr_entity_master
408
- WHERE mapped_entity_type = ? AND organization_id = ?`, [entityType, organizationId]);
409
- if (!result.length) {
410
- throw new Error(`Entity type '${entityType}' not found in cr_entity_master for org '${organizationId}'`);
411
- }
412
- const tableName = result[0].db_table_name;
413
- const seqResult = await this.dataSource.query(`SELECT MAX(CAST(SUBSTRING(code, LENGTH(entity_type) + 1) AS UNSIGNED)) AS max_seq_no
414
- FROM \`${tableName}\`
415
- WHERE entity_type = ?`, [entityType]);
416
- let maxSeqNo = seqResult?.[0]?.max_seq_no
417
- ? Number(seqResult[0].max_seq_no)
418
- : 0;
419
- maxSeqNo += 1;
420
- return `${entityType}${maxSeqNo}`;
421
- }
422
- async getResolvedEntity(id, entity, loggedInUser) {
423
- const leadData = await this.getEntityWithRelation(entity, id, loggedInUser);
424
- const { mappedEntities, ...data } = leadData;
425
- const resolvedData = await this.resolverService.getResolvedData(loggedInUser, data, entity);
426
- if (mappedEntities) {
427
- resolvedData.mappedEntities = {};
428
- for (const [entityType, entities] of Object.entries(mappedEntities)) {
429
- if (Array.isArray(entities)) {
430
- resolvedData.mappedEntities[entityType] = [];
431
- for (const item of entities) {
432
- const resolvedItem = await this.resolverService.getResolvedData(loggedInUser, item, entityType);
433
- resolvedData.mappedEntities[entityType].push(resolvedItem);
434
- }
435
- }
436
- else {
437
- resolvedData.mappedEntities[entityType] =
438
- await this.resolverService.getResolvedData(loggedInUser, entities, entityType);
439
- }
440
- }
441
- }
442
- return resolvedData;
443
- }
444
- };
445
- exports.EntityDynamicService = EntityDynamicService;
446
- exports.EntityDynamicService = EntityDynamicService = __decorate([
447
- (0, common_1.Injectable)(),
448
- __metadata("design:paramtypes", [typeorm_1.DataSource,
449
- media_data_service_1.MediaDataService,
450
- resolver_service_1.ResolverService])
451
- ], EntityDynamicService);
452
- //# sourceMappingURL=entity-dynamic.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity-dynamic.service.js","sourceRoot":"","sources":["../../../../src/module/meta/service/entity-dynamic.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,2CAA4C;AAC5C,uEAGsC;AACtC,qCAAqC;AAErC,6DAAwD;AACxD,yDAAqD;AAG9C,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YACmB,UAAsB,EACtB,gBAAkC,EAClC,eAAgC;QAFhC,eAAU,GAAV,UAAU,CAAY;QACtB,qBAAgB,GAAhB,gBAAgB,CAAkB;QAClC,oBAAe,GAAf,eAAe,CAAiB;IAChD,CAAC;IAGJ,KAAK,CAAC,YAAY,CAChB,UAAkB,EAClB,UAA+B,EAC/B,YAAiB,EACjB,MAAe;QAEf,MAAM,cAAc,GAAG,YAAY,CAAC,eAAe,CAAC;QAEpD,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACtE,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QAEF,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAC5C,4EAA4E,EAC5E,CAAC,+BAAa,EAAE,YAAY,EAAE,eAAe,IAAI,CAAC,CAAC,CACpD,CAAC;QAEF,UAAU,CAAC,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC;QACrC,IAAI,YAAY,EAAE,CAAC;YACjB,UAAU,CAAC,UAAU,GAAG,YAAY,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,UAAU,CAAC,eAAe;g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AI,CAAC,eAAe,CAAC,eAAe,CACxC,YAAY,EACZ,QAAQ,EACR,UAAU,CACX,CAAC;gBACN,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO,YAAY,CAAC;IACtB,CAAC;CACF,CAAA;AA7uBY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAGoB,oBAAU;QACJ,qCAAgB;QACjB,kCAAe;GAJxC,oBAAoB,CA6uBhC"}
@@ -1,17 +0,0 @@
1
- import { EntityTableService } from './entity-table.service';
2
- import { EntityListData } from '../dto/entity-list-data.dto';
3
- import { EntityTable } from '../entity/entity-table.entity';
4
- import { EntityManager } from 'typeorm';
5
- import { EntityTableColumnService } from './entity-table-column.service';
6
- export declare class EntityListService {
7
- private entityTableService;
8
- private entityTableColumnService;
9
- private entityManager;
10
- constructor(entityTableService: EntityTableService, entityTableColumnService: EntityTableColumnService, entityManager: EntityManager);
11
- getFilterDataWithTabs(entityType: string, listType: string, filters: Record<string, any>, sortColumn: string | undefined, sortOrder: string | undefined, pageNumber: number, pageSize: number, tabColumn?: string, tabValue?: string, appcode?: string): Promise<EntityListData>;
12
- getFilteredList(entityTable: EntityTable, filters: Record<string, any>, sortColumn: string | undefined, sortOrder: string | undefined, pageNumber: number | undefined, pageSize: number | undefined, appcode?: string): Promise<any>;
13
- private getTotalCount;
14
- private getQuery;
15
- private getWhereClause;
16
- getMaxSequenceNumber(tableName: string, parentType: string | null, parentId: number | null): Promise<any>;
17
- }