@chittyos/chittycontextual-client
Version:
TypeScript client for ChittyContextul cross-source temporal intelligence platform
35 lines (32 loc) • 2.15 kB
text/typescript
export { j as BulkAnalysisParams, B as BulkAnalysisResult, C as ChittyContextualClient, p as ClientConfig, l as ComprehensiveAnalysisParams, k as ComprehensiveAnalysisResult, t as CrossRefType, f as CrossReference, h as CrossReferenceAnalysisParams, g as CrossReferenceResult, D as Document, E as Entity, e as EntityExtraction, s as EntityType, v as ErrorResponse, I as IntelligentSearchParams, m as IntelligentSearchResult, M as Message, q as MessageSource, o as PartyLearningParams, n as PartyLearningResult, P as ProcessingStats, r as ProcessingStatus, S as SearchMessagesParams, i as SourceCorrelation, u as TimeRange, T as TimelineParams, b as Topic, c as TopicAnalysis, d as TopicEvolution, a as UploadDocumentsResult, U as UploadProgressCallback, C as default } from '../client-CaQH4Ol8.mjs';
declare class ChittyContextualError extends Error {
statusCode?: number | undefined;
response?: any | undefined;
constructor(message: string, statusCode?: number | undefined, response?: any | undefined);
}
declare class NetworkError extends ChittyContextualError {
cause?: Error;
constructor(message: string, cause?: Error);
}
declare class AuthenticationError extends ChittyContextualError {
constructor(message?: string);
}
declare class ValidationError extends ChittyContextualError {
errors?: Record<string, string[]> | undefined;
constructor(message: string, errors?: Record<string, string[]> | undefined);
}
declare class NotFoundError extends ChittyContextualError {
constructor(resource: string);
}
declare class RateLimitError extends ChittyContextualError {
retryAfter?: number | undefined;
constructor(retryAfter?: number | undefined, message?: string);
}
declare class ServerError extends ChittyContextualError {
constructor(message?: string);
}
declare class TimeoutError extends ChittyContextualError {
constructor(timeoutMs: number);
}
declare function handleResponseError(response: Response, body?: any): never;
export { AuthenticationError, ChittyContextualError, NetworkError, NotFoundError, RateLimitError, ServerError, TimeoutError, ValidationError, handleResponseError };