easywork-common-lib 1.0.950 → 1.0.953

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 (576) hide show
  1. package/.gitattributes +2 -2
  2. package/.github/workflows/npm-publish.yml +33 -33
  3. package/.vscode/settings.json +12 -12
  4. package/dist/common/@types/enums/crm.enum.d.ts +8 -0
  5. package/dist/common/@types/enums/crm.enum.js +14 -0
  6. package/dist/common/@types/enums/crm.enum.js.map +1 -0
  7. package/dist/common/@types/enums/index.d.ts +3 -0
  8. package/dist/common/@types/enums/index.js +20 -0
  9. package/dist/common/@types/enums/index.js.map +1 -0
  10. package/dist/common/@types/enums/misc.enum.d.ts +60 -0
  11. package/dist/common/@types/enums/misc.enum.js +81 -0
  12. package/dist/common/@types/enums/misc.enum.js.map +1 -0
  13. package/dist/common/@types/enums/permission.enum.d.ts +13 -0
  14. package/dist/common/@types/enums/permission.enum.js +19 -0
  15. package/dist/common/@types/enums/permission.enum.js.map +1 -0
  16. package/dist/common/@types/index.d.ts +2 -0
  17. package/dist/common/@types/index.js +19 -0
  18. package/dist/common/@types/index.js.map +1 -0
  19. package/dist/common/@types/interfaces/authentication.interface.d.ts +17 -0
  20. package/dist/common/@types/interfaces/authentication.interface.js +3 -0
  21. package/dist/common/@types/interfaces/authentication.interface.js.map +1 -0
  22. package/dist/common/@types/interfaces/crm.interface.d.ts +131 -0
  23. package/dist/common/@types/interfaces/crm.interface.js +3 -0
  24. package/dist/common/@types/interfaces/crm.interface.js.map +1 -0
  25. package/dist/common/@types/interfaces/file.interface.d.ts +14 -0
  26. package/dist/common/@types/interfaces/file.interface.js +3 -0
  27. package/dist/common/@types/interfaces/file.interface.js.map +1 -0
  28. package/dist/common/@types/interfaces/index.d.ts +6 -0
  29. package/dist/common/@types/interfaces/index.js +23 -0
  30. package/dist/common/@types/interfaces/index.js.map +1 -0
  31. package/dist/common/@types/interfaces/lsm.interface.d.ts +5 -0
  32. package/dist/common/@types/interfaces/lsm.interface.js +3 -0
  33. package/dist/common/@types/interfaces/lsm.interface.js.map +1 -0
  34. package/dist/common/@types/interfaces/mail.interface.d.ts +9 -0
  35. package/dist/common/@types/interfaces/mail.interface.js +3 -0
  36. package/dist/common/@types/interfaces/mail.interface.js.map +1 -0
  37. package/dist/common/@types/interfaces/validator.interface.d.ts +41 -0
  38. package/dist/common/@types/interfaces/validator.interface.js +3 -0
  39. package/dist/common/@types/interfaces/validator.interface.js.map +1 -0
  40. package/dist/common/constants/app.contants.d.ts +48 -0
  41. package/dist/common/constants/app.contants.js +225 -0
  42. package/dist/common/constants/app.contants.js.map +1 -0
  43. package/dist/common/constants/index.d.ts +3 -0
  44. package/dist/common/constants/index.js +20 -0
  45. package/dist/common/constants/index.js.map +1 -0
  46. package/dist/common/constants/regex.constant.d.ts +6 -0
  47. package/dist/common/constants/regex.constant.js +10 -0
  48. package/dist/common/constants/regex.constant.js.map +1 -0
  49. package/dist/common/constants/string.constant.d.ts +5 -0
  50. package/dist/common/constants/string.constant.js +41 -0
  51. package/dist/common/constants/string.constant.js.map +1 -0
  52. package/dist/common/database/base.entity.d.ts +31 -0
  53. package/dist/common/database/base.entity.js +165 -0
  54. package/dist/common/database/base.entity.js.map +1 -0
  55. package/dist/common/database/comment.base.entity.d.ts +11 -0
  56. package/dist/common/database/comment.base.entity.js +83 -0
  57. package/dist/common/database/comment.base.entity.js.map +1 -0
  58. package/dist/common/database/index.d.ts +2 -0
  59. package/dist/common/database/index.js +19 -0
  60. package/dist/common/database/index.js.map +1 -0
  61. package/dist/common/dtos/index.d.ts +1 -0
  62. package/dist/common/dtos/index.js +18 -0
  63. package/dist/common/dtos/index.js.map +1 -0
  64. package/dist/common/dtos/send-notification.dto.d.ts +12 -0
  65. package/dist/common/dtos/send-notification.dto.js +66 -0
  66. package/dist/common/dtos/send-notification.dto.js.map +1 -0
  67. package/dist/common/enums/common.enum.d.ts +18 -0
  68. package/dist/common/enums/common.enum.js +25 -0
  69. package/dist/common/enums/common.enum.js.map +1 -0
  70. package/dist/common/enums/drive.enum.d.ts +26 -0
  71. package/dist/common/enums/drive.enum.js +32 -0
  72. package/dist/common/enums/drive.enum.js.map +1 -0
  73. package/dist/common/enums/index.d.ts +5 -0
  74. package/dist/common/enums/index.js +22 -0
  75. package/dist/common/enums/index.js.map +1 -0
  76. package/dist/common/enums/notification.enum.d.ts +56 -0
  77. package/dist/common/enums/notification.enum.js +63 -0
  78. package/dist/common/enums/notification.enum.js.map +1 -0
  79. package/dist/common/enums/sales.enum.d.ts +120 -0
  80. package/dist/common/enums/sales.enum.js +144 -0
  81. package/dist/common/enums/sales.enum.js.map +1 -0
  82. package/dist/common/enums/tools.enum.d.ts +64 -0
  83. package/dist/common/enums/tools.enum.js +75 -0
  84. package/dist/common/enums/tools.enum.js.map +1 -0
  85. package/dist/common/functions/cripto.d.ts +1 -0
  86. package/dist/common/functions/cripto.js +8 -0
  87. package/dist/common/functions/cripto.js.map +1 -0
  88. package/dist/common/functions/image.d.ts +3 -0
  89. package/dist/common/functions/image.js +16 -0
  90. package/dist/common/functions/image.js.map +1 -0
  91. package/dist/common/functions/index.d.ts +2 -0
  92. package/dist/common/functions/index.js +19 -0
  93. package/dist/common/functions/index.js.map +1 -0
  94. package/dist/common/helpers/app.utils.d.ts +5 -0
  95. package/dist/common/helpers/app.utils.js +32 -0
  96. package/dist/common/helpers/app.utils.js.map +1 -0
  97. package/dist/common/helpers/helpers.utils.d.ts +5 -0
  98. package/dist/common/helpers/helpers.utils.js +26 -0
  99. package/dist/common/helpers/helpers.utils.js.map +1 -0
  100. package/dist/common/helpers/index.d.ts +2 -0
  101. package/dist/common/helpers/index.js +19 -0
  102. package/dist/common/helpers/index.js.map +1 -0
  103. package/dist/common/index.d.ts +8 -0
  104. package/dist/common/index.js +25 -0
  105. package/dist/common/index.js.map +1 -0
  106. package/dist/common/interceptors/index.d.ts +1 -0
  107. package/dist/common/interceptors/index.js +18 -0
  108. package/dist/common/interceptors/index.js.map +1 -0
  109. package/dist/common/interceptors/security.interceptor.d.ts +5 -0
  110. package/dist/common/interceptors/security.interceptor.js +22 -0
  111. package/dist/common/interceptors/security.interceptor.js.map +1 -0
  112. package/dist/entities/app_config/app-config.entity.d.ts +5 -0
  113. package/dist/entities/app_config/app-config.entity.js +33 -0
  114. package/dist/entities/app_config/app-config.entity.js.map +1 -0
  115. package/dist/entities/audit.entity.d.ts +7 -0
  116. package/dist/entities/audit.entity.js +56 -0
  117. package/dist/entities/audit.entity.js.map +1 -0
  118. package/dist/entities/capacitation/capacitation.entity.d.ts +10 -0
  119. package/dist/entities/capacitation/capacitation.entity.js +68 -0
  120. package/dist/entities/capacitation/capacitation.entity.js.map +1 -0
  121. package/dist/entities/capacitation/course-assigned.entity.d.ts +12 -0
  122. package/dist/entities/capacitation/course-assigned.entity.js +44 -0
  123. package/dist/entities/capacitation/course-assigned.entity.js.map +1 -0
  124. package/dist/entities/capacitation/course-evaluation-attempt.entity.d.ts +22 -0
  125. package/dist/entities/capacitation/course-evaluation-attempt.entity.js +96 -0
  126. package/dist/entities/capacitation/course-evaluation-attempt.entity.js.map +1 -0
  127. package/dist/entities/capacitation/course-evaluation.entity.d.ts +42 -0
  128. package/dist/entities/capacitation/course-evaluation.entity.js +111 -0
  129. package/dist/entities/capacitation/course-evaluation.entity.js.map +1 -0
  130. package/dist/entities/capacitation/course-folder-page.entity.d.ts +14 -0
  131. package/dist/entities/capacitation/course-folder-page.entity.js +74 -0
  132. package/dist/entities/capacitation/course-folder-page.entity.js.map +1 -0
  133. package/dist/entities/capacitation/course-folder.entity.d.ts +10 -0
  134. package/dist/entities/capacitation/course-folder.entity.js +57 -0
  135. package/dist/entities/capacitation/course-folder.entity.js.map +1 -0
  136. package/dist/entities/capacitation/course-order.entity.d.ts +8 -0
  137. package/dist/entities/capacitation/course-order.entity.js +45 -0
  138. package/dist/entities/capacitation/course-order.entity.js.map +1 -0
  139. package/dist/entities/capacitation/course.entity.d.ts +21 -0
  140. package/dist/entities/capacitation/course.entity.js +119 -0
  141. package/dist/entities/capacitation/course.entity.js.map +1 -0
  142. package/dist/entities/capacitation/index.d.ts +8 -0
  143. package/dist/entities/capacitation/index.js +21 -0
  144. package/dist/entities/capacitation/index.js.map +1 -0
  145. package/dist/entities/currency.entity.d.ts +6 -0
  146. package/dist/entities/currency.entity.js +43 -0
  147. package/dist/entities/currency.entity.js.map +1 -0
  148. package/dist/entities/drive/attached_object.entity.d.ts +27 -0
  149. package/dist/entities/drive/attached_object.entity.js +154 -0
  150. package/dist/entities/drive/attached_object.entity.js.map +1 -0
  151. package/dist/entities/drive/file.entity.d.ts +20 -0
  152. package/dist/entities/drive/file.entity.js +178 -0
  153. package/dist/entities/drive/file.entity.js.map +1 -0
  154. package/dist/entities/drive/folder.entity.d.ts +19 -0
  155. package/dist/entities/drive/folder.entity.js +173 -0
  156. package/dist/entities/drive/folder.entity.js.map +1 -0
  157. package/dist/entities/drive/index.d.ts +3 -0
  158. package/dist/entities/drive/index.js +20 -0
  159. package/dist/entities/drive/index.js.map +1 -0
  160. package/dist/entities/easyapp/filter-view.entity.d.ts +7 -0
  161. package/dist/entities/easyapp/filter-view.entity.js +41 -0
  162. package/dist/entities/easyapp/filter-view.entity.js.map +1 -0
  163. package/dist/entities/email.entity.d.ts +5 -0
  164. package/dist/entities/email.entity.js +36 -0
  165. package/dist/entities/email.entity.js.map +1 -0
  166. package/dist/entities/group.entity.d.ts +13 -0
  167. package/dist/entities/group.entity.js +57 -0
  168. package/dist/entities/group.entity.js.map +1 -0
  169. package/dist/entities/helpers/entity_file.entity.d.ts +10 -0
  170. package/dist/entities/helpers/entity_file.entity.js +61 -0
  171. package/dist/entities/helpers/entity_file.entity.js.map +1 -0
  172. package/dist/entities/helpers/entity_folder.entity.d.ts +10 -0
  173. package/dist/entities/helpers/entity_folder.entity.js +61 -0
  174. package/dist/entities/helpers/entity_folder.entity.js.map +1 -0
  175. package/dist/entities/helpers/index.d.ts +5 -0
  176. package/dist/entities/helpers/index.js +22 -0
  177. package/dist/entities/helpers/index.js.map +1 -0
  178. package/dist/entities/helpers/meeting_crm.entity.d.ts +23 -0
  179. package/dist/entities/helpers/meeting_crm.entity.js +166 -0
  180. package/dist/entities/helpers/meeting_crm.entity.js.map +1 -0
  181. package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.d.ts +20 -0
  182. package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js +160 -0
  183. package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js.map +1 -0
  184. package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.d.ts +5 -0
  185. package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js +43 -0
  186. package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js.map +1 -0
  187. package/dist/entities/helpers/sales/agent/h_agent_source.entity.d.ts +4 -0
  188. package/dist/entities/helpers/sales/agent/h_agent_source.entity.js +34 -0
  189. package/dist/entities/helpers/sales/agent/h_agent_source.entity.js.map +1 -0
  190. package/dist/entities/helpers/sales/agent/h_agent_types.entity.d.ts +4 -0
  191. package/dist/entities/helpers/sales/agent/h_agent_types.entity.js +34 -0
  192. package/dist/entities/helpers/sales/agent/h_agent_types.entity.js.map +1 -0
  193. package/dist/entities/helpers/sales/agent/index.d.ts +6 -0
  194. package/dist/entities/helpers/sales/agent/index.js +23 -0
  195. package/dist/entities/helpers/sales/agent/index.js.map +1 -0
  196. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.d.ts +18 -0
  197. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js +150 -0
  198. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js.map +1 -0
  199. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.d.ts +5 -0
  200. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js +43 -0
  201. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js.map +1 -0
  202. package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +5 -0
  203. package/dist/entities/helpers/sales/common/client_sources.entity.js +36 -0
  204. package/dist/entities/helpers/sales/common/client_sources.entity.js.map +1 -0
  205. package/dist/entities/helpers/sales/common/client_types.entity.d.ts +5 -0
  206. package/dist/entities/helpers/sales/common/client_types.entity.js +36 -0
  207. package/dist/entities/helpers/sales/common/client_types.entity.js.map +1 -0
  208. package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +11 -0
  209. package/dist/entities/helpers/sales/contact/contact_email.entity.js +89 -0
  210. package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +1 -0
  211. package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +11 -0
  212. package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +92 -0
  213. package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +1 -0
  214. package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +11 -0
  215. package/dist/entities/helpers/sales/contact/contact_phone.entity.js +89 -0
  216. package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +1 -0
  217. package/dist/entities/helpers/sales/contact/index.d.ts +5 -0
  218. package/dist/entities/helpers/sales/contact/index.js +22 -0
  219. package/dist/entities/helpers/sales/contact/index.js.map +1 -0
  220. package/dist/entities/helpers/sales/index.d.ts +7 -0
  221. package/dist/entities/helpers/sales/index.js +24 -0
  222. package/dist/entities/helpers/sales/index.js.map +1 -0
  223. package/dist/entities/helpers/sales/lead/h_lead_source.entity.d.ts +4 -0
  224. package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +30 -0
  225. package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +1 -0
  226. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.d.ts +5 -0
  227. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +36 -0
  228. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +1 -0
  229. package/dist/entities/helpers/sales/lead/h_lead_types.entity.d.ts +4 -0
  230. package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +30 -0
  231. package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +1 -0
  232. package/dist/entities/helpers/sales/lead/index.d.ts +6 -0
  233. package/dist/entities/helpers/sales/lead/index.js +23 -0
  234. package/dist/entities/helpers/sales/lead/index.js.map +1 -0
  235. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.d.ts +4 -0
  236. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js +28 -0
  237. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js.map +1 -0
  238. package/dist/entities/helpers/sales/lead/lead_email.entity.d.ts +11 -0
  239. package/dist/entities/helpers/sales/lead/lead_email.entity.js +66 -0
  240. package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +1 -0
  241. package/dist/entities/helpers/sales/lead/lead_phone.entity.d.ts +11 -0
  242. package/dist/entities/helpers/sales/lead/lead_phone.entity.js +66 -0
  243. package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +1 -0
  244. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +5 -0
  245. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +30 -0
  246. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +1 -0
  247. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +5 -0
  248. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +33 -0
  249. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +1 -0
  250. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +6 -0
  251. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +39 -0
  252. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +1 -0
  253. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +6 -0
  254. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +39 -0
  255. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +1 -0
  256. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +5 -0
  257. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +30 -0
  258. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +1 -0
  259. package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.d.ts +5 -0
  260. package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js +43 -0
  261. package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js.map +1 -0
  262. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +6 -0
  263. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +36 -0
  264. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +1 -0
  265. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +5 -0
  266. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +33 -0
  267. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +1 -0
  268. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.d.ts +8 -0
  269. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js +53 -0
  270. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js.map +1 -0
  271. package/dist/entities/helpers/sales/poliza/index.d.ts +12 -0
  272. package/dist/entities/helpers/sales/poliza/index.js +29 -0
  273. package/dist/entities/helpers/sales/poliza/index.js.map +1 -0
  274. package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.d.ts +4 -0
  275. package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js +28 -0
  276. package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js.map +1 -0
  277. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +11 -0
  278. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +86 -0
  279. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +1 -0
  280. package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.d.ts +4 -0
  281. package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js +28 -0
  282. package/dist/entities/helpers/sales/poliza/poliza_settlement.entity.js.map +1 -0
  283. package/dist/entities/helpers/tools/event_crm.entity.d.ts +35 -0
  284. package/dist/entities/helpers/tools/event_crm.entity.js +251 -0
  285. package/dist/entities/helpers/tools/event_crm.entity.js.map +1 -0
  286. package/dist/entities/helpers/tools/index.d.ts +2 -0
  287. package/dist/entities/helpers/tools/index.js +19 -0
  288. package/dist/entities/helpers/tools/index.js.map +1 -0
  289. package/dist/entities/helpers/tools/task_crm.entity.d.ts +37 -0
  290. package/dist/entities/helpers/tools/task_crm.entity.js +258 -0
  291. package/dist/entities/helpers/tools/task_crm.entity.js.map +1 -0
  292. package/dist/entities/imap-config.entity.d.ts +11 -0
  293. package/dist/entities/imap-config.entity.js +61 -0
  294. package/dist/entities/imap-config.entity.js.map +1 -0
  295. package/dist/entities/index.d.ts +37 -0
  296. package/dist/entities/index.js +54 -0
  297. package/dist/entities/index.js.map +1 -0
  298. package/dist/entities/login-history.entity.d.ts +7 -0
  299. package/dist/entities/login-history.entity.js +53 -0
  300. package/dist/entities/login-history.entity.js.map +1 -0
  301. package/dist/entities/meeting-comment.entity.d.ts +8 -0
  302. package/dist/entities/meeting-comment.entity.js +46 -0
  303. package/dist/entities/meeting-comment.entity.js.map +1 -0
  304. package/dist/entities/meeting-list-field.d.ts +5 -0
  305. package/dist/entities/meeting-list-field.js +46 -0
  306. package/dist/entities/meeting-list-field.js.map +1 -0
  307. package/dist/entities/meeting.entity.d.ts +24 -0
  308. package/dist/entities/meeting.entity.js +187 -0
  309. package/dist/entities/meeting.entity.js.map +1 -0
  310. package/dist/entities/menu-permissions.entity.d.ts +7 -0
  311. package/dist/entities/menu-permissions.entity.js +42 -0
  312. package/dist/entities/menu-permissions.entity.js.map +1 -0
  313. package/dist/entities/notifications/index.d.ts +2 -0
  314. package/dist/entities/notifications/index.js +19 -0
  315. package/dist/entities/notifications/index.js.map +1 -0
  316. package/dist/entities/notifications/notification.entity.d.ts +15 -0
  317. package/dist/entities/notifications/notification.entity.js +119 -0
  318. package/dist/entities/notifications/notification.entity.js.map +1 -0
  319. package/dist/entities/notifications/push-token.entity.d.ts +7 -0
  320. package/dist/entities/notifications/push-token.entity.js +45 -0
  321. package/dist/entities/notifications/push-token.entity.js.map +1 -0
  322. package/dist/entities/otp-log.entity.d.ts +8 -0
  323. package/dist/entities/otp-log.entity.js +49 -0
  324. package/dist/entities/otp-log.entity.js.map +1 -0
  325. package/dist/entities/permission.entity.d.ts +7 -0
  326. package/dist/entities/permission.entity.js +46 -0
  327. package/dist/entities/permission.entity.js.map +1 -0
  328. package/dist/entities/phone.entity.d.ts +5 -0
  329. package/dist/entities/phone.entity.js +36 -0
  330. package/dist/entities/phone.entity.js.map +1 -0
  331. package/dist/entities/policy/index.d.ts +3 -0
  332. package/dist/entities/policy/index.js +20 -0
  333. package/dist/entities/policy/index.js.map +1 -0
  334. package/dist/entities/policy/policy-version.entity.d.ts +46 -0
  335. package/dist/entities/policy/policy-version.entity.js +427 -0
  336. package/dist/entities/policy/policy-version.entity.js.map +1 -0
  337. package/dist/entities/policy/policy.entity.d.ts +29 -0
  338. package/dist/entities/policy/policy.entity.js +296 -0
  339. package/dist/entities/policy/policy.entity.js.map +1 -0
  340. package/dist/entities/policy/version-comment.entity.d.ts +5 -0
  341. package/dist/entities/policy/version-comment.entity.js +35 -0
  342. package/dist/entities/policy/version-comment.entity.js.map +1 -0
  343. package/dist/entities/profile.entity.d.ts +9 -0
  344. package/dist/entities/profile.entity.js +56 -0
  345. package/dist/entities/profile.entity.js.map +1 -0
  346. package/dist/entities/protocol.entity.d.ts +8 -0
  347. package/dist/entities/protocol.entity.js +46 -0
  348. package/dist/entities/protocol.entity.js.map +1 -0
  349. package/dist/entities/refresh-token.entity.d.ts +8 -0
  350. package/dist/entities/refresh-token.entity.js +46 -0
  351. package/dist/entities/refresh-token.entity.js.map +1 -0
  352. package/dist/entities/role.entity.d.ts +13 -0
  353. package/dist/entities/role.entity.js +108 -0
  354. package/dist/entities/role.entity.js.map +1 -0
  355. package/dist/entities/sales/agent-comment.entity.d.ts +5 -0
  356. package/dist/entities/sales/agent-comment.entity.js +35 -0
  357. package/dist/entities/sales/agent-comment.entity.js.map +1 -0
  358. package/dist/entities/sales/agent.entity.d.ts +34 -0
  359. package/dist/entities/sales/agent.entity.js +274 -0
  360. package/dist/entities/sales/agent.entity.js.map +1 -0
  361. package/dist/entities/sales/agente-intermediario.entity.d.ts +7 -0
  362. package/dist/entities/sales/agente-intermediario.entity.js +49 -0
  363. package/dist/entities/sales/agente-intermediario.entity.js.map +1 -0
  364. package/dist/entities/sales/beneficiarios/index.d.ts +2 -0
  365. package/dist/entities/sales/beneficiarios/index.js +19 -0
  366. package/dist/entities/sales/beneficiarios/index.js.map +1 -0
  367. package/dist/entities/sales/beneficiarios/person.entity.d.ts +10 -0
  368. package/dist/entities/sales/beneficiarios/person.entity.js +89 -0
  369. package/dist/entities/sales/beneficiarios/person.entity.js.map +1 -0
  370. package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +16 -0
  371. package/dist/entities/sales/beneficiarios/vehicle.entity.js +106 -0
  372. package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +1 -0
  373. package/dist/entities/sales/contact-comment.entity.d.ts +5 -0
  374. package/dist/entities/sales/contact-comment.entity.js +32 -0
  375. package/dist/entities/sales/contact-comment.entity.js.map +1 -0
  376. package/dist/entities/sales/contact.entity.d.ts +60 -0
  377. package/dist/entities/sales/contact.entity.js +527 -0
  378. package/dist/entities/sales/contact.entity.js.map +1 -0
  379. package/dist/entities/sales/import-session.entity.d.ts +29 -0
  380. package/dist/entities/sales/import-session.entity.js +155 -0
  381. package/dist/entities/sales/import-session.entity.js.map +1 -0
  382. package/dist/entities/sales/index.d.ts +16 -0
  383. package/dist/entities/sales/index.js +33 -0
  384. package/dist/entities/sales/index.js.map +1 -0
  385. package/dist/entities/sales/lead-comment.entity.d.ts +5 -0
  386. package/dist/entities/sales/lead-comment.entity.js +32 -0
  387. package/dist/entities/sales/lead-comment.entity.js.map +1 -0
  388. package/dist/entities/sales/lead.entity.d.ts +63 -0
  389. package/dist/entities/sales/lead.entity.js +610 -0
  390. package/dist/entities/sales/lead.entity.js.map +1 -0
  391. package/dist/entities/sales/policy-comment.entity.d.ts +5 -0
  392. package/dist/entities/sales/policy-comment.entity.js +35 -0
  393. package/dist/entities/sales/policy-comment.entity.js.map +1 -0
  394. package/dist/entities/sales/poliza/index.d.ts +8 -0
  395. package/dist/entities/sales/poliza/index.js +25 -0
  396. package/dist/entities/sales/poliza/index.js.map +1 -0
  397. package/dist/entities/sales/poliza/poliza_claim-comment.entity.d.ts +5 -0
  398. package/dist/entities/sales/poliza/poliza_claim-comment.entity.js +35 -0
  399. package/dist/entities/sales/poliza/poliza_claim-comment.entity.js.map +1 -0
  400. package/dist/entities/sales/poliza/poliza_claim.entity.d.ts +36 -0
  401. package/dist/entities/sales/poliza/poliza_claim.entity.js +298 -0
  402. package/dist/entities/sales/poliza/poliza_claim.entity.js.map +1 -0
  403. package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.d.ts +5 -0
  404. package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js +35 -0
  405. package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js.map +1 -0
  406. package/dist/entities/sales/poliza/poliza_fund-recovery.entity.d.ts +33 -0
  407. package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +272 -0
  408. package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +1 -0
  409. package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.d.ts +5 -0
  410. package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js +35 -0
  411. package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js.map +1 -0
  412. package/dist/entities/sales/poliza/poliza_reimbursement.entity.d.ts +36 -0
  413. package/dist/entities/sales/poliza/poliza_reimbursement.entity.js +290 -0
  414. package/dist/entities/sales/poliza/poliza_reimbursement.entity.js.map +1 -0
  415. package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.d.ts +5 -0
  416. package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js +35 -0
  417. package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js.map +1 -0
  418. package/dist/entities/sales/poliza/poliza_scheduling.entity.d.ts +39 -0
  419. package/dist/entities/sales/poliza/poliza_scheduling.entity.js +312 -0
  420. package/dist/entities/sales/poliza/poliza_scheduling.entity.js.map +1 -0
  421. package/dist/entities/sales/poliza-comment.entity.d.ts +5 -0
  422. package/dist/entities/sales/poliza-comment.entity.js +32 -0
  423. package/dist/entities/sales/poliza-comment.entity.js.map +1 -0
  424. package/dist/entities/sales/poliza.entity.d.ts +110 -0
  425. package/dist/entities/sales/poliza.entity.js +1051 -0
  426. package/dist/entities/sales/poliza.entity.js.map +1 -0
  427. package/dist/entities/sales/poliza_pdf.entity.d.ts +96 -0
  428. package/dist/entities/sales/poliza_pdf.entity.js +946 -0
  429. package/dist/entities/sales/poliza_pdf.entity.js.map +1 -0
  430. package/dist/entities/sales/receipt-comment.entity.d.ts +5 -0
  431. package/dist/entities/sales/receipt-comment.entity.js +32 -0
  432. package/dist/entities/sales/receipt-comment.entity.js.map +1 -0
  433. package/dist/entities/sales/receipt.entity.d.ts +37 -0
  434. package/dist/entities/sales/receipt.entity.js +297 -0
  435. package/dist/entities/sales/receipt.entity.js.map +1 -0
  436. package/dist/entities/tag.entity.d.ts +8 -0
  437. package/dist/entities/tag.entity.js +53 -0
  438. package/dist/entities/tag.entity.js.map +1 -0
  439. package/dist/entities/thirdparty/diio-integration.entity.d.ts +16 -0
  440. package/dist/entities/thirdparty/diio-integration.entity.js +74 -0
  441. package/dist/entities/thirdparty/diio-integration.entity.js.map +1 -0
  442. package/dist/entities/thirdparty/google-gmail-watch-record.entity.d.ts +14 -0
  443. package/dist/entities/thirdparty/google-gmail-watch-record.entity.js +113 -0
  444. package/dist/entities/thirdparty/google-gmail-watch-record.entity.js.map +1 -0
  445. package/dist/entities/thirdparty/google-webhooks-config.entity.d.ts +19 -0
  446. package/dist/entities/thirdparty/google-webhooks-config.entity.js +82 -0
  447. package/dist/entities/thirdparty/google-webhooks-config.entity.js.map +1 -0
  448. package/dist/entities/thirdparty/oauth.entity.d.ts +24 -0
  449. package/dist/entities/thirdparty/oauth.entity.js +81 -0
  450. package/dist/entities/thirdparty/oauth.entity.js.map +1 -0
  451. package/dist/entities/tools/calendar/calendar-event-comment.entity.d.ts +8 -0
  452. package/dist/entities/tools/calendar/calendar-event-comment.entity.js +39 -0
  453. package/dist/entities/tools/calendar/calendar-event-comment.entity.js.map +1 -0
  454. package/dist/entities/tools/calendar/calendar-event-invitations.entity.d.ts +13 -0
  455. package/dist/entities/tools/calendar/calendar-event-invitations.entity.js +48 -0
  456. package/dist/entities/tools/calendar/calendar-event-invitations.entity.js.map +1 -0
  457. package/dist/entities/tools/calendar/calendar-general-config.entity.d.ts +20 -0
  458. package/dist/entities/tools/calendar/calendar-general-config.entity.js +118 -0
  459. package/dist/entities/tools/calendar/calendar-general-config.entity.js.map +1 -0
  460. package/dist/entities/tools/calendar/calendar-item.entity.d.ts +17 -0
  461. package/dist/entities/tools/calendar/calendar-item.entity.js +60 -0
  462. package/dist/entities/tools/calendar/calendar-item.entity.js.map +1 -0
  463. package/dist/entities/tools/calendar/calendar-reminder.entity.d.ts +7 -0
  464. package/dist/entities/tools/calendar/calendar-reminder.entity.js +38 -0
  465. package/dist/entities/tools/calendar/calendar-reminder.entity.js.map +1 -0
  466. package/dist/entities/tools/calendar/calendar-sub-item.entity.d.ts +32 -0
  467. package/dist/entities/tools/calendar/calendar-sub-item.entity.js +104 -0
  468. package/dist/entities/tools/calendar/calendar-sub-item.entity.js.map +1 -0
  469. package/dist/entities/tools/calendar/calendar-user-access.entity.d.ts +13 -0
  470. package/dist/entities/tools/calendar/calendar-user-access.entity.js +46 -0
  471. package/dist/entities/tools/calendar/calendar-user-access.entity.js.map +1 -0
  472. package/dist/entities/tools/calendar/event.entity.d.ts +33 -0
  473. package/dist/entities/tools/calendar/event.entity.js +230 -0
  474. package/dist/entities/tools/calendar/event.entity.js.map +1 -0
  475. package/dist/entities/tools/calendar/index.d.ts +8 -0
  476. package/dist/entities/tools/calendar/index.js +25 -0
  477. package/dist/entities/tools/calendar/index.js.map +1 -0
  478. package/dist/entities/tools/index.d.ts +7 -0
  479. package/dist/entities/tools/index.js +24 -0
  480. package/dist/entities/tools/index.js.map +1 -0
  481. package/dist/entities/tools/mail/email-signature.entity.d.ts +10 -0
  482. package/dist/entities/tools/mail/email-signature.entity.js +60 -0
  483. package/dist/entities/tools/mail/email-signature.entity.js.map +1 -0
  484. package/dist/entities/tools/mail/mail-queue-distribution.d.ts +8 -0
  485. package/dist/entities/tools/mail/mail-queue-distribution.js +38 -0
  486. package/dist/entities/tools/mail/mail-queue-distribution.js.map +1 -0
  487. package/dist/entities/tools/mail/mail-queue-entities-assigned.d.ts +9 -0
  488. package/dist/entities/tools/mail/mail-queue-entities-assigned.js +39 -0
  489. package/dist/entities/tools/mail/mail-queue-entities-assigned.js.map +1 -0
  490. package/dist/entities/tools/mail/mail-queue-status.d.ts +9 -0
  491. package/dist/entities/tools/mail/mail-queue-status.js +44 -0
  492. package/dist/entities/tools/mail/mail-queue-status.js.map +1 -0
  493. package/dist/entities/tools/mail/mail.entity.d.ts +50 -0
  494. package/dist/entities/tools/mail/mail.entity.js +120 -0
  495. package/dist/entities/tools/mail/mail.entity.js.map +1 -0
  496. package/dist/entities/tools/mail/mailbox-user-access.entity.d.ts +7 -0
  497. package/dist/entities/tools/mail/mailbox-user-access.entity.js +33 -0
  498. package/dist/entities/tools/mail/mailbox-user-access.entity.js.map +1 -0
  499. package/dist/entities/tools/mail/mailbox.entity.d.ts +57 -0
  500. package/dist/entities/tools/mail/mailbox.entity.js +104 -0
  501. package/dist/entities/tools/mail/mailbox.entity.js.map +1 -0
  502. package/dist/entities/tools/task-comment.entity.d.ts +8 -0
  503. package/dist/entities/tools/task-comment.entity.js +39 -0
  504. package/dist/entities/tools/task-comment.entity.js.map +1 -0
  505. package/dist/entities/tools/task-history.entity.d.ts +15 -0
  506. package/dist/entities/tools/task-history.entity.js +131 -0
  507. package/dist/entities/tools/task-history.entity.js.map +1 -0
  508. package/dist/entities/tools/task-list-field.d.ts +5 -0
  509. package/dist/entities/tools/task-list-field.js +39 -0
  510. package/dist/entities/tools/task-list-field.js.map +1 -0
  511. package/dist/entities/tools/task-objection.entity.d.ts +10 -0
  512. package/dist/entities/tools/task-objection.entity.js +80 -0
  513. package/dist/entities/tools/task-objection.entity.js.map +1 -0
  514. package/dist/entities/tools/task-time-track.entity.d.ts +16 -0
  515. package/dist/entities/tools/task-time-track.entity.js +139 -0
  516. package/dist/entities/tools/task-time-track.entity.js.map +1 -0
  517. package/dist/entities/tools/task.entity.d.ts +52 -0
  518. package/dist/entities/tools/task.entity.js +451 -0
  519. package/dist/entities/tools/task.entity.js.map +1 -0
  520. package/dist/entities/user-change-log.entity.d.ts +22 -0
  521. package/dist/entities/user-change-log.entity.js +77 -0
  522. package/dist/entities/user-change-log.entity.js.map +1 -0
  523. package/dist/entities/user-invitations.entity.d.ts +16 -0
  524. package/dist/entities/user-invitations.entity.js +143 -0
  525. package/dist/entities/user-invitations.entity.js.map +1 -0
  526. package/dist/entities/user.entity.d.ts +37 -0
  527. package/dist/entities/user.entity.js +260 -0
  528. package/dist/entities/user.entity.js.map +1 -0
  529. package/dist/eslint.config.d.ts +2 -0
  530. package/dist/eslint.config.js +46 -0
  531. package/dist/eslint.config.js.map +1 -0
  532. package/dist/grpc/drive/drive.proto +290 -0
  533. package/dist/grpc/drive/leads.proto +114 -0
  534. package/dist/index.d.ts +3 -0
  535. package/dist/index.js +20 -0
  536. package/dist/index.js.map +1 -0
  537. package/dist/modules/index.d.ts +5 -0
  538. package/dist/modules/index.js +22 -0
  539. package/dist/modules/index.js.map +1 -0
  540. package/dist/modules/queue/event.service.d.ts +32 -0
  541. package/dist/modules/queue/event.service.js +45 -0
  542. package/dist/modules/queue/event.service.js.map +1 -0
  543. package/dist/modules/queue/notifier.service.d.ts +15 -0
  544. package/dist/modules/queue/notifier.service.js +70 -0
  545. package/dist/modules/queue/notifier.service.js.map +1 -0
  546. package/dist/modules/queue/notifiers/calendar.notifier.d.ts +10 -0
  547. package/dist/modules/queue/notifiers/calendar.notifier.js +60 -0
  548. package/dist/modules/queue/notifiers/calendar.notifier.js.map +1 -0
  549. package/dist/modules/queue/notifiers/contact.notifier.d.ts +7 -0
  550. package/dist/modules/queue/notifiers/contact.notifier.js +52 -0
  551. package/dist/modules/queue/notifiers/contact.notifier.js.map +1 -0
  552. package/dist/modules/queue/notifiers/index.d.ts +4 -0
  553. package/dist/modules/queue/notifiers/index.js +21 -0
  554. package/dist/modules/queue/notifiers/index.js.map +1 -0
  555. package/dist/modules/queue/notifiers/lead.notifier.d.ts +7 -0
  556. package/dist/modules/queue/notifiers/lead.notifier.js +52 -0
  557. package/dist/modules/queue/notifiers/lead.notifier.js.map +1 -0
  558. package/dist/modules/queue/notifiers/task.notifier.d.ts +15 -0
  559. package/dist/modules/queue/notifiers/task.notifier.js +159 -0
  560. package/dist/modules/queue/notifiers/task.notifier.js.map +1 -0
  561. package/dist/modules/queue/queue.module.d.ts +4 -0
  562. package/dist/modules/queue/queue.module.js +68 -0
  563. package/dist/modules/queue/queue.module.js.map +1 -0
  564. package/dist/modules/queue/queue.service.d.ts +9 -0
  565. package/dist/modules/queue/queue.service.js +56 -0
  566. package/dist/modules/queue/queue.service.js.map +1 -0
  567. package/dist/modules/queue/scheduler.service.d.ts +9 -0
  568. package/dist/modules/queue/scheduler.service.js +40 -0
  569. package/dist/modules/queue/scheduler.service.js.map +1 -0
  570. package/justfile +8 -8
  571. package/package.json +46 -46
  572. package/scripts/bump.sh +8 -8
  573. package/test.bat +15 -15
  574. package/tsconfig.build.json +4 -4
  575. package/tsconfig.json +25 -25
  576. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,610 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.Lead = void 0;
13
+ const base_entity_1 = require("../../common/database/base.entity");
14
+ const client_sources_entity_1 = require("../helpers/sales/common/client_sources.entity");
15
+ const client_types_entity_1 = require("../helpers/sales/common/client_types.entity");
16
+ const user_entity_1 = require("../user.entity");
17
+ const typeorm_1 = require("typeorm");
18
+ const swagger_1 = require("@nestjs/swagger");
19
+ const common_1 = require("../../common");
20
+ const contact_entity_1 = require("./contact.entity");
21
+ const helpers_1 = require("../helpers");
22
+ const lead_comment_entity_1 = require("./lead-comment.entity");
23
+ const currency_entity_1 = require("../currency.entity");
24
+ const agente_intermediario_entity_1 = require("./agente-intermediario.entity");
25
+ const _1 = require(".");
26
+ let Lead = class Lead extends base_entity_1.EntityBase {
27
+ idBitrix;
28
+ number;
29
+ quoteNumber;
30
+ typePerson;
31
+ category;
32
+ codigo;
33
+ fullName;
34
+ name;
35
+ lastName;
36
+ secondName;
37
+ rfc;
38
+ address;
39
+ phones;
40
+ emails;
41
+ cargo;
42
+ birthdate;
43
+ gender;
44
+ type;
45
+ source;
46
+ assignedBy;
47
+ observer;
48
+ lead;
49
+ relations;
50
+ curp;
51
+ cua;
52
+ photo;
53
+ post;
54
+ observations;
55
+ company;
56
+ export;
57
+ sourceDescription;
58
+ cancelReazon;
59
+ stage;
60
+ cancelledBy;
61
+ cancelledAt;
62
+ cancelled;
63
+ contact;
64
+ activitySector;
65
+ relatedContact;
66
+ agenteIntermediario;
67
+ subAgente;
68
+ partner;
69
+ insurance;
70
+ createdBy;
71
+ modifiedBy;
72
+ comments;
73
+ quoteAmount;
74
+ quoteCurrency;
75
+ polizaType;
76
+ searchVector;
77
+ };
78
+ exports.Lead = Lead;
79
+ __decorate([
80
+ (0, swagger_1.ApiProperty)({
81
+ type: Number,
82
+ description: "Bitrix ID of the lead",
83
+ required: false,
84
+ }),
85
+ (0, typeorm_1.Column)({ name: "id_bitrix", nullable: true }),
86
+ __metadata("design:type", Number)
87
+ ], Lead.prototype, "idBitrix", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)(),
90
+ (0, typeorm_1.Generated)("increment"),
91
+ __metadata("design:type", Number)
92
+ ], Lead.prototype, "number", void 0);
93
+ __decorate([
94
+ (0, swagger_1.ApiProperty)({
95
+ type: String,
96
+ description: "Quote Number",
97
+ required: false,
98
+ }),
99
+ (0, typeorm_1.Column)({ nullable: true }),
100
+ __metadata("design:type", String)
101
+ ], Lead.prototype, "quoteNumber", void 0);
102
+ __decorate([
103
+ (0, swagger_1.ApiProperty)({
104
+ enum: common_1.PersonType,
105
+ description: "Type of person",
106
+ default: common_1.PersonType.FISICA,
107
+ }),
108
+ (0, typeorm_1.Column)({
109
+ type: "enum",
110
+ enum: common_1.PersonType,
111
+ default: common_1.PersonType.FISICA,
112
+ }),
113
+ __metadata("design:type", String)
114
+ ], Lead.prototype, "typePerson", void 0);
115
+ __decorate([
116
+ (0, swagger_1.ApiProperty)({
117
+ type: () => helpers_1.PolizaCategory,
118
+ description: "Categoría o Plan",
119
+ required: false,
120
+ }),
121
+ (0, typeorm_1.ManyToOne)(() => helpers_1.PolizaCategory, {
122
+ onDelete: "SET NULL",
123
+ onUpdate: "CASCADE",
124
+ nullable: true,
125
+ }),
126
+ __metadata("design:type", helpers_1.PolizaCategory)
127
+ ], Lead.prototype, "category", void 0);
128
+ __decorate([
129
+ (0, swagger_1.ApiProperty)({
130
+ type: String,
131
+ description: "Code of the lead",
132
+ required: false,
133
+ }),
134
+ (0, typeorm_1.Column)({ name: "codigo", length: 100, nullable: true }),
135
+ __metadata("design:type", String)
136
+ ], Lead.prototype, "codigo", void 0);
137
+ __decorate([
138
+ (0, swagger_1.ApiProperty)({
139
+ type: String,
140
+ description: "Full name of the lead",
141
+ required: false,
142
+ }),
143
+ (0, typeorm_1.Column)({ name: "full_name", length: 255, nullable: true }),
144
+ __metadata("design:type", String)
145
+ ], Lead.prototype, "fullName", void 0);
146
+ __decorate([
147
+ (0, swagger_1.ApiProperty)({
148
+ type: String,
149
+ description: "First name of the lead",
150
+ required: false,
151
+ }),
152
+ (0, typeorm_1.Column)({ name: "name", length: 150, nullable: true }),
153
+ __metadata("design:type", String)
154
+ ], Lead.prototype, "name", void 0);
155
+ __decorate([
156
+ (0, swagger_1.ApiProperty)({
157
+ type: String,
158
+ description: "Last name of the lead",
159
+ required: false,
160
+ }),
161
+ (0, typeorm_1.Column)({ name: "last_name", length: 150, nullable: true }),
162
+ __metadata("design:type", String)
163
+ ], Lead.prototype, "lastName", void 0);
164
+ __decorate([
165
+ (0, swagger_1.ApiProperty)({
166
+ type: String,
167
+ description: "Second name of the lead",
168
+ required: false,
169
+ }),
170
+ (0, typeorm_1.Column)({ name: "second_name", length: 150, nullable: true }),
171
+ __metadata("design:type", String)
172
+ ], Lead.prototype, "secondName", void 0);
173
+ __decorate([
174
+ (0, swagger_1.ApiProperty)({
175
+ type: String,
176
+ description: "RFC of the lead",
177
+ required: false,
178
+ }),
179
+ (0, typeorm_1.Column)({ name: "rfc", length: 100, nullable: true }),
180
+ __metadata("design:type", String)
181
+ ], Lead.prototype, "rfc", void 0);
182
+ __decorate([
183
+ (0, swagger_1.ApiProperty)({
184
+ type: String,
185
+ description: "Address of the lead",
186
+ required: false,
187
+ }),
188
+ (0, typeorm_1.Column)({ name: "address", type: "text", nullable: true }),
189
+ __metadata("design:type", String)
190
+ ], Lead.prototype, "address", void 0);
191
+ __decorate([
192
+ (0, swagger_1.ApiProperty)({
193
+ type: () => [helpers_1.LeadPhone],
194
+ description: "Phones associated with the lead",
195
+ }),
196
+ (0, typeorm_1.OneToMany)(() => helpers_1.LeadPhone, (leadPhone) => leadPhone.lead, {
197
+ onDelete: "CASCADE",
198
+ onUpdate: "CASCADE",
199
+ eager: true,
200
+ }),
201
+ __metadata("design:type", Array)
202
+ ], Lead.prototype, "phones", void 0);
203
+ __decorate([
204
+ (0, swagger_1.ApiProperty)({
205
+ type: () => [helpers_1.LeadEmail],
206
+ description: "Emails associated with the lead",
207
+ }),
208
+ (0, typeorm_1.OneToMany)(() => helpers_1.LeadEmail, (leadEmail) => leadEmail.lead, {
209
+ onDelete: "CASCADE",
210
+ onUpdate: "CASCADE",
211
+ eager: true,
212
+ }),
213
+ __metadata("design:type", Array)
214
+ ], Lead.prototype, "emails", void 0);
215
+ __decorate([
216
+ (0, swagger_1.ApiProperty)({
217
+ type: String,
218
+ description: "Cargo of the lead",
219
+ required: false,
220
+ }),
221
+ (0, typeorm_1.Column)({ name: "cargo", length: 150, nullable: true }),
222
+ __metadata("design:type", String)
223
+ ], Lead.prototype, "cargo", void 0);
224
+ __decorate([
225
+ (0, swagger_1.ApiProperty)({
226
+ type: Date,
227
+ description: "Birthdate of the lead",
228
+ required: false,
229
+ }),
230
+ (0, typeorm_1.Column)({ name: "birthdate", nullable: true }),
231
+ __metadata("design:type", Date)
232
+ ], Lead.prototype, "birthdate", void 0);
233
+ __decorate([
234
+ (0, swagger_1.ApiProperty)({
235
+ type: String,
236
+ description: "Gender of the lead",
237
+ required: false,
238
+ }),
239
+ (0, typeorm_1.Column)({ name: "gender", length: 10, nullable: true }),
240
+ __metadata("design:type", String)
241
+ ], Lead.prototype, "gender", void 0);
242
+ __decorate([
243
+ (0, swagger_1.ApiProperty)({
244
+ type: () => client_types_entity_1.ClientType,
245
+ description: "Lead type",
246
+ required: true,
247
+ }),
248
+ (0, typeorm_1.ManyToOne)(() => client_types_entity_1.ClientType, {
249
+ onDelete: "SET NULL",
250
+ onUpdate: "CASCADE",
251
+ nullable: true,
252
+ eager: true,
253
+ }),
254
+ __metadata("design:type", client_types_entity_1.ClientType)
255
+ ], Lead.prototype, "type", void 0);
256
+ __decorate([
257
+ (0, swagger_1.ApiProperty)({
258
+ type: () => client_sources_entity_1.ClientSource,
259
+ description: "Lead source",
260
+ required: true,
261
+ }),
262
+ (0, typeorm_1.ManyToOne)(() => client_sources_entity_1.ClientSource, {
263
+ onDelete: "SET NULL",
264
+ onUpdate: "CASCADE",
265
+ nullable: true,
266
+ eager: true,
267
+ }),
268
+ __metadata("design:type", client_sources_entity_1.ClientSource)
269
+ ], Lead.prototype, "source", void 0);
270
+ __decorate([
271
+ (0, swagger_1.ApiProperty)({
272
+ type: () => user_entity_1.User,
273
+ description: "User assigned to the lead",
274
+ required: false,
275
+ }),
276
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
277
+ onDelete: "SET NULL",
278
+ onUpdate: "CASCADE",
279
+ nullable: true,
280
+ }),
281
+ __metadata("design:type", user_entity_1.User)
282
+ ], Lead.prototype, "assignedBy", void 0);
283
+ __decorate([
284
+ (0, swagger_1.ApiProperty)({
285
+ type: () => user_entity_1.User,
286
+ description: "User observing the lead",
287
+ required: false,
288
+ }),
289
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
290
+ onDelete: "SET NULL",
291
+ onUpdate: "CASCADE",
292
+ nullable: true,
293
+ }),
294
+ __metadata("design:type", user_entity_1.User)
295
+ ], Lead.prototype, "observer", void 0);
296
+ __decorate([
297
+ (0, swagger_1.ApiProperty)({ type: () => Lead, description: "Lead", required: false }),
298
+ (0, typeorm_1.ManyToOne)(() => Lead, {
299
+ onDelete: "SET NULL",
300
+ onUpdate: "CASCADE",
301
+ nullable: true,
302
+ }),
303
+ __metadata("design:type", Lead)
304
+ ], Lead.prototype, "lead", void 0);
305
+ __decorate([
306
+ (0, swagger_1.ApiProperty)({ type: () => [contact_entity_1.Contact], description: "Contacts related" }),
307
+ (0, typeorm_1.ManyToMany)(() => contact_entity_1.Contact, {
308
+ onDelete: "CASCADE",
309
+ onUpdate: "CASCADE",
310
+ }),
311
+ (0, typeorm_1.JoinTable)(),
312
+ __metadata("design:type", Array)
313
+ ], Lead.prototype, "relations", void 0);
314
+ __decorate([
315
+ (0, swagger_1.ApiProperty)({
316
+ type: String,
317
+ description: "CURP of the lead",
318
+ required: false,
319
+ }),
320
+ (0, typeorm_1.Column)({ name: "curp", length: 50, nullable: true }),
321
+ __metadata("design:type", String)
322
+ ], Lead.prototype, "curp", void 0);
323
+ __decorate([
324
+ (0, swagger_1.ApiProperty)({
325
+ type: String,
326
+ description: "CUA of the lead",
327
+ required: false,
328
+ }),
329
+ (0, typeorm_1.Column)({ name: "cua", length: 50, nullable: true }),
330
+ __metadata("design:type", String)
331
+ ], Lead.prototype, "cua", void 0);
332
+ __decorate([
333
+ (0, swagger_1.ApiProperty)({
334
+ type: String,
335
+ description: "Photo URL of the lead",
336
+ required: false,
337
+ }),
338
+ (0, typeorm_1.Column)({ name: "photo", length: 255, nullable: true }),
339
+ __metadata("design:type", String)
340
+ ], Lead.prototype, "photo", void 0);
341
+ __decorate([
342
+ (0, swagger_1.ApiProperty)({
343
+ type: String,
344
+ description: "Post of the lead",
345
+ required: false,
346
+ }),
347
+ (0, typeorm_1.Column)({ name: "post", type: "text", nullable: true }),
348
+ __metadata("design:type", String)
349
+ ], Lead.prototype, "post", void 0);
350
+ __decorate([
351
+ (0, swagger_1.ApiProperty)({
352
+ type: String,
353
+ description: "Comments about the lead",
354
+ required: false,
355
+ }),
356
+ (0, typeorm_1.Column)({ name: "observations", type: "text", nullable: true }),
357
+ __metadata("design:type", String)
358
+ ], Lead.prototype, "observations", void 0);
359
+ __decorate([
360
+ (0, swagger_1.ApiProperty)({
361
+ type: String,
362
+ description: "Company of the lead",
363
+ required: false,
364
+ }),
365
+ (0, typeorm_1.Column)({ length: 255, nullable: true }),
366
+ __metadata("design:type", String)
367
+ ], Lead.prototype, "company", void 0);
368
+ __decorate([
369
+ (0, swagger_1.ApiProperty)({
370
+ type: Boolean,
371
+ description: "Is the lead exported?",
372
+ default: false,
373
+ }),
374
+ (0, typeorm_1.Column)({ name: "export", default: false }),
375
+ __metadata("design:type", Boolean)
376
+ ], Lead.prototype, "export", void 0);
377
+ __decorate([
378
+ (0, swagger_1.ApiProperty)({
379
+ type: String,
380
+ description: "Source description of the lead",
381
+ required: false,
382
+ }),
383
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
384
+ __metadata("design:type", String)
385
+ ], Lead.prototype, "sourceDescription", void 0);
386
+ __decorate([
387
+ (0, swagger_1.ApiProperty)({
388
+ type: () => helpers_1.LeadCancelReazon,
389
+ description: "Cancel Reazon",
390
+ required: false,
391
+ }),
392
+ (0, typeorm_1.ManyToOne)(() => helpers_1.LeadCancelReazon, {
393
+ onDelete: "SET NULL",
394
+ onUpdate: "CASCADE",
395
+ }),
396
+ __metadata("design:type", helpers_1.LeadCancelReazon)
397
+ ], Lead.prototype, "cancelReazon", void 0);
398
+ __decorate([
399
+ (0, swagger_1.ApiProperty)({
400
+ type: () => helpers_1.LeadStage,
401
+ description: "Stage of the lead",
402
+ required: true,
403
+ }),
404
+ (0, typeorm_1.ManyToOne)(() => helpers_1.LeadStage, {
405
+ onDelete: "SET NULL",
406
+ onUpdate: "CASCADE",
407
+ nullable: true,
408
+ eager: true,
409
+ }),
410
+ __metadata("design:type", helpers_1.LeadStage)
411
+ ], Lead.prototype, "stage", void 0);
412
+ __decorate([
413
+ (0, swagger_1.ApiProperty)({
414
+ type: () => user_entity_1.User,
415
+ description: "User assigned to the lead",
416
+ required: false,
417
+ }),
418
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
419
+ onDelete: "SET NULL",
420
+ onUpdate: "CASCADE",
421
+ nullable: true,
422
+ }),
423
+ __metadata("design:type", user_entity_1.User)
424
+ ], Lead.prototype, "cancelledBy", void 0);
425
+ __decorate([
426
+ (0, swagger_1.ApiProperty)({ type: Date, description: "Cancelled at", required: false }),
427
+ (0, typeorm_1.Column)({ nullable: true }),
428
+ __metadata("design:type", Date)
429
+ ], Lead.prototype, "cancelledAt", void 0);
430
+ __decorate([
431
+ (0, swagger_1.ApiProperty)({
432
+ type: Boolean,
433
+ description: "Is the lead cancelled?",
434
+ default: false,
435
+ }),
436
+ (0, typeorm_1.Column)({ default: false }),
437
+ __metadata("design:type", Boolean)
438
+ ], Lead.prototype, "cancelled", void 0);
439
+ __decorate([
440
+ (0, swagger_1.ApiProperty)({
441
+ type: () => contact_entity_1.Contact,
442
+ description: "Contact associated with this lead",
443
+ required: true,
444
+ }),
445
+ (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, (contact) => contact.leads, {
446
+ onDelete: "SET NULL",
447
+ onUpdate: "CASCADE",
448
+ }),
449
+ __metadata("design:type", contact_entity_1.Contact)
450
+ ], Lead.prototype, "contact", void 0);
451
+ __decorate([
452
+ (0, swagger_1.ApiProperty)({
453
+ type: String,
454
+ description: "Sector de actividad",
455
+ required: false,
456
+ }),
457
+ (0, typeorm_1.Column)({ name: "activity_sector", length: 100, nullable: true }),
458
+ __metadata("design:type", String)
459
+ ], Lead.prototype, "activitySector", void 0);
460
+ __decorate([
461
+ (0, swagger_1.ApiProperty)({
462
+ type: () => contact_entity_1.Contact,
463
+ description: "Related contact",
464
+ required: false,
465
+ }),
466
+ (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, (contact) => contact.relations, {
467
+ onDelete: "SET NULL",
468
+ onUpdate: "CASCADE",
469
+ nullable: true,
470
+ }),
471
+ __metadata("design:type", contact_entity_1.Contact)
472
+ ], Lead.prototype, "relatedContact", void 0);
473
+ __decorate([
474
+ (0, swagger_1.ApiProperty)({
475
+ type: () => agente_intermediario_entity_1.AgenteIntermediario,
476
+ description: "Agente Intermediary associated with the contact",
477
+ required: false,
478
+ }),
479
+ (0, typeorm_1.ManyToOne)(() => agente_intermediario_entity_1.AgenteIntermediario, {
480
+ onDelete: "SET NULL",
481
+ onUpdate: "CASCADE",
482
+ nullable: true,
483
+ }),
484
+ __metadata("design:type", agente_intermediario_entity_1.AgenteIntermediario)
485
+ ], Lead.prototype, "agenteIntermediario", void 0);
486
+ __decorate([
487
+ (0, swagger_1.ApiProperty)({
488
+ type: () => _1.Agent,
489
+ description: "Sub Agent associated with the poliza",
490
+ required: false,
491
+ }),
492
+ (0, typeorm_1.ManyToOne)(() => _1.Agent, {
493
+ onDelete: "SET NULL",
494
+ onUpdate: "CASCADE",
495
+ nullable: true,
496
+ }),
497
+ __metadata("design:type", _1.Agent)
498
+ ], Lead.prototype, "subAgente", void 0);
499
+ __decorate([
500
+ (0, swagger_1.ApiProperty)({
501
+ type: () => _1.Agent,
502
+ description: "Partner associated with the receipt",
503
+ required: false,
504
+ }),
505
+ (0, typeorm_1.ManyToOne)(() => _1.Agent, {
506
+ onDelete: "SET NULL",
507
+ onUpdate: "CASCADE",
508
+ nullable: true,
509
+ }),
510
+ __metadata("design:type", _1.Agent)
511
+ ], Lead.prototype, "partner", void 0);
512
+ __decorate([
513
+ (0, swagger_1.ApiProperty)({
514
+ type: () => helpers_1.PolizaInsurance,
515
+ description: "Insurance associated with the lead",
516
+ required: false,
517
+ }),
518
+ (0, typeorm_1.ManyToOne)(() => helpers_1.PolizaInsurance, {
519
+ onDelete: "SET NULL",
520
+ onUpdate: "CASCADE",
521
+ nullable: true,
522
+ }),
523
+ __metadata("design:type", helpers_1.PolizaInsurance)
524
+ ], Lead.prototype, "insurance", void 0);
525
+ __decorate([
526
+ (0, swagger_1.ApiProperty)({
527
+ type: () => user_entity_1.User,
528
+ description: "User who created the lead",
529
+ required: false,
530
+ }),
531
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
532
+ onDelete: "SET NULL",
533
+ onUpdate: "CASCADE",
534
+ nullable: true,
535
+ }),
536
+ (0, typeorm_1.JoinColumn)(),
537
+ __metadata("design:type", user_entity_1.User)
538
+ ], Lead.prototype, "createdBy", void 0);
539
+ __decorate([
540
+ (0, swagger_1.ApiProperty)({
541
+ type: () => user_entity_1.User,
542
+ description: "User who modified the lead",
543
+ required: false,
544
+ }),
545
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
546
+ onDelete: "SET NULL",
547
+ onUpdate: "CASCADE",
548
+ nullable: true,
549
+ }),
550
+ (0, typeorm_1.JoinColumn)(),
551
+ __metadata("design:type", user_entity_1.User)
552
+ ], Lead.prototype, "modifiedBy", void 0);
553
+ __decorate([
554
+ (0, swagger_1.ApiProperty)({
555
+ type: () => [lead_comment_entity_1.LeadComment],
556
+ description: "Comments on the lead",
557
+ }),
558
+ (0, typeorm_1.OneToMany)(() => lead_comment_entity_1.LeadComment, (leadComment) => leadComment.lead),
559
+ (0, typeorm_1.JoinColumn)(),
560
+ __metadata("design:type", Array)
561
+ ], Lead.prototype, "comments", void 0);
562
+ __decorate([
563
+ (0, swagger_1.ApiProperty)({
564
+ type: Number,
565
+ description: "Amount of the quotation",
566
+ required: false,
567
+ }),
568
+ (0, typeorm_1.Column)({
569
+ name: "quote_amount",
570
+ type: "decimal",
571
+ precision: 10,
572
+ scale: 2,
573
+ nullable: true,
574
+ }),
575
+ __metadata("design:type", Number)
576
+ ], Lead.prototype, "quoteAmount", void 0);
577
+ __decorate([
578
+ (0, swagger_1.ApiProperty)({
579
+ type: () => currency_entity_1.Currency,
580
+ description: "Currency",
581
+ required: false,
582
+ }),
583
+ (0, typeorm_1.ManyToOne)(() => currency_entity_1.Currency, {
584
+ onDelete: "SET NULL",
585
+ onUpdate: "CASCADE",
586
+ nullable: true,
587
+ }),
588
+ __metadata("design:type", currency_entity_1.Currency)
589
+ ], Lead.prototype, "quoteCurrency", void 0);
590
+ __decorate([
591
+ (0, swagger_1.ApiProperty)({
592
+ type: () => helpers_1.PolizaType,
593
+ description: "Policy Branch",
594
+ required: false,
595
+ }),
596
+ (0, typeorm_1.ManyToOne)(() => helpers_1.PolizaType, {
597
+ onDelete: "SET NULL",
598
+ onUpdate: "CASCADE",
599
+ nullable: true,
600
+ }),
601
+ __metadata("design:type", helpers_1.PolizaType)
602
+ ], Lead.prototype, "polizaType", void 0);
603
+ __decorate([
604
+ (0, typeorm_1.Column)({ type: "tsvector", nullable: true }),
605
+ __metadata("design:type", String)
606
+ ], Lead.prototype, "searchVector", void 0);
607
+ exports.Lead = Lead = __decorate([
608
+ (0, typeorm_1.Entity)()
609
+ ], Lead);
610
+ //# sourceMappingURL=lead.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lead.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/lead.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA+D;AAC/D,yFAA6E;AAC7E,qFAAyE;AACzE,gDAAsC;AACtC,qCASiB;AACjB,6CAA8C;AAC9C,yCAA0C;AAC1C,qDAA2C;AAC3C,wCAQoB;AACpB,+DAAoD;AACpD,wDAA8C;AAC9C,+EAAoE;AACpE,wBAA0B;AAEnB,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,wBAAU;IAOlC,QAAQ,CAAU;IAIlB,MAAM,CAAS;IAQf,WAAW,CAAS;IAYpB,UAAU,CAAa;IAYvB,QAAQ,CAAkB;IAQ1B,MAAM,CAAU;IAShB,QAAQ,CAAU;IAQlB,IAAI,CAAU;IAQd,QAAQ,CAAU;IAQlB,UAAU,CAAU;IASpB,GAAG,CAAU;IAQb,OAAO,CAAU;IAWjB,MAAM,CAAe;IAWrB,MAAM,CAAe;IAQrB,KAAK,CAAU;IAQf,SAAS,CAAQ;IAQjB,MAAM,CAAU;IAahB,IAAI,CAAc;IAalB,MAAM,CAAgB;IAYtB,UAAU,CAAQ;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,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACxB;eA/dV,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAgehB"}
@@ -0,0 +1,5 @@
1
+ import { CommentBase } from "../../common";
2
+ import { Policy } from "../policy/policy.entity";
3
+ export declare class PolicyComment extends CommentBase {
4
+ policy: Policy;
5
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.PolicyComment = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const swagger_1 = require("@nestjs/swagger");
15
+ const common_1 = require("../../common");
16
+ const policy_entity_1 = require("../policy/policy.entity");
17
+ let PolicyComment = class PolicyComment extends common_1.CommentBase {
18
+ policy;
19
+ };
20
+ exports.PolicyComment = PolicyComment;
21
+ __decorate([
22
+ (0, swagger_1.ApiProperty)({
23
+ type: () => policy_entity_1.Policy,
24
+ description: "Policy associated with the comment",
25
+ }),
26
+ (0, typeorm_1.ManyToOne)(() => policy_entity_1.Policy, {
27
+ onDelete: "CASCADE",
28
+ onUpdate: "CASCADE",
29
+ }),
30
+ __metadata("design:type", policy_entity_1.Policy)
31
+ ], PolicyComment.prototype, "policy", void 0);
32
+ exports.PolicyComment = PolicyComment = __decorate([
33
+ (0, typeorm_1.Entity)()
34
+ ], PolicyComment);
35
+ //# sourceMappingURL=policy-comment.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policy-comment.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/policy-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4C;AAC5C,6CAA8C;AAC9C,yCAA2C;AAC3C,2DAAiD;AAG1C,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,oBAAW;IAS5C,MAAM,CAAS;CAChB,CAAA;AAVY,sCAAa;AASxB;IARC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAM;QAClB,WAAW,EAAE,oCAAoC;KAClD,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE;QACvB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACM,sBAAM;6CAAC;wBATJ,aAAa;IADzB,IAAA,gBAAM,GAAE;GACI,aAAa,CAUzB"}
@@ -0,0 +1,8 @@
1
+ export * from "./poliza_reimbursement.entity";
2
+ export * from "./poliza_scheduling.entity";
3
+ export * from "./poliza_reimbursement-comment.entity";
4
+ export * from "./poliza_scheduling-comment.entity";
5
+ export * from "./poliza_fund-recovery.entity";
6
+ export * from "./poliza_fund-recovery-comment.entity";
7
+ export * from "./poliza_claim.entity";
8
+ export * from "./poliza_claim-comment.entity";