Built motion from commit (unavailable).|2.5.3
[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 _0x1fae=['../../config/environment','./voiceCallReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','put','update','destroy','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x5d4607,_0x6b5e7b){var _0x5e4a86=function(_0x46891a){while(--_0x46891a){_0x5d4607['push'](_0x5d4607['shift']());}};_0x5e4a86(++_0x6b5e7b);}(_0x1fae,0x163));var _0xe1fa=function(_0xaa347b,_0x5db22d){_0xaa347b=_0xaa347b-0x0;var _0x56f792=_0x1fae[_0xaa347b];return _0x56f792;};'use strict';var multer=require('multer');var util=require(_0xe1fa('0x0'));var path=require(_0xe1fa('0x1'));var timeout=require('connect-timeout');var express=require(_0xe1fa('0x2'));var router=express[_0xe1fa('0x3')]();var auth=require(_0xe1fa('0x4'));var interaction=require(_0xe1fa('0x5'));var config=require(_0xe1fa('0x6'));var controller=require(_0xe1fa('0x7'));router[_0xe1fa('0x8')]('/',auth[_0xe1fa('0x9')](),controller['index']);router['get'](_0xe1fa('0xa'),auth[_0xe1fa('0x9')](),controller[_0xe1fa('0xb')]);router[_0xe1fa('0x8')](_0xe1fa('0xc'),auth[_0xe1fa('0x9')](),controller[_0xe1fa('0xd')]);router[_0xe1fa('0xe')]('/',auth[_0xe1fa('0x9')](),controller['create']);router[_0xe1fa('0xf')](_0xe1fa('0xc'),auth['isAuthenticated'](),controller[_0xe1fa('0x10')]);router['delete']('/:id',auth[_0xe1fa('0x9')](),controller[_0xe1fa('0x11')]);module[_0xe1fa('0x12')]=router;