diff --git a/dist/Customer/File.d.ts b/dist/Customer/File.d.ts index 8f52482..762639b 100644 --- a/dist/Customer/File.d.ts +++ b/dist/Customer/File.d.ts @@ -5,6 +5,8 @@ export default class File extends Resource { document?: Document; file_name: string; file_path: string; + mimetype: string; + size: number; archived_at: Date | null; created_at: Date | null; updated_at: Date | null; diff --git a/dist/Customer/File.js b/dist/Customer/File.js index 763de36..6c9c1f6 100644 --- a/dist/Customer/File.js +++ b/dist/Customer/File.js @@ -43,6 +43,14 @@ __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, "mimetype", void 0); +__decorate([ + (0, class_transformer_1.Expose)(), + __metadata("design:type", Number) +], File.prototype, "size", 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 cdcadab..3c322b6 100644 --- a/src/Customer/File.ts +++ b/src/Customer/File.ts @@ -19,6 +19,12 @@ export default class File extends Resource { @Expose() public file_path!: string; + @Expose() + public mimetype!: string; + + @Expose() + public size!: number; + @Expose() @IsDate() public archived_at: Date | null = null;