Built motion from commit (unavailable).|2.5.23
[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 _0xd93b=['show','create','put','delete','destroy','util','path','express','Router','../../components/auth/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id'];(function(_0x1ce204,_0x5ae4b6){var _0x3118d2=function(_0x33da31){while(--_0x33da31){_0x1ce204['push'](_0x1ce204['shift']());}};_0x3118d2(++_0x5ae4b6);}(_0xd93b,0x148));var _0xbd93=function(_0x5b8826,_0x592682){_0x5b8826=_0x5b8826-0x0;var _0x350821=_0xd93b[_0x5b8826];return _0x350821;};'use strict';var multer=require('multer');var util=require(_0xbd93('0x0'));var path=require(_0xbd93('0x1'));var timeout=require('connect-timeout');var express=require(_0xbd93('0x2'));var router=express[_0xbd93('0x3')]();var auth=require(_0xbd93('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xbd93('0x5'));var controller=require('./voiceCallReport.controller');router[_0xbd93('0x6')]('/',auth['isAuthenticated'](),controller[_0xbd93('0x7')]);router[_0xbd93('0x6')](_0xbd93('0x8'),auth[_0xbd93('0x9')](),controller[_0xbd93('0xa')]);router[_0xbd93('0x6')](_0xbd93('0xb'),auth[_0xbd93('0x9')](),controller[_0xbd93('0xc')]);router['post']('/',auth[_0xbd93('0x9')](),controller[_0xbd93('0xd')]);router[_0xbd93('0xe')](_0xbd93('0xb'),auth[_0xbd93('0x9')](),controller['update']);router[_0xbd93('0xf')](_0xbd93('0xb'),auth[_0xbd93('0x9')](),controller[_0xbd93('0x10')]);module['exports']=router;