Built motion from commit (unavailable).|2.5.24
[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 _0x074c=['get','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x074c,0x9b));var _0xc074=function(_0x29fcaf,_0x20c943){_0x29fcaf=_0x29fcaf-0x0;var _0x4adcb2=_0x074c[_0x29fcaf];return _0x4adcb2;};'use strict';var multer=require(_0xc074('0x0'));var util=require(_0xc074('0x1'));var path=require('path');var timeout=require(_0xc074('0x2'));var express=require(_0xc074('0x3'));var router=express[_0xc074('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xc074('0x5'));var config=require(_0xc074('0x6'));var controller=require('./voiceQueuesLog.controller');router[_0xc074('0x7')]('/',auth[_0xc074('0x8')](),controller['index']);router[_0xc074('0x7')]('/:id',auth[_0xc074('0x8')](),controller[_0xc074('0x9')]);router[_0xc074('0xa')]('/',auth['isAuthenticated'](),controller[_0xc074('0xb')]);router[_0xc074('0xc')](_0xc074('0xd'),auth['isAuthenticated'](),controller[_0xc074('0xe')]);router[_0xc074('0xf')](_0xc074('0xd'),auth[_0xc074('0x8')](),controller[_0xc074('0x10')]);module[_0xc074('0x11')]=router;