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 _0x1270=['./license.controller','index','put','/:id','isAuthenticated','update','/download_log_file','downloadLogFile','exports','multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment'];(function(_0x3a9661,_0x530b12){var _0x5bb119=function(_0x1278f){while(--_0x1278f){_0x3a9661['push'](_0x3a9661['shift']());}};_0x5bb119(++_0x530b12);}(_0x1270,0x1da));var _0x0127=function(_0x421c38,_0x4f6383){_0x421c38=_0x421c38-0x0;var _0x1a1e46=_0x1270[_0x421c38];return _0x1a1e46;};'use strict';var multer=require(_0x0127('0x0'));var util=require('util');var path=require(_0x0127('0x1'));var timeout=require(_0x0127('0x2'));var express=require('express');var router=express[_0x0127('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x0127('0x4'));var config=require(_0x0127('0x5'));var controller=require(_0x0127('0x6'));router['get']('/',controller[_0x0127('0x7')]);router[_0x0127('0x8')](_0x0127('0x9'),auth[_0x0127('0xa')](),controller[_0x0127('0xb')]);router['get'](_0x0127('0xc'),auth['isAuthenticated'](),controller[_0x0127('0xd')]);module[_0x0127('0xe')]=router;