use Siiau\ApiClient\Requests\ValidarCredencialesRequest;
$response = siiau()->send(new ValidarCredencialesRequest(
codigo: '123456789',
password: 'pipipopo',
));
use Siiau\ApiClient\Requests\ValidarCredencialesRequest;
$promise = siiau()->sendAsync(new ValidarCredencialesRequest(
codigo: '123456789',
password: 'pipipopo',
));
$promise
->then(static function (Response $response): void {
// Handle Response
})
->otherwise(static function (RequestException $exception): void {
// Handle Exception
});