Built motion from commit da24aabd.|2.6.20
[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 _0x7df3=['Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','multer','util','path','connect-timeout','express'];(function(_0x2c7377,_0x32ade5){var _0x35e181=function(_0x1be1e6){while(--_0x1be1e6){_0x2c7377['push'](_0x2c7377['shift']());}};_0x35e181(++_0x32ade5);}(_0x7df3,0x160));var _0x37df=function(_0x126558,_0x143c9a){_0x126558=_0x126558-0x0;var _0x1f6d14=_0x7df3[_0x126558];return _0x1f6d14;};'use strict';var multer=require(_0x37df('0x0'));var util=require(_0x37df('0x1'));var path=require(_0x37df('0x2'));var timeout=require(_0x37df('0x3'));var express=require(_0x37df('0x4'));var router=express[_0x37df('0x5')]();var fs_extra=require(_0x37df('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x37df('0x7'));var config=require(_0x37df('0x8'));var controller=require(_0x37df('0x9'));router[_0x37df('0xa')]('/',auth[_0x37df('0xb')](),controller[_0x37df('0xc')]);router[_0x37df('0xa')](_0x37df('0xd'),auth[_0x37df('0xb')](),controller[_0x37df('0xe')]);router[_0x37df('0xa')](_0x37df('0xf'),auth[_0x37df('0xb')](),controller[_0x37df('0x10')]);router[_0x37df('0x11')]('/',auth[_0x37df('0xb')](),controller['create']);router[_0x37df('0x12')](_0x37df('0xf'),auth['isAuthenticated'](),controller[_0x37df('0x13')]);router[_0x37df('0x14')](_0x37df('0xf'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;