Built motion from commit (unavailable).|2.5.26
[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 _0x8ac9=['exports','multer','util','path','Router','fs-extra','../../components/auth/service','./voiceQueuesLog.controller','get','isAuthenticated','/:id','show','post','create','update','delete','destroy'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x8ac9,0x199));var _0x98ac=function(_0x277a2b,_0xcc97db){_0x277a2b=_0x277a2b-0x0;var _0x61ff6b=_0x8ac9[_0x277a2b];return _0x61ff6b;};'use strict';var multer=require(_0x98ac('0x0'));var util=require(_0x98ac('0x1'));var path=require(_0x98ac('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x98ac('0x3')]();var fs_extra=require(_0x98ac('0x4'));var auth=require(_0x98ac('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x98ac('0x6'));router[_0x98ac('0x7')]('/',auth[_0x98ac('0x8')](),controller['index']);router['get'](_0x98ac('0x9'),auth[_0x98ac('0x8')](),controller[_0x98ac('0xa')]);router[_0x98ac('0xb')]('/',auth[_0x98ac('0x8')](),controller[_0x98ac('0xc')]);router['put'](_0x98ac('0x9'),auth['isAuthenticated'](),controller[_0x98ac('0xd')]);router[_0x98ac('0xe')](_0x98ac('0x9'),auth[_0x98ac('0x8')](),controller[_0x98ac('0xf')]);module[_0x98ac('0x10')]=router;