Built motion from commit (unavailable).|2.4.20
[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 _0xb133=['get','isAuthenticated','index','show','/:id/run','run','/:id/query','query','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller'];(function(_0x1d086a,_0x3ea29c){var _0x12407a=function(_0x1ee16c){while(--_0x1ee16c){_0x1d086a['push'](_0x1d086a['shift']());}};_0x12407a(++_0x3ea29c);}(_0xb133,0x82));var _0x3b13=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0xb133[_0x1cc8fe];return _0x230054;};'use strict';var multer=require('multer');var util=require(_0x3b13('0x0'));var path=require(_0x3b13('0x1'));var timeout=require(_0x3b13('0x2'));var express=require(_0x3b13('0x3'));var router=express['Router']();var auth=require(_0x3b13('0x4'));var interaction=require(_0x3b13('0x5'));var config=require(_0x3b13('0x6'));var controller=require(_0x3b13('0x7'));router[_0x3b13('0x8')]('/',auth[_0x3b13('0x9')](),controller[_0x3b13('0xa')]);router[_0x3b13('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x3b13('0xb')]);router[_0x3b13('0x8')]('/:id/preview',auth[_0x3b13('0x9')](),controller['preview']);router[_0x3b13('0x8')](_0x3b13('0xc'),auth[_0x3b13('0x9')](),controller[_0x3b13('0xd')]);router[_0x3b13('0x8')](_0x3b13('0xe'),auth['isAuthenticated'](),controller[_0x3b13('0xf')]);router[_0x3b13('0x10')]('/',auth['isAuthenticated'](),controller[_0x3b13('0x11')]);router[_0x3b13('0x12')]('/:id',auth[_0x3b13('0x9')](),controller[_0x3b13('0x13')]);router[_0x3b13('0x14')]('/:id',auth[_0x3b13('0x9')](),controller[_0x3b13('0x15')]);module[_0x3b13('0x16')]=router;