@intelact/driveup 1.4.43 → 1.5.0
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 +3 -4
- package/lib/calendar/appointment.js +14 -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 +0 -1
- package/lib/common/index.js +0 -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/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 +5 -2
- package/lib/company/company.model.js +11 -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/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 +0 -2
- package/lib/index.js +0 -2
- 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/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/{agent → types}/earning.type.js.map +1 -1
- 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/{product → types}/index.js +14 -2
- package/lib/types/index.js.map +1 -0
- package/lib/types/interface.d.ts +79 -0
- package/lib/{security/token.interface.js → types/interface.js} +2 -1
- 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/{priceplan/plan.enum.d.ts → types/priceplan.type.d.ts} +21 -5
- package/lib/{priceplan/plan.enum.js → types/priceplan.type.js} +25 -6
- 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 +126 -0
- package/lib/types/support.type.js +143 -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/{validators → utils}/compare.validator.js +2 -1
- package/lib/utils/compare.validator.js.map +1 -0
- package/lib/utils/date.helper.d.ts +2 -1
- package/lib/utils/date.helper.js +20 -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/{validators → utils}/required.validator.js +60 -4
- 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
- package/lib/agent/asset.type.d.ts +0 -5
- package/lib/agent/asset.type.js +0 -10
- package/lib/agent/asset.type.js.map +0 -1
- package/lib/agent/payout.model.d.ts +0 -11
- package/lib/agent/payout.model.js +0 -59
- package/lib/agent/payout.model.js.map +0 -1
- package/lib/alert/alert.content.d.ts +0 -4
- package/lib/alert/alert.content.js +0 -9
- package/lib/alert/alert.content.js.map +0 -1
- package/lib/auth/biometric.dto.d.ts +0 -3
- package/lib/auth/biometric.dto.js +0 -25
- package/lib/auth/biometric.dto.js.map +0 -1
- package/lib/bill/bill-item.type.d.ts +0 -5
- package/lib/bill/bill-item.type.js +0 -10
- package/lib/bill/bill-item.type.js.map +0 -1
- package/lib/bill/bill.status.d.ts +0 -5
- package/lib/bill/bill.status.js +0 -13
- package/lib/bill/bill.status.js.map +0 -1
- package/lib/calendar/link.d.ts +0 -4
- package/lib/calendar/link.js +0 -9
- package/lib/calendar/link.js.map +0 -1
- package/lib/calendar/types.d.ts +0 -19
- package/lib/calendar/types.js +0 -25
- package/lib/calendar/types.js.map +0 -1
- package/lib/common/appointment.model.d.ts +0 -13
- package/lib/common/appointment.model.js +0 -79
- package/lib/common/appointment.model.js.map +0 -1
- package/lib/common/context.d.ts +0 -6
- package/lib/common/context.js +0 -11
- package/lib/common/context.js.map +0 -1
- package/lib/common/date.d.ts +0 -9
- package/lib/common/date.enum.d.ts +0 -9
- package/lib/common/date.enum.js +0 -14
- package/lib/common/date.enum.js.map +0 -1
- package/lib/common/date.js +0 -14
- package/lib/common/date.js.map +0 -1
- package/lib/common/general.dto.d.ts +0 -70
- package/lib/common/general.dto.js +0 -302
- package/lib/common/general.dto.js.map +0 -1
- package/lib/common/notification.enum.d.ts +0 -11
- package/lib/common/notification.enum.js +0 -17
- package/lib/common/notification.enum.js.map +0 -1
- package/lib/company/account.status.enum.d.ts +0 -8
- package/lib/company/account.status.enum.js +0 -13
- package/lib/company/account.status.enum.js.map +0 -1
- package/lib/company/common/appointment.type.enum.d.ts +0 -4
- package/lib/company/common/appointment.type.enum.js +0 -9
- package/lib/company/common/appointment.type.enum.js.map +0 -1
- package/lib/company/common/general.dto.d.ts +0 -46
- package/lib/company/common/general.dto.js +0 -182
- package/lib/company/common/general.dto.js.map +0 -1
- package/lib/company/common/index.d.ts +0 -4
- package/lib/company/common/index.js +0 -21
- package/lib/company/common/index.js.map +0 -1
- package/lib/company/common/request.status.enum.d.ts +0 -6
- package/lib/company/common/request.status.enum.js +0 -11
- package/lib/company/common/request.status.enum.js.map +0 -1
- package/lib/company/common/setting.enum.d.ts +0 -7
- package/lib/company/common/setting.enum.js +0 -12
- package/lib/company/common/setting.enum.js.map +0 -1
- package/lib/company/common/training.status.enum.d.ts +0 -11
- package/lib/company/common/training.status.enum.js +0 -17
- package/lib/company/common/training.status.enum.js.map +0 -1
- package/lib/company/course/appointment.model.d.ts +0 -10
- package/lib/company/course/appointment.model.js +0 -43
- package/lib/company/course/appointment.model.js.map +0 -1
- package/lib/company/course/course.enum.d.ts +0 -15
- package/lib/company/course/course.enum.js +0 -22
- package/lib/company/course/course.enum.js.map +0 -1
- package/lib/company/course/course.model.d.ts +0 -17
- package/lib/company/course/course.model.js +0 -94
- package/lib/company/course/course.model.js.map +0 -1
- package/lib/company/course/definition.model.d.ts +0 -11
- package/lib/company/course/definition.model.js +0 -57
- package/lib/company/course/definition.model.js.map +0 -1
- package/lib/company/course/finances/discount.model.d.ts +0 -8
- package/lib/company/course/finances/discount.model.js +0 -44
- package/lib/company/course/finances/discount.model.js.map +0 -1
- package/lib/company/course/finances/index.d.ts +0 -5
- package/lib/company/course/finances/index.js +0 -22
- package/lib/company/course/finances/index.js.map +0 -1
- package/lib/company/course/finances/invoice-item.model.d.ts +0 -7
- package/lib/company/course/finances/invoice-item.model.js +0 -43
- package/lib/company/course/finances/invoice-item.model.js.map +0 -1
- package/lib/company/course/finances/invoice.model.d.ts +0 -15
- package/lib/company/course/finances/invoice.model.js +0 -77
- package/lib/company/course/finances/invoice.model.js.map +0 -1
- package/lib/company/course/finances/payment.model.d.ts +0 -13
- package/lib/company/course/finances/payment.model.js +0 -68
- package/lib/company/course/finances/payment.model.js.map +0 -1
- package/lib/company/course/finances/refund.model.d.ts +0 -8
- package/lib/company/course/finances/refund.model.js +0 -44
- package/lib/company/course/finances/refund.model.js.map +0 -1
- package/lib/company/course/index.d.ts +0 -6
- package/lib/company/course/index.js +0 -23
- package/lib/company/course/index.js.map +0 -1
- package/lib/company/course/part.model.d.ts +0 -10
- package/lib/company/course/part.model.js +0 -56
- package/lib/company/course/part.model.js.map +0 -1
- package/lib/company/driving/appointment.type.enum.d.ts +0 -4
- package/lib/company/driving/appointment.type.enum.js +0 -9
- package/lib/company/driving/appointment.type.enum.js.map +0 -1
- package/lib/company/driving/category.model.d.ts +0 -18
- package/lib/company/driving/category.model.js +0 -100
- package/lib/company/driving/category.model.js.map +0 -1
- package/lib/company/driving/dto.d.ts +0 -5
- package/lib/company/driving/dto.js +0 -38
- package/lib/company/driving/dto.js.map +0 -1
- package/lib/company/driving/exam.enum.d.ts +0 -5
- package/lib/company/driving/exam.enum.js +0 -10
- package/lib/company/driving/exam.enum.js.map +0 -1
- package/lib/company/driving/exam.status.enum.d.ts +0 -5
- package/lib/company/driving/exam.status.enum.js +0 -10
- package/lib/company/driving/exam.status.enum.js.map +0 -1
- package/lib/company/driving/finances/discount.model.d.ts +0 -8
- package/lib/company/driving/finances/discount.model.js +0 -44
- package/lib/company/driving/finances/discount.model.js.map +0 -1
- package/lib/company/driving/finances/index.d.ts +0 -5
- package/lib/company/driving/finances/index.js +0 -22
- package/lib/company/driving/finances/index.js.map +0 -1
- package/lib/company/driving/finances/invoice-item.model.d.ts +0 -7
- package/lib/company/driving/finances/invoice-item.model.js +0 -43
- package/lib/company/driving/finances/invoice-item.model.js.map +0 -1
- package/lib/company/driving/finances/invoice.model.d.ts +0 -14
- package/lib/company/driving/finances/invoice.model.js +0 -71
- package/lib/company/driving/finances/invoice.model.js.map +0 -1
- package/lib/company/driving/finances/payment.model.d.ts +0 -13
- package/lib/company/driving/finances/payment.model.js +0 -68
- package/lib/company/driving/finances/payment.model.js.map +0 -1
- package/lib/company/driving/finances/refund.model.d.ts +0 -8
- package/lib/company/driving/finances/refund.model.js +0 -44
- package/lib/company/driving/finances/refund.model.js.map +0 -1
- package/lib/company/driving/index.d.ts +0 -9
- package/lib/company/driving/index.js +0 -26
- package/lib/company/driving/index.js.map +0 -1
- package/lib/company/driving/score.enum.d.ts +0 -12
- package/lib/company/driving/score.enum.js +0 -18
- package/lib/company/driving/score.enum.js.map +0 -1
- package/lib/company/driving/skill.model.d.ts +0 -8
- package/lib/company/driving/skill.model.js +0 -47
- package/lib/company/driving/skill.model.js.map +0 -1
- package/lib/company/driving/status.enum.d.ts +0 -5
- package/lib/company/driving/status.enum.js +0 -10
- package/lib/company/driving/status.enum.js.map +0 -1
- package/lib/company/driving/topic.model.d.ts +0 -10
- package/lib/company/driving/topic.model.js +0 -54
- package/lib/company/driving/topic.model.js.map +0 -1
- package/lib/company/driving/transmission.enum.d.ts +0 -4
- package/lib/company/driving/transmission.enum.js +0 -9
- package/lib/company/driving/transmission.enum.js.map +0 -1
- package/lib/company/event.model.d.ts +0 -8
- package/lib/company/event.model.js +0 -49
- package/lib/company/event.model.js.map +0 -1
- package/lib/company/finances/card.model.d.ts +0 -10
- package/lib/company/finances/card.model.js +0 -55
- package/lib/company/finances/card.model.js.map +0 -1
- package/lib/company/finances/credit.model.d.ts +0 -9
- package/lib/company/finances/credit.model.js +0 -50
- package/lib/company/finances/credit.model.js.map +0 -1
- package/lib/company/finances/expense-category.model.d.ts +0 -5
- package/lib/company/finances/expense-category.model.js +0 -31
- package/lib/company/finances/expense-category.model.js.map +0 -1
- package/lib/company/finances/expense.model.d.ts +0 -11
- package/lib/company/finances/expense.model.js +0 -55
- package/lib/company/finances/expense.model.js.map +0 -1
- package/lib/company/finances/finance.enum.d.ts +0 -22
- package/lib/company/finances/finance.enum.js +0 -31
- package/lib/company/finances/finance.enum.js.map +0 -1
- package/lib/company/finances/index.d.ts +0 -5
- package/lib/company/finances/index.js +0 -22
- package/lib/company/finances/index.js.map +0 -1
- package/lib/company/finances/payment.model.d.ts +0 -7
- package/lib/company/finances/payment.model.js +0 -39
- package/lib/company/finances/payment.model.js.map +0 -1
- package/lib/company/finances/priceplan.model.d.ts +0 -19
- package/lib/company/finances/priceplan.model.js +0 -95
- package/lib/company/finances/priceplan.model.js.map +0 -1
- package/lib/company/plan/index.d.ts +0 -2
- package/lib/company/plan/index.js +0 -19
- package/lib/company/plan/index.js.map +0 -1
- package/lib/company/plan/plan.enum.d.ts +0 -9
- package/lib/company/plan/plan.enum.js +0 -15
- package/lib/company/plan/plan.enum.js.map +0 -1
- package/lib/company/plan/plan.model.d.ts +0 -16
- package/lib/company/plan/plan.model.js +0 -87
- package/lib/company/plan/plan.model.js.map +0 -1
- package/lib/company/plan.enum.d.ts +0 -9
- package/lib/company/plan.enum.js +0 -15
- package/lib/company/plan.enum.js.map +0 -1
- package/lib/company/priceplan.model.d.ts +0 -16
- package/lib/company/priceplan.model.js +0 -87
- package/lib/company/priceplan.model.js.map +0 -1
- package/lib/company/setting.model.d.ts +0 -10
- package/lib/company/setting.model.js +0 -52
- package/lib/company/setting.model.js.map +0 -1
- package/lib/company/student/index.d.ts +0 -1
- package/lib/company/student/index.js +0 -18
- package/lib/company/student/index.js.map +0 -1
- package/lib/company/student/student.model.d.ts +0 -10
- package/lib/company/student/student.model.js +0 -43
- package/lib/company/student/student.model.js.map +0 -1
- package/lib/company/team/index.d.ts +0 -2
- package/lib/company/team/index.js +0 -19
- package/lib/company/team/index.js.map +0 -1
- package/lib/company/team/team.dto.d.ts +0 -6
- package/lib/company/team/team.dto.js +0 -39
- package/lib/company/team/team.dto.js.map +0 -1
- package/lib/company/team/user.model.d.ts +0 -33
- package/lib/company/team/user.model.js +0 -104
- package/lib/company/team/user.model.js.map +0 -1
- package/lib/company/team/user.status.enum.d.ts +0 -5
- package/lib/company/team/user.status.enum.js +0 -10
- package/lib/company/team/user.status.enum.js.map +0 -1
- package/lib/company/user.model.d.ts +0 -25
- package/lib/company/user.model.js +0 -124
- package/lib/company/user.model.js.map +0 -1
- package/lib/course/types.d.ts +0 -15
- package/lib/course/types.js +0 -22
- package/lib/course/types.js.map +0 -1
- package/lib/driving/lesson/types.d.ts +0 -15
- package/lib/driving/lesson/types.js +0 -21
- package/lib/driving/lesson/types.js.map +0 -1
- package/lib/driving/types.d.ts +0 -9
- package/lib/driving/types.js +0 -15
- package/lib/driving/types.js.map +0 -1
- package/lib/enums/date.d.ts +0 -9
- package/lib/enums/date.js +0 -14
- package/lib/enums/date.js.map +0 -1
- package/lib/enums/finance.d.ts +0 -22
- package/lib/enums/finance.js +0 -31
- package/lib/enums/finance.js.map +0 -1
- package/lib/enums/index.d.ts +0 -1
- package/lib/enums/index.js +0 -14
- package/lib/enums/index.js.map +0 -1
- package/lib/enums/language.d.ts +0 -6
- package/lib/enums/language.js +0 -11
- package/lib/enums/language.js.map +0 -1
- package/lib/enums/notification.d.ts +0 -11
- package/lib/enums/notification.js +0 -17
- package/lib/enums/notification.js.map +0 -1
- package/lib/enums/plan.d.ts +0 -9
- package/lib/enums/plan.js +0 -15
- package/lib/enums/plan.js.map +0 -1
- package/lib/enums/role.d.ts +0 -6
- package/lib/enums/role.js +0 -11
- package/lib/enums/role.js.map +0 -1
- package/lib/enums/score.d.ts +0 -12
- package/lib/enums/score.js +0 -18
- package/lib/enums/score.js.map +0 -1
- package/lib/enums/training.d.ts +0 -19
- package/lib/enums/training.js +0 -27
- package/lib/enums/training.js.map +0 -1
- package/lib/expense/expense.types.d.ts +0 -5
- package/lib/expense/expense.types.js +0 -10
- package/lib/expense/expense.types.js.map +0 -1
- package/lib/finance/finance.type.d.ts +0 -21
- package/lib/finance/finance.type.js +0 -21
- package/lib/finance/finance.type.js.map +0 -1
- package/lib/finance/handover.dto.d.ts +0 -6
- package/lib/finance/handover.dto.js +0 -45
- package/lib/finance/handover.dto.js.map +0 -1
- package/lib/finance/handover.model.d.ts +0 -13
- package/lib/finance/handover.model.js +0 -65
- package/lib/finance/handover.model.js.map +0 -1
- package/lib/free-benefit/free-benefit.type.d.ts +0 -4
- package/lib/free-benefit/free-benefit.type.js +0 -9
- package/lib/free-benefit/free-benefit.type.js.map +0 -1
- package/lib/handover/handover.document.d.ts +0 -5
- package/lib/handover/handover.document.js +0 -3
- package/lib/handover/handover.document.js.map +0 -1
- package/lib/invoice/invoice.types.d.ts +0 -6
- package/lib/invoice/invoice.types.js +0 -11
- package/lib/invoice/invoice.types.js.map +0 -1
- package/lib/language/index.d.ts +0 -1
- package/lib/language/index.js +0 -18
- package/lib/language/index.js.map +0 -1
- package/lib/language/language.enum.d.ts +0 -6
- package/lib/language/language.enum.js +0 -11
- package/lib/language/language.enum.js.map +0 -1
- package/lib/log/log.type.d.ts +0 -9
- package/lib/log/log.type.js +0 -14
- package/lib/log/log.type.js.map +0 -1
- package/lib/notification/notification-preference.model.d.ts +0 -5
- package/lib/notification/notification-preference.model.js +0 -31
- package/lib/notification/notification-preference.model.js.map +0 -1
- package/lib/notification/notification.channel.d.ts +0 -6
- package/lib/notification/notification.channel.js +0 -11
- package/lib/notification/notification.channel.js.map +0 -1
- package/lib/notification/notification.enum.d.ts +0 -11
- package/lib/notification/notification.enum.js +0 -17
- package/lib/notification/notification.enum.js.map +0 -1
- package/lib/notification/notification.types.d.ts +0 -11
- package/lib/notification/notification.types.js +0 -17
- package/lib/notification/notification.types.js.map +0 -1
- package/lib/payment/payment.types.d.ts +0 -13
- package/lib/payment/payment.types.js +0 -20
- package/lib/payment/payment.types.js.map +0 -1
- package/lib/payout/payout.types.d.ts +0 -4
- package/lib/payout/payout.types.js +0 -9
- package/lib/payout/payout.types.js.map +0 -1
- package/lib/priceplan/plan.enum.js.map +0 -1
- package/lib/product/index.d.ts +0 -3
- package/lib/product/index.js.map +0 -1
- package/lib/product/product.dto.d.ts +0 -12
- package/lib/product/product.dto.js +0 -69
- package/lib/product/product.dto.js.map +0 -1
- package/lib/product/product.model.d.ts +0 -12
- package/lib/product/product.model.js +0 -61
- package/lib/product/product.model.js.map +0 -1
- package/lib/product/product.type.d.ts +0 -4
- package/lib/product/product.type.js +0 -9
- package/lib/product/product.type.js.map +0 -1
- package/lib/public/user-agent.interface.d.ts +0 -6
- package/lib/public/user-agent.interface.js +0 -3
- package/lib/public/user-agent.interface.js.map +0 -1
- package/lib/security/account.types.d.ts +0 -8
- package/lib/security/account.types.js +0 -13
- package/lib/security/account.types.js.map +0 -1
- package/lib/security/acl.d.ts +0 -6
- package/lib/security/acl.js +0 -11
- package/lib/security/acl.js.map +0 -1
- package/lib/security/permissions.d.ts +0 -9
- package/lib/security/permissions.js +0 -14
- package/lib/security/permissions.js.map +0 -1
- package/lib/security/role.types.d.ts +0 -41
- package/lib/security/role.types.js +0 -46
- package/lib/security/role.types.js.map +0 -1
- package/lib/security/roles.d.ts +0 -9
- package/lib/security/roles.js +0 -14
- package/lib/security/roles.js.map +0 -1
- package/lib/security/token.interface.d.ts +0 -7
- package/lib/security/token.interface.js.map +0 -1
- package/lib/session/course/index.d.ts +0 -1
- package/lib/session/course/index.js +0 -14
- package/lib/session/course/index.js.map +0 -1
- package/lib/session/course/session.model.d.ts +0 -8
- package/lib/session/course/session.model.js +0 -36
- package/lib/session/course/session.model.js.map +0 -1
- package/lib/session/driving/appointment-assessment.d.ts +0 -8
- package/lib/session/driving/appointment-assessment.js +0 -50
- package/lib/session/driving/appointment-assessment.js.map +0 -1
- package/lib/setting/setting.type.d.ts +0 -7
- package/lib/setting/setting.type.js +0 -12
- package/lib/setting/setting.type.js.map +0 -1
- package/lib/student/course/appointment.model.d.ts +0 -5
- package/lib/student/course/appointment.model.js +0 -32
- package/lib/student/course/appointment.model.js.map +0 -1
- package/lib/student/course/index.d.ts +0 -3
- package/lib/student/course/index.js +0 -20
- package/lib/student/course/index.js.map +0 -1
- package/lib/student/course/request.model.d.ts +0 -11
- package/lib/student/course/request.model.js +0 -62
- package/lib/student/course/request.model.js.map +0 -1
- package/lib/student/course/training.model.d.ts +0 -16
- package/lib/student/course/training.model.js +0 -92
- package/lib/student/course/training.model.js.map +0 -1
- package/lib/student/driving/appointment-skill.model.d.ts +0 -6
- package/lib/student/driving/appointment-skill.model.js +0 -32
- package/lib/student/driving/appointment-skill.model.js.map +0 -1
- package/lib/student/driving/appointment-topic.model.d.ts +0 -6
- package/lib/student/driving/appointment-topic.model.js +0 -32
- package/lib/student/driving/appointment-topic.model.js.map +0 -1
- package/lib/student/driving/appointment.model.d.ts +0 -12
- package/lib/student/driving/appointment.model.js +0 -67
- package/lib/student/driving/appointment.model.js.map +0 -1
- package/lib/student/driving/exam/exam-topic-assesment.model.d.ts +0 -8
- package/lib/student/driving/exam/exam-topic-assesment.model.js +0 -40
- package/lib/student/driving/exam/exam-topic-assesment.model.js.map +0 -1
- package/lib/student/driving/exam/exam.model.d.ts +0 -11
- package/lib/student/driving/exam/exam.model.js +0 -50
- package/lib/student/driving/exam/exam.model.js.map +0 -1
- package/lib/student/driving/exam/index.d.ts +0 -2
- package/lib/student/driving/exam/index.js +0 -19
- package/lib/student/driving/exam/index.js.map +0 -1
- package/lib/student/driving/index.d.ts +0 -8
- package/lib/student/driving/index.js +0 -25
- package/lib/student/driving/index.js.map +0 -1
- package/lib/student/driving/request.model.d.ts +0 -13
- package/lib/student/driving/request.model.js +0 -73
- package/lib/student/driving/request.model.js.map +0 -1
- package/lib/student/driving/skill.model.d.ts +0 -6
- package/lib/student/driving/skill.model.js +0 -32
- package/lib/student/driving/skill.model.js.map +0 -1
- package/lib/student/driving/topic.model.d.ts +0 -7
- package/lib/student/driving/topic.model.js +0 -38
- package/lib/student/driving/topic.model.js.map +0 -1
- package/lib/student/driving/training.model.d.ts +0 -23
- package/lib/student/driving/training.model.js +0 -131
- package/lib/student/driving/training.model.js.map +0 -1
- package/lib/student/signature.model.d.ts +0 -7
- package/lib/student/signature.model.js +0 -42
- package/lib/student/signature.model.js.map +0 -1
- package/lib/support/index.d.ts +0 -1
- package/lib/support/index.js +0 -18
- package/lib/support/index.js.map +0 -1
- package/lib/support/request.dto.d.ts +0 -5
- package/lib/support/request.dto.js +0 -39
- package/lib/support/request.dto.js.map +0 -1
- package/lib/system/country.model.d.ts +0 -15
- package/lib/system/country.model.js +0 -75
- package/lib/system/country.model.js.map +0 -1
- package/lib/system/driving/category.model.d.ts +0 -12
- package/lib/system/driving/category.model.js +0 -66
- package/lib/system/driving/category.model.js.map +0 -1
- package/lib/system/driving/category.trans.model.d.ts +0 -8
- package/lib/system/driving/category.trans.model.js +0 -42
- package/lib/system/driving/category.trans.model.js.map +0 -1
- package/lib/system/driving/index.d.ts +0 -6
- package/lib/system/driving/index.js +0 -23
- package/lib/system/driving/index.js.map +0 -1
- package/lib/system/driving/skill.model.d.ts +0 -11
- package/lib/system/driving/skill.model.js +0 -61
- package/lib/system/driving/skill.model.js.map +0 -1
- package/lib/system/driving/skill.trans.model.d.ts +0 -9
- package/lib/system/driving/skill.trans.model.js +0 -48
- package/lib/system/driving/skill.trans.model.js.map +0 -1
- package/lib/system/driving/topic.model.d.ts +0 -10
- package/lib/system/driving/topic.model.js +0 -55
- package/lib/system/driving/topic.model.js.map +0 -1
- package/lib/system/driving/topic.trans.model.d.ts +0 -8
- package/lib/system/driving/topic.trans.model.js +0 -42
- package/lib/system/driving/topic.trans.model.js.map +0 -1
- package/lib/system/finances/currency.model.d.ts +0 -9
- package/lib/system/finances/currency.model.js +0 -53
- package/lib/system/finances/currency.model.js.map +0 -1
- package/lib/system/finances/index.d.ts +0 -3
- package/lib/system/finances/index.js +0 -20
- package/lib/system/finances/index.js.map +0 -1
- package/lib/system/finances/priceplan.model.d.ts +0 -13
- package/lib/system/finances/priceplan.model.js +0 -67
- package/lib/system/finances/priceplan.model.js.map +0 -1
- package/lib/system/finances/priceplan.translation.d.ts +0 -8
- package/lib/system/finances/priceplan.translation.js +0 -42
- package/lib/system/finances/priceplan.translation.js.map +0 -1
- package/lib/system/index.d.ts +0 -3
- package/lib/system/index.js +0 -20
- package/lib/system/index.js.map +0 -1
- package/lib/ticket/ticket.enum.d.ts +0 -5
- package/lib/ticket/ticket.enum.js +0 -10
- package/lib/ticket/ticket.enum.js.map +0 -1
- package/lib/training/training.types.d.ts +0 -15
- package/lib/training/training.types.js +0 -22
- package/lib/training/training.types.js.map +0 -1
- package/lib/user/biometric.dto.d.ts +0 -3
- package/lib/user/biometric.dto.js +0 -25
- package/lib/user/biometric.dto.js.map +0 -1
- package/lib/user/email.dto.d.ts +0 -4
- package/lib/user/email.dto.js +0 -32
- package/lib/user/email.dto.js.map +0 -1
- package/lib/user/notification/index.d.ts +0 -3
- package/lib/user/notification/index.js +0 -20
- package/lib/user/notification/index.js.map +0 -1
- package/lib/user/notification/notification-preference.model.d.ts +0 -5
- package/lib/user/notification/notification-preference.model.js +0 -31
- package/lib/user/notification/notification-preference.model.js.map +0 -1
- package/lib/user/notification/notification.enum.d.ts +0 -11
- package/lib/user/notification/notification.enum.js +0 -17
- package/lib/user/notification/notification.enum.js.map +0 -1
- package/lib/user/notification/notification.model.d.ts +0 -10
- package/lib/user/notification/notification.model.js +0 -53
- package/lib/user/notification/notification.model.js.map +0 -1
- package/lib/user/phone.dto.d.ts +0 -4
- package/lib/user/phone.dto.js +0 -32
- package/lib/user/phone.dto.js.map +0 -1
- package/lib/user/profile.type.d.ts +0 -10
- package/lib/user/profile.type.js +0 -15
- package/lib/user/profile.type.js.map +0 -1
- package/lib/user/sign.dto.d.ts +0 -5
- package/lib/user/sign.dto.js +0 -38
- package/lib/user/sign.dto.js.map +0 -1
- package/lib/user/user.device.model.d.ts +0 -8
- package/lib/user/user.device.model.js +0 -46
- package/lib/user/user.device.model.js.map +0 -1
- package/lib/validators/compare.validator.js.map +0 -1
- package/lib/validators/index.d.ts +0 -2
- package/lib/validators/index.js +0 -19
- package/lib/validators/index.js.map +0 -1
- package/lib/validators/required.validator.d.ts +0 -21
- package/lib/validators/required.validator.js.map +0 -1
- /package/lib/{agent → types}/earning.type.d.ts +0 -0
- /package/lib/{agent → types}/earning.type.js +0 -0
- /package/lib/{validators → utils}/compare.validator.d.ts +0 -0
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"earning.type.js","sourceRoot":"","sources":["../../src/
|
|
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';
|
|
@@ -14,7 +14,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
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);
|
|
19
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);
|
|
20
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"}
|
|
@@ -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
|