Built motion from commit 06eb8eb0.|2.6.31
[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 _0xf717=['describe','show','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index','/describe'];(function(_0x34473f,_0x2b9c5c){var _0x25cf6f=function(_0x4214a2){while(--_0x4214a2){_0x34473f['push'](_0x34473f['shift']());}};_0x25cf6f(++_0x2b9c5c);}(_0xf717,0x65));var _0x7f71=function(_0xec84e,_0x3a4944){_0xec84e=_0xec84e-0x0;var _0x21b7f9=_0xf717[_0xec84e];return _0x21b7f9;};'use strict';var multer=require(_0x7f71('0x0'));var util=require(_0x7f71('0x1'));var path=require(_0x7f71('0x2'));var timeout=require(_0x7f71('0x3'));var express=require('express');var router=express[_0x7f71('0x4')]();var fs_extra=require(_0x7f71('0x5'));var auth=require(_0x7f71('0x6'));var interaction=require(_0x7f71('0x7'));var config=require(_0x7f71('0x8'));var controller=require(_0x7f71('0x9'));router[_0x7f71('0xa')]('/',auth[_0x7f71('0xb')](),controller[_0x7f71('0xc')]);router[_0x7f71('0xa')](_0x7f71('0xd'),auth[_0x7f71('0xb')](),controller[_0x7f71('0xe')]);router['get']('/:id',auth[_0x7f71('0xb')](),controller[_0x7f71('0xf')]);router['post']('/',auth[_0x7f71('0xb')](),controller[_0x7f71('0x10')]);router[_0x7f71('0x11')](_0x7f71('0x12'),auth[_0x7f71('0xb')](),controller[_0x7f71('0x13')]);router[_0x7f71('0x14')](_0x7f71('0x12'),auth['isAuthenticated'](),controller[_0x7f71('0x15')]);module[_0x7f71('0x16')]=router;