Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / voiceAgentReport / 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 _0x8a91=['../../components/auth/service','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra'];(function(_0x47529f,_0x6c7061){var _0x4505a9=function(_0x463eea){while(--_0x463eea){_0x47529f['push'](_0x47529f['shift']());}};_0x4505a9(++_0x6c7061);}(_0x8a91,0xb7));var _0x18a9=function(_0x251f37,_0x10e309){_0x251f37=_0x251f37-0x0;var _0x33e26f=_0x8a91[_0x251f37];return _0x33e26f;};'use strict';var multer=require(_0x18a9('0x0'));var util=require(_0x18a9('0x1'));var path=require(_0x18a9('0x2'));var timeout=require(_0x18a9('0x3'));var express=require(_0x18a9('0x4'));var router=express['Router']();var fs_extra=require(_0x18a9('0x5'));var auth=require(_0x18a9('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x18a9('0x7'));router[_0x18a9('0x8')]('/',auth[_0x18a9('0x9')](),controller[_0x18a9('0xa')]);router['get'](_0x18a9('0xb'),auth['isAuthenticated'](),controller[_0x18a9('0xc')]);router['get']('/:id',auth[_0x18a9('0x9')](),controller[_0x18a9('0xd')]);router[_0x18a9('0xe')]('/',auth[_0x18a9('0x9')](),controller[_0x18a9('0xf')]);router[_0x18a9('0x10')](_0x18a9('0x11'),auth['isAuthenticated'](),controller['update']);router[_0x18a9('0x12')]('/:id',auth[_0x18a9('0x9')](),controller[_0x18a9('0x13')]);module[_0x18a9('0x14')]=router;