UNPKG

cctail

Version:

Salesforce Commerce Cloud logs remote tail

16 lines (15 loc) 788 B
import { AxiosResponse } from 'axios'; import { DwJson, LogFile } from './types'; declare const logfetcher: { errorcount: number; errorlimit: number; makeRequest: (profile: DwJson, methodStr: string, url_suffix: string, headers: Map<string, string>, debug?: boolean) => Promise<AxiosResponse>; authorize: (profile: DwJson, debug?: boolean) => Promise<void>; fetchLogList: (profile: DwJson, debug?: boolean, logpath?: string) => Promise<string>; fetchFileSize: (profile: DwJson, logobj: LogFile) => Promise<number>; fetchLogContent: (profile: DwJson, logobj: LogFile) => Promise<[LogFile, string]>; logMissingAuthCredentials: () => void; isUsingAPI: (profile: DwJson) => string; isUsingBM: (profile: DwJson) => string; }; export default logfetcher;