Built motion from commit d5e4af8c.|2.6.23
[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 _0x1f43=['update','delete','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','index','isAuthenticated','show','post','create','put','/:id'];(function(_0x2c69a1,_0x201903){var _0x24bb91=function(_0x3131ac){while(--_0x3131ac){_0x2c69a1['push'](_0x2c69a1['shift']());}};_0x24bb91(++_0x201903);}(_0x1f43,0x9a));var _0x31f4=function(_0x2b304b,_0x586e14){_0x2b304b=_0x2b304b-0x0;var _0x11e542=_0x1f43[_0x2b304b];return _0x11e542;};'use strict';var multer=require(_0x31f4('0x0'));var util=require('util');var path=require(_0x31f4('0x1'));var timeout=require(_0x31f4('0x2'));var express=require(_0x31f4('0x3'));var router=express['Router']();var fs_extra=require(_0x31f4('0x4'));var auth=require(_0x31f4('0x5'));var interaction=require(_0x31f4('0x6'));var config=require(_0x31f4('0x7'));var controller=require(_0x31f4('0x8'));router[_0x31f4('0x9')]('/',auth['isAuthenticated'](),controller[_0x31f4('0xa')]);router['get']('/describe',auth[_0x31f4('0xb')](),controller['describe']);router[_0x31f4('0x9')]('/:id',auth[_0x31f4('0xb')](),controller[_0x31f4('0xc')]);router[_0x31f4('0xd')]('/',auth[_0x31f4('0xb')](),controller[_0x31f4('0xe')]);router[_0x31f4('0xf')](_0x31f4('0x10'),auth['isAuthenticated'](),controller[_0x31f4('0x11')]);router[_0x31f4('0x12')]('/:id',auth[_0x31f4('0xb')](),controller['destroy']);module['exports']=router;