solvice-vrp-components
Version:
React components library for visualizing VRP problems in Mintlify documentation
30 lines (28 loc) • 804 B
TypeScript
import { SolviceStatusJob } from 'solvice-vrp-solver/resources/vrp/jobs';
import { VRPJobsResponse } from '../types/api';
export declare class SolviceAPIClient {
private client;
private apiKey;
constructor(apiKey?: string);
/**
* Validate API key is present
*/
private validateApiKey;
/**
* Get status of a specific job
*/
getJobStatus(id: string): Promise<SolviceStatusJob>;
/**
* List all jobs for account
* Uses mock API in development, real API in production
*/
listJobs(page?: number, pageSize?: number): Promise<VRPJobsResponse>;
/**
* Check if API key is configured
*/
isConfigured(): boolean;
/**
* Get configuration status for error messages
*/
getConfigurationError(): string | null;
}