53ee0c606025d149670f1846097746dceda4473a
[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 _0x2c78=['get','isAuthenticated','index','describe','/:id','create','put','update','delete','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller'];(function(_0x4b8156,_0x437af2){var _0x4a819c=function(_0xe21347){while(--_0xe21347){_0x4b8156['push'](_0x4b8156['shift']());}};_0x4a819c(++_0x437af2);}(_0x2c78,0x1cb));var _0x82c7=function(_0x262417,_0x9b9f85){_0x262417=_0x262417-0x0;var _0x4404f7=_0x2c78[_0x262417];return _0x4404f7;};'use strict';var multer=require(_0x82c7('0x0'));var util=require(_0x82c7('0x1'));var path=require(_0x82c7('0x2'));var timeout=require('connect-timeout');var express=require(_0x82c7('0x3'));var router=express[_0x82c7('0x4')]();var auth=require(_0x82c7('0x5'));var interaction=require(_0x82c7('0x6'));var config=require(_0x82c7('0x7'));var controller=require(_0x82c7('0x8'));router[_0x82c7('0x9')]('/',auth[_0x82c7('0xa')](),controller[_0x82c7('0xb')]);router[_0x82c7('0x9')]('/describe',auth[_0x82c7('0xa')](),controller[_0x82c7('0xc')]);router['get'](_0x82c7('0xd'),auth[_0x82c7('0xa')](),controller['show']);router['post']('/',auth[_0x82c7('0xa')](),controller[_0x82c7('0xe')]);router[_0x82c7('0xf')](_0x82c7('0xd'),auth[_0x82c7('0xa')](),controller[_0x82c7('0x10')]);router[_0x82c7('0x11')](_0x82c7('0xd'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;