@intelact/driveup 0.5.39 → 0.5.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/date.d.ts +9 -0
- package/lib/common/date.js +14 -0
- package/lib/common/date.js.map +1 -0
- package/lib/company/common/request.status.enum.d.ts +6 -0
- package/lib/company/common/request.status.enum.js +11 -0
- package/lib/company/common/request.status.enum.js.map +1 -0
- package/lib/company/driving/appointment.type.enum.d.ts +4 -0
- package/lib/company/driving/appointment.type.enum.js +9 -0
- package/lib/company/driving/appointment.type.enum.js.map +1 -0
- package/lib/company/driving/exam.status.enum.d.ts +5 -0
- package/lib/company/driving/exam.status.enum.js +10 -0
- package/lib/company/driving/exam.status.enum.js.map +1 -0
- package/lib/company/driving/status.enum.d.ts +5 -0
- package/lib/company/driving/status.enum.js +10 -0
- package/lib/company/driving/status.enum.js.map +1 -0
- package/lib/company/finances/card.model.d.ts +10 -0
- package/lib/company/finances/card.model.js +55 -0
- package/lib/company/finances/card.model.js.map +1 -0
- package/lib/company/finances/priceplan.model.d.ts +19 -0
- package/lib/company/finances/priceplan.model.js +95 -0
- package/lib/company/finances/priceplan.model.js.map +1 -0
- package/lib/company/plan.enum.d.ts +9 -0
- package/lib/company/plan.enum.js +15 -0
- package/lib/company/plan.enum.js.map +1 -0
- package/lib/company/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/tsconfig.tsbuildinfo +1 -1
- package/lib/user/biometric.dto.d.ts +3 -0
- package/lib/user/biometric.dto.js +25 -0
- package/lib/user/biometric.dto.js.map +1 -0
- 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 +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/lib/user/user.model.d.ts +1 -0
- package/lib/user/user.model.js +6 -0
- package/lib/user/user.model.js.map +1 -1
- package/package.json +1 -1
package/lib/user/index.js
CHANGED
|
@@ -14,6 +14,7 @@ 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("./biometric.dto"), exports);
|
|
17
18
|
__exportStar(require("./email.dto"), exports);
|
|
18
19
|
__exportStar(require("./phone.dto"), exports);
|
|
19
20
|
__exportStar(require("./profile.dto"), exports);
|
package/lib/user/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,gDAA8B;AAC9B,iDAA+B;AAC/B,6CAA2B;AAC3B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,8CAA4B;AAC5B,8CAA4B;AAC5B,gDAA8B;AAC9B,iDAA+B;AAC/B,6CAA2B;AAC3B,+CAA6B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./notification-preference.model"), exports);
|
|
18
|
+
__exportStar(require("./notification.enum"), exports);
|
|
19
|
+
__exportStar(require("./notification.model"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/user/notification/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,sDAAoC;AACpC,uDAAqC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UserNotificationPreference = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class UserNotificationPreference {
|
|
15
|
+
id;
|
|
16
|
+
keyword;
|
|
17
|
+
constructor(props) {
|
|
18
|
+
Object.assign(this, props);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.UserNotificationPreference = UserNotificationPreference;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], UserNotificationPreference.prototype, "id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], UserNotificationPreference.prototype, "keyword", void 0);
|
|
31
|
+
//# sourceMappingURL=notification-preference.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-preference.model.js","sourceRoot":"","sources":["../../../src/user/notification/notification-preference.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,MAAa,0BAA0B;IAGtC,EAAE,CAAS;IAGX,OAAO,CAAS;IAIhB,YAAY,KAA2C;QACtD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAbD,gEAaC;AAVA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sDACR;AAGX;IADC,IAAA,0BAAM,GAAE;;2DACO"}
|
|
@@ -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.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.enum.js","sourceRoot":"","sources":["../../../src/user/notification/notification.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,iCAAa,CAAA;AACd,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,oCAAa,CAAA;IACb,sCAAe,CAAA;IACf,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;AACpB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NotificationContext, NotificationType } from "./notification.enum";
|
|
2
|
+
export declare class UserNotification {
|
|
3
|
+
id: number;
|
|
4
|
+
message: string;
|
|
5
|
+
context: NotificationContext;
|
|
6
|
+
type: NotificationType;
|
|
7
|
+
seen: boolean;
|
|
8
|
+
link: string;
|
|
9
|
+
constructor(props?: Partial<UserNotification>);
|
|
10
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UserNotification = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const notification_enum_1 = require("./notification.enum");
|
|
15
|
+
class UserNotification {
|
|
16
|
+
id;
|
|
17
|
+
message;
|
|
18
|
+
context;
|
|
19
|
+
type;
|
|
20
|
+
seen;
|
|
21
|
+
link;
|
|
22
|
+
constructor(props) {
|
|
23
|
+
Object.assign(this, props);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.UserNotification = UserNotification;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], UserNotification.prototype, "id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UserNotification.prototype, "message", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], UserNotification.prototype, "context", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], UserNotification.prototype, "type", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], UserNotification.prototype, "seen", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], UserNotification.prototype, "link", void 0);
|
|
53
|
+
//# sourceMappingURL=notification.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.model.js","sourceRoot":"","sources":["../../../src/user/notification/notification.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,2DAA4E;AAE5E,MAAa,gBAAgB;IAG5B,EAAE,CAAS;IAGX,OAAO,CAAS;IAGhB,OAAO,CAAsB;IAG7B,IAAI,CAAmB;IAIvB,IAAI,CAAU;IAGd,IAAI,CAAS;IAIb,YAAY,KAAiC;QAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1BD,4CA0BC;AAvBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACR;AAGX;IADC,IAAA,0BAAM,GAAE;;iDACO;AAGhB;IADC,IAAA,0BAAM,GAAE;;iDACoB;AAG7B;IADC,IAAA,0BAAM,GAAE;;8CACc;AAIvB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACN;AAGd;IADC,IAAA,0BAAM,GAAE;;8CACI"}
|
package/lib/user/user.model.d.ts
CHANGED
package/lib/user/user.model.js
CHANGED
|
@@ -18,6 +18,7 @@ const agent_1 = require("../agent");
|
|
|
18
18
|
const student_1 = require("../student");
|
|
19
19
|
const profile_type_1 = require("./profile.type");
|
|
20
20
|
class User {
|
|
21
|
+
id;
|
|
21
22
|
uid;
|
|
22
23
|
language;
|
|
23
24
|
status;
|
|
@@ -43,6 +44,11 @@ class User {
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
exports.User = User;
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], User.prototype, "id", void 0);
|
|
46
52
|
__decorate([
|
|
47
53
|
(0, class_transformer_1.Expose)(),
|
|
48
54
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.model.js","sourceRoot":"","sources":["../../src/user/user.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,0CAAuC;AACvC,wCAAiE;AACjE,sCAAoC;AACpC,oCAAiC;AACjC,wCAAqC;AACrC,iDAA6C;AAS7C,MAAa,IAAI;
|
|
1
|
+
{"version":3,"file":"user.model.js","sourceRoot":"","sources":["../../src/user/user.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,0CAAuC;AACvC,wCAAiE;AACjE,sCAAoC;AACpC,oCAAiC;AACjC,wCAAqC;AACrC,iDAA6C;AAS7C,MAAa,IAAI;IAGhB,EAAE,CAAS;IAGX,GAAG,CAAS;IAGZ,QAAQ,CAAW;IAKnB,MAAM,CAAgB;IAKtB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,SAAS,CAAS;IAGlB,KAAK,CAAS;IAId,QAAQ,CAAO;IAGf,OAAO,CAAS;IAGhB,OAAO,CAAS;IAGb,QAAQ,CAA0C;IAMrD,YAAY,CAAO;IAInB,iBAAiB,CAAU;IAK3B,eAAe,CAAc;IAI7B,OAAO,CAAU;IAIjB,KAAK,CAAQ;IAIb,UAAU,CAAc;IAIxB,SAAS,CAAY;IAMrB,OAAO,CAAU;IAIjB,OAAO,CAAU;IAIjB,YAAY,KAAqB;QAChC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzFD,oBAyFC;AAtFA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;iCACG;AAGZ;IADC,IAAA,0BAAM,GAAE;;sCACU;AAKnB;IADC,IAAA,0BAAM,GAAE;;oCACa;AAKtB;IADC,IAAA,0BAAM,GAAE;;kCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;mCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;uCACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;mCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;sCAAC;AAGf;IADC,IAAA,0BAAM,GAAE;;qCACO;AAGhB;IADC,IAAA,0BAAM,GAAE;;qCACO;AAGb;IADF,IAAA,0BAAM,GAAE;;sCAC4C;AAMrD;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACH,IAAI;0CAAC;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;+CACO;AAK3B;IADC,IAAA,0BAAM,GAAE;;6CACoB;AAI7B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;8BACX,iBAAO;qCAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,aAAK,CAAC;8BACX,aAAK;mCAAC;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAW,CAAC;8BACZ,qBAAW;wCAAC;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;;uCACC;AAMrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gBAAO,CAAC;8BACX,gBAAO;qCAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;8BACX,iBAAO;qCAAC"}
|