@intelact/driveup 0.5.56 → 0.7.0

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 (385) hide show
  1. package/lib/agent/agent.model.d.ts +1 -4
  2. package/lib/agent/agent.model.js +1 -16
  3. package/lib/agent/agent.model.js.map +1 -1
  4. package/lib/agent/code.model.js.map +1 -1
  5. package/lib/agent/index.d.ts +0 -1
  6. package/lib/agent/index.js +0 -1
  7. package/lib/agent/index.js.map +1 -1
  8. package/lib/auth/biometric.dto.d.ts +3 -0
  9. package/lib/auth/biometric.dto.js +25 -0
  10. package/lib/auth/biometric.dto.js.map +1 -0
  11. package/lib/auth/index.d.ts +3 -0
  12. package/lib/auth/index.js +20 -0
  13. package/lib/auth/index.js.map +1 -0
  14. package/lib/auth/signin.dto.d.ts +6 -0
  15. package/lib/auth/signin.dto.js +37 -0
  16. package/lib/auth/signin.dto.js.map +1 -0
  17. package/lib/auth/signup.dto.d.ts +5 -0
  18. package/lib/auth/signup.dto.js +38 -0
  19. package/lib/auth/signup.dto.js.map +1 -0
  20. package/lib/bank/account.model.d.ts +6 -0
  21. package/lib/bank/account.model.js +46 -0
  22. package/lib/bank/account.model.js.map +1 -0
  23. package/lib/bank/index.d.ts +1 -0
  24. package/lib/bank/index.js +18 -0
  25. package/lib/bank/index.js.map +1 -0
  26. package/lib/calendar/appointment.d.ts +29 -0
  27. package/lib/calendar/appointment.js +143 -0
  28. package/lib/calendar/appointment.js.map +1 -0
  29. package/lib/calendar/date.d.ts +11 -0
  30. package/lib/calendar/date.js +52 -0
  31. package/lib/calendar/date.js.map +1 -0
  32. package/lib/calendar/holiday.d.ts +5 -0
  33. package/lib/calendar/holiday.js +40 -0
  34. package/lib/calendar/holiday.js.map +1 -0
  35. package/lib/calendar/index.d.ts +5 -0
  36. package/lib/calendar/index.js +22 -0
  37. package/lib/calendar/index.js.map +1 -0
  38. package/lib/calendar/types.d.ts +14 -0
  39. package/lib/calendar/types.js +20 -0
  40. package/lib/calendar/types.js.map +1 -0
  41. package/lib/calendar/working.d.ts +9 -0
  42. package/lib/calendar/working.js +44 -0
  43. package/lib/calendar/working.js.map +1 -0
  44. package/lib/common/content.d.ts +9 -0
  45. package/lib/common/content.js +42 -0
  46. package/lib/common/content.js.map +1 -0
  47. package/lib/common/email.d.ts +7 -0
  48. package/lib/common/email.js +41 -0
  49. package/lib/common/email.js.map +1 -0
  50. package/lib/common/index.d.ts +8 -3
  51. package/lib/common/index.js +8 -3
  52. package/lib/common/index.js.map +1 -1
  53. package/lib/common/language.d.ts +9 -0
  54. package/lib/common/language.js +29 -0
  55. package/lib/common/language.js.map +1 -0
  56. package/lib/common/phone.d.ts +4 -0
  57. package/lib/common/phone.js +32 -0
  58. package/lib/common/phone.js.map +1 -0
  59. package/lib/common/promotion.d.ts +3 -0
  60. package/lib/common/promotion.js +23 -0
  61. package/lib/common/promotion.js.map +1 -0
  62. package/lib/common/social.d.ts +4 -0
  63. package/lib/common/social.js +30 -0
  64. package/lib/common/social.js.map +1 -0
  65. package/lib/common/sort.d.ts +3 -0
  66. package/lib/common/sort.js +23 -0
  67. package/lib/common/sort.js.map +1 -0
  68. package/lib/common/url.d.ts +3 -0
  69. package/lib/common/url.js +25 -0
  70. package/lib/common/url.js.map +1 -0
  71. package/lib/company/company.model.d.ts +18 -40
  72. package/lib/company/company.model.js +35 -36
  73. package/lib/company/company.model.js.map +1 -1
  74. package/lib/company/index.d.ts +1 -10
  75. package/lib/company/index.js +1 -10
  76. package/lib/company/index.js.map +1 -1
  77. package/lib/company/priceplan.model.d.ts +16 -0
  78. package/lib/company/priceplan.model.js +87 -0
  79. package/lib/company/priceplan.model.js.map +1 -0
  80. package/lib/country/country.model.d.ts +16 -0
  81. package/lib/country/country.model.js +80 -0
  82. package/lib/country/country.model.js.map +1 -0
  83. package/lib/country/index.d.ts +1 -0
  84. package/lib/country/index.js +18 -0
  85. package/lib/country/index.js.map +1 -0
  86. package/lib/course/appointment.model.d.ts +8 -0
  87. package/lib/course/appointment.model.js +36 -0
  88. package/lib/course/appointment.model.js.map +1 -0
  89. package/lib/course/course.model.d.ts +17 -0
  90. package/lib/course/course.model.js +94 -0
  91. package/lib/course/course.model.js.map +1 -0
  92. package/lib/course/definition.model.d.ts +11 -0
  93. package/lib/course/definition.model.js +57 -0
  94. package/lib/course/definition.model.js.map +1 -0
  95. package/lib/course/index.d.ts +5 -0
  96. package/lib/course/index.js +22 -0
  97. package/lib/course/index.js.map +1 -0
  98. package/lib/course/part.model.d.ts +12 -0
  99. package/lib/course/part.model.js +67 -0
  100. package/lib/course/part.model.js.map +1 -0
  101. package/lib/course/types.d.ts +15 -0
  102. package/lib/course/types.js +22 -0
  103. package/lib/course/types.js.map +1 -0
  104. package/lib/credit/credit.model.d.ts +9 -0
  105. package/lib/credit/credit.model.js +50 -0
  106. package/lib/credit/credit.model.js.map +1 -0
  107. package/lib/credit/index.d.ts +1 -0
  108. package/lib/credit/index.js +18 -0
  109. package/lib/credit/index.js.map +1 -0
  110. package/lib/currency/currency.model.d.ts +9 -0
  111. package/lib/currency/currency.model.js +53 -0
  112. package/lib/currency/currency.model.js.map +1 -0
  113. package/lib/currency/index.d.ts +1 -0
  114. package/lib/currency/index.js +18 -0
  115. package/lib/currency/index.js.map +1 -0
  116. package/lib/device/device.agent.d.ts +11 -0
  117. package/lib/device/device.agent.js +3 -0
  118. package/lib/device/device.agent.js.map +1 -0
  119. package/lib/device/device.model.d.ts +8 -0
  120. package/lib/device/device.model.js +46 -0
  121. package/lib/device/device.model.js.map +1 -0
  122. package/lib/device/index.d.ts +2 -0
  123. package/lib/device/index.js +19 -0
  124. package/lib/device/index.js.map +1 -0
  125. package/lib/discount/discount.model.d.ts +9 -0
  126. package/lib/discount/discount.model.js +50 -0
  127. package/lib/discount/discount.model.js.map +1 -0
  128. package/lib/discount/index.d.ts +1 -0
  129. package/lib/discount/index.js +18 -0
  130. package/lib/discount/index.js.map +1 -0
  131. package/lib/driving/category/category.dto.d.ts +5 -0
  132. package/lib/driving/category/category.dto.js +38 -0
  133. package/lib/driving/category/category.dto.js.map +1 -0
  134. package/lib/driving/category/category.model.d.ts +16 -0
  135. package/lib/driving/category/category.model.js +87 -0
  136. package/lib/driving/category/category.model.js.map +1 -0
  137. package/lib/driving/category/index.d.ts +2 -0
  138. package/lib/driving/category/index.js +19 -0
  139. package/lib/driving/category/index.js.map +1 -0
  140. package/lib/driving/index.d.ts +3 -0
  141. package/lib/driving/index.js +20 -0
  142. package/lib/driving/index.js.map +1 -0
  143. package/lib/driving/lesson/index.d.ts +3 -0
  144. package/lib/driving/lesson/index.js +20 -0
  145. package/lib/driving/lesson/index.js.map +1 -0
  146. package/lib/driving/lesson/skill.d.ts +6 -0
  147. package/lib/driving/lesson/skill.js +37 -0
  148. package/lib/driving/lesson/skill.js.map +1 -0
  149. package/lib/driving/lesson/topic.d.ts +10 -0
  150. package/lib/driving/lesson/topic.js +58 -0
  151. package/lib/driving/lesson/topic.js.map +1 -0
  152. package/lib/driving/lesson/types.d.ts +13 -0
  153. package/lib/driving/lesson/types.js +19 -0
  154. package/lib/driving/lesson/types.js.map +1 -0
  155. package/lib/driving/types.d.ts +8 -0
  156. package/lib/driving/types.js +14 -0
  157. package/lib/driving/types.js.map +1 -0
  158. package/lib/event/event.model.d.ts +8 -0
  159. package/lib/event/event.model.js +49 -0
  160. package/lib/event/event.model.js.map +1 -0
  161. package/lib/event/index.d.ts +1 -0
  162. package/lib/event/index.js +18 -0
  163. package/lib/event/index.js.map +1 -0
  164. package/lib/expense/category.model.d.ts +7 -0
  165. package/lib/expense/category.model.js +41 -0
  166. package/lib/expense/category.model.js.map +1 -0
  167. package/lib/expense/expense.model.d.ts +14 -0
  168. package/lib/expense/expense.model.js +68 -0
  169. package/lib/expense/expense.model.js.map +1 -0
  170. package/lib/expense/expense.types.d.ts +5 -0
  171. package/lib/expense/expense.types.js +10 -0
  172. package/lib/expense/expense.types.js.map +1 -0
  173. package/lib/expense/index.d.ts +3 -0
  174. package/lib/expense/index.js +20 -0
  175. package/lib/expense/index.js.map +1 -0
  176. package/lib/feedback/feedback.model.d.ts +9 -0
  177. package/lib/feedback/feedback.model.js +52 -0
  178. package/lib/feedback/feedback.model.js.map +1 -0
  179. package/lib/feedback/index.d.ts +1 -0
  180. package/lib/feedback/index.js +18 -0
  181. package/lib/feedback/index.js.map +1 -0
  182. package/lib/geo/address.dto.d.ts +12 -0
  183. package/lib/geo/address.dto.js +71 -0
  184. package/lib/geo/address.dto.js.map +1 -0
  185. package/lib/geo/coordinate.model.d.ts +4 -0
  186. package/lib/geo/coordinate.model.js +29 -0
  187. package/lib/geo/coordinate.model.js.map +1 -0
  188. package/lib/geo/index.d.ts +3 -0
  189. package/lib/geo/index.js +20 -0
  190. package/lib/geo/index.js.map +1 -0
  191. package/lib/geo/pickup.model.d.ts +8 -0
  192. package/lib/geo/pickup.model.js +49 -0
  193. package/lib/geo/pickup.model.js.map +1 -0
  194. package/lib/index.d.ts +29 -2
  195. package/lib/index.js +29 -2
  196. package/lib/index.js.map +1 -1
  197. package/lib/instructor/index.d.ts +2 -0
  198. package/lib/instructor/index.js +19 -0
  199. package/lib/instructor/index.js.map +1 -0
  200. package/lib/instructor/instructor.dto.d.ts +6 -0
  201. package/lib/instructor/instructor.dto.js +39 -0
  202. package/lib/instructor/instructor.dto.js.map +1 -0
  203. package/lib/instructor/instructor.model.d.ts +14 -0
  204. package/lib/instructor/instructor.model.js +63 -0
  205. package/lib/instructor/instructor.model.js.map +1 -0
  206. package/lib/invoice/index.d.ts +3 -0
  207. package/lib/invoice/index.js +20 -0
  208. package/lib/invoice/index.js.map +1 -0
  209. package/lib/invoice/invoice.model.d.ts +18 -0
  210. package/lib/invoice/invoice.model.js +88 -0
  211. package/lib/invoice/invoice.model.js.map +1 -0
  212. package/lib/invoice/invoice.types.d.ts +5 -0
  213. package/lib/invoice/invoice.types.js +10 -0
  214. package/lib/invoice/invoice.types.js.map +1 -0
  215. package/lib/invoice/item.model.d.ts +7 -0
  216. package/lib/invoice/item.model.js +43 -0
  217. package/lib/invoice/item.model.js.map +1 -0
  218. package/lib/item/index.d.ts +1 -0
  219. package/lib/item/index.js +18 -0
  220. package/lib/item/index.js.map +1 -0
  221. package/lib/item/item.model.d.ts +13 -0
  222. package/lib/item/item.model.js +38 -0
  223. package/lib/item/item.model.js.map +1 -0
  224. package/lib/language/language.enum.d.ts +4 -4
  225. package/lib/language/language.enum.js +4 -4
  226. package/lib/license/index.d.ts +1 -0
  227. package/lib/license/index.js +18 -0
  228. package/lib/license/index.js.map +1 -0
  229. package/lib/license/license.model.d.ts +5 -0
  230. package/lib/license/license.model.js +41 -0
  231. package/lib/license/license.model.js.map +1 -0
  232. package/lib/link/index.d.ts +1 -0
  233. package/lib/link/index.js +18 -0
  234. package/lib/link/index.js.map +1 -0
  235. package/lib/link/link.model.d.ts +15 -0
  236. package/lib/link/link.model.js +35 -0
  237. package/lib/link/link.model.js.map +1 -0
  238. package/lib/note/index.d.ts +1 -0
  239. package/lib/note/index.js +18 -0
  240. package/lib/note/index.js.map +1 -0
  241. package/lib/note/note.model.d.ts +9 -0
  242. package/lib/note/note.model.js +49 -0
  243. package/lib/note/note.model.js.map +1 -0
  244. package/lib/notification/index.d.ts +2 -2
  245. package/lib/notification/index.js +2 -2
  246. package/lib/notification/index.js.map +1 -1
  247. package/lib/notification/notification.model.d.ts +3 -3
  248. package/lib/notification/notification.model.js +10 -10
  249. package/lib/notification/notification.model.js.map +1 -1
  250. package/lib/notification/notification.types.d.ts +11 -0
  251. package/lib/notification/notification.types.js +17 -0
  252. package/lib/notification/notification.types.js.map +1 -0
  253. package/lib/notification/preference.model.d.ts +9 -0
  254. package/lib/notification/preference.model.js +47 -0
  255. package/lib/notification/preference.model.js.map +1 -0
  256. package/lib/payment/index.d.ts +2 -0
  257. package/lib/payment/index.js +19 -0
  258. package/lib/payment/index.js.map +1 -0
  259. package/lib/payment/payment.model.d.ts +14 -0
  260. package/lib/payment/payment.model.js +74 -0
  261. package/lib/payment/payment.model.js.map +1 -0
  262. package/lib/payment/payment.types.d.ts +13 -0
  263. package/lib/payment/payment.types.js +20 -0
  264. package/lib/payment/payment.types.js.map +1 -0
  265. package/lib/payout/index.d.ts +2 -0
  266. package/lib/payout/index.js +19 -0
  267. package/lib/payout/index.js.map +1 -0
  268. package/lib/payout/payout.model.d.ts +12 -0
  269. package/lib/payout/payout.model.js +58 -0
  270. package/lib/payout/payout.model.js.map +1 -0
  271. package/lib/payout/payout.types.d.ts +4 -0
  272. package/lib/payout/payout.types.js +9 -0
  273. package/lib/payout/payout.types.js.map +1 -0
  274. package/lib/priceplan/index.d.ts +2 -0
  275. package/lib/priceplan/index.js +19 -0
  276. package/lib/priceplan/index.js.map +1 -0
  277. package/lib/priceplan/plan.enum.d.ts +10 -0
  278. package/lib/priceplan/plan.enum.js +16 -0
  279. package/lib/priceplan/plan.enum.js.map +1 -0
  280. package/lib/priceplan/plan.model.d.ts +13 -0
  281. package/lib/priceplan/plan.model.js +70 -0
  282. package/lib/priceplan/plan.model.js.map +1 -0
  283. package/lib/refund/index.d.ts +1 -0
  284. package/lib/refund/index.js +18 -0
  285. package/lib/refund/index.js.map +1 -0
  286. package/lib/refund/refund.model.d.ts +11 -0
  287. package/lib/refund/refund.model.js +57 -0
  288. package/lib/refund/refund.model.js.map +1 -0
  289. package/lib/security/account.types.d.ts +8 -0
  290. package/lib/security/account.types.js +13 -0
  291. package/lib/security/account.types.js.map +1 -0
  292. package/lib/security/acl.js +2 -2
  293. package/lib/security/acl.js.map +1 -1
  294. package/lib/security/index.d.ts +4 -2
  295. package/lib/security/index.js +4 -2
  296. package/lib/security/index.js.map +1 -1
  297. package/lib/security/role.dto.d.ts +4 -0
  298. package/lib/security/role.dto.js +24 -0
  299. package/lib/security/role.dto.js.map +1 -0
  300. package/lib/security/role.types.d.ts +9 -0
  301. package/lib/security/role.types.js +14 -0
  302. package/lib/security/role.types.js.map +1 -0
  303. package/lib/security/token.d.ts +7 -0
  304. package/lib/security/token.js +3 -0
  305. package/lib/security/token.js.map +1 -0
  306. package/lib/session/course/index.d.ts +1 -0
  307. package/lib/session/course/index.js +18 -0
  308. package/lib/session/course/index.js.map +1 -0
  309. package/lib/session/course/session.model.d.ts +7 -0
  310. package/lib/session/course/session.model.js +35 -0
  311. package/lib/session/course/session.model.js.map +1 -0
  312. package/lib/session/driving/index.d.ts +3 -0
  313. package/lib/session/driving/index.js +20 -0
  314. package/lib/session/driving/index.js.map +1 -0
  315. package/lib/session/driving/session.model.d.ts +14 -0
  316. package/lib/session/driving/session.model.js +62 -0
  317. package/lib/session/driving/session.model.js.map +1 -0
  318. package/lib/session/driving/session.skill.d.ts +5 -0
  319. package/lib/session/driving/session.skill.js +27 -0
  320. package/lib/session/driving/session.skill.js.map +1 -0
  321. package/lib/session/driving/session.topic.d.ts +12 -0
  322. package/lib/session/driving/session.topic.js +58 -0
  323. package/lib/session/driving/session.topic.js.map +1 -0
  324. package/lib/session/index.d.ts +2 -0
  325. package/lib/session/index.js +19 -0
  326. package/lib/session/index.js.map +1 -0
  327. package/lib/setting/index.d.ts +2 -0
  328. package/lib/setting/index.js +19 -0
  329. package/lib/setting/index.js.map +1 -0
  330. package/lib/setting/setting.model.d.ts +10 -0
  331. package/lib/setting/setting.model.js +52 -0
  332. package/lib/setting/setting.model.js.map +1 -0
  333. package/lib/setting/setting.type.d.ts +7 -0
  334. package/lib/setting/setting.type.js +12 -0
  335. package/lib/setting/setting.type.js.map +1 -0
  336. package/lib/signature/index.d.ts +1 -0
  337. package/lib/signature/index.js +18 -0
  338. package/lib/signature/index.js.map +1 -0
  339. package/lib/signature/signature.model.d.ts +7 -0
  340. package/lib/signature/signature.model.js +42 -0
  341. package/lib/signature/signature.model.js.map +1 -0
  342. package/lib/student/index.d.ts +0 -3
  343. package/lib/student/index.js +0 -3
  344. package/lib/student/index.js.map +1 -1
  345. package/lib/student/student.model.d.ts +1 -8
  346. package/lib/student/student.model.js +1 -28
  347. package/lib/student/student.model.js.map +1 -1
  348. package/lib/training/course.model.d.ts +6 -0
  349. package/lib/training/course.model.js +29 -0
  350. package/lib/training/course.model.js.map +1 -0
  351. package/lib/training/driving.model.d.ts +13 -0
  352. package/lib/training/driving.model.js +59 -0
  353. package/lib/training/driving.model.js.map +1 -0
  354. package/lib/training/index.d.ts +5 -0
  355. package/lib/training/index.js +22 -0
  356. package/lib/training/index.js.map +1 -0
  357. package/lib/training/request.model.d.ts +20 -0
  358. package/lib/training/request.model.js +92 -0
  359. package/lib/training/request.model.js.map +1 -0
  360. package/lib/training/training.model.d.ts +31 -0
  361. package/lib/training/training.model.js +155 -0
  362. package/lib/training/training.model.js.map +1 -0
  363. package/lib/training/training.types.d.ts +15 -0
  364. package/lib/training/training.types.js +22 -0
  365. package/lib/training/training.types.js.map +1 -0
  366. package/lib/tsconfig.tsbuildinfo +1 -1
  367. package/lib/user/index.d.ts +0 -5
  368. package/lib/user/index.js +0 -5
  369. package/lib/user/index.js.map +1 -1
  370. package/lib/user/profile.dto.d.ts +1 -1
  371. package/lib/user/profile.dto.js +2 -2
  372. package/lib/user/profile.dto.js.map +1 -1
  373. package/lib/user/user.model.d.ts +9 -9
  374. package/lib/user/user.model.js +28 -13
  375. package/lib/user/user.model.js.map +1 -1
  376. package/lib/validators/compare.validator.d.ts +5 -0
  377. package/lib/validators/compare.validator.js +28 -0
  378. package/lib/validators/compare.validator.js.map +1 -0
  379. package/lib/validators/index.d.ts +2 -0
  380. package/lib/validators/index.js +19 -0
  381. package/lib/validators/index.js.map +1 -0
  382. package/lib/validators/required.validator.d.ts +11 -0
  383. package/lib/validators/required.validator.js +80 -0
  384. package/lib/validators/required.validator.js.map +1 -0
  385. package/package.json +1 -3
@@ -0,0 +1,57 @@
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.CoursePartDefinition = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const types_1 = require("./types");
15
+ const user_1 = require("../user");
16
+ class CoursePartDefinition {
17
+ id;
18
+ partId;
19
+ startDate;
20
+ endDate;
21
+ defaultInstructor;
22
+ repetition;
23
+ constructor(props) {
24
+ Object.assign(this, props);
25
+ }
26
+ }
27
+ exports.CoursePartDefinition = CoursePartDefinition;
28
+ __decorate([
29
+ (0, class_transformer_1.Expose)(),
30
+ (0, class_transformer_1.Type)(() => Number),
31
+ __metadata("design:type", Number)
32
+ ], CoursePartDefinition.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
+ ], CoursePartDefinition.prototype, "partId", void 0);
38
+ __decorate([
39
+ (0, class_transformer_1.Expose)(),
40
+ (0, class_transformer_1.Type)(() => Date),
41
+ __metadata("design:type", Date)
42
+ ], CoursePartDefinition.prototype, "startDate", void 0);
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ (0, class_transformer_1.Type)(() => Date),
46
+ __metadata("design:type", Date)
47
+ ], CoursePartDefinition.prototype, "endDate", void 0);
48
+ __decorate([
49
+ (0, class_transformer_1.Expose)(),
50
+ (0, class_transformer_1.Type)(() => user_1.User),
51
+ __metadata("design:type", user_1.User)
52
+ ], CoursePartDefinition.prototype, "defaultInstructor", void 0);
53
+ __decorate([
54
+ (0, class_transformer_1.Expose)(),
55
+ __metadata("design:type", String)
56
+ ], CoursePartDefinition.prototype, "repetition", void 0);
57
+ //# sourceMappingURL=definition.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definition.model.js","sourceRoot":"","sources":["../../src/course/definition.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mCAAgD;AAChD,kCAA+B;AAE/B,MAAa,oBAAoB;IAIhC,EAAE,CAAS;IAIX,MAAM,CAAS;IAIf,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,iBAAiB,CAAO;IAGxB,UAAU,CAAwB;IAIlC,YAAY,KAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,oDA8BC;AA1BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oDACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;uDAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;qDAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACE,WAAI;+DAAC;AAGxB;IADC,IAAA,0BAAM,GAAE;;wDACyB"}
@@ -0,0 +1,5 @@
1
+ export * from './appointment.model';
2
+ export * from './course.model';
3
+ export * from './definition.model';
4
+ export * from './part.model';
5
+ export * from './types';
@@ -0,0 +1,22 @@
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("./appointment.model"), exports);
18
+ __exportStar(require("./course.model"), exports);
19
+ __exportStar(require("./definition.model"), exports);
20
+ __exportStar(require("./part.model"), exports);
21
+ __exportStar(require("./types"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/course/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB"}
@@ -0,0 +1,12 @@
1
+ import { User } from "../user";
2
+ export declare class CoursePart {
3
+ id: number;
4
+ instructor: User;
5
+ title: string;
6
+ description: string;
7
+ startDate: Date;
8
+ endDate: Date;
9
+ duration: number;
10
+ sort: number;
11
+ constructor(props?: Partial<CoursePart>);
12
+ }
@@ -0,0 +1,67 @@
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.CoursePart = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const user_1 = require("../user");
15
+ class CoursePart {
16
+ id;
17
+ instructor;
18
+ title;
19
+ description;
20
+ startDate;
21
+ endDate;
22
+ duration;
23
+ sort;
24
+ constructor(props) {
25
+ Object.assign(this, props);
26
+ }
27
+ }
28
+ exports.CoursePart = CoursePart;
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ (0, class_transformer_1.Type)(() => Number),
32
+ __metadata("design:type", Number)
33
+ ], CoursePart.prototype, "id", void 0);
34
+ __decorate([
35
+ (0, class_transformer_1.Expose)(),
36
+ (0, class_transformer_1.Type)(() => user_1.User),
37
+ __metadata("design:type", user_1.User)
38
+ ], CoursePart.prototype, "instructor", void 0);
39
+ __decorate([
40
+ (0, class_transformer_1.Expose)(),
41
+ __metadata("design:type", String)
42
+ ], CoursePart.prototype, "title", void 0);
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ __metadata("design:type", String)
46
+ ], CoursePart.prototype, "description", void 0);
47
+ __decorate([
48
+ (0, class_transformer_1.Expose)(),
49
+ (0, class_transformer_1.Type)(() => Date),
50
+ __metadata("design:type", Date)
51
+ ], CoursePart.prototype, "startDate", void 0);
52
+ __decorate([
53
+ (0, class_transformer_1.Expose)(),
54
+ (0, class_transformer_1.Type)(() => Date),
55
+ __metadata("design:type", Date)
56
+ ], CoursePart.prototype, "endDate", void 0);
57
+ __decorate([
58
+ (0, class_transformer_1.Expose)(),
59
+ (0, class_transformer_1.Type)(() => Number),
60
+ __metadata("design:type", Number)
61
+ ], CoursePart.prototype, "duration", void 0);
62
+ __decorate([
63
+ (0, class_transformer_1.Expose)(),
64
+ (0, class_transformer_1.Type)(() => Number),
65
+ __metadata("design:type", Number)
66
+ ], CoursePart.prototype, "sort", void 0);
67
+ //# sourceMappingURL=part.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"part.model.js","sourceRoot":"","sources":["../../src/course/part.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAA+B;AAE/B,MAAa,UAAU;IAItB,EAAE,CAAS;IAIX,UAAU,CAAO;IAGjB,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAIb,YAAY,KAA2B;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AArCD,gCAqCC;AAjCA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACL,WAAI;8CAAC;AAGjB;IADC,IAAA,0BAAM,GAAE;;yCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;+CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;6CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;2CAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACF;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACN"}
@@ -0,0 +1,15 @@
1
+ export declare enum CourseType {
2
+ Flex = "FLEXIBLE",
3
+ Fix = "FIXED"
4
+ }
5
+ export declare enum CourseStatus {
6
+ Draft = "DRAFT",
7
+ Active = "ACTIVE",
8
+ Ended = "ENDED"
9
+ }
10
+ export declare enum AppointmentRepetition {
11
+ None = "NONE",
12
+ Daily = "DAILY",
13
+ Weekly = "WEEKLY",
14
+ Monthly = "MONTHLY"
15
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppointmentRepetition = exports.CourseStatus = exports.CourseType = void 0;
4
+ var CourseType;
5
+ (function (CourseType) {
6
+ CourseType["Flex"] = "FLEXIBLE";
7
+ CourseType["Fix"] = "FIXED";
8
+ })(CourseType || (exports.CourseType = CourseType = {}));
9
+ var CourseStatus;
10
+ (function (CourseStatus) {
11
+ CourseStatus["Draft"] = "DRAFT";
12
+ CourseStatus["Active"] = "ACTIVE";
13
+ CourseStatus["Ended"] = "ENDED";
14
+ })(CourseStatus || (exports.CourseStatus = CourseStatus = {}));
15
+ var AppointmentRepetition;
16
+ (function (AppointmentRepetition) {
17
+ AppointmentRepetition["None"] = "NONE";
18
+ AppointmentRepetition["Daily"] = "DAILY";
19
+ AppointmentRepetition["Weekly"] = "WEEKLY";
20
+ AppointmentRepetition["Monthly"] = "MONTHLY";
21
+ })(AppointmentRepetition || (exports.AppointmentRepetition = AppointmentRepetition = {}));
22
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/course/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAGX;AAHD,WAAY,UAAU;IACrB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;AACd,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,+BAAe,CAAA;IACf,iCAAiB,CAAA;IACjB,+BAAe,CAAA;AAChB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACpB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
@@ -0,0 +1,9 @@
1
+ import { User } from "../user";
2
+ export declare class Credit {
3
+ id: number;
4
+ description: string;
5
+ amount: number;
6
+ createdBy: User;
7
+ createdOn: Date;
8
+ constructor(props?: Partial<Credit>);
9
+ }
@@ -0,0 +1,50 @@
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.Credit = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const user_1 = require("../user");
15
+ class Credit {
16
+ id;
17
+ description;
18
+ amount;
19
+ createdBy;
20
+ createdOn;
21
+ constructor(props) {
22
+ Object.assign(this, props);
23
+ }
24
+ }
25
+ exports.Credit = Credit;
26
+ __decorate([
27
+ (0, class_transformer_1.Expose)(),
28
+ (0, class_transformer_1.Type)(() => Number),
29
+ __metadata("design:type", Number)
30
+ ], Credit.prototype, "id", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ __metadata("design:type", String)
34
+ ], Credit.prototype, "description", void 0);
35
+ __decorate([
36
+ (0, class_transformer_1.Expose)(),
37
+ (0, class_transformer_1.Type)(() => Number),
38
+ __metadata("design:type", Number)
39
+ ], Credit.prototype, "amount", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ (0, class_transformer_1.Type)(() => user_1.User),
43
+ __metadata("design:type", user_1.User)
44
+ ], Credit.prototype, "createdBy", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Expose)(),
47
+ (0, class_transformer_1.Type)(() => Date),
48
+ __metadata("design:type", Date)
49
+ ], Credit.prototype, "createdOn", void 0);
50
+ //# sourceMappingURL=credit.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credit.model.js","sourceRoot":"","sources":["../../src/credit/credit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAA+B;AAE/B,MAAa,MAAM;IAIlB,EAAE,CAAS;IAGX,WAAW,CAAS;IAIpB,MAAM,CAAS;IAIf,SAAS,CAAO;IAIhB,SAAS,CAAO;IAEhB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAxBD,wBAwBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;2CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACN,WAAI;yCAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;yCAAC"}
@@ -0,0 +1 @@
1
+ export * from './credit.model';
@@ -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("./credit.model"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/credit/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
@@ -0,0 +1,9 @@
1
+ export declare class Currency {
2
+ id: number;
3
+ name: string;
4
+ abbr: string;
5
+ symbol: string;
6
+ chRate: number;
7
+ active: boolean;
8
+ constructor(props?: Partial<Currency>);
9
+ }
@@ -0,0 +1,53 @@
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.Currency = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ class Currency {
15
+ id;
16
+ name;
17
+ abbr;
18
+ symbol;
19
+ chRate;
20
+ active;
21
+ constructor(props) {
22
+ Object.assign(this, props);
23
+ }
24
+ }
25
+ exports.Currency = Currency;
26
+ __decorate([
27
+ (0, class_transformer_1.Expose)(),
28
+ (0, class_transformer_1.Type)(() => Number),
29
+ __metadata("design:type", Number)
30
+ ], Currency.prototype, "id", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ __metadata("design:type", String)
34
+ ], Currency.prototype, "name", void 0);
35
+ __decorate([
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", String)
38
+ ], Currency.prototype, "abbr", void 0);
39
+ __decorate([
40
+ (0, class_transformer_1.Expose)(),
41
+ __metadata("design:type", String)
42
+ ], Currency.prototype, "symbol", void 0);
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ (0, class_transformer_1.Type)(() => Number),
46
+ __metadata("design:type", Number)
47
+ ], Currency.prototype, "chRate", void 0);
48
+ __decorate([
49
+ (0, class_transformer_1.Expose)(),
50
+ (0, class_transformer_1.Type)(() => Boolean),
51
+ __metadata("design:type", Boolean)
52
+ ], Currency.prototype, "active", void 0);
53
+ //# sourceMappingURL=currency.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currency.model.js","sourceRoot":"","sources":["../../src/currency/currency.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,QAAQ;IAGpB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,MAAM,CAAS;IAIf,MAAM,CAAS;IAIf,MAAM,CAAU;IAEhB,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzBD,4BAyBC;AAtBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;sCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;sCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;wCACM;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;wCACJ"}
@@ -0,0 +1 @@
1
+ export * from './currency.model';
@@ -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("./currency.model"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/currency/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
@@ -0,0 +1,11 @@
1
+ export interface IDeviceAgent {
2
+ origin: string;
3
+ address: string;
4
+ model: string;
5
+ brand: string;
6
+ os: string;
7
+ osVersion: string;
8
+ appVersion: string;
9
+ language: string;
10
+ description: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=device.agent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device.agent.js","sourceRoot":"","sources":["../../src/device/device.agent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export declare class Device {
2
+ id: number;
3
+ type: string;
4
+ name: string;
5
+ biometricKey: string;
6
+ description: string;
7
+ constructor(props?: Partial<Device>);
8
+ }
@@ -0,0 +1,46 @@
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.Device = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ class Device {
15
+ id;
16
+ type;
17
+ name;
18
+ biometricKey;
19
+ description;
20
+ constructor(props) {
21
+ Object.assign(this, props);
22
+ }
23
+ }
24
+ exports.Device = Device;
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ (0, class_transformer_1.Type)(() => Number),
28
+ __metadata("design:type", Number)
29
+ ], Device.prototype, "id", void 0);
30
+ __decorate([
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
33
+ ], Device.prototype, "type", void 0);
34
+ __decorate([
35
+ (0, class_transformer_1.Expose)(),
36
+ __metadata("design:type", String)
37
+ ], Device.prototype, "name", void 0);
38
+ __decorate([
39
+ (0, class_transformer_1.Expose)(),
40
+ __metadata("design:type", String)
41
+ ], Device.prototype, "biometricKey", void 0);
42
+ __decorate([
43
+ (0, class_transformer_1.Expose)(),
44
+ __metadata("design:type", String)
45
+ ], Device.prototype, "description", void 0);
46
+ //# sourceMappingURL=device.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device.model.js","sourceRoot":"","sources":["../../src/device/device.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,MAAM;IAIlB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,YAAY,CAAS;IAGrB,WAAW,CAAS;IAEpB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AArBD,wBAqBC;AAjBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;4CACY;AAGrB;IADC,IAAA,0BAAM,GAAE;;2CACW"}
@@ -0,0 +1,2 @@
1
+ export * from './device.agent';
2
+ export * from './device.model';
@@ -0,0 +1,19 @@
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("./device.agent"), exports);
18
+ __exportStar(require("./device.model"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/device/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,iDAA+B"}
@@ -0,0 +1,9 @@
1
+ import { User } from "../user";
2
+ export declare class Discount {
3
+ id: number;
4
+ amount: number;
5
+ description: string;
6
+ createdBy: User;
7
+ createdOn: Date;
8
+ constructor(props?: Partial<Discount>);
9
+ }
@@ -0,0 +1,50 @@
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.Discount = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const user_1 = require("../user");
15
+ class Discount {
16
+ id;
17
+ amount;
18
+ description;
19
+ createdBy;
20
+ createdOn;
21
+ constructor(props) {
22
+ Object.assign(this, props);
23
+ }
24
+ }
25
+ exports.Discount = Discount;
26
+ __decorate([
27
+ (0, class_transformer_1.Expose)(),
28
+ (0, class_transformer_1.Type)(() => Number),
29
+ __metadata("design:type", Number)
30
+ ], Discount.prototype, "id", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ (0, class_transformer_1.Type)(() => Number),
34
+ __metadata("design:type", Number)
35
+ ], Discount.prototype, "amount", void 0);
36
+ __decorate([
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", String)
39
+ ], Discount.prototype, "description", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ (0, class_transformer_1.Type)(() => user_1.User),
43
+ __metadata("design:type", user_1.User)
44
+ ], Discount.prototype, "createdBy", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Expose)(),
47
+ (0, class_transformer_1.Type)(() => Date),
48
+ __metadata("design:type", Date)
49
+ ], Discount.prototype, "createdOn", void 0);
50
+ //# sourceMappingURL=discount.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discount.model.js","sourceRoot":"","sources":["../../src/discount/discount.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAA+B;AAE/B,MAAa,QAAQ;IAIpB,EAAE,CAAS;IAIX,MAAM,CAAS;IAGf,WAAW,CAAS;IAIpB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAEhB,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAxBD,4BAwBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;6CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACN,WAAI;2CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;2CAAC"}
@@ -0,0 +1 @@
1
+ export * from './discount.model';
@@ -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("./discount.model"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/discount/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
@@ -0,0 +1,5 @@
1
+ export declare class CompanySubmitCategoryDto {
2
+ duration: number;
3
+ price: number;
4
+ administrationFee: number;
5
+ }