2b83c656186b7b5ecac3297205fc8f1c18b7c843
[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 _0xa7ff=['delete','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','/:id/run','run','/:id/query','query','post','create','put','update'];(function(_0x7ab3a5,_0x3cdb69){var _0x547b56=function(_0x334fc1){while(--_0x334fc1){_0x7ab3a5['push'](_0x7ab3a5['shift']());}};_0x547b56(++_0x3cdb69);}(_0xa7ff,0x182));var _0xfa7f=function(_0x1b6c6d,_0x2983b0){_0x1b6c6d=_0x1b6c6d-0x0;var _0x290d9d=_0xa7ff[_0x1b6c6d];return _0x290d9d;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xfa7f('0x0'));var timeout=require(_0xfa7f('0x1'));var express=require(_0xfa7f('0x2'));var router=express[_0xfa7f('0x3')]();var fs_extra=require(_0xfa7f('0x4'));var auth=require(_0xfa7f('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xfa7f('0x6'));var controller=require(_0xfa7f('0x7'));router[_0xfa7f('0x8')]('/',auth[_0xfa7f('0x9')](),controller[_0xfa7f('0xa')]);router[_0xfa7f('0x8')](_0xfa7f('0xb'),auth[_0xfa7f('0x9')](),controller[_0xfa7f('0xc')]);router[_0xfa7f('0x8')](_0xfa7f('0xd'),auth[_0xfa7f('0x9')](),controller['preview']);router['get'](_0xfa7f('0xe'),auth[_0xfa7f('0x9')](),controller[_0xfa7f('0xf')]);router['get'](_0xfa7f('0x10'),auth[_0xfa7f('0x9')](),controller[_0xfa7f('0x11')]);router[_0xfa7f('0x12')]('/',auth[_0xfa7f('0x9')](),controller[_0xfa7f('0x13')]);router[_0xfa7f('0x14')](_0xfa7f('0xb'),auth[_0xfa7f('0x9')](),controller[_0xfa7f('0x15')]);router[_0xfa7f('0x16')](_0xfa7f('0xb'),auth[_0xfa7f('0x9')](),controller['destroy']);module[_0xfa7f('0x17')]=router;