@airwallex/node-sdk
Version:
Airwallex Node.js SDK
21 lines • 616 B
TypeScript
import { Config } from '../common/config';
import { HttpClient } from './httpClient';
export declare const ANALYTICS_CODES: {
latency: string;
};
export interface LogFormat {
eventName: string;
eventType?: string;
[key: string]: any;
}
export declare class AnalyticsClient {
private analyticsInstance;
private enableTelemetry;
private commonData;
constructor(basePath: string, config: Config, httpClient?: HttpClient);
sendTelemetry(eventName: string, data: {
[key: string]: any;
}): Promise<void>;
private _sendLog;
}
//# sourceMappingURL=analyticsClient.d.ts.map