Built motion from commit (unavailable).|2.5.22
[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 _0x16e7=['exports','multer','util','express','Router','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','create','put','/:id','destroy'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x16e7,0xfe));var _0x716e=function(_0x5d3547,_0x363d67){_0x5d3547=_0x5d3547-0x0;var _0x5074e7=_0x16e7[_0x5d3547];return _0x5074e7;};'use strict';var multer=require(_0x716e('0x0'));var util=require(_0x716e('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x716e('0x2'));var router=express[_0x716e('0x3')]();var auth=require(_0x716e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x716e('0x5'));var controller=require(_0x716e('0x6'));router[_0x716e('0x7')]('/',auth[_0x716e('0x8')](),controller[_0x716e('0x9')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x716e('0xa')]);router['get'](_0x716e('0xb'),auth[_0x716e('0x8')](),controller[_0x716e('0xc')]);router[_0x716e('0x7')](_0x716e('0xd'),auth['isAuthenticated'](),controller[_0x716e('0xe')]);router[_0x716e('0x7')](_0x716e('0xf'),auth[_0x716e('0x8')](),controller[_0x716e('0x10')]);router[_0x716e('0x11')]('/',auth[_0x716e('0x8')](),controller[_0x716e('0x12')]);router[_0x716e('0x13')](_0x716e('0x14'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x716e('0x14'),auth[_0x716e('0x8')](),controller[_0x716e('0x15')]);module[_0x716e('0x16')]=router;