2dffab21020d883e23dcebc235c0734a4f01c6bd
[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 _0xed49=['multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','/:id/preview','preview','/:id/run','run','/:id/query','post','create','/:id','update','exports'];(function(_0xe17009,_0x13ce48){var _0x3f5def=function(_0x42c7ae){while(--_0x42c7ae){_0xe17009['push'](_0xe17009['shift']());}};_0x3f5def(++_0x13ce48);}(_0xed49,0x13b));var _0x9ed4=function(_0x32128a,_0x5a9832){_0x32128a=_0x32128a-0x0;var _0xc9d8f6=_0xed49[_0x32128a];return _0xc9d8f6;};'use strict';var multer=require(_0x9ed4('0x0'));var util=require('util');var path=require(_0x9ed4('0x1'));var timeout=require(_0x9ed4('0x2'));var express=require(_0x9ed4('0x3'));var router=express[_0x9ed4('0x4')]();var auth=require(_0x9ed4('0x5'));var interaction=require(_0x9ed4('0x6'));var config=require(_0x9ed4('0x7'));var controller=require(_0x9ed4('0x8'));router[_0x9ed4('0x9')]('/',auth[_0x9ed4('0xa')](),controller['index']);router[_0x9ed4('0x9')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x9ed4('0x9')](_0x9ed4('0xb'),auth[_0x9ed4('0xa')](),controller[_0x9ed4('0xc')]);router[_0x9ed4('0x9')](_0x9ed4('0xd'),auth[_0x9ed4('0xa')](),controller[_0x9ed4('0xe')]);router[_0x9ed4('0x9')](_0x9ed4('0xf'),auth['isAuthenticated'](),controller['query']);router[_0x9ed4('0x10')]('/',auth[_0x9ed4('0xa')](),controller[_0x9ed4('0x11')]);router['put'](_0x9ed4('0x12'),auth[_0x9ed4('0xa')](),controller[_0x9ed4('0x13')]);router['delete'](_0x9ed4('0x12'),auth[_0x9ed4('0xa')](),controller['destroy']);module[_0x9ed4('0x14')]=router;