@heliofi/common 0.1.114 → 0.1.116
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/dist/src/domain/model/email/dtos/emailInvoice.dto.d.ts +15 -0
- package/dist/src/domain/model/email/dtos/emailInvoice.dto.js +78 -0
- package/dist/src/domain/model/email/dtos/emailInvoice.dto.js.map +1 -0
- package/dist/src/domain/model/fee/dtos/FeeDetailsDto.d.ts +4 -0
- package/dist/src/domain/model/fee/dtos/FeeDetailsDto.js +27 -0
- package/dist/src/domain/model/fee/dtos/FeeDetailsDto.js.map +1 -0
- package/dist/src/domain/model/fee/dtos/FeeDto.d.ts +8 -0
- package/dist/src/domain/model/fee/dtos/FeeDto.js +48 -0
- package/dist/src/domain/model/fee/dtos/FeeDto.js.map +1 -0
- package/dist/src/domain/model/fee/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/fee/dtos/index.js +19 -0
- package/dist/src/domain/model/fee/dtos/index.js.map +1 -0
- package/dist/src/domain/model/fee/entities/FeeOptions.d.ts +0 -1
- package/dist/src/domain/model/fee/index.d.ts +1 -0
- package/dist/src/domain/model/fee/index.js +1 -0
- package/dist/src/domain/model/fee/index.js.map +1 -1
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.js +0 -2
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.js.map +1 -1
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.js +0 -2
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Cluster } from '../../blockchain';
|
|
2
|
+
export declare class EmailInvoiceDto {
|
|
3
|
+
companyLogo: string;
|
|
4
|
+
email: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
dueDate: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
cluster?: Cluster;
|
|
9
|
+
merchantName?: string;
|
|
10
|
+
merchantWebsite?: string;
|
|
11
|
+
merchantTwitter?: string;
|
|
12
|
+
merchantDiscord?: string;
|
|
13
|
+
merchantEmail?: string;
|
|
14
|
+
paymentLink?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.EmailInvoiceDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const blockchain_1 = require("../../blockchain");
|
|
15
|
+
class EmailInvoiceDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], EmailInvoiceDto.prototype, "companyLogo", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEmail)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], EmailInvoiceDto.prototype, "email", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], EmailInvoiceDto.prototype, "amount", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], EmailInvoiceDto.prototype, "dueDate", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], EmailInvoiceDto.prototype, "currency", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], EmailInvoiceDto.prototype, "cluster", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], EmailInvoiceDto.prototype, "merchantName", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], EmailInvoiceDto.prototype, "merchantWebsite", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], EmailInvoiceDto.prototype, "merchantTwitter", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], EmailInvoiceDto.prototype, "merchantDiscord", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_1.IsString)(),
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], EmailInvoiceDto.prototype, "merchantEmail", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsString)(),
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], EmailInvoiceDto.prototype, "paymentLink", void 0);
|
|
77
|
+
exports.EmailInvoiceDto = EmailInvoiceDto;
|
|
78
|
+
//# sourceMappingURL=emailInvoice.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/email/dtos/emailInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,iDAA2C;AAE3C,MAAa,eAAe;CAgD3B;AA/CC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACO;AAEpB;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;8CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACQ;AA/CvB,0CAgDC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.FeeDetailsDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class FeeDetailsDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], FeeDetailsDto.prototype, "feeBps", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], FeeDetailsDto.prototype, "code", void 0);
|
|
26
|
+
exports.FeeDetailsDto = FeeDetailsDto;
|
|
27
|
+
//# sourceMappingURL=FeeDetailsDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeeDetailsDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/dtos/FeeDetailsDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,aAAa;CAQzB;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACI;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACG;AAPhB,sCAQC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.FeeDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const FeeDetailsDto_1 = require("./FeeDetailsDto");
|
|
16
|
+
class FeeDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmptyObject)(),
|
|
21
|
+
(0, class_transformer_1.Type)(() => FeeDetailsDto_1.FeeDetailsDto),
|
|
22
|
+
(0, class_validator_1.ValidateNested)(),
|
|
23
|
+
__metadata("design:type", FeeDetailsDto_1.FeeDetailsDto)
|
|
24
|
+
], FeeDto.prototype, "fee", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmptyObject)(),
|
|
28
|
+
(0, class_transformer_1.Type)(() => FeeDetailsDto_1.FeeDetailsDto),
|
|
29
|
+
(0, class_validator_1.ValidateNested)(),
|
|
30
|
+
__metadata("design:type", FeeDetailsDto_1.FeeDetailsDto)
|
|
31
|
+
], FeeDto.prototype, "helioXFee", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], FeeDto.prototype, "feature", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], FeeDto.prototype, "name", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], FeeDto.prototype, "description", void 0);
|
|
47
|
+
exports.FeeDto = FeeDto;
|
|
48
|
+
//# sourceMappingURL=FeeDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeeDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/dtos/FeeDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAMyB;AACzB,mDAAgD;AAEhD,MAAa,MAAM;CAwBlB;AAvBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;8BACZ,6BAAa;mCAAC;AAEnB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;8BACN,6BAAa;yCAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uCACK;AAEhB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oCACG;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACU;AAvBvB,wBAwBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./FeeDto"), exports);
|
|
18
|
+
__exportStar(require("./FeeDetailsDto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,kDAAgC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./entities"), exports);
|
|
18
|
+
__exportStar(require("./dtos"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/fee/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/fee/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB"}
|
|
@@ -24,14 +24,12 @@ __decorate([
|
|
|
24
24
|
(0, class_transformer_1.Type)(() => Date),
|
|
25
25
|
(0, class_validator_1.IsDate)(),
|
|
26
26
|
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
-
(0, class_validator_1.MinDate)(new Date()),
|
|
28
27
|
__metadata("design:type", Date)
|
|
29
28
|
], CreateInvoiceDto.prototype, "dueDate", void 0);
|
|
30
29
|
__decorate([
|
|
31
30
|
(0, class_transformer_1.Type)(() => Date),
|
|
32
31
|
(0, class_validator_1.IsDate)(),
|
|
33
32
|
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
-
(0, class_validator_1.MinDate)(new Date()),
|
|
35
33
|
__metadata("design:type", Date)
|
|
36
34
|
], CreateInvoiceDto.prototype, "date", void 0);
|
|
37
35
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/createInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/createInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,mDAAmD;AAEnD,MAAa,gBAAgB;CAmC5B;AAlCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACJ,IAAI;iDAAC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACP,IAAI;8CAAC;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAc,CAAC;IAC1B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CACP;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAlCzB,4CAmCC"}
|
|
@@ -24,14 +24,12 @@ __decorate([
|
|
|
24
24
|
(0, class_transformer_1.Type)(() => Date),
|
|
25
25
|
(0, class_validator_1.IsDate)(),
|
|
26
26
|
(0, class_validator_1.IsOptional)(),
|
|
27
|
-
(0, class_validator_1.MinDate)(new Date()),
|
|
28
27
|
__metadata("design:type", Date)
|
|
29
28
|
], UpdateInvoiceDto.prototype, "dueDate", void 0);
|
|
30
29
|
__decorate([
|
|
31
30
|
(0, class_transformer_1.Type)(() => Date),
|
|
32
31
|
(0, class_validator_1.IsDate)(),
|
|
33
32
|
(0, class_validator_1.IsOptional)(),
|
|
34
|
-
(0, class_validator_1.MinDate)(new Date()),
|
|
35
33
|
__metadata("design:type", Date)
|
|
36
34
|
], UpdateInvoiceDto.prototype, "date", void 0);
|
|
37
35
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/updateInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"updateInvoice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice/dtos/updateInvoice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,mDAAmD;AAEnD,MAAa,gBAAgB;CAmC5B;AAlCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACJ,IAAI;iDAAC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACP,IAAI;8CAAC;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAc,CAAC;IAC1B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CACN;AAlC3B,4CAmCC"}
|