Built motion from commit 3c2ce842.|2.6.31
[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 _0x635a=['query','post','create','put','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','run','/:id/query'];(function(_0x40a4e8,_0x4f0b81){var _0x30f2cd=function(_0x38b3e8){while(--_0x38b3e8){_0x40a4e8['push'](_0x40a4e8['shift']());}};_0x30f2cd(++_0x4f0b81);}(_0x635a,0x13f));var _0xa635=function(_0x3c9782,_0x2741b7){_0x3c9782=_0x3c9782-0x0;var _0x15b97c=_0x635a[_0x3c9782];return _0x15b97c;};'use strict';var multer=require(_0xa635('0x0'));var util=require('util');var path=require(_0xa635('0x1'));var timeout=require(_0xa635('0x2'));var express=require(_0xa635('0x3'));var router=express[_0xa635('0x4')]();var fs_extra=require(_0xa635('0x5'));var auth=require(_0xa635('0x6'));var interaction=require(_0xa635('0x7'));var config=require(_0xa635('0x8'));var controller=require(_0xa635('0x9'));router[_0xa635('0xa')]('/',auth[_0xa635('0xb')](),controller[_0xa635('0xc')]);router[_0xa635('0xa')](_0xa635('0xd'),auth[_0xa635('0xb')](),controller[_0xa635('0xe')]);router[_0xa635('0xa')](_0xa635('0xf'),auth[_0xa635('0xb')](),controller[_0xa635('0x10')]);router[_0xa635('0xa')]('/:id/run',auth[_0xa635('0xb')](),controller[_0xa635('0x11')]);router['get'](_0xa635('0x12'),auth[_0xa635('0xb')](),controller[_0xa635('0x13')]);router[_0xa635('0x14')]('/',auth[_0xa635('0xb')](),controller[_0xa635('0x15')]);router[_0xa635('0x16')](_0xa635('0xd'),auth['isAuthenticated'](),controller['update']);router[_0xa635('0x17')](_0xa635('0xd'),auth[_0xa635('0xb')](),controller[_0xa635('0x18')]);module[_0xa635('0x19')]=router;