type MoneyhubRevenueByCountry {
    account: AbacusAccount!
    accountId: ID!  @deprecated(reason: "Use account.accountId.")
    accountPayeeCurrency: String!
    countryCode: String!
    grossRevenuePayeeCurrency: Float!
    netRevenuePayeeCurrency: Float!
    subaccountRevenue: Float
}

extend type Query {
    moneyhubRevenueByCountry(
        accountId: ID!
        artistId: ID
        productId: ID
        projectId: ID
        subaccountId: ID
        contractId: ID
        statementPeriodIdStart: ID
        statementPeriodIdEnd: ID
        trackUniqueId: ID
        activityPeriodIdStart: ID
        activityPeriodIdEnd: ID
        storeIds: [ID!]
        countryCodes: [String!]
        imprintIds: [ID!]
        transactionTypeIds: [ID!]
        isSubaccount: Boolean
    ): [MoneyhubRevenueByCountry!]!
}
