c26e99dd3c29fd031b1f188f3911a04be3a33b24
[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 _0xe9a6=['../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','index','get','/:id','show','post','isAuthenticated','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0xd3a0a0,_0x3bdab1){var _0x18846f=function(_0x2347e8){while(--_0x2347e8){_0xd3a0a0['push'](_0xd3a0a0['shift']());}};_0x18846f(++_0x3bdab1);}(_0xe9a6,0x64));var _0x6e9a=function(_0x2a6c77,_0x2e2a06){_0x2a6c77=_0x2a6c77-0x0;var _0x18b81a=_0xe9a6[_0x2a6c77];return _0x18b81a;};'use strict';var multer=require(_0x6e9a('0x0'));var util=require('util');var path=require(_0x6e9a('0x1'));var timeout=require(_0x6e9a('0x2'));var express=require(_0x6e9a('0x3'));var router=express[_0x6e9a('0x4')]();var auth=require(_0x6e9a('0x5'));var interaction=require(_0x6e9a('0x6'));var config=require(_0x6e9a('0x7'));var controller=require(_0x6e9a('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x6e9a('0x9')]);router[_0x6e9a('0xa')](_0x6e9a('0xb'),auth['isAuthenticated'](),controller[_0x6e9a('0xc')]);router[_0x6e9a('0xd')]('/',auth[_0x6e9a('0xe')](),controller[_0x6e9a('0xf')]);router[_0x6e9a('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x6e9a('0x11')]);router[_0x6e9a('0x12')](_0x6e9a('0xb'),auth[_0x6e9a('0xe')](),controller[_0x6e9a('0x13')]);module[_0x6e9a('0x14')]=router;