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 _0x3217=['index','describe','/:id','show','post','update','delete','destroy','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get','isAuthenticated'];(function(_0x5ce3c8,_0x2503bd){var _0xa76867=function(_0x52815e){while(--_0x52815e){_0x5ce3c8['push'](_0x5ce3c8['shift']());}};_0xa76867(++_0x2503bd);}(_0x3217,0x1dc));var _0x7321=function(_0x45059a,_0x4e003a){_0x45059a=_0x45059a-0x0;var _0x37838e=_0x3217[_0x45059a];return _0x37838e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x7321('0x0'));var timeout=require(_0x7321('0x1'));var express=require(_0x7321('0x2'));var router=express[_0x7321('0x3')]();var auth=require(_0x7321('0x4'));var interaction=require(_0x7321('0x5'));var config=require(_0x7321('0x6'));var controller=require(_0x7321('0x7'));router[_0x7321('0x8')]('/',auth[_0x7321('0x9')](),controller[_0x7321('0xa')]);router[_0x7321('0x8')]('/describe',auth[_0x7321('0x9')](),controller[_0x7321('0xb')]);router[_0x7321('0x8')](_0x7321('0xc'),auth['isAuthenticated'](),controller[_0x7321('0xd')]);router[_0x7321('0xe')]('/',auth[_0x7321('0x9')](),controller['create']);router['put']('/:id',auth[_0x7321('0x9')](),controller[_0x7321('0xf')]);router[_0x7321('0x10')](_0x7321('0xc'),auth[_0x7321('0x9')](),controller[_0x7321('0x11')]);module['exports']=router;