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 _0xf019=['path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','index','isAuthenticated','update','exports'];(function(_0x535776,_0x4942df){var _0x1cb350=function(_0x3419a9){while(--_0x3419a9){_0x535776['push'](_0x535776['shift']());}};_0x1cb350(++_0x4942df);}(_0xf019,0x140));var _0x9f01=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xf019[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9f01('0x0'));var timeout=require(_0x9f01('0x1'));var express=require(_0x9f01('0x2'));var router=express[_0x9f01('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x9f01('0x4'));var config=require(_0x9f01('0x5'));var controller=require('./license.controller');router['get']('/',controller[_0x9f01('0x6')]);router['put']('/:id',auth[_0x9f01('0x7')](),controller[_0x9f01('0x8')]);module[_0x9f01('0x9')]=router;