cityssm/node-faster-unofficial-api

View on GitHub
index.d.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { FasterReportExporter, type FasterReportExporterOptions } from '@cityssm/faster-report-exporter';
import { csvReports, xlsxReports } from '@cityssm/faster-report-parser';
export type FasterUnofficialAPIOptions = Omit<FasterReportExporterOptions, 'downloadFolderPath'>;
export declare class FasterUnofficialAPI {
    #private;
    constructor(fasterTenant: string, fasterUserName: string, fasterPassword: string, options?: Partial<FasterUnofficialAPIOptions>);
    getAssets(): Promise<xlsxReports.W114AssetReportData[]>;
    getInventory(): Promise<xlsxReports.W200StoreroomReportData[]>;
}
export declare const parser: {
    csvReports: typeof csvReports;
    xlsxReports: typeof xlsxReports;
};
export declare const exporter: {
    FasterReportExporter: typeof FasterReportExporter;
};