UNPKG

quip-api-typescript

Version:

This is the unofficial and incomplete, but TypeScript-compatible and promise-based library to access the [Quip Automation API](https://quip.com/api/).

22 lines (21 loc) 646 B
import { Post } from "../types"; import { Thread } from "."; export interface AddPeopleToAThreadRequestProps { body: { thread_id: string; member_ids: string; }; } export interface AddPeopleToAThreadResponse { thread: Thread; user_ids: string[]; shared_folder_ids: string[]; expanded_user_ids: string[]; invited_user_emails: string[]; access_levels: Record<string, { access_level: string; }>; html: string; } /** @internal */ export declare const addMembersToThreadOrAddThreadToFolders: (post: Post) => (props: AddPeopleToAThreadRequestProps) => Promise<AddPeopleToAThreadResponse>;