Built motion from commit 14588770.|2.5.38
[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 _0x120b=['get','index','/:id','isAuthenticated','post','create','put','update','exports','multer','util','connect-timeout','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x2a31cd,_0x15a139){var _0x22b1ba=function(_0x39ea30){while(--_0x39ea30){_0x2a31cd['push'](_0x2a31cd['shift']());}};_0x22b1ba(++_0x15a139);}(_0x120b,0x180));var _0xb120=function(_0xd093ad,_0x565a8f){_0xd093ad=_0xd093ad-0x0;var _0x26c9d0=_0x120b[_0xd093ad];return _0x26c9d0;};'use strict';var multer=require(_0xb120('0x0'));var util=require(_0xb120('0x1'));var path=require('path');var timeout=require(_0xb120('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xb120('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xb120('0x4'));var config=require(_0xb120('0x5'));var controller=require('./voiceQueuesLog.controller');router[_0xb120('0x6')]('/',auth['isAuthenticated'](),controller[_0xb120('0x7')]);router[_0xb120('0x6')](_0xb120('0x8'),auth[_0xb120('0x9')](),controller['show']);router[_0xb120('0xa')]('/',auth[_0xb120('0x9')](),controller[_0xb120('0xb')]);router[_0xb120('0xc')]('/:id',auth[_0xb120('0x9')](),controller[_0xb120('0xd')]);router['delete'](_0xb120('0x8'),auth['isAuthenticated'](),controller['destroy']);module[_0xb120('0xe')]=router;