Built motion from commit ab870f9e.|2.5.44
[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 _0xd7a1=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports','path','connect-timeout','express','fs-extra'];(function(_0x3e079f,_0x189e15){var _0x296a34=function(_0xa31a0a){while(--_0xa31a0a){_0x3e079f['push'](_0x3e079f['shift']());}};_0x296a34(++_0x189e15);}(_0xd7a1,0x161));var _0x1d7a=function(_0x2cb11a,_0x27f77a){_0x2cb11a=_0x2cb11a-0x0;var _0xe67271=_0xd7a1[_0x2cb11a];return _0xe67271;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1d7a('0x0'));var timeout=require(_0x1d7a('0x1'));var express=require(_0x1d7a('0x2'));var router=express['Router']();var fs_extra=require(_0x1d7a('0x3'));var auth=require(_0x1d7a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x1d7a('0x5'));var controller=require('./voiceTransferReport.controller');router[_0x1d7a('0x6')]('/',auth[_0x1d7a('0x7')](),controller[_0x1d7a('0x8')]);router[_0x1d7a('0x6')]('/describe',auth[_0x1d7a('0x7')](),controller['describe']);router['get'](_0x1d7a('0x9'),auth[_0x1d7a('0x7')](),controller[_0x1d7a('0xa')]);router['post']('/',auth[_0x1d7a('0x7')](),controller[_0x1d7a('0xb')]);router[_0x1d7a('0xc')](_0x1d7a('0x9'),auth[_0x1d7a('0x7')](),controller[_0x1d7a('0xd')]);router[_0x1d7a('0xe')](_0x1d7a('0x9'),auth['isAuthenticated'](),controller[_0x1d7a('0xf')]);module[_0x1d7a('0x10')]=router;