cerevox
Version:
TypeScript SDK for browser automation and secure command execution in highly available and scalable micro computer environments
20 lines • 875 B
TypeScript
import { type JWTToken } from '@coze/api';
export declare function applyToken(apiKey: string): Promise<JWTToken>;
export declare function uploadFile(localFile: string): Promise<{
url: string;
}>;
export declare function transferToCoze(buffer: Buffer, filename: string, apiKey?: string): Promise<{
url: string;
}>;
export declare function getWorkflowInfo(workflowId: string, apiKey?: string): Promise<any>;
export declare function runWorkflow(workflowId: string, parameters: Record<string, any>, isAsync?: boolean, apiKey?: string): Promise<any>;
export declare function queryWorkflowRunHistory(taskUrl: string, // `https://api.coze.cn/v1/workflows/${workflowId}/run_histories/${executeId}`;
apiKey?: string): Promise<{
execute_id: any;
status: any;
data: any;
log_id: any;
debug_url: any;
error_msg: any;
}>;
//# sourceMappingURL=coze.d.ts.map