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 _0x3dbb=['../../components/interaction/service','../../config/environment','put','update','delete','/:id','destroy','multer','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x3dbb,0x67));var _0xb3db=function(_0x512738,_0x52ef6b){_0x512738=_0x512738-0x0;var _0x1bdb2b=_0x3dbb[_0x512738];return _0x1bdb2b;};'use strict';var multer=require(_0xb3db('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xb3db('0x1'));var express=require(_0xb3db('0x2'));var router=express['Router']();var fs_extra=require(_0xb3db('0x3'));var auth=require(_0xb3db('0x4'));var interaction=require(_0xb3db('0x5'));var config=require(_0xb3db('0x6'));var controller=require('./action.controller');router[_0xb3db('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xb3db('0x8')]);router[_0xb3db('0x9')](_0xb3db('0xa'),auth['isAuthenticated'](),controller[_0xb3db('0xb')]);module['exports']=router;