5c9185bbd8026917cc93170cae7155eb1a550220
[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 _0xd49e=['index','/describe','describe','/:id','show','create','update','exports','multer','util','path','express','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated'];(function(_0x23a299,_0x30e49c){var _0x560bb3=function(_0x1c8073){while(--_0x1c8073){_0x23a299['push'](_0x23a299['shift']());}};_0x560bb3(++_0x30e49c);}(_0xd49e,0x1b1));var _0xed49=function(_0x466bc5,_0x3a0f2a){_0x466bc5=_0x466bc5-0x0;var _0x138952=_0xd49e[_0x466bc5];return _0x138952;};'use strict';var multer=require(_0xed49('0x0'));var util=require(_0xed49('0x1'));var path=require(_0xed49('0x2'));var timeout=require('connect-timeout');var express=require(_0xed49('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xed49('0x4'));var config=require(_0xed49('0x5'));var controller=require(_0xed49('0x6'));router[_0xed49('0x7')]('/',auth[_0xed49('0x8')](),controller[_0xed49('0x9')]);router[_0xed49('0x7')](_0xed49('0xa'),auth[_0xed49('0x8')](),controller[_0xed49('0xb')]);router['get'](_0xed49('0xc'),auth['isAuthenticated'](),controller[_0xed49('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xed49('0xe')]);router['put'](_0xed49('0xc'),auth['isAuthenticated'](),controller[_0xed49('0xf')]);router['delete']('/:id',auth[_0xed49('0x8')](),controller['destroy']);module[_0xed49('0x10')]=router;