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 _0xcd2f=['multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','put','/:id','isAuthenticated','update','delete','destroy','exports'];(function(_0x4b2863,_0x494899){var _0x567d67=function(_0x751f03){while(--_0x751f03){_0x4b2863['push'](_0x4b2863['shift']());}};_0x567d67(++_0x494899);}(_0xcd2f,0xd2));var _0xfcd2=function(_0x3e5086,_0x48f4a2){_0x3e5086=_0x3e5086-0x0;var _0xfeb102=_0xcd2f[_0x3e5086];return _0xfeb102;};'use strict';var multer=require(_0xfcd2('0x0'));var util=require(_0xfcd2('0x1'));var path=require(_0xfcd2('0x2'));var timeout=require(_0xfcd2('0x3'));var express=require(_0xfcd2('0x4'));var router=express['Router']();var fs_extra=require(_0xfcd2('0x5'));var auth=require(_0xfcd2('0x6'));var interaction=require(_0xfcd2('0x7'));var config=require('../../config/environment');var controller=require('./action.controller');router[_0xfcd2('0x8')](_0xfcd2('0x9'),auth[_0xfcd2('0xa')](),controller[_0xfcd2('0xb')]);router[_0xfcd2('0xc')](_0xfcd2('0x9'),auth[_0xfcd2('0xa')](),controller[_0xfcd2('0xd')]);module[_0xfcd2('0xe')]=router;