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 _0xe174=['isAuthenticated','show','create','put','delete','exports','multer','util','express','../../components/interaction/service','../../config/environment','./UserFaxInteraction.controller','get','index','/:id'];(function(_0x5928dd,_0x359e76){var _0x2df574=function(_0x5dcf39){while(--_0x5dcf39){_0x5928dd['push'](_0x5928dd['shift']());}};_0x2df574(++_0x359e76);}(_0xe174,0x1c8));var _0x4e17=function(_0x116c77,_0x4d1eff){_0x116c77=_0x116c77-0x0;var _0x583f06=_0xe174[_0x116c77];return _0x583f06;};'use strict';var multer=require(_0x4e17('0x0'));var util=require(_0x4e17('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x4e17('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x4e17('0x3'));var config=require(_0x4e17('0x4'));var controller=require(_0x4e17('0x5'));router[_0x4e17('0x6')]('/',auth['isAuthenticated'](),controller[_0x4e17('0x7')]);router[_0x4e17('0x6')](_0x4e17('0x8'),auth[_0x4e17('0x9')](),controller[_0x4e17('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0x4e17('0xb')]);router[_0x4e17('0xc')](_0x4e17('0x8'),auth[_0x4e17('0x9')](),controller['update']);router[_0x4e17('0xd')](_0x4e17('0x8'),auth[_0x4e17('0x9')](),controller['destroy']);module[_0x4e17('0xe')]=router;