Built motion from commit ffdca78c.|2.6.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 _0x30ff=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','get','isAuthenticated','/:id','show','create','put','update','delete','destroy','exports','util','path'];(function(_0x355543,_0x24abad){var _0x1b0b2f=function(_0x45a8cf){while(--_0x45a8cf){_0x355543['push'](_0x355543['shift']());}};_0x1b0b2f(++_0x24abad);}(_0x30ff,0x6a));var _0xf30f=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x30ff[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0xf30f('0x0'));var path=require(_0xf30f('0x1'));var timeout=require(_0xf30f('0x2'));var express=require(_0xf30f('0x3'));var router=express[_0xf30f('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xf30f('0x5'));var interaction=require(_0xf30f('0x6'));var config=require('../../config/environment');var controller=require(_0xf30f('0x7'));router[_0xf30f('0x8')]('/',auth[_0xf30f('0x9')](),controller['index']);router[_0xf30f('0x8')](_0xf30f('0xa'),auth[_0xf30f('0x9')](),controller[_0xf30f('0xb')]);router['post']('/',auth[_0xf30f('0x9')](),controller[_0xf30f('0xc')]);router[_0xf30f('0xd')](_0xf30f('0xa'),auth[_0xf30f('0x9')](),controller[_0xf30f('0xe')]);router[_0xf30f('0xf')](_0xf30f('0xa'),auth[_0xf30f('0x9')](),controller[_0xf30f('0x10')]);module[_0xf30f('0x11')]=router;