UNPKG

@taazkareem/clickup-mcp-server

Version:

ClickUp MCP Server - Powering AI Agents with full ClickUp task, document, and chat management capabilities.

1 lines 9.21 kB
function a0_0x2bbf(){const _0x30560d=['iIbPBIa','nte3mdLkv2HwEwu','zxjHDgK','u3vJy2u','y2XPzw4','mZi0mJHkBujyy1G','Chv0','rMfPBgu','y29Yzq','AgvJA2W','igL0zw0','y2TSAxm','y2HLy2S','nJz1t0n3vxC','igLUigm','nte4nteYmMDlCgr5DW','x2L0zw0','Axn0','yxnZAwC','BwfRzvi','BgLZDa','BhKGy3i','BgLZDca','zunOzwm','DxbKyxq','zwf0zwq','Cg9ZDa','DcbPDgu','y3jLyxq','l2nOzwm','zwrPDem','igzYB20','zgf0yq','DcaI','BMfTzq','oti1mJmWmfPXyKXsuW','iIbVBIa','zgf0zwq','nJuYntqWnZbYzwXbA00','A2XPC3q','mtuZmtC0n05wz0DerW','C0rREfu','zuvYCM8','DgfZAYa','zgvSzxq','Bgv0zwq','BhKGDxa','BMvL','Cg9ZAxq','BhKGzgu','l3rHC2S','zsbJAgu','sxrLBq','Aw9U','zcb0BYa','zxf1zxm','mZHKsKPcvMC','C3nMDwW','Bg9Nt3a','Axn0sxq','og5yuwTuqG','AgfUzgW','mtmYotq4mdbIv3jVCxy','ignOzwm'];a0_0x2bbf=function(){return _0x30560d;};return a0_0x2bbf();}const a0_0x352dca=a0_0x5f16;function a0_0x5f16(_0x15a86d,_0x90c5c3){_0x15a86d=_0x15a86d-0x1b3;const _0x2bbf6e=a0_0x2bbf();let _0x5f168f=_0x2bbf6e[_0x15a86d];if(a0_0x5f16['MGAyFC']===undefined){var _0x4b3b77=function(_0x373d13){const _0x5524ac='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x35d63f='',_0x1d5a8a='';for(let _0x418013=0x0,_0x4491d1,_0x29c0fc,_0x130d02=0x0;_0x29c0fc=_0x373d13['charAt'](_0x130d02++);~_0x29c0fc&&(_0x4491d1=_0x418013%0x4?_0x4491d1*0x40+_0x29c0fc:_0x29c0fc,_0x418013++%0x4)?_0x35d63f+=String['fromCharCode'](0xff&_0x4491d1>>(-0x2*_0x418013&0x6)):0x0){_0x29c0fc=_0x5524ac['indexOf'](_0x29c0fc);}for(let _0x4d903c=0x0,_0x499554=_0x35d63f['length'];_0x4d903c<_0x499554;_0x4d903c++){_0x1d5a8a+='%'+('00'+_0x35d63f['charCodeAt'](_0x4d903c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1d5a8a);};a0_0x5f16['pXWQXX']=_0x4b3b77,a0_0x5f16['IDlnvu']={},a0_0x5f16['MGAyFC']=!![];}const _0x97504e=_0x2bbf6e[0x0],_0xd08b89=_0x15a86d+_0x97504e,_0x2880f4=a0_0x5f16['IDlnvu'][_0xd08b89];return!_0x2880f4?(_0x5f168f=a0_0x5f16['pXWQXX'](_0x5f168f),a0_0x5f16['IDlnvu'][_0xd08b89]=_0x5f168f):_0x5f168f=_0x2880f4,_0x5f168f;}(function(_0x3cc9f9,_0x130e96){const _0x1218f9=a0_0x5f16,_0x56de08=_0x3cc9f9();while(!![]){try{const _0x2ac87c=parseInt(_0x1218f9(0x1e9))/0x1*(-parseInt(_0x1218f9(0x1e0))/0x2)+parseInt(_0x1218f9(0x1b5))/0x3*(-parseInt(_0x1218f9(0x1ed))/0x4)+-parseInt(_0x1218f9(0x1cb))/0x5+-parseInt(_0x1218f9(0x1b7))/0x6+parseInt(_0x1218f9(0x1d0))/0x7*(-parseInt(_0x1218f9(0x1e4))/0x8)+-parseInt(_0x1218f9(0x1e6))/0x9+parseInt(_0x1218f9(0x1ce))/0xa;if(_0x2ac87c===_0x130e96)break;else _0x56de08['push'](_0x56de08['shift']());}catch(_0x3e1a09){_0x56de08['push'](_0x56de08['shift']());}}}(a0_0x2bbf,0xe8e3a));export class TaskChecklistsService{constructor(_0x235bd0){const _0x4fa641=a0_0x5f16;this[_0x4fa641(0x1f0)]=_0x235bd0;}async['creat'+a0_0x352dca(0x1bf)+a0_0x352dca(0x1cf)](_0x57af34,_0x28df1e){const _0x3c0088=a0_0x352dca,_0x5be960={'sDkxU':_0x3c0088(0x1c4)+_0x3c0088(0x1bf)+_0x3c0088(0x1cf)};this[_0x3c0088(0x1f0)]['logOp'+_0x3c0088(0x1ea)+'on'](_0x5be960[_0x3c0088(0x1d1)],{'taskId':_0x57af34,'name':_0x28df1e});try{return await this[_0x3c0088(0x1f0)]['makeR'+_0x3c0088(0x1df)+'t'](async()=>{const _0xcdb2fd=_0x3c0088,_0x1538da=await this[_0xcdb2fd(0x1f0)][_0xcdb2fd(0x1ec)+'t'][_0xcdb2fd(0x1c2)](_0xcdb2fd(0x1da)+'/'+_0x57af34+(_0xcdb2fd(0x1c5)+_0xcdb2fd(0x1cf)),{'name':_0x28df1e});return{'success':!![],'data':_0x1538da['data']['check'+_0xcdb2fd(0x1bc)],'message':_0xcdb2fd(0x1eb)+_0xcdb2fd(0x1e1)+_0xcdb2fd(0x1bd)+'eated'+'\x20chec'+_0xcdb2fd(0x1cf)+'\x20\x22'+_0x28df1e+(_0xcdb2fd(0x1cc)+_0xcdb2fd(0x1d3))+_0x57af34};});}catch(_0x4279fe){throw this[_0x3c0088(0x1f0)]['handl'+_0x3c0088(0x1d2)+'r'](_0x4279fe,_0x3c0088(0x1ef)+'d\x20to\x20'+_0x3c0088(0x1c4)+_0x3c0088(0x1db)+_0x3c0088(0x1b3)+_0x3c0088(0x1c9)+_0x28df1e+(_0x3c0088(0x1cc)+_0x3c0088(0x1d3))+_0x57af34);}}async[a0_0x352dca(0x1c6)+a0_0x352dca(0x1f1)+a0_0x352dca(0x1b9)](_0x1f69a3,_0x5e083f,_0x25b1f2){const _0x2ea839=a0_0x352dca,_0x34aacf={'rsfDj':_0x2ea839(0x1c6)+_0x2ea839(0x1f1)+_0x2ea839(0x1b9)};this[_0x2ea839(0x1f0)]['logOp'+_0x2ea839(0x1ea)+'on'](_0x34aacf['rsfDj'],{'checklistId':_0x1f69a3,'name':_0x5e083f,'position':_0x25b1f2});try{return await this[_0x2ea839(0x1f0)][_0x2ea839(0x1bb)+_0x2ea839(0x1df)+'t'](async()=>{const _0xcb99ae=_0x2ea839,_0x4d3ddf={};if(_0x5e083f!==undefined)_0x4d3ddf[_0xcb99ae(0x1ca)]=_0x5e083f;if(_0x25b1f2!==undefined)_0x4d3ddf[_0xcb99ae(0x1d8)+_0xcb99ae(0x1dd)]=_0x25b1f2;const _0x2e023b=await this['core']['clien'+'t'][_0xcb99ae(0x1ee)](_0xcb99ae(0x1c5)+_0xcb99ae(0x1cf)+'/'+_0x1f69a3,_0x4d3ddf);return{'success':!![],'data':_0x2e023b[_0xcb99ae(0x1c8)][_0xcb99ae(0x1b4)+'list'],'message':_0xcb99ae(0x1eb)+'ssful'+_0xcb99ae(0x1d6)+_0xcb99ae(0x1cd)+_0xcb99ae(0x1e7)+_0xcb99ae(0x1cf)+'\x20'+_0x1f69a3};});}catch(_0xdf2fcd){throw this[_0x2ea839(0x1f0)][_0x2ea839(0x1e5)+_0x2ea839(0x1d2)+'r'](_0xdf2fcd,_0x2ea839(0x1ef)+'d\x20to\x20'+_0x2ea839(0x1c0)+_0x2ea839(0x1db)+_0x2ea839(0x1b3)+'t\x20'+_0x1f69a3);}}async['delet'+a0_0x352dca(0x1bf)+a0_0x352dca(0x1cf)](_0x279bb8){const _0x103923=a0_0x352dca;this[_0x103923(0x1f0)]['logOp'+_0x103923(0x1ea)+'on']('delet'+_0x103923(0x1bf)+'klist',{'checklistId':_0x279bb8});try{return await this['core'][_0x103923(0x1bb)+_0x103923(0x1df)+'t'](async()=>{const _0x48e0ff=_0x103923;return await this[_0x48e0ff(0x1f0)][_0x48e0ff(0x1ec)+'t']['delet'+'e'](_0x48e0ff(0x1c5)+_0x48e0ff(0x1cf)+'/'+_0x279bb8),{'success':!![],'data':undefined,'message':'Succe'+_0x48e0ff(0x1e1)+_0x48e0ff(0x1d9)+_0x48e0ff(0x1d5)+'\x20chec'+_0x48e0ff(0x1cf)+'\x20'+_0x279bb8};});}catch(_0x26b1dc){throw this[_0x103923(0x1f0)][_0x103923(0x1e5)+'eErro'+'r'](_0x26b1dc,_0x103923(0x1ef)+_0x103923(0x1de)+'delet'+_0x103923(0x1db)+_0x103923(0x1b3)+'t\x20'+_0x279bb8);}}async[a0_0x352dca(0x1c4)+a0_0x352dca(0x1bf)+a0_0x352dca(0x1cf)+a0_0x352dca(0x1dc)](_0x262c95,_0x3190a5,_0x20e941){const _0x4aa780=a0_0x352dca,_0x16dbef={'eRITr':function(_0x14da2c,_0x5dc8e9){return _0x14da2c!==_0x5dc8e9;}};this[_0x4aa780(0x1f0)][_0x4aa780(0x1e2)+_0x4aa780(0x1ea)+'on'](_0x4aa780(0x1c4)+'eChec'+_0x4aa780(0x1cf)+_0x4aa780(0x1dc),{'checklistId':_0x262c95,'name':_0x3190a5,'assignee':_0x20e941});try{return await this[_0x4aa780(0x1f0)][_0x4aa780(0x1bb)+_0x4aa780(0x1df)+'t'](async()=>{const _0x34194e=_0x4aa780,_0x56295a={'name':_0x3190a5};if(_0x16dbef['eRITr'](_0x20e941,undefined))_0x56295a[_0x34194e(0x1ba)+_0x34194e(0x1d7)]=_0x20e941;const _0x5d837a=await this[_0x34194e(0x1f0)][_0x34194e(0x1ec)+'t'][_0x34194e(0x1c2)]('/chec'+_0x34194e(0x1cf)+'/'+_0x262c95+('/chec'+'klist'+_0x34194e(0x1b8)),_0x56295a);return{'success':!![],'data':_0x5d837a[_0x34194e(0x1c8)]['check'+_0x34194e(0x1bc)],'message':'Succe'+_0x34194e(0x1e1)+'ly\x20cr'+_0x34194e(0x1c1)+'\x20chec'+_0x34194e(0x1cf)+_0x34194e(0x1f2)+'\x20\x22'+_0x3190a5+(_0x34194e(0x1e8)+'check'+_0x34194e(0x1be))+_0x262c95};});}catch(_0x8f7369){throw this['core'][_0x4aa780(0x1e5)+'eErro'+'r'](_0x8f7369,'Faile'+_0x4aa780(0x1de)+_0x4aa780(0x1c4)+'e\x20che'+'cklis'+_0x4aa780(0x1c3)+'m\x20\x22'+_0x3190a5+(_0x4aa780(0x1e8)+_0x4aa780(0x1b4)+_0x4aa780(0x1be))+_0x262c95);}}async[a0_0x352dca(0x1c6)+a0_0x352dca(0x1f1)+a0_0x352dca(0x1e3)+'em'](_0x4ae451,_0x5adc80,_0x4f889c){const _0x5236ac=a0_0x352dca,_0x1e62c4={'NtFxF':'editC'+'heckl'+_0x5236ac(0x1e3)+'em'};this[_0x5236ac(0x1f0)]['logOp'+'erati'+'on'](_0x1e62c4['NtFxF'],{'checklistId':_0x4ae451,'itemId':_0x5adc80,..._0x4f889c});try{return await this[_0x5236ac(0x1f0)][_0x5236ac(0x1bb)+_0x5236ac(0x1df)+'t'](async()=>{const _0x5623d8=_0x5236ac,_0x49bb0f=await this[_0x5623d8(0x1f0)][_0x5623d8(0x1ec)+'t'][_0x5623d8(0x1ee)](_0x5623d8(0x1c5)+_0x5623d8(0x1cf)+'/'+_0x4ae451+(_0x5623d8(0x1c5)+'klist'+_0x5623d8(0x1b8)+'/')+_0x5adc80,_0x4f889c);return{'success':!![],'data':_0x49bb0f[_0x5623d8(0x1c8)]['check'+'list'],'message':'Succe'+_0x5623d8(0x1e1)+_0x5623d8(0x1d6)+_0x5623d8(0x1cd)+_0x5623d8(0x1e7)+'klist'+_0x5623d8(0x1f2)+'\x20'+_0x5adc80};});}catch(_0x4092ef){throw this['core'][_0x5236ac(0x1e5)+_0x5236ac(0x1d2)+'r'](_0x4092ef,_0x5236ac(0x1ef)+_0x5236ac(0x1de)+_0x5236ac(0x1c0)+_0x5236ac(0x1db)+_0x5236ac(0x1b3)+'t\x20ite'+'m\x20'+_0x5adc80+(_0x5236ac(0x1b6)+_0x5236ac(0x1f1)+'ist\x20')+_0x4ae451);}}async[a0_0x352dca(0x1d4)+a0_0x352dca(0x1bf)+a0_0x352dca(0x1cf)+a0_0x352dca(0x1dc)](_0x1d23d9,_0x43c3ac){const _0x401295=a0_0x352dca,_0x4e8930={'VBMQM':_0x401295(0x1d4)+_0x401295(0x1bf)+_0x401295(0x1cf)+_0x401295(0x1dc)};this[_0x401295(0x1f0)][_0x401295(0x1e2)+_0x401295(0x1ea)+'on'](_0x4e8930['VBMQM'],{'checklistId':_0x1d23d9,'itemId':_0x43c3ac});try{return await this[_0x401295(0x1f0)][_0x401295(0x1bb)+_0x401295(0x1df)+'t'](async()=>{const _0xf8c5e9=_0x401295;return await this[_0xf8c5e9(0x1f0)]['clien'+'t'][_0xf8c5e9(0x1d4)+'e'](_0xf8c5e9(0x1c5)+_0xf8c5e9(0x1cf)+'/'+_0x1d23d9+(_0xf8c5e9(0x1c5)+_0xf8c5e9(0x1cf)+_0xf8c5e9(0x1b8)+'/')+_0x43c3ac),{'success':!![],'data':undefined,'message':_0xf8c5e9(0x1eb)+'ssful'+_0xf8c5e9(0x1d9)+_0xf8c5e9(0x1d5)+'\x20chec'+_0xf8c5e9(0x1cf)+_0xf8c5e9(0x1f2)+'\x20'+_0x43c3ac+(_0xf8c5e9(0x1c7)+_0xf8c5e9(0x1e7)+_0xf8c5e9(0x1cf)+'\x20')+_0x1d23d9};});}catch(_0x5be4d0){throw this[_0x401295(0x1f0)][_0x401295(0x1e5)+_0x401295(0x1d2)+'r'](_0x5be4d0,_0x401295(0x1ef)+_0x401295(0x1de)+'delet'+'e\x20che'+_0x401295(0x1b3)+'t\x20ite'+'m\x20'+_0x43c3ac+(_0x401295(0x1c7)+_0x401295(0x1e7)+_0x401295(0x1cf)+'\x20')+_0x1d23d9);}}}