608a0a2dafef3ca9d1df94ef2400b6dc3dd5b38b
[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 _0xf3cf=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update','delete','destroy','multer','util'];(function(_0x18ca6f,_0x529afc){var _0x33bfae=function(_0x445cb7){while(--_0x445cb7){_0x18ca6f['push'](_0x18ca6f['shift']());}};_0x33bfae(++_0x529afc);}(_0xf3cf,0x1ca));var _0xff3c=function(_0x212bf5,_0x165cbd){_0x212bf5=_0x212bf5-0x0;var _0xfcad21=_0xf3cf[_0x212bf5];return _0xfcad21;};'use strict';var multer=require(_0xff3c('0x0'));var util=require(_0xff3c('0x1'));var path=require(_0xff3c('0x2'));var timeout=require('connect-timeout');var express=require(_0xff3c('0x3'));var router=express[_0xff3c('0x4')]();var auth=require(_0xff3c('0x5'));var interaction=require(_0xff3c('0x6'));var config=require(_0xff3c('0x7'));var controller=require('./voiceTransferReport.controller');router[_0xff3c('0x8')]('/',auth[_0xff3c('0x9')](),controller[_0xff3c('0xa')]);router[_0xff3c('0x8')](_0xff3c('0xb'),auth[_0xff3c('0x9')](),controller[_0xff3c('0xc')]);router[_0xff3c('0x8')](_0xff3c('0xd'),auth[_0xff3c('0x9')](),controller[_0xff3c('0xe')]);router[_0xff3c('0xf')]('/',auth[_0xff3c('0x9')](),controller[_0xff3c('0x10')]);router['put'](_0xff3c('0xd'),auth['isAuthenticated'](),controller[_0xff3c('0x11')]);router[_0xff3c('0x12')](_0xff3c('0xd'),auth[_0xff3c('0x9')](),controller[_0xff3c('0x13')]);module['exports']=router;