Built motion from commit ddca4d0d.|2.5.47
[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 _0x07ff=['put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','isAuthenticated','show','post','create'];(function(_0x474d97,_0x5909ce){var _0x1edf25=function(_0x2831df){while(--_0x2831df){_0x474d97['push'](_0x474d97['shift']());}};_0x1edf25(++_0x5909ce);}(_0x07ff,0x1bd));var _0xf07f=function(_0x2b570f,_0x5c51a6){_0x2b570f=_0x2b570f-0x0;var _0x3d0dc8=_0x07ff[_0x2b570f];return _0x3d0dc8;};'use strict';var multer=require(_0xf07f('0x0'));var util=require(_0xf07f('0x1'));var path=require(_0xf07f('0x2'));var timeout=require(_0xf07f('0x3'));var express=require(_0xf07f('0x4'));var router=express['Router']();var fs_extra=require(_0xf07f('0x5'));var auth=require(_0xf07f('0x6'));var interaction=require(_0xf07f('0x7'));var config=require(_0xf07f('0x8'));var controller=require('./voiceChanSpy.controller');router[_0xf07f('0x9')]('/',auth['isAuthenticated'](),controller[_0xf07f('0xa')]);router[_0xf07f('0x9')]('/:id',auth[_0xf07f('0xb')](),controller[_0xf07f('0xc')]);router[_0xf07f('0xd')]('/',auth[_0xf07f('0xb')](),controller[_0xf07f('0xe')]);router[_0xf07f('0xf')]('/:id',auth[_0xf07f('0xb')](),controller[_0xf07f('0x10')]);router[_0xf07f('0x11')]('/:id',auth[_0xf07f('0xb')](),controller[_0xf07f('0x12')]);module[_0xf07f('0x13')]=router;