#import "./SummaryReportFragment.graphql"

query ClientSummaryReport($clientId: ID!, $layoutId: ID) {
    viewer {
        login
        client {
            email
        }
    }
    client: node(id: $clientId) {
        ... on Client {
            id
            login
            summaryReport(layoutId: $layoutId) {
               ...SummaryReportFragment
            }
            summaryReportLayouts {
                name
                isDefault
                id
            }
        }
    }
}
