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 _0x91b6=['fs-extra','../../components/interaction/service','../../config/environment','./action.controller','put','update','isAuthenticated','exports','util','connect-timeout','express'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x91b6,0x105));var _0x691b=function(_0x248cb3,_0x459c47){_0x248cb3=_0x248cb3-0x0;var _0xe0e822=_0x91b6[_0x248cb3];return _0xe0e822;};'use strict';var multer=require('multer');var util=require(_0x691b('0x0'));var path=require('path');var timeout=require(_0x691b('0x1'));var express=require(_0x691b('0x2'));var router=express['Router']();var fs_extra=require(_0x691b('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x691b('0x4'));var config=require(_0x691b('0x5'));var controller=require(_0x691b('0x6'));router[_0x691b('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x691b('0x8')]);router['delete']('/:id',auth[_0x691b('0x9')](),controller['destroy']);module[_0x691b('0xa')]=router;