UNPKG

@vanakaru/ekilex-api-client

Version:

A node api client for the Ekilex API

18 lines (17 loc) 419 B
import { HttpClient } from '../http/http-client'; export declare type DomainOrigin = { code: string; label: string; }; export declare type Domain = { name: string; origin: string; code: string; value: string; }; export declare class Domains { private httpClient; constructor(httpClient: HttpClient); getOrigins(): Promise<Domain[]>; get(domainCode: string): Promise<Domain[]>; }