15575263aa93009b012418a6082926cfd751a607
[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 _0x478e=['put','update','delete','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./voiceTransferReport.controller','get','/describe','isAuthenticated','describe','/:id','show','post','create'];(function(_0x43811a,_0x34acff){var _0x6f328=function(_0x35f17f){while(--_0x35f17f){_0x43811a['push'](_0x43811a['shift']());}};_0x6f328(++_0x34acff);}(_0x478e,0x18f));var _0xe478=function(_0x114ff6,_0x19e80d){_0x114ff6=_0x114ff6-0x0;var _0x4d3a58=_0x478e[_0x114ff6];return _0x4d3a58;};'use strict';var multer=require('multer');var util=require(_0xe478('0x0'));var path=require(_0xe478('0x1'));var timeout=require('connect-timeout');var express=require(_0xe478('0x2'));var router=express[_0xe478('0x3')]();var auth=require(_0xe478('0x4'));var interaction=require(_0xe478('0x5'));var config=require('../../config/environment');var controller=require(_0xe478('0x6'));router[_0xe478('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xe478('0x8'),auth[_0xe478('0x9')](),controller[_0xe478('0xa')]);router[_0xe478('0x7')](_0xe478('0xb'),auth[_0xe478('0x9')](),controller[_0xe478('0xc')]);router[_0xe478('0xd')]('/',auth[_0xe478('0x9')](),controller[_0xe478('0xe')]);router[_0xe478('0xf')](_0xe478('0xb'),auth[_0xe478('0x9')](),controller[_0xe478('0x10')]);router[_0xe478('0x11')](_0xe478('0xb'),auth[_0xe478('0x9')](),controller['destroy']);module['exports']=router;