Built motion from commit 9d0783e6.|2.6.13
[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 _0xa070=['update','delete','/:id','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','/:id/preview','preview','run','/:id/query','query','post','create','put'];(function(_0xddf23b,_0x3b3b77){var _0x100b75=function(_0x413058){while(--_0x413058){_0xddf23b['push'](_0xddf23b['shift']());}};_0x100b75(++_0x3b3b77);}(_0xa070,0x94));var _0x0a07=function(_0x1185e9,_0x34e1a5){_0x1185e9=_0x1185e9-0x0;var _0x91cf24=_0xa070[_0x1185e9];return _0x91cf24;};'use strict';var multer=require(_0x0a07('0x0'));var util=require(_0x0a07('0x1'));var path=require('path');var timeout=require(_0x0a07('0x2'));var express=require(_0x0a07('0x3'));var router=express[_0x0a07('0x4')]();var fs_extra=require(_0x0a07('0x5'));var auth=require(_0x0a07('0x6'));var interaction=require(_0x0a07('0x7'));var config=require(_0x0a07('0x8'));var controller=require('./analyticDefaultReport.controller');router[_0x0a07('0x9')]('/',auth[_0x0a07('0xa')](),controller['index']);router[_0x0a07('0x9')]('/:id',auth[_0x0a07('0xa')](),controller[_0x0a07('0xb')]);router[_0x0a07('0x9')](_0x0a07('0xc'),auth['isAuthenticated'](),controller[_0x0a07('0xd')]);router['get']('/:id/run',auth[_0x0a07('0xa')](),controller[_0x0a07('0xe')]);router['get'](_0x0a07('0xf'),auth[_0x0a07('0xa')](),controller[_0x0a07('0x10')]);router[_0x0a07('0x11')]('/',auth[_0x0a07('0xa')](),controller[_0x0a07('0x12')]);router[_0x0a07('0x13')]('/:id',auth[_0x0a07('0xa')](),controller[_0x0a07('0x14')]);router[_0x0a07('0x15')](_0x0a07('0x16'),auth[_0x0a07('0xa')](),controller[_0x0a07('0x17')]);module['exports']=router;