Built motion from commit (unavailable).|2.5.25
[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 _0xbf57=['connect-timeout','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','show','create','put','/:id','update','delete','destroy','util'];(function(_0x46f5ea,_0xb263a4){var _0x4b071e=function(_0x537091){while(--_0x537091){_0x46f5ea['push'](_0x46f5ea['shift']());}};_0x4b071e(++_0xb263a4);}(_0xbf57,0x1bf));var _0x7bf5=function(_0x5505a6,_0x3ecff8){_0x5505a6=_0x5505a6-0x0;var _0x95632=_0xbf57[_0x5505a6];return _0x95632;};'use strict';var multer=require('multer');var util=require(_0x7bf5('0x0'));var path=require('path');var timeout=require(_0x7bf5('0x1'));var express=require(_0x7bf5('0x2'));var router=express[_0x7bf5('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x7bf5('0x4'));var config=require(_0x7bf5('0x5'));var controller=require('./voiceQueuesLog.controller');router['get']('/',auth[_0x7bf5('0x6')](),controller[_0x7bf5('0x7')]);router[_0x7bf5('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x7bf5('0x9')]);router['post']('/',auth[_0x7bf5('0x6')](),controller[_0x7bf5('0xa')]);router[_0x7bf5('0xb')](_0x7bf5('0xc'),auth[_0x7bf5('0x6')](),controller[_0x7bf5('0xd')]);router[_0x7bf5('0xe')]('/:id',auth[_0x7bf5('0x6')](),controller[_0x7bf5('0xf')]);module['exports']=router;