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