Built motion from commit b0a9a629.|2.6.33
[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 _0xca52=['index','/:id','show','/:id/preview','preview','/:id/run','run','query','post','put','update','delete','destroy','exports','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated'];(function(_0x16d10f,_0x2ba2d5){var _0x50c823=function(_0x44e43f){while(--_0x44e43f){_0x16d10f['push'](_0x16d10f['shift']());}};_0x50c823(++_0x2ba2d5);}(_0xca52,0x1be));var _0x2ca5=function(_0x2c2e25,_0x5a8652){_0x2c2e25=_0x2c2e25-0x0;var _0x5aadd7=_0xca52[_0x2c2e25];return _0x5aadd7;};'use strict';var multer=require('multer');var util=require(_0x2ca5('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2ca5('0x1'));var router=express[_0x2ca5('0x2')]();var fs_extra=require(_0x2ca5('0x3'));var auth=require(_0x2ca5('0x4'));var interaction=require(_0x2ca5('0x5'));var config=require(_0x2ca5('0x6'));var controller=require(_0x2ca5('0x7'));router[_0x2ca5('0x8')]('/',auth[_0x2ca5('0x9')](),controller[_0x2ca5('0xa')]);router[_0x2ca5('0x8')](_0x2ca5('0xb'),auth['isAuthenticated'](),controller[_0x2ca5('0xc')]);router[_0x2ca5('0x8')](_0x2ca5('0xd'),auth[_0x2ca5('0x9')](),controller[_0x2ca5('0xe')]);router[_0x2ca5('0x8')](_0x2ca5('0xf'),auth[_0x2ca5('0x9')](),controller[_0x2ca5('0x10')]);router[_0x2ca5('0x8')]('/:id/query',auth['isAuthenticated'](),controller[_0x2ca5('0x11')]);router[_0x2ca5('0x12')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2ca5('0x13')](_0x2ca5('0xb'),auth['isAuthenticated'](),controller[_0x2ca5('0x14')]);router[_0x2ca5('0x15')](_0x2ca5('0xb'),auth[_0x2ca5('0x9')](),controller[_0x2ca5('0x16')]);module[_0x2ca5('0x17')]=router;