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 _0x965a=['express','Router','../../components/auth/service','../../components/interaction/service','./faxQueueReport.controller','get','/describe','isAuthenticated','describe','/:id','post','put','update','destroy','exports','multer','path'];(function(_0x498b9e,_0x46ae26){var _0x29dd57=function(_0x56f191){while(--_0x56f191){_0x498b9e['push'](_0x498b9e['shift']());}};_0x29dd57(++_0x46ae26);}(_0x965a,0x152));var _0xa965=function(_0x3e0de2,_0x533c6d){_0x3e0de2=_0x3e0de2-0x0;var _0x3f81c8=_0x965a[_0x3e0de2];return _0x3f81c8;};'use strict';var multer=require(_0xa965('0x0'));var util=require('util');var path=require(_0xa965('0x1'));var timeout=require('connect-timeout');var express=require(_0xa965('0x2'));var router=express[_0xa965('0x3')]();var auth=require(_0xa965('0x4'));var interaction=require(_0xa965('0x5'));var config=require('../../config/environment');var controller=require(_0xa965('0x6'));router[_0xa965('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xa965('0x7')](_0xa965('0x8'),auth[_0xa965('0x9')](),controller[_0xa965('0xa')]);router[_0xa965('0x7')](_0xa965('0xb'),auth[_0xa965('0x9')](),controller['show']);router[_0xa965('0xc')]('/',auth[_0xa965('0x9')](),controller['create']);router[_0xa965('0xd')]('/:id',auth[_0xa965('0x9')](),controller[_0xa965('0xe')]);router['delete']('/:id',auth[_0xa965('0x9')](),controller[_0xa965('0xf')]);module[_0xa965('0x10')]=router;