04884d5f24abf8dfa73629a7d43f20b68db7896f
[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 _0x9906=['isAuthenticated','index','/:id','show','create','put','update','delete','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceQueuesLog.controller','get'];(function(_0x35a08e,_0x2c7c9d){var _0x21793c=function(_0x1d33c2){while(--_0x1d33c2){_0x35a08e['push'](_0x35a08e['shift']());}};_0x21793c(++_0x2c7c9d);}(_0x9906,0xda));var _0x6990=function(_0x3e3eeb,_0x5067eb){_0x3e3eeb=_0x3e3eeb-0x0;var _0x2b9a89=_0x9906[_0x3e3eeb];return _0x2b9a89;};'use strict';var multer=require(_0x6990('0x0'));var util=require(_0x6990('0x1'));var path=require('path');var timeout=require(_0x6990('0x2'));var express=require(_0x6990('0x3'));var router=express[_0x6990('0x4')]();var fs_extra=require(_0x6990('0x5'));var auth=require(_0x6990('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x6990('0x7'));var controller=require(_0x6990('0x8'));router[_0x6990('0x9')]('/',auth[_0x6990('0xa')](),controller[_0x6990('0xb')]);router[_0x6990('0x9')](_0x6990('0xc'),auth['isAuthenticated'](),controller[_0x6990('0xd')]);router['post']('/',auth[_0x6990('0xa')](),controller[_0x6990('0xe')]);router[_0x6990('0xf')](_0x6990('0xc'),auth[_0x6990('0xa')](),controller[_0x6990('0x10')]);router[_0x6990('0x11')](_0x6990('0xc'),auth['isAuthenticated'](),controller[_0x6990('0x12')]);module['exports']=router;