175e47f964e53b869d3237ef68dddced77d932ac
[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 _0x58b9=['delete','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','create','put'];(function(_0x11bcb3,_0x4e313c){var _0x2a5703=function(_0x6b0a4){while(--_0x6b0a4){_0x11bcb3['push'](_0x11bcb3['shift']());}};_0x2a5703(++_0x4e313c);}(_0x58b9,0xad));var _0x958b=function(_0xc55358,_0x1a0acc){_0xc55358=_0xc55358-0x0;var _0x23acca=_0x58b9[_0xc55358];return _0x23acca;};'use strict';var multer=require(_0x958b('0x0'));var util=require('util');var path=require(_0x958b('0x1'));var timeout=require(_0x958b('0x2'));var express=require(_0x958b('0x3'));var router=express[_0x958b('0x4')]();var auth=require(_0x958b('0x5'));var interaction=require(_0x958b('0x6'));var config=require(_0x958b('0x7'));var controller=require(_0x958b('0x8'));router[_0x958b('0x9')]('/',auth[_0x958b('0xa')](),controller[_0x958b('0xb')]);router[_0x958b('0x9')](_0x958b('0xc'),auth[_0x958b('0xa')](),controller[_0x958b('0xd')]);router[_0x958b('0xe')]('/',auth[_0x958b('0xa')](),controller[_0x958b('0xf')]);router[_0x958b('0x10')]('/:id',auth[_0x958b('0xa')](),controller['update']);router[_0x958b('0x11')](_0x958b('0xc'),auth[_0x958b('0xa')](),controller['destroy']);module[_0x958b('0x12')]=router;