Built motion from commit 47436d59.|2.6.7
[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 _0xac8b=['util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','post','create','put','destroy','exports'];(function(_0x23bc60,_0x204a22){var _0x40da03=function(_0x34d0e2){while(--_0x34d0e2){_0x23bc60['push'](_0x23bc60['shift']());}};_0x40da03(++_0x204a22);}(_0xac8b,0x1c2));var _0xbac8=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xac8b[_0x20a584];return _0x4b41a8;};'use strict';var multer=require('multer');var util=require(_0xbac8('0x0'));var path=require(_0xbac8('0x1'));var timeout=require('connect-timeout');var express=require(_0xbac8('0x2'));var router=express[_0xbac8('0x3')]();var fs_extra=require(_0xbac8('0x4'));var auth=require(_0xbac8('0x5'));var interaction=require(_0xbac8('0x6'));var config=require(_0xbac8('0x7'));var controller=require(_0xbac8('0x8'));router[_0xbac8('0x9')]('/',auth[_0xbac8('0xa')](),controller[_0xbac8('0xb')]);router[_0xbac8('0x9')](_0xbac8('0xc'),auth[_0xbac8('0xa')](),controller['show']);router[_0xbac8('0xd')]('/',auth[_0xbac8('0xa')](),controller[_0xbac8('0xe')]);router[_0xbac8('0xf')](_0xbac8('0xc'),auth[_0xbac8('0xa')](),controller['update']);router['delete'](_0xbac8('0xc'),auth['isAuthenticated'](),controller[_0xbac8('0x10')]);module[_0xbac8('0x11')]=router;