import { Attr } from 'ts-framework' export class CreateOrganizationDTO { @Attr({ type: String }) name: string @Attr({ type: String }) timeZone: string @Attr({ type: String, optional: true }) email?: string @Attr({ type: String, optional: true }) phone?: string @Attr({ type: String, optional: true }) website?: string @Attr({ type: String }) state: string @Attr({ type: String, optional: true }) description?: string } export class CreateOrganizationLegalEntityDTO { @Attr({ type: String }) addressLine1: string @Attr({ type: String }) addressLine2: string @Attr({ type: String }) businessName: string @Attr({ type: String }) businessTaxId: string @Attr({ type: String }) city: string @Attr({ type: String }) firstName: string @Attr({ type: String }) lastName: string @Attr({ type: String }) orgId: string @Attr({ type: String }) postalCode: string @Attr({ type: String }) state: string @Attr({ type: String }) type: string } export class UpdateOrganizationDTO { @Attr({ type: String }) id: string @Attr({ type: String }) name: string @Attr({ type: String, optional: true }) email?: string @Attr({ type: String, optional: true }) phone?: string @Attr({ type: String, optional: true }) website?: string @Attr({ type: String, optional: true }) state?: string @Attr({ type: String, optional: true }) serviceArea?: object @Attr({ type: String, optional: true }) serviceAreaName?: string @Attr({ type: String, optional: true }) serviceAreaBounds?: string[] @Attr({ type: String, optional: true }) timeZone?: string @Attr({ type: String, optional: true }) description?: string } export class OrganizationResponseDTO { id: string name: string email?: string phone?: string website?: string state?: string serviceArea?: object serviceAreaName?: string serviceAreaBounds?: string[] timeZone?: string description?: string unlimited?: boolean }