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 _0xf78e=['../../config/environment','./action.controller','put','isAuthenticated','update','/:id','destroy','multer','path','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x19f469,_0x414a3f){var _0x3fd90b=function(_0x3f312f){while(--_0x3f312f){_0x19f469['push'](_0x19f469['shift']());}};_0x3fd90b(++_0x414a3f);}(_0xf78e,0x7c));var _0xef78=function(_0xb953a0,_0x8fccb8){_0xb953a0=_0xb953a0-0x0;var _0x285d4f=_0xf78e[_0xb953a0];return _0x285d4f;};'use strict';var multer=require(_0xef78('0x0'));var util=require('util');var path=require(_0xef78('0x1'));var timeout=require(_0xef78('0x2'));var express=require(_0xef78('0x3'));var router=express[_0xef78('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xef78('0x5'));var config=require(_0xef78('0x6'));var controller=require(_0xef78('0x7'));router[_0xef78('0x8')]('/:id',auth[_0xef78('0x9')](),controller[_0xef78('0xa')]);router['delete'](_0xef78('0xb'),auth[_0xef78('0x9')](),controller[_0xef78('0xc')]);module['exports']=router;