UNPKG

harvest

Version:
35 lines (34 loc) 942 B
import { PagenationParameters } from './base/pagenation'; export interface Project { id: number; client: object; name: string; code: string; is_active: boolean; is_billable: boolean; is_fixed_fee: boolean; bill_by: string; hourly_rate: number; budget: number; budget_by: string; notify_when_over_budget: boolean; over_budget_notification_percentage: number; over_budget_notification_date: string; show_budget_to_all: boolean; cost_budget: number; cost_budget_include_expenses: boolean; fee: number; notes: string; starts_on: string; ends_on: string; created_at: string; updated_at: string; } export interface ProjectsPagenationResponse extends PagenationParameters { projects: Project[]; } export interface ProjectsPagenationParameters extends PagenationParameters { is_active?: boolean; client_id?: number; updated_since?: string; }