resurgence-data 1.1.47 → 1.1.48
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.
@@ -116,6 +116,16 @@ __decorate([
|
|
116
116
|
(0, class_validator_1.IsOptional)(),
|
117
117
|
__metadata("design:type", String)
|
118
118
|
], CreateInvoiceDto.prototype, "title", void 0);
|
119
|
+
__decorate([
|
120
|
+
(0, swagger_1.ApiProperty)({
|
121
|
+
description: "Invoice number",
|
122
|
+
example: " INV27388UYU",
|
123
|
+
required: false,
|
124
|
+
}),
|
125
|
+
(0, class_validator_1.IsString)({ message: "Please enter a valid number" }),
|
126
|
+
(0, class_validator_1.IsOptional)(),
|
127
|
+
__metadata("design:type", String)
|
128
|
+
], CreateInvoiceDto.prototype, "invoiceNumber", void 0);
|
119
129
|
__decorate([
|
120
130
|
(0, swagger_1.ApiProperty)({
|
121
131
|
description: "Description of the invoice",
|
package/package.json
CHANGED
@@ -94,6 +94,14 @@ export class CreateInvoiceDto extends BaseDTO {
|
|
94
94
|
@IsString({ message: "Please enter a valid title" })
|
95
95
|
@IsOptional()
|
96
96
|
title?: string;
|
97
|
+
@ApiProperty({
|
98
|
+
description: "Invoice number",
|
99
|
+
example: " INV27388UYU",
|
100
|
+
required: false,
|
101
|
+
})
|
102
|
+
@IsString({ message: "Please enter a valid number" })
|
103
|
+
@IsOptional()
|
104
|
+
invoiceNumber?: string;
|
97
105
|
@ApiProperty({
|
98
106
|
description: "Description of the invoice",
|
99
107
|
example: "Invoice to blah blah",
|