Built motion from commit (unavailable).|2.5.22
[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 _0xc36d=['express','../../components/auth/service','../../components/interaction/service','./analyticDefaultReport.controller','isAuthenticated','get','/:id','show','preview','/:id/run','/:id/query','query','create','put','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x27619d,_0x349553){var _0xdac21f=function(_0x137aa7){while(--_0x137aa7){_0x27619d['push'](_0x27619d['shift']());}};_0xdac21f(++_0x349553);}(_0xc36d,0xb9));var _0xdc36=function(_0x52ca59,_0x279dda){_0x52ca59=_0x52ca59-0x0;var _0x1ab7e5=_0xc36d[_0x52ca59];return _0x1ab7e5;};'use strict';var multer=require(_0xdc36('0x0'));var util=require(_0xdc36('0x1'));var path=require(_0xdc36('0x2'));var timeout=require(_0xdc36('0x3'));var express=require(_0xdc36('0x4'));var router=express['Router']();var auth=require(_0xdc36('0x5'));var interaction=require(_0xdc36('0x6'));var config=require('../../config/environment');var controller=require(_0xdc36('0x7'));router['get']('/',auth[_0xdc36('0x8')](),controller['index']);router[_0xdc36('0x9')](_0xdc36('0xa'),auth[_0xdc36('0x8')](),controller[_0xdc36('0xb')]);router['get']('/:id/preview',auth[_0xdc36('0x8')](),controller[_0xdc36('0xc')]);router[_0xdc36('0x9')](_0xdc36('0xd'),auth[_0xdc36('0x8')](),controller['run']);router[_0xdc36('0x9')](_0xdc36('0xe'),auth['isAuthenticated'](),controller[_0xdc36('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0xdc36('0x10')]);router[_0xdc36('0x11')](_0xdc36('0xa'),auth[_0xdc36('0x8')](),controller['update']);router[_0xdc36('0x12')](_0xdc36('0xa'),auth[_0xdc36('0x8')](),controller[_0xdc36('0x13')]);module[_0xdc36('0x14')]=router;