d6b0ed53f4037714c32bafecd647982642a5fd67
[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 _0x4bfd=['exports','multer','path','Router','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','post','create'];(function(_0x509e2f,_0x40be7b){var _0x36a911=function(_0x564c0c){while(--_0x564c0c){_0x509e2f['push'](_0x509e2f['shift']());}};_0x36a911(++_0x40be7b);}(_0x4bfd,0x153));var _0xd4bf=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4bfd[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xd4bf('0x0'));var util=require('util');var path=require(_0xd4bf('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xd4bf('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xd4bf('0x3'));var interaction=require(_0xd4bf('0x4'));var config=require('../../config/environment');var controller=require(_0xd4bf('0x5'));router[_0xd4bf('0x6')]('/',auth[_0xd4bf('0x7')](),controller[_0xd4bf('0x8')]);router[_0xd4bf('0x6')](_0xd4bf('0x9'),auth[_0xd4bf('0x7')](),controller['show']);router[_0xd4bf('0xa')]('/',auth[_0xd4bf('0x7')](),controller[_0xd4bf('0xb')]);router['put'](_0xd4bf('0x9'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xd4bf('0x9'),auth[_0xd4bf('0x7')](),controller['destroy']);module[_0xd4bf('0xc')]=router;