Built motion from commit d5e4af8c.|2.6.23
[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 _0xb5d7=['./voiceTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x2094e5,_0x236265){var _0x21af38=function(_0x5a3751){while(--_0x5a3751){_0x2094e5['push'](_0x2094e5['shift']());}};_0x21af38(++_0x236265);}(_0xb5d7,0xcb));var _0x7b5d=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0xb5d7[_0xbca1b1];return _0x4e1686;};'use strict';var multer=require(_0x7b5d('0x0'));var util=require(_0x7b5d('0x1'));var path=require('path');var timeout=require(_0x7b5d('0x2'));var express=require(_0x7b5d('0x3'));var router=express[_0x7b5d('0x4')]();var fs_extra=require(_0x7b5d('0x5'));var auth=require(_0x7b5d('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7b5d('0x7'));router[_0x7b5d('0x8')]('/',auth[_0x7b5d('0x9')](),controller[_0x7b5d('0xa')]);router[_0x7b5d('0x8')](_0x7b5d('0xb'),auth[_0x7b5d('0x9')](),controller[_0x7b5d('0xc')]);router[_0x7b5d('0x8')](_0x7b5d('0xd'),auth['isAuthenticated'](),controller[_0x7b5d('0xe')]);router[_0x7b5d('0xf')]('/',auth[_0x7b5d('0x9')](),controller[_0x7b5d('0x10')]);router[_0x7b5d('0x11')](_0x7b5d('0xd'),auth[_0x7b5d('0x9')](),controller[_0x7b5d('0x12')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x7b5d('0x13')]);module[_0x7b5d('0x14')]=router;