Built motion from commit (unavailable).|2.5.30
[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 _0x1cef=['fs-extra','../../components/auth/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','create','update','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x1e60e2,_0x328dff){var _0x4bd830=function(_0xf23c1e){while(--_0xf23c1e){_0x1e60e2['push'](_0x1e60e2['shift']());}};_0x4bd830(++_0x328dff);}(_0x1cef,0x1b2));var _0xf1ce=function(_0x211087,_0x354fdd){_0x211087=_0x211087-0x0;var _0x2a581f=_0x1cef[_0x211087];return _0x2a581f;};'use strict';var multer=require(_0xf1ce('0x0'));var util=require(_0xf1ce('0x1'));var path=require(_0xf1ce('0x2'));var timeout=require(_0xf1ce('0x3'));var express=require(_0xf1ce('0x4'));var router=express[_0xf1ce('0x5')]();var fs_extra=require(_0xf1ce('0x6'));var auth=require(_0xf1ce('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xf1ce('0x8'));var controller=require(_0xf1ce('0x9'));router[_0xf1ce('0xa')]('/',auth[_0xf1ce('0xb')](),controller[_0xf1ce('0xc')]);router[_0xf1ce('0xa')](_0xf1ce('0xd'),auth[_0xf1ce('0xb')](),controller[_0xf1ce('0xe')]);router[_0xf1ce('0xa')](_0xf1ce('0xf'),auth[_0xf1ce('0xb')](),controller['show']);router['post']('/',auth[_0xf1ce('0xb')](),controller[_0xf1ce('0x10')]);router['put']('/:id',auth[_0xf1ce('0xb')](),controller[_0xf1ce('0x11')]);router['delete'](_0xf1ce('0xf'),auth['isAuthenticated'](),controller[_0xf1ce('0x12')]);module[_0xf1ce('0x13')]=router;