1330f93689526a6cb043c760e10d4d40bd1879a6
[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 _0x06da=['./analyticDefaultReport.controller','isAuthenticated','get','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x535478,_0x58cb2e){var _0xb5fea8=function(_0x39a260){while(--_0x39a260){_0x535478['push'](_0x535478['shift']());}};_0xb5fea8(++_0x58cb2e);}(_0x06da,0x1ec));var _0xa06d=function(_0x1ac324,_0x53536d){_0x1ac324=_0x1ac324-0x0;var _0x420982=_0x06da[_0x1ac324];return _0x420982;};'use strict';var multer=require(_0xa06d('0x0'));var util=require(_0xa06d('0x1'));var path=require(_0xa06d('0x2'));var timeout=require(_0xa06d('0x3'));var express=require(_0xa06d('0x4'));var router=express[_0xa06d('0x5')]();var auth=require(_0xa06d('0x6'));var interaction=require(_0xa06d('0x7'));var config=require('../../config/environment');var controller=require(_0xa06d('0x8'));router['get']('/',auth[_0xa06d('0x9')](),controller['index']);router[_0xa06d('0xa')](_0xa06d('0xb'),auth[_0xa06d('0x9')](),controller[_0xa06d('0xc')]);router['get'](_0xa06d('0xd'),auth[_0xa06d('0x9')](),controller[_0xa06d('0xe')]);router[_0xa06d('0xa')](_0xa06d('0xf'),auth['isAuthenticated'](),controller[_0xa06d('0x10')]);router['get'](_0xa06d('0x11'),auth[_0xa06d('0x9')](),controller[_0xa06d('0x12')]);router[_0xa06d('0x13')]('/',auth[_0xa06d('0x9')](),controller[_0xa06d('0x14')]);router[_0xa06d('0x15')](_0xa06d('0xb'),auth[_0xa06d('0x9')](),controller['update']);router[_0xa06d('0x16')](_0xa06d('0xb'),auth[_0xa06d('0x9')](),controller[_0xa06d('0x17')]);module[_0xa06d('0x18')]=router;