1import{b2 as a,b3 as r,b4 as o}from"./index-DUWew8AW.js";r(a,o);const k={getUserKey(t,e=!0){return a.post(`https://taskiq.clickheredigital.com/api/login/token?token=${t}${e?"&portalLogIn=true":""}`)},createTask(t,e){return a.post("https://taskiq.clickheredigital.com/api/v1/tasks",{...e},{headers:{Authorization:`Bearer ${t}`}})},createTasks(t,e,s,i){return a.post("https://taskiq.clickheredigital.com/api/tasks/bulk-create",{tasks:e,clientId:s,reporterId:i},{headers:{Authorization:`Bearer ${t}`}})},getTask(t,e){return a.get(`https://taskiq.clickheredigital.com/api/v1/tasks/${t}`,{headers:{Authorization:`Bearer ${e}`}})},createTaskComment(t,e,s){return a.post(`https://taskiq.clickheredigital.com/api/v1/tasks/${t}/comments`,{content:e,mentions:[]},{headers:{Authorization:`Bearer ${s}`}})},getUserTask(t,e=null){return a.get(`https://taskiq.clickheredigital.com/api/v1/users/tasks?user_id=${e||""}`,{headers:{Authorization:`Bearer ${t}`}})},getTaskStatuses(t,e){return a.post("https://taskiq.clickheredigital.com/api/v1/tasks/task-statuses",{task_ids:e},{headers:{Authorization:`Bearer ${t}`}})},getTasks(t,e){return a.get("https://taskiq.clickheredigital.com/api/v1/tasks/",{params:{...e},headers:{Authorization:`Bearer ${t}`}})},getClientsOpenTasks(t,e,s=null){return a.post("https://taskiq.clickheredigital.com/api/v1/tasks/clients/open",{client_ids:e,department_id:s},{headers:{Authorization:`Bearer ${t}`}})},getDepartmentsWithTypes(t){return a.get("https://taskiq.clickheredigital.com/api/departments-with-types",{headers:{Authorization:`Bearer ${t}`}})},updateTaskAssignee(t,e,s){return a.patch(`https://taskiq.clickheredigital.com/api/v1/tasks/${t}/assignee`,{assignee:e},{headers:{Authorization:`Bearer ${s}`}})},updateTask(t,e,s){return a.patch(`https://taskiq.clickheredigital.com/api/v1/tasks/${t}`,e,{headers:{Authorization:`Bearer ${s}`}})},updateTaskStatus(t,e,s){return a.patch(`https://taskiq.clickheredigital.com/api/v1/tasks/${t}/status`,{status:e},{headers:{Authorization:`Bearer ${s}`}})},getAllTaskStatusOptions(t,e=null){return a.get("https://taskiq.clickheredigital.com/api/v1/tasks/statuses",{params:e!=null?{department_id:e}:void 0,headers:{Authorization:`Bearer ${t}`}})},getAllDepartmentTemplates(t){return a.get("https://taskiq.clickheredigital.com/api/v1/tasks/departments-templates",{headers:{Authorization:`Bearer ${t}`}})},getTaskTemplateFields(t,e){return a.get(`https://taskiq.clickheredigital.com/api/v1/tasks/task-templates/${e}/fields`,{headers:{Authorization:`Bearer ${t}`}})},getUserTaskTemplate(t){return a.get("https://taskiq.clickheredigital.com/api/v1/users/task-templates",{headers:{Authorization:`Bearer ${t}`}})},getUserTaskIQActivities(t,e){return a.get("https://taskiq.clickheredigital.com/api/v1/users/activities",{params:{...t},headers:{Authorization:`Bearer ${e}`}})}};export{k as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.