6ff2cc52abfe2f9b9d3ed9e583f98076d3c63614
[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 _0x325f=['exports','multer','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated','index','describe','/:id','show','create','put','delete','destroy'];(function(_0x1a572b,_0x2948d9){var _0x59d819=function(_0x3b6ba5){while(--_0x3b6ba5){_0x1a572b['push'](_0x1a572b['shift']());}};_0x59d819(++_0x2948d9);}(_0x325f,0x1ef));var _0xf325=function(_0x58e339,_0x7faad8){_0x58e339=_0x58e339-0x0;var _0xefb0af=_0x325f[_0x58e339];return _0xefb0af;};'use strict';var multer=require(_0xf325('0x0'));var util=require(_0xf325('0x1'));var path=require('path');var timeout=require(_0xf325('0x2'));var express=require('express');var router=express[_0xf325('0x3')]();var auth=require(_0xf325('0x4'));var interaction=require(_0xf325('0x5'));var config=require(_0xf325('0x6'));var controller=require(_0xf325('0x7'));router[_0xf325('0x8')]('/',auth[_0xf325('0x9')](),controller[_0xf325('0xa')]);router['get']('/describe',auth[_0xf325('0x9')](),controller[_0xf325('0xb')]);router[_0xf325('0x8')](_0xf325('0xc'),auth[_0xf325('0x9')](),controller[_0xf325('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xf325('0xe')]);router[_0xf325('0xf')](_0xf325('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xf325('0x10')](_0xf325('0xc'),auth[_0xf325('0x9')](),controller[_0xf325('0x11')]);module[_0xf325('0x12')]=router;