query TrafficUsageByClientDomainsList(
    $clientId: ID!,
    $input: ClientTrafficUsageByDomainsListInput
) {
    client: node(id: $clientId) {
        ... on Client {
            id
            statistics {
                trafficUsageByDomains(input: $input) {
                    nodes {
                        domainId
                        domainName
                        clientName
                        totalUsageFormatted
                        subscriptionLimitFormatted
                        subscriptionLimitRemainingFormatted
                        subscriptionLimitUsagePercent
                    }
                    pageInfo {
                        current
                        total
                        pageCount
                    }
                    sortInfo {
                        sortColumn
                        sortDirection
                    }
                }
            }
        }
    }
}
