a289c196389cba5bcaa55fb1da2d4737cbb2b66c
[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 _0x6c41=['get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller'];(function(_0x23e7c1,_0x35110c){var _0x1add43=function(_0x238918){while(--_0x238918){_0x23e7c1['push'](_0x23e7c1['shift']());}};_0x1add43(++_0x35110c);}(_0x6c41,0x98));var _0x16c4=function(_0xf26c2e,_0x56c3ea){_0xf26c2e=_0xf26c2e-0x0;var _0x46ecb4=_0x6c41[_0xf26c2e];return _0x46ecb4;};'use strict';var multer=require(_0x16c4('0x0'));var util=require(_0x16c4('0x1'));var path=require(_0x16c4('0x2'));var timeout=require(_0x16c4('0x3'));var express=require('express');var router=express[_0x16c4('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x16c4('0x5'));var config=require(_0x16c4('0x6'));var controller=require(_0x16c4('0x7'));router[_0x16c4('0x8')]('/',auth[_0x16c4('0x9')](),controller[_0x16c4('0xa')]);router[_0x16c4('0x8')]('/:id',auth[_0x16c4('0x9')](),controller[_0x16c4('0xb')]);router[_0x16c4('0xc')]('/',auth[_0x16c4('0x9')](),controller[_0x16c4('0xd')]);router[_0x16c4('0xe')](_0x16c4('0xf'),auth[_0x16c4('0x9')](),controller[_0x16c4('0x10')]);router[_0x16c4('0x11')](_0x16c4('0xf'),auth[_0x16c4('0x9')](),controller[_0x16c4('0x12')]);module[_0x16c4('0x13')]=router;