UNPKG

liveperson-functions-cli

Version:
16 lines (15 loc) 711 B
import { RequestPromiseOptions } from 'request-promise-native'; import { ICsdsClient } from '../csds-client/ICsdsClient'; import { ISecretClient } from '../secret-storage/IsecretClient'; import { LpServices } from './LpServices'; export interface ILpClientOptions extends RequestPromiseOptions { appKeySecretName?: string; } export interface IApiKeyCredentials { consumerKey: string; consumerSecret: string; token: string; tokenSecret: string; } export declare const lpClientFactory: (csdsClient: ICsdsClient, secretClient: ISecretClient, httpClient: any) => ILpClient; export declare type ILpClient = (service: LpServices | string, path: string, options: ILpClientOptions) => Promise<any>;