<?php

namespace NoahVet\Reef\Business\Enumerator;

use NoahVet\Reef\Jane\Model\VeterinaryEstablishmentResponse;

/**
 * @psalm-type VeterinaryEstablishmentFilter = array{
 *     isRegularized?: bool,
 *     veuJobTitle?: string[],
 *     id?: string[],
 *     veuUserId?: string[],
 *     name?: string[],
 *     privilegedCode?: string[],
 *     type?: string[],
 *     tag?: string[],
 *     fromCreatedDate?: string[],
 *     fromUpdatedDate?: string[],
 *     toCreatedDate?: string[],
 *     toUpdatedDate?: string[],
 *     sortCreatedDate?: string,
 *     sortEntryNumber?: string,
 *     sortName?: string,
 *     sortPrivilegedCode?: string,
 *     sortType?: string,
 *     sortUpdatedDate?: string,
 * }
 */
interface VeterinaryEstablishmentEnumeratorInterface
{
    /**
     * @param VeterinaryEstablishmentFilter $filters
     *
     * @return \Generator<VeterinaryEstablishmentResponse>
     *
     * @see Client::getAllVeterinaryEstablishment()
     */
    public function enumerateAll(array $filters = [], int $querySize = 50): \Generator;
}
