@intelact/driveup 1.6.0 → 1.7.1

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 (348) hide show
  1. package/lib/agent/agent.model.d.ts +1 -2
  2. package/lib/agent/agent.model.js +3 -4
  3. package/lib/agent/agent.model.js.map +1 -1
  4. package/lib/auth/signin.dto.js +1 -1
  5. package/lib/auth/signin.dto.js.map +1 -1
  6. package/lib/calendar/holiday.d.ts +1 -5
  7. package/lib/calendar/holiday.js +3 -20
  8. package/lib/calendar/holiday.js.map +1 -1
  9. package/lib/common/index.d.ts +0 -2
  10. package/lib/common/index.js +0 -2
  11. package/lib/common/index.js.map +1 -1
  12. package/lib/common/person.d.ts +1 -0
  13. package/lib/common/person.js +22 -0
  14. package/lib/common/person.js.map +1 -1
  15. package/lib/company/company.model.d.ts +6 -7
  16. package/lib/company/company.model.js +10 -11
  17. package/lib/company/company.model.js.map +1 -1
  18. package/lib/credit/credit.model.d.ts +1 -2
  19. package/lib/credit/credit.model.js +1 -3
  20. package/lib/credit/credit.model.js.map +1 -1
  21. package/lib/discount/discount.model.d.ts +3 -4
  22. package/lib/discount/discount.model.js +4 -8
  23. package/lib/discount/discount.model.js.map +1 -1
  24. package/lib/driving/exam/exam.dto.d.ts +1 -2
  25. package/lib/driving/exam/exam.dto.js +2 -3
  26. package/lib/driving/exam/exam.dto.js.map +1 -1
  27. package/lib/driving/exam/exam.model.d.ts +1 -2
  28. package/lib/driving/exam/exam.model.js +3 -4
  29. package/lib/driving/exam/exam.model.js.map +1 -1
  30. package/lib/expense/expense.model.d.ts +5 -6
  31. package/lib/expense/expense.model.js +5 -10
  32. package/lib/expense/expense.model.js.map +1 -1
  33. package/lib/feedback/feedback.model.d.ts +1 -2
  34. package/lib/feedback/feedback.model.js +2 -4
  35. package/lib/feedback/feedback.model.js.map +1 -1
  36. package/lib/finance/finance.model.d.ts +6 -7
  37. package/lib/finance/finance.model.js +6 -11
  38. package/lib/finance/finance.model.js.map +1 -1
  39. package/lib/geo/address.dto.d.ts +1 -1
  40. package/lib/geo/address.dto.js +2 -2
  41. package/lib/geo/address.dto.js.map +1 -1
  42. package/lib/geo/address.model.d.ts +6 -4
  43. package/lib/geo/address.model.js +13 -2
  44. package/lib/geo/address.model.js.map +1 -1
  45. package/lib/geo/index.d.ts +0 -2
  46. package/lib/geo/index.js +0 -2
  47. package/lib/geo/index.js.map +1 -1
  48. package/lib/geo/pickup.model.d.ts +2 -2
  49. package/lib/geo/pickup.model.js +3 -3
  50. package/lib/geo/pickup.model.js.map +1 -1
  51. package/lib/index.d.ts +0 -5
  52. package/lib/index.js +0 -5
  53. package/lib/index.js.map +1 -1
  54. package/lib/instructor/instructor.model.d.ts +4 -6
  55. package/lib/instructor/instructor.model.js +6 -10
  56. package/lib/instructor/instructor.model.js.map +1 -1
  57. package/lib/invoice/invoice.model.d.ts +6 -8
  58. package/lib/invoice/invoice.model.js +8 -14
  59. package/lib/invoice/invoice.model.js.map +1 -1
  60. package/lib/license/license.model.d.ts +2 -0
  61. package/lib/license/license.model.js +10 -0
  62. package/lib/license/license.model.js.map +1 -1
  63. package/lib/note/note.model.d.ts +1 -1
  64. package/lib/note/note.model.js.map +1 -1
  65. package/lib/notification/notification.model.d.ts +3 -4
  66. package/lib/notification/notification.model.js +5 -5
  67. package/lib/notification/notification.model.js.map +1 -1
  68. package/lib/payment/payment.model.d.ts +3 -4
  69. package/lib/payment/payment.model.js +4 -8
  70. package/lib/payment/payment.model.js.map +1 -1
  71. package/lib/payout/payout.model.d.ts +2 -4
  72. package/lib/payout/payout.model.js +4 -7
  73. package/lib/payout/payout.model.js.map +1 -1
  74. package/lib/priceplan/plan.model.d.ts +1 -2
  75. package/lib/priceplan/plan.model.js +1 -7
  76. package/lib/priceplan/plan.model.js.map +1 -1
  77. package/lib/refund/refund.model.d.ts +4 -6
  78. package/lib/refund/refund.model.js +6 -11
  79. package/lib/refund/refund.model.js.map +1 -1
  80. package/lib/session/driving/session.model.d.ts +4 -4
  81. package/lib/session/driving/session.model.js +6 -6
  82. package/lib/session/driving/session.model.js.map +1 -1
  83. package/lib/session/driving/session.topic.d.ts +3 -4
  84. package/lib/session/driving/session.topic.js +3 -5
  85. package/lib/session/driving/session.topic.js.map +1 -1
  86. package/lib/training/driving.model.d.ts +1 -1
  87. package/lib/training/driving.model.js +1 -1
  88. package/lib/training/driving.model.js.map +1 -1
  89. package/lib/training/request.model.d.ts +4 -5
  90. package/lib/training/request.model.js +5 -9
  91. package/lib/training/request.model.js.map +1 -1
  92. package/lib/training/training.dto.d.ts +5 -2
  93. package/lib/training/training.dto.js +13 -3
  94. package/lib/training/training.dto.js.map +1 -1
  95. package/lib/training/training.model.d.ts +7 -9
  96. package/lib/training/training.model.js +9 -15
  97. package/lib/training/training.model.js.map +1 -1
  98. package/lib/tsconfig.tsbuildinfo +1 -1
  99. package/lib/user/profile.dto.d.ts +0 -3
  100. package/lib/user/profile.dto.js +2 -12
  101. package/lib/user/profile.dto.js.map +1 -1
  102. package/lib/user/user.model.d.ts +5 -8
  103. package/lib/user/user.model.js +7 -10
  104. package/lib/user/user.model.js.map +1 -1
  105. package/lib/utils/array.helper.d.ts +7 -0
  106. package/lib/utils/array.helper.js +9 -0
  107. package/lib/utils/array.helper.js.map +1 -1
  108. package/package.json +2 -2
  109. package/lib/agent/asset.type.d.ts +0 -5
  110. package/lib/agent/asset.type.js +0 -10
  111. package/lib/agent/asset.type.js.map +0 -1
  112. package/lib/agent/earning.type.d.ts +0 -6
  113. package/lib/agent/earning.type.js +0 -3
  114. package/lib/agent/earning.type.js.map +0 -1
  115. package/lib/alert/alert.content.d.ts +0 -4
  116. package/lib/alert/alert.content.js +0 -9
  117. package/lib/alert/alert.content.js.map +0 -1
  118. package/lib/bill/bill-item.type.d.ts +0 -5
  119. package/lib/bill/bill-item.type.js +0 -10
  120. package/lib/bill/bill-item.type.js.map +0 -1
  121. package/lib/bill/bill.status.d.ts +0 -5
  122. package/lib/bill/bill.status.js +0 -13
  123. package/lib/bill/bill.status.js.map +0 -1
  124. package/lib/calendar/types.d.ts +0 -19
  125. package/lib/calendar/types.js +0 -25
  126. package/lib/calendar/types.js.map +0 -1
  127. package/lib/common/context.d.ts +0 -6
  128. package/lib/common/context.js +0 -11
  129. package/lib/common/context.js.map +0 -1
  130. package/lib/course/types.d.ts +0 -15
  131. package/lib/course/types.js +0 -22
  132. package/lib/course/types.js.map +0 -1
  133. package/lib/driving/lesson/types.d.ts +0 -15
  134. package/lib/driving/lesson/types.js +0 -21
  135. package/lib/driving/lesson/types.js.map +0 -1
  136. package/lib/driving/types.d.ts +0 -9
  137. package/lib/driving/types.js +0 -15
  138. package/lib/driving/types.js.map +0 -1
  139. package/lib/event/event.dto.d.ts +0 -24
  140. package/lib/event/event.dto.js +0 -146
  141. package/lib/event/event.dto.js.map +0 -1
  142. package/lib/event/event.model.d.ts +0 -8
  143. package/lib/event/event.model.js +0 -49
  144. package/lib/event/event.model.js.map +0 -1
  145. package/lib/event/index.d.ts +0 -2
  146. package/lib/event/index.js +0 -19
  147. package/lib/event/index.js.map +0 -1
  148. package/lib/events/agent/account.events.d.ts +0 -27
  149. package/lib/events/agent/account.events.js +0 -32
  150. package/lib/events/agent/account.events.js.map +0 -1
  151. package/lib/events/agent/payout.events.d.ts +0 -29
  152. package/lib/events/agent/payout.events.js +0 -34
  153. package/lib/events/agent/payout.events.js.map +0 -1
  154. package/lib/events/agent/profile.events.d.ts +0 -18
  155. package/lib/events/agent/profile.events.js +0 -23
  156. package/lib/events/agent/profile.events.js.map +0 -1
  157. package/lib/events/agent/promotion.events.d.ts +0 -42
  158. package/lib/events/agent/promotion.events.js +0 -47
  159. package/lib/events/agent/promotion.events.js.map +0 -1
  160. package/lib/events/auth/auth.events.d.ts +0 -16
  161. package/lib/events/auth/auth.events.js +0 -21
  162. package/lib/events/auth/auth.events.js.map +0 -1
  163. package/lib/events/auth/token.events.d.ts +0 -23
  164. package/lib/events/auth/token.events.js +0 -28
  165. package/lib/events/auth/token.events.js.map +0 -1
  166. package/lib/events/auth/verify.events.d.ts +0 -17
  167. package/lib/events/auth/verify.events.js +0 -22
  168. package/lib/events/auth/verify.events.js.map +0 -1
  169. package/lib/events/company/account/account.events.d.ts +0 -64
  170. package/lib/events/company/account/account.events.js +0 -69
  171. package/lib/events/company/account/account.events.js.map +0 -1
  172. package/lib/events/company/account/profile.events.d.ts +0 -169
  173. package/lib/events/company/account/profile.events.js +0 -174
  174. package/lib/events/company/account/profile.events.js.map +0 -1
  175. package/lib/events/company/course/appointment.events.d.ts +0 -56
  176. package/lib/events/company/course/appointment.events.js +0 -61
  177. package/lib/events/company/course/appointment.events.js.map +0 -1
  178. package/lib/events/company/course/course.events.d.ts +0 -118
  179. package/lib/events/company/course/course.events.js +0 -123
  180. package/lib/events/company/course/course.events.js.map +0 -1
  181. package/lib/events/company/course/lesson.events.d.ts +0 -56
  182. package/lib/events/company/course/lesson.events.js +0 -61
  183. package/lib/events/company/course/lesson.events.js.map +0 -1
  184. package/lib/events/company/course/topic.events.d.ts +0 -76
  185. package/lib/events/company/course/topic.events.js +0 -81
  186. package/lib/events/company/course/topic.events.js.map +0 -1
  187. package/lib/events/company/product/addon.events.d.ts +0 -34
  188. package/lib/events/company/product/addon.events.js +0 -39
  189. package/lib/events/company/product/addon.events.js.map +0 -1
  190. package/lib/events/company/product/campaign.events.d.ts +0 -13
  191. package/lib/events/company/product/campaign.events.js +0 -18
  192. package/lib/events/company/product/campaign.events.js.map +0 -1
  193. package/lib/events/company/product/product.events.d.ts +0 -54
  194. package/lib/events/company/product/product.events.js +0 -59
  195. package/lib/events/company/product/product.events.js.map +0 -1
  196. package/lib/events/index.d.ts +0 -25
  197. package/lib/events/index.js +0 -42
  198. package/lib/events/index.js.map +0 -1
  199. package/lib/events/instructor/account/account.events.d.ts +0 -123
  200. package/lib/events/instructor/account/account.events.js +0 -128
  201. package/lib/events/instructor/account/account.events.js.map +0 -1
  202. package/lib/events/instructor/account/profile.events.d.ts +0 -31
  203. package/lib/events/instructor/account/profile.events.js +0 -36
  204. package/lib/events/instructor/account/profile.events.js.map +0 -1
  205. package/lib/events/instructor/task/task.events.d.ts +0 -24
  206. package/lib/events/instructor/task/task.events.js +0 -29
  207. package/lib/events/instructor/task/task.events.js.map +0 -1
  208. package/lib/events/student/account/account.events.d.ts +0 -36
  209. package/lib/events/student/account/account.events.js +0 -41
  210. package/lib/events/student/account/account.events.js.map +0 -1
  211. package/lib/events/user/account.events.d.ts +0 -84
  212. package/lib/events/user/account.events.js +0 -89
  213. package/lib/events/user/account.events.js.map +0 -1
  214. package/lib/events/user/alert.events.d.ts +0 -16
  215. package/lib/events/user/alert.events.js +0 -21
  216. package/lib/events/user/alert.events.js.map +0 -1
  217. package/lib/events/user/device.events.d.ts +0 -30
  218. package/lib/events/user/device.events.js +0 -35
  219. package/lib/events/user/device.events.js.map +0 -1
  220. package/lib/events/user/notification.events.d.ts +0 -30
  221. package/lib/events/user/notification.events.js +0 -35
  222. package/lib/events/user/notification.events.js.map +0 -1
  223. package/lib/events/user/profile.events.d.ts +0 -60
  224. package/lib/events/user/profile.events.js +0 -65
  225. package/lib/events/user/profile.events.js.map +0 -1
  226. package/lib/expense/expense.types.d.ts +0 -5
  227. package/lib/expense/expense.types.js +0 -10
  228. package/lib/expense/expense.types.js.map +0 -1
  229. package/lib/finance/finance.type.d.ts +0 -21
  230. package/lib/finance/finance.type.js +0 -21
  231. package/lib/finance/finance.type.js.map +0 -1
  232. package/lib/free-benefit/free-benefit.type.d.ts +0 -4
  233. package/lib/free-benefit/free-benefit.type.js +0 -9
  234. package/lib/free-benefit/free-benefit.type.js.map +0 -1
  235. package/lib/handover/handover.document.d.ts +0 -5
  236. package/lib/handover/handover.document.js +0 -3
  237. package/lib/handover/handover.document.js.map +0 -1
  238. package/lib/invoice/invoice.types.d.ts +0 -6
  239. package/lib/invoice/invoice.types.js +0 -11
  240. package/lib/invoice/invoice.types.js.map +0 -1
  241. package/lib/log/log.type.d.ts +0 -9
  242. package/lib/log/log.type.js +0 -14
  243. package/lib/log/log.type.js.map +0 -1
  244. package/lib/notification/notification.channel.d.ts +0 -6
  245. package/lib/notification/notification.channel.js +0 -11
  246. package/lib/notification/notification.channel.js.map +0 -1
  247. package/lib/payment/payment.types.d.ts +0 -13
  248. package/lib/payment/payment.types.js +0 -20
  249. package/lib/payment/payment.types.js.map +0 -1
  250. package/lib/payout/payout.types.d.ts +0 -4
  251. package/lib/payout/payout.types.js +0 -9
  252. package/lib/payout/payout.types.js.map +0 -1
  253. package/lib/priceplan/plan.enum.d.ts +0 -23
  254. package/lib/priceplan/plan.enum.js +0 -29
  255. package/lib/priceplan/plan.enum.js.map +0 -1
  256. package/lib/product/index.d.ts +0 -3
  257. package/lib/product/index.js +0 -20
  258. package/lib/product/index.js.map +0 -1
  259. package/lib/product/product.dto.d.ts +0 -12
  260. package/lib/product/product.dto.js +0 -69
  261. package/lib/product/product.dto.js.map +0 -1
  262. package/lib/product/product.model.d.ts +0 -12
  263. package/lib/product/product.model.js +0 -61
  264. package/lib/product/product.model.js.map +0 -1
  265. package/lib/product/product.type.d.ts +0 -4
  266. package/lib/product/product.type.js +0 -9
  267. package/lib/product/product.type.js.map +0 -1
  268. package/lib/security/account.types.d.ts +0 -8
  269. package/lib/security/account.types.js +0 -13
  270. package/lib/security/account.types.js.map +0 -1
  271. package/lib/security/acl.d.ts +0 -6
  272. package/lib/security/acl.js +0 -11
  273. package/lib/security/acl.js.map +0 -1
  274. package/lib/security/permissions.d.ts +0 -9
  275. package/lib/security/permissions.js +0 -14
  276. package/lib/security/permissions.js.map +0 -1
  277. package/lib/security/role.types.d.ts +0 -41
  278. package/lib/security/role.types.js +0 -46
  279. package/lib/security/role.types.js.map +0 -1
  280. package/lib/setting/setting.type.d.ts +0 -7
  281. package/lib/setting/setting.type.js +0 -12
  282. package/lib/setting/setting.type.js.map +0 -1
  283. package/lib/ticket/ticket.enum.d.ts +0 -5
  284. package/lib/ticket/ticket.enum.js +0 -10
  285. package/lib/ticket/ticket.enum.js.map +0 -1
  286. package/lib/training/training.types.d.ts +0 -15
  287. package/lib/training/training.types.js +0 -22
  288. package/lib/training/training.types.js.map +0 -1
  289. package/lib/types/activity.type.d.ts +0 -46
  290. package/lib/types/activity.type.js +0 -51
  291. package/lib/types/activity.type.js.map +0 -1
  292. package/lib/types/addon.type.d.ts +0 -66
  293. package/lib/types/addon.type.js +0 -71
  294. package/lib/types/addon.type.js.map +0 -1
  295. package/lib/types/calendar.type.d.ts +0 -24
  296. package/lib/types/calendar.type.js +0 -31
  297. package/lib/types/calendar.type.js.map +0 -1
  298. package/lib/types/driving.type.d.ts +0 -12
  299. package/lib/types/driving.type.js +0 -18
  300. package/lib/types/driving.type.js.map +0 -1
  301. package/lib/types/earning.type.d.ts +0 -6
  302. package/lib/types/earning.type.js +0 -3
  303. package/lib/types/earning.type.js.map +0 -1
  304. package/lib/types/finance.type.d.ts +0 -67
  305. package/lib/types/finance.type.js +0 -77
  306. package/lib/types/finance.type.js.map +0 -1
  307. package/lib/types/index.d.ts +0 -15
  308. package/lib/types/index.js +0 -32
  309. package/lib/types/index.js.map +0 -1
  310. package/lib/types/interface.d.ts +0 -79
  311. package/lib/types/interface.js +0 -4
  312. package/lib/types/interface.js.map +0 -1
  313. package/lib/types/metric.type.d.ts +0 -34
  314. package/lib/types/metric.type.js +0 -39
  315. package/lib/types/metric.type.js.map +0 -1
  316. package/lib/types/policy.type.d.ts +0 -27
  317. package/lib/types/policy.type.js +0 -32
  318. package/lib/types/policy.type.js.map +0 -1
  319. package/lib/types/priceplan.type.d.ts +0 -39
  320. package/lib/types/priceplan.type.js +0 -48
  321. package/lib/types/priceplan.type.js.map +0 -1
  322. package/lib/types/product.type.d.ts +0 -202
  323. package/lib/types/product.type.js +0 -209
  324. package/lib/types/product.type.js.map +0 -1
  325. package/lib/types/program.type.d.ts +0 -23
  326. package/lib/types/program.type.js +0 -28
  327. package/lib/types/program.type.js.map +0 -1
  328. package/lib/types/security.type.d.ts +0 -54
  329. package/lib/types/security.type.js +0 -60
  330. package/lib/types/security.type.js.map +0 -1
  331. package/lib/types/support.type.d.ts +0 -128
  332. package/lib/types/support.type.js +0 -145
  333. package/lib/types/support.type.js.map +0 -1
  334. package/lib/types/training.type.d.ts +0 -16
  335. package/lib/types/training.type.js +0 -22
  336. package/lib/types/training.type.js.map +0 -1
  337. package/lib/user/profile.type.d.ts +0 -10
  338. package/lib/user/profile.type.js +0 -15
  339. package/lib/user/profile.type.js.map +0 -1
  340. package/lib/validators/compare.validator.d.ts +0 -9
  341. package/lib/validators/compare.validator.js +0 -34
  342. package/lib/validators/compare.validator.js.map +0 -1
  343. package/lib/validators/index.d.ts +0 -2
  344. package/lib/validators/index.js +0 -19
  345. package/lib/validators/index.js.map +0 -1
  346. package/lib/validators/required.validator.d.ts +0 -21
  347. package/lib/validators/required.validator.js +0 -95
  348. package/lib/validators/required.validator.js.map +0 -1
@@ -1,6 +0,0 @@
1
- export declare enum NotificationChannel {
2
- App = "app",
3
- Push = "push",
4
- SMS = "sms",
5
- Email = "email"
6
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationChannel = void 0;
4
- var NotificationChannel;
5
- (function (NotificationChannel) {
6
- NotificationChannel["App"] = "app";
7
- NotificationChannel["Push"] = "push";
8
- NotificationChannel["SMS"] = "sms";
9
- NotificationChannel["Email"] = "email";
10
- })(NotificationChannel || (exports.NotificationChannel = NotificationChannel = {}));
11
- //# sourceMappingURL=notification.channel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.channel.js","sourceRoot":"","sources":["../../src/notification/notification.channel.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,kCAAW,CAAA;IACX,oCAAa,CAAA;IACb,kCAAW,CAAA;IACX,sCAAe,CAAA;AAChB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
@@ -1,13 +0,0 @@
1
- export declare enum PaymentType {
2
- Cash = "CASH",
3
- Transaction = "TRANSACTION",
4
- Invoice = "INVOICE"
5
- }
6
- export declare enum PaymentStatus {
7
- Pending = "PENDING",
8
- Paid = "PAID",
9
- Faild = "FAILD"
10
- }
11
- export declare enum PaymentProviderType {
12
- Stripe = "STRIPE"
13
- }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentProviderType = exports.PaymentStatus = exports.PaymentType = void 0;
4
- var PaymentType;
5
- (function (PaymentType) {
6
- PaymentType["Cash"] = "CASH";
7
- PaymentType["Transaction"] = "TRANSACTION";
8
- PaymentType["Invoice"] = "INVOICE";
9
- })(PaymentType || (exports.PaymentType = PaymentType = {}));
10
- var PaymentStatus;
11
- (function (PaymentStatus) {
12
- PaymentStatus["Pending"] = "PENDING";
13
- PaymentStatus["Paid"] = "PAID";
14
- PaymentStatus["Faild"] = "FAILD";
15
- })(PaymentStatus || (exports.PaymentStatus = PaymentStatus = {}));
16
- var PaymentProviderType;
17
- (function (PaymentProviderType) {
18
- PaymentProviderType["Stripe"] = "STRIPE";
19
- })(PaymentProviderType || (exports.PaymentProviderType = PaymentProviderType = {}));
20
- //# sourceMappingURL=payment.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payment.types.js","sourceRoot":"","sources":["../../src/payment/payment.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAIX;AAJD,WAAY,WAAW;IACtB,4BAAa,CAAA;IACb,0CAA2B,CAAA;IAC3B,kCAAmB,CAAA;AACpB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,gCAAe,CAAA;AAChB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAED,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;AAClB,CAAC,EAFW,mBAAmB,mCAAnB,mBAAmB,QAE9B"}
@@ -1,4 +0,0 @@
1
- export declare enum PayoutStatus {
2
- Pending = "PENDING",
3
- Paid = "PAID"
4
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PayoutStatus = void 0;
4
- var PayoutStatus;
5
- (function (PayoutStatus) {
6
- PayoutStatus["Pending"] = "PENDING";
7
- PayoutStatus["Paid"] = "PAID";
8
- })(PayoutStatus || (exports.PayoutStatus = PayoutStatus = {}));
9
- //# sourceMappingURL=payout.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payout.types.js","sourceRoot":"","sources":["../../src/payout/payout.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,mCAAmB,CAAA;IACnB,6BAAa,CAAA;AACd,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
@@ -1,23 +0,0 @@
1
- export declare enum PricePlanType {
2
- Free = "free",
3
- PayAsYouUse = "payasyouuse",
4
- Subscription = "subscription",
5
- Enterprise = "enterprise"
6
- }
7
- export declare enum PricePlanFeature {
8
- NoCreditCardRequired = "priceplan.feature.noCreditCardRequired",
9
- StartCreditGift = "priceplan.feature.startCreditGift",
10
- UnlimetedInstructorsAndStudent = "priceplan.feature.unlimetedInstructorsAndStudent",
11
- AccessToAllFeaturesAllDevices = "priceplan.feature.accessToAllFeaturesAllDevices",
12
- PayOnlyForWhatYouUse = "priceplan.feature.payOnlyForWhatYouUse",
13
- SimpleMonthlyBillingAndAutomatic = "priceplan.feature.simpleMonthlyBillingAndAutomatic",
14
- NoLimitsOnTrainingsStudentsInstructors = "priceplan.feature.noLimitsOnTrainingsStudentsInstructors",
15
- FixedMonthlyPricePerUser = "priceplan.feature.fixedMonthlyPricePerUser",
16
- NoPerTrainingFees = "priceplan.feature.noPerTrainingFees",
17
- CustomFixedPricePerTeam = "priceplan.feature.customFixedPricePerTeam",
18
- DedicatedSupportAndOnboarding = "priceplan.feature.dedicatedSupportAndOnboarding",
19
- UsageMonthlyFreeTrainings = "priceplan.usage.monthlyFreeTrainings",
20
- UsageMonthlyRegistredTranings = "priceplan.usage.monthlyRegistredTranings",
21
- UsageMonthlyActiveInstructors = "priceplan.usage.monthlyActiveInstructors",
22
- UsageMonthlyUsedSeats = "priceplan.usage.monthlyUsedSeats"
23
- }
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PricePlanFeature = exports.PricePlanType = void 0;
4
- var PricePlanType;
5
- (function (PricePlanType) {
6
- PricePlanType["Free"] = "free";
7
- PricePlanType["PayAsYouUse"] = "payasyouuse";
8
- PricePlanType["Subscription"] = "subscription";
9
- PricePlanType["Enterprise"] = "enterprise";
10
- })(PricePlanType || (exports.PricePlanType = PricePlanType = {}));
11
- var PricePlanFeature;
12
- (function (PricePlanFeature) {
13
- PricePlanFeature["NoCreditCardRequired"] = "priceplan.feature.noCreditCardRequired";
14
- PricePlanFeature["StartCreditGift"] = "priceplan.feature.startCreditGift";
15
- PricePlanFeature["UnlimetedInstructorsAndStudent"] = "priceplan.feature.unlimetedInstructorsAndStudent";
16
- PricePlanFeature["AccessToAllFeaturesAllDevices"] = "priceplan.feature.accessToAllFeaturesAllDevices";
17
- PricePlanFeature["PayOnlyForWhatYouUse"] = "priceplan.feature.payOnlyForWhatYouUse";
18
- PricePlanFeature["SimpleMonthlyBillingAndAutomatic"] = "priceplan.feature.simpleMonthlyBillingAndAutomatic";
19
- PricePlanFeature["NoLimitsOnTrainingsStudentsInstructors"] = "priceplan.feature.noLimitsOnTrainingsStudentsInstructors";
20
- PricePlanFeature["FixedMonthlyPricePerUser"] = "priceplan.feature.fixedMonthlyPricePerUser";
21
- PricePlanFeature["NoPerTrainingFees"] = "priceplan.feature.noPerTrainingFees";
22
- PricePlanFeature["CustomFixedPricePerTeam"] = "priceplan.feature.customFixedPricePerTeam";
23
- PricePlanFeature["DedicatedSupportAndOnboarding"] = "priceplan.feature.dedicatedSupportAndOnboarding";
24
- PricePlanFeature["UsageMonthlyFreeTrainings"] = "priceplan.usage.monthlyFreeTrainings";
25
- PricePlanFeature["UsageMonthlyRegistredTranings"] = "priceplan.usage.monthlyRegistredTranings";
26
- PricePlanFeature["UsageMonthlyActiveInstructors"] = "priceplan.usage.monthlyActiveInstructors";
27
- PricePlanFeature["UsageMonthlyUsedSeats"] = "priceplan.usage.monthlyUsedSeats";
28
- })(PricePlanFeature || (exports.PricePlanFeature = PricePlanFeature = {}));
29
- //# sourceMappingURL=plan.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plan.enum.js","sourceRoot":"","sources":["../../src/priceplan/plan.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,aAKX;AALD,WAAY,aAAa;IACxB,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,8CAA6B,CAAA;IAC7B,0CAAyB,CAAA;AAC1B,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,IAAY,gBAgBX;AAhBD,WAAY,gBAAgB;IAC3B,mFAA+D,CAAA;IAC/D,yEAAqD,CAAA;IACrD,uGAAmF,CAAA;IACnF,qGAAiF,CAAA;IACjF,mFAA+D,CAAA;IAC/D,2GAAuF,CAAA;IACvF,uHAAmG,CAAA;IACnG,2FAAuE,CAAA;IACvE,6EAAyD,CAAA;IACzD,yFAAqE,CAAA;IACrE,qGAAiF,CAAA;IACjF,sFAAkE,CAAA;IAClE,8FAA0E,CAAA;IAC1E,8FAA0E,CAAA;IAC1E,8EAA0D,CAAA;AAC3D,CAAC,EAhBW,gBAAgB,gCAAhB,gBAAgB,QAgB3B"}
@@ -1,3 +0,0 @@
1
- export * from './product.dto';
2
- export * from './product.model';
3
- export * from './product.type';
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./product.dto"), exports);
18
- __exportStar(require("./product.model"), exports);
19
- __exportStar(require("./product.type"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,iDAA+B"}
@@ -1,12 +0,0 @@
1
- import { DriveupProductType } from "./product.type";
2
- export declare class SystemProductFilterDto {
3
- countryId?: number;
4
- active: boolean;
5
- }
6
- export declare class SystemProductSubmitDto {
7
- type: DriveupProductType;
8
- name: string;
9
- description: string;
10
- freeBenefits: number;
11
- vat: number;
12
- }
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SystemProductSubmitDto = exports.SystemProductFilterDto = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- const product_type_1 = require("./product.type");
16
- class SystemProductFilterDto {
17
- countryId;
18
- active;
19
- }
20
- exports.SystemProductFilterDto = SystemProductFilterDto;
21
- __decorate([
22
- (0, class_validator_1.IsOptional)(),
23
- (0, class_transformer_1.Transform)(({ value }) => value ? +value : undefined),
24
- (0, class_validator_1.IsNumber)(),
25
- (0, class_validator_1.Min)(1),
26
- __metadata("design:type", Number)
27
- ], SystemProductFilterDto.prototype, "countryId", void 0);
28
- __decorate([
29
- (0, class_validator_1.IsOptional)(),
30
- __metadata("design:type", Boolean)
31
- ], SystemProductFilterDto.prototype, "active", void 0);
32
- class SystemProductSubmitDto {
33
- type;
34
- name;
35
- description;
36
- freeBenefits;
37
- vat;
38
- }
39
- exports.SystemProductSubmitDto = SystemProductSubmitDto;
40
- __decorate([
41
- (0, class_validator_1.IsNotEmpty)(),
42
- (0, class_validator_1.IsEnum)(product_type_1.DriveupProductType),
43
- __metadata("design:type", String)
44
- ], SystemProductSubmitDto.prototype, "type", void 0);
45
- __decorate([
46
- (0, class_validator_1.IsNotEmpty)(),
47
- (0, class_transformer_1.Transform)(({ value }) => value?.trim()),
48
- (0, class_validator_1.IsString)(),
49
- __metadata("design:type", String)
50
- ], SystemProductSubmitDto.prototype, "name", void 0);
51
- __decorate([
52
- (0, class_validator_1.IsOptional)(),
53
- (0, class_transformer_1.Transform)(({ value }) => value?.trim()),
54
- (0, class_validator_1.IsString)(),
55
- __metadata("design:type", String)
56
- ], SystemProductSubmitDto.prototype, "description", void 0);
57
- __decorate([
58
- (0, class_validator_1.IsOptional)(),
59
- (0, class_validator_1.IsNumber)(),
60
- (0, class_validator_1.Min)(0),
61
- __metadata("design:type", Number)
62
- ], SystemProductSubmitDto.prototype, "freeBenefits", void 0);
63
- __decorate([
64
- (0, class_validator_1.IsNotEmpty)(),
65
- (0, class_validator_1.IsNumber)(),
66
- (0, class_validator_1.Min)(0),
67
- __metadata("design:type", Number)
68
- ], SystemProductSubmitDto.prototype, "vat", void 0);
69
- //# sourceMappingURL=product.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../src/product/product.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA0F;AAC1F,iDAAoD;AAEpD,MAAa,sBAAsB;IAKlC,SAAS,CAAU;IAGnB,MAAM,CAAU;CAChB;AATD,wDASC;AAJA;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IACpD,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;yDACY;AAGnB;IADC,IAAA,4BAAU,GAAE;;sDACG;AAGjB,MAAa,sBAAsB;IAGlC,IAAI,CAAqB;IAKzB,IAAI,CAAS;IAKb,WAAW,CAAS;IAKpB,YAAY,CAAS;IAKrB,GAAG,CAAS;CACZ;AAxBD,wDAwBC;AArBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iCAAkB,CAAC;;oDACF;AAKzB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,0BAAQ,GAAE;;oDACE;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,0BAAQ,GAAE;;2DACS;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;4DACc;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;mDACK"}
@@ -1,12 +0,0 @@
1
- import { DriveupProductType } from "./product.type";
2
- export declare class Product {
3
- id: number;
4
- name: string;
5
- description: string;
6
- type: DriveupProductType;
7
- freeBenefits: number;
8
- vat: number;
9
- active: boolean;
10
- /************************* methods *************************/
11
- constructor(init?: Partial<Product>);
12
- }
@@ -1,61 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Product = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const product_type_1 = require("./product.type");
15
- class Product {
16
- id;
17
- name;
18
- description;
19
- type;
20
- freeBenefits;
21
- vat;
22
- active;
23
- /************************* methods *************************/
24
- constructor(init) {
25
- Object.assign(this, init);
26
- }
27
- }
28
- exports.Product = Product;
29
- __decorate([
30
- (0, class_transformer_1.Expose)(),
31
- (0, class_transformer_1.Type)(() => Number),
32
- __metadata("design:type", Number)
33
- ], Product.prototype, "id", void 0);
34
- __decorate([
35
- (0, class_transformer_1.Expose)(),
36
- __metadata("design:type", String)
37
- ], Product.prototype, "name", void 0);
38
- __decorate([
39
- (0, class_transformer_1.Expose)(),
40
- __metadata("design:type", String)
41
- ], Product.prototype, "description", void 0);
42
- __decorate([
43
- (0, class_transformer_1.Expose)(),
44
- __metadata("design:type", String)
45
- ], Product.prototype, "type", void 0);
46
- __decorate([
47
- (0, class_transformer_1.Expose)(),
48
- (0, class_transformer_1.Type)(() => Number),
49
- __metadata("design:type", Number)
50
- ], Product.prototype, "freeBenefits", void 0);
51
- __decorate([
52
- (0, class_transformer_1.Expose)(),
53
- (0, class_transformer_1.Type)(() => Number),
54
- __metadata("design:type", Number)
55
- ], Product.prototype, "vat", void 0);
56
- __decorate([
57
- (0, class_transformer_1.Expose)(),
58
- (0, class_transformer_1.Type)(() => Boolean),
59
- __metadata("design:type", Boolean)
60
- ], Product.prototype, "active", void 0);
61
- //# sourceMappingURL=product.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product.model.js","sourceRoot":"","sources":["../../src/product/product.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,iDAAoD;AAEpD,MAAa,OAAO;IAGnB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,WAAW,CAAS;IAGpB,IAAI,CAAqB;IAIzB,YAAY,CAAS;IAIrB,GAAG,CAAS;IAIZ,MAAM,CAAU;IAEhB,6DAA6D;IAE7D,YAAY,IAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,CAAC;CACD;AA/BD,0BA+BC;AA5BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;4CACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;qCACgB;AAIzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6CACE;AAIrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACP;AAIZ;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;uCACJ"}
@@ -1,4 +0,0 @@
1
- export declare enum DriveupProductType {
2
- DrivingTraining = "product.drivingTraining",
3
- CourseTraining = "product.courseTraining"
4
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DriveupProductType = void 0;
4
- var DriveupProductType;
5
- (function (DriveupProductType) {
6
- DriveupProductType["DrivingTraining"] = "product.drivingTraining";
7
- DriveupProductType["CourseTraining"] = "product.courseTraining";
8
- })(DriveupProductType || (exports.DriveupProductType = DriveupProductType = {}));
9
- //# sourceMappingURL=product.type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product.type.js","sourceRoot":"","sources":["../../src/product/product.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,iEAA2C,CAAA;IAC3C,+DAAyC,CAAA;AAC1C,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B"}
@@ -1,8 +0,0 @@
1
- export declare enum AccountStatus {
2
- Invited = "INVITED",
3
- Pending = "PENDING",
4
- Active = "ACTIVE",
5
- Suspended = "SUSPENDED",
6
- Disabled = "DISABLED",
7
- Closed = "CLOSED"
8
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountStatus = void 0;
4
- var AccountStatus;
5
- (function (AccountStatus) {
6
- AccountStatus["Invited"] = "INVITED";
7
- AccountStatus["Pending"] = "PENDING";
8
- AccountStatus["Active"] = "ACTIVE";
9
- AccountStatus["Suspended"] = "SUSPENDED";
10
- AccountStatus["Disabled"] = "DISABLED";
11
- AccountStatus["Closed"] = "CLOSED";
12
- })(AccountStatus || (exports.AccountStatus = AccountStatus = {}));
13
- //# sourceMappingURL=account.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"account.types.js","sourceRoot":"","sources":["../../src/security/account.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAOX;AAPD,WAAY,aAAa;IACrB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACrB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Access Control Level
3
- *
4
- * @copyright Intelact Ltd.
5
- */
6
- export {};
@@ -1,11 +0,0 @@
1
- "use strict";
2
- /**
3
- * Access Control Level
4
- *
5
- * @copyright Intelact Ltd.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- const role_types_1 = require("./role.types");
9
- const ACL = {};
10
- ACL[role_types_1.Role.Administrator] = [];
11
- //# sourceMappingURL=acl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acl.js","sourceRoot":"","sources":["../../src/security/acl.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAEH,6CAAoC;AAGpC,MAAM,GAAG,GAAoC,EAAE,CAAC;AAEhD,GAAG,CAAC,iBAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Driveup Permissions
3
- *
4
- * @copyright Intelact Ltd.
5
- */
6
- export declare enum Permission {
7
- ConsoleCurrencyView = "console.currency.view",
8
- ConsoleCurrencyManage = "console.currency.manage"
9
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /**
3
- * Driveup Permissions
4
- *
5
- * @copyright Intelact Ltd.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Permission = void 0;
9
- var Permission;
10
- (function (Permission) {
11
- Permission["ConsoleCurrencyView"] = "console.currency.view";
12
- Permission["ConsoleCurrencyManage"] = "console.currency.manage";
13
- })(Permission || (exports.Permission = Permission = {}));
14
- //# sourceMappingURL=permissions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"permissions.js","sourceRoot":"","sources":["../../src/security/permissions.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,IAAY,UAIX;AAJD,WAAY,UAAU;IAErB,2DAA6C,CAAA;IAC7C,+DAAiD,CAAA;AAClD,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}
@@ -1,41 +0,0 @@
1
- /**
2
- * Driveup Roles
3
- *
4
- * @copyright Intelact Ltd.
5
- */
6
- export declare enum Role {
7
- /**
8
- * Drive Administrator
9
- */
10
- Administrator = "administrator",
11
- /**
12
- * Student
13
- * @description Company student profile
14
- */
15
- Student = "student",
16
- /**
17
- * Company Owner
18
- * @description User with all rights in his company
19
- */
20
- CompanyOwner = "company.owner",
21
- /**
22
- * Company Manager
23
- * @description The company manager who administers the back office
24
- */
25
- CompanyManager = "company.manager",
26
- /**
27
- * Company Instructor
28
- * @description The company instructor who trains the students
29
- */
30
- Instructor = "instructor",
31
- /**
32
- * Driveup Agent
33
- * @description Agent (not agency) who sells driveup price plans
34
- */
35
- Agent = "agent",
36
- /**
37
- * Agent Agency
38
- * @description Agency engaged in reselling price plans
39
- */
40
- AgentAgency = "agent.agency"
41
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /**
3
- * Driveup Roles
4
- *
5
- * @copyright Intelact Ltd.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Role = void 0;
9
- var Role;
10
- (function (Role) {
11
- /**
12
- * Drive Administrator
13
- */
14
- Role["Administrator"] = "administrator";
15
- /**
16
- * Student
17
- * @description Company student profile
18
- */
19
- Role["Student"] = "student";
20
- /**
21
- * Company Owner
22
- * @description User with all rights in his company
23
- */
24
- Role["CompanyOwner"] = "company.owner";
25
- /**
26
- * Company Manager
27
- * @description The company manager who administers the back office
28
- */
29
- Role["CompanyManager"] = "company.manager";
30
- /**
31
- * Company Instructor
32
- * @description The company instructor who trains the students
33
- */
34
- Role["Instructor"] = "instructor";
35
- /**
36
- * Driveup Agent
37
- * @description Agent (not agency) who sells driveup price plans
38
- */
39
- Role["Agent"] = "agent";
40
- /**
41
- * Agent Agency
42
- * @description Agency engaged in reselling price plans
43
- */
44
- Role["AgentAgency"] = "agent.agency";
45
- })(Role || (exports.Role = Role = {}));
46
- //# sourceMappingURL=role.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.types.js","sourceRoot":"","sources":["../../src/security/role.types.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,IAAY,IA0CX;AA1CD,WAAY,IAAI;IAEf;;OAEG;IACH,uCAA+B,CAAA;IAE/B;;;OAGG;IACH,2BAAmB,CAAA;IAEnB;;;OAGG;IACH,sCAA8B,CAAA;IAE9B;;;OAGG;IACH,0CAAkC,CAAA;IAElC;;;OAGG;IACH,iCAAyB,CAAA;IAEzB;;;OAGG;IACH,uBAAe,CAAA;IAEf;;;OAGG;IACH,oCAA4B,CAAA;AAC7B,CAAC,EA1CW,IAAI,oBAAJ,IAAI,QA0Cf"}
@@ -1,7 +0,0 @@
1
- export declare enum SettingType {
2
- Config = "CONFIG",
3
- Social = "SOCIAL",
4
- Auth = "AUTH",
5
- Mail = "MAIL",
6
- Other = "OTHER"
7
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SettingType = void 0;
4
- var SettingType;
5
- (function (SettingType) {
6
- SettingType["Config"] = "CONFIG";
7
- SettingType["Social"] = "SOCIAL";
8
- SettingType["Auth"] = "AUTH";
9
- SettingType["Mail"] = "MAIL";
10
- SettingType["Other"] = "OTHER";
11
- })(SettingType || (exports.SettingType = SettingType = {}));
12
- //# sourceMappingURL=setting.type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting.type.js","sourceRoot":"","sources":["../../src/setting/setting.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAMX;AAND,WAAY,WAAW;IACtB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,4BAAa,CAAA;IACb,8BAAe,CAAA;AAChB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB"}
@@ -1,5 +0,0 @@
1
- export declare enum TicketType {
2
- Recovery = "recovery",
3
- Call = "call",
4
- EnterprisePlan = "enterprise_plan"
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TicketType = void 0;
4
- var TicketType;
5
- (function (TicketType) {
6
- TicketType["Recovery"] = "recovery";
7
- TicketType["Call"] = "call";
8
- TicketType["EnterprisePlan"] = "enterprise_plan";
9
- })(TicketType || (exports.TicketType = TicketType = {}));
10
- //# sourceMappingURL=ticket.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ticket.enum.js","sourceRoot":"","sources":["../../src/ticket/ticket.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IACV,gDAAkC,CAAA;AACtC,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}
@@ -1,15 +0,0 @@
1
- export declare enum TrainingType {
2
- Driving = "DRIVING",
3
- Course = "COURSE"
4
- }
5
- export declare enum TrainingStatus {
6
- InProgress = "INPROGRESS",
7
- Completed = "COMPLETED",
8
- Terminated = "TERMINATED"
9
- }
10
- export declare enum TrainingRequestStatus {
11
- Pending = "PENDING",
12
- Accepted = "ACCEPTED",
13
- Rejected = "REJECTED",
14
- Canceled = "CANCELED"
15
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TrainingRequestStatus = exports.TrainingStatus = exports.TrainingType = void 0;
4
- var TrainingType;
5
- (function (TrainingType) {
6
- TrainingType["Driving"] = "DRIVING";
7
- TrainingType["Course"] = "COURSE";
8
- })(TrainingType || (exports.TrainingType = TrainingType = {}));
9
- var TrainingStatus;
10
- (function (TrainingStatus) {
11
- TrainingStatus["InProgress"] = "INPROGRESS";
12
- TrainingStatus["Completed"] = "COMPLETED";
13
- TrainingStatus["Terminated"] = "TERMINATED";
14
- })(TrainingStatus || (exports.TrainingStatus = TrainingStatus = {}));
15
- var TrainingRequestStatus;
16
- (function (TrainingRequestStatus) {
17
- TrainingRequestStatus["Pending"] = "PENDING";
18
- TrainingRequestStatus["Accepted"] = "ACCEPTED";
19
- TrainingRequestStatus["Rejected"] = "REJECTED";
20
- TrainingRequestStatus["Canceled"] = "CANCELED";
21
- })(TrainingRequestStatus || (exports.TrainingRequestStatus = TrainingRequestStatus = {}));
22
- //# sourceMappingURL=training.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"training.types.js","sourceRoot":"","sources":["../../src/training/training.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;AAClB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,2CAAyB,CAAA;IACzB,yCAAuB,CAAA;IACvB,2CAAyB,CAAA;AAC1B,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}