a6134c42807333f4d652c3773dc9d2aa7c474c62
[motion2.git] / server / api / voiceCallReport / 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 _0x6d63=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','isAuthenticated','index','/describe','describe','create','put','/:id','update','delete','destroy','exports','util','path'];(function(_0xbe48c2,_0x3db103){var _0x39a679=function(_0x195d37){while(--_0x195d37){_0xbe48c2['push'](_0xbe48c2['shift']());}};_0x39a679(++_0x3db103);}(_0x6d63,0xb2));var _0x36d6=function(_0x4adc23,_0x33c055){_0x4adc23=_0x4adc23-0x0;var _0x399218=_0x6d63[_0x4adc23];return _0x399218;};'use strict';var multer=require('multer');var util=require(_0x36d6('0x0'));var path=require(_0x36d6('0x1'));var timeout=require(_0x36d6('0x2'));var express=require(_0x36d6('0x3'));var router=express[_0x36d6('0x4')]();var auth=require(_0x36d6('0x5'));var interaction=require(_0x36d6('0x6'));var config=require(_0x36d6('0x7'));var controller=require(_0x36d6('0x8'));router['get']('/',auth[_0x36d6('0x9')](),controller[_0x36d6('0xa')]);router['get'](_0x36d6('0xb'),auth[_0x36d6('0x9')](),controller[_0x36d6('0xc')]);router['get']('/:id',auth[_0x36d6('0x9')](),controller['show']);router['post']('/',auth[_0x36d6('0x9')](),controller[_0x36d6('0xd')]);router[_0x36d6('0xe')](_0x36d6('0xf'),auth[_0x36d6('0x9')](),controller[_0x36d6('0x10')]);router[_0x36d6('0x11')](_0x36d6('0xf'),auth[_0x36d6('0x9')](),controller[_0x36d6('0x12')]);module[_0x36d6('0x13')]=router;