@intelact/driveup 0.5.56 → 0.7.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 +1 -4
- package/lib/agent/agent.model.js +1 -16
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/agent/code.model.js.map +1 -1
- package/lib/agent/index.d.ts +0 -1
- package/lib/agent/index.js +0 -1
- package/lib/agent/index.js.map +1 -1
- package/lib/auth/biometric.dto.d.ts +3 -0
- package/lib/auth/biometric.dto.js +25 -0
- package/lib/auth/biometric.dto.js.map +1 -0
- package/lib/auth/index.d.ts +3 -0
- package/lib/auth/index.js +20 -0
- package/lib/auth/index.js.map +1 -0
- package/lib/auth/signin.dto.d.ts +6 -0
- package/lib/auth/signin.dto.js +37 -0
- package/lib/auth/signin.dto.js.map +1 -0
- package/lib/auth/signup.dto.d.ts +5 -0
- package/lib/auth/signup.dto.js +38 -0
- package/lib/auth/signup.dto.js.map +1 -0
- package/lib/bank/account.model.d.ts +6 -0
- package/lib/bank/account.model.js +46 -0
- package/lib/bank/account.model.js.map +1 -0
- package/lib/bank/index.d.ts +1 -0
- package/lib/bank/index.js +18 -0
- package/lib/bank/index.js.map +1 -0
- package/lib/calendar/appointment.d.ts +29 -0
- package/lib/calendar/appointment.js +143 -0
- package/lib/calendar/appointment.js.map +1 -0
- package/lib/calendar/date.d.ts +11 -0
- package/lib/calendar/date.js +52 -0
- package/lib/calendar/date.js.map +1 -0
- package/lib/calendar/holiday.d.ts +5 -0
- package/lib/calendar/holiday.js +40 -0
- package/lib/calendar/holiday.js.map +1 -0
- package/lib/calendar/index.d.ts +5 -0
- package/lib/calendar/index.js +22 -0
- package/lib/calendar/index.js.map +1 -0
- package/lib/calendar/types.d.ts +14 -0
- package/lib/calendar/types.js +20 -0
- package/lib/calendar/types.js.map +1 -0
- package/lib/calendar/working.d.ts +9 -0
- package/lib/calendar/working.js +44 -0
- package/lib/calendar/working.js.map +1 -0
- package/lib/common/content.d.ts +9 -0
- package/lib/common/content.js +42 -0
- package/lib/common/content.js.map +1 -0
- package/lib/common/email.d.ts +7 -0
- package/lib/common/email.js +41 -0
- package/lib/common/email.js.map +1 -0
- package/lib/common/index.d.ts +8 -3
- package/lib/common/index.js +8 -3
- package/lib/common/index.js.map +1 -1
- package/lib/common/language.d.ts +9 -0
- package/lib/common/language.js +29 -0
- package/lib/common/language.js.map +1 -0
- package/lib/common/phone.d.ts +4 -0
- package/lib/common/phone.js +32 -0
- package/lib/common/phone.js.map +1 -0
- package/lib/common/promotion.d.ts +3 -0
- package/lib/common/promotion.js +23 -0
- package/lib/common/promotion.js.map +1 -0
- package/lib/common/social.d.ts +4 -0
- package/lib/common/social.js +30 -0
- package/lib/common/social.js.map +1 -0
- package/lib/common/sort.d.ts +3 -0
- package/lib/common/sort.js +23 -0
- package/lib/common/sort.js.map +1 -0
- package/lib/common/url.d.ts +3 -0
- package/lib/common/url.js +25 -0
- package/lib/common/url.js.map +1 -0
- package/lib/company/company.model.d.ts +18 -40
- package/lib/company/company.model.js +35 -36
- package/lib/company/company.model.js.map +1 -1
- package/lib/company/index.d.ts +1 -10
- package/lib/company/index.js +1 -10
- package/lib/company/index.js.map +1 -1
- package/lib/company/priceplan.model.d.ts +16 -0
- package/lib/company/priceplan.model.js +87 -0
- package/lib/company/priceplan.model.js.map +1 -0
- package/lib/country/country.model.d.ts +16 -0
- package/lib/country/country.model.js +80 -0
- package/lib/country/country.model.js.map +1 -0
- package/lib/country/index.d.ts +1 -0
- package/lib/country/index.js +18 -0
- package/lib/country/index.js.map +1 -0
- package/lib/course/appointment.model.d.ts +8 -0
- package/lib/course/appointment.model.js +36 -0
- package/lib/course/appointment.model.js.map +1 -0
- package/lib/course/course.model.d.ts +17 -0
- package/lib/course/course.model.js +94 -0
- package/lib/course/course.model.js.map +1 -0
- package/lib/course/definition.model.d.ts +11 -0
- package/lib/course/definition.model.js +57 -0
- package/lib/course/definition.model.js.map +1 -0
- package/lib/course/index.d.ts +5 -0
- package/lib/course/index.js +22 -0
- package/lib/course/index.js.map +1 -0
- package/lib/course/part.model.d.ts +12 -0
- package/lib/course/part.model.js +67 -0
- package/lib/course/part.model.js.map +1 -0
- package/lib/course/types.d.ts +15 -0
- package/lib/course/types.js +22 -0
- package/lib/course/types.js.map +1 -0
- package/lib/credit/credit.model.d.ts +9 -0
- package/lib/credit/credit.model.js +50 -0
- package/lib/credit/credit.model.js.map +1 -0
- package/lib/credit/index.d.ts +1 -0
- package/lib/credit/index.js +18 -0
- package/lib/credit/index.js.map +1 -0
- package/lib/currency/currency.model.d.ts +9 -0
- package/lib/currency/currency.model.js +53 -0
- package/lib/currency/currency.model.js.map +1 -0
- package/lib/currency/index.d.ts +1 -0
- package/lib/currency/index.js +18 -0
- package/lib/currency/index.js.map +1 -0
- package/lib/device/device.agent.d.ts +11 -0
- package/lib/device/device.agent.js +3 -0
- package/lib/device/device.agent.js.map +1 -0
- package/lib/device/device.model.d.ts +8 -0
- package/lib/device/device.model.js +46 -0
- package/lib/device/device.model.js.map +1 -0
- package/lib/device/index.d.ts +2 -0
- package/lib/device/index.js +19 -0
- package/lib/device/index.js.map +1 -0
- package/lib/discount/discount.model.d.ts +9 -0
- package/lib/discount/discount.model.js +50 -0
- package/lib/discount/discount.model.js.map +1 -0
- package/lib/discount/index.d.ts +1 -0
- package/lib/discount/index.js +18 -0
- package/lib/discount/index.js.map +1 -0
- package/lib/driving/category/category.dto.d.ts +5 -0
- package/lib/driving/category/category.dto.js +38 -0
- package/lib/driving/category/category.dto.js.map +1 -0
- package/lib/driving/category/category.model.d.ts +16 -0
- package/lib/driving/category/category.model.js +87 -0
- package/lib/driving/category/category.model.js.map +1 -0
- package/lib/driving/category/index.d.ts +2 -0
- package/lib/driving/category/index.js +19 -0
- package/lib/driving/category/index.js.map +1 -0
- package/lib/driving/index.d.ts +3 -0
- package/lib/driving/index.js +20 -0
- package/lib/driving/index.js.map +1 -0
- package/lib/driving/lesson/index.d.ts +3 -0
- package/lib/driving/lesson/index.js +20 -0
- package/lib/driving/lesson/index.js.map +1 -0
- package/lib/driving/lesson/skill.d.ts +6 -0
- package/lib/driving/lesson/skill.js +37 -0
- package/lib/driving/lesson/skill.js.map +1 -0
- package/lib/driving/lesson/topic.d.ts +10 -0
- package/lib/driving/lesson/topic.js +58 -0
- package/lib/driving/lesson/topic.js.map +1 -0
- package/lib/driving/lesson/types.d.ts +13 -0
- package/lib/driving/lesson/types.js +19 -0
- package/lib/driving/lesson/types.js.map +1 -0
- package/lib/driving/types.d.ts +8 -0
- package/lib/driving/types.js +14 -0
- package/lib/driving/types.js.map +1 -0
- package/lib/event/event.model.d.ts +8 -0
- package/lib/event/event.model.js +49 -0
- package/lib/event/event.model.js.map +1 -0
- package/lib/event/index.d.ts +1 -0
- package/lib/event/index.js +18 -0
- package/lib/event/index.js.map +1 -0
- package/lib/expense/category.model.d.ts +7 -0
- package/lib/expense/category.model.js +41 -0
- package/lib/expense/category.model.js.map +1 -0
- package/lib/expense/expense.model.d.ts +14 -0
- package/lib/expense/expense.model.js +68 -0
- package/lib/expense/expense.model.js.map +1 -0
- package/lib/expense/expense.types.d.ts +5 -0
- package/lib/expense/expense.types.js +10 -0
- package/lib/expense/expense.types.js.map +1 -0
- package/lib/expense/index.d.ts +3 -0
- package/lib/expense/index.js +20 -0
- package/lib/expense/index.js.map +1 -0
- package/lib/feedback/feedback.model.d.ts +9 -0
- package/lib/feedback/feedback.model.js +52 -0
- package/lib/feedback/feedback.model.js.map +1 -0
- package/lib/feedback/index.d.ts +1 -0
- package/lib/feedback/index.js +18 -0
- package/lib/feedback/index.js.map +1 -0
- package/lib/geo/address.dto.d.ts +12 -0
- package/lib/geo/address.dto.js +71 -0
- package/lib/geo/address.dto.js.map +1 -0
- package/lib/geo/coordinate.model.d.ts +4 -0
- package/lib/geo/coordinate.model.js +29 -0
- package/lib/geo/coordinate.model.js.map +1 -0
- package/lib/geo/index.d.ts +3 -0
- package/lib/geo/index.js +20 -0
- package/lib/geo/index.js.map +1 -0
- package/lib/geo/pickup.model.d.ts +8 -0
- package/lib/geo/pickup.model.js +49 -0
- package/lib/geo/pickup.model.js.map +1 -0
- package/lib/index.d.ts +29 -2
- package/lib/index.js +29 -2
- package/lib/index.js.map +1 -1
- package/lib/instructor/index.d.ts +2 -0
- package/lib/instructor/index.js +19 -0
- package/lib/instructor/index.js.map +1 -0
- package/lib/instructor/instructor.dto.d.ts +6 -0
- package/lib/instructor/instructor.dto.js +39 -0
- package/lib/instructor/instructor.dto.js.map +1 -0
- package/lib/instructor/instructor.model.d.ts +14 -0
- package/lib/instructor/instructor.model.js +63 -0
- package/lib/instructor/instructor.model.js.map +1 -0
- package/lib/invoice/index.d.ts +3 -0
- package/lib/invoice/index.js +20 -0
- package/lib/invoice/index.js.map +1 -0
- package/lib/invoice/invoice.model.d.ts +18 -0
- package/lib/invoice/invoice.model.js +88 -0
- package/lib/invoice/invoice.model.js.map +1 -0
- package/lib/invoice/invoice.types.d.ts +5 -0
- package/lib/invoice/invoice.types.js +10 -0
- package/lib/invoice/invoice.types.js.map +1 -0
- package/lib/invoice/item.model.d.ts +7 -0
- package/lib/invoice/item.model.js +43 -0
- package/lib/invoice/item.model.js.map +1 -0
- package/lib/item/index.d.ts +1 -0
- package/lib/item/index.js +18 -0
- package/lib/item/index.js.map +1 -0
- package/lib/item/item.model.d.ts +13 -0
- package/lib/item/item.model.js +38 -0
- package/lib/item/item.model.js.map +1 -0
- package/lib/language/language.enum.d.ts +4 -4
- package/lib/language/language.enum.js +4 -4
- package/lib/license/index.d.ts +1 -0
- package/lib/license/index.js +18 -0
- package/lib/license/index.js.map +1 -0
- package/lib/license/license.model.d.ts +5 -0
- package/lib/license/license.model.js +41 -0
- package/lib/license/license.model.js.map +1 -0
- package/lib/link/index.d.ts +1 -0
- package/lib/link/index.js +18 -0
- package/lib/link/index.js.map +1 -0
- package/lib/link/link.model.d.ts +15 -0
- package/lib/link/link.model.js +35 -0
- package/lib/link/link.model.js.map +1 -0
- package/lib/note/index.d.ts +1 -0
- package/lib/note/index.js +18 -0
- package/lib/note/index.js.map +1 -0
- package/lib/note/note.model.d.ts +9 -0
- package/lib/note/note.model.js +49 -0
- package/lib/note/note.model.js.map +1 -0
- package/lib/notification/index.d.ts +2 -2
- package/lib/notification/index.js +2 -2
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/notification.model.d.ts +3 -3
- package/lib/notification/notification.model.js +10 -10
- package/lib/notification/notification.model.js.map +1 -1
- package/lib/notification/notification.types.d.ts +11 -0
- package/lib/notification/notification.types.js +17 -0
- package/lib/notification/notification.types.js.map +1 -0
- package/lib/notification/preference.model.d.ts +9 -0
- package/lib/notification/preference.model.js +47 -0
- package/lib/notification/preference.model.js.map +1 -0
- package/lib/payment/index.d.ts +2 -0
- package/lib/payment/index.js +19 -0
- package/lib/payment/index.js.map +1 -0
- package/lib/payment/payment.model.d.ts +14 -0
- package/lib/payment/payment.model.js +74 -0
- package/lib/payment/payment.model.js.map +1 -0
- package/lib/payment/payment.types.d.ts +13 -0
- package/lib/payment/payment.types.js +20 -0
- package/lib/payment/payment.types.js.map +1 -0
- package/lib/payout/index.d.ts +2 -0
- package/lib/payout/index.js +19 -0
- package/lib/payout/index.js.map +1 -0
- package/lib/payout/payout.model.d.ts +12 -0
- package/lib/payout/payout.model.js +58 -0
- package/lib/payout/payout.model.js.map +1 -0
- package/lib/payout/payout.types.d.ts +4 -0
- package/lib/payout/payout.types.js +9 -0
- package/lib/payout/payout.types.js.map +1 -0
- package/lib/priceplan/index.d.ts +2 -0
- package/lib/priceplan/index.js +19 -0
- package/lib/priceplan/index.js.map +1 -0
- package/lib/priceplan/plan.enum.d.ts +10 -0
- package/lib/priceplan/plan.enum.js +16 -0
- package/lib/priceplan/plan.enum.js.map +1 -0
- package/lib/priceplan/plan.model.d.ts +13 -0
- package/lib/priceplan/plan.model.js +70 -0
- package/lib/priceplan/plan.model.js.map +1 -0
- package/lib/refund/index.d.ts +1 -0
- package/lib/refund/index.js +18 -0
- package/lib/refund/index.js.map +1 -0
- package/lib/refund/refund.model.d.ts +11 -0
- package/lib/refund/refund.model.js +57 -0
- package/lib/refund/refund.model.js.map +1 -0
- package/lib/security/account.types.d.ts +8 -0
- package/lib/security/account.types.js +13 -0
- package/lib/security/account.types.js.map +1 -0
- package/lib/security/acl.js +2 -2
- package/lib/security/acl.js.map +1 -1
- package/lib/security/index.d.ts +4 -2
- package/lib/security/index.js +4 -2
- package/lib/security/index.js.map +1 -1
- package/lib/security/role.dto.d.ts +4 -0
- package/lib/security/role.dto.js +24 -0
- package/lib/security/role.dto.js.map +1 -0
- package/lib/security/role.types.d.ts +9 -0
- package/lib/security/role.types.js +14 -0
- package/lib/security/role.types.js.map +1 -0
- package/lib/security/token.d.ts +7 -0
- package/lib/security/token.js +3 -0
- package/lib/security/token.js.map +1 -0
- package/lib/session/course/index.d.ts +1 -0
- package/lib/session/course/index.js +18 -0
- package/lib/session/course/index.js.map +1 -0
- package/lib/session/course/session.model.d.ts +7 -0
- package/lib/session/course/session.model.js +35 -0
- package/lib/session/course/session.model.js.map +1 -0
- package/lib/session/driving/index.d.ts +3 -0
- package/lib/session/driving/index.js +20 -0
- package/lib/session/driving/index.js.map +1 -0
- package/lib/session/driving/session.model.d.ts +14 -0
- package/lib/session/driving/session.model.js +62 -0
- package/lib/session/driving/session.model.js.map +1 -0
- package/lib/session/driving/session.skill.d.ts +5 -0
- package/lib/session/driving/session.skill.js +27 -0
- package/lib/session/driving/session.skill.js.map +1 -0
- package/lib/session/driving/session.topic.d.ts +12 -0
- package/lib/session/driving/session.topic.js +58 -0
- package/lib/session/driving/session.topic.js.map +1 -0
- package/lib/session/index.d.ts +2 -0
- package/lib/session/index.js +19 -0
- package/lib/session/index.js.map +1 -0
- package/lib/setting/index.d.ts +2 -0
- package/lib/setting/index.js +19 -0
- package/lib/setting/index.js.map +1 -0
- package/lib/setting/setting.model.d.ts +10 -0
- package/lib/setting/setting.model.js +52 -0
- package/lib/setting/setting.model.js.map +1 -0
- package/lib/setting/setting.type.d.ts +7 -0
- package/lib/setting/setting.type.js +12 -0
- package/lib/setting/setting.type.js.map +1 -0
- package/lib/signature/index.d.ts +1 -0
- package/lib/signature/index.js +18 -0
- package/lib/signature/index.js.map +1 -0
- package/lib/signature/signature.model.d.ts +7 -0
- package/lib/signature/signature.model.js +42 -0
- package/lib/signature/signature.model.js.map +1 -0
- package/lib/student/index.d.ts +0 -3
- package/lib/student/index.js +0 -3
- package/lib/student/index.js.map +1 -1
- package/lib/student/student.model.d.ts +1 -8
- package/lib/student/student.model.js +1 -28
- package/lib/student/student.model.js.map +1 -1
- package/lib/training/course.model.d.ts +6 -0
- package/lib/training/course.model.js +29 -0
- package/lib/training/course.model.js.map +1 -0
- package/lib/training/driving.model.d.ts +13 -0
- package/lib/training/driving.model.js +59 -0
- package/lib/training/driving.model.js.map +1 -0
- package/lib/training/index.d.ts +5 -0
- package/lib/training/index.js +22 -0
- package/lib/training/index.js.map +1 -0
- package/lib/training/request.model.d.ts +20 -0
- package/lib/training/request.model.js +92 -0
- package/lib/training/request.model.js.map +1 -0
- package/lib/training/training.model.d.ts +31 -0
- package/lib/training/training.model.js +155 -0
- package/lib/training/training.model.js.map +1 -0
- package/lib/training/training.types.d.ts +15 -0
- package/lib/training/training.types.js +22 -0
- package/lib/training/training.types.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/index.d.ts +0 -5
- package/lib/user/index.js +0 -5
- package/lib/user/index.js.map +1 -1
- package/lib/user/profile.dto.d.ts +1 -1
- package/lib/user/profile.dto.js +2 -2
- package/lib/user/profile.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +9 -9
- package/lib/user/user.model.js +28 -13
- package/lib/user/user.model.js.map +1 -1
- package/lib/validators/compare.validator.d.ts +5 -0
- package/lib/validators/compare.validator.js +28 -0
- package/lib/validators/compare.validator.js.map +1 -0
- package/lib/validators/index.d.ts +2 -0
- package/lib/validators/index.js +19 -0
- package/lib/validators/index.js.map +1 -0
- package/lib/validators/required.validator.d.ts +11 -0
- package/lib/validators/required.validator.js +80 -0
- package/lib/validators/required.validator.js.map +1 -0
- package/package.json +1 -3
package/lib/user/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B"}
|
package/lib/user/profile.dto.js
CHANGED
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ChangeProfileDto = exports.CreateProfileDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const
|
|
14
|
+
const common_1 = require("../common");
|
|
15
15
|
const profile_type_1 = require("./profile.type");
|
|
16
16
|
class CreateProfileDto {
|
|
17
17
|
type;
|
|
@@ -25,7 +25,7 @@ __decorate([
|
|
|
25
25
|
], CreateProfileDto.prototype, "type", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
-
(0, class_validator_1.IsEnum)(
|
|
28
|
+
(0, class_validator_1.IsEnum)(common_1.Language),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], CreateProfileDto.prototype, "language", void 0);
|
|
31
31
|
class ChangeProfileDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.dto.js","sourceRoot":"","sources":["../../src/user/profile.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,
|
|
1
|
+
{"version":3,"file":"profile.dto.js","sourceRoot":"","sources":["../../src/user/profile.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,sCAAqC;AACrC,iDAA6C;AAE7C,MAAa,gBAAgB;IAI5B,IAAI,CAAc;IAIlB,QAAQ,CAAW;CACnB;AATD,4CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,0BAAW,CAAC;;8CACF;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iBAAQ,CAAC;;kDACE;AAGpB,MAAa,gBAAgB;IAI5B,IAAI,CAAc;IAIlB,EAAE,CAAS;CACX;AATD,4CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,0BAAW,CAAC;;8CACF;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACA"}
|
package/lib/user/user.model.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { Language } from "../
|
|
2
|
-
import { AccountStatus
|
|
3
|
-
import {
|
|
1
|
+
import { Language } from "../common";
|
|
2
|
+
import { AccountStatus } from "../security";
|
|
3
|
+
import { Company } from "../company";
|
|
4
|
+
import { Instructor } from "../instructor";
|
|
5
|
+
import { Country } from "../country";
|
|
4
6
|
import { Agent } from "../agent";
|
|
5
7
|
import { Student } from "../student";
|
|
6
8
|
import { ProfileType } from "./profile.type";
|
|
@@ -11,23 +13,21 @@ export declare class User {
|
|
|
11
13
|
status: AccountStatus;
|
|
12
14
|
name: string;
|
|
13
15
|
phone: string;
|
|
14
|
-
|
|
16
|
+
image: string;
|
|
15
17
|
email: string;
|
|
16
18
|
birthday: Date;
|
|
17
19
|
address: string;
|
|
18
20
|
zipCode: string;
|
|
19
|
-
location: {
|
|
20
|
-
latitude: number;
|
|
21
|
-
longitude: number;
|
|
22
|
-
};
|
|
23
21
|
lastActivity: Date;
|
|
24
22
|
overdatedActivity: boolean;
|
|
25
23
|
selectedProfile: ProfileType;
|
|
26
24
|
student: Student;
|
|
27
25
|
agent: Agent;
|
|
28
|
-
instructor:
|
|
26
|
+
instructor: Instructor;
|
|
29
27
|
companies: Company[];
|
|
30
28
|
country: Country;
|
|
31
29
|
company: Company;
|
|
32
30
|
constructor(props?: Partial<User>);
|
|
31
|
+
static toInstance(data: any): User[];
|
|
32
|
+
isActive(): boolean;
|
|
33
33
|
}
|
package/lib/user/user.model.js
CHANGED
|
@@ -11,9 +11,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.User = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
14
|
+
const common_1 = require("../common");
|
|
15
|
+
const security_1 = require("../security");
|
|
15
16
|
const company_1 = require("../company");
|
|
16
|
-
const
|
|
17
|
+
const instructor_1 = require("../instructor");
|
|
18
|
+
const country_1 = require("../country");
|
|
17
19
|
const agent_1 = require("../agent");
|
|
18
20
|
const student_1 = require("../student");
|
|
19
21
|
const profile_type_1 = require("./profile.type");
|
|
@@ -24,12 +26,11 @@ class User {
|
|
|
24
26
|
status;
|
|
25
27
|
name;
|
|
26
28
|
phone;
|
|
27
|
-
|
|
29
|
+
image;
|
|
28
30
|
email;
|
|
29
31
|
birthday;
|
|
30
32
|
address;
|
|
31
33
|
zipCode;
|
|
32
|
-
location;
|
|
33
34
|
lastActivity;
|
|
34
35
|
overdatedActivity;
|
|
35
36
|
selectedProfile;
|
|
@@ -42,6 +43,12 @@ class User {
|
|
|
42
43
|
constructor(props) {
|
|
43
44
|
Object.assign(this, props);
|
|
44
45
|
}
|
|
46
|
+
static toInstance(data) {
|
|
47
|
+
return data ? (0, class_transformer_1.plainToInstance)(User, data) : null;
|
|
48
|
+
}
|
|
49
|
+
isActive() {
|
|
50
|
+
return this.status === security_1.AccountStatus.Active;
|
|
51
|
+
}
|
|
45
52
|
}
|
|
46
53
|
exports.User = User;
|
|
47
54
|
__decorate([
|
|
@@ -72,7 +79,7 @@ __decorate([
|
|
|
72
79
|
__decorate([
|
|
73
80
|
(0, class_transformer_1.Expose)(),
|
|
74
81
|
__metadata("design:type", String)
|
|
75
|
-
], User.prototype, "
|
|
82
|
+
], User.prototype, "image", void 0);
|
|
76
83
|
__decorate([
|
|
77
84
|
(0, class_transformer_1.Expose)(),
|
|
78
85
|
__metadata("design:type", String)
|
|
@@ -90,10 +97,6 @@ __decorate([
|
|
|
90
97
|
(0, class_transformer_1.Expose)(),
|
|
91
98
|
__metadata("design:type", String)
|
|
92
99
|
], User.prototype, "zipCode", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, class_transformer_1.Expose)(),
|
|
95
|
-
__metadata("design:type", Object)
|
|
96
|
-
], User.prototype, "location", void 0);
|
|
97
100
|
__decorate([
|
|
98
101
|
(0, class_transformer_1.Expose)(),
|
|
99
102
|
(0, class_transformer_1.Type)(() => Date),
|
|
@@ -120,8 +123,8 @@ __decorate([
|
|
|
120
123
|
], User.prototype, "agent", void 0);
|
|
121
124
|
__decorate([
|
|
122
125
|
(0, class_transformer_1.Expose)(),
|
|
123
|
-
(0, class_transformer_1.Type)(() =>
|
|
124
|
-
__metadata("design:type",
|
|
126
|
+
(0, class_transformer_1.Type)(() => instructor_1.Instructor),
|
|
127
|
+
__metadata("design:type", instructor_1.Instructor)
|
|
125
128
|
], User.prototype, "instructor", void 0);
|
|
126
129
|
__decorate([
|
|
127
130
|
(0, class_transformer_1.Expose)(),
|
|
@@ -130,12 +133,24 @@ __decorate([
|
|
|
130
133
|
], User.prototype, "companies", void 0);
|
|
131
134
|
__decorate([
|
|
132
135
|
(0, class_transformer_1.Expose)(),
|
|
133
|
-
(0, class_transformer_1.Type)(() =>
|
|
134
|
-
__metadata("design:type",
|
|
136
|
+
(0, class_transformer_1.Type)(() => country_1.Country),
|
|
137
|
+
__metadata("design:type", country_1.Country)
|
|
135
138
|
], User.prototype, "country", void 0);
|
|
136
139
|
__decorate([
|
|
137
140
|
(0, class_transformer_1.Expose)(),
|
|
138
141
|
(0, class_transformer_1.Type)(() => company_1.Company),
|
|
139
142
|
__metadata("design:type", company_1.Company)
|
|
140
143
|
], User.prototype, "company", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
|
146
|
+
__metadata("design:type", Function),
|
|
147
|
+
__metadata("design:paramtypes", []),
|
|
148
|
+
__metadata("design:returntype", Boolean)
|
|
149
|
+
], User.prototype, "isActive", null);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, class_transformer_1.Expose)(),
|
|
152
|
+
__metadata("design:type", Function),
|
|
153
|
+
__metadata("design:paramtypes", [Object]),
|
|
154
|
+
__metadata("design:returntype", void 0)
|
|
155
|
+
], User, "toInstance", null);
|
|
141
156
|
//# sourceMappingURL=user.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.model.js","sourceRoot":"","sources":["../../src/user/user.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"user.model.js","sourceRoot":"","sources":["../../src/user/user.model.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ValidationArguments, ValidatorConstraintInterface } from "class-validator";
|
|
2
|
+
export declare class CompareWithEndDate implements ValidatorConstraintInterface {
|
|
3
|
+
validate(startDate: Date, args: ValidationArguments): boolean;
|
|
4
|
+
defaultMessage(args?: ValidationArguments): string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.CompareWithEndDate = void 0;
|
|
10
|
+
const class_validator_1 = require("class-validator");
|
|
11
|
+
const luxon_1 = require("luxon");
|
|
12
|
+
let CompareWithEndDate = class CompareWithEndDate {
|
|
13
|
+
validate(startDate, args) {
|
|
14
|
+
const dto = args.object;
|
|
15
|
+
if (!luxon_1.DateTime.fromJSDate(dto.startDate).isValid ||
|
|
16
|
+
!luxon_1.DateTime.fromJSDate(dto.endDate).isValid)
|
|
17
|
+
return true;
|
|
18
|
+
return dto.startDate <= dto.endDate;
|
|
19
|
+
}
|
|
20
|
+
defaultMessage(args) {
|
|
21
|
+
return 'start date cannot be bigger than end date';
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.CompareWithEndDate = CompareWithEndDate;
|
|
25
|
+
exports.CompareWithEndDate = CompareWithEndDate = __decorate([
|
|
26
|
+
(0, class_validator_1.ValidatorConstraint)({ name: 'CompareWithEndDate', async: false })
|
|
27
|
+
], CompareWithEndDate);
|
|
28
|
+
//# sourceMappingURL=compare.validator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare.validator.js","sourceRoot":"","sources":["../../src/validators/compare.validator.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qDAAyG;AACzG,iCAAiC;AAQ1B,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAE9B,QAAQ,CAAC,SAAe,EAAE,IAAyB;QAClD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAmB,CAAC;QAGrC,IACC,CAAC,gBAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,OAAO;YAC3C,CAAC,gBAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,OAAO;YAEzC,OAAO,IAAI,CAAC;QAEb,OAAO,GAAG,CAAC,SAAS,IAAI,GAAG,CAAC,OAAO,CAAC;IACrC,CAAC;IAED,cAAc,CAAC,IAA0B;QACxC,OAAO,2CAA2C,CAAC;IACpD,CAAC;CACD,CAAA;AAlBY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,qCAAmB,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;GACrD,kBAAkB,CAkB9B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./compare.validator"), exports);
|
|
18
|
+
__exportStar(require("./required.validator"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/validators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,uDAAqC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ValidationArguments, ValidationOptions, ValidatorConstraintInterface } from "class-validator";
|
|
2
|
+
export declare class MutuallyRequiredConstraint implements ValidatorConstraintInterface {
|
|
3
|
+
validate(value: any, args: ValidationArguments): boolean;
|
|
4
|
+
defaultMessage(args: ValidationArguments): string;
|
|
5
|
+
}
|
|
6
|
+
export declare function MutuallyRequired(relatedField: string, validationOptions?: ValidationOptions): (object: Object, propertyName: string) => void;
|
|
7
|
+
export declare class EitherRequiredConstraint implements ValidatorConstraintInterface {
|
|
8
|
+
validate(value: any, args: ValidationArguments): boolean;
|
|
9
|
+
defaultMessage(args: ValidationArguments): string;
|
|
10
|
+
}
|
|
11
|
+
export declare function EitherRequired(relatedField: string, validationOptions?: ValidationOptions): (object: Object, propertyName: string) => void;
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.EitherRequiredConstraint = exports.MutuallyRequiredConstraint = void 0;
|
|
10
|
+
exports.MutuallyRequired = MutuallyRequired;
|
|
11
|
+
exports.EitherRequired = EitherRequired;
|
|
12
|
+
const class_validator_1 = require("class-validator");
|
|
13
|
+
let MutuallyRequiredConstraint = class MutuallyRequiredConstraint {
|
|
14
|
+
validate(value, args) {
|
|
15
|
+
const dto = args.object;
|
|
16
|
+
const relatedField = args.constraints[0];
|
|
17
|
+
const relatedValue = dto[relatedField];
|
|
18
|
+
if (!value && !relatedValue) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
if (value && relatedValue) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
defaultMessage(args) {
|
|
27
|
+
return `${args.property} cannot be null if ${args.constraints[0]} is provided`;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.MutuallyRequiredConstraint = MutuallyRequiredConstraint;
|
|
31
|
+
exports.MutuallyRequiredConstraint = MutuallyRequiredConstraint = __decorate([
|
|
32
|
+
(0, class_validator_1.ValidatorConstraint)({
|
|
33
|
+
name: 'MutuallyRequired',
|
|
34
|
+
async: false
|
|
35
|
+
})
|
|
36
|
+
], MutuallyRequiredConstraint);
|
|
37
|
+
function MutuallyRequired(relatedField, validationOptions) {
|
|
38
|
+
return function (object, propertyName) {
|
|
39
|
+
(0, class_validator_1.registerDecorator)({
|
|
40
|
+
target: object.constructor,
|
|
41
|
+
propertyName: propertyName,
|
|
42
|
+
options: validationOptions,
|
|
43
|
+
constraints: [relatedField],
|
|
44
|
+
validator: MutuallyRequiredConstraint
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
let EitherRequiredConstraint = class EitherRequiredConstraint {
|
|
49
|
+
validate(value, args) {
|
|
50
|
+
const dto = args.object;
|
|
51
|
+
const relatedField = args.constraints[0];
|
|
52
|
+
const relatedValue = dto[relatedField];
|
|
53
|
+
if (value || relatedValue) {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
defaultMessage(args) {
|
|
59
|
+
return `${args.property} cannot be empty if ${args.constraints[0]} is also empty`;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
exports.EitherRequiredConstraint = EitherRequiredConstraint;
|
|
63
|
+
exports.EitherRequiredConstraint = EitherRequiredConstraint = __decorate([
|
|
64
|
+
(0, class_validator_1.ValidatorConstraint)({
|
|
65
|
+
name: 'EitherRequired',
|
|
66
|
+
async: false
|
|
67
|
+
})
|
|
68
|
+
], EitherRequiredConstraint);
|
|
69
|
+
function EitherRequired(relatedField, validationOptions) {
|
|
70
|
+
return function (object, propertyName) {
|
|
71
|
+
(0, class_validator_1.registerDecorator)({
|
|
72
|
+
target: object.constructor,
|
|
73
|
+
propertyName: propertyName,
|
|
74
|
+
options: validationOptions,
|
|
75
|
+
constraints: [relatedField],
|
|
76
|
+
validator: EitherRequiredConstraint
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=required.validator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"required.validator.js","sourceRoot":"","sources":["../../src/validators/required.validator.ts"],"names":[],"mappings":";;;;;;;;;AA0CA,4CAaC;AA+BD,wCAaC;AAnGD,qDAMyB;AAMlB,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC,QAAQ,CAAC,KAAU,EAAE,IAAyB;QAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,MAA6B,CAAC;QAC/C,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACzC,MAAM,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC;QAEvC,IAAI,CAAC,KAAK,IAAI,CAAC,YAAY,EAAE,CAAC;YAE7B,OAAO,IAAI,CAAC;QACb,CAAC;QAED,IAAI,KAAK,IAAI,YAAY,EAAE,CAAC;YAE3B,OAAO,IAAI,CAAC;QACb,CAAC;QAGD,OAAO,KAAK,CAAC;IACd,CAAC;IAED,cAAc,CAAC,IAAyB;QACvC,OAAO,GAAG,IAAI,CAAC,QAAQ,sBAAsB,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC;IAChF,CAAC;CACD,CAAA;AAvBY,gEAA0B;qCAA1B,0BAA0B;IAJtC,IAAA,qCAAmB,EAAC;QACpB,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,KAAK;KACZ,CAAC;GACW,0BAA0B,CAuBtC;AAOD,SAAgB,gBAAgB,CAC/B,YAAoB,EACpB,iBAAqC;IAErC,OAAO,UAAU,MAAc,EAAE,YAAoB;QACpD,IAAA,mCAAiB,EAAC;YACjB,MAAM,EAAE,MAAM,CAAC,WAAW;YAC1B,YAAY,EAAE,YAAY;YAC1B,OAAO,EAAE,iBAAiB;YAC1B,WAAW,EAAE,CAAC,YAAY,CAAC;YAC3B,SAAS,EAAE,0BAA0B;SACrC,CAAC,CAAC;IACJ,CAAC,CAAC;AACH,CAAC;AAMM,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACpC,QAAQ,CAAC,KAAU,EAAE,IAAyB;QAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,MAA6B,CAAC;QAC/C,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACzC,MAAM,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC;QAEvC,IAAI,KAAK,IAAI,YAAY,EAAE,CAAC;YAE3B,OAAO,IAAI,CAAC;QACb,CAAC;QAGD,OAAO,KAAK,CAAC;IACd,CAAC;IAED,cAAc,CAAC,IAAyB;QACvC,OAAO,GAAG,IAAI,CAAC,QAAQ,uBAAuB,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,gBAAgB,CAAC;IACnF,CAAC;CACD,CAAA;AAlBY,4DAAwB;mCAAxB,wBAAwB;IAJpC,IAAA,qCAAmB,EAAC;QACpB,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,KAAK;KACZ,CAAC;GACW,wBAAwB,CAkBpC;AAOD,SAAgB,cAAc,CAC7B,YAAoB,EACpB,iBAAqC;IAErC,OAAO,UAAU,MAAc,EAAE,YAAoB;QACpD,IAAA,mCAAiB,EAAC;YACjB,MAAM,EAAE,MAAM,CAAC,WAAW;YAC1B,YAAY,EAAE,YAAY;YAC1B,OAAO,EAAE,iBAAiB;YAC1B,WAAW,EAAE,CAAC,YAAY,CAAC;YAC3B,SAAS,EAAE,wBAAwB;SACnC,CAAC,CAAC;IACJ,CAAC,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intelact/driveup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Driveup Common",
|
|
5
5
|
"author": "Intelact Solutions Ltd.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -24,14 +24,12 @@
|
|
|
24
24
|
"node": ">=20"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
|
28
27
|
"class-transformer": "^0.5.1",
|
|
29
28
|
"class-validator": "^0.14.1",
|
|
30
29
|
"luxon": "^3.5.0",
|
|
31
30
|
"reflect-metadata": "^0.2.2"
|
|
32
31
|
},
|
|
33
32
|
"peerDependencies": {
|
|
34
|
-
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
|
35
33
|
"class-validator": "^0.14.1",
|
|
36
34
|
"luxon": "^3.5.0",
|
|
37
35
|
"reflect-metadata": "^0.2.2"
|