Built motion from commit 936e8062.|2.5.33
[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 _0xb011=['fs-extra','../../components/auth/service','../../config/environment','./voiceQueuesLog.controller','get','post','create','/:id','update','isAuthenticated','destroy','exports','multer','connect-timeout','express','Router'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xb011,0x19c));var _0x1b01=function(_0x25e631,_0x5a9276){_0x25e631=_0x25e631-0x0;var _0x5a9cef=_0xb011[_0x25e631];return _0x5a9cef;};'use strict';var multer=require(_0x1b01('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1b01('0x1'));var express=require(_0x1b01('0x2'));var router=express[_0x1b01('0x3')]();var fs_extra=require(_0x1b01('0x4'));var auth=require(_0x1b01('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1b01('0x6'));var controller=require(_0x1b01('0x7'));router[_0x1b01('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1b01('0x8')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x1b01('0x9')]('/',auth['isAuthenticated'](),controller[_0x1b01('0xa')]);router['put'](_0x1b01('0xb'),auth['isAuthenticated'](),controller[_0x1b01('0xc')]);router['delete'](_0x1b01('0xb'),auth[_0x1b01('0xd')](),controller[_0x1b01('0xe')]);module[_0x1b01('0xf')]=router;