Built motion from commit (unavailable).|2.5.5
[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 _0x648f=['multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','delete','destroy'];(function(_0x40a825,_0x3bac79){var _0x273a54=function(_0x5628d8){while(--_0x5628d8){_0x40a825['push'](_0x40a825['shift']());}};_0x273a54(++_0x3bac79);}(_0x648f,0x104));var _0xf648=function(_0x33cf61,_0x10a737){_0x33cf61=_0x33cf61-0x0;var _0x54b688=_0x648f[_0x33cf61];return _0x54b688;};'use strict';var multer=require(_0xf648('0x0'));var util=require(_0xf648('0x1'));var path=require(_0xf648('0x2'));var timeout=require('connect-timeout');var express=require(_0xf648('0x3'));var router=express[_0xf648('0x4')]();var auth=require(_0xf648('0x5'));var interaction=require(_0xf648('0x6'));var config=require(_0xf648('0x7'));var controller=require(_0xf648('0x8'));router[_0xf648('0x9')]('/',auth[_0xf648('0xa')](),controller[_0xf648('0xb')]);router[_0xf648('0x9')](_0xf648('0xc'),auth[_0xf648('0xa')](),controller[_0xf648('0xd')]);router[_0xf648('0x9')](_0xf648('0xe'),auth[_0xf648('0xa')](),controller[_0xf648('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0xf648('0x10')]);router[_0xf648('0x11')](_0xf648('0xe'),auth[_0xf648('0xa')](),controller['update']);router[_0xf648('0x12')]('/:id',auth[_0xf648('0xa')](),controller[_0xf648('0x13')]);module['exports']=router;