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