Built motion from commit 85328c08.|2.5.50
[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 _0x8a33=['isAuthenticated','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','create','put','update','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','index','/:id'];(function(_0x6c649c,_0x5a5c9e){var _0x28e9e8=function(_0x365f29){while(--_0x365f29){_0x6c649c['push'](_0x6c649c['shift']());}};_0x28e9e8(++_0x5a5c9e);}(_0x8a33,0xee));var _0x38a3=function(_0x443f79,_0x33e446){_0x443f79=_0x443f79-0x0;var _0x3847e4=_0x8a33[_0x443f79];return _0x3847e4;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x38a3('0x0'));var timeout=require(_0x38a3('0x1'));var express=require(_0x38a3('0x2'));var router=express[_0x38a3('0x3')]();var fs_extra=require(_0x38a3('0x4'));var auth=require(_0x38a3('0x5'));var interaction=require(_0x38a3('0x6'));var config=require(_0x38a3('0x7'));var controller=require(_0x38a3('0x8'));router[_0x38a3('0x9')]('/',auth['isAuthenticated'](),controller[_0x38a3('0xa')]);router[_0x38a3('0x9')](_0x38a3('0xb'),auth[_0x38a3('0xc')](),controller[_0x38a3('0xd')]);router[_0x38a3('0x9')](_0x38a3('0xe'),auth['isAuthenticated'](),controller[_0x38a3('0xf')]);router[_0x38a3('0x9')](_0x38a3('0x10'),auth[_0x38a3('0xc')](),controller[_0x38a3('0x11')]);router[_0x38a3('0x9')](_0x38a3('0x12'),auth['isAuthenticated'](),controller[_0x38a3('0x13')]);router[_0x38a3('0x14')]('/',auth['isAuthenticated'](),controller[_0x38a3('0x15')]);router[_0x38a3('0x16')](_0x38a3('0xb'),auth[_0x38a3('0xc')](),controller[_0x38a3('0x17')]);router['delete']('/:id',auth[_0x38a3('0xc')](),controller['destroy']);module[_0x38a3('0x18')]=router;