@intelact/driveup 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/agent/agent.model.d.ts +1 -4
- package/lib/agent/agent.model.js +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/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 +3 -23
- package/lib/company/company.model.js +2 -71
- 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 +5 -3
- package/lib/company/index.js +5 -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/role.d.ts +6 -0
- package/lib/enums/role.js +11 -0
- package/lib/enums/role.js.map +1 -0
- 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/index.d.ts +2 -1
- package/lib/user/index.js +2 -1
- package/lib/user/index.js.map +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 +6 -0
- package/lib/user/sign.dto.js +41 -0
- package/lib/user/sign.dto.js.map +1 -0
- 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
|
@@ -11,18 +11,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DrivingDiscount = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const user_model_1 = require("../../user.model");
|
|
14
|
+
const team_1 = require("../../team");
|
|
16
15
|
class DrivingDiscount {
|
|
16
|
+
id;
|
|
17
17
|
ammount;
|
|
18
18
|
description;
|
|
19
|
-
training;
|
|
20
19
|
registeredBy;
|
|
21
20
|
constructor(props) {
|
|
22
21
|
Object.assign(this, props);
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
24
|
exports.DrivingDiscount = DrivingDiscount;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], DrivingDiscount.prototype, "id", void 0);
|
|
26
30
|
__decorate([
|
|
27
31
|
(0, class_transformer_1.Expose)(),
|
|
28
32
|
(0, class_transformer_1.Type)(() => Number),
|
|
@@ -34,12 +38,7 @@ __decorate([
|
|
|
34
38
|
], DrivingDiscount.prototype, "description", void 0);
|
|
35
39
|
__decorate([
|
|
36
40
|
(0, class_transformer_1.Expose)(),
|
|
37
|
-
(0, class_transformer_1.Type)(() =>
|
|
38
|
-
__metadata("design:type",
|
|
39
|
-
], DrivingDiscount.prototype, "training", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
43
|
-
__metadata("design:type", user_model_1.CompanyUser)
|
|
41
|
+
(0, class_transformer_1.Type)(() => team_1.CompanyUser),
|
|
42
|
+
__metadata("design:type", team_1.CompanyUser)
|
|
44
43
|
], DrivingDiscount.prototype, "registeredBy", void 0);
|
|
45
44
|
//# sourceMappingURL=discount.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discount.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/discount.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"discount.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/discount.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qCAAyC;AAEzC,MAAa,eAAe;IAG3B,EAAE,CAAS;IAIX,OAAO,CAAS;IAGhB,WAAW,CAAS;IAMpB,YAAY,CAAc;IAI1B,YAAY,KAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAvBD,0CAuBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACH;AAGhB;IADC,IAAA,0BAAM,GAAE;;oDACW;AAMpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAW,CAAC;8BACV,kBAAW;qDAAC"}
|
|
@@ -11,17 +11,21 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DrivingInvoiceItem = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const invoice_model_1 = require("./invoice.model");
|
|
15
14
|
class DrivingInvoiceItem {
|
|
15
|
+
id;
|
|
16
16
|
ammount;
|
|
17
17
|
description;
|
|
18
18
|
sort;
|
|
19
|
-
invoice;
|
|
20
19
|
constructor(props) {
|
|
21
20
|
Object.assign(this, props);
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
exports.DrivingInvoiceItem = DrivingInvoiceItem;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], DrivingInvoiceItem.prototype, "id", void 0);
|
|
25
29
|
__decorate([
|
|
26
30
|
(0, class_transformer_1.Expose)(),
|
|
27
31
|
(0, class_transformer_1.Type)(() => Number),
|
|
@@ -36,9 +40,4 @@ __decorate([
|
|
|
36
40
|
(0, class_transformer_1.Type)(() => Number),
|
|
37
41
|
__metadata("design:type", Number)
|
|
38
42
|
], DrivingInvoiceItem.prototype, "sort", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_transformer_1.Expose)(),
|
|
41
|
-
(0, class_transformer_1.Type)(() => invoice_model_1.DrivingInvoice),
|
|
42
|
-
__metadata("design:type", invoice_model_1.DrivingInvoice)
|
|
43
|
-
], DrivingInvoiceItem.prototype, "invoice", void 0);
|
|
44
43
|
//# sourceMappingURL=invoice-item.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-item.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/invoice-item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;
|
|
1
|
+
{"version":3,"file":"invoice-item.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/invoice-item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,kBAAkB;IAG9B,EAAE,CAAS;IAIX,OAAO,CAAS;IAGhB,WAAW,CAAS;IAIpB,IAAI,CAAS;IAIb,YAAY,KAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AArBD,gDAqBC;AAlBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mDACH;AAGhB;IADC,IAAA,0BAAM,GAAE;;uDACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACN"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { StudentDrivingTraining } from "../../../student/driving/training.model";
|
|
4
|
-
import { DrivingInvoiceItem } from "./invoice-item.model";
|
|
5
|
-
import { DrivingPayment } from "./payment.model";
|
|
1
|
+
import { InvoiceStatus } from "../../finances";
|
|
2
|
+
import { CompanyUser } from "../../team";
|
|
6
3
|
export declare class DrivingInvoice {
|
|
7
4
|
number: number;
|
|
8
5
|
dueDate: Date;
|
|
@@ -12,9 +9,6 @@ export declare class DrivingInvoice {
|
|
|
12
9
|
IBAN: string;
|
|
13
10
|
SWIFT: string;
|
|
14
11
|
accountHolder: string;
|
|
15
|
-
training: StudentDrivingTraining;
|
|
16
|
-
items: DrivingInvoiceItem[];
|
|
17
|
-
payment: DrivingPayment;
|
|
18
12
|
registeredBy: CompanyUser;
|
|
19
13
|
constructor(props?: Partial<DrivingInvoice>);
|
|
20
14
|
}
|
|
@@ -11,11 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DrivingInvoice = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const training_model_1 = require("../../../student/driving/training.model");
|
|
17
|
-
const invoice_item_model_1 = require("./invoice-item.model");
|
|
18
|
-
const payment_model_1 = require("./payment.model");
|
|
14
|
+
const finances_1 = require("../../finances");
|
|
15
|
+
const team_1 = require("../../team");
|
|
19
16
|
class DrivingInvoice {
|
|
20
17
|
number;
|
|
21
18
|
dueDate;
|
|
@@ -25,9 +22,6 @@ class DrivingInvoice {
|
|
|
25
22
|
IBAN;
|
|
26
23
|
SWIFT;
|
|
27
24
|
accountHolder;
|
|
28
|
-
training;
|
|
29
|
-
items;
|
|
30
|
-
payment;
|
|
31
25
|
registeredBy;
|
|
32
26
|
constructor(props) {
|
|
33
27
|
Object.assign(this, props);
|
|
@@ -71,22 +65,7 @@ __decorate([
|
|
|
71
65
|
], DrivingInvoice.prototype, "accountHolder", void 0);
|
|
72
66
|
__decorate([
|
|
73
67
|
(0, class_transformer_1.Expose)(),
|
|
74
|
-
(0, class_transformer_1.Type)(() =>
|
|
75
|
-
__metadata("design:type",
|
|
76
|
-
], DrivingInvoice.prototype, "training", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, class_transformer_1.Expose)(),
|
|
79
|
-
(0, class_transformer_1.Type)(() => invoice_item_model_1.DrivingInvoiceItem),
|
|
80
|
-
__metadata("design:type", Array)
|
|
81
|
-
], DrivingInvoice.prototype, "items", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, class_transformer_1.Expose)(),
|
|
84
|
-
(0, class_transformer_1.Type)(() => payment_model_1.DrivingPayment),
|
|
85
|
-
__metadata("design:type", payment_model_1.DrivingPayment)
|
|
86
|
-
], DrivingInvoice.prototype, "payment", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, class_transformer_1.Expose)(),
|
|
89
|
-
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
90
|
-
__metadata("design:type", user_model_1.CompanyUser)
|
|
68
|
+
(0, class_transformer_1.Type)(() => team_1.CompanyUser),
|
|
69
|
+
__metadata("design:type", team_1.CompanyUser)
|
|
91
70
|
], DrivingInvoice.prototype, "registeredBy", void 0);
|
|
92
71
|
//# sourceMappingURL=invoice.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/invoice.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"invoice.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/invoice.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,6CAA+C;AAC/C,qCAAyC;AAEzC,MAAa,cAAc;IAQ1B,MAAM,CAAS;IAIf,OAAO,CAAO;IAId,OAAO,CAAS;IAGhB,OAAO,CAAS;IAKhB,MAAM,CAAgB;IAKtB,IAAI,CAAS;IAGb,KAAK,CAAS;IAMd,aAAa,CAAS;IAMtB,YAAY,CAAc;IAI1B,YAAY,KAA+B;QAC1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnDD,wCAmDC;AA3CA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;+CAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACH;AAGhB;IADC,IAAA,0BAAM,GAAE;;+CACO;AAKhB;IADC,IAAA,0BAAM,GAAE;;8CACa;AAKtB;IADC,IAAA,0BAAM,GAAE;;4CACI;AAGb;IADC,IAAA,0BAAM,GAAE;;6CACK;AAMd;IADC,IAAA,0BAAM,GAAE;;qDACa;AAMtB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAW,CAAC;8BACV,kBAAW;oDAAC"}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { PaymentType } from "
|
|
2
|
-
import {
|
|
3
|
-
import { CompanyUser } from "../../user.model";
|
|
4
|
-
import { DrivingInvoice } from "./invoice.model";
|
|
1
|
+
import { PaymentType } from "../../finances";
|
|
2
|
+
import { CompanyUser } from "../../team";
|
|
5
3
|
export declare class DrivingPayment {
|
|
4
|
+
id: number;
|
|
6
5
|
ammount: number;
|
|
7
6
|
type: PaymentType;
|
|
8
7
|
description: string;
|
|
9
8
|
approved: boolean;
|
|
10
9
|
approvedDate: Date;
|
|
11
|
-
training: StudentDrivingTraining;
|
|
12
|
-
invoice: DrivingInvoice;
|
|
13
10
|
registeredBy: CompanyUser;
|
|
14
11
|
approvedBy: CompanyUser;
|
|
15
12
|
constructor(props?: Partial<DrivingPayment>);
|
|
@@ -11,18 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DrivingPayment = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const user_model_1 = require("../../user.model");
|
|
17
|
-
const invoice_model_1 = require("./invoice.model");
|
|
14
|
+
const finances_1 = require("../../finances");
|
|
15
|
+
const team_1 = require("../../team");
|
|
18
16
|
class DrivingPayment {
|
|
17
|
+
id;
|
|
19
18
|
ammount;
|
|
20
19
|
type;
|
|
21
20
|
description;
|
|
22
21
|
approved;
|
|
23
22
|
approvedDate;
|
|
24
|
-
training;
|
|
25
|
-
invoice;
|
|
26
23
|
registeredBy;
|
|
27
24
|
approvedBy;
|
|
28
25
|
constructor(props) {
|
|
@@ -30,6 +27,11 @@ class DrivingPayment {
|
|
|
30
27
|
}
|
|
31
28
|
}
|
|
32
29
|
exports.DrivingPayment = DrivingPayment;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], DrivingPayment.prototype, "id", void 0);
|
|
33
35
|
__decorate([
|
|
34
36
|
(0, class_transformer_1.Expose)(),
|
|
35
37
|
(0, class_transformer_1.Type)(() => Number),
|
|
@@ -55,22 +57,12 @@ __decorate([
|
|
|
55
57
|
], DrivingPayment.prototype, "approvedDate", void 0);
|
|
56
58
|
__decorate([
|
|
57
59
|
(0, class_transformer_1.Expose)(),
|
|
58
|
-
(0, class_transformer_1.Type)(() =>
|
|
59
|
-
__metadata("design:type",
|
|
60
|
-
], DrivingPayment.prototype, "training", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_transformer_1.Expose)(),
|
|
63
|
-
(0, class_transformer_1.Type)(() => invoice_model_1.DrivingInvoice),
|
|
64
|
-
__metadata("design:type", invoice_model_1.DrivingInvoice)
|
|
65
|
-
], DrivingPayment.prototype, "invoice", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, class_transformer_1.Expose)(),
|
|
68
|
-
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
69
|
-
__metadata("design:type", user_model_1.CompanyUser)
|
|
60
|
+
(0, class_transformer_1.Type)(() => team_1.CompanyUser),
|
|
61
|
+
__metadata("design:type", team_1.CompanyUser)
|
|
70
62
|
], DrivingPayment.prototype, "registeredBy", void 0);
|
|
71
63
|
__decorate([
|
|
72
64
|
(0, class_transformer_1.Expose)(),
|
|
73
|
-
(0, class_transformer_1.Type)(() =>
|
|
74
|
-
__metadata("design:type",
|
|
65
|
+
(0, class_transformer_1.Type)(() => team_1.CompanyUser),
|
|
66
|
+
__metadata("design:type", team_1.CompanyUser)
|
|
75
67
|
], DrivingPayment.prototype, "approvedBy", void 0);
|
|
76
68
|
//# sourceMappingURL=payment.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/payment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"payment.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/payment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,6CAA6C;AAC7C,qCAAyC;AAEzC,MAAa,cAAc;IAG1B,EAAE,CAAS;IAIX,OAAO,CAAS;IAGhB,IAAI,CAAc;IAGlB,WAAW,CAAS;IAOpB,QAAQ,CAAU;IAIlB,YAAY,CAAO;IAMnB,YAAY,CAAc;IAI1B,UAAU,CAAc;IAIxB,YAAY,KAA+B;QAC1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzCD,wCAyCC;AAtCA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACH;AAGhB;IADC,IAAA,0BAAM,GAAE;;4CACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;mDACW;AAOpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;gDACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;oDAAC;AAMnB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAW,CAAC;8BACV,kBAAW;oDAAC;AAI1B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAW,CAAC;8BACZ,kBAAW;kDAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CompanyUser } from "../../user.model";
|
|
1
|
+
import { CompanyUser } from "../../team";
|
|
3
2
|
export declare class DrivingRefund {
|
|
3
|
+
id: number;
|
|
4
4
|
ammount: number;
|
|
5
5
|
description: string;
|
|
6
|
-
training: StudentDrivingTraining;
|
|
7
6
|
registeredBy: CompanyUser;
|
|
8
7
|
constructor(props?: Partial<DrivingRefund>);
|
|
9
8
|
}
|
|
@@ -11,18 +11,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DrivingRefund = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const user_model_1 = require("../../user.model");
|
|
14
|
+
const team_1 = require("../../team");
|
|
16
15
|
class DrivingRefund {
|
|
16
|
+
id;
|
|
17
17
|
ammount;
|
|
18
18
|
description;
|
|
19
|
-
training;
|
|
20
19
|
registeredBy;
|
|
21
20
|
constructor(props) {
|
|
22
21
|
Object.assign(this, props);
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
24
|
exports.DrivingRefund = DrivingRefund;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], DrivingRefund.prototype, "id", void 0);
|
|
26
30
|
__decorate([
|
|
27
31
|
(0, class_transformer_1.Expose)(),
|
|
28
32
|
(0, class_transformer_1.Type)(() => Number),
|
|
@@ -34,12 +38,7 @@ __decorate([
|
|
|
34
38
|
], DrivingRefund.prototype, "description", void 0);
|
|
35
39
|
__decorate([
|
|
36
40
|
(0, class_transformer_1.Expose)(),
|
|
37
|
-
(0, class_transformer_1.Type)(() =>
|
|
38
|
-
__metadata("design:type",
|
|
39
|
-
], DrivingRefund.prototype, "training", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
43
|
-
__metadata("design:type", user_model_1.CompanyUser)
|
|
41
|
+
(0, class_transformer_1.Type)(() => team_1.CompanyUser),
|
|
42
|
+
__metadata("design:type", team_1.CompanyUser)
|
|
44
43
|
], DrivingRefund.prototype, "registeredBy", void 0);
|
|
45
44
|
//# sourceMappingURL=refund.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refund.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/refund.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"refund.model.js","sourceRoot":"","sources":["../../../../src/company/driving/finances/refund.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qCAAyC;AAEzC,MAAa,aAAa;IAGzB,EAAE,CAAS;IAIX,OAAO,CAAS;IAGhB,WAAW,CAAS;IAMpB,YAAY,CAAc;IAI1B,YAAY,KAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAvBD,sCAuBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;yCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACH;AAGhB;IADC,IAAA,0BAAM,GAAE;;kDACW;AAMpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAW,CAAC;8BACV,kBAAW;mDAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
export * from './finances';
|
|
2
|
+
export * from '../common/appointment.type.enum';
|
|
1
3
|
export * from './category.model';
|
|
4
|
+
export * from './exam.enum';
|
|
5
|
+
export * from './score.enum';
|
|
2
6
|
export * from './skill.model';
|
|
3
7
|
export * from './topic.model';
|
|
4
|
-
export * from './
|
|
8
|
+
export * from './transmission.enum';
|
|
@@ -14,8 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./finances"), exports);
|
|
18
|
+
__exportStar(require("../common/appointment.type.enum"), exports);
|
|
17
19
|
__exportStar(require("./category.model"), exports);
|
|
20
|
+
__exportStar(require("./exam.enum"), exports);
|
|
21
|
+
__exportStar(require("./score.enum"), exports);
|
|
18
22
|
__exportStar(require("./skill.model"), exports);
|
|
19
23
|
__exportStar(require("./topic.model"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./transmission.enum"), exports);
|
|
21
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/company/driving/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/company/driving/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,kEAAgD;AAChD,mDAAiC;AACjC,8CAA4B;AAC5B,+CAA6B;AAC7B,gDAA8B;AAC9B,gDAA8B;AAC9B,sDAAoC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DrivingTopicStatus = exports.DrivingSkillScore = void 0;
|
|
4
|
+
var DrivingSkillScore;
|
|
5
|
+
(function (DrivingSkillScore) {
|
|
6
|
+
DrivingSkillScore[DrivingSkillScore["Poor"] = 1] = "Poor";
|
|
7
|
+
DrivingSkillScore[DrivingSkillScore["Weak"] = 2] = "Weak";
|
|
8
|
+
DrivingSkillScore[DrivingSkillScore["Fair"] = 3] = "Fair";
|
|
9
|
+
DrivingSkillScore[DrivingSkillScore["Great"] = 4] = "Great";
|
|
10
|
+
DrivingSkillScore[DrivingSkillScore["Excellent"] = 5] = "Excellent";
|
|
11
|
+
})(DrivingSkillScore || (exports.DrivingSkillScore = DrivingSkillScore = {}));
|
|
12
|
+
var DrivingTopicStatus;
|
|
13
|
+
(function (DrivingTopicStatus) {
|
|
14
|
+
DrivingTopicStatus["Planned"] = "PLANNED";
|
|
15
|
+
DrivingTopicStatus["InProgress"] = "INPROGRESS";
|
|
16
|
+
DrivingTopicStatus["Completed"] = "COMPLETED";
|
|
17
|
+
})(DrivingTopicStatus || (exports.DrivingTopicStatus = DrivingTopicStatus = {}));
|
|
18
|
+
//# sourceMappingURL=score.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"score.enum.js","sourceRoot":"","sources":["../../../src/company/driving/score.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC5B,yDAAQ,CAAA;IACR,yDAAQ,CAAA;IACR,yDAAQ,CAAA;IACR,2DAAS,CAAA;IACT,mEAAa,CAAA;AACd,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;AACxB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare class DrivingSkill {
|
|
4
|
-
topicId: number;
|
|
1
|
+
export declare class CompanyDrivingSkill {
|
|
2
|
+
id: number;
|
|
5
3
|
sort: number;
|
|
6
4
|
imageUrl: string;
|
|
7
5
|
title: string;
|
|
8
6
|
description: string;
|
|
9
|
-
|
|
10
|
-
studentSkills: StudentDrivingSkill[];
|
|
11
|
-
constructor(props?: Partial<DrivingSkill>);
|
|
7
|
+
constructor(props?: Partial<CompanyDrivingSkill>);
|
|
12
8
|
}
|
|
@@ -9,51 +9,39 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.CompanyDrivingSkill = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
topicId;
|
|
14
|
+
class CompanyDrivingSkill {
|
|
15
|
+
id;
|
|
17
16
|
sort;
|
|
18
17
|
imageUrl;
|
|
19
18
|
title;
|
|
20
19
|
description;
|
|
21
|
-
topic;
|
|
22
|
-
studentSkills;
|
|
23
20
|
constructor(props) {
|
|
24
21
|
Object.assign(this, props);
|
|
25
22
|
}
|
|
26
23
|
}
|
|
27
|
-
exports.
|
|
24
|
+
exports.CompanyDrivingSkill = CompanyDrivingSkill;
|
|
28
25
|
__decorate([
|
|
29
26
|
(0, class_transformer_1.Expose)(),
|
|
30
27
|
(0, class_transformer_1.Type)(() => Number),
|
|
31
28
|
__metadata("design:type", Number)
|
|
32
|
-
],
|
|
29
|
+
], CompanyDrivingSkill.prototype, "id", void 0);
|
|
33
30
|
__decorate([
|
|
34
31
|
(0, class_transformer_1.Expose)(),
|
|
35
32
|
(0, class_transformer_1.Type)(() => Number),
|
|
36
33
|
__metadata("design:type", Number)
|
|
37
|
-
],
|
|
34
|
+
], CompanyDrivingSkill.prototype, "sort", void 0);
|
|
38
35
|
__decorate([
|
|
39
36
|
(0, class_transformer_1.Expose)(),
|
|
40
37
|
__metadata("design:type", String)
|
|
41
|
-
],
|
|
38
|
+
], CompanyDrivingSkill.prototype, "imageUrl", void 0);
|
|
42
39
|
__decorate([
|
|
43
40
|
(0, class_transformer_1.Expose)(),
|
|
44
41
|
__metadata("design:type", String)
|
|
45
|
-
],
|
|
42
|
+
], CompanyDrivingSkill.prototype, "title", void 0);
|
|
46
43
|
__decorate([
|
|
47
44
|
(0, class_transformer_1.Expose)(),
|
|
48
45
|
__metadata("design:type", String)
|
|
49
|
-
],
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_transformer_1.Expose)(),
|
|
52
|
-
(0, class_transformer_1.Type)(() => topic_model_1.DrivingTopic),
|
|
53
|
-
__metadata("design:type", topic_model_1.DrivingTopic)
|
|
54
|
-
], DrivingSkill.prototype, "topic", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_transformer_1.Expose)(),
|
|
57
|
-
__metadata("design:type", Array)
|
|
58
|
-
], DrivingSkill.prototype, "studentSkills", void 0);
|
|
46
|
+
], CompanyDrivingSkill.prototype, "description", void 0);
|
|
59
47
|
//# sourceMappingURL=skill.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.model.js","sourceRoot":"","sources":["../../../src/company/driving/skill.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;
|
|
1
|
+
{"version":3,"file":"skill.model.js","sourceRoot":"","sources":["../../../src/company/driving/skill.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,mBAAmB;IAG/B,EAAE,CAAS;IAIX,IAAI,CAAS;IAKb,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,YAAY,KAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA3BD,kDA2BC;AAxBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iDACN;AAKb;IADC,IAAA,0BAAM,GAAE;;qDACQ;AAKjB;IADC,IAAA,0BAAM,GAAE;;kDACK;AAGd;IADC,IAAA,0BAAM,GAAE;;wDACW"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DrivingExamStatus = void 0;
|
|
4
|
+
var DrivingExamStatus;
|
|
5
|
+
(function (DrivingExamStatus) {
|
|
6
|
+
DrivingExamStatus["Undecided"] = "UNDECIDED";
|
|
7
|
+
DrivingExamStatus["Passed"] = "PASSED";
|
|
8
|
+
DrivingExamStatus["Failed"] = "FAILED";
|
|
9
|
+
})(DrivingExamStatus = exports.DrivingExamStatus || (exports.DrivingExamStatus = {}));
|
|
10
|
+
//# sourceMappingURL=status.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.enum.js","sourceRoot":"","sources":["../../../src/company/driving/status.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { StudentDrivingTopic } from "../../student/driving/topic.model";
|
|
4
|
-
export declare class DrivingTopic {
|
|
5
|
-
categoryId: number;
|
|
1
|
+
export declare class CompanyDrivingTopic {
|
|
2
|
+
id: number;
|
|
6
3
|
sort: number;
|
|
7
4
|
imageUrl: string;
|
|
8
5
|
title: string;
|
|
9
6
|
description: string;
|
|
10
|
-
|
|
11
|
-
skills: DrivingSkill[];
|
|
12
|
-
studentTopics: StudentDrivingTopic[];
|
|
13
|
-
constructor(props?: Partial<DrivingTopic>);
|
|
7
|
+
constructor(props?: Partial<CompanyDrivingTopic>);
|
|
14
8
|
}
|
|
@@ -9,60 +9,39 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.CompanyDrivingTopic = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const topic_model_1 = require("../../student/driving/topic.model");
|
|
17
|
-
class DrivingTopic {
|
|
18
|
-
categoryId;
|
|
14
|
+
class CompanyDrivingTopic {
|
|
15
|
+
id;
|
|
19
16
|
sort;
|
|
20
17
|
imageUrl;
|
|
21
18
|
title;
|
|
22
19
|
description;
|
|
23
|
-
category;
|
|
24
|
-
skills;
|
|
25
|
-
studentTopics;
|
|
26
20
|
constructor(props) {
|
|
27
21
|
Object.assign(this, props);
|
|
28
22
|
}
|
|
29
23
|
}
|
|
30
|
-
exports.
|
|
24
|
+
exports.CompanyDrivingTopic = CompanyDrivingTopic;
|
|
31
25
|
__decorate([
|
|
32
26
|
(0, class_transformer_1.Expose)(),
|
|
33
27
|
(0, class_transformer_1.Type)(() => Number),
|
|
34
28
|
__metadata("design:type", Number)
|
|
35
|
-
],
|
|
29
|
+
], CompanyDrivingTopic.prototype, "id", void 0);
|
|
36
30
|
__decorate([
|
|
37
31
|
(0, class_transformer_1.Expose)(),
|
|
38
32
|
(0, class_transformer_1.Type)(() => Number),
|
|
39
33
|
__metadata("design:type", Number)
|
|
40
|
-
],
|
|
34
|
+
], CompanyDrivingTopic.prototype, "sort", void 0);
|
|
41
35
|
__decorate([
|
|
42
36
|
(0, class_transformer_1.Expose)(),
|
|
43
37
|
__metadata("design:type", String)
|
|
44
|
-
],
|
|
38
|
+
], CompanyDrivingTopic.prototype, "imageUrl", void 0);
|
|
45
39
|
__decorate([
|
|
46
40
|
(0, class_transformer_1.Expose)(),
|
|
47
41
|
__metadata("design:type", String)
|
|
48
|
-
],
|
|
42
|
+
], CompanyDrivingTopic.prototype, "title", void 0);
|
|
49
43
|
__decorate([
|
|
50
44
|
(0, class_transformer_1.Expose)(),
|
|
51
45
|
__metadata("design:type", String)
|
|
52
|
-
],
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_transformer_1.Expose)(),
|
|
55
|
-
(0, class_transformer_1.Type)(() => category_model_1.DrivingCategory),
|
|
56
|
-
__metadata("design:type", category_model_1.DrivingCategory)
|
|
57
|
-
], DrivingTopic.prototype, "category", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
(0, class_transformer_1.Type)(() => skill_model_1.DrivingSkill),
|
|
61
|
-
__metadata("design:type", Array)
|
|
62
|
-
], DrivingTopic.prototype, "skills", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, class_transformer_1.Expose)(),
|
|
65
|
-
(0, class_transformer_1.Type)(() => topic_model_1.StudentDrivingTopic),
|
|
66
|
-
__metadata("design:type", Array)
|
|
67
|
-
], DrivingTopic.prototype, "studentTopics", void 0);
|
|
46
|
+
], CompanyDrivingTopic.prototype, "description", void 0);
|
|
68
47
|
//# sourceMappingURL=topic.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topic.model.js","sourceRoot":"","sources":["../../../src/company/driving/topic.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;
|
|
1
|
+
{"version":3,"file":"topic.model.js","sourceRoot":"","sources":["../../../src/company/driving/topic.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,mBAAmB;IAG/B,EAAE,CAAS;IAIX,IAAI,CAAS;IAKb,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,YAAY,KAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA3BD,kDA2BC;AAxBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iDACN;AAKb;IADC,IAAA,0BAAM,GAAE;;qDACQ;AAKjB;IADC,IAAA,0BAAM,GAAE;;kDACK;AAGd;IADC,IAAA,0BAAM,GAAE;;wDACW"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CarTransmission = void 0;
|
|
4
|
+
var CarTransmission;
|
|
5
|
+
(function (CarTransmission) {
|
|
6
|
+
CarTransmission["Automatic"] = "AUTOMATIC";
|
|
7
|
+
CarTransmission["Manual"] = "MANUAL";
|
|
8
|
+
})(CarTransmission || (exports.CarTransmission = CarTransmission = {}));
|
|
9
|
+
//# sourceMappingURL=transmission.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transmission.enum.js","sourceRoot":"","sources":["../../../src/company/driving/transmission.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
|