de87325e251293871bb2d1a777dc952155f99d77
[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 _0x08f6=['put','delete','multer','express','Router','fs-extra','../../components/interaction/service','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x08f6,0x110));var _0x608f=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0x08f6[_0x2d7f0e];return _0x110b07;};'use strict';var multer=require(_0x608f('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x608f('0x1'));var router=express[_0x608f('0x2')]();var fs_extra=require(_0x608f('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x608f('0x4'));var config=require('../../config/environment');var controller=require(_0x608f('0x5'));router[_0x608f('0x6')]('/',auth[_0x608f('0x7')](),controller[_0x608f('0x8')]);router['get'](_0x608f('0x9'),auth['isAuthenticated'](),controller[_0x608f('0xa')]);router[_0x608f('0xb')]('/',auth[_0x608f('0x7')](),controller[_0x608f('0xc')]);router[_0x608f('0xd')](_0x608f('0x9'),auth[_0x608f('0x7')](),controller['update']);router[_0x608f('0xe')]('/:id',auth[_0x608f('0x7')](),controller['destroy']);module['exports']=router;