adbdd1aa2177156ba86272998b7c908dfa547fd9
[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 _0xc85b=['../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','/:id','show','/:id/preview','preview','/:id/run','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra'];(function(_0x157ecc,_0x359b87){var _0x1b42a0=function(_0x267cf9){while(--_0x267cf9){_0x157ecc['push'](_0x157ecc['shift']());}};_0x1b42a0(++_0x359b87);}(_0xc85b,0x1de));var _0xbc85=function(_0x4f5d16,_0x42a71f){_0x4f5d16=_0x4f5d16-0x0;var _0xe20635=_0xc85b[_0x4f5d16];return _0xe20635;};'use strict';var multer=require(_0xbc85('0x0'));var util=require(_0xbc85('0x1'));var path=require('path');var timeout=require(_0xbc85('0x2'));var express=require(_0xbc85('0x3'));var router=express[_0xbc85('0x4')]();var fs_extra=require(_0xbc85('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xbc85('0x6'));var controller=require(_0xbc85('0x7'));router[_0xbc85('0x8')]('/',auth[_0xbc85('0x9')](),controller['index']);router[_0xbc85('0x8')](_0xbc85('0xa'),auth[_0xbc85('0x9')](),controller[_0xbc85('0xb')]);router[_0xbc85('0x8')](_0xbc85('0xc'),auth['isAuthenticated'](),controller[_0xbc85('0xd')]);router[_0xbc85('0x8')](_0xbc85('0xe'),auth[_0xbc85('0x9')](),controller['run']);router[_0xbc85('0x8')]('/:id/query',auth[_0xbc85('0x9')](),controller['query']);router[_0xbc85('0xf')]('/',auth[_0xbc85('0x9')](),controller[_0xbc85('0x10')]);router[_0xbc85('0x11')](_0xbc85('0xa'),auth[_0xbc85('0x9')](),controller[_0xbc85('0x12')]);router[_0xbc85('0x13')](_0xbc85('0xa'),auth[_0xbc85('0x9')](),controller[_0xbc85('0x14')]);module[_0xbc85('0x15')]=router;