Built motion from commit (unavailable).|2.5.14
[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 _0xc17f=['destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','post','put','/:id','delete'];(function(_0x5f0ba5,_0x269b28){var _0x1ff178=function(_0xe1b9b1){while(--_0xe1b9b1){_0x5f0ba5['push'](_0x5f0ba5['shift']());}};_0x1ff178(++_0x269b28);}(_0xc17f,0x155));var _0xfc17=function(_0x30b3bb,_0x3530b9){_0x30b3bb=_0x30b3bb-0x0;var _0xd22413=_0xc17f[_0x30b3bb];return _0xd22413;};'use strict';var multer=require(_0xfc17('0x0'));var util=require(_0xfc17('0x1'));var path=require(_0xfc17('0x2'));var timeout=require(_0xfc17('0x3'));var express=require(_0xfc17('0x4'));var router=express[_0xfc17('0x5')]();var auth=require(_0xfc17('0x6'));var interaction=require(_0xfc17('0x7'));var config=require(_0xfc17('0x8'));var controller=require(_0xfc17('0x9'));router[_0xfc17('0xa')]('/',auth[_0xfc17('0xb')](),controller['index']);router['get']('/:id',auth[_0xfc17('0xb')](),controller['show']);router[_0xfc17('0xc')]('/',auth[_0xfc17('0xb')](),controller['create']);router[_0xfc17('0xd')](_0xfc17('0xe'),auth['isAuthenticated'](),controller['update']);router[_0xfc17('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xfc17('0x10')]);module['exports']=router;