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 _0xf958=['../../config/environment','./license.controller','get','put','update','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x59ce74,_0x97a4de){var _0x3af230=function(_0x265e16){while(--_0x265e16){_0x59ce74['push'](_0x59ce74['shift']());}};_0x3af230(++_0x97a4de);}(_0xf958,0x1a7));var _0x8f95=function(_0x2f1550,_0x498ff7){_0x2f1550=_0x2f1550-0x0;var _0xe159e9=_0xf958[_0x2f1550];return _0xe159e9;};'use strict';var multer=require('multer');var util=require(_0x8f95('0x0'));var path=require(_0x8f95('0x1'));var timeout=require(_0x8f95('0x2'));var express=require('express');var router=express[_0x8f95('0x3')]();var auth=require(_0x8f95('0x4'));var interaction=require(_0x8f95('0x5'));var config=require(_0x8f95('0x6'));var controller=require(_0x8f95('0x7'));router[_0x8f95('0x8')]('/',controller['index']);router[_0x8f95('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x8f95('0xa')]);module['exports']=router;