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