Built motion from commit b0a9a629.|2.6.33
[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 _0x1e89=['../../components/auth/service','../../config/environment','./analyticDefaultReport.controller','get','index','/:id','show','/:id/preview','/:id/run','isAuthenticated','run','query','post','create','put','update','exports','multer','util','connect-timeout','express','Router'];(function(_0x565f80,_0x4b0eb4){var _0x331c76=function(_0x31df82){while(--_0x31df82){_0x565f80['push'](_0x565f80['shift']());}};_0x331c76(++_0x4b0eb4);}(_0x1e89,0x119));var _0x91e8=function(_0x422ba7,_0x3efc0c){_0x422ba7=_0x422ba7-0x0;var _0x3008f5=_0x1e89[_0x422ba7];return _0x3008f5;};'use strict';var multer=require(_0x91e8('0x0'));var util=require(_0x91e8('0x1'));var path=require('path');var timeout=require(_0x91e8('0x2'));var express=require(_0x91e8('0x3'));var router=express[_0x91e8('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x91e8('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x91e8('0x6'));var controller=require(_0x91e8('0x7'));router[_0x91e8('0x8')]('/',auth['isAuthenticated'](),controller[_0x91e8('0x9')]);router[_0x91e8('0x8')](_0x91e8('0xa'),auth['isAuthenticated'](),controller[_0x91e8('0xb')]);router[_0x91e8('0x8')](_0x91e8('0xc'),auth['isAuthenticated'](),controller['preview']);router['get'](_0x91e8('0xd'),auth[_0x91e8('0xe')](),controller[_0x91e8('0xf')]);router[_0x91e8('0x8')]('/:id/query',auth[_0x91e8('0xe')](),controller[_0x91e8('0x10')]);router[_0x91e8('0x11')]('/',auth['isAuthenticated'](),controller[_0x91e8('0x12')]);router[_0x91e8('0x13')](_0x91e8('0xa'),auth[_0x91e8('0xe')](),controller[_0x91e8('0x14')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x91e8('0x15')]=router;