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 _0x7c78=['multer','util','path','express','Router','fs-extra','../../components/auth/service','./action.controller','/:id','delete','isAuthenticated','destroy'];(function(_0x1362d8,_0x569546){var _0x4e41d1=function(_0x2ba283){while(--_0x2ba283){_0x1362d8['push'](_0x1362d8['shift']());}};_0x4e41d1(++_0x569546);}(_0x7c78,0x1ec));var _0x87c7=function(_0x38c12b,_0x4391da){_0x38c12b=_0x38c12b-0x0;var _0x5a1b8d=_0x7c78[_0x38c12b];return _0x5a1b8d;};'use strict';var multer=require(_0x87c7('0x0'));var util=require(_0x87c7('0x1'));var path=require(_0x87c7('0x2'));var timeout=require('connect-timeout');var express=require(_0x87c7('0x3'));var router=express[_0x87c7('0x4')]();var fs_extra=require(_0x87c7('0x5'));var auth=require(_0x87c7('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x87c7('0x7'));router['put'](_0x87c7('0x8'),auth['isAuthenticated'](),controller['update']);router[_0x87c7('0x9')](_0x87c7('0x8'),auth[_0x87c7('0xa')](),controller[_0x87c7('0xb')]);module['exports']=router;