Built motion from commit 14588770.|2.5.38
[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 _0x75fb=['show','post','create','put','delete','destroy','exports','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id'];(function(_0x15c421,_0x6366f7){var _0x5e5ed5=function(_0x206e66){while(--_0x206e66){_0x15c421['push'](_0x15c421['shift']());}};_0x5e5ed5(++_0x6366f7);}(_0x75fb,0x15d));var _0xb75f=function(_0x18f027,_0x22098f){_0x18f027=_0x18f027-0x0;var _0x5f2347=_0x75fb[_0x18f027];return _0x5f2347;};'use strict';var multer=require('multer');var util=require(_0xb75f('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb75f('0x1'));var router=express[_0xb75f('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xb75f('0x3'));var interaction=require(_0xb75f('0x4'));var config=require(_0xb75f('0x5'));var controller=require(_0xb75f('0x6'));router[_0xb75f('0x7')]('/',auth[_0xb75f('0x8')](),controller[_0xb75f('0x9')]);router[_0xb75f('0x7')](_0xb75f('0xa'),auth[_0xb75f('0x8')](),controller[_0xb75f('0xb')]);router[_0xb75f('0xc')]('/',auth[_0xb75f('0x8')](),controller[_0xb75f('0xd')]);router[_0xb75f('0xe')](_0xb75f('0xa'),auth[_0xb75f('0x8')](),controller['update']);router[_0xb75f('0xf')](_0xb75f('0xa'),auth[_0xb75f('0x8')](),controller[_0xb75f('0x10')]);module[_0xb75f('0x11')]=router;