cbbdfcd445a064263bb6a68e7223bc82c007410a
[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 _0x00b3=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','isAuthenticated','index','get','/:id','post','create','put','delete','destroy'];(function(_0x4e1cb4,_0x59a797){var _0xc78e37=function(_0x1581ef){while(--_0x1581ef){_0x4e1cb4['push'](_0x4e1cb4['shift']());}};_0xc78e37(++_0x59a797);}(_0x00b3,0x157));var _0x300b=function(_0x1d03cd,_0x4eeacb){_0x1d03cd=_0x1d03cd-0x0;var _0x2794a8=_0x00b3[_0x1d03cd];return _0x2794a8;};'use strict';var multer=require(_0x300b('0x0'));var util=require(_0x300b('0x1'));var path=require(_0x300b('0x2'));var timeout=require(_0x300b('0x3'));var express=require(_0x300b('0x4'));var router=express[_0x300b('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x300b('0x6'));var interaction=require(_0x300b('0x7'));var config=require('../../config/environment');var controller=require(_0x300b('0x8'));router['get']('/',auth[_0x300b('0x9')](),controller[_0x300b('0xa')]);router[_0x300b('0xb')](_0x300b('0xc'),auth[_0x300b('0x9')](),controller['show']);router[_0x300b('0xd')]('/',auth[_0x300b('0x9')](),controller[_0x300b('0xe')]);router[_0x300b('0xf')](_0x300b('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x300b('0x10')](_0x300b('0xc'),auth['isAuthenticated'](),controller[_0x300b('0x11')]);module[_0x300b('0x12')]=router;