5844cb4af28e9b37ebb021ba1fb206b2fe62186f
[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 _0x0bee=['isAuthenticated','/:id','show','/:id/preview','preview','/:id/run','run','query','post','create','update','delete','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0x34ad9c,_0x73ee04){var _0x6e5c86=function(_0x44aa40){while(--_0x44aa40){_0x34ad9c['push'](_0x34ad9c['shift']());}};_0x6e5c86(++_0x73ee04);}(_0x0bee,0x12b));var _0xe0be=function(_0x5aa9d8,_0x2e1c94){_0x5aa9d8=_0x5aa9d8-0x0;var _0x9133f2=_0x0bee[_0x5aa9d8];return _0x9133f2;};'use strict';var multer=require(_0xe0be('0x0'));var util=require('util');var path=require(_0xe0be('0x1'));var timeout=require(_0xe0be('0x2'));var express=require(_0xe0be('0x3'));var router=express[_0xe0be('0x4')]();var auth=require(_0xe0be('0x5'));var interaction=require(_0xe0be('0x6'));var config=require(_0xe0be('0x7'));var controller=require('./analyticCustomReport.controller');router[_0xe0be('0x8')]('/',auth[_0xe0be('0x9')](),controller['index']);router[_0xe0be('0x8')](_0xe0be('0xa'),auth[_0xe0be('0x9')](),controller[_0xe0be('0xb')]);router[_0xe0be('0x8')](_0xe0be('0xc'),auth[_0xe0be('0x9')](),controller[_0xe0be('0xd')]);router[_0xe0be('0x8')](_0xe0be('0xe'),auth[_0xe0be('0x9')](),controller[_0xe0be('0xf')]);router['get']('/:id/query',auth[_0xe0be('0x9')](),controller[_0xe0be('0x10')]);router[_0xe0be('0x11')]('/',auth[_0xe0be('0x9')](),controller[_0xe0be('0x12')]);router['put'](_0xe0be('0xa'),auth[_0xe0be('0x9')](),controller[_0xe0be('0x13')]);router[_0xe0be('0x14')](_0xe0be('0xa'),auth[_0xe0be('0x9')](),controller[_0xe0be('0x15')]);module['exports']=router;