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 _0x403f=['put','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','describe','/:id','show','post','create'];(function(_0x26f94d,_0x473814){var _0x431f06=function(_0x313bc4){while(--_0x313bc4){_0x26f94d['push'](_0x26f94d['shift']());}};_0x431f06(++_0x473814);}(_0x403f,0x76));var _0xf403=function(_0x32fe6b,_0x4f66ae){_0x32fe6b=_0x32fe6b-0x0;var _0x2bf691=_0x403f[_0x32fe6b];return _0x2bf691;};'use strict';var multer=require(_0xf403('0x0'));var util=require(_0xf403('0x1'));var path=require(_0xf403('0x2'));var timeout=require(_0xf403('0x3'));var express=require(_0xf403('0x4'));var router=express['Router']();var auth=require(_0xf403('0x5'));var interaction=require(_0xf403('0x6'));var config=require('../../config/environment');var controller=require('./faxQueueReport.controller');router[_0xf403('0x7')]('/',auth[_0xf403('0x8')](),controller['index']);router[_0xf403('0x7')](_0xf403('0x9'),auth['isAuthenticated'](),controller[_0xf403('0xa')]);router[_0xf403('0x7')](_0xf403('0xb'),auth['isAuthenticated'](),controller[_0xf403('0xc')]);router[_0xf403('0xd')]('/',auth[_0xf403('0x8')](),controller[_0xf403('0xe')]);router[_0xf403('0xf')]('/:id',auth[_0xf403('0x8')](),controller[_0xf403('0x10')]);router[_0xf403('0x11')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xf403('0x12')]=router;