Built motion from commit (unavailable).|2.4.3
[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 _0x9192=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','/:id','isAuthenticated','show','create','update','multer','util','path'];(function(_0x313c96,_0x3cee6e){var _0x522f53=function(_0x8961e){while(--_0x8961e){_0x313c96['push'](_0x313c96['shift']());}};_0x522f53(++_0x3cee6e);}(_0x9192,0xf9));var _0x2919=function(_0x576139,_0x4d401d){_0x576139=_0x576139-0x0;var _0x3519cc=_0x9192[_0x576139];return _0x3519cc;};'use strict';var multer=require(_0x2919('0x0'));var util=require(_0x2919('0x1'));var path=require(_0x2919('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2919('0x3')]();var auth=require(_0x2919('0x4'));var interaction=require(_0x2919('0x5'));var config=require(_0x2919('0x6'));var controller=require(_0x2919('0x7'));router[_0x2919('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x2919('0x8')](_0x2919('0x9'),auth[_0x2919('0xa')](),controller[_0x2919('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x2919('0xc')]);router['put'](_0x2919('0x9'),auth[_0x2919('0xa')](),controller[_0x2919('0xd')]);router['delete'](_0x2919('0x9'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;