Built motion from commit f7863d46.|2.5.41
[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 _0x56f0=['index','/:id','/:id/preview','preview','/:id/run','run','query','post','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated'];(function(_0x398739,_0x19858f){var _0x37f8d9=function(_0x1ab128){while(--_0x1ab128){_0x398739['push'](_0x398739['shift']());}};_0x37f8d9(++_0x19858f);}(_0x56f0,0x145));var _0x056f=function(_0x182648,_0x2a7b01){_0x182648=_0x182648-0x0;var _0x10d106=_0x56f0[_0x182648];return _0x10d106;};'use strict';var multer=require(_0x056f('0x0'));var util=require(_0x056f('0x1'));var path=require('path');var timeout=require(_0x056f('0x2'));var express=require(_0x056f('0x3'));var router=express[_0x056f('0x4')]();var fs_extra=require(_0x056f('0x5'));var auth=require(_0x056f('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x056f('0x7'));var controller=require(_0x056f('0x8'));router[_0x056f('0x9')]('/',auth[_0x056f('0xa')](),controller[_0x056f('0xb')]);router[_0x056f('0x9')](_0x056f('0xc'),auth[_0x056f('0xa')](),controller['show']);router[_0x056f('0x9')](_0x056f('0xd'),auth[_0x056f('0xa')](),controller[_0x056f('0xe')]);router[_0x056f('0x9')](_0x056f('0xf'),auth[_0x056f('0xa')](),controller[_0x056f('0x10')]);router[_0x056f('0x9')]('/:id/query',auth[_0x056f('0xa')](),controller[_0x056f('0x11')]);router[_0x056f('0x12')]('/',auth[_0x056f('0xa')](),controller[_0x056f('0x13')]);router[_0x056f('0x14')](_0x056f('0xc'),auth['isAuthenticated'](),controller[_0x056f('0x15')]);router['delete']('/:id',auth[_0x056f('0xa')](),controller[_0x056f('0x16')]);module[_0x056f('0x17')]=router;