Built motion from commit (unavailable).|2.5.0
[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 _0xaa96=['destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','create','update','delete'];(function(_0x14a992,_0xadb280){var _0x209c4d=function(_0x34a10c){while(--_0x34a10c){_0x14a992['push'](_0x14a992['shift']());}};_0x209c4d(++_0xadb280);}(_0xaa96,0x145));var _0x6aa9=function(_0x4f4277,_0x3e8666){_0x4f4277=_0x4f4277-0x0;var _0xebc449=_0xaa96[_0x4f4277];return _0xebc449;};'use strict';var multer=require('multer');var util=require(_0x6aa9('0x0'));var path=require(_0x6aa9('0x1'));var timeout=require(_0x6aa9('0x2'));var express=require(_0x6aa9('0x3'));var router=express[_0x6aa9('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x6aa9('0x5'));var config=require(_0x6aa9('0x6'));var controller=require(_0x6aa9('0x7'));router[_0x6aa9('0x8')]('/',auth[_0x6aa9('0x9')](),controller[_0x6aa9('0xa')]);router[_0x6aa9('0x8')](_0x6aa9('0xb'),auth[_0x6aa9('0x9')](),controller['show']);router['post']('/',auth[_0x6aa9('0x9')](),controller[_0x6aa9('0xc')]);router['put'](_0x6aa9('0xb'),auth[_0x6aa9('0x9')](),controller[_0x6aa9('0xd')]);router[_0x6aa9('0xe')](_0x6aa9('0xb'),auth[_0x6aa9('0x9')](),controller[_0x6aa9('0xf')]);module[_0x6aa9('0x10')]=router;