Built motion from commit (unavailable).|2.5.1
[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 _0x1d07=['get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','./voiceChanSpy.controller'];(function(_0x1708f3,_0x543771){var _0x19254b=function(_0x47bc93){while(--_0x47bc93){_0x1708f3['push'](_0x1708f3['shift']());}};_0x19254b(++_0x543771);}(_0x1d07,0x1e6));var _0x71d0=function(_0x2235bf,_0x3a06a7){_0x2235bf=_0x2235bf-0x0;var _0x4c3a64=_0x1d07[_0x2235bf];return _0x4c3a64;};'use strict';var multer=require(_0x71d0('0x0'));var util=require(_0x71d0('0x1'));var path=require(_0x71d0('0x2'));var timeout=require(_0x71d0('0x3'));var express=require(_0x71d0('0x4'));var router=express[_0x71d0('0x5')]();var auth=require(_0x71d0('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x71d0('0x7'));router[_0x71d0('0x8')]('/',auth[_0x71d0('0x9')](),controller[_0x71d0('0xa')]);router[_0x71d0('0x8')](_0x71d0('0xb'),auth[_0x71d0('0x9')](),controller['show']);router[_0x71d0('0xc')]('/',auth[_0x71d0('0x9')](),controller[_0x71d0('0xd')]);router[_0x71d0('0xe')](_0x71d0('0xb'),auth[_0x71d0('0x9')](),controller[_0x71d0('0xf')]);router[_0x71d0('0x10')]('/:id',auth[_0x71d0('0x9')](),controller[_0x71d0('0x11')]);module[_0x71d0('0x12')]=router;