@intelact/driveup 0.5.44 → 0.5.46
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 +6 -0
- package/lib/agent/agent.model.js.map +1 -1
- 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.js +1 -1
- 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/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/student/student.model.d.ts +1 -0
- package/lib/company/student/student.model.js +5 -0
- package/lib/company/student/student.model.js.map +1 -1
- 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/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/student/student.model.d.ts +2 -1
- package/lib/student/student.model.js +5 -0
- package/lib/student/student.model.js.map +1 -1
- 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/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WeekDay = void 0;
|
|
4
|
+
var WeekDay;
|
|
5
|
+
(function (WeekDay) {
|
|
6
|
+
WeekDay["Monday"] = "MONDAY";
|
|
7
|
+
WeekDay["Tuesday"] = "TUESDAY";
|
|
8
|
+
WeekDay["Wednesday"] = "WEDNESDAY";
|
|
9
|
+
WeekDay["Thursday"] = "THURSDAY";
|
|
10
|
+
WeekDay["Friday"] = "FRIDAY";
|
|
11
|
+
WeekDay["Saturday"] = "SATURDAY";
|
|
12
|
+
WeekDay["Sunday"] = "SUNDAY";
|
|
13
|
+
})(WeekDay || (exports.WeekDay = WeekDay = {}));
|
|
14
|
+
//# sourceMappingURL=date.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.js","sourceRoot":"","sources":["../../src/enums/date.ts"],"names":[],"mappings":";;;AACA,IAAY,OAQX;AARD,WAAY,OAAO;IAClB,4BAAiB,CAAA;IACjB,8BAAmB,CAAA;IACnB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;IACjB,gCAAqB,CAAA;IACrB,4BAAiB,CAAA;AAClB,CAAC,EARW,OAAO,uBAAP,OAAO,QAQlB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum PaymentType {
|
|
2
|
+
Cash = "CASH",
|
|
3
|
+
Transaction = "TRANSACTION",
|
|
4
|
+
Invoice = "INVOICE"
|
|
5
|
+
}
|
|
6
|
+
export declare enum InvoiceStatus {
|
|
7
|
+
Pending = "PENDING",
|
|
8
|
+
Sent = "SENT",
|
|
9
|
+
Paid = "PAID"
|
|
10
|
+
}
|
|
11
|
+
export declare enum ExpenseStatus {
|
|
12
|
+
Pending = "PENDING",
|
|
13
|
+
Approved = "APPROVED",
|
|
14
|
+
Rejected = "REJECTED"
|
|
15
|
+
}
|
|
16
|
+
export declare enum AgentPayoutStatus {
|
|
17
|
+
Pending = "PENDING",
|
|
18
|
+
Paid = "PAID"
|
|
19
|
+
}
|
|
20
|
+
export declare enum PaymentProviderType {
|
|
21
|
+
Stripe = "STRIPE"
|
|
22
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentProviderType = exports.AgentPayoutStatus = exports.ExpenseStatus = exports.InvoiceStatus = exports.PaymentType = void 0;
|
|
4
|
+
var PaymentType;
|
|
5
|
+
(function (PaymentType) {
|
|
6
|
+
PaymentType["Cash"] = "CASH";
|
|
7
|
+
PaymentType["Transaction"] = "TRANSACTION";
|
|
8
|
+
PaymentType["Invoice"] = "INVOICE";
|
|
9
|
+
})(PaymentType = exports.PaymentType || (exports.PaymentType = {}));
|
|
10
|
+
var InvoiceStatus;
|
|
11
|
+
(function (InvoiceStatus) {
|
|
12
|
+
InvoiceStatus["Pending"] = "PENDING";
|
|
13
|
+
InvoiceStatus["Sent"] = "SENT";
|
|
14
|
+
InvoiceStatus["Paid"] = "PAID";
|
|
15
|
+
})(InvoiceStatus = exports.InvoiceStatus || (exports.InvoiceStatus = {}));
|
|
16
|
+
var ExpenseStatus;
|
|
17
|
+
(function (ExpenseStatus) {
|
|
18
|
+
ExpenseStatus["Pending"] = "PENDING";
|
|
19
|
+
ExpenseStatus["Approved"] = "APPROVED";
|
|
20
|
+
ExpenseStatus["Rejected"] = "REJECTED";
|
|
21
|
+
})(ExpenseStatus = exports.ExpenseStatus || (exports.ExpenseStatus = {}));
|
|
22
|
+
var AgentPayoutStatus;
|
|
23
|
+
(function (AgentPayoutStatus) {
|
|
24
|
+
AgentPayoutStatus["Pending"] = "PENDING";
|
|
25
|
+
AgentPayoutStatus["Paid"] = "PAID";
|
|
26
|
+
})(AgentPayoutStatus = exports.AgentPayoutStatus || (exports.AgentPayoutStatus = {}));
|
|
27
|
+
var PaymentProviderType;
|
|
28
|
+
(function (PaymentProviderType) {
|
|
29
|
+
PaymentProviderType["Stripe"] = "STRIPE";
|
|
30
|
+
})(PaymentProviderType = exports.PaymentProviderType || (exports.PaymentProviderType = {}));
|
|
31
|
+
//# sourceMappingURL=finance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finance.js","sourceRoot":"","sources":["../../src/enums/finance.ts"],"names":[],"mappings":";;;AACA,IAAY,WAIX;AAJD,WAAY,WAAW;IACtB,4BAAa,CAAA;IACb,0CAA2B,CAAA;IAC3B,kCAAmB,CAAA;AACpB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,8BAAa,CAAA;AACd,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;AACtB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC5B,wCAAmB,CAAA;IACnB,kCAAa,CAAA;AACd,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;AAClB,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './training';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./training"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Language = void 0;
|
|
4
|
+
var Language;
|
|
5
|
+
(function (Language) {
|
|
6
|
+
Language["En"] = "EN";
|
|
7
|
+
Language["De"] = "DE";
|
|
8
|
+
Language["Fr"] = "FR";
|
|
9
|
+
Language["It"] = "IT";
|
|
10
|
+
})(Language = exports.Language || (exports.Language = {}));
|
|
11
|
+
//# sourceMappingURL=language.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"language.js","sourceRoot":"","sources":["../../src/enums/language.ts"],"names":[],"mappings":";;;AACA,IAAY,QAKX;AALD,WAAY,QAAQ;IACnB,qBAAS,CAAA;IACT,qBAAS,CAAA;IACT,qBAAS,CAAA;IACT,qBAAS,CAAA;AACV,CAAC,EALW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAKnB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 || (exports.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 || (exports.NotificationContext = {}));
|
|
17
|
+
//# sourceMappingURL=notification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/enums/notification.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,iCAAa,CAAA;AACd,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,oCAAa,CAAA;IACb,sCAAe,CAAA;IACf,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;AACpB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricePlanModel = exports.PricePlanPeriod = void 0;
|
|
4
|
+
var PricePlanPeriod;
|
|
5
|
+
(function (PricePlanPeriod) {
|
|
6
|
+
PricePlanPeriod["Monthly"] = "MONTHLY";
|
|
7
|
+
PricePlanPeriod["Yearly"] = "YEARLY";
|
|
8
|
+
})(PricePlanPeriod = exports.PricePlanPeriod || (exports.PricePlanPeriod = {}));
|
|
9
|
+
var PricePlanModel;
|
|
10
|
+
(function (PricePlanModel) {
|
|
11
|
+
PricePlanModel["Growth"] = "GROWTH";
|
|
12
|
+
PricePlanModel["Business"] = "BUSINESS";
|
|
13
|
+
PricePlanModel["Premium"] = "PREMIUM";
|
|
14
|
+
})(PricePlanModel = exports.PricePlanModel || (exports.PricePlanModel = {}));
|
|
15
|
+
//# sourceMappingURL=plan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../../src/enums/plan.ts"],"names":[],"mappings":";;;AACA,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Role = void 0;
|
|
4
|
+
var Role;
|
|
5
|
+
(function (Role) {
|
|
6
|
+
Role["CompanyOwner"] = "company.owner";
|
|
7
|
+
Role["CompanyManager"] = "company.manager";
|
|
8
|
+
Role["Instructor"] = "instructor";
|
|
9
|
+
Role["Student"] = "student";
|
|
10
|
+
})(Role || (exports.Role = Role = {}));
|
|
11
|
+
//# sourceMappingURL=role.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../../src/enums/role.ts"],"names":[],"mappings":";;;AACA,IAAY,IAKX;AALD,WAAY,IAAI;IACf,sCAA8B,CAAA;IAC9B,0CAAkC,CAAA;IAClC,iCAAyB,CAAA;IACzB,2BAAmB,CAAA;AACpB,CAAC,EALW,IAAI,oBAAJ,IAAI,QAKf"}
|
|
@@ -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 || (exports.DrivingSkillScore = {}));
|
|
12
|
+
var DrivingTopicStatus;
|
|
13
|
+
(function (DrivingTopicStatus) {
|
|
14
|
+
DrivingTopicStatus["Planned"] = "PLANNED";
|
|
15
|
+
DrivingTopicStatus["InProgress"] = "INPROGRESS";
|
|
16
|
+
DrivingTopicStatus["Completed"] = "COMPLETED";
|
|
17
|
+
})(DrivingTopicStatus = exports.DrivingTopicStatus || (exports.DrivingTopicStatus = {}));
|
|
18
|
+
//# sourceMappingURL=score.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,9 +1,10 @@
|
|
|
1
1
|
import { StudentCourseRequest } from "./course";
|
|
2
2
|
import { StudentDrivingRequest } from "./driving";
|
|
3
|
-
import { CompanyStudent } from "../company";
|
|
3
|
+
import { AccountStatus, CompanyStudent } from "../company";
|
|
4
4
|
import { User } from "../user";
|
|
5
5
|
export declare class Student {
|
|
6
6
|
id: number;
|
|
7
|
+
status: AccountStatus;
|
|
7
8
|
user: User;
|
|
8
9
|
companyStudents: CompanyStudent[];
|
|
9
10
|
drivingRequests: StudentDrivingRequest[];
|
|
@@ -17,6 +17,7 @@ const company_1 = require("../company");
|
|
|
17
17
|
const user_1 = require("../user");
|
|
18
18
|
class Student {
|
|
19
19
|
id;
|
|
20
|
+
status;
|
|
20
21
|
user;
|
|
21
22
|
companyStudents;
|
|
22
23
|
drivingRequests;
|
|
@@ -31,6 +32,10 @@ __decorate([
|
|
|
31
32
|
(0, class_transformer_1.Type)(() => Number),
|
|
32
33
|
__metadata("design:type", Number)
|
|
33
34
|
], Student.prototype, "id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], Student.prototype, "status", void 0);
|
|
34
39
|
__decorate([
|
|
35
40
|
(0, class_transformer_1.Expose)(),
|
|
36
41
|
(0, class_transformer_1.Type)(() => user_1.User),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qCAAgD;AAChD,uCAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qCAAgD;AAChD,uCAAkD;AAClD,wCAA2D;AAC3D,kCAA+B;AAE/B,MAAa,OAAO;IAGnB,EAAE,CAAS;IAKX,MAAM,CAAgB;IAMtB,IAAI,CAAO;IAIX,eAAe,CAAmB;IAIlC,eAAe,CAA0B;IAIzC,sBAAsB,CAAyB;IAI/C,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAjCD,0BAiCC;AA9BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAKX;IADC,IAAA,0BAAM,GAAE;;uCACa;AAMtB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACX,WAAI;qCAAC;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAc,CAAC;;gDACO;AAIlC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAqB,CAAC;;gDACO;AAIzC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAoB,CAAC;;uDACc"}
|