Built motion from commit eddce310.|2.6.12
[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 _0xa2ef=['../../config/environment','./analyticDefaultReport.controller','isAuthenticated','index','/:id','get','/:id/preview','preview','/:id/run','run','/:id/query','post','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service'];(function(_0x2332af,_0x18426d){var _0x368455=function(_0x30c66a){while(--_0x30c66a){_0x2332af['push'](_0x2332af['shift']());}};_0x368455(++_0x18426d);}(_0xa2ef,0x119));var _0xfa2e=function(_0x5a727d,_0x1b4ff6){_0x5a727d=_0x5a727d-0x0;var _0x3d870b=_0xa2ef[_0x5a727d];return _0x3d870b;};'use strict';var multer=require(_0xfa2e('0x0'));var util=require(_0xfa2e('0x1'));var path=require(_0xfa2e('0x2'));var timeout=require(_0xfa2e('0x3'));var express=require(_0xfa2e('0x4'));var router=express['Router']();var fs_extra=require(_0xfa2e('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xfa2e('0x6'));var config=require(_0xfa2e('0x7'));var controller=require(_0xfa2e('0x8'));router['get']('/',auth[_0xfa2e('0x9')](),controller[_0xfa2e('0xa')]);router['get'](_0xfa2e('0xb'),auth[_0xfa2e('0x9')](),controller['show']);router[_0xfa2e('0xc')](_0xfa2e('0xd'),auth['isAuthenticated'](),controller[_0xfa2e('0xe')]);router[_0xfa2e('0xc')](_0xfa2e('0xf'),auth[_0xfa2e('0x9')](),controller[_0xfa2e('0x10')]);router['get'](_0xfa2e('0x11'),auth[_0xfa2e('0x9')](),controller['query']);router[_0xfa2e('0x12')]('/',auth[_0xfa2e('0x9')](),controller[_0xfa2e('0x13')]);router[_0xfa2e('0x14')](_0xfa2e('0xb'),auth[_0xfa2e('0x9')](),controller[_0xfa2e('0x15')]);router['delete'](_0xfa2e('0xb'),auth[_0xfa2e('0x9')](),controller[_0xfa2e('0x16')]);module[_0xfa2e('0x17')]=router;