Built motion from commit (unavailable).|2.5.4
[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 _0x15ff=['../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','index','/:id','isAuthenticated','show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','Router'];(function(_0x7a95d9,_0x102898){var _0x350273=function(_0x882ce7){while(--_0x882ce7){_0x7a95d9['push'](_0x7a95d9['shift']());}};_0x350273(++_0x102898);}(_0x15ff,0x74));var _0xf15f=function(_0x2a0733,_0x290d2b){_0x2a0733=_0x2a0733-0x0;var _0x15dc3b=_0x15ff[_0x2a0733];return _0x15dc3b;};'use strict';var multer=require(_0xf15f('0x0'));var util=require(_0xf15f('0x1'));var path=require('path');var timeout=require(_0xf15f('0x2'));var express=require('express');var router=express[_0xf15f('0x3')]();var auth=require(_0xf15f('0x4'));var interaction=require(_0xf15f('0x5'));var config=require(_0xf15f('0x6'));var controller=require(_0xf15f('0x7'));router[_0xf15f('0x8')]('/',auth['isAuthenticated'](),controller[_0xf15f('0x9')]);router['get'](_0xf15f('0xa'),auth[_0xf15f('0xb')](),controller[_0xf15f('0xc')]);router[_0xf15f('0xd')]('/',auth['isAuthenticated'](),controller[_0xf15f('0xe')]);router[_0xf15f('0xf')](_0xf15f('0xa'),auth['isAuthenticated'](),controller[_0xf15f('0x10')]);router[_0xf15f('0x11')]('/:id',auth[_0xf15f('0xb')](),controller[_0xf15f('0x12')]);module[_0xf15f('0x13')]=router;