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 _0x379e=['../../config/environment','./analyticMetric.controller','isAuthenticated','index','get','/:id','post','create','put','update','delete','destroy','exports','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0x379e,0x104));var _0xe379=function(_0xd8b4dd,_0x3c8cbc){_0xd8b4dd=_0xd8b4dd-0x0;var _0x53113d=_0x379e[_0xd8b4dd];return _0x53113d;};'use strict';var multer=require(_0xe379('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe379('0x1'));var router=express[_0xe379('0x2')]();var fs_extra=require(_0xe379('0x3'));var auth=require(_0xe379('0x4'));var interaction=require(_0xe379('0x5'));var config=require(_0xe379('0x6'));var controller=require(_0xe379('0x7'));router['get']('/',auth[_0xe379('0x8')](),controller[_0xe379('0x9')]);router[_0xe379('0xa')](_0xe379('0xb'),auth[_0xe379('0x8')](),controller['show']);router[_0xe379('0xc')]('/',auth[_0xe379('0x8')](),controller[_0xe379('0xd')]);router[_0xe379('0xe')](_0xe379('0xb'),auth[_0xe379('0x8')](),controller[_0xe379('0xf')]);router[_0xe379('0x10')](_0xe379('0xb'),auth['isAuthenticated'](),controller[_0xe379('0x11')]);module[_0xe379('0x12')]=router;