rez_core 6.6.6 → 7.0.0

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 (1048) hide show
  1. package/.claude/settings.local.json +26 -0
  2. package/.idea/250218_nodejs_core.iml +9 -0
  3. package/.idea/codeStyles/Project.xml +59 -0
  4. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  5. package/.idea/copilot.data.migration.agent.xml +6 -0
  6. package/.idea/copilot.data.migration.ask.xml +6 -0
  7. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  8. package/.idea/copilot.data.migration.edit.xml +6 -0
  9. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  10. package/.idea/misc.xml +6 -0
  11. package/.idea/modules.xml +8 -0
  12. package/.idea/prettier.xml +6 -0
  13. package/.idea/vcs.xml +6 -0
  14. package/.prettierrc +3 -3
  15. package/README.md +99 -99
  16. package/dist/app.controller.js.map +1 -1
  17. package/dist/app.module.js +7 -3
  18. package/dist/app.module.js.map +1 -1
  19. package/dist/constant/attribute.constant.d.ts +8 -0
  20. package/dist/constant/attribute.constant.js +14 -0
  21. package/dist/constant/attribute.constant.js.map +1 -0
  22. package/dist/constant/db-data-type.constant.d.ts +33 -0
  23. package/dist/constant/db-data-type.constant.js +119 -0
  24. package/dist/constant/db-data-type.constant.js.map +1 -0
  25. package/dist/constant/entity.constant.d.ts +4 -0
  26. package/dist/constant/entity.constant.js +9 -0
  27. package/dist/constant/entity.constant.js.map +1 -0
  28. package/dist/constant/status.constant.d.ts +4 -0
  29. package/dist/constant/status.constant.js +9 -0
  30. package/dist/constant/status.constant.js.map +1 -0
  31. package/dist/core.module.js +66 -38
  32. package/dist/core.module.js.map +1 -1
  33. package/dist/module/app_master/app-master.module.d.ts +2 -0
  34. package/dist/module/app_master/app-master.module.js +28 -0
  35. package/dist/module/app_master/app-master.module.js.map +1 -0
  36. package/dist/module/{meta → app_master}/controller/app-master.controller.d.ts +1 -0
  37. package/dist/module/{meta → app_master}/controller/app-master.controller.js +20 -1
  38. package/dist/module/app_master/controller/app-master.controller.js.map +1 -0
  39. package/dist/module/app_master/entity/app-master.entity.d.ts +17 -0
  40. package/dist/module/{meta → app_master}/entity/app-master.entity.js +30 -12
  41. package/dist/module/app_master/entity/app-master.entity.js.map +1 -0
  42. package/dist/module/{meta → app_master}/repository/app-master.repository.d.ts +4 -2
  43. package/dist/module/{meta → app_master}/repository/app-master.repository.js +17 -4
  44. package/dist/module/app_master/repository/app-master.repository.js.map +1 -0
  45. package/dist/module/{meta → app_master}/service/app-master.service.d.ts +7 -3
  46. package/dist/module/{meta → app_master}/service/app-master.service.js +12 -5
  47. package/dist/module/app_master/service/app-master.service.js.map +1 -0
  48. package/dist/module/auth/auth.module.d.ts +6 -1
  49. package/dist/module/auth/auth.module.js +28 -1
  50. package/dist/module/auth/auth.module.js.map +1 -1
  51. package/dist/module/auth/guards/role.guard.js +3 -3
  52. package/dist/module/auth/strategies/jwt.strategy.d.ts +6 -2
  53. package/dist/module/auth/strategies/jwt.strategy.js +18 -4
  54. package/dist/module/auth/strategies/jwt.strategy.js.map +1 -1
  55. package/dist/module/dashboard/controller/dashboard.controller.d.ts +6 -6
  56. package/dist/module/dashboard/dashboard.module.js +1 -1
  57. package/dist/module/dashboard/dashboard.module.js.map +1 -1
  58. package/dist/module/dashboard/entity/dashboard_page_data.entity.d.ts +0 -1
  59. package/dist/module/dashboard/entity/dashboard_page_data.entity.js +1 -6
  60. package/dist/module/dashboard/entity/dashboard_page_data.entity.js.map +1 -1
  61. package/dist/module/dashboard/entity/widget_master.entity.d.ts +0 -1
  62. package/dist/module/dashboard/entity/widget_master.entity.js +1 -6
  63. package/dist/module/dashboard/entity/widget_master.entity.js.map +1 -1
  64. package/dist/module/dashboard/service/dashboard.service.d.ts +6 -6
  65. package/dist/module/dashboard/service/dashboard.service.js +1 -2
  66. package/dist/module/dashboard/service/dashboard.service.js.map +1 -1
  67. package/dist/module/eav/controller/eav.controller.d.ts +21 -0
  68. package/dist/module/eav/controller/eav.controller.js +127 -0
  69. package/dist/module/eav/controller/eav.controller.js.map +1 -0
  70. package/dist/module/eav/dto/eav-operation.dto.d.ts +20 -0
  71. package/dist/module/eav/dto/eav-operation.dto.js +75 -0
  72. package/dist/module/eav/dto/eav-operation.dto.js.map +1 -0
  73. package/dist/module/eav/eav.module.d.ts +2 -0
  74. package/dist/module/eav/eav.module.js +84 -0
  75. package/dist/module/eav/eav.module.js.map +1 -0
  76. package/dist/module/eav/entity/eav-boolean.entity.d.ts +9 -0
  77. package/dist/module/eav/entity/eav-boolean.entity.js +48 -0
  78. package/dist/module/eav/entity/eav-boolean.entity.js.map +1 -0
  79. package/dist/module/eav/entity/eav-date.entity.d.ts +9 -0
  80. package/dist/module/eav/entity/eav-date.entity.js +48 -0
  81. package/dist/module/eav/entity/eav-date.entity.js.map +1 -0
  82. package/dist/module/eav/entity/eav-decimal.entity.d.ts +9 -0
  83. package/dist/module/eav/entity/eav-decimal.entity.js +48 -0
  84. package/dist/module/eav/entity/eav-decimal.entity.js.map +1 -0
  85. package/dist/module/eav/entity/eav-int.entity.d.ts +9 -0
  86. package/dist/module/eav/entity/eav-int.entity.js +48 -0
  87. package/dist/module/eav/entity/eav-int.entity.js.map +1 -0
  88. package/dist/module/eav/entity/eav-json.entity.d.ts +9 -0
  89. package/dist/module/eav/entity/eav-json.entity.js +48 -0
  90. package/dist/module/eav/entity/eav-json.entity.js.map +1 -0
  91. package/dist/module/eav/entity/eav-text.entity.d.ts +9 -0
  92. package/dist/module/eav/entity/eav-text.entity.js +48 -0
  93. package/dist/module/eav/entity/eav-text.entity.js.map +1 -0
  94. package/dist/module/eav/entity/eav-time.entity.d.ts +9 -0
  95. package/dist/module/eav/entity/eav-time.entity.js +48 -0
  96. package/dist/module/eav/entity/eav-time.entity.js.map +1 -0
  97. package/dist/module/eav/entity/eav-timestamp.entity.d.ts +9 -0
  98. package/dist/module/eav/entity/eav-timestamp.entity.js +48 -0
  99. package/dist/module/eav/entity/eav-timestamp.entity.js.map +1 -0
  100. package/dist/module/eav/entity/eav-varchar.entity.d.ts +9 -0
  101. package/dist/module/eav/entity/eav-varchar.entity.js +48 -0
  102. package/dist/module/eav/entity/eav-varchar.entity.js.map +1 -0
  103. package/dist/module/eav/interface/eav-strategy.interface.d.ts +8 -0
  104. package/dist/module/eav/interface/eav-strategy.interface.js +3 -0
  105. package/dist/module/eav/interface/eav-strategy.interface.js.map +1 -0
  106. package/dist/module/eav/repository/eav-boolean.repository.d.ts +13 -0
  107. package/dist/module/eav/repository/eav-boolean.repository.js +57 -0
  108. package/dist/module/eav/repository/eav-boolean.repository.js.map +1 -0
  109. package/dist/module/eav/repository/eav-date.repository.d.ts +13 -0
  110. package/dist/module/eav/repository/eav-date.repository.js +57 -0
  111. package/dist/module/eav/repository/eav-date.repository.js.map +1 -0
  112. package/dist/module/eav/repository/eav-decimal.repository.d.ts +13 -0
  113. package/dist/module/eav/repository/eav-decimal.repository.js +57 -0
  114. package/dist/module/eav/repository/eav-decimal.repository.js.map +1 -0
  115. package/dist/module/eav/repository/eav-int.repository.d.ts +13 -0
  116. package/dist/module/eav/repository/eav-int.repository.js +57 -0
  117. package/dist/module/eav/repository/eav-int.repository.js.map +1 -0
  118. package/dist/module/eav/repository/eav-json.repository.d.ts +13 -0
  119. package/dist/module/eav/repository/eav-json.repository.js +57 -0
  120. package/dist/module/eav/repository/eav-json.repository.js.map +1 -0
  121. package/dist/module/eav/repository/eav-text.repository.d.ts +13 -0
  122. package/dist/module/eav/repository/eav-text.repository.js +57 -0
  123. package/dist/module/eav/repository/eav-text.repository.js.map +1 -0
  124. package/dist/module/eav/repository/eav-time.repository.d.ts +13 -0
  125. package/dist/module/eav/repository/eav-time.repository.js +57 -0
  126. package/dist/module/eav/repository/eav-time.repository.js.map +1 -0
  127. package/dist/module/eav/repository/eav-timestamp.repository.d.ts +13 -0
  128. package/dist/module/eav/repository/eav-timestamp.repository.js +57 -0
  129. package/dist/module/eav/repository/eav-timestamp.repository.js.map +1 -0
  130. package/dist/module/eav/repository/eav-varchar.repository.d.ts +13 -0
  131. package/dist/module/eav/repository/eav-varchar.repository.js +57 -0
  132. package/dist/module/eav/repository/eav-varchar.repository.js.map +1 -0
  133. package/dist/module/eav/service/eav-boolean.service.d.ts +12 -0
  134. package/dist/module/eav/service/eav-boolean.service.js +59 -0
  135. package/dist/module/eav/service/eav-boolean.service.js.map +1 -0
  136. package/dist/module/eav/service/eav-date.service.d.ts +12 -0
  137. package/dist/module/eav/service/eav-date.service.js +59 -0
  138. package/dist/module/eav/service/eav-date.service.js.map +1 -0
  139. package/dist/module/eav/service/eav-decimal.service.d.ts +12 -0
  140. package/dist/module/eav/service/eav-decimal.service.js +59 -0
  141. package/dist/module/eav/service/eav-decimal.service.js.map +1 -0
  142. package/dist/module/eav/service/eav-factory.service.d.ts +26 -0
  143. package/dist/module/eav/service/eav-factory.service.js +81 -0
  144. package/dist/module/eav/service/eav-factory.service.js.map +1 -0
  145. package/dist/module/eav/service/eav-int.service.d.ts +12 -0
  146. package/dist/module/eav/service/eav-int.service.js +59 -0
  147. package/dist/module/eav/service/eav-int.service.js.map +1 -0
  148. package/dist/module/eav/service/eav-json.service.d.ts +12 -0
  149. package/dist/module/eav/service/eav-json.service.js +59 -0
  150. package/dist/module/eav/service/eav-json.service.js.map +1 -0
  151. package/dist/module/eav/service/eav-text.service.d.ts +12 -0
  152. package/dist/module/eav/service/eav-text.service.js +59 -0
  153. package/dist/module/eav/service/eav-text.service.js.map +1 -0
  154. package/dist/module/eav/service/eav-time.service.d.ts +12 -0
  155. package/dist/module/eav/service/eav-time.service.js +59 -0
  156. package/dist/module/eav/service/eav-time.service.js.map +1 -0
  157. package/dist/module/eav/service/eav-timestamp.service.d.ts +12 -0
  158. package/dist/module/eav/service/eav-timestamp.service.js +59 -0
  159. package/dist/module/eav/service/eav-timestamp.service.js.map +1 -0
  160. package/dist/module/eav/service/eav-varchar.service.d.ts +12 -0
  161. package/dist/module/eav/service/eav-varchar.service.js +59 -0
  162. package/dist/module/eav/service/eav-varchar.service.js.map +1 -0
  163. package/dist/module/eav/service/eav.service.d.ts +14 -0
  164. package/dist/module/eav/service/eav.service.js +65 -0
  165. package/dist/module/eav/service/eav.service.js.map +1 -0
  166. package/dist/module/enterprise/controller/enterprise.controller.d.ts +12 -0
  167. package/dist/module/enterprise/controller/enterprise.controller.js +57 -0
  168. package/dist/module/enterprise/controller/enterprise.controller.js.map +1 -0
  169. package/dist/module/enterprise/controller/meta.controller.d.ts +9 -0
  170. package/dist/module/enterprise/controller/meta.controller.js +43 -0
  171. package/dist/module/enterprise/controller/meta.controller.js.map +1 -0
  172. package/dist/module/enterprise/controller/organization.controller.d.ts +12 -4
  173. package/dist/module/enterprise/controller/organization.controller.js +68 -8
  174. package/dist/module/enterprise/controller/organization.controller.js.map +1 -1
  175. package/dist/module/enterprise/enterprise.module.js +10 -15
  176. package/dist/module/enterprise/enterprise.module.js.map +1 -1
  177. package/dist/module/enterprise/entity/enterprise.entity.d.ts +1 -3
  178. package/dist/module/enterprise/entity/enterprise.entity.js +4 -12
  179. package/dist/module/enterprise/entity/enterprise.entity.js.map +1 -1
  180. package/dist/module/enterprise/entity/organization-app-mapping.entity.d.ts +6 -1
  181. package/dist/module/enterprise/entity/organization-app-mapping.entity.js +21 -4
  182. package/dist/module/enterprise/entity/organization-app-mapping.entity.js.map +1 -1
  183. package/dist/module/enterprise/entity/organization.entity.d.ts +3 -17
  184. package/dist/module/enterprise/entity/organization.entity.js +11 -73
  185. package/dist/module/enterprise/entity/organization.entity.js.map +1 -1
  186. package/dist/module/enterprise/repository/enterprise.repository.d.ts +4 -2
  187. package/dist/module/enterprise/repository/enterprise.repository.js +19 -4
  188. package/dist/module/enterprise/repository/enterprise.repository.js.map +1 -1
  189. package/dist/module/enterprise/repository/school.repository.js +8 -8
  190. package/dist/module/enterprise/repository/school.repository.js.map +1 -1
  191. package/dist/module/enterprise/service/brand-profile.service.d.ts +0 -0
  192. package/dist/module/enterprise/service/brand-profile.service.js +1 -0
  193. package/dist/module/enterprise/service/brand-profile.service.js.map +1 -0
  194. package/dist/module/enterprise/service/brand.service.d.ts +0 -3
  195. package/dist/module/enterprise/service/brand.service.js +0 -17
  196. package/dist/module/enterprise/service/brand.service.js.map +1 -1
  197. package/dist/module/enterprise/service/enterprise.service.d.ts +2 -2
  198. package/dist/module/enterprise/service/enterprise.service.js +6 -4
  199. package/dist/module/enterprise/service/enterprise.service.js.map +1 -1
  200. package/dist/module/enterprise/service/organization.service.d.ts +13 -5
  201. package/dist/module/enterprise/service/organization.service.js +177 -29
  202. package/dist/module/enterprise/service/organization.service.js.map +1 -1
  203. package/dist/module/enterprise/service/populate-meta.service.d.ts +9 -0
  204. package/dist/module/{meta → enterprise}/service/populate-meta.service.js +24 -43
  205. package/dist/module/enterprise/service/populate-meta.service.js.map +1 -0
  206. package/dist/module/enterprise/service/school.service.d.ts +0 -0
  207. package/dist/module/enterprise/service/school.service.js +1 -0
  208. package/dist/module/enterprise/service/school.service.js.map +1 -0
  209. package/dist/module/entity_json/controller/entity_json.controller.d.ts +2 -5
  210. package/dist/module/entity_json/controller/entity_json.controller.js +7 -21
  211. package/dist/module/entity_json/controller/entity_json.controller.js.map +1 -1
  212. package/dist/module/entity_json/service/entity_json.service.d.ts +10 -2
  213. package/dist/module/entity_json/service/entity_json.service.js +102 -95
  214. package/dist/module/entity_json/service/entity_json.service.js.map +1 -1
  215. package/dist/module/export/service/export.service.js +5 -0
  216. package/dist/module/export/service/export.service.js.map +1 -1
  217. package/dist/module/filter/controller/filter.controller.d.ts +1 -12
  218. package/dist/module/filter/controller/filter.controller.js +3 -2
  219. package/dist/module/filter/controller/filter.controller.js.map +1 -1
  220. package/dist/module/filter/dto/filter-request.dto.d.ts +1 -0
  221. package/dist/module/filter/entity/saved-filter-detail.entity.d.ts +0 -1
  222. package/dist/module/filter/entity/saved-filter-detail.entity.js +1 -7
  223. package/dist/module/filter/entity/saved-filter-detail.entity.js.map +1 -1
  224. package/dist/module/filter/entity/saved-filter-master.entity.d.ts +0 -1
  225. package/dist/module/filter/entity/saved-filter-master.entity.js +1 -7
  226. package/dist/module/filter/entity/saved-filter-master.entity.js.map +1 -1
  227. package/dist/module/filter/filter.module.js +2 -11
  228. package/dist/module/filter/filter.module.js.map +1 -1
  229. package/dist/module/filter/repository/saved-filter.repository.js +2 -4
  230. package/dist/module/filter/repository/saved-filter.repository.js.map +1 -1
  231. package/dist/module/filter/service/filter.service.d.ts +5 -38
  232. package/dist/module/filter/service/filter.service.js +134 -88
  233. package/dist/module/filter/service/filter.service.js.map +1 -1
  234. package/dist/module/filter/service/saved-filter.service.d.ts +2 -3
  235. package/dist/module/filter/service/saved-filter.service.js +18 -15
  236. package/dist/module/filter/service/saved-filter.service.js.map +1 -1
  237. package/dist/module/integration/examples/usage.example.js +9 -9
  238. package/dist/module/integration/service/integration.service.d.ts +1 -6
  239. package/dist/module/integration/service/integration.service.js +4 -18
  240. package/dist/module/integration/service/integration.service.js.map +1 -1
  241. package/dist/module/integration/service/oauth.service.js +0 -2
  242. package/dist/module/integration/service/oauth.service.js.map +1 -1
  243. package/dist/module/integration/service/wrapper.service.js +0 -1
  244. package/dist/module/integration/service/wrapper.service.js.map +1 -1
  245. package/dist/module/integration/strategies/email/gmail-api.strategy.js +7 -23
  246. package/dist/module/integration/strategies/email/gmail-api.strategy.js.map +1 -1
  247. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js +5 -8
  248. package/dist/module/integration/strategies/email/sendgrid-api.strategy.js.map +1 -1
  249. package/dist/module/layout/controller/layout.controller.d.ts +1 -3
  250. package/dist/module/layout/controller/layout.controller.js +3 -7
  251. package/dist/module/layout/controller/layout.controller.js.map +1 -1
  252. package/dist/module/layout/entity/header-items.entity.js +1 -1
  253. package/dist/module/layout/entity/header-section.entity.d.ts +0 -2
  254. package/dist/module/layout/entity/header-section.entity.js +1 -9
  255. package/dist/module/layout/entity/header-section.entity.js.map +1 -1
  256. package/dist/module/layout/layout.module.js +1 -2
  257. package/dist/module/layout/layout.module.js.map +1 -1
  258. package/dist/module/layout/repository/header-section.repository.d.ts +0 -1
  259. package/dist/module/layout/repository/header-section.repository.js +0 -5
  260. package/dist/module/layout/repository/header-section.repository.js.map +1 -1
  261. package/dist/module/layout/service/header-section.service.d.ts +1 -1
  262. package/dist/module/layout/service/header-section.service.js +1 -1
  263. package/dist/module/layout/service/header-section.service.js.map +1 -1
  264. package/dist/module/linked_attributes/controller/linked_attributes.controller.d.ts +1 -0
  265. package/dist/module/linked_attributes/service/linked_attributes.service.d.ts +2 -2
  266. package/dist/module/linked_attributes/service/linked_attributes.service.js +3 -4
  267. package/dist/module/linked_attributes/service/linked_attributes.service.js.map +1 -1
  268. package/dist/module/listmaster/controller/list-master.controller.d.ts +0 -1
  269. package/dist/module/listmaster/controller/list-master.controller.js +0 -19
  270. package/dist/module/listmaster/controller/list-master.controller.js.map +1 -1
  271. package/dist/module/listmaster/entity/list-master-items.entity.d.ts +0 -4
  272. package/dist/module/listmaster/entity/list-master-items.entity.js +2 -20
  273. package/dist/module/listmaster/entity/list-master-items.entity.js.map +1 -1
  274. package/dist/module/listmaster/entity/list-master.entity.d.ts +1 -4
  275. package/dist/module/listmaster/entity/list-master.entity.js +5 -19
  276. package/dist/module/listmaster/entity/list-master.entity.js.map +1 -1
  277. package/dist/module/listmaster/repository/list-master-items.repository.d.ts +2 -2
  278. package/dist/module/listmaster/repository/list-master-items.repository.js +68 -25
  279. package/dist/module/listmaster/repository/list-master-items.repository.js.map +1 -1
  280. package/dist/module/listmaster/service/list-master-item.service.js +129 -48
  281. package/dist/module/listmaster/service/list-master-item.service.js.map +1 -1
  282. package/dist/module/listmaster/service/list-master.service.d.ts +16 -12
  283. package/dist/module/listmaster/service/list-master.service.js +228 -135
  284. package/dist/module/listmaster/service/list-master.service.js.map +1 -1
  285. package/dist/module/mapper/entity/field-lovs.entity.d.ts +0 -1
  286. package/dist/module/mapper/entity/field-lovs.entity.js +1 -6
  287. package/dist/module/mapper/entity/field-lovs.entity.js.map +1 -1
  288. package/dist/module/mapper/entity/field-mapper.entity.d.ts +0 -1
  289. package/dist/module/mapper/entity/field-mapper.entity.js +1 -6
  290. package/dist/module/mapper/entity/field-mapper.entity.js.map +1 -1
  291. package/dist/module/mapper/entity/mapper.entity.d.ts +0 -2
  292. package/dist/module/mapper/entity/mapper.entity.js +1 -10
  293. package/dist/module/mapper/entity/mapper.entity.js.map +1 -1
  294. package/dist/module/mapper/service/field-mapper.service.js +0 -1
  295. package/dist/module/mapper/service/field-mapper.service.js.map +1 -1
  296. package/dist/module/master/controller/master.controller.d.ts +1 -3
  297. package/dist/module/master/controller/master.controller.js +4 -6
  298. package/dist/module/master/controller/master.controller.js.map +1 -1
  299. package/dist/module/master/service/master.service.d.ts +1 -1
  300. package/dist/module/master/service/master.service.js +30 -44
  301. package/dist/module/master/service/master.service.js.map +1 -1
  302. package/dist/module/meta/controller/attribute-master.controller.d.ts +3 -8
  303. package/dist/module/meta/controller/attribute-master.controller.js +5 -19
  304. package/dist/module/meta/controller/attribute-master.controller.js.map +1 -1
  305. package/dist/module/meta/controller/entity-dynamic.controller.js +6 -3
  306. package/dist/module/meta/controller/entity-dynamic.controller.js.map +1 -1
  307. package/dist/module/meta/controller/entity-master.controller.js +1 -0
  308. package/dist/module/meta/controller/entity-master.controller.js.map +1 -1
  309. package/dist/module/meta/controller/entity.controller.js +3 -3
  310. package/dist/module/meta/controller/entity.controller.js.map +1 -1
  311. package/dist/module/meta/controller/entity.public.controller.js +1 -0
  312. package/dist/module/meta/controller/entity.public.controller.js.map +1 -1
  313. package/dist/module/meta/controller/media.controller.d.ts +0 -6
  314. package/dist/module/meta/controller/media.controller.js +0 -27
  315. package/dist/module/meta/controller/media.controller.js.map +1 -1
  316. package/dist/module/meta/controller/meta.controller.d.ts +1 -6
  317. package/dist/module/meta/controller/meta.controller.js +2 -19
  318. package/dist/module/meta/controller/meta.controller.js.map +1 -1
  319. package/dist/module/meta/entity/attribute-master.entity.d.ts +12 -14
  320. package/dist/module/meta/entity/attribute-master.entity.js +41 -77
  321. package/dist/module/meta/entity/attribute-master.entity.js.map +1 -1
  322. package/dist/module/meta/entity/base-entity.entity.d.ts +6 -7
  323. package/dist/module/meta/entity/base-entity.entity.js +24 -47
  324. package/dist/module/meta/entity/base-entity.entity.js.map +1 -1
  325. package/dist/module/meta/entity/dynamic.entity.d.ts +3 -0
  326. package/dist/module/meta/entity/dynamic.entity.js +18 -0
  327. package/dist/module/meta/entity/dynamic.entity.js.map +1 -0
  328. package/dist/module/meta/entity/entity-master.entity.d.ts +6 -9
  329. package/dist/module/meta/entity/entity-master.entity.js +21 -66
  330. package/dist/module/meta/entity/entity-master.entity.js.map +1 -1
  331. package/dist/module/meta/entity/entity-relation-data.entity.d.ts +0 -1
  332. package/dist/module/meta/entity/entity-relation-data.entity.js +1 -7
  333. package/dist/module/meta/entity/entity-relation-data.entity.js.map +1 -1
  334. package/dist/module/meta/entity/entity-relation.entity.d.ts +0 -1
  335. package/dist/module/meta/entity/entity-relation.entity.js +1 -7
  336. package/dist/module/meta/entity/entity-relation.entity.js.map +1 -1
  337. package/dist/module/meta/entity/entity-table-column.entity.d.ts +0 -1
  338. package/dist/module/meta/entity/entity-table-column.entity.js +1 -7
  339. package/dist/module/meta/entity/entity-table-column.entity.js.map +1 -1
  340. package/dist/module/meta/entity/entity-table.entity.d.ts +0 -1
  341. package/dist/module/meta/entity/entity-table.entity.js +1 -7
  342. package/dist/module/meta/entity/entity-table.entity.js.map +1 -1
  343. package/dist/module/meta/entity/media-data.entity.d.ts +0 -2
  344. package/dist/module/meta/entity/media-data.entity.js +0 -8
  345. package/dist/module/meta/entity/media-data.entity.js.map +1 -1
  346. package/dist/module/meta/entity/preference.entity.d.ts +0 -1
  347. package/dist/module/meta/entity/preference.entity.js +1 -7
  348. package/dist/module/meta/entity/preference.entity.js.map +1 -1
  349. package/dist/module/meta/entity/view-master.entity.d.ts +0 -1
  350. package/dist/module/meta/entity/view-master.entity.js +1 -7
  351. package/dist/module/meta/entity/view-master.entity.js.map +1 -1
  352. package/dist/module/meta/entity.module.js +11 -19
  353. package/dist/module/meta/entity.module.js.map +1 -1
  354. package/dist/module/meta/repository/attribute-master.repository.d.ts +8 -2
  355. package/dist/module/meta/repository/attribute-master.repository.js +41 -15
  356. package/dist/module/meta/repository/attribute-master.repository.js.map +1 -1
  357. package/dist/module/meta/repository/entity-master.repository.js +1 -1
  358. package/dist/module/meta/repository/entity-master.repository.js.map +1 -1
  359. package/dist/module/meta/repository/entity-relation.repository.d.ts +1 -0
  360. package/dist/module/meta/repository/entity-relation.repository.js +10 -0
  361. package/dist/module/meta/repository/entity-relation.repository.js.map +1 -1
  362. package/dist/module/meta/service/attribute-master.service.d.ts +6 -6
  363. package/dist/module/meta/service/attribute-master.service.js +74 -49
  364. package/dist/module/meta/service/attribute-master.service.js.map +1 -1
  365. package/dist/module/meta/service/entity-dynamic.service.d.ts +12 -13
  366. package/dist/module/meta/service/entity-dynamic.service.js +215 -80
  367. package/dist/module/meta/service/entity-dynamic.service.js.map +1 -1
  368. package/dist/module/meta/service/entity-master.service.d.ts +10 -1
  369. package/dist/module/meta/service/entity-master.service.js +80 -3
  370. package/dist/module/meta/service/entity-master.service.js.map +1 -1
  371. package/dist/module/meta/service/entity-relation.service.d.ts +6 -5
  372. package/dist/module/meta/service/entity-relation.service.js +7 -10
  373. package/dist/module/meta/service/entity-relation.service.js.map +1 -1
  374. package/dist/module/meta/service/entity-service-impl.service.d.ts +3 -3
  375. package/dist/module/meta/service/entity-service-impl.service.js +14 -18
  376. package/dist/module/meta/service/entity-service-impl.service.js.map +1 -1
  377. package/dist/module/meta/service/entity-table.service.d.ts +4 -5
  378. package/dist/module/meta/service/entity-table.service.js +24 -45
  379. package/dist/module/meta/service/entity-table.service.js.map +1 -1
  380. package/dist/module/meta/service/entity-validation.service.d.ts +1 -3
  381. package/dist/module/meta/service/entity-validation.service.js +5 -34
  382. package/dist/module/meta/service/entity-validation.service.js.map +1 -1
  383. package/dist/module/meta/service/entity.service.d.ts +1 -1
  384. package/dist/module/meta/service/media-data.service.d.ts +0 -4
  385. package/dist/module/meta/service/media-data.service.js +0 -129
  386. package/dist/module/meta/service/media-data.service.js.map +1 -1
  387. package/dist/module/meta/service/resolver.service.d.ts +1 -1
  388. package/dist/module/meta/service/resolver.service.js +55 -95
  389. package/dist/module/meta/service/resolver.service.js.map +1 -1
  390. package/dist/module/module/controller/menu.controller.d.ts +6 -1
  391. package/dist/module/module/controller/menu.controller.js +20 -2
  392. package/dist/module/module/controller/menu.controller.js.map +1 -1
  393. package/dist/module/module/controller/module-access.controller.d.ts +3 -4
  394. package/dist/module/module/controller/module-access.controller.js +13 -8
  395. package/dist/module/module/controller/module-access.controller.js.map +1 -1
  396. package/dist/module/module/entity/menu.entity.d.ts +6 -3
  397. package/dist/module/module/entity/menu.entity.js +19 -10
  398. package/dist/module/module/entity/menu.entity.js.map +1 -1
  399. package/dist/module/module/entity/module-access.entity.d.ts +15 -1
  400. package/dist/module/module/entity/module-access.entity.js +49 -3
  401. package/dist/module/module/entity/module-access.entity.js.map +1 -1
  402. package/dist/module/module/entity/module-action.entity.d.ts +4 -2
  403. package/dist/module/module/entity/module-action.entity.js +11 -6
  404. package/dist/module/module/entity/module-action.entity.js.map +1 -1
  405. package/dist/module/module/entity/module.entity.d.ts +3 -5
  406. package/dist/module/module/entity/module.entity.js +8 -18
  407. package/dist/module/module/entity/module.entity.js.map +1 -1
  408. package/dist/module/module/module.module.d.ts +1 -1
  409. package/dist/module/module/module.module.js +7 -7
  410. package/dist/module/module/module.module.js.map +1 -1
  411. package/dist/module/module/repository/menu.repository.d.ts +3 -3
  412. package/dist/module/module/repository/menu.repository.js +40 -29
  413. package/dist/module/module/repository/menu.repository.js.map +1 -1
  414. package/dist/module/module/repository/module-access.repository.d.ts +6 -6
  415. package/dist/module/module/repository/module-access.repository.js +100 -50
  416. package/dist/module/module/repository/module-access.repository.js.map +1 -1
  417. package/dist/module/module/service/menu.service.d.ts +2 -4
  418. package/dist/module/module/service/menu.service.js +7 -10
  419. package/dist/module/module/service/menu.service.js.map +1 -1
  420. package/dist/module/module/service/module-access.service.d.ts +7 -10
  421. package/dist/module/module/service/module-access.service.js +22 -24
  422. package/dist/module/module/service/module-access.service.js.map +1 -1
  423. package/dist/module/module/service/module-import.service.d.ts +18 -0
  424. package/dist/module/module/service/module-import.service.js +203 -0
  425. package/dist/module/module/service/module-import.service.js.map +1 -0
  426. package/dist/module/notification/entity/notification.entity.d.ts +17 -2
  427. package/dist/module/notification/entity/notification.entity.js +68 -2
  428. package/dist/module/notification/entity/notification.entity.js.map +1 -1
  429. package/dist/module/notification/notification.module.js +3 -6
  430. package/dist/module/notification/notification.module.js.map +1 -1
  431. package/dist/module/notification/service/email.service.d.ts +1 -0
  432. package/dist/module/notification/service/email.service.js +14 -0
  433. package/dist/module/notification/service/email.service.js.map +1 -1
  434. package/dist/module/notification/service/notification.service.d.ts +1 -5
  435. package/dist/module/notification/service/notification.service.js +41 -31
  436. package/dist/module/notification/service/notification.service.js.map +1 -1
  437. package/dist/module/notification/service/otp.service.d.ts +2 -2
  438. package/dist/module/notification/service/otp.service.js +4 -5
  439. package/dist/module/notification/service/otp.service.js.map +1 -1
  440. package/dist/module/preference_master/entity/preference.entity.d.ts +9 -0
  441. package/dist/module/preference_master/entity/preference.entity.js +48 -0
  442. package/dist/module/preference_master/entity/preference.entity.js.map +1 -0
  443. package/dist/module/preference_master/preference.service.d.ts +8 -0
  444. package/dist/module/preference_master/preference.service.js +31 -0
  445. package/dist/module/preference_master/preference.service.js.map +1 -0
  446. package/dist/module/preference_master/repo/preference.repository.d.ts +8 -0
  447. package/dist/module/preference_master/repo/preference.repository.js +48 -0
  448. package/dist/module/preference_master/repo/preference.repository.js.map +1 -0
  449. package/dist/module/user/controller/login.controller.d.ts +1 -3
  450. package/dist/module/user/controller/login.controller.js +20 -24
  451. package/dist/module/user/controller/login.controller.js.map +1 -1
  452. package/dist/module/user/controller/user.controller.d.ts +0 -2
  453. package/dist/module/user/controller/user.controller.js +0 -13
  454. package/dist/module/user/controller/user.controller.js.map +1 -1
  455. package/dist/module/user/dto/create-user.dto.d.ts +6 -3
  456. package/dist/module/user/dto/create-user.dto.js +17 -11
  457. package/dist/module/user/dto/create-user.dto.js.map +1 -1
  458. package/dist/module/user/entity/role.entity.d.ts +18 -6
  459. package/dist/module/user/entity/role.entity.js +64 -19
  460. package/dist/module/user/entity/role.entity.js.map +1 -1
  461. package/dist/module/user/entity/user-role-mapping.entity.d.ts +10 -0
  462. package/dist/module/user/entity/user-role-mapping.entity.js +33 -1
  463. package/dist/module/user/entity/user-role-mapping.entity.js.map +1 -1
  464. package/dist/module/user/entity/user-session.entity.d.ts +0 -2
  465. package/dist/module/user/entity/user-session.entity.js +2 -20
  466. package/dist/module/user/entity/user-session.entity.js.map +1 -1
  467. package/dist/module/user/entity/user.entity.d.ts +17 -5
  468. package/dist/module/user/entity/user.entity.js +61 -15
  469. package/dist/module/user/entity/user.entity.js.map +1 -1
  470. package/dist/module/user/repository/role.repository.d.ts +7 -2
  471. package/dist/module/user/repository/role.repository.js +23 -8
  472. package/dist/module/user/repository/role.repository.js.map +1 -1
  473. package/dist/module/user/repository/user-role-mapping.repository.d.ts +1 -0
  474. package/dist/module/user/repository/user-role-mapping.repository.js +3 -0
  475. package/dist/module/user/repository/user-role-mapping.repository.js.map +1 -1
  476. package/dist/module/user/repository/user.repository.d.ts +5 -2
  477. package/dist/module/user/repository/user.repository.js +26 -7
  478. package/dist/module/user/repository/user.repository.js.map +1 -1
  479. package/dist/module/user/repository/userSession.repository.d.ts +1 -0
  480. package/dist/module/user/repository/userSession.repository.js +3 -0
  481. package/dist/module/user/repository/userSession.repository.js.map +1 -1
  482. package/dist/module/user/service/login.service.d.ts +3 -5
  483. package/dist/module/user/service/login.service.js +43 -42
  484. package/dist/module/user/service/login.service.js.map +1 -1
  485. package/dist/module/user/service/role.service.d.ts +24 -11
  486. package/dist/module/user/service/role.service.js +54 -41
  487. package/dist/module/user/service/role.service.js.map +1 -1
  488. package/dist/module/user/service/user-role-mapping.service.d.ts +5 -0
  489. package/dist/module/user/service/user-role-mapping.service.js +9 -0
  490. package/dist/module/user/service/user-role-mapping.service.js.map +1 -1
  491. package/dist/module/user/service/user-session.service.d.ts +3 -4
  492. package/dist/module/user/service/user-session.service.js +10 -12
  493. package/dist/module/user/service/user-session.service.js.map +1 -1
  494. package/dist/module/user/service/user.service.d.ts +33 -22
  495. package/dist/module/user/service/user.service.js +66 -58
  496. package/dist/module/user/service/user.service.js.map +1 -1
  497. package/dist/module/user/user.module.js +2 -7
  498. package/dist/module/user/user.module.js.map +1 -1
  499. package/dist/module/workflow/controller/activity-log.controller.d.ts +5 -6
  500. package/dist/module/workflow/entity/action-category.entity.d.ts +0 -1
  501. package/dist/module/workflow/entity/action-category.entity.js +1 -7
  502. package/dist/module/workflow/entity/action-category.entity.js.map +1 -1
  503. package/dist/module/workflow/entity/action-data.entity.d.ts +0 -1
  504. package/dist/module/workflow/entity/action-data.entity.js +1 -6
  505. package/dist/module/workflow/entity/action-data.entity.js.map +1 -1
  506. package/dist/module/workflow/entity/action-resources-mapping.entity.d.ts +0 -1
  507. package/dist/module/workflow/entity/action-resources-mapping.entity.js +1 -7
  508. package/dist/module/workflow/entity/action-resources-mapping.entity.js.map +1 -1
  509. package/dist/module/workflow/entity/action-template-mapping.entity.d.ts +0 -1
  510. package/dist/module/workflow/entity/action-template-mapping.entity.js +1 -7
  511. package/dist/module/workflow/entity/action-template-mapping.entity.js.map +1 -1
  512. package/dist/module/workflow/entity/action.entity.d.ts +0 -1
  513. package/dist/module/workflow/entity/action.entity.js +1 -7
  514. package/dist/module/workflow/entity/action.entity.js.map +1 -1
  515. package/dist/module/workflow/entity/activity-log.entity.d.ts +0 -1
  516. package/dist/module/workflow/entity/activity-log.entity.js +1 -6
  517. package/dist/module/workflow/entity/activity-log.entity.js.map +1 -1
  518. package/dist/module/workflow/entity/comm-template.entity.d.ts +0 -1
  519. package/dist/module/workflow/entity/comm-template.entity.js +1 -7
  520. package/dist/module/workflow/entity/comm-template.entity.js.map +1 -1
  521. package/dist/module/workflow/entity/entity-modification.entity.d.ts +0 -1
  522. package/dist/module/workflow/entity/entity-modification.entity.js +1 -7
  523. package/dist/module/workflow/entity/entity-modification.entity.js.map +1 -1
  524. package/dist/module/workflow/entity/form.entity.d.ts +0 -1
  525. package/dist/module/workflow/entity/form.entity.js +1 -6
  526. package/dist/module/workflow/entity/form.entity.js.map +1 -1
  527. package/dist/module/workflow/entity/stage-action-mapping.entity.d.ts +0 -1
  528. package/dist/module/workflow/entity/stage-action-mapping.entity.js +1 -7
  529. package/dist/module/workflow/entity/stage-action-mapping.entity.js.map +1 -1
  530. package/dist/module/workflow/entity/stage-group.entity.d.ts +0 -1
  531. package/dist/module/workflow/entity/stage-group.entity.js +1 -7
  532. package/dist/module/workflow/entity/stage-group.entity.js.map +1 -1
  533. package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +0 -1
  534. package/dist/module/workflow/entity/stage-movement-data.entity.js +1 -7
  535. package/dist/module/workflow/entity/stage-movement-data.entity.js.map +1 -1
  536. package/dist/module/workflow/entity/stage.entity.d.ts +0 -1
  537. package/dist/module/workflow/entity/stage.entity.js +1 -7
  538. package/dist/module/workflow/entity/stage.entity.js.map +1 -1
  539. package/dist/module/workflow/entity/task-data.entity.d.ts +0 -1
  540. package/dist/module/workflow/entity/task-data.entity.js +1 -6
  541. package/dist/module/workflow/entity/task-data.entity.js.map +1 -1
  542. package/dist/module/workflow/entity/workflow-data.entity.d.ts +0 -1
  543. package/dist/module/workflow/entity/workflow-data.entity.js +1 -10
  544. package/dist/module/workflow/entity/workflow-data.entity.js.map +1 -1
  545. package/dist/module/workflow/entity/workflow.entity.d.ts +0 -1
  546. package/dist/module/workflow/entity/workflow.entity.js +1 -7
  547. package/dist/module/workflow/entity/workflow.entity.js.map +1 -1
  548. package/dist/module/workflow/repository/action-data.repository.d.ts +1 -1
  549. package/dist/module/workflow/repository/action-data.repository.js +9 -17
  550. package/dist/module/workflow/repository/action-data.repository.js.map +1 -1
  551. package/dist/module/workflow/repository/action.repository.d.ts +1 -1
  552. package/dist/module/workflow/repository/action.repository.js +12 -12
  553. package/dist/module/workflow/repository/action.repository.js.map +1 -1
  554. package/dist/module/workflow/repository/activity-log.repository.d.ts +5 -6
  555. package/dist/module/workflow/repository/comm-template.repository.js +2 -2
  556. package/dist/module/workflow/repository/comm-template.repository.js.map +1 -1
  557. package/dist/module/workflow/repository/form-master.repository.d.ts +1 -1
  558. package/dist/module/workflow/repository/form-master.repository.js +2 -2
  559. package/dist/module/workflow/repository/form-master.repository.js.map +1 -1
  560. package/dist/module/workflow/repository/stage-group.repository.d.ts +6 -6
  561. package/dist/module/workflow/repository/stage.repository.d.ts +5 -6
  562. package/dist/module/workflow/repository/stage.repository.js +8 -8
  563. package/dist/module/workflow/repository/task.repository.js +5 -5
  564. package/dist/module/workflow/repository/task.repository.js.map +1 -1
  565. package/dist/module/workflow/repository/workflow.repository.js +1 -1
  566. package/dist/module/workflow/repository/workflow.repository.js.map +1 -1
  567. package/dist/module/workflow/service/action-data.service.js +1 -2
  568. package/dist/module/workflow/service/action-data.service.js.map +1 -1
  569. package/dist/module/workflow/service/action-template-mapping.service.js +2 -2
  570. package/dist/module/workflow/service/action.service.js +15 -17
  571. package/dist/module/workflow/service/action.service.js.map +1 -1
  572. package/dist/module/workflow/service/activity-log.service.d.ts +5 -6
  573. package/dist/module/workflow/service/comm-template.service.js +0 -2
  574. package/dist/module/workflow/service/comm-template.service.js.map +1 -1
  575. package/dist/module/workflow/service/entity-modification.service.js +2 -3
  576. package/dist/module/workflow/service/entity-modification.service.js.map +1 -1
  577. package/dist/module/workflow/service/form-master.service.js +2 -2
  578. package/dist/module/workflow/service/form-master.service.js.map +1 -1
  579. package/dist/module/workflow/service/populate-workflow.service.d.ts +1 -1
  580. package/dist/module/workflow/service/populate-workflow.service.js +1 -6
  581. package/dist/module/workflow/service/populate-workflow.service.js.map +1 -1
  582. package/dist/module/workflow/service/task.service.js +10 -13
  583. package/dist/module/workflow/service/task.service.js.map +1 -1
  584. package/dist/module/workflow/service/workflow-meta.service.js +2 -7
  585. package/dist/module/workflow/service/workflow-meta.service.js.map +1 -1
  586. package/dist/module/workflow/service/workflow.service.js +2 -2
  587. package/dist/module/workflow/service/workflow.service.js.map +1 -1
  588. package/dist/module/workflow/workflow.module.js +2 -0
  589. package/dist/module/workflow/workflow.module.js.map +1 -1
  590. package/dist/module/workflow-automation/entity/workflow-automation.entity.d.ts +1 -3
  591. package/dist/module/workflow-automation/entity/workflow-automation.entity.js +1 -9
  592. package/dist/module/workflow-automation/entity/workflow-automation.entity.js.map +1 -1
  593. package/dist/module/workflow-automation/service/schedule-handler.service.js +11 -12
  594. package/dist/module/workflow-automation/service/schedule-handler.service.js.map +1 -1
  595. package/dist/module/workflow-automation/service/workflow-automation.service.d.ts +7 -9
  596. package/dist/module/workflow-automation/service/workflow-automation.service.js +18 -15
  597. package/dist/module/workflow-automation/service/workflow-automation.service.js.map +1 -1
  598. package/dist/module/workflow-automation/workflow-automation.module.js +3 -1
  599. package/dist/module/workflow-automation/workflow-automation.module.js.map +1 -1
  600. package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.d.ts +1 -2
  601. package/dist/module/workflow-schedule/processors/schedule.processor.js +5 -9
  602. package/dist/module/workflow-schedule/processors/schedule.processor.js.map +1 -1
  603. package/dist/module/workflow-schedule/service/workflow-schedule.service.js +4 -13
  604. package/dist/module/workflow-schedule/service/workflow-schedule.service.js.map +1 -1
  605. package/dist/table.config.d.ts +4 -12
  606. package/dist/table.config.js +21 -3
  607. package/dist/table.config.js.map +1 -1
  608. package/dist/tsconfig.build.tsbuildinfo +1 -1
  609. package/dist/utils/service/reflection-helper.service.js +2 -2
  610. package/docs/modules/event-driven-integration-design.md +91 -91
  611. package/docs/modules/integration.md +250 -250
  612. package/eslint.config.mjs +34 -34
  613. package/nest-cli.json +14 -14
  614. package/package.json +128 -125
  615. package/server.log +850 -0
  616. package/src/app.controller.ts +12 -13
  617. package/src/app.module.ts +72 -68
  618. package/src/app.service.ts +8 -8
  619. package/src/config/bull.config.ts +69 -69
  620. package/src/config/config.module.ts +17 -17
  621. package/src/config/database.config.ts +48 -48
  622. package/src/constant/attribute.constant.ts +9 -0
  623. package/src/constant/db-data-type.constant.ts +160 -0
  624. package/src/constant/entity.constant.ts +4 -0
  625. package/src/constant/global.constant.ts +67 -67
  626. package/src/constant/status.constant.ts +4 -0
  627. package/src/core.module.ts +111 -94
  628. package/src/decorators/roles.decorator.ts +7 -7
  629. package/src/dtos/response.dto.ts +6 -6
  630. package/src/dtos/response.ts +5 -5
  631. package/src/index.ts +1 -1
  632. package/src/module/app_master/app-master.module.ts +15 -0
  633. package/src/module/{meta → app_master}/controller/app-master.controller.ts +56 -38
  634. package/src/module/{meta → app_master}/entity/app-master.entity.ts +50 -37
  635. package/src/module/app_master/repository/app-master.repository.ts +38 -0
  636. package/src/module/{meta → app_master}/service/app-master.service.ts +48 -37
  637. package/src/module/auth/auth.module.ts +77 -49
  638. package/src/module/auth/controller/auth.controller.ts +28 -28
  639. package/src/module/auth/guards/google-auth.guard.ts +9 -9
  640. package/src/module/auth/guards/jwt.guard.ts +22 -22
  641. package/src/module/auth/guards/role.guard.ts +68 -68
  642. package/src/module/auth/services/auth.service.ts +56 -56
  643. package/src/module/auth/services/jwt.service.ts +11 -11
  644. package/src/module/auth/strategies/google.strategy.ts +54 -54
  645. package/src/module/auth/strategies/jwt.strategy.ts +64 -58
  646. package/src/module/auth/strategies/local.strategy.ts +13 -13
  647. package/src/module/dashboard/controller/dashboard.controller.ts +38 -38
  648. package/src/module/dashboard/dashboard.module.ts +21 -21
  649. package/src/module/dashboard/entity/dashboard_page_data.entity.ts +23 -27
  650. package/src/module/dashboard/entity/widget_master.entity.ts +15 -18
  651. package/src/module/dashboard/repository/dashboard.repository.ts +49 -49
  652. package/src/module/dashboard/service/dashboard.service.ts +71 -72
  653. package/src/module/eav/EAV_USAGE_GUIDE.md +351 -0
  654. package/src/module/eav/controller/eav.controller.ts +119 -0
  655. package/src/module/eav/dto/eav-operation.dto.ts +62 -0
  656. package/src/module/eav/eav.module.ts +80 -0
  657. package/src/module/eav/entity/eav-boolean.entity.ts +26 -0
  658. package/src/module/eav/entity/eav-date.entity.ts +25 -0
  659. package/src/module/eav/entity/eav-decimal.entity.ts +25 -0
  660. package/src/module/eav/entity/eav-int.entity.ts +25 -0
  661. package/src/module/eav/entity/eav-json.entity.ts +25 -0
  662. package/src/module/eav/entity/eav-text.entity.ts +25 -0
  663. package/src/module/eav/entity/eav-time.entity.ts +25 -0
  664. package/src/module/eav/entity/eav-timestamp.entity.ts +25 -0
  665. package/src/module/eav/entity/eav-varchar.entity.ts +25 -0
  666. package/src/module/eav/interface/eav-strategy.interface.ts +32 -0
  667. package/src/module/eav/repository/eav-boolean.repository.ts +67 -0
  668. package/src/module/eav/repository/eav-date.repository.ts +67 -0
  669. package/src/module/eav/repository/eav-decimal.repository.ts +67 -0
  670. package/src/module/eav/repository/eav-int.repository.ts +67 -0
  671. package/src/module/eav/repository/eav-json.repository.ts +67 -0
  672. package/src/module/eav/repository/eav-text.repository.ts +67 -0
  673. package/src/module/eav/repository/eav-time.repository.ts +67 -0
  674. package/src/module/eav/repository/eav-timestamp.repository.ts +67 -0
  675. package/src/module/eav/repository/eav-varchar.repository.ts +67 -0
  676. package/src/module/eav/service/eav-boolean.service.ts +64 -0
  677. package/src/module/eav/service/eav-date.service.ts +64 -0
  678. package/src/module/eav/service/eav-decimal.service.ts +64 -0
  679. package/src/module/eav/service/eav-factory.service.ts +93 -0
  680. package/src/module/eav/service/eav-int.service.ts +64 -0
  681. package/src/module/eav/service/eav-json.service.ts +64 -0
  682. package/src/module/eav/service/eav-text.service.ts +64 -0
  683. package/src/module/eav/service/eav-time.service.ts +64 -0
  684. package/src/module/eav/service/eav-timestamp.service.ts +64 -0
  685. package/src/module/eav/service/eav-varchar.service.ts +65 -0
  686. package/src/module/eav/service/eav.service.ts +116 -0
  687. package/src/module/enterprise/controller/enterprise.controller.ts +40 -0
  688. package/src/module/enterprise/controller/meta.controller.ts +23 -0
  689. package/src/module/enterprise/controller/organization.controller.ts +99 -36
  690. package/src/module/enterprise/enterprise.module.ts +43 -45
  691. package/src/module/enterprise/entity/enterprise.entity.ts +31 -37
  692. package/src/module/enterprise/entity/organization-app-mapping.entity.ts +27 -13
  693. package/src/module/enterprise/entity/organization.entity.ts +45 -92
  694. package/src/module/enterprise/repository/enterprise.repository.ts +53 -31
  695. package/src/module/enterprise/repository/organization.repository.ts +26 -26
  696. package/src/module/enterprise/repository/school.repository.ts +272 -289
  697. package/src/module/enterprise/service/brand-profile.service.ts +10 -0
  698. package/src/module/enterprise/service/brand.service.ts +75 -5
  699. package/src/module/enterprise/service/enterprise.service.ts +24 -16
  700. package/src/module/enterprise/service/organization-app-mapping.service.ts +4 -4
  701. package/src/module/enterprise/service/organization.service.ts +374 -146
  702. package/src/module/{meta → enterprise}/service/populate-meta.service.ts +210 -228
  703. package/src/module/enterprise/service/school.service.ts +5 -0
  704. package/src/module/entity_json/controller/entity_json.controller.ts +75 -60
  705. package/src/module/entity_json/docs/FlatJson_Filterin_System.md +2803 -2803
  706. package/src/module/entity_json/entity/entityJson.entity.ts +42 -42
  707. package/src/module/entity_json/entity_json.module.ts +22 -22
  708. package/src/module/entity_json/service/entityJson.repository.ts +37 -37
  709. package/src/module/entity_json/service/entity_json.service.ts +492 -486
  710. package/src/module/export/controller/export.controller.ts +83 -83
  711. package/src/module/export/export.module.ts +14 -14
  712. package/src/module/export/service/export.service.ts +107 -105
  713. package/src/module/filter/controller/filter.controller.ts +89 -87
  714. package/src/module/filter/dto/filter-request.dto.ts +40 -39
  715. package/src/module/filter/entity/saved-filter-detail.entity.ts +37 -41
  716. package/src/module/filter/entity/saved-filter-master.entity.ts +30 -35
  717. package/src/module/filter/filter.module.ts +33 -42
  718. package/src/module/filter/repository/saved-filter.repository.ts +247 -249
  719. package/src/module/filter/repository/saved.filter-detail.repository.ts +19 -19
  720. package/src/module/filter/service/filter-evaluator.service.ts +82 -82
  721. package/src/module/filter/service/filter.service.ts +1389 -1406
  722. package/src/module/filter/service/saved-filter.service.ts +165 -154
  723. package/src/module/ics/controller/ics.controller.ts +21 -21
  724. package/src/module/ics/dto/ics.dto.ts +55 -55
  725. package/src/module/ics/ics.module.ts +13 -13
  726. package/src/module/ics/service/ics.service.ts +57 -57
  727. package/src/module/integration/controller/calender-event.controller.ts +31 -31
  728. package/src/module/integration/controller/integration.controller.ts +662 -662
  729. package/src/module/integration/controller/wrapper.controller.ts +37 -37
  730. package/src/module/integration/dto/create-config.dto.ts +526 -526
  731. package/src/module/integration/entity/integration-config.entity.ts +112 -112
  732. package/src/module/integration/entity/integration-entity-mapper.entity.ts +14 -14
  733. package/src/module/integration/entity/integration-source.entity.ts +17 -17
  734. package/src/module/integration/entity/user-integration.entity.ts +71 -71
  735. package/src/module/integration/examples/usage.example.ts +338 -338
  736. package/src/module/integration/factories/base.factory.ts +7 -7
  737. package/src/module/integration/factories/email.factory.ts +49 -49
  738. package/src/module/integration/factories/integration.factory.ts +121 -121
  739. package/src/module/integration/factories/sms.factory.ts +51 -51
  740. package/src/module/integration/factories/telephone.factory.ts +41 -41
  741. package/src/module/integration/factories/whatsapp.factory.ts +56 -56
  742. package/src/module/integration/integration.module.ts +110 -110
  743. package/src/module/integration/service/calendar-event.service.ts +118 -118
  744. package/src/module/integration/service/integration-entity-mapper.service.ts +17 -17
  745. package/src/module/integration/service/integration-queue.service.ts +229 -229
  746. package/src/module/integration/service/integration.service.ts +2632 -2653
  747. package/src/module/integration/service/oauth.service.ts +224 -226
  748. package/src/module/integration/service/wrapper.service.ts +753 -754
  749. package/src/module/integration/strategies/email/gmail-api.strategy.ts +281 -307
  750. package/src/module/integration/strategies/email/outlook-api.strategy.ts +44 -44
  751. package/src/module/integration/strategies/email/outlook.strategy.ts +64 -64
  752. package/src/module/integration/strategies/email/sendgrid-api.strategy.ts +260 -263
  753. package/src/module/integration/strategies/integration.strategy.ts +97 -97
  754. package/src/module/integration/strategies/sms/gupshup-sms.strategy.ts +146 -146
  755. package/src/module/integration/strategies/sms/msg91-sms.strategy.ts +164 -164
  756. package/src/module/integration/strategies/sms/tubelight-sms.strategy.ts +163 -163
  757. package/src/module/integration/strategies/telephone/ozonetel-voice.strategy.ts +238 -238
  758. package/src/module/integration/strategies/telephone/tubelight-voice.strategy.ts +210 -210
  759. package/src/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.ts +359 -359
  760. package/src/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.ts +372 -372
  761. package/src/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.ts +403 -403
  762. package/src/module/integration/strategies/whatsapp/whatsapp.strategy.ts +57 -57
  763. package/src/module/layout/controller/layout.controller.ts +40 -47
  764. package/src/module/layout/entity/header-items.entity.ts +28 -28
  765. package/src/module/layout/entity/header-section.entity.ts +13 -19
  766. package/src/module/layout/layout.module.ts +21 -21
  767. package/src/module/layout/repository/header-items.repository.ts +18 -18
  768. package/src/module/layout/repository/header-section.repository.ts +16 -22
  769. package/src/module/layout/service/header-section.service.ts +25 -25
  770. package/src/module/layout_preference/controller/layout_preference.controller.ts +76 -76
  771. package/src/module/layout_preference/entity/layout_preference.entity.ts +28 -28
  772. package/src/module/layout_preference/layout_preference.module.ts +22 -22
  773. package/src/module/layout_preference/repository/layout_preference.repository.ts +65 -65
  774. package/src/module/layout_preference/service/layout_preference.service.ts +191 -191
  775. package/src/module/lead/controller/lead.controller.ts +30 -30
  776. package/src/module/lead/lead.module.ts +14 -14
  777. package/src/module/lead/repository/lead.repository.ts +41 -41
  778. package/src/module/lead/service/lead.service.ts +54 -54
  779. package/src/module/linked_attributes/controller/linked_attributes.controller.ts +137 -137
  780. package/src/module/linked_attributes/dto/create-linked-attribute-smart.dto.ts +54 -54
  781. package/src/module/linked_attributes/entity/linked_attribute.entity.ts +51 -51
  782. package/src/module/linked_attributes/linked_attributes.module.ts +23 -23
  783. package/src/module/linked_attributes/repository/linked_attribute.repository.ts +12 -12
  784. package/src/module/linked_attributes/service/linked_attributes.service.ts +648 -648
  785. package/src/module/linked_attributes/test/linked-attributes.service.spec.ts +244 -244
  786. package/src/module/listmaster/controller/list-master.controller.ts +206 -230
  787. package/src/module/listmaster/entity/list-master-items.entity.ts +30 -43
  788. package/src/module/listmaster/entity/list-master.entity.ts +23 -33
  789. package/src/module/listmaster/listmaster.module.ts +46 -46
  790. package/src/module/listmaster/repository/list-master-items.repository.ts +225 -173
  791. package/src/module/listmaster/repository/list-master.repository.ts +56 -56
  792. package/src/module/listmaster/service/list-master-engine.ts +19 -19
  793. package/src/module/listmaster/service/list-master-extension.interface.ts +4 -4
  794. package/src/module/listmaster/service/list-master-item.service.ts +382 -280
  795. package/src/module/listmaster/service/list-master-registry.ts +15 -15
  796. package/src/module/listmaster/service/list-master.service.ts +767 -527
  797. package/src/module/mapper/controller/field-mapper.controller.ts +76 -76
  798. package/src/module/mapper/controller/mapper.controller.ts +20 -20
  799. package/src/module/mapper/dto/field-mapper.dto.ts +14 -14
  800. package/src/module/mapper/entity/field-lovs.entity.ts +15 -19
  801. package/src/module/mapper/entity/field-mapper.entity.ts +49 -53
  802. package/src/module/mapper/entity/mapper.entity.ts +9 -16
  803. package/src/module/mapper/mapper.module.ts +35 -35
  804. package/src/module/mapper/repository/field-lovs.repository.ts +35 -35
  805. package/src/module/mapper/repository/field-mapper.repository.ts +42 -42
  806. package/src/module/mapper/repository/mapper.repository.ts +32 -32
  807. package/src/module/mapper/service/field-mapper.service.ts +268 -269
  808. package/src/module/mapper/service/mapper.service.ts +80 -80
  809. package/src/module/master/controller/master.controller.ts +71 -74
  810. package/src/module/master/service/master.service.ts +460 -484
  811. package/src/module/meta/controller/attribute-master.controller.ts +82 -96
  812. package/src/module/meta/controller/entity-dynamic.controller.ts +123 -125
  813. package/src/module/meta/controller/entity-master.controller.ts +41 -41
  814. package/src/module/meta/controller/entity-relation.controller.ts +36 -36
  815. package/src/module/meta/controller/entity.controller.ts +301 -308
  816. package/src/module/meta/controller/entity.public.controller.ts +76 -75
  817. package/src/module/meta/controller/media.controller.ts +135 -167
  818. package/src/module/meta/controller/meta.controller.ts +80 -101
  819. package/src/module/meta/controller/view-master.controller.ts +79 -79
  820. package/src/module/meta/dto/entity-list-data.dto.ts +6 -6
  821. package/src/module/meta/dto/entity-tab.dto.ts +4 -4
  822. package/src/module/meta/dto/entity-table.dto.ts +12 -12
  823. package/src/module/meta/entity/attribute-master.entity.ts +62 -92
  824. package/src/module/meta/entity/base-entity.entity.ts +52 -75
  825. package/src/module/meta/entity/dynamic.entity.ts +6 -0
  826. package/src/module/meta/entity/entity-master.entity.ts +53 -91
  827. package/src/module/meta/entity/entity-relation-data.entity.ts +24 -29
  828. package/src/module/meta/entity/entity-relation.entity.ts +18 -23
  829. package/src/module/meta/entity/entity-table-column.entity.ts +56 -61
  830. package/src/module/meta/entity/entity-table.entity.ts +45 -50
  831. package/src/module/meta/entity/media-data.entity.ts +32 -38
  832. package/src/module/meta/entity/preference.entity.ts +57 -62
  833. package/src/module/meta/entity/view-master.entity.ts +36 -41
  834. package/src/module/meta/entity.module.ts +154 -165
  835. package/src/module/meta/repository/attribute-master.repository.ts +206 -164
  836. package/src/module/meta/repository/entity-attribute-update.repository.ts +48 -48
  837. package/src/module/meta/repository/entity-master.repository.ts +120 -120
  838. package/src/module/meta/repository/entity-relation.repository.ts +36 -22
  839. package/src/module/meta/repository/entity-table-column.repository.ts +39 -39
  840. package/src/module/meta/repository/entity-table.repository.ts +53 -53
  841. package/src/module/meta/repository/media-data.repository.ts +50 -50
  842. package/src/module/meta/repository/preference.repository.ts +20 -20
  843. package/src/module/meta/repository/user-app-mapping.repository.ts +28 -28
  844. package/src/module/meta/repository/view-master.repository.ts +42 -42
  845. package/src/module/meta/service/attribute-master.service.ts +254 -160
  846. package/src/module/meta/service/common.service.ts +9 -9
  847. package/src/module/meta/service/entity-attribute-update.service.ts +26 -26
  848. package/src/module/meta/service/entity-dynamic.service.ts +993 -835
  849. package/src/module/meta/service/entity-master.service.ts +288 -172
  850. package/src/module/meta/service/entity-realation-data.service.ts +9 -9
  851. package/src/module/meta/service/entity-relation.service.ts +85 -78
  852. package/src/module/meta/service/entity-service-impl.service.ts +394 -389
  853. package/src/module/meta/service/entity-table-column.service.ts +26 -26
  854. package/src/module/meta/service/entity-table.service.ts +157 -171
  855. package/src/module/meta/service/entity-validation.service.ts +187 -188
  856. package/src/module/meta/service/entity.service.ts +50 -48
  857. package/src/module/meta/service/field-group.service.ts +103 -103
  858. package/src/module/meta/service/media-data.service.ts +385 -610
  859. package/src/module/meta/service/preference.service.ts +16 -16
  860. package/src/module/meta/service/resolver.service.ts +260 -347
  861. package/src/module/meta/service/section-master.service.ts +104 -104
  862. package/src/module/meta/service/update-form-json.service.ts +22 -22
  863. package/src/module/meta/service/user-app-mapping.service.ts +17 -17
  864. package/src/module/meta/service/view-master.service.ts +127 -127
  865. package/src/module/microservice-client/microservice-clients.module.ts +13 -13
  866. package/src/module/microservice-client/service/microservice-client-factory.ts +37 -37
  867. package/src/module/microservice-client/service/microservice-clients.ts +4 -4
  868. package/src/module/module/controller/menu.controller.ts +41 -15
  869. package/src/module/module/controller/module-access.controller.ts +138 -133
  870. package/src/module/module/entity/menu.entity.ts +51 -43
  871. package/src/module/module/entity/module-access.entity.ts +62 -25
  872. package/src/module/module/entity/module-action.entity.ts +21 -17
  873. package/src/module/module/entity/module.entity.ts +45 -52
  874. package/src/module/module/module.module.ts +43 -42
  875. package/src/module/module/repository/menu.repository.ts +200 -186
  876. package/src/module/module/repository/module-access.repository.ts +392 -344
  877. package/src/module/module/service/menu.service.ts +80 -82
  878. package/src/module/module/service/module-access.service.ts +177 -189
  879. package/src/module/module/service/module-import.service.ts +294 -0
  880. package/src/module/notification/controller/notification.controller.ts +58 -58
  881. package/src/module/notification/controller/otp.controller.ts +117 -117
  882. package/src/module/notification/entity/notification.entity.ts +76 -26
  883. package/src/module/notification/entity/otp.entity.ts +28 -28
  884. package/src/module/notification/firebase-admin.config.ts +22 -22
  885. package/src/module/notification/notification.module.ts +70 -71
  886. package/src/module/notification/repository/otp.repository.ts +27 -27
  887. package/src/module/notification/service/email.service.ts +142 -127
  888. package/src/module/notification/service/notification.service.ts +163 -146
  889. package/src/module/notification/service/otp.service.ts +144 -133
  890. package/src/module/preference_master/entity/preference.entity.ts +25 -0
  891. package/src/module/preference_master/preference.service.ts +27 -0
  892. package/src/module/preference_master/repo/preference.repository.ts +36 -0
  893. package/src/module/third-party-module/entity/third-party-api-registry.entity.ts +52 -52
  894. package/src/module/third-party-module/repository/third-party-api-registry.repository.ts +20 -20
  895. package/src/module/third-party-module/service/api-registry.service.ts +13 -13
  896. package/src/module/third-party-module/third-party.module.ts +12 -12
  897. package/src/module/user/controller/login.controller.ts +197 -199
  898. package/src/module/user/controller/user.controller.ts +31 -40
  899. package/src/module/user/dto/create-user.dto.ts +75 -62
  900. package/src/module/user/dto/update-user.dto.ts +4 -4
  901. package/src/module/user/entity/role.entity.ts +76 -33
  902. package/src/module/user/entity/user-role-mapping.entity.ts +64 -38
  903. package/src/module/user/entity/user-session.entity.ts +57 -73
  904. package/src/module/user/entity/user.entity.ts +97 -62
  905. package/src/module/user/repository/role.repository.ts +116 -96
  906. package/src/module/user/repository/user-role-mapping.repository.ts +130 -126
  907. package/src/module/user/repository/user.repository.ts +77 -50
  908. package/src/module/user/repository/userSession.repository.ts +37 -33
  909. package/src/module/user/service/login.service.ts +322 -326
  910. package/src/module/user/service/role.service.ts +197 -197
  911. package/src/module/user/service/user-role-mapping.service.ts +128 -98
  912. package/src/module/user/service/user-session.service.ts +203 -201
  913. package/src/module/user/service/user.service.ts +349 -368
  914. package/src/module/user/user.module.ts +64 -65
  915. package/src/module/workflow/controller/action-category.controller.ts +54 -54
  916. package/src/module/workflow/controller/action-resource-mapping.controller.ts +23 -23
  917. package/src/module/workflow/controller/action-template-mapping.controller.ts +35 -35
  918. package/src/module/workflow/controller/action.controller.ts +111 -111
  919. package/src/module/workflow/controller/activity-log.controller.ts +55 -55
  920. package/src/module/workflow/controller/comm-template.controller.ts +43 -43
  921. package/src/module/workflow/controller/entity-modification.controller.ts +35 -35
  922. package/src/module/workflow/controller/form-master.controller.ts +43 -43
  923. package/src/module/workflow/controller/stage-group.controller.ts +49 -49
  924. package/src/module/workflow/controller/stage.controller.ts +51 -51
  925. package/src/module/workflow/controller/task.controller.ts +77 -77
  926. package/src/module/workflow/controller/workflow-list-master.controller.ts +44 -44
  927. package/src/module/workflow/controller/workflow-meta.controller.ts +80 -80
  928. package/src/module/workflow/controller/workflow.controller.ts +67 -67
  929. package/src/module/workflow/entity/action-category.entity.ts +33 -38
  930. package/src/module/workflow/entity/action-data.entity.ts +51 -55
  931. package/src/module/workflow/entity/action-resources-mapping.entity.ts +21 -29
  932. package/src/module/workflow/entity/action-template-mapping.entity.ts +12 -17
  933. package/src/module/workflow/entity/action.entity.ts +48 -53
  934. package/src/module/workflow/entity/activity-log.entity.ts +39 -43
  935. package/src/module/workflow/entity/comm-template.entity.ts +38 -43
  936. package/src/module/workflow/entity/entity-modification.entity.ts +33 -38
  937. package/src/module/workflow/entity/form.entity.ts +21 -25
  938. package/src/module/workflow/entity/stage-action-mapping.entity.ts +12 -17
  939. package/src/module/workflow/entity/stage-group.entity.ts +18 -23
  940. package/src/module/workflow/entity/stage-movement-data.entity.ts +33 -38
  941. package/src/module/workflow/entity/stage.entity.ts +15 -20
  942. package/src/module/workflow/entity/task-data.entity.ts +84 -88
  943. package/src/module/workflow/entity/template-attach-mapper.entity.ts +30 -30
  944. package/src/module/workflow/entity/workflow-data.entity.ts +6 -11
  945. package/src/module/workflow/entity/workflow-level-mapping.entity.ts +18 -18
  946. package/src/module/workflow/entity/workflow.entity.ts +15 -20
  947. package/src/module/workflow/repository/action-category.repository.ts +79 -79
  948. package/src/module/workflow/repository/action-data.repository.ts +345 -354
  949. package/src/module/workflow/repository/action.repository.ts +339 -339
  950. package/src/module/workflow/repository/activity-log.repository.ts +148 -148
  951. package/src/module/workflow/repository/comm-template.repository.ts +157 -157
  952. package/src/module/workflow/repository/form-master.repository.ts +50 -50
  953. package/src/module/workflow/repository/stage-group.repository.ts +186 -186
  954. package/src/module/workflow/repository/stage-movement.repository.ts +217 -217
  955. package/src/module/workflow/repository/stage.repository.ts +160 -160
  956. package/src/module/workflow/repository/task.repository.ts +154 -156
  957. package/src/module/workflow/repository/workflow.repository.ts +42 -42
  958. package/src/module/workflow/service/action-category.service.ts +33 -33
  959. package/src/module/workflow/service/action-data.service.ts +63 -62
  960. package/src/module/workflow/service/action-resources-mapping.service.ts +10 -10
  961. package/src/module/workflow/service/action-template-mapping.service.ts +137 -137
  962. package/src/module/workflow/service/action.service.ts +300 -302
  963. package/src/module/workflow/service/activity-log.service.ts +107 -107
  964. package/src/module/workflow/service/comm-template.service.ts +179 -181
  965. package/src/module/workflow/service/entity-modification.service.ts +55 -61
  966. package/src/module/workflow/service/form-master.service.ts +35 -35
  967. package/src/module/workflow/service/populate-workflow.service.ts +320 -325
  968. package/src/module/workflow/service/stage-action-mapping.service.ts +5 -5
  969. package/src/module/workflow/service/stage-group.service.ts +325 -325
  970. package/src/module/workflow/service/stage.service.ts +197 -197
  971. package/src/module/workflow/service/task.service.ts +547 -551
  972. package/src/module/workflow/service/workflow-list-master.service.ts +68 -68
  973. package/src/module/workflow/service/workflow-meta.service.ts +635 -640
  974. package/src/module/workflow/service/workflow.service.ts +213 -213
  975. package/src/module/workflow/workflow.module.ts +182 -180
  976. package/src/module/workflow-automation/SCHEDULING_GUIDE.md +145 -145
  977. package/src/module/workflow-automation/controller/workflow-automation.controller.ts +43 -43
  978. package/src/module/workflow-automation/entity/workflow-automation-action.entity.ts +26 -26
  979. package/src/module/workflow-automation/entity/workflow-automation.entity.ts +35 -40
  980. package/src/module/workflow-automation/interface/action.decorator.ts +7 -7
  981. package/src/module/workflow-automation/interface/action.interface.ts +5 -5
  982. package/src/module/workflow-automation/service/action-registery.service.ts +35 -35
  983. package/src/module/workflow-automation/service/schedule-handler.service.ts +167 -168
  984. package/src/module/workflow-automation/service/workflow-automation-engine.service.ts +219 -219
  985. package/src/module/workflow-automation/service/workflow-automation.service.ts +486 -474
  986. package/src/module/workflow-automation/workflow-automation.module.ts +55 -54
  987. package/src/module/workflow-schedule/INSTALLATION.md +244 -244
  988. package/src/module/workflow-schedule/MULTI_PROJECT_GUIDE.md +196 -196
  989. package/src/module/workflow-schedule/README.md +422 -422
  990. package/src/module/workflow-schedule/constants/schedule.constants.ts +48 -48
  991. package/src/module/workflow-schedule/controller/workflow-schedule.controller.ts +253 -253
  992. package/src/module/workflow-schedule/docs/CLAUDE_CODE_GUIDE.md +510 -510
  993. package/src/module/workflow-schedule/docs/CLAUDE_CODE_PROMPT.md +362 -362
  994. package/src/module/workflow-schedule/docs/RUN_CLAUDE_CODE.sh +68 -68
  995. package/src/module/workflow-schedule/dto/create-schedule.dto.ts +147 -147
  996. package/src/module/workflow-schedule/dto/get-execution-logs.dto.ts +119 -119
  997. package/src/module/workflow-schedule/dto/update-schedule.dto.ts +96 -96
  998. package/src/module/workflow-schedule/entities/scheduled-workflow.entity.ts +148 -148
  999. package/src/module/workflow-schedule/entities/workflow-execution-log.entity.ts +154 -154
  1000. package/src/module/workflow-schedule/interfaces/schedule-job-data.interface.ts +52 -53
  1001. package/src/module/workflow-schedule/interfaces/workflow-schedule-options.interface.ts +12 -12
  1002. package/src/module/workflow-schedule/processors/schedule.processor.ts +616 -620
  1003. package/src/module/workflow-schedule/service/workflow-schedule.service.ts +588 -597
  1004. package/src/module/workflow-schedule/workflow-schedule.module.ts +67 -67
  1005. package/src/resources/dev.properties.yaml +34 -31
  1006. package/src/resources/local.properties.yaml +27 -27
  1007. package/src/resources/properties.module.ts +12 -12
  1008. package/src/resources/properties.yaml.ts +11 -11
  1009. package/src/resources/uat.properties.yaml +31 -31
  1010. package/src/table.config.ts +153 -135
  1011. package/src/utils/dto/excel-data.dto.ts +14 -14
  1012. package/src/utils/dto/excelsheet-data.dto.ts +5 -5
  1013. package/src/utils/service/base64util.service.ts +18 -18
  1014. package/src/utils/service/clockIDGenUtil.service.ts +21 -21
  1015. package/src/utils/service/codeGenerator.service.ts +22 -22
  1016. package/src/utils/service/dateUtil.service.ts +17 -17
  1017. package/src/utils/service/encryptUtil.service.ts +97 -97
  1018. package/src/utils/service/excel-helper.service.ts +72 -72
  1019. package/src/utils/service/excelUtil.service.ts +15 -15
  1020. package/src/utils/service/file-util.service.ts +11 -11
  1021. package/src/utils/service/json-util.service.ts +23 -23
  1022. package/src/utils/service/loggingUtil.service.ts +88 -88
  1023. package/src/utils/service/reflection-helper.service.ts +62 -62
  1024. package/src/utils/service/wbsCodeGen.service.ts +8 -8
  1025. package/src/utils/utils.module.ts +27 -27
  1026. package/tsconfig.build.json +4 -4
  1027. package/tsconfig.json +24 -24
  1028. package/dist/migrations/1732612800000-AddEntityJsonGinIndex.d.ts +0 -6
  1029. package/dist/migrations/1732612800000-AddEntityJsonGinIndex.js +0 -32
  1030. package/dist/migrations/1732612800000-AddEntityJsonGinIndex.js.map +0 -1
  1031. package/dist/module/filter/service/flatjson-filter.service.d.ts +0 -32
  1032. package/dist/module/filter/service/flatjson-filter.service.js +0 -632
  1033. package/dist/module/filter/service/flatjson-filter.service.js.map +0 -1
  1034. package/dist/module/meta/controller/app-master.controller.js.map +0 -1
  1035. package/dist/module/meta/entity/app-master.entity.d.ts +0 -13
  1036. package/dist/module/meta/entity/app-master.entity.js.map +0 -1
  1037. package/dist/module/meta/repository/app-master.repository.js.map +0 -1
  1038. package/dist/module/meta/service/app-master.service.js.map +0 -1
  1039. package/dist/module/meta/service/populate-meta.service.d.ts +0 -13
  1040. package/dist/module/meta/service/populate-meta.service.js.map +0 -1
  1041. package/dist/module/notification/repository/notification.repository.d.ts +0 -7
  1042. package/dist/module/notification/repository/notification.repository.js +0 -43
  1043. package/dist/module/notification/repository/notification.repository.js.map +0 -1
  1044. package/src/migrations/1732612800000-AddEntityJsonGinIndex.ts +0 -41
  1045. package/src/module/filter/service/flatjson-filter.service.ts +0 -903
  1046. package/src/module/filter/test/flatjson-filter.service.spec.ts +0 -415
  1047. package/src/module/meta/repository/app-master.repository.ts +0 -20
  1048. package/src/module/notification/repository/notification.repository.ts +0 -33
@@ -3,16 +3,24 @@ import { LoggingService } from 'src/utils/service/loggingUtil.service';
3
3
  import { DataSource } from 'typeorm';
4
4
  import { EntityJSONRepository } from './entityJson.repository';
5
5
  import { FilterService } from '../../filter/service/filter.service';
6
+ import { AttributeMasterService } from 'src/module/meta/service/attribute-master.service';
7
+ import { EntityMasterService } from '../../meta/service/entity-master.service';
8
+ import { EntityDynamicService } from '../../meta/service/entity-dynamic.service';
9
+ import { EntityRelationService } from '../../meta/service/entity-relation.service';
6
10
  export declare class EntityJSONService {
7
11
  private readonly dataSource;
8
12
  private readonly loggerService;
9
13
  private readonly EntityJSONRepository;
10
14
  private readonly filterService;
11
15
  private readonly entityServiceImpl;
12
- constructor(dataSource: DataSource, loggerService: LoggingService, EntityJSONRepository: EntityJSONRepository, filterService: FilterService, entityServiceImpl: EntityServiceImpl);
16
+ private readonly entityMasterService;
17
+ private readonly entityDynamicService;
18
+ private readonly attributeMasterService;
19
+ private readonly entityRelationService;
20
+ constructor(dataSource: DataSource, loggerService: LoggingService, EntityJSONRepository: EntityJSONRepository, filterService: FilterService, entityServiceImpl: EntityServiceImpl, entityMasterService: EntityMasterService, entityDynamicService: EntityDynamicService, attributeMasterService: AttributeMasterService, entityRelationService: EntityRelationService);
13
21
  getAttributeForFlatJSON(entityType: string, loggedInUser: any, flag?: 'flat_json' | 'dropdown' | 'all' | 'filter_attribute'): Promise<any>;
14
22
  updateEntityJSON(entityType: string, entityId: number, loggedInUser: any): Promise<any>;
15
23
  private mergeEntityDataIntoFlatJson;
16
24
  private applyLinkedFilterUsingSavedFilter;
17
- private convertToMilliseconds;
25
+ computeFlatJson(entityType: string, entityId: number, loggedInUser: any): Promise<Record<string, any>>;
18
26
  }
@@ -22,13 +22,21 @@ const loggingUtil_service_1 = require("../../../utils/service/loggingUtil.servic
22
22
  const typeorm_1 = require("typeorm");
23
23
  const entityJson_repository_1 = require("./entityJson.repository");
24
24
  const filter_service_1 = require("../../filter/service/filter.service");
25
+ const attribute_master_service_1 = require("../../meta/service/attribute-master.service");
26
+ const entity_master_service_1 = require("../../meta/service/entity-master.service");
27
+ const entity_dynamic_service_1 = require("../../meta/service/entity-dynamic.service");
28
+ const entity_relation_service_1 = require("../../meta/service/entity-relation.service");
25
29
  let EntityJSONService = class EntityJSONService {
26
- constructor(dataSource, loggerService, EntityJSONRepository, filterService, entityServiceImpl) {
30
+ constructor(dataSource, loggerService, EntityJSONRepository, filterService, entityServiceImpl, entityMasterService, entityDynamicService, attributeMasterService, entityRelationService) {
27
31
  this.dataSource = dataSource;
28
32
  this.loggerService = loggerService;
29
33
  this.EntityJSONRepository = EntityJSONRepository;
30
34
  this.filterService = filterService;
31
35
  this.entityServiceImpl = entityServiceImpl;
36
+ this.entityMasterService = entityMasterService;
37
+ this.entityDynamicService = entityDynamicService;
38
+ this.attributeMasterService = attributeMasterService;
39
+ this.entityRelationService = entityRelationService;
32
40
  }
33
41
  async getAttributeForFlatJSON(entityType, loggedInUser, flag) {
34
42
  const entId = loggedInUser.enterprise_id;
@@ -39,13 +47,11 @@ let EntityJSONService = class EntityJSONService {
39
47
  .select([
40
48
  'attr.id',
41
49
  'attr.name',
42
- 'attr.flat_json_key',
43
50
  'attr.attribute_key',
44
- 'attr.data_type',
51
+ 'attr.db_datatype',
45
52
  ])
46
53
  .where('attr.mapped_entity_type = :entityType', { entityType })
47
54
  .andWhere('attr.enterprise_id = :entId', { entId })
48
- .andWhere('attr.data_type != :uploadType', { uploadType: 'upload' })
49
55
  .getMany();
50
56
  await this.loggerService.log('debug', 'EntityJSONService', 'getAttributeForFlatJSON', `Loaded ${mainAttributes.length} main attributes`);
51
57
  const relatedEntityTypes = await this.dataSource
@@ -65,7 +71,6 @@ let EntityJSONService = class EntityJSONService {
65
71
  .select([
66
72
  'attr.id',
67
73
  'attr.name',
68
- 'attr.flat_json_key',
69
74
  'attr.mapped_entity_type',
70
75
  'attr.attribute_key',
71
76
  'attr.data_type',
@@ -74,7 +79,6 @@ let EntityJSONService = class EntityJSONService {
74
79
  types: relatedTypesList,
75
80
  })
76
81
  .andWhere('attr.enterprise_id = :entId', { entId })
77
- .andWhere('attr.data_type != :uploadType', { uploadType: 'upload' })
78
82
  .getMany()
79
83
  : [];
80
84
  await this.loggerService.log('debug', 'EntityJSONService', 'getAttributeForFlatJSON', `Loaded ${relatedAttributes.length} related attributes`);
@@ -92,47 +96,23 @@ let EntityJSONService = class EntityJSONService {
92
96
  'attr.data_type AS data_type',
93
97
  ])
94
98
  .where('attr.enterprise_id = :entId', { entId })
95
- .andWhere('attr.data_type != :uploadType', { uploadType: 'upload' })
96
99
  .getRawMany();
97
100
  await this.loggerService.log('debug', 'EntityJSONService', 'getAttributeForFlatJSON', `Loaded ${linkedAttributes.length} linked attributes`);
98
101
  if (flag === 'filter_attribute') {
99
- const filterAttributes = [];
100
- filterAttributes.push(...mainAttributes.map((a) => ({
101
- id: a.id,
102
- name: a.name,
103
- data_type: a.data_type,
104
- attribute_key: a.flat_json_key,
105
- source: 'main',
106
- })));
107
- filterAttributes.push(...relatedAttributes.map((a) => ({
108
- id: a.id,
109
- name: a.name,
110
- data_type: a.data_type,
111
- attribute_key: a.flat_json_key,
112
- source: 'related',
113
- })));
114
- filterAttributes.push(...linkedAttributes.map((l) => ({
102
+ return linkedAttributes.map((l) => ({
115
103
  id: l.id,
116
104
  name: l.name,
117
105
  data_type: l.data_type,
118
106
  attribute_key: l.target_attribute_key,
119
107
  source: 'linked',
120
- })));
121
- return filterAttributes;
108
+ }));
122
109
  }
123
110
  if (flag === 'flat_json' || flag === 'all') {
124
111
  const result = {};
125
- mainAttributes.forEach((attr) => {
126
- if (attr.flat_json_key)
127
- result[attr.flat_json_key] = null;
128
- });
129
- relatedAttributes.forEach((attr) => {
130
- if (attr.flat_json_key)
131
- result[attr.flat_json_key] = null;
132
- });
133
112
  linkedAttributes.forEach((link) => {
134
- if (link.target_attribute_key)
113
+ if (link.target_attribute_key) {
135
114
  result[link.target_attribute_key] = null;
115
+ }
136
116
  });
137
117
  if (flag === 'all') {
138
118
  return {
@@ -146,19 +126,10 @@ let EntityJSONService = class EntityJSONService {
146
126
  }
147
127
  return result;
148
128
  }
149
- const dropdown = [];
150
- dropdown.push(...mainAttributes.map((a) => ({ label: a.name, value: a.flat_json_key })));
151
- dropdown.push(...relatedAttributes.map((a) => ({
129
+ return linkedAttributes.map((a) => ({
152
130
  label: a.name,
153
- value: a.flat_json_key,
154
- })));
155
- if (linkedAttributes.length > 0) {
156
- dropdown.push(...linkedAttributes.map((a) => ({
157
- label: a.name,
158
- value: a.target_attribute_key,
159
- })));
160
- }
161
- return dropdown;
131
+ value: a.target_attribute_key,
132
+ }));
162
133
  }
163
134
  async updateEntityJSON(entityType, entityId, loggedInUser) {
164
135
  await this.loggerService.log('info', 'EntityJSONService', 'updateEntityJSON', `Building flat JSON for entity: ${entityType}#${entityId}`);
@@ -179,22 +150,17 @@ let EntityJSONService = class EntityJSONService {
179
150
  linkedAttributes: attributes.linkedAttributes || [],
180
151
  };
181
152
  const attrMap = {};
182
- const dataTypeMap = {};
183
153
  const allAttrs = [
184
154
  ...safeAttributes.mainAttributes,
185
155
  ...safeAttributes.relatedAttributes,
186
156
  ];
187
157
  allAttrs.forEach((attr) => {
188
158
  if (attr.attribute_key) {
189
- const flatKey = attr.flat_json_key || attr.attribute_key;
190
- attrMap[attr.attribute_key] = flatKey;
191
- if (attr.data_type) {
192
- dataTypeMap[flatKey] = attr.data_type;
193
- }
159
+ attrMap[attr.attribute_key] = attr.attribute_key;
194
160
  }
195
161
  });
196
- const mainData = await this.entityServiceImpl.getResolvedEntityData(entityType, entityId, loggedInUser, true);
197
- this.mergeEntityDataIntoFlatJson(flatJson, mainData, attrMap, dataTypeMap);
162
+ const mainData = await this.entityServiceImpl.getResolvedEntityData(entityType, entityId, loggedInUser);
163
+ this.mergeEntityDataIntoFlatJson(flatJson, mainData, attrMap);
198
164
  const relations = await this.dataSource
199
165
  .getRepository('frm_entity_relation_data')
200
166
  .createQueryBuilder('erd')
@@ -207,37 +173,32 @@ let EntityJSONService = class EntityJSONService {
207
173
  .andWhere('erd.relation_type = :rt', { rt: 'ONE_TO_ONE' })
208
174
  .getRawMany();
209
175
  for (const rel of relations) {
210
- const relatedData = await this.entityServiceImpl.getResolvedEntityData(rel.target_entity_type, rel.target_entity_id, loggedInUser, true);
211
- this.mergeEntityDataIntoFlatJson(flatJson, relatedData, attrMap, dataTypeMap);
176
+ const relatedData = await this.entityServiceImpl.getResolvedEntityData(rel.target_entity_type, rel.target_entity_id, loggedInUser);
177
+ this.mergeEntityDataIntoFlatJson(flatJson, relatedData, attrMap);
212
178
  }
213
179
  for (const linkAttr of safeAttributes.linkedAttributes) {
214
- const childEntityType = linkAttr.applicable_entity_type;
215
- const sourceKey = linkAttr.applicable_attribute_key;
216
- const targetKey = linkAttr.target_attribute_key;
217
- if (!childEntityType || !sourceKey || !targetKey)
180
+ const { applicable_entity_type, applicable_attribute_key, target_attribute_key, saved_filter_code } = linkAttr;
181
+ if (!applicable_entity_type || !applicable_attribute_key || !target_attribute_key) {
218
182
  continue;
219
- const mappingValue = mainData?.[sourceKey] ?? null;
220
- const value = await this.applyLinkedFilterUsingSavedFilter(childEntityType, linkAttr.saved_filter_code, sourceKey, mappingValue, targetKey, loggedInUser, entityId);
183
+ }
184
+ const mappingValue = mainData?.[applicable_attribute_key] ?? null;
185
+ const value = await this.applyLinkedFilterUsingSavedFilter(applicable_entity_type, saved_filter_code, applicable_attribute_key, mappingValue, target_attribute_key, loggedInUser, entityId);
221
186
  if (value !== null && value !== undefined) {
222
- let processedValue = typeof value === 'string' ? value.toLowerCase() : value;
223
- const dataType = linkAttr.data_type?.toLowerCase();
224
- if (dataType === 'date' || dataType === 'datetime') {
225
- processedValue = this.convertToMilliseconds(processedValue);
226
- }
227
- flatJson[targetKey] = processedValue;
187
+ flatJson[target_attribute_key] =
188
+ typeof value === 'string' ? value.toLowerCase() : value;
228
189
  }
229
190
  }
230
191
  await this.loggerService.log('info', 'EntityJSONService', 'updateEntityJSON', `Saving flat JSON for entity: ${entityType}#${entityId}`);
231
- let JsonData = {
192
+ const jsonData = {
232
193
  entity_type: entityType,
233
194
  entity_id: entityId,
234
195
  json_data: flatJson,
235
196
  created_by: loggedInUser.id,
236
197
  };
237
- await this.EntityJSONRepository.create(JsonData);
198
+ await this.EntityJSONRepository.create(jsonData);
238
199
  return flatJson;
239
200
  }
240
- mergeEntityDataIntoFlatJson(flatJson, entityData, attrMap, dataTypeMap = {}) {
201
+ mergeEntityDataIntoFlatJson(flatJson, entityData, attrMap) {
241
202
  const records = Array.isArray(entityData) ? entityData : [entityData];
242
203
  for (const record of records) {
243
204
  if (!record || typeof record !== 'object')
@@ -245,15 +206,8 @@ let EntityJSONService = class EntityJSONService {
245
206
  for (const key of Object.keys(record)) {
246
207
  const flatKey = attrMap[key] || key;
247
208
  if (flatJson.hasOwnProperty(flatKey)) {
248
- let value = record[key];
249
- const dataType = dataTypeMap[flatKey]?.toLowerCase();
250
- if (dataType === 'date' || dataType === 'datetime') {
251
- value = this.convertToMilliseconds(value);
252
- }
253
- else if (typeof value === 'string') {
254
- value = value.toLowerCase();
255
- }
256
- flatJson[flatKey] = value;
209
+ const value = record[key];
210
+ flatJson[flatKey] = typeof value === 'string' ? value.toLowerCase() : value;
257
211
  }
258
212
  }
259
213
  }
@@ -267,7 +221,7 @@ let EntityJSONService = class EntityJSONService {
267
221
  savedFilterCode,
268
222
  page: 1,
269
223
  size: 1,
270
- loggedInUser
224
+ loggedInUser,
271
225
  };
272
226
  if (mappingValue !== null &&
273
227
  mappingValue !== undefined &&
@@ -291,34 +245,87 @@ let EntityJSONService = class EntityJSONService {
291
245
  const rows = result?.data?.entity_list || [];
292
246
  return rows.length ? (rows[0][childFilterAttribute] ?? null) : null;
293
247
  }
294
- convertToMilliseconds(value) {
295
- if (value === null || value === undefined) {
296
- return null;
248
+ async computeFlatJson(entityType, entityId, loggedInUser) {
249
+ const entityMaster = await this.entityMasterService.getEntityData(entityType, loggedInUser);
250
+ if (entityMaster && !entityMaster.is_flat_json) {
251
+ throw new common_1.BadRequestException('Flat Json is not enabled for this entity type');
297
252
  }
298
- if (typeof value === 'number') {
299
- return value;
253
+ const entityData = await this.entityDynamicService.getEntityData(entityType, entityId, loggedInUser, true);
254
+ if (!entityData) {
255
+ throw new common_1.BadRequestException('Entity data not found');
300
256
  }
301
- if (value instanceof Date) {
302
- return value.getTime();
257
+ const entId = loggedInUser.enterprise_id;
258
+ const allowedElementTypes = [
259
+ 'label',
260
+ 'text',
261
+ 'textarea',
262
+ 'select',
263
+ 'number',
264
+ 'decimal',
265
+ 'date',
266
+ 'time',
267
+ 'datetime',
268
+ 'phone',
269
+ 'email',
270
+ 'checkbox',
271
+ 'multicheckbox',
272
+ 'radio',
273
+ ];
274
+ const mainAttributes = await this.attributeMasterService.getAttributesForFlatJson(entityType, entId, allowedElementTypes);
275
+ const relatedRelations = await this.entityRelationService.getOneToOneRelations(entityType, entId);
276
+ const relatedEntityTypes = relatedRelations.map((r) => r.target_entity_type);
277
+ let relatedAttributes = [];
278
+ if (relatedEntityTypes.length > 0) {
279
+ for (const type of relatedEntityTypes) {
280
+ const attrs = await this.attributeMasterService.getAttributesForFlatJson(type, entId, allowedElementTypes);
281
+ relatedAttributes.push(...attrs);
282
+ }
303
283
  }
304
- if (typeof value === 'string') {
305
- const parsed = new Date(value);
306
- if (!isNaN(parsed.getTime())) {
307
- return parsed.getTime();
284
+ const flatJson = {};
285
+ const transformValue = (value, dataType) => {
286
+ if (value === null || value === undefined)
287
+ return null;
288
+ if (['date', 'time', 'timestamp'].includes(dataType)) {
289
+ const date = new Date(value);
290
+ return isNaN(date.getTime()) ? null : date.getTime();
308
291
  }
292
+ return value;
293
+ };
294
+ for (const attr of mainAttributes) {
295
+ const key = `${entityType}__${attr.attribute_key}`;
296
+ const rawValue = entityData[attr.attribute_key];
297
+ flatJson[key] = transformValue(rawValue, attr.db_datatype);
309
298
  }
310
- return null;
299
+ for (const attr of relatedAttributes) {
300
+ const key = `${attr.mapped_entity_type}__${attr.attribute_key}`;
301
+ const childEntityList = entityData.mappedEntities?.[attr.mapped_entity_type];
302
+ if (childEntityList && childEntityList.length > 0) {
303
+ const rawValue = childEntityList[0][attr.attribute_key];
304
+ flatJson[key] = transformValue(rawValue, attr.db_datatype);
305
+ }
306
+ else {
307
+ flatJson[key] = null;
308
+ }
309
+ }
310
+ return flatJson;
311
311
  }
312
312
  };
313
313
  exports.EntityJSONService = EntityJSONService;
314
314
  exports.EntityJSONService = EntityJSONService = __decorate([
315
315
  (0, common_1.Injectable)(),
316
316
  __param(3, (0, common_1.Inject)((0, common_1.forwardRef)(() => filter_service_1.FilterService))),
317
- __param(4, (0, common_1.Inject)((0, common_1.forwardRef)(() => entity_service_impl_service_1.EntityServiceImpl))),
317
+ __param(5, (0, common_1.Inject)('EntityMasterService')),
318
+ __param(6, (0, common_1.Inject)('EntityDynamicService')),
319
+ __param(7, (0, common_1.Inject)('AttributeMasterService')),
320
+ __param(8, (0, common_1.Inject)('EntityRelationService')),
318
321
  __metadata("design:paramtypes", [typeorm_1.DataSource,
319
322
  loggingUtil_service_1.LoggingService,
320
323
  entityJson_repository_1.EntityJSONRepository,
321
324
  filter_service_1.FilterService,
322
- entity_service_impl_service_1.EntityServiceImpl])
325
+ entity_service_impl_service_1.EntityServiceImpl,
326
+ entity_master_service_1.EntityMasterService,
327
+ entity_dynamic_service_1.EntityDynamicService,
328
+ attribute_master_service_1.AttributeMasterService,
329
+ entity_relation_service_1.EntityRelationService])
323
330
  ], EntityJSONService);
324
331
  //# sourceMappingURL=entity_json.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entity_json.service.js","sourceRoot":"","sources":["../../../../src/module/entity_json/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AAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,CAAC,CAAA;IACvC,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,+CAAiB,CAAC,CAAC,CAAA;qCAJf,oBAAU;QACP,oCAAc;QACP,4CAAoB;QACc,8BAAa;QACL,+CAAiB;GANzF,iBAAiB,CAwd7B"}
1
+ {"version":3,"file":"entity_json.service.js","sourceRoot":"","sources":["../../../../src/module/entity_json/service/entity_json.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAqF;AACrF,oGAA+F;AAC/F,uFAAiF;AACjF,qFAA+E;AAC/E,gGAAwF;AACxF,oFAAuE;AACvE,qCAAqC;AACrC,mEAA+D;AAC/D,wEAAoE;AACpE,0FAA0F;AAC1F,oFAA+E;AAC/E,sFAAiF;AAEjF,wFAAmF;AAG5E,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC5B,YACmB,UAAsB,EACtB,aAA6B,EAC7B,oBAA0C,EAE1C,aAA4B,EAC5B,iBAAoC,EAEpC,mBAAwC,EAExC,oBAA0C,EAE1C,sBAA8C,EAE9C,qBAA4C;QAb5C,eAAU,GAAV,UAAU,CAAY;QACtB,kBAAa,GAAb,aAAa,CAAgB;QAC7B,yBAAoB,GAApB,oBAAoB,CAAsB;QAE1C,kBAAa,GAAb,aAAa,CAAe;QAC5B,sBAAiB,GAAjB,iBAAiB,CAAmB;QAEpC,wBAAmB,GAAnB,mBAAmB,CAAqB;QAExC,yBAAoB,GAApB,oBAAoB,CAAsB;QAE1C,2BAAsB,GAAtB,sBAAsB,CAAwB;QAE9C,0BAAqB,GAArB,qBAAqB,CAAuB;IAE/D,CAAC;IAED,KAAK,CAAC,uBAAuB,CAC3B,UAAkB,EAClB,YAAiB,EACjB,IAA4D;QAE5D,MAAM,KAAK,GAAG,YAAY,CAAC,aAAa,CAAC;QAEzC,MAAM,IAAI,CAAC,aAAa,CAAC,GA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AAQ,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;YACvB,CAAC;QACH,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;CAGF,CAAA;AA3dY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;IAMR,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,CAAC,CAAA;IAGvC,WAAA,IAAA,eAAM,EAAC,qBAAqB,CAAC,CAAA;IAE7B,WAAA,IAAA,eAAM,EAAC,sBAAsB,CAAC,CAAA;IAE9B,WAAA,IAAA,eAAM,EAAC,wBAAwB,CAAC,CAAA;IAEhC,WAAA,IAAA,eAAM,EAAC,uBAAuB,CAAC,CAAA;qCAZH,oBAAU;QACP,oCAAc;QACP,4CAAoB;QAE3B,8BAAa;QACT,+CAAiB;QAEf,2CAAmB;QAElB,6CAAoB;QAElB,iDAAsB;QAEvB,+CAAqB;GAfpD,iBAAiB,CA2d7B"}
@@ -8,6 +8,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.ExportService = void 0;
13
16
  const common_1 = require("@nestjs/common");
@@ -77,6 +80,8 @@ let ExportService = class ExportService {
77
80
  exports.ExportService = ExportService;
78
81
  exports.ExportService = ExportService = __decorate([
79
82
  (0, common_1.Injectable)(),
83
+ __param(0, (0, common_1.Inject)('AttributeMasterService')),
84
+ __param(1, (0, common_1.Inject)('EntityMasterService')),
80
85
  __metadata("design:paramtypes", [attribute_master_service_1.AttributeMasterService,
81
86
  entity_master_service_1.EntityMasterService,
82
87
  filter_service_1.FilterService,
@@ -1 +1 @@
1
- {"version":3,"file":"export.service.js","sourceRoot":"","sources":["../../../../src/module/export/service/export.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAE5C,sEAA8D;AAC9D,6BAA6B;AAC7B,yBAAyB;AACzB,sFAA0E;AAE1E,0FAAqF;AACrF,oFAA+E;AAC/E,wEAAoE;AACpE,kHAA6G;AAGtG,IAAM,aAAa,GAAnB,MAAM,aAAa;IAExB,YACmB,sBAA8C,EAC9C,mBAAwC,EACxC,aAA4B,EAC5B,oBAAgD;QAHhD,2BAAsB,GAAtB,sBAAsB,CAAwB;QAC9C,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,kBAAa,GAAb,aAAa,CAAe;QAC5B,yBAAoB,GAApB,oBAAoB,CAA4B;IAEnE,CAAC;IAED,KAAK,CAAC,mBAAmB,CACvB,GAAqB;QAErB,IAAI,QAAgB,CAAC;QACrB,IAAI,CAAC;YACH,MAAM,SAAS,GAAG,IAAI,0BAAS,EAAE,CAAC;YAClC,MAAM,IAAI,CAAC,iBAAiB,CAC1B,SAAS,EACT,GAAG,CACJ,CAAC;YAEF,MAAM,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;YACtE,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;YACnD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;gBAC5B,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YAC7C,CAAC;YACD,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,UAAU,YAAY,OAAO,CAAC,CAAC;YAC7D,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;YAC9B,kCAAW,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;QACpC,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AI,CAAC,WAAW,CAAC;QAE7C,MAAM,KAAK,GAAmB;YAC5B,SAAS,EAAE,UAAU,EAAE,IAAI,IAAI,OAAO;YACtC,OAAO,EAAE,EAAE;YACX,OAAO,EAAE,EAAE;SACZ,CAAC;QAEF,IAAI,cAAc,EAAE,CAAC;YACnB,KAAK,CAAC,OAAO,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACvD,MAAM,aAAa,GAAG,cAAc,CAAC,GAAG,CACtC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CACnB,CAAC;YAEF,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACtC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAC7C,CACF,CAAC;YACF,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;CACF,CAAA;AA5FY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAIgC,iDAAsB;QACzB,2CAAmB;QACzB,8BAAa;QACN,yDAA0B;GANxD,aAAa,CA4FzB"}
1
+ {"version":3,"file":"export.service.js","sourceRoot":"","sources":["../../../../src/module/export/service/export.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoD;AAEpD,sEAA8D;AAC9D,6BAA6B;AAC7B,yBAAyB;AACzB,sFAA0E;AAE1E,0FAAqF;AACrF,oFAA+E;AAC/E,wEAAoE;AACpE,kHAA6G;AAGtG,IAAM,aAAa,GAAnB,MAAM,aAAa;IAExB,YAEmB,sBAA8C,EAE9C,mBAAwC,EACxC,aAA4B,EAC5B,oBAAgD;QAJhD,2BAAs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CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CACnB,CAAC;YAEF,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACtC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAC7C,CACF,CAAC;YACF,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;CACF,CAAA;AA9FY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;IAIR,WAAA,IAAA,eAAM,EAAC,wBAAwB,CAAC,CAAA;IAEhC,WAAA,IAAA,eAAM,EAAC,qBAAqB,CAAC,CAAA;qCADW,iDAAsB;QAEzB,2CAAmB;QACzB,8BAAa;QACN,yDAA0B;GARxD,aAAa,CA8FzB"}
@@ -11,6 +11,7 @@ export declare class FilterController {
11
11
  data: {
12
12
  entity_tabs: any[];
13
13
  entity_list: any[];
14
+ is_hierarchical: boolean;
14
15
  pagination: {
15
16
  total: number;
16
17
  page: number;
@@ -27,18 +28,6 @@ export declare class FilterController {
27
28
  entity_list: never[];
28
29
  pagination: {};
29
30
  };
30
- } | {
31
- success: boolean;
32
- data: {
33
- entity_tabs: any;
34
- entity_list: any;
35
- pagination: {
36
- total: any;
37
- page: any;
38
- size: any;
39
- totalPages: any;
40
- };
41
- };
42
31
  }>;
43
32
  getFilterById(id: string): Promise<{
44
33
  filter_attribute: string;
@@ -25,8 +25,8 @@ let FilterController = class FilterController {
25
25
  async applyFilter(body, page = 1, size = 10, req, queryParams, levelType, levelId, appCode) {
26
26
  const loggedInUser = req.user.userData;
27
27
  const { page: _p, size: _s, ...otherQueryParams } = queryParams;
28
- const { entity_type, quickFilter, savedFilterCode, attributeFilter, tabs, sortby, } = body;
29
- return this.filterService.applyFilterWithRouting({
28
+ const { entity_type, quickFilter, savedFilterCode, attributeFilter, tabs, sortby, defaultfilter, } = body;
29
+ return this.filterService.applyFilterWrapper({
30
30
  entity_type,
31
31
  quickFilter,
32
32
  savedFilterCode,
@@ -40,6 +40,7 @@ let FilterController = class FilterController {
40
40
  customLevelType: levelType,
41
41
  customLevelId: levelId,
42
42
  customAppCode: appCode,
43
+ defaultfilter,
43
44
  });
44
45
  }
45
46
  async getFilterById(id) {
@@ -1 +1 @@
1
- {"version":3,"file":"filter.controller.js","sourceRoot":"","sources":["../../../../src/module/filter/controller/filter.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAawB;AACxB,8DAA0D;AAC1D,0EAAqE;AACrE,2DAAgE;AAGzD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAC3B,YACmB,aAA4B,EAE5B,kBAAsC;QAFtC,kBAAa,GAAb,aAAa,CAAe;QAE5B,uBAAkB,GAAlB,kBAAkB,CAAoB;IACtD,CAAC;IAKE,AAAN,KAAK,CAAC,WAAW,CACP,IAAS,EACY,OAAO,CAAC,EACR,OAAO,EAAE,EAC/B,GAA4B,EAC1B,WAAmC,EACvB,SAAkB,EACpB,OAAgB,EACjB,OAAgB;QAElC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QAGvC,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,gBAAgB,EAAE,GAAG,WAAW,CAAC;QAEhE,MAAM,EACJ,WAAW,EACX,WAAW,EACX,eAAe,EACf,eAAe,EACf,IAAI,EACJ,MAAM,GACP,GAAG,IAAI,CAAC;QAET,OAAO,IAAI,CAAC,aAAa,CAAC,sBAAsB,CAAC;YAC/C,WAAW;YACX,WAAW;YACX,eAAe;YACf,eAAe;YACf,IAAI;YACJ,MAAM;YACN,IAAI;YACJ,IAAI;YACJ,YAAY;YACZ,WAAW,EAAE,gBAAgB;YAC7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AAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IAErB,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IACb,WAAA,IAAA,YAAG,GAAE,CAAA;;;;4DAIP;2BAlEU,gBAAgB;IAD5B,IAAA,mBAAU,EAAC,QAAQ,CAAC;IAIhB,WAAA,IAAA,eAAM,EAAC,oBAAoB,CAAC,CAAA;qCADG,8BAAa;QAER,yCAAkB;GAJ9C,gBAAgB,CAmE5B"}
1
+ {"version":3,"file":"filter.controller.js","sourceRoot":"","sources":["../../../../src/module/filter/controller/filter.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAWwB;AACxB,8DAA0D;AAC1D,0EAAqE;AACrE,2DAAgE;AAGzD,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAC3B,YACmB,aAA4B,EAE5B,kBAAsC;QAFtC,kBAAa,GAAb,aAAa,CAAe;QAE5B,uBAAkB,GAAlB,kBAAkB,CAAoB;IACtD,CAAC;IAKE,AAAN,KAAK,CAAC,WAAW,CACP,IAAS,EACY,OAAO,CAAC,EACR,OAAO,EAAE,EAC/B,GAA4B,EAC1B,WAAmC,EACvB,SAAkB,EACpB,OAAgB,EACjB,OAAgB;QAElC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QAGvC,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,gBAAgB,EAAE,GAAG,WAAW,CAAC;QAEhE,MAAM,EACJ,WAAW,EACX,WAAW,EACX,eAAe,EACf,eAAe,EACf,IAAI,EACJ,MAAM,EACN,aAAa,GACd,GAAG,IAAI,CAAC;QAIT,OAAO,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC;YAC3C,WAAW;YACX,WAAW;YACX,eAAe;YACf,eAAe;YACf,IAAI;YACJ,MAAM;YACN,IAAI;YACJ,IAAI;YACJ,YAAY;YACZ,WAAW,EAAE,gBAAgB;YAC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AC;IACvB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IAErB,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IACb,WAAA,IAAA,YAAG,GAAE,CAAA;;;;4DAIP;2BAtEU,gBAAgB;IAD5B,IAAA,mBAAU,EAAC,QAAQ,CAAC;IAIhB,WAAA,IAAA,eAAM,EAAC,oBAAoB,CAAC,CAAA;qCADG,8BAAa;QAER,yCAAkB;GAJ9C,gBAAgB,CAuE5B"}
@@ -33,4 +33,5 @@ export interface FilterRequestDto {
33
33
  customLevelId?: number;
34
34
  customAppCode?: string;
35
35
  view?: string;
36
+ defaultfilter?: string;
36
37
  }
@@ -1,6 +1,5 @@
1
1
  import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
2
  export declare class SavedFilterDetail extends BaseEntity {
3
- constructor();
4
3
  mapped_filter_code: string;
5
4
  filter_entity_type: string;
6
5
  filter_attribute: string;
@@ -10,14 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SavedFilterDetail = void 0;
13
- const global_constant_1 = require("../../../constant/global.constant");
14
13
  const base_entity_entity_1 = require("../../meta/entity/base-entity.entity");
15
14
  const typeorm_1 = require("typeorm");
16
15
  let SavedFilterDetail = class SavedFilterDetail extends base_entity_entity_1.BaseEntity {
17
- constructor() {
18
- super();
19
- this.entity_type = global_constant_1.ENTITYTYPE_SAVEDFILTERDETAIL;
20
- }
21
16
  };
22
17
  exports.SavedFilterDetail = SavedFilterDetail;
23
18
  __decorate([
@@ -61,7 +56,6 @@ __decorate([
61
56
  __metadata("design:type", String)
62
57
  ], SavedFilterDetail.prototype, "datasource_list", void 0);
63
58
  exports.SavedFilterDetail = SavedFilterDetail = __decorate([
64
- (0, typeorm_1.Entity)({ name: 'frm_saved_filter_detail' }),
65
- __metadata("design:paramtypes", [])
59
+ (0, typeorm_1.Entity)({ name: 'frm_saved_filter_detail' })
66
60
  ], SavedFilterDetail);
67
61
  //# sourceMappingURL=saved-filter-detail.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"saved-filter-detail.entity.js","sourceRoot":"","sources":["../../../../src/module/filter/entity/saved-filter-detail.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA4E;AAC5E,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAU;IAC/C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,8CAA4B,CAAC;IAClD,CAAC;CA+BF,CAAA;AAnCY,8CAAiB;AAO5B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACF;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACH;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACG;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACQ;AAGnC;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACT;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACH;4BAlCb,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;;GAC/B,iBAAiB,CAmC7B"}
1
+ {"version":3,"file":"saved-filter-detail.entity.js","sourceRoot":"","sources":["../../../../src/module/filter/entity/saved-filter-detail.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAU;CA+BhD,CAAA;AA/BY,8CAAiB;AAG5B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACF;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACH;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACG;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACQ;AAGnC;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACT;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACH;4BA9Bb,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;GAC/B,iBAAiB,CA+B7B"}
@@ -1,6 +1,5 @@
1
1
  import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
2
  export declare class SavedFilterMaster extends BaseEntity {
3
- constructor();
4
3
  mapped_entity_type: string;
5
4
  user_id: number;
6
5
  is_default: boolean;
@@ -10,14 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SavedFilterMaster = void 0;
13
- const global_constant_1 = require("../../../constant/global.constant");
14
13
  const base_entity_entity_1 = require("../../meta/entity/base-entity.entity");
15
14
  const typeorm_1 = require("typeorm");
16
15
  let SavedFilterMaster = class SavedFilterMaster extends base_entity_entity_1.BaseEntity {
17
- constructor() {
18
- super();
19
- this.entity_type = global_constant_1.ENTITYTYPE_SAVEDFILTERMASTER;
20
- }
21
16
  };
22
17
  exports.SavedFilterMaster = SavedFilterMaster;
23
18
  __decorate([
@@ -53,7 +48,6 @@ __decorate([
53
48
  __metadata("design:type", String)
54
49
  ], SavedFilterMaster.prototype, "description", void 0);
55
50
  exports.SavedFilterMaster = SavedFilterMaster = __decorate([
56
- (0, typeorm_1.Entity)({ name: 'frm_saved_filter_master' }),
57
- __metadata("design:paramtypes", [])
51
+ (0, typeorm_1.Entity)({ name: 'frm_saved_filter_master' })
58
52
  ], SavedFilterMaster);
59
53
  //# sourceMappingURL=saved-filter-master.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"saved-filter-master.entity.js","sourceRoot":"","sources":["../../../../src/module/filter/entity/saved-filter-master.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA4E;AAC5E,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAU;IAC/C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,8CAA4B,CAAC;IAClD,CAAC;CAyBF,CAAA;AA7BY,8CAAiB;AAO5B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DAC7B;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