ee-ts-util
Version:
typescript utilities and functions
19 lines (18 loc) • 750 B
TypeScript
import BullhornClient from "bullhorn-client/lib/Client";
export declare type BuildBullhornClient = (config: BullhornConfig) => Promise<BullhornClient>;
export declare const buildBullhornClient: BuildBullhornClient;
export declare type BullhornPayRateAdapter = (emails: string[]) => Promise<PayRateDto[]>;
export declare type BuildBullhornPayRateAdapter = (bhClient: BullhornClient) => BullhornPayRateAdapter;
export declare const buildBullhornPayRateAdapter: BuildBullhornPayRateAdapter;
export declare type BullhornConfig = {
bhServer: string;
bhAuthServer: string;
bhClientId: string;
bhSecret: string;
bhUserName: string;
bhPassowrd: string;
};
export declare type PayRateDto = {
email: string;
rates: number[];
};