Built motion from commit (unavailable).|2.3.5
[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 _0x47cc=['isAuthenticated','index','get','/:id','show','post','create','put','update','destroy','path','express','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller'];(function(_0x354a4a,_0xa721d3){var _0x54fcff=function(_0x1c233f){while(--_0x1c233f){_0x354a4a['push'](_0x354a4a['shift']());}};_0x54fcff(++_0xa721d3);}(_0x47cc,0x181));var _0xc47c=function(_0x22e2fe,_0x4ad069){_0x22e2fe=_0x22e2fe-0x0;var _0x269f59=_0x47cc[_0x22e2fe];return _0x269f59;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc47c('0x0'));var timeout=require('connect-timeout');var express=require(_0xc47c('0x1'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xc47c('0x2'));var config=require(_0xc47c('0x3'));var controller=require(_0xc47c('0x4'));router['get']('/',auth[_0xc47c('0x5')](),controller[_0xc47c('0x6')]);router[_0xc47c('0x7')](_0xc47c('0x8'),auth[_0xc47c('0x5')](),controller[_0xc47c('0x9')]);router[_0xc47c('0xa')]('/',auth[_0xc47c('0x5')](),controller[_0xc47c('0xb')]);router[_0xc47c('0xc')](_0xc47c('0x8'),auth[_0xc47c('0x5')](),controller[_0xc47c('0xd')]);router['delete'](_0xc47c('0x8'),auth[_0xc47c('0x5')](),controller[_0xc47c('0xe')]);module['exports']=router;