onesky-api-wrapper
Version:
A fully typed wrapper for the OneSky API.
15 lines (14 loc) • 478 B
TypeScript
import { OneSkyConfig } from '../../http/index.js';
import { DeleteFileResponse, ListFileParams, ListFileResponse } from './file.model.js';
export declare class FileApi {
private _http;
constructor(config: OneSkyConfig);
listFiles(options: {
projectId: string;
params?: ListFileParams;
}): Promise<ListFileResponse>;
delete(options: {
projectId: string;
file_name: string;
}): Promise<DeleteFileResponse>;
}