export interface ChartOfAccountType {
  id: string
  name: string
  code: string
  description: string
  is_active: boolean
  created_at: string
  updated_at: string
}

export interface ChartOfAccountTypes {
  data: ChartOfAccountType[]
  limit: number
  page: number
  total: number
}

export interface ChartOfAccount {
  id: string
  organization_id: string
  outlet_id: string
  chart_of_account_type_id: string
  parent_id: string
  name: string
  code: string
  description: string
  is_active: boolean
  is_system: boolean
  created_at: string
  updated_at: string
  chart_of_account_type: ChartOfAccountType
}

export interface ChartOfAccounts {
  data: ChartOfAccount[]
  limit: number
  page: number
  total: number
}

export interface Account {
  id: string
  organization_id: string
  outlet_id: string
  chart_of_account_id: string
  name: string
  number: string
  account_type: string
  opening_balance: number
  current_balance: number
  description: string
  is_active: true
  is_system: false
  created_at: string
  updated_at: string
  chart_of_account: ChartOfAccount
}

export interface Accounts {
  data: Account[]
  limit: number
  page: number
  total: number
}
