@zenvia/sdk
Version:
This SDK for [Node.js](https://nodejs.org/) was created based on the [Zenvia](https://www.zenvia.com/) [API](https://zenvia.github.io/zenvia-openapi-spec/).
22 lines (21 loc) • 711 B
TypeScript
import { AbstractReport, IReportFilters, IReportEntry } from './abstract';
import { ILoggerInstance, IClientOptions } from '../../types';
interface IReportFlowFilters extends IReportFilters {
startDate: string;
endDate?: string;
flowId?: string;
dispatchId?: string;
sessionId?: string;
}
interface IReportFlowEntry extends IReportEntry {
flowId: string;
dispatchId: string;
sessionId: string;
firstEventTimestamp: string;
lastEventTimestamp: string;
variables: any;
}
export declare class ReportFlow extends AbstractReport<IReportFlowEntry, IReportFlowFilters> {
constructor(token: string, loggerInstance: ILoggerInstance, options: IClientOptions);
}
export {};