easywork-common-lib 1.0.756 → 1.0.757

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 (511) hide show
  1. package/dist/common/@types/enums/crm.enum.d.ts +8 -0
  2. package/dist/common/@types/enums/crm.enum.js +14 -0
  3. package/dist/common/@types/enums/crm.enum.js.map +1 -0
  4. package/dist/common/@types/enums/index.d.ts +3 -0
  5. package/dist/common/@types/enums/index.js +20 -0
  6. package/dist/common/@types/enums/index.js.map +1 -0
  7. package/dist/common/@types/enums/misc.enum.d.ts +60 -0
  8. package/dist/common/@types/enums/misc.enum.js +81 -0
  9. package/dist/common/@types/enums/misc.enum.js.map +1 -0
  10. package/dist/common/@types/enums/permission.enum.d.ts +13 -0
  11. package/dist/common/@types/enums/permission.enum.js +19 -0
  12. package/dist/common/@types/enums/permission.enum.js.map +1 -0
  13. package/dist/common/@types/index.d.ts +2 -0
  14. package/dist/common/@types/index.js +19 -0
  15. package/dist/common/@types/index.js.map +1 -0
  16. package/dist/common/@types/interfaces/authentication.interface.d.ts +17 -0
  17. package/dist/common/@types/interfaces/authentication.interface.js +3 -0
  18. package/dist/common/@types/interfaces/authentication.interface.js.map +1 -0
  19. package/dist/common/@types/interfaces/crm.interface.d.ts +131 -0
  20. package/dist/common/@types/interfaces/crm.interface.js +3 -0
  21. package/dist/common/@types/interfaces/crm.interface.js.map +1 -0
  22. package/dist/common/@types/interfaces/file.interface.d.ts +14 -0
  23. package/dist/common/@types/interfaces/file.interface.js +3 -0
  24. package/dist/common/@types/interfaces/file.interface.js.map +1 -0
  25. package/dist/common/@types/interfaces/index.d.ts +6 -0
  26. package/dist/common/@types/interfaces/index.js +23 -0
  27. package/dist/common/@types/interfaces/index.js.map +1 -0
  28. package/dist/common/@types/interfaces/lsm.interface.d.ts +5 -0
  29. package/dist/common/@types/interfaces/lsm.interface.js +3 -0
  30. package/dist/common/@types/interfaces/lsm.interface.js.map +1 -0
  31. package/dist/common/@types/interfaces/mail.interface.d.ts +9 -0
  32. package/dist/common/@types/interfaces/mail.interface.js +3 -0
  33. package/dist/common/@types/interfaces/mail.interface.js.map +1 -0
  34. package/dist/common/@types/interfaces/validator.interface.d.ts +41 -0
  35. package/dist/common/@types/interfaces/validator.interface.js +3 -0
  36. package/dist/common/@types/interfaces/validator.interface.js.map +1 -0
  37. package/dist/common/constants/app.contants.d.ts +48 -0
  38. package/dist/common/constants/app.contants.js +219 -0
  39. package/dist/common/constants/app.contants.js.map +1 -0
  40. package/dist/common/constants/index.d.ts +3 -0
  41. package/dist/common/constants/index.js +20 -0
  42. package/dist/common/constants/index.js.map +1 -0
  43. package/dist/common/constants/regex.constant.d.ts +6 -0
  44. package/dist/common/constants/regex.constant.js +10 -0
  45. package/dist/common/constants/regex.constant.js.map +1 -0
  46. package/dist/common/constants/string.constant.d.ts +5 -0
  47. package/dist/common/constants/string.constant.js +41 -0
  48. package/dist/common/constants/string.constant.js.map +1 -0
  49. package/dist/common/database/base.entity.d.ts +15 -0
  50. package/dist/common/database/base.entity.js +76 -0
  51. package/dist/common/database/base.entity.js.map +1 -0
  52. package/dist/common/database/comment.base.entity.d.ts +11 -0
  53. package/dist/common/database/comment.base.entity.js +83 -0
  54. package/dist/common/database/comment.base.entity.js.map +1 -0
  55. package/dist/common/database/index.d.ts +2 -0
  56. package/dist/common/database/index.js +19 -0
  57. package/dist/common/database/index.js.map +1 -0
  58. package/dist/common/dtos/index.d.ts +1 -0
  59. package/dist/common/dtos/index.js +18 -0
  60. package/dist/common/dtos/index.js.map +1 -0
  61. package/dist/common/dtos/send-notification.dto.d.ts +11 -0
  62. package/dist/common/dtos/send-notification.dto.js +60 -0
  63. package/dist/common/dtos/send-notification.dto.js.map +1 -0
  64. package/dist/common/enums/common.enum.d.ts +18 -0
  65. package/dist/common/enums/common.enum.js +25 -0
  66. package/dist/common/enums/common.enum.js.map +1 -0
  67. package/dist/common/enums/drive.enum.d.ts +26 -0
  68. package/dist/common/enums/drive.enum.js +32 -0
  69. package/dist/common/enums/drive.enum.js.map +1 -0
  70. package/dist/common/enums/index.d.ts +5 -0
  71. package/dist/common/enums/index.js +22 -0
  72. package/dist/common/enums/index.js.map +1 -0
  73. package/dist/common/enums/notification.enum.d.ts +42 -0
  74. package/dist/common/enums/notification.enum.js +49 -0
  75. package/dist/common/enums/notification.enum.js.map +1 -0
  76. package/dist/common/enums/sales.enum.d.ts +107 -0
  77. package/dist/common/enums/sales.enum.js +129 -0
  78. package/dist/common/enums/sales.enum.js.map +1 -0
  79. package/dist/common/enums/tools.enum.d.ts +54 -0
  80. package/dist/common/enums/tools.enum.js +65 -0
  81. package/dist/common/enums/tools.enum.js.map +1 -0
  82. package/dist/common/functions/cripto.d.ts +1 -0
  83. package/dist/common/functions/cripto.js +8 -0
  84. package/dist/common/functions/cripto.js.map +1 -0
  85. package/dist/common/functions/image.d.ts +3 -0
  86. package/dist/common/functions/image.js +16 -0
  87. package/dist/common/functions/image.js.map +1 -0
  88. package/dist/common/functions/index.d.ts +2 -0
  89. package/dist/common/functions/index.js +19 -0
  90. package/dist/common/functions/index.js.map +1 -0
  91. package/dist/common/helpers/app.utils.d.ts +5 -0
  92. package/dist/common/helpers/app.utils.js +32 -0
  93. package/dist/common/helpers/app.utils.js.map +1 -0
  94. package/dist/common/helpers/helpers.utils.d.ts +5 -0
  95. package/dist/common/helpers/helpers.utils.js +26 -0
  96. package/dist/common/helpers/helpers.utils.js.map +1 -0
  97. package/dist/common/helpers/index.d.ts +2 -0
  98. package/dist/common/helpers/index.js +19 -0
  99. package/dist/common/helpers/index.js.map +1 -0
  100. package/dist/common/index.d.ts +8 -0
  101. package/dist/common/index.js +25 -0
  102. package/dist/common/index.js.map +1 -0
  103. package/dist/common/interceptors/index.d.ts +1 -0
  104. package/dist/common/interceptors/index.js +18 -0
  105. package/dist/common/interceptors/index.js.map +1 -0
  106. package/dist/common/interceptors/security.interceptor.d.ts +5 -0
  107. package/dist/common/interceptors/security.interceptor.js +22 -0
  108. package/dist/common/interceptors/security.interceptor.js.map +1 -0
  109. package/dist/entities/app_config/app-config.entity.d.ts +5 -0
  110. package/dist/entities/app_config/app-config.entity.js +33 -0
  111. package/dist/entities/app_config/app-config.entity.js.map +1 -0
  112. package/dist/entities/capacitation/capacitation.entity.d.ts +10 -0
  113. package/dist/entities/capacitation/capacitation.entity.js +68 -0
  114. package/dist/entities/capacitation/capacitation.entity.js.map +1 -0
  115. package/dist/entities/capacitation/course-assigned.entity.d.ts +12 -0
  116. package/dist/entities/capacitation/course-assigned.entity.js +44 -0
  117. package/dist/entities/capacitation/course-assigned.entity.js.map +1 -0
  118. package/dist/entities/capacitation/course-evaluation-attempt.entity.d.ts +22 -0
  119. package/dist/entities/capacitation/course-evaluation-attempt.entity.js +96 -0
  120. package/dist/entities/capacitation/course-evaluation-attempt.entity.js.map +1 -0
  121. package/dist/entities/capacitation/course-evaluation.entity.d.ts +42 -0
  122. package/dist/entities/capacitation/course-evaluation.entity.js +111 -0
  123. package/dist/entities/capacitation/course-evaluation.entity.js.map +1 -0
  124. package/dist/entities/capacitation/course-folder-page.entity.d.ts +14 -0
  125. package/dist/entities/capacitation/course-folder-page.entity.js +74 -0
  126. package/dist/entities/capacitation/course-folder-page.entity.js.map +1 -0
  127. package/dist/entities/capacitation/course-folder.entity.d.ts +10 -0
  128. package/dist/entities/capacitation/course-folder.entity.js +57 -0
  129. package/dist/entities/capacitation/course-folder.entity.js.map +1 -0
  130. package/dist/entities/capacitation/course-order.entity.d.ts +8 -0
  131. package/dist/entities/capacitation/course-order.entity.js +45 -0
  132. package/dist/entities/capacitation/course-order.entity.js.map +1 -0
  133. package/dist/entities/capacitation/course.entity.d.ts +21 -0
  134. package/dist/entities/capacitation/course.entity.js +119 -0
  135. package/dist/entities/capacitation/course.entity.js.map +1 -0
  136. package/dist/entities/capacitation/index.d.ts +8 -0
  137. package/dist/entities/capacitation/index.js +21 -0
  138. package/dist/entities/capacitation/index.js.map +1 -0
  139. package/dist/entities/currency.entity.d.ts +6 -0
  140. package/dist/entities/currency.entity.js +43 -0
  141. package/dist/entities/currency.entity.js.map +1 -0
  142. package/dist/entities/drive/attached_object.entity.d.ts +27 -0
  143. package/dist/entities/drive/attached_object.entity.js +154 -0
  144. package/dist/entities/drive/attached_object.entity.js.map +1 -0
  145. package/dist/entities/drive/file.entity.d.ts +19 -0
  146. package/dist/entities/drive/file.entity.js +130 -0
  147. package/dist/entities/drive/file.entity.js.map +1 -0
  148. package/dist/entities/drive/folder.entity.d.ts +18 -0
  149. package/dist/entities/drive/folder.entity.js +137 -0
  150. package/dist/entities/drive/folder.entity.js.map +1 -0
  151. package/dist/entities/drive/index.d.ts +3 -0
  152. package/dist/entities/drive/index.js +20 -0
  153. package/dist/entities/drive/index.js.map +1 -0
  154. package/dist/entities/easyapp/filter-view.entity.d.ts +7 -0
  155. package/dist/entities/easyapp/filter-view.entity.js +41 -0
  156. package/dist/entities/easyapp/filter-view.entity.js.map +1 -0
  157. package/dist/entities/email.entity.d.ts +5 -0
  158. package/dist/entities/email.entity.js +36 -0
  159. package/dist/entities/email.entity.js.map +1 -0
  160. package/dist/entities/group.entity.d.ts +13 -0
  161. package/dist/entities/group.entity.js +57 -0
  162. package/dist/entities/group.entity.js.map +1 -0
  163. package/dist/entities/helpers/entity_file.entity.d.ts +10 -0
  164. package/dist/entities/helpers/entity_file.entity.js +61 -0
  165. package/dist/entities/helpers/entity_file.entity.js.map +1 -0
  166. package/dist/entities/helpers/entity_folder.entity.d.ts +10 -0
  167. package/dist/entities/helpers/entity_folder.entity.js +61 -0
  168. package/dist/entities/helpers/entity_folder.entity.js.map +1 -0
  169. package/dist/entities/helpers/index.d.ts +5 -0
  170. package/dist/entities/helpers/index.js +22 -0
  171. package/dist/entities/helpers/index.js.map +1 -0
  172. package/dist/entities/helpers/meeting_crm.entity.d.ts +23 -0
  173. package/dist/entities/helpers/meeting_crm.entity.js +166 -0
  174. package/dist/entities/helpers/meeting_crm.entity.js.map +1 -0
  175. package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.d.ts +20 -0
  176. package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js +160 -0
  177. package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js.map +1 -0
  178. package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.d.ts +5 -0
  179. package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js +43 -0
  180. package/dist/entities/helpers/sales/agent/connection/h_agent_connection_stage.entity.js.map +1 -0
  181. package/dist/entities/helpers/sales/agent/h_agent_source.entity.d.ts +4 -0
  182. package/dist/entities/helpers/sales/agent/h_agent_source.entity.js +34 -0
  183. package/dist/entities/helpers/sales/agent/h_agent_source.entity.js.map +1 -0
  184. package/dist/entities/helpers/sales/agent/h_agent_types.entity.d.ts +4 -0
  185. package/dist/entities/helpers/sales/agent/h_agent_types.entity.js +34 -0
  186. package/dist/entities/helpers/sales/agent/h_agent_types.entity.js.map +1 -0
  187. package/dist/entities/helpers/sales/agent/index.d.ts +6 -0
  188. package/dist/entities/helpers/sales/agent/index.js +23 -0
  189. package/dist/entities/helpers/sales/agent/index.js.map +1 -0
  190. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.d.ts +15 -0
  191. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js +120 -0
  192. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment.entity.js.map +1 -0
  193. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.d.ts +5 -0
  194. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js +43 -0
  195. package/dist/entities/helpers/sales/agent/recruitment/h_agent_recruitment_stage.entity.js.map +1 -0
  196. package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +5 -0
  197. package/dist/entities/helpers/sales/common/client_sources.entity.js +36 -0
  198. package/dist/entities/helpers/sales/common/client_sources.entity.js.map +1 -0
  199. package/dist/entities/helpers/sales/common/client_types.entity.d.ts +5 -0
  200. package/dist/entities/helpers/sales/common/client_types.entity.js +36 -0
  201. package/dist/entities/helpers/sales/common/client_types.entity.js.map +1 -0
  202. package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +11 -0
  203. package/dist/entities/helpers/sales/contact/contact_email.entity.js +68 -0
  204. package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +1 -0
  205. package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +11 -0
  206. package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +92 -0
  207. package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +1 -0
  208. package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +11 -0
  209. package/dist/entities/helpers/sales/contact/contact_phone.entity.js +68 -0
  210. package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +1 -0
  211. package/dist/entities/helpers/sales/contact/index.d.ts +5 -0
  212. package/dist/entities/helpers/sales/contact/index.js +22 -0
  213. package/dist/entities/helpers/sales/contact/index.js.map +1 -0
  214. package/dist/entities/helpers/sales/index.d.ts +7 -0
  215. package/dist/entities/helpers/sales/index.js +24 -0
  216. package/dist/entities/helpers/sales/index.js.map +1 -0
  217. package/dist/entities/helpers/sales/lead/h_lead_source.entity.d.ts +4 -0
  218. package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +30 -0
  219. package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +1 -0
  220. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.d.ts +5 -0
  221. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +36 -0
  222. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +1 -0
  223. package/dist/entities/helpers/sales/lead/h_lead_types.entity.d.ts +4 -0
  224. package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +30 -0
  225. package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +1 -0
  226. package/dist/entities/helpers/sales/lead/index.d.ts +6 -0
  227. package/dist/entities/helpers/sales/lead/index.js +23 -0
  228. package/dist/entities/helpers/sales/lead/index.js.map +1 -0
  229. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.d.ts +4 -0
  230. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js +28 -0
  231. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js.map +1 -0
  232. package/dist/entities/helpers/sales/lead/lead_email.entity.d.ts +11 -0
  233. package/dist/entities/helpers/sales/lead/lead_email.entity.js +66 -0
  234. package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +1 -0
  235. package/dist/entities/helpers/sales/lead/lead_phone.entity.d.ts +11 -0
  236. package/dist/entities/helpers/sales/lead/lead_phone.entity.js +66 -0
  237. package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +1 -0
  238. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +5 -0
  239. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +30 -0
  240. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +1 -0
  241. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +5 -0
  242. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +33 -0
  243. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +1 -0
  244. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +6 -0
  245. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +39 -0
  246. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +1 -0
  247. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +6 -0
  248. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +39 -0
  249. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +1 -0
  250. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +5 -0
  251. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +30 -0
  252. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +1 -0
  253. package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.d.ts +5 -0
  254. package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js +43 -0
  255. package/dist/entities/helpers/sales/poliza/h_poliza_stage.entity.js.map +1 -0
  256. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +6 -0
  257. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +36 -0
  258. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +1 -0
  259. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +5 -0
  260. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +33 -0
  261. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +1 -0
  262. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.d.ts +8 -0
  263. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js +53 -0
  264. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js.map +1 -0
  265. package/dist/entities/helpers/sales/poliza/index.d.ts +11 -0
  266. package/dist/entities/helpers/sales/poliza/index.js +28 -0
  267. package/dist/entities/helpers/sales/poliza/index.js.map +1 -0
  268. package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.d.ts +4 -0
  269. package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js +28 -0
  270. package/dist/entities/helpers/sales/poliza/poliza_cancel_reason.entity.js.map +1 -0
  271. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +11 -0
  272. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +86 -0
  273. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +1 -0
  274. package/dist/entities/helpers/tools/event_crm.entity.d.ts +23 -0
  275. package/dist/entities/helpers/tools/event_crm.entity.js +166 -0
  276. package/dist/entities/helpers/tools/event_crm.entity.js.map +1 -0
  277. package/dist/entities/helpers/tools/index.d.ts +2 -0
  278. package/dist/entities/helpers/tools/index.js +19 -0
  279. package/dist/entities/helpers/tools/index.js.map +1 -0
  280. package/dist/entities/helpers/tools/task_crm.entity.d.ts +27 -0
  281. package/dist/entities/helpers/tools/task_crm.entity.js +196 -0
  282. package/dist/entities/helpers/tools/task_crm.entity.js.map +1 -0
  283. package/dist/entities/helpers/user/access_history.entity.d.ts +9 -0
  284. package/dist/entities/helpers/user/access_history.entity.js +58 -0
  285. package/dist/entities/helpers/user/access_history.entity.js.map +1 -0
  286. package/dist/entities/imap-config.entity.d.ts +11 -0
  287. package/dist/entities/imap-config.entity.js +61 -0
  288. package/dist/entities/imap-config.entity.js.map +1 -0
  289. package/dist/entities/index.d.ts +31 -0
  290. package/dist/entities/index.js +48 -0
  291. package/dist/entities/index.js.map +1 -0
  292. package/dist/entities/meeting-comment.entity.d.ts +8 -0
  293. package/dist/entities/meeting-comment.entity.js +46 -0
  294. package/dist/entities/meeting-comment.entity.js.map +1 -0
  295. package/dist/entities/meeting-list-field.d.ts +5 -0
  296. package/dist/entities/meeting-list-field.js +46 -0
  297. package/dist/entities/meeting-list-field.js.map +1 -0
  298. package/dist/entities/meeting.entity.d.ts +24 -0
  299. package/dist/entities/meeting.entity.js +187 -0
  300. package/dist/entities/meeting.entity.js.map +1 -0
  301. package/dist/entities/menu-permissions.entity.d.ts +7 -0
  302. package/dist/entities/menu-permissions.entity.js +42 -0
  303. package/dist/entities/menu-permissions.entity.js.map +1 -0
  304. package/dist/entities/notifications/index.d.ts +2 -0
  305. package/dist/entities/notifications/index.js +19 -0
  306. package/dist/entities/notifications/index.js.map +1 -0
  307. package/dist/entities/notifications/notification.entity.d.ts +15 -0
  308. package/dist/entities/notifications/notification.entity.js +119 -0
  309. package/dist/entities/notifications/notification.entity.js.map +1 -0
  310. package/dist/entities/notifications/push-token.entity.d.ts +7 -0
  311. package/dist/entities/notifications/push-token.entity.js +45 -0
  312. package/dist/entities/notifications/push-token.entity.js.map +1 -0
  313. package/dist/entities/otp-log.entity.d.ts +8 -0
  314. package/dist/entities/otp-log.entity.js +49 -0
  315. package/dist/entities/otp-log.entity.js.map +1 -0
  316. package/dist/entities/permission.entity.d.ts +7 -0
  317. package/dist/entities/permission.entity.js +46 -0
  318. package/dist/entities/permission.entity.js.map +1 -0
  319. package/dist/entities/phone.entity.d.ts +5 -0
  320. package/dist/entities/phone.entity.js +36 -0
  321. package/dist/entities/phone.entity.js.map +1 -0
  322. package/dist/entities/profile.entity.d.ts +9 -0
  323. package/dist/entities/profile.entity.js +56 -0
  324. package/dist/entities/profile.entity.js.map +1 -0
  325. package/dist/entities/protocol.entity.d.ts +8 -0
  326. package/dist/entities/protocol.entity.js +46 -0
  327. package/dist/entities/protocol.entity.js.map +1 -0
  328. package/dist/entities/refresh-token.entity.d.ts +8 -0
  329. package/dist/entities/refresh-token.entity.js +46 -0
  330. package/dist/entities/refresh-token.entity.js.map +1 -0
  331. package/dist/entities/role.entity.d.ts +7 -0
  332. package/dist/entities/role.entity.js +48 -0
  333. package/dist/entities/role.entity.js.map +1 -0
  334. package/dist/entities/sales/agent-comment.entity.d.ts +5 -0
  335. package/dist/entities/sales/agent-comment.entity.js +35 -0
  336. package/dist/entities/sales/agent-comment.entity.js.map +1 -0
  337. package/dist/entities/sales/agent.entity.d.ts +32 -0
  338. package/dist/entities/sales/agent.entity.js +254 -0
  339. package/dist/entities/sales/agent.entity.js.map +1 -0
  340. package/dist/entities/sales/agente-intermediario.entity.d.ts +7 -0
  341. package/dist/entities/sales/agente-intermediario.entity.js +49 -0
  342. package/dist/entities/sales/agente-intermediario.entity.js.map +1 -0
  343. package/dist/entities/sales/beneficiarios/index.d.ts +2 -0
  344. package/dist/entities/sales/beneficiarios/index.js +19 -0
  345. package/dist/entities/sales/beneficiarios/index.js.map +1 -0
  346. package/dist/entities/sales/beneficiarios/person.entity.d.ts +10 -0
  347. package/dist/entities/sales/beneficiarios/person.entity.js +89 -0
  348. package/dist/entities/sales/beneficiarios/person.entity.js.map +1 -0
  349. package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +16 -0
  350. package/dist/entities/sales/beneficiarios/vehicle.entity.js +106 -0
  351. package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +1 -0
  352. package/dist/entities/sales/contact-comment.entity.d.ts +5 -0
  353. package/dist/entities/sales/contact-comment.entity.js +32 -0
  354. package/dist/entities/sales/contact-comment.entity.js.map +1 -0
  355. package/dist/entities/sales/contact.entity.d.ts +57 -0
  356. package/dist/entities/sales/contact.entity.js +497 -0
  357. package/dist/entities/sales/contact.entity.js.map +1 -0
  358. package/dist/entities/sales/import-session.entity.d.ts +29 -0
  359. package/dist/entities/sales/import-session.entity.js +155 -0
  360. package/dist/entities/sales/import-session.entity.js.map +1 -0
  361. package/dist/entities/sales/index.d.ts +16 -0
  362. package/dist/entities/sales/index.js +33 -0
  363. package/dist/entities/sales/index.js.map +1 -0
  364. package/dist/entities/sales/lead-comment.entity.d.ts +5 -0
  365. package/dist/entities/sales/lead-comment.entity.js +32 -0
  366. package/dist/entities/sales/lead-comment.entity.js.map +1 -0
  367. package/dist/entities/sales/lead.entity.d.ts +60 -0
  368. package/dist/entities/sales/lead.entity.js +572 -0
  369. package/dist/entities/sales/lead.entity.js.map +1 -0
  370. package/dist/entities/sales/poliza/index.d.ts +8 -0
  371. package/dist/entities/sales/poliza/index.js +25 -0
  372. package/dist/entities/sales/poliza/index.js.map +1 -0
  373. package/dist/entities/sales/poliza/poliza_claim-comment.entity.d.ts +5 -0
  374. package/dist/entities/sales/poliza/poliza_claim-comment.entity.js +35 -0
  375. package/dist/entities/sales/poliza/poliza_claim-comment.entity.js.map +1 -0
  376. package/dist/entities/sales/poliza/poliza_claim.entity.d.ts +34 -0
  377. package/dist/entities/sales/poliza/poliza_claim.entity.js +285 -0
  378. package/dist/entities/sales/poliza/poliza_claim.entity.js.map +1 -0
  379. package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.d.ts +5 -0
  380. package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js +35 -0
  381. package/dist/entities/sales/poliza/poliza_fund-recovery-comment.entity.js.map +1 -0
  382. package/dist/entities/sales/poliza/poliza_fund-recovery.entity.d.ts +31 -0
  383. package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js +259 -0
  384. package/dist/entities/sales/poliza/poliza_fund-recovery.entity.js.map +1 -0
  385. package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.d.ts +5 -0
  386. package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js +35 -0
  387. package/dist/entities/sales/poliza/poliza_reimbursement-comment.entity.js.map +1 -0
  388. package/dist/entities/sales/poliza/poliza_reimbursement.entity.d.ts +34 -0
  389. package/dist/entities/sales/poliza/poliza_reimbursement.entity.js +277 -0
  390. package/dist/entities/sales/poliza/poliza_reimbursement.entity.js.map +1 -0
  391. package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.d.ts +5 -0
  392. package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js +35 -0
  393. package/dist/entities/sales/poliza/poliza_scheduling-comment.entity.js.map +1 -0
  394. package/dist/entities/sales/poliza/poliza_scheduling.entity.d.ts +34 -0
  395. package/dist/entities/sales/poliza/poliza_scheduling.entity.js +277 -0
  396. package/dist/entities/sales/poliza/poliza_scheduling.entity.js.map +1 -0
  397. package/dist/entities/sales/poliza-comment.entity.d.ts +5 -0
  398. package/dist/entities/sales/poliza-comment.entity.js +32 -0
  399. package/dist/entities/sales/poliza-comment.entity.js.map +1 -0
  400. package/dist/entities/sales/poliza.entity.d.ts +108 -0
  401. package/dist/entities/sales/poliza.entity.js +1032 -0
  402. package/dist/entities/sales/poliza.entity.js.map +1 -0
  403. package/dist/entities/sales/poliza_pdf.entity.d.ts +94 -0
  404. package/dist/entities/sales/poliza_pdf.entity.js +926 -0
  405. package/dist/entities/sales/poliza_pdf.entity.js.map +1 -0
  406. package/dist/entities/sales/receipt-comment.entity.d.ts +5 -0
  407. package/dist/entities/sales/receipt-comment.entity.js +32 -0
  408. package/dist/entities/sales/receipt-comment.entity.js.map +1 -0
  409. package/dist/entities/sales/receipt-sub-agente.entity.d.ts +5 -0
  410. package/dist/entities/sales/receipt-sub-agente.entity.js +35 -0
  411. package/dist/entities/sales/receipt-sub-agente.entity.js.map +1 -0
  412. package/dist/entities/sales/receipt.entity.d.ts +32 -0
  413. package/dist/entities/sales/receipt.entity.js +255 -0
  414. package/dist/entities/sales/receipt.entity.js.map +1 -0
  415. package/dist/entities/tag.entity.d.ts +8 -0
  416. package/dist/entities/tag.entity.js +53 -0
  417. package/dist/entities/tag.entity.js.map +1 -0
  418. package/dist/entities/thirdparty/email-config.entity.d.ts +14 -0
  419. package/dist/entities/thirdparty/email-config.entity.js +76 -0
  420. package/dist/entities/thirdparty/email-config.entity.js.map +1 -0
  421. package/dist/entities/thirdparty/email.entity.d.ts +17 -0
  422. package/dist/entities/thirdparty/email.entity.js +79 -0
  423. package/dist/entities/thirdparty/email.entity.js.map +1 -0
  424. package/dist/entities/thirdparty/oauth.entity.d.ts +21 -0
  425. package/dist/entities/thirdparty/oauth.entity.js +100 -0
  426. package/dist/entities/thirdparty/oauth.entity.js.map +1 -0
  427. package/dist/entities/thirdparty/service.entity.d.ts +8 -0
  428. package/dist/entities/thirdparty/service.entity.js +38 -0
  429. package/dist/entities/thirdparty/service.entity.js.map +1 -0
  430. package/dist/entities/thirdparty/user-email-relation.entity.d.ts +7 -0
  431. package/dist/entities/thirdparty/user-email-relation.entity.js +35 -0
  432. package/dist/entities/thirdparty/user-email-relation.entity.js.map +1 -0
  433. package/dist/entities/tools/calendar/event-list-calendars.entity.d.ts +6 -0
  434. package/dist/entities/tools/calendar/event-list-calendars.entity.js +32 -0
  435. package/dist/entities/tools/calendar/event-list-calendars.entity.js.map +1 -0
  436. package/dist/entities/tools/calendar/event.entity.d.ts +25 -0
  437. package/dist/entities/tools/calendar/event.entity.js +213 -0
  438. package/dist/entities/tools/calendar/event.entity.js.map +1 -0
  439. package/dist/entities/tools/calendar/index.d.ts +1 -0
  440. package/dist/entities/tools/calendar/index.js +18 -0
  441. package/dist/entities/tools/calendar/index.js.map +1 -0
  442. package/dist/entities/tools/index.d.ts +7 -0
  443. package/dist/entities/tools/index.js +24 -0
  444. package/dist/entities/tools/index.js.map +1 -0
  445. package/dist/entities/tools/task-comment.entity.d.ts +8 -0
  446. package/dist/entities/tools/task-comment.entity.js +39 -0
  447. package/dist/entities/tools/task-comment.entity.js.map +1 -0
  448. package/dist/entities/tools/task-history.entity.d.ts +15 -0
  449. package/dist/entities/tools/task-history.entity.js +131 -0
  450. package/dist/entities/tools/task-history.entity.js.map +1 -0
  451. package/dist/entities/tools/task-list-field.d.ts +5 -0
  452. package/dist/entities/tools/task-list-field.js +39 -0
  453. package/dist/entities/tools/task-list-field.js.map +1 -0
  454. package/dist/entities/tools/task-objection.entity.d.ts +10 -0
  455. package/dist/entities/tools/task-objection.entity.js +80 -0
  456. package/dist/entities/tools/task-objection.entity.js.map +1 -0
  457. package/dist/entities/tools/task-time-track.entity.d.ts +16 -0
  458. package/dist/entities/tools/task-time-track.entity.js +139 -0
  459. package/dist/entities/tools/task-time-track.entity.js.map +1 -0
  460. package/dist/entities/tools/task.entity.d.ts +49 -0
  461. package/dist/entities/tools/task.entity.js +419 -0
  462. package/dist/entities/tools/task.entity.js.map +1 -0
  463. package/dist/entities/user-invitations.entity.d.ts +11 -0
  464. package/dist/entities/user-invitations.entity.js +102 -0
  465. package/dist/entities/user-invitations.entity.js.map +1 -0
  466. package/dist/entities/user.entity.d.ts +39 -0
  467. package/dist/entities/user.entity.js +270 -0
  468. package/dist/entities/user.entity.js.map +1 -0
  469. package/dist/eslint.config.d.ts +2 -0
  470. package/dist/eslint.config.js +46 -0
  471. package/dist/eslint.config.js.map +1 -0
  472. package/dist/grpc/drive/drive.proto +260 -0
  473. package/dist/grpc/drive/leads.proto +114 -0
  474. package/dist/index.d.ts +3 -0
  475. package/dist/index.js +20 -0
  476. package/dist/index.js.map +1 -0
  477. package/dist/modules/index.d.ts +5 -0
  478. package/dist/modules/index.js +22 -0
  479. package/dist/modules/index.js.map +1 -0
  480. package/dist/modules/queue/event.service.d.ts +32 -0
  481. package/dist/modules/queue/event.service.js +45 -0
  482. package/dist/modules/queue/event.service.js.map +1 -0
  483. package/dist/modules/queue/notifier.service.d.ts +15 -0
  484. package/dist/modules/queue/notifier.service.js +70 -0
  485. package/dist/modules/queue/notifier.service.js.map +1 -0
  486. package/dist/modules/queue/notifiers/calendar.notifier.d.ts +10 -0
  487. package/dist/modules/queue/notifiers/calendar.notifier.js +60 -0
  488. package/dist/modules/queue/notifiers/calendar.notifier.js.map +1 -0
  489. package/dist/modules/queue/notifiers/contact.notifier.d.ts +7 -0
  490. package/dist/modules/queue/notifiers/contact.notifier.js +52 -0
  491. package/dist/modules/queue/notifiers/contact.notifier.js.map +1 -0
  492. package/dist/modules/queue/notifiers/index.d.ts +4 -0
  493. package/dist/modules/queue/notifiers/index.js +21 -0
  494. package/dist/modules/queue/notifiers/index.js.map +1 -0
  495. package/dist/modules/queue/notifiers/lead.notifier.d.ts +7 -0
  496. package/dist/modules/queue/notifiers/lead.notifier.js +52 -0
  497. package/dist/modules/queue/notifiers/lead.notifier.js.map +1 -0
  498. package/dist/modules/queue/notifiers/task.notifier.d.ts +15 -0
  499. package/dist/modules/queue/notifiers/task.notifier.js +159 -0
  500. package/dist/modules/queue/notifiers/task.notifier.js.map +1 -0
  501. package/dist/modules/queue/queue.module.d.ts +4 -0
  502. package/dist/modules/queue/queue.module.js +68 -0
  503. package/dist/modules/queue/queue.module.js.map +1 -0
  504. package/dist/modules/queue/queue.service.d.ts +9 -0
  505. package/dist/modules/queue/queue.service.js +56 -0
  506. package/dist/modules/queue/queue.service.js.map +1 -0
  507. package/dist/modules/queue/scheduler.service.d.ts +9 -0
  508. package/dist/modules/queue/scheduler.service.js +40 -0
  509. package/dist/modules/queue/scheduler.service.js.map +1 -0
  510. package/package.json +1 -1
  511. package/tsconfig.t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EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACtF,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACV;AAS9B;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/F,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACD,kBAAI;qDAAC;AASjB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChG,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACA,kBAAI;sDAAC;6BAzDP,kBAAkB;IAF9B,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC1C,kBAAkB,CA0D9B"}
@@ -0,0 +1,5 @@
1
+ import { Contact } from "./contact.entity";
2
+ import { CommentBase } from "../../common";
3
+ export declare class ContactComment extends CommentBase {
4
+ contact: Contact;
5
+ }
@@ -0,0 +1,32 @@
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.ContactComment = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const contact_entity_1 = require("./contact.entity");
15
+ const swagger_1 = require("@nestjs/swagger");
16
+ const common_1 = require("../../common");
17
+ let ContactComment = class ContactComment extends common_1.CommentBase {
18
+ contact;
19
+ };
20
+ exports.ContactComment = ContactComment;
21
+ __decorate([
22
+ (0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact associated with the comment' }),
23
+ (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, {
24
+ onDelete: "CASCADE",
25
+ onUpdate: "CASCADE",
26
+ }),
27
+ __metadata("design:type", contact_entity_1.Contact)
28
+ ], ContactComment.prototype, "contact", void 0);
29
+ exports.ContactComment = ContactComment = __decorate([
30
+ (0, typeorm_1.Entity)()
31
+ ], ContactComment);
32
+ //# sourceMappingURL=contact-comment.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact-comment.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/contact-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4C;AAC5C,qDAA2C;AAC3C,6CAA8C;AAC9C,yCAA2C;AAGpC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,oBAAW;IAM3C,OAAO,CAAU;CACpB,CAAA;AAPY,wCAAc;AAMvB;IALC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAO,EAAE,WAAW,EAAE,qCAAqC,EAAE,CAAC;IACxF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;8BACO,wBAAO;+CAAC;yBANR,cAAc;IAD1B,IAAA,gBAAM,GAAE;GACI,cAAc,CAO1B"}
@@ -0,0 +1,57 @@
1
+ import { EntityBase } from "../../common/database/base.entity";
2
+ import { ContactEmail } from "../helpers/sales/contact/contact_email.entity";
3
+ import { ContactPhone } from "../helpers/sales/contact/contact_phone.entity";
4
+ import { ClientSource } from "../helpers/sales/common/client_sources.entity";
5
+ import { ClientType } from "../helpers/sales/common/client_types.entity";
6
+ import { User } from "../user.entity";
7
+ import { Poliza } from "./poliza.entity";
8
+ import { Lead } from "./lead.entity";
9
+ import { PersonType } from "../../common";
10
+ import { ContactInsurance } from "../helpers/sales/contact/contact_insurance.entity";
11
+ import { TaskCRM } from "../helpers";
12
+ import { ContactComment } from "./contact-comment.entity";
13
+ import { AgenteIntermediario } from "./agente-intermediario.entity";
14
+ import { Agent } from ".";
15
+ export declare class Contact extends EntityBase {
16
+ idBitrix?: number;
17
+ number: number;
18
+ typePerson: PersonType;
19
+ codigo?: string;
20
+ fullName?: string;
21
+ name?: string;
22
+ lastName?: string;
23
+ secondName?: string;
24
+ codigos?: ContactInsurance[];
25
+ rfc?: string;
26
+ address?: string;
27
+ phones?: ContactPhone[];
28
+ emails?: ContactEmail[];
29
+ cargo?: string;
30
+ birthdate?: Date;
31
+ gender?: string;
32
+ type?: ClientType;
33
+ source?: ClientSource;
34
+ assignedBy?: User;
35
+ tasks: TaskCRM[];
36
+ observer?: User;
37
+ leads: Lead[];
38
+ relations: Contact[];
39
+ relatedContact?: Contact;
40
+ curp?: string;
41
+ cua?: string;
42
+ activitySector?: string;
43
+ photo?: string;
44
+ post?: string;
45
+ observations?: string;
46
+ company?: string;
47
+ export?: boolean;
48
+ sourceDescription?: string;
49
+ polizas?: Poliza[];
50
+ createdBy?: User;
51
+ modifiedBy?: User;
52
+ comments: ContactComment[];
53
+ user?: User;
54
+ agenteIntermediario: AgenteIntermediario;
55
+ subAgente: Agent;
56
+ searchVector: string;
57
+ }
@@ -0,0 +1,497 @@
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.Contact = void 0;
13
+ const base_entity_1 = require("../../common/database/base.entity");
14
+ const contact_email_entity_1 = require("../helpers/sales/contact/contact_email.entity");
15
+ const contact_phone_entity_1 = require("../helpers/sales/contact/contact_phone.entity");
16
+ const client_sources_entity_1 = require("../helpers/sales/common/client_sources.entity");
17
+ const client_types_entity_1 = require("../helpers/sales/common/client_types.entity");
18
+ const user_entity_1 = require("../user.entity");
19
+ const typeorm_1 = require("typeorm");
20
+ const poliza_entity_1 = require("./poliza.entity");
21
+ const swagger_1 = require("@nestjs/swagger");
22
+ const lead_entity_1 = require("./lead.entity");
23
+ const common_1 = require("../../common");
24
+ const contact_insurance_entity_1 = require("../helpers/sales/contact/contact_insurance.entity");
25
+ const helpers_1 = require("../helpers");
26
+ const contact_comment_entity_1 = require("./contact-comment.entity");
27
+ const agente_intermediario_entity_1 = require("./agente-intermediario.entity");
28
+ const _1 = require(".");
29
+ let Contact = class Contact extends base_entity_1.EntityBase {
30
+ idBitrix;
31
+ number;
32
+ typePerson;
33
+ codigo;
34
+ fullName;
35
+ name;
36
+ lastName;
37
+ secondName;
38
+ codigos;
39
+ rfc;
40
+ address;
41
+ phones;
42
+ emails;
43
+ cargo;
44
+ birthdate;
45
+ gender;
46
+ type;
47
+ source;
48
+ assignedBy;
49
+ tasks;
50
+ observer;
51
+ leads;
52
+ relations;
53
+ relatedContact;
54
+ curp;
55
+ cua;
56
+ activitySector;
57
+ photo;
58
+ post;
59
+ observations;
60
+ company;
61
+ export;
62
+ sourceDescription;
63
+ polizas;
64
+ createdBy;
65
+ modifiedBy;
66
+ comments;
67
+ user;
68
+ agenteIntermediario;
69
+ subAgente;
70
+ searchVector;
71
+ };
72
+ exports.Contact = Contact;
73
+ __decorate([
74
+ (0, swagger_1.ApiProperty)({
75
+ type: Number,
76
+ description: "Bitrix ID of the contact",
77
+ required: false,
78
+ }),
79
+ (0, typeorm_1.Column)({ name: "id_bitrix", nullable: true }),
80
+ __metadata("design:type", Number)
81
+ ], Contact.prototype, "idBitrix", void 0);
82
+ __decorate([
83
+ (0, typeorm_1.Column)(),
84
+ (0, typeorm_1.Generated)("increment"),
85
+ __metadata("design:type", Number)
86
+ ], Contact.prototype, "number", void 0);
87
+ __decorate([
88
+ (0, swagger_1.ApiProperty)({
89
+ enum: common_1.PersonType,
90
+ description: "Type of person",
91
+ default: common_1.PersonType.FISICA,
92
+ }),
93
+ (0, typeorm_1.Column)({
94
+ type: "enum",
95
+ enum: common_1.PersonType,
96
+ default: common_1.PersonType.FISICA,
97
+ }),
98
+ __metadata("design:type", String)
99
+ ], Contact.prototype, "typePerson", void 0);
100
+ __decorate([
101
+ (0, swagger_1.ApiProperty)({
102
+ type: String,
103
+ description: "Code of the contact",
104
+ required: false,
105
+ }),
106
+ (0, typeorm_1.Column)({ name: "codigo", length: 100, nullable: true }),
107
+ __metadata("design:type", String)
108
+ ], Contact.prototype, "codigo", void 0);
109
+ __decorate([
110
+ (0, swagger_1.ApiProperty)({
111
+ type: String,
112
+ description: "Full name of the contact",
113
+ required: false,
114
+ }),
115
+ (0, typeorm_1.Column)({ name: "full_name", length: 255, nullable: true }),
116
+ __metadata("design:type", String)
117
+ ], Contact.prototype, "fullName", void 0);
118
+ __decorate([
119
+ (0, swagger_1.ApiProperty)({
120
+ type: String,
121
+ description: "First name of the contact",
122
+ required: false,
123
+ }),
124
+ (0, typeorm_1.Column)({ name: "name", length: 150, nullable: true }),
125
+ __metadata("design:type", String)
126
+ ], Contact.prototype, "name", void 0);
127
+ __decorate([
128
+ (0, swagger_1.ApiProperty)({
129
+ type: String,
130
+ description: "Last name of the contact",
131
+ required: false,
132
+ }),
133
+ (0, typeorm_1.Column)({ name: "last_name", length: 150, nullable: true }),
134
+ __metadata("design:type", String)
135
+ ], Contact.prototype, "lastName", void 0);
136
+ __decorate([
137
+ (0, swagger_1.ApiProperty)({
138
+ type: String,
139
+ description: "Second name of the contact",
140
+ required: false,
141
+ }),
142
+ (0, typeorm_1.Column)({ name: "second_name", length: 150, nullable: true }),
143
+ __metadata("design:type", String)
144
+ ], Contact.prototype, "secondName", void 0);
145
+ __decorate([
146
+ (0, swagger_1.ApiProperty)({
147
+ type: () => [contact_insurance_entity_1.ContactInsurance],
148
+ description: "Codigos de aseguradoras",
149
+ }),
150
+ (0, typeorm_1.OneToMany)(() => contact_insurance_entity_1.ContactInsurance, (contactEmail) => contactEmail.contact, {
151
+ onDelete: "CASCADE",
152
+ onUpdate: "CASCADE",
153
+ eager: true,
154
+ }),
155
+ __metadata("design:type", Array)
156
+ ], Contact.prototype, "codigos", void 0);
157
+ __decorate([
158
+ (0, swagger_1.ApiProperty)({
159
+ type: String,
160
+ description: "RFC of the contact",
161
+ required: false,
162
+ }),
163
+ (0, typeorm_1.Column)({ name: "rfc", length: 100, nullable: true }),
164
+ __metadata("design:type", String)
165
+ ], Contact.prototype, "rfc", void 0);
166
+ __decorate([
167
+ (0, swagger_1.ApiProperty)({
168
+ type: String,
169
+ description: "Address of the contact",
170
+ required: false,
171
+ }),
172
+ (0, typeorm_1.Column)({ name: "address", type: "text", nullable: true }),
173
+ __metadata("design:type", String)
174
+ ], Contact.prototype, "address", void 0);
175
+ __decorate([
176
+ (0, swagger_1.ApiProperty)({
177
+ type: () => [contact_phone_entity_1.ContactPhone],
178
+ description: "Phones associated with the contact",
179
+ }),
180
+ (0, typeorm_1.OneToMany)(() => contact_phone_entity_1.ContactPhone, (contactPhone) => contactPhone.contact, {
181
+ onDelete: "CASCADE",
182
+ onUpdate: "CASCADE",
183
+ eager: true,
184
+ }),
185
+ __metadata("design:type", Array)
186
+ ], Contact.prototype, "phones", void 0);
187
+ __decorate([
188
+ (0, swagger_1.ApiProperty)({
189
+ type: () => [contact_email_entity_1.ContactEmail],
190
+ description: "Emails associated with the contact",
191
+ }),
192
+ (0, typeorm_1.OneToMany)(() => contact_email_entity_1.ContactEmail, (contactEmail) => contactEmail.contact, {
193
+ onDelete: "CASCADE",
194
+ onUpdate: "CASCADE",
195
+ eager: true,
196
+ }),
197
+ __metadata("design:type", Array)
198
+ ], Contact.prototype, "emails", void 0);
199
+ __decorate([
200
+ (0, swagger_1.ApiProperty)({
201
+ type: String,
202
+ description: "Cargo of the contact",
203
+ required: false,
204
+ }),
205
+ (0, typeorm_1.Column)({ name: "cargo", length: 150, nullable: true }),
206
+ __metadata("design:type", String)
207
+ ], Contact.prototype, "cargo", void 0);
208
+ __decorate([
209
+ (0, swagger_1.ApiProperty)({
210
+ type: Date,
211
+ description: "Birthdate of the contact",
212
+ required: false,
213
+ }),
214
+ (0, typeorm_1.Column)({ name: "birthdate", nullable: true }),
215
+ __metadata("design:type", Date)
216
+ ], Contact.prototype, "birthdate", void 0);
217
+ __decorate([
218
+ (0, swagger_1.ApiProperty)({
219
+ type: String,
220
+ description: "Gender of the contact",
221
+ required: false,
222
+ }),
223
+ (0, typeorm_1.Column)({ name: "gender", length: 10, nullable: true }),
224
+ __metadata("design:type", String)
225
+ ], Contact.prototype, "gender", void 0);
226
+ __decorate([
227
+ (0, swagger_1.ApiProperty)({
228
+ type: () => client_types_entity_1.ClientType,
229
+ description: "Contact type",
230
+ required: true,
231
+ }),
232
+ (0, typeorm_1.ManyToOne)(() => client_types_entity_1.ClientType, {
233
+ onDelete: "SET NULL",
234
+ onUpdate: "CASCADE",
235
+ nullable: true,
236
+ eager: true,
237
+ }),
238
+ __metadata("design:type", client_types_entity_1.ClientType)
239
+ ], Contact.prototype, "type", void 0);
240
+ __decorate([
241
+ (0, swagger_1.ApiProperty)({
242
+ type: () => client_sources_entity_1.ClientSource,
243
+ description: "Contact source",
244
+ required: true,
245
+ }),
246
+ (0, typeorm_1.ManyToOne)(() => client_sources_entity_1.ClientSource, {
247
+ onDelete: "SET NULL",
248
+ onUpdate: "CASCADE",
249
+ nullable: true,
250
+ eager: true,
251
+ }),
252
+ __metadata("design:type", client_sources_entity_1.ClientSource)
253
+ ], Contact.prototype, "source", void 0);
254
+ __decorate([
255
+ (0, swagger_1.ApiProperty)({
256
+ type: () => user_entity_1.User,
257
+ description: "User assigned to the contact",
258
+ required: false,
259
+ }),
260
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
261
+ onDelete: "SET NULL",
262
+ onUpdate: "CASCADE",
263
+ nullable: true,
264
+ }),
265
+ __metadata("design:type", user_entity_1.User)
266
+ ], Contact.prototype, "assignedBy", void 0);
267
+ __decorate([
268
+ (0, swagger_1.ApiProperty)({
269
+ type: () => [helpers_1.TaskCRM],
270
+ description: "Tasks associated with the contact",
271
+ }),
272
+ (0, typeorm_1.OneToMany)(() => helpers_1.TaskCRM, (task) => task.contact, {
273
+ cascade: true,
274
+ onDelete: "CASCADE",
275
+ }),
276
+ __metadata("design:type", Array)
277
+ ], Contact.prototype, "tasks", void 0);
278
+ __decorate([
279
+ (0, swagger_1.ApiProperty)({
280
+ type: () => user_entity_1.User,
281
+ description: "User observing the contact",
282
+ required: false,
283
+ }),
284
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
285
+ onDelete: "SET NULL",
286
+ onUpdate: "CASCADE",
287
+ nullable: true,
288
+ }),
289
+ __metadata("design:type", user_entity_1.User)
290
+ ], Contact.prototype, "observer", void 0);
291
+ __decorate([
292
+ (0, swagger_1.ApiProperty)({
293
+ type: () => [lead_entity_1.Lead],
294
+ description: "Leads associated with this contact",
295
+ isArray: true,
296
+ }),
297
+ (0, typeorm_1.OneToMany)(() => lead_entity_1.Lead, (lead) => lead.contact),
298
+ __metadata("design:type", Array)
299
+ ], Contact.prototype, "leads", void 0);
300
+ __decorate([
301
+ (0, swagger_1.ApiProperty)({ type: () => [Contact], description: "Contacts related" }),
302
+ (0, typeorm_1.OneToMany)(() => Contact, (contact) => contact.relatedContact, {
303
+ cascade: true,
304
+ onDelete: "SET NULL",
305
+ onUpdate: "CASCADE",
306
+ }),
307
+ __metadata("design:type", Array)
308
+ ], Contact.prototype, "relations", void 0);
309
+ __decorate([
310
+ (0, swagger_1.ApiProperty)({
311
+ type: () => Contact,
312
+ description: "Parent contact",
313
+ required: false,
314
+ }),
315
+ (0, typeorm_1.ManyToOne)(() => Contact, (contact) => contact.relations, {
316
+ onDelete: "SET NULL",
317
+ onUpdate: "CASCADE",
318
+ nullable: true,
319
+ }),
320
+ __metadata("design:type", Contact)
321
+ ], Contact.prototype, "relatedContact", void 0);
322
+ __decorate([
323
+ (0, swagger_1.ApiProperty)({
324
+ type: String,
325
+ description: "CURP of the contact",
326
+ required: false,
327
+ }),
328
+ (0, typeorm_1.Column)({ name: "curp", length: 50, nullable: true }),
329
+ __metadata("design:type", String)
330
+ ], Contact.prototype, "curp", void 0);
331
+ __decorate([
332
+ (0, swagger_1.ApiProperty)({
333
+ type: String,
334
+ description: "CUA of the contact",
335
+ required: false,
336
+ }),
337
+ (0, typeorm_1.Column)({ name: "cua", length: 50, nullable: true }),
338
+ __metadata("design:type", String)
339
+ ], Contact.prototype, "cua", void 0);
340
+ __decorate([
341
+ (0, swagger_1.ApiProperty)({
342
+ type: String,
343
+ description: "Sector de actividad",
344
+ required: false,
345
+ }),
346
+ (0, typeorm_1.Column)({ name: "activity_sector", length: 100, nullable: true }),
347
+ __metadata("design:type", String)
348
+ ], Contact.prototype, "activitySector", void 0);
349
+ __decorate([
350
+ (0, swagger_1.ApiProperty)({
351
+ type: String,
352
+ description: "Photo URL of the contact",
353
+ required: false,
354
+ }),
355
+ (0, typeorm_1.Column)({ name: "photo", length: 255, nullable: true }),
356
+ __metadata("design:type", String)
357
+ ], Contact.prototype, "photo", void 0);
358
+ __decorate([
359
+ (0, swagger_1.ApiProperty)({
360
+ type: String,
361
+ description: "Post of the contact",
362
+ required: false,
363
+ }),
364
+ (0, typeorm_1.Column)({ name: "post", type: "text", nullable: true }),
365
+ __metadata("design:type", String)
366
+ ], Contact.prototype, "post", void 0);
367
+ __decorate([
368
+ (0, swagger_1.ApiProperty)({
369
+ type: String,
370
+ description: "Comments about the contact",
371
+ required: false,
372
+ }),
373
+ (0, typeorm_1.Column)({ name: "observations", type: "text", nullable: true }),
374
+ __metadata("design:type", String)
375
+ ], Contact.prototype, "observations", void 0);
376
+ __decorate([
377
+ (0, swagger_1.ApiProperty)({
378
+ type: String,
379
+ description: "Company of the contact",
380
+ required: false,
381
+ }),
382
+ (0, typeorm_1.Column)({ length: 255, nullable: true }),
383
+ __metadata("design:type", String)
384
+ ], Contact.prototype, "company", void 0);
385
+ __decorate([
386
+ (0, swagger_1.ApiProperty)({
387
+ type: Boolean,
388
+ description: "Is the contact exported?",
389
+ default: false,
390
+ }),
391
+ (0, typeorm_1.Column)({ name: "export", default: false }),
392
+ __metadata("design:type", Boolean)
393
+ ], Contact.prototype, "export", void 0);
394
+ __decorate([
395
+ (0, swagger_1.ApiProperty)({
396
+ type: String,
397
+ description: "Source description of the contact",
398
+ required: false,
399
+ }),
400
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
401
+ __metadata("design:type", String)
402
+ ], Contact.prototype, "sourceDescription", void 0);
403
+ __decorate([
404
+ (0, swagger_1.ApiProperty)({
405
+ type: () => [poliza_entity_1.Poliza],
406
+ description: "Polizas associated with the contact",
407
+ }),
408
+ (0, typeorm_1.OneToMany)(() => poliza_entity_1.Poliza, (poliza) => poliza.contact, {
409
+ onDelete: "CASCADE",
410
+ onUpdate: "CASCADE",
411
+ }),
412
+ __metadata("design:type", Array)
413
+ ], Contact.prototype, "polizas", void 0);
414
+ __decorate([
415
+ (0, swagger_1.ApiProperty)({
416
+ type: () => user_entity_1.User,
417
+ description: "User who created the contact",
418
+ required: false,
419
+ }),
420
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
421
+ onDelete: "SET NULL",
422
+ onUpdate: "CASCADE",
423
+ nullable: true,
424
+ }),
425
+ (0, typeorm_1.JoinColumn)(),
426
+ __metadata("design:type", user_entity_1.User)
427
+ ], Contact.prototype, "createdBy", void 0);
428
+ __decorate([
429
+ (0, swagger_1.ApiProperty)({
430
+ type: () => user_entity_1.User,
431
+ description: "User who modified the contact",
432
+ required: false,
433
+ }),
434
+ (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
435
+ onDelete: "SET NULL",
436
+ onUpdate: "CASCADE",
437
+ nullable: true,
438
+ }),
439
+ (0, typeorm_1.JoinColumn)(),
440
+ __metadata("design:type", user_entity_1.User)
441
+ ], Contact.prototype, "modifiedBy", void 0);
442
+ __decorate([
443
+ (0, swagger_1.ApiProperty)({
444
+ type: () => [contact_comment_entity_1.ContactComment],
445
+ description: "Comments on the contact",
446
+ }),
447
+ (0, typeorm_1.OneToMany)(() => contact_comment_entity_1.ContactComment, (contactComment) => contactComment.contact),
448
+ (0, typeorm_1.JoinColumn)(),
449
+ __metadata("design:type", Array)
450
+ ], Contact.prototype, "comments", void 0);
451
+ __decorate([
452
+ (0, swagger_1.ApiProperty)({
453
+ type: () => user_entity_1.User,
454
+ description: "User associated with the contact",
455
+ required: false,
456
+ }),
457
+ (0, typeorm_1.OneToOne)(() => user_entity_1.User, (user) => user.contact, {
458
+ onDelete: "SET NULL",
459
+ onUpdate: "CASCADE",
460
+ }),
461
+ (0, typeorm_1.JoinColumn)(),
462
+ __metadata("design:type", user_entity_1.User)
463
+ ], Contact.prototype, "user", void 0);
464
+ __decorate([
465
+ (0, swagger_1.ApiProperty)({
466
+ type: () => agente_intermediario_entity_1.AgenteIntermediario,
467
+ description: "Agente Intermediary associated with the contact",
468
+ required: false,
469
+ }),
470
+ (0, typeorm_1.ManyToOne)(() => agente_intermediario_entity_1.AgenteIntermediario, {
471
+ onDelete: "SET NULL",
472
+ onUpdate: "CASCADE",
473
+ nullable: true,
474
+ }),
475
+ __metadata("design:type", agente_intermediario_entity_1.AgenteIntermediario)
476
+ ], Contact.prototype, "agenteIntermediario", void 0);
477
+ __decorate([
478
+ (0, swagger_1.ApiProperty)({
479
+ type: () => _1.Agent,
480
+ description: "Sub Agent associated with the poliza",
481
+ required: false,
482
+ }),
483
+ (0, typeorm_1.ManyToOne)(() => _1.Agent, {
484
+ onDelete: "SET NULL",
485
+ onUpdate: "CASCADE",
486
+ nullable: true,
487
+ }),
488
+ __metadata("design:type", _1.Agent)
489
+ ], Contact.prototype, "subAgente", void 0);
490
+ __decorate([
491
+ (0, typeorm_1.Column)({ type: "tsvector", nullable: true }),
492
+ __metadata("design:type", String)
493
+ ], Contact.prototype, "searchVector", void 0);
494
+ exports.Contact = Contact = __decorate([
495
+ (0, typeorm_1.Entity)()
496
+ ], Contact);
497
+ //# sourceMappingURL=contact.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/contact.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA+D;AAC/D,wFAA6E;AAC7E,wFAA6E;AAC7E,yFAA6E;AAC7E,qFAAyE;AACzE,gDAAsC;AACtC,qCAQiB;AACjB,mDAAyC;AACzC,6CAA8C;AAC9C,+CAAqC;AACrC,yCAA0C;AAC1C,gGAAqF;AACrF,wCAAqC;AAC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,EAAC,GAAG,EAAE,CAAC,iDAAmB,EAAE;QACpC,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;8BACmB,iDAAmB;oDAAC;AAYzC;IAVC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,QAAK;QACjB,WAAW,EAAE,sCAAsC;QACnD,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,QAAK,EAAE;QACtB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;8BACS,QAAK;0CAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACxB;kBA/XV,OAAO;IADnB,IAAA,gBAAM,GAAE;GACI,OAAO,CAgYnB"}
@@ -0,0 +1,29 @@
1
+ export declare class ImportSession {
2
+ id: string;
3
+ userId: string;
4
+ fileName: string;
5
+ fileSize: number;
6
+ fileContent: Buffer;
7
+ headers: string[];
8
+ typePerson?: string;
9
+ dataSource?: string;
10
+ encoding?: string;
11
+ delimiter?: string;
12
+ typeId?: string;
13
+ sourceId?: string;
14
+ assignedById?: string;
15
+ nameFormat?: string;
16
+ matchesTemplate: boolean;
17
+ fieldMappings: any[];
18
+ duplicateStrategy?: string;
19
+ uniquenessFields?: string[];
20
+ status: string;
21
+ totalRecords: number;
22
+ importedRecords?: number;
23
+ duplicateRecords?: number;
24
+ errorRecords?: number;
25
+ errorMessage?: string;
26
+ createdAt: Date;
27
+ completedAt?: Date;
28
+ updatedAt: Date;
29
+ }