377dd098481bdfc1d64ce76ae8b131c43fdc20e9
[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 _0x1a13=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','/:id/run','run','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express'];(function(_0x2b9e11,_0x4d2fa6){var _0x1ca844=function(_0x202766){while(--_0x202766){_0x2b9e11['push'](_0x2b9e11['shift']());}};_0x1ca844(++_0x4d2fa6);}(_0x1a13,0x9c));var _0x31a1=function(_0x37e2f8,_0x5b25b9){_0x37e2f8=_0x37e2f8-0x0;var _0x1f98eb=_0x1a13[_0x37e2f8];return _0x1f98eb;};'use strict';var multer=require(_0x31a1('0x0'));var util=require('util');var path=require(_0x31a1('0x1'));var timeout=require(_0x31a1('0x2'));var express=require(_0x31a1('0x3'));var router=express['Router']();var auth=require(_0x31a1('0x4'));var interaction=require(_0x31a1('0x5'));var config=require(_0x31a1('0x6'));var controller=require('./analyticDefaultReport.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x31a1('0x7')](_0x31a1('0x8'),auth[_0x31a1('0x9')](),controller[_0x31a1('0xa')]);router[_0x31a1('0x7')]('/:id/preview',auth[_0x31a1('0x9')](),controller['preview']);router['get'](_0x31a1('0xb'),auth['isAuthenticated'](),controller[_0x31a1('0xc')]);router['get']('/:id/query',auth[_0x31a1('0x9')](),controller['query']);router[_0x31a1('0xd')]('/',auth['isAuthenticated'](),controller[_0x31a1('0xe')]);router[_0x31a1('0xf')](_0x31a1('0x8'),auth[_0x31a1('0x9')](),controller[_0x31a1('0x10')]);router[_0x31a1('0x11')]('/:id',auth[_0x31a1('0x9')](),controller[_0x31a1('0x12')]);module[_0x31a1('0x13')]=router;