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 _0xaf55=['./chatQueueReport.controller','isAuthenticated','index','get','/:id','put','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4ee7f1,_0x4cf004){var _0x52d33b=function(_0x71f0ea){while(--_0x71f0ea){_0x4ee7f1['push'](_0x4ee7f1['shift']());}};_0x52d33b(++_0x4cf004);}(_0xaf55,0x1c3));var _0x5af5=function(_0x2e4aa2,_0x11956a){_0x2e4aa2=_0x2e4aa2-0x0;var _0x5e6092=_0xaf55[_0x2e4aa2];return _0x5e6092;};'use strict';var multer=require('multer');var util=require(_0x5af5('0x0'));var path=require(_0x5af5('0x1'));var timeout=require(_0x5af5('0x2'));var express=require(_0x5af5('0x3'));var router=express[_0x5af5('0x4')]();var auth=require(_0x5af5('0x5'));var interaction=require(_0x5af5('0x6'));var config=require(_0x5af5('0x7'));var controller=require(_0x5af5('0x8'));router['get']('/',auth[_0x5af5('0x9')](),controller[_0x5af5('0xa')]);router[_0x5af5('0xb')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x5af5('0xb')](_0x5af5('0xc'),auth[_0x5af5('0x9')](),controller['show']);router['post']('/',auth[_0x5af5('0x9')](),controller['create']);router[_0x5af5('0xd')](_0x5af5('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x5af5('0xe')](_0x5af5('0xc'),auth['isAuthenticated'](),controller[_0x5af5('0xf')]);module[_0x5af5('0x10')]=router;