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 _0xc15b=['../../config/environment','./faxTransferReport.controller','get','isAuthenticated','/describe','put','update','delete','/:id','destroy','multer','util','path','connect-timeout','Router','fs-extra'];(function(_0xc0f0df,_0x479f91){var _0x471ea2=function(_0x23d5ac){while(--_0x23d5ac){_0xc0f0df['push'](_0xc0f0df['shift']());}};_0x471ea2(++_0x479f91);}(_0xc15b,0x7a));var _0xbc15=function(_0x57add2,_0x4f2b7d){_0x57add2=_0x57add2-0x0;var _0x4e3670=_0xc15b[_0x57add2];return _0x4e3670;};'use strict';var multer=require(_0xbc15('0x0'));var util=require(_0xbc15('0x1'));var path=require(_0xbc15('0x2'));var timeout=require(_0xbc15('0x3'));var express=require('express');var router=express[_0xbc15('0x4')]();var fs_extra=require(_0xbc15('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xbc15('0x6'));var controller=require(_0xbc15('0x7'));router[_0xbc15('0x8')]('/',auth[_0xbc15('0x9')](),controller['index']);router['get'](_0xbc15('0xa'),auth[_0xbc15('0x9')](),controller['describe']);router['get']('/:id',auth[_0xbc15('0x9')](),controller['show']);router['post']('/',auth[_0xbc15('0x9')](),controller['create']);router[_0xbc15('0xb')]('/:id',auth[_0xbc15('0x9')](),controller[_0xbc15('0xc')]);router[_0xbc15('0xd')](_0xbc15('0xe'),auth['isAuthenticated'](),controller[_0xbc15('0xf')]);module['exports']=router;