36f4b16ac2133c919ff88bff6c2afbfdc2956aed
[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 _0x99ca=['post','put','update','delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x2513ad,_0x5c7ac8){var _0x14a6c3=function(_0x37a47c){while(--_0x37a47c){_0x2513ad['push'](_0x2513ad['shift']());}};_0x14a6c3(++_0x5c7ac8);}(_0x99ca,0x1a9));var _0xa99c=function(_0x1c9bff,_0x4ec5c5){_0x1c9bff=_0x1c9bff-0x0;var _0x462024=_0x99ca[_0x1c9bff];return _0x462024;};'use strict';var multer=require(_0xa99c('0x0'));var util=require(_0xa99c('0x1'));var path=require(_0xa99c('0x2'));var timeout=require(_0xa99c('0x3'));var express=require('express');var router=express[_0xa99c('0x4')]();var fs_extra=require(_0xa99c('0x5'));var auth=require(_0xa99c('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa99c('0x7'));router[_0xa99c('0x8')]('/',auth[_0xa99c('0x9')](),controller[_0xa99c('0xa')]);router[_0xa99c('0x8')](_0xa99c('0xb'),auth[_0xa99c('0x9')](),controller[_0xa99c('0xc')]);router['get'](_0xa99c('0xd'),auth[_0xa99c('0x9')](),controller[_0xa99c('0xe')]);router[_0xa99c('0xf')]('/',auth[_0xa99c('0x9')](),controller['create']);router[_0xa99c('0x10')](_0xa99c('0xd'),auth[_0xa99c('0x9')](),controller[_0xa99c('0x11')]);router[_0xa99c('0x12')](_0xa99c('0xd'),auth[_0xa99c('0x9')](),controller[_0xa99c('0x13')]);module['exports']=router;