@intelact/driveup 1.2.13 → 1.2.15
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/course/part.model.d.ts +2 -2
- package/lib/course/part.model.js +3 -3
- package/lib/course/part.model.js.map +1 -1
- package/lib/credit/credit.model.d.ts +2 -2
- package/lib/credit/credit.model.js +3 -3
- package/lib/credit/credit.model.js.map +1 -1
- package/lib/discount/discount.model.d.ts +3 -3
- package/lib/discount/discount.model.js +5 -5
- package/lib/discount/discount.model.js.map +1 -1
- package/lib/expense/expense.model.d.ts +2 -2
- package/lib/expense/expense.model.js +3 -3
- package/lib/expense/expense.model.js.map +1 -1
- package/lib/feedback/feedback.model.d.ts +2 -1
- package/lib/feedback/feedback.model.js +3 -2
- package/lib/feedback/feedback.model.js.map +1 -1
- package/lib/finance/finance.model.d.ts +4 -4
- package/lib/finance/finance.model.js +7 -7
- package/lib/finance/finance.model.js.map +1 -1
- package/lib/invoice/invoice.model.d.ts +2 -2
- package/lib/invoice/invoice.model.js +3 -3
- package/lib/invoice/invoice.model.js.map +1 -1
- package/lib/payment/payment.model.d.ts +4 -4
- package/lib/payment/payment.model.js +7 -7
- package/lib/payment/payment.model.js.map +1 -1
- package/lib/payout/payout.model.d.ts +2 -2
- package/lib/payout/payout.model.js +3 -3
- package/lib/payout/payout.model.js.map +1 -1
- package/lib/refund/refund.model.d.ts +3 -3
- package/lib/refund/refund.model.js +5 -5
- package/lib/refund/refund.model.js.map +1 -1
- package/lib/session/driving/session.topic.d.ts +2 -2
- package/lib/session/driving/session.topic.js +3 -3
- package/lib/session/driving/session.topic.js.map +1 -1
- package/lib/training/course.model.d.ts +2 -0
- package/lib/training/course.model.js +7 -0
- package/lib/training/course.model.js.map +1 -1
- package/lib/training/request.model.d.ts +4 -4
- package/lib/training/request.model.js +7 -7
- package/lib/training/request.model.js.map +1 -1
- package/lib/training/training.model.d.ts +6 -6
- package/lib/training/training.model.js +11 -11
- package/lib/training/training.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { User } from "../user";
|
|
2
1
|
import { CourseAppointment } from "./appointment.model";
|
|
2
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
3
3
|
export declare class CoursePart {
|
|
4
4
|
id: number;
|
|
5
5
|
number: number;
|
|
6
|
-
instructor:
|
|
6
|
+
instructor: Instructor;
|
|
7
7
|
title: string;
|
|
8
8
|
description: string;
|
|
9
9
|
startDate: Date;
|
package/lib/course/part.model.js
CHANGED
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CoursePart = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const user_1 = require("../user");
|
|
15
14
|
const appointment_model_1 = require("./appointment.model");
|
|
15
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
16
16
|
class CoursePart {
|
|
17
17
|
id;
|
|
18
18
|
number;
|
|
@@ -44,8 +44,8 @@ __decorate([
|
|
|
44
44
|
], CoursePart.prototype, "number", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, class_transformer_1.Expose)(),
|
|
47
|
-
(0, class_transformer_1.Type)(() =>
|
|
48
|
-
__metadata("design:type",
|
|
47
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
48
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
49
49
|
], CoursePart.prototype, "instructor", void 0);
|
|
50
50
|
__decorate([
|
|
51
51
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"part.model.js","sourceRoot":"","sources":["../../src/course/part.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"part.model.js","sourceRoot":"","sources":["../../src/course/part.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2DAAwD;AACxD,qEAA4D;AAE5D,MAAa,UAAU;IAItB,EAAE,CAAS;IAIX,MAAM,CAAS;IAIf,UAAU,CAAa;IAGvB,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAId,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAIb,QAAQ,CAAU;IAIlB,cAAc,CAAS;IAMvB,uBAAuB,CAAU;IAOjC,sBAAsB,CAAsB;IAI5C,YAAY,KAA2B;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9DD,gCA8DC;AA1DA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACX,6BAAU;8CAAC;AAGvB;IADC,IAAA,0BAAM,GAAE;;yCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;+CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;6CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;2CAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACF;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACN;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;4CACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kDACI;AAMvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;2DACa;AAOjC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAiB,CAAC;;0DACc"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
2
2
|
export declare class Credit {
|
|
3
3
|
id: number;
|
|
4
4
|
description: string;
|
|
5
5
|
amount: number;
|
|
6
|
-
createdBy:
|
|
6
|
+
createdBy: Instructor;
|
|
7
7
|
createdOn: Date;
|
|
8
8
|
constructor(props?: Partial<Credit>);
|
|
9
9
|
}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Credit = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
14
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
15
15
|
class Credit {
|
|
16
16
|
id;
|
|
17
17
|
description;
|
|
@@ -39,8 +39,8 @@ __decorate([
|
|
|
39
39
|
], Credit.prototype, "amount", void 0);
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, class_transformer_1.Expose)(),
|
|
42
|
-
(0, class_transformer_1.Type)(() =>
|
|
43
|
-
__metadata("design:type",
|
|
42
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
43
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
44
44
|
], Credit.prototype, "createdBy", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit.model.js","sourceRoot":"","sources":["../../src/credit/credit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"credit.model.js","sourceRoot":"","sources":["../../src/credit/credit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qEAA4D;AAE5D,MAAa,MAAM;IAIlB,EAAE,CAAS;IAGX,WAAW,CAAS;IAIpB,MAAM,CAAS;IAIf,SAAS,CAAa;IAItB,SAAS,CAAO;IAEhB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAxBD,wBAwBC;AApBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;2CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACZ,6BAAU;yCAAC;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;yCAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { User } from "../user/user.model";
|
|
2
1
|
import { FinanceStatus } from "../finance";
|
|
2
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
3
3
|
export declare class Discount {
|
|
4
4
|
id: number;
|
|
5
5
|
amount: number;
|
|
6
6
|
description: string;
|
|
7
7
|
status: FinanceStatus;
|
|
8
|
-
createdBy:
|
|
8
|
+
createdBy: Instructor;
|
|
9
9
|
createdOn: Date;
|
|
10
|
-
canceledBy:
|
|
10
|
+
canceledBy: Instructor;
|
|
11
11
|
canceledOn: Date;
|
|
12
12
|
constructor(props?: Partial<Discount>);
|
|
13
13
|
}
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Discount = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const user_model_1 = require("../user/user.model");
|
|
15
14
|
const finance_1 = require("../finance");
|
|
15
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
16
16
|
class Discount {
|
|
17
17
|
id;
|
|
18
18
|
amount;
|
|
@@ -47,8 +47,8 @@ __decorate([
|
|
|
47
47
|
], Discount.prototype, "status", void 0);
|
|
48
48
|
__decorate([
|
|
49
49
|
(0, class_transformer_1.Expose)(),
|
|
50
|
-
(0, class_transformer_1.Type)(() =>
|
|
51
|
-
__metadata("design:type",
|
|
50
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
51
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
52
52
|
], Discount.prototype, "createdBy", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, class_transformer_1.Expose)(),
|
|
@@ -57,8 +57,8 @@ __decorate([
|
|
|
57
57
|
], Discount.prototype, "createdOn", void 0);
|
|
58
58
|
__decorate([
|
|
59
59
|
(0, class_transformer_1.Expose)(),
|
|
60
|
-
(0, class_transformer_1.Type)(() =>
|
|
61
|
-
__metadata("design:type",
|
|
60
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
61
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
62
62
|
], Discount.prototype, "canceledBy", void 0);
|
|
63
63
|
__decorate([
|
|
64
64
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discount.model.js","sourceRoot":"","sources":["../../src/discount/discount.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;
|
|
1
|
+
{"version":3,"file":"discount.model.js","sourceRoot":"","sources":["../../src/discount/discount.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,wCAA2C;AAC3C,qEAA4D;AAE5D,MAAa,QAAQ;IAIpB,EAAE,CAAS;IAIX,MAAM,CAAS;IAGf,WAAW,CAAS;IAGpB,MAAM,CAAgB;IAItB,SAAS,CAAa;IAItB,SAAS,CAAO;IAIhB,UAAU,CAAa;IAIvB,UAAU,CAAO;IAEjB,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnCD,4BAmCC;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,MAAM,CAAC;;wCACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;6CACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;wCACa;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACZ,6BAAU;2CAAC;AAItB;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;8BACX,6BAAU;4CAAC;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;4CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExpenseStatus } from "./expense.types";
|
|
2
|
-
import { User } from "../user/user.model";
|
|
3
2
|
import { ExpenseCategory } from "./category.model";
|
|
3
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
4
4
|
export declare class Expense {
|
|
5
5
|
id: number;
|
|
6
6
|
status: ExpenseStatus;
|
|
@@ -8,7 +8,7 @@ export declare class Expense {
|
|
|
8
8
|
amount: number;
|
|
9
9
|
description: string;
|
|
10
10
|
receiptUrl: string;
|
|
11
|
-
createdBy:
|
|
11
|
+
createdBy: Instructor;
|
|
12
12
|
createdOn: Date;
|
|
13
13
|
constructor(props?: Partial<Expense>);
|
|
14
14
|
}
|
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Expense = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const expense_types_1 = require("./expense.types");
|
|
15
|
-
const user_model_1 = require("../user/user.model");
|
|
16
15
|
const category_model_1 = require("./category.model");
|
|
16
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
17
17
|
class Expense {
|
|
18
18
|
id;
|
|
19
19
|
status;
|
|
@@ -57,8 +57,8 @@ __decorate([
|
|
|
57
57
|
], Expense.prototype, "receiptUrl", void 0);
|
|
58
58
|
__decorate([
|
|
59
59
|
(0, class_transformer_1.Expose)(),
|
|
60
|
-
(0, class_transformer_1.Type)(() =>
|
|
61
|
-
__metadata("design:type",
|
|
60
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
61
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
62
62
|
], Expense.prototype, "createdBy", void 0);
|
|
63
63
|
__decorate([
|
|
64
64
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expense.model.js","sourceRoot":"","sources":["../../src/expense/expense.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"expense.model.js","sourceRoot":"","sources":["../../src/expense/expense.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAAgD;AAChD,qDAAmD;AACnD,qEAA4D;AAE5D,MAAa,OAAO;IAInB,EAAE,CAAS;IAGX,MAAM,CAAgB;IAItB,QAAQ,CAAkB;IAI1B,MAAM,CAAS;IAGf,WAAW,CAAS;IAGpB,UAAU,CAAS;IAInB,SAAS,CAAa;IAItB,SAAS,CAAO;IAEhB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlCD,0BAkCC;AA9BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;uCACa;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;8BAClB,gCAAe;yCAAC;AAI1B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;4CACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;2CACU;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACZ,6BAAU;0CAAC;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;0CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { User } from "../user/user.model";
|
|
2
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
2
3
|
export declare class Feedback {
|
|
3
4
|
id: number;
|
|
4
5
|
user: User;
|
|
5
6
|
title: string;
|
|
6
7
|
content: string;
|
|
7
|
-
createdBy:
|
|
8
|
+
createdBy: Instructor;
|
|
8
9
|
createdOn: Date;
|
|
9
10
|
constructor(props?: Partial<Feedback>);
|
|
10
11
|
}
|
|
@@ -13,6 +13,7 @@ exports.Feedback = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const user_model_1 = require("../user/user.model");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
16
17
|
class Feedback {
|
|
17
18
|
id;
|
|
18
19
|
user;
|
|
@@ -49,9 +50,9 @@ __decorate([
|
|
|
49
50
|
], Feedback.prototype, "content", void 0);
|
|
50
51
|
__decorate([
|
|
51
52
|
(0, class_transformer_1.Expose)(),
|
|
52
|
-
(0, class_transformer_1.Type)(() =>
|
|
53
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
53
54
|
(0, class_validator_1.IsOptional)(),
|
|
54
|
-
__metadata("design:type",
|
|
55
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
55
56
|
], Feedback.prototype, "createdBy", void 0);
|
|
56
57
|
__decorate([
|
|
57
58
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedback.model.js","sourceRoot":"","sources":["../../src/feedback/feedback.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAA0C;AAC1C,qDAA6C;
|
|
1
|
+
{"version":3,"file":"feedback.model.js","sourceRoot":"","sources":["../../src/feedback/feedback.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAA0C;AAC1C,qDAA6C;AAC7C,qEAA4D;AAG5D,MAAa,QAAQ;IAKpB,EAAE,CAAS;IAKX,IAAI,CAAO;IAIX,KAAK,CAAS;IAId,OAAO,CAAS;IAKhB,SAAS,CAAa;IAKtB,SAAS,CAAO;IAEhB,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAjCD,4BAiCC;AA5BA;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,4BAAU,GAAE;;oCACF;AAKX;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;IAChB,IAAA,4BAAU,GAAE;8BACP,iBAAI;sCAAC;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;uCACC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;yCACG;AAKhB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;8BACF,6BAAU;2CAAC;AAKtB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,4BAAU,GAAE;8BACF,IAAI;2CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { User } from "../user/user.model";
|
|
2
1
|
import { PaymentType } from "../payment/payment.types";
|
|
3
2
|
import { FinanceStatus, FinanceType } from "./finance.type";
|
|
3
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
4
4
|
export declare class Finance {
|
|
5
5
|
id: number;
|
|
6
6
|
type: FinanceType;
|
|
7
7
|
amount: number;
|
|
8
8
|
description: string;
|
|
9
9
|
status: FinanceStatus;
|
|
10
|
-
createdBy:
|
|
10
|
+
createdBy: Instructor;
|
|
11
11
|
createdOn: Date;
|
|
12
|
-
approvedBy:
|
|
12
|
+
approvedBy: Instructor;
|
|
13
13
|
approvedOn: Date;
|
|
14
|
-
canceledBy:
|
|
14
|
+
canceledBy: Instructor;
|
|
15
15
|
canceledOn: Date;
|
|
16
16
|
paymentType: PaymentType;
|
|
17
17
|
constructor(props?: Partial<Finance>);
|
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Finance = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const user_model_1 = require("../user/user.model");
|
|
15
14
|
const payment_types_1 = require("../payment/payment.types");
|
|
16
15
|
const finance_type_1 = require("./finance.type");
|
|
16
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
17
17
|
class Finance {
|
|
18
18
|
id;
|
|
19
19
|
type;
|
|
@@ -56,8 +56,8 @@ __decorate([
|
|
|
56
56
|
], Finance.prototype, "status", void 0);
|
|
57
57
|
__decorate([
|
|
58
58
|
(0, class_transformer_1.Expose)(),
|
|
59
|
-
(0, class_transformer_1.Type)(() =>
|
|
60
|
-
__metadata("design:type",
|
|
59
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
60
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
61
61
|
], Finance.prototype, "createdBy", void 0);
|
|
62
62
|
__decorate([
|
|
63
63
|
(0, class_transformer_1.Expose)(),
|
|
@@ -66,8 +66,8 @@ __decorate([
|
|
|
66
66
|
], Finance.prototype, "createdOn", void 0);
|
|
67
67
|
__decorate([
|
|
68
68
|
(0, class_transformer_1.Expose)(),
|
|
69
|
-
(0, class_transformer_1.Type)(() =>
|
|
70
|
-
__metadata("design:type",
|
|
69
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
70
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
71
71
|
], Finance.prototype, "approvedBy", void 0);
|
|
72
72
|
__decorate([
|
|
73
73
|
(0, class_transformer_1.Expose)(),
|
|
@@ -76,8 +76,8 @@ __decorate([
|
|
|
76
76
|
], Finance.prototype, "approvedOn", void 0);
|
|
77
77
|
__decorate([
|
|
78
78
|
(0, class_transformer_1.Expose)(),
|
|
79
|
-
(0, class_transformer_1.Type)(() =>
|
|
80
|
-
__metadata("design:type",
|
|
79
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
80
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
81
81
|
], Finance.prototype, "canceledBy", void 0);
|
|
82
82
|
__decorate([
|
|
83
83
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"finance.model.js","sourceRoot":"","sources":["../../src/finance/finance.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;
|
|
1
|
+
{"version":3,"file":"finance.model.js","sourceRoot":"","sources":["../../src/finance/finance.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,4DAAuD;AACvD,iDAA4D;AAC5D,qEAA4D;AAE5D,MAAa,OAAO;IAGnB,EAAE,CAAS;IAGX,IAAI,CAAc;IAIlB,MAAM,CAAS;IAGf,WAAW,CAAS;IAGpB,MAAM,CAAgB;IAItB,SAAS,CAAa;IAItB,SAAS,CAAO;IAIhB,UAAU,CAAa;IAIvB,UAAU,CAAO;IAIjB,UAAU,CAAa;IAIvB,UAAU,CAAO;IAKjB,WAAW,CAAc;IAIzB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AApDD,0BAoDC;AAjDA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;qCACS;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;4CACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;uCACa;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACZ,6BAAU;0CAAC;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;0CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACX,6BAAU;2CAAC;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;2CAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACX,6BAAU;2CAAC;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;2CAAC;AAKjB;IADC,IAAA,0BAAM,GAAE;;4CACgB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InvoiceStatus } from "./invoice.types";
|
|
2
|
-
import { User } from "../user/user.model";
|
|
3
2
|
import { InvoiceItem } from "./item.model";
|
|
3
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
4
4
|
export declare class Invoice {
|
|
5
5
|
id: number;
|
|
6
6
|
number: number;
|
|
@@ -11,7 +11,7 @@ export declare class Invoice {
|
|
|
11
11
|
iban: string;
|
|
12
12
|
swift: string;
|
|
13
13
|
accountHolder: string;
|
|
14
|
-
createdBy:
|
|
14
|
+
createdBy: Instructor;
|
|
15
15
|
createdOn: Date;
|
|
16
16
|
items: InvoiceItem[];
|
|
17
17
|
constructor(props?: Partial<Invoice>);
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Invoice = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const invoice_types_1 = require("./invoice.types");
|
|
15
|
-
const
|
|
15
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
16
16
|
class Invoice {
|
|
17
17
|
id;
|
|
18
18
|
number;
|
|
@@ -73,8 +73,8 @@ __decorate([
|
|
|
73
73
|
], Invoice.prototype, "accountHolder", void 0);
|
|
74
74
|
__decorate([
|
|
75
75
|
(0, class_transformer_1.Expose)(),
|
|
76
|
-
(0, class_transformer_1.Type)(() =>
|
|
77
|
-
__metadata("design:type",
|
|
76
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
77
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
78
78
|
], Invoice.prototype, "createdBy", void 0);
|
|
79
79
|
__decorate([
|
|
80
80
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.model.js","sourceRoot":"","sources":["../../src/invoice/invoice.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAAgD;
|
|
1
|
+
{"version":3,"file":"invoice.model.js","sourceRoot":"","sources":["../../src/invoice/invoice.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAAgD;AAEhD,qEAA4D;AAG5D,MAAa,OAAO;IAInB,EAAE,CAAS;IAIX,MAAM,CAAS;IAIf,OAAO,CAAO;IAId,MAAM,CAAS;IAGf,OAAO,CAAS;IAGhB,MAAM,CAAgB;IAGtB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,aAAa,CAAS;IAItB,SAAS,CAAa;IAItB,SAAS,CAAO;IAGhB,KAAK,CAAgB;IAErB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA/CD,0BA+CC;AA3CA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;wCAAC;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;wCACO;AAGhB;IADC,IAAA,0BAAM,GAAE;;uCACa;AAGtB;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;sCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;8CACa;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACZ,6BAAU;0CAAC;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;0CAAC;AAGhB;IADC,IAAA,0BAAM,GAAE;;sCACY"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { PaymentType } from "./payment.types";
|
|
2
|
-
import { User } from "../user/user.model";
|
|
3
2
|
import { FinanceStatus } from "../finance";
|
|
3
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
4
4
|
export declare class Payment {
|
|
5
5
|
id: number;
|
|
6
6
|
amount: number;
|
|
7
7
|
type: PaymentType;
|
|
8
8
|
description: string;
|
|
9
9
|
status: FinanceStatus;
|
|
10
|
-
createdBy:
|
|
10
|
+
createdBy: Instructor;
|
|
11
11
|
createdOn: Date;
|
|
12
|
-
approvedBy:
|
|
12
|
+
approvedBy: Instructor;
|
|
13
13
|
approvedOn: Date;
|
|
14
|
-
canceledBy:
|
|
14
|
+
canceledBy: Instructor;
|
|
15
15
|
canceledOn: Date;
|
|
16
16
|
constructor(props?: Partial<Payment>);
|
|
17
17
|
}
|
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Payment = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const payment_types_1 = require("./payment.types");
|
|
15
|
-
const user_model_1 = require("../user/user.model");
|
|
16
15
|
const finance_1 = require("../finance");
|
|
16
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
17
17
|
class Payment {
|
|
18
18
|
id;
|
|
19
19
|
amount;
|
|
@@ -55,8 +55,8 @@ __decorate([
|
|
|
55
55
|
], Payment.prototype, "status", void 0);
|
|
56
56
|
__decorate([
|
|
57
57
|
(0, class_transformer_1.Expose)(),
|
|
58
|
-
(0, class_transformer_1.Type)(() =>
|
|
59
|
-
__metadata("design:type",
|
|
58
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
59
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
60
60
|
], Payment.prototype, "createdBy", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, class_transformer_1.Expose)(),
|
|
@@ -65,8 +65,8 @@ __decorate([
|
|
|
65
65
|
], Payment.prototype, "createdOn", void 0);
|
|
66
66
|
__decorate([
|
|
67
67
|
(0, class_transformer_1.Expose)(),
|
|
68
|
-
(0, class_transformer_1.Type)(() =>
|
|
69
|
-
__metadata("design:type",
|
|
68
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
69
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
70
70
|
], Payment.prototype, "approvedBy", void 0);
|
|
71
71
|
__decorate([
|
|
72
72
|
(0, class_transformer_1.Expose)(),
|
|
@@ -75,8 +75,8 @@ __decorate([
|
|
|
75
75
|
], Payment.prototype, "approvedOn", void 0);
|
|
76
76
|
__decorate([
|
|
77
77
|
(0, class_transformer_1.Expose)(),
|
|
78
|
-
(0, class_transformer_1.Type)(() =>
|
|
79
|
-
__metadata("design:type",
|
|
78
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
79
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
80
80
|
], Payment.prototype, "canceledBy", void 0);
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.model.js","sourceRoot":"","sources":["../../src/payment/payment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAA8C;
|
|
1
|
+
{"version":3,"file":"payment.model.js","sourceRoot":"","sources":["../../src/payment/payment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAA8C;AAE9C,wCAA2C;AAC3C,qEAA4D;AAE5D,MAAa,OAAO;IAInB,EAAE,CAAS;IAIX,MAAM,CAAS;IAGf,IAAI,CAAc;IAGlB,WAAW,CAAS;IAGpB,MAAM,CAAgB;IAItB,SAAS,CAAa;IAItB,SAAS,CAAO;IAIhB,UAAU,CAAa;IAIvB,UAAU,CAAO;IAIjB,UAAU,CAAa;IAIvB,UAAU,CAAO;IAEjB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9CD,0BA8CC;AA1CA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;qCACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;4CACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;uCACa;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACZ,6BAAU;0CAAC;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;0CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACX,6BAAU;2CAAC;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;2CAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACX,6BAAU;2CAAC;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;2CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PayoutStatus } from "./payout.types";
|
|
2
2
|
import { BankAccount } from "../bank/account.model";
|
|
3
|
-
import {
|
|
3
|
+
import { Instructor } from "../instructor";
|
|
4
4
|
export declare class AgentPayout {
|
|
5
5
|
id: number;
|
|
6
6
|
status: PayoutStatus;
|
|
7
7
|
bank: BankAccount;
|
|
8
8
|
amount: number;
|
|
9
|
-
createdBy:
|
|
9
|
+
createdBy: Instructor;
|
|
10
10
|
createdOn: Date;
|
|
11
11
|
constructor(props?: Partial<AgentPayout>);
|
|
12
12
|
}
|
|
@@ -13,7 +13,7 @@ exports.AgentPayout = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const payout_types_1 = require("./payout.types");
|
|
15
15
|
const account_model_1 = require("../bank/account.model");
|
|
16
|
-
const
|
|
16
|
+
const instructor_1 = require("../instructor");
|
|
17
17
|
class AgentPayout {
|
|
18
18
|
id;
|
|
19
19
|
status;
|
|
@@ -47,8 +47,8 @@ __decorate([
|
|
|
47
47
|
], AgentPayout.prototype, "amount", void 0);
|
|
48
48
|
__decorate([
|
|
49
49
|
(0, class_transformer_1.Expose)(),
|
|
50
|
-
(0, class_transformer_1.Type)(() =>
|
|
51
|
-
__metadata("design:type",
|
|
50
|
+
(0, class_transformer_1.Type)(() => instructor_1.Instructor),
|
|
51
|
+
__metadata("design:type", instructor_1.Instructor)
|
|
52
52
|
], AgentPayout.prototype, "createdBy", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payout.model.js","sourceRoot":"","sources":["../../src/payout/payout.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,iDAA8C;AAC9C,yDAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"payout.model.js","sourceRoot":"","sources":["../../src/payout/payout.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,iDAA8C;AAC9C,yDAAoD;AACpD,8CAA2C;AAE3C,MAAa,WAAW;IAIvB,EAAE,CAAS;IAGX,MAAM,CAAe;IAIrB,IAAI,CAAc;IAIlB,MAAM,CAAS;IAIf,SAAS,CAAa;IAItB,SAAS,CAAO;IAEhB,YAAY,KAA4B;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA5BD,kCA4BC;AAxBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;2CACY;AAIrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAW,CAAC;8BAClB,2BAAW;yCAAC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;8BACZ,uBAAU;8CAAC;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;8CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { BankAccount } from "../bank/account.model";
|
|
2
|
-
import { User } from "../user/user.model";
|
|
3
2
|
import { FinanceStatus } from "../finance";
|
|
3
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
4
4
|
export declare class Refund {
|
|
5
5
|
id: number;
|
|
6
6
|
bank: BankAccount;
|
|
7
7
|
amount: number;
|
|
8
8
|
description: string;
|
|
9
9
|
status: FinanceStatus;
|
|
10
|
-
createdBy:
|
|
10
|
+
createdBy: Instructor;
|
|
11
11
|
createdOn: Date;
|
|
12
|
-
canceledBy:
|
|
12
|
+
canceledBy: Instructor;
|
|
13
13
|
canceledOn: Date;
|
|
14
14
|
constructor(props?: Partial<Refund>);
|
|
15
15
|
}
|
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Refund = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const account_model_1 = require("../bank/account.model");
|
|
15
|
-
const user_model_1 = require("../user/user.model");
|
|
16
15
|
const finance_1 = require("../finance");
|
|
16
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
17
17
|
class Refund {
|
|
18
18
|
id;
|
|
19
19
|
bank;
|
|
@@ -54,8 +54,8 @@ __decorate([
|
|
|
54
54
|
], Refund.prototype, "status", void 0);
|
|
55
55
|
__decorate([
|
|
56
56
|
(0, class_transformer_1.Expose)(),
|
|
57
|
-
(0, class_transformer_1.Type)(() =>
|
|
58
|
-
__metadata("design:type",
|
|
57
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
58
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
59
59
|
], Refund.prototype, "createdBy", void 0);
|
|
60
60
|
__decorate([
|
|
61
61
|
(0, class_transformer_1.Expose)(),
|
|
@@ -64,8 +64,8 @@ __decorate([
|
|
|
64
64
|
], Refund.prototype, "createdOn", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, class_transformer_1.Expose)(),
|
|
67
|
-
(0, class_transformer_1.Type)(() =>
|
|
68
|
-
__metadata("design:type",
|
|
67
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
68
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
69
69
|
], Refund.prototype, "canceledBy", void 0);
|
|
70
70
|
__decorate([
|
|
71
71
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refund.model.js","sourceRoot":"","sources":["../../src/refund/refund.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yDAAoD;
|
|
1
|
+
{"version":3,"file":"refund.model.js","sourceRoot":"","sources":["../../src/refund/refund.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yDAAoD;AAEpD,wCAA2C;AAC3C,qEAA4D;AAE5D,MAAa,MAAM;IAIlB,EAAE,CAAS;IAIX,IAAI,CAAc;IAIlB,MAAM,CAAS;IAGf,WAAW,CAAS;IAGpB,MAAM,CAAgB;IAItB,SAAS,CAAa;IAItB,SAAS,CAAO;IAIhB,UAAU,CAAa;IAIvB,UAAU,CAAO;IAEjB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAvCD,wBAuCC;AAnCA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAW,CAAC;8BAClB,2BAAW;oCAAC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;2CACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;sCACa;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACZ,6BAAU;yCAAC;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;yCAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACX,6BAAU;0CAAC;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;0CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DrivingSessionSkill } from "./session.skill";
|
|
2
|
-
import { User } from "../../user/user.model";
|
|
3
2
|
import { DrivingTopic } from "../../driving/lesson/topic";
|
|
3
|
+
import { Instructor } from "../../instructor/instructor.model";
|
|
4
4
|
export declare class DrivingSessionTopic extends DrivingTopic {
|
|
5
|
-
completedBy:
|
|
5
|
+
completedBy: Instructor;
|
|
6
6
|
completedOn: Date;
|
|
7
7
|
sessionSkills: DrivingSessionSkill[];
|
|
8
8
|
passed: boolean;
|
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.DrivingSessionTopic = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const session_skill_1 = require("./session.skill");
|
|
15
|
-
const user_model_1 = require("../../user/user.model");
|
|
16
15
|
const topic_1 = require("../../driving/lesson/topic");
|
|
16
|
+
const instructor_model_1 = require("../../instructor/instructor.model");
|
|
17
17
|
class DrivingSessionTopic extends topic_1.DrivingTopic {
|
|
18
18
|
completedBy;
|
|
19
19
|
completedOn;
|
|
@@ -33,8 +33,8 @@ class DrivingSessionTopic extends topic_1.DrivingTopic {
|
|
|
33
33
|
exports.DrivingSessionTopic = DrivingSessionTopic;
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, class_transformer_1.Expose)(),
|
|
36
|
-
(0, class_transformer_1.Type)(() =>
|
|
37
|
-
__metadata("design:type",
|
|
36
|
+
(0, class_transformer_1.Type)(() => instructor_model_1.Instructor),
|
|
37
|
+
__metadata("design:type", instructor_model_1.Instructor)
|
|
38
38
|
], DrivingSessionTopic.prototype, "completedBy", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.topic.js","sourceRoot":"","sources":["../../../src/session/driving/session.topic.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"session.topic.js","sourceRoot":"","sources":["../../../src/session/driving/session.topic.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAAsD;AACtD,sDAA0D;AAC1D,wEAA+D;AAE/D,MAAa,mBAAoB,SAAQ,oBAAY;IAIpD,WAAW,CAAa;IAIxB,WAAW,CAAO;IAIlB,aAAa,CAAwB;IAMrC,MAAM,CAAU;IAEhB,YAAY,KAAoC;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,QAAQ;QACP,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM;YAAE,OAAO,IAAI,CAAC;QACtC,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAC7E,OAAO,CAAC,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC;CACD;AA9BD,kDA8BC;AA1BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACV,6BAAU;wDAAC;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACJ,IAAI;wDAAC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAmB,CAAC;;0DACK;AAMrC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;mDACJ"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Training } from "./training.model";
|
|
2
2
|
import { CoursePart } from "../course/part.model";
|
|
3
|
+
import { Course } from "../course/course.model";
|
|
3
4
|
export declare class CourseTraining extends Training {
|
|
5
|
+
course: Course;
|
|
4
6
|
parts: CoursePart[];
|
|
5
7
|
price: number;
|
|
6
8
|
constructor(props?: Partial<CourseTraining>);
|
|
@@ -13,7 +13,9 @@ exports.CourseTraining = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const training_model_1 = require("./training.model");
|
|
15
15
|
const part_model_1 = require("../course/part.model");
|
|
16
|
+
const course_model_1 = require("../course/course.model");
|
|
16
17
|
class CourseTraining extends training_model_1.Training {
|
|
18
|
+
course;
|
|
17
19
|
parts;
|
|
18
20
|
price;
|
|
19
21
|
constructor(props) {
|
|
@@ -22,6 +24,11 @@ class CourseTraining extends training_model_1.Training {
|
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
exports.CourseTraining = CourseTraining;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
(0, class_transformer_1.Type)(() => course_model_1.Course),
|
|
30
|
+
__metadata("design:type", course_model_1.Course)
|
|
31
|
+
], CourseTraining.prototype, "course", void 0);
|
|
25
32
|
__decorate([
|
|
26
33
|
(0, class_transformer_1.Expose)(),
|
|
27
34
|
(0, class_transformer_1.Type)(() => part_model_1.CoursePart),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course.model.js","sourceRoot":"","sources":["../../src/training/course.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA4C;AAC5C,qDAAkD;
|
|
1
|
+
{"version":3,"file":"course.model.js","sourceRoot":"","sources":["../../src/training/course.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA4C;AAC5C,qDAAkD;AAClD,yDAAgD;AAEhD,MAAa,cAAe,SAAQ,yBAAQ;IAI3C,MAAM,CAAS;IAIf,KAAK,CAAe;IAIpB,KAAK,CAAS;IAId,YAAY,KAA+B;QAC1C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AApBD,wCAoBC;AAhBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAM,CAAC;8BACX,qBAAM;8CAAC;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;;6CACH;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6CACL"}
|