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 _0x123b=['fs-extra','../../components/auth/service','./action.controller','put','/:id','destroy','multer','util','path','connect-timeout','express'];(function(_0x40960a,_0x35982a){var _0x2409e7=function(_0x1ec803){while(--_0x1ec803){_0x40960a['push'](_0x40960a['shift']());}};_0x2409e7(++_0x35982a);}(_0x123b,0x103));var _0xb123=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x123b[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0xb123('0x0'));var util=require(_0xb123('0x1'));var path=require(_0xb123('0x2'));var timeout=require(_0xb123('0x3'));var express=require(_0xb123('0x4'));var router=express['Router']();var fs_extra=require(_0xb123('0x5'));var auth=require(_0xb123('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb123('0x7'));router[_0xb123('0x8')](_0xb123('0x9'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xb123('0x9'),auth['isAuthenticated'](),controller[_0xb123('0xa')]);module['exports']=router;