Built motion from commit da24aabd.|2.6.20
[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 _0x81ef=['update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','put'];(function(_0x3eae73,_0x22e3d0){var _0x42487b=function(_0x1a5494){while(--_0x1a5494){_0x3eae73['push'](_0x3eae73['shift']());}};_0x42487b(++_0x22e3d0);}(_0x81ef,0x16c));var _0xf81e=function(_0x46b585,_0x23442e){_0x46b585=_0x46b585-0x0;var _0xa437f3=_0x81ef[_0x46b585];return _0xa437f3;};'use strict';var multer=require(_0xf81e('0x0'));var util=require(_0xf81e('0x1'));var path=require('path');var timeout=require(_0xf81e('0x2'));var express=require(_0xf81e('0x3'));var router=express[_0xf81e('0x4')]();var fs_extra=require(_0xf81e('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xf81e('0x6'));var config=require('../../config/environment');var controller=require(_0xf81e('0x7'));router[_0xf81e('0x8')]('/',auth[_0xf81e('0x9')](),controller[_0xf81e('0xa')]);router[_0xf81e('0x8')](_0xf81e('0xb'),auth[_0xf81e('0x9')](),controller[_0xf81e('0xc')]);router['post']('/',auth[_0xf81e('0x9')](),controller['create']);router[_0xf81e('0xd')](_0xf81e('0xb'),auth[_0xf81e('0x9')](),controller[_0xf81e('0xe')]);router[_0xf81e('0xf')]('/:id',auth[_0xf81e('0x9')](),controller[_0xf81e('0x10')]);module[_0xf81e('0x11')]=router;