Built motion from commit 497d3d92.|2.5.43
[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 _0xd22e=['update','destroy','exports','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','post','put'];(function(_0x212736,_0x1df2ad){var _0x34791a=function(_0x30304f){while(--_0x30304f){_0x212736['push'](_0x212736['shift']());}};_0x34791a(++_0x1df2ad);}(_0xd22e,0xbe));var _0xed22=function(_0x4a9754,_0x4121ab){_0x4a9754=_0x4a9754-0x0;var _0x1f09ef=_0xd22e[_0x4a9754];return _0x1f09ef;};'use strict';var multer=require(_0xed22('0x0'));var util=require('util');var path=require(_0xed22('0x1'));var timeout=require(_0xed22('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xed22('0x3'));var auth=require(_0xed22('0x4'));var interaction=require(_0xed22('0x5'));var config=require(_0xed22('0x6'));var controller=require(_0xed22('0x7'));router[_0xed22('0x8')]('/',auth[_0xed22('0x9')](),controller[_0xed22('0xa')]);router[_0xed22('0x8')](_0xed22('0xb'),auth[_0xed22('0x9')](),controller['show']);router[_0xed22('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xed22('0xd')](_0xed22('0xb'),auth[_0xed22('0x9')](),controller[_0xed22('0xe')]);router['delete'](_0xed22('0xb'),auth[_0xed22('0x9')](),controller[_0xed22('0xf')]);module[_0xed22('0x10')]=router;