@intelact/driveup 1.5.0 → 1.5.3
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 +10 -2
- 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/asset.type.d.ts +5 -0
- package/lib/agent/asset.type.js +10 -0
- package/lib/agent/asset.type.js.map +1 -0
- package/lib/agent/earning.type.d.ts +6 -0
- package/lib/agent/earning.type.js +3 -0
- package/lib/agent/earning.type.js.map +1 -0
- package/lib/agent/index.d.ts +2 -0
- package/lib/agent/index.js +2 -0
- package/lib/agent/index.js.map +1 -1
- package/lib/agent/payout.model.d.ts +11 -0
- package/lib/agent/payout.model.js +59 -0
- package/lib/agent/payout.model.js.map +1 -0
- package/lib/alert/alert.content.d.ts +4 -0
- package/lib/alert/alert.content.js +9 -0
- package/lib/alert/alert.content.js.map +1 -0
- package/lib/alert/alert.model.d.ts +5 -3
- package/lib/alert/alert.model.js +3 -1
- package/lib/alert/alert.model.js.map +1 -1
- package/lib/alert/index.d.ts +1 -0
- package/lib/alert/index.js +1 -0
- package/lib/alert/index.js.map +1 -1
- package/lib/auth/biometric.dto.d.ts +3 -0
- package/lib/auth/biometric.dto.js +25 -0
- package/lib/auth/biometric.dto.js.map +1 -0
- 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 +4 -6
- package/lib/bank/account.model.js.map +1 -1
- package/lib/bill/bill-item.type.d.ts +5 -0
- package/lib/bill/bill-item.type.js +10 -0
- package/lib/bill/bill-item.type.js.map +1 -0
- 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/bill.status.d.ts +5 -0
- package/lib/bill/bill.status.js +13 -0
- package/lib/bill/bill.status.js.map +1 -0
- package/lib/bill/index.d.ts +2 -0
- package/lib/bill/index.js +2 -0
- package/lib/bill/index.js.map +1 -1
- package/lib/calendar/appointment.d.ts +5 -3
- package/lib/calendar/appointment.js +15 -14
- 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 +1 -0
- package/lib/calendar/index.js +1 -0
- package/lib/calendar/index.js.map +1 -1
- package/lib/calendar/link.d.ts +4 -0
- package/lib/calendar/link.js +9 -0
- package/lib/calendar/link.js.map +1 -0
- package/lib/calendar/token.d.ts +1 -1
- package/lib/calendar/types.d.ts +19 -0
- package/lib/calendar/types.js +25 -0
- package/lib/calendar/types.js.map +1 -0
- 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/appointment.model.d.ts +13 -0
- package/lib/common/appointment.model.js +79 -0
- package/lib/common/appointment.model.js.map +1 -0
- package/lib/common/content.d.ts +1 -1
- package/lib/common/content.js +9 -10
- package/lib/common/content.js.map +1 -1
- package/lib/common/context.d.ts +6 -0
- package/lib/common/context.js +11 -0
- package/lib/common/context.js.map +1 -0
- package/lib/common/date.d.ts +9 -0
- package/lib/common/date.enum.d.ts +9 -0
- package/lib/common/date.enum.js +14 -0
- package/lib/common/date.enum.js.map +1 -0
- package/lib/common/date.js +14 -0
- package/lib/common/date.js.map +1 -0
- package/lib/common/email.js +3 -3
- package/lib/common/email.js.map +1 -1
- package/lib/common/general.dto.d.ts +70 -0
- package/lib/common/general.dto.js +302 -0
- package/lib/common/general.dto.js.map +1 -0
- package/lib/common/id.js +6 -2
- package/lib/common/id.js.map +1 -1
- package/lib/common/index.d.ts +1 -0
- package/lib/common/index.js +1 -0
- package/lib/common/index.js.map +1 -1
- package/lib/common/language.d.ts +6 -1
- package/lib/common/language.js +9 -3
- package/lib/common/language.js.map +1 -1
- package/lib/common/notification.enum.d.ts +11 -0
- package/lib/common/notification.enum.js +17 -0
- package/lib/common/notification.enum.js.map +1 -0
- 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 +4 -2
- package/lib/common/price.js.map +1 -1
- package/lib/common/promotion.js +0 -2
- 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 +1 -2
- package/lib/common/social.js.map +1 -1
- package/lib/common/sort.js +6 -2
- 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/account.status.enum.d.ts +8 -0
- package/lib/company/account.status.enum.js +13 -0
- package/lib/company/account.status.enum.js.map +1 -0
- package/lib/company/common/appointment.type.enum.d.ts +4 -0
- package/lib/company/common/appointment.type.enum.js +9 -0
- package/lib/company/common/appointment.type.enum.js.map +1 -0
- package/lib/company/common/general.dto.d.ts +46 -0
- package/lib/company/common/general.dto.js +182 -0
- package/lib/company/common/general.dto.js.map +1 -0
- package/lib/company/common/index.d.ts +4 -0
- package/lib/company/common/index.js +21 -0
- package/lib/company/common/index.js.map +1 -0
- package/lib/company/common/request.status.enum.d.ts +6 -0
- package/lib/company/common/request.status.enum.js +11 -0
- package/lib/company/common/request.status.enum.js.map +1 -0
- package/lib/company/common/setting.enum.d.ts +7 -0
- package/lib/company/common/setting.enum.js +12 -0
- package/lib/company/common/setting.enum.js.map +1 -0
- package/lib/company/common/training.status.enum.d.ts +11 -0
- package/lib/company/common/training.status.enum.js +17 -0
- package/lib/company/common/training.status.enum.js.map +1 -0
- package/lib/company/company.model.d.ts +2 -1
- package/lib/company/company.model.js +2 -1
- package/lib/company/company.model.js.map +1 -1
- package/lib/company/course/appointment.model.d.ts +10 -0
- package/lib/company/course/appointment.model.js +43 -0
- package/lib/company/course/appointment.model.js.map +1 -0
- package/lib/company/course/course.enum.d.ts +15 -0
- package/lib/company/course/course.enum.js +22 -0
- package/lib/company/course/course.enum.js.map +1 -0
- package/lib/company/course/course.model.d.ts +17 -0
- package/lib/company/course/course.model.js +94 -0
- package/lib/company/course/course.model.js.map +1 -0
- package/lib/company/course/definition.model.d.ts +11 -0
- package/lib/company/course/definition.model.js +57 -0
- package/lib/company/course/definition.model.js.map +1 -0
- package/lib/company/course/finances/discount.model.d.ts +8 -0
- package/lib/company/course/finances/discount.model.js +44 -0
- package/lib/company/course/finances/discount.model.js.map +1 -0
- package/lib/company/course/finances/index.d.ts +5 -0
- package/lib/company/course/finances/index.js +22 -0
- package/lib/company/course/finances/index.js.map +1 -0
- package/lib/company/course/finances/invoice-item.model.d.ts +7 -0
- package/lib/company/course/finances/invoice-item.model.js +43 -0
- package/lib/company/course/finances/invoice-item.model.js.map +1 -0
- package/lib/company/course/finances/invoice.model.d.ts +15 -0
- package/lib/company/course/finances/invoice.model.js +77 -0
- package/lib/company/course/finances/invoice.model.js.map +1 -0
- package/lib/company/course/finances/payment.model.d.ts +13 -0
- package/lib/company/course/finances/payment.model.js +68 -0
- package/lib/company/course/finances/payment.model.js.map +1 -0
- package/lib/company/course/finances/refund.model.d.ts +8 -0
- package/lib/company/course/finances/refund.model.js +44 -0
- package/lib/company/course/finances/refund.model.js.map +1 -0
- package/lib/company/course/index.d.ts +6 -0
- package/lib/company/course/index.js +23 -0
- package/lib/company/course/index.js.map +1 -0
- package/lib/company/course/part.model.d.ts +10 -0
- package/lib/company/course/part.model.js +56 -0
- package/lib/company/course/part.model.js.map +1 -0
- package/lib/company/driving/appointment.type.enum.d.ts +4 -0
- package/lib/company/driving/appointment.type.enum.js +9 -0
- package/lib/company/driving/appointment.type.enum.js.map +1 -0
- package/lib/company/driving/category.model.d.ts +18 -0
- package/lib/company/driving/category.model.js +100 -0
- package/lib/company/driving/category.model.js.map +1 -0
- package/lib/company/driving/dto.d.ts +5 -0
- package/lib/company/driving/dto.js +38 -0
- package/lib/company/driving/dto.js.map +1 -0
- package/lib/company/driving/exam.enum.d.ts +5 -0
- package/lib/company/driving/exam.enum.js +10 -0
- package/lib/company/driving/exam.enum.js.map +1 -0
- package/lib/company/driving/exam.status.enum.d.ts +5 -0
- package/lib/company/driving/exam.status.enum.js +10 -0
- package/lib/company/driving/exam.status.enum.js.map +1 -0
- package/lib/company/driving/finances/discount.model.d.ts +8 -0
- package/lib/company/driving/finances/discount.model.js +44 -0
- package/lib/company/driving/finances/discount.model.js.map +1 -0
- package/lib/company/driving/finances/index.d.ts +5 -0
- package/lib/company/driving/finances/index.js +22 -0
- package/lib/company/driving/finances/index.js.map +1 -0
- package/lib/company/driving/finances/invoice-item.model.d.ts +7 -0
- package/lib/company/driving/finances/invoice-item.model.js +43 -0
- package/lib/company/driving/finances/invoice-item.model.js.map +1 -0
- package/lib/company/driving/finances/invoice.model.d.ts +14 -0
- package/lib/company/driving/finances/invoice.model.js +71 -0
- package/lib/company/driving/finances/invoice.model.js.map +1 -0
- package/lib/company/driving/finances/payment.model.d.ts +13 -0
- package/lib/company/driving/finances/payment.model.js +68 -0
- package/lib/company/driving/finances/payment.model.js.map +1 -0
- package/lib/company/driving/finances/refund.model.d.ts +8 -0
- package/lib/company/driving/finances/refund.model.js +44 -0
- package/lib/company/driving/finances/refund.model.js.map +1 -0
- package/lib/company/driving/index.d.ts +9 -0
- package/lib/company/driving/index.js +26 -0
- package/lib/company/driving/index.js.map +1 -0
- package/lib/company/driving/score.enum.d.ts +12 -0
- package/lib/company/driving/score.enum.js +18 -0
- package/lib/company/driving/score.enum.js.map +1 -0
- package/lib/company/driving/skill.model.d.ts +8 -0
- package/lib/company/driving/skill.model.js +47 -0
- package/lib/company/driving/skill.model.js.map +1 -0
- package/lib/company/driving/status.enum.d.ts +5 -0
- package/lib/company/driving/status.enum.js +10 -0
- package/lib/company/driving/status.enum.js.map +1 -0
- package/lib/company/driving/topic.model.d.ts +10 -0
- package/lib/company/driving/topic.model.js +54 -0
- package/lib/company/driving/topic.model.js.map +1 -0
- package/lib/company/driving/transmission.enum.d.ts +4 -0
- package/lib/company/driving/transmission.enum.js +9 -0
- package/lib/company/driving/transmission.enum.js.map +1 -0
- package/lib/company/event.model.d.ts +8 -0
- package/lib/company/event.model.js +49 -0
- package/lib/company/event.model.js.map +1 -0
- package/lib/company/finances/card.model.d.ts +10 -0
- package/lib/company/finances/card.model.js +55 -0
- package/lib/company/finances/card.model.js.map +1 -0
- package/lib/company/finances/credit.model.d.ts +9 -0
- package/lib/company/finances/credit.model.js +50 -0
- package/lib/company/finances/credit.model.js.map +1 -0
- package/lib/company/finances/expense-category.model.d.ts +5 -0
- package/lib/company/finances/expense-category.model.js +31 -0
- package/lib/company/finances/expense-category.model.js.map +1 -0
- package/lib/company/finances/expense.model.d.ts +11 -0
- package/lib/company/finances/expense.model.js +55 -0
- package/lib/company/finances/expense.model.js.map +1 -0
- package/lib/company/finances/finance.enum.d.ts +22 -0
- package/lib/company/finances/finance.enum.js +31 -0
- package/lib/company/finances/finance.enum.js.map +1 -0
- package/lib/company/finances/index.d.ts +5 -0
- package/lib/company/finances/index.js +22 -0
- package/lib/company/finances/index.js.map +1 -0
- package/lib/company/finances/payment.model.d.ts +7 -0
- package/lib/company/finances/payment.model.js +39 -0
- package/lib/company/finances/payment.model.js.map +1 -0
- package/lib/company/finances/priceplan.model.d.ts +19 -0
- package/lib/company/finances/priceplan.model.js +95 -0
- package/lib/company/finances/priceplan.model.js.map +1 -0
- package/lib/company/plan/index.d.ts +2 -0
- package/lib/company/plan/index.js +19 -0
- package/lib/company/plan/index.js.map +1 -0
- package/lib/company/plan/plan.enum.d.ts +9 -0
- package/lib/company/plan/plan.enum.js +15 -0
- package/lib/company/plan/plan.enum.js.map +1 -0
- package/lib/company/plan/plan.model.d.ts +16 -0
- package/lib/company/plan/plan.model.js +87 -0
- package/lib/company/plan/plan.model.js.map +1 -0
- package/lib/company/plan.enum.d.ts +9 -0
- package/lib/company/plan.enum.js +15 -0
- package/lib/company/plan.enum.js.map +1 -0
- package/lib/company/priceplan.model.d.ts +16 -0
- package/lib/company/priceplan.model.js +87 -0
- package/lib/company/priceplan.model.js.map +1 -0
- package/lib/company/setting.model.d.ts +10 -0
- package/lib/company/setting.model.js +52 -0
- package/lib/company/setting.model.js.map +1 -0
- package/lib/company/student/index.d.ts +1 -0
- package/lib/company/student/index.js +18 -0
- package/lib/company/student/index.js.map +1 -0
- package/lib/company/student/student.model.d.ts +10 -0
- package/lib/company/student/student.model.js +43 -0
- package/lib/company/student/student.model.js.map +1 -0
- package/lib/company/team/index.d.ts +2 -0
- package/lib/company/team/index.js +19 -0
- package/lib/company/team/index.js.map +1 -0
- package/lib/company/team/team.dto.d.ts +6 -0
- package/lib/company/team/team.dto.js +39 -0
- package/lib/company/team/team.dto.js.map +1 -0
- package/lib/company/team/user.model.d.ts +33 -0
- package/lib/company/team/user.model.js +104 -0
- package/lib/company/team/user.model.js.map +1 -0
- package/lib/company/team/user.status.enum.d.ts +5 -0
- package/lib/company/team/user.status.enum.js +10 -0
- package/lib/company/team/user.status.enum.js.map +1 -0
- package/lib/company/user.model.d.ts +25 -0
- package/lib/company/user.model.js +124 -0
- package/lib/company/user.model.js.map +1 -0
- package/lib/country/country.dto.d.ts +1 -1
- package/lib/country/country.dto.js +16 -14
- 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 +3 -2
- package/lib/course/dto.js +34 -11
- package/lib/course/dto.js.map +1 -1
- package/lib/course/index.d.ts +1 -0
- package/lib/course/index.js +1 -0
- package/lib/course/index.js.map +1 -1
- package/lib/course/types.d.ts +15 -0
- package/lib/course/types.js +22 -0
- package/lib/course/types.js.map +1 -0
- package/lib/currency/currency.dto.js +13 -11
- 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 +3 -2
- package/lib/discount/discount.model.js +2 -1
- 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 +1 -0
- package/lib/driving/index.js +1 -0
- package/lib/driving/index.js.map +1 -1
- package/lib/driving/lesson/index.d.ts +1 -0
- package/lib/driving/lesson/index.js +1 -0
- package/lib/driving/lesson/index.js.map +1 -1
- package/lib/driving/lesson/skill.d.ts +3 -2
- 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 +8 -7
- package/lib/driving/lesson/topic.dto.js.map +1 -1
- package/lib/driving/lesson/types.d.ts +15 -0
- package/lib/driving/lesson/types.js +21 -0
- package/lib/driving/lesson/types.js.map +1 -0
- package/lib/driving/types.d.ts +9 -0
- package/lib/driving/types.js +15 -0
- package/lib/driving/types.js.map +1 -0
- package/lib/enums/date.d.ts +9 -0
- package/lib/enums/date.js +14 -0
- package/lib/enums/date.js.map +1 -0
- package/lib/enums/finance.d.ts +22 -0
- package/lib/enums/finance.js +31 -0
- package/lib/enums/finance.js.map +1 -0
- package/lib/enums/index.d.ts +1 -0
- package/lib/enums/index.js +14 -0
- package/lib/enums/index.js.map +1 -0
- package/lib/enums/language.d.ts +6 -0
- package/lib/enums/language.js +11 -0
- package/lib/enums/language.js.map +1 -0
- package/lib/enums/notification.d.ts +11 -0
- package/lib/enums/notification.js +17 -0
- package/lib/enums/notification.js.map +1 -0
- package/lib/enums/plan.d.ts +9 -0
- package/lib/enums/plan.js +15 -0
- package/lib/enums/plan.js.map +1 -0
- package/lib/enums/role.d.ts +6 -0
- package/lib/enums/role.js +11 -0
- package/lib/enums/role.js.map +1 -0
- package/lib/enums/score.d.ts +12 -0
- package/lib/enums/score.js +18 -0
- package/lib/enums/score.js.map +1 -0
- package/lib/enums/training.d.ts +19 -0
- package/lib/enums/training.js +27 -0
- package/lib/enums/training.js.map +1 -0
- package/lib/event/event.dto.js +13 -9
- 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 +3 -2
- package/lib/expense/expense.dto.js +29 -14
- 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/expense.types.d.ts +5 -0
- package/lib/expense/expense.types.js +10 -0
- package/lib/expense/expense.types.js.map +1 -0
- package/lib/expense/index.d.ts +1 -0
- package/lib/expense/index.js +1 -0
- package/lib/expense/index.js.map +1 -1
- package/lib/finance/finance.dto.d.ts +9 -7
- package/lib/finance/finance.dto.js +131 -38
- package/lib/finance/finance.dto.js.map +1 -1
- package/lib/finance/finance.model.d.ts +5 -3
- package/lib/finance/finance.model.js +3 -1
- package/lib/finance/finance.model.js.map +1 -1
- package/lib/finance/finance.type.d.ts +21 -0
- package/lib/finance/finance.type.js +21 -0
- package/lib/finance/finance.type.js.map +1 -0
- package/lib/finance/handover.dto.d.ts +6 -0
- package/lib/finance/handover.dto.js +45 -0
- package/lib/finance/handover.dto.js.map +1 -0
- package/lib/finance/handover.model.d.ts +13 -0
- package/lib/finance/handover.model.js +65 -0
- package/lib/finance/handover.model.js.map +1 -0
- package/lib/finance/index.d.ts +1 -0
- package/lib/finance/index.js +1 -0
- 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/free-benefit.type.d.ts +4 -0
- package/lib/free-benefit/free-benefit.type.js +9 -0
- package/lib/free-benefit/free-benefit.type.js.map +1 -0
- package/lib/free-benefit/index.d.ts +1 -0
- package/lib/free-benefit/index.js +1 -0
- 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/handover.document.d.ts +5 -0
- package/lib/handover/handover.document.js +3 -0
- package/lib/handover/handover.document.js.map +1 -0
- package/lib/handover/index.d.ts +1 -0
- package/lib/handover/index.js +1 -0
- package/lib/handover/index.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/instructor/instructor.dto.d.ts +4 -2
- package/lib/instructor/instructor.dto.js +32 -12
- package/lib/instructor/instructor.dto.js.map +1 -1
- package/lib/instructor/instructor.model.d.ts +6 -3
- package/lib/instructor/instructor.model.js +8 -2
- package/lib/instructor/instructor.model.js.map +1 -1
- package/lib/invoice/index.d.ts +1 -0
- package/lib/invoice/index.js +1 -0
- package/lib/invoice/index.js.map +1 -1
- package/lib/invoice/invoice.dto.d.ts +2 -2
- package/lib/invoice/invoice.dto.js +9 -7
- package/lib/invoice/invoice.dto.js.map +1 -1
- package/lib/invoice/invoice.model.d.ts +3 -2
- package/lib/invoice/invoice.model.js +2 -1
- package/lib/invoice/invoice.model.js.map +1 -1
- package/lib/invoice/invoice.types.d.ts +6 -0
- package/lib/invoice/invoice.types.js +11 -0
- package/lib/invoice/invoice.types.js.map +1 -0
- package/lib/language/index.d.ts +1 -0
- package/lib/language/index.js +18 -0
- package/lib/language/index.js.map +1 -0
- package/lib/language/language.enum.d.ts +6 -0
- package/lib/language/language.enum.js +11 -0
- package/lib/language/language.enum.js.map +1 -0
- 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 +1 -0
- package/lib/log/index.js +1 -0
- 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/log/log.type.d.ts +9 -0
- package/lib/log/log.type.js +14 -0
- package/lib/log/log.type.js.map +1 -0
- package/lib/notification/index.d.ts +1 -0
- package/lib/notification/index.js +1 -0
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/notification-preference.model.d.ts +5 -0
- package/lib/notification/notification-preference.model.js +31 -0
- package/lib/notification/notification-preference.model.js.map +1 -0
- package/lib/notification/notification.channel.d.ts +6 -0
- package/lib/notification/notification.channel.js +11 -0
- package/lib/notification/notification.channel.js.map +1 -0
- package/lib/notification/notification.enum.d.ts +11 -0
- package/lib/notification/notification.enum.js +17 -0
- package/lib/notification/notification.enum.js.map +1 -0
- 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/notification/notification.types.d.ts +11 -0
- package/lib/notification/notification.types.js +17 -0
- package/lib/notification/notification.types.js.map +1 -0
- 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 +1 -0
- package/lib/payment/index.js +1 -0
- 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 +4 -2
- package/lib/payment/payment.model.js +3 -1
- package/lib/payment/payment.model.js.map +1 -1
- package/lib/payment/payment.types.d.ts +13 -0
- package/lib/payment/payment.types.js +20 -0
- package/lib/payment/payment.types.js.map +1 -0
- package/lib/payout/index.d.ts +1 -0
- package/lib/payout/index.js +1 -0
- 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/payout/payout.types.d.ts +4 -0
- package/lib/payout/payout.types.js +9 -0
- package/lib/payout/payout.types.js.map +1 -0
- package/lib/priceplan/index.d.ts +1 -0
- package/lib/priceplan/index.js +1 -0
- 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.enum.d.ts +23 -0
- package/lib/priceplan/plan.enum.js +29 -0
- package/lib/priceplan/plan.enum.js.map +1 -0
- 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/product/index.d.ts +3 -0
- package/lib/product/index.js +20 -0
- package/lib/product/index.js.map +1 -0
- package/lib/product/product.dto.d.ts +12 -0
- package/lib/product/product.dto.js +69 -0
- package/lib/product/product.dto.js.map +1 -0
- package/lib/product/product.model.d.ts +12 -0
- package/lib/product/product.model.js +61 -0
- package/lib/product/product.model.js.map +1 -0
- package/lib/product/product.type.d.ts +4 -0
- package/lib/product/product.type.js +9 -0
- package/lib/product/product.type.js.map +1 -0
- package/lib/public/user-agent.interface.d.ts +6 -0
- package/lib/public/user-agent.interface.js +3 -0
- package/lib/public/user-agent.interface.js.map +1 -0
- package/lib/refund/refund.dto.js +2 -2
- package/lib/refund/refund.dto.js.map +1 -1
- package/lib/refund/refund.model.d.ts +3 -2
- package/lib/refund/refund.model.js +2 -1
- package/lib/refund/refund.model.js.map +1 -1
- package/lib/security/account.types.d.ts +8 -0
- package/lib/security/account.types.js +13 -0
- package/lib/security/account.types.js.map +1 -0
- package/lib/security/acl.d.ts +6 -0
- package/lib/security/acl.js +11 -0
- package/lib/security/acl.js.map +1 -0
- package/lib/security/index.d.ts +4 -0
- package/lib/security/index.js +4 -0
- package/lib/security/index.js.map +1 -1
- package/lib/security/permissions.d.ts +9 -0
- package/lib/security/permissions.js +14 -0
- package/lib/security/permissions.js.map +1 -0
- 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/security/role.types.d.ts +41 -0
- package/lib/security/role.types.js +46 -0
- package/lib/security/role.types.js.map +1 -0
- package/lib/security/roles.d.ts +9 -0
- package/lib/security/roles.js +14 -0
- package/lib/security/roles.js.map +1 -0
- package/lib/security/token.interface.d.ts +7 -0
- package/lib/security/token.interface.js +3 -0
- package/lib/security/token.interface.js.map +1 -0
- package/lib/session/course/index.d.ts +1 -0
- package/lib/session/course/index.js +14 -0
- package/lib/session/course/index.js.map +1 -0
- package/lib/session/course/session.model.d.ts +8 -0
- package/lib/session/course/session.model.js +36 -0
- package/lib/session/course/session.model.js.map +1 -0
- package/lib/session/driving/appointment-assessment.d.ts +8 -0
- package/lib/session/driving/appointment-assessment.js +50 -0
- package/lib/session/driving/appointment-assessment.js.map +1 -0
- 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 +1 -0
- package/lib/setting/index.js +1 -0
- 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/setting/setting.type.d.ts +7 -0
- package/lib/setting/setting.type.js +12 -0
- package/lib/setting/setting.type.js.map +1 -0
- package/lib/student/course/appointment.model.d.ts +5 -0
- package/lib/student/course/appointment.model.js +32 -0
- package/lib/student/course/appointment.model.js.map +1 -0
- package/lib/student/course/index.d.ts +3 -0
- package/lib/student/course/index.js +20 -0
- package/lib/student/course/index.js.map +1 -0
- package/lib/student/course/request.model.d.ts +11 -0
- package/lib/student/course/request.model.js +62 -0
- package/lib/student/course/request.model.js.map +1 -0
- package/lib/student/course/training.model.d.ts +16 -0
- package/lib/student/course/training.model.js +92 -0
- package/lib/student/course/training.model.js.map +1 -0
- package/lib/student/driving/appointment-skill.model.d.ts +6 -0
- package/lib/student/driving/appointment-skill.model.js +32 -0
- package/lib/student/driving/appointment-skill.model.js.map +1 -0
- package/lib/student/driving/appointment-topic.model.d.ts +6 -0
- package/lib/student/driving/appointment-topic.model.js +32 -0
- package/lib/student/driving/appointment-topic.model.js.map +1 -0
- package/lib/student/driving/appointment.model.d.ts +12 -0
- package/lib/student/driving/appointment.model.js +67 -0
- package/lib/student/driving/appointment.model.js.map +1 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.d.ts +8 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js +40 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js.map +1 -0
- package/lib/student/driving/exam/exam.model.d.ts +11 -0
- package/lib/student/driving/exam/exam.model.js +50 -0
- package/lib/student/driving/exam/exam.model.js.map +1 -0
- package/lib/student/driving/exam/index.d.ts +2 -0
- package/lib/student/driving/exam/index.js +19 -0
- package/lib/student/driving/exam/index.js.map +1 -0
- package/lib/student/driving/index.d.ts +8 -0
- package/lib/student/driving/index.js +25 -0
- package/lib/student/driving/index.js.map +1 -0
- package/lib/student/driving/request.model.d.ts +13 -0
- package/lib/student/driving/request.model.js +73 -0
- package/lib/student/driving/request.model.js.map +1 -0
- package/lib/student/driving/skill.model.d.ts +6 -0
- package/lib/student/driving/skill.model.js +32 -0
- package/lib/student/driving/skill.model.js.map +1 -0
- package/lib/student/driving/topic.model.d.ts +7 -0
- package/lib/student/driving/topic.model.js +38 -0
- package/lib/student/driving/topic.model.js.map +1 -0
- package/lib/student/driving/training.model.d.ts +23 -0
- package/lib/student/driving/training.model.js +131 -0
- package/lib/student/driving/training.model.js.map +1 -0
- package/lib/student/signature.model.d.ts +7 -0
- package/lib/student/signature.model.js +42 -0
- package/lib/student/signature.model.js.map +1 -0
- package/lib/student/student.dto.js +8 -6
- package/lib/student/student.dto.js.map +1 -1
- package/lib/student/student.model.d.ts +3 -2
- package/lib/student/student.model.js +2 -1
- package/lib/student/student.model.js.map +1 -1
- package/lib/support/index.d.ts +1 -0
- package/lib/support/index.js +18 -0
- package/lib/support/index.js.map +1 -0
- package/lib/support/request.dto.d.ts +5 -0
- package/lib/support/request.dto.js +39 -0
- package/lib/support/request.dto.js.map +1 -0
- package/lib/system/country.model.d.ts +15 -0
- package/lib/system/country.model.js +75 -0
- package/lib/system/country.model.js.map +1 -0
- package/lib/system/driving/category.model.d.ts +12 -0
- package/lib/system/driving/category.model.js +66 -0
- package/lib/system/driving/category.model.js.map +1 -0
- package/lib/system/driving/category.trans.model.d.ts +8 -0
- package/lib/system/driving/category.trans.model.js +42 -0
- package/lib/system/driving/category.trans.model.js.map +1 -0
- package/lib/system/driving/index.d.ts +6 -0
- package/lib/system/driving/index.js +23 -0
- package/lib/system/driving/index.js.map +1 -0
- package/lib/system/driving/skill.model.d.ts +11 -0
- package/lib/system/driving/skill.model.js +61 -0
- package/lib/system/driving/skill.model.js.map +1 -0
- package/lib/system/driving/skill.trans.model.d.ts +9 -0
- package/lib/system/driving/skill.trans.model.js +48 -0
- package/lib/system/driving/skill.trans.model.js.map +1 -0
- package/lib/system/driving/topic.model.d.ts +10 -0
- package/lib/system/driving/topic.model.js +55 -0
- package/lib/system/driving/topic.model.js.map +1 -0
- package/lib/system/driving/topic.trans.model.d.ts +8 -0
- package/lib/system/driving/topic.trans.model.js +42 -0
- package/lib/system/driving/topic.trans.model.js.map +1 -0
- package/lib/system/finances/currency.model.d.ts +9 -0
- package/lib/system/finances/currency.model.js +53 -0
- package/lib/system/finances/currency.model.js.map +1 -0
- package/lib/system/finances/index.d.ts +3 -0
- package/lib/system/finances/index.js +20 -0
- package/lib/system/finances/index.js.map +1 -0
- package/lib/system/finances/priceplan.model.d.ts +13 -0
- package/lib/system/finances/priceplan.model.js +67 -0
- package/lib/system/finances/priceplan.model.js.map +1 -0
- package/lib/system/finances/priceplan.translation.d.ts +8 -0
- package/lib/system/finances/priceplan.translation.js +42 -0
- package/lib/system/finances/priceplan.translation.js.map +1 -0
- package/lib/system/index.d.ts +3 -0
- package/lib/system/index.js +20 -0
- package/lib/system/index.js.map +1 -0
- 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 +1 -0
- package/lib/ticket/index.js +1 -0
- 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.enum.d.ts +5 -0
- package/lib/ticket/ticket.enum.js +10 -0
- package/lib/ticket/ticket.enum.js.map +1 -0
- 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 +1 -0
- package/lib/training/index.js +1 -0
- 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 +3 -2
- package/lib/training/request.model.js +2 -1
- package/lib/training/request.model.js.map +1 -1
- package/lib/training/training.dto.d.ts +6 -5
- package/lib/training/training.dto.js +80 -25
- package/lib/training/training.dto.js.map +1 -1
- package/lib/training/training.model.d.ts +3 -2
- package/lib/training/training.model.js +7 -6
- package/lib/training/training.model.js.map +1 -1
- package/lib/training/training.types.d.ts +15 -0
- package/lib/training/training.types.js +22 -0
- package/lib/training/training.types.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/support.type.d.ts +1 -0
- package/lib/types/support.type.js +1 -0
- package/lib/types/support.type.js.map +1 -1
- package/lib/user/biometric.dto.d.ts +3 -0
- package/lib/user/biometric.dto.js +25 -0
- package/lib/user/biometric.dto.js.map +1 -0
- package/lib/user/email.dto.d.ts +4 -0
- package/lib/user/email.dto.js +32 -0
- package/lib/user/email.dto.js.map +1 -0
- package/lib/user/index.d.ts +1 -0
- package/lib/user/index.js +1 -0
- package/lib/user/index.js.map +1 -1
- package/lib/user/notification/index.d.ts +3 -0
- package/lib/user/notification/index.js +20 -0
- package/lib/user/notification/index.js.map +1 -0
- package/lib/user/notification/notification-preference.model.d.ts +5 -0
- package/lib/user/notification/notification-preference.model.js +31 -0
- package/lib/user/notification/notification-preference.model.js.map +1 -0
- package/lib/user/notification/notification.enum.d.ts +11 -0
- package/lib/user/notification/notification.enum.js +17 -0
- package/lib/user/notification/notification.enum.js.map +1 -0
- package/lib/user/notification/notification.model.d.ts +10 -0
- package/lib/user/notification/notification.model.js +53 -0
- package/lib/user/notification/notification.model.js.map +1 -0
- package/lib/user/phone.dto.d.ts +4 -0
- package/lib/user/phone.dto.js +32 -0
- package/lib/user/phone.dto.js.map +1 -0
- package/lib/user/profile.dto.d.ts +2 -1
- package/lib/user/profile.dto.js +5 -8
- package/lib/user/profile.dto.js.map +1 -1
- package/lib/user/profile.type.d.ts +10 -0
- package/lib/user/profile.type.js +15 -0
- package/lib/user/profile.type.js.map +1 -0
- package/lib/user/sign.dto.d.ts +5 -0
- package/lib/user/sign.dto.js +38 -0
- package/lib/user/sign.dto.js.map +1 -0
- package/lib/user/user.device.model.d.ts +8 -0
- package/lib/user/user.device.model.js +46 -0
- package/lib/user/user.device.model.js.map +1 -0
- package/lib/user/user.model.d.ts +3 -1
- package/lib/user/user.model.js +4 -2
- 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/date.helper.d.ts +1 -2
- package/lib/utils/date.helper.js +20 -20
- package/lib/utils/date.helper.js.map +1 -1
- package/lib/utils/index.d.ts +0 -3
- package/lib/utils/index.js +0 -3
- package/lib/utils/index.js.map +1 -1
- package/lib/validators/compare.validator.d.ts +9 -0
- package/lib/validators/compare.validator.js +34 -0
- package/lib/validators/compare.validator.js.map +1 -0
- package/lib/validators/index.d.ts +2 -0
- package/lib/validators/index.js +19 -0
- package/lib/validators/index.js.map +1 -0
- package/lib/validators/required.validator.d.ts +21 -0
- package/lib/validators/required.validator.js +95 -0
- package/lib/validators/required.validator.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricePlanModel = exports.PricePlanPeriod = void 0;
|
|
4
|
+
var PricePlanPeriod;
|
|
5
|
+
(function (PricePlanPeriod) {
|
|
6
|
+
PricePlanPeriod["Monthly"] = "MONTHLY";
|
|
7
|
+
PricePlanPeriod["Yearly"] = "YEARLY";
|
|
8
|
+
})(PricePlanPeriod = exports.PricePlanPeriod || (exports.PricePlanPeriod = {}));
|
|
9
|
+
var PricePlanModel;
|
|
10
|
+
(function (PricePlanModel) {
|
|
11
|
+
PricePlanModel["Growth"] = "GROWTH";
|
|
12
|
+
PricePlanModel["Business"] = "BUSINESS";
|
|
13
|
+
PricePlanModel["Premium"] = "PREMIUM";
|
|
14
|
+
})(PricePlanModel = exports.PricePlanModel || (exports.PricePlanModel = {}));
|
|
15
|
+
//# sourceMappingURL=plan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../../src/enums/plan.ts"],"names":[],"mappings":";;;AACA,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Role = void 0;
|
|
4
|
+
var Role;
|
|
5
|
+
(function (Role) {
|
|
6
|
+
Role["CompanyOwner"] = "company.owner";
|
|
7
|
+
Role["CompanyManager"] = "company.manager";
|
|
8
|
+
Role["Instructor"] = "instructor";
|
|
9
|
+
Role["Student"] = "student";
|
|
10
|
+
})(Role || (exports.Role = Role = {}));
|
|
11
|
+
//# sourceMappingURL=role.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../../src/enums/role.ts"],"names":[],"mappings":";;;AACA,IAAY,IAKX;AALD,WAAY,IAAI;IACf,sCAA8B,CAAA;IAC9B,0CAAkC,CAAA;IAClC,iCAAyB,CAAA;IACzB,2BAAmB,CAAA;AACpB,CAAC,EALW,IAAI,oBAAJ,IAAI,QAKf"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DrivingTopicStatus = exports.DrivingSkillScore = void 0;
|
|
4
|
+
var DrivingSkillScore;
|
|
5
|
+
(function (DrivingSkillScore) {
|
|
6
|
+
DrivingSkillScore[DrivingSkillScore["Poor"] = 1] = "Poor";
|
|
7
|
+
DrivingSkillScore[DrivingSkillScore["Weak"] = 2] = "Weak";
|
|
8
|
+
DrivingSkillScore[DrivingSkillScore["Fair"] = 3] = "Fair";
|
|
9
|
+
DrivingSkillScore[DrivingSkillScore["Great"] = 4] = "Great";
|
|
10
|
+
DrivingSkillScore[DrivingSkillScore["Excellent"] = 5] = "Excellent";
|
|
11
|
+
})(DrivingSkillScore = exports.DrivingSkillScore || (exports.DrivingSkillScore = {}));
|
|
12
|
+
var DrivingTopicStatus;
|
|
13
|
+
(function (DrivingTopicStatus) {
|
|
14
|
+
DrivingTopicStatus["Planned"] = "PLANNED";
|
|
15
|
+
DrivingTopicStatus["InProgress"] = "INPROGRESS";
|
|
16
|
+
DrivingTopicStatus["Completed"] = "COMPLETED";
|
|
17
|
+
})(DrivingTopicStatus = exports.DrivingTopicStatus || (exports.DrivingTopicStatus = {}));
|
|
18
|
+
//# sourceMappingURL=score.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"score.js","sourceRoot":"","sources":["../../src/enums/score.ts"],"names":[],"mappings":";;;AACA,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC5B,yDAAQ,CAAA;IACR,yDAAQ,CAAA;IACR,yDAAQ,CAAA;IACR,2DAAS,CAAA;IACT,mEAAa,CAAA;AACd,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;AACxB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum DrivingExamStatus {
|
|
2
|
+
Undecided = "UNDECIDED",
|
|
3
|
+
Passed = "PASSED",
|
|
4
|
+
Failed = "FAILED"
|
|
5
|
+
}
|
|
6
|
+
export declare enum DrivingAppointmentType {
|
|
7
|
+
Lesson = "LESSON",
|
|
8
|
+
Exam = "EXAM"
|
|
9
|
+
}
|
|
10
|
+
export declare enum CarTransmission {
|
|
11
|
+
Automatic = "AUTOMATIC",
|
|
12
|
+
Manual = "MANUAL"
|
|
13
|
+
}
|
|
14
|
+
export declare enum TrainingRequestStatus {
|
|
15
|
+
Pending = "PENDING",
|
|
16
|
+
Accepted = "ACCEPTED",
|
|
17
|
+
Rejected = "REJECTED",
|
|
18
|
+
Canceled = "CANCELED"
|
|
19
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrainingRequestStatus = exports.CarTransmission = exports.DrivingAppointmentType = exports.DrivingExamStatus = void 0;
|
|
4
|
+
var DrivingExamStatus;
|
|
5
|
+
(function (DrivingExamStatus) {
|
|
6
|
+
DrivingExamStatus["Undecided"] = "UNDECIDED";
|
|
7
|
+
DrivingExamStatus["Passed"] = "PASSED";
|
|
8
|
+
DrivingExamStatus["Failed"] = "FAILED";
|
|
9
|
+
})(DrivingExamStatus = exports.DrivingExamStatus || (exports.DrivingExamStatus = {}));
|
|
10
|
+
var DrivingAppointmentType;
|
|
11
|
+
(function (DrivingAppointmentType) {
|
|
12
|
+
DrivingAppointmentType["Lesson"] = "LESSON";
|
|
13
|
+
DrivingAppointmentType["Exam"] = "EXAM";
|
|
14
|
+
})(DrivingAppointmentType = exports.DrivingAppointmentType || (exports.DrivingAppointmentType = {}));
|
|
15
|
+
var CarTransmission;
|
|
16
|
+
(function (CarTransmission) {
|
|
17
|
+
CarTransmission["Automatic"] = "AUTOMATIC";
|
|
18
|
+
CarTransmission["Manual"] = "MANUAL";
|
|
19
|
+
})(CarTransmission = exports.CarTransmission || (exports.CarTransmission = {}));
|
|
20
|
+
var TrainingRequestStatus;
|
|
21
|
+
(function (TrainingRequestStatus) {
|
|
22
|
+
TrainingRequestStatus["Pending"] = "PENDING";
|
|
23
|
+
TrainingRequestStatus["Accepted"] = "ACCEPTED";
|
|
24
|
+
TrainingRequestStatus["Rejected"] = "REJECTED";
|
|
25
|
+
TrainingRequestStatus["Canceled"] = "CANCELED";
|
|
26
|
+
})(TrainingRequestStatus = exports.TrainingRequestStatus || (exports.TrainingRequestStatus = {}));
|
|
27
|
+
//# sourceMappingURL=training.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"training.js","sourceRoot":"","sources":["../../src/enums/training.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,uCAAa,CAAA;AACd,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
|
package/lib/event/event.dto.js
CHANGED
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.TaskFilterDto = exports.TaskUpdateDto = exports.TaskCreateDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const
|
|
15
|
-
const utils_2 = require("../utils");
|
|
15
|
+
const validators_1 = require("../validators");
|
|
16
16
|
class TaskCreateDto {
|
|
17
17
|
instructorId;
|
|
18
18
|
title;
|
|
@@ -30,14 +30,14 @@ __decorate([
|
|
|
30
30
|
], TaskCreateDto.prototype, "instructorId", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
-
(0,
|
|
33
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
34
34
|
(0, class_validator_1.IsString)(),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], TaskCreateDto.prototype, "title", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, class_validator_1.IsNotEmpty)(),
|
|
39
39
|
(0, class_validator_1.IsDate)(),
|
|
40
|
-
(0, class_validator_1.Validate)(
|
|
40
|
+
(0, class_validator_1.Validate)(validators_1.CompareWithEndDate),
|
|
41
41
|
__metadata("design:type", Date)
|
|
42
42
|
], TaskCreateDto.prototype, "startDate", void 0);
|
|
43
43
|
__decorate([
|
|
@@ -71,14 +71,14 @@ __decorate([
|
|
|
71
71
|
], TaskUpdateDto.prototype, "instructorId", void 0);
|
|
72
72
|
__decorate([
|
|
73
73
|
(0, class_validator_1.IsNotEmpty)(),
|
|
74
|
-
(0,
|
|
74
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
75
75
|
(0, class_validator_1.IsString)(),
|
|
76
76
|
__metadata("design:type", String)
|
|
77
77
|
], TaskUpdateDto.prototype, "title", void 0);
|
|
78
78
|
__decorate([
|
|
79
79
|
(0, class_validator_1.IsNotEmpty)(),
|
|
80
80
|
(0, class_validator_1.IsDate)(),
|
|
81
|
-
(0, class_validator_1.Validate)(
|
|
81
|
+
(0, class_validator_1.Validate)(validators_1.CompareWithEndDate),
|
|
82
82
|
__metadata("design:type", Date)
|
|
83
83
|
], TaskUpdateDto.prototype, "startDate", void 0);
|
|
84
84
|
__decorate([
|
|
@@ -107,21 +107,25 @@ class TaskFilterDto {
|
|
|
107
107
|
exports.TaskFilterDto = TaskFilterDto;
|
|
108
108
|
__decorate([
|
|
109
109
|
(0, class_validator_1.IsOptional)(),
|
|
110
|
-
(0,
|
|
110
|
+
(0, class_transformer_1.Transform)(({ value }) => value
|
|
111
|
+
? Array.isArray(value)
|
|
112
|
+
? value.map(v => +v)
|
|
113
|
+
: [+value]
|
|
114
|
+
: undefined),
|
|
111
115
|
(0, class_validator_1.IsArray)(),
|
|
112
116
|
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
113
117
|
__metadata("design:type", Array)
|
|
114
118
|
], TaskFilterDto.prototype, "instructors", void 0);
|
|
115
119
|
__decorate([
|
|
116
120
|
(0, class_validator_1.IsOptional)(),
|
|
117
|
-
(0,
|
|
121
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
118
122
|
(0, class_validator_1.IsString)(),
|
|
119
123
|
__metadata("design:type", String)
|
|
120
124
|
], TaskFilterDto.prototype, "title", void 0);
|
|
121
125
|
__decorate([
|
|
122
126
|
(0, class_validator_1.IsNotEmpty)(),
|
|
123
127
|
(0, class_validator_1.IsDate)(),
|
|
124
|
-
(0, class_validator_1.Validate)(
|
|
128
|
+
(0, class_validator_1.Validate)(validators_1.CompareWithEndDate),
|
|
125
129
|
__metadata("design:type", Date)
|
|
126
130
|
], TaskFilterDto.prototype, "startDate", void 0);
|
|
127
131
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.dto.js","sourceRoot":"","sources":["../../src/event/event.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwH;AACxH,
|
|
1
|
+
{"version":3,"file":"event.dto.js","sourceRoot":"","sources":["../../src/event/event.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAwH;AACxH,8CAAmD;AAEnD,MAAa,aAAa;IAIzB,YAAY,CAAS;IAKrB,KAAK,CAAS;IAKd,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,MAAM,CAAU;IAIhB,IAAI,CAAU;CACd;AA3BD,sCA2BC;AAvBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;mDACc;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,0BAAQ,GAAE;;4CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAQ,EAAC,+BAAkB,CAAC;8BAClB,IAAI;gDAAC;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACA,IAAI;8CAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;6CACI;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2CACE;AAGf,MAAa,aAAa;IAGzB,YAAY,CAAS;IAKrB,KAAK,CAAS;IAKd,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,MAAM,CAAU;IAIhB,IAAI,CAAU;CACd;AA1BD,sCA0BC;AAvBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,0BAAQ,GAAE;;4CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAQ,EAAC,+BAAkB,CAAC;8BAClB,IAAI;gDAAC;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACA,IAAI;8CAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;6CACI;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2CACE;AAGf,MAAa,aAAa;IAWzB,WAAW,CAAW;IAKtB,KAAK,CAAS;IAKd,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,MAAM,CAAU;IAIhB,IAAI,CAAU;CACd;AAlCD,sCAkCC;AAvBA;IAVC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACxB,KAAK;QACJ,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;YACrB,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YACpB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QACX,CAAC,CAAC,SAAS,CACZ;IACA,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACP;AAKtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,0BAAQ,GAAE;;4CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAQ,EAAC,+BAAkB,CAAC;8BAClB,IAAI;gDAAC;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACA,IAAI;8CAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;6CACI;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2CACE"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum AgentAccountEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Agent account is created
|
|
4
|
+
* @author Auth User
|
|
5
|
+
* @fires Log user for auditing purposes
|
|
6
|
+
* @fires Log agent for auditing purposes
|
|
7
|
+
* @fires Log system log for auditing purposes
|
|
8
|
+
* @param AgentEntity Event author
|
|
9
|
+
*/
|
|
10
|
+
Created = "agent.account.created",
|
|
11
|
+
/**
|
|
12
|
+
* Agent account is completed
|
|
13
|
+
* @author Auth User
|
|
14
|
+
* @fires Log agent for auditing purposes
|
|
15
|
+
* @param AgentEntity Event author
|
|
16
|
+
*/
|
|
17
|
+
Completed = "agent.account.completed",
|
|
18
|
+
/**
|
|
19
|
+
* Agent account is closed
|
|
20
|
+
* @author Auth User
|
|
21
|
+
* @fires Log user for auditing purposes
|
|
22
|
+
* @fires Log agent for auditing purposes
|
|
23
|
+
* @fires Log System log for auditing purposes
|
|
24
|
+
* @param AgentEntity Event author
|
|
25
|
+
*/
|
|
26
|
+
Closed = "agent.account.closed"
|
|
27
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentAccountEvents = void 0;
|
|
4
|
+
var AgentAccountEvents;
|
|
5
|
+
(function (AgentAccountEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Agent account is created
|
|
8
|
+
* @author Auth User
|
|
9
|
+
* @fires Log user for auditing purposes
|
|
10
|
+
* @fires Log agent for auditing purposes
|
|
11
|
+
* @fires Log system log for auditing purposes
|
|
12
|
+
* @param AgentEntity Event author
|
|
13
|
+
*/
|
|
14
|
+
AgentAccountEvents["Created"] = "agent.account.created";
|
|
15
|
+
/**
|
|
16
|
+
* Agent account is completed
|
|
17
|
+
* @author Auth User
|
|
18
|
+
* @fires Log agent for auditing purposes
|
|
19
|
+
* @param AgentEntity Event author
|
|
20
|
+
*/
|
|
21
|
+
AgentAccountEvents["Completed"] = "agent.account.completed";
|
|
22
|
+
/**
|
|
23
|
+
* Agent account is closed
|
|
24
|
+
* @author Auth User
|
|
25
|
+
* @fires Log user for auditing purposes
|
|
26
|
+
* @fires Log agent for auditing purposes
|
|
27
|
+
* @fires Log System log for auditing purposes
|
|
28
|
+
* @param AgentEntity Event author
|
|
29
|
+
*/
|
|
30
|
+
AgentAccountEvents["Closed"] = "agent.account.closed";
|
|
31
|
+
})(AgentAccountEvents || (exports.AgentAccountEvents = AgentAccountEvents = {}));
|
|
32
|
+
//# sourceMappingURL=account.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.events.js","sourceRoot":"","sources":["../../../src/events/agent/account.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBA6BX;AA7BD,WAAY,kBAAkB;IAE7B;;;;;;;OAOG;IACH,uDAAiC,CAAA;IAEjC;;;;;OAKG;IACH,2DAAqC,CAAA;IAErC;;;;;;;OAOG;IACH,qDAA+B,CAAA;AAChC,CAAC,EA7BW,kBAAkB,kCAAlB,kBAAkB,QA6B7B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare enum AgentPayoutEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Agent promotion profit is registered
|
|
4
|
+
* @author System/Job
|
|
5
|
+
* @fires Log staff for auditing purposes
|
|
6
|
+
* @fires Log agent for auditing purposes
|
|
7
|
+
* @fires Log system for auditing purposes
|
|
8
|
+
* @param AgentPromotionEntity Agent promotion
|
|
9
|
+
*/
|
|
10
|
+
ProfitRegistred = "agent.payout.profitRegistered",
|
|
11
|
+
/**
|
|
12
|
+
* Agent payout is settled
|
|
13
|
+
* @author Staff
|
|
14
|
+
* @fires Log agent for auditing purposes
|
|
15
|
+
* @fires Log system for auditing purposes
|
|
16
|
+
* @param AgentPayoutEntity Agent whose earnings are settled
|
|
17
|
+
* @param StaffEntity Event author
|
|
18
|
+
*/
|
|
19
|
+
PaymentSettled = "agent.payout.paymentSettled",
|
|
20
|
+
/**
|
|
21
|
+
* Agent payout is paid
|
|
22
|
+
* @author Staff
|
|
23
|
+
* @fires Log agent for auditing purposes
|
|
24
|
+
* @fires Log system for auditing purposes
|
|
25
|
+
* @param AgentPayoutEntity Paid agent
|
|
26
|
+
* @param StaffEntity Event author
|
|
27
|
+
*/
|
|
28
|
+
PaymentPaid = "agent.payout.paymentPaid"
|
|
29
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentPayoutEvents = void 0;
|
|
4
|
+
var AgentPayoutEvents;
|
|
5
|
+
(function (AgentPayoutEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Agent promotion profit is registered
|
|
8
|
+
* @author System/Job
|
|
9
|
+
* @fires Log staff for auditing purposes
|
|
10
|
+
* @fires Log agent for auditing purposes
|
|
11
|
+
* @fires Log system for auditing purposes
|
|
12
|
+
* @param AgentPromotionEntity Agent promotion
|
|
13
|
+
*/
|
|
14
|
+
AgentPayoutEvents["ProfitRegistred"] = "agent.payout.profitRegistered";
|
|
15
|
+
/**
|
|
16
|
+
* Agent payout is settled
|
|
17
|
+
* @author Staff
|
|
18
|
+
* @fires Log agent for auditing purposes
|
|
19
|
+
* @fires Log system for auditing purposes
|
|
20
|
+
* @param AgentPayoutEntity Agent whose earnings are settled
|
|
21
|
+
* @param StaffEntity Event author
|
|
22
|
+
*/
|
|
23
|
+
AgentPayoutEvents["PaymentSettled"] = "agent.payout.paymentSettled";
|
|
24
|
+
/**
|
|
25
|
+
* Agent payout is paid
|
|
26
|
+
* @author Staff
|
|
27
|
+
* @fires Log agent for auditing purposes
|
|
28
|
+
* @fires Log system for auditing purposes
|
|
29
|
+
* @param AgentPayoutEntity Paid agent
|
|
30
|
+
* @param StaffEntity Event author
|
|
31
|
+
*/
|
|
32
|
+
AgentPayoutEvents["PaymentPaid"] = "agent.payout.paymentPaid";
|
|
33
|
+
})(AgentPayoutEvents || (exports.AgentPayoutEvents = AgentPayoutEvents = {}));
|
|
34
|
+
//# sourceMappingURL=payout.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payout.events.js","sourceRoot":"","sources":["../../../src/events/agent/payout.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBA+BX;AA/BD,WAAY,iBAAiB;IAE5B;;;;;;;OAOG;IACH,sEAAiD,CAAA;IAEjD;;;;;;;OAOG;IACH,mEAA8C,CAAA;IAE9C;;;;;;;OAOG;IACH,6DAAwC,CAAA;AACzC,CAAC,EA/BW,iBAAiB,iCAAjB,iBAAiB,QA+B5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum AgentProfileEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Agent submits his bank account
|
|
4
|
+
* @author Auth User
|
|
5
|
+
* @fires Log agent for auditing purposes
|
|
6
|
+
* @fires Log system for auditing purposes
|
|
7
|
+
* @param AgentEntity Event author
|
|
8
|
+
*/
|
|
9
|
+
BankAccountSubmitted = "agent.profile.bankAccountSubmitted",
|
|
10
|
+
/**
|
|
11
|
+
* Agent deletes his bank account
|
|
12
|
+
* @author Auth User
|
|
13
|
+
* @fires Log agent for auditing purposes
|
|
14
|
+
* @fires Log system for auditing purposes
|
|
15
|
+
* @param AgentEntity Event author
|
|
16
|
+
*/
|
|
17
|
+
BankAccountDeleted = "agent.profile.bankAccountDeleted"
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentProfileEvents = void 0;
|
|
4
|
+
var AgentProfileEvents;
|
|
5
|
+
(function (AgentProfileEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Agent submits his bank account
|
|
8
|
+
* @author Auth User
|
|
9
|
+
* @fires Log agent for auditing purposes
|
|
10
|
+
* @fires Log system for auditing purposes
|
|
11
|
+
* @param AgentEntity Event author
|
|
12
|
+
*/
|
|
13
|
+
AgentProfileEvents["BankAccountSubmitted"] = "agent.profile.bankAccountSubmitted";
|
|
14
|
+
/**
|
|
15
|
+
* Agent deletes his bank account
|
|
16
|
+
* @author Auth User
|
|
17
|
+
* @fires Log agent for auditing purposes
|
|
18
|
+
* @fires Log system for auditing purposes
|
|
19
|
+
* @param AgentEntity Event author
|
|
20
|
+
*/
|
|
21
|
+
AgentProfileEvents["BankAccountDeleted"] = "agent.profile.bankAccountDeleted";
|
|
22
|
+
})(AgentProfileEvents || (exports.AgentProfileEvents = AgentProfileEvents = {}));
|
|
23
|
+
//# sourceMappingURL=profile.events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.events.js","sourceRoot":"","sources":["../../../src/events/agent/profile.events.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAmBX;AAnBD,WAAY,kBAAkB;IAE7B;;;;;;OAMG;IACH,iFAA2D,CAAA;IAE3D;;;;;;OAMG;IACH,6EAAuD,CAAA;AACxD,CAAC,EAnBW,kBAAkB,kCAAlB,kBAAkB,QAmB7B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare enum AgentPromotionEvents {
|
|
2
|
+
/**
|
|
3
|
+
* Agent promotion code is registered (by company)
|
|
4
|
+
* @author Company Owner
|
|
5
|
+
* @fires Instructor (owner) log for auditing purposes
|
|
6
|
+
* @fires Log company for auditing purposes
|
|
7
|
+
* @fires Log agent for auditing purposes
|
|
8
|
+
* @fires Log system for auditing purposes
|
|
9
|
+
* @fires Notify agent about the promotion code registration
|
|
10
|
+
* @param CompanyEntity Effected company
|
|
11
|
+
*/
|
|
12
|
+
Registred = "agent.promotion.registred",
|
|
13
|
+
/**
|
|
14
|
+
* Agent promotion has started
|
|
15
|
+
* @author System/Job
|
|
16
|
+
* @fires Log agent for auditing purposes
|
|
17
|
+
* @fires Log system for auditing purposes
|
|
18
|
+
* @fires Notify agent about the promotion start
|
|
19
|
+
* @param CompanyEntity Effected company
|
|
20
|
+
*/
|
|
21
|
+
Started = "agent.promotion.started",
|
|
22
|
+
/**
|
|
23
|
+
* Agent promotion has ended
|
|
24
|
+
* @author System/Job
|
|
25
|
+
* @fires Log agent for auditing purposes
|
|
26
|
+
* @fires Log company for auditing purposes
|
|
27
|
+
* @fires Log system for auditing purposes
|
|
28
|
+
* @fires Notify agent about the promotion end
|
|
29
|
+
* @param CompanyEntity Effected company
|
|
30
|
+
*/
|
|
31
|
+
Ended = "agent.promotion.ended",
|
|
32
|
+
/**
|
|
33
|
+
* Agent promotion is closed due to company closure
|
|
34
|
+
* @author Company Owner
|
|
35
|
+
* @fires Log agent for auditing purposes
|
|
36
|
+
* @fires Log company for auditing purposes
|
|
37
|
+
* @fires Log system for auditing purposes
|
|
38
|
+
* @fires Notify agent about the promotion closure
|
|
39
|
+
* @param CompanyEntity Effected company
|
|
40
|
+
*/
|
|
41
|
+
Closed = "agent.promotion.closed"
|
|
42
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentPromotionEvents = void 0;
|
|
4
|
+
var AgentPromotionEvents;
|
|
5
|
+
(function (AgentPromotionEvents) {
|
|
6
|
+
/**
|
|
7
|
+
* Agent promotion code is registered (by company)
|
|
8
|
+
* @author Company Owner
|
|
9
|
+
* @fires Instructor (owner) log for auditing purposes
|
|
10
|
+
* @fires Log company for auditing purposes
|
|
11
|
+
* @fires Log agent for auditing purposes
|
|
12
|
+
* @fires Log system for auditing purposes
|
|
13
|
+
* @fires Notify agent about the promotion code registration
|
|
14
|
+
* @param CompanyEntity Effected company
|
|
15
|
+
*/
|
|
16
|
+
AgentPromotionEvents["Registred"] = "agent.promotion.registred";
|
|
17
|
+
/**
|
|
18
|
+
* Agent promotion has started
|
|
19
|
+
* @author System/Job
|
|
20
|
+
* @fires Log agent for auditing purposes
|
|
21
|
+
* @fires Log system for auditing purposes
|
|
22
|
+
* @fires Notify agent about the promotion start
|
|
23
|
+
* @param CompanyEntity Effected company
|
|
24
|
+
*/
|
|
25
|
+
AgentPromotionEvents["Started"] = "agent.promotion.started";
|
|
26
|
+
/**
|
|
27
|
+
* Agent promotion has ended
|
|
28
|
+
* @author System/Job
|
|
29
|
+
* @fires Log agent for auditing purposes
|
|
30
|
+
* @fires Log company for auditing purposes
|
|
31
|
+
* @fires Log system for auditing purposes
|
|
32
|
+
* @fires Notify agent about the promotion end
|
|
33
|
+
* @param CompanyEntity Effected company
|
|
34
|
+
*/
|
|
35
|
+
AgentPromotionEvents["Ended"] = "agent.promotion.ended";
|
|
36
|
+
/**
|
|
37
|
+
* Agent promotion is closed due to company closure
|
|
38
|
+
* @author Company Owner
|
|
39
|
+
* @fires Log agent for auditing purposes
|
|
40
|
+
* @fires Log company for auditing purposes
|
|
41
|
+
* @fires Log system for auditing purposes
|
|
42
|
+
* @fires Notify agent about the promotion closure
|
|
43
|
+
* @param CompanyEntity Effected company
|
|
44
|
+
*/
|
|
45
|
+
AgentPromotionEvents["Closed"] = "agent.promotion.closed";
|
|
46
|
+
})(AgentPromotionEvents || (exports.AgentPromotionEvents = AgentPromotionEvents = {}));
|
|
47
|
+
//# sourceMappingURL=promotion.events.js.map
|
|
@@ -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"}
|