Built motion from commit f3da74b7.|2.5.36
[motion2.git] / server / api / analyticDefaultReport / 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 _0x563f=['../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','index','/:id','preview','/:id/run','run','/:id/query','query','post','create','put','update','destroy','exports','multer','util','path','express','Router','fs-extra'];(function(_0x18141b,_0x45c769){var _0x474c30=function(_0x7de6d1){while(--_0x7de6d1){_0x18141b['push'](_0x18141b['shift']());}};_0x474c30(++_0x45c769);}(_0x563f,0x158));var _0xf563=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x563f[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xf563('0x0'));var util=require(_0xf563('0x1'));var path=require(_0xf563('0x2'));var timeout=require('connect-timeout');var express=require(_0xf563('0x3'));var router=express[_0xf563('0x4')]();var fs_extra=require(_0xf563('0x5'));var auth=require(_0xf563('0x6'));var interaction=require(_0xf563('0x7'));var config=require(_0xf563('0x8'));var controller=require(_0xf563('0x9'));router[_0xf563('0xa')]('/',auth[_0xf563('0xb')](),controller[_0xf563('0xc')]);router[_0xf563('0xa')](_0xf563('0xd'),auth[_0xf563('0xb')](),controller['show']);router[_0xf563('0xa')]('/:id/preview',auth[_0xf563('0xb')](),controller[_0xf563('0xe')]);router['get'](_0xf563('0xf'),auth[_0xf563('0xb')](),controller[_0xf563('0x10')]);router[_0xf563('0xa')](_0xf563('0x11'),auth['isAuthenticated'](),controller[_0xf563('0x12')]);router[_0xf563('0x13')]('/',auth['isAuthenticated'](),controller[_0xf563('0x14')]);router[_0xf563('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xf563('0x16')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xf563('0x17')]);module[_0xf563('0x18')]=router;