e4ce220c025f576a66c144774305e78e51d94e28
[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 _0x3bf4=['/:id','post','update','delete','destroy','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','get','isAuthenticated','index'];(function(_0x5951e8,_0x42b9a7){var _0x20a1f5=function(_0x2bc968){while(--_0x2bc968){_0x5951e8['push'](_0x5951e8['shift']());}};_0x20a1f5(++_0x42b9a7);}(_0x3bf4,0x1e1));var _0x43bf=function(_0x52be4b,_0x75a7cb){_0x52be4b=_0x52be4b-0x0;var _0x141b32=_0x3bf4[_0x52be4b];return _0x141b32;};'use strict';var multer=require('multer');var util=require(_0x43bf('0x0'));var path=require('path');var timeout=require(_0x43bf('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x43bf('0x2'));var auth=require(_0x43bf('0x3'));var interaction=require(_0x43bf('0x4'));var config=require('../../config/environment');var controller=require(_0x43bf('0x5'));router[_0x43bf('0x6')]('/',auth[_0x43bf('0x7')](),controller[_0x43bf('0x8')]);router[_0x43bf('0x6')](_0x43bf('0x9'),auth[_0x43bf('0x7')](),controller['show']);router[_0x43bf('0xa')]('/',auth[_0x43bf('0x7')](),controller['create']);router['put'](_0x43bf('0x9'),auth[_0x43bf('0x7')](),controller[_0x43bf('0xb')]);router[_0x43bf('0xc')]('/:id',auth[_0x43bf('0x7')](),controller[_0x43bf('0xd')]);module['exports']=router;