Built motion from commit (unavailable).|2.3.1
[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 _0x70ac=['Router','../../config/environment','get','/describe','isAuthenticated','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','express'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x70ac,0x1a5));var _0xc70a=function(_0x55f8b4,_0x43f30d){_0x55f8b4=_0x55f8b4-0x0;var _0x2475f9=_0x70ac[_0x55f8b4];return _0x2475f9;};'use strict';var multer=require(_0xc70a('0x0'));var util=require(_0xc70a('0x1'));var path=require(_0xc70a('0x2'));var timeout=require('connect-timeout');var express=require(_0xc70a('0x3'));var router=express[_0xc70a('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc70a('0x5'));var controller=require('./voiceCallReport.controller');router[_0xc70a('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0xc70a('0x6')](_0xc70a('0x7'),auth[_0xc70a('0x8')](),controller['describe']);router[_0xc70a('0x6')](_0xc70a('0x9'),auth[_0xc70a('0x8')](),controller['show']);router[_0xc70a('0xa')]('/',auth[_0xc70a('0x8')](),controller[_0xc70a('0xb')]);router[_0xc70a('0xc')](_0xc70a('0x9'),auth[_0xc70a('0x8')](),controller[_0xc70a('0xd')]);router[_0xc70a('0xe')]('/:id',auth['isAuthenticated'](),controller[_0xc70a('0xf')]);module[_0xc70a('0x10')]=router;