6591bfb1deb8d92971391cad563895517afbd6af
[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 _0xa92e=['../../config/environment','get','isAuthenticated','index','/:id','show','put','update','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x1258a3,_0x116c40){var _0x28d9bd=function(_0x26a2f0){while(--_0x26a2f0){_0x1258a3['push'](_0x1258a3['shift']());}};_0x28d9bd(++_0x116c40);}(_0xa92e,0x1e5));var _0xea92=function(_0x3200a8,_0x31132f){_0x3200a8=_0x3200a8-0x0;var _0x21f956=_0xa92e[_0x3200a8];return _0x21f956;};'use strict';var multer=require(_0xea92('0x0'));var util=require('util');var path=require(_0xea92('0x1'));var timeout=require(_0xea92('0x2'));var express=require(_0xea92('0x3'));var router=express[_0xea92('0x4')]();var fs_extra=require(_0xea92('0x5'));var auth=require(_0xea92('0x6'));var interaction=require(_0xea92('0x7'));var config=require(_0xea92('0x8'));var controller=require('./voiceQueuesLog.controller');router[_0xea92('0x9')]('/',auth[_0xea92('0xa')](),controller[_0xea92('0xb')]);router[_0xea92('0x9')](_0xea92('0xc'),auth[_0xea92('0xa')](),controller[_0xea92('0xd')]);router['post']('/',auth[_0xea92('0xa')](),controller['create']);router[_0xea92('0xe')]('/:id',auth[_0xea92('0xa')](),controller[_0xea92('0xf')]);router['delete'](_0xea92('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0xea92('0x10')]=router;