Built motion from commit 43538d75.|2.5.35
[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 _0x3d4a=['./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','create','put','delete','destroy','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x48744a,_0xf2e253){var _0x18d441=function(_0x5c35c8){while(--_0x5c35c8){_0x48744a['push'](_0x48744a['shift']());}};_0x18d441(++_0xf2e253);}(_0x3d4a,0x1e6));var _0xa3d4=function(_0x33f980,_0x177f6e){_0x33f980=_0x33f980-0x0;var _0x23d807=_0x3d4a[_0x33f980];return _0x23d807;};'use strict';var multer=require(_0xa3d4('0x0'));var util=require(_0xa3d4('0x1'));var path=require('path');var timeout=require(_0xa3d4('0x2'));var express=require(_0xa3d4('0x3'));var router=express['Router']();var fs_extra=require(_0xa3d4('0x4'));var auth=require(_0xa3d4('0x5'));var interaction=require(_0xa3d4('0x6'));var config=require('../../config/environment');var controller=require(_0xa3d4('0x7'));router[_0xa3d4('0x8')]('/',auth[_0xa3d4('0x9')](),controller[_0xa3d4('0xa')]);router[_0xa3d4('0x8')](_0xa3d4('0xb'),auth[_0xa3d4('0x9')](),controller['show']);router['post']('/',auth[_0xa3d4('0x9')](),controller[_0xa3d4('0xc')]);router[_0xa3d4('0xd')](_0xa3d4('0xb'),auth[_0xa3d4('0x9')](),controller['update']);router[_0xa3d4('0xe')]('/:id',auth['isAuthenticated'](),controller[_0xa3d4('0xf')]);module[_0xa3d4('0x10')]=router;