Built motion from commit (unavailable).|2.5.2
[motion2.git] / server / api / analyticCustomReport / 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 _0x16a3=['../../components/auth/service','../../components/interaction/service','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','run','/:id/query','query','create','put','delete','multer','util','connect-timeout','express','Router'];(function(_0x26d386,_0x1660c0){var _0x4ef9a8=function(_0x55e2d3){while(--_0x55e2d3){_0x26d386['push'](_0x26d386['shift']());}};_0x4ef9a8(++_0x1660c0);}(_0x16a3,0x8e));var _0x316a=function(_0xd07996,_0x132d83){_0xd07996=_0xd07996-0x0;var _0x25ed89=_0x16a3[_0xd07996];return _0x25ed89;};'use strict';var multer=require(_0x316a('0x0'));var util=require(_0x316a('0x1'));var path=require('path');var timeout=require(_0x316a('0x2'));var express=require(_0x316a('0x3'));var router=express[_0x316a('0x4')]();var auth=require(_0x316a('0x5'));var interaction=require(_0x316a('0x6'));var config=require('../../config/environment');var controller=require(_0x316a('0x7'));router[_0x316a('0x8')]('/',auth[_0x316a('0x9')](),controller[_0x316a('0xa')]);router[_0x316a('0x8')](_0x316a('0xb'),auth[_0x316a('0x9')](),controller[_0x316a('0xc')]);router[_0x316a('0x8')](_0x316a('0xd'),auth[_0x316a('0x9')](),controller[_0x316a('0xe')]);router['get']('/:id/run',auth['isAuthenticated'](),controller[_0x316a('0xf')]);router[_0x316a('0x8')](_0x316a('0x10'),auth[_0x316a('0x9')](),controller[_0x316a('0x11')]);router['post']('/',auth[_0x316a('0x9')](),controller[_0x316a('0x12')]);router[_0x316a('0x13')](_0x316a('0xb'),auth[_0x316a('0x9')](),controller['update']);router[_0x316a('0x14')](_0x316a('0xb'),auth[_0x316a('0x9')](),controller['destroy']);module['exports']=router;