Built motion from commit 377f727e.|2.6.28
[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 _0x254b=['util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','isAuthenticated','get','show','/:id/preview','/:id/run','/:id/query','create','/:id','update','destroy','exports','multer'];(function(_0x351527,_0x11badf){var _0x2559db=function(_0x2fb56c){while(--_0x2fb56c){_0x351527['push'](_0x351527['shift']());}};_0x2559db(++_0x11badf);}(_0x254b,0x110));var _0xb254=function(_0x258b93,_0x188ccc){_0x258b93=_0x258b93-0x0;var _0x35484b=_0x254b[_0x258b93];return _0x35484b;};'use strict';var multer=require(_0xb254('0x0'));var util=require(_0xb254('0x1'));var path=require(_0xb254('0x2'));var timeout=require(_0xb254('0x3'));var express=require(_0xb254('0x4'));var router=express['Router']();var fs_extra=require(_0xb254('0x5'));var auth=require(_0xb254('0x6'));var interaction=require(_0xb254('0x7'));var config=require(_0xb254('0x8'));var controller=require(_0xb254('0x9'));router['get']('/',auth[_0xb254('0xa')](),controller['index']);router[_0xb254('0xb')]('/:id',auth['isAuthenticated'](),controller[_0xb254('0xc')]);router[_0xb254('0xb')](_0xb254('0xd'),auth[_0xb254('0xa')](),controller['preview']);router['get'](_0xb254('0xe'),auth['isAuthenticated'](),controller['run']);router[_0xb254('0xb')](_0xb254('0xf'),auth[_0xb254('0xa')](),controller['query']);router['post']('/',auth['isAuthenticated'](),controller[_0xb254('0x10')]);router['put'](_0xb254('0x11'),auth[_0xb254('0xa')](),controller[_0xb254('0x12')]);router['delete'](_0xb254('0x11'),auth['isAuthenticated'](),controller[_0xb254('0x13')]);module[_0xb254('0x14')]=router;