Built motion from commit da24aabd.|2.6.20
[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 _0x55ff=['./analyticCustomReport.controller','isAuthenticated','index','get','/:id','show','/:id/run','/:id/query','query','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x54895a,_0x52eb0f){var _0x209f0a=function(_0x2172ff){while(--_0x2172ff){_0x54895a['push'](_0x54895a['shift']());}};_0x209f0a(++_0x52eb0f);}(_0x55ff,0x196));var _0xf55f=function(_0x3e954f,_0x4e97bd){_0x3e954f=_0x3e954f-0x0;var _0x415de6=_0x55ff[_0x3e954f];return _0x415de6;};'use strict';var multer=require(_0xf55f('0x0'));var util=require(_0xf55f('0x1'));var path=require(_0xf55f('0x2'));var timeout=require(_0xf55f('0x3'));var express=require('express');var router=express[_0xf55f('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xf55f('0x5'));var interaction=require(_0xf55f('0x6'));var config=require(_0xf55f('0x7'));var controller=require(_0xf55f('0x8'));router['get']('/',auth[_0xf55f('0x9')](),controller[_0xf55f('0xa')]);router[_0xf55f('0xb')](_0xf55f('0xc'),auth[_0xf55f('0x9')](),controller[_0xf55f('0xd')]);router[_0xf55f('0xb')]('/:id/preview',auth['isAuthenticated'](),controller['preview']);router[_0xf55f('0xb')](_0xf55f('0xe'),auth['isAuthenticated'](),controller['run']);router[_0xf55f('0xb')](_0xf55f('0xf'),auth['isAuthenticated'](),controller[_0xf55f('0x10')]);router[_0xf55f('0x11')]('/',auth[_0xf55f('0x9')](),controller['create']);router[_0xf55f('0x12')](_0xf55f('0xc'),auth[_0xf55f('0x9')](),controller[_0xf55f('0x13')]);router[_0xf55f('0x14')]('/:id',auth[_0xf55f('0x9')](),controller[_0xf55f('0x15')]);module[_0xf55f('0x16')]=router;