Built motion from commit (unavailable).|2.5.30
[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 _0xf63c=['../../components/auth/service','../../components/interaction/service','./analyticDefaultReport.controller','isAuthenticated','index','get','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','put','update','exports','path','Router','fs-extra'];(function(_0xf67b7a,_0x497760){var _0x391012=function(_0x109339){while(--_0x109339){_0xf67b7a['push'](_0xf67b7a['shift']());}};_0x391012(++_0x497760);}(_0xf63c,0x123));var _0xcf63=function(_0x9d5ffe,_0x3a923f){_0x9d5ffe=_0x9d5ffe-0x0;var _0x528ca3=_0xf63c[_0x9d5ffe];return _0x528ca3;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xcf63('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xcf63('0x1')]();var fs_extra=require(_0xcf63('0x2'));var auth=require(_0xcf63('0x3'));var interaction=require(_0xcf63('0x4'));var config=require('../../config/environment');var controller=require(_0xcf63('0x5'));router['get']('/',auth[_0xcf63('0x6')](),controller[_0xcf63('0x7')]);router[_0xcf63('0x8')](_0xcf63('0x9'),auth[_0xcf63('0x6')](),controller[_0xcf63('0xa')]);router[_0xcf63('0x8')](_0xcf63('0xb'),auth[_0xcf63('0x6')](),controller[_0xcf63('0xc')]);router[_0xcf63('0x8')](_0xcf63('0xd'),auth[_0xcf63('0x6')](),controller[_0xcf63('0xe')]);router[_0xcf63('0x8')](_0xcf63('0xf'),auth[_0xcf63('0x6')](),controller[_0xcf63('0x10')]);router[_0xcf63('0x11')]('/',auth[_0xcf63('0x6')](),controller['create']);router[_0xcf63('0x12')](_0xcf63('0x9'),auth[_0xcf63('0x6')](),controller[_0xcf63('0x13')]);router['delete'](_0xcf63('0x9'),auth[_0xcf63('0x6')](),controller['destroy']);module[_0xcf63('0x14')]=router;