@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,34 @@
|
|
|
1
|
+
export declare enum CompanyAddonEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Company product deactivated
|
|
4
|
+
* @author Company Owner
|
|
5
|
+
* @fires Log instructor for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @fires Log system for auditing purposes
|
|
8
|
+
* @fires Notify instructors about the activated product
|
|
9
|
+
* @param CompanyProductEntity Company product
|
|
10
|
+
* @param CompanyInstructorEntity Event author
|
|
11
|
+
*/
|
|
12
|
+
Activated = "company.addon.activated",
|
|
13
|
+
/**
|
|
14
|
+
* Company product deactivated
|
|
15
|
+
* @author Company Owner
|
|
16
|
+
* @fires Log instructor for auditing purposes
|
|
17
|
+
* @fires Log company for auditing purposes
|
|
18
|
+
* @fires Log system for auditing purposes
|
|
19
|
+
* @fires Notify instructors about the deactivated product
|
|
20
|
+
* @param CompanyProductEntity Company product
|
|
21
|
+
* @param CompanyInstructorEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
Deactivated = "company.addon.deactivated",
|
|
24
|
+
/**
|
|
25
|
+
* Company product changed
|
|
26
|
+
* @author Company Manager
|
|
27
|
+
* @fires Log instructor for auditing purposes
|
|
28
|
+
* @fires Company log for auditing purposes
|
|
29
|
+
* @fires Notify instructors about the changed product
|
|
30
|
+
* @param CompanyProductEntity Company product
|
|
31
|
+
* @param CompanyInstructorEntity Event author
|
|
32
|
+
*/
|
|
33
|
+
SettingsChanged = "company.addon.settingsChanged"
|
|
34
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyAddonEvents = void 0;
|
|
4
|
+
var CompanyAddonEvents;
|
|
5
|
+
(function (CompanyAddonEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Company product deactivated
|
|
8
|
+
* @author Company Owner
|
|
9
|
+
* @fires Log instructor for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @fires Log system for auditing purposes
|
|
12
|
+
* @fires Notify instructors about the activated product
|
|
13
|
+
* @param CompanyProductEntity Company product
|
|
14
|
+
* @param CompanyInstructorEntity Event author
|
|
15
|
+
*/
|
|
16
|
+
CompanyAddonEvents["Activated"] = "company.addon.activated";
|
|
17
|
+
/**
|
|
18
|
+
* Company product deactivated
|
|
19
|
+
* @author Company Owner
|
|
20
|
+
* @fires Log instructor for auditing purposes
|
|
21
|
+
* @fires Log company for auditing purposes
|
|
22
|
+
* @fires Log system for auditing purposes
|
|
23
|
+
* @fires Notify instructors about the deactivated product
|
|
24
|
+
* @param CompanyProductEntity Company product
|
|
25
|
+
* @param CompanyInstructorEntity Event author
|
|
26
|
+
*/
|
|
27
|
+
CompanyAddonEvents["Deactivated"] = "company.addon.deactivated";
|
|
28
|
+
/**
|
|
29
|
+
* Company product changed
|
|
30
|
+
* @author Company Manager
|
|
31
|
+
* @fires Log instructor for auditing purposes
|
|
32
|
+
* @fires Company log for auditing purposes
|
|
33
|
+
* @fires Notify instructors about the changed product
|
|
34
|
+
* @param CompanyProductEntity Company product
|
|
35
|
+
* @param CompanyInstructorEntity Event author
|
|
36
|
+
*/
|
|
37
|
+
CompanyAddonEvents["SettingsChanged"] = "company.addon.settingsChanged";
|
|
38
|
+
})(CompanyAddonEvents || (exports.CompanyAddonEvents = CompanyAddonEvents = {}));
|
|
39
|
+
//# sourceMappingURL=addon.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addon.events.js","sourceRoot":"","sources":["../../../../src/events/company/product/addon.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAoCX;AApCD,WAAY,kBAAkB;IAE7B;;;;;;;;;OASG;IACH,2DAAqC,CAAA;IAErC;;;;;;;;;OASG;IACH,+DAAyC,CAAA;IAEzC;;;;;;;;OAQG;IACH,uEAAiD,CAAA;AAClD,CAAC,EApCW,kBAAkB,kCAAlB,kBAAkB,QAoC7B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum CompanyCampaignEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Gift code is redeemed by company
|
|
4
|
+
* @author Company Manager
|
|
5
|
+
* @fires Log instructor for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @fires Log system log for auditing purposes
|
|
8
|
+
* @param CompanyProductEntity Company product
|
|
9
|
+
* @param GiftCodeEntity Redeemed gift code metadata (switch to gift code entity if needed)
|
|
10
|
+
* @param CompanyInstructorEntity Event author
|
|
11
|
+
*/
|
|
12
|
+
GiftCodeRedeemed = "company.campaign.giftCodeRedeemed"
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyCampaignEvents = void 0;
|
|
4
|
+
var CompanyCampaignEvents;
|
|
5
|
+
(function (CompanyCampaignEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Gift code is redeemed by company
|
|
8
|
+
* @author Company Manager
|
|
9
|
+
* @fires Log instructor for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @fires Log system log for auditing purposes
|
|
12
|
+
* @param CompanyProductEntity Company product
|
|
13
|
+
* @param GiftCodeEntity Redeemed gift code metadata (switch to gift code entity if needed)
|
|
14
|
+
* @param CompanyInstructorEntity Event author
|
|
15
|
+
*/
|
|
16
|
+
CompanyCampaignEvents["GiftCodeRedeemed"] = "company.campaign.giftCodeRedeemed";
|
|
17
|
+
})(CompanyCampaignEvents || (exports.CompanyCampaignEvents = CompanyCampaignEvents = {}));
|
|
18
|
+
//# sourceMappingURL=campaign.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"campaign.events.js","sourceRoot":"","sources":["../../../../src/events/company/product/campaign.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAaX;AAbD,WAAY,qBAAqB;IAEhC;;;;;;;;;OASG;IACH,+EAAsD,CAAA;AACvD,CAAC,EAbW,qBAAqB,qCAArB,qBAAqB,QAahC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare enum CompanyProductEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Company product deactivated
|
|
4
|
+
* @author Company Owner
|
|
5
|
+
* @fires log instructor for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @fires Log system for auditing purposes
|
|
8
|
+
* @fires Notify instructors about the activated product
|
|
9
|
+
* @param CompanyProductEntity Company product
|
|
10
|
+
* @param CompanyInstructorEntity Event author
|
|
11
|
+
*/
|
|
12
|
+
Activated = "company.product.activated",
|
|
13
|
+
/**
|
|
14
|
+
* Company product deactivated
|
|
15
|
+
* @author Company Owner
|
|
16
|
+
* @fires log instructor for auditing purposes
|
|
17
|
+
* @fires Log company for auditing purposes
|
|
18
|
+
* @fires Log system for auditing purposes
|
|
19
|
+
* @fires Notify instructors about the deactivated product
|
|
20
|
+
* @param CompanyProductEntity Company product
|
|
21
|
+
* @param CompanyInstructorEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
Deactivated = "company.product.deactivated",
|
|
24
|
+
/**
|
|
25
|
+
* Company product changed
|
|
26
|
+
* @author Company Manager
|
|
27
|
+
* @fires log instructor for auditing purposes
|
|
28
|
+
* @fires Company log for auditing purposes
|
|
29
|
+
* @fires Notify instructors about the changed product
|
|
30
|
+
* @param CompanyProductEntity Company product
|
|
31
|
+
* @param CompanyInstructorEntity Event author
|
|
32
|
+
*/
|
|
33
|
+
SettingsChanged = "company.product.settingsChanged",
|
|
34
|
+
/**
|
|
35
|
+
* Company product price plan changed
|
|
36
|
+
* @author Company Manager
|
|
37
|
+
* @fires log instructor for auditing purposes
|
|
38
|
+
* @fires Company log for auditing purposes
|
|
39
|
+
* @fires Notify instructors about the changed product price plan
|
|
40
|
+
* @param CompanyProductEntity Company product
|
|
41
|
+
* @param CompanyInstructorEntity Event author
|
|
42
|
+
*/
|
|
43
|
+
PricePlanChanged = "company.product.pricePlanChanged",
|
|
44
|
+
/**
|
|
45
|
+
* Company product planned price plan canceled
|
|
46
|
+
* @author Company Manager
|
|
47
|
+
* @fires log instructor for auditing purposes
|
|
48
|
+
* @fires Company log for auditing purposes
|
|
49
|
+
* @fires Notify instructors about the canceled product planned price plan
|
|
50
|
+
* @param CompanyProductEntity Company product
|
|
51
|
+
* @param CompanyInstructorEntity Event author
|
|
52
|
+
*/
|
|
53
|
+
PlannedPricePLanCanceled = "company.product.plannedPricePlanCanceled"
|
|
54
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyProductEvents = void 0;
|
|
4
|
+
var CompanyProductEvents;
|
|
5
|
+
(function (CompanyProductEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Company product deactivated
|
|
8
|
+
* @author Company Owner
|
|
9
|
+
* @fires log instructor for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @fires Log system for auditing purposes
|
|
12
|
+
* @fires Notify instructors about the activated product
|
|
13
|
+
* @param CompanyProductEntity Company product
|
|
14
|
+
* @param CompanyInstructorEntity Event author
|
|
15
|
+
*/
|
|
16
|
+
CompanyProductEvents["Activated"] = "company.product.activated";
|
|
17
|
+
/**
|
|
18
|
+
* Company product deactivated
|
|
19
|
+
* @author Company Owner
|
|
20
|
+
* @fires log instructor for auditing purposes
|
|
21
|
+
* @fires Log company for auditing purposes
|
|
22
|
+
* @fires Log system for auditing purposes
|
|
23
|
+
* @fires Notify instructors about the deactivated product
|
|
24
|
+
* @param CompanyProductEntity Company product
|
|
25
|
+
* @param CompanyInstructorEntity Event author
|
|
26
|
+
*/
|
|
27
|
+
CompanyProductEvents["Deactivated"] = "company.product.deactivated";
|
|
28
|
+
/**
|
|
29
|
+
* Company product changed
|
|
30
|
+
* @author Company Manager
|
|
31
|
+
* @fires log instructor for auditing purposes
|
|
32
|
+
* @fires Company log for auditing purposes
|
|
33
|
+
* @fires Notify instructors about the changed product
|
|
34
|
+
* @param CompanyProductEntity Company product
|
|
35
|
+
* @param CompanyInstructorEntity Event author
|
|
36
|
+
*/
|
|
37
|
+
CompanyProductEvents["SettingsChanged"] = "company.product.settingsChanged";
|
|
38
|
+
/**
|
|
39
|
+
* Company product price plan changed
|
|
40
|
+
* @author Company Manager
|
|
41
|
+
* @fires log instructor for auditing purposes
|
|
42
|
+
* @fires Company log for auditing purposes
|
|
43
|
+
* @fires Notify instructors about the changed product price plan
|
|
44
|
+
* @param CompanyProductEntity Company product
|
|
45
|
+
* @param CompanyInstructorEntity Event author
|
|
46
|
+
*/
|
|
47
|
+
CompanyProductEvents["PricePlanChanged"] = "company.product.pricePlanChanged";
|
|
48
|
+
/**
|
|
49
|
+
* Company product planned price plan canceled
|
|
50
|
+
* @author Company Manager
|
|
51
|
+
* @fires log instructor for auditing purposes
|
|
52
|
+
* @fires Company log for auditing purposes
|
|
53
|
+
* @fires Notify instructors about the canceled product planned price plan
|
|
54
|
+
* @param CompanyProductEntity Company product
|
|
55
|
+
* @param CompanyInstructorEntity Event author
|
|
56
|
+
*/
|
|
57
|
+
CompanyProductEvents["PlannedPricePLanCanceled"] = "company.product.plannedPricePlanCanceled";
|
|
58
|
+
})(CompanyProductEvents || (exports.CompanyProductEvents = CompanyProductEvents = {}));
|
|
59
|
+
//# sourceMappingURL=product.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.events.js","sourceRoot":"","sources":["../../../../src/events/company/product/product.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBA0DX;AA1DD,WAAY,oBAAoB;IAE/B;;;;;;;;;OASG;IACH,+DAAuC,CAAA;IAEvC;;;;;;;;;OASG;IACH,mEAA2C,CAAA;IAE3C;;;;;;;;OAQG;IACH,2EAAmD,CAAA;IAEnD;;;;;;;;OAQG;IACH,6EAAqD,CAAA;IAErD;;;;;;;;OAQG;IACH,6FAAqE,CAAA;AACtE,CAAC,EA1DW,oBAAoB,oCAApB,oBAAoB,QA0D/B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export * from './agent/account.events';
|
|
2
|
+
export * from './agent/payout.events';
|
|
3
|
+
export * from './agent/profile.events';
|
|
4
|
+
export * from './agent/promotion.events';
|
|
5
|
+
export * from './auth/auth.events';
|
|
6
|
+
export * from './auth/token.events';
|
|
7
|
+
export * from './auth/verify.events';
|
|
8
|
+
export * from './company/account/account.events';
|
|
9
|
+
export * from './company/account/profile.events';
|
|
10
|
+
export * from './company/course/appointment.events';
|
|
11
|
+
export * from './company/course/course.events';
|
|
12
|
+
export * from './company/course/lesson.events';
|
|
13
|
+
export * from './company/course/topic.events';
|
|
14
|
+
export * from './company/product/addon.events';
|
|
15
|
+
export * from './company/product/campaign.events';
|
|
16
|
+
export * from './company/product/product.events';
|
|
17
|
+
export * from './instructor/account/account.events';
|
|
18
|
+
export * from './instructor/account/profile.events';
|
|
19
|
+
export * from './instructor/task/task.events';
|
|
20
|
+
export * from './student/account/account.events';
|
|
21
|
+
export * from './user/account.events';
|
|
22
|
+
export * from './user/alert.events';
|
|
23
|
+
export * from './user/device.events';
|
|
24
|
+
export * from './user/notification.events';
|
|
25
|
+
export * from './user/profile.events';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./agent/account.events"), exports);
|
|
18
|
+
__exportStar(require("./agent/payout.events"), exports);
|
|
19
|
+
__exportStar(require("./agent/profile.events"), exports);
|
|
20
|
+
__exportStar(require("./agent/promotion.events"), exports);
|
|
21
|
+
__exportStar(require("./auth/auth.events"), exports);
|
|
22
|
+
__exportStar(require("./auth/token.events"), exports);
|
|
23
|
+
__exportStar(require("./auth/verify.events"), exports);
|
|
24
|
+
__exportStar(require("./company/account/account.events"), exports);
|
|
25
|
+
__exportStar(require("./company/account/profile.events"), exports);
|
|
26
|
+
__exportStar(require("./company/course/appointment.events"), exports);
|
|
27
|
+
__exportStar(require("./company/course/course.events"), exports);
|
|
28
|
+
__exportStar(require("./company/course/lesson.events"), exports);
|
|
29
|
+
__exportStar(require("./company/course/topic.events"), exports);
|
|
30
|
+
__exportStar(require("./company/product/addon.events"), exports);
|
|
31
|
+
__exportStar(require("./company/product/campaign.events"), exports);
|
|
32
|
+
__exportStar(require("./company/product/product.events"), exports);
|
|
33
|
+
__exportStar(require("./instructor/account/account.events"), exports);
|
|
34
|
+
__exportStar(require("./instructor/account/profile.events"), exports);
|
|
35
|
+
__exportStar(require("./instructor/task/task.events"), exports);
|
|
36
|
+
__exportStar(require("./student/account/account.events"), exports);
|
|
37
|
+
__exportStar(require("./user/account.events"), exports);
|
|
38
|
+
__exportStar(require("./user/alert.events"), exports);
|
|
39
|
+
__exportStar(require("./user/device.events"), exports);
|
|
40
|
+
__exportStar(require("./user/notification.events"), exports);
|
|
41
|
+
__exportStar(require("./user/profile.events"), exports);
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,wDAAsC;AACtC,yDAAuC;AACvC,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,mEAAiD;AACjD,mEAAiD;AACjD,sEAAoD;AACpD,iEAA+C;AAC/C,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,oEAAkD;AAClD,mEAAiD;AACjD,sEAAoD;AACpD,sEAAoD;AACpD,gEAA8C;AAC9C,mEAAiD;AACjD,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,6DAA2C;AAC3C,wDAAsC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
export declare enum InstructorAccountEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Company owner has created instructor account
|
|
4
|
+
* @author Company owner
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @fires Log instructor for auditing purposes
|
|
7
|
+
* @fires Log company for auditing purposes
|
|
8
|
+
* @fires Log system for auditing purposes
|
|
9
|
+
* @param CompanyInstructorEntity Event author
|
|
10
|
+
*/
|
|
11
|
+
Created = "instructor.account.created",
|
|
12
|
+
/**
|
|
13
|
+
* Instructor account is completed
|
|
14
|
+
* @author Instructor
|
|
15
|
+
* @fires Log instructor for auditing purposes
|
|
16
|
+
* @fires Log company for auditing purposes
|
|
17
|
+
* @param CompanyInstructorEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
Completed = "instructor.account.completed",
|
|
20
|
+
/**
|
|
21
|
+
* Instructor account is activated
|
|
22
|
+
* @author System/Job
|
|
23
|
+
* @fires Log instructor for auditing purposes
|
|
24
|
+
* @fires Log company for auditing purposes
|
|
25
|
+
* @fires Notify user about the account activation
|
|
26
|
+
* @param CompanyInstructorEntity Activated instructor
|
|
27
|
+
*/
|
|
28
|
+
Activated = "instructor.account.activated",
|
|
29
|
+
/**
|
|
30
|
+
* Instructor account is suspended
|
|
31
|
+
* @author System/Job
|
|
32
|
+
* @fires Log instructor for auditing purposes
|
|
33
|
+
* @fires Log company for auditing purposes
|
|
34
|
+
* @fires Notify user about the account suspension
|
|
35
|
+
* @param CompanyInstructorEntity Suspended instructor
|
|
36
|
+
*/
|
|
37
|
+
Suspended = "instructor.account.suspended",
|
|
38
|
+
/**
|
|
39
|
+
* Instructor account is reinstated
|
|
40
|
+
* @author Company Manager
|
|
41
|
+
* @fires Log user for auditing purposes
|
|
42
|
+
* @fires Log instructor for auditing purposes
|
|
43
|
+
* @fires Manager log as author of reinstatement
|
|
44
|
+
* @fires Log company for auditing purposes
|
|
45
|
+
* @fires Log system for auditing purposes
|
|
46
|
+
* @fires Notify user about the account reinstatement
|
|
47
|
+
* @fires Notify all inatructors about the reinstatement (bulk)
|
|
48
|
+
* @param CompanyInstructorEntity Reinstated instructor
|
|
49
|
+
* @param CompanyInstructorEntity Event author
|
|
50
|
+
*/
|
|
51
|
+
Reinstated = "instructor.account.reinstated",
|
|
52
|
+
/**
|
|
53
|
+
* Instructor is invited to join the company
|
|
54
|
+
* @author Company Manager
|
|
55
|
+
* @fires Log user for invited user
|
|
56
|
+
* @fires Log instructor for auditing purposes
|
|
57
|
+
* @fires Manager log as author of invitation
|
|
58
|
+
* @fires Log company for auditing purposes
|
|
59
|
+
* @fires Log system for auditing purposes
|
|
60
|
+
* @fires Notify all company managers about the invitation (bulk)
|
|
61
|
+
* @param CompanyInstructorEntity Invited instructor
|
|
62
|
+
* @param CompanyInstructorEntity Event author
|
|
63
|
+
*/
|
|
64
|
+
Invited = "instructor.account.invited",
|
|
65
|
+
/**
|
|
66
|
+
* Instructor reject invitation
|
|
67
|
+
* @author Invited instructor
|
|
68
|
+
* @fires Log user for auditing purposes
|
|
69
|
+
* @fires Log company for auditing purposes
|
|
70
|
+
* @fires Log system for auditing purposes
|
|
71
|
+
* @fires Notify company managers about the accepted invitation (bulk)
|
|
72
|
+
* @param CompanyInstructorEntity Event author
|
|
73
|
+
*/
|
|
74
|
+
InvitationAccepted = "instructor.account.invitationAccepted",
|
|
75
|
+
/**
|
|
76
|
+
* Instructor reject invitation
|
|
77
|
+
* @author Invited instructor
|
|
78
|
+
* @fires Log user for auditing purposes
|
|
79
|
+
* @fires Log company for auditing purposes
|
|
80
|
+
* @fires System log for auditing purposes
|
|
81
|
+
* @fires Notify all company managers about the invitation (bulk)
|
|
82
|
+
* @param UserEntity Invited user (CompanyInstructorEntity is not available)
|
|
83
|
+
* @param CompanyEntity Rejected company
|
|
84
|
+
* @param InstructorEntity Event author
|
|
85
|
+
*/
|
|
86
|
+
InvitationRejected = "instructor.account.invitationRejected",
|
|
87
|
+
/**
|
|
88
|
+
* Company manager revokes instructor invitation
|
|
89
|
+
* @author Company manager
|
|
90
|
+
* @fires Log user for auditing purposes
|
|
91
|
+
* @fires Log company for auditing purposes
|
|
92
|
+
* @fires Notify invited user about the invitation revocation
|
|
93
|
+
* @fires Notify all company instructors except the auth user (balk)
|
|
94
|
+
* @param InstructorEntity Revoked instructor account
|
|
95
|
+
* @param CompanyInstructorEntity Event author
|
|
96
|
+
*/
|
|
97
|
+
InvitationRevoked = "instructor.account.invitationRevoked",
|
|
98
|
+
/**
|
|
99
|
+
* Instructor closes his account
|
|
100
|
+
* @author Instructor himself
|
|
101
|
+
* @fires Log user for auditing purposes
|
|
102
|
+
* @fires Log instructor for auditing purposes
|
|
103
|
+
* @fires Log company for auditing purposes
|
|
104
|
+
* @fires Log system for auditing purposes
|
|
105
|
+
* @fires Notify all company instructors about the closed account (bulk)
|
|
106
|
+
* @param CompanyInstructorEntity Closed instructor
|
|
107
|
+
* @param InstructorEntity Event author
|
|
108
|
+
*/
|
|
109
|
+
Closed = "instructor.account.closed",
|
|
110
|
+
/**
|
|
111
|
+
* Company manager deleted instructor account
|
|
112
|
+
* @author Company manager
|
|
113
|
+
* @fires Log user for auditing purposes
|
|
114
|
+
* @fires Log owner as author of deletion
|
|
115
|
+
* @fires Log company for auditing purposes
|
|
116
|
+
* @fires Notify user about the account deletion
|
|
117
|
+
* @fires Notify all company instructors about the removed instructor (bulk)
|
|
118
|
+
* @param InstructorEntity Deleted instructor account
|
|
119
|
+
* @param CompanyInstructorEntity Event author
|
|
120
|
+
* @param Bulk Indicates whether to notify all company instructors
|
|
121
|
+
*/
|
|
122
|
+
Deleted = "instructor.account.deleted"
|
|
123
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InstructorAccountEvents = void 0;
|
|
4
|
+
var InstructorAccountEvents;
|
|
5
|
+
(function (InstructorAccountEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Company owner has created instructor account
|
|
8
|
+
* @author Company owner
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @fires Log instructor for auditing purposes
|
|
11
|
+
* @fires Log company for auditing purposes
|
|
12
|
+
* @fires Log system for auditing purposes
|
|
13
|
+
* @param CompanyInstructorEntity Event author
|
|
14
|
+
*/
|
|
15
|
+
InstructorAccountEvents["Created"] = "instructor.account.created";
|
|
16
|
+
/**
|
|
17
|
+
* Instructor account is completed
|
|
18
|
+
* @author Instructor
|
|
19
|
+
* @fires Log instructor for auditing purposes
|
|
20
|
+
* @fires Log company for auditing purposes
|
|
21
|
+
* @param CompanyInstructorEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
InstructorAccountEvents["Completed"] = "instructor.account.completed";
|
|
24
|
+
/**
|
|
25
|
+
* Instructor account is activated
|
|
26
|
+
* @author System/Job
|
|
27
|
+
* @fires Log instructor for auditing purposes
|
|
28
|
+
* @fires Log company for auditing purposes
|
|
29
|
+
* @fires Notify user about the account activation
|
|
30
|
+
* @param CompanyInstructorEntity Activated instructor
|
|
31
|
+
*/
|
|
32
|
+
InstructorAccountEvents["Activated"] = "instructor.account.activated";
|
|
33
|
+
/**
|
|
34
|
+
* Instructor account is suspended
|
|
35
|
+
* @author System/Job
|
|
36
|
+
* @fires Log instructor for auditing purposes
|
|
37
|
+
* @fires Log company for auditing purposes
|
|
38
|
+
* @fires Notify user about the account suspension
|
|
39
|
+
* @param CompanyInstructorEntity Suspended instructor
|
|
40
|
+
*/
|
|
41
|
+
InstructorAccountEvents["Suspended"] = "instructor.account.suspended";
|
|
42
|
+
/**
|
|
43
|
+
* Instructor account is reinstated
|
|
44
|
+
* @author Company Manager
|
|
45
|
+
* @fires Log user for auditing purposes
|
|
46
|
+
* @fires Log instructor for auditing purposes
|
|
47
|
+
* @fires Manager log as author of reinstatement
|
|
48
|
+
* @fires Log company for auditing purposes
|
|
49
|
+
* @fires Log system for auditing purposes
|
|
50
|
+
* @fires Notify user about the account reinstatement
|
|
51
|
+
* @fires Notify all inatructors about the reinstatement (bulk)
|
|
52
|
+
* @param CompanyInstructorEntity Reinstated instructor
|
|
53
|
+
* @param CompanyInstructorEntity Event author
|
|
54
|
+
*/
|
|
55
|
+
InstructorAccountEvents["Reinstated"] = "instructor.account.reinstated";
|
|
56
|
+
/**
|
|
57
|
+
* Instructor is invited to join the company
|
|
58
|
+
* @author Company Manager
|
|
59
|
+
* @fires Log user for invited user
|
|
60
|
+
* @fires Log instructor for auditing purposes
|
|
61
|
+
* @fires Manager log as author of invitation
|
|
62
|
+
* @fires Log company for auditing purposes
|
|
63
|
+
* @fires Log system for auditing purposes
|
|
64
|
+
* @fires Notify all company managers about the invitation (bulk)
|
|
65
|
+
* @param CompanyInstructorEntity Invited instructor
|
|
66
|
+
* @param CompanyInstructorEntity Event author
|
|
67
|
+
*/
|
|
68
|
+
InstructorAccountEvents["Invited"] = "instructor.account.invited";
|
|
69
|
+
/**
|
|
70
|
+
* Instructor reject invitation
|
|
71
|
+
* @author Invited instructor
|
|
72
|
+
* @fires Log user for auditing purposes
|
|
73
|
+
* @fires Log company for auditing purposes
|
|
74
|
+
* @fires Log system for auditing purposes
|
|
75
|
+
* @fires Notify company managers about the accepted invitation (bulk)
|
|
76
|
+
* @param CompanyInstructorEntity Event author
|
|
77
|
+
*/
|
|
78
|
+
InstructorAccountEvents["InvitationAccepted"] = "instructor.account.invitationAccepted";
|
|
79
|
+
/**
|
|
80
|
+
* Instructor reject invitation
|
|
81
|
+
* @author Invited instructor
|
|
82
|
+
* @fires Log user for auditing purposes
|
|
83
|
+
* @fires Log company for auditing purposes
|
|
84
|
+
* @fires System log for auditing purposes
|
|
85
|
+
* @fires Notify all company managers about the invitation (bulk)
|
|
86
|
+
* @param UserEntity Invited user (CompanyInstructorEntity is not available)
|
|
87
|
+
* @param CompanyEntity Rejected company
|
|
88
|
+
* @param InstructorEntity Event author
|
|
89
|
+
*/
|
|
90
|
+
InstructorAccountEvents["InvitationRejected"] = "instructor.account.invitationRejected";
|
|
91
|
+
/**
|
|
92
|
+
* Company manager revokes instructor invitation
|
|
93
|
+
* @author Company manager
|
|
94
|
+
* @fires Log user for auditing purposes
|
|
95
|
+
* @fires Log company for auditing purposes
|
|
96
|
+
* @fires Notify invited user about the invitation revocation
|
|
97
|
+
* @fires Notify all company instructors except the auth user (balk)
|
|
98
|
+
* @param InstructorEntity Revoked instructor account
|
|
99
|
+
* @param CompanyInstructorEntity Event author
|
|
100
|
+
*/
|
|
101
|
+
InstructorAccountEvents["InvitationRevoked"] = "instructor.account.invitationRevoked";
|
|
102
|
+
/**
|
|
103
|
+
* Instructor closes his account
|
|
104
|
+
* @author Instructor himself
|
|
105
|
+
* @fires Log user for auditing purposes
|
|
106
|
+
* @fires Log instructor for auditing purposes
|
|
107
|
+
* @fires Log company for auditing purposes
|
|
108
|
+
* @fires Log system for auditing purposes
|
|
109
|
+
* @fires Notify all company instructors about the closed account (bulk)
|
|
110
|
+
* @param CompanyInstructorEntity Closed instructor
|
|
111
|
+
* @param InstructorEntity Event author
|
|
112
|
+
*/
|
|
113
|
+
InstructorAccountEvents["Closed"] = "instructor.account.closed";
|
|
114
|
+
/**
|
|
115
|
+
* Company manager deleted instructor account
|
|
116
|
+
* @author Company manager
|
|
117
|
+
* @fires Log user for auditing purposes
|
|
118
|
+
* @fires Log owner as author of deletion
|
|
119
|
+
* @fires Log company for auditing purposes
|
|
120
|
+
* @fires Notify user about the account deletion
|
|
121
|
+
* @fires Notify all company instructors about the removed instructor (bulk)
|
|
122
|
+
* @param InstructorEntity Deleted instructor account
|
|
123
|
+
* @param CompanyInstructorEntity Event author
|
|
124
|
+
* @param Bulk Indicates whether to notify all company instructors
|
|
125
|
+
*/
|
|
126
|
+
InstructorAccountEvents["Deleted"] = "instructor.account.deleted";
|
|
127
|
+
})(InstructorAccountEvents || (exports.InstructorAccountEvents = InstructorAccountEvents = {}));
|
|
128
|
+
//# sourceMappingURL=account.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../../src/events/instructor/account/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAqIX;AArID,WAAY,uBAAuB;IAElC;;;;;;;;OAQG;IACH,iEAAsC,CAAA;IAEtC;;;;;;OAMG;IACH,qEAA0C,CAAA;IAE1C;;;;;;;OAOG;IACH,qEAA0C,CAAA;IAE1C;;;;;;;OAOG;IACH,qEAA0C,CAAA;IAE1C;;;;;;;;;;;;OAYG;IACH,uEAA4C,CAAA;IAE5C;;;;;;;;;;;OAWG;IACH,iEAAsC,CAAA;IAEtC;;;;;;;;OAQG;IACH,uFAA4D,CAAA;IAE5D;;;;;;;;;;OAUG;IACH,uFAA4D,CAAA;IAE5D;;;;;;;;;OASG;IACH,qFAA0D,CAAA;IAE1D;;;;;;;;;;OAUG;IACH,+DAAoC,CAAA;IAEpC;;;;;;;;;;;OAWG;IACH,iEAAsC,CAAA;AACvC,CAAC,EArIW,uBAAuB,uCAAvB,uBAAuB,QAqIlC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare enum InstructorProfileEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Company manager changes instructor role
|
|
4
|
+
* @author Company manager
|
|
5
|
+
* @fires Log instructorfor auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @fires Notify Instructor about the role change
|
|
8
|
+
* @fires Notify company managers about the holiday changes
|
|
9
|
+
* @param CompanyInstructorEntity Changed instructor role
|
|
10
|
+
* @param CompanyInstructorEntity Event author
|
|
11
|
+
*/
|
|
12
|
+
RoleChanged = "instructor.profile.roleChanged",
|
|
13
|
+
/**
|
|
14
|
+
* Instructor updates his holidays
|
|
15
|
+
* @author Instructor himself
|
|
16
|
+
* @fires Log instructorfor auditing purposes
|
|
17
|
+
* @fires Log company for auditing purposes
|
|
18
|
+
* @fires Notify company managers about the holiday changes
|
|
19
|
+
* @param CompanyInstructorEntity Event author
|
|
20
|
+
*/
|
|
21
|
+
HolidaysScheduleChanged = "instructor.profile.holidayScheduleChanged",
|
|
22
|
+
/**
|
|
23
|
+
* Instructor updates his working schedule
|
|
24
|
+
* @author Instructor himself
|
|
25
|
+
* @fires Log instructorfor auditing purposes
|
|
26
|
+
* @fires Log company for auditing purposes
|
|
27
|
+
* @fires Notify company managers about the holiday changes
|
|
28
|
+
* @param CompanyInstructorEntity Event author
|
|
29
|
+
*/
|
|
30
|
+
WorkingScheduleChanged = "instructor.profile.workingScheduleChanged"
|
|
31
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InstructorProfileEvents = void 0;
|
|
4
|
+
var InstructorProfileEvents;
|
|
5
|
+
(function (InstructorProfileEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Company manager changes instructor role
|
|
8
|
+
* @author Company manager
|
|
9
|
+
* @fires Log instructorfor auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @fires Notify Instructor about the role change
|
|
12
|
+
* @fires Notify company managers about the holiday changes
|
|
13
|
+
* @param CompanyInstructorEntity Changed instructor role
|
|
14
|
+
* @param CompanyInstructorEntity Event author
|
|
15
|
+
*/
|
|
16
|
+
InstructorProfileEvents["RoleChanged"] = "instructor.profile.roleChanged";
|
|
17
|
+
/**
|
|
18
|
+
* Instructor updates his holidays
|
|
19
|
+
* @author Instructor himself
|
|
20
|
+
* @fires Log instructorfor auditing purposes
|
|
21
|
+
* @fires Log company for auditing purposes
|
|
22
|
+
* @fires Notify company managers about the holiday changes
|
|
23
|
+
* @param CompanyInstructorEntity Event author
|
|
24
|
+
*/
|
|
25
|
+
InstructorProfileEvents["HolidaysScheduleChanged"] = "instructor.profile.holidayScheduleChanged";
|
|
26
|
+
/**
|
|
27
|
+
* Instructor updates his working schedule
|
|
28
|
+
* @author Instructor himself
|
|
29
|
+
* @fires Log instructorfor auditing purposes
|
|
30
|
+
* @fires Log company for auditing purposes
|
|
31
|
+
* @fires Notify company managers about the holiday changes
|
|
32
|
+
* @param CompanyInstructorEntity Event author
|
|
33
|
+
*/
|
|
34
|
+
InstructorProfileEvents["WorkingScheduleChanged"] = "instructor.profile.workingScheduleChanged";
|
|
35
|
+
})(InstructorProfileEvents || (exports.InstructorProfileEvents = InstructorProfileEvents = {}));
|
|
36
|
+
//# sourceMappingURL=profile.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.events.js","sourceRoot":"","sources":["../../../../src/events/instructor/account/profile.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAiCX;AAjCD,WAAY,uBAAuB;IAElC;;;;;;;;;OASG;IACH,yEAA8C,CAAA;IAE9C;;;;;;;OAOG;IACH,gGAAqE,CAAA;IAErE;;;;;;;OAOG;IACH,+FAAoE,CAAA;AACrE,CAAC,EAjCW,uBAAuB,uCAAvB,uBAAuB,QAiClC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum InstructorTaskEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Instructor task is created
|
|
4
|
+
* @author Instructor himself
|
|
5
|
+
* @fires Log instructor for auditing purposes
|
|
6
|
+
* @param InstructorTaskEntity Submitted task
|
|
7
|
+
*/
|
|
8
|
+
TaskCreated = "instructor.task.created",
|
|
9
|
+
/**
|
|
10
|
+
* Instructor task is changed
|
|
11
|
+
* @author Instructor himself
|
|
12
|
+
* @fires Log instructor for auditing purposes
|
|
13
|
+
* @param InstructorTaskEntity Changed task
|
|
14
|
+
*/
|
|
15
|
+
TaskChanged = "instructor.task.changed",
|
|
16
|
+
/**
|
|
17
|
+
* Instructor task is deleted
|
|
18
|
+
* @author Instructor himself
|
|
19
|
+
* @fires Log instructor for auditing purposes
|
|
20
|
+
* @param string Deleted task title
|
|
21
|
+
* @param InstructorEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
TaskDeleted = "instructor.task.deleted"
|
|
24
|
+
}
|