@intelact/driveup 0.6.0 → 0.7.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.model.d.ts +1 -4
- package/lib/agent/agent.model.js +1 -16
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/agent/code.model.js.map +1 -1
- package/lib/agent/index.d.ts +0 -1
- package/lib/agent/index.js +0 -1
- package/lib/agent/index.js.map +1 -1
- package/lib/auth/biometric.dto.d.ts +3 -0
- package/lib/auth/biometric.dto.js +25 -0
- package/lib/auth/biometric.dto.js.map +1 -0
- package/lib/auth/index.d.ts +3 -0
- package/lib/auth/index.js +20 -0
- package/lib/auth/index.js.map +1 -0
- package/lib/auth/signin.dto.d.ts +6 -0
- package/lib/auth/signin.dto.js +37 -0
- package/lib/auth/signin.dto.js.map +1 -0
- package/lib/auth/signup.dto.d.ts +5 -0
- package/lib/auth/signup.dto.js +38 -0
- package/lib/auth/signup.dto.js.map +1 -0
- package/lib/bank/account.model.d.ts +6 -0
- package/lib/bank/account.model.js +46 -0
- package/lib/bank/account.model.js.map +1 -0
- package/lib/bank/index.d.ts +1 -0
- package/lib/bank/index.js +18 -0
- package/lib/bank/index.js.map +1 -0
- package/lib/calendar/appointment.d.ts +29 -0
- package/lib/calendar/appointment.js +143 -0
- package/lib/calendar/appointment.js.map +1 -0
- package/lib/calendar/date.d.ts +11 -0
- package/lib/calendar/date.js +52 -0
- package/lib/calendar/date.js.map +1 -0
- package/lib/calendar/holiday.d.ts +5 -0
- package/lib/calendar/holiday.js +40 -0
- package/lib/calendar/holiday.js.map +1 -0
- package/lib/calendar/index.d.ts +5 -0
- package/lib/calendar/index.js +22 -0
- package/lib/calendar/index.js.map +1 -0
- package/lib/calendar/types.d.ts +14 -0
- package/lib/calendar/types.js +20 -0
- package/lib/calendar/types.js.map +1 -0
- package/lib/calendar/working.d.ts +9 -0
- package/lib/calendar/working.js +44 -0
- package/lib/calendar/working.js.map +1 -0
- package/lib/common/content.d.ts +9 -0
- package/lib/common/content.js +42 -0
- package/lib/common/content.js.map +1 -0
- package/lib/common/email.d.ts +7 -0
- package/lib/common/email.js +41 -0
- package/lib/common/email.js.map +1 -0
- package/lib/common/index.d.ts +8 -3
- package/lib/common/index.js +8 -3
- package/lib/common/index.js.map +1 -1
- package/lib/common/language.d.ts +9 -0
- package/lib/common/language.js +29 -0
- package/lib/common/language.js.map +1 -0
- package/lib/common/phone.d.ts +4 -0
- package/lib/common/phone.js +32 -0
- package/lib/common/phone.js.map +1 -0
- package/lib/common/promotion.d.ts +3 -0
- package/lib/common/promotion.js +23 -0
- package/lib/common/promotion.js.map +1 -0
- package/lib/common/social.d.ts +4 -0
- package/lib/common/social.js +30 -0
- package/lib/common/social.js.map +1 -0
- package/lib/common/sort.d.ts +3 -0
- package/lib/common/sort.js +23 -0
- package/lib/common/sort.js.map +1 -0
- package/lib/common/url.d.ts +3 -0
- package/lib/common/url.js +25 -0
- package/lib/common/url.js.map +1 -0
- package/lib/company/company.model.d.ts +18 -40
- package/lib/company/company.model.js +35 -36
- package/lib/company/company.model.js.map +1 -1
- package/lib/company/index.d.ts +1 -10
- package/lib/company/index.js +1 -10
- package/lib/company/index.js.map +1 -1
- package/lib/company/priceplan.model.d.ts +16 -0
- package/lib/company/priceplan.model.js +87 -0
- package/lib/company/priceplan.model.js.map +1 -0
- package/lib/country/country.model.d.ts +16 -0
- package/lib/country/country.model.js +80 -0
- package/lib/country/country.model.js.map +1 -0
- package/lib/country/index.d.ts +1 -0
- package/lib/country/index.js +18 -0
- package/lib/country/index.js.map +1 -0
- package/lib/course/appointment.model.d.ts +8 -0
- package/lib/course/appointment.model.js +36 -0
- package/lib/course/appointment.model.js.map +1 -0
- package/lib/course/course.model.d.ts +17 -0
- package/lib/course/course.model.js +94 -0
- package/lib/course/course.model.js.map +1 -0
- package/lib/course/definition.model.d.ts +11 -0
- package/lib/course/definition.model.js +57 -0
- package/lib/course/definition.model.js.map +1 -0
- package/lib/course/index.d.ts +5 -0
- package/lib/course/index.js +22 -0
- package/lib/course/index.js.map +1 -0
- package/lib/course/part.model.d.ts +12 -0
- package/lib/course/part.model.js +67 -0
- package/lib/course/part.model.js.map +1 -0
- package/lib/course/types.d.ts +15 -0
- package/lib/course/types.js +22 -0
- package/lib/course/types.js.map +1 -0
- package/lib/credit/credit.model.d.ts +9 -0
- package/lib/credit/credit.model.js +50 -0
- package/lib/credit/credit.model.js.map +1 -0
- package/lib/credit/index.d.ts +1 -0
- package/lib/credit/index.js +18 -0
- package/lib/credit/index.js.map +1 -0
- package/lib/currency/currency.model.d.ts +9 -0
- package/lib/currency/currency.model.js +53 -0
- package/lib/currency/currency.model.js.map +1 -0
- package/lib/currency/index.d.ts +1 -0
- package/lib/currency/index.js +18 -0
- package/lib/currency/index.js.map +1 -0
- package/lib/device/device.agent.d.ts +11 -0
- package/lib/device/device.agent.js +3 -0
- package/lib/device/device.agent.js.map +1 -0
- package/lib/device/device.model.d.ts +8 -0
- package/lib/device/device.model.js +46 -0
- package/lib/device/device.model.js.map +1 -0
- package/lib/device/index.d.ts +2 -0
- package/lib/device/index.js +19 -0
- package/lib/device/index.js.map +1 -0
- package/lib/discount/discount.model.d.ts +9 -0
- package/lib/discount/discount.model.js +50 -0
- package/lib/discount/discount.model.js.map +1 -0
- package/lib/discount/index.d.ts +1 -0
- package/lib/discount/index.js +18 -0
- package/lib/discount/index.js.map +1 -0
- package/lib/driving/category/category.dto.d.ts +5 -0
- package/lib/driving/category/category.dto.js +38 -0
- package/lib/driving/category/category.dto.js.map +1 -0
- package/lib/driving/category/category.model.d.ts +16 -0
- package/lib/driving/category/category.model.js +87 -0
- package/lib/driving/category/category.model.js.map +1 -0
- package/lib/driving/category/index.d.ts +2 -0
- package/lib/driving/category/index.js +19 -0
- package/lib/driving/category/index.js.map +1 -0
- package/lib/driving/index.d.ts +3 -0
- package/lib/driving/index.js +20 -0
- package/lib/driving/index.js.map +1 -0
- package/lib/driving/lesson/index.d.ts +3 -0
- package/lib/driving/lesson/index.js +20 -0
- package/lib/driving/lesson/index.js.map +1 -0
- package/lib/driving/lesson/skill.d.ts +6 -0
- package/lib/driving/lesson/skill.js +37 -0
- package/lib/driving/lesson/skill.js.map +1 -0
- package/lib/driving/lesson/topic.d.ts +10 -0
- package/lib/driving/lesson/topic.js +58 -0
- package/lib/driving/lesson/topic.js.map +1 -0
- package/lib/driving/lesson/types.d.ts +13 -0
- package/lib/driving/lesson/types.js +19 -0
- package/lib/driving/lesson/types.js.map +1 -0
- package/lib/driving/types.d.ts +8 -0
- package/lib/driving/types.js +14 -0
- package/lib/driving/types.js.map +1 -0
- package/lib/event/event.model.d.ts +8 -0
- package/lib/event/event.model.js +49 -0
- package/lib/event/event.model.js.map +1 -0
- package/lib/event/index.d.ts +1 -0
- package/lib/event/index.js +18 -0
- package/lib/event/index.js.map +1 -0
- package/lib/expense/category.model.d.ts +7 -0
- package/lib/expense/category.model.js +41 -0
- package/lib/expense/category.model.js.map +1 -0
- package/lib/expense/expense.model.d.ts +14 -0
- package/lib/expense/expense.model.js +68 -0
- package/lib/expense/expense.model.js.map +1 -0
- package/lib/expense/expense.types.d.ts +5 -0
- package/lib/expense/expense.types.js +10 -0
- package/lib/expense/expense.types.js.map +1 -0
- package/lib/expense/index.d.ts +3 -0
- package/lib/expense/index.js +20 -0
- package/lib/expense/index.js.map +1 -0
- package/lib/feedback/feedback.model.d.ts +9 -0
- package/lib/feedback/feedback.model.js +52 -0
- package/lib/feedback/feedback.model.js.map +1 -0
- package/lib/feedback/index.d.ts +1 -0
- package/lib/feedback/index.js +18 -0
- package/lib/feedback/index.js.map +1 -0
- package/lib/geo/address.dto.d.ts +12 -0
- package/lib/geo/address.dto.js +71 -0
- package/lib/geo/address.dto.js.map +1 -0
- package/lib/geo/coordinate.model.d.ts +4 -0
- package/lib/geo/coordinate.model.js +29 -0
- package/lib/geo/coordinate.model.js.map +1 -0
- package/lib/geo/index.d.ts +3 -0
- package/lib/geo/index.js +20 -0
- package/lib/geo/index.js.map +1 -0
- package/lib/geo/pickup.model.d.ts +8 -0
- package/lib/geo/pickup.model.js +49 -0
- package/lib/geo/pickup.model.js.map +1 -0
- package/lib/index.d.ts +27 -2
- package/lib/index.js +27 -2
- package/lib/index.js.map +1 -1
- package/lib/instructor/index.d.ts +2 -0
- package/lib/instructor/index.js +19 -0
- package/lib/instructor/index.js.map +1 -0
- package/lib/instructor/instructor.dto.d.ts +6 -0
- package/lib/instructor/instructor.dto.js +39 -0
- package/lib/instructor/instructor.dto.js.map +1 -0
- package/lib/instructor/instructor.model.d.ts +14 -0
- package/lib/instructor/instructor.model.js +63 -0
- package/lib/instructor/instructor.model.js.map +1 -0
- package/lib/invoice/index.d.ts +3 -0
- package/lib/invoice/index.js +20 -0
- package/lib/invoice/index.js.map +1 -0
- package/lib/invoice/invoice.model.d.ts +18 -0
- package/lib/invoice/invoice.model.js +88 -0
- package/lib/invoice/invoice.model.js.map +1 -0
- package/lib/invoice/invoice.types.d.ts +5 -0
- package/lib/invoice/invoice.types.js +10 -0
- package/lib/invoice/invoice.types.js.map +1 -0
- package/lib/invoice/item.model.d.ts +7 -0
- package/lib/invoice/item.model.js +43 -0
- package/lib/invoice/item.model.js.map +1 -0
- package/lib/license/index.d.ts +1 -0
- package/lib/license/index.js +18 -0
- package/lib/license/index.js.map +1 -0
- package/lib/license/license.model.d.ts +5 -0
- package/lib/license/license.model.js +41 -0
- package/lib/license/license.model.js.map +1 -0
- package/lib/note/index.d.ts +1 -0
- package/lib/note/index.js +18 -0
- package/lib/note/index.js.map +1 -0
- package/lib/note/note.model.d.ts +9 -0
- package/lib/note/note.model.js +49 -0
- package/lib/note/note.model.js.map +1 -0
- package/lib/notification/notification.model.js.map +1 -1
- package/lib/payment/index.d.ts +2 -0
- package/lib/payment/index.js +19 -0
- package/lib/payment/index.js.map +1 -0
- package/lib/payment/payment.model.d.ts +14 -0
- package/lib/payment/payment.model.js +74 -0
- package/lib/payment/payment.model.js.map +1 -0
- package/lib/payment/payment.types.d.ts +13 -0
- package/lib/payment/payment.types.js +20 -0
- package/lib/payment/payment.types.js.map +1 -0
- package/lib/payout/index.d.ts +2 -0
- package/lib/payout/index.js +19 -0
- package/lib/payout/index.js.map +1 -0
- package/lib/payout/payout.model.d.ts +12 -0
- package/lib/payout/payout.model.js +58 -0
- package/lib/payout/payout.model.js.map +1 -0
- package/lib/payout/payout.types.d.ts +4 -0
- package/lib/payout/payout.types.js +9 -0
- package/lib/payout/payout.types.js.map +1 -0
- package/lib/priceplan/index.d.ts +2 -0
- package/lib/priceplan/index.js +19 -0
- package/lib/priceplan/index.js.map +1 -0
- package/lib/priceplan/plan.enum.d.ts +10 -0
- package/lib/priceplan/plan.enum.js +16 -0
- package/lib/priceplan/plan.enum.js.map +1 -0
- package/lib/priceplan/plan.model.d.ts +13 -0
- package/lib/priceplan/plan.model.js +70 -0
- package/lib/priceplan/plan.model.js.map +1 -0
- package/lib/refund/index.d.ts +1 -0
- package/lib/refund/index.js +18 -0
- package/lib/refund/index.js.map +1 -0
- package/lib/refund/refund.model.d.ts +11 -0
- package/lib/refund/refund.model.js +57 -0
- package/lib/refund/refund.model.js.map +1 -0
- package/lib/security/account.types.d.ts +8 -0
- package/lib/security/account.types.js +13 -0
- package/lib/security/account.types.js.map +1 -0
- package/lib/security/acl.js +2 -2
- package/lib/security/acl.js.map +1 -1
- package/lib/security/index.d.ts +4 -2
- package/lib/security/index.js +4 -2
- package/lib/security/index.js.map +1 -1
- package/lib/security/role.dto.d.ts +4 -0
- package/lib/security/role.dto.js +24 -0
- package/lib/security/role.dto.js.map +1 -0
- package/lib/security/role.types.d.ts +9 -0
- package/lib/security/role.types.js +14 -0
- package/lib/security/role.types.js.map +1 -0
- package/lib/security/token.d.ts +7 -0
- package/lib/security/token.js +3 -0
- package/lib/security/token.js.map +1 -0
- package/lib/session/course/index.d.ts +1 -0
- package/lib/session/course/index.js +18 -0
- package/lib/session/course/index.js.map +1 -0
- package/lib/session/course/session.model.d.ts +7 -0
- package/lib/session/course/session.model.js +35 -0
- package/lib/session/course/session.model.js.map +1 -0
- package/lib/session/driving/index.d.ts +3 -0
- package/lib/session/driving/index.js +20 -0
- package/lib/session/driving/index.js.map +1 -0
- package/lib/session/driving/session.model.d.ts +14 -0
- package/lib/session/driving/session.model.js +62 -0
- package/lib/session/driving/session.model.js.map +1 -0
- package/lib/session/driving/session.skill.d.ts +5 -0
- package/lib/session/driving/session.skill.js +27 -0
- package/lib/session/driving/session.skill.js.map +1 -0
- package/lib/session/driving/session.topic.d.ts +12 -0
- package/lib/session/driving/session.topic.js +58 -0
- package/lib/session/driving/session.topic.js.map +1 -0
- package/lib/session/index.d.ts +2 -0
- package/lib/session/index.js +19 -0
- package/lib/session/index.js.map +1 -0
- package/lib/setting/index.d.ts +2 -0
- package/lib/setting/index.js +19 -0
- package/lib/setting/index.js.map +1 -0
- package/lib/setting/setting.model.d.ts +10 -0
- package/lib/setting/setting.model.js +52 -0
- package/lib/setting/setting.model.js.map +1 -0
- package/lib/setting/setting.type.d.ts +7 -0
- package/lib/setting/setting.type.js +12 -0
- package/lib/setting/setting.type.js.map +1 -0
- package/lib/signature/index.d.ts +1 -0
- package/lib/signature/index.js +18 -0
- package/lib/signature/index.js.map +1 -0
- package/lib/signature/signature.model.d.ts +7 -0
- package/lib/signature/signature.model.js +42 -0
- package/lib/signature/signature.model.js.map +1 -0
- package/lib/student/index.d.ts +0 -3
- package/lib/student/index.js +0 -3
- package/lib/student/index.js.map +1 -1
- package/lib/student/student.model.d.ts +1 -8
- package/lib/student/student.model.js +1 -28
- package/lib/student/student.model.js.map +1 -1
- package/lib/training/course.model.d.ts +6 -0
- package/lib/training/course.model.js +29 -0
- package/lib/training/course.model.js.map +1 -0
- package/lib/training/driving.model.d.ts +13 -0
- package/lib/training/driving.model.js +59 -0
- package/lib/training/driving.model.js.map +1 -0
- package/lib/training/index.d.ts +5 -0
- package/lib/training/index.js +22 -0
- package/lib/training/index.js.map +1 -0
- package/lib/training/request.model.d.ts +20 -0
- package/lib/training/request.model.js +92 -0
- package/lib/training/request.model.js.map +1 -0
- package/lib/training/training.model.d.ts +31 -0
- package/lib/training/training.model.js +155 -0
- package/lib/training/training.model.js.map +1 -0
- package/lib/training/training.types.d.ts +15 -0
- package/lib/training/training.types.js +22 -0
- package/lib/training/training.types.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/index.d.ts +0 -5
- package/lib/user/index.js +0 -5
- package/lib/user/index.js.map +1 -1
- package/lib/user/profile.dto.d.ts +1 -1
- package/lib/user/profile.dto.js +2 -2
- package/lib/user/profile.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +9 -9
- package/lib/user/user.model.js +28 -13
- package/lib/user/user.model.js.map +1 -1
- package/lib/validators/compare.validator.d.ts +5 -0
- package/lib/validators/compare.validator.js +28 -0
- package/lib/validators/compare.validator.js.map +1 -0
- package/lib/validators/index.d.ts +2 -0
- package/lib/validators/index.js +19 -0
- package/lib/validators/index.js.map +1 -0
- package/lib/validators/required.validator.d.ts +11 -0
- package/lib/validators/required.validator.js +80 -0
- package/lib/validators/required.validator.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"driving.model.js","sourceRoot":"","sources":["../../src/training/driving.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,wCAAqC;AACrC,qDAA4C;AAC5C,wCAA6C;AAC7C,gCAAwC;AAExC,MAAa,eAAgB,SAAQ,yBAAQ;IAG5C,YAAY,CAAkB;IAG9B,OAAO,CAAU;IAIjB,YAAY,CAAS;IAIrB,eAAe,CAAS;IAIxB,iBAAiB,CAAS;IAI1B,eAAe,CAAiB;IAEhC,YAAY,KAAgC;QAC3C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA5BD,0CA4BC;AAzBA;IADC,IAAA,0BAAM,GAAE;;qDACqB;AAG9B;IADC,IAAA,0BAAM,GAAE;8BACA,iBAAO;gDAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qDACE;AAIrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wDACK;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0DACO;AAI1B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAc,CAAC;8BACV,oBAAc;wDAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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("./course.model"), exports);
|
|
18
|
+
__exportStar(require("./driving.model"), exports);
|
|
19
|
+
__exportStar(require("./request.model"), exports);
|
|
20
|
+
__exportStar(require("./training.model"), exports);
|
|
21
|
+
__exportStar(require("./training.types"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/training/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { User } from "../user";
|
|
2
|
+
import { CarTransmission, DrivingCategory } from "../driving";
|
|
3
|
+
import { TrainingRequestStatus, TrainingType } from "./training.types";
|
|
4
|
+
import { Course } from "../course";
|
|
5
|
+
export declare class TrainingRequest {
|
|
6
|
+
id: number;
|
|
7
|
+
preferredStartDate: Date;
|
|
8
|
+
type: TrainingType;
|
|
9
|
+
status: TrainingRequestStatus;
|
|
10
|
+
course: Course;
|
|
11
|
+
transmission: CarTransmission;
|
|
12
|
+
drivingCategory: DrivingCategory;
|
|
13
|
+
createdBy: User;
|
|
14
|
+
createdOn: Date;
|
|
15
|
+
acceptedBy: User;
|
|
16
|
+
acceptedOn: Date;
|
|
17
|
+
rejectedBy: User;
|
|
18
|
+
rejectedOn: Date;
|
|
19
|
+
constructor(props?: Partial<TrainingRequest>);
|
|
20
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TrainingRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const user_1 = require("../user");
|
|
15
|
+
const driving_1 = require("../driving");
|
|
16
|
+
const training_types_1 = require("./training.types");
|
|
17
|
+
class TrainingRequest {
|
|
18
|
+
id;
|
|
19
|
+
preferredStartDate;
|
|
20
|
+
type;
|
|
21
|
+
status;
|
|
22
|
+
course;
|
|
23
|
+
transmission;
|
|
24
|
+
drivingCategory;
|
|
25
|
+
createdBy;
|
|
26
|
+
createdOn;
|
|
27
|
+
acceptedBy;
|
|
28
|
+
acceptedOn;
|
|
29
|
+
rejectedBy;
|
|
30
|
+
rejectedOn;
|
|
31
|
+
constructor(props) {
|
|
32
|
+
Object.assign(this, props);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.TrainingRequest = TrainingRequest;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], TrainingRequest.prototype, "id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
44
|
+
__metadata("design:type", Date)
|
|
45
|
+
], TrainingRequest.prototype, "preferredStartDate", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], TrainingRequest.prototype, "type", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], TrainingRequest.prototype, "status", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], TrainingRequest.prototype, "transmission", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
__metadata("design:type", driving_1.DrivingCategory)
|
|
61
|
+
], TrainingRequest.prototype, "drivingCategory", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
65
|
+
__metadata("design:type", user_1.User)
|
|
66
|
+
], TrainingRequest.prototype, "createdBy", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
70
|
+
__metadata("design:type", Date)
|
|
71
|
+
], TrainingRequest.prototype, "createdOn", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
75
|
+
__metadata("design:type", user_1.User)
|
|
76
|
+
], TrainingRequest.prototype, "acceptedBy", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
80
|
+
__metadata("design:type", Date)
|
|
81
|
+
], TrainingRequest.prototype, "acceptedOn", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_transformer_1.Expose)(),
|
|
84
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
85
|
+
__metadata("design:type", user_1.User)
|
|
86
|
+
], TrainingRequest.prototype, "rejectedBy", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_transformer_1.Expose)(),
|
|
89
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
90
|
+
__metadata("design:type", Date)
|
|
91
|
+
], TrainingRequest.prototype, "rejectedOn", void 0);
|
|
92
|
+
//# sourceMappingURL=request.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.model.js","sourceRoot":"","sources":["../../src/training/request.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAA+B;AAC/B,wCAA8D;AAC9D,qDAAuE;AAGvE,MAAa,eAAe;IAI3B,EAAE,CAAS;IAIX,kBAAkB,CAAO;IAGzB,IAAI,CAAe;IAGnB,MAAM,CAAwB;IAI9B,MAAM,CAAS;IAKf,YAAY,CAAkB;IAG9B,eAAe,CAAkB;IAMjC,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,UAAU,CAAO;IAIjB,UAAU,CAAO;IAIjB,UAAU,CAAO;IAIjB,UAAU,CAAO;IAEjB,YAAY,KAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzDD,0CAyDC;AArDA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACG,IAAI;2DAAC;AAGzB;IADC,IAAA,0BAAM,GAAE;;6CACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;+CACqB;AAS9B;IADC,IAAA,0BAAM,GAAE;;qDACqB;AAG9B;IADC,IAAA,0BAAM,GAAE;8BACQ,yBAAe;wDAAC;AAMjC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACN,WAAI;kDAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;kDAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACL,WAAI;mDAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;mDAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACL,WAAI;mDAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;mDAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TrainingStatus, TrainingType } from "./training.types";
|
|
2
|
+
import { User } from "../user";
|
|
3
|
+
import { Note } from "../note";
|
|
4
|
+
export declare class Training {
|
|
5
|
+
id: number;
|
|
6
|
+
instructor: User;
|
|
7
|
+
name: string;
|
|
8
|
+
type: TrainingType;
|
|
9
|
+
status: TrainingStatus;
|
|
10
|
+
calendarEnabled: boolean;
|
|
11
|
+
studentRating: number;
|
|
12
|
+
price: number;
|
|
13
|
+
balance: number;
|
|
14
|
+
discount: number;
|
|
15
|
+
refund: number;
|
|
16
|
+
createdBy: User;
|
|
17
|
+
createdOn: Date;
|
|
18
|
+
completedBy: User;
|
|
19
|
+
completedOn: Date;
|
|
20
|
+
archivedBy: User;
|
|
21
|
+
archivedOn: Date;
|
|
22
|
+
terminatedBy: User;
|
|
23
|
+
terminatedOn: Date;
|
|
24
|
+
terminationNote: Note;
|
|
25
|
+
constructor(props?: Partial<Training>);
|
|
26
|
+
isDriving(): boolean;
|
|
27
|
+
isCourse(): boolean;
|
|
28
|
+
isInProgress(): boolean;
|
|
29
|
+
isCompleted(): boolean;
|
|
30
|
+
isTerminated(): boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Training = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const training_types_1 = require("./training.types");
|
|
15
|
+
const user_1 = require("../user");
|
|
16
|
+
const note_1 = require("../note");
|
|
17
|
+
class Training {
|
|
18
|
+
id;
|
|
19
|
+
instructor;
|
|
20
|
+
name;
|
|
21
|
+
type;
|
|
22
|
+
status;
|
|
23
|
+
calendarEnabled;
|
|
24
|
+
studentRating;
|
|
25
|
+
price;
|
|
26
|
+
balance;
|
|
27
|
+
discount;
|
|
28
|
+
refund;
|
|
29
|
+
createdBy;
|
|
30
|
+
createdOn;
|
|
31
|
+
completedBy;
|
|
32
|
+
completedOn;
|
|
33
|
+
archivedBy;
|
|
34
|
+
archivedOn;
|
|
35
|
+
terminatedBy;
|
|
36
|
+
terminatedOn;
|
|
37
|
+
terminationNote;
|
|
38
|
+
constructor(props) {
|
|
39
|
+
Object.assign(this, props);
|
|
40
|
+
}
|
|
41
|
+
isDriving() {
|
|
42
|
+
return this.type === training_types_1.TrainingType.Driving;
|
|
43
|
+
}
|
|
44
|
+
isCourse() {
|
|
45
|
+
return this.type === training_types_1.TrainingType.Course;
|
|
46
|
+
}
|
|
47
|
+
isInProgress() {
|
|
48
|
+
return this.status === training_types_1.TrainingStatus.InProgress;
|
|
49
|
+
}
|
|
50
|
+
isCompleted() {
|
|
51
|
+
return this.status === training_types_1.TrainingStatus.Completed;
|
|
52
|
+
}
|
|
53
|
+
isTerminated() {
|
|
54
|
+
return this.status === training_types_1.TrainingStatus.Terminated;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.Training = Training;
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], Training.prototype, "id", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
66
|
+
__metadata("design:type", user_1.User)
|
|
67
|
+
], Training.prototype, "instructor", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], Training.prototype, "name", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], Training.prototype, "type", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], Training.prototype, "status", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], Training.prototype, "calendarEnabled", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
88
|
+
__metadata("design:type", Number)
|
|
89
|
+
], Training.prototype, "studentRating", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_transformer_1.Expose)(),
|
|
92
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
93
|
+
__metadata("design:type", Number)
|
|
94
|
+
], Training.prototype, "price", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, class_transformer_1.Expose)(),
|
|
97
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
98
|
+
__metadata("design:type", Number)
|
|
99
|
+
], Training.prototype, "balance", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, class_transformer_1.Expose)(),
|
|
102
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
103
|
+
__metadata("design:type", Number)
|
|
104
|
+
], Training.prototype, "discount", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, class_transformer_1.Expose)(),
|
|
107
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
108
|
+
__metadata("design:type", Number)
|
|
109
|
+
], Training.prototype, "refund", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, class_transformer_1.Expose)(),
|
|
112
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
113
|
+
__metadata("design:type", user_1.User)
|
|
114
|
+
], Training.prototype, "createdBy", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_transformer_1.Expose)(),
|
|
117
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
118
|
+
__metadata("design:type", Date)
|
|
119
|
+
], Training.prototype, "createdOn", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, class_transformer_1.Expose)(),
|
|
122
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
123
|
+
__metadata("design:type", user_1.User)
|
|
124
|
+
], Training.prototype, "completedBy", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, class_transformer_1.Expose)(),
|
|
127
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
128
|
+
__metadata("design:type", Date)
|
|
129
|
+
], Training.prototype, "completedOn", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, class_transformer_1.Expose)(),
|
|
132
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
133
|
+
__metadata("design:type", user_1.User)
|
|
134
|
+
], Training.prototype, "archivedBy", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, class_transformer_1.Expose)(),
|
|
137
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
138
|
+
__metadata("design:type", Date)
|
|
139
|
+
], Training.prototype, "archivedOn", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, class_transformer_1.Expose)(),
|
|
142
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
143
|
+
__metadata("design:type", user_1.User)
|
|
144
|
+
], Training.prototype, "terminatedBy", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, class_transformer_1.Expose)(),
|
|
147
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
148
|
+
__metadata("design:type", Date)
|
|
149
|
+
], Training.prototype, "terminatedOn", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, class_transformer_1.Expose)(),
|
|
152
|
+
(0, class_transformer_1.Type)(() => note_1.Note),
|
|
153
|
+
__metadata("design:type", note_1.Note)
|
|
154
|
+
], Training.prototype, "terminationNote", void 0);
|
|
155
|
+
//# sourceMappingURL=training.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"training.model.js","sourceRoot":"","sources":["../../src/training/training.model.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum TrainingType {
|
|
2
|
+
Driving = "DRIVING",
|
|
3
|
+
Course = "COURSE"
|
|
4
|
+
}
|
|
5
|
+
export declare enum TrainingStatus {
|
|
6
|
+
InProgress = "INPROGRESS",
|
|
7
|
+
Completed = "COMPLETED",
|
|
8
|
+
Terminated = "TERMINATED"
|
|
9
|
+
}
|
|
10
|
+
export declare enum TrainingRequestStatus {
|
|
11
|
+
Pending = "PENDING",
|
|
12
|
+
Accepted = "ACCEPTED",
|
|
13
|
+
Rejected = "REJECTED",
|
|
14
|
+
Canceled = "CANCELED"
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrainingRequestStatus = exports.TrainingStatus = exports.TrainingType = void 0;
|
|
4
|
+
var TrainingType;
|
|
5
|
+
(function (TrainingType) {
|
|
6
|
+
TrainingType["Driving"] = "DRIVING";
|
|
7
|
+
TrainingType["Course"] = "COURSE";
|
|
8
|
+
})(TrainingType || (exports.TrainingType = TrainingType = {}));
|
|
9
|
+
var TrainingStatus;
|
|
10
|
+
(function (TrainingStatus) {
|
|
11
|
+
TrainingStatus["InProgress"] = "INPROGRESS";
|
|
12
|
+
TrainingStatus["Completed"] = "COMPLETED";
|
|
13
|
+
TrainingStatus["Terminated"] = "TERMINATED";
|
|
14
|
+
})(TrainingStatus || (exports.TrainingStatus = TrainingStatus = {}));
|
|
15
|
+
var TrainingRequestStatus;
|
|
16
|
+
(function (TrainingRequestStatus) {
|
|
17
|
+
TrainingRequestStatus["Pending"] = "PENDING";
|
|
18
|
+
TrainingRequestStatus["Accepted"] = "ACCEPTED";
|
|
19
|
+
TrainingRequestStatus["Rejected"] = "REJECTED";
|
|
20
|
+
TrainingRequestStatus["Canceled"] = "CANCELED";
|
|
21
|
+
})(TrainingRequestStatus || (exports.TrainingRequestStatus = TrainingRequestStatus = {}));
|
|
22
|
+
//# sourceMappingURL=training.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"training.types.js","sourceRoot":"","sources":["../../src/training/training.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;AAClB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,2CAAyB,CAAA;IACzB,yCAAuB,CAAA;IACvB,2CAAyB,CAAA;AAC1B,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|