Built motion from commit (unavailable).|2.4.17
[motion2.git] / server / api / voiceAgentReport / 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 _0x1933=['delete','destroy','exports','util','path','Router','../../components/auth/service','isAuthenticated','get','/describe','describe','/:id','show','post','create','put','update'];(function(_0x2dc34d,_0xd3db36){var _0xea802=function(_0x2128ff){while(--_0x2128ff){_0x2dc34d['push'](_0x2dc34d['shift']());}};_0xea802(++_0xd3db36);}(_0x1933,0x124));var _0x3193=function(_0x1cae60,_0xdc95d9){_0x1cae60=_0x1cae60-0x0;var _0x523af0=_0x1933[_0x1cae60];return _0x523af0;};'use strict';var multer=require('multer');var util=require(_0x3193('0x0'));var path=require(_0x3193('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x3193('0x2')]();var auth=require(_0x3193('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./voiceAgentReport.controller');router['get']('/',auth[_0x3193('0x4')](),controller['index']);router[_0x3193('0x5')](_0x3193('0x6'),auth[_0x3193('0x4')](),controller[_0x3193('0x7')]);router[_0x3193('0x5')](_0x3193('0x8'),auth[_0x3193('0x4')](),controller[_0x3193('0x9')]);router[_0x3193('0xa')]('/',auth[_0x3193('0x4')](),controller[_0x3193('0xb')]);router[_0x3193('0xc')](_0x3193('0x8'),auth[_0x3193('0x4')](),controller[_0x3193('0xd')]);router[_0x3193('0xe')](_0x3193('0x8'),auth['isAuthenticated'](),controller[_0x3193('0xf')]);module[_0x3193('0x10')]=router;