@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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare enum CompanyCourseAppointmentEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Course appointment is created
|
|
4
|
+
* @author Company Manager
|
|
5
|
+
* @fires Log instructor for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @param CompanyCourseAppointmentEntity Created course appointment
|
|
8
|
+
* @param CompanyInstructorEntity Event author
|
|
9
|
+
*/
|
|
10
|
+
Created = "company.course.appointment.created",
|
|
11
|
+
/**
|
|
12
|
+
* Course appointment is deleted
|
|
13
|
+
* @author Company Manager
|
|
14
|
+
* @fires Log instructor for auditing purposes
|
|
15
|
+
* @fires Log company for auditing purposes
|
|
16
|
+
* @fires Notify assigned instructor about the appointment part deletion
|
|
17
|
+
* @fires Notify in-charge manager about the appointment part deletion
|
|
18
|
+
* @param CompanyCourseAppointmentEntity Deleted appointment
|
|
19
|
+
* @param CompanyInstructorEntity Event author
|
|
20
|
+
*/
|
|
21
|
+
Deleted = "company.course.appointment.deleted",
|
|
22
|
+
/**
|
|
23
|
+
* Course appointment is changed
|
|
24
|
+
* @author Company Manager
|
|
25
|
+
* @fires Log instructor for auditing purposes
|
|
26
|
+
* @fires Log company for auditing purposes
|
|
27
|
+
* @fires Notify assigned instructor about the appointment part update
|
|
28
|
+
* @fires Notify in-charge manager about the appointment part update
|
|
29
|
+
* @param CompanyCourseAppointmentEntity Updated appointment
|
|
30
|
+
* @param CompanyInstructorEntity Event author
|
|
31
|
+
*/
|
|
32
|
+
Changed = "company.course.appointment.changed",
|
|
33
|
+
/**
|
|
34
|
+
* Course appointment is assigned to instructor
|
|
35
|
+
* @author Company Manager
|
|
36
|
+
* @fires Log instructor for auditing purposes
|
|
37
|
+
* @fires Log company for auditing purposes
|
|
38
|
+
* @fires Notify assigned instructor about the new appointment part
|
|
39
|
+
* @fires Notify in-charge manager about the new appointment part
|
|
40
|
+
* @param CoursePartEntity Created appointment part
|
|
41
|
+
* @param CompanyInstructorEntity Event author
|
|
42
|
+
*/
|
|
43
|
+
Assigned = "company.course.appointment.assigned",
|
|
44
|
+
/**
|
|
45
|
+
* Course appointment is reassigned to another instructor
|
|
46
|
+
* @author Company Manager
|
|
47
|
+
* @fires Log instructor for auditing purposes
|
|
48
|
+
* @fires Log company for auditing purposes
|
|
49
|
+
* @fires Notify previous assigned instructor about the appointment part reassignment
|
|
50
|
+
* @fires Notify new assigned instructor about the appointment part reassignment
|
|
51
|
+
* @fires Notify in-charge manager about the appointment part reassignment
|
|
52
|
+
* @param CoursePartEntity Updated appointment part
|
|
53
|
+
* @param CompanyInstructorEntity Event author
|
|
54
|
+
*/
|
|
55
|
+
Reassigned = "company.course.appointment.reassigned"
|
|
56
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyCourseAppointmentEvents = void 0;
|
|
4
|
+
var CompanyCourseAppointmentEvents;
|
|
5
|
+
(function (CompanyCourseAppointmentEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Course appointment is created
|
|
8
|
+
* @author Company Manager
|
|
9
|
+
* @fires Log instructor for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @param CompanyCourseAppointmentEntity Created course appointment
|
|
12
|
+
* @param CompanyInstructorEntity Event author
|
|
13
|
+
*/
|
|
14
|
+
CompanyCourseAppointmentEvents["Created"] = "company.course.appointment.created";
|
|
15
|
+
/**
|
|
16
|
+
* Course appointment is deleted
|
|
17
|
+
* @author Company Manager
|
|
18
|
+
* @fires Log instructor for auditing purposes
|
|
19
|
+
* @fires Log company for auditing purposes
|
|
20
|
+
* @fires Notify assigned instructor about the appointment part deletion
|
|
21
|
+
* @fires Notify in-charge manager about the appointment part deletion
|
|
22
|
+
* @param CompanyCourseAppointmentEntity Deleted appointment
|
|
23
|
+
* @param CompanyInstructorEntity Event author
|
|
24
|
+
*/
|
|
25
|
+
CompanyCourseAppointmentEvents["Deleted"] = "company.course.appointment.deleted";
|
|
26
|
+
/**
|
|
27
|
+
* Course appointment is changed
|
|
28
|
+
* @author Company Manager
|
|
29
|
+
* @fires Log instructor for auditing purposes
|
|
30
|
+
* @fires Log company for auditing purposes
|
|
31
|
+
* @fires Notify assigned instructor about the appointment part update
|
|
32
|
+
* @fires Notify in-charge manager about the appointment part update
|
|
33
|
+
* @param CompanyCourseAppointmentEntity Updated appointment
|
|
34
|
+
* @param CompanyInstructorEntity Event author
|
|
35
|
+
*/
|
|
36
|
+
CompanyCourseAppointmentEvents["Changed"] = "company.course.appointment.changed";
|
|
37
|
+
/**
|
|
38
|
+
* Course appointment is assigned to instructor
|
|
39
|
+
* @author Company Manager
|
|
40
|
+
* @fires Log instructor for auditing purposes
|
|
41
|
+
* @fires Log company for auditing purposes
|
|
42
|
+
* @fires Notify assigned instructor about the new appointment part
|
|
43
|
+
* @fires Notify in-charge manager about the new appointment part
|
|
44
|
+
* @param CoursePartEntity Created appointment part
|
|
45
|
+
* @param CompanyInstructorEntity Event author
|
|
46
|
+
*/
|
|
47
|
+
CompanyCourseAppointmentEvents["Assigned"] = "company.course.appointment.assigned";
|
|
48
|
+
/**
|
|
49
|
+
* Course appointment is reassigned to another instructor
|
|
50
|
+
* @author Company Manager
|
|
51
|
+
* @fires Log instructor for auditing purposes
|
|
52
|
+
* @fires Log company for auditing purposes
|
|
53
|
+
* @fires Notify previous assigned instructor about the appointment part reassignment
|
|
54
|
+
* @fires Notify new assigned instructor about the appointment part reassignment
|
|
55
|
+
* @fires Notify in-charge manager about the appointment part reassignment
|
|
56
|
+
* @param CoursePartEntity Updated appointment part
|
|
57
|
+
* @param CompanyInstructorEntity Event author
|
|
58
|
+
*/
|
|
59
|
+
CompanyCourseAppointmentEvents["Reassigned"] = "company.course.appointment.reassigned";
|
|
60
|
+
})(CompanyCourseAppointmentEvents || (exports.CompanyCourseAppointmentEvents = CompanyCourseAppointmentEvents = {}));
|
|
61
|
+
//# sourceMappingURL=appointment.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment.events.js","sourceRoot":"","sources":["../../../../src/events/company/course/appointment.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,8BA4DX;AA5DD,WAAY,8BAA8B;IAEzC;;;;;;;OAOG;IACH,gFAA8C,CAAA;IAE9C;;;;;;;;;OASG;IACH,gFAA8C,CAAA;IAE9C;;;;;;;;;OASG;IACH,gFAA8C,CAAA;IAE9C;;;;;;;;;OASG;IACH,kFAAgD,CAAA;IAEhD;;;;;;;;;;OAUG;IACH,sFAAoD,CAAA;AACrD,CAAC,EA5DW,8BAA8B,8CAA9B,8BAA8B,QA4DzC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export declare enum CompanyCourseEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Draft course is created
|
|
4
|
+
* @author Company Manager
|
|
5
|
+
* @fires Log instructor for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @param CompanyCourseEntity Created course
|
|
8
|
+
* @param CompanyInstructorEntity Event author
|
|
9
|
+
*/
|
|
10
|
+
Created = "company.course.created",
|
|
11
|
+
/**
|
|
12
|
+
* Course is deleted
|
|
13
|
+
* @author Company Manager
|
|
14
|
+
* @fires Log instructor for auditing purposes
|
|
15
|
+
* @fires Log company for auditing purposes
|
|
16
|
+
* @param CompanyCourseEntity Deleted course
|
|
17
|
+
* @param CompanyInstructorEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
Deleted = "company.course.deleted",
|
|
20
|
+
/**
|
|
21
|
+
* Course title changed
|
|
22
|
+
* @author Company Manager
|
|
23
|
+
* @fires Log instructor for auditing purposes
|
|
24
|
+
* @fires Log company for auditing purposes
|
|
25
|
+
* @param CompanyCourseEntity Updated course
|
|
26
|
+
* @param CompanyInstructorEntity Event author
|
|
27
|
+
*/
|
|
28
|
+
TitleChanged = "company.course.titleChanged",
|
|
29
|
+
/**
|
|
30
|
+
* Course description changed
|
|
31
|
+
* @author Company Manager
|
|
32
|
+
* @fires Log instructor for auditing purposes
|
|
33
|
+
* @fires Log company for auditing purposes
|
|
34
|
+
* @param CompanyCourseEntity Updated course
|
|
35
|
+
* @param CompanyInstructorEntity Event author
|
|
36
|
+
*/
|
|
37
|
+
DescriptionChanged = "company.course.descriptionChanged",
|
|
38
|
+
/**
|
|
39
|
+
* In-charge instructor submitted the course for review
|
|
40
|
+
* @author Course manager
|
|
41
|
+
* @fires Log instructor for auditing purposes
|
|
42
|
+
* @fires Log company for auditing purposes
|
|
43
|
+
* @fires Notify In-charge manager about the course submission
|
|
44
|
+
* @param CompanyCourseEntity Submitted course
|
|
45
|
+
* @param CompanyInstructorEntity Event author
|
|
46
|
+
*/
|
|
47
|
+
InChargeInstructorSubmitted = "company.course.inchargeInstructorSubmitted",
|
|
48
|
+
/**
|
|
49
|
+
* In-charge instructor changed for the course
|
|
50
|
+
* @author Company Manager
|
|
51
|
+
* @fires Log instructor for auditing purposes
|
|
52
|
+
* @fires Log company for auditing purposes
|
|
53
|
+
* @fires Notify previous In-charge instructor about the change
|
|
54
|
+
* @fires Notify New in-charge instructor about the assignment
|
|
55
|
+
* @param CompanyCourseEntity Updated course
|
|
56
|
+
* @param CompanyInstructorEntity Event author
|
|
57
|
+
*/
|
|
58
|
+
InChargeInstructorChanged = "company.course.inchargeInstructorChanged",
|
|
59
|
+
/**
|
|
60
|
+
* Course price changed
|
|
61
|
+
* @author Company Manager
|
|
62
|
+
* @fires Log instructor for auditing purposes
|
|
63
|
+
* @fires Log company for auditing purposes
|
|
64
|
+
* @fires Notify In-charge instructor about the price change
|
|
65
|
+
* @param CompanyCourseEntity Updated course
|
|
66
|
+
* @param CompanyInstructorEntity Event author
|
|
67
|
+
*/
|
|
68
|
+
PriceChanged = "company.course.priceChanged",
|
|
69
|
+
/**
|
|
70
|
+
* Course duration changed
|
|
71
|
+
* @author Company Manager
|
|
72
|
+
* @fires Log instructor for auditing purposes
|
|
73
|
+
* @fires Log company for auditing purposes
|
|
74
|
+
* @fires Notify In-charge instructor about the duration change
|
|
75
|
+
* @param CompanyCourseEntity Updated course
|
|
76
|
+
* @param CompanyInstructorEntity Event author
|
|
77
|
+
*/
|
|
78
|
+
DurationChanged = "company.course.durationChanged",
|
|
79
|
+
/**
|
|
80
|
+
* Course location changed
|
|
81
|
+
* @author Company Manager
|
|
82
|
+
* @fires Log instructor for auditing purposes
|
|
83
|
+
* @fires Log company for auditing purposes
|
|
84
|
+
* @fires Notify In-charge instructor about the location change
|
|
85
|
+
* @param CompanyCourseEntity Updated course
|
|
86
|
+
* @param CompanyInstructorEntity Event author
|
|
87
|
+
*/
|
|
88
|
+
LocationChanged = "company.course.locationChanged",
|
|
89
|
+
/**
|
|
90
|
+
* Course is published
|
|
91
|
+
* @author Company Manager
|
|
92
|
+
* @fires Log instructor for auditing purposes
|
|
93
|
+
* @fires Log company for auditing purposes
|
|
94
|
+
* @fires Notify In-charge instructor about the course publication
|
|
95
|
+
* @param CompanyCourseEntity Published course
|
|
96
|
+
* @param CompanyInstructorEntity Event author
|
|
97
|
+
*/
|
|
98
|
+
Published = "company.course.published",
|
|
99
|
+
/**
|
|
100
|
+
* Course is ended
|
|
101
|
+
* @author Company Manager
|
|
102
|
+
* @fires Log instructor for auditing purposes
|
|
103
|
+
* @fires Log company for auditing purposes
|
|
104
|
+
* @fires Notify In-charge instructor about the course ending
|
|
105
|
+
* @param CompanyCourseEntity Ended course
|
|
106
|
+
* @param CompanyInstructorEntity Event author
|
|
107
|
+
*/
|
|
108
|
+
Ended = "company.course.ended",
|
|
109
|
+
/**
|
|
110
|
+
* Course lessons are sorted
|
|
111
|
+
* @author Company Manager
|
|
112
|
+
* @fires Log instructor for auditing purposes
|
|
113
|
+
* @fires Log company for auditing purposes
|
|
114
|
+
* @param CompanyCourseEntity Course with sorted lessons
|
|
115
|
+
* @param CompanyInstructorEntity Event author
|
|
116
|
+
*/
|
|
117
|
+
LessonsSorted = "company.course.lessonsSorted"
|
|
118
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyCourseEvents = void 0;
|
|
4
|
+
var CompanyCourseEvents;
|
|
5
|
+
(function (CompanyCourseEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Draft course is created
|
|
8
|
+
* @author Company Manager
|
|
9
|
+
* @fires Log instructor for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @param CompanyCourseEntity Created course
|
|
12
|
+
* @param CompanyInstructorEntity Event author
|
|
13
|
+
*/
|
|
14
|
+
CompanyCourseEvents["Created"] = "company.course.created";
|
|
15
|
+
/**
|
|
16
|
+
* Course is deleted
|
|
17
|
+
* @author Company Manager
|
|
18
|
+
* @fires Log instructor for auditing purposes
|
|
19
|
+
* @fires Log company for auditing purposes
|
|
20
|
+
* @param CompanyCourseEntity Deleted course
|
|
21
|
+
* @param CompanyInstructorEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
CompanyCourseEvents["Deleted"] = "company.course.deleted";
|
|
24
|
+
/**
|
|
25
|
+
* Course title changed
|
|
26
|
+
* @author Company Manager
|
|
27
|
+
* @fires Log instructor for auditing purposes
|
|
28
|
+
* @fires Log company for auditing purposes
|
|
29
|
+
* @param CompanyCourseEntity Updated course
|
|
30
|
+
* @param CompanyInstructorEntity Event author
|
|
31
|
+
*/
|
|
32
|
+
CompanyCourseEvents["TitleChanged"] = "company.course.titleChanged";
|
|
33
|
+
/**
|
|
34
|
+
* Course description changed
|
|
35
|
+
* @author Company Manager
|
|
36
|
+
* @fires Log instructor for auditing purposes
|
|
37
|
+
* @fires Log company for auditing purposes
|
|
38
|
+
* @param CompanyCourseEntity Updated course
|
|
39
|
+
* @param CompanyInstructorEntity Event author
|
|
40
|
+
*/
|
|
41
|
+
CompanyCourseEvents["DescriptionChanged"] = "company.course.descriptionChanged";
|
|
42
|
+
/**
|
|
43
|
+
* In-charge instructor submitted the course for review
|
|
44
|
+
* @author Course manager
|
|
45
|
+
* @fires Log instructor for auditing purposes
|
|
46
|
+
* @fires Log company for auditing purposes
|
|
47
|
+
* @fires Notify In-charge manager about the course submission
|
|
48
|
+
* @param CompanyCourseEntity Submitted course
|
|
49
|
+
* @param CompanyInstructorEntity Event author
|
|
50
|
+
*/
|
|
51
|
+
CompanyCourseEvents["InChargeInstructorSubmitted"] = "company.course.inchargeInstructorSubmitted";
|
|
52
|
+
/**
|
|
53
|
+
* In-charge instructor changed for the course
|
|
54
|
+
* @author Company Manager
|
|
55
|
+
* @fires Log instructor for auditing purposes
|
|
56
|
+
* @fires Log company for auditing purposes
|
|
57
|
+
* @fires Notify previous In-charge instructor about the change
|
|
58
|
+
* @fires Notify New in-charge instructor about the assignment
|
|
59
|
+
* @param CompanyCourseEntity Updated course
|
|
60
|
+
* @param CompanyInstructorEntity Event author
|
|
61
|
+
*/
|
|
62
|
+
CompanyCourseEvents["InChargeInstructorChanged"] = "company.course.inchargeInstructorChanged";
|
|
63
|
+
/**
|
|
64
|
+
* Course price changed
|
|
65
|
+
* @author Company Manager
|
|
66
|
+
* @fires Log instructor for auditing purposes
|
|
67
|
+
* @fires Log company for auditing purposes
|
|
68
|
+
* @fires Notify In-charge instructor about the price change
|
|
69
|
+
* @param CompanyCourseEntity Updated course
|
|
70
|
+
* @param CompanyInstructorEntity Event author
|
|
71
|
+
*/
|
|
72
|
+
CompanyCourseEvents["PriceChanged"] = "company.course.priceChanged";
|
|
73
|
+
/**
|
|
74
|
+
* Course duration changed
|
|
75
|
+
* @author Company Manager
|
|
76
|
+
* @fires Log instructor for auditing purposes
|
|
77
|
+
* @fires Log company for auditing purposes
|
|
78
|
+
* @fires Notify In-charge instructor about the duration change
|
|
79
|
+
* @param CompanyCourseEntity Updated course
|
|
80
|
+
* @param CompanyInstructorEntity Event author
|
|
81
|
+
*/
|
|
82
|
+
CompanyCourseEvents["DurationChanged"] = "company.course.durationChanged";
|
|
83
|
+
/**
|
|
84
|
+
* Course location changed
|
|
85
|
+
* @author Company Manager
|
|
86
|
+
* @fires Log instructor for auditing purposes
|
|
87
|
+
* @fires Log company for auditing purposes
|
|
88
|
+
* @fires Notify In-charge instructor about the location change
|
|
89
|
+
* @param CompanyCourseEntity Updated course
|
|
90
|
+
* @param CompanyInstructorEntity Event author
|
|
91
|
+
*/
|
|
92
|
+
CompanyCourseEvents["LocationChanged"] = "company.course.locationChanged";
|
|
93
|
+
/**
|
|
94
|
+
* Course is published
|
|
95
|
+
* @author Company Manager
|
|
96
|
+
* @fires Log instructor for auditing purposes
|
|
97
|
+
* @fires Log company for auditing purposes
|
|
98
|
+
* @fires Notify In-charge instructor about the course publication
|
|
99
|
+
* @param CompanyCourseEntity Published course
|
|
100
|
+
* @param CompanyInstructorEntity Event author
|
|
101
|
+
*/
|
|
102
|
+
CompanyCourseEvents["Published"] = "company.course.published";
|
|
103
|
+
/**
|
|
104
|
+
* Course is ended
|
|
105
|
+
* @author Company Manager
|
|
106
|
+
* @fires Log instructor for auditing purposes
|
|
107
|
+
* @fires Log company for auditing purposes
|
|
108
|
+
* @fires Notify In-charge instructor about the course ending
|
|
109
|
+
* @param CompanyCourseEntity Ended course
|
|
110
|
+
* @param CompanyInstructorEntity Event author
|
|
111
|
+
*/
|
|
112
|
+
CompanyCourseEvents["Ended"] = "company.course.ended";
|
|
113
|
+
/**
|
|
114
|
+
* Course lessons are sorted
|
|
115
|
+
* @author Company Manager
|
|
116
|
+
* @fires Log instructor for auditing purposes
|
|
117
|
+
* @fires Log company for auditing purposes
|
|
118
|
+
* @param CompanyCourseEntity Course with sorted lessons
|
|
119
|
+
* @param CompanyInstructorEntity Event author
|
|
120
|
+
*/
|
|
121
|
+
CompanyCourseEvents["LessonsSorted"] = "company.course.lessonsSorted";
|
|
122
|
+
})(CompanyCourseEvents || (exports.CompanyCourseEvents = CompanyCourseEvents = {}));
|
|
123
|
+
//# sourceMappingURL=course.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course.events.js","sourceRoot":"","sources":["../../../../src/events/company/course/course.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAiIX;AAjID,WAAY,mBAAmB;IAE9B;;;;;;;OAOG;IACH,yDAAkC,CAAA;IAElC;;;;;;;OAOG;IACH,yDAAkC,CAAA;IAElC;;;;;;;OAOG;IACH,mEAA4C,CAAA;IAE5C;;;;;;;OAOG;IACH,+EAAwD,CAAA;IAExD;;;;;;;;OAQG;IACH,iGAA0E,CAAA;IAE1E;;;;;;;;;OASG;IACH,6FAAsE,CAAA;IAEtE;;;;;;;;OAQG;IACH,mEAA4C,CAAA;IAE5C;;;;;;;;OAQG;IACH,yEAAkD,CAAA;IAElD;;;;;;;;OAQG;IACH,yEAAkD,CAAA;IAElD;;;;;;;;OAQG;IACH,6DAAsC,CAAA;IAEtC;;;;;;;;OAQG;IACH,qDAA8B,CAAA;IAE9B;;;;;;;OAOG;IACH,qEAA8C,CAAA;AAC/C,CAAC,EAjIW,mBAAmB,mCAAnB,mBAAmB,QAiI9B"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare enum CompanyCourseLessonEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Course lesson is created
|
|
4
|
+
* @author Company Manager
|
|
5
|
+
* @fires Log instructor for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @param CourseCourseLessonEntity Created course lesson
|
|
8
|
+
* @param CompanyInstructorEntity Event author
|
|
9
|
+
*/
|
|
10
|
+
Created = "company.course.lesson.created",
|
|
11
|
+
/**
|
|
12
|
+
* Course lesson is changed
|
|
13
|
+
* @author Company Manager
|
|
14
|
+
* @fires Log instructor for auditing purposes
|
|
15
|
+
* @fires Log company for auditing purposes
|
|
16
|
+
* @param CourseCourseLessonEntity Updated course lesson
|
|
17
|
+
* @param CompanyInstructorEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
TitleChanged = "company.course.lesson.titleChanged",
|
|
20
|
+
/**
|
|
21
|
+
* Course lesson content is changed
|
|
22
|
+
* @author Company Manager
|
|
23
|
+
* @fires Log instructor for auditing purposes
|
|
24
|
+
* @fires Log company for auditing purposes
|
|
25
|
+
* @param CourseCourseLessonEntity Updated course lesson
|
|
26
|
+
* @param CompanyInstructorEntity Event author
|
|
27
|
+
*/
|
|
28
|
+
ContentChanged = "company.course.lesson.contentChanged",
|
|
29
|
+
/**
|
|
30
|
+
* Course lesson image is changed
|
|
31
|
+
* @author Company Manager
|
|
32
|
+
* @fires Log instructor for auditing purposes
|
|
33
|
+
* @fires Log company for auditing purposes
|
|
34
|
+
* @param CourseCourseLessonEntity Updated course lesson
|
|
35
|
+
* @param CompanyInstructorEntity Event author
|
|
36
|
+
*/
|
|
37
|
+
ImageChanged = "company.course.lesson.imageChanged",
|
|
38
|
+
/**
|
|
39
|
+
* Course lesson is deleted
|
|
40
|
+
* @author Company Manager
|
|
41
|
+
* @fires Log instructor for auditing purposes
|
|
42
|
+
* @fires Log company for auditing purposes
|
|
43
|
+
* @param CourseCourseLessonEntity Deleted course lesson
|
|
44
|
+
* @param CompanyInstructorEntity Event author
|
|
45
|
+
*/
|
|
46
|
+
Deleted = "company.course.lesson.deleted",
|
|
47
|
+
/**
|
|
48
|
+
* Course lesson topics are sorted
|
|
49
|
+
* @author Company Manager
|
|
50
|
+
* @fires Log instructor for auditing purposes
|
|
51
|
+
* @fires Log company for auditing purposes
|
|
52
|
+
* @param CourseCourseLessonEntity Course with sorted lessons
|
|
53
|
+
* @param CompanyInstructorEntity Event author
|
|
54
|
+
*/
|
|
55
|
+
TopicSorted = "company.course.lesson.topicsSorted"
|
|
56
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyCourseLessonEvents = void 0;
|
|
4
|
+
var CompanyCourseLessonEvents;
|
|
5
|
+
(function (CompanyCourseLessonEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Course lesson is created
|
|
8
|
+
* @author Company Manager
|
|
9
|
+
* @fires Log instructor for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @param CourseCourseLessonEntity Created course lesson
|
|
12
|
+
* @param CompanyInstructorEntity Event author
|
|
13
|
+
*/
|
|
14
|
+
CompanyCourseLessonEvents["Created"] = "company.course.lesson.created";
|
|
15
|
+
/**
|
|
16
|
+
* Course lesson is changed
|
|
17
|
+
* @author Company Manager
|
|
18
|
+
* @fires Log instructor for auditing purposes
|
|
19
|
+
* @fires Log company for auditing purposes
|
|
20
|
+
* @param CourseCourseLessonEntity Updated course lesson
|
|
21
|
+
* @param CompanyInstructorEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
CompanyCourseLessonEvents["TitleChanged"] = "company.course.lesson.titleChanged";
|
|
24
|
+
/**
|
|
25
|
+
* Course lesson content is changed
|
|
26
|
+
* @author Company Manager
|
|
27
|
+
* @fires Log instructor for auditing purposes
|
|
28
|
+
* @fires Log company for auditing purposes
|
|
29
|
+
* @param CourseCourseLessonEntity Updated course lesson
|
|
30
|
+
* @param CompanyInstructorEntity Event author
|
|
31
|
+
*/
|
|
32
|
+
CompanyCourseLessonEvents["ContentChanged"] = "company.course.lesson.contentChanged";
|
|
33
|
+
/**
|
|
34
|
+
* Course lesson image is changed
|
|
35
|
+
* @author Company Manager
|
|
36
|
+
* @fires Log instructor for auditing purposes
|
|
37
|
+
* @fires Log company for auditing purposes
|
|
38
|
+
* @param CourseCourseLessonEntity Updated course lesson
|
|
39
|
+
* @param CompanyInstructorEntity Event author
|
|
40
|
+
*/
|
|
41
|
+
CompanyCourseLessonEvents["ImageChanged"] = "company.course.lesson.imageChanged";
|
|
42
|
+
/**
|
|
43
|
+
* Course lesson is deleted
|
|
44
|
+
* @author Company Manager
|
|
45
|
+
* @fires Log instructor for auditing purposes
|
|
46
|
+
* @fires Log company for auditing purposes
|
|
47
|
+
* @param CourseCourseLessonEntity Deleted course lesson
|
|
48
|
+
* @param CompanyInstructorEntity Event author
|
|
49
|
+
*/
|
|
50
|
+
CompanyCourseLessonEvents["Deleted"] = "company.course.lesson.deleted";
|
|
51
|
+
/**
|
|
52
|
+
* Course lesson topics are sorted
|
|
53
|
+
* @author Company Manager
|
|
54
|
+
* @fires Log instructor for auditing purposes
|
|
55
|
+
* @fires Log company for auditing purposes
|
|
56
|
+
* @param CourseCourseLessonEntity Course with sorted lessons
|
|
57
|
+
* @param CompanyInstructorEntity Event author
|
|
58
|
+
*/
|
|
59
|
+
CompanyCourseLessonEvents["TopicSorted"] = "company.course.lesson.topicsSorted";
|
|
60
|
+
})(CompanyCourseLessonEvents || (exports.CompanyCourseLessonEvents = CompanyCourseLessonEvents = {}));
|
|
61
|
+
//# sourceMappingURL=lesson.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lesson.events.js","sourceRoot":"","sources":["../../../../src/events/company/course/lesson.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBA6DX;AA7DD,WAAY,yBAAyB;IAEpC;;;;;;;OAOG;IACH,sEAAyC,CAAA;IAEzC;;;;;;;OAOG;IACH,gFAAmD,CAAA;IAEnD;;;;;;;OAOG;IACH,oFAAuD,CAAA;IAEvD;;;;;;;OAOG;IACH,gFAAmD,CAAA;IAEnD;;;;;;;OAOG;IACH,sEAAyC,CAAA;IAEzC;;;;;;;OAOG;IACH,+EAAkD,CAAA;AACnD,CAAC,EA7DW,yBAAyB,yCAAzB,yBAAyB,QA6DpC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare enum CompanyCourseTopicEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Course topic is created
|
|
4
|
+
* @author Company Manager
|
|
5
|
+
* @fires Log instructor for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @param CourseCourseTopicEntity Created course topic
|
|
8
|
+
* @param CompanyInstructorEntity Event author
|
|
9
|
+
*/
|
|
10
|
+
Created = "company.course.topic.created",
|
|
11
|
+
/**
|
|
12
|
+
* Course topic is changed
|
|
13
|
+
* @author Company Manager
|
|
14
|
+
* @fires Log instructor for auditing purposes
|
|
15
|
+
* @fires Log company for auditing purposes
|
|
16
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
17
|
+
* @param CompanyInstructorEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
TitleChanged = "company.course.topic.titleChanged",
|
|
20
|
+
/**
|
|
21
|
+
* Course topic content is changed
|
|
22
|
+
* @author Company Manager
|
|
23
|
+
* @fires Log instructor for auditing purposes
|
|
24
|
+
* @fires Log company for auditing purposes
|
|
25
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
26
|
+
* @param CompanyInstructorEntity Event author
|
|
27
|
+
*/
|
|
28
|
+
ContentChanged = "company.course.topic.contentChanged",
|
|
29
|
+
/**
|
|
30
|
+
* Course topic image is changed
|
|
31
|
+
* @author Company Manager
|
|
32
|
+
* @fires Log instructor for auditing purposes
|
|
33
|
+
* @fires Log company for auditing purposes
|
|
34
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
35
|
+
* @param CompanyInstructorEntity Event author
|
|
36
|
+
*/
|
|
37
|
+
ImageChanged = "company.course.topic.imageChanged",
|
|
38
|
+
/**
|
|
39
|
+
* Course topic is deleted
|
|
40
|
+
* @author Company Manager
|
|
41
|
+
* @fires Log instructor for auditing purposes
|
|
42
|
+
* @fires Log company for auditing purposes
|
|
43
|
+
* @param CourseCourseTopicEntity Deleted course topic
|
|
44
|
+
* @param CompanyInstructorEntity Event author
|
|
45
|
+
*/
|
|
46
|
+
Deleted = "company.course.topic.deleted",
|
|
47
|
+
/**
|
|
48
|
+
* Course topic skill is added
|
|
49
|
+
* @author Company Manager
|
|
50
|
+
* @fires Log instructor for auditing purposes
|
|
51
|
+
* @fires Log company for auditing purposes
|
|
52
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
53
|
+
* @param Skill Topic skill
|
|
54
|
+
* @param CompanyInstructorEntity Event author
|
|
55
|
+
*/
|
|
56
|
+
SkillAdded = "company.course.topic.skillAdded",
|
|
57
|
+
/**
|
|
58
|
+
* Course topic skill is removed
|
|
59
|
+
* @author Company Manager
|
|
60
|
+
* @fires Log instructor for auditing purposes
|
|
61
|
+
* @fires Log company for auditing purposes
|
|
62
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
63
|
+
* @param Skill Topic skill
|
|
64
|
+
* @param CompanyInstructorEntity Event author
|
|
65
|
+
*/
|
|
66
|
+
SkillRemoved = "company.course.topic.skillRemoved",
|
|
67
|
+
/**
|
|
68
|
+
* Course topic skills are sorted
|
|
69
|
+
* @author Company Manager
|
|
70
|
+
* @fires Log instructor for auditing purposes
|
|
71
|
+
* @fires Log company for auditing purposes
|
|
72
|
+
* @param CompanyCourseEntity Course with sorted lessons
|
|
73
|
+
* @param CompanyInstructorEntity Event author
|
|
74
|
+
*/
|
|
75
|
+
SkillsSorted = "company.course.topic.skillSorted"
|
|
76
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyCourseTopicEvents = void 0;
|
|
4
|
+
var CompanyCourseTopicEvents;
|
|
5
|
+
(function (CompanyCourseTopicEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Course topic is created
|
|
8
|
+
* @author Company Manager
|
|
9
|
+
* @fires Log instructor for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @param CourseCourseTopicEntity Created course topic
|
|
12
|
+
* @param CompanyInstructorEntity Event author
|
|
13
|
+
*/
|
|
14
|
+
CompanyCourseTopicEvents["Created"] = "company.course.topic.created";
|
|
15
|
+
/**
|
|
16
|
+
* Course topic is changed
|
|
17
|
+
* @author Company Manager
|
|
18
|
+
* @fires Log instructor for auditing purposes
|
|
19
|
+
* @fires Log company for auditing purposes
|
|
20
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
21
|
+
* @param CompanyInstructorEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
CompanyCourseTopicEvents["TitleChanged"] = "company.course.topic.titleChanged";
|
|
24
|
+
/**
|
|
25
|
+
* Course topic content is changed
|
|
26
|
+
* @author Company Manager
|
|
27
|
+
* @fires Log instructor for auditing purposes
|
|
28
|
+
* @fires Log company for auditing purposes
|
|
29
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
30
|
+
* @param CompanyInstructorEntity Event author
|
|
31
|
+
*/
|
|
32
|
+
CompanyCourseTopicEvents["ContentChanged"] = "company.course.topic.contentChanged";
|
|
33
|
+
/**
|
|
34
|
+
* Course topic image is changed
|
|
35
|
+
* @author Company Manager
|
|
36
|
+
* @fires Log instructor for auditing purposes
|
|
37
|
+
* @fires Log company for auditing purposes
|
|
38
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
39
|
+
* @param CompanyInstructorEntity Event author
|
|
40
|
+
*/
|
|
41
|
+
CompanyCourseTopicEvents["ImageChanged"] = "company.course.topic.imageChanged";
|
|
42
|
+
/**
|
|
43
|
+
* Course topic is deleted
|
|
44
|
+
* @author Company Manager
|
|
45
|
+
* @fires Log instructor for auditing purposes
|
|
46
|
+
* @fires Log company for auditing purposes
|
|
47
|
+
* @param CourseCourseTopicEntity Deleted course topic
|
|
48
|
+
* @param CompanyInstructorEntity Event author
|
|
49
|
+
*/
|
|
50
|
+
CompanyCourseTopicEvents["Deleted"] = "company.course.topic.deleted";
|
|
51
|
+
/**
|
|
52
|
+
* Course topic skill is added
|
|
53
|
+
* @author Company Manager
|
|
54
|
+
* @fires Log instructor for auditing purposes
|
|
55
|
+
* @fires Log company for auditing purposes
|
|
56
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
57
|
+
* @param Skill Topic skill
|
|
58
|
+
* @param CompanyInstructorEntity Event author
|
|
59
|
+
*/
|
|
60
|
+
CompanyCourseTopicEvents["SkillAdded"] = "company.course.topic.skillAdded";
|
|
61
|
+
/**
|
|
62
|
+
* Course topic skill is removed
|
|
63
|
+
* @author Company Manager
|
|
64
|
+
* @fires Log instructor for auditing purposes
|
|
65
|
+
* @fires Log company for auditing purposes
|
|
66
|
+
* @param CourseCourseTopicEntity Updated course topic
|
|
67
|
+
* @param Skill Topic skill
|
|
68
|
+
* @param CompanyInstructorEntity Event author
|
|
69
|
+
*/
|
|
70
|
+
CompanyCourseTopicEvents["SkillRemoved"] = "company.course.topic.skillRemoved";
|
|
71
|
+
/**
|
|
72
|
+
* Course topic skills are sorted
|
|
73
|
+
* @author Company Manager
|
|
74
|
+
* @fires Log instructor for auditing purposes
|
|
75
|
+
* @fires Log company for auditing purposes
|
|
76
|
+
* @param CompanyCourseEntity Course with sorted lessons
|
|
77
|
+
* @param CompanyInstructorEntity Event author
|
|
78
|
+
*/
|
|
79
|
+
CompanyCourseTopicEvents["SkillsSorted"] = "company.course.topic.skillSorted";
|
|
80
|
+
})(CompanyCourseTopicEvents || (exports.CompanyCourseTopicEvents = CompanyCourseTopicEvents = {}));
|
|
81
|
+
//# sourceMappingURL=topic.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topic.events.js","sourceRoot":"","sources":["../../../../src/events/company/course/topic.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAmFX;AAnFD,WAAY,wBAAwB;IAEnC;;;;;;;OAOG;IACH,oEAAwC,CAAA;IAExC;;;;;;;OAOG;IACH,8EAAkD,CAAA;IAElD;;;;;;;OAOG;IACH,kFAAsD,CAAA;IAEtD;;;;;;;OAOG;IACH,8EAAkD,CAAA;IAElD;;;;;;;OAOG;IACH,oEAAwC,CAAA;IAExC;;;;;;;;OAQG;IACH,0EAA8C,CAAA;IAE9C;;;;;;;;OAQG;IACH,8EAAkD,CAAA;IAElD;;;;;;;OAOG;IACH,6EAAiD,CAAA;AAClD,CAAC,EAnFW,wBAAwB,wCAAxB,wBAAwB,QAmFnC"}
|