Built motion from commit b0a9a629.|2.6.33
[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 _0x0f2c=['get','isAuthenticated','/:id','put','update','destroy','exports','util','path','connect-timeout','express','fs-extra','../../config/environment'];(function(_0x45d705,_0x13cd3e){var _0x46e9b6=function(_0x2ce03f){while(--_0x2ce03f){_0x45d705['push'](_0x45d705['shift']());}};_0x46e9b6(++_0x13cd3e);}(_0x0f2c,0x125));var _0xc0f2=function(_0x9be2c7,_0x1c5232){_0x9be2c7=_0x9be2c7-0x0;var _0x782efb=_0x0f2c[_0x9be2c7];return _0x782efb;};'use strict';var multer=require('multer');var util=require(_0xc0f2('0x0'));var path=require(_0xc0f2('0x1'));var timeout=require(_0xc0f2('0x2'));var express=require(_0xc0f2('0x3'));var router=express['Router']();var fs_extra=require(_0xc0f2('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc0f2('0x5'));var controller=require('./voiceQueuesLog.controller');router[_0xc0f2('0x6')]('/',auth[_0xc0f2('0x7')](),controller['index']);router[_0xc0f2('0x6')](_0xc0f2('0x8'),auth[_0xc0f2('0x7')](),controller['show']);router['post']('/',auth[_0xc0f2('0x7')](),controller['create']);router[_0xc0f2('0x9')](_0xc0f2('0x8'),auth[_0xc0f2('0x7')](),controller[_0xc0f2('0xa')]);router['delete'](_0xc0f2('0x8'),auth[_0xc0f2('0x7')](),controller[_0xc0f2('0xb')]);module[_0xc0f2('0xc')]=router;