@intelact/driveup 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/agent/asset.type.d.ts +5 -0
- package/lib/agent/asset.type.js +10 -0
- package/lib/agent/asset.type.js.map +1 -0
- package/lib/agent/earning.type.d.ts +6 -0
- package/lib/agent/earning.type.js +3 -0
- package/lib/agent/earning.type.js.map +1 -0
- package/lib/agent/payout.model.d.ts +11 -0
- package/lib/agent/payout.model.js +59 -0
- package/lib/agent/payout.model.js.map +1 -0
- package/lib/alert/alert.content.d.ts +4 -0
- package/lib/alert/alert.content.js +9 -0
- package/lib/alert/alert.content.js.map +1 -0
- package/lib/auth/biometric.dto.d.ts +3 -0
- package/lib/auth/biometric.dto.js +25 -0
- package/lib/auth/biometric.dto.js.map +1 -0
- package/lib/bill/bill-item.type.d.ts +5 -0
- package/lib/bill/bill-item.type.js +10 -0
- package/lib/bill/bill-item.type.js.map +1 -0
- package/lib/bill/bill.status.d.ts +5 -0
- package/lib/bill/bill.status.js +13 -0
- package/lib/bill/bill.status.js.map +1 -0
- package/lib/calendar/appointment.d.ts +1 -0
- package/lib/calendar/appointment.js +6 -0
- package/lib/calendar/appointment.js.map +1 -1
- package/lib/calendar/link.d.ts +4 -0
- package/lib/calendar/link.js +9 -0
- package/lib/calendar/link.js.map +1 -0
- package/lib/calendar/types.d.ts +19 -0
- package/lib/calendar/types.js +25 -0
- package/lib/calendar/types.js.map +1 -0
- package/lib/common/appointment.model.d.ts +13 -0
- package/lib/common/appointment.model.js +79 -0
- package/lib/common/appointment.model.js.map +1 -0
- package/lib/common/context.d.ts +6 -0
- package/lib/common/context.js +11 -0
- package/lib/common/context.js.map +1 -0
- package/lib/common/date.d.ts +9 -0
- package/lib/common/date.enum.d.ts +9 -0
- package/lib/common/date.enum.js +14 -0
- package/lib/common/date.enum.js.map +1 -0
- package/lib/common/date.js +14 -0
- package/lib/common/date.js.map +1 -0
- package/lib/common/general.dto.d.ts +70 -0
- package/lib/common/general.dto.js +302 -0
- package/lib/common/general.dto.js.map +1 -0
- package/lib/common/index.d.ts +1 -0
- package/lib/common/index.js +1 -0
- package/lib/common/index.js.map +1 -1
- package/lib/common/notification.enum.d.ts +11 -0
- package/lib/common/notification.enum.js +17 -0
- package/lib/common/notification.enum.js.map +1 -0
- package/lib/common/person.d.ts +16 -0
- package/lib/common/person.js +60 -0
- package/lib/common/person.js.map +1 -0
- package/lib/company/account.status.enum.d.ts +8 -0
- package/lib/company/account.status.enum.js +13 -0
- package/lib/company/account.status.enum.js.map +1 -0
- package/lib/company/common/appointment.type.enum.d.ts +4 -0
- package/lib/company/common/appointment.type.enum.js +9 -0
- package/lib/company/common/appointment.type.enum.js.map +1 -0
- package/lib/company/common/general.dto.d.ts +46 -0
- package/lib/company/common/general.dto.js +182 -0
- package/lib/company/common/general.dto.js.map +1 -0
- package/lib/company/common/index.d.ts +4 -0
- package/lib/company/common/index.js +21 -0
- package/lib/company/common/index.js.map +1 -0
- package/lib/company/common/request.status.enum.d.ts +6 -0
- package/lib/company/common/request.status.enum.js +11 -0
- package/lib/company/common/request.status.enum.js.map +1 -0
- package/lib/company/common/setting.enum.d.ts +7 -0
- package/lib/company/common/setting.enum.js +12 -0
- package/lib/company/common/setting.enum.js.map +1 -0
- package/lib/company/common/training.status.enum.d.ts +11 -0
- package/lib/company/common/training.status.enum.js +17 -0
- package/lib/company/common/training.status.enum.js.map +1 -0
- package/lib/company/course/appointment.model.d.ts +10 -0
- package/lib/company/course/appointment.model.js +43 -0
- package/lib/company/course/appointment.model.js.map +1 -0
- package/lib/company/course/course.enum.d.ts +15 -0
- package/lib/company/course/course.enum.js +22 -0
- package/lib/company/course/course.enum.js.map +1 -0
- package/lib/company/course/course.model.d.ts +17 -0
- package/lib/company/course/course.model.js +94 -0
- package/lib/company/course/course.model.js.map +1 -0
- package/lib/company/course/definition.model.d.ts +11 -0
- package/lib/company/course/definition.model.js +57 -0
- package/lib/company/course/definition.model.js.map +1 -0
- package/lib/company/course/finances/discount.model.d.ts +8 -0
- package/lib/company/course/finances/discount.model.js +44 -0
- package/lib/company/course/finances/discount.model.js.map +1 -0
- package/lib/company/course/finances/index.d.ts +5 -0
- package/lib/company/course/finances/index.js +22 -0
- package/lib/company/course/finances/index.js.map +1 -0
- package/lib/company/course/finances/invoice-item.model.d.ts +7 -0
- package/lib/company/course/finances/invoice-item.model.js +43 -0
- package/lib/company/course/finances/invoice-item.model.js.map +1 -0
- package/lib/company/course/finances/invoice.model.d.ts +15 -0
- package/lib/company/course/finances/invoice.model.js +77 -0
- package/lib/company/course/finances/invoice.model.js.map +1 -0
- package/lib/company/course/finances/payment.model.d.ts +13 -0
- package/lib/company/course/finances/payment.model.js +68 -0
- package/lib/company/course/finances/payment.model.js.map +1 -0
- package/lib/company/course/finances/refund.model.d.ts +8 -0
- package/lib/company/course/finances/refund.model.js +44 -0
- package/lib/company/course/finances/refund.model.js.map +1 -0
- package/lib/company/course/index.d.ts +6 -0
- package/lib/company/course/index.js +23 -0
- package/lib/company/course/index.js.map +1 -0
- package/lib/company/course/part.model.d.ts +10 -0
- package/lib/company/course/part.model.js +56 -0
- package/lib/company/course/part.model.js.map +1 -0
- package/lib/company/driving/appointment.type.enum.d.ts +4 -0
- package/lib/company/driving/appointment.type.enum.js +9 -0
- package/lib/company/driving/appointment.type.enum.js.map +1 -0
- package/lib/company/driving/category.model.d.ts +18 -0
- package/lib/company/driving/category.model.js +100 -0
- package/lib/company/driving/category.model.js.map +1 -0
- package/lib/company/driving/dto.d.ts +5 -0
- package/lib/company/driving/dto.js +38 -0
- package/lib/company/driving/dto.js.map +1 -0
- package/lib/company/driving/exam.enum.d.ts +5 -0
- package/lib/company/driving/exam.enum.js +10 -0
- package/lib/company/driving/exam.enum.js.map +1 -0
- package/lib/company/driving/exam.status.enum.d.ts +5 -0
- package/lib/company/driving/exam.status.enum.js +10 -0
- package/lib/company/driving/exam.status.enum.js.map +1 -0
- package/lib/company/driving/finances/discount.model.d.ts +8 -0
- package/lib/company/driving/finances/discount.model.js +44 -0
- package/lib/company/driving/finances/discount.model.js.map +1 -0
- package/lib/company/driving/finances/index.d.ts +5 -0
- package/lib/company/driving/finances/index.js +22 -0
- package/lib/company/driving/finances/index.js.map +1 -0
- package/lib/company/driving/finances/invoice-item.model.d.ts +7 -0
- package/lib/company/driving/finances/invoice-item.model.js +43 -0
- package/lib/company/driving/finances/invoice-item.model.js.map +1 -0
- package/lib/company/driving/finances/invoice.model.d.ts +14 -0
- package/lib/company/driving/finances/invoice.model.js +71 -0
- package/lib/company/driving/finances/invoice.model.js.map +1 -0
- package/lib/company/driving/finances/payment.model.d.ts +13 -0
- package/lib/company/driving/finances/payment.model.js +68 -0
- package/lib/company/driving/finances/payment.model.js.map +1 -0
- package/lib/company/driving/finances/refund.model.d.ts +8 -0
- package/lib/company/driving/finances/refund.model.js +44 -0
- package/lib/company/driving/finances/refund.model.js.map +1 -0
- package/lib/company/driving/index.d.ts +9 -0
- package/lib/company/driving/index.js +26 -0
- package/lib/company/driving/index.js.map +1 -0
- package/lib/company/driving/score.enum.d.ts +12 -0
- package/lib/company/driving/score.enum.js +18 -0
- package/lib/company/driving/score.enum.js.map +1 -0
- package/lib/company/driving/skill.model.d.ts +8 -0
- package/lib/company/driving/skill.model.js +47 -0
- package/lib/company/driving/skill.model.js.map +1 -0
- package/lib/company/driving/status.enum.d.ts +5 -0
- package/lib/company/driving/status.enum.js +10 -0
- package/lib/company/driving/status.enum.js.map +1 -0
- package/lib/company/driving/topic.model.d.ts +10 -0
- package/lib/company/driving/topic.model.js +54 -0
- package/lib/company/driving/topic.model.js.map +1 -0
- package/lib/company/driving/transmission.enum.d.ts +4 -0
- package/lib/company/driving/transmission.enum.js +9 -0
- package/lib/company/driving/transmission.enum.js.map +1 -0
- package/lib/company/event.model.d.ts +8 -0
- package/lib/company/event.model.js +49 -0
- package/lib/company/event.model.js.map +1 -0
- package/lib/company/finances/card.model.d.ts +10 -0
- package/lib/company/finances/card.model.js +55 -0
- package/lib/company/finances/card.model.js.map +1 -0
- package/lib/company/finances/credit.model.d.ts +9 -0
- package/lib/company/finances/credit.model.js +50 -0
- package/lib/company/finances/credit.model.js.map +1 -0
- package/lib/company/finances/expense-category.model.d.ts +5 -0
- package/lib/company/finances/expense-category.model.js +31 -0
- package/lib/company/finances/expense-category.model.js.map +1 -0
- package/lib/company/finances/expense.model.d.ts +11 -0
- package/lib/company/finances/expense.model.js +55 -0
- package/lib/company/finances/expense.model.js.map +1 -0
- package/lib/company/finances/finance.enum.d.ts +22 -0
- package/lib/company/finances/finance.enum.js +31 -0
- package/lib/company/finances/finance.enum.js.map +1 -0
- package/lib/company/finances/index.d.ts +5 -0
- package/lib/company/finances/index.js +22 -0
- package/lib/company/finances/index.js.map +1 -0
- package/lib/company/finances/payment.model.d.ts +7 -0
- package/lib/company/finances/payment.model.js +39 -0
- package/lib/company/finances/payment.model.js.map +1 -0
- package/lib/company/finances/priceplan.model.d.ts +19 -0
- package/lib/company/finances/priceplan.model.js +95 -0
- package/lib/company/finances/priceplan.model.js.map +1 -0
- package/lib/company/plan/index.d.ts +2 -0
- package/lib/company/plan/index.js +19 -0
- package/lib/company/plan/index.js.map +1 -0
- package/lib/company/plan/plan.enum.d.ts +9 -0
- package/lib/company/plan/plan.enum.js +15 -0
- package/lib/company/plan/plan.enum.js.map +1 -0
- package/lib/company/plan/plan.model.d.ts +16 -0
- package/lib/company/plan/plan.model.js +87 -0
- package/lib/company/plan/plan.model.js.map +1 -0
- package/lib/company/plan.enum.d.ts +9 -0
- package/lib/company/plan.enum.js +15 -0
- package/lib/company/plan.enum.js.map +1 -0
- package/lib/company/priceplan.model.d.ts +16 -0
- package/lib/company/priceplan.model.js +87 -0
- package/lib/company/priceplan.model.js.map +1 -0
- package/lib/company/setting.model.d.ts +10 -0
- package/lib/company/setting.model.js +52 -0
- package/lib/company/setting.model.js.map +1 -0
- package/lib/company/student/index.d.ts +1 -0
- package/lib/company/student/index.js +18 -0
- package/lib/company/student/index.js.map +1 -0
- package/lib/company/student/student.model.d.ts +10 -0
- package/lib/company/student/student.model.js +43 -0
- package/lib/company/student/student.model.js.map +1 -0
- package/lib/company/team/index.d.ts +2 -0
- package/lib/company/team/index.js +19 -0
- package/lib/company/team/index.js.map +1 -0
- package/lib/company/team/team.dto.d.ts +6 -0
- package/lib/company/team/team.dto.js +39 -0
- package/lib/company/team/team.dto.js.map +1 -0
- package/lib/company/team/user.model.d.ts +33 -0
- package/lib/company/team/user.model.js +104 -0
- package/lib/company/team/user.model.js.map +1 -0
- package/lib/company/team/user.status.enum.d.ts +5 -0
- package/lib/company/team/user.status.enum.js +10 -0
- package/lib/company/team/user.status.enum.js.map +1 -0
- package/lib/company/user.model.d.ts +25 -0
- package/lib/company/user.model.js +124 -0
- package/lib/company/user.model.js.map +1 -0
- package/lib/course/types.d.ts +15 -0
- package/lib/course/types.js +22 -0
- package/lib/course/types.js.map +1 -0
- package/lib/driving/lesson/types.d.ts +15 -0
- package/lib/driving/lesson/types.js +21 -0
- package/lib/driving/lesson/types.js.map +1 -0
- package/lib/driving/types.d.ts +9 -0
- package/lib/driving/types.js +15 -0
- package/lib/driving/types.js.map +1 -0
- package/lib/enums/date.d.ts +9 -0
- package/lib/enums/date.js +14 -0
- package/lib/enums/date.js.map +1 -0
- package/lib/enums/finance.d.ts +22 -0
- package/lib/enums/finance.js +31 -0
- package/lib/enums/finance.js.map +1 -0
- package/lib/enums/index.d.ts +1 -0
- package/lib/enums/index.js +14 -0
- package/lib/enums/index.js.map +1 -0
- package/lib/enums/language.d.ts +6 -0
- package/lib/enums/language.js +11 -0
- package/lib/enums/language.js.map +1 -0
- package/lib/enums/notification.d.ts +11 -0
- package/lib/enums/notification.js +17 -0
- package/lib/enums/notification.js.map +1 -0
- package/lib/enums/plan.d.ts +9 -0
- package/lib/enums/plan.js +15 -0
- package/lib/enums/plan.js.map +1 -0
- package/lib/enums/role.d.ts +6 -0
- package/lib/enums/role.js +11 -0
- package/lib/enums/role.js.map +1 -0
- package/lib/enums/score.d.ts +12 -0
- package/lib/enums/score.js +18 -0
- package/lib/enums/score.js.map +1 -0
- package/lib/enums/training.d.ts +19 -0
- package/lib/enums/training.js +27 -0
- package/lib/enums/training.js.map +1 -0
- package/lib/events/agent/account.events.d.ts +27 -0
- package/lib/events/agent/account.events.js +32 -0
- package/lib/events/agent/account.events.js.map +1 -0
- package/lib/events/agent/payout.events.d.ts +29 -0
- package/lib/events/agent/payout.events.js +34 -0
- package/lib/events/agent/payout.events.js.map +1 -0
- package/lib/events/agent/profile.events.d.ts +18 -0
- package/lib/events/agent/profile.events.js +23 -0
- package/lib/events/agent/profile.events.js.map +1 -0
- package/lib/events/agent/promotion.events.d.ts +42 -0
- package/lib/events/agent/promotion.events.js +47 -0
- package/lib/events/agent/promotion.events.js.map +1 -0
- package/lib/events/auth/auth.events.d.ts +16 -0
- package/lib/events/auth/auth.events.js +21 -0
- package/lib/events/auth/auth.events.js.map +1 -0
- package/lib/events/auth/token.events.d.ts +23 -0
- package/lib/events/auth/token.events.js +28 -0
- package/lib/events/auth/token.events.js.map +1 -0
- package/lib/events/auth/verify.events.d.ts +17 -0
- package/lib/events/auth/verify.events.js +22 -0
- package/lib/events/auth/verify.events.js.map +1 -0
- package/lib/events/company/account/account.events.d.ts +64 -0
- package/lib/events/company/account/account.events.js +69 -0
- package/lib/events/company/account/account.events.js.map +1 -0
- package/lib/events/company/account/profile.events.d.ts +169 -0
- package/lib/events/company/account/profile.events.js +174 -0
- package/lib/events/company/account/profile.events.js.map +1 -0
- package/lib/events/company/course/appointment.events.d.ts +56 -0
- package/lib/events/company/course/appointment.events.js +61 -0
- package/lib/events/company/course/appointment.events.js.map +1 -0
- package/lib/events/company/course/course.events.d.ts +118 -0
- package/lib/events/company/course/course.events.js +123 -0
- package/lib/events/company/course/course.events.js.map +1 -0
- package/lib/events/company/course/lesson.events.d.ts +56 -0
- package/lib/events/company/course/lesson.events.js +61 -0
- package/lib/events/company/course/lesson.events.js.map +1 -0
- package/lib/events/company/course/topic.events.d.ts +76 -0
- package/lib/events/company/course/topic.events.js +81 -0
- package/lib/events/company/course/topic.events.js.map +1 -0
- package/lib/events/company/product/addon.events.d.ts +34 -0
- package/lib/events/company/product/addon.events.js +39 -0
- package/lib/events/company/product/addon.events.js.map +1 -0
- package/lib/events/company/product/campaign.events.d.ts +13 -0
- package/lib/events/company/product/campaign.events.js +18 -0
- package/lib/events/company/product/campaign.events.js.map +1 -0
- package/lib/events/company/product/product.events.d.ts +54 -0
- package/lib/events/company/product/product.events.js +59 -0
- package/lib/events/company/product/product.events.js.map +1 -0
- package/lib/events/index.d.ts +25 -0
- package/lib/events/index.js +42 -0
- package/lib/events/index.js.map +1 -0
- package/lib/events/instructor/account/account.events.d.ts +123 -0
- package/lib/events/instructor/account/account.events.js +128 -0
- package/lib/events/instructor/account/account.events.js.map +1 -0
- package/lib/events/instructor/account/profile.events.d.ts +31 -0
- package/lib/events/instructor/account/profile.events.js +36 -0
- package/lib/events/instructor/account/profile.events.js.map +1 -0
- package/lib/events/instructor/task/task.events.d.ts +24 -0
- package/lib/events/instructor/task/task.events.js +29 -0
- package/lib/events/instructor/task/task.events.js.map +1 -0
- package/lib/events/student/account/account.events.d.ts +36 -0
- package/lib/events/student/account/account.events.js +41 -0
- package/lib/events/student/account/account.events.js.map +1 -0
- package/lib/events/user/account.events.d.ts +84 -0
- package/lib/events/user/account.events.js +89 -0
- package/lib/events/user/account.events.js.map +1 -0
- package/lib/events/user/alert.events.d.ts +16 -0
- package/lib/events/user/alert.events.js +21 -0
- package/lib/events/user/alert.events.js.map +1 -0
- package/lib/events/user/device.events.d.ts +30 -0
- package/lib/events/user/device.events.js +35 -0
- package/lib/events/user/device.events.js.map +1 -0
- package/lib/events/user/notification.events.d.ts +30 -0
- package/lib/events/user/notification.events.js +35 -0
- package/lib/events/user/notification.events.js.map +1 -0
- package/lib/events/user/profile.events.d.ts +60 -0
- package/lib/events/user/profile.events.js +65 -0
- package/lib/events/user/profile.events.js.map +1 -0
- package/lib/expense/expense.types.d.ts +5 -0
- package/lib/expense/expense.types.js +10 -0
- package/lib/expense/expense.types.js.map +1 -0
- package/lib/finance/finance.type.d.ts +21 -0
- package/lib/finance/finance.type.js +21 -0
- package/lib/finance/finance.type.js.map +1 -0
- package/lib/finance/handover.dto.d.ts +6 -0
- package/lib/finance/handover.dto.js +45 -0
- package/lib/finance/handover.dto.js.map +1 -0
- package/lib/finance/handover.model.d.ts +13 -0
- package/lib/finance/handover.model.js +65 -0
- package/lib/finance/handover.model.js.map +1 -0
- package/lib/free-benefit/free-benefit.type.d.ts +4 -0
- package/lib/free-benefit/free-benefit.type.js +9 -0
- package/lib/free-benefit/free-benefit.type.js.map +1 -0
- package/lib/handover/handover.document.d.ts +5 -0
- package/lib/handover/handover.document.js +3 -0
- package/lib/handover/handover.document.js.map +1 -0
- package/lib/index.d.ts +4 -1
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/lib/invoice/invoice.types.d.ts +6 -0
- package/lib/invoice/invoice.types.js +11 -0
- package/lib/invoice/invoice.types.js.map +1 -0
- package/lib/language/index.d.ts +1 -0
- package/lib/language/index.js +18 -0
- package/lib/language/index.js.map +1 -0
- package/lib/language/language.enum.d.ts +6 -0
- package/lib/language/language.enum.js +11 -0
- package/lib/language/language.enum.js.map +1 -0
- package/lib/log/log.type.d.ts +9 -0
- package/lib/log/log.type.js +14 -0
- package/lib/log/log.type.js.map +1 -0
- package/lib/notification/notification-preference.model.d.ts +5 -0
- package/lib/notification/notification-preference.model.js +31 -0
- package/lib/notification/notification-preference.model.js.map +1 -0
- package/lib/notification/notification.channel.d.ts +6 -0
- package/lib/notification/notification.channel.js +11 -0
- package/lib/notification/notification.channel.js.map +1 -0
- package/lib/notification/notification.enum.d.ts +11 -0
- package/lib/notification/notification.enum.js +17 -0
- package/lib/notification/notification.enum.js.map +1 -0
- package/lib/notification/notification.types.d.ts +11 -0
- package/lib/notification/notification.types.js +17 -0
- package/lib/notification/notification.types.js.map +1 -0
- package/lib/payment/payment.types.d.ts +13 -0
- package/lib/payment/payment.types.js +20 -0
- package/lib/payment/payment.types.js.map +1 -0
- package/lib/payout/payout.types.d.ts +4 -0
- package/lib/payout/payout.types.js +9 -0
- package/lib/payout/payout.types.js.map +1 -0
- package/lib/priceplan/plan.enum.d.ts +23 -0
- package/lib/priceplan/plan.enum.js +29 -0
- package/lib/priceplan/plan.enum.js.map +1 -0
- package/lib/product/index.d.ts +3 -0
- package/lib/product/index.js +20 -0
- package/lib/product/index.js.map +1 -0
- package/lib/product/product.dto.d.ts +12 -0
- package/lib/product/product.dto.js +69 -0
- package/lib/product/product.dto.js.map +1 -0
- package/lib/product/product.model.d.ts +12 -0
- package/lib/product/product.model.js +61 -0
- package/lib/product/product.model.js.map +1 -0
- package/lib/product/product.type.d.ts +4 -0
- package/lib/product/product.type.js +9 -0
- package/lib/product/product.type.js.map +1 -0
- package/lib/public/user-agent.interface.d.ts +6 -0
- package/lib/public/user-agent.interface.js +3 -0
- package/lib/public/user-agent.interface.js.map +1 -0
- package/lib/security/account.types.d.ts +8 -0
- package/lib/security/account.types.js +13 -0
- package/lib/security/account.types.js.map +1 -0
- package/lib/security/acl.d.ts +6 -0
- package/lib/security/acl.js +11 -0
- package/lib/security/acl.js.map +1 -0
- package/lib/security/permissions.d.ts +9 -0
- package/lib/security/permissions.js +14 -0
- package/lib/security/permissions.js.map +1 -0
- package/lib/security/role.types.d.ts +41 -0
- package/lib/security/role.types.js +46 -0
- package/lib/security/role.types.js.map +1 -0
- package/lib/security/roles.d.ts +9 -0
- package/lib/security/roles.js +14 -0
- package/lib/security/roles.js.map +1 -0
- package/lib/security/token.interface.d.ts +7 -0
- package/lib/security/token.interface.js +3 -0
- package/lib/security/token.interface.js.map +1 -0
- package/lib/session/course/index.d.ts +1 -0
- package/lib/session/course/index.js +14 -0
- package/lib/session/course/index.js.map +1 -0
- package/lib/session/course/session.model.d.ts +8 -0
- package/lib/session/course/session.model.js +36 -0
- package/lib/session/course/session.model.js.map +1 -0
- package/lib/session/driving/appointment-assessment.d.ts +8 -0
- package/lib/session/driving/appointment-assessment.js +50 -0
- package/lib/session/driving/appointment-assessment.js.map +1 -0
- package/lib/setting/setting.type.d.ts +7 -0
- package/lib/setting/setting.type.js +12 -0
- package/lib/setting/setting.type.js.map +1 -0
- package/lib/student/course/appointment.model.d.ts +5 -0
- package/lib/student/course/appointment.model.js +32 -0
- package/lib/student/course/appointment.model.js.map +1 -0
- package/lib/student/course/index.d.ts +3 -0
- package/lib/student/course/index.js +20 -0
- package/lib/student/course/index.js.map +1 -0
- package/lib/student/course/request.model.d.ts +11 -0
- package/lib/student/course/request.model.js +62 -0
- package/lib/student/course/request.model.js.map +1 -0
- package/lib/student/course/training.model.d.ts +16 -0
- package/lib/student/course/training.model.js +92 -0
- package/lib/student/course/training.model.js.map +1 -0
- package/lib/student/driving/appointment-skill.model.d.ts +6 -0
- package/lib/student/driving/appointment-skill.model.js +32 -0
- package/lib/student/driving/appointment-skill.model.js.map +1 -0
- package/lib/student/driving/appointment-topic.model.d.ts +6 -0
- package/lib/student/driving/appointment-topic.model.js +32 -0
- package/lib/student/driving/appointment-topic.model.js.map +1 -0
- package/lib/student/driving/appointment.model.d.ts +12 -0
- package/lib/student/driving/appointment.model.js +67 -0
- package/lib/student/driving/appointment.model.js.map +1 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.d.ts +8 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js +40 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js.map +1 -0
- package/lib/student/driving/exam/exam.model.d.ts +11 -0
- package/lib/student/driving/exam/exam.model.js +50 -0
- package/lib/student/driving/exam/exam.model.js.map +1 -0
- package/lib/student/driving/exam/index.d.ts +2 -0
- package/lib/student/driving/exam/index.js +19 -0
- package/lib/student/driving/exam/index.js.map +1 -0
- package/lib/student/driving/index.d.ts +8 -0
- package/lib/student/driving/index.js +25 -0
- package/lib/student/driving/index.js.map +1 -0
- package/lib/student/driving/request.model.d.ts +13 -0
- package/lib/student/driving/request.model.js +73 -0
- package/lib/student/driving/request.model.js.map +1 -0
- package/lib/student/driving/skill.model.d.ts +6 -0
- package/lib/student/driving/skill.model.js +32 -0
- package/lib/student/driving/skill.model.js.map +1 -0
- package/lib/student/driving/topic.model.d.ts +7 -0
- package/lib/student/driving/topic.model.js +38 -0
- package/lib/student/driving/topic.model.js.map +1 -0
- package/lib/student/driving/training.model.d.ts +23 -0
- package/lib/student/driving/training.model.js +131 -0
- package/lib/student/driving/training.model.js.map +1 -0
- package/lib/student/signature.model.d.ts +7 -0
- package/lib/student/signature.model.js +42 -0
- package/lib/student/signature.model.js.map +1 -0
- package/lib/support/index.d.ts +1 -0
- package/lib/support/index.js +18 -0
- package/lib/support/index.js.map +1 -0
- package/lib/support/request.dto.d.ts +5 -0
- package/lib/support/request.dto.js +39 -0
- package/lib/support/request.dto.js.map +1 -0
- package/lib/system/country.model.d.ts +15 -0
- package/lib/system/country.model.js +75 -0
- package/lib/system/country.model.js.map +1 -0
- package/lib/system/driving/category.model.d.ts +12 -0
- package/lib/system/driving/category.model.js +66 -0
- package/lib/system/driving/category.model.js.map +1 -0
- package/lib/system/driving/category.trans.model.d.ts +8 -0
- package/lib/system/driving/category.trans.model.js +42 -0
- package/lib/system/driving/category.trans.model.js.map +1 -0
- package/lib/system/driving/index.d.ts +6 -0
- package/lib/system/driving/index.js +23 -0
- package/lib/system/driving/index.js.map +1 -0
- package/lib/system/driving/skill.model.d.ts +11 -0
- package/lib/system/driving/skill.model.js +61 -0
- package/lib/system/driving/skill.model.js.map +1 -0
- package/lib/system/driving/skill.trans.model.d.ts +9 -0
- package/lib/system/driving/skill.trans.model.js +48 -0
- package/lib/system/driving/skill.trans.model.js.map +1 -0
- package/lib/system/driving/topic.model.d.ts +10 -0
- package/lib/system/driving/topic.model.js +55 -0
- package/lib/system/driving/topic.model.js.map +1 -0
- package/lib/system/driving/topic.trans.model.d.ts +8 -0
- package/lib/system/driving/topic.trans.model.js +42 -0
- package/lib/system/driving/topic.trans.model.js.map +1 -0
- package/lib/system/finances/currency.model.d.ts +9 -0
- package/lib/system/finances/currency.model.js +53 -0
- package/lib/system/finances/currency.model.js.map +1 -0
- package/lib/system/finances/index.d.ts +3 -0
- package/lib/system/finances/index.js +20 -0
- package/lib/system/finances/index.js.map +1 -0
- package/lib/system/finances/priceplan.model.d.ts +13 -0
- package/lib/system/finances/priceplan.model.js +67 -0
- package/lib/system/finances/priceplan.model.js.map +1 -0
- package/lib/system/finances/priceplan.translation.d.ts +8 -0
- package/lib/system/finances/priceplan.translation.js +42 -0
- package/lib/system/finances/priceplan.translation.js.map +1 -0
- package/lib/system/index.d.ts +3 -0
- package/lib/system/index.js +20 -0
- package/lib/system/index.js.map +1 -0
- package/lib/task/index.d.ts +2 -0
- package/lib/task/index.js +19 -0
- package/lib/task/index.js.map +1 -0
- package/lib/task/task.dto.d.ts +24 -0
- package/lib/task/task.dto.js +142 -0
- package/lib/task/task.dto.js.map +1 -0
- package/lib/task/task.model.d.ts +8 -0
- package/lib/task/task.model.js +49 -0
- package/lib/task/task.model.js.map +1 -0
- package/lib/ticket/ticket.enum.d.ts +5 -0
- package/lib/ticket/ticket.enum.js +10 -0
- package/lib/ticket/ticket.enum.js.map +1 -0
- package/lib/training/training.types.d.ts +15 -0
- package/lib/training/training.types.js +22 -0
- package/lib/training/training.types.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/support.type.d.ts +1 -0
- package/lib/types/support.type.js +1 -0
- package/lib/types/support.type.js.map +1 -1
- package/lib/user/biometric.dto.d.ts +3 -0
- package/lib/user/biometric.dto.js +25 -0
- package/lib/user/biometric.dto.js.map +1 -0
- package/lib/user/email.dto.d.ts +4 -0
- package/lib/user/email.dto.js +32 -0
- package/lib/user/email.dto.js.map +1 -0
- package/lib/user/notification/index.d.ts +3 -0
- package/lib/user/notification/index.js +20 -0
- package/lib/user/notification/index.js.map +1 -0
- package/lib/user/notification/notification-preference.model.d.ts +5 -0
- package/lib/user/notification/notification-preference.model.js +31 -0
- package/lib/user/notification/notification-preference.model.js.map +1 -0
- package/lib/user/notification/notification.enum.d.ts +11 -0
- package/lib/user/notification/notification.enum.js +17 -0
- package/lib/user/notification/notification.enum.js.map +1 -0
- package/lib/user/notification/notification.model.d.ts +10 -0
- package/lib/user/notification/notification.model.js +53 -0
- package/lib/user/notification/notification.model.js.map +1 -0
- package/lib/user/phone.dto.d.ts +4 -0
- package/lib/user/phone.dto.js +32 -0
- package/lib/user/phone.dto.js.map +1 -0
- package/lib/user/profile.type.d.ts +10 -0
- package/lib/user/profile.type.js +15 -0
- package/lib/user/profile.type.js.map +1 -0
- package/lib/user/sign.dto.d.ts +5 -0
- package/lib/user/sign.dto.js +38 -0
- package/lib/user/sign.dto.js.map +1 -0
- package/lib/user/user.device.model.d.ts +8 -0
- package/lib/user/user.device.model.js +46 -0
- package/lib/user/user.device.model.js.map +1 -0
- package/lib/utils/date.helper.d.ts +28 -0
- package/lib/utils/date.helper.js +39 -0
- package/lib/utils/date.helper.js.map +1 -1
- package/lib/validators/compare.validator.d.ts +9 -0
- package/lib/validators/compare.validator.js +34 -0
- package/lib/validators/compare.validator.js.map +1 -0
- package/lib/validators/index.d.ts +2 -0
- package/lib/validators/index.js +19 -0
- package/lib/validators/index.js.map +1 -0
- package/lib/validators/required.validator.d.ts +21 -0
- package/lib/validators/required.validator.js +95 -0
- package/lib/validators/required.validator.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,182 @@
|
|
|
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.CompanyUserOwnerDto = exports.CompanyUserSearchDto = exports.SocialLinkDto = exports.PickupLocationDto = exports.WorkingHourDto = exports.HolidayDto = exports.ObligationPeriodDto = exports.RoleDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const common_1 = require("../../common");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const security_1 = require("../../security");
|
|
17
|
+
class RoleDto {
|
|
18
|
+
role;
|
|
19
|
+
}
|
|
20
|
+
exports.RoleDto = RoleDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
(0, class_validator_1.IsEnum)(security_1.Role),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], RoleDto.prototype, "role", void 0);
|
|
26
|
+
class ObligationPeriodDto {
|
|
27
|
+
obligationPeriod;
|
|
28
|
+
}
|
|
29
|
+
exports.ObligationPeriodDto = ObligationPeriodDto;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
(0, class_validator_1.Min)(0),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], ObligationPeriodDto.prototype, "obligationPeriod", void 0);
|
|
35
|
+
class Holiday {
|
|
36
|
+
title;
|
|
37
|
+
startDate;
|
|
38
|
+
endDate;
|
|
39
|
+
}
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim() === '' ? undefined : value?.trim()),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.MaxLength)(255),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], Holiday.prototype, "title", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsDate)(),
|
|
49
|
+
(0, class_validator_1.Validate)(common_1.CompareWithEndDate),
|
|
50
|
+
__metadata("design:type", Date)
|
|
51
|
+
], Holiday.prototype, "startDate", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsDate)(),
|
|
54
|
+
__metadata("design:type", Date)
|
|
55
|
+
], Holiday.prototype, "endDate", void 0);
|
|
56
|
+
class HolidayDto {
|
|
57
|
+
holidays;
|
|
58
|
+
}
|
|
59
|
+
exports.HolidayDto = HolidayDto;
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsArray)(),
|
|
62
|
+
(0, class_transformer_1.Type)(() => Holiday),
|
|
63
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
64
|
+
__metadata("design:type", Array)
|
|
65
|
+
], HolidayDto.prototype, "holidays", void 0);
|
|
66
|
+
class WeekDayWorkingHourDto {
|
|
67
|
+
weekday;
|
|
68
|
+
periods;
|
|
69
|
+
}
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsEnum)(common_1.WeekDay),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], WeekDayWorkingHourDto.prototype, "weekday", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsArray)(),
|
|
76
|
+
(0, class_transformer_1.Type)(() => common_1.PeriodDto),
|
|
77
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
78
|
+
__metadata("design:type", Array)
|
|
79
|
+
], WeekDayWorkingHourDto.prototype, "periods", void 0);
|
|
80
|
+
class WorkingHourDto {
|
|
81
|
+
workingHours;
|
|
82
|
+
}
|
|
83
|
+
exports.WorkingHourDto = WorkingHourDto;
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsArray)(),
|
|
86
|
+
(0, class_transformer_1.Type)(() => WeekDayWorkingHourDto),
|
|
87
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
88
|
+
__metadata("design:type", Array)
|
|
89
|
+
], WorkingHourDto.prototype, "workingHours", void 0);
|
|
90
|
+
class PickupLocation {
|
|
91
|
+
title;
|
|
92
|
+
address;
|
|
93
|
+
}
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_validator_1.IsOptional)(),
|
|
96
|
+
(0, class_validator_1.IsString)(),
|
|
97
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
98
|
+
(0, class_validator_1.MaxLength)(50),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], PickupLocation.prototype, "title", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, class_validator_1.IsString)(),
|
|
103
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
104
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
105
|
+
(0, class_validator_1.MaxLength)(255),
|
|
106
|
+
__metadata("design:type", String)
|
|
107
|
+
], PickupLocation.prototype, "address", void 0);
|
|
108
|
+
class PickupLocationDto {
|
|
109
|
+
pickupLocations;
|
|
110
|
+
}
|
|
111
|
+
exports.PickupLocationDto = PickupLocationDto;
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, class_validator_1.IsArray)(),
|
|
114
|
+
(0, class_transformer_1.Type)(() => PickupLocation),
|
|
115
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
116
|
+
__metadata("design:type", Array)
|
|
117
|
+
], PickupLocationDto.prototype, "pickupLocations", void 0);
|
|
118
|
+
class SocialLink {
|
|
119
|
+
title;
|
|
120
|
+
url;
|
|
121
|
+
}
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, class_validator_1.IsOptional)(),
|
|
124
|
+
(0, class_validator_1.IsString)(),
|
|
125
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
126
|
+
(0, class_validator_1.MaxLength)(50),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], SocialLink.prototype, "title", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
131
|
+
(0, class_validator_1.IsUrl)(),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], SocialLink.prototype, "url", void 0);
|
|
134
|
+
class SocialLinkDto {
|
|
135
|
+
socials;
|
|
136
|
+
}
|
|
137
|
+
exports.SocialLinkDto = SocialLinkDto;
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, class_validator_1.IsArray)(),
|
|
140
|
+
(0, class_transformer_1.Type)(() => SocialLink),
|
|
141
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
142
|
+
__metadata("design:type", Array)
|
|
143
|
+
], SocialLinkDto.prototype, "socials", void 0);
|
|
144
|
+
class CompanyUserSearchDto {
|
|
145
|
+
name;
|
|
146
|
+
}
|
|
147
|
+
exports.CompanyUserSearchDto = CompanyUserSearchDto;
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, class_validator_1.IsOptional)(),
|
|
150
|
+
(0, class_validator_1.IsString)(),
|
|
151
|
+
(0, class_transformer_1.Transform)(({ value }) => value.trim()),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], CompanyUserSearchDto.prototype, "name", void 0);
|
|
154
|
+
class CompanyUserOwnerDto {
|
|
155
|
+
currentOwner;
|
|
156
|
+
newOwner;
|
|
157
|
+
checkOwners() {
|
|
158
|
+
return true;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.CompanyUserOwnerDto = CompanyUserOwnerDto;
|
|
162
|
+
__decorate([
|
|
163
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
164
|
+
(0, class_validator_1.IsNumber)(),
|
|
165
|
+
(0, class_validator_1.Min)(1),
|
|
166
|
+
__metadata("design:type", Number)
|
|
167
|
+
], CompanyUserOwnerDto.prototype, "currentOwner", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
170
|
+
(0, class_validator_1.IsNumber)(),
|
|
171
|
+
(0, class_validator_1.Min)(1),
|
|
172
|
+
__metadata("design:type", Number)
|
|
173
|
+
], CompanyUserOwnerDto.prototype, "newOwner", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, class_validator_1.Validate)(o => o.currentOwner !== o.newOwner, {
|
|
176
|
+
message: 'new owner cannot be the same as current owner'
|
|
177
|
+
}),
|
|
178
|
+
__metadata("design:type", Function),
|
|
179
|
+
__metadata("design:paramtypes", []),
|
|
180
|
+
__metadata("design:returntype", void 0)
|
|
181
|
+
], CompanyUserOwnerDto.prototype, "checkOwners", null);
|
|
182
|
+
//# sourceMappingURL=general.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/company/common/general.dto.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.type.enum"), exports);
|
|
18
|
+
__exportStar(require("./general.dto"), exports);
|
|
19
|
+
__exportStar(require("./setting.enum"), exports);
|
|
20
|
+
__exportStar(require("./training.status.enum"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/company/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,gDAA6B;AAC7B,iDAA+B;AAC/B,yDAAuC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrainingRequestStatus = void 0;
|
|
4
|
+
var TrainingRequestStatus;
|
|
5
|
+
(function (TrainingRequestStatus) {
|
|
6
|
+
TrainingRequestStatus["Pending"] = "PENDING";
|
|
7
|
+
TrainingRequestStatus["Accepted"] = "ACCEPTED";
|
|
8
|
+
TrainingRequestStatus["Rejected"] = "REJECTED";
|
|
9
|
+
TrainingRequestStatus["Canceled"] = "CANCELED";
|
|
10
|
+
})(TrainingRequestStatus = exports.TrainingRequestStatus || (exports.TrainingRequestStatus = {}));
|
|
11
|
+
//# sourceMappingURL=request.status.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.status.enum.js","sourceRoot":"","sources":["../../../src/company/common/request.status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting.enum.js","sourceRoot":"","sources":["../../../src/company/common/setting.enum.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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum TrainingStatus {
|
|
2
|
+
InProgress = "INPROGRESS",
|
|
3
|
+
Completed = "COMPLETED",
|
|
4
|
+
Terminated = "TERMINATED"
|
|
5
|
+
}
|
|
6
|
+
export declare enum TrainingRequestStatus {
|
|
7
|
+
Pending = "PENDING",
|
|
8
|
+
Accepted = "ACCEPTED",
|
|
9
|
+
Rejected = "REJECTED",
|
|
10
|
+
Canceled = "CANCELED"
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrainingRequestStatus = exports.TrainingStatus = void 0;
|
|
4
|
+
var TrainingStatus;
|
|
5
|
+
(function (TrainingStatus) {
|
|
6
|
+
TrainingStatus["InProgress"] = "INPROGRESS";
|
|
7
|
+
TrainingStatus["Completed"] = "COMPLETED";
|
|
8
|
+
TrainingStatus["Terminated"] = "TERMINATED";
|
|
9
|
+
})(TrainingStatus || (exports.TrainingStatus = TrainingStatus = {}));
|
|
10
|
+
var TrainingRequestStatus;
|
|
11
|
+
(function (TrainingRequestStatus) {
|
|
12
|
+
TrainingRequestStatus["Pending"] = "PENDING";
|
|
13
|
+
TrainingRequestStatus["Accepted"] = "ACCEPTED";
|
|
14
|
+
TrainingRequestStatus["Rejected"] = "REJECTED";
|
|
15
|
+
TrainingRequestStatus["Canceled"] = "CANCELED";
|
|
16
|
+
})(TrainingRequestStatus || (exports.TrainingRequestStatus = TrainingRequestStatus = {}));
|
|
17
|
+
//# sourceMappingURL=training.status.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"training.status.enum.js","sourceRoot":"","sources":["../../../src/company/common/training.status.enum.ts"],"names":[],"mappings":";;;AAAA,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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CompanyUser } from "../team";
|
|
2
|
+
import { Appointment } from "../../common";
|
|
3
|
+
import { CoursePartDefinition } from "./definition.model";
|
|
4
|
+
import { CompanyStudent } from "../student";
|
|
5
|
+
export declare class CourseAppointment extends Appointment {
|
|
6
|
+
students: CompanyStudent[];
|
|
7
|
+
instructor: CompanyUser;
|
|
8
|
+
definition: CoursePartDefinition;
|
|
9
|
+
constructor(props?: Partial<CourseAppointment>);
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.CourseAppointment = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const team_1 = require("../team");
|
|
15
|
+
const common_1 = require("../../common");
|
|
16
|
+
const definition_model_1 = require("./definition.model");
|
|
17
|
+
const student_1 = require("../student");
|
|
18
|
+
class CourseAppointment extends common_1.Appointment {
|
|
19
|
+
students;
|
|
20
|
+
instructor;
|
|
21
|
+
definition;
|
|
22
|
+
constructor(props) {
|
|
23
|
+
super();
|
|
24
|
+
Object.assign(this, props);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.CourseAppointment = CourseAppointment;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, class_transformer_1.Type)(() => student_1.CompanyStudent),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], CourseAppointment.prototype, "students", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
(0, class_transformer_1.Type)(() => team_1.CompanyUser),
|
|
36
|
+
__metadata("design:type", team_1.CompanyUser)
|
|
37
|
+
], CourseAppointment.prototype, "instructor", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
(0, class_transformer_1.Type)(() => definition_model_1.CoursePartDefinition),
|
|
41
|
+
__metadata("design:type", definition_model_1.CoursePartDefinition)
|
|
42
|
+
], CourseAppointment.prototype, "definition", void 0);
|
|
43
|
+
//# sourceMappingURL=appointment.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment.model.js","sourceRoot":"","sources":["../../../src/company/course/appointment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAAsC;AACtC,yCAA2C;AAC3C,yDAA0D;AAC1D,wCAA4C;AAM5C,MAAa,iBAAkB,SAAQ,oBAAW;IAGjD,QAAQ,CAAmB;IAI3B,UAAU,CAAc;IAIxB,UAAU,CAAuB;IAIjC,YAAY,KAAkC;QAC7C,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnBD,8CAmBC;AAhBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAc,CAAC;;mDACA;AAI3B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAW,CAAC;8BACZ,kBAAW;qDAAC;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAoB,CAAC;8BACrB,uCAAoB;qDAAC"}
|
|
@@ -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=course.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course.enum.js","sourceRoot":"","sources":["../../../src/company/course/course.enum.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,17 @@
|
|
|
1
|
+
import { CourseStatus, CourseType } from "..";
|
|
2
|
+
export declare class Course {
|
|
3
|
+
id: number;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
location: string;
|
|
7
|
+
price: number;
|
|
8
|
+
maxStudents: number;
|
|
9
|
+
public: boolean;
|
|
10
|
+
status: CourseStatus;
|
|
11
|
+
startDate: Date;
|
|
12
|
+
endDate: Date;
|
|
13
|
+
courseType: CourseType;
|
|
14
|
+
remainingSeats: number;
|
|
15
|
+
totalParts: number;
|
|
16
|
+
constructor(props?: Partial<Course>);
|
|
17
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.Course = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const __1 = require("..");
|
|
15
|
+
class Course {
|
|
16
|
+
id;
|
|
17
|
+
title;
|
|
18
|
+
description;
|
|
19
|
+
location;
|
|
20
|
+
price;
|
|
21
|
+
maxStudents;
|
|
22
|
+
public;
|
|
23
|
+
status;
|
|
24
|
+
startDate;
|
|
25
|
+
endDate;
|
|
26
|
+
courseType;
|
|
27
|
+
remainingSeats;
|
|
28
|
+
totalParts;
|
|
29
|
+
constructor(props) {
|
|
30
|
+
Object.assign(this, props);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.Course = Course;
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], Course.prototype, "id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], Course.prototype, "title", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], Course.prototype, "description", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], Course.prototype, "location", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], Course.prototype, "price", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], Course.prototype, "maxStudents", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
64
|
+
__metadata("design:type", Boolean)
|
|
65
|
+
], Course.prototype, "public", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], Course.prototype, "status", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
73
|
+
__metadata("design:type", Date)
|
|
74
|
+
], Course.prototype, "startDate", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_transformer_1.Expose)(),
|
|
77
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
78
|
+
__metadata("design:type", Date)
|
|
79
|
+
], Course.prototype, "endDate", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], Course.prototype, "courseType", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_transformer_1.Expose)(),
|
|
86
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], Course.prototype, "remainingSeats", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_transformer_1.Expose)(),
|
|
91
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
92
|
+
__metadata("design:type", Number)
|
|
93
|
+
], Course.prototype, "totalParts", void 0);
|
|
94
|
+
//# sourceMappingURL=course.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course.model.js","sourceRoot":"","sources":["../../../src/company/course/course.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,0BAA8C;AAE9C,MAAa,MAAM;IAGlB,EAAE,CAAS;IAGX,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,QAAQ,CAAS;IAIjB,KAAK,CAAS;IAOd,WAAW,CAAS;IAOpB,MAAM,CAAU;IAGhB,MAAM,CAAe;IAIrB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAGd,UAAU,CAAa;IAIvB,cAAc,CAAS;IAIvB,UAAU,CAAS;IAInB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA3DD,wBA2DC;AAxDA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;qCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;2CACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;wCACQ;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACL;AAOd;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACC;AAOpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;sCACJ;AAGhB;IADC,IAAA,0BAAM,GAAE;;sCACY;AAIrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;yCAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;uCAAC;AAGd;IADC,IAAA,0BAAM,GAAE;;0CACc;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACI;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CompanyUser } from '../team';
|
|
2
|
+
import { AppointmentRepetition } from './course.enum';
|
|
3
|
+
export declare class CoursePartDefinition {
|
|
4
|
+
id: number;
|
|
5
|
+
partId: number;
|
|
6
|
+
startDate: any;
|
|
7
|
+
endDate: any;
|
|
8
|
+
defaultInstructor: CompanyUser;
|
|
9
|
+
repetition: AppointmentRepetition;
|
|
10
|
+
constructor(props?: Partial<CoursePartDefinition>);
|
|
11
|
+
}
|
|
@@ -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 team_1 = require("../team");
|
|
15
|
+
const course_enum_1 = require("./course.enum");
|
|
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", Object)
|
|
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", Object)
|
|
47
|
+
], CoursePartDefinition.prototype, "endDate", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_transformer_1.Type)(() => team_1.CompanyUser),
|
|
51
|
+
__metadata("design:type", team_1.CompanyUser)
|
|
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/company/course/definition.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAAsC;AACtC,+CAAsD;AAEtD,MAAa,oBAAoB;IAGhC,EAAE,CAAS;IAIX,MAAM,CAAS;IAIf,SAAS,CAAC;IAIV,OAAO,CAAC;IAIR,iBAAiB,CAAc;IAG/B,UAAU,CAAwB;IAIlC,YAAY,KAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA7BD,oDA6BC;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;;uDACP;AAIV;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;;qDACT;AAIR;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAW,CAAC;8BACL,kBAAW;+DAAC;AAG/B;IADC,IAAA,0BAAM,GAAE;;wDACyB"}
|