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 _0x4b08=['path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','put','isAuthenticated','update','delete','multer','util'];(function(_0x5e2d0b,_0xc52482){var _0x3d84d9=function(_0x2e326e){while(--_0x2e326e){_0x5e2d0b['push'](_0x5e2d0b['shift']());}};_0x3d84d9(++_0xc52482);}(_0x4b08,0x112));var _0x84b0=function(_0x9068a1,_0x1db890){_0x9068a1=_0x9068a1-0x0;var _0xa396b8=_0x4b08[_0x9068a1];return _0xa396b8;};'use strict';var multer=require(_0x84b0('0x0'));var util=require(_0x84b0('0x1'));var path=require(_0x84b0('0x2'));var timeout=require(_0x84b0('0x3'));var express=require(_0x84b0('0x4'));var router=express['Router']();var auth=require(_0x84b0('0x5'));var interaction=require(_0x84b0('0x6'));var config=require(_0x84b0('0x7'));var controller=require('./action.controller');router[_0x84b0('0x8')]('/:id',auth[_0x84b0('0x9')](),controller[_0x84b0('0xa')]);router[_0x84b0('0xb')]('/:id',auth[_0x84b0('0x9')](),controller['destroy']);module['exports']=router;