636d21d163ae0bd3659b9be103aea788b98d3eef
[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 _0x034f=['isAuthenticated','show','/:id/preview','preview','/:id/run','run','query','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','index','/:id'];(function(_0x24c6e5,_0x1b5cb5){var _0x3edd09=function(_0x160983){while(--_0x160983){_0x24c6e5['push'](_0x24c6e5['shift']());}};_0x3edd09(++_0x1b5cb5);}(_0x034f,0x1d9));var _0xf034=function(_0x48a477,_0x4399cc){_0x48a477=_0x48a477-0x0;var _0x363c71=_0x034f[_0x48a477];return _0x363c71;};'use strict';var multer=require(_0xf034('0x0'));var util=require('util');var path=require(_0xf034('0x1'));var timeout=require(_0xf034('0x2'));var express=require(_0xf034('0x3'));var router=express[_0xf034('0x4')]();var fs_extra=require(_0xf034('0x5'));var auth=require(_0xf034('0x6'));var interaction=require(_0xf034('0x7'));var config=require(_0xf034('0x8'));var controller=require(_0xf034('0x9'));router[_0xf034('0xa')]('/',auth['isAuthenticated'](),controller[_0xf034('0xb')]);router[_0xf034('0xa')](_0xf034('0xc'),auth[_0xf034('0xd')](),controller[_0xf034('0xe')]);router[_0xf034('0xa')](_0xf034('0xf'),auth['isAuthenticated'](),controller[_0xf034('0x10')]);router[_0xf034('0xa')](_0xf034('0x11'),auth[_0xf034('0xd')](),controller[_0xf034('0x12')]);router[_0xf034('0xa')]('/:id/query',auth[_0xf034('0xd')](),controller[_0xf034('0x13')]);router[_0xf034('0x14')]('/',auth[_0xf034('0xd')](),controller[_0xf034('0x15')]);router[_0xf034('0x16')]('/:id',auth[_0xf034('0xd')](),controller[_0xf034('0x17')]);router[_0xf034('0x18')](_0xf034('0xc'),auth[_0xf034('0xd')](),controller[_0xf034('0x19')]);module[_0xf034('0x1a')]=router;