5367e4647119495094ccff8e6033bc4840f23c88
[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 _0xe539=['path','connect-timeout','express','Router','fs-extra','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','show','post','update','delete','exports','multer'];(function(_0x30305f,_0x1a371c){var _0xe932ff=function(_0x299873){while(--_0x299873){_0x30305f['push'](_0x30305f['shift']());}};_0xe932ff(++_0x1a371c);}(_0xe539,0x164));var _0x9e53=function(_0x259d17,_0x220710){_0x259d17=_0x259d17-0x0;var _0x407535=_0xe539[_0x259d17];return _0x407535;};'use strict';var multer=require(_0x9e53('0x0'));var util=require('util');var path=require(_0x9e53('0x1'));var timeout=require(_0x9e53('0x2'));var express=require(_0x9e53('0x3'));var router=express[_0x9e53('0x4')]();var fs_extra=require(_0x9e53('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x9e53('0x6'));var controller=require(_0x9e53('0x7'));router[_0x9e53('0x8')]('/',auth[_0x9e53('0x9')](),controller[_0x9e53('0xa')]);router[_0x9e53('0x8')](_0x9e53('0xb'),auth[_0x9e53('0x9')](),controller[_0x9e53('0xc')]);router[_0x9e53('0xd')]('/',auth[_0x9e53('0x9')](),controller['create']);router['put'](_0x9e53('0xb'),auth['isAuthenticated'](),controller[_0x9e53('0xe')]);router[_0x9e53('0xf')](_0x9e53('0xb'),auth[_0x9e53('0x9')](),controller['destroy']);module[_0x9e53('0x10')]=router;