Built motion from commit (unavailable).|2.5.22
[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 _0xa84a=['/:id/run','/:id/query','create','put','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/interaction/service','./analyticDefaultReport.controller','get','isAuthenticated','/:id','show','/:id/preview','preview'];(function(_0x433149,_0x3172e3){var _0x273bbe=function(_0x10ad38){while(--_0x10ad38){_0x433149['push'](_0x433149['shift']());}};_0x273bbe(++_0x3172e3);}(_0xa84a,0x80));var _0xaa84=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0xa84a[_0x138adb];return _0x1b27f2;};'use strict';var multer=require(_0xaa84('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xaa84('0x1'));var express=require(_0xaa84('0x2'));var router=express[_0xaa84('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xaa84('0x4'));var config=require('../../config/environment');var controller=require(_0xaa84('0x5'));router[_0xaa84('0x6')]('/',auth[_0xaa84('0x7')](),controller['index']);router['get'](_0xaa84('0x8'),auth['isAuthenticated'](),controller[_0xaa84('0x9')]);router[_0xaa84('0x6')](_0xaa84('0xa'),auth[_0xaa84('0x7')](),controller[_0xaa84('0xb')]);router[_0xaa84('0x6')](_0xaa84('0xc'),auth['isAuthenticated'](),controller['run']);router['get'](_0xaa84('0xd'),auth[_0xaa84('0x7')](),controller['query']);router['post']('/',auth[_0xaa84('0x7')](),controller[_0xaa84('0xe')]);router[_0xaa84('0xf')](_0xaa84('0x8'),auth[_0xaa84('0x7')](),controller[_0xaa84('0x10')]);router[_0xaa84('0x11')](_0xaa84('0x8'),auth[_0xaa84('0x7')](),controller[_0xaa84('0x12')]);module[_0xaa84('0x13')]=router;