Built motion from commit e1760111.|2.6.18
[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 _0xf4e8=['../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra'];(function(_0x1c6045,_0x135c76){var _0x14c030=function(_0xf1d008){while(--_0xf1d008){_0x1c6045['push'](_0x1c6045['shift']());}};_0x14c030(++_0x135c76);}(_0xf4e8,0x1b3));var _0x8f4e=function(_0x1d5106,_0x35962f){_0x1d5106=_0x1d5106-0x0;var _0x327197=_0xf4e8[_0x1d5106];return _0x327197;};'use strict';var multer=require(_0x8f4e('0x0'));var util=require(_0x8f4e('0x1'));var path=require(_0x8f4e('0x2'));var timeout=require('connect-timeout');var express=require(_0x8f4e('0x3'));var router=express[_0x8f4e('0x4')]();var fs_extra=require(_0x8f4e('0x5'));var auth=require(_0x8f4e('0x6'));var interaction=require(_0x8f4e('0x7'));var config=require(_0x8f4e('0x8'));var controller=require(_0x8f4e('0x9'));router[_0x8f4e('0xa')]('/',auth[_0x8f4e('0xb')](),controller[_0x8f4e('0xc')]);router['get'](_0x8f4e('0xd'),auth[_0x8f4e('0xb')](),controller[_0x8f4e('0xe')]);router[_0x8f4e('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0x8f4e('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x8f4e('0x11')]);router[_0x8f4e('0x12')]('/:id',auth[_0x8f4e('0xb')](),controller[_0x8f4e('0x13')]);module[_0x8f4e('0x14')]=router;