Built motion from commit (unavailable).|2.5.22
[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 _0x5654=['update','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./voiceCallReport.controller','isAuthenticated','get','/describe','describe','show','create','/:id'];(function(_0x382c73,_0x199cab){var _0x1dd0bf=function(_0x358747){while(--_0x358747){_0x382c73['push'](_0x382c73['shift']());}};_0x1dd0bf(++_0x199cab);}(_0x5654,0x1b9));var _0x4565=function(_0x8f5320,_0x31ad5d){_0x8f5320=_0x8f5320-0x0;var _0x1c957a=_0x5654[_0x8f5320];return _0x1c957a;};'use strict';var multer=require(_0x4565('0x0'));var util=require(_0x4565('0x1'));var path=require(_0x4565('0x2'));var timeout=require('connect-timeout');var express=require(_0x4565('0x3'));var router=express[_0x4565('0x4')]();var auth=require(_0x4565('0x5'));var interaction=require(_0x4565('0x6'));var config=require('../../config/environment');var controller=require(_0x4565('0x7'));router['get']('/',auth[_0x4565('0x8')](),controller['index']);router[_0x4565('0x9')](_0x4565('0xa'),auth[_0x4565('0x8')](),controller[_0x4565('0xb')]);router[_0x4565('0x9')]('/:id',auth[_0x4565('0x8')](),controller[_0x4565('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x4565('0xd')]);router['put'](_0x4565('0xe'),auth[_0x4565('0x8')](),controller[_0x4565('0xf')]);router[_0x4565('0x10')](_0x4565('0xe'),auth[_0x4565('0x8')](),controller[_0x4565('0x11')]);module[_0x4565('0x12')]=router;