import { ApprovalState } from "@prisma/client";

export interface UpdateApprovalInfoDto {
  isNeeded?: boolean;
  whoRequested?: string;
  answeredFrom?: string;
  location?: string;
}

export interface UpdateDocumentInfoDto {
  approval: UpdateApprovalInfoDto;
  tdLocation?: string;
}

export interface TicketFilterDto {
  errors?: string[];
  approvalStates?: ApprovalState[];
  documentInfo?: ('approval' | 'transport_document')[]
}