Built motion from commit 9d0783e6.|2.6.13
[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 _0xfaf9=['path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','post','update','destroy','exports','multer','util'];(function(_0x3659e0,_0x364f9a){var _0x21d0ab=function(_0x2efd4f){while(--_0x2efd4f){_0x3659e0['push'](_0x3659e0['shift']());}};_0x21d0ab(++_0x364f9a);}(_0xfaf9,0x166));var _0x9faf=function(_0x3ce3c,_0x319337){_0x3ce3c=_0x3ce3c-0x0;var _0x55a2c9=_0xfaf9[_0x3ce3c];return _0x55a2c9;};'use strict';var multer=require(_0x9faf('0x0'));var util=require(_0x9faf('0x1'));var path=require(_0x9faf('0x2'));var timeout=require(_0x9faf('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x9faf('0x4'));var auth=require(_0x9faf('0x5'));var interaction=require(_0x9faf('0x6'));var config=require(_0x9faf('0x7'));var controller=require('./voiceAgentReport.controller');router[_0x9faf('0x8')]('/',auth[_0x9faf('0x9')](),controller[_0x9faf('0xa')]);router[_0x9faf('0x8')](_0x9faf('0xb'),auth[_0x9faf('0x9')](),controller[_0x9faf('0xc')]);router[_0x9faf('0x8')](_0x9faf('0xd'),auth[_0x9faf('0x9')](),controller['show']);router[_0x9faf('0xe')]('/',auth[_0x9faf('0x9')](),controller['create']);router['put'](_0x9faf('0xd'),auth[_0x9faf('0x9')](),controller[_0x9faf('0xf')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x9faf('0x10')]);module[_0x9faf('0x11')]=router;