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