Built motion from commit b0a9a629.|2.6.33
[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 _0x2de5=['show','post','put','update','/:id','destroy','exports','multer','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/describe','describe','isAuthenticated'];(function(_0x28caf8,_0x3c8e61){var _0x58b214=function(_0x33cb75){while(--_0x33cb75){_0x28caf8['push'](_0x28caf8['shift']());}};_0x58b214(++_0x3c8e61);}(_0x2de5,0x103));var _0x52de=function(_0x29f80e,_0x9027ff){_0x29f80e=_0x29f80e-0x0;var _0x5c7eaa=_0x2de5[_0x29f80e];return _0x5c7eaa;};'use strict';var multer=require(_0x52de('0x0'));var util=require('util');var path=require(_0x52de('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x52de('0x2')]();var fs_extra=require(_0x52de('0x3'));var auth=require(_0x52de('0x4'));var interaction=require(_0x52de('0x5'));var config=require(_0x52de('0x6'));var controller=require('./voiceTransferReport.controller');router[_0x52de('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x52de('0x7')](_0x52de('0x8'),auth['isAuthenticated'](),controller[_0x52de('0x9')]);router[_0x52de('0x7')]('/:id',auth[_0x52de('0xa')](),controller[_0x52de('0xb')]);router[_0x52de('0xc')]('/',auth[_0x52de('0xa')](),controller['create']);router[_0x52de('0xd')]('/:id',auth[_0x52de('0xa')](),controller[_0x52de('0xe')]);router['delete'](_0x52de('0xf'),auth[_0x52de('0xa')](),controller[_0x52de('0x10')]);module[_0x52de('0x11')]=router;