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 _0x1c29=['isAuthenticated','index','describe','show','create','put','/:id','update','delete','exports','multer','util','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','get'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1c29,0x14e));var _0x91c2=function(_0x39673a,_0x41091e){_0x39673a=_0x39673a-0x0;var _0x2f3612=_0x1c29[_0x39673a];return _0x2f3612;};'use strict';var multer=require(_0x91c2('0x0'));var util=require(_0x91c2('0x1'));var path=require('path');var timeout=require(_0x91c2('0x2'));var express=require('express');var router=express[_0x91c2('0x3')]();var fs_extra=require(_0x91c2('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x91c2('0x5'));var config=require(_0x91c2('0x6'));var controller=require('./chatQueueReport.controller');router[_0x91c2('0x7')]('/',auth[_0x91c2('0x8')](),controller[_0x91c2('0x9')]);router[_0x91c2('0x7')]('/describe',auth[_0x91c2('0x8')](),controller[_0x91c2('0xa')]);router[_0x91c2('0x7')]('/:id',auth[_0x91c2('0x8')](),controller[_0x91c2('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x91c2('0xc')]);router[_0x91c2('0xd')](_0x91c2('0xe'),auth['isAuthenticated'](),controller[_0x91c2('0xf')]);router[_0x91c2('0x10')]('/:id',auth[_0x91c2('0x8')](),controller['destroy']);module[_0x91c2('0x11')]=router;