Built motion from commit f94df7f0.|2.5.48
[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 _0xbeff=['create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post'];(function(_0x51dbc9,_0x596c53){var _0x22cd6c=function(_0x59ae06){while(--_0x59ae06){_0x51dbc9['push'](_0x51dbc9['shift']());}};_0x22cd6c(++_0x596c53);}(_0xbeff,0x8d));var _0xfbef=function(_0x1c9b84,_0x53c351){_0x1c9b84=_0x1c9b84-0x0;var _0x566b5f=_0xbeff[_0x1c9b84];return _0x566b5f;};'use strict';var multer=require('multer');var util=require(_0xfbef('0x0'));var path=require(_0xfbef('0x1'));var timeout=require(_0xfbef('0x2'));var express=require(_0xfbef('0x3'));var router=express[_0xfbef('0x4')]();var fs_extra=require(_0xfbef('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xfbef('0x6'));var config=require(_0xfbef('0x7'));var controller=require(_0xfbef('0x8'));router[_0xfbef('0x9')]('/',auth[_0xfbef('0xa')](),controller[_0xfbef('0xb')]);router['get'](_0xfbef('0xc'),auth[_0xfbef('0xa')](),controller[_0xfbef('0xd')]);router[_0xfbef('0x9')](_0xfbef('0xe'),auth['isAuthenticated'](),controller[_0xfbef('0xf')]);router[_0xfbef('0x9')](_0xfbef('0x10'),auth[_0xfbef('0xa')](),controller[_0xfbef('0x11')]);router[_0xfbef('0x9')](_0xfbef('0x12'),auth['isAuthenticated'](),controller[_0xfbef('0x13')]);router[_0xfbef('0x14')]('/',auth[_0xfbef('0xa')](),controller[_0xfbef('0x15')]);router[_0xfbef('0x16')](_0xfbef('0xc'),auth[_0xfbef('0xa')](),controller[_0xfbef('0x17')]);router[_0xfbef('0x18')](_0xfbef('0xc'),auth[_0xfbef('0xa')](),controller[_0xfbef('0x19')]);module[_0xfbef('0x1a')]=router;