easywork-common-lib 1.0.462 → 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 (381) 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_file.entity.d.ts +0 -11
  207. package/dist/entities/helpers/sales/poliza/poliza_file.entity.js +0 -68
  208. package/dist/entities/helpers/sales/poliza/poliza_file.entity.js.map +0 -1
  209. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.d.ts +0 -11
  210. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js +0 -86
  211. package/dist/entities/helpers/sales/poliza/poliza_insured.entity.js.map +0 -1
  212. package/dist/entities/helpers/tools/index.d.ts +0 -1
  213. package/dist/entities/helpers/tools/index.js +0 -18
  214. package/dist/entities/helpers/tools/index.js.map +0 -1
  215. package/dist/entities/helpers/tools/task_crm.entity.d.ts +0 -19
  216. package/dist/entities/helpers/tools/task_crm.entity.js +0 -136
  217. package/dist/entities/helpers/tools/task_crm.entity.js.map +0 -1
  218. package/dist/entities/helpers/user/access_history.entity.d.ts +0 -9
  219. package/dist/entities/helpers/user/access_history.entity.js +0 -58
  220. package/dist/entities/helpers/user/access_history.entity.js.map +0 -1
  221. package/dist/entities/imap-config.entity.d.ts +0 -11
  222. package/dist/entities/imap-config.entity.js +0 -61
  223. package/dist/entities/imap-config.entity.js.map +0 -1
  224. package/dist/entities/index.d.ts +0 -26
  225. package/dist/entities/index.js +0 -43
  226. package/dist/entities/index.js.map +0 -1
  227. package/dist/entities/menu-permissions.entity.d.ts +0 -7
  228. package/dist/entities/menu-permissions.entity.js +0 -42
  229. package/dist/entities/menu-permissions.entity.js.map +0 -1
  230. package/dist/entities/notifications/index.d.ts +0 -2
  231. package/dist/entities/notifications/index.js +0 -19
  232. package/dist/entities/notifications/index.js.map +0 -1
  233. package/dist/entities/notifications/notification.entity.d.ts +0 -15
  234. package/dist/entities/notifications/notification.entity.js +0 -119
  235. package/dist/entities/notifications/notification.entity.js.map +0 -1
  236. package/dist/entities/notifications/push-token.entity.d.ts +0 -7
  237. package/dist/entities/notifications/push-token.entity.js +0 -45
  238. package/dist/entities/notifications/push-token.entity.js.map +0 -1
  239. package/dist/entities/otp-log.entity.d.ts +0 -8
  240. package/dist/entities/otp-log.entity.js +0 -49
  241. package/dist/entities/otp-log.entity.js.map +0 -1
  242. package/dist/entities/permission.entity.d.ts +0 -7
  243. package/dist/entities/permission.entity.js +0 -46
  244. package/dist/entities/permission.entity.js.map +0 -1
  245. package/dist/entities/phone.entity.d.ts +0 -5
  246. package/dist/entities/phone.entity.js +0 -36
  247. package/dist/entities/phone.entity.js.map +0 -1
  248. package/dist/entities/profile.entity.d.ts +0 -9
  249. package/dist/entities/profile.entity.js +0 -56
  250. package/dist/entities/profile.entity.js.map +0 -1
  251. package/dist/entities/protocol.entity.d.ts +0 -8
  252. package/dist/entities/protocol.entity.js +0 -46
  253. package/dist/entities/protocol.entity.js.map +0 -1
  254. package/dist/entities/refresh-token.entity.d.ts +0 -8
  255. package/dist/entities/refresh-token.entity.js +0 -46
  256. package/dist/entities/refresh-token.entity.js.map +0 -1
  257. package/dist/entities/role.entity.d.ts +0 -6
  258. package/dist/entities/role.entity.js +0 -42
  259. package/dist/entities/role.entity.js.map +0 -1
  260. package/dist/entities/sales/agente-intermediario.entity.d.ts +0 -5
  261. package/dist/entities/sales/agente-intermediario.entity.js +0 -34
  262. package/dist/entities/sales/agente-intermediario.entity.js.map +0 -1
  263. package/dist/entities/sales/beneficiarios/index.d.ts +0 -2
  264. package/dist/entities/sales/beneficiarios/index.js +0 -19
  265. package/dist/entities/sales/beneficiarios/index.js.map +0 -1
  266. package/dist/entities/sales/beneficiarios/person.entity.d.ts +0 -10
  267. package/dist/entities/sales/beneficiarios/person.entity.js +0 -89
  268. package/dist/entities/sales/beneficiarios/person.entity.js.map +0 -1
  269. package/dist/entities/sales/beneficiarios/vehicle.entity.d.ts +0 -16
  270. package/dist/entities/sales/beneficiarios/vehicle.entity.js +0 -106
  271. package/dist/entities/sales/beneficiarios/vehicle.entity.js.map +0 -1
  272. package/dist/entities/sales/contact-comment.entity.d.ts +0 -5
  273. package/dist/entities/sales/contact-comment.entity.js +0 -32
  274. package/dist/entities/sales/contact-comment.entity.js.map +0 -1
  275. package/dist/entities/sales/contact.entity.d.ts +0 -49
  276. package/dist/entities/sales/contact.entity.js +0 -303
  277. package/dist/entities/sales/contact.entity.js.map +0 -1
  278. package/dist/entities/sales/index.d.ts +0 -12
  279. package/dist/entities/sales/index.js +0 -29
  280. package/dist/entities/sales/index.js.map +0 -1
  281. package/dist/entities/sales/lead-comment.entity.d.ts +0 -5
  282. package/dist/entities/sales/lead-comment.entity.js +0 -32
  283. package/dist/entities/sales/lead-comment.entity.js.map +0 -1
  284. package/dist/entities/sales/lead.entity.d.ts +0 -51
  285. package/dist/entities/sales/lead.entity.js +0 -344
  286. package/dist/entities/sales/lead.entity.js.map +0 -1
  287. package/dist/entities/sales/poliza-comment.entity.d.ts +0 -5
  288. package/dist/entities/sales/poliza-comment.entity.js +0 -32
  289. package/dist/entities/sales/poliza-comment.entity.js.map +0 -1
  290. package/dist/entities/sales/poliza.entity.d.ts +0 -112
  291. package/dist/entities/sales/poliza.entity.js +0 -1103
  292. package/dist/entities/sales/poliza.entity.js.map +0 -1
  293. package/dist/entities/sales/poliza_siniestro.entity.d.ts +0 -12
  294. package/dist/entities/sales/poliza_siniestro.entity.js +0 -72
  295. package/dist/entities/sales/poliza_siniestro.entity.js.map +0 -1
  296. package/dist/entities/sales/receipt-comment.entity.d.ts +0 -5
  297. package/dist/entities/sales/receipt-comment.entity.js +0 -32
  298. package/dist/entities/sales/receipt-comment.entity.js.map +0 -1
  299. package/dist/entities/sales/receipt-sub-agente.entity.d.ts +0 -5
  300. package/dist/entities/sales/receipt-sub-agente.entity.js +0 -35
  301. package/dist/entities/sales/receipt-sub-agente.entity.js.map +0 -1
  302. package/dist/entities/sales/receipt.entity.d.ts +0 -31
  303. package/dist/entities/sales/receipt.entity.js +0 -203
  304. package/dist/entities/sales/receipt.entity.js.map +0 -1
  305. package/dist/entities/tag.entity.d.ts +0 -8
  306. package/dist/entities/tag.entity.js +0 -53
  307. package/dist/entities/tag.entity.js.map +0 -1
  308. package/dist/entities/thirdparty/email-config.entity.d.ts +0 -14
  309. package/dist/entities/thirdparty/email-config.entity.js +0 -76
  310. package/dist/entities/thirdparty/email-config.entity.js.map +0 -1
  311. package/dist/entities/thirdparty/email.entity.d.ts +0 -17
  312. package/dist/entities/thirdparty/email.entity.js +0 -79
  313. package/dist/entities/thirdparty/email.entity.js.map +0 -1
  314. package/dist/entities/thirdparty/oauth.entity.d.ts +0 -18
  315. package/dist/entities/thirdparty/oauth.entity.js +0 -93
  316. package/dist/entities/thirdparty/oauth.entity.js.map +0 -1
  317. package/dist/entities/thirdparty/service.entity.d.ts +0 -6
  318. package/dist/entities/thirdparty/service.entity.js +0 -32
  319. package/dist/entities/thirdparty/service.entity.js.map +0 -1
  320. package/dist/entities/thirdparty/user-email-relation.entity.d.ts +0 -7
  321. package/dist/entities/thirdparty/user-email-relation.entity.js +0 -35
  322. package/dist/entities/thirdparty/user-email-relation.entity.js.map +0 -1
  323. package/dist/entities/tools/calendar/event.entity.d.ts +0 -19
  324. package/dist/entities/tools/calendar/event.entity.js +0 -132
  325. package/dist/entities/tools/calendar/event.entity.js.map +0 -1
  326. package/dist/entities/tools/calendar/index.d.ts +0 -1
  327. package/dist/entities/tools/calendar/index.js +0 -18
  328. package/dist/entities/tools/calendar/index.js.map +0 -1
  329. package/dist/entities/tools/index.d.ts +0 -4
  330. package/dist/entities/tools/index.js +0 -21
  331. package/dist/entities/tools/index.js.map +0 -1
  332. package/dist/entities/tools/task-comment.entity.d.ts +0 -6
  333. package/dist/entities/tools/task-comment.entity.js +0 -38
  334. package/dist/entities/tools/task-comment.entity.js.map +0 -1
  335. package/dist/entities/tools/task-list-field.d.ts +0 -5
  336. package/dist/entities/tools/task-list-field.js +0 -39
  337. package/dist/entities/tools/task-list-field.js.map +0 -1
  338. package/dist/entities/tools/task.entity.d.ts +0 -34
  339. package/dist/entities/tools/task.entity.js +0 -221
  340. package/dist/entities/tools/task.entity.js.map +0 -1
  341. package/dist/entities/user.entity.d.ts +0 -29
  342. package/dist/entities/user.entity.js +0 -168
  343. package/dist/entities/user.entity.js.map +0 -1
  344. package/dist/eslint.config.d.ts +0 -2
  345. package/dist/eslint.config.js +0 -47
  346. package/dist/eslint.config.js.map +0 -1
  347. package/dist/grpc/drive/drive.proto +0 -179
  348. package/dist/index.d.ts +0 -3
  349. package/dist/index.js +0 -20
  350. package/dist/index.js.map +0 -1
  351. package/dist/modules/index.d.ts +0 -4
  352. package/dist/modules/index.js +0 -21
  353. package/dist/modules/index.js.map +0 -1
  354. package/dist/modules/queue/event.service.d.ts +0 -9
  355. package/dist/modules/queue/event.service.js +0 -40
  356. package/dist/modules/queue/event.service.js.map +0 -1
  357. package/dist/modules/queue/notifier.service.d.ts +0 -15
  358. package/dist/modules/queue/notifier.service.js +0 -70
  359. package/dist/modules/queue/notifier.service.js.map +0 -1
  360. package/dist/modules/queue/notifiers/calendar.notifier.d.ts +0 -2
  361. package/dist/modules/queue/notifiers/calendar.notifier.js +0 -17
  362. package/dist/modules/queue/notifiers/calendar.notifier.js.map +0 -1
  363. package/dist/modules/queue/notifiers/contact.notifier.d.ts +0 -7
  364. package/dist/modules/queue/notifiers/contact.notifier.js +0 -49
  365. package/dist/modules/queue/notifiers/contact.notifier.js.map +0 -1
  366. package/dist/modules/queue/notifiers/index.d.ts +0 -4
  367. package/dist/modules/queue/notifiers/index.js +0 -21
  368. package/dist/modules/queue/notifiers/index.js.map +0 -1
  369. package/dist/modules/queue/notifiers/lead.notifier.d.ts +0 -7
  370. package/dist/modules/queue/notifiers/lead.notifier.js +0 -49
  371. package/dist/modules/queue/notifiers/lead.notifier.js.map +0 -1
  372. package/dist/modules/queue/notifiers/task.notifier.d.ts +0 -15
  373. package/dist/modules/queue/notifiers/task.notifier.js +0 -130
  374. package/dist/modules/queue/notifiers/task.notifier.js.map +0 -1
  375. package/dist/modules/queue/queue.module.d.ts +0 -4
  376. package/dist/modules/queue/queue.module.js +0 -57
  377. package/dist/modules/queue/queue.module.js.map +0 -1
  378. package/dist/modules/queue/scheduler.service.d.ts +0 -9
  379. package/dist/modules/queue/scheduler.service.js +0 -40
  380. package/dist/modules/queue/scheduler.service.js.map +0 -1
  381. package/tsconfig.tsbuildinfo +0 -1
@@ -1,34 +0,0 @@
1
- import { User } from "../user.entity";
2
- import { TaskComment } from "./task-comment.entity";
3
- import { Tag } from "../tag.entity";
4
- import { EntityBase } from "../../common/database/base.entity";
5
- import { TaskStatus } from "../../common/enums";
6
- import { TaskListField } from "./task-list-field";
7
- import { TaskCRM } from "../../entities/helpers";
8
- export declare class Task extends EntityBase {
9
- idBitrix: number;
10
- name: string;
11
- number: number;
12
- description: string;
13
- deadline: Date;
14
- startTime: Date;
15
- completedTime: Date;
16
- requireRevision: boolean;
17
- requireSummary: boolean;
18
- responsibleCanChangeDate: boolean;
19
- important: boolean;
20
- status: TaskStatus;
21
- isCompleted: boolean;
22
- reviewed: boolean;
23
- createdBy: User;
24
- reviewedBy: User;
25
- participants?: User[];
26
- responsible?: User[];
27
- observers?: User[];
28
- tags: Tag[];
29
- listField: TaskListField[];
30
- comments: TaskComment[];
31
- crm?: TaskCRM[];
32
- parentTask?: Task;
33
- subTasks?: Task[];
34
- }
@@ -1,221 +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.Task = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const user_entity_1 = require("../user.entity");
15
- const typeorm_1 = require("typeorm");
16
- const task_comment_entity_1 = require("./task-comment.entity");
17
- const tag_entity_1 = require("../tag.entity");
18
- const base_entity_1 = require("../../common/database/base.entity");
19
- const enums_1 = require("../../common/enums");
20
- const task_list_field_1 = require("./task-list-field");
21
- const helpers_1 = require("../../entities/helpers");
22
- const swagger_1 = require("@nestjs/swagger");
23
- let Task = class Task extends base_entity_1.EntityBase {
24
- idBitrix;
25
- name;
26
- number;
27
- description;
28
- deadline;
29
- startTime;
30
- completedTime;
31
- requireRevision;
32
- requireSummary;
33
- responsibleCanChangeDate;
34
- important;
35
- status;
36
- isCompleted;
37
- reviewed;
38
- createdBy;
39
- reviewedBy;
40
- participants;
41
- responsible;
42
- observers;
43
- tags;
44
- listField;
45
- comments;
46
- crm;
47
- parentTask;
48
- subTasks;
49
- };
50
- exports.Task = Task;
51
- __decorate([
52
- (0, swagger_1.ApiProperty)({ type: Number, description: 'Bitrix ID of the policy', required: false }),
53
- (0, typeorm_1.Column)({ name: "id_bitrix", nullable: true }),
54
- __metadata("design:type", Number)
55
- ], Task.prototype, "idBitrix", void 0);
56
- __decorate([
57
- (0, swagger_1.ApiProperty)({ type: String, description: 'Name of the task', minLength: 3 }),
58
- (0, class_validator_1.MinLength)(3),
59
- (0, typeorm_1.Column)({ unique: false, nullable: false }),
60
- __metadata("design:type", String)
61
- ], Task.prototype, "name", void 0);
62
- __decorate([
63
- (0, typeorm_1.Column)(),
64
- (0, typeorm_1.Generated)("increment"),
65
- __metadata("design:type", Number)
66
- ], Task.prototype, "number", void 0);
67
- __decorate([
68
- (0, swagger_1.ApiProperty)({ type: String, description: 'Description of the task', required: false }),
69
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
70
- __metadata("design:type", String)
71
- ], Task.prototype, "description", void 0);
72
- __decorate([
73
- (0, swagger_1.ApiProperty)({ type: Date, description: 'Deadline of the task', required: false }),
74
- (0, typeorm_1.Column)({ nullable: true }),
75
- __metadata("design:type", Date)
76
- ], Task.prototype, "deadline", void 0);
77
- __decorate([
78
- (0, swagger_1.ApiProperty)({ type: Date, description: 'Start time of the task', required: false }),
79
- (0, typeorm_1.Column)({ nullable: true }),
80
- __metadata("design:type", Date)
81
- ], Task.prototype, "startTime", void 0);
82
- __decorate([
83
- (0, swagger_1.ApiProperty)({ type: Date, description: 'Completion time of the task', required: false }),
84
- (0, typeorm_1.Column)({ nullable: true }),
85
- __metadata("design:type", Date)
86
- ], Task.prototype, "completedTime", void 0);
87
- __decorate([
88
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Does the task require revision?', default: false }),
89
- (0, typeorm_1.Column)({ default: false }),
90
- __metadata("design:type", Boolean)
91
- ], Task.prototype, "requireRevision", void 0);
92
- __decorate([
93
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Does the task require a summary?', default: false }),
94
- (0, typeorm_1.Column)({ default: false }),
95
- __metadata("design:type", Boolean)
96
- ], Task.prototype, "requireSummary", void 0);
97
- __decorate([
98
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Can the responsible user change the date?', default: false }),
99
- (0, typeorm_1.Column)({ default: false }),
100
- __metadata("design:type", Boolean)
101
- ], Task.prototype, "responsibleCanChangeDate", void 0);
102
- __decorate([
103
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'La tarea es importante?', default: false }),
104
- (0, typeorm_1.Column)({ default: false }),
105
- __metadata("design:type", Boolean)
106
- ], Task.prototype, "important", void 0);
107
- __decorate([
108
- (0, swagger_1.ApiProperty)({
109
- enum: enums_1.TaskStatus,
110
- description: 'Status of the task',
111
- default: enums_1.TaskStatus.PENDING
112
- }),
113
- (0, typeorm_1.Column)({
114
- type: "enum",
115
- enum: enums_1.TaskStatus,
116
- default: enums_1.TaskStatus.PENDING
117
- }),
118
- __metadata("design:type", String)
119
- ], Task.prototype, "status", void 0);
120
- __decorate([
121
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is the task completed?', default: false }),
122
- (0, typeorm_1.Column)({ default: false }),
123
- __metadata("design:type", Boolean)
124
- ], Task.prototype, "isCompleted", void 0);
125
- __decorate([
126
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Has the task been reviewed?', default: false }),
127
- (0, typeorm_1.Column)({ default: false }),
128
- __metadata("design:type", Boolean)
129
- ], Task.prototype, "reviewed", void 0);
130
- __decorate([
131
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who created the task', required: false }),
132
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
133
- onDelete: "SET NULL",
134
- onUpdate: "CASCADE",
135
- nullable: true,
136
- }),
137
- __metadata("design:type", user_entity_1.User)
138
- ], Task.prototype, "createdBy", void 0);
139
- __decorate([
140
- (0, swagger_1.ApiProperty)({ type: () => user_entity_1.User, description: 'User who reviewed the task', required: false }),
141
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
142
- onDelete: "SET NULL",
143
- onUpdate: "CASCADE",
144
- nullable: true,
145
- }),
146
- __metadata("design:type", user_entity_1.User)
147
- ], Task.prototype, "reviewedBy", void 0);
148
- __decorate([
149
- (0, swagger_1.ApiProperty)({ type: () => [user_entity_1.User], description: 'Participants in the task', required: false }),
150
- (0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
151
- onDelete: "CASCADE",
152
- onUpdate: "CASCADE",
153
- }),
154
- (0, typeorm_1.JoinTable)(),
155
- __metadata("design:type", Array)
156
- ], Task.prototype, "participants", void 0);
157
- __decorate([
158
- (0, swagger_1.ApiProperty)({ type: () => [user_entity_1.User], description: 'Users responsible for the task', required: false }),
159
- (0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
160
- onDelete: "CASCADE",
161
- onUpdate: "CASCADE",
162
- }),
163
- (0, typeorm_1.JoinTable)(),
164
- __metadata("design:type", Array)
165
- ], Task.prototype, "responsible", void 0);
166
- __decorate([
167
- (0, swagger_1.ApiProperty)({ type: () => [user_entity_1.User], description: 'Observers of the task', required: false }),
168
- (0, typeorm_1.ManyToMany)(() => user_entity_1.User, {
169
- onDelete: "CASCADE",
170
- onUpdate: "CASCADE",
171
- }),
172
- (0, typeorm_1.JoinTable)(),
173
- __metadata("design:type", Array)
174
- ], Task.prototype, "observers", void 0);
175
- __decorate([
176
- (0, swagger_1.ApiProperty)({ type: () => [tag_entity_1.Tag], description: 'Tags associated with the task' }),
177
- (0, typeorm_1.ManyToMany)(() => tag_entity_1.Tag, tag => tag.tasks, {
178
- onDelete: "CASCADE",
179
- onUpdate: "CASCADE",
180
- }),
181
- (0, typeorm_1.JoinTable)(),
182
- __metadata("design:type", Array)
183
- ], Task.prototype, "tags", void 0);
184
- __decorate([
185
- (0, swagger_1.ApiProperty)({ type: () => [task_list_field_1.TaskListField], description: 'List fields associated with the task', required: false }),
186
- (0, typeorm_1.Column)("json", { nullable: true }),
187
- __metadata("design:type", Array)
188
- ], Task.prototype, "listField", void 0);
189
- __decorate([
190
- (0, swagger_1.ApiProperty)({ type: () => [task_comment_entity_1.TaskComment], description: 'Comments on the task' }),
191
- (0, typeorm_1.OneToMany)(() => task_comment_entity_1.TaskComment, taskComment => taskComment.task),
192
- (0, typeorm_1.JoinColumn)(),
193
- __metadata("design:type", Array)
194
- ], Task.prototype, "comments", void 0);
195
- __decorate([
196
- (0, swagger_1.ApiProperty)({ type: () => [helpers_1.TaskCRM], description: 'CRM entries associated with the task', required: false }),
197
- (0, typeorm_1.OneToMany)(() => helpers_1.TaskCRM, (taskCRM) => taskCRM.task, {
198
- onDelete: "CASCADE",
199
- onUpdate: "CASCADE",
200
- }),
201
- __metadata("design:type", Array)
202
- ], Task.prototype, "crm", void 0);
203
- __decorate([
204
- (0, swagger_1.ApiProperty)({ type: () => Task, description: 'Parent task', required: false }),
205
- (0, typeorm_1.ManyToOne)(() => Task, {
206
- onDelete: "CASCADE",
207
- onUpdate: "CASCADE",
208
- nullable: true,
209
- }),
210
- (0, typeorm_1.JoinColumn)(),
211
- __metadata("design:type", Task)
212
- ], Task.prototype, "parentTask", void 0);
213
- __decorate([
214
- (0, swagger_1.ApiProperty)({ type: () => [Task], description: 'Child tasks', required: false }),
215
- (0, typeorm_1.OneToMany)(() => Task, task => task.parentTask),
216
- __metadata("design:type", Array)
217
- ], Task.prototype, "subTasks", void 0);
218
- exports.Task = Task = __decorate([
219
- (0, typeorm_1.Entity)()
220
- ], Task);
221
- //# sourceMappingURL=task.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task.entity.js","sourceRoot":"","sources":["../../../src/entities/tools/task.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,gDAAsC;AACtC,qCAA6G;AAC7G,+DAAoD;AACpD,8CAAoC;AACpC,mEAA+D;AAC/D,8CAAgD;AAChD,uDAAkD;AAClD,oDAAiD;AACjD,6CAA8C;AAGvC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,wBAAU;IAGhC,QAAQ,CAAS;IAKjB,IAAI,CAAS;IAIb,MAAM,CAAS;IAIf,WAAW,CAAS;IAIpB,QAAQ,CAAO;IAIf,SAA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;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC;;sCAC7B;eA7IT,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CA8IhB"}
@@ -1,29 +0,0 @@
1
- import { EntityBase } from "../common/database/base.entity";
2
- import { Profile } from "./profile.entity";
3
- import { Role } from "./role.entity";
4
- import { Tag } from "./tag.entity";
5
- import { UserEmailRelation } from "./thirdparty/user-email-relation.entity";
6
- import { PushToken } from "./notifications/push-token.entity";
7
- import { Group } from "./group.entity";
8
- import { MenuPermissions } from "./menu-permissions.entity";
9
- export declare class User extends EntityBase {
10
- username: string;
11
- email: string;
12
- bio: string;
13
- avatar: string;
14
- hash: string;
15
- twoFactorSecret?: string;
16
- isTwoFactorEnabled?: boolean;
17
- phone?: string;
18
- isVerified?: boolean;
19
- lastLogin?: Date;
20
- profile: Profile;
21
- roles?: Role[];
22
- tags: Tag[];
23
- pushTokens: PushToken[];
24
- emailRelations: UserEmailRelation[];
25
- groups?: Group[];
26
- menuPermissions: MenuPermissions;
27
- cua: string;
28
- get name(): string;
29
- }
@@ -1,168 +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.User = void 0;
13
- const base_entity_1 = require("../common/database/base.entity");
14
- const typeorm_1 = require("typeorm");
15
- const class_transformer_1 = require("class-transformer");
16
- const profile_entity_1 = require("./profile.entity");
17
- const role_entity_1 = require("./role.entity");
18
- const tag_entity_1 = require("./tag.entity");
19
- const user_email_relation_entity_1 = require("./thirdparty/user-email-relation.entity");
20
- const push_token_entity_1 = require("./notifications/push-token.entity");
21
- const swagger_1 = require("@nestjs/swagger");
22
- const group_entity_1 = require("./group.entity");
23
- const menu_permissions_entity_1 = require("./menu-permissions.entity");
24
- let User = class User extends base_entity_1.EntityBase {
25
- username;
26
- email;
27
- bio;
28
- avatar;
29
- hash;
30
- twoFactorSecret;
31
- isTwoFactorEnabled;
32
- phone;
33
- isVerified;
34
- lastLogin;
35
- profile;
36
- roles;
37
- tags;
38
- pushTokens;
39
- emailRelations;
40
- groups;
41
- menuPermissions;
42
- cua;
43
- get name() {
44
- return `${this.profile?.firstName ?? ''} ${this.profile?.lastName ?? ''}`.trim();
45
- }
46
- };
47
- exports.User = User;
48
- __decorate([
49
- (0, swagger_1.ApiProperty)({ type: String, description: 'Unique username' }),
50
- (0, typeorm_1.Column)({ unique: true }),
51
- __metadata("design:type", String)
52
- ], User.prototype, "username", void 0);
53
- __decorate([
54
- (0, swagger_1.ApiProperty)({ type: String, description: 'Unique email address' }),
55
- (0, typeorm_1.Column)({ unique: true }),
56
- __metadata("design:type", String)
57
- ], User.prototype, "email", void 0);
58
- __decorate([
59
- (0, swagger_1.ApiProperty)({ type: String, description: 'User bio' }),
60
- (0, typeorm_1.Column)({ type: "text" }),
61
- __metadata("design:type", String)
62
- ], User.prototype, "bio", void 0);
63
- __decorate([
64
- (0, swagger_1.ApiProperty)({ type: String, description: 'User avatar URL' }),
65
- (0, typeorm_1.Column)({ type: "text" }),
66
- __metadata("design:type", String)
67
- ], User.prototype, "avatar", void 0);
68
- __decorate([
69
- (0, class_transformer_1.Exclude)(),
70
- (0, swagger_1.ApiProperty)({ type: String, description: 'Password hash', writeOnly: true }),
71
- (0, typeorm_1.Column)({ type: "text" }),
72
- __metadata("design:type", String)
73
- ], User.prototype, "hash", void 0);
74
- __decorate([
75
- (0, class_transformer_1.Exclude)(),
76
- (0, swagger_1.ApiProperty)({ type: String, description: 'Two-factor authentication secret', required: false, writeOnly: true }),
77
- (0, typeorm_1.Column)({ nullable: true }),
78
- __metadata("design:type", String)
79
- ], User.prototype, "twoFactorSecret", void 0);
80
- __decorate([
81
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is two-factor authentication enabled', default: false }),
82
- (0, typeorm_1.Column)({ default: false }),
83
- __metadata("design:type", Boolean)
84
- ], User.prototype, "isTwoFactorEnabled", void 0);
85
- __decorate([
86
- (0, swagger_1.ApiProperty)({ type: String, description: 'User phone number', required: false }),
87
- (0, typeorm_1.Column)({ unique: true }),
88
- __metadata("design:type", String)
89
- ], User.prototype, "phone", void 0);
90
- __decorate([
91
- (0, swagger_1.ApiProperty)({ type: Boolean, description: 'Is user verified', default: false }),
92
- (0, typeorm_1.Column)({ default: false }),
93
- __metadata("design:type", Boolean)
94
- ], User.prototype, "isVerified", void 0);
95
- __decorate([
96
- (0, swagger_1.ApiProperty)({ type: Date, description: 'Last login timestamp', required: false }),
97
- (0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
98
- __metadata("design:type", Date)
99
- ], User.prototype, "lastLogin", void 0);
100
- __decorate([
101
- (0, swagger_1.ApiProperty)({ type: () => profile_entity_1.Profile, description: 'User profile' }),
102
- (0, typeorm_1.OneToOne)(() => profile_entity_1.Profile, {
103
- onDelete: "CASCADE",
104
- onUpdate: "CASCADE",
105
- eager: true
106
- }),
107
- (0, typeorm_1.JoinColumn)(),
108
- __metadata("design:type", profile_entity_1.Profile)
109
- ], User.prototype, "profile", void 0);
110
- __decorate([
111
- (0, swagger_1.ApiProperty)({ type: () => [role_entity_1.Role], description: 'Roles assigned to the user' }),
112
- (0, typeorm_1.ManyToMany)(() => role_entity_1.Role, {
113
- onDelete: "CASCADE",
114
- onUpdate: "CASCADE",
115
- }),
116
- (0, typeorm_1.JoinTable)(),
117
- __metadata("design:type", Array)
118
- ], User.prototype, "roles", void 0);
119
- __decorate([
120
- (0, swagger_1.ApiProperty)({ type: () => [tag_entity_1.Tag], description: 'Tags associated with the user' }),
121
- (0, typeorm_1.OneToMany)(() => tag_entity_1.Tag, (tag) => tag.user),
122
- __metadata("design:type", Array)
123
- ], User.prototype, "tags", void 0);
124
- __decorate([
125
- (0, swagger_1.ApiProperty)({ type: () => [push_token_entity_1.PushToken], description: 'Push tokens associated with the user' }),
126
- (0, typeorm_1.OneToMany)(() => push_token_entity_1.PushToken, (pushToken) => pushToken.user),
127
- __metadata("design:type", Array)
128
- ], User.prototype, "pushTokens", void 0);
129
- __decorate([
130
- (0, swagger_1.ApiProperty)({ type: () => [user_email_relation_entity_1.UserEmailRelation], description: 'Email relations associated with the user' }),
131
- (0, typeorm_1.OneToMany)(() => user_email_relation_entity_1.UserEmailRelation, (relation) => relation.user),
132
- __metadata("design:type", Array)
133
- ], User.prototype, "emailRelations", void 0);
134
- __decorate([
135
- (0, swagger_1.ApiProperty)({ type: () => [group_entity_1.Group], description: 'Groups assigned to the user' }),
136
- (0, typeorm_1.ManyToMany)(() => group_entity_1.Group, {
137
- onDelete: "CASCADE",
138
- onUpdate: "CASCADE",
139
- }),
140
- (0, typeorm_1.JoinTable)(),
141
- __metadata("design:type", Array)
142
- ], User.prototype, "groups", void 0);
143
- __decorate([
144
- (0, swagger_1.ApiProperty)({ type: () => menu_permissions_entity_1.MenuPermissions, description: 'Menu Permissions' }),
145
- (0, typeorm_1.OneToOne)(() => menu_permissions_entity_1.MenuPermissions, {
146
- onDelete: "CASCADE",
147
- onUpdate: "CASCADE",
148
- eager: true
149
- }),
150
- (0, typeorm_1.JoinColumn)(),
151
- __metadata("design:type", menu_permissions_entity_1.MenuPermissions)
152
- ], User.prototype, "menuPermissions", void 0);
153
- __decorate([
154
- (0, swagger_1.ApiProperty)({ type: String, description: 'CUA', required: false }),
155
- (0, typeorm_1.Column)({
156
- nullable: true
157
- }),
158
- __metadata("design:type", String)
159
- ], User.prototype, "cua", void 0);
160
- __decorate([
161
- (0, swagger_1.ApiProperty)({ type: String, description: 'Full name of the user' }),
162
- __metadata("design:type", String),
163
- __metadata("design:paramtypes", [])
164
- ], User.prototype, "name", null);
165
- exports.User = User = __decorate([
166
- (0, typeorm_1.Entity)()
167
- ], User);
168
- //# sourceMappingURL=user.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAA4D;AAC5D,qCAAiG;AACjG,yDAA4C;AAC5C,qDAA2C;AAC3C,+CAAqC;AACrC,6CAAmC;AACnC,wFAA4E;AAC5E,yEAA8D;AAC9D,6CAA8C;AAC9C,iDAAuC;AACvC,uEAA4D;AAGrD,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,wBAAU;IAGlC,QAAQ,CAAU;IAIlB,KAAK,CAAU;IAIf,GAAG,CAAU;IAIb,MAAM,CAAU;IAKhB,IAAI,CAAU;IAKd,eAAe,CAAU;IAIzB,kBAAkB,CAAW;IAI7B,KAAK,CAAU;IAIf,UAAU,CAAW;IAIrB,SAAS,CAAQ;IASjB,OAAO,CAAU;IAQjB,KAAK,CAAU;IAIf,IAAI,CAAQ;IAIZ,UAAU,CAAc;IAIxB,cAAc,CAAsB;IAQpC,MAAM,CAAW;IASjB,eAAe,CAAkB;IAMjC,GAAG,CAAS;IAGZ,IACI,IAAI;QACN,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,IAAI,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,CAAC,IAA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,yCAAe,EAAE;QAC/B,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;IACD,IAAA,oBAAU,GAAE;8BACI,yCAAe;6CAAC;AAMjC;IAJC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClE,IAAA,gBAAM,EAAC;QACN,QAAQ,EAAE,IAAI;KACf,CAAC;;iCACU;AAGZ;IAAC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,uBAAuB,EAAE,CAAC;;;gCAGnE;eAnGU,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAoGhB"}
@@ -1,2 +0,0 @@
1
- declare const _exports: any;
2
- export = _exports;
@@ -1,47 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const rubiin = require("@antfu/eslint-config").default;
4
- module.exports = rubiin({
5
- stylistic: {
6
- semi: true,
7
- quotes: "double",
8
- },
9
- yaml: true,
10
- jsonc: true,
11
- markdown: false,
12
- gitignore: true,
13
- typescript: {
14
- tsconfigPath: "tsconfig.json",
15
- },
16
- overrides: {
17
- test: {
18
- "ts/unbound-method": "off",
19
- },
20
- typescript: {
21
- "ts/no-misused-promises": [
22
- "error",
23
- {
24
- checksVoidReturn: false,
25
- },
26
- ],
27
- "ts/no-floating-promises": [
28
- "error",
29
- {
30
- ignoreIIFE: true,
31
- },
32
- ],
33
- "unicorn/prefer-top-level-await": "off",
34
- "unicorn/prevent-abbreviations": [
35
- "error",
36
- {
37
- ignore: ["\\.e2e*", "\\.spec*", "\\.decorator*", "\\*idx*"],
38
- allowList: {
39
- ProcessEnv: true,
40
- UUIDParam: true,
41
- },
42
- },
43
- ],
44
- },
45
- },
46
- });
47
- //# sourceMappingURL=eslint.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":";;AAAA,MAAM,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC,OAAO,CAAC;AAEvD,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;IACtB,SAAS,EAAE;QACT,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,QAAQ;KACjB;IACD,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,YAAY,EAAE,eAAe;KAC9B;IACD,SAAS,EAAE;QACT,IAAI,EAAE;YACJ,mBAAmB,EAAE,KAAK;SAC3B;QACD,UAAU,EAAE;YACV,wBAAwB,EAAE;gBACxB,OAAO;gBACP;oBACE,gBAAgB,EAAE,KAAK;iBACxB;aACF;YACD,yBAAyB,EAAE;gBACzB,OAAO;gBACP;oBACE,UAAU,EAAE,IAAI;iBACjB;aACF;YACD,gCAAgC,EAAE,KAAK;YACvC,+BAA+B,EAAE;gBAC/B,OAAO;gBACP;oBACE,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,CAAC;oBAC3D,SAAS,EAAE;wBACT,UAAU,EAAE,IAAI;wBAChB,SAAS,EAAE,IAAI;qBAChB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}