Built motion from commit f74363e9.|2.6.34
[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 _0x1aa9=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id','post','put','update','delete','exports'];(function(_0x375b46,_0x1bbde2){var _0x43fba5=function(_0x4cd224){while(--_0x4cd224){_0x375b46['push'](_0x375b46['shift']());}};_0x43fba5(++_0x1bbde2);}(_0x1aa9,0x1d4));var _0x91aa=function(_0x30f496,_0x4f0611){_0x30f496=_0x30f496-0x0;var _0x3960be=_0x1aa9[_0x30f496];return _0x3960be;};'use strict';var multer=require(_0x91aa('0x0'));var util=require(_0x91aa('0x1'));var path=require(_0x91aa('0x2'));var timeout=require(_0x91aa('0x3'));var express=require(_0x91aa('0x4'));var router=express[_0x91aa('0x5')]();var fs_extra=require(_0x91aa('0x6'));var auth=require(_0x91aa('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x91aa('0x8'));var controller=require('./voiceChanSpy.controller');router['get']('/',auth[_0x91aa('0x9')](),controller[_0x91aa('0xa')]);router[_0x91aa('0xb')](_0x91aa('0xc'),auth[_0x91aa('0x9')](),controller['show']);router[_0x91aa('0xd')]('/',auth[_0x91aa('0x9')](),controller['create']);router[_0x91aa('0xe')](_0x91aa('0xc'),auth[_0x91aa('0x9')](),controller[_0x91aa('0xf')]);router[_0x91aa('0x10')](_0x91aa('0xc'),auth[_0x91aa('0x9')](),controller['destroy']);module[_0x91aa('0x11')]=router;