rapplus
Version:
rapper, use http api as a function
24 lines (23 loc) • 756 B
TypeScript
export declare function updateInterface(params: {
properties: any;
id: number;
}, funcName: string, apiUrl: string, cookie: string): Promise<any>;
export declare function createInterface(params: {
name: string;
url: string;
method: string;
description?: string;
moduleId: number;
repositoryId: number;
}, apiUrl: string, cookie: string): Promise<any>;
export declare function deleteInterface({ id }: {
id: number;
}, apiUrl: string, cookie: string): any;
export declare function deleteModule({ id }: {
id: number;
}, apiUrl: string, cookie: string): void;
export declare function createModule(params: {
description: string;
name: string;
repositoryId: number;
}, apiUrl: any, cookie: any): Promise<any>;