query TrafficUsageByViewerDomainsList(
    $input: ClientTrafficUsageByDomainsListInput
) {
    viewer {
        login
        client {
            statistics {
                trafficUsageByDomains(input: $input) {
                    nodes {
                        domainName
                        clientName
                        totalUsageFormatted
                        subscriptionLimitFormatted
                        subscriptionLimitRemainingFormatted
                        subscriptionLimitUsagePercent
                    }
                    pageInfo {
                        current
                        total
                        pageCount
                    }
                    sortInfo {
                        sortColumn
                        sortDirection
                    }
                }
            }
        }
    }
}
