ExportApi

TypeScript
declare class ExportApi extends BaseApi
Extends

BaseApi

Methods

Method
createReport(report)
deleteReport(reportId)
editReport(report)
export(report, destination)
getDestinations()
getReportsList()
getReportsListWithDisabled()

Method Details

createReport

TypeScript
createReport(report: Report): void;
Parameters
ParameterType
reportReport
Returns

void

deleteReport

TypeScript
deleteReport(reportId: string): void;
Parameters
ParameterType
reportIdstring
Returns

void

editReport

TypeScript
editReport(report: Report): void;
Parameters
ParameterType
reportReport
Returns

void

export

TypeScript
export(report: Report, destination: ExportDestination): void;
Parameters
ParameterType
reportReport
destinationExportDestination
Returns

void

getDestinations

TypeScript
getDestinations(): ExportDestination[];
Returns

ExportDestination[]

getReportsList

TypeScript
getReportsList(): Report[];
Returns

Report[]

getReportsListWithDisabled

TypeScript
getReportsListWithDisabled(): (Report & {
        disabled: boolean;
    })[];
Returns

(Report & { disabled: boolean; })[]