Built motion from commit (unavailable).|2.4.18
[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 _0xb8e6=['/:id','update','exports','multer','util','path','express','../../components/auth/service','../../config/environment','get','index','/describe','isAuthenticated','describe','show','create'];(function(_0x2ac80c,_0x2cc1ac){var _0x36b362=function(_0x49e11f){while(--_0x49e11f){_0x2ac80c['push'](_0x2ac80c['shift']());}};_0x36b362(++_0x2cc1ac);}(_0xb8e6,0x1d3));var _0x6b8e=function(_0x44e4df,_0x20455c){_0x44e4df=_0x44e4df-0x0;var _0x39e218=_0xb8e6[_0x44e4df];return _0x39e218;};'use strict';var multer=require(_0x6b8e('0x0'));var util=require(_0x6b8e('0x1'));var path=require(_0x6b8e('0x2'));var timeout=require('connect-timeout');var express=require(_0x6b8e('0x3'));var router=express['Router']();var auth=require(_0x6b8e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6b8e('0x5'));var controller=require('./voiceCallReport.controller');router[_0x6b8e('0x6')]('/',auth['isAuthenticated'](),controller[_0x6b8e('0x7')]);router['get'](_0x6b8e('0x8'),auth[_0x6b8e('0x9')](),controller[_0x6b8e('0xa')]);router[_0x6b8e('0x6')]('/:id',auth[_0x6b8e('0x9')](),controller[_0x6b8e('0xb')]);router['post']('/',auth[_0x6b8e('0x9')](),controller[_0x6b8e('0xc')]);router['put'](_0x6b8e('0xd'),auth[_0x6b8e('0x9')](),controller[_0x6b8e('0xe')]);router['delete']('/:id',auth[_0x6b8e('0x9')](),controller['destroy']);module[_0x6b8e('0xf')]=router;