30fe31cc772d806059d80baff59b088da84bbebd
[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 _0x43c2=['multer','util','path','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','show','put','delete','destroy'];(function(_0x3bcc3f,_0x56eb31){var _0x147932=function(_0x354576){while(--_0x354576){_0x3bcc3f['push'](_0x3bcc3f['shift']());}};_0x147932(++_0x56eb31);}(_0x43c2,0x1a4));var _0x243c=function(_0x3f91fd,_0x272c55){_0x3f91fd=_0x3f91fd-0x0;var _0x845c95=_0x43c2[_0x3f91fd];return _0x845c95;};'use strict';var multer=require(_0x243c('0x0'));var util=require(_0x243c('0x1'));var path=require(_0x243c('0x2'));var timeout=require('connect-timeout');var express=require(_0x243c('0x3'));var router=express[_0x243c('0x4')]();var auth=require(_0x243c('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x243c('0x6'));var controller=require('./voiceQueuesLog.controller');router[_0x243c('0x7')]('/',auth[_0x243c('0x8')](),controller[_0x243c('0x9')]);router['get'](_0x243c('0xa'),auth['isAuthenticated'](),controller[_0x243c('0xb')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x243c('0xc')](_0x243c('0xa'),auth['isAuthenticated'](),controller['update']);router[_0x243c('0xd')](_0x243c('0xa'),auth[_0x243c('0x8')](),controller[_0x243c('0xe')]);module['exports']=router;