@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,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InstructorTaskEvents = void 0;
|
|
4
|
+
var InstructorTaskEvents;
|
|
5
|
+
(function (InstructorTaskEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Instructor task is created
|
|
8
|
+
* @author Instructor himself
|
|
9
|
+
* @fires Log instructor for auditing purposes
|
|
10
|
+
* @param InstructorTaskEntity Submitted task
|
|
11
|
+
*/
|
|
12
|
+
InstructorTaskEvents["TaskCreated"] = "instructor.task.created";
|
|
13
|
+
/**
|
|
14
|
+
* Instructor task is changed
|
|
15
|
+
* @author Instructor himself
|
|
16
|
+
* @fires Log instructor for auditing purposes
|
|
17
|
+
* @param InstructorTaskEntity Changed task
|
|
18
|
+
*/
|
|
19
|
+
InstructorTaskEvents["TaskChanged"] = "instructor.task.changed";
|
|
20
|
+
/**
|
|
21
|
+
* Instructor task is deleted
|
|
22
|
+
* @author Instructor himself
|
|
23
|
+
* @fires Log instructor for auditing purposes
|
|
24
|
+
* @param string Deleted task title
|
|
25
|
+
* @param InstructorEntity Event author
|
|
26
|
+
*/
|
|
27
|
+
InstructorTaskEvents["TaskDeleted"] = "instructor.task.deleted";
|
|
28
|
+
})(InstructorTaskEvents || (exports.InstructorTaskEvents = InstructorTaskEvents = {}));
|
|
29
|
+
//# sourceMappingURL=task.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task.events.js","sourceRoot":"","sources":["../../../../src/events/instructor/task/task.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBA0BX;AA1BD,WAAY,oBAAoB;IAE/B;;;;;OAKG;IACH,+DAAuC,CAAA;IAEvC;;;;;OAKG;IACH,+DAAuC,CAAA;IAEvC;;;;;;OAMG;IACH,+DAAuC,CAAA;AACxC,CAAC,EA1BW,oBAAoB,oCAApB,oBAAoB,QA0B/B"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare enum StudentAccountEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Student is invited to join the platform
|
|
4
|
+
* @author Company Instructor
|
|
5
|
+
* @fires Log student for auditing purposes
|
|
6
|
+
* @fires Notify student about the invitation
|
|
7
|
+
* @param StudentEntity Invited student
|
|
8
|
+
* @param Person Event author
|
|
9
|
+
* @param metadata Additional metadata for render
|
|
10
|
+
*/
|
|
11
|
+
Invited = "student.account.invited",
|
|
12
|
+
/**
|
|
13
|
+
* Student account is created
|
|
14
|
+
* @author User himself
|
|
15
|
+
* @fires Log student for auditing purposes
|
|
16
|
+
* @fires Log system for auditing purposes
|
|
17
|
+
* @param StudentEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
Created = "student.account.created",
|
|
20
|
+
/**
|
|
21
|
+
* Student account is completed
|
|
22
|
+
* @author User himself
|
|
23
|
+
* @fires Log student for auditing purposes
|
|
24
|
+
* @param StudentEntity Event author
|
|
25
|
+
*/
|
|
26
|
+
Completed = "student.account.completed",
|
|
27
|
+
/**
|
|
28
|
+
* Student account is closed
|
|
29
|
+
* @author User himself
|
|
30
|
+
* @fires Log user for auditing purposes
|
|
31
|
+
* @fires Log student for auditing purposes
|
|
32
|
+
* @fires Log system for auditing purposes
|
|
33
|
+
* @param StudentEntity Event author
|
|
34
|
+
*/
|
|
35
|
+
Closed = "student.account.closed"
|
|
36
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StudentAccountEvents = void 0;
|
|
4
|
+
var StudentAccountEvents;
|
|
5
|
+
(function (StudentAccountEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Student is invited to join the platform
|
|
8
|
+
* @author Company Instructor
|
|
9
|
+
* @fires Log student for auditing purposes
|
|
10
|
+
* @fires Notify student about the invitation
|
|
11
|
+
* @param StudentEntity Invited student
|
|
12
|
+
* @param Person Event author
|
|
13
|
+
* @param metadata Additional metadata for render
|
|
14
|
+
*/
|
|
15
|
+
StudentAccountEvents["Invited"] = "student.account.invited";
|
|
16
|
+
/**
|
|
17
|
+
* Student account is created
|
|
18
|
+
* @author User himself
|
|
19
|
+
* @fires Log student for auditing purposes
|
|
20
|
+
* @fires Log system for auditing purposes
|
|
21
|
+
* @param StudentEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
StudentAccountEvents["Created"] = "student.account.created";
|
|
24
|
+
/**
|
|
25
|
+
* Student account is completed
|
|
26
|
+
* @author User himself
|
|
27
|
+
* @fires Log student for auditing purposes
|
|
28
|
+
* @param StudentEntity Event author
|
|
29
|
+
*/
|
|
30
|
+
StudentAccountEvents["Completed"] = "student.account.completed";
|
|
31
|
+
/**
|
|
32
|
+
* Student account is closed
|
|
33
|
+
* @author User himself
|
|
34
|
+
* @fires Log user for auditing purposes
|
|
35
|
+
* @fires Log student for auditing purposes
|
|
36
|
+
* @fires Log system for auditing purposes
|
|
37
|
+
* @param StudentEntity Event author
|
|
38
|
+
*/
|
|
39
|
+
StudentAccountEvents["Closed"] = "student.account.closed";
|
|
40
|
+
})(StudentAccountEvents || (exports.StudentAccountEvents = StudentAccountEvents = {}));
|
|
41
|
+
//# sourceMappingURL=account.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../../src/events/student/account/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAuCX;AAvCD,WAAY,oBAAoB;IAE/B;;;;;;;;OAQG;IACH,2DAAmC,CAAA;IAEnC;;;;;;OAMG;IACH,2DAAmC,CAAA;IAEnC;;;;;OAKG;IACH,+DAAuC,CAAA;IAEvC;;;;;;;OAOG;IACH,yDAAiC,CAAA;AAClC,CAAC,EAvCW,oBAAoB,oCAApB,oBAAoB,QAuC/B"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export declare enum UserAccountEvents {
|
|
2
|
+
/**
|
|
3
|
+
* User account created
|
|
4
|
+
* @author Auth user
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @fires Log system for auditing purposes
|
|
7
|
+
* @param UserEntity Event author
|
|
8
|
+
*/
|
|
9
|
+
Created = "user.account.created",
|
|
10
|
+
/**
|
|
11
|
+
* User account overdated
|
|
12
|
+
* @author System/Job
|
|
13
|
+
* @description Overdated account policy can be configured by admin or console
|
|
14
|
+
* @fires Log user for auditing purposes
|
|
15
|
+
* @fires Log system for auditing purposes
|
|
16
|
+
* @fires Notify user about the account overdate (email only)
|
|
17
|
+
* @param UserEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
Overdated = "user.account.overdated",
|
|
20
|
+
/**
|
|
21
|
+
* Veryfy user account recovery request by email
|
|
22
|
+
* @author User himself
|
|
23
|
+
* @description User trying to recover his account by confirming OTP in recovery email
|
|
24
|
+
* @fires Log user for auditing purposes
|
|
25
|
+
* @fires Log system for auditing purposes
|
|
26
|
+
* @param UserEntity Event author
|
|
27
|
+
*/
|
|
28
|
+
RecoveryVerify = "user.account.recoveryVerify",
|
|
29
|
+
/**
|
|
30
|
+
* User account recovered
|
|
31
|
+
* @author User himself
|
|
32
|
+
* @description Account recovery can be done by confirming OTP in recovery email
|
|
33
|
+
* @fires Log user for auditing purposes
|
|
34
|
+
* @fires Log system for auditing purposes
|
|
35
|
+
* @fires Notify user about the account recovery (by email)
|
|
36
|
+
* @param UserEntity Event author
|
|
37
|
+
*/
|
|
38
|
+
Recovered = "user.account.recovered",
|
|
39
|
+
/**
|
|
40
|
+
* User account activated
|
|
41
|
+
* @author System/Job
|
|
42
|
+
* @fires Log user for auditing purposes
|
|
43
|
+
* @fires Log system for auditing purposes
|
|
44
|
+
* @fires Notify user about the account activation
|
|
45
|
+
* @param UserEntity Activated user
|
|
46
|
+
*/
|
|
47
|
+
Activated = "user.account.activated",
|
|
48
|
+
/**
|
|
49
|
+
* User account suspended
|
|
50
|
+
* Takeover overdated phone number or suspicious activity
|
|
51
|
+
* @author System/Job
|
|
52
|
+
* @fires Log user for auditing purposes
|
|
53
|
+
* @fires Log system for auditing purposes
|
|
54
|
+
* @fires Notify user about the account suspension
|
|
55
|
+
* @param UserEntity Suspended user
|
|
56
|
+
* @param Metadata Additional render data
|
|
57
|
+
*/
|
|
58
|
+
Suspended = "user.account.suspended",
|
|
59
|
+
/**
|
|
60
|
+
* User account closed
|
|
61
|
+
* @author User himself
|
|
62
|
+
* @description Say goodbye to user and mask personal data
|
|
63
|
+
* @fires Log user for auditing purposes
|
|
64
|
+
* @fires Log system for auditing purposes
|
|
65
|
+
* @param UserEntity Event author
|
|
66
|
+
*/
|
|
67
|
+
Closed = "user.account.closed",
|
|
68
|
+
/**
|
|
69
|
+
* User account blocked
|
|
70
|
+
* @author System/Job
|
|
71
|
+
* @fires Log user for auditing purposes
|
|
72
|
+
* @fires Log system for auditing purposes
|
|
73
|
+
* @fires Notify user about the account blocking
|
|
74
|
+
* @param UserEntity Blocked user
|
|
75
|
+
*/
|
|
76
|
+
Blocked = "user.account.blocked",
|
|
77
|
+
/**
|
|
78
|
+
* User switches active profile
|
|
79
|
+
* @author User himself
|
|
80
|
+
* @fires Log user for auditing purposes
|
|
81
|
+
* @param UserEntity Event author
|
|
82
|
+
*/
|
|
83
|
+
SwitchProfile = "user.account.switchProfile"
|
|
84
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserAccountEvents = void 0;
|
|
4
|
+
var UserAccountEvents;
|
|
5
|
+
(function (UserAccountEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* User account created
|
|
8
|
+
* @author Auth user
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @fires Log system for auditing purposes
|
|
11
|
+
* @param UserEntity Event author
|
|
12
|
+
*/
|
|
13
|
+
UserAccountEvents["Created"] = "user.account.created";
|
|
14
|
+
/**
|
|
15
|
+
* User account overdated
|
|
16
|
+
* @author System/Job
|
|
17
|
+
* @description Overdated account policy can be configured by admin or console
|
|
18
|
+
* @fires Log user for auditing purposes
|
|
19
|
+
* @fires Log system for auditing purposes
|
|
20
|
+
* @fires Notify user about the account overdate (email only)
|
|
21
|
+
* @param UserEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
UserAccountEvents["Overdated"] = "user.account.overdated";
|
|
24
|
+
/**
|
|
25
|
+
* Veryfy user account recovery request by email
|
|
26
|
+
* @author User himself
|
|
27
|
+
* @description User trying to recover his account by confirming OTP in recovery email
|
|
28
|
+
* @fires Log user for auditing purposes
|
|
29
|
+
* @fires Log system for auditing purposes
|
|
30
|
+
* @param UserEntity Event author
|
|
31
|
+
*/
|
|
32
|
+
UserAccountEvents["RecoveryVerify"] = "user.account.recoveryVerify";
|
|
33
|
+
/**
|
|
34
|
+
* User account recovered
|
|
35
|
+
* @author User himself
|
|
36
|
+
* @description Account recovery can be done by confirming OTP in recovery email
|
|
37
|
+
* @fires Log user for auditing purposes
|
|
38
|
+
* @fires Log system for auditing purposes
|
|
39
|
+
* @fires Notify user about the account recovery (by email)
|
|
40
|
+
* @param UserEntity Event author
|
|
41
|
+
*/
|
|
42
|
+
UserAccountEvents["Recovered"] = "user.account.recovered";
|
|
43
|
+
/**
|
|
44
|
+
* User account activated
|
|
45
|
+
* @author System/Job
|
|
46
|
+
* @fires Log user for auditing purposes
|
|
47
|
+
* @fires Log system for auditing purposes
|
|
48
|
+
* @fires Notify user about the account activation
|
|
49
|
+
* @param UserEntity Activated user
|
|
50
|
+
*/
|
|
51
|
+
UserAccountEvents["Activated"] = "user.account.activated";
|
|
52
|
+
/**
|
|
53
|
+
* User account suspended
|
|
54
|
+
* Takeover overdated phone number or suspicious activity
|
|
55
|
+
* @author System/Job
|
|
56
|
+
* @fires Log user for auditing purposes
|
|
57
|
+
* @fires Log system for auditing purposes
|
|
58
|
+
* @fires Notify user about the account suspension
|
|
59
|
+
* @param UserEntity Suspended user
|
|
60
|
+
* @param Metadata Additional render data
|
|
61
|
+
*/
|
|
62
|
+
UserAccountEvents["Suspended"] = "user.account.suspended";
|
|
63
|
+
/**
|
|
64
|
+
* User account closed
|
|
65
|
+
* @author User himself
|
|
66
|
+
* @description Say goodbye to user and mask personal data
|
|
67
|
+
* @fires Log user for auditing purposes
|
|
68
|
+
* @fires Log system for auditing purposes
|
|
69
|
+
* @param UserEntity Event author
|
|
70
|
+
*/
|
|
71
|
+
UserAccountEvents["Closed"] = "user.account.closed";
|
|
72
|
+
/**
|
|
73
|
+
* User account blocked
|
|
74
|
+
* @author System/Job
|
|
75
|
+
* @fires Log user for auditing purposes
|
|
76
|
+
* @fires Log system for auditing purposes
|
|
77
|
+
* @fires Notify user about the account blocking
|
|
78
|
+
* @param UserEntity Blocked user
|
|
79
|
+
*/
|
|
80
|
+
UserAccountEvents["Blocked"] = "user.account.blocked";
|
|
81
|
+
/**
|
|
82
|
+
* User switches active profile
|
|
83
|
+
* @author User himself
|
|
84
|
+
* @fires Log user for auditing purposes
|
|
85
|
+
* @param UserEntity Event author
|
|
86
|
+
*/
|
|
87
|
+
UserAccountEvents["SwitchProfile"] = "user.account.switchProfile";
|
|
88
|
+
})(UserAccountEvents || (exports.UserAccountEvents = UserAccountEvents = {}));
|
|
89
|
+
//# sourceMappingURL=account.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../src/events/user/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBA4FX;AA5FD,WAAY,iBAAiB;IAE5B;;;;;;OAMG;IACH,qDAAgC,CAAA;IAEhC;;;;;;;;OAQG;IACH,yDAAoC,CAAA;IAEpC;;;;;;;OAOG;IACH,mEAA8C,CAAA;IAE9C;;;;;;;;OAQG;IACH,yDAAoC,CAAA;IAEpC;;;;;;;OAOG;IACH,yDAAoC,CAAA;IAEpC;;;;;;;;;OASG;IACH,yDAAoC,CAAA;IAEpC;;;;;;;OAOG;IACH,mDAA8B,CAAA;IAE9B;;;;;;;OAOG;IACH,qDAAgC,CAAA;IAEhC;;;;;OAKG;IACH,iEAA4C,CAAA;AAC7C,CAAC,EA5FW,iBAAiB,iCAAjB,iBAAiB,QA4F5B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum UserAlertEvents {
|
|
2
|
+
/**
|
|
3
|
+
* User alert is created
|
|
4
|
+
* @author System/Job
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @param UserAlertEntity Alerted user
|
|
7
|
+
*/
|
|
8
|
+
Created = "user.alert.created",
|
|
9
|
+
/**
|
|
10
|
+
* User alert is acknowledged
|
|
11
|
+
* @author User himself
|
|
12
|
+
* @fires Log user for auditing purposes
|
|
13
|
+
* @param UserAlertEntity Alerted user
|
|
14
|
+
*/
|
|
15
|
+
Acknowledged = "user.alert.acknowledged"
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserAlertEvents = void 0;
|
|
4
|
+
var UserAlertEvents;
|
|
5
|
+
(function (UserAlertEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* User alert is created
|
|
8
|
+
* @author System/Job
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @param UserAlertEntity Alerted user
|
|
11
|
+
*/
|
|
12
|
+
UserAlertEvents["Created"] = "user.alert.created";
|
|
13
|
+
/**
|
|
14
|
+
* User alert is acknowledged
|
|
15
|
+
* @author User himself
|
|
16
|
+
* @fires Log user for auditing purposes
|
|
17
|
+
* @param UserAlertEntity Alerted user
|
|
18
|
+
*/
|
|
19
|
+
UserAlertEvents["Acknowledged"] = "user.alert.acknowledged";
|
|
20
|
+
})(UserAlertEvents || (exports.UserAlertEvents = UserAlertEvents = {}));
|
|
21
|
+
//# sourceMappingURL=alert.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.events.js","sourceRoot":"","sources":["../../../src/events/user/alert.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAiBX;AAjBD,WAAY,eAAe;IAE1B;;;;;OAKG;IACH,iDAA8B,CAAA;IAE9B;;;;;OAKG;IACH,2DAAwC,CAAA;AACzC,CAAC,EAjBW,eAAe,+BAAf,eAAe,QAiB1B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum UserDeviceEvents {
|
|
2
|
+
/**
|
|
3
|
+
* New user device registered
|
|
4
|
+
* @author User himself
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @param UserDeviceEntity User device
|
|
7
|
+
*/
|
|
8
|
+
Register = "user.device.register",
|
|
9
|
+
/**
|
|
10
|
+
* User device removed
|
|
11
|
+
* @author User himself
|
|
12
|
+
* @fires Log user for auditing purposes
|
|
13
|
+
* @param UserDeviceEntity User device
|
|
14
|
+
*/
|
|
15
|
+
Removed = "user.device.removed",
|
|
16
|
+
/**
|
|
17
|
+
* User enables push notifications on device
|
|
18
|
+
* @author User himself
|
|
19
|
+
* @fires Log user for auditing purposes
|
|
20
|
+
* @param UserDeviceEntity User device
|
|
21
|
+
*/
|
|
22
|
+
PushEnabled = "user.device.pushEnabled",
|
|
23
|
+
/**
|
|
24
|
+
* User disables push notifications on device
|
|
25
|
+
* @author User himself
|
|
26
|
+
* @fires Log user for auditing purposes
|
|
27
|
+
* @param UserDeviceEntity User device
|
|
28
|
+
*/
|
|
29
|
+
PushDisabled = "user.device.pushDisabled"
|
|
30
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserDeviceEvents = void 0;
|
|
4
|
+
var UserDeviceEvents;
|
|
5
|
+
(function (UserDeviceEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* New user device registered
|
|
8
|
+
* @author User himself
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @param UserDeviceEntity User device
|
|
11
|
+
*/
|
|
12
|
+
UserDeviceEvents["Register"] = "user.device.register";
|
|
13
|
+
/**
|
|
14
|
+
* User device removed
|
|
15
|
+
* @author User himself
|
|
16
|
+
* @fires Log user for auditing purposes
|
|
17
|
+
* @param UserDeviceEntity User device
|
|
18
|
+
*/
|
|
19
|
+
UserDeviceEvents["Removed"] = "user.device.removed";
|
|
20
|
+
/**
|
|
21
|
+
* User enables push notifications on device
|
|
22
|
+
* @author User himself
|
|
23
|
+
* @fires Log user for auditing purposes
|
|
24
|
+
* @param UserDeviceEntity User device
|
|
25
|
+
*/
|
|
26
|
+
UserDeviceEvents["PushEnabled"] = "user.device.pushEnabled";
|
|
27
|
+
/**
|
|
28
|
+
* User disables push notifications on device
|
|
29
|
+
* @author User himself
|
|
30
|
+
* @fires Log user for auditing purposes
|
|
31
|
+
* @param UserDeviceEntity User device
|
|
32
|
+
*/
|
|
33
|
+
UserDeviceEvents["PushDisabled"] = "user.device.pushDisabled";
|
|
34
|
+
})(UserDeviceEvents || (exports.UserDeviceEvents = UserDeviceEvents = {}));
|
|
35
|
+
//# sourceMappingURL=device.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device.events.js","sourceRoot":"","sources":["../../../src/events/user/device.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAiCX;AAjCD,WAAY,gBAAgB;IAE3B;;;;;OAKG;IACH,qDAAiC,CAAA;IAEjC;;;;;OAKG;IACH,mDAA+B,CAAA;IAE9B;;;;;GAKE;IACH,2DAAuC,CAAA;IAEvC;;;;;OAKG;IACH,6DAAyC,CAAA;AAC1C,CAAC,EAjCW,gBAAgB,gCAAhB,gBAAgB,QAiC3B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum UserNotificationEvents {
|
|
2
|
+
/**
|
|
3
|
+
* User marks notification as seen
|
|
4
|
+
* @author User himself
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @param UserEntity Event author
|
|
7
|
+
*/
|
|
8
|
+
MarkedAsSeen = "user.notification.markedAsSeen",
|
|
9
|
+
/**
|
|
10
|
+
* User dismisses a notification
|
|
11
|
+
* @author User himself
|
|
12
|
+
* @fires Log user for auditing purposes
|
|
13
|
+
* @param UserEntity Event author
|
|
14
|
+
*/
|
|
15
|
+
Dismissed = "user.notification.dismissed",
|
|
16
|
+
/**
|
|
17
|
+
* User dismisses all notifications
|
|
18
|
+
* @author User himself
|
|
19
|
+
* @fires Log user for auditing purposes
|
|
20
|
+
* @param UserEntity Event author
|
|
21
|
+
*/
|
|
22
|
+
DismissedAll = "user.notification.dismissedAll",
|
|
23
|
+
/**
|
|
24
|
+
* User changes his notification preference
|
|
25
|
+
* @author User himself
|
|
26
|
+
* @fires Log user for auditing purposes
|
|
27
|
+
* @param UserEntity Event author
|
|
28
|
+
*/
|
|
29
|
+
PreferenceChanged = "user.notification.preferenceChanged"
|
|
30
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserNotificationEvents = void 0;
|
|
4
|
+
var UserNotificationEvents;
|
|
5
|
+
(function (UserNotificationEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* User marks notification as seen
|
|
8
|
+
* @author User himself
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @param UserEntity Event author
|
|
11
|
+
*/
|
|
12
|
+
UserNotificationEvents["MarkedAsSeen"] = "user.notification.markedAsSeen";
|
|
13
|
+
/**
|
|
14
|
+
* User dismisses a notification
|
|
15
|
+
* @author User himself
|
|
16
|
+
* @fires Log user for auditing purposes
|
|
17
|
+
* @param UserEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
UserNotificationEvents["Dismissed"] = "user.notification.dismissed";
|
|
20
|
+
/**
|
|
21
|
+
* User dismisses all notifications
|
|
22
|
+
* @author User himself
|
|
23
|
+
* @fires Log user for auditing purposes
|
|
24
|
+
* @param UserEntity Event author
|
|
25
|
+
*/
|
|
26
|
+
UserNotificationEvents["DismissedAll"] = "user.notification.dismissedAll";
|
|
27
|
+
/**
|
|
28
|
+
* User changes his notification preference
|
|
29
|
+
* @author User himself
|
|
30
|
+
* @fires Log user for auditing purposes
|
|
31
|
+
* @param UserEntity Event author
|
|
32
|
+
*/
|
|
33
|
+
UserNotificationEvents["PreferenceChanged"] = "user.notification.preferenceChanged";
|
|
34
|
+
})(UserNotificationEvents || (exports.UserNotificationEvents = UserNotificationEvents = {}));
|
|
35
|
+
//# sourceMappingURL=notification.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.events.js","sourceRoot":"","sources":["../../../src/events/user/notification.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAiCX;AAjCD,WAAY,sBAAsB;IAEjC;;;;;OAKG;IACH,yEAA+C,CAAA;IAE/C;;;;;OAKG;IACH,mEAAyC,CAAA;IAEzC;;;;;OAKG;IACH,yEAA+C,CAAA;IAE/C;;;;;OAKG;IACH,mFAAyD,CAAA;AAC1D,CAAC,EAjCW,sBAAsB,sCAAtB,sBAAsB,QAiCjC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare enum UserProfileEvents {
|
|
2
|
+
/**
|
|
3
|
+
* User changes his phone number
|
|
4
|
+
* @author User himself
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @fires Notify training in-change instructor about the phone number change
|
|
7
|
+
* @fires Notify training instructor about the phone number change
|
|
8
|
+
* @param UserEntity Event author
|
|
9
|
+
*/
|
|
10
|
+
PhoneChanged = "user.profile.phoneChanged",
|
|
11
|
+
/**
|
|
12
|
+
* User changes his email
|
|
13
|
+
* @author User himself
|
|
14
|
+
* @fires Log user for auditing purposes
|
|
15
|
+
* @param UserEntity Event author
|
|
16
|
+
*/
|
|
17
|
+
EmailChanged = "user.profile.emailChanged",
|
|
18
|
+
/**
|
|
19
|
+
* User changes ui language
|
|
20
|
+
* @author User himself
|
|
21
|
+
* @fires Log user for auditing purposes
|
|
22
|
+
* @param UserEntity Event author
|
|
23
|
+
*/
|
|
24
|
+
LanguageChanged = "user.profile.languageChanged",
|
|
25
|
+
/**
|
|
26
|
+
* User changes his timezone
|
|
27
|
+
* @author User himself
|
|
28
|
+
* @fires Log user for auditing purposes
|
|
29
|
+
* @param UserEntity Event author
|
|
30
|
+
*/
|
|
31
|
+
TimezoneChanged = "user.profile.timezoneChanged",
|
|
32
|
+
/**
|
|
33
|
+
* User changes his account name
|
|
34
|
+
* @author User himself
|
|
35
|
+
* @fires Log user for auditing purposes
|
|
36
|
+
* @param UserEntity Event author
|
|
37
|
+
*/
|
|
38
|
+
NameChanged = "user.profile.nameChanged",
|
|
39
|
+
/**
|
|
40
|
+
* User changes his profile picture
|
|
41
|
+
* @author User himself
|
|
42
|
+
* @fires Log user for auditing purposes
|
|
43
|
+
* @param UserEntity Event author
|
|
44
|
+
*/
|
|
45
|
+
ImageChanged = "user.profile.imageChanged",
|
|
46
|
+
/**
|
|
47
|
+
* User changes his profile picture
|
|
48
|
+
* @author User himself
|
|
49
|
+
* @fires Log user for auditing purposes
|
|
50
|
+
* @param UserEntity Event author
|
|
51
|
+
*/
|
|
52
|
+
BirthdateChanged = "user.profile.birthdateChanged",
|
|
53
|
+
/**
|
|
54
|
+
* User changes his address
|
|
55
|
+
* @author User himself
|
|
56
|
+
* @fires Log user for auditing purposes
|
|
57
|
+
* @param UserEntity Event author
|
|
58
|
+
*/
|
|
59
|
+
AddressChanged = "user.profile.addressChanged"
|
|
60
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserProfileEvents = void 0;
|
|
4
|
+
var UserProfileEvents;
|
|
5
|
+
(function (UserProfileEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* User changes his phone number
|
|
8
|
+
* @author User himself
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @fires Notify training in-change instructor about the phone number change
|
|
11
|
+
* @fires Notify training instructor about the phone number change
|
|
12
|
+
* @param UserEntity Event author
|
|
13
|
+
*/
|
|
14
|
+
UserProfileEvents["PhoneChanged"] = "user.profile.phoneChanged";
|
|
15
|
+
/**
|
|
16
|
+
* User changes his email
|
|
17
|
+
* @author User himself
|
|
18
|
+
* @fires Log user for auditing purposes
|
|
19
|
+
* @param UserEntity Event author
|
|
20
|
+
*/
|
|
21
|
+
UserProfileEvents["EmailChanged"] = "user.profile.emailChanged";
|
|
22
|
+
/**
|
|
23
|
+
* User changes ui language
|
|
24
|
+
* @author User himself
|
|
25
|
+
* @fires Log user for auditing purposes
|
|
26
|
+
* @param UserEntity Event author
|
|
27
|
+
*/
|
|
28
|
+
UserProfileEvents["LanguageChanged"] = "user.profile.languageChanged";
|
|
29
|
+
/**
|
|
30
|
+
* User changes his timezone
|
|
31
|
+
* @author User himself
|
|
32
|
+
* @fires Log user for auditing purposes
|
|
33
|
+
* @param UserEntity Event author
|
|
34
|
+
*/
|
|
35
|
+
UserProfileEvents["TimezoneChanged"] = "user.profile.timezoneChanged";
|
|
36
|
+
/**
|
|
37
|
+
* User changes his account name
|
|
38
|
+
* @author User himself
|
|
39
|
+
* @fires Log user for auditing purposes
|
|
40
|
+
* @param UserEntity Event author
|
|
41
|
+
*/
|
|
42
|
+
UserProfileEvents["NameChanged"] = "user.profile.nameChanged";
|
|
43
|
+
/**
|
|
44
|
+
* User changes his profile picture
|
|
45
|
+
* @author User himself
|
|
46
|
+
* @fires Log user for auditing purposes
|
|
47
|
+
* @param UserEntity Event author
|
|
48
|
+
*/
|
|
49
|
+
UserProfileEvents["ImageChanged"] = "user.profile.imageChanged";
|
|
50
|
+
/**
|
|
51
|
+
* User changes his profile picture
|
|
52
|
+
* @author User himself
|
|
53
|
+
* @fires Log user for auditing purposes
|
|
54
|
+
* @param UserEntity Event author
|
|
55
|
+
*/
|
|
56
|
+
UserProfileEvents["BirthdateChanged"] = "user.profile.birthdateChanged";
|
|
57
|
+
/**
|
|
58
|
+
* User changes his address
|
|
59
|
+
* @author User himself
|
|
60
|
+
* @fires Log user for auditing purposes
|
|
61
|
+
* @param UserEntity Event author
|
|
62
|
+
*/
|
|
63
|
+
UserProfileEvents["AddressChanged"] = "user.profile.addressChanged";
|
|
64
|
+
})(UserProfileEvents || (exports.UserProfileEvents = UserProfileEvents = {}));
|
|
65
|
+
//# sourceMappingURL=profile.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.events.js","sourceRoot":"","sources":["../../../src/events/user/profile.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAmEX;AAnED,WAAY,iBAAiB;IAE5B;;;;;;;OAOG;IACH,+DAA0C,CAAA;IAE1C;;;;;OAKG;IACH,+DAA0C,CAAA;IAE1C;;;;;OAKG;IACH,qEAAgD,CAAA;IAEhD;;;;;OAKG;IACH,qEAAgD,CAAA;IAEhD;;;;;OAKG;IACH,6DAAwC,CAAA;IAExC;;;;;OAKG;IACH,+DAA0C,CAAA;IAE1C;;;;;OAKG;IACH,uEAAkD,CAAA;IAElD;;;;;OAKG;IACH,mEAA8C,CAAA;AAC/C,CAAC,EAnEW,iBAAiB,iCAAjB,iBAAiB,QAmE5B"}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ExpenseCategoryTranslation = exports.ExpenseCategory = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
14
|
+
const types_1 = require("../types");
|
|
15
15
|
class ExpenseCategory {
|
|
16
16
|
id;
|
|
17
17
|
name;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.model.js","sourceRoot":"","sources":["../../src/expense/category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"category.model.js","sourceRoot":"","sources":["../../src/expense/category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,oCAAoC;AAEpC,MAAa,eAAe;IAI3B,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,IAAI,CAAS;IAEb,kEAAkE;IAGlE,YAAY,CAA8B;IAE1C,YAAY,KAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1BD,0CA0BC;AAtBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACR;AAGX;IADC,IAAA,0BAAM,GAAE;;6CACI;AAGb;IADC,IAAA,0BAAM,GAAE;;8CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;oDACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;6CACI;AAKb;IADC,IAAA,0BAAM,GAAE;;qDACiC;AAO3C,MAAa,0BAA0B;IAItC,EAAE,CAAS;IAGX,QAAQ,CAAW;IAGnB,KAAK,CAAS;IAGd,WAAW,CAAS;IAEpB,YAAY,KAA2C;QACtD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlBD,gEAkBC;AAdA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sDACR;AAGX;IADC,IAAA,0BAAM,GAAE;;4DACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;yDACK;AAGd;IADC,IAAA,0BAAM,GAAE;;+DACW"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Language } from "../
|
|
2
|
-
import { FinanceStatus } from "../finance";
|
|
1
|
+
import { Language, StatusType } from "../types";
|
|
3
2
|
export declare class ExpenseCreateDto {
|
|
4
3
|
amount: number;
|
|
5
4
|
categoryId: number;
|
|
@@ -16,7 +15,7 @@ export declare class CompanyExpenseFilterDto {
|
|
|
16
15
|
endDate: Date;
|
|
17
16
|
categories: number[];
|
|
18
17
|
instructorId: number;
|
|
19
|
-
statuses:
|
|
18
|
+
statuses: StatusType[];
|
|
20
19
|
phrase: string;
|
|
21
20
|
sortLogic: 'createdBy' | 'createdOn' | 'category' | 'amount' | 'status';
|
|
22
21
|
sortOrder: 'asc' | 'desc';
|