@intelact/driveup 1.4.3 → 1.4.5
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/common/general.dto.d.ts +1 -1
- package/lib/common/general.dto.js +3 -2
- package/lib/common/general.dto.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/language/language.enum.d.ts +4 -4
- package/lib/language/language.enum.js +4 -4
- package/lib/metric/index.d.ts +1 -0
- package/lib/{support → metric}/index.js +1 -1
- package/lib/metric/index.js.map +1 -0
- package/lib/metric/metric.model.d.ts +14 -0
- package/lib/{company/finances/priceplan.model.js → metric/metric.model.js} +57 -52
- package/lib/metric/metric.model.js.map +1 -0
- package/lib/session/course/index.js +5 -1
- package/lib/session/course/index.js.map +1 -1
- package/lib/session/course/session.model.d.ts +3 -4
- package/lib/session/course/session.model.js +8 -9
- package/lib/session/course/session.model.js.map +1 -1
- package/lib/ticket/ticket.dto.d.ts +5 -2
- package/lib/ticket/ticket.dto.js +21 -2
- package/lib/ticket/ticket.dto.js.map +1 -1
- package/lib/ticket/ticket.enum.d.ts +2 -1
- package/lib/ticket/ticket.enum.js +1 -0
- package/lib/ticket/ticket.enum.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/lib/calendar/link.d.ts +0 -4
- package/lib/calendar/link.js +0 -9
- package/lib/calendar/link.js.map +0 -1
- package/lib/common/date.d.ts +0 -9
- package/lib/common/date.js +0 -14
- package/lib/common/date.js.map +0 -1
- package/lib/company/common/request.status.enum.d.ts +0 -6
- package/lib/company/common/request.status.enum.js +0 -11
- package/lib/company/common/request.status.enum.js.map +0 -1
- package/lib/company/driving/appointment.type.enum.d.ts +0 -4
- package/lib/company/driving/appointment.type.enum.js +0 -9
- package/lib/company/driving/appointment.type.enum.js.map +0 -1
- package/lib/company/driving/exam.status.enum.d.ts +0 -5
- package/lib/company/driving/exam.status.enum.js +0 -10
- package/lib/company/driving/exam.status.enum.js.map +0 -1
- package/lib/company/driving/status.enum.d.ts +0 -5
- package/lib/company/driving/status.enum.js +0 -10
- package/lib/company/driving/status.enum.js.map +0 -1
- package/lib/company/finances/card.model.d.ts +0 -10
- package/lib/company/finances/card.model.js +0 -55
- package/lib/company/finances/card.model.js.map +0 -1
- package/lib/company/finances/priceplan.model.d.ts +0 -19
- package/lib/company/finances/priceplan.model.js.map +0 -1
- package/lib/company/plan.enum.d.ts +0 -9
- package/lib/company/plan.enum.js +0 -15
- package/lib/company/plan.enum.js.map +0 -1
- package/lib/company/user.model.d.ts +0 -25
- package/lib/company/user.model.js +0 -124
- package/lib/company/user.model.js.map +0 -1
- package/lib/enums/date.d.ts +0 -9
- package/lib/enums/date.js +0 -14
- package/lib/enums/date.js.map +0 -1
- package/lib/enums/finance.d.ts +0 -22
- package/lib/enums/finance.js +0 -31
- package/lib/enums/finance.js.map +0 -1
- package/lib/enums/index.d.ts +0 -1
- package/lib/enums/index.js +0 -14
- package/lib/enums/index.js.map +0 -1
- package/lib/enums/language.d.ts +0 -6
- package/lib/enums/language.js +0 -11
- package/lib/enums/language.js.map +0 -1
- package/lib/enums/notification.d.ts +0 -11
- package/lib/enums/notification.js +0 -17
- package/lib/enums/notification.js.map +0 -1
- package/lib/enums/plan.d.ts +0 -9
- package/lib/enums/plan.js +0 -15
- package/lib/enums/plan.js.map +0 -1
- package/lib/enums/role.d.ts +0 -6
- package/lib/enums/role.js +0 -11
- package/lib/enums/role.js.map +0 -1
- package/lib/enums/score.d.ts +0 -12
- package/lib/enums/score.js +0 -18
- package/lib/enums/score.js.map +0 -1
- package/lib/enums/training.d.ts +0 -19
- package/lib/enums/training.js +0 -27
- package/lib/enums/training.js.map +0 -1
- package/lib/finance/handover.dto.d.ts +0 -6
- package/lib/finance/handover.dto.js +0 -45
- package/lib/finance/handover.dto.js.map +0 -1
- package/lib/finance/handover.model.d.ts +0 -13
- package/lib/finance/handover.model.js +0 -65
- package/lib/finance/handover.model.js.map +0 -1
- package/lib/session/driving/appointment-assessment.d.ts +0 -8
- package/lib/session/driving/appointment-assessment.js +0 -50
- package/lib/session/driving/appointment-assessment.js.map +0 -1
- package/lib/support/index.d.ts +0 -1
- package/lib/support/index.js.map +0 -1
- package/lib/support/request.dto.d.ts +0 -5
- package/lib/support/request.dto.js +0 -39
- package/lib/support/request.dto.js.map +0 -1
- package/lib/user/notification/index.d.ts +0 -3
- package/lib/user/notification/index.js +0 -20
- package/lib/user/notification/index.js.map +0 -1
- package/lib/user/notification/notification-preference.model.d.ts +0 -5
- package/lib/user/notification/notification-preference.model.js +0 -31
- package/lib/user/notification/notification-preference.model.js.map +0 -1
- package/lib/user/notification/notification.enum.d.ts +0 -11
- package/lib/user/notification/notification.enum.js +0 -17
- package/lib/user/notification/notification.enum.js.map +0 -1
- package/lib/user/notification/notification.model.d.ts +0 -10
- package/lib/user/notification/notification.model.js +0 -53
- package/lib/user/notification/notification.model.js.map +0 -1
package/lib/enums/score.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"score.js","sourceRoot":"","sources":["../../src/enums/score.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,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;AACxB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
|
package/lib/enums/training.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare enum DrivingExamStatus {
|
|
2
|
-
Undecided = "UNDECIDED",
|
|
3
|
-
Passed = "PASSED",
|
|
4
|
-
Failed = "FAILED"
|
|
5
|
-
}
|
|
6
|
-
export declare enum DrivingAppointmentType {
|
|
7
|
-
Lesson = "LESSON",
|
|
8
|
-
Exam = "EXAM"
|
|
9
|
-
}
|
|
10
|
-
export declare enum CarTransmission {
|
|
11
|
-
Automatic = "AUTOMATIC",
|
|
12
|
-
Manual = "MANUAL"
|
|
13
|
-
}
|
|
14
|
-
export declare enum TrainingRequestStatus {
|
|
15
|
-
Pending = "PENDING",
|
|
16
|
-
Accepted = "ACCEPTED",
|
|
17
|
-
Rejected = "REJECTED",
|
|
18
|
-
Canceled = "CANCELED"
|
|
19
|
-
}
|
package/lib/enums/training.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TrainingRequestStatus = exports.CarTransmission = exports.DrivingAppointmentType = 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
|
-
var DrivingAppointmentType;
|
|
11
|
-
(function (DrivingAppointmentType) {
|
|
12
|
-
DrivingAppointmentType["Lesson"] = "LESSON";
|
|
13
|
-
DrivingAppointmentType["Exam"] = "EXAM";
|
|
14
|
-
})(DrivingAppointmentType = exports.DrivingAppointmentType || (exports.DrivingAppointmentType = {}));
|
|
15
|
-
var CarTransmission;
|
|
16
|
-
(function (CarTransmission) {
|
|
17
|
-
CarTransmission["Automatic"] = "AUTOMATIC";
|
|
18
|
-
CarTransmission["Manual"] = "MANUAL";
|
|
19
|
-
})(CarTransmission = exports.CarTransmission || (exports.CarTransmission = {}));
|
|
20
|
-
var TrainingRequestStatus;
|
|
21
|
-
(function (TrainingRequestStatus) {
|
|
22
|
-
TrainingRequestStatus["Pending"] = "PENDING";
|
|
23
|
-
TrainingRequestStatus["Accepted"] = "ACCEPTED";
|
|
24
|
-
TrainingRequestStatus["Rejected"] = "REJECTED";
|
|
25
|
-
TrainingRequestStatus["Canceled"] = "CANCELED";
|
|
26
|
-
})(TrainingRequestStatus = exports.TrainingRequestStatus || (exports.TrainingRequestStatus = {}));
|
|
27
|
-
//# sourceMappingURL=training.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"training.js","sourceRoot":"","sources":["../../src/enums/training.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,uCAAa,CAAA;AACd,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
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.HandoverSubmitDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class HandoverSubmitDto {
|
|
15
|
-
approvedDrivingPayments;
|
|
16
|
-
approvedCoursePayments;
|
|
17
|
-
approvedExpenses;
|
|
18
|
-
rejectedExpenses;
|
|
19
|
-
}
|
|
20
|
-
exports.HandoverSubmitDto = HandoverSubmitDto;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsOptional)(),
|
|
23
|
-
(0, class_validator_1.IsArray)(),
|
|
24
|
-
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
25
|
-
__metadata("design:type", Array)
|
|
26
|
-
], HandoverSubmitDto.prototype, "approvedDrivingPayments", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsOptional)(),
|
|
29
|
-
(0, class_validator_1.IsArray)(),
|
|
30
|
-
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
31
|
-
__metadata("design:type", Array)
|
|
32
|
-
], HandoverSubmitDto.prototype, "approvedCoursePayments", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
|
-
(0, class_validator_1.IsArray)(),
|
|
36
|
-
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], HandoverSubmitDto.prototype, "approvedExpenses", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
(0, class_validator_1.IsArray)(),
|
|
42
|
-
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
43
|
-
__metadata("design:type", Array)
|
|
44
|
-
], HandoverSubmitDto.prototype, "rejectedExpenses", void 0);
|
|
45
|
-
//# sourceMappingURL=handover.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handover.dto.js","sourceRoot":"","sources":["../../src/finance/handover.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAEhE,MAAa,iBAAiB;IAI7B,uBAAuB,CAAW;IAKlC,sBAAsB,CAAW;IAKjC,gBAAgB,CAAW;IAK3B,gBAAgB,CAAW;CAC3B;AApBD,8CAoBC;AAhBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kEACK;AAKlC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iEACI;AAKjC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACF;AAK3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACF"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Instructor } from "../instructor/instructor.model";
|
|
2
|
-
import { Payment } from "../payment/payment.model";
|
|
3
|
-
import { Expense } from "../expense/expense.model";
|
|
4
|
-
export declare class Handover {
|
|
5
|
-
id: number;
|
|
6
|
-
createdOn: Date;
|
|
7
|
-
handoverInstructor: Instructor;
|
|
8
|
-
handoverManager: Instructor;
|
|
9
|
-
approvedPayments: Payment[];
|
|
10
|
-
approvedExpenses: Expense[];
|
|
11
|
-
rejectedExpenses: Expense[];
|
|
12
|
-
constructor(props?: Partial<Handover>);
|
|
13
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,50 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/lib/support/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './request.dto';
|
package/lib/support/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/support/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -1,39 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,20 +0,0 @@
|
|
|
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("./notification-preference.model"), exports);
|
|
18
|
-
__exportStar(require("./notification.enum"), exports);
|
|
19
|
-
__exportStar(require("./notification.model"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/user/notification/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,sDAAoC;AACpC,uDAAqC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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.UserNotificationPreference = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
class UserNotificationPreference {
|
|
15
|
-
id;
|
|
16
|
-
keyword;
|
|
17
|
-
constructor(props) {
|
|
18
|
-
Object.assign(this, props);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.UserNotificationPreference = UserNotificationPreference;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], UserNotificationPreference.prototype, "id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], UserNotificationPreference.prototype, "keyword", void 0);
|
|
31
|
-
//# sourceMappingURL=notification-preference.model.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-preference.model.js","sourceRoot":"","sources":["../../../src/user/notification/notification-preference.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,0BAA0B;IAGtC,EAAE,CAAS;IAGX,OAAO,CAAS;IAIhB,YAAY,KAA2C;QACtD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAbD,gEAaC;AAVA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sDACR;AAGX;IADC,IAAA,0BAAM,GAAE;;2DACO"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NotificationContext = exports.NotificationType = void 0;
|
|
4
|
-
var NotificationType;
|
|
5
|
-
(function (NotificationType) {
|
|
6
|
-
NotificationType["Payment"] = "PAYMENT";
|
|
7
|
-
NotificationType["Session"] = "SESSION";
|
|
8
|
-
NotificationType["Exam"] = "EXAM";
|
|
9
|
-
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
10
|
-
var NotificationContext;
|
|
11
|
-
(function (NotificationContext) {
|
|
12
|
-
NotificationContext["Info"] = "INFO";
|
|
13
|
-
NotificationContext["Error"] = "ERROR";
|
|
14
|
-
NotificationContext["Warning"] = "WARNING";
|
|
15
|
-
NotificationContext["Success"] = "SUCCESS";
|
|
16
|
-
})(NotificationContext || (exports.NotificationContext = NotificationContext = {}));
|
|
17
|
-
//# sourceMappingURL=notification.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification.enum.js","sourceRoot":"","sources":["../../../src/user/notification/notification.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,iCAAa,CAAA;AACd,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,oCAAa,CAAA;IACb,sCAAe,CAAA;IACf,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;AACpB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NotificationContext, NotificationType } from "./notification.enum";
|
|
2
|
-
export declare class UserNotification {
|
|
3
|
-
id: number;
|
|
4
|
-
message: string;
|
|
5
|
-
context: NotificationContext;
|
|
6
|
-
type: NotificationType;
|
|
7
|
-
seen: boolean;
|
|
8
|
-
link: string;
|
|
9
|
-
constructor(props?: Partial<UserNotification>);
|
|
10
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
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.UserNotification = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const notification_enum_1 = require("./notification.enum");
|
|
15
|
-
class UserNotification {
|
|
16
|
-
id;
|
|
17
|
-
message;
|
|
18
|
-
context;
|
|
19
|
-
type;
|
|
20
|
-
seen;
|
|
21
|
-
link;
|
|
22
|
-
constructor(props) {
|
|
23
|
-
Object.assign(this, props);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.UserNotification = UserNotification;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
30
|
-
__metadata("design:type", Number)
|
|
31
|
-
], UserNotification.prototype, "id", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], UserNotification.prototype, "message", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_transformer_1.Expose)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], UserNotification.prototype, "context", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], UserNotification.prototype, "type", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_transformer_1.Expose)(),
|
|
46
|
-
(0, class_transformer_1.Type)(() => Boolean),
|
|
47
|
-
__metadata("design:type", Boolean)
|
|
48
|
-
], UserNotification.prototype, "seen", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_transformer_1.Expose)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], UserNotification.prototype, "link", void 0);
|
|
53
|
-
//# sourceMappingURL=notification.model.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification.model.js","sourceRoot":"","sources":["../../../src/user/notification/notification.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2DAA4E;AAE5E,MAAa,gBAAgB;IAG5B,EAAE,CAAS;IAGX,OAAO,CAAS;IAGhB,OAAO,CAAsB;IAG7B,IAAI,CAAmB;IAIvB,IAAI,CAAU;IAGd,IAAI,CAAS;IAIb,YAAY,KAAiC;QAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1BD,4CA0BC;AAvBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACR;AAGX;IADC,IAAA,0BAAM,GAAE;;iDACO;AAGhB;IADC,IAAA,0BAAM,GAAE;;iDACoB;AAG7B;IADC,IAAA,0BAAM,GAAE;;8CACc;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACN;AAGd;IADC,IAAA,0BAAM,GAAE;;8CACI"}
|