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 _0xa955=['../../components/auth/service','../../config/environment','put','/:id','isAuthenticated','update','delete','destroy','multer','connect-timeout','express','Router','fs-extra'];(function(_0x2070da,_0x45e586){var _0x4f9fe1=function(_0x5b6f2a){while(--_0x5b6f2a){_0x2070da['push'](_0x2070da['shift']());}};_0x4f9fe1(++_0x45e586);}(_0xa955,0x15a));var _0x5a95=function(_0x2e1e32,_0x467539){_0x2e1e32=_0x2e1e32-0x0;var _0x5b7e9d=_0xa955[_0x2e1e32];return _0x5b7e9d;};'use strict';var multer=require(_0x5a95('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x5a95('0x1'));var express=require(_0x5a95('0x2'));var router=express[_0x5a95('0x3')]();var fs_extra=require(_0x5a95('0x4'));var auth=require(_0x5a95('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x5a95('0x6'));var controller=require('./action.controller');router[_0x5a95('0x7')](_0x5a95('0x8'),auth[_0x5a95('0x9')](),controller[_0x5a95('0xa')]);router[_0x5a95('0xb')](_0x5a95('0x8'),auth[_0x5a95('0x9')](),controller[_0x5a95('0xc')]);module['exports']=router;