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 _0xdf78=['put','isAuthenticated','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x273c39,_0x1052e6){var _0x46d6b5=function(_0x44f1fb){while(--_0x44f1fb){_0x273c39['push'](_0x273c39['shift']());}};_0x46d6b5(++_0x1052e6);}(_0xdf78,0x1b8));var _0x8df7=function(_0x3cd926,_0x524d08){_0x3cd926=_0x3cd926-0x0;var _0x2a4863=_0xdf78[_0x3cd926];return _0x2a4863;};'use strict';var multer=require(_0x8df7('0x0'));var util=require(_0x8df7('0x1'));var path=require(_0x8df7('0x2'));var timeout=require(_0x8df7('0x3'));var express=require(_0x8df7('0x4'));var router=express[_0x8df7('0x5')]();var auth=require(_0x8df7('0x6'));var interaction=require(_0x8df7('0x7'));var config=require('../../config/environment');var controller=require('./action.controller');router[_0x8df7('0x8')]('/:id',auth[_0x8df7('0x9')](),controller['update']);router[_0x8df7('0xa')](_0x8df7('0xb'),auth[_0x8df7('0x9')](),controller[_0x8df7('0xc')]);module[_0x8df7('0xd')]=router;