@intelact/driveup 2.4.3 → 2.4.5
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/package.json +2 -2
- package/lib/agent/agent.dto.d.ts +0 -6
- package/lib/agent/agent.dto.js +0 -39
- package/lib/agent/agent.dto.js.map +0 -1
- package/lib/agent/agent.model.d.ts +0 -13
- package/lib/agent/agent.model.js +0 -60
- package/lib/agent/agent.model.js.map +0 -1
- package/lib/agent/client.model.d.ts +0 -8
- package/lib/agent/client.model.js +0 -37
- package/lib/agent/client.model.js.map +0 -1
- package/lib/agent/code.model.d.ts +0 -12
- package/lib/agent/code.model.js +0 -43
- package/lib/agent/code.model.js.map +0 -1
- package/lib/alert/alert.model.d.ts +0 -16
- package/lib/alert/alert.model.js +0 -66
- package/lib/alert/alert.model.js.map +0 -1
- package/lib/auth/signin.dto.d.ts +0 -6
- package/lib/auth/signin.dto.js +0 -35
- package/lib/auth/signin.dto.js.map +0 -1
- package/lib/auth/signup.dto.d.ts +0 -9
- package/lib/auth/signup.dto.js +0 -46
- package/lib/auth/signup.dto.js.map +0 -1
- package/lib/bill/bill-item.model.d.ts +0 -38
- package/lib/bill/bill-item.model.js +0 -88
- package/lib/bill/bill-item.model.js.map +0 -1
- package/lib/bill/bill.model.d.ts +0 -36
- package/lib/bill/bill.model.js +0 -101
- package/lib/bill/bill.model.js.map +0 -1
- package/lib/calendar/appointment.d.ts +0 -92
- package/lib/calendar/appointment.js +0 -213
- package/lib/calendar/appointment.js.map +0 -1
- package/lib/calendar/date.d.ts +0 -23
- package/lib/calendar/date.js +0 -87
- package/lib/calendar/date.js.map +0 -1
- package/lib/calendar/holiday.d.ts +0 -7
- package/lib/calendar/holiday.js +0 -28
- package/lib/calendar/holiday.js.map +0 -1
- package/lib/calendar/token.d.ts +0 -15
- package/lib/calendar/token.js +0 -3
- package/lib/calendar/token.js.map +0 -1
- package/lib/calendar/working.d.ts +0 -9
- package/lib/calendar/working.js +0 -41
- package/lib/calendar/working.js.map +0 -1
- package/lib/common/app-info.d.ts +0 -21
- package/lib/common/app-info.js +0 -93
- package/lib/common/app-info.js.map +0 -1
- package/lib/common/content.d.ts +0 -21
- package/lib/common/content.js +0 -78
- package/lib/common/content.js.map +0 -1
- package/lib/common/email.d.ts +0 -4
- package/lib/common/email.js +0 -29
- package/lib/common/email.js.map +0 -1
- package/lib/common/id.d.ts +0 -3
- package/lib/common/id.js +0 -25
- package/lib/common/id.js.map +0 -1
- package/lib/common/language.d.ts +0 -4
- package/lib/common/language.js +0 -22
- package/lib/common/language.js.map +0 -1
- package/lib/common/phone.d.ts +0 -4
- package/lib/common/phone.js +0 -31
- package/lib/common/phone.js.map +0 -1
- package/lib/common/price.d.ts +0 -3
- package/lib/common/price.js +0 -25
- package/lib/common/price.js.map +0 -1
- package/lib/common/profile.d.ts +0 -5
- package/lib/common/profile.js +0 -28
- package/lib/common/profile.js.map +0 -1
- package/lib/common/promotion.d.ts +0 -3
- package/lib/common/promotion.js +0 -24
- package/lib/common/promotion.js.map +0 -1
- package/lib/common/search.d.ts +0 -3
- package/lib/common/search.js +0 -23
- package/lib/common/search.js.map +0 -1
- package/lib/common/social.d.ts +0 -7
- package/lib/common/social.js +0 -40
- package/lib/common/social.js.map +0 -1
- package/lib/common/sort.d.ts +0 -7
- package/lib/common/sort.js +0 -39
- package/lib/common/sort.js.map +0 -1
- package/lib/common/url.d.ts +0 -3
- package/lib/common/url.js +0 -24
- package/lib/common/url.js.map +0 -1
- package/lib/company/company-widget.model.d.ts +0 -10
- package/lib/company/company-widget.model.js +0 -35
- package/lib/company/company-widget.model.js.map +0 -1
- package/lib/company/company.model.d.ts +0 -75
- package/lib/company/company.model.js +0 -227
- package/lib/company/company.model.js.map +0 -1
- package/lib/company/dependency.model.d.ts +0 -5
- package/lib/company/dependency.model.js +0 -30
- package/lib/company/dependency.model.js.map +0 -1
- package/lib/country/country.dto.d.ts +0 -24
- package/lib/country/country.dto.js +0 -132
- package/lib/country/country.dto.js.map +0 -1
- package/lib/country/country.model.d.ts +0 -19
- package/lib/country/country.model.js +0 -80
- package/lib/country/country.model.js.map +0 -1
- package/lib/course/appointment.model.d.ts +0 -14
- package/lib/course/appointment.model.js +0 -47
- package/lib/course/appointment.model.js.map +0 -1
- package/lib/course/course.model.d.ts +0 -44
- package/lib/course/course.model.js +0 -141
- package/lib/course/course.model.js.map +0 -1
- package/lib/course/definition.model.d.ts +0 -15
- package/lib/course/definition.model.js +0 -66
- package/lib/course/definition.model.js.map +0 -1
- package/lib/course/dto.d.ts +0 -47
- package/lib/course/dto.js +0 -191
- package/lib/course/dto.js.map +0 -1
- package/lib/course/part.model.d.ts +0 -23
- package/lib/course/part.model.js +0 -86
- package/lib/course/part.model.js.map +0 -1
- package/lib/credit/credit.model.d.ts +0 -8
- package/lib/credit/credit.model.js +0 -43
- package/lib/credit/credit.model.js.map +0 -1
- package/lib/currency/currency.dto.d.ts +0 -19
- package/lib/currency/currency.dto.js +0 -109
- package/lib/currency/currency.dto.js.map +0 -1
- package/lib/currency/currency.model.d.ts +0 -11
- package/lib/currency/currency.model.js +0 -53
- package/lib/currency/currency.model.js.map +0 -1
- package/lib/device/device.agent.d.ts +0 -51
- package/lib/device/device.agent.js +0 -3
- package/lib/device/device.agent.js.map +0 -1
- package/lib/device/device.model.d.ts +0 -11
- package/lib/device/device.model.js +0 -53
- package/lib/device/device.model.js.map +0 -1
- package/lib/device/device.signature.d.ts +0 -4
- package/lib/device/device.signature.js +0 -30
- package/lib/device/device.signature.js.map +0 -1
- package/lib/driving/category/category.dto.d.ts +0 -37
- package/lib/driving/category/category.dto.js +0 -144
- package/lib/driving/category/category.dto.js.map +0 -1
- package/lib/driving/category/category.model.d.ts +0 -35
- package/lib/driving/category/category.model.js +0 -99
- package/lib/driving/category/category.model.js.map +0 -1
- package/lib/driving/exam/exam.dto.d.ts +0 -8
- package/lib/driving/exam/exam.dto.js +0 -39
- package/lib/driving/exam/exam.dto.js.map +0 -1
- package/lib/driving/exam/exam.model.d.ts +0 -8
- package/lib/driving/exam/exam.model.js +0 -39
- package/lib/driving/exam/exam.model.js.map +0 -1
- package/lib/driving/lesson/lesson.d.ts +0 -10
- package/lib/driving/lesson/lesson.js +0 -48
- package/lib/driving/lesson/lesson.js.map +0 -1
- package/lib/driving/lesson/skill.d.ts +0 -13
- package/lib/driving/lesson/skill.dto.d.ts +0 -7
- package/lib/driving/lesson/skill.dto.js +0 -32
- package/lib/driving/lesson/skill.dto.js.map +0 -1
- package/lib/driving/lesson/skill.js +0 -43
- package/lib/driving/lesson/skill.js.map +0 -1
- package/lib/driving/lesson/topic.d.ts +0 -20
- package/lib/driving/lesson/topic.dto.d.ts +0 -18
- package/lib/driving/lesson/topic.dto.js +0 -72
- package/lib/driving/lesson/topic.dto.js.map +0 -1
- package/lib/driving/lesson/topic.js +0 -72
- package/lib/driving/lesson/topic.js.map +0 -1
- package/lib/expense/category.model.d.ts +0 -18
- package/lib/expense/category.model.js +0 -69
- package/lib/expense/category.model.js.map +0 -1
- package/lib/expense/expense.dto.d.ts +0 -28
- package/lib/expense/expense.dto.js +0 -144
- package/lib/expense/expense.dto.js.map +0 -1
- package/lib/expense/expense.model.d.ts +0 -19
- package/lib/expense/expense.model.js +0 -85
- package/lib/expense/expense.model.js.map +0 -1
- package/lib/finance/company-payment.model.d.ts +0 -10
- package/lib/finance/company-payment.model.js +0 -45
- package/lib/finance/company-payment.model.js.map +0 -1
- package/lib/finance/discount.dto.d.ts +0 -4
- package/lib/finance/discount.dto.js +0 -30
- package/lib/finance/discount.dto.js.map +0 -1
- package/lib/finance/finance.dto.d.ts +0 -56
- package/lib/finance/finance.dto.js +0 -277
- package/lib/finance/finance.dto.js.map +0 -1
- package/lib/finance/finance.model.d.ts +0 -34
- package/lib/finance/finance.model.js +0 -124
- package/lib/finance/finance.model.js.map +0 -1
- package/lib/finance/payment-method.model.d.ts +0 -20
- package/lib/finance/payment-method.model.js +0 -72
- package/lib/finance/payment-method.model.js.map +0 -1
- package/lib/finance/payment.dto.d.ts +0 -6
- package/lib/finance/payment.dto.js +0 -37
- package/lib/finance/payment.dto.js.map +0 -1
- package/lib/finance/refund.dto.d.ts +0 -4
- package/lib/finance/refund.dto.js +0 -30
- package/lib/finance/refund.dto.js.map +0 -1
- package/lib/free-benefit/free-benefit.model.d.ts +0 -7
- package/lib/free-benefit/free-benefit.model.js +0 -31
- package/lib/free-benefit/free-benefit.model.js.map +0 -1
- package/lib/geo/address.dto.d.ts +0 -19
- package/lib/geo/address.dto.js +0 -73
- package/lib/geo/address.dto.js.map +0 -1
- package/lib/geo/geoinfo.interface.d.ts +0 -17
- package/lib/geo/geoinfo.interface.js +0 -3
- package/lib/geo/geoinfo.interface.js.map +0 -1
- package/lib/geo/pickup.model.d.ts +0 -11
- package/lib/geo/pickup.model.js +0 -55
- package/lib/geo/pickup.model.js.map +0 -1
- package/lib/giftcode/giftcode-group.model.d.ts +0 -13
- package/lib/giftcode/giftcode-group.model.js +0 -56
- package/lib/giftcode/giftcode-group.model.js.map +0 -1
- package/lib/giftcode/giftcode.dto.d.ts +0 -37
- package/lib/giftcode/giftcode.dto.js +0 -130
- package/lib/giftcode/giftcode.dto.js.map +0 -1
- package/lib/giftcode/giftcode.model.d.ts +0 -19
- package/lib/giftcode/giftcode.model.js +0 -70
- package/lib/giftcode/giftcode.model.js.map +0 -1
- package/lib/handover/handover.dto.d.ts +0 -6
- package/lib/handover/handover.dto.js +0 -41
- package/lib/handover/handover.dto.js.map +0 -1
- package/lib/handover/handover.model.d.ts +0 -14
- package/lib/handover/handover.model.js +0 -59
- package/lib/handover/handover.model.js.map +0 -1
- package/lib/index.d.ts +0 -118
- package/lib/index.js +0 -309
- package/lib/index.js.map +0 -1
- package/lib/instructor/instructor.dto.d.ts +0 -19
- package/lib/instructor/instructor.dto.js +0 -95
- package/lib/instructor/instructor.dto.js.map +0 -1
- package/lib/instructor/instructor.model.d.ts +0 -46
- package/lib/instructor/instructor.model.js +0 -164
- package/lib/instructor/instructor.model.js.map +0 -1
- package/lib/invoice/invoice.dto.d.ts +0 -10
- package/lib/invoice/invoice.dto.js +0 -60
- package/lib/invoice/invoice.dto.js.map +0 -1
- package/lib/invoice/invoice.model.d.ts +0 -33
- package/lib/invoice/invoice.model.js +0 -137
- package/lib/invoice/invoice.model.js.map +0 -1
- package/lib/invoice/item.model.d.ts +0 -7
- package/lib/invoice/item.model.js +0 -38
- package/lib/invoice/item.model.js.map +0 -1
- package/lib/item/item.model.d.ts +0 -68
- package/lib/item/item.model.js +0 -46
- package/lib/item/item.model.js.map +0 -1
- package/lib/license/license.model.d.ts +0 -7
- package/lib/license/license.model.js +0 -47
- package/lib/license/license.model.js.map +0 -1
- package/lib/log/log.model.d.ts +0 -8
- package/lib/log/log.model.js +0 -38
- package/lib/log/log.model.js.map +0 -1
- package/lib/metric/metric.model.d.ts +0 -43
- package/lib/metric/metric.model.js +0 -113
- package/lib/metric/metric.model.js.map +0 -1
- package/lib/notification/notification.model.d.ts +0 -13
- package/lib/notification/notification.model.js +0 -60
- package/lib/notification/notification.model.js.map +0 -1
- package/lib/notification/preference.dto.d.ts +0 -5
- package/lib/notification/preference.dto.js +0 -33
- package/lib/notification/preference.dto.js.map +0 -1
- package/lib/notification/preference.model.d.ts +0 -8
- package/lib/notification/preference.model.js +0 -42
- package/lib/notification/preference.model.js.map +0 -1
- package/lib/payout/payout.model.d.ts +0 -12
- package/lib/payout/payout.model.js +0 -59
- package/lib/payout/payout.model.js.map +0 -1
- package/lib/priceplan/plan.dto.d.ts +0 -13
- package/lib/priceplan/plan.dto.js +0 -67
- package/lib/priceplan/plan.dto.js.map +0 -1
- package/lib/priceplan/plan.model.d.ts +0 -38
- package/lib/priceplan/plan.model.js +0 -111
- package/lib/priceplan/plan.model.js.map +0 -1
- package/lib/public/contac-us.dto.d.ts +0 -6
- package/lib/public/contac-us.dto.js +0 -43
- package/lib/public/contac-us.dto.js.map +0 -1
- package/lib/public/contact-sales.dto.d.ts +0 -9
- package/lib/public/contact-sales.dto.js +0 -62
- package/lib/public/contact-sales.dto.js.map +0 -1
- package/lib/public/country-support.dto.d.ts +0 -6
- package/lib/public/country-support.dto.js +0 -43
- package/lib/public/country-support.dto.js.map +0 -1
- package/lib/security/role.dto.d.ts +0 -4
- package/lib/security/role.dto.js +0 -23
- package/lib/security/role.dto.js.map +0 -1
- package/lib/security/token.d.ts +0 -30
- package/lib/security/token.js +0 -3
- package/lib/security/token.js.map +0 -1
- package/lib/session/driving/session.dto.d.ts +0 -13
- package/lib/session/driving/session.dto.js +0 -71
- package/lib/session/driving/session.dto.js.map +0 -1
- package/lib/session/driving/session.model.d.ts +0 -16
- package/lib/session/driving/session.model.js +0 -56
- package/lib/session/driving/session.model.js.map +0 -1
- package/lib/session/driving/session.skill.d.ts +0 -5
- package/lib/session/driving/session.skill.js +0 -27
- package/lib/session/driving/session.skill.js.map +0 -1
- package/lib/session/driving/session.topic.d.ts +0 -13
- package/lib/session/driving/session.topic.js +0 -53
- package/lib/session/driving/session.topic.js.map +0 -1
- package/lib/setting/setting.dto.d.ts +0 -3
- package/lib/setting/setting.dto.js +0 -24
- package/lib/setting/setting.dto.js.map +0 -1
- package/lib/setting/setting.model.d.ts +0 -10
- package/lib/setting/setting.model.js +0 -46
- package/lib/setting/setting.model.js.map +0 -1
- package/lib/signature/signature.model.d.ts +0 -10
- package/lib/signature/signature.model.js +0 -43
- package/lib/signature/signature.model.js.map +0 -1
- package/lib/student/student.dto.d.ts +0 -19
- package/lib/student/student.dto.js +0 -109
- package/lib/student/student.dto.js.map +0 -1
- package/lib/student/student.model.d.ts +0 -27
- package/lib/student/student.model.js +0 -107
- package/lib/student/student.model.js.map +0 -1
- package/lib/task/task.dto.d.ts +0 -24
- package/lib/task/task.dto.js +0 -137
- package/lib/task/task.dto.js.map +0 -1
- package/lib/task/task.model.d.ts +0 -8
- package/lib/task/task.model.js +0 -44
- package/lib/task/task.model.js.map +0 -1
- package/lib/ticket/ticket.dto.d.ts +0 -13
- package/lib/ticket/ticket.dto.js +0 -60
- package/lib/ticket/ticket.dto.js.map +0 -1
- package/lib/ticket/ticket.model.d.ts +0 -11
- package/lib/ticket/ticket.model.js +0 -48
- package/lib/ticket/ticket.model.js.map +0 -1
- package/lib/training/request.dto.d.ts +0 -4
- package/lib/training/request.dto.js +0 -23
- package/lib/training/request.dto.js.map +0 -1
- package/lib/training/request.model.d.ts +0 -25
- package/lib/training/request.model.js +0 -88
- package/lib/training/request.model.js.map +0 -1
- package/lib/training/training-actions.model.d.ts +0 -7
- package/lib/training/training-actions.model.js +0 -40
- package/lib/training/training-actions.model.js.map +0 -1
- package/lib/training/training.dto.d.ts +0 -56
- package/lib/training/training.dto.js +0 -255
- package/lib/training/training.dto.js.map +0 -1
- package/lib/training/training.model.d.ts +0 -137
- package/lib/training/training.model.js +0 -308
- package/lib/training/training.model.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/user/agent.interface.d.ts +0 -6
- package/lib/user/agent.interface.js +0 -3
- package/lib/user/agent.interface.js.map +0 -1
- package/lib/user/profile.dto.d.ts +0 -12
- package/lib/user/profile.dto.js +0 -52
- package/lib/user/profile.dto.js.map +0 -1
- package/lib/user/user.model.d.ts +0 -50
- package/lib/user/user.model.js +0 -174
- package/lib/user/user.model.js.map +0 -1
- package/lib/utils/array.helper.d.ts +0 -28
- package/lib/utils/array.helper.js +0 -42
- package/lib/utils/array.helper.js.map +0 -1
- package/lib/utils/compare.validator.d.ts +0 -9
- package/lib/utils/compare.validator.js +0 -35
- package/lib/utils/compare.validator.js.map +0 -1
- package/lib/utils/date.helper.d.ts +0 -127
- package/lib/utils/date.helper.js +0 -265
- package/lib/utils/date.helper.js.map +0 -1
- package/lib/utils/phone.helper.d.ts +0 -9
- package/lib/utils/phone.helper.js +0 -17
- package/lib/utils/phone.helper.js.map +0 -1
- package/lib/utils/required.validator.d.ts +0 -77
- package/lib/utils/required.validator.js +0 -151
- package/lib/utils/required.validator.js.map +0 -1
- package/lib/utils/transformers.helper.d.ts +0 -49
- package/lib/utils/transformers.helper.js +0 -203
- package/lib/utils/transformers.helper.js.map +0 -1
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PricePlanFeature, PricePlanType } from "@driveup/shared";
|
|
2
|
-
export declare class PricePlanFilterDto {
|
|
3
|
-
active: boolean;
|
|
4
|
-
countryId: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class SystemPricePlanSubmitDto {
|
|
7
|
-
name?: string;
|
|
8
|
-
type: PricePlanType;
|
|
9
|
-
price: number;
|
|
10
|
-
startCredit: number;
|
|
11
|
-
features?: PricePlanFeature[];
|
|
12
|
-
minUsers?: number;
|
|
13
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
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.SystemPricePlanSubmitDto = exports.PricePlanFilterDto = void 0;
|
|
13
|
-
const shared_1 = require("@driveup/shared");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const transformers_helper_1 = require("../utils/transformers.helper");
|
|
16
|
-
class PricePlanFilterDto {
|
|
17
|
-
}
|
|
18
|
-
exports.PricePlanFilterDto = PricePlanFilterDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsOptional)(),
|
|
21
|
-
(0, transformers_helper_1.ToBoolean)(),
|
|
22
|
-
__metadata("design:type", Boolean)
|
|
23
|
-
], PricePlanFilterDto.prototype, "active", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
(0, transformers_helper_1.ToNumber)(),
|
|
27
|
-
(0, class_validator_1.IsNumber)(),
|
|
28
|
-
(0, class_validator_1.Min)(1),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], PricePlanFilterDto.prototype, "countryId", void 0);
|
|
31
|
-
class SystemPricePlanSubmitDto {
|
|
32
|
-
}
|
|
33
|
-
exports.SystemPricePlanSubmitDto = SystemPricePlanSubmitDto;
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
(0, transformers_helper_1.Trim)(),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], SystemPricePlanSubmitDto.prototype, "name", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
-
(0, class_validator_1.IsEnum)(shared_1.PricePlanType),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], SystemPricePlanSubmitDto.prototype, "type", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsOptional)(),
|
|
46
|
-
(0, class_validator_1.IsNumber)(),
|
|
47
|
-
(0, class_validator_1.Min)(0),
|
|
48
|
-
__metadata("design:type", Number)
|
|
49
|
-
], SystemPricePlanSubmitDto.prototype, "price", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_validator_1.IsOptional)(),
|
|
52
|
-
(0, class_validator_1.IsNumber)(),
|
|
53
|
-
(0, class_validator_1.Min)(0),
|
|
54
|
-
__metadata("design:type", Number)
|
|
55
|
-
], SystemPricePlanSubmitDto.prototype, "startCredit", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
(0, class_validator_1.IsEnum)(shared_1.PricePlanFeature, { each: true }),
|
|
59
|
-
__metadata("design:type", Array)
|
|
60
|
-
], SystemPricePlanSubmitDto.prototype, "features", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.IsOptional)(),
|
|
63
|
-
(0, class_validator_1.IsNumber)(),
|
|
64
|
-
(0, class_validator_1.Min)(0),
|
|
65
|
-
__metadata("design:type", Number)
|
|
66
|
-
], SystemPricePlanSubmitDto.prototype, "minUsers", void 0);
|
|
67
|
-
//# sourceMappingURL=plan.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plan.dto.js","sourceRoot":"","sources":["../../src/priceplan/plan.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAkE;AAClE,qDAAgF;AAEhF,sEAAyE;AACzE,MAAa,kBAAkB;CAU9B;AAVD,gDAUC;AAPA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAS,GAAE;;kDACI;AAMhB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAQ,GAAE;IACV,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;qDACW;AAGnB,MAAa,wBAAwB;CA2BpC;AA3BD,4DA2BC;AAxBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;;sDACO;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,sBAAa,CAAC;;sDACF;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;uDACO;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;6DACa;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,yBAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0DACX;AAK9B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;0DACW"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { PricePlanType } from '@driveup/shared';
|
|
2
|
-
import { Country } from "../country/country.model";
|
|
3
|
-
import { Item } from "../item/item.model";
|
|
4
|
-
export declare class PricePlan {
|
|
5
|
-
id: number;
|
|
6
|
-
country: Country;
|
|
7
|
-
type: PricePlanType;
|
|
8
|
-
name: string;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
startDate: Date;
|
|
12
|
-
featured: boolean;
|
|
13
|
-
icon: string;
|
|
14
|
-
price: number;
|
|
15
|
-
startCredit: number;
|
|
16
|
-
active: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Only for company enterprise plan
|
|
19
|
-
*/
|
|
20
|
-
maxSeats: number;
|
|
21
|
-
/**
|
|
22
|
-
* Only for company enterprise plan
|
|
23
|
-
*/
|
|
24
|
-
takenSeats: number;
|
|
25
|
-
upcoming: boolean;
|
|
26
|
-
features: Item<string>[];
|
|
27
|
-
usage: Item<string>[];
|
|
28
|
-
priceLabel: {
|
|
29
|
-
header: string;
|
|
30
|
-
banner: string;
|
|
31
|
-
unit: string;
|
|
32
|
-
};
|
|
33
|
-
statusBanner: {
|
|
34
|
-
label: string;
|
|
35
|
-
action: string;
|
|
36
|
-
};
|
|
37
|
-
constructor(props?: Partial<PricePlan>);
|
|
38
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
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.PricePlan = void 0;
|
|
13
|
-
const shared_1 = require("@driveup/shared");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const country_model_1 = require("../country/country.model");
|
|
16
|
-
const item_model_1 = require("../item/item.model");
|
|
17
|
-
class PricePlan {
|
|
18
|
-
constructor(props) {
|
|
19
|
-
Object.assign(this, props);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.PricePlan = PricePlan;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_transformer_1.Expose)(),
|
|
25
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
26
|
-
__metadata("design:type", Number)
|
|
27
|
-
], PricePlan.prototype, "id", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_transformer_1.Expose)(),
|
|
30
|
-
(0, class_transformer_1.Type)(() => country_model_1.Country),
|
|
31
|
-
__metadata("design:type", country_model_1.Country)
|
|
32
|
-
], PricePlan.prototype, "country", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_transformer_1.Expose)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], PricePlan.prototype, "type", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_transformer_1.Expose)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], PricePlan.prototype, "name", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, class_transformer_1.Expose)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], PricePlan.prototype, "title", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_transformer_1.Expose)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], PricePlan.prototype, "description", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_transformer_1.Expose)(),
|
|
51
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
52
|
-
__metadata("design:type", Date)
|
|
53
|
-
], PricePlan.prototype, "startDate", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, class_transformer_1.Expose)(),
|
|
56
|
-
(0, class_transformer_1.Type)(() => Boolean),
|
|
57
|
-
__metadata("design:type", Boolean)
|
|
58
|
-
], PricePlan.prototype, "featured", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, class_transformer_1.Expose)(),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], PricePlan.prototype, "icon", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, class_transformer_1.Expose)(),
|
|
65
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], PricePlan.prototype, "price", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_transformer_1.Expose)(),
|
|
70
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
71
|
-
__metadata("design:type", Number)
|
|
72
|
-
], PricePlan.prototype, "startCredit", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, class_transformer_1.Expose)(),
|
|
75
|
-
(0, class_transformer_1.Type)(() => Boolean),
|
|
76
|
-
__metadata("design:type", Boolean)
|
|
77
|
-
], PricePlan.prototype, "active", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, class_transformer_1.Expose)(),
|
|
80
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
81
|
-
__metadata("design:type", Number)
|
|
82
|
-
], PricePlan.prototype, "maxSeats", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, class_transformer_1.Expose)(),
|
|
85
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
86
|
-
__metadata("design:type", Number)
|
|
87
|
-
], PricePlan.prototype, "takenSeats", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, class_transformer_1.Expose)(),
|
|
90
|
-
(0, class_transformer_1.Type)(() => Boolean),
|
|
91
|
-
__metadata("design:type", Boolean)
|
|
92
|
-
], PricePlan.prototype, "upcoming", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, class_transformer_1.Expose)(),
|
|
95
|
-
(0, class_transformer_1.Type)(() => item_model_1.Item),
|
|
96
|
-
__metadata("design:type", Array)
|
|
97
|
-
], PricePlan.prototype, "features", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, class_transformer_1.Expose)(),
|
|
100
|
-
(0, class_transformer_1.Type)(() => item_model_1.Item),
|
|
101
|
-
__metadata("design:type", Array)
|
|
102
|
-
], PricePlan.prototype, "usage", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, class_transformer_1.Expose)(),
|
|
105
|
-
__metadata("design:type", Object)
|
|
106
|
-
], PricePlan.prototype, "priceLabel", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, class_transformer_1.Expose)(),
|
|
109
|
-
__metadata("design:type", Object)
|
|
110
|
-
], PricePlan.prototype, "statusBanner", void 0);
|
|
111
|
-
//# sourceMappingURL=plan.model.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plan.model.js","sourceRoot":"","sources":["../../src/priceplan/plan.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAgD;AAChD,yDAAiD;AACjD,4DAAmD;AACnD,mDAA0C;AAC1C,MAAa,SAAS;IAoFrB,YAAY,KAA0B;QACrC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAvFD,8BAuFC;AAnFA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;8BACX,uBAAO;0CAAC;AAGjB;IADC,IAAA,0BAAM,GAAE;;uCACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;uCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;wCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;8CACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;4CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;2CACF;AAGlB;IADC,IAAA,0BAAM,GAAE;;uCACI;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACL;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACC;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACJ;AAOhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACF;AAOjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6CACA;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;2CACF;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;;2CACQ;AAIzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;;wCACK;AAGtB;IADC,IAAA,0BAAM,GAAE;;6CAKP;AAGF;IADC,IAAA,0BAAM,GAAE;;+CAIP"}
|
|
@@ -1,43 +0,0 @@
|
|
|
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.ContactUsRequestDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const transformers_helper_1 = require("../utils/transformers.helper");
|
|
15
|
-
class ContactUsRequestDto {
|
|
16
|
-
}
|
|
17
|
-
exports.ContactUsRequestDto = ContactUsRequestDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
(0, class_validator_1.IsString)(),
|
|
21
|
-
(0, transformers_helper_1.Trim)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], ContactUsRequestDto.prototype, "name", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_validator_1.IsEmail)(),
|
|
28
|
-
(0, transformers_helper_1.Trim)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ContactUsRequestDto.prototype, "email", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, transformers_helper_1.Trim)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], ContactUsRequestDto.prototype, "message", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
(0, transformers_helper_1.Trim)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], ContactUsRequestDto.prototype, "recaptchaToken", void 0);
|
|
43
|
-
//# sourceMappingURL=contac-us.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contac-us.dto.js","sourceRoot":"","sources":["../../src/public/contac-us.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAChE,sEAAoD;AACpD,MAAa,mBAAmB;CAsB/B;AAtBD,kDAsBC;AAjBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;iDACO;AAMd;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAI,GAAE;;kDACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;oDACU;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;2DACiB"}
|
|
@@ -1,62 +0,0 @@
|
|
|
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.ContactSalesRequestDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const transformers_helper_1 = require("../utils/transformers.helper");
|
|
15
|
-
class ContactSalesRequestDto {
|
|
16
|
-
}
|
|
17
|
-
exports.ContactSalesRequestDto = ContactSalesRequestDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
(0, class_validator_1.IsString)(),
|
|
21
|
-
(0, transformers_helper_1.Trim)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], ContactSalesRequestDto.prototype, "name", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_validator_1.IsEmail)(),
|
|
28
|
-
(0, transformers_helper_1.Trim)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ContactSalesRequestDto.prototype, "email", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_validator_1.IsPhoneNumber)(),
|
|
35
|
-
(0, transformers_helper_1.Trim)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], ContactSalesRequestDto.prototype, "phone", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
-
(0, class_validator_1.IsString)(),
|
|
41
|
-
(0, transformers_helper_1.Trim)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], ContactSalesRequestDto.prototype, "country", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
-
(0, class_validator_1.IsString)(),
|
|
47
|
-
(0, transformers_helper_1.Trim)(),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], ContactSalesRequestDto.prototype, "subject", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
52
|
-
(0, class_validator_1.IsString)(),
|
|
53
|
-
(0, transformers_helper_1.Trim)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], ContactSalesRequestDto.prototype, "message", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
58
|
-
(0, class_validator_1.IsString)(),
|
|
59
|
-
(0, transformers_helper_1.Trim)(),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], ContactSalesRequestDto.prototype, "recaptchaToken", void 0);
|
|
62
|
-
//# sourceMappingURL=contact-sales.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contact-sales.dto.js","sourceRoot":"","sources":["../../src/public/contact-sales.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+E;AAC/E,sEAAoD;AACpD,MAAa,sBAAsB;CAsClC;AAtCD,wDAsCC;AAjCA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;oDACO;AAMd;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAI,GAAE;;qDACQ;AAMf;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,+BAAa,GAAE;IACf,IAAA,0BAAI,GAAE;;qDACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;uDACU;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;uDACU;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;uDACU;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;8DACiB"}
|
|
@@ -1,43 +0,0 @@
|
|
|
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.CountrySupportRequestDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const transformers_helper_1 = require("../utils/transformers.helper");
|
|
15
|
-
class CountrySupportRequestDto {
|
|
16
|
-
}
|
|
17
|
-
exports.CountrySupportRequestDto = CountrySupportRequestDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
(0, class_validator_1.IsString)(),
|
|
21
|
-
(0, transformers_helper_1.Trim)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], CountrySupportRequestDto.prototype, "country", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_validator_1.IsEmail)(),
|
|
28
|
-
(0, transformers_helper_1.Trim)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], CountrySupportRequestDto.prototype, "email", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, transformers_helper_1.Trim)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CountrySupportRequestDto.prototype, "message", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
(0, transformers_helper_1.Trim)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], CountrySupportRequestDto.prototype, "recaptchaToken", void 0);
|
|
43
|
-
//# sourceMappingURL=country-support.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"country-support.dto.js","sourceRoot":"","sources":["../../src/public/country-support.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAChE,sEAAoD;AACpD,MAAa,wBAAwB;CAsBpC;AAtBD,4DAsBC;AAjBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;yDACU;AAMjB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAI,GAAE;;uDACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;yDACU;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;gEACiB"}
|
package/lib/security/role.dto.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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.RoleDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const shared_1 = require("@driveup/shared");
|
|
15
|
-
class RoleDto {
|
|
16
|
-
}
|
|
17
|
-
exports.RoleDto = RoleDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
(0, class_validator_1.IsEnum)(shared_1.Role),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], RoleDto.prototype, "role", void 0);
|
|
23
|
-
//# sourceMappingURL=role.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../src/security/role.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,4CAAuC;AAGvC,MAAa,OAAO;CAKnB;AALD,0BAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,aAAI,CAAC;;qCACH"}
|
package/lib/security/token.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Token interface
|
|
3
|
-
*
|
|
4
|
-
* @copyright Intelact Solutions Ltd.
|
|
5
|
-
*/
|
|
6
|
-
export interface IToken {
|
|
7
|
-
/**
|
|
8
|
-
* Token type
|
|
9
|
-
* Expose token type as "Barer"
|
|
10
|
-
*/
|
|
11
|
-
tokenType: string;
|
|
12
|
-
/**
|
|
13
|
-
* Access token
|
|
14
|
-
* Use this token to identify auth user
|
|
15
|
-
*/
|
|
16
|
-
accessToken: string;
|
|
17
|
-
/**
|
|
18
|
-
* Refresh token
|
|
19
|
-
* User this token to refresh access token
|
|
20
|
-
*/
|
|
21
|
-
refreshToken: string;
|
|
22
|
-
/**
|
|
23
|
-
* Access token expiry timestamp
|
|
24
|
-
*/
|
|
25
|
-
accessTokenExpires: number;
|
|
26
|
-
/**
|
|
27
|
-
* Access token expiry timestamp
|
|
28
|
-
*/
|
|
29
|
-
refreshTokenExpires: number;
|
|
30
|
-
}
|
package/lib/security/token.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"token.js","sourceRoot":"","sources":["../../src/security/token.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PickupLocation } from "../../geo/pickup.model";
|
|
2
|
-
export declare class InstructorDrivingAppointmentCreateDto {
|
|
3
|
-
instructorId: number;
|
|
4
|
-
date: Date;
|
|
5
|
-
isExam: boolean;
|
|
6
|
-
location: PickupLocation;
|
|
7
|
-
}
|
|
8
|
-
export declare class InstructorDrivingAppointmentUpdateDto {
|
|
9
|
-
date: Date;
|
|
10
|
-
isExam: boolean;
|
|
11
|
-
location: PickupLocation;
|
|
12
|
-
instructorId: number;
|
|
13
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
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.InstructorDrivingAppointmentUpdateDto = exports.InstructorDrivingAppointmentCreateDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const pickup_model_1 = require("../../geo/pickup.model");
|
|
16
|
-
const transformers_helper_1 = require("../../utils/transformers.helper");
|
|
17
|
-
class InstructorDrivingAppointmentCreateDto {
|
|
18
|
-
}
|
|
19
|
-
exports.InstructorDrivingAppointmentCreateDto = InstructorDrivingAppointmentCreateDto;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
-
(0, class_validator_1.IsNumber)(),
|
|
23
|
-
(0, class_validator_1.Min)(1),
|
|
24
|
-
__metadata("design:type", Number)
|
|
25
|
-
], InstructorDrivingAppointmentCreateDto.prototype, "instructorId", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
-
(0, class_validator_1.IsDate)(),
|
|
29
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
30
|
-
__metadata("design:type", Date)
|
|
31
|
-
], InstructorDrivingAppointmentCreateDto.prototype, "date", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
-
(0, transformers_helper_1.ToBoolean)(),
|
|
35
|
-
(0, class_validator_1.IsBoolean)(),
|
|
36
|
-
__metadata("design:type", Boolean)
|
|
37
|
-
], InstructorDrivingAppointmentCreateDto.prototype, "isExam", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
(0, class_transformer_1.Type)(() => pickup_model_1.PickupLocation),
|
|
41
|
-
(0, class_validator_1.ValidateNested)(),
|
|
42
|
-
__metadata("design:type", pickup_model_1.PickupLocation)
|
|
43
|
-
], InstructorDrivingAppointmentCreateDto.prototype, "location", void 0);
|
|
44
|
-
class InstructorDrivingAppointmentUpdateDto {
|
|
45
|
-
}
|
|
46
|
-
exports.InstructorDrivingAppointmentUpdateDto = InstructorDrivingAppointmentUpdateDto;
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
49
|
-
(0, class_validator_1.IsDate)(),
|
|
50
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
51
|
-
__metadata("design:type", Date)
|
|
52
|
-
], InstructorDrivingAppointmentUpdateDto.prototype, "date", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
55
|
-
(0, transformers_helper_1.ToBoolean)(),
|
|
56
|
-
(0, class_validator_1.IsBoolean)(),
|
|
57
|
-
__metadata("design:type", Boolean)
|
|
58
|
-
], InstructorDrivingAppointmentUpdateDto.prototype, "isExam", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, class_validator_1.IsOptional)(),
|
|
61
|
-
(0, class_transformer_1.Type)(() => pickup_model_1.PickupLocation),
|
|
62
|
-
(0, class_validator_1.ValidateNested)(),
|
|
63
|
-
__metadata("design:type", pickup_model_1.PickupLocation)
|
|
64
|
-
], InstructorDrivingAppointmentUpdateDto.prototype, "location", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, class_validator_1.IsOptional)(),
|
|
67
|
-
(0, class_validator_1.IsNumber)(),
|
|
68
|
-
(0, class_validator_1.Min)(1),
|
|
69
|
-
__metadata("design:type", Number)
|
|
70
|
-
], InstructorDrivingAppointmentUpdateDto.prototype, "instructorId", void 0);
|
|
71
|
-
//# sourceMappingURL=session.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session.dto.js","sourceRoot":"","sources":["../../../src/session/driving/session.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAA2G;AAE3G,yDAAwD;AACxD,yEAA4D;AAE5D,MAAa,qCAAqC;CAoBjD;AApBD,sFAoBC;AAhBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;2EACc;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;mEAAC;AAKX;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;qEACI;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAc,CAAC;IAC1B,IAAA,gCAAc,GAAE;8BACP,6BAAc;uEAAC;AAG1B,MAAa,qCAAqC;CAoBjD;AApBD,sFAoBC;AAhBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;mEAAC;AAKX;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;qEACI;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAc,CAAC;IAC1B,IAAA,gCAAc,GAAE;8BACP,6BAAc;uEAAC;AAKzB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;2EACc"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Note } from "@driveup/shared";
|
|
2
|
-
import { Appointment } from "../../calendar/appointment";
|
|
3
|
-
import { DrivingExam } from "../../driving/exam/exam.model";
|
|
4
|
-
import { Signature } from "../../signature/signature.model";
|
|
5
|
-
import { DrivingSessionTopic } from "./session.topic";
|
|
6
|
-
export declare class DrivingSession extends Appointment {
|
|
7
|
-
price: number;
|
|
8
|
-
duration: number;
|
|
9
|
-
nextTopic: DrivingSessionTopic;
|
|
10
|
-
note: Note;
|
|
11
|
-
signature: Signature;
|
|
12
|
-
/************************* exam *************************/
|
|
13
|
-
exam: DrivingExam;
|
|
14
|
-
/************************* methods *************************/
|
|
15
|
-
constructor(props?: Partial<DrivingSession>);
|
|
16
|
-
}
|