Built motion from commit (unavailable).|2.4.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 _0xe528=['delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','create','put','update'];(function(_0x5bc28b,_0x5bf1a0){var _0x27a1d9=function(_0x383423){while(--_0x383423){_0x5bc28b['push'](_0x5bc28b['shift']());}};_0x27a1d9(++_0x5bf1a0);}(_0xe528,0x167));var _0x8e52=function(_0x354ca3,_0x540bdb){_0x354ca3=_0x354ca3-0x0;var _0x22eb2c=_0xe528[_0x354ca3];return _0x22eb2c;};'use strict';var multer=require(_0x8e52('0x0'));var util=require(_0x8e52('0x1'));var path=require(_0x8e52('0x2'));var timeout=require(_0x8e52('0x3'));var express=require('express');var router=express[_0x8e52('0x4')]();var auth=require(_0x8e52('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8e52('0x6'));var controller=require(_0x8e52('0x7'));router[_0x8e52('0x8')]('/',auth[_0x8e52('0x9')](),controller[_0x8e52('0xa')]);router[_0x8e52('0x8')](_0x8e52('0xb'),auth[_0x8e52('0x9')](),controller['show']);router['post']('/',auth[_0x8e52('0x9')](),controller[_0x8e52('0xc')]);router[_0x8e52('0xd')](_0x8e52('0xb'),auth[_0x8e52('0x9')](),controller[_0x8e52('0xe')]);router[_0x8e52('0xf')](_0x8e52('0xb'),auth[_0x8e52('0x9')](),controller[_0x8e52('0x10')]);module['exports']=router;