Built motion from commit 3e059bc2.|2.5.32
[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 _0x8b6c=['connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','exports','util'];(function(_0x3f670b,_0x10f414){var _0x1c0978=function(_0x5c1276){while(--_0x5c1276){_0x3f670b['push'](_0x3f670b['shift']());}};_0x1c0978(++_0x10f414);}(_0x8b6c,0xe9));var _0xc8b6=function(_0x15565b,_0x568dc3){_0x15565b=_0x15565b-0x0;var _0x5e7ac1=_0x8b6c[_0x15565b];return _0x5e7ac1;};'use strict';var multer=require('multer');var util=require(_0xc8b6('0x0'));var path=require('path');var timeout=require(_0xc8b6('0x1'));var express=require(_0xc8b6('0x2'));var router=express[_0xc8b6('0x3')]();var fs_extra=require(_0xc8b6('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xc8b6('0x5'));var config=require(_0xc8b6('0x6'));var controller=require(_0xc8b6('0x7'));router[_0xc8b6('0x8')]('/',auth[_0xc8b6('0x9')](),controller[_0xc8b6('0xa')]);router[_0xc8b6('0x8')](_0xc8b6('0xb'),auth[_0xc8b6('0x9')](),controller[_0xc8b6('0xc')]);router[_0xc8b6('0xd')]('/',auth[_0xc8b6('0x9')](),controller[_0xc8b6('0xe')]);router[_0xc8b6('0xf')](_0xc8b6('0xb'),auth['isAuthenticated'](),controller[_0xc8b6('0x10')]);router['delete'](_0xc8b6('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0xc8b6('0x11')]=router;