Built motion from commit (unavailable).|2.5.4
[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 _0xff47=['update','delete','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','/:id','post','create','put'];(function(_0x3a31e4,_0x484658){var _0x26a847=function(_0x41cf43){while(--_0x41cf43){_0x3a31e4['push'](_0x3a31e4['shift']());}};_0x26a847(++_0x484658);}(_0xff47,0x1e8));var _0x7ff4=function(_0x4dcac4,_0x10e48a){_0x4dcac4=_0x4dcac4-0x0;var _0x2a238d=_0xff47[_0x4dcac4];return _0x2a238d;};'use strict';var multer=require(_0x7ff4('0x0'));var util=require(_0x7ff4('0x1'));var path=require(_0x7ff4('0x2'));var timeout=require('connect-timeout');var express=require(_0x7ff4('0x3'));var router=express[_0x7ff4('0x4')]();var auth=require(_0x7ff4('0x5'));var interaction=require(_0x7ff4('0x6'));var config=require(_0x7ff4('0x7'));var controller=require('./voiceCallReport.controller');router['get']('/',auth[_0x7ff4('0x8')](),controller[_0x7ff4('0x9')]);router[_0x7ff4('0xa')](_0x7ff4('0xb'),auth[_0x7ff4('0x8')](),controller['describe']);router[_0x7ff4('0xa')](_0x7ff4('0xc'),auth[_0x7ff4('0x8')](),controller['show']);router[_0x7ff4('0xd')]('/',auth[_0x7ff4('0x8')](),controller[_0x7ff4('0xe')]);router[_0x7ff4('0xf')](_0x7ff4('0xc'),auth[_0x7ff4('0x8')](),controller[_0x7ff4('0x10')]);router[_0x7ff4('0x11')](_0x7ff4('0xc'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;