@procxo/shared 1.0.4 → 1.0.6

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 (563) hide show
  1. package/dist/config/index.d.ts +2 -0
  2. package/dist/config/index.d.ts.map +1 -0
  3. package/dist/config/index.js +7 -0
  4. package/dist/config/index.js.map +1 -0
  5. package/dist/config/ormconfig.factory.d.ts +10 -0
  6. package/dist/config/ormconfig.factory.d.ts.map +1 -0
  7. package/dist/config/ormconfig.factory.js +48 -0
  8. package/dist/config/ormconfig.factory.js.map +1 -0
  9. package/dist/config/typeorm.config.d.ts +4 -0
  10. package/dist/config/typeorm.config.d.ts.map +1 -0
  11. package/dist/config/typeorm.config.js +22 -0
  12. package/dist/config/typeorm.config.js.map +1 -0
  13. package/dist/core/constant/index.d.ts +2 -0
  14. package/dist/core/constant/index.d.ts.map +1 -0
  15. package/dist/core/constant/index.js +18 -0
  16. package/dist/core/constant/index.js.map +1 -0
  17. package/dist/core/constant/notification-preference.d.ts +29 -0
  18. package/dist/core/constant/notification-preference.d.ts.map +1 -0
  19. package/dist/core/constant/notification-preference.js +81 -0
  20. package/dist/core/constant/notification-preference.js.map +1 -0
  21. package/dist/core/json/core-data/currency.json +8 -0
  22. package/{src → dist}/core/json/core-data/department.json +38 -38
  23. package/{src → dist}/core/json/core-data/permission.json +882 -898
  24. package/dist/core/json/core-data/role.json +30 -0
  25. package/dist/core/json/core-data/user.json +12 -0
  26. package/dist/core/json/geographic-data/cities.json +54693 -0
  27. package/dist/core/json/geographic-data/countries.json +31 -0
  28. package/dist/database/entities/activity-logs.entity.d.ts +11 -0
  29. package/dist/database/entities/activity-logs.entity.d.ts.map +1 -0
  30. package/dist/database/entities/activity-logs.entity.js +56 -0
  31. package/dist/database/entities/activity-logs.entity.js.map +1 -0
  32. package/dist/database/entities/address.entity.d.ts +13 -0
  33. package/dist/database/entities/address.entity.d.ts.map +1 -0
  34. package/dist/database/entities/address.entity.js +63 -0
  35. package/dist/database/entities/address.entity.js.map +1 -0
  36. package/dist/database/entities/alert.entity.d.ts +37 -0
  37. package/dist/database/entities/alert.entity.d.ts.map +1 -0
  38. package/dist/database/entities/alert.entity.js +171 -0
  39. package/dist/database/entities/alert.entity.js.map +1 -0
  40. package/dist/database/entities/approval-condition.entity.d.ts +16 -0
  41. package/dist/database/entities/approval-condition.entity.d.ts.map +1 -0
  42. package/dist/database/entities/approval-condition.entity.js +66 -0
  43. package/dist/database/entities/approval-condition.entity.js.map +1 -0
  44. package/dist/database/entities/approval-hierarchy-role.entity.d.ts +10 -0
  45. package/dist/database/entities/approval-hierarchy-role.entity.d.ts.map +1 -0
  46. package/dist/database/entities/approval-hierarchy-role.entity.js +47 -0
  47. package/dist/database/entities/approval-hierarchy-role.entity.js.map +1 -0
  48. package/dist/database/entities/approval-hierarchy-user.entity.d.ts +10 -0
  49. package/dist/database/entities/approval-hierarchy-user.entity.d.ts.map +1 -0
  50. package/dist/database/entities/approval-hierarchy-user.entity.js +47 -0
  51. package/dist/database/entities/approval-hierarchy-user.entity.js.map +1 -0
  52. package/dist/database/entities/approval-hierarchy.entity.d.ts +22 -0
  53. package/dist/database/entities/approval-hierarchy.entity.d.ts.map +1 -0
  54. package/dist/database/entities/approval-hierarchy.entity.js +80 -0
  55. package/dist/database/entities/approval-hierarchy.entity.js.map +1 -0
  56. package/dist/database/entities/approval-journey.entity.d.ts +32 -0
  57. package/dist/database/entities/approval-journey.entity.d.ts.map +1 -0
  58. package/dist/database/entities/approval-journey.entity.js +125 -0
  59. package/dist/database/entities/approval-journey.entity.js.map +1 -0
  60. package/dist/database/entities/approval-level-escalation-user.entity.d.ts +10 -0
  61. package/dist/database/entities/approval-level-escalation-user.entity.d.ts.map +1 -0
  62. package/dist/database/entities/approval-level-escalation-user.entity.js +47 -0
  63. package/dist/database/entities/approval-level-escalation-user.entity.js.map +1 -0
  64. package/dist/database/entities/approval-level-escalation.entity.d.ts +14 -0
  65. package/dist/database/entities/approval-level-escalation.entity.d.ts.map +1 -0
  66. package/dist/database/entities/approval-level-escalation.entity.js +65 -0
  67. package/dist/database/entities/approval-level-escalation.entity.js.map +1 -0
  68. package/dist/database/entities/approval-level-user.entity.d.ts +10 -0
  69. package/dist/database/entities/approval-level-user.entity.d.ts.map +1 -0
  70. package/dist/database/entities/approval-level-user.entity.js +49 -0
  71. package/dist/database/entities/approval-level-user.entity.js.map +1 -0
  72. package/dist/database/entities/approval-level.entity.d.ts +17 -0
  73. package/dist/database/entities/approval-level.entity.d.ts.map +1 -0
  74. package/dist/database/entities/approval-level.entity.js +76 -0
  75. package/dist/database/entities/approval-level.entity.js.map +1 -0
  76. package/dist/database/entities/base.entity.d.ts +12 -0
  77. package/dist/database/entities/base.entity.d.ts.map +1 -0
  78. package/dist/database/entities/base.entity.js +63 -0
  79. package/dist/database/entities/base.entity.js.map +1 -0
  80. package/dist/database/entities/chat.entity.d.ts +13 -0
  81. package/dist/database/entities/chat.entity.d.ts.map +1 -0
  82. package/dist/database/entities/chat.entity.js +67 -0
  83. package/dist/database/entities/chat.entity.js.map +1 -0
  84. package/dist/database/entities/city.entity.d.ts +11 -0
  85. package/dist/database/entities/city.entity.d.ts.map +1 -0
  86. package/dist/database/entities/city.entity.js +53 -0
  87. package/dist/database/entities/city.entity.js.map +1 -0
  88. package/dist/database/entities/client.entity.d.ts +44 -0
  89. package/dist/database/entities/client.entity.d.ts.map +1 -0
  90. package/dist/database/entities/client.entity.js +191 -0
  91. package/dist/database/entities/client.entity.js.map +1 -0
  92. package/dist/database/entities/contact.entity.d.ts +12 -0
  93. package/dist/database/entities/contact.entity.d.ts.map +1 -0
  94. package/dist/database/entities/contact.entity.js +57 -0
  95. package/dist/database/entities/contact.entity.js.map +1 -0
  96. package/dist/database/entities/country.entity.d.ts +26 -0
  97. package/dist/database/entities/country.entity.d.ts.map +1 -0
  98. package/dist/database/entities/country.entity.js +127 -0
  99. package/dist/database/entities/country.entity.js.map +1 -0
  100. package/dist/database/entities/credit-note.entity.d.ts +38 -0
  101. package/dist/database/entities/credit-note.entity.d.ts.map +1 -0
  102. package/dist/database/entities/credit-note.entity.js +159 -0
  103. package/dist/database/entities/credit-note.entity.js.map +1 -0
  104. package/dist/database/entities/currency.entity.d.ts +10 -0
  105. package/dist/database/entities/currency.entity.d.ts.map +1 -0
  106. package/dist/database/entities/currency.entity.js +47 -0
  107. package/dist/database/entities/currency.entity.js.map +1 -0
  108. package/dist/database/entities/department.entity.d.ts +10 -0
  109. package/dist/database/entities/department.entity.d.ts.map +1 -0
  110. package/dist/database/entities/department.entity.js +47 -0
  111. package/dist/database/entities/department.entity.js.map +1 -0
  112. package/dist/database/entities/entitlement.entity.d.ts +24 -0
  113. package/dist/database/entities/entitlement.entity.d.ts.map +1 -0
  114. package/dist/database/entities/entitlement.entity.js +106 -0
  115. package/dist/database/entities/entitlement.entity.js.map +1 -0
  116. package/dist/database/entities/expense.entity.d.ts +47 -0
  117. package/dist/database/entities/expense.entity.d.ts.map +1 -0
  118. package/dist/database/entities/expense.entity.js +221 -0
  119. package/dist/database/entities/expense.entity.js.map +1 -0
  120. package/dist/database/entities/file.entity.d.ts +11 -0
  121. package/dist/database/entities/file.entity.d.ts.map +1 -0
  122. package/dist/database/entities/file.entity.js +56 -0
  123. package/dist/database/entities/file.entity.js.map +1 -0
  124. package/dist/database/entities/fixed-invoice-item.entity.d.ts +9 -0
  125. package/dist/database/entities/fixed-invoice-item.entity.d.ts.map +1 -0
  126. package/dist/database/entities/fixed-invoice-item.entity.js +52 -0
  127. package/dist/database/entities/fixed-invoice-item.entity.js.map +1 -0
  128. package/dist/database/entities/group.entity.d.ts +9 -0
  129. package/dist/database/entities/group.entity.d.ts.map +1 -0
  130. package/dist/database/entities/group.entity.js +45 -0
  131. package/dist/database/entities/group.entity.js.map +1 -0
  132. package/dist/database/entities/gst.entity.d.ts +6 -0
  133. package/dist/database/entities/gst.entity.d.ts.map +1 -0
  134. package/dist/database/entities/gst.entity.js +44 -0
  135. package/dist/database/entities/gst.entity.js.map +1 -0
  136. package/dist/database/entities/holiday.entity.d.ts +14 -0
  137. package/dist/database/entities/holiday.entity.d.ts.map +1 -0
  138. package/dist/database/entities/holiday.entity.js +79 -0
  139. package/dist/database/entities/holiday.entity.js.map +1 -0
  140. package/{src/database/entities/index.ts → dist/database/entities/index.d.ts} +84 -79
  141. package/dist/database/entities/index.d.ts.map +1 -0
  142. package/dist/database/entities/index.js +100 -0
  143. package/dist/database/entities/index.js.map +1 -0
  144. package/dist/database/entities/invoice-template-footer.entity.d.ts +24 -0
  145. package/dist/database/entities/invoice-template-footer.entity.d.ts.map +1 -0
  146. package/dist/database/entities/invoice-template-footer.entity.js +118 -0
  147. package/dist/database/entities/invoice-template-footer.entity.js.map +1 -0
  148. package/dist/database/entities/invoice-template-header.entity.d.ts +14 -0
  149. package/dist/database/entities/invoice-template-header.entity.d.ts.map +1 -0
  150. package/dist/database/entities/invoice-template-header.entity.js +68 -0
  151. package/dist/database/entities/invoice-template-header.entity.js.map +1 -0
  152. package/dist/database/entities/invoice-template-table.entity.d.ts +35 -0
  153. package/dist/database/entities/invoice-template-table.entity.d.ts.map +1 -0
  154. package/dist/database/entities/invoice-template-table.entity.js +143 -0
  155. package/dist/database/entities/invoice-template-table.entity.js.map +1 -0
  156. package/dist/database/entities/invoice-template.entity.d.ts +39 -0
  157. package/dist/database/entities/invoice-template.entity.d.ts.map +1 -0
  158. package/dist/database/entities/invoice-template.entity.js +157 -0
  159. package/dist/database/entities/invoice-template.entity.js.map +1 -0
  160. package/dist/database/entities/invoice.entity.d.ts +49 -0
  161. package/dist/database/entities/invoice.entity.d.ts.map +1 -0
  162. package/dist/database/entities/invoice.entity.js +302 -0
  163. package/dist/database/entities/invoice.entity.js.map +1 -0
  164. package/dist/database/entities/invoice_item.entity.d.ts +22 -0
  165. package/dist/database/entities/invoice_item.entity.d.ts.map +1 -0
  166. package/dist/database/entities/invoice_item.entity.js +89 -0
  167. package/dist/database/entities/invoice_item.entity.js.map +1 -0
  168. package/dist/database/entities/leave-balance.entity.d.ts +38 -0
  169. package/dist/database/entities/leave-balance.entity.d.ts.map +1 -0
  170. package/dist/database/entities/leave-balance.entity.js +166 -0
  171. package/dist/database/entities/leave-balance.entity.js.map +1 -0
  172. package/dist/database/entities/leave-request.entity.d.ts +64 -0
  173. package/dist/database/entities/leave-request.entity.d.ts.map +1 -0
  174. package/dist/database/entities/leave-request.entity.js +219 -0
  175. package/dist/database/entities/leave-request.entity.js.map +1 -0
  176. package/dist/database/entities/leave-type.entity.d.ts +15 -0
  177. package/dist/database/entities/leave-type.entity.d.ts.map +1 -0
  178. package/dist/database/entities/leave-type.entity.js +72 -0
  179. package/dist/database/entities/leave-type.entity.js.map +1 -0
  180. package/dist/database/entities/matter-tag.entity.d.ts +10 -0
  181. package/dist/database/entities/matter-tag.entity.d.ts.map +1 -0
  182. package/dist/database/entities/matter-tag.entity.js +45 -0
  183. package/dist/database/entities/matter-tag.entity.js.map +1 -0
  184. package/dist/database/entities/matter-task-view-filter.entity.d.ts +11 -0
  185. package/dist/database/entities/matter-task-view-filter.entity.d.ts.map +1 -0
  186. package/dist/database/entities/matter-task-view-filter.entity.js +42 -0
  187. package/dist/database/entities/matter-task-view-filter.entity.js.map +1 -0
  188. package/dist/database/entities/matter-team-member.entity.d.ts +11 -0
  189. package/dist/database/entities/matter-team-member.entity.d.ts.map +1 -0
  190. package/dist/database/entities/matter-team-member.entity.js +56 -0
  191. package/dist/database/entities/matter-team-member.entity.js.map +1 -0
  192. package/dist/database/entities/matter.entity.d.ts +62 -0
  193. package/dist/database/entities/matter.entity.d.ts.map +1 -0
  194. package/dist/database/entities/matter.entity.js +249 -0
  195. package/dist/database/entities/matter.entity.js.map +1 -0
  196. package/dist/database/entities/otp.entity.d.ts +24 -0
  197. package/dist/database/entities/otp.entity.d.ts.map +1 -0
  198. package/dist/database/entities/otp.entity.js +97 -0
  199. package/dist/database/entities/otp.entity.js.map +1 -0
  200. package/dist/database/entities/payment.entity.d.ts +29 -0
  201. package/dist/database/entities/payment.entity.d.ts.map +1 -0
  202. package/dist/database/entities/payment.entity.js +207 -0
  203. package/dist/database/entities/payment.entity.js.map +1 -0
  204. package/dist/database/entities/permission.entity.d.ts +11 -0
  205. package/dist/database/entities/permission.entity.d.ts.map +1 -0
  206. package/dist/database/entities/permission.entity.js +52 -0
  207. package/dist/database/entities/permission.entity.js.map +1 -0
  208. package/dist/database/entities/quickbooks-connection.entity.d.ts +14 -0
  209. package/dist/database/entities/quickbooks-connection.entity.d.ts.map +1 -0
  210. package/dist/database/entities/quickbooks-connection.entity.js +71 -0
  211. package/dist/database/entities/quickbooks-connection.entity.js.map +1 -0
  212. package/dist/database/entities/quickbooks-sync-log.entity.d.ts +34 -0
  213. package/dist/database/entities/quickbooks-sync-log.entity.d.ts.map +1 -0
  214. package/dist/database/entities/quickbooks-sync-log.entity.js +116 -0
  215. package/dist/database/entities/quickbooks-sync-log.entity.js.map +1 -0
  216. package/dist/database/entities/role-permission.entity.d.ts +10 -0
  217. package/dist/database/entities/role-permission.entity.d.ts.map +1 -0
  218. package/dist/database/entities/role-permission.entity.js +49 -0
  219. package/dist/database/entities/role-permission.entity.js.map +1 -0
  220. package/dist/database/entities/role-shift.entity.d.ts +8 -0
  221. package/dist/database/entities/role-shift.entity.d.ts.map +1 -0
  222. package/dist/database/entities/role-shift.entity.js +48 -0
  223. package/dist/database/entities/role-shift.entity.js.map +1 -0
  224. package/dist/database/entities/role.entity.d.ts +13 -0
  225. package/dist/database/entities/role.entity.d.ts.map +1 -0
  226. package/dist/database/entities/role.entity.js +58 -0
  227. package/dist/database/entities/role.entity.js.map +1 -0
  228. package/dist/database/entities/sequence-generator.entity.d.ts +8 -0
  229. package/dist/database/entities/sequence-generator.entity.d.ts.map +1 -0
  230. package/dist/database/entities/sequence-generator.entity.js +64 -0
  231. package/dist/database/entities/sequence-generator.entity.js.map +1 -0
  232. package/dist/database/entities/shift.entity.d.ts +18 -0
  233. package/dist/database/entities/shift.entity.d.ts.map +1 -0
  234. package/dist/database/entities/shift.entity.js +110 -0
  235. package/dist/database/entities/shift.entity.js.map +1 -0
  236. package/dist/database/entities/sub-task-tag.entity.d.ts +10 -0
  237. package/dist/database/entities/sub-task-tag.entity.d.ts.map +1 -0
  238. package/dist/database/entities/sub-task-tag.entity.js +45 -0
  239. package/dist/database/entities/sub-task-tag.entity.js.map +1 -0
  240. package/dist/database/entities/subtask-user.entity.d.ts +10 -0
  241. package/dist/database/entities/subtask-user.entity.d.ts.map +1 -0
  242. package/dist/database/entities/subtask-user.entity.js +45 -0
  243. package/dist/database/entities/subtask-user.entity.js.map +1 -0
  244. package/dist/database/entities/subtask.entity.d.ts +47 -0
  245. package/dist/database/entities/subtask.entity.d.ts.map +1 -0
  246. package/dist/database/entities/subtask.entity.js +185 -0
  247. package/dist/database/entities/subtask.entity.js.map +1 -0
  248. package/dist/database/entities/summary-task-status.entity.d.ts +7 -0
  249. package/dist/database/entities/summary-task-status.entity.d.ts.map +1 -0
  250. package/dist/database/entities/summary-task-status.entity.js +37 -0
  251. package/dist/database/entities/summary-task-status.entity.js.map +1 -0
  252. package/dist/database/entities/superset.entity.d.ts +15 -0
  253. package/dist/database/entities/superset.entity.d.ts.map +1 -0
  254. package/dist/database/entities/superset.entity.js +73 -0
  255. package/dist/database/entities/superset.entity.js.map +1 -0
  256. package/dist/database/entities/tag.entity.d.ts +10 -0
  257. package/dist/database/entities/tag.entity.d.ts.map +1 -0
  258. package/dist/database/entities/tag.entity.js +43 -0
  259. package/dist/database/entities/tag.entity.js.map +1 -0
  260. package/dist/database/entities/task-comment.entity.d.ts +15 -0
  261. package/dist/database/entities/task-comment.entity.d.ts.map +1 -0
  262. package/dist/database/entities/task-comment.entity.js +67 -0
  263. package/dist/database/entities/task-comment.entity.js.map +1 -0
  264. package/dist/database/entities/task-milestone.entity.d.ts +7 -0
  265. package/dist/database/entities/task-milestone.entity.d.ts.map +1 -0
  266. package/dist/database/entities/task-milestone.entity.js +36 -0
  267. package/dist/database/entities/task-milestone.entity.js.map +1 -0
  268. package/dist/database/entities/task-remainder.entity.d.ts +12 -0
  269. package/dist/database/entities/task-remainder.entity.d.ts.map +1 -0
  270. package/dist/database/entities/task-remainder.entity.js +57 -0
  271. package/dist/database/entities/task-remainder.entity.js.map +1 -0
  272. package/dist/database/entities/task-tag.entity.d.ts +10 -0
  273. package/dist/database/entities/task-tag.entity.d.ts.map +1 -0
  274. package/dist/database/entities/task-tag.entity.js +45 -0
  275. package/dist/database/entities/task-tag.entity.js.map +1 -0
  276. package/dist/database/entities/task-type.entity.d.ts +7 -0
  277. package/dist/database/entities/task-type.entity.d.ts.map +1 -0
  278. package/dist/database/entities/task-type.entity.js +36 -0
  279. package/dist/database/entities/task-type.entity.js.map +1 -0
  280. package/dist/database/entities/task-user.entity.d.ts +10 -0
  281. package/dist/database/entities/task-user.entity.d.ts.map +1 -0
  282. package/dist/database/entities/task-user.entity.js +45 -0
  283. package/dist/database/entities/task-user.entity.js.map +1 -0
  284. package/dist/database/entities/task.entity.d.ts +53 -0
  285. package/dist/database/entities/task.entity.d.ts.map +1 -0
  286. package/dist/database/entities/task.entity.js +259 -0
  287. package/dist/database/entities/task.entity.js.map +1 -0
  288. package/dist/database/entities/template-task.entity.d.ts +11 -0
  289. package/dist/database/entities/template-task.entity.d.ts.map +1 -0
  290. package/dist/database/entities/template-task.entity.js +53 -0
  291. package/dist/database/entities/template-task.entity.js.map +1 -0
  292. package/dist/database/entities/template.entity.d.ts +13 -0
  293. package/dist/database/entities/template.entity.d.ts.map +1 -0
  294. package/dist/database/entities/template.entity.js +58 -0
  295. package/dist/database/entities/template.entity.js.map +1 -0
  296. package/dist/database/entities/tenant-configuration.entity.d.ts +16 -0
  297. package/dist/database/entities/tenant-configuration.entity.d.ts.map +1 -0
  298. package/dist/database/entities/tenant-configuration.entity.js +77 -0
  299. package/dist/database/entities/tenant-configuration.entity.js.map +1 -0
  300. package/dist/database/entities/tenant-module.entity.d.ts +11 -0
  301. package/dist/database/entities/tenant-module.entity.d.ts.map +1 -0
  302. package/dist/database/entities/tenant-module.entity.js +50 -0
  303. package/dist/database/entities/tenant-module.entity.js.map +1 -0
  304. package/dist/database/entities/tenant-sub-module.entity.d.ts +9 -0
  305. package/dist/database/entities/tenant-sub-module.entity.d.ts.map +1 -0
  306. package/dist/database/entities/tenant-sub-module.entity.js +45 -0
  307. package/dist/database/entities/tenant-sub-module.entity.js.map +1 -0
  308. package/dist/database/entities/timesheet-comment.entity.d.ts +11 -0
  309. package/dist/database/entities/timesheet-comment.entity.d.ts.map +1 -0
  310. package/dist/database/entities/timesheet-comment.entity.js +65 -0
  311. package/dist/database/entities/timesheet-comment.entity.js.map +1 -0
  312. package/dist/database/entities/timesheet-event.entity.d.ts +48 -0
  313. package/dist/database/entities/timesheet-event.entity.d.ts.map +1 -0
  314. package/dist/database/entities/timesheet-event.entity.js +328 -0
  315. package/dist/database/entities/timesheet-event.entity.js.map +1 -0
  316. package/dist/database/entities/timesheet-summary.entity.d.ts +27 -0
  317. package/dist/database/entities/timesheet-summary.entity.d.ts.map +1 -0
  318. package/dist/database/entities/timesheet-summary.entity.js +161 -0
  319. package/dist/database/entities/timesheet-summary.entity.js.map +1 -0
  320. package/dist/database/entities/timesheet.entity.d.ts +32 -0
  321. package/dist/database/entities/timesheet.entity.d.ts.map +1 -0
  322. package/dist/database/entities/timesheet.entity.js +112 -0
  323. package/dist/database/entities/timesheet.entity.js.map +1 -0
  324. package/dist/database/entities/transfer-ownership.entity.d.ts +15 -0
  325. package/dist/database/entities/transfer-ownership.entity.d.ts.map +1 -0
  326. package/dist/database/entities/transfer-ownership.entity.js +75 -0
  327. package/dist/database/entities/transfer-ownership.entity.js.map +1 -0
  328. package/dist/database/entities/upload-log.entity.d.ts +32 -0
  329. package/dist/database/entities/upload-log.entity.d.ts.map +1 -0
  330. package/dist/database/entities/upload-log.entity.js +116 -0
  331. package/dist/database/entities/upload-log.entity.js.map +1 -0
  332. package/dist/database/entities/user-notification-channel.entity.d.ts +8 -0
  333. package/dist/database/entities/user-notification-channel.entity.d.ts.map +1 -0
  334. package/dist/database/entities/user-notification-channel.entity.js +63 -0
  335. package/dist/database/entities/user-notification-channel.entity.js.map +1 -0
  336. package/dist/database/entities/user-notification-preference.entity.d.ts +10 -0
  337. package/dist/database/entities/user-notification-preference.entity.d.ts.map +1 -0
  338. package/dist/database/entities/user-notification-preference.entity.js +72 -0
  339. package/dist/database/entities/user-notification-preference.entity.js.map +1 -0
  340. package/dist/database/entities/user-role.entity.d.ts +10 -0
  341. package/dist/database/entities/user-role.entity.d.ts.map +1 -0
  342. package/dist/database/entities/user-role.entity.js +45 -0
  343. package/dist/database/entities/user-role.entity.js.map +1 -0
  344. package/dist/database/entities/user-session-history.entity.d.ts +24 -0
  345. package/dist/database/entities/user-session-history.entity.d.ts.map +1 -0
  346. package/dist/database/entities/user-session-history.entity.js +95 -0
  347. package/dist/database/entities/user-session-history.entity.js.map +1 -0
  348. package/dist/database/entities/user-shift.entity.d.ts +24 -0
  349. package/dist/database/entities/user-shift.entity.d.ts.map +1 -0
  350. package/dist/database/entities/user-shift.entity.js +153 -0
  351. package/dist/database/entities/user-shift.entity.js.map +1 -0
  352. package/dist/database/entities/user.entity.d.ts +77 -0
  353. package/dist/database/entities/user.entity.d.ts.map +1 -0
  354. package/dist/database/entities/user.entity.js +295 -0
  355. package/dist/database/entities/user.entity.js.map +1 -0
  356. package/dist/database/entities/zohobooks-connection.entity.d.ts +16 -0
  357. package/dist/database/entities/zohobooks-connection.entity.d.ts.map +1 -0
  358. package/dist/database/entities/zohobooks-connection.entity.js +81 -0
  359. package/dist/database/entities/zohobooks-connection.entity.js.map +1 -0
  360. package/dist/database/entities/zohobooks-sync-log.entity.d.ts +35 -0
  361. package/dist/database/entities/zohobooks-sync-log.entity.d.ts.map +1 -0
  362. package/dist/database/entities/zohobooks-sync-log.entity.js +117 -0
  363. package/dist/database/entities/zohobooks-sync-log.entity.js.map +1 -0
  364. package/dist/database/index.d.ts +2 -0
  365. package/dist/database/index.d.ts.map +1 -0
  366. package/dist/database/index.js +18 -0
  367. package/dist/database/index.js.map +1 -0
  368. package/dist/database/migrations/1770794314727-initialMigration.d.ts +7 -0
  369. package/dist/database/migrations/1770794314727-initialMigration.d.ts.map +1 -0
  370. package/{src/database/migrations/1770706648232-initialMigration.ts → dist/database/migrations/1770794314727-initialMigration.js} +9 -9
  371. package/dist/database/migrations/1770794314727-initialMigration.js.map +1 -0
  372. package/dist/database/migrations/1771421233389-initialTenantConfiguration_module_submodule_tables.d.ts +7 -0
  373. package/dist/database/migrations/1771421233389-initialTenantConfiguration_module_submodule_tables.d.ts.map +1 -0
  374. package/dist/database/migrations/1771421233389-initialTenantConfiguration_module_submodule_tables.js +26 -0
  375. package/dist/database/migrations/1771421233389-initialTenantConfiguration_module_submodule_tables.js.map +1 -0
  376. package/dist/database/migrations/1771494127263-added_tenantUserfieldInTenantConfigurationTable.d.ts +7 -0
  377. package/dist/database/migrations/1771494127263-added_tenantUserfieldInTenantConfigurationTable.d.ts.map +1 -0
  378. package/dist/database/migrations/1771494127263-added_tenantUserfieldInTenantConfigurationTable.js +14 -0
  379. package/dist/database/migrations/1771494127263-added_tenantUserfieldInTenantConfigurationTable.js.map +1 -0
  380. package/dist/database/migrations/1773212696542-Added_profileUrl_in_user_And_error_file_presigned_url_in_uploadLog.d.ts +7 -0
  381. package/dist/database/migrations/1773212696542-Added_profileUrl_in_user_And_error_file_presigned_url_in_uploadLog.d.ts.map +1 -0
  382. package/dist/database/migrations/1773212696542-Added_profileUrl_in_user_And_error_file_presigned_url_in_uploadLog.js +16 -0
  383. package/dist/database/migrations/1773212696542-Added_profileUrl_in_user_And_error_file_presigned_url_in_uploadLog.js.map +1 -0
  384. package/dist/database/migrations/1773395645993-AddedOtpEntityAndUpdateUserSessionEntity.d.ts +7 -0
  385. package/dist/database/migrations/1773395645993-AddedOtpEntityAndUpdateUserSessionEntity.d.ts.map +1 -0
  386. package/dist/database/migrations/1773395645993-AddedOtpEntityAndUpdateUserSessionEntity.js +34 -0
  387. package/dist/database/migrations/1773395645993-AddedOtpEntityAndUpdateUserSessionEntity.js.map +1 -0
  388. package/dist/database/migrations/1773397322355-AddedSystemUserName_in_UserEntity.d.ts +7 -0
  389. package/dist/database/migrations/1773397322355-AddedSystemUserName_in_UserEntity.d.ts.map +1 -0
  390. package/dist/database/migrations/1773397322355-AddedSystemUserName_in_UserEntity.js +14 -0
  391. package/dist/database/migrations/1773397322355-AddedSystemUserName_in_UserEntity.js.map +1 -0
  392. package/dist/database/migrations/1775023603725-updateClient_creditNote_file_invoice_payment_entity_and_Added_zohobookConnection_And_zohobookSync_log_entities.d.ts +7 -0
  393. package/dist/database/migrations/1775023603725-updateClient_creditNote_file_invoice_payment_entity_and_Added_zohobookConnection_And_zohobookSync_log_entities.d.ts.map +1 -0
  394. package/dist/database/migrations/1775023603725-updateClient_creditNote_file_invoice_payment_entity_and_Added_zohobookConnection_And_zohobookSync_log_entities.js +34 -0
  395. package/dist/database/migrations/1775023603725-updateClient_creditNote_file_invoice_payment_entity_and_Added_zohobookConnection_And_zohobookSync_log_entities.js.map +1 -0
  396. package/dist/database/migrations/1775111804920-uptodate_tables.d.ts +7 -0
  397. package/dist/database/migrations/1775111804920-uptodate_tables.d.ts.map +1 -0
  398. package/dist/database/migrations/1775111804920-uptodate_tables.js +32 -0
  399. package/dist/database/migrations/1775111804920-uptodate_tables.js.map +1 -0
  400. package/dist/database/seeder/base.seed.d.ts +19 -0
  401. package/dist/database/seeder/base.seed.d.ts.map +1 -0
  402. package/dist/database/seeder/base.seed.js +83 -0
  403. package/dist/database/seeder/base.seed.js.map +1 -0
  404. package/dist/database/seeder/config/seeder.config.d.ts +7 -0
  405. package/dist/database/seeder/config/seeder.config.d.ts.map +1 -0
  406. package/dist/database/seeder/config/seeder.config.js +21 -0
  407. package/dist/database/seeder/config/seeder.config.js.map +1 -0
  408. package/dist/database/seeder/errors/seeder.error.d.ts +11 -0
  409. package/dist/database/seeder/errors/seeder.error.d.ts.map +1 -0
  410. package/dist/database/seeder/errors/seeder.error.js +27 -0
  411. package/dist/database/seeder/errors/seeder.error.js.map +1 -0
  412. package/dist/database/seeder/seed-runner.d.ts +2 -0
  413. package/dist/database/seeder/seed-runner.d.ts.map +1 -0
  414. package/dist/database/seeder/seed-runner.js +157 -0
  415. package/dist/database/seeder/seed-runner.js.map +1 -0
  416. package/dist/database/seeder/seeds/city.seed.d.ts +8 -0
  417. package/dist/database/seeder/seeds/city.seed.d.ts.map +1 -0
  418. package/dist/database/seeder/seeds/city.seed.js +62 -0
  419. package/dist/database/seeder/seeds/city.seed.js.map +1 -0
  420. package/dist/database/seeder/seeds/country.seed.d.ts +8 -0
  421. package/dist/database/seeder/seeds/country.seed.d.ts.map +1 -0
  422. package/dist/database/seeder/seeds/country.seed.js +54 -0
  423. package/dist/database/seeder/seeds/country.seed.js.map +1 -0
  424. package/dist/database/seeder/seeds/currency.seed.d.ts +8 -0
  425. package/dist/database/seeder/seeds/currency.seed.d.ts.map +1 -0
  426. package/dist/database/seeder/seeds/currency.seed.js +50 -0
  427. package/dist/database/seeder/seeds/currency.seed.js.map +1 -0
  428. package/dist/database/seeder/seeds/department.seed.d.ts +8 -0
  429. package/dist/database/seeder/seeds/department.seed.d.ts.map +1 -0
  430. package/dist/database/seeder/seeds/department.seed.js +48 -0
  431. package/dist/database/seeder/seeds/department.seed.js.map +1 -0
  432. package/dist/database/seeder/seeds/permission.seed.d.ts +8 -0
  433. package/dist/database/seeder/seeds/permission.seed.d.ts.map +1 -0
  434. package/dist/database/seeder/seeds/permission.seed.js +54 -0
  435. package/dist/database/seeder/seeds/permission.seed.js.map +1 -0
  436. package/dist/database/seeder/seeds/role-permission.seed.d.ts +8 -0
  437. package/dist/database/seeder/seeds/role-permission.seed.d.ts.map +1 -0
  438. package/dist/database/seeder/seeds/role-permission.seed.js +47 -0
  439. package/dist/database/seeder/seeds/role-permission.seed.js.map +1 -0
  440. package/dist/database/seeder/seeds/role.seed.d.ts +8 -0
  441. package/dist/database/seeder/seeds/role.seed.d.ts.map +1 -0
  442. package/dist/database/seeder/seeds/role.seed.js +52 -0
  443. package/dist/database/seeder/seeds/role.seed.js.map +1 -0
  444. package/dist/database/seeder/seeds/user-role.seed.d.ts +8 -0
  445. package/dist/database/seeder/seeds/user-role.seed.d.ts.map +1 -0
  446. package/dist/database/seeder/seeds/user-role.seed.js +66 -0
  447. package/dist/database/seeder/seeds/user-role.seed.js.map +1 -0
  448. package/dist/database/seeder/seeds/user.seed.d.ts +8 -0
  449. package/dist/database/seeder/seeds/user.seed.d.ts.map +1 -0
  450. package/dist/database/seeder/seeds/user.seed.js +110 -0
  451. package/dist/database/seeder/seeds/user.seed.js.map +1 -0
  452. package/{src/index.ts → dist/index.d.ts} +1 -5
  453. package/dist/index.d.ts.map +1 -0
  454. package/dist/index.js.map +1 -0
  455. package/dist/scripts/create-schema.d.ts +2 -0
  456. package/dist/scripts/create-schema.d.ts.map +1 -0
  457. package/dist/scripts/create-schema.js +77 -0
  458. package/dist/scripts/create-schema.js.map +1 -0
  459. package/dist/tsconfig.build.tsbuildinfo +1 -0
  460. package/package.json +50 -70
  461. package/README.md +0 -250
  462. package/src/config/index.ts +0 -5
  463. package/src/config/ormconfig.factory.ts +0 -102
  464. package/src/config/typeorm.config.ts +0 -22
  465. package/src/core/constant/index.ts +0 -1
  466. package/src/core/constant/notification-preference.ts +0 -113
  467. package/src/core/json/core-data/currency.json +0 -8
  468. package/src/core/json/core-data/role.json +0 -30
  469. package/src/core/json/core-data/user.json +0 -12
  470. package/src/core/json/geographic-data/cities.json +0 -54693
  471. package/src/core/json/geographic-data/countries.json +0 -31
  472. package/src/database/entities/activity-logs.entity.ts +0 -31
  473. package/src/database/entities/address.entity.ts +0 -31
  474. package/src/database/entities/alert.entity.ts +0 -139
  475. package/src/database/entities/approval-condition.entity.ts +0 -48
  476. package/src/database/entities/approval-hierarchy-role.entity.ts +0 -24
  477. package/src/database/entities/approval-hierarchy-user.entity.ts +0 -24
  478. package/src/database/entities/approval-hierarchy.entity.ts +0 -59
  479. package/src/database/entities/approval-journey.entity.ts +0 -75
  480. package/src/database/entities/approval-level-escalation-user.entity.ts +0 -23
  481. package/src/database/entities/approval-level-escalation.entity.ts +0 -45
  482. package/src/database/entities/approval-level-user.entity.ts +0 -25
  483. package/src/database/entities/approval-level.entity.ts +0 -51
  484. package/src/database/entities/base.entity.ts +0 -31
  485. package/src/database/entities/chat.entity.ts +0 -36
  486. package/src/database/entities/city.entity.ts +0 -25
  487. package/src/database/entities/client.entity.ts +0 -91
  488. package/src/database/entities/contact.entity.ts +0 -27
  489. package/src/database/entities/country.entity.ts +0 -69
  490. package/src/database/entities/credit-note.entity.ts +0 -88
  491. package/src/database/entities/currency.entity.ts +0 -21
  492. package/src/database/entities/department.entity.ts +0 -21
  493. package/src/database/entities/entitlement.entity.ts +0 -64
  494. package/src/database/entities/expense.entity.ts +0 -141
  495. package/src/database/entities/file.entity.ts +0 -22
  496. package/src/database/entities/fixed-invoice-item.entity.ts +0 -29
  497. package/src/database/entities/group.entity.ts +0 -21
  498. package/src/database/entities/gst.entity.ts +0 -32
  499. package/src/database/entities/holiday.entity.ts +0 -51
  500. package/src/database/entities/invoice-template-footer.entity.ts +0 -70
  501. package/src/database/entities/invoice-template-header.entity.ts +0 -34
  502. package/src/database/entities/invoice-template-table.entity.ts +0 -83
  503. package/src/database/entities/invoice-template.entity.ts +0 -119
  504. package/src/database/entities/invoice.entity.ts +0 -139
  505. package/src/database/entities/invoice_item.entity.ts +0 -69
  506. package/src/database/entities/leave-balance.entity.ts +0 -118
  507. package/src/database/entities/leave-request.entity.ts +0 -155
  508. package/src/database/entities/leave-type.entity.ts +0 -37
  509. package/src/database/entities/matter-tag.entity.ts +0 -21
  510. package/src/database/entities/matter-task-view-filter.entity.ts +0 -21
  511. package/src/database/entities/matter-team-member.entity.ts +0 -30
  512. package/src/database/entities/matter.entity.ts +0 -156
  513. package/src/database/entities/payment.entity.ts +0 -72
  514. package/src/database/entities/permission.entity.ts +0 -27
  515. package/src/database/entities/quickbooks-connection.entity.ts +0 -35
  516. package/src/database/entities/quickbooks-sync-log.entity.ts +0 -79
  517. package/src/database/entities/role-permission.entity.ts +0 -30
  518. package/src/database/entities/role-shift.entity.ts +0 -43
  519. package/src/database/entities/role.entity.ts +0 -30
  520. package/src/database/entities/sequence-generator.entity.ts +0 -40
  521. package/src/database/entities/shift.entity.ts +0 -72
  522. package/src/database/entities/sub-task-tag.entity.ts +0 -22
  523. package/src/database/entities/subtask-user.entity.ts +0 -21
  524. package/src/database/entities/subtask.entity.ts +0 -125
  525. package/src/database/entities/summary-task-status.entity.ts +0 -15
  526. package/src/database/entities/superset.entity.ts +0 -38
  527. package/src/database/entities/tag.entity.ts +0 -19
  528. package/src/database/entities/task-comment.entity.ts +0 -41
  529. package/src/database/entities/task-milestone.entity.ts +0 -14
  530. package/src/database/entities/task-remainder.entity.ts +0 -29
  531. package/src/database/entities/task-tag.entity.ts +0 -22
  532. package/src/database/entities/task-type.entity.ts +0 -14
  533. package/src/database/entities/task-user.entity.ts +0 -21
  534. package/src/database/entities/task.entity.ts +0 -176
  535. package/src/database/entities/template-task.entity.ts +0 -25
  536. package/src/database/entities/template.entity.ts +0 -28
  537. package/src/database/entities/timesheet-comment.entity.ts +0 -45
  538. package/src/database/entities/timesheet-event.entity.ts +0 -256
  539. package/src/database/entities/timesheet-summary.entity.ts +0 -101
  540. package/src/database/entities/timesheet.entity.ts +0 -76
  541. package/src/database/entities/transfer-ownership.entity.ts +0 -39
  542. package/src/database/entities/upload-log.entity.ts +0 -78
  543. package/src/database/entities/user-notification-channel.entity.ts +0 -43
  544. package/src/database/entities/user-notification-preference.entity.ts +0 -50
  545. package/src/database/entities/user-role.entity.ts +0 -25
  546. package/src/database/entities/user-session-history.entity.ts +0 -45
  547. package/src/database/entities/user-shift.entity.ts +0 -109
  548. package/src/database/entities/user.entity.ts +0 -198
  549. package/src/database/index.ts +0 -1
  550. package/src/database/seeder/base.seed.ts +0 -104
  551. package/src/database/seeder/config/seeder.config.ts +0 -26
  552. package/src/database/seeder/errors/seeder.error.ts +0 -20
  553. package/src/database/seeder/seed-runner.ts +0 -200
  554. package/src/database/seeder/seeds/city.seed.ts +0 -70
  555. package/src/database/seeder/seeds/country.seed.ts +0 -58
  556. package/src/database/seeder/seeds/currency.seed.ts +0 -52
  557. package/src/database/seeder/seeds/department.seed.ts +0 -47
  558. package/src/database/seeder/seeds/permission.seed.ts +0 -54
  559. package/src/database/seeder/seeds/role-permission.seed.ts +0 -58
  560. package/src/database/seeder/seeds/role.seed.ts +0 -52
  561. package/src/database/seeder/seeds/user-role.seed.ts +0 -72
  562. package/src/database/seeder/seeds/user.seed.ts +0 -87
  563. package/src/scripts/create-schema.ts +0 -94
@@ -0,0 +1,295 @@
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 typeorm_1 = require("typeorm");
14
+ const base_entity_1 = require("./base.entity");
15
+ const department_entity_1 = require("./department.entity");
16
+ const user_role_entity_1 = require("./user-role.entity");
17
+ const approval_level_user_entity_1 = require("./approval-level-user.entity");
18
+ const approval_level_escalation_entity_1 = require("./approval-level-escalation.entity");
19
+ const approval_level_escalation_user_entity_1 = require("./approval-level-escalation-user.entity");
20
+ const approval_journey_entity_1 = require("./approval-journey.entity");
21
+ const chat_entity_1 = require("./chat.entity");
22
+ const user_session_history_entity_1 = require("./user-session-history.entity");
23
+ const upload_log_entity_1 = require("./upload-log.entity");
24
+ const transfer_ownership_entity_1 = require("./transfer-ownership.entity");
25
+ const shift_entity_1 = require("./shift.entity");
26
+ const user_shift_entity_1 = require("./user-shift.entity");
27
+ const timesheet_entity_1 = require("./timesheet.entity");
28
+ const timesheet_event_entity_1 = require("./timesheet-event.entity");
29
+ const matter_entity_1 = require("./matter.entity");
30
+ const credit_note_entity_1 = require("./credit-note.entity");
31
+ const task_user_entity_1 = require("./task-user.entity");
32
+ const subtask_user_entity_1 = require("./subtask-user.entity");
33
+ const matter_team_member_entity_1 = require("./matter-team-member.entity");
34
+ const superset_entity_1 = require("./superset.entity");
35
+ const task_comment_entity_1 = require("./task-comment.entity");
36
+ const invoice_entity_1 = require("./invoice.entity");
37
+ const expense_entity_1 = require("./expense.entity");
38
+ let User = class User extends base_entity_1.BaseEntity {
39
+ name;
40
+ email;
41
+ password;
42
+ language;
43
+ timezone;
44
+ phoneNumber;
45
+ countryCode;
46
+ departmentId;
47
+ systemUsername;
48
+ reportsTo;
49
+ fileId;
50
+ profilePicture;
51
+ refreshToken;
52
+ resetToken;
53
+ resetTokenExpires;
54
+ isActive;
55
+ isVerified;
56
+ hourlyRate;
57
+ ntrackId;
58
+ ntrackEmpId;
59
+ ntrackPassword;
60
+ isTwoFactorEnabled;
61
+ department;
62
+ user_roles;
63
+ approval_level_user;
64
+ approval_level_escalation;
65
+ approval_level_escalation_user;
66
+ approval_journey;
67
+ approval_journey_requester;
68
+ sent_chats;
69
+ received_chats;
70
+ user_session_history;
71
+ uploadLogs;
72
+ ownershipTransfersFrom;
73
+ ownershipTransfersTo;
74
+ ownershipTransfersBy;
75
+ timesheetEvents;
76
+ timesheets;
77
+ userShift;
78
+ shifts;
79
+ matters;
80
+ creditNotes;
81
+ tasks;
82
+ subtasks;
83
+ expenses;
84
+ approvedInvoices;
85
+ requestedInvoices;
86
+ teamMembers;
87
+ supersetCharts;
88
+ taskComments;
89
+ };
90
+ exports.User = User;
91
+ __decorate([
92
+ (0, typeorm_1.Column)({ name: 'name' }),
93
+ __metadata("design:type", String)
94
+ ], User.prototype, "name", void 0);
95
+ __decorate([
96
+ (0, typeorm_1.Column)({ name: 'email', unique: true }),
97
+ __metadata("design:type", String)
98
+ ], User.prototype, "email", void 0);
99
+ __decorate([
100
+ (0, typeorm_1.Column)({ name: 'password', nullable: true }),
101
+ __metadata("design:type", String)
102
+ ], User.prototype, "password", void 0);
103
+ __decorate([
104
+ (0, typeorm_1.Column)({ name: 'language', default: 'en', nullable: true }),
105
+ __metadata("design:type", String)
106
+ ], User.prototype, "language", void 0);
107
+ __decorate([
108
+ (0, typeorm_1.Column)({ name: 'timezone', default: 'Asia/Kolkata', nullable: true }),
109
+ __metadata("design:type", String)
110
+ ], User.prototype, "timezone", void 0);
111
+ __decorate([
112
+ (0, typeorm_1.Column)({ name: 'phone_number', nullable: true }),
113
+ __metadata("design:type", String)
114
+ ], User.prototype, "phoneNumber", void 0);
115
+ __decorate([
116
+ (0, typeorm_1.Column)({ name: 'country_code', nullable: true }),
117
+ __metadata("design:type", String)
118
+ ], User.prototype, "countryCode", void 0);
119
+ __decorate([
120
+ (0, typeorm_1.Column)({ name: 'department_id', nullable: true }),
121
+ __metadata("design:type", Number)
122
+ ], User.prototype, "departmentId", void 0);
123
+ __decorate([
124
+ (0, typeorm_1.Column)({ name: 'systemusername', nullable: true }),
125
+ __metadata("design:type", String)
126
+ ], User.prototype, "systemUsername", void 0);
127
+ __decorate([
128
+ (0, typeorm_1.Column)({ name: 'reports_to', type: 'jsonb', nullable: true }),
129
+ __metadata("design:type", Object)
130
+ ], User.prototype, "reportsTo", void 0);
131
+ __decorate([
132
+ (0, typeorm_1.Column)({ name: 'file_id', nullable: true }),
133
+ __metadata("design:type", Number)
134
+ ], User.prototype, "fileId", void 0);
135
+ __decorate([
136
+ (0, typeorm_1.Column)({ name: 'profile_picture', nullable: true }),
137
+ __metadata("design:type", String)
138
+ ], User.prototype, "profilePicture", void 0);
139
+ __decorate([
140
+ (0, typeorm_1.Column)({ name: 'refresh_token', nullable: true }),
141
+ __metadata("design:type", String)
142
+ ], User.prototype, "refreshToken", void 0);
143
+ __decorate([
144
+ (0, typeorm_1.Column)({ name: 'reset_token', nullable: true }),
145
+ __metadata("design:type", String)
146
+ ], User.prototype, "resetToken", void 0);
147
+ __decorate([
148
+ (0, typeorm_1.Column)({ name: 'reset_token_expires', nullable: true }),
149
+ __metadata("design:type", Date)
150
+ ], User.prototype, "resetTokenExpires", void 0);
151
+ __decorate([
152
+ (0, typeorm_1.Column)({ name: 'is_active', default: true }),
153
+ __metadata("design:type", Boolean)
154
+ ], User.prototype, "isActive", void 0);
155
+ __decorate([
156
+ (0, typeorm_1.Column)({ name: 'is_verified', default: false }),
157
+ __metadata("design:type", Boolean)
158
+ ], User.prototype, "isVerified", void 0);
159
+ __decorate([
160
+ (0, typeorm_1.Column)({ name: 'hourly_rate', nullable: true }),
161
+ __metadata("design:type", Number)
162
+ ], User.prototype, "hourlyRate", void 0);
163
+ __decorate([
164
+ (0, typeorm_1.Column)({ name: 'ntrackid', nullable: true }),
165
+ __metadata("design:type", Number)
166
+ ], User.prototype, "ntrackId", void 0);
167
+ __decorate([
168
+ (0, typeorm_1.Column)({ name: 'ntrackempid', nullable: true }),
169
+ __metadata("design:type", String)
170
+ ], User.prototype, "ntrackEmpId", void 0);
171
+ __decorate([
172
+ (0, typeorm_1.Column)({ name: 'ntrack_password', nullable: true }),
173
+ __metadata("design:type", String)
174
+ ], User.prototype, "ntrackPassword", void 0);
175
+ __decorate([
176
+ (0, typeorm_1.Column)({ name: 'is_two_factor_enabled', default: false }),
177
+ __metadata("design:type", Boolean)
178
+ ], User.prototype, "isTwoFactorEnabled", void 0);
179
+ __decorate([
180
+ (0, typeorm_1.ManyToOne)(() => department_entity_1.Department, (department) => department.users),
181
+ (0, typeorm_1.JoinColumn)({ name: 'department_id' }),
182
+ __metadata("design:type", department_entity_1.Department)
183
+ ], User.prototype, "department", void 0);
184
+ __decorate([
185
+ (0, typeorm_1.OneToMany)(() => user_role_entity_1.UserRole, (userRole) => userRole.user, { cascade: true }),
186
+ __metadata("design:type", Array)
187
+ ], User.prototype, "user_roles", void 0);
188
+ __decorate([
189
+ (0, typeorm_1.OneToMany)(() => approval_level_user_entity_1.ApprovalLevelUser, (approvalLevelUser) => approvalLevelUser.user, { cascade: true }),
190
+ __metadata("design:type", Array)
191
+ ], User.prototype, "approval_level_user", void 0);
192
+ __decorate([
193
+ (0, typeorm_1.OneToMany)(() => approval_level_escalation_entity_1.ApprovalLevelEscalation, (approvalLevelEscalation) => approvalLevelEscalation.user, { cascade: true }),
194
+ __metadata("design:type", Array)
195
+ ], User.prototype, "approval_level_escalation", void 0);
196
+ __decorate([
197
+ (0, typeorm_1.OneToMany)(() => approval_level_escalation_user_entity_1.ApprovalLevelEscalationUser, (approvalLevelEscalationUser) => approvalLevelEscalationUser.user, { cascade: true }),
198
+ __metadata("design:type", Array)
199
+ ], User.prototype, "approval_level_escalation_user", void 0);
200
+ __decorate([
201
+ (0, typeorm_1.OneToMany)(() => approval_journey_entity_1.ApprovalJourney, (approvalJourney) => approvalJourney.user, { cascade: true }),
202
+ __metadata("design:type", Array)
203
+ ], User.prototype, "approval_journey", void 0);
204
+ __decorate([
205
+ (0, typeorm_1.OneToMany)(() => approval_journey_entity_1.ApprovalJourney, (approvalJourney) => approvalJourney.requester, { cascade: true }),
206
+ __metadata("design:type", Array)
207
+ ], User.prototype, "approval_journey_requester", void 0);
208
+ __decorate([
209
+ (0, typeorm_1.OneToMany)(() => chat_entity_1.Chat, (chat) => chat.sender),
210
+ __metadata("design:type", Array)
211
+ ], User.prototype, "sent_chats", void 0);
212
+ __decorate([
213
+ (0, typeorm_1.OneToMany)(() => chat_entity_1.Chat, (chat) => chat.receiver),
214
+ __metadata("design:type", Array)
215
+ ], User.prototype, "received_chats", void 0);
216
+ __decorate([
217
+ (0, typeorm_1.OneToMany)(() => user_session_history_entity_1.UserSessionHistory, (userSessionHistory) => userSessionHistory.user, { cascade: true }),
218
+ __metadata("design:type", Array)
219
+ ], User.prototype, "user_session_history", void 0);
220
+ __decorate([
221
+ (0, typeorm_1.OneToMany)(() => upload_log_entity_1.UploadLog, (uploadLog) => uploadLog.user),
222
+ __metadata("design:type", Array)
223
+ ], User.prototype, "uploadLogs", void 0);
224
+ __decorate([
225
+ (0, typeorm_1.OneToMany)(() => transfer_ownership_entity_1.OwnershipTransfer, (ownershipTransfer) => ownershipTransfer.ownershipTransferFromUser),
226
+ __metadata("design:type", Array)
227
+ ], User.prototype, "ownershipTransfersFrom", void 0);
228
+ __decorate([
229
+ (0, typeorm_1.OneToMany)(() => transfer_ownership_entity_1.OwnershipTransfer, (ownershipTransfer) => ownershipTransfer.ownershipTransferToUser),
230
+ __metadata("design:type", Array)
231
+ ], User.prototype, "ownershipTransfersTo", void 0);
232
+ __decorate([
233
+ (0, typeorm_1.OneToMany)(() => transfer_ownership_entity_1.OwnershipTransfer, (ownershipTransfer) => ownershipTransfer.transferredByUser),
234
+ __metadata("design:type", Array)
235
+ ], User.prototype, "ownershipTransfersBy", void 0);
236
+ __decorate([
237
+ (0, typeorm_1.OneToMany)(() => timesheet_event_entity_1.TimesheetEvent, (timesheetEvent) => timesheetEvent.user),
238
+ __metadata("design:type", Array)
239
+ ], User.prototype, "timesheetEvents", void 0);
240
+ __decorate([
241
+ (0, typeorm_1.OneToMany)(() => timesheet_entity_1.Timesheet, (timesheet) => timesheet.user),
242
+ __metadata("design:type", Array)
243
+ ], User.prototype, "timesheets", void 0);
244
+ __decorate([
245
+ (0, typeorm_1.OneToOne)(() => user_shift_entity_1.UserShift, userShift => userShift.user),
246
+ __metadata("design:type", user_shift_entity_1.UserShift)
247
+ ], User.prototype, "userShift", void 0);
248
+ __decorate([
249
+ (0, typeorm_1.OneToMany)(() => shift_entity_1.Shift, (shift) => shift.created_By),
250
+ __metadata("design:type", Array)
251
+ ], User.prototype, "shifts", void 0);
252
+ __decorate([
253
+ (0, typeorm_1.OneToMany)(() => matter_entity_1.Matter, (matter) => matter.user),
254
+ __metadata("design:type", Array)
255
+ ], User.prototype, "matters", void 0);
256
+ __decorate([
257
+ (0, typeorm_1.OneToMany)(() => credit_note_entity_1.CreditNoteEntity, (creditNote) => creditNote.raisedBy),
258
+ __metadata("design:type", Array)
259
+ ], User.prototype, "creditNotes", void 0);
260
+ __decorate([
261
+ (0, typeorm_1.OneToMany)(() => task_user_entity_1.TaskUser, (taskUser) => taskUser.user),
262
+ __metadata("design:type", Array)
263
+ ], User.prototype, "tasks", void 0);
264
+ __decorate([
265
+ (0, typeorm_1.OneToMany)(() => subtask_user_entity_1.SubTaskUser, (subTaskUser) => subTaskUser.user),
266
+ __metadata("design:type", Array)
267
+ ], User.prototype, "subtasks", void 0);
268
+ __decorate([
269
+ (0, typeorm_1.OneToMany)(() => expense_entity_1.Expense, (expense) => expense.requester),
270
+ __metadata("design:type", Array)
271
+ ], User.prototype, "expenses", void 0);
272
+ __decorate([
273
+ (0, typeorm_1.OneToMany)(() => invoice_entity_1.Invoice, (invoice) => invoice.approvedBy),
274
+ __metadata("design:type", Array)
275
+ ], User.prototype, "approvedInvoices", void 0);
276
+ __decorate([
277
+ (0, typeorm_1.OneToMany)(() => invoice_entity_1.Invoice, (invoice) => invoice.approvalRequestedBy),
278
+ __metadata("design:type", Array)
279
+ ], User.prototype, "requestedInvoices", void 0);
280
+ __decorate([
281
+ (0, typeorm_1.OneToMany)(() => matter_team_member_entity_1.MatterTeamMember, (matterTeamMember) => matterTeamMember.user),
282
+ __metadata("design:type", Array)
283
+ ], User.prototype, "teamMembers", void 0);
284
+ __decorate([
285
+ (0, typeorm_1.OneToMany)(() => superset_entity_1.Superset, (superset) => superset.user),
286
+ __metadata("design:type", Array)
287
+ ], User.prototype, "supersetCharts", void 0);
288
+ __decorate([
289
+ (0, typeorm_1.OneToMany)(() => task_comment_entity_1.TaskComment, (taskComment) => taskComment.user),
290
+ __metadata("design:type", Array)
291
+ ], User.prototype, "taskComments", void 0);
292
+ exports.User = User = __decorate([
293
+ (0, typeorm_1.Entity)({ name: 'users', schema: 'user' })
294
+ ], User);
295
+ //# sourceMappingURL=user.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/database/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAqF;AACrF,+CAA2C;AAC3C,2DAAiD;AACjD,yDAA8C;AAC9C,6EAAiE;AACjE,yFAA6E;AAC7E,mGAAsF;AACtF,uEAA4D;AAC5D,+CAAqC;AACrC,+EAAmE;AACnE,2DAAgD;AAChD,2EAAgE;AAChE,iDAAuC;AACvC,2DAAgD;AAChD,yDAA+C;AAC/C,qEAA0D;AAC1D,mDAAyC;AACzC,6DAAwD;AACxD,yDAA8C;AAC9C,+DAAoD;AACpD,2EAA+D;AAC/D,uDAA6C;AAC7C,+DAAoD;AACpD,qDAA2C;AAC3C,qDAA2C;AAGpC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,wBAAU;IAElC,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,QAAQ,CAAS;IAGjB,QAAQ,CAAS;IAGjB,QAAQ,CAAS;IAGjB,WAAW,CAAS;IAGpB,WAAW,CAAS;IAGpB,YAAY,CAAS;IAGrB,cAAc,CAAS;IAGvB,SAAS,CAAM;IAGf,MAAM,CAAS;IAGf,cAAc,CAAS;IAGvB,YAAY,CAAS;IAGrB,UAAU,CAAS;IAGnB,iBAAiB,CAAO;IAGxB,QAAQ,CAAU;IAGlB,UAAU,CAAU;IAGpB,UAAU,CAAS;IAGnB,QAAQ,CAAS;IAGjB,WAAW,CAAS;IAGpB,cAAc,CAAS;IAGvB,kBAAkB,CAAU;IAI5B,UAAU,CAAa;IAGvB,UAAU,CAAa;IAOvB,mBAAmB,CAAsB;IAOzC,yBAAyB,CAA4B;IAOrD,8BAA8B,CAAgC;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C,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;;8CAC9B;AAG5B;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC;;+CACtC;AAM7B;IAJC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,4CAAgB,EACtB,CAAC,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAC5C;;yCAC+B;AAGhC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0BAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;;4CAC5B;AAG3B;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAW,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC;;0CACpC;eAlLjB,IAAI;IADhB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC7B,IAAI,CAmLhB"}
@@ -0,0 +1,16 @@
1
+ import { BaseEntity } from './base.entity';
2
+ export declare class ZohoBooksConnection extends BaseEntity {
3
+ organizationId: number;
4
+ organizationZohoId: string;
5
+ accessToken: string;
6
+ refreshToken: string;
7
+ tokenExpiresAt: Date;
8
+ scope: string[];
9
+ isActive: boolean;
10
+ lastSyncAt: Date;
11
+ companyName: string;
12
+ environment: 'sandbox' | 'production';
13
+ dataCenter: string;
14
+ apiDomain: string;
15
+ }
16
+ //# sourceMappingURL=zohobooks-connection.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zohobooks-connection.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/zohobooks-connection.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBACa,mBAAoB,SAAQ,UAAU;IAEjD,cAAc,EAAE,MAAM,CAAC;IAGvB,kBAAkB,EAAE,MAAM,CAAC;IAG3B,WAAW,EAAE,MAAM,CAAC;IAGpB,YAAY,EAAE,MAAM,CAAC;IAGrB,cAAc,EAAE,IAAI,CAAC;IAGrB,KAAK,EAAE,MAAM,EAAE,CAAC;IAGhB,QAAQ,EAAE,OAAO,CAAC;IAGlB,UAAU,EAAE,IAAI,CAAC;IAGjB,WAAW,EAAE,MAAM,CAAC;IAGpB,WAAW,EAAE,SAAS,GAAG,YAAY,CAAC;IAGtC,UAAU,EAAE,MAAM,CAAC;IAGnB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,81 @@
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.ZohoBooksConnection = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const base_entity_1 = require("./base.entity");
15
+ let ZohoBooksConnection = class ZohoBooksConnection extends base_entity_1.BaseEntity {
16
+ organizationId;
17
+ organizationZohoId;
18
+ accessToken;
19
+ refreshToken;
20
+ tokenExpiresAt;
21
+ scope;
22
+ isActive;
23
+ lastSyncAt;
24
+ companyName;
25
+ environment;
26
+ dataCenter;
27
+ apiDomain;
28
+ };
29
+ exports.ZohoBooksConnection = ZohoBooksConnection;
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ type: 'int', name: 'organization_id', nullable: true }),
32
+ __metadata("design:type", Number)
33
+ ], ZohoBooksConnection.prototype, "organizationId", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, name: 'organization_zoho_id', unique: true }),
36
+ __metadata("design:type", String)
37
+ ], ZohoBooksConnection.prototype, "organizationZohoId", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ type: 'text', name: 'access_token' }),
40
+ __metadata("design:type", String)
41
+ ], ZohoBooksConnection.prototype, "accessToken", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: 'text', name: 'refresh_token' }),
44
+ __metadata("design:type", String)
45
+ ], ZohoBooksConnection.prototype, "refreshToken", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ type: 'timestamp', name: 'token_expires_at' }),
48
+ __metadata("design:type", Date)
49
+ ], ZohoBooksConnection.prototype, "tokenExpiresAt", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: 'jsonb', name: 'scope', nullable: true }),
52
+ __metadata("design:type", Array)
53
+ ], ZohoBooksConnection.prototype, "scope", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ type: 'boolean', name: 'is_active', default: true }),
56
+ __metadata("design:type", Boolean)
57
+ ], ZohoBooksConnection.prototype, "isActive", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({ type: 'timestamp', name: 'last_sync_at', nullable: true }),
60
+ __metadata("design:type", Date)
61
+ ], ZohoBooksConnection.prototype, "lastSyncAt", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, name: 'company_name', nullable: true }),
64
+ __metadata("design:type", String)
65
+ ], ZohoBooksConnection.prototype, "companyName", void 0);
66
+ __decorate([
67
+ (0, typeorm_1.Column)({ type: 'varchar', length: 50, name: 'environment', default: 'production' }),
68
+ __metadata("design:type", String)
69
+ ], ZohoBooksConnection.prototype, "environment", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.Column)({ type: 'varchar', length: 10, name: 'data_center', default: 'com' }),
72
+ __metadata("design:type", String)
73
+ ], ZohoBooksConnection.prototype, "dataCenter", void 0);
74
+ __decorate([
75
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, name: 'api_domain', nullable: true }),
76
+ __metadata("design:type", String)
77
+ ], ZohoBooksConnection.prototype, "apiDomain", void 0);
78
+ exports.ZohoBooksConnection = ZohoBooksConnection = __decorate([
79
+ (0, typeorm_1.Entity)({ name: 'zohobooks_connections', schema: 'core' })
80
+ ], ZohoBooksConnection);
81
+ //# sourceMappingURL=zohobooks-connection.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zohobooks-connection.entity.js","sourceRoot":"","sources":["../../../src/database/entities/zohobooks-connection.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,+CAA2C;AAGpC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,wBAAU;IAEjD,cAAc,CAAS;IAGvB,kBAAkB,CAAS;IAG3B,WAAW,CAAS;IAGpB,YAAY,CAAS;IAGrB,cAAc,CAAO;IAGrB,KAAK,CAAW;IAGhB,QAAQ,CAAU;IAGlB,UAAU,CAAO;IAGjB,WAAW,CAAS;IAGpB,WAAW,CAA2B;IAGtC,UAAU,CAAS;IAGnB,SAAS,CAAS;CACnB,CAAA;AApCY,kDAAmB;AAE9B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DAC1C;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,sBAAsB,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;+DAC1D;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,c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nCP,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC7C,mBAAmB,CAoC/B"}
@@ -0,0 +1,35 @@
1
+ import { BaseEntity } from './base.entity';
2
+ export declare enum ZBEntityType {
3
+ CLIENT = "client",
4
+ INVOICE = "invoice",
5
+ PAYMENT = "payment",
6
+ CREDIT_NOTE = "credit_note"
7
+ }
8
+ export declare enum ZBSyncAction {
9
+ CREATE = "create",
10
+ UPDATE = "update",
11
+ DELETE = "delete"
12
+ }
13
+ export declare enum ZBSyncDirection {
14
+ TO_ZB = "to_zb",
15
+ FROM_ZB = "from_zb"
16
+ }
17
+ export declare enum ZBSyncStatus {
18
+ PENDING = "pending",
19
+ SUCCESS = "success",
20
+ FAILED = "failed"
21
+ }
22
+ export declare class ZohoBooksSyncLog extends BaseEntity {
23
+ entityType: ZBEntityType;
24
+ entityId: number;
25
+ action: ZBSyncAction;
26
+ direction: ZBSyncDirection;
27
+ status: ZBSyncStatus;
28
+ errorMessage: string;
29
+ retryCount: number;
30
+ zohobooksId: string;
31
+ syncedAt: Date | null;
32
+ requestPayload: any;
33
+ responsePayload: any;
34
+ }
35
+ //# sourceMappingURL=zohobooks-sync-log.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zohobooks-sync-log.entity.d.ts","sourceRoot":"","sources":["../../../src/database/entities/zohobooks-sync-log.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,oBAAY,eAAe;IACzB,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,qBACa,gBAAiB,SAAQ,UAAU;IAM9C,UAAU,EAAE,YAAY,CAAC;IAGzB,QAAQ,EAAE,MAAM,CAAC;IAOjB,MAAM,EAAE,YAAY,CAAC;IAOrB,SAAS,EAAE,eAAe,CAAC;IAQ3B,MAAM,EAAE,YAAY,CAAC;IAGrB,YAAY,EAAE,MAAM,CAAC;IAGrB,UAAU,EAAE,MAAM,CAAC;IAGnB,WAAW,EAAE,MAAM,CAAC;IAGpB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IAGtB,cAAc,EAAE,GAAG,CAAC;IAGpB,eAAe,EAAE,GAAG,CAAC;CACtB"}
@@ -0,0 +1,117 @@
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.ZohoBooksSyncLog = exports.ZBSyncStatus = exports.ZBSyncDirection = exports.ZBSyncAction = exports.ZBEntityType = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const base_entity_1 = require("./base.entity");
15
+ var ZBEntityType;
16
+ (function (ZBEntityType) {
17
+ ZBEntityType["CLIENT"] = "client";
18
+ ZBEntityType["INVOICE"] = "invoice";
19
+ ZBEntityType["PAYMENT"] = "payment";
20
+ ZBEntityType["CREDIT_NOTE"] = "credit_note";
21
+ })(ZBEntityType || (exports.ZBEntityType = ZBEntityType = {}));
22
+ var ZBSyncAction;
23
+ (function (ZBSyncAction) {
24
+ ZBSyncAction["CREATE"] = "create";
25
+ ZBSyncAction["UPDATE"] = "update";
26
+ ZBSyncAction["DELETE"] = "delete";
27
+ })(ZBSyncAction || (exports.ZBSyncAction = ZBSyncAction = {}));
28
+ var ZBSyncDirection;
29
+ (function (ZBSyncDirection) {
30
+ ZBSyncDirection["TO_ZB"] = "to_zb";
31
+ ZBSyncDirection["FROM_ZB"] = "from_zb";
32
+ })(ZBSyncDirection || (exports.ZBSyncDirection = ZBSyncDirection = {}));
33
+ var ZBSyncStatus;
34
+ (function (ZBSyncStatus) {
35
+ ZBSyncStatus["PENDING"] = "pending";
36
+ ZBSyncStatus["SUCCESS"] = "success";
37
+ ZBSyncStatus["FAILED"] = "failed";
38
+ })(ZBSyncStatus || (exports.ZBSyncStatus = ZBSyncStatus = {}));
39
+ let ZohoBooksSyncLog = class ZohoBooksSyncLog extends base_entity_1.BaseEntity {
40
+ entityType;
41
+ entityId;
42
+ action;
43
+ direction;
44
+ status;
45
+ errorMessage;
46
+ retryCount;
47
+ zohobooksId;
48
+ syncedAt;
49
+ requestPayload;
50
+ responsePayload;
51
+ };
52
+ exports.ZohoBooksSyncLog = ZohoBooksSyncLog;
53
+ __decorate([
54
+ (0, typeorm_1.Column)({
55
+ type: 'enum',
56
+ enum: ZBEntityType,
57
+ name: 'entity_type',
58
+ }),
59
+ __metadata("design:type", String)
60
+ ], ZohoBooksSyncLog.prototype, "entityType", void 0);
61
+ __decorate([
62
+ (0, typeorm_1.Column)({ type: 'int', name: 'entity_id' }),
63
+ __metadata("design:type", Number)
64
+ ], ZohoBooksSyncLog.prototype, "entityId", void 0);
65
+ __decorate([
66
+ (0, typeorm_1.Column)({
67
+ type: 'enum',
68
+ enum: ZBSyncAction,
69
+ name: 'action',
70
+ }),
71
+ __metadata("design:type", String)
72
+ ], ZohoBooksSyncLog.prototype, "action", void 0);
73
+ __decorate([
74
+ (0, typeorm_1.Column)({
75
+ type: 'enum',
76
+ enum: ZBSyncDirection,
77
+ name: 'direction',
78
+ }),
79
+ __metadata("design:type", String)
80
+ ], ZohoBooksSyncLog.prototype, "direction", void 0);
81
+ __decorate([
82
+ (0, typeorm_1.Column)({
83
+ type: 'enum',
84
+ enum: ZBSyncStatus,
85
+ name: 'status',
86
+ default: ZBSyncStatus.PENDING,
87
+ }),
88
+ __metadata("design:type", String)
89
+ ], ZohoBooksSyncLog.prototype, "status", void 0);
90
+ __decorate([
91
+ (0, typeorm_1.Column)({ type: 'text', name: 'error_message', nullable: true }),
92
+ __metadata("design:type", String)
93
+ ], ZohoBooksSyncLog.prototype, "errorMessage", void 0);
94
+ __decorate([
95
+ (0, typeorm_1.Column)({ type: 'int', name: 'retry_count', default: 0 }),
96
+ __metadata("design:type", Number)
97
+ ], ZohoBooksSyncLog.prototype, "retryCount", void 0);
98
+ __decorate([
99
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, name: 'zohobooks_id', nullable: true }),
100
+ __metadata("design:type", String)
101
+ ], ZohoBooksSyncLog.prototype, "zohobooksId", void 0);
102
+ __decorate([
103
+ (0, typeorm_1.Column)({ type: 'timestamp', name: 'synced_at', nullable: true }),
104
+ __metadata("design:type", Object)
105
+ ], ZohoBooksSyncLog.prototype, "syncedAt", void 0);
106
+ __decorate([
107
+ (0, typeorm_1.Column)({ type: 'jsonb', name: 'request_payload', nullable: true }),
108
+ __metadata("design:type", Object)
109
+ ], ZohoBooksSyncLog.prototype, "requestPayload", void 0);
110
+ __decorate([
111
+ (0, typeorm_1.Column)({ type: 'jsonb', name: 'response_payload', nullable: true }),
112
+ __metadata("design:type", Object)
113
+ ], ZohoBooksSyncLog.prototype, "responsePayload", void 0);
114
+ exports.ZohoBooksSyncLog = ZohoBooksSyncLog = __decorate([
115
+ (0, typeorm_1.Entity)({ name: 'zohobooks_sync_logs', schema: 'core' })
116
+ ], ZohoBooksSyncLog);
117
+ //# sourceMappingURL=zohobooks-sync-log.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zohobooks-sync-log.entity.js","sourceRoot":"","sources":["../../../src/database/entities/zohobooks-sync-log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,+CAA2C;AAE3C,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,2CAA2B,CAAA;AAC7B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;AACnB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,kCAAe,CAAA;IACf,sCAAmB,CAAA;AACrB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;AACnB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAGM,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wBAAU;IAM9C,UAAU,CAAe;IAGzB,QAAQ,CAAS;IAOjB,MAAM,CAAe;IAOrB,SAAS,CAAkB;IAQ3B,MAAM,CAAe;IAGrB,YAAY,CAAS;IAGrB,UAAU,CAAS;IAGnB,WAAW,CAAS;IAGpB,QAAQ,CAAc;IAGtB,cAAc,CAAM;IAGpB,eAAe,CAAM;CACtB,CAAA;AAlDY,4CAAgB;AAM3B;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,aAAa;KACpB,CAAC;;oDACuB;AAGzB;IADC,IAAA,gBAAM,EAAC,EA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AAI,EAAE,CAAC;;yDAC/C;2BAjDV,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GAC3C,gBAAgB,CAkD5B"}
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/database/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -0,0 +1,18 @@
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("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/database/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -0,0 +1,7 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+ export declare class InitialMigration1770794314727 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
7
+ //# sourceMappingURL=1770794314727-initialMigration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1770794314727-initialMigration.d.ts","sourceRoot":"","sources":["../../../src/database/migrations/1770794314727-initialMigration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,6BAA8B,YAAW,kBAAkB;IACpE,IAAI,SAAkC;IAEzB,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA0O3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CA0O7D"}