12023bab435947998aabead0c48036d15f01a870
[motion2.git] / server / api / analyticDefaultReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf7ca=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','show','/:id/preview','isAuthenticated','preview','run','/:id/query','query','post','put','update','delete','destroy','exports','multer','util','path'];(function(_0x54a995,_0x18f7e6){var _0xb5531c=function(_0x36a6f9){while(--_0x36a6f9){_0x54a995['push'](_0x54a995['shift']());}};_0xb5531c(++_0x18f7e6);}(_0xf7ca,0x142));var _0xaf7c=function(_0x49f523,_0x2a55b4){_0x49f523=_0x49f523-0x0;var _0x338ba4=_0xf7ca[_0x49f523];return _0x338ba4;};'use strict';var multer=require(_0xaf7c('0x0'));var util=require(_0xaf7c('0x1'));var path=require(_0xaf7c('0x2'));var timeout=require(_0xaf7c('0x3'));var express=require(_0xaf7c('0x4'));var router=express[_0xaf7c('0x5')]();var auth=require(_0xaf7c('0x6'));var interaction=require(_0xaf7c('0x7'));var config=require(_0xaf7c('0x8'));var controller=require('./analyticDefaultReport.controller');router[_0xaf7c('0x9')]('/',auth['isAuthenticated'](),controller[_0xaf7c('0xa')]);router[_0xaf7c('0x9')](_0xaf7c('0xb'),auth['isAuthenticated'](),controller[_0xaf7c('0xc')]);router['get'](_0xaf7c('0xd'),auth[_0xaf7c('0xe')](),controller[_0xaf7c('0xf')]);router[_0xaf7c('0x9')]('/:id/run',auth['isAuthenticated'](),controller[_0xaf7c('0x10')]);router[_0xaf7c('0x9')](_0xaf7c('0x11'),auth['isAuthenticated'](),controller[_0xaf7c('0x12')]);router[_0xaf7c('0x13')]('/',auth[_0xaf7c('0xe')](),controller['create']);router[_0xaf7c('0x14')](_0xaf7c('0xb'),auth['isAuthenticated'](),controller[_0xaf7c('0x15')]);router[_0xaf7c('0x16')](_0xaf7c('0xb'),auth[_0xaf7c('0xe')](),controller[_0xaf7c('0x17')]);module[_0xaf7c('0x18')]=router;