c7d6f1fae41f853d8c7445eb646f86c67ae92646
[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 _0x88fa=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','isAuthenticated','index','get','show','post','create','put','/:id','update','destroy','exports','multer','util','path'];(function(_0x18919a,_0x9f8c7d){var _0x21fbcf=function(_0x2cb4b8){while(--_0x2cb4b8){_0x18919a['push'](_0x18919a['shift']());}};_0x21fbcf(++_0x9f8c7d);}(_0x88fa,0x19f));var _0xa88f=function(_0x213508,_0x5f3ff0){_0x213508=_0x213508-0x0;var _0x1b0363=_0x88fa[_0x213508];return _0x1b0363;};'use strict';var multer=require(_0xa88f('0x0'));var util=require(_0xa88f('0x1'));var path=require(_0xa88f('0x2'));var timeout=require(_0xa88f('0x3'));var express=require(_0xa88f('0x4'));var router=express['Router']();var auth=require(_0xa88f('0x5'));var interaction=require(_0xa88f('0x6'));var config=require('../../config/environment');var controller=require(_0xa88f('0x7'));router['get']('/',auth[_0xa88f('0x8')](),controller[_0xa88f('0x9')]);router[_0xa88f('0xa')]('/:id',auth[_0xa88f('0x8')](),controller[_0xa88f('0xb')]);router[_0xa88f('0xc')]('/',auth['isAuthenticated'](),controller[_0xa88f('0xd')]);router[_0xa88f('0xe')](_0xa88f('0xf'),auth[_0xa88f('0x8')](),controller[_0xa88f('0x10')]);router['delete'](_0xa88f('0xf'),auth['isAuthenticated'](),controller[_0xa88f('0x11')]);module[_0xa88f('0x12')]=router;