forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB078b459Burak Boduroğlu2 months ago671 commits

getChatbotThreads.ts5 lines, 333 bytesHistoryRawDownload
1import { client, normalizePage, pageQuery, type Page, type PageParams } from "../client";
2import type { ChatbotThread } from "./types";
3export async function getChatbotThreads(params?: PageParams): Promise<Page<ChatbotThread>> {
4 return normalizePage<ChatbotThread>(await client<unknown>(`/chatbot/threads${pageQuery(params)}`));
5}