@memori.ai/memori-api-client
Version:
React library to integrate a Memori in your app or website
12 lines (11 loc) • 537 B
TypeScript
import { ResponseSpec, CorrelationPair } from '../types';
declare const _default: (apiUrl: string) => {
getCorrelationPairs: (sessionId: string, from?: number, howMany?: number) => Promise<ResponseSpec & {
correlationPairs: CorrelationPair[];
}>;
postCorrelationPair: (sessionId: string, correlationPair: CorrelationPair) => Promise<ResponseSpec & {
correlationPair: CorrelationPair;
}>;
deleteCorrelationPair: (sessionId: string, pairId: string) => Promise<ResponseSpec>;
};
export default _default;