f18e48318809b33f6e97d0b74138ac1d45d84547
[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 _0x372b=['fs-extra','../../components/auth/service','../../components/interaction/service','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','exports','multer','util','connect-timeout','express','Router'];(function(_0x54f696,_0x532152){var _0x1323d8=function(_0x336656){while(--_0x336656){_0x54f696['push'](_0x54f696['shift']());}};_0x1323d8(++_0x532152);}(_0x372b,0x18a));var _0xb372=function(_0x357c6a,_0x356444){_0x357c6a=_0x357c6a-0x0;var _0x42ebf5=_0x372b[_0x357c6a];return _0x42ebf5;};'use strict';var multer=require(_0xb372('0x0'));var util=require(_0xb372('0x1'));var path=require('path');var timeout=require(_0xb372('0x2'));var express=require(_0xb372('0x3'));var router=express[_0xb372('0x4')]();var fs_extra=require(_0xb372('0x5'));var auth=require(_0xb372('0x6'));var interaction=require(_0xb372('0x7'));var config=require('../../config/environment');var controller=require(_0xb372('0x8'));router[_0xb372('0x9')]('/',auth[_0xb372('0xa')](),controller[_0xb372('0xb')]);router[_0xb372('0x9')](_0xb372('0xc'),auth[_0xb372('0xa')](),controller[_0xb372('0xd')]);router[_0xb372('0xe')]('/',auth[_0xb372('0xa')](),controller[_0xb372('0xf')]);router[_0xb372('0x10')]('/:id',auth[_0xb372('0xa')](),controller[_0xb372('0x11')]);router['delete'](_0xb372('0xc'),auth[_0xb372('0xa')](),controller['destroy']);module[_0xb372('0x12')]=router;