Built motion from commit f7863d46.|2.5.41
[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 _0x39ac=['get','/:id','show','post','put','update','delete','destroy','exports','util','express','Router','../../components/auth/service','../../components/interaction/service','./voiceTransferReport.controller','isAuthenticated','index'];(function(_0x11deef,_0x34bbdb){var _0xe9ba85=function(_0x591377){while(--_0x591377){_0x11deef['push'](_0x11deef['shift']());}};_0xe9ba85(++_0x34bbdb);}(_0x39ac,0x1d4));var _0xc39a=function(_0x30ead6,_0x481412){_0x30ead6=_0x30ead6-0x0;var _0x7fc5aa=_0x39ac[_0x30ead6];return _0x7fc5aa;};'use strict';var multer=require('multer');var util=require(_0xc39a('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc39a('0x1'));var router=express[_0xc39a('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xc39a('0x3'));var interaction=require(_0xc39a('0x4'));var config=require('../../config/environment');var controller=require(_0xc39a('0x5'));router['get']('/',auth[_0xc39a('0x6')](),controller[_0xc39a('0x7')]);router[_0xc39a('0x8')]('/describe',auth[_0xc39a('0x6')](),controller['describe']);router[_0xc39a('0x8')](_0xc39a('0x9'),auth[_0xc39a('0x6')](),controller[_0xc39a('0xa')]);router[_0xc39a('0xb')]('/',auth[_0xc39a('0x6')](),controller['create']);router[_0xc39a('0xc')](_0xc39a('0x9'),auth[_0xc39a('0x6')](),controller[_0xc39a('0xd')]);router[_0xc39a('0xe')]('/:id',auth[_0xc39a('0x6')](),controller[_0xc39a('0xf')]);module[_0xc39a('0x10')]=router;