Built motion from commit a61a4a20.|2.5.46
[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 _0x9c48=['./analyticCustomReport.controller','isAuthenticated','index','get','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../config/environment'];(function(_0x2e072b,_0x47ee26){var _0x1be0da=function(_0x51250b){while(--_0x51250b){_0x2e072b['push'](_0x2e072b['shift']());}};_0x1be0da(++_0x47ee26);}(_0x9c48,0xa1));var _0x89c4=function(_0x1ca7c4,_0x1436c8){_0x1ca7c4=_0x1ca7c4-0x0;var _0x5399c7=_0x9c48[_0x1ca7c4];return _0x5399c7;};'use strict';var multer=require(_0x89c4('0x0'));var util=require(_0x89c4('0x1'));var path=require(_0x89c4('0x2'));var timeout=require('connect-timeout');var express=require(_0x89c4('0x3'));var router=express[_0x89c4('0x4')]();var fs_extra=require(_0x89c4('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x89c4('0x6'));var controller=require(_0x89c4('0x7'));router['get']('/',auth[_0x89c4('0x8')](),controller[_0x89c4('0x9')]);router[_0x89c4('0xa')](_0x89c4('0xb'),auth[_0x89c4('0x8')](),controller[_0x89c4('0xc')]);router[_0x89c4('0xa')](_0x89c4('0xd'),auth[_0x89c4('0x8')](),controller[_0x89c4('0xe')]);router[_0x89c4('0xa')](_0x89c4('0xf'),auth[_0x89c4('0x8')](),controller[_0x89c4('0x10')]);router[_0x89c4('0xa')](_0x89c4('0x11'),auth[_0x89c4('0x8')](),controller[_0x89c4('0x12')]);router[_0x89c4('0x13')]('/',auth[_0x89c4('0x8')](),controller['create']);router['put']('/:id',auth[_0x89c4('0x8')](),controller[_0x89c4('0x14')]);router[_0x89c4('0x15')](_0x89c4('0xb'),auth[_0x89c4('0x8')](),controller[_0x89c4('0x16')]);module[_0x89c4('0x17')]=router;