Built motion from commit da617fac.|2.6.6
[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 _0x9549=['delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','describe','post','create','put','/:id','update'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9549,0x87));var _0x9954=function(_0x3336b5,_0x1889fc){_0x3336b5=_0x3336b5-0x0;var _0x4a86cd=_0x9549[_0x3336b5];return _0x4a86cd;};'use strict';var multer=require(_0x9954('0x0'));var util=require(_0x9954('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x9954('0x2'));var router=express[_0x9954('0x3')]();var fs_extra=require(_0x9954('0x4'));var auth=require(_0x9954('0x5'));var interaction=require(_0x9954('0x6'));var config=require(_0x9954('0x7'));var controller=require(_0x9954('0x8'));router[_0x9954('0x9')]('/',auth[_0x9954('0xa')](),controller[_0x9954('0xb')]);router[_0x9954('0x9')](_0x9954('0xc'),auth[_0x9954('0xa')](),controller[_0x9954('0xd')]);router['get']('/:id',auth[_0x9954('0xa')](),controller['show']);router[_0x9954('0xe')]('/',auth[_0x9954('0xa')](),controller[_0x9954('0xf')]);router[_0x9954('0x10')](_0x9954('0x11'),auth[_0x9954('0xa')](),controller[_0x9954('0x12')]);router[_0x9954('0x13')](_0x9954('0x11'),auth[_0x9954('0xa')](),controller[_0x9954('0x14')]);module[_0x9954('0x15')]=router;