rez_core 4.0.106 → 4.0.107

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 (969) hide show
  1. package/package.json +1 -1
  2. package/src/module/filter/service/filter.service.ts +36 -13
  3. package/dist/app.controller.d.ts +0 -6
  4. package/dist/app.controller.js +0 -34
  5. package/dist/app.controller.js.map +0 -1
  6. package/dist/app.module.d.ts +0 -2
  7. package/dist/app.module.js +0 -62
  8. package/dist/app.module.js.map +0 -1
  9. package/dist/app.service.d.ts +0 -3
  10. package/dist/app.service.js +0 -20
  11. package/dist/app.service.js.map +0 -1
  12. package/dist/config/config.module.d.ts +0 -2
  13. package/dist/config/config.module.js +0 -29
  14. package/dist/config/config.module.js.map +0 -1
  15. package/dist/config/database.config.d.ts +0 -7
  16. package/dist/config/database.config.js +0 -39
  17. package/dist/config/database.config.js.map +0 -1
  18. package/dist/constant/global.constant.d.ts +0 -50
  19. package/dist/constant/global.constant.js +0 -54
  20. package/dist/constant/global.constant.js.map +0 -1
  21. package/dist/core.module.d.ts +0 -4
  22. package/dist/core.module.js +0 -79
  23. package/dist/core.module.js.map +0 -1
  24. package/dist/decorators/roles.decorator.d.ts +0 -1
  25. package/dist/decorators/roles.decorator.js +0 -7
  26. package/dist/decorators/roles.decorator.js.map +0 -1
  27. package/dist/dtos/response.d.ts +0 -5
  28. package/dist/dtos/response.dto.d.ts +0 -5
  29. package/dist/dtos/response.dto.js +0 -3
  30. package/dist/dtos/response.dto.js.map +0 -1
  31. package/dist/dtos/response.js +0 -3
  32. package/dist/dtos/response.js.map +0 -1
  33. package/dist/index.d.ts +0 -1
  34. package/dist/index.js +0 -18
  35. package/dist/index.js.map +0 -1
  36. package/dist/main.d.ts +0 -1
  37. package/dist/main.js +0 -25
  38. package/dist/main.js.map +0 -1
  39. package/dist/module/auth/auth.module.d.ts +0 -2
  40. package/dist/module/auth/auth.module.js +0 -57
  41. package/dist/module/auth/auth.module.js.map +0 -1
  42. package/dist/module/auth/controller/auth.controller.d.ts +0 -5
  43. package/dist/module/auth/controller/auth.controller.js +0 -25
  44. package/dist/module/auth/controller/auth.controller.js.map +0 -1
  45. package/dist/module/auth/guards/google-auth.guard.d.ts +0 -6
  46. package/dist/module/auth/guards/google-auth.guard.js +0 -21
  47. package/dist/module/auth/guards/google-auth.guard.js.map +0 -1
  48. package/dist/module/auth/guards/jwt.guard.d.ts +0 -10
  49. package/dist/module/auth/guards/jwt.guard.js +0 -36
  50. package/dist/module/auth/guards/jwt.guard.js.map +0 -1
  51. package/dist/module/auth/guards/role.guard.d.ts +0 -9
  52. package/dist/module/auth/guards/role.guard.js +0 -59
  53. package/dist/module/auth/guards/role.guard.js.map +0 -1
  54. package/dist/module/auth/services/auth.service.d.ts +0 -14
  55. package/dist/module/auth/services/auth.service.js +0 -39
  56. package/dist/module/auth/services/auth.service.js.map +0 -1
  57. package/dist/module/auth/services/jwt.service.d.ts +0 -6
  58. package/dist/module/auth/services/jwt.service.js +0 -28
  59. package/dist/module/auth/services/jwt.service.js.map +0 -1
  60. package/dist/module/auth/strategies/google.strategy.d.ts +0 -10
  61. package/dist/module/auth/strategies/google.strategy.js +0 -59
  62. package/dist/module/auth/strategies/google.strategy.js.map +0 -1
  63. package/dist/module/auth/strategies/jwt.strategy.d.ts +0 -19
  64. package/dist/module/auth/strategies/jwt.strategy.js +0 -46
  65. package/dist/module/auth/strategies/jwt.strategy.js.map +0 -1
  66. package/dist/module/auth/strategies/local.strategy.d.ts +0 -7
  67. package/dist/module/auth/strategies/local.strategy.js +0 -30
  68. package/dist/module/auth/strategies/local.strategy.js.map +0 -1
  69. package/dist/module/dashboard/controller/dashboard.controller.d.ts +0 -33
  70. package/dist/module/dashboard/controller/dashboard.controller.js +0 -55
  71. package/dist/module/dashboard/controller/dashboard.controller.js.map +0 -1
  72. package/dist/module/dashboard/dashboard.module.d.ts +0 -2
  73. package/dist/module/dashboard/dashboard.module.js +0 -34
  74. package/dist/module/dashboard/dashboard.module.js.map +0 -1
  75. package/dist/module/dashboard/entity/dashboard_page_data.entity.d.ts +0 -10
  76. package/dist/module/dashboard/entity/dashboard_page_data.entity.js +0 -50
  77. package/dist/module/dashboard/entity/dashboard_page_data.entity.js.map +0 -1
  78. package/dist/module/dashboard/entity/widget_master.entity.d.ts +0 -7
  79. package/dist/module/dashboard/entity/widget_master.entity.js +0 -38
  80. package/dist/module/dashboard/entity/widget_master.entity.js.map +0 -1
  81. package/dist/module/dashboard/repository/dashboard.repository.d.ts +0 -10
  82. package/dist/module/dashboard/repository/dashboard.repository.js +0 -50
  83. package/dist/module/dashboard/repository/dashboard.repository.js.map +0 -1
  84. package/dist/module/dashboard/service/dashboard.service.d.ts +0 -35
  85. package/dist/module/dashboard/service/dashboard.service.js +0 -62
  86. package/dist/module/dashboard/service/dashboard.service.js.map +0 -1
  87. package/dist/module/dev/dev.module.d.ts +0 -2
  88. package/dist/module/dev/dev.module.js +0 -25
  89. package/dist/module/dev/dev.module.js.map +0 -1
  90. package/dist/module/dev/service/dev.service.d.ts +0 -5
  91. package/dist/module/dev/service/dev.service.js +0 -25
  92. package/dist/module/dev/service/dev.service.js.map +0 -1
  93. package/dist/module/enterprise/controller/organization.controller.d.ts +0 -14
  94. package/dist/module/enterprise/controller/organization.controller.js +0 -59
  95. package/dist/module/enterprise/controller/organization.controller.js.map +0 -1
  96. package/dist/module/enterprise/enterprise.module.d.ts +0 -2
  97. package/dist/module/enterprise/enterprise.module.js +0 -43
  98. package/dist/module/enterprise/enterprise.module.js.map +0 -1
  99. package/dist/module/enterprise/entity/enterprise.entity.d.ts +0 -13
  100. package/dist/module/enterprise/entity/enterprise.entity.js +0 -64
  101. package/dist/module/enterprise/entity/enterprise.entity.js.map +0 -1
  102. package/dist/module/enterprise/entity/organization-app-mapping.entity.d.ts +0 -5
  103. package/dist/module/enterprise/entity/organization-app-mapping.entity.js +0 -32
  104. package/dist/module/enterprise/entity/organization-app-mapping.entity.js.map +0 -1
  105. package/dist/module/enterprise/entity/organization.entity.d.ts +0 -30
  106. package/dist/module/enterprise/entity/organization.entity.js +0 -136
  107. package/dist/module/enterprise/entity/organization.entity.js.map +0 -1
  108. package/dist/module/enterprise/repository/enterprise.repository.d.ts +0 -8
  109. package/dist/module/enterprise/repository/enterprise.repository.js +0 -48
  110. package/dist/module/enterprise/repository/enterprise.repository.js.map +0 -1
  111. package/dist/module/enterprise/repository/organization.repository.d.ts +0 -8
  112. package/dist/module/enterprise/repository/organization.repository.js +0 -41
  113. package/dist/module/enterprise/repository/organization.repository.js.map +0 -1
  114. package/dist/module/enterprise/repository/school.repository.d.ts +0 -8
  115. package/dist/module/enterprise/repository/school.repository.js +0 -240
  116. package/dist/module/enterprise/repository/school.repository.js.map +0 -1
  117. package/dist/module/enterprise/service/brand.service.d.ts +0 -3
  118. package/dist/module/enterprise/service/brand.service.js +0 -18
  119. package/dist/module/enterprise/service/brand.service.js.map +0 -1
  120. package/dist/module/enterprise/service/enterprise.service.d.ts +0 -8
  121. package/dist/module/enterprise/service/enterprise.service.js +0 -31
  122. package/dist/module/enterprise/service/enterprise.service.js.map +0 -1
  123. package/dist/module/enterprise/service/organization-app-mapping.service.d.ts +0 -2
  124. package/dist/module/enterprise/service/organization-app-mapping.service.js +0 -17
  125. package/dist/module/enterprise/service/organization-app-mapping.service.js.map +0 -1
  126. package/dist/module/enterprise/service/organization.service.d.ts +0 -19
  127. package/dist/module/enterprise/service/organization.service.js +0 -121
  128. package/dist/module/enterprise/service/organization.service.js.map +0 -1
  129. package/dist/module/filter/controller/filter.controller.d.ts +0 -39
  130. package/dist/module/filter/controller/filter.controller.js +0 -91
  131. package/dist/module/filter/controller/filter.controller.js.map +0 -1
  132. package/dist/module/filter/dto/filter-request.dto.d.ts +0 -35
  133. package/dist/module/filter/dto/filter-request.dto.js +0 -3
  134. package/dist/module/filter/dto/filter-request.dto.js.map +0 -1
  135. package/dist/module/filter/entity/saved-filter-detail.entity.d.ts +0 -14
  136. package/dist/module/filter/entity/saved-filter-detail.entity.js +0 -67
  137. package/dist/module/filter/entity/saved-filter-detail.entity.js.map +0 -1
  138. package/dist/module/filter/entity/saved-filter-master.entity.d.ts +0 -8
  139. package/dist/module/filter/entity/saved-filter-master.entity.js +0 -43
  140. package/dist/module/filter/entity/saved-filter-master.entity.js.map +0 -1
  141. package/dist/module/filter/filter.module.d.ts +0 -2
  142. package/dist/module/filter/filter.module.js +0 -44
  143. package/dist/module/filter/filter.module.js.map +0 -1
  144. package/dist/module/filter/repository/saved-filter.repository.d.ts +0 -40
  145. package/dist/module/filter/repository/saved-filter.repository.js +0 -144
  146. package/dist/module/filter/repository/saved-filter.repository.js.map +0 -1
  147. package/dist/module/filter/service/filter-evaluator.service.d.ts +0 -9
  148. package/dist/module/filter/service/filter-evaluator.service.js +0 -62
  149. package/dist/module/filter/service/filter-evaluator.service.js.map +0 -1
  150. package/dist/module/filter/service/filter.service.d.ts +0 -70
  151. package/dist/module/filter/service/filter.service.js +0 -686
  152. package/dist/module/filter/service/filter.service.js.map +0 -1
  153. package/dist/module/filter/service/saved-filter.service.d.ts +0 -30
  154. package/dist/module/filter/service/saved-filter.service.js +0 -125
  155. package/dist/module/filter/service/saved-filter.service.js.map +0 -1
  156. package/dist/module/ics/controller/ics.controller.d.ts +0 -8
  157. package/dist/module/ics/controller/ics.controller.js +0 -45
  158. package/dist/module/ics/controller/ics.controller.js.map +0 -1
  159. package/dist/module/ics/dto/ics.dto.d.ts +0 -17
  160. package/dist/module/ics/dto/ics.dto.js +0 -73
  161. package/dist/module/ics/dto/ics.dto.js.map +0 -1
  162. package/dist/module/ics/ics.module.d.ts +0 -2
  163. package/dist/module/ics/ics.module.js +0 -26
  164. package/dist/module/ics/ics.module.js.map +0 -1
  165. package/dist/module/ics/service/ics.service.d.ts +0 -4
  166. package/dist/module/ics/service/ics.service.js +0 -61
  167. package/dist/module/ics/service/ics.service.js.map +0 -1
  168. package/dist/module/integration/controller/calender-event.controller.d.ts +0 -7
  169. package/dist/module/integration/controller/calender-event.controller.js +0 -51
  170. package/dist/module/integration/controller/calender-event.controller.js.map +0 -1
  171. package/dist/module/integration/controller/integration.controller.d.ts +0 -165
  172. package/dist/module/integration/controller/integration.controller.js +0 -697
  173. package/dist/module/integration/controller/integration.controller.js.map +0 -1
  174. package/dist/module/integration/controller/wrapper.controller.d.ts +0 -23
  175. package/dist/module/integration/controller/wrapper.controller.js +0 -52
  176. package/dist/module/integration/controller/wrapper.controller.js.map +0 -1
  177. package/dist/module/integration/dto/create-config.dto.d.ts +0 -217
  178. package/dist/module/integration/dto/create-config.dto.js +0 -495
  179. package/dist/module/integration/dto/create-config.dto.js.map +0 -1
  180. package/dist/module/integration/entity/integration-config.entity.d.ts +0 -54
  181. package/dist/module/integration/entity/integration-config.entity.js +0 -78
  182. package/dist/module/integration/entity/integration-config.entity.js.map +0 -1
  183. package/dist/module/integration/entity/integration-entity-mapper.entity.d.ts +0 -6
  184. package/dist/module/integration/entity/integration-entity-mapper.entity.js +0 -33
  185. package/dist/module/integration/entity/integration-entity-mapper.entity.js.map +0 -1
  186. package/dist/module/integration/entity/integration-source.entity.d.ts +0 -7
  187. package/dist/module/integration/entity/integration-source.entity.js +0 -37
  188. package/dist/module/integration/entity/integration-source.entity.js.map +0 -1
  189. package/dist/module/integration/entity/user-integration.entity.d.ts +0 -23
  190. package/dist/module/integration/entity/user-integration.entity.js +0 -70
  191. package/dist/module/integration/entity/user-integration.entity.js.map +0 -1
  192. package/dist/module/integration/examples/usage.example.d.ts +0 -16
  193. package/dist/module/integration/examples/usage.example.js +0 -217
  194. package/dist/module/integration/examples/usage.example.js.map +0 -1
  195. package/dist/module/integration/factories/base.factory.d.ts +0 -9
  196. package/dist/module/integration/factories/base.factory.js +0 -3
  197. package/dist/module/integration/factories/base.factory.js.map +0 -1
  198. package/dist/module/integration/factories/email.factory.d.ts +0 -17
  199. package/dist/module/integration/factories/email.factory.js +0 -55
  200. package/dist/module/integration/factories/email.factory.js.map +0 -1
  201. package/dist/module/integration/factories/integration.factory.d.ts +0 -33
  202. package/dist/module/integration/factories/integration.factory.js +0 -104
  203. package/dist/module/integration/factories/integration.factory.js.map +0 -1
  204. package/dist/module/integration/factories/sms.factory.d.ts +0 -17
  205. package/dist/module/integration/factories/sms.factory.js +0 -58
  206. package/dist/module/integration/factories/sms.factory.js.map +0 -1
  207. package/dist/module/integration/factories/telephone.factory.d.ts +0 -15
  208. package/dist/module/integration/factories/telephone.factory.js +0 -49
  209. package/dist/module/integration/factories/telephone.factory.js.map +0 -1
  210. package/dist/module/integration/factories/whatsapp.factory.d.ts +0 -19
  211. package/dist/module/integration/factories/whatsapp.factory.js +0 -63
  212. package/dist/module/integration/factories/whatsapp.factory.js.map +0 -1
  213. package/dist/module/integration/integration.module.d.ts +0 -2
  214. package/dist/module/integration/integration.module.js +0 -96
  215. package/dist/module/integration/integration.module.js.map +0 -1
  216. package/dist/module/integration/service/calendar-event.service.d.ts +0 -8
  217. package/dist/module/integration/service/calendar-event.service.js +0 -101
  218. package/dist/module/integration/service/calendar-event.service.js.map +0 -1
  219. package/dist/module/integration/service/integration-entity-mapper.service.d.ts +0 -7
  220. package/dist/module/integration/service/integration-entity-mapper.service.js +0 -36
  221. package/dist/module/integration/service/integration-entity-mapper.service.js.map +0 -1
  222. package/dist/module/integration/service/integration-queue.service.d.ts +0 -40
  223. package/dist/module/integration/service/integration-queue.service.js +0 -147
  224. package/dist/module/integration/service/integration-queue.service.js.map +0 -1
  225. package/dist/module/integration/service/integration.service.d.ts +0 -205
  226. package/dist/module/integration/service/integration.service.js +0 -1587
  227. package/dist/module/integration/service/integration.service.js.map +0 -1
  228. package/dist/module/integration/service/oauth.service.d.ts +0 -18
  229. package/dist/module/integration/service/oauth.service.js +0 -190
  230. package/dist/module/integration/service/oauth.service.js.map +0 -1
  231. package/dist/module/integration/service/wrapper.service.d.ts +0 -36
  232. package/dist/module/integration/service/wrapper.service.js +0 -298
  233. package/dist/module/integration/service/wrapper.service.js.map +0 -1
  234. package/dist/module/integration/strategies/email/gmail-api.strategy.d.ts +0 -13
  235. package/dist/module/integration/strategies/email/gmail-api.strategy.js +0 -195
  236. package/dist/module/integration/strategies/email/gmail-api.strategy.js.map +0 -1
  237. package/dist/module/integration/strategies/email/outlook-api.strategy.d.ts +0 -5
  238. package/dist/module/integration/strategies/email/outlook-api.strategy.js +0 -44
  239. package/dist/module/integration/strategies/email/outlook-api.strategy.js.map +0 -1
  240. package/dist/module/integration/strategies/email/outlook.strategy.d.ts +0 -5
  241. package/dist/module/integration/strategies/email/outlook.strategy.js +0 -64
  242. package/dist/module/integration/strategies/email/outlook.strategy.js.map +0 -1
  243. package/dist/module/integration/strategies/email/sendgrid-api.strategy.d.ts +0 -22
  244. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js +0 -203
  245. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js.map +0 -1
  246. package/dist/module/integration/strategies/integration.strategy.d.ts +0 -31
  247. package/dist/module/integration/strategies/integration.strategy.js +0 -40
  248. package/dist/module/integration/strategies/integration.strategy.js.map +0 -1
  249. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.d.ts +0 -9
  250. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js +0 -104
  251. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js.map +0 -1
  252. package/dist/module/integration/strategies/sms/msg91-sms.strategy.d.ts +0 -9
  253. package/dist/module/integration/strategies/sms/msg91-sms.strategy.js +0 -113
  254. package/dist/module/integration/strategies/sms/msg91-sms.strategy.js.map +0 -1
  255. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.d.ts +0 -9
  256. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js +0 -109
  257. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js.map +0 -1
  258. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.d.ts +0 -22
  259. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js +0 -170
  260. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js.map +0 -1
  261. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.d.ts +0 -24
  262. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js +0 -152
  263. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js.map +0 -1
  264. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.d.ts +0 -19
  265. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js +0 -257
  266. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js.map +0 -1
  267. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.d.ts +0 -33
  268. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js +0 -256
  269. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js.map +0 -1
  270. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.d.ts +0 -20
  271. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js +0 -264
  272. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js.map +0 -1
  273. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.d.ts +0 -5
  274. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js +0 -57
  275. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js.map +0 -1
  276. package/dist/module/layout/controller/layout.controller.d.ts +0 -11
  277. package/dist/module/layout/controller/layout.controller.js +0 -59
  278. package/dist/module/layout/controller/layout.controller.js.map +0 -1
  279. package/dist/module/layout/dto/header.dto.d.ts +0 -0
  280. package/dist/module/layout/dto/header.dto.js +0 -1
  281. package/dist/module/layout/dto/header.dto.js.map +0 -1
  282. package/dist/module/layout/entity/header-items.entity.d.ts +0 -10
  283. package/dist/module/layout/entity/header-items.entity.js +0 -52
  284. package/dist/module/layout/entity/header-items.entity.js.map +0 -1
  285. package/dist/module/layout/entity/header-section.entity.d.ts +0 -7
  286. package/dist/module/layout/entity/header-section.entity.js +0 -40
  287. package/dist/module/layout/entity/header-section.entity.js.map +0 -1
  288. package/dist/module/layout/layout.module.d.ts +0 -2
  289. package/dist/module/layout/layout.module.js +0 -34
  290. package/dist/module/layout/layout.module.js.map +0 -1
  291. package/dist/module/layout/repository/header-items.repository.d.ts +0 -7
  292. package/dist/module/layout/repository/header-items.repository.js +0 -36
  293. package/dist/module/layout/repository/header-items.repository.js.map +0 -1
  294. package/dist/module/layout/repository/header-section.repository.d.ts +0 -8
  295. package/dist/module/layout/repository/header-section.repository.js +0 -39
  296. package/dist/module/layout/repository/header-section.repository.js.map +0 -1
  297. package/dist/module/layout/service/header-section.service.d.ts +0 -8
  298. package/dist/module/layout/service/header-section.service.js +0 -37
  299. package/dist/module/layout/service/header-section.service.js.map +0 -1
  300. package/dist/module/layout_preference/controller/layout_preference.controller.d.ts +0 -19
  301. package/dist/module/layout_preference/controller/layout_preference.controller.js +0 -75
  302. package/dist/module/layout_preference/controller/layout_preference.controller.js.map +0 -1
  303. package/dist/module/layout_preference/dto/layout_preference.dto.d.ts +0 -0
  304. package/dist/module/layout_preference/dto/layout_preference.dto.js +0 -1
  305. package/dist/module/layout_preference/dto/layout_preference.dto.js.map +0 -1
  306. package/dist/module/layout_preference/entity/layout_preference.entity.d.ts +0 -9
  307. package/dist/module/layout_preference/entity/layout_preference.entity.js +0 -50
  308. package/dist/module/layout_preference/entity/layout_preference.entity.js.map +0 -1
  309. package/dist/module/layout_preference/layout_preference.module.d.ts +0 -2
  310. package/dist/module/layout_preference/layout_preference.module.js +0 -35
  311. package/dist/module/layout_preference/layout_preference.module.js.map +0 -1
  312. package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +0 -13
  313. package/dist/module/layout_preference/repository/layout_preference.repository.js +0 -68
  314. package/dist/module/layout_preference/repository/layout_preference.repository.js.map +0 -1
  315. package/dist/module/layout_preference/service/layout_preference.service.d.ts +0 -20
  316. package/dist/module/layout_preference/service/layout_preference.service.js +0 -128
  317. package/dist/module/layout_preference/service/layout_preference.service.js.map +0 -1
  318. package/dist/module/lead/controller/lead.controller.d.ts +0 -20
  319. package/dist/module/lead/controller/lead.controller.js +0 -58
  320. package/dist/module/lead/controller/lead.controller.js.map +0 -1
  321. package/dist/module/lead/lead.module.d.ts +0 -2
  322. package/dist/module/lead/lead.module.js +0 -26
  323. package/dist/module/lead/lead.module.js.map +0 -1
  324. package/dist/module/lead/repository/lead.repository.d.ts +0 -10
  325. package/dist/module/lead/repository/lead.repository.js +0 -53
  326. package/dist/module/lead/repository/lead.repository.js.map +0 -1
  327. package/dist/module/lead/service/lead.service.d.ts +0 -20
  328. package/dist/module/lead/service/lead.service.js +0 -55
  329. package/dist/module/lead/service/lead.service.js.map +0 -1
  330. package/dist/module/listmaster/controller/list-master.controller.d.ts +0 -23
  331. package/dist/module/listmaster/controller/list-master.controller.js +0 -174
  332. package/dist/module/listmaster/controller/list-master.controller.js.map +0 -1
  333. package/dist/module/listmaster/entity/list-master-items.entity.d.ts +0 -14
  334. package/dist/module/listmaster/entity/list-master-items.entity.js +0 -69
  335. package/dist/module/listmaster/entity/list-master-items.entity.js.map +0 -1
  336. package/dist/module/listmaster/entity/list-master.entity.d.ts +0 -11
  337. package/dist/module/listmaster/entity/list-master.entity.js +0 -56
  338. package/dist/module/listmaster/entity/list-master.entity.js.map +0 -1
  339. package/dist/module/listmaster/listmaster.module.d.ts +0 -2
  340. package/dist/module/listmaster/listmaster.module.js +0 -53
  341. package/dist/module/listmaster/listmaster.module.js.map +0 -1
  342. package/dist/module/listmaster/repository/list-master-items.repository.d.ts +0 -21
  343. package/dist/module/listmaster/repository/list-master-items.repository.js +0 -142
  344. package/dist/module/listmaster/repository/list-master-items.repository.js.map +0 -1
  345. package/dist/module/listmaster/repository/list-master.repository.d.ts +0 -9
  346. package/dist/module/listmaster/repository/list-master.repository.js +0 -53
  347. package/dist/module/listmaster/repository/list-master.repository.js.map +0 -1
  348. package/dist/module/listmaster/service/list-master-engine.d.ts +0 -6
  349. package/dist/module/listmaster/service/list-master-engine.js +0 -35
  350. package/dist/module/listmaster/service/list-master-engine.js.map +0 -1
  351. package/dist/module/listmaster/service/list-master-extension.interface.d.ts +0 -4
  352. package/dist/module/listmaster/service/list-master-extension.interface.js +0 -3
  353. package/dist/module/listmaster/service/list-master-extension.interface.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-registry.d.ts +0 -6
  358. package/dist/module/listmaster/service/list-master-registry.js +0 -26
  359. package/dist/module/listmaster/service/list-master-registry.js.map +0 -1
  360. package/dist/module/listmaster/service/list-master.service.d.ts +0 -39
  361. package/dist/module/listmaster/service/list-master.service.js +0 -335
  362. package/dist/module/listmaster/service/list-master.service.js.map +0 -1
  363. package/dist/module/mapper/controller/field-mapper.controller.d.ts +0 -11
  364. package/dist/module/mapper/controller/field-mapper.controller.js +0 -94
  365. package/dist/module/mapper/controller/field-mapper.controller.js.map +0 -1
  366. package/dist/module/mapper/controller/mapper.controller.d.ts +0 -8
  367. package/dist/module/mapper/controller/mapper.controller.js +0 -45
  368. package/dist/module/mapper/controller/mapper.controller.js.map +0 -1
  369. package/dist/module/mapper/dto/field-mapper.dto.d.ts +0 -12
  370. package/dist/module/mapper/dto/field-mapper.dto.js +0 -8
  371. package/dist/module/mapper/dto/field-mapper.dto.js.map +0 -1
  372. package/dist/module/mapper/entity/field-lovs.entity.d.ts +0 -7
  373. package/dist/module/mapper/entity/field-lovs.entity.js +0 -38
  374. package/dist/module/mapper/entity/field-lovs.entity.js.map +0 -1
  375. package/dist/module/mapper/entity/field-mapper.entity.d.ts +0 -13
  376. package/dist/module/mapper/entity/field-mapper.entity.js +0 -78
  377. package/dist/module/mapper/entity/field-mapper.entity.js.map +0 -1
  378. package/dist/module/mapper/entity/mapper.entity.d.ts +0 -6
  379. package/dist/module/mapper/entity/mapper.entity.js +0 -34
  380. package/dist/module/mapper/entity/mapper.entity.js.map +0 -1
  381. package/dist/module/mapper/mapper.module.d.ts +0 -2
  382. package/dist/module/mapper/mapper.module.js +0 -47
  383. package/dist/module/mapper/mapper.module.js.map +0 -1
  384. package/dist/module/mapper/repository/field-lovs.repository.d.ts +0 -11
  385. package/dist/module/mapper/repository/field-lovs.repository.js +0 -52
  386. package/dist/module/mapper/repository/field-lovs.repository.js.map +0 -1
  387. package/dist/module/mapper/repository/field-mapper.repository.d.ts +0 -11
  388. package/dist/module/mapper/repository/field-mapper.repository.js +0 -54
  389. package/dist/module/mapper/repository/field-mapper.repository.js.map +0 -1
  390. package/dist/module/mapper/repository/mapper.repository.d.ts +0 -7
  391. package/dist/module/mapper/repository/mapper.repository.js +0 -34
  392. package/dist/module/mapper/repository/mapper.repository.js.map +0 -1
  393. package/dist/module/mapper/service/field-mapper.service.d.ts +0 -24
  394. package/dist/module/mapper/service/field-mapper.service.js +0 -200
  395. package/dist/module/mapper/service/field-mapper.service.js.map +0 -1
  396. package/dist/module/mapper/service/mapper.service.d.ts +0 -17
  397. package/dist/module/mapper/service/mapper.service.js +0 -76
  398. package/dist/module/mapper/service/mapper.service.js.map +0 -1
  399. package/dist/module/master/controller/master.controller.d.ts +0 -20
  400. package/dist/module/master/controller/master.controller.js +0 -82
  401. package/dist/module/master/controller/master.controller.js.map +0 -1
  402. package/dist/module/master/service/master.service.d.ts +0 -31
  403. package/dist/module/master/service/master.service.js +0 -364
  404. package/dist/module/master/service/master.service.js.map +0 -1
  405. package/dist/module/meta/controller/app-master.controller.d.ts +0 -9
  406. package/dist/module/meta/controller/app-master.controller.js +0 -51
  407. package/dist/module/meta/controller/app-master.controller.js.map +0 -1
  408. package/dist/module/meta/controller/attribute-master.controller.d.ts +0 -21
  409. package/dist/module/meta/controller/attribute-master.controller.js +0 -78
  410. package/dist/module/meta/controller/attribute-master.controller.js.map +0 -1
  411. package/dist/module/meta/controller/entity-dynamic.controller.d.ts +0 -21
  412. package/dist/module/meta/controller/entity-dynamic.controller.js +0 -115
  413. package/dist/module/meta/controller/entity-dynamic.controller.js.map +0 -1
  414. package/dist/module/meta/controller/entity-master.controller.d.ts +0 -8
  415. package/dist/module/meta/controller/entity-master.controller.js +0 -44
  416. package/dist/module/meta/controller/entity-master.controller.js.map +0 -1
  417. package/dist/module/meta/controller/entity-relation.controller.d.ts +0 -6
  418. package/dist/module/meta/controller/entity-relation.controller.js +0 -45
  419. package/dist/module/meta/controller/entity-relation.controller.js.map +0 -1
  420. package/dist/module/meta/controller/entity.controller.d.ts +0 -38
  421. package/dist/module/meta/controller/entity.controller.js +0 -245
  422. package/dist/module/meta/controller/entity.controller.js.map +0 -1
  423. package/dist/module/meta/controller/entity.public.controller.d.ts +0 -12
  424. package/dist/module/meta/controller/entity.public.controller.js +0 -75
  425. package/dist/module/meta/controller/entity.public.controller.js.map +0 -1
  426. package/dist/module/meta/controller/media.controller.d.ts +0 -27
  427. package/dist/module/meta/controller/media.controller.js +0 -92
  428. package/dist/module/meta/controller/media.controller.js.map +0 -1
  429. package/dist/module/meta/controller/meta.controller.d.ts +0 -32
  430. package/dist/module/meta/controller/meta.controller.js +0 -112
  431. package/dist/module/meta/controller/meta.controller.js.map +0 -1
  432. package/dist/module/meta/controller/view-master.controller.d.ts +0 -12
  433. package/dist/module/meta/controller/view-master.controller.js +0 -88
  434. package/dist/module/meta/controller/view-master.controller.js.map +0 -1
  435. package/dist/module/meta/dto/entity-list-data.dto.d.ts +0 -5
  436. package/dist/module/meta/dto/entity-list-data.dto.js +0 -7
  437. package/dist/module/meta/dto/entity-list-data.dto.js.map +0 -1
  438. package/dist/module/meta/dto/entity-tab.dto.d.ts +0 -4
  439. package/dist/module/meta/dto/entity-tab.dto.js +0 -7
  440. package/dist/module/meta/dto/entity-tab.dto.js.map +0 -1
  441. package/dist/module/meta/dto/entity-table.dto.d.ts +0 -11
  442. package/dist/module/meta/dto/entity-table.dto.js +0 -8
  443. package/dist/module/meta/dto/entity-table.dto.js.map +0 -1
  444. package/dist/module/meta/entity/app-master.entity.d.ts +0 -12
  445. package/dist/module/meta/entity/app-master.entity.js +0 -58
  446. package/dist/module/meta/entity/app-master.entity.js.map +0 -1
  447. package/dist/module/meta/entity/attribute-master.entity.d.ts +0 -22
  448. package/dist/module/meta/entity/attribute-master.entity.js +0 -124
  449. package/dist/module/meta/entity/attribute-master.entity.js.map +0 -1
  450. package/dist/module/meta/entity/base-entity.entity.d.ts +0 -19
  451. package/dist/module/meta/entity/base-entity.entity.js +0 -104
  452. package/dist/module/meta/entity/base-entity.entity.js.map +0 -1
  453. package/dist/module/meta/entity/entity-master.entity.d.ts +0 -20
  454. package/dist/module/meta/entity/entity-master.entity.js +0 -117
  455. package/dist/module/meta/entity/entity-master.entity.js.map +0 -1
  456. package/dist/module/meta/entity/entity-relation-data.entity.d.ts +0 -10
  457. package/dist/module/meta/entity/entity-relation-data.entity.js +0 -51
  458. package/dist/module/meta/entity/entity-relation-data.entity.js.map +0 -1
  459. package/dist/module/meta/entity/entity-relation.entity.d.ts +0 -8
  460. package/dist/module/meta/entity/entity-relation.entity.js +0 -43
  461. package/dist/module/meta/entity/entity-relation.entity.js.map +0 -1
  462. package/dist/module/meta/entity/entity-table-column.entity.d.ts +0 -19
  463. package/dist/module/meta/entity/entity-table-column.entity.js +0 -92
  464. package/dist/module/meta/entity/entity-table-column.entity.js.map +0 -1
  465. package/dist/module/meta/entity/entity-table.entity.d.ts +0 -17
  466. package/dist/module/meta/entity/entity-table.entity.js +0 -79
  467. package/dist/module/meta/entity/entity-table.entity.js.map +0 -1
  468. package/dist/module/meta/entity/media-data.entity.d.ts +0 -11
  469. package/dist/module/meta/entity/media-data.entity.js +0 -55
  470. package/dist/module/meta/entity/media-data.entity.js.map +0 -1
  471. package/dist/module/meta/entity/preference.entity.d.ts +0 -11
  472. package/dist/module/meta/entity/preference.entity.js +0 -85
  473. package/dist/module/meta/entity/preference.entity.js.map +0 -1
  474. package/dist/module/meta/entity/view-master.entity.d.ts +0 -14
  475. package/dist/module/meta/entity/view-master.entity.js +0 -67
  476. package/dist/module/meta/entity/view-master.entity.js.map +0 -1
  477. package/dist/module/meta/entity.module.d.ts +0 -2
  478. package/dist/module/meta/entity.module.js +0 -155
  479. package/dist/module/meta/entity.module.js.map +0 -1
  480. package/dist/module/meta/repository/app-master.repository.d.ts +0 -7
  481. package/dist/module/meta/repository/app-master.repository.js +0 -36
  482. package/dist/module/meta/repository/app-master.repository.js.map +0 -1
  483. package/dist/module/meta/repository/attribute-master.repository.d.ts +0 -21
  484. package/dist/module/meta/repository/attribute-master.repository.js +0 -92
  485. package/dist/module/meta/repository/attribute-master.repository.js.map +0 -1
  486. package/dist/module/meta/repository/entity-master.repository.d.ts +0 -20
  487. package/dist/module/meta/repository/entity-master.repository.js +0 -73
  488. package/dist/module/meta/repository/entity-master.repository.js.map +0 -1
  489. package/dist/module/meta/repository/entity-table-column.repository.d.ts +0 -7
  490. package/dist/module/meta/repository/entity-table-column.repository.js +0 -52
  491. package/dist/module/meta/repository/entity-table-column.repository.js.map +0 -1
  492. package/dist/module/meta/repository/entity-table.repository.d.ts +0 -9
  493. package/dist/module/meta/repository/entity-table.repository.js +0 -59
  494. package/dist/module/meta/repository/entity-table.repository.js.map +0 -1
  495. package/dist/module/meta/repository/media-data.repository.d.ts +0 -9
  496. package/dist/module/meta/repository/media-data.repository.js +0 -55
  497. package/dist/module/meta/repository/media-data.repository.js.map +0 -1
  498. package/dist/module/meta/repository/preference.repository.d.ts +0 -7
  499. package/dist/module/meta/repository/preference.repository.js +0 -36
  500. package/dist/module/meta/repository/preference.repository.js.map +0 -1
  501. package/dist/module/meta/repository/user-app-mapping.repository.d.ts +0 -0
  502. package/dist/module/meta/repository/user-app-mapping.repository.js +0 -1
  503. package/dist/module/meta/repository/user-app-mapping.repository.js.map +0 -1
  504. package/dist/module/meta/repository/view-master.repository.d.ts +0 -11
  505. package/dist/module/meta/repository/view-master.repository.js +0 -52
  506. package/dist/module/meta/repository/view-master.repository.js.map +0 -1
  507. package/dist/module/meta/service/app-master.service.d.ts +0 -8
  508. package/dist/module/meta/service/app-master.service.js +0 -45
  509. package/dist/module/meta/service/app-master.service.js.map +0 -1
  510. package/dist/module/meta/service/attribute-master.service.d.ts +0 -17
  511. package/dist/module/meta/service/attribute-master.service.js +0 -78
  512. package/dist/module/meta/service/attribute-master.service.js.map +0 -1
  513. package/dist/module/meta/service/common.service.d.ts +0 -4
  514. package/dist/module/meta/service/common.service.js +0 -25
  515. package/dist/module/meta/service/common.service.js.map +0 -1
  516. package/dist/module/meta/service/entity-dynamic.service.d.ts +0 -25
  517. package/dist/module/meta/service/entity-dynamic.service.js +0 -481
  518. package/dist/module/meta/service/entity-dynamic.service.js.map +0 -1
  519. package/dist/module/meta/service/entity-list.service.d.ts +0 -17
  520. package/dist/module/meta/service/entity-list.service.js +0 -141
  521. package/dist/module/meta/service/entity-list.service.js.map +0 -1
  522. package/dist/module/meta/service/entity-master.service.d.ts +0 -29
  523. package/dist/module/meta/service/entity-master.service.js +0 -116
  524. package/dist/module/meta/service/entity-master.service.js.map +0 -1
  525. package/dist/module/meta/service/entity-realation-data.service.d.ts +0 -4
  526. package/dist/module/meta/service/entity-realation-data.service.js +0 -25
  527. package/dist/module/meta/service/entity-realation-data.service.js.map +0 -1
  528. package/dist/module/meta/service/entity-relation.service.d.ts +0 -8
  529. package/dist/module/meta/service/entity-relation.service.js +0 -58
  530. package/dist/module/meta/service/entity-relation.service.js.map +0 -1
  531. package/dist/module/meta/service/entity-service-impl.service.d.ts +0 -43
  532. package/dist/module/meta/service/entity-service-impl.service.js +0 -278
  533. package/dist/module/meta/service/entity-service-impl.service.js.map +0 -1
  534. package/dist/module/meta/service/entity-table-column.service.d.ts +0 -7
  535. package/dist/module/meta/service/entity-table-column.service.js +0 -37
  536. package/dist/module/meta/service/entity-table-column.service.js.map +0 -1
  537. package/dist/module/meta/service/entity-table.service.d.ts +0 -17
  538. package/dist/module/meta/service/entity-table.service.js +0 -84
  539. package/dist/module/meta/service/entity-table.service.js.map +0 -1
  540. package/dist/module/meta/service/entity-validation.service.d.ts +0 -21
  541. package/dist/module/meta/service/entity-validation.service.js +0 -119
  542. package/dist/module/meta/service/entity-validation.service.js.map +0 -1
  543. package/dist/module/meta/service/entity.service.d.ts +0 -15
  544. package/dist/module/meta/service/entity.service.js +0 -3
  545. package/dist/module/meta/service/entity.service.js.map +0 -1
  546. package/dist/module/meta/service/field-group.service.d.ts +0 -26
  547. package/dist/module/meta/service/field-group.service.js +0 -76
  548. package/dist/module/meta/service/field-group.service.js.map +0 -1
  549. package/dist/module/meta/service/media-data.service.d.ts +0 -36
  550. package/dist/module/meta/service/media-data.service.js +0 -300
  551. package/dist/module/meta/service/media-data.service.js.map +0 -1
  552. package/dist/module/meta/service/populate-meta.service.d.ts +0 -11
  553. package/dist/module/meta/service/populate-meta.service.js +0 -136
  554. package/dist/module/meta/service/populate-meta.service.js.map +0 -1
  555. package/dist/module/meta/service/preference.service.d.ts +0 -7
  556. package/dist/module/meta/service/preference.service.js +0 -31
  557. package/dist/module/meta/service/preference.service.js.map +0 -1
  558. package/dist/module/meta/service/resolver.service.d.ts +0 -15
  559. package/dist/module/meta/service/resolver.service.js +0 -180
  560. package/dist/module/meta/service/resolver.service.js.map +0 -1
  561. package/dist/module/meta/service/section-master.service.d.ts +0 -26
  562. package/dist/module/meta/service/section-master.service.js +0 -77
  563. package/dist/module/meta/service/section-master.service.js.map +0 -1
  564. package/dist/module/meta/service/update-form-json.service.d.ts +0 -9
  565. package/dist/module/meta/service/update-form-json.service.js +0 -39
  566. package/dist/module/meta/service/update-form-json.service.js.map +0 -1
  567. package/dist/module/meta/service/user-app-mapping.service.d.ts +0 -0
  568. package/dist/module/meta/service/user-app-mapping.service.js +0 -1
  569. package/dist/module/meta/service/user-app-mapping.service.js.map +0 -1
  570. package/dist/module/meta/service/view-master.service.d.ts +0 -29
  571. package/dist/module/meta/service/view-master.service.js +0 -82
  572. package/dist/module/meta/service/view-master.service.js.map +0 -1
  573. package/dist/module/module/controller/menu.controller.d.ts +0 -8
  574. package/dist/module/module/controller/menu.controller.js +0 -41
  575. package/dist/module/module/controller/menu.controller.js.map +0 -1
  576. package/dist/module/module/controller/module-access.controller.d.ts +0 -35
  577. package/dist/module/module/controller/module-access.controller.js +0 -150
  578. package/dist/module/module/controller/module-access.controller.js.map +0 -1
  579. package/dist/module/module/entity/menu.entity.d.ts +0 -15
  580. package/dist/module/module/entity/menu.entity.js +0 -72
  581. package/dist/module/module/entity/menu.entity.js.map +0 -1
  582. package/dist/module/module/entity/module-access.entity.d.ts +0 -9
  583. package/dist/module/module/entity/module-access.entity.js +0 -48
  584. package/dist/module/module/entity/module-access.entity.js.map +0 -1
  585. package/dist/module/module/entity/module-action.entity.d.ts +0 -6
  586. package/dist/module/module/entity/module-action.entity.js +0 -37
  587. package/dist/module/module/entity/module-action.entity.js.map +0 -1
  588. package/dist/module/module/entity/module.entity.d.ts +0 -18
  589. package/dist/module/module/entity/module.entity.js +0 -84
  590. package/dist/module/module/entity/module.entity.js.map +0 -1
  591. package/dist/module/module/module.module.d.ts +0 -2
  592. package/dist/module/module/module.module.js +0 -55
  593. package/dist/module/module/module.module.js.map +0 -1
  594. package/dist/module/module/repository/menu.repository.d.ts +0 -11
  595. package/dist/module/module/repository/menu.repository.js +0 -152
  596. package/dist/module/module/repository/menu.repository.js.map +0 -1
  597. package/dist/module/module/repository/module-access.repository.d.ts +0 -52
  598. package/dist/module/module/repository/module-access.repository.js +0 -283
  599. package/dist/module/module/repository/module-access.repository.js.map +0 -1
  600. package/dist/module/module/service/menu.service.d.ts +0 -12
  601. package/dist/module/module/service/menu.service.js +0 -59
  602. package/dist/module/module/service/menu.service.js.map +0 -1
  603. package/dist/module/module/service/module-access.service.d.ts +0 -62
  604. package/dist/module/module/service/module-access.service.js +0 -119
  605. package/dist/module/module/service/module-access.service.js.map +0 -1
  606. package/dist/module/notification/controller/notification.controller.d.ts +0 -23
  607. package/dist/module/notification/controller/notification.controller.js +0 -74
  608. package/dist/module/notification/controller/notification.controller.js.map +0 -1
  609. package/dist/module/notification/controller/otp.controller.d.ts +0 -65
  610. package/dist/module/notification/controller/otp.controller.js +0 -103
  611. package/dist/module/notification/controller/otp.controller.js.map +0 -1
  612. package/dist/module/notification/entity/notification.entity.d.ts +0 -10
  613. package/dist/module/notification/entity/notification.entity.js +0 -49
  614. package/dist/module/notification/entity/notification.entity.js.map +0 -1
  615. package/dist/module/notification/entity/otp.entity.d.ts +0 -10
  616. package/dist/module/notification/entity/otp.entity.js +0 -52
  617. package/dist/module/notification/entity/otp.entity.js.map +0 -1
  618. package/dist/module/notification/firebase-admin.config.d.ts +0 -7
  619. package/dist/module/notification/firebase-admin.config.js +0 -24
  620. package/dist/module/notification/firebase-admin.config.js.map +0 -1
  621. package/dist/module/notification/notification.module.d.ts +0 -2
  622. package/dist/module/notification/notification.module.js +0 -82
  623. package/dist/module/notification/notification.module.js.map +0 -1
  624. package/dist/module/notification/repository/otp.repository.d.ts +0 -9
  625. package/dist/module/notification/repository/otp.repository.js +0 -44
  626. package/dist/module/notification/repository/otp.repository.js.map +0 -1
  627. package/dist/module/notification/service/email.service.d.ts +0 -14
  628. package/dist/module/notification/service/email.service.js +0 -110
  629. package/dist/module/notification/service/email.service.js.map +0 -1
  630. package/dist/module/notification/service/notification.service.d.ts +0 -27
  631. package/dist/module/notification/service/notification.service.js +0 -124
  632. package/dist/module/notification/service/notification.service.js.map +0 -1
  633. package/dist/module/notification/service/otp.service.d.ts +0 -61
  634. package/dist/module/notification/service/otp.service.js +0 -111
  635. package/dist/module/notification/service/otp.service.js.map +0 -1
  636. package/dist/module/third-party-module/entity/third-party-api-registry.entity.d.ts +0 -18
  637. package/dist/module/third-party-module/entity/third-party-api-registry.entity.js +0 -84
  638. package/dist/module/third-party-module/entity/third-party-api-registry.entity.js.map +0 -1
  639. package/dist/module/third-party-module/repository/third-party-api-registry.repository.d.ts +0 -7
  640. package/dist/module/third-party-module/repository/third-party-api-registry.repository.js +0 -38
  641. package/dist/module/third-party-module/repository/third-party-api-registry.repository.js.map +0 -1
  642. package/dist/module/third-party-module/service/api-registry.service.d.ts +0 -6
  643. package/dist/module/third-party-module/service/api-registry.service.js +0 -28
  644. package/dist/module/third-party-module/service/api-registry.service.js.map +0 -1
  645. package/dist/module/third-party-module/third-party.module.d.ts +0 -2
  646. package/dist/module/third-party-module/third-party.module.js +0 -25
  647. package/dist/module/third-party-module/third-party.module.js.map +0 -1
  648. package/dist/module/user/controller/login.controller.d.ts +0 -26
  649. package/dist/module/user/controller/login.controller.js +0 -176
  650. package/dist/module/user/controller/login.controller.js.map +0 -1
  651. package/dist/module/user/controller/user.controller.d.ts +0 -9
  652. package/dist/module/user/controller/user.controller.js +0 -59
  653. package/dist/module/user/controller/user.controller.js.map +0 -1
  654. package/dist/module/user/dto/create-user.dto.d.ts +0 -17
  655. package/dist/module/user/dto/create-user.dto.js +0 -64
  656. package/dist/module/user/dto/create-user.dto.js.map +0 -1
  657. package/dist/module/user/dto/update-user.dto.d.ts +0 -5
  658. package/dist/module/user/dto/update-user.dto.js +0 -9
  659. package/dist/module/user/dto/update-user.dto.js.map +0 -1
  660. package/dist/module/user/entity/role.entity.d.ts +0 -11
  661. package/dist/module/user/entity/role.entity.js +0 -56
  662. package/dist/module/user/entity/role.entity.js.map +0 -1
  663. package/dist/module/user/entity/user-role-mapping.entity.d.ts +0 -12
  664. package/dist/module/user/entity/user-role-mapping.entity.js +0 -63
  665. package/dist/module/user/entity/user-role-mapping.entity.js.map +0 -1
  666. package/dist/module/user/entity/user-session.entity.d.ts +0 -15
  667. package/dist/module/user/entity/user-session.entity.js +0 -102
  668. package/dist/module/user/entity/user-session.entity.js.map +0 -1
  669. package/dist/module/user/entity/user.entity.d.ts +0 -20
  670. package/dist/module/user/entity/user.entity.js +0 -91
  671. package/dist/module/user/entity/user.entity.js.map +0 -1
  672. package/dist/module/user/repository/role.repository.d.ts +0 -18
  673. package/dist/module/user/repository/role.repository.js +0 -87
  674. package/dist/module/user/repository/role.repository.js.map +0 -1
  675. package/dist/module/user/repository/user-role-mapping.repository.d.ts +0 -19
  676. package/dist/module/user/repository/user-role-mapping.repository.js +0 -110
  677. package/dist/module/user/repository/user-role-mapping.repository.js.map +0 -1
  678. package/dist/module/user/repository/user.repository.d.ts +0 -10
  679. package/dist/module/user/repository/user.repository.js +0 -58
  680. package/dist/module/user/repository/user.repository.js.map +0 -1
  681. package/dist/module/user/repository/userSession.repository.d.ts +0 -10
  682. package/dist/module/user/repository/userSession.repository.js +0 -45
  683. package/dist/module/user/repository/userSession.repository.js.map +0 -1
  684. package/dist/module/user/service/login.service.d.ts +0 -98
  685. package/dist/module/user/service/login.service.js +0 -220
  686. package/dist/module/user/service/login.service.js.map +0 -1
  687. package/dist/module/user/service/role.service.d.ts +0 -23
  688. package/dist/module/user/service/role.service.js +0 -146
  689. package/dist/module/user/service/role.service.js.map +0 -1
  690. package/dist/module/user/service/user-role-mapping.service.d.ts +0 -12
  691. package/dist/module/user/service/user-role-mapping.service.js +0 -60
  692. package/dist/module/user/service/user-role-mapping.service.js.map +0 -1
  693. package/dist/module/user/service/user-session.service.d.ts +0 -38
  694. package/dist/module/user/service/user-session.service.js +0 -132
  695. package/dist/module/user/service/user-session.service.js.map +0 -1
  696. package/dist/module/user/service/user.service.d.ts +0 -38
  697. package/dist/module/user/service/user.service.js +0 -243
  698. package/dist/module/user/service/user.service.js.map +0 -1
  699. package/dist/module/user/user.module.d.ts +0 -2
  700. package/dist/module/user/user.module.js +0 -78
  701. package/dist/module/user/user.module.js.map +0 -1
  702. package/dist/module/workflow/controller/action-category.controller.d.ts +0 -18
  703. package/dist/module/workflow/controller/action-category.controller.js +0 -79
  704. package/dist/module/workflow/controller/action-category.controller.js.map +0 -1
  705. package/dist/module/workflow/controller/action-resource-mapping.controller.d.ts +0 -5
  706. package/dist/module/workflow/controller/action-resource-mapping.controller.js +0 -31
  707. package/dist/module/workflow/controller/action-resource-mapping.controller.js.map +0 -1
  708. package/dist/module/workflow/controller/action-template-mapping.controller.d.ts +0 -12
  709. package/dist/module/workflow/controller/action-template-mapping.controller.js +0 -44
  710. package/dist/module/workflow/controller/action-template-mapping.controller.js.map +0 -1
  711. package/dist/module/workflow/controller/action.controller.d.ts +0 -51
  712. package/dist/module/workflow/controller/action.controller.js +0 -122
  713. package/dist/module/workflow/controller/action.controller.js.map +0 -1
  714. package/dist/module/workflow/controller/activity-log.controller.d.ts +0 -42
  715. package/dist/module/workflow/controller/activity-log.controller.js +0 -62
  716. package/dist/module/workflow/controller/activity-log.controller.js.map +0 -1
  717. package/dist/module/workflow/controller/comm-template.controller.d.ts +0 -19
  718. package/dist/module/workflow/controller/comm-template.controller.js +0 -58
  719. package/dist/module/workflow/controller/comm-template.controller.js.map +0 -1
  720. package/dist/module/workflow/controller/entity-modification.controller.d.ts +0 -8
  721. package/dist/module/workflow/controller/entity-modification.controller.js +0 -44
  722. package/dist/module/workflow/controller/entity-modification.controller.js.map +0 -1
  723. package/dist/module/workflow/controller/form-master.controller.d.ts +0 -11
  724. package/dist/module/workflow/controller/form-master.controller.js +0 -59
  725. package/dist/module/workflow/controller/form-master.controller.js.map +0 -1
  726. package/dist/module/workflow/controller/stage-group.controller.d.ts +0 -19
  727. package/dist/module/workflow/controller/stage-group.controller.js +0 -56
  728. package/dist/module/workflow/controller/stage-group.controller.js.map +0 -1
  729. package/dist/module/workflow/controller/stage.controller.d.ts +0 -16
  730. package/dist/module/workflow/controller/stage.controller.js +0 -57
  731. package/dist/module/workflow/controller/stage.controller.js.map +0 -1
  732. package/dist/module/workflow/controller/task.controller.d.ts +0 -32
  733. package/dist/module/workflow/controller/task.controller.js +0 -72
  734. package/dist/module/workflow/controller/task.controller.js.map +0 -1
  735. package/dist/module/workflow/controller/workflow-list-master.controller.d.ts +0 -14
  736. package/dist/module/workflow/controller/workflow-list-master.controller.js +0 -67
  737. package/dist/module/workflow/controller/workflow-list-master.controller.js.map +0 -1
  738. package/dist/module/workflow/controller/workflow-meta.controller.d.ts +0 -15
  739. package/dist/module/workflow/controller/workflow-meta.controller.js +0 -72
  740. package/dist/module/workflow/controller/workflow-meta.controller.js.map +0 -1
  741. package/dist/module/workflow/controller/workflow.controller.d.ts +0 -31
  742. package/dist/module/workflow/controller/workflow.controller.js +0 -83
  743. package/dist/module/workflow/controller/workflow.controller.js.map +0 -1
  744. package/dist/module/workflow/entity/action-category.entity.d.ts +0 -13
  745. package/dist/module/workflow/entity/action-category.entity.js +0 -63
  746. package/dist/module/workflow/entity/action-category.entity.js.map +0 -1
  747. package/dist/module/workflow/entity/action-data.entity.d.ts +0 -19
  748. package/dist/module/workflow/entity/action-data.entity.js +0 -86
  749. package/dist/module/workflow/entity/action-data.entity.js.map +0 -1
  750. package/dist/module/workflow/entity/action-resources-mapping.entity.d.ts +0 -9
  751. package/dist/module/workflow/entity/action-resources-mapping.entity.js +0 -47
  752. package/dist/module/workflow/entity/action-resources-mapping.entity.js.map +0 -1
  753. package/dist/module/workflow/entity/action-template-mapping.entity.d.ts +0 -6
  754. package/dist/module/workflow/entity/action-template-mapping.entity.js +0 -35
  755. package/dist/module/workflow/entity/action-template-mapping.entity.js.map +0 -1
  756. package/dist/module/workflow/entity/action.entity.d.ts +0 -17
  757. package/dist/module/workflow/entity/action.entity.js +0 -79
  758. package/dist/module/workflow/entity/action.entity.js.map +0 -1
  759. package/dist/module/workflow/entity/activity-log.entity.d.ts +0 -15
  760. package/dist/module/workflow/entity/activity-log.entity.js +0 -70
  761. package/dist/module/workflow/entity/activity-log.entity.js.map +0 -1
  762. package/dist/module/workflow/entity/comm-template.entity.d.ts +0 -14
  763. package/dist/module/workflow/entity/comm-template.entity.js +0 -67
  764. package/dist/module/workflow/entity/comm-template.entity.js.map +0 -1
  765. package/dist/module/workflow/entity/entity-modification.entity.d.ts +0 -13
  766. package/dist/module/workflow/entity/entity-modification.entity.js +0 -63
  767. package/dist/module/workflow/entity/entity-modification.entity.js.map +0 -1
  768. package/dist/module/workflow/entity/form.entity.d.ts +0 -9
  769. package/dist/module/workflow/entity/form.entity.js +0 -46
  770. package/dist/module/workflow/entity/form.entity.js.map +0 -1
  771. package/dist/module/workflow/entity/stage-action-mapping.entity.d.ts +0 -6
  772. package/dist/module/workflow/entity/stage-action-mapping.entity.js +0 -35
  773. package/dist/module/workflow/entity/stage-action-mapping.entity.js.map +0 -1
  774. package/dist/module/workflow/entity/stage-group.entity.d.ts +0 -8
  775. package/dist/module/workflow/entity/stage-group.entity.js +0 -43
  776. package/dist/module/workflow/entity/stage-group.entity.js.map +0 -1
  777. package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +0 -13
  778. package/dist/module/workflow/entity/stage-movement-data.entity.js +0 -63
  779. package/dist/module/workflow/entity/stage-movement-data.entity.js.map +0 -1
  780. package/dist/module/workflow/entity/stage.entity.d.ts +0 -7
  781. package/dist/module/workflow/entity/stage.entity.js +0 -39
  782. package/dist/module/workflow/entity/stage.entity.js.map +0 -1
  783. package/dist/module/workflow/entity/task-data.entity.d.ts +0 -30
  784. package/dist/module/workflow/entity/task-data.entity.js +0 -130
  785. package/dist/module/workflow/entity/task-data.entity.js.map +0 -1
  786. package/dist/module/workflow/entity/template-attach-mapper.entity.d.ts +0 -11
  787. package/dist/module/workflow/entity/template-attach-mapper.entity.js +0 -54
  788. package/dist/module/workflow/entity/template-attach-mapper.entity.js.map +0 -1
  789. package/dist/module/workflow/entity/workflow-data.entity.d.ts +0 -4
  790. package/dist/module/workflow/entity/workflow-data.entity.js +0 -27
  791. package/dist/module/workflow/entity/workflow-data.entity.js.map +0 -1
  792. package/dist/module/workflow/entity/workflow-level-mapping.entity.d.ts +0 -7
  793. package/dist/module/workflow/entity/workflow-level-mapping.entity.js +0 -38
  794. package/dist/module/workflow/entity/workflow-level-mapping.entity.js.map +0 -1
  795. package/dist/module/workflow/entity/workflow.entity.d.ts +0 -7
  796. package/dist/module/workflow/entity/workflow.entity.js +0 -39
  797. package/dist/module/workflow/entity/workflow.entity.js.map +0 -1
  798. package/dist/module/workflow/repository/action-category.repository.d.ts +0 -19
  799. package/dist/module/workflow/repository/action-category.repository.js +0 -84
  800. package/dist/module/workflow/repository/action-category.repository.js.map +0 -1
  801. package/dist/module/workflow/repository/action-data.repository.d.ts +0 -23
  802. package/dist/module/workflow/repository/action-data.repository.js +0 -234
  803. package/dist/module/workflow/repository/action-data.repository.js.map +0 -1
  804. package/dist/module/workflow/repository/action.repository.d.ts +0 -30
  805. package/dist/module/workflow/repository/action.repository.js +0 -248
  806. package/dist/module/workflow/repository/action.repository.js.map +0 -1
  807. package/dist/module/workflow/repository/activity-log.repository.d.ts +0 -57
  808. package/dist/module/workflow/repository/activity-log.repository.js +0 -129
  809. package/dist/module/workflow/repository/activity-log.repository.js.map +0 -1
  810. package/dist/module/workflow/repository/comm-template.repository.d.ts +0 -16
  811. package/dist/module/workflow/repository/comm-template.repository.js +0 -114
  812. package/dist/module/workflow/repository/comm-template.repository.js.map +0 -1
  813. package/dist/module/workflow/repository/form-master.repository.d.ts +0 -8
  814. package/dist/module/workflow/repository/form-master.repository.js +0 -38
  815. package/dist/module/workflow/repository/form-master.repository.js.map +0 -1
  816. package/dist/module/workflow/repository/form.repository.d.ts +0 -0
  817. package/dist/module/workflow/repository/form.repository.js +0 -1
  818. package/dist/module/workflow/repository/form.repository.js.map +0 -1
  819. package/dist/module/workflow/repository/stage-group.repository.d.ts +0 -34
  820. package/dist/module/workflow/repository/stage-group.repository.js +0 -135
  821. package/dist/module/workflow/repository/stage-group.repository.js.map +0 -1
  822. package/dist/module/workflow/repository/stage-movement.repository.d.ts +0 -23
  823. package/dist/module/workflow/repository/stage-movement.repository.js +0 -160
  824. package/dist/module/workflow/repository/stage-movement.repository.js.map +0 -1
  825. package/dist/module/workflow/repository/stage.repository.d.ts +0 -31
  826. package/dist/module/workflow/repository/stage.repository.js +0 -117
  827. package/dist/module/workflow/repository/stage.repository.js.map +0 -1
  828. package/dist/module/workflow/repository/task.repository.d.ts +0 -10
  829. package/dist/module/workflow/repository/task.repository.js +0 -103
  830. package/dist/module/workflow/repository/task.repository.js.map +0 -1
  831. package/dist/module/workflow/repository/workflow.repository.d.ts +0 -10
  832. package/dist/module/workflow/repository/workflow.repository.js +0 -49
  833. package/dist/module/workflow/repository/workflow.repository.js.map +0 -1
  834. package/dist/module/workflow/service/action-category.service.d.ts +0 -21
  835. package/dist/module/workflow/service/action-category.service.js +0 -42
  836. package/dist/module/workflow/service/action-category.service.js.map +0 -1
  837. package/dist/module/workflow/service/action-data.service.d.ts +0 -16
  838. package/dist/module/workflow/service/action-data.service.js +0 -40
  839. package/dist/module/workflow/service/action-data.service.js.map +0 -1
  840. package/dist/module/workflow/service/action-resources-mapping.service.d.ts +0 -6
  841. package/dist/module/workflow/service/action-resources-mapping.service.js +0 -27
  842. package/dist/module/workflow/service/action-resources-mapping.service.js.map +0 -1
  843. package/dist/module/workflow/service/action-template-mapping.service.d.ts +0 -7
  844. package/dist/module/workflow/service/action-template-mapping.service.js +0 -90
  845. package/dist/module/workflow/service/action-template-mapping.service.js.map +0 -1
  846. package/dist/module/workflow/service/action.service.d.ts +0 -36
  847. package/dist/module/workflow/service/action.service.js +0 -168
  848. package/dist/module/workflow/service/action.service.js.map +0 -1
  849. package/dist/module/workflow/service/activity-log.service.d.ts +0 -42
  850. package/dist/module/workflow/service/activity-log.service.js +0 -92
  851. package/dist/module/workflow/service/activity-log.service.js.map +0 -1
  852. package/dist/module/workflow/service/comm-template.service.d.ts +0 -24
  853. package/dist/module/workflow/service/comm-template.service.js +0 -133
  854. package/dist/module/workflow/service/comm-template.service.js.map +0 -1
  855. package/dist/module/workflow/service/entity-modification.service.d.ts +0 -8
  856. package/dist/module/workflow/service/entity-modification.service.js +0 -52
  857. package/dist/module/workflow/service/entity-modification.service.js.map +0 -1
  858. package/dist/module/workflow/service/form-master.service.d.ts +0 -14
  859. package/dist/module/workflow/service/form-master.service.js +0 -38
  860. package/dist/module/workflow/service/form-master.service.js.map +0 -1
  861. package/dist/module/workflow/service/populate-workflow.service.d.ts +0 -21
  862. package/dist/module/workflow/service/populate-workflow.service.js +0 -167
  863. package/dist/module/workflow/service/populate-workflow.service.js.map +0 -1
  864. package/dist/module/workflow/service/stage-action-mapping.service.d.ts +0 -3
  865. package/dist/module/workflow/service/stage-action-mapping.service.js +0 -18
  866. package/dist/module/workflow/service/stage-action-mapping.service.js.map +0 -1
  867. package/dist/module/workflow/service/stage-group.service.d.ts +0 -31
  868. package/dist/module/workflow/service/stage-group.service.js +0 -212
  869. package/dist/module/workflow/service/stage-group.service.js.map +0 -1
  870. package/dist/module/workflow/service/stage.service.d.ts +0 -25
  871. package/dist/module/workflow/service/stage.service.js +0 -129
  872. package/dist/module/workflow/service/stage.service.js.map +0 -1
  873. package/dist/module/workflow/service/task.service.d.ts +0 -49
  874. package/dist/module/workflow/service/task.service.js +0 -357
  875. package/dist/module/workflow/service/task.service.js.map +0 -1
  876. package/dist/module/workflow/service/workflow-list-master.service.d.ts +0 -9
  877. package/dist/module/workflow/service/workflow-list-master.service.js +0 -61
  878. package/dist/module/workflow/service/workflow-list-master.service.js.map +0 -1
  879. package/dist/module/workflow/service/workflow-meta.service.d.ts +0 -30
  880. package/dist/module/workflow/service/workflow-meta.service.js +0 -368
  881. package/dist/module/workflow/service/workflow-meta.service.js.map +0 -1
  882. package/dist/module/workflow/service/workflow.service.d.ts +0 -33
  883. package/dist/module/workflow/service/workflow.service.js +0 -140
  884. package/dist/module/workflow/service/workflow.service.js.map +0 -1
  885. package/dist/module/workflow/workflow.module.d.ts +0 -2
  886. package/dist/module/workflow/workflow.module.js +0 -188
  887. package/dist/module/workflow/workflow.module.js.map +0 -1
  888. package/dist/module/workflow-automation/controller/workflow-automation.controller.d.ts +0 -5
  889. package/dist/module/workflow-automation/controller/workflow-automation.controller.js +0 -31
  890. package/dist/module/workflow-automation/controller/workflow-automation.controller.js.map +0 -1
  891. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.d.ts +0 -9
  892. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js +0 -47
  893. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js.map +0 -1
  894. package/dist/module/workflow-automation/entity/workflow-automation.entity.d.ts +0 -12
  895. package/dist/module/workflow-automation/entity/workflow-automation.entity.js +0 -59
  896. package/dist/module/workflow-automation/entity/workflow-automation.entity.js.map +0 -1
  897. package/dist/module/workflow-automation/interface/action.decorator.d.ts +0 -2
  898. package/dist/module/workflow-automation/interface/action.decorator.js +0 -8
  899. package/dist/module/workflow-automation/interface/action.decorator.js.map +0 -1
  900. package/dist/module/workflow-automation/interface/action.interface.d.ts +0 -4
  901. package/dist/module/workflow-automation/interface/action.interface.js +0 -3
  902. package/dist/module/workflow-automation/interface/action.interface.js.map +0 -1
  903. package/dist/module/workflow-automation/service/action-registery.service.d.ts +0 -11
  904. package/dist/module/workflow-automation/service/action-registery.service.js +0 -46
  905. package/dist/module/workflow-automation/service/action-registery.service.js.map +0 -1
  906. package/dist/module/workflow-automation/service/workflow-automation-engine.service.d.ts +0 -14
  907. package/dist/module/workflow-automation/service/workflow-automation-engine.service.js +0 -116
  908. package/dist/module/workflow-automation/service/workflow-automation-engine.service.js.map +0 -1
  909. package/dist/module/workflow-automation/service/workflow-automation.service.d.ts +0 -56
  910. package/dist/module/workflow-automation/service/workflow-automation.service.js +0 -224
  911. package/dist/module/workflow-automation/service/workflow-automation.service.js.map +0 -1
  912. package/dist/module/workflow-automation/workflow-automation.module.d.ts +0 -2
  913. package/dist/module/workflow-automation/workflow-automation.module.js +0 -47
  914. package/dist/module/workflow-automation/workflow-automation.module.js.map +0 -1
  915. package/dist/resources/properties.module.d.ts +0 -2
  916. package/dist/resources/properties.module.js +0 -25
  917. package/dist/resources/properties.module.js.map +0 -1
  918. package/dist/resources/properties.yaml.d.ts +0 -2
  919. package/dist/resources/properties.yaml.js +0 -10
  920. package/dist/resources/properties.yaml.js.map +0 -1
  921. package/dist/table.config.d.ts +0 -40
  922. package/dist/table.config.js +0 -128
  923. package/dist/table.config.js.map +0 -1
  924. package/dist/tsconfig.build.tsbuildinfo +0 -1
  925. package/dist/utils/dto/excel-data.dto.d.ts +0 -7
  926. package/dist/utils/dto/excel-data.dto.js +0 -16
  927. package/dist/utils/dto/excel-data.dto.js.map +0 -1
  928. package/dist/utils/dto/excelsheet-data.dto.d.ts +0 -5
  929. package/dist/utils/dto/excelsheet-data.dto.js +0 -3
  930. package/dist/utils/dto/excelsheet-data.dto.js.map +0 -1
  931. package/dist/utils/service/base64util.service.d.ts +0 -4
  932. package/dist/utils/service/base64util.service.js +0 -21
  933. package/dist/utils/service/base64util.service.js.map +0 -1
  934. package/dist/utils/service/clockIDGenUtil.service.d.ts +0 -8
  935. package/dist/utils/service/clockIDGenUtil.service.js +0 -32
  936. package/dist/utils/service/clockIDGenUtil.service.js.map +0 -1
  937. package/dist/utils/service/codeGenerator.service.d.ts +0 -3
  938. package/dist/utils/service/codeGenerator.service.js +0 -19
  939. package/dist/utils/service/codeGenerator.service.js.map +0 -1
  940. package/dist/utils/service/dateUtil.service.d.ts +0 -3
  941. package/dist/utils/service/dateUtil.service.js +0 -28
  942. package/dist/utils/service/dateUtil.service.js.map +0 -1
  943. package/dist/utils/service/encryptUtil.service.d.ts +0 -9
  944. package/dist/utils/service/encryptUtil.service.js +0 -112
  945. package/dist/utils/service/encryptUtil.service.js.map +0 -1
  946. package/dist/utils/service/excel-helper.service.d.ts +0 -9
  947. package/dist/utils/service/excel-helper.service.js +0 -56
  948. package/dist/utils/service/excel-helper.service.js.map +0 -1
  949. package/dist/utils/service/excelUtil.service.d.ts +0 -3
  950. package/dist/utils/service/excelUtil.service.js +0 -17
  951. package/dist/utils/service/excelUtil.service.js.map +0 -1
  952. package/dist/utils/service/file-util.service.d.ts +0 -3
  953. package/dist/utils/service/file-util.service.js +0 -15
  954. package/dist/utils/service/file-util.service.js.map +0 -1
  955. package/dist/utils/service/json-util.service.d.ts +0 -3
  956. package/dist/utils/service/json-util.service.js +0 -24
  957. package/dist/utils/service/json-util.service.js.map +0 -1
  958. package/dist/utils/service/loggingUtil.service.d.ts +0 -4
  959. package/dist/utils/service/loggingUtil.service.js +0 -36
  960. package/dist/utils/service/loggingUtil.service.js.map +0 -1
  961. package/dist/utils/service/reflection-helper.service.d.ts +0 -10
  962. package/dist/utils/service/reflection-helper.service.js +0 -66
  963. package/dist/utils/service/reflection-helper.service.js.map +0 -1
  964. package/dist/utils/service/wbsCodeGen.service.d.ts +0 -3
  965. package/dist/utils/service/wbsCodeGen.service.js +0 -20
  966. package/dist/utils/service/wbsCodeGen.service.js.map +0 -1
  967. package/dist/utils/utils.module.d.ts +0 -2
  968. package/dist/utils/utils.module.js +0 -38
  969. package/dist/utils/utils.module.js.map +0 -1
@@ -1,248 +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.ActionRepository = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const typeorm_1 = require("@nestjs/typeorm");
18
- const typeorm_2 = require("typeorm");
19
- const action_entity_1 = require("../entity/action.entity");
20
- let ActionRepository = class ActionRepository {
21
- constructor(actionRepository, dataSource) {
22
- this.actionRepository = actionRepository;
23
- this.dataSource = dataSource;
24
- }
25
- async getReasonCode(loggedInUser) {
26
- const { organization_id } = loggedInUser;
27
- const result = await this.dataSource.query(`
28
- SELECT name, type
29
- FROM frm_list_master
30
- WHERE organization_id = ? AND source = 'master'
31
- `, [organization_id]);
32
- const formatted = result.map((item) => ({
33
- label: item.name,
34
- value: item.type,
35
- }));
36
- return formatted;
37
- }
38
- async defaultReasonCode(list_type, loggedInUser) {
39
- const { organization_id } = loggedInUser;
40
- if (!list_type) {
41
- throw new common_1.BadRequestException('list_type is required');
42
- }
43
- const result = await this.dataSource.query(`
44
- SELECT name, id
45
- FROM frm_list_master_items
46
- WHERE listtype = ? AND organization_id = ?
47
- `, [list_type, organization_id]);
48
- return result.map((row) => ({
49
- label: row.name,
50
- value: row.id,
51
- }));
52
- }
53
- async getActions(loggedInUser, stage_id) {
54
- const { organization_id } = loggedInUser;
55
- const stageActions = await this.dataSource.query(`
56
- SELECT id, action_id
57
- FROM frm_wf_stage_action_mapping
58
- WHERE stage_id = ?
59
- `, [stage_id]);
60
- if (!stageActions?.length)
61
- return [];
62
- const actionIds = stageActions.map((sa) => sa.action_id);
63
- const mappingIds = stageActions.map((sa) => sa.id);
64
- const templateMappings = await this.dataSource.query(`
65
- SELECT stg_act_mapping_id, template_code
66
- FROM frm_wf_action_template_mapping
67
- WHERE stg_act_mapping_id IN (${mappingIds.map(() => '?').join(',')})
68
- `, mappingIds);
69
- const templateCodes = templateMappings.map((tm) => tm.template_code);
70
- const templateCodeToName = {};
71
- if (templateCodes.length > 0) {
72
- const templates = await this.dataSource
73
- .createQueryBuilder()
74
- .select(['t.code AS code', 't.name AS name'])
75
- .from('frm_wf_comm_template', 't')
76
- .where('t.code IN (:...codes)', { codes: templateCodes })
77
- .andWhere('t.organization_id = :orgId', { orgId: organization_id })
78
- .getRawMany();
79
- templates.forEach((tpl) => {
80
- templateCodeToName[tpl.code] = tpl.name;
81
- });
82
- }
83
- const mappingIdToTemplates = {};
84
- for (const tm of templateMappings) {
85
- const mappingId = tm.stg_act_mapping_id;
86
- const name = templateCodeToName[tm.template_code];
87
- if (name) {
88
- if (!mappingIdToTemplates[mappingId]) {
89
- mappingIdToTemplates[mappingId] = [];
90
- }
91
- mappingIdToTemplates[mappingId].push(name);
92
- }
93
- }
94
- const actionIdToTemplates = {};
95
- for (const sa of stageActions) {
96
- const mappingId = sa.id;
97
- const templates = mappingIdToTemplates[mappingId];
98
- if (templates?.length) {
99
- if (!actionIdToTemplates[sa.action_id]) {
100
- actionIdToTemplates[sa.action_id] = [];
101
- }
102
- actionIdToTemplates[sa.action_id].push(...templates);
103
- }
104
- }
105
- const actionResults = await this.dataSource
106
- .createQueryBuilder()
107
- .select([
108
- 'a.*',
109
- 'ac.name AS action_category',
110
- 'ar.name AS action_requirement',
111
- ])
112
- .from('frm_wf_action', 'a')
113
- .leftJoin('frm_wf_action_category', 'ac', 'ac.id = a.action_category')
114
- .leftJoin('frm_list_master_items', 'ar', `ar.id = a.action_requirement AND ar.listtype = 'ACRQ' AND ar.organization_id = :orgId`, { orgId: organization_id })
115
- .where('a.organization_id = :orgId', { orgId: organization_id })
116
- .andWhere('a.id IN (:...actionIds)', { actionIds })
117
- .getRawMany();
118
- const enrichedResult = actionResults.map((row) => {
119
- const actionId = Number(row.id);
120
- const templates = actionIdToTemplates[actionId] || [];
121
- const uniqueTemplates = [...new Set(templates)];
122
- return {
123
- ...row,
124
- template: uniqueTemplates.join(', '),
125
- };
126
- });
127
- return enrichedResult;
128
- }
129
- async getDependentActions(loggedInUser, stage_id, action_id) {
130
- const stageActions = await this.dataSource.query(`
131
- SELECT action_id
132
- FROM frm_wf_stage_action_mapping
133
- WHERE stage_id = ?
134
- `, [stage_id]);
135
- if (!stageActions?.length)
136
- return [];
137
- const actionIds = stageActions.map((sa) => sa.action_id);
138
- const filteredActionIds = action_id
139
- ? actionIds.filter((id) => id != action_id)
140
- : actionIds;
141
- let actionResults;
142
- if (filteredActionIds.length === 0) {
143
- return [];
144
- }
145
- actionResults = await this.dataSource
146
- .createQueryBuilder()
147
- .select(['a.id AS action_id', 'a.name AS action_name'])
148
- .from('frm_wf_action', 'a')
149
- .andWhere('a.id IN(:...actionIds)', { actionIds: filteredActionIds })
150
- .getRawMany();
151
- const enrichedResult = actionResults.map((row) => ({
152
- value: row.action_id,
153
- label: row.action_name,
154
- }));
155
- return enrichedResult;
156
- }
157
- async getAction(organization_id, stage_id, mapped_entity_id, mapped_entity_type) {
158
- const stageActions = await this.dataSource.query(`SELECT id, action_id FROM frm_wf_stage_action_mapping WHERE stage_id = ?`, [stage_id]);
159
- if (!stageActions?.length) {
160
- return [
161
- {
162
- value: '0',
163
- label: 'Generic',
164
- },
165
- ];
166
- }
167
- const actionIds = stageActions.map((sa) => sa.action_id);
168
- const actions = await this.dataSource
169
- .createQueryBuilder()
170
- .select([
171
- 'a.id AS action_id',
172
- 'a.name AS action_name',
173
- 'a.reason_code AS action_reason_code',
174
- 'a.default_reason_code AS default_reason_code',
175
- 'a.default_value AS default_value',
176
- 'a.mode AS mode',
177
- 'a.action_category AS action_category_id',
178
- 'ac.reason_code AS category_reason_code',
179
- 'ac.modalName AS modalName',
180
- 'ac.logo AS logo',
181
- 'ac.name AS action_category_name',
182
- 'a.dependent_action_id AS dependent_action_id',
183
- ])
184
- .from('frm_wf_action', 'a')
185
- .leftJoin('frm_wf_action_category', 'ac', 'ac.id = a.action_category')
186
- .where('a.organization_id = :orgId', { orgId: organization_id })
187
- .andWhere('a.id IN (:...actionIds)', { actionIds })
188
- .getRawMany();
189
- const actionData = await this.dataSource
190
- .createQueryBuilder()
191
- .select([
192
- 'ad.action_id AS action_id',
193
- 'ad.is_current AS is_current',
194
- 'ad.is_mandatory AS is_mandatory',
195
- 'ad.is_done AS is_done',
196
- ])
197
- .from('frm_wf_action_data', 'ad')
198
- .where('ad.stage_id = :stageId', { stageId: stage_id })
199
- .andWhere('ad.action_id IN (:...actionIds)', { actionIds })
200
- .andWhere('ad.mapped_entity_id = :mapped_entity_id', { mapped_entity_id })
201
- .andWhere('ad.mapped_entity_type = :mapped_entity_type', {
202
- mapped_entity_type,
203
- })
204
- .getRawMany();
205
- const actionIdToData = actionData.reduce((acc, row) => {
206
- acc[row.action_id] = {
207
- is_current: row.is_current === 'Y',
208
- is_mandatory: row.is_mandatory === 1,
209
- is_done: row.is_done === 1,
210
- };
211
- return acc;
212
- }, {});
213
- const enrichedResult = actions.map((row) => {
214
- const data = actionIdToData[row.action_id];
215
- const reason_code = row.action_reason_code && row.action_reason_code.trim()
216
- ? row.action_reason_code
217
- : row.category_reason_code;
218
- return {
219
- value: row.action_id,
220
- dependent_action_id: row.dependent_action_id,
221
- label: row.action_name,
222
- modalName: row.modalName,
223
- logo: row.logo,
224
- mode: row.mode,
225
- name: row.action_category_name,
226
- reason_code,
227
- default_reason_code: row.default_reason_code,
228
- is_default: row.default_value === 1,
229
- is_current: data?.is_current ?? false,
230
- is_done: data?.is_done ?? false,
231
- is_mandatory: data?.is_mandatory ?? false,
232
- };
233
- });
234
- enrichedResult.push({
235
- value: '0',
236
- label: 'Generic',
237
- });
238
- return enrichedResult;
239
- }
240
- };
241
- exports.ActionRepository = ActionRepository;
242
- exports.ActionRepository = ActionRepository = __decorate([
243
- (0, common_1.Injectable)(),
244
- __param(0, (0, typeorm_1.InjectRepository)(action_entity_1.ActionEntity)),
245
- __metadata("design:paramtypes", [typeorm_2.Repository,
246
- typeorm_2.DataSource])
247
- ], ActionRepository);
248
- //# sourceMappingURL=action.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action.repository.js","sourceRoot":"","sources":["../../../../src/module/workflow/repository/action.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAKwB;AACxB,6CAAmD;AACnD,qCAAiD;AACjD,2DAAuD;AAIhD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAC3B,YAEmB,gBAA0C,EAC1C,UAAsB;QADtB,qBAAgB,GAAhB,gBAAgB,CAA0B;QAC1C,eAAU,GAAV,UAAU,CAAY;IACtC,CAAC;IAEJ,KAAK,CAAC,aAAa,CAAC,YAAsB;QACxC,MAAM,EAAE,eAAe,EAAE,GAAG,YAAY,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AAmB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,KAAK,EAAE,GAAG,CAAC,WAAW;gBACtB,SAAS,EAAE,GAAG,CAAC,SAAS;gBACxB,IAAI,EAAE,GAAG,CAAC,IAAI;gBACd,IAAI,EAAE,GAAG,CAAC,IAAI;gBACd,IAAI,EAAE,GAAG,CAAC,oBAAoB;gBAC9B,WAAW;gBACX,mBAAmB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,UAAU,EAAE,GAAG,CAAC,aAAa,KAAK,CAAC;gBACnC,UAAU,EAAE,IAAI,EAAE,UAAU,IAAI,KAAK;gBACrC,OAAO,EAAE,IAAI,EAAE,OAAO,IAAI,KAAK;gBAC/B,YAAY,EAAE,IAAI,EAAE,YAAY,IAAI,KAAK;aAC1C,CAAC;QACJ,CAAC,CAAC,CAAC;QAGH,cAAc,CAAC,IAAI,CAAC;YAClB,KAAK,EAAE,GAAG;YACV,KAAK,EAAE,SAAS;SACV,CAAC,CAAC;QAEV,OAAO,cAAc,CAAC;IACxB,CAAC;CACF,CAAA;AAtTY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,0BAAgB,EAAC,4BAAY,CAAC,CAAA;qCACI,oBAAU;QAChB,oBAAU;GAJ9B,gBAAgB,CAsT5B"}
@@ -1,57 +0,0 @@
1
- import { MediaDataService } from 'src/module/meta/service/media-data.service';
2
- import { ActivityLog } from '../entity/activity-log.entity';
3
- import { Repository } from 'typeorm';
4
- import { ConfigService } from '@nestjs/config';
5
- export declare const ACTIVITY_CATEGORIES: {
6
- readonly ASSIGN: "ASSIGN";
7
- readonly INTERACTION: "INTERACTION";
8
- readonly FORM: "FORM";
9
- readonly STAGE: "STAGE";
10
- readonly ASSESSMENT: "ASSESSMENT";
11
- readonly MEETING: "MEETING";
12
- readonly PROCESS: "PROCESS";
13
- readonly STATUS: "STATUS";
14
- readonly TASK: "TASK";
15
- readonly LEAD: "LEAD";
16
- readonly STAGEGROUP: "STAGE_GROUP";
17
- };
18
- export type ActivityCategoryType = keyof typeof ACTIVITY_CATEGORIES;
19
- export declare class ActivityLogRepository {
20
- private readonly activityLogRepository;
21
- private readonly mediaDataService;
22
- private readonly configService;
23
- constructor(activityLogRepository: Repository<ActivityLog>, mediaDataService: MediaDataService, configService: ConfigService);
24
- getAllActivityLog(mapped_entity_type: string, mapped_entity_id: number | string, category: string | undefined, loggedInUser: any): Promise<{
25
- category: string;
26
- created_date: string | null;
27
- mapped_entity_type: string;
28
- mapped_entity_id: string;
29
- title: string;
30
- description: string;
31
- action: string;
32
- icon: string;
33
- color: string;
34
- additional_info_1: string;
35
- additional_info_2: string;
36
- additional_info_3: string;
37
- id: number;
38
- entity_type: string;
39
- name: string;
40
- status: string;
41
- parent_type: string;
42
- parent_id: number;
43
- code: string;
44
- created_by: number;
45
- modified_by: number;
46
- modified_date: Date;
47
- enterprise_id: number;
48
- organization_id: number;
49
- appcode: string;
50
- level_id: string;
51
- level_type: string;
52
- }[]>;
53
- getAllActivityCategory(mapped_entity_id: number | string, mapped_entity_type: string, loggedInUser: any): Promise<{
54
- label: any;
55
- value: any;
56
- }[]>;
57
- }
@@ -1,129 +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.ActivityLogRepository = exports.ACTIVITY_CATEGORIES = void 0;
16
- const typeorm_1 = require("@nestjs/typeorm");
17
- const media_data_service_1 = require("../../meta/service/media-data.service");
18
- const activity_log_entity_1 = require("../entity/activity-log.entity");
19
- const typeorm_2 = require("typeorm");
20
- const moment = require("moment");
21
- const axios_1 = require("axios");
22
- const config_1 = require("@nestjs/config");
23
- exports.ACTIVITY_CATEGORIES = {
24
- ASSIGN: 'ASSIGN',
25
- INTERACTION: 'INTERACTION',
26
- FORM: 'FORM',
27
- STAGE: 'STAGE',
28
- ASSESSMENT: 'ASSESSMENT',
29
- MEETING: 'MEETING',
30
- PROCESS: 'PROCESS',
31
- STATUS: 'STATUS',
32
- TASK: 'TASK',
33
- LEAD: 'LEAD',
34
- STAGEGROUP: 'STAGE_GROUP',
35
- };
36
- let ActivityLogRepository = class ActivityLogRepository {
37
- constructor(activityLogRepository, mediaDataService, configService) {
38
- this.activityLogRepository = activityLogRepository;
39
- this.mediaDataService = mediaDataService;
40
- this.configService = configService;
41
- }
42
- async getAllActivityLog(mapped_entity_type, mapped_entity_id, category, loggedInUser) {
43
- const { organization_id, id: loggedInUserId } = loggedInUser;
44
- const query = this.activityLogRepository
45
- .createQueryBuilder('log')
46
- .where('log.mapped_entity_type = :mapped_entity_type', {
47
- mapped_entity_type,
48
- })
49
- .andWhere('log.organization_id = :organization_id', { organization_id })
50
- .andWhere('log.mapped_entity_id = :mapped_entity_id', {
51
- mapped_entity_id,
52
- });
53
- if (category) {
54
- query.andWhere('log.category = :category', { category });
55
- }
56
- query.orderBy('log.created_date', 'DESC');
57
- const rows = await query.getRawAndEntities();
58
- if (rows?.entities) {
59
- let user = null;
60
- for (const param of rows?.entities) {
61
- try {
62
- const baseUrl = this.configService.get('REDIRECT_BE_URL');
63
- const queryParams = new URLSearchParams({
64
- loggedInUser: JSON.stringify(loggedInUser),
65
- }).toString();
66
- const response = await axios_1.default.get(`${baseUrl}/users/profile-image-url/${param?.created_by}?entity_type=USR&${queryParams}`, {
67
- headers: {
68
- 'Content-Type': 'application/json',
69
- },
70
- });
71
- user = response.data;
72
- param.user_name = user.name;
73
- param.profile_image = user.profile_image;
74
- }
75
- catch (error) {
76
- console.error('⚠️ Internal Entity API call failed:', error.message);
77
- }
78
- }
79
- }
80
- const result = await Promise.all(rows.entities.map(async (entity, i) => {
81
- const profileImageId = rows.raw[i].profile_image;
82
- let profile = null;
83
- const formattedLabel = entity.category
84
- .toLowerCase()
85
- .replace(/_/g, ' ')
86
- .replace(/\b\w/g, (char) => char.toUpperCase());
87
- return {
88
- ...entity,
89
- category: formattedLabel,
90
- created_date: entity.created_date
91
- ? moment(entity.created_date).local().format('DD-MMM, hh:mm A')
92
- : null,
93
- };
94
- }));
95
- return result;
96
- }
97
- async getAllActivityCategory(mapped_entity_id, mapped_entity_type, loggedInUser) {
98
- const { organization_id } = loggedInUser;
99
- const result = await this.activityLogRepository
100
- .createQueryBuilder('log')
101
- .select('DISTINCT UPPER(log.category)', 'category')
102
- .where('log.mapped_entity_type = :mapped_entity_type', {
103
- mapped_entity_type,
104
- })
105
- .andWhere('log.organization_id = :organization_id', { organization_id })
106
- .andWhere('log.mapped_entity_id = :mapped_entity_id', {
107
- mapped_entity_id,
108
- })
109
- .getRawMany();
110
- return result.map((row) => {
111
- const formattedLabel = row.category
112
- .toLowerCase()
113
- .replace(/_/g, ' ')
114
- .replace(/\b\w/g, (char) => char.toUpperCase());
115
- return {
116
- label: formattedLabel,
117
- value: row.category,
118
- };
119
- });
120
- }
121
- };
122
- exports.ActivityLogRepository = ActivityLogRepository;
123
- exports.ActivityLogRepository = ActivityLogRepository = __decorate([
124
- __param(0, (0, typeorm_1.InjectRepository)(activity_log_entity_1.ActivityLog)),
125
- __metadata("design:paramtypes", [typeorm_2.Repository,
126
- media_data_service_1.MediaDataService,
127
- config_1.ConfigService])
128
- ], ActivityLogRepository);
129
- //# sourceMappingURL=activity-log.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity-log.repository.js","sourceRoot":"","sources":["../../../../src/module/workflow/repository/activity-log.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAAmD;AACnD,8EAA8E;AAC9E,uEAA4D;AAC5D,qCAAqC;AACrC,iCAAiC;AACjC,iCAA0B;AAC1B,2CAA+C;AAElC,QAAA,mBAAmB,GAAG;IACjC,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CACjB,CAAC;AAIX,IAAa,qBAAqB,GAAlC,MAAa,qBAAqB;IAChC,YAEmB,qBAA8C,EAC9C,gBAAkC,EAClC,aAA4B;QAF5B,0BAAqB,GAArB,qBAAqB,CAAyB;QAC9C,qBAAgB,GAAhB,gBAAgB,CAAkB;QAClC,kBAAa,GAAb,aAAa,CAAe;IAC5C,CAAC;IAEJ,KAAK,CAAC,iBAAiB,CACrB,kBAA0B,EAC1B,gBAAiC,EACjC,QAA4B,EAC5B,YAAY;QAEZ,MAAM,EAAE,eAAe,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,YAAY,CAAC;QAE7D,MAAM,KAAK,GAAG,IAAI,CAAC,qBAAqB;aACrC,kBAAkB,CAAC,KAAK,CAAC;aACzB,KAAK,CAAC,8CAA8C,EAAE;YACrD,kBAAkB;SACnB,CAAC;aACD,QAAQ,CAAC,wCAAwC,EAAE,EAAE,eAAe,EAAE,CAAC;aACvE,QAAQ,CAAC,0CAA0C,EAAE;YACpD,gBAAgB;SACjB,CAAC,CAAC;QAEL,IAAI,QAAQ,EAAE,CAAC;YACb,KAAK,CAAC,QAAQ,CAAC,0B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E,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;YAClD,OAAO;gBACL,KAAK,EAAE,cAAc;gBACrB,KAAK,EAAE,GAAG,CAAC,QAAQ;aACpB,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA3HY,sDAAqB;gCAArB,qBAAqB;IAE7B,WAAA,IAAA,0BAAgB,EAAC,iCAAW,CAAC,CAAA;qCACU,oBAAU;QACf,qCAAgB;QACnB,sBAAa;GALpC,qBAAqB,CA2HjC"}
@@ -1,16 +0,0 @@
1
- import { DataSource, Repository } from 'typeorm';
2
- import { CommTemplate } from '../entity/comm-template.entity';
3
- import { TemplateAttach } from '../entity/template-attach-mapper.entity';
4
- import { MediaDataService } from 'src/module/meta/service/media-data.service';
5
- export declare class CommTemplateRepository {
6
- private readonly commTemplateRepository;
7
- private readonly templateAttachEntity;
8
- private readonly mediaDataService;
9
- private readonly dataSource;
10
- constructor(commTemplateRepository: Repository<CommTemplate>, templateAttachEntity: Repository<TemplateAttach>, mediaDataService: MediaDataService, dataSource: DataSource);
11
- getAllCommTemplate(entity_type: string, action_id?: number, loggedInUser?: any): Promise<CommTemplate[]>;
12
- save(commTemplate: any): Promise<any>;
13
- delete(id: any): Promise<any>;
14
- getTemplateByCode(entity_type: string, id: number, loggedInUser: any): Promise<any | null>;
15
- findByCodeAndLevelIdAndLevelTypeAndAppCode(code: string, level_id: string, level_type: string, appcode: string): Promise<CommTemplate | null>;
16
- }
@@ -1,114 +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.CommTemplateRepository = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const typeorm_1 = require("@nestjs/typeorm");
18
- const typeorm_2 = require("typeorm");
19
- const comm_template_entity_1 = require("../entity/comm-template.entity");
20
- const template_attach_mapper_entity_1 = require("../entity/template-attach-mapper.entity");
21
- const media_data_service_1 = require("../../meta/service/media-data.service");
22
- let CommTemplateRepository = class CommTemplateRepository {
23
- constructor(commTemplateRepository, templateAttachEntity, mediaDataService, dataSource) {
24
- this.commTemplateRepository = commTemplateRepository;
25
- this.templateAttachEntity = templateAttachEntity;
26
- this.mediaDataService = mediaDataService;
27
- this.dataSource = dataSource;
28
- }
29
- async getAllCommTemplate(entity_type, action_id, loggedInUser) {
30
- const { organization_id, level_id, level_type } = loggedInUser;
31
- let is_template;
32
- if (action_id) {
33
- const [actionResult] = await this.dataSource.query(`SELECT is_template
34
- FROM frm_wf_action
35
- WHERE id = ? AND organization_id = ?
36
- LIMIT 1`, [action_id, organization_id]);
37
- if (!actionResult) {
38
- throw new Error('Invalid action_id');
39
- }
40
- is_template = actionResult.is_template;
41
- await this.dataSource.query(`UPDATE frm_wf_comm_template
42
- SET is_template = ?
43
- WHERE mapped_entity_type = ?
44
- AND organization_id = ? AND level_id = ? AND level_type=?`, [is_template, entity_type, organization_id, level_id, level_type]);
45
- }
46
- const whereCondition = {
47
- organization_id,
48
- level_id,
49
- level_type,
50
- };
51
- if (typeof is_template !== 'undefined') {
52
- whereCondition.is_template = is_template;
53
- }
54
- return this.commTemplateRepository.find({
55
- select: ['name', 'code', 'mode', 'is_template'],
56
- where: whereCondition,
57
- });
58
- }
59
- async save(commTemplate) {
60
- return this.templateAttachEntity.save(commTemplate);
61
- }
62
- async delete(id) {
63
- return await this.templateAttachEntity.delete(id);
64
- }
65
- async getTemplateByCode(entity_type, id, loggedInUser) {
66
- const template = await this.commTemplateRepository.findOne({
67
- where: { entity_type, id },
68
- });
69
- if (!template) {
70
- throw new common_1.NotFoundException(`Template with id ${id} not found`);
71
- }
72
- if (template.format_type === 'markup') {
73
- const media = await this.mediaDataService.getMediaDownloadUrl(template.markup_id, loggedInUser);
74
- template.markup_id = media;
75
- }
76
- if (template.format_type === 'richtext') {
77
- return template;
78
- }
79
- const attachments = await this.templateAttachEntity.find({
80
- select: ['media_id'],
81
- where: {
82
- entity_type,
83
- template_id: template.id,
84
- },
85
- });
86
- let attachmentsMedia = [];
87
- if (attachments.length > 0) {
88
- attachmentsMedia = await Promise.all(attachments.map(async (att) => {
89
- const media = await this.mediaDataService.getMediaDownloadUrl(att.media_id, loggedInUser);
90
- return media;
91
- }));
92
- }
93
- return {
94
- ...template,
95
- attachments: attachmentsMedia,
96
- };
97
- }
98
- async findByCodeAndLevelIdAndLevelTypeAndAppCode(code, level_id, level_type, appcode) {
99
- return await this.commTemplateRepository.findOne({
100
- where: { code, level_id, level_type, appcode }
101
- });
102
- }
103
- };
104
- exports.CommTemplateRepository = CommTemplateRepository;
105
- exports.CommTemplateRepository = CommTemplateRepository = __decorate([
106
- (0, common_1.Injectable)(),
107
- __param(0, (0, typeorm_1.InjectRepository)(comm_template_entity_1.CommTemplate)),
108
- __param(1, (0, typeorm_1.InjectRepository)(template_attach_mapper_entity_1.TemplateAttach)),
109
- __metadata("design:paramtypes", [typeorm_2.Repository,
110
- typeorm_2.Repository,
111
- media_data_service_1.MediaDataService,
112
- typeorm_2.DataSource])
113
- ], CommTemplateRepository);
114
- //# sourceMappingURL=comm-template.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"comm-template.repository.js","sourceRoot":"","sources":["../../../../src/module/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gB,GAAU,EAAE,CAAC;QACjC,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC3B,gBAAgB,GAAG,MAAM,OAAO,CAAC,GAAG,CAClC,WAAW,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAE5B,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAC3D,GAAG,CAAC,QAAQ,EACZ,YAAY,CACb,CAAC;gBACF,OAAO,KAAK,CAAC;YACf,CAAC,CAAC,CACH,CAAC;QACJ,CAAC;QAGD,OAAO;YACL,GAAG,QAAQ;YACX,WAAW,EAAE,gBAAgB;SAC9B,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,0CAA0C,CAAC,IAAY,EAAE,QAAgB,EAC9B,UAAkB,EAAE,OAAe;QAClF,OAAO,MAAM,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC;YAC/C,KAAK,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAC;SAC7C,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA5IY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,0BAAgB,EAAC,mCAAY,CAAC,CAAA;IAE9B,WAAA,IAAA,0BAAgB,EAAC,8CAAc,CAAC,CAAA;qCADQ,oBAAU;QAEZ,oBAAU;QACd,qCAAgB;QACtB,oBAAU;GAP9B,sBAAsB,CA4IlC"}
@@ -1,8 +0,0 @@
1
- import { DataSource } from 'typeorm';
2
- import { UserData } from 'src/module/user/entity/user.entity';
3
- export declare class FormMasterRepository {
4
- private readonly dataSource;
5
- constructor(dataSource: DataSource);
6
- getForms(organization_id: number, source_entity_type: string): Promise<any>;
7
- submitForm(redirect_data: any, loggedInUser: UserData): Promise<string>;
8
- }
@@ -1,38 +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.FormMasterRepository = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const typeorm_1 = require("typeorm");
15
- let FormMasterRepository = class FormMasterRepository {
16
- constructor(dataSource) {
17
- this.dataSource = dataSource;
18
- }
19
- async getForms(organization_id, source_entity_type) {
20
- const forms = await this.dataSource.query(`SELECT fm.id as fm_id, fm.name as fm_form_name
21
- FROM frm_entity_view fm
22
- WHERE fm.organization_id = ? AND fm.mapped_entity_type = ?`, [organization_id, source_entity_type]);
23
- const formatted = forms.map((form) => ({
24
- label: form.fm_form_name,
25
- value: form.fm_id,
26
- }));
27
- return formatted;
28
- }
29
- async submitForm(redirect_data, loggedInUser) {
30
- return 'frm_form_master is removed package. So, this function is deactivated.';
31
- }
32
- };
33
- exports.FormMasterRepository = FormMasterRepository;
34
- exports.FormMasterRepository = FormMasterRepository = __decorate([
35
- (0, common_1.Injectable)(),
36
- __metadata("design:paramtypes", [typeorm_1.DataSource])
37
- ], FormMasterRepository);
38
- //# sourceMappingURL=form-master.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-master.repository.js","sourceRoot":"","sources":["../../../../src/module/workflow/repository/form-master.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAKwB;AAExB,qCAAiD;AAK1C,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YACmB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAGtC,CAAC;IAEJ,KAAK,CAAC,QAAQ,CAAC,eAAuB,EAAE,kBAA0B;QAChE,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CACvC;;kEAE4D,EAC5D,CAAC,eAAe,EAAE,kBAAkB,CAAC,CACtC,CAAC;QAEF,MAAM,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC;YAC1C,KAAK,EAAE,IAAI,CAAC,YAAY;YACxB,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC,CAAC;QAEJ,OAAO,SAAS,CAAC;IACnB,CAAC;IASD,KAAK,CAAC,UAAU,CAAC,aAAkB,EAAE,YAAsB;QAczD,OAAO,uEAAuE,CAAC;IACjF,CAAC;CACF,CAAA;AA9CY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAGoB,oBAAU;GAF9B,oBAAoB,CA8ChC"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=form.repository.js.map