@intelact/driveup 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/agent/agent.model.d.ts +11 -0
- package/lib/agent/agent.model.js +55 -0
- package/lib/agent/agent.model.js.map +1 -0
- package/lib/agent/code.model.d.ts +9 -0
- package/lib/agent/code.model.js +49 -0
- package/lib/agent/code.model.js.map +1 -0
- package/lib/agent/index.d.ts +3 -0
- package/lib/agent/index.js +20 -0
- package/lib/agent/index.js.map +1 -0
- package/lib/agent/payout.model.d.ts +14 -0
- package/lib/agent/payout.model.js +67 -0
- package/lib/agent/payout.model.js.map +1 -0
- package/lib/company/company.model.d.ts +43 -0
- package/lib/company/company.model.js +153 -0
- package/lib/company/company.model.js.map +1 -0
- package/lib/company/course/appointment.model.d.ts +13 -0
- package/lib/company/course/appointment.model.js +60 -0
- package/lib/company/course/appointment.model.js.map +1 -0
- package/lib/company/course/course.model.d.ts +18 -0
- package/lib/company/course/course.model.js +87 -0
- package/lib/company/course/course.model.js.map +1 -0
- package/lib/company/course/finances/discount.model.d.ts +9 -0
- package/lib/company/course/finances/discount.model.js +45 -0
- package/lib/company/course/finances/discount.model.js.map +1 -0
- package/lib/company/course/finances/index.d.ts +5 -0
- package/lib/company/course/finances/index.js +22 -0
- package/lib/company/course/finances/index.js.map +1 -0
- package/lib/company/course/finances/invoice-item.model.d.ts +8 -0
- package/lib/company/course/finances/invoice-item.model.js +44 -0
- package/lib/company/course/finances/invoice-item.model.js.map +1 -0
- package/lib/company/course/finances/invoice.model.d.ts +20 -0
- package/lib/company/course/finances/invoice.model.js +92 -0
- package/lib/company/course/finances/invoice.model.js.map +1 -0
- package/lib/company/course/finances/payment.model.d.ts +16 -0
- package/lib/company/course/finances/payment.model.js +76 -0
- package/lib/company/course/finances/payment.model.js.map +1 -0
- package/lib/company/course/finances/refund.model.d.ts +9 -0
- package/lib/company/course/finances/refund.model.js +45 -0
- package/lib/company/course/finances/refund.model.js.map +1 -0
- package/lib/company/course/index.d.ts +4 -0
- package/lib/company/course/index.js +21 -0
- package/lib/company/course/index.js.map +1 -0
- package/lib/company/course/part.model.d.ts +12 -0
- package/lib/company/course/part.model.js +58 -0
- package/lib/company/course/part.model.js.map +1 -0
- package/lib/company/driving/category.model.d.ts +19 -0
- package/lib/company/driving/category.model.js +97 -0
- package/lib/company/driving/category.model.js.map +1 -0
- package/lib/company/driving/finances/discount.model.d.ts +9 -0
- package/lib/company/driving/finances/discount.model.js +45 -0
- package/lib/company/driving/finances/discount.model.js.map +1 -0
- package/lib/company/driving/finances/index.d.ts +5 -0
- package/lib/company/driving/finances/index.js +22 -0
- package/lib/company/driving/finances/index.js.map +1 -0
- package/lib/company/driving/finances/invoice-item.model.d.ts +8 -0
- package/lib/company/driving/finances/invoice-item.model.js +44 -0
- package/lib/company/driving/finances/invoice-item.model.js.map +1 -0
- package/lib/company/driving/finances/invoice.model.d.ts +20 -0
- package/lib/company/driving/finances/invoice.model.js +92 -0
- package/lib/company/driving/finances/invoice.model.js.map +1 -0
- package/lib/company/driving/finances/payment.model.d.ts +16 -0
- package/lib/company/driving/finances/payment.model.js +76 -0
- package/lib/company/driving/finances/payment.model.js.map +1 -0
- package/lib/company/driving/finances/refund.model.d.ts +9 -0
- package/lib/company/driving/finances/refund.model.js +45 -0
- package/lib/company/driving/finances/refund.model.js.map +1 -0
- package/lib/company/driving/index.d.ts +4 -0
- package/lib/company/driving/index.js +21 -0
- package/lib/company/driving/index.js.map +1 -0
- package/lib/company/driving/skill.model.d.ts +12 -0
- package/lib/company/driving/skill.model.js +59 -0
- package/lib/company/driving/skill.model.js.map +1 -0
- package/lib/company/driving/topic.model.d.ts +14 -0
- package/lib/company/driving/topic.model.js +68 -0
- package/lib/company/driving/topic.model.js.map +1 -0
- package/lib/company/event.model.d.ts +11 -0
- package/lib/company/event.model.js +57 -0
- package/lib/company/event.model.js.map +1 -0
- package/lib/company/finances/card.model.d.ts +11 -0
- package/lib/company/finances/card.model.js +56 -0
- package/lib/company/finances/card.model.js.map +1 -0
- package/lib/company/finances/credit.model.d.ts +13 -0
- package/lib/company/finances/credit.model.js +64 -0
- package/lib/company/finances/credit.model.js.map +1 -0
- package/lib/company/finances/expense-category.model.d.ts +8 -0
- package/lib/company/finances/expense-category.model.js +39 -0
- package/lib/company/finances/expense-category.model.js.map +1 -0
- package/lib/company/finances/expense.model.d.ts +14 -0
- package/lib/company/finances/expense.model.js +63 -0
- package/lib/company/finances/expense.model.js.map +1 -0
- package/lib/company/finances/index.d.ts +6 -0
- package/lib/company/finances/index.js +23 -0
- package/lib/company/finances/index.js.map +1 -0
- package/lib/company/finances/payment.model.d.ts +8 -0
- package/lib/company/finances/payment.model.js +40 -0
- package/lib/company/finances/payment.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 +6 -0
- package/lib/company/index.js +23 -0
- package/lib/company/index.js.map +1 -0
- package/lib/company/user.model.d.ts +29 -0
- package/lib/company/user.model.js +128 -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 +7 -0
- package/lib/enums/index.js +24 -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/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 +24 -0
- package/lib/enums/training.js +33 -0
- package/lib/enums/training.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -1
- package/lib/security/acl.d.ts +1 -0
- package/lib/security/acl.js +6 -0
- package/lib/security/acl.js.map +1 -0
- package/lib/security/index.d.ts +4 -0
- package/lib/security/index.js +21 -0
- package/lib/security/index.js.map +1 -0
- package/lib/security/permissions.d.ts +4 -0
- package/lib/security/permissions.js +9 -0
- package/lib/security/permissions.js.map +1 -0
- package/lib/security/roles.d.ts +9 -0
- package/lib/security/roles.js +14 -0
- package/lib/security/roles.js.map +1 -0
- package/lib/security/token.interface.d.ts +7 -0
- package/lib/security/token.interface.js +3 -0
- package/lib/security/token.interface.js.map +1 -0
- package/lib/student/course/appointment.model.d.ts +8 -0
- package/lib/student/course/appointment.model.js +40 -0
- package/lib/student/course/appointment.model.js.map +1 -0
- package/lib/student/course/index.d.ts +3 -0
- package/lib/student/course/index.js +20 -0
- package/lib/student/course/index.js.map +1 -0
- package/lib/student/course/request.model.d.ts +19 -0
- package/lib/student/course/request.model.js +85 -0
- package/lib/student/course/request.model.js.map +1 -0
- package/lib/student/course/training.model.d.ts +30 -0
- package/lib/student/course/training.model.js +136 -0
- package/lib/student/course/training.model.js.map +1 -0
- package/lib/student/driving/appointment-skill.model.d.ts +9 -0
- package/lib/student/driving/appointment-skill.model.js +40 -0
- package/lib/student/driving/appointment-skill.model.js.map +1 -0
- package/lib/student/driving/appointment-topic.model.d.ts +11 -0
- package/lib/student/driving/appointment-topic.model.js +47 -0
- package/lib/student/driving/appointment-topic.model.js.map +1 -0
- package/lib/student/driving/appointment.model.d.ts +19 -0
- package/lib/student/driving/appointment.model.js +89 -0
- package/lib/student/driving/appointment.model.js.map +1 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.d.ts +8 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js +40 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js.map +1 -0
- package/lib/student/driving/exam/exam.model.d.ts +11 -0
- package/lib/student/driving/exam/exam.model.js +50 -0
- package/lib/student/driving/exam/exam.model.js.map +1 -0
- package/lib/student/driving/index.d.ts +9 -0
- package/lib/student/driving/index.js +26 -0
- package/lib/student/driving/index.js.map +1 -0
- package/lib/student/driving/request.model.d.ts +17 -0
- package/lib/student/driving/request.model.js +82 -0
- package/lib/student/driving/request.model.js.map +1 -0
- package/lib/student/driving/skill.model.d.ts +13 -0
- package/lib/student/driving/skill.model.js +54 -0
- package/lib/student/driving/skill.model.js.map +1 -0
- package/lib/student/driving/topic.model.d.ts +16 -0
- package/lib/student/driving/topic.model.js +67 -0
- package/lib/student/driving/topic.model.js.map +1 -0
- package/lib/student/driving/training.model.d.ts +44 -0
- package/lib/student/driving/training.model.js +202 -0
- package/lib/student/driving/training.model.js.map +1 -0
- package/lib/student/index.d.ts +4 -0
- package/lib/student/index.js +21 -0
- package/lib/student/index.js.map +1 -0
- package/lib/student/signature.model.d.ts +10 -0
- package/lib/student/signature.model.js +50 -0
- package/lib/student/signature.model.js.map +1 -0
- package/lib/student/student.model.d.ts +13 -0
- package/lib/student/student.model.js +58 -0
- package/lib/student/student.model.js.map +1 -0
- package/lib/system/country.model.d.ts +18 -0
- package/lib/system/country.model.js +84 -0
- package/lib/system/country.model.js.map +1 -0
- package/lib/system/driving/category.model.d.ts +14 -0
- package/lib/system/driving/category.model.js +73 -0
- package/lib/system/driving/category.model.js.map +1 -0
- package/lib/system/driving/category.trans.model.d.ts +8 -0
- package/lib/system/driving/category.trans.model.js +42 -0
- package/lib/system/driving/category.trans.model.js.map +1 -0
- package/lib/system/driving/skill.model.d.ts +11 -0
- package/lib/system/driving/skill.model.js +61 -0
- package/lib/system/driving/skill.model.js.map +1 -0
- package/lib/system/driving/skill.trans.model.d.ts +9 -0
- package/lib/system/driving/skill.trans.model.js +48 -0
- package/lib/system/driving/skill.trans.model.js.map +1 -0
- package/lib/system/driving/topic.model.d.ts +12 -0
- package/lib/system/driving/topic.model.js +62 -0
- package/lib/system/driving/topic.model.js.map +1 -0
- package/lib/system/driving/topic.trans.model.d.ts +8 -0
- package/lib/system/driving/topic.trans.model.js +42 -0
- package/lib/system/driving/topic.trans.model.js.map +1 -0
- package/lib/system/finances/currency.model.d.ts +11 -0
- package/lib/system/finances/currency.model.js +60 -0
- package/lib/system/finances/currency.model.js.map +1 -0
- package/lib/system/finances/index.d.ts +2 -0
- package/lib/system/finances/index.js +19 -0
- package/lib/system/finances/index.js.map +1 -0
- package/lib/system/finances/priceplan.model.d.ts +15 -0
- package/lib/system/finances/priceplan.model.js +74 -0
- package/lib/system/finances/priceplan.model.js.map +1 -0
- package/lib/system/finances/priceplan.translation.d.ts +8 -0
- package/lib/system/finances/priceplan.translation.js +42 -0
- package/lib/system/finances/priceplan.translation.js.map +1 -0
- package/lib/system/index.d.ts +2 -0
- package/lib/system/index.js +19 -0
- package/lib/system/index.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/index.d.ts +1 -0
- package/lib/user/index.js +1 -0
- package/lib/user/index.js.map +1 -1
- package/lib/user/notification/index.d.ts +2 -0
- package/lib/user/notification/index.js +19 -0
- package/lib/user/notification/index.js.map +1 -0
- package/lib/user/notification/notification-preference.model.d.ts +4 -0
- package/lib/user/notification/notification-preference.model.js +25 -0
- package/lib/user/notification/notification-preference.model.js.map +1 -0
- package/lib/user/notification/notification.model.d.ts +11 -0
- package/lib/user/notification/notification.model.js +54 -0
- package/lib/user/notification/notification.model.js.map +1 -0
- package/lib/user/user.model.d.ts +30 -1
- package/lib/user/user.model.js +116 -2
- package/lib/user/user.model.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,95 @@
|
|
|
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.CompanyPricePlan = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const enums_1 = require("../../enums");
|
|
15
|
+
const system_1 = require("../../system");
|
|
16
|
+
const company_model_1 = require("../company.model");
|
|
17
|
+
class CompanyPricePlan {
|
|
18
|
+
name;
|
|
19
|
+
model;
|
|
20
|
+
icon;
|
|
21
|
+
title;
|
|
22
|
+
description;
|
|
23
|
+
recurring;
|
|
24
|
+
price;
|
|
25
|
+
discount;
|
|
26
|
+
startDate;
|
|
27
|
+
endDate;
|
|
28
|
+
active;
|
|
29
|
+
company;
|
|
30
|
+
plan;
|
|
31
|
+
constructor(props) {
|
|
32
|
+
Object.assign(this, props);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.CompanyPricePlan = CompanyPricePlan;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CompanyPricePlan.prototype, "name", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CompanyPricePlan.prototype, "model", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], CompanyPricePlan.prototype, "icon", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CompanyPricePlan.prototype, "title", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], CompanyPricePlan.prototype, "description", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CompanyPricePlan.prototype, "recurring", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], CompanyPricePlan.prototype, "price", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], CompanyPricePlan.prototype, "discount", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
73
|
+
__metadata("design:type", Date)
|
|
74
|
+
], CompanyPricePlan.prototype, "startDate", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_transformer_1.Expose)(),
|
|
77
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
78
|
+
__metadata("design:type", Date)
|
|
79
|
+
], CompanyPricePlan.prototype, "endDate", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], CompanyPricePlan.prototype, "active", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
(0, class_transformer_1.Type)(() => company_model_1.Company),
|
|
88
|
+
__metadata("design:type", company_model_1.Company)
|
|
89
|
+
], CompanyPricePlan.prototype, "company", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_transformer_1.Expose)(),
|
|
92
|
+
(0, class_transformer_1.Type)(() => system_1.PricePlan),
|
|
93
|
+
__metadata("design:type", system_1.PricePlan)
|
|
94
|
+
], CompanyPricePlan.prototype, "plan", void 0);
|
|
95
|
+
//# sourceMappingURL=priceplan.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priceplan.model.js","sourceRoot":"","sources":["../../../src/company/finances/priceplan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,uCAA8D;AAC9D,yCAAyC;AACzC,oDAA2C;AAE3C,MAAa,gBAAgB;IAG5B,IAAI,CAAS;IAGb,KAAK,CAAiB;IAGtB,IAAI,CAAS;IAKb,KAAK,CAAS;IAGd,WAAW,CAAS;IAKpB,SAAS,CAAkB;IAM3B,KAAK,CAAS;IAId,QAAQ,CAAS;IAMjB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAMd,MAAM,CAAU;IAMhB,OAAO,CAAU;IAIjB,IAAI,CAAY;IAIhB,YAAY,KAAiC;QAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAjED,4CAiEC;AA9DA;IADC,IAAA,0BAAM,GAAE;;8CACI;AAGb;IADC,IAAA,0BAAM,GAAE;;+CACa;AAGtB;IADC,IAAA,0BAAM,GAAE;;8CACI;AAKb;IADC,IAAA,0BAAM,GAAE;;+CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;qDACW;AAKpB;IADC,IAAA,0BAAM,GAAE;;mDACkB;AAM3B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;+CACL;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kDACF;AAMjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;mDAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;iDAAC;AAMd;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;gDACJ;AAMhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;8BACX,uBAAO;iDAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAS,CAAC;8BAChB,kBAAS;8CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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("./company.model"), exports);
|
|
18
|
+
__exportStar(require("./event.model"), exports);
|
|
19
|
+
__exportStar(require("./user.model"), exports);
|
|
20
|
+
__exportStar(require("./course"), exports);
|
|
21
|
+
__exportStar(require("./driving"), exports);
|
|
22
|
+
__exportStar(require("./finances"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/company/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,gDAA8B;AAC9B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Language } from "../enums";
|
|
2
|
+
import { Role } from "../security";
|
|
3
|
+
import { Company } from "./company.model";
|
|
4
|
+
import { StudentDrivingTraining } from "../student/driving/training.model";
|
|
5
|
+
import { StudentDrivingAppointment } from "../student/driving/appointment.model";
|
|
6
|
+
import { CoursePart } from "./course/part.model";
|
|
7
|
+
import { CourseAppointment } from "./course/appointment.model";
|
|
8
|
+
import { Event } from "./event.model";
|
|
9
|
+
export declare class CompanyUser {
|
|
10
|
+
id: number;
|
|
11
|
+
name: string;
|
|
12
|
+
phone: string;
|
|
13
|
+
avatarUrl: string;
|
|
14
|
+
email: string;
|
|
15
|
+
birthday: Date;
|
|
16
|
+
address: string;
|
|
17
|
+
appLanguage: Language;
|
|
18
|
+
totalUnseenNotifications: number;
|
|
19
|
+
totalSeenNotifications: number;
|
|
20
|
+
role: Role;
|
|
21
|
+
workingHours: string;
|
|
22
|
+
company: Company;
|
|
23
|
+
instructorDrivingTrainings: StudentDrivingTraining[];
|
|
24
|
+
instructorDrivingAppointments: StudentDrivingAppointment[];
|
|
25
|
+
defaultInstructorCourseParts: CoursePart[];
|
|
26
|
+
instructorCourseAppointments: CourseAppointment[];
|
|
27
|
+
events: Event[];
|
|
28
|
+
constructor(props?: Partial<CompanyUser>);
|
|
29
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
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.CompanyUser = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const enums_1 = require("../enums");
|
|
15
|
+
const security_1 = require("../security");
|
|
16
|
+
const company_model_1 = require("./company.model");
|
|
17
|
+
const training_model_1 = require("../student/driving/training.model");
|
|
18
|
+
const appointment_model_1 = require("../student/driving/appointment.model");
|
|
19
|
+
const part_model_1 = require("./course/part.model");
|
|
20
|
+
const appointment_model_2 = require("./course/appointment.model");
|
|
21
|
+
const event_model_1 = require("./event.model");
|
|
22
|
+
class CompanyUser {
|
|
23
|
+
id;
|
|
24
|
+
name;
|
|
25
|
+
phone;
|
|
26
|
+
avatarUrl;
|
|
27
|
+
email;
|
|
28
|
+
birthday;
|
|
29
|
+
address;
|
|
30
|
+
appLanguage;
|
|
31
|
+
totalUnseenNotifications;
|
|
32
|
+
totalSeenNotifications;
|
|
33
|
+
role;
|
|
34
|
+
workingHours;
|
|
35
|
+
company;
|
|
36
|
+
instructorDrivingTrainings;
|
|
37
|
+
instructorDrivingAppointments;
|
|
38
|
+
defaultInstructorCourseParts;
|
|
39
|
+
instructorCourseAppointments;
|
|
40
|
+
events;
|
|
41
|
+
constructor(props) {
|
|
42
|
+
Object.assign(this, props);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CompanyUser = CompanyUser;
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], CompanyUser.prototype, "id", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CompanyUser.prototype, "name", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], CompanyUser.prototype, "phone", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], CompanyUser.prototype, "avatarUrl", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], CompanyUser.prototype, "email", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
70
|
+
__metadata("design:type", Date)
|
|
71
|
+
], CompanyUser.prototype, "birthday", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], CompanyUser.prototype, "address", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], CompanyUser.prototype, "appLanguage", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], CompanyUser.prototype, "totalUnseenNotifications", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
88
|
+
__metadata("design:type", Number)
|
|
89
|
+
], CompanyUser.prototype, "totalSeenNotifications", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_transformer_1.Expose)(),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], CompanyUser.prototype, "role", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_transformer_1.Expose)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], CompanyUser.prototype, "workingHours", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
(0, class_transformer_1.Type)(() => company_model_1.Company),
|
|
101
|
+
__metadata("design:type", company_model_1.Company)
|
|
102
|
+
], CompanyUser.prototype, "company", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_transformer_1.Expose)(),
|
|
105
|
+
(0, class_transformer_1.Type)(() => training_model_1.StudentDrivingTraining),
|
|
106
|
+
__metadata("design:type", Array)
|
|
107
|
+
], CompanyUser.prototype, "instructorDrivingTrainings", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, class_transformer_1.Expose)(),
|
|
110
|
+
(0, class_transformer_1.Type)(() => appointment_model_1.StudentDrivingAppointment),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], CompanyUser.prototype, "instructorDrivingAppointments", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_transformer_1.Expose)(),
|
|
115
|
+
(0, class_transformer_1.Type)(() => part_model_1.CoursePart),
|
|
116
|
+
__metadata("design:type", Array)
|
|
117
|
+
], CompanyUser.prototype, "defaultInstructorCourseParts", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, class_transformer_1.Expose)(),
|
|
120
|
+
(0, class_transformer_1.Type)(() => appointment_model_2.CourseAppointment),
|
|
121
|
+
__metadata("design:type", Array)
|
|
122
|
+
], CompanyUser.prototype, "instructorCourseAppointments", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, class_transformer_1.Expose)(),
|
|
125
|
+
(0, class_transformer_1.Type)(() => event_model_1.Event),
|
|
126
|
+
__metadata("design:type", Array)
|
|
127
|
+
], CompanyUser.prototype, "events", void 0);
|
|
128
|
+
//# sourceMappingURL=user.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.model.js","sourceRoot":"","sources":["../../src/company/user.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,oCAAoC;AACpC,0CAAmC;AACnC,mDAA0C;AAE1C,sEAA2E;AAC3E,4EAAiF;AACjF,oDAAiD;AACjD,kEAA+D;AAC/D,+CAAsC;AAEtC,MAAa,WAAW;IAIvB,EAAE,CAAS;IAKX,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,SAAS,CAAS;IAGlB,KAAK,CAAS;IAId,QAAQ,CAAO;IAGf,OAAO,CAAS;IAGhB,WAAW,CAAW;IAItB,wBAAwB,CAAS;IAIjC,sBAAsB,CAAS;IAK/B,IAAI,CAAO;IAMX,YAAY,CAAS;IAMrB,OAAO,CAAU;IAOjB,0BAA0B,CAA2B;IAOrD,6BAA6B,CAA8B;IAO3D,4BAA4B,CAAe;IAO3C,4BAA4B,CAAsB;IAOlD,MAAM,CAAU;IAIhB,YAAY,KAA4B;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA/FD,kCA+FC;AA3FA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;uCACR;AAKX;IADC,IAAA,0BAAM,GAAE;;yCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;0CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;8CACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;0CACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;6CAAC;AAGf;IADC,IAAA,0BAAM,GAAE;;4CACO;AAGhB;IADC,IAAA,0BAAM,GAAE;;gDACa;AAItB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6DACc;AAIjC;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2DACY;AAK/B;IADC,IAAA,0BAAM,GAAE;;yCACE;AAMX;IADC,IAAA,0BAAM,GAAE;;iDACY;AAMrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;8BACX,uBAAO;4CAAC;AAOjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAsB,CAAC;;+DACkB;AAOrD;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAyB,CAAC;;kEACqB;AAO3D;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;;iEACoB;AAO3C;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAiB,CAAC;;iEACoB;AAOlD;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mBAAK,CAAC;;2CACF"}
|
|
@@ -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 = PaymentType = {}));
|
|
10
|
+
var InvoiceStatus;
|
|
11
|
+
(function (InvoiceStatus) {
|
|
12
|
+
InvoiceStatus["Pending"] = "PENDING";
|
|
13
|
+
InvoiceStatus["Sent"] = "SENT";
|
|
14
|
+
InvoiceStatus["Paid"] = "PAID";
|
|
15
|
+
})(InvoiceStatus || (exports.InvoiceStatus = InvoiceStatus = {}));
|
|
16
|
+
var ExpenseStatus;
|
|
17
|
+
(function (ExpenseStatus) {
|
|
18
|
+
ExpenseStatus["Pending"] = "PENDING";
|
|
19
|
+
ExpenseStatus["Approved"] = "APPROVED";
|
|
20
|
+
ExpenseStatus["Rejected"] = "REJECTED";
|
|
21
|
+
})(ExpenseStatus || (exports.ExpenseStatus = ExpenseStatus = {}));
|
|
22
|
+
var AgentPayoutStatus;
|
|
23
|
+
(function (AgentPayoutStatus) {
|
|
24
|
+
AgentPayoutStatus["Pending"] = "PENDING";
|
|
25
|
+
AgentPayoutStatus["Paid"] = "PAID";
|
|
26
|
+
})(AgentPayoutStatus || (exports.AgentPayoutStatus = AgentPayoutStatus = {}));
|
|
27
|
+
var PaymentProviderType;
|
|
28
|
+
(function (PaymentProviderType) {
|
|
29
|
+
PaymentProviderType["Stripe"] = "STRIPE";
|
|
30
|
+
})(PaymentProviderType || (exports.PaymentProviderType = 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,2BAAX,WAAW,QAItB;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,8BAAa,CAAA;AACd,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;AACtB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC5B,wCAAmB,CAAA;IACnB,kCAAa,CAAA;AACd,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;AAClB,CAAC,EAFW,mBAAmB,mCAAnB,mBAAmB,QAE9B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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("./language"), exports);
|
|
18
|
+
__exportStar(require("./notification"), exports);
|
|
19
|
+
__exportStar(require("./training"), exports);
|
|
20
|
+
__exportStar(require("./finance"), exports);
|
|
21
|
+
__exportStar(require("./date"), exports);
|
|
22
|
+
__exportStar(require("./score"), exports);
|
|
23
|
+
__exportStar(require("./plan"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,iDAA+B;AAC/B,6CAA2B;AAC3B,4CAA0B;AAC1B,yCAAuB;AACvB,0CAAwB;AACxB,yCAAuB"}
|
|
@@ -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 = 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,wBAAR,QAAQ,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 = 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.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,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"}
|
|
@@ -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 = PricePlanPeriod = {}));
|
|
9
|
+
var PricePlanModel;
|
|
10
|
+
(function (PricePlanModel) {
|
|
11
|
+
PricePlanModel["Growth"] = "GROWTH";
|
|
12
|
+
PricePlanModel["Business"] = "BUSINESS";
|
|
13
|
+
PricePlanModel["Premium"] = "PREMIUM";
|
|
14
|
+
})(PricePlanModel || (exports.PricePlanModel = 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,+BAAf,eAAe,QAG1B;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DrivingTopicStatus = exports.DrivingSkillScore = void 0;
|
|
4
|
+
var DrivingSkillScore;
|
|
5
|
+
(function (DrivingSkillScore) {
|
|
6
|
+
DrivingSkillScore[DrivingSkillScore["Poor"] = 1] = "Poor";
|
|
7
|
+
DrivingSkillScore[DrivingSkillScore["Weak"] = 2] = "Weak";
|
|
8
|
+
DrivingSkillScore[DrivingSkillScore["Fair"] = 3] = "Fair";
|
|
9
|
+
DrivingSkillScore[DrivingSkillScore["Great"] = 4] = "Great";
|
|
10
|
+
DrivingSkillScore[DrivingSkillScore["Excellent"] = 5] = "Excellent";
|
|
11
|
+
})(DrivingSkillScore || (exports.DrivingSkillScore = DrivingSkillScore = {}));
|
|
12
|
+
var DrivingTopicStatus;
|
|
13
|
+
(function (DrivingTopicStatus) {
|
|
14
|
+
DrivingTopicStatus["Planned"] = "PLANNED";
|
|
15
|
+
DrivingTopicStatus["InProgress"] = "INPROGRESS";
|
|
16
|
+
DrivingTopicStatus["Completed"] = "COMPLETED";
|
|
17
|
+
})(DrivingTopicStatus || (exports.DrivingTopicStatus = DrivingTopicStatus = {}));
|
|
18
|
+
//# sourceMappingURL=score.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,iCAAjB,iBAAiB,QAM5B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;AACxB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum TrainingStatus {
|
|
2
|
+
InProgress = "INPROGRESS",
|
|
3
|
+
Completed = "COMPLETED",
|
|
4
|
+
Terminated = "TERMINATED"
|
|
5
|
+
}
|
|
6
|
+
export declare enum DrivingExamStatus {
|
|
7
|
+
Undecided = "UNDECIDED",
|
|
8
|
+
Passed = "PASSED",
|
|
9
|
+
Failed = "FAILED"
|
|
10
|
+
}
|
|
11
|
+
export declare enum DrivingAppointmentType {
|
|
12
|
+
Lesson = "LESSON",
|
|
13
|
+
Exam = "EXAM"
|
|
14
|
+
}
|
|
15
|
+
export declare enum CarTransmission {
|
|
16
|
+
Automatic = "AUTOMATIC",
|
|
17
|
+
Manual = "MANUAL"
|
|
18
|
+
}
|
|
19
|
+
export declare enum TrainingRequestStatus {
|
|
20
|
+
Pending = "PENDING",
|
|
21
|
+
Accepted = "ACCEPTED",
|
|
22
|
+
Rejected = "REJECTED",
|
|
23
|
+
Canceled = "CANCELED"
|
|
24
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrainingRequestStatus = exports.CarTransmission = exports.DrivingAppointmentType = exports.DrivingExamStatus = exports.TrainingStatus = void 0;
|
|
4
|
+
var TrainingStatus;
|
|
5
|
+
(function (TrainingStatus) {
|
|
6
|
+
TrainingStatus["InProgress"] = "INPROGRESS";
|
|
7
|
+
TrainingStatus["Completed"] = "COMPLETED";
|
|
8
|
+
TrainingStatus["Terminated"] = "TERMINATED";
|
|
9
|
+
})(TrainingStatus || (exports.TrainingStatus = TrainingStatus = {}));
|
|
10
|
+
var DrivingExamStatus;
|
|
11
|
+
(function (DrivingExamStatus) {
|
|
12
|
+
DrivingExamStatus["Undecided"] = "UNDECIDED";
|
|
13
|
+
DrivingExamStatus["Passed"] = "PASSED";
|
|
14
|
+
DrivingExamStatus["Failed"] = "FAILED";
|
|
15
|
+
})(DrivingExamStatus || (exports.DrivingExamStatus = DrivingExamStatus = {}));
|
|
16
|
+
var DrivingAppointmentType;
|
|
17
|
+
(function (DrivingAppointmentType) {
|
|
18
|
+
DrivingAppointmentType["Lesson"] = "LESSON";
|
|
19
|
+
DrivingAppointmentType["Exam"] = "EXAM";
|
|
20
|
+
})(DrivingAppointmentType || (exports.DrivingAppointmentType = DrivingAppointmentType = {}));
|
|
21
|
+
var CarTransmission;
|
|
22
|
+
(function (CarTransmission) {
|
|
23
|
+
CarTransmission["Automatic"] = "AUTOMATIC";
|
|
24
|
+
CarTransmission["Manual"] = "MANUAL";
|
|
25
|
+
})(CarTransmission || (exports.CarTransmission = CarTransmission = {}));
|
|
26
|
+
var TrainingRequestStatus;
|
|
27
|
+
(function (TrainingRequestStatus) {
|
|
28
|
+
TrainingRequestStatus["Pending"] = "PENDING";
|
|
29
|
+
TrainingRequestStatus["Accepted"] = "ACCEPTED";
|
|
30
|
+
TrainingRequestStatus["Rejected"] = "REJECTED";
|
|
31
|
+
TrainingRequestStatus["Canceled"] = "CANCELED";
|
|
32
|
+
})(TrainingRequestStatus || (exports.TrainingRequestStatus = TrainingRequestStatus = {}));
|
|
33
|
+
//# sourceMappingURL=training.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"training.js","sourceRoot":"","sources":["../../src/enums/training.ts"],"names":[],"mappings":";;;AACA,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,2CAAyB,CAAA;IACzB,yCAAuB,CAAA;IACvB,2CAAyB,CAAA;AAC1B,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;AAClB,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,uCAAa,CAAA;AACd,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -14,5 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./agent"), exports);
|
|
18
|
+
__exportStar(require("./company"), exports);
|
|
19
|
+
__exportStar(require("./enums"), exports);
|
|
20
|
+
__exportStar(require("./user"), exports);
|
|
21
|
+
__exportStar(require("./security"), exports);
|
|
22
|
+
__exportStar(require("./student"), exports);
|
|
23
|
+
__exportStar(require("./system"), exports);
|
|
17
24
|
__exportStar(require("./user"), exports);
|
|
18
25
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,yCAAuB"}
|