Built motion from commit (unavailable).|2.5.12
[motion2.git] / server / api / voiceChanSpy / 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 _0xb63f=['/:id','show','post','create','put','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x9729d7,_0x1b79a8){var _0x3c4ac6=function(_0x401ba6){while(--_0x401ba6){_0x9729d7['push'](_0x9729d7['shift']());}};_0x3c4ac6(++_0x1b79a8);}(_0xb63f,0x193));var _0xfb63=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0xb63f[_0x36884e];return _0x1cc367;};'use strict';var multer=require(_0xfb63('0x0'));var util=require(_0xfb63('0x1'));var path=require('path');var timeout=require(_0xfb63('0x2'));var express=require(_0xfb63('0x3'));var router=express[_0xfb63('0x4')]();var auth=require(_0xfb63('0x5'));var interaction=require(_0xfb63('0x6'));var config=require(_0xfb63('0x7'));var controller=require('./voiceChanSpy.controller');router[_0xfb63('0x8')]('/',auth[_0xfb63('0x9')](),controller[_0xfb63('0xa')]);router[_0xfb63('0x8')](_0xfb63('0xb'),auth[_0xfb63('0x9')](),controller[_0xfb63('0xc')]);router[_0xfb63('0xd')]('/',auth[_0xfb63('0x9')](),controller[_0xfb63('0xe')]);router[_0xfb63('0xf')](_0xfb63('0xb'),auth[_0xfb63('0x9')](),controller['update']);router[_0xfb63('0x10')](_0xfb63('0xb'),auth['isAuthenticated'](),controller[_0xfb63('0x11')]);module['exports']=router;