Built motion from commit 616d3211.|2.6.4
[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 _0xc23f=['update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','/:id/run','run','/:id/query','query','post','create','put'];(function(_0x113211,_0x116172){var _0x2e9654=function(_0x23ca49){while(--_0x23ca49){_0x113211['push'](_0x113211['shift']());}};_0x2e9654(++_0x116172);}(_0xc23f,0x149));var _0xfc23=function(_0x2a8e5a,_0x228ec7){_0x2a8e5a=_0x2a8e5a-0x0;var _0x185874=_0xc23f[_0x2a8e5a];return _0x185874;};'use strict';var multer=require(_0xfc23('0x0'));var util=require(_0xfc23('0x1'));var path=require(_0xfc23('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfc23('0x3')]();var fs_extra=require(_0xfc23('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xfc23('0x5'));var config=require(_0xfc23('0x6'));var controller=require(_0xfc23('0x7'));router[_0xfc23('0x8')]('/',auth[_0xfc23('0x9')](),controller[_0xfc23('0xa')]);router[_0xfc23('0x8')](_0xfc23('0xb'),auth[_0xfc23('0x9')](),controller[_0xfc23('0xc')]);router[_0xfc23('0x8')](_0xfc23('0xd'),auth[_0xfc23('0x9')](),controller['preview']);router[_0xfc23('0x8')](_0xfc23('0xe'),auth['isAuthenticated'](),controller[_0xfc23('0xf')]);router['get'](_0xfc23('0x10'),auth[_0xfc23('0x9')](),controller[_0xfc23('0x11')]);router[_0xfc23('0x12')]('/',auth[_0xfc23('0x9')](),controller[_0xfc23('0x13')]);router[_0xfc23('0x14')](_0xfc23('0xb'),auth[_0xfc23('0x9')](),controller[_0xfc23('0x15')]);router[_0xfc23('0x16')](_0xfc23('0xb'),auth['isAuthenticated'](),controller[_0xfc23('0x17')]);module[_0xfc23('0x18')]=router;