b6ee7f61cbb99c855f00ed58ea654510816147a9
[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 _0x6ae6=['connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','update','destroy','multer','path'];(function(_0x509352,_0x217e0b){var _0x5c294e=function(_0x37a934){while(--_0x37a934){_0x509352['push'](_0x509352['shift']());}};_0x5c294e(++_0x217e0b);}(_0x6ae6,0x1d9));var _0x66ae=function(_0x404cde,_0x27b51c){_0x404cde=_0x404cde-0x0;var _0x139882=_0x6ae6[_0x404cde];return _0x139882;};'use strict';var multer=require(_0x66ae('0x0'));var util=require('util');var path=require(_0x66ae('0x1'));var timeout=require(_0x66ae('0x2'));var express=require(_0x66ae('0x3'));var router=express['Router']();var fs_extra=require(_0x66ae('0x4'));var auth=require(_0x66ae('0x5'));var interaction=require(_0x66ae('0x6'));var config=require('../../config/environment');var controller=require(_0x66ae('0x7'));router[_0x66ae('0x8')]('/',auth[_0x66ae('0x9')](),controller[_0x66ae('0xa')]);router[_0x66ae('0x8')](_0x66ae('0xb'),auth['isAuthenticated'](),controller[_0x66ae('0xc')]);router[_0x66ae('0x8')](_0x66ae('0xd'),auth[_0x66ae('0x9')](),controller[_0x66ae('0xe')]);router['post']('/',auth[_0x66ae('0x9')](),controller[_0x66ae('0xf')]);router[_0x66ae('0x10')](_0x66ae('0xd'),auth['isAuthenticated'](),controller[_0x66ae('0x11')]);router['delete'](_0x66ae('0xd'),auth[_0x66ae('0x9')](),controller[_0x66ae('0x12')]);module['exports']=router;