*/ public function paginate(JobListFilter $filter, int $perPage = 25): LengthAwarePaginator; /** * The Kanban board: every Kanban status (archived left out) with its * jobs by due date, empty statuses included. * * @return array> */ public function board(JobListFilter $filter, int $limitPerStatus = 100): array; public function findDetails(int $id): ?CustomerJobDetails; /** * Summaries of the given jobs, keyed by id; unknown ids are left out. * * @param list $ids * @return array */ public function summariesByIds(array $ids): array; /** * Billing details of the jobs in a status, by job number. * * @return list */ public function billingInfoWithStatus(JobStatus $status): array; /** * Billing details of the jobs billed by a monthly fee that may be * billed now (ordered, in production, on hold or done), by job number. * * @return list */ public function billingInfoMonthly(): array; /** * Billing details of the given jobs, keyed by id; unknown ids are left out. * * @param list $ids * @return array */ public function billingInfoOf(array $ids): array; /** * The job's history, newest first. * * @return list */ public function changes(int $jobId): array; /** * Stored tag names that contain the term, for suggestions. * * @return list */ public function tagSuggestions(string $term = '', int $limit = 20): array; /** * Whether the user is a named member of the job in any role. */ public function isMember(int $jobId, int $userId): bool; }