diff --git a/dist/Customer/DocumentType.d.ts b/dist/Customer/DocumentType.d.ts index 719a6df..68bb776 100644 --- a/dist/Customer/DocumentType.d.ts +++ b/dist/Customer/DocumentType.d.ts @@ -6,7 +6,7 @@ import DeedType from "./DeedType"; export default class DocumentType extends Resource { uid?: string; name: string; - public_description: string; + public_description?: string | null; archived_at: Date | null; office?: Office; created_at: Date | null; diff --git a/dist/Customer/DocumentType.js b/dist/Customer/DocumentType.js index 8f18f12..92e2d73 100644 --- a/dist/Customer/DocumentType.js +++ b/dist/Customer/DocumentType.js @@ -22,6 +22,7 @@ const DeedType_1 = __importDefault(require("./DeedType")); class DocumentType extends Resource_1.default { constructor() { super(...arguments); + this.public_description = null; this.archived_at = null; this.created_at = null; this.updated_at = null; @@ -37,7 +38,7 @@ __decorate([ ], DocumentType.prototype, "name", void 0); __decorate([ (0, class_transformer_1.Expose)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], DocumentType.prototype, "public_description", void 0); __decorate([ (0, class_transformer_1.Expose)(), diff --git a/dist/Notary/DocumentType.d.ts b/dist/Notary/DocumentType.d.ts index e8a7486..b0891e1 100644 --- a/dist/Notary/DocumentType.d.ts +++ b/dist/Notary/DocumentType.d.ts @@ -7,7 +7,7 @@ import DeedType from "./DeedType"; export default class DocumentType extends DocumentTypeCustomer { uid?: string; name: string; - public_description: string; + public_description?: string | null; private_description: string | null; archived_at: Date | null; office?: Office; diff --git a/dist/Notary/DocumentType.js b/dist/Notary/DocumentType.js index b16b304..c2430a5 100644 --- a/dist/Notary/DocumentType.js +++ b/dist/Notary/DocumentType.js @@ -37,6 +37,7 @@ const DeedType_1 = __importDefault(require("./DeedType")); class DocumentType extends DocumentType_1.default { constructor() { super(...arguments); + this.public_description = null; this.private_description = null; this.archived_at = null; } @@ -72,7 +73,7 @@ __decorate([ (0, class_transformer_1.Expose)(), (0, class_validator_1.IsOptional)({ groups: ["updateDocumentType"] }), (0, class_validator_1.IsOptional)({ groups: ["createDocumentType"] }), - __metadata("design:type", String) + __metadata("design:type", Object) ], DocumentType.prototype, "public_description", void 0); __decorate([ (0, class_transformer_1.Expose)(), diff --git a/src/Customer/DocumentType.ts b/src/Customer/DocumentType.ts index 5112a43..ffacde2 100644 --- a/src/Customer/DocumentType.ts +++ b/src/Customer/DocumentType.ts @@ -14,7 +14,7 @@ export default class DocumentType extends Resource { public name!: string; @Expose() - public public_description!: string; + public public_description?: string | null = null; @Expose() @IsDate() diff --git a/src/Notary/DocumentType.ts b/src/Notary/DocumentType.ts index 2046df3..5cd8862 100644 --- a/src/Notary/DocumentType.ts +++ b/src/Notary/DocumentType.ts @@ -42,7 +42,7 @@ export default class DocumentType extends DocumentTypeCustomer { @Expose() @IsOptional({ groups: ["updateDocumentType"] }) @IsOptional({ groups: ["createDocumentType"] }) - public override public_description!: string; + public override public_description?: string | null = null; @Expose() @IsOptional({ groups: ["updateDocumentType"] })