@intelact/driveup 2.2.0 → 2.2.2
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.dto.js +2 -2
- package/lib/agent/agent.dto.js.map +1 -1
- package/lib/agent/agent.model.d.ts +1 -1
- package/lib/agent/agent.model.js +2 -2
- package/lib/agent/agent.model.js.map +1 -1
- package/lib/auth/signin.dto.d.ts +1 -1
- package/lib/auth/signin.dto.js +3 -3
- package/lib/auth/signin.dto.js.map +1 -1
- package/lib/auth/signup.dto.d.ts +1 -1
- package/lib/auth/signup.dto.js +3 -3
- package/lib/auth/signup.dto.js.map +1 -1
- package/lib/calendar/date.js +6 -6
- package/lib/calendar/date.js.map +1 -1
- package/lib/common/content.js +8 -8
- package/lib/common/content.js.map +1 -1
- package/lib/common/email.js +3 -3
- package/lib/common/email.js.map +1 -1
- package/lib/common/id.js +2 -2
- package/lib/common/id.js.map +1 -1
- package/lib/common/phone.js +3 -3
- package/lib/common/phone.js.map +1 -1
- package/lib/common/price.js +2 -2
- package/lib/common/price.js.map +1 -1
- package/lib/common/promotion.js +2 -2
- package/lib/common/promotion.js.map +1 -1
- package/lib/common/search.js +2 -2
- package/lib/common/search.js.map +1 -1
- package/lib/common/social.js +2 -2
- package/lib/common/social.js.map +1 -1
- package/lib/common/sort.js +2 -2
- package/lib/common/sort.js.map +1 -1
- package/lib/common/url.js +2 -2
- package/lib/common/url.js.map +1 -1
- package/lib/company/company.model.d.ts +9 -9
- package/lib/company/company.model.js +28 -28
- package/lib/company/company.model.js.map +1 -1
- package/lib/country/country.dto.js +11 -11
- package/lib/country/country.dto.js.map +1 -1
- package/lib/country/country.model.d.ts +2 -2
- package/lib/country/country.model.js +5 -5
- package/lib/country/country.model.js.map +1 -1
- package/lib/course/course.model.d.ts +1 -1
- package/lib/course/course.model.js +3 -3
- package/lib/course/course.model.js.map +1 -1
- package/lib/course/dto.js +7 -7
- package/lib/course/dto.js.map +1 -1
- package/lib/currency/currency.dto.js +11 -11
- package/lib/currency/currency.dto.js.map +1 -1
- package/lib/currency/currency.model.d.ts +1 -1
- package/lib/currency/currency.model.js +2 -2
- package/lib/currency/currency.model.js.map +1 -1
- package/lib/discount/discount.dto.js +2 -2
- package/lib/discount/discount.dto.js.map +1 -1
- package/lib/driving/category/category.dto.js +5 -5
- package/lib/driving/category/category.dto.js.map +1 -1
- package/lib/driving/exam/exam.dto.js +2 -2
- package/lib/driving/exam/exam.dto.js.map +1 -1
- package/lib/driving/lesson/skill.dto.js +2 -2
- package/lib/driving/lesson/skill.dto.js.map +1 -1
- package/lib/driving/lesson/topic.dto.js +5 -5
- package/lib/driving/lesson/topic.dto.js.map +1 -1
- package/lib/expense/expense.dto.js +9 -9
- package/lib/expense/expense.dto.js.map +1 -1
- package/lib/finance/company-payment.model.d.ts +10 -0
- package/lib/{training/course.model.js → finance/company-payment.model.js} +27 -13
- package/lib/finance/company-payment.model.js.map +1 -0
- package/lib/finance/finance.dto.js +25 -24
- package/lib/finance/finance.dto.js.map +1 -1
- package/lib/finance/finance.model.d.ts +5 -10
- package/lib/finance/finance.model.js +24 -29
- package/lib/finance/finance.model.js.map +1 -1
- package/lib/finance/payment-method.model.d.ts +20 -0
- package/lib/finance/payment-method.model.js +86 -0
- package/lib/finance/payment-method.model.js.map +1 -0
- package/lib/finance/payment.dto.d.ts +6 -0
- package/lib/finance/payment.dto.js +40 -0
- package/lib/finance/payment.dto.js.map +1 -0
- package/lib/geo/address.dto.js +7 -7
- package/lib/geo/address.dto.js.map +1 -1
- package/lib/giftcode/giftcode.dto.js +7 -7
- package/lib/giftcode/giftcode.dto.js.map +1 -1
- package/lib/giftcode/giftcode.model.d.ts +1 -1
- package/lib/giftcode/giftcode.model.js +3 -3
- package/lib/giftcode/giftcode.model.js.map +1 -1
- package/lib/handover/handover.model.d.ts +3 -3
- package/lib/handover/handover.model.js +3 -3
- package/lib/handover/handover.model.js.map +1 -1
- package/lib/index.d.ts +119 -42
- package/lib/index.js +308 -56
- package/lib/index.js.map +1 -1
- package/lib/instructor/instructor.dto.js +8 -8
- package/lib/instructor/instructor.dto.js.map +1 -1
- package/lib/instructor/instructor.model.d.ts +1 -1
- package/lib/instructor/instructor.model.js +2 -2
- package/lib/instructor/instructor.model.js.map +1 -1
- package/lib/invoice/invoice.dto.js +4 -4
- package/lib/invoice/invoice.dto.js.map +1 -1
- package/lib/invoice/invoice.model.d.ts +2 -2
- package/lib/invoice/invoice.model.js +3 -3
- package/lib/payment/payment.dto.js +2 -2
- package/lib/payment/payment.dto.js.map +1 -1
- package/lib/priceplan/plan.dto.js +3 -3
- package/lib/priceplan/plan.dto.js.map +1 -1
- package/lib/priceplan/plan.model.d.ts +2 -2
- package/lib/priceplan/plan.model.js +6 -6
- package/lib/priceplan/plan.model.js.map +1 -1
- package/lib/public/contac-us.dto.js +5 -5
- package/lib/public/contac-us.dto.js.map +1 -1
- package/lib/public/contact-sales.dto.js +8 -8
- package/lib/public/contact-sales.dto.js.map +1 -1
- package/lib/public/country-support.dto.js +5 -5
- package/lib/public/country-support.dto.js.map +1 -1
- package/lib/refund/refund.dto.js +2 -2
- package/lib/refund/refund.dto.js.map +1 -1
- package/lib/setting/setting.dto.js +2 -2
- package/lib/setting/setting.dto.js.map +1 -1
- package/lib/student/student.model.d.ts +2 -2
- package/lib/student/student.model.js +4 -4
- package/lib/student/student.model.js.map +1 -1
- package/lib/task/task.dto.js +9 -9
- package/lib/task/task.dto.js.map +1 -1
- package/lib/ticket/ticket.dto.js +3 -3
- package/lib/ticket/ticket.dto.js.map +1 -1
- package/lib/training/training.dto.js +18 -18
- package/lib/training/training.dto.js.map +1 -1
- package/lib/training/training.model.d.ts +3 -3
- package/lib/training/training.model.js +7 -7
- package/lib/training/training.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/profile.dto.js +3 -3
- package/lib/user/profile.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +4 -4
- package/lib/user/user.model.js +11 -11
- package/lib/user/user.model.js.map +1 -1
- package/lib/utils/compare.validator.js.map +1 -1
- package/lib/utils/date.helper.d.ts +2 -1
- package/package.json +1 -1
- package/lib/agent/index.d.ts +0 -4
- package/lib/agent/index.js +0 -21
- package/lib/agent/index.js.map +0 -1
- package/lib/alert/index.d.ts +0 -1
- package/lib/alert/index.js +0 -18
- package/lib/alert/index.js.map +0 -1
- package/lib/auth/index.d.ts +0 -2
- package/lib/auth/index.js +0 -19
- package/lib/auth/index.js.map +0 -1
- package/lib/bill/index.d.ts +0 -2
- package/lib/bill/index.js +0 -19
- package/lib/bill/index.js.map +0 -1
- package/lib/calendar/index.d.ts +0 -5
- package/lib/calendar/index.js +0 -22
- package/lib/calendar/index.js.map +0 -1
- package/lib/common/index.d.ts +0 -13
- package/lib/common/index.js +0 -30
- package/lib/common/index.js.map +0 -1
- package/lib/company/index.d.ts +0 -3
- package/lib/company/index.js +0 -20
- package/lib/company/index.js.map +0 -1
- package/lib/country/index.d.ts +0 -2
- package/lib/country/index.js +0 -19
- package/lib/country/index.js.map +0 -1
- package/lib/course/index.d.ts +0 -5
- package/lib/course/index.js +0 -22
- package/lib/course/index.js.map +0 -1
- package/lib/credit/index.d.ts +0 -1
- package/lib/credit/index.js +0 -18
- package/lib/credit/index.js.map +0 -1
- package/lib/currency/index.d.ts +0 -2
- package/lib/currency/index.js +0 -19
- package/lib/currency/index.js.map +0 -1
- package/lib/device/index.d.ts +0 -3
- package/lib/device/index.js +0 -20
- package/lib/device/index.js.map +0 -1
- package/lib/discount/index.d.ts +0 -2
- package/lib/discount/index.js +0 -19
- package/lib/discount/index.js.map +0 -1
- package/lib/driving/category/index.d.ts +0 -2
- package/lib/driving/category/index.js +0 -19
- package/lib/driving/category/index.js.map +0 -1
- package/lib/driving/exam/index.d.ts +0 -2
- package/lib/driving/exam/index.js +0 -19
- package/lib/driving/exam/index.js.map +0 -1
- package/lib/driving/index.d.ts +0 -3
- package/lib/driving/index.js +0 -20
- package/lib/driving/index.js.map +0 -1
- package/lib/driving/lesson/index.d.ts +0 -5
- package/lib/driving/lesson/index.js +0 -22
- package/lib/driving/lesson/index.js.map +0 -1
- package/lib/expense/index.d.ts +0 -3
- package/lib/expense/index.js +0 -20
- package/lib/expense/index.js.map +0 -1
- package/lib/finance/index.d.ts +0 -2
- package/lib/finance/index.js +0 -19
- package/lib/finance/index.js.map +0 -1
- package/lib/free-benefit/index.d.ts +0 -1
- package/lib/free-benefit/index.js +0 -18
- package/lib/free-benefit/index.js.map +0 -1
- package/lib/geo/index.d.ts +0 -3
- package/lib/geo/index.js +0 -20
- package/lib/geo/index.js.map +0 -1
- package/lib/giftcode/index.d.ts +0 -3
- package/lib/giftcode/index.js +0 -20
- package/lib/giftcode/index.js.map +0 -1
- package/lib/handover/index.d.ts +0 -2
- package/lib/handover/index.js +0 -19
- package/lib/handover/index.js.map +0 -1
- package/lib/instructor/index.d.ts +0 -2
- package/lib/instructor/index.js +0 -19
- package/lib/instructor/index.js.map +0 -1
- package/lib/invoice/index.d.ts +0 -3
- package/lib/invoice/index.js +0 -20
- package/lib/invoice/index.js.map +0 -1
- package/lib/item/index.d.ts +0 -1
- package/lib/item/index.js +0 -18
- package/lib/item/index.js.map +0 -1
- package/lib/license/index.d.ts +0 -1
- package/lib/license/index.js +0 -18
- package/lib/license/index.js.map +0 -1
- package/lib/log/index.d.ts +0 -1
- package/lib/log/index.js +0 -18
- package/lib/log/index.js.map +0 -1
- package/lib/metric/index.d.ts +0 -1
- package/lib/metric/index.js +0 -18
- package/lib/metric/index.js.map +0 -1
- package/lib/notification/index.d.ts +0 -3
- package/lib/notification/index.js +0 -20
- package/lib/notification/index.js.map +0 -1
- package/lib/payment/index.d.ts +0 -4
- package/lib/payment/index.js +0 -21
- package/lib/payment/index.js.map +0 -1
- package/lib/payout/index.d.ts +0 -1
- package/lib/payout/index.js +0 -18
- package/lib/payout/index.js.map +0 -1
- package/lib/priceplan/index.d.ts +0 -2
- package/lib/priceplan/index.js +0 -19
- package/lib/priceplan/index.js.map +0 -1
- package/lib/public/index.d.ts +0 -3
- package/lib/public/index.js +0 -20
- package/lib/public/index.js.map +0 -1
- package/lib/refund/index.d.ts +0 -2
- package/lib/refund/index.js +0 -19
- package/lib/refund/index.js.map +0 -1
- package/lib/security/index.d.ts +0 -2
- package/lib/security/index.js +0 -19
- package/lib/security/index.js.map +0 -1
- package/lib/session/driving/index.d.ts +0 -4
- package/lib/session/driving/index.js +0 -21
- package/lib/session/driving/index.js.map +0 -1
- package/lib/session/index.d.ts +0 -1
- package/lib/session/index.js +0 -18
- package/lib/session/index.js.map +0 -1
- package/lib/setting/index.d.ts +0 -2
- package/lib/setting/index.js +0 -19
- package/lib/setting/index.js.map +0 -1
- package/lib/signature/index.d.ts +0 -1
- package/lib/signature/index.js +0 -18
- package/lib/signature/index.js.map +0 -1
- package/lib/student/index.d.ts +0 -2
- package/lib/student/index.js +0 -19
- package/lib/student/index.js.map +0 -1
- package/lib/task/index.d.ts +0 -2
- package/lib/task/index.js +0 -19
- package/lib/task/index.js.map +0 -1
- package/lib/ticket/index.d.ts +0 -2
- package/lib/ticket/index.js +0 -19
- package/lib/ticket/index.js.map +0 -1
- package/lib/training/course.model.d.ts +0 -8
- package/lib/training/course.model.js.map +0 -1
- package/lib/training/driving.model.d.ts +0 -17
- package/lib/training/driving.model.js +0 -73
- package/lib/training/driving.model.js.map +0 -1
- package/lib/training/index.d.ts +0 -4
- package/lib/training/index.js +0 -21
- package/lib/training/index.js.map +0 -1
- package/lib/user/index.d.ts +0 -3
- package/lib/user/index.js +0 -20
- package/lib/user/index.js.map +0 -1
- package/lib/utils/index.d.ts +0 -6
- package/lib/utils/index.js +0 -23
- package/lib/utils/index.js.map +0 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CompanyPaymentMethod = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const company_payment_model_1 = require("./company-payment.model");
|
|
15
|
+
const item_model_1 = require("../item/item.model");
|
|
16
|
+
class CompanyPaymentMethod {
|
|
17
|
+
id;
|
|
18
|
+
name;
|
|
19
|
+
icon;
|
|
20
|
+
active;
|
|
21
|
+
pending;
|
|
22
|
+
details;
|
|
23
|
+
warnings;
|
|
24
|
+
failedPayments;
|
|
25
|
+
/**
|
|
26
|
+
* A description summarizing the failed payments associated with this payment method
|
|
27
|
+
*/
|
|
28
|
+
failedPaymentsDescription;
|
|
29
|
+
providerPaymentMethodId;
|
|
30
|
+
providerCustomerId;
|
|
31
|
+
/************************* methods *************************/
|
|
32
|
+
constructor(props) {
|
|
33
|
+
Object.assign(this, props);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CompanyPaymentMethod = CompanyPaymentMethod;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], CompanyPaymentMethod.prototype, "id", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CompanyPaymentMethod.prototype, "name", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CompanyPaymentMethod.prototype, "icon", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], CompanyPaymentMethod.prototype, "active", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
58
|
+
__metadata("design:type", Boolean)
|
|
59
|
+
], CompanyPaymentMethod.prototype, "pending", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
(0, class_transformer_1.Type)(() => item_model_1.Item),
|
|
63
|
+
__metadata("design:type", Array)
|
|
64
|
+
], CompanyPaymentMethod.prototype, "details", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], CompanyPaymentMethod.prototype, "warnings", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
(0, class_transformer_1.Type)(() => company_payment_model_1.CompanyPayment),
|
|
72
|
+
__metadata("design:type", Array)
|
|
73
|
+
], CompanyPaymentMethod.prototype, "failedPayments", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_transformer_1.Expose)(),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], CompanyPaymentMethod.prototype, "failedPaymentsDescription", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], CompanyPaymentMethod.prototype, "providerPaymentMethodId", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_transformer_1.Expose)(),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], CompanyPaymentMethod.prototype, "providerCustomerId", void 0);
|
|
86
|
+
//# sourceMappingURL=payment-method.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-method.model.js","sourceRoot":"","sources":["../../src/finance/payment-method.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,mEAAyD;AACzD,mDAA0C;AAE1C,MAAa,oBAAoB;IAGhC,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,IAAI,CAAS;IAIb,MAAM,CAAU;IAIhB,OAAO,CAAU;IAIjB,OAAO,CAAS;IAGhB,QAAQ,CAAW;IAInB,cAAc,CAAmB;IAEjC;;OAEG;IAEH,yBAAyB,CAAS;IAGlC,uBAAuB,CAAS;IAGhC,kBAAkB,CAAS;IAE3B,6DAA6D;IAE7D,YAAY,KAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA/CD,oDA+CC;AA5CA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACR;AAGX;IADC,IAAA,0BAAM,GAAE;;kDACI;AAGb;IADC,IAAA,0BAAM,GAAE;;kDACI;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;oDACJ;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;qDACH;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;;qDACD;AAGhB;IADC,IAAA,0BAAM,GAAE;;sDACU;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;;4DACM;AAMjC;IADC,IAAA,0BAAM,GAAE;;uEACyB;AAGlC;IADC,IAAA,0BAAM,GAAE;;qEACuB;AAGhC;IADC,IAAA,0BAAM,GAAE;;gEACkB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.SubmitPaymentDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const shared_1 = require("@driveup/shared");
|
|
15
|
+
const transformers_helper_1 = require("../utils/transformers.helper");
|
|
16
|
+
class SubmitPaymentDto {
|
|
17
|
+
amount;
|
|
18
|
+
description;
|
|
19
|
+
type;
|
|
20
|
+
}
|
|
21
|
+
exports.SubmitPaymentDto = SubmitPaymentDto;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
|
25
|
+
(0, class_validator_1.Min)(1),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], SubmitPaymentDto.prototype, "amount", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, transformers_helper_1.Trim)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], SubmitPaymentDto.prototype, "description", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
(0, class_validator_1.IsEnum)(shared_1.PaymentType),
|
|
37
|
+
(0, class_validator_1.IsIn)([shared_1.PaymentType.Cash, shared_1.PaymentType.Online]),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], SubmitPaymentDto.prototype, "type", void 0);
|
|
40
|
+
//# sourceMappingURL=payment.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../src/finance/payment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,4CAA8C;AAC9C,sEAAoD;AACpD,MAAa,gBAAgB;IAI5B,MAAM,CAAS;IAKf,WAAW,CAAS;IAKpB,IAAI,CAAc;CAClB;AAfD,4CAeC;AAXA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;gDACQ;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;qDACS;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAW,CAAC;IACnB,IAAA,sBAAI,EAAC,CAAC,oBAAW,CAAC,IAAI,EAAE,oBAAW,CAAC,MAAM,CAAC,CAAC;;8CAC3B"}
|
package/lib/geo/address.dto.js
CHANGED
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.FullAddressDto = exports.LocationDto = exports.ZipCodeDto = exports.AddressDto = void 0;
|
|
13
13
|
const shared_1 = require("@driveup/shared");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
15
|
+
const transformers_helper_1 = require("../utils/transformers.helper");
|
|
16
16
|
/**
|
|
17
17
|
* Address can be null or undefined in this dto
|
|
18
18
|
*/
|
|
@@ -23,7 +23,7 @@ exports.AddressDto = AddressDto;
|
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, class_validator_1.IsOptional)(),
|
|
25
25
|
(0, class_validator_1.IsString)(),
|
|
26
|
-
(0,
|
|
26
|
+
(0, transformers_helper_1.Trim)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], AddressDto.prototype, "address", void 0);
|
|
29
29
|
class ZipCodeDto {
|
|
@@ -33,7 +33,7 @@ exports.ZipCodeDto = ZipCodeDto;
|
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, class_validator_1.IsOptional)(),
|
|
35
35
|
(0, class_validator_1.IsString)(),
|
|
36
|
-
(0,
|
|
36
|
+
(0, transformers_helper_1.Trim)(),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
38
|
], ZipCodeDto.prototype, "zipCode", void 0);
|
|
39
39
|
class LocationDto {
|
|
@@ -43,7 +43,7 @@ exports.LocationDto = LocationDto;
|
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, class_validator_1.IsOptional)(),
|
|
45
45
|
(0, class_validator_1.IsString)(),
|
|
46
|
-
(0,
|
|
46
|
+
(0, transformers_helper_1.Trim)(),
|
|
47
47
|
__metadata("design:type", String)
|
|
48
48
|
], LocationDto.prototype, "location", void 0);
|
|
49
49
|
class FullAddressDto {
|
|
@@ -56,19 +56,19 @@ exports.FullAddressDto = FullAddressDto;
|
|
|
56
56
|
__decorate([
|
|
57
57
|
(0, class_validator_1.IsOptional)(),
|
|
58
58
|
(0, class_validator_1.IsString)(),
|
|
59
|
-
(0,
|
|
59
|
+
(0, transformers_helper_1.Trim)(),
|
|
60
60
|
__metadata("design:type", String)
|
|
61
61
|
], FullAddressDto.prototype, "address", void 0);
|
|
62
62
|
__decorate([
|
|
63
63
|
(0, class_validator_1.IsOptional)(),
|
|
64
64
|
(0, class_validator_1.IsString)(),
|
|
65
|
-
(0,
|
|
65
|
+
(0, transformers_helper_1.Trim)(),
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], FullAddressDto.prototype, "zipCode", void 0);
|
|
68
68
|
__decorate([
|
|
69
69
|
(0, class_validator_1.IsOptional)(),
|
|
70
70
|
(0, class_validator_1.IsString)(),
|
|
71
|
-
(0,
|
|
71
|
+
(0, transformers_helper_1.Trim)(),
|
|
72
72
|
__metadata("design:type", String)
|
|
73
73
|
], FullAddressDto.prototype, "location", void 0);
|
|
74
74
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.dto.js","sourceRoot":"","sources":["../../src/geo/address.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA6C;AAC7C,qDAAiF;
|
|
1
|
+
{"version":3,"file":"address.dto.js","sourceRoot":"","sources":["../../src/geo/address.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA6C;AAC7C,qDAAiF;AACjF,sEAAoD;AACpD;;GAEG;AACH,MAAa,UAAU;IAItB,OAAO,CAAS;CAChB;AALD,gCAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;2CACS;AAGjB,MAAa,UAAU;IAItB,OAAO,CAAS;CAChB;AALD,gCAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;2CACS;AAGjB,MAAa,WAAW;IAIvB,QAAQ,CAAS;CACjB;AALD,kCAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;6CACU;AAGlB,MAAa,cAAc;IAK1B,OAAO,CAAS;IAKhB,OAAO,CAAS;IAKhB,QAAQ,CAAS;IAKjB,KAAK,CAAa;CAClB;AArBD,wCAqBC;AAhBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;+CACS;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;+CACS;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAI,GAAE;;gDACU;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,gCAAc,GAAE;8BACV,mBAAU;6CAAC"}
|
|
@@ -11,14 +11,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SystemGiftCodeGroupCreateDto = exports.SystemGiftCodeGroupUpdateDto = exports.SystemGiftCodeSubmitDto = exports.CompanyGiftCodeSubmitDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const
|
|
14
|
+
const transformers_helper_1 = require("../utils/transformers.helper");
|
|
15
15
|
class CompanyGiftCodeSubmitDto {
|
|
16
16
|
code;
|
|
17
17
|
}
|
|
18
18
|
exports.CompanyGiftCodeSubmitDto = CompanyGiftCodeSubmitDto;
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
-
(0,
|
|
21
|
+
(0, transformers_helper_1.Trim)(),
|
|
22
22
|
(0, class_validator_1.IsString)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], CompanyGiftCodeSubmitDto.prototype, "code", void 0);
|
|
@@ -45,7 +45,7 @@ __decorate([
|
|
|
45
45
|
], SystemGiftCodeSubmitDto.prototype, "groupId", void 0);
|
|
46
46
|
__decorate([
|
|
47
47
|
(0, class_validator_1.IsOptional)(),
|
|
48
|
-
(0,
|
|
48
|
+
(0, transformers_helper_1.Trim)(),
|
|
49
49
|
(0, class_validator_1.IsString)(),
|
|
50
50
|
__metadata("design:type", String)
|
|
51
51
|
], SystemGiftCodeSubmitDto.prototype, "code", void 0);
|
|
@@ -80,13 +80,13 @@ __decorate([
|
|
|
80
80
|
], SystemGiftCodeGroupUpdateDto.prototype, "countryId", void 0);
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, class_validator_1.IsOptional)(),
|
|
83
|
-
(0,
|
|
83
|
+
(0, transformers_helper_1.Trim)(),
|
|
84
84
|
(0, class_validator_1.IsString)(),
|
|
85
85
|
__metadata("design:type", String)
|
|
86
86
|
], SystemGiftCodeGroupUpdateDto.prototype, "name", void 0);
|
|
87
87
|
__decorate([
|
|
88
88
|
(0, class_validator_1.IsOptional)(),
|
|
89
|
-
(0,
|
|
89
|
+
(0, transformers_helper_1.Trim)(),
|
|
90
90
|
(0, class_validator_1.IsString)(),
|
|
91
91
|
__metadata("design:type", String)
|
|
92
92
|
], SystemGiftCodeGroupUpdateDto.prototype, "description", void 0);
|
|
@@ -120,13 +120,13 @@ __decorate([
|
|
|
120
120
|
], SystemGiftCodeGroupCreateDto.prototype, "countryId", void 0);
|
|
121
121
|
__decorate([
|
|
122
122
|
(0, class_validator_1.IsOptional)(),
|
|
123
|
-
(0,
|
|
123
|
+
(0, transformers_helper_1.Trim)(),
|
|
124
124
|
(0, class_validator_1.IsString)(),
|
|
125
125
|
__metadata("design:type", String)
|
|
126
126
|
], SystemGiftCodeGroupCreateDto.prototype, "name", void 0);
|
|
127
127
|
__decorate([
|
|
128
128
|
(0, class_validator_1.IsOptional)(),
|
|
129
|
-
(0,
|
|
129
|
+
(0, transformers_helper_1.Trim)(),
|
|
130
130
|
(0, class_validator_1.IsString)(),
|
|
131
131
|
__metadata("design:type", String)
|
|
132
132
|
], SystemGiftCodeGroupCreateDto.prototype, "description", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"giftcode.dto.js","sourceRoot":"","sources":["../../src/giftcode/giftcode.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0F;AAC1F,
|
|
1
|
+
{"version":3,"file":"giftcode.dto.js","sourceRoot":"","sources":["../../src/giftcode/giftcode.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0F;AAC1F,sEAAoD;AACpD,MAAa,wBAAwB;IAIpC,IAAI,CAAS;CACb;AALD,4DAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;sDACE;AAGd,MAAa,uBAAuB;IAInC,SAAS,CAAS;IAKlB,OAAO,CAAS;IAKhB,IAAI,CAAS;IAKb,MAAM,CAAS;IAIf,UAAU,CAAO;IAKjB,OAAO,CAAS;CAChB;AA7BD,0DA6BC;AAzBA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;0DACW;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;wDACS;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;qDACE;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,GAAG,CAAC;;uDACM;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACG,IAAI;2DAAC;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;wDACS;AAGjB,MAAa,4BAA4B;IAIxC,SAAS,CAAS;IAKlB,IAAI,CAAS;IAKb,WAAW,CAAS;CACpB;AAfD,oEAeC;AAXA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;+DACW;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;0DACE;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;iEACS;AAGrB,MAAa,4BAA4B;IAIxC,SAAS,CAAS;IAKlB,IAAI,CAAS;IAKb,WAAW,CAAS;IAEpB;;OAEG;IAIH,aAAa,CAAS;IAEtB;;OAEG;IAIH,aAAa,CAAS;IAEtB;;OAEG;IAIH,cAAc,CAAS;IAEvB;;OAEG;IAGH,iBAAiB,CAAO;CACxB;AA9CD,oEA8CC;AA1CA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;+DACW;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;0DACE;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAI,GAAE;IACN,IAAA,0BAAQ,GAAE;;iEACS;AAQpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;mEACe;AAQtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,GAAG,CAAC;;mEACa;AAQtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;oEACgB;AAOvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACU,IAAI;uEAAC"}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GiftCode = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
14
|
+
const country_model_1 = require("../country/country.model");
|
|
15
15
|
class GiftCode {
|
|
16
16
|
id;
|
|
17
17
|
createdOn;
|
|
@@ -41,8 +41,8 @@ __decorate([
|
|
|
41
41
|
], GiftCode.prototype, "createdOn", void 0);
|
|
42
42
|
__decorate([
|
|
43
43
|
(0, class_transformer_1.Expose)(),
|
|
44
|
-
(0, class_transformer_1.Type)(() =>
|
|
45
|
-
__metadata("design:type",
|
|
44
|
+
(0, class_transformer_1.Type)(() => country_model_1.Country),
|
|
45
|
+
__metadata("design:type", country_model_1.Country)
|
|
46
46
|
], GiftCode.prototype, "country", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"giftcode.model.js","sourceRoot":"","sources":["../../src/giftcode/giftcode.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,
|
|
1
|
+
{"version":3,"file":"giftcode.model.js","sourceRoot":"","sources":["../../src/giftcode/giftcode.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,4DAAmD;AACnD,MAAa,QAAQ;IAGpB,EAAE,CAAS;IAIX,SAAS,CAAO;IAIhB,OAAO,CAAU;IAGjB,IAAI,CAAS;IAIb,MAAM,CAAS;IAIf,UAAU,CAAO;IAIjB,OAAO,CAAS;IAIhB,QAAQ,CAAS;IAGjB,IAAI,CAGA;IAIJ,MAAM,CAAU;IAEhB,6DAA6D;IAE7D,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA/CD,4BA+CC;AA5CA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;2CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;8BACX,uBAAO;yCAAC;AAGjB;IADC,IAAA,0BAAM,GAAE;;sCACI;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACJ;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;4CAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;yCACH;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACF;AAGjB;IADC,IAAA,0BAAM,GAAE;;sCAIL;AAIJ;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;wCACJ"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Instructor } from "../instructor/instructor.model";
|
|
2
|
-
import { Payment } from "../payment/payment.model";
|
|
3
1
|
import { Expense } from "../expense/expense.model";
|
|
2
|
+
import { Finance } from "../finance/finance.model";
|
|
3
|
+
import { Instructor } from "../instructor/instructor.model";
|
|
4
4
|
export declare class Handover {
|
|
5
5
|
id: number;
|
|
6
6
|
createdOn: Date;
|
|
7
7
|
handoverInstructor: Instructor;
|
|
8
8
|
handoverManager: Instructor;
|
|
9
|
-
approvedPayments:
|
|
9
|
+
approvedPayments: Finance[];
|
|
10
10
|
approvedExpenses: Expense[];
|
|
11
11
|
rejectedExpenses: Expense[];
|
|
12
12
|
/************************* functions *************************/
|
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Handover = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const instructor_model_1 = require("../instructor/instructor.model");
|
|
15
|
-
const payment_model_1 = require("../payment/payment.model");
|
|
16
14
|
const expense_model_1 = require("../expense/expense.model");
|
|
15
|
+
const finance_model_1 = require("../finance/finance.model");
|
|
16
|
+
const instructor_model_1 = require("../instructor/instructor.model");
|
|
17
17
|
class Handover {
|
|
18
18
|
id;
|
|
19
19
|
createdOn;
|
|
@@ -50,7 +50,7 @@ __decorate([
|
|
|
50
50
|
], Handover.prototype, "handoverManager", void 0);
|
|
51
51
|
__decorate([
|
|
52
52
|
(0, class_transformer_1.Expose)(),
|
|
53
|
-
(0, class_transformer_1.Type)(() =>
|
|
53
|
+
(0, class_transformer_1.Type)(() => finance_model_1.Finance),
|
|
54
54
|
__metadata("design:type", Array)
|
|
55
55
|
], Handover.prototype, "approvedPayments", void 0);
|
|
56
56
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handover.model.js","sourceRoot":"","sources":["../../src/handover/handover.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;
|
|
1
|
+
{"version":3,"file":"handover.model.js","sourceRoot":"","sources":["../../src/handover/handover.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,4DAAmD;AACnD,4DAAmD;AACnD,qEAA4D;AAE5D,MAAa,QAAQ;IAGpB,EAAE,CAAS;IAIX,SAAS,CAAO;IAIhB,kBAAkB,CAAa;IAI/B,eAAe,CAAa;IAI5B,gBAAgB,CAAY;IAI5B,gBAAgB,CAAY;IAI5B,gBAAgB,CAAY;IAE5B,+DAA+D;IAE/D,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlCD,4BAkCC;AA/BA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;2CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACH,6BAAU;oDAAC;AAI/B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAU,CAAC;8BACN,6BAAU;iDAAC;AAI5B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;;kDACQ;AAI5B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;;kDACQ;AAI5B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAO,CAAC;;kDACQ"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,42 +1,119 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
1
|
+
export { AgentClientsFilterDto } from "./agent/agent.dto";
|
|
2
|
+
export { Agent } from "./agent/agent.model";
|
|
3
|
+
export { AgentClient } from "./agent/client.model";
|
|
4
|
+
export { AgentCode } from "./agent/code.model";
|
|
5
|
+
export { UserAlert } from "./alert/alert.model";
|
|
6
|
+
export { SigninDto } from "./auth/signin.dto";
|
|
7
|
+
export { SignupDto } from "./auth/signup.dto";
|
|
8
|
+
export { CompanyBillItem } from "./bill/bill-item.model";
|
|
9
|
+
export { CompanyBill } from "./bill/bill.model";
|
|
10
|
+
export { Appointment } from "./calendar/appointment";
|
|
11
|
+
export { DateDto, MonthYearDto, ObligationPeriodDto, Period } from "./calendar/date";
|
|
12
|
+
export { HolidaysDto } from "./calendar/holiday";
|
|
13
|
+
export { ICalendarToken } from "./calendar/token";
|
|
14
|
+
export { WorkdayDefinition, WorkingHoursDto } from "./calendar/working";
|
|
15
|
+
export { AppInfo } from "./common/app-info";
|
|
16
|
+
export { BooleanValueDto, DescriptionDto, MessageDto, NameDto, TitleDto, TranslateDto } from "./common/content";
|
|
17
|
+
export { EmailDto } from "./common/email";
|
|
18
|
+
export { IDsDto } from "./common/id";
|
|
19
|
+
export { LanguageDto } from "./common/language";
|
|
20
|
+
export { PhoneDto } from "./common/phone";
|
|
21
|
+
export { PriceDto } from "./common/price";
|
|
22
|
+
export { ProfileDependency } from "./common/profile";
|
|
23
|
+
export { PromotionCodeDto } from "./common/promotion";
|
|
24
|
+
export { PhraseSearchDto } from "./common/search";
|
|
25
|
+
export { SocialLink, SocialLinksDto } from "./common/social";
|
|
26
|
+
export { SortListDto, SortOrderDto } from "./common/sort";
|
|
27
|
+
export { UrlDto } from "./common/url";
|
|
28
|
+
export { CompanyDashboardWidgetModel } from "./company/company-widget.model";
|
|
29
|
+
export { Company } from "./company/company.model";
|
|
30
|
+
export { CompanyCloseProfileDependency } from "./company/dependency.model";
|
|
31
|
+
export { CountryCreateDto, CountrySearchDto, CountryUpdateDto } from "./country/country.dto";
|
|
32
|
+
export { Country } from "./country/country.model";
|
|
33
|
+
export { CourseAppointment } from "./course/appointment.model";
|
|
34
|
+
export { Course } from "./course/course.model";
|
|
35
|
+
export { CoursePartDefinition } from "./course/definition.model";
|
|
36
|
+
export { CourseAppointmentFilterDto, CourseCreateDto, CourseDefinitionCreateDto, CourseDefinitionUpdateDto, CourseFilterDto, CourseMaxStudentsDto, CoursePartDurationDto } from "./course/dto";
|
|
37
|
+
export { CoursePart } from "./course/part.model";
|
|
38
|
+
export { Credit } from "./credit/credit.model";
|
|
39
|
+
export { CurrencyCreateDto, CurrencySearchDto, CurrencyUpdateDto } from "./currency/currency.dto";
|
|
40
|
+
export { Currency } from "./currency/currency.model";
|
|
41
|
+
export { IDeviceAgent } from "./device/device.agent";
|
|
42
|
+
export { Device } from "./device/device.model";
|
|
43
|
+
export { DeviceSignatureDto } from "./device/device.signature";
|
|
44
|
+
export { SubmitDiscountDto } from "./discount/discount.dto";
|
|
45
|
+
export { Discount } from "./discount/discount.model";
|
|
46
|
+
export { CompanyActivateCategoryDto, CompanyCategoryAdministrationFeeDto, CompanyCategoryDurationDto, CompanyCategoryPriceDto, CompanySubmitCategoryDto, SystemDrivingCategoryCreateDto, SystemDrivingCategoryMinAgeDto, SystemDrivingCategoryTranslationCreateDto } from "./driving/category/category.dto";
|
|
47
|
+
export { DrivingCategory } from "./driving/category/category.model";
|
|
48
|
+
export { ExamFeedbackDto, ExamStatusDto } from "./driving/exam/exam.dto";
|
|
49
|
+
export { DrivingExam } from "./driving/exam/exam.model";
|
|
50
|
+
export { DrivingLesson } from "./driving/lesson/lesson";
|
|
51
|
+
export { CompanySkillSubmitDto, SkillScoreDto } from "./driving/lesson/skill.dto";
|
|
52
|
+
export { DrivingSkill } from "./driving/lesson/skill";
|
|
53
|
+
export { DrivingTopicFilterDto, TopicSubmitDto, TopicsSortDto } from "./driving/lesson/topic.dto";
|
|
54
|
+
export { DrivingTopic } from "./driving/lesson/topic";
|
|
55
|
+
export { TaskCreateDto, TaskFilterDto, TaskUpdateDto } from "./task/task.dto";
|
|
56
|
+
export { Event } from "./task/task.model";
|
|
57
|
+
export { ExpenseCategory, ExpenseCategoryTranslation } from "./expense/category.model";
|
|
58
|
+
export { CompanyExpenseFilterDto, ExpenseCreateDto, ExpenseUpdateDto, SystemExpenseTranslationDto } from "./expense/expense.dto";
|
|
59
|
+
export { Expense } from "./expense/expense.model";
|
|
60
|
+
export { CompanyBankInfoSubmitDto, CompanyFinancialFlowFilterDto, CompanyOnlineTransactionBulkUpdateDto, CompanyOnlineTransactionFilterDto, CompanyStudentDebtFilterDto, FinanceFilterDto, FinanceSortDto, HandoverTransactionStatusDto } from "./finance/finance.dto";
|
|
61
|
+
export { Finance } from "./finance/finance.model";
|
|
62
|
+
export { FreeBenefit } from "./free-benefit/free-benefit.model";
|
|
63
|
+
export { AddressDto, FullAddressDto, LocationDto, ZipCodeDto } from "./geo/address.dto";
|
|
64
|
+
export { IGeoInfo } from "./geo/geoinfo.interface";
|
|
65
|
+
export { PickupLocation, PickupLocationsDto } from "./geo/pickup.model";
|
|
66
|
+
export { GiftCodeGroup } from "./giftcode/giftcode-group.model";
|
|
67
|
+
export { CompanyGiftCodeSubmitDto, SystemGiftCodeGroupCreateDto, SystemGiftCodeGroupUpdateDto, SystemGiftCodeSubmitDto } from "./giftcode/giftcode.dto";
|
|
68
|
+
export { GiftCode } from "./giftcode/giftcode.model";
|
|
69
|
+
export { HandoverSubmitDto } from "./handover/handover.dto";
|
|
70
|
+
export { Handover } from "./handover/handover.model";
|
|
71
|
+
export { InstructorCalendarFilterDto, InstructorFilterDto, InstructorInviteDto } from "./instructor/instructor.dto";
|
|
72
|
+
export { Instructor } from "./instructor/instructor.model";
|
|
73
|
+
export { CompanyInvoiceFilterDto } from "./invoice/invoice.dto";
|
|
74
|
+
export { Invoice } from "./invoice/invoice.model";
|
|
75
|
+
export { InvoiceItem } from "./invoice/item.model";
|
|
76
|
+
export { Item } from "./item/item.model";
|
|
77
|
+
export { License } from "./license/license.model";
|
|
78
|
+
export { Log } from "./log/log.model";
|
|
79
|
+
export { Metric } from "./metric/metric.model";
|
|
80
|
+
export { Notification } from "./notification/notification.model";
|
|
81
|
+
export { NotificationPreferenceDto } from "./notification/preference.dto";
|
|
82
|
+
export { NotificationPreference } from "./notification/preference.model";
|
|
83
|
+
export { CompanyPayment } from "./finance/company-payment.model";
|
|
84
|
+
export { CompanyPaymentMethod } from "./finance/payment-method.model";
|
|
85
|
+
export { SubmitPaymentDto } from "./finance/payment.dto";
|
|
86
|
+
export { AgentPayout } from "./payout/payout.model";
|
|
87
|
+
export { PricePlanFilterDto, SystemPricePlanSubmitDto } from "./priceplan/plan.dto";
|
|
88
|
+
export { PricePlan } from "./priceplan/plan.model";
|
|
89
|
+
export { ContactUsRequestDto } from "./public/contac-us.dto";
|
|
90
|
+
export { ContactSalesRequestDto } from "./public/contact-sales.dto";
|
|
91
|
+
export { CountrySupportRequestDto } from "./public/country-support.dto";
|
|
92
|
+
export { SubmitRefundDto } from "./refund/refund.dto";
|
|
93
|
+
export { Refund } from "./refund/refund.model";
|
|
94
|
+
export { RoleDto } from "./security/role.dto";
|
|
95
|
+
export { IToken } from "./security/token";
|
|
96
|
+
export { InstructorDrivingAppointmentCreateDto, InstructorDrivingAppointmentUpdateDto } from "./session/driving/session.dto";
|
|
97
|
+
export { DrivingSession } from "./session/driving/session.model";
|
|
98
|
+
export { DrivingSessionSkill } from "./session/driving/session.skill";
|
|
99
|
+
export { DrivingSessionTopic } from "./session/driving/session.topic";
|
|
100
|
+
export { SettingValueDto } from "./setting/setting.dto";
|
|
101
|
+
export { Setting } from "./setting/setting.model";
|
|
102
|
+
export { Signature } from "./signature/signature.model";
|
|
103
|
+
export { FilterStudentDto, SubmitStudentDto } from "./student/student.dto";
|
|
104
|
+
export { Student } from "./student/student.model";
|
|
105
|
+
export { TicketFilterDto, TicketSubmitDto } from "./ticket/ticket.dto";
|
|
106
|
+
export { Ticket } from "./ticket/ticket.model";
|
|
107
|
+
export { TrainingRequestFilterDto } from "./training/request.dto";
|
|
108
|
+
export { TrainingRequest } from "./training/request.model";
|
|
109
|
+
export { CompanyTrainingFilterDto, CourseTrainingFilterDto, CreateDrivingTrainingDto, CreateTrainingDto, DrivingTrainingFilterDto, DrivingTransmissionDto, InstructorTrainingFilterDto, TrainingRatingDto } from "./training/training.dto";
|
|
110
|
+
export { Training } from "./training/training.model";
|
|
111
|
+
export { ChangeProfileDto, CloseProfileDto, CreateProfileDto } from "./user/profile.dto";
|
|
112
|
+
export { User } from "./user/user.model";
|
|
113
|
+
export { IUserAgent } from "./user/agent.interface";
|
|
114
|
+
export { ArrayHelper } from "./utils/array.helper";
|
|
115
|
+
export { CompareWithEndDate } from "./utils/compare.validator";
|
|
116
|
+
export { DateHelper } from "./utils/date.helper";
|
|
117
|
+
export { PhoneHelper } from "./utils/phone.helper";
|
|
118
|
+
export { EitherRequired, EitherRequiredConstraint, MutuallyRequired, MutuallyRequiredConstraint } from "./utils/required.validator";
|
|
119
|
+
export { ToBoolean, ToEnum, ToEnumArray, ToNumber, ToNumberArray, ToStringArray, Trim } from "./utils/transformers.helper";
|