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 _0x3331=['../../config/environment','./license.controller','get','put','isAuthenticated','update','multer','util','path','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x2d576f,_0x2e34e8){var _0x53e4cf=function(_0x403121){while(--_0x403121){_0x2d576f['push'](_0x2d576f['shift']());}};_0x53e4cf(++_0x2e34e8);}(_0x3331,0x1f4));var _0x1333=function(_0x27dc58,_0x4b236d){_0x27dc58=_0x27dc58-0x0;var _0x24c8e8=_0x3331[_0x27dc58];return _0x24c8e8;};'use strict';var multer=require(_0x1333('0x0'));var util=require(_0x1333('0x1'));var path=require(_0x1333('0x2'));var timeout=require(_0x1333('0x3'));var express=require(_0x1333('0x4'));var router=express[_0x1333('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x1333('0x6'));var config=require(_0x1333('0x7'));var controller=require(_0x1333('0x8'));router[_0x1333('0x9')]('/',controller['index']);router[_0x1333('0xa')]('/:id',auth[_0x1333('0xb')](),controller[_0x1333('0xc')]);module['exports']=router;