UNPKG

@timesheet/sdk

Version:
44 lines 1.02 kB
import type { ListParams } from './common'; import type { Team } from './Team'; export interface Rate { id: string; user?: string; lastUpdate?: number; created?: number; deleted?: boolean; title: string; factor: string; extra?: string; enabled?: boolean; archived?: boolean; team?: Team; } export interface RateList { items: Rate[]; params: RateListParams; } export interface RateCreateRequest { title: string; factor: string; extra?: string; enabled?: boolean; archived?: boolean; teamId?: string; } export interface RateUpdateRequest { title?: string; factor?: string; extra?: string; enabled?: boolean; archived?: boolean; deleted?: boolean; } export interface RateListParams extends ListParams { teamId?: string; projectId?: string; status?: 'all' | 'active' | 'inactive'; sort?: 'alpha' | 'status' | 'created'; order?: 'asc' | 'desc'; empty?: boolean; } //# sourceMappingURL=Rate.d.ts.map