f7ab06eb269730cc33b4dd16c2705bba04617ae2
[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 _0xbf4b=['get','index','/:id','isAuthenticated','show','create','update','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller'];(function(_0x556c4d,_0x5a275d){var _0x136bb3=function(_0x344695){while(--_0x344695){_0x556c4d['push'](_0x556c4d['shift']());}};_0x136bb3(++_0x5a275d);}(_0xbf4b,0x99));var _0xbbf4=function(_0x221a0f,_0x3970f6){_0x221a0f=_0x221a0f-0x0;var _0x30309e=_0xbf4b[_0x221a0f];return _0x30309e;};'use strict';var multer=require(_0xbbf4('0x0'));var util=require(_0xbbf4('0x1'));var path=require('path');var timeout=require(_0xbbf4('0x2'));var express=require(_0xbbf4('0x3'));var router=express[_0xbbf4('0x4')]();var auth=require(_0xbbf4('0x5'));var interaction=require(_0xbbf4('0x6'));var config=require(_0xbbf4('0x7'));var controller=require(_0xbbf4('0x8'));router[_0xbbf4('0x9')]('/',auth['isAuthenticated'](),controller[_0xbbf4('0xa')]);router[_0xbbf4('0x9')](_0xbbf4('0xb'),auth[_0xbbf4('0xc')](),controller[_0xbbf4('0xd')]);router['post']('/',auth[_0xbbf4('0xc')](),controller[_0xbbf4('0xe')]);router['put']('/:id',auth[_0xbbf4('0xc')](),controller[_0xbbf4('0xf')]);router[_0xbbf4('0x10')]('/:id',auth[_0xbbf4('0xc')](),controller[_0xbbf4('0x11')]);module['exports']=router;