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 _0xcf7f=['util','path','connect-timeout','express','Router','fs-extra','./action.controller','put','/:id','isAuthenticated','exports','multer'];(function(_0x32b5b1,_0x1da9ad){var _0x1fcc4c=function(_0x120e25){while(--_0x120e25){_0x32b5b1['push'](_0x32b5b1['shift']());}};_0x1fcc4c(++_0x1da9ad);}(_0xcf7f,0x1a3));var _0xfcf7=function(_0x37b9f7,_0x33e9a1){_0x37b9f7=_0x37b9f7-0x0;var _0x311feb=_0xcf7f[_0x37b9f7];return _0x311feb;};'use strict';var multer=require(_0xfcf7('0x0'));var util=require(_0xfcf7('0x1'));var path=require(_0xfcf7('0x2'));var timeout=require(_0xfcf7('0x3'));var express=require(_0xfcf7('0x4'));var router=express[_0xfcf7('0x5')]();var fs_extra=require(_0xfcf7('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xfcf7('0x7'));router[_0xfcf7('0x8')](_0xfcf7('0x9'),auth[_0xfcf7('0xa')](),controller['update']);router['delete']('/:id',auth[_0xfcf7('0xa')](),controller['destroy']);module[_0xfcf7('0xb')]=router;