Built motion from commit 753c950e.|2.5.42
[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 _0xa687=['multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceTransferReport.controller','isAuthenticated','index','get','/describe','describe','show','post','/:id','update','delete','destroy','exports'];(function(_0xa92c5f,_0x295709){var _0x32b44e=function(_0x13c5c8){while(--_0x13c5c8){_0xa92c5f['push'](_0xa92c5f['shift']());}};_0x32b44e(++_0x295709);}(_0xa687,0x1b9));var _0x7a68=function(_0x4bad6c,_0x29ec89){_0x4bad6c=_0x4bad6c-0x0;var _0x46ac3b=_0xa687[_0x4bad6c];return _0x46ac3b;};'use strict';var multer=require(_0x7a68('0x0'));var util=require(_0x7a68('0x1'));var path=require('path');var timeout=require(_0x7a68('0x2'));var express=require(_0x7a68('0x3'));var router=express[_0x7a68('0x4')]();var fs_extra=require(_0x7a68('0x5'));var auth=require(_0x7a68('0x6'));var interaction=require(_0x7a68('0x7'));var config=require('../../config/environment');var controller=require(_0x7a68('0x8'));router['get']('/',auth[_0x7a68('0x9')](),controller[_0x7a68('0xa')]);router[_0x7a68('0xb')](_0x7a68('0xc'),auth[_0x7a68('0x9')](),controller[_0x7a68('0xd')]);router[_0x7a68('0xb')]('/:id',auth[_0x7a68('0x9')](),controller[_0x7a68('0xe')]);router[_0x7a68('0xf')]('/',auth[_0x7a68('0x9')](),controller['create']);router['put'](_0x7a68('0x10'),auth[_0x7a68('0x9')](),controller[_0x7a68('0x11')]);router[_0x7a68('0x12')](_0x7a68('0x10'),auth[_0x7a68('0x9')](),controller[_0x7a68('0x13')]);module[_0x7a68('0x14')]=router;