f41577207b2fbeabd9a77e5aef0a3c43f2ea4ef4
[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 _0xa928=['util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','create','update','delete','destroy','multer'];(function(_0x1f9f37,_0x18776e){var _0x21c080=function(_0x4acb93){while(--_0x4acb93){_0x1f9f37['push'](_0x1f9f37['shift']());}};_0x21c080(++_0x18776e);}(_0xa928,0xe3));var _0x8a92=function(_0x94cd28,_0x3dafce){_0x94cd28=_0x94cd28-0x0;var _0x1a4d3c=_0xa928[_0x94cd28];return _0x1a4d3c;};'use strict';var multer=require(_0x8a92('0x0'));var util=require(_0x8a92('0x1'));var path=require('path');var timeout=require(_0x8a92('0x2'));var express=require(_0x8a92('0x3'));var router=express[_0x8a92('0x4')]();var fs_extra=require(_0x8a92('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x8a92('0x6'));var config=require(_0x8a92('0x7'));var controller=require(_0x8a92('0x8'));router[_0x8a92('0x9')]('/',auth[_0x8a92('0xa')](),controller[_0x8a92('0xb')]);router[_0x8a92('0x9')](_0x8a92('0xc'),auth[_0x8a92('0xa')](),controller[_0x8a92('0xd')]);router[_0x8a92('0xe')]('/',auth[_0x8a92('0xa')](),controller[_0x8a92('0xf')]);router['put']('/:id',auth[_0x8a92('0xa')](),controller[_0x8a92('0x10')]);router[_0x8a92('0x11')]('/:id',auth[_0x8a92('0xa')](),controller[_0x8a92('0x12')]);module['exports']=router;