Built motion from commit (unavailable).|2.5.0
[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 _0x6a24=['index','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','put','update','delete','destroy','util','path','../../components/auth/service','../../components/interaction/service','./analyticDefaultReport.controller','get','isAuthenticated'];(function(_0x261188,_0x2258e7){var _0x1c3caa=function(_0x54c559){while(--_0x54c559){_0x261188['push'](_0x261188['shift']());}};_0x1c3caa(++_0x2258e7);}(_0x6a24,0x8c));var _0x46a2=function(_0x109bd0,_0xaddf0b){_0x109bd0=_0x109bd0-0x0;var _0x3c0466=_0x6a24[_0x109bd0];return _0x3c0466;};'use strict';var multer=require('multer');var util=require(_0x46a2('0x0'));var path=require(_0x46a2('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x46a2('0x2'));var interaction=require(_0x46a2('0x3'));var config=require('../../config/environment');var controller=require(_0x46a2('0x4'));router[_0x46a2('0x5')]('/',auth[_0x46a2('0x6')](),controller[_0x46a2('0x7')]);router[_0x46a2('0x5')](_0x46a2('0x8'),auth[_0x46a2('0x6')](),controller[_0x46a2('0x9')]);router['get'](_0x46a2('0xa'),auth['isAuthenticated'](),controller[_0x46a2('0xb')]);router[_0x46a2('0x5')](_0x46a2('0xc'),auth[_0x46a2('0x6')](),controller[_0x46a2('0xd')]);router[_0x46a2('0x5')](_0x46a2('0xe'),auth['isAuthenticated'](),controller[_0x46a2('0xf')]);router[_0x46a2('0x10')]('/',auth[_0x46a2('0x6')](),controller['create']);router[_0x46a2('0x11')](_0x46a2('0x8'),auth[_0x46a2('0x6')](),controller[_0x46a2('0x12')]);router[_0x46a2('0x13')]('/:id',auth[_0x46a2('0x6')](),controller[_0x46a2('0x14')]);module['exports']=router;