Built motion from commit (unavailable).|2.4.17
[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 _0x664c=['../../config/environment','./voiceCallReport.controller','get','isAuthenticated','/describe','describe','show','post','/:id','delete','destroy','exports','path','connect-timeout','../../components/auth/service','../../components/interaction/service'];(function(_0x59ea8e,_0x6385bd){var _0x51d438=function(_0x32f7d3){while(--_0x32f7d3){_0x59ea8e['push'](_0x59ea8e['shift']());}};_0x51d438(++_0x6385bd);}(_0x664c,0x9c));var _0xc664=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x664c[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc664('0x0'));var timeout=require(_0xc664('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0xc664('0x2'));var interaction=require(_0xc664('0x3'));var config=require(_0xc664('0x4'));var controller=require(_0xc664('0x5'));router[_0xc664('0x6')]('/',auth[_0xc664('0x7')](),controller['index']);router[_0xc664('0x6')](_0xc664('0x8'),auth[_0xc664('0x7')](),controller[_0xc664('0x9')]);router[_0xc664('0x6')]('/:id',auth['isAuthenticated'](),controller[_0xc664('0xa')]);router[_0xc664('0xb')]('/',auth[_0xc664('0x7')](),controller['create']);router['put'](_0xc664('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xc664('0xd')]('/:id',auth[_0xc664('0x7')](),controller[_0xc664('0xe')]);module[_0xc664('0xf')]=router;