Built motion from commit (unavailable).|2.5.2
[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 _0x2b34=['../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','/:id','show','post','create','put','update','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2493f7,_0x49c670){var _0x594ab2=function(_0x344ec2){while(--_0x344ec2){_0x2493f7['push'](_0x2493f7['shift']());}};_0x594ab2(++_0x49c670);}(_0x2b34,0x81));var _0x42b3=function(_0x1008b9,_0x40b907){_0x1008b9=_0x1008b9-0x0;var _0x346f4a=_0x2b34[_0x1008b9];return _0x346f4a;};'use strict';var multer=require('multer');var util=require(_0x42b3('0x0'));var path=require(_0x42b3('0x1'));var timeout=require(_0x42b3('0x2'));var express=require(_0x42b3('0x3'));var router=express[_0x42b3('0x4')]();var auth=require(_0x42b3('0x5'));var interaction=require(_0x42b3('0x6'));var config=require(_0x42b3('0x7'));var controller=require(_0x42b3('0x8'));router[_0x42b3('0x9')]('/',auth[_0x42b3('0xa')](),controller['index']);router[_0x42b3('0x9')](_0x42b3('0xb'),auth[_0x42b3('0xa')](),controller[_0x42b3('0xc')]);router[_0x42b3('0xd')]('/',auth['isAuthenticated'](),controller[_0x42b3('0xe')]);router[_0x42b3('0xf')](_0x42b3('0xb'),auth[_0x42b3('0xa')](),controller[_0x42b3('0x10')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module['exports']=router;