rez_core 6.5.54 → 6.5.55

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 (1089) hide show
  1. package/package.json +1 -1
  2. package/src/module/module/repository/module-access.repository.ts +1 -1
  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 -79
  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/bull.config.d.ts +0 -10
  13. package/dist/config/bull.config.js +0 -66
  14. package/dist/config/bull.config.js.map +0 -1
  15. package/dist/config/config.module.d.ts +0 -2
  16. package/dist/config/config.module.js +0 -29
  17. package/dist/config/config.module.js.map +0 -1
  18. package/dist/config/database.config.d.ts +0 -7
  19. package/dist/config/database.config.js +0 -43
  20. package/dist/config/database.config.js.map +0 -1
  21. package/dist/constant/global.constant.d.ts +0 -50
  22. package/dist/constant/global.constant.js +0 -54
  23. package/dist/constant/global.constant.js.map +0 -1
  24. package/dist/constant/status.constant.d.ts +0 -4
  25. package/dist/constant/status.constant.js +0 -9
  26. package/dist/constant/status.constant.js.map +0 -1
  27. package/dist/core.module.d.ts +0 -4
  28. package/dist/core.module.js +0 -113
  29. package/dist/core.module.js.map +0 -1
  30. package/dist/decorators/roles.decorator.d.ts +0 -1
  31. package/dist/decorators/roles.decorator.js +0 -7
  32. package/dist/decorators/roles.decorator.js.map +0 -1
  33. package/dist/dtos/response.d.ts +0 -5
  34. package/dist/dtos/response.dto.d.ts +0 -5
  35. package/dist/dtos/response.dto.js +0 -3
  36. package/dist/dtos/response.dto.js.map +0 -1
  37. package/dist/dtos/response.js +0 -3
  38. package/dist/dtos/response.js.map +0 -1
  39. package/dist/index.d.ts +0 -1
  40. package/dist/index.js +0 -18
  41. package/dist/index.js.map +0 -1
  42. package/dist/main.d.ts +0 -1
  43. package/dist/main.js +0 -25
  44. package/dist/main.js.map +0 -1
  45. package/dist/module/app_master/app-master.module.d.ts +0 -2
  46. package/dist/module/app_master/app-master.module.js +0 -28
  47. package/dist/module/app_master/app-master.module.js.map +0 -1
  48. package/dist/module/app_master/controller/app-master.controller.d.ts +0 -9
  49. package/dist/module/app_master/controller/app-master.controller.js +0 -51
  50. package/dist/module/app_master/controller/app-master.controller.js.map +0 -1
  51. package/dist/module/app_master/entity/app-master.entity.d.ts +0 -17
  52. package/dist/module/app_master/entity/app-master.entity.js +0 -80
  53. package/dist/module/app_master/entity/app-master.entity.js.map +0 -1
  54. package/dist/module/app_master/repository/app-master.repository.d.ts +0 -7
  55. package/dist/module/app_master/repository/app-master.repository.js +0 -36
  56. package/dist/module/app_master/repository/app-master.repository.js.map +0 -1
  57. package/dist/module/app_master/service/app-master.service.d.ts +0 -8
  58. package/dist/module/app_master/service/app-master.service.js +0 -45
  59. package/dist/module/app_master/service/app-master.service.js.map +0 -1
  60. package/dist/module/auth/auth.module.d.ts +0 -2
  61. package/dist/module/auth/auth.module.js +0 -57
  62. package/dist/module/auth/auth.module.js.map +0 -1
  63. package/dist/module/auth/controller/auth.controller.d.ts +0 -5
  64. package/dist/module/auth/controller/auth.controller.js +0 -25
  65. package/dist/module/auth/controller/auth.controller.js.map +0 -1
  66. package/dist/module/auth/guards/google-auth.guard.d.ts +0 -6
  67. package/dist/module/auth/guards/google-auth.guard.js +0 -21
  68. package/dist/module/auth/guards/google-auth.guard.js.map +0 -1
  69. package/dist/module/auth/guards/jwt.guard.d.ts +0 -10
  70. package/dist/module/auth/guards/jwt.guard.js +0 -36
  71. package/dist/module/auth/guards/jwt.guard.js.map +0 -1
  72. package/dist/module/auth/guards/role.guard.d.ts +0 -9
  73. package/dist/module/auth/guards/role.guard.js +0 -59
  74. package/dist/module/auth/guards/role.guard.js.map +0 -1
  75. package/dist/module/auth/services/auth.service.d.ts +0 -14
  76. package/dist/module/auth/services/auth.service.js +0 -50
  77. package/dist/module/auth/services/auth.service.js.map +0 -1
  78. package/dist/module/auth/services/jwt.service.d.ts +0 -6
  79. package/dist/module/auth/services/jwt.service.js +0 -28
  80. package/dist/module/auth/services/jwt.service.js.map +0 -1
  81. package/dist/module/auth/strategies/google.strategy.d.ts +0 -10
  82. package/dist/module/auth/strategies/google.strategy.js +0 -59
  83. package/dist/module/auth/strategies/google.strategy.js.map +0 -1
  84. package/dist/module/auth/strategies/jwt.strategy.d.ts +0 -20
  85. package/dist/module/auth/strategies/jwt.strategy.js +0 -47
  86. package/dist/module/auth/strategies/jwt.strategy.js.map +0 -1
  87. package/dist/module/auth/strategies/local.strategy.d.ts +0 -7
  88. package/dist/module/auth/strategies/local.strategy.js +0 -30
  89. package/dist/module/auth/strategies/local.strategy.js.map +0 -1
  90. package/dist/module/dashboard/controller/dashboard.controller.d.ts +0 -33
  91. package/dist/module/dashboard/controller/dashboard.controller.js +0 -57
  92. package/dist/module/dashboard/controller/dashboard.controller.js.map +0 -1
  93. package/dist/module/dashboard/dashboard.module.d.ts +0 -2
  94. package/dist/module/dashboard/dashboard.module.js +0 -34
  95. package/dist/module/dashboard/dashboard.module.js.map +0 -1
  96. package/dist/module/dashboard/entity/dashboard_page_data.entity.d.ts +0 -10
  97. package/dist/module/dashboard/entity/dashboard_page_data.entity.js +0 -50
  98. package/dist/module/dashboard/entity/dashboard_page_data.entity.js.map +0 -1
  99. package/dist/module/dashboard/entity/widget_master.entity.d.ts +0 -7
  100. package/dist/module/dashboard/entity/widget_master.entity.js +0 -38
  101. package/dist/module/dashboard/entity/widget_master.entity.js.map +0 -1
  102. package/dist/module/dashboard/repository/dashboard.repository.d.ts +0 -11
  103. package/dist/module/dashboard/repository/dashboard.repository.js +0 -62
  104. package/dist/module/dashboard/repository/dashboard.repository.js.map +0 -1
  105. package/dist/module/dashboard/service/dashboard.service.d.ts +0 -35
  106. package/dist/module/dashboard/service/dashboard.service.js +0 -61
  107. package/dist/module/dashboard/service/dashboard.service.js.map +0 -1
  108. package/dist/module/enterprise/controller/enterprise.controller.d.ts +0 -12
  109. package/dist/module/enterprise/controller/enterprise.controller.js +0 -57
  110. package/dist/module/enterprise/controller/enterprise.controller.js.map +0 -1
  111. package/dist/module/enterprise/controller/meta.controller.d.ts +0 -9
  112. package/dist/module/enterprise/controller/meta.controller.js +0 -43
  113. package/dist/module/enterprise/controller/meta.controller.js.map +0 -1
  114. package/dist/module/enterprise/controller/organization.controller.d.ts +0 -22
  115. package/dist/module/enterprise/controller/organization.controller.js +0 -115
  116. package/dist/module/enterprise/controller/organization.controller.js.map +0 -1
  117. package/dist/module/enterprise/enterprise.module.d.ts +0 -2
  118. package/dist/module/enterprise/enterprise.module.js +0 -52
  119. package/dist/module/enterprise/enterprise.module.js.map +0 -1
  120. package/dist/module/enterprise/entity/enterprise.entity.d.ts +0 -11
  121. package/dist/module/enterprise/entity/enterprise.entity.js +0 -56
  122. package/dist/module/enterprise/entity/enterprise.entity.js.map +0 -1
  123. package/dist/module/enterprise/entity/organization-app-mapping.entity.d.ts +0 -10
  124. package/dist/module/enterprise/entity/organization-app-mapping.entity.js +0 -49
  125. package/dist/module/enterprise/entity/organization-app-mapping.entity.js.map +0 -1
  126. package/dist/module/enterprise/entity/organization.entity.d.ts +0 -16
  127. package/dist/module/enterprise/entity/organization.entity.js +0 -74
  128. package/dist/module/enterprise/entity/organization.entity.js.map +0 -1
  129. package/dist/module/enterprise/repository/enterprise.repository.d.ts +0 -10
  130. package/dist/module/enterprise/repository/enterprise.repository.js +0 -63
  131. package/dist/module/enterprise/repository/enterprise.repository.js.map +0 -1
  132. package/dist/module/enterprise/repository/organization.repository.d.ts +0 -8
  133. package/dist/module/enterprise/repository/organization.repository.js +0 -41
  134. package/dist/module/enterprise/repository/organization.repository.js.map +0 -1
  135. package/dist/module/enterprise/repository/school.repository.d.ts +0 -8
  136. package/dist/module/enterprise/repository/school.repository.js +0 -226
  137. package/dist/module/enterprise/repository/school.repository.js.map +0 -1
  138. package/dist/module/enterprise/service/brand-profile.service.d.ts +0 -0
  139. package/dist/module/enterprise/service/brand-profile.service.js +0 -1
  140. package/dist/module/enterprise/service/brand-profile.service.js.map +0 -1
  141. package/dist/module/enterprise/service/brand.service.d.ts +0 -0
  142. package/dist/module/enterprise/service/brand.service.js +0 -1
  143. package/dist/module/enterprise/service/brand.service.js.map +0 -1
  144. package/dist/module/enterprise/service/enterprise.service.d.ts +0 -8
  145. package/dist/module/enterprise/service/enterprise.service.js +0 -33
  146. package/dist/module/enterprise/service/enterprise.service.js.map +0 -1
  147. package/dist/module/enterprise/service/organization-app-mapping.service.d.ts +0 -2
  148. package/dist/module/enterprise/service/organization-app-mapping.service.js +0 -17
  149. package/dist/module/enterprise/service/organization-app-mapping.service.js.map +0 -1
  150. package/dist/module/enterprise/service/organization.service.d.ts +0 -19
  151. package/dist/module/enterprise/service/organization.service.js +0 -203
  152. package/dist/module/enterprise/service/organization.service.js.map +0 -1
  153. package/dist/module/enterprise/service/populate-meta.service.d.ts +0 -9
  154. package/dist/module/enterprise/service/populate-meta.service.js +0 -194
  155. package/dist/module/enterprise/service/populate-meta.service.js.map +0 -1
  156. package/dist/module/enterprise/service/school.service.d.ts +0 -0
  157. package/dist/module/enterprise/service/school.service.js +0 -1
  158. package/dist/module/enterprise/service/school.service.js.map +0 -1
  159. package/dist/module/entity_json/controller/entity_json.controller.d.ts +0 -18
  160. package/dist/module/entity_json/controller/entity_json.controller.js +0 -57
  161. package/dist/module/entity_json/controller/entity_json.controller.js.map +0 -1
  162. package/dist/module/entity_json/entity/entityJson.entity.d.ts +0 -10
  163. package/dist/module/entity_json/entity/entityJson.entity.js +0 -55
  164. package/dist/module/entity_json/entity/entityJson.entity.js.map +0 -1
  165. package/dist/module/entity_json/entity_json.module.d.ts +0 -2
  166. package/dist/module/entity_json/entity_json.module.js +0 -30
  167. package/dist/module/entity_json/entity_json.module.js.map +0 -1
  168. package/dist/module/entity_json/service/entityJson.repository.d.ts +0 -7
  169. package/dist/module/entity_json/service/entityJson.repository.js +0 -45
  170. package/dist/module/entity_json/service/entityJson.repository.js.map +0 -1
  171. package/dist/module/entity_json/service/entity_json.service.d.ts +0 -25
  172. package/dist/module/entity_json/service/entity_json.service.js +0 -209
  173. package/dist/module/entity_json/service/entity_json.service.js.map +0 -1
  174. package/dist/module/export/controller/export.controller.d.ts +0 -9
  175. package/dist/module/export/controller/export.controller.js +0 -83
  176. package/dist/module/export/controller/export.controller.js.map +0 -1
  177. package/dist/module/export/export.module.d.ts +0 -2
  178. package/dist/module/export/export.module.js +0 -27
  179. package/dist/module/export/export.module.js.map +0 -1
  180. package/dist/module/export/service/export.service.d.ts +0 -14
  181. package/dist/module/export/service/export.service.js +0 -85
  182. package/dist/module/export/service/export.service.js.map +0 -1
  183. package/dist/module/filter/controller/filter.controller.d.ts +0 -39
  184. package/dist/module/filter/controller/filter.controller.js +0 -94
  185. package/dist/module/filter/controller/filter.controller.js.map +0 -1
  186. package/dist/module/filter/dto/filter-request.dto.d.ts +0 -36
  187. package/dist/module/filter/dto/filter-request.dto.js +0 -3
  188. package/dist/module/filter/dto/filter-request.dto.js.map +0 -1
  189. package/dist/module/filter/entity/saved-filter-detail.entity.d.ts +0 -14
  190. package/dist/module/filter/entity/saved-filter-detail.entity.js +0 -67
  191. package/dist/module/filter/entity/saved-filter-detail.entity.js.map +0 -1
  192. package/dist/module/filter/entity/saved-filter-master.entity.d.ts +0 -12
  193. package/dist/module/filter/entity/saved-filter-master.entity.js +0 -59
  194. package/dist/module/filter/entity/saved-filter-master.entity.js.map +0 -1
  195. package/dist/module/filter/filter.module.d.ts +0 -2
  196. package/dist/module/filter/filter.module.js +0 -46
  197. package/dist/module/filter/filter.module.js.map +0 -1
  198. package/dist/module/filter/repository/saved-filter.repository.d.ts +0 -40
  199. package/dist/module/filter/repository/saved-filter.repository.js +0 -203
  200. package/dist/module/filter/repository/saved-filter.repository.js.map +0 -1
  201. package/dist/module/filter/repository/saved.filter-detail.repository.d.ts +0 -7
  202. package/dist/module/filter/repository/saved.filter-detail.repository.js +0 -38
  203. package/dist/module/filter/repository/saved.filter-detail.repository.js.map +0 -1
  204. package/dist/module/filter/service/filter-evaluator.service.d.ts +0 -9
  205. package/dist/module/filter/service/filter-evaluator.service.js +0 -59
  206. package/dist/module/filter/service/filter-evaluator.service.js.map +0 -1
  207. package/dist/module/filter/service/filter.service.d.ts +0 -74
  208. package/dist/module/filter/service/filter.service.js +0 -921
  209. package/dist/module/filter/service/filter.service.js.map +0 -1
  210. package/dist/module/filter/service/saved-filter.service.d.ts +0 -30
  211. package/dist/module/filter/service/saved-filter.service.js +0 -125
  212. package/dist/module/filter/service/saved-filter.service.js.map +0 -1
  213. package/dist/module/ics/controller/ics.controller.d.ts +0 -8
  214. package/dist/module/ics/controller/ics.controller.js +0 -45
  215. package/dist/module/ics/controller/ics.controller.js.map +0 -1
  216. package/dist/module/ics/dto/ics.dto.d.ts +0 -17
  217. package/dist/module/ics/dto/ics.dto.js +0 -73
  218. package/dist/module/ics/dto/ics.dto.js.map +0 -1
  219. package/dist/module/ics/ics.module.d.ts +0 -2
  220. package/dist/module/ics/ics.module.js +0 -26
  221. package/dist/module/ics/ics.module.js.map +0 -1
  222. package/dist/module/ics/service/ics.service.d.ts +0 -4
  223. package/dist/module/ics/service/ics.service.js +0 -61
  224. package/dist/module/ics/service/ics.service.js.map +0 -1
  225. package/dist/module/integration/controller/calender-event.controller.d.ts +0 -7
  226. package/dist/module/integration/controller/calender-event.controller.js +0 -51
  227. package/dist/module/integration/controller/calender-event.controller.js.map +0 -1
  228. package/dist/module/integration/controller/integration.controller.d.ts +0 -165
  229. package/dist/module/integration/controller/integration.controller.js +0 -697
  230. package/dist/module/integration/controller/integration.controller.js.map +0 -1
  231. package/dist/module/integration/controller/wrapper.controller.d.ts +0 -23
  232. package/dist/module/integration/controller/wrapper.controller.js +0 -52
  233. package/dist/module/integration/controller/wrapper.controller.js.map +0 -1
  234. package/dist/module/integration/dto/create-config.dto.d.ts +0 -217
  235. package/dist/module/integration/dto/create-config.dto.js +0 -495
  236. package/dist/module/integration/dto/create-config.dto.js.map +0 -1
  237. package/dist/module/integration/entity/integration-config.entity.d.ts +0 -54
  238. package/dist/module/integration/entity/integration-config.entity.js +0 -78
  239. package/dist/module/integration/entity/integration-config.entity.js.map +0 -1
  240. package/dist/module/integration/entity/integration-entity-mapper.entity.d.ts +0 -6
  241. package/dist/module/integration/entity/integration-entity-mapper.entity.js +0 -33
  242. package/dist/module/integration/entity/integration-entity-mapper.entity.js.map +0 -1
  243. package/dist/module/integration/entity/integration-source.entity.d.ts +0 -7
  244. package/dist/module/integration/entity/integration-source.entity.js +0 -37
  245. package/dist/module/integration/entity/integration-source.entity.js.map +0 -1
  246. package/dist/module/integration/entity/user-integration.entity.d.ts +0 -23
  247. package/dist/module/integration/entity/user-integration.entity.js +0 -70
  248. package/dist/module/integration/entity/user-integration.entity.js.map +0 -1
  249. package/dist/module/integration/examples/usage.example.d.ts +0 -16
  250. package/dist/module/integration/examples/usage.example.js +0 -217
  251. package/dist/module/integration/examples/usage.example.js.map +0 -1
  252. package/dist/module/integration/factories/base.factory.d.ts +0 -9
  253. package/dist/module/integration/factories/base.factory.js +0 -3
  254. package/dist/module/integration/factories/base.factory.js.map +0 -1
  255. package/dist/module/integration/factories/email.factory.d.ts +0 -17
  256. package/dist/module/integration/factories/email.factory.js +0 -55
  257. package/dist/module/integration/factories/email.factory.js.map +0 -1
  258. package/dist/module/integration/factories/integration.factory.d.ts +0 -33
  259. package/dist/module/integration/factories/integration.factory.js +0 -104
  260. package/dist/module/integration/factories/integration.factory.js.map +0 -1
  261. package/dist/module/integration/factories/sms.factory.d.ts +0 -17
  262. package/dist/module/integration/factories/sms.factory.js +0 -58
  263. package/dist/module/integration/factories/sms.factory.js.map +0 -1
  264. package/dist/module/integration/factories/telephone.factory.d.ts +0 -15
  265. package/dist/module/integration/factories/telephone.factory.js +0 -49
  266. package/dist/module/integration/factories/telephone.factory.js.map +0 -1
  267. package/dist/module/integration/factories/whatsapp.factory.d.ts +0 -19
  268. package/dist/module/integration/factories/whatsapp.factory.js +0 -63
  269. package/dist/module/integration/factories/whatsapp.factory.js.map +0 -1
  270. package/dist/module/integration/integration.module.d.ts +0 -2
  271. package/dist/module/integration/integration.module.js +0 -96
  272. package/dist/module/integration/integration.module.js.map +0 -1
  273. package/dist/module/integration/service/calendar-event.service.d.ts +0 -8
  274. package/dist/module/integration/service/calendar-event.service.js +0 -101
  275. package/dist/module/integration/service/calendar-event.service.js.map +0 -1
  276. package/dist/module/integration/service/integration-entity-mapper.service.d.ts +0 -7
  277. package/dist/module/integration/service/integration-entity-mapper.service.js +0 -36
  278. package/dist/module/integration/service/integration-entity-mapper.service.js.map +0 -1
  279. package/dist/module/integration/service/integration-queue.service.d.ts +0 -40
  280. package/dist/module/integration/service/integration-queue.service.js +0 -147
  281. package/dist/module/integration/service/integration-queue.service.js.map +0 -1
  282. package/dist/module/integration/service/integration.service.d.ts +0 -207
  283. package/dist/module/integration/service/integration.service.js +0 -1590
  284. package/dist/module/integration/service/integration.service.js.map +0 -1
  285. package/dist/module/integration/service/oauth.service.d.ts +0 -18
  286. package/dist/module/integration/service/oauth.service.js +0 -190
  287. package/dist/module/integration/service/oauth.service.js.map +0 -1
  288. package/dist/module/integration/service/wrapper.service.d.ts +0 -38
  289. package/dist/module/integration/service/wrapper.service.js +0 -348
  290. package/dist/module/integration/service/wrapper.service.js.map +0 -1
  291. package/dist/module/integration/strategies/email/gmail-api.strategy.d.ts +0 -13
  292. package/dist/module/integration/strategies/email/gmail-api.strategy.js +0 -195
  293. package/dist/module/integration/strategies/email/gmail-api.strategy.js.map +0 -1
  294. package/dist/module/integration/strategies/email/outlook-api.strategy.d.ts +0 -5
  295. package/dist/module/integration/strategies/email/outlook-api.strategy.js +0 -44
  296. package/dist/module/integration/strategies/email/outlook-api.strategy.js.map +0 -1
  297. package/dist/module/integration/strategies/email/outlook.strategy.d.ts +0 -5
  298. package/dist/module/integration/strategies/email/outlook.strategy.js +0 -64
  299. package/dist/module/integration/strategies/email/outlook.strategy.js.map +0 -1
  300. package/dist/module/integration/strategies/email/sendgrid-api.strategy.d.ts +0 -22
  301. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js +0 -203
  302. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js.map +0 -1
  303. package/dist/module/integration/strategies/integration.strategy.d.ts +0 -31
  304. package/dist/module/integration/strategies/integration.strategy.js +0 -40
  305. package/dist/module/integration/strategies/integration.strategy.js.map +0 -1
  306. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.d.ts +0 -9
  307. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js +0 -104
  308. package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js.map +0 -1
  309. package/dist/module/integration/strategies/sms/msg91-sms.strategy.d.ts +0 -9
  310. package/dist/module/integration/strategies/sms/msg91-sms.strategy.js +0 -113
  311. package/dist/module/integration/strategies/sms/msg91-sms.strategy.js.map +0 -1
  312. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.d.ts +0 -9
  313. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js +0 -109
  314. package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js.map +0 -1
  315. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.d.ts +0 -22
  316. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js +0 -170
  317. package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js.map +0 -1
  318. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.d.ts +0 -24
  319. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js +0 -152
  320. package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js.map +0 -1
  321. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.d.ts +0 -19
  322. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js +0 -257
  323. package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js.map +0 -1
  324. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.d.ts +0 -33
  325. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js +0 -256
  326. package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js.map +0 -1
  327. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.d.ts +0 -20
  328. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js +0 -264
  329. package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js.map +0 -1
  330. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.d.ts +0 -5
  331. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js +0 -57
  332. package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js.map +0 -1
  333. package/dist/module/layout/controller/layout.controller.d.ts +0 -9
  334. package/dist/module/layout/controller/layout.controller.js +0 -55
  335. package/dist/module/layout/controller/layout.controller.js.map +0 -1
  336. package/dist/module/layout/dto/header.dto.d.ts +0 -0
  337. package/dist/module/layout/dto/header.dto.js +0 -1
  338. package/dist/module/layout/dto/header.dto.js.map +0 -1
  339. package/dist/module/layout/entity/header-items.entity.d.ts +0 -10
  340. package/dist/module/layout/entity/header-items.entity.js +0 -52
  341. package/dist/module/layout/entity/header-items.entity.js.map +0 -1
  342. package/dist/module/layout/entity/header-section.entity.d.ts +0 -5
  343. package/dist/module/layout/entity/header-section.entity.js +0 -32
  344. package/dist/module/layout/entity/header-section.entity.js.map +0 -1
  345. package/dist/module/layout/layout.module.d.ts +0 -2
  346. package/dist/module/layout/layout.module.js +0 -33
  347. package/dist/module/layout/layout.module.js.map +0 -1
  348. package/dist/module/layout/repository/header-items.repository.d.ts +0 -7
  349. package/dist/module/layout/repository/header-items.repository.js +0 -36
  350. package/dist/module/layout/repository/header-items.repository.js.map +0 -1
  351. package/dist/module/layout/repository/header-section.repository.d.ts +0 -7
  352. package/dist/module/layout/repository/header-section.repository.js +0 -34
  353. package/dist/module/layout/repository/header-section.repository.js.map +0 -1
  354. package/dist/module/layout/service/header-section.service.d.ts +0 -8
  355. package/dist/module/layout/service/header-section.service.js +0 -37
  356. package/dist/module/layout/service/header-section.service.js.map +0 -1
  357. package/dist/module/layout_preference/controller/layout_preference.controller.d.ts +0 -19
  358. package/dist/module/layout_preference/controller/layout_preference.controller.js +0 -78
  359. package/dist/module/layout_preference/controller/layout_preference.controller.js.map +0 -1
  360. package/dist/module/layout_preference/dto/layout_preference.dto.d.ts +0 -0
  361. package/dist/module/layout_preference/dto/layout_preference.dto.js +0 -1
  362. package/dist/module/layout_preference/dto/layout_preference.dto.js.map +0 -1
  363. package/dist/module/layout_preference/entity/layout_preference.entity.d.ts +0 -9
  364. package/dist/module/layout_preference/entity/layout_preference.entity.js +0 -50
  365. package/dist/module/layout_preference/entity/layout_preference.entity.js.map +0 -1
  366. package/dist/module/layout_preference/layout_preference.module.d.ts +0 -2
  367. package/dist/module/layout_preference/layout_preference.module.js +0 -35
  368. package/dist/module/layout_preference/layout_preference.module.js.map +0 -1
  369. package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +0 -13
  370. package/dist/module/layout_preference/repository/layout_preference.repository.js +0 -68
  371. package/dist/module/layout_preference/repository/layout_preference.repository.js.map +0 -1
  372. package/dist/module/layout_preference/service/layout_preference.service.d.ts +0 -20
  373. package/dist/module/layout_preference/service/layout_preference.service.js +0 -128
  374. package/dist/module/layout_preference/service/layout_preference.service.js.map +0 -1
  375. package/dist/module/lead/controller/lead.controller.d.ts +0 -20
  376. package/dist/module/lead/controller/lead.controller.js +0 -58
  377. package/dist/module/lead/controller/lead.controller.js.map +0 -1
  378. package/dist/module/lead/lead.module.d.ts +0 -2
  379. package/dist/module/lead/lead.module.js +0 -26
  380. package/dist/module/lead/lead.module.js.map +0 -1
  381. package/dist/module/lead/repository/lead.repository.d.ts +0 -10
  382. package/dist/module/lead/repository/lead.repository.js +0 -53
  383. package/dist/module/lead/repository/lead.repository.js.map +0 -1
  384. package/dist/module/lead/service/lead.service.d.ts +0 -20
  385. package/dist/module/lead/service/lead.service.js +0 -55
  386. package/dist/module/lead/service/lead.service.js.map +0 -1
  387. package/dist/module/linked_attributes/controller/linked_attributes.controller.d.ts +0 -7
  388. package/dist/module/linked_attributes/controller/linked_attributes.controller.js +0 -55
  389. package/dist/module/linked_attributes/controller/linked_attributes.controller.js.map +0 -1
  390. package/dist/module/linked_attributes/entity/linked_attribute.entity.d.ts +0 -10
  391. package/dist/module/linked_attributes/entity/linked_attribute.entity.js +0 -74
  392. package/dist/module/linked_attributes/entity/linked_attribute.entity.js.map +0 -1
  393. package/dist/module/linked_attributes/linked_attributes.module.d.ts +0 -2
  394. package/dist/module/linked_attributes/linked_attributes.module.js +0 -29
  395. package/dist/module/linked_attributes/linked_attributes.module.js.map +0 -1
  396. package/dist/module/linked_attributes/repository/linked_attribute.repository.d.ts +0 -6
  397. package/dist/module/linked_attributes/repository/linked_attribute.repository.js +0 -31
  398. package/dist/module/linked_attributes/repository/linked_attribute.repository.js.map +0 -1
  399. package/dist/module/linked_attributes/service/linked_attributes.service.d.ts +0 -10
  400. package/dist/module/linked_attributes/service/linked_attributes.service.js +0 -74
  401. package/dist/module/linked_attributes/service/linked_attributes.service.js.map +0 -1
  402. package/dist/module/listmaster/controller/list-master.controller.d.ts +0 -29
  403. package/dist/module/listmaster/controller/list-master.controller.js +0 -186
  404. package/dist/module/listmaster/controller/list-master.controller.js.map +0 -1
  405. package/dist/module/listmaster/entity/list-master-items.entity.d.ts +0 -14
  406. package/dist/module/listmaster/entity/list-master-items.entity.js +0 -69
  407. package/dist/module/listmaster/entity/list-master-items.entity.js.map +0 -1
  408. package/dist/module/listmaster/entity/list-master.entity.d.ts +0 -11
  409. package/dist/module/listmaster/entity/list-master.entity.js +0 -56
  410. package/dist/module/listmaster/entity/list-master.entity.js.map +0 -1
  411. package/dist/module/listmaster/listmaster.module.d.ts +0 -2
  412. package/dist/module/listmaster/listmaster.module.js +0 -55
  413. package/dist/module/listmaster/listmaster.module.js.map +0 -1
  414. package/dist/module/listmaster/repository/list-master-items.repository.d.ts +0 -21
  415. package/dist/module/listmaster/repository/list-master-items.repository.js +0 -143
  416. package/dist/module/listmaster/repository/list-master-items.repository.js.map +0 -1
  417. package/dist/module/listmaster/repository/list-master.repository.d.ts +0 -10
  418. package/dist/module/listmaster/repository/list-master.repository.js +0 -62
  419. package/dist/module/listmaster/repository/list-master.repository.js.map +0 -1
  420. package/dist/module/listmaster/service/list-master-engine.d.ts +0 -6
  421. package/dist/module/listmaster/service/list-master-engine.js +0 -35
  422. package/dist/module/listmaster/service/list-master-engine.js.map +0 -1
  423. package/dist/module/listmaster/service/list-master-extension.interface.d.ts +0 -4
  424. package/dist/module/listmaster/service/list-master-extension.interface.js +0 -3
  425. package/dist/module/listmaster/service/list-master-extension.interface.js.map +0 -1
  426. package/dist/module/listmaster/service/list-master-item.service.d.ts +0 -20
  427. package/dist/module/listmaster/service/list-master-item.service.js +0 -148
  428. package/dist/module/listmaster/service/list-master-item.service.js.map +0 -1
  429. package/dist/module/listmaster/service/list-master-registry.d.ts +0 -6
  430. package/dist/module/listmaster/service/list-master-registry.js +0 -26
  431. package/dist/module/listmaster/service/list-master-registry.js.map +0 -1
  432. package/dist/module/listmaster/service/list-master.service.d.ts +0 -40
  433. package/dist/module/listmaster/service/list-master.service.js +0 -323
  434. package/dist/module/listmaster/service/list-master.service.js.map +0 -1
  435. package/dist/module/mapper/controller/field-mapper.controller.d.ts +0 -11
  436. package/dist/module/mapper/controller/field-mapper.controller.js +0 -94
  437. package/dist/module/mapper/controller/field-mapper.controller.js.map +0 -1
  438. package/dist/module/mapper/controller/mapper.controller.d.ts +0 -14
  439. package/dist/module/mapper/controller/mapper.controller.js +0 -45
  440. package/dist/module/mapper/controller/mapper.controller.js.map +0 -1
  441. package/dist/module/mapper/dto/field-mapper.dto.d.ts +0 -12
  442. package/dist/module/mapper/dto/field-mapper.dto.js +0 -8
  443. package/dist/module/mapper/dto/field-mapper.dto.js.map +0 -1
  444. package/dist/module/mapper/entity/field-lovs.entity.d.ts +0 -7
  445. package/dist/module/mapper/entity/field-lovs.entity.js +0 -38
  446. package/dist/module/mapper/entity/field-lovs.entity.js.map +0 -1
  447. package/dist/module/mapper/entity/field-mapper.entity.d.ts +0 -13
  448. package/dist/module/mapper/entity/field-mapper.entity.js +0 -78
  449. package/dist/module/mapper/entity/field-mapper.entity.js.map +0 -1
  450. package/dist/module/mapper/entity/mapper.entity.d.ts +0 -6
  451. package/dist/module/mapper/entity/mapper.entity.js +0 -34
  452. package/dist/module/mapper/entity/mapper.entity.js.map +0 -1
  453. package/dist/module/mapper/mapper.module.d.ts +0 -2
  454. package/dist/module/mapper/mapper.module.js +0 -48
  455. package/dist/module/mapper/mapper.module.js.map +0 -1
  456. package/dist/module/mapper/repository/field-lovs.repository.d.ts +0 -11
  457. package/dist/module/mapper/repository/field-lovs.repository.js +0 -52
  458. package/dist/module/mapper/repository/field-lovs.repository.js.map +0 -1
  459. package/dist/module/mapper/repository/field-mapper.repository.d.ts +0 -11
  460. package/dist/module/mapper/repository/field-mapper.repository.js +0 -54
  461. package/dist/module/mapper/repository/field-mapper.repository.js.map +0 -1
  462. package/dist/module/mapper/repository/mapper.repository.d.ts +0 -7
  463. package/dist/module/mapper/repository/mapper.repository.js +0 -46
  464. package/dist/module/mapper/repository/mapper.repository.js.map +0 -1
  465. package/dist/module/mapper/service/field-mapper.service.d.ts +0 -22
  466. package/dist/module/mapper/service/field-mapper.service.js +0 -200
  467. package/dist/module/mapper/service/field-mapper.service.js.map +0 -1
  468. package/dist/module/mapper/service/mapper.service.d.ts +0 -24
  469. package/dist/module/mapper/service/mapper.service.js +0 -84
  470. package/dist/module/mapper/service/mapper.service.js.map +0 -1
  471. package/dist/module/master/controller/master.controller.d.ts +0 -20
  472. package/dist/module/master/controller/master.controller.js +0 -82
  473. package/dist/module/master/controller/master.controller.js.map +0 -1
  474. package/dist/module/master/service/master.service.d.ts +0 -30
  475. package/dist/module/master/service/master.service.js +0 -364
  476. package/dist/module/master/service/master.service.js.map +0 -1
  477. package/dist/module/meta/controller/attribute-master.controller.d.ts +0 -29
  478. package/dist/module/meta/controller/attribute-master.controller.js +0 -93
  479. package/dist/module/meta/controller/attribute-master.controller.js.map +0 -1
  480. package/dist/module/meta/controller/entity-dynamic.controller.d.ts +0 -21
  481. package/dist/module/meta/controller/entity-dynamic.controller.js +0 -115
  482. package/dist/module/meta/controller/entity-dynamic.controller.js.map +0 -1
  483. package/dist/module/meta/controller/entity-master.controller.d.ts +0 -14
  484. package/dist/module/meta/controller/entity-master.controller.js +0 -57
  485. package/dist/module/meta/controller/entity-master.controller.js.map +0 -1
  486. package/dist/module/meta/controller/entity-relation.controller.d.ts +0 -6
  487. package/dist/module/meta/controller/entity-relation.controller.js +0 -45
  488. package/dist/module/meta/controller/entity-relation.controller.js.map +0 -1
  489. package/dist/module/meta/controller/entity.controller.d.ts +0 -33
  490. package/dist/module/meta/controller/entity.controller.js +0 -185
  491. package/dist/module/meta/controller/entity.controller.js.map +0 -1
  492. package/dist/module/meta/controller/entity.public.controller.d.ts +0 -12
  493. package/dist/module/meta/controller/entity.public.controller.js +0 -75
  494. package/dist/module/meta/controller/entity.public.controller.js.map +0 -1
  495. package/dist/module/meta/controller/media.controller.d.ts +0 -30
  496. package/dist/module/meta/controller/media.controller.js +0 -119
  497. package/dist/module/meta/controller/media.controller.js.map +0 -1
  498. package/dist/module/meta/controller/meta.controller.d.ts +0 -30
  499. package/dist/module/meta/controller/meta.controller.js +0 -99
  500. package/dist/module/meta/controller/meta.controller.js.map +0 -1
  501. package/dist/module/meta/controller/view-master.controller.d.ts +0 -12
  502. package/dist/module/meta/controller/view-master.controller.js +0 -90
  503. package/dist/module/meta/controller/view-master.controller.js.map +0 -1
  504. package/dist/module/meta/dto/entity-list-data.dto.d.ts +0 -5
  505. package/dist/module/meta/dto/entity-list-data.dto.js +0 -7
  506. package/dist/module/meta/dto/entity-list-data.dto.js.map +0 -1
  507. package/dist/module/meta/dto/entity-tab.dto.d.ts +0 -4
  508. package/dist/module/meta/dto/entity-tab.dto.js +0 -7
  509. package/dist/module/meta/dto/entity-tab.dto.js.map +0 -1
  510. package/dist/module/meta/dto/entity-table.dto.d.ts +0 -9
  511. package/dist/module/meta/dto/entity-table.dto.js +0 -8
  512. package/dist/module/meta/dto/entity-table.dto.js.map +0 -1
  513. package/dist/module/meta/entity/attribute-master.entity.d.ts +0 -23
  514. package/dist/module/meta/entity/attribute-master.entity.js +0 -128
  515. package/dist/module/meta/entity/attribute-master.entity.js.map +0 -1
  516. package/dist/module/meta/entity/base-entity.entity.d.ts +0 -19
  517. package/dist/module/meta/entity/base-entity.entity.js +0 -104
  518. package/dist/module/meta/entity/base-entity.entity.js.map +0 -1
  519. package/dist/module/meta/entity/entity-master.entity.d.ts +0 -20
  520. package/dist/module/meta/entity/entity-master.entity.js +0 -117
  521. package/dist/module/meta/entity/entity-master.entity.js.map +0 -1
  522. package/dist/module/meta/entity/entity-relation-data.entity.d.ts +0 -10
  523. package/dist/module/meta/entity/entity-relation-data.entity.js +0 -51
  524. package/dist/module/meta/entity/entity-relation-data.entity.js.map +0 -1
  525. package/dist/module/meta/entity/entity-relation.entity.d.ts +0 -8
  526. package/dist/module/meta/entity/entity-relation.entity.js +0 -43
  527. package/dist/module/meta/entity/entity-relation.entity.js.map +0 -1
  528. package/dist/module/meta/entity/entity-table-column.entity.d.ts +0 -19
  529. package/dist/module/meta/entity/entity-table-column.entity.js +0 -92
  530. package/dist/module/meta/entity/entity-table-column.entity.js.map +0 -1
  531. package/dist/module/meta/entity/entity-table.entity.d.ts +0 -17
  532. package/dist/module/meta/entity/entity-table.entity.js +0 -79
  533. package/dist/module/meta/entity/entity-table.entity.js.map +0 -1
  534. package/dist/module/meta/entity/media-data.entity.d.ts +0 -11
  535. package/dist/module/meta/entity/media-data.entity.js +0 -55
  536. package/dist/module/meta/entity/media-data.entity.js.map +0 -1
  537. package/dist/module/meta/entity/preference.entity.d.ts +0 -11
  538. package/dist/module/meta/entity/preference.entity.js +0 -85
  539. package/dist/module/meta/entity/preference.entity.js.map +0 -1
  540. package/dist/module/meta/entity/view-master.entity.d.ts +0 -14
  541. package/dist/module/meta/entity/view-master.entity.js +0 -67
  542. package/dist/module/meta/entity/view-master.entity.js.map +0 -1
  543. package/dist/module/meta/entity.module.d.ts +0 -2
  544. package/dist/module/meta/entity.module.js +0 -150
  545. package/dist/module/meta/entity.module.js.map +0 -1
  546. package/dist/module/meta/repository/attribute-master.repository.d.ts +0 -30
  547. package/dist/module/meta/repository/attribute-master.repository.js +0 -136
  548. package/dist/module/meta/repository/attribute-master.repository.js.map +0 -1
  549. package/dist/module/meta/repository/entity-attribute-update.repository.d.ts +0 -8
  550. package/dist/module/meta/repository/entity-attribute-update.repository.js +0 -50
  551. package/dist/module/meta/repository/entity-attribute-update.repository.js.map +0 -1
  552. package/dist/module/meta/repository/entity-master.repository.d.ts +0 -33
  553. package/dist/module/meta/repository/entity-master.repository.js +0 -121
  554. package/dist/module/meta/repository/entity-master.repository.js.map +0 -1
  555. package/dist/module/meta/repository/entity-relation.repository.d.ts +0 -7
  556. package/dist/module/meta/repository/entity-relation.repository.js +0 -39
  557. package/dist/module/meta/repository/entity-relation.repository.js.map +0 -1
  558. package/dist/module/meta/repository/entity-table-column.repository.d.ts +0 -7
  559. package/dist/module/meta/repository/entity-table-column.repository.js +0 -52
  560. package/dist/module/meta/repository/entity-table-column.repository.js.map +0 -1
  561. package/dist/module/meta/repository/entity-table.repository.d.ts +0 -9
  562. package/dist/module/meta/repository/entity-table.repository.js +0 -59
  563. package/dist/module/meta/repository/entity-table.repository.js.map +0 -1
  564. package/dist/module/meta/repository/media-data.repository.d.ts +0 -9
  565. package/dist/module/meta/repository/media-data.repository.js +0 -55
  566. package/dist/module/meta/repository/media-data.repository.js.map +0 -1
  567. package/dist/module/meta/repository/preference.repository.d.ts +0 -7
  568. package/dist/module/meta/repository/preference.repository.js +0 -36
  569. package/dist/module/meta/repository/preference.repository.js.map +0 -1
  570. package/dist/module/meta/repository/user-app-mapping.repository.d.ts +0 -0
  571. package/dist/module/meta/repository/user-app-mapping.repository.js +0 -1
  572. package/dist/module/meta/repository/user-app-mapping.repository.js.map +0 -1
  573. package/dist/module/meta/repository/view-master.repository.d.ts +0 -11
  574. package/dist/module/meta/repository/view-master.repository.js +0 -52
  575. package/dist/module/meta/repository/view-master.repository.js.map +0 -1
  576. package/dist/module/meta/service/attribute-master.service.d.ts +0 -21
  577. package/dist/module/meta/service/attribute-master.service.js +0 -81
  578. package/dist/module/meta/service/attribute-master.service.js.map +0 -1
  579. package/dist/module/meta/service/common.service.d.ts +0 -4
  580. package/dist/module/meta/service/common.service.js +0 -25
  581. package/dist/module/meta/service/common.service.js.map +0 -1
  582. package/dist/module/meta/service/entity-attribute-update.service.d.ts +0 -7
  583. package/dist/module/meta/service/entity-attribute-update.service.js +0 -34
  584. package/dist/module/meta/service/entity-attribute-update.service.js.map +0 -1
  585. package/dist/module/meta/service/entity-dynamic.service.d.ts +0 -32
  586. package/dist/module/meta/service/entity-dynamic.service.js +0 -496
  587. package/dist/module/meta/service/entity-dynamic.service.js.map +0 -1
  588. package/dist/module/meta/service/entity-master.service.d.ts +0 -38
  589. package/dist/module/meta/service/entity-master.service.js +0 -119
  590. package/dist/module/meta/service/entity-master.service.js.map +0 -1
  591. package/dist/module/meta/service/entity-realation-data.service.d.ts +0 -4
  592. package/dist/module/meta/service/entity-realation-data.service.js +0 -25
  593. package/dist/module/meta/service/entity-realation-data.service.js.map +0 -1
  594. package/dist/module/meta/service/entity-relation.service.d.ts +0 -11
  595. package/dist/module/meta/service/entity-relation.service.js +0 -71
  596. package/dist/module/meta/service/entity-relation.service.js.map +0 -1
  597. package/dist/module/meta/service/entity-service-impl.service.d.ts +0 -35
  598. package/dist/module/meta/service/entity-service-impl.service.js +0 -233
  599. package/dist/module/meta/service/entity-service-impl.service.js.map +0 -1
  600. package/dist/module/meta/service/entity-table-column.service.d.ts +0 -6
  601. package/dist/module/meta/service/entity-table-column.service.js +0 -29
  602. package/dist/module/meta/service/entity-table-column.service.js.map +0 -1
  603. package/dist/module/meta/service/entity-table.service.d.ts +0 -17
  604. package/dist/module/meta/service/entity-table.service.js +0 -88
  605. package/dist/module/meta/service/entity-table.service.js.map +0 -1
  606. package/dist/module/meta/service/entity-validation.service.d.ts +0 -22
  607. package/dist/module/meta/service/entity-validation.service.js +0 -118
  608. package/dist/module/meta/service/entity-validation.service.js.map +0 -1
  609. package/dist/module/meta/service/entity.service.d.ts +0 -12
  610. package/dist/module/meta/service/entity.service.js +0 -3
  611. package/dist/module/meta/service/entity.service.js.map +0 -1
  612. package/dist/module/meta/service/field-group.service.d.ts +0 -26
  613. package/dist/module/meta/service/field-group.service.js +0 -76
  614. package/dist/module/meta/service/field-group.service.js.map +0 -1
  615. package/dist/module/meta/service/media-data.service.d.ts +0 -43
  616. package/dist/module/meta/service/media-data.service.js +0 -372
  617. package/dist/module/meta/service/media-data.service.js.map +0 -1
  618. package/dist/module/meta/service/preference.service.d.ts +0 -7
  619. package/dist/module/meta/service/preference.service.js +0 -31
  620. package/dist/module/meta/service/preference.service.js.map +0 -1
  621. package/dist/module/meta/service/resolver.service.d.ts +0 -21
  622. package/dist/module/meta/service/resolver.service.js +0 -215
  623. package/dist/module/meta/service/resolver.service.js.map +0 -1
  624. package/dist/module/meta/service/section-master.service.d.ts +0 -26
  625. package/dist/module/meta/service/section-master.service.js +0 -77
  626. package/dist/module/meta/service/section-master.service.js.map +0 -1
  627. package/dist/module/meta/service/update-form-json.service.d.ts +0 -9
  628. package/dist/module/meta/service/update-form-json.service.js +0 -39
  629. package/dist/module/meta/service/update-form-json.service.js.map +0 -1
  630. package/dist/module/meta/service/user-app-mapping.service.d.ts +0 -0
  631. package/dist/module/meta/service/user-app-mapping.service.js +0 -1
  632. package/dist/module/meta/service/user-app-mapping.service.js.map +0 -1
  633. package/dist/module/meta/service/view-master.service.d.ts +0 -29
  634. package/dist/module/meta/service/view-master.service.js +0 -82
  635. package/dist/module/meta/service/view-master.service.js.map +0 -1
  636. package/dist/module/microservice-client/microservice-clients.module.d.ts +0 -2
  637. package/dist/module/microservice-client/microservice-clients.module.js +0 -27
  638. package/dist/module/microservice-client/microservice-clients.module.js.map +0 -1
  639. package/dist/module/microservice-client/service/microservice-client-factory.d.ts +0 -10
  640. package/dist/module/microservice-client/service/microservice-client-factory.js +0 -46
  641. package/dist/module/microservice-client/service/microservice-client-factory.js.map +0 -1
  642. package/dist/module/microservice-client/service/microservice-clients.d.ts +0 -4
  643. package/dist/module/microservice-client/service/microservice-clients.js +0 -3
  644. package/dist/module/microservice-client/service/microservice-clients.js.map +0 -1
  645. package/dist/module/module/controller/menu.controller.d.ts +0 -8
  646. package/dist/module/module/controller/menu.controller.js +0 -41
  647. package/dist/module/module/controller/menu.controller.js.map +0 -1
  648. package/dist/module/module/controller/module-access.controller.d.ts +0 -34
  649. package/dist/module/module/controller/module-access.controller.js +0 -153
  650. package/dist/module/module/controller/module-access.controller.js.map +0 -1
  651. package/dist/module/module/entity/menu.entity.d.ts +0 -18
  652. package/dist/module/module/entity/menu.entity.js +0 -81
  653. package/dist/module/module/entity/menu.entity.js.map +0 -1
  654. package/dist/module/module/entity/module-access.entity.d.ts +0 -23
  655. package/dist/module/module/entity/module-access.entity.js +0 -94
  656. package/dist/module/module/entity/module-access.entity.js.map +0 -1
  657. package/dist/module/module/entity/module-action.entity.d.ts +0 -8
  658. package/dist/module/module/entity/module-action.entity.js +0 -42
  659. package/dist/module/module/entity/module-action.entity.js.map +0 -1
  660. package/dist/module/module/entity/module.entity.d.ts +0 -16
  661. package/dist/module/module/entity/module.entity.js +0 -74
  662. package/dist/module/module/entity/module.entity.js.map +0 -1
  663. package/dist/module/module/module.module.d.ts +0 -2
  664. package/dist/module/module/module.module.js +0 -53
  665. package/dist/module/module/module.module.js.map +0 -1
  666. package/dist/module/module/repository/menu.repository.d.ts +0 -15
  667. package/dist/module/module/repository/menu.repository.js +0 -174
  668. package/dist/module/module/repository/menu.repository.js.map +0 -1
  669. package/dist/module/module/repository/module-access.repository.d.ts +0 -52
  670. package/dist/module/module/repository/module-access.repository.js +0 -333
  671. package/dist/module/module/repository/module-access.repository.js.map +0 -1
  672. package/dist/module/module/service/menu.service.d.ts +0 -10
  673. package/dist/module/module/service/menu.service.js +0 -56
  674. package/dist/module/module/service/menu.service.js.map +0 -1
  675. package/dist/module/module/service/module-access.service.d.ts +0 -60
  676. package/dist/module/module/service/module-access.service.js +0 -111
  677. package/dist/module/module/service/module-access.service.js.map +0 -1
  678. package/dist/module/notification/controller/notification.controller.d.ts +0 -23
  679. package/dist/module/notification/controller/notification.controller.js +0 -74
  680. package/dist/module/notification/controller/notification.controller.js.map +0 -1
  681. package/dist/module/notification/controller/otp.controller.d.ts +0 -35
  682. package/dist/module/notification/controller/otp.controller.js +0 -103
  683. package/dist/module/notification/controller/otp.controller.js.map +0 -1
  684. package/dist/module/notification/entity/notification.entity.d.ts +0 -25
  685. package/dist/module/notification/entity/notification.entity.js +0 -115
  686. package/dist/module/notification/entity/notification.entity.js.map +0 -1
  687. package/dist/module/notification/entity/otp.entity.d.ts +0 -10
  688. package/dist/module/notification/entity/otp.entity.js +0 -52
  689. package/dist/module/notification/entity/otp.entity.js.map +0 -1
  690. package/dist/module/notification/firebase-admin.config.d.ts +0 -7
  691. package/dist/module/notification/firebase-admin.config.js +0 -24
  692. package/dist/module/notification/firebase-admin.config.js.map +0 -1
  693. package/dist/module/notification/notification.module.d.ts +0 -2
  694. package/dist/module/notification/notification.module.js +0 -81
  695. package/dist/module/notification/notification.module.js.map +0 -1
  696. package/dist/module/notification/repository/otp.repository.d.ts +0 -9
  697. package/dist/module/notification/repository/otp.repository.js +0 -44
  698. package/dist/module/notification/repository/otp.repository.js.map +0 -1
  699. package/dist/module/notification/service/email.service.d.ts +0 -15
  700. package/dist/module/notification/service/email.service.js +0 -124
  701. package/dist/module/notification/service/email.service.js.map +0 -1
  702. package/dist/module/notification/service/notification.service.d.ts +0 -27
  703. package/dist/module/notification/service/notification.service.js +0 -127
  704. package/dist/module/notification/service/notification.service.js.map +0 -1
  705. package/dist/module/notification/service/otp.service.d.ts +0 -31
  706. package/dist/module/notification/service/otp.service.js +0 -111
  707. package/dist/module/notification/service/otp.service.js.map +0 -1
  708. package/dist/module/preference_master/entity/preference.entity.d.ts +0 -9
  709. package/dist/module/preference_master/entity/preference.entity.js +0 -48
  710. package/dist/module/preference_master/entity/preference.entity.js.map +0 -1
  711. package/dist/module/preference_master/preference.service.d.ts +0 -8
  712. package/dist/module/preference_master/preference.service.js +0 -31
  713. package/dist/module/preference_master/preference.service.js.map +0 -1
  714. package/dist/module/preference_master/repo/preference.repository.d.ts +0 -8
  715. package/dist/module/preference_master/repo/preference.repository.js +0 -48
  716. package/dist/module/preference_master/repo/preference.repository.js.map +0 -1
  717. package/dist/module/third-party-module/entity/third-party-api-registry.entity.d.ts +0 -18
  718. package/dist/module/third-party-module/entity/third-party-api-registry.entity.js +0 -84
  719. package/dist/module/third-party-module/entity/third-party-api-registry.entity.js.map +0 -1
  720. package/dist/module/third-party-module/repository/third-party-api-registry.repository.d.ts +0 -7
  721. package/dist/module/third-party-module/repository/third-party-api-registry.repository.js +0 -38
  722. package/dist/module/third-party-module/repository/third-party-api-registry.repository.js.map +0 -1
  723. package/dist/module/third-party-module/service/api-registry.service.d.ts +0 -6
  724. package/dist/module/third-party-module/service/api-registry.service.js +0 -28
  725. package/dist/module/third-party-module/service/api-registry.service.js.map +0 -1
  726. package/dist/module/third-party-module/third-party.module.d.ts +0 -2
  727. package/dist/module/third-party-module/third-party.module.js +0 -25
  728. package/dist/module/third-party-module/third-party.module.js.map +0 -1
  729. package/dist/module/user/controller/login.controller.d.ts +0 -24
  730. package/dist/module/user/controller/login.controller.js +0 -173
  731. package/dist/module/user/controller/login.controller.js.map +0 -1
  732. package/dist/module/user/controller/user.controller.d.ts +0 -7
  733. package/dist/module/user/controller/user.controller.js +0 -46
  734. package/dist/module/user/controller/user.controller.js.map +0 -1
  735. package/dist/module/user/dto/create-user.dto.d.ts +0 -20
  736. package/dist/module/user/dto/create-user.dto.js +0 -70
  737. package/dist/module/user/dto/create-user.dto.js.map +0 -1
  738. package/dist/module/user/dto/update-user.dto.d.ts +0 -5
  739. package/dist/module/user/dto/update-user.dto.js +0 -9
  740. package/dist/module/user/dto/update-user.dto.js.map +0 -1
  741. package/dist/module/user/entity/role.entity.d.ts +0 -23
  742. package/dist/module/user/entity/role.entity.js +0 -101
  743. package/dist/module/user/entity/role.entity.js.map +0 -1
  744. package/dist/module/user/entity/user-role-mapping.entity.d.ts +0 -22
  745. package/dist/module/user/entity/user-role-mapping.entity.js +0 -95
  746. package/dist/module/user/entity/user-role-mapping.entity.js.map +0 -1
  747. package/dist/module/user/entity/user-session.entity.d.ts +0 -13
  748. package/dist/module/user/entity/user-session.entity.js +0 -84
  749. package/dist/module/user/entity/user-session.entity.js.map +0 -1
  750. package/dist/module/user/entity/user.entity.d.ts +0 -33
  751. package/dist/module/user/entity/user.entity.js +0 -141
  752. package/dist/module/user/entity/user.entity.js.map +0 -1
  753. package/dist/module/user/repository/role.repository.d.ts +0 -23
  754. package/dist/module/user/repository/role.repository.js +0 -102
  755. package/dist/module/user/repository/role.repository.js.map +0 -1
  756. package/dist/module/user/repository/user-role-mapping.repository.d.ts +0 -20
  757. package/dist/module/user/repository/user-role-mapping.repository.js +0 -113
  758. package/dist/module/user/repository/user-role-mapping.repository.js.map +0 -1
  759. package/dist/module/user/repository/user.repository.d.ts +0 -13
  760. package/dist/module/user/repository/user.repository.js +0 -77
  761. package/dist/module/user/repository/user.repository.js.map +0 -1
  762. package/dist/module/user/repository/userSession.repository.d.ts +0 -11
  763. package/dist/module/user/repository/userSession.repository.js +0 -48
  764. package/dist/module/user/repository/userSession.repository.js.map +0 -1
  765. package/dist/module/user/service/login.service.d.ts +0 -39
  766. package/dist/module/user/service/login.service.js +0 -243
  767. package/dist/module/user/service/login.service.js.map +0 -1
  768. package/dist/module/user/service/role.service.d.ts +0 -38
  769. package/dist/module/user/service/role.service.js +0 -168
  770. package/dist/module/user/service/role.service.js.map +0 -1
  771. package/dist/module/user/service/user-role-mapping.service.d.ts +0 -14
  772. package/dist/module/user/service/user-role-mapping.service.js +0 -66
  773. package/dist/module/user/service/user-role-mapping.service.js.map +0 -1
  774. package/dist/module/user/service/user-session.service.d.ts +0 -30
  775. package/dist/module/user/service/user-session.service.js +0 -159
  776. package/dist/module/user/service/user-session.service.js.map +0 -1
  777. package/dist/module/user/service/user.service.d.ts +0 -49
  778. package/dist/module/user/service/user.service.js +0 -251
  779. package/dist/module/user/service/user.service.js.map +0 -1
  780. package/dist/module/user/user.module.d.ts +0 -2
  781. package/dist/module/user/user.module.js +0 -73
  782. package/dist/module/user/user.module.js.map +0 -1
  783. package/dist/module/workflow/controller/action-category.controller.d.ts +0 -18
  784. package/dist/module/workflow/controller/action-category.controller.js +0 -79
  785. package/dist/module/workflow/controller/action-category.controller.js.map +0 -1
  786. package/dist/module/workflow/controller/action-resource-mapping.controller.d.ts +0 -5
  787. package/dist/module/workflow/controller/action-resource-mapping.controller.js +0 -31
  788. package/dist/module/workflow/controller/action-resource-mapping.controller.js.map +0 -1
  789. package/dist/module/workflow/controller/action-template-mapping.controller.d.ts +0 -12
  790. package/dist/module/workflow/controller/action-template-mapping.controller.js +0 -44
  791. package/dist/module/workflow/controller/action-template-mapping.controller.js.map +0 -1
  792. package/dist/module/workflow/controller/action.controller.d.ts +0 -54
  793. package/dist/module/workflow/controller/action.controller.js +0 -122
  794. package/dist/module/workflow/controller/action.controller.js.map +0 -1
  795. package/dist/module/workflow/controller/activity-log.controller.d.ts +0 -42
  796. package/dist/module/workflow/controller/activity-log.controller.js +0 -62
  797. package/dist/module/workflow/controller/activity-log.controller.js.map +0 -1
  798. package/dist/module/workflow/controller/comm-template.controller.d.ts +0 -19
  799. package/dist/module/workflow/controller/comm-template.controller.js +0 -58
  800. package/dist/module/workflow/controller/comm-template.controller.js.map +0 -1
  801. package/dist/module/workflow/controller/entity-modification.controller.d.ts +0 -8
  802. package/dist/module/workflow/controller/entity-modification.controller.js +0 -44
  803. package/dist/module/workflow/controller/entity-modification.controller.js.map +0 -1
  804. package/dist/module/workflow/controller/form-master.controller.d.ts +0 -14
  805. package/dist/module/workflow/controller/form-master.controller.js +0 -59
  806. package/dist/module/workflow/controller/form-master.controller.js.map +0 -1
  807. package/dist/module/workflow/controller/stage-group.controller.d.ts +0 -19
  808. package/dist/module/workflow/controller/stage-group.controller.js +0 -57
  809. package/dist/module/workflow/controller/stage-group.controller.js.map +0 -1
  810. package/dist/module/workflow/controller/stage.controller.d.ts +0 -16
  811. package/dist/module/workflow/controller/stage.controller.js +0 -58
  812. package/dist/module/workflow/controller/stage.controller.js.map +0 -1
  813. package/dist/module/workflow/controller/task.controller.d.ts +0 -32
  814. package/dist/module/workflow/controller/task.controller.js +0 -72
  815. package/dist/module/workflow/controller/task.controller.js.map +0 -1
  816. package/dist/module/workflow/controller/workflow-list-master.controller.d.ts +0 -14
  817. package/dist/module/workflow/controller/workflow-list-master.controller.js +0 -67
  818. package/dist/module/workflow/controller/workflow-list-master.controller.js.map +0 -1
  819. package/dist/module/workflow/controller/workflow-meta.controller.d.ts +0 -15
  820. package/dist/module/workflow/controller/workflow-meta.controller.js +0 -72
  821. package/dist/module/workflow/controller/workflow-meta.controller.js.map +0 -1
  822. package/dist/module/workflow/controller/workflow.controller.d.ts +0 -31
  823. package/dist/module/workflow/controller/workflow.controller.js +0 -83
  824. package/dist/module/workflow/controller/workflow.controller.js.map +0 -1
  825. package/dist/module/workflow/entity/action-category.entity.d.ts +0 -13
  826. package/dist/module/workflow/entity/action-category.entity.js +0 -63
  827. package/dist/module/workflow/entity/action-category.entity.js.map +0 -1
  828. package/dist/module/workflow/entity/action-data.entity.d.ts +0 -19
  829. package/dist/module/workflow/entity/action-data.entity.js +0 -86
  830. package/dist/module/workflow/entity/action-data.entity.js.map +0 -1
  831. package/dist/module/workflow/entity/action-resources-mapping.entity.d.ts +0 -9
  832. package/dist/module/workflow/entity/action-resources-mapping.entity.js +0 -47
  833. package/dist/module/workflow/entity/action-resources-mapping.entity.js.map +0 -1
  834. package/dist/module/workflow/entity/action-template-mapping.entity.d.ts +0 -6
  835. package/dist/module/workflow/entity/action-template-mapping.entity.js +0 -35
  836. package/dist/module/workflow/entity/action-template-mapping.entity.js.map +0 -1
  837. package/dist/module/workflow/entity/action.entity.d.ts +0 -18
  838. package/dist/module/workflow/entity/action.entity.js +0 -83
  839. package/dist/module/workflow/entity/action.entity.js.map +0 -1
  840. package/dist/module/workflow/entity/activity-log.entity.d.ts +0 -15
  841. package/dist/module/workflow/entity/activity-log.entity.js +0 -70
  842. package/dist/module/workflow/entity/activity-log.entity.js.map +0 -1
  843. package/dist/module/workflow/entity/comm-template.entity.d.ts +0 -14
  844. package/dist/module/workflow/entity/comm-template.entity.js +0 -67
  845. package/dist/module/workflow/entity/comm-template.entity.js.map +0 -1
  846. package/dist/module/workflow/entity/entity-modification.entity.d.ts +0 -13
  847. package/dist/module/workflow/entity/entity-modification.entity.js +0 -63
  848. package/dist/module/workflow/entity/entity-modification.entity.js.map +0 -1
  849. package/dist/module/workflow/entity/form.entity.d.ts +0 -9
  850. package/dist/module/workflow/entity/form.entity.js +0 -46
  851. package/dist/module/workflow/entity/form.entity.js.map +0 -1
  852. package/dist/module/workflow/entity/stage-action-mapping.entity.d.ts +0 -6
  853. package/dist/module/workflow/entity/stage-action-mapping.entity.js +0 -35
  854. package/dist/module/workflow/entity/stage-action-mapping.entity.js.map +0 -1
  855. package/dist/module/workflow/entity/stage-group.entity.d.ts +0 -8
  856. package/dist/module/workflow/entity/stage-group.entity.js +0 -43
  857. package/dist/module/workflow/entity/stage-group.entity.js.map +0 -1
  858. package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +0 -13
  859. package/dist/module/workflow/entity/stage-movement-data.entity.js +0 -63
  860. package/dist/module/workflow/entity/stage-movement-data.entity.js.map +0 -1
  861. package/dist/module/workflow/entity/stage.entity.d.ts +0 -7
  862. package/dist/module/workflow/entity/stage.entity.js +0 -39
  863. package/dist/module/workflow/entity/stage.entity.js.map +0 -1
  864. package/dist/module/workflow/entity/task-data.entity.d.ts +0 -30
  865. package/dist/module/workflow/entity/task-data.entity.js +0 -130
  866. package/dist/module/workflow/entity/task-data.entity.js.map +0 -1
  867. package/dist/module/workflow/entity/template-attach-mapper.entity.d.ts +0 -11
  868. package/dist/module/workflow/entity/template-attach-mapper.entity.js +0 -54
  869. package/dist/module/workflow/entity/template-attach-mapper.entity.js.map +0 -1
  870. package/dist/module/workflow/entity/workflow-data.entity.d.ts +0 -4
  871. package/dist/module/workflow/entity/workflow-data.entity.js +0 -27
  872. package/dist/module/workflow/entity/workflow-data.entity.js.map +0 -1
  873. package/dist/module/workflow/entity/workflow-level-mapping.entity.d.ts +0 -7
  874. package/dist/module/workflow/entity/workflow-level-mapping.entity.js +0 -38
  875. package/dist/module/workflow/entity/workflow-level-mapping.entity.js.map +0 -1
  876. package/dist/module/workflow/entity/workflow.entity.d.ts +0 -7
  877. package/dist/module/workflow/entity/workflow.entity.js +0 -39
  878. package/dist/module/workflow/entity/workflow.entity.js.map +0 -1
  879. package/dist/module/workflow/repository/action-category.repository.d.ts +0 -19
  880. package/dist/module/workflow/repository/action-category.repository.js +0 -84
  881. package/dist/module/workflow/repository/action-category.repository.js.map +0 -1
  882. package/dist/module/workflow/repository/action-data.repository.d.ts +0 -22
  883. package/dist/module/workflow/repository/action-data.repository.js +0 -252
  884. package/dist/module/workflow/repository/action-data.repository.js.map +0 -1
  885. package/dist/module/workflow/repository/action.repository.d.ts +0 -31
  886. package/dist/module/workflow/repository/action.repository.js +0 -258
  887. package/dist/module/workflow/repository/action.repository.js.map +0 -1
  888. package/dist/module/workflow/repository/activity-log.repository.d.ts +0 -57
  889. package/dist/module/workflow/repository/activity-log.repository.js +0 -129
  890. package/dist/module/workflow/repository/activity-log.repository.js.map +0 -1
  891. package/dist/module/workflow/repository/comm-template.repository.d.ts +0 -17
  892. package/dist/module/workflow/repository/comm-template.repository.js +0 -126
  893. package/dist/module/workflow/repository/comm-template.repository.js.map +0 -1
  894. package/dist/module/workflow/repository/form-master.repository.d.ts +0 -11
  895. package/dist/module/workflow/repository/form-master.repository.js +0 -41
  896. package/dist/module/workflow/repository/form-master.repository.js.map +0 -1
  897. package/dist/module/workflow/repository/form.repository.d.ts +0 -0
  898. package/dist/module/workflow/repository/form.repository.js +0 -1
  899. package/dist/module/workflow/repository/form.repository.js.map +0 -1
  900. package/dist/module/workflow/repository/stage-group.repository.d.ts +0 -37
  901. package/dist/module/workflow/repository/stage-group.repository.js +0 -145
  902. package/dist/module/workflow/repository/stage-group.repository.js.map +0 -1
  903. package/dist/module/workflow/repository/stage-movement.repository.d.ts +0 -28
  904. package/dist/module/workflow/repository/stage-movement.repository.js +0 -180
  905. package/dist/module/workflow/repository/stage-movement.repository.js.map +0 -1
  906. package/dist/module/workflow/repository/stage.repository.d.ts +0 -31
  907. package/dist/module/workflow/repository/stage.repository.js +0 -117
  908. package/dist/module/workflow/repository/stage.repository.js.map +0 -1
  909. package/dist/module/workflow/repository/task.repository.d.ts +0 -18
  910. package/dist/module/workflow/repository/task.repository.js +0 -134
  911. package/dist/module/workflow/repository/task.repository.js.map +0 -1
  912. package/dist/module/workflow/repository/workflow.repository.d.ts +0 -10
  913. package/dist/module/workflow/repository/workflow.repository.js +0 -49
  914. package/dist/module/workflow/repository/workflow.repository.js.map +0 -1
  915. package/dist/module/workflow/service/action-category.service.d.ts +0 -21
  916. package/dist/module/workflow/service/action-category.service.js +0 -42
  917. package/dist/module/workflow/service/action-category.service.js.map +0 -1
  918. package/dist/module/workflow/service/action-data.service.d.ts +0 -16
  919. package/dist/module/workflow/service/action-data.service.js +0 -39
  920. package/dist/module/workflow/service/action-data.service.js.map +0 -1
  921. package/dist/module/workflow/service/action-resources-mapping.service.d.ts +0 -6
  922. package/dist/module/workflow/service/action-resources-mapping.service.js +0 -27
  923. package/dist/module/workflow/service/action-resources-mapping.service.js.map +0 -1
  924. package/dist/module/workflow/service/action-template-mapping.service.d.ts +0 -10
  925. package/dist/module/workflow/service/action-template-mapping.service.js +0 -133
  926. package/dist/module/workflow/service/action-template-mapping.service.js.map +0 -1
  927. package/dist/module/workflow/service/action.service.d.ts +0 -44
  928. package/dist/module/workflow/service/action.service.js +0 -211
  929. package/dist/module/workflow/service/action.service.js.map +0 -1
  930. package/dist/module/workflow/service/activity-log.service.d.ts +0 -42
  931. package/dist/module/workflow/service/activity-log.service.js +0 -92
  932. package/dist/module/workflow/service/activity-log.service.js.map +0 -1
  933. package/dist/module/workflow/service/comm-template.service.d.ts +0 -24
  934. package/dist/module/workflow/service/comm-template.service.js +0 -132
  935. package/dist/module/workflow/service/comm-template.service.js.map +0 -1
  936. package/dist/module/workflow/service/entity-modification.service.d.ts +0 -8
  937. package/dist/module/workflow/service/entity-modification.service.js +0 -47
  938. package/dist/module/workflow/service/entity-modification.service.js.map +0 -1
  939. package/dist/module/workflow/service/form-master.service.d.ts +0 -17
  940. package/dist/module/workflow/service/form-master.service.js +0 -38
  941. package/dist/module/workflow/service/form-master.service.js.map +0 -1
  942. package/dist/module/workflow/service/populate-workflow.service.d.ts +0 -21
  943. package/dist/module/workflow/service/populate-workflow.service.js +0 -245
  944. package/dist/module/workflow/service/populate-workflow.service.js.map +0 -1
  945. package/dist/module/workflow/service/stage-action-mapping.service.d.ts +0 -3
  946. package/dist/module/workflow/service/stage-action-mapping.service.js +0 -18
  947. package/dist/module/workflow/service/stage-action-mapping.service.js.map +0 -1
  948. package/dist/module/workflow/service/stage-group.service.d.ts +0 -30
  949. package/dist/module/workflow/service/stage-group.service.js +0 -238
  950. package/dist/module/workflow/service/stage-group.service.js.map +0 -1
  951. package/dist/module/workflow/service/stage.service.d.ts +0 -21
  952. package/dist/module/workflow/service/stage.service.js +0 -136
  953. package/dist/module/workflow/service/stage.service.js.map +0 -1
  954. package/dist/module/workflow/service/task.service.d.ts +0 -46
  955. package/dist/module/workflow/service/task.service.js +0 -368
  956. package/dist/module/workflow/service/task.service.js.map +0 -1
  957. package/dist/module/workflow/service/workflow-list-master.service.d.ts +0 -7
  958. package/dist/module/workflow/service/workflow-list-master.service.js +0 -73
  959. package/dist/module/workflow/service/workflow-list-master.service.js.map +0 -1
  960. package/dist/module/workflow/service/workflow-meta.service.d.ts +0 -37
  961. package/dist/module/workflow/service/workflow-meta.service.js +0 -424
  962. package/dist/module/workflow/service/workflow-meta.service.js.map +0 -1
  963. package/dist/module/workflow/service/workflow.service.d.ts +0 -31
  964. package/dist/module/workflow/service/workflow.service.js +0 -153
  965. package/dist/module/workflow/service/workflow.service.js.map +0 -1
  966. package/dist/module/workflow/workflow.module.d.ts +0 -2
  967. package/dist/module/workflow/workflow.module.js +0 -194
  968. package/dist/module/workflow/workflow.module.js.map +0 -1
  969. package/dist/module/workflow-automation/controller/workflow-automation.controller.d.ts +0 -11
  970. package/dist/module/workflow-automation/controller/workflow-automation.controller.js +0 -47
  971. package/dist/module/workflow-automation/controller/workflow-automation.controller.js.map +0 -1
  972. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.d.ts +0 -9
  973. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js +0 -47
  974. package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js.map +0 -1
  975. package/dist/module/workflow-automation/entity/workflow-automation.entity.d.ts +0 -14
  976. package/dist/module/workflow-automation/entity/workflow-automation.entity.js +0 -67
  977. package/dist/module/workflow-automation/entity/workflow-automation.entity.js.map +0 -1
  978. package/dist/module/workflow-automation/interface/action.decorator.d.ts +0 -2
  979. package/dist/module/workflow-automation/interface/action.decorator.js +0 -8
  980. package/dist/module/workflow-automation/interface/action.decorator.js.map +0 -1
  981. package/dist/module/workflow-automation/interface/action.interface.d.ts +0 -4
  982. package/dist/module/workflow-automation/interface/action.interface.js +0 -3
  983. package/dist/module/workflow-automation/interface/action.interface.js.map +0 -1
  984. package/dist/module/workflow-automation/service/action-registery.service.d.ts +0 -11
  985. package/dist/module/workflow-automation/service/action-registery.service.js +0 -46
  986. package/dist/module/workflow-automation/service/action-registery.service.js.map +0 -1
  987. package/dist/module/workflow-automation/service/schedule-handler.service.d.ts +0 -22
  988. package/dist/module/workflow-automation/service/schedule-handler.service.js +0 -141
  989. package/dist/module/workflow-automation/service/schedule-handler.service.js.map +0 -1
  990. package/dist/module/workflow-automation/service/workflow-automation-engine.service.d.ts +0 -15
  991. package/dist/module/workflow-automation/service/workflow-automation-engine.service.js +0 -124
  992. package/dist/module/workflow-automation/service/workflow-automation-engine.service.js.map +0 -1
  993. package/dist/module/workflow-automation/service/workflow-automation.service.d.ts +0 -68
  994. package/dist/module/workflow-automation/service/workflow-automation.service.js +0 -339
  995. package/dist/module/workflow-automation/service/workflow-automation.service.js.map +0 -1
  996. package/dist/module/workflow-automation/workflow-automation.module.d.ts +0 -2
  997. package/dist/module/workflow-automation/workflow-automation.module.js +0 -68
  998. package/dist/module/workflow-automation/workflow-automation.module.js.map +0 -1
  999. package/dist/module/workflow-schedule/constants/schedule.constants.d.ts +0 -27
  1000. package/dist/module/workflow-schedule/constants/schedule.constants.js +0 -31
  1001. package/dist/module/workflow-schedule/constants/schedule.constants.js.map +0 -1
  1002. package/dist/module/workflow-schedule/controller/workflow-schedule.controller.d.ts +0 -81
  1003. package/dist/module/workflow-schedule/controller/workflow-schedule.controller.js +0 -218
  1004. package/dist/module/workflow-schedule/controller/workflow-schedule.controller.js.map +0 -1
  1005. package/dist/module/workflow-schedule/dto/create-schedule.dto.d.ts +0 -32
  1006. package/dist/module/workflow-schedule/dto/create-schedule.dto.js +0 -163
  1007. package/dist/module/workflow-schedule/dto/create-schedule.dto.js.map +0 -1
  1008. package/dist/module/workflow-schedule/dto/get-execution-logs.dto.d.ts +0 -35
  1009. package/dist/module/workflow-schedule/dto/get-execution-logs.dto.js +0 -124
  1010. package/dist/module/workflow-schedule/dto/get-execution-logs.dto.js.map +0 -1
  1011. package/dist/module/workflow-schedule/dto/update-schedule.dto.d.ts +0 -19
  1012. package/dist/module/workflow-schedule/dto/update-schedule.dto.js +0 -106
  1013. package/dist/module/workflow-schedule/dto/update-schedule.dto.js.map +0 -1
  1014. package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.d.ts +0 -30
  1015. package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.js +0 -113
  1016. package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.js.map +0 -1
  1017. package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.d.ts +0 -34
  1018. package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.js +0 -118
  1019. package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.js.map +0 -1
  1020. package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.d.ts +0 -44
  1021. package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.js +0 -3
  1022. package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.js.map +0 -1
  1023. package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.d.ts +0 -3
  1024. package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.js +0 -3
  1025. package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.js.map +0 -1
  1026. package/dist/module/workflow-schedule/processors/schedule.processor.d.ts +0 -33
  1027. package/dist/module/workflow-schedule/processors/schedule.processor.js +0 -422
  1028. package/dist/module/workflow-schedule/processors/schedule.processor.js.map +0 -1
  1029. package/dist/module/workflow-schedule/service/workflow-schedule.service.d.ts +0 -43
  1030. package/dist/module/workflow-schedule/service/workflow-schedule.service.js +0 -432
  1031. package/dist/module/workflow-schedule/service/workflow-schedule.service.js.map +0 -1
  1032. package/dist/module/workflow-schedule/workflow-schedule.module.d.ts +0 -5
  1033. package/dist/module/workflow-schedule/workflow-schedule.module.js +0 -52
  1034. package/dist/module/workflow-schedule/workflow-schedule.module.js.map +0 -1
  1035. package/dist/resources/properties.module.d.ts +0 -2
  1036. package/dist/resources/properties.module.js +0 -25
  1037. package/dist/resources/properties.module.js.map +0 -1
  1038. package/dist/resources/properties.yaml.d.ts +0 -2
  1039. package/dist/resources/properties.yaml.js +0 -10
  1040. package/dist/resources/properties.yaml.js.map +0 -1
  1041. package/dist/table.config.d.ts +0 -39
  1042. package/dist/table.config.js +0 -136
  1043. package/dist/table.config.js.map +0 -1
  1044. package/dist/tsconfig.build.tsbuildinfo +0 -1
  1045. package/dist/utils/dto/excel-data.dto.d.ts +0 -7
  1046. package/dist/utils/dto/excel-data.dto.js +0 -16
  1047. package/dist/utils/dto/excel-data.dto.js.map +0 -1
  1048. package/dist/utils/dto/excelsheet-data.dto.d.ts +0 -5
  1049. package/dist/utils/dto/excelsheet-data.dto.js +0 -3
  1050. package/dist/utils/dto/excelsheet-data.dto.js.map +0 -1
  1051. package/dist/utils/service/base64util.service.d.ts +0 -4
  1052. package/dist/utils/service/base64util.service.js +0 -21
  1053. package/dist/utils/service/base64util.service.js.map +0 -1
  1054. package/dist/utils/service/clockIDGenUtil.service.d.ts +0 -8
  1055. package/dist/utils/service/clockIDGenUtil.service.js +0 -32
  1056. package/dist/utils/service/clockIDGenUtil.service.js.map +0 -1
  1057. package/dist/utils/service/codeGenerator.service.d.ts +0 -3
  1058. package/dist/utils/service/codeGenerator.service.js +0 -19
  1059. package/dist/utils/service/codeGenerator.service.js.map +0 -1
  1060. package/dist/utils/service/dateUtil.service.d.ts +0 -3
  1061. package/dist/utils/service/dateUtil.service.js +0 -28
  1062. package/dist/utils/service/dateUtil.service.js.map +0 -1
  1063. package/dist/utils/service/encryptUtil.service.d.ts +0 -9
  1064. package/dist/utils/service/encryptUtil.service.js +0 -112
  1065. package/dist/utils/service/encryptUtil.service.js.map +0 -1
  1066. package/dist/utils/service/excel-helper.service.d.ts +0 -9
  1067. package/dist/utils/service/excel-helper.service.js +0 -56
  1068. package/dist/utils/service/excel-helper.service.js.map +0 -1
  1069. package/dist/utils/service/excelUtil.service.d.ts +0 -3
  1070. package/dist/utils/service/excelUtil.service.js +0 -17
  1071. package/dist/utils/service/excelUtil.service.js.map +0 -1
  1072. package/dist/utils/service/file-util.service.d.ts +0 -3
  1073. package/dist/utils/service/file-util.service.js +0 -15
  1074. package/dist/utils/service/file-util.service.js.map +0 -1
  1075. package/dist/utils/service/json-util.service.d.ts +0 -3
  1076. package/dist/utils/service/json-util.service.js +0 -24
  1077. package/dist/utils/service/json-util.service.js.map +0 -1
  1078. package/dist/utils/service/loggingUtil.service.d.ts +0 -11
  1079. package/dist/utils/service/loggingUtil.service.js +0 -87
  1080. package/dist/utils/service/loggingUtil.service.js.map +0 -1
  1081. package/dist/utils/service/reflection-helper.service.d.ts +0 -10
  1082. package/dist/utils/service/reflection-helper.service.js +0 -66
  1083. package/dist/utils/service/reflection-helper.service.js.map +0 -1
  1084. package/dist/utils/service/wbsCodeGen.service.d.ts +0 -3
  1085. package/dist/utils/service/wbsCodeGen.service.js +0 -20
  1086. package/dist/utils/service/wbsCodeGen.service.js.map +0 -1
  1087. package/dist/utils/utils.module.d.ts +0 -2
  1088. package/dist/utils/utils.module.js +0 -40
  1089. package/dist/utils/utils.module.js.map +0 -1
@@ -1,339 +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
- var WorkflowAutomationService_1;
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.WorkflowAutomationService = void 0;
17
- const common_1 = require("@nestjs/common");
18
- const typeorm_1 = require("@nestjs/typeorm");
19
- const typeorm_2 = require("typeorm");
20
- const workflow_automation_entity_1 = require("../entity/workflow-automation.entity");
21
- const workflow_automation_action_entity_1 = require("../entity/workflow-automation-action.entity");
22
- const entity_service_impl_service_1 = require("../../meta/service/entity-service-impl.service");
23
- const saved_filter_service_1 = require("../../filter/service/saved-filter.service");
24
- const global_constant_1 = require("../../../constant/global.constant");
25
- const scheduled_workflow_entity_1 = require("../../workflow-schedule/entities/scheduled-workflow.entity");
26
- const workflow_schedule_service_1 = require("../../workflow-schedule/service/workflow-schedule.service");
27
- const moment = require("moment");
28
- let WorkflowAutomationService = WorkflowAutomationService_1 = class WorkflowAutomationService extends entity_service_impl_service_1.EntityServiceImpl {
29
- constructor(wfRepo, actionRepo, savedFilterService, dataSource, scheduledWorkflowRepository, workflowScheduleService) {
30
- super();
31
- this.wfRepo = wfRepo;
32
- this.actionRepo = actionRepo;
33
- this.savedFilterService = savedFilterService;
34
- this.dataSource = dataSource;
35
- this.scheduledWorkflowRepository = scheduledWorkflowRepository;
36
- this.workflowScheduleService = workflowScheduleService;
37
- this.logger = new common_1.Logger(WorkflowAutomationService_1.name);
38
- }
39
- async createRule(data) {
40
- const rule = this.wfRepo.create(data);
41
- return this.wfRepo.save(rule);
42
- }
43
- async updateRule(id, data) {
44
- await this.wfRepo.update(id, data);
45
- return this.wfRepo.findOneBy({ id });
46
- }
47
- async deleteRule(id) {
48
- await this.wfRepo.delete(id);
49
- }
50
- async getRule(id) {
51
- return this.wfRepo.findOneBy({ id });
52
- }
53
- async getActiveRules(entityType, event, loggedInUser) {
54
- return this.wfRepo.find({
55
- where: {
56
- applicable_entity_type: entityType,
57
- trigger_event: event,
58
- enterprise_id: loggedInUser.enterprise_id,
59
- },
60
- });
61
- }
62
- async getActionsForRule(workflow_automation_id) {
63
- return this.actionRepo.find({
64
- where: { workflow_automation_id },
65
- });
66
- }
67
- async updateEntity(entityData, loggedInUser) {
68
- this.logger.debug(`Updating WorkflowAutomation with data: ${JSON.stringify(entityData)}`);
69
- const { event, filter, action, ...workflowData } = entityData;
70
- this.logger.log(`Updating core workflow fields for workflow...`);
71
- let workflow = await super.updateEntity(workflowData, loggedInUser);
72
- this.logger.debug(`Workflow updated (id=${workflow.id})`);
73
- if (event?.triggerType) {
74
- this.logger.log(`Processing EVENT filter for workflow ${workflow.id}`);
75
- if (event.triggerType === 'on_event') {
76
- const eventFilterMaster = {
77
- entity_type: 'SFM',
78
- name: `Event_Filter_${workflow.id}`,
79
- filterDetails: event?.eventFilterJson ?? [],
80
- filter_scope: 'RULE',
81
- enterprise_id: loggedInUser.enterprise_id,
82
- };
83
- if (workflow.condition_filter_code) {
84
- this.logger.debug(`Existing event filter found: ${workflow.condition_filter_code}`);
85
- const existing = await this.savedFilterService.getEntityDataByCode(global_constant_1.ENTITYTYPE_SAVEDFILTERMASTER, workflow.condition_filter_code, loggedInUser);
86
- if (existing) {
87
- eventFilterMaster['id'] = existing.id;
88
- const updatedEvent = await this.savedFilterService.updateEntity(eventFilterMaster, loggedInUser);
89
- workflow.condition_filter_code = updatedEvent.code;
90
- this.logger.log(`Updated existing event filter: ${updatedEvent.code}`);
91
- }
92
- }
93
- else {
94
- const savedEvent = await this.savedFilterService.createEntity(eventFilterMaster, loggedInUser);
95
- workflow.condition_filter_code = savedEvent.code;
96
- this.logger.log(`Created new event filter: ${savedEvent.code}`);
97
- }
98
- workflow.trigger_event = event?.event ?? null;
99
- }
100
- if (event.triggerType === 'on_schedule') {
101
- workflow.schedule = event?.scheduleJson ?? null;
102
- workflow.trigger_type = 'on_schedule';
103
- this.logger.log(`Stored schedule JSON for workflow ${workflow.id}: ${JSON.stringify(workflow.schedule)}`);
104
- await this.registerScheduleAutomation(workflow, loggedInUser);
105
- }
106
- workflow.trigger_type = event.triggerType;
107
- }
108
- if (filter) {
109
- this.logger.log(`Processing CRITERIA filter for workflow ${workflow.id}`);
110
- workflow.criteria_filter_code = filter.filter_code ?? null;
111
- }
112
- if (Array.isArray(action) && action.length) {
113
- this.logger.log(`Processing ${action.length} actions for workflow ${workflow.id}`);
114
- const existingActions = await this.dataSource
115
- .getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
116
- .find({
117
- where: { workflow_automation_id: workflow.id },
118
- });
119
- const existingMap = new Map(existingActions.map((a) => [a.action_category_id, a]));
120
- for (const a of action) {
121
- if (!a?.actionCategory) {
122
- this.logger.warn(`Skipping action without category: ${JSON.stringify(a)}`);
123
- continue;
124
- }
125
- const existing = existingMap.get(a.actionCategory);
126
- if (existing) {
127
- existing.payload = a.actionPayload ?? {};
128
- existing.actioncategoryname =
129
- a.actionCategoryName ?? existing.actioncategoryname;
130
- existing.status = a.status ?? existing.status;
131
- await this.dataSource
132
- .getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
133
- .save(existing);
134
- this.logger.log(`Updated action: ${a.actionCategory}`);
135
- }
136
- else {
137
- const actionEntity = new workflow_automation_action_entity_1.WorkflowAutomationActionEntity();
138
- actionEntity.entity_type = 'WFAA';
139
- actionEntity.workflow_automation_id = workflow.id;
140
- actionEntity.action_category_id = a.actionCategory;
141
- actionEntity.actioncategoryname = a.actionCategoryName;
142
- actionEntity.payload = a.actionPayload ?? {};
143
- actionEntity.name = a.name;
144
- actionEntity.status = a.status;
145
- await this.dataSource
146
- .getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
147
- .save(actionEntity);
148
- this.logger.log(`Created new action: ${a.actionCategory}`);
149
- }
150
- }
151
- const incomingCategories = action.map((a) => a.actionCategory);
152
- const toDelete = existingActions.filter((a) => !incomingCategories.includes(a.action_category_id));
153
- if (toDelete.length) {
154
- await this.dataSource
155
- .getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
156
- .remove(toDelete);
157
- this.logger.log(`Deleted ${toDelete.length} actions not present in request.`);
158
- }
159
- }
160
- workflow = await super.updateEntity(workflow, loggedInUser);
161
- this.logger.debug(`Final workflow updated (id=${workflow.id})`);
162
- return workflow;
163
- }
164
- async getEntityData(entity_type, id, loggedInUser) {
165
- this.logger.log(`Fetching WorkflowAutomation by id=${id}`);
166
- const workflowAutomation = await this.dataSource
167
- .getRepository(workflow_automation_entity_1.WorkflowAutomation)
168
- .findOne({
169
- where: { id },
170
- });
171
- if (!workflowAutomation) {
172
- throw new common_1.NotFoundException(`WorkflowAutomation not found with id=${id}`);
173
- }
174
- let event = null;
175
- if (workflowAutomation.trigger_type === 'on_event') {
176
- if (workflowAutomation.condition_filter_code) {
177
- const eventFilterMaster = await this.savedFilterService.getEntityDataByCode(global_constant_1.ENTITYTYPE_SAVEDFILTERMASTER, workflowAutomation.condition_filter_code, loggedInUser);
178
- if (eventFilterMaster) {
179
- const eventFilterDetails = await this.savedFilterService.getDetailsByCode(eventFilterMaster.code);
180
- event = {
181
- eventFilterJson: eventFilterDetails ?? [],
182
- triggerType: workflowAutomation.trigger_type,
183
- event: workflowAutomation.trigger_event,
184
- };
185
- }
186
- }
187
- }
188
- if (workflowAutomation.trigger_type === 'on_schedule') {
189
- event = {
190
- triggerType: workflowAutomation.trigger_type,
191
- scheduleJson: workflowAutomation.schedule,
192
- };
193
- }
194
- let filter = null;
195
- filter = {
196
- filter_code: workflowAutomation.criteria_filter_code,
197
- };
198
- const actions = await this.dataSource
199
- .getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
200
- .find({
201
- where: { workflow_automation_id: workflowAutomation.id },
202
- });
203
- const action = actions.map((a) => ({
204
- actionCategory: a.action_category_id,
205
- actionCategoryName: a.actioncategoryname,
206
- actionPayload: a.payload,
207
- name: a.name,
208
- status: a.status,
209
- }));
210
- const response = {
211
- ...workflowAutomation,
212
- event,
213
- filter,
214
- action,
215
- };
216
- this.logger.debug(`Fetched WorkflowAutomation (id=${id}) with relations`);
217
- return response;
218
- }
219
- async registerScheduleAutomation(workflow, loggedInUser) {
220
- this.logger.log(`Registering schedule automation for workflow ${workflow.id}`);
221
- if (!this.workflowScheduleService) {
222
- this.logger.warn(`WorkflowScheduleService not available. Skipping schedule registration for workflow ${workflow.id}. ` +
223
- `Make sure WorkflowScheduleModule is imported if you need scheduling functionality.`);
224
- return;
225
- }
226
- const scheduleJson = workflow.schedule;
227
- if (!scheduleJson) {
228
- this.logger.warn(`No schedule JSON provided for workflow ${workflow.id}`);
229
- return;
230
- }
231
- const existingSchedule = await this.scheduledWorkflowRepository.findOne({
232
- where: { workflow_id: workflow.id },
233
- });
234
- const cronExpression = await this.generateDailyCron(scheduleJson.fixedTime);
235
- const payload = {
236
- id: Number(existingSchedule?.id ?? null),
237
- workflow_id: workflow.id,
238
- workflow_name: workflow.name,
239
- name: scheduleJson.name ?? `Schedule_${workflow.id}`,
240
- description: scheduleJson.description ?? '',
241
- cron_expression: cronExpression,
242
- timezone: scheduleJson.timezone ?? 'Asia/Kolkata',
243
- start_date: scheduleJson.start_date ?? null,
244
- end_date: scheduleJson.end_date ?? null,
245
- max_executions: scheduleJson.max_executions ?? null,
246
- retry_config: scheduleJson.retry_config ?? {},
247
- actions: scheduleJson.actions ?? [],
248
- metadata: scheduleJson.metadata ?? {},
249
- is_enabled: scheduleJson.is_enabled ?? true,
250
- enterprise_id: loggedInUser.enterprise_id,
251
- level_id: loggedInUser.level_id,
252
- level_type: loggedInUser.level_type
253
- };
254
- if (existingSchedule) {
255
- this.logger.log(`Existing schedule found (id=${existingSchedule.id}), updating...`);
256
- return await this.workflowScheduleService.updateSchedule(payload, loggedInUser);
257
- }
258
- else {
259
- this.logger.log(`No existing schedule found, creating new one...`);
260
- return await this.workflowScheduleService.createSchedule(payload, loggedInUser);
261
- }
262
- }
263
- async generateDailyCron(executionTime) {
264
- const time = moment(executionTime, 'HH:mm');
265
- if (!time.isValid()) {
266
- throw new Error('Invalid executionTime format (expected HH:mm)');
267
- }
268
- const minute = time.minute();
269
- const hour = time.hour();
270
- const cron = `${minute} ${hour} * * *`;
271
- const cronRegex = /^(\*|([0-5]?\d)) (\*|([01]?\d|2[0-3])) (\*|([01]?\d|2\d|3[01])) (\*|([1-9]|1[0-2])) (\*|([0-6]))$/;
272
- if (!cronRegex.test(cron)) {
273
- throw new Error(`Generated cron expression "${cron}" does not match expected format`);
274
- }
275
- return cron;
276
- }
277
- async updateSequence(body, loggedInUser) {
278
- if (!Array.isArray(body) || body.length === 0) {
279
- throw new common_1.BadRequestException('Invalid input. Expected a non-empty array.');
280
- }
281
- const results = [];
282
- for (const item of body) {
283
- const { id, sequence } = item;
284
- if (!id || sequence === undefined || sequence === null) {
285
- results.push({
286
- id: id || null,
287
- success: false,
288
- error: 'Missing id or sequence',
289
- });
290
- continue;
291
- }
292
- try {
293
- const existing = await this.wfRepo.findOne({ where: { id } });
294
- if (!existing) {
295
- results.push({
296
- id,
297
- success: false,
298
- error: `Workflow with id ${id} not found`,
299
- });
300
- continue;
301
- }
302
- existing.sequence = Number(sequence);
303
- existing.modified_by =
304
- loggedInUser?.id || loggedInUser?.user_id || null;
305
- existing.modified_date = new Date();
306
- const saved = await this.wfRepo.save(existing);
307
- results.push({ id, success: true, result: saved });
308
- }
309
- catch (err) {
310
- results.push({
311
- id,
312
- success: false,
313
- error: err.message || 'Unknown error occurred',
314
- });
315
- }
316
- }
317
- return {
318
- updated: results.filter((r) => r.success).length,
319
- results,
320
- };
321
- }
322
- };
323
- exports.WorkflowAutomationService = WorkflowAutomationService;
324
- exports.WorkflowAutomationService = WorkflowAutomationService = WorkflowAutomationService_1 = __decorate([
325
- (0, common_1.Injectable)(),
326
- __param(0, (0, typeorm_1.InjectRepository)(workflow_automation_entity_1.WorkflowAutomation)),
327
- __param(1, (0, typeorm_1.InjectRepository)(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)),
328
- __param(2, (0, common_1.Inject)('SavedFilterService')),
329
- __param(4, (0, typeorm_1.InjectRepository)(scheduled_workflow_entity_1.ScheduledWorkflow)),
330
- __param(5, (0, common_1.Optional)()),
331
- __param(5, (0, common_1.Inject)((0, common_1.forwardRef)(() => workflow_schedule_service_1.WorkflowScheduleService))),
332
- __metadata("design:paramtypes", [typeorm_2.Repository,
333
- typeorm_2.Repository,
334
- saved_filter_service_1.SavedFilterService,
335
- typeorm_2.DataSource,
336
- typeorm_2.Repository,
337
- workflow_schedule_service_1.WorkflowScheduleService])
338
- ], WorkflowAutomationService);
339
- //# sourceMappingURL=workflow-automation.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-automation.service.js","sourceRoot":"","sources":["../../../../src/module/workflow-automation/service/workflow-automation.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAQwB;AACxB,6CAAmD;AACnD,qCAAiD;AACjD,qFAA0E;AAC1E,mGAA6F;AAC7F,gGAAwF;AAExF,oFAAoF;AACpF,uEAA4E;AAC5E,0GAAoG;AACpG,yGAAyG;AACzG,iCAAiC;AAK1B,IAAM,yBAAyB,iCAA/B,MAAM,yBAA0B,SAAQ,+CAAiB;IAE9D,YAEE,MAAuD,EAEvD,UAAuE,EAEvE,kBAAuD,EACtC,UAAsB,EAEvC,2BAA2E,EAG3E,uBAAiE;QAEjE,KAAK,EAAE,CAAC;QAZS,WAAM,GAAN,MAAM,CAAgC;QAEtC,eAAU,GAAV,UAAU,CAA4C;QAEtD,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,eAAU,GAAV,UAAU,CAAY;QAEtB,gCAA2B,GAA3B,2BAA2B,CAA+B;QAG1D,4BAAuB,GAAvB,uBAAuB,CAAyB;QAblD,WAAM,GAAG,IAAI,eAAM,CAAC,2BAAyB,CAAC,IAAI,CAAC,CAAC;IAgBrE,CAAC;IAED,KAAK,CAAC,UAAU,CACd,IAAiC;QAEjC,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,UA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MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM;YAChD,OAAO;SACR,CAAC;IACJ,CAAC;CACF,CAAA;AA7cY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,mBAAU,GAAE;IAIR,WAAA,IAAA,0BAAgB,EAAC,+CAAkB,CAAC,CAAA;IAEpC,WAAA,IAAA,0BAAgB,EAAC,kEAA8B,CAAC,CAAA;IAEhD,WAAA,IAAA,eAAM,EAAC,oBAAoB,CAAC,CAAA;IAG5B,WAAA,IAAA,0BAAgB,EAAC,6CAAiB,CAAC,CAAA;IAEnC,WAAA,IAAA,iBAAQ,GAAE,CAAA;IACV,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,mDAAuB,CAAC,CAAC,CAAA;qCATzB,oBAAU;QAEN,oBAAU;QAEF,yCAAkB;QAC1B,oBAAU;QAEO,oBAAU;QAGd,mDAAuB;GAdxD,yBAAyB,CA6crC"}
@@ -1,2 +0,0 @@
1
- export declare class WorkflowAutomationModule {
2
- }
@@ -1,68 +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
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.WorkflowAutomationModule = void 0;
10
- const common_1 = require("@nestjs/common");
11
- const typeorm_1 = require("@nestjs/typeorm");
12
- const core_1 = require("@nestjs/core");
13
- const workflow_automation_entity_1 = require("./entity/workflow-automation.entity");
14
- const workflow_automation_controller_1 = require("./controller/workflow-automation.controller");
15
- const workflow_automation_engine_service_1 = require("./service/workflow-automation-engine.service");
16
- const filter_module_1 = require("../filter/filter.module");
17
- const workflow_automation_service_1 = require("./service/workflow-automation.service");
18
- const workflow_automation_action_entity_1 = require("./entity/workflow-automation-action.entity");
19
- const entity_module_1 = require("../meta/entity.module");
20
- const action_registery_service_1 = require("./service/action-registery.service");
21
- const schedule_handler_service_1 = require("./service/schedule-handler.service");
22
- const scheduled_workflow_entity_1 = require("../workflow-schedule/entities/scheduled-workflow.entity");
23
- const workflow_execution_log_entity_1 = require("../workflow-schedule/entities/workflow-execution-log.entity");
24
- const entity_master_entity_1 = require("../meta/entity/entity-master.entity");
25
- const list_master_entity_1 = require("../listmaster/entity/list-master.entity");
26
- const action_category_entity_1 = require("../workflow/entity/action-category.entity");
27
- const workflow_schedule_module_1 = require("../workflow-schedule/workflow-schedule.module");
28
- let WorkflowAutomationModule = class WorkflowAutomationModule {
29
- };
30
- exports.WorkflowAutomationModule = WorkflowAutomationModule;
31
- exports.WorkflowAutomationModule = WorkflowAutomationModule = __decorate([
32
- (0, common_1.Module)({
33
- imports: [
34
- typeorm_1.TypeOrmModule.forFeature([
35
- workflow_automation_entity_1.WorkflowAutomation,
36
- workflow_automation_action_entity_1.WorkflowAutomationActionEntity,
37
- scheduled_workflow_entity_1.ScheduledWorkflow,
38
- workflow_execution_log_entity_1.WorkflowExecutionLog,
39
- entity_master_entity_1.EntityMaster,
40
- list_master_entity_1.ListMasterData,
41
- action_category_entity_1.ActionCategory
42
- ]),
43
- (0, common_1.forwardRef)(() => filter_module_1.FilterModule),
44
- (0, common_1.forwardRef)(() => entity_module_1.EntityModule),
45
- (0, common_1.forwardRef)(() => workflow_schedule_module_1.WorkflowScheduleModule),
46
- core_1.DiscoveryModule,
47
- ],
48
- providers: [
49
- workflow_automation_engine_service_1.WorkflowAutomationEngineService,
50
- {
51
- provide: 'WorkflowAutomationService',
52
- useClass: workflow_automation_service_1.WorkflowAutomationService,
53
- },
54
- {
55
- provide: 'ScheduleHandlerService',
56
- useClass: schedule_handler_service_1.ScheduleHandlerService,
57
- },
58
- action_registery_service_1.ActionRegistryService,
59
- ],
60
- exports: [
61
- workflow_automation_engine_service_1.WorkflowAutomationEngineService,
62
- 'WorkflowAutomationService',
63
- 'ScheduleHandlerService',
64
- ],
65
- controllers: [workflow_automation_controller_1.WorkflowAutomationController],
66
- })
67
- ], WorkflowAutomationModule);
68
- //# sourceMappingURL=workflow-automation.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-automation.module.js","sourceRoot":"","sources":["../../../src/module/workflow-automation/workflow-automation.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAoD;AACpD,6CAAgD;AAChD,uCAA+C;AAC/C,oFAAyE;AACzE,gGAA2F;AAC3F,qGAA+F;AAC/F,2DAAuD;AACvD,uFAAkF;AAClF,kGAA4F;AAC5F,yDAAqD;AACrD,iFAA2E;AAC3E,iFAA4E;AAC5E,uGAA4F;AAC5F,+GAAmG;AACnG,8EAAmE;AACnE,gFAAyE;AACzE,sFAA2E;AAC3E,4FAAuF;AAqChF,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAAI,CAAA;AAA5B,4DAAwB;mCAAxB,wBAAwB;IAnCpC,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,uBAAa,CAAC,UAAU,CAAC;gBACvB,+CAAkB;gBAClB,kEAA8B;gBAC9B,6CAAiB;gBACjB,oDAAoB;gBACpB,mCAAY;gBACZ,mCAAc;gBACd,uCAAc;aACf,CAAC;YACF,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;YACxC,sBAAe;SAChB;QACD,SAAS,EAAE;YACT,oEAA+B;YAC/B;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,uDAAyB;aACpC;YACD;gBACE,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,iDAAsB;aACjC;YACD,gDAAqB;SACtB;QACD,OAAO,EAAE;YACP,oEAA+B;YAC/B,2BAA2B;YAC3B,wBAAwB;SACzB;QACD,WAAW,EAAE,CAAC,6DAA4B,CAAC;KAC5C,CAAC;GACW,wBAAwB,CAAI"}
@@ -1,27 +0,0 @@
1
- export declare const SCHEDULED_WORKFLOW = "WFSC";
2
- export declare const WORKFLOW_EXECUTION_LOG = "WFEL";
3
- export declare const WORKFLOW_SCHEDULE_QUEUE = "workflow-schedule";
4
- export declare const EXECUTE_SCHEDULED_WORKFLOW_JOB = "execute-scheduled-workflow";
5
- export declare const SCHEDULE_STATUS_ACTIVE = "ACTIVE";
6
- export declare const SCHEDULE_STATUS_PAUSED = "PAUSED";
7
- export declare const SCHEDULE_STATUS_INACTIVE = "INACTIVE";
8
- export declare const SCHEDULE_STATUS_EXPIRED = "EXPIRED";
9
- export declare const EXECUTION_STATUS_PENDING = "PENDING";
10
- export declare const EXECUTION_STATUS_RUNNING = "RUNNING";
11
- export declare const EXECUTION_STATUS_COMPLETED = "COMPLETED";
12
- export declare const EXECUTION_STATUS_FAILED = "FAILED";
13
- export declare const EXECUTION_STATUS_PARTIAL = "PARTIAL";
14
- export declare const WORKFLOW_TYPE_AUTOMATED = "AUTOMATED";
15
- export declare const WORKFLOW_TYPE_MANUAL = "MANUAL";
16
- export declare const WORKFLOW_TYPE_SCHEDULED = "SCHEDULED";
17
- export declare const ACTION_TYPE_SEND_EMAIL = "SEND_EMAIL";
18
- export declare const ACTION_TYPE_UPDATE_RECORDS = "UPDATE_RECORDS";
19
- export declare const ACTION_TYPE_CREATE_TASK = "CREATE_TASK";
20
- export declare const ACTION_TYPE_SEND_NOTIFICATION = "SEND_NOTIFICATION";
21
- export declare const DEFAULT_BATCH_SIZE = 100;
22
- export declare const DEFAULT_MAX_RETRIES = 3;
23
- export declare const DEFAULT_RETRY_DELAY = 5000;
24
- export declare const DEFAULT_BACKOFF_MULTIPLIER = 2;
25
- export declare const DEFAULT_TIMEZONE = "Asia/Kolkata";
26
- export declare const SECONDS_IN_MINUTE = 60;
27
- export declare const MILLISECONDS_IN_SECOND = 1000;
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MILLISECONDS_IN_SECOND = exports.SECONDS_IN_MINUTE = exports.DEFAULT_TIMEZONE = exports.DEFAULT_BACKOFF_MULTIPLIER = exports.DEFAULT_RETRY_DELAY = exports.DEFAULT_MAX_RETRIES = exports.DEFAULT_BATCH_SIZE = exports.ACTION_TYPE_SEND_NOTIFICATION = exports.ACTION_TYPE_CREATE_TASK = exports.ACTION_TYPE_UPDATE_RECORDS = exports.ACTION_TYPE_SEND_EMAIL = exports.WORKFLOW_TYPE_SCHEDULED = exports.WORKFLOW_TYPE_MANUAL = exports.WORKFLOW_TYPE_AUTOMATED = exports.EXECUTION_STATUS_PARTIAL = exports.EXECUTION_STATUS_FAILED = exports.EXECUTION_STATUS_COMPLETED = exports.EXECUTION_STATUS_RUNNING = exports.EXECUTION_STATUS_PENDING = exports.SCHEDULE_STATUS_EXPIRED = exports.SCHEDULE_STATUS_INACTIVE = exports.SCHEDULE_STATUS_PAUSED = exports.SCHEDULE_STATUS_ACTIVE = exports.EXECUTE_SCHEDULED_WORKFLOW_JOB = exports.WORKFLOW_SCHEDULE_QUEUE = exports.WORKFLOW_EXECUTION_LOG = exports.SCHEDULED_WORKFLOW = void 0;
4
- exports.SCHEDULED_WORKFLOW = 'WFSC';
5
- exports.WORKFLOW_EXECUTION_LOG = 'WFEL';
6
- exports.WORKFLOW_SCHEDULE_QUEUE = 'workflow-schedule';
7
- exports.EXECUTE_SCHEDULED_WORKFLOW_JOB = 'execute-scheduled-workflow';
8
- exports.SCHEDULE_STATUS_ACTIVE = 'ACTIVE';
9
- exports.SCHEDULE_STATUS_PAUSED = 'PAUSED';
10
- exports.SCHEDULE_STATUS_INACTIVE = 'INACTIVE';
11
- exports.SCHEDULE_STATUS_EXPIRED = 'EXPIRED';
12
- exports.EXECUTION_STATUS_PENDING = 'PENDING';
13
- exports.EXECUTION_STATUS_RUNNING = 'RUNNING';
14
- exports.EXECUTION_STATUS_COMPLETED = 'COMPLETED';
15
- exports.EXECUTION_STATUS_FAILED = 'FAILED';
16
- exports.EXECUTION_STATUS_PARTIAL = 'PARTIAL';
17
- exports.WORKFLOW_TYPE_AUTOMATED = 'AUTOMATED';
18
- exports.WORKFLOW_TYPE_MANUAL = 'MANUAL';
19
- exports.WORKFLOW_TYPE_SCHEDULED = 'SCHEDULED';
20
- exports.ACTION_TYPE_SEND_EMAIL = 'SEND_EMAIL';
21
- exports.ACTION_TYPE_UPDATE_RECORDS = 'UPDATE_RECORDS';
22
- exports.ACTION_TYPE_CREATE_TASK = 'CREATE_TASK';
23
- exports.ACTION_TYPE_SEND_NOTIFICATION = 'SEND_NOTIFICATION';
24
- exports.DEFAULT_BATCH_SIZE = 100;
25
- exports.DEFAULT_MAX_RETRIES = 3;
26
- exports.DEFAULT_RETRY_DELAY = 5000;
27
- exports.DEFAULT_BACKOFF_MULTIPLIER = 2;
28
- exports.DEFAULT_TIMEZONE = 'Asia/Kolkata';
29
- exports.SECONDS_IN_MINUTE = 60;
30
- exports.MILLISECONDS_IN_SECOND = 1000;
31
- //# sourceMappingURL=schedule.constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schedule.constants.js","sourceRoot":"","sources":["../../../../src/module/workflow-schedule/constants/schedule.constants.ts"],"names":[],"mappings":";;;AAKa,QAAA,kBAAkB,GAAG,MAAM,CAAC;AAC5B,QAAA,sBAAsB,GAAG,MAAM,CAAC;AAGhC,QAAA,uBAAuB,GAAG,mBAAmB,CAAC;AAG9C,QAAA,8BAA8B,GAAG,4BAA4B,CAAC;AAG9D,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,wBAAwB,GAAG,UAAU,CAAC;AACtC,QAAA,uBAAuB,GAAG,SAAS,CAAC;AAGpC,QAAA,wBAAwB,GAAG,SAAS,CAAC;AACrC,QAAA,wBAAwB,GAAG,SAAS,CAAC;AACrC,QAAA,0BAA0B,GAAG,WAAW,CAAC;AACzC,QAAA,uBAAuB,GAAG,QAAQ,CAAC;AACnC,QAAA,wBAAwB,GAAG,SAAS,CAAC;AAGrC,QAAA,uBAAuB,GAAG,WAAW,CAAC;AACtC,QAAA,oBAAoB,GAAG,QAAQ,CAAC;AAChC,QAAA,uBAAuB,GAAG,WAAW,CAAC;AAGtC,QAAA,sBAAsB,GAAG,YAAY,CAAC;AACtC,QAAA,0BAA0B,GAAG,gBAAgB,CAAC;AAC9C,QAAA,uBAAuB,GAAG,aAAa,CAAC;AACxC,QAAA,6BAA6B,GAAG,mBAAmB,CAAC;AAGpD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAC3B,QAAA,0BAA0B,GAAG,CAAC,CAAC;AAC/B,QAAA,gBAAgB,GAAG,cAAc,CAAC;AAGlC,QAAA,iBAAiB,GAAG,EAAE,CAAC;AACvB,QAAA,sBAAsB,GAAG,IAAI,CAAC"}
@@ -1,81 +0,0 @@
1
- import { Request } from 'express';
2
- import { WorkflowScheduleService } from '../service/workflow-schedule.service';
3
- import { CreateScheduleDto } from '../dto/create-schedule.dto';
4
- import { UpdateScheduleDto } from '../dto/update-schedule.dto';
5
- import { GetExecutionLogsDto } from '../dto/get-execution-logs.dto';
6
- export declare class WorkflowScheduleController {
7
- private readonly workflowScheduleService;
8
- constructor(workflowScheduleService: WorkflowScheduleService);
9
- createSchedule(createScheduleDto: CreateScheduleDto, req: Request & {
10
- user: any;
11
- }): Promise<{
12
- success: boolean;
13
- message: string;
14
- data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
15
- }>;
16
- updateSchedule(updateScheduleDto: UpdateScheduleDto, req: Request & {
17
- user: any;
18
- }): Promise<{
19
- success: boolean;
20
- message: string;
21
- data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
22
- }>;
23
- getScheduleById(id: number, req: Request & {
24
- user: any;
25
- }): Promise<{
26
- success: boolean;
27
- data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
28
- }>;
29
- getAllSchedules(workflow_id: string | undefined, schedule_status: string | undefined, is_enabled: string | undefined, page: string | undefined, size: string | undefined, req: Request & {
30
- user: any;
31
- }): Promise<{
32
- data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow[];
33
- total: number;
34
- page: number;
35
- size: number;
36
- success: boolean;
37
- }>;
38
- pauseSchedule(id: number, req: Request & {
39
- user: any;
40
- }): Promise<{
41
- success: boolean;
42
- message: string;
43
- data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
44
- }>;
45
- resumeSchedule(id: number, req: Request & {
46
- user: any;
47
- }): Promise<{
48
- success: boolean;
49
- message: string;
50
- data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
51
- }>;
52
- deleteSchedule(id: number, req: Request & {
53
- user: any;
54
- }): Promise<{
55
- success: boolean;
56
- message: string;
57
- }>;
58
- triggerManualExecution(id: number, metadata: Record<string, any>, req: Request & {
59
- user: any;
60
- }): Promise<{
61
- success: boolean;
62
- message: string;
63
- data: {
64
- executionLogId: number;
65
- jobId: string;
66
- };
67
- }>;
68
- getExecutionLogs(getExecutionLogsDto: GetExecutionLogsDto, req: Request & {
69
- user: any;
70
- }): Promise<{
71
- data: import("../entities/workflow-execution-log.entity").WorkflowExecutionLog[];
72
- total: number;
73
- page: number;
74
- size: number;
75
- success: boolean;
76
- }>;
77
- getExecutionStats(id: number): Promise<{
78
- success: boolean;
79
- data: any;
80
- }>;
81
- }