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 _0x6a94=['index','/describe','describe','show','post','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated'];(function(_0x5a79e2,_0x319b1a){var _0x266c45=function(_0x172478){while(--_0x172478){_0x5a79e2['push'](_0x5a79e2['shift']());}};_0x266c45(++_0x319b1a);}(_0x6a94,0x130));var _0x46a9=function(_0x4dee2e,_0x5e2b65){_0x4dee2e=_0x4dee2e-0x0;var _0x2517f7=_0x6a94[_0x4dee2e];return _0x2517f7;};'use strict';var multer=require(_0x46a9('0x0'));var util=require(_0x46a9('0x1'));var path=require(_0x46a9('0x2'));var timeout=require(_0x46a9('0x3'));var express=require(_0x46a9('0x4'));var router=express[_0x46a9('0x5')]();var fs_extra=require(_0x46a9('0x6'));var auth=require(_0x46a9('0x7'));var interaction=require(_0x46a9('0x8'));var config=require('../../config/environment');var controller=require('./faxTransferReport.controller');router[_0x46a9('0x9')]('/',auth[_0x46a9('0xa')](),controller[_0x46a9('0xb')]);router[_0x46a9('0x9')](_0x46a9('0xc'),auth[_0x46a9('0xa')](),controller[_0x46a9('0xd')]);router[_0x46a9('0x9')]('/:id',auth[_0x46a9('0xa')](),controller[_0x46a9('0xe')]);router[_0x46a9('0xf')]('/',auth[_0x46a9('0xa')](),controller['create']);router['put'](_0x46a9('0x10'),auth[_0x46a9('0xa')](),controller[_0x46a9('0x11')]);router[_0x46a9('0x12')](_0x46a9('0x10'),auth['isAuthenticated'](),controller[_0x46a9('0x13')]);module[_0x46a9('0x14')]=router;