@intelact/driveup 1.3.89 → 1.3.90
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/calendar/link.d.ts +4 -0
- package/lib/calendar/link.js +9 -0
- package/lib/calendar/link.js.map +1 -0
- package/lib/common/date.d.ts +9 -0
- package/lib/common/date.js +14 -0
- package/lib/common/date.js.map +1 -0
- package/lib/common/general.dto.d.ts +1 -1
- package/lib/common/general.dto.js +2 -3
- package/lib/common/general.dto.js.map +1 -1
- package/lib/company/common/request.status.enum.d.ts +6 -0
- package/lib/company/common/request.status.enum.js +11 -0
- package/lib/company/common/request.status.enum.js.map +1 -0
- package/lib/company/company.model.d.ts +5 -0
- package/lib/company/company.model.js +20 -0
- package/lib/company/company.model.js.map +1 -1
- package/lib/company/driving/appointment.type.enum.d.ts +4 -0
- package/lib/company/driving/appointment.type.enum.js +9 -0
- package/lib/company/driving/appointment.type.enum.js.map +1 -0
- package/lib/company/driving/exam.status.enum.d.ts +5 -0
- package/lib/company/driving/exam.status.enum.js +10 -0
- package/lib/company/driving/exam.status.enum.js.map +1 -0
- package/lib/company/driving/status.enum.d.ts +5 -0
- package/lib/company/driving/status.enum.js +10 -0
- package/lib/company/driving/status.enum.js.map +1 -0
- package/lib/company/finances/card.model.d.ts +10 -0
- package/lib/company/finances/card.model.js +55 -0
- package/lib/company/finances/card.model.js.map +1 -0
- package/lib/company/finances/priceplan.model.d.ts +19 -0
- package/lib/company/finances/priceplan.model.js +95 -0
- package/lib/company/finances/priceplan.model.js.map +1 -0
- package/lib/company/index.d.ts +0 -1
- package/lib/company/index.js +0 -1
- package/lib/company/index.js.map +1 -1
- package/lib/company/plan.enum.d.ts +9 -0
- package/lib/company/plan.enum.js +15 -0
- package/lib/company/plan.enum.js.map +1 -0
- package/lib/company/user.model.d.ts +25 -0
- package/lib/company/user.model.js +124 -0
- package/lib/company/user.model.js.map +1 -0
- package/lib/enums/date.d.ts +9 -0
- package/lib/enums/date.js +14 -0
- package/lib/enums/date.js.map +1 -0
- package/lib/enums/finance.d.ts +22 -0
- package/lib/enums/finance.js +31 -0
- package/lib/enums/finance.js.map +1 -0
- package/lib/enums/index.d.ts +1 -0
- package/lib/enums/index.js +14 -0
- package/lib/enums/index.js.map +1 -0
- package/lib/enums/language.d.ts +6 -0
- package/lib/enums/language.js +11 -0
- package/lib/enums/language.js.map +1 -0
- package/lib/enums/notification.d.ts +11 -0
- package/lib/enums/notification.js +17 -0
- package/lib/enums/notification.js.map +1 -0
- package/lib/enums/plan.d.ts +9 -0
- package/lib/enums/plan.js +15 -0
- package/lib/enums/plan.js.map +1 -0
- package/lib/enums/role.d.ts +6 -0
- package/lib/enums/role.js +11 -0
- package/lib/enums/role.js.map +1 -0
- package/lib/enums/score.d.ts +12 -0
- package/lib/enums/score.js +18 -0
- package/lib/enums/score.js.map +1 -0
- package/lib/enums/training.d.ts +19 -0
- package/lib/enums/training.js +27 -0
- package/lib/enums/training.js.map +1 -0
- package/lib/finance/handover.dto.d.ts +6 -0
- package/lib/finance/handover.dto.js +45 -0
- package/lib/finance/handover.dto.js.map +1 -0
- package/lib/finance/handover.model.d.ts +13 -0
- package/lib/finance/handover.model.js +65 -0
- package/lib/finance/handover.model.js.map +1 -0
- package/lib/language/language.enum.d.ts +4 -4
- package/lib/language/language.enum.js +4 -4
- package/lib/payment/company-payment.model.d.ts +9 -0
- package/lib/payment/company-payment.model.js +49 -0
- package/lib/payment/company-payment.model.js.map +1 -0
- package/lib/payment/index.d.ts +2 -0
- package/lib/payment/index.js +2 -0
- package/lib/payment/index.js.map +1 -1
- package/lib/payment/payment-method.model.d.ts +11 -0
- package/lib/payment/payment-method.model.js +60 -0
- package/lib/payment/payment-method.model.js.map +1 -0
- package/lib/priceplan/plan.enum.d.ts +1 -5
- package/lib/priceplan/plan.enum.js +2 -7
- package/lib/priceplan/plan.enum.js.map +1 -1
- package/lib/priceplan/plan.model.d.ts +3 -0
- package/lib/priceplan/plan.model.js +18 -0
- package/lib/priceplan/plan.model.js.map +1 -1
- package/lib/session/course/index.js +1 -5
- package/lib/session/course/index.js.map +1 -1
- package/lib/session/course/session.model.d.ts +4 -3
- package/lib/session/course/session.model.js +9 -8
- package/lib/session/course/session.model.js.map +1 -1
- package/lib/session/driving/appointment-assessment.d.ts +8 -0
- package/lib/session/driving/appointment-assessment.js +50 -0
- package/lib/session/driving/appointment-assessment.js.map +1 -0
- package/lib/support/index.d.ts +1 -0
- package/lib/support/index.js +18 -0
- package/lib/support/index.js.map +1 -0
- package/lib/support/request.dto.d.ts +5 -0
- package/lib/support/request.dto.js +39 -0
- package/lib/support/request.dto.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/notification/index.d.ts +3 -0
- package/lib/user/notification/index.js +20 -0
- package/lib/user/notification/index.js.map +1 -0
- package/lib/user/notification/notification-preference.model.d.ts +5 -0
- package/lib/user/notification/notification-preference.model.js +31 -0
- package/lib/user/notification/notification-preference.model.js.map +1 -0
- package/lib/user/notification/notification.enum.d.ts +11 -0
- package/lib/user/notification/notification.enum.js +17 -0
- package/lib/user/notification/notification.enum.js.map +1 -0
- package/lib/user/notification/notification.model.d.ts +10 -0
- package/lib/user/notification/notification.model.js +53 -0
- package/lib/user/notification/notification.model.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
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.CompanyPayment = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const payment_types_1 = require("./payment.types");
|
|
15
|
+
class CompanyPayment {
|
|
16
|
+
id;
|
|
17
|
+
amount;
|
|
18
|
+
provider;
|
|
19
|
+
status;
|
|
20
|
+
date;
|
|
21
|
+
constructor(props) {
|
|
22
|
+
Object.assign(this, props);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.CompanyPayment = CompanyPayment;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], CompanyPayment.prototype, "id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], CompanyPayment.prototype, "amount", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CompanyPayment.prototype, "provider", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CompanyPayment.prototype, "status", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], CompanyPayment.prototype, "date", void 0);
|
|
49
|
+
//# sourceMappingURL=company-payment.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company-payment.model.js","sourceRoot":"","sources":["../../src/payment/company-payment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mDAAqE;AAErE,MAAa,cAAc;IAG1B,EAAE,CAAS;IAIX,MAAM,CAAS;IAGf,QAAQ,CAAsB;IAG9B,MAAM,CAAgB;IAItB,IAAI,CAAO;IAIX,YAAY,KAA+B;QAC1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAxBD,wCAwBC;AArBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;gDACqB;AAG9B;IADC,IAAA,0BAAM,GAAE;;8CACa;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;4CAAC"}
|
package/lib/payment/index.d.ts
CHANGED
package/lib/payment/index.js
CHANGED
|
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./company-payment.model"), exports);
|
|
18
|
+
__exportStar(require("./payment-method.model"), exports);
|
|
17
19
|
__exportStar(require("./payment.dto"), exports);
|
|
18
20
|
__exportStar(require("./payment.model"), exports);
|
|
19
21
|
__exportStar(require("./payment.types"), exports);
|
package/lib/payment/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/payment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/payment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,yDAAuC;AACvC,gDAA8B;AAC9B,kDAAgC;AAChC,kDAAgC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CompanyPayment } from "./company-payment.model";
|
|
2
|
+
export declare class CompanyPaymentMethod {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
active: boolean;
|
|
6
|
+
providerPaymentMethodId: string;
|
|
7
|
+
providerCustomerId: string;
|
|
8
|
+
validated: boolean;
|
|
9
|
+
failedPayments: CompanyPayment[];
|
|
10
|
+
constructor(props?: Partial<CompanyPaymentMethod>);
|
|
11
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.CompanyPaymentMethod = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const company_payment_model_1 = require("./company-payment.model");
|
|
15
|
+
class CompanyPaymentMethod {
|
|
16
|
+
id;
|
|
17
|
+
name;
|
|
18
|
+
active;
|
|
19
|
+
providerPaymentMethodId;
|
|
20
|
+
providerCustomerId;
|
|
21
|
+
validated;
|
|
22
|
+
failedPayments;
|
|
23
|
+
constructor(props) {
|
|
24
|
+
Object.assign(this, props);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.CompanyPaymentMethod = CompanyPaymentMethod;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], CompanyPaymentMethod.prototype, "id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CompanyPaymentMethod.prototype, "name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], CompanyPaymentMethod.prototype, "active", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CompanyPaymentMethod.prototype, "providerPaymentMethodId", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CompanyPaymentMethod.prototype, "providerCustomerId", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], CompanyPaymentMethod.prototype, "validated", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
(0, class_transformer_1.Type)(() => company_payment_model_1.CompanyPayment),
|
|
58
|
+
__metadata("design:type", Array)
|
|
59
|
+
], CompanyPaymentMethod.prototype, "failedPayments", void 0);
|
|
60
|
+
//# sourceMappingURL=payment-method.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-method.model.js","sourceRoot":"","sources":["../../src/payment/payment-method.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mEAAyD;AAEzD,MAAa,oBAAoB;IAGhC,EAAE,CAAS;IAGX,IAAI,CAAS;IAIb,MAAM,CAAU;IAGhB,uBAAuB,CAAS;IAGhC,kBAAkB,CAAS;IAI3B,SAAS,CAAU;IAInB,cAAc,CAAmB;IAIjC,YAAY,KAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA/BD,oDA+BC;AA5BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACR;AAGX;IADC,IAAA,0BAAM,GAAE;;kDACI;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;oDACJ;AAGhB;IADC,IAAA,0BAAM,GAAE;;qEACuB;AAGhC;IADC,IAAA,0BAAM,GAAE;;gEACkB;AAI3B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;uDACD;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;;4DACM"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
export declare enum PricePlanRecurringType {
|
|
2
|
-
Monthly = "MONTHLY",
|
|
3
|
-
Yearly = "YEARLY"
|
|
4
|
-
}
|
|
5
1
|
export declare enum PricePlanType {
|
|
6
2
|
Free = "FREE",
|
|
7
|
-
|
|
3
|
+
PayAsYouUse = "PAY_AS_YOU_USE",
|
|
8
4
|
Subscription = "SUBSCRIPTION",
|
|
9
5
|
Premium = "PREMIUM"
|
|
10
6
|
}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PricePlanType =
|
|
4
|
-
var PricePlanRecurringType;
|
|
5
|
-
(function (PricePlanRecurringType) {
|
|
6
|
-
PricePlanRecurringType["Monthly"] = "MONTHLY";
|
|
7
|
-
PricePlanRecurringType["Yearly"] = "YEARLY";
|
|
8
|
-
})(PricePlanRecurringType || (exports.PricePlanRecurringType = PricePlanRecurringType = {}));
|
|
3
|
+
exports.PricePlanType = void 0;
|
|
9
4
|
var PricePlanType;
|
|
10
5
|
(function (PricePlanType) {
|
|
11
6
|
PricePlanType["Free"] = "FREE";
|
|
12
|
-
PricePlanType["
|
|
7
|
+
PricePlanType["PayAsYouUse"] = "PAY_AS_YOU_USE";
|
|
13
8
|
PricePlanType["Subscription"] = "SUBSCRIPTION";
|
|
14
9
|
PricePlanType["Premium"] = "PREMIUM";
|
|
15
10
|
})(PricePlanType || (exports.PricePlanType = PricePlanType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.enum.js","sourceRoot":"","sources":["../../src/priceplan/plan.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,
|
|
1
|
+
{"version":3,"file":"plan.enum.js","sourceRoot":"","sources":["../../src/priceplan/plan.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,aAKX;AALD,WAAY,aAAa;IACxB,8BAAa,CAAA;IACb,+CAA8B,CAAA;IAC9B,8CAA6B,CAAA;IAC7B,oCAAmB,CAAA;AACpB,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB"}
|
|
@@ -5,11 +5,14 @@ export declare class PricePlan {
|
|
|
5
5
|
name: string;
|
|
6
6
|
title: string;
|
|
7
7
|
description: string;
|
|
8
|
+
startDate: Date;
|
|
9
|
+
endDate: Date;
|
|
8
10
|
benefits: string[];
|
|
9
11
|
featured: string;
|
|
10
12
|
icon: string;
|
|
11
13
|
price: number;
|
|
12
14
|
startCredit: number;
|
|
13
15
|
active: boolean;
|
|
16
|
+
upcoming: boolean;
|
|
14
17
|
constructor(props?: Partial<PricePlan>);
|
|
15
18
|
}
|
|
@@ -18,12 +18,15 @@ class PricePlan {
|
|
|
18
18
|
name;
|
|
19
19
|
title;
|
|
20
20
|
description;
|
|
21
|
+
startDate;
|
|
22
|
+
endDate;
|
|
21
23
|
benefits;
|
|
22
24
|
featured;
|
|
23
25
|
icon;
|
|
24
26
|
price;
|
|
25
27
|
startCredit;
|
|
26
28
|
active;
|
|
29
|
+
upcoming;
|
|
27
30
|
constructor(props) {
|
|
28
31
|
Object.assign(this, props);
|
|
29
32
|
}
|
|
@@ -50,6 +53,16 @@ __decorate([
|
|
|
50
53
|
(0, class_transformer_1.Expose)(),
|
|
51
54
|
__metadata("design:type", String)
|
|
52
55
|
], PricePlan.prototype, "description", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
59
|
+
__metadata("design:type", Date)
|
|
60
|
+
], PricePlan.prototype, "startDate", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
64
|
+
__metadata("design:type", Date)
|
|
65
|
+
], PricePlan.prototype, "endDate", void 0);
|
|
53
66
|
__decorate([
|
|
54
67
|
(0, class_transformer_1.Expose)(),
|
|
55
68
|
__metadata("design:type", Array)
|
|
@@ -77,4 +90,9 @@ __decorate([
|
|
|
77
90
|
(0, class_transformer_1.Type)(() => Boolean),
|
|
78
91
|
__metadata("design:type", Boolean)
|
|
79
92
|
], PricePlan.prototype, "active", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
96
|
+
__metadata("design:type", Boolean)
|
|
97
|
+
], PricePlan.prototype, "upcoming", void 0);
|
|
80
98
|
//# sourceMappingURL=plan.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.model.js","sourceRoot":"","sources":["../../src/priceplan/plan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAA4C;AAE5C,MAAa,SAAS;IAIrB,EAAE,CAAS;IAGX,IAAI,CAAgB;IAGpB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,WAAW,CAAS;
|
|
1
|
+
{"version":3,"file":"plan.model.js","sourceRoot":"","sources":["../../src/priceplan/plan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2CAA4C;AAE5C,MAAa,SAAS;IAIrB,EAAE,CAAS;IAGX,IAAI,CAAgB;IAGpB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAGd,QAAQ,CAAW;IAGnB,QAAQ,CAAS;IAGjB,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,WAAW,CAAS;IAIpB,MAAM,CAAU;IAIhB,QAAQ,CAAU;IAElB,YAAY,KAA0B;QACrC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtDD,8BAsDC;AAlDA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;uCACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;uCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;wCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;8CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;4CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;0CAAC;AAGd;IADC,IAAA,0BAAM,GAAE;;2CACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;2CACQ;AAGjB;IADC,IAAA,0BAAM,GAAE;;uCACI;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACL;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACC;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACJ;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;2CACF"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/session/course/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/session/course/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Appointment } from "../../calendar";
|
|
2
|
-
import { User } from "../../user";
|
|
1
|
+
import { Appointment } from "../../calendar/appointment";
|
|
2
|
+
import { User } from "../../user/user.model";
|
|
3
|
+
import { Student } from "../../student/student.model";
|
|
3
4
|
export declare class CourseSession extends Appointment {
|
|
4
|
-
students:
|
|
5
|
+
students: Student;
|
|
5
6
|
attended: User;
|
|
6
7
|
constructor(props?: Partial<CourseSession>);
|
|
7
8
|
}
|
|
@@ -11,9 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CourseSession = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
|
|
14
|
+
const appointment_1 = require("../../calendar/appointment");
|
|
15
|
+
const user_model_1 = require("../../user/user.model");
|
|
16
|
+
const student_model_1 = require("../../student/student.model");
|
|
17
|
+
class CourseSession extends appointment_1.Appointment {
|
|
17
18
|
students;
|
|
18
19
|
attended;
|
|
19
20
|
constructor(props) {
|
|
@@ -21,15 +22,15 @@ class CourseSession extends calendar_1.Appointment {
|
|
|
21
22
|
Object.assign(this, props);
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
exports.CourseSession = CourseSession;
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, class_transformer_1.Expose)(),
|
|
27
|
-
(0, class_transformer_1.Type)(() =>
|
|
28
|
-
__metadata("design:type",
|
|
27
|
+
(0, class_transformer_1.Type)(() => student_model_1.Student),
|
|
28
|
+
__metadata("design:type", student_model_1.Student)
|
|
29
29
|
], CourseSession.prototype, "students", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, class_transformer_1.Expose)(),
|
|
32
|
-
(0, class_transformer_1.Type)(() =>
|
|
33
|
-
__metadata("design:type",
|
|
32
|
+
(0, class_transformer_1.Type)(() => user_model_1.User),
|
|
33
|
+
__metadata("design:type", user_model_1.User)
|
|
34
34
|
], CourseSession.prototype, "attended", void 0);
|
|
35
|
+
exports.CourseSession = CourseSession;
|
|
35
36
|
//# sourceMappingURL=session.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.model.js","sourceRoot":"","sources":["../../../src/session/course/session.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"session.model.js","sourceRoot":"","sources":["../../../src/session/course/session.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,4DAAyD;AACzD,sDAA6C;AAC7C,+DAAsD;AAEtD,MAAa,aAAc,SAAQ,yBAAW;IAI7C,QAAQ,CAAU;IAIlB,QAAQ,CAAO;IAEf,YAAY,KAA8B;QACzC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAVA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;8BACV,uBAAO;+CAAC;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;8BACP,iBAAI;+CAAC;AARhB,sCAcC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.DrivingAppointmentAssessment = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class DrivingAppointmentAssessment {
|
|
15
|
+
number;
|
|
16
|
+
sessionNumber;
|
|
17
|
+
score;
|
|
18
|
+
date;
|
|
19
|
+
exam;
|
|
20
|
+
constructor(props) {
|
|
21
|
+
Object.assign(this, props);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.DrivingAppointmentAssessment = DrivingAppointmentAssessment;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], DrivingAppointmentAssessment.prototype, "number", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], DrivingAppointmentAssessment.prototype, "sessionNumber", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], DrivingAppointmentAssessment.prototype, "score", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], DrivingAppointmentAssessment.prototype, "date", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
48
|
+
__metadata("design:type", Boolean)
|
|
49
|
+
], DrivingAppointmentAssessment.prototype, "exam", void 0);
|
|
50
|
+
//# sourceMappingURL=appointment-assessment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment-assessment.js","sourceRoot":"","sources":["../../../src/session/driving/appointment-assessment.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,4BAA4B;IAIxC,MAAM,CAAS;IAIf,aAAa,CAAS;IAItB,KAAK,CAAS;IAId,IAAI,CAAO;IAIX,IAAI,CAAU;IAEd,YAAY,KAA6C;QACxD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzBD,oEAyBC;AArBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4DACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mEACG;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2DACL;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;0DAAC;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;0DACN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './request.dto';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./request.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/support/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SupportRequestSubmitDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SupportRequestSubmitDto {
|
|
16
|
+
userId;
|
|
17
|
+
name;
|
|
18
|
+
description;
|
|
19
|
+
}
|
|
20
|
+
exports.SupportRequestSubmitDto = SupportRequestSubmitDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, class_validator_1.Min)(1),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], SupportRequestSubmitDto.prototype, "userId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SupportRequestSubmitDto.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_transformer_1.Transform)(({ value }) => value?.trim()),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], SupportRequestSubmitDto.prototype, "description", void 0);
|
|
39
|
+
//# sourceMappingURL=request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.dto.js","sourceRoot":"","sources":["../../src/support/request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAkF;AAElF,MAAa,uBAAuB;IAKnC,MAAM,CAAS;IAKf,IAAI,CAAS;IAKb,WAAW,CAAS;CACpB;AAhBD,0DAgBC;AAXA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;uDACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;qDACzB;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;;4DAClB"}
|