Built motion from commit bbec7235.|2.6.20
[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 _0x07ca=['query','post','create','put','/:id','update','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./analyticDefaultReport.controller','get','index','isAuthenticated','show','/:id/preview','run','/:id/query'];(function(_0x238671,_0x34aea0){var _0x474844=function(_0x26cab4){while(--_0x26cab4){_0x238671['push'](_0x238671['shift']());}};_0x474844(++_0x34aea0);}(_0x07ca,0xd7));var _0xa07c=function(_0x5a125c,_0x155fa2){_0x5a125c=_0x5a125c-0x0;var _0x4c70af=_0x07ca[_0x5a125c];return _0x4c70af;};'use strict';var multer=require('multer');var util=require(_0xa07c('0x0'));var path=require(_0xa07c('0x1'));var timeout=require(_0xa07c('0x2'));var express=require(_0xa07c('0x3'));var router=express['Router']();var fs_extra=require(_0xa07c('0x4'));var auth=require(_0xa07c('0x5'));var interaction=require(_0xa07c('0x6'));var config=require('../../config/environment');var controller=require(_0xa07c('0x7'));router[_0xa07c('0x8')]('/',auth['isAuthenticated'](),controller[_0xa07c('0x9')]);router[_0xa07c('0x8')]('/:id',auth[_0xa07c('0xa')](),controller[_0xa07c('0xb')]);router[_0xa07c('0x8')](_0xa07c('0xc'),auth[_0xa07c('0xa')](),controller['preview']);router[_0xa07c('0x8')]('/:id/run',auth[_0xa07c('0xa')](),controller[_0xa07c('0xd')]);router[_0xa07c('0x8')](_0xa07c('0xe'),auth[_0xa07c('0xa')](),controller[_0xa07c('0xf')]);router[_0xa07c('0x10')]('/',auth['isAuthenticated'](),controller[_0xa07c('0x11')]);router[_0xa07c('0x12')](_0xa07c('0x13'),auth['isAuthenticated'](),controller[_0xa07c('0x14')]);router['delete'](_0xa07c('0x13'),auth[_0xa07c('0xa')](),controller[_0xa07c('0x15')]);module[_0xa07c('0x16')]=router;