cfa912a43a6a367f81684e0abfd0e9f9f8abc37f
[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 _0x2d8b=['create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceChanSpy.controller','isAuthenticated','index','get','/:id','show','post'];(function(_0x421725,_0x318a04){var _0x51b322=function(_0xe58018){while(--_0xe58018){_0x421725['push'](_0x421725['shift']());}};_0x51b322(++_0x318a04);}(_0x2d8b,0x1e9));var _0xb2d8=function(_0x3aed59,_0x270ee1){_0x3aed59=_0x3aed59-0x0;var _0x15d9bb=_0x2d8b[_0x3aed59];return _0x15d9bb;};'use strict';var multer=require(_0xb2d8('0x0'));var util=require(_0xb2d8('0x1'));var path=require(_0xb2d8('0x2'));var timeout=require(_0xb2d8('0x3'));var express=require('express');var router=express[_0xb2d8('0x4')]();var fs_extra=require(_0xb2d8('0x5'));var auth=require(_0xb2d8('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xb2d8('0x7'));var controller=require(_0xb2d8('0x8'));router['get']('/',auth[_0xb2d8('0x9')](),controller[_0xb2d8('0xa')]);router[_0xb2d8('0xb')](_0xb2d8('0xc'),auth[_0xb2d8('0x9')](),controller[_0xb2d8('0xd')]);router[_0xb2d8('0xe')]('/',auth[_0xb2d8('0x9')](),controller[_0xb2d8('0xf')]);router[_0xb2d8('0x10')](_0xb2d8('0xc'),auth[_0xb2d8('0x9')](),controller[_0xb2d8('0x11')]);router[_0xb2d8('0x12')](_0xb2d8('0xc'),auth[_0xb2d8('0x9')](),controller[_0xb2d8('0x13')]);module[_0xb2d8('0x14')]=router;