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 _0x7086=['multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./action.controller','put','isAuthenticated','update','/:id','exports'];(function(_0x45e384,_0xf4fedc){var _0xc38891=function(_0x2793d4){while(--_0x2793d4){_0x45e384['push'](_0x45e384['shift']());}};_0xc38891(++_0xf4fedc);}(_0x7086,0x11d));var _0x6708=function(_0xc195d7,_0x5d109b){_0xc195d7=_0xc195d7-0x0;var _0x4758b9=_0x7086[_0xc195d7];return _0x4758b9;};'use strict';var multer=require(_0x6708('0x0'));var util=require(_0x6708('0x1'));var path=require(_0x6708('0x2'));var timeout=require('connect-timeout');var express=require(_0x6708('0x3'));var router=express[_0x6708('0x4')]();var fs_extra=require(_0x6708('0x5'));var auth=require(_0x6708('0x6'));var interaction=require(_0x6708('0x7'));var config=require(_0x6708('0x8'));var controller=require(_0x6708('0x9'));router[_0x6708('0xa')]('/:id',auth[_0x6708('0xb')](),controller[_0x6708('0xc')]);router['delete'](_0x6708('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x6708('0xe')]=router;