diff --git a/dist/Customer/OfficeFolder.d.ts b/dist/Customer/OfficeFolder.d.ts index f8e8cb6..0964cf1 100644 --- a/dist/Customer/OfficeFolder.d.ts +++ b/dist/Customer/OfficeFolder.d.ts @@ -8,6 +8,7 @@ export default class OfficeFolder extends Resource { name: string; description: string | null; archived_description: string | null; + notes: string | null; status: EFolderStatus | string; office?: Office; customers?: Customer[]; diff --git a/dist/Customer/OfficeFolder.js b/dist/Customer/OfficeFolder.js index 185ab82..e0088ec 100644 --- a/dist/Customer/OfficeFolder.js +++ b/dist/Customer/OfficeFolder.js @@ -23,6 +23,7 @@ class OfficeFolder extends Resource_1.default { super(...arguments); this.description = null; this.archived_description = null; + this.notes = null; this.status = EFolderStatus_1.default.LIVE; this.created_at = null; this.updated_at = null; @@ -48,6 +49,10 @@ __decorate([ (0, class_transformer_1.Expose)(), __metadata("design:type", Object) ], OfficeFolder.prototype, "archived_description", void 0); +__decorate([ + (0, class_transformer_1.Expose)(), + __metadata("design:type", Object) +], OfficeFolder.prototype, "notes", void 0); __decorate([ (0, class_transformer_1.Expose)(), __metadata("design:type", String) diff --git a/src/Customer/OfficeFolder.ts b/src/Customer/OfficeFolder.ts index 5920bf8..8e54f9f 100644 --- a/src/Customer/OfficeFolder.ts +++ b/src/Customer/OfficeFolder.ts @@ -1,6 +1,4 @@ -import { - IsDate, -} from "class-validator"; +import { IsDate } from "class-validator"; import Office from "./Office"; import Resource from "../Resource"; import { Expose, Type } from "class-transformer"; @@ -8,37 +6,40 @@ import EFolderStatus from "./EFolderStatus"; import Customer from "./Customer"; export default class OfficeFolder extends Resource { - @Expose() - public uid?: string; + @Expose() + public uid?: string; - @Expose() - public folder_number!: string; + @Expose() + public folder_number!: string; - @Expose() - public name!: string; + @Expose() + public name!: string; - @Expose() - public description: string | null = null; + @Expose() + public description: string | null = null; - @Expose() - public archived_description: string | null = null; + @Expose() + public archived_description: string | null = null; - @Expose() - public status: EFolderStatus | string = EFolderStatus.LIVE; + @Expose() + public notes: string | null = null; - @Expose() - @Type(() => Office) - public office?: Office; + @Expose() + public status: EFolderStatus | string = EFolderStatus.LIVE; - @Expose() - @Type(() => Customer) - public customers?: Customer[]; + @Expose() + @Type(() => Office) + public office?: Office; - @Expose() - @IsDate() - public created_at: Date | null = null; + @Expose() + @Type(() => Customer) + public customers?: Customer[]; - @Expose() - @IsDate() - public updated_at: Date | null = null; + @Expose() + @IsDate() + public created_at: Date | null = null; + + @Expose() + @IsDate() + public updated_at: Date | null = null; }