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

21 lines (20 loc) 528 B
import { Get } from "../types"; export interface GetUserRequestProps { id: string; } export interface GetUserResponse { id: string; name: string; is_robot: boolean; affinity: number; profile_picture_url?: string; emails?: Emails[]; } export interface Emails { address: string; added_usec: number; verified_company_id: string; send_notifications?: boolean | null; } /** @internal */ export declare const getUser: (get: Get) => (props: GetUserRequestProps) => Promise<GetUserResponse>;