448011c2425706a4324efe67528d04a64caa7183
[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 _0x48a9=['../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','/:id','show','post','create','update','delete','destroy','exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service'];(function(_0x164eca,_0x555e28){var _0x2ce562=function(_0x148ca6){while(--_0x148ca6){_0x164eca['push'](_0x164eca['shift']());}};_0x2ce562(++_0x555e28);}(_0x48a9,0x8a));var _0x948a=function(_0x2ef8f1,_0x1280a3){_0x2ef8f1=_0x2ef8f1-0x0;var _0x17498d=_0x48a9[_0x2ef8f1];return _0x17498d;};'use strict';var multer=require('multer');var util=require(_0x948a('0x0'));var path=require(_0x948a('0x1'));var timeout=require(_0x948a('0x2'));var express=require(_0x948a('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x948a('0x4'));var interaction=require(_0x948a('0x5'));var config=require(_0x948a('0x6'));var controller=require(_0x948a('0x7'));router[_0x948a('0x8')]('/',auth[_0x948a('0x9')](),controller['index']);router[_0x948a('0x8')](_0x948a('0xa'),auth['isAuthenticated'](),controller[_0x948a('0xb')]);router[_0x948a('0xc')]('/',auth[_0x948a('0x9')](),controller[_0x948a('0xd')]);router['put']('/:id',auth[_0x948a('0x9')](),controller[_0x948a('0xe')]);router[_0x948a('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x948a('0x10')]);module[_0x948a('0x11')]=router;