bugyo-cloud-client
Version:
HTTP client for Bugyo Cloud
15 lines (14 loc) • 545 B
TypeScript
type pathHolders = "tenantCode" | "userCode";
type pathFormatter = (values: Partial<{
[k in pathHolders]: string;
}>) => string;
type UrlTemplate = {
[k in EndpointName]: Readonly<{
baseURL: string;
pathFormatter: pathFormatter;
}>;
};
export type EndpointName = "LoginPage" | "TimeClock" | "CheckAuthenticationMethod" | "Authenticate" | "OmRedirect" | "PunchmarkPage" | "TimeClock" | "CallLogout";
export declare const USER_AGENT = "Mozilla/5.0";
export declare const URL_TEMPLATE: Readonly<UrlTemplate>;
export {};