@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 @@
|
|
|
1
|
+
{"version":3,"file":"promotion.events.js","sourceRoot":"","sources":["../../../src/events/agent/promotion.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBA6CX;AA7CD,WAAY,oBAAoB;IAE/B;;;;;;;;;OASG;IACH,+DAAuC,CAAA;IAEvC;;;;;;;OAOG;IACH,2DAAmC,CAAA;IAEnC;;;;;;;;OAQG;IACH,uDAA+B,CAAA;IAE/B;;;;;;;;OAQG;IACH,yDAAiC,CAAA;AAClC,CAAC,EA7CW,oBAAoB,oCAApB,oBAAoB,QA6C/B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum AuthEvents {
|
|
2
|
+
/**
|
|
3
|
+
* User signs in with phone number
|
|
4
|
+
* @author Auth User
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @param UserEntity Auth user
|
|
7
|
+
*/
|
|
8
|
+
SigninPhone = "auth.signin.phone",
|
|
9
|
+
/**
|
|
10
|
+
* User signs in with biometric authentication
|
|
11
|
+
* @author Auth User
|
|
12
|
+
* @fires Log user for auditing purposes
|
|
13
|
+
* @param UserDeviceEntity Auth user
|
|
14
|
+
*/
|
|
15
|
+
SigninBiometric = "auth.signin.biometric"
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthEvents = void 0;
|
|
4
|
+
var AuthEvents;
|
|
5
|
+
(function (AuthEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* User signs in with phone number
|
|
8
|
+
* @author Auth User
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @param UserEntity Auth user
|
|
11
|
+
*/
|
|
12
|
+
AuthEvents["SigninPhone"] = "auth.signin.phone";
|
|
13
|
+
/**
|
|
14
|
+
* User signs in with biometric authentication
|
|
15
|
+
* @author Auth User
|
|
16
|
+
* @fires Log user for auditing purposes
|
|
17
|
+
* @param UserDeviceEntity Auth user
|
|
18
|
+
*/
|
|
19
|
+
AuthEvents["SigninBiometric"] = "auth.signin.biometric";
|
|
20
|
+
})(AuthEvents || (exports.AuthEvents = AuthEvents = {}));
|
|
21
|
+
//# sourceMappingURL=auth.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.events.js","sourceRoot":"","sources":["../../../src/events/auth/auth.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAgBX;AAhBD,WAAY,UAAU;IACrB;;;;;OAKG;IACH,+CAAiC,CAAA;IAEjC;;;;;OAKG;IACH,uDAAyC,CAAA;AAC1C,CAAC,EAhBW,UAAU,0BAAV,UAAU,QAgBrB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum AuthTokenEvents {
|
|
2
|
+
/**
|
|
3
|
+
* User auth token is refreshed
|
|
4
|
+
* @author Auth user
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @param UserEntity Event author
|
|
7
|
+
*/
|
|
8
|
+
Refreshed = "auth.token.refreshed",
|
|
9
|
+
/**
|
|
10
|
+
* User auth token is invalid
|
|
11
|
+
* @author Auth user
|
|
12
|
+
* @fires Log user for auditing purposes
|
|
13
|
+
* @param UserEntity Event author
|
|
14
|
+
*/
|
|
15
|
+
Invalid = "auth.token.invalid",
|
|
16
|
+
/**
|
|
17
|
+
* User auth token is expired
|
|
18
|
+
* @author Auth user
|
|
19
|
+
* @fires Log user for auditing purposes
|
|
20
|
+
* @param UserEntity Event author
|
|
21
|
+
*/
|
|
22
|
+
Expired = "auth.token.expired"
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthTokenEvents = void 0;
|
|
4
|
+
var AuthTokenEvents;
|
|
5
|
+
(function (AuthTokenEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* User auth token is refreshed
|
|
8
|
+
* @author Auth user
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @param UserEntity Event author
|
|
11
|
+
*/
|
|
12
|
+
AuthTokenEvents["Refreshed"] = "auth.token.refreshed";
|
|
13
|
+
/**
|
|
14
|
+
* User auth token is invalid
|
|
15
|
+
* @author Auth user
|
|
16
|
+
* @fires Log user for auditing purposes
|
|
17
|
+
* @param UserEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
AuthTokenEvents["Invalid"] = "auth.token.invalid";
|
|
20
|
+
/**
|
|
21
|
+
* User auth token is expired
|
|
22
|
+
* @author Auth user
|
|
23
|
+
* @fires Log user for auditing purposes
|
|
24
|
+
* @param UserEntity Event author
|
|
25
|
+
*/
|
|
26
|
+
AuthTokenEvents["Expired"] = "auth.token.expired";
|
|
27
|
+
})(AuthTokenEvents || (exports.AuthTokenEvents = AuthTokenEvents = {}));
|
|
28
|
+
//# sourceMappingURL=token.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token.events.js","sourceRoot":"","sources":["../../../src/events/auth/token.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAyBX;AAzBD,WAAY,eAAe;IAE1B;;;;;OAKG;IACH,qDAAkC,CAAA;IAElC;;;;;OAKG;IACH,iDAA8B,CAAA;IAE9B;;;;;OAKG;IACH,iDAA8B,CAAA;AAC/B,CAAC,EAzBW,eAAe,+BAAf,eAAe,QAyB1B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum VerifyEvents {
|
|
2
|
+
/**
|
|
3
|
+
* One-time password is verified by phone
|
|
4
|
+
* @author Auth user
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @fires Notify user by SMS
|
|
7
|
+
*/
|
|
8
|
+
VerifyPhone = "auth.verify.phone",
|
|
9
|
+
/**
|
|
10
|
+
* One-time password is required by email
|
|
11
|
+
* @author Auth user
|
|
12
|
+
* @fires Log user for auditing purposes
|
|
13
|
+
* @fires Notify user by Email
|
|
14
|
+
* @param Person Event author
|
|
15
|
+
*/
|
|
16
|
+
VerifyEmail = "auth.verify.email"
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VerifyEvents = void 0;
|
|
4
|
+
var VerifyEvents;
|
|
5
|
+
(function (VerifyEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* One-time password is verified by phone
|
|
8
|
+
* @author Auth user
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @fires Notify user by SMS
|
|
11
|
+
*/
|
|
12
|
+
VerifyEvents["VerifyPhone"] = "auth.verify.phone";
|
|
13
|
+
/**
|
|
14
|
+
* One-time password is required by email
|
|
15
|
+
* @author Auth user
|
|
16
|
+
* @fires Log user for auditing purposes
|
|
17
|
+
* @fires Notify user by Email
|
|
18
|
+
* @param Person Event author
|
|
19
|
+
*/
|
|
20
|
+
VerifyEvents["VerifyEmail"] = "auth.verify.email";
|
|
21
|
+
})(VerifyEvents || (exports.VerifyEvents = VerifyEvents = {}));
|
|
22
|
+
//# sourceMappingURL=verify.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify.events.js","sourceRoot":"","sources":["../../../src/events/auth/verify.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAkBX;AAlBD,WAAY,YAAY;IAEvB;;;;;OAKG;IACH,iDAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,iDAAiC,CAAA;AAClC,CAAC,EAlBW,YAAY,4BAAZ,YAAY,QAkBvB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare enum CompanyAccountEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Company account is created
|
|
4
|
+
* @author Company Owner
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @fires Log owner for auditing purposes
|
|
7
|
+
* @fires Log company for auditing purposes
|
|
8
|
+
* @fires Log system for auditing purposes
|
|
9
|
+
* @param CompanyEntity Created company
|
|
10
|
+
* @param InstructorEntity Event author
|
|
11
|
+
*/
|
|
12
|
+
Created = "company.account.created",
|
|
13
|
+
/**
|
|
14
|
+
* Company account is activated
|
|
15
|
+
* @author System Job
|
|
16
|
+
* @fires Log company for auditing purposes
|
|
17
|
+
* @fires Log system for auditing purposes
|
|
18
|
+
* @param CompanyEntity Company which account is activated
|
|
19
|
+
* @param Person Event author (DriveUp)
|
|
20
|
+
*/
|
|
21
|
+
Activated = "company.account.activated",
|
|
22
|
+
/**
|
|
23
|
+
* Company onboardin is completed
|
|
24
|
+
* @author Company owner
|
|
25
|
+
* @fires Log instructor for auditing purposes
|
|
26
|
+
* @fires Log company for auditing purposes
|
|
27
|
+
* @fires Log system for auditing purposes
|
|
28
|
+
* @param CompanyEntity Company which account is activated
|
|
29
|
+
* @param InstructorEntity Event author
|
|
30
|
+
*/
|
|
31
|
+
Completed = "company.account.completed",
|
|
32
|
+
/**
|
|
33
|
+
* Company account is suspended
|
|
34
|
+
* @author System Job
|
|
35
|
+
* @fires Log company for auditing purposes
|
|
36
|
+
* @fires Log system for auditing purposes
|
|
37
|
+
* @fires Notify all managers about the company account suspension
|
|
38
|
+
* @param CompanyEntity Company which account is closed
|
|
39
|
+
* @param Person Event author (DriveUp)
|
|
40
|
+
*/
|
|
41
|
+
Suspended = "company.account.suspended",
|
|
42
|
+
/**
|
|
43
|
+
* Company account is blocked
|
|
44
|
+
* @author System Job
|
|
45
|
+
* @fires Log company for auditing purposes
|
|
46
|
+
* @fires Log system for auditing purposes
|
|
47
|
+
* @fires Notify all active members about the company account blocking
|
|
48
|
+
* @param CompanyEntity Company which account is closed
|
|
49
|
+
* @param Person Event author (DriveUp)
|
|
50
|
+
*/
|
|
51
|
+
Blocked = "company.account.blocked",
|
|
52
|
+
/**
|
|
53
|
+
* Company account is closed
|
|
54
|
+
* @author Company Owner
|
|
55
|
+
* @fires Log user for auditing purposes
|
|
56
|
+
* @fires Log instructor for auditing purposes
|
|
57
|
+
* @fires Log company for auditing purposes
|
|
58
|
+
* @fires Log system for auditing purposes
|
|
59
|
+
* @fires Notify all active members about the company account closure
|
|
60
|
+
* @fires Notify agent about the company account closure
|
|
61
|
+
* @param CompanyEntity Closed company
|
|
62
|
+
*/
|
|
63
|
+
Closed = "company.account.closed"
|
|
64
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyAccountEvents = void 0;
|
|
4
|
+
var CompanyAccountEvents;
|
|
5
|
+
(function (CompanyAccountEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Company account is created
|
|
8
|
+
* @author Company Owner
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @fires Log owner for auditing purposes
|
|
11
|
+
* @fires Log company for auditing purposes
|
|
12
|
+
* @fires Log system for auditing purposes
|
|
13
|
+
* @param CompanyEntity Created company
|
|
14
|
+
* @param InstructorEntity Event author
|
|
15
|
+
*/
|
|
16
|
+
CompanyAccountEvents["Created"] = "company.account.created";
|
|
17
|
+
/**
|
|
18
|
+
* Company account is activated
|
|
19
|
+
* @author System Job
|
|
20
|
+
* @fires Log company for auditing purposes
|
|
21
|
+
* @fires Log system for auditing purposes
|
|
22
|
+
* @param CompanyEntity Company which account is activated
|
|
23
|
+
* @param Person Event author (DriveUp)
|
|
24
|
+
*/
|
|
25
|
+
CompanyAccountEvents["Activated"] = "company.account.activated";
|
|
26
|
+
/**
|
|
27
|
+
* Company onboardin is completed
|
|
28
|
+
* @author Company owner
|
|
29
|
+
* @fires Log instructor for auditing purposes
|
|
30
|
+
* @fires Log company for auditing purposes
|
|
31
|
+
* @fires Log system for auditing purposes
|
|
32
|
+
* @param CompanyEntity Company which account is activated
|
|
33
|
+
* @param InstructorEntity Event author
|
|
34
|
+
*/
|
|
35
|
+
CompanyAccountEvents["Completed"] = "company.account.completed";
|
|
36
|
+
/**
|
|
37
|
+
* Company account is suspended
|
|
38
|
+
* @author System Job
|
|
39
|
+
* @fires Log company for auditing purposes
|
|
40
|
+
* @fires Log system for auditing purposes
|
|
41
|
+
* @fires Notify all managers about the company account suspension
|
|
42
|
+
* @param CompanyEntity Company which account is closed
|
|
43
|
+
* @param Person Event author (DriveUp)
|
|
44
|
+
*/
|
|
45
|
+
CompanyAccountEvents["Suspended"] = "company.account.suspended";
|
|
46
|
+
/**
|
|
47
|
+
* Company account is blocked
|
|
48
|
+
* @author System Job
|
|
49
|
+
* @fires Log company for auditing purposes
|
|
50
|
+
* @fires Log system for auditing purposes
|
|
51
|
+
* @fires Notify all active members about the company account blocking
|
|
52
|
+
* @param CompanyEntity Company which account is closed
|
|
53
|
+
* @param Person Event author (DriveUp)
|
|
54
|
+
*/
|
|
55
|
+
CompanyAccountEvents["Blocked"] = "company.account.blocked";
|
|
56
|
+
/**
|
|
57
|
+
* Company account is closed
|
|
58
|
+
* @author Company Owner
|
|
59
|
+
* @fires Log user for auditing purposes
|
|
60
|
+
* @fires Log instructor for auditing purposes
|
|
61
|
+
* @fires Log company for auditing purposes
|
|
62
|
+
* @fires Log system for auditing purposes
|
|
63
|
+
* @fires Notify all active members about the company account closure
|
|
64
|
+
* @fires Notify agent about the company account closure
|
|
65
|
+
* @param CompanyEntity Closed company
|
|
66
|
+
*/
|
|
67
|
+
CompanyAccountEvents["Closed"] = "company.account.closed";
|
|
68
|
+
})(CompanyAccountEvents || (exports.CompanyAccountEvents = CompanyAccountEvents = {}));
|
|
69
|
+
//# sourceMappingURL=account.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../../src/events/company/account/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAqEX;AArED,WAAY,oBAAoB;IAE/B;;;;;;;;;OASG;IACH,2DAAmC,CAAA;IAEnC;;;;;;;OAOG;IACH,+DAAuC,CAAA;IAEvC;;;;;;;;OAQG;IACH,+DAAuC,CAAA;IAEvC;;;;;;;;OAQG;IACH,+DAAuC,CAAA;IAEvC;;;;;;;;OAQG;IACH,2DAAmC,CAAA;IAEnC;;;;;;;;;;OAUG;IACH,yDAAiC,CAAA;AAClC,CAAC,EArEW,oBAAoB,oCAApB,oBAAoB,QAqE/B"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
export declare enum CompanyProfileEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Company ownership is transferred to another user
|
|
4
|
+
* @author Company owner
|
|
5
|
+
* @fires Log instructor (new owner) for auditing purposes
|
|
6
|
+
* @fires Log instructor (old owner) for auditing purposes (authoring)
|
|
7
|
+
* @fires Log company for auditing purposes
|
|
8
|
+
* @fires Log system for auditing purposes
|
|
9
|
+
* @fires Notify new owner about the assignment
|
|
10
|
+
* @fires Notify all active members (except old and new owner) about the company owner change
|
|
11
|
+
* @param CompanyInstructorEntity New company owner
|
|
12
|
+
* @param CompanyInstructorEntity Event author
|
|
13
|
+
*/
|
|
14
|
+
OwnerChanged = "company.profile.ownerChanged",
|
|
15
|
+
/**
|
|
16
|
+
* Company changes name
|
|
17
|
+
* @author Company owner
|
|
18
|
+
* @fires Log instructor for auditing purposes
|
|
19
|
+
* @fires Log company for auditing purposes
|
|
20
|
+
* @fires Log system for auditing purposes
|
|
21
|
+
* @fires Notify all active members (except auth user) about the company name change
|
|
22
|
+
* @param CompanyEntity Company which name is changed
|
|
23
|
+
* @param String Previous company name
|
|
24
|
+
* @param CompanyInstructorEntity Event author
|
|
25
|
+
*/
|
|
26
|
+
NameChanged = "company.profile.nameChanged",
|
|
27
|
+
/**
|
|
28
|
+
* Company changes description
|
|
29
|
+
* @author Company manager
|
|
30
|
+
* @fires Log instructor for auditing purposes
|
|
31
|
+
* @fires Log company for auditing purposes
|
|
32
|
+
* @param CompanyEntity Company which description is changed
|
|
33
|
+
* @param CompanyInstructorEntity Event author
|
|
34
|
+
*/
|
|
35
|
+
DescriptionChanged = "company.profile.descriptionChanged",
|
|
36
|
+
/**
|
|
37
|
+
* Company changes logo
|
|
38
|
+
* @author Company manager
|
|
39
|
+
* @fires Log instructor for auditing purposes
|
|
40
|
+
* @fires Log company for auditing purposes
|
|
41
|
+
* @param CompanyEntity Company which logo is changed
|
|
42
|
+
* @param CompanyInstructorEntity Event author
|
|
43
|
+
*/
|
|
44
|
+
LogoChanged = "company.profile.logoChanged",
|
|
45
|
+
/**
|
|
46
|
+
* Company changes language
|
|
47
|
+
* @author Company manager
|
|
48
|
+
* @fires Log instructor for auditing purposes
|
|
49
|
+
* @fires Log company for auditing purposes
|
|
50
|
+
* @fires Notify all active members about the company language change
|
|
51
|
+
* @param CompanyEntity Company which language is changed
|
|
52
|
+
* @param CompanyInstructorEntity Event author
|
|
53
|
+
*/
|
|
54
|
+
LanguageChanged = "company.profile.languageChanged",
|
|
55
|
+
/**
|
|
56
|
+
* Company changes address
|
|
57
|
+
* @author Company manager
|
|
58
|
+
* @fires Log instructor for auditing purposes
|
|
59
|
+
* @fires Log company for auditing purposes
|
|
60
|
+
* @fires Log system for auditing purposes
|
|
61
|
+
* @param CompanyEntity Company which address is changed
|
|
62
|
+
* @param CompanyInstructorEntity Event author
|
|
63
|
+
*/
|
|
64
|
+
AddressChanged = "company.profile.addressChanged",
|
|
65
|
+
/**
|
|
66
|
+
* Company changes homepage
|
|
67
|
+
* @author Company manager
|
|
68
|
+
* @fires Log instructor for auditing purposes
|
|
69
|
+
* @fires Log company for auditing purposes
|
|
70
|
+
* @param CompanyEntity Company which homepage is changed
|
|
71
|
+
* @param CompanyInstructorEntity Event author
|
|
72
|
+
*/
|
|
73
|
+
HomepageChanged = "company.profile.homepageChanged",
|
|
74
|
+
/**
|
|
75
|
+
* Company changes social link
|
|
76
|
+
* @author Company manager
|
|
77
|
+
* @fires Log instructor for auditing purposes
|
|
78
|
+
* @fires Log company for auditing purposes
|
|
79
|
+
* @param CompanyEntity Company which social link is changed
|
|
80
|
+
* @param CompanyInstructorEntity Event author
|
|
81
|
+
*/
|
|
82
|
+
SocialLinkChanged = "company.profile.socialLinkChanged",
|
|
83
|
+
/**
|
|
84
|
+
* Company changes phone
|
|
85
|
+
* @author Company manager
|
|
86
|
+
* @fires Log instructor for auditing purposes
|
|
87
|
+
* @fires Log company for auditing purposes
|
|
88
|
+
* @param CompanyEntity Company which phone is changed
|
|
89
|
+
* @param CompanyInstructorEntity Event author
|
|
90
|
+
*/
|
|
91
|
+
PhoneChanged = "company.profile.phoneChanged",
|
|
92
|
+
/**
|
|
93
|
+
* Company changes email
|
|
94
|
+
* @author Company manager
|
|
95
|
+
* @fires Log instructor for auditing purposes
|
|
96
|
+
* @fires Log company for auditing purposes
|
|
97
|
+
* @param CompanyEntity Company which email is changed
|
|
98
|
+
* @param CompanyInstructorEntity Event author
|
|
99
|
+
*/
|
|
100
|
+
EmailChanged = "company.profile.emailChanged",
|
|
101
|
+
/**
|
|
102
|
+
* Company changes timezone
|
|
103
|
+
* @author Company manager
|
|
104
|
+
* @fires Log instructor for auditing purposes
|
|
105
|
+
* @fires Log company for auditing purposes
|
|
106
|
+
* @param CompanyEntity Company which timezone is changed
|
|
107
|
+
* @param CompanyInstructorEntity Event author
|
|
108
|
+
*/
|
|
109
|
+
TimezoneChanged = "company.profile.timezoneChanged",
|
|
110
|
+
/**
|
|
111
|
+
* Company changes workinhg hours
|
|
112
|
+
* @author Company manager
|
|
113
|
+
* @fires Log instructor for auditing purposes
|
|
114
|
+
* @fires Log company for auditing purposes
|
|
115
|
+
* @fires Notify all active members about the working hours changes
|
|
116
|
+
* @param CompanyEntity Company which working hours are changed
|
|
117
|
+
* @param CompanyInstructorEntity Event author
|
|
118
|
+
*/
|
|
119
|
+
WorkingScheduleChanged = "company.profile.workingScheduleChanged",
|
|
120
|
+
/**
|
|
121
|
+
* Company changes holydays
|
|
122
|
+
* @author Company manager
|
|
123
|
+
* @fires Log instructor for auditing purposes
|
|
124
|
+
* @fires Log company for auditing purposes
|
|
125
|
+
* @fires Notify all active members about the holidays changes
|
|
126
|
+
* @param CompanyEntity Company which holidays are changed
|
|
127
|
+
* @param CompanyInstructorEntity Event author
|
|
128
|
+
*/
|
|
129
|
+
HolidaysScheduleChanged = "company.profile.holidaysScheduleChanged",
|
|
130
|
+
/**
|
|
131
|
+
* Company changes search engine visibility changed
|
|
132
|
+
* @author Company owner
|
|
133
|
+
* @fires Log instructor for auditing purposes
|
|
134
|
+
* @fires Log company for auditing purposes
|
|
135
|
+
* @fires Log system for auditing purposes
|
|
136
|
+
* @param CompanyEntity Company which public visibility is changed
|
|
137
|
+
* @param CompanyInstructorEntity Event author
|
|
138
|
+
*/
|
|
139
|
+
SearchEngineVisibilityChanged = "company.profile.searchEngineVisibilityChanged",
|
|
140
|
+
/**
|
|
141
|
+
* Company changes pickup location
|
|
142
|
+
* @author Company manager
|
|
143
|
+
* @fires Log instructor for auditing purposes
|
|
144
|
+
* @fires Log company for auditing purposes
|
|
145
|
+
* @param CompanyEntity Company which pickup location is changed
|
|
146
|
+
* @param CompanyInstructorEntity Event author
|
|
147
|
+
*/
|
|
148
|
+
LocationChanged = "company.profile.locationChanged",
|
|
149
|
+
/**
|
|
150
|
+
* Company changes session cancellation fee period
|
|
151
|
+
* @author Company manager
|
|
152
|
+
* @fires Log instructor for auditing purposes
|
|
153
|
+
* @fires Log company for auditing purposes
|
|
154
|
+
* @fires Notify all active members about the session cancellation fee period changes
|
|
155
|
+
* @param CompanyEntity Company which session cancellation fee period is changed
|
|
156
|
+
* @param CompanyInstructorEntity Event author
|
|
157
|
+
*/
|
|
158
|
+
RescheduleProtectionChanged = "company.profile.rescheduleProtectionChanged",
|
|
159
|
+
/**
|
|
160
|
+
* Company changes banking details
|
|
161
|
+
* @author Company manager
|
|
162
|
+
* @fires Log instructor for auditing purposes
|
|
163
|
+
* @fires Log company for auditing purposes
|
|
164
|
+
* @fires Log system for auditing purposes
|
|
165
|
+
* @param CompanyEntity Company which banking details are changed
|
|
166
|
+
* @param CompanyInstructorEntity Event author
|
|
167
|
+
*/
|
|
168
|
+
BankDetailsChanged = "company.profile.bankingDetailsChanged"
|
|
169
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyProfileEvents = void 0;
|
|
4
|
+
var CompanyProfileEvents;
|
|
5
|
+
(function (CompanyProfileEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Company ownership is transferred to another user
|
|
8
|
+
* @author Company owner
|
|
9
|
+
* @fires Log instructor (new owner) for auditing purposes
|
|
10
|
+
* @fires Log instructor (old owner) for auditing purposes (authoring)
|
|
11
|
+
* @fires Log company for auditing purposes
|
|
12
|
+
* @fires Log system for auditing purposes
|
|
13
|
+
* @fires Notify new owner about the assignment
|
|
14
|
+
* @fires Notify all active members (except old and new owner) about the company owner change
|
|
15
|
+
* @param CompanyInstructorEntity New company owner
|
|
16
|
+
* @param CompanyInstructorEntity Event author
|
|
17
|
+
*/
|
|
18
|
+
CompanyProfileEvents["OwnerChanged"] = "company.profile.ownerChanged";
|
|
19
|
+
/**
|
|
20
|
+
* Company changes name
|
|
21
|
+
* @author Company owner
|
|
22
|
+
* @fires Log instructor for auditing purposes
|
|
23
|
+
* @fires Log company for auditing purposes
|
|
24
|
+
* @fires Log system for auditing purposes
|
|
25
|
+
* @fires Notify all active members (except auth user) about the company name change
|
|
26
|
+
* @param CompanyEntity Company which name is changed
|
|
27
|
+
* @param String Previous company name
|
|
28
|
+
* @param CompanyInstructorEntity Event author
|
|
29
|
+
*/
|
|
30
|
+
CompanyProfileEvents["NameChanged"] = "company.profile.nameChanged";
|
|
31
|
+
/**
|
|
32
|
+
* Company changes description
|
|
33
|
+
* @author Company manager
|
|
34
|
+
* @fires Log instructor for auditing purposes
|
|
35
|
+
* @fires Log company for auditing purposes
|
|
36
|
+
* @param CompanyEntity Company which description is changed
|
|
37
|
+
* @param CompanyInstructorEntity Event author
|
|
38
|
+
*/
|
|
39
|
+
CompanyProfileEvents["DescriptionChanged"] = "company.profile.descriptionChanged";
|
|
40
|
+
/**
|
|
41
|
+
* Company changes logo
|
|
42
|
+
* @author Company manager
|
|
43
|
+
* @fires Log instructor for auditing purposes
|
|
44
|
+
* @fires Log company for auditing purposes
|
|
45
|
+
* @param CompanyEntity Company which logo is changed
|
|
46
|
+
* @param CompanyInstructorEntity Event author
|
|
47
|
+
*/
|
|
48
|
+
CompanyProfileEvents["LogoChanged"] = "company.profile.logoChanged";
|
|
49
|
+
/**
|
|
50
|
+
* Company changes language
|
|
51
|
+
* @author Company manager
|
|
52
|
+
* @fires Log instructor for auditing purposes
|
|
53
|
+
* @fires Log company for auditing purposes
|
|
54
|
+
* @fires Notify all active members about the company language change
|
|
55
|
+
* @param CompanyEntity Company which language is changed
|
|
56
|
+
* @param CompanyInstructorEntity Event author
|
|
57
|
+
*/
|
|
58
|
+
CompanyProfileEvents["LanguageChanged"] = "company.profile.languageChanged";
|
|
59
|
+
/**
|
|
60
|
+
* Company changes address
|
|
61
|
+
* @author Company manager
|
|
62
|
+
* @fires Log instructor for auditing purposes
|
|
63
|
+
* @fires Log company for auditing purposes
|
|
64
|
+
* @fires Log system for auditing purposes
|
|
65
|
+
* @param CompanyEntity Company which address is changed
|
|
66
|
+
* @param CompanyInstructorEntity Event author
|
|
67
|
+
*/
|
|
68
|
+
CompanyProfileEvents["AddressChanged"] = "company.profile.addressChanged";
|
|
69
|
+
/**
|
|
70
|
+
* Company changes homepage
|
|
71
|
+
* @author Company manager
|
|
72
|
+
* @fires Log instructor for auditing purposes
|
|
73
|
+
* @fires Log company for auditing purposes
|
|
74
|
+
* @param CompanyEntity Company which homepage is changed
|
|
75
|
+
* @param CompanyInstructorEntity Event author
|
|
76
|
+
*/
|
|
77
|
+
CompanyProfileEvents["HomepageChanged"] = "company.profile.homepageChanged";
|
|
78
|
+
/**
|
|
79
|
+
* Company changes social link
|
|
80
|
+
* @author Company manager
|
|
81
|
+
* @fires Log instructor for auditing purposes
|
|
82
|
+
* @fires Log company for auditing purposes
|
|
83
|
+
* @param CompanyEntity Company which social link is changed
|
|
84
|
+
* @param CompanyInstructorEntity Event author
|
|
85
|
+
*/
|
|
86
|
+
CompanyProfileEvents["SocialLinkChanged"] = "company.profile.socialLinkChanged";
|
|
87
|
+
/**
|
|
88
|
+
* Company changes phone
|
|
89
|
+
* @author Company manager
|
|
90
|
+
* @fires Log instructor for auditing purposes
|
|
91
|
+
* @fires Log company for auditing purposes
|
|
92
|
+
* @param CompanyEntity Company which phone is changed
|
|
93
|
+
* @param CompanyInstructorEntity Event author
|
|
94
|
+
*/
|
|
95
|
+
CompanyProfileEvents["PhoneChanged"] = "company.profile.phoneChanged";
|
|
96
|
+
/**
|
|
97
|
+
* Company changes email
|
|
98
|
+
* @author Company manager
|
|
99
|
+
* @fires Log instructor for auditing purposes
|
|
100
|
+
* @fires Log company for auditing purposes
|
|
101
|
+
* @param CompanyEntity Company which email is changed
|
|
102
|
+
* @param CompanyInstructorEntity Event author
|
|
103
|
+
*/
|
|
104
|
+
CompanyProfileEvents["EmailChanged"] = "company.profile.emailChanged";
|
|
105
|
+
/**
|
|
106
|
+
* Company changes timezone
|
|
107
|
+
* @author Company manager
|
|
108
|
+
* @fires Log instructor for auditing purposes
|
|
109
|
+
* @fires Log company for auditing purposes
|
|
110
|
+
* @param CompanyEntity Company which timezone is changed
|
|
111
|
+
* @param CompanyInstructorEntity Event author
|
|
112
|
+
*/
|
|
113
|
+
CompanyProfileEvents["TimezoneChanged"] = "company.profile.timezoneChanged";
|
|
114
|
+
/**
|
|
115
|
+
* Company changes workinhg hours
|
|
116
|
+
* @author Company manager
|
|
117
|
+
* @fires Log instructor for auditing purposes
|
|
118
|
+
* @fires Log company for auditing purposes
|
|
119
|
+
* @fires Notify all active members about the working hours changes
|
|
120
|
+
* @param CompanyEntity Company which working hours are changed
|
|
121
|
+
* @param CompanyInstructorEntity Event author
|
|
122
|
+
*/
|
|
123
|
+
CompanyProfileEvents["WorkingScheduleChanged"] = "company.profile.workingScheduleChanged";
|
|
124
|
+
/**
|
|
125
|
+
* Company changes holydays
|
|
126
|
+
* @author Company manager
|
|
127
|
+
* @fires Log instructor for auditing purposes
|
|
128
|
+
* @fires Log company for auditing purposes
|
|
129
|
+
* @fires Notify all active members about the holidays changes
|
|
130
|
+
* @param CompanyEntity Company which holidays are changed
|
|
131
|
+
* @param CompanyInstructorEntity Event author
|
|
132
|
+
*/
|
|
133
|
+
CompanyProfileEvents["HolidaysScheduleChanged"] = "company.profile.holidaysScheduleChanged";
|
|
134
|
+
/**
|
|
135
|
+
* Company changes search engine visibility changed
|
|
136
|
+
* @author Company owner
|
|
137
|
+
* @fires Log instructor for auditing purposes
|
|
138
|
+
* @fires Log company for auditing purposes
|
|
139
|
+
* @fires Log system for auditing purposes
|
|
140
|
+
* @param CompanyEntity Company which public visibility is changed
|
|
141
|
+
* @param CompanyInstructorEntity Event author
|
|
142
|
+
*/
|
|
143
|
+
CompanyProfileEvents["SearchEngineVisibilityChanged"] = "company.profile.searchEngineVisibilityChanged";
|
|
144
|
+
/**
|
|
145
|
+
* Company changes pickup location
|
|
146
|
+
* @author Company manager
|
|
147
|
+
* @fires Log instructor for auditing purposes
|
|
148
|
+
* @fires Log company for auditing purposes
|
|
149
|
+
* @param CompanyEntity Company which pickup location is changed
|
|
150
|
+
* @param CompanyInstructorEntity Event author
|
|
151
|
+
*/
|
|
152
|
+
CompanyProfileEvents["LocationChanged"] = "company.profile.locationChanged";
|
|
153
|
+
/**
|
|
154
|
+
* Company changes session cancellation fee period
|
|
155
|
+
* @author Company manager
|
|
156
|
+
* @fires Log instructor for auditing purposes
|
|
157
|
+
* @fires Log company for auditing purposes
|
|
158
|
+
* @fires Notify all active members about the session cancellation fee period changes
|
|
159
|
+
* @param CompanyEntity Company which session cancellation fee period is changed
|
|
160
|
+
* @param CompanyInstructorEntity Event author
|
|
161
|
+
*/
|
|
162
|
+
CompanyProfileEvents["RescheduleProtectionChanged"] = "company.profile.rescheduleProtectionChanged";
|
|
163
|
+
/**
|
|
164
|
+
* Company changes banking details
|
|
165
|
+
* @author Company manager
|
|
166
|
+
* @fires Log instructor for auditing purposes
|
|
167
|
+
* @fires Log company for auditing purposes
|
|
168
|
+
* @fires Log system for auditing purposes
|
|
169
|
+
* @param CompanyEntity Company which banking details are changed
|
|
170
|
+
* @param CompanyInstructorEntity Event author
|
|
171
|
+
*/
|
|
172
|
+
CompanyProfileEvents["BankDetailsChanged"] = "company.profile.bankingDetailsChanged";
|
|
173
|
+
})(CompanyProfileEvents || (exports.CompanyProfileEvents = CompanyProfileEvents = {}));
|
|
174
|
+
//# sourceMappingURL=profile.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.events.js","sourceRoot":"","sources":["../../../../src/events/company/account/profile.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAyLX;AAzLD,WAAY,oBAAoB;IAE/B;;;;;;;;;;;OAWG;IACH,qEAA6C,CAAA;IAE7C;;;;;;;;;;OAUG;IACH,mEAA2C,CAAA;IAE3C;;;;;;;OAOG;IACH,iFAAyD,CAAA;IAEzD;;;;;;;OAOG;IACH,mEAA2C,CAAA;IAE3C;;;;;;;;OAQG;IACH,2EAAmD,CAAA;IAEnD;;;;;;;;OAQG;IACH,yEAAiD,CAAA;IAEjD;;;;;;;OAOG;IACH,2EAAmD,CAAA;IAEnD;;;;;;;OAOG;IACH,+EAAuD,CAAA;IAEvD;;;;;;;OAOG;IACH,qEAA6C,CAAA;IAE7C;;;;;;;OAOG;IACH,qEAA6C,CAAA;IAE7C;;;;;;;OAOG;IACH,2EAAmD,CAAA;IAEnD;;;;;;;;OAQG;IACH,yFAAiE,CAAA;IAEjE;;;;;;;;OAQG;IACH,2FAAmE,CAAA;IAEnE;;;;;;;;OAQG;IACH,uGAA+E,CAAA;IAE/E;;;;;;;OAOG;IACH,2EAAmD,CAAA;IAEnD;;;;;;;;OAQG;IACH,mGAA2E,CAAA;IAE3E;;;;;;;;OAQG;IACH,oFAA4D,CAAA;AAC7D,CAAC,EAzLW,oBAAoB,oCAApB,oBAAoB,QAyL/B"}
|