Added nots
This commit is contained in:
parent
f45dc562f3
commit
09d5a9d11c
1
dist/Customer/OfficeFolder.d.ts
vendored
1
dist/Customer/OfficeFolder.d.ts
vendored
@ -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[];
|
||||
|
5
dist/Customer/OfficeFolder.js
vendored
5
dist/Customer/OfficeFolder.js
vendored
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user