1fbb2ec7887da2fd0fb047e6264516e6f6ffb693
[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 _0x2303=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy','multer','util'];(function(_0x5b3df8,_0x9ade33){var _0x2bb23a=function(_0x123278){while(--_0x123278){_0x5b3df8['push'](_0x5b3df8['shift']());}};_0x2bb23a(++_0x9ade33);}(_0x2303,0x75));var _0x3230=function(_0x3ccc03,_0x393b4b){_0x3ccc03=_0x3ccc03-0x0;var _0x1a1615=_0x2303[_0x3ccc03];return _0x1a1615;};'use strict';var multer=require(_0x3230('0x0'));var util=require(_0x3230('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x3230('0x2'));var auth=require(_0x3230('0x3'));var interaction=require(_0x3230('0x4'));var config=require(_0x3230('0x5'));var controller=require(_0x3230('0x6'));router[_0x3230('0x7')]('/',auth[_0x3230('0x8')](),controller[_0x3230('0x9')]);router[_0x3230('0x7')](_0x3230('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x3230('0xb')]('/',auth[_0x3230('0x8')](),controller[_0x3230('0xc')]);router[_0x3230('0xd')](_0x3230('0xa'),auth[_0x3230('0x8')](),controller[_0x3230('0xe')]);router[_0x3230('0xf')](_0x3230('0xa'),auth[_0x3230('0x8')](),controller[_0x3230('0x10')]);module['exports']=router;