702ded23a4dc7601528b884d7016a36c11f63f76
[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 _0x6061=['delete','destroy','multer','util','connect-timeout','express','../../components/auth/service','../../config/environment','./voiceQueuesLog.controller','isAuthenticated','get','/:id','show','post','put','update'];(function(_0x500c0,_0xdb6a03){var _0xdd146f=function(_0x2e8090){while(--_0x2e8090){_0x500c0['push'](_0x500c0['shift']());}};_0xdd146f(++_0xdb6a03);}(_0x6061,0x82));var _0x1606=function(_0x58db54,_0x21d8a9){_0x58db54=_0x58db54-0x0;var _0x2a21c4=_0x6061[_0x58db54];return _0x2a21c4;};'use strict';var multer=require(_0x1606('0x0'));var util=require(_0x1606('0x1'));var path=require('path');var timeout=require(_0x1606('0x2'));var express=require(_0x1606('0x3'));var router=express['Router']();var auth=require(_0x1606('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x1606('0x5'));var controller=require(_0x1606('0x6'));router['get']('/',auth[_0x1606('0x7')](),controller['index']);router[_0x1606('0x8')](_0x1606('0x9'),auth[_0x1606('0x7')](),controller[_0x1606('0xa')]);router[_0x1606('0xb')]('/',auth[_0x1606('0x7')](),controller['create']);router[_0x1606('0xc')](_0x1606('0x9'),auth[_0x1606('0x7')](),controller[_0x1606('0xd')]);router[_0x1606('0xe')](_0x1606('0x9'),auth[_0x1606('0x7')](),controller[_0x1606('0xf')]);module['exports']=router;