9fb1004e7c1ca60acdb936c758a696b74369afb1
[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 _0xb1ae=['isAuthenticated','index','/:id','show','post','create','update','delete','destroy','multer','connect-timeout','express','Router','../../config/environment','get'];(function(_0x549278,_0x450754){var _0x1ea9a1=function(_0x2e559d){while(--_0x2e559d){_0x549278['push'](_0x549278['shift']());}};_0x1ea9a1(++_0x450754);}(_0xb1ae,0x1bc));var _0xeb1a=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xb1ae[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0xeb1a('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xeb1a('0x1'));var express=require(_0xeb1a('0x2'));var router=express[_0xeb1a('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xeb1a('0x4'));var controller=require('./voiceQueuesLog.controller');router[_0xeb1a('0x5')]('/',auth[_0xeb1a('0x6')](),controller[_0xeb1a('0x7')]);router[_0xeb1a('0x5')](_0xeb1a('0x8'),auth['isAuthenticated'](),controller[_0xeb1a('0x9')]);router[_0xeb1a('0xa')]('/',auth[_0xeb1a('0x6')](),controller[_0xeb1a('0xb')]);router['put'](_0xeb1a('0x8'),auth[_0xeb1a('0x6')](),controller[_0xeb1a('0xc')]);router[_0xeb1a('0xd')]('/:id',auth['isAuthenticated'](),controller[_0xeb1a('0xe')]);module['exports']=router;