Built motion from commit b5996064.|2.6.21
[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 _0xbfc9=['connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','isAuthenticated','/:id','show','post','create','update','delete','destroy','exports','multer','util','path'];(function(_0x2f5ac5,_0x1ee939){var _0x37c9a8=function(_0x15031f){while(--_0x15031f){_0x2f5ac5['push'](_0x2f5ac5['shift']());}};_0x37c9a8(++_0x1ee939);}(_0xbfc9,0xed));var _0x9bfc=function(_0x59ed35,_0x483823){_0x59ed35=_0x59ed35-0x0;var _0x1b92aa=_0xbfc9[_0x59ed35];return _0x1b92aa;};'use strict';var multer=require(_0x9bfc('0x0'));var util=require(_0x9bfc('0x1'));var path=require(_0x9bfc('0x2'));var timeout=require(_0x9bfc('0x3'));var express=require(_0x9bfc('0x4'));var router=express['Router']();var fs_extra=require(_0x9bfc('0x5'));var auth=require(_0x9bfc('0x6'));var interaction=require(_0x9bfc('0x7'));var config=require(_0x9bfc('0x8'));var controller=require('./voiceTransferReport.controller');router[_0x9bfc('0x9')]('/',auth['isAuthenticated'](),controller[_0x9bfc('0xa')]);router[_0x9bfc('0x9')]('/describe',auth[_0x9bfc('0xb')](),controller['describe']);router[_0x9bfc('0x9')](_0x9bfc('0xc'),auth[_0x9bfc('0xb')](),controller[_0x9bfc('0xd')]);router[_0x9bfc('0xe')]('/',auth[_0x9bfc('0xb')](),controller[_0x9bfc('0xf')]);router['put'](_0x9bfc('0xc'),auth['isAuthenticated'](),controller[_0x9bfc('0x10')]);router[_0x9bfc('0x11')]('/:id',auth[_0x9bfc('0xb')](),controller[_0x9bfc('0x12')]);module[_0x9bfc('0x13')]=router;