Built motion from commit b517aaa2a6638133380e4d135c64a80893061362. Version 3.0.0...
[motion-next.git] / server / api / team / index.js
1 const a624_0x5e66=['destroy','update','removeAgents','addAgents','isAuthenticated','create','removeQueues','Router','get','show','../../components/auth/service','./team.controller','/:id','/:id/queues','/:id/users','post','getAgents','delete','put','express'];(function(_0xa47b2c,_0x5e6671){const _0xce89f3=function(_0x95b974){while(--_0x95b974){_0xa47b2c['push'](_0xa47b2c['shift']());}};_0xce89f3(++_0x5e6671);}(a624_0x5e66,0xb1));const a624_0xce89=function(_0xa47b2c,_0x5e6671){_0xa47b2c=_0xa47b2c-0x0;let _0xce89f3=a624_0x5e66[_0xa47b2c];return _0xce89f3;};const _0x443a99=a624_0xce89;'use strict';const express=require(_0x443a99('0x2')),router=express[_0x443a99('0xa')](),auth=require(_0x443a99('0xd')),controller=require(_0x443a99('0xe'));router[_0x443a99('0xb')]('/',auth[_0x443a99('0x7')](),controller['index']),router[_0x443a99('0xb')](_0x443a99('0xf'),auth[_0x443a99('0x7')](),controller[_0x443a99('0xc')]),router[_0x443a99('0xb')]('/:id/queues',auth['isAuthenticated'](),controller['getQueues']),router[_0x443a99('0xb')](_0x443a99('0x11'),auth[_0x443a99('0x7')](),controller[_0x443a99('0x13')]),router[_0x443a99('0x12')]('/',auth['isAuthenticated'](),controller[_0x443a99('0x8')]),router[_0x443a99('0x12')](_0x443a99('0x10'),auth[_0x443a99('0x7')](),controller['addQueues']),router['post'](_0x443a99('0x11'),auth[_0x443a99('0x7')](),controller[_0x443a99('0x6')]),router[_0x443a99('0x1')](_0x443a99('0xf'),auth['isAuthenticated'](),controller[_0x443a99('0x4')]),router[_0x443a99('0x0')](_0x443a99('0xf'),auth[_0x443a99('0x7')](),controller[_0x443a99('0x3')]),router['delete'](_0x443a99('0x10'),auth[_0x443a99('0x7')](),controller[_0x443a99('0x9')]),router[_0x443a99('0x0')](_0x443a99('0x11'),auth[_0x443a99('0x7')](),controller[_0x443a99('0x5')]),module['exports']=router;