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 _0x7c66=['/describe','/:id','show','put','update','delete','exports','util','path','fs-extra','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index'];(function(_0x16fb9f,_0x3b110d){var _0x5adb35=function(_0x3832d9){while(--_0x3832d9){_0x16fb9f['push'](_0x16fb9f['shift']());}};_0x5adb35(++_0x3b110d);}(_0x7c66,0x197));var _0x67c6=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x7c66[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require('multer');var util=require(_0x67c6('0x0'));var path=require(_0x67c6('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x67c6('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0x67c6('0x3'));var config=require(_0x67c6('0x4'));var controller=require(_0x67c6('0x5'));router[_0x67c6('0x6')]('/',auth[_0x67c6('0x7')](),controller[_0x67c6('0x8')]);router[_0x67c6('0x6')](_0x67c6('0x9'),auth[_0x67c6('0x7')](),controller['describe']);router[_0x67c6('0x6')](_0x67c6('0xa'),auth[_0x67c6('0x7')](),controller[_0x67c6('0xb')]);router['post']('/',auth[_0x67c6('0x7')](),controller['create']);router[_0x67c6('0xc')]('/:id',auth[_0x67c6('0x7')](),controller[_0x67c6('0xd')]);router[_0x67c6('0xe')](_0x67c6('0xa'),auth[_0x67c6('0x7')](),controller['destroy']);module[_0x67c6('0xf')]=router;