Built motion from commit (unavailable).|2.5.9
[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 _0xbc85=['create','put','update','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','/:id'];(function(_0x219d60,_0x5733da){var _0x42b4a8=function(_0x5545bd){while(--_0x5545bd){_0x219d60['push'](_0x219d60['shift']());}};_0x42b4a8(++_0x5733da);}(_0xbc85,0x7d));var _0x5bc8=function(_0x16aaef,_0x410651){_0x16aaef=_0x16aaef-0x0;var _0x1c82ef=_0xbc85[_0x16aaef];return _0x1c82ef;};'use strict';var multer=require('multer');var util=require(_0x5bc8('0x0'));var path=require('path');var timeout=require(_0x5bc8('0x1'));var express=require(_0x5bc8('0x2'));var router=express[_0x5bc8('0x3')]();var auth=require(_0x5bc8('0x4'));var interaction=require(_0x5bc8('0x5'));var config=require(_0x5bc8('0x6'));var controller=require('./voiceQueuesLog.controller');router['get']('/',auth[_0x5bc8('0x7')](),controller[_0x5bc8('0x8')]);router['get'](_0x5bc8('0x9'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x5bc8('0x7')](),controller[_0x5bc8('0xa')]);router[_0x5bc8('0xb')](_0x5bc8('0x9'),auth[_0x5bc8('0x7')](),controller[_0x5bc8('0xc')]);router['delete'](_0x5bc8('0x9'),auth[_0x5bc8('0x7')](),controller[_0x5bc8('0xd')]);module[_0x5bc8('0xe')]=router;