Built motion from commit (unavailable).|2.5.26
[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 _0xa909=['isAuthenticated','index','show','get','/:id/preview','preview','run','query','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller'];(function(_0x4d525c,_0x277dac){var _0x3f0655=function(_0x5e8102){while(--_0x5e8102){_0x4d525c['push'](_0x4d525c['shift']());}};_0x3f0655(++_0x277dac);}(_0xa909,0x186));var _0x9a90=function(_0x50b334,_0xea3188){_0x50b334=_0x50b334-0x0;var _0x30ce47=_0xa909[_0x50b334];return _0x30ce47;};'use strict';var multer=require('multer');var util=require(_0x9a90('0x0'));var path=require(_0x9a90('0x1'));var timeout=require(_0x9a90('0x2'));var express=require(_0x9a90('0x3'));var router=express[_0x9a90('0x4')]();var fs_extra=require(_0x9a90('0x5'));var auth=require(_0x9a90('0x6'));var interaction=require(_0x9a90('0x7'));var config=require(_0x9a90('0x8'));var controller=require(_0x9a90('0x9'));router['get']('/',auth[_0x9a90('0xa')](),controller[_0x9a90('0xb')]);router['get']('/:id',auth[_0x9a90('0xa')](),controller[_0x9a90('0xc')]);router[_0x9a90('0xd')](_0x9a90('0xe'),auth['isAuthenticated'](),controller[_0x9a90('0xf')]);router['get']('/:id/run',auth[_0x9a90('0xa')](),controller[_0x9a90('0x10')]);router['get']('/:id/query',auth[_0x9a90('0xa')](),controller[_0x9a90('0x11')]);router[_0x9a90('0x12')]('/',auth['isAuthenticated'](),controller[_0x9a90('0x13')]);router[_0x9a90('0x14')]('/:id',auth['isAuthenticated'](),controller[_0x9a90('0x15')]);router[_0x9a90('0x16')]('/:id',auth[_0x9a90('0xa')](),controller[_0x9a90('0x17')]);module[_0x9a90('0x18')]=router;