Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / analyticCustomReport / 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 _0xdc93=['Router','fs-extra','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','get','index','/:id','show','/:id/preview','isAuthenticated','/:id/run','query','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x4f77b6,_0x35bd37){var _0x513247=function(_0x329982){while(--_0x329982){_0x4f77b6['push'](_0x4f77b6['shift']());}};_0x513247(++_0x35bd37);}(_0xdc93,0xc3));var _0x3dc9=function(_0x374ada,_0x27b3a5){_0x374ada=_0x374ada-0x0;var _0x449ed8=_0xdc93[_0x374ada];return _0x449ed8;};'use strict';var multer=require(_0x3dc9('0x0'));var util=require(_0x3dc9('0x1'));var path=require(_0x3dc9('0x2'));var timeout=require(_0x3dc9('0x3'));var express=require(_0x3dc9('0x4'));var router=express[_0x3dc9('0x5')]();var fs_extra=require(_0x3dc9('0x6'));var auth=require(_0x3dc9('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x3dc9('0x8'));var controller=require(_0x3dc9('0x9'));router[_0x3dc9('0xa')]('/',auth['isAuthenticated'](),controller[_0x3dc9('0xb')]);router['get'](_0x3dc9('0xc'),auth['isAuthenticated'](),controller[_0x3dc9('0xd')]);router[_0x3dc9('0xa')](_0x3dc9('0xe'),auth[_0x3dc9('0xf')](),controller['preview']);router['get'](_0x3dc9('0x10'),auth[_0x3dc9('0xf')](),controller['run']);router[_0x3dc9('0xa')]('/:id/query',auth[_0x3dc9('0xf')](),controller[_0x3dc9('0x11')]);router[_0x3dc9('0x12')]('/',auth[_0x3dc9('0xf')](),controller[_0x3dc9('0x13')]);router[_0x3dc9('0x14')]('/:id',auth[_0x3dc9('0xf')](),controller[_0x3dc9('0x15')]);router[_0x3dc9('0x16')](_0x3dc9('0xc'),auth[_0x3dc9('0xf')](),controller[_0x3dc9('0x17')]);module[_0x3dc9('0x18')]=router;