@intelact/driveup 1.4.44 → 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/agent.dto.js +2 -10
- package/lib/agent/agent.dto.js.map +1 -1
- package/lib/agent/agent.model.d.ts +1 -1
- package/lib/agent/agent.model.js +1 -1
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/agent/index.d.ts +0 -2
- package/lib/agent/index.js +0 -2
- package/lib/agent/index.js.map +1 -1
- package/lib/alert/alert.model.d.ts +3 -5
- package/lib/alert/alert.model.js +1 -3
- package/lib/alert/alert.model.js.map +1 -1
- package/lib/alert/index.d.ts +0 -1
- package/lib/alert/index.js +0 -1
- package/lib/alert/index.js.map +1 -1
- package/lib/auth/signin.dto.js +3 -3
- package/lib/auth/signin.dto.js.map +1 -1
- package/lib/auth/signup.dto.js +3 -3
- package/lib/auth/signup.dto.js.map +1 -1
- package/lib/bank/account.model.js +6 -4
- package/lib/bank/account.model.js.map +1 -1
- package/lib/bill/bill.model.d.ts +1 -1
- package/lib/bill/bill.model.js +1 -1
- package/lib/bill/bill.model.js.map +1 -1
- package/lib/bill/index.d.ts +0 -2
- package/lib/bill/index.js +0 -2
- package/lib/bill/index.js.map +1 -1
- package/lib/calendar/appointment.d.ts +4 -4
- package/lib/calendar/appointment.js +20 -9
- package/lib/calendar/appointment.js.map +1 -1
- package/lib/calendar/date.js +6 -6
- package/lib/calendar/date.js.map +1 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar/index.js +0 -1
- package/lib/calendar/index.js.map +1 -1
- package/lib/calendar/token.d.ts +1 -1
- package/lib/calendar/working.d.ts +1 -1
- package/lib/calendar/working.js +1 -1
- package/lib/calendar/working.js.map +1 -1
- package/lib/common/content.d.ts +1 -1
- package/lib/common/content.js +10 -9
- package/lib/common/content.js.map +1 -1
- package/lib/common/email.js +3 -3
- package/lib/common/email.js.map +1 -1
- package/lib/common/id.js +2 -6
- package/lib/common/id.js.map +1 -1
- package/lib/common/index.d.ts +1 -1
- package/lib/common/index.js +1 -1
- package/lib/common/index.js.map +1 -1
- package/lib/common/language.d.ts +1 -6
- package/lib/common/language.js +3 -9
- package/lib/common/language.js.map +1 -1
- 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/common/phone.js +3 -3
- package/lib/common/phone.js.map +1 -1
- package/lib/common/price.js +2 -4
- package/lib/common/price.js.map +1 -1
- package/lib/common/promotion.js +2 -0
- package/lib/common/promotion.js.map +1 -1
- package/lib/common/search.js +2 -2
- package/lib/common/search.js.map +1 -1
- package/lib/common/social.js +2 -1
- package/lib/common/social.js.map +1 -1
- package/lib/common/sort.js +2 -6
- package/lib/common/sort.js.map +1 -1
- package/lib/common/url.js +2 -2
- package/lib/common/url.js.map +1 -1
- package/lib/company/company.model.d.ts +1 -2
- package/lib/company/company.model.js +1 -2
- package/lib/company/company.model.js.map +1 -1
- package/lib/country/country.dto.d.ts +1 -1
- package/lib/country/country.dto.js +14 -16
- package/lib/country/country.dto.js.map +1 -1
- package/lib/country/country.model.d.ts +1 -1
- package/lib/course/appointment.model.d.ts +1 -1
- package/lib/course/appointment.model.js +1 -1
- package/lib/course/appointment.model.js.map +1 -1
- package/lib/course/course.model.d.ts +2 -2
- package/lib/course/course.model.js +1 -1
- package/lib/course/course.model.js.map +1 -1
- package/lib/course/definition.model.d.ts +1 -1
- package/lib/course/dto.d.ts +2 -3
- package/lib/course/dto.js +11 -34
- package/lib/course/dto.js.map +1 -1
- package/lib/course/index.d.ts +0 -1
- package/lib/course/index.js +0 -1
- package/lib/course/index.js.map +1 -1
- package/lib/currency/currency.dto.js +11 -13
- package/lib/currency/currency.dto.js.map +1 -1
- package/lib/discount/discount.dto.js +2 -2
- package/lib/discount/discount.dto.js.map +1 -1
- package/lib/discount/discount.model.d.ts +2 -3
- package/lib/discount/discount.model.js +1 -2
- package/lib/discount/discount.model.js.map +1 -1
- package/lib/driving/category/category.dto.d.ts +1 -1
- package/lib/driving/category/category.dto.js +7 -7
- package/lib/driving/category/category.dto.js.map +1 -1
- package/lib/driving/category/category.model.d.ts +1 -1
- package/lib/driving/exam/exam.dto.d.ts +2 -2
- package/lib/driving/exam/exam.dto.js +4 -4
- package/lib/driving/exam/exam.dto.js.map +1 -1
- package/lib/driving/exam/exam.model.d.ts +2 -2
- package/lib/driving/exam/exam.model.js +1 -1
- package/lib/driving/exam/exam.model.js.map +1 -1
- package/lib/driving/index.d.ts +0 -1
- package/lib/driving/index.js +0 -1
- package/lib/driving/index.js.map +1 -1
- package/lib/driving/lesson/index.d.ts +0 -1
- package/lib/driving/lesson/index.js +0 -1
- package/lib/driving/lesson/index.js.map +1 -1
- package/lib/driving/lesson/skill.d.ts +2 -3
- package/lib/driving/lesson/skill.dto.d.ts +2 -2
- package/lib/driving/lesson/skill.dto.js +4 -4
- package/lib/driving/lesson/skill.dto.js.map +1 -1
- package/lib/driving/lesson/skill.js +1 -1
- package/lib/driving/lesson/skill.js.map +1 -1
- package/lib/driving/lesson/topic.d.ts +1 -1
- package/lib/driving/lesson/topic.dto.d.ts +2 -2
- package/lib/driving/lesson/topic.dto.js +7 -8
- package/lib/driving/lesson/topic.dto.js.map +1 -1
- package/lib/event/event.dto.js +9 -13
- package/lib/event/event.dto.js.map +1 -1
- 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/category.model.d.ts +1 -1
- package/lib/expense/category.model.js +1 -1
- package/lib/expense/category.model.js.map +1 -1
- package/lib/expense/expense.dto.d.ts +2 -3
- package/lib/expense/expense.dto.js +14 -29
- package/lib/expense/expense.dto.js.map +1 -1
- package/lib/expense/expense.model.d.ts +2 -2
- package/lib/expense/expense.model.js +1 -1
- package/lib/expense/expense.model.js.map +1 -1
- package/lib/expense/index.d.ts +0 -1
- package/lib/expense/index.js +0 -1
- package/lib/expense/index.js.map +1 -1
- package/lib/finance/finance.dto.d.ts +7 -9
- package/lib/finance/finance.dto.js +38 -131
- package/lib/finance/finance.dto.js.map +1 -1
- package/lib/finance/finance.model.d.ts +3 -5
- package/lib/finance/finance.model.js +1 -3
- package/lib/finance/finance.model.js.map +1 -1
- package/lib/finance/index.d.ts +0 -1
- package/lib/finance/index.js +0 -1
- package/lib/finance/index.js.map +1 -1
- package/lib/free-benefit/free-benefit.model.d.ts +1 -1
- package/lib/free-benefit/free-benefit.model.js +1 -1
- package/lib/free-benefit/free-benefit.model.js.map +1 -1
- package/lib/free-benefit/index.d.ts +0 -1
- package/lib/free-benefit/index.js +0 -1
- package/lib/free-benefit/index.js.map +1 -1
- package/lib/geo/address.dto.js +7 -7
- package/lib/geo/address.dto.js.map +1 -1
- package/lib/geo/coordinate.model.js +3 -3
- package/lib/geo/coordinate.model.js.map +1 -1
- package/lib/giftcode/giftcode.dto.js +7 -7
- package/lib/giftcode/giftcode.dto.js.map +1 -1
- package/lib/handover/index.d.ts +0 -1
- package/lib/handover/index.js +0 -1
- package/lib/handover/index.js.map +1 -1
- package/lib/index.d.ts +4 -3
- package/lib/index.js +4 -3
- package/lib/index.js.map +1 -1
- package/lib/instructor/instructor.dto.d.ts +2 -4
- package/lib/instructor/instructor.dto.js +12 -32
- package/lib/instructor/instructor.dto.js.map +1 -1
- package/lib/instructor/instructor.model.d.ts +3 -6
- package/lib/instructor/instructor.model.js +2 -8
- package/lib/instructor/instructor.model.js.map +1 -1
- package/lib/invoice/index.d.ts +0 -1
- package/lib/invoice/index.js +0 -1
- package/lib/invoice/index.js.map +1 -1
- package/lib/invoice/invoice.dto.d.ts +2 -2
- package/lib/invoice/invoice.dto.js +7 -9
- package/lib/invoice/invoice.dto.js.map +1 -1
- package/lib/invoice/invoice.model.d.ts +2 -3
- package/lib/invoice/invoice.model.js +1 -2
- package/lib/invoice/invoice.model.js.map +1 -1
- package/lib/link/link.model.d.ts +2 -2
- package/lib/link/link.model.js +1 -1
- package/lib/link/link.model.js.map +1 -1
- package/lib/log/index.d.ts +0 -1
- package/lib/log/index.js +0 -1
- package/lib/log/index.js.map +1 -1
- package/lib/log/log.model.d.ts +1 -1
- package/lib/log/log.model.js +1 -1
- package/lib/log/log.model.js.map +1 -1
- package/lib/notification/index.d.ts +0 -1
- package/lib/notification/index.js +0 -1
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/notification.model.d.ts +2 -2
- package/lib/notification/notification.model.js +1 -1
- package/lib/notification/notification.model.js.map +1 -1
- package/lib/payment/company-payment.model.d.ts +3 -3
- package/lib/payment/company-payment.model.js +1 -1
- package/lib/payment/company-payment.model.js.map +1 -1
- package/lib/payment/index.d.ts +0 -1
- package/lib/payment/index.js +0 -1
- package/lib/payment/index.js.map +1 -1
- package/lib/payment/payment.dto.d.ts +1 -1
- package/lib/payment/payment.dto.js +5 -5
- package/lib/payment/payment.dto.js.map +1 -1
- package/lib/payment/payment.model.d.ts +2 -4
- package/lib/payment/payment.model.js +1 -3
- package/lib/payment/payment.model.js.map +1 -1
- package/lib/payout/index.d.ts +0 -1
- package/lib/payout/index.js +0 -1
- package/lib/payout/index.js.map +1 -1
- package/lib/payout/payout.model.d.ts +2 -2
- package/lib/payout/payout.model.js +1 -1
- package/lib/payout/payout.model.js.map +1 -1
- package/lib/priceplan/index.d.ts +0 -1
- package/lib/priceplan/index.js +0 -1
- package/lib/priceplan/index.js.map +1 -1
- package/lib/priceplan/plan.dto.d.ts +1 -1
- package/lib/priceplan/plan.dto.js +6 -6
- package/lib/priceplan/plan.dto.js.map +1 -1
- package/lib/priceplan/plan.model.d.ts +1 -1
- package/lib/priceplan/plan.model.js +1 -1
- package/lib/priceplan/plan.model.js.map +1 -1
- package/lib/refund/refund.dto.js +2 -2
- package/lib/refund/refund.dto.js.map +1 -1
- package/lib/refund/refund.model.d.ts +2 -3
- package/lib/refund/refund.model.js +1 -2
- package/lib/refund/refund.model.js.map +1 -1
- package/lib/security/index.d.ts +0 -4
- package/lib/security/index.js +0 -4
- package/lib/security/index.js.map +1 -1
- package/lib/security/role.dto.d.ts +2 -2
- package/lib/security/role.dto.js +2 -2
- package/lib/security/role.dto.js.map +1 -1
- package/lib/session/driving/session.topic.d.ts +2 -2
- package/lib/session/driving/session.topic.js +1 -1
- package/lib/session/driving/session.topic.js.map +1 -1
- package/lib/setting/index.d.ts +0 -1
- package/lib/setting/index.js +0 -1
- package/lib/setting/index.js.map +1 -1
- package/lib/setting/setting.dto.js +2 -2
- package/lib/setting/setting.dto.js.map +1 -1
- package/lib/setting/setting.model.d.ts +2 -2
- package/lib/setting/setting.model.js +1 -1
- package/lib/setting/setting.model.js.map +1 -1
- package/lib/student/student.dto.js +6 -8
- package/lib/student/student.dto.js.map +1 -1
- package/lib/student/student.model.d.ts +2 -3
- package/lib/student/student.model.js +1 -2
- package/lib/student/student.model.js.map +1 -1
- 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/index.d.ts +0 -1
- package/lib/ticket/index.js +0 -1
- package/lib/ticket/index.js.map +1 -1
- package/lib/ticket/ticket.dto.d.ts +1 -1
- package/lib/ticket/ticket.dto.js +7 -7
- package/lib/ticket/ticket.dto.js.map +1 -1
- package/lib/ticket/ticket.model.d.ts +1 -1
- package/lib/ticket/ticket.model.js +1 -1
- package/lib/ticket/ticket.model.js.map +1 -1
- package/lib/training/driving.model.d.ts +1 -1
- package/lib/training/driving.model.js +1 -1
- package/lib/training/driving.model.js.map +1 -1
- package/lib/training/index.d.ts +0 -1
- package/lib/training/index.js +0 -1
- package/lib/training/index.js.map +1 -1
- package/lib/training/request.dto.d.ts +2 -2
- package/lib/training/request.dto.js +2 -2
- package/lib/training/request.dto.js.map +1 -1
- package/lib/training/request.model.d.ts +2 -3
- package/lib/training/request.model.js +1 -2
- package/lib/training/request.model.js.map +1 -1
- package/lib/training/training.dto.d.ts +5 -6
- package/lib/training/training.dto.js +25 -80
- package/lib/training/training.dto.js.map +1 -1
- package/lib/training/training.model.d.ts +2 -3
- package/lib/training/training.model.js +6 -7
- package/lib/training/training.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/activity.type.d.ts +46 -0
- package/lib/types/activity.type.js +51 -0
- package/lib/types/activity.type.js.map +1 -0
- package/lib/types/addon.type.d.ts +66 -0
- package/lib/types/addon.type.js +71 -0
- package/lib/types/addon.type.js.map +1 -0
- package/lib/types/calendar.type.d.ts +24 -0
- package/lib/types/calendar.type.js +31 -0
- package/lib/types/calendar.type.js.map +1 -0
- package/lib/types/driving.type.d.ts +12 -0
- package/lib/types/driving.type.js +18 -0
- package/lib/types/driving.type.js.map +1 -0
- package/lib/types/earning.type.d.ts +6 -0
- package/lib/types/earning.type.js +3 -0
- package/lib/types/earning.type.js.map +1 -0
- package/lib/types/finance.type.d.ts +67 -0
- package/lib/types/finance.type.js +77 -0
- package/lib/types/finance.type.js.map +1 -0
- package/lib/types/index.d.ts +15 -0
- package/lib/types/index.js +32 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/interface.d.ts +79 -0
- package/lib/types/interface.js +4 -0
- package/lib/types/interface.js.map +1 -0
- package/lib/types/metric.type.d.ts +34 -0
- package/lib/types/metric.type.js +39 -0
- package/lib/types/metric.type.js.map +1 -0
- package/lib/types/policy.type.d.ts +27 -0
- package/lib/types/policy.type.js +32 -0
- package/lib/types/policy.type.js.map +1 -0
- package/lib/types/priceplan.type.d.ts +39 -0
- package/lib/types/priceplan.type.js +48 -0
- package/lib/types/priceplan.type.js.map +1 -0
- package/lib/types/product.type.d.ts +202 -0
- package/lib/types/product.type.js +209 -0
- package/lib/types/product.type.js.map +1 -0
- package/lib/types/program.type.d.ts +23 -0
- package/lib/types/program.type.js +28 -0
- package/lib/types/program.type.js.map +1 -0
- package/lib/types/security.type.d.ts +54 -0
- package/lib/types/security.type.js +60 -0
- package/lib/types/security.type.js.map +1 -0
- package/lib/types/support.type.d.ts +127 -0
- package/lib/types/support.type.js +144 -0
- package/lib/types/support.type.js.map +1 -0
- package/lib/types/training.type.d.ts +16 -0
- package/lib/types/training.type.js +22 -0
- package/lib/types/training.type.js.map +1 -0
- package/lib/user/index.d.ts +0 -1
- package/lib/user/index.js +0 -1
- package/lib/user/index.js.map +1 -1
- package/lib/user/profile.dto.d.ts +1 -2
- package/lib/user/profile.dto.js +8 -5
- package/lib/user/profile.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +1 -3
- package/lib/user/user.model.js +2 -4
- package/lib/user/user.model.js.map +1 -1
- package/lib/utils/array.helper.js +2 -2
- package/lib/utils/array.helper.js.map +1 -1
- package/lib/utils/compare.validator.d.ts +9 -0
- package/lib/utils/compare.validator.js +35 -0
- package/lib/utils/compare.validator.js.map +1 -0
- package/lib/utils/date.helper.d.ts +30 -1
- package/lib/utils/date.helper.js +59 -20
- package/lib/utils/date.helper.js.map +1 -1
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.js +3 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/required.validator.d.ts +77 -0
- package/lib/utils/required.validator.js +151 -0
- package/lib/utils/required.validator.js.map +1 -0
- package/lib/utils/transformers.helper.d.ts +48 -0
- package/lib/utils/transformers.helper.js +184 -0
- package/lib/utils/transformers.helper.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StatusType } from "../../types";
|
|
2
2
|
import { Feedback } from "../../feedback";
|
|
3
3
|
export declare class ExamStatusDto {
|
|
4
|
-
status:
|
|
4
|
+
status: StatusType;
|
|
5
5
|
}
|
|
6
6
|
export declare class ExamFeedbackDto {
|
|
7
7
|
examinerName: string;
|
|
@@ -11,16 +11,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ExamFeedbackDto = exports.ExamStatusDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const types_1 = require("
|
|
14
|
+
const types_1 = require("../../types");
|
|
15
15
|
const feedback_1 = require("../../feedback");
|
|
16
|
-
const
|
|
16
|
+
const utils_1 = require("../../utils");
|
|
17
17
|
class ExamStatusDto {
|
|
18
18
|
status;
|
|
19
19
|
}
|
|
20
20
|
exports.ExamStatusDto = ExamStatusDto;
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
-
(0, class_validator_1.IsEnum)(types_1.
|
|
23
|
+
(0, class_validator_1.IsEnum)(types_1.StatusType),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], ExamStatusDto.prototype, "status", void 0);
|
|
26
26
|
class ExamFeedbackDto {
|
|
@@ -30,7 +30,7 @@ class ExamFeedbackDto {
|
|
|
30
30
|
exports.ExamFeedbackDto = ExamFeedbackDto;
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0,
|
|
33
|
+
(0, utils_1.Trim)(),
|
|
34
34
|
(0, class_validator_1.IsString)(),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], ExamFeedbackDto.prototype, "examinerName", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exam.dto.js","sourceRoot":"","sources":["../../../src/driving/exam/exam.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2F;AAC3F,
|
|
1
|
+
{"version":3,"file":"exam.dto.js","sourceRoot":"","sources":["../../../src/driving/exam/exam.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2F;AAC3F,uCAAyC;AACzC,6CAA0C;AAC1C,uCAAmC;AAEnC,MAAa,aAAa;IAGzB,MAAM,CAAa;CACnB;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;6CACA;AAGpB,MAAa,eAAe;IAI3B,YAAY,CAAS;IAIrB,QAAQ,CAAW;CACnB;AATD,0CASC;AALA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,YAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,mBAAQ;iDAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Feedback } from "../../feedback/feedback.model";
|
|
2
|
-
import {
|
|
2
|
+
import { StatusType } from "../../types";
|
|
3
3
|
export declare class DrivingExam {
|
|
4
4
|
id: number;
|
|
5
5
|
examFeedback: Feedback;
|
|
6
|
-
examStatus:
|
|
6
|
+
examStatus: StatusType;
|
|
7
7
|
examinerName: string;
|
|
8
8
|
constructor(props?: Partial<DrivingExam>);
|
|
9
9
|
}
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.DrivingExam = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const feedback_model_1 = require("../../feedback/feedback.model");
|
|
15
|
-
const types_1 = require("
|
|
15
|
+
const types_1 = require("../../types");
|
|
16
16
|
class DrivingExam {
|
|
17
17
|
id;
|
|
18
18
|
examFeedback;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exam.model.js","sourceRoot":"","sources":["../../../src/driving/exam/exam.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kEAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"exam.model.js","sourceRoot":"","sources":["../../../src/driving/exam/exam.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kEAAyD;AACzD,uCAAyC;AAEzC,MAAa,WAAW;IAGvB,EAAE,CAAS;IAIX,YAAY,CAAW;IAGvB,UAAU,CAAa;IAGvB,YAAY,CAAS;IAErB,YAAY,KAA4B;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlBD,kCAkBC;AAfA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAQ,CAAC;8BACP,yBAAQ;iDAAC;AAGvB;IADC,IAAA,0BAAM,GAAE;;+CACc;AAGvB;IADC,IAAA,0BAAM,GAAE;;iDACY"}
|
package/lib/driving/index.d.ts
CHANGED
package/lib/driving/index.js
CHANGED
|
@@ -17,5 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./category"), exports);
|
|
18
18
|
__exportStar(require("./exam"), exports);
|
|
19
19
|
__exportStar(require("./lesson"), exports);
|
|
20
|
-
__exportStar(require("./types"), exports);
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
package/lib/driving/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/driving/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB;AACvB,2CAAyB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/driving/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB;AACvB,2CAAyB"}
|
|
@@ -18,5 +18,4 @@ __exportStar(require("./skill.dto"), exports);
|
|
|
18
18
|
__exportStar(require("./skill"), exports);
|
|
19
19
|
__exportStar(require("./topic.dto"), exports);
|
|
20
20
|
__exportStar(require("./topic"), exports);
|
|
21
|
-
__exportStar(require("./types"), exports);
|
|
22
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/driving/lesson/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0CAAwB;AACxB,8CAA4B;AAC5B,0CAAwB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/driving/lesson/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0CAAwB;AACxB,8CAA4B;AAC5B,0CAAwB"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Language } from '../../common';
|
|
1
|
+
import { Language, Score } from '../../types';
|
|
3
2
|
export declare class DrivingSkill {
|
|
4
3
|
id: number;
|
|
5
4
|
title: string;
|
|
6
5
|
sort: number;
|
|
7
|
-
score:
|
|
6
|
+
score: Score;
|
|
8
7
|
translations: {
|
|
9
8
|
language: Language;
|
|
10
9
|
title: string;
|
|
@@ -10,16 +10,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SkillScoreDto = exports.CompanySkillSubmitDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
13
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const types_1 = require("
|
|
14
|
+
const types_1 = require("../../types");
|
|
15
|
+
const utils_1 = require("../../utils");
|
|
16
16
|
class CompanySkillSubmitDto {
|
|
17
17
|
title;
|
|
18
18
|
}
|
|
19
19
|
exports.CompanySkillSubmitDto = CompanySkillSubmitDto;
|
|
20
20
|
__decorate([
|
|
21
21
|
(0, class_validator_1.IsString)(),
|
|
22
|
-
(0,
|
|
22
|
+
(0, utils_1.Trim)(),
|
|
23
23
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], CompanySkillSubmitDto.prototype, "title", void 0);
|
|
@@ -28,7 +28,7 @@ class SkillScoreDto {
|
|
|
28
28
|
}
|
|
29
29
|
exports.SkillScoreDto = SkillScoreDto;
|
|
30
30
|
__decorate([
|
|
31
|
-
(0, class_validator_1.IsIn)([types_1.
|
|
31
|
+
(0, class_validator_1.IsIn)([types_1.Score.Poor, types_1.Score.Weak, types_1.Score.Fair, types_1.Score.Great, types_1.Score.Excellent]),
|
|
32
32
|
__metadata("design:type", Number)
|
|
33
33
|
], SkillScoreDto.prototype, "score", void 0);
|
|
34
34
|
//# sourceMappingURL=skill.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.dto.js","sourceRoot":"","sources":["../../../src/driving/lesson/skill.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"skill.dto.js","sourceRoot":"","sources":["../../../src/driving/lesson/skill.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,uCAAoC;AACpC,uCAAmC;AAEnC,MAAa,qBAAqB;IAIjC,KAAK,CAAS;CACd;AALD,sDAKC;AADA;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,YAAI,GAAE;IACN,IAAA,4BAAU,GAAE;;oDACC;AAGf,MAAa,aAAa;IAEzB,KAAK,CAAQ;CACb;AAHD,sCAGC;AADA;IADC,IAAA,sBAAI,EAAC,CAAC,aAAK,CAAC,IAAI,EAAE,aAAK,CAAC,IAAI,EAAE,aAAK,CAAC,IAAI,EAAE,aAAK,CAAC,KAAK,EAAE,aAAK,CAAC,SAAS,CAAC,CAAC;;4CAC5D"}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DrivingSkill = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const types_1 = require("
|
|
14
|
+
const types_1 = require("../../types");
|
|
15
15
|
class DrivingSkill {
|
|
16
16
|
id;
|
|
17
17
|
title;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/driving/lesson/skill.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/driving/lesson/skill.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,uCAA8C;AAE9C,MAAa,YAAY;IAIxB,EAAE,CAAS;IAGX,KAAK,CAAS;IAId,IAAI,CAAS;IAGb,KAAK,CAAQ;IAGb,YAAY,CAIR;IAEJ,YAAY,KAA6B;QACxC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1BD,oCA0BC;AAtBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;2CACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACN;AAGb;IADC,IAAA,0BAAM,GAAE;;2CACI;AAGb;IADC,IAAA,0BAAM,GAAE;;kDAKL"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StatusType } from "../../types";
|
|
2
2
|
export declare class CompanyTopicSubmitDto {
|
|
3
3
|
title: string;
|
|
4
4
|
description: string;
|
|
5
5
|
skills: string[];
|
|
6
6
|
}
|
|
7
7
|
export declare class DrivingTopicFilterDto {
|
|
8
|
-
status:
|
|
8
|
+
status: StatusType;
|
|
9
9
|
title: string;
|
|
10
10
|
}
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DrivingTopicFilterDto = exports.CompanyTopicSubmitDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
13
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const types_1 = require("
|
|
14
|
+
const types_1 = require("../../types");
|
|
15
|
+
const utils_1 = require("../../utils");
|
|
16
16
|
class CompanyTopicSubmitDto {
|
|
17
17
|
title;
|
|
18
18
|
description;
|
|
@@ -21,13 +21,13 @@ class CompanyTopicSubmitDto {
|
|
|
21
21
|
exports.CompanyTopicSubmitDto = CompanyTopicSubmitDto;
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0,
|
|
24
|
+
(0, utils_1.Trim)(),
|
|
25
25
|
(0, class_validator_1.IsNotEmpty)(),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
27
|
], CompanyTopicSubmitDto.prototype, "title", void 0);
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
(0,
|
|
30
|
+
(0, utils_1.Trim)(),
|
|
31
31
|
(0, class_validator_1.IsString)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], CompanyTopicSubmitDto.prototype, "description", void 0);
|
|
@@ -36,8 +36,7 @@ __decorate([
|
|
|
36
36
|
(0, class_validator_1.IsArray)(),
|
|
37
37
|
(0, class_validator_1.ArrayNotEmpty)(),
|
|
38
38
|
(0, class_validator_1.IsString)({ each: true }),
|
|
39
|
-
(0,
|
|
40
|
-
,
|
|
39
|
+
(0, utils_1.ToStringArray)(),
|
|
41
40
|
__metadata("design:type", Array)
|
|
42
41
|
], CompanyTopicSubmitDto.prototype, "skills", void 0);
|
|
43
42
|
class DrivingTopicFilterDto {
|
|
@@ -47,13 +46,13 @@ class DrivingTopicFilterDto {
|
|
|
47
46
|
exports.DrivingTopicFilterDto = DrivingTopicFilterDto;
|
|
48
47
|
__decorate([
|
|
49
48
|
(0, class_validator_1.IsOptional)(),
|
|
50
|
-
(0, class_validator_1.IsEnum)(types_1.
|
|
49
|
+
(0, class_validator_1.IsEnum)(types_1.StatusType),
|
|
51
50
|
__metadata("design:type", String)
|
|
52
51
|
], DrivingTopicFilterDto.prototype, "status", void 0);
|
|
53
52
|
__decorate([
|
|
54
53
|
(0, class_validator_1.IsOptional)(),
|
|
55
54
|
(0, class_validator_1.IsString)(),
|
|
56
|
-
(0,
|
|
55
|
+
(0, utils_1.Trim)(),
|
|
57
56
|
__metadata("design:type", String)
|
|
58
57
|
], DrivingTopicFilterDto.prototype, "title", void 0);
|
|
59
58
|
//# sourceMappingURL=topic.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topic.dto.js","sourceRoot":"","sources":["../../../src/driving/lesson/topic.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"topic.dto.js","sourceRoot":"","sources":["../../../src/driving/lesson/topic.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmG;AACnG,uCAAyC;AACzC,uCAAkD;AAElD,MAAa,qBAAqB;IAIjC,KAAK,CAAS;IAKd,WAAW,CAAS;IAOpB,MAAM,CAAW;CACjB;AAjBD,sDAiBC;AAbA;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,YAAI,GAAE;IACN,IAAA,4BAAU,GAAE;;oDACC;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,YAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;0DACS;AAOpB;IALC,IAAA,4BAAU,GAAE;IACT,IAAA,yBAAO,GAAE;IACT,IAAA,+BAAa,GAAE;IACf,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC3B,IAAA,qBAAa,GAAE;;qDACC;AAGlB,MAAa,qBAAqB;IAGjC,MAAM,CAAa;IAKnB,KAAK,CAAS;CACd;AATD,sDASC;AANA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;qDACA;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,YAAI,GAAE;;oDACO"}
|
package/lib/event/event.dto.js
CHANGED
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.TaskFilterDto = exports.TaskUpdateDto = exports.TaskCreateDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
13
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
14
|
+
const utils_1 = require("../utils");
|
|
15
|
+
const utils_2 = require("../utils");
|
|
16
16
|
class TaskCreateDto {
|
|
17
17
|
instructorId;
|
|
18
18
|
title;
|
|
@@ -30,14 +30,14 @@ __decorate([
|
|
|
30
30
|
], TaskCreateDto.prototype, "instructorId", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
-
(0,
|
|
33
|
+
(0, utils_2.Trim)(),
|
|
34
34
|
(0, class_validator_1.IsString)(),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], TaskCreateDto.prototype, "title", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, class_validator_1.IsNotEmpty)(),
|
|
39
39
|
(0, class_validator_1.IsDate)(),
|
|
40
|
-
(0, class_validator_1.Validate)(
|
|
40
|
+
(0, class_validator_1.Validate)(utils_1.CompareWithEndDate),
|
|
41
41
|
__metadata("design:type", Date)
|
|
42
42
|
], TaskCreateDto.prototype, "startDate", void 0);
|
|
43
43
|
__decorate([
|
|
@@ -71,14 +71,14 @@ __decorate([
|
|
|
71
71
|
], TaskUpdateDto.prototype, "instructorId", void 0);
|
|
72
72
|
__decorate([
|
|
73
73
|
(0, class_validator_1.IsNotEmpty)(),
|
|
74
|
-
(0,
|
|
74
|
+
(0, utils_2.Trim)(),
|
|
75
75
|
(0, class_validator_1.IsString)(),
|
|
76
76
|
__metadata("design:type", String)
|
|
77
77
|
], TaskUpdateDto.prototype, "title", void 0);
|
|
78
78
|
__decorate([
|
|
79
79
|
(0, class_validator_1.IsNotEmpty)(),
|
|
80
80
|
(0, class_validator_1.IsDate)(),
|
|
81
|
-
(0, class_validator_1.Validate)(
|
|
81
|
+
(0, class_validator_1.Validate)(utils_1.CompareWithEndDate),
|
|
82
82
|
__metadata("design:type", Date)
|
|
83
83
|
], TaskUpdateDto.prototype, "startDate", void 0);
|
|
84
84
|
__decorate([
|
|
@@ -107,25 +107,21 @@ class TaskFilterDto {
|
|
|
107
107
|
exports.TaskFilterDto = TaskFilterDto;
|
|
108
108
|
__decorate([
|
|
109
109
|
(0, class_validator_1.IsOptional)(),
|
|
110
|
-
(0,
|
|
111
|
-
? Array.isArray(value)
|
|
112
|
-
? value.map(v => +v)
|
|
113
|
-
: [+value]
|
|
114
|
-
: undefined),
|
|
110
|
+
(0, utils_2.ToNumberArray)(),
|
|
115
111
|
(0, class_validator_1.IsArray)(),
|
|
116
112
|
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
117
113
|
__metadata("design:type", Array)
|
|
118
114
|
], TaskFilterDto.prototype, "instructors", void 0);
|
|
119
115
|
__decorate([
|
|
120
116
|
(0, class_validator_1.IsOptional)(),
|
|
121
|
-
(0,
|
|
117
|
+
(0, utils_2.Trim)(),
|
|
122
118
|
(0, class_validator_1.IsString)(),
|
|
123
119
|
__metadata("design:type", String)
|
|
124
120
|
], TaskFilterDto.prototype, "title", void 0);
|
|
125
121
|
__decorate([
|
|
126
122
|
(0, class_validator_1.IsNotEmpty)(),
|
|
127
123
|
(0, class_validator_1.IsDate)(),
|
|
128
|
-
(0, class_validator_1.Validate)(
|
|
124
|
+
(0, class_validator_1.Validate)(utils_1.CompareWithEndDate),
|
|
129
125
|
__metadata("design:type", Date)
|
|
130
126
|
], TaskFilterDto.prototype, "startDate", void 0);
|
|
131
127
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.dto.js","sourceRoot":"","sources":["../../src/event/event.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"event.dto.js","sourceRoot":"","sources":["../../src/event/event.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwH;AACxH,oCAA8C;AAC9C,oCAA+C;AAE/C,MAAa,aAAa;IAIzB,YAAY,CAAS;IAKrB,KAAK,CAAS;IAKd,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,MAAM,CAAU;IAIhB,IAAI,CAAU;CACd;AA3BD,sCA2BC;AAvBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;mDACc;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,YAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;4CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAQ,EAAC,0BAAkB,CAAC;8BAClB,IAAI;gDAAC;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACA,IAAI;8CAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;6CACI;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2CACE;AAGf,MAAa,aAAa;IAGzB,YAAY,CAAS;IAKrB,KAAK,CAAS;IAKd,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,MAAM,CAAU;IAIhB,IAAI,CAAU;CACd;AA1BD,sCA0BC;AAvBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,YAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;4CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAQ,EAAC,0BAAkB,CAAC;8BAClB,IAAI;gDAAC;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACA,IAAI;8CAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;6CACI;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2CACE;AAGf,MAAa,aAAa;IAKzB,WAAW,CAAW;IAKtB,KAAK,CAAS;IAKd,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,MAAM,CAAU;IAIhB,IAAI,CAAU;CACd;AA5BD,sCA4BC;AAvBA;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAa,GAAE;IACf,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACP;AAKtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,YAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;4CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAQ,EAAC,0BAAkB,CAAC;8BAClB,IAAI;gDAAC;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACA,IAAI;8CAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;6CACI;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2CACE"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum AgentAccountEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Agent account is created
|
|
4
|
+
* @author Auth User
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @fires Log agent for auditing purposes
|
|
7
|
+
* @fires Log system log for auditing purposes
|
|
8
|
+
* @param AgentEntity Event author
|
|
9
|
+
*/
|
|
10
|
+
Created = "agent.account.created",
|
|
11
|
+
/**
|
|
12
|
+
* Agent account is completed
|
|
13
|
+
* @author Auth User
|
|
14
|
+
* @fires Log agent for auditing purposes
|
|
15
|
+
* @param AgentEntity Event author
|
|
16
|
+
*/
|
|
17
|
+
Completed = "agent.account.completed",
|
|
18
|
+
/**
|
|
19
|
+
* Agent account is closed
|
|
20
|
+
* @author Auth User
|
|
21
|
+
* @fires Log user for auditing purposes
|
|
22
|
+
* @fires Log agent for auditing purposes
|
|
23
|
+
* @fires Log System log for auditing purposes
|
|
24
|
+
* @param AgentEntity Event author
|
|
25
|
+
*/
|
|
26
|
+
Closed = "agent.account.closed"
|
|
27
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentAccountEvents = void 0;
|
|
4
|
+
var AgentAccountEvents;
|
|
5
|
+
(function (AgentAccountEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Agent account is created
|
|
8
|
+
* @author Auth User
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @fires Log agent for auditing purposes
|
|
11
|
+
* @fires Log system log for auditing purposes
|
|
12
|
+
* @param AgentEntity Event author
|
|
13
|
+
*/
|
|
14
|
+
AgentAccountEvents["Created"] = "agent.account.created";
|
|
15
|
+
/**
|
|
16
|
+
* Agent account is completed
|
|
17
|
+
* @author Auth User
|
|
18
|
+
* @fires Log agent for auditing purposes
|
|
19
|
+
* @param AgentEntity Event author
|
|
20
|
+
*/
|
|
21
|
+
AgentAccountEvents["Completed"] = "agent.account.completed";
|
|
22
|
+
/**
|
|
23
|
+
* Agent account is closed
|
|
24
|
+
* @author Auth User
|
|
25
|
+
* @fires Log user for auditing purposes
|
|
26
|
+
* @fires Log agent for auditing purposes
|
|
27
|
+
* @fires Log System log for auditing purposes
|
|
28
|
+
* @param AgentEntity Event author
|
|
29
|
+
*/
|
|
30
|
+
AgentAccountEvents["Closed"] = "agent.account.closed";
|
|
31
|
+
})(AgentAccountEvents || (exports.AgentAccountEvents = AgentAccountEvents = {}));
|
|
32
|
+
//# sourceMappingURL=account.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../src/events/agent/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBA6BX;AA7BD,WAAY,kBAAkB;IAE7B;;;;;;;OAOG;IACH,uDAAiC,CAAA;IAEjC;;;;;OAKG;IACH,2DAAqC,CAAA;IAErC;;;;;;;OAOG;IACH,qDAA+B,CAAA;AAChC,CAAC,EA7BW,kBAAkB,kCAAlB,kBAAkB,QA6B7B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare enum AgentPayoutEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Agent promotion profit is registered
|
|
4
|
+
* @author System/Job
|
|
5
|
+
* @fires Log staff for auditing purposes
|
|
6
|
+
* @fires Log agent for auditing purposes
|
|
7
|
+
* @fires Log system for auditing purposes
|
|
8
|
+
* @param AgentPromotionEntity Agent promotion
|
|
9
|
+
*/
|
|
10
|
+
ProfitRegistred = "agent.payout.profitRegistered",
|
|
11
|
+
/**
|
|
12
|
+
* Agent payout is settled
|
|
13
|
+
* @author Staff
|
|
14
|
+
* @fires Log agent for auditing purposes
|
|
15
|
+
* @fires Log system for auditing purposes
|
|
16
|
+
* @param AgentPayoutEntity Agent whose earnings are settled
|
|
17
|
+
* @param StaffEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
PaymentSettled = "agent.payout.paymentSettled",
|
|
20
|
+
/**
|
|
21
|
+
* Agent payout is paid
|
|
22
|
+
* @author Staff
|
|
23
|
+
* @fires Log agent for auditing purposes
|
|
24
|
+
* @fires Log system for auditing purposes
|
|
25
|
+
* @param AgentPayoutEntity Paid agent
|
|
26
|
+
* @param StaffEntity Event author
|
|
27
|
+
*/
|
|
28
|
+
PaymentPaid = "agent.payout.paymentPaid"
|
|
29
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentPayoutEvents = void 0;
|
|
4
|
+
var AgentPayoutEvents;
|
|
5
|
+
(function (AgentPayoutEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Agent promotion profit is registered
|
|
8
|
+
* @author System/Job
|
|
9
|
+
* @fires Log staff for auditing purposes
|
|
10
|
+
* @fires Log agent for auditing purposes
|
|
11
|
+
* @fires Log system for auditing purposes
|
|
12
|
+
* @param AgentPromotionEntity Agent promotion
|
|
13
|
+
*/
|
|
14
|
+
AgentPayoutEvents["ProfitRegistred"] = "agent.payout.profitRegistered";
|
|
15
|
+
/**
|
|
16
|
+
* Agent payout is settled
|
|
17
|
+
* @author Staff
|
|
18
|
+
* @fires Log agent for auditing purposes
|
|
19
|
+
* @fires Log system for auditing purposes
|
|
20
|
+
* @param AgentPayoutEntity Agent whose earnings are settled
|
|
21
|
+
* @param StaffEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
AgentPayoutEvents["PaymentSettled"] = "agent.payout.paymentSettled";
|
|
24
|
+
/**
|
|
25
|
+
* Agent payout is paid
|
|
26
|
+
* @author Staff
|
|
27
|
+
* @fires Log agent for auditing purposes
|
|
28
|
+
* @fires Log system for auditing purposes
|
|
29
|
+
* @param AgentPayoutEntity Paid agent
|
|
30
|
+
* @param StaffEntity Event author
|
|
31
|
+
*/
|
|
32
|
+
AgentPayoutEvents["PaymentPaid"] = "agent.payout.paymentPaid";
|
|
33
|
+
})(AgentPayoutEvents || (exports.AgentPayoutEvents = AgentPayoutEvents = {}));
|
|
34
|
+
//# sourceMappingURL=payout.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payout.events.js","sourceRoot":"","sources":["../../../src/events/agent/payout.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBA+BX;AA/BD,WAAY,iBAAiB;IAE5B;;;;;;;OAOG;IACH,sEAAiD,CAAA;IAEjD;;;;;;;OAOG;IACH,mEAA8C,CAAA;IAE9C;;;;;;;OAOG;IACH,6DAAwC,CAAA;AACzC,CAAC,EA/BW,iBAAiB,iCAAjB,iBAAiB,QA+B5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum AgentProfileEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Agent submits his bank account
|
|
4
|
+
* @author Auth User
|
|
5
|
+
* @fires Log agent for auditing purposes
|
|
6
|
+
* @fires Log system for auditing purposes
|
|
7
|
+
* @param AgentEntity Event author
|
|
8
|
+
*/
|
|
9
|
+
BankAccountSubmitted = "agent.profile.bankAccountSubmitted",
|
|
10
|
+
/**
|
|
11
|
+
* Agent deletes his bank account
|
|
12
|
+
* @author Auth User
|
|
13
|
+
* @fires Log agent for auditing purposes
|
|
14
|
+
* @fires Log system for auditing purposes
|
|
15
|
+
* @param AgentEntity Event author
|
|
16
|
+
*/
|
|
17
|
+
BankAccountDeleted = "agent.profile.bankAccountDeleted"
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentProfileEvents = void 0;
|
|
4
|
+
var AgentProfileEvents;
|
|
5
|
+
(function (AgentProfileEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Agent submits his bank account
|
|
8
|
+
* @author Auth User
|
|
9
|
+
* @fires Log agent for auditing purposes
|
|
10
|
+
* @fires Log system for auditing purposes
|
|
11
|
+
* @param AgentEntity Event author
|
|
12
|
+
*/
|
|
13
|
+
AgentProfileEvents["BankAccountSubmitted"] = "agent.profile.bankAccountSubmitted";
|
|
14
|
+
/**
|
|
15
|
+
* Agent deletes his bank account
|
|
16
|
+
* @author Auth User
|
|
17
|
+
* @fires Log agent for auditing purposes
|
|
18
|
+
* @fires Log system for auditing purposes
|
|
19
|
+
* @param AgentEntity Event author
|
|
20
|
+
*/
|
|
21
|
+
AgentProfileEvents["BankAccountDeleted"] = "agent.profile.bankAccountDeleted";
|
|
22
|
+
})(AgentProfileEvents || (exports.AgentProfileEvents = AgentProfileEvents = {}));
|
|
23
|
+
//# sourceMappingURL=profile.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.events.js","sourceRoot":"","sources":["../../../src/events/agent/profile.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAmBX;AAnBD,WAAY,kBAAkB;IAE7B;;;;;;OAMG;IACH,iFAA2D,CAAA;IAE3D;;;;;;OAMG;IACH,6EAAuD,CAAA;AACxD,CAAC,EAnBW,kBAAkB,kCAAlB,kBAAkB,QAmB7B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare enum AgentPromotionEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Agent promotion code is registered (by company)
|
|
4
|
+
* @author Company Owner
|
|
5
|
+
* @fires Instructor (owner) log for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @fires Log agent for auditing purposes
|
|
8
|
+
* @fires Log system for auditing purposes
|
|
9
|
+
* @fires Notify agent about the promotion code registration
|
|
10
|
+
* @param CompanyEntity Effected company
|
|
11
|
+
*/
|
|
12
|
+
Registred = "agent.promotion.registred",
|
|
13
|
+
/**
|
|
14
|
+
* Agent promotion has started
|
|
15
|
+
* @author System/Job
|
|
16
|
+
* @fires Log agent for auditing purposes
|
|
17
|
+
* @fires Log system for auditing purposes
|
|
18
|
+
* @fires Notify agent about the promotion start
|
|
19
|
+
* @param CompanyEntity Effected company
|
|
20
|
+
*/
|
|
21
|
+
Started = "agent.promotion.started",
|
|
22
|
+
/**
|
|
23
|
+
* Agent promotion has ended
|
|
24
|
+
* @author System/Job
|
|
25
|
+
* @fires Log agent for auditing purposes
|
|
26
|
+
* @fires Log company for auditing purposes
|
|
27
|
+
* @fires Log system for auditing purposes
|
|
28
|
+
* @fires Notify agent about the promotion end
|
|
29
|
+
* @param CompanyEntity Effected company
|
|
30
|
+
*/
|
|
31
|
+
Ended = "agent.promotion.ended",
|
|
32
|
+
/**
|
|
33
|
+
* Agent promotion is closed due to company closure
|
|
34
|
+
* @author Company Owner
|
|
35
|
+
* @fires Log agent for auditing purposes
|
|
36
|
+
* @fires Log company for auditing purposes
|
|
37
|
+
* @fires Log system for auditing purposes
|
|
38
|
+
* @fires Notify agent about the promotion closure
|
|
39
|
+
* @param CompanyEntity Effected company
|
|
40
|
+
*/
|
|
41
|
+
Closed = "agent.promotion.closed"
|
|
42
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentPromotionEvents = void 0;
|
|
4
|
+
var AgentPromotionEvents;
|
|
5
|
+
(function (AgentPromotionEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Agent promotion code is registered (by company)
|
|
8
|
+
* @author Company Owner
|
|
9
|
+
* @fires Instructor (owner) log for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @fires Log agent for auditing purposes
|
|
12
|
+
* @fires Log system for auditing purposes
|
|
13
|
+
* @fires Notify agent about the promotion code registration
|
|
14
|
+
* @param CompanyEntity Effected company
|
|
15
|
+
*/
|
|
16
|
+
AgentPromotionEvents["Registred"] = "agent.promotion.registred";
|
|
17
|
+
/**
|
|
18
|
+
* Agent promotion has started
|
|
19
|
+
* @author System/Job
|
|
20
|
+
* @fires Log agent for auditing purposes
|
|
21
|
+
* @fires Log system for auditing purposes
|
|
22
|
+
* @fires Notify agent about the promotion start
|
|
23
|
+
* @param CompanyEntity Effected company
|
|
24
|
+
*/
|
|
25
|
+
AgentPromotionEvents["Started"] = "agent.promotion.started";
|
|
26
|
+
/**
|
|
27
|
+
* Agent promotion has ended
|
|
28
|
+
* @author System/Job
|
|
29
|
+
* @fires Log agent for auditing purposes
|
|
30
|
+
* @fires Log company for auditing purposes
|
|
31
|
+
* @fires Log system for auditing purposes
|
|
32
|
+
* @fires Notify agent about the promotion end
|
|
33
|
+
* @param CompanyEntity Effected company
|
|
34
|
+
*/
|
|
35
|
+
AgentPromotionEvents["Ended"] = "agent.promotion.ended";
|
|
36
|
+
/**
|
|
37
|
+
* Agent promotion is closed due to company closure
|
|
38
|
+
* @author Company Owner
|
|
39
|
+
* @fires Log agent for auditing purposes
|
|
40
|
+
* @fires Log company for auditing purposes
|
|
41
|
+
* @fires Log system for auditing purposes
|
|
42
|
+
* @fires Notify agent about the promotion closure
|
|
43
|
+
* @param CompanyEntity Effected company
|
|
44
|
+
*/
|
|
45
|
+
AgentPromotionEvents["Closed"] = "agent.promotion.closed";
|
|
46
|
+
})(AgentPromotionEvents || (exports.AgentPromotionEvents = AgentPromotionEvents = {}));
|
|
47
|
+
//# sourceMappingURL=promotion.events.js.map
|