caf051010d77a78dcfea13c9d8d57e171f301f44
[motion2.git] / server / api / analyticCustomReport / 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 _0x02ff=['put','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','create'];(function(_0x49c8a2,_0x58dcff){var _0xe46e67=function(_0x547e69){while(--_0x547e69){_0x49c8a2['push'](_0x49c8a2['shift']());}};_0xe46e67(++_0x58dcff);}(_0x02ff,0x1ad));var _0xf02f=function(_0x12d0e3,_0x49be30){_0x12d0e3=_0x12d0e3-0x0;var _0x186871=_0x02ff[_0x12d0e3];return _0x186871;};'use strict';var multer=require(_0xf02f('0x0'));var util=require(_0xf02f('0x1'));var path=require(_0xf02f('0x2'));var timeout=require(_0xf02f('0x3'));var express=require(_0xf02f('0x4'));var router=express['Router']();var auth=require(_0xf02f('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf02f('0x6'));var controller=require(_0xf02f('0x7'));router[_0xf02f('0x8')]('/',auth[_0xf02f('0x9')](),controller[_0xf02f('0xa')]);router[_0xf02f('0x8')](_0xf02f('0xb'),auth[_0xf02f('0x9')](),controller[_0xf02f('0xc')]);router[_0xf02f('0x8')](_0xf02f('0xd'),auth['isAuthenticated'](),controller[_0xf02f('0xe')]);router[_0xf02f('0x8')](_0xf02f('0xf'),auth['isAuthenticated'](),controller[_0xf02f('0x10')]);router[_0xf02f('0x8')](_0xf02f('0x11'),auth[_0xf02f('0x9')](),controller[_0xf02f('0x12')]);router[_0xf02f('0x13')]('/',auth[_0xf02f('0x9')](),controller[_0xf02f('0x14')]);router[_0xf02f('0x15')]('/:id',auth[_0xf02f('0x9')](),controller[_0xf02f('0x16')]);router[_0xf02f('0x17')](_0xf02f('0xb'),auth[_0xf02f('0x9')](),controller['destroy']);module[_0xf02f('0x18')]=router;