bcucotizaciones
Version:
An easy to use soap client for currency price consulting agains Uruguayan central bank (BCU)
21 lines • 928 B
TypeScript
import { IRespuestaObtenerFechaDeUltimoCierre } from '../interfaces/IRespuestaObtenerFechaDeUltimoCierre';
import { IRespuestaObtenerCotizacion } from '../interfaces/IRespuestaObtenerCotizacion';
import { IRespuestaMoneda } from '../interfaces/IRespuestaMoneda';
import { Grupo } from '../cotizacion/Grupo';
type PeticionCotizacion = {
codigoDeMonedas: number[];
fecha?: string;
grupo?: Grupo;
};
export default class ClienteBCU {
private readonly WSDL_COTIZACIONES;
private readonly WSDL_ULTIMO_CIERRE;
private readonly WSDL_MONEDAS;
private readonly GRUPOS_MONEDAS;
obtenerCotizacion(peticion: PeticionCotizacion): Promise<IRespuestaObtenerCotizacion>;
obtenerFechaDelUltimoCierre(): Promise<IRespuestaObtenerFechaDeUltimoCierre>;
obtenerMonedas(grupo?: number): Promise<IRespuestaMoneda[]>;
private esFechaValidaParaCotizacion;
}
export {};
//# sourceMappingURL=ClienteBCU.d.ts.map