Built motion from commit 7158bc59.|2.5.42
[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 _0x836f=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','/:id','isAuthenticated','/:id/preview','preview','/:id/run','/:id/query','post','create','put','update','destroy'];(function(_0x557ff2,_0x5d76c7){var _0x578d53=function(_0x48191a){while(--_0x48191a){_0x557ff2['push'](_0x557ff2['shift']());}};_0x578d53(++_0x5d76c7);}(_0x836f,0x91));var _0xf836=function(_0x3cab13,_0x2e4c12){_0x3cab13=_0x3cab13-0x0;var _0x28d92e=_0x836f[_0x3cab13];return _0x28d92e;};'use strict';var multer=require(_0xf836('0x0'));var util=require(_0xf836('0x1'));var path=require(_0xf836('0x2'));var timeout=require(_0xf836('0x3'));var express=require(_0xf836('0x4'));var router=express[_0xf836('0x5')]();var fs_extra=require(_0xf836('0x6'));var auth=require(_0xf836('0x7'));var interaction=require(_0xf836('0x8'));var config=require(_0xf836('0x9'));var controller=require(_0xf836('0xa'));router[_0xf836('0xb')]('/',auth['isAuthenticated'](),controller['index']);router[_0xf836('0xb')](_0xf836('0xc'),auth[_0xf836('0xd')](),controller['show']);router[_0xf836('0xb')](_0xf836('0xe'),auth[_0xf836('0xd')](),controller[_0xf836('0xf')]);router[_0xf836('0xb')](_0xf836('0x10'),auth[_0xf836('0xd')](),controller['run']);router[_0xf836('0xb')](_0xf836('0x11'),auth['isAuthenticated'](),controller['query']);router[_0xf836('0x12')]('/',auth[_0xf836('0xd')](),controller[_0xf836('0x13')]);router[_0xf836('0x14')]('/:id',auth['isAuthenticated'](),controller[_0xf836('0x15')]);router['delete'](_0xf836('0xc'),auth['isAuthenticated'](),controller[_0xf836('0x16')]);module[_0xf836('0x17')]=router;