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 _0x30fc=['show','put','/:id','update','destroy','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get','isAuthenticated','index','describe'];(function(_0x2d9eaa,_0x272c56){var _0x5bf0f8=function(_0x28d427){while(--_0x28d427){_0x2d9eaa['push'](_0x2d9eaa['shift']());}};_0x5bf0f8(++_0x272c56);}(_0x30fc,0x1a3));var _0xc30f=function(_0x5694d3,_0x2e3008){_0x5694d3=_0x5694d3-0x0;var _0x1ca96e=_0x30fc[_0x5694d3];return _0x1ca96e;};'use strict';var multer=require('multer');var util=require(_0xc30f('0x0'));var path=require(_0xc30f('0x1'));var timeout=require('connect-timeout');var express=require(_0xc30f('0x2'));var router=express[_0xc30f('0x3')]();var fs_extra=require(_0xc30f('0x4'));var auth=require(_0xc30f('0x5'));var interaction=require(_0xc30f('0x6'));var config=require(_0xc30f('0x7'));var controller=require(_0xc30f('0x8'));router[_0xc30f('0x9')]('/',auth[_0xc30f('0xa')](),controller[_0xc30f('0xb')]);router[_0xc30f('0x9')]('/describe',auth[_0xc30f('0xa')](),controller[_0xc30f('0xc')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xc30f('0xd')]);router['post']('/',auth[_0xc30f('0xa')](),controller['create']);router[_0xc30f('0xe')](_0xc30f('0xf'),auth[_0xc30f('0xa')](),controller[_0xc30f('0x10')]);router['delete'](_0xc30f('0xf'),auth[_0xc30f('0xa')](),controller[_0xc30f('0x11')]);module['exports']=router;