Built motion from commit 994c64e1.|2.6.1
[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 _0x318a=['../../components/auth/service','../../components/interaction/service','./voiceChanSpy.controller','isAuthenticated','index','get','show','post','create','put','update','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x5e8680,_0xbdeb4e){var _0x3f070c=function(_0x34b1a0){while(--_0x34b1a0){_0x5e8680['push'](_0x5e8680['shift']());}};_0x3f070c(++_0xbdeb4e);}(_0x318a,0x19b));var _0xa318=function(_0x42a8f1,_0x12a080){_0x42a8f1=_0x42a8f1-0x0;var _0x3aaad7=_0x318a[_0x42a8f1];return _0x3aaad7;};'use strict';var multer=require(_0xa318('0x0'));var util=require(_0xa318('0x1'));var path=require(_0xa318('0x2'));var timeout=require(_0xa318('0x3'));var express=require(_0xa318('0x4'));var router=express[_0xa318('0x5')]();var fs_extra=require(_0xa318('0x6'));var auth=require(_0xa318('0x7'));var interaction=require(_0xa318('0x8'));var config=require('../../config/environment');var controller=require(_0xa318('0x9'));router['get']('/',auth[_0xa318('0xa')](),controller[_0xa318('0xb')]);router[_0xa318('0xc')]('/:id',auth[_0xa318('0xa')](),controller[_0xa318('0xd')]);router[_0xa318('0xe')]('/',auth[_0xa318('0xa')](),controller[_0xa318('0xf')]);router[_0xa318('0x10')]('/:id',auth[_0xa318('0xa')](),controller[_0xa318('0x11')]);router[_0xa318('0x12')](_0xa318('0x13'),auth[_0xa318('0xa')](),controller[_0xa318('0x14')]);module[_0xa318('0x15')]=router;