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 _0xb088=['exports','multer','util','path','connect-timeout','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','update','delete','/:id'];(function(_0x2b78f6,_0x8650c3){var _0x32adac=function(_0x3675ca){while(--_0x3675ca){_0x2b78f6['push'](_0x2b78f6['shift']());}};_0x32adac(++_0x8650c3);}(_0xb088,0xa1));var _0x8b08=function(_0x1230dd,_0x524d12){_0x1230dd=_0x1230dd-0x0;var _0x26794a=_0xb088[_0x1230dd];return _0x26794a;};'use strict';var multer=require(_0x8b08('0x0'));var util=require(_0x8b08('0x1'));var path=require(_0x8b08('0x2'));var timeout=require(_0x8b08('0x3'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x8b08('0x4'));var config=require(_0x8b08('0x5'));var controller=require(_0x8b08('0x6'));router[_0x8b08('0x7')]('/',auth[_0x8b08('0x8')](),controller[_0x8b08('0x9')]);router[_0x8b08('0x7')](_0x8b08('0xa'),auth[_0x8b08('0x8')](),controller[_0x8b08('0xb')]);router[_0x8b08('0x7')]('/:id',auth[_0x8b08('0x8')](),controller[_0x8b08('0xc')]);router[_0x8b08('0xd')]('/',auth[_0x8b08('0x8')](),controller[_0x8b08('0xe')]);router[_0x8b08('0xf')]('/:id',auth[_0x8b08('0x8')](),controller[_0x8b08('0x10')]);router[_0x8b08('0x11')](_0x8b08('0x12'),auth[_0x8b08('0x8')](),controller['destroy']);module[_0x8b08('0x13')]=router;