rez_core 3.1.37 → 3.1.40

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 (960) hide show
  1. package/package.json +1 -1
  2. package/src/core.module.ts +5 -2
  3. package/src/module/filter/repository/saved-filter.repository.ts +1 -1
  4. package/src/module/filter/service/filter.service.ts +30 -36
  5. package/src/module/mapper/controller/field-mapper.controller.ts +10 -4
  6. package/src/module/mapper/controller/mapper.controller.ts +1 -1
  7. package/src/module/mapper/dto/field-mapper.dto.ts +1 -1
  8. package/src/module/mapper/entity/field-mapper.entity.ts +5 -5
  9. package/src/module/mapper/repository/field-mapper.repository.ts +1 -1
  10. package/src/module/mapper/service/field-mapper.service.ts +4 -4
  11. package/src/module/mapper/service/mapper.service.ts +1 -1
  12. package/dist/app.controller.d.ts +0 -6
  13. package/dist/app.controller.js +0 -34
  14. package/dist/app.controller.js.map +0 -1
  15. package/dist/app.module.d.ts +0 -2
  16. package/dist/app.module.js +0 -62
  17. package/dist/app.module.js.map +0 -1
  18. package/dist/app.service.d.ts +0 -3
  19. package/dist/app.service.js +0 -20
  20. package/dist/app.service.js.map +0 -1
  21. package/dist/config/config.module.d.ts +0 -2
  22. package/dist/config/config.module.js +0 -29
  23. package/dist/config/config.module.js.map +0 -1
  24. package/dist/config/database.config.d.ts +0 -7
  25. package/dist/config/database.config.js +0 -39
  26. package/dist/config/database.config.js.map +0 -1
  27. package/dist/constant/global.constant.d.ts +0 -50
  28. package/dist/constant/global.constant.js +0 -54
  29. package/dist/constant/global.constant.js.map +0 -1
  30. package/dist/core.module.d.ts +0 -4
  31. package/dist/core.module.js +0 -76
  32. package/dist/core.module.js.map +0 -1
  33. package/dist/decorators/roles.decorator.d.ts +0 -1
  34. package/dist/decorators/roles.decorator.js +0 -7
  35. package/dist/decorators/roles.decorator.js.map +0 -1
  36. package/dist/dtos/response.d.ts +0 -5
  37. package/dist/dtos/response.dto.d.ts +0 -5
  38. package/dist/dtos/response.dto.js +0 -3
  39. package/dist/dtos/response.dto.js.map +0 -1
  40. package/dist/dtos/response.js +0 -3
  41. package/dist/dtos/response.js.map +0 -1
  42. package/dist/index.d.ts +0 -1
  43. package/dist/index.js +0 -18
  44. package/dist/index.js.map +0 -1
  45. package/dist/main.d.ts +0 -1
  46. package/dist/main.js +0 -25
  47. package/dist/main.js.map +0 -1
  48. package/dist/module/auth/auth.module.d.ts +0 -2
  49. package/dist/module/auth/auth.module.js +0 -57
  50. package/dist/module/auth/auth.module.js.map +0 -1
  51. package/dist/module/auth/controller/auth.controller.d.ts +0 -8
  52. package/dist/module/auth/controller/auth.controller.js +0 -51
  53. package/dist/module/auth/controller/auth.controller.js.map +0 -1
  54. package/dist/module/auth/guards/google-auth.guard.d.ts +0 -6
  55. package/dist/module/auth/guards/google-auth.guard.js +0 -21
  56. package/dist/module/auth/guards/google-auth.guard.js.map +0 -1
  57. package/dist/module/auth/guards/jwt.guard.d.ts +0 -10
  58. package/dist/module/auth/guards/jwt.guard.js +0 -36
  59. package/dist/module/auth/guards/jwt.guard.js.map +0 -1
  60. package/dist/module/auth/guards/role.guard.d.ts +0 -9
  61. package/dist/module/auth/guards/role.guard.js +0 -59
  62. package/dist/module/auth/guards/role.guard.js.map +0 -1
  63. package/dist/module/auth/services/auth.service.d.ts +0 -14
  64. package/dist/module/auth/services/auth.service.js +0 -39
  65. package/dist/module/auth/services/auth.service.js.map +0 -1
  66. package/dist/module/auth/services/jwt.service.d.ts +0 -6
  67. package/dist/module/auth/services/jwt.service.js +0 -28
  68. package/dist/module/auth/services/jwt.service.js.map +0 -1
  69. package/dist/module/auth/strategies/google.strategy.d.ts +0 -10
  70. package/dist/module/auth/strategies/google.strategy.js +0 -59
  71. package/dist/module/auth/strategies/google.strategy.js.map +0 -1
  72. package/dist/module/auth/strategies/jwt.strategy.d.ts +0 -19
  73. package/dist/module/auth/strategies/jwt.strategy.js +0 -46
  74. package/dist/module/auth/strategies/jwt.strategy.js.map +0 -1
  75. package/dist/module/auth/strategies/local.strategy.d.ts +0 -7
  76. package/dist/module/auth/strategies/local.strategy.js +0 -30
  77. package/dist/module/auth/strategies/local.strategy.js.map +0 -1
  78. package/dist/module/dashboard/controller/dashboard.controller.d.ts +0 -33
  79. package/dist/module/dashboard/controller/dashboard.controller.js +0 -55
  80. package/dist/module/dashboard/controller/dashboard.controller.js.map +0 -1
  81. package/dist/module/dashboard/dashboard.module.d.ts +0 -2
  82. package/dist/module/dashboard/dashboard.module.js +0 -34
  83. package/dist/module/dashboard/dashboard.module.js.map +0 -1
  84. package/dist/module/dashboard/entity/dashboard_page_data.entity.d.ts +0 -10
  85. package/dist/module/dashboard/entity/dashboard_page_data.entity.js +0 -50
  86. package/dist/module/dashboard/entity/dashboard_page_data.entity.js.map +0 -1
  87. package/dist/module/dashboard/entity/widget_master.entity.d.ts +0 -7
  88. package/dist/module/dashboard/entity/widget_master.entity.js +0 -38
  89. package/dist/module/dashboard/entity/widget_master.entity.js.map +0 -1
  90. package/dist/module/dashboard/repository/dashboard.repository.d.ts +0 -10
  91. package/dist/module/dashboard/repository/dashboard.repository.js +0 -50
  92. package/dist/module/dashboard/repository/dashboard.repository.js.map +0 -1
  93. package/dist/module/dashboard/service/dashboard.service.d.ts +0 -35
  94. package/dist/module/dashboard/service/dashboard.service.js +0 -62
  95. package/dist/module/dashboard/service/dashboard.service.js.map +0 -1
  96. package/dist/module/dev/dev.module.d.ts +0 -2
  97. package/dist/module/dev/dev.module.js +0 -25
  98. package/dist/module/dev/dev.module.js.map +0 -1
  99. package/dist/module/dev/service/dev.service.d.ts +0 -5
  100. package/dist/module/dev/service/dev.service.js +0 -25
  101. package/dist/module/dev/service/dev.service.js.map +0 -1
  102. package/dist/module/enterprise/controller/organization.controller.d.ts +0 -14
  103. package/dist/module/enterprise/controller/organization.controller.js +0 -59
  104. package/dist/module/enterprise/controller/organization.controller.js.map +0 -1
  105. package/dist/module/enterprise/enterprise.module.d.ts +0 -2
  106. package/dist/module/enterprise/enterprise.module.js +0 -43
  107. package/dist/module/enterprise/enterprise.module.js.map +0 -1
  108. package/dist/module/enterprise/entity/enterprise.entity.d.ts +0 -13
  109. package/dist/module/enterprise/entity/enterprise.entity.js +0 -64
  110. package/dist/module/enterprise/entity/enterprise.entity.js.map +0 -1
  111. package/dist/module/enterprise/entity/organization-app-mapping.entity.d.ts +0 -5
  112. package/dist/module/enterprise/entity/organization-app-mapping.entity.js +0 -32
  113. package/dist/module/enterprise/entity/organization-app-mapping.entity.js.map +0 -1
  114. package/dist/module/enterprise/entity/organization.entity.d.ts +0 -30
  115. package/dist/module/enterprise/entity/organization.entity.js +0 -136
  116. package/dist/module/enterprise/entity/organization.entity.js.map +0 -1
  117. package/dist/module/enterprise/repository/enterprise.repository.d.ts +0 -8
  118. package/dist/module/enterprise/repository/enterprise.repository.js +0 -48
  119. package/dist/module/enterprise/repository/enterprise.repository.js.map +0 -1
  120. package/dist/module/enterprise/repository/organization.repository.d.ts +0 -8
  121. package/dist/module/enterprise/repository/organization.repository.js +0 -41
  122. package/dist/module/enterprise/repository/organization.repository.js.map +0 -1
  123. package/dist/module/enterprise/repository/school.repository.d.ts +0 -8
  124. package/dist/module/enterprise/repository/school.repository.js +0 -245
  125. package/dist/module/enterprise/repository/school.repository.js.map +0 -1
  126. package/dist/module/enterprise/service/brand.service.d.ts +0 -3
  127. package/dist/module/enterprise/service/brand.service.js +0 -18
  128. package/dist/module/enterprise/service/brand.service.js.map +0 -1
  129. package/dist/module/enterprise/service/enterprise.service.d.ts +0 -8
  130. package/dist/module/enterprise/service/enterprise.service.js +0 -31
  131. package/dist/module/enterprise/service/enterprise.service.js.map +0 -1
  132. package/dist/module/enterprise/service/organization-app-mapping.service.d.ts +0 -2
  133. package/dist/module/enterprise/service/organization-app-mapping.service.js +0 -17
  134. package/dist/module/enterprise/service/organization-app-mapping.service.js.map +0 -1
  135. package/dist/module/enterprise/service/organization.service.d.ts +0 -19
  136. package/dist/module/enterprise/service/organization.service.js +0 -121
  137. package/dist/module/enterprise/service/organization.service.js.map +0 -1
  138. package/dist/module/filter/controller/filter.controller.d.ts +0 -39
  139. package/dist/module/filter/controller/filter.controller.js +0 -91
  140. package/dist/module/filter/controller/filter.controller.js.map +0 -1
  141. package/dist/module/filter/dto/filter-request.dto.d.ts +0 -35
  142. package/dist/module/filter/dto/filter-request.dto.js +0 -3
  143. package/dist/module/filter/dto/filter-request.dto.js.map +0 -1
  144. package/dist/module/filter/entity/saved-filter-detail.entity.d.ts +0 -14
  145. package/dist/module/filter/entity/saved-filter-detail.entity.js +0 -67
  146. package/dist/module/filter/entity/saved-filter-detail.entity.js.map +0 -1
  147. package/dist/module/filter/entity/saved-filter-master.entity.d.ts +0 -8
  148. package/dist/module/filter/entity/saved-filter-master.entity.js +0 -43
  149. package/dist/module/filter/entity/saved-filter-master.entity.js.map +0 -1
  150. package/dist/module/filter/filter.module.d.ts +0 -2
  151. package/dist/module/filter/filter.module.js +0 -44
  152. package/dist/module/filter/filter.module.js.map +0 -1
  153. package/dist/module/filter/repository/saved-filter.repository.d.ts +0 -38
  154. package/dist/module/filter/repository/saved-filter.repository.js +0 -144
  155. package/dist/module/filter/repository/saved-filter.repository.js.map +0 -1
  156. package/dist/module/filter/service/filter-evaluator.service.d.ts +0 -9
  157. package/dist/module/filter/service/filter-evaluator.service.js +0 -62
  158. package/dist/module/filter/service/filter-evaluator.service.js.map +0 -1
  159. package/dist/module/filter/service/filter.service.d.ts +0 -66
  160. package/dist/module/filter/service/filter.service.js +0 -643
  161. package/dist/module/filter/service/filter.service.js.map +0 -1
  162. package/dist/module/filter/service/saved-filter.service.d.ts +0 -30
  163. package/dist/module/filter/service/saved-filter.service.js +0 -125
  164. package/dist/module/filter/service/saved-filter.service.js.map +0 -1
  165. package/dist/module/ics/controller/ics.controller.d.ts +0 -8
  166. package/dist/module/ics/controller/ics.controller.js +0 -45
  167. package/dist/module/ics/controller/ics.controller.js.map +0 -1
  168. package/dist/module/ics/dto/ics.dto.d.ts +0 -17
  169. package/dist/module/ics/dto/ics.dto.js +0 -73
  170. package/dist/module/ics/dto/ics.dto.js.map +0 -1
  171. package/dist/module/ics/ics.module.d.ts +0 -2
  172. package/dist/module/ics/ics.module.js +0 -26
  173. package/dist/module/ics/ics.module.js.map +0 -1
  174. package/dist/module/ics/service/ics.service.d.ts +0 -4
  175. package/dist/module/ics/service/ics.service.js +0 -61
  176. package/dist/module/ics/service/ics.service.js.map +0 -1
  177. package/dist/module/integration/controller/calender-event.controller.d.ts +0 -7
  178. package/dist/module/integration/controller/calender-event.controller.js +0 -51
  179. package/dist/module/integration/controller/calender-event.controller.js.map +0 -1
  180. package/dist/module/integration/controller/integration.controller.d.ts +0 -139
  181. package/dist/module/integration/controller/integration.controller.js +0 -540
  182. package/dist/module/integration/controller/integration.controller.js.map +0 -1
  183. package/dist/module/integration/controller/wrapper.controller.d.ts +0 -23
  184. package/dist/module/integration/controller/wrapper.controller.js +0 -56
  185. package/dist/module/integration/controller/wrapper.controller.js.map +0 -1
  186. package/dist/module/integration/dto/create-config.dto.d.ts +0 -208
  187. package/dist/module/integration/dto/create-config.dto.js +0 -461
  188. package/dist/module/integration/dto/create-config.dto.js.map +0 -1
  189. package/dist/module/integration/entity/integration-config.entity.d.ts +0 -54
  190. package/dist/module/integration/entity/integration-config.entity.js +0 -78
  191. package/dist/module/integration/entity/integration-config.entity.js.map +0 -1
  192. package/dist/module/integration/entity/integration-ivr-mapper.entity.d.ts +0 -6
  193. package/dist/module/integration/entity/integration-ivr-mapper.entity.js +0 -33
  194. package/dist/module/integration/entity/integration-ivr-mapper.entity.js.map +0 -1
  195. package/dist/module/integration/entity/integration-source.entity.d.ts +0 -7
  196. package/dist/module/integration/entity/integration-source.entity.js +0 -37
  197. package/dist/module/integration/entity/integration-source.entity.js.map +0 -1
  198. package/dist/module/integration/entity/user-integration.entity.d.ts +0 -23
  199. package/dist/module/integration/entity/user-integration.entity.js +0 -70
  200. package/dist/module/integration/entity/user-integration.entity.js.map +0 -1
  201. package/dist/module/integration/examples/usage.example.d.ts +0 -16
  202. package/dist/module/integration/examples/usage.example.js +0 -217
  203. package/dist/module/integration/examples/usage.example.js.map +0 -1
  204. package/dist/module/integration/factories/base.factory.d.ts +0 -9
  205. package/dist/module/integration/factories/base.factory.js +0 -3
  206. package/dist/module/integration/factories/base.factory.js.map +0 -1
  207. package/dist/module/integration/factories/email.factory.d.ts +0 -17
  208. package/dist/module/integration/factories/email.factory.js +0 -55
  209. package/dist/module/integration/factories/email.factory.js.map +0 -1
  210. package/dist/module/integration/factories/integration.factory.d.ts +0 -33
  211. package/dist/module/integration/factories/integration.factory.js +0 -104
  212. package/dist/module/integration/factories/integration.factory.js.map +0 -1
  213. package/dist/module/integration/factories/sms.factory.d.ts +0 -17
  214. package/dist/module/integration/factories/sms.factory.js +0 -58
  215. package/dist/module/integration/factories/sms.factory.js.map +0 -1
  216. package/dist/module/integration/factories/telephone.factory.d.ts +0 -15
  217. package/dist/module/integration/factories/telephone.factory.js +0 -49
  218. package/dist/module/integration/factories/telephone.factory.js.map +0 -1
  219. package/dist/module/integration/factories/whatsapp.factory.d.ts +0 -19
  220. package/dist/module/integration/factories/whatsapp.factory.js +0 -63
  221. package/dist/module/integration/factories/whatsapp.factory.js.map +0 -1
  222. package/dist/module/integration/integration.module.d.ts +0 -2
  223. package/dist/module/integration/integration.module.js +0 -87
  224. package/dist/module/integration/integration.module.js.map +0 -1
  225. package/dist/module/integration/service/calendar-event.service.d.ts +0 -8
  226. package/dist/module/integration/service/calendar-event.service.js +0 -101
  227. package/dist/module/integration/service/calendar-event.service.js.map +0 -1
  228. package/dist/module/integration/service/integration-queue.service.d.ts +0 -40
  229. package/dist/module/integration/service/integration-queue.service.js +0 -147
  230. package/dist/module/integration/service/integration-queue.service.js.map +0 -1
  231. package/dist/module/integration/service/integration.service.d.ts +0 -165
  232. package/dist/module/integration/service/integration.service.js +0 -1362
  233. package/dist/module/integration/service/integration.service.js.map +0 -1
  234. package/dist/module/integration/service/oauth.service.d.ts +0 -18
  235. package/dist/module/integration/service/oauth.service.js +0 -190
  236. package/dist/module/integration/service/oauth.service.js.map +0 -1
  237. package/dist/module/integration/service/wrapper.service.d.ts +0 -32
  238. package/dist/module/integration/service/wrapper.service.js +0 -253
  239. package/dist/module/integration/service/wrapper.service.js.map +0 -1
  240. package/dist/module/integration/strategies/email/gmail-api.strategy.d.ts +0 -13
  241. package/dist/module/integration/strategies/email/gmail-api.strategy.js +0 -198
  242. package/dist/module/integration/strategies/email/gmail-api.strategy.js.map +0 -1
  243. package/dist/module/integration/strategies/email/outlook-api.strategy.d.ts +0 -5
  244. package/dist/module/integration/strategies/email/outlook-api.strategy.js +0 -44
  245. package/dist/module/integration/strategies/email/outlook-api.strategy.js.map +0 -1
  246. package/dist/module/integration/strategies/email/outlook.strategy.d.ts +0 -5
  247. package/dist/module/integration/strategies/email/outlook.strategy.js +0 -64
  248. package/dist/module/integration/strategies/email/outlook.strategy.js.map +0 -1
  249. package/dist/module/integration/strategies/email/sendgrid-api.strategy.d.ts +0 -22
  250. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js +0 -203
  251. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js.map +0 -1
  252. package/dist/module/integration/strategies/integration.strategy.d.ts +0 -30
  253. package/dist/module/integration/strategies/integration.strategy.js +0 -40
  254. package/dist/module/integration/strategies/integration.strategy.js.map +0 -1
  255. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.d.ts +0 -9
  256. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js +0 -104
  257. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js.map +0 -1
  258. package/dist/module/integration/strategies/sms/msg91-sms.strategy.d.ts +0 -9
  259. package/dist/module/integration/strategies/sms/msg91-sms.strategy.js +0 -113
  260. package/dist/module/integration/strategies/sms/msg91-sms.strategy.js.map +0 -1
  261. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.d.ts +0 -9
  262. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js +0 -109
  263. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js.map +0 -1
  264. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.d.ts +0 -22
  265. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js +0 -162
  266. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js.map +0 -1
  267. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.d.ts +0 -17
  268. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js +0 -100
  269. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js.map +0 -1
  270. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.d.ts +0 -19
  271. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js +0 -257
  272. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js.map +0 -1
  273. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.d.ts +0 -22
  274. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js +0 -295
  275. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js.map +0 -1
  276. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.d.ts +0 -20
  277. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js +0 -264
  278. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js.map +0 -1
  279. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.d.ts +0 -5
  280. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js +0 -57
  281. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js.map +0 -1
  282. package/dist/module/layout/controller/layout.controller.d.ts +0 -11
  283. package/dist/module/layout/controller/layout.controller.js +0 -59
  284. package/dist/module/layout/controller/layout.controller.js.map +0 -1
  285. package/dist/module/layout/dto/header.dto.d.ts +0 -0
  286. package/dist/module/layout/dto/header.dto.js +0 -1
  287. package/dist/module/layout/dto/header.dto.js.map +0 -1
  288. package/dist/module/layout/entity/header-items.entity.d.ts +0 -10
  289. package/dist/module/layout/entity/header-items.entity.js +0 -52
  290. package/dist/module/layout/entity/header-items.entity.js.map +0 -1
  291. package/dist/module/layout/entity/header-section.entity.d.ts +0 -7
  292. package/dist/module/layout/entity/header-section.entity.js +0 -40
  293. package/dist/module/layout/entity/header-section.entity.js.map +0 -1
  294. package/dist/module/layout/layout.module.d.ts +0 -2
  295. package/dist/module/layout/layout.module.js +0 -34
  296. package/dist/module/layout/layout.module.js.map +0 -1
  297. package/dist/module/layout/repository/header-items.repository.d.ts +0 -7
  298. package/dist/module/layout/repository/header-items.repository.js +0 -36
  299. package/dist/module/layout/repository/header-items.repository.js.map +0 -1
  300. package/dist/module/layout/repository/header-section.repository.d.ts +0 -8
  301. package/dist/module/layout/repository/header-section.repository.js +0 -39
  302. package/dist/module/layout/repository/header-section.repository.js.map +0 -1
  303. package/dist/module/layout/service/header-section.service.d.ts +0 -8
  304. package/dist/module/layout/service/header-section.service.js +0 -37
  305. package/dist/module/layout/service/header-section.service.js.map +0 -1
  306. package/dist/module/layout_preference/controller/layout_preference.controller.d.ts +0 -13
  307. package/dist/module/layout_preference/controller/layout_preference.controller.js +0 -59
  308. package/dist/module/layout_preference/controller/layout_preference.controller.js.map +0 -1
  309. package/dist/module/layout_preference/dto/layout_preference.dto.d.ts +0 -0
  310. package/dist/module/layout_preference/dto/layout_preference.dto.js +0 -1
  311. package/dist/module/layout_preference/dto/layout_preference.dto.js.map +0 -1
  312. package/dist/module/layout_preference/entity/layout_preference.entity.d.ts +0 -9
  313. package/dist/module/layout_preference/entity/layout_preference.entity.js +0 -50
  314. package/dist/module/layout_preference/entity/layout_preference.entity.js.map +0 -1
  315. package/dist/module/layout_preference/layout_preference.module.d.ts +0 -2
  316. package/dist/module/layout_preference/layout_preference.module.js +0 -31
  317. package/dist/module/layout_preference/layout_preference.module.js.map +0 -1
  318. package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +0 -7
  319. package/dist/module/layout_preference/repository/layout_preference.repository.js +0 -42
  320. package/dist/module/layout_preference/repository/layout_preference.repository.js.map +0 -1
  321. package/dist/module/layout_preference/service/layout_preference.service.d.ts +0 -15
  322. package/dist/module/layout_preference/service/layout_preference.service.js +0 -99
  323. package/dist/module/layout_preference/service/layout_preference.service.js.map +0 -1
  324. package/dist/module/lead/controller/lead.controller.d.ts +0 -20
  325. package/dist/module/lead/controller/lead.controller.js +0 -58
  326. package/dist/module/lead/controller/lead.controller.js.map +0 -1
  327. package/dist/module/lead/lead.module.d.ts +0 -2
  328. package/dist/module/lead/lead.module.js +0 -26
  329. package/dist/module/lead/lead.module.js.map +0 -1
  330. package/dist/module/lead/repository/lead.repository.d.ts +0 -10
  331. package/dist/module/lead/repository/lead.repository.js +0 -53
  332. package/dist/module/lead/repository/lead.repository.js.map +0 -1
  333. package/dist/module/lead/service/lead.service.d.ts +0 -20
  334. package/dist/module/lead/service/lead.service.js +0 -55
  335. package/dist/module/lead/service/lead.service.js.map +0 -1
  336. package/dist/module/listmaster/controller/list-master.controller.d.ts +0 -24
  337. package/dist/module/listmaster/controller/list-master.controller.js +0 -124
  338. package/dist/module/listmaster/controller/list-master.controller.js.map +0 -1
  339. package/dist/module/listmaster/entity/list-master-items.entity.d.ts +0 -14
  340. package/dist/module/listmaster/entity/list-master-items.entity.js +0 -67
  341. package/dist/module/listmaster/entity/list-master-items.entity.js.map +0 -1
  342. package/dist/module/listmaster/entity/list-master.entity.d.ts +0 -11
  343. package/dist/module/listmaster/entity/list-master.entity.js +0 -55
  344. package/dist/module/listmaster/entity/list-master.entity.js.map +0 -1
  345. package/dist/module/listmaster/listmaster.module.d.ts +0 -2
  346. package/dist/module/listmaster/listmaster.module.js +0 -43
  347. package/dist/module/listmaster/listmaster.module.js.map +0 -1
  348. package/dist/module/listmaster/repository/list-master-items.repository.d.ts +0 -21
  349. package/dist/module/listmaster/repository/list-master-items.repository.js +0 -142
  350. package/dist/module/listmaster/repository/list-master-items.repository.js.map +0 -1
  351. package/dist/module/listmaster/repository/list-master.repository.d.ts +0 -9
  352. package/dist/module/listmaster/repository/list-master.repository.js +0 -53
  353. package/dist/module/listmaster/repository/list-master.repository.js.map +0 -1
  354. package/dist/module/listmaster/service/list-master-item.service.d.ts +0 -19
  355. package/dist/module/listmaster/service/list-master-item.service.js +0 -151
  356. package/dist/module/listmaster/service/list-master-item.service.js.map +0 -1
  357. package/dist/module/listmaster/service/list-master.service.d.ts +0 -32
  358. package/dist/module/listmaster/service/list-master.service.js +0 -228
  359. package/dist/module/listmaster/service/list-master.service.js.map +0 -1
  360. package/dist/module/mapper/controller/field-mapper.controller.d.ts +0 -6
  361. package/dist/module/mapper/controller/field-mapper.controller.js +0 -45
  362. package/dist/module/mapper/controller/field-mapper.controller.js.map +0 -1
  363. package/dist/module/mapper/controller/mapper.controller.d.ts +0 -6
  364. package/dist/module/mapper/controller/mapper.controller.js +0 -39
  365. package/dist/module/mapper/controller/mapper.controller.js.map +0 -1
  366. package/dist/module/mapper/dto/field-mapper.dto.d.ts +0 -11
  367. package/dist/module/mapper/dto/field-mapper.dto.js +0 -8
  368. package/dist/module/mapper/dto/field-mapper.dto.js.map +0 -1
  369. package/dist/module/mapper/entity/field-lovs.entity.d.ts +0 -7
  370. package/dist/module/mapper/entity/field-lovs.entity.js +0 -38
  371. package/dist/module/mapper/entity/field-lovs.entity.js.map +0 -1
  372. package/dist/module/mapper/entity/field-mapper.entity.d.ts +0 -12
  373. package/dist/module/mapper/entity/field-mapper.entity.js +0 -58
  374. package/dist/module/mapper/entity/field-mapper.entity.js.map +0 -1
  375. package/dist/module/mapper/entity/mapper.entity.d.ts +0 -6
  376. package/dist/module/mapper/entity/mapper.entity.js +0 -34
  377. package/dist/module/mapper/entity/mapper.entity.js.map +0 -1
  378. package/dist/module/mapper/mapper.module.d.ts +0 -2
  379. package/dist/module/mapper/mapper.module.js +0 -42
  380. package/dist/module/mapper/mapper.module.js.map +0 -1
  381. package/dist/module/mapper/repository/field-lovs.repository.d.ts +0 -8
  382. package/dist/module/mapper/repository/field-lovs.repository.js +0 -41
  383. package/dist/module/mapper/repository/field-lovs.repository.js.map +0 -1
  384. package/dist/module/mapper/repository/field-mapper.repository.d.ts +0 -9
  385. package/dist/module/mapper/repository/field-mapper.repository.js +0 -42
  386. package/dist/module/mapper/repository/field-mapper.repository.js.map +0 -1
  387. package/dist/module/mapper/service/field-mapper.service.d.ts +0 -20
  388. package/dist/module/mapper/service/field-mapper.service.js +0 -140
  389. package/dist/module/mapper/service/field-mapper.service.js.map +0 -1
  390. package/dist/module/mapper/service/mapper.service.d.ts +0 -7
  391. package/dist/module/mapper/service/mapper.service.js +0 -40
  392. package/dist/module/mapper/service/mapper.service.js.map +0 -1
  393. package/dist/module/master/controller/master.controller.d.ts +0 -20
  394. package/dist/module/master/controller/master.controller.js +0 -82
  395. package/dist/module/master/controller/master.controller.js.map +0 -1
  396. package/dist/module/master/service/master.service.d.ts +0 -31
  397. package/dist/module/master/service/master.service.js +0 -366
  398. package/dist/module/master/service/master.service.js.map +0 -1
  399. package/dist/module/meta/controller/app-master.controller.d.ts +0 -9
  400. package/dist/module/meta/controller/app-master.controller.js +0 -51
  401. package/dist/module/meta/controller/app-master.controller.js.map +0 -1
  402. package/dist/module/meta/controller/attribute-master.controller.d.ts +0 -21
  403. package/dist/module/meta/controller/attribute-master.controller.js +0 -78
  404. package/dist/module/meta/controller/attribute-master.controller.js.map +0 -1
  405. package/dist/module/meta/controller/entity-dynamic.controller.d.ts +0 -18
  406. package/dist/module/meta/controller/entity-dynamic.controller.js +0 -102
  407. package/dist/module/meta/controller/entity-dynamic.controller.js.map +0 -1
  408. package/dist/module/meta/controller/entity-master.controller.d.ts +0 -8
  409. package/dist/module/meta/controller/entity-master.controller.js +0 -44
  410. package/dist/module/meta/controller/entity-master.controller.js.map +0 -1
  411. package/dist/module/meta/controller/entity-relation.controller.d.ts +0 -6
  412. package/dist/module/meta/controller/entity-relation.controller.js +0 -45
  413. package/dist/module/meta/controller/entity-relation.controller.js.map +0 -1
  414. package/dist/module/meta/controller/entity.controller.d.ts +0 -38
  415. package/dist/module/meta/controller/entity.controller.js +0 -245
  416. package/dist/module/meta/controller/entity.controller.js.map +0 -1
  417. package/dist/module/meta/controller/media.controller.d.ts +0 -17
  418. package/dist/module/meta/controller/media.controller.js +0 -79
  419. package/dist/module/meta/controller/media.controller.js.map +0 -1
  420. package/dist/module/meta/controller/meta.controller.d.ts +0 -19
  421. package/dist/module/meta/controller/meta.controller.js +0 -87
  422. package/dist/module/meta/controller/meta.controller.js.map +0 -1
  423. package/dist/module/meta/controller/view-master.controller.d.ts +0 -12
  424. package/dist/module/meta/controller/view-master.controller.js +0 -87
  425. package/dist/module/meta/controller/view-master.controller.js.map +0 -1
  426. package/dist/module/meta/dto/entity-list-data.dto.d.ts +0 -5
  427. package/dist/module/meta/dto/entity-list-data.dto.js +0 -7
  428. package/dist/module/meta/dto/entity-list-data.dto.js.map +0 -1
  429. package/dist/module/meta/dto/entity-tab.dto.d.ts +0 -4
  430. package/dist/module/meta/dto/entity-tab.dto.js +0 -7
  431. package/dist/module/meta/dto/entity-tab.dto.js.map +0 -1
  432. package/dist/module/meta/dto/entity-table.dto.d.ts +0 -11
  433. package/dist/module/meta/dto/entity-table.dto.js +0 -8
  434. package/dist/module/meta/dto/entity-table.dto.js.map +0 -1
  435. package/dist/module/meta/entity/app-master.entity.d.ts +0 -12
  436. package/dist/module/meta/entity/app-master.entity.js +0 -58
  437. package/dist/module/meta/entity/app-master.entity.js.map +0 -1
  438. package/dist/module/meta/entity/attribute-master.entity.d.ts +0 -21
  439. package/dist/module/meta/entity/attribute-master.entity.js +0 -118
  440. package/dist/module/meta/entity/attribute-master.entity.js.map +0 -1
  441. package/dist/module/meta/entity/base-entity.entity.d.ts +0 -19
  442. package/dist/module/meta/entity/base-entity.entity.js +0 -104
  443. package/dist/module/meta/entity/base-entity.entity.js.map +0 -1
  444. package/dist/module/meta/entity/entity-master.entity.d.ts +0 -18
  445. package/dist/module/meta/entity/entity-master.entity.js +0 -108
  446. package/dist/module/meta/entity/entity-master.entity.js.map +0 -1
  447. package/dist/module/meta/entity/entity-relation-data.entity.d.ts +0 -10
  448. package/dist/module/meta/entity/entity-relation-data.entity.js +0 -51
  449. package/dist/module/meta/entity/entity-relation-data.entity.js.map +0 -1
  450. package/dist/module/meta/entity/entity-relation.entity.d.ts +0 -8
  451. package/dist/module/meta/entity/entity-relation.entity.js +0 -43
  452. package/dist/module/meta/entity/entity-relation.entity.js.map +0 -1
  453. package/dist/module/meta/entity/entity-table-column.entity.d.ts +0 -19
  454. package/dist/module/meta/entity/entity-table-column.entity.js +0 -92
  455. package/dist/module/meta/entity/entity-table-column.entity.js.map +0 -1
  456. package/dist/module/meta/entity/entity-table.entity.d.ts +0 -17
  457. package/dist/module/meta/entity/entity-table.entity.js +0 -79
  458. package/dist/module/meta/entity/entity-table.entity.js.map +0 -1
  459. package/dist/module/meta/entity/media-data.entity.d.ts +0 -11
  460. package/dist/module/meta/entity/media-data.entity.js +0 -55
  461. package/dist/module/meta/entity/media-data.entity.js.map +0 -1
  462. package/dist/module/meta/entity/preference.entity.d.ts +0 -11
  463. package/dist/module/meta/entity/preference.entity.js +0 -85
  464. package/dist/module/meta/entity/preference.entity.js.map +0 -1
  465. package/dist/module/meta/entity/view-master.entity.d.ts +0 -14
  466. package/dist/module/meta/entity/view-master.entity.js +0 -67
  467. package/dist/module/meta/entity/view-master.entity.js.map +0 -1
  468. package/dist/module/meta/entity.module.d.ts +0 -2
  469. package/dist/module/meta/entity.module.js +0 -153
  470. package/dist/module/meta/entity.module.js.map +0 -1
  471. package/dist/module/meta/repository/app-master.repository.d.ts +0 -7
  472. package/dist/module/meta/repository/app-master.repository.js +0 -36
  473. package/dist/module/meta/repository/app-master.repository.js.map +0 -1
  474. package/dist/module/meta/repository/attribute-master.repository.d.ts +0 -20
  475. package/dist/module/meta/repository/attribute-master.repository.js +0 -85
  476. package/dist/module/meta/repository/attribute-master.repository.js.map +0 -1
  477. package/dist/module/meta/repository/entity-master.repository.d.ts +0 -9
  478. package/dist/module/meta/repository/entity-master.repository.js +0 -44
  479. package/dist/module/meta/repository/entity-master.repository.js.map +0 -1
  480. package/dist/module/meta/repository/entity-table-column.repository.d.ts +0 -7
  481. package/dist/module/meta/repository/entity-table-column.repository.js +0 -52
  482. package/dist/module/meta/repository/entity-table-column.repository.js.map +0 -1
  483. package/dist/module/meta/repository/entity-table.repository.d.ts +0 -9
  484. package/dist/module/meta/repository/entity-table.repository.js +0 -60
  485. package/dist/module/meta/repository/entity-table.repository.js.map +0 -1
  486. package/dist/module/meta/repository/media-data.repository.d.ts +0 -9
  487. package/dist/module/meta/repository/media-data.repository.js +0 -55
  488. package/dist/module/meta/repository/media-data.repository.js.map +0 -1
  489. package/dist/module/meta/repository/preference.repository.d.ts +0 -7
  490. package/dist/module/meta/repository/preference.repository.js +0 -36
  491. package/dist/module/meta/repository/preference.repository.js.map +0 -1
  492. package/dist/module/meta/repository/user-app-mapping.repository.d.ts +0 -0
  493. package/dist/module/meta/repository/user-app-mapping.repository.js +0 -1
  494. package/dist/module/meta/repository/user-app-mapping.repository.js.map +0 -1
  495. package/dist/module/meta/repository/view-master.repository.d.ts +0 -11
  496. package/dist/module/meta/repository/view-master.repository.js +0 -50
  497. package/dist/module/meta/repository/view-master.repository.js.map +0 -1
  498. package/dist/module/meta/service/app-master.service.d.ts +0 -8
  499. package/dist/module/meta/service/app-master.service.js +0 -45
  500. package/dist/module/meta/service/app-master.service.js.map +0 -1
  501. package/dist/module/meta/service/attribute-master.service.d.ts +0 -16
  502. package/dist/module/meta/service/attribute-master.service.js +0 -75
  503. package/dist/module/meta/service/attribute-master.service.js.map +0 -1
  504. package/dist/module/meta/service/common.service.d.ts +0 -4
  505. package/dist/module/meta/service/common.service.js +0 -25
  506. package/dist/module/meta/service/common.service.js.map +0 -1
  507. package/dist/module/meta/service/entity-dynamic.service.d.ts +0 -19
  508. package/dist/module/meta/service/entity-dynamic.service.js +0 -395
  509. package/dist/module/meta/service/entity-dynamic.service.js.map +0 -1
  510. package/dist/module/meta/service/entity-list.service.d.ts +0 -17
  511. package/dist/module/meta/service/entity-list.service.js +0 -141
  512. package/dist/module/meta/service/entity-list.service.js.map +0 -1
  513. package/dist/module/meta/service/entity-master.service.d.ts +0 -20
  514. package/dist/module/meta/service/entity-master.service.js +0 -106
  515. package/dist/module/meta/service/entity-master.service.js.map +0 -1
  516. package/dist/module/meta/service/entity-realation-data.service.d.ts +0 -4
  517. package/dist/module/meta/service/entity-realation-data.service.js +0 -25
  518. package/dist/module/meta/service/entity-realation-data.service.js.map +0 -1
  519. package/dist/module/meta/service/entity-relation.service.d.ts +0 -8
  520. package/dist/module/meta/service/entity-relation.service.js +0 -58
  521. package/dist/module/meta/service/entity-relation.service.js.map +0 -1
  522. package/dist/module/meta/service/entity-service-impl.service.d.ts +0 -42
  523. package/dist/module/meta/service/entity-service-impl.service.js +0 -267
  524. package/dist/module/meta/service/entity-service-impl.service.js.map +0 -1
  525. package/dist/module/meta/service/entity-table-column.service.d.ts +0 -7
  526. package/dist/module/meta/service/entity-table-column.service.js +0 -37
  527. package/dist/module/meta/service/entity-table-column.service.js.map +0 -1
  528. package/dist/module/meta/service/entity-table.service.d.ts +0 -17
  529. package/dist/module/meta/service/entity-table.service.js +0 -86
  530. package/dist/module/meta/service/entity-table.service.js.map +0 -1
  531. package/dist/module/meta/service/entity-validation.service.d.ts +0 -21
  532. package/dist/module/meta/service/entity-validation.service.js +0 -117
  533. package/dist/module/meta/service/entity-validation.service.js.map +0 -1
  534. package/dist/module/meta/service/entity.service.d.ts +0 -15
  535. package/dist/module/meta/service/entity.service.js +0 -3
  536. package/dist/module/meta/service/entity.service.js.map +0 -1
  537. package/dist/module/meta/service/field-group.service.d.ts +0 -26
  538. package/dist/module/meta/service/field-group.service.js +0 -78
  539. package/dist/module/meta/service/field-group.service.js.map +0 -1
  540. package/dist/module/meta/service/media-data.service.d.ts +0 -29
  541. package/dist/module/meta/service/media-data.service.js +0 -108
  542. package/dist/module/meta/service/media-data.service.js.map +0 -1
  543. package/dist/module/meta/service/populate-meta.service.d.ts +0 -11
  544. package/dist/module/meta/service/populate-meta.service.js +0 -108
  545. package/dist/module/meta/service/populate-meta.service.js.map +0 -1
  546. package/dist/module/meta/service/preference.service.d.ts +0 -7
  547. package/dist/module/meta/service/preference.service.js +0 -31
  548. package/dist/module/meta/service/preference.service.js.map +0 -1
  549. package/dist/module/meta/service/resolver.service.d.ts +0 -9
  550. package/dist/module/meta/service/resolver.service.js +0 -168
  551. package/dist/module/meta/service/resolver.service.js.map +0 -1
  552. package/dist/module/meta/service/section-master.service.d.ts +0 -26
  553. package/dist/module/meta/service/section-master.service.js +0 -77
  554. package/dist/module/meta/service/section-master.service.js.map +0 -1
  555. package/dist/module/meta/service/update-form-json.service.d.ts +0 -9
  556. package/dist/module/meta/service/update-form-json.service.js +0 -39
  557. package/dist/module/meta/service/update-form-json.service.js.map +0 -1
  558. package/dist/module/meta/service/user-app-mapping.service.d.ts +0 -0
  559. package/dist/module/meta/service/user-app-mapping.service.js +0 -1
  560. package/dist/module/meta/service/user-app-mapping.service.js.map +0 -1
  561. package/dist/module/meta/service/view-master.service.d.ts +0 -26
  562. package/dist/module/meta/service/view-master.service.js +0 -58
  563. package/dist/module/meta/service/view-master.service.js.map +0 -1
  564. package/dist/module/module/controller/menu.controller.d.ts +0 -8
  565. package/dist/module/module/controller/menu.controller.js +0 -41
  566. package/dist/module/module/controller/menu.controller.js.map +0 -1
  567. package/dist/module/module/controller/module-access.controller.d.ts +0 -35
  568. package/dist/module/module/controller/module-access.controller.js +0 -148
  569. package/dist/module/module/controller/module-access.controller.js.map +0 -1
  570. package/dist/module/module/entity/menu.entity.d.ts +0 -15
  571. package/dist/module/module/entity/menu.entity.js +0 -72
  572. package/dist/module/module/entity/menu.entity.js.map +0 -1
  573. package/dist/module/module/entity/module-access.entity.d.ts +0 -9
  574. package/dist/module/module/entity/module-access.entity.js +0 -48
  575. package/dist/module/module/entity/module-access.entity.js.map +0 -1
  576. package/dist/module/module/entity/module-action.entity.d.ts +0 -6
  577. package/dist/module/module/entity/module-action.entity.js +0 -37
  578. package/dist/module/module/entity/module-action.entity.js.map +0 -1
  579. package/dist/module/module/entity/module.entity.d.ts +0 -18
  580. package/dist/module/module/entity/module.entity.js +0 -84
  581. package/dist/module/module/entity/module.entity.js.map +0 -1
  582. package/dist/module/module/module.module.d.ts +0 -2
  583. package/dist/module/module/module.module.js +0 -55
  584. package/dist/module/module/module.module.js.map +0 -1
  585. package/dist/module/module/repository/menu.repository.d.ts +0 -11
  586. package/dist/module/module/repository/menu.repository.js +0 -152
  587. package/dist/module/module/repository/menu.repository.js.map +0 -1
  588. package/dist/module/module/repository/module-access.repository.d.ts +0 -51
  589. package/dist/module/module/repository/module-access.repository.js +0 -271
  590. package/dist/module/module/repository/module-access.repository.js.map +0 -1
  591. package/dist/module/module/service/menu.service.d.ts +0 -12
  592. package/dist/module/module/service/menu.service.js +0 -59
  593. package/dist/module/module/service/menu.service.js.map +0 -1
  594. package/dist/module/module/service/module-access.service.d.ts +0 -60
  595. package/dist/module/module/service/module-access.service.js +0 -119
  596. package/dist/module/module/service/module-access.service.js.map +0 -1
  597. package/dist/module/notification/controller/notification.controller.d.ts +0 -23
  598. package/dist/module/notification/controller/notification.controller.js +0 -74
  599. package/dist/module/notification/controller/notification.controller.js.map +0 -1
  600. package/dist/module/notification/controller/otp.controller.d.ts +0 -53
  601. package/dist/module/notification/controller/otp.controller.js +0 -103
  602. package/dist/module/notification/controller/otp.controller.js.map +0 -1
  603. package/dist/module/notification/entity/notification.entity.d.ts +0 -9
  604. package/dist/module/notification/entity/notification.entity.js +0 -45
  605. package/dist/module/notification/entity/notification.entity.js.map +0 -1
  606. package/dist/module/notification/entity/otp.entity.d.ts +0 -10
  607. package/dist/module/notification/entity/otp.entity.js +0 -52
  608. package/dist/module/notification/entity/otp.entity.js.map +0 -1
  609. package/dist/module/notification/firebase-admin.config.d.ts +0 -7
  610. package/dist/module/notification/firebase-admin.config.js +0 -24
  611. package/dist/module/notification/firebase-admin.config.js.map +0 -1
  612. package/dist/module/notification/notification.module.d.ts +0 -2
  613. package/dist/module/notification/notification.module.js +0 -82
  614. package/dist/module/notification/notification.module.js.map +0 -1
  615. package/dist/module/notification/repository/otp.repository.d.ts +0 -9
  616. package/dist/module/notification/repository/otp.repository.js +0 -44
  617. package/dist/module/notification/repository/otp.repository.js.map +0 -1
  618. package/dist/module/notification/service/email.service.d.ts +0 -14
  619. package/dist/module/notification/service/email.service.js +0 -110
  620. package/dist/module/notification/service/email.service.js.map +0 -1
  621. package/dist/module/notification/service/notification.service.d.ts +0 -25
  622. package/dist/module/notification/service/notification.service.js +0 -112
  623. package/dist/module/notification/service/notification.service.js.map +0 -1
  624. package/dist/module/notification/service/otp.service.d.ts +0 -49
  625. package/dist/module/notification/service/otp.service.js +0 -102
  626. package/dist/module/notification/service/otp.service.js.map +0 -1
  627. package/dist/module/third-party-module/entity/third-party-api-registry.entity.d.ts +0 -18
  628. package/dist/module/third-party-module/entity/third-party-api-registry.entity.js +0 -84
  629. package/dist/module/third-party-module/entity/third-party-api-registry.entity.js.map +0 -1
  630. package/dist/module/third-party-module/repository/third-party-api-registry.repository.d.ts +0 -7
  631. package/dist/module/third-party-module/repository/third-party-api-registry.repository.js +0 -38
  632. package/dist/module/third-party-module/repository/third-party-api-registry.repository.js.map +0 -1
  633. package/dist/module/third-party-module/service/api-registry.service.d.ts +0 -6
  634. package/dist/module/third-party-module/service/api-registry.service.js +0 -28
  635. package/dist/module/third-party-module/service/api-registry.service.js.map +0 -1
  636. package/dist/module/third-party-module/third-party.module.d.ts +0 -2
  637. package/dist/module/third-party-module/third-party.module.js +0 -25
  638. package/dist/module/third-party-module/third-party.module.js.map +0 -1
  639. package/dist/module/user/controller/login.controller.d.ts +0 -26
  640. package/dist/module/user/controller/login.controller.js +0 -176
  641. package/dist/module/user/controller/login.controller.js.map +0 -1
  642. package/dist/module/user/controller/user.controller.d.ts +0 -9
  643. package/dist/module/user/controller/user.controller.js +0 -59
  644. package/dist/module/user/controller/user.controller.js.map +0 -1
  645. package/dist/module/user/dto/create-user.dto.d.ts +0 -17
  646. package/dist/module/user/dto/create-user.dto.js +0 -64
  647. package/dist/module/user/dto/create-user.dto.js.map +0 -1
  648. package/dist/module/user/dto/update-user.dto.d.ts +0 -5
  649. package/dist/module/user/dto/update-user.dto.js +0 -9
  650. package/dist/module/user/dto/update-user.dto.js.map +0 -1
  651. package/dist/module/user/entity/role.entity.d.ts +0 -11
  652. package/dist/module/user/entity/role.entity.js +0 -56
  653. package/dist/module/user/entity/role.entity.js.map +0 -1
  654. package/dist/module/user/entity/user-role-mapping.entity.d.ts +0 -12
  655. package/dist/module/user/entity/user-role-mapping.entity.js +0 -63
  656. package/dist/module/user/entity/user-role-mapping.entity.js.map +0 -1
  657. package/dist/module/user/entity/user-session.entity.d.ts +0 -11
  658. package/dist/module/user/entity/user-session.entity.js +0 -86
  659. package/dist/module/user/entity/user-session.entity.js.map +0 -1
  660. package/dist/module/user/entity/user.entity.d.ts +0 -23
  661. package/dist/module/user/entity/user.entity.js +0 -103
  662. package/dist/module/user/entity/user.entity.js.map +0 -1
  663. package/dist/module/user/repository/role.repository.d.ts +0 -18
  664. package/dist/module/user/repository/role.repository.js +0 -87
  665. package/dist/module/user/repository/role.repository.js.map +0 -1
  666. package/dist/module/user/repository/user-role-mapping.repository.d.ts +0 -19
  667. package/dist/module/user/repository/user-role-mapping.repository.js +0 -110
  668. package/dist/module/user/repository/user-role-mapping.repository.js.map +0 -1
  669. package/dist/module/user/repository/user.repository.d.ts +0 -10
  670. package/dist/module/user/repository/user.repository.js +0 -58
  671. package/dist/module/user/repository/user.repository.js.map +0 -1
  672. package/dist/module/user/repository/userSession.repository.d.ts +0 -10
  673. package/dist/module/user/repository/userSession.repository.js +0 -45
  674. package/dist/module/user/repository/userSession.repository.js.map +0 -1
  675. package/dist/module/user/service/login.service.d.ts +0 -80
  676. package/dist/module/user/service/login.service.js +0 -209
  677. package/dist/module/user/service/login.service.js.map +0 -1
  678. package/dist/module/user/service/role.service.d.ts +0 -23
  679. package/dist/module/user/service/role.service.js +0 -146
  680. package/dist/module/user/service/role.service.js.map +0 -1
  681. package/dist/module/user/service/user-role-mapping.service.d.ts +0 -12
  682. package/dist/module/user/service/user-role-mapping.service.js +0 -60
  683. package/dist/module/user/service/user-role-mapping.service.js.map +0 -1
  684. package/dist/module/user/service/user-session.service.d.ts +0 -38
  685. package/dist/module/user/service/user-session.service.js +0 -132
  686. package/dist/module/user/service/user-session.service.js.map +0 -1
  687. package/dist/module/user/service/user.service.d.ts +0 -38
  688. package/dist/module/user/service/user.service.js +0 -234
  689. package/dist/module/user/service/user.service.js.map +0 -1
  690. package/dist/module/user/user.module.d.ts +0 -2
  691. package/dist/module/user/user.module.js +0 -78
  692. package/dist/module/user/user.module.js.map +0 -1
  693. package/dist/module/workflow/controller/action-category.controller.d.ts +0 -18
  694. package/dist/module/workflow/controller/action-category.controller.js +0 -79
  695. package/dist/module/workflow/controller/action-category.controller.js.map +0 -1
  696. package/dist/module/workflow/controller/action-resource-mapping.controller.d.ts +0 -5
  697. package/dist/module/workflow/controller/action-resource-mapping.controller.js +0 -31
  698. package/dist/module/workflow/controller/action-resource-mapping.controller.js.map +0 -1
  699. package/dist/module/workflow/controller/action-template-mapping.controller.d.ts +0 -12
  700. package/dist/module/workflow/controller/action-template-mapping.controller.js +0 -44
  701. package/dist/module/workflow/controller/action-template-mapping.controller.js.map +0 -1
  702. package/dist/module/workflow/controller/action.controller.d.ts +0 -45
  703. package/dist/module/workflow/controller/action.controller.js +0 -108
  704. package/dist/module/workflow/controller/action.controller.js.map +0 -1
  705. package/dist/module/workflow/controller/activity-log.controller.d.ts +0 -44
  706. package/dist/module/workflow/controller/activity-log.controller.js +0 -62
  707. package/dist/module/workflow/controller/activity-log.controller.js.map +0 -1
  708. package/dist/module/workflow/controller/comm-template.controller.d.ts +0 -13
  709. package/dist/module/workflow/controller/comm-template.controller.js +0 -45
  710. package/dist/module/workflow/controller/comm-template.controller.js.map +0 -1
  711. package/dist/module/workflow/controller/entity-modification.controller.d.ts +0 -8
  712. package/dist/module/workflow/controller/entity-modification.controller.js +0 -44
  713. package/dist/module/workflow/controller/entity-modification.controller.js.map +0 -1
  714. package/dist/module/workflow/controller/form-master.controller.d.ts +0 -11
  715. package/dist/module/workflow/controller/form-master.controller.js +0 -59
  716. package/dist/module/workflow/controller/form-master.controller.js.map +0 -1
  717. package/dist/module/workflow/controller/stage-group.controller.d.ts +0 -19
  718. package/dist/module/workflow/controller/stage-group.controller.js +0 -56
  719. package/dist/module/workflow/controller/stage-group.controller.js.map +0 -1
  720. package/dist/module/workflow/controller/stage.controller.d.ts +0 -34
  721. package/dist/module/workflow/controller/stage.controller.js +0 -56
  722. package/dist/module/workflow/controller/stage.controller.js.map +0 -1
  723. package/dist/module/workflow/controller/task.controller.d.ts +0 -32
  724. package/dist/module/workflow/controller/task.controller.js +0 -72
  725. package/dist/module/workflow/controller/task.controller.js.map +0 -1
  726. package/dist/module/workflow/controller/workflow-list-master.controller.d.ts +0 -14
  727. package/dist/module/workflow/controller/workflow-list-master.controller.js +0 -67
  728. package/dist/module/workflow/controller/workflow-list-master.controller.js.map +0 -1
  729. package/dist/module/workflow/controller/workflow-meta.controller.d.ts +0 -15
  730. package/dist/module/workflow/controller/workflow-meta.controller.js +0 -72
  731. package/dist/module/workflow/controller/workflow-meta.controller.js.map +0 -1
  732. package/dist/module/workflow/controller/workflow.controller.d.ts +0 -31
  733. package/dist/module/workflow/controller/workflow.controller.js +0 -83
  734. package/dist/module/workflow/controller/workflow.controller.js.map +0 -1
  735. package/dist/module/workflow/entity/action-category.entity.d.ts +0 -12
  736. package/dist/module/workflow/entity/action-category.entity.js +0 -59
  737. package/dist/module/workflow/entity/action-category.entity.js.map +0 -1
  738. package/dist/module/workflow/entity/action-data.entity.d.ts +0 -19
  739. package/dist/module/workflow/entity/action-data.entity.js +0 -86
  740. package/dist/module/workflow/entity/action-data.entity.js.map +0 -1
  741. package/dist/module/workflow/entity/action-resources-mapping.entity.d.ts +0 -9
  742. package/dist/module/workflow/entity/action-resources-mapping.entity.js +0 -47
  743. package/dist/module/workflow/entity/action-resources-mapping.entity.js.map +0 -1
  744. package/dist/module/workflow/entity/action-template-mapping.entity.d.ts +0 -6
  745. package/dist/module/workflow/entity/action-template-mapping.entity.js +0 -35
  746. package/dist/module/workflow/entity/action-template-mapping.entity.js.map +0 -1
  747. package/dist/module/workflow/entity/action.entity.d.ts +0 -17
  748. package/dist/module/workflow/entity/action.entity.js +0 -79
  749. package/dist/module/workflow/entity/action.entity.js.map +0 -1
  750. package/dist/module/workflow/entity/activity-log.entity.d.ts +0 -15
  751. package/dist/module/workflow/entity/activity-log.entity.js +0 -70
  752. package/dist/module/workflow/entity/activity-log.entity.js.map +0 -1
  753. package/dist/module/workflow/entity/comm-template.entity.d.ts +0 -13
  754. package/dist/module/workflow/entity/comm-template.entity.js +0 -63
  755. package/dist/module/workflow/entity/comm-template.entity.js.map +0 -1
  756. package/dist/module/workflow/entity/entity-modification.entity.d.ts +0 -13
  757. package/dist/module/workflow/entity/entity-modification.entity.js +0 -63
  758. package/dist/module/workflow/entity/entity-modification.entity.js.map +0 -1
  759. package/dist/module/workflow/entity/form-master.entity.d.ts +0 -10
  760. package/dist/module/workflow/entity/form-master.entity.js +0 -50
  761. package/dist/module/workflow/entity/form-master.entity.js.map +0 -1
  762. package/dist/module/workflow/entity/form.entity.d.ts +0 -9
  763. package/dist/module/workflow/entity/form.entity.js +0 -46
  764. package/dist/module/workflow/entity/form.entity.js.map +0 -1
  765. package/dist/module/workflow/entity/stage-action-mapping.entity.d.ts +0 -6
  766. package/dist/module/workflow/entity/stage-action-mapping.entity.js +0 -35
  767. package/dist/module/workflow/entity/stage-action-mapping.entity.js.map +0 -1
  768. package/dist/module/workflow/entity/stage-group.entity.d.ts +0 -8
  769. package/dist/module/workflow/entity/stage-group.entity.js +0 -43
  770. package/dist/module/workflow/entity/stage-group.entity.js.map +0 -1
  771. package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +0 -13
  772. package/dist/module/workflow/entity/stage-movement-data.entity.js +0 -63
  773. package/dist/module/workflow/entity/stage-movement-data.entity.js.map +0 -1
  774. package/dist/module/workflow/entity/stage.entity.d.ts +0 -7
  775. package/dist/module/workflow/entity/stage.entity.js +0 -39
  776. package/dist/module/workflow/entity/stage.entity.js.map +0 -1
  777. package/dist/module/workflow/entity/task-data.entity.d.ts +0 -30
  778. package/dist/module/workflow/entity/task-data.entity.js +0 -130
  779. package/dist/module/workflow/entity/task-data.entity.js.map +0 -1
  780. package/dist/module/workflow/entity/template-attach-mapper.entity.d.ts +0 -11
  781. package/dist/module/workflow/entity/template-attach-mapper.entity.js +0 -54
  782. package/dist/module/workflow/entity/template-attach-mapper.entity.js.map +0 -1
  783. package/dist/module/workflow/entity/workflow-data.entity.d.ts +0 -4
  784. package/dist/module/workflow/entity/workflow-data.entity.js +0 -27
  785. package/dist/module/workflow/entity/workflow-data.entity.js.map +0 -1
  786. package/dist/module/workflow/entity/workflow-level-mapping.entity.d.ts +0 -7
  787. package/dist/module/workflow/entity/workflow-level-mapping.entity.js +0 -38
  788. package/dist/module/workflow/entity/workflow-level-mapping.entity.js.map +0 -1
  789. package/dist/module/workflow/entity/workflow.entity.d.ts +0 -7
  790. package/dist/module/workflow/entity/workflow.entity.js +0 -39
  791. package/dist/module/workflow/entity/workflow.entity.js.map +0 -1
  792. package/dist/module/workflow/repository/action-category.repository.d.ts +0 -19
  793. package/dist/module/workflow/repository/action-category.repository.js +0 -84
  794. package/dist/module/workflow/repository/action-category.repository.js.map +0 -1
  795. package/dist/module/workflow/repository/action-data.repository.d.ts +0 -20
  796. package/dist/module/workflow/repository/action-data.repository.js +0 -176
  797. package/dist/module/workflow/repository/action-data.repository.js.map +0 -1
  798. package/dist/module/workflow/repository/action.repository.d.ts +0 -29
  799. package/dist/module/workflow/repository/action.repository.js +0 -220
  800. package/dist/module/workflow/repository/action.repository.js.map +0 -1
  801. package/dist/module/workflow/repository/activity-log.repository.d.ts +0 -57
  802. package/dist/module/workflow/repository/activity-log.repository.js +0 -112
  803. package/dist/module/workflow/repository/activity-log.repository.js.map +0 -1
  804. package/dist/module/workflow/repository/comm-template.repository.d.ts +0 -15
  805. package/dist/module/workflow/repository/comm-template.repository.js +0 -107
  806. package/dist/module/workflow/repository/comm-template.repository.js.map +0 -1
  807. package/dist/module/workflow/repository/form-master.repository.d.ts +0 -12
  808. package/dist/module/workflow/repository/form-master.repository.js +0 -59
  809. package/dist/module/workflow/repository/form-master.repository.js.map +0 -1
  810. package/dist/module/workflow/repository/form.repository.d.ts +0 -0
  811. package/dist/module/workflow/repository/form.repository.js +0 -1
  812. package/dist/module/workflow/repository/form.repository.js.map +0 -1
  813. package/dist/module/workflow/repository/stage-group.repository.d.ts +0 -34
  814. package/dist/module/workflow/repository/stage-group.repository.js +0 -135
  815. package/dist/module/workflow/repository/stage-group.repository.js.map +0 -1
  816. package/dist/module/workflow/repository/stage-movement.repository.d.ts +0 -23
  817. package/dist/module/workflow/repository/stage-movement.repository.js +0 -150
  818. package/dist/module/workflow/repository/stage-movement.repository.js.map +0 -1
  819. package/dist/module/workflow/repository/stage.repository.d.ts +0 -30
  820. package/dist/module/workflow/repository/stage.repository.js +0 -88
  821. package/dist/module/workflow/repository/stage.repository.js.map +0 -1
  822. package/dist/module/workflow/repository/task.repository.d.ts +0 -10
  823. package/dist/module/workflow/repository/task.repository.js +0 -92
  824. package/dist/module/workflow/repository/task.repository.js.map +0 -1
  825. package/dist/module/workflow/repository/workflow.repository.d.ts +0 -10
  826. package/dist/module/workflow/repository/workflow.repository.js +0 -49
  827. package/dist/module/workflow/repository/workflow.repository.js.map +0 -1
  828. package/dist/module/workflow/service/action-category.service.d.ts +0 -21
  829. package/dist/module/workflow/service/action-category.service.js +0 -42
  830. package/dist/module/workflow/service/action-category.service.js.map +0 -1
  831. package/dist/module/workflow/service/action-data.service.d.ts +0 -16
  832. package/dist/module/workflow/service/action-data.service.js +0 -40
  833. package/dist/module/workflow/service/action-data.service.js.map +0 -1
  834. package/dist/module/workflow/service/action-resources-mapping.service.d.ts +0 -6
  835. package/dist/module/workflow/service/action-resources-mapping.service.js +0 -27
  836. package/dist/module/workflow/service/action-resources-mapping.service.js.map +0 -1
  837. package/dist/module/workflow/service/action-template-mapping.service.d.ts +0 -7
  838. package/dist/module/workflow/service/action-template-mapping.service.js +0 -52
  839. package/dist/module/workflow/service/action-template-mapping.service.js.map +0 -1
  840. package/dist/module/workflow/service/action.service.d.ts +0 -35
  841. package/dist/module/workflow/service/action.service.js +0 -152
  842. package/dist/module/workflow/service/action.service.js.map +0 -1
  843. package/dist/module/workflow/service/activity-log.service.d.ts +0 -44
  844. package/dist/module/workflow/service/activity-log.service.js +0 -92
  845. package/dist/module/workflow/service/activity-log.service.js.map +0 -1
  846. package/dist/module/workflow/service/comm-template.service.d.ts +0 -16
  847. package/dist/module/workflow/service/comm-template.service.js +0 -91
  848. package/dist/module/workflow/service/comm-template.service.js.map +0 -1
  849. package/dist/module/workflow/service/entity-modification.service.d.ts +0 -8
  850. package/dist/module/workflow/service/entity-modification.service.js +0 -52
  851. package/dist/module/workflow/service/entity-modification.service.js.map +0 -1
  852. package/dist/module/workflow/service/form-master.service.d.ts +0 -14
  853. package/dist/module/workflow/service/form-master.service.js +0 -38
  854. package/dist/module/workflow/service/form-master.service.js.map +0 -1
  855. package/dist/module/workflow/service/populate-workflow.service.d.ts +0 -21
  856. package/dist/module/workflow/service/populate-workflow.service.js +0 -181
  857. package/dist/module/workflow/service/populate-workflow.service.js.map +0 -1
  858. package/dist/module/workflow/service/stage-action-mapping.service.d.ts +0 -3
  859. package/dist/module/workflow/service/stage-action-mapping.service.js +0 -18
  860. package/dist/module/workflow/service/stage-action-mapping.service.js.map +0 -1
  861. package/dist/module/workflow/service/stage-group.service.d.ts +0 -29
  862. package/dist/module/workflow/service/stage-group.service.js +0 -213
  863. package/dist/module/workflow/service/stage-group.service.js.map +0 -1
  864. package/dist/module/workflow/service/stage.service.d.ts +0 -42
  865. package/dist/module/workflow/service/stage.service.js +0 -102
  866. package/dist/module/workflow/service/stage.service.js.map +0 -1
  867. package/dist/module/workflow/service/task.service.d.ts +0 -48
  868. package/dist/module/workflow/service/task.service.js +0 -324
  869. package/dist/module/workflow/service/task.service.js.map +0 -1
  870. package/dist/module/workflow/service/workflow-list-master.service.d.ts +0 -9
  871. package/dist/module/workflow/service/workflow-list-master.service.js +0 -61
  872. package/dist/module/workflow/service/workflow-list-master.service.js.map +0 -1
  873. package/dist/module/workflow/service/workflow-meta.service.d.ts +0 -26
  874. package/dist/module/workflow/service/workflow-meta.service.js +0 -343
  875. package/dist/module/workflow/service/workflow-meta.service.js.map +0 -1
  876. package/dist/module/workflow/service/workflow.service.d.ts +0 -33
  877. package/dist/module/workflow/service/workflow.service.js +0 -140
  878. package/dist/module/workflow/service/workflow.service.js.map +0 -1
  879. package/dist/module/workflow/workflow.module.d.ts +0 -2
  880. package/dist/module/workflow/workflow.module.js +0 -188
  881. package/dist/module/workflow/workflow.module.js.map +0 -1
  882. package/dist/module/workflow-automation/controller/workflow-automation.controller.d.ts +0 -5
  883. package/dist/module/workflow-automation/controller/workflow-automation.controller.js +0 -31
  884. package/dist/module/workflow-automation/controller/workflow-automation.controller.js.map +0 -1
  885. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.d.ts +0 -10
  886. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js +0 -51
  887. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js.map +0 -1
  888. package/dist/module/workflow-automation/entity/workflow-automation.entity.d.ts +0 -11
  889. package/dist/module/workflow-automation/entity/workflow-automation.entity.js +0 -55
  890. package/dist/module/workflow-automation/entity/workflow-automation.entity.js.map +0 -1
  891. package/dist/module/workflow-automation/interface/action.decorator.d.ts +0 -2
  892. package/dist/module/workflow-automation/interface/action.decorator.js +0 -8
  893. package/dist/module/workflow-automation/interface/action.decorator.js.map +0 -1
  894. package/dist/module/workflow-automation/interface/action.interface.d.ts +0 -4
  895. package/dist/module/workflow-automation/interface/action.interface.js +0 -3
  896. package/dist/module/workflow-automation/interface/action.interface.js.map +0 -1
  897. package/dist/module/workflow-automation/service/action-registery.service.d.ts +0 -11
  898. package/dist/module/workflow-automation/service/action-registery.service.js +0 -46
  899. package/dist/module/workflow-automation/service/action-registery.service.js.map +0 -1
  900. package/dist/module/workflow-automation/service/workflow-automation-engine.service.d.ts +0 -12
  901. package/dist/module/workflow-automation/service/workflow-automation-engine.service.js +0 -70
  902. package/dist/module/workflow-automation/service/workflow-automation-engine.service.js.map +0 -1
  903. package/dist/module/workflow-automation/service/workflow-automation.service.d.ts +0 -53
  904. package/dist/module/workflow-automation/service/workflow-automation.service.js +0 -219
  905. package/dist/module/workflow-automation/service/workflow-automation.service.js.map +0 -1
  906. package/dist/module/workflow-automation/workflow-automation.module.d.ts +0 -2
  907. package/dist/module/workflow-automation/workflow-automation.module.js +0 -47
  908. package/dist/module/workflow-automation/workflow-automation.module.js.map +0 -1
  909. package/dist/resources/properties.module.d.ts +0 -2
  910. package/dist/resources/properties.module.js +0 -25
  911. package/dist/resources/properties.module.js.map +0 -1
  912. package/dist/resources/properties.yaml.d.ts +0 -2
  913. package/dist/resources/properties.yaml.js +0 -10
  914. package/dist/resources/properties.yaml.js.map +0 -1
  915. package/dist/tsconfig.build.tsbuildinfo +0 -1
  916. package/dist/utils/dto/excel-data.dto.d.ts +0 -7
  917. package/dist/utils/dto/excel-data.dto.js +0 -16
  918. package/dist/utils/dto/excel-data.dto.js.map +0 -1
  919. package/dist/utils/dto/excelsheet-data.dto.d.ts +0 -5
  920. package/dist/utils/dto/excelsheet-data.dto.js +0 -3
  921. package/dist/utils/dto/excelsheet-data.dto.js.map +0 -1
  922. package/dist/utils/service/base64util.service.d.ts +0 -4
  923. package/dist/utils/service/base64util.service.js +0 -21
  924. package/dist/utils/service/base64util.service.js.map +0 -1
  925. package/dist/utils/service/clockIDGenUtil.service.d.ts +0 -8
  926. package/dist/utils/service/clockIDGenUtil.service.js +0 -32
  927. package/dist/utils/service/clockIDGenUtil.service.js.map +0 -1
  928. package/dist/utils/service/codeGenerator.service.d.ts +0 -3
  929. package/dist/utils/service/codeGenerator.service.js +0 -19
  930. package/dist/utils/service/codeGenerator.service.js.map +0 -1
  931. package/dist/utils/service/dateUtil.service.d.ts +0 -3
  932. package/dist/utils/service/dateUtil.service.js +0 -28
  933. package/dist/utils/service/dateUtil.service.js.map +0 -1
  934. package/dist/utils/service/encryptUtil.service.d.ts +0 -9
  935. package/dist/utils/service/encryptUtil.service.js +0 -112
  936. package/dist/utils/service/encryptUtil.service.js.map +0 -1
  937. package/dist/utils/service/excel-helper.service.d.ts +0 -9
  938. package/dist/utils/service/excel-helper.service.js +0 -56
  939. package/dist/utils/service/excel-helper.service.js.map +0 -1
  940. package/dist/utils/service/excelUtil.service.d.ts +0 -3
  941. package/dist/utils/service/excelUtil.service.js +0 -17
  942. package/dist/utils/service/excelUtil.service.js.map +0 -1
  943. package/dist/utils/service/file-util.service.d.ts +0 -3
  944. package/dist/utils/service/file-util.service.js +0 -15
  945. package/dist/utils/service/file-util.service.js.map +0 -1
  946. package/dist/utils/service/json-util.service.d.ts +0 -3
  947. package/dist/utils/service/json-util.service.js +0 -24
  948. package/dist/utils/service/json-util.service.js.map +0 -1
  949. package/dist/utils/service/loggingUtil.service.d.ts +0 -4
  950. package/dist/utils/service/loggingUtil.service.js +0 -49
  951. package/dist/utils/service/loggingUtil.service.js.map +0 -1
  952. package/dist/utils/service/reflection-helper.service.d.ts +0 -9
  953. package/dist/utils/service/reflection-helper.service.js +0 -60
  954. package/dist/utils/service/reflection-helper.service.js.map +0 -1
  955. package/dist/utils/service/wbsCodeGen.service.d.ts +0 -3
  956. package/dist/utils/service/wbsCodeGen.service.js +0 -20
  957. package/dist/utils/service/wbsCodeGen.service.js.map +0 -1
  958. package/dist/utils/utils.module.d.ts +0 -2
  959. package/dist/utils/utils.module.js +0 -38
  960. package/dist/utils/utils.module.js.map +0 -1
@@ -1,395 +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
- let EntityDynamicService = class EntityDynamicService {
18
- constructor(dataSource, mediaDataService) {
19
- this.dataSource = dataSource;
20
- this.mediaDataService = mediaDataService;
21
- }
22
- async createEntity(entityType, entityData, loggedInUser) {
23
- const organizationId = loggedInUser.organization_id;
24
- const tableName = await this.getTableName(entityType, organizationId);
25
- const validAttributes = await this.getAttributeCodes(entityType, organizationId);
26
- 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]);
27
- entityData.created_date = new Date();
28
- if (loggedInUser) {
29
- entityData.created_by = loggedInUser.id;
30
- if (!entityData.organization_id)
31
- entityData.organization_id = loggedInUser.organization_id;
32
- if (!entityData.enterprise_id)
33
- entityData.enterprise_id = loggedInUser.enterprise_id;
34
- if (!entityData.level_type)
35
- entityData.level_type = loggedInUser.level_type;
36
- if (!entityData.level_id)
37
- entityData.level_id = loggedInUser.level_id;
38
- if (!entityData.status)
39
- entityData.status = statusList[0].id;
40
- if (!entityData.entity_type)
41
- entityData.entity_type = entityType;
42
- }
43
- if (!entityData.code && loggedInUser) {
44
- const result = await this.dataSource.query(`SELECT MAX(CAST(SUBSTRING(code, LENGTH(entity_type) + 1) AS UNSIGNED)) AS max_seq_no
45
- FROM ${tableName}
46
- WHERE entity_type = ?`, [entityData.entity_type]);
47
- let maxSeqNo = result?.[0]?.max_seq_no ? Number(result[0].max_seq_no) : 0;
48
- maxSeqNo += 1;
49
- entityData.code = `${entityData.entity_type}${maxSeqNo}`;
50
- }
51
- const bypassColumn = [
52
- {
53
- attribute_key: 'created_date',
54
- db_datatype: 'datetime',
55
- element_type: 'date',
56
- },
57
- {
58
- attribute_key: 'created_by',
59
- db_datatype: 'int',
60
- element_type: 'number',
61
- },
62
- {
63
- attribute_key: 'organization_id',
64
- db_datatype: 'datetime',
65
- element_type: 'date',
66
- },
67
- {
68
- attribute_key: 'enterprise_id',
69
- db_datatype: 'int',
70
- element_type: 'number',
71
- },
72
- { attribute_key: 'level_type', db_datatype: 'int', element_type: 'text' },
73
- { attribute_key: 'level_id', db_datatype: 'int', element_type: 'number' },
74
- { attribute_key: 'status', db_datatype: 'varchar', element_type: 'text' },
75
- {
76
- attribute_key: 'entity_type',
77
- db_datatype: 'varchar',
78
- element_type: 'text',
79
- },
80
- { attribute_key: 'code', db_datatype: 'varchar', element_type: 'text' },
81
- ];
82
- validAttributes.push(...bypassColumn);
83
- const columns = [];
84
- const values = [];
85
- validAttributes.forEach((attr) => {
86
- columns.push(attr.attribute_key);
87
- values.push(attr.attribute_key in entityData
88
- ? entityData[attr.attribute_key]
89
- : null);
90
- });
91
- const placeholders = columns.map(() => '?').join(', ');
92
- const escapedColumns = columns.map((col) => `\`${col}\``).join(', ');
93
- const insertQuery = `INSERT INTO \`${tableName}\` (${escapedColumns}) VALUES (${placeholders})`;
94
- const result = await this.dataSource.query(insertQuery, values);
95
- return result;
96
- }
97
- async createEntityWithRelation(entityType, data, loggedInUser) {
98
- const organizationId = loggedInUser.organization_id;
99
- const getRelation = await this.dataSource.query(`SELECT * FROM cr_entity_relation WHERE organization_id = ? AND source_entity_type = ?`, [organizationId, entityType]);
100
- const { mappedEntities, ...mainData } = data;
101
- const createdEntityData = await this.createEntity(entityType, mainData, loggedInUser);
102
- const mainID = createdEntityData.insertId || createdEntityData.id;
103
- if (mappedEntities && getRelation.length > 0) {
104
- for (const relation of getRelation) {
105
- const targetEntityType = relation.target_entity_type;
106
- const relationType = relation.relation_type;
107
- const relationId = relation.relation_id;
108
- if (!mappedEntities[targetEntityType])
109
- continue;
110
- const entityDataArray = Array.isArray(mappedEntities[targetEntityType])
111
- ? mappedEntities[targetEntityType]
112
- : [mappedEntities[targetEntityType]];
113
- for (const item of entityDataArray) {
114
- const itemWithRef = {
115
- ...item,
116
- entity_type: targetEntityType,
117
- };
118
- const createdRelatedEntity = await this.createEntity(targetEntityType, itemWithRef, loggedInUser);
119
- await this.dataSource.query(`INSERT INTO cr_entity_relation_data (source_entity_id, source_entity_type, target_entity_id, target_entity_type, relation_type) VALUES (?, ?, ?, ?, ?)`, [
120
- mainID,
121
- entityType,
122
- createdRelatedEntity.insertId,
123
- targetEntityType,
124
- relationType,
125
- ]);
126
- }
127
- }
128
- }
129
- return {
130
- mainEntity: {
131
- id: mainID,
132
- entityType,
133
- data: createdEntityData,
134
- },
135
- };
136
- }
137
- async getEntityWithRelation(entityType, id, loggedInUser) {
138
- const mainEntity = await this.getEntity(entityType, id, loggedInUser);
139
- const relatedEntities = await this.dataSource.query(`SELECT * FROM cr_entity_relation_data WHERE source_entity_id = ? AND target_entity_type IN (
140
- SELECT target_entity_type FROM cr_entity_relation WHERE source_entity_type = ?)`, [id, entityType]);
141
- const response = {
142
- entity_type: entityType,
143
- ...mainEntity,
144
- };
145
- if (relatedEntities.length > 0) {
146
- response.mappedEntities = await this.formatMappedEntities(relatedEntities, loggedInUser);
147
- }
148
- return response;
149
- }
150
- async formatMappedEntities(relatedEntities, loggedInUser) {
151
- const mappedEntities = {};
152
- for (const relation of relatedEntities) {
153
- const targetEntityType = relation.target_entity_type;
154
- const targetEntityId = relation.target_entity_id;
155
- const entityData = await this.getEntity(targetEntityType, targetEntityId, loggedInUser);
156
- if (!mappedEntities[targetEntityType]) {
157
- mappedEntities[targetEntityType] = [];
158
- }
159
- mappedEntities[targetEntityType].push(entityData);
160
- }
161
- return mappedEntities;
162
- }
163
- async updateEntityWithRelations(entityType, id, data, loggedInUser) {
164
- const organizationId = loggedInUser.organization_id;
165
- const { mappedEntities, ...mainData } = data;
166
- const updatedMainEntity = await this.updateEntity(entityType, id, mainData, loggedInUser);
167
- const updatedRelations = {};
168
- if (mappedEntities) {
169
- const getRelationDefs = await this.dataSource.query(`SELECT * FROM cr_entity_relation WHERE organization_id = ? AND source_entity_type = ?`, [organizationId, entityType]);
170
- for (const [targetEntityType, rawEntityData] of Object.entries(mappedEntities)) {
171
- const relationDef = getRelationDefs.find((r) => r.target_entity_type === targetEntityType);
172
- if (!relationDef)
173
- continue;
174
- const relationType = relationDef.relation_type;
175
- const entityArray = Array.isArray(rawEntityData)
176
- ? rawEntityData
177
- : [rawEntityData];
178
- 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]);
179
- for (const existingRel of existingRelationsForType) {
180
- await this.deleteEntity(existingRel.target_entity_type, existingRel.target_entity_id, loggedInUser);
181
- await this.dataSource.query(`DELETE FROM cr_entity_relation_data WHERE id = ?`, [existingRel.id]);
182
- }
183
- const updatedEntities = [];
184
- for (const item of entityArray) {
185
- let targetEntityId;
186
- let entityData;
187
- if (item.id) {
188
- await this.updateEntity(targetEntityType, item.id, item, loggedInUser);
189
- targetEntityId = item.id;
190
- entityData = await this.getEntity(targetEntityType, targetEntityId, loggedInUser);
191
- }
192
- else {
193
- const createdEntity = await this.createEntity(targetEntityType, item, loggedInUser);
194
- targetEntityId = createdEntity.insertId || createdEntity.id;
195
- entityData = await this.getEntity(targetEntityType, targetEntityId, loggedInUser);
196
- }
197
- await this.dataSource.query(`INSERT INTO cr_entity_relation_data
198
- (source_entity_id, source_entity_type, target_entity_id, target_entity_type, relation_type)
199
- VALUES (?, ?, ?, ?, ?)`, [id, entityType, targetEntityId, targetEntityType, relationType]);
200
- if (relationType === 'ONE_TO_MANY') {
201
- updatedEntities.push(entityData);
202
- }
203
- else if (relationType === 'ONE_TO_ONE' ||
204
- relationType === 'MANY_TO_ONE') {
205
- updatedEntities[0] = entityData;
206
- }
207
- }
208
- updatedRelations[targetEntityType] =
209
- relationType === 'ONE_TO_MANY' ? updatedEntities : updatedEntities[0];
210
- }
211
- }
212
- return {
213
- mainEntity: {
214
- id,
215
- entityType,
216
- data: updatedMainEntity,
217
- },
218
- relatedEntities: updatedRelations,
219
- };
220
- }
221
- async updateEntity(entityType, id, entityData, loggedInUser) {
222
- const organizationId = loggedInUser.organization_id;
223
- const tableName = await this.getTableName(entityType, organizationId);
224
- const validAttributes = await this.getAttributeCodes(entityType, organizationId);
225
- const updates = [];
226
- const values = [];
227
- entityData.modified_date = new Date();
228
- if (loggedInUser) {
229
- entityData.modified_by = loggedInUser.id;
230
- if (!entityData.organization_id && entityData.entity_type !== 'ORG')
231
- entityData.organization_id = loggedInUser.organization_id;
232
- if (!entityData.enterprise_id)
233
- entityData.enterprise_id = loggedInUser.enterprise_id;
234
- }
235
- if (!entityData.code && loggedInUser) {
236
- const result = await this.dataSource.query(`SELECT MAX(CAST(SUBSTRING(code, LENGTH(entity_type) + 1) AS UNSIGNED)) AS max_seq_no
237
- FROM ${tableName}
238
- WHERE entity_type = ?`, [entityData.entity_type]);
239
- let maxSeqNo = result?.[0]?.max_seq_no ? Number(result[0].max_seq_no) : 0;
240
- maxSeqNo += 1;
241
- entityData.code = `${entityData.entity_type}${maxSeqNo}`;
242
- }
243
- const bypassColumn = [
244
- {
245
- attribute_key: 'created_date',
246
- db_datatype: 'datetime',
247
- element_type: 'date',
248
- },
249
- {
250
- attribute_key: 'created_by',
251
- db_datatype: 'int',
252
- element_type: 'number',
253
- },
254
- {
255
- attribute_key: 'modified_date',
256
- db_datatype: 'datetime',
257
- element_type: 'date',
258
- },
259
- {
260
- attribute_key: 'modified_by',
261
- db_datatype: 'int',
262
- element_type: 'number',
263
- },
264
- {
265
- attribute_key: 'organization_id',
266
- db_datatype: 'int',
267
- element_type: 'number',
268
- },
269
- {
270
- attribute_key: 'enterprise_id',
271
- db_datatype: 'int',
272
- element_type: 'number',
273
- },
274
- {
275
- attribute_key: 'level_type',
276
- db_datatype: 'varchar',
277
- element_type: 'text',
278
- },
279
- { attribute_key: 'level_id', db_datatype: 'int', element_type: 'number' },
280
- { attribute_key: 'status', db_datatype: 'varchar', element_type: 'text' },
281
- {
282
- attribute_key: 'entity_type',
283
- db_datatype: 'varchar',
284
- element_type: 'text',
285
- },
286
- { attribute_key: 'code', db_datatype: 'varchar', element_type: 'text' },
287
- ];
288
- validAttributes.push(...bypassColumn);
289
- for (const key of Object.keys(entityData)) {
290
- if (validAttributes.some((attr) => attr.attribute_key === key)) {
291
- updates.push(`\`${key}\` = ?`);
292
- values.push(entityData[key]);
293
- }
294
- }
295
- if (updates.length === 0) {
296
- throw new Error('No valid attributes to update.');
297
- }
298
- const updateQuery = `UPDATE \`${tableName}\` SET ${updates.join(', ')} WHERE id = ?`;
299
- values.push(id);
300
- const result = await this.dataSource.query(updateQuery, values);
301
- return result;
302
- }
303
- async getEntity(entityType, id, loggedInUser) {
304
- const organizationId = loggedInUser.organization_id;
305
- const tableName = await this.getTableName(entityType, organizationId);
306
- const validAttributes = await this.getAttributeCodes(entityType, organizationId);
307
- const columns = validAttributes
308
- .map((attr) => `\`${attr.attribute_key}\``)
309
- .join(', ');
310
- const selectQuery = `SELECT ${columns} FROM \`${tableName}\` WHERE id = ?`;
311
- const result = await this.dataSource.query(selectQuery, [id]);
312
- if (!result.length)
313
- return null;
314
- const row = result[0];
315
- for (const attr of validAttributes) {
316
- if (attr.db_datatype == 'boolean' &&
317
- row[attr.attribute_key] !== undefined) {
318
- row[attr.attribute_key] = row[attr.attribute_key] == 1 ? true : false;
319
- }
320
- else if (attr.element_type == 'upload' &&
321
- row[attr.attribute_key] !== undefined) {
322
- console.log('Fetching media for', attr.attribute_key, row[attr.attribute_key]);
323
- row[attr.attribute_key] =
324
- row[attr.attribute_key] != null
325
- ? await this.mediaDataService.getMediaDownloadUrl(Number(row[attr.attribute_key]), loggedInUser)
326
- : null;
327
- console.log('Fetched media:', row[attr.attribute_key]);
328
- }
329
- }
330
- return row;
331
- }
332
- async getTableName(entityType, organizationId) {
333
- const result = await this.dataSource.query(`SELECT db_table_name FROM cr_entity_master WHERE organization_id = ? AND mapped_entity_type = ?`, [organizationId, entityType]);
334
- if (!result.length) {
335
- console.log(`Entity type '${entityType}' not found in cr_entity_master`);
336
- }
337
- return result[0].db_table_name;
338
- }
339
- async getAttributeCodes(entityType, organizationId) {
340
- const result = await this.dataSource.query(`SELECT attribute_key, db_datatype, element_type
341
- FROM cr_attribute_master
342
- WHERE mapped_entity_type = ? AND organization_id = ?`, [entityType, organizationId]);
343
- if (!result.length) {
344
- console.log(`No attributes found for entity '${entityType}' and org '${organizationId}'`);
345
- }
346
- return result.map((row) => ({
347
- attribute_key: row.attribute_key,
348
- db_datatype: row.db_datatype,
349
- element_type: row.element_type,
350
- }));
351
- }
352
- async deleteEntity(entityType, id, loggedInUser) {
353
- const organizationId = loggedInUser.organization_id;
354
- const tableName = await this.getTableName(entityType, organizationId);
355
- const deleteQuery = `DELETE FROM \`${tableName}\` WHERE id = ?`;
356
- const result = await this.dataSource.query(deleteQuery, [id]);
357
- return result;
358
- }
359
- async getEntitiesDropdownList(loggedInUser, appcode) {
360
- const organizationId = loggedInUser.organization_id;
361
- let query = `SELECT name as label,mapped_entity_type as value FROM cr_entity_master WHERE organization_id = ?`;
362
- const params = [organizationId];
363
- if (appcode) {
364
- query += ` AND appcode = ?`;
365
- params.push(appcode);
366
- }
367
- const dropdown = await this.dataSource.query(query, params);
368
- return dropdown;
369
- }
370
- async getCode(entityType, loggedInUser) {
371
- const organizationId = loggedInUser.organization_id;
372
- const result = await this.dataSource.query(`SELECT db_table_name
373
- FROM cr_entity_master
374
- WHERE mapped_entity_type = ? AND organization_id = ?`, [entityType, organizationId]);
375
- if (!result.length) {
376
- throw new Error(`Entity type '${entityType}' not found in cr_entity_master for org '${organizationId}'`);
377
- }
378
- const tableName = result[0].db_table_name;
379
- const seqResult = await this.dataSource.query(`SELECT MAX(CAST(SUBSTRING(code, LENGTH(entity_type) + 1) AS UNSIGNED)) AS max_seq_no
380
- FROM \`${tableName}\`
381
- WHERE entity_type = ?`, [entityType]);
382
- let maxSeqNo = seqResult?.[0]?.max_seq_no
383
- ? Number(seqResult[0].max_seq_no)
384
- : 0;
385
- maxSeqNo += 1;
386
- return `${entityType}${maxSeqNo}`;
387
- }
388
- };
389
- exports.EntityDynamicService = EntityDynamicService;
390
- exports.EntityDynamicService = EntityDynamicService = __decorate([
391
- (0, common_1.Injectable)(),
392
- __metadata("design:paramtypes", [typeorm_1.DataSource,
393
- media_data_service_1.MediaDataService])
394
- ], EntityDynamicService);
395
- //# 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;AAGjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YACmB,UAAsB,EACtB,gBAAkC;QADlC,eAAU,GAAV,UAAU,CAAY;QACtB,qBAAgB,GAAhB,gBAAgB,CAAkB;IAClD,CAAC;IAGJ,KAAK,CAAC,YAAY,CAChB,UAAkB,EAClB,UAA+B,EAC/B,YAAiB;QAEjB,MAAM,cAAc,GAAG,YAAY,CAAC,eAA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AAA,mBAAU,GAAE;qCAGoB,oBAAU;QACJ,qCAAgB;GAH1C,oBAAoB,CAwoBhC"}
@@ -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
- }
@@ -1,141 +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
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.EntityListService = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const entity_table_service_1 = require("./entity-table.service");
18
- const entity_list_data_dto_1 = require("../dto/entity-list-data.dto");
19
- const typeorm_1 = require("@nestjs/typeorm");
20
- const typeorm_2 = require("typeorm");
21
- const entity_tab_dto_1 = require("../dto/entity-tab.dto");
22
- const entity_table_column_service_1 = require("./entity-table-column.service");
23
- let EntityListService = class EntityListService {
24
- constructor(entityTableService, entityTableColumnService, entityManager) {
25
- this.entityTableService = entityTableService;
26
- this.entityTableColumnService = entityTableColumnService;
27
- this.entityManager = entityManager;
28
- }
29
- async getFilterDataWithTabs(entityType, listType, filters, sortColumn, sortOrder, pageNumber, pageSize, tabColumn, tabValue, appcode) {
30
- const entityListData = new entity_list_data_dto_1.EntityListData();
31
- const entityTable = await this.entityTableService.findByEntityTypeAndListType(entityType, listType);
32
- if (entityTable) {
33
- if (1 != entityTable.is_proc) {
34
- const totalCount = await this.getTotalCount(entityTable, filters, appcode);
35
- entityListData.entity_tabs = totalCount;
36
- if (tabColumn && tabValue) {
37
- filters[tabColumn] = tabValue;
38
- }
39
- entityListData.entity_list = await this.getFilteredList(entityTable, filters, sortColumn, sortOrder, pageNumber, pageSize, appcode);
40
- }
41
- }
42
- return entityListData;
43
- }
44
- async getFilteredList(entityTable, filters, sortColumn, sortOrder, pageNumber, pageSize, appcode) {
45
- let query = this.getQuery(entityTable.data_source, null);
46
- const whereClause = await this.getWhereClause(entityTable, filters);
47
- if (whereClause.query) {
48
- query += whereClause.query;
49
- }
50
- if (sortColumn)
51
- query += ` ORDER BY ${sortColumn} ${sortOrder}`;
52
- if (pageSize && pageNumber)
53
- query += ` LIMIT ${pageSize} OFFSET ${pageNumber * pageSize}`;
54
- return await this.entityManager.query(query, whereClause.argumentList);
55
- }
56
- async getTotalCount(entityTable, filters, appcode) {
57
- let query = this.getQuery(entityTable.data_source, entityTable.tab_column);
58
- const whereClause = await this.getWhereClause(entityTable, filters);
59
- if (whereClause.query) {
60
- query += whereClause.query;
61
- }
62
- query += ' GROUP BY ' + entityTable.tab_column;
63
- const tabs = await this.entityManager.query(query, whereClause.argumentList);
64
- let all = 0;
65
- for (const i in tabs) {
66
- const tab = tabs[i];
67
- tab.tab_value = String(tab.tab_value).toUpperCase();
68
- all += parseInt(String(tab.tab_value_count));
69
- }
70
- const entityTab = new entity_tab_dto_1.EntityTab();
71
- entityTab.tab_value = 'ALL';
72
- entityTab.tab_value_count = all;
73
- tabs.push(entityTab);
74
- return tabs.reverse();
75
- }
76
- getQuery(source, groupByColumn) {
77
- if (groupByColumn) {
78
- return `SELECT ${groupByColumn} as tab_value, COUNT(1) AS tab_value_count
79
- FROM ${source}`;
80
- }
81
- else {
82
- return `SELECT *
83
- FROM ${source}`;
84
- }
85
- }
86
- async getWhereClause(entityTable, filterCriteria, appcode) {
87
- let query = ' WHERE 1=1 ';
88
- const argsObjectList = [];
89
- const attributeMap = await this.entityTableColumnService.getAttributeJson(entityTable.id, entityTable.entity_type);
90
- if (filterCriteria && Object.keys(filterCriteria).length > 0) {
91
- for (const [columnName, value] of Object.entries(filterCriteria)) {
92
- const column = columnName.endsWith('__from')
93
- ? columnName.replace('__from', '')
94
- : columnName;
95
- if (attributeMap[column]) {
96
- if (attributeMap[column].toLowerCase() === 'label') {
97
- query += ` AND ${column} LIKE ?`;
98
- argsObjectList.push(`%${value}%`);
99
- }
100
- else if (attributeMap[column].toLowerCase() === 'date') {
101
- query += ` AND DATE(${column}) BETWEEN DATE(?) AND DATE(?)`;
102
- argsObjectList.push(filterCriteria[column + '__from'], filterCriteria[column + '__to']);
103
- }
104
- else {
105
- query += ` AND ${column} = ?`;
106
- argsObjectList.push(value);
107
- }
108
- }
109
- else if (column.toLowerCase() === 'searchtext') {
110
- query += ` AND code LIKE ?`;
111
- argsObjectList.push(`%${value}%`);
112
- }
113
- }
114
- }
115
- if (appcode) {
116
- query += ` AND appcode = ?`;
117
- argsObjectList.push(appcode);
118
- }
119
- else if (filterCriteria && filterCriteria.appcode) {
120
- query += ` AND appcode = ?`;
121
- argsObjectList.push(filterCriteria.appcode);
122
- }
123
- return { query, argumentList: argsObjectList };
124
- }
125
- async getMaxSequenceNumber(tableName, parentType, parentId) {
126
- const query = `SELECT COUNT(1) seq_no
127
- FROM ${tableName} WHERE 1=1 `;
128
- const argsObjectList = [];
129
- const result = await this.entityManager.query(query, argsObjectList);
130
- return result ? result[0].seq_no : 0;
131
- }
132
- };
133
- exports.EntityListService = EntityListService;
134
- exports.EntityListService = EntityListService = __decorate([
135
- (0, common_1.Injectable)(),
136
- __param(2, (0, typeorm_1.InjectEntityManager)()),
137
- __metadata("design:paramtypes", [entity_table_service_1.EntityTableService,
138
- entity_table_column_service_1.EntityTableColumnService,
139
- typeorm_2.EntityManager])
140
- ], EntityListService);
141
- //# sourceMappingURL=entity-list.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity-list.service.js","sourceRoot":"","sources":["../../../../src/module/meta/service/entity-list.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,iEAA4D;AAC5D,sEAA6D;AAE7D,6CAAsD;AACtD,qCAAwC;AACxC,0DAAkD;AAClD,+EAAyE;AAGlE,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC5B,YACU,kBAAsC,EACtC,wBAAkD,EAC3B,aAA4B;QAFnD,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,6BAAwB,GAAxB,wBAAwB,CAA0B;QAC3B,kBAAa,GAAb,aAAa,CAAe;IAC1D,CAAC;IAEJ,KAAK,CAAC,qBAAqB,CACzB,UAAkB,EAClB,QAAgB,EAChB,OAA4B,EAC5B,UAA8B,EAC9B,SAA6B,EAC7B,UAAkB,EAClB,QAAgB,EAChB,SAAkB,EAClB,QAAiB,EACjB,OAAgB;QAEhB,MAAM,cAAc,GAAG,IAAI,qCAAc,EAAE,CAAC;QAE5C,MAAM,WAAW,GACf,MAAM,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 -1,20 +0,0 @@
1
- import { DataSource, Repository } from 'typeorm';
2
- import { EntityMaster } from '../entity/entity-master.entity';
3
- import { EntityMasterRepository } from '../repository/entity-master.repository';
4
- import { ListMasterService } from 'src/module/listmaster/service/list-master.service';
5
- import { SavedFilterRepositoryService } from 'src/module/filter/repository/saved-filter.repository';
6
- export declare class EntityMasterService {
7
- private entityMasterRepository;
8
- private entityMasterRepo;
9
- private readonly dataSource;
10
- private readonly listMasterService;
11
- private readonly savedFilterRepoService;
12
- constructor(entityMasterRepository: Repository<EntityMaster>, entityMasterRepo: EntityMasterRepository, dataSource: DataSource, listMasterService: ListMasterService, savedFilterRepoService: SavedFilterRepositoryService);
13
- getEntityById(id: number): Promise<EntityMaster | null>;
14
- getEntityData(mappedEntityType: string | null, loggedInUser: any): Promise<EntityMaster>;
15
- getEntityByTableName(tableName: string): Promise<EntityMaster | null>;
16
- save(entityMaster: EntityMaster): Promise<EntityMaster>;
17
- update(id: number, entityMaster: EntityMaster): Promise<import("typeorm").UpdateResult>;
18
- findByMappedEntityType(mappedEntityType: string): Promise<EntityMaster | null>;
19
- getFilterMetaData(entityType: string, loggedInUser: any): Promise<EntityMaster>;
20
- }