Built motion from commit (unavailable).|2.5.2
[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 _0xa234=['get','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','isAuthenticated','index'];(function(_0x46ff78,_0x227a5a){var _0x1b8209=function(_0x1b8124){while(--_0x1b8124){_0x46ff78['push'](_0x46ff78['shift']());}};_0x1b8209(++_0x227a5a);}(_0xa234,0x99));var _0x4a23=function(_0x1942e7,_0x3a220e){_0x1942e7=_0x1942e7-0x0;var _0x478b7b=_0xa234[_0x1942e7];return _0x478b7b;};'use strict';var multer=require(_0x4a23('0x0'));var util=require(_0x4a23('0x1'));var path=require(_0x4a23('0x2'));var timeout=require(_0x4a23('0x3'));var express=require(_0x4a23('0x4'));var router=express[_0x4a23('0x5')]();var auth=require(_0x4a23('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./voiceChanSpy.controller');router['get']('/',auth[_0x4a23('0x7')](),controller[_0x4a23('0x8')]);router[_0x4a23('0x9')](_0x4a23('0xa'),auth[_0x4a23('0x7')](),controller['show']);router[_0x4a23('0xb')]('/',auth[_0x4a23('0x7')](),controller[_0x4a23('0xc')]);router[_0x4a23('0xd')]('/:id',auth[_0x4a23('0x7')](),controller[_0x4a23('0xe')]);router[_0x4a23('0xf')](_0x4a23('0xa'),auth[_0x4a23('0x7')](),controller[_0x4a23('0x10')]);module[_0x4a23('0x11')]=router;