5b564a2a1a3b010f82b37bd5b590c5e9701aed8e
[motion2.git] / server / api / voiceTransferReport / 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 _0xacf4=['/:id','show','post','put','update','delete','destroy','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x259b6e,_0x5e82e0){var _0x45af42=function(_0x50a296){while(--_0x50a296){_0x259b6e['push'](_0x259b6e['shift']());}};_0x45af42(++_0x5e82e0);}(_0xacf4,0xe7));var _0x4acf=function(_0x4a7a78,_0x526326){_0x4a7a78=_0x4a7a78-0x0;var _0x41f2fd=_0xacf4[_0x4a7a78];return _0x41f2fd;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4acf('0x0'));var timeout=require(_0x4acf('0x1'));var express=require(_0x4acf('0x2'));var router=express[_0x4acf('0x3')]();var auth=require(_0x4acf('0x4'));var interaction=require(_0x4acf('0x5'));var config=require(_0x4acf('0x6'));var controller=require('./voiceTransferReport.controller');router[_0x4acf('0x7')]('/',auth[_0x4acf('0x8')](),controller['index']);router[_0x4acf('0x7')](_0x4acf('0x9'),auth[_0x4acf('0x8')](),controller[_0x4acf('0xa')]);router[_0x4acf('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0x4acf('0xc')]('/:id',auth[_0x4acf('0x8')](),controller[_0x4acf('0xd')]);router[_0x4acf('0xe')]('/:id',auth[_0x4acf('0x8')](),controller[_0x4acf('0xf')]);module['exports']=router;