UNPKG

canny-api-js

Version:

Unofficial node API wrapper for Canny's API (https://canny.io/).

21 lines (20 loc) 771 B
import { AxiosInstance } from 'axios'; interface ICannyStatusChangeListArgs { /** The id of the board you'd like to fetch status changes for. */ boardID?: string; /** The number of status changes you'd like to fetch. Defaults to 10 if not specified. */ limit?: number; /** The number of status changes you'd like to skip before starting to fetch. Defaults to 0 if not specified. */ skip?: number; } interface ICannyStatusChangeListResponse { hasMore: boolean; statusChanges: ICannyStatusChange[]; } export default class StatusChanges { static STATUS_CHANGES_LIST_ROUTE: string; private axios; constructor(axios: AxiosInstance); list(args?: ICannyStatusChangeListArgs): Promise<ICannyStatusChangeListResponse>; } export {};