Built motion from commit 00bf23f6.|2.6.16
[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 _0xcd1b=['destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','get','/:id','show','post','create','update','delete'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xcd1b,0x18e));var _0xbcd1=function(_0x1c8d4e,_0xe5779b){_0x1c8d4e=_0x1c8d4e-0x0;var _0x29409a=_0xcd1b[_0x1c8d4e];return _0x29409a;};'use strict';var multer=require(_0xbcd1('0x0'));var util=require(_0xbcd1('0x1'));var path=require('path');var timeout=require(_0xbcd1('0x2'));var express=require(_0xbcd1('0x3'));var router=express[_0xbcd1('0x4')]();var fs_extra=require(_0xbcd1('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xbcd1('0x6'));var config=require(_0xbcd1('0x7'));var controller=require('./voiceQueuesLog.controller');router['get']('/',auth[_0xbcd1('0x8')](),controller['index']);router[_0xbcd1('0x9')](_0xbcd1('0xa'),auth[_0xbcd1('0x8')](),controller[_0xbcd1('0xb')]);router[_0xbcd1('0xc')]('/',auth[_0xbcd1('0x8')](),controller[_0xbcd1('0xd')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xbcd1('0xe')]);router[_0xbcd1('0xf')]('/:id',auth[_0xbcd1('0x8')](),controller[_0xbcd1('0x10')]);module[_0xbcd1('0x11')]=router;