import { AcabimProject, AcabimSite } from '@cas-hub/acabim-common-client'; import { BudgetModel, FinAccountSimpleResponse } from '@cas-hub/acabim-financial-client'; export interface MaintenanceType { readonly id: number; readonly name: string; readonly description: string; readonly expense_type: string; category: string; readonly term: string; readonly account: FinAccountSimpleResponse; } export interface MaintenanceTypeWithCategory { category: string; types: MaintenanceType[]; } export interface LTMSProjectItems { readonly id: string; readonly maintenance_type_name: string; readonly site: AcabimSite; readonly project: AcabimProject; readonly maintenance_type: MaintenanceType; } export interface LTMSType { readonly name: string; readonly description: string; readonly category: string; readonly term: string; readonly expense_type: string; readonly account_id: number; } export interface UpdateAccountModel { name: string; description: string; category: string; term: string; expense_type: string; account_id: number; } export interface LTMSProjectDatatableItem { id: string; maintenance_type_name: string; account_name: string; term: string; category: string; expense_type: string; } export interface LTMSBudgetParent { model?: BudgetModel; parent: LTMSProjectDatatableItem; range: { before: number; after: number; }; }