a0c2b1ee3c7ed954d76eb9384c841887ae72679c
[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 _0x9b8c=['get','isAuthenticated','/:id','show','post','put','update','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment'];(function(_0x2ec317,_0x5c29e5){var _0x50cc3a=function(_0x2dfb30){while(--_0x2dfb30){_0x2ec317['push'](_0x2ec317['shift']());}};_0x50cc3a(++_0x5c29e5);}(_0x9b8c,0x16f));var _0xc9b8=function(_0x18a436,_0x1dbe06){_0x18a436=_0x18a436-0x0;var _0x5c2cf8=_0x9b8c[_0x18a436];return _0x5c2cf8;};'use strict';var multer=require(_0xc9b8('0x0'));var util=require(_0xc9b8('0x1'));var path=require(_0xc9b8('0x2'));var timeout=require('connect-timeout');var express=require(_0xc9b8('0x3'));var router=express[_0xc9b8('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xc9b8('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xc9b8('0x6'));var controller=require('./voiceQueuesLog.controller');router[_0xc9b8('0x7')]('/',auth[_0xc9b8('0x8')](),controller['index']);router[_0xc9b8('0x7')](_0xc9b8('0x9'),auth['isAuthenticated'](),controller[_0xc9b8('0xa')]);router[_0xc9b8('0xb')]('/',auth[_0xc9b8('0x8')](),controller['create']);router[_0xc9b8('0xc')](_0xc9b8('0x9'),auth[_0xc9b8('0x8')](),controller[_0xc9b8('0xd')]);router[_0xc9b8('0xe')](_0xc9b8('0x9'),auth[_0xc9b8('0x8')](),controller[_0xc9b8('0xf')]);module[_0xc9b8('0x10')]=router;