Built motion from commit (unavailable).|2.5.3
[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 _0x9c12=['connect-timeout','Router','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','create','exports'];(function(_0x56ba92,_0xb3c986){var _0x8fe94d=function(_0x23b21c){while(--_0x23b21c){_0x56ba92['push'](_0x56ba92['shift']());}};_0x8fe94d(++_0xb3c986);}(_0x9c12,0x8f));var _0x29c1=function(_0x46698a,_0x8de1e4){_0x46698a=_0x46698a-0x0;var _0x356db0=_0x9c12[_0x46698a];return _0x356db0;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x29c1('0x0'));var express=require('express');var router=express[_0x29c1('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0x29c1('0x2'));var config=require(_0x29c1('0x3'));var controller=require(_0x29c1('0x4'));router[_0x29c1('0x5')]('/',auth[_0x29c1('0x6')](),controller[_0x29c1('0x7')]);router[_0x29c1('0x5')](_0x29c1('0x8'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x29c1('0x6')](),controller[_0x29c1('0x9')]);router['put']('/:id',auth[_0x29c1('0x6')](),controller['update']);router['delete'](_0x29c1('0x8'),auth[_0x29c1('0x6')](),controller['destroy']);module[_0x29c1('0xa')]=router;