Built motion from commit b0a9a629.|2.6.33
[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 _0x3f7c=['isAuthenticated','/:id','show','post','create','put','update','delete','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get'];(function(_0x248ba2,_0x49ed21){var _0x5de84b=function(_0x23f365){while(--_0x23f365){_0x248ba2['push'](_0x248ba2['shift']());}};_0x5de84b(++_0x49ed21);}(_0x3f7c,0xaa));var _0xc3f7=function(_0x1570bf,_0x421ee7){_0x1570bf=_0x1570bf-0x0;var _0x50cb83=_0x3f7c[_0x1570bf];return _0x50cb83;};'use strict';var multer=require(_0xc3f7('0x0'));var util=require(_0xc3f7('0x1'));var path=require(_0xc3f7('0x2'));var timeout=require(_0xc3f7('0x3'));var express=require(_0xc3f7('0x4'));var router=express['Router']();var fs_extra=require(_0xc3f7('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc3f7('0x6'));var config=require(_0xc3f7('0x7'));var controller=require(_0xc3f7('0x8'));router[_0xc3f7('0x9')]('/',auth[_0xc3f7('0xa')](),controller['index']);router[_0xc3f7('0x9')](_0xc3f7('0xb'),auth[_0xc3f7('0xa')](),controller[_0xc3f7('0xc')]);router[_0xc3f7('0xd')]('/',auth[_0xc3f7('0xa')](),controller[_0xc3f7('0xe')]);router[_0xc3f7('0xf')](_0xc3f7('0xb'),auth['isAuthenticated'](),controller[_0xc3f7('0x10')]);router[_0xc3f7('0x11')]('/:id',auth[_0xc3f7('0xa')](),controller['destroy']);module['exports']=router;