ba4947e26d45b7203d322a29a6cc1cdfdff86483
[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 _0x1b37=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','create','put','update','delete','destroy','multer','path','connect-timeout','express','Router'];(function(_0x480896,_0x234604){var _0x405ca2=function(_0x1ca8c5){while(--_0x1ca8c5){_0x480896['push'](_0x480896['shift']());}};_0x405ca2(++_0x234604);}(_0x1b37,0xc3));var _0x71b3=function(_0x2942eb,_0x268b83){_0x2942eb=_0x2942eb-0x0;var _0x421230=_0x1b37[_0x2942eb];return _0x421230;};'use strict';var multer=require(_0x71b3('0x0'));var util=require('util');var path=require(_0x71b3('0x1'));var timeout=require(_0x71b3('0x2'));var express=require(_0x71b3('0x3'));var router=express[_0x71b3('0x4')]();var auth=require(_0x71b3('0x5'));var interaction=require(_0x71b3('0x6'));var config=require(_0x71b3('0x7'));var controller=require('./analyticCustomReport.controller');router[_0x71b3('0x8')]('/',auth[_0x71b3('0x9')](),controller[_0x71b3('0xa')]);router[_0x71b3('0x8')](_0x71b3('0xb'),auth['isAuthenticated'](),controller[_0x71b3('0xc')]);router[_0x71b3('0x8')](_0x71b3('0xd'),auth[_0x71b3('0x9')](),controller[_0x71b3('0xe')]);router[_0x71b3('0x8')](_0x71b3('0xf'),auth[_0x71b3('0x9')](),controller[_0x71b3('0x10')]);router[_0x71b3('0x8')](_0x71b3('0x11'),auth[_0x71b3('0x9')](),controller[_0x71b3('0x12')]);router[_0x71b3('0x13')]('/',auth[_0x71b3('0x9')](),controller[_0x71b3('0x14')]);router[_0x71b3('0x15')](_0x71b3('0xb'),auth['isAuthenticated'](),controller[_0x71b3('0x16')]);router[_0x71b3('0x17')](_0x71b3('0xb'),auth['isAuthenticated'](),controller[_0x71b3('0x18')]);module['exports']=router;