3e933323574b963cfb3718801edb362b938112a1
[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 _0xc130=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','exports','multer','util'];(function(_0x819464,_0x46fc91){var _0x49dcc0=function(_0x36b2b2){while(--_0x36b2b2){_0x819464['push'](_0x819464['shift']());}};_0x49dcc0(++_0x46fc91);}(_0xc130,0x7c));var _0x0c13=function(_0x56472d,_0x59c70a){_0x56472d=_0x56472d-0x0;var _0x8aa2af=_0xc130[_0x56472d];return _0x8aa2af;};'use strict';var multer=require(_0x0c13('0x0'));var util=require(_0x0c13('0x1'));var path=require(_0x0c13('0x2'));var timeout=require(_0x0c13('0x3'));var express=require(_0x0c13('0x4'));var router=express[_0x0c13('0x5')]();var auth=require(_0x0c13('0x6'));var interaction=require(_0x0c13('0x7'));var config=require(_0x0c13('0x8'));var controller=require(_0x0c13('0x9'));router[_0x0c13('0xa')]('/',auth[_0x0c13('0xb')](),controller[_0x0c13('0xc')]);router[_0x0c13('0xa')](_0x0c13('0xd'),auth[_0x0c13('0xb')](),controller[_0x0c13('0xe')]);router[_0x0c13('0xf')]('/',auth['isAuthenticated'](),controller[_0x0c13('0x10')]);router[_0x0c13('0x11')]('/:id',auth[_0x0c13('0xb')](),controller[_0x0c13('0x12')]);router[_0x0c13('0x13')]('/:id',auth[_0x0c13('0xb')](),controller['destroy']);module[_0x0c13('0x14')]=router;