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,36 +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.Email = void 0;
13
- const base_entity_1 = require("../common/database/base.entity");
14
- const class_validator_1 = require("class-validator");
15
- const typeorm_1 = require("typeorm");
16
- const swagger_1 = require("@nestjs/swagger");
17
- let Email = class Email extends base_entity_1.EntityBase {
18
- email;
19
- isDefault;
20
- };
21
- exports.Email = Email;
22
- __decorate([
23
- (0, swagger_1.ApiProperty)({ type: String, description: 'Email address', minLength: 3 }),
24
- (0, class_validator_1.MinLength)(3),
25
- (0, typeorm_1.Column)({ unique: true }),
26
- __metadata("design:type", String)
27
- ], Email.prototype, "email", void 0);
28
- __decorate([
29
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this the default email', default: false }),
30
- (0, typeorm_1.Column)({ name: "is_default", default: false }),
31
- __metadata("design:type", Boolean)
32
- ], Email.prototype, "isDefault", void 0);
33
- exports.Email = Email = __decorate([
34
- (0, typeorm_1.Entity)()
35
- ], Email);
36
- //# sourceMappingURL=email.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"email.entity.js","sourceRoot":"","sources":["../../src/entities/email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAA4D;AAC5D,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,wBAAU;IAInC,KAAK,CAAS;IAId,SAAS,CAAU;CACpB,CAAA;AATY,sBAAK;AAIhB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACzE,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;oCACX;AAId;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACxF,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;wCAC5B;gBARR,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CASjB"}
@@ -1,5 +0,0 @@
1
- import { EntityBase } from "../common/database/base.entity";
2
- export declare class Group extends EntityBase {
3
- name: string;
4
- level: number;
5
- }
@@ -1,33 +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.Group = void 0;
13
- const base_entity_1 = require("../common/database/base.entity");
14
- const class_validator_1 = require("class-validator");
15
- const typeorm_1 = require("typeorm");
16
- let Group = class Group extends base_entity_1.EntityBase {
17
- name;
18
- level;
19
- };
20
- exports.Group = Group;
21
- __decorate([
22
- (0, class_validator_1.MinLength)(1),
23
- (0, typeorm_1.Column)({ unique: true }),
24
- __metadata("design:type", String)
25
- ], Group.prototype, "name", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)(),
28
- __metadata("design:type", Number)
29
- ], Group.prototype, "level", void 0);
30
- exports.Group = Group = __decorate([
31
- (0, typeorm_1.Entity)()
32
- ], Group);
33
- //# sourceMappingURL=group.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"group.entity.js","sourceRoot":"","sources":["../../src/entities/group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAA2D;AAC3D,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,wBAAU;IAGnC,IAAI,CAAS;IAGb,KAAK,CAAS;CACf,CAAA;AAPY,sBAAK;AAGhB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;AAGb;IADC,IAAA,gBAAM,GAAE;;oCACK;gBANH,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CAOjB"}
@@ -1,10 +0,0 @@
1
- import { BaseEntity } from "typeorm";
2
- import { File } from "../drive/file.entity";
3
- export declare class EntityFile extends BaseEntity {
4
- id: string;
5
- entityId: string;
6
- entityType: string;
7
- fileId: string;
8
- relation: string;
9
- file: File;
10
- }
@@ -1,61 +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.EntityFile = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const file_entity_1 = require("../drive/file.entity");
15
- const swagger_1 = require("@nestjs/swagger");
16
- let EntityFile = class EntityFile extends typeorm_1.BaseEntity {
17
- id;
18
- entityId;
19
- entityType;
20
- fileId;
21
- relation;
22
- file;
23
- };
24
- exports.EntityFile = EntityFile;
25
- __decorate([
26
- (0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the entity file', format: 'uuid' }),
27
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
28
- __metadata("design:type", String)
29
- ], EntityFile.prototype, "id", void 0);
30
- __decorate([
31
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated entity', format: 'uuid' }),
32
- (0, typeorm_1.Column)("uuid"),
33
- __metadata("design:type", String)
34
- ], EntityFile.prototype, "entityId", void 0);
35
- __decorate([
36
- (0, swagger_1.ApiProperty)({ type: String, description: 'Type of the associated entity' }),
37
- (0, typeorm_1.Column)(),
38
- __metadata("design:type", String)
39
- ], EntityFile.prototype, "entityType", void 0);
40
- __decorate([
41
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated file' }),
42
- (0, typeorm_1.Column)(),
43
- __metadata("design:type", String)
44
- ], EntityFile.prototype, "fileId", void 0);
45
- __decorate([
46
- (0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
47
- (0, typeorm_1.Column)({ nullable: true }),
48
- __metadata("design:type", String)
49
- ], EntityFile.prototype, "relation", void 0);
50
- __decorate([
51
- (0, swagger_1.ApiProperty)({ type: () => file_entity_1.File, description: 'File entity associated' }),
52
- (0, typeorm_1.ManyToOne)(() => file_entity_1.File, file => file.owners, {
53
- onDelete: "CASCADE",
54
- onUpdate: "CASCADE",
55
- }),
56
- __metadata("design:type", file_entity_1.File)
57
- ], EntityFile.prototype, "file", void 0);
58
- exports.EntityFile = EntityFile = __decorate([
59
- (0, typeorm_1.Entity)()
60
- ], EntityFile);
61
- //# sourceMappingURL=entity_file.entity.js.map
@@ -1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IACxE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;QAC1C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACW,kBAAI;wCAAC;qBA1BP,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CA2BtB"}
@@ -1,10 +0,0 @@
1
- import { BaseEntity } from "typeorm";
2
- import { Folder } from "../drive/folder.entity";
3
- export declare class EntityFolder extends BaseEntity {
4
- id: string;
5
- entityId: string;
6
- entityType: string;
7
- folderId: string;
8
- relation: string;
9
- folder: Folder;
10
- }
@@ -1,61 +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.EntityFolder = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const folder_entity_1 = require("../drive/folder.entity");
15
- const swagger_1 = require("@nestjs/swagger");
16
- let EntityFolder = class EntityFolder extends typeorm_1.BaseEntity {
17
- id;
18
- entityId;
19
- entityType;
20
- folderId;
21
- relation;
22
- folder;
23
- };
24
- exports.EntityFolder = EntityFolder;
25
- __decorate([
26
- (0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the entity folder', format: 'uuid' }),
27
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
28
- __metadata("design:type", String)
29
- ], EntityFolder.prototype, "id", void 0);
30
- __decorate([
31
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated entity', format: 'uuid' }),
32
- (0, typeorm_1.Column)("uuid"),
33
- __metadata("design:type", String)
34
- ], EntityFolder.prototype, "entityId", void 0);
35
- __decorate([
36
- (0, swagger_1.ApiProperty)({ type: String, description: 'Type of the associated entity' }),
37
- (0, typeorm_1.Column)(),
38
- __metadata("design:type", String)
39
- ], EntityFolder.prototype, "entityType", void 0);
40
- __decorate([
41
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated folder', format: 'uuid' }),
42
- (0, typeorm_1.Column)("uuid"),
43
- __metadata("design:type", String)
44
- ], EntityFolder.prototype, "folderId", void 0);
45
- __decorate([
46
- (0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
47
- (0, typeorm_1.Column)({ nullable: true }),
48
- __metadata("design:type", String)
49
- ], EntityFolder.prototype, "relation", void 0);
50
- __decorate([
51
- (0, swagger_1.ApiProperty)({ type: () => folder_entity_1.Folder, description: 'Folder entity associated' }),
52
- (0, typeorm_1.ManyToOne)(() => folder_entity_1.Folder, folder => folder.owners, {
53
- onDelete: "CASCADE",
54
- onUpdate: "CASCADE",
55
- }),
56
- __metadata("design:type", folder_entity_1.Folder)
57
- ], EntityFolder.prototype, "folder", void 0);
58
- exports.EntityFolder = EntityFolder = __decorate([
59
- (0, typeorm_1.Entity)()
60
- ], EntityFolder);
61
- //# sourceMappingURL=entity_folder.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity_folder.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/entity_folder.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,0DAAgD;AAChD,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAS;IAIX,QAAQ,CAAS;IAIjB,UAAU,C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M,GAAE;GACI,YAAY,CA2BxB"}
@@ -1,4 +0,0 @@
1
- export * from "./entity_file.entity";
2
- export * from "./entity_folder.entity";
3
- export * from "./sales";
4
- export * from "./tools";
@@ -1,21 +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("./entity_file.entity"), exports);
18
- __exportStar(require("./entity_folder.entity"), exports);
19
- __exportStar(require("./sales"), exports);
20
- __exportStar(require("./tools"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC;AACvC,0CAAwB;AACxB,0CAAwB"}
@@ -1,5 +0,0 @@
1
- import { EntityBase } from "../../../../common/database/base.entity";
2
- export declare class ClientSource extends EntityBase {
3
- name: string;
4
- isDefault: boolean;
5
- }
@@ -1,36 +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.ClientSource = void 0;
13
- const base_entity_1 = require("../../../../common/database/base.entity");
14
- const class_validator_1 = require("class-validator");
15
- const typeorm_1 = require("typeorm");
16
- const swagger_1 = require("@nestjs/swagger");
17
- let ClientSource = class ClientSource extends base_entity_1.EntityBase {
18
- name;
19
- isDefault;
20
- };
21
- exports.ClientSource = ClientSource;
22
- __decorate([
23
- (0, swagger_1.ApiProperty)({ type: String, description: 'Name of the Client source', minLength: 3 }),
24
- (0, class_validator_1.MinLength)(3),
25
- (0, typeorm_1.Column)({ unique: true }),
26
- __metadata("design:type", String)
27
- ], ClientSource.prototype, "name", void 0);
28
- __decorate([
29
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this the default Client source?', default: false }),
30
- (0, typeorm_1.Column)({ default: false }),
31
- __metadata("design:type", Boolean)
32
- ], ClientSource.prototype, "isDefault", void 0);
33
- exports.ClientSource = ClientSource = __decorate([
34
- (0, typeorm_1.Entity)()
35
- ], ClientSource);
36
- //# sourceMappingURL=client_sources.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client_sources.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/common/client_sources.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAqE;AACrE,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,wBAAU;IAI1C,IAAI,CAAS;IAIb,SAAS,CAAU;CACpB,CAAA;AATY,oCAAY;AAIvB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACrF,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;0CACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,oCAAoC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IACjG,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACR;uBARR,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CASxB"}
@@ -1,5 +0,0 @@
1
- import { EntityBase } from "../../../../common/database/base.entity";
2
- export declare class ClientType extends EntityBase {
3
- name: string;
4
- isDefault: boolean;
5
- }
@@ -1,36 +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.ClientType = void 0;
13
- const base_entity_1 = require("../../../../common/database/base.entity");
14
- const class_validator_1 = require("class-validator");
15
- const typeorm_1 = require("typeorm");
16
- const swagger_1 = require("@nestjs/swagger");
17
- let ClientType = class ClientType extends base_entity_1.EntityBase {
18
- name;
19
- isDefault;
20
- };
21
- exports.ClientType = ClientType;
22
- __decorate([
23
- (0, swagger_1.ApiProperty)({ type: String, description: 'Name of the Client type', minLength: 3 }),
24
- (0, class_validator_1.MinLength)(3),
25
- (0, typeorm_1.Column)({ unique: true }),
26
- __metadata("design:type", String)
27
- ], ClientType.prototype, "name", void 0);
28
- __decorate([
29
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is this the default Client type?', default: false }),
30
- (0, typeorm_1.Column)({ default: false }),
31
- __metadata("design:type", Boolean)
32
- ], ClientType.prototype, "isDefault", void 0);
33
- exports.ClientType = ClientType = __decorate([
34
- (0, typeorm_1.Entity)()
35
- ], ClientType);
36
- //# sourceMappingURL=client_types.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client_types.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/common/client_types.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAqE;AACrE,qDAA4C;AAC5C,qCAAyC;AACzC,6CAA8C;AAGvC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;IAIxC,IAAI,CAAS;IAIb,SAAS,CAAU;CACpB,CAAA;AATY,gCAAU;AAIrB;IAHC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,yBAAyB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IACnF,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;wCACZ;AAIb;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,kCAAkC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC/F,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CACR;qBARR,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAStB"}
@@ -1,11 +0,0 @@
1
- import { BaseEntity } from "typeorm";
2
- import { Contact } from "../../../sales/contact.entity";
3
- import { Email } from "../../../email.entity";
4
- export declare class ContactEmail extends BaseEntity {
5
- id?: string;
6
- contactId: string;
7
- emailId: string;
8
- relation: string;
9
- contact: Contact;
10
- email: Email;
11
- }
@@ -1,68 +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.ContactEmail = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const class_transformer_1 = require("class-transformer");
15
- const contact_entity_1 = require("../../../sales/contact.entity");
16
- const email_entity_1 = require("../../../email.entity");
17
- const swagger_1 = require("@nestjs/swagger");
18
- let ContactEmail = class ContactEmail extends typeorm_1.BaseEntity {
19
- id;
20
- contactId;
21
- emailId;
22
- relation;
23
- contact;
24
- email;
25
- };
26
- exports.ContactEmail = ContactEmail;
27
- __decorate([
28
- (0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the contact email', format: 'uuid' }),
29
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
30
- __metadata("design:type", String)
31
- ], ContactEmail.prototype, "id", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated contact', format: 'uuid' }),
34
- (0, typeorm_1.Column)({ type: "uuid" }),
35
- __metadata("design:type", String)
36
- ], ContactEmail.prototype, "contactId", void 0);
37
- __decorate([
38
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated email', format: 'uuid' }),
39
- (0, typeorm_1.Column)({ type: "uuid" }),
40
- __metadata("design:type", String)
41
- ], ContactEmail.prototype, "emailId", void 0);
42
- __decorate([
43
- (0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
44
- (0, typeorm_1.Column)({ nullable: true }),
45
- __metadata("design:type", String)
46
- ], ContactEmail.prototype, "relation", void 0);
47
- __decorate([
48
- (0, class_transformer_1.Exclude)(),
49
- (0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact entity associated' }),
50
- (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.emails, {
51
- onDelete: "CASCADE",
52
- onUpdate: "CASCADE",
53
- }),
54
- __metadata("design:type", contact_entity_1.Contact)
55
- ], ContactEmail.prototype, "contact", void 0);
56
- __decorate([
57
- (0, swagger_1.ApiProperty)({ type: () => email_entity_1.Email, description: 'Email entity associated' }),
58
- (0, typeorm_1.ManyToOne)(() => email_entity_1.Email, {
59
- onDelete: "CASCADE",
60
- onUpdate: "CASCADE",
61
- eager: true,
62
- }),
63
- __metadata("design:type", email_entity_1.Email)
64
- ], ContactEmail.prototype, "email", void 0);
65
- exports.ContactEmail = ContactEmail = __decorate([
66
- (0, typeorm_1.Entity)()
67
- ], ContactEmail);
68
- //# sourceMappingURL=contact_email.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact_email.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAU;IAIZ,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,QAAQ,CAAS;IAQV,OAAO,CAAU;IAQjB,KAAK,CAAQ;CACrB,CAAA;AAhC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,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACY,oBAAK;2CAAC;uBA/BT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAgCxB"}
@@ -1,11 +0,0 @@
1
- import { BaseEntity } from "typeorm";
2
- import { Contact } from "../../../sales/contact.entity";
3
- import { PolizaInsurance } from "../poliza";
4
- export declare class ContactInsurance extends BaseEntity {
5
- id?: string;
6
- contactId: string;
7
- insuranceId: string;
8
- codigo: string;
9
- contact: Contact;
10
- insurance: PolizaInsurance;
11
- }
@@ -1,68 +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.ContactInsurance = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const class_transformer_1 = require("class-transformer");
15
- const contact_entity_1 = require("../../../sales/contact.entity");
16
- const swagger_1 = require("@nestjs/swagger");
17
- const poliza_1 = require("../poliza");
18
- let ContactInsurance = class ContactInsurance extends typeorm_1.BaseEntity {
19
- id;
20
- contactId;
21
- insuranceId;
22
- codigo;
23
- contact;
24
- insurance;
25
- };
26
- exports.ContactInsurance = ContactInsurance;
27
- __decorate([
28
- (0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the contact insurance', format: 'uuid' }),
29
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
30
- __metadata("design:type", String)
31
- ], ContactInsurance.prototype, "id", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated contact', format: 'uuid' }),
34
- (0, typeorm_1.Column)({ type: "uuid" }),
35
- __metadata("design:type", String)
36
- ], ContactInsurance.prototype, "contactId", void 0);
37
- __decorate([
38
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated insurance', format: 'uuid' }),
39
- (0, typeorm_1.Column)({ type: "uuid" }),
40
- __metadata("design:type", String)
41
- ], ContactInsurance.prototype, "insuranceId", void 0);
42
- __decorate([
43
- (0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
44
- (0, typeorm_1.Column)({ nullable: true }),
45
- __metadata("design:type", String)
46
- ], ContactInsurance.prototype, "codigo", void 0);
47
- __decorate([
48
- (0, class_transformer_1.Exclude)(),
49
- (0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact entity associated' }),
50
- (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.codigos, {
51
- onDelete: "CASCADE",
52
- onUpdate: "CASCADE",
53
- }),
54
- __metadata("design:type", contact_entity_1.Contact)
55
- ], ContactInsurance.prototype, "contact", void 0);
56
- __decorate([
57
- (0, swagger_1.ApiProperty)({ type: () => poliza_1.PolizaInsurance, description: 'Insurance entity associated' }),
58
- (0, typeorm_1.ManyToOne)(() => poliza_1.PolizaInsurance, {
59
- onDelete: "CASCADE",
60
- onUpdate: "CASCADE",
61
- eager: true,
62
- }),
63
- __metadata("design:type", poliza_1.PolizaInsurance)
64
- ], ContactInsurance.prototype, "insurance", void 0);
65
- exports.ContactInsurance = ContactInsurance = __decorate([
66
- (0, typeorm_1.Entity)()
67
- ], ContactInsurance);
68
- //# sourceMappingURL=contact_insurance.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact_insurance.entity.js","sourceRoot":"","sources":["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AAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE;QACpD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACc,wBAAO;iDAAC;AAQjB;IANN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAe,EAAE,WAAW,EAAE,6BAA6B,EAAE,CAAC;IACxF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAe,EAAE;QAChC,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACgB,wBAAe;mDAAC;2BA/BvB,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;GACI,gBAAgB,CAgC5B"}
@@ -1,11 +0,0 @@
1
- import { BaseEntity } from "typeorm";
2
- import { Contact } from "../../../sales/contact.entity";
3
- import { Phone } from "../../../phone.entity";
4
- export declare class ContactPhone extends BaseEntity {
5
- id?: string;
6
- contactId: string;
7
- phoneId: string;
8
- relation: string;
9
- contact: Contact;
10
- phone: Phone;
11
- }
@@ -1,68 +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.ContactPhone = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const class_transformer_1 = require("class-transformer");
15
- const contact_entity_1 = require("../../../sales/contact.entity");
16
- const phone_entity_1 = require("../../../phone.entity");
17
- const swagger_1 = require("@nestjs/swagger");
18
- let ContactPhone = class ContactPhone extends typeorm_1.BaseEntity {
19
- id;
20
- contactId;
21
- phoneId;
22
- relation;
23
- contact;
24
- phone;
25
- };
26
- exports.ContactPhone = ContactPhone;
27
- __decorate([
28
- (0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the contact phone', format: 'uuid' }),
29
- (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
30
- __metadata("design:type", String)
31
- ], ContactPhone.prototype, "id", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated contact', format: 'uuid' }),
34
- (0, typeorm_1.Column)(),
35
- __metadata("design:type", String)
36
- ], ContactPhone.prototype, "contactId", void 0);
37
- __decorate([
38
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated phone', format: 'uuid' }),
39
- (0, typeorm_1.Column)(),
40
- __metadata("design:type", String)
41
- ], ContactPhone.prototype, "phoneId", void 0);
42
- __decorate([
43
- (0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
44
- (0, typeorm_1.Column)({ nullable: true }),
45
- __metadata("design:type", String)
46
- ], ContactPhone.prototype, "relation", void 0);
47
- __decorate([
48
- (0, class_transformer_1.Exclude)(),
49
- (0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact entity associated' }),
50
- (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.phones, {
51
- onDelete: "CASCADE",
52
- onUpdate: "CASCADE",
53
- }),
54
- __metadata("design:type", contact_entity_1.Contact)
55
- ], ContactPhone.prototype, "contact", void 0);
56
- __decorate([
57
- (0, swagger_1.ApiProperty)({ type: () => phone_entity_1.Phone, description: 'Phone entity associated' }),
58
- (0, typeorm_1.ManyToOne)(() => phone_entity_1.Phone, {
59
- onDelete: "CASCADE",
60
- onUpdate: "CASCADE",
61
- eager: true,
62
- }),
63
- __metadata("design:type", phone_entity_1.Phone)
64
- ], ContactPhone.prototype, "phone", void 0);
65
- exports.ContactPhone = ContactPhone = __decorate([
66
- (0, typeorm_1.Entity)()
67
- ], ContactPhone);
68
- //# sourceMappingURL=contact_phone.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact_phone.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAU;IAIZ,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,QAAQ,CAAS;IAQV,OAAO,CAAU;IAQjB,KAAK,CAAQ;CACrB,CAAA;AAhCY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1F,IAAA,gBAAM,GAAE;;+CACS;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACxF,IAAA,gBAAM,GAAE;;6CACO;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EA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