33e1c12efc05d63029aeea354168e8aaf34dda7f
[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 _0x80fb=['isAuthenticated','index','get','/describe','describe','/:id','post','create','update','delete','destroy','exports','express','../../components/auth/service','./voiceCallReport.controller'];(function(_0x36ed48,_0x1ee0d4){var _0x51c63a=function(_0x2d0a40){while(--_0x2d0a40){_0x36ed48['push'](_0x36ed48['shift']());}};_0x51c63a(++_0x1ee0d4);}(_0x80fb,0x156));var _0xb80f=function(_0x4154a6,_0x2c0b8e){_0x4154a6=_0x4154a6-0x0;var _0x3b2786=_0x80fb[_0x4154a6];return _0x3b2786;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb80f('0x0'));var router=express['Router']();var auth=require(_0xb80f('0x1'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb80f('0x2'));router['get']('/',auth[_0xb80f('0x3')](),controller[_0xb80f('0x4')]);router[_0xb80f('0x5')](_0xb80f('0x6'),auth['isAuthenticated'](),controller[_0xb80f('0x7')]);router[_0xb80f('0x5')](_0xb80f('0x8'),auth[_0xb80f('0x3')](),controller['show']);router[_0xb80f('0x9')]('/',auth[_0xb80f('0x3')](),controller[_0xb80f('0xa')]);router['put'](_0xb80f('0x8'),auth[_0xb80f('0x3')](),controller[_0xb80f('0xb')]);router[_0xb80f('0xc')]('/:id',auth['isAuthenticated'](),controller[_0xb80f('0xd')]);module[_0xb80f('0xe')]=router;