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 _0x71af=['../../components/auth/service','../../components/interaction/service','./action.controller','update','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x30ecd0,_0xab2102){var _0x5ab841=function(_0x43ff99){while(--_0x43ff99){_0x30ecd0['push'](_0x30ecd0['shift']());}};_0x5ab841(++_0xab2102);}(_0x71af,0xa1));var _0xf71a=function(_0x11fcc5,_0x1c7c9a){_0x11fcc5=_0x11fcc5-0x0;var _0x19b514=_0x71af[_0x11fcc5];return _0x19b514;};'use strict';var multer=require(_0xf71a('0x0'));var util=require(_0xf71a('0x1'));var path=require(_0xf71a('0x2'));var timeout=require(_0xf71a('0x3'));var express=require(_0xf71a('0x4'));var router=express[_0xf71a('0x5')]();var fs_extra=require(_0xf71a('0x6'));var auth=require(_0xf71a('0x7'));var interaction=require(_0xf71a('0x8'));var config=require('../../config/environment');var controller=require(_0xf71a('0x9'));router['put']('/:id',auth['isAuthenticated'](),controller[_0xf71a('0xa')]);router['delete'](_0xf71a('0xb'),auth['isAuthenticated'](),controller[_0xf71a('0xc')]);module[_0xf71a('0xd')]=router;