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 _0xeca5=['put','delete','multer','express','Router','../../components/auth/service','../../config/environment','./faxTransferReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post'];(function(_0x329eb4,_0x12373e){var _0x3e4db2=function(_0xe4ac4d){while(--_0xe4ac4d){_0x329eb4['push'](_0x329eb4['shift']());}};_0x3e4db2(++_0x12373e);}(_0xeca5,0x172));var _0x5eca=function(_0x4bfd6c,_0x26b02b){_0x4bfd6c=_0x4bfd6c-0x0;var _0x554950=_0xeca5[_0x4bfd6c];return _0x554950;};'use strict';var multer=require(_0x5eca('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5eca('0x1'));var router=express[_0x5eca('0x2')]();var auth=require(_0x5eca('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x5eca('0x4'));var controller=require(_0x5eca('0x5'));router['get']('/',auth[_0x5eca('0x6')](),controller[_0x5eca('0x7')]);router[_0x5eca('0x8')](_0x5eca('0x9'),auth[_0x5eca('0x6')](),controller[_0x5eca('0xa')]);router[_0x5eca('0x8')](_0x5eca('0xb'),auth[_0x5eca('0x6')](),controller[_0x5eca('0xc')]);router[_0x5eca('0xd')]('/',auth[_0x5eca('0x6')](),controller['create']);router[_0x5eca('0xe')]('/:id',auth[_0x5eca('0x6')](),controller['update']);router[_0x5eca('0xf')]('/:id',auth[_0x5eca('0x6')](),controller['destroy']);module['exports']=router;