interface Store {
  id_structure: number
  nom: string
  ip_master: string
  telephone: string
  photoLink: string
  enseigne: string
  nb_caisses: number
  adresse: string
  caisses: Caisse[]
}

interface Caisse {
  id_caisse: number
  ip: string
}

interface Replication {
  pendingReplications: number
  minPendingReplicationDate: string
  maxPendingReplicationDate: string
}

interface Transaction {
  backOfficeTransactions: number
  minBackOfficeTransactionDate: string
  maxBackOfficeTransactionDate: string
  backOfficeBusinessDate: string
}

interface XstoreTransaction {
  count: number
  minDate: string
  minDateT: string
  minDateH: string
  maxDate: string
  maxDateT: string
  maxDateH: string
}

export interface StoreData {
  store: Store
  replication: Replication
  transaction: Transaction
  openingTransaction: XstoreTransaction
  closingTransaction: XstoreTransaction
  saleTransaction: XstoreTransaction
  xstoreVersion: string
  xstoreVersionDate: string
  xstoreVersionCustomer: string
}
