import { DocumentsService } from './documents.service'; import { CreateDocumentDto, UpdateDocumentDto } from '../shared/dto/document.dto'; export declare class DocumentsController { private readonly documentsService; constructor(documentsService: DocumentsService); create(createDocumentDto: CreateDocumentDto): Promise<{ machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; siteId: string; typeMachineId: string | null; } | null; composant: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; typeComposantId: string | null; parentComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; composantId: string | null; typePieceId: string | null; } | null; } & { name: string; id: string; createdAt: Date; updatedAt: Date; machineId: string | null; composantId: string | null; pieceId: string | null; filename: string; path: string; mimeType: string; size: number; }>; findAll(): Promise<({ machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; siteId: string; typeMachineId: string | null; } | null; composant: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; typeComposantId: string | null; parentComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; composantId: string | null; typePieceId: string | null; } | null; } & { name: string; id: string; createdAt: Date; updatedAt: Date; machineId: string | null; composantId: string | null; pieceId: string | null; filename: string; path: string; mimeType: string; size: number; })[]>; findByMachine(machineId: string): Promise<({ machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; siteId: string; typeMachineId: string | null; } | null; composant: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; typeComposantId: string | null; parentComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; composantId: string | null; typePieceId: string | null; } | null; } & { name: string; id: string; createdAt: Date; updatedAt: Date; machineId: string | null; composantId: string | null; pieceId: string | null; filename: string; path: string; mimeType: string; size: number; })[]>; findByComposant(composantId: string): Promise<({ machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; siteId: string; typeMachineId: string | null; } | null; composant: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; typeComposantId: string | null; parentComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; composantId: string | null; typePieceId: string | null; } | null; } & { name: string; id: string; createdAt: Date; updatedAt: Date; machineId: string | null; composantId: string | null; pieceId: string | null; filename: string; path: string; mimeType: string; size: number; })[]>; findByPiece(pieceId: string): Promise<({ machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; siteId: string; typeMachineId: string | null; } | null; composant: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; typeComposantId: string | null; parentComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; composantId: string | null; typePieceId: string | null; } | null; } & { name: string; id: string; createdAt: Date; updatedAt: Date; machineId: string | null; composantId: string | null; pieceId: string | null; filename: string; path: string; mimeType: string; size: number; })[]>; findOne(id: string): Promise<({ machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; siteId: string; typeMachineId: string | null; } | null; composant: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; typeComposantId: string | null; parentComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; composantId: string | null; typePieceId: string | null; } | null; } & { name: string; id: string; createdAt: Date; updatedAt: Date; machineId: string | null; composantId: string | null; pieceId: string | null; filename: string; path: string; mimeType: string; size: number; }) | null>; update(id: string, updateDocumentDto: UpdateDocumentDto): Promise<{ machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; siteId: string; typeMachineId: string | null; } | null; composant: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; typeComposantId: string | null; parentComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; prestataire: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; composantId: string | null; typePieceId: string | null; } | null; } & { name: string; id: string; createdAt: Date; updatedAt: Date; machineId: string | null; composantId: string | null; pieceId: string | null; filename: string; path: string; mimeType: string; size: number; }>; remove(id: string): Promise<{ name: string; id: string; createdAt: Date; updatedAt: Date; machineId: string | null; composantId: string | null; pieceId: string | null; filename: string; path: string; mimeType: string; size: number; }>; }