Built motion from commit 775e2a94.|2.6.3
[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 _0x9387=['../../config/environment','./voiceTransferReport.controller','index','/describe','isAuthenticated','get','/:id','show','post','create','put','delete','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x9387,0xa5));var _0x7938=function(_0x190588,_0x1b9868){_0x190588=_0x190588-0x0;var _0xa7d7b8=_0x9387[_0x190588];return _0xa7d7b8;};'use strict';var multer=require(_0x7938('0x0'));var util=require('util');var path=require(_0x7938('0x1'));var timeout=require('connect-timeout');var express=require(_0x7938('0x2'));var router=express[_0x7938('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x7938('0x4'));var interaction=require(_0x7938('0x5'));var config=require(_0x7938('0x6'));var controller=require(_0x7938('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x7938('0x8')]);router['get'](_0x7938('0x9'),auth[_0x7938('0xa')](),controller['describe']);router[_0x7938('0xb')](_0x7938('0xc'),auth[_0x7938('0xa')](),controller[_0x7938('0xd')]);router[_0x7938('0xe')]('/',auth[_0x7938('0xa')](),controller[_0x7938('0xf')]);router[_0x7938('0x10')](_0x7938('0xc'),auth[_0x7938('0xa')](),controller['update']);router[_0x7938('0x11')](_0x7938('0xc'),auth[_0x7938('0xa')](),controller['destroy']);module[_0x7938('0x12')]=router;