import type { Distribution } from '../distribution/types' import type { Tag } from '../tags/types' export type Department = { id: string name: string | null accountId: string distributionId: string | null archivedAt: string | null createdAt: string updatedAt: string // relationships distribution?: Distribution | null tags?: Tag[] } export type DepartmentRelationships = 'distribution' | 'tags' export type CreateDepartmentPayload = { name: string distributionId?: string } export type UpdateDepartmentPayload = { name?: string distributionId?: string | null archivedAt?: string | null }