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 _0x836a=['put','update','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/describe','isAuthenticated','show','create'];(function(_0xfa8e4d,_0x388715){var _0x5c7ba7=function(_0x54e764){while(--_0x54e764){_0xfa8e4d['push'](_0xfa8e4d['shift']());}};_0x5c7ba7(++_0x388715);}(_0x836a,0xcb));var _0xa836=function(_0xe45c3a,_0x183904){_0xe45c3a=_0xe45c3a-0x0;var _0x1bc5e8=_0x836a[_0xe45c3a];return _0x1bc5e8;};'use strict';var multer=require(_0xa836('0x0'));var util=require(_0xa836('0x1'));var path=require(_0xa836('0x2'));var timeout=require('connect-timeout');var express=require(_0xa836('0x3'));var router=express[_0xa836('0x4')]();var auth=require(_0xa836('0x5'));var interaction=require(_0xa836('0x6'));var config=require(_0xa836('0x7'));var controller=require('./voiceCallReport.controller');router[_0xa836('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xa836('0x8')](_0xa836('0x9'),auth[_0xa836('0xa')](),controller['describe']);router[_0xa836('0x8')]('/:id',auth[_0xa836('0xa')](),controller[_0xa836('0xb')]);router['post']('/',auth[_0xa836('0xa')](),controller[_0xa836('0xc')]);router[_0xa836('0xd')]('/:id',auth['isAuthenticated'](),controller[_0xa836('0xe')]);router[_0xa836('0xf')]('/:id',auth[_0xa836('0xa')](),controller[_0xa836('0x10')]);module[_0xa836('0x11')]=router;