Built motion from commit d5e4af8c.|2.6.23
[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 _0x635a=['post','create','put','update','delete','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','/:id','show'];(function(_0x53708d,_0x4d4138){var _0x5b19e7=function(_0x54c0f1){while(--_0x54c0f1){_0x53708d['push'](_0x53708d['shift']());}};_0x5b19e7(++_0x4d4138);}(_0x635a,0x110));var _0xa635=function(_0x2a911c,_0x3ef981){_0x2a911c=_0x2a911c-0x0;var _0x5a45ed=_0x635a[_0x2a911c];return _0x5a45ed;};'use strict';var multer=require(_0xa635('0x0'));var util=require(_0xa635('0x1'));var path=require('path');var timeout=require(_0xa635('0x2'));var express=require(_0xa635('0x3'));var router=express[_0xa635('0x4')]();var fs_extra=require(_0xa635('0x5'));var auth=require(_0xa635('0x6'));var interaction=require(_0xa635('0x7'));var config=require(_0xa635('0x8'));var controller=require('./voiceChanSpy.controller');router['get']('/',auth[_0xa635('0x9')](),controller[_0xa635('0xa')]);router['get'](_0xa635('0xb'),auth[_0xa635('0x9')](),controller[_0xa635('0xc')]);router[_0xa635('0xd')]('/',auth[_0xa635('0x9')](),controller[_0xa635('0xe')]);router[_0xa635('0xf')](_0xa635('0xb'),auth[_0xa635('0x9')](),controller[_0xa635('0x10')]);router[_0xa635('0x11')](_0xa635('0xb'),auth[_0xa635('0x9')](),controller['destroy']);module[_0xa635('0x12')]=router;