Built motion from commit c738b9ac.|2.6.25
[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 _0x4f29=['../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','isAuthenticated','index','get','/:id','show','/:id/preview','preview','/:id/run','post','create','put','update','delete','destroy','multer','util','express','fs-extra'];(function(_0x58152e,_0x541297){var _0x5d2496=function(_0x4fbaa7){while(--_0x4fbaa7){_0x58152e['push'](_0x58152e['shift']());}};_0x5d2496(++_0x541297);}(_0x4f29,0x1e0));var _0x94f2=function(_0x55b64c,_0x109fb0){_0x55b64c=_0x55b64c-0x0;var _0x4e8286=_0x4f29[_0x55b64c];return _0x4e8286;};'use strict';var multer=require(_0x94f2('0x0'));var util=require(_0x94f2('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x94f2('0x2'));var router=express['Router']();var fs_extra=require(_0x94f2('0x3'));var auth=require(_0x94f2('0x4'));var interaction=require(_0x94f2('0x5'));var config=require(_0x94f2('0x6'));var controller=require(_0x94f2('0x7'));router['get']('/',auth[_0x94f2('0x8')](),controller[_0x94f2('0x9')]);router[_0x94f2('0xa')](_0x94f2('0xb'),auth[_0x94f2('0x8')](),controller[_0x94f2('0xc')]);router[_0x94f2('0xa')](_0x94f2('0xd'),auth['isAuthenticated'](),controller[_0x94f2('0xe')]);router[_0x94f2('0xa')](_0x94f2('0xf'),auth[_0x94f2('0x8')](),controller['run']);router[_0x94f2('0xa')]('/:id/query',auth['isAuthenticated'](),controller['query']);router[_0x94f2('0x10')]('/',auth[_0x94f2('0x8')](),controller[_0x94f2('0x11')]);router[_0x94f2('0x12')](_0x94f2('0xb'),auth[_0x94f2('0x8')](),controller[_0x94f2('0x13')]);router[_0x94f2('0x14')](_0x94f2('0xb'),auth[_0x94f2('0x8')](),controller[_0x94f2('0x15')]);module['exports']=router;