UNPKG

uservoice-nodejs

Version:
35 lines (34 loc) 673 B
export interface IModel { id?: number; created_at?: Date; updated_at?: Date; } export interface IResponseData { page: number; per_page: number; total_records: number; filter: string; sort: string; } export interface IListResponse { response_data: IResponseData; } export interface IAttachment { url: string; temporary_url: string; name: string; size_in_bytes: number; created_at: Date; } export interface IUploadAttachment { name: string; data: string; content_type: string; } export interface IRequestOptions { pagination?: { max?: number; }; per_page?: number; query?: string; }