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 _0x647c=['/:id','post','put','delete','destroy','multer','util','connect-timeout','express','fs-extra','./chatQueueReport.controller','get','isAuthenticated','/describe','describe'];(function(_0x5ab48f,_0x2dddd2){var _0x2fd069=function(_0x1004aa){while(--_0x1004aa){_0x5ab48f['push'](_0x5ab48f['shift']());}};_0x2fd069(++_0x2dddd2);}(_0x647c,0x15e));var _0xc647=function(_0x54afcf,_0x5e93c6){_0x54afcf=_0x54afcf-0x0;var _0x301931=_0x647c[_0x54afcf];return _0x301931;};'use strict';var multer=require(_0xc647('0x0'));var util=require(_0xc647('0x1'));var path=require('path');var timeout=require(_0xc647('0x2'));var express=require(_0xc647('0x3'));var router=express['Router']();var fs_extra=require(_0xc647('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc647('0x5'));router[_0xc647('0x6')]('/',auth[_0xc647('0x7')](),controller['index']);router['get'](_0xc647('0x8'),auth['isAuthenticated'](),controller[_0xc647('0x9')]);router['get'](_0xc647('0xa'),auth[_0xc647('0x7')](),controller['show']);router[_0xc647('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc647('0xc')]('/:id',auth[_0xc647('0x7')](),controller['update']);router[_0xc647('0xd')](_0xc647('0xa'),auth[_0xc647('0x7')](),controller[_0xc647('0xe')]);module['exports']=router;