easywork-common-lib 1.0.755 → 1.0.756

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