09a66b9e3b067a05087d4e88932156b2aa6cb239
[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 _0xf32f=['destroy','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','isAuthenticated','index','get','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','create','put','update','delete'];(function(_0x16c01d,_0x50ee16){var _0x41ab4b=function(_0x11df5f){while(--_0x11df5f){_0x16c01d['push'](_0x16c01d['shift']());}};_0x41ab4b(++_0x50ee16);}(_0xf32f,0x1ef));var _0xff32=function(_0x138caa,_0x233267){_0x138caa=_0x138caa-0x0;var _0x358a69=_0xf32f[_0x138caa];return _0x358a69;};'use strict';var multer=require(_0xff32('0x0'));var util=require(_0xff32('0x1'));var path=require('path');var timeout=require(_0xff32('0x2'));var express=require(_0xff32('0x3'));var router=express['Router']();var fs_extra=require(_0xff32('0x4'));var auth=require(_0xff32('0x5'));var interaction=require(_0xff32('0x6'));var config=require(_0xff32('0x7'));var controller=require(_0xff32('0x8'));router['get']('/',auth[_0xff32('0x9')](),controller[_0xff32('0xa')]);router[_0xff32('0xb')](_0xff32('0xc'),auth[_0xff32('0x9')](),controller[_0xff32('0xd')]);router[_0xff32('0xb')](_0xff32('0xe'),auth[_0xff32('0x9')](),controller[_0xff32('0xf')]);router[_0xff32('0xb')](_0xff32('0x10'),auth['isAuthenticated'](),controller[_0xff32('0x11')]);router['get'](_0xff32('0x12'),auth['isAuthenticated'](),controller[_0xff32('0x13')]);router[_0xff32('0x14')]('/',auth['isAuthenticated'](),controller[_0xff32('0x15')]);router[_0xff32('0x16')]('/:id',auth[_0xff32('0x9')](),controller[_0xff32('0x17')]);router[_0xff32('0x18')](_0xff32('0xc'),auth['isAuthenticated'](),controller[_0xff32('0x19')]);module['exports']=router;