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

27 lines (26 loc) 789 B
import { Post } from "../types"; export interface CopyADocumentOrTemplateV2RequestProps { threadIdOrSecretPath: string; body?: { title?: string; folder_id?: string; mail_merge_values?: object; copy_annotations?: boolean; }; } export interface CopyADocumentOrTemplateV2Response { thread: { author_id: string; created_usec: number; id: string; is_template: boolean; link: string; owning_company_id: string; secret_path: string; title: string; type: string; updated_usec: number; }; } /** @internal */ export declare const copyADocumentOrTemplateV2: (post: Post) => (props: CopyADocumentOrTemplateV2RequestProps) => Promise<CopyADocumentOrTemplateV2Response>;