6dd143d430c046a55487176ab8398e9ae2933013
[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 _0xed87=['get','show','post','isAuthenticated','create','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller'];(function(_0x328e21,_0x101009){var _0x3ff519=function(_0x3c93b6){while(--_0x3c93b6){_0x328e21['push'](_0x328e21['shift']());}};_0x3ff519(++_0x101009);}(_0xed87,0xfa));var _0x7ed8=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xed87[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0x7ed8('0x0'));var util=require(_0x7ed8('0x1'));var path=require(_0x7ed8('0x2'));var timeout=require(_0x7ed8('0x3'));var express=require(_0x7ed8('0x4'));var router=express[_0x7ed8('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x7ed8('0x6'));var interaction=require(_0x7ed8('0x7'));var config=require(_0x7ed8('0x8'));var controller=require(_0x7ed8('0x9'));router[_0x7ed8('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7ed8('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x7ed8('0xb')]);router[_0x7ed8('0xc')]('/',auth[_0x7ed8('0xd')](),controller[_0x7ed8('0xe')]);router[_0x7ed8('0xf')](_0x7ed8('0x10'),auth['isAuthenticated'](),controller['update']);router[_0x7ed8('0x11')](_0x7ed8('0x10'),auth[_0x7ed8('0xd')](),controller[_0x7ed8('0x12')]);module[_0x7ed8('0x13')]=router;