easywork-common-lib 1.0.461 → 1.0.463

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 (387) hide show
  1. package/package.json +45 -44
  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 -16
  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 -5
  27. package/dist/common/@types/interfaces/index.js +0 -22
  28. package/dist/common/@types/interfaces/index.js.map +0 -1
  29. package/dist/common/@types/interfaces/mail.interface.d.ts +0 -9
  30. package/dist/common/@types/interfaces/mail.interface.js +0 -3
  31. package/dist/common/@types/interfaces/mail.interface.js.map +0 -1
  32. package/dist/common/@types/interfaces/validator.interface.d.ts +0 -41
  33. package/dist/common/@types/interfaces/validator.interface.js +0 -3
  34. package/dist/common/@types/interfaces/validator.interface.js.map +0 -1
  35. package/dist/common/constants/app.contants.d.ts +0 -31
  36. package/dist/common/constants/app.contants.js +0 -185
  37. package/dist/common/constants/app.contants.js.map +0 -1
  38. package/dist/common/constants/index.d.ts +0 -2
  39. package/dist/common/constants/index.js +0 -19
  40. package/dist/common/constants/index.js.map +0 -1
  41. package/dist/common/constants/regex.constant.d.ts +0 -6
  42. package/dist/common/constants/regex.constant.js +0 -10
  43. package/dist/common/constants/regex.constant.js.map +0 -1
  44. package/dist/common/database/base.entity.d.ts +0 -15
  45. package/dist/common/database/base.entity.js +0 -76
  46. package/dist/common/database/base.entity.js.map +0 -1
  47. package/dist/common/database/comment.base.entity.d.ts +0 -11
  48. package/dist/common/database/comment.base.entity.js +0 -83
  49. package/dist/common/database/comment.base.entity.js.map +0 -1
  50. package/dist/common/database/index.d.ts +0 -2
  51. package/dist/common/database/index.js +0 -19
  52. package/dist/common/database/index.js.map +0 -1
  53. package/dist/common/dtos/index.d.ts +0 -1
  54. package/dist/common/dtos/index.js +0 -18
  55. package/dist/common/dtos/index.js.map +0 -1
  56. package/dist/common/dtos/send-notification.dto.d.ts +0 -11
  57. package/dist/common/dtos/send-notification.dto.js +0 -60
  58. package/dist/common/dtos/send-notification.dto.js.map +0 -1
  59. package/dist/common/enums/drive.enum.d.ts +0 -20
  60. package/dist/common/enums/drive.enum.js +0 -26
  61. package/dist/common/enums/drive.enum.js.map +0 -1
  62. package/dist/common/enums/index.d.ts +0 -4
  63. package/dist/common/enums/index.js +0 -21
  64. package/dist/common/enums/index.js.map +0 -1
  65. package/dist/common/enums/notification.enum.d.ts +0 -32
  66. package/dist/common/enums/notification.enum.js +0 -39
  67. package/dist/common/enums/notification.enum.js.map +0 -1
  68. package/dist/common/enums/sales.enum.d.ts +0 -41
  69. package/dist/common/enums/sales.enum.js +0 -53
  70. package/dist/common/enums/sales.enum.js.map +0 -1
  71. package/dist/common/enums/tools.enum.d.ts +0 -19
  72. package/dist/common/enums/tools.enum.js +0 -26
  73. package/dist/common/enums/tools.enum.js.map +0 -1
  74. package/dist/common/functions/cripto.d.ts +0 -1
  75. package/dist/common/functions/cripto.js +0 -9
  76. package/dist/common/functions/cripto.js.map +0 -1
  77. package/dist/common/functions/image.d.ts +0 -3
  78. package/dist/common/functions/image.js +0 -15
  79. package/dist/common/functions/image.js.map +0 -1
  80. package/dist/common/functions/index.d.ts +0 -2
  81. package/dist/common/functions/index.js +0 -19
  82. package/dist/common/functions/index.js.map +0 -1
  83. package/dist/common/helpers/app.utils.d.ts +0 -5
  84. package/dist/common/helpers/app.utils.js +0 -32
  85. package/dist/common/helpers/app.utils.js.map +0 -1
  86. package/dist/common/helpers/helpers.utils.d.ts +0 -5
  87. package/dist/common/helpers/helpers.utils.js +0 -26
  88. package/dist/common/helpers/helpers.utils.js.map +0 -1
  89. package/dist/common/helpers/index.d.ts +0 -2
  90. package/dist/common/helpers/index.js +0 -19
  91. package/dist/common/helpers/index.js.map +0 -1
  92. package/dist/common/index.d.ts +0 -8
  93. package/dist/common/index.js +0 -25
  94. package/dist/common/index.js.map +0 -1
  95. package/dist/common/interceptors/index.d.ts +0 -1
  96. package/dist/common/interceptors/index.js +0 -18
  97. package/dist/common/interceptors/index.js.map +0 -1
  98. package/dist/common/interceptors/security.interceptor.d.ts +0 -5
  99. package/dist/common/interceptors/security.interceptor.js +0 -22
  100. package/dist/common/interceptors/security.interceptor.js.map +0 -1
  101. package/dist/entities/app_config/app-config.entity.d.ts +0 -5
  102. package/dist/entities/app_config/app-config.entity.js +0 -33
  103. package/dist/entities/app_config/app-config.entity.js.map +0 -1
  104. package/dist/entities/currency.entity.d.ts +0 -6
  105. package/dist/entities/currency.entity.js +0 -43
  106. package/dist/entities/currency.entity.js.map +0 -1
  107. package/dist/entities/drive/attached_object.entity.d.ts +0 -21
  108. package/dist/entities/drive/attached_object.entity.js +0 -154
  109. package/dist/entities/drive/attached_object.entity.js.map +0 -1
  110. package/dist/entities/drive/file.entity.d.ts +0 -19
  111. package/dist/entities/drive/file.entity.js +0 -130
  112. package/dist/entities/drive/file.entity.js.map +0 -1
  113. package/dist/entities/drive/folder.entity.d.ts +0 -18
  114. package/dist/entities/drive/folder.entity.js +0 -137
  115. package/dist/entities/drive/folder.entity.js.map +0 -1
  116. package/dist/entities/drive/index.d.ts +0 -3
  117. package/dist/entities/drive/index.js +0 -20
  118. package/dist/entities/drive/index.js.map +0 -1
  119. package/dist/entities/easyapp/filter-view.entity.d.ts +0 -7
  120. package/dist/entities/easyapp/filter-view.entity.js +0 -41
  121. package/dist/entities/easyapp/filter-view.entity.js.map +0 -1
  122. package/dist/entities/email.entity.d.ts +0 -5
  123. package/dist/entities/email.entity.js +0 -36
  124. package/dist/entities/email.entity.js.map +0 -1
  125. package/dist/entities/group.entity.d.ts +0 -5
  126. package/dist/entities/group.entity.js +0 -33
  127. package/dist/entities/group.entity.js.map +0 -1
  128. package/dist/entities/helpers/entity_file.entity.d.ts +0 -10
  129. package/dist/entities/helpers/entity_file.entity.js +0 -61
  130. package/dist/entities/helpers/entity_file.entity.js.map +0 -1
  131. package/dist/entities/helpers/entity_folder.entity.d.ts +0 -10
  132. package/dist/entities/helpers/entity_folder.entity.js +0 -61
  133. package/dist/entities/helpers/entity_folder.entity.js.map +0 -1
  134. package/dist/entities/helpers/index.d.ts +0 -4
  135. package/dist/entities/helpers/index.js +0 -21
  136. package/dist/entities/helpers/index.js.map +0 -1
  137. package/dist/entities/helpers/sales/common/client_sources.entity.d.ts +0 -5
  138. package/dist/entities/helpers/sales/common/client_sources.entity.js +0 -36
  139. package/dist/entities/helpers/sales/common/client_sources.entity.js.map +0 -1
  140. package/dist/entities/helpers/sales/common/client_types.entity.d.ts +0 -5
  141. package/dist/entities/helpers/sales/common/client_types.entity.js +0 -36
  142. package/dist/entities/helpers/sales/common/client_types.entity.js.map +0 -1
  143. package/dist/entities/helpers/sales/contact/contact_email.entity.d.ts +0 -11
  144. package/dist/entities/helpers/sales/contact/contact_email.entity.js +0 -68
  145. package/dist/entities/helpers/sales/contact/contact_email.entity.js.map +0 -1
  146. package/dist/entities/helpers/sales/contact/contact_insurance.entity.d.ts +0 -11
  147. package/dist/entities/helpers/sales/contact/contact_insurance.entity.js +0 -68
  148. package/dist/entities/helpers/sales/contact/contact_insurance.entity.js.map +0 -1
  149. package/dist/entities/helpers/sales/contact/contact_phone.entity.d.ts +0 -11
  150. package/dist/entities/helpers/sales/contact/contact_phone.entity.js +0 -68
  151. package/dist/entities/helpers/sales/contact/contact_phone.entity.js.map +0 -1
  152. package/dist/entities/helpers/sales/contact/index.d.ts +0 -5
  153. package/dist/entities/helpers/sales/contact/index.js +0 -22
  154. package/dist/entities/helpers/sales/contact/index.js.map +0 -1
  155. package/dist/entities/helpers/sales/index.d.ts +0 -6
  156. package/dist/entities/helpers/sales/index.js +0 -23
  157. package/dist/entities/helpers/sales/index.js.map +0 -1
  158. package/dist/entities/helpers/sales/lead/h_lead_source.entity.d.ts +0 -4
  159. package/dist/entities/helpers/sales/lead/h_lead_source.entity.js +0 -30
  160. package/dist/entities/helpers/sales/lead/h_lead_source.entity.js.map +0 -1
  161. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.d.ts +0 -5
  162. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js +0 -36
  163. package/dist/entities/helpers/sales/lead/h_lead_stage.entity.js.map +0 -1
  164. package/dist/entities/helpers/sales/lead/h_lead_types.entity.d.ts +0 -4
  165. package/dist/entities/helpers/sales/lead/h_lead_types.entity.js +0 -30
  166. package/dist/entities/helpers/sales/lead/h_lead_types.entity.js.map +0 -1
  167. package/dist/entities/helpers/sales/lead/index.d.ts +0 -6
  168. package/dist/entities/helpers/sales/lead/index.js +0 -23
  169. package/dist/entities/helpers/sales/lead/index.js.map +0 -1
  170. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.d.ts +0 -4
  171. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js +0 -28
  172. package/dist/entities/helpers/sales/lead/lead_cancel_reazon.entity.js.map +0 -1
  173. package/dist/entities/helpers/sales/lead/lead_email.entity.d.ts +0 -11
  174. package/dist/entities/helpers/sales/lead/lead_email.entity.js +0 -66
  175. package/dist/entities/helpers/sales/lead/lead_email.entity.js.map +0 -1
  176. package/dist/entities/helpers/sales/lead/lead_phone.entity.d.ts +0 -11
  177. package/dist/entities/helpers/sales/lead/lead_phone.entity.js +0 -66
  178. package/dist/entities/helpers/sales/lead/lead_phone.entity.js.map +0 -1
  179. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.d.ts +0 -5
  180. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js +0 -30
  181. package/dist/entities/helpers/sales/poliza/h_poliza_category.entity.js.map +0 -1
  182. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.d.ts +0 -5
  183. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js +0 -33
  184. package/dist/entities/helpers/sales/poliza/h_poliza_conducto_pago.entity.js.map +0 -1
  185. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.d.ts +0 -6
  186. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js +0 -39
  187. package/dist/entities/helpers/sales/poliza/h_poliza_forma_cobro.entity.js.map +0 -1
  188. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.d.ts +0 -6
  189. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js +0 -39
  190. package/dist/entities/helpers/sales/poliza/h_poliza_frecuencia_pago.entity.js.map +0 -1
  191. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.d.ts +0 -5
  192. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js +0 -30
  193. package/dist/entities/helpers/sales/poliza/h_poliza_insurance.entity.js.map +0 -1
  194. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.d.ts +0 -6
  195. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js +0 -36
  196. package/dist/entities/helpers/sales/poliza/h_poliza_subramo.entity.js.map +0 -1
  197. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.d.ts +0 -5
  198. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js +0 -33
  199. package/dist/entities/helpers/sales/poliza/h_poliza_type.entity.js.map +0 -1
  200. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.d.ts +0 -8
  201. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js +0 -53
  202. package/dist/entities/helpers/sales/poliza/h_receipt_stage.entity.js.map +0 -1
  203. package/dist/entities/helpers/sales/poliza/index.d.ts +0 -10
  204. package/dist/entities/helpers/sales/poliza/index.js +0 -27
  205. package/dist/entities/helpers/sales/poliza/index.js.map +0 -1
  206. package/dist/entities/helpers/sales/poliza/poliza_beneficiary.entity.d.ts +0 -12
  207. package/dist/entities/helpers/sales/poliza/poliza_beneficiary.entity.js +0 -73
  208. package/dist/entities/helpers/sales/poliza/poliza_beneficiary.entity.js.map +0 -1
  209. package/dist/entities/helpers/sales/poliza/poliza_file.entity.d.ts +0 -11
  210. package/dist/entities/helpers/sales/poliza/poliza_file.entity.js +0 -68
  211. package/dist/entities/helpers/sales/poliza/poliza_file.entity.js.map +0 -1
  212. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +0 -11
  213. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +0 -86
  214. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +0 -1
  215. package/dist/entities/helpers/tools/index.d.ts +0 -1
  216. package/dist/entities/helpers/tools/index.js +0 -18
  217. package/dist/entities/helpers/tools/index.js.map +0 -1
  218. package/dist/entities/helpers/tools/task_crm.entity.d.ts +0 -19
  219. package/dist/entities/helpers/tools/task_crm.entity.js +0 -136
  220. package/dist/entities/helpers/tools/task_crm.entity.js.map +0 -1
  221. package/dist/entities/helpers/user/access_history.entity.d.ts +0 -9
  222. package/dist/entities/helpers/user/access_history.entity.js +0 -58
  223. package/dist/entities/helpers/user/access_history.entity.js.map +0 -1
  224. package/dist/entities/imap-config.entity.d.ts +0 -11
  225. package/dist/entities/imap-config.entity.js +0 -61
  226. package/dist/entities/imap-config.entity.js.map +0 -1
  227. package/dist/entities/index.d.ts +0 -26
  228. package/dist/entities/index.js +0 -43
  229. package/dist/entities/index.js.map +0 -1
  230. package/dist/entities/menu-permissions.entity.d.ts +0 -7
  231. package/dist/entities/menu-permissions.entity.js +0 -42
  232. package/dist/entities/menu-permissions.entity.js.map +0 -1
  233. package/dist/entities/notifications/index.d.ts +0 -2
  234. package/dist/entities/notifications/index.js +0 -19
  235. package/dist/entities/notifications/index.js.map +0 -1
  236. package/dist/entities/notifications/notification.entity.d.ts +0 -15
  237. package/dist/entities/notifications/notification.entity.js +0 -119
  238. package/dist/entities/notifications/notification.entity.js.map +0 -1
  239. package/dist/entities/notifications/push-token.entity.d.ts +0 -7
  240. package/dist/entities/notifications/push-token.entity.js +0 -45
  241. package/dist/entities/notifications/push-token.entity.js.map +0 -1
  242. package/dist/entities/otp-log.entity.d.ts +0 -8
  243. package/dist/entities/otp-log.entity.js +0 -49
  244. package/dist/entities/otp-log.entity.js.map +0 -1
  245. package/dist/entities/permission.entity.d.ts +0 -7
  246. package/dist/entities/permission.entity.js +0 -46
  247. package/dist/entities/permission.entity.js.map +0 -1
  248. package/dist/entities/phone.entity.d.ts +0 -5
  249. package/dist/entities/phone.entity.js +0 -36
  250. package/dist/entities/phone.entity.js.map +0 -1
  251. package/dist/entities/profile.entity.d.ts +0 -9
  252. package/dist/entities/profile.entity.js +0 -56
  253. package/dist/entities/profile.entity.js.map +0 -1
  254. package/dist/entities/protocol.entity.d.ts +0 -8
  255. package/dist/entities/protocol.entity.js +0 -46
  256. package/dist/entities/protocol.entity.js.map +0 -1
  257. package/dist/entities/refresh-token.entity.d.ts +0 -8
  258. package/dist/entities/refresh-token.entity.js +0 -46
  259. package/dist/entities/refresh-token.entity.js.map +0 -1
  260. package/dist/entities/role.entity.d.ts +0 -6
  261. package/dist/entities/role.entity.js +0 -42
  262. package/dist/entities/role.entity.js.map +0 -1
  263. package/dist/entities/sales/agente-intermediario.entity.d.ts +0 -5
  264. package/dist/entities/sales/agente-intermediario.entity.js +0 -34
  265. package/dist/entities/sales/agente-intermediario.entity.js.map +0 -1
  266. package/dist/entities/sales/beneficiarios/index.d.ts +0 -2
  267. package/dist/entities/sales/beneficiarios/index.js +0 -19
  268. package/dist/entities/sales/beneficiarios/index.js.map +0 -1
  269. package/dist/entities/sales/beneficiarios/person.entity.d.ts +0 -10
  270. package/dist/entities/sales/beneficiarios/person.entity.js +0 -89
  271. package/dist/entities/sales/beneficiarios/person.entity.js.map +0 -1
  272. package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +0 -16
  273. package/dist/entities/sales/beneficiarios/vehicle.entity.js +0 -106
  274. package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +0 -1
  275. package/dist/entities/sales/contact-comment.entity.d.ts +0 -5
  276. package/dist/entities/sales/contact-comment.entity.js +0 -32
  277. package/dist/entities/sales/contact-comment.entity.js.map +0 -1
  278. package/dist/entities/sales/contact.entity.d.ts +0 -49
  279. package/dist/entities/sales/contact.entity.js +0 -303
  280. package/dist/entities/sales/contact.entity.js.map +0 -1
  281. package/dist/entities/sales/index.d.ts +0 -12
  282. package/dist/entities/sales/index.js +0 -29
  283. package/dist/entities/sales/index.js.map +0 -1
  284. package/dist/entities/sales/lead-comment.entity.d.ts +0 -5
  285. package/dist/entities/sales/lead-comment.entity.js +0 -32
  286. package/dist/entities/sales/lead-comment.entity.js.map +0 -1
  287. package/dist/entities/sales/lead.entity.d.ts +0 -51
  288. package/dist/entities/sales/lead.entity.js +0 -344
  289. package/dist/entities/sales/lead.entity.js.map +0 -1
  290. package/dist/entities/sales/poliza-comment.entity.d.ts +0 -5
  291. package/dist/entities/sales/poliza-comment.entity.js +0 -32
  292. package/dist/entities/sales/poliza-comment.entity.js.map +0 -1
  293. package/dist/entities/sales/poliza.entity.d.ts +0 -112
  294. package/dist/entities/sales/poliza.entity.js +0 -1103
  295. package/dist/entities/sales/poliza.entity.js.map +0 -1
  296. package/dist/entities/sales/poliza_siniestro.entity.d.ts +0 -12
  297. package/dist/entities/sales/poliza_siniestro.entity.js +0 -72
  298. package/dist/entities/sales/poliza_siniestro.entity.js.map +0 -1
  299. package/dist/entities/sales/receipt-comment.entity.d.ts +0 -5
  300. package/dist/entities/sales/receipt-comment.entity.js +0 -32
  301. package/dist/entities/sales/receipt-comment.entity.js.map +0 -1
  302. package/dist/entities/sales/receipt-sub-agente.entity.d.ts +0 -5
  303. package/dist/entities/sales/receipt-sub-agente.entity.js +0 -35
  304. package/dist/entities/sales/receipt-sub-agente.entity.js.map +0 -1
  305. package/dist/entities/sales/receipt.entity.d.ts +0 -31
  306. package/dist/entities/sales/receipt.entity.js +0 -203
  307. package/dist/entities/sales/receipt.entity.js.map +0 -1
  308. package/dist/entities/tag.entity.d.ts +0 -8
  309. package/dist/entities/tag.entity.js +0 -53
  310. package/dist/entities/tag.entity.js.map +0 -1
  311. package/dist/entities/thirdparty/email-config.d.ts +0 -1
  312. package/dist/entities/thirdparty/email-config.entity.d.ts +0 -14
  313. package/dist/entities/thirdparty/email-config.entity.js +0 -76
  314. package/dist/entities/thirdparty/email-config.entity.js.map +0 -1
  315. package/dist/entities/thirdparty/email-config.js +0 -3
  316. package/dist/entities/thirdparty/email-config.js.map +0 -1
  317. package/dist/entities/thirdparty/email.entity.d.ts +0 -17
  318. package/dist/entities/thirdparty/email.entity.js +0 -79
  319. package/dist/entities/thirdparty/email.entity.js.map +0 -1
  320. package/dist/entities/thirdparty/oauth.entity.d.ts +0 -18
  321. package/dist/entities/thirdparty/oauth.entity.js +0 -93
  322. package/dist/entities/thirdparty/oauth.entity.js.map +0 -1
  323. package/dist/entities/thirdparty/service.entity.d.ts +0 -6
  324. package/dist/entities/thirdparty/service.entity.js +0 -32
  325. package/dist/entities/thirdparty/service.entity.js.map +0 -1
  326. package/dist/entities/thirdparty/user-email-relation.entity.d.ts +0 -7
  327. package/dist/entities/thirdparty/user-email-relation.entity.js +0 -35
  328. package/dist/entities/thirdparty/user-email-relation.entity.js.map +0 -1
  329. package/dist/entities/tools/calendar/event.entity.d.ts +0 -19
  330. package/dist/entities/tools/calendar/event.entity.js +0 -132
  331. package/dist/entities/tools/calendar/event.entity.js.map +0 -1
  332. package/dist/entities/tools/calendar/index.d.ts +0 -1
  333. package/dist/entities/tools/calendar/index.js +0 -18
  334. package/dist/entities/tools/calendar/index.js.map +0 -1
  335. package/dist/entities/tools/index.d.ts +0 -4
  336. package/dist/entities/tools/index.js +0 -21
  337. package/dist/entities/tools/index.js.map +0 -1
  338. package/dist/entities/tools/task-comment.entity.d.ts +0 -6
  339. package/dist/entities/tools/task-comment.entity.js +0 -38
  340. package/dist/entities/tools/task-comment.entity.js.map +0 -1
  341. package/dist/entities/tools/task-list-field.d.ts +0 -5
  342. package/dist/entities/tools/task-list-field.js +0 -39
  343. package/dist/entities/tools/task-list-field.js.map +0 -1
  344. package/dist/entities/tools/task.entity.d.ts +0 -34
  345. package/dist/entities/tools/task.entity.js +0 -221
  346. package/dist/entities/tools/task.entity.js.map +0 -1
  347. package/dist/entities/user.entity.d.ts +0 -29
  348. package/dist/entities/user.entity.js +0 -168
  349. package/dist/entities/user.entity.js.map +0 -1
  350. package/dist/eslint.config.d.ts +0 -2
  351. package/dist/eslint.config.js +0 -47
  352. package/dist/eslint.config.js.map +0 -1
  353. package/dist/grpc/drive/drive.proto +0 -179
  354. package/dist/index.d.ts +0 -3
  355. package/dist/index.js +0 -20
  356. package/dist/index.js.map +0 -1
  357. package/dist/modules/index.d.ts +0 -4
  358. package/dist/modules/index.js +0 -21
  359. package/dist/modules/index.js.map +0 -1
  360. package/dist/modules/queue/event.service.d.ts +0 -9
  361. package/dist/modules/queue/event.service.js +0 -40
  362. package/dist/modules/queue/event.service.js.map +0 -1
  363. package/dist/modules/queue/notifier.service.d.ts +0 -15
  364. package/dist/modules/queue/notifier.service.js +0 -70
  365. package/dist/modules/queue/notifier.service.js.map +0 -1
  366. package/dist/modules/queue/notifiers/calendar.notifier.d.ts +0 -2
  367. package/dist/modules/queue/notifiers/calendar.notifier.js +0 -17
  368. package/dist/modules/queue/notifiers/calendar.notifier.js.map +0 -1
  369. package/dist/modules/queue/notifiers/contact.notifier.d.ts +0 -7
  370. package/dist/modules/queue/notifiers/contact.notifier.js +0 -49
  371. package/dist/modules/queue/notifiers/contact.notifier.js.map +0 -1
  372. package/dist/modules/queue/notifiers/index.d.ts +0 -4
  373. package/dist/modules/queue/notifiers/index.js +0 -21
  374. package/dist/modules/queue/notifiers/index.js.map +0 -1
  375. package/dist/modules/queue/notifiers/lead.notifier.d.ts +0 -7
  376. package/dist/modules/queue/notifiers/lead.notifier.js +0 -49
  377. package/dist/modules/queue/notifiers/lead.notifier.js.map +0 -1
  378. package/dist/modules/queue/notifiers/task.notifier.d.ts +0 -15
  379. package/dist/modules/queue/notifiers/task.notifier.js +0 -130
  380. package/dist/modules/queue/notifiers/task.notifier.js.map +0 -1
  381. package/dist/modules/queue/queue.module.d.ts +0 -4
  382. package/dist/modules/queue/queue.module.js +0 -57
  383. package/dist/modules/queue/queue.module.js.map +0 -1
  384. package/dist/modules/queue/scheduler.service.d.ts +0 -9
  385. package/dist/modules/queue/scheduler.service.js +0 -40
  386. package/dist/modules/queue/scheduler.service.js.map +0 -1
  387. package/tsconfig.tsbuildinfo +0 -1
@@ -1,106 +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.BeneficiaryVehicle = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
- const base_entity_1 = require("../../../common/database/base.entity");
15
- const typeorm_1 = require("typeorm");
16
- const user_entity_1 = require("../../user.entity");
17
- let BeneficiaryVehicle = class BeneficiaryVehicle extends base_entity_1.EntityBase {
18
- description;
19
- serial;
20
- model;
21
- motor;
22
- plates;
23
- usage;
24
- circulatesIn;
25
- regularDriver;
26
- regularDriverAge;
27
- preferredBeneficiary;
28
- createdBy;
29
- modifiedBy;
30
- };
31
- exports.BeneficiaryVehicle = BeneficiaryVehicle;
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ type: String, description: 'Description of the vehicle', required: false, nullable: true }),
34
- (0, typeorm_1.Column)({ type: "text" }),
35
- __metadata("design:type", String)
36
- ], BeneficiaryVehicle.prototype, "description", void 0);
37
- __decorate([
38
- (0, swagger_1.ApiProperty)({ type: String, description: 'Serial', required: false }),
39
- (0, typeorm_1.Column)({ length: 55, nullable: true }),
40
- __metadata("design:type", String)
41
- ], BeneficiaryVehicle.prototype, "serial", void 0);
42
- __decorate([
43
- (0, swagger_1.ApiProperty)({ type: String, description: 'Modelo del vehículo', required: false }),
44
- (0, typeorm_1.Column)({ length: 55, nullable: true }),
45
- __metadata("design:type", String)
46
- ], BeneficiaryVehicle.prototype, "model", void 0);
47
- __decorate([
48
- (0, swagger_1.ApiProperty)({ type: String, description: 'Motor del vehículo', required: false }),
49
- (0, typeorm_1.Column)({ length: 55, nullable: true }),
50
- __metadata("design:type", String)
51
- ], BeneficiaryVehicle.prototype, "motor", void 0);
52
- __decorate([
53
- (0, swagger_1.ApiProperty)({ type: String, description: 'Placas del vehículo', required: false }),
54
- (0, typeorm_1.Column)({ length: 20, nullable: true }),
55
- __metadata("design:type", String)
56
- ], BeneficiaryVehicle.prototype, "plates", void 0);
57
- __decorate([
58
- (0, swagger_1.ApiProperty)({ type: String, description: 'Uso', required: false }),
59
- (0, typeorm_1.Column)({ length: 50, nullable: true }),
60
- __metadata("design:type", String)
61
- ], BeneficiaryVehicle.prototype, "usage", void 0);
62
- __decorate([
63
- (0, swagger_1.ApiProperty)({ type: String, description: 'Circula En', required: false }),
64
- (0, typeorm_1.Column)({ length: 150, nullable: true }),
65
- __metadata("design:type", String)
66
- ], BeneficiaryVehicle.prototype, "circulatesIn", void 0);
67
- __decorate([
68
- (0, swagger_1.ApiProperty)({ type: String, description: 'Conductor Habitual', required: false }),
69
- (0, typeorm_1.Column)({ length: 255, nullable: true }),
70
- __metadata("design:type", String)
71
- ], BeneficiaryVehicle.prototype, "regularDriver", void 0);
72
- __decorate([
73
- (0, swagger_1.ApiProperty)({ type: Number, description: 'Edad del Conductor Habitual', required: false }),
74
- (0, typeorm_1.Column)({ nullable: true }),
75
- __metadata("design:type", Number)
76
- ], BeneficiaryVehicle.prototype, "regularDriverAge", void 0);
77
- __decorate([
78
- (0, swagger_1.ApiProperty)({ type: String, description: 'Beneficiario Preferente', required: false }),
79
- (0, typeorm_1.Column)({ length: 255, nullable: true }),
80
- __metadata("design:type", String)
81
- ], BeneficiaryVehicle.prototype, "preferredBeneficiary", void 0);
82
- __decorate([
83
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the comment', required: false }),
84
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
85
- onDelete: "SET NULL",
86
- onUpdate: "CASCADE",
87
- nullable: true,
88
- }),
89
- (0, typeorm_1.JoinColumn)(),
90
- __metadata("design:type", user_entity_1.User)
91
- ], BeneficiaryVehicle.prototype, "createdBy", void 0);
92
- __decorate([
93
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the comment', required: false }),
94
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
95
- onDelete: "SET NULL",
96
- onUpdate: "CASCADE",
97
- nullable: true,
98
- }),
99
- (0, typeorm_1.JoinColumn)(),
100
- __metadata("design:type", user_entity_1.User)
101
- ], BeneficiaryVehicle.prototype, "modifiedBy", void 0);
102
- exports.BeneficiaryVehicle = BeneficiaryVehicle = __decorate([
103
- (0, typeorm_1.Entity)(),
104
- (0, typeorm_1.Index)(["serial", "model", "plates"], { unique: true })
105
- ], BeneficiaryVehicle);
106
- //# sourceMappingURL=vehicle.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vehicle.entity.js","sourceRoot":"","sources":["../../../../src/entities/sales/beneficiarios/vehicle.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,sEAAkE;AAClE,qCAAuE;AACvE,mDAAyC;AAIlC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,wBAAU;IAGhD,WAAW,CAAS;IAIpB,MAAM,CAAU;IAIhB,KAAK,CAAU;IAIf,KAAK,CAAU;IAIf,MAAM,CAAU;IAIhB,KAAK,CAAU;IAIf,YAAY,CAAU;IAItB,aAAa,CAAU;IAIvB,gBAAgB,CAAU;IAI1B,oBAAoB,CAAU;IAS9B,SAAS,CAAQ;IASjB,UAAU,CAAQ;CACnB,CAAA;AA1DY,gDAAkB;AAG7B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzG,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uDACL;AAIpB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrE,IAAA,gBAAM,EAAC,EAAE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AK,EAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC1C,kBAAkB,CA0D9B"}
@@ -1,5 +0,0 @@
1
- import { Contact } from "./contact.entity";
2
- import { CommentBase } from "../../common";
3
- export declare class ContactComment extends CommentBase {
4
- contact: Contact;
5
- }
@@ -1,32 +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.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
@@ -1 +0,0 @@
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"}
@@ -1,49 +0,0 @@
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
- export declare class Contact extends EntityBase {
14
- idBitrix?: number;
15
- number: number;
16
- typePerson: PersonType;
17
- codigo?: string;
18
- fullName?: string;
19
- name?: string;
20
- lastName?: string;
21
- secondName?: string;
22
- codigos?: ContactInsurance[];
23
- rfc?: string;
24
- address?: string;
25
- phones?: ContactPhone[];
26
- emails?: ContactEmail[];
27
- cargo?: string;
28
- birthdate?: Date;
29
- gender?: string;
30
- type?: ClientType;
31
- source?: ClientSource;
32
- assignedBy?: User;
33
- tasks: TaskCRM[];
34
- observer?: User;
35
- lead?: Lead;
36
- relations?: Contact[];
37
- curp?: string;
38
- cua?: string;
39
- photo?: string;
40
- post?: string;
41
- observations?: string;
42
- company?: string;
43
- export?: boolean;
44
- sourceDescription?: string;
45
- polizas?: Poliza[];
46
- createdBy?: User;
47
- modifiedBy?: User;
48
- comments: ContactComment[];
49
- }
@@ -1,303 +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.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
- let Contact = class Contact extends base_entity_1.EntityBase {
28
- idBitrix;
29
- number;
30
- typePerson;
31
- codigo;
32
- fullName;
33
- name;
34
- lastName;
35
- secondName;
36
- codigos;
37
- rfc;
38
- address;
39
- phones;
40
- emails;
41
- cargo;
42
- birthdate;
43
- gender;
44
- type;
45
- source;
46
- assignedBy;
47
- tasks;
48
- observer;
49
- lead;
50
- relations;
51
- curp;
52
- cua;
53
- photo;
54
- post;
55
- observations;
56
- company;
57
- export;
58
- sourceDescription;
59
- polizas;
60
- createdBy;
61
- modifiedBy;
62
- comments;
63
- };
64
- exports.Contact = Contact;
65
- __decorate([
66
- (0, swagger_1.ApiProperty)({ type: Number, description: 'Bitrix ID of the contact', required: false }),
67
- (0, typeorm_1.Column)({ name: "id_bitrix", nullable: true }),
68
- __metadata("design:type", Number)
69
- ], Contact.prototype, "idBitrix", void 0);
70
- __decorate([
71
- (0, typeorm_1.Column)(),
72
- (0, typeorm_1.Generated)("increment"),
73
- __metadata("design:type", Number)
74
- ], Contact.prototype, "number", void 0);
75
- __decorate([
76
- (0, swagger_1.ApiProperty)({
77
- enum: common_1.PersonType,
78
- description: 'Type of person',
79
- default: common_1.PersonType.FISICA
80
- }),
81
- (0, typeorm_1.Column)({
82
- type: "enum",
83
- enum: common_1.PersonType,
84
- default: common_1.PersonType.FISICA
85
- }),
86
- __metadata("design:type", String)
87
- ], Contact.prototype, "typePerson", void 0);
88
- __decorate([
89
- (0, swagger_1.ApiProperty)({ type: String, description: 'Code of the contact', required: false }),
90
- (0, typeorm_1.Column)({ name: "codigo", length: 100, nullable: true }),
91
- __metadata("design:type", String)
92
- ], Contact.prototype, "codigo", void 0);
93
- __decorate([
94
- (0, swagger_1.ApiProperty)({ type: String, description: 'Full name of the contact', required: false }),
95
- (0, typeorm_1.Column)({ name: "full_name", length: 255, nullable: true }),
96
- __metadata("design:type", String)
97
- ], Contact.prototype, "fullName", void 0);
98
- __decorate([
99
- (0, swagger_1.ApiProperty)({ type: String, description: 'First name of the contact', required: false }),
100
- (0, typeorm_1.Column)({ name: "name", length: 150, nullable: true }),
101
- __metadata("design:type", String)
102
- ], Contact.prototype, "name", void 0);
103
- __decorate([
104
- (0, swagger_1.ApiProperty)({ type: String, description: 'Last name of the contact', required: false }),
105
- (0, typeorm_1.Column)({ name: "last_name", length: 150, nullable: true }),
106
- __metadata("design:type", String)
107
- ], Contact.prototype, "lastName", void 0);
108
- __decorate([
109
- (0, swagger_1.ApiProperty)({ type: String, description: 'Second name of the contact', required: false }),
110
- (0, typeorm_1.Column)({ name: "second_name", length: 150, nullable: true }),
111
- __metadata("design:type", String)
112
- ], Contact.prototype, "secondName", void 0);
113
- __decorate([
114
- (0, swagger_1.ApiProperty)({ type: () => [contact_insurance_entity_1.ContactInsurance], description: 'Codigos de aseguradoras' }),
115
- (0, typeorm_1.OneToMany)(() => contact_insurance_entity_1.ContactInsurance, (contactEmail) => contactEmail.contact, {
116
- onDelete: "CASCADE",
117
- onUpdate: "CASCADE",
118
- eager: true,
119
- }),
120
- __metadata("design:type", Array)
121
- ], Contact.prototype, "codigos", void 0);
122
- __decorate([
123
- (0, swagger_1.ApiProperty)({ type: String, description: 'RFC of the contact', required: false }),
124
- (0, typeorm_1.Column)({ name: "rfc", length: 100, nullable: true }),
125
- __metadata("design:type", String)
126
- ], Contact.prototype, "rfc", void 0);
127
- __decorate([
128
- (0, swagger_1.ApiProperty)({ type: String, description: 'Address of the contact', required: false }),
129
- (0, typeorm_1.Column)({ name: "address", type: "text", nullable: true }),
130
- __metadata("design:type", String)
131
- ], Contact.prototype, "address", void 0);
132
- __decorate([
133
- (0, swagger_1.ApiProperty)({ type: () => [contact_phone_entity_1.ContactPhone], description: 'Phones associated with the contact' }),
134
- (0, typeorm_1.OneToMany)(() => contact_phone_entity_1.ContactPhone, (contactPhone) => contactPhone.contact, {
135
- onDelete: "CASCADE",
136
- onUpdate: "CASCADE",
137
- eager: true,
138
- }),
139
- __metadata("design:type", Array)
140
- ], Contact.prototype, "phones", void 0);
141
- __decorate([
142
- (0, swagger_1.ApiProperty)({ type: () => [contact_email_entity_1.ContactEmail], description: 'Emails associated with the contact' }),
143
- (0, typeorm_1.OneToMany)(() => contact_email_entity_1.ContactEmail, (contactEmail) => contactEmail.contact, {
144
- onDelete: "CASCADE",
145
- onUpdate: "CASCADE",
146
- eager: true,
147
- }),
148
- __metadata("design:type", Array)
149
- ], Contact.prototype, "emails", void 0);
150
- __decorate([
151
- (0, swagger_1.ApiProperty)({ type: String, description: 'Cargo of the contact', required: false }),
152
- (0, typeorm_1.Column)({ name: "cargo", length: 150, nullable: true }),
153
- __metadata("design:type", String)
154
- ], Contact.prototype, "cargo", void 0);
155
- __decorate([
156
- (0, swagger_1.ApiProperty)({ type: Date, description: 'Birthdate of the contact', required: false }),
157
- (0, typeorm_1.Column)({ name: "birthdate", nullable: true }),
158
- __metadata("design:type", Date)
159
- ], Contact.prototype, "birthdate", void 0);
160
- __decorate([
161
- (0, swagger_1.ApiProperty)({ type: String, description: 'Gender of the contact', required: false }),
162
- (0, typeorm_1.Column)({ name: "gender", length: 10, nullable: true }),
163
- __metadata("design:type", String)
164
- ], Contact.prototype, "gender", void 0);
165
- __decorate([
166
- (0, swagger_1.ApiProperty)({ type: () => client_types_entity_1.ClientType, description: 'Contact type', required: true }),
167
- (0, typeorm_1.ManyToOne)(() => client_types_entity_1.ClientType, {
168
- onDelete: "SET NULL",
169
- onUpdate: "CASCADE",
170
- nullable: true,
171
- eager: true,
172
- }),
173
- __metadata("design:type", client_types_entity_1.ClientType)
174
- ], Contact.prototype, "type", void 0);
175
- __decorate([
176
- (0, swagger_1.ApiProperty)({ type: () => client_sources_entity_1.ClientSource, description: 'Contact source', required: true }),
177
- (0, typeorm_1.ManyToOne)(() => client_sources_entity_1.ClientSource, {
178
- onDelete: "SET NULL",
179
- onUpdate: "CASCADE",
180
- nullable: true,
181
- eager: true,
182
- }),
183
- __metadata("design:type", client_sources_entity_1.ClientSource)
184
- ], Contact.prototype, "source", void 0);
185
- __decorate([
186
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User assigned to the contact', required: false }),
187
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
188
- onDelete: "SET NULL",
189
- onUpdate: "CASCADE",
190
- nullable: true,
191
- }),
192
- __metadata("design:type", user_entity_1.User)
193
- ], Contact.prototype, "assignedBy", void 0);
194
- __decorate([
195
- (0, swagger_1.ApiProperty)({ type: () => [helpers_1.TaskCRM], description: 'Tasks associated with the contact' }),
196
- (0, typeorm_1.OneToMany)(() => helpers_1.TaskCRM, task => task.contact, { cascade: true, onDelete: 'CASCADE' }),
197
- __metadata("design:type", Array)
198
- ], Contact.prototype, "tasks", void 0);
199
- __decorate([
200
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User observing the contact', required: false }),
201
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
202
- onDelete: "SET NULL",
203
- onUpdate: "CASCADE",
204
- nullable: true,
205
- }),
206
- __metadata("design:type", user_entity_1.User)
207
- ], Contact.prototype, "observer", void 0);
208
- __decorate([
209
- (0, swagger_1.ApiProperty)({ type: () => lead_entity_1.Lead, description: 'Lead associated with this contact', required: false }),
210
- (0, typeorm_1.OneToOne)(() => lead_entity_1.Lead, (lead) => lead.contact, {
211
- onDelete: "CASCADE",
212
- onUpdate: "CASCADE",
213
- }),
214
- (0, typeorm_1.JoinColumn)(),
215
- __metadata("design:type", lead_entity_1.Lead)
216
- ], Contact.prototype, "lead", void 0);
217
- __decorate([
218
- (0, swagger_1.ApiProperty)({ type: () => [Contact], description: 'Contacts related' }),
219
- (0, typeorm_1.ManyToMany)(() => Contact, {
220
- onDelete: "CASCADE",
221
- onUpdate: "CASCADE",
222
- }),
223
- (0, typeorm_1.JoinTable)(),
224
- __metadata("design:type", Array)
225
- ], Contact.prototype, "relations", void 0);
226
- __decorate([
227
- (0, swagger_1.ApiProperty)({ type: String, description: 'CURP of the contact', required: false }),
228
- (0, typeorm_1.Column)({ name: "curp", length: 50, nullable: true }),
229
- __metadata("design:type", String)
230
- ], Contact.prototype, "curp", void 0);
231
- __decorate([
232
- (0, swagger_1.ApiProperty)({ type: String, description: 'CUA of the contact', required: false }),
233
- (0, typeorm_1.Column)({ name: "cua", length: 50, nullable: true }),
234
- __metadata("design:type", String)
235
- ], Contact.prototype, "cua", void 0);
236
- __decorate([
237
- (0, swagger_1.ApiProperty)({ type: String, description: 'Photo URL of the contact', required: false }),
238
- (0, typeorm_1.Column)({ name: "photo", length: 255, nullable: true }),
239
- __metadata("design:type", String)
240
- ], Contact.prototype, "photo", void 0);
241
- __decorate([
242
- (0, swagger_1.ApiProperty)({ type: String, description: 'Post of the contact', required: false }),
243
- (0, typeorm_1.Column)({ name: "post", type: "text", nullable: true }),
244
- __metadata("design:type", String)
245
- ], Contact.prototype, "post", void 0);
246
- __decorate([
247
- (0, swagger_1.ApiProperty)({ type: String, description: 'Comments about the contact', required: false }),
248
- (0, typeorm_1.Column)({ name: "observations", type: "text", nullable: true }),
249
- __metadata("design:type", String)
250
- ], Contact.prototype, "observations", void 0);
251
- __decorate([
252
- (0, swagger_1.ApiProperty)({ type: String, description: 'Company of the contact', required: false }),
253
- (0, typeorm_1.Column)({ length: 255, nullable: true }),
254
- __metadata("design:type", String)
255
- ], Contact.prototype, "company", void 0);
256
- __decorate([
257
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is the contact exported?', default: false }),
258
- (0, typeorm_1.Column)({ name: "export", default: false }),
259
- __metadata("design:type", Boolean)
260
- ], Contact.prototype, "export", void 0);
261
- __decorate([
262
- (0, swagger_1.ApiProperty)({ type: String, description: 'Source description of the contact', required: false }),
263
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
264
- __metadata("design:type", String)
265
- ], Contact.prototype, "sourceDescription", void 0);
266
- __decorate([
267
- (0, swagger_1.ApiProperty)({ type: () => [poliza_entity_1.Poliza], description: 'Polizas associated with the contact' }),
268
- (0, typeorm_1.OneToMany)(() => poliza_entity_1.Poliza, (poliza) => poliza.contact, {
269
- onDelete: "CASCADE",
270
- onUpdate: "CASCADE",
271
- }),
272
- __metadata("design:type", Array)
273
- ], Contact.prototype, "polizas", void 0);
274
- __decorate([
275
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the contact', required: false }),
276
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
277
- onDelete: "SET NULL",
278
- onUpdate: "CASCADE",
279
- nullable: true,
280
- }),
281
- (0, typeorm_1.JoinColumn)(),
282
- __metadata("design:type", user_entity_1.User)
283
- ], Contact.prototype, "createdBy", void 0);
284
- __decorate([
285
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who modified the contact', required: false }),
286
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
287
- onDelete: "SET NULL",
288
- onUpdate: "CASCADE",
289
- nullable: true,
290
- }),
291
- (0, typeorm_1.JoinColumn)(),
292
- __metadata("design:type", user_entity_1.User)
293
- ], Contact.prototype, "modifiedBy", void 0);
294
- __decorate([
295
- (0, swagger_1.ApiProperty)({ type: () => [contact_comment_entity_1.ContactComment], description: 'Comments on the contact' }),
296
- (0, typeorm_1.OneToMany)(() => contact_comment_entity_1.ContactComment, contactComment => contactComment.contact),
297
- (0, typeorm_1.JoinColumn)(),
298
- __metadata("design:type", Array)
299
- ], Contact.prototype, "comments", void 0);
300
- exports.Contact = Contact = __decorate([
301
- (0, typeorm_1.Entity)()
302
- ], Contact);
303
- //# sourceMappingURL=contact.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/contact.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAAgE;AAChE,wFAA6E;AAC7E,wFAA6E;AAC7E,yFAA6E;AAC7E,qFAAyE;AACzE,gDAAsC;AACtC,qCAAuH;AACvH,mDAAyC;AACzC,6CAA8C;AAC9C,+CAAqC;AACrC,yCAA0C;AAC1C,gGAAqF;AACrF,wC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CAAC,uCAAc,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC;IACzE,IAAA,oBAAU,GAAE;;yCACc;kBAzMhB,OAAO;IADnB,IAAA,gBAAM,GAAE;GACI,OAAO,CA0MnB"}
@@ -1,12 +0,0 @@
1
- export * from './poliza-comment.entity';
2
- export * from './receipt.entity';
3
- export * from './agente-intermediario.entity';
4
- export * from './lead-comment.entity';
5
- export * from './contact.entity';
6
- export * from './receipt-sub-agente.entity';
7
- export * from './poliza_siniestro.entity';
8
- export * from './lead.entity';
9
- export * from './receipt-comment.entity';
10
- export * from './poliza.entity';
11
- export * from './contact-comment.entity';
12
- export * from "./beneficiarios";
@@ -1,29 +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-comment.entity"), exports);
18
- __exportStar(require("./receipt.entity"), exports);
19
- __exportStar(require("./agente-intermediario.entity"), exports);
20
- __exportStar(require("./lead-comment.entity"), exports);
21
- __exportStar(require("./contact.entity"), exports);
22
- __exportStar(require("./receipt-sub-agente.entity"), exports);
23
- __exportStar(require("./poliza_siniestro.entity"), exports);
24
- __exportStar(require("./lead.entity"), exports);
25
- __exportStar(require("./receipt-comment.entity"), exports);
26
- __exportStar(require("./poliza.entity"), exports);
27
- __exportStar(require("./contact-comment.entity"), exports);
28
- __exportStar(require("./beneficiarios"), exports);
29
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/sales/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mDAAiC;AACjC,gEAA8C;AAC9C,wDAAsC;AACtC,mDAAiC;AACjC,8DAA4C;AAC5C,4DAA0C;AAC1C,gDAA8B;AAC9B,2DAAyC;AACzC,kDAAgC;AAChC,2DAAyC;AACzC,kDAA+B"}
@@ -1,5 +0,0 @@
1
- import { Lead } from "./lead.entity";
2
- import { CommentBase } from "../../common";
3
- export declare class LeadComment extends CommentBase {
4
- lead: Lead;
5
- }
@@ -1,32 +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.LeadComment = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const lead_entity_1 = require("./lead.entity");
15
- const swagger_1 = require("@nestjs/swagger");
16
- const common_1 = require("../../common");
17
- let LeadComment = class LeadComment extends common_1.CommentBase {
18
- lead;
19
- };
20
- exports.LeadComment = LeadComment;
21
- __decorate([
22
- (0, swagger_1.ApiProperty)({ type: () => lead_entity_1.Lead, description: 'Lead associated with the comment' }),
23
- (0, typeorm_1.ManyToOne)(() => lead_entity_1.Lead, {
24
- onDelete: "CASCADE",
25
- onUpdate: "CASCADE",
26
- }),
27
- __metadata("design:type", lead_entity_1.Lead)
28
- ], LeadComment.prototype, "lead", void 0);
29
- exports.LeadComment = LeadComment = __decorate([
30
- (0, typeorm_1.Entity)()
31
- ], LeadComment);
32
- //# sourceMappingURL=lead-comment.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lead-comment.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/lead-comment.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4C;AAC5C,+CAAqC;AACrC,6CAA8C;AAC9C,yCAA2C;AAGpC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,oBAAW;IAMxC,IAAI,CAAO;CACd,CAAA;AAPY,kCAAW;AAMpB;IALC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,kCAAkC,EAAE,CAAC;IAClF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACtB,CAAC;8BACI,kBAAI;yCAAC;sBANF,WAAW;IADvB,IAAA,gBAAM,GAAE;GACI,WAAW,CAOvB"}