a503cc02df94c66999dcefe3eb55f70d1a2fd5c0
[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 _0x3d17=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','exports','multer'];(function(_0xdc9c83,_0x324a34){var _0x3b3a70=function(_0x231dcf){while(--_0x231dcf){_0xdc9c83['push'](_0xdc9c83['shift']());}};_0x3b3a70(++_0x324a34);}(_0x3d17,0x1cb));var _0x73d1=function(_0x40b493,_0x4050de){_0x40b493=_0x40b493-0x0;var _0x548365=_0x3d17[_0x40b493];return _0x548365;};'use strict';var multer=require(_0x73d1('0x0'));var util=require(_0x73d1('0x1'));var path=require(_0x73d1('0x2'));var timeout=require(_0x73d1('0x3'));var express=require(_0x73d1('0x4'));var router=express[_0x73d1('0x5')]();var fs_extra=require(_0x73d1('0x6'));var auth=require(_0x73d1('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x73d1('0x8'));var controller=require(_0x73d1('0x9'));router[_0x73d1('0xa')]('/',auth[_0x73d1('0xb')](),controller[_0x73d1('0xc')]);router['get'](_0x73d1('0xd'),auth[_0x73d1('0xb')](),controller['show']);router[_0x73d1('0xe')]('/',auth[_0x73d1('0xb')](),controller[_0x73d1('0xf')]);router[_0x73d1('0x10')](_0x73d1('0xd'),auth['isAuthenticated'](),controller[_0x73d1('0x11')]);router[_0x73d1('0x12')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x73d1('0x13')]=router;