Built motion from commit 47436d59.|2.6.7
[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 _0x4017=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','isAuthenticated','get','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','util'];(function(_0xafcf00,_0x4429a3){var _0x513af4=function(_0x59554d){while(--_0x59554d){_0xafcf00['push'](_0xafcf00['shift']());}};_0x513af4(++_0x4429a3);}(_0x4017,0xa0));var _0x7401=function(_0x5ba634,_0x56b102){_0x5ba634=_0x5ba634-0x0;var _0x2ec9fa=_0x4017[_0x5ba634];return _0x2ec9fa;};'use strict';var multer=require('multer');var util=require(_0x7401('0x0'));var path=require(_0x7401('0x1'));var timeout=require(_0x7401('0x2'));var express=require(_0x7401('0x3'));var router=express[_0x7401('0x4')]();var fs_extra=require(_0x7401('0x5'));var auth=require(_0x7401('0x6'));var interaction=require(_0x7401('0x7'));var config=require(_0x7401('0x8'));var controller=require(_0x7401('0x9'));router['get']('/',auth[_0x7401('0xa')](),controller['index']);router[_0x7401('0xb')](_0x7401('0xc'),auth['isAuthenticated'](),controller[_0x7401('0xd')]);router[_0x7401('0xb')](_0x7401('0xe'),auth[_0x7401('0xa')](),controller[_0x7401('0xf')]);router[_0x7401('0x10')]('/',auth['isAuthenticated'](),controller[_0x7401('0x11')]);router[_0x7401('0x12')](_0x7401('0xe'),auth[_0x7401('0xa')](),controller[_0x7401('0x13')]);router[_0x7401('0x14')]('/:id',auth[_0x7401('0xa')](),controller[_0x7401('0x15')]);module[_0x7401('0x16')]=router;