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 _0xf03c=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path'];(function(_0x57b3df,_0x445081){var _0x206656=function(_0x16aeb3){while(--_0x16aeb3){_0x57b3df['push'](_0x57b3df['shift']());}};_0x206656(++_0x445081);}(_0xf03c,0x135));var _0xcf03=function(_0x11e46d,_0x31ae92){_0x11e46d=_0x11e46d-0x0;var _0xb48d9b=_0xf03c[_0x11e46d];return _0xb48d9b;};'use strict';var multer=require(_0xcf03('0x0'));var util=require(_0xcf03('0x1'));var path=require(_0xcf03('0x2'));var timeout=require(_0xcf03('0x3'));var express=require(_0xcf03('0x4'));var router=express[_0xcf03('0x5')]();var auth=require(_0xcf03('0x6'));var interaction=require(_0xcf03('0x7'));var config=require(_0xcf03('0x8'));var controller=require(_0xcf03('0x9'));router[_0xcf03('0xa')]('/',auth[_0xcf03('0xb')](),controller[_0xcf03('0xc')]);router[_0xcf03('0xa')](_0xcf03('0xd'),auth[_0xcf03('0xb')](),controller[_0xcf03('0xe')]);router[_0xcf03('0xa')]('/:id',auth[_0xcf03('0xb')](),controller[_0xcf03('0xf')]);router[_0xcf03('0x10')]('/',auth[_0xcf03('0xb')](),controller[_0xcf03('0x11')]);router[_0xcf03('0x12')](_0xcf03('0x13'),auth[_0xcf03('0xb')](),controller[_0xcf03('0x14')]);router[_0xcf03('0x15')](_0xcf03('0x13'),auth['isAuthenticated'](),controller[_0xcf03('0x16')]);module[_0xcf03('0x17')]=router;