bkit-chatbot-client-test
Version:
A starter vanilla-ts (extended) template that began with Vite 3.x, prepared for writing node utility libraries in typescript. This starter is meant to provide rapid node package development and publishing onto npm.
13 lines (12 loc) • 446 B
TypeScript
import { MessageWithRelatedProducts } from "./ChatMessages.types";
export interface AuthorizedRequest {
apiKey: string;
}
export interface PaginatedRequest {
offset: number;
limit: number;
orderBy: string;
}
export interface GetConversationOptions extends AuthorizedRequest, PaginatedRequest {
}
export declare const getMessages: (conversationId: string, options: GetConversationOptions) => Promise<MessageWithRelatedProducts[]>;