@grapadigital/shared-schemas 1.0.80 → 1.0.82
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.
|
@@ -15,15 +15,15 @@ const mongoose_2 = require("mongoose");
|
|
|
15
15
|
let Inbox = class Inbox {
|
|
16
16
|
};
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, mongoose_1.Prop)({ required:
|
|
18
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
20
|
], Inbox.prototype, "invoiceDescription", void 0);
|
|
21
21
|
__decorate([
|
|
22
|
-
(0, mongoose_1.Prop)({ required:
|
|
22
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], Inbox.prototype, "invoiceEmail", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, mongoose_1.Prop)({ required:
|
|
26
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], Inbox.prototype, "emissionNotes", void 0);
|
|
29
29
|
__decorate([
|
|
@@ -116,6 +116,10 @@ __decorate([
|
|
|
116
116
|
(0, mongoose_1.Prop)({ required: true }),
|
|
117
117
|
__metadata("design:type", String)
|
|
118
118
|
], Invoice.prototype, "title", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
121
|
+
__metadata("design:type", Number)
|
|
122
|
+
], Invoice.prototype, "installmentNumber", void 0);
|
|
119
123
|
__decorate([
|
|
120
124
|
(0, mongoose_1.Prop)({
|
|
121
125
|
required: true,
|
package/package.json
CHANGED
|
@@ -6,11 +6,11 @@ export type InvoiceDocument = HydratedDocument<Invoice>;
|
|
|
6
6
|
|
|
7
7
|
@Schema({ _id: false })
|
|
8
8
|
class Inbox {
|
|
9
|
-
@Prop({ required:
|
|
9
|
+
@Prop({ required: false }) invoiceDescription: string;
|
|
10
10
|
|
|
11
|
-
@Prop({ required:
|
|
11
|
+
@Prop({ required: false }) invoiceEmail: string;
|
|
12
12
|
|
|
13
|
-
@Prop({ required:
|
|
13
|
+
@Prop({ required: false }) emissionNotes: string;
|
|
14
14
|
|
|
15
15
|
@Prop({ required: true }) estimatedInvoiceIssueDate: Date;
|
|
16
16
|
|
|
@@ -59,6 +59,8 @@ export class Invoice {
|
|
|
59
59
|
|
|
60
60
|
@Prop({ required: true }) title: string;
|
|
61
61
|
|
|
62
|
+
@Prop({ required: true }) installmentNumber: number;
|
|
63
|
+
|
|
62
64
|
@Prop({
|
|
63
65
|
required: true,
|
|
64
66
|
enum: [
|