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/).

24 lines (23 loc) 769 B
import { Thread } from "."; import { Post } from "../types"; export interface CreateADocumentOrSpreadsheetRequestProps { body: { content: string; format?: 'html' | 'markdown'; title?: string; member_ids?: string; type?: 'document' | 'spreadsheet' | 'slides'; }; } export interface CreateADocumentOrSpreadsheetResponse { thread: Thread; user_ids: string[]; shared_folder_ids: string[]; expanded_user_ids: string[]; invited_user_emails: string[]; markdown?: string; access_levels?: object; html?: string; } /** @internal */ export declare const createADocumentOrSpreadsheet: (post: Post) => (props: CreateADocumentOrSpreadsheetRequestProps) => Promise<CreateADocumentOrSpreadsheetResponse>;