<?php

namespace NoahVet\Reef\Infrastructure\Security\BSM;

use NoahVet\Reef\Bsm\Endpoint\GetAllVeterinaryGroup;
use NoahVet\Reef\Bsm\Model\VeterinaryGroupResponse;
use NoahVet\Reef\Domain\Security\Model\ResourceType;
use NoahVet\Reef\Infrastructure\Security\AbstractApiWithTeamResourceFinder;
use NoahVet\Reef\Iterator\Factory\ReefApiIteratorFactoryInterface;

class VeterinaryGroupWithTeamResourceFinder extends AbstractApiWithTeamResourceFinder
{
    public function __construct(
        object $client,
        ReefApiIteratorFactoryInterface $iteratorFactory,
        VeterinaryGroupWithTeamFactory $factory,
        ResourceType $resourceType,
    ) {
        parent::__construct(
            $client,
            GetAllVeterinaryGroup::class,
            VeterinaryGroupResponse::class,
            $factory,
            $iteratorFactory,
            $resourceType,
        );
    }
}
