*/ public function tree(bool $includeInactive = true): array; /** * Active service units a customer job can be assigned to (not the shared unit). * * @return list */ public function activeServiceUnits(): array; /** * Active work types of the given service units plus the shared work * types, grouped by unit and service. * * @param list $serviceUnitIds * @return list */ public function activeWorkTypesFor(array $serviceUnitIds): array; public function findServiceUnit(int $id): ?ServiceUnitSummary; /** * Service unit names for many ids at once, active or not. * * @param list $ids * @return array */ public function serviceUnitNames(array $ids): array; public function findService(int $id): ?ServiceSummary; public function findWorkType(int $id): ?WorkTypeSummary; /** * The services of a unit in order, for choosing a work type's service. * * @return list */ public function servicesOf(int $serviceUnitId): array; }