@intelact/driveup 0.1.1 → 0.2.1
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 +10 -18
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/agent/code.model.d.ts +1 -2
- package/lib/agent/code.model.js +10 -11
- package/lib/agent/code.model.js.map +1 -1
- package/lib/agent/payout.model.d.ts +2 -5
- package/lib/agent/payout.model.js +13 -21
- package/lib/agent/payout.model.js.map +1 -1
- package/lib/common/appointment.model.d.ts +13 -0
- package/lib/common/appointment.model.js +79 -0
- package/lib/common/appointment.model.js.map +1 -0
- package/lib/common/date.d.ts +9 -0
- package/lib/common/date.enum.d.ts +9 -0
- package/lib/common/date.enum.js +14 -0
- package/lib/common/date.enum.js.map +1 -0
- package/lib/common/date.js +14 -0
- package/lib/common/date.js.map +1 -0
- package/lib/common/general.dto.d.ts +13 -0
- package/lib/common/general.dto.js +62 -0
- package/lib/common/general.dto.js.map +1 -0
- package/lib/common/index.d.ts +3 -0
- package/lib/common/index.js +20 -0
- package/lib/common/index.js.map +1 -0
- package/lib/common/notification.enum.d.ts +11 -0
- package/lib/common/notification.enum.js +17 -0
- package/lib/common/notification.enum.js.map +1 -0
- package/lib/company/account.status.enum.d.ts +7 -0
- package/lib/company/account.status.enum.js +3 -0
- package/lib/company/account.status.enum.js.map +1 -0
- package/lib/company/common/appointment.type.enum.d.ts +4 -0
- package/lib/company/common/appointment.type.enum.js +9 -0
- package/lib/company/common/appointment.type.enum.js.map +1 -0
- package/lib/company/common/index.d.ts +2 -0
- package/lib/company/common/index.js +19 -0
- package/lib/company/common/index.js.map +1 -0
- package/lib/company/common/request.status.enum.d.ts +6 -0
- package/lib/company/common/request.status.enum.js +11 -0
- package/lib/company/common/request.status.enum.js.map +1 -0
- package/lib/company/common/setting.enum.d.ts +7 -0
- package/lib/company/common/setting.enum.js +12 -0
- package/lib/company/common/setting.enum.js.map +1 -0
- package/lib/company/common/training.status.enum.d.ts +11 -0
- package/lib/company/common/training.status.enum.js +17 -0
- package/lib/company/common/training.status.enum.js.map +1 -0
- package/lib/company/company.model.d.ts +5 -23
- package/lib/company/company.model.js +6 -69
- package/lib/company/company.model.js.map +1 -1
- package/lib/company/course/appointment.model.d.ts +7 -10
- package/lib/company/course/appointment.model.js +16 -33
- package/lib/company/course/appointment.model.js.map +1 -1
- package/lib/company/course/course.enum.d.ts +15 -0
- package/lib/company/course/course.enum.js +22 -0
- package/lib/company/course/course.enum.js.map +1 -0
- package/lib/company/course/course.model.d.ts +8 -9
- package/lib/company/course/course.model.js +31 -24
- package/lib/company/course/course.model.js.map +1 -1
- package/lib/company/course/definition.model.d.ts +11 -0
- package/lib/company/course/definition.model.js +57 -0
- package/lib/company/course/definition.model.js.map +1 -0
- package/lib/company/course/finances/discount.model.d.ts +2 -3
- package/lib/company/course/finances/discount.model.js +9 -10
- package/lib/company/course/finances/discount.model.js.map +1 -1
- package/lib/company/course/finances/invoice-item.model.d.ts +1 -2
- package/lib/company/course/finances/invoice-item.model.js +6 -7
- package/lib/company/course/finances/invoice-item.model.js.map +1 -1
- package/lib/company/course/finances/invoice.model.d.ts +3 -8
- package/lib/company/course/finances/invoice.model.js +10 -25
- package/lib/company/course/finances/invoice.model.js.map +1 -1
- package/lib/company/course/finances/payment.model.d.ts +3 -6
- package/lib/company/course/finances/payment.model.js +12 -20
- package/lib/company/course/finances/payment.model.js.map +1 -1
- package/lib/company/course/finances/refund.model.d.ts +2 -3
- package/lib/company/course/finances/refund.model.js +9 -10
- package/lib/company/course/finances/refund.model.js.map +1 -1
- package/lib/company/course/index.d.ts +3 -1
- package/lib/company/course/index.js +3 -1
- package/lib/company/course/index.js.map +1 -1
- package/lib/company/course/part.model.d.ts +4 -6
- package/lib/company/course/part.model.js +15 -17
- package/lib/company/course/part.model.js.map +1 -1
- package/lib/company/driving/appointment.type.enum.d.ts +4 -0
- package/lib/company/driving/appointment.type.enum.js +9 -0
- package/lib/company/driving/appointment.type.enum.js.map +1 -0
- package/lib/company/driving/category.model.d.ts +3 -9
- package/lib/company/driving/category.model.js +14 -35
- package/lib/company/driving/category.model.js.map +1 -1
- package/lib/company/driving/exam.enum.d.ts +5 -0
- package/lib/company/driving/exam.enum.js +10 -0
- package/lib/company/driving/exam.enum.js.map +1 -0
- package/lib/company/driving/exam.status.enum.d.ts +5 -0
- package/lib/company/driving/exam.status.enum.js +10 -0
- package/lib/company/driving/exam.status.enum.js.map +1 -0
- package/lib/company/driving/finances/discount.model.d.ts +2 -3
- package/lib/company/driving/finances/discount.model.js +9 -10
- package/lib/company/driving/finances/discount.model.js.map +1 -1
- package/lib/company/driving/finances/invoice-item.model.d.ts +1 -2
- package/lib/company/driving/finances/invoice-item.model.js +6 -7
- package/lib/company/driving/finances/invoice-item.model.js.map +1 -1
- package/lib/company/driving/finances/invoice.model.d.ts +2 -8
- package/lib/company/driving/finances/invoice.model.js +4 -25
- package/lib/company/driving/finances/invoice.model.js.map +1 -1
- package/lib/company/driving/finances/payment.model.d.ts +3 -6
- package/lib/company/driving/finances/payment.model.js +12 -20
- package/lib/company/driving/finances/payment.model.js.map +1 -1
- package/lib/company/driving/finances/refund.model.d.ts +2 -3
- package/lib/company/driving/finances/refund.model.js +9 -10
- package/lib/company/driving/finances/refund.model.js.map +1 -1
- package/lib/company/driving/index.d.ts +5 -1
- package/lib/company/driving/index.js +5 -1
- package/lib/company/driving/index.js.map +1 -1
- package/lib/company/driving/score.enum.d.ts +12 -0
- package/lib/company/driving/score.enum.js +18 -0
- package/lib/company/driving/score.enum.js.map +1 -0
- package/lib/company/driving/skill.model.d.ts +3 -7
- package/lib/company/driving/skill.model.js +9 -21
- package/lib/company/driving/skill.model.js.map +1 -1
- package/lib/company/driving/status.enum.d.ts +5 -0
- package/lib/company/driving/status.enum.js +10 -0
- package/lib/company/driving/status.enum.js.map +1 -0
- package/lib/company/driving/topic.model.d.ts +3 -9
- package/lib/company/driving/topic.model.js +9 -30
- package/lib/company/driving/topic.model.js.map +1 -1
- package/lib/company/driving/transmission.enum.d.ts +4 -0
- package/lib/company/driving/transmission.enum.js +9 -0
- package/lib/company/driving/transmission.enum.js.map +1 -0
- package/lib/company/event.model.d.ts +1 -4
- package/lib/company/event.model.js +6 -14
- package/lib/company/event.model.js.map +1 -1
- package/lib/company/finances/card.model.d.ts +1 -2
- package/lib/company/finances/card.model.js +5 -6
- package/lib/company/finances/card.model.js.map +1 -1
- package/lib/company/finances/credit.model.d.ts +1 -5
- package/lib/company/finances/credit.model.js +4 -18
- package/lib/company/finances/credit.model.js.map +1 -1
- package/lib/company/finances/expense-category.model.d.ts +1 -4
- package/lib/company/finances/expense-category.model.js +6 -14
- package/lib/company/finances/expense-category.model.js.map +1 -1
- package/lib/company/finances/expense.model.d.ts +3 -6
- package/lib/company/finances/expense.model.js +10 -18
- package/lib/company/finances/expense.model.js.map +1 -1
- package/lib/company/finances/finance.enum.d.ts +22 -0
- package/lib/company/finances/finance.enum.js +31 -0
- package/lib/company/finances/finance.enum.js.map +1 -0
- package/lib/company/finances/index.d.ts +1 -2
- package/lib/company/finances/index.js +1 -2
- package/lib/company/finances/index.js.map +1 -1
- package/lib/company/finances/payment.model.d.ts +4 -5
- package/lib/company/finances/payment.model.js +12 -13
- package/lib/company/finances/payment.model.js.map +1 -1
- package/lib/company/finances/priceplan.model.d.ts +2 -2
- package/lib/company/finances/priceplan.model.js +5 -5
- package/lib/company/finances/priceplan.model.js.map +1 -1
- package/lib/company/index.d.ts +7 -3
- package/lib/company/index.js +7 -3
- package/lib/company/index.js.map +1 -1
- package/lib/company/plan/index.d.ts +2 -0
- package/lib/company/plan/index.js +19 -0
- package/lib/company/plan/index.js.map +1 -0
- package/lib/company/plan/plan.enum.d.ts +9 -0
- package/lib/company/plan/plan.enum.js +15 -0
- package/lib/company/plan/plan.enum.js.map +1 -0
- package/lib/company/plan/plan.model.d.ts +16 -0
- package/lib/company/plan/plan.model.js +87 -0
- package/lib/company/plan/plan.model.js.map +1 -0
- package/lib/company/plan.enum.d.ts +9 -0
- package/lib/company/plan.enum.js +15 -0
- package/lib/company/plan.enum.js.map +1 -0
- package/lib/company/setting.model.d.ts +10 -0
- package/lib/company/setting.model.js +52 -0
- package/lib/company/setting.model.js.map +1 -0
- package/lib/company/team/index.d.ts +2 -0
- package/lib/company/team/index.js +19 -0
- package/lib/company/team/index.js.map +1 -0
- package/lib/company/team/user.model.d.ts +26 -0
- package/lib/company/team/user.model.js +92 -0
- package/lib/company/team/user.model.js.map +1 -0
- package/lib/company/team/user.status.enum.d.ts +5 -0
- package/lib/company/team/user.status.enum.js +10 -0
- package/lib/company/team/user.status.enum.js.map +1 -0
- package/lib/company/user.model.d.ts +3 -7
- package/lib/company/user.model.js +11 -15
- package/lib/company/user.model.js.map +1 -1
- package/lib/enums/finance.js +5 -5
- package/lib/enums/finance.js.map +1 -1
- package/lib/enums/index.d.ts +0 -6
- package/lib/enums/index.js +1 -11
- package/lib/enums/index.js.map +1 -1
- package/lib/enums/language.js +1 -1
- package/lib/enums/language.js.map +1 -1
- package/lib/enums/notification.js +2 -2
- package/lib/enums/notification.js.map +1 -1
- package/lib/enums/plan.js +2 -2
- package/lib/enums/plan.js.map +1 -1
- package/lib/enums/score.js +2 -2
- package/lib/enums/score.js.map +1 -1
- package/lib/enums/training.d.ts +0 -5
- package/lib/enums/training.js +5 -11
- package/lib/enums/training.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/language/index.d.ts +1 -0
- package/lib/language/index.js +18 -0
- package/lib/language/index.js.map +1 -0
- package/lib/language/language.enum.d.ts +6 -0
- package/lib/language/language.enum.js +11 -0
- package/lib/language/language.enum.js.map +1 -0
- package/lib/security/index.d.ts +1 -1
- package/lib/security/index.js +1 -1
- package/lib/security/index.js.map +1 -1
- package/lib/student/course/appointment.model.d.ts +1 -4
- package/lib/student/course/appointment.model.js +6 -14
- package/lib/student/course/appointment.model.js.map +1 -1
- package/lib/student/course/request.model.d.ts +2 -10
- package/lib/student/course/request.model.js +10 -33
- package/lib/student/course/request.model.js.map +1 -1
- package/lib/student/course/training.model.d.ts +2 -16
- package/lib/student/course/training.model.js +13 -57
- package/lib/student/course/training.model.js.map +1 -1
- package/lib/student/driving/appointment-skill.model.d.ts +2 -5
- package/lib/student/driving/appointment-skill.model.js +6 -14
- package/lib/student/driving/appointment-skill.model.js.map +1 -1
- package/lib/student/driving/appointment-topic.model.d.ts +2 -7
- package/lib/student/driving/appointment-topic.model.js +7 -22
- package/lib/student/driving/appointment-topic.model.js.map +1 -1
- package/lib/student/driving/appointment.model.d.ts +2 -9
- package/lib/student/driving/appointment.model.js +7 -29
- package/lib/student/driving/appointment.model.js.map +1 -1
- package/lib/student/driving/exam/exam-topic-assesment.model.d.ts +1 -1
- package/lib/student/driving/exam/exam-topic-assesment.model.js +1 -1
- package/lib/student/driving/exam/exam-topic-assesment.model.js.map +1 -1
- package/lib/student/driving/exam/exam.model.d.ts +1 -1
- package/lib/student/driving/exam/exam.model.js +1 -1
- package/lib/student/driving/exam/exam.model.js.map +1 -1
- package/lib/student/driving/exam/index.d.ts +2 -0
- package/lib/student/driving/exam/index.js +19 -0
- package/lib/student/driving/exam/index.js.map +1 -0
- package/lib/student/driving/index.d.ts +1 -2
- package/lib/student/driving/index.js +1 -2
- package/lib/student/driving/index.js.map +1 -1
- package/lib/student/driving/request.model.d.ts +2 -6
- package/lib/student/driving/request.model.js +10 -19
- package/lib/student/driving/request.model.js.map +1 -1
- package/lib/student/driving/skill.model.d.ts +2 -9
- package/lib/student/driving/skill.model.js +6 -28
- package/lib/student/driving/skill.model.js.map +1 -1
- package/lib/student/driving/topic.model.d.ts +2 -11
- package/lib/student/driving/topic.model.js +7 -36
- package/lib/student/driving/topic.model.js.map +1 -1
- package/lib/student/driving/training.model.d.ts +2 -23
- package/lib/student/driving/training.model.js +13 -84
- package/lib/student/driving/training.model.js.map +1 -1
- package/lib/student/index.d.ts +3 -3
- package/lib/student/index.js +3 -3
- package/lib/student/index.js.map +1 -1
- package/lib/student/signature.model.d.ts +1 -4
- package/lib/student/signature.model.js +6 -14
- package/lib/student/signature.model.js.map +1 -1
- package/lib/student/student.model.d.ts +2 -8
- package/lib/student/student.model.js +9 -26
- package/lib/student/student.model.js.map +1 -1
- package/lib/system/country.model.d.ts +2 -6
- package/lib/system/country.model.js +4 -18
- package/lib/system/country.model.js.map +1 -1
- package/lib/system/driving/category.model.d.ts +0 -2
- package/lib/system/driving/category.model.js +0 -7
- package/lib/system/driving/category.model.js.map +1 -1
- package/lib/system/driving/category.trans.model.d.ts +1 -1
- package/lib/system/driving/category.trans.model.js +1 -1
- package/lib/system/driving/category.trans.model.js.map +1 -1
- package/lib/system/driving/index.d.ts +6 -0
- package/lib/system/driving/index.js +23 -0
- package/lib/system/driving/index.js.map +1 -0
- package/lib/system/driving/skill.model.d.ts +1 -1
- package/lib/system/driving/skill.model.js.map +1 -1
- package/lib/system/driving/skill.trans.model.d.ts +1 -1
- package/lib/system/driving/skill.trans.model.js +1 -1
- package/lib/system/driving/skill.trans.model.js.map +1 -1
- package/lib/system/driving/topic.model.d.ts +1 -3
- package/lib/system/driving/topic.model.js +0 -7
- package/lib/system/driving/topic.model.js.map +1 -1
- package/lib/system/driving/topic.trans.model.d.ts +1 -1
- package/lib/system/driving/topic.trans.model.js +1 -1
- package/lib/system/driving/topic.trans.model.js.map +1 -1
- package/lib/system/finances/currency.model.d.ts +0 -2
- package/lib/system/finances/currency.model.js +0 -7
- package/lib/system/finances/currency.model.js.map +1 -1
- package/lib/system/finances/index.d.ts +1 -0
- package/lib/system/finances/index.js +1 -0
- package/lib/system/finances/index.js.map +1 -1
- package/lib/system/finances/priceplan.model.d.ts +2 -4
- package/lib/system/finances/priceplan.model.js +1 -8
- package/lib/system/finances/priceplan.model.js.map +1 -1
- package/lib/system/finances/priceplan.translation.d.ts +1 -1
- package/lib/system/finances/priceplan.translation.js +1 -1
- package/lib/system/finances/priceplan.translation.js.map +1 -1
- package/lib/system/index.d.ts +2 -1
- package/lib/system/index.js +2 -1
- package/lib/system/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/notification/index.d.ts +1 -0
- package/lib/user/notification/index.js +1 -0
- package/lib/user/notification/index.js.map +1 -1
- package/lib/user/notification/notification-preference.model.d.ts +1 -0
- package/lib/user/notification/notification-preference.model.js +7 -1
- package/lib/user/notification/notification-preference.model.js.map +1 -1
- package/lib/user/notification/notification.enum.d.ts +11 -0
- package/lib/user/notification/notification.enum.js +17 -0
- package/lib/user/notification/notification.enum.js.map +1 -0
- package/lib/user/notification/notification.model.d.ts +2 -3
- package/lib/user/notification/notification.model.js +7 -8
- package/lib/user/notification/notification.model.js.map +1 -1
- package/lib/user/sign.dto.d.ts +2 -0
- package/lib/user/sign.dto.js +7 -0
- package/lib/user/sign.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +3 -19
- package/lib/user/user.model.js +6 -62
- package/lib/user/user.model.js.map +1 -1
- package/package.json +7 -5
package/lib/enums/training.d.ts
CHANGED
package/lib/enums/training.js
CHANGED
|
@@ -1,33 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TrainingRequestStatus = exports.CarTransmission = exports.DrivingAppointmentType = exports.DrivingExamStatus =
|
|
4
|
-
var TrainingStatus;
|
|
5
|
-
(function (TrainingStatus) {
|
|
6
|
-
TrainingStatus["InProgress"] = "INPROGRESS";
|
|
7
|
-
TrainingStatus["Completed"] = "COMPLETED";
|
|
8
|
-
TrainingStatus["Terminated"] = "TERMINATED";
|
|
9
|
-
})(TrainingStatus || (exports.TrainingStatus = TrainingStatus = {}));
|
|
3
|
+
exports.TrainingRequestStatus = exports.CarTransmission = exports.DrivingAppointmentType = exports.DrivingExamStatus = void 0;
|
|
10
4
|
var DrivingExamStatus;
|
|
11
5
|
(function (DrivingExamStatus) {
|
|
12
6
|
DrivingExamStatus["Undecided"] = "UNDECIDED";
|
|
13
7
|
DrivingExamStatus["Passed"] = "PASSED";
|
|
14
8
|
DrivingExamStatus["Failed"] = "FAILED";
|
|
15
|
-
})(DrivingExamStatus
|
|
9
|
+
})(DrivingExamStatus = exports.DrivingExamStatus || (exports.DrivingExamStatus = {}));
|
|
16
10
|
var DrivingAppointmentType;
|
|
17
11
|
(function (DrivingAppointmentType) {
|
|
18
12
|
DrivingAppointmentType["Lesson"] = "LESSON";
|
|
19
13
|
DrivingAppointmentType["Exam"] = "EXAM";
|
|
20
|
-
})(DrivingAppointmentType
|
|
14
|
+
})(DrivingAppointmentType = exports.DrivingAppointmentType || (exports.DrivingAppointmentType = {}));
|
|
21
15
|
var CarTransmission;
|
|
22
16
|
(function (CarTransmission) {
|
|
23
17
|
CarTransmission["Automatic"] = "AUTOMATIC";
|
|
24
18
|
CarTransmission["Manual"] = "MANUAL";
|
|
25
|
-
})(CarTransmission
|
|
19
|
+
})(CarTransmission = exports.CarTransmission || (exports.CarTransmission = {}));
|
|
26
20
|
var TrainingRequestStatus;
|
|
27
21
|
(function (TrainingRequestStatus) {
|
|
28
22
|
TrainingRequestStatus["Pending"] = "PENDING";
|
|
29
23
|
TrainingRequestStatus["Accepted"] = "ACCEPTED";
|
|
30
24
|
TrainingRequestStatus["Rejected"] = "REJECTED";
|
|
31
25
|
TrainingRequestStatus["Canceled"] = "CANCELED";
|
|
32
|
-
})(TrainingRequestStatus
|
|
26
|
+
})(TrainingRequestStatus = exports.TrainingRequestStatus || (exports.TrainingRequestStatus = {}));
|
|
33
27
|
//# sourceMappingURL=training.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"training.js","sourceRoot":"","sources":["../../src/enums/training.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"training.js","sourceRoot":"","sources":["../../src/enums/training.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,uCAAa,CAAA;AACd,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -15,9 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./agent"), exports);
|
|
18
|
+
__exportStar(require("./common"), exports);
|
|
18
19
|
__exportStar(require("./company"), exports);
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./user"), exports);
|
|
20
|
+
__exportStar(require("./language"), exports);
|
|
21
21
|
__exportStar(require("./security"), exports);
|
|
22
22
|
__exportStar(require("./student"), exports);
|
|
23
23
|
__exportStar(require("./system"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,yCAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './language.enum';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./language.enum"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/language/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Language = void 0;
|
|
4
|
+
var Language;
|
|
5
|
+
(function (Language) {
|
|
6
|
+
Language["En"] = "EN";
|
|
7
|
+
Language["De"] = "DE";
|
|
8
|
+
Language["Fr"] = "FR";
|
|
9
|
+
Language["It"] = "IT";
|
|
10
|
+
})(Language || (exports.Language = Language = {}));
|
|
11
|
+
//# sourceMappingURL=language.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"language.enum.js","sourceRoot":"","sources":["../../src/language/language.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,QAKX;AALD,WAAY,QAAQ;IACnB,qBAAS,CAAA;IACT,qBAAS,CAAA;IACT,qBAAS,CAAA;IACT,qBAAS,CAAA;AACV,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB"}
|
package/lib/security/index.d.ts
CHANGED
package/lib/security/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./acl"), exports);
|
|
18
|
-
__exportStar(require("./roles"), exports);
|
|
19
18
|
__exportStar(require("./permissions"), exports);
|
|
19
|
+
__exportStar(require("./roles"), exports);
|
|
20
20
|
__exportStar(require("./token.interface"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/security/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/security/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,gDAA8B;AAC9B,0CAAwB;AACxB,oDAAkC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { CourseAppointment } from "../../company/course/appointment.model";
|
|
2
|
-
import { StudentCourseTraining } from "./training.model";
|
|
3
1
|
export declare class StudentCourseAppointment {
|
|
2
|
+
id: number;
|
|
4
3
|
attended: boolean;
|
|
5
|
-
training: StudentCourseTraining;
|
|
6
|
-
appointment: CourseAppointment;
|
|
7
4
|
constructor(props?: Partial<StudentCourseAppointment>);
|
|
8
5
|
}
|
|
@@ -11,30 +11,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.StudentCourseAppointment = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const appointment_model_1 = require("../../company/course/appointment.model");
|
|
15
|
-
const training_model_1 = require("./training.model");
|
|
16
14
|
class StudentCourseAppointment {
|
|
15
|
+
id;
|
|
17
16
|
attended;
|
|
18
|
-
training;
|
|
19
|
-
appointment;
|
|
20
17
|
constructor(props) {
|
|
21
18
|
Object.assign(this, props);
|
|
22
19
|
}
|
|
23
20
|
}
|
|
24
21
|
exports.StudentCourseAppointment = StudentCourseAppointment;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], StudentCourseAppointment.prototype, "id", void 0);
|
|
25
27
|
__decorate([
|
|
26
28
|
(0, class_transformer_1.Expose)(),
|
|
27
29
|
(0, class_transformer_1.Type)(() => Boolean),
|
|
28
30
|
__metadata("design:type", Boolean)
|
|
29
31
|
], StudentCourseAppointment.prototype, "attended", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_transformer_1.Expose)(),
|
|
32
|
-
(0, class_transformer_1.Type)(() => training_model_1.StudentCourseTraining),
|
|
33
|
-
__metadata("design:type", training_model_1.StudentCourseTraining)
|
|
34
|
-
], StudentCourseAppointment.prototype, "training", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_transformer_1.Expose)(),
|
|
37
|
-
(0, class_transformer_1.Type)(() => appointment_model_1.CourseAppointment),
|
|
38
|
-
__metadata("design:type", appointment_model_1.CourseAppointment)
|
|
39
|
-
], StudentCourseAppointment.prototype, "appointment", void 0);
|
|
40
32
|
//# sourceMappingURL=appointment.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.model.js","sourceRoot":"","sources":["../../../src/student/course/appointment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;
|
|
1
|
+
{"version":3,"file":"appointment.model.js","sourceRoot":"","sources":["../../../src/student/course/appointment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAKjD,MAAa,wBAAwB;IAGpC,EAAE,CAAS;IAIX,QAAQ,CAAU;IAIlB,YAAY,KAAyC;QACpD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAdD,4DAcC;AAXA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oDACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;0DACF"}
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import { TrainingRequestStatus } from "../../
|
|
2
|
-
import { CourseAppointment } from "../../company/course/appointment.model";
|
|
3
|
-
import { Course } from "../../company/course/course.model";
|
|
4
|
-
import { Company } from "../../company";
|
|
5
|
-
import { User } from "../../user";
|
|
6
|
-
import { CompanyUser } from "../../company/user.model";
|
|
1
|
+
import { CompanyUser, TrainingRequestStatus } from "../../company";
|
|
7
2
|
export declare class StudentCourseRequest {
|
|
3
|
+
id: number;
|
|
8
4
|
receivedDate: Date;
|
|
9
5
|
rejectedDate: Date;
|
|
10
6
|
acceptedDate: Date;
|
|
11
7
|
status: TrainingRequestStatus;
|
|
12
|
-
user: User;
|
|
13
|
-
company: Company;
|
|
14
|
-
course: Course;
|
|
15
|
-
requestedAppointments: CourseAppointment[];
|
|
16
8
|
acceptedBy: CompanyUser;
|
|
17
9
|
rejectedBy: CompanyUser;
|
|
18
10
|
constructor(props?: Partial<StudentCourseRequest>);
|
|
@@ -11,21 +11,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.StudentCourseRequest = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const enums_1 = require("../../enums");
|
|
15
|
-
const appointment_model_1 = require("../../company/course/appointment.model");
|
|
16
|
-
const course_model_1 = require("../../company/course/course.model");
|
|
17
14
|
const company_1 = require("../../company");
|
|
18
|
-
const user_1 = require("../../user");
|
|
19
|
-
const user_model_1 = require("../../company/user.model");
|
|
20
15
|
class StudentCourseRequest {
|
|
16
|
+
id;
|
|
21
17
|
receivedDate;
|
|
22
18
|
rejectedDate;
|
|
23
19
|
acceptedDate;
|
|
24
20
|
status;
|
|
25
|
-
user;
|
|
26
|
-
company;
|
|
27
|
-
course;
|
|
28
|
-
requestedAppointments;
|
|
29
21
|
acceptedBy;
|
|
30
22
|
rejectedBy;
|
|
31
23
|
constructor(props) {
|
|
@@ -33,6 +25,11 @@ class StudentCourseRequest {
|
|
|
33
25
|
}
|
|
34
26
|
}
|
|
35
27
|
exports.StudentCourseRequest = StudentCourseRequest;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], StudentCourseRequest.prototype, "id", void 0);
|
|
36
33
|
__decorate([
|
|
37
34
|
(0, class_transformer_1.Expose)(),
|
|
38
35
|
(0, class_transformer_1.Type)(() => Date),
|
|
@@ -54,32 +51,12 @@ __decorate([
|
|
|
54
51
|
], StudentCourseRequest.prototype, "status", void 0);
|
|
55
52
|
__decorate([
|
|
56
53
|
(0, class_transformer_1.Expose)(),
|
|
57
|
-
(0, class_transformer_1.Type)(() =>
|
|
58
|
-
__metadata("design:type",
|
|
59
|
-
], StudentCourseRequest.prototype, "user", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, class_transformer_1.Expose)(),
|
|
62
|
-
(0, class_transformer_1.Type)(() => company_1.Company),
|
|
63
|
-
__metadata("design:type", company_1.Company)
|
|
64
|
-
], StudentCourseRequest.prototype, "company", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, class_transformer_1.Expose)(),
|
|
67
|
-
(0, class_transformer_1.Type)(() => course_model_1.Course),
|
|
68
|
-
__metadata("design:type", course_model_1.Course)
|
|
69
|
-
], StudentCourseRequest.prototype, "course", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, class_transformer_1.Expose)(),
|
|
72
|
-
(0, class_transformer_1.Type)(() => appointment_model_1.CourseAppointment),
|
|
73
|
-
__metadata("design:type", Array)
|
|
74
|
-
], StudentCourseRequest.prototype, "requestedAppointments", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, class_transformer_1.Expose)(),
|
|
77
|
-
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
78
|
-
__metadata("design:type", user_model_1.CompanyUser)
|
|
54
|
+
(0, class_transformer_1.Type)(() => company_1.CompanyUser),
|
|
55
|
+
__metadata("design:type", company_1.CompanyUser)
|
|
79
56
|
], StudentCourseRequest.prototype, "acceptedBy", void 0);
|
|
80
57
|
__decorate([
|
|
81
58
|
(0, class_transformer_1.Expose)(),
|
|
82
|
-
(0, class_transformer_1.Type)(() =>
|
|
83
|
-
__metadata("design:type",
|
|
59
|
+
(0, class_transformer_1.Type)(() => company_1.CompanyUser),
|
|
60
|
+
__metadata("design:type", company_1.CompanyUser)
|
|
84
61
|
], StudentCourseRequest.prototype, "rejectedBy", void 0);
|
|
85
62
|
//# sourceMappingURL=request.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.model.js","sourceRoot":"","sources":["../../../src/student/course/request.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"request.model.js","sourceRoot":"","sources":["../../../src/student/course/request.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAAmE;AAEnE,MAAa,oBAAoB;IAKhC,EAAE,CAAS;IAOX,YAAY,CAAO;IAInB,YAAY,CAAO;IAInB,YAAY,CAAO;IAKnB,MAAM,CAAwB;IAM9B,UAAU,CAAc;IAIxB,UAAU,CAAc;IAIxB,YAAY,KAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1CD,oDA0CC;AArCA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACR;AAOX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;0DAAC;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;0DAAC;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;0DAAC;AAKnB;IADC,IAAA,0BAAM,GAAE;;oDACqB;AAM9B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAW,CAAC;8BACZ,qBAAW;wDAAC;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAW,CAAC;8BACZ,qBAAW;wDAAC"}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { CompanyUser } from "../../company
|
|
2
|
-
import { TrainingStatus } from "../../enums";
|
|
3
|
-
import { Course } from "../../company/course/course.model";
|
|
4
|
-
import { Student } from "../student.model";
|
|
5
|
-
import { StudentCourseAppointment } from "./appointment.model";
|
|
6
|
-
import { CourseDiscount } from "../../company/course/finances/discount.model";
|
|
7
|
-
import { CourseInvoice } from "../../company/course/finances/invoice.model";
|
|
8
|
-
import { CoursePayment } from "../../company/course/finances/payment.model";
|
|
9
|
-
import { CourseRefund } from "../../company/course/finances/refund.model";
|
|
1
|
+
import { CompanyUser, TrainingStatus } from "../../company";
|
|
10
2
|
export declare class StudentCourseTraining {
|
|
3
|
+
id: number;
|
|
11
4
|
archivedDate: Date;
|
|
12
5
|
status: TrainingStatus;
|
|
13
6
|
calendarEnabled: boolean;
|
|
@@ -16,13 +9,6 @@ export declare class StudentCourseTraining {
|
|
|
16
9
|
discount: number;
|
|
17
10
|
refund: number;
|
|
18
11
|
studentRating: number;
|
|
19
|
-
student: Student;
|
|
20
|
-
course: Course;
|
|
21
|
-
appointments: StudentCourseAppointment[];
|
|
22
|
-
payments: CoursePayment[];
|
|
23
|
-
discounts: CourseDiscount[];
|
|
24
|
-
refunds: CourseRefund[];
|
|
25
|
-
invoices: CourseInvoice[];
|
|
26
12
|
registeredBy: CompanyUser;
|
|
27
13
|
completedBy: CompanyUser;
|
|
28
14
|
terminatedBy: CompanyUser;
|
|
@@ -11,16 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.StudentCourseTraining = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const enums_1 = require("../../enums");
|
|
16
|
-
const course_model_1 = require("../../company/course/course.model");
|
|
17
|
-
const student_model_1 = require("../student.model");
|
|
18
|
-
const appointment_model_1 = require("./appointment.model");
|
|
19
|
-
const discount_model_1 = require("../../company/course/finances/discount.model");
|
|
20
|
-
const invoice_model_1 = require("../../company/course/finances/invoice.model");
|
|
21
|
-
const payment_model_1 = require("../../company/course/finances/payment.model");
|
|
22
|
-
const refund_model_1 = require("../../company/course/finances/refund.model");
|
|
14
|
+
const company_1 = require("../../company");
|
|
23
15
|
class StudentCourseTraining {
|
|
16
|
+
id;
|
|
24
17
|
archivedDate;
|
|
25
18
|
status;
|
|
26
19
|
calendarEnabled;
|
|
@@ -29,13 +22,6 @@ class StudentCourseTraining {
|
|
|
29
22
|
discount;
|
|
30
23
|
refund;
|
|
31
24
|
studentRating;
|
|
32
|
-
student;
|
|
33
|
-
course;
|
|
34
|
-
appointments;
|
|
35
|
-
payments;
|
|
36
|
-
discounts;
|
|
37
|
-
refunds;
|
|
38
|
-
invoices;
|
|
39
25
|
registeredBy;
|
|
40
26
|
completedBy;
|
|
41
27
|
terminatedBy;
|
|
@@ -44,6 +30,11 @@ class StudentCourseTraining {
|
|
|
44
30
|
}
|
|
45
31
|
}
|
|
46
32
|
exports.StudentCourseTraining = StudentCourseTraining;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], StudentCourseTraining.prototype, "id", void 0);
|
|
47
38
|
__decorate([
|
|
48
39
|
(0, class_transformer_1.Expose)(),
|
|
49
40
|
(0, class_transformer_1.Type)(() => Date),
|
|
@@ -85,52 +76,17 @@ __decorate([
|
|
|
85
76
|
], StudentCourseTraining.prototype, "studentRating", void 0);
|
|
86
77
|
__decorate([
|
|
87
78
|
(0, class_transformer_1.Expose)(),
|
|
88
|
-
(0, class_transformer_1.Type)(() =>
|
|
89
|
-
__metadata("design:type",
|
|
90
|
-
], StudentCourseTraining.prototype, "student", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, class_transformer_1.Expose)(),
|
|
93
|
-
(0, class_transformer_1.Type)(() => course_model_1.Course),
|
|
94
|
-
__metadata("design:type", course_model_1.Course)
|
|
95
|
-
], StudentCourseTraining.prototype, "course", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, class_transformer_1.Expose)(),
|
|
98
|
-
(0, class_transformer_1.Type)(() => appointment_model_1.StudentCourseAppointment),
|
|
99
|
-
__metadata("design:type", Array)
|
|
100
|
-
], StudentCourseTraining.prototype, "appointments", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, class_transformer_1.Expose)(),
|
|
103
|
-
(0, class_transformer_1.Type)(() => payment_model_1.CoursePayment),
|
|
104
|
-
__metadata("design:type", Array)
|
|
105
|
-
], StudentCourseTraining.prototype, "payments", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, class_transformer_1.Expose)(),
|
|
108
|
-
(0, class_transformer_1.Type)(() => discount_model_1.CourseDiscount),
|
|
109
|
-
__metadata("design:type", Array)
|
|
110
|
-
], StudentCourseTraining.prototype, "discounts", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, class_transformer_1.Expose)(),
|
|
113
|
-
(0, class_transformer_1.Type)(() => refund_model_1.CourseRefund),
|
|
114
|
-
__metadata("design:type", Array)
|
|
115
|
-
], StudentCourseTraining.prototype, "refunds", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
(0, class_transformer_1.Expose)(),
|
|
118
|
-
(0, class_transformer_1.Type)(() => invoice_model_1.CourseInvoice),
|
|
119
|
-
__metadata("design:type", Array)
|
|
120
|
-
], StudentCourseTraining.prototype, "invoices", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, class_transformer_1.Expose)(),
|
|
123
|
-
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
124
|
-
__metadata("design:type", user_model_1.CompanyUser)
|
|
79
|
+
(0, class_transformer_1.Type)(() => company_1.CompanyUser),
|
|
80
|
+
__metadata("design:type", company_1.CompanyUser)
|
|
125
81
|
], StudentCourseTraining.prototype, "registeredBy", void 0);
|
|
126
82
|
__decorate([
|
|
127
83
|
(0, class_transformer_1.Expose)(),
|
|
128
|
-
(0, class_transformer_1.Type)(() =>
|
|
129
|
-
__metadata("design:type",
|
|
84
|
+
(0, class_transformer_1.Type)(() => company_1.CompanyUser),
|
|
85
|
+
__metadata("design:type", company_1.CompanyUser)
|
|
130
86
|
], StudentCourseTraining.prototype, "completedBy", void 0);
|
|
131
87
|
__decorate([
|
|
132
88
|
(0, class_transformer_1.Expose)(),
|
|
133
|
-
(0, class_transformer_1.Type)(() =>
|
|
134
|
-
__metadata("design:type",
|
|
89
|
+
(0, class_transformer_1.Type)(() => company_1.CompanyUser),
|
|
90
|
+
__metadata("design:type", company_1.CompanyUser)
|
|
135
91
|
], StudentCourseTraining.prototype, "terminatedBy", void 0);
|
|
136
92
|
//# sourceMappingURL=training.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"training.model.js","sourceRoot":"","sources":["../../../src/student/course/training.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"training.model.js","sourceRoot":"","sources":["../../../src/student/course/training.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAA4D;AAE5D,MAAa,qBAAqB;IAGjC,EAAE,CAAS;IAOX,YAAY,CAAO;IAKnB,MAAM,CAAiB;IAOvB,eAAe,CAAU;IASzB,KAAK,CAAS;IAWd,OAAO,CAAS;IAOhB,QAAQ,CAAS;IAOjB,MAAM,CAAS;IASf,aAAa,CAAS;IAMtB,YAAY,CAAc;IAI1B,WAAW,CAAc;IAIzB,YAAY,CAAc;IAI1B,YAAY,KAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtFD,sDAsFC;AAnFA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iDACR;AAOX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;2DAAC;AAKnB;IADC,IAAA,0BAAM,GAAE;;qDACc;AAOvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8DACK;AASzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oDACL;AAWd;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sDACH;AAOhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uDACF;AAOjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qDACJ;AASf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4DACG;AAMtB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAW,CAAC;8BACV,qBAAW;2DAAC;AAI1B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAW,CAAC;8BACX,qBAAW;0DAAC;AAIzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAW,CAAC;8BACV,qBAAW;2DAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { DrivingSkillScore } from "../../
|
|
2
|
-
import { StudentDrivingAppointmentTopic } from "./appointment-topic.model";
|
|
3
|
-
import { StudentDrivingSkill } from "./skill.model";
|
|
1
|
+
import { DrivingSkillScore } from "../../company";
|
|
4
2
|
export declare class StudentDrivingAppointmentSkill {
|
|
3
|
+
id: number;
|
|
5
4
|
score: DrivingSkillScore;
|
|
6
|
-
topic: StudentDrivingAppointmentTopic;
|
|
7
|
-
skill: StudentDrivingSkill;
|
|
8
5
|
constructor(props?: Partial<StudentDrivingAppointmentSkill>);
|
|
9
6
|
}
|
|
@@ -11,13 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.StudentDrivingAppointmentSkill = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const appointment_topic_model_1 = require("./appointment-topic.model");
|
|
16
|
-
const skill_model_1 = require("./skill.model");
|
|
14
|
+
const company_1 = require("../../company");
|
|
17
15
|
class StudentDrivingAppointmentSkill {
|
|
16
|
+
id;
|
|
18
17
|
score;
|
|
19
|
-
topic;
|
|
20
|
-
skill;
|
|
21
18
|
constructor(props) {
|
|
22
19
|
Object.assign(this, props);
|
|
23
20
|
}
|
|
@@ -25,16 +22,11 @@ class StudentDrivingAppointmentSkill {
|
|
|
25
22
|
exports.StudentDrivingAppointmentSkill = StudentDrivingAppointmentSkill;
|
|
26
23
|
__decorate([
|
|
27
24
|
(0, class_transformer_1.Expose)(),
|
|
25
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
28
26
|
__metadata("design:type", Number)
|
|
29
|
-
], StudentDrivingAppointmentSkill.prototype, "
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_transformer_1.Expose)(),
|
|
32
|
-
(0, class_transformer_1.Type)(() => appointment_topic_model_1.StudentDrivingAppointmentTopic),
|
|
33
|
-
__metadata("design:type", appointment_topic_model_1.StudentDrivingAppointmentTopic)
|
|
34
|
-
], StudentDrivingAppointmentSkill.prototype, "topic", void 0);
|
|
27
|
+
], StudentDrivingAppointmentSkill.prototype, "id", void 0);
|
|
35
28
|
__decorate([
|
|
36
29
|
(0, class_transformer_1.Expose)(),
|
|
37
|
-
(
|
|
38
|
-
|
|
39
|
-
], StudentDrivingAppointmentSkill.prototype, "skill", void 0);
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], StudentDrivingAppointmentSkill.prototype, "score", void 0);
|
|
40
32
|
//# sourceMappingURL=appointment-skill.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment-skill.model.js","sourceRoot":"","sources":["../../../src/student/driving/appointment-skill.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"appointment-skill.model.js","sourceRoot":"","sources":["../../../src/student/driving/appointment-skill.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAAkD;AAKlD,MAAa,8BAA8B;IAG1C,EAAE,CAAS;IAKX,KAAK,CAAoB;IAIzB,YAAY,KAA+C;QAC1D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAfD,wEAeC;AAZA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0DACR;AAKX;IADC,IAAA,0BAAM,GAAE;;6DACgB"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import { DrivingTopicStatus } from "../../
|
|
2
|
-
import { StudentDrivingAppointment } from "./appointment.model";
|
|
3
|
-
import { StudentDrivingTopic } from "./topic.model";
|
|
4
|
-
import { StudentDrivingAppointmentSkill } from "./appointment-skill.model";
|
|
1
|
+
import { DrivingTopicStatus } from "../../company";
|
|
5
2
|
export declare class StudentDrivingAppointmentTopic {
|
|
3
|
+
id: number;
|
|
6
4
|
status: DrivingTopicStatus;
|
|
7
|
-
topic: StudentDrivingTopic;
|
|
8
|
-
skills: StudentDrivingAppointmentSkill[];
|
|
9
|
-
appointment: StudentDrivingAppointment;
|
|
10
5
|
constructor(props?: Partial<StudentDrivingAppointmentTopic>);
|
|
11
6
|
}
|
|
@@ -11,15 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.StudentDrivingAppointmentTopic = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const appointment_model_1 = require("./appointment.model");
|
|
16
|
-
const topic_model_1 = require("./topic.model");
|
|
17
|
-
const appointment_skill_model_1 = require("./appointment-skill.model");
|
|
14
|
+
const company_1 = require("../../company");
|
|
18
15
|
class StudentDrivingAppointmentTopic {
|
|
16
|
+
id;
|
|
19
17
|
status;
|
|
20
|
-
topic;
|
|
21
|
-
skills;
|
|
22
|
-
appointment;
|
|
23
18
|
constructor(props) {
|
|
24
19
|
Object.assign(this, props);
|
|
25
20
|
}
|
|
@@ -27,21 +22,11 @@ class StudentDrivingAppointmentTopic {
|
|
|
27
22
|
exports.StudentDrivingAppointmentTopic = StudentDrivingAppointmentTopic;
|
|
28
23
|
__decorate([
|
|
29
24
|
(0, class_transformer_1.Expose)(),
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
(0, class_transformer_1.Type)(() => topic_model_1.StudentDrivingTopic),
|
|
35
|
-
__metadata("design:type", topic_model_1.StudentDrivingTopic)
|
|
36
|
-
], StudentDrivingAppointmentTopic.prototype, "topic", void 0);
|
|
25
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], StudentDrivingAppointmentTopic.prototype, "id", void 0);
|
|
37
28
|
__decorate([
|
|
38
29
|
(0, class_transformer_1.Expose)(),
|
|
39
|
-
(
|
|
40
|
-
|
|
41
|
-
], StudentDrivingAppointmentTopic.prototype, "skills", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_transformer_1.Expose)(),
|
|
44
|
-
(0, class_transformer_1.Type)(() => appointment_model_1.StudentDrivingAppointment),
|
|
45
|
-
__metadata("design:type", appointment_model_1.StudentDrivingAppointment)
|
|
46
|
-
], StudentDrivingAppointmentTopic.prototype, "appointment", void 0);
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], StudentDrivingAppointmentTopic.prototype, "status", void 0);
|
|
47
32
|
//# sourceMappingURL=appointment-topic.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment-topic.model.js","sourceRoot":"","sources":["../../../src/student/driving/appointment-topic.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"appointment-topic.model.js","sourceRoot":"","sources":["../../../src/student/driving/appointment-topic.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAAmD;AAKnD,MAAa,8BAA8B;IAG1C,EAAE,CAAS;IAKX,MAAM,CAAqB;IAI3B,YAAY,KAA+C;QAC1D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAfD,wEAeC;AAZA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0DACR;AAKX;IADC,IAAA,0BAAM,GAAE;;8DACkB"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { DrivingAppointmentType } from "../../
|
|
2
|
-
import { StudentDrivingTraining } from "./training.model";
|
|
3
|
-
import { CompanyUser } from "../../company/user.model";
|
|
4
|
-
import { StudentDrivingAppointmentTopic } from "./appointment-topic.model";
|
|
5
|
-
import { StudentSignature } from "../signature.model";
|
|
1
|
+
import { DrivingAppointmentType } from "../../company";
|
|
6
2
|
export declare class StudentDrivingAppointment {
|
|
3
|
+
id: number;
|
|
7
4
|
note: string;
|
|
8
5
|
price: number;
|
|
9
6
|
appointmetnType: DrivingAppointmentType;
|
|
@@ -11,9 +8,5 @@ export declare class StudentDrivingAppointment {
|
|
|
11
8
|
date: Date;
|
|
12
9
|
canceled: boolean;
|
|
13
10
|
charged: boolean;
|
|
14
|
-
training: StudentDrivingTraining;
|
|
15
|
-
instructor: CompanyUser;
|
|
16
|
-
studentSignature: StudentSignature;
|
|
17
|
-
appointmentTopics: StudentDrivingAppointmentTopic[];
|
|
18
11
|
constructor(props?: Partial<StudentDrivingAppointment>);
|
|
19
12
|
}
|