Built motion from commit b5996064.|2.6.21
[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 _0xb28a=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','/:id','isAuthenticated','show','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x1cfc34,_0x180a47){var _0xcbc8ff=function(_0x3b2cca){while(--_0x3b2cca){_0x1cfc34['push'](_0x1cfc34['shift']());}};_0xcbc8ff(++_0x180a47);}(_0xb28a,0x6c));var _0xab28=function(_0x1f0714,_0xde0530){_0x1f0714=_0x1f0714-0x0;var _0x33669d=_0xb28a[_0x1f0714];return _0x33669d;};'use strict';var multer=require(_0xab28('0x0'));var util=require(_0xab28('0x1'));var path=require(_0xab28('0x2'));var timeout=require(_0xab28('0x3'));var express=require(_0xab28('0x4'));var router=express[_0xab28('0x5')]();var fs_extra=require(_0xab28('0x6'));var auth=require(_0xab28('0x7'));var interaction=require(_0xab28('0x8'));var config=require(_0xab28('0x9'));var controller=require(_0xab28('0xa'));router[_0xab28('0xb')]('/',auth['isAuthenticated'](),controller['index']);router[_0xab28('0xb')](_0xab28('0xc'),auth[_0xab28('0xd')](),controller[_0xab28('0xe')]);router[_0xab28('0xf')]('/',auth[_0xab28('0xd')](),controller[_0xab28('0x10')]);router[_0xab28('0x11')](_0xab28('0xc'),auth[_0xab28('0xd')](),controller[_0xab28('0x12')]);router[_0xab28('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xab28('0x14')]);module[_0xab28('0x15')]=router;