4b9853041eb2cd0fc1b4c5f18e26e769efb13eaf
[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 _0xb144=['destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','show','create','put','/:id','update','delete'];(function(_0x98bdf,_0x5ae0b2){var _0x1e5e4a=function(_0x47af1a){while(--_0x47af1a){_0x98bdf['push'](_0x98bdf['shift']());}};_0x1e5e4a(++_0x5ae0b2);}(_0xb144,0x146));var _0x4b14=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xb144[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0x4b14('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x4b14('0x1'));var express=require(_0x4b14('0x2'));var router=express[_0x4b14('0x3')]();var auth=require(_0x4b14('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x4b14('0x5'));var controller=require(_0x4b14('0x6'));router[_0x4b14('0x7')]('/',auth[_0x4b14('0x8')](),controller[_0x4b14('0x9')]);router[_0x4b14('0x7')]('/:id',auth[_0x4b14('0x8')](),controller[_0x4b14('0xa')]);router['post']('/',auth[_0x4b14('0x8')](),controller[_0x4b14('0xb')]);router[_0x4b14('0xc')](_0x4b14('0xd'),auth[_0x4b14('0x8')](),controller[_0x4b14('0xe')]);router[_0x4b14('0xf')]('/:id',auth[_0x4b14('0x8')](),controller[_0x4b14('0x10')]);module[_0x4b14('0x11')]=router;