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<{ site: { name: string; contactName: string; contactPhone: string; contactAddress: string; contactPostalCode: string; contactCity: string; id: string; createdAt: Date; updatedAt: Date; } | null; machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; constructeur: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; parentComposantId: string | null; typeComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; }>; findAll(): Promise<({ site: { name: string; contactName: string; contactPhone: string; contactAddress: string; contactPostalCode: string; contactCity: string; id: string; createdAt: Date; updatedAt: Date; } | null; machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; constructeur: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; parentComposantId: string | null; typeComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; })[]>; findByMachine(machineId: string): Promise<({ site: { name: string; contactName: string; contactPhone: string; contactAddress: string; contactPostalCode: string; contactCity: string; id: string; createdAt: Date; updatedAt: Date; } | null; machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; constructeur: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; parentComposantId: string | null; typeComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; })[]>; findByComposant(composantId: string): Promise<({ site: { name: string; contactName: string; contactPhone: string; contactAddress: string; contactPostalCode: string; contactCity: string; id: string; createdAt: Date; updatedAt: Date; } | null; machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; constructeur: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; parentComposantId: string | null; typeComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; })[]>; findByPiece(pieceId: string): Promise<({ site: { name: string; contactName: string; contactPhone: string; contactAddress: string; contactPostalCode: string; contactCity: string; id: string; createdAt: Date; updatedAt: Date; } | null; machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; constructeur: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; parentComposantId: string | null; typeComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; })[]>; findBySite(siteId: string): Promise<({ site: { name: string; contactName: string; contactPhone: string; contactAddress: string; contactPostalCode: string; contactCity: string; id: string; createdAt: Date; updatedAt: Date; } | null; machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; constructeur: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; parentComposantId: string | null; typeComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; })[]>; findOne(id: string): Promise<({ site: { name: string; contactName: string; contactPhone: string; contactAddress: string; contactPostalCode: string; contactCity: string; id: string; createdAt: Date; updatedAt: Date; } | null; machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; constructeur: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; parentComposantId: string | null; typeComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; }) | null>; update(id: string, updateDocumentDto: UpdateDocumentDto): Promise<{ site: { name: string; contactName: string; contactPhone: string; contactAddress: string; contactPostalCode: string; contactCity: string; id: string; createdAt: Date; updatedAt: Date; } | null; machine: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; constructeur: string | null; prix: import("@prisma/client/runtime/library").Decimal | null; emplacement: string | null; machineId: string | null; parentComposantId: string | null; typeComposantId: string | null; } | null; piece: { name: string; id: string; createdAt: Date; updatedAt: Date; reference: string | null; constructeur: 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; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; }>; remove(id: string): Promise<{ name: string; id: string; createdAt: Date; updatedAt: Date; siteId: string | null; machineId: string | null; composantId: string | null; filename: string; path: string; mimeType: string; size: number; pieceId: string | null; }>; }