@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,46 @@
|
|
|
1
|
+
export declare enum ActivityType {
|
|
2
|
+
createdBy = "createdBy",
|
|
3
|
+
createdOn = "createdOn",
|
|
4
|
+
updatedBy = "updatedBy",
|
|
5
|
+
updatedOn = "updatedOn",
|
|
6
|
+
closedBy = "closedBy",
|
|
7
|
+
closedOn = "closedOn",
|
|
8
|
+
endedBy = "endedBy",
|
|
9
|
+
endedOn = "endedOn",
|
|
10
|
+
canceledBy = "canceledBy",
|
|
11
|
+
canceledOn = "canceledOn",
|
|
12
|
+
blockedBy = "blockedBy",
|
|
13
|
+
blockedOn = "blockedOn",
|
|
14
|
+
activatedBy = "activatedBy",
|
|
15
|
+
activatedOn = "activatedOn",
|
|
16
|
+
deactivatedBy = "deactivatedBy",
|
|
17
|
+
deactivatedOn = "deactivatedOn",
|
|
18
|
+
enabledBy = "enabledBy",
|
|
19
|
+
enabledOn = "enabledOn",
|
|
20
|
+
disabledBy = "disabledBy",
|
|
21
|
+
disabledOn = "disabledOn",
|
|
22
|
+
completedBy = "completedBy",
|
|
23
|
+
completedOn = "completedOn",
|
|
24
|
+
terminatedBy = "terminatedBy",
|
|
25
|
+
terminatedOn = "terminatedOn",
|
|
26
|
+
acceptedBy = "acceptedBy",
|
|
27
|
+
acceptedOn = "acceptedOn",
|
|
28
|
+
rejectedBy = "rejectedBy",
|
|
29
|
+
rejectedOn = "rejectedOn",
|
|
30
|
+
approvedBy = "approvedBy",
|
|
31
|
+
approvedOn = "approvedOn",
|
|
32
|
+
skippedBy = "skippedBy",
|
|
33
|
+
skippedOn = "skippedOn",
|
|
34
|
+
publishedBy = "publishedBy",
|
|
35
|
+
publishedOn = "publishedOn",
|
|
36
|
+
invitedBy = "invitedBy",
|
|
37
|
+
invitedOn = "invitedOn",
|
|
38
|
+
generatedBy = "generatedBy",
|
|
39
|
+
generatedOn = "generatedOn",
|
|
40
|
+
registredBy = "registredBy",
|
|
41
|
+
registredOn = "registredOn",
|
|
42
|
+
paidBy = "paidBy",
|
|
43
|
+
paidOn = "paidOn",
|
|
44
|
+
failedOn = "failedOn",
|
|
45
|
+
pendingOn = "pendingOn"
|
|
46
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActivityType = void 0;
|
|
4
|
+
var ActivityType;
|
|
5
|
+
(function (ActivityType) {
|
|
6
|
+
ActivityType["createdBy"] = "createdBy";
|
|
7
|
+
ActivityType["createdOn"] = "createdOn";
|
|
8
|
+
ActivityType["updatedBy"] = "updatedBy";
|
|
9
|
+
ActivityType["updatedOn"] = "updatedOn";
|
|
10
|
+
ActivityType["closedBy"] = "closedBy";
|
|
11
|
+
ActivityType["closedOn"] = "closedOn";
|
|
12
|
+
ActivityType["endedBy"] = "endedBy";
|
|
13
|
+
ActivityType["endedOn"] = "endedOn";
|
|
14
|
+
ActivityType["canceledBy"] = "canceledBy";
|
|
15
|
+
ActivityType["canceledOn"] = "canceledOn";
|
|
16
|
+
ActivityType["blockedBy"] = "blockedBy";
|
|
17
|
+
ActivityType["blockedOn"] = "blockedOn";
|
|
18
|
+
ActivityType["activatedBy"] = "activatedBy";
|
|
19
|
+
ActivityType["activatedOn"] = "activatedOn";
|
|
20
|
+
ActivityType["deactivatedBy"] = "deactivatedBy";
|
|
21
|
+
ActivityType["deactivatedOn"] = "deactivatedOn";
|
|
22
|
+
ActivityType["enabledBy"] = "enabledBy";
|
|
23
|
+
ActivityType["enabledOn"] = "enabledOn";
|
|
24
|
+
ActivityType["disabledBy"] = "disabledBy";
|
|
25
|
+
ActivityType["disabledOn"] = "disabledOn";
|
|
26
|
+
ActivityType["completedBy"] = "completedBy";
|
|
27
|
+
ActivityType["completedOn"] = "completedOn";
|
|
28
|
+
ActivityType["terminatedBy"] = "terminatedBy";
|
|
29
|
+
ActivityType["terminatedOn"] = "terminatedOn";
|
|
30
|
+
ActivityType["acceptedBy"] = "acceptedBy";
|
|
31
|
+
ActivityType["acceptedOn"] = "acceptedOn";
|
|
32
|
+
ActivityType["rejectedBy"] = "rejectedBy";
|
|
33
|
+
ActivityType["rejectedOn"] = "rejectedOn";
|
|
34
|
+
ActivityType["approvedBy"] = "approvedBy";
|
|
35
|
+
ActivityType["approvedOn"] = "approvedOn";
|
|
36
|
+
ActivityType["skippedBy"] = "skippedBy";
|
|
37
|
+
ActivityType["skippedOn"] = "skippedOn";
|
|
38
|
+
ActivityType["publishedBy"] = "publishedBy";
|
|
39
|
+
ActivityType["publishedOn"] = "publishedOn";
|
|
40
|
+
ActivityType["invitedBy"] = "invitedBy";
|
|
41
|
+
ActivityType["invitedOn"] = "invitedOn";
|
|
42
|
+
ActivityType["generatedBy"] = "generatedBy";
|
|
43
|
+
ActivityType["generatedOn"] = "generatedOn";
|
|
44
|
+
ActivityType["registredBy"] = "registredBy";
|
|
45
|
+
ActivityType["registredOn"] = "registredOn";
|
|
46
|
+
ActivityType["paidBy"] = "paidBy";
|
|
47
|
+
ActivityType["paidOn"] = "paidOn";
|
|
48
|
+
ActivityType["failedOn"] = "failedOn";
|
|
49
|
+
ActivityType["pendingOn"] = "pendingOn";
|
|
50
|
+
})(ActivityType || (exports.ActivityType = ActivityType = {}));
|
|
51
|
+
//# sourceMappingURL=activity.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity.type.js","sourceRoot":"","sources":["../../src/types/activity.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,YA6CX;AA7CD,WAAY,YAAY;IACvB,uCAAwB,CAAA;IACxB,uCAAwB,CAAA;IACxB,uCAAwB,CAAA;IACxB,uCAAwB,CAAA;IACxB,qCAAuB,CAAA;IACvB,qCAAuB,CAAA;IACvB,mCAAsB,CAAA;IACtB,mCAAsB,CAAA;IACtB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,2CAA4B,CAAA;IAC5B,2CAA4B,CAAA;IAC5B,+CAA+B,CAAA;IAC/B,+CAA+B,CAAA;IAC/B,uCAAwB,CAAA;IACxB,uCAAwB,CAAA;IACxB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,6CAA6B,CAAA;IAC7B,6CAA6B,CAAA;IAC7B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;AACxB,CAAC,EA7CW,YAAY,4BAAZ,YAAY,QA6CvB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare enum AddonType {
|
|
2
|
+
/**
|
|
3
|
+
* Enrollment request sent by student to join a training
|
|
4
|
+
*/
|
|
5
|
+
StudentRequestEnrollment = "StudentRequestEnrollment",
|
|
6
|
+
/**
|
|
7
|
+
* Allows students to manage their own training appointments
|
|
8
|
+
*/
|
|
9
|
+
StudentManageTrainingAppointments = "StudentManageTrainingAppointments",
|
|
10
|
+
/**
|
|
11
|
+
* Reminds students about upcoming appointments
|
|
12
|
+
*/
|
|
13
|
+
StudentAppointmentReminder = "StudentAppointmentReminder",
|
|
14
|
+
/**
|
|
15
|
+
* Reminds instructors about upcoming appointments
|
|
16
|
+
*/
|
|
17
|
+
InstructorAppointmentReminder = "InstructorAppointmentReminder",
|
|
18
|
+
/**
|
|
19
|
+
* Protection in case a student does not show up for a booked appointment
|
|
20
|
+
*/
|
|
21
|
+
StudentNoShowProtection = "StudentNoShowProtection",
|
|
22
|
+
/**
|
|
23
|
+
* Protection in case an instructor does not show up for a booked appointment
|
|
24
|
+
*/
|
|
25
|
+
InstructorNoShowProtection = "InstructorNoShowProtection",
|
|
26
|
+
/**
|
|
27
|
+
* Package of extra lessons that can be booked in addition to the main product
|
|
28
|
+
*/
|
|
29
|
+
ExtraLessonPackage = "ExtraLessonPackage",
|
|
30
|
+
/**
|
|
31
|
+
* Allows students to reschedule their booked appointments
|
|
32
|
+
*/
|
|
33
|
+
RescheduleProtection = "RescheduleProtection",
|
|
34
|
+
/**
|
|
35
|
+
* Package to prepare students for their final exam
|
|
36
|
+
*/
|
|
37
|
+
ExamPreparationPackage = "ExamPreparationPackage",
|
|
38
|
+
/**
|
|
39
|
+
* Package of financing options for products
|
|
40
|
+
*/
|
|
41
|
+
FinancePackage = "FinancePackage",
|
|
42
|
+
/**
|
|
43
|
+
* Package of assessments for products to track progress or performance
|
|
44
|
+
*/
|
|
45
|
+
AssessmentPackage = "AssessmentPackage",
|
|
46
|
+
/**
|
|
47
|
+
* Package of reports for products to track progress or performance
|
|
48
|
+
*/
|
|
49
|
+
ReportsPackage = "ReportsPackage",
|
|
50
|
+
/**
|
|
51
|
+
* Improves the visibility of the profile in search engines
|
|
52
|
+
*/
|
|
53
|
+
SearchEngineVisibility = "SearchEngineVisibility",
|
|
54
|
+
/**
|
|
55
|
+
* Boosts the visibility of the profile in search engines
|
|
56
|
+
*/
|
|
57
|
+
SearchEngineVisibilityBoost = "SearchEngineVisibilityBoost",
|
|
58
|
+
/**
|
|
59
|
+
* Homepage package of profile on driveup platform
|
|
60
|
+
*/
|
|
61
|
+
HomepagePackage = "HomepagePackage",
|
|
62
|
+
/**
|
|
63
|
+
* API access package to integrate with driveup platform
|
|
64
|
+
*/
|
|
65
|
+
OpenApiAccessPackage = "OpenApiAccessPackage"
|
|
66
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddonType = void 0;
|
|
4
|
+
var AddonType;
|
|
5
|
+
(function (AddonType) {
|
|
6
|
+
/**
|
|
7
|
+
* Enrollment request sent by student to join a training
|
|
8
|
+
*/
|
|
9
|
+
AddonType["StudentRequestEnrollment"] = "StudentRequestEnrollment";
|
|
10
|
+
/**
|
|
11
|
+
* Allows students to manage their own training appointments
|
|
12
|
+
*/
|
|
13
|
+
AddonType["StudentManageTrainingAppointments"] = "StudentManageTrainingAppointments";
|
|
14
|
+
/**
|
|
15
|
+
* Reminds students about upcoming appointments
|
|
16
|
+
*/
|
|
17
|
+
AddonType["StudentAppointmentReminder"] = "StudentAppointmentReminder";
|
|
18
|
+
/**
|
|
19
|
+
* Reminds instructors about upcoming appointments
|
|
20
|
+
*/
|
|
21
|
+
AddonType["InstructorAppointmentReminder"] = "InstructorAppointmentReminder";
|
|
22
|
+
/**
|
|
23
|
+
* Protection in case a student does not show up for a booked appointment
|
|
24
|
+
*/
|
|
25
|
+
AddonType["StudentNoShowProtection"] = "StudentNoShowProtection";
|
|
26
|
+
/**
|
|
27
|
+
* Protection in case an instructor does not show up for a booked appointment
|
|
28
|
+
*/
|
|
29
|
+
AddonType["InstructorNoShowProtection"] = "InstructorNoShowProtection";
|
|
30
|
+
/**
|
|
31
|
+
* Package of extra lessons that can be booked in addition to the main product
|
|
32
|
+
*/
|
|
33
|
+
AddonType["ExtraLessonPackage"] = "ExtraLessonPackage";
|
|
34
|
+
/**
|
|
35
|
+
* Allows students to reschedule their booked appointments
|
|
36
|
+
*/
|
|
37
|
+
AddonType["RescheduleProtection"] = "RescheduleProtection";
|
|
38
|
+
/**
|
|
39
|
+
* Package to prepare students for their final exam
|
|
40
|
+
*/
|
|
41
|
+
AddonType["ExamPreparationPackage"] = "ExamPreparationPackage";
|
|
42
|
+
/**
|
|
43
|
+
* Package of financing options for products
|
|
44
|
+
*/
|
|
45
|
+
AddonType["FinancePackage"] = "FinancePackage";
|
|
46
|
+
/**
|
|
47
|
+
* Package of assessments for products to track progress or performance
|
|
48
|
+
*/
|
|
49
|
+
AddonType["AssessmentPackage"] = "AssessmentPackage";
|
|
50
|
+
/**
|
|
51
|
+
* Package of reports for products to track progress or performance
|
|
52
|
+
*/
|
|
53
|
+
AddonType["ReportsPackage"] = "ReportsPackage";
|
|
54
|
+
/**
|
|
55
|
+
* Improves the visibility of the profile in search engines
|
|
56
|
+
*/
|
|
57
|
+
AddonType["SearchEngineVisibility"] = "SearchEngineVisibility";
|
|
58
|
+
/**
|
|
59
|
+
* Boosts the visibility of the profile in search engines
|
|
60
|
+
*/
|
|
61
|
+
AddonType["SearchEngineVisibilityBoost"] = "SearchEngineVisibilityBoost";
|
|
62
|
+
/**
|
|
63
|
+
* Homepage package of profile on driveup platform
|
|
64
|
+
*/
|
|
65
|
+
AddonType["HomepagePackage"] = "HomepagePackage";
|
|
66
|
+
/**
|
|
67
|
+
* API access package to integrate with driveup platform
|
|
68
|
+
*/
|
|
69
|
+
AddonType["OpenApiAccessPackage"] = "OpenApiAccessPackage";
|
|
70
|
+
})(AddonType || (exports.AddonType = AddonType = {}));
|
|
71
|
+
//# sourceMappingURL=addon.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addon.type.js","sourceRoot":"","sources":["../../src/types/addon.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAiFX;AAjFD,WAAY,SAAS;IAEpB;;OAEG;IACH,kEAAqD,CAAA;IAErD;;OAEG;IACH,oFAAuE,CAAA;IAEvE;;OAEG;IACH,sEAAyD,CAAA;IAEzD;;OAEG;IACH,4EAA+D,CAAA;IAE/D;;OAEG;IACH,gEAAmD,CAAA;IAEnD;;OAEG;IACH,sEAAyD,CAAA;IAEzD;;OAEG;IACH,sDAAyC,CAAA;IAEzC;;OAEG;IACH,0DAA6C,CAAA;IAE7C;;OAEG;IACH,8DAAiD,CAAA;IAEjD;;OAEG;IACH,8CAAiC,CAAA;IAEjC;;OAEG;IACH,oDAAuC,CAAA;IAEvC;;OAEG;IACH,8CAAiC,CAAA;IAEjC;;OAEG;IACH,8DAAiD,CAAA;IAEjD;;OAEG;IACH,wEAA2D,CAAA;IAE3D;;OAEG;IACH,gDAAmC,CAAA;IAEnC;;OAEG;IACH,0DAA6C,CAAA;AAC9C,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum AppointmentType {
|
|
2
|
+
Medical = "medical",
|
|
3
|
+
Course = "course",
|
|
4
|
+
Driving = "driving",
|
|
5
|
+
Task = "task",
|
|
6
|
+
NonWorking = "nonworking",
|
|
7
|
+
Holiday = "holiday",
|
|
8
|
+
OffDay = "offday"
|
|
9
|
+
}
|
|
10
|
+
export declare enum AppointmentRepetition {
|
|
11
|
+
None = "none",
|
|
12
|
+
Daily = "daily",
|
|
13
|
+
Weekly = "weekly",
|
|
14
|
+
Monthly = "monthly"
|
|
15
|
+
}
|
|
16
|
+
export declare enum WeekDay {
|
|
17
|
+
Monday = "monday",
|
|
18
|
+
Tuesday = "tuesday",
|
|
19
|
+
Wednesday = "wednesday",
|
|
20
|
+
Thursday = "thursday",
|
|
21
|
+
Friday = "friday",
|
|
22
|
+
Saturday = "saturday",
|
|
23
|
+
Sunday = "sunday"
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WeekDay = exports.AppointmentRepetition = exports.AppointmentType = void 0;
|
|
4
|
+
var AppointmentType;
|
|
5
|
+
(function (AppointmentType) {
|
|
6
|
+
AppointmentType["Medical"] = "medical";
|
|
7
|
+
AppointmentType["Course"] = "course";
|
|
8
|
+
AppointmentType["Driving"] = "driving";
|
|
9
|
+
AppointmentType["Task"] = "task";
|
|
10
|
+
AppointmentType["NonWorking"] = "nonworking";
|
|
11
|
+
AppointmentType["Holiday"] = "holiday";
|
|
12
|
+
AppointmentType["OffDay"] = "offday";
|
|
13
|
+
})(AppointmentType || (exports.AppointmentType = AppointmentType = {}));
|
|
14
|
+
var AppointmentRepetition;
|
|
15
|
+
(function (AppointmentRepetition) {
|
|
16
|
+
AppointmentRepetition["None"] = "none";
|
|
17
|
+
AppointmentRepetition["Daily"] = "daily";
|
|
18
|
+
AppointmentRepetition["Weekly"] = "weekly";
|
|
19
|
+
AppointmentRepetition["Monthly"] = "monthly";
|
|
20
|
+
})(AppointmentRepetition || (exports.AppointmentRepetition = AppointmentRepetition = {}));
|
|
21
|
+
var WeekDay;
|
|
22
|
+
(function (WeekDay) {
|
|
23
|
+
WeekDay["Monday"] = "monday";
|
|
24
|
+
WeekDay["Tuesday"] = "tuesday";
|
|
25
|
+
WeekDay["Wednesday"] = "wednesday";
|
|
26
|
+
WeekDay["Thursday"] = "thursday";
|
|
27
|
+
WeekDay["Friday"] = "friday";
|
|
28
|
+
WeekDay["Saturday"] = "saturday";
|
|
29
|
+
WeekDay["Sunday"] = "sunday";
|
|
30
|
+
})(WeekDay || (exports.WeekDay = WeekDay = {}));
|
|
31
|
+
//# sourceMappingURL=calendar.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.type.js","sourceRoot":"","sources":["../../src/types/calendar.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAQX;AARD,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,gCAAa,CAAA;IACb,4CAAyB,CAAA;IACtB,sCAAmB,CAAA;IACtB,oCAAiB,CAAA;AAClB,CAAC,EARW,eAAe,+BAAf,eAAe,QAQ1B;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACpB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC;AAED,IAAY,OAQX;AARD,WAAY,OAAO;IAClB,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IACnB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;IACjB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;AAClB,CAAC,EARW,OAAO,uBAAP,OAAO,QAQlB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CarTransmission = exports.Score = void 0;
|
|
4
|
+
var Score;
|
|
5
|
+
(function (Score) {
|
|
6
|
+
Score[Score["NoScoreSubmitted"] = 0] = "NoScoreSubmitted";
|
|
7
|
+
Score[Score["Poor"] = 1] = "Poor";
|
|
8
|
+
Score[Score["Weak"] = 2] = "Weak";
|
|
9
|
+
Score[Score["Fair"] = 3] = "Fair";
|
|
10
|
+
Score[Score["Great"] = 4] = "Great";
|
|
11
|
+
Score[Score["Excellent"] = 5] = "Excellent";
|
|
12
|
+
})(Score || (exports.Score = Score = {}));
|
|
13
|
+
var CarTransmission;
|
|
14
|
+
(function (CarTransmission) {
|
|
15
|
+
CarTransmission["Automatic"] = "automatic";
|
|
16
|
+
CarTransmission["Manual"] = "manual";
|
|
17
|
+
})(CarTransmission || (exports.CarTransmission = CarTransmission = {}));
|
|
18
|
+
//# sourceMappingURL=driving.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"driving.type.js","sourceRoot":"","sources":["../../src/types/driving.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,KAOX;AAPD,WAAY,KAAK;IAChB,yDAAoB,CAAA;IACpB,iCAAQ,CAAA;IACR,iCAAQ,CAAA;IACR,iCAAQ,CAAA;IACR,mCAAS,CAAA;IACT,2CAAa,CAAA;AACd,CAAC,EAPW,KAAK,qBAAL,KAAK,QAOhB;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"earning.type.js","sourceRoot":"","sources":["../../src/types/earning.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare enum BillStatus {
|
|
2
|
+
Open = "open",
|
|
3
|
+
Paid = "paid",
|
|
4
|
+
Unpaid = "unpaid"
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Payment types available
|
|
8
|
+
* Members: Cash, Online, Invoice
|
|
9
|
+
*/
|
|
10
|
+
export declare enum PaymentType {
|
|
11
|
+
/**
|
|
12
|
+
* Cash paid
|
|
13
|
+
*/
|
|
14
|
+
Cash = "cash",
|
|
15
|
+
/**
|
|
16
|
+
* Online paid
|
|
17
|
+
*/
|
|
18
|
+
Online = "online",
|
|
19
|
+
/**
|
|
20
|
+
* Paid by invoice
|
|
21
|
+
*/
|
|
22
|
+
Invoice = "invoice"
|
|
23
|
+
}
|
|
24
|
+
export declare enum TransactionType {
|
|
25
|
+
/**
|
|
26
|
+
* Online payment transaction
|
|
27
|
+
*/
|
|
28
|
+
Payment = "payment",
|
|
29
|
+
/**
|
|
30
|
+
* Refund issued to student
|
|
31
|
+
*/
|
|
32
|
+
Refund = "refund",
|
|
33
|
+
/**
|
|
34
|
+
* Discount applied to student
|
|
35
|
+
*/
|
|
36
|
+
Discount = "discount",
|
|
37
|
+
/**
|
|
38
|
+
* Student exspense like exam coste
|
|
39
|
+
*/
|
|
40
|
+
Expense = "expense",
|
|
41
|
+
/**
|
|
42
|
+
* Administration fee charged to student
|
|
43
|
+
*/
|
|
44
|
+
Administration = "administration",
|
|
45
|
+
/**
|
|
46
|
+
* Cancelation transaction for previous payment
|
|
47
|
+
*/
|
|
48
|
+
Cancelation = "cancelation"
|
|
49
|
+
}
|
|
50
|
+
export declare enum TaxType {
|
|
51
|
+
VAT = "vat",
|
|
52
|
+
GST = "gst",
|
|
53
|
+
SALES_TAX = "sales_tax",
|
|
54
|
+
SERVICE_TAX = "service_tax",
|
|
55
|
+
OTHER = "other"
|
|
56
|
+
}
|
|
57
|
+
export declare enum PaymentProvider {
|
|
58
|
+
Stripe = "stripe"
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @description Use ProductType in next version
|
|
62
|
+
*/
|
|
63
|
+
export declare enum CompanyBillItemType {
|
|
64
|
+
StudentTraining = "bill.item.studentTraining",
|
|
65
|
+
InstructorSubscription = "bill.item.instructorSubscription",
|
|
66
|
+
EnterpriseSeats = "bill.item.enterpriseSeats"
|
|
67
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyBillItemType = exports.PaymentProvider = exports.TaxType = exports.TransactionType = exports.PaymentType = exports.BillStatus = void 0;
|
|
4
|
+
var BillStatus;
|
|
5
|
+
(function (BillStatus) {
|
|
6
|
+
BillStatus["Open"] = "open";
|
|
7
|
+
BillStatus["Paid"] = "paid";
|
|
8
|
+
BillStatus["Unpaid"] = "unpaid";
|
|
9
|
+
})(BillStatus || (exports.BillStatus = BillStatus = {}));
|
|
10
|
+
/**
|
|
11
|
+
* Payment types available
|
|
12
|
+
* Members: Cash, Online, Invoice
|
|
13
|
+
*/
|
|
14
|
+
var PaymentType;
|
|
15
|
+
(function (PaymentType) {
|
|
16
|
+
/**
|
|
17
|
+
* Cash paid
|
|
18
|
+
*/
|
|
19
|
+
PaymentType["Cash"] = "cash";
|
|
20
|
+
/**
|
|
21
|
+
* Online paid
|
|
22
|
+
*/
|
|
23
|
+
PaymentType["Online"] = "online";
|
|
24
|
+
/**
|
|
25
|
+
* Paid by invoice
|
|
26
|
+
*/
|
|
27
|
+
PaymentType["Invoice"] = "invoice";
|
|
28
|
+
})(PaymentType || (exports.PaymentType = PaymentType = {}));
|
|
29
|
+
var TransactionType;
|
|
30
|
+
(function (TransactionType) {
|
|
31
|
+
/**
|
|
32
|
+
* Online payment transaction
|
|
33
|
+
*/
|
|
34
|
+
TransactionType["Payment"] = "payment";
|
|
35
|
+
/**
|
|
36
|
+
* Refund issued to student
|
|
37
|
+
*/
|
|
38
|
+
TransactionType["Refund"] = "refund";
|
|
39
|
+
/**
|
|
40
|
+
* Discount applied to student
|
|
41
|
+
*/
|
|
42
|
+
TransactionType["Discount"] = "discount";
|
|
43
|
+
/**
|
|
44
|
+
* Student exspense like exam coste
|
|
45
|
+
*/
|
|
46
|
+
TransactionType["Expense"] = "expense";
|
|
47
|
+
/**
|
|
48
|
+
* Administration fee charged to student
|
|
49
|
+
*/
|
|
50
|
+
TransactionType["Administration"] = "administration";
|
|
51
|
+
/**
|
|
52
|
+
* Cancelation transaction for previous payment
|
|
53
|
+
*/
|
|
54
|
+
TransactionType["Cancelation"] = "cancelation";
|
|
55
|
+
})(TransactionType || (exports.TransactionType = TransactionType = {}));
|
|
56
|
+
var TaxType;
|
|
57
|
+
(function (TaxType) {
|
|
58
|
+
TaxType["VAT"] = "vat";
|
|
59
|
+
TaxType["GST"] = "gst";
|
|
60
|
+
TaxType["SALES_TAX"] = "sales_tax";
|
|
61
|
+
TaxType["SERVICE_TAX"] = "service_tax";
|
|
62
|
+
TaxType["OTHER"] = "other";
|
|
63
|
+
})(TaxType || (exports.TaxType = TaxType = {}));
|
|
64
|
+
var PaymentProvider;
|
|
65
|
+
(function (PaymentProvider) {
|
|
66
|
+
PaymentProvider["Stripe"] = "stripe";
|
|
67
|
+
})(PaymentProvider || (exports.PaymentProvider = PaymentProvider = {}));
|
|
68
|
+
/**
|
|
69
|
+
* @description Use ProductType in next version
|
|
70
|
+
*/
|
|
71
|
+
var CompanyBillItemType;
|
|
72
|
+
(function (CompanyBillItemType) {
|
|
73
|
+
CompanyBillItemType["StudentTraining"] = "bill.item.studentTraining";
|
|
74
|
+
CompanyBillItemType["InstructorSubscription"] = "bill.item.instructorSubscription";
|
|
75
|
+
CompanyBillItemType["EnterpriseSeats"] = "bill.item.enterpriseSeats";
|
|
76
|
+
})(CompanyBillItemType || (exports.CompanyBillItemType = CompanyBillItemType = {}));
|
|
77
|
+
//# sourceMappingURL=finance.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finance.type.js","sourceRoot":"","sources":["../../src/types/finance.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,+BAAiB,CAAA;AAClB,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB;AAED;;;GAGG;AACH,IAAY,WAeX;AAfD,WAAY,WAAW;IACtB;;OAEG;IACH,4BAAa,CAAA;IAEb;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,kCAAmB,CAAA;AACpB,CAAC,EAfW,WAAW,2BAAX,WAAW,QAetB;AAED,IAAY,eA+BX;AA/BD,WAAY,eAAe;IAE1B;;OAEG;IACH,sCAAmB,CAAA;IAEnB;;OAEG;IACH,oCAAiB,CAAA;IAEjB;;OAEG;IACH,wCAAqB,CAAA;IAErB;;OAEG;IACH,sCAAmB,CAAA;IAEnB;;OAEG;IACH,oDAAiC,CAAA;IAEjC;;OAEG;IACH,8CAA2B,CAAA;AAC5B,CAAC,EA/BW,eAAe,+BAAf,eAAe,QA+B1B;AAED,IAAY,OAMX;AAND,WAAY,OAAO;IAClB,sBAAW,CAAA;IACX,sBAAW,CAAA;IACX,kCAAuB,CAAA;IACvB,sCAA2B,CAAA;IAC3B,0BAAe,CAAA;AAChB,CAAC,EANW,OAAO,uBAAP,OAAO,QAMlB;AAED,IAAY,eAEX;AAFD,WAAY,eAAe;IAC1B,oCAAiB,CAAA;AAClB,CAAC,EAFW,eAAe,+BAAf,eAAe,QAE1B;AAED;;GAEG;AACH,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,oEAA6C,CAAA;IAC7C,kFAA2D,CAAA;IAC3D,oEAA6C,CAAA;AAC9C,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './activity.type';
|
|
2
|
+
export * from './addon.type';
|
|
3
|
+
export * from './calendar.type';
|
|
4
|
+
export * from './driving.type';
|
|
5
|
+
export * from './earning.type';
|
|
6
|
+
export * from './finance.type';
|
|
7
|
+
export * from './metric.type';
|
|
8
|
+
export * from './policy.type';
|
|
9
|
+
export * from './priceplan.type';
|
|
10
|
+
export * from './product.type';
|
|
11
|
+
export * from './program.type';
|
|
12
|
+
export * from './security.type';
|
|
13
|
+
export * from './support.type';
|
|
14
|
+
export * from './training.type';
|
|
15
|
+
export * from './interface';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./activity.type"), exports);
|
|
18
|
+
__exportStar(require("./addon.type"), exports);
|
|
19
|
+
__exportStar(require("./calendar.type"), exports);
|
|
20
|
+
__exportStar(require("./driving.type"), exports);
|
|
21
|
+
__exportStar(require("./earning.type"), exports);
|
|
22
|
+
__exportStar(require("./finance.type"), exports);
|
|
23
|
+
__exportStar(require("./metric.type"), exports);
|
|
24
|
+
__exportStar(require("./policy.type"), exports);
|
|
25
|
+
__exportStar(require("./priceplan.type"), exports);
|
|
26
|
+
__exportStar(require("./product.type"), exports);
|
|
27
|
+
__exportStar(require("./program.type"), exports);
|
|
28
|
+
__exportStar(require("./security.type"), exports);
|
|
29
|
+
__exportStar(require("./support.type"), exports);
|
|
30
|
+
__exportStar(require("./training.type"), exports);
|
|
31
|
+
__exportStar(require("./interface"), exports);
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,gDAA8B;AAC9B,gDAA8B;AAC9B,mDAAiC;AACjC,iDAA+B;AAC/B,iDAA+B;AAC/B,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,8CAA4B"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ProfileType } from "./support.type";
|
|
2
|
+
import { TransactionType } from "./finance.type";
|
|
3
|
+
import { PricePlanUsage } from "./priceplan.type";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a selected profile for a user
|
|
6
|
+
*/
|
|
7
|
+
export interface SelectedProfile {
|
|
8
|
+
/** The type of profile (student, instructor, company, agent) */
|
|
9
|
+
type: ProfileType;
|
|
10
|
+
/** The unique identifier of the profile */
|
|
11
|
+
id: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Represents a time period with start and end dates
|
|
15
|
+
*/
|
|
16
|
+
export interface IPeriod {
|
|
17
|
+
/** The start date of the period */
|
|
18
|
+
startDate: Date;
|
|
19
|
+
/** The end date of the period */
|
|
20
|
+
endDate: Date;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents a date update operation with from and to dates
|
|
24
|
+
*/
|
|
25
|
+
export interface IDateUpdate {
|
|
26
|
+
/** The original date */
|
|
27
|
+
from: Date;
|
|
28
|
+
/** The new date */
|
|
29
|
+
to: Date;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Associates an ID with a specific date
|
|
33
|
+
*/
|
|
34
|
+
export interface IDateAssignment {
|
|
35
|
+
/** Entity identifier */
|
|
36
|
+
id: number;
|
|
37
|
+
/** Associated date */
|
|
38
|
+
date: Date;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Represents a date with a duration
|
|
42
|
+
*/
|
|
43
|
+
export interface IDateDuration {
|
|
44
|
+
/** The date */
|
|
45
|
+
date: Date;
|
|
46
|
+
/** Duration in minutes or other time unit */
|
|
47
|
+
duration: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Represents financial transaction history data
|
|
51
|
+
*/
|
|
52
|
+
export interface FinancialHistory {
|
|
53
|
+
/** Finance type */
|
|
54
|
+
type: TransactionType;
|
|
55
|
+
/** Array of [timestamp, amount] tuples for time-series data */
|
|
56
|
+
data: [number, number][];
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Document structure for handover operations
|
|
60
|
+
*/
|
|
61
|
+
export interface HandoverDocument {
|
|
62
|
+
/** IDs of rejected expenses */
|
|
63
|
+
rejectedExpenses: number[];
|
|
64
|
+
/** IDs of skipped expenses */
|
|
65
|
+
skippedExpenses: number[];
|
|
66
|
+
/** IDs of skipped payments */
|
|
67
|
+
skippedPayments: number[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Represents price plan usage information
|
|
71
|
+
*/
|
|
72
|
+
export interface IPricePlanUsage {
|
|
73
|
+
/** The type of price plan usage */
|
|
74
|
+
type: PricePlanUsage;
|
|
75
|
+
/** Optional usage amount/count */
|
|
76
|
+
usage?: number;
|
|
77
|
+
/** Optional unit of measurement */
|
|
78
|
+
unit?: string;
|
|
79
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../../src/types/interface.ts"],"names":[],"mappings":";;AA8DC,CAAC"}
|