Built motion from commit (unavailable).|2.5.14
[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 _0x90fb=['path','connect-timeout','Router','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','get','show','/:id/preview','isAuthenticated','preview','/:id/run','run','post','put','delete','/:id','exports','multer'];(function(_0x1f2bac,_0x27660a){var _0x284bee=function(_0x3487a5){while(--_0x3487a5){_0x1f2bac['push'](_0x1f2bac['shift']());}};_0x284bee(++_0x27660a);}(_0x90fb,0x142));var _0xb90f=function(_0x3ff085,_0x27c92e){_0x3ff085=_0x3ff085-0x0;var _0x2b68c3=_0x90fb[_0x3ff085];return _0x2b68c3;};'use strict';var multer=require(_0xb90f('0x0'));var util=require('util');var path=require(_0xb90f('0x1'));var timeout=require(_0xb90f('0x2'));var express=require('express');var router=express[_0xb90f('0x3')]();var auth=require(_0xb90f('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xb90f('0x5'));var controller=require(_0xb90f('0x6'));router[_0xb90f('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb90f('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xb90f('0x8')]);router[_0xb90f('0x7')](_0xb90f('0x9'),auth[_0xb90f('0xa')](),controller[_0xb90f('0xb')]);router[_0xb90f('0x7')](_0xb90f('0xc'),auth[_0xb90f('0xa')](),controller[_0xb90f('0xd')]);router['get']('/:id/query',auth['isAuthenticated'](),controller['query']);router[_0xb90f('0xe')]('/',auth[_0xb90f('0xa')](),controller['create']);router[_0xb90f('0xf')]('/:id',auth[_0xb90f('0xa')](),controller['update']);router[_0xb90f('0x10')](_0xb90f('0x11'),auth[_0xb90f('0xa')](),controller['destroy']);module[_0xb90f('0x12')]=router;