@intelact/driveup 1.5.0 → 1.5.2

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 (596) hide show
  1. package/lib/agent/asset.type.d.ts +5 -0
  2. package/lib/agent/asset.type.js +10 -0
  3. package/lib/agent/asset.type.js.map +1 -0
  4. package/lib/agent/earning.type.d.ts +6 -0
  5. package/lib/agent/earning.type.js +3 -0
  6. package/lib/agent/earning.type.js.map +1 -0
  7. package/lib/agent/payout.model.d.ts +11 -0
  8. package/lib/agent/payout.model.js +59 -0
  9. package/lib/agent/payout.model.js.map +1 -0
  10. package/lib/alert/alert.content.d.ts +4 -0
  11. package/lib/alert/alert.content.js +9 -0
  12. package/lib/alert/alert.content.js.map +1 -0
  13. package/lib/auth/biometric.dto.d.ts +3 -0
  14. package/lib/auth/biometric.dto.js +25 -0
  15. package/lib/auth/biometric.dto.js.map +1 -0
  16. package/lib/bill/bill-item.type.d.ts +5 -0
  17. package/lib/bill/bill-item.type.js +10 -0
  18. package/lib/bill/bill-item.type.js.map +1 -0
  19. package/lib/bill/bill.status.d.ts +5 -0
  20. package/lib/bill/bill.status.js +13 -0
  21. package/lib/bill/bill.status.js.map +1 -0
  22. package/lib/calendar/appointment.d.ts +1 -0
  23. package/lib/calendar/appointment.js +6 -0
  24. package/lib/calendar/appointment.js.map +1 -1
  25. package/lib/calendar/link.d.ts +4 -0
  26. package/lib/calendar/link.js +9 -0
  27. package/lib/calendar/link.js.map +1 -0
  28. package/lib/calendar/types.d.ts +19 -0
  29. package/lib/calendar/types.js +25 -0
  30. package/lib/calendar/types.js.map +1 -0
  31. package/lib/common/appointment.model.d.ts +13 -0
  32. package/lib/common/appointment.model.js +79 -0
  33. package/lib/common/appointment.model.js.map +1 -0
  34. package/lib/common/context.d.ts +6 -0
  35. package/lib/common/context.js +11 -0
  36. package/lib/common/context.js.map +1 -0
  37. package/lib/common/date.d.ts +9 -0
  38. package/lib/common/date.enum.d.ts +9 -0
  39. package/lib/common/date.enum.js +14 -0
  40. package/lib/common/date.enum.js.map +1 -0
  41. package/lib/common/date.js +14 -0
  42. package/lib/common/date.js.map +1 -0
  43. package/lib/common/general.dto.d.ts +70 -0
  44. package/lib/common/general.dto.js +302 -0
  45. package/lib/common/general.dto.js.map +1 -0
  46. package/lib/common/index.d.ts +1 -0
  47. package/lib/common/index.js +1 -0
  48. package/lib/common/index.js.map +1 -1
  49. package/lib/common/notification.enum.d.ts +11 -0
  50. package/lib/common/notification.enum.js +17 -0
  51. package/lib/common/notification.enum.js.map +1 -0
  52. package/lib/common/person.d.ts +16 -0
  53. package/lib/common/person.js +60 -0
  54. package/lib/common/person.js.map +1 -0
  55. package/lib/company/account.status.enum.d.ts +8 -0
  56. package/lib/company/account.status.enum.js +13 -0
  57. package/lib/company/account.status.enum.js.map +1 -0
  58. package/lib/company/common/appointment.type.enum.d.ts +4 -0
  59. package/lib/company/common/appointment.type.enum.js +9 -0
  60. package/lib/company/common/appointment.type.enum.js.map +1 -0
  61. package/lib/company/common/general.dto.d.ts +46 -0
  62. package/lib/company/common/general.dto.js +182 -0
  63. package/lib/company/common/general.dto.js.map +1 -0
  64. package/lib/company/common/index.d.ts +4 -0
  65. package/lib/company/common/index.js +21 -0
  66. package/lib/company/common/index.js.map +1 -0
  67. package/lib/company/common/request.status.enum.d.ts +6 -0
  68. package/lib/company/common/request.status.enum.js +11 -0
  69. package/lib/company/common/request.status.enum.js.map +1 -0
  70. package/lib/company/common/setting.enum.d.ts +7 -0
  71. package/lib/company/common/setting.enum.js +12 -0
  72. package/lib/company/common/setting.enum.js.map +1 -0
  73. package/lib/company/common/training.status.enum.d.ts +11 -0
  74. package/lib/company/common/training.status.enum.js +17 -0
  75. package/lib/company/common/training.status.enum.js.map +1 -0
  76. package/lib/company/course/appointment.model.d.ts +10 -0
  77. package/lib/company/course/appointment.model.js +43 -0
  78. package/lib/company/course/appointment.model.js.map +1 -0
  79. package/lib/company/course/course.enum.d.ts +15 -0
  80. package/lib/company/course/course.enum.js +22 -0
  81. package/lib/company/course/course.enum.js.map +1 -0
  82. package/lib/company/course/course.model.d.ts +17 -0
  83. package/lib/company/course/course.model.js +94 -0
  84. package/lib/company/course/course.model.js.map +1 -0
  85. package/lib/company/course/definition.model.d.ts +11 -0
  86. package/lib/company/course/definition.model.js +57 -0
  87. package/lib/company/course/definition.model.js.map +1 -0
  88. package/lib/company/course/finances/discount.model.d.ts +8 -0
  89. package/lib/company/course/finances/discount.model.js +44 -0
  90. package/lib/company/course/finances/discount.model.js.map +1 -0
  91. package/lib/company/course/finances/index.d.ts +5 -0
  92. package/lib/company/course/finances/index.js +22 -0
  93. package/lib/company/course/finances/index.js.map +1 -0
  94. package/lib/company/course/finances/invoice-item.model.d.ts +7 -0
  95. package/lib/company/course/finances/invoice-item.model.js +43 -0
  96. package/lib/company/course/finances/invoice-item.model.js.map +1 -0
  97. package/lib/company/course/finances/invoice.model.d.ts +15 -0
  98. package/lib/company/course/finances/invoice.model.js +77 -0
  99. package/lib/company/course/finances/invoice.model.js.map +1 -0
  100. package/lib/company/course/finances/payment.model.d.ts +13 -0
  101. package/lib/company/course/finances/payment.model.js +68 -0
  102. package/lib/company/course/finances/payment.model.js.map +1 -0
  103. package/lib/company/course/finances/refund.model.d.ts +8 -0
  104. package/lib/company/course/finances/refund.model.js +44 -0
  105. package/lib/company/course/finances/refund.model.js.map +1 -0
  106. package/lib/company/course/index.d.ts +6 -0
  107. package/lib/company/course/index.js +23 -0
  108. package/lib/company/course/index.js.map +1 -0
  109. package/lib/company/course/part.model.d.ts +10 -0
  110. package/lib/company/course/part.model.js +56 -0
  111. package/lib/company/course/part.model.js.map +1 -0
  112. package/lib/company/driving/appointment.type.enum.d.ts +4 -0
  113. package/lib/company/driving/appointment.type.enum.js +9 -0
  114. package/lib/company/driving/appointment.type.enum.js.map +1 -0
  115. package/lib/company/driving/category.model.d.ts +18 -0
  116. package/lib/company/driving/category.model.js +100 -0
  117. package/lib/company/driving/category.model.js.map +1 -0
  118. package/lib/company/driving/dto.d.ts +5 -0
  119. package/lib/company/driving/dto.js +38 -0
  120. package/lib/company/driving/dto.js.map +1 -0
  121. package/lib/company/driving/exam.enum.d.ts +5 -0
  122. package/lib/company/driving/exam.enum.js +10 -0
  123. package/lib/company/driving/exam.enum.js.map +1 -0
  124. package/lib/company/driving/exam.status.enum.d.ts +5 -0
  125. package/lib/company/driving/exam.status.enum.js +10 -0
  126. package/lib/company/driving/exam.status.enum.js.map +1 -0
  127. package/lib/company/driving/finances/discount.model.d.ts +8 -0
  128. package/lib/company/driving/finances/discount.model.js +44 -0
  129. package/lib/company/driving/finances/discount.model.js.map +1 -0
  130. package/lib/company/driving/finances/index.d.ts +5 -0
  131. package/lib/company/driving/finances/index.js +22 -0
  132. package/lib/company/driving/finances/index.js.map +1 -0
  133. package/lib/company/driving/finances/invoice-item.model.d.ts +7 -0
  134. package/lib/company/driving/finances/invoice-item.model.js +43 -0
  135. package/lib/company/driving/finances/invoice-item.model.js.map +1 -0
  136. package/lib/company/driving/finances/invoice.model.d.ts +14 -0
  137. package/lib/company/driving/finances/invoice.model.js +71 -0
  138. package/lib/company/driving/finances/invoice.model.js.map +1 -0
  139. package/lib/company/driving/finances/payment.model.d.ts +13 -0
  140. package/lib/company/driving/finances/payment.model.js +68 -0
  141. package/lib/company/driving/finances/payment.model.js.map +1 -0
  142. package/lib/company/driving/finances/refund.model.d.ts +8 -0
  143. package/lib/company/driving/finances/refund.model.js +44 -0
  144. package/lib/company/driving/finances/refund.model.js.map +1 -0
  145. package/lib/company/driving/index.d.ts +9 -0
  146. package/lib/company/driving/index.js +26 -0
  147. package/lib/company/driving/index.js.map +1 -0
  148. package/lib/company/driving/score.enum.d.ts +12 -0
  149. package/lib/company/driving/score.enum.js +18 -0
  150. package/lib/company/driving/score.enum.js.map +1 -0
  151. package/lib/company/driving/skill.model.d.ts +8 -0
  152. package/lib/company/driving/skill.model.js +47 -0
  153. package/lib/company/driving/skill.model.js.map +1 -0
  154. package/lib/company/driving/status.enum.d.ts +5 -0
  155. package/lib/company/driving/status.enum.js +10 -0
  156. package/lib/company/driving/status.enum.js.map +1 -0
  157. package/lib/company/driving/topic.model.d.ts +10 -0
  158. package/lib/company/driving/topic.model.js +54 -0
  159. package/lib/company/driving/topic.model.js.map +1 -0
  160. package/lib/company/driving/transmission.enum.d.ts +4 -0
  161. package/lib/company/driving/transmission.enum.js +9 -0
  162. package/lib/company/driving/transmission.enum.js.map +1 -0
  163. package/lib/company/event.model.d.ts +8 -0
  164. package/lib/company/event.model.js +49 -0
  165. package/lib/company/event.model.js.map +1 -0
  166. package/lib/company/finances/card.model.d.ts +10 -0
  167. package/lib/company/finances/card.model.js +55 -0
  168. package/lib/company/finances/card.model.js.map +1 -0
  169. package/lib/company/finances/credit.model.d.ts +9 -0
  170. package/lib/company/finances/credit.model.js +50 -0
  171. package/lib/company/finances/credit.model.js.map +1 -0
  172. package/lib/company/finances/expense-category.model.d.ts +5 -0
  173. package/lib/company/finances/expense-category.model.js +31 -0
  174. package/lib/company/finances/expense-category.model.js.map +1 -0
  175. package/lib/company/finances/expense.model.d.ts +11 -0
  176. package/lib/company/finances/expense.model.js +55 -0
  177. package/lib/company/finances/expense.model.js.map +1 -0
  178. package/lib/company/finances/finance.enum.d.ts +22 -0
  179. package/lib/company/finances/finance.enum.js +31 -0
  180. package/lib/company/finances/finance.enum.js.map +1 -0
  181. package/lib/company/finances/index.d.ts +5 -0
  182. package/lib/company/finances/index.js +22 -0
  183. package/lib/company/finances/index.js.map +1 -0
  184. package/lib/company/finances/payment.model.d.ts +7 -0
  185. package/lib/company/finances/payment.model.js +39 -0
  186. package/lib/company/finances/payment.model.js.map +1 -0
  187. package/lib/company/finances/priceplan.model.d.ts +19 -0
  188. package/lib/company/finances/priceplan.model.js +95 -0
  189. package/lib/company/finances/priceplan.model.js.map +1 -0
  190. package/lib/company/plan/index.d.ts +2 -0
  191. package/lib/company/plan/index.js +19 -0
  192. package/lib/company/plan/index.js.map +1 -0
  193. package/lib/company/plan/plan.enum.d.ts +9 -0
  194. package/lib/company/plan/plan.enum.js +15 -0
  195. package/lib/company/plan/plan.enum.js.map +1 -0
  196. package/lib/company/plan/plan.model.d.ts +16 -0
  197. package/lib/company/plan/plan.model.js +87 -0
  198. package/lib/company/plan/plan.model.js.map +1 -0
  199. package/lib/company/plan.enum.d.ts +9 -0
  200. package/lib/company/plan.enum.js +15 -0
  201. package/lib/company/plan.enum.js.map +1 -0
  202. package/lib/company/priceplan.model.d.ts +16 -0
  203. package/lib/company/priceplan.model.js +87 -0
  204. package/lib/company/priceplan.model.js.map +1 -0
  205. package/lib/company/setting.model.d.ts +10 -0
  206. package/lib/company/setting.model.js +52 -0
  207. package/lib/company/setting.model.js.map +1 -0
  208. package/lib/company/student/index.d.ts +1 -0
  209. package/lib/company/student/index.js +18 -0
  210. package/lib/company/student/index.js.map +1 -0
  211. package/lib/company/student/student.model.d.ts +10 -0
  212. package/lib/company/student/student.model.js +43 -0
  213. package/lib/company/student/student.model.js.map +1 -0
  214. package/lib/company/team/index.d.ts +2 -0
  215. package/lib/company/team/index.js +19 -0
  216. package/lib/company/team/index.js.map +1 -0
  217. package/lib/company/team/team.dto.d.ts +6 -0
  218. package/lib/company/team/team.dto.js +39 -0
  219. package/lib/company/team/team.dto.js.map +1 -0
  220. package/lib/company/team/user.model.d.ts +33 -0
  221. package/lib/company/team/user.model.js +104 -0
  222. package/lib/company/team/user.model.js.map +1 -0
  223. package/lib/company/team/user.status.enum.d.ts +5 -0
  224. package/lib/company/team/user.status.enum.js +10 -0
  225. package/lib/company/team/user.status.enum.js.map +1 -0
  226. package/lib/company/user.model.d.ts +25 -0
  227. package/lib/company/user.model.js +124 -0
  228. package/lib/company/user.model.js.map +1 -0
  229. package/lib/course/types.d.ts +15 -0
  230. package/lib/course/types.js +22 -0
  231. package/lib/course/types.js.map +1 -0
  232. package/lib/driving/lesson/types.d.ts +15 -0
  233. package/lib/driving/lesson/types.js +21 -0
  234. package/lib/driving/lesson/types.js.map +1 -0
  235. package/lib/driving/types.d.ts +9 -0
  236. package/lib/driving/types.js +15 -0
  237. package/lib/driving/types.js.map +1 -0
  238. package/lib/enums/date.d.ts +9 -0
  239. package/lib/enums/date.js +14 -0
  240. package/lib/enums/date.js.map +1 -0
  241. package/lib/enums/finance.d.ts +22 -0
  242. package/lib/enums/finance.js +31 -0
  243. package/lib/enums/finance.js.map +1 -0
  244. package/lib/enums/index.d.ts +1 -0
  245. package/lib/enums/index.js +14 -0
  246. package/lib/enums/index.js.map +1 -0
  247. package/lib/enums/language.d.ts +6 -0
  248. package/lib/enums/language.js +11 -0
  249. package/lib/enums/language.js.map +1 -0
  250. package/lib/enums/notification.d.ts +11 -0
  251. package/lib/enums/notification.js +17 -0
  252. package/lib/enums/notification.js.map +1 -0
  253. package/lib/enums/plan.d.ts +9 -0
  254. package/lib/enums/plan.js +15 -0
  255. package/lib/enums/plan.js.map +1 -0
  256. package/lib/enums/role.d.ts +6 -0
  257. package/lib/enums/role.js +11 -0
  258. package/lib/enums/role.js.map +1 -0
  259. package/lib/enums/score.d.ts +12 -0
  260. package/lib/enums/score.js +18 -0
  261. package/lib/enums/score.js.map +1 -0
  262. package/lib/enums/training.d.ts +19 -0
  263. package/lib/enums/training.js +27 -0
  264. package/lib/enums/training.js.map +1 -0
  265. package/lib/events/agent/account.events.d.ts +27 -0
  266. package/lib/events/agent/account.events.js +32 -0
  267. package/lib/events/agent/account.events.js.map +1 -0
  268. package/lib/events/agent/payout.events.d.ts +29 -0
  269. package/lib/events/agent/payout.events.js +34 -0
  270. package/lib/events/agent/payout.events.js.map +1 -0
  271. package/lib/events/agent/profile.events.d.ts +18 -0
  272. package/lib/events/agent/profile.events.js +23 -0
  273. package/lib/events/agent/profile.events.js.map +1 -0
  274. package/lib/events/agent/promotion.events.d.ts +42 -0
  275. package/lib/events/agent/promotion.events.js +47 -0
  276. package/lib/events/agent/promotion.events.js.map +1 -0
  277. package/lib/events/auth/auth.events.d.ts +16 -0
  278. package/lib/events/auth/auth.events.js +21 -0
  279. package/lib/events/auth/auth.events.js.map +1 -0
  280. package/lib/events/auth/token.events.d.ts +23 -0
  281. package/lib/events/auth/token.events.js +28 -0
  282. package/lib/events/auth/token.events.js.map +1 -0
  283. package/lib/events/auth/verify.events.d.ts +17 -0
  284. package/lib/events/auth/verify.events.js +22 -0
  285. package/lib/events/auth/verify.events.js.map +1 -0
  286. package/lib/events/company/account/account.events.d.ts +64 -0
  287. package/lib/events/company/account/account.events.js +69 -0
  288. package/lib/events/company/account/account.events.js.map +1 -0
  289. package/lib/events/company/account/profile.events.d.ts +169 -0
  290. package/lib/events/company/account/profile.events.js +174 -0
  291. package/lib/events/company/account/profile.events.js.map +1 -0
  292. package/lib/events/company/course/appointment.events.d.ts +56 -0
  293. package/lib/events/company/course/appointment.events.js +61 -0
  294. package/lib/events/company/course/appointment.events.js.map +1 -0
  295. package/lib/events/company/course/course.events.d.ts +118 -0
  296. package/lib/events/company/course/course.events.js +123 -0
  297. package/lib/events/company/course/course.events.js.map +1 -0
  298. package/lib/events/company/course/lesson.events.d.ts +56 -0
  299. package/lib/events/company/course/lesson.events.js +61 -0
  300. package/lib/events/company/course/lesson.events.js.map +1 -0
  301. package/lib/events/company/course/topic.events.d.ts +76 -0
  302. package/lib/events/company/course/topic.events.js +81 -0
  303. package/lib/events/company/course/topic.events.js.map +1 -0
  304. package/lib/events/company/product/addon.events.d.ts +34 -0
  305. package/lib/events/company/product/addon.events.js +39 -0
  306. package/lib/events/company/product/addon.events.js.map +1 -0
  307. package/lib/events/company/product/campaign.events.d.ts +13 -0
  308. package/lib/events/company/product/campaign.events.js +18 -0
  309. package/lib/events/company/product/campaign.events.js.map +1 -0
  310. package/lib/events/company/product/product.events.d.ts +54 -0
  311. package/lib/events/company/product/product.events.js +59 -0
  312. package/lib/events/company/product/product.events.js.map +1 -0
  313. package/lib/events/index.d.ts +25 -0
  314. package/lib/events/index.js +42 -0
  315. package/lib/events/index.js.map +1 -0
  316. package/lib/events/instructor/account/account.events.d.ts +123 -0
  317. package/lib/events/instructor/account/account.events.js +128 -0
  318. package/lib/events/instructor/account/account.events.js.map +1 -0
  319. package/lib/events/instructor/account/profile.events.d.ts +31 -0
  320. package/lib/events/instructor/account/profile.events.js +36 -0
  321. package/lib/events/instructor/account/profile.events.js.map +1 -0
  322. package/lib/events/instructor/task/task.events.d.ts +24 -0
  323. package/lib/events/instructor/task/task.events.js +29 -0
  324. package/lib/events/instructor/task/task.events.js.map +1 -0
  325. package/lib/events/student/account/account.events.d.ts +36 -0
  326. package/lib/events/student/account/account.events.js +41 -0
  327. package/lib/events/student/account/account.events.js.map +1 -0
  328. package/lib/events/user/account.events.d.ts +84 -0
  329. package/lib/events/user/account.events.js +89 -0
  330. package/lib/events/user/account.events.js.map +1 -0
  331. package/lib/events/user/alert.events.d.ts +16 -0
  332. package/lib/events/user/alert.events.js +21 -0
  333. package/lib/events/user/alert.events.js.map +1 -0
  334. package/lib/events/user/device.events.d.ts +30 -0
  335. package/lib/events/user/device.events.js +35 -0
  336. package/lib/events/user/device.events.js.map +1 -0
  337. package/lib/events/user/notification.events.d.ts +30 -0
  338. package/lib/events/user/notification.events.js +35 -0
  339. package/lib/events/user/notification.events.js.map +1 -0
  340. package/lib/events/user/profile.events.d.ts +60 -0
  341. package/lib/events/user/profile.events.js +65 -0
  342. package/lib/events/user/profile.events.js.map +1 -0
  343. package/lib/expense/expense.types.d.ts +5 -0
  344. package/lib/expense/expense.types.js +10 -0
  345. package/lib/expense/expense.types.js.map +1 -0
  346. package/lib/finance/finance.type.d.ts +21 -0
  347. package/lib/finance/finance.type.js +21 -0
  348. package/lib/finance/finance.type.js.map +1 -0
  349. package/lib/finance/handover.dto.d.ts +6 -0
  350. package/lib/finance/handover.dto.js +45 -0
  351. package/lib/finance/handover.dto.js.map +1 -0
  352. package/lib/finance/handover.model.d.ts +13 -0
  353. package/lib/finance/handover.model.js +65 -0
  354. package/lib/finance/handover.model.js.map +1 -0
  355. package/lib/free-benefit/free-benefit.type.d.ts +4 -0
  356. package/lib/free-benefit/free-benefit.type.js +9 -0
  357. package/lib/free-benefit/free-benefit.type.js.map +1 -0
  358. package/lib/handover/handover.document.d.ts +5 -0
  359. package/lib/handover/handover.document.js +3 -0
  360. package/lib/handover/handover.document.js.map +1 -0
  361. package/lib/index.d.ts +4 -1
  362. package/lib/index.js +4 -1
  363. package/lib/index.js.map +1 -1
  364. package/lib/invoice/invoice.types.d.ts +6 -0
  365. package/lib/invoice/invoice.types.js +11 -0
  366. package/lib/invoice/invoice.types.js.map +1 -0
  367. package/lib/language/index.d.ts +1 -0
  368. package/lib/language/index.js +18 -0
  369. package/lib/language/index.js.map +1 -0
  370. package/lib/language/language.enum.d.ts +6 -0
  371. package/lib/language/language.enum.js +11 -0
  372. package/lib/language/language.enum.js.map +1 -0
  373. package/lib/log/log.type.d.ts +9 -0
  374. package/lib/log/log.type.js +14 -0
  375. package/lib/log/log.type.js.map +1 -0
  376. package/lib/notification/notification-preference.model.d.ts +5 -0
  377. package/lib/notification/notification-preference.model.js +31 -0
  378. package/lib/notification/notification-preference.model.js.map +1 -0
  379. package/lib/notification/notification.channel.d.ts +6 -0
  380. package/lib/notification/notification.channel.js +11 -0
  381. package/lib/notification/notification.channel.js.map +1 -0
  382. package/lib/notification/notification.enum.d.ts +11 -0
  383. package/lib/notification/notification.enum.js +17 -0
  384. package/lib/notification/notification.enum.js.map +1 -0
  385. package/lib/notification/notification.types.d.ts +11 -0
  386. package/lib/notification/notification.types.js +17 -0
  387. package/lib/notification/notification.types.js.map +1 -0
  388. package/lib/payment/payment.types.d.ts +13 -0
  389. package/lib/payment/payment.types.js +20 -0
  390. package/lib/payment/payment.types.js.map +1 -0
  391. package/lib/payout/payout.types.d.ts +4 -0
  392. package/lib/payout/payout.types.js +9 -0
  393. package/lib/payout/payout.types.js.map +1 -0
  394. package/lib/priceplan/plan.enum.d.ts +23 -0
  395. package/lib/priceplan/plan.enum.js +29 -0
  396. package/lib/priceplan/plan.enum.js.map +1 -0
  397. package/lib/product/index.d.ts +3 -0
  398. package/lib/product/index.js +20 -0
  399. package/lib/product/index.js.map +1 -0
  400. package/lib/product/product.dto.d.ts +12 -0
  401. package/lib/product/product.dto.js +69 -0
  402. package/lib/product/product.dto.js.map +1 -0
  403. package/lib/product/product.model.d.ts +12 -0
  404. package/lib/product/product.model.js +61 -0
  405. package/lib/product/product.model.js.map +1 -0
  406. package/lib/product/product.type.d.ts +4 -0
  407. package/lib/product/product.type.js +9 -0
  408. package/lib/product/product.type.js.map +1 -0
  409. package/lib/public/user-agent.interface.d.ts +6 -0
  410. package/lib/public/user-agent.interface.js +3 -0
  411. package/lib/public/user-agent.interface.js.map +1 -0
  412. package/lib/security/account.types.d.ts +8 -0
  413. package/lib/security/account.types.js +13 -0
  414. package/lib/security/account.types.js.map +1 -0
  415. package/lib/security/acl.d.ts +6 -0
  416. package/lib/security/acl.js +11 -0
  417. package/lib/security/acl.js.map +1 -0
  418. package/lib/security/permissions.d.ts +9 -0
  419. package/lib/security/permissions.js +14 -0
  420. package/lib/security/permissions.js.map +1 -0
  421. package/lib/security/role.types.d.ts +41 -0
  422. package/lib/security/role.types.js +46 -0
  423. package/lib/security/role.types.js.map +1 -0
  424. package/lib/security/roles.d.ts +9 -0
  425. package/lib/security/roles.js +14 -0
  426. package/lib/security/roles.js.map +1 -0
  427. package/lib/security/token.interface.d.ts +7 -0
  428. package/lib/security/token.interface.js +3 -0
  429. package/lib/security/token.interface.js.map +1 -0
  430. package/lib/session/course/index.d.ts +1 -0
  431. package/lib/session/course/index.js +14 -0
  432. package/lib/session/course/index.js.map +1 -0
  433. package/lib/session/course/session.model.d.ts +8 -0
  434. package/lib/session/course/session.model.js +36 -0
  435. package/lib/session/course/session.model.js.map +1 -0
  436. package/lib/session/driving/appointment-assessment.d.ts +8 -0
  437. package/lib/session/driving/appointment-assessment.js +50 -0
  438. package/lib/session/driving/appointment-assessment.js.map +1 -0
  439. package/lib/setting/setting.type.d.ts +7 -0
  440. package/lib/setting/setting.type.js +12 -0
  441. package/lib/setting/setting.type.js.map +1 -0
  442. package/lib/student/course/appointment.model.d.ts +5 -0
  443. package/lib/student/course/appointment.model.js +32 -0
  444. package/lib/student/course/appointment.model.js.map +1 -0
  445. package/lib/student/course/index.d.ts +3 -0
  446. package/lib/student/course/index.js +20 -0
  447. package/lib/student/course/index.js.map +1 -0
  448. package/lib/student/course/request.model.d.ts +11 -0
  449. package/lib/student/course/request.model.js +62 -0
  450. package/lib/student/course/request.model.js.map +1 -0
  451. package/lib/student/course/training.model.d.ts +16 -0
  452. package/lib/student/course/training.model.js +92 -0
  453. package/lib/student/course/training.model.js.map +1 -0
  454. package/lib/student/driving/appointment-skill.model.d.ts +6 -0
  455. package/lib/student/driving/appointment-skill.model.js +32 -0
  456. package/lib/student/driving/appointment-skill.model.js.map +1 -0
  457. package/lib/student/driving/appointment-topic.model.d.ts +6 -0
  458. package/lib/student/driving/appointment-topic.model.js +32 -0
  459. package/lib/student/driving/appointment-topic.model.js.map +1 -0
  460. package/lib/student/driving/appointment.model.d.ts +12 -0
  461. package/lib/student/driving/appointment.model.js +67 -0
  462. package/lib/student/driving/appointment.model.js.map +1 -0
  463. package/lib/student/driving/exam/exam-topic-assesment.model.d.ts +8 -0
  464. package/lib/student/driving/exam/exam-topic-assesment.model.js +40 -0
  465. package/lib/student/driving/exam/exam-topic-assesment.model.js.map +1 -0
  466. package/lib/student/driving/exam/exam.model.d.ts +11 -0
  467. package/lib/student/driving/exam/exam.model.js +50 -0
  468. package/lib/student/driving/exam/exam.model.js.map +1 -0
  469. package/lib/student/driving/exam/index.d.ts +2 -0
  470. package/lib/student/driving/exam/index.js +19 -0
  471. package/lib/student/driving/exam/index.js.map +1 -0
  472. package/lib/student/driving/index.d.ts +8 -0
  473. package/lib/student/driving/index.js +25 -0
  474. package/lib/student/driving/index.js.map +1 -0
  475. package/lib/student/driving/request.model.d.ts +13 -0
  476. package/lib/student/driving/request.model.js +73 -0
  477. package/lib/student/driving/request.model.js.map +1 -0
  478. package/lib/student/driving/skill.model.d.ts +6 -0
  479. package/lib/student/driving/skill.model.js +32 -0
  480. package/lib/student/driving/skill.model.js.map +1 -0
  481. package/lib/student/driving/topic.model.d.ts +7 -0
  482. package/lib/student/driving/topic.model.js +38 -0
  483. package/lib/student/driving/topic.model.js.map +1 -0
  484. package/lib/student/driving/training.model.d.ts +23 -0
  485. package/lib/student/driving/training.model.js +131 -0
  486. package/lib/student/driving/training.model.js.map +1 -0
  487. package/lib/student/signature.model.d.ts +7 -0
  488. package/lib/student/signature.model.js +42 -0
  489. package/lib/student/signature.model.js.map +1 -0
  490. package/lib/support/index.d.ts +1 -0
  491. package/lib/support/index.js +18 -0
  492. package/lib/support/index.js.map +1 -0
  493. package/lib/support/request.dto.d.ts +5 -0
  494. package/lib/support/request.dto.js +39 -0
  495. package/lib/support/request.dto.js.map +1 -0
  496. package/lib/system/country.model.d.ts +15 -0
  497. package/lib/system/country.model.js +75 -0
  498. package/lib/system/country.model.js.map +1 -0
  499. package/lib/system/driving/category.model.d.ts +12 -0
  500. package/lib/system/driving/category.model.js +66 -0
  501. package/lib/system/driving/category.model.js.map +1 -0
  502. package/lib/system/driving/category.trans.model.d.ts +8 -0
  503. package/lib/system/driving/category.trans.model.js +42 -0
  504. package/lib/system/driving/category.trans.model.js.map +1 -0
  505. package/lib/system/driving/index.d.ts +6 -0
  506. package/lib/system/driving/index.js +23 -0
  507. package/lib/system/driving/index.js.map +1 -0
  508. package/lib/system/driving/skill.model.d.ts +11 -0
  509. package/lib/system/driving/skill.model.js +61 -0
  510. package/lib/system/driving/skill.model.js.map +1 -0
  511. package/lib/system/driving/skill.trans.model.d.ts +9 -0
  512. package/lib/system/driving/skill.trans.model.js +48 -0
  513. package/lib/system/driving/skill.trans.model.js.map +1 -0
  514. package/lib/system/driving/topic.model.d.ts +10 -0
  515. package/lib/system/driving/topic.model.js +55 -0
  516. package/lib/system/driving/topic.model.js.map +1 -0
  517. package/lib/system/driving/topic.trans.model.d.ts +8 -0
  518. package/lib/system/driving/topic.trans.model.js +42 -0
  519. package/lib/system/driving/topic.trans.model.js.map +1 -0
  520. package/lib/system/finances/currency.model.d.ts +9 -0
  521. package/lib/system/finances/currency.model.js +53 -0
  522. package/lib/system/finances/currency.model.js.map +1 -0
  523. package/lib/system/finances/index.d.ts +3 -0
  524. package/lib/system/finances/index.js +20 -0
  525. package/lib/system/finances/index.js.map +1 -0
  526. package/lib/system/finances/priceplan.model.d.ts +13 -0
  527. package/lib/system/finances/priceplan.model.js +67 -0
  528. package/lib/system/finances/priceplan.model.js.map +1 -0
  529. package/lib/system/finances/priceplan.translation.d.ts +8 -0
  530. package/lib/system/finances/priceplan.translation.js +42 -0
  531. package/lib/system/finances/priceplan.translation.js.map +1 -0
  532. package/lib/system/index.d.ts +3 -0
  533. package/lib/system/index.js +20 -0
  534. package/lib/system/index.js.map +1 -0
  535. package/lib/task/index.d.ts +2 -0
  536. package/lib/task/index.js +19 -0
  537. package/lib/task/index.js.map +1 -0
  538. package/lib/task/task.dto.d.ts +24 -0
  539. package/lib/task/task.dto.js +142 -0
  540. package/lib/task/task.dto.js.map +1 -0
  541. package/lib/task/task.model.d.ts +8 -0
  542. package/lib/task/task.model.js +49 -0
  543. package/lib/task/task.model.js.map +1 -0
  544. package/lib/ticket/ticket.enum.d.ts +5 -0
  545. package/lib/ticket/ticket.enum.js +10 -0
  546. package/lib/ticket/ticket.enum.js.map +1 -0
  547. package/lib/training/training.types.d.ts +15 -0
  548. package/lib/training/training.types.js +22 -0
  549. package/lib/training/training.types.js.map +1 -0
  550. package/lib/tsconfig.tsbuildinfo +1 -1
  551. package/lib/types/support.type.d.ts +1 -0
  552. package/lib/types/support.type.js +1 -0
  553. package/lib/types/support.type.js.map +1 -1
  554. package/lib/user/biometric.dto.d.ts +3 -0
  555. package/lib/user/biometric.dto.js +25 -0
  556. package/lib/user/biometric.dto.js.map +1 -0
  557. package/lib/user/email.dto.d.ts +4 -0
  558. package/lib/user/email.dto.js +32 -0
  559. package/lib/user/email.dto.js.map +1 -0
  560. package/lib/user/notification/index.d.ts +3 -0
  561. package/lib/user/notification/index.js +20 -0
  562. package/lib/user/notification/index.js.map +1 -0
  563. package/lib/user/notification/notification-preference.model.d.ts +5 -0
  564. package/lib/user/notification/notification-preference.model.js +31 -0
  565. package/lib/user/notification/notification-preference.model.js.map +1 -0
  566. package/lib/user/notification/notification.enum.d.ts +11 -0
  567. package/lib/user/notification/notification.enum.js +17 -0
  568. package/lib/user/notification/notification.enum.js.map +1 -0
  569. package/lib/user/notification/notification.model.d.ts +10 -0
  570. package/lib/user/notification/notification.model.js +53 -0
  571. package/lib/user/notification/notification.model.js.map +1 -0
  572. package/lib/user/phone.dto.d.ts +4 -0
  573. package/lib/user/phone.dto.js +32 -0
  574. package/lib/user/phone.dto.js.map +1 -0
  575. package/lib/user/profile.type.d.ts +10 -0
  576. package/lib/user/profile.type.js +15 -0
  577. package/lib/user/profile.type.js.map +1 -0
  578. package/lib/user/sign.dto.d.ts +5 -0
  579. package/lib/user/sign.dto.js +38 -0
  580. package/lib/user/sign.dto.js.map +1 -0
  581. package/lib/user/user.device.model.d.ts +8 -0
  582. package/lib/user/user.device.model.js +46 -0
  583. package/lib/user/user.device.model.js.map +1 -0
  584. package/lib/utils/date.helper.d.ts +28 -0
  585. package/lib/utils/date.helper.js +39 -0
  586. package/lib/utils/date.helper.js.map +1 -1
  587. package/lib/validators/compare.validator.d.ts +9 -0
  588. package/lib/validators/compare.validator.js +34 -0
  589. package/lib/validators/compare.validator.js.map +1 -0
  590. package/lib/validators/index.d.ts +2 -0
  591. package/lib/validators/index.js +19 -0
  592. package/lib/validators/index.js.map +1 -0
  593. package/lib/validators/required.validator.d.ts +21 -0
  594. package/lib/validators/required.validator.js +95 -0
  595. package/lib/validators/required.validator.js.map +1 -0
  596. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ export declare enum AgentAssetType {
2
+ Video = "VIDEO",
3
+ Image = "IMAGE",
4
+ PDF = "PDF"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentAssetType = void 0;
4
+ var AgentAssetType;
5
+ (function (AgentAssetType) {
6
+ AgentAssetType["Video"] = "VIDEO";
7
+ AgentAssetType["Image"] = "IMAGE";
8
+ AgentAssetType["PDF"] = "PDF";
9
+ })(AgentAssetType || (exports.AgentAssetType = AgentAssetType = {}));
10
+ //# sourceMappingURL=asset.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset.type.js","sourceRoot":"","sources":["../../src/agent/asset.type.ts"],"names":[],"mappings":";;;AACA,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,6BAAW,CAAA;AACZ,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
@@ -0,0 +1,6 @@
1
+ export type AgentEarnings = {
2
+ /** Unix timestamp in seconds */
3
+ date: number;
4
+ /** Sum of agent earnings for this date */
5
+ totalEarnings: number;
6
+ }[];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=earning.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"earning.type.js","sourceRoot":"","sources":["../../src/agent/earning.type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import { AgentPayoutStatus } from "../company";
2
+ export declare class AgentPayout {
3
+ id: number;
4
+ ammount: number;
5
+ status: AgentPayoutStatus;
6
+ submitDate: Date;
7
+ IBAN: string;
8
+ SWIFT: string;
9
+ bankName: string;
10
+ constructor(props?: Partial<AgentPayout>);
11
+ }
@@ -0,0 +1,59 @@
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.AgentPayout = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const company_1 = require("../company");
15
+ class AgentPayout {
16
+ id;
17
+ ammount;
18
+ status;
19
+ submitDate;
20
+ IBAN;
21
+ SWIFT;
22
+ bankName;
23
+ constructor(props) {
24
+ Object.assign(this, props);
25
+ }
26
+ }
27
+ exports.AgentPayout = AgentPayout;
28
+ __decorate([
29
+ (0, class_transformer_1.Expose)(),
30
+ (0, class_transformer_1.Type)(() => Number),
31
+ __metadata("design:type", Number)
32
+ ], AgentPayout.prototype, "id", void 0);
33
+ __decorate([
34
+ (0, class_transformer_1.Expose)(),
35
+ (0, class_transformer_1.Type)(() => Number),
36
+ __metadata("design:type", Number)
37
+ ], AgentPayout.prototype, "ammount", void 0);
38
+ __decorate([
39
+ (0, class_transformer_1.Expose)(),
40
+ __metadata("design:type", String)
41
+ ], AgentPayout.prototype, "status", void 0);
42
+ __decorate([
43
+ (0, class_transformer_1.Expose)(),
44
+ (0, class_transformer_1.Type)(() => Date),
45
+ __metadata("design:type", Date)
46
+ ], AgentPayout.prototype, "submitDate", void 0);
47
+ __decorate([
48
+ (0, class_transformer_1.Expose)(),
49
+ __metadata("design:type", String)
50
+ ], AgentPayout.prototype, "IBAN", void 0);
51
+ __decorate([
52
+ (0, class_transformer_1.Expose)(),
53
+ __metadata("design:type", String)
54
+ ], AgentPayout.prototype, "SWIFT", void 0);
55
+ __decorate([
56
+ (0, class_transformer_1.Expose)(),
57
+ __metadata("design:type", String)
58
+ ], AgentPayout.prototype, "bankName", void 0);
59
+ //# sourceMappingURL=payout.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.model.js","sourceRoot":"","sources":["../../src/agent/payout.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,wCAA+C;AAE/C,MAAa,WAAW;IAGvB,EAAE,CAAS;IAMX,OAAO,CAAS;IAKhB,MAAM,CAAoB;IAO1B,UAAU,CAAO;IAKjB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,QAAQ,CAAS;IAIjB,YAAY,KAA4B;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAvCD,kCAuCC;AApCA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACR;AAMX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACH;AAKhB;IADC,IAAA,0BAAM,GAAE;;2CACiB;AAO1B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;+CAAC;AAKjB;IADC,IAAA,0BAAM,GAAE;;yCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;0CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;6CACQ"}
@@ -0,0 +1,4 @@
1
+ export declare enum AlertContent {
2
+ RecoveryEmail = "RECOVERY_EMAIL",
3
+ TrainingRating = "TRAINING_RATING"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AlertContent = void 0;
4
+ var AlertContent;
5
+ (function (AlertContent) {
6
+ AlertContent["RecoveryEmail"] = "RECOVERY_EMAIL";
7
+ AlertContent["TrainingRating"] = "TRAINING_RATING";
8
+ })(AlertContent || (exports.AlertContent = AlertContent = {}));
9
+ //# sourceMappingURL=alert.content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.content.js","sourceRoot":"","sources":["../../src/alert/alert.content.ts"],"names":[],"mappings":";;;AACA,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,gDAAgC,CAAA;IAChC,kDAAkC,CAAA;AACnC,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
@@ -0,0 +1,3 @@
1
+ export declare class BiometricKeyDto {
2
+ key: string;
3
+ }
@@ -0,0 +1,25 @@
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.BiometricKeyDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class BiometricKeyDto {
16
+ key;
17
+ }
18
+ exports.BiometricKeyDto = BiometricKeyDto;
19
+ __decorate([
20
+ (0, class_validator_1.IsString)(),
21
+ (0, class_transformer_1.Transform)(({ value }) => value?.trim()),
22
+ (0, class_validator_1.IsNotEmpty)(),
23
+ __metadata("design:type", String)
24
+ ], BiometricKeyDto.prototype, "key", void 0);
25
+ //# sourceMappingURL=biometric.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"biometric.dto.js","sourceRoot":"","sources":["../../src/auth/biometric.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAuD;AAEvD,MAAa,eAAe;IAK3B,GAAG,CAAS;CACZ;AAND,0CAMC;AADA;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,4BAAU,GAAE;;4CACD"}
@@ -0,0 +1,5 @@
1
+ export declare enum CompanyBillItemType {
2
+ StudentTraining = "bill.item.studentTraining",
3
+ InstructorSubscription = "bill.item.instructorSubscription",
4
+ EnterpriseSeats = "bill.item.enterpriseSeats"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanyBillItemType = void 0;
4
+ var CompanyBillItemType;
5
+ (function (CompanyBillItemType) {
6
+ CompanyBillItemType["StudentTraining"] = "bill.item.studentTraining";
7
+ CompanyBillItemType["InstructorSubscription"] = "bill.item.instructorSubscription";
8
+ CompanyBillItemType["EnterpriseSeats"] = "bill.item.enterpriseSeats";
9
+ })(CompanyBillItemType || (exports.CompanyBillItemType = CompanyBillItemType = {}));
10
+ //# sourceMappingURL=bill-item.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bill-item.type.js","sourceRoot":"","sources":["../../src/bill/bill-item.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,oEAA6C,CAAA;IAC7C,kFAA2D,CAAA;IAC3D,oEAA6C,CAAA;AAC9C,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
@@ -0,0 +1,5 @@
1
+ export declare enum BillStatus {
2
+ ACTIVE = "ACTIVE",
3
+ UNPAID = "UNPAID",
4
+ PAID = "PAID"
5
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillStatus = void 0;
4
+ var BillStatus;
5
+ (function (BillStatus) {
6
+ // Current cycle
7
+ BillStatus["ACTIVE"] = "ACTIVE";
8
+ // Payment failed
9
+ BillStatus["UNPAID"] = "UNPAID";
10
+ // Payment completed
11
+ BillStatus["PAID"] = "PAID";
12
+ })(BillStatus || (exports.BillStatus = BillStatus = {}));
13
+ //# sourceMappingURL=bill.status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bill.status.js","sourceRoot":"","sources":["../../src/bill/bill.status.ts"],"names":[],"mappings":";;;AACA,IAAY,UAOX;AAPD,WAAY,UAAU;IACrB,gBAAgB;IAChB,+BAAiB,CAAA;IACjB,iBAAiB;IACjB,+BAAiB,CAAA;IACjB,oBAAoB;IACpB,2BAAa,CAAA;AACd,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB"}
@@ -68,6 +68,7 @@ export declare class Appointment {
68
68
  */
69
69
  score: number;
70
70
  /************************* obligation period *************************/
71
+ hasObligationPeriod: boolean;
71
72
  hoursBeforeObligationPeriod: number;
72
73
  /************************* course *************************/
73
74
  remainingSeats: number;
@@ -81,6 +81,7 @@ class Appointment {
81
81
  */
82
82
  score;
83
83
  /************************* obligation period *************************/
84
+ hasObligationPeriod;
84
85
  hoursBeforeObligationPeriod;
85
86
  /************************* course *************************/
86
87
  remainingSeats;
@@ -238,6 +239,11 @@ __decorate([
238
239
  (0, class_transformer_1.Type)(() => Number),
239
240
  __metadata("design:type", Number)
240
241
  ], Appointment.prototype, "score", void 0);
242
+ __decorate([
243
+ (0, class_transformer_1.Expose)(),
244
+ (0, class_transformer_1.Type)(() => Boolean),
245
+ __metadata("design:type", Boolean)
246
+ ], Appointment.prototype, "hasObligationPeriod", void 0);
241
247
  __decorate([
242
248
  (0, class_transformer_1.Expose)(),
243
249
  (0, class_transformer_1.Type)(() => Number),
@@ -1 +1 @@
1
- {"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../src/calendar/appointment.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA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AC;;6CACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAoB,CAAC;8BACrB,uCAAoB;+CAAC;AAIjC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6CACF;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACA;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oDACK"}
@@ -0,0 +1,4 @@
1
+ export declare class CalendarLink {
2
+ title: string;
3
+ url: string;
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CalendarLink = void 0;
4
+ class CalendarLink {
5
+ title;
6
+ url;
7
+ }
8
+ exports.CalendarLink = CalendarLink;
9
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/calendar/link.ts"],"names":[],"mappings":";;;AAEA,MAAa,YAAY;IACxB,KAAK,CAAS;IAEd,GAAG,CAAS;CAGZ;AAND,oCAMC"}
@@ -0,0 +1,19 @@
1
+ export declare enum AppointmentType {
2
+ Driving = "DRIVING",
3
+ Flexible = "FLEXIBLE",
4
+ Fixed = "FIXED",
5
+ Canceled = "CANCELED",
6
+ Task = "TASK",
7
+ NonWorking = "NONWORKING",
8
+ Holiday = "HOLIDAY",
9
+ OffDay = "OFFDAY"
10
+ }
11
+ export declare enum WeekDay {
12
+ Monday = "MONDAY",
13
+ Tuesday = "TUESDAY",
14
+ Wednesday = "WEDNESDAY",
15
+ Thursday = "THURSDAY",
16
+ Friday = "FRIDAY",
17
+ Saturday = "SATURDAY",
18
+ Sunday = "SUNDAY"
19
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WeekDay = exports.AppointmentType = void 0;
4
+ var AppointmentType;
5
+ (function (AppointmentType) {
6
+ AppointmentType["Driving"] = "DRIVING";
7
+ AppointmentType["Flexible"] = "FLEXIBLE";
8
+ AppointmentType["Fixed"] = "FIXED";
9
+ AppointmentType["Canceled"] = "CANCELED";
10
+ AppointmentType["Task"] = "TASK";
11
+ AppointmentType["NonWorking"] = "NONWORKING";
12
+ AppointmentType["Holiday"] = "HOLIDAY";
13
+ AppointmentType["OffDay"] = "OFFDAY";
14
+ })(AppointmentType || (exports.AppointmentType = AppointmentType = {}));
15
+ var WeekDay;
16
+ (function (WeekDay) {
17
+ WeekDay["Monday"] = "MONDAY";
18
+ WeekDay["Tuesday"] = "TUESDAY";
19
+ WeekDay["Wednesday"] = "WEDNESDAY";
20
+ WeekDay["Thursday"] = "THURSDAY";
21
+ WeekDay["Friday"] = "FRIDAY";
22
+ WeekDay["Saturday"] = "SATURDAY";
23
+ WeekDay["Sunday"] = "SUNDAY";
24
+ })(WeekDay || (exports.WeekDay = WeekDay = {}));
25
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/calendar/types.ts"],"names":[],"mappings":";;;AACA,IAAY,eASX;AATD,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,kCAAe,CAAA;IACf,wCAAqB,CAAA;IACrB,gCAAa,CAAA;IACb,4CAAyB,CAAA;IACtB,sCAAmB,CAAA;IACtB,oCAAiB,CAAA;AAClB,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;AAED,IAAY,OAQX;AARD,WAAY,OAAO;IAClB,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IACnB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;IACjB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;AAClB,CAAC,EARW,OAAO,uBAAP,OAAO,QAQlB"}
@@ -0,0 +1,13 @@
1
+ export declare class Appointment {
2
+ id: number;
3
+ studentId: number;
4
+ trainingId: number;
5
+ title: string;
6
+ subtitle: string;
7
+ description: string;
8
+ startDate: Date;
9
+ endDate: Date;
10
+ imageUrl: string;
11
+ driving: boolean;
12
+ constructor(props?: Partial<Appointment>);
13
+ }
@@ -0,0 +1,79 @@
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.Appointment = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ class Appointment {
15
+ id;
16
+ studentId;
17
+ trainingId;
18
+ title;
19
+ subtitle;
20
+ description;
21
+ startDate;
22
+ endDate;
23
+ imageUrl;
24
+ driving;
25
+ constructor(props) {
26
+ Object.assign(this, props);
27
+ }
28
+ }
29
+ exports.Appointment = Appointment;
30
+ __decorate([
31
+ (0, class_transformer_1.Expose)(),
32
+ (0, class_transformer_1.Type)(() => Number),
33
+ __metadata("design:type", Number)
34
+ ], Appointment.prototype, "id", void 0);
35
+ __decorate([
36
+ (0, class_transformer_1.Expose)(),
37
+ (0, class_transformer_1.Type)(() => Number),
38
+ __metadata("design:type", Number)
39
+ ], Appointment.prototype, "studentId", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ (0, class_transformer_1.Type)(() => Number),
43
+ __metadata("design:type", Number)
44
+ ], Appointment.prototype, "trainingId", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Expose)(),
47
+ (0, class_transformer_1.Type)(),
48
+ __metadata("design:type", String)
49
+ ], Appointment.prototype, "title", void 0);
50
+ __decorate([
51
+ (0, class_transformer_1.Expose)(),
52
+ (0, class_transformer_1.Type)(),
53
+ __metadata("design:type", String)
54
+ ], Appointment.prototype, "subtitle", void 0);
55
+ __decorate([
56
+ (0, class_transformer_1.Expose)(),
57
+ __metadata("design:type", String)
58
+ ], Appointment.prototype, "description", void 0);
59
+ __decorate([
60
+ (0, class_transformer_1.Expose)(),
61
+ (0, class_transformer_1.Type)(() => Date),
62
+ __metadata("design:type", Date)
63
+ ], Appointment.prototype, "startDate", void 0);
64
+ __decorate([
65
+ (0, class_transformer_1.Expose)(),
66
+ (0, class_transformer_1.Type)(() => Date),
67
+ __metadata("design:type", Date)
68
+ ], Appointment.prototype, "endDate", void 0);
69
+ __decorate([
70
+ (0, class_transformer_1.Expose)(),
71
+ (0, class_transformer_1.Type)(),
72
+ __metadata("design:type", String)
73
+ ], Appointment.prototype, "imageUrl", void 0);
74
+ __decorate([
75
+ (0, class_transformer_1.Expose)(),
76
+ (0, class_transformer_1.Type)(() => Boolean),
77
+ __metadata("design:type", Boolean)
78
+ ], Appointment.prototype, "driving", void 0);
79
+ //# sourceMappingURL=appointment.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appointment.model.js","sourceRoot":"","sources":["../../src/common/appointment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,WAAW;IAGvB,EAAE,CAAS;IAIX,SAAS,CAAS;IAIlB,UAAU,CAAS;IAInB,KAAK,CAAS;IAId,QAAQ,CAAS;IAGjB,WAAW,CAAS;IAIpB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,QAAQ,CAAS;IAOjB,OAAO,CAAU;IAIjB,YAAY,KAA4B;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhDD,kCAgDC;AA7CA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACD;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACA;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,GAAE;;0CACO;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,GAAE;;6CACU;AAGjB;IADC,IAAA,0BAAM,GAAE;;gDACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;8CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;4CAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,GAAE;;6CACU;AAOjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;4CACH"}
@@ -0,0 +1,6 @@
1
+ export declare enum Context {
2
+ Info = "info",
3
+ Error = "error",
4
+ Warning = "warning",
5
+ Success = "success"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Context = void 0;
4
+ var Context;
5
+ (function (Context) {
6
+ Context["Info"] = "info";
7
+ Context["Error"] = "error";
8
+ Context["Warning"] = "warning";
9
+ Context["Success"] = "success";
10
+ })(Context || (exports.Context = Context = {}));
11
+ //# sourceMappingURL=context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/common/context.ts"],"names":[],"mappings":";;;AAAA,IAAY,OAKX;AALD,WAAY,OAAO;IAClB,wBAAa,CAAA;IACb,0BAAe,CAAA;IACf,8BAAmB,CAAA;IACnB,8BAAmB,CAAA;AACpB,CAAC,EALW,OAAO,uBAAP,OAAO,QAKlB"}
@@ -0,0 +1,9 @@
1
+ export declare enum WeekDay {
2
+ Monday = "MONDAY",
3
+ Tuesday = "TUESDAY",
4
+ Wednesday = "WEDNESDAY",
5
+ Thursday = "THURSDAY",
6
+ Friday = "FRIDAY",
7
+ Saturday = "SATURDAY",
8
+ Sunday = "SUNDAY"
9
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum WeekDay {
2
+ Monday = "MONDAY",
3
+ Tuesday = "TUESDAY",
4
+ Wednesday = "WEDNESDAY",
5
+ Thursday = "THURSDAY",
6
+ Friday = "FRIDAY",
7
+ Saturday = "SATURDAY",
8
+ Sunday = "SUNDAY"
9
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WeekDay = void 0;
4
+ var WeekDay;
5
+ (function (WeekDay) {
6
+ WeekDay["Monday"] = "MONDAY";
7
+ WeekDay["Tuesday"] = "TUESDAY";
8
+ WeekDay["Wednesday"] = "WEDNESDAY";
9
+ WeekDay["Thursday"] = "THURSDAY";
10
+ WeekDay["Friday"] = "FRIDAY";
11
+ WeekDay["Saturday"] = "SATURDAY";
12
+ WeekDay["Sunday"] = "SUNDAY";
13
+ })(WeekDay || (exports.WeekDay = WeekDay = {}));
14
+ //# sourceMappingURL=date.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.enum.js","sourceRoot":"","sources":["../../src/common/date.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,OAQX;AARD,WAAY,OAAO;IAClB,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IACnB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;IACjB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;AAClB,CAAC,EARW,OAAO,uBAAP,OAAO,QAQlB"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WeekDay = void 0;
4
+ var WeekDay;
5
+ (function (WeekDay) {
6
+ WeekDay["Monday"] = "MONDAY";
7
+ WeekDay["Tuesday"] = "TUESDAY";
8
+ WeekDay["Wednesday"] = "WEDNESDAY";
9
+ WeekDay["Thursday"] = "THURSDAY";
10
+ WeekDay["Friday"] = "FRIDAY";
11
+ WeekDay["Saturday"] = "SATURDAY";
12
+ WeekDay["Sunday"] = "SUNDAY";
13
+ })(WeekDay = exports.WeekDay || (exports.WeekDay = {}));
14
+ //# sourceMappingURL=date.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.js","sourceRoot":"","sources":["../../src/common/date.ts"],"names":[],"mappings":";;;AACA,IAAY,OAQX;AARD,WAAY,OAAO;IAClB,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IACnB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;IACjB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;AAClB,CAAC,EARW,OAAO,GAAP,eAAO,KAAP,eAAO,QAQlB"}
@@ -0,0 +1,70 @@
1
+ import { ValidationArguments, ValidationOptions, ValidatorConstraintInterface } from "class-validator";
2
+ import { Language } from "../language";
3
+ export declare class CompareWithEndDate implements ValidatorConstraintInterface {
4
+ validate(startDate: Date, args: ValidationArguments): boolean;
5
+ defaultMessage(args?: ValidationArguments): string;
6
+ }
7
+ export declare class PeriodDto {
8
+ startDate: Date;
9
+ endDate: Date;
10
+ constructor(props?: Partial<PeriodDto>);
11
+ }
12
+ export declare class PhoneDto {
13
+ phone: string;
14
+ otp: string;
15
+ }
16
+ export declare class TitleDto {
17
+ title: string;
18
+ }
19
+ export declare class DescriptionDto {
20
+ description: string;
21
+ }
22
+ export declare class NameDto {
23
+ name: string;
24
+ }
25
+ export declare class LanguageDto {
26
+ language: Language;
27
+ }
28
+ export declare class EmailDto {
29
+ email: string;
30
+ }
31
+ export declare class DateDto {
32
+ date: Date;
33
+ }
34
+ export declare class SortDto {
35
+ ids: number[];
36
+ }
37
+ export declare class AddressDto {
38
+ address: string;
39
+ }
40
+ export declare class MutuallyRequiredConstraint implements ValidatorConstraintInterface {
41
+ validate(value: any, args: ValidationArguments): boolean;
42
+ defaultMessage(args: ValidationArguments): string;
43
+ }
44
+ export declare function MutuallyRequired(relatedField: string, validationOptions?: ValidationOptions): (object: Object, propertyName: string) => void;
45
+ declare class AddressLocation {
46
+ latitude: number;
47
+ longitude: number;
48
+ }
49
+ export declare class FullAddressDto {
50
+ address: string;
51
+ zipCode: string;
52
+ location: AddressLocation;
53
+ }
54
+ export declare class EitherRequiredConstraint implements ValidatorConstraintInterface {
55
+ validate(value: any, args: ValidationArguments): boolean;
56
+ defaultMessage(args: ValidationArguments): string;
57
+ }
58
+ export declare function EitherRequired(relatedField: string, validationOptions?: ValidationOptions): (object: Object, propertyName: string) => void;
59
+ export declare class BankAccountInformationDto {
60
+ bankName: string;
61
+ IBAN: string;
62
+ SWIFT: string;
63
+ }
64
+ export declare class PromotionCodeDto {
65
+ promotionCode: number;
66
+ }
67
+ export declare class UrlDto {
68
+ url: string;
69
+ }
70
+ export {};