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 _0x5db4=['path','express','Router','../../components/auth/service','../../components/interaction/service','put','/:id','delete','isAuthenticated','destroy','multer','util'];(function(_0x59bfea,_0xde04a2){var _0x338a3c=function(_0x39e17a){while(--_0x39e17a){_0x59bfea['push'](_0x59bfea['shift']());}};_0x338a3c(++_0xde04a2);}(_0x5db4,0x196));var _0x45db=function(_0x7a24ec,_0x12c669){_0x7a24ec=_0x7a24ec-0x0;var _0x444b11=_0x5db4[_0x7a24ec];return _0x444b11;};'use strict';var multer=require(_0x45db('0x0'));var util=require(_0x45db('0x1'));var path=require(_0x45db('0x2'));var timeout=require('connect-timeout');var express=require(_0x45db('0x3'));var router=express[_0x45db('0x4')]();var auth=require(_0x45db('0x5'));var interaction=require(_0x45db('0x6'));var config=require('../../config/environment');var controller=require('./action.controller');router[_0x45db('0x7')](_0x45db('0x8'),auth['isAuthenticated'](),controller['update']);router[_0x45db('0x9')](_0x45db('0x8'),auth[_0x45db('0xa')](),controller[_0x45db('0xb')]);module['exports']=router;