Built motion from commit (unavailable).|2.4.2
[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 _0x86b5=['../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','index','/:id','show','post','create','update','destroy','exports','multer','path','connect-timeout','express'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x86b5,0x1e9));var _0x586b=function(_0x5db313,_0x3c8f0c){_0x5db313=_0x5db313-0x0;var _0x36d503=_0x86b5[_0x5db313];return _0x36d503;};'use strict';var multer=require(_0x586b('0x0'));var util=require('util');var path=require(_0x586b('0x1'));var timeout=require(_0x586b('0x2'));var express=require(_0x586b('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x586b('0x4'));var config=require(_0x586b('0x5'));var controller=require(_0x586b('0x6'));router[_0x586b('0x7')]('/',auth[_0x586b('0x8')](),controller[_0x586b('0x9')]);router[_0x586b('0x7')](_0x586b('0xa'),auth['isAuthenticated'](),controller[_0x586b('0xb')]);router[_0x586b('0xc')]('/',auth[_0x586b('0x8')](),controller[_0x586b('0xd')]);router['put'](_0x586b('0xa'),auth[_0x586b('0x8')](),controller[_0x586b('0xe')]);router['delete'](_0x586b('0xa'),auth[_0x586b('0x8')](),controller[_0x586b('0xf')]);module[_0x586b('0x10')]=router;