d45e14c4e52b40f9136b3ca40ed8e56ed74fc3d4
[motion2.git] / server / api / voiceQueuesLog / 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 _0xc745=['put','delete','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x146b6e,_0x29b4f0){var _0x522712=function(_0x567a10){while(--_0x567a10){_0x146b6e['push'](_0x146b6e['shift']());}};_0x522712(++_0x29b4f0);}(_0xc745,0xf0));var _0x5c74=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0xc745[_0x4565bf];return _0x5610ba;};'use strict';var multer=require(_0x5c74('0x0'));var util=require(_0x5c74('0x1'));var path=require(_0x5c74('0x2'));var timeout=require('connect-timeout');var express=require(_0x5c74('0x3'));var router=express[_0x5c74('0x4')]();var auth=require(_0x5c74('0x5'));var interaction=require(_0x5c74('0x6'));var config=require('../../config/environment');var controller=require(_0x5c74('0x7'));router[_0x5c74('0x8')]('/',auth[_0x5c74('0x9')](),controller[_0x5c74('0xa')]);router['get'](_0x5c74('0xb'),auth[_0x5c74('0x9')](),controller[_0x5c74('0xc')]);router[_0x5c74('0xd')]('/',auth[_0x5c74('0x9')](),controller[_0x5c74('0xe')]);router[_0x5c74('0xf')](_0x5c74('0xb'),auth[_0x5c74('0x9')](),controller['update']);router[_0x5c74('0x10')]('/:id',auth[_0x5c74('0x9')](),controller['destroy']);module['exports']=router;