Built motion from commit (unavailable).|2.5.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 _0x5b8a=['/:id','show','post','create','put','update','delete','destroy','exports','connect-timeout','Router','../../components/auth/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index'];(function(_0x2b5513,_0x3fe5cd){var _0x578fd2=function(_0x7a9106){while(--_0x7a9106){_0x2b5513['push'](_0x2b5513['shift']());}};_0x578fd2(++_0x3fe5cd);}(_0x5b8a,0x119));var _0xa5b8=function(_0x50c43d,_0x52b18d){_0x50c43d=_0x50c43d-0x0;var _0x4451a1=_0x5b8a[_0x50c43d];return _0x4451a1;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xa5b8('0x0'));var express=require('express');var router=express[_0xa5b8('0x1')]();var auth=require(_0xa5b8('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0xa5b8('0x3'));var controller=require(_0xa5b8('0x4'));router[_0xa5b8('0x5')]('/',auth[_0xa5b8('0x6')](),controller[_0xa5b8('0x7')]);router['get'](_0xa5b8('0x8'),auth[_0xa5b8('0x6')](),controller[_0xa5b8('0x9')]);router[_0xa5b8('0xa')]('/',auth[_0xa5b8('0x6')](),controller[_0xa5b8('0xb')]);router[_0xa5b8('0xc')](_0xa5b8('0x8'),auth['isAuthenticated'](),controller[_0xa5b8('0xd')]);router[_0xa5b8('0xe')]('/:id',auth['isAuthenticated'](),controller[_0xa5b8('0xf')]);module[_0xa5b8('0x10')]=router;