Built motion from commit 616d3211.|2.6.4
[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 _0xa979=['/:id/query','query','post','create','update','destroy','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','index','/:id','isAuthenticated','show','/:id/preview','preview','/:id/run','run'];(function(_0x53310f,_0xb44e99){var _0x4712e3=function(_0x22e135){while(--_0x22e135){_0x53310f['push'](_0x53310f['shift']());}};_0x4712e3(++_0xb44e99);}(_0xa979,0x15f));var _0x9a97=function(_0xcd5a3d,_0x3c5b33){_0xcd5a3d=_0xcd5a3d-0x0;var _0xd43207=_0xa979[_0xcd5a3d];return _0xd43207;};'use strict';var multer=require('multer');var util=require(_0x9a97('0x0'));var path=require('path');var timeout=require(_0x9a97('0x1'));var express=require(_0x9a97('0x2'));var router=express[_0x9a97('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x9a97('0x4'));var interaction=require(_0x9a97('0x5'));var config=require(_0x9a97('0x6'));var controller=require(_0x9a97('0x7'));router[_0x9a97('0x8')]('/',auth['isAuthenticated'](),controller[_0x9a97('0x9')]);router[_0x9a97('0x8')](_0x9a97('0xa'),auth[_0x9a97('0xb')](),controller[_0x9a97('0xc')]);router['get'](_0x9a97('0xd'),auth[_0x9a97('0xb')](),controller[_0x9a97('0xe')]);router[_0x9a97('0x8')](_0x9a97('0xf'),auth[_0x9a97('0xb')](),controller[_0x9a97('0x10')]);router[_0x9a97('0x8')](_0x9a97('0x11'),auth[_0x9a97('0xb')](),controller[_0x9a97('0x12')]);router[_0x9a97('0x13')]('/',auth[_0x9a97('0xb')](),controller[_0x9a97('0x14')]);router['put']('/:id',auth[_0x9a97('0xb')](),controller[_0x9a97('0x15')]);router['delete'](_0x9a97('0xa'),auth[_0x9a97('0xb')](),controller[_0x9a97('0x16')]);module['exports']=router;