export type Term = { id: string title: Record text: Record expirationDate: string version: string agnusId: string accountId: string | null userId: string | null agreementDate: string | null createdAt: string updatedAt: string } export type CreateTermPayload = { title: Record text: Record expirationDate: string version: string agnusId: string accountId?: string } export type UpdateTermPayload = { title?: Record text?: Record expirationDate?: string version?: string }