4f0b138c35afc3d149c1e6f364d94c4e1bbfed69
[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 _0x9aec=['./voiceCallReport.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x90c561,_0x36c4b9){var _0x4fe8d4=function(_0x4b1fd5){while(--_0x4b1fd5){_0x90c561['push'](_0x90c561['shift']());}};_0x4fe8d4(++_0x36c4b9);}(_0x9aec,0x7f));var _0xc9ae=function(_0x5e1f1c,_0x5cddaf){_0x5e1f1c=_0x5e1f1c-0x0;var _0x4ec862=_0x9aec[_0x5e1f1c];return _0x4ec862;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc9ae('0x0'));var timeout=require(_0xc9ae('0x1'));var express=require(_0xc9ae('0x2'));var router=express[_0xc9ae('0x3')]();var auth=require(_0xc9ae('0x4'));var interaction=require(_0xc9ae('0x5'));var config=require('../../config/environment');var controller=require(_0xc9ae('0x6'));router[_0xc9ae('0x7')]('/',auth[_0xc9ae('0x8')](),controller[_0xc9ae('0x9')]);router[_0xc9ae('0x7')]('/describe',auth[_0xc9ae('0x8')](),controller['describe']);router[_0xc9ae('0x7')]('/:id',auth[_0xc9ae('0x8')](),controller[_0xc9ae('0xa')]);router[_0xc9ae('0xb')]('/',auth['isAuthenticated'](),controller[_0xc9ae('0xc')]);router[_0xc9ae('0xd')](_0xc9ae('0xe'),auth[_0xc9ae('0x8')](),controller[_0xc9ae('0xf')]);router[_0xc9ae('0x10')](_0xc9ae('0xe'),auth[_0xc9ae('0x8')](),controller[_0xc9ae('0x11')]);module[_0xc9ae('0x12')]=router;