*/ public function itemsOf(int $machineId, bool $includeInactive = false): array; public function findItem(int $itemId): ?MaintenanceItemStatus; /** * Items in use of machines in use whose maintenance is coming up or * late: the maintenance requests. * * @return list */ public function due(): array; /** * A machine's maintenance history, newest first, filtered by item and * by days (Y-m-d, both inclusive). * * @return list */ public function history(int $machineId, ?int $itemId = null, ?string $from = null, ?string $to = null, int $limit = 200): array; }