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 _0x891b=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/members','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','put','update','delete','destroy','removeTeams','removeAgents','exports','path','connect-timeout','Router'];(function(_0x4704b2,_0x27ec1d){var _0x10d70f=function(_0x383873){while(--_0x383873){_0x4704b2['push'](_0x4704b2['shift']());}};_0x10d70f(++_0x27ec1d);}(_0x891b,0xc5));var _0xb891=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x891b[_0x20a584];return _0x4b41a8;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb891('0x0'));var timeout=require(_0xb891('0x1'));var express=require('express');var router=express[_0xb891('0x2')]();var auth=require(_0xb891('0x3'));var interaction=require(_0xb891('0x4'));var config=require(_0xb891('0x5'));var controller=require('./openchannelQueue.controller');router[_0xb891('0x6')]('/',auth[_0xb891('0x7')](),controller['index']);router[_0xb891('0x6')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xb891('0x6')](_0xb891('0x8'),auth[_0xb891('0x7')](),controller[_0xb891('0x9')]);router[_0xb891('0x6')](_0xb891('0xa'),auth[_0xb891('0x7')](),controller['getMembers']);router[_0xb891('0x6')](_0xb891('0xb'),auth[_0xb891('0x7')](),controller[_0xb891('0xc')]);router[_0xb891('0x6')](_0xb891('0xd'),auth[_0xb891('0x7')](),controller[_0xb891('0xe')]);router[_0xb891('0xf')]('/',auth[_0xb891('0x7')](),controller[_0xb891('0x10')]);router['post'](_0xb891('0xb'),auth[_0xb891('0x7')](),controller[_0xb891('0x11')]);router['post'](_0xb891('0xd'),auth[_0xb891('0x7')](),controller['addAgents']);router[_0xb891('0x12')]('/:id',auth[_0xb891('0x7')](),controller[_0xb891('0x13')]);router[_0xb891('0x14')](_0xb891('0x8'),auth[_0xb891('0x7')](),controller[_0xb891('0x15')]);router['delete']('/:id/teams',auth[_0xb891('0x7')](),controller[_0xb891('0x16')]);router[_0xb891('0x14')](_0xb891('0xd'),auth[_0xb891('0x7')](),controller[_0xb891('0x17')]);module[_0xb891('0x18')]=router;