4583aa7f76d6ab9060b79f72f5b24a8e5f151e00
[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 _0xdcb6=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated','index','show','post','create','put','delete','/:id','destroy','exports','util','path'];(function(_0x4ca2ff,_0x565d95){var _0x5a9e79=function(_0x1aa076){while(--_0x1aa076){_0x4ca2ff['push'](_0x4ca2ff['shift']());}};_0x5a9e79(++_0x565d95);}(_0xdcb6,0x18e));var _0x6dcb=function(_0x422905,_0x3bce3a){_0x422905=_0x422905-0x0;var _0x33dc6c=_0xdcb6[_0x422905];return _0x33dc6c;};'use strict';var multer=require('multer');var util=require(_0x6dcb('0x0'));var path=require(_0x6dcb('0x1'));var timeout=require(_0x6dcb('0x2'));var express=require(_0x6dcb('0x3'));var router=express[_0x6dcb('0x4')]();var auth=require(_0x6dcb('0x5'));var interaction=require(_0x6dcb('0x6'));var config=require(_0x6dcb('0x7'));var controller=require(_0x6dcb('0x8'));router[_0x6dcb('0x9')]('/',auth[_0x6dcb('0xa')](),controller[_0x6dcb('0xb')]);router[_0x6dcb('0x9')]('/describe',auth[_0x6dcb('0xa')](),controller['describe']);router['get']('/:id',auth[_0x6dcb('0xa')](),controller[_0x6dcb('0xc')]);router[_0x6dcb('0xd')]('/',auth[_0x6dcb('0xa')](),controller[_0x6dcb('0xe')]);router[_0x6dcb('0xf')]('/:id',auth[_0x6dcb('0xa')](),controller['update']);router[_0x6dcb('0x10')](_0x6dcb('0x11'),auth['isAuthenticated'](),controller[_0x6dcb('0x12')]);module[_0x6dcb('0x13')]=router;