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 _0xe37c=['isAuthenticated','update','delete','exports','multer','util','path','connect-timeout','../../components/interaction/service','/:id'];(function(_0x2fd0f0,_0x4b634e){var _0x57f71a=function(_0x400d6f){while(--_0x400d6f){_0x2fd0f0['push'](_0x2fd0f0['shift']());}};_0x57f71a(++_0x4b634e);}(_0xe37c,0x194));var _0xce37=function(_0x1ed116,_0x23bc80){_0x1ed116=_0x1ed116-0x0;var _0x574066=_0xe37c[_0x1ed116];return _0x574066;};'use strict';var multer=require(_0xce37('0x0'));var util=require(_0xce37('0x1'));var path=require(_0xce37('0x2'));var timeout=require(_0xce37('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xce37('0x4'));var config=require('../../config/environment');var controller=require('./action.controller');router['put'](_0xce37('0x5'),auth[_0xce37('0x6')](),controller[_0xce37('0x7')]);router[_0xce37('0x8')](_0xce37('0x5'),auth[_0xce37('0x6')](),controller['destroy']);module[_0xce37('0x9')]=router;