Built motion from commit (unavailable).|2.4.4
[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 _0xf251=['/:id/run','run','query','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','../../components/auth/service','../../config/environment','get','index','/:id','isAuthenticated','/:id/preview','preview'];(function(_0x2624f7,_0x4175b9){var _0x3ea815=function(_0x3e0c8a){while(--_0x3e0c8a){_0x2624f7['push'](_0x2624f7['shift']());}};_0x3ea815(++_0x4175b9);}(_0xf251,0x1ad));var _0x1f25=function(_0x149ad5,_0x12b417){_0x149ad5=_0x149ad5-0x0;var _0x2566b7=_0xf251[_0x149ad5];return _0x2566b7;};'use strict';var multer=require(_0x1f25('0x0'));var util=require(_0x1f25('0x1'));var path=require(_0x1f25('0x2'));var timeout=require(_0x1f25('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x1f25('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x1f25('0x5'));var controller=require('./analyticDefaultReport.controller');router[_0x1f25('0x6')]('/',auth['isAuthenticated'](),controller[_0x1f25('0x7')]);router[_0x1f25('0x6')](_0x1f25('0x8'),auth[_0x1f25('0x9')](),controller['show']);router[_0x1f25('0x6')](_0x1f25('0xa'),auth['isAuthenticated'](),controller[_0x1f25('0xb')]);router['get'](_0x1f25('0xc'),auth['isAuthenticated'](),controller[_0x1f25('0xd')]);router[_0x1f25('0x6')]('/:id/query',auth[_0x1f25('0x9')](),controller[_0x1f25('0xe')]);router[_0x1f25('0xf')]('/',auth['isAuthenticated'](),controller[_0x1f25('0x10')]);router[_0x1f25('0x11')](_0x1f25('0x8'),auth['isAuthenticated'](),controller[_0x1f25('0x12')]);router[_0x1f25('0x13')](_0x1f25('0x8'),auth[_0x1f25('0x9')](),controller[_0x1f25('0x14')]);module['exports']=router;