(async()=>{try{// return all tasks that meet the criteriaconst filterData ={
date_created:1508369194377,'list_ids[]':[123],'statuses[]':['active','in progress'],};const{ body }=await clickup.teams.getFilteredTasks(543, filterData);console.log(body);}catch(error){if(error.response){// The request was made and the server responded with a status code// that falls out of the range of 2xxconsole.log(error.response.body);console.log(error.response.statusCode);console.log(error.response.headers);}elseif(error.request){// The request was made but no response was receivedconsole.log(error.request);}else{// Something happened in setting up the request that triggered an Errorconsole.log('Error', error.message);}console.log(error.options);}})();