Built motion from commit e6806ed6.|2.6.0
[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 _0xe237=['/:id/preview','preview','/:id/run','run','/:id/query','post','put','update','delete','destroy','multer','util','express','Router','fs-extra','../../components/auth/service','./analyticDefaultReport.controller','index','get','/:id','isAuthenticated'];(function(_0x15b54e,_0x387391){var _0x21dae1=function(_0x287361){while(--_0x287361){_0x15b54e['push'](_0x15b54e['shift']());}};_0x21dae1(++_0x387391);}(_0xe237,0xdc));var _0x7e23=function(_0x480398,_0x225dc8){_0x480398=_0x480398-0x0;var _0x24e823=_0xe237[_0x480398];return _0x24e823;};'use strict';var multer=require(_0x7e23('0x0'));var util=require(_0x7e23('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7e23('0x2'));var router=express[_0x7e23('0x3')]();var fs_extra=require(_0x7e23('0x4'));var auth=require(_0x7e23('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7e23('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x7e23('0x7')]);router[_0x7e23('0x8')](_0x7e23('0x9'),auth[_0x7e23('0xa')](),controller['show']);router['get'](_0x7e23('0xb'),auth[_0x7e23('0xa')](),controller[_0x7e23('0xc')]);router['get'](_0x7e23('0xd'),auth['isAuthenticated'](),controller[_0x7e23('0xe')]);router['get'](_0x7e23('0xf'),auth[_0x7e23('0xa')](),controller['query']);router[_0x7e23('0x10')]('/',auth[_0x7e23('0xa')](),controller['create']);router[_0x7e23('0x11')](_0x7e23('0x9'),auth[_0x7e23('0xa')](),controller[_0x7e23('0x12')]);router[_0x7e23('0x13')](_0x7e23('0x9'),auth[_0x7e23('0xa')](),controller[_0x7e23('0x14')]);module['exports']=router;