Built motion from commit (unavailable).|2.5.4
[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 _0x5fc4=['exports','util','connect-timeout','express','Router','../../components/interaction/service','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','run','query','post','create','put','update','delete','destroy'];(function(_0x217761,_0x22f74d){var _0x360a62=function(_0x42416e){while(--_0x42416e){_0x217761['push'](_0x217761['shift']());}};_0x360a62(++_0x22f74d);}(_0x5fc4,0x109));var _0x45fc=function(_0x3cb223,_0x1a435f){_0x3cb223=_0x3cb223-0x0;var _0xe741df=_0x5fc4[_0x3cb223];return _0xe741df;};'use strict';var multer=require('multer');var util=require(_0x45fc('0x0'));var path=require('path');var timeout=require(_0x45fc('0x1'));var express=require(_0x45fc('0x2'));var router=express[_0x45fc('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x45fc('0x4'));var config=require('../../config/environment');var controller=require('./analyticCustomReport.controller');router[_0x45fc('0x5')]('/',auth[_0x45fc('0x6')](),controller[_0x45fc('0x7')]);router[_0x45fc('0x5')](_0x45fc('0x8'),auth[_0x45fc('0x6')](),controller[_0x45fc('0x9')]);router[_0x45fc('0x5')](_0x45fc('0xa'),auth[_0x45fc('0x6')](),controller[_0x45fc('0xb')]);router[_0x45fc('0x5')](_0x45fc('0xc'),auth[_0x45fc('0x6')](),controller[_0x45fc('0xd')]);router[_0x45fc('0x5')]('/:id/query',auth[_0x45fc('0x6')](),controller[_0x45fc('0xe')]);router[_0x45fc('0xf')]('/',auth['isAuthenticated'](),controller[_0x45fc('0x10')]);router[_0x45fc('0x11')](_0x45fc('0x8'),auth[_0x45fc('0x6')](),controller[_0x45fc('0x12')]);router[_0x45fc('0x13')](_0x45fc('0x8'),auth['isAuthenticated'](),controller[_0x45fc('0x14')]);module[_0x45fc('0x15')]=router;