@intelact/driveup 0.0.1 → 0.1.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 +11 -0
- package/lib/agent/agent.model.js +55 -0
- package/lib/agent/agent.model.js.map +1 -0
- package/lib/agent/code.model.d.ts +9 -0
- package/lib/agent/code.model.js +49 -0
- package/lib/agent/code.model.js.map +1 -0
- package/lib/agent/index.d.ts +3 -0
- package/lib/agent/index.js +20 -0
- package/lib/agent/index.js.map +1 -0
- package/lib/agent/payout.model.d.ts +14 -0
- package/lib/agent/payout.model.js +67 -0
- package/lib/agent/payout.model.js.map +1 -0
- package/lib/company/company.model.d.ts +43 -0
- package/lib/company/company.model.js +153 -0
- package/lib/company/company.model.js.map +1 -0
- package/lib/company/course/appointment.model.d.ts +13 -0
- package/lib/company/course/appointment.model.js +60 -0
- package/lib/company/course/appointment.model.js.map +1 -0
- package/lib/company/course/course.model.d.ts +18 -0
- package/lib/company/course/course.model.js +87 -0
- package/lib/company/course/course.model.js.map +1 -0
- package/lib/company/course/finances/discount.model.d.ts +9 -0
- package/lib/company/course/finances/discount.model.js +45 -0
- package/lib/company/course/finances/discount.model.js.map +1 -0
- package/lib/company/course/finances/index.d.ts +5 -0
- package/lib/company/course/finances/index.js +22 -0
- package/lib/company/course/finances/index.js.map +1 -0
- package/lib/company/course/finances/invoice-item.model.d.ts +8 -0
- package/lib/company/course/finances/invoice-item.model.js +44 -0
- package/lib/company/course/finances/invoice-item.model.js.map +1 -0
- package/lib/company/course/finances/invoice.model.d.ts +20 -0
- package/lib/company/course/finances/invoice.model.js +92 -0
- package/lib/company/course/finances/invoice.model.js.map +1 -0
- package/lib/company/course/finances/payment.model.d.ts +16 -0
- package/lib/company/course/finances/payment.model.js +76 -0
- package/lib/company/course/finances/payment.model.js.map +1 -0
- package/lib/company/course/finances/refund.model.d.ts +9 -0
- package/lib/company/course/finances/refund.model.js +45 -0
- package/lib/company/course/finances/refund.model.js.map +1 -0
- package/lib/company/course/index.d.ts +4 -0
- package/lib/company/course/index.js +21 -0
- package/lib/company/course/index.js.map +1 -0
- package/lib/company/course/part.model.d.ts +12 -0
- package/lib/company/course/part.model.js +58 -0
- package/lib/company/course/part.model.js.map +1 -0
- package/lib/company/driving/category.model.d.ts +19 -0
- package/lib/company/driving/category.model.js +97 -0
- package/lib/company/driving/category.model.js.map +1 -0
- package/lib/company/driving/finances/discount.model.d.ts +9 -0
- package/lib/company/driving/finances/discount.model.js +45 -0
- package/lib/company/driving/finances/discount.model.js.map +1 -0
- package/lib/company/driving/finances/index.d.ts +5 -0
- package/lib/company/driving/finances/index.js +22 -0
- package/lib/company/driving/finances/index.js.map +1 -0
- package/lib/company/driving/finances/invoice-item.model.d.ts +8 -0
- package/lib/company/driving/finances/invoice-item.model.js +44 -0
- package/lib/company/driving/finances/invoice-item.model.js.map +1 -0
- package/lib/company/driving/finances/invoice.model.d.ts +20 -0
- package/lib/company/driving/finances/invoice.model.js +92 -0
- package/lib/company/driving/finances/invoice.model.js.map +1 -0
- package/lib/company/driving/finances/payment.model.d.ts +16 -0
- package/lib/company/driving/finances/payment.model.js +76 -0
- package/lib/company/driving/finances/payment.model.js.map +1 -0
- package/lib/company/driving/finances/refund.model.d.ts +9 -0
- package/lib/company/driving/finances/refund.model.js +45 -0
- package/lib/company/driving/finances/refund.model.js.map +1 -0
- package/lib/company/driving/index.d.ts +4 -0
- package/lib/company/driving/index.js +21 -0
- package/lib/company/driving/index.js.map +1 -0
- package/lib/company/driving/skill.model.d.ts +12 -0
- package/lib/company/driving/skill.model.js +59 -0
- package/lib/company/driving/skill.model.js.map +1 -0
- package/lib/company/driving/topic.model.d.ts +14 -0
- package/lib/company/driving/topic.model.js +68 -0
- package/lib/company/driving/topic.model.js.map +1 -0
- package/lib/company/event.model.d.ts +11 -0
- package/lib/company/event.model.js +57 -0
- package/lib/company/event.model.js.map +1 -0
- package/lib/company/finances/card.model.d.ts +11 -0
- package/lib/company/finances/card.model.js +56 -0
- package/lib/company/finances/card.model.js.map +1 -0
- package/lib/company/finances/credit.model.d.ts +13 -0
- package/lib/company/finances/credit.model.js +64 -0
- package/lib/company/finances/credit.model.js.map +1 -0
- package/lib/company/finances/expense-category.model.d.ts +8 -0
- package/lib/company/finances/expense-category.model.js +39 -0
- package/lib/company/finances/expense-category.model.js.map +1 -0
- package/lib/company/finances/expense.model.d.ts +14 -0
- package/lib/company/finances/expense.model.js +63 -0
- package/lib/company/finances/expense.model.js.map +1 -0
- package/lib/company/finances/index.d.ts +6 -0
- package/lib/company/finances/index.js +23 -0
- package/lib/company/finances/index.js.map +1 -0
- package/lib/company/finances/payment.model.d.ts +8 -0
- package/lib/company/finances/payment.model.js +40 -0
- package/lib/company/finances/payment.model.js.map +1 -0
- package/lib/company/finances/priceplan.model.d.ts +19 -0
- package/lib/company/finances/priceplan.model.js +95 -0
- package/lib/company/finances/priceplan.model.js.map +1 -0
- package/lib/company/index.d.ts +6 -0
- package/lib/company/index.js +23 -0
- package/lib/company/index.js.map +1 -0
- package/lib/company/user.model.d.ts +29 -0
- package/lib/company/user.model.js +128 -0
- package/lib/company/user.model.js.map +1 -0
- package/lib/enums/date.d.ts +9 -0
- package/lib/enums/date.js +14 -0
- package/lib/enums/date.js.map +1 -0
- package/lib/enums/finance.d.ts +22 -0
- package/lib/enums/finance.js +31 -0
- package/lib/enums/finance.js.map +1 -0
- package/lib/enums/index.d.ts +7 -0
- package/lib/enums/index.js +24 -0
- package/lib/enums/index.js.map +1 -0
- package/lib/enums/language.d.ts +6 -0
- package/lib/enums/language.js +11 -0
- package/lib/enums/language.js.map +1 -0
- package/lib/enums/notification.d.ts +11 -0
- package/lib/enums/notification.js +17 -0
- package/lib/enums/notification.js.map +1 -0
- package/lib/enums/plan.d.ts +9 -0
- package/lib/enums/plan.js +15 -0
- package/lib/enums/plan.js.map +1 -0
- package/lib/enums/score.d.ts +12 -0
- package/lib/enums/score.js +18 -0
- package/lib/enums/score.js.map +1 -0
- package/lib/enums/training.d.ts +24 -0
- package/lib/enums/training.js +33 -0
- package/lib/enums/training.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -1
- package/lib/security/acl.d.ts +1 -0
- package/lib/security/acl.js +6 -0
- package/lib/security/acl.js.map +1 -0
- package/lib/security/index.d.ts +4 -0
- package/lib/security/index.js +21 -0
- package/lib/security/index.js.map +1 -0
- package/lib/security/permissions.d.ts +4 -0
- package/lib/security/permissions.js +9 -0
- package/lib/security/permissions.js.map +1 -0
- package/lib/security/roles.d.ts +9 -0
- package/lib/security/roles.js +14 -0
- package/lib/security/roles.js.map +1 -0
- package/lib/security/token.interface.d.ts +7 -0
- package/lib/security/token.interface.js +3 -0
- package/lib/security/token.interface.js.map +1 -0
- package/lib/student/course/appointment.model.d.ts +8 -0
- package/lib/student/course/appointment.model.js +40 -0
- package/lib/student/course/appointment.model.js.map +1 -0
- package/lib/student/course/index.d.ts +3 -0
- package/lib/student/course/index.js +20 -0
- package/lib/student/course/index.js.map +1 -0
- package/lib/student/course/request.model.d.ts +19 -0
- package/lib/student/course/request.model.js +85 -0
- package/lib/student/course/request.model.js.map +1 -0
- package/lib/student/course/training.model.d.ts +30 -0
- package/lib/student/course/training.model.js +136 -0
- package/lib/student/course/training.model.js.map +1 -0
- package/lib/student/driving/appointment-skill.model.d.ts +9 -0
- package/lib/student/driving/appointment-skill.model.js +40 -0
- package/lib/student/driving/appointment-skill.model.js.map +1 -0
- package/lib/student/driving/appointment-topic.model.d.ts +11 -0
- package/lib/student/driving/appointment-topic.model.js +47 -0
- package/lib/student/driving/appointment-topic.model.js.map +1 -0
- package/lib/student/driving/appointment.model.d.ts +19 -0
- package/lib/student/driving/appointment.model.js +89 -0
- package/lib/student/driving/appointment.model.js.map +1 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.d.ts +8 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js +40 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js.map +1 -0
- package/lib/student/driving/exam/exam.model.d.ts +11 -0
- package/lib/student/driving/exam/exam.model.js +50 -0
- package/lib/student/driving/exam/exam.model.js.map +1 -0
- package/lib/student/driving/index.d.ts +9 -0
- package/lib/student/driving/index.js +26 -0
- package/lib/student/driving/index.js.map +1 -0
- package/lib/student/driving/request.model.d.ts +17 -0
- package/lib/student/driving/request.model.js +82 -0
- package/lib/student/driving/request.model.js.map +1 -0
- package/lib/student/driving/skill.model.d.ts +13 -0
- package/lib/student/driving/skill.model.js +54 -0
- package/lib/student/driving/skill.model.js.map +1 -0
- package/lib/student/driving/topic.model.d.ts +16 -0
- package/lib/student/driving/topic.model.js +67 -0
- package/lib/student/driving/topic.model.js.map +1 -0
- package/lib/student/driving/training.model.d.ts +44 -0
- package/lib/student/driving/training.model.js +202 -0
- package/lib/student/driving/training.model.js.map +1 -0
- package/lib/student/index.d.ts +4 -0
- package/lib/student/index.js +21 -0
- package/lib/student/index.js.map +1 -0
- package/lib/student/signature.model.d.ts +10 -0
- package/lib/student/signature.model.js +50 -0
- package/lib/student/signature.model.js.map +1 -0
- package/lib/student/student.model.d.ts +13 -0
- package/lib/student/student.model.js +58 -0
- package/lib/student/student.model.js.map +1 -0
- package/lib/system/country.model.d.ts +18 -0
- package/lib/system/country.model.js +84 -0
- package/lib/system/country.model.js.map +1 -0
- package/lib/system/driving/category.model.d.ts +14 -0
- package/lib/system/driving/category.model.js +73 -0
- package/lib/system/driving/category.model.js.map +1 -0
- package/lib/system/driving/category.trans.model.d.ts +8 -0
- package/lib/system/driving/category.trans.model.js +42 -0
- package/lib/system/driving/category.trans.model.js.map +1 -0
- package/lib/system/driving/skill.model.d.ts +11 -0
- package/lib/system/driving/skill.model.js +61 -0
- package/lib/system/driving/skill.model.js.map +1 -0
- package/lib/system/driving/skill.trans.model.d.ts +9 -0
- package/lib/system/driving/skill.trans.model.js +48 -0
- package/lib/system/driving/skill.trans.model.js.map +1 -0
- package/lib/system/driving/topic.model.d.ts +12 -0
- package/lib/system/driving/topic.model.js +62 -0
- package/lib/system/driving/topic.model.js.map +1 -0
- package/lib/system/driving/topic.trans.model.d.ts +8 -0
- package/lib/system/driving/topic.trans.model.js +42 -0
- package/lib/system/driving/topic.trans.model.js.map +1 -0
- package/lib/system/finances/currency.model.d.ts +11 -0
- package/lib/system/finances/currency.model.js +60 -0
- package/lib/system/finances/currency.model.js.map +1 -0
- package/lib/system/finances/index.d.ts +2 -0
- package/lib/system/finances/index.js +19 -0
- package/lib/system/finances/index.js.map +1 -0
- package/lib/system/finances/priceplan.model.d.ts +15 -0
- package/lib/system/finances/priceplan.model.js +74 -0
- package/lib/system/finances/priceplan.model.js.map +1 -0
- package/lib/system/finances/priceplan.translation.d.ts +8 -0
- package/lib/system/finances/priceplan.translation.js +42 -0
- package/lib/system/finances/priceplan.translation.js.map +1 -0
- package/lib/system/index.d.ts +2 -0
- package/lib/system/index.js +19 -0
- package/lib/system/index.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/index.d.ts +1 -0
- package/lib/user/index.js +1 -0
- package/lib/user/index.js.map +1 -1
- package/lib/user/notification/index.d.ts +2 -0
- package/lib/user/notification/index.js +19 -0
- package/lib/user/notification/index.js.map +1 -0
- package/lib/user/notification/notification-preference.model.d.ts +4 -0
- package/lib/user/notification/notification-preference.model.js +25 -0
- package/lib/user/notification/notification-preference.model.js.map +1 -0
- package/lib/user/notification/notification.model.d.ts +11 -0
- package/lib/user/notification/notification.model.js +54 -0
- package/lib/user/notification/notification.model.js.map +1 -0
- package/lib/user/user.model.d.ts +30 -1
- package/lib/user/user.model.js +116 -2
- package/lib/user/user.model.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,89 @@
|
|
|
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.StudentDrivingAppointment = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const enums_1 = require("../../enums");
|
|
15
|
+
const training_model_1 = require("./training.model");
|
|
16
|
+
const user_model_1 = require("../../company/user.model");
|
|
17
|
+
const appointment_topic_model_1 = require("./appointment-topic.model");
|
|
18
|
+
const signature_model_1 = require("../signature.model");
|
|
19
|
+
class StudentDrivingAppointment {
|
|
20
|
+
note;
|
|
21
|
+
price;
|
|
22
|
+
appointmetnType;
|
|
23
|
+
number;
|
|
24
|
+
date;
|
|
25
|
+
canceled;
|
|
26
|
+
charged;
|
|
27
|
+
training;
|
|
28
|
+
instructor;
|
|
29
|
+
studentSignature;
|
|
30
|
+
appointmentTopics;
|
|
31
|
+
constructor(props) {
|
|
32
|
+
Object.assign(this, props);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.StudentDrivingAppointment = StudentDrivingAppointment;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], StudentDrivingAppointment.prototype, "note", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], StudentDrivingAppointment.prototype, "price", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], StudentDrivingAppointment.prototype, "appointmetnType", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], StudentDrivingAppointment.prototype, "number", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
57
|
+
__metadata("design:type", Date)
|
|
58
|
+
], StudentDrivingAppointment.prototype, "date", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], StudentDrivingAppointment.prototype, "canceled", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
67
|
+
__metadata("design:type", Boolean)
|
|
68
|
+
], StudentDrivingAppointment.prototype, "charged", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
(0, class_transformer_1.Type)(() => training_model_1.StudentDrivingTraining),
|
|
72
|
+
__metadata("design:type", training_model_1.StudentDrivingTraining)
|
|
73
|
+
], StudentDrivingAppointment.prototype, "training", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_transformer_1.Expose)(),
|
|
76
|
+
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
77
|
+
__metadata("design:type", user_model_1.CompanyUser)
|
|
78
|
+
], StudentDrivingAppointment.prototype, "instructor", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_transformer_1.Expose)(),
|
|
81
|
+
(0, class_transformer_1.Type)(() => signature_model_1.StudentSignature),
|
|
82
|
+
__metadata("design:type", signature_model_1.StudentSignature)
|
|
83
|
+
], StudentDrivingAppointment.prototype, "studentSignature", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_transformer_1.Expose)(),
|
|
86
|
+
(0, class_transformer_1.Type)(() => appointment_topic_model_1.StudentDrivingAppointmentTopic),
|
|
87
|
+
__metadata("design:type", Array)
|
|
88
|
+
], StudentDrivingAppointment.prototype, "appointmentTopics", void 0);
|
|
89
|
+
//# sourceMappingURL=appointment.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment.model.js","sourceRoot":"","sources":["../../../src/student/driving/appointment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,uCAAqD;AACrD,qDAA0D;AAC1D,yDAAuD;AACvD,uEAA2E;AAC3E,wDAAsD;AAEtD,MAAa,yBAAyB;IAGrC,IAAI,CAAS;IAKb,KAAK,CAAS;IAKd,eAAe,CAAyB;IAOxC,MAAM,CAAS;IAMf,IAAI,CAAO;IAMX,QAAQ,CAAU;IAOlB,OAAO,CAAU;IAMjB,QAAQ,CAAyB;IAOjC,UAAU,CAAc;IAIxB,gBAAgB,CAAmB;IAOnC,iBAAiB,CAAmC;IAIpD,YAAY,KAA0C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtED,8DAsEC;AAnEA;IADC,IAAA,0BAAM,GAAE;;uDACI;AAKb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wDACL;AAKd;IADC,IAAA,0BAAM,GAAE;;kEAC+B;AAOxC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;yDACJ;AAMf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;uDAAC;AAMX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;2DACF;AAOlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;0DACH;AAMjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAsB,CAAC;8BACzB,uCAAsB;2DAAC;AAOjC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAW,CAAC;8BACZ,wBAAW;6DAAC;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAgB,CAAC;8BACX,kCAAgB;mEAAC;AAOnC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wDAA8B,CAAC;;oEACS"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StudentDrivingTopic } from "../topic.model";
|
|
2
|
+
import { StudentDrivingExam } from "./exam.model";
|
|
3
|
+
export declare class StudentDrivingExamTopicAssesment {
|
|
4
|
+
passed: boolean;
|
|
5
|
+
exam: StudentDrivingExam;
|
|
6
|
+
topic: StudentDrivingTopic;
|
|
7
|
+
constructor(props?: Partial<StudentDrivingExamTopicAssesment>);
|
|
8
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.StudentDrivingExamTopicAssesment = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const topic_model_1 = require("../topic.model");
|
|
15
|
+
const exam_model_1 = require("./exam.model");
|
|
16
|
+
class StudentDrivingExamTopicAssesment {
|
|
17
|
+
passed;
|
|
18
|
+
exam;
|
|
19
|
+
topic;
|
|
20
|
+
constructor(props) {
|
|
21
|
+
Object.assign(this, props);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.StudentDrivingExamTopicAssesment = StudentDrivingExamTopicAssesment;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
28
|
+
__metadata("design:type", Boolean)
|
|
29
|
+
], StudentDrivingExamTopicAssesment.prototype, "passed", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_transformer_1.Type)(() => exam_model_1.StudentDrivingExam),
|
|
33
|
+
__metadata("design:type", exam_model_1.StudentDrivingExam)
|
|
34
|
+
], StudentDrivingExamTopicAssesment.prototype, "exam", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, class_transformer_1.Type)(() => topic_model_1.StudentDrivingTopic),
|
|
38
|
+
__metadata("design:type", topic_model_1.StudentDrivingTopic)
|
|
39
|
+
], StudentDrivingExamTopicAssesment.prototype, "topic", void 0);
|
|
40
|
+
//# sourceMappingURL=exam-topic-assesment.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exam-topic-assesment.model.js","sourceRoot":"","sources":["../../../../src/student/driving/exam/exam-topic-assesment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,gDAAqD;AACrD,6CAAkD;AAElD,MAAa,gCAAgC;IAO5C,MAAM,CAAU;IAMhB,IAAI,CAAqB;IAIzB,KAAK,CAAsB;IAI3B,YAAY,KAAiD;QAC5D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAxBD,4EAwBC;AAjBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;gEACJ;AAMhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAkB,CAAC;8BACzB,+BAAkB;8DAAC;AAIzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAmB,CAAC;8BACzB,iCAAmB;+DAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DrivingExamStatus } from "../../../enums";
|
|
2
|
+
import { StudentDrivingTraining } from "../training.model";
|
|
3
|
+
import { StudentDrivingExamTopicAssesment } from "./exam-topic-assesment.model";
|
|
4
|
+
export declare class StudentDrivingExam {
|
|
5
|
+
expertName: string;
|
|
6
|
+
expertFeedback: string;
|
|
7
|
+
status: DrivingExamStatus;
|
|
8
|
+
training: StudentDrivingTraining;
|
|
9
|
+
topicAssesments: StudentDrivingExamTopicAssesment[];
|
|
10
|
+
constructor(props?: Partial<StudentDrivingExam>);
|
|
11
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.StudentDrivingExam = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const enums_1 = require("../../../enums");
|
|
15
|
+
const training_model_1 = require("../training.model");
|
|
16
|
+
const exam_topic_assesment_model_1 = require("./exam-topic-assesment.model");
|
|
17
|
+
class StudentDrivingExam {
|
|
18
|
+
expertName;
|
|
19
|
+
expertFeedback;
|
|
20
|
+
status;
|
|
21
|
+
training;
|
|
22
|
+
topicAssesments;
|
|
23
|
+
constructor(props) {
|
|
24
|
+
Object.assign(this, props);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.StudentDrivingExam = StudentDrivingExam;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], StudentDrivingExam.prototype, "expertName", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], StudentDrivingExam.prototype, "expertFeedback", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], StudentDrivingExam.prototype, "status", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => training_model_1.StudentDrivingTraining),
|
|
43
|
+
__metadata("design:type", training_model_1.StudentDrivingTraining)
|
|
44
|
+
], StudentDrivingExam.prototype, "training", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
(0, class_transformer_1.Type)(() => exam_topic_assesment_model_1.StudentDrivingExamTopicAssesment),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], StudentDrivingExam.prototype, "topicAssesments", void 0);
|
|
50
|
+
//# sourceMappingURL=exam.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exam.model.js","sourceRoot":"","sources":["../../../../src/student/driving/exam/exam.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,0CAAmD;AACnD,sDAA2D;AAC3D,6EAAgF;AAEhF,MAAa,kBAAkB;IAG9B,UAAU,CAAS;IAGnB,cAAc,CAAS;IAGvB,MAAM,CAAoB;IAM1B,QAAQ,CAAyB;IAIjC,eAAe,CAAqC;IAIpD,YAAY,KAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1BD,gDA0BC;AAvBA;IADC,IAAA,0BAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;0DACc;AAGvB;IADC,IAAA,0BAAM,GAAE;;kDACiB;AAM1B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAsB,CAAC;8BACzB,uCAAsB;oDAAC;AAIjC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6DAAgC,CAAC;;2DACO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './exam/exam-topic-assesment.model';
|
|
2
|
+
export * from './exam/exam.model';
|
|
3
|
+
export * from './appointment-skill.model';
|
|
4
|
+
export * from './appointment-topic.model';
|
|
5
|
+
export * from './appointment.model';
|
|
6
|
+
export * from './request.model';
|
|
7
|
+
export * from './skill.model';
|
|
8
|
+
export * from './topic.model';
|
|
9
|
+
export * from './training.model';
|
|
@@ -0,0 +1,26 @@
|
|
|
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("./exam/exam-topic-assesment.model"), exports);
|
|
18
|
+
__exportStar(require("./exam/exam.model"), exports);
|
|
19
|
+
__exportStar(require("./appointment-skill.model"), exports);
|
|
20
|
+
__exportStar(require("./appointment-topic.model"), exports);
|
|
21
|
+
__exportStar(require("./appointment.model"), exports);
|
|
22
|
+
__exportStar(require("./request.model"), exports);
|
|
23
|
+
__exportStar(require("./skill.model"), exports);
|
|
24
|
+
__exportStar(require("./topic.model"), exports);
|
|
25
|
+
__exportStar(require("./training.model"), exports);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/student/driving/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C;AAC1C,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,gDAA8B;AAC9B,mDAAiC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Company } from "../../company";
|
|
2
|
+
import { CompanyUser } from "../../company/user.model";
|
|
3
|
+
import { CarTransmission, TrainingRequestStatus } from "../../enums";
|
|
4
|
+
import { User } from "../../user";
|
|
5
|
+
export declare class StudentDrivingRequest {
|
|
6
|
+
preferredStartDate: Date;
|
|
7
|
+
transmission: CarTransmission;
|
|
8
|
+
receivedDate: Date;
|
|
9
|
+
rejectedDate: Date;
|
|
10
|
+
acceptedDate: Date;
|
|
11
|
+
status: TrainingRequestStatus;
|
|
12
|
+
user: User;
|
|
13
|
+
company: Company;
|
|
14
|
+
acceptedBy: CompanyUser;
|
|
15
|
+
rejectedBy: CompanyUser;
|
|
16
|
+
constructor(props?: Partial<StudentDrivingRequest>);
|
|
17
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.StudentDrivingRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const company_1 = require("../../company");
|
|
15
|
+
const user_model_1 = require("../../company/user.model");
|
|
16
|
+
const enums_1 = require("../../enums");
|
|
17
|
+
const user_1 = require("../../user");
|
|
18
|
+
class StudentDrivingRequest {
|
|
19
|
+
preferredStartDate;
|
|
20
|
+
transmission;
|
|
21
|
+
receivedDate;
|
|
22
|
+
rejectedDate;
|
|
23
|
+
acceptedDate;
|
|
24
|
+
status;
|
|
25
|
+
user;
|
|
26
|
+
company;
|
|
27
|
+
acceptedBy;
|
|
28
|
+
rejectedBy;
|
|
29
|
+
constructor(props) {
|
|
30
|
+
Object.assign(this, props);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.StudentDrivingRequest = StudentDrivingRequest;
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
37
|
+
__metadata("design:type", Date)
|
|
38
|
+
], StudentDrivingRequest.prototype, "preferredStartDate", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], StudentDrivingRequest.prototype, "transmission", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
46
|
+
__metadata("design:type", Date)
|
|
47
|
+
], StudentDrivingRequest.prototype, "receivedDate", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
51
|
+
__metadata("design:type", Date)
|
|
52
|
+
], StudentDrivingRequest.prototype, "rejectedDate", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
56
|
+
__metadata("design:type", Date)
|
|
57
|
+
], StudentDrivingRequest.prototype, "acceptedDate", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], StudentDrivingRequest.prototype, "status", 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
|
+
], StudentDrivingRequest.prototype, "user", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
(0, class_transformer_1.Type)(() => company_1.Company),
|
|
70
|
+
__metadata("design:type", company_1.Company)
|
|
71
|
+
], StudentDrivingRequest.prototype, "company", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
75
|
+
__metadata("design:type", user_model_1.CompanyUser)
|
|
76
|
+
], StudentDrivingRequest.prototype, "acceptedBy", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
80
|
+
__metadata("design:type", user_model_1.CompanyUser)
|
|
81
|
+
], StudentDrivingRequest.prototype, "rejectedBy", void 0);
|
|
82
|
+
//# sourceMappingURL=request.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.model.js","sourceRoot":"","sources":["../../../src/student/driving/request.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAAwC;AACxC,yDAAuD;AACvD,uCAAqE;AACrE,qCAAkC;AAElC,MAAa,qBAAqB;IAMjC,kBAAkB,CAAO;IAGzB,YAAY,CAAkB;IAO9B,YAAY,CAAO;IAInB,YAAY,CAAO;IAInB,YAAY,CAAO;IAKnB,MAAM,CAAwB;IAM9B,IAAI,CAAO;IAIX,OAAO,CAAU;IAIjB,UAAU,CAAc;IAIxB,UAAU,CAAc;IAIxB,YAAY,KAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtDD,sDAsDC;AAhDA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACG,IAAI;iEAAC;AAGzB;IADC,IAAA,0BAAM,GAAE;;2DACqB;AAO9B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;2DAAC;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;2DAAC;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;2DAAC;AAKnB;IADC,IAAA,0BAAM,GAAE;;qDACqB;AAM9B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACX,WAAI;mDAAC;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;8BACX,iBAAO;sDAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAW,CAAC;8BACZ,wBAAW;yDAAC;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAW,CAAC;8BACZ,wBAAW;yDAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DrivingSkill } from "../../company/driving/skill.model";
|
|
2
|
+
import { DrivingSkillScore } from "../../enums";
|
|
3
|
+
import { StudentDrivingTopic } from "./topic.model";
|
|
4
|
+
import { StudentDrivingTraining } from "./training.model";
|
|
5
|
+
import { StudentDrivingAppointmentSkill } from "./appointment-skill.model";
|
|
6
|
+
export declare class StudentDrivingSkill {
|
|
7
|
+
score: DrivingSkillScore;
|
|
8
|
+
training: StudentDrivingTraining;
|
|
9
|
+
skill: DrivingSkill;
|
|
10
|
+
topic: StudentDrivingTopic;
|
|
11
|
+
appointmentSkills: StudentDrivingAppointmentSkill[];
|
|
12
|
+
constructor(props?: Partial<StudentDrivingSkill>);
|
|
13
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.StudentDrivingSkill = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const skill_model_1 = require("../../company/driving/skill.model");
|
|
15
|
+
const enums_1 = require("../../enums");
|
|
16
|
+
const topic_model_1 = require("./topic.model");
|
|
17
|
+
const training_model_1 = require("./training.model");
|
|
18
|
+
const appointment_skill_model_1 = require("./appointment-skill.model");
|
|
19
|
+
class StudentDrivingSkill {
|
|
20
|
+
score;
|
|
21
|
+
training;
|
|
22
|
+
skill;
|
|
23
|
+
topic;
|
|
24
|
+
appointmentSkills;
|
|
25
|
+
constructor(props) {
|
|
26
|
+
Object.assign(this, props);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.StudentDrivingSkill = StudentDrivingSkill;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], StudentDrivingSkill.prototype, "score", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, class_transformer_1.Type)(() => training_model_1.StudentDrivingTraining),
|
|
37
|
+
__metadata("design:type", training_model_1.StudentDrivingTraining)
|
|
38
|
+
], StudentDrivingSkill.prototype, "training", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
(0, class_transformer_1.Type)(() => skill_model_1.DrivingSkill),
|
|
42
|
+
__metadata("design:type", skill_model_1.DrivingSkill)
|
|
43
|
+
], StudentDrivingSkill.prototype, "skill", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
(0, class_transformer_1.Type)(() => topic_model_1.StudentDrivingTopic),
|
|
47
|
+
__metadata("design:type", topic_model_1.StudentDrivingTopic)
|
|
48
|
+
], StudentDrivingSkill.prototype, "topic", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
(0, class_transformer_1.Type)(() => appointment_skill_model_1.StudentDrivingAppointmentSkill),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], StudentDrivingSkill.prototype, "appointmentSkills", void 0);
|
|
54
|
+
//# sourceMappingURL=skill.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.model.js","sourceRoot":"","sources":["../../../src/student/driving/skill.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mEAAiE;AACjE,uCAAgD;AAChD,+CAAoD;AACpD,qDAA0D;AAC1D,uEAA2E;AAE3E,MAAa,mBAAmB;IAQ/B,KAAK,CAAoB;IAMzB,QAAQ,CAAyB;IAIjC,KAAK,CAAe;IAIpB,KAAK,CAAsB;IAI3B,iBAAiB,CAAmC;IAIpD,YAAY,KAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAjCD,kDAiCC;AAzBA;IADC,IAAA,0BAAM,GAAE;;kDACgB;AAMzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAsB,CAAC;8BACzB,uCAAsB;qDAAC;AAIjC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAY,CAAC;8BAClB,0BAAY;kDAAC;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAmB,CAAC;8BACzB,iCAAmB;kDAAC;AAI3B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wDAA8B,CAAC;;8DACS"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DrivingTopicStatus } from "../../enums";
|
|
2
|
+
import { DrivingTopic } from "../../company/driving/topic.model";
|
|
3
|
+
import { StudentDrivingTraining } from "./training.model";
|
|
4
|
+
import { StudentDrivingSkill } from "./skill.model";
|
|
5
|
+
import { StudentDrivingAppointmentTopic } from "./appointment-topic.model";
|
|
6
|
+
import { StudentDrivingExamTopicAssesment } from "./exam/exam-topic-assesment.model";
|
|
7
|
+
export declare class StudentDrivingTopic {
|
|
8
|
+
sort: number;
|
|
9
|
+
status: DrivingTopicStatus;
|
|
10
|
+
topic: DrivingTopic;
|
|
11
|
+
training: StudentDrivingTraining;
|
|
12
|
+
appointmentTopics: StudentDrivingAppointmentTopic[];
|
|
13
|
+
studentSkills: StudentDrivingSkill[];
|
|
14
|
+
examAssement: StudentDrivingExamTopicAssesment[];
|
|
15
|
+
constructor(props?: Partial<StudentDrivingTopic>);
|
|
16
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.StudentDrivingTopic = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const enums_1 = require("../../enums");
|
|
15
|
+
const topic_model_1 = require("../../company/driving/topic.model");
|
|
16
|
+
const training_model_1 = require("./training.model");
|
|
17
|
+
const skill_model_1 = require("./skill.model");
|
|
18
|
+
const appointment_topic_model_1 = require("./appointment-topic.model");
|
|
19
|
+
const exam_topic_assesment_model_1 = require("./exam/exam-topic-assesment.model");
|
|
20
|
+
class StudentDrivingTopic {
|
|
21
|
+
sort;
|
|
22
|
+
status;
|
|
23
|
+
topic;
|
|
24
|
+
training;
|
|
25
|
+
appointmentTopics;
|
|
26
|
+
studentSkills;
|
|
27
|
+
examAssement;
|
|
28
|
+
constructor(props) {
|
|
29
|
+
Object.assign(this, props);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.StudentDrivingTopic = StudentDrivingTopic;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], StudentDrivingTopic.prototype, "sort", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], StudentDrivingTopic.prototype, "status", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
(0, class_transformer_1.Type)(() => topic_model_1.DrivingTopic),
|
|
45
|
+
__metadata("design:type", topic_model_1.DrivingTopic)
|
|
46
|
+
], StudentDrivingTopic.prototype, "topic", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
(0, class_transformer_1.Type)(() => training_model_1.StudentDrivingTraining),
|
|
50
|
+
__metadata("design:type", training_model_1.StudentDrivingTraining)
|
|
51
|
+
], StudentDrivingTopic.prototype, "training", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
(0, class_transformer_1.Type)(() => appointment_topic_model_1.StudentDrivingAppointmentTopic),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], StudentDrivingTopic.prototype, "appointmentTopics", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
(0, class_transformer_1.Type)(() => skill_model_1.StudentDrivingSkill),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], StudentDrivingTopic.prototype, "studentSkills", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
(0, class_transformer_1.Type)(() => exam_topic_assesment_model_1.StudentDrivingExamTopicAssesment),
|
|
65
|
+
__metadata("design:type", Array)
|
|
66
|
+
], StudentDrivingTopic.prototype, "examAssement", void 0);
|
|
67
|
+
//# sourceMappingURL=topic.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topic.model.js","sourceRoot":"","sources":["../../../src/student/driving/topic.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,uCAAiD;AACjD,mEAAiE;AACjE,qDAA0D;AAC1D,+CAAoD;AACpD,uEAA2E;AAC3E,kFAAqF;AAErF,MAAa,mBAAmB;IAS/B,IAAI,CAAS;IAKb,MAAM,CAAqB;IAM3B,KAAK,CAAe;IAIpB,QAAQ,CAAyB;IAOjC,iBAAiB,CAAmC;IAIpD,aAAa,CAAwB;IAIrC,YAAY,CAAqC;IAIjD,YAAY,KAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9CD,kDA8CC;AArCA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iDACN;AAKb;IADC,IAAA,0BAAM,GAAE;;mDACkB;AAM3B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAY,CAAC;8BAClB,0BAAY;kDAAC;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAsB,CAAC;8BACzB,uCAAsB;qDAAC;AAOjC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wDAA8B,CAAC;;8DACS;AAIpD;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAmB,CAAC;;0DACK;AAIrC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6DAAgC,CAAC;;yDACI"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { CarTransmission, TrainingStatus } from "../../enums";
|
|
2
|
+
import { Student } from "../student.model";
|
|
3
|
+
import { CompanyUser } from "../../company/user.model";
|
|
4
|
+
import { DrivingCategory } from "../../company/driving/category.model";
|
|
5
|
+
import { StudentDrivingTopic } from "./topic.model";
|
|
6
|
+
import { StudentDrivingSkill } from "./skill.model";
|
|
7
|
+
import { StudentDrivingAppointment } from "./appointment.model";
|
|
8
|
+
import { StudentDrivingExam } from "./exam/exam.model";
|
|
9
|
+
import { DrivingDiscount } from "../../company/driving/finances/discount.model";
|
|
10
|
+
import { DrivingInvoice } from "../../company/driving/finances/invoice.model";
|
|
11
|
+
import { DrivingPayment } from "../../company/driving/finances/payment.model";
|
|
12
|
+
import { DrivingRefund } from "../../company/driving/finances/refund.model";
|
|
13
|
+
export declare class StudentDrivingTraining {
|
|
14
|
+
archivedDate: Date;
|
|
15
|
+
licenseNumber: string;
|
|
16
|
+
licenseExpirationDate: Date;
|
|
17
|
+
sessionPrice: number;
|
|
18
|
+
sessionDuration: number;
|
|
19
|
+
administrationFee: number;
|
|
20
|
+
transmission: CarTransmission;
|
|
21
|
+
terminationNote: string;
|
|
22
|
+
status: TrainingStatus;
|
|
23
|
+
calendarEnabled: boolean;
|
|
24
|
+
cost: number;
|
|
25
|
+
balance: number;
|
|
26
|
+
discount: number;
|
|
27
|
+
refund: number;
|
|
28
|
+
studentRating: number;
|
|
29
|
+
student: Student;
|
|
30
|
+
instructor: CompanyUser;
|
|
31
|
+
registeredBy: CompanyUser;
|
|
32
|
+
completedBy: CompanyUser;
|
|
33
|
+
terminatedBy: CompanyUser;
|
|
34
|
+
category: DrivingCategory;
|
|
35
|
+
topics: StudentDrivingTopic[];
|
|
36
|
+
skills: StudentDrivingSkill[];
|
|
37
|
+
appointments: StudentDrivingAppointment[];
|
|
38
|
+
exams: StudentDrivingExam[];
|
|
39
|
+
payments: DrivingPayment[];
|
|
40
|
+
discounts: DrivingDiscount[];
|
|
41
|
+
refunds: DrivingRefund[];
|
|
42
|
+
invoices: DrivingInvoice[];
|
|
43
|
+
constructor(props?: Partial<StudentDrivingTraining>);
|
|
44
|
+
}
|