bdda94d4dfa94138f2bf779ad21ec2730c16a74d
[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 _0x8375=['create','put','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post'];(function(_0x281639,_0x54f348){var _0xe77e0d=function(_0x220059){while(--_0x220059){_0x281639['push'](_0x281639['shift']());}};_0xe77e0d(++_0x54f348);}(_0x8375,0x1a4));var _0x5837=function(_0x323c0d,_0x2e6f52){_0x323c0d=_0x323c0d-0x0;var _0x1b4ca8=_0x8375[_0x323c0d];return _0x1b4ca8;};'use strict';var multer=require('multer');var util=require(_0x5837('0x0'));var path=require(_0x5837('0x1'));var timeout=require(_0x5837('0x2'));var express=require(_0x5837('0x3'));var router=express[_0x5837('0x4')]();var fs_extra=require(_0x5837('0x5'));var auth=require(_0x5837('0x6'));var interaction=require(_0x5837('0x7'));var config=require('../../config/environment');var controller=require(_0x5837('0x8'));router[_0x5837('0x9')]('/',auth[_0x5837('0xa')](),controller[_0x5837('0xb')]);router[_0x5837('0x9')](_0x5837('0xc'),auth[_0x5837('0xa')](),controller[_0x5837('0xd')]);router[_0x5837('0x9')](_0x5837('0xe'),auth[_0x5837('0xa')](),controller[_0x5837('0xf')]);router[_0x5837('0x10')]('/',auth[_0x5837('0xa')](),controller[_0x5837('0x11')]);router[_0x5837('0x12')](_0x5837('0xe'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x5837('0xe'),auth[_0x5837('0xa')](),controller['destroy']);module['exports']=router;