Built motion from commit da24aabd.|2.6.20
[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 _0xb3e9=['fs-extra','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','isAuthenticated','create','put','/:id','update','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xb3e9,0x1eb));var _0x9b3e=function(_0x255d5b,_0x4f6f35){_0x255d5b=_0x255d5b-0x0;var _0x3e141a=_0xb3e9[_0x255d5b];return _0x3e141a;};'use strict';var multer=require(_0x9b3e('0x0'));var util=require('util');var path=require(_0x9b3e('0x1'));var timeout=require(_0x9b3e('0x2'));var express=require(_0x9b3e('0x3'));var router=express[_0x9b3e('0x4')]();var fs_extra=require(_0x9b3e('0x5'));var auth=require(_0x9b3e('0x6'));var interaction=require(_0x9b3e('0x7'));var config=require('../../config/environment');var controller=require(_0x9b3e('0x8'));router['get']('/',auth[_0x9b3e('0x9')](),controller['index']);router['get']('/:id',auth[_0x9b3e('0x9')](),controller['show']);router['post']('/',auth[_0x9b3e('0x9')](),controller[_0x9b3e('0xa')]);router[_0x9b3e('0xb')](_0x9b3e('0xc'),auth[_0x9b3e('0x9')](),controller[_0x9b3e('0xd')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x9b3e('0xe')]);module[_0x9b3e('0xf')]=router;