ef115526eb0ef8ff568b620c82f15340af6a9489
[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 _0xaa58=['path','express','Router','../../components/auth/service','../../components/interaction/service','./voiceAgentReport.controller','isAuthenticated','index','get','/describe','describe','/:id','update','delete','destroy','exports','multer','util'];(function(_0x26f03d,_0x4866c2){var _0x42dc9f=function(_0x110528){while(--_0x110528){_0x26f03d['push'](_0x26f03d['shift']());}};_0x42dc9f(++_0x4866c2);}(_0xaa58,0x19c));var _0x8aa5=function(_0x4860ad,_0x3caad6){_0x4860ad=_0x4860ad-0x0;var _0x1c5fa0=_0xaa58[_0x4860ad];return _0x1c5fa0;};'use strict';var multer=require(_0x8aa5('0x0'));var util=require(_0x8aa5('0x1'));var path=require(_0x8aa5('0x2'));var timeout=require('connect-timeout');var express=require(_0x8aa5('0x3'));var router=express[_0x8aa5('0x4')]();var auth=require(_0x8aa5('0x5'));var interaction=require(_0x8aa5('0x6'));var config=require('../../config/environment');var controller=require(_0x8aa5('0x7'));router['get']('/',auth[_0x8aa5('0x8')](),controller[_0x8aa5('0x9')]);router[_0x8aa5('0xa')](_0x8aa5('0xb'),auth[_0x8aa5('0x8')](),controller[_0x8aa5('0xc')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x8aa5('0xd'),auth['isAuthenticated'](),controller[_0x8aa5('0xe')]);router[_0x8aa5('0xf')](_0x8aa5('0xd'),auth['isAuthenticated'](),controller[_0x8aa5('0x10')]);module[_0x8aa5('0x11')]=router;