1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x655c=['isAuthenticated','index','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','put','delete','destroy','removeTeams','exports','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueue.controller','get'];(function(_0xf7dfff,_0x17ed47){var _0xa55b3d=function(_0x340fbd){while(--_0x340fbd){_0xf7dfff['push'](_0xf7dfff['shift']());}};_0xa55b3d(++_0x17ed47);}(_0x655c,0x85));var _0xc655=function(_0x42a1d6,_0x520ab4){_0x42a1d6=_0x42a1d6-0x0;var _0x29ade0=_0x655c[_0x42a1d6];return _0x29ade0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc655('0x0'));var timeout=require(_0xc655('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0xc655('0x2'));var interaction=require(_0xc655('0x3'));var config=require(_0xc655('0x4'));var controller=require(_0xc655('0x5'));router[_0xc655('0x6')]('/',auth[_0xc655('0x7')](),controller[_0xc655('0x8')]);router[_0xc655('0x6')](_0xc655('0x9'),auth['isAuthenticated'](),controller[_0xc655('0xa')]);router[_0xc655('0x6')](_0xc655('0xb'),auth['isAuthenticated'](),controller[_0xc655('0xc')]);router[_0xc655('0x6')](_0xc655('0xd'),auth[_0xc655('0x7')](),controller[_0xc655('0xe')]);router[_0xc655('0x6')](_0xc655('0xf'),auth[_0xc655('0x7')](),controller[_0xc655('0x10')]);router['get'](_0xc655('0x11'),auth[_0xc655('0x7')](),controller[_0xc655('0x12')]);router[_0xc655('0x13')]('/',auth['isAuthenticated'](),controller[_0xc655('0x14')]);router['post'](_0xc655('0xf'),auth[_0xc655('0x7')](),controller[_0xc655('0x15')]);router[_0xc655('0x13')](_0xc655('0x11'),auth[_0xc655('0x7')](),controller[_0xc655('0x16')]);router[_0xc655('0x17')]('/:id',auth[_0xc655('0x7')](),controller['update']);router[_0xc655('0x18')](_0xc655('0xb'),auth[_0xc655('0x7')](),controller[_0xc655('0x19')]);router[_0xc655('0x18')](_0xc655('0xf'),auth['isAuthenticated'](),controller[_0xc655('0x1a')]);router[_0xc655('0x18')](_0xc655('0x11'),auth[_0xc655('0x7')](),controller['removeAgents']);module[_0xc655('0x1b')]=router;