bbe4d4aa2bfaf277eba0673f274900b281a07eb6
[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 _0x29d1=['/describe','describe','post','create','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index'];(function(_0x826bbc,_0x396589){var _0x2edd14=function(_0x4bcc5c){while(--_0x4bcc5c){_0x826bbc['push'](_0x826bbc['shift']());}};_0x2edd14(++_0x396589);}(_0x29d1,0x147));var _0x129d=function(_0x2f20f8,_0x54a3f2){_0x2f20f8=_0x2f20f8-0x0;var _0xfcb1b7=_0x29d1[_0x2f20f8];return _0xfcb1b7;};'use strict';var multer=require(_0x129d('0x0'));var util=require(_0x129d('0x1'));var path=require(_0x129d('0x2'));var timeout=require(_0x129d('0x3'));var express=require(_0x129d('0x4'));var router=express[_0x129d('0x5')]();var fs_extra=require(_0x129d('0x6'));var auth=require(_0x129d('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x129d('0x8'));var controller=require(_0x129d('0x9'));router[_0x129d('0xa')]('/',auth[_0x129d('0xb')](),controller[_0x129d('0xc')]);router[_0x129d('0xa')](_0x129d('0xd'),auth[_0x129d('0xb')](),controller[_0x129d('0xe')]);router[_0x129d('0xa')]('/:id',auth[_0x129d('0xb')](),controller['show']);router[_0x129d('0xf')]('/',auth['isAuthenticated'](),controller[_0x129d('0x10')]);router['put']('/:id',auth[_0x129d('0xb')](),controller[_0x129d('0x11')]);router[_0x129d('0x12')]('/:id',auth[_0x129d('0xb')](),controller[_0x129d('0x13')]);module['exports']=router;