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 _0x586c=['../../config/environment','put','/:id','isAuthenticated','update','delete','destroy','exports','util','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x4fde08,_0x463a36){var _0x12e725=function(_0x2670c5){while(--_0x2670c5){_0x4fde08['push'](_0x4fde08['shift']());}};_0x12e725(++_0x463a36);}(_0x586c,0xbe));var _0xc586=function(_0xd336fa,_0x39d1b2){_0xd336fa=_0xd336fa-0x0;var _0x3370b1=_0x586c[_0xd336fa];return _0x3370b1;};'use strict';var multer=require('multer');var util=require(_0xc586('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc586('0x1'));var router=express[_0xc586('0x2')]();var auth=require(_0xc586('0x3'));var interaction=require(_0xc586('0x4'));var config=require(_0xc586('0x5'));var controller=require('./action.controller');router[_0xc586('0x6')](_0xc586('0x7'),auth[_0xc586('0x8')](),controller[_0xc586('0x9')]);router[_0xc586('0xa')](_0xc586('0x7'),auth[_0xc586('0x8')](),controller[_0xc586('0xb')]);module[_0xc586('0xc')]=router;