UNPKG

tmhcc-ir-apis

Version:

imageright APIs

8 lines (7 loc) 624 B
import { AxiosInstance } from 'axios'; export declare function createFile(api: AxiosInstance, fileObj: any): Promise<any>; export declare function findFiles(api: AxiosInstance, searchObj: any): Promise<any>; export declare function getFileById(api: AxiosInstance, fileId: string, includeHasNotes: boolean): Promise<any>; export declare function getRelatedFiles(api: AxiosInstance, fileId: string): Promise<any>; export declare function mergeFiles(api: AxiosInstance, sourceId: string, targetId: string): Promise<any>; export declare function updateFilesV2(api: AxiosInstance, fileId: string, fileObj: string): Promise<any>;