Built motion from commit e0fa946e.|2.6.5
[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 _0xa754=['util','connect-timeout','express','Router','fs-extra','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','destroy','exports','multer'];(function(_0x1a72f3,_0x217011){var _0x57ef47=function(_0x20123d){while(--_0x20123d){_0x1a72f3['push'](_0x1a72f3['shift']());}};_0x57ef47(++_0x217011);}(_0xa754,0x19d));var _0x4a75=function(_0x49136d,_0x3f6127){_0x49136d=_0x49136d-0x0;var _0x40d292=_0xa754[_0x49136d];return _0x40d292;};'use strict';var multer=require(_0x4a75('0x0'));var util=require(_0x4a75('0x1'));var path=require('path');var timeout=require(_0x4a75('0x2'));var express=require(_0x4a75('0x3'));var router=express[_0x4a75('0x4')]();var fs_extra=require(_0x4a75('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4a75('0x6'));var controller=require('./voiceTransferReport.controller');router['get']('/',auth[_0x4a75('0x7')](),controller[_0x4a75('0x8')]);router[_0x4a75('0x9')](_0x4a75('0xa'),auth[_0x4a75('0x7')](),controller[_0x4a75('0xb')]);router[_0x4a75('0x9')](_0x4a75('0xc'),auth['isAuthenticated'](),controller[_0x4a75('0xd')]);router[_0x4a75('0xe')]('/',auth[_0x4a75('0x7')](),controller[_0x4a75('0xf')]);router['put'](_0x4a75('0xc'),auth[_0x4a75('0x7')](),controller['update']);router['delete'](_0x4a75('0xc'),auth[_0x4a75('0x7')](),controller[_0x4a75('0x10')]);module[_0x4a75('0x11')]=router;