holidayapi-node/dist/holidayapi.d.ts
Josh Sherman 95d9806a89
chore: updated dist files
Just realized that we don't have Husky or something similar in the mix
to ensure that the dist files are being created automatically.
2022-02-17 20:50:30 -06:00

16 lines
756 B
TypeScript

import { CountriesRequest, CountriesResponse, HolidaysRequest, HolidaysResponse, LanguagesRequest, LanguagesResponse, WorkdayRequest, WorkdayResponse, WorkdaysRequest, WorkdaysResponse } from './types';
export declare class HolidayAPI {
baseUrl: string;
key: string;
constructor({ key, version }: {
key?: string;
version?: number;
});
private createUrl;
private request;
countries(request?: CountriesRequest): Promise<CountriesResponse>;
holidays(request?: HolidaysRequest): Promise<HolidaysResponse>;
languages(request?: LanguagesRequest): Promise<LanguagesResponse>;
workday(request?: WorkdayRequest): Promise<WorkdayResponse>;
workdays(request?: WorkdaysRequest): Promise<WorkdaysResponse>;
}