liveperson-functions-client
Version:
JavaScript client for LivePerson Functions.
14 lines (13 loc) • 374 B
TypeScript
export declare class CsdsClient {
private ttlInSeconds;
private domainCache;
/**G
* @param ttlInSeconds TTL of the domains cache in seconds
*/
constructor(ttlInSeconds?: number);
get(accountId: string, service: string): Promise<string>;
private getCachedDomains;
private isCacheExpired;
private getUrl;
private getCsdsDomain;
}