69f3b38c16ecd72f3709e91d8b653874547c177c
[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 _0xb3a1=['../../components/interaction/service','isAuthenticated','index','get','/:id','show','post','put','update','delete','destroy','exports','path','express','Router','../../components/auth/service'];(function(_0x45bf86,_0x75586e){var _0x1f02b7=function(_0x1ea8a3){while(--_0x1ea8a3){_0x45bf86['push'](_0x45bf86['shift']());}};_0x1f02b7(++_0x75586e);}(_0xb3a1,0x1bc));var _0x1b3a=function(_0x4ce6f9,_0x38f6fe){_0x4ce6f9=_0x4ce6f9-0x0;var _0x5503a2=_0xb3a1[_0x4ce6f9];return _0x5503a2;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1b3a('0x0'));var timeout=require('connect-timeout');var express=require(_0x1b3a('0x1'));var router=express[_0x1b3a('0x2')]();var auth=require(_0x1b3a('0x3'));var interaction=require(_0x1b3a('0x4'));var config=require('../../config/environment');var controller=require('./voiceQueuesLog.controller');router['get']('/',auth[_0x1b3a('0x5')](),controller[_0x1b3a('0x6')]);router[_0x1b3a('0x7')](_0x1b3a('0x8'),auth[_0x1b3a('0x5')](),controller[_0x1b3a('0x9')]);router[_0x1b3a('0xa')]('/',auth['isAuthenticated'](),controller['create']);router[_0x1b3a('0xb')]('/:id',auth[_0x1b3a('0x5')](),controller[_0x1b3a('0xc')]);router[_0x1b3a('0xd')](_0x1b3a('0x8'),auth[_0x1b3a('0x5')](),controller[_0x1b3a('0xe')]);module[_0x1b3a('0xf')]=router;