70b0bf4a40f06c99cd6500c62b138fa067f9af42
[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 _0x629b=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','create','put','update','exports','multer','util','path','connect-timeout'];(function(_0x2022ff,_0x2a77a9){var _0xce9870=function(_0x25e19d){while(--_0x25e19d){_0x2022ff['push'](_0x2022ff['shift']());}};_0xce9870(++_0x2a77a9);}(_0x629b,0x1d0));var _0xb629=function(_0x5f4863,_0x5cb881){_0x5f4863=_0x5f4863-0x0;var _0x3edf2b=_0x629b[_0x5f4863];return _0x3edf2b;};'use strict';var multer=require(_0xb629('0x0'));var util=require(_0xb629('0x1'));var path=require(_0xb629('0x2'));var timeout=require(_0xb629('0x3'));var express=require(_0xb629('0x4'));var router=express[_0xb629('0x5')]();var auth=require(_0xb629('0x6'));var interaction=require(_0xb629('0x7'));var config=require(_0xb629('0x8'));var controller=require(_0xb629('0x9'));router[_0xb629('0xa')]('/',auth[_0xb629('0xb')](),controller[_0xb629('0xc')]);router['get'](_0xb629('0xd'),auth[_0xb629('0xb')](),controller[_0xb629('0xe')]);router['get'](_0xb629('0xf'),auth[_0xb629('0xb')](),controller[_0xb629('0x10')]);router[_0xb629('0xa')](_0xb629('0x11'),auth['isAuthenticated'](),controller[_0xb629('0x12')]);router[_0xb629('0xa')](_0xb629('0x13'),auth[_0xb629('0xb')](),controller[_0xb629('0x14')]);router[_0xb629('0x15')]('/',auth[_0xb629('0xb')](),controller[_0xb629('0x16')]);router[_0xb629('0x17')](_0xb629('0xd'),auth[_0xb629('0xb')](),controller[_0xb629('0x18')]);router['delete'](_0xb629('0xd'),auth[_0xb629('0xb')](),controller['destroy']);module[_0xb629('0x19')]=router;