import { gql } from 'graphql-modules';
export default gql `
  extend type Query {
    transactionsForBalanceReport(
      fromDate: TimelessDate!
      toDate: TimelessDate!
      ownerId: UUID
    ): [BalanceTransactions!]!
      @requiresAuth
      @requiresAnyRole(roles: ["business_owner", "accountant"])
  }

  " transactions for balance report "
  type BalanceTransactions {
    id: UUID!
    chargeId: UUID!
    amount: FinancialAmount!
    amountUsd: FinancialAmount!
    date: TimelessDate!
    month: Int!
    year: Int!
    charge: Charge!
    counterparty: FinancialEntity
    isFee: Boolean!
    description: String
    account: FinancialAccount!
  }
`;
//# sourceMappingURL=balance-report.graphql.js.map