673490d8b663f32c63a35296abf3b1bff2a3de4e
[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 _0xa712=['connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','delete','destroy','exports','multer','util','path'];(function(_0x237827,_0x2ef6d8){var _0x445523=function(_0x19724c){while(--_0x19724c){_0x237827['push'](_0x237827['shift']());}};_0x445523(++_0x2ef6d8);}(_0xa712,0x90));var _0x2a71=function(_0x3f3f06,_0x581e5b){_0x3f3f06=_0x3f3f06-0x0;var _0x140feb=_0xa712[_0x3f3f06];return _0x140feb;};'use strict';var multer=require(_0x2a71('0x0'));var util=require(_0x2a71('0x1'));var path=require(_0x2a71('0x2'));var timeout=require(_0x2a71('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x2a71('0x4'));var interaction=require(_0x2a71('0x5'));var config=require(_0x2a71('0x6'));var controller=require(_0x2a71('0x7'));router[_0x2a71('0x8')]('/',auth[_0x2a71('0x9')](),controller[_0x2a71('0xa')]);router[_0x2a71('0x8')](_0x2a71('0xb'),auth[_0x2a71('0x9')](),controller[_0x2a71('0xc')]);router[_0x2a71('0x8')](_0x2a71('0xd'),auth[_0x2a71('0x9')](),controller[_0x2a71('0xe')]);router[_0x2a71('0xf')]('/',auth[_0x2a71('0x9')](),controller[_0x2a71('0x10')]);router[_0x2a71('0x11')](_0x2a71('0xd'),auth[_0x2a71('0x9')](),controller['update']);router[_0x2a71('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x2a71('0x13')]);module[_0x2a71('0x14')]=router;