Built motion from commit 25580385.|2.6.2
[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 _0xe495=['destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','show','post','put','update','delete'];(function(_0x340380,_0x4bd2a8){var _0x49ce1c=function(_0x4cb9e2){while(--_0x4cb9e2){_0x340380['push'](_0x340380['shift']());}};_0x49ce1c(++_0x4bd2a8);}(_0xe495,0xfe));var _0x5e49=function(_0x599f41,_0x4db732){_0x599f41=_0x599f41-0x0;var _0x2e4d58=_0xe495[_0x599f41];return _0x2e4d58;};'use strict';var multer=require(_0x5e49('0x0'));var util=require('util');var path=require(_0x5e49('0x1'));var timeout=require(_0x5e49('0x2'));var express=require('express');var router=express[_0x5e49('0x3')]();var fs_extra=require(_0x5e49('0x4'));var auth=require(_0x5e49('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x5e49('0x6'));var controller=require(_0x5e49('0x7'));router[_0x5e49('0x8')]('/',auth[_0x5e49('0x9')](),controller[_0x5e49('0xa')]);router[_0x5e49('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x5e49('0xb')]);router[_0x5e49('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x5e49('0xd')]('/:id',auth[_0x5e49('0x9')](),controller[_0x5e49('0xe')]);router[_0x5e49('0xf')]('/:id',auth[_0x5e49('0x9')](),controller[_0x5e49('0x10')]);module[_0x5e49('0x11')]=router;