Built motion from commit (unavailable).|2.5.4
[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 _0x9e08=['post','create','/:id','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated','index','/describe'];(function(_0x433d65,_0x5d119b){var _0x24799c=function(_0x1da4e8){while(--_0x1da4e8){_0x433d65['push'](_0x433d65['shift']());}};_0x24799c(++_0x5d119b);}(_0x9e08,0x126));var _0x89e0=function(_0x4d2a79,_0x4c7633){_0x4d2a79=_0x4d2a79-0x0;var _0x372fb6=_0x9e08[_0x4d2a79];return _0x372fb6;};'use strict';var multer=require(_0x89e0('0x0'));var util=require(_0x89e0('0x1'));var path=require(_0x89e0('0x2'));var timeout=require('connect-timeout');var express=require(_0x89e0('0x3'));var router=express[_0x89e0('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x89e0('0x5'));var config=require(_0x89e0('0x6'));var controller=require(_0x89e0('0x7'));router[_0x89e0('0x8')]('/',auth[_0x89e0('0x9')](),controller[_0x89e0('0xa')]);router['get'](_0x89e0('0xb'),auth[_0x89e0('0x9')](),controller['describe']);router[_0x89e0('0x8')]('/:id',auth[_0x89e0('0x9')](),controller['show']);router[_0x89e0('0xc')]('/',auth[_0x89e0('0x9')](),controller[_0x89e0('0xd')]);router['put'](_0x89e0('0xe'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0x89e0('0x9')](),controller[_0x89e0('0xf')]);module[_0x89e0('0x10')]=router;