queryCalls
abstract suspend fun queryCalls(filters: Map<String, Any>, sort: List<SortField> = listOf(SortField.Asc(DEFAULT_QUERY_CALLS_SORT)), limit: Int = DEFAULT_QUERY_CALLS_LIMIT, prev: String? = null, next: String? = null, watch: Boolean = false): Result<QueriedCalls>
Queries calls with a given filter predicate and pagination.
Return
Result containing the QueriedCalls.
Parameters
queryCallsData
Request with the data describing the calls. Contains the filters as well as pagination logic to be used when querying.
limit
maximum number of items in response
prev
paging support. Set null for first page. Otherwise set the value from last page response.
next
paging support. Set null for first page. Otherwise set the value from last page response.