hcc-imageright-apis
Version:
imageright APIs
18 lines (17 loc) • 1.55 kB
TypeScript
import { AxiosInstance } from 'axios';
export declare function checkReadPermissions(api: AxiosInstance, pageId: string): Promise<any>;
export declare function createPage(api: AxiosInstance, content: any): Promise<any>;
export declare function getAllPagesFromDocument(api: AxiosInstance, docId: string): Promise<any>;
export declare function getPageById(api: AxiosInstance, pageId: string): Promise<any>;
export declare function getPageImageMetadata(api: AxiosInstance, pageId: string): Promise<any>;
export declare function lockPage(api: AxiosInstance, pageId: string): Promise<any>;
export declare function movePage(api: AxiosInstance, moveObj: any): Promise<any>;
export declare function rotatePage(api: AxiosInstance, pageId: string, rotationAngle: number): Promise<any>;
export declare function unlockPage(api: AxiosInstance, pageId: string): Promise<any>;
export declare function updatePageContent(api: AxiosInstance, pageId: string, content: any): Promise<any>;
export declare function updatePageProperties(api: AxiosInstance, pageId: string, properties: any): Promise<any>;
export declare function copyPage(api: AxiosInstance, copyObj: any): Promise<any>;
export declare function createPageV2(api: AxiosInstance, content: any, params?: any): Promise<any>;
export declare function mergeToDocument(api: AxiosInstance, mergeObj: any): Promise<any>;
export declare function movePageV2(api: AxiosInstance, moveObj: any): Promise<any>;
export declare function updatePageContentV2(api: AxiosInstance, pageId: string, content: any): Promise<any>;