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/).
21 lines (20 loc) • 492 B
TypeScript
import { Get } from "../types";
export interface GetFolderRequestProps {
id: string;
}
export interface GetFolderResponse {
folder: Folder;
member_ids: string[];
children: {
thread_id: string;
}[];
}
export interface Folder {
title: string;
creator_id: string;
id: string;
created_usec: number;
updated_usec: number;
}
/** @internal */
export declare const getFolder: (get: Get) => (props: GetFolderRequestProps) => Promise<GetFolderResponse>;