Built motion from commit 85328c08.|2.5.50
[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 _0x56f9=['exports','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','run','query','post','create','put','update','delete','destroy'];(function(_0x316b3e,_0x47b154){var _0x45ba95=function(_0x5e68c4){while(--_0x5e68c4){_0x316b3e['push'](_0x316b3e['shift']());}};_0x45ba95(++_0x47b154);}(_0x56f9,0x97));var _0x956f=function(_0x5bb5de,_0x192c4c){_0x5bb5de=_0x5bb5de-0x0;var _0x15de2b=_0x56f9[_0x5bb5de];return _0x15de2b;};'use strict';var multer=require('multer');var util=require(_0x956f('0x0'));var path=require('path');var timeout=require(_0x956f('0x1'));var express=require(_0x956f('0x2'));var router=express['Router']();var fs_extra=require(_0x956f('0x3'));var auth=require(_0x956f('0x4'));var interaction=require(_0x956f('0x5'));var config=require(_0x956f('0x6'));var controller=require(_0x956f('0x7'));router[_0x956f('0x8')]('/',auth[_0x956f('0x9')](),controller[_0x956f('0xa')]);router[_0x956f('0x8')](_0x956f('0xb'),auth['isAuthenticated'](),controller[_0x956f('0xc')]);router[_0x956f('0x8')](_0x956f('0xd'),auth[_0x956f('0x9')](),controller[_0x956f('0xe')]);router[_0x956f('0x8')](_0x956f('0xf'),auth[_0x956f('0x9')](),controller[_0x956f('0x10')]);router[_0x956f('0x8')]('/:id/query',auth[_0x956f('0x9')](),controller[_0x956f('0x11')]);router[_0x956f('0x12')]('/',auth[_0x956f('0x9')](),controller[_0x956f('0x13')]);router[_0x956f('0x14')](_0x956f('0xb'),auth['isAuthenticated'](),controller[_0x956f('0x15')]);router[_0x956f('0x16')](_0x956f('0xb'),auth[_0x956f('0x9')](),controller[_0x956f('0x17')]);module[_0x956f('0x18')]=router;