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 _0x9c6a=['destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','isAuthenticated','get','describe','show','post','create','put','/:id','delete'];(function(_0xf86776,_0x1e54db){var _0x7c0d19=function(_0x33e654){while(--_0x33e654){_0xf86776['push'](_0xf86776['shift']());}};_0x7c0d19(++_0x1e54db);}(_0x9c6a,0xf2));var _0xa9c6=function(_0x130962,_0x437d26){_0x130962=_0x130962-0x0;var _0x1aeb58=_0x9c6a[_0x130962];return _0x1aeb58;};'use strict';var multer=require(_0xa9c6('0x0'));var util=require(_0xa9c6('0x1'));var path=require(_0xa9c6('0x2'));var timeout=require(_0xa9c6('0x3'));var express=require(_0xa9c6('0x4'));var router=express['Router']();var fs_extra=require(_0xa9c6('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xa9c6('0x6'));var config=require(_0xa9c6('0x7'));var controller=require(_0xa9c6('0x8'));router['get']('/',auth[_0xa9c6('0x9')](),controller['index']);router[_0xa9c6('0xa')]('/describe',auth[_0xa9c6('0x9')](),controller[_0xa9c6('0xb')]);router[_0xa9c6('0xa')]('/:id',auth[_0xa9c6('0x9')](),controller[_0xa9c6('0xc')]);router[_0xa9c6('0xd')]('/',auth[_0xa9c6('0x9')](),controller[_0xa9c6('0xe')]);router[_0xa9c6('0xf')](_0xa9c6('0x10'),auth['isAuthenticated'](),controller['update']);router[_0xa9c6('0x11')](_0xa9c6('0x10'),auth[_0xa9c6('0x9')](),controller[_0xa9c6('0x12')]);module[_0xa9c6('0x13')]=router;