1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xf03b=['destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','create','delete'];(function(_0x352c9f,_0x58378c){var _0x296a03=function(_0xe171fe){while(--_0xe171fe){_0x352c9f['push'](_0x352c9f['shift']());}};_0x296a03(++_0x58378c);}(_0xf03b,0x162));var _0xbf03=function(_0x470774,_0x3ae805){_0x470774=_0x470774-0x0;var _0x1f35bc=_0xf03b[_0x470774];return _0x1f35bc;};'use strict';var multer=require(_0xbf03('0x0'));var util=require(_0xbf03('0x1'));var path=require(_0xbf03('0x2'));var timeout=require(_0xbf03('0x3'));var express=require(_0xbf03('0x4'));var router=express['Router']();var auth=require(_0xbf03('0x5'));var interaction=require(_0xbf03('0x6'));var config=require(_0xbf03('0x7'));var controller=require('./voiceCallReport.controller');router[_0xbf03('0x8')]('/',auth[_0xbf03('0x9')](),controller[_0xbf03('0xa')]);router[_0xbf03('0x8')]('/describe',auth[_0xbf03('0x9')](),controller['describe']);router['get'](_0xbf03('0xb'),auth[_0xbf03('0x9')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0xbf03('0xc')]);router['put'](_0xbf03('0xb'),auth[_0xbf03('0x9')](),controller['update']);router[_0xbf03('0xd')](_0xbf03('0xb'),auth['isAuthenticated'](),controller[_0xbf03('0xe')]);module[_0xbf03('0xf')]=router;