@intelact/driveup 1.4.44 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/agent/agent.dto.js +2 -10
- package/lib/agent/agent.dto.js.map +1 -1
- package/lib/agent/agent.model.d.ts +1 -1
- package/lib/agent/agent.model.js +1 -1
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/agent/index.d.ts +0 -2
- package/lib/agent/index.js +0 -2
- package/lib/agent/index.js.map +1 -1
- package/lib/alert/alert.model.d.ts +3 -5
- package/lib/alert/alert.model.js +1 -3
- package/lib/alert/alert.model.js.map +1 -1
- package/lib/alert/index.d.ts +0 -1
- package/lib/alert/index.js +0 -1
- package/lib/alert/index.js.map +1 -1
- package/lib/auth/signin.dto.js +3 -3
- package/lib/auth/signin.dto.js.map +1 -1
- package/lib/auth/signup.dto.js +3 -3
- package/lib/auth/signup.dto.js.map +1 -1
- package/lib/bank/account.model.js +6 -4
- package/lib/bank/account.model.js.map +1 -1
- package/lib/bill/bill.model.d.ts +1 -1
- package/lib/bill/bill.model.js +1 -1
- package/lib/bill/bill.model.js.map +1 -1
- package/lib/bill/index.d.ts +0 -2
- package/lib/bill/index.js +0 -2
- package/lib/bill/index.js.map +1 -1
- package/lib/calendar/appointment.d.ts +4 -4
- package/lib/calendar/appointment.js +20 -9
- package/lib/calendar/appointment.js.map +1 -1
- package/lib/calendar/date.js +6 -6
- package/lib/calendar/date.js.map +1 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar/index.js +0 -1
- package/lib/calendar/index.js.map +1 -1
- package/lib/calendar/token.d.ts +1 -1
- package/lib/calendar/working.d.ts +1 -1
- package/lib/calendar/working.js +1 -1
- package/lib/calendar/working.js.map +1 -1
- package/lib/common/content.d.ts +1 -1
- package/lib/common/content.js +10 -9
- package/lib/common/content.js.map +1 -1
- package/lib/common/email.js +3 -3
- package/lib/common/email.js.map +1 -1
- package/lib/common/id.js +2 -6
- package/lib/common/id.js.map +1 -1
- package/lib/common/index.d.ts +1 -1
- package/lib/common/index.js +1 -1
- package/lib/common/index.js.map +1 -1
- package/lib/common/language.d.ts +1 -6
- package/lib/common/language.js +3 -9
- package/lib/common/language.js.map +1 -1
- package/lib/common/person.d.ts +16 -0
- package/lib/common/person.js +60 -0
- package/lib/common/person.js.map +1 -0
- package/lib/common/phone.js +3 -3
- package/lib/common/phone.js.map +1 -1
- package/lib/common/price.js +2 -4
- package/lib/common/price.js.map +1 -1
- package/lib/common/promotion.js +2 -0
- package/lib/common/promotion.js.map +1 -1
- package/lib/common/search.js +2 -2
- package/lib/common/search.js.map +1 -1
- package/lib/common/social.js +2 -1
- package/lib/common/social.js.map +1 -1
- package/lib/common/sort.js +2 -6
- package/lib/common/sort.js.map +1 -1
- package/lib/common/url.js +2 -2
- package/lib/common/url.js.map +1 -1
- package/lib/company/company.model.d.ts +1 -2
- package/lib/company/company.model.js +1 -2
- package/lib/company/company.model.js.map +1 -1
- package/lib/country/country.dto.d.ts +1 -1
- package/lib/country/country.dto.js +14 -16
- package/lib/country/country.dto.js.map +1 -1
- package/lib/country/country.model.d.ts +1 -1
- package/lib/course/appointment.model.d.ts +1 -1
- package/lib/course/appointment.model.js +1 -1
- package/lib/course/appointment.model.js.map +1 -1
- package/lib/course/course.model.d.ts +2 -2
- package/lib/course/course.model.js +1 -1
- package/lib/course/course.model.js.map +1 -1
- package/lib/course/definition.model.d.ts +1 -1
- package/lib/course/dto.d.ts +2 -3
- package/lib/course/dto.js +11 -34
- package/lib/course/dto.js.map +1 -1
- package/lib/course/index.d.ts +0 -1
- package/lib/course/index.js +0 -1
- package/lib/course/index.js.map +1 -1
- package/lib/currency/currency.dto.js +11 -13
- package/lib/currency/currency.dto.js.map +1 -1
- package/lib/discount/discount.dto.js +2 -2
- package/lib/discount/discount.dto.js.map +1 -1
- package/lib/discount/discount.model.d.ts +2 -3
- package/lib/discount/discount.model.js +1 -2
- package/lib/discount/discount.model.js.map +1 -1
- package/lib/driving/category/category.dto.d.ts +1 -1
- package/lib/driving/category/category.dto.js +7 -7
- package/lib/driving/category/category.dto.js.map +1 -1
- package/lib/driving/category/category.model.d.ts +1 -1
- package/lib/driving/exam/exam.dto.d.ts +2 -2
- package/lib/driving/exam/exam.dto.js +4 -4
- package/lib/driving/exam/exam.dto.js.map +1 -1
- package/lib/driving/exam/exam.model.d.ts +2 -2
- package/lib/driving/exam/exam.model.js +1 -1
- package/lib/driving/exam/exam.model.js.map +1 -1
- package/lib/driving/index.d.ts +0 -1
- package/lib/driving/index.js +0 -1
- package/lib/driving/index.js.map +1 -1
- package/lib/driving/lesson/index.d.ts +0 -1
- package/lib/driving/lesson/index.js +0 -1
- package/lib/driving/lesson/index.js.map +1 -1
- package/lib/driving/lesson/skill.d.ts +2 -3
- package/lib/driving/lesson/skill.dto.d.ts +2 -2
- package/lib/driving/lesson/skill.dto.js +4 -4
- package/lib/driving/lesson/skill.dto.js.map +1 -1
- package/lib/driving/lesson/skill.js +1 -1
- package/lib/driving/lesson/skill.js.map +1 -1
- package/lib/driving/lesson/topic.d.ts +1 -1
- package/lib/driving/lesson/topic.dto.d.ts +2 -2
- package/lib/driving/lesson/topic.dto.js +7 -8
- package/lib/driving/lesson/topic.dto.js.map +1 -1
- package/lib/event/event.dto.js +9 -13
- package/lib/event/event.dto.js.map +1 -1
- package/lib/events/agent/account.events.d.ts +27 -0
- package/lib/events/agent/account.events.js +32 -0
- package/lib/events/agent/account.events.js.map +1 -0
- package/lib/events/agent/payout.events.d.ts +29 -0
- package/lib/events/agent/payout.events.js +34 -0
- package/lib/events/agent/payout.events.js.map +1 -0
- package/lib/events/agent/profile.events.d.ts +18 -0
- package/lib/events/agent/profile.events.js +23 -0
- package/lib/events/agent/profile.events.js.map +1 -0
- package/lib/events/agent/promotion.events.d.ts +42 -0
- package/lib/events/agent/promotion.events.js +47 -0
- package/lib/events/agent/promotion.events.js.map +1 -0
- package/lib/events/auth/auth.events.d.ts +16 -0
- package/lib/events/auth/auth.events.js +21 -0
- package/lib/events/auth/auth.events.js.map +1 -0
- package/lib/events/auth/token.events.d.ts +23 -0
- package/lib/events/auth/token.events.js +28 -0
- package/lib/events/auth/token.events.js.map +1 -0
- package/lib/events/auth/verify.events.d.ts +17 -0
- package/lib/events/auth/verify.events.js +22 -0
- package/lib/events/auth/verify.events.js.map +1 -0
- package/lib/events/company/account/account.events.d.ts +64 -0
- package/lib/events/company/account/account.events.js +69 -0
- package/lib/events/company/account/account.events.js.map +1 -0
- package/lib/events/company/account/profile.events.d.ts +169 -0
- package/lib/events/company/account/profile.events.js +174 -0
- package/lib/events/company/account/profile.events.js.map +1 -0
- package/lib/events/company/course/appointment.events.d.ts +56 -0
- package/lib/events/company/course/appointment.events.js +61 -0
- package/lib/events/company/course/appointment.events.js.map +1 -0
- package/lib/events/company/course/course.events.d.ts +118 -0
- package/lib/events/company/course/course.events.js +123 -0
- package/lib/events/company/course/course.events.js.map +1 -0
- package/lib/events/company/course/lesson.events.d.ts +56 -0
- package/lib/events/company/course/lesson.events.js +61 -0
- package/lib/events/company/course/lesson.events.js.map +1 -0
- package/lib/events/company/course/topic.events.d.ts +76 -0
- package/lib/events/company/course/topic.events.js +81 -0
- package/lib/events/company/course/topic.events.js.map +1 -0
- package/lib/events/company/product/addon.events.d.ts +34 -0
- package/lib/events/company/product/addon.events.js +39 -0
- package/lib/events/company/product/addon.events.js.map +1 -0
- package/lib/events/company/product/campaign.events.d.ts +13 -0
- package/lib/events/company/product/campaign.events.js +18 -0
- package/lib/events/company/product/campaign.events.js.map +1 -0
- package/lib/events/company/product/product.events.d.ts +54 -0
- package/lib/events/company/product/product.events.js +59 -0
- package/lib/events/company/product/product.events.js.map +1 -0
- package/lib/events/index.d.ts +25 -0
- package/lib/events/index.js +42 -0
- package/lib/events/index.js.map +1 -0
- package/lib/events/instructor/account/account.events.d.ts +123 -0
- package/lib/events/instructor/account/account.events.js +128 -0
- package/lib/events/instructor/account/account.events.js.map +1 -0
- package/lib/events/instructor/account/profile.events.d.ts +31 -0
- package/lib/events/instructor/account/profile.events.js +36 -0
- package/lib/events/instructor/account/profile.events.js.map +1 -0
- package/lib/events/instructor/task/task.events.d.ts +24 -0
- package/lib/events/instructor/task/task.events.js +29 -0
- package/lib/events/instructor/task/task.events.js.map +1 -0
- package/lib/events/student/account/account.events.d.ts +36 -0
- package/lib/events/student/account/account.events.js +41 -0
- package/lib/events/student/account/account.events.js.map +1 -0
- package/lib/events/user/account.events.d.ts +84 -0
- package/lib/events/user/account.events.js +89 -0
- package/lib/events/user/account.events.js.map +1 -0
- package/lib/events/user/alert.events.d.ts +16 -0
- package/lib/events/user/alert.events.js +21 -0
- package/lib/events/user/alert.events.js.map +1 -0
- package/lib/events/user/device.events.d.ts +30 -0
- package/lib/events/user/device.events.js +35 -0
- package/lib/events/user/device.events.js.map +1 -0
- package/lib/events/user/notification.events.d.ts +30 -0
- package/lib/events/user/notification.events.js +35 -0
- package/lib/events/user/notification.events.js.map +1 -0
- package/lib/events/user/profile.events.d.ts +60 -0
- package/lib/events/user/profile.events.js +65 -0
- package/lib/events/user/profile.events.js.map +1 -0
- package/lib/expense/category.model.d.ts +1 -1
- package/lib/expense/category.model.js +1 -1
- package/lib/expense/category.model.js.map +1 -1
- package/lib/expense/expense.dto.d.ts +2 -3
- package/lib/expense/expense.dto.js +14 -29
- package/lib/expense/expense.dto.js.map +1 -1
- package/lib/expense/expense.model.d.ts +2 -2
- package/lib/expense/expense.model.js +1 -1
- package/lib/expense/expense.model.js.map +1 -1
- package/lib/expense/index.d.ts +0 -1
- package/lib/expense/index.js +0 -1
- package/lib/expense/index.js.map +1 -1
- package/lib/finance/finance.dto.d.ts +7 -9
- package/lib/finance/finance.dto.js +38 -131
- package/lib/finance/finance.dto.js.map +1 -1
- package/lib/finance/finance.model.d.ts +3 -5
- package/lib/finance/finance.model.js +1 -3
- package/lib/finance/finance.model.js.map +1 -1
- package/lib/finance/index.d.ts +0 -1
- package/lib/finance/index.js +0 -1
- package/lib/finance/index.js.map +1 -1
- package/lib/free-benefit/free-benefit.model.d.ts +1 -1
- package/lib/free-benefit/free-benefit.model.js +1 -1
- package/lib/free-benefit/free-benefit.model.js.map +1 -1
- package/lib/free-benefit/index.d.ts +0 -1
- package/lib/free-benefit/index.js +0 -1
- package/lib/free-benefit/index.js.map +1 -1
- package/lib/geo/address.dto.js +7 -7
- package/lib/geo/address.dto.js.map +1 -1
- package/lib/geo/coordinate.model.js +3 -3
- package/lib/geo/coordinate.model.js.map +1 -1
- package/lib/giftcode/giftcode.dto.js +7 -7
- package/lib/giftcode/giftcode.dto.js.map +1 -1
- package/lib/handover/index.d.ts +0 -1
- package/lib/handover/index.js +0 -1
- package/lib/handover/index.js.map +1 -1
- package/lib/index.d.ts +4 -3
- package/lib/index.js +4 -3
- package/lib/index.js.map +1 -1
- package/lib/instructor/instructor.dto.d.ts +2 -4
- package/lib/instructor/instructor.dto.js +12 -32
- package/lib/instructor/instructor.dto.js.map +1 -1
- package/lib/instructor/instructor.model.d.ts +3 -6
- package/lib/instructor/instructor.model.js +2 -8
- package/lib/instructor/instructor.model.js.map +1 -1
- package/lib/invoice/index.d.ts +0 -1
- package/lib/invoice/index.js +0 -1
- package/lib/invoice/index.js.map +1 -1
- package/lib/invoice/invoice.dto.d.ts +2 -2
- package/lib/invoice/invoice.dto.js +7 -9
- package/lib/invoice/invoice.dto.js.map +1 -1
- package/lib/invoice/invoice.model.d.ts +2 -3
- package/lib/invoice/invoice.model.js +1 -2
- package/lib/invoice/invoice.model.js.map +1 -1
- package/lib/link/link.model.d.ts +2 -2
- package/lib/link/link.model.js +1 -1
- package/lib/link/link.model.js.map +1 -1
- package/lib/log/index.d.ts +0 -1
- package/lib/log/index.js +0 -1
- package/lib/log/index.js.map +1 -1
- package/lib/log/log.model.d.ts +1 -1
- package/lib/log/log.model.js +1 -1
- package/lib/log/log.model.js.map +1 -1
- package/lib/notification/index.d.ts +0 -1
- package/lib/notification/index.js +0 -1
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/notification.model.d.ts +2 -2
- package/lib/notification/notification.model.js +1 -1
- package/lib/notification/notification.model.js.map +1 -1
- package/lib/payment/company-payment.model.d.ts +3 -3
- package/lib/payment/company-payment.model.js +1 -1
- package/lib/payment/company-payment.model.js.map +1 -1
- package/lib/payment/index.d.ts +0 -1
- package/lib/payment/index.js +0 -1
- package/lib/payment/index.js.map +1 -1
- package/lib/payment/payment.dto.d.ts +1 -1
- package/lib/payment/payment.dto.js +5 -5
- package/lib/payment/payment.dto.js.map +1 -1
- package/lib/payment/payment.model.d.ts +2 -4
- package/lib/payment/payment.model.js +1 -3
- package/lib/payment/payment.model.js.map +1 -1
- package/lib/payout/index.d.ts +0 -1
- package/lib/payout/index.js +0 -1
- package/lib/payout/index.js.map +1 -1
- package/lib/payout/payout.model.d.ts +2 -2
- package/lib/payout/payout.model.js +1 -1
- package/lib/payout/payout.model.js.map +1 -1
- package/lib/priceplan/index.d.ts +0 -1
- package/lib/priceplan/index.js +0 -1
- package/lib/priceplan/index.js.map +1 -1
- package/lib/priceplan/plan.dto.d.ts +1 -1
- package/lib/priceplan/plan.dto.js +6 -6
- package/lib/priceplan/plan.dto.js.map +1 -1
- package/lib/priceplan/plan.model.d.ts +1 -1
- package/lib/priceplan/plan.model.js +1 -1
- package/lib/priceplan/plan.model.js.map +1 -1
- package/lib/refund/refund.dto.js +2 -2
- package/lib/refund/refund.dto.js.map +1 -1
- package/lib/refund/refund.model.d.ts +2 -3
- package/lib/refund/refund.model.js +1 -2
- package/lib/refund/refund.model.js.map +1 -1
- package/lib/security/index.d.ts +0 -4
- package/lib/security/index.js +0 -4
- package/lib/security/index.js.map +1 -1
- package/lib/security/role.dto.d.ts +2 -2
- package/lib/security/role.dto.js +2 -2
- package/lib/security/role.dto.js.map +1 -1
- package/lib/session/driving/session.topic.d.ts +2 -2
- package/lib/session/driving/session.topic.js +1 -1
- package/lib/session/driving/session.topic.js.map +1 -1
- package/lib/setting/index.d.ts +0 -1
- package/lib/setting/index.js +0 -1
- package/lib/setting/index.js.map +1 -1
- package/lib/setting/setting.dto.js +2 -2
- package/lib/setting/setting.dto.js.map +1 -1
- package/lib/setting/setting.model.d.ts +2 -2
- package/lib/setting/setting.model.js +1 -1
- package/lib/setting/setting.model.js.map +1 -1
- package/lib/student/student.dto.js +6 -8
- package/lib/student/student.dto.js.map +1 -1
- package/lib/student/student.model.d.ts +2 -3
- package/lib/student/student.model.js +1 -2
- package/lib/student/student.model.js.map +1 -1
- package/lib/task/index.d.ts +2 -0
- package/lib/task/index.js +19 -0
- package/lib/task/index.js.map +1 -0
- package/lib/task/task.dto.d.ts +24 -0
- package/lib/task/task.dto.js +142 -0
- package/lib/task/task.dto.js.map +1 -0
- package/lib/task/task.model.d.ts +8 -0
- package/lib/task/task.model.js +49 -0
- package/lib/task/task.model.js.map +1 -0
- package/lib/ticket/index.d.ts +0 -1
- package/lib/ticket/index.js +0 -1
- package/lib/ticket/index.js.map +1 -1
- package/lib/ticket/ticket.dto.d.ts +1 -1
- package/lib/ticket/ticket.dto.js +7 -7
- package/lib/ticket/ticket.dto.js.map +1 -1
- package/lib/ticket/ticket.model.d.ts +1 -1
- package/lib/ticket/ticket.model.js +1 -1
- package/lib/ticket/ticket.model.js.map +1 -1
- package/lib/training/driving.model.d.ts +1 -1
- package/lib/training/driving.model.js +1 -1
- package/lib/training/driving.model.js.map +1 -1
- package/lib/training/index.d.ts +0 -1
- package/lib/training/index.js +0 -1
- package/lib/training/index.js.map +1 -1
- package/lib/training/request.dto.d.ts +2 -2
- package/lib/training/request.dto.js +2 -2
- package/lib/training/request.dto.js.map +1 -1
- package/lib/training/request.model.d.ts +2 -3
- package/lib/training/request.model.js +1 -2
- package/lib/training/request.model.js.map +1 -1
- package/lib/training/training.dto.d.ts +5 -6
- package/lib/training/training.dto.js +25 -80
- package/lib/training/training.dto.js.map +1 -1
- package/lib/training/training.model.d.ts +2 -3
- package/lib/training/training.model.js +6 -7
- package/lib/training/training.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/activity.type.d.ts +46 -0
- package/lib/types/activity.type.js +51 -0
- package/lib/types/activity.type.js.map +1 -0
- package/lib/types/addon.type.d.ts +66 -0
- package/lib/types/addon.type.js +71 -0
- package/lib/types/addon.type.js.map +1 -0
- package/lib/types/calendar.type.d.ts +24 -0
- package/lib/types/calendar.type.js +31 -0
- package/lib/types/calendar.type.js.map +1 -0
- package/lib/types/driving.type.d.ts +12 -0
- package/lib/types/driving.type.js +18 -0
- package/lib/types/driving.type.js.map +1 -0
- package/lib/types/earning.type.d.ts +6 -0
- package/lib/types/earning.type.js +3 -0
- package/lib/types/earning.type.js.map +1 -0
- package/lib/types/finance.type.d.ts +67 -0
- package/lib/types/finance.type.js +77 -0
- package/lib/types/finance.type.js.map +1 -0
- package/lib/types/index.d.ts +15 -0
- package/lib/types/index.js +32 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/interface.d.ts +79 -0
- package/lib/types/interface.js +4 -0
- package/lib/types/interface.js.map +1 -0
- package/lib/types/metric.type.d.ts +34 -0
- package/lib/types/metric.type.js +39 -0
- package/lib/types/metric.type.js.map +1 -0
- package/lib/types/policy.type.d.ts +27 -0
- package/lib/types/policy.type.js +32 -0
- package/lib/types/policy.type.js.map +1 -0
- package/lib/types/priceplan.type.d.ts +39 -0
- package/lib/types/priceplan.type.js +48 -0
- package/lib/types/priceplan.type.js.map +1 -0
- package/lib/types/product.type.d.ts +202 -0
- package/lib/types/product.type.js +209 -0
- package/lib/types/product.type.js.map +1 -0
- package/lib/types/program.type.d.ts +23 -0
- package/lib/types/program.type.js +28 -0
- package/lib/types/program.type.js.map +1 -0
- package/lib/types/security.type.d.ts +54 -0
- package/lib/types/security.type.js +60 -0
- package/lib/types/security.type.js.map +1 -0
- package/lib/types/support.type.d.ts +127 -0
- package/lib/types/support.type.js +144 -0
- package/lib/types/support.type.js.map +1 -0
- package/lib/types/training.type.d.ts +16 -0
- package/lib/types/training.type.js +22 -0
- package/lib/types/training.type.js.map +1 -0
- package/lib/user/index.d.ts +0 -1
- package/lib/user/index.js +0 -1
- package/lib/user/index.js.map +1 -1
- package/lib/user/profile.dto.d.ts +1 -2
- package/lib/user/profile.dto.js +8 -5
- package/lib/user/profile.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +1 -3
- package/lib/user/user.model.js +2 -4
- package/lib/user/user.model.js.map +1 -1
- package/lib/utils/array.helper.js +2 -2
- package/lib/utils/array.helper.js.map +1 -1
- package/lib/utils/compare.validator.d.ts +9 -0
- package/lib/utils/compare.validator.js +35 -0
- package/lib/utils/compare.validator.js.map +1 -0
- package/lib/utils/date.helper.d.ts +30 -1
- package/lib/utils/date.helper.js +59 -20
- package/lib/utils/date.helper.js.map +1 -1
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.js +3 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/required.validator.d.ts +77 -0
- package/lib/utils/required.validator.js +151 -0
- package/lib/utils/required.validator.js.map +1 -0
- package/lib/utils/transformers.helper.d.ts +48 -0
- package/lib/utils/transformers.helper.js +184 -0
- package/lib/utils/transformers.helper.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare enum MetricType {
|
|
2
|
+
Clients = "Clients",
|
|
3
|
+
ArchivedClients = "ArchivedClients",
|
|
4
|
+
Students = "Students",
|
|
5
|
+
ActiveStudents = "ActiveStudents",
|
|
6
|
+
InactiveStudents = "InactiveStudents",
|
|
7
|
+
StudentsWithBalance = "StudentsWithBalance",
|
|
8
|
+
Appointments = "Appointments",
|
|
9
|
+
UpcomingAppointments = "UpcomingAppointments",
|
|
10
|
+
PastAppointments = "PastAppointments",
|
|
11
|
+
CanceledAppointments = "CanceledAppointments",
|
|
12
|
+
AttendedAppointments = "AttendedAppointments",
|
|
13
|
+
AbsentAppointments = "AbsentAppointments",
|
|
14
|
+
Courses = "Courses",
|
|
15
|
+
CourseRemainingSeats = "CourseRemainingSeats",
|
|
16
|
+
Trainings = "Trainings",
|
|
17
|
+
DrivingTrainings = "DrivingTrainings",
|
|
18
|
+
TheoryTrainings = "TheoryTrainings",
|
|
19
|
+
Topics = "Topics",
|
|
20
|
+
CompletedTopics = "CompletedTopics",
|
|
21
|
+
PendingTopics = "PendingTopics",
|
|
22
|
+
Income = "Income",
|
|
23
|
+
PaidIncome = "PaidIncome",
|
|
24
|
+
PendingIncome = "PendingIncome",
|
|
25
|
+
Expenses = "Expenses",
|
|
26
|
+
PendingExpenses = "PendingExpenses",
|
|
27
|
+
ApprovedExpenses = "ApprovedExpenses",
|
|
28
|
+
RejectedExpenses = "RejectedExpenses",
|
|
29
|
+
Transactions = "Transactions",
|
|
30
|
+
PendingTransactions = "PendingTransactions",
|
|
31
|
+
ApprovedTransactions = "ApprovedTransactions",
|
|
32
|
+
RejectedTransactions = "RejectedTransactions",
|
|
33
|
+
GeneratedValue = "GeneratedValue"
|
|
34
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MetricType = void 0;
|
|
4
|
+
var MetricType;
|
|
5
|
+
(function (MetricType) {
|
|
6
|
+
MetricType["Clients"] = "Clients";
|
|
7
|
+
MetricType["ArchivedClients"] = "ArchivedClients";
|
|
8
|
+
MetricType["Students"] = "Students";
|
|
9
|
+
MetricType["ActiveStudents"] = "ActiveStudents";
|
|
10
|
+
MetricType["InactiveStudents"] = "InactiveStudents";
|
|
11
|
+
MetricType["StudentsWithBalance"] = "StudentsWithBalance";
|
|
12
|
+
MetricType["Appointments"] = "Appointments";
|
|
13
|
+
MetricType["UpcomingAppointments"] = "UpcomingAppointments";
|
|
14
|
+
MetricType["PastAppointments"] = "PastAppointments";
|
|
15
|
+
MetricType["CanceledAppointments"] = "CanceledAppointments";
|
|
16
|
+
MetricType["AttendedAppointments"] = "AttendedAppointments";
|
|
17
|
+
MetricType["AbsentAppointments"] = "AbsentAppointments";
|
|
18
|
+
MetricType["Courses"] = "Courses";
|
|
19
|
+
MetricType["CourseRemainingSeats"] = "CourseRemainingSeats";
|
|
20
|
+
MetricType["Trainings"] = "Trainings";
|
|
21
|
+
MetricType["DrivingTrainings"] = "DrivingTrainings";
|
|
22
|
+
MetricType["TheoryTrainings"] = "TheoryTrainings";
|
|
23
|
+
MetricType["Topics"] = "Topics";
|
|
24
|
+
MetricType["CompletedTopics"] = "CompletedTopics";
|
|
25
|
+
MetricType["PendingTopics"] = "PendingTopics";
|
|
26
|
+
MetricType["Income"] = "Income";
|
|
27
|
+
MetricType["PaidIncome"] = "PaidIncome";
|
|
28
|
+
MetricType["PendingIncome"] = "PendingIncome";
|
|
29
|
+
MetricType["Expenses"] = "Expenses";
|
|
30
|
+
MetricType["PendingExpenses"] = "PendingExpenses";
|
|
31
|
+
MetricType["ApprovedExpenses"] = "ApprovedExpenses";
|
|
32
|
+
MetricType["RejectedExpenses"] = "RejectedExpenses";
|
|
33
|
+
MetricType["Transactions"] = "Transactions";
|
|
34
|
+
MetricType["PendingTransactions"] = "PendingTransactions";
|
|
35
|
+
MetricType["ApprovedTransactions"] = "ApprovedTransactions";
|
|
36
|
+
MetricType["RejectedTransactions"] = "RejectedTransactions";
|
|
37
|
+
MetricType["GeneratedValue"] = "GeneratedValue";
|
|
38
|
+
})(MetricType || (exports.MetricType = MetricType = {}));
|
|
39
|
+
//# sourceMappingURL=metric.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric.type.js","sourceRoot":"","sources":["../../src/types/metric.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,UA2CX;AA3CD,WAAY,UAAU;IAErB,iCAAmB,CAAA;IACnB,iDAAmC,CAAA;IAEnC,mCAAqB,CAAA;IACrB,+CAAiC,CAAA;IACjC,mDAAqC,CAAA;IACrC,yDAA2C,CAAA;IAE3C,2CAA6B,CAAA;IAC7B,2DAA6C,CAAA;IAC7C,mDAAqC,CAAA;IACrC,2DAA6C,CAAA;IAC7C,2DAA6C,CAAA;IAC7C,uDAAyC,CAAA;IAEzC,iCAAmB,CAAA;IACnB,2DAA6C,CAAA;IAE7C,qCAAuB,CAAA;IACvB,mDAAqC,CAAA;IACrC,iDAAmC,CAAA;IAEnC,+BAAiB,CAAA;IACjB,iDAAmC,CAAA;IACnC,6CAA+B,CAAA;IAE/B,+BAAiB,CAAA;IACjB,uCAAyB,CAAA;IACzB,6CAA+B,CAAA;IAE/B,mCAAqB,CAAA;IACrB,iDAAmC,CAAA;IACnC,mDAAqC,CAAA;IACrC,mDAAqC,CAAA;IAErC,2CAA6B,CAAA;IAC7B,yDAA2C,CAAA;IAC3C,2DAA6C,CAAA;IAC7C,2DAA6C,CAAA;IAE7C,+CAAiC,CAAA;AAClC,CAAC,EA3CW,UAAU,0BAAV,UAAU,QA2CrB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum PolicyType {
|
|
2
|
+
/**
|
|
3
|
+
* User has not set a recovery email address
|
|
4
|
+
* Recommend setting one to secure the account
|
|
5
|
+
*/
|
|
6
|
+
MissingRecoveryEmail = "policy.MissingRecoveryEmail",
|
|
7
|
+
/**
|
|
8
|
+
* Customer has unpaid invoices
|
|
9
|
+
* Recommend settling them to avoid service interruptions
|
|
10
|
+
*/
|
|
11
|
+
UnpaidInvoices = "policy.UnpaidInvoices",
|
|
12
|
+
/**
|
|
13
|
+
* User has disabled push notifications
|
|
14
|
+
* Recommend enabling them to stay informed
|
|
15
|
+
*/
|
|
16
|
+
PushNotificationDisabled = "policy.PushNotificationDisabled",
|
|
17
|
+
/**
|
|
18
|
+
* User has not completed training ratings
|
|
19
|
+
* Recommend completing them for better course recommendations
|
|
20
|
+
*/
|
|
21
|
+
MissingTrainingRating = "policy.MissingTrainingRating",
|
|
22
|
+
/**
|
|
23
|
+
* User has low engagement with training materials
|
|
24
|
+
* Recommend increasing participation for better learning outcomes
|
|
25
|
+
*/
|
|
26
|
+
LowTrainingEngagement = "policy.LowTrainingEngagement"
|
|
27
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PolicyType = void 0;
|
|
4
|
+
var PolicyType;
|
|
5
|
+
(function (PolicyType) {
|
|
6
|
+
/**
|
|
7
|
+
* User has not set a recovery email address
|
|
8
|
+
* Recommend setting one to secure the account
|
|
9
|
+
*/
|
|
10
|
+
PolicyType["MissingRecoveryEmail"] = "policy.MissingRecoveryEmail";
|
|
11
|
+
/**
|
|
12
|
+
* Customer has unpaid invoices
|
|
13
|
+
* Recommend settling them to avoid service interruptions
|
|
14
|
+
*/
|
|
15
|
+
PolicyType["UnpaidInvoices"] = "policy.UnpaidInvoices";
|
|
16
|
+
/**
|
|
17
|
+
* User has disabled push notifications
|
|
18
|
+
* Recommend enabling them to stay informed
|
|
19
|
+
*/
|
|
20
|
+
PolicyType["PushNotificationDisabled"] = "policy.PushNotificationDisabled";
|
|
21
|
+
/**
|
|
22
|
+
* User has not completed training ratings
|
|
23
|
+
* Recommend completing them for better course recommendations
|
|
24
|
+
*/
|
|
25
|
+
PolicyType["MissingTrainingRating"] = "policy.MissingTrainingRating";
|
|
26
|
+
/**
|
|
27
|
+
* User has low engagement with training materials
|
|
28
|
+
* Recommend increasing participation for better learning outcomes
|
|
29
|
+
*/
|
|
30
|
+
PolicyType["LowTrainingEngagement"] = "policy.LowTrainingEngagement";
|
|
31
|
+
})(PolicyType || (exports.PolicyType = PolicyType = {}));
|
|
32
|
+
//# sourceMappingURL=policy.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.type.js","sourceRoot":"","sources":["../../src/types/policy.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,UA+BX;AA/BD,WAAY,UAAU;IAErB;;;OAGG;IACH,kEAAoD,CAAA;IAEpD;;;OAGG;IACH,sDAAwC,CAAA;IAExC;;;OAGG;IACH,0EAA4D,CAAA;IAE5D;;;OAGG;IACH,oEAAsD,CAAA;IAEtD;;;OAGG;IACH,oEAAsD,CAAA;AACvD,CAAC,EA/BW,UAAU,0BAAV,UAAU,QA+BrB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare enum PricePlanType {
|
|
2
|
+
Free = "free",
|
|
3
|
+
PayAsYouUse = "payasyouuse",
|
|
4
|
+
Subscription = "subscription",
|
|
5
|
+
Enterprise = "enterprise"
|
|
6
|
+
}
|
|
7
|
+
export declare enum PricePlanUnit {
|
|
8
|
+
OneTime = "onetime",
|
|
9
|
+
PeriodMonthly = "periodic.monthly",
|
|
10
|
+
PeriodYearly = "periodic.yearly",
|
|
11
|
+
PerTraining = "training",
|
|
12
|
+
PerSeat = "seat"
|
|
13
|
+
}
|
|
14
|
+
export declare enum PricePlanFeature {
|
|
15
|
+
NoCreditCardRequired = "priceplan.feature.noCreditCardRequired",
|
|
16
|
+
StartCreditGift = "priceplan.feature.startCreditGift",
|
|
17
|
+
UnlimetedInstructorsAndStudent = "priceplan.feature.unlimetedInstructorsAndStudent",
|
|
18
|
+
AccessToAllFeaturesAllDevices = "priceplan.feature.accessToAllFeaturesAllDevices",
|
|
19
|
+
PayOnlyForWhatYouUse = "priceplan.feature.payOnlyForWhatYouUse",
|
|
20
|
+
SimpleMonthlyBillingAndAutomatic = "priceplan.feature.simpleMonthlyBillingAndAutomatic",
|
|
21
|
+
NoLimitsOnTrainingsStudentsInstructors = "priceplan.feature.noLimitsOnTrainingsStudentsInstructors",
|
|
22
|
+
FixedMonthlyPricePerUser = "priceplan.feature.fixedMonthlyPricePerUser",
|
|
23
|
+
NoPerTrainingFees = "priceplan.feature.noPerTrainingFees",
|
|
24
|
+
CustomFixedPricePerTeam = "priceplan.feature.customFixedPricePerTeam",
|
|
25
|
+
DedicatedSupportAndOnboarding = "priceplan.feature.dedicatedSupportAndOnboarding"
|
|
26
|
+
}
|
|
27
|
+
export declare enum PricePlanUsage {
|
|
28
|
+
MonthlyFreeTrainings = "priceplan.usage.monthlyFreeTrainings",
|
|
29
|
+
MonthlyRegistredTranings = "priceplan.usage.monthlyRegistredTranings",
|
|
30
|
+
MonthlyActiveInstructors = "priceplan.usage.monthlyActiveInstructors",
|
|
31
|
+
MonthlyUsedSeats = "priceplan.usage.monthlyUsedSeats"
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @description Use FreeBenefitType in next version
|
|
35
|
+
*/
|
|
36
|
+
export declare enum FreeBenefitType {
|
|
37
|
+
Training = "training",
|
|
38
|
+
StudentRequest = "student_request"
|
|
39
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FreeBenefitType = exports.PricePlanUsage = exports.PricePlanFeature = exports.PricePlanUnit = exports.PricePlanType = void 0;
|
|
4
|
+
var PricePlanType;
|
|
5
|
+
(function (PricePlanType) {
|
|
6
|
+
PricePlanType["Free"] = "free";
|
|
7
|
+
PricePlanType["PayAsYouUse"] = "payasyouuse";
|
|
8
|
+
PricePlanType["Subscription"] = "subscription";
|
|
9
|
+
PricePlanType["Enterprise"] = "enterprise";
|
|
10
|
+
})(PricePlanType || (exports.PricePlanType = PricePlanType = {}));
|
|
11
|
+
var PricePlanUnit;
|
|
12
|
+
(function (PricePlanUnit) {
|
|
13
|
+
PricePlanUnit["OneTime"] = "onetime";
|
|
14
|
+
PricePlanUnit["PeriodMonthly"] = "periodic.monthly";
|
|
15
|
+
PricePlanUnit["PeriodYearly"] = "periodic.yearly";
|
|
16
|
+
PricePlanUnit["PerTraining"] = "training";
|
|
17
|
+
PricePlanUnit["PerSeat"] = "seat";
|
|
18
|
+
})(PricePlanUnit || (exports.PricePlanUnit = PricePlanUnit = {}));
|
|
19
|
+
var PricePlanFeature;
|
|
20
|
+
(function (PricePlanFeature) {
|
|
21
|
+
PricePlanFeature["NoCreditCardRequired"] = "priceplan.feature.noCreditCardRequired";
|
|
22
|
+
PricePlanFeature["StartCreditGift"] = "priceplan.feature.startCreditGift";
|
|
23
|
+
PricePlanFeature["UnlimetedInstructorsAndStudent"] = "priceplan.feature.unlimetedInstructorsAndStudent";
|
|
24
|
+
PricePlanFeature["AccessToAllFeaturesAllDevices"] = "priceplan.feature.accessToAllFeaturesAllDevices";
|
|
25
|
+
PricePlanFeature["PayOnlyForWhatYouUse"] = "priceplan.feature.payOnlyForWhatYouUse";
|
|
26
|
+
PricePlanFeature["SimpleMonthlyBillingAndAutomatic"] = "priceplan.feature.simpleMonthlyBillingAndAutomatic";
|
|
27
|
+
PricePlanFeature["NoLimitsOnTrainingsStudentsInstructors"] = "priceplan.feature.noLimitsOnTrainingsStudentsInstructors";
|
|
28
|
+
PricePlanFeature["FixedMonthlyPricePerUser"] = "priceplan.feature.fixedMonthlyPricePerUser";
|
|
29
|
+
PricePlanFeature["NoPerTrainingFees"] = "priceplan.feature.noPerTrainingFees";
|
|
30
|
+
PricePlanFeature["CustomFixedPricePerTeam"] = "priceplan.feature.customFixedPricePerTeam";
|
|
31
|
+
PricePlanFeature["DedicatedSupportAndOnboarding"] = "priceplan.feature.dedicatedSupportAndOnboarding";
|
|
32
|
+
})(PricePlanFeature || (exports.PricePlanFeature = PricePlanFeature = {}));
|
|
33
|
+
var PricePlanUsage;
|
|
34
|
+
(function (PricePlanUsage) {
|
|
35
|
+
PricePlanUsage["MonthlyFreeTrainings"] = "priceplan.usage.monthlyFreeTrainings";
|
|
36
|
+
PricePlanUsage["MonthlyRegistredTranings"] = "priceplan.usage.monthlyRegistredTranings";
|
|
37
|
+
PricePlanUsage["MonthlyActiveInstructors"] = "priceplan.usage.monthlyActiveInstructors";
|
|
38
|
+
PricePlanUsage["MonthlyUsedSeats"] = "priceplan.usage.monthlyUsedSeats";
|
|
39
|
+
})(PricePlanUsage || (exports.PricePlanUsage = PricePlanUsage = {}));
|
|
40
|
+
/**
|
|
41
|
+
* @description Use FreeBenefitType in next version
|
|
42
|
+
*/
|
|
43
|
+
var FreeBenefitType;
|
|
44
|
+
(function (FreeBenefitType) {
|
|
45
|
+
FreeBenefitType["Training"] = "training";
|
|
46
|
+
FreeBenefitType["StudentRequest"] = "student_request";
|
|
47
|
+
})(FreeBenefitType || (exports.FreeBenefitType = FreeBenefitType = {}));
|
|
48
|
+
//# sourceMappingURL=priceplan.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priceplan.type.js","sourceRoot":"","sources":["../../src/types/priceplan.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAKX;AALD,WAAY,aAAa;IACxB,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,8CAA6B,CAAA;IAC7B,0CAAyB,CAAA;AAC1B,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,IAAY,aAMX;AAND,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,mDAAkC,CAAA;IAClC,iDAAgC,CAAA;IAChC,yCAAwB,CAAA;IACxB,iCAAgB,CAAA;AACjB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAED,IAAY,gBAYX;AAZD,WAAY,gBAAgB;IAC3B,mFAA+D,CAAA;IAC/D,yEAAqD,CAAA;IACrD,uGAAmF,CAAA;IACnF,qGAAiF,CAAA;IACjF,mFAA+D,CAAA;IAC/D,2GAAuF,CAAA;IACvF,uHAAmG,CAAA;IACnG,2FAAuE,CAAA;IACvE,6EAAyD,CAAA;IACzD,yFAAqE,CAAA;IACrE,qGAAiF,CAAA;AAClF,CAAC,EAZW,gBAAgB,gCAAhB,gBAAgB,QAY3B;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,+EAA6D,CAAA;IAC7D,uFAAqE,CAAA;IACrE,uFAAqE,CAAA;IACrE,uEAAqD,CAAA;AACtD,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAED;;GAEG;AACH,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,wCAAqB,CAAA;IACrB,qDAAkC,CAAA;AACnC,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Drive Product Collection
|
|
3
|
+
*
|
|
4
|
+
* Enum describing the different product categories offered by the platform.
|
|
5
|
+
*
|
|
6
|
+
* Members:
|
|
7
|
+
* * Medical: Product collection represents health checks, medical certificates, and other medical prerequisites required by licensing authorities
|
|
8
|
+
* * Preperation: Theory courses and study materials for the written/theoretical part of the driving test.
|
|
9
|
+
* * Driving: Practical driving lessons and bookings with instructors or schools.
|
|
10
|
+
* * Licence: Products related to issuance, renewal, or management of driving licences
|
|
11
|
+
* * Products related to post-licence training courses for new drivers or for skill enhancement.
|
|
12
|
+
*/
|
|
13
|
+
export declare enum CatalogType {
|
|
14
|
+
/**
|
|
15
|
+
* Student Medical Requirement
|
|
16
|
+
* A mandatory step for obtaining a pre-driving licence.
|
|
17
|
+
* This product represents health checks, medical certificates, and other medical prerequisites required by licensing authorities.
|
|
18
|
+
* It acts as a marketplace connecting users with multiple certified medical institutions and practitioners,
|
|
19
|
+
* allowing selection, booking, and issuance of required medical documentation.
|
|
20
|
+
*/
|
|
21
|
+
Medical = "medical",
|
|
22
|
+
/**
|
|
23
|
+
* Preperation Training
|
|
24
|
+
* Theory courses and study materials for the written/theoretical part of the driving test.
|
|
25
|
+
* B2C service dedicated for students to prepare for their theory exams.
|
|
26
|
+
* This product is offered for companies as B2B, enabling them to provide theory training to their students.
|
|
27
|
+
*/
|
|
28
|
+
Preperation = "preparation",
|
|
29
|
+
/**
|
|
30
|
+
* Practical Training
|
|
31
|
+
* Practical driving lessons and bookings with instructors or schools.
|
|
32
|
+
* B2C service dedicated for students to book and attend practical driving lessons.
|
|
33
|
+
* This product is offered for companies as B2B, enabling them to provide Practical training to their students.
|
|
34
|
+
*/
|
|
35
|
+
Driving = "driving",
|
|
36
|
+
/**
|
|
37
|
+
* Driving Licence
|
|
38
|
+
* Products related to issuance, renewal, or management of driving licences.
|
|
39
|
+
* It acts as a marketplace connecting users with several country specific licensing authorities and service providers,
|
|
40
|
+
* allowing selection, booking, and issuance of driving licences.
|
|
41
|
+
*/
|
|
42
|
+
Licence = "licence",
|
|
43
|
+
/**
|
|
44
|
+
* Completion Training
|
|
45
|
+
* Products related to post-licence training courses for new drivers or for skill enhancement.
|
|
46
|
+
* This includes advanced driving courses, refresher courses, and other training programs designed to enhance driving skills after obtaining a licence.
|
|
47
|
+
* This product is offered for specific institutions as B2B, enabling them to provide post-licence training to their student.
|
|
48
|
+
*/
|
|
49
|
+
Completion = "completion"
|
|
50
|
+
}
|
|
51
|
+
export declare enum ProductType {
|
|
52
|
+
/**
|
|
53
|
+
* Medical Eye Test
|
|
54
|
+
* Vision assessments required for driving licence eligibility.
|
|
55
|
+
* This product focuses on providing eye tests that evaluate a candidate's visual acuity and overall eye health.
|
|
56
|
+
* It is offered as a B2C service for individual users seeking medical clearance for their driving licence applications.
|
|
57
|
+
*/
|
|
58
|
+
MedicalEyeTest = "MedicalEye",
|
|
59
|
+
/**
|
|
60
|
+
* Medical Hearing Test
|
|
61
|
+
* Hearing assessments required for driving licence eligibility.
|
|
62
|
+
* This product focuses on providing hearing tests that evaluate a candidate's auditory capabilities.
|
|
63
|
+
* It is offered as a B2C service for individual users seeking medical clearance for their driving licence applications.
|
|
64
|
+
*/
|
|
65
|
+
MedicalHearingTest = "MedicalHearing",
|
|
66
|
+
/**
|
|
67
|
+
* Medical General Examination
|
|
68
|
+
* Comprehensive health assessments required for driving licence eligibility.
|
|
69
|
+
* This product focuses on providing medical examinations that evaluate a candidate's physical fitness to drive.
|
|
70
|
+
* It is offered as a B2C service for individual users seeking medical clearance for their driving licence applications.
|
|
71
|
+
*/
|
|
72
|
+
MedicalGeneral = "MedicalGeneral",
|
|
73
|
+
/**
|
|
74
|
+
* Medical Psychological Examination
|
|
75
|
+
* Psychological assessments required for driving licence eligibility.
|
|
76
|
+
* This product focuses on providing psychological evaluations that assess a candidate's mental fitness to drive.
|
|
77
|
+
* It is offered as a B2C service for individual users seeking medical clearance for their driving licence applications.
|
|
78
|
+
*/
|
|
79
|
+
MedicalPsychological = "MedicalPsychological",
|
|
80
|
+
/**
|
|
81
|
+
* Other Medical Service
|
|
82
|
+
* Miscellaneous medical services not categorized elsewhere.
|
|
83
|
+
* This product focuses on additional medical requirements that may arise for driving licence applicants.
|
|
84
|
+
* It is offered as a B2C service for individual users seeking various medical clearances for their driving licence applications.
|
|
85
|
+
*/
|
|
86
|
+
MedicalOther = "MedicalOther",
|
|
87
|
+
/**
|
|
88
|
+
* First Aid Course
|
|
89
|
+
* Mandatory first aid training for new drivers.
|
|
90
|
+
* This product focuses on providing essential first aid skills required by law for obtaining a driving licence.
|
|
91
|
+
* It is offered as a B2B service for driving schools and institutions that provide first aid courses.
|
|
92
|
+
*/
|
|
93
|
+
PreperationFirstAid = "PreperationFirstAid",
|
|
94
|
+
/**
|
|
95
|
+
* Traffic Study Course
|
|
96
|
+
* Theoretical traffic rules and regulations training.
|
|
97
|
+
* This product focuses on educating students about traffic laws, road signs, and safe driving practices.
|
|
98
|
+
* It is offered as a B2B service for driving schools and institutions that provide theory training.
|
|
99
|
+
*/
|
|
100
|
+
PreperationTrafficStudy = "PreperationTrafficStudy",
|
|
101
|
+
/**
|
|
102
|
+
* Theory Study Course
|
|
103
|
+
* Preparation courses for the theoretical driving test.
|
|
104
|
+
* This product focuses on helping students prepare for their theory exams through practice tests, study materials, and mock exams.
|
|
105
|
+
* It is offered as a B2B service for driving schools and institutions that provide exam preparation courses.
|
|
106
|
+
*/
|
|
107
|
+
PreperationTheoryStudy = "PreperationTheoryStudy",
|
|
108
|
+
/**
|
|
109
|
+
* Other Pre-Practical Training
|
|
110
|
+
* Miscellaneous pre-driving training courses not categorized elsewhere.
|
|
111
|
+
* This product focuses on additional training needs that may arise for students preparing for their driving tests.
|
|
112
|
+
* It is offered as a B2B service for driving schools and institutions that provide various pre-driving training courses.
|
|
113
|
+
*/
|
|
114
|
+
PreperationOther = "PreperationOther",
|
|
115
|
+
/**
|
|
116
|
+
* Motorcycle Training
|
|
117
|
+
* Practical driving lessons for motorcycle licences.
|
|
118
|
+
* This product focuses on providing hands-on training for individuals seeking to obtain a motorcycle driving licence.
|
|
119
|
+
* It is offered as a B2C service for individual students booking lessons with motorcycle instructors.
|
|
120
|
+
*/
|
|
121
|
+
DrivingMotorcycle = "DrivingMotorcycle",
|
|
122
|
+
/**
|
|
123
|
+
* Car Training
|
|
124
|
+
* Practical driving lessons for car licences.
|
|
125
|
+
* This product focuses on providing hands-on training for individuals seeking to obtain a car driving licence.
|
|
126
|
+
* It is offered as a B2C service for individual students booking lessons with car instructors.
|
|
127
|
+
*/
|
|
128
|
+
DrivingCar = "DrivingCar",
|
|
129
|
+
/**
|
|
130
|
+
* Truck Training
|
|
131
|
+
* Practical driving lessons for truck licences.
|
|
132
|
+
* This product focuses on providing hands-on training for individuals seeking to obtain a truck driving licence.
|
|
133
|
+
* It is offered as a B2C service for individual students booking lessons with truck instructors.
|
|
134
|
+
*/
|
|
135
|
+
DrivingTruck = "DrivingTruck",
|
|
136
|
+
/**
|
|
137
|
+
* Pre.Practical Licence
|
|
138
|
+
* Products related to issuance, renewal, or management of student driving licences.
|
|
139
|
+
* It acts as a marketplace connecting users with several country specific licensing authorities and service providers,
|
|
140
|
+
* allowin selection, booking, and issuance of student driving licences.
|
|
141
|
+
*/
|
|
142
|
+
LicenceStudent = "LicenceStudent",
|
|
143
|
+
/**
|
|
144
|
+
* Probationary Driving Licence
|
|
145
|
+
* Products related to issuance, renewal, or management of probationary driving licences.
|
|
146
|
+
* It acts as a marketplace connecting users with several country specific licensing authorities and service providers,
|
|
147
|
+
* allowing selection, booking, and issuance of probationary driving licences.
|
|
148
|
+
*/
|
|
149
|
+
LicenceProbationary = "LicenceProbationary",
|
|
150
|
+
/**
|
|
151
|
+
* Permanent Licence
|
|
152
|
+
* Products related to issuance, renewal, or management of permanent driving licences.
|
|
153
|
+
* It acts as a marketplace connecting users with several country specific licensing authorities and service providers,
|
|
154
|
+
* allowing selection, booking, and issuance of permanent driving licences.
|
|
155
|
+
*/
|
|
156
|
+
LicencePermanent = "LicencePermanent",
|
|
157
|
+
/**
|
|
158
|
+
* Licence Completion Course
|
|
159
|
+
* Mandatory courses for new drivers to complete their probationary period.
|
|
160
|
+
* This product focuses on fulfilling legal requirements for new drivers through specific training sessions.
|
|
161
|
+
* It is offered as a B2B service for driving schools and institutions that provide licence completion courses.
|
|
162
|
+
*/
|
|
163
|
+
CompletionTraning = "CompletionTraning",
|
|
164
|
+
/**
|
|
165
|
+
* Driving Skills Enhancement
|
|
166
|
+
* Advanced driving courses and skill enhancement programs.
|
|
167
|
+
* This product focuses on improving driving skills for licensed drivers through specialized training sessions.
|
|
168
|
+
* It is offered as a B2C service for individual drivers seeking to enhance their driving abilities.
|
|
169
|
+
*/
|
|
170
|
+
CompletionEnhancement = "CompletionEnhancement",
|
|
171
|
+
/**
|
|
172
|
+
* Post-Practical Training certificate
|
|
173
|
+
* Miscellaneous post-licence training courses not categorized elsewhere.
|
|
174
|
+
* This product focuses on additional training needs that may arise for licensed drivers.
|
|
175
|
+
* It is offered as a B2B service for driving schools and institutions that provide various post-licence training courses.
|
|
176
|
+
*/
|
|
177
|
+
CompletionCertificate = "CompletionCertificate"
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Company product Status
|
|
181
|
+
* Use this status to manage the availability and operational state of products within the platform.
|
|
182
|
+
*/
|
|
183
|
+
export declare enum ProductStatus {
|
|
184
|
+
/**
|
|
185
|
+
* Product is active and available for purchase
|
|
186
|
+
*/
|
|
187
|
+
Active = "active",
|
|
188
|
+
/**
|
|
189
|
+
* Product is inactive and not available for purchase
|
|
190
|
+
*/
|
|
191
|
+
Inactive = "inactive",
|
|
192
|
+
/**
|
|
193
|
+
* Product is temporarily suspended
|
|
194
|
+
* Currently not available for new purchases but may be reactivated later
|
|
195
|
+
*/
|
|
196
|
+
Suspended = "suspended",
|
|
197
|
+
/**
|
|
198
|
+
* Product is temporarily blocked
|
|
199
|
+
* Currently not available for any operations due to compliance or legal issues
|
|
200
|
+
*/
|
|
201
|
+
Blocked = "blocked"
|
|
202
|
+
}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProductStatus = exports.ProductType = exports.CatalogType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Drive Product Collection
|
|
6
|
+
*
|
|
7
|
+
* Enum describing the different product categories offered by the platform.
|
|
8
|
+
*
|
|
9
|
+
* Members:
|
|
10
|
+
* * Medical: Product collection represents health checks, medical certificates, and other medical prerequisites required by licensing authorities
|
|
11
|
+
* * Preperation: Theory courses and study materials for the written/theoretical part of the driving test.
|
|
12
|
+
* * Driving: Practical driving lessons and bookings with instructors or schools.
|
|
13
|
+
* * Licence: Products related to issuance, renewal, or management of driving licences
|
|
14
|
+
* * Products related to post-licence training courses for new drivers or for skill enhancement.
|
|
15
|
+
*/
|
|
16
|
+
var CatalogType;
|
|
17
|
+
(function (CatalogType) {
|
|
18
|
+
/**
|
|
19
|
+
* Student Medical Requirement
|
|
20
|
+
* A mandatory step for obtaining a pre-driving licence.
|
|
21
|
+
* This product represents health checks, medical certificates, and other medical prerequisites required by licensing authorities.
|
|
22
|
+
* It acts as a marketplace connecting users with multiple certified medical institutions and practitioners,
|
|
23
|
+
* allowing selection, booking, and issuance of required medical documentation.
|
|
24
|
+
*/
|
|
25
|
+
CatalogType["Medical"] = "medical";
|
|
26
|
+
/**
|
|
27
|
+
* Preperation Training
|
|
28
|
+
* Theory courses and study materials for the written/theoretical part of the driving test.
|
|
29
|
+
* B2C service dedicated for students to prepare for their theory exams.
|
|
30
|
+
* This product is offered for companies as B2B, enabling them to provide theory training to their students.
|
|
31
|
+
*/
|
|
32
|
+
CatalogType["Preperation"] = "preparation";
|
|
33
|
+
/**
|
|
34
|
+
* Practical Training
|
|
35
|
+
* Practical driving lessons and bookings with instructors or schools.
|
|
36
|
+
* B2C service dedicated for students to book and attend practical driving lessons.
|
|
37
|
+
* This product is offered for companies as B2B, enabling them to provide Practical training to their students.
|
|
38
|
+
*/
|
|
39
|
+
CatalogType["Driving"] = "driving";
|
|
40
|
+
/**
|
|
41
|
+
* Driving Licence
|
|
42
|
+
* Products related to issuance, renewal, or management of driving licences.
|
|
43
|
+
* It acts as a marketplace connecting users with several country specific licensing authorities and service providers,
|
|
44
|
+
* allowing selection, booking, and issuance of driving licences.
|
|
45
|
+
*/
|
|
46
|
+
CatalogType["Licence"] = "licence";
|
|
47
|
+
/**
|
|
48
|
+
* Completion Training
|
|
49
|
+
* Products related to post-licence training courses for new drivers or for skill enhancement.
|
|
50
|
+
* This includes advanced driving courses, refresher courses, and other training programs designed to enhance driving skills after obtaining a licence.
|
|
51
|
+
* This product is offered for specific institutions as B2B, enabling them to provide post-licence training to their student.
|
|
52
|
+
*/
|
|
53
|
+
CatalogType["Completion"] = "completion";
|
|
54
|
+
})(CatalogType || (exports.CatalogType = CatalogType = {}));
|
|
55
|
+
var ProductType;
|
|
56
|
+
(function (ProductType) {
|
|
57
|
+
/**
|
|
58
|
+
* Medical Eye Test
|
|
59
|
+
* Vision assessments required for driving licence eligibility.
|
|
60
|
+
* This product focuses on providing eye tests that evaluate a candidate's visual acuity and overall eye health.
|
|
61
|
+
* It is offered as a B2C service for individual users seeking medical clearance for their driving licence applications.
|
|
62
|
+
*/
|
|
63
|
+
ProductType["MedicalEyeTest"] = "MedicalEye";
|
|
64
|
+
/**
|
|
65
|
+
* Medical Hearing Test
|
|
66
|
+
* Hearing assessments required for driving licence eligibility.
|
|
67
|
+
* This product focuses on providing hearing tests that evaluate a candidate's auditory capabilities.
|
|
68
|
+
* It is offered as a B2C service for individual users seeking medical clearance for their driving licence applications.
|
|
69
|
+
*/
|
|
70
|
+
ProductType["MedicalHearingTest"] = "MedicalHearing";
|
|
71
|
+
/**
|
|
72
|
+
* Medical General Examination
|
|
73
|
+
* Comprehensive health assessments required for driving licence eligibility.
|
|
74
|
+
* This product focuses on providing medical examinations that evaluate a candidate's physical fitness to drive.
|
|
75
|
+
* It is offered as a B2C service for individual users seeking medical clearance for their driving licence applications.
|
|
76
|
+
*/
|
|
77
|
+
ProductType["MedicalGeneral"] = "MedicalGeneral";
|
|
78
|
+
/**
|
|
79
|
+
* Medical Psychological Examination
|
|
80
|
+
* Psychological assessments required for driving licence eligibility.
|
|
81
|
+
* This product focuses on providing psychological evaluations that assess a candidate's mental fitness to drive.
|
|
82
|
+
* It is offered as a B2C service for individual users seeking medical clearance for their driving licence applications.
|
|
83
|
+
*/
|
|
84
|
+
ProductType["MedicalPsychological"] = "MedicalPsychological";
|
|
85
|
+
/**
|
|
86
|
+
* Other Medical Service
|
|
87
|
+
* Miscellaneous medical services not categorized elsewhere.
|
|
88
|
+
* This product focuses on additional medical requirements that may arise for driving licence applicants.
|
|
89
|
+
* It is offered as a B2C service for individual users seeking various medical clearances for their driving licence applications.
|
|
90
|
+
*/
|
|
91
|
+
ProductType["MedicalOther"] = "MedicalOther";
|
|
92
|
+
/**
|
|
93
|
+
* First Aid Course
|
|
94
|
+
* Mandatory first aid training for new drivers.
|
|
95
|
+
* This product focuses on providing essential first aid skills required by law for obtaining a driving licence.
|
|
96
|
+
* It is offered as a B2B service for driving schools and institutions that provide first aid courses.
|
|
97
|
+
*/
|
|
98
|
+
ProductType["PreperationFirstAid"] = "PreperationFirstAid";
|
|
99
|
+
/**
|
|
100
|
+
* Traffic Study Course
|
|
101
|
+
* Theoretical traffic rules and regulations training.
|
|
102
|
+
* This product focuses on educating students about traffic laws, road signs, and safe driving practices.
|
|
103
|
+
* It is offered as a B2B service for driving schools and institutions that provide theory training.
|
|
104
|
+
*/
|
|
105
|
+
ProductType["PreperationTrafficStudy"] = "PreperationTrafficStudy";
|
|
106
|
+
/**
|
|
107
|
+
* Theory Study Course
|
|
108
|
+
* Preparation courses for the theoretical driving test.
|
|
109
|
+
* This product focuses on helping students prepare for their theory exams through practice tests, study materials, and mock exams.
|
|
110
|
+
* It is offered as a B2B service for driving schools and institutions that provide exam preparation courses.
|
|
111
|
+
*/
|
|
112
|
+
ProductType["PreperationTheoryStudy"] = "PreperationTheoryStudy";
|
|
113
|
+
/**
|
|
114
|
+
* Other Pre-Practical Training
|
|
115
|
+
* Miscellaneous pre-driving training courses not categorized elsewhere.
|
|
116
|
+
* This product focuses on additional training needs that may arise for students preparing for their driving tests.
|
|
117
|
+
* It is offered as a B2B service for driving schools and institutions that provide various pre-driving training courses.
|
|
118
|
+
*/
|
|
119
|
+
ProductType["PreperationOther"] = "PreperationOther";
|
|
120
|
+
/**
|
|
121
|
+
* Motorcycle Training
|
|
122
|
+
* Practical driving lessons for motorcycle licences.
|
|
123
|
+
* This product focuses on providing hands-on training for individuals seeking to obtain a motorcycle driving licence.
|
|
124
|
+
* It is offered as a B2C service for individual students booking lessons with motorcycle instructors.
|
|
125
|
+
*/
|
|
126
|
+
ProductType["DrivingMotorcycle"] = "DrivingMotorcycle";
|
|
127
|
+
/**
|
|
128
|
+
* Car Training
|
|
129
|
+
* Practical driving lessons for car licences.
|
|
130
|
+
* This product focuses on providing hands-on training for individuals seeking to obtain a car driving licence.
|
|
131
|
+
* It is offered as a B2C service for individual students booking lessons with car instructors.
|
|
132
|
+
*/
|
|
133
|
+
ProductType["DrivingCar"] = "DrivingCar";
|
|
134
|
+
/**
|
|
135
|
+
* Truck Training
|
|
136
|
+
* Practical driving lessons for truck licences.
|
|
137
|
+
* This product focuses on providing hands-on training for individuals seeking to obtain a truck driving licence.
|
|
138
|
+
* It is offered as a B2C service for individual students booking lessons with truck instructors.
|
|
139
|
+
*/
|
|
140
|
+
ProductType["DrivingTruck"] = "DrivingTruck";
|
|
141
|
+
/**
|
|
142
|
+
* Pre.Practical Licence
|
|
143
|
+
* Products related to issuance, renewal, or management of student driving licences.
|
|
144
|
+
* It acts as a marketplace connecting users with several country specific licensing authorities and service providers,
|
|
145
|
+
* allowin selection, booking, and issuance of student driving licences.
|
|
146
|
+
*/
|
|
147
|
+
ProductType["LicenceStudent"] = "LicenceStudent";
|
|
148
|
+
/**
|
|
149
|
+
* Probationary Driving Licence
|
|
150
|
+
* Products related to issuance, renewal, or management of probationary driving licences.
|
|
151
|
+
* It acts as a marketplace connecting users with several country specific licensing authorities and service providers,
|
|
152
|
+
* allowing selection, booking, and issuance of probationary driving licences.
|
|
153
|
+
*/
|
|
154
|
+
ProductType["LicenceProbationary"] = "LicenceProbationary";
|
|
155
|
+
/**
|
|
156
|
+
* Permanent Licence
|
|
157
|
+
* Products related to issuance, renewal, or management of permanent driving licences.
|
|
158
|
+
* It acts as a marketplace connecting users with several country specific licensing authorities and service providers,
|
|
159
|
+
* allowing selection, booking, and issuance of permanent driving licences.
|
|
160
|
+
*/
|
|
161
|
+
ProductType["LicencePermanent"] = "LicencePermanent";
|
|
162
|
+
/**
|
|
163
|
+
* Licence Completion Course
|
|
164
|
+
* Mandatory courses for new drivers to complete their probationary period.
|
|
165
|
+
* This product focuses on fulfilling legal requirements for new drivers through specific training sessions.
|
|
166
|
+
* It is offered as a B2B service for driving schools and institutions that provide licence completion courses.
|
|
167
|
+
*/
|
|
168
|
+
ProductType["CompletionTraning"] = "CompletionTraning";
|
|
169
|
+
/**
|
|
170
|
+
* Driving Skills Enhancement
|
|
171
|
+
* Advanced driving courses and skill enhancement programs.
|
|
172
|
+
* This product focuses on improving driving skills for licensed drivers through specialized training sessions.
|
|
173
|
+
* It is offered as a B2C service for individual drivers seeking to enhance their driving abilities.
|
|
174
|
+
*/
|
|
175
|
+
ProductType["CompletionEnhancement"] = "CompletionEnhancement";
|
|
176
|
+
/**
|
|
177
|
+
* Post-Practical Training certificate
|
|
178
|
+
* Miscellaneous post-licence training courses not categorized elsewhere.
|
|
179
|
+
* This product focuses on additional training needs that may arise for licensed drivers.
|
|
180
|
+
* It is offered as a B2B service for driving schools and institutions that provide various post-licence training courses.
|
|
181
|
+
*/
|
|
182
|
+
ProductType["CompletionCertificate"] = "CompletionCertificate";
|
|
183
|
+
})(ProductType || (exports.ProductType = ProductType = {}));
|
|
184
|
+
/**
|
|
185
|
+
* Company product Status
|
|
186
|
+
* Use this status to manage the availability and operational state of products within the platform.
|
|
187
|
+
*/
|
|
188
|
+
var ProductStatus;
|
|
189
|
+
(function (ProductStatus) {
|
|
190
|
+
/**
|
|
191
|
+
* Product is active and available for purchase
|
|
192
|
+
*/
|
|
193
|
+
ProductStatus["Active"] = "active";
|
|
194
|
+
/**
|
|
195
|
+
* Product is inactive and not available for purchase
|
|
196
|
+
*/
|
|
197
|
+
ProductStatus["Inactive"] = "inactive";
|
|
198
|
+
/**
|
|
199
|
+
* Product is temporarily suspended
|
|
200
|
+
* Currently not available for new purchases but may be reactivated later
|
|
201
|
+
*/
|
|
202
|
+
ProductStatus["Suspended"] = "suspended";
|
|
203
|
+
/**
|
|
204
|
+
* Product is temporarily blocked
|
|
205
|
+
* Currently not available for any operations due to compliance or legal issues
|
|
206
|
+
*/
|
|
207
|
+
ProductStatus["Blocked"] = "blocked";
|
|
208
|
+
})(ProductStatus || (exports.ProductStatus = ProductStatus = {}));
|
|
209
|
+
//# sourceMappingURL=product.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.type.js","sourceRoot":"","sources":["../../src/types/product.type.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;GAWG;AACH,IAAY,WA0CX;AA1CD,WAAY,WAAW;IAEtB;;;;;;OAMG;IACH,kCAAmB,CAAA;IAEnB;;;;;OAKG;IACH,0CAA2B,CAAA;IAE3B;;;;;OAKG;IACH,kCAAmB,CAAA;IAEnB;;;;;OAKG;IACH,kCAAmB,CAAA;IAEnB;;;;;OAKG;IACH,wCAAyB,CAAA;AAC1B,CAAC,EA1CW,WAAW,2BAAX,WAAW,QA0CtB;AAED,IAAY,WAiJX;AAjJD,WAAY,WAAW;IAEtB;;;;;OAKG;IACH,4CAA6B,CAAA;IAE7B;;;;;OAKG;IACH,oDAAqC,CAAA;IAErC;;;;;OAKG;IACH,gDAAiC,CAAA;IAEjC;;;;;OAKG;IACH,4DAA6C,CAAA;IAE7C;;;;;OAKG;IACH,4CAA6B,CAAA;IAE7B;;;;;OAKG;IACH,0DAA2C,CAAA;IAE3C;;;;;OAKG;IACH,kEAAmD,CAAA;IAEnD;;;;;OAKG;IACH,gEAAiD,CAAA;IAEjD;;;;;OAKG;IACH,oDAAqC,CAAA;IAErC;;;;;OAKG;IACH,sDAAuC,CAAA;IAEvC;;;;;OAKG;IACH,wCAAyB,CAAA;IAEzB;;;;;OAKG;IACH,4CAA6B,CAAA;IAE7B;;;;;OAKG;IACH,gDAAiC,CAAA;IAEjC;;;;;OAKG;IACH,0DAA2C,CAAA;IAE3C;;;;;OAKG;IACH,oDAAqC,CAAA;IAErC;;;;;OAKG;IACH,sDAAuC,CAAA;IAEvC;;;;;OAKG;IACH,8DAA+C,CAAA;IAE/C;;;;;OAKG;IACH,8DAA+C,CAAA;AAChD,CAAC,EAjJW,WAAW,2BAAX,WAAW,QAiJtB;AAED;;;GAGG;AACH,IAAY,aAsBX;AAtBD,WAAY,aAAa;IACxB;;OAEG;IACH,kCAAiB,CAAA;IAEjB;;OAEG;IACH,sCAAqB,CAAA;IAErB;;;OAGG;IACH,wCAAuB,CAAA;IAEvB;;;OAGG;IACH,oCAAmB,CAAA;AACpB,CAAC,EAtBW,aAAa,6BAAb,aAAa,QAsBxB"}
|