diff --git a/dist/Customer/File.d.ts b/dist/Customer/File.d.ts index 1dcd348..b3db2af 100644 --- a/dist/Customer/File.d.ts +++ b/dist/Customer/File.d.ts @@ -3,7 +3,9 @@ import Resource from "../Resource"; export default class File extends Resource { uid?: string; document?: Document; + file_name: string; file_path: string; + iv: string; created_at: Date | null; updated_at: Date | null; } diff --git a/dist/Customer/File.js b/dist/Customer/File.js index 959ac0e..1b2e078 100644 --- a/dist/Customer/File.js +++ b/dist/Customer/File.js @@ -22,7 +22,6 @@ class File extends Resource_1.default { this.created_at = null; this.updated_at = null; } - ; } __decorate([ (0, class_transformer_1.Expose)(), @@ -35,10 +34,18 @@ __decorate([ (0, class_transformer_1.Type)(() => Document_1.default), __metadata("design:type", Document_1.default) ], File.prototype, "document", void 0); +__decorate([ + (0, class_transformer_1.Expose)(), + __metadata("design:type", String) +], File.prototype, "file_name", void 0); __decorate([ (0, class_transformer_1.Expose)(), __metadata("design:type", String) ], File.prototype, "file_path", void 0); +__decorate([ + (0, class_transformer_1.Expose)(), + __metadata("design:type", String) +], File.prototype, "iv", void 0); __decorate([ (0, class_transformer_1.Expose)(), (0, class_validator_1.IsDate)(), diff --git a/src/Customer/File.ts b/src/Customer/File.ts index 991c2d6..047e9f2 100644 --- a/src/Customer/File.ts +++ b/src/Customer/File.ts @@ -14,7 +14,13 @@ export default class File extends Resource { public document?: Document; @Expose() - public file_path!: string;; + public file_name!: string; + + @Expose() + public file_path!: string; + + @Expose() + public iv!: string; @Expose() @IsDate()