In order. */ public function groups(bool $includeInactive = true): array; /** * Items in group order and then by name. $search matches parts of the * name or code regardless of case and Finnish letters. * * @return list */ public function items(?string $search = null, ?int $groupId = null, bool $onlyReorder = false, bool $includeInactive = false): array; public function findItem(int $id): ?StockItemSummary; /** * @param list $ids * @return array By id. */ public function itemsByIds(array $ids): array; /** * The item's movements, newest first, with the balance after each. * * @return list */ public function movementsOf(int $itemId, int $limit = 200): array; public function findMovement(int $id): ?StockMovementSummary; /** * The private-disk path of the item's image or its thumbnail. */ public function imagePathOf(int $itemId, bool $thumbnail): ?string; }