@intelact/driveup 1.4.5 → 1.4.7
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 +2 -0
- package/lib/agent/agent.model.js +7 -0
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/bill/bill-item.type.d.ts +5 -0
- package/lib/bill/bill-item.type.js +10 -0
- package/lib/bill/bill-item.type.js.map +1 -0
- package/lib/bill/index.d.ts +1 -0
- package/lib/bill/index.js +1 -0
- package/lib/bill/index.js.map +1 -1
- package/lib/calendar/link.d.ts +4 -0
- package/lib/calendar/link.js +9 -0
- package/lib/calendar/link.js.map +1 -0
- package/lib/common/date.d.ts +9 -0
- package/lib/common/date.js +14 -0
- package/lib/common/date.js.map +1 -0
- package/lib/common/general.dto.d.ts +1 -1
- package/lib/common/general.dto.js +2 -3
- package/lib/common/general.dto.js.map +1 -1
- 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/company.model.d.ts +2 -0
- package/lib/company/company.model.js +7 -0
- package/lib/company/company.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/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/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/finances/card.model.d.ts +10 -0
- package/lib/company/finances/card.model.js +55 -0
- package/lib/company/finances/card.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/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/user.model.d.ts +25 -0
- package/lib/company/user.model.js +124 -0
- package/lib/company/user.model.js.map +1 -0
- package/lib/country/country.model.d.ts +2 -0
- package/lib/country/country.model.js +7 -0
- package/lib/country/country.model.js.map +1 -1
- package/lib/currency/currency.model.d.ts +2 -0
- package/lib/currency/currency.model.js +7 -0
- package/lib/currency/currency.model.js.map +1 -1
- 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 +1 -0
- package/lib/enums/index.js +14 -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/role.d.ts +6 -0
- package/lib/enums/role.js +11 -0
- package/lib/enums/role.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 +19 -0
- package/lib/enums/training.js +27 -0
- package/lib/enums/training.js.map +1 -0
- package/lib/finance/handover.dto.d.ts +6 -0
- package/lib/finance/handover.dto.js +45 -0
- package/lib/finance/handover.dto.js.map +1 -0
- package/lib/finance/handover.model.d.ts +13 -0
- package/lib/finance/handover.model.js +65 -0
- package/lib/finance/handover.model.js.map +1 -0
- package/lib/language/language.enum.d.ts +4 -4
- package/lib/language/language.enum.js +4 -4
- package/lib/priceplan/plan.model.d.ts +1 -0
- package/lib/priceplan/plan.model.js +6 -0
- package/lib/priceplan/plan.model.js.map +1 -1
- package/lib/session/course/index.js +1 -5
- package/lib/session/course/index.js.map +1 -1
- package/lib/session/course/session.model.d.ts +4 -3
- package/lib/session/course/session.model.js +9 -8
- package/lib/session/course/session.model.js.map +1 -1
- package/lib/session/driving/appointment-assessment.d.ts +8 -0
- package/lib/session/driving/appointment-assessment.js +50 -0
- package/lib/session/driving/appointment-assessment.js.map +1 -0
- package/lib/student/student.model.d.ts +2 -0
- package/lib/student/student.model.js +7 -0
- package/lib/student/student.model.js.map +1 -1
- package/lib/support/index.d.ts +1 -0
- package/lib/support/index.js +18 -0
- package/lib/support/index.js.map +1 -0
- package/lib/support/request.dto.d.ts +5 -0
- package/lib/support/request.dto.js +39 -0
- package/lib/support/request.dto.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/notification/index.d.ts +3 -0
- package/lib/user/notification/index.js +20 -0
- package/lib/user/notification/index.js.map +1 -0
- package/lib/user/notification/notification-preference.model.d.ts +5 -0
- package/lib/user/notification/notification-preference.model.js +31 -0
- package/lib/user/notification/notification-preference.model.js.map +1 -0
- 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 +10 -0
- package/lib/user/notification/notification.model.js +53 -0
- package/lib/user/notification/notification.model.js.map +1 -0
- package/lib/user/user.model.d.ts +2 -0
- package/lib/user/user.model.js +7 -0
- package/lib/user/user.model.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
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.Handover = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
15
|
+
const payment_model_1 = require("../payment/payment.model");
|
|
16
|
+
const expense_model_1 = require("../expense/expense.model");
|
|
17
|
+
class Handover {
|
|
18
|
+
id;
|
|
19
|
+
createdOn;
|
|
20
|
+
handoverInstructor;
|
|
21
|
+
handoverManager;
|
|
22
|
+
approvedPayments;
|
|
23
|
+
approvedExpenses;
|
|
24
|
+
rejectedExpenses;
|
|
25
|
+
constructor(props) {
|
|
26
|
+
Object.assign(this, props);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.Handover = Handover;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], Handover.prototype, "id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
38
|
+
__metadata("design:type", Date)
|
|
39
|
+
], Handover.prototype, "createdOn", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
43
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
44
|
+
], Handover.prototype, "handoverInstructor", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
48
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
49
|
+
], Handover.prototype, "handoverManager", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
(0, class_transformer_1.Type)(() => payment_model_1.Payment),
|
|
53
|
+
__metadata("design:type", Array)
|
|
54
|
+
], Handover.prototype, "approvedPayments", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
(0, class_transformer_1.Type)(() => expense_model_1.Expense),
|
|
58
|
+
__metadata("design:type", Array)
|
|
59
|
+
], Handover.prototype, "approvedExpenses", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
(0, class_transformer_1.Type)(() => expense_model_1.Expense),
|
|
63
|
+
__metadata("design:type", Array)
|
|
64
|
+
], Handover.prototype, "rejectedExpenses", void 0);
|
|
65
|
+
//# sourceMappingURL=handover.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handover.model.js","sourceRoot":"","sources":["../../src/finance/handover.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qEAA4D;AAC5D,4DAAmD;AACnD,4DAAmD;AAEnD,MAAa,QAAQ;IAGpB,EAAE,CAAS;IAIX,SAAS,CAAO;IAIhB,kBAAkB,CAAa;IAI/B,eAAe,CAAa;IAI5B,gBAAgB,CAAY;IAI5B,gBAAgB,CAAY;IAI5B,gBAAgB,CAAY;IAI5B,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlCD,4BAkCC;AA/BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;2CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACH,6BAAU;oDAAC;AAI/B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACN,6BAAU;iDAAC;AAI5B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;;kDACQ;AAI5B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;;kDACQ;AAI5B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;;kDACQ"}
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Language = void 0;
|
|
4
4
|
var Language;
|
|
5
5
|
(function (Language) {
|
|
6
|
-
Language["En"] = "
|
|
7
|
-
Language["De"] = "
|
|
8
|
-
Language["Fr"] = "
|
|
9
|
-
Language["It"] = "
|
|
6
|
+
Language["En"] = "EN";
|
|
7
|
+
Language["De"] = "DE";
|
|
8
|
+
Language["Fr"] = "FR";
|
|
9
|
+
Language["It"] = "IT";
|
|
10
10
|
})(Language || (exports.Language = Language = {}));
|
|
11
11
|
//# sourceMappingURL=language.enum.js.map
|
|
@@ -29,6 +29,7 @@ class PricePlan {
|
|
|
29
29
|
startCredit;
|
|
30
30
|
active;
|
|
31
31
|
upcoming;
|
|
32
|
+
canChangePlan;
|
|
32
33
|
features;
|
|
33
34
|
usage;
|
|
34
35
|
priceLabel;
|
|
@@ -102,6 +103,11 @@ __decorate([
|
|
|
102
103
|
(0, class_transformer_1.Type)(() => Boolean),
|
|
103
104
|
__metadata("design:type", Boolean)
|
|
104
105
|
], PricePlan.prototype, "upcoming", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, class_transformer_1.Expose)(),
|
|
108
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
109
|
+
__metadata("design:type", Boolean)
|
|
110
|
+
], PricePlan.prototype, "canChangePlan", void 0);
|
|
105
111
|
__decorate([
|
|
106
112
|
(0, class_transformer_1.Expose)(),
|
|
107
113
|
(0, class_transformer_1.Type)(() => item_1.Item),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.model.js","sourceRoot":"","sources":["../../src/priceplan/plan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAA4C;AAC5C,kCAA+B;AAC/B,wCAAqC;AAErC,MAAa,SAAS;IAIrB,EAAE,CAAS;IAIX,OAAO,CAAU;IAGjB,IAAI,CAAgB;IAGpB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAGd,QAAQ,CAAS;IAGjB,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,WAAW,CAAS;IAIpB,MAAM,CAAU;IAIhB,QAAQ,CAAU;IAIlB,QAAQ,CAAiB;IAIzB,KAAK,CAAiB;IAGtB,UAAU,CAIR;IAGF,YAAY,CAGV;IAEF,YAAY,KAA0B;QACrC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;
|
|
1
|
+
{"version":3,"file":"plan.model.js","sourceRoot":"","sources":["../../src/priceplan/plan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAA4C;AAC5C,kCAA+B;AAC/B,wCAAqC;AAErC,MAAa,SAAS;IAIrB,EAAE,CAAS;IAIX,OAAO,CAAU;IAGjB,IAAI,CA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AM,CAAC;;8CACC;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACJ;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;2CACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;gDACG;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;;2CACQ;AAIzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;;wCACK;AAGtB;IADC,IAAA,0BAAM,GAAE;;6CAKP;AAGF;IADC,IAAA,0BAAM,GAAE;;+CAIP"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/session/course/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/session/course/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Appointment } from "../../calendar";
|
|
2
|
-
import { User } from "../../user";
|
|
1
|
+
import { Appointment } from "../../calendar/appointment";
|
|
2
|
+
import { User } from "../../user/user.model";
|
|
3
|
+
import { Student } from "../../student/student.model";
|
|
3
4
|
export declare class CourseSession extends Appointment {
|
|
4
|
-
students:
|
|
5
|
+
students: Student;
|
|
5
6
|
attended: User;
|
|
6
7
|
constructor(props?: Partial<CourseSession>);
|
|
7
8
|
}
|
|
@@ -11,9 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CourseSession = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
|
|
14
|
+
const appointment_1 = require("../../calendar/appointment");
|
|
15
|
+
const user_model_1 = require("../../user/user.model");
|
|
16
|
+
const student_model_1 = require("../../student/student.model");
|
|
17
|
+
class CourseSession extends appointment_1.Appointment {
|
|
17
18
|
students;
|
|
18
19
|
attended;
|
|
19
20
|
constructor(props) {
|
|
@@ -21,15 +22,15 @@ class CourseSession extends calendar_1.Appointment {
|
|
|
21
22
|
Object.assign(this, props);
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
exports.CourseSession = CourseSession;
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, class_transformer_1.Expose)(),
|
|
27
|
-
(0, class_transformer_1.Type)(() =>
|
|
28
|
-
__metadata("design:type",
|
|
27
|
+
(0, class_transformer_1.Type)(() => student_model_1.Student),
|
|
28
|
+
__metadata("design:type", student_model_1.Student)
|
|
29
29
|
], CourseSession.prototype, "students", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, class_transformer_1.Expose)(),
|
|
32
|
-
(0, class_transformer_1.Type)(() =>
|
|
33
|
-
__metadata("design:type",
|
|
32
|
+
(0, class_transformer_1.Type)(() => user_model_1.User),
|
|
33
|
+
__metadata("design:type", user_model_1.User)
|
|
34
34
|
], CourseSession.prototype, "attended", void 0);
|
|
35
|
+
exports.CourseSession = CourseSession;
|
|
35
36
|
//# sourceMappingURL=session.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.model.js","sourceRoot":"","sources":["../../../src/session/course/session.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"session.model.js","sourceRoot":"","sources":["../../../src/session/course/session.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,4DAAyD;AACzD,sDAA6C;AAC7C,+DAAsD;AAEtD,MAAa,aAAc,SAAQ,yBAAW;IAI7C,QAAQ,CAAU;IAIlB,QAAQ,CAAO;IAEf,YAAY,KAA8B;QACzC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAVA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;8BACV,uBAAO;+CAAC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;8BACP,iBAAI;+CAAC;AARhB,sCAcC"}
|
|
@@ -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.DrivingAppointmentAssessment = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class DrivingAppointmentAssessment {
|
|
15
|
+
number;
|
|
16
|
+
sessionNumber;
|
|
17
|
+
score;
|
|
18
|
+
date;
|
|
19
|
+
exam;
|
|
20
|
+
constructor(props) {
|
|
21
|
+
Object.assign(this, props);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.DrivingAppointmentAssessment = DrivingAppointmentAssessment;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], DrivingAppointmentAssessment.prototype, "number", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], DrivingAppointmentAssessment.prototype, "sessionNumber", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], DrivingAppointmentAssessment.prototype, "score", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], DrivingAppointmentAssessment.prototype, "date", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
48
|
+
__metadata("design:type", Boolean)
|
|
49
|
+
], DrivingAppointmentAssessment.prototype, "exam", void 0);
|
|
50
|
+
//# sourceMappingURL=appointment-assessment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment-assessment.js","sourceRoot":"","sources":["../../../src/session/driving/appointment-assessment.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,4BAA4B;IAIxC,MAAM,CAAS;IAIf,aAAa,CAAS;IAItB,KAAK,CAAS;IAId,IAAI,CAAO;IAIX,IAAI,CAAU;IAEd,YAAY,KAA6C;QACxD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzBD,oEAyBC;AArBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4DACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mEACG;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2DACL;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;0DAAC;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;0DACN"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AccountStatus } from "../security/account.types";
|
|
2
2
|
import { TrainingStatus } from "../training/training.types";
|
|
3
3
|
import { DrivingTraining } from "../training/driving.model";
|
|
4
|
+
import { Metric } from "../metric";
|
|
4
5
|
export declare class Student {
|
|
5
6
|
id: number;
|
|
6
7
|
createdOn: Date;
|
|
@@ -16,5 +17,6 @@ export declare class Student {
|
|
|
16
17
|
trainingPrice: number;
|
|
17
18
|
trainingStatus: TrainingStatus;
|
|
18
19
|
attended: boolean;
|
|
20
|
+
metrics: Metric[];
|
|
19
21
|
constructor(props?: Partial<Student>);
|
|
20
22
|
}
|
|
@@ -14,6 +14,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
14
14
|
const account_types_1 = require("../security/account.types");
|
|
15
15
|
const training_types_1 = require("../training/training.types");
|
|
16
16
|
const driving_model_1 = require("../training/driving.model");
|
|
17
|
+
const metric_1 = require("../metric");
|
|
17
18
|
class Student {
|
|
18
19
|
id;
|
|
19
20
|
createdOn;
|
|
@@ -29,6 +30,7 @@ class Student {
|
|
|
29
30
|
trainingPrice;
|
|
30
31
|
trainingStatus;
|
|
31
32
|
attended;
|
|
33
|
+
metrics;
|
|
32
34
|
constructor(props) {
|
|
33
35
|
Object.assign(this, props);
|
|
34
36
|
}
|
|
@@ -98,4 +100,9 @@ __decorate([
|
|
|
98
100
|
(0, class_transformer_1.Type)(() => Boolean),
|
|
99
101
|
__metadata("design:type", Boolean)
|
|
100
102
|
], Student.prototype, "attended", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_transformer_1.Expose)(),
|
|
105
|
+
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
|
106
|
+
__metadata("design:type", Array)
|
|
107
|
+
], Student.prototype, "metrics", void 0);
|
|
101
108
|
//# sourceMappingURL=student.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,6DAA0D;AAC1D,+DAA4D;AAC5D,6DAA4D;
|
|
1
|
+
{"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,6DAA0D;AAC1D,+DAA4D;AAC5D,6DAA4D;AAC5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AAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACG;AAGtB;IADC,IAAA,0BAAM,GAAE;;+CACsB;AAI/B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,eAAM,CAAC;;wCACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './request.dto';
|
|
@@ -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("./request.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/support/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.SupportRequestSubmitDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SupportRequestSubmitDto {
|
|
16
|
+
userId;
|
|
17
|
+
name;
|
|
18
|
+
description;
|
|
19
|
+
}
|
|
20
|
+
exports.SupportRequestSubmitDto = SupportRequestSubmitDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, class_validator_1.Min)(1),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], SupportRequestSubmitDto.prototype, "userId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SupportRequestSubmitDto.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], SupportRequestSubmitDto.prototype, "description", void 0);
|
|
39
|
+
//# sourceMappingURL=request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.dto.js","sourceRoot":"","sources":["../../src/support/request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAkF;AAElF,MAAa,uBAAuB;IAKnC,MAAM,CAAS;IAKf,IAAI,CAAS;IAKb,WAAW,CAAS;CACpB;AAhBD,0DAgBC;AAXA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;uDACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;qDACzB;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;4DAClB"}
|