type MoneyhubRevenueByStatementPeriod {
    accountPayeeCurrency: String!
    grossPublishingRevenuePayeeCurrency: Float
    grossRevenuePayeeCurrency: Float
    netPublishingRevenuePayeeCurrency: Float
    netRevenuePayeeCurrency: Float
    statementPeriod: AbacusStatementPeriod!
    statementPeriodId: ID! @deprecated(reason: "Use statementPeriod instead")
    statementPeriodName: String! @deprecated(reason: "Use statementPeriod instead")
    statementPeriodStatus: String! @deprecated(reason: "Use statementPeriod instead")
    subaccountRevenue: Float
}

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